21 lines
681 KiB
JavaScript
21 lines
681 KiB
JavaScript
|
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"001b":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l={common:{title:"Aidex"},nav:{home:"\u9996\u9875",application:"\u7269\u8054\u4e2d\u5fc3",user:"\u6211\u7684",msg:"\u6d88\u606f"},login:{title:"\u767b\u5f55",placeholderAccount:"\u8bf7\u8f93\u5165\u8d26\u53f7",placeholderPassword:"\u8bf7\u8f93\u5165\u5bc6\u7801",autoLogin:"\u81ea\u52a8\u767b\u5f55",loginButton:"\u767b\u5f55",logoutButton:"\u9000\u51fa\u767b\u5f55",forget:"\u5fd8\u8bb0\u5bc6\u7801",reg:"\u6ce8\u518c\u8d26\u53f7",noLogin:"\u672a\u767b\u5f55"},home:{title:"\u5de5\u4f5c\u53f0"},application:{title:"\u7269\u8054\u4e2d\u5fc3"},user:{title:"\u7528\u6237\u4e2d\u5fc3"}};t.default=l},"0074":function(e,t,a){"use strict";a.r(t);var l=a("8fa1"),i=a("6e60");for(var n in i)"default"!==n&&function(e){a.d(t,e,(function(){return i[e]}))}(n);var r,s=a("f0c5"),u=Object(s["a"])(i["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],r);t["default"]=u.exports},"00a8":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l={name:"u-form",props:{model:{type:Object,default:function(){return{}}},errorType:{type:Array,default:function(){return["message","toast"]}},borderBottom:{type:Boolean,default:!0},labelPosition:{type:String,default:"left"},labelWidth:{type:[String,Number],default:90},labelAlign:{type:String,default:"left"},labelStyle:{type:Object,default:function(){return{}}}},provide:function(){return{uForm:this}},data:function(){return{rules:{}}},created:function(){this.fields=[]},methods:{setRules:function(e){this.rules=e},resetFields:function(){this.fields.map((function(e){e.resetField()}))},validate:function(e){var t=this;return new Promise((function(a){var l=!0,i=0,n=[];t.fields.map((function(r){r.validation("",(function(r){r&&(l=!1,n.push(r)),++i===t.fields.length&&(a(l),-1===t.errorType.indexOf("none")&&t.errorType.indexOf("toast")>=0&&n.length&&t.$u.toast(n[0]),"function"==typeof e&&e(l))}))}))}))}}};t.default=l},"0175":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return l}));var l={uRow:a("0074").default,uCol:a("7720").default,uButton:a("4816").default,uCellGroup:a("b231").default,uCellItem:a("2361").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("view",{staticClass:e._$s(0,"sc","wrap"),attrs:{_i:0}},[a("u-row",{staticClass:e._$s(1,"sc","amount-top-box"),attrs:{gutter:"16",justify:"flex-start",_i:1}},[a("u-col",{staticClass:e._$s(2,"sc","amount-text"),attrs:{span:"12",_i:2}},[e._v("")]),a("u-col",{attrs:{span:"12",align:"bottom",_i:3}},[a("view",{staticClass:e._$s(4,"sc","number-text"),attrs:{_i:4}},[a("em")]),a("u-button",{attrs:{type:"primary",plain:"true",size:"mini",shape:"circle",_i:6},on:{click:function(t){return e.navTo("/pages/sys/application/recharge")}}},[e._v("")])],1)],1),a("u-cell-group",{attrs:{title:"\u4ea4\u6613\u660e\u7ec6",_i:7}},[a("u-cell-item",{attrs:{title:"\u5728\u7ebf\u652f\u4ed8-\u5fae\u4fe1\u5145\u503c",label:"7\u670816\u65e5 13:34","right-icon":"true",arrow:!1,_i:8}},[a("view",{staticClass:e._$s(9,"sc","pay-right-box"),attrs:{_i:9},slot:"right-icon"},[a("view",{staticClass:e._$s(10,"sc","number up"),attrs:{_i:10}}),a("view",{staticClass:e._$s(11,"sc","other"),attrs:{_i:11}})])]),a("u-cell-item",{attrs:{title:"\u5728\u7ebf\u652f\u4ed8",label:"7\u670816\u65e5 13:34","right-icon":"true",arrow:!1,_i:12}},[a("view",{staticClass:e._$s(13,"sc","pay-right-box"),attrs:{_i:13},slot:"right-icon"},[a("view",{staticClass:e._$s(14,"sc","number "),attrs:{_i:14}}),a("view",{staticClass:e._$s(15,"sc","other"),attrs:{_i:15}})])]),a("u-cell-item",{attrs:{title:"\u5728\u7ebf\u652f\u4ed8",label:"7\u670816\u65e5 13:34","right-icon":"true",arrow:!1,_i:16}},[a("view",{staticClass:e._$s(17,"sc","pay-right-box"),attrs:{_i:17},slot:"right-icon"},[a("view",{staticClass:e._$s(18,"sc","number"),attrs:{_i:18}}),a("view",{staticClass:e._$s(19,"sc","other"),attrs:{_i:19}})])]),a("u-cell-item",{attrs:{ti
|
||
|
/*!
|
||
|
* vuex v3.4.0
|
||
|
* (c) 2020 Evan You
|
||
|
* @license MIT
|
||
|
*/
|
||
|
function l(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:l});else{var a=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[l].concat(e.init):l,a.call(this,e)}}function l(){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)}}a.d(t,"Store",(function(){return p})),a.d(t,"createNamespacedHelpers",(function(){return B})),a.d(t,"install",(function(){return O})),a.d(t,"mapActions",(function(){return M})),a.d(t,"mapGetters",(function(){return N})),a.d(t,"mapMutations",(function(){return P})),a.d(t,"mapState",(function(){return j}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},n=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(e){n&&(e._devtoolHook=n,n.emit("vuex:init",e),n.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){n.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){n.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(a){return t(e[a],a)}))}function u(e){return null!==e&&"object"===typeof e}function o(e){return e&&"function"===typeof e.then}function c(e,t){return function(){return e(t)}}var f=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)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(e,t){this._children[e]=t},f.prototype.removeChild=function(e){delete this._children[e]},f.prototype.getChild=function(e){return this._children[e]},f.prototype.hasChild=function(e){return e in this._children},f.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)},f.prototype.forEachChild=function(e){s(this._children,e)},f.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},f.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},f.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(f.prototype,d);var v=function(e){this.register([],e,!1)};function b(e,t,a){if(t.update(a),a.modules)for(var l in a.modules){if(!t.getChild(l))return void 0;b(e.concat(l),t.getChild(l),a.modules[l])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,a){return t=t.getChild(a),e+(t.namespaced?a+"/":"")}),"")},v.prototype.update=function(e){b([],this.root,e)},v.prototype.register=function(e,t,a){var l=this;void 0===a&&(a=!0);var i=new f(t,a);if(0===e.length)this.root=i;else{var n=this.get(e.slice(0,-1));n.addChild(e[e.length-1],i)}t.modules&&s(t.modules,(function(t,i){l.register(e.concat(i),t,a)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1];t.getChild(a).runtime&&t.removeChild(a)},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1];return t.hasChild(a)};var h;var p=function(e){var t=this;void 0===e&&(e={}),!h&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var a=e.plugins;void 0===a&&(a=[]);var l=e.strict;void 0===l&&(l=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new h,this._makeLocalGettersCache=Object.create(null);var i=this,n=this,s=n.dispatch,u=n.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,a){return u.call(i,e,t,a)},this.strict=l;var o=this._modules.root.state;w(this,o,[],this._modules.root),y(this,o),a.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtool
|
||
|
/**
|
||
|
* we-cropper v1.3.9
|
||
|
* (c) 2020 dlhandsome
|
||
|
* @license MIT
|
||
|
*/
|
||
|
(function(t,a){e.exports=a()})(0,(function(){"use strict";var e=void 0,l=["touchstarted","touchmoved","touchended"];function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}function n(e){var t=[],a=arguments.length-1;while(a-- >0)t[a]=arguments[a+1];l.forEach((function(a,l){void 0!==t[l]&&(e[a]=t[l])}))}function r(e,t){Object.defineProperties(e,t)}function s(){return e||(e=uni.getSystemInfoSync()),e}var u={},o=s(),c=o.pixelRatio,f={id:{default:"cropper",get:function(){return u.id},set:function(e){"string"!==typeof e&&t("error","id\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:56"),u.id=e}},width:{default:750,get:function(){return u.width},set:function(e){"number"!==typeof e&&t("error","width\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:68"),u.width=e}},height:{default:750,get:function(){return u.height},set:function(e){"number"!==typeof e&&t("error","height\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:80"),u.height=e}},pixelRatio:{default:c,get:function(){return u.pixelRatio},set:function(e){"number"!==typeof e&&t("error","pixelRatio\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:92"),u.pixelRatio=e}},scale:{default:2.5,get:function(){return u.scale},set:function(e){"number"!==typeof e&&t("error","scale\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:104"),u.scale=e}},zoom:{default:5,get:function(){return u.zoom},set:function(e){"number"!==typeof e?t("error","zoom\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:116"):(e<0||e>10)&&t("error","zoom should be ranged in 0 ~ 10"," at uview-ui/components/u-avatar-cropper/weCropper.js:118"),u.zoom=e}},src:{default:"",get:function(){return u.src},set:function(e){"string"!==typeof e&&t("error","src\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:130"),u.src=e}},cut:{default:{},get:function(){return u.cut},set:function(e){"object"!==typeof e&&t("error","cut\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:142"),u.cut=e}},boundStyle:{default:{},get:function(){return u.boundStyle},set:function(e){"object"!==typeof e&&t("error","boundStyle\uff1a"+e+" is invalid"," at uview-ui/components/u-avatar-cropper/weCropper.js:154"),u.boundStyle=e}},onReady:{default:null,get:function(){return u.ready},set:function(e){u.ready=e}},onBeforeImageLoad:{default:null,get:function(){return u.beforeImageLoad},set:function(e){u.beforeImageLoad=e}},onImageLoad:{default:null,get:function(){return u.imageLoad},set:function(e){u.imageLoad=e}},onBeforeDraw:{default:null,get:function(){return u.beforeDraw},set:function(e){u.beforeDraw=e}}},d=s(),v=d.windowWidth;function b(){var e=this;e.attachPage=function(){var a=getCurrentPages(),l=a[a.length-1];Object.defineProperty(l,"wecropper",{get:function(){return t("warn","Instance will not be automatically bound to the page after v1.4.0\n\nPlease use a custom instance name instead\n\nExample: \nthis.mycropper = new WeCropper(options)\n\n// ...\nthis.mycropper.getCropperImage()"," at uview-ui/components/u-avatar-cropper/weCropper.js:211"),e},configurable:!0})},e.createCtx=function(){var a=e.id,l=e.targetId;a?(e.ctx=e.ctx||uni.createCanvasContext(a),e.targetCtx=e.targetCtx||uni.createCanvasContext(l)):t("error","constructor: create canvas context failed, 'id' must be valuable"," at uview-ui/components/u-avatar-cropper/weCropper.js:233")},e.deviceRadio=v/750}var h="undefined"!==typeof window?window:"undefined"!==typeof a?a:"undefined"!==typeof self?self:{};function p(e,t){return t={exports:{}},e(t,t.exports),t.exports}var m=p((function(e,t){t.isStr=function(e){return"string"===typeof e},t.isNum=function(e){return"number"===typeof e},t.isArr=Array.isArray,t.isUndef=function(e){return void 0===e},t.isTrue=function(e){return!0===e},t.isFalse=function(e){return!1===e},t.isFunc=function(e){return"function"===typeof e},t.isObj=t.isObject=function(e){return null!==e&&"object"===typeof e};var a=Object.prototype.toString;t.isPlainObje
|
||
|
/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */
|
||
|
(function(a){var l=t,i=e&&e.exports==l&&e,n="object"==typeof h&&h;n.global!==n&&n.window!==n||(a=n);var r=function(e){this.message=e};r.prototype=new Error,r.prototype.name="InvalidCharacterError";var s=function(e){throw new r(e)},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=/[\t\n\f\r ]/g,c=function(e){e=String(e).replace(o,"");var t=e.length;t%4==0&&(e=e.replace(/==?$/,""),t=e.length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&s("Invalid character: the string to be decoded is not correctly encoded.");var a,l,i=0,n="",r=-1;while(++r<t)l=u.indexOf(e.charAt(r)),a=i%4?64*a+l:l,i++%4&&(n+=String.fromCharCode(255&a>>(-2*i&6)));return n},f=function(e){e=String(e),/[^\0-\xFF]/.test(e)&&s("The string to be encoded contains characters outside of the Latin1 range.");var t,a,l,i,n=e.length%3,r="",o=-1,c=e.length-n;while(++o<c)t=e.charCodeAt(o)<<16,a=e.charCodeAt(++o)<<8,l=e.charCodeAt(++o),i=t+a+l,r+=u.charAt(i>>18&63)+u.charAt(i>>12&63)+u.charAt(i>>6&63)+u.charAt(63&i);return 2==n?(t=e.charCodeAt(o)<<8,a=e.charCodeAt(++o),i=t+a,r+=u.charAt(i>>10)+u.charAt(i>>4&63)+u.charAt(i<<2&63)+"="):1==n&&(i=e.charCodeAt(o),r+=u.charAt(i>>2)+u.charAt(i<<4&63)+"=="),r},d={encode:f,decode:c,version:"0.1.0"};if(l&&!l.nodeType)if(i)i.exports=d;else for(var v in d)d.hasOwnProperty(v)&&(l[v]=d[v]);else a.base64=d})(h)}));function k(e,t){return"data:"+t+";base64,"+e}function T(e){e=e.toLowerCase().replace(/jpg/i,"jpeg");var t=e.match(/png|jpeg|bmp|gif/)[0];return"image/"+t}function I(e){var t="";if("string"===typeof e)t=e;else for(var a=0;a<e.length;a++)t+=String.fromCharCode(e[a]);return A.encode(t)}function O(e,t,a,l,i,n){uni.canvasGetImageData({canvasId:e,x:t,y:a,width:l,height:i,success:function(e){n(e,null)},fail:function(e){n(null,e)}})}function j(e){var t=e.width,a=e.height,l=t*a*3,i=l+54,n=[66,77,255&i,i>>8&255,i>>16&255,i>>24&255,0,0,0,0,54,0,0,0],r=[40,0,0,0,255&t,t>>8&255,t>>16&255,t>>24&255,255&a,a>>8&255,a>>16&255,a>>24&255,1,0,24,0,0,0,0,0,255&l,l>>8&255,l>>16&255,l>>24&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],s=(4-3*t%4)%4,u=e.data,o="",c=t<<2,f=a,d=String.fromCharCode;do{for(var v=c*(f-1),b="",h=0;h<t;h++){var p=h<<2;b+=d(u[v+p+2])+d(u[v+p+1])+d(u[v+p])}for(var m=0;m<s;m++)b+=String.fromCharCode(0);o+=b}while(--f);var _=I(n.concat(r))+I(o);return _}function P(e,a,l,i,n,r,s){void 0===s&&(s=function(){}),void 0===r&&(r="png"),r=T(r),/bmp/.test(r)?O(e,a,l,i,n,(function(e,t){var a=j(e);_(s)&&s(k(a,"image/"+r),t)})):t("error","\u6682\u4e0d\u652f\u6301\u751f\u6210'"+r+"'\u7c7b\u578b\u7684base64\u56fe\u7247"," at uview-ui/components/u-avatar-cropper/weCropper.js:732")}var N={convertToImage:P,convertToBMP:function(e,t){void 0===e&&(e={});var a=e.canvasId,l=e.x,i=e.y,n=e.width,r=e.height;return void 0===t&&(t=function(){}),P(a,l,i,n,r,"bmp",t)}};function M(){var e=this,t=e.width,a=e.height,l=e.id,i=e.targetId,n=e.pixelRatio,r=e.cut,s=r.x;void 0===s&&(s=0);var u=r.y;void 0===u&&(u=0);var o=r.width;void 0===o&&(o=t);var c=r.height;void 0===c&&(c=a),e.updateCanvas=function(t){return e.croperTarget&&e.ctx.drawImage(e.croperTarget,e.imgLeft,e.imgTop,e.scaleWidth,e.scaleHeight),_(e.onBeforeDraw)&&e.onBeforeDraw(e.ctx,e),e.setBoundStyle(e.boundStyle),e.ctx.draw(!1,t),e},e.pushOrigin=e.pushOrign=function(t){return e.src=t,_(e.onBeforeImageLoad)&&e.onBeforeImageLoad(e.ctx,e),C({src:t}).then((function(t){var a=t.width/t.height,l=o/c;return e.croperTarget=t.path,a<l?(e.rectX=s,e.baseWidth=o,e.baseHeight=o/a,e.rectY=u-Math.abs((c-e.baseHeight)/2)):(e.rectY=u,e.baseWidth=c*a,e.baseHeight=c,e.rectX=s-Math.abs((o-e.baseWidth)/2)),e.imgLeft=e.rectX,e.imgTop=e.rectY,e.scaleWidth=e.baseWidth,e.scaleHeight=e.baseHeight,e.update(),new Promise((function(t){e.updateCanvas(t)}))})).then((function(){_(e.onImageLoad)&&e.onImageLoad(e.ctx,e)}))},e.removeImage=function(){return e.src="",e.croperTarget="",x(e.ctx)},e.getCropperBase64=function(e){void 0===e&&(e=function(){}),N.convertToBMP({canvasId:l,x:s,y:u,width:o,height:c},e)},e.getCropperImage=function(t,a){var r=t,f={canvasId:l,x:s,y:u,width:o,height:c},d=function(){return Promise.resolve()};return
|
||
|
/*!
|
||
|
* vue-i18n v8.20.0
|
||
|
* (c) 2020 kazuya kawaguchi
|
||
|
* Released under the MIT License.
|
||
|
*/
|
||
|
var a;a=function(){"use strict";var e=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function a(e,a){"undefined"!=typeof console&&(t("warn","[vue-i18n] "+e," at common/vue-i18n.min.js:6"),a&&t("warn",a.stack," at common/vue-i18n.min.js:6"))}var l=Array.isArray;function i(e){return null!==e&&"object"==typeof e}function n(e){return"string"==typeof e}var r=Object.prototype.toString,s="[object Object]";function u(e){return r.call(e)===s}function o(e){return null==e}function c(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var a=null,l=null;return 1===e.length?i(e[0])||Array.isArray(e[0])?l=e[0]:"string"==typeof e[0]&&(a=e[0]):2===e.length&&("string"==typeof e[0]&&(a=e[0]),(i(e[1])||Array.isArray(e[1]))&&(l=e[1])),{locale:a,params:l}}function f(e){return JSON.parse(JSON.stringify(e))}function d(e,t){return!!~e.indexOf(t)}var v=Object.prototype.hasOwnProperty;function b(e,t){return v.call(e,t)}function h(e){for(var t=arguments,a=Object(e),l=1;l<arguments.length;l++){var n=t[l];if(null!=n){var r=void 0;for(r in n)b(n,r)&&(i(n[r])?a[r]=h(a[r],n[r]):a[r]=n[r])}}return a}function p(e,t){if(e===t)return!0;var a=i(e),l=i(t);if(!a||!l)return!a&&!l&&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 p(e,t[a])}));if(n||r)return!1;var s=Object.keys(e),u=Object.keys(t);return s.length===u.length&&s.every((function(a){return p(e[a],t[a])}))}catch(e){return!1}}var m={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n){if(e.i18n instanceof ae){if(e.__i18n)try{var t={};e.__i18n.forEach((function(e){t=h(t,JSON.parse(e))})),Object.keys(t).forEach((function(a){e.i18n.mergeLocaleMessage(a,t[a])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(u(e.i18n)){var a=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ae?this.$root.$i18n:null;if(a&&(e.i18n.root=this.$root,e.i18n.formatter=a.formatter,e.i18n.fallbackLocale=a.fallbackLocale,e.i18n.formatFallbackMessages=a.formatFallbackMessages,e.i18n.silentTranslationWarn=a.silentTranslationWarn,e.i18n.silentFallbackWarn=a.silentFallbackWarn,e.i18n.pluralizationRules=a.pluralizationRules,e.i18n.preserveDirectiveContent=a.preserveDirectiveContent),e.__i18n)try{var l={};e.__i18n.forEach((function(e){l=h(l,JSON.parse(e))})),e.i18n.messages=l}catch(e){}var i=e.i18n.sharedMessages;i&&u(i)&&(e.i18n.messages=h(e.i18n.messages,i)),this._i18n=new ae(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),a&&a.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ae?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ae&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?(e.i18n instanceof ae||u(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ae||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ae)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}},_={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var a=t.data,l=t.parent,i=t.props,n=t.slots,r=l.$i18n;if(r){var s=i.path,u=i.locale,o=i.places,c=n(),f=r.i(s,u,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(c)||o?function(e,t){var a=t?function(e){return Array.isArr
|