1(function(){"use strict";var B=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher"];function C(r,t){typeof console<"u"&&console.warn("[vue-i18n] "+r)}function at(r,t){typeof console<"u"&&console.error("[vue-i18n] "+r)}function y(r){return r!==null&&typeof r=="object"}var it=Object.prototype.toString,st="[object Object]";function w(r){return it.call(r)===st}function b(r){return r==null}function W(){for(var r=[],t=arguments.length;t--;)r[t]=arguments[t];var e=null,n=null;return r.length===1?y(r[0])||Array.isArray(r[0])?n=r[0]:typeof r[0]=="string"&&(e=r[0]):r.length===2&&(typeof r[0]=="string"&&(e=r[0]),(y(r[1])||Array.isArray(r[1]))&&(n=r[1])),{locale:e,params:n}}function E(r){return JSON.parse(JSON.stringify(r))}function ot(r,t){if(r.length){var e=r.indexOf(t);if(e>-1)return r.splice(e,1)}}var lt=Object.prototype.hasOwnProperty;function ut(r,t){return lt.call(r,t)}function D(r){for(var t=arguments,e=Object(r),n=1;n<arguments.length;n++){var a=t[n];if(a!=null){var i=void 0;for(i in a)ut(a,i)&&(y(a[i])?e[i]=D(e[i],a[i]):e[i]=a[i])}}return e}function N(r,t){if(r===t)return!0;var e=y(r),n=y(t);if(e&&n)try{var a=Array.isArray(r),i=Array.isArray(t);if(a&&i)return r.length===t.length&&r.every(function(l,u){return N(l,t[u])});if(!a&&!i){var s=Object.keys(r),o=Object.keys(t);return s.length===o.length&&s.every(function(l){return N(r[l],t[l])})}else return!1}catch{return!1}else return!e&&!n?String(r)===String(t):!1}function ct(r){r.prototype.hasOwnProperty("$i18n")||Object.defineProperty(r.prototype,"$i18n",{get:function(){return this._i18n}}),r.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.$i18n;return a._t.apply(a,[t,a.locale,a._getMessages(),this].concat(e))},r.prototype.$tc=function(t,e){for(var n=[],a=arguments.length-2;a-- >0;)n[a]=arguments[a+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},r.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},r.prototype.$d=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},r.prototype.$n=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}var ft={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n){if(t.i18n instanceof c){if(t.__i18n)try{var e={};t.__i18n.forEach(function(s){e=D(e,JSON.parse(s))}),Object.keys(e).forEach(function(s){t.i18n.mergeLocaleMessage(s,e[s])})}catch{}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(w(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof c&&(t.i18n.root=this.$root,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.formatFallbackMessages=this.$root.$i18n.formatFallbackMessages,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,t.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,t.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,t.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),t.__i18n)try{var n={};t.__i18n.forEach(function(s){n=D(n,JSON.parse(s))}),t.i18n.messages=n}catch{}var a=t.i18n,i=a.sharedMessages;i&&w(i)&&(t.i18n.messages=D(t.i18n.messages,i)),this._i18n=new c(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(t.i18n.sync===void 0||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof c?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof c&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?t.i18n instanceof c?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):w(t.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof c?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof c&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick(function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher),t._i18n=null})}}},q={name:"i18n",functional:!0,props:{tag:{type:String},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,a=e.parent,i=e.props,s=e.slots,o=a.$i18n;if(o){var l=i.path,u=i.locale,f=i.places,v=s(),h=o.i(l,u,ht(v)||f?vt(v.default,f):v),m=i.tag||"span";return m?t(m,n,h):h}}};function ht(r){var t;for(t in r)if(t!=="default")return!1;return!!t}function vt(r,t){var e=t?_t(t):{};if(!r)return e;r=r.filter(function(a){return a.tag||a.text.trim()!==""});var n=r.every(pt);return r.reduce(n?mt:J,e)}function _t(r){return Array.isArray(r)?r.reduce(J,{}):Object.assign({},r)}function mt(r,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(r[t.data.attrs.place]=t),r}function J(r,t,e){return r[e]=t,r}function pt(r){return!!(r.data&&r.data.attrs&&r.data.attrs.place)}var G={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,a=e.parent,i=e.data,s=a.$i18n;if(!s)return null;var o=null,l=null;typeof n.format=="string"?o=n.format:y(n.format)&&(n.format.key&&(o=n.format.key),l=Object.keys(n.format).reduce(function(h,m){var g;return B.includes(m)?Object.assign({},h,(g={},g[m]=n.format[m],g)):h},null));var u=n.locale||s.locale,f=s._ntp(n.value,u,o,l),v=f.map(function(h,m){var g,I=i.scopedSlots&&i.scopedSlots[h.type];return I?I((g={},g[h.type]=h.value,g.index=m,g.parts=f,g)):h.value});return t(n.tag,{attrs:i.attrs,class:i.class,staticClass:i.staticClass},v)}};function gt(r,t,e){K(r,e)&&Q(r,t,e)}function dt(r,t,e,n){if(K(r,e)){var a=e.context.$i18n;yt(r,e)&&N(t.value,t.oldValue)&&N(r._localeMessage,a.getLocaleMessage(
1a.locale))||Q(r,t,e)}}function bt(r,t,e,n){var a=e.context;if(!a){C("Vue instance does not exists in VNode context");return}var i=e.context.$i18n||{};!t.modifiers.preserve&&!i.preserveDirectiveContent&&(r.textContent=""),r._vt=void 0,delete r._vt,r._locale=void 0,delete r._locale,r._localeMessage=void 0,delete r._localeMessage}function K(r,t){var e=t.context;return e?e.$i18n?!0:(C("VueI18n instance does not exists in Vue instance"),!1):(C("Vue instance does not exists in VNode context"),!1)}function yt(r,t){var e=t.context;return r._locale===e.$i18n.locale}function Q(r,t,e){var n,a,i=t.value,s=wt(i),o=s.path,l=s.locale,u=s.args,f=s.choice;if(!o&&!l&&!u){C("value type not supported");return}if(!o){C("`path` is required in v-t directive");return}var v=e.context;f?r._vt=r.textContent=(n=v.$i18n).tc.apply(n,[o,f].concat(X(l,u))):r._vt=r.textContent=(a=v.$i18n).t.apply(a,[o].concat(X(l,u))),r._locale=v.$i18n.locale,r._localeMessage=v.$i18n.getLocaleMessage(v.$i18n.locale)}function wt(r){var t,e,n,a;return typeof r=="string"?t=r:w(r)&&(t=r.path,e=r.locale,n=r.args,a=r.choice),{path:t,locale:e,args:n,choice:a}}function X(r,t){var e=[];return r&&e.push(r),t&&(Array.isArray(t)||w(t))&&e.push(t),e}var d;function H(r){H.installed=!0,d=r,d.version&&Number(d.version.split(".")[0]),ct(d),d.mixin(ft),d.directive("t",{bind:gt,update:dt,unbind:bt}),d.component(q.name,q),d.component(G.name,G);var t=d.config.optionMergeStrategies;t.i18n=function(e,n){return n===void 0?e:n}}var Z=function(){this._caches=Object.create(null)};Z.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=Mt(t),this._caches[t]=n),Tt(n,e)};var Ft=/^(?:\d)+/,$t=/^(?:\w)+/;function Mt(r){for(var t=[],e=0,n="";e<r.length;){var a=r[e++];if(a==="{"){n&&t.push({type:"text",value:n}),n="";var i="";for(a=r[e++];a!==void 0&&a!=="}";)i+=a,a=r[e++];var s=a==="}",o=Ft.test(i)?"list":s&&$t.test(i)?"named":"unknown";t.push({value:i,type:o})}else a==="%"?r[e]!=="{"&&(n+=a):n+=a}return n&&t.push({type:"text",value:n}),t}function Tt(r,t){var e=[],n=0,a=Array.isArray(t)?"list":y(t)?"named":"unknown";if(a==="unknown")return e;for(;n<r.length;){var i=r[n];switch(i.type){case"text":e.push(i.value);break;case"list":e.push(t[parseInt(i.value,10)]);break;case"named":a==="named"&&e.push(t[i.value]);break}n++}return e}var p=0,L=1,Y=2,tt=3,V=0,S=1,x=2,M=3,$=4,j=5,P=6,A=7,k=8,T=[];T[V]={ws:[V],ident:[M,p],"[":[$],eof:[A]},T[S]={ws:[S],".":[x],"[":[$],eof:[A]},T[x]={ws:[x],ident:[M,p],0:[M,p],number:[M,p]},T[M]={ident:[M,p],0:[M,p],number:[M,p],ws:[S,L],".":[x,L],"[":[$,L],eof:[A,L]},T[$]={"'":[j,p],'"':[P,p],"[":[$,Y],"]":[S,tt],eof:k,else:[$,p]},T[j]={"'":[$,p],eof:k,else:[j,p]},T[P]={'"':[$,p],eof:k,else:[P,p]};var It=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Dt(r){return It.test(r)}function Ct(r){var t=r.charCodeAt(0),e=r.charCodeAt(r.length-1);return t===e&&(t===34||t===39)?r.slice(1,-1):r}function Et(r){if(r==null)return"eof";var t=r.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return r;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Lt(r){var t=r.trim();return r.charAt(0)==="0"&&isNaN(r)?!1:Dt(t)?Ct(t):"*"+t}function Ot(r){var t=[],e=-1,n=V,a=0,i,s,o,l,u,f,v,h=[];h[L]=function(){s!==void 0&&(t.push(s),s=void 0)},h[p]=function(){s===void 0?s=o:s+=o},h[Y]=function(){h[p](),a++},h[tt]=function(){if(a>0)a--,n=$,h[p]();else{if(a=0,s===void 0||(s=Lt(s),s===!1))return!1;h[L]()}};function m(){var g=r[e+1];if(n===j&&g==="'"||n===P&&g==='"')return e++,o="\\"+g,h[p](),!0}for(;n!==null;)if(e++,i=r[e],!(i==="\\"&&m())){if(l=Et(i),v=T[n],u=v[l]||v.else||k,u===k||(n=u[0],f=h[u[1]],f&&(o=u[2],o=o===void 0?i:o,f()===!1)))return;if(n===A)return t}}var U=function(){this._cache=Object.create(null)};U.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=Ot(t),e&&(this._cache[t]=e)),e||[]},U.prototype.getPathValue=function(t,e){if(!y(t))return null;var n=this.parsePath(e);if(n.length===0)return null;for(var a=n.length,i=t,s=0;s<a;){var o=i[n[s]];if(o===void 0)return null;i=o,s++}return i};var kt=/<\/?[\w\s="/.':;#-\/]+>/,Wt=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,Nt=/^@(?:\.([a-z]+))?:/,St=/[()]/g,et={upper:function(r){return r.toLocaleUpperCase()},lower:function(r){return r.toLocaleLowerCase()}},rt=new Z,c=function(t){var e=this;t===void 0&&(t={}),!d&&typeof window<"u"&&window.Vue&&H(window.Vue);var n=t.locale||"en-US",a=t.fallbackLocale||"en-US",i=t.messages||{},s=t.dateTimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||rt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=t.sync===void 0?!0:!!t.sync,this._fallbackRoot=t.fallbackRoot===void 0?!0:!!t.fallbackRoot,this._formatFallbackMessages=t.formatFallbackMessages===void 0?!1:!!t.formatFallbackMessages,this._silentTranslationWarn=t.silentTranslationWarn===void 0?!1:t.silentTranslationWarn,this._silentFallbackWarn=t.silentFallbackWarn===void 0?!1:!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new U,this._dataListeners=[],this._preserveDirectiveContent=t.preserveDirectiveContent===void 0?!1:!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._exist=function(l,u){return!l||!u?!1:!!(!b(e._path.getPathValue(l,u))||l[u])},(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&Object.keys(i).forEac
1h(function(l){e._checkLocaleMessage(l,e._warnHtmlInMessage,i[l])}),this._initVM({locale:n,fallbackLocale:a,messages:i,dateTimeFormats:s,numberFormats:o})},_={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};c.prototype._checkLocaleMessage=function(t,e,n){var a=[],i=function(s,o,l,u){if(w(l))Object.keys(l).forEach(function(h){var m=l[h];w(m)?(u.push(h),u.push("."),i(s,o,m,u),u.pop(),u.pop()):(u.push(h),i(s,o,m,u),u.pop())});else if(Array.isArray(l))l.forEach(function(h,m){w(h)?(u.push("["+m+"]"),u.push("."),i(s,o,h,u),u.pop(),u.pop()):(u.push("["+m+"]"),i(s,o,h,u),u.pop())});else if(typeof l=="string"){var f=kt.test(l);if(f){var v="Detected HTML in message '"+l+"' of keypath '"+u.join("")+"' at '"+o+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";s==="warn"?C(v):s==="error"&&at(v)}}};i(e,t,n,a)},c.prototype._initVM=function(t){var e=d.config.silent;d.config.silent=!0,this._vm=new d({data:t}),d.config.silent=e},c.prototype.destroyVM=function(){this._vm.$destroy()},c.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},c.prototype.unsubscribeDataChanging=function(t){ot(this._dataListeners,t)},c.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){for(var e=t._dataListeners.length;e--;)d.nextTick(function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()})},{deep:!0})},c.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",function(e){t.$set(t,"locale",e),t.$forceUpdate()},{immediate:!0})},_.vm.get=function(){return this._vm},_.messages.get=function(){return E(this._getMessages())},_.dateTimeFormats.get=function(){return E(this._getDateTimeFormats())},_.numberFormats.get=function(){return E(this._getNumberFormats())},_.availableLocales.get=function(){return Object.keys(this.messages).sort()},_.locale.get=function(){return this._vm.locale},_.locale.set=function(r){this._vm.$set(this._vm,"locale",r)},_.fallbackLocale.get=function(){return this._vm.fallbackLocale},_.fallbackLocale.set=function(r){this._vm.$set(this._vm,"fallbackLocale",r)},_.formatFallbackMessages.get=function(){return this._formatFallbackMessages},_.formatFallbackMessages.set=function(r){this._formatFallbackMessages=r},_.missing.get=function(){return this._missing},_.missing.set=function(r){this._missing=r},_.formatter.get=function(){return this._formatter},_.formatter.set=function(r){this._formatter=r},_.silentTranslationWarn.get=function(){return this._silentTranslationWarn},_.silentTranslationWarn.set=function(r){this._silentTranslationWarn=r},_.silentFallbackWarn.get=function(){return this._silentFallbackWarn},_.silentFallbackWarn.set=function(r){this._silentFallbackWarn=r},_.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},_.preserveDirectiveContent.set=function(r){this._preserveDirectiveContent=r},_.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},_.warnHtmlInMessage.set=function(r){var t=this,e=this._warnHtmlInMessage;if(this._warnHtmlInMessage=r,e!==r&&(r==="warn"||r==="error")){var n=this._getMessages();Object.keys(n).forEach(function(a){t._checkLocaleMessage(a,t._warnHtmlInMessage,n[a])})}},c.prototype._getMessages=function(){return this._vm.messages},c.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},c.prototype._getNumberFormats=function(){return this._vm.numberFormats},c.prototype._warnDefault=function(t,e,n,a,i){if(!b(n))return n;if(this._missing){var s=this._missing.apply(null,[t,e,a,i]);if(typeof s=="string")return s}if(this._formatFallbackMessages){var o=W.apply(void 0,i);return this._render(e,"string",o.params,e)}else return e},c.prototype._isFallbackRoot=function(t){return!t&&!b(this._root)&&this._fallbackRoot},c.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},c.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)}
1,c.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},c.prototype._interpolate=function(t,e,n,a,i,s,o){if(!e)return null;var l=this._path.getPathValue(e,n);if(Array.isArray(l)||w(l))return l;var u;if(b(l))if(w(e)){if(u=e[n],typeof u!="string")return null}else return null;else if(typeof l=="string")u=l;else return null;return(u.indexOf("@:")>=0||u.indexOf("@.")>=0)&&(u=this._link(t,e,u,a,"raw",s,o)),this._render(u,i,s,n)},c.prototype._link=function(t,e,n,a,i,s,o){var l=n,u=l.match(Wt);for(var f in u)if(u.hasOwnProperty(f)){var v=u[f],h=v.match(Nt),m=h[0],g=h[1],I=v.replace(m,"").replace(St,"");if(o.includes(I))return l;o.push(I);var F=this._interpolate(t,e,I,a,i==="raw"?"string":i,i==="raw"?void 0:s,o);if(this._isFallbackRoot(F)){if(!this._root)throw Error("unexpected error");var R=this._root.$i18n;F=R._translate(R._getMessages(),R.locale,R.fallbackLocale,I,a,i,s)}F=this._warnDefault(t,I,F,a,Array.isArray(s)?s:[s]),this._modifiers.hasOwnProperty(g)?F=this._modifiers[g](F):et.hasOwnProperty(g)&&(F=et[g](F)),o.pop(),l=F?l.replace(v,F):l}return l},c.prototype._render=function(t,e,n,a){var i=this._formatter.interpolate(t,n,a);return i||(i=rt.interpolate(t,n,a)),e==="string"?i.join(""):i},c.prototype._translate=function(t,e,n,a,i,s,o){var l=this._interpolate(e,t[e],a,i,s,o,[a]);return b(l)?(l=this._interpolate(n,t[n],a,i,s,o,[a]),b(l)?null:l):l},c.prototype._t=function(t,e,n,a){for(var i,s=[],o=arguments.length-4;o-- >0;)s[o]=arguments[o+4];if(!t)return"";var l=W.apply(void 0,s),u=l.locale||e,f=this._translate(n,u,this.fallbackLocale,t,a,"string",l.params);if(this._isFallbackRoot(f)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(s))}else return this._warnDefault(u,t,f,a,s)},c.prototype.t=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},c.prototype._i=function(t,e,n,a,i){var s=this._translate(n,e,this.fallbackLocale,t,a,"raw",i);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}else return this._warnDefault(e,t,s,a,[i])},c.prototype.i=function(t,e,n){return t?(typeof e!="string"&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},c.prototype._tc=function(t,e,n,a,i){for(var s,o=[],l=arguments.length-5;l-- >0;)o[l]=arguments[l+5];if(!t)return"";i===void 0&&(i=1);var u={count:i,n:i},f=W.apply(void 0,o);return f.params=Object.assign(u,f.params),o=f.locale===null?[f.params]:[f.locale,f.params],this.fetchChoice((s=this)._t.apply(s,[t,e,n,a].concat(o)),i)},c.prototype.fetchChoice=function(t,e){if(!t&&typeof t!="string")return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},c.prototype.getChoiceIndex=function(t,e){var n=function(a,i){return a=Math.abs(a),i===2?a?a>1?1:0:1:a?Math.min(a,2):0};return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[t,e]):n(t,e)},c.prototype.tc=function(t,e){for(var n,a=[],i=arguments.length-2;i-- >0;)a[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(a))},c.prototype._te=function(t,e,n){for(var a=[],i=arguments.length-3;i-- >0;)a[i]=arguments[i+3];var s=W.apply(void 0,a).locale||e;return this._exist(n[s],t)},c.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},c.prototype.getLocaleMessage=function(t){return E(this._vm.messages[t]||{})},c.prototype.setLocaleMessage=function(t,e){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._warnHtmlInMessage==="error")||this._vm.$set(this._vm.messages,t,e)},c.prototype.mergeLocaleMessage=function(t,e){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._warnHtmlInMessage==="error")||this._vm.$set(this._vm.messages,t,D(this._vm.messages[t]||{},e))},c.prototype.getDateTimeFormat=function(t){return E(this._vm.dateTimeFormats[t]||{})},c.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},c.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,D(this._vm.dateTimeFormats[t]||{},e))},c.prototype._localizeDateTime=function(t,e,n,a,i){var s=e,o=a[s];if((b(o)||b(o[i]))&&(s=n,o=a[s]),b(o)||b(o[i]))return null;var l=o[i],u=s+"__"+i,f=this._dateTimeFormatters[u];return f||(f=this._dateTimeFormatters[u]=new Intl.DateTimeFormat(s,l)),f.format(t)},c.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var a=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}else return a||""},c.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.locale,i=null;return e.length===1?typeof e[0]=="string"?i=e[0]:y(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(i=e[0].key)):e.length===2&&(typeof e[0]=="string"&&(i=e[0]),typeof e[1]=="string"&&(a=e[1])),this._d(t,a,i)},c.prototype.getNumberFormat=function(t){return E(this._vm.numberFormats[t]||{})},c.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e)},c.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,D(this._vm.numberFormats[t]||{},e))},c.prototype._getNumberFormatter=function(t,e,n,a,i,s){var o=e,l=a[o];if((b(l)||b(l[i]))&&(o=n,l=a[o]),b(l)||b(l[i]))return null;var u=l[i],f;if(s)f=new Intl.NumberFormat(o,Object.assign({},u,s));else{var v=o+"__"+i;f=this._numberFormatters[v],f||(f=this._numberFormatters[v]=new Intl.NumberFormat(o,u))}return f},c.prototype._n=function(t,e,n,a){if(!c.availabilities.numberFormat)return"";if(!n){var i=a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e);return i.format(t)}var s=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),o=s&&s.format(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},a))}else return o||""},c.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];
1var a=this.locale,i=null,s=null;return e.length===1?typeof e[0]=="string"?i=e[0]:y(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(i=e[0].key),s=Object.keys(e[0]).reduce(function(o,l){var u;return B.includes(l)?Object.assign({},o,(u={},u[l]=e[0][l],u)):o},null)):e.length===2&&(typeof e[0]=="string"&&(i=e[0]),typeof e[1]=="string"&&(a=e[1])),this._n(t,a,i,s)},c.prototype._ntp=function(t,e,n,a){if(!c.availabilities.numberFormat)return[];if(!n){var i=a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e);return i.formatToParts(t)}var s=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),o=s&&s.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,a)}else return o||[]},Object.defineProperties(c.prototype,_);var z;Object.defineProperty(c,"availabilities",{get:function(){if(!z){var t=typeof Intl<"u";z={dateTimeFormat:t&&typeof Intl.DateTimeFormat<"u",numberFormat:t&&typeof Intl.NumberFormat<"u"}}return z}}),c.install=H,c.version="8.15.1";const xt={get:`${FW.config.siteUrl}api/events`},jt=(r,t={},e={})=>{const n=new URLSearchParams;Object.entries(t).forEach(([s,o])=>{o!=null&&n.append(s,typeof o=="object"?JSON.stringify(o):o)});const a=n.toString(),i={Accept:"application/json, text/plain, */*",...e.headers};return fetch(a?`${r}?${a}`:r,{...e,headers:i}).then(s=>s.ok?s.json().then(o=>({status:s.status,data:o})):Promise.reject(s))};Vue.use(Vuex);const O=new Vuex.Store({state:{events:[],meta:null,criteria:null,error:!1,loading:!0},actions:{fetchEvents({commit:r,state:t}){r("setLoader",!0);const e=t.meta?t.meta.current_page+1:1;return jt(xt.get,{criteria:t.criteria,page:e,limit:t.criteria.limit}).then(n=>{n.status===200&&n.data.data?(r("setEvents",n.data.data),r("setMeta",n.data.meta.pagination)):r("setError",!0),r("setLoader",!1)}).catch(n=>{console.error(n),r("setError",!0),r("setLoader",!1)})}},getters:{events:r=>r.events,loading:r=>r.loading,error:r=>r.error},mutations:{setEvents(r,t){r.events=[...r.events,...t]},setCriteria(r,t){r.criteria=t},setError(r,t){r.error=t},setLoader(r,t){r.loading=t},setMeta(r,t){r.meta=t}}});function nt(r,t,e,n,a,i,s,o){var l=typeof r=="function"?r.options:r;return t&&(l.render=t,l.staticRenderFns=e,l._compiled=!0),{exports:r,options:l}}const Pt={props:{event:Object},computed:{city(){return event.location?event.location.city:null}}};var At=function(){var t=this,e=t._self._c;return e("tr",[e("td",[t._v(t._s(t.event.startDate))]),e("td",[e("span",{staticClass:"badge",style:{backgroundColor:t.event.calendarColor}},[t._v(" "+t._s(t.event.calendar.name)+" ")]),e("a",{attrs:{href:t.event.url}},[t._v(t._s(t.event.title))])]),e("td",[t._v(t._s(t.event.locationName))]),e("td",[e("a",{attrs:{href:t.event.moreInfoUrl}},[t._v(t._s(t.event.moreInfoUrl))])])])},Rt=[],Ht=nt(Pt,At,Rt);const Vt={components:{event:Ht.exports},data(){return{}},mounted(){O.commit("setCriteria",FW.Table.criteria),this.fetchEvents()},computed:{events(){return O.getters.events},loading(){return O.getters.loading},error(){return O.getters.error}},methods:{fetchEvents(){O.dispatch("fetchEvents")}}};var Ut=function(){var t=this,e=t._self._c;return e("div",[e("table",{staticClass:"table"},[e("tbody",[e("tr",[e("th",[t._v(t._s(t.$t("when")))]),e("th",[t._v(t._s(t.$t("what")))]),e("th",[t._v(t._s(t.$t("where")))]),e("th",[t._v(t._s(t.$t("eventSite")))])]),t._l(t.events,function(n,a){return t.events&&t.events.length?e("event",{key:a,attrs:{event:n}}):t._e()})],2)]),t.error?e("div",[t._v(t._s(t.$t("error")))]):t._e(),t.$store.state.meta?e("div",[t.$store.state.meta.current_page<t.$store.state.meta.total_pages?e("div",{staticClass:"margin-top buttonlink",on:{click:t.fetchEvents}},[t._v(" "+t._s(t.$t("moreEvents"))+" ")]):e("div",{staticClass:"margin-top buttonlink",attrs:{disabled:""}},[t._v(" "+t._s(t.$t("noEvents"))+" ")])]):t._e(),e("div",{staticClass:"loaderplaceholder"},[!t.error&&t.loading?e("div",{staticClass:"loader"}):t._e()])])},zt=[],Bt=nt(Vt,Ut,zt);const qt=Bt.exports;Vue.use(c);const Jt=new c({locale:FW.config.locale,fallbackLocale:FW.config.locale,messages:{nl:{error:"Er is iets fout gegaan",when:"Wanneer",what:"Wat",where:"Waar",eventSite:"Eventsite",moreEvents:"Meer evenementen",noEvents:"Geen evenementen meer"},en:{error:"Something went wrong",when:"When",what:"What",where:"Where",eventSite:"Eventsite",moreEvents:"More events",noEvents:"No more events"}}});document.querySelector("#vue-table")&&new Vue({el:"#vue-table",template:"<Items />",i18n:Jt,store:O,components:{Items:qt}})})();
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.