12345678910111213141516 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"011a":function(e,t){function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=n=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"031c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={down:{offset:80,native:!1},up:{offset:150,toTop:{src:"https://www.mescroll.com/img/mescroll-totop.png",offset:1e3,right:20,bottom:120,width:72},empty:{use:!0,icon:"https://www.mescroll.com/img/mescroll-empty.png"}},i18n:{zh:{down:{textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",textSuccess:"加载成功",textErr:"加载失败"},up:{textLoading:"加载中 ...",textNoMore:"-- END --",empty:{tip:"暂无数据"}}},en:{down:{textInOffset:"drop down refresh",textOutOffset:"release updates",textLoading:"loading ...",textSuccess:"loaded successfully",textErr:"loading failed"},up:{textLoading:"loading ...",textNoMore:"-- END --",empty:{tip:"~ absolutely empty ~"}}}}};t.default=r},"03d5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindProject=function(e){return(0,r.request)({url:"/manager/bindProject",method:"post",data:e})},t.getAgentDetailById=function(e){return(0,r.request)({url:"/manager/agent/".concat(e),method:"get"})},t.getCustomerDetailById=function(e){return(0,r.request)({url:"/manager/client/".concat(e),method:"get"})},t.getMessageDetailById=function(e){return(0,r.request)({url:"/manager/message/get/".concat(e),method:"get"})},t.getMessageList=function(e,t){return(0,r.request)({url:"/manager/message/messageType/".concat(e,"/").concat(t),method:"get"})},t.getMessageTest=function(e){return(0,r.request)({url:"/manager/message/countUnread/messageType/".concat(e),method:"get"})},t.setMessageViewed=function(e){return(0,r.request)({url:"/manager/message/".concat(e),method:"put"})},t.updateAgent=function(e){return(0,r.request)({url:"/manager/agent/update",method:"put",data:e})},t.updateCustomer=function(e){return(0,r.request)({url:"/manager/client/update",method:"put",data:e})};var r=n("8cf7")},"05e9":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.divide=h,t.enableBoundaryChecking=g,t.minus=p,t.plus=d,t.round=y,t.times=f;var i=r(n("c70d")),o=!0;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(e).toPrecision(t))}function s(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function c(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=s(e);return t>0?a(Number(e)*Math.pow(10,t)):Number(e)}function u(e){o&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn("".concat(e," 超出了精度限制,结果可能不正确"))}function l(e,t){var n=(0,i.default)(e),r=n[0],o=n[1],a=n.slice(2),s=t(r,o);return a.forEach((function(e){s=t(s,e)})),s}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return l(t,f);var r=t[0],i=t[1],o=c(r),a=c(i),d=s(r)+s(i),p=o*a;return u(p),p/Math.pow(10,d)}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return l(t,d);var r=t[0],i=t[1],o=Math.pow(10,Math.max(s(r),s(i)));return(f(r,o)+f(i,o))/o}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return l(t,p);var r=t[0],i=t[1],o=Math.pow(10,Math.max(s(r),s(i)));return(f(r,o)-f(i,o))/o}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return l(t,h);var r=t[0],i=t[1],o=c(r),d=c(i);return u(o),u(d),f(o/d,a(Math.pow(10,s(i)-s(r))))}function y(e,t){var n=Math.pow(10,t),r=h(Math.round(Math.abs(f(e,n))),n);return e<0&&0!==r&&(r=f(r,-1)),r}function g(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];o=e}var v={times:f,plus:d,minus:p,divide:h,round:y,enableBoundaryChecking:g};t.default=v},"09e8":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7eb4")),o=r(n("8ffa")),a=r(n("4ffb")),s=r(n("b4d2")),c=r(n("ee10")),u=r(n("67ad")),l=r(n("0bdb")),f=r(n("3b2d"));function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var i=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}var p={email:/^\S+?@\S+?\.\S+?$/,idcard:/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i")},h={int:"integer",bool:"boolean",double:"number",long:"number",password:"string"};function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=["label"];n.forEach((function(t){void 0===e[t]&&(e[t]="")}));var r=t;for(var i in e){var o=new RegExp("{"+i+"}");r=r.replace(o,e[i])}return r}var g={integer:function(e){return g.number(e)&&parseInt(e,10)===e},string:function(e){return"string"===typeof e},number:function(e){return!isNaN(e)&&"number"===typeof e},boolean:function(e){return"boolean"===typeof e},float:function(e){return g.number(e)&&!g.integer(e)},array:function(e){return Array.isArray(e)},object:function(e){return"object"===(0,f.default)(e)&&!g.array(e)},date:function(e){return e instanceof Date},timestamp:function(e){return!(!this.integer(e)||Math.abs(e).toString().length>16)},file:function(e){return"string"===typeof e.url},email:function(e){return"string"===typeof e&&!!e.match(p.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(p.url)},pattern:function(e,t){try{return new RegExp(e).test(t)}catch(n){return!1}},method:function(e){return"function"===typeof e},idcard:function(e){return"string"===typeof e&&!!e.match(p.idcard)},"url-https":function(e){return this.url(e)&&e.startsWith("https://")},"url-scheme":function(e){return e.startsWith("://")},"url-web":function(e){return!1}},v=function(){function e(t){(0,u.default)(this,e),this._message=t}return(0,l.default)(e,[{key:"validateRule",value:function(){var e=(0,c.default)(i.default.mark((function e(t,n,r,o,a){var s,c,u,l,f,d,p,h,y;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=null,c=n.rules,u=c.findIndex((function(e){return e.required})),!(u<0)){e.next=8;break}if(null!==r&&void 0!==r){e.next=6;break}return e.abrupt("return",s);case 6:if("string"!==typeof r||r.length){e.next=8;break}return e.abrupt("return",s);case 8:if(l=this._message,void 0!==c){e.next=11;break}return e.abrupt("return",l["default"]);case 11:f=0;case 12:if(!(f<c.length)){e.next=35;break}if(d=c[f],p=this._getValidateType(d),Object.assign(d,{label:n.label||'["'.concat(t,'"]')}),!m[p]){e.next=20;break}if(s=m[p](d,r,l),null==s){e.next=20;break}return e.abrupt("break",35);case 20:if(!d.validateExpr){e.next=26;break}if(h=Date.now(),y=d.validateExpr(r,a,h),!1!==y){e.next=26;break}return s=this._getMessage(d,d.errorMessage||this._message["default"]),e.abrupt("break",35);case 26:if(!d.validateFunction){e.next=32;break}return e.next=29,this.validateFunction(d,r,o,a,p);case 29:if(s=e.sent,null===s){e.next=32;break}return e.abrupt("break",35);case 32:f++,e.next=12;break;case 35:return null!==s&&(s=l.TAG+s),e.abrupt("return",s);case 37:case"end":return e.stop()}}),e,this)})));return function(t,n,r,i,o){return e.apply(this,arguments)}}()},{key:"validateFunction",value:function(){var e=(0,c.default)(i.default.mark((function e(t,n,r,o,a){var s,c,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=null,e.prev=1,c=null,e.next=5,t.validateFunction(t,n,o||r,(function(e){c=e}));case 5:u=e.sent,(c||"string"===typeof u&&u||!1===u)&&(s=this._getMessage(t,c||u,a)),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](1),s=this._getMessage(t,e.t0.message,a);case 12:return e.abrupt("return",s);case 13:case"end":return e.stop()}}),e,this,[[1,9]])})));return function(t,n,r,i,o){return e.apply(this,arguments)}}()},{key:"_getMessage",value:function(e,t,n){return y(e,t||e.errorMessage||this._message[n]||t["default"])}},{key:"_getValidateType",value:function(e){var t="";return e.required?t="required":e.format?t="format":e.arrayType?t="arrayTypeFormat":e.range?t="range":void 0!==e.maximum||void 0!==e.minimum?t="rangeNumber":void 0!==e.maxLength||void 0!==e.minLength?t="rangeLength":e.pattern?t="pattern":e.validateFunction&&(t="validateFunction"),t}}]),e}(),m={required:function(e,t,n){return e.required&&function(e,t){return void 0===e||null===e||("string"===typeof e&&!e||(!(!Array.isArray(e)||e.length)||"object"===t&&!Object.keys(e).length))}(t,e.format||(0,f.default)(t))?y(e,e.errorMessage||n.required):null},range:function(e,t,n){for(var r=e.range,i=e.errorMessage,o=new Array(r.length),a=0;a<r.length;a++){var s=r[a];g.object(s)&&void 0!==s.value?o[a]=s.value:o[a]=s}var c=!1;return Array.isArray(t)?c=new Set(t.concat(o)).size===o.length:o.indexOf(t)>-1&&(c=!0),c?null:y(e,i||n["enum"])},rangeNumber:function(e,t,n){if(!g.number(t))return y(e,e.errorMessage||n.pattern.mismatch);var r=e.minimum,i=e.maximum,o=e.exclusiveMinimum,a=e.exclusiveMaximum,s=o?t<=r:t<r,c=a?t>=i:t>i;return void 0!==r&&s?y(e,e.errorMessage||n["number"][o?"exclusiveMinimum":"minimum"]):void 0!==i&&c?y(e,e.errorMessage||n["number"][a?"exclusiveMaximum":"maximum"]):void 0!==r&&void 0!==i&&(s||c)?y(e,e.errorMessage||n["number"].range):null},rangeLength:function(e,t,n){if(!g.string(t)&&!g.array(t))return y(e,e.errorMessage||n.pattern.mismatch);var r=e.minLength,i=e.maxLength,o=t.length;return void 0!==r&&o<r?y(e,e.errorMessage||n["length"].minLength):void 0!==i&&o>i?y(e,e.errorMessage||n["length"].maxLength):void 0!==r&&void 0!==i&&(o<r||o>i)?y(e,e.errorMessage||n["length"].range):null},pattern:function(e,t,n){return g["pattern"](e.pattern,t)?null:y(e,e.errorMessage||n.pattern.mismatch)},format:function(e,t,n){var r=Object.keys(g),i=h[e.format]?h[e.format]:e.format||e.arrayType;return r.indexOf(i)>-1&&!g[i](t)?y(e,e.errorMessage||n.typeError):null},arrayTypeFormat:function(e,t,n){if(!Array.isArray(t))return y(e,e.errorMessage||n.typeError);for(var r=0;r<t.length;r++){var i=t[r],o=this.format(e,i,n);if(null!==o)return o}return null}},b=function(e){(0,o.default)(n,e);var t=d(n);function n(e,r){var i;return(0,u.default)(this,n),i=t.call(this,n.message),i._schema=e,i._options=r||null,i}return(0,l.default)(n,[{key:"updateSchema",value:function(e){this._schema=e}},{key:"validate",value:function(){var e=(0,c.default)(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this._checkFieldInSchema(t),r){e.next=5;break}return e.next=4,this.invokeValidate(t,!1,n);case 4:r=e.sent;case 5:return e.abrupt("return",r.length?r[0]:null);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"validateAll",value:function(){var e=(0,c.default)(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this._checkFieldInSchema(t),r){e.next=5;break}return e.next=4,this.invokeValidate(t,!0,n);case 4:r=e.sent;case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"validateUpdate",value:function(){var e=(0,c.default)(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this._checkFieldInSchema(t),r){e.next=5;break}return e.next=4,this.invokeValidateUpdate(t,!1,n);case 4:r=e.sent;case 5:return e.abrupt("return",r.length?r[0]:null);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"invokeValidate",value:function(){var e=(0,c.default)(i.default.mark((function e(t,n,r){var o,a,s,c,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:o=[],a=this._schema,e.t0=i.default.keys(a);case 3:if((e.t1=e.t0()).done){e.next=15;break}return s=e.t1.value,c=a[s],e.next=8,this.validateRule(s,c,t[s],t,r);case 8:if(u=e.sent,null==u){e.next=13;break}if(o.push({key:s,errorMessage:u}),n){e.next=13;break}return e.abrupt("break",15);case 13:e.next=3;break;case 15:return e.abrupt("return",o);case 16:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"invokeValidateUpdate",value:function(){var e=(0,c.default)(i.default.mark((function e(t,n,r){var o,a,s;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:o=[],e.t0=i.default.keys(t);case 2:if((e.t1=e.t0()).done){e.next=13;break}return a=e.t1.value,e.next=6,this.validateRule(a,this._schema[a],t[a],t,r);case 6:if(s=e.sent,null==s){e.next=11;break}if(o.push({key:a,errorMessage:s}),n){e.next=11;break}return e.abrupt("break",13);case 11:e.next=2;break;case 13:return e.abrupt("return",o);case 14:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"_checkFieldInSchema",value:function(e){var t=Object.keys(e),r=Object.keys(this._schema);if(new Set(t.concat(r)).size===r.length)return"";var i=t.filter((function(e){return r.indexOf(e)<0})),o=y({field:JSON.stringify(i)},n.message.TAG+n.message["defaultInvalid"]);return[{key:"invalid",errorMessage:o}]}}]),n}(v);b.message=new function(){return{TAG:"",default:"验证错误",defaultInvalid:"提交的字段{field}在数据库中并不存在",validateFunction:"验证无效",required:"{label}必填",enum:"{label}超出范围",timestamp:"{label}格式无效",whitespace:"{label}不能为空",typeError:"{label}类型无效",date:{format:"{label}日期{value}格式无效",parse:"{label}日期无法解析,{value}无效",invalid:"{label}日期{value}无效"},length:{minLength:"{label}长度不能少于{minLength}",maxLength:"{label}长度不能超过{maxLength}",range:"{label}必须介于{minLength}和{maxLength}之间"},number:{minimum:"{label}不能小于{minimum}",maximum:"{label}不能大于{maximum}",exclusiveMinimum:"{label}不能小于等于{minimum}",exclusiveMaximum:"{label}不能大于等于{maximum}",range:"{label}必须介于{minimum}and{maximum}之间"},pattern:{mismatch:"{label}格式不匹配"}}};var S=b;t.default=S},"0b23":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{wxsProp:{optDown:{},scrollTop:0,bodyHeight:0,isDownScrolling:!1,isUpScrolling:!1,isScrollBody:!0,isUpBoth:!0,t:0},callProp:{callType:"",t:0},renderBiz:{propObserver:function(){}}}},methods:{wxsCall:function(e){"setWxsProp"===e.type?this.wxsProp={optDown:this.mescroll.optDown,scrollTop:this.mescroll.getScrollTop(),bodyHeight:this.mescroll.getBodyHeight(),isDownScrolling:this.mescroll.isDownScrolling,isUpScrolling:this.mescroll.isUpScrolling,isUpBoth:this.mescroll.optUp.isBoth,isScrollBody:this.mescroll.isScrollBody,t:Date.now()}:"setLoadType"===e.type?(this.downLoadType=e.downLoadType,this.$set(this.mescroll,"downLoadType",this.downLoadType),this.$set(this.mescroll,"isDownEndSuccess",null)):"triggerDownScroll"===e.type?this.mescroll.triggerDownScroll():"endDownScroll"===e.type?this.mescroll.endDownScroll():"triggerUpScroll"===e.type&&this.mescroll.triggerUpScroll(!0)}},mounted:function(){var e=this;this.mescroll.optDown.afterLoading=function(){e.callProp={callType:"showLoading",t:Date.now()}},this.mescroll.optDown.afterEndDownScroll=function(){e.callProp={callType:"endDownScroll",t:Date.now()};var t=300+(e.mescroll.optDown.beforeEndDelay||0);setTimeout((function(){4!==e.downLoadType&&0!==e.downLoadType||(e.callProp={callType:"clearTransform",t:Date.now()}),e.$set(e.mescroll,"downLoadType",e.downLoadType)}),t)},this.wxsCall({type:"setWxsProp"})}},i=r;t.default=i},"0bdb":function(e,t,n){var r=n("d551");function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"0c77":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({length:{type:[String,Number],default:0},current:{type:[String,Number],default:0},indicatorActiveColor:{type:String,default:""},indicatorInactiveColor:{type:String,default:""},indicatorMode:{type:String,default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.swiperIndicator)};t.default=c}).call(this,n("df3c")["default"])},"0e97":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=function(e,t){if(!t)return;return clearTimeout(t.timer),new u(e,t)};var i=r(n("7ca3")),o=r(n("67ad")),a=r(n("0bdb"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(){function t(n,r){(0,o.default)(this,t),this.options=n,this.animation=e.createAnimation(c({},n)),this.currentStepAnimates={},this.next=0,this.$=r}return(0,a.default)(t,[{key:"_nvuePushAnimates",value:function(e,t){var n=this.currentStepAnimates[this.next],r={};if(r=n||{styles:{},config:{}},l.includes(e)){r.styles.transform||(r.styles.transform="");var i="";"rotate"===e&&(i="deg"),r.styles.transform+="".concat(e,"(").concat(t+i,") ")}else r.styles[e]="".concat(t);this.currentStepAnimates[this.next]=r}},{key:"_animateRun",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$.$refs["ani"].ref;if(n)return new Promise((function(r,i){nvueAnimation.transition(n,c({styles:e},t),(function(e){r()}))}))}},{key:"_nvueNextAnimate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,i=e[n];if(i){var o=i.styles,a=i.config;this._animateRun(o,a).then((function(){n+=1,t._nvueNextAnimate(e,n,r)}))}else this.currentStepAnimates={},"function"===typeof r&&r(),this.isEnd=!0}},{key:"step",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(e),this}},{key:"run",value:function(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof e&&e()}),this.$.durationTime)}}]),t}(),l=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];l.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(e){u.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n("df3c")["default"])},"0ee4":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"16f2":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({duration:{type:Number,default:300},list:{type:Array,default:function(){return[]}},lineColor:{type:String,default:"#3c9cff"},activeStyle:{type:[String,Object],default:function(){return{color:"#303133"}}},inactiveStyle:{type:[String,Object],default:function(){return{color:"#606266"}}},lineWidth:{type:[String,Number],default:20},lineHeight:{type:[String,Number],default:3},lineBgSize:{type:String,default:"cover"},itemStyle:{type:[String,Object],default:function(){return{height:"44px"}}},scrollable:{type:Boolean,default:!0},current:{type:[Number,String],default:0},keyName:{type:String,default:"name"}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.tabs)};t.default=c}).call(this,n("df3c")["default"])},"17ce":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFileListByPage=function(e){return(0,r.request)({url:"/file/downloadData/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.insertDownloadFile=function(e){return(0,r.request)({url:"/file/downloadData",method:"post",data:e})};var r=n("8cf7")},"17f0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.login=function(e){return(0,r.request)({url:"/im/user/token/get",method:"post",data:e})},t.sendSystem=function(e){return(0,r.request)({url:"/im/message/save",method:"post",data:e})};var r=n("8cf7")},1835:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:{type:String,default:""},color:{type:String,default:"#606266"},size:{type:[String,Number],default:"16px"},bold:{type:Boolean,default:!1},index:{type:[String,Number],default:null},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uvicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"15px"},labelColor:{type:String,default:"#606266"},space:{type:[String,Number],default:"3px"},imgMode:{type:String,default:"aspectFit"},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},stop:{type:Boolean,default:!1}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.icon)};t.default=c}).call(this,n("df3c")["default"])},"188d":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.$parent=c,t.addStyle=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if((0,a.empty)(e)||"object"===(0,o.default)(e)&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=f(e);for(var n=e.split(";"),r={},i=0;i<n.length;i++)if(n[i]){var s=n[i].split(":");r[f(s[0])]=f(s[1])}return r}var c="";for(var u in e){var l=u.replace(/([A-Z])/g,"-$1").toLowerCase();c+="".concat(l,":").concat(e[u],";")}return f(c)},t.addUnit=function(){var t,n,r,i,o,s,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=e)&&void 0!==t&&null!==(n=t.$uv)&&void 0!==n&&null!==(r=n.config)&&void 0!==r&&r.unit?null===(i=e)||void 0===i||null===(o=i.$uv)||void 0===o||null===(s=o.config)||void 0===s?void 0:s.unit:"px";return c=String(c),(0,a.number)(c)?"".concat(c).concat(u):c},t.deepClone=u,t.deepMerge=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=u(t),"object"!==(0,o.default)(t)||null===t||"object"!==(0,o.default)(n)||null===n)return t;var r=Array.isArray(t)?t.slice():Object.assign({},t);for(var i in n)if(n.hasOwnProperty(i)){var a=n[i],s=r[i];a instanceof Date?r[i]=new Date(a):a instanceof RegExp?r[i]=new RegExp(a):a instanceof Map?r[i]=new Map(a):a instanceof Set?r[i]=new Set(a):"object"===(0,o.default)(a)&&null!==a?r[i]=e(s,a):r[i]=a}return r},t.error=function(e){0},t.formValidate=function(e,t){var n=c.call(e,"uv-form-item"),r=c.call(e,"uv-form");n&&r&&r.validateField(n.prop,(function(){}),t)},t.getDuration=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=parseInt(e);if(t)return/s$/.test(e)?e:"".concat(e,e>30?"ms":"s");return/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},t.getHistoryPage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=getCurrentPages(),n=t.length;return t[n-1+e]},t.getProperty=function(e,t){if(!e)return;if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var n=t.split("."),r=e[n[0]]||{},i=1;i<n.length;i++)r&&(r=r[n[i]]);return r}return e[t]},t.getPx=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,a.number)(t))return n?"".concat(t,"px"):Number(t);if(/(rpx|upx)$/.test(t))return n?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t)));return n?"".concat(parseInt(t),"px"):parseInt(t)},t.guid=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(n=n||r.length,e)for(var o=0;o<e;o++)i[o]=r[0|Math.random()*n];else{var a;i[8]=i[13]=i[18]=i[23]="-",i[14]="4";for(var s=0;s<36;s++)i[s]||(a=0|16*Math.random(),i[s]=r[19==s?3&a|8:a])}if(t)return i.shift(),"u".concat(i.join(""));return i.join("")},t.os=function(){return e.getSystemInfoSync().platform.toLowerCase()},t.padZero=function(e){return"00".concat(e).slice(-2)},t.page=function(){var e,t=getCurrentPages(),n=null===(e=t[t.length-1])||void 0===e?void 0:e.route;return"/".concat(n||"")},t.pages=function(){var e=getCurrentPages();return e},t.priceFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";e="".concat(e).replace(/[^0-9+-Ee.]/g,"");var i=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,a="undefined"===typeof r?",":r,c="undefined"===typeof n?".":n,u="";u=(o?(0,s.round)(i,o)+"":"".concat(Math.round(i))).split(".");var l=/(-?\d+)(\d{3})/;while(l.test(u[0]))u[0]=u[0].replace(l,"$1".concat(a,"$2"));(u[1]||"").length<o&&(u[1]=u[1]||"",u[1]+=new Array(o-u[1].length+1).join("0"));return u.join(c)},t.queryParams=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",r=t?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");var o=function(t){var r=e[t];if(["",void 0,null].indexOf(r)>=0)return"continue";if(r.constructor===Array)switch(n){case"indices":for(var o=0;o<r.length;o++)i.push("".concat(t,"[").concat(o,"]=").concat(r[o]));break;case"brackets":r.forEach((function(e){i.push("".concat(t,"[]=").concat(e))}));break;case"repeat":r.forEach((function(e){i.push("".concat(t,"=").concat(e))}));break;case"comma":var a="";r.forEach((function(e){a+=(a?",":"")+e})),i.push("".concat(t,"=").concat(a));break;default:r.forEach((function(e){i.push("".concat(t,"[]=").concat(e))}))}else i.push("".concat(t,"=").concat(r))};for(var a in e)o(a);return i.length?r+i.join("&"):""},t.random=function(e,t){if(e>=0&&t>0&&t>=e){var n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},t.randomArray=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))},t.range=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(n)))},t.setConfig=function(t){var n=t.props,r=void 0===n?{}:n,i=t.config,o=void 0===i?{}:i,a=t.color,s=void 0===a?{}:a,c=t.zIndex,u=void 0===c?{}:c,l=e.$uv.deepMerge;e.$uv.config=l(e.$uv.config,o),e.$uv.props=l(e.$uv.props,r),e.$uv.color=l(e.$uv.color,s),e.$uv.zIndex=l(e.$uv.zIndex,u)},t.setProperty=function(e,t,n){if(!e)return;if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var r=t.split(".");(function e(t,n,r){if(1!==n.length)while(n.length>1){var i=n[0];t[i]&&"object"===(0,o.default)(t[i])||(t[i]={});n.shift();e(t[i],n,r)}else t[n[0]]=r})(e,r,n)}else e[t]=n},t.sleep=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))},t.sys=function(){return e.getSystemInfoSync()},t.timeFormat=l,t.timeFrom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";null==e&&(e=Number(new Date));e=parseInt(e),10==e.toString().length&&(e*=1e3);var n=(new Date).getTime()-e;n=parseInt(n/1e3);var r="";switch(!0){case n<300:r="刚刚";break;case n>=300&&n<3600:r="".concat(parseInt(n/60),"分钟前");break;case n>=3600&&n<86400:r="".concat(parseInt(n/3600),"小时前");break;case n>=86400&&n<2592e3:r="".concat(parseInt(n/86400),"天前");break;default:r=!1===t?n>=2592e3&&n<31536e3?"".concat(parseInt(n/2592e3),"个月前"):"".concat(parseInt(n/31536e3),"年前"):l(e,t)}return r},t.toast=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:n})},t.trim=f,t.type2icon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");var n="";switch(e){case"primary":n="info-circle";break;case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;case"success":n="checkmark-circle";break;default:n="checkmark-circle"}t&&(n+="-fill");return n};var i=r(n("34cf")),o=r(n("3b2d")),a=n("62ff"),s=n("05e9");function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this.$parent;while(t){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===e||"object"!==(0,o.default)(e))return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime());else if(e instanceof RegExp)t=new RegExp(e);else if(e instanceof Map)t=new Map(Array.from(e,(function(e){var t=(0,i.default)(e,2),r=t[0],o=t[1];return[r,u(o,n)]})));else if(e instanceof Set)t=new Set(Array.from(e,(function(e){return u(e,n)})));else if(Array.isArray(e))t=e.map((function(e){return u(e,n)}));else if("[object Object]"===Object.prototype.toString.call(e)){t=Object.create(Object.getPrototypeOf(e)),n.set(e,t);for(var r=0,a=Object.entries(e);r<a.length;r++){var s=(0,i.default)(a[r],2),c=s[0],l=s[1];t[c]=u(l,n)}}else t=Object.assign({},e);return n.set(e,t),t}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";e=t?/^\d{10}$/.test(null===t||void 0===t?void 0:t.toString().trim())?new Date(1e3*t):"string"===typeof t&&/^\d+$/.test(t.trim())?new Date(Number(t)):"string"===typeof t&&t.includes("-")&&!t.includes("T")?new Date(t.replace(/-/g,"/")):new Date(t):new Date;var r={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(var o in r){var a=new RegExp("".concat(o,"+")).exec(n)||[],s=(0,i.default)(a,1),c=s[0];if(c){var u="y"===o&&2===c.length?2:0;n=n.replace(c,r[o].slice(u))}}return n}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}String.prototype.padStart||(String.prototype.padStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");var n=this;if(n.length>=e)return String(n);var r=e-n.length,i=Math.ceil(r/t.length);while(i>>=1)t+=t,1===i&&(t+=t);return t.slice(0,r)+n})}).call(this,n("df3c")["default"])},"1ffb":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7eb4")),o=r(n("ee10")),a=r(n("67ad")),s=r(n("0bdb")),c=n("188d"),u=function(){function t(){(0,a.default)(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1,events:{}},this.route=this.route.bind(this)}return(0,s.default)(t,[{key:"addRootPath",value:function(e){return"/"===e[0]?e:"/".concat(e)}},{key:"mixinParam",value:function(e,t){e=e&&this.addRootPath(e);var n="";return/.*\/.*\?.*=.*/.test(e)?(n=(0,c.queryParams)(t,!1),e+"&".concat(n)):(n=(0,c.queryParams)(t),e+n)}},{key:"route",value:function(){var e=(0,o.default)(i.default.mark((function e(){var t,n,r,o,a=arguments;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:{},n=a.length>1&&void 0!==a[1]?a[1]:{},r={},"string"===typeof t?(r.url=this.mixinParam(t,n),r.type="navigateTo"):(r=(0,c.deepMerge)(this.config,t),r.url=this.mixinParam(t.url,t.params)),r.url!==(0,c.page)()){e.next=6;break}return e.abrupt("return");case 6:if(n.intercept&&(r.intercept=n.intercept),r.params=n,r=(0,c.deepMerge)(this.config,r),"function"!==typeof r.intercept){e.next=16;break}return e.next=12,new Promise((function(e,t){r.intercept(r,e)}));case 12:o=e.sent,o&&this.openPage(r),e.next=17;break;case 16:this.openPage(r);case 17:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"openPage",value:function(t){var n=t.url,r=(t.type,t.delta),i=t.animationType,o=t.animationDuration,a=t.events;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:n,animationType:i,animationDuration:o,events:a}),"redirectTo"!=t.type&&"redirect"!=t.type||e.redirectTo({url:n}),"switchTab"!=t.type&&"tab"!=t.type||e.switchTab({url:n}),"reLaunch"!=t.type&&"launch"!=t.type||e.reLaunch({url:n}),"navigateBack"!=t.type&&"back"!=t.type||e.navigateBack({delta:r})}}]),t}(),l=(new u).route;t.default=l}).call(this,n("df3c")["default"])},"207fa":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({value:{type:[Boolean,String,Number],default:!1},modelValue:{type:[Boolean,String,Number],default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[String,Number],default:25},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#fff"},activeValue:{type:[String,Number,Boolean],default:!0},inactiveValue:{type:[String,Number,Boolean],default:!1},asyncChange:{type:Boolean,default:!1},space:{type:[String,Number],default:0}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.switch)};t.default=c}).call(this,n("df3c")["default"])},2313:function(e,t,n){"use strict";(function(e,r){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.instance=t.YeIMUniSDKDefines=t.YeIMUniSDK=void 0;var o=i(n("3b2d"));function a(e){return a="function"==typeof Symbol&&"symbol"==(0,o.default)(Symbol.iterator)?function(e){return(0,o.default)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,o.default)(e)},a(e)}function s(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===a(t)?t:t+""}function c(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function f(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var d={EVENT:{}};t.YeIMUniSDKDefines=d,d.EVENT.NET_CHANGED="net_changed",d.EVENT.CONVERSATION_LIST_CHANGED="conversation_list_changed",d.EVENT.MESSAGE_RECEIVED="message_received",d.EVENT.MESSAGE_REVOKED="message_revoked",d.EVENT.PRIVATE_READ_RECEIPT="private_read_receipt",d.EVENT.FRIEND_LIST_CHANGED="friend_list_changed",d.EVENT.FRIEND_APPLY_LIST_CHANGED="friend_apply_list_changed",d.EVENT.FRIEND_APPLY_REFUSE="friend_apply_refuse",d.EVENT.KICKED_OUT="kicked_out",d.CONVERSATION_TYPE={},d.CONVERSATION_TYPE.PRIVATE="private",d.CONVERSATION_TYPE.GROUP="group",d.MESSAGE_TYPE={},d.MESSAGE_TYPE.TEXT="text",d.MESSAGE_TYPE.TEXT_AT="text_at",d.MESSAGE_TYPE.IMAGE="image",d.MESSAGE_TYPE.AUDIO="audio",d.MESSAGE_TYPE.VIDEO="video",d.MESSAGE_TYPE.LOCATION="location",d.MESSAGE_TYPE.CUSTOM="custom",d.MESSAGE_TYPE.MERGER="merger",d.MESSAGE_TYPE.FORWARD="forward",d.MESSAGE_TYPE.SYS_NOTICE="sys_notice",d.MESSAGE_TYPE.GROUP_SYS_NOTICE="group_sys_notice",d.USER={},d.USER.ADDFRIEND={},d.USER.ADDFRIEND.ALLOW=1,d.USER.ADDFRIEND.CONFIRM=2,d.USER.ADDFRIEND.DENY=3,d.GROUP={},d.GROUP.JOINMODE={},d.GROUP.JOINMODE.FREE=1,d.GROUP.JOINMODE.CHECK=2,d.GROUP.JOINMODE.FORBIDDEN=3,d.GROUP.APPLYSTATUS={},d.GROUP.APPLYSTATUS.PENDING=1,d.GROUP.APPLYSTATUS.AGREE=2,d.GROUP.APPLYSTATUS.REFUSE=3;var p={NORMAL_SUCCESS:{code:200,describe:"接口调用成功"},APPLY_NEED:{code:20020,describe:"好友申请已发送,请等待对方处理"},NORMAL_ERROR:{code:500,describe:"未知错误"},SDK_PARAMS_ERROR:{code:9001,describe:"YeIMUniSDK 初始化失败,请检查参数是否存在异常"},CONNECT_ERROR:{code:10001,describe:"聊天服务网络连接错误"},NO_USERID:{code:10002,describe:"用户验证失败,请检查userId、token"},LOGIN_EXPIRE:{code:10003,describe:"用户登录状态过期,请重新登录"},NO_CONVERSATION:{code:10004,describe:"未找到此会话"},PARAMS_ERROR:{code:10008,describe:"请求参数错误"},LOGIN_ERROR:{code:10103,describe:"用户登录失败,请稍后再试"},GROUP_APPLY_REPEAT:{code:10251,describe:"此用户已在当前群组,请勿重复加入"},GROUP_APPLY_ERROR:{code:10252,describe:"申请入群异常,请稍后重试"},GROUP_APPLY_WAIT:{code:10253,describe:"已发送入群申请,请等待审核"},UPLOAD_ERROR:{code:10300,describe:"本地上传失败,请检查配置"},DOWNLOAD_ERROR:{code:10301,describe:"文件下载失败"},COS_UPLOAD_ERROR:{code:10302,describe:"腾讯云COS上传文件失败,请检查配置是否填写正确"},COS_DOWNLOAD_ERROR_1:{code:10303,describe:"腾讯云媒体截图接口:下载视频缩略图失败,请检查网络或开启万象功能"},OSS_UPLOAD_ERROR:{code:10304,describe:"阿里云OSS上传文件失败,请检查配置是否填写正确"}};function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0==de.defaults.logLevel)n?console.error("【YeIMUniSDK Log】",t):console.log("【YeIMUniSDK Log】",t);else{if(2==de.defaults.logLevel)return;1==e&&(n?console.error("【YeIMUniSDK Log】",t):console.log("【YeIMUniSDK Log】",t))}}var y=function(){function t(n){var r=this;u(this,t),c(this,"socketTask",void 0),c(this,"onMessageCallBack",[]),de.uni?this.socketTask=e.connectSocket({url:n,success:function(){},fail:function(){},complete:function(){}}):(this.socketTask=new WebSocket(n),this.socketTask.onmessage=function(e){if(r.onMessageCallBack)for(var t=0;r.onMessageCallBack.length>t;t++)r.onMessageCallBack[t](e)})}return f(t,[{key:"onOpen",value:function(e){try{de.uni?this.socketTask.onOpen(e):this.socketTask.onopen=e}catch(e){h(0,e,!0)}}},{key:"onClose",value:function(e){try{de.uni?this.socketTask.onClose(e):this.socketTask.onclose=e}catch(e){h(0,e,!0)}}},{key:"onError",value:function(e){try{de.uni?this.socketTask.onError(e):this.socketTask.onerror=e}catch(e){h(0,e,!0)}}},{key:"onMessage",value:function(e){try{de.uni?this.socketTask.onMessage(e):this.onMessageCallBack.push(e)}catch(e){h(0,e,!0)}}},{key:"send",value:function(e){if(this.socketTask)try{this.socketTask.send(de.uni?{data:JSON.stringify(e)}:JSON.stringify(e))}catch(e){h(0,e,!0)}}},{key:"close",value:function(){try{this.socketTask.close()}catch(t){h(0,t,!0)}}},{key:"destroy",value:function(){this.socketTask=void 0}}]),t}();function g(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:200,message:arguments.length>1?arguments[1]:void 0,data:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null}}function v(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:500,message:arguments.length>1?arguments[1]:void 0,data:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{null!=e&&void 0!==e.success&&"function"==typeof e.success&&e.success(g(r,t,n))}catch(e){console.error(e)}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{null!=e&&void 0!==e.fail&&"function"==typeof e.fail&&e.fail(v(t,n,r))}catch(e){console.error(e)}}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof r||"undefined"!=typeof self&&self;var S={};({get exports(){return S},set exports(e){S=e}}).exports=function(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}};var x=S;function _(e,t){de.emitter.emit(de.defaults.eventPrefix+e,t)}function C(e,t){e&&de.emitter.on(de.defaults.eventPrefix+e,t)}function L(e,t){e&&de.emitter.off(de.defaults.eventPrefix+e,t)}function P(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){P(o,r,i,a,s,"next",e)}function s(e){P(o,r,i,a,s,"throw",e)}a(void 0)}))}}var w={},Y={get exports(){return w},set exports(e){w=e}},A={};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==(0,o.default)(Symbol.iterator)?function(e){return(0,o.default)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,o.default)(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({get exports(){return A},set exports(e){A=e}}),function(e){var t=A.default;function n(){
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
- e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=Object.create((t&&t.prototype instanceof y?t:y).prototype),o=new Y(r||[]);return a(i,"_invoke",{value:L(e,n,o)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var h={};function y(){}function g(){}function v(){}var m={};f(m,c,(function(){return this}));var b=Object.getPrototypeOf,S=b&&b(b(A([])));S&&S!==i&&o.call(S,c)&&(m=S);var x=v.prototype=y.prototype=Object.create(m);function _(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,n){function r(i,a,s,c){var u=p(e[i],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==t(f)&&o.call(f,"__await")?n.resolve(f.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):n.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,c)}))}c(u.arg)}var i;a(this,"_invoke",{value:function(e,t){function o(){return new n((function(n,i){r(e,t,n,i)}))}return i=i?i.then(o,o):o()}})}function L(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=p(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function P(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=p(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Y(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function A(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=v,a(x,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:g,configurable:!0}),g.displayName=f(v,l,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},r.awrap=function(e){return{__await:e}},_(C.prototype),f(C.prototype,u,(function(){return this})),r.AsyncIterator=C,r.async=function(e,t,n,i,o){void 0===o&&(o=Promise);var a=new C(d(e,t,n,i),o);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},r.values=A,Y.prototype={constructor:Y,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(this.prev>=i.tryLoc){var s=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(s&&c){if(i.catchLoc>this.prev)return n(i.catchLoc,!0);if(i.finallyLoc>this.prev)return n(i.finallyLoc)}else if(s){if(i.catchLoc>this.prev)return n(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(i.finallyLoc>this.prev)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(this.prev>=r.tryLoc&&o.call(r,"finallyLoc")&&r.finallyLoc>this.prev){var i=r;break}}i&&("break"===e||"continue"===e)&&t>=i.tryLoc&&i.finallyLoc>=t&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Y);var O=w(),D=O;try{regeneratorRuntime=O}catch(s){"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis.regeneratorRuntime=O:Function("r","regeneratorRuntime = r")(O)}var M=function(e,t){return e<<t|e>>>32-t},Z=function(e,t){var n,r,i,o,a;return i=2147483648&e,o=2147483648&t,a=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(r=1073741824&t)?2147483648^a^i^o:n|r?1073741824&a?3221225472^a^i^o:1073741824^a^i^o:a^i^o},k=function(e,t,n,r,i,o,a){return e=Z(e,Z(Z(function(e,t,n){return e&t|~e&n}(t,n,r),i),a)),Z(M(e,o),t)},E=function(e,t,n,r,i,o,a){return e=Z(e,Z(Z(function(e,t,n){return e&n|t&~n}(t,n,r),i),a)),Z(M(e,o),t)},R=function(e,t,n,r,i,o,a){return e=Z(e,Z(Z(function(e,t,n){return e^t^n}(t,n,r),i),a)),Z(M(e,o),t)},N=function(e,t,n,r,i,o,a){return e=Z(e,Z(Z(function(e,t,n){return t^(e|~n)}(t,n,r),i),a)),Z(M(e,o),t)},X=function(e){var t,n="",r="";for(t=0;3>=t;t++)n+=(r="0"+(e>>>8*t&255).toString(16)).substr(r.length-2,2);return n};function I(e){var t,n,r,i,o,a,s,c,u,l;for(e=function(e){e=e.replace(/\x0d\x0a/g,"\n");for(var t="",n=0;e.length>n;n++){var r=e.charCodeAt(n);128>r?t+=String.fromCharCode(r):r>127&&2048>r?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e+=""),t=function(e){for(var t,n=e.length,r=n+8,i=16*((r-r%64)/64+1),o=Array(i-1),a=0,s=0;n>s;)a=s%4*8,o[t=(s-s%4)/4]=o[t]|e.charCodeAt(s)<<a,s++;return o[t=(s-s%4)/4]=o[t]|128<<(a=s%4*8),o[i-2]=n<<3,o[i-1]=n>>>29,o}(e),s=1732584193,c=4023233417,u=2562383102,l=271733878,n=0;t.length>n;n+=16)r=s,i=c,o=u,a=l,s=k(s,c,u,l,t[n+0],7,3614090360),l=k(l,s,c,u,t[n+1],12,3905402710),u=k(u,l,s,c,t[n+2],17,606105819),c=k(c,u,l,s,t[n+3],22,3250441966),s=k(s,c,u,l,t[n+4],7,4118548399),l=k(l,s,c,u,t[n+5],12,1200080426),u=k(u,l,s,c,t[n+6],17,2821735955),c=k(c,u,l,s,t[n+7],22,4249261313),s=k(s,c,u,l,t[n+8],7,1770035416),l=k(l,s,c,u,t[n+9],12,2336552879),u=k(u,l,s,c,t[n+10],17,4294925233),c=k(c,u,l,s,t[n+11],22,2304563134),s=k(s,c,u,l,t[n+12],7,1804603682),l=k(l,s,c,u,t[n+13],12,4254626195),u=k(u,l,s,c,t[n+14],17,2792965006),c=k(c,u,l,s,t[n+15],22,1236535329),s=E(s,c,u,l,t[n+1],5,4129170786),l=E(l,s,c,u,t[n+6],9,3225465664),u=E(u,l,s,c,t[n+11],14,643717713),c=E(c,u,l,s,t[n+0],20,3921069994),s=E(s,c,u,l,t[n+5],5,3593408605),l=E(l,s,c,u,t[n+10],9,38016083),u=E(u,l,s,c,t[n+15],14,3634488961),c=E(c,u,l,s,t[n+4],20,3889429448),s=E(s,c,u,l,t[n+9],5,568446438),l=E(l,s,c,u,t[n+14],9,3275163606),u=E(u,l,s,c,t[n+3],14,4107603335),c=E(c,u,l,s,t[n+8],20,1163531501),s=E(s,c,u,l,t[n+13],5,2850285829),l=E(l,s,c,u,t[n+2],9,4243563512),u=E(u,l,s,c,t[n+7],14,1735328473),c=E(c,u,l,s,t[n+12],20,2368359562),s=R(s,c,u,l,t[n+5],4,4294588738),l=R(l,s,c,u,t[n+8],11,2272392833),u=R(u,l,s,c,t[n+11],16,1839030562),c=R(c,u,l,s,t[n+14],23,4259657740),s=R(s,c,u,l,t[n+1],4,2763975236),l=R(l,s,c,u,t[n+4],11,1272893353),u=R(u,l,s,c,t[n+7],16,4139469664),c=R(c,u,l,s,t[n+10],23,3200236656),s=R(s,c,u,l,t[n+13],4,681279174),l=R(l,s,c,u,t[n+0],11,3936430074),u=R(u,l,s,c,t[n+3],16,3572445317),c=R(c,u,l,s,t[n+6],23,76029189),s=R(s,c,u,l,t[n+9],4,3654602809),l=R(l,s,c,u,t[n+12],11,3873151461),u=R(u,l,s,c,t[n+15],16,530742520),c=R(c,u,l,s,t[n+2],23,3299628645),s=N(s,c,u,l,t[n+0],6,4096336452),l=N(l,s,c,u,t[n+7],10,1126891415),u=N(u,l,s,c,t[n+14],15,2878612391),c=N(c,u,l,s,t[n+5],21,4237533241),s=N(s,c,u,l,t[n+12],6,1700485571),l=N(l,s,c,u,t[n+3],10,2399980690),u=N(u,l,s,c,t[n+10],15,4293915773),c=N(c,u,l,s,t[n+1],21,2240044497),s=N(s,c,u,l,t[n+8],6,1873313359),l=N(l,s,c,u,t[n+15],10,4264355552),u=N(u,l,s,c,t[n+6],15,2734768916),c=N(c,u,l,s,t[n+13],21,1309151649),s=N(s,c,u,l,t[n+4],6,4149444226),l=N(l,s,c,u,t[n+11],10,3174756917),u=N(u,l,s,c,t[n+2],15,718787259),c=N(c,u,l,s,t[n+9],21,3951481745),s=Z(s,r),c=Z(c,i),u=Z(u,o),l=Z(l,a);return(X(s)+X(c)+X(u)+X(l)).toLowerCase()}var J,F,B,H,G,j=j||function(e,t){var n={},r=n.lib={},i=function(){},o=r.Base={extend:function(e){i.prototype=this;var t=new i;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=r.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes;if(e=e.sigBytes,this.clamp(),r%4)for(var i=0;e>i;i++)t[r+i>>>2]|=(n[i>>>2]>>>24-i%4*8&255)<<24-(r+i)%4*8;else if(n.length>65535)for(i=0;e>i;i+=4)t[r+i>>>2]=n[i>>>2];else t.push.apply(t,n);return this.sigBytes+=e,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n=[],r=0;t>r;r+=4)n.push(4294967296*e.random()|0);return new a.init(n,t)}}),s=n.enc={},c=s.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;e>r;r++){var i=t[r>>>2]>>>24-r%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;t>r;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;e>r;r++)n.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;t>r;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o);if(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0),i=e.min(4*(t=s*o),i),t){for(var c=0;t>c;c+=o)this._doProcessBlock(r,c);c=r.splice(0,t),n.sigBytes-=i}return new a.init(c,i)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});r.Hasher=f.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new d.HMAC.init(e,n).finalize(t)}}});var d=n.algo={};return n}(Math);F=(G=(J=j).lib).WordArray,H=[],G=J.algo.SHA1=(B=G.Hasher).extend({_doReset:function(){this._hash=new F.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=0;80>c;c++){if(16>c)H[c]=0|e[t+c];else{var u=H[c-3]^H[c-8]^H[c-14]^H[c-16];H[c]=u<<1|u>>>31}u=(r<<5|r>>>27)+s+H[c],u=20>c?u+(1518500249+(i&o|~i&a)):40>c?u+(1859775393+(i^o^a)):60>c?u+((i&o|i&a|o&a)-1894007588):u+((i^o^a)-899497514),s=a,a=o,o=i<<30|i>>>2,i=r,r=u}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=B.clone.call(this);return e._hash=this._hash.clone(),e}}),J.SHA1=B._createHelper(G),J.HmacSHA1=B._createHmacHelper(G),function(){var e=j.enc.Utf8;j.algo.HMAC=j.lib.Base.extend({init:function(t,n){t=this._hasher=new t.init,"string"==typeof n&&(n=e.parse(n));var r=t.blockSize,i=4*r;n.sigBytes>i&&(n=t.finalize(n)),n.clamp();for(var o=this._oKey=n.clone(),a=this._iKey=n.clone(),s=o.words,c=a.words,u=0;r>u;u++)s[u]^=1549556828,c[u]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}();var Q="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Q&&Q||{},W={searchParams:"URLSearchParams"in Q,iterable:"Symbol"in Q&&"iterator"in Symbol,blob:"FileReader"in Q&&"Blob"in Q&&function(){try{return new Blob,!0}catch(a){return!1}}(),formData:"FormData"in Q,arrayBuffer:"ArrayBuffer"in Q};if(W.arrayBuffer)var U=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],K=ArrayBuffer.isView||function(e){return e&&U.indexOf(Object.prototype.toString.call(e))>-1};function $(e){if("string"!=typeof e&&(e+=""),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function z(e){return"string"!=typeof e&&(e+=""),e}function q(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return W.iterable&&(t[Symbol.iterator]=function(){return t}),t}function V(e){this.map={},e instanceof V?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ee(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function te(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ne(e){var t=new FileReader,n=te(t);return t.readAsArrayBuffer(e),n}function re(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ie(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:W.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:W.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:W.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=""+e:W.arrayBuffer&&W.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):W.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||K(e))?this._bodyArrayBuffer=re(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):W.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},W.blob&&(this.blob=function(){var e=ee(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ee(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(ne)}),this.text=function(){var e,t,n,r=ee(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=te(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=Array(t.length),r=0;t.length>r;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},W.formData&&(this.formData=function(){return this.text().then(se)}),this.json=function(){return this.text().then(JSON.parse)},this}V.prototype.append=function(e,t){e=$(e),t=z(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},V.prototype.delete=function(e){delete this.map[$(e)]},V.prototype.get=function(e){return e=$(e),this.has(e)?this.map[e]:null},V.prototype.has=function(e){return this.map.hasOwnProperty($(e))},V.prototype.set=function(e,t){this.map[$(e)]=z(t)},V.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},V.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),q(e)},V.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),q(e)},V.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),q(e)},W.iterable&&(V.prototype[Symbol.iterator]=V.prototype.entries);var oe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ae(e,t){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new V(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=e+"";if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new V(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),oe.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Q)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;o.test(this.url)?this.url=this.url.replace(o,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function se(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function ce(e,t){if(!(this instanceof ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&300>this.status,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new V(t.headers),this.url=t.url||"",this._initBody(e)}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})},ie.call(ae.prototype),ie.call(ce.prototype),ce.prototype.clone=function(){return new ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new V(this.headers),url:this.url})},ce.error=function(){var e=new ce(null,{status:0,statusText:""});return e.type="error",e};var ue=[301,302,303,307,308];ce.redirect=function(e,t){if(-1===ue.indexOf(t))throw new RangeError("Invalid status code");return new ce(null,{status:t,headers:{location:e}})};var le=Q.DOMException;try{new le}catch(a){(le=function(e,t){this.message=e,this.name=t,this.stack=Error(e).stack}).prototype=Object.create(Error.prototype),le.prototype.constructor=le}function fe(e,t){return new Promise((function(n,r){var i=new ae(e,t);if(i.signal&&i.signal.aborted)return r(new le("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new V,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){n(new ce(i,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new le("Aborted","AbortError"))}),0)},o.open(i.method,function(t){try{return""===t&&Q.location.href?Q.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(W.blob?o.responseType="blob":W.arrayBuffer&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!==a(t.headers)||t.headers instanceof V?i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,z(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}fe.polyfill=!0,Q.fetch||(Q.fetch=fe,Q.Headers=V,Q.Request=ae,Q.Response=ce);var de,pe={User:{fetchUserInfoById:"/user/info",updateUserInfo:"/user/update",getBlackUserList:"/user/black/list",addToBlackUserList:"/user/black/add",removeFromBlacklist:"/user/black/remove"},Group:{create:"/group/create",update:"/group/edit",dissolve:"/group/dissolve",fetchGroupInfoById:"/group/get",list:"/group/list",transferLeader:"/group/transferLeader",addUser:"/group/user/add",leave:"/group/user/leave",remove:"/group/user/delete",memberList:"/group/user/list",adminstrator:"/group/user/set/adminstrator",applyList:"/group/user/apply/list",handleApply:"/group/user/apply/change",setMute:"/group/user/set/mute"},Conversation:{fetchConversationList:"/conversation/list",clearConversationUnread:"/conversation/update/unread",deleteConversation:"/conversation/delete"},Message:{sendMessage:"/message/save",fetchHistoryMessageList:"/v117/message/list",deleteMessage:"/message/delete",revokeMessage:"/message/revoke"},Friend:{fetchList:"/friend/list",fetchApplyList:"/friend/apply/list",setRead:"/friend/apply/set/read",acceptApply:"/friend/apply/accept",refuseApply:"/friend/apply/refuse",addFriend:"/friend/add",deleteFriend:"/friend/delete",updateFriend:"/friend/update"},Push:{bindClientId:"/user/bind/push/id"},Upload:{sign:"/upload/sign",normal:"/upload",image:"/upload/image",video:"/upload/video"}};function he(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new Promise((function(i,o){if(de.uni)e.request({url:de.defaults.baseURL+t,data:r,method:n,header:{"content-type":"application/json",token:null!=de.token?de.token:""},success:function(e){if(null==e.data)return o({code:p.NORMAL_ERROR.code,message:e.message?e.message:p.NORMAL_ERROR.describe,data:null});(e=e.data).code===p.NORMAL_SUCCESS.code?i(e.data?e.data:null):o(e)},fail:function(e){h(1,e),o({code:p.NORMAL_ERROR.code,message:JSON.stringify(e),data:null})}});else{var a={method:n,body:JSON.stringify(r),headers:{"Content-Type":"application/json",token:null!=de.token?de.token:""}};"GET"==n&&(t+=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",n=1>=arguments.length||void 0===arguments[1]||arguments[1]?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(t)&&(t="brackets");var i=function(n){var i=e[n];if(["",void 0,null].indexOf(i)>=0)return"continue";if(i.constructor===Array)switch(t){case"indices":for(var o=0;i.length>o;o++)r.push(n+"["+o+"]="+i[o]);break;case"brackets":default:i.forEach((function(e){r.push(n+"[]="+e)}));break;case"repeat":i.forEach((function(e){r.push(n+"="+e)}));break;case"comma":var a="";i.forEach((function(e){a+=(a?",":"")+e})),r.push(n+"="+a)}else r.push(n+"="+i)};for(var o in e)i(o);return r.length?n+r.join("&"):""}(r,!0),delete a.body),fe(de.defaults.baseURL+t,a).then(function(){var e=T(D.mark((function e(t){var n;return D.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:if(null!=(n=e.sent)){e.next=5;break}return e.abrupt("return",o({code:p.NORMAL_ERROR.code,message:n.message?n.message:p.NORMAL_ERROR.describe,data:null}));case 5:n.code===p.NORMAL_SUCCESS.code?i(n.data?n.data:null):o(n);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){h(1,e),o({code:p.NORMAL_ERROR.code,message:JSON.stringify(e.message),data:null})}))}}))}function ye(t){return e.uploadFile({url:t.url,name:t.name,formData:t.data,header:t.header,filePath:t.filePath,success:function(e){if(t.ignoreResult)m(t,p.NORMAL_SUCCESS.describe);else{null==e.data&&reject(null);var n=(e=JSON.parse(e.data)).code;n===p.NORMAL_SUCCESS.code?(console.log(111),console.log(e.data),m(t,p.NORMAL_SUCCESS.describe,e.data?e.data:null)):b(t,n,e.message)}},fail:function(e){h(1,e),b(t,p.NORMAL_ERROR.code,e)}})}function ge(t){return e.downloadFile({url:t.url,header:t.header,success:function(e){200===e.statusCode?m(t,p.NORMAL_SUCCESS.describe,e.tempFilePath):b(t,p.DOWNLOAD_ERROR.code,p.DOWNLOAD_ERROR.code.describe)},fail:function(e){h(1,e),b(t,p.DOWNLOAD_ERROR.code,p.DOWNLOAD_ERROR.code.describe)}})}function ve(){return me.apply(this,arguments)}function me(){return(me=T(D.mark((function e(){var t;return D.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,he(pe.Upload.sign,"GET",{});case 2:(t=e.sent).code?h(1,"媒体上传参数获取失败",!0):de.mediaUploadParams=t;case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(){var e=de.defaults.baseURL;return"cos"==de.mediaUploadParams.storage?e="https://".concat(de.mediaUploadParams.bucket,".cos.").concat(de.mediaUploadParams.region,".myqcloud.com"):"oss"==de.mediaUploadParams.storage&&(e="https://".concat(de.mediaUploadParams.bucket,".").concat(de.mediaUploadParams.region,".aliyuncs.com")),e}function Se(){return de.mediaUploadParams.customDomain?de.mediaUploadParams.customDomain:be()}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"files",n=e;if(!de.mediaUploadParams.baseDir&&"local"===!de.mediaUploadParams.storage)return n;var r=de.mediaUploadParams.baseDir,i=new Date,o=t+"/"+i.getFullYear()+"-"+JSON.stringify(i.getMonth()+1).padStart(2,0)+"-"+JSON.stringify(i.getDate()).padStart(2,0)+"/"+e;if("local"!==de.mediaUploadParams.storage){if("/"==r.substring(0,1)&&(r=r.substring(1)),"/"===r.substring(r.length-1,r.length)&&(r=r.substring(0,r.length)+r.substring(r.length+1)),!r)return o;n=r+"/"+o}else n=o;return n}function _e(e,t,n){return Ce.apply(this,arguments)}function Ce(){return(Ce=T(D.mark((function e(t,n,r){var i,o,a,s,c,u,l,f,d,p;return D.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=parseInt((new Date).getTime()/1e3)-1,de.mediaUploadParams&&de.mediaUploadParams.expireTime>=i){e.next=4;break}return e.next=4,ve();case 4:return s=de.mediaUploadParams.secretId,c=(o=de.mediaUploadParams.nowTime)+";"+(a=de.mediaUploadParams.expireTime),l=de.mediaUploadParams.signKey,f="sha1\n"+(u=o+";"+a)+"\n"+j.SHA1(t+"\n"+n+"\n\n"+r+"\n")+"\n",d=j.HmacSHA1(f,l),p="q-sign-algorithm=sha1&q-ak=".concat(s,"&q-sign-time=").concat(c,"&q-key-time=").concat(u,"&q-header-list=&q-url-param-list=&q-signature=").concat(d),e.abrupt("return",p);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Le(){return Pe.apply(this,arguments)}function Pe(){return(Pe=T(D.mark((function e(){var t;return D.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=parseInt((new Date).getTime()/1e3)-1,de.mediaUploadParams&&de.mediaUploadParams.expireTime>=t){e.next=4;break}return e.next=4,ve();case 4:return e.abrupt("return",de.mediaUploadParams);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Te(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!de.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=I((new Date).getTime()+"_"+e.filename)+"_other"+n,i=be(),o=Se()+"/"+xe(r);if("cos"===t.storage)setTimeout(T(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_e("post","/","");case 2:n=t.sent,a=ye({url:i,name:"file",data:{key:xe(r),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:o})},fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(T(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:i,name:"file",data:{key:xe(r),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:o})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:i+pe.Upload.normal,name:"file",data:{key:xe(r)},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}function we(e){if(!de.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=I((new Date).getTime()+"_"+e.filename)+"_image"+n,i=be(),o=Se()+"/"+xe(r,"image");if("cos"===t.storage)setTimeout(T(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_e("post","/","");case 2:n=t.sent,a=ye({url:i,name:"file",data:{key:xe(r,"image"),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){var t=0,n=0;if(e.height>198){var r=198/e.height;t=parseInt(e.height*r),n=parseInt(e.width*r)}else if(e.width>198){var i=198/e.width;t=parseInt(e.height*i),n=parseInt(e.width*i)}m(e,p.NORMAL_SUCCESS.describe,{url:o,thumbnailUrl:o+"?imageMogr2/thumbnail/"+n+"x"+t,thumbnailWidth:n,thumbnailHeight:t})},fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(T(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:i,name:"file",data:{key:xe(r,"image"),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){var t=0,n=0;if(e.height>198){var r=198/e.height;t=parseInt(e.height*r),n=parseInt(e.width*r)}else if(e.width>198){var i=198/e.width;t=parseInt(e.height*i),n=parseInt(e.width*i)}m(e,p.NORMAL_SUCCESS.describe,{url:o,thumbnailUrl:o+"?x-oss-process=image/resize,m_fixed,h_"+t+",w_"+n,thumbnailWidth:n,thumbnailHeight:t})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:i+pe.Upload.image,name:"file",data:{key:xe(r,"image")},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url,thumbnailUrl:Se()+t.data.thumbnailUrl,thumbnailWidth:t.data.thumbnailWidth,thumbnailHeight:t.data.thumbnailHeight})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}function Ye(e){return{conversationId:e.to,conversationType:e.conversationType,fromUserInfo:{nickname:de.user.nickname,avatarUrl:de.user.avatarUrl},from:de.userId,to:e.to,type:e.type,isRead:0,isRevoke:0,isDeleted:0,status:"unSend",time:(new Date).getTime(),body:e.body,extra:e.extra?e.extra:""}}function Ae(t){return de.uni?e.getStorageSync(t):localStorage.getItem(t)?JSON.parse(localStorage.getItem(t)):null}function Oe(t,n){de.uni?e.setStorageSync(t,n):localStorage.setItem(t,JSON.stringify(n))}function De(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.text)return v(p.PARAMS_ERROR.code,"text 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.TEXT,conversationType:e.conversationType,body:{text:e.body.text}};return e.extra&&(t.extra=e.extra),Ye(t)}function Me(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(e.conversationType!=d.CONVERSATION_TYPE.GROUP)return v(p.PARAMS_ERROR.code,"仅群聊支持文本@消息");if(!e.body||!e.body.text)return v(p.PARAMS_ERROR.code,"text 不能为空");if(!e.body.atUserIdList)return v(p.PARAMS_ERROR.code,"atUserIdList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.atUserIdList))return v(p.PARAMS_ERROR.code,"atUserIdList 应为用户ID组成的字符串数组");var t={to:e.toId,type:d.MESSAGE_TYPE.TEXT_AT,conversationType:e.conversationType,body:{text:e.body.text,atUserIdList:e.body.atUserIdList}};return e.extra&&(t.extra=e.extra),Ye(t)}function Ze(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.tempFilePath)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.width)return v(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.file.height)return v(p.PARAMS_ERROR.code,"height 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.IMAGE,conversationType:e.conversationType,body:{originalUrl:e.body.file.tempFilePath,originalWidth:e.body.file.width,originalHeight:e.body.file.height,thumbnailUrl:e.body.file.tempFilePath,thumbnailWidth:e.body.file.width,thumbnailHeight:e.body.file.height}};e.extra&&(t.extra=e.extra);var n=Ye(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function ke(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return v(p.PARAMS_ERROR.code,"body 不能为空");if(!e.body.originalUrl)return v(p.PARAMS_ERROR.code,"originalUrl 不能为空");if(!e.body.originalWidth)return v(p.PARAMS_ERROR.code,"originalWidth 不能为空");if(!e.body.originalHeight)return v(p.PARAMS_ERROR.code,"originalHeight 不能为空");if(!e.body.thumbnailUrl)return v(p.PARAMS_ERROR.code,"thumbnailUrl 不能为空");if(!e.body.thumbnailWidth)return v(p.PARAMS_ERROR.code,"thumbnailWidth 不能为空");if(!e.body.thumbnailHeight)return v(p.PARAMS_ERROR.code,"thumbnailHeight 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.IMAGE,conversationType:e.conversationType,body:{originalUrl:e.body.originalUrl,originalWidth:e.body.originalWidth,originalHeight:e.body.originalHeight,thumbnailUrl:e.body.thumbnailUrl,thumbnailWidth:e.body.thumbnailWidth,thumbnailHeight:e.body.thumbnailHeight}};return e.extra&&(t.extra=e.extra),Ye(t)}function Ee(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body.address)return v(p.PARAMS_ERROR.code,"address 不能为空");if(!e.body.description)return v(p.PARAMS_ERROR.code,"description 不能为空");if(!e.body.longitude)return v(p.PARAMS_ERROR.code,"longitude 不能为空");if(!e.body.latitude)return v(p.PARAMS_ERROR.code,"latitude 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.LOCATION,conversationType:e.conversationType,body:{address:e.body.address,description:e.body.description,longitude:e.body.longitude,latitude:e.body.latitude}};return e.extra&&(t.extra=e.extra),Ye(t)}function Re(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.tempFilePath)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.AUDIO,conversationType:e.conversationType,body:{audioUrl:e.body.file.tempFilePath,duration:e.body.file.duration}};e.extra&&(t.extra=e.extra);var n=Ye(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function Ne(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return v(p.PARAMS_ERROR.code,"body 不能为空");if(!e.body.audioUrl)return v(p.PARAMS_ERROR.code,"audioUrl 不能为空");if(!e.body.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.AUDIO,conversationType:e.conversationType,body:{audioUrl:e.body.audioUrl,duration:e.body.duration}};return e.extra&&(t.extra=e.extra),Ye(t)}function Xe(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");if("number"!=typeof e.body.file.duration)return v(p.PARAMS_ERROR.code,"duration 参数请传入整型");if(!e.body.file.tempFilePath)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.width)return v(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.file.height)return v(p.PARAMS_ERROR.code,"height 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.VIDEO,conversationType:e.conversationType,body:{videoUrl:e.body.file.tempFilePath,thumbnailUrl:"",duration:e.body.file.duration,videoWidth:e.body.file.width,videoHeight:e.body.file.height}};e.extra&&(t.extra=e.extra);var n=Ye(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function Ie(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");if("number"!=typeof e.body.duration)return v(p.PARAMS_ERROR.code,"duration 参数请传入整型");if(!e.body.videoUrl)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.width)return v(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.height)return v(p.PARAMS_ERROR.code,"height 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.VIDEO,conversationType:e.conversationType,body:{videoUrl:e.body.videoUrl,thumbnailUrl:e.body.thumbnailUrl,duration:e.body.duration,videoWidth:e.body.width,videoHeight:e.body.height}};return e.extra&&(t.extra=e.extra),Ye(t)}function Je(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.custom)return v(p.PARAMS_ERROR.code,"自定义消息的 body 和 body.custom 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.CUSTOM,conversationType:e.conversationType,body:{custom:e.body.custom}};return e.extra&&(t.extra=e.extra),Ye(t)}function Fe(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.title)return v(p.PARAMS_ERROR.code,"title 不能为空");if(!e.body.messageList)return v(p.PARAMS_ERROR.code,"messageList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.messageList))return v(p.PARAMS_ERROR.code,"messageList 应为由Message结构组成的数组");if(!e.body.summaryList)return v(p.PARAMS_ERROR.code,"summaryList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.summaryList))return v(p.PARAMS_ERROR.code,"summaryList 应为字符串数组");var t={to:e.toId,type:d.MESSAGE_TYPE.MERGER,conversationType:e.conversationType,body:{title:e.body.title,messageList:e.body.messageList,summaryList:e.body.summaryList}};return e.extra&&(t.extra=e.extra),Ye(t)}function Be(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.message)return v(p.PARAMS_ERROR.code,"message 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.FORWARD,conversationType:e.conversationType,body:{message:e.body.message}};return e.extra&&(t.extra=e.extra),Ye(t)}function He(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.message)return b(e,p.PARAMS_ERROR.code,"message 不能为空");var t=e.message;t.type==d.MESSAGE_TYPE.IMAGE?function(e){var t=e.message;(t.body.originalUrl.includes("http://")||t.body.originalUrl.includes("https://")||t.body.originalUrl.includes("ftp://"))&&(t.body.thumbnailUrl.includes("http://")||t.body.thumbnailUrl.includes("https://")||t.body.thumbnailUrl.includes("ftp://")),we({filename:de.token+"_image.png",filepath:t.body.originalUrl,width:t.body.originalWidth,height:t.body.originalHeight,success:function(n){console.log(666),console.log(n),t.body.originalUrl=n.data.url,t.body.thumbnailWidth=n.data.thumbnailWidth,t.body.thumbnailHeight=n.data.thumbnailHeight,t.body.thumbnailUrl=n.data.thumbnailUrl,e.message=t,Ge(e)},fail:function(t){b(e,t.code,t.message),h(1,t)},onProgress:function(e){void 0!==t.onProgress&&"function"==typeof t.onProgress&&t.onProgress(e)}})}(e):t.type==d.MESSAGE_TYPE.VIDEO?function(e){var t=e.message;if(t.body.videoUrl.includes("http://")||t.body.videoUrl.includes("https://")||t.body.videoUrl.includes("ftp://"))return Ge(e);!function(e){if(!de.mediaUploadParams)return h(1,"媒体上传参数获取失败",!0);var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=I((new Date).getTime()+"_"+e.filename)+"_video"+n,i=be(),o=Se()+"/"+xe(r,"video");if("cos"==t.storage)setTimeout(T(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_e("post","/","");case 2:n=t.sent,a=ye({url:i,name:"file",data:{key:xe(r,"video"),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){var t=T(D.mark((function t(){var n;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_e("get","/"+xe(r,"video"),"");case 2:n=t.sent,ge({url:i+"/"+xe(r,"video")+"?ci-process=snapshot&time=1",header:{Authorization:n},success:function(t){we({filename:I(r+t.data)+"_videoThumb.jpg",filepath:t.data,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{videoUrl:o,thumbnailUrl:t.data.url})},fail:function(t){b(e,p.NORMAL_ERROR.code,t)}})},fail:function(){b(e,p.COS_DOWNLOAD_ERROR_1.code,p.COS_DOWNLOAD_ERROR_1.describe)}});case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(T(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:i,name:"file",data:{key:xe(r,"video"),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{videoUrl:o,thumbnailUrl:o+"?x-oss-process=video/snapshot,t_1000,f_jpg,m_fast"})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:i+pe.Upload.video,name:"file",data:{key:xe(r,"video")},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}({filename:de.token+"_video.mp4",filepath:t.body.videoUrl,success:function(n){var r=n.data.thumbnailUrl;t.body.videoUrl=n.data.videoUrl,t.body.thumbnailUrl=r,e.message=t,Ge(e)},fail:function(t){b(e,t.code,t.message),h(1,t)},onProgress:function(e){void 0!==t.onProgress&&"function"==typeof t.onProgress&&t.onProgress(e)}})}(e):t.type==d.MESSAGE_TYPE.AUDIO?function(e){var t=e.message;if(t.body.audioUrl.includes("http://")||t.body.audioUrl.includes("https://")||t.body.audioUrl.includes("ftp://"))return Ge(e);!function(e){if(!de.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=I((new Date).getTime()+"_"+e.filename)+"_audio"+n,i=be(),o=Se()+"/"+xe(r,"audio");if("cos"===t.storage)setTimeout(T(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_e("post","/","");case 2:n=t.sent,a=ye({url:i,name:"file",data:{key:xe(r,"audio"),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:o})},fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(T(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:i,name:"file",data:{key:xe(r,"audio"),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:o})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:i+"/upload",name:"file",data:{key:xe(r,"audio")},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}({filename:de.token+"_audio.aac",filepath:t.body.audioUrl,success:function(n){t.body.audioUrl=n.data.url,e.message=t,Ge(e)},fail:function(t){b(e,t.code,t.message),h(1,t)},onProgress:function(e){void 0!==t.onProgress&&"function"==typeof t.onProgress&&t.onProgress(e)}})}(e):Ge(e)}function Ge(e){he(pe.Message.sendMessage,"POST",e.message).then((function(t){je(t),m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))}function je(e){if(!e.conversationId)return h(1,"conversationId 不能为空");var t=Ue(e.conversationId),n=t.findIndex((function(t){return t.messageId===e.messageId})),r="yeim:messageList:".concat(I(de.userId),":conversationId:").concat(I(e.conversationId));-1===n?(t.length>19&&t.splice(0,t.length-19),t.push(e),Oe(r,t)):(t[n]=e,Oe(r,t))}function Qe(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.conversationId)return b(e,p.PARAMS_ERROR.code,"conversationId 不能为空");var t=20;if(e.limit&&"number"==typeof e.limit&&(t=e.limit),e.nextMessageId){var n=e.nextMessageId,r=Ue(e.conversationId),i=r.findIndex((function(e){return e.messageId===n}));if(-1===i)We(e.conversationId,n,t).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message)}));else{var o=r[i];if(t>(r=r.slice(0,i)).length){var a=null;We(e.conversationId,a=0==r.length?o.messageId:r[0].messageId,t-r.length).then((function(t){var n=r.concat(t.list);n.sort((function(e,t){return e.sequence-t.sequence})),t.list=n,t.nextMessageId||(t.nextMessageId=a),m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message)}))}else m(e,p.NORMAL_SUCCESS.describe,{list:r,nextMessageId:r[0].messageId})}}else{var s=Ue(e.conversationId);if(t>s.length){var c=null;s.length>0&&(c=s[0].messageId),We(e.conversationId,c,t-s.length).then((function(t){var n=s.concat(t.list);n.sort((function(e,t){return e.sequence-t.sequence})),Oe("yeim:messageList:".concat(I(de.userId),":conversationId:").concat(I(e.conversationId)),n),t.list=n,t.nextMessageId||(t.nextMessageId=c),m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message)}))}else m(e,p.NORMAL_SUCCESS.describe,{list:s,nextMessageId:s[0].messageId})}}function We(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20;return new Promise((function(r,i){he(pe.Message.fetchHistoryMessageList,"GET",{nextMessageId:null==t||""==t?null:t,conversationId:e,limit:n}).then((function(e){var t={},n=e.records;(n=n.reverse()).sort((function(e,t){return e.sequence-t.sequence})),t.list=n,e.nextMessageId&&(t.nextMessageId=e.nextMessageId),r(t)})).catch((function(e){i(e)}))}))}function Ue(e){var t=Ae("yeim:messageList:".concat(I(de.userId),":conversationId:").concat(I(e)));return(t=t||[]).sort((function(e,t){return e.sequence-t.sequence})),t}function Ke(e){return de.checkLogged()?e.message?e.message.messageId?void he(pe.Message.deleteMessage,"GET",{messageId:e.message.messageId}).then((function(){e.message.isDeleted=1,je(e.message),m(e,p.NORMAL_SUCCESS.describe,e.message)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"message.messageId 不能为空"):b(e,p.PARAMS_ERROR.code,"message 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function $e(e){return de.checkLogged()?e.message?e.message.messageId?void he(pe.Message.revokeMessage,"GET",{messageId:e.message.messageId}).then((function(){e.message.isRevoke=1,je(e.message),m(e,p.NORMAL_SUCCESS.describe,e.message)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"message.messageId 不能为空"):b(e,p.PARAMS_ERROR.code,"message 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ze(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e)return v(p.PARAMS_ERROR.code,"conversationId 不能为空");var t=Ae("yeim:conversationList:".concat(I(de.userId))),n=(t=t||[]).findIndex((function(t){return t.conversationId===e}));return-1!==n?g(p.NORMAL_SUCCESS.describe,t[n]):v(p.NO_CONVERSATION.code,p.NO_CONVERSATION.describe)}function qe(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var t=e.page,n=e.limit,r=Ae("yeim:conversationList:".concat(I(de.userId))),i=(t-1)*n,o=(r=r||[]).slice(i,r.length>i+n?i+n:r.length);m(e,p.NORMAL_SUCCESS.describe,o)}function Ve(e){Oe("yeim:conversationList:".concat(I(de.userId)),e),_(d.EVENT.CONVERSATION_LIST_CHANGED,e)}function et(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var t="yeim:conversationList:".concat(I(de.userId)),n=Ae(t),r=(n=n||[]).findIndex((function(t){return t.conversationId===e}));-1!==r&&(n[r].unread=0,Oe(t,n)),he(pe.Conversation.clearConversationUnread,"GET",{conversationId:e}).then((function(){})).catch((function(e){h(1,e)})),_(d.EVENT.CONVERSATION_LIST_CHANGED,n)}function tt(t){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var n="yeim:conversationList:".concat(I(de.userId)),r=Ae(n),i=(r=r||[]).findIndex((function(e){return e.conversationId===t}));-1!==i&&(r.splice(i,1),Oe(n,r)),function(t){de.uni?e.removeStorageSync(t):localStorage.removeItem(t)}("yeim:messageList:".concat(I(de.userId),":conversationId:").concat(I(t))),he(pe.Conversation.deleteConversation,"GET",{conversationId:t}).then((function(){})).catch((function(e){h(1,e)})),_(d.EVENT.CONVERSATION_LIST_CHANGED,r)}function nt(e){return de.checkLogged()?e.name?e.avatarUrl?void he(pe.Group.create,"POST",e).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"avatarUrl 不能为空"):b(e,p.PARAMS_ERROR.code,"name 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function rt(e){return de.checkLogged()?e.groupId?void he(pe.Group.dissolve,"GET",{groupId:e.groupId}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function it(e){return de.checkLogged()?e.groupId?e.userId?void he(pe.Group.transferLeader,"GET",{groupId:e.groupId,userId:e.userId}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ot(e){return de.checkLogged()?e.groupId?void he(pe.Group.update,"POST",e).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function at(e){return de.checkLogged()?e.groupId?void he(pe.Group.fetchGroupInfoById,"GET",{groupId:e.groupId}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function st(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);he(pe.Group.list,"GET",{}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))}function ct(e){return de.checkLogged()?e.groupId?void he(pe.Group.addUser,"POST",{groupId:e.groupId,members:[de.userId]}).then((function(t){var n=t.group,r=t.successList;if(-1!=t.ignoreList.indexOf(de.userId))return b(e,p.GROUP_APPLY_REPEAT.code,p.GROUP_APPLY_REPEAT.describe);var i=!1;if(-1!=r.indexOf(de.userId)&&(i=!0),!i)return b(e,p.GROUP_APPLY_ERROR.code,p.GROUP_APPLY_ERROR.describe);if(n.joinMode==d.GROUP.JOINMODE.FREE)m(e,p.NORMAL_SUCCESS.code,"成功加入群组");else{if(n.joinMode!=d.GROUP.JOINMODE.CHECK)return b(e,p.NORMAL_ERROR.code,p.NORMAL_ERROR.describe);m(e,p.GROUP_APPLY_WAIT.code,p.GROUP_APPLY_WAIT.describe)}})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ut(e){return de.checkLogged()?e.groupId?void he(pe.Group.leave,"GET",{groupId:e.groupId}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function lt(e){return de.checkLogged()?e.groupId?e.members&&e.members.length>0?void he(pe.Group.addUser,"POST",{groupId:e.groupId,members:e.members}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ft(e){return de.checkLogged()?e.groupId?e.members&&e.members.length>0?void he(pe.Group.remove,"POST",{groupId:e.groupId,members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function dt(e){return de.checkLogged()?e.groupId?void he(pe.Group.memberList,"GET",{groupId:e.groupId}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function pt(e){return de.checkLogged()?e.groupId?void he(pe.Group.adminstrator,"GET",{groupId:e.groupId,userId:e.userId,isAdmin:1===isAdmin?isAdmin:0}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ht(e){return de.checkLogged()?e.groupId?void he(pe.Group.applyList,"GET",{}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function yt(e){return de.checkLogged()?e.id?e.status?void he(pe.Group.handleApply,"GET",{id:e.id,status:e.status}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"status 不能为空"):b(e,p.PARAMS_ERROR.code,"id 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function gt(e){return de.checkLogged()?e.groupId?e.userId?(e.time||(e.time=0),void he(pe.Group.setMute,"GET",{groupId:e.groupId,userId:e.userId,time:e.time}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function vt(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.userId)return b(e,p.PARAMS_ERROR.code,"userId 不能为空");var t="yeim:userList:".concat(I(de.userId));if(e.cloud)he(pe.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(n){var r=Ae(t);(r=r||[]).push(n),Oe(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}));else{var n=Ae(t),r=(n=n||[]).findIndex((function(t){return t.userId===e.userId}));-1!==r?(m(e,p.NORMAL_SUCCESS.describe,n[r]),he(pe.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(e){var n=Ae(t);(n=n||[])[r]=e,Oe(t,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))):he(pe.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(n){var r=Ae(t);(r=r||[]).push(n),Oe(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))}}function mt(e){return de.checkLogged()?Object.keys(e).length>0?void he(pe.User.updateUserInfo,"POST",e).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),log(1,t)})):b(e,p.PARAMS_ERROR.code,"请至少选择一个属性进行更新"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function bt(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);he(pe.User.getBlackUserList,"GET",{}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))}function St(e){return de.checkLogged()?e.members&&0!=e.members.length?void he(pe.User.addToBlackUserList,"POST",{members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),log(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function xt(e){return de.checkLogged()?e.members&&0!=e.members.length?void he(pe.User.removeFromBlacklist,"POST",{members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),log(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function _t(e){var t="yeim:friendList:".concat(I(de.userId)),n=e.page?e.page:1,r=e.limit?e.limit:20;if(e.cloud)he(pe.Friend.fetchList,"GET",{profile:e.profile?0:1,page:n,limit:r}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t.records)})).catch((function(t){b(e,t.code,t.message),h(1,t)}));else{var i=Ae(t),o=(n-1)*r;i=(i=i||[]).slice(o,i.length>o+r?o+r:i.length),m(e,p.NORMAL_SUCCESS.describe,i)}}function Ct(){_t({cloud:!0,page:1,limit:9999999,success:function(e){Oe("yeim:friendList:".concat(I(de.userId)),e.data),_(d.EVENT.FRIEND_LIST_CHANGED,e)},fail:function(){_(d.EVENT.FRIEND_LIST_CHANGED,null)}})}function Lt(){Pt({cloud:!0,type:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,page:1,limit:9999999,success:function(e){var t=e.data,n=t.records,r=t.unread,i="yeim:friendApplyList:".concat(I(de.userId)),o="yeim:friendApplyUnread:".concat(I(de.userId));Oe(i,n),Oe(o,r),_(d.EVENT.FRIEND_APPLY_LIST_CHANGED,e)},fail:function(){_(d.EVENT.FRIEND_APPLY_LIST_CHANGED,null)}})}function Pt(e){var t="yeim:friendApplyList:".concat(I(de.userId)),n="yeim:friendApplyUnread:".concat(I(de.userId)),r=e.page?e.page:1,i=e.limit?e.limit:20;if(e.cloud)he(pe.Friend.fetchApplyList,"GET",{type:e.type?e.type:0,page:r,limit:i}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,{records:t.apply.records,unread:t.unread})})).catch((function(t){b(e,t.code,t.message),h(1,t)}));else{var o=Ae(t),a=(r-1)*i;o=(o=o||[]).slice(a,o.length>a+i?a+i:o.length),m(e,p.NORMAL_SUCCESS.describe,{list:o,unread:Ae(n)?Ae(n):0})}}function Tt(e){he(pe.Friend.setRead,"GET",{}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))}function wt(e){return de.checkLogged()?e.id?void he(pe.Friend.acceptApply,"GET",{id:e.id,remark:e.remark?e.remark:null}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"id 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Yt(e){return de.checkLogged()?e.id?void he(pe.Friend.refuseApply,"GET",{id:e.id}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"id 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function At(e){return de.checkLogged()?e.userId?void he(pe.Friend.addFriend,"POST",{userId:e.userId,remark:e.remark?e.remark:null,extraMessage:e.extraMessage?e.extraMessage:null}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){t.code===p.APPLY_NEED.code?m(e,p.APPLY_NEED.describe,null,p.APPLY_NEED.code):(b(e,t.code,t.message),h(1,t))})):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Ot(e){return de.checkLogged()?e.members?void he(pe.Friend.deleteFriend,"POST",{members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Dt(e){return de.checkLogged()?e.userId?e.remark||e.extend?void he(pe.Friend.updateFriend,"POST",{userId:e.userId,remark:e.remark?e.remark:null,extend:e.extend?e.extend:null}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"请至少传入一个参数更新"):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zt(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.instance=de;var kt=function(){function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,n),this.defaults=Zt(Zt({baseURL:void 0,socketURL:void 0,eventPrefix:"YeIM_",reConnectTotal:15,reConnectInterval:3e3,heartInterval:3e4,logLevel:0},t),{},{notification:Zt({autoPermission:!1,oppoChannelId:"Default",xiaomiChannelId:"high_system"},t.notification)}),this.uni="undefined"!=typeof e,this.version="1.2.4",this.emitter=x(),this.firstConnect=!0,this.webSocket=void 0,this.socketLogged=!1,this.allowReconnect=!0,this.lockReconnect=!1,this.reConnectNum=0,this.connectTimer=void 0,this.heartTimer=void 0,this.checkTimer=void 0,this.user={},this.userId=void 0,this.token=void 0,this.mediaUploadParams={},this.mobileDeviceId=void 0,this.inApp=!0}return f(n,[{key:"connect",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!n.userId||!n.token)return b(n,p.NO_USERID.code,p.NO_USERID.describe);this.webSocket=new y(this.defaults.socketURL+"/"+n.userId+"/"+n.token),this.webSocket.onOpen(this.socketOpen.bind(this)),this.webSocket.onClose(this.socketClose.bind(this)),this.webSocket.onError(this.socketError.bind(this)),this.webSocket.onMessage(this.socketMessage.bind(this)),this.connectTimer&&(clearTimeout(this.connectTimer),this.connectTimer=void 0),this.connectTimer=setTimeout((function(){return t.connectTimer=void 0,h(1,"连接服务端失败,请检查配置"),b(n,p.CONNECT_ERROR.code,p.CONNECT_ERROR.describe)}),this.defaults.reConnectInterval+1e3),this.webSocket.onMessage((function(r){if(t.socketLogged)return clearTimeout(t.connectTimer),void(t.connectTimer=void 0);clearTimeout(t.connectTimer),t.connectTimer=void 0;var i,o=JSON.parse(r.data);if(201==o.code){var a=o.data.user;t.user=a,t.userId=n.userId,t.token=n.token;var s=o.data.pushConfig;if(s.oppoChannelId&&(t.defaults.notification.oppoChannelId=s.oppoChannelId),s.xiaomiChannelId&&(t.defaults.notification.xiaomiChannelId=s.xiaomiChannelId),t.socketLogged=!0,t.reConnectNum=0,h(1,"YeIMServer登陆成功,登陆用户:".concat(n.userId)),he(pe.Conversation.fetchConversationList,"GET",{page:1,limit:999999}).then((function(e){Ve(e.records)})).catch((function(e){h(1,e)})),Ct(),Lt(),ve(),t.uni){t.defaults.notification.autoPermission&&function(){var t=e.getSystemInfoSync();if("app"==t.uniPlatform&&"android"==t.osName){var n=plus.android.runtimeMainActivity(),r=n.getPackageName(),i=n.getApplicationInfo().plusGetAttribute("uid"),o=plus.android.importClass("android.support.v4.app.NotificationManagerCompat");null==o&&(o=plus.android.importClass("androidx.core.app.NotificationManagerCompat"));var a=o.from(n).areNotificationsEnabled(),s=e.getStorageSync("first_flag")||!1;a||s||(e.setStorageSync("first_flag",!0),e.showModal({title:"通知权限开启提醒",content:"您还没有开启通知权限,无法接受到消息通知,请前往设置!",showCancel:!1,confirmText:"去设置",success:function(e){if(e.confirm){var t=plus.android.importClass("android.content.Intent"),o=plus.android.importClass("android.os.Build");if(26>o.VERSION.SDK_INT)if(21>o.VERSION.SDK_INT){s.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);var a=Uri.fromParts("package",mainActivity.getPackageName(),null);s.setData(a)}else{var s;(s=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("app_package",r),s.putExtra("app_uid",i)}else(s=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("android.provider.extra.APP_PACKAGE",r);n.startActivity(s)}}}))}else if("app"==t.uniPlatform&&"ios"==t.osName){var c=0,u=plus.ios.invoke("UIApplication","sharedApplication"),l=plus.ios.invoke(u,"currentUserNotificationSettings");l?(c=l.plusGetAttribute("types"),plus.ios.deleteObject(l)):c=plus.ios.invoke(u,"enabledRemoteNotificationTypes"),plus.ios.deleteObject(u),0==(0!=c)&&e.showModal({title:"通知权限开启提醒",content:"您还没有开启通知权限,无法接受到消息通知,请前往设置!",showCancel:!1,confirmText:"去设置",success:function(e){if(e.confirm){var t=plus.ios.invoke("UIApplication","sharedApplication"),n=plus.ios.invoke("NSURL","URLWithString:","app-settings:");plus.ios.invoke(t,"openURL:",n),plus.ios.deleteObject(n),plus.ios.deleteObject(t)}}})}}(),function(){var t=e.getSystemInfoSync();if("app"==t.uniPlatform&&"android"==t.osName&&de.defaults.notification&&de.defaults.notification.oppoChannelId&&plus.android.importClass("android.os.Build").VERSION.SDK_INT>=26){var n=de.defaults.notification.oppoChannelId,r=plus.android.runtimeMainActivity(),i=plus.android.importClass("android.content.Context"),o=plus.android.importClass("android.app.NotificationManager"),a=r.getSystemService(i.NOTIFICATION_SERVICE),s=a.getNotificationChannel(n),c=plus.android.importClass("android.app.NotificationChannel"),u=plus.android.importClass("android.app.Notification");if(s&&a.deleteNotificationChannel(s),!s||null==s||"null"==s||null==s){var l=new c(n,"聊天离线通知",o.IMPORTANCE_HIGH);l.setDescription("用于用户离线时推送消息通知"),l.enableVibration(!0),l.enableLights(!0),l.setBypassDnd(!0),l.setLockscreenVisibility(u.VISIBILITY_SECRET),a.createNotificationChannel(l)}}}(),i=e.getSystemInfoSync(),de.checkLogged()&&"app"==i.uniPlatform&&plus.push.getClientInfoAsync((function(e){var t=e.clientid;t&&he(pe.Push.bindClientId,"GET",{clientId:t}).then((function(){h(0,"注册APP用户离线通知推送标识符成功,当前获取的cid为:"+t)})).catch((function(e){h(1,"注册APP用户离线通知推送标识符异常:"+e.message)}))}));var c=[];e.onPushMessage((function(n){if(!t.inApp&&"receive"==n.type){var r=n.data.__UUID__;c.indexOf(r)>0||(c.push(r),e.createPushMessage({title:n.data.title,content:n.data.content,sound:"system",success:function(){},fail:function(){}}))}}))}return m(n,p.NORMAL_SUCCESS.describe,a)}return b(n,p.LOGIN_ERROR.code,p.LOGIN_ERROR.describe)}))}},{key:"disConnect",value:function(){this.allowReconnect=!1,this.webSocket.close(),this.webSocket.destroy()}},{key:"reConnect",value:function(){var e=this;if(this.allowReconnect&&!this.lockReconnect){if(!this.userId||!this.token)return void(this.allowReconnect=!1);if(this.defaults.reConnectTotal>0&&this.reConnectNum>=this.defaults.reConnectTotal)return void(this.allowReconnect=!1);this.reConnectNum++,this.lockReconnect=!0,_(d.EVENT.NET_CHANGED,"connecting"),setTimeout((function(){h(1,"WebSocket 正在进行第".concat(e.reConnectNum,"次重连"));try{e.connect({userId:e.userId,token:e.token})}catch(e){console.log(e)}e.lockReconnect=!1}),this.defaults.reConnectInterval)}}},{key:"readyState",value:function(){return this.webSocket&&this.webSocket.socketTask?this.webSocket.socketTask.readyState:3}},{key:"startHeartTimer",value:function(){var e=this;this.clearHeartTimer(),this.webSocket&&this.webSocket.socketTask&&(this.heartTimer=setTimeout((function(){1==e.readyState()&&(e.webSocket.send({type:"heart",data:"ping"}),e.checkTimer=setTimeout((function(){e.webSocket.close()}),e.defaults.heartInterval))}),this.defaults.heartInterval))}},{key:"clearHeartTimer",value:function(){return clearTimeout(this.heartTimer),clearTimeout(this.checkTimer),this}},{key:"socketOpen",value:function(e){h(1,"WebSocket成功连接"),_(d.EVENT.NET_CHANGED,"connected")}},{key:"socketClose",value:function(e){h(1,"WebSocket断开连接"),this.socketLogged=!1,this.webSocket.close(),this.webSocket.destroy(),_(d.EVENT.NET_CHANGED,"closed"),this.reConnect()}},{key:"socketError",value:function(e){h(1,e),this.reConnect()}},{key:"socketMessage",value:function(e){if(h(0,e),this.startHeartTimer(),this.socketLogged){var t=JSON.parse(e.data);t?this.socketMessageHandle(t):h(1,e)}}},{key:"socketMessageHandle",value:function(e){if(200==e.code){var t=e.data;je(t),_(d.EVENT.MESSAGE_RECEIVED,t)}else 203==e.code?function(e){var t=Ae("yeim:conversationList:".concat(I(de.userId))),n=(t=t||[]).findIndex((function(t){return t.conversationId===e.conversationId}));-1===n||t.splice(n,1),t.unshift(e),Ve(t)}(e.data):205==e.code?function(e){if(!e)return h(1,"conversationId 为空,无法继续执行");var t="yeim:messageList:".concat(I(de.userId),":conversationId:").concat(I(e)),n=Ae(t);if(n=n||[]){for(var r=[],i=0;n.length>i;i++){var o=n[i];"out"==o.direction&&(o.isRead=1,n[i].isRead=1,r.push(o))}Oe(t,n),_(d.EVENT.PRIVATE_READ_RECEIPT,{conversationId:e,list:r})}}(e.data.conversationId):207==e.code?function(e){var t="yeim:messageList:".concat(I(de.userId),":conversationId:").concat(I(e.conversationId)),n=Ae(t)?Ae(t):[],r=(n=n||[]).findIndex((function(t){return t.messageId===e.messageId}));-1!==r&&(n[r]=e,Oe(t,n)),_(d.EVENT.MESSAGE_REVOKED,e)}(e.data):208==e.code?setTimeout((function(){Ct()}),500):209==e.code?setTimeout((function(){Lt()}),500):210==e.code?(_(d.EVENT.FRIEND_APPLY_REFUSE,e.data),setTimeout((function(){Lt(1)}),500)):10009==e.code&&(this.allowReconnect=!1,this.clearHeartTimer(),this.webSocket.close(),_(d.EVENT.KICKED_OUT,!0),h(1,"用户:".concat(this.userId," 由于多个实例同时登录被踢出")))}},{key:"checkLogged",value:function(){return!!(this.socketLogged&&this.userId&&this.token)}},{key:"intoApp",value:function(){this.inApp=!0}},{key:"leaveApp",value:function(){this.inApp=!1}}],[{key:"init",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"undefined"!=typeof e&&e.$YeIMInstance&&(t.instance=de=e.$YeIMInstance),de||(r.baseURL&&r.socketURL?(t.instance=de=new n(r),"undefined"!=typeof e&&(e.$YeIMInstance=de),n.prototype.createTextMessage=De,n.prototype.createTextAtMessage=Me,n.prototype.createImageMessage=Ze,n.prototype.createImageMessageFromUrl=ke,n.prototype.createAudioMessage=Re,n.prototype.createAudioMessageFromUrl=Ne,n.prototype.createVideoMessage=Xe,n.prototype.createVideoMessageFromUrl=Ie,n.prototype.createLocationMessage=Ee,n.prototype.createCustomMessage=Je,n.prototype.createMergerMessage=Fe,n.prototype.createForwardMessage=Be,n.prototype.upload=Te,n.prototype.sendMessage=He,n.prototype.getHistoryMessageList=Qe,n.prototype.revokeMessage=$e,n.prototype.deleteMessage=Ke,n.prototype.getConversation=ze,n.prototype.getConversationList=qe,n.prototype.clearConversationUnread=et,n.prototype.deleteConversation=tt,n.prototype.getUserInfo=vt,n.prototype.updateUserInfo=mt,n.prototype.getBlackUserList=bt,n.prototype.addToBlackUserList=St,n.prototype.removeFromBlacklist=xt,n.prototype.addEventListener=C,n.prototype.removeEventListener=L,n.prototype.createGroup=nt,n.prototype.dissolveGroup=rt,n.prototype.updateGroup=ot,n.prototype.getGroup=at,n.prototype.transferLeader=it,n.prototype.getGroupList=st,n.prototype.joinGroup=ct,n.prototype.leaveGroup=ut,n.prototype.addGroupUsers=lt,n.prototype.getGroupUserList=dt,n.prototype.removeGroupUsers=ft,n.prototype.setAdminstrator=pt,n.prototype.setMute=gt,n.prototype.getGroupApplyList=ht,n.prototype.handleApply=yt,n.prototype.getFriendList=_t,n.prototype.getFriendApplyList=Pt,n.prototype.setApplyListRead=Tt,n.prototype.acceptApply=wt,n.prototype.refuseApply=Yt,n.prototype.addFriend=At,n.prototype.deleteFriend=Ot,n.prototype.updateFriend=Dt,h(1,"============= YeIMUniSDK 初始化成功!版本号:"+de.version+" ============="),de):console.error(p.SDK_PARAMS_ERROR.describe))}},{key:"getInstance",value:function(){if("undefined"!=typeof e&&e.$YeIMInstance&&(t.instance=de=e.$YeIMInstance),de)return de;console.error("SDK未初始化,无法获取实例化对象")}}]),n}();t.YeIMUniSDK=kt}).call(this,n("df3c")["default"],n("0ee4"))},"265b":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({showToolbar:{type:Boolean,default:!0},title:{type:String,default:""},round:{type:[String,Number],default:0},columns:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1},itemHeight:{type:[String,Number],default:44},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确定"},cancelColor:{type:String,default:"#909193"},confirmColor:{type:String,default:"#3c9cff"},color:{type:String,default:""},activeColor:{type:String,default:""},visibleItemCount:{type:[String,Number],default:5},keyName:{type:String,default:"text"},closeOnClickOverlay:{type:Boolean,default:!0},closeOnClickConfirm:{type:Boolean,default:!0},defaultIndex:{type:Array,default:function(){return[]}},immediateChange:{type:Boolean,default:!0}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.picker)};t.default=c}).call(this,n("df3c")["default"])},"28d0":function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("a3fc")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"2d23":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({show:{type:Boolean,default:!0},showBorder:{type:Boolean,default:!1},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"},cancelColor:{type:String,default:"#909193"},confirmColor:{type:String,default:"#3c9cff"},title:{type:String,default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.toolbar)};t.default=c}).call(this,n("df3c")["default"])},"2ecb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.collection=function(e){return(0,r.request)({url:"/api/roomOperation/collection/".concat(e),method:"get"})},t.disableCollection=function(e){return(0,r.request)({url:"/api/roomOperation/collection/".concat(e),method:"delete"})},t.getCollectionHouseListByPage=function(e,t,n){return(0,r.request)({url:"/api/roomOperation/collection/".concat(e,"/").concat(t,"?coordinates=").concat(n),method:"get"})},t.getHouseDetailById=function(e){return(0,r.request)({url:"/api/projectItemTargetRoom/".concat(e),method:"get"})},t.getHouseEvaluateListByPage=function(e){return(0,r.request)({url:"/api/roomOperation/evaluate/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.getHouseListByPage=function(e){return(0,r.request)({url:"/api/projectItemTargetRoom/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.getOpenHouseListByPage=function(e){return(0,r.request)({url:"/api/projectItemTargetRoom/open/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.getReservationList=function(e){return(0,r.request)({url:"/api/roomOperation/reservation/list",method:"post",data:e})},t.getTagByCode=function(e){return(0,r.request)({url:"/api/tag/code/".concat(e),method:"post"})},t.getVisitorByQuery=function(e){return(0,r.request)({url:"/api/roomOperation/visitor/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.insertEvaluate=function(e){return(0,r.request)({url:"/api/roomOperation/evaluate",method:"post",data:e})},t.insertReservation=function(e){return(0,r.request)({url:"/api/roomOperation/reservation",method:"post",data:e})},t.insertVisitor=function(e){return(0,r.request)({url:"/api/roomOperation/visitor",method:"post",data:e})},t.search=function(e){return(0,r.request)({url:"/api/projectItemTargetRoom/query/".concat(e),method:"get"})};var r=n("8cf7")},"320f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function c(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var u=[],l=function(){function e(e){this.active=!0,this.effects=[],this.cleanups=[],this.vm=e}return e.prototype.run=function(e){if(this.active)try{return this.on(),e()}finally{this.off()}},e.prototype.on=function(){this.active&&(u.push(this),r=this)},e.prototype.off=function(){this.active&&(u.pop(),r=u[u.length-1])},e.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(e){return e.stop()})),this.cleanups.forEach((function(e){return e()})),this.active=!1)},e}(),f=function(e){function t(t){void 0===t&&(t=!1);var n,i=void 0;return function(e){var t=m;m=!1;try{(function(){i=F(S())})()}finally{m=t}}(),n=e.call(this,i)||this,t||function(e,t){var n;if((t=t||r)&&t.active)t.effects.push(e);else{var i=null===(n=C())||void 0===n?void 0:n.proxy;i&&i.$on("hook:destroyed",(function(){return e.stop()}))}}(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(l);function d(){return r}function p(){var e,t;return(null===(e=d())||void 0===e?void 0:e.vm)||(null===(t=C())||void 0===t?void 0:t.proxy)}var h=void 0;try{var y=n("3240");y&&b(y)?h=y:y&&"default"in y&&b(y.default)&&(h=y.default)}catch(i){}var g=null,v=null,m=!0;function b(e){return e&&I(e)&&"Vue"===e.name}function S(){return g}function x(){return g||h}function _(e){if(m){var t=v;null==t||t.scope.off(),null==(v=e)||v.scope.on()}}function C(){return v}var L=new WeakMap;function P(e){if(L.has(e))return L.get(e);var t={proxy:e,update:e.$forceUpdate,type:e.$options,uid:e._uid,emit:e.$emit.bind(e),parent:null,root:null};return function(e){if(!e.scope){var t=new l(e.proxy);e.scope=t,e.proxy.$on("hook:destroyed",(function(){return t.stop()}))}e.scope}(t),["data","props","attrs","refs","vnode","slots"].forEach((function(n){A(t,n,{get:function(){return e["$".concat(n)]}})})),A(t,"isMounted",{get:function(){return e._isMounted}}),A(t,"isUnmounted",{get:function(){return e._isDestroyed}}),A(t,"isDeactivated",{get:function(){return e._inactive}}),A(t,"emitted",{get:function(){return e._events}}),L.set(e,t),e.$parent&&(t.parent=P(e.$parent)),e.$root&&(t.root=P(e.$root)),t}function T(e){return"function"==typeof e&&/native code/.test(e.toString())}var w="undefined"!=typeof Symbol&&T(Symbol)&&"undefined"!=typeof Reflect&&T(Reflect.ownKeys),Y=function(e){return e};function A(e,t,n){var r=n.get,i=n.set;Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:r||Y,set:i||Y})}function O(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function D(e,t){return Object.hasOwnProperty.call(e,t)}function M(e){return Array.isArray(e)}var Z,k=Object.prototype.toString,E=function(e){return k.call(e)};function R(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)&&t<=4294967295}function N(e){return null!==e&&"object"==typeof e}function X(e){return"[object Object]"===function(e){return Object.prototype.toString.call(e)}(e)}function I(e){return"function"==typeof e}function J(e,t){return t||C()}function F(e,t){void 0===t&&(t={});var n=e.config.silent;e.config.silent=!0;var r=new e(t);return e.config.silent=n,r}function B(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e.$scopedSlots[t])return e.$scopedSlots[t].apply(e,n)}}function H(e){return w?Symbol.for(e):e}var G=H("composition-api.preFlushQueue"),j=H("composition-api.postFlushQueue"),Q="composition-api.refKey",W=new WeakMap,U=new WeakMap,K=new WeakMap;function $(e,t,n){var r=S().util;r.warn;var i=r.defineReactive,o=e.__ob__;function a(){o&&N(n)&&!D(n,"__ob__")&&fe(n)}if(M(e)){if(R(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),a(),n;if("length"===t&&n!==e.length)return e.length=n,null==o||o.dep.notify(),n}return t in e&&!(t in Object.prototype)?(e[t]=n,a(),n):e._isVue||o&&o.vmCount?n:o?(i(o.value,t,n),ue(e,t,n),a(),o.dep.notify(),n):(e[t]=n,n)}var z=!1;function q(e){z=e}var V=function(e){A(this,"value",{get:e.get,set:e.set})};function ee(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=new V(e);n&&(r.effect=!0);var i=Object.seal(r);return t&&K.set(i,!0),i}function te(e){var t;if(ne(e))return e;var n=he(((t={})[Q]=e,t));return ee({get:function(){return n[Q]},set:function(e){return n[Q]=e}})}function ne(e){return e instanceof V}function re(e){return ne(e)?e.value:e}function ie(e){if(!X(e))return e;var t={};for(var n in e)t[n]=oe(e,n);return t}function oe(e,t){t in e||$(e,t,void 0);var n=e[t];return ne(n)?n:ee({get:function(){return e[t]},set:function(n){return e[t]=n}})}function ae(e){var t;return Boolean(e&&D(e,"__ob__")&&"object"==typeof e.__ob__&&(null===(t=e.__ob__)||void 0===t?void 0:t.__v_skip))}function se(e){var t;return Boolean(e&&D(e,"__ob__")&&"object"==typeof e.__ob__&&!(null===(t=e.__ob__)||void 0===t?void 0:t.__v_skip))}function ce(e){if(!(!X(e)||ae(e)||M(e)||ne(e)||(t=e,n=S(),n&&t instanceof n)||W.has(e))){var t,n;W.set(e,!0);for(var r=Object.keys(e),i=0;i<r.length;i++)ue(e,r[i])}}function ue(e,t,n){if("__ob__"!==t&&!ae(e[t])){var r,i,o=Object.getOwnPropertyDescriptor(e,t);if(o){if(!1===o.configurable)return;r=o.get,i=o.set,r&&!i||2!==arguments.length||(n=e[t])}ce(n),A(e,t,{get:function(){var i=r?r.call(e):n;return t!==Q&&ne(i)?i.value:i},set:function(o){r&&!i||(t!==Q&&ne(n)&&!ne(o)?n.value=o:i?(i.call(e,o),n=o):n=o,ce(o))}})}}function le(e){var t,n=x();return t=n.observable?n.observable(e):F(n,{data:{$$state:e}})._data.$$state,D(t,"__ob__")||fe(t),t}function fe(e,t){var n,r;if(void 0===t&&(t=new Set),!t.has(e)&&!D(e,"__ob__")&&Object.isExtensible(e)){O(e,"__ob__",function(e){return void 0===e&&(e={}),{value:e,dep:{notify:Y,depend:Y,addSub:Y,removeSub:Y}}}(e)),t.add(e);try{for(var i=a(Object.keys(e)),o=i.next();!o.done;o=i.next()){var s=e[o.value];(X(s)||M(s))&&!ae(s)&&Object.isExtensible(s)&&fe(s,t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}function de(){return le({}).__ob__}function pe(e){var t,n;if(!N(e))return e;if(!X(e)&&!M(e)||ae(e)||!Object.isExtensible(e))return e;var r=le(M(e)?[]:{}),i=r.__ob__,o=function(t){var n,o,a=e[t],s=Object.getOwnPropertyDescriptor(e,t);if(s){if(!1===s.configurable)return"continue";n=s.get,o=s.set}A(r,t,{get:function(){var e;return null===(e=i.dep)||void 0===e||e.depend(),a},set:function(t){var r;n&&!o||(z||a!==t)&&(o?o.call(e,t):a=t,null===(r=i.dep)||void 0===r||r.notify())}})};try{for(var s=a(Object.keys(e)),c=s.next();!c.done;c=s.next())o(c.value)}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return r}function he(e){if(!N(e))return e;if(!X(e)&&!M(e)||ae(e)||!Object.isExtensible(e))return e;var t=le(e);return ce(t),t}function ye(e){return function(t,n){var r,i=J("on".concat((r=e)[0].toUpperCase()+r.slice(1)),n);return i&&function(e,t,n,r){var i=t.proxy.$options,o=e.config.optionMergeStrategies[n],a=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=C();_(e);try{return t.apply(void 0,c([],s(n),!1))}finally{_(i)}}}(t,r);return i[n]=o(i[n],a),a}(S(),i,e,t)}}var ge,ve=ye("beforeMount"),me=ye("mounted"),be=ye("beforeUpdate"),Se=ye("updated"),xe=ye("beforeDestroy"),_e=ye("destroyed"),Ce=ye("errorCaptured"),Le=ye("activated"),Pe=ye("deactivated"),Te=ye("serverPrefetch");function we(){Oe(this,G)}function Ye(){Oe(this,j)}function Ae(){var e=p();return e?function(e){return void 0!==e[G]}(e)||function(e){e[G]=[],e[j]=[],e.$on("hook:beforeUpdate",we),e.$on("hook:updated",Ye)}(e):(ge||(ge=F(S())),e=ge),e}function Oe(e,t){for(var n=e[t],r=0;r<n.length;r++)n[r]();n.length=0}function De(e,t,n){var r=function(){e.$nextTick((function(){e[G].length&&Oe(e,G),e[j].length&&Oe(e,j)}))};switch(n){case"pre":r(),e[G].push(t);break;case"post":r(),e[j].push(t);break;default:!function(e,t){throw new Error("[vue-composition-api] ".concat(t))}(0,'flush must be one of ["post", "pre", "sync"], but got '.concat(n))}}function Me(e,t){var n=e.teardown;e.teardown=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(e,r),t()}}function Ze(e,t,n,r){var i,o,a=r.flush,u="sync"===a,l=function(e){o=function(){try{e()}catch(e){!function(e,t,n){if("undefined"==typeof window||"undefined"==typeof console)throw e;console.error(e)}(e)}}},f=function(){o&&(o(),o=null)},d=function(t){return u||e===ge?t:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return De(e,(function(){t.apply(void 0,c([],s(n),!1))}),a)}};if(null===n){var p=!1,h=function(e,t,n,r){var i=e._watchers.length;return e.$watch(t,n,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),e._watchers[i]}(e,(function(){if(!p)try{p=!0,t(l)}finally{p=!1}}),Y,{deep:r.deep||!1,sync:u,before:f});Me(h,f),h.lazy=!1;var y=h.get.bind(h);return h.get=d(y),function(){h.teardown()}}var g,v=r.deep,m=!1;if(ne(t)?g=function(){return t.value}:se(t)?(g=function(){return t},v=!0):M(t)?(m=!0,g=function(){return t.map((function(e){return ne(e)?e.value:se(e)?Ee(e):I(e)?e():Y}))}):g=I(t)?t:Y,v){var b=g;g=function(){return Ee(b())}}var S=function(e,t){if(v||!m||!e.every((function(e,n){return r=e,i=t[n],r===i?0!==r||1/r==1/i:r!=r&&i!=i;var r,i})))return f(),n(e,t,l)},x=d(S);if(r.immediate){var _=x,C=function(e,t){return C=_,S(e,M(e)?[]:t)};x=function(e,t){return C(e,t)}}var L=e.$watch(g,x,{immediate:r.immediate,deep:v,sync:u}),P=e._watchers[e._watchers.length-1];return se(P.value)&&(null===(i=P.value.__ob__)||void 0===i?void 0:i.dep)&&v&&P.value.__ob__.dep.addSub({update:function(){P.run()}}),Me(P,f),function(){L()}}function ke(e,t){var n=function(e){return o({flush:"pre"},e)}(t);return Ze(Ae(),e,null,n)}function Ee(e,t){if(void 0===t&&(t=new Set),!N(e)||t.has(e)||U.has(e))return e;if(t.add(e),ne(e))Ee(e.value,t);else if(M(e))for(var n=0;n<e.length;n++)Ee(e[n],t);else if("[object Set]"===E(e)||function(e){return"[object Map]"===E(e)}(e))e.forEach((function(e){Ee(e,t)}));else if(X(e))for(var r in e)Ee(e[r],t);return e}var Re={};function Ne(e,t){for(var n=t;n;){if(n._provided&&D(n._provided,e))return n._provided[e];n=n.$parent}return Re}var Xe,Ie={},Je=function(e){var t;void 0===e&&(e="$style");var n=C();if(!n)return Ie;var r=null===(t=n.proxy)||void 0===t?void 0:t[e];return r||Ie},Fe=Je;function Be(){return C().setupContext}var He={set:function(e,t,n){(e.__composition_api_state__=e.__composition_api_state__||{})[t]=n},get:function(e,t){return(e.__composition_api_state__||{})[t]}};function Ge(e){var t=He.get(e,"rawBindings")||{};if(t&&Object.keys(t).length){for(var n=e.$refs,r=He.get(e,"refs")||[],i=0;i<r.length;i++){var o=t[c=r[i]];!n[c]&&o&&ne(o)&&(o.value=null)}var a=Object.keys(n),s=[];for(i=0;i<a.length;i++){var c;o=t[c=a[i]],n[c]&&o&&ne(o)&&(o.value=n[c],s.push(c))}He.set(e,"refs",s)}}function je(e){for(var t,n=[e._vnode];n.length;){var r=n.pop();if(r&&(r.context&&(Ge(r.context),t=!0),r.children))for(var i=0;i<r.children.length;++i)n.push(r.children[i])}t||Ge(e)}function Qe(e,t){var n,r;if(e){var i=He.get(e,"attrBindings");if(i||t){if(!i){var o=he({});i={ctx:t,data:o},He.set(e,"attrBindings",i),A(t,"attrs",{get:function(){return null==i?void 0:i.data},set:function(){}})}var s=e.$attrs,c=function(t){D(i.data,t)||A(i.data,t,{get:function(){return e.$attrs[t]}})};try{for(var u=a(Object.keys(s)),l=u.next();!l.done;l=u.next())c(l.value)}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}}}function We(e,t){var n=e.$options._parentVnode;if(n){for(var r=He.get(e,"slots")||[],i=function(e,t){var n;if(e){if(e._normalized)return e._normalized;for(var r in n={},e)e[r]&&"$"!==r[0]&&(n[r]=!0)}else n={};for(var r in t)r in n||(n[r]=!0);return n}(n.data.scopedSlots,e.$slots),o=0;o<r.length;o++)i[s=r[o]]||delete t[s];var a=Object.keys(i);for(o=0;o<a.length;o++){var s;t[s=a[o]]||(t[s]=B(e,s))}He.set(e,"slots",a)}}function Ue(e,t,n){var r=C();_(e);try{return t(e)}catch(e){if(!n)throw e;n(e)}finally{_(r)}}function Ke(e){e.mixin({beforeCreate:function(){var e=this,t=e.$options,n=t.setup,r=t.render;if(r&&(t.render=function(){for(var t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return Ue(P(e),(function(){return r.apply(t,n)}))}),n&&I(n)){var i=t.data;t.data=function(){return function(e,t){void 0===t&&(t={});var n,r=e.$options.setup,i=function(e){var t={slots:{}};return["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(n){var r="$".concat(n);A(t,n,{get:function(){return e[r]},set:function(){}})})),Qe(e,t),["emit"].forEach((function(n){var r="$".concat(n);A(t,n,{get:function(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e[r].apply(e,t)}}})})),t}(e),o=P(e);if(o.setupContext=i,O(t,"__ob__",de()),We(e,i.slots),Ue(o,(function(){n=r(t,i)})),n)if(I(n)){var a=n;e.$options.render=function(){return We(e,i.slots),Ue(o,(function(){return a()}))}}else if(N(n)){se(n)&&(n=ie(n)),He.set(e,"rawBindings",n);var s=n;Object.keys(s).forEach((function(t){var n=s[t];if(!ne(n))if(se(n))M(n)&&(n=te(n));else if(I(n)){var r=n;n=n.bind(e),Object.keys(r).forEach((function(e){n[e]=r[e]}))}else N(n)?function e(t,n){return void 0===n&&(n=new Map),n.has(t)?n.get(t):(n.set(t,!1),M(t)&&se(t)?(n.set(t,!0),!0):!(!X(t)||ae(t)||ne(t))&&Object.keys(t).some((function(r){return e(t[r],n)})))}(n)&&function e(t,n){if(void 0===n&&(n=new Set),!n.has(t)&&X(t)&&!ne(t)&&!se(t)&&!ae(t)){var r=S().util.defineReactive;Object.keys(t).forEach((function(i){var o=t[i];r(t,i,o),o&&(n.add(o),e(o,n))}))}}(n):n=te(n);!function(e,t,n){var r=e.$options.props;t in e||r&&D(r,t)||(ne(n)?A(e,t,{get:function(){return n.value},set:function(e){n.value=e}}):A(e,t,{get:function(){return se(n)&&n.__ob__.dep.depend(),n},set:function(e){n=e}}))}(e,t,n)}))}}(e,e.$props),I(i)?i.call(e,e):i||{}}}},mounted:function(){je(this)},beforeUpdate:function(){Qe(this)},updated:function(){je(this)}})}function $e(e){(function(e){return g&&D(e,"__composition_api_installed__")})(e)||(e.config.optionMergeStrategies.setup=function(e,t){return function(n,r){return function e(t,n){if(!t)return n;if(!n)return t;for(var r,i,o,a=w?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(r=a[s])&&(i=n[r],o=t[r],D(n,r)?i!==o&&X(i)&&!ne(i)&&X(o)&&!ne(o)&&e(o,i):n[r]=o);return n}(I(e)?e(n,r)||{}:void 0,I(t)?t(n,r)||{}:void 0)}},function(e){g=e,Object.defineProperty(e,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(e),Ke(e))}var ze={install:function(e){return $e(e)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(ze),t.EffectScope=f,t.computed=function(e){var t,n,r,i,o=p();if(I(e)?t=e:(t=e.get,n=e.set),o&&!o.$isServer){var a,s=function(){if(!Z){var e=F(S(),{computed:{value:function(){return 0}}}),t=e._computedWatchers.value.constructor,n=e._data.__ob__.dep.constructor;Z={Watcher:t,Dep:n},e.$destroy()}return Z}(),c=s.Watcher,u=s.Dep;i=function(){return a||(a=new c(o,t,Y,{lazy:!0})),a.dirty&&a.evaluate(),u.target&&a.depend(),a.value},r=function(e){n&&n(e)}}else{var l=F(S(),{computed:{$$state:{get:t,set:n}}});o&&o.$on("hook:destroyed",(function(){return l.$destroy()})),i=function(){return l.$$state},r=function(e){l.$$state=e}}return ee({get:i,set:r},!n,!0)},t.createApp=function(e,t){void 0===t&&(t=void 0);var n=S(),r=void 0,i={},a={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(e,t){return i[e]=t,this},directive:function(e,t){return t?(n.directive(e,t),a):n.directive(e)},mount:function(a,s){return r||((r=new n(o(o({propsData:t},e),{provide:o(o({},i),e.provide)}))).$mount(a,s),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}};return a},t.createLifeCycle=ye,t.createRef=ee,t.customRef=function(e){var t=te(0);return ee(e((function(){t.value}),(function(){++t.value})))},t.default=ze,t.defineAsyncComponent=function(e){I(e)&&(e={loader:e});var t=e.loader,n=e.loadingComponent,r=e.errorComponent,i=e.delay,o=void 0===i?200:i,a=e.timeout;e.suspensible;var s=e.onError,c=null,u=0,l=function(){var e;return c||(e=c=t().catch((function(e){if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise((function(t,n){s(e,(function(){return t((u++,c=null,l()))}),(function(){return n(e)}),u+1)}));throw e})).then((function(t){return e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),t)})))};return function(){return{component:l(),delay:o,timeout:a,error:r,loading:n}}},t.defineComponent=function(e){return e},t.del=function(e,t){if(S().util.warn,M(e)&&R(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||D(e,t)&&(delete e[t],n&&n.dep.notify())}},t.effectScope=function(e){return new f(e)},t.getCurrentInstance=C,t.getCurrentScope=d,t.h=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=(null==this?void 0:this.proxy)||(null===(e=C())||void 0===e?void 0:e.proxy);return r?r.$createElement.apply(r,t):(Xe||(Xe=F(S()).$createElement),Xe.apply(Xe,t))},t.inject=function(e,t,n){var r;void 0===n&&(n=!1);var i=null===(r=C())||void 0===r?void 0:r.proxy;if(i){if(!e)return t;var o=Ne(e,i);return o!==Re?o:arguments.length>1?n&&I(t)?t():t:void 0}},t.isRaw=ae,t.isReactive=se,t.isReadonly=function(e){return K.has(e)},t.isRef=ne,t.markRaw=function(e){if(!X(e)&&!M(e)||!Object.isExtensible(e))return e;var t=de();return t.__v_skip=!0,O(e,"__ob__",t),U.set(e,!0),e},t.nextTick=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return null===(e=S())||void 0===e?void 0:e.nextTick.apply(this,t)},t.onActivated=Le,t.onBeforeMount=ve,t.onBeforeUnmount=xe,t.onBeforeUpdate=be,t.onDeactivated=Pe,t.onErrorCaptured=Ce,t.onMounted=me,t.onScopeDispose=function(e){r&&r.cleanups.push(e)},t.onServerPrefetch=Te,t.onUnmounted=_e,t.onUpdated=Se,t.provide=function(e,t){var n,r=null===(n=J())||void 0===n?void 0:n.proxy;if(r){if(!r._provided){var i={};A(r,"_provided",{get:function(){return i},set:function(e){return Object.assign(i,e)}})}r._provided[e]=t}},t.proxyRefs=function(e){var t,n,r;if(se(e))return e;var i=he(((t={})[Q]=e,t));O(i,Q,i[Q],!1);var o=function(e){A(i,e,{get:function(){return ne(i[Q][e])?i[Q][e].value:i[Q][e]},set:function(t){if(ne(i[Q][e]))return i[Q][e].value=re(t);i[Q][e]=re(t)}})};try{for(var s=a(Object.keys(e)),c=s.next();!c.done;c=s.next())o(c.value)}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return i},t.reactive=he,t.readonly=function(e){return K.set(e,!0),e},t.ref=te,t.set=$,t.shallowReactive=pe,t.shallowReadonly=function(e){var t,n;if(!N(e))return e;if(!X(e)&&!M(e)||!Object.isExtensible(e)&&!ne(e))return e;var r=ne(e)?new V({}):se(e)?le({}):{},i=he({}).__ob__,o=function(t){var n,o=e[t],a=Object.getOwnPropertyDescriptor(e,t);if(a){if(!1===a.configurable&&!ne(e))return"continue";n=a.get}A(r,t,{get:function(){var t=n?n.call(e):o;return i.dep.depend(),t},set:function(e){}})};try{for(var s=a(Object.keys(e)),c=s.next();!c.done;c=s.next())o(c.value)}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return K.set(r,!0),r},t.shallowRef=function(e){var t;if(ne(e))return e;var n=pe(((t={})[Q]=e,t));return ee({get:function(){return n[Q]},set:function(e){return n[Q]=e}})},t.toRaw=function(e){var t;return ae(e)||!Object.isExtensible(e)?e:(null===(t=null==e?void 0:e.__ob__)||void 0===t?void 0:t.value)||e},t.toRef=oe,t.toRefs=ie,t.triggerRef=function(e){ne(e)&&(q(!0),e.value=e.value,q(!1))},t.unref=re,t.useAttrs=function(){return Be().attrs},t.useCSSModule=Fe,t.useCssModule=Je,t.useSlots=function(){return Be().slots},t.version="1.7.0",t.warn=function(e){var t,n,r,i;n=e,r=null===(t=C())||void 0===t?void 0:t.proxy,(i=x())&&i.util?i.util.warn(n,r):console.warn("[vue-composition-api] ".concat(n))},t.watch=function(e,t,n){var r=null;I(t)?r=t:(n=t,r=null);var i=function(e){return o({immediate:!1,deep:!1,flush:"pre"},e)}(n);return Ze(Ae(),e,r,i)},t.watchEffect=ke,t.watchPostEffect=function(e){return ke(e,{flush:"post"})},t.watchSyncEffect=function(e){return ke(e,{flush:"sync"})}},3223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],i=["lanDebug","router","worklet"],o="undefined"!==typeof globalThis?globalThis:function(){return this}(),a=["w","x"].join(""),s=o[a],c=s.getLaunchOptionsSync?s.getLaunchOptionsSync():null;function u(e){return(!c||1154!==c.scene||!i.includes(e))&&(r.indexOf(e)>-1||"function"===typeof s[e])}o[a]=function(){var e={};for(var t in s)u(t)&&(e[t]=s[t]);return e}(),o[a].canIUse("getAppBaseInfo")||(o[a].getAppBaseInfo=o[a].getSystemInfoSync),o[a].canIUse("getWindowInfo")||(o[a].getWindowInfo=o[a].getSystemInfoSync),o[a].canIUse("getDeviceInfo")||(o[a].getDeviceInfo=o[a].getSystemInfoSync);var l=o[a];t.default=l},3240:function(e,t,n){"use strict";n.r(t),function(e){
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2024 Evan You
- * Released under the MIT License.
- */
- var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}h("slot,component",!0);var y=h("key,ref,slot,slot-scope,is");function g(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var v=Object.prototype.hasOwnProperty;function m(e,t){return v.call(e,t)}function b(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var S=/-(\w)/g,x=b((function(e){return e.replace(S,(function(e,t){return t?t.toUpperCase():""}))})),_=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,L=b((function(e){return e.replace(C,"-$1").toLowerCase()}));var P=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function w(e,t){for(var n in t)e[n]=t[n];return e}function Y(e){for(var t={},n=0;n<e.length;n++)e[n]&&w(t,e[n]);return t}function A(e,t,n){}var O=function(e,t,n){return!1},D=function(e){return e};function M(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return M(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every((function(n){return M(e[n],t[n])}))}catch(u){return!1}}function Z(e,t){for(var n=0;n<e.length;n++)if(M(e[n],t))return n;return-1}function k(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var E=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],N={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:A,parsePlatformTagName:D,mustUseProp:O,async:!0,_lifecycleHooks:R},X=/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 I(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function J(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var F=new RegExp("[^"+X.source+".$_\\d]");var B,H="__proto__"in{},G="undefined"!==typeof window,j="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Q=j&&WXEnvironment.platform.toLowerCase(),W=G&&window.navigator&&window.navigator.userAgent.toLowerCase(),U=W&&/msie|trident/.test(W),K=(W&&W.indexOf("msie 9.0"),W&&W.indexOf("edge/")>0),$=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===Q),z=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/),{}.watch);if(G)try{var q={};Object.defineProperty(q,"passive",{get:function(){}}),window.addEventListener("test-passive",null,q)}catch(Nn){}var V=function(){return void 0===B&&(B=!G&&!j&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),B},ee=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!==typeof Set&&te(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 ie=A,oe=0,ae=function(){this.id=oe++,this.subs=[]};function se(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function ce(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){g(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},ae.SharedObject={},ae.SharedObject.target=null,ae.SharedObject.targetStack=[];var ue=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},le={child:{configurable:!0}};le.child.get=function(){return this.componentInstance},Object.defineProperties(ue.prototype,le);var fe=function(e){void 0===e&&(e="");var t=new ue;return t.text=e,t.isComment=!0,t};function de(e){return new ue(void 0,void 0,void 0,String(e))}var pe=Array.prototype,he=Object.create(pe);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=pe[e];J(he,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var ye=Object.getOwnPropertyNames(he),ge=!0;function ve(e){ge=e}var me=function(e){this.value=e,this.dep=new ae,this.vmCount=0,J(e,"__ob__",this),Array.isArray(e)?(H?e.push!==e.__proto__.push?be(e,he,ye):function(e,t){e.__proto__=t}(e,he):be(e,he,ye),this.observeArray(e)):this.walk(e)};function be(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];J(e,o,t[o])}}function Se(e,t){var n;if(s(e)&&!(e instanceof ue))return m(e,"__ob__")&&e.__ob__ instanceof me?n=e.__ob__:!ge||V()||!Array.isArray(e)&&!u(e)||!Object.isExtensible(e)||e._isVue||e.__v_isMPComponent||(n=new me(e)),t&&n&&n.vmCount++,n}function xe(e,t,n,r,i){var o=new ae,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var u=!i&&Se(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ae.SharedObject.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Le(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!c||(c?c.call(e,t):n=t,u=!i&&Se(t),o.notify())}})}}function _e(e,t,n){if(Array.isArray(e)&&l(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(xe(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Ce(e,t){if(Array.isArray(e)&&l(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||m(e,t)&&(delete e[t],n&&n.dep.notify())}}function Le(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Le(t)}me.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)xe(e,t[n])},me.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Se(e[t])};var Pe=N.optionMergeStrategies;function Te(e,t){if(!t)return e;for(var n,r,i,o=re?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)n=o[a],"__ob__"!==n&&(r=e[n],i=t[n],m(e,n)?r!==i&&u(r)&&u(i)&&Te(r,i):_e(e,n,i));return e}function we(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,i="function"===typeof e?e.call(n,n):e;return r?Te(r,i):i}:t?e?function(){return Te("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Ye(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ae(e,t,n,r){var i=Object.create(e||null);return t?w(i,t):i}Pe.data=function(e,t,n){return n?we(e,t,n):t&&"function"!==typeof t?e:we(e,t)},R.forEach((function(e){Pe[e]=Ye})),E.forEach((function(e){Pe[e+"s"]=Ae})),Pe.watch=function(e,t,n,r){if(e===z&&(e=void 0),t===z&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in w(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Pe.props=Pe.methods=Pe.inject=Pe.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return w(i,e),t&&w(i,t),i},Pe.provide=we;var Oe=function(e,t){return void 0===t?e:t};function De(e,t,n){if("function"===typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o,a={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=x(i),a[o]={type:null})}else if(u(n))for(var s in n)i=n[s],o=x(s),a[o]=u(i)?i:{type:i};else 0;e.props=a}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var o in n){var a=n[o];r[o]=u(a)?w({from:o},a):{from:a}}else 0}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"===typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=De(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=De(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)m(e,o)||s(o);function s(r){var i=Pe[r]||Oe;a[r]=i(e[r],t[r],n,r)}return a}function Me(e,t,n,r){if("string"===typeof n){var i=e[t];if(m(i,n))return i[n];var o=x(n);if(m(i,o))return i[o];var a=_(o);if(m(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function Ze(e,t,n,r){var i=t[e],o=!m(n,e),a=n[e],s=Re(Boolean,i.type);if(s>-1)if(o&&!m(i,"default"))a=!1;else if(""===a||a===L(e)){var c=Re(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!m(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"===typeof r&&"Function"!==ke(t.type)?r.call(e):r}(r,i,e);var u=ge;ve(!0),Se(a),ve(u)}return a}function ke(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ee(e,t){return ke(e)===ke(t)}function Re(e,t){if(!Array.isArray(t))return Ee(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Ee(t[n],e))return n;return-1}function Ne(e,t,n){se();try{if(t){var r=t;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,e,t,n);if(a)return}catch(Nn){Ie(Nn,r,"errorCaptured hook")}}}Ie(e,t,n)}finally{ce()}}function Xe(e,t,n,r,i){var o;try{o=n?e.apply(t,n):e.call(t),o&&!o._isVue&&f(o)&&!o._handled&&(o.catch((function(e){return Ne(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(Nn){Ne(Nn,r,i)}return o}function Ie(e,t,n){if(N.errorHandler)try{return N.errorHandler.call(null,e,t,n)}catch(Nn){Nn!==e&&Je(Nn,null,"config.errorHandler")}Je(e,t,n)}function Je(e,t,n){if(!G&&!j||"undefined"===typeof console)throw e;console.error(e)}var Fe,Be=[],He=!1;function Ge(){He=!1;var e=Be.slice(0);Be.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&te(Promise)){var je=Promise.resolve();Fe=function(){je.then(Ge),$&&setTimeout(A)}}else if(U||"undefined"===typeof MutationObserver||!te(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Fe="undefined"!==typeof setImmediate&&te(setImmediate)?function(){setImmediate(Ge)}:function(){setTimeout(Ge,0)};else{var Qe=1,We=new MutationObserver(Ge),Ue=document.createTextNode(String(Qe));We.observe(Ue,{characterData:!0}),Fe=function(){Qe=(Qe+1)%2,Ue.data=String(Qe)}}function Ke(e,t){var n;if(Be.push((function(){if(e)try{e.call(t)}catch(Nn){Ne(Nn,t,"nextTick")}else n&&n(t)})),He||(He=!0,Fe()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var $e=new ne;function ze(e){(function e(t,n){var r,i,o=Array.isArray(t);if(!o&&!s(t)||Object.isFrozen(t)||t instanceof ue)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o){r=t.length;while(r--)e(t[r],n)}else{i=Object.keys(t),r=i.length;while(r--)e(t[i[r]],n)}})(e,$e),$e.clear()}var qe=b((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function Ve(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return Xe(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Xe(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function et(e,t,n,o){var a=t.options.mpOptions&&t.options.mpOptions.properties;if(r(a))return n;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,u=e.props;if(i(c)||i(u))for(var l in a){var f=L(l),d=tt(n,u,l,f,!0)||tt(n,c,l,f,!1);d&&n[l]&&-1!==s.indexOf(f)&&o[x(n[l])]&&(n[l]=o[x(n[l])])}return n}function tt(e,t,n,r,o){if(i(t)){if(m(t,n))return e[n]=t[n],o||delete t[n],!0;if(m(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function nt(e){return a(e)?[de(e)]:Array.isArray(e)?function e(t,n){var s,c,u,l,f=[];for(s=0;s<t.length;s++)c=t[s],r(c)||"boolean"===typeof c||(u=f.length-1,l=f[u],Array.isArray(c)?c.length>0&&(c=e(c,(n||"")+"_"+s),rt(c[0])&&rt(l)&&(f[u]=de(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?rt(l)?f[u]=de(l.text+c):""!==c&&f.push(de(c)):rt(c)&&rt(l)?f[u]=de(l.text+c.text):(o(t._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function rt(e){return i(e)&&i(e.text)&&function(e){return!1===e}(e.isComment)}function it(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function ot(e){var t=at(e.$options.inject,e);t&&(ve(!1),Object.keys(t).forEach((function(n){xe(e,n,t[n])})),ve(!0))}function at(e,t){if(e){for(var n=Object.create(null),r=re?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=e[o].from,s=t;while(s){if(s._provided&&m(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var c=e[o].default;n[o]="function"===typeof c?c.call(t):c}else 0}}return n}}function st(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)o.asyncMeta&&o.asyncMeta.data&&"page"===o.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(o):(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(ct)&&delete n[u];return n}function ct(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ut(e,t,r){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=lt(t,c,e[c]))}else i={};for(var u in t)u in i||(i[u]=ft(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),J(i,"$stable",a),J(i,"$key",s),J(i,"$hasNormal",o),i}function lt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:nt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function ft(e,t){return function(){return e[t]}}function dt(e,t){var n,r,o,a,c;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r,r,r);else if("number"===typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r,r,r);else if(s(e))if(re&&e[Symbol.iterator]){n=[];var u=e[Symbol.iterator](),l=u.next();while(!l.done)n.push(t(l.value,n.length,r,r++)),l=u.next()}else for(a=Object.keys(e),n=new Array(a.length),r=0,o=a.length;r<o;r++)c=a[r],n[r]=t(e[c],c,r,r);return i(n)||(n=[]),n._isVList=!0,n}function pt(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=w(w({},r),n)),i=o(n,this,n._i)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function ht(e){return Me(this.$options,"filters",e)||D}function yt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function gt(e,t,n,r,i){var o=N.keyCodes[t]||n;return i&&r&&!N.keyCodes[t]?yt(i,r):o?yt(o,e):r?L(r)!==t:void 0}function vt(e,t,n,r,i){if(n)if(s(n)){var o;Array.isArray(n)&&(n=Y(n));var a=function(a){if("class"===a||"style"===a||y(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||N.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=x(a),u=L(a);if(!(c in o)&&!(u in o)&&(o[a]=n[a],i)){var l=e.on||(e.on={});l["update:"+a]=function(e){n[a]=e}}};for(var c in n)a(c)}else;return e}function mt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),St(r,"__static__"+e,!1)),r}function bt(e,t,n){return St(e,"__once__"+t+(n?"_"+n:""),!0),e}function St(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&xt(e[r],t+"_"+r,n);else xt(e,t,n)}function xt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function _t(e,t){if(t)if(u(t)){var n=e.on=e.on?w({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function Ct(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?Ct(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function Lt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Pt(e,t){return"string"===typeof e?t+e:e}function Tt(e){e._o=bt,e._n=p,e._s=d,e._l=dt,e._t=pt,e._q=M,e._i=Z,e._m=mt,e._f=ht,e._k=gt,e._b=vt,e._v=de,e._e=fe,e._u=Ct,e._g=_t,e._d=Lt,e._p=Pt}function wt(e,t,r,i,a){var s,c=this,u=a.options;m(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var l=o(u._compiled),f=!l;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=at(u.inject,i),this.slots=function(){return c.$slots||ut(e.scopedSlots,c.$slots=st(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ut(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ut(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,n,r){var o=kt(s,e,t,n,r,f);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(e,t,n,r){return kt(s,e,t,n,r,f)}}function Yt(e,t,n,r,i){var o=function(e){var t=new ue(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}(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function At(e,t){for(var n in t)e[x(n)]=t[n]}Tt(wt.prototype);var Ot={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ot.prepatch(n,n)}else{var r=e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Ht);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions,i=t.componentInstance=e.componentInstance;(function(e,t,r,i,o){0;var a=i.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||c);e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i);if(e.$options._renderChildren=o,e.$attrs=i.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){ve(!1);for(var l=e._props,f=e.$options._propKeys||[],d=0;d<f.length;d++){var p=f[d],h=e.$options.props;l[p]=Ze(p,h,t,e)}ve(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),r=r||n;var y=e.$options._parentListeners;e.$options._parentListeners=r,Bt(e,r,y),u&&(e.$slots=st(o,i.context),e.$forceUpdate());0})(i,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(Qt(n,"onServiceCreated"),Qt(n,"onServiceAttached"),n._isMounted=!0,Qt(n,"mounted")),e.data.keepAlive&&(t._isMounted?function(e){e._inactive=!1,Ut.push(e)}(n):jt(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Gt(t)))return;if(!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);Qt(t,"deactivated")}}(t,!0):t.$destroy())}},Dt=Object.keys(Ot);function Mt(e,t,a,c,u){if(!r(e)){var l=a.$options._base;if(s(e)&&(e=l.extend(e)),"function"===typeof e){var d;if(r(e.cid)&&(d=e,e=function(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=Rt;n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var a=e.owners=[n],c=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return g(a,n)}));var d=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},p=k((function(n){e.resolved=Nt(n,t),c?a.length=0:d(!0)})),h=k((function(t){i(e.errorComp)&&(e.error=!0,d(!0))})),y=e(p,h);return s(y)&&(f(y)?r(e.resolved)&&y.then(p,h):f(y.component)&&(y.component.then(p,h),i(y.error)&&(e.errorComp=Nt(y.error,t)),i(y.loading)&&(e.loadingComp=Nt(y.loading,t),0===y.delay?e.loading=!0:u=setTimeout((function(){u=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))}),y.delay||200)),i(y.timeout)&&(l=setTimeout((function(){l=null,r(e.resolved)&&h(null)}),y.timeout)))),c=!1,e.loading?e.loadingComp:e.resolved}}(d,l),void 0===e))return function(e,t,n,r,i){var o=fe();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(d,t,a,c,u);t=t||{},hn(e),i(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[r],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}(e.options,t);var p=function(e,t,n,o){var a=t.options.props;if(r(a))return et(e,t,{},o);var s={},c=e.attrs,u=e.props;if(i(c)||i(u))for(var l in a){var f=L(l);tt(s,u,l,f,!0)||tt(s,c,l,f,!1)}return et(e,t,s,o)}(t,e,0,a);if(o(e.options.functional))return function(e,t,r,o,a){var s=e.options,c={},u=s.props;if(i(u))for(var l in u)c[l]=Ze(l,u,t||n);else i(r.attrs)&&At(c,r.attrs),i(r.props)&&At(c,r.props);var f=new wt(r,c,a,o,e),d=s.render.call(null,f._c,f);if(d instanceof ue)return Yt(d,r,f.parent,s,f);if(Array.isArray(d)){for(var p=nt(d)||[],h=new Array(p.length),y=0;y<p.length;y++)h[y]=Yt(p[y],r,f.parent,s,f);return h}}(e,p,t,a,c);var h=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var y=t.slot;t={},y&&(t.slot=y)}(function(e){for(var t=e.hook||(e.hook={}),n=0;n<Dt.length;n++){var r=Dt[n],i=t[r],o=Ot[r];i===o||i&&i._merged||(t[r]=i?Zt(o,i):o)}})(t);var v=e.options.name||u,m=new ue("vue-component-"+e.cid+(v?"-"+v:""),t,void 0,void 0,void 0,a,{Ctor:e,propsData:p,listeners:h,tag:u,children:c},d);return m}}}function Zt(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function kt(e,t,n,c,u,l){return(Array.isArray(n)||a(n))&&(u=c,c=n,n=void 0),o(l)&&(u=2),function(e,t,n,a,c){if(i(n)&&i(n.__ob__))return fe();i(n)&&i(n.is)&&(t=n.is);if(!t)return fe();0;Array.isArray(a)&&"function"===typeof a[0]&&(n=n||{},n.scopedSlots={default:a[0]},a.length=0);2===c?a=nt(a):1===c&&(a=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(a));var u,l;if("string"===typeof t){var f;l=e.$vnode&&e.$vnode.ns||N.getTagNamespace(t),u=N.isReservedTag(t)?new ue(N.parsePlatformTagName(t),n,a,void 0,void 0,e):n&&n.pre||!i(f=Me(e.$options,"components",t))?new ue(t,n,a,void 0,void 0,e):Mt(f,n,e,a,t)}else u=Mt(t,n,e,a);return Array.isArray(u)?u:i(u)?(i(l)&&function e(t,n,a){t.ns=n,"foreignObject"===t.tag&&(n=void 0,a=!0);if(i(t.children))for(var s=0,c=t.children.length;s<c;s++){var u=t.children[s];i(u.tag)&&(r(u.ns)||o(a)&&"svg"!==u.tag)&&e(u,n,a)}}(u,l),i(n)&&function(e){s(e.style)&&ze(e.style);s(e.class)&&ze(e.class)}(n),u):fe()}(e,t,n,c,u)}var Et,Rt=null;function Nt(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Xt(e){return e.isComment&&e.asyncFactory}function It(e,t){Et.$on(e,t)}function Jt(e,t){Et.$off(e,t)}function Ft(e,t){var n=Et;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function Bt(e,t,n){Et=e,function(e,t,n,i,a,s){var c,u,l,f;for(c in e)u=e[c],l=t[c],f=qe(c),r(u)||(r(l)?(r(u.fns)&&(u=e[c]=Ve(u,s)),o(f.once)&&(u=e[c]=a(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)r(e[c])&&(f=qe(c),i(f.name,t[c],f.capture))}(t,n||{},It,Jt,Ft,e),Et=void 0}var Ht=null;function Gt(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function jt(e,t){if(t){if(e._directInactive=!1,Gt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)jt(e.$children[n]);Qt(e,"activated")}}function Qt(e,t){se();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Xe(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ce()}var Wt=[],Ut=[],Kt={},$t=!1,zt=!1,qt=0;var Vt=Date.now;if(G&&!U){var en=window.performance;en&&"function"===typeof en.now&&Vt()>document.createEvent("Event").timeStamp&&(Vt=function(){return en.now()})}function tn(){var e,t;for(Vt(),zt=!0,Wt.sort((function(e,t){return e.id-t.id})),qt=0;qt<Wt.length;qt++)e=Wt[qt],e.before&&e.before(),t=e.id,Kt[t]=null,e.run();var n=Ut.slice(),r=Wt.slice();(function(){qt=Wt.length=Ut.length=0,Kt={},$t=zt=!1})(),function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,jt(e[t],!0)}(n),function(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Qt(r,"updated")}}(r),ee&&N.devtools&&ee.emit("flush")}var nn=0,rn=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ne,this.newDepIds=new ne,this.expression="","function"===typeof t?this.getter=t:(this.getter=function(e){if(!F.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=A)),this.value=this.lazy?void 0:this.get()};rn.prototype.get=function(){var e;se(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Nn){if(!this.user)throw Nn;Ne(Nn,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ze(e),ce(),this.cleanupDeps()}return e},rn.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))},rn.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Kt[t]){if(Kt[t]=!0,zt){var n=Wt.length-1;while(n>qt&&Wt[n].id>e.id)n--;Wt.splice(n+1,0,e)}else Wt.push(e);$t||($t=!0,Ke(tn))}}(this)},rn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Nn){Ne(Nn,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},rn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var on={enumerable:!0,configurable:!0,get:A,set:A};function an(e,t,n){on.get=function(){return this[t][n]},on.set=function(e){this[t][n]=e},Object.defineProperty(e,n,on)}function sn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||ve(!1);var a=function(o){i.push(o);var a=Ze(o,t,n,e);xe(r,o,a),o in e||an(e,"_props",o)};for(var s in t)a(s);ve(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?A:P(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){se();try{return e.call(t,t)}catch(Nn){return Ne(Nn,t,"data()"),{}}finally{ce()}}(t,e):t||{},u(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&m(r,o)||I(o)||an(e,"_data",o)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=V();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new rn(e,a||A,A,cn)),i in e||un(e,i,o)}}(e,t.computed),t.watch&&t.watch!==z&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)dn(e,n,r[i]);else dn(e,n,r)}}(e,t.watch)}var cn={lazy:!0};function un(e,t,n){var r=!V();"function"===typeof n?(on.get=r?ln(t):fn(n),on.set=A):(on.get=n.get?r&&!1!==n.cache?ln(t):fn(n.get):A,on.set=n.set||A),Object.defineProperty(e,t,on)}function ln(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ae.SharedObject.target&&t.depend(),t.value}}function fn(e){return function(){return e.call(this,this)}}function dn(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}var pn=0;function hn(e){var t=e.options;if(e.super){var n=hn(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);i&&w(e.extendOptions,i),t=e.options=De(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function yn(e){this._init(e)}function gn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=De(n.options,e),a["super"]=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)an(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)un(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,E.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=w({},a.options),i[r]=a,a}}function vn(e){return e&&(e.Ctor.options.name||e.tag)}function mn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function bn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=vn(a.componentOptions);s&&!t(s)&&Sn(n,o,r,i)}}}function Sn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,g(n,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=pn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=De(hn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Bt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=st(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return kt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return kt(e,t,n,r,i,!0)};var o=r&&r.data;xe(e,"$attrs",o&&o.attrs||n,null,!0),xe(e,"$listeners",t._parentListeners||n,null,!0)}(t),Qt(t,"beforeCreate"),!t._$fallback&&ot(t),sn(t),!t._$fallback&&it(t),!t._$fallback&&Qt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(yn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=_e,e.prototype.$delete=Ce,e.prototype.$watch=function(e,t,n){if(u(t))return dn(this,e,t,n);n=n||{},n.user=!0;var r=new rn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(i){Ne(i,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(yn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;var s=a.length;while(s--)if(o=a[s],o===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)Xe(n[o],t,r,t,i)}return t}}(yn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=function(e){var t=Ht;return Ht=e,function(){Ht=t}}(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Qt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||g(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Qt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(yn),function(e){Tt(e.prototype),e.prototype.$nextTick=function(e){return Ke(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=ut(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{Rt=t,e=r.call(t._renderProxy,t.$createElement)}catch(Nn){Ne(Nn,t,"render"),e=t._vnode}finally{Rt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ue||(e=fe()),e.parent=i,e}}(yn);var xn=[String,RegExp,Array],_n={name:"keep-alive",abstract:!0,props:{include:xn,exclude:xn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Sn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){bn(e,(function(e){return mn(t,e)}))})),this.$watch("exclude",(function(t){bn(e,(function(e){return!mn(t,e)}))}))},render:function(){var e=this.$slots.default,t=function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||Xt(n)))return n}}(e),n=t&&t.componentOptions;if(n){var r=vn(n),o=this.include,a=this.exclude;if(o&&(!r||!mn(o,r))||a&&r&&mn(a,r))return t;var s=this.cache,c=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;s[u]?(t.componentInstance=s[u].componentInstance,g(c,u),c.push(u)):(s[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&Sn(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Cn={KeepAlive:_n};(function(e){var t={get:function(){return N}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:w,mergeOptions:De,defineReactive:xe},e.set=_e,e.delete=Ce,e.nextTick=Ke,e.observable=function(e){return Se(e),e},e.options=Object.create(null),E.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,w(e.options.components,Cn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),gn(e),function(e){E.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)})(yn),Object.defineProperty(yn.prototype,"$isServer",{get:V}),Object.defineProperty(yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(yn,"FunctionalRenderContext",{value:wt}),yn.version="2.6.11";var Ln="[object Array]",Pn="[object Object]";function Tn(e,t){var n={};return function e(t,n){if(t===n)return;var r=Yn(t),i=Yn(n);if(r==Pn&&i==Pn){if(Object.keys(t).length>=Object.keys(n).length)for(var o in n){var a=t[o];void 0===a?t[o]=null:e(a,n[o])}}else r==Ln&&i==Ln&&t.length>=n.length&&n.forEach((function(n,r){e(t[r],n)}))}(e,t),function e(t,n,r,i){if(t===n)return;var o=Yn(t),a=Yn(n);if(o==Pn)if(a!=Pn||Object.keys(t).length<Object.keys(n).length)wn(i,r,t);else{var s=function(o){var a=t[o],s=n[o],c=Yn(a),u=Yn(s);if(c!=Ln&&c!=Pn)a!==n[o]&&function(e,t){if(("[object Null]"===e||"[object Undefined]"===e)&&("[object Null]"===t||"[object Undefined]"===t))return!1;return!0}(c,u)&&wn(i,(""==r?"":r+".")+o,a);else if(c==Ln)u!=Ln||a.length<s.length?wn(i,(""==r?"":r+".")+o,a):a.forEach((function(t,n){e(t,s[n],(""==r?"":r+".")+o+"["+n+"]",i)}));else if(c==Pn)if(u!=Pn||Object.keys(a).length<Object.keys(s).length)wn(i,(""==r?"":r+".")+o,a);else for(var l in a)e(a[l],s[l],(""==r?"":r+".")+o+"."+l,i)};for(var c in t)s(c)}else o==Ln?a!=Ln||t.length<n.length?wn(i,r,t):t.forEach((function(t,o){e(t,n[o],r+"["+o+"]",i)})):wn(i,r,t)}(e,t,"",n),n}function wn(e,t,n){e[t]=n}function Yn(e){return Object.prototype.toString.call(e)}function An(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"yui_wx",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var t=e.$scope;console.log("["+ +new Date+"]["+(t.is||t.route)+"]["+e._uid+"]:flushCallbacks["+e.__next_tick_callbacks.length+"]")}var n=e.__next_tick_callbacks.slice(0);e.__next_tick_callbacks.length=0;for(var r=0;r<n.length;r++)n[r]()}}function On(e,t){if(!e.__next_tick_pending&&!function(e){return Wt.find((function(t){return e._watcher===t}))}(e)){if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"yui_wx",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var n=e.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+e._uid+"]:nextVueTick")}return Ke(t,e)}if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"yui_wx",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var r=e.$scope;console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+e._uid+"]:nextMPTick")}var i;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(Nn){Ne(Nn,e,"nextTick")}else i&&i(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){i=e}))}function Dn(e,t){return t&&(t._isVue||t.__v_isMPComponent)?{}:t}function Mn(){}function Zn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)i(t=Zn(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):s(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"===typeof e?e:""}var kn=b((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));var En=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Rn=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];yn.prototype.__patch__=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,i=Object.create(null);try{i=function(e){var t=Object.create(null),n=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));n.reduce((function(t,n){return t[n]=e[n],t}),t);var r=e.__composition_api_state__||e.__secret_vfa_state__,i=r&&r.rawBindings;return i&&Object.keys(i).forEach((function(n){t[n]=e[n]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,Dn))}(this)}catch(s){console.error(s)}i.__webviewId__=r.data.__webviewId__;var o=Object.create(null);Object.keys(i).forEach((function(e){o[e]=r.data[e]}));var a=!1===this.$shouldDiffData?i:Tn(i,o);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"yui_wx",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,r.setData(a,(function(){n.__next_tick_pending=!1,An(n)}))):An(this)}},yn.prototype.$mount=function(e,t){return function(e,t,n){return e.mpType?("app"===e.mpType&&(e.$options.render=Mn),e.$options.render||(e.$options.render=Mn),!e._$fallback&&Qt(e,"beforeMount"),new rn(e,(function(){e._update(e._render(),n)}),A,{before:function(){e._isMounted&&!e._isDestroyed&&Qt(e,"beforeUpdate")}},!0),n=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==Rn.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,r=n.created;Rn.forEach((function(e){n[e]=r})),e.prototype.__lifecycle_hooks__=Rn}(yn),function(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var n=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(n)try{n.call(this.$scope,e,{__args__:T(arguments,1)})}catch(r){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return On(this,e)},En.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=it,e.prototype.__init_injections=ot,e.prototype.__call_hook=function(e,t){var n=this;se();var r,i=n.$options[e],o=e+" hook";if(i)for(var a=0,s=i.length;a<s;a++)r=Xe(i[a],n,t?[t]:null,n,o);return n._hasHookEvent&&n.$emit("hook:"+e,t),ce(),r},e.prototype.__set_model=function(t,n,r,i){Array.isArray(i)&&(-1!==i.indexOf("trim")&&(r=r.trim()),-1!==i.indexOf("number")&&(r=this._n(r))),t||(t=this),e.set(t,n,r)},e.prototype.__set_sync=function(t,n,r){t||(t=this),e.set(t,n,r)},e.prototype.__get_orig=function(e){return u(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return function e(t,n){var r=n.split("."),i=r[0];return 0===i.indexOf("__$n")&&(i=parseInt(i.replace("__$n",""))),1===r.length?t[i]:e(t[i],r.slice(1).join("."))}(t||this,e)},e.prototype.__get_class=function(e,t){return function(e,t){return i(e)||i(t)?function(e,t){return e?t?e+" "+t:e:t||""}(e,Zn(t)):""}(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var n=function(e){return Array.isArray(e)?Y(e):"string"===typeof e?kn(e):e}(e),r=t?w(t,n):n;return Object.keys(r).map((function(e){return L(e)+":"+r[e]})).join(";")},e.prototype.__map=function(e,t){var n,r,i,o,a;if(Array.isArray(e)){for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);return n}if(s(e)){for(o=Object.keys(e),n=Object.create(null),r=0,i=o.length;r<i;r++)a=o[r],n[a]=t(e[a],a,r);return n}if("number"===typeof e){for(n=new Array(e),r=0,i=e;r<i;r++)n[r]=t(r,r);return n}return[]}}(yn),t["default"]=yn}.call(this,n("0ee4"))},3352:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"34a3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fontData=void 0;t.fontData=[{font_class:"arrow-down",unicode:""},{font_class:"arrow-left",unicode:""},{font_class:"arrow-right",unicode:""},{font_class:"arrow-up",unicode:""},{font_class:"auth",unicode:""},{font_class:"auth-filled",unicode:""},{font_class:"back",unicode:""},{font_class:"bars",unicode:""},{font_class:"calendar",unicode:""},{font_class:"calendar-filled",unicode:""},{font_class:"camera",unicode:""},{font_class:"camera-filled",unicode:""},{font_class:"cart",unicode:""},{font_class:"cart-filled",unicode:""},{font_class:"chat",unicode:""},{font_class:"chat-filled",unicode:""},{font_class:"chatboxes",unicode:""},{font_class:"chatboxes-filled",unicode:""},{font_class:"chatbubble",unicode:""},{font_class:"chatbubble-filled",unicode:""},{font_class:"checkbox",unicode:""},{font_class:"checkbox-filled",unicode:""},{font_class:"checkmarkempty",unicode:""},{font_class:"circle",unicode:""},{font_class:"circle-filled",unicode:""},{font_class:"clear",unicode:""},{font_class:"close",unicode:""},{font_class:"closeempty",unicode:""},{font_class:"cloud-download",unicode:""},{font_class:"cloud-download-filled",unicode:""},{font_class:"cloud-upload",unicode:""},{font_class:"cloud-upload-filled",unicode:""},{font_class:"color",unicode:""},{font_class:"color-filled",unicode:""},{font_class:"compose",unicode:""},{font_class:"contact",unicode:""},{font_class:"contact-filled",unicode:""},{font_class:"down",unicode:""},{font_class:"bottom",unicode:""},{font_class:"download",unicode:""},{font_class:"download-filled",unicode:""},{font_class:"email",unicode:""},{font_class:"email-filled",unicode:""},{font_class:"eye",unicode:""},{font_class:"eye-filled",unicode:""},{font_class:"eye-slash",unicode:""},{font_class:"eye-slash-filled",unicode:""},{font_class:"fire",unicode:""},{font_class:"fire-filled",unicode:""},{font_class:"flag",unicode:""},{font_class:"flag-filled",unicode:""},{font_class:"folder-add",unicode:""},{font_class:"folder-add-filled",unicode:""},{font_class:"font",unicode:""},{font_class:"forward",unicode:""},{font_class:"gear",unicode:""},{font_class:"gear-filled",unicode:""},{font_class:"gift",unicode:""},{font_class:"gift-filled",unicode:""},{font_class:"hand-down",unicode:""},{font_class:"hand-down-filled",unicode:""},{font_class:"hand-up",unicode:""},{font_class:"hand-up-filled",unicode:""},{font_class:"headphones",unicode:""},{font_class:"heart",unicode:""},{font_class:"heart-filled",unicode:""},{font_class:"help",unicode:""},{font_class:"help-filled",unicode:""},{font_class:"home",unicode:""},{font_class:"home-filled",unicode:""},{font_class:"image",unicode:""},{font_class:"image-filled",unicode:""},{font_class:"images",unicode:""},{font_class:"images-filled",unicode:""},{font_class:"info",unicode:""},{font_class:"info-filled",unicode:""},{font_class:"left",unicode:""},{font_class:"link",unicode:""},{font_class:"list",unicode:""},{font_class:"location",unicode:""},{font_class:"location-filled",unicode:""},{font_class:"locked",unicode:""},{font_class:"locked-filled",unicode:""},{font_class:"loop",unicode:""},{font_class:"mail-open",unicode:""},{font_class:"mail-open-filled",unicode:""},{font_class:"map",unicode:""},{font_class:"map-filled",unicode:""},{font_class:"map-pin",unicode:""},{font_class:"map-pin-ellipse",unicode:""},{font_class:"medal",unicode:""},{font_class:"medal-filled",unicode:""},{font_class:"mic",unicode:""},{font_class:"mic-filled",unicode:""},{font_class:"micoff",unicode:""},{font_class:"micoff-filled",unicode:""},{font_class:"minus",unicode:""},{font_class:"minus-filled",unicode:""},{font_class:"more",unicode:""},{font_class:"more-filled",unicode:""},{font_class:"navigate",unicode:""},{font_class:"navigate-filled",unicode:""},{font_class:"notification",unicode:""},{font_class:"notification-filled",unicode:""},{font_class:"paperclip",unicode:""},{font_class:"paperplane",unicode:""},{font_class:"paperplane-filled",unicode:""},{font_class:"person",unicode:""},{font_class:"person-filled",unicode:""},{font_class:"personadd",unicode:""},{font_class:"personadd-filled",unicode:""},{font_class:"personadd-filled-copy",unicode:""},{font_class:"phone",unicode:""},{font_class:"phone-filled",unicode:""},{font_class:"plus",unicode:""},{font_class:"plus-filled",unicode:""},{font_class:"plusempty",unicode:""},{font_class:"pulldown",unicode:""},{font_class:"pyq",unicode:""},{font_class:"qq",unicode:""},{font_class:"redo",unicode:""},{font_class:"redo-filled",unicode:""},{font_class:"refresh",unicode:""},{font_class:"refresh-filled",unicode:""},{font_class:"refreshempty",unicode:""},{font_class:"reload",unicode:""},{font_class:"right",unicode:""},{font_class:"scan",unicode:""},{font_class:"search",unicode:""},{font_class:"settings",unicode:""},{font_class:"settings-filled",unicode:""},{font_class:"shop",unicode:""},{font_class:"shop-filled",unicode:""},{font_class:"smallcircle",unicode:""},{font_class:"smallcircle-filled",unicode:""},{font_class:"sound",unicode:""},{font_class:"sound-filled",unicode:""},{font_class:"spinner-cycle",unicode:""},{font_class:"staff",unicode:""},{font_class:"staff-filled",unicode:""},{font_class:"star",unicode:""},{font_class:"star-filled",unicode:""},{font_class:"starhalf",unicode:""},{font_class:"trash",unicode:""},{font_class:"trash-filled",unicode:""},{font_class:"tune",unicode:""},{font_class:"tune-filled",unicode:""},{font_class:"undo",unicode:""},{font_class:"undo-filled",unicode:""},{font_class:"up",unicode:""},{font_class:"top",unicode:""},{font_class:"upload",unicode:""},{font_class:"upload-filled",unicode:""},{font_class:"videocam",unicode:""},{font_class:"videocam-filled",unicode:""},{font_class:"vip",unicode:""},{font_class:"vip-filled",unicode:""},{font_class:"wallet",unicode:""},{font_class:"wallet-filled",unicode:""},{font_class:"weibo",unicode:""},{font_class:"weixin",unicode:""}]},"34cf":function(e,t,n){var r=n("ed45"),i=n("7172"),o=n("6382"),a=n("dd3e");e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},"35df":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=function(e,t){if(!t)return;return clearTimeout(t.timer),new u(e,t)};var i=r(n("7ca3")),o=r(n("67ad")),a=r(n("0bdb"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(){function t(n,r){(0,o.default)(this,t),this.options=n,this.animation=e.createAnimation(c({},n)),this.currentStepAnimates={},this.next=0,this.$=r}return(0,a.default)(t,[{key:"_nvuePushAnimates",value:function(e,t){var n=this.currentStepAnimates[this.next],r={};if(r=n||{styles:{},config:{}},l.includes(e)){r.styles.transform||(r.styles.transform="");var i="";"rotate"===e&&(i="deg"),r.styles.transform+="".concat(e,"(").concat(t+i,") ")}else r.styles[e]="".concat(t);this.currentStepAnimates[this.next]=r}},{key:"_animateRun",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$.$refs["ani"].ref;if(n)return new Promise((function(r,i){nvueAnimation.transition(n,c({styles:e},t),(function(e){r()}))}))}},{key:"_nvueNextAnimate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,i=e[n];if(i){var o=i.styles,a=i.config;this._animateRun(o,a).then((function(){n+=1,t._nvueNextAnimate(e,n,r)}))}else this.currentStepAnimates={},"function"===typeof r&&r(),this.isEnd=!0}},{key:"step",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(e),this}},{key:"run",value:function(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof e&&e()}),this.$.durationTime)}}]),t}(),l=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];l.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(e){u.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n("df3c")["default"])},3951:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(e){var t,n=348;for(t=32768;t>8;t>>=1)n+=this.lunarInfo[e-1900]&t?1:0;return n+this.leapDays(e)},leapMonth:function(e){return 15&this.lunarInfo[e-1900]},leapDays:function(e){return this.leapMonth(e)?65536&this.lunarInfo[e-1900]?30:29:0},monthDays:function(e,t){return t>12||t<1?-1:this.lunarInfo[e-1900]&65536>>t?30:29},solarDays:function(e,t){if(t>12||t<1)return-1;var n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:this.solarMonth[n]},toGanZhiYear:function(e){var t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),this.Gan[t-1]+this.Zhi[n-1]},toAstro:function(e,t){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*e-(t<[20,19,21,21,21,22,23,23,23,23,22,22][e-1]?2:0),2)+"座"},toGanZhi:function(e){return this.Gan[e%10]+this.Zhi[e%12]},getTerm:function(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;var n=this.sTermInfo[e-1900],r=[parseInt("0x"+n.substr(0,5)).toString(),parseInt("0x"+n.substr(5,5)).toString(),parseInt("0x"+n.substr(10,5)).toString(),parseInt("0x"+n.substr(15,5)).toString(),parseInt("0x"+n.substr(20,5)).toString(),parseInt("0x"+n.substr(25,5)).toString()],i=[r[0].substr(0,1),r[0].substr(1,2),r[0].substr(3,1),r[0].substr(4,2),r[1].substr(0,1),r[1].substr(1,2),r[1].substr(3,1),r[1].substr(4,2),r[2].substr(0,1),r[2].substr(1,2),r[2].substr(3,1),r[2].substr(4,2),r[3].substr(0,1),r[3].substr(1,2),r[3].substr(3,1),r[3].substr(4,2),r[4].substr(0,1),r[4].substr(1,2),r[4].substr(3,1),r[4].substr(4,2),r[5].substr(0,1),r[5].substr(1,2),r[5].substr(3,1),r[5].substr(4,2)];return parseInt(i[t-1])},toChinaMonth:function(e){if(e>12||e<1)return-1;var t=this.nStr3[e-1];return t+="月",t},toChinaDay:function(e){var t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=this.nStr2[Math.floor(e/10)],t+=this.nStr1[e%10]}return t},getAnimal:function(e){return this.Animals[(e-4)%12]},solar2lunar:function(e,t,n){if(e<1900||e>2100)return-1;if(1900==e&&1==t&&n<31)return-1;if(e)r=new Date(e,parseInt(t)-1,n);else var r=new Date;var i,o=0,a=(e=r.getFullYear(),t=r.getMonth()+1,n=r.getDate(),(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5);for(i=1900;i<2101&&a>0;i++)o=this.lYearDays(i),a-=o;a<0&&(a+=o,i--);var s=new Date,c=!1;s.getFullYear()==e&&s.getMonth()+1==t&&s.getDate()==n&&(c=!0);var u=r.getDay(),l=this.nStr1[u];0==u&&(u=7);var f=i,d=this.leapMonth(i),p=!1;for(i=1;i<13&&a>0;i++)d>0&&i==d+1&&0==p?(--i,p=!0,o=this.leapDays(f)):o=this.monthDays(f,i),1==p&&i==d+1&&(p=!1),a-=o;0==a&&d>0&&i==d+1&&(p?p=!1:(p=!0,--i)),a<0&&(a+=o,--i);var h=i,y=a+1,g=t-1,v=this.toGanZhiYear(f),m=this.getTerm(e,2*t-1),b=this.getTerm(e,2*t),S=this.toGanZhi(12*(e-1900)+t+11);n>=m&&(S=this.toGanZhi(12*(e-1900)+t+12));var x=!1,_=null;m==n&&(x=!0,_=this.solarTerm[2*t-2]),b==n&&(x=!0,_=this.solarTerm[2*t-1]);var C=Date.UTC(e,g,1,0,0,0,0)/864e5+25567+10,L=this.toGanZhi(C+n-1),P=this.toAstro(t,n);return{lYear:f,lMonth:h,lDay:y,Animal:this.getAnimal(f),IMonthCn:(p?"闰":"")+this.toChinaMonth(h),IDayCn:this.toChinaDay(y),cYear:e,cMonth:t,cDay:n,gzYear:v,gzMonth:S,gzDay:L,isToday:c,isLeap:p,nWeek:u,ncWeek:"星期"+l,isTerm:x,Term:_,astro:P}},lunar2solar:function(e,t,n,r){r=!!r;var i=this.leapMonth(e);this.leapDays(e);if(r&&i!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;var o=this.monthDays(e,t),a=o;if(r&&(a=this.leapDays(e,t)),e<1900||e>2100||n>a)return-1;for(var s=0,c=1900;c<e;c++)s+=this.lYearDays(c);var u=0,l=!1;for(c=1;c<t;c++)u=this.leapMonth(e),l||u<=c&&u>0&&(s+=this.leapDays(e),l=!0),s+=this.monthDays(e,c);r&&(s+=o);var f=Date.UTC(1900,1,30,0,0,0),d=new Date(864e5*(s+n-31)+f),p=d.getUTCFullYear(),h=d.getUTCMonth()+1,y=d.getUTCDate();return this.solar2lunar(p,h,y)}},i=r;t.default=i},3959:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({accept:{type:String,default:"image"},capture:{type:[String,Array],default:function(){return["album","camera"]}},compressed:{type:Boolean,default:!0},camera:{type:String,default:"back"},maxDuration:{type:Number,default:60},uploadIcon:{type:String,default:"camera-fill"},uploadIconColor:{type:String,default:"#D3D4D6"},useBeforeRead:{type:Boolean,default:!1},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:!0},previewFullVideo:{type:Boolean,default:!0},maxCount:{type:[String,Number],default:52},disabled:{type:Boolean,default:!1},imageMode:{type:String,default:"aspectFill"},name:{type:String,default:""},sizeType:{type:Array,default:function(){return["original","compressed"]}},multiple:{type:Boolean,default:!1},deletable:{type:Boolean,default:!0},maxSize:{type:[String,Number],default:Number.MAX_VALUE},fileList:{type:Array,default:function(){return[]}},uploadText:{type:String,default:""},width:{type:[String,Number],default:80},height:{type:[String,Number],default:80},previewImage:{type:Boolean,default:!0}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.upload)};t.default=c}).call(this,n("df3c")["default"])},"39cf":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({offsetTop:{type:[String,Number],default:0},customNavHeight:{type:[String,Number],default:0},disabled:{type:Boolean,default:!1},bgColor:{type:String,default:"transparent"},zIndex:{type:[String,Number],default:""},index:{type:[String,Number],default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.sticky)};t.default=c}).call(this,n("df3c")["default"])},"3b2d":function(e,t){function n(t){return e.exports=n="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.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},4266:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getAllRect=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==n)return Promise.reject("context is null");n.proxy&&(n=n.proxy);return new Promise((function(i,o){var a=e.createSelectorQuery().in(n).selectAll(t),s=function(e){e?i(e):o("no rect")};r?a.fields({node:!0,size:!0,rect:!0},s).exec():a.boundingClientRect(s).exec()}))},t.getRect=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==n)return Promise.reject("context is null");n.context&&(n=n.context);n.proxy&&(n=n.proxy);return new Promise((function(i,o){var a=e.createSelectorQuery().in(n).select(t),s=function(e){e?i(e):o("no rect")};r?a.fields({node:!0,size:!0,rect:!0},s).exec():a.boundingClientRect(s).exec()}))}}).call(this,n("df3c")["default"])},"453b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(e){this.mescroll&&this.mescroll.onPageScroll(e)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(e){this.mescroll=e},downCallback:function(){var e=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){e.mescroll.endSuccess()}),500)},upCallback:function(){var e=this;setTimeout((function(){e.mescroll.endErr()}),500)}}},i=r;t.default=i},"47a9":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},4965:function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"===typeof e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"4c52":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({list:{type:Array,default:function(){return[]}},indicator:{type:Boolean,default:!1},indicatorActiveColor:{type:String,default:"#fff"},indicatorInactiveColor:{type:String,default:"rgba(255, 255, 255, 0.35)"},indicatorStyle:{type:[String,Object],default:""},indicatorMode:{type:String,default:"line"},autoplay:{type:Boolean,default:!0},current:{type:[String,Number],default:0},currentItemId:{type:String,default:""},interval:{type:[String,Number],default:3e3},duration:{type:[String,Number],default:300},circular:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},previousMargin:{type:[String,Number],default:0},nextMargin:{type:[String,Number],default:0},acceleration:{type:Boolean,default:!1},displayMultipleItems:{type:Number,default:1},easingFunction:{type:String,default:"default"},keyName:{type:String,default:"url"},imgMode:{type:String,default:"aspectFill"},height:{type:[String,Number],default:130},bgColor:{type:String,default:"#f3f4f6"},radius:{type:[String,Number],default:4},loading:{type:Boolean,default:!1},showTitle:{type:Boolean,default:!1},titleStyle:{type:[Object,String],default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.swiper)};t.default=c}).call(this,n("df3c")["default"])},"4d24":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],i={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["饼状图","圆环图","玫瑰图","词云图","漏斗图","地图","圆弧进度条","折线图","柱状图","山峰图","条状图","区域图","雷达图","仪表盘","K线图","混合图","时间轴折线","时间轴区域","散点图","气泡图","自定义类型"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(e,t,n){return e+"元"},yAxisDemo2:function(e,t,n){return e.toFixed(2)},xAxisDemo1:function(e,t,n){return e+"年"},xAxisDemo2:function(e,t,n){return function(e,t){var n=new Date;n.setTime(1e3*e);var r=n.getFullYear(),i=n.getMonth()+1;i=i<10?"0"+i:i;var o=n.getDate();o=o<10?"0"+o:o;var a=n.getHours();a=a<10?"0"+a:a;var s=n.getMinutes(),c=n.getSeconds();return s=s<10?"0"+s:s,c=c<10?"0"+c:c,"full"==t?r+"-"+i+"-"+o+" "+a+":"+s+":"+c:"y-m-d"==t?r+"-"+i+"-"+o:"h:m"==t?a+":"+s:"h:m:s"==t?a+":"+s+":"+c:[r,i,o,a,s,c]}(e,"h:m")},seriesDemo1:function(e,t,n,r){return e+"元"},tooltipDemo1:function(e,t,n,r){return 0==n?"随便用"+e.data+"年":"其他我没改"+e.data+"天"},pieDemo:function(e,t,n,r){if(void 0!==t)return n[t].name+":"+n[t].data+"元"}},demotype:{type:"line",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:r,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:r,padding:[5,5,5,5],rotate:!1,dataLabel:!0,legend:{show:!0,position:"right",lineHeight:25},title:{name:"收益率",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:r,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:r,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:r,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:r,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:r,title:{name:"百分比",fontSize:25,color:"#00FF00"},subtitle:{name:"默认标题",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2,activeType:"hollow"}}},tline:{type:"line",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2,activeType:"hollow"}}},tarea:{type:"area",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0,activeType:"hollow"}}},column:{type:"column",color:r,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:r,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:r,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:r,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1,activeType:"hollow"}}},radar:{type:"radar",color:r,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200,labelShow:!0}}},gauge:{type:"gauge",color:r,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"实时速度",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:r,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:r,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:r,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:r,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},o=i;t.default=o},"4f1b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attention=function(e){return(0,r.request)({url:"/api/fans/".concat(e),method:"get"})},t.cancelAttention=function(e){return(0,r.request)({url:"/api/fans/".concat(e),method:"delete"})},t.getCustomerDetailById=function(e){return(0,r.request)({url:"/manager/client/".concat(e),method:"get"})},t.getCustomerListByPage=function(e){return(0,r.request)({url:"/manager/client/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.getFansAttentionListByPage=function(e,t){return(0,r.request)({url:"/api/fans/attention/".concat(e,"/").concat(t),method:"get"})},t.getFansListByPage=function(e,t){return(0,r.request)({url:"/api/fans/".concat(e,"/").concat(t),method:"get"})},t.getMyCount=function(){return(0,r.request)({url:"/api/fans/count",method:"get"})},t.getUserInfoById=function(e){return(0,r.request)({url:"/manager/userInfo/".concat(e),method:"get"})},t.isFans=function(e){return(0,r.request)({url:"/api/fans/attention/".concat(e),method:"get"})},t.updateUserDetails=function(e){return(0,r.request)({url:"/manager/userInfo/update",method:"post",data:e})};var r=n("8cf7")},"4ffb":function(e,t,n){var r=n("3b2d")["default"],i=n("3352");e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},"527a":function(e,t,n){"use strict";(function(e){var r=n("47a9"),i=n("3b2d");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("7ca3")),a=d(n("188d")),s=d(n("62ff")),c=r(n("1ffb")),u=r(n("ee87")),l=r(n("f00d"));function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y={props:{customStyle:{type:[Object,String],default:function(){return{}}},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:function(){return{}},onLoad:function(){this.$uv.getRect=this.$uvGetRect},created:function(){this.$uv.getRect=this.$uvGetRect},computed:{$uv:function(){var t,n,r;return h(h({},a),{},{test:s,route:c.default,debounce:u.default,throttle:l.default,unit:null===(t=e)||void 0===t||null===(n=t.$uv)||void 0===n||null===(r=n.config)||void 0===r?void 0:r.unit})},bem:function(){return function(e,t,n){var r=this,i="uv-".concat(e,"--"),o={};return t&&t.map((function(e){o[i+r[e]]=!0})),n&&n.map((function(e){r[e]?o[i+e]=r[e]:delete o[i+e]})),Object.keys(o)}}},methods:{openPage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"url",n=this[t];n&&e[this.linkType]({url:n})},$uvGetRect:function(t,n){var r=this;return new Promise((function(i){e.createSelectorQuery().in(r)[n?"selectAll":"select"](t).boundingClientRect((function(e){n&&Array.isArray(e)&&e.length&&i(e),!n&&e&&i(e)})).exec()}))},getParentData:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=this.$uv.$parent.call(this,t),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((function(t){e.parentData[t]=e.parent[t]}))},preventEvent:function(e){e&&"function"===typeof e.stopPropagation&&e.stopPropagation()},noop:function(e){this.preventEvent(e)}},onReachBottom:function(){e.$emit("uvOnReachBottom")},beforeDestroy:function(){var e=this;if(this.parent&&s.array(this.parent.children)){var t=this.parent.children;t.map((function(n,r){n===e&&t.splice(r,1)}))}},unmounted:function(){var e=this;if(this.parent&&s.array(this.parent.children)){var t=this.parent.children;t.map((function(n,r){n===e&&t.splice(r,1)}))}}};t.default=y}).call(this,n("df3c")["default"])},5412:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={firstletter:"YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYFZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJXDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLCYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNCMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",getFirstLetter:function(e){if(!e||/^ +$/g.test(e))return"";if(r.firstletter){var t=e.charCodeAt(0),n=e.charAt(0);n=t>=19968&&t<=40869?r.firstletter.charAt(t-19968):t>=97&&t<=122||t>=65&&t<=90?n.toLocaleUpperCase():"#";var i={unicode:t,firstletter:n};return i}return""}},i=r;t.default=i},"5b13":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={modelValue:{type:[Number,Array],default:null},value:{type:[Number,Array],default:null},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},range:{type:Boolean,defalut:!1},disabled:{type:Boolean,defalut:!1},vertical:{type:Boolean,defalut:!1},marks:{type:Object},thumbSize:{type:String,defalut:null},thumbColor:{type:String,defalut:null},thumbBorderColor:{type:String,defalut:null},thumbRadius:{type:String,defalut:null},railColor:{type:String,defalut:null},railRadius:{type:String,defalut:null},railSize:{type:String,defalut:null},trackColor:{type:String,defalut:null}};t.default=r},"5d05":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n("188d");t.default={watch:{accept:{immediate:!0,handler:function(e){}}}}},"60ae":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isDot:{type:Boolean,default:!1},value:{type:[Number,String],default:""},show:{type:Boolean,default:!0},max:{type:[Number,String],default:999},type:{type:[String,void 0,null],default:"error"},showZero:{type:Boolean,default:!1},bgColor:{type:[String,null],default:null},color:{type:[String,null],default:null},shape:{type:[String,void 0,null],default:"circle"},numberType:{type:[String,void 0,null],default:"overflow"},offset:{type:Array,default:function(){return[]}},inverted:{type:Boolean,default:!1},absolute:{type:Boolean,default:!1}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.badge)};t.default=c}).call(this,n("df3c")["default"])},"62ff":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.amount=function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},t.array=function(e){if("function"===typeof Array.isArray)return Array.isArray(e);return"[object Array]"===Object.prototype.toString.call(e)},t.carNo=function(e){if(7===e.length)return/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/.test(e);if(8===e.length)return/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/.test(e);return!1},t.chinese=function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},t.code=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)},t.contains=function(e,t){return e.indexOf(t)>=0},t.date=function(e){if(!e)return!1;o(e)&&(e=+e);return!/Invalid|NaN/.test(new Date(e).toString())},t.dateISO=function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},t.digits=function(e){return/^\d+$/.test(e)},t.email=function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},t.empty=function(e){switch((0,i.default)(e)){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1},t.enOrNum=function(e){return/^[0-9a-zA-Z]*$/g.test(e)},t.func=s,t.idCard=function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},t.image=function(e){var t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},t.jsonString=function(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==(0,i.default)(t)||!t)}catch(n){return!1}return!1},t.landline=function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},t.letter=function(e){return/^[a-zA-Z]*$/.test(e)},t.mobile=function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},t.number=o,t.object=a,t.promise=function(e){return a(e)&&s(e.then)&&s(e.catch)},t.range=function(e,t){return e>=t[0]&&e<=t[1]},t.rangeLength=function(e,t){return e.length>=t[0]&&e.length<=t[1]},t.regExp=function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},t.string=function(e){return"string"===typeof e},t.url=function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},t.video=function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)};var i=r(n("3b2d"));function o(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function a(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return"function"===typeof e}},6382:function(e,t,n){var r=n("6454");e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6454:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports["default"]=e.exports},"657c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={namespaced:!0,state:{user:{},organization:{},project:{},codeNumber:60,identity:{},coordinates:"116.38,39.9",activeCity:{cityName:"北京市",cityCode:"110100"}},mutations:{CHANGE_USER:function(e,t){e.user=t},CHANGE_ORGANIZATION:function(e,t){e.organization=t},CHANGE_PROJECT:function(e,t){e.project=t},CHANGE_CODENUMBER:function(e,t){e.codeNumber=t},CHANGE_IDENTITY:function(e,t){e.identity=t},CHANGE_COORDINATES:function(e,t){e.coordinates=t},CHANGE_ACTIVECITY:function(e,t){e.activeCity=t}},actions:{changeUser:function(e,t){var n=e.commit;n("CHANGE_USER",t)},changeOrganization:function(e,t){var n=e.commit;n("CHANGE_ORGANIZATION",t)},changeProject:function(e,t){var n=e.commit;n("CHANGE_PROJECT",t)},changeCodeNumber:function(e,t){var n=e.commit;n("CHANGE_CODENUMBER",t<0?60:t)},changeIdentity:function(e,t){var n=e.commit;n("CHANGE_IDENTITY",t)},changeCoordinates:function(e,t){var n=e.commit;n("CHANGE_COORDINATES",t)},changeActiveCity:function(e,t){var n=e.commit;n("CHANGE_ACTIVECITY",t)}}};t.default=r},"67ad":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports["default"]=e.exports},6806:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.dayjs=void 0;var i=r(n("3b2d")),o=function(){var e=6e4,t=36e5,n="millisecond",r="second",o="minute",a="hour",s="day",c="week",u="month",l="quarter",f="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},m={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,u),o=n-i<0,a=t.clone().add(r+(o?-1:1),u);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:c,d:s,D:d,h:a,m:o,s:r,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",S={};S[b]=g;var x=function(e){return e instanceof P},_=function e(t,n,r){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();S[o]&&(i=o),n&&(S[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;S[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},C=function(e,t){if(x(e))return e.clone();var n="object"==(0,i.default)(t)?t:{};return n.date=e,n.args=arguments,new P(n)},L=m;L.l=_,L.i=x,L.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function i(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=i.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(L.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return L},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return C(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<C(e)},g.$g=function(e,t,n){return L.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,i=!!L.u(t)||t,l=L.p(e),p=function(e,t){var r=L.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return i?r:r.endOf(s)},h=function(e,t){return L.w(n.toDate()[e].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},y=this.$W,g=this.$M,v=this.$D,m="set"+(this.$u?"UTC":"");switch(l){case f:return i?p(1,0):p(31,11);case u:return i?p(1,g):p(0,g+1);case c:var b=this.$locale().weekStart||0,S=(y<b?y+7:y)-b;return p(i?v-S:v+(6-S),g);case s:case d:return h(m+"Hours",0);case a:return h(m+"Minutes",1);case o:return h(m+"Seconds",2);case r:return h(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var i,c=L.p(e),l="set"+(this.$u?"UTC":""),p=(i={},i[s]=l+"Date",i[d]=l+"Date",i[u]=l+"Month",i[f]=l+"FullYear",i[a]=l+"Hours",i[o]=l+"Minutes",i[r]=l+"Seconds",i[n]=l+"Milliseconds",i)[c],h=c===s?this.$D+(t-this.$W):t;if(c===u||c===f){var y=this.clone().set(d,1);y.$d[p](h),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[L.p(e)]()},g.add=function(n,i){var l,d=this;n=Number(n);var p=L.p(i),h=function(e){var t=C(d);return L.w(t.date(t.date()+Math.round(e*n)),d)};if(p===u)return this.set(u,this.$M+n);if(p===f)return this.set(f,this.$y+n);if(p===s)return h(1);if(p===c)return h(7);var y=(l={},l[o]=e,l[a]=t,l[r]=1e3,l)[p]||1,g=this.$d.getTime()+n*y;return L.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=L.z(this),o=this.$H,a=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,f=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},d=function(e){return L.s(o%12||12,e,"0")},h=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return L.s(t.$y,4,"0");case"M":return s+1;case"MM":return L.s(s+1,2,"0");case"MMM":return f(n.monthsShort,s,u,3);case"MMMM":return f(u,s);case"D":return t.$D;case"DD":return L.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,c,2);case"ddd":return f(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(o);case"HH":return L.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return h(o,a,!0);case"A":return h(o,a,!1);case"m":return String(a);case"mm":return L.s(a,2,"0");case"s":return String(t.$s);case"ss":return L.s(t.$s,2,"0");case"SSS":return L.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,i,d){var p,h=this,y=L.p(i),g=C(n),v=(g.utcOffset()-this.utcOffset())*e,m=this-g,b=function(){return L.m(h,g)};switch(y){case f:p=b()/12;break;case u:p=b();break;case l:p=b()/3;break;case c:p=(m-v)/6048e5;break;case s:p=(m-v)/864e5;break;case a:p=m/t;break;case o:p=m/e;break;case r:p=m/1e3;break;default:p=m}return d?p:L.a(p)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return S[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return L.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},i}(),T=P.prototype;return C.prototype=T,[["$ms",n],["$s",r],["$m",o],["$H",a],["$W",s],["$M",u],["$y",f],["$D",d]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),C.extend=function(e,t){return e.$i||(e(t,P,C),e.$i=!0),C},C.locale=_,C.isDayjs=x,C.unix=function(e){return C(1e3*e)},C.en=S[b],C.Ls=S,C.p={},C}();t.dayjs=o},"6ba0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closest=function(e,t){return e.reduce((function(e,n){return Math.abs(e-t)<Math.abs(n-t)?e:n}))}},7172:function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw i}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"71f5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNumber=i,t.format=function(e,t,n,o){var a=(0,r.clamp)(e,t,n),s=Math.round((a-t)/o)*o;return i(t,s)};var r=n("fa26");function i(e,t){var n=Math.pow(10,10);return Math.round((e+t)*n)/n}},"736d":function(e,t,n){var r={"./app.js":"657c"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id="736d"},"73b4":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:{type:String,default:""},fontSize:{type:[String,Number],default:14},underLine:{type:Boolean,default:!1},href:{type:String,default:""},mpTips:{type:String,default:"链接已复制,请在浏览器打开"},lineColor:{type:String,default:""},text:{type:String,default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.link)};t.default=c}).call(this,n("df3c")["default"])},"74d0":function(e,t,n){"use strict";function r(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&n.test(e)){if(4===e.length){for(var r="#",i=1;i<4;i+=1)r+=e.slice(i,i+1).concat(e.slice(i,i+1));e=r}for(var o=[],a=1;a<7;a+=2)o.push(parseInt("0x".concat(e.slice(a,a+2))));return t?"rgb(".concat(o[0],",").concat(o[1],",").concat(o[2],")"):o}if(/^(rgb|RGB)/.test(e)){var s=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return s.map((function(e){return Number(e)}))}return e}function i(e){var t=e;if(/^(rgb|RGB)/.test(t)){for(var n=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),r="#",i=0;i<n.length;i++){var o=Number(n[i]).toString(16);o=1==String(o).length?"".concat(0,o):o,"0"===o&&(o+=o),r+=o}return 7!==r.length&&(r=t),r}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;var a=t.replace(/#/,"").split("");if(6===a.length)return t;if(3===a.length){for(var s="#",c=0;c<a.length;c+=1)s+=a[c]+a[c];return s}}Object.defineProperty(t,"__esModule",{value:!0}),t.colorGradient=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=r(e,!1),a=o[0],s=o[1],c=o[2],u=r(t,!1),l=u[0],f=u[1],d=u[2],p=(l-a)/n,h=(f-s)/n,y=(d-c)/n,g=[],v=0;v<n;v++){var m=i("rgb(".concat(Math.round(p*v+a),",").concat(Math.round(h*v+s),",").concat(Math.round(y*v+c),")"));0===v&&(m=i(e)),v===n-1&&(m=i(t)),g.push(m)}return g},t.colorToRgba=function(e,t){e=i(e);var n=String(e).toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){for(var r="#",o=1;o<4;o+=1)r+=n.slice(o,o+1).concat(n.slice(o,o+1));n=r}for(var a=[],s=1;s<7;s+=2)a.push(parseInt("0x".concat(n.slice(s,s+2))));return"rgba(".concat(a.join(","),",").concat(t,")")}return n},t.hexToRgb=r,t.rgbToHex=i},"757e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImgCode=function(){return(0,r.request)({url:"/manager/pCode",method:"get"})},t.getUserInfo=function(e){return(0,r.request)({url:"/manager/userContext",method:"get"})},t.login=function(e){return(0,r.request)({url:"/manager/login",method:"post",data:e})},t.sendPhoneCode=function(e,t){return(0,r.request)({url:"/manager/send/".concat(e,"/").concat(t),method:"get"})};var r=n("8cf7")},7647:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},7748:function(e,t){},"78f7":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({list:{type:Array,default:function(){return[]}},current:{type:[String,Number],default:0},activeColor:{type:String,default:"#3c9cff"},inactiveColor:{type:String,default:"#303133"},mode:{type:String,default:"button"},fontSize:{type:[String,Number],default:12},bold:{type:Boolean,default:!0},bgColor:{type:String,default:"#eeeeef"},keyName:{type:String,default:"name"},customItemStyle:{type:[String,Object],default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.subsection)};t.default=c}).call(this,n("df3c")["default"])},"7ca3":function(e,t,n){var r=n("d551");e.exports=function(e,t,n){return t=r(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"7ce0":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=n("2313"),a=n("17f0"),s=r(n("a7b6")),c=r(n("ed46")),u=!1,l=function(t){if(i){var n=o.YeIMUniSDK.getInstance().readyState();3===n?o.YeIMUniSDK.getInstance().connect({userId:i,token:e.getStorageSync("chatToken"),success:function(e){200===e.code&&(d.listenerList(),t&&t())},fail:function(e){f()}}):t&&t()}},f=function(){var t=(new Date).getTime()+864e5,n=(0,s.default)(String(i)+t+"50abd47112ebe8c5a73f4694c96a49ce");(0,a.login)({userId:i,timestamp:t,sign:n}).then((function(t){200===t.code&&(e.setStorageSync("chatToken",t.data.token),l())}))},d={init:function(){e.$YeIMUniSDKDefines=o.YeIMUniSDKDefines,e.$YeIM=o.YeIMUniSDK.init({baseURL:c.default.baseUrl+"/im",socketURL:c.default.socketURL,logLevel:2,reConnectInterval:3e3,reConnectTotal:99,heartInterval:35e3})},connect:function(t){i=t,t&&(e.getStorageSync("chatToken")?l():f())},getConversationList:function(e){l((function(){o.YeIMUniSDK.getInstance().getConversationList({page:1,limit:100,success:e,fail:function(e){console.log("error")}})}))},getHistoryMessageList:function(e,t,n,r){l((function(){o.YeIMUniSDK.getInstance().getHistoryMessageList({nextMessageId:e,conversationId:t,success:n,fail:r})}))},sendImage:function(t,n){l((function(){e.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:function(r){e.getImageInfo({src:r.tempFilePaths[0],success:function(i){var a=o.YeIMUniSDK.getInstance().createImageMessage({toId:t,conversationType:o.YeIMUniSDKDefines.CONVERSATION_TYPE.PRIVATE,body:{file:{tempFilePath:r.tempFilePaths[0],width:i.width,height:i.height}},extra:"",onProgress:function(e){}});e.showLoading(),o.YeIMUniSDK.getInstance().sendMessage({message:a,success:n,fail:function(t){e.hideLoading(),e.showToast({title:"发送失败",icon:"none"})}})}})}})}))},sendText:function(t,n,r){l((function(){var i=o.YeIMUniSDK.getInstance().createTextMessage({toId:t,conversationType:o.YeIMUniSDKDefines.CONVERSATION_TYPE.PRIVATE,body:{text:n},extra:""});o.YeIMUniSDK.getInstance().sendMessage({message:i,success:r,fail:function(t){e.hideLoading(),e.showToast({title:"发送失败",icon:"none"})}})}))},disConnect:function(){o.YeIMUniSDK.getInstance().disConnect()},listenerLogin:function(){o.YeIMUniSDK.getInstance().addEventListener(o.YeIMUniSDKDefines.EVENT.KICKED_OUT,(function(){}))},listenerList:function(){u||l((function(){u=!0,o.YeIMUniSDK.getInstance().addEventListener(o.YeIMUniSDKDefines.EVENT.CONVERSATION_LIST_CHANGED,(function(t){e.$emit("changeChatList",t)}))}))},clearConversationUnread:function(e){o.YeIMUniSDK.getInstance().clearConversationUnread(e)},sendSystemMessage:function(){var t=(new Date).getTime()+864e5,n=(0,s.default)("system"+t+"50abd47112ebe8c5a73f4694c96a49ce");(0,a.login)({userId:"system",timestamp:t,sign:n}).then((function(t){200===t.code&&(e.setStorageSync("systemChatToken",t.data.token),(0,a.sendSystem)({body:{text:"2"},conversationId:"4",conversationType:"private",extra:"",from:"system",fromUserInfo:{},isDeleted:0,isRead:0,isRevoke:0,status:"unSend",time:(new Date).getTime(),to:1,type:"text"}))}))}},p=d;t.default=p}).call(this,n("df3c")["default"])},"7ce1":function(e,t,n){var r=n("b4d2"),i=n("7647"),o=n("4965"),a=n("931d");function s(t){var n="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},"7d95":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.downloadFileDom=function(e,t){var n=new Blob([e],{type:"application/octet-stream"});if("undefined"!==typeof window.navigator.msSaveBlob)window.navigator.msSaveBlob(n,t);else{var r=window.URL.createObjectURL(n),i=document.createElement("a");i.style.display="none",i.href=r,i.setAttribute("download",t),"undefined"===typeof i.download&&i.setAttribute("target","_blank"),document.body.appendChild(i),i.click(),document.body.removeChild(i),window.URL.revokeObjectURL(r)}},t.organizationPermission=function(e,t){a||f();e["dataType"]="organization",e["typeName"]="企业中心",e["approveType"]=2,e["operationOrganizationId"]=i.id,d(e,t)},t.projectPermission=function(e,t){a||f();e["dataType"]="project",e["typeName"]="项目中心",e["approveType"]=1,e["operationOrganizationId"]=-1,(0,s.getProjectPermission)(e.id,-1).then((function(n){200===n.code&&(e["permissions"]=null==n.data?e.oldPermission:n.data.permissions,n.data&&(e["permissionsId"]=n.data.id),d(e,t))}))};var i,o,a,s=n("de81"),c=r(n("893d")),u=r(n("e4b2")),l=[],f=function(){i=c.default.getters.organization,o=c.default.getters.project,a=c.default.getters.user},d=function(e,t){switch(e.permissions){case"1":t();break;case"2":p(e,t);break;case"3":b(e,t);break;default:break}},p=function(e,t){1===e.approveType?(0,s.getUserProjectPermissions)(e.id,a.userId).then((function(n){h(n,e,t)})):2===e.approveType&&(0,s.getUserOrganizationPermissions)(e.id,a.userId).then((function(n){h(n,e,t)}))},h=function(e,t,n){if(200===e.code){var r=e.data||{};if(r[t.type])return n();y(t,n)}},y=function(e,t){(0,s.getSetApprove)({projectId:o.id,operationOrganizationId:e.operationOrganizationId,type:e.approveType}).then((function(n){if(200===n.code){var r=n.data[0]||{};if(r.checker&&(l=JSON.parse(r.checker).map((function(e){return-e[e.length-1]}))),l.filter((function(e){return e===a.userId})).length>0)return t();v(e)}}))},g=function(e){var t="";switch(e){case"access":t="访问";break;case"create":t="创建";break;case"delete":t="删除";break;case"edit":t="编辑";break;case"fileDelete":t="删除";break;case"fileDownload":t="下载";break;case"fileUpload":t="上传";break;case"fileView":t="预览";break;default:break}return t},v=function(t){var n="该文件是私密文件夹,是否申请".concat(g(t.type),"?");e.showModal({title:"系统提示",content:n,success:function(n){if(n.confirm){if(0===l.length)return e.showToast({title:"暂未设置审核人",icon:"none"});for(var r="",i=0;i<t.folderList.length;i++)r+="-"+t.folderList[i].name;var o="【".concat(t.typeName).concat(r,"-").concat(t.name,"】"),a="申请".concat(g(t.type)).concat(o);u.default.sendFlowMessage({},{operation:a,receiver:l.join(","),messageType:5,dataType:m(t)[t.type],dataId:t.id}).then((function(t){200===t.code&&e.showToast({title:"申请成功,请等待审核",icon:"none"})}))}}})},m=function(e){var t={};switch(e.approveType){case 1:t={access:1,create:2,delete:3,edit:4,fileDelete:5,fileDownload:6,fileUpload:7,fileView:8};break;case 2:t={access:9,create:10,delete:11,edit:12,fileDelete:13,fileDownload:14,fileUpload:15,fileView:16};break;default:break}return t},b=function(t,n){var r="该文件是加密文件夹,请输入密码".concat(g(t.type),"?");e.showModal({title:r,editable:!0,placeholderText:"请输入密码",success:function(r){if(r.confirm){if(r.content)return e.showToast({title:"密码错误",icon:"none"});1===t.approveType?(0,s.validationProjectPermission)(t.permissionsId,r.content).then((function(e){S(e,n)})):2===t.approveType&&(0,s.validationOrganizationPermission)(t.id,r.content).then((function(e){S(e,n)}))}}})},S=function(t,n){if(200===t.code){if(t.data)return n();e.showToast({title:"密码错误",icon:"none"})}}}).call(this,n("df3c")["default"])},"7eb4":function(e,t,n){var r=n("9fc1")();e.exports=r},"828b":function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s,c,u){var l,f="function"===typeof e?e.options:e;if(c){f.components||(f.components={});var d=Object.prototype.hasOwnProperty;for(var p in c)d.call(c,p)&&!d.call(f.components,p)&&(f.components[p]=c[p])}if(u&&("function"===typeof u.beforeCreate&&(u.beforeCreate=[u.beforeCreate]),(u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(f.mixins||(f.mixins=[])).push(u)),t&&(f.render=t,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),o&&(f._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},f._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(f.functional){f._injectStyles=l;var h=f.render;f.render=function(e,t){return l.call(t),h(e,t)}}else{var y=f.beforeCreate;f.beforeCreate=y?[].concat(y,l):[l]}return{exports:e,options:f}}n.d(t,"a",(function(){return r}))},"861b":function(e,t,n){"use strict";(function(e,r,i){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.uniCloud=t.default=t.UniCloudError=void 0;var a=o(n("7eb4")),s=o(n("3352")),c=o(n("34cf")),u=o(n("3b2d")),l=o(n("af34")),f=o(n("ee10")),d=o(n("7ca3")),p=o(n("8ffa")),h=o(n("4ffb")),y=o(n("b4d2")),g=o(n("7ce1")),v=o(n("67ad")),m=o(n("0bdb")),b=o(n("8d06"));function S(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,d.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,y.default)(e);if(t){var i=(0,y.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,h.default)(this,n)}}function P(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e||"undefined"!=typeof self&&self;var T=P((function(e,t){var n;e.exports=(n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},i=r.lib={},o=i.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=function(t){var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var s=i(4294967296*(n||e.random()));n=987654071*s(),r.push(4294967296*s()|0)}return new a.init(r,t)}}),s=r.enc={},c=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},u=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,u=e.min(4*c,i);if(c){for(var l=0;l<c;l+=o)this._doProcessBlock(r,l);var f=r.splice(0,c);n.sigBytes-=u}return new a.init(f,u)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});i.Hasher=f.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new d.HMAC.init(e,n).finalize(t)}}});var d=r.algo={};return r}(Math),n)})),w=T,Y=(P((function(e,t){var n;e.exports=(n=w,function(e){var t=n,r=t.lib,i=r.WordArray,o=r.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],c=e[t+1],p=e[t+2],h=e[t+3],y=e[t+4],g=e[t+5],v=e[t+6],m=e[t+7],b=e[t+8],S=e[t+9],x=e[t+10],_=e[t+11],C=e[t+12],L=e[t+13],P=e[t+14],T=e[t+15],w=o[0],Y=o[1],A=o[2],O=o[3];w=u(w,Y,A,O,a,7,s[0]),O=u(O,w,Y,A,c,12,s[1]),A=u(A,O,w,Y,p,17,s[2]),Y=u(Y,A,O,w,h,22,s[3]),w=u(w,Y,A,O,y,7,s[4]),O=u(O,w,Y,A,g,12,s[5]),A=u(A,O,w,Y,v,17,s[6]),Y=u(Y,A,O,w,m,22,s[7]),w=u(w,Y,A,O,b,7,s[8]),O=u(O,w,Y,A,S,12,s[9]),A=u(A,O,w,Y,x,17,s[10]),Y=u(Y,A,O,w,_,22,s[11]),w=u(w,Y,A,O,C,7,s[12]),O=u(O,w,Y,A,L,12,s[13]),A=u(A,O,w,Y,P,17,s[14]),w=l(w,Y=u(Y,A,O,w,T,22,s[15]),A,O,c,5,s[16]),O=l(O,w,Y,A,v,9,s[17]),A=l(A,O,w,Y,_,14,s[18]),Y=l(Y,A,O,w,a,20,s[19]),w=l(w,Y,A,O,g,5,s[20]),O=l(O,w,Y,A,x,9,s[21]),A=l(A,O,w,Y,T,14,s[22]),Y=l(Y,A,O,w,y,20,s[23]),w=l(w,Y,A,O,S,5,s[24]),O=l(O,w,Y,A,P,9,s[25]),A=l(A,O,w,Y,h,14,s[26]),Y=l(Y,A,O,w,b,20,s[27]),w=l(w,Y,A,O,L,5,s[28]),O=l(O,w,Y,A,p,9,s[29]),A=l(A,O,w,Y,m,14,s[30]),w=f(w,Y=l(Y,A,O,w,C,20,s[31]),A,O,g,4,s[32]),O=f(O,w,Y,A,b,11,s[33]),A=f(A,O,w,Y,_,16,s[34]),Y=f(Y,A,O,w,P,23,s[35]),w=f(w,Y,A,O,c,4,s[36]),O=f(O,w,Y,A,y,11,s[37]),A=f(A,O,w,Y,m,16,s[38]),Y=f(Y,A,O,w,x,23,s[39]),w=f(w,Y,A,O,L,4,s[40]),O=f(O,w,Y,A,a,11,s[41]),A=f(A,O,w,Y,h,16,s[42]),Y=f(Y,A,O,w,v,23,s[43]),w=f(w,Y,A,O,S,4,s[44]),O=f(O,w,Y,A,C,11,s[45]),A=f(A,O,w,Y,T,16,s[46]),w=d(w,Y=f(Y,A,O,w,p,23,s[47]),A,O,a,6,s[48]),O=d(O,w,Y,A,m,10,s[49]),A=d(A,O,w,Y,P,15,s[50]),Y=d(Y,A,O,w,g,21,s[51]),w=d(w,Y,A,O,C,6,s[52]),O=d(O,w,Y,A,h,10,s[53]),A=d(A,O,w,Y,x,15,s[54]),Y=d(Y,A,O,w,c,21,s[55]),w=d(w,Y,A,O,b,6,s[56]),O=d(O,w,Y,A,T,10,s[57]),A=d(A,O,w,Y,v,15,s[58]),Y=d(Y,A,O,w,L,21,s[59]),w=d(w,Y,A,O,y,6,s[60]),O=d(O,w,Y,A,_,10,s[61]),A=d(A,O,w,Y,p,15,s[62]),Y=d(Y,A,O,w,S,21,s[63]),o[0]=o[0]+w|0,o[1]=o[1]+Y|0,o[2]=o[2]+A|0,o[3]=o[3]+O|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function l(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function f(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(c),t.HmacMD5=o._createHmacHelper(c)}(Math),n.MD5)})),P((function(e,t){var n;e.exports=(n=w,void function(){var e=n,t=e.lib.Base,r=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),s=o.words,c=a.words,u=0;u<n;u++)s[u]^=1549556828,c[u]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}())})),P((function(e,t){e.exports=w.HmacMD5}))),A=P((function(e,t){e.exports=w.enc.Utf8})),O=P((function(e,t){var n;e.exports=(n=w,function(){var e=n,t=e.lib.WordArray;function r(e,n,r){for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2,c=r[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(s|c)<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var c=r.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return r(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)})),D="uni_id_token",M="uni_id_token_expired",Z={DEFAULT:"FUNCTION",FUNCTION:"FUNCTION",OBJECT:"OBJECT",CLIENT_DB:"CLIENT_DB"},k="pending",E="fulfilled",R="rejected";function N(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function X(e){return"object"===N(e)}function I(e){return"function"==typeof e}function J(e){return function(){try{return e.apply(e,arguments)}catch(e){console.error(e)}}}var F="REJECTED",B="NOT_PENDING",H=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.createPromise,r=t.retryRule,i=void 0===r?F:r;(0,v.default)(this,e),this.createPromise=n,this.status=null,this.promise=null,this.retryRule=i}return(0,m.default)(e,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case F:return this.status===R;case B:return this.status!==k}}},{key:"exec",value:function(){var e=this;return this.needRetry?(this.status=k,this.promise=this.createPromise().then((function(t){return e.status=E,Promise.resolve(t)}),(function(t){return e.status=R,Promise.reject(t)})),this.promise):this.promise}}]),e}(),G=function(){function e(){(0,v.default)(this,e),this._callback={}}return(0,m.default)(e,[{key:"addListener",value:function(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}},{key:"on",value:function(e,t){return this.addListener(e,t)}},{key:"removeListener",value:function(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');var n=this._callback[e];if(n){var r=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(r,1)}}},{key:"off",value:function(e,t){return this.removeListener(e,t)}},{key:"removeAllListener",value:function(e){delete this._callback[e]}},{key:"emit",value:function(e){for(var t=this._callback[e],n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(t)for(var o=0;o<t.length;o++)t[o].apply(t,r)}}]),e}();function j(e){return e&&"string"==typeof e?JSON.parse(e):e}var Q="mp-weixin",W=j([]),U=Q,K=(j(void 0),j([])||[]);try{(n("c445").default||n("c445")).appid}catch(Tr){}var $,z={};function q(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=z,n=e,Object.prototype.hasOwnProperty.call(t,n)||(z[e]=r),z[e]}"app"===U&&(z=r._globalUniCloudObj?r._globalUniCloudObj:r._globalUniCloudObj={});var V=["invoke","success","fail","complete"],ee=q("_globalUniCloudInterceptor");function te(e,t){ee[e]||(ee[e]={}),X(t)&&Object.keys(t).forEach((function(n){V.indexOf(n)>-1&&function(e,t,n){var r=ee[e][t];r||(r=ee[e][t]=[]),-1===r.indexOf(n)&&I(n)&&r.push(n)}(e,n,t[n])}))}function ne(e,t){ee[e]||(ee[e]={}),X(t)?Object.keys(t).forEach((function(n){V.indexOf(n)>-1&&function(e,t,n){var r=ee[e][t];if(r){var i=r.indexOf(n);i>-1&&r.splice(i,1)}}(e,n,t[n])})):delete ee[e]}function re(e,t){return e&&0!==e.length?e.reduce((function(e,n){return e.then((function(){return n(t)}))}),Promise.resolve()):Promise.resolve()}function ie(e,t){return ee[e]&&ee[e][t]||[]}function oe(e){te("callObject",e)}var ae=q("_globalUniCloudListener"),se={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},ce={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function ue(e){return ae[e]||(ae[e]=[]),ae[e]}function le(e,t){var n=ue(e);n.includes(t)||n.push(t)}function fe(e,t){var n=ue(e),r=n.indexOf(t);-1!==r&&n.splice(r,1)}function de(e,t){for(var n=ue(e),r=0;r<n.length;r++)(0,n[r])(t)}var pe,he=!1;function ye(){return pe||(pe=new Promise((function(e){he&&e(),function t(){if("function"==typeof getCurrentPages){var n=getCurrentPages();n&&n[0]&&(he=!0,e())}he||setTimeout((function(){t()}),30)}()})),pe)}function ge(e){var t={};for(var n in e){var r=e[n];I(r)&&(t[n]=J(r))}return t}var ve=function(e){(0,p.default)(n,e);var t=L(n);function n(e){var r;return(0,v.default)(this,n),r=t.call(this,e.message),r.errMsg=e.message||e.errMsg||"unknown system error",r.code=r.errCode=e.code||e.errCode||"SYSTEM_ERROR",r.errSubject=r.subject=e.subject||e.errSubject,r.cause=e.cause,r.requestId=e.requestId,r}return(0,m.default)(n,[{key:"toJson",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}]),n}((0,g.default)(Error));t.UniCloudError=ve;var me,be,Se={request:function(e){return r.request(e)},uploadFile:function(e){return r.uploadFile(e)},setStorageSync:function(e,t){return r.setStorageSync(e,t)},getStorageSync:function(e){return r.getStorageSync(e)},removeStorageSync:function(e){return r.removeStorageSync(e)},clearStorageSync:function(){return r.clearStorageSync()},connectSocket:function(e){return r.connectSocket(e)}};function xe(){return{token:Se.getStorageSync(D)||Se.getStorageSync("uniIdToken"),tokenExpired:Se.getStorageSync(M)}}function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.token,n=e.tokenExpired;t&&Se.setStorageSync(D,t),n&&Se.setStorageSync(M,n)}function Ce(){return me||(me=r.getSystemInfoSync()),me}var Le={};function Pe(){var e=r.getLocale&&r.getLocale()||"en";if(be)return C(C(C({},Le),be),{},{locale:e,LOCALE:e});var t=Ce(),n=t.deviceId,i=t.osName,o=t.uniPlatform,a=t.appId,s=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var c in t)Object.hasOwnProperty.call(t,c)&&-1===s.indexOf(c)&&delete t[c];return be=C(C({PLATFORM:o,OS:i,APPID:a,DEVICEID:n},function(){var e,t;try{if(r.getLaunchOptionsSync){if(r.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var n=r.getLaunchOptionsSync(),i=n.scene,o=n.channel;e=o,t=i}}catch(e){}return{channel:e,scene:t}}()),t),C(C(C({},Le),be),{},{locale:e,LOCALE:e})}var Te,we={sign:function(e,t){var n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),Y(n,t).toString()},wrappedRequest:function(e,t){return new Promise((function(n,r){t(Object.assign(e,{complete:function(e){e||(e={});var t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){var i=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",o=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return r(new ve({code:i,message:o,requestId:t}))}var a=e.data;if(a.error)return r(new ve({code:a.error.code,message:a.error.message,requestId:t}));a.result=a.data,a.requestId=t,delete a.data,n(a)}}))}))},toBase64:function(e){return O.stringify(A.parse(e))}},Ye=function(){function e(t){var n=this;(0,v.default)(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),this.config=Object.assign({},{endpoint:0===t.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},t),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=Se,this._getAccessTokenPromiseHub=new H({createPromise:function(){return n.requestAuth(n.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(e){if(!e.result||!e.result.accessToken)throw new ve({code:"AUTH_FAILED",message:"获取accessToken失败"});n.setAccessToken(e.result.accessToken)}))},retryRule:B})}return(0,m.default)(e,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"requestWrapped",value:function(e){return we.wrappedRequest(e,this.adapter.request)}},{key:"requestAuth",value:function(e){return this.requestWrapped(e)}},{key:"request",value:function(e,t){var n=this;return Promise.resolve().then((function(){return n.hasAccessToken?t?n.requestWrapped(e):n.requestWrapped(e).catch((function(t){return new Promise((function(e,n){!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((function(){return n.getAccessToken()})).then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))})):n.getAccessToken().then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))}))}},{key:"rebuildRequest",value:function(e){var t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=we.sign(t.data,this.config.clientSecret),t}},{key:"setupRequest",value:function(e,t){var n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),r={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,r["x-basement-token"]=this.accessToken),r["x-serverless-sign"]=we.sign(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:r}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getAccessToken();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(C(C({},this.setupRequest(t)),{},{timeout:e.timeout}))}},{key:"getOSSUploadOptionsFromPath",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFileToOSS",value:function(e){var t=this,n=e.url,r=e.formData,i=e.name,o=e.filePath,a=e.fileType,s=e.onUploadProgress;return new Promise((function(e,c){var u=t.adapter.uploadFile({url:n,formData:r,name:i,filePath:o,fileType:a,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(t){t&&t.statusCode<400?e(t):c(new ve({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){c(new ve({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&u&&"function"==typeof u.onProgressUpdate&&u.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFile",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,i,o,s,c,u,l,f,d,p,h,y,g,v,m,b,S,x,_,C,L;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.filePath,r=t.cloudPath,i=t.fileType,o=void 0===i?"image":i,s=t.cloudPathAsRealPath,c=void 0!==s&&s,u=t.onUploadProgress,l=t.config,"string"===N(r)){e.next=3;break}throw new ve({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(r=r.trim()){e.next=5;break}throw new ve({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(r)){e.next=7;break}throw new ve({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:if(f=l&&l.envType||this.config.envType,!(c&&("/"!==r[0]&&(r="/"+r),r.indexOf("\\")>-1))){e.next=10;break}throw new ve({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});case 10:return e.next=12,this.getOSSUploadOptionsFromPath({env:f,filename:c?r.split("/").pop():r,fileId:c?r:void 0});case 12:return d=e.sent.result,p="https://"+d.cdnDomain+"/"+d.ossPath,h=d.securityToken,y=d.accessKeyId,g=d.signature,v=d.host,m=d.ossPath,b=d.id,S=d.policy,x=d.ossCallbackUrl,_={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:y,Signature:g,host:v,id:b,key:m,policy:S,success_action_status:200},h&&(_["x-oss-security-token"]=h),x&&(C=JSON.stringify({callbackUrl:x,callbackBody:JSON.stringify({fileId:b,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),_.callback=we.toBase64(C)),L={url:"https://"+d.host,formData:_,fileName:"file",name:"file",filePath:n,fileType:o},e.next=27,this.uploadFileToOSS(Object.assign({},L,{onUploadProgress:u}));case 27:if(!x){e.next=29;break}return e.abrupt("return",{success:!0,filePath:n,fileID:p});case 29:return e.next=31,this.reportOSSUpload({id:b});case 31:if(!e.sent.success){e.next=33;break}return e.abrupt("return",{success:!0,filePath:n,fileID:p});case 33:throw new ve({code:"UPLOAD_FAILED",message:"文件上传失败"});case 34:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList;return new Promise((function(e,n){Array.isArray(t)&&0!==t.length||n(new ve({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),e({fileList:t.map((function(e){return{fileID:e,tempFileURL:e}}))})}))}},{key:"getFileInfo",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[0]:{},n=t.fileList,Array.isArray(n)&&0!==n.length){e.next=3;break}throw new ve({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});case 3:return r={method:"serverless.file.resource.info",params:JSON.stringify({id:n.map((function(e){return e.split("?")[0]})).join(",")})},e.next=6,this.request(this.setupRequest(r));case 6:return e.t0=e.sent.result,e.abrupt("return",{fileList:e.t0});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Ae={init:function(e){var t=new Ye(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Oe="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(e){e.local="local",e.none="none",e.session="session"}(Te||(Te={}));var De,Me=function(){},Ze=P((function(e,t){var n;e.exports=(n=w,function(e){var t=n,r=t.lib,i=r.WordArray,o=r.Hasher,a=t.algo,s=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),c[i]=n(e.pow(r,1/3)),i++),r++}();var u=[],l=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],f=n[6],d=n[7],p=0;p<64;p++){if(p<16)u[p]=0|e[t+p];else{var h=u[p-15],y=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=u[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[p]=y+u[p-7]+v+u[p-16]}var m=r&i^r&o^i&o,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),S=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&f)+c[p]+u[p];d=f,f=l,l=s,s=a+S|0,a=o,o=i,i=r,r=S+(b+m)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+f|0,n[7]=n[7]+d|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(l),t.HmacSHA256=o._createHmacHelper(l)}(Math),n.SHA256)})),ke=Ze,Ee=P((function(e,t){e.exports=w.HmacSHA256})),Re=function(){var e;if(!Promise){e=function(){},e.promise={};var t=function(){throw new ve({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise((function(t,n){e=function(e,r){return e?n(e):t(r)}}));return e.promise=n,e};function Ne(e){return void 0===e}function Xe(e){return"[object Null]"===Object.prototype.toString.call(e)}function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/([\s\S]+)\s+(请前往云开发AI小助手查看问题:.*)/,"$1")}function Je(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",r=0;r<e;r++)n+=t.charAt(Math.floor(62*Math.random()));return n}!function(e){e.WEB="web",e.WX_MP="wx_mp"}(De||(De={}));var Fe={adapter:null,runtime:void 0},Be=["anonymousUuidKey"],He=function(e){(0,p.default)(n,e);var t=L(n);function n(){var e;return(0,v.default)(this,n),e=t.call(this),Fe.adapter.root.tcbObject||(Fe.adapter.root.tcbObject={}),e}return(0,m.default)(n,[{key:"setItem",value:function(e,t){Fe.adapter.root.tcbObject[e]=t}},{key:"getItem",value:function(e){return Fe.adapter.root.tcbObject[e]}},{key:"removeItem",value:function(e){delete Fe.adapter.root.tcbObject[e]}},{key:"clear",value:function(){delete Fe.adapter.root.tcbObject}}]),n}(Me);function Ge(e,t){switch(e){case"local":return t.localStorage||new He;case"none":return new He;default:return t.sessionStorage||new He}}var je=function(){function e(t){if((0,v.default)(this,e),!this._storage){this._persistence=Fe.adapter.primaryStorage||t.persistence,this._storage=Ge(this._persistence,Fe.adapter);var n="access_token_".concat(t.env),r="access_token_expire_".concat(t.env),i="refresh_token_".concat(t.env),o="anonymous_uuid_".concat(t.env),a="login_type_".concat(t.env),s="token_type_".concat(t.env),c="user_info_".concat(t.env);this.keys={accessTokenKey:n,accessTokenExpireKey:r,refreshTokenKey:i,anonymousUuidKey:o,loginTypeKey:a,userInfoKey:c,deviceIdKey:"device_id",tokenTypeKey:s}}}return(0,m.default)(e,[{key:"updatePersistence",value:function(e){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var n=Ge(e,Fe.adapter);for(var r in this.keys){var i=this.keys[r];if(!t||!Be.includes(r)){var o=this._storage.getItem(i);Ne(o)||Xe(o)||(n.setItem(i,o),this._storage.removeItem(i))}}this._storage=n}}},{key:"setStore",value:function(e,t,n){if(this._storage){var r={version:n||"localCachev1",content:t},i=JSON.stringify(r);try{this._storage.setItem(e,i)}catch(e){throw e}}}},{key:"getStore",value:function(e,t){try{if(!this._storage)return}catch(e){return""}t=t||"localCachev1";var n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}},{key:"removeStore",value:function(e){this._storage.removeItem(e)}}]),e}(),Qe={},We={};function Ue(e){return Qe[e]}var Ke=(0,m.default)((function e(t,n){(0,v.default)(this,e),this.data=n||null,this.name=t})),$e=function(e){(0,p.default)(n,e);var t=L(n);function n(e,r){var i;return(0,v.default)(this,n),i=t.call(this,"error",{error:e,data:r}),i.error=e,i}return(0,m.default)(n)}(Ke),ze=new(function(){function e(){(0,v.default)(this,e),this._listeners={}}return(0,m.default)(e,[{key:"on",value:function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this._listeners),this}},{key:"off",value:function(e,t){return function(e,t,n){if(n&&n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this._listeners),this}},{key:"fire",value:function(e,t){if(e instanceof $e)return console.error(e.error),this;var n="string"==typeof e?new Ke(e,t||{}):e,r=n.name;if(this._listens(r)){n.target=this;var i,o=this._listeners[r]?(0,l.default)(this._listeners[r]):[],a=S(o);try{for(a.s();!(i=a.n()).done;){var s=i.value;s.call(this,n)}}catch(c){a.e(c)}finally{a.f()}}return this}},{key:"_listens",value:function(e){return this._listeners[e]&&this._listeners[e].length>0}}]),e}());function qe(e,t){ze.on(e,t)}function Ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ze.fire(e,t)}function et(e,t){ze.off(e,t)}var tt,nt="loginStateChanged",rt="loginStateExpire",it="loginTypeChanged",ot="anonymousConverted",at="refreshAccessToken";!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(tt||(tt={}));var st=function(){function e(){(0,v.default)(this,e),this._fnPromiseMap=new Map}return(0,m.default)(e,[{key:"run",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,i=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=this._fnPromiseMap.get(t),e.abrupt("return",(r||(r=new Promise(function(){var e=(0,f.default)(a.default.mark((function e(r,o){var s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i._runIdlePromise();case 3:return s=n(),e.t0=r,e.next=7,s;case 7:e.t1=e.sent,(0,e.t0)(e.t1),e.next=14;break;case 11:e.prev=11,e.t2=e["catch"](0),o(e.t2);case 14:return e.prev=14,i._fnPromiseMap.delete(t),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,11,14,17]])})));return function(t,n){return e.apply(this,arguments)}}()),this._fnPromiseMap.set(t,r)),r));case 2:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"_runIdlePromise",value:function(){return Promise.resolve()}}]),e}(),ct=function(){function e(t){(0,v.default)(this,e),this._singlePromise=new st,this._cache=Ue(t.env),this._baseURL="https://".concat(t.env,".ap-shanghai.tcb-api.tencentcloudapi.com"),this._reqClass=new Fe.adapter.reqClass({timeout:t.timeout,timeoutMsg:"请求在".concat(t.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]})}return(0,m.default)(e,[{key:"_getDeviceId",value:function(){if(this._deviceID)return this._deviceID;var e=this._cache.keys.deviceIdKey,t=this._cache.getStore(e);return"string"==typeof t&&t.length>=16&&t.length<=48||(t=Je(),this._cache.setStore(e,t)),this._deviceID=t,t}},{key:"_request",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,i,o,s,c,u=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=u.length>2&&void 0!==u[2]?u[2]:{},i={"x-request-id":Je(),"x-device-id":this._getDeviceId()},!r.withAccessToken){e.next=9;break}return o=this._cache.keys.tokenTypeKey,e.next=6,this.getAccessToken();case 6:s=e.sent,c=this._cache.getStore(o),i.authorization="".concat(c," ").concat(s);case 9:return e.abrupt("return",this._reqClass["get"===r.method?"get":"post"]({url:"".concat(this._baseURL).concat(t),data:n,headers:i}));case 10:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"_fetchAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i,o,s,c,u,l,d,p=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.loginTypeKey,r=t.accessTokenKey,i=t.accessTokenExpireKey,o=t.tokenTypeKey,s=this._cache.getStore(n),!s||s===tt.ANONYMOUS){e.next=3;break}throw new ve({code:"INVALID_OPERATION",message:"非匿名登录不支持刷新 access token"});case 3:return e.next=5,this._singlePromise.run("fetchAccessToken",(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p._request("/auth/v1/signin/anonymously",{},{method:"post"});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)}))));case 5:return c=e.sent,u=c.access_token,l=c.expires_in,d=c.token_type,e.abrupt("return",(this._cache.setStore(o,d),this._cache.setStore(r,u),this._cache.setStore(i,Date.now()+1e3*l),u));case 10:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"isAccessTokenExpired",value:function(e,t){var n=!0;return e&&t&&(n=t<Date.now()),n}},{key:"getAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i,o;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=this._cache.getStore(n),o=this._cache.getStore(r),e.abrupt("return",this.isAccessTokenExpired(i,o)?this._fetchAccessToken():i);case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.loginTypeKey,e.abrupt("return",(this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(i,tt.ANONYMOUS),this.getAccessToken()));case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getUserInfo",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._singlePromise.run("getUserInfo",(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t._request("/auth/v1/user/me",{},{withAccessToken:!0,method:"get"});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})))));case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),ut=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],lt={"X-SDK-Version":"1.3.5"};function ft(e,t,n){var r=e[t];e[t]=function(t){var i={},o={};n.forEach((function(n){var r=n.call(e,t),a=r.data,s=r.headers;Object.assign(i,a),Object.assign(o,s)}));var a=t.data;return a&&function(){var e;if(e=a,"[object FormData]"!==Object.prototype.toString.call(e))t.data=C(C({},a),i);else for(var n in i)a.append(n,i[n])}(),t.headers=C(C({},t.headers||{}),o),r.call(e,t)}}function dt(){var e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:C(C({},lt),{},{"x-seqid":e})}}var pt=function(){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.default)(this,e),this.config=n,this._reqClass=new Fe.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]}),this._cache=Ue(this.config.env),this._localCache=(t=this.config.env,We[t]),this.oauth=new ct(this.config),ft(this._reqClass,"post",[dt]),ft(this._reqClass,"upload",[dt]),ft(this._reqClass,"download",[dt])}return(0,m.default)(e,[{key:"post",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.post(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"upload",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.upload(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"download",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.download(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),e.prev=1,e.next=4,this._refreshAccessTokenPromise;case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),n=e.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!n){e.next=12;break}throw n;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this,[[1,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i,o,s,c,u,l,f,d,p,h;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,o=t.loginTypeKey,s=t.anonymousUuidKey,this._cache.removeStore(n),this._cache.removeStore(r),c=this._cache.getStore(i),c){e.next=5;break}throw new ve({message:"未登录CloudBase"});case 5:return u={refresh_token:c},e.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",u);case 8:if(l=e.sent,!l.data.code){e.next=21;break}if(f=l.data.code,"SIGN_PARAM_INVALID"!==f&&"REFRESH_TOKEN_EXPIRED"!==f&&"INVALID_REFRESH_TOKEN"!==f){e.next=20;break}if(this._cache.getStore(o)!==tt.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==f){e.next=19;break}return d=this._cache.getStore(s),p=this._cache.getStore(i),e.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:d,refresh_token:p});case 17:return h=e.sent,e.abrupt("return",(this.setRefreshToken(h.refresh_token),this._refreshAccessToken()));case 19:Ve(rt),this._cache.removeStore(i);case 20:throw new ve({code:l.data.code,message:"刷新access token失败:".concat(l.data.code)});case 21:if(!l.data.access_token){e.next=23;break}return e.abrupt("return",(Ve(at),this._cache.setStore(n,l.data.access_token),this._cache.setStore(r,l.data.access_token_expire+Date.now()),{accessToken:l.data.access_token,accessTokenExpire:l.data.access_token_expire}));case 23:l.data.refresh_token&&(this._cache.removeStore(i),this._cache.setStore(i,l.data.refresh_token),this._refreshAccessToken());case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i,o,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,this._cache.getStore(i)){e.next=3;break}throw new ve({message:"refresh token不存在,登录状态异常"});case 3:if(o=this._cache.getStore(n),s=this._cache.getStore(r),c=!0,e.t0=this._shouldRefreshAccessTokenHook,!e.t0){e.next=9;break}return e.next=8,this._shouldRefreshAccessTokenHook(o,s);case 8:e.t0=!e.sent;case 9:if(e.t1=e.t0,!e.t1){e.next=12;break}c=!1;case 12:return e.abrupt("return",(!o||!s||s<Date.now())&&c?this.refreshAccessToken():{accessToken:o,accessTokenExpire:s});case 13:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"request",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n,r){var i,o,s,c,u,l,f,d,p,h,y,g,v,m,b;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i="x-tcb-trace_".concat(this.config.env),o="application/x-www-form-urlencoded",s=C({action:t,env:this.config.env,dataVersion:"2019-08-16"},n),e.t0=-1===ut.indexOf(t),!e.t0){e.next=9;break}return this._cache.keys,e.next=8,this.oauth.getAccessToken();case 8:s.access_token=e.sent;case 9:if("storage.uploadFile"!==t){e.next=15;break}for(u in c=new FormData,c)c.hasOwnProperty(u)&&void 0!==c[u]&&c.append(u,s[u]);o="multipart/form-data",e.next=17;break;case 15:for(l in o="application/json",c={},s)void 0!==s[l]&&(c[l]=s[l]);case 17:return f={headers:{"content-type":o}},r&&r.timeout&&(f.timeout=r.timeout),r&&r.onUploadProgress&&(f.onUploadProgress=r.onUploadProgress),d=this._localCache.getStore(i),d&&(f.headers["X-TCB-Trace"]=d),p=n.parse,h=n.inQuery,y=n.search,g={env:this.config.env},p&&(g.parse=!0),h&&(g=C(C({},h),g)),v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+="".concat(o,"=").concat(encodeURIComponent(n[o]));return/^http(s)?\:\/\//.test(t+=i)?t:"".concat(e).concat(t)}(Oe,"//tcb-api.tencentcloudapi.com/web",g),y&&(v+=y),e.next=28,this.post(C({url:v,data:c},f));case 28:if(m=e.sent,b=m.header&&m.header["x-tcb-trace"],b&&this._localCache.setStore(i,b),(200===Number(m.status)||200===Number(m.statusCode))&&m.data){e.next=32;break}throw new ve({code:"NETWORK_ERROR",message:"network request error"});case 32:return e.abrupt("return",m);case 33:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"send",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,i,o,s=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=4,this.request(t,n,C(C({},r),{},{onUploadProgress:n.onUploadProgress}));case 4:if(i=e.sent,"ACCESS_TOKEN_DISABLED"!==i.data.code&&"ACCESS_TOKEN_EXPIRED"!==i.data.code||-1!==ut.indexOf(t)){e.next=14;break}return e.next=8,this.oauth.refreshAccessToken();case 8:return e.next=10,this.request(t,n,C(C({},r),{},{onUploadProgress:n.onUploadProgress}));case 10:if(o=e.sent,!o.data.code){e.next=13;break}throw new ve({code:o.data.code,message:Ie(o.data.message)});case 13:return e.abrupt("return",o.data);case 14:if(!i.data.code){e.next=16;break}throw new ve({code:i.data.code,message:Ie(i.data.message)});case 16:return e.abrupt("return",i.data);case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(i,e)}}]),e}(),ht={};function yt(e){return ht[e]}var gt=function(){function e(t){(0,v.default)(this,e),this.config=t,this._cache=Ue(t.env),this._request=yt(t.env)}return(0,m.default)(e,[{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(i,e)}},{key:"setAccessToken",value:function(e,t){var n=this._cache.keys,r=n.accessTokenKey,i=n.accessTokenExpireKey;this._cache.setStore(r,e),this._cache.setStore(i,t)}},{key:"refreshUserInfo",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,n=t.data,e.abrupt("return",(this.setLocalUserInfo(n),n));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e)}}]),e}(),vt=function(){function e(t){if((0,v.default)(this,e),!t)throw new ve({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=Ue(this._envId),this._request=yt(this._envId),this.setUserInfo()}return(0,m.default)(e,[{key:"linkWithTicket",value:function(e){if("string"!=typeof e)throw new ve({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}},{key:"linkWithRedirect",value:function(e){e.signInWithRedirect()}},{key:"updatePassword",value:function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}},{key:"updateEmail",value:function(e){return this._request.send("auth.updateEmail",{newEmail:e})}},{key:"updateUsername",value:function(e){if("string"!=typeof e)throw new ve({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}},{key:"getLinkedUidList",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return t=e.sent,n=t.data,r=!1,i=n.users,e.abrupt("return",(i.forEach((function(e){e.wxOpenId&&e.wxPublicId&&(r=!0)})),{users:i,hasPrimaryUid:r}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(e){return this._request.send("auth.setPrimaryUid",{uid:e})}},{key:"unlink",value:function(e){return this._request.send("auth.unlink",{platform:e})}},{key:"update",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,i,o,s,c,u,l;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.nickName,r=t.gender,i=t.avatarUrl,o=t.province,s=t.country,c=t.city,e.next=8,this._request.send("auth.updateUserInfo",{nickName:n,gender:r,avatarUrl:i,province:o,country:s,city:c});case 8:u=e.sent,l=u.data,this.setLocalUserInfo(l);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refresh",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.oauth.getUserInfo();case 2:return t=e.sent,e.abrupt("return",(this.setLocalUserInfo(t),t));case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var e=this,t=this._cache.keys.userInfoKey,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(t){e[t]=n[t]})),this.location={country:n.country,province:n.province,city:n.city}}},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this.setUserInfo()}}]),e}(),mt=function(){function e(t){if((0,v.default)(this,e),!t)throw new ve({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Ue(t);var n=this._cache.keys,r=n.refreshTokenKey,i=n.accessTokenKey,o=n.accessTokenExpireKey,a=this._cache.getStore(r),s=this._cache.getStore(i),c=this._cache.getStore(o);this.credential={refreshToken:a,accessToken:s,accessTokenExpire:c},this.user=new vt(t)}return(0,m.default)(e,[{key:"isAnonymousAuth",get:function(){return this.loginType===tt.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===tt.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===tt.WECHAT||this.loginType===tt.WECHAT_OPEN||this.loginType===tt.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),bt=function(e){(0,p.default)(n,e);var t=L(n);function n(){return(0,v.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._cache.updatePersistence("local"),e.next=3,this._request.oauth.getAccessToken();case 3:return Ve(nt),Ve(it,{env:this.config.env,loginType:tt.ANONYMOUS,persistence:"local"}),t=new mt(this.config.env),e.next=8,t.user.refresh();case 8:return e.abrupt("return",t);case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,i,o,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this._cache.keys,r=n.anonymousUuidKey,i=n.refreshTokenKey,o=this._cache.getStore(r),s=this._cache.getStore(i),e.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:s,ticket:t});case 7:if(c=e.sent,!c.refresh_token){e.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(c.refresh_token),e.next=13,this._request.refreshAccessToken();case 13:return Ve(ot,{env:this.config.env}),Ve(it,{loginType:tt.CUSTOM,persistence:"local"}),e.abrupt("return",{credential:{refreshToken:c.refresh_token}});case 16:throw new ve({message:"匿名转化失败"});case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(e){var t=this._cache.keys,n=t.anonymousUuidKey,r=t.loginTypeKey;this._cache.removeStore(n),this._cache.setStore(n,e),this._cache.setStore(r,tt.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),n}(gt),St=function(e){(0,p.default)(n,e);var t=L(n);function n(){return(0,v.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ve({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(n)||""});case 5:if(r=e.sent,!r.refresh_token){e.next=15;break}return this.setRefreshToken(r.refresh_token),e.next=10,this._request.refreshAccessToken();case 10:return Ve(nt),Ve(it,{env:this.config.env,loginType:tt.CUSTOM,persistence:this.config.persistence}),e.next=14,this.refreshUserInfo();case 14:return e.abrupt("return",new mt(this.config.env));case 15:throw new ve({message:"自定义登录失败"});case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),n}(gt),xt=function(e){(0,p.default)(n,e);var t=L(n);function n(){return(0,v.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,i,o,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ve({code:"PARAM_ERROR",message:"email must be a string"});case 2:return r=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:n,refresh_token:this._cache.getStore(r)||""});case 5:if(i=e.sent,o=i.refresh_token,s=i.access_token,c=i.access_token_expire,!o){e.next=22;break}if(this.setRefreshToken(o),!s||!c){e.next=15;break}this.setAccessToken(s,c),e.next=17;break;case 15:return e.next=17,this._request.refreshAccessToken();case 17:return e.next=19,this.refreshUserInfo();case 19:return Ve(nt),Ve(it,{env:this.config.env,loginType:tt.EMAIL,persistence:this.config.persistence}),e.abrupt("return",new mt(this.config.env));case 22:throw i.code?new ve({code:i.code,message:"邮箱登录失败: ".concat(i.message)}):new ve({message:"邮箱登录失败"});case 23:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"activate",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.activateEndUserMail",{token:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(gt),_t=function(e){(0,p.default)(n,e);var t=L(n);function n(){return(0,v.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,i,o,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ve({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof n&&(n="",console.warn("password is empty")),r=this._cache.keys.refreshTokenKey,e.next=6,this._request.send("auth.signIn",{loginType:tt.USERNAME,username:t,password:n,refresh_token:this._cache.getStore(r)||""});case 6:if(i=e.sent,o=i.refresh_token,s=i.access_token_expire,c=i.access_token,!o){e.next=23;break}if(this.setRefreshToken(o),!c||!s){e.next=16;break}this.setAccessToken(c,s),e.next=18;break;case 16:return e.next=18,this._request.refreshAccessToken();case 18:return e.next=20,this.refreshUserInfo();case 20:return Ve(nt),Ve(it,{env:this.config.env,loginType:tt.USERNAME,persistence:this.config.persistence}),e.abrupt("return",new mt(this.config.env));case 23:throw i.code?new ve({code:i.code,message:"用户名密码登录失败: ".concat(i.message)}):new ve({message:"用户名密码登录失败"});case 24:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(gt),Ct=function(){function e(t){(0,v.default)(this,e),this.config=t,this._cache=Ue(t.env),this._request=yt(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),qe(it,this._onLoginTypeChanged)}return(0,m.default)(e,[{key:"currentUser",get:function(){var e=this.hasLoginState();return e&&e.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new bt(this.config)}},{key:"customAuthProvider",value:function(){return new St(this.config)}},{key:"emailAuthProvider",value:function(){return new xt(this.config)}},{key:"usernameAuthProvider",value:function(){return new _t(this.config)}},{key:"signInAnonymously",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new bt(this.config).signIn());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new xt(this.config).signIn(t,n));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(e,t){return new _t(this.config).signIn(e,t)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new bt(this.config)),qe(ot,this._onAnonymousConverted),e.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"signOut",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loginType!==tt.ANONYMOUS){e.next=2;break}throw new ve({message:"匿名用户不支持登出操作"});case 2:if(t=this._cache.keys,n=t.refreshTokenKey,r=t.accessTokenKey,i=t.accessTokenExpireKey,o=this._cache.getStore(n),o){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,this._request.send("auth.logout",{refresh_token:o});case 7:return s=e.sent,e.abrupt("return",(this._cache.removeStore(n),this._cache.removeStore(r),this._cache.removeStore(i),Ve(nt),Ve(it,{env:this.config.env,loginType:tt.NULL,persistence:this.config.persistence}),s));case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(e){var t=this;qe(nt,(function(){var n=t.hasLoginState();e.call(t,n)}));var n=this.hasLoginState();e.call(this,n)}},{key:"onLoginStateExpired",value:function(e){qe(rt,e.bind(this))}},{key:"onAccessTokenRefreshed",value:function(e){qe(at,e.bind(this))}},{key:"onAnonymousConverted",value:function(e){qe(ot,e.bind(this))}},{key:"onLoginTypeChanged",value:function(e){var t=this;qe(it,(function(){var n=t.hasLoginState();e.call(t,n)}))}},{key:"getAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.getAccessToken();case 2:return e.t0=e.sent.accessToken,e.t1=this.config.env,e.abrupt("return",{accessToken:e.t0,env:e.t1});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var e=this._cache.keys,t=e.accessTokenKey,n=e.accessTokenExpireKey,r=this._cache.getStore(t),i=this._cache.getStore(n);return this._request.oauth.isAccessTokenExpired(r,i)?null:new mt(this.config.env)}},{key:"isUsernameRegistered",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ve({code:"PARAM_ERROR",message:"username must be a string"});case 2:return e.next=4,this._request.send("auth.isUsernameRegistered",{username:t});case 4:return n=e.sent,r=n.data,e.abrupt("return",r&&r.isRegistered);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new St(this.config).signIn(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(e){return e.code?e:C(C({},e.data),{},{requestId:e.seqId})}))}},{key:"getAuthHeader",value:function(){var e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+r}}},{key:"_onAnonymousConverted",value:function(e){var t=e.data.env;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(e){var t=e.data,n=t.loginType,r=t.persistence,i=t.env;i===this.config.env&&(this._cache.updatePersistence(r),this._cache.setStore(this._cache.keys.loginTypeKey,n))}}]),e}(),Lt=function(e,t){t=t||Re();var n=yt(this.config.env),r=e.cloudPath,i=e.filePath,o=e.onUploadProgress,a=e.fileType,s=void 0===a?"image":a;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){var a=e.data,c=a.url,u=a.authorization,l=a.token,f=a.fileId,d=a.cosFileId,p=e.requestId,h={key:r,signature:u,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":l};n.upload({url:c,data:h,file:i,name:r,fileType:s,onUploadProgress:o}).then((function(e){201===e.statusCode?t(null,{fileID:f,requestId:p}):t(new ve({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(e.data)}))})).catch((function(e){t(e)}))})).catch((function(e){t(e)})),t.promise},Pt=function(e,t){t=t||Re();var n=yt(this.config.env),r=e.cloudPath;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){t(null,e)})).catch((function(e){t(e)})),t.promise},Tt=function(e,t){var n=e.fileList;if(t=t||Re(),!n||!Array.isArray(n))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};var r,i=S(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(!o||"string"!=typeof o)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"}}}catch(s){i.e(s)}finally{i.f()}var a={fileid_list:n};return yt(this.config.env).send("storage.batchDeleteFile",a).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},wt=function(e,t){var n=e.fileList;t=t||Re(),n&&Array.isArray(n)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});var r,i=[],o=S(n);try{for(o.s();!(r=o.n()).done;){var a=r.value;"object"==(0,u.default)(a)?(a.hasOwnProperty("fileID")&&a.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),i.push({fileid:a.fileID,max_age:a.maxAge})):"string"==typeof a?i.push({fileid:a}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"})}}catch(c){o.e(c)}finally{o.f()}var s={file_list:i};return yt(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},Yt=function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.fileID,e.next=3,wt.call(this,{fileList:[{fileID:r,maxAge:600}]});case 3:if(i=e.sent.fileList[0],"SUCCESS"===i.code){e.next=6;break}return e.abrupt("return",n?n(i):new Promise((function(e){e(i)})));case 6:if(o=yt(this.config.env),s=i.download_url,s=encodeURI(s),n){e.next=10;break}return e.abrupt("return",o.download({url:s}));case 10:return e.t0=n,e.next=13,o.download({url:s});case 13:e.t1=e.sent,(0,e.t0)(e.t1);case 15:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),At=function(e,t){var n,r=e.name,i=e.data,o=e.query,a=e.parse,s=e.search,c=e.timeout,u=t||Re();try{n=i?JSON.stringify(i):""}catch(r){return Promise.reject(r)}if(!r)return Promise.reject(new ve({code:"PARAM_ERROR",message:"函数名不能为空"}));var l={inQuery:o,parse:a,search:s,function_name:r,request_data:n};return yt(this.config.env).send("functions.invokeFunction",l,{timeout:c}).then((function(e){if(e.code)u(null,e);else{var t=e.data.response_data;if(a)u(null,{result:t,requestId:e.requestId});else try{t=JSON.parse(e.data.response_data),u(null,{result:t,requestId:e.requestId})}catch(e){u(new ve({message:"response data must be json"}))}}return u.promise})).catch((function(e){u(e)})),u.promise},Ot={timeout:15e3,persistence:"session"},Dt={},Mt=function(){function e(t){(0,v.default)(this,e),this.config=t||this.config,this.authObj=void 0}return(0,m.default)(e,[{key:"init",value:function(t){switch(Fe.adapter||(this.requestClient=new Fe.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"请求在".concat((t.timeout||5e3)/1e3,"s内未完成,已中断")})),this.config=C(C({},Ot),t),!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new e(this.config)}},{key:"auth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.persistence;if(this.authObj)return this.authObj;var n,r=t||Fe.adapter.primaryStorage||Ot.persistence;return r!==this.config.persistence&&(this.config.persistence=r),function(e){var t=e.env;Qe[t]=new je(e),We[t]=new je(C(C({},e),{},{persistence:"local"}))}(this.config),n=this.config,ht[n.env]=new pt(n),this.authObj=new Ct(this.config),this.authObj}},{key:"on",value:function(e,t){return qe.apply(this,[e,t])}},{key:"off",value:function(e,t){return et.apply(this,[e,t])}},{key:"callFunction",value:function(e,t){return At.apply(this,[e,t])}},{key:"deleteFile",value:function(e,t){return Tt.apply(this,[e,t])}},{key:"getTempFileURL",value:function(e,t){return wt.apply(this,[e,t])}},{key:"downloadFile",value:function(e,t){return Yt.apply(this,[e,t])}},{key:"uploadFile",value:function(e,t){return Lt.apply(this,[e,t])}},{key:"getUploadMetadata",value:function(e,t){return Pt.apply(this,[e,t])}},{key:"registerExtension",value:function(e){Dt[e.name]=e}},{key:"invokeExtension",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=Dt[t],r){e.next=3;break}throw new ve({message:"扩展".concat(t," 必须先注册")});case 3:return e.next=5,r.invoke(n,this);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"useAdapters",value:function(e){var t=function(e){var t,n,r=(t=e,"[object Array]"===Object.prototype.toString.call(t)?e:[e]),i=S(r);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=o.isMatch,s=o.genAdapter,c=o.runtime;if(a())return{adapter:s(),runtime:c}}}catch(u){i.e(u)}finally{i.f()}}(e)||{},n=t.adapter,r=t.runtime;n&&(Fe.adapter=n),r&&(Fe.runtime=r)}}]),e}(),Zt=new Mt;function kt(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+=o+"="+encodeURIComponent(n[o]);return/^http(s)?:\/\//.test(t+=i)?t:""+e+t}var Et=function(){function e(){(0,v.default)(this,e)}return(0,m.default)(e,[{key:"get",value:function(e){var t=e.url,n=e.data,r=e.headers,i=e.timeout;return new Promise((function(e,o){Se.request({url:kt("https:",t),data:n,method:"GET",header:r,timeout:i,success:function(t){e(t)},fail:function(e){o(e)}})}))}},{key:"post",value:function(e){var t=e.url,n=e.data,r=e.headers,i=e.timeout;return new Promise((function(e,o){Se.request({url:kt("https:",t),data:n,method:"POST",header:r,timeout:i,success:function(t){e(t)},fail:function(e){o(e)}})}))}},{key:"upload",value:function(e){return new Promise((function(t,n){var r=e.url,i=e.file,o=e.data,a=e.headers,s=e.fileType,c=Se.uploadFile({url:kt("https:",r),name:"file",formData:Object.assign({},o),filePath:i,fileType:s,header:a,success:function(e){var n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&o.success_action_status&&(n.statusCode=parseInt(o.success_action_status,10)),t(n)},fail:function(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(t){e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}]),e}(),Rt={setItem:function(e,t){Se.setStorageSync(e,t)},getItem:function(e){return Se.getStorageSync(e)},removeItem:function(e){Se.removeStorageSync(e)},clear:function(){Se.clearStorageSync()}},Nt={genAdapter:function(){return{root:{},reqClass:Et,localStorage:Rt,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Zt.useAdapters(Nt);var Xt=Zt,It=Xt.init;Xt.init=function(e){e.env=e.spaceId;var t=It.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;var n=t.auth;return t.auth=function(e){var t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(e){var n;t[e]=(n=t[e],function(e){e=e||{};var t=ge(e),r=t.success,i=t.fail,o=t.complete;if(!(r||i||o))return n.call(this,e);n.call(this,e).then((function(e){r&&r(e),o&&o(e)}),(function(e){i&&i(e),o&&o(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Jt=Xt;function Ft(e,t){return Bt.apply(this,arguments)}function Bt(){return Bt=(0,f.default)(a.default.mark((function e(t,n){var r,i,o;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r="http://".concat(t,":").concat(n,"/system/ping"),e.prev=1,e.next=4,o={url:r,timeout:500},new Promise((function(e,t){Se.request(C(C({},o),{},{success:function(t){e(t)},fail:function(e){t(e)}}))}));case 4:return i=e.sent,e.abrupt("return",!(!i.data||0!==i.data.code));case 8:return e.prev=8,e.t0=e["catch"](1),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),Bt.apply(this,arguments)}function Ht(e,t){return Gt.apply(this,arguments)}function Gt(){return Gt=(0,f.default)(a.default.mark((function e(t,n){var r,i,o;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=0;case 1:if(!(i<t.length)){e.next=11;break}return o=t[i],e.next=5,Ft(o,n);case 5:if(!e.sent){e.next=8;break}return r=o,e.abrupt("break",11);case 8:i++,e.next=1;break;case 11:return e.abrupt("return",{address:r,port:n});case 12:case"end":return e.stop()}}),e)}))),Gt.apply(this,arguments)}var jt={"serverless.file.resource.generateProximalSign":"storage/generate-proximal-sign","serverless.file.resource.report":"storage/report","serverless.file.resource.delete":"storage/delete","serverless.file.resource.getTempFileURL":"storage/get-temp-file-url"},Qt=function(){function e(t){if((0,v.default)(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),!t.endpoint)throw new Error("集群空间未配置ApiEndpoint,配置后需要重新关联服务空间后生效");this.config=Object.assign({},t),this.config.provider="dcloud",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.adapter=Se}return(0,m.default)(e,[{key:"request",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r=this,i=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(i.length>1&&void 0!==i[1])||i[1],n=!1,!n){e.next=8;break}return e.next=5,this.setupLocalRequest(t);case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0=this.setupRequest(t);case 9:return t=e.t0,e.abrupt("return",Promise.resolve().then((function(){return n?r.requestLocal(t):we.wrappedRequest(t,r.adapter.request)})));case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"requestLocal",value:function(e){var t=this;return new Promise((function(n,r){t.adapter.request(Object.assign(e,{complete:function(e){if(e||(e={}),!e.statusCode||e.statusCode>=400){var t=e.data&&e.data.code||"SYS_ERR",i=e.data&&e.data.message||"request:fail";return r(new ve({code:t,message:i}))}n({success:!0,result:e.data})}}))}))}},{key:"setupRequest",value:function(e){var t=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};n["x-serverless-sign"]=we.sign(t,this.config.clientSecret);var r=Pe();n["x-client-info"]=encodeURIComponent(JSON.stringify(r));var i=xe(),o=i.token;return n["x-client-token"]=o,{url:this.config.requestUrl,method:"POST",data:t,dataType:"json",header:JSON.parse(JSON.stringify(n))}}},{key:"setupLocalRequest",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,i,o,s,c,u,l,f;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Pe(),r=xe(),i=r.token,o=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:n,token:i}),s=this.__dev__&&this.__dev__.debugInfo||{},c=s.address,u=s.servePort,e.next=9,Ht(c,u);case 9:return l=e.sent,f=l.address,e.abrupt("return",{url:"http://".concat(f,":").concat(u,"/").concat(jt[t.method]),method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))});case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(t,!1)}},{key:"getUploadFileOptions",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(t)}},{key:"reportUploadFile",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(t)}},{key:"uploadFile",value:function(e){var t,n=this,r=e.filePath,i=e.cloudPath,o=e.fileType,a=void 0===o?"image":o,s=e.onUploadProgress;if(!i)throw new ve({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});return this.getUploadFileOptions({cloudPath:i}).then((function(e){var i=e.result,o=i.url,c=i.formData,u=i.name;return t=e.result.fileUrl,new Promise((function(e,t){var i=n.adapter.uploadFile({url:o,formData:c,name:u,filePath:r,fileType:a,success:function(n){n&&n.statusCode<400?e(n):t(new ve({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){t(new ve({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&i&&"function"==typeof i.onProgressUpdate&&i.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))})).then((function(){return n.reportUploadFile({cloudPath:i})})).then((function(e){return new Promise((function(n,i){e.success?n({success:!0,filePath:r,fileID:t}):i(new ve({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,n={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:t})};return this.request(n).then((function(e){if(e.success)return e.result;throw new ve({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList,n=e.maxAge;if(!Array.isArray(t)||0===t.length)throw new ve({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});var r={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:t,maxAge:n})};return this.request(r).then((function(e){if(e.success)return{fileList:e.result.fileList.map((function(e){return{fileID:e.fileID,tempFileURL:e.tempFileURL}}))};throw new ve({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}}]),e}(),Wt={init:function(e){var t=new Qt(e),n={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Ut=P((function(e,t){e.exports=w.enc.Hex}));function Kt(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function $t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,r=t.functionName,i=t.method,o=t.headers,a=t.signHeaderKeys,s=void 0===a?[]:a,u=t.config,l=String(Date.now()),f=Kt(),d=Object.assign({},o,{"x-from-app-id":u.spaceAppId,"x-from-env-id":u.spaceId,"x-to-env-id":u.spaceId,"x-from-instance-id":l,"x-from-function-name":r,"x-client-timestamp":l,"x-alipay-source":"client","x-request-id":f,"x-alipay-callid":f,"x-trace-id":f}),p=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(s),h=e.split("?")||[],y=(0,c.default)(h,2),g=y[0],v=void 0===g?"":g,m=y[1],b=void 0===m?"":m,S=function(e){var t="HMAC-SHA256",n=e.signedHeaders.join(";"),r=e.signedHeaders.map((function(t){return"".concat(t.toLowerCase(),":").concat(e.headers[t],"\n")})).join(""),i=ke(e.body).toString(Ut),o="".concat(e.method.toUpperCase(),"\n").concat(e.path,"\n").concat(e.query,"\n").concat(r,"\n").concat(n,"\n").concat(i,"\n"),a=ke(o).toString(Ut),s="".concat(t,"\n").concat(e.timestamp,"\n").concat(a,"\n"),c=Ee(s,e.secretKey).toString(Ut);return"".concat(t," Credential=").concat(e.secretId,", SignedHeaders=").concat(n,", Signature=").concat(c)}({path:v,query:b,method:i,headers:d,timestamp:l,body:JSON.stringify(n),secretId:u.accessKey,secretKey:u.secretKey,signedHeaders:p.sort()});return{url:"".concat(u.endpoint).concat(e),headers:Object.assign({},d,{Authorization:S})}}function zt(e){var t=e.url,n=e.data,r=e.method,i=void 0===r?"POST":r,o=e.headers,a=void 0===o?{}:o,s=e.timeout;return new Promise((function(e,r){Se.request({url:t,method:i,data:"object"==(0,u.default)(n)?JSON.stringify(n):n,header:a,dataType:"json",timeout:s,complete:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=a["x-trace-id"]||"";if(!t.statusCode||t.statusCode>=400){var i=t.data||{},o=i.message,s=i.errMsg,c=i.trace_id;return r(new ve({code:"SYS_ERR",message:o||s||"request:fail",requestId:c||n}))}e({status:t.statusCode,data:t.data,headers:t.header,requestId:n})}})}))}function qt(e,t){var n=e.path,r=e.data,i=e.method,o=void 0===i?"GET":i,a=$t(n,{functionName:"",data:r,method:o,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t}),s=a.url,c=a.headers;return zt({url:s,data:r,method:o,headers:c}).then((function(e){var t=e.data||{};if(!t.success)throw new ve({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((function(e){throw new ve({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Vt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new ve({code:"INVALID_PARAM",message:"fileID不合法"});var r=t.substring(0,n),i=t.substring(n+1);return r!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),i}function en(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}var tn=function(){function e(t){(0,v.default)(this,e),this.config=t}return(0,m.default)(e,[{key:"signedURL",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/ws/function/".concat(e),r=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),i=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:Kt(),timestamp:""+Date.now()}),o=[n,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return i[e]?"".concat(e,"=").concat(i[e]):null})).filter(Boolean).join("&"),"host:".concat(r)].join("\n"),a=["HMAC-SHA256",ke(o).toString(Ut)].join("\n"),s=Ee(a,this.config.secretKey).toString(Ut),c=Object.keys(i).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(i[e]))})).join("&");return"".concat(this.config.wsEndpoint).concat(n,"?").concat(c,"&signature=").concat(s)}}]),e}(),nn=function(){function e(t){if((0,v.default)(this,e),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),t.endpoint){if("string"!=typeof t.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(t.endpoint))throw new Error("endpoint must start with https://");t.endpoint=t.endpoint.replace(/\/$/,"")}this.config=Object.assign({},t,{endpoint:t.endpoint||"https://".concat(t.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:t.wsEndpoint||"wss://".concat(t.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new tn(this.config)}return(0,m.default)(e,[{key:"callFunction",value:function(e){return function(e,t){var n=e.name,r=e.data,i=e.async,o=void 0!==i&&i,a=e.timeout,s="POST",c={"x-to-function-name":n};o&&(c["x-function-invoke-type"]="async");var u=$t("/functions/invokeFunction",{functionName:n,data:r,method:s,headers:c,signHeaderKeys:["x-to-function-name"],config:t}),l=u.url,f=u.headers;return zt({url:l,data:r,method:s,headers:f,timeout:a}).then((function(e){var t=0;if(o){var n=e.data||{};t="200"===n.errCode?0:n.errCode,e.data=n.data||{},e.errMsg=n.errMsg}if(0!==t)throw new ve({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((function(e){throw new ve({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}},{key:"uploadFileToOSS",value:function(e){var t=e.url,n=e.filePath,r=e.fileType,i=e.formData,o=e.onUploadProgress;return new Promise((function(e,a){var s=Se.uploadFile({url:t,filePath:n,fileType:r,formData:i,name:"file",success:function(t){t&&t.statusCode<400?e(t):a(new ve({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){a(new ve({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(e){o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,i,o,s,c,u,l,f,d,p;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.filePath,r=t.cloudPath,i=void 0===r?"":r,o=t.fileType,s=void 0===o?"image":o,c=t.onUploadProgress,"string"===N(i)){e.next=3;break}throw new ve({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(i=i.trim()){e.next=5;break}throw new ve({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(i)){e.next=7;break}throw new ve({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:return e.next=9,qt({path:"/".concat(i.replace(/^\//,""),"?post_url")},this.config);case 9:return u=e.sent,l=u.file_id,f=u.upload_url,d=u.form_data,p=d&&d.reduce((function(e,t){return e[t.key]=t.value,e}),{}),e.abrupt("return",this.uploadFileToOSS({url:f,filePath:n,fileType:s,formData:p,onUploadProgress:c}).then((function(){return{fileID:l}})));case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.fileList,e.abrupt("return",new Promise((function(e,t){(!n||n.length<0)&&e({code:"INVALID_PARAM",message:"fileList不能为空数组"}),n.length>50&&e({code:"INVALID_PARAM",message:"fileList数组长度不能超过50"});var i,o=[],a=S(n);try{for(a.s();!(i=a.n()).done;){var s=i.value,c=void 0;"string"!==N(s)&&e({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});try{c=Vt.call(r,s)}catch(e){console.warn(e.errCode,e.errMsg),c=s}o.push({file_id:c,expire:600})}}catch(u){a.e(u)}finally{a.f()}qt({path:"/?download_url",data:{file_list:o},method:"POST"},r.config).then((function(t){var n=t.file_list,i=void 0===n?[]:n;e({fileList:i.map((function(e){return{fileID:en.call(r,e.file_id),tempFileURL:e.download_url}}))})})).catch((function(e){return t(e)}))})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.name,r=t.query,e.abrupt("return",Se.connectSocket({url:this._websocket.signedURL(n,r),complete:function(){}}));case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),rn={init:function(e){e.provider="alipay";var t=new nn(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function on(e){var t,n=e.data;t=Pe();var r=JSON.parse(JSON.stringify(n||{}));if(Object.assign(r,{clientInfo:t}),!r.uniIdToken){var i=xe(),o=i.token;o&&(r.uniIdToken=o)}return r}var an=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}],sn=/[\\^$.*+?()[\]{}|]/g,cn=RegExp(sn.source);function un(e,t,n){return e.replace(new RegExp((r=t)&&cn.test(r)?r.replace(sn,"\\$&"):r,"g"),n);var r}var ln={NONE:"none",REQUEST:"request",RESPONSE:"response",BOTH:"both"},fn="_globalUniCloudStatus",dn="_globalUniCloudSecureNetworkCache__{spaceId}";var pn;pn="0123456789abcdef";var hn="uni-secure-network",yn={SYSTEM_ERROR:{code:2e4,message:"System error"},APP_INFO_INVALID:{code:20101,message:"Invalid client"},GET_ENCRYPT_KEY_FAILED:{code:20102,message:"Get encrypt key failed"}};function gn(e){var t=e||{},n=t.errSubject,r=t.subject,i=t.errCode,o=t.errMsg,a=t.code,s=t.message,c=t.cause;return new ve({subject:n||r||hn,code:i||a||yn.SYSTEM_ERROR.code,message:o||s,cause:c})}var vn;function mn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.secretType;return t===ln.REQUEST||t===ln.RESPONSE||t===ln.BOTH}function bn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.data,r=void 0===n?{}:n;return"app"===U&&"DCloud-clientDB"===t&&"encryption"===r.redirectTo&&"getAppClientKey"===r.action}function Sn(e){e.functionName,e.result,e.logPvd}function xn(e){var t=e.callFunction,n=function(n){var r=this,i=n.name;n.data=on.call(e,{data:n.data});var o={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],a=mn(n),s=bn(n),c=a||s;return t.call(this,n).then((function(e){return e.errCode=0,!c&&Sn.call(r,{functionName:i,result:e,logPvd:o}),Promise.resolve(e)}),(function(e){return!c&&Sn.call(r,{functionName:i,result:e,logPvd:o}),e&&e.message&&(e.message=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.extraInfo,i=void 0===r?{}:r,o=e.formatter,a=void 0===o?[]:o,s=0;s<a.length;s++){var c=a[s],u=c.rule,l=c.content,f=c.mode,d=n.match(u);if(d){for(var p=l,h=1;h<d.length;h++)p=un(p,"{$".concat(h,"}"),d[h]);for(var y in i)p=un(p,"{".concat(y,"}"),i[y]);return"replace"===f?p:n+p}}return n}({message:"[".concat(n.name,"]: ").concat(e.message),formatter:an,extraInfo:{functionName:i}})),Promise.reject(e)}))};e.callFunction=function(t){var r,i,o=e.config,a=o.provider,s=o.spaceId,c=t.name;return t.data=t.data||{},r=n,r=r.bind(e),i=bn(t)?n.call(e,t):function(e){var t=e.name,n=e.data,r=void 0===n?{}:n;return"mp-weixin"===U&&"uni-id-co"===t&&"secureNetworkHandshakeByWeixin"===r.method}(t)?r.call(e,t):mn(t)?new vn({secretType:t.secretType,uniCloudIns:e}).wrapEncryptDataCallFunction(n.bind(e))(t):function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=e.functionName,i=Ce(),o=i.appId,a=i.uniPlatform,s=i.osName,c=a;"app"===a&&(c=s);var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=W;if(!r)return{};t=function(e){return"tencent"===e?"tcb":e}(t);var i=r.find((function(e){return e.provider===t&&e.spaceId===n}));return i&&i.config}({provider:t,spaceId:n});if(!u||!u.accessControl||!u.accessControl.enable)return!1;var l=u.accessControl.function||{},f=Object.keys(l);if(0===f.length)return!0;var d=function(e,t){for(var n,r,i,o=0;o<e.length;o++){var a=e[o];a!==t?"*"!==a?a.split(",").map((function(e){return e.trim()})).indexOf(t)>-1&&(r=a):i=a:n=a}return n||r||i}(f,r);if(!d)return!1;if((l[d]||[]).find((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.appId===o&&(e.platform||"").toLowerCase()===c.toLowerCase()})))return!0;throw console.error("此应用[appId: ".concat(o,", platform: ").concat(c,"]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),gn(yn.APP_INFO_INVALID)}({provider:a,spaceId:s,functionName:c})?new vn({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):r(t),Object.defineProperty(i,"result",{get:function(){return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),i.then((function(e){return"undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e}))}}vn="mp-weixin"!==U&&"app"!==U?function(){return(0,m.default)((function e(){throw(0,v.default)(this,e),gn({message:"Platform ".concat(U," is not supported by secure network")})}))}():function(){return(0,m.default)((function e(){throw(0,v.default)(this,e),gn({message:"Platform ".concat(U," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var _n=Symbol("CLIENT_DB_INTERNAL");function Cn(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=_n,e.inspect=null,e.__ob__=void 0,new Proxy(e,{get:function(e,n,r){if("_uniClient"===n)return null;if("symbol"==(0,u.default)(n))return e[n];if(n in e||"string"!=typeof n){var i=e[n];return"function"==typeof i?i.bind(e):i}return t.get(e,n,r)}})}function Ln(e){return{on:function(t,n){e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:function(t,n){e[t]=e[t]||[];var r=e[t].indexOf(n);-1!==r&&e[t].splice(r,1)}}}var Pn=["db.Geo","db.command","command.aggregate"];function Tn(e,t){return Pn.indexOf("".concat(e,".").concat(t))>-1}function wn(e){switch(N(e)){case"array":return e.map((function(e){return wn(e)}));case"object":return e._internalType===_n||Object.keys(e).forEach((function(t){e[t]=wn(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Yn(e){return e&&e.content&&e.content.$method}var An=function(){function e(t,n,r){(0,v.default)(this,e),this.content=t,this.prevStage=n||null,this.udb=null,this._database=r}return(0,m.default)(e,[{key:"toJSON",value:function(){for(var e=this,t=[e.content];e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((function(e){return{$method:e.$method,$param:wn(e.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var e=this.toJSON().$db.find((function(e){return"action"===e.$method}));return e&&e.$param&&e.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(e){return"action"!==e.$method}))}}},{key:"isAggregate",get:function(){for(var e=this;e;){var t=Yn(e),n=Yn(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}},{key:"isCommand",get:function(){for(var e=this;e;){if("command"===Yn(e))return!0;e=e.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var e=this;e;){var t=Yn(e),n=Yn(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}},{key:"getNextStageFn",value:function(e){var t=this;return function(){return On({$method:e,$param:wn(Array.from(arguments))},t,t._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}},{key:"_send",value:function(e,t){var n=this.getAction(),r=this.getCommand();return r.$db.push({$method:e,$param:wn(t)}),this._database._callCloudFunction({action:n,command:r})}}]),e}();function On(e,t,n){return Cn(new An(e,t,n),{get:function(e,t){var r="db";return e&&e.content&&(r=e.content.$method),Tn(r,t)?On({$method:t},e,n):function(){return On({$method:t,$param:wn(Array.from(arguments))},e,n)}}})}function Dn(e){var t=e.path,n=e.method;return function(){function e(){(0,v.default)(this,e),this.param=Array.from(arguments)}return(0,m.default)(e,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,l.default)(t.map((function(e){return{$method:e}}))),[{$method:n,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),e}()}var Mn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.uniClient,r=void 0===n?{}:n,i=t.isJQL,o=void 0!==i&&i;(0,v.default)(this,e),this._uniClient=r,this._authCallBacks={},this._dbCallBacks={},r._isDefault&&(this._dbCallBacks=q("_globalUniCloudDatabaseCallback")),o||(this.auth=Ln(this._authCallBacks)),this._isJQL=o,Object.assign(this,Ln(this._dbCallBacks)),this.env=Cn({},{get:function(e,t){return{$env:t}}}),this.Geo=Cn({},{get:function(e,t){return Dn({path:["Geo"],method:t})}}),this.serverDate=Dn({path:[],method:"serverDate"}),this.RegExp=Dn({path:[],method:"RegExp"})}return(0,m.default)(e,[{key:"getCloudEnv",value:function(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}},{key:"_callback",value:function(e,t){var n=this._dbCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,l.default)(t))}))}},{key:"_callbackAuth",value:function(e,t){var n=this._authCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,l.default)(t))}))}},{key:"multiSend",value:function(){var e=Array.from(arguments),t=e.map((function(e){var t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}]),e}();function Zn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Cn(new e(t),{get:function(e,t){return Tn("db",t)?On({$method:t},null,e):function(){return On({$method:t,$param:wn(Array.from(arguments))},null,e)}}})}var kn=function(e){(0,p.default)(n,e);var t=L(n);function n(){return(0,v.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"_parseResult",value:function(e){return this._isJQL?e.result:e}},{key:"_callCloudFunction",value:function(e){var t=this,n=e.action,r=e.command,i=e.multiCommand,o=e.queryList;function a(e,t){if(i&&o)for(var n=0;n<o.length;n++){var r=o[n];r.udb&&"function"==typeof r.udb.setResult&&(t?r.udb.setResult(t):r.udb.setResult(e.result.dataList[n]))}}var s=this,c=this._isJQL?"databaseForJQL":"database";function u(e){return s._callback("error",[e]),re(ie(c,"fail"),e).then((function(){return re(ie(c,"complete"),e)})).then((function(){return a(null,e),de(se.RESPONSE,{type:ce.CLIENT_DB,content:e}),Promise.reject(e)}))}var l=re(ie(c,"invoke")),f=this._uniClient;return l.then((function(){return f.callFunction({name:"DCloud-clientDB",type:Z.CLIENT_DB,data:{action:n,command:r,multiCommand:i}})})).then((function(e){var n=e.result,r=n.code,i=n.message,o=n.token,l=n.tokenExpired,f=n.systemInfo,d=void 0===f?[]:f;if(d)for(var p=0;p<d.length;p++){var h=d[p],y=h.level,g=h.message,v=h.detail,m="[System Info]"+g;v&&(m="".concat(m,"\n详细信息:").concat(v)),(console["app"===U&&"warn"===y?"error":y]||console.log)(m)}if(r)return u(new ve({code:r,message:i,requestId:e.requestId}));e.result.errCode=e.result.errCode||e.result.code,e.result.errMsg=e.result.errMsg||e.result.message,o&&l&&(_e({token:o,tokenExpired:l}),t._callbackAuth("refreshToken",[{token:o,tokenExpired:l}]),t._callback("refreshToken",[{token:o,tokenExpired:l}]),de(se.REFRESH_TOKEN,{token:o,tokenExpired:l}));for(var b=[{prop:"affectedDocs",tips:"affectedDocs不再推荐使用,请使用inserted/deleted/updated/data.length替代"},{prop:"code",tips:"code不再推荐使用,请使用errCode替代"},{prop:"message",tips:"message不再推荐使用,请使用errMsg替代"}],S=function(t){var n=b[t],r=n.prop,i=n.tips;if(r in e.result){var o=e.result[r];Object.defineProperty(e.result,r,{get:function(){return console.warn(i),o}})}},x=0;x<b.length;x++)S(x);return function(e){return re(ie(c,"success"),e).then((function(){return re(ie(c,"complete"),e)})).then((function(){a(e,null);var t=s._parseResult(e);return de(se.RESPONSE,{type:ce.CLIENT_DB,content:t}),Promise.resolve(t)}))}(e)}),(function(e){return/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),u(new ve({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId}))}))}}]),n}(Mn),En="token无效,跳转登录页面",Rn="token过期,跳转登录页面",Nn={TOKEN_INVALID_TOKEN_EXPIRED:Rn,TOKEN_INVALID_INVALID_CLIENTID:En,TOKEN_INVALID:En,TOKEN_INVALID_WRONG_TOKEN:En,TOKEN_INVALID_ANONYMOUS_USER:En},Xn={"uni-id-token-expired":Rn,"uni-id-check-token-failed":En,"uni-id-token-not-exist":En,"uni-id-check-device-feature-failed":En};function In(e,t){var n="";return n=e?"".concat(e,"/").concat(t):t,n.replace(/^\//,"")}function Jn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=[];return e.forEach((function(e){!0===e.needLogin?n.push(In(t,e.path)):!1===e.needLogin&&r.push(In(t,e.path))})),{needLoginPage:n,notNeedLoginPage:r}}function Fn(e){return e.split("?")[0].replace(/^\//,"")}function Bn(){return function(e){var t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){var e=getCurrentPages();return e[e.length-1]}())}function Hn(){return Fn(Bn())}function Gn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;var n=t.list,r=Fn(e);return n.some((function(e){return e.pagePath===r}))}var jn,Qn=!!b.default.uniIdRouter,Wn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.default,t=e.pages,n=void 0===t?[]:t,r=e.subPackages,i=void 0===r?[]:r,o=e.uniIdRouter,a=void 0===o?{}:o,s=e.tabBar,c=void 0===s?{}:s,u=a.loginPage,f=a.needLogin,d=void 0===f?[]:f,p=a.resToLogin,h=void 0===p||p,y=Jn(n),g=y.needLoginPage,v=y.notNeedLoginPage,m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],n=[];return e.forEach((function(e){var r=e.root,i=e.pages,o=void 0===i?[]:i,a=Jn(o,r),s=a.needLoginPage,c=a.notNeedLoginPage;t.push.apply(t,(0,l.default)(s)),n.push.apply(n,(0,l.default)(c))})),{needLoginPage:t,notNeedLoginPage:n}}(i),S=m.needLoginPage,x=m.notNeedLoginPage;return{loginPage:u,routerNeedLogin:d,resToLogin:h,needLoginPage:[].concat((0,l.default)(g),(0,l.default)(S)),notNeedLoginPage:[].concat((0,l.default)(v),(0,l.default)(x)),loginPageInTabBar:Gn(u,c)}}(),Un=Wn.loginPage,Kn=Wn.routerNeedLogin,$n=Wn.resToLogin,zn=Wn.needLoginPage,qn=Wn.notNeedLoginPage,Vn=Wn.loginPageInTabBar;if(zn.indexOf(Un)>-1)throw new Error("Login page [".concat(Un,'] should not be "needLogin", please check your pages.json'));function er(e){var t=Hn();if("/"===e.charAt(0))return e;var n=e.split("?"),r=(0,c.default)(n,2),i=r[0],o=r[1],a=i.replace(/^\//,"").split("/"),s=t.split("/");s.pop();for(var u=0;u<a.length;u++){var l=a[u];".."===l?s.pop():"."!==l&&s.push(l)}return""===s[0]&&s.shift(),"/"+s.join("/")+(o?"?"+o:"")}function tr(e){var t=Fn(er(e));return!(qn.indexOf(t)>-1)&&(zn.indexOf(t)>-1||Kn.some((function(t){return function(e,t){return new RegExp(t).test(e)}(e,t)})))}function nr(e){var t=e.redirect,n=Fn(t),r=Fn(Un);return Hn()!==r&&n!==r}function rr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.api,n=e.redirect;if(n&&nr({redirect:n})){var i=function(e,t){return"/"!==e.charAt(0)&&(e="/"+e),t?e.indexOf("?")>-1?e+"&uniIdRedirectUrl=".concat(encodeURIComponent(t)):e+"?uniIdRedirectUrl=".concat(encodeURIComponent(t)):e}(Un,n);Vn?"navigateTo"!==t&&"redirectTo"!==t||(t="switchTab"):"switchTab"===t&&(t="navigateTo");var o={navigateTo:r.navigateTo,redirectTo:r.redirectTo,switchTab:r.switchTab,reLaunch:r.reLaunch};setTimeout((function(){o[t]({url:i})}),0)}}function ir(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n={abortLoginPageJump:!1,autoToLoginPage:!1},r=function(){var e,t=xe(),n=t.token,r=t.tokenExpired;if(n){if(r<Date.now()){var i="uni-id-token-expired";e={errCode:i,errMsg:Xn[i]}}}else{var o="uni-id-check-token-failed";e={errCode:o,errMsg:Xn[o]}}return e}();if(tr(t)&&r){if(r.uniIdRedirectUrl=t,ue(se.NEED_LOGIN).length>0)return setTimeout((function(){de(se.NEED_LOGIN,r)}),0),n.abortLoginPageJump=!0,n;n.autoToLoginPage=!0}return n}function or(){!function(){var e=Bn(),t=ir({url:e}),n=t.abortLoginPageJump,r=t.autoToLoginPage;n||r&&rr({api:"redirectTo",redirect:e})}();for(var e=["navigateTo","redirectTo","reLaunch","switchTab"],t=function(t){var n=e[t];r.addInterceptor(n,{invoke:function(e){var t=ir({url:e.url}),r=t.abortLoginPageJump,i=t.autoToLoginPage;return r?e:i?(rr({api:n,redirect:er(e.url)}),!1):e}})},n=0;n<e.length;n++)t(n)}function ar(){this.onResponse((function(e){var t=e.type,n=e.content,r=!1;switch(t){case"cloudobject":r=function(e){if("object"!=(0,u.default)(e))return!1;var t=e||{},n=t.errCode;return n in Xn}(n);break;case"clientdb":r=function(e){if("object"!=(0,u.default)(e))return!1;var t=e||{},n=t.errCode;return n in Nn}(n)}r&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ue(se.NEED_LOGIN);ye().then((function(){var n=Bn();if(n&&nr({redirect:n}))return t.length>0?de(se.NEED_LOGIN,Object.assign({uniIdRedirectUrl:n},e)):void(Un&&rr({api:"navigateTo",redirect:n}))}))}(n)}))}function sr(e){!function(e){e.onResponse=function(e){le(se.RESPONSE,e)},e.offResponse=function(e){fe(se.RESPONSE,e)}}(e),function(e){e.onNeedLogin=function(e){le(se.NEED_LOGIN,e)},e.offNeedLogin=function(e){fe(se.NEED_LOGIN,e)},Qn&&(q(fn).needLoginInit||(q(fn).needLoginInit=!0,ye().then((function(){or.call(e)})),$n&&ar.call(e)))}(e),function(e){e.onRefreshToken=function(e){le(se.REFRESH_TOKEN,e)},e.offRefreshToken=function(e){fe(se.REFRESH_TOKEN,e)}}(e)}var cr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ur=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function lr(){var e,t,n=xe().token||"",r=n.split(".");if(!n||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse((t=r[1],decodeURIComponent(jn(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(n){throw new Error("获取当前用户信息出错,详细错误信息为:"+n.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}jn="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!ur.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,r,i="",o=0;o<e.length;)t=cr.indexOf(e.charAt(o++))<<18|cr.indexOf(e.charAt(o++))<<12|(n=cr.indexOf(e.charAt(o++)))<<6|(r=cr.indexOf(e.charAt(o++))),i+=64===n?String.fromCharCode(t>>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var fr=P((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="chooseAndUploadFile:ok",o="chooseAndUploadFile:fail";function a(e,t){return e.tempFiles.forEach((function(e,n){e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((function(e){return e.path}))),e}function s(e,t,r){var i=r.onChooseFile,o=r.onUploadProgress;return t.then((function(e){if(i){var t=i(e);if(void 0!==t)return Promise.resolve(t).then((function(t){return void 0===t?e:t}))}return e})).then((function(t){return!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3?arguments[3]:void 0;(t=Object.assign({},t)).errMsg=n;var o=t.tempFiles,a=o.length,s=0;return new Promise((function(n){for(;s<r;)c();function c(){var r=s++;if(r>=a)!o.find((function(e){return!e.url&&!e.errMsg}))&&n(t);else{var u=o[r];e.uploadFile({provider:u.provider,filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,cloudPathAsRealPath:u.cloudPathAsRealPath,onUploadProgress:function(e){e.index=r,e.tempFile=u,e.tempFilePath=u.path,i&&i(e)}}).then((function(e){u.url=e.fileID,r<a&&c()})).catch((function(e){u.errMsg=e.errMsg||e.message,r<a&&c()}))}}}))}(e,t,5,o)}))}t.initChooseAndUploadFile=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===t.type?s(e,function(e){var t=e.count,n=e.sizeType,i=e.sourceType,s=void 0===i?["album","camera"]:i,c=e.extension;return new Promise((function(e,i){r.chooseImage({count:t,sizeType:n,sourceType:s,extension:c,success:function(t){e(a(t,"image"))},fail:function(e){i({errMsg:e.errMsg.replace("chooseImage:fail",o)})}})}))}(t),t):"video"===t.type?s(e,function(e){var t=e.camera,n=e.compressed,i=e.maxDuration,s=e.sourceType,c=void 0===s?["album","camera"]:s,u=e.extension;return new Promise((function(e,s){r.chooseVideo({camera:t,compressed:n,maxDuration:i,sourceType:c,extension:u,success:function(t){var n=t.tempFilePath,r=t.duration,i=t.size,o=t.height,s=t.width;e(a({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:i,type:t.tempFile&&t.tempFile.type||"",width:s,height:o,duration:r,fileType:"video",cloudPath:""}]},"video"))},fail:function(e){s({errMsg:e.errMsg.replace("chooseVideo:fail",o)})}})}))}(t),t):s(e,function(e){var t=e.count,n=e.extension;return new Promise((function(e,s){var c=r.chooseFile;if("undefined"!=typeof i&&"function"==typeof i.chooseMessageFile&&(c=i.chooseMessageFile),"function"!=typeof c)return s({errMsg:o+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});c({type:"all",count:t,extension:n,success:function(t){e(a(t))},fail:function(e){s({errMsg:e.errMsg.replace("chooseFile:fail",o)})}})}))}(t),t)}}})),dr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(fr),pr={auto:"auto",onready:"onready",manual:"manual"};function hr(e){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var e=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(n){t.push(e[n])})),t}),(function(t,n){if(e.loadtime!==pr.manual){for(var r=!1,i=[],o=2;o<t.length;o++)t[o]!==n[o]&&(i.push(t[o]),r=!0);t[0]!==n[0]&&(e.mixinDatacomPage.current=e.pageCurrent),e.mixinDatacomPage.size=e.pageSize,e.onMixinDatacomPropsChange(r,i)}}))},methods:{onMixinDatacomPropsChange:function(e,t){},mixinDatacomEasyGet:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getone,r=void 0!==n&&n,i=t.success,o=t.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(t){e.mixinDatacomLoading=!1;var n=t.result,o=n.data,a=n.count;e.getcount&&(e.mixinDatacomPage.count=a),e.mixinDatacomHasMore=o.length<e.pageSize;var s=r?o.length?o[0]:void 0:o;e.mixinDatacomResData=s,i&&i(s)})).catch((function(t){e.mixinDatacomLoading=!1,e.mixinDatacomErrorMessage=t,e.mixinDatacomError=t,o&&o(t)})))},mixinDatacomGet:function(){var t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r=r||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);var i=r.action||this.action;i&&(n=n.action(i));var o=r.collection||this.collection;n=Array.isArray(o)?(t=n).collection.apply(t,(0,l.default)(o)):n.collection(o);var a=r.where||this.where;a&&Object.keys(a).length&&(n=n.where(a));var s=r.field||this.field;s&&(n=n.field(s));var c=r.foreignKey||this.foreignKey;c&&(n=n.foreignKey(c));var u=r.groupby||this.groupby;u&&(n=n.groupBy(u));var f=r.groupField||this.groupField;f&&(n=n.groupField(f)),!0===(void 0!==r.distinct?r.distinct:this.distinct)&&(n=n.distinct());var d=r.orderby||this.orderby;d&&(n=n.orderBy(d));var p=void 0!==r.pageCurrent?r.pageCurrent:this.mixinDatacomPage.current,h=void 0!==r.pageSize?r.pageSize:this.mixinDatacomPage.size,y=void 0!==r.getcount?r.getcount:this.getcount,g=void 0!==r.gettree?r.gettree:this.gettree,v=void 0!==r.gettreepath?r.gettreepath:this.gettreepath,m={getCount:y},b={limitLevel:void 0!==r.limitlevel?r.limitlevel:this.limitlevel,startWith:void 0!==r.startwith?r.startwith:this.startwith};return g&&(m.getTree=b),v&&(m.getTreePath=b),n=n.skip(h*(p-1)).limit(h).get(m),n}}}}function yr(e){return q(dn.replace("{spaceId}",e.config.spaceId))}function gr(){return vr.apply(this,arguments)}function vr(){return vr=(0,f.default)(a.default.mark((function e(){var t,n,i,o,s,c,u,l=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=l.length>0&&void 0!==l[0]?l[0]:{},n=t.openid,i=t.callLoginByWeixin,o=void 0!==i&&i,s=yr(this),"mp-weixin"===U){e.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(U,"`"));case 4:if(!n||!o){e.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!n){e.next=8;break}return e.abrupt("return",(s.mpWeixinOpenid=n,{}));case 8:return e.next=10,new Promise((function(e,t){r.login({success:function(t){e(t.code)},fail:function(e){t(new Error(e.errMsg))}})}));case 10:return c=e.sent,u=this.importObject("uni-id-co",{customUI:!0}),e.next=14,u.secureNetworkHandshakeByWeixin({code:c,callLoginByWeixin:o});case 14:return s.mpWeixinCode=c,e.abrupt("return",{code:c});case 16:case"end":return e.stop()}}),e,this)}))),vr.apply(this,arguments)}function mr(e){return br.apply(this,arguments)}function br(){return br=(0,f.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=yr(this),e.abrupt("return",(n.initPromise||(n.initPromise=gr.call(this,t).then((function(e){return e})).catch((function(e){throw delete n.initPromise,e}))),n.initPromise));case 2:case"end":return e.stop()}}),e,this)}))),br.apply(this,arguments)}function Sr(e){!function(e){Le=e}(e)}function xr(e){var t={getSystemInfo:r.getSystemInfo,getPushClientId:r.getPushClientId};return function(n){return new Promise((function(r,i){t[e](C(C({},n),{},{success:function(e){r(e)},fail:function(e){i(e)}}))}))}}var _r=function(e){(0,p.default)(n,e);var t=L(n);function n(){var e;return(0,v.default)(this,n),e=t.call(this),e._uniPushMessageCallback=e._receivePushMessage.bind((0,s.default)(e)),e._currentMessageId=-1,e._payloadQueue=[],e}return(0,m.default)(n,[{key:"init",value:function(){var e=this;return Promise.all([xr("getSystemInfo")(),xr("getPushClientId")()]).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(0,c.default)(t,2),r=n[0];r=void 0===r?{}:r;var i=r.appId,o=n[1];o=void 0===o?{}:o;var a=o.cid;if(!i)throw new Error("Invalid appId, please check the manifest.json file");if(!a)throw new Error("Invalid push client id");e._appId=i,e._pushClientId=a,e._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),e.emit("open"),e._initMessageListener()}),(function(t){throw e.emit("error",t),e.close(),t}))}},{key:"open",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.init());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(e){if("receive"!==e.type)return!1;var t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(e){if(this._isUniCloudSSE(e)){var t=e&&e.data&&e.data.payload,n=t.action,r=t.messageId,i=t.message;this._payloadQueue.push({action:n,messageId:r,message:i}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var e=this;;){var t=this._payloadQueue.find((function(t){return t.messageId===e._currentMessageId+1}));if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}},{key:"_parseMessagePayload",value:function(e){var t=e.action,n=e.messageId,r=e.message;"end"===t?this._end({messageId:n,message:r}):"message"===t&&this._appendMessage({messageId:n,message:r})}},{key:"_appendMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("message",t)}},{key:"_end",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("end",t),this.close()}},{key:"_initMessageListener",value:function(){r.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){r.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),n}(G);var Cr={tcb:Jt,tencent:Jt,aliyun:Ae,private:Wt,dcloud:Wt,alipay:rn},Lr=new(function(){function e(){(0,v.default)(this,e)}return(0,m.default)(e,[{key:"init",value:function(e){var t={},n=Cr[e.provider];if(!n)throw new Error("未提供正确的provider参数");return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new H({createPromise:function(){var t=Promise.resolve();t=new Promise((function(e){setTimeout((function(){e()}),1)}));var n=e.auth();return t.then((function(){return n.getLoginState()})).then((function(e){return e?Promise.resolve():n.signInAnonymously()}))}}))}(t),xn(t),function(e){var t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),function(e){e.database=function(t){if(t&&Object.keys(t).length>0)return e.init(t).database();if(this._database)return this._database;var n=Zn(kn,{uniClient:e});return this._database=n,n},e.databaseForJQL=function(t){if(t&&Object.keys(t).length>0)return e.init(t).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var n=Zn(kn,{uniClient:e,isJQL:!0});return this._databaseForJQL=n,n}}(t),function(e){e.getCurrentUserInfo=lr,e.chooseAndUploadFile=dr.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return hr(e)}}),e.SSEChannel=_r,e.initSecureNetworkByWeixin=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.openid,r=t.callLoginByWeixin,i=void 0!==r&&r;return mr.call(e,{openid:n,callLoginByWeixin:i})}}(e),e.setCustomClientInfo=Sr,e.importObject=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==(0,u.default)(t.secretMethods)&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},n);var i=n,o=i.customUI,s=i.loadingOptions,c=i.errorOptions,l=i.parseSystemError,d=!o;return new Proxy({},{get:function(i,o){switch(o){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fn,n=e.interceptorName,r=e.getCallbackArgs;return(0,f.default)(a.default.mark((function e(){var i,o,s,c,u,l,f=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(i=f.length,o=new Array(i),s=0;s<i;s++)o[s]=f[s];return c=r?r({params:o}):{},e.prev=2,e.next=5,re(ie(n,"invoke"),C({},c));case 5:return e.next=7,t.apply(void 0,o);case 7:return u=e.sent,e.next=10,re(ie(n,"success"),C(C({},c),{},{result:u}));case 10:return e.abrupt("return",u);case 13:return e.prev=13,e.t0=e["catch"](2),l=e.t0,e.next=18,re(ie(n,"fail"),C(C({},c),{},{error:l}));case 18:throw l;case 19:return e.prev=19,e.next=22,re(ie(n,"complete"),C(C({},c),{},l?{error:l}:{result:u}));case 22:return e.finish(19);case 23:case"end":return e.stop()}}),e,null,[[2,13,19,23]])})))}({fn:function(){var i=(0,f.default)(a.default.mark((function i(){var h,y,g,v,m,b,S,x,_,L,P,T,w,Y,A,O=arguments;return a.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:for(d&&r.showLoading({title:s.title,mask:s.mask}),y=O.length,g=new Array(y),v=0;v<y;v++)g[v]=O[v];return m={name:t,type:Z.OBJECT,data:{method:o,params:g}},"object"==(0,u.default)(n.secretMethods)&&function(e,t){var n=t.data.method,r=e.secretMethods||{},i=r[n]||r["*"];i&&(t.secretType=i)}(n,m),b=!1,i.prev=5,i.next=8,e.callFunction(m);case 8:h=i.sent,i.next=14;break;case 11:i.prev=11,i.t0=i["catch"](5),b=!0,h={result:new ve(i.t0)};case 14:if(S=h.result||{},x=S.errSubject,_=S.errCode,L=S.errMsg,P=S.newToken,d&&r.hideLoading(),P&&P.token&&P.tokenExpired&&(_e(P),de(se.REFRESH_TOKEN,C({},P))),!_){i.next=39;break}if(T=L,!b||!l){i.next=24;break}return i.next=20,l({objectName:t,methodName:o,params:g,errSubject:x,errCode:_,errMsg:L});case 20:if(i.t1=i.sent.errMsg,i.t1){i.next=23;break}i.t1=L;case 23:T=i.t1;case 24:if(!d){i.next=37;break}if("toast"!==c.type){i.next=29;break}r.showToast({title:T,icon:"none"}),i.next=37;break;case 29:if("modal"===c.type){i.next=31;break}throw new Error("Invalid errorOptions.type: ".concat(c.type));case 31:return i.next=33,(0,f.default)(a.default.mark((function e(){var t,n,i,o,s,c,u=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=u.length>0&&void 0!==u[0]?u[0]:{},n=t.title,i=t.content,o=t.showCancel,s=t.cancelText,c=t.confirmText,e.abrupt("return",new Promise((function(e,t){r.showModal({title:n,content:i,showCancel:o,cancelText:s,confirmText:c,success:function(t){e(t)},fail:function(){e({confirm:!1,cancel:!0})}})})));case 2:case"end":return e.stop()}}),e)})))({title:"提示",content:T,showCancel:c.retry,cancelText:"取消",confirmText:c.retry?"重试":"确定"});case 33:if(w=i.sent,Y=w.confirm,!c.retry||!Y){i.next=37;break}return i.abrupt("return",p.apply(void 0,g));case 37:throw A=new ve({subject:x,code:_,message:L,requestId:h.requestId}),A.detail=h.result,de(se.RESPONSE,{type:ce.CLOUD_OBJECT,content:A}),A;case 39:return i.abrupt("return",(de(se.RESPONSE,{type:ce.CLOUD_OBJECT,content:h.result}),h.result));case 40:case"end":return i.stop()}}),i,null,[[5,11]])})));function p(){return i.apply(this,arguments)}return p}(),interceptorName:"callObject",getCallbackArgs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.params;return{objectName:t,methodName:o,params:n}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(e){if(t[e]){var n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){var r=this,i=!1;if("callFunction"===t){var o=n&&n.type||Z.DEFAULT;i=o!==Z.DEFAULT}var a="callFunction"===t&&!i,s=this._initPromiseHub.exec();n=n||{};var c=ge(n),u=c.success,l=c.fail,f=c.complete,d=s.then((function(){return i?Promise.resolve():re(ie(t,"invoke"),n)})).then((function(){return e.call(r,n)})).then((function(e){return i?Promise.resolve(e):re(ie(t,"success"),e).then((function(){return re(ie(t,"complete"),e)})).then((function(){return a&&de(se.RESPONSE,{type:ce.CLOUD_FUNCTION,content:e}),Promise.resolve(e)}))}),(function(e){return i?Promise.reject(e):re(ie(t,"fail"),e).then((function(){return re(ie(t,"complete"),e)})).then((function(){return de(se.RESPONSE,{type:ce.CLOUD_FUNCTION,content:e}),Promise.reject(e)}))}));if(!(u||l||f))return d;d.then((function(e){u&&u(e),f&&f(e),a&&de(se.RESPONSE,{type:ce.CLOUD_FUNCTION,content:e})}),(function(e){l&&l(e),f&&f(e),a&&de(se.RESPONSE,{type:ce.CLOUD_FUNCTION,content:e})}))}}(t[e],e).bind(t)}})),t.init=this.init,t}}]),e}());t.uniCloud=Lr,function(){var e=K,n={};if(e&&1===e.length)n=e[0],t.uniCloud=Lr=Lr.init(n),Lr._isDefault=!0;else{var i;i=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(e){Lr[e]=function(){return console.error(i),Promise.reject(new ve({code:"SYS_ERR",message:i}))}}))}if(Object.assign(Lr,{get mixinDatacom(){return hr(Lr)}}),sr(Lr),Lr.addInterceptor=te,Lr.removeInterceptor=ne,Lr.interceptObject=oe,"app"===U&&(r.__uniCloud=Lr),"app"===U||"web"===U){var o=function(){return $||($=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),$)}();o.uniCloud=Lr,o.UniCloudError=ve}}();var Pr=Lr;t.default=Pr}).call(this,n("0ee4"),n("df3c")["default"],n("3223")["default"])},"883d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={codeNumber:function(e){return e.app.codeNumber},user:function(e){return e.app.user},organization:function(e){return e.app.organization},project:function(e){return e.app.project},identity:function(e){return e.app.identity},coordinates:function(e){return e.app.coordinates},activeCity:function(e){return e.app.activeCity}};t.default=r},"893d":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("3240")),o=r(n("8f59")),a=r(n("883d"));i.default.use(o.default);var s=n("736d"),c=s.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),r=s(t);return e[n]=r.default,e}),{}),u=new o.default.Store({modules:c,getters:a.default}),l=u;t.default=l},"8cf7":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.request=function(t){return new Promise((function(n,r){var a=t.header||{"Content-Type":"application/json"};e.getStorageSync("token")&&(a["token"]=e.getStorageSync("token")),"/im/message/save"===t.url&&(a["token"]=e.getStorageSync("systemChatToken")),e.request({url:i.default.baseUrl+t.url,method:t.method||"GET",data:t.data||{},header:a,success:function(t){if(200===t.statusCode){if(n(t.data),200!=t.data.code){if(20005==t.data.code){if(!e.getStorageSync("token"))return;return e.showToast({title:"登录过期,请重新登录",icon:"none"}),void function(){e.removeStorageSync("token"),e.removeStorageSync("chatToken"),e.removeStorageSync("vuex_state"),o.default.dispatch("app/changeOrganization",{}),o.default.dispatch("app/changeProject",{}),o.default.dispatch("app/changeUser",{}),o.default.dispatch("app/changeIdentity",{}),e.removeTabBarBadge({index:1}),e.navigateTo({url:"/pages/login/login"})}()}e.showToast({title:t.data.message,icon:"none"})}}else r(t.data),e.hideLoading()},fail:function(t){e.showToast({title:"出错了,请联系管理员~",icon:"none"}),r(t),e.hideLoading()}})}))};var i=r(n("ed46")),o=r(n("893d"))}).call(this,n("df3c")["default"])},"8d06":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={pages:[{path:"pages/highseas/highseas",style:{navigationStyle:"custom",navigationBarTitleText:""}},{path:"pages/message/message",style:{navigationBarTitleText:"消息"}},{path:"pages/index/index",style:{navigationBarTitleText:"首页"}},{path:"pages/my/my",style:{navigationBarTitleText:"个人中心"}},{path:"pages/projectAdmin/projectAdmin",style:{navigationBarTitleText:"项目工作台"}},{path:"pages/login/login",style:{navigationBarTitleText:"登录"}},{path:"pages/city/city",style:{navigationBarTitleText:"选择城市"}},{path:"pages/searchlist/searchlist",style:{navigationBarTitleText:"搜索列表"}},{path:"pages/project/project",style:{navigationBarTitleText:"项目详情"}},{path:"pages/house/house",style:{navigationBarTitleText:"房源详情"}},{path:"pages/visitor/visitor",style:{navigationBarTitleText:"访客记录"}},{path:"pages/reservation/reservation",style:{navigationBarTitleText:"预约看房"}},{path:"pages/chat/chat",style:{navigationBarTitleText:"会话"}},{path:"pages/person/person",style:{navigationBarTitleText:"房东信息"}},{path:"pages/search/search",style:{navigationBarTitleText:"搜索"}},{path:"pages/pdf/pdf",style:{navigationBarTitleText:""}},{path:"pages/sign/sign",style:{navigationBarTitleText:"签字"}},{path:"pages/webview/webview",style:{navigationBarTitleText:"文档"}},{path:"pages/requestSeal/requestSeal",style:{navigationBarTitleText:"申请印章"}},{path:"pages/messageSystem/messageSystem",style:{navigationBarTitleText:"系统通知"}},{path:"pages/messageList/messageList",style:{navigationBarTitleText:"通知列表"}},{path:"pages/messageDetail/messageDetail",style:{navigationBarTitleText:"通知详情"}},{path:"pages/dataOrder/dataOrder",style:{navigationBarTitleText:"合同工单"}},{path:"pages/file/file",style:{navigationBarTitleText:""}}],subPackages:[{root:"pageMy",pages:[{path:"myDetail/myDetail",style:{navigationBarTitleText:"个人信息"}},{path:"myHouse/myHouse",style:{navigationBarTitleText:"我的房源"}},{path:"fans/fans",style:{navigationBarTitleText:"粉丝列表"}},{path:"attention/attention",style:{navigationBarTitleText:"关注列表"}},{path:"collect/collect",style:{navigationBarTitleText:"收藏列表"}},{path:"clientDetail/clientDetail",style:{navigationBarTitleText:"客户详情"}},{path:"organization/organization",style:{navigationBarTitleText:"我的公司"}},{path:"client/client",style:{navigationBarTitleText:"我的客户"}},{path:"myReservation/myReservation",style:{navigationBarTitleText:"我的预约"}},{path:"download/download",style:{navigationBarTitleText:"我的下载"}},{path:"dataCenter/dataCenter",style:{navigationBarTitleText:"数据中心"}}]},{root:"pageIndex",pages:[{path:"projectList/projectList",style:{navigationBarTitleText:"项目列表"}},{path:"contract/contract",style:{navigationBarTitleText:""}},{path:"contractDetail/contractDetail",style:{navigationBarTitleText:"合同详情"}},{path:"bill/bill",style:{navigationBarTitleText:"账单列表"}},{path:"billDetail/billDetail",style:{navigationBarTitleText:"账单详情"}},{path:"invoice/invoice",style:{navigationBarTitleText:"发票列表"}},{path:"invoiceDetail/invoiceDetail",style:{navigationBarTitleText:"发票详情"}},{path:"billRecord/billRecord",style:{navigationBarTitleText:"账单付款"}},{path:"billInvoice/billInvoice",style:{navigationBarTitleText:"账单发票"}},{path:"order/order",style:{navigationBarTitleText:""}},{path:"orderHandle/orderHandle",style:{navigationBarTitleText:"处理工单"}},{path:"orderDetail/orderDetail",style:{navigationBarTitleText:"工单详情"}},{path:"selectUser/selectUser",style:{navigationBarTitleText:"选择成员"}},{path:"deviceList/deviceList",style:{navigationBarTitleText:"物联设备"}},{path:"monitor/monitor",style:{navigationBarTitleText:"监控","mp-weixin":{usingComponents:{ezplayer:"plugin://ezplayer/ezplayer"}}}},{path:"monitorList/monitorList",style:{navigationBarTitleText:"监控列表"}},{path:"deviceDetail/deviceDetail",style:{navigationBarTitleText:""}},{path:"bim/bim",style:{navigationBarTitleText:"模型列表"}},{path:"bimShow/bimShow",style:{navigationBarTitleText:""}}]}],tabBar:{color:"#8c8c8c",selectedColor:"#08979c",list:[{pagePath:"pages/index/index",iconPath:"static/image/tabbar/index.png",selectedIconPath:"static/image/tabbar/index-active.png",text:"首页"},{pagePath:"pages/message/message",iconPath:"static/image/tabbar/chat.png",selectedIconPath:"static/image/tabbar/chat-active.png",text:"消息"},{pagePath:"pages/highseas/highseas",iconPath:"static/image/tabbar/highseas.png",selectedIconPath:"static/image/tabbar/highseas-active.png",text:"workark"},{pagePath:"pages/projectAdmin/projectAdmin",iconPath:"static/image/tabbar/data.png",selectedIconPath:"static/image/tabbar/data-active.png",text:"工作台"},{pagePath:"pages/my/my",iconPath:"static/image/tabbar/my.png",selectedIconPath:"static/image/tabbar/my-active.png",text:"我的"}]},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"有极智慧园区",navigationBarBackgroundColor:"#ffffff",backgroundColor:"#f2f2f2"}}},"8d0a":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({title:{type:String,default:"日期选择"},showTitle:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},mode:{type:String,default:"single"},startText:{type:String,default:"开始"},endText:{type:String,default:"结束"},customList:{type:Array,default:function(){return[]}},color:{type:String,default:"#3c9cff"},minDate:{type:[String,Number],default:0},maxDate:{type:[String,Number],default:0},defaultDate:{type:[Array,String,Date,null],default:null},maxCount:{type:[String,Number],default:Number.MAX_SAFE_INTEGER},rowHeight:{type:[String,Number],default:56},formatter:{type:[Function,null],default:null},showLunar:{type:Boolean,default:!1},showMark:{type:Boolean,default:!0},confirmText:{type:String,default:"确定"},confirmDisabledText:{type:String,default:"确定"},closeOnClickOverlay:{type:Boolean,default:!1},closeOnClickConfirm:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!0},maxRange:{type:[Number,String],default:Number.MAX_SAFE_INTEGER},rangePrompt:{type:String,default:""},showRangePrompt:{type:Boolean,default:!0},allowSameDay:{type:Boolean,default:!1},round:{type:[Boolean,String,Number],default:0},monthNum:{type:[Number,String],default:3}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.calendar)};t.default=c}).call(this,n("df3c")["default"])},"8f59":function(e,t,n){"use strict";(function(t){var n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},r=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=i(e[n],t)})),r}function o(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function a(e){return null!==e&&"object"===typeof e}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.hasChild=function(e){return e in this._children},s.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)},s.prototype.forEachChild=function(e){o(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&o(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&o(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&o(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,c);var u=function(e){this.register([],e,!1)};u.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},u.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},u.prototype.update=function(e){(function e(t,n,r){0;if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;e(t.concat(i),n.getChild(i),r.modules[i])}})([],this.root,e)},u.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new s(t,n);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&o(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},u.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},u.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var l;var f=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!==typeof window&&window.Vue&&b(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(o,e,t)},this.commit=function(e,t,n){return s.call(o,e,t,n)},this.strict=i;var c=this._modules.root.state;g(this,c,[],this._modules.root),y(this,c),n.forEach((function(e){return e(t)}));var f=void 0!==e.devtools?e.devtools:l.config.devtools;f&&function(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},d={state:{configurable:!0}};function p(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;g(e,n,[],e._modules.root,!0),y(e,n,t)}function y(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};o(i,(function(t,n){a[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:a}),l.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),l.nextTick((function(){return r.$destroy()})))}function g(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=v(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){l.set(s,c,r.state)}))}var u=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=m(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:r?e.commit:function(n,r,i){var o=m(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return v(e.state,n)}}}),i}(e,a,n);r.forEachMutation((function(t,n){var r=a+n;(function(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))})(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;(function(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))})(e,r,i,u)})),r.forEachGetter((function(t,n){var r=a+n;(function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}})(e,r,t,u)})),r.forEachChild((function(r,o){g(e,t,n.concat(o),r,i)}))}function v(e,t){return t.reduce((function(e,t){return e[t]}),e)}function m(e,t,n){return a(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function b(e){l&&e===l||(l=e,
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){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))}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(e){0},f.prototype.commit=function(e,t,n){var r=this,i=m(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},f.prototype.dispatch=function(e,t){var n=this,r=m(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(u){0}t(e)}))}))}},f.prototype.subscribe=function(e,t){return p(e,this._subscribers,t)},f.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return p(n,this._actionSubscribers,t)},f.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},f.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},f.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),g(this,this.state,e,this._modules.get(e),n.preserveState),y(this,this.state)},f.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=v(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])})),h(this)},f.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},f.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),h(this,!0)},f.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(f.prototype,d);var S=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=T(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),x=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=T(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),_=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||T(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),C=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=T(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n}));function L(e){return function(e){return Array.isArray(e)||a(e)}(e)?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 P(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function T(e,t,n){var r=e._modulesNamespaceMap[n];return r}function w(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function Y(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function A(){var e=new Date;return" @ "+O(e.getHours(),2)+":"+O(e.getMinutes(),2)+":"+O(e.getSeconds(),2)+"."+O(e.getMilliseconds(),3)}function O(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var D={Store:f,install:b,version:"3.6.2",mapState:S,mapMutations:x,mapGetters:_,mapActions:C,createNamespacedHelpers:function(e){return{mapState:S.bind(null,e),mapGetters:_.bind(null,e),mapMutations:x.bind(null,e),mapActions:C.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var o=e.mutationTransformer;void 0===o&&(o=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var c=e.logMutations;void 0===c&&(c=!0);var u=e.logActions;void 0===u&&(u=!0);var l=e.logger;return void 0===l&&(l=console),function(e){var f=i(e.state);"undefined"!==typeof l&&(c&&e.subscribe((function(e,a){var s=i(a);if(n(e,f,s)){var c=A(),u=o(e),d="mutation "+e.type+c;w(l,d,t),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),Y(l)}f=s})),u&&e.subscribeAction((function(e,n){if(a(e,n)){var r=A(),i=s(e),o="action "+e.type+r;w(l,o,t),l.log("%c action","color: #03A9F4; font-weight: bold",i),Y(l)}})))}}};e.exports=D}).call(this,n("0ee4"))},"8ffa":function(e,t,n){var r=n("7647");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},9008:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},9249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProjectDetailById=function(e){return(0,r.request)({url:"/api/project/getProject/".concat(e),method:"get"})},t.getProjectList=function(){return(0,r.request)({url:"/api/project/projectListIdentity",method:"get"})},t.refresh=function(){return(0,r.request)({url:"/manager/userContext/refresh",method:"get"})},t.selectProject=function(e){return(0,r.request)({url:"/manager/userContext/project/".concat(e),method:"put"})};var r=n("8cf7")},"925d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={def:"zh",getType:function(){return e.getStorageSync("mescroll-i18n")||this.def},setType:function(t){e.setStorageSync("mescroll-i18n",t)}},r=n;t.default=r}).call(this,n("df3c")["default"])},"931d":function(e,t,n){var r=n("7647"),i=n("011a");e.exports=function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var a=new(e.bind.apply(e,o));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports},"93fc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={"uvicon-level":"e68f","uvicon-checkbox-mark":"e659","uvicon-folder":"e694","uvicon-movie":"e67c","uvicon-star-fill":"e61e","uvicon-star":"e618","uvicon-phone-fill":"e6ac","uvicon-phone":"e6ba","uvicon-apple-fill":"e635","uvicon-backspace":"e64d","uvicon-attach":"e640","uvicon-empty-data":"e671","uvicon-empty-address":"e68a","uvicon-empty-favor":"e662","uvicon-empty-car":"e657","uvicon-empty-order":"e66b","uvicon-empty-list":"e672","uvicon-empty-search":"e677","uvicon-empty-permission":"e67d","uvicon-empty-news":"e67e","uvicon-empty-history":"e685","uvicon-empty-coupon":"e69b","uvicon-empty-page":"e60e","uvicon-empty-wifi-off":"e6cc","uvicon-reload":"e627","uvicon-order":"e695","uvicon-server-man":"e601","uvicon-search":"e632","uvicon-more-dot-fill":"e66f","uvicon-scan":"e631","uvicon-map":"e665","uvicon-map-fill":"e6a8","uvicon-tags":"e621","uvicon-tags-fill":"e613","uvicon-eye":"e664","uvicon-eye-fill":"e697","uvicon-eye-off":"e69c","uvicon-eye-off-outline":"e688","uvicon-mic":"e66d","uvicon-mic-off":"e691","uvicon-calendar":"e65c","uvicon-trash":"e623","uvicon-trash-fill":"e6ce","uvicon-play-left":"e6bf","uvicon-play-right":"e6b3","uvicon-minus":"e614","uvicon-plus":"e625","uvicon-info-circle":"e69f","uvicon-info-circle-fill":"e6a7","uvicon-question-circle":"e622","uvicon-question-circle-fill":"e6bc","uvicon-close":"e65a","uvicon-checkmark":"e64a","uvicon-checkmark-circle":"e643","uvicon-checkmark-circle-fill":"e668","uvicon-setting":"e602","uvicon-setting-fill":"e6d0","uvicon-heart":"e6a2","uvicon-heart-fill":"e68b","uvicon-camera":"e642","uvicon-camera-fill":"e650","uvicon-more-circle":"e69e","uvicon-more-circle-fill":"e684","uvicon-chat":"e656","uvicon-chat-fill":"e63f","uvicon-bag":"e647","uvicon-error-circle":"e66e","uvicon-error-circle-fill":"e655","uvicon-close-circle":"e64e","uvicon-close-circle-fill":"e666","uvicon-share":"e629","uvicon-share-fill":"e6bb","uvicon-share-square":"e6c4","uvicon-shopping-cart":"e6cb","uvicon-shopping-cart-fill":"e630","uvicon-bell":"e651","uvicon-bell-fill":"e604","uvicon-list":"e690","uvicon-list-dot":"e6a9","uvicon-zhifubao-circle-fill":"e617","uvicon-weixin-circle-fill":"e6cd","uvicon-weixin-fill":"e620","uvicon-qq-fill":"e608","uvicon-qq-circle-fill":"e6b9","uvicon-moments-circel-fill":"e6c2","uvicon-moments":"e6a0","uvicon-car":"e64f","uvicon-car-fill":"e648","uvicon-warning-fill":"e6c7","uvicon-warning":"e6c1","uvicon-clock-fill":"e64b","uvicon-clock":"e66c","uvicon-edit-pen":"e65d","uvicon-edit-pen-fill":"e679","uvicon-email":"e673","uvicon-email-fill":"e683","uvicon-minus-circle":"e6a5","uvicon-plus-circle":"e603","uvicon-plus-circle-fill":"e611","uvicon-file-text":"e687","uvicon-file-text-fill":"e67f","uvicon-pushpin":"e6d1","uvicon-pushpin-fill":"e6b6","uvicon-grid":"e68c","uvicon-grid-fill":"e698","uvicon-play-circle":"e6af","uvicon-play-circle-fill":"e62a","uvicon-pause-circle-fill":"e60c","uvicon-pause":"e61c","uvicon-pause-circle":"e696","uvicon-gift-fill":"e6b0","uvicon-gift":"e680","uvicon-kefu-ermai":"e660","uvicon-server-fill":"e610","uvicon-coupon-fill":"e64c","uvicon-coupon":"e65f","uvicon-integral":"e693","uvicon-integral-fill":"e6b1","uvicon-home-fill":"e68e","uvicon-home":"e67b","uvicon-account":"e63a","uvicon-account-fill":"e653","uvicon-thumb-down-fill":"e628","uvicon-thumb-down":"e60a","uvicon-thumb-up":"e612","uvicon-thumb-up-fill":"e62c","uvicon-lock-fill":"e6a6","uvicon-lock-open":"e68d","uvicon-lock-opened-fill":"e6a1","uvicon-lock":"e69d","uvicon-red-packet":"e6c3","uvicon-photo-fill":"e6b4","uvicon-photo":"e60d","uvicon-volume-off-fill":"e6c8","uvicon-volume-off":"e6bd","uvicon-volume-fill":"e624","uvicon-volume":"e605","uvicon-download":"e670","uvicon-arrow-up-fill":"e636","uvicon-arrow-down-fill":"e638","uvicon-play-left-fill":"e6ae","uvicon-play-right-fill":"e6ad","uvicon-arrow-downward":"e634","uvicon-arrow-leftward":"e63b","uvicon-arrow-rightward":"e644","uvicon-arrow-upward":"e641","uvicon-arrow-down":"e63e","uvicon-arrow-right":"e63c","uvicon-arrow-left":"e646","uvicon-arrow-up":"e633","uvicon-skip-back-left":"e6c5","uvicon-skip-forward-right":"e61f","uvicon-arrow-left-double":"e637","uvicon-man":"e675","uvicon-woman":"e626","uvicon-en":"e6b8","uvicon-twitte":"e607","uvicon-twitter-circle-fill":"e6cf"}},"9ad5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:"transparent"}}};t.default=r},"9c4a":function(e,t){(function(t){e.exports=t}).call(this,{})},"9d3f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clientManagement=function(e){return(0,r.request)({url:"/manager/client/count/".concat(e),method:"get"})},t.deviceManagement=function(e){return(0,r.request)({url:"/api/operateDevice/count/".concat(e),method:"get"})},t.eventManagement=function(e){return(0,r.request)({url:"/api/reminder/count/".concat(e),method:"get"})},t.getPaymentList=function(e){return(0,r.request)({url:"/api/payment/monthCount/".concat(e),method:"get"})},t.getWeather=function(e){return(0,r.request)({url:"https://www.weatherol.cn/api/home/getCurrAnd15dAnd24h?cityid=".concat(e),method:"get"})},t.houseManagement=function(e){return(0,r.request)({url:"/api/projectItemTargetRoom/roomCount/".concat(e),method:"get"})},t.orderManagement=function(e){return(0,r.request)({url:"/api/workOrder/count/".concat(e),method:"get"})},t.paymentManagement=function(e){return(0,r.request)({url:"/api/payment/count/".concat(e),method:"get"})};var r=n("8cf7")},"9dcc":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("34cf")),o=r(n("3b2d")),a={version:"v2.5.0-20230101",yAxisWidth:15,xAxisHeight:22,padding:[10,10,10,10],rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,radarLabelTextMargin:13},s=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(null==e)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!n||n.length<=0)return e;function i(e,t){for(var n in t)e[n]=e[n]&&"[object Object]"===e[n].toString()?i(e[n],t[n]):e[n]=t[n];return e}return n.forEach((function(t){e=i(e,t)})),e},c={toFixed:function(e,t){return t=t||2,this.isFloat(e)&&(e=e.toFixed(t)),e},isFloat:function(e){return e%1!==0},approximatelyEqual:function(e,t){return Math.abs(e-t)<1e-10},isSameSign:function(e,t){return Math.abs(e)===e&&Math.abs(t)===t||Math.abs(e)!==e&&Math.abs(t)!==t},isSameXCoordinateArea:function(e,t){return this.isSameSign(e.x,t.x)},isCollision:function(e,t){e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height,t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height;var n=t.start.x>e.end.x||t.end.x<e.start.x||t.end.y>e.start.y||t.start.y<e.end.y;return!n}};function u(e,t){var n=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),i=parseInt(r[1],16),o=parseInt(r[2],16),a=parseInt(r[3],16);return"rgba("+i+","+o+","+a+","+t+")"}function l(e,t,n){if(isNaN(e))throw new Error("[uCharts] series数据需为Number格式");n=n||10,t=t||"upper";var r=1;while(n<1)n*=10,r*=10;e="upper"===t?Math.ceil(e*r):Math.floor(e*r);while(e%n!==0)if("upper"===t){if(e==e+1)break;e++}else e--;return e/r}function f(e,t,n,r,i){var o=i.width-i.area[1]-i.area[3],a=n.eachSpacing*(i.chartData.xAxisData.xAxisPoints.length-1);"mount"==i.type&&i.extra&&i.extra.mount&&i.extra.mount.widthRatio&&i.extra.mount.widthRatio>1&&(i.extra.mount.widthRatio>2&&(i.extra.mount.widthRatio=2),a+=(i.extra.mount.widthRatio-1)*n.eachSpacing);var s=t;return t>=0?(s=0,e.uevent.trigger("scrollLeft"),e.scrollOption.position="left",i.xAxis.scrollPosition="left"):Math.abs(t)>=a-o?(s=o-a,e.uevent.trigger("scrollRight"),e.scrollOption.position="right",i.xAxis.scrollPosition="right"):(e.scrollOption.position=t,i.xAxis.scrollPosition=t),s}function d(e,t,n){function r(e){while(e<0)e+=2*Math.PI;while(e>2*Math.PI)e-=2*Math.PI;return e}return e=r(e),t=r(t),n=r(n),t>n&&(n+=2*Math.PI,e<t&&(e+=2*Math.PI)),e>=t&&e<=n}function p(e,t){function n(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].y>=Math.max(e[t-1].y,e[t+1].y)||e[t].y<=Math.min(e[t-1].y,e[t+1].y))}function r(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].x>=Math.max(e[t-1].x,e[t+1].x)||e[t].x<=Math.min(e[t-1].x,e[t+1].x))}var i=.2,o=.2,a=null,s=null,c=null,u=null;if(t<1?(a=e[0].x+(e[1].x-e[0].x)*i,s=e[0].y+(e[1].y-e[0].y)*i):(a=e[t].x+(e[t+1].x-e[t-1].x)*i,s=e[t].y+(e[t+1].y-e[t-1].y)*i),t>e.length-3){var l=e.length-1;c=e[l].x-(e[l].x-e[l-1].x)*o,u=e[l].y-(e[l].y-e[l-1].y)*o}else c=e[t+1].x-(e[t+2].x-e[t].x)*o,u=e[t+1].y-(e[t+2].y-e[t].y)*o;return n(e,t+1)&&(u=e[t+1].y),n(e,t)&&(s=e[t].y),r(e,t+1)&&(c=e[t+1].x),r(e,t)&&(a=e[t].x),(s>=Math.max(e[t].y,e[t+1].y)||s<=Math.min(e[t].y,e[t+1].y))&&(s=e[t].y),(u>=Math.max(e[t].y,e[t+1].y)||u<=Math.min(e[t].y,e[t+1].y))&&(u=e[t+1].y),(a>=Math.max(e[t].x,e[t+1].x)||a<=Math.min(e[t].x,e[t+1].x))&&(a=e[t].x),(c>=Math.max(e[t].x,e[t+1].x)||c<=Math.min(e[t].x,e[t+1].x))&&(c=e[t+1].x),{ctrA:{x:a,y:s},ctrB:{x:c,y:u}}}function h(e,t,n){return{x:n.x+e,y:n.y-t}}function y(e,t){if(t)while(c.isCollision(e,t))e.start.x>0?e.start.y--:e.start.x<0||e.start.y>0?e.start.y++:e.start.y--;return e}function g(e,t,n){for(var r=0,i=0;i<e.length;i++){var o=e[i];if(o.color||(o.color=n.color[r],r=(r+1)%n.color.length),o.linearIndex||(o.linearIndex=i),o.index||(o.index=0),o.type||(o.type=t.type),"undefined"==typeof o.show&&(o.show=!0),o.type||(o.type=t.type),o.pointShape||(o.pointShape="circle"),!o.legendShape)switch(o.type){case"line":o.legendShape="line";break;case"column":case"bar":o.legendShape="rect";break;case"area":case"mount":o.legendShape="triangle";break;default:o.legendShape="circle"}}return e}function v(e,t,n,r){var i=t||[];if("custom"==e&&0==i.length&&(i=r.linearColor),"custom"==e&&i.length<n.length)for(var o=n.length-i.length,a=0;a<o;a++)i.push(r.linearColor[(a+1)%r.linearColor.length]);return i}function m(e,t){var n=0,r=t-e;return n=r>=1e4?1e3:r>=1e3?100:r>=100?10:r>=10?5:r>=1?1:r>=.1?.1:r>=.01?.01:r>=.001?.001:r>=1e-4?1e-4:r>=1e-5?1e-5:1e-6,{minRange:l(e,"lower",n),maxRange:l(t,"upper",n)}}function b(e,t,n){var r=0;if(e=String(e),!1!==n&&void 0!==n&&n.setFontSize&&n.measureText)return n.setFontSize(t),n.measureText(e).width;e=e.split("");for(var i=0;i<e.length;i++){var o=e[i];/[a-zA-Z]/.test(o)?r+=7:/[0-9]/.test(o)?r+=5.5:/\./.test(o)?r+=2.7:/-/.test(o)?r+=3.25:/:/.test(o)?r+=2.5:/[\u4e00-\u9fa5]/.test(o)?r+=10:/\(|\)/.test(o)?r+=3.73:/\s/.test(o)?r+=2.5:/%/.test(o)?r+=8:r+=10}return r*t/10}function S(e){return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data)}),[])}function x(e,t){for(var n=new Array(t),r=0;r<n.length;r++)n[r]=0;for(var i=0;i<e.length;i++)for(r=0;r<n.length;r++)n[r]+=e[i].data[r];return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data).concat(n)}),[])}function _(e,t,n){var r,i;return e.clientX?t.rotate?(i=t.height-e.clientX*t.pix,r=(e.pageY-n.currentTarget.offsetTop-t.height/t.pix/2*(t.pix-1))*t.pix):(r=e.clientX*t.pix,i=(e.pageY-n.currentTarget.offsetTop-t.height/t.pix/2*(t.pix-1))*t.pix):t.rotate?(i=t.height-e.x*t.pix,r=e.y*t.pix):(r=e.x*t.pix,i=e.y*t.pix),{x:r,y:i}}function C(e,t,n){var r=[],i=[],o=t.constructor.toString().indexOf("Array")>-1;if(o)for(var a=A(e),s=0;s<n.length;s++)i.push(a[n[s]]);else i=e;for(var c=0;c<i.length;c++){var u=i[c],l=-1;if(l=o?t[c]:t,null!==u.data[l]&&"undefined"!==typeof u.data[l]&&u.show){var f={};f.color=u.color,f.type=u.type,f.style=u.style,f.pointShape=u.pointShape,f.disableLegend=u.disableLegend,f.legendShape=u.legendShape,f.name=u.name,f.show=u.show,f.data=u.formatter?u.formatter(u.data[l]):u.data[l],r.push(f)}}return r}function L(e,t,n){var r=e.map((function(e){return b(e,t,n)}));return Math.max.apply(null,r)}function P(e){for(var t=2*Math.PI/e,n=[],r=0;r<e;r++)n.push(t*r);return n.map((function(e){return-1*e+Math.PI/2}))}function T(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=t.chartData.calPoints?t.chartData.calPoints:[],s={};if(r.length>0){for(var c=[],u=0;u<r.length;u++)c.push(a[r[u]]);s=c[0][n[0]]}else for(var l=0;l<a.length;l++)if(a[l][n]){s=a[l][n];break}var f=e.map((function(e){var r=null;return t.categories&&t.categories.length>0&&(r=i[n]),{text:o.formatter?o.formatter(e,r,n,t):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}})),d={x:Math.round(s.x),y:Math.round(s.y)};return{textList:f,offset:d}}function w(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.chartData.xAxisPoints[n]+t.chartData.eachSpacing/2,a=e.map((function(e){return{text:i.formatter?i.formatter(e,r[n],n,t):e.name+": "+e.data,color:e.color,disableLegend:!!e.disableLegend,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}}));a=a.filter((function(e){if(!0!==e.disableLegend)return e}));var s={x:Math.round(o),y:0};return{textList:a,offset:s}}function Y(e,t,n,r,i,o){var a=n.chartData.calPoints,s=o.color.upFill,c=o.color.downFill,u=[s,s,c,s],l=[];t.map((function(t){0==r?t.data[1]-t.data[0]<0?u[1]=c:u[1]=s:(t.data[0]<e[r-1][1]&&(u[0]=c),t.data[1]<t.data[0]&&(u[1]=c),t.data[2]>e[r-1][1]&&(u[2]=s),t.data[3]<e[r-1][1]&&(u[3]=c));var i={text:"开盘:"+t.data[0],color:u[0],legendShape:"auto"==n.extra.tooltip.legendShape?t.legendShape:n.extra.tooltip.legendShape},o={text:"收盘:"+t.data[1],color:u[1],legendShape:"auto"==n.extra.tooltip.legendShape?t.legendShape:n.extra.tooltip.legendShape},a={text:"最低:"+t.data[2],color:u[2],legendShape:"auto"==n.extra.tooltip.legendShape?t.legendShape:n.extra.tooltip.legendShape},f={text:"最高:"+t.data[3],color:u[3],legendShape:"auto"==n.extra.tooltip.legendShape?t.legendShape:n.extra.tooltip.legendShape};l.push(i,o,a,f)}));for(var f=[],d={x:0,y:0},p=0;p<a.length;p++){var h=a[p];"undefined"!==typeof h[r]&&null!==h[r]&&f.push(h[r])}return d.x=Math.round(f[0][0].x),{textList:l,offset:d}}function A(e){for(var t=[],n=0;n<e.length;n++)1==e[n].show&&t.push(e[n]);return t}function O(e,t,n){return e.x<=t.width-t.area[1]+10&&e.x>=t.area[3]-10&&e.y>=t.area[0]&&e.y<=t.height-t.area[2]}function D(e,t,n){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(n,2)}function M(e,t){var n=[],r=[];return e.forEach((function(e,i){t.connectNulls?null!==e&&r.push(e):null!==e?r.push(e):(r.length&&n.push(r),r=[])})),r.length&&n.push(r),n}function Z(e,t,n,r,i){var o={angle:0,xAxisHeight:t.xAxis.lineHeight*t.pix+t.xAxis.marginTop*t.pix},a=t.xAxis.fontSize*t.pix,s=e.map((function(e,n){var r=t.xAxis.formatter?t.xAxis.formatter(e,n,t):e;return b(String(r),a,i)})),c=Math.max.apply(this,s);if(1==t.xAxis.rotateLabel){o.angle=t.xAxis.rotateAngle*Math.PI/180;var u=t.xAxis.marginTop*t.pix*2+Math.abs(c*Math.sin(o.angle));u=u<a+t.xAxis.marginTop*t.pix*2?u+t.xAxis.marginTop*t.pix*2:u,o.xAxisHeight=u}return t.enableScroll&&t.xAxis.scrollShow&&(o.xAxisHeight+=6*t.pix),t.xAxis.disabled&&(o.xAxisHeight=0),o}function k(e,t,n,r){var i=s({},{type:""},t.extra.bar),a={angle:0,xAxisHeight:t.xAxis.lineHeight*t.pix+t.xAxis.marginTop*t.pix};a.ranges=function(e,t,n,r){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;i="stack"==r?x(e,t.categories.length):S(e);var s=[];i=i.filter((function(e){return"object"===(0,o.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),i.map((function(e){"object"===(0,o.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){s.push(e)})):s.push(e[0]):s.push(e.value):s.push(e)}));var c=0,u=0;if(s.length>0&&(c=Math.min.apply(this,s),u=Math.max.apply(this,s)),a>-1?("number"===typeof t.xAxis.data[a].min&&(c=Math.min(t.xAxis.data[a].min,c)),"number"===typeof t.xAxis.data[a].max&&(u=Math.max(t.xAxis.data[a].max,u))):("number"===typeof t.xAxis.min&&(c=Math.min(t.xAxis.min,c)),"number"===typeof t.xAxis.max&&(u=Math.max(t.xAxis.max,u))),c===u){var l=u||10;u+=l}for(var f=c,d=u,p=[],h=(d-f)/t.xAxis.splitNumber,y=0;y<=t.xAxis.splitNumber;y++)p.push(f+h*y);return p}(e,t,n,i.type),a.rangesFormat=a.ranges.map((function(e){return e=c.toFixed(e,2),e}));var u=a.ranges.map((function(e){return e=c.toFixed(e,2),e}));a=Object.assign(a,U(u,t,n));a.eachSpacing,u.map((function(e){return b(e,t.xAxis.fontSize*t.pix,r)}));return!0===t.xAxis.disabled&&(a.xAxisHeight=0),a}function E(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=i.extra.radar||{};a.max=a.max||0;for(var s=Math.max(a.max,Math.max.apply(null,S(r))),c=[],u=function(i){var a=r[i],u={};u.color=a.color,u.legendShape=a.legendShape,u.pointShape=a.pointShape,u.data=[],a.data.forEach((function(r,i){var a={};a.angle=e[i],a.proportion=r/s,a.value=r,a.position=h(n*a.proportion*o*Math.cos(a.angle),n*a.proportion*o*Math.sin(a.angle),t),u.data.push(a)})),c.push(u)},l=0;l<r.length;l++)u(l);return c}function R(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=0,i=0,o=0;o<e.length;o++){var a=e[o];a.data=null===a.data?0:a.data,r+=a.data}for(var s=0;s<e.length;s++){var c=e[s];c.data=null===c.data?0:c.data,c._proportion_=0===r?1/e.length*n:c.data/r*n,c._radius_=t}for(var u=0;u<e.length;u++){var l=e[u];l._start_=i,i+=2*l._proportion_*Math.PI}return e}function N(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=0;o<e.length;o++)"funnel"==n.type?e[o].radius=e[o].data/e[0].data*t*i:e[o].radius=r*(e.length-o)/(r*e.length)*t*i,e[o]._proportion_=e[o].data/e[0].data;return e}function X(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=0,a=0,s=[],c=0;c<e.length;c++){var u=e[c];u.data=null===u.data?0:u.data,o+=u.data,s.push(u.data)}for(var l=Math.min.apply(null,s),f=Math.max.apply(null,s),d=r-n,p=0;p<e.length;p++){var h=e[p];h.data=null===h.data?0:h.data,0===o?(h._proportion_=1/e.length*i,h._rose_proportion_=1/e.length*i):(h._proportion_=h.data/o*i,h._rose_proportion_="area"==t?1/e.length*i:h.data/o*i),h._radius_=n+d*((h.data-l)/(f-l))||r}for(var y=0;y<e.length;y++){var g=e[y];g._start_=a,a+=2*g._rose_proportion_*Math.PI}return e}function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var r=0;r<e.length;r++){var i=e[r];i.data=null===i.data?0:i.data;var o=void 0;o="circle"==t.type?2:"ccw"==t.direction?t.startAngle<t.endAngle?2+t.startAngle-t.endAngle:t.startAngle-t.endAngle:t.endAngle<t.startAngle?2+t.endAngle-t.startAngle:t.startAngle-t.endAngle,i._proportion_=o*i.data*n+t.startAngle,"ccw"==t.direction&&(i._proportion_=t.startAngle-o*i.data*n),i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var r=0;r<e.length;r++){var i=e[r];i.data=null===i.data?0:i.data;var o=void 0;o="circle"==t.type?2:t.endAngle<t.startAngle?2+t.endAngle-t.startAngle:t.startAngle-t.endAngle,i._proportion_=o*i.data*n+t.startAngle,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function F(e,t,n){var r;r=n<t?2+n-t:t-n;for(var i=t,o=0;o<e.length;o++)e[o].value=null===e[o].value?0:e[o].value,e[o]._startAngle_=i,e[o]._endAngle_=r*e[o].value+t,e[o]._endAngle_>=2&&(e[o]._endAngle_=e[o]._endAngle_%2),i=e[o]._endAngle_;return e}function B(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=0;i<e.length;i++){var o=e[i];if(o.data=null===o.data?0:o.data,"auto"==n.pointer.color){for(var a=0;a<t.length;a++)if(o.data<=t[a].value){o.color=t[a].color;break}}else o.color=n.pointer.color;var s=void 0;s=n.endAngle<n.startAngle?2+n.endAngle-n.startAngle:n.startAngle-n.endAngle,o._endAngle_=s*o.data+n.startAngle,o._oldAngle_=n.oldAngle,n.oldAngle<n.endAngle&&(o._oldAngle_+=2),o.data>=n.oldData?o._proportion_=(o._endAngle_-o._oldAngle_)*r+n.oldAngle:o._proportion_=o._oldAngle_-(o._oldAngle_-o._endAngle_)*r,o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return e}function H(e,t,n,r,i,o){return e.map((function(e){if(null===e)return null;var i=0,a=0;return"mix"==o.type?(i=o.extra.mix.column.seriesGap*o.pix||0,a=o.extra.mix.column.categoryGap*o.pix||0):(i=o.extra.column.seriesGap*o.pix||0,a=o.extra.column.categoryGap*o.pix||0),i=Math.min(i,t/n),a=Math.min(a,t/n),e.width=Math.ceil((t-2*a-i*(n-1))/n),o.extra.mix&&o.extra.mix.column.width&&+o.extra.mix.column.width>0&&(e.width=Math.min(e.width,+o.extra.mix.column.width*o.pix)),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(e.width=Math.min(e.width,+o.extra.column.width*o.pix)),e.width<=0&&(e.width=1),e.x+=(r+.5-n/2)*(e.width+i),e}))}function G(e,t,n,r,i,o){return e.map((function(e){if(null===e)return null;var i=0,a=0;return i=o.extra.bar.seriesGap*o.pix||0,a=o.extra.bar.categoryGap*o.pix||0,i=Math.min(i,t/n),a=Math.min(a,t/n),e.width=Math.ceil((t-2*a-i*(n-1))/n),o.extra.bar&&o.extra.bar.width&&+o.extra.bar.width>0&&(e.width=Math.min(e.width,+o.extra.bar.width*o.pix)),e.width<=0&&(e.width=1),e.y+=(r+.5-n/2)*(e.width+i),e}))}function j(e,t,n,r,i,o,a){var s=o.extra.column.categoryGap*o.pix||0;return e.map((function(e){return null===e?null:(e.width=t-2*s,o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(e.width=Math.min(e.width,+o.extra.column.width*o.pix)),r>0&&(e.width-=a),e)}))}function Q(e,t,n,r,i,o,a){var s=o.extra.column.categoryGap*o.pix||0;return e.map((function(e,n){return null===e?null:(e.width=Math.ceil(t-2*s),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(e.width=Math.min(e.width,+o.extra.column.width*o.pix)),e.width<=0&&(e.width=1),e)}))}function W(e,t,n,r,i,o,a){var s=o.extra.bar.categoryGap*o.pix||0;return e.map((function(e,n){return null===e?null:(e.width=Math.ceil(t-2*s),o.extra.bar&&o.extra.bar.width&&+o.extra.bar.width>0&&(e.width=Math.min(e.width,+o.extra.bar.width*o.pix)),e.width<=0&&(e.width=1),e)}))}function U(e,t,n){var r=t.width-t.area[1]-t.area[3],i=t.enableScroll?Math.min(t.xAxis.itemCount,e.length):e.length;("line"==t.type||"area"==t.type||"scatter"==t.type||"bubble"==t.type||"bar"==t.type)&&i>1&&"justify"==t.xAxis.boundaryGap&&(i-=1);var o=0;"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),o=t.extra.mount.widthRatio-1,i+=o);var a=r/i,s=[],c=t.area[3],u=t.width-t.area[1];return e.forEach((function(e,t){s.push(c+o/2*a+t*a)})),"justify"!==t.xAxis.boundaryGap&&(!0===t.enableScroll?s.push(c+o*a+e.length*a):s.push(u)),{xAxisPoints:s,startX:c,endX:u,eachSpacing:a}}function K(e,t,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],u=o.height-o.area[0]-o.area[2];return e.forEach((function(e,a){if(null===e)c.push(null);else{var l=[];e.forEach((function(e,c){var f={};f.x=r[a]+Math.round(i/2);var d=e.value||e,p=u*(d-t)/(n-t);p*=s,f.y=o.height-Math.round(p)-o.area[2],l.push(f)})),c.push(l)}})),c}function $(e,t,n,r,i,a,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,u="center";"line"!=a.type&&"area"!=a.type&&"scatter"!=a.type&&"bubble"!=a.type||(u=a.xAxis.boundaryGap);var l=[],f=a.height-a.area[0]-a.area[2],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,s){if(null===e)l.push(null);else{var p={};p.color=e.color,p.x=r[s];var h,y,g,v=e;if("object"===(0,o.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)h=[].concat(a.chartData.xAxisData.ranges),y=h.shift(),g=h.pop(),v=e[1],p.x=a.area[3]+d*(e[0]-y)/(g-y),"bubble"==a.type&&(p.r=e[2],p.t=e[3]);else v=e.value;"center"==u&&(p.x+=i/2);var m=f*(v-t)/(n-t);m*=c,p.y=a.height-m-a.area[2],l.push(p)}})),l}function z(e,t,n,r,i,a,s,c,u){u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var l=a.xAxis.boundaryGap,f=[],d=a.height-a.area[0]-a.area[2],p=a.width-a.area[1]-a.area[3];return e.forEach((function(e,s){if(null===e)f.push(null);else{var h={};if(h.color=e.color,"vertical"==c.animation){h.x=r[s];var y,g,v,m=e;if("object"===(0,o.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)y=[].concat(a.chartData.xAxisData.ranges),g=y.shift(),v=y.pop(),m=e[1],h.x=a.area[3]+p*(e[0]-g)/(v-g);else m=e.value;"center"==l&&(h.x+=i/2);var b=d*(m-t)/(n-t);b*=u,h.y=a.height-b-a.area[2],f.push(h)}else{h.x=r[0]+i*s*u;m=e;"center"==l&&(h.x+=i/2);b=d*(m-t)/(n-t);h.y=a.height-b-a.area[2],f.push(h)}}})),f}function q(e,t,n,r,i,a,s,c,u){u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var l=[],f=a.height-a.area[0]-a.area[2],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,s){if(null===e)l.push(null);else{var c={};c.color=e.color,c.x=r[s];var p,h,y,g=e;if("object"===(0,o.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)p=[].concat(a.chartData.xAxisData.ranges),h=p.shift(),y=p.pop(),g=e[1],c.x=a.area[3]+d*(e[0]-h)/(y-h);else g=e.value;c.x+=i/2;var v=f*(g*u-t)/(n-t);c.y=a.height-v-a.area[2],l.push(c)}})),l}function V(e,t,n,r,i,o,a,s){var c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,u=[],l=o.height-o.area[0]-o.area[2],f=(o.width,o.area[1],o.area[3],i*a.widthRatio);return e.forEach((function(e,a){if(null===e)u.push(null);else{var s={};s.color=e.color,s.x=r[a],s.x+=i/2;var d=e.data,p=l*(d*c-t)/(n-t);s.y=o.height-p-o.area[2],s.value=d,s.width=f,u.push(s)}})),u}function ee(e,t,n,r,i,a,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,u=[],l=(a.height,a.area[0],a.area[2],a.width-a.area[1]-a.area[3]);return e.forEach((function(e,i){if(null===e)u.push(null);else{var s={};s.color=e.color,s.y=r[i];var f=e;"object"===(0,o.default)(e)&&null!==e&&(f=e.value);var d=l*(f-t)/(n-t);d*=c,s.height=d,s.value=f,s.x=d+a.area[3],u.push(s)}})),u}function te(e,t,n,r,i,a,s,c,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,f=[],d=a.height-a.area[0]-a.area[2];return e.forEach((function(e,s){if(null===e)f.push(null);else{var p={};if(p.color=e.color,p.x=r[s]+Math.round(i/2),c>0){for(var h=0,y=0;y<=c;y++)h+=u[y].data[s];var g=h-e,v=d*(h-t)/(n-t),m=d*(g-t)/(n-t)}else{h=e;"object"===(0,o.default)(e)&&null!==e&&(h=e.value);v=d*(h-t)/(n-t),m=0}var b=m;v*=l,b*=l,p.y=a.height-Math.round(v)-a.area[2],p.y0=a.height-Math.round(b)-a.area[2],f.push(p)}})),f}function ne(e,t,n,r,i,a,s,c,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,f=[],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,i){if(null===e)f.push(null);else{var s={};if(s.color=e.color,s.y=r[i],c>0){for(var p=0,h=0;h<=c;h++)p+=u[h].data[i];var y=p-e,g=d*(p-t)/(n-t),v=d*(y-t)/(n-t)}else{p=e;"object"===(0,o.default)(e)&&null!==e&&(p=e.value);g=d*(p-t)/(n-t),v=0}var m=v;g*=l,m*=l,s.height=g-m,s.x=a.area[3]+g,s.x0=a.area[3]+m,f.push(s)}})),f}function re(e,t,n,r,i){var a;a="stack"==r?x(e,t.categories.length):S(e);var s=[];a=a.filter((function(e){return"object"===(0,o.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),a.map((function(e){"object"===(0,o.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){s.push(e)})):s.push(e[1]):s.push(e.value):s.push(e)}));var c=i.min||0,u=i.max||0;s.length>0&&(c=Math.min.apply(this,s),u=Math.max.apply(this,s)),c===u&&(0==u?u=10:c=0);for(var l=m(c,u),f=void 0===i.min||null===i.min?l.minRange:i.min,d=void 0===i.max||null===i.max?l.maxRange:i.max,p=(d-f)/t.yAxis.splitNumber,h=[],y=0;y<=t.yAxis.splitNumber;y++)h.push(f+p*y);return h.reverse()}function ie(e,t,n,r){var i=s({},{type:""},t.extra.column),o=t.yAxis.data.length,a=new Array(o);if(o>0){for(var u=0;u<o;u++){a[u]=[];for(var l=0;l<e.length;l++)e[l].index==u&&a[u].push(e[l])}for(var f=new Array(o),d=new Array(o),p=new Array(o),h=function(e){var o=t.yAxis.data[e];1==t.yAxis.disabled&&(o.disabled=!0),"categories"===o.type?(o.formatter||(o.formatter=function(e,t,n){return e+(o.unit||"")}),o.categories=o.categories||t.categories,f[e]=o.categories):(o.formatter||(o.formatter=function(e,t,n){return c.toFixed(e,o.tofix||0)+(o.unit||"")}),f[e]=re(a[e],t,n,i.type,o,e));var s=o.fontSize*t.pix||n.fontSize;p[e]={position:o.position?o.position:"left",width:0},d[e]=f[e].map((function(n,i){return n=o.formatter(n,i,t),p[e].width=Math.max(p[e].width,b(n,s,r)+5),n}));var u=o.calibration?4*t.pix:0;p[e].width+=u+3*t.pix,!0===o.disabled&&(p[e].width=0)},y=0;y<o;y++)h(y)}else{f=new Array(1),d=new Array(1),p=new Array(1);"bar"===t.type?(f[0]=t.categories,t.yAxis.formatter||(t.yAxis.formatter=function(e,t,n){return e+(n.yAxis.unit||"")})):(t.yAxis.formatter||(t.yAxis.formatter=function(e,t,n){return e.toFixed(n.yAxis.tofix)+(n.yAxis.unit||"")}),f[0]=re(e,t,n,i.type,{})),p[0]={position:"left",width:0};var g=t.yAxis.fontSize*t.pix||n.fontSize;d[0]=f[0].map((function(e,n){return e=t.yAxis.formatter(e,n,t),p[0].width=Math.max(p[0].width,b(e,g,r)+5),e})),p[0].width+=3*t.pix,!0===t.yAxis.disabled?(p[0]={position:"left",width:0},t.yAxis.data[0]={disabled:!0}):(t.yAxis.data[0]={disabled:!1,position:"left",max:t.yAxis.max,min:t.yAxis.min,formatter:t.yAxis.formatter},"bar"===t.type&&(t.yAxis.data[0].categories=t.categories,t.yAxis.data[0].type="categories"))}return{rangesFormat:d,ranges:f,yAxisWidth:p}}function oe(e,t){!0!==t.rotateLock?(e.translate(t.height,0),e.rotate(90*Math.PI/180)):!0!==t._rotate_&&(e.translate(t.height,0),e.rotate(90*Math.PI/180),t._rotate_=!0)}function ae(e,t,n,r,i){if(r.beginPath(),"hollow"==i.dataPointShapeType?(r.setStrokeStyle(t),r.setFillStyle(i.background),r.setLineWidth(2*i.pix)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*i.pix)),"diamond"===n)e.forEach((function(e,t){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y),r.lineTo(e.x,e.y+4.5),r.lineTo(e.x+4.5,e.y),r.lineTo(e.x,e.y-4.5))}));else if("circle"===n)e.forEach((function(e,t){null!==e&&(r.moveTo(e.x+2.5*i.pix,e.y),r.arc(e.x,e.y,3*i.pix,0,2*Math.PI,!1))}));else if("square"===n)e.forEach((function(e,t){null!==e&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===n)e.forEach((function(e,t){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y+4.5),r.lineTo(e.x+4.5,e.y+4.5),r.lineTo(e.x,e.y-4.5))}));else if("none"===n)return;r.closePath(),r.fill(),r.stroke()}function se(e,t,n,r,i,o,a){if(i.tooltip&&!(i.tooltip.group.length>0&&0==i.tooltip.group.includes(a))){var s="number"===typeof i.tooltip.index?i.tooltip.index:i.tooltip.index[i.tooltip.group.indexOf(a)];if(r.beginPath(),"hollow"==o.activeType?(r.setStrokeStyle(t),r.setFillStyle(i.background),r.setLineWidth(2*i.pix)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*i.pix)),"diamond"===n)e.forEach((function(e,t){null!==e&&s==t&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y),r.lineTo(e.x,e.y+4.5),r.lineTo(e.x+4.5,e.y),r.lineTo(e.x,e.y-4.5))}));else if("circle"===n)e.forEach((function(e,t){null!==e&&s==t&&(r.moveTo(e.x+2.5*i.pix,e.y),r.arc(e.x,e.y,3*i.pix,0,2*Math.PI,!1))}));else if("square"===n)e.forEach((function(e,t){null!==e&&s==t&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===n)e.forEach((function(e,t){null!==e&&s==t&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y+4.5),r.lineTo(e.x+4.5,e.y+4.5),r.lineTo(e.x,e.y-4.5))}));else if("none"===n)return;r.closePath(),r.fill(),r.stroke()}}function ce(e,t,n,r){var i=e.title.fontSize||t.titleFontSize,o=e.subtitle.fontSize||t.subtitleFontSize,a=e.title.name||"",s=e.subtitle.name||"",c=e.title.color||e.fontColor,u=e.subtitle.color||e.fontColor,l=a?i:0,f=s?o:0;if(s){var d=b(s,o*e.pix,n),p=r.x-d/2+(e.subtitle.offsetX||0)*e.pix,h=r.y+o*e.pix/2+(e.subtitle.offsetY||0)*e.pix;a&&(h+=(l*e.pix+5)/2),n.beginPath(),n.setFontSize(o*e.pix),n.setFillStyle(u),n.fillText(s,p,h),n.closePath(),n.stroke()}if(a){var y=b(a,i*e.pix,n),g=r.x-y/2+(e.title.offsetX||0),v=r.y+i*e.pix/2+(e.title.offsetY||0)*e.pix;s&&(v-=(f*e.pix+5)/2),n.beginPath(),n.setFontSize(i*e.pix),n.setFillStyle(c),n.fillText(a,g,v),n.closePath(),n.stroke()}}function ue(e,t,n,r,i){var a=t.data,s=t.textOffset?t.textOffset:0;e.forEach((function(e,c){if(null!==e){r.beginPath();var u=t.textSize?t.textSize*i.pix:n.fontSize;r.setFontSize(u),r.setFillStyle(t.textColor||i.fontColor);var l=a[c];"object"===(0,o.default)(a[c])&&null!==a[c]&&(l=a[c].constructor.toString().indexOf("Array")>-1?a[c][1]:a[c].value);var f=t.formatter?t.formatter(l,c,t,i):l;r.setTextAlign("center"),r.fillText(String(f),e.x,e.y-4+s*i.pix),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function le(e,t,n,r,i){var a=t.data,s=t.textOffset?t.textOffset:0,c=i.extra.column.labelPosition;e.forEach((function(e,u){if(null!==e){r.beginPath();var l=t.textSize?t.textSize*i.pix:n.fontSize;r.setFontSize(l),r.setFillStyle(t.textColor||i.fontColor);var f=a[u];"object"===(0,o.default)(a[u])&&null!==a[u]&&(f=a[u].constructor.toString().indexOf("Array")>-1?a[u][1]:a[u].value);var d=t.formatter?t.formatter(f,u,t,i):f;r.setTextAlign("center");var p=e.y-4*i.pix+s*i.pix;e.y>t.zeroPoints&&(p=e.y+s*i.pix+l),"insideTop"==c&&(p=e.y+l+s*i.pix,e.y>t.zeroPoints&&(p=e.y-s*i.pix-4*i.pix)),"center"==c&&(p=e.y+s*i.pix+(i.height-i.area[2]-e.y+l)/2,t.zeroPoints<i.height-i.area[2]&&(p=e.y+s*i.pix+(t.zeroPoints-e.y+l)/2),e.y>t.zeroPoints&&(p=e.y-s*i.pix-(e.y-t.zeroPoints-l)/2),"stack"==i.extra.column.type&&(p=e.y+s*i.pix+(e.y0-e.y+l)/2)),"bottom"==c&&(p=i.height-i.area[2]+s*i.pix-4*i.pix,t.zeroPoints<i.height-i.area[2]&&(p=t.zeroPoints+s*i.pix-4*i.pix),e.y>t.zeroPoints&&(p=t.zeroPoints-s*i.pix+l+2*i.pix),"stack"==i.extra.column.type&&(p=e.y0+s*i.pix-4*i.pix)),r.fillText(String(d),e.x,p),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function fe(e,t,n,r,i,o){t.data;var a=t.textOffset?t.textOffset:0;i.extra.mount.labelPosition;e.forEach((function(e,s){if(null!==e){r.beginPath();var c=t[s].textSize?t[s].textSize*i.pix:n.fontSize;r.setFontSize(c),r.setFillStyle(t[s].textColor||i.fontColor);var u=e.value,l=t[s].formatter?t[s].formatter(u,s,t,i):u;r.setTextAlign("center");var f=e.y-4*i.pix+a*i.pix;e.y>o&&(f=e.y+a*i.pix+c),r.fillText(String(l),e.x,f),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function de(e,t,n,r,i){var a=t.data;t.textOffset&&t.textOffset;e.forEach((function(e,s){if(null!==e){r.beginPath();var c=t.textSize?t.textSize*i.pix:n.fontSize;r.setFontSize(c),r.setFillStyle(t.textColor||i.fontColor);var u=a[s];"object"===(0,o.default)(a[s])&&null!==a[s]&&(u=a[s].value);var l=t.formatter?t.formatter(u,s,t,i):u;r.setTextAlign("left"),r.fillText(String(l),e.x+4*i.pix,e.y+c/2-3),r.closePath(),r.stroke()}}))}function pe(e,t,n,r,i,o){var a;t-=e.width/2+e.labelOffset*r.pix,t=t<10?10:t,a=e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle;for(var s=a/e.splitLine.splitNumber,c=e.endNumber-e.startNumber,u=c/e.splitLine.splitNumber,l=e.startAngle,f=e.startNumber,d=0;d<e.splitLine.splitNumber+1;d++){var p={x:t*Math.cos(l*Math.PI),y:t*Math.sin(l*Math.PI)},h=e.formatter?e.formatter(f,d,r):f;p.x+=n.x-b(h,i.fontSize,o)/2,p.y+=n.y;var y=p.x,g=p.y;o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(e.labelColor||r.fontColor),o.fillText(h,y,g+i.fontSize/2),o.closePath(),o.stroke(),l+=s,l>=2&&(l%=2),f+=u}}function he(e,t,n,r,i,o){var a=r.extra.radar||{};e.forEach((function(e,s){if(!0===a.labelPointShow&&""!==r.categories[s]){var u={x:t*Math.cos(e),y:t*Math.sin(e)},l=h(u.x,u.y,n);o.setFillStyle(a.labelPointColor),o.beginPath(),o.arc(l.x,l.y,a.labelPointRadius*r.pix,0,2*Math.PI,!1),o.closePath(),o.fill()}if(!0===a.labelShow){var f={x:(t+i.radarLabelTextMargin*r.pix)*Math.cos(e),y:(t+i.radarLabelTextMargin*r.pix)*Math.sin(e)},d=h(f.x,f.y,n),p=d.x,y=d.y;c.approximatelyEqual(f.x,0)?p-=b(r.categories[s]||"",i.fontSize,o)/2:f.x<0&&(p-=b(r.categories[s]||"",i.fontSize,o)),o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(a.labelColor||r.fontColor),o.fillText(r.categories[s]||"",p,y+i.fontSize/2),o.closePath(),o.stroke()}}))}function ye(e,t,n,r,i,o){for(var a=n.pieChartLinePadding,s=[],u=null,l=e.map((function(n,r){var i=n.formatter?n.formatter(n,r,e,t):c.toFixed(100*n._proportion_.toFixed(4))+"%";i=n.labelText?n.labelText:i;var o=2*Math.PI-(n._start_+2*Math.PI*n._proportion_/2);n._rose_proportion_&&(o=2*Math.PI-(n._start_+2*Math.PI*n._rose_proportion_/2));var a=n.color,s=n._radius_;return{arc:o,text:i,color:a,radius:s,textColor:n.textColor,textSize:n.textSize,labelShow:n.labelShow}})),f=0;f<l.length;f++){var d=l[f],p=Math.cos(d.arc)*(d.radius+a),g=Math.sin(d.arc)*(d.radius+a),v=Math.cos(d.arc)*d.radius,m=Math.sin(d.arc)*d.radius,S=p>=0?p+n.pieChartTextPadding:p-n.pieChartTextPadding,x=g,_=b(d.text,d.textSize*t.pix||n.fontSize,r),C=x;u&&c.isSameXCoordinateArea(u.start,{x:S})&&(C=S>0?Math.min(x,u.start.y):p<0||x>0?Math.max(x,u.start.y):Math.min(x,u.start.y)),S<0&&(S-=_);var L={lineStart:{x:v,y:m},lineEnd:{x:p,y:g},start:{x:S,y:C},width:_,height:n.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};u=y(L,u),s.push(u)}for(var P=0;P<s.length;P++)if(!1!==l[P].labelShow){var T=s[P],w=h(T.lineStart.x,T.lineStart.y,o),Y=h(T.lineEnd.x,T.lineEnd.y,o),A=h(T.start.x,T.start.y,o);r.setLineWidth(1*t.pix),r.setFontSize(T.textSize*t.pix||n.fontSize),r.beginPath(),r.setStrokeStyle(T.color),r.setFillStyle(T.color),r.moveTo(w.x,w.y);var O=T.start.x<0?A.x+T.width:A.x,D=T.start.x<0?A.x-5:A.x+5;r.quadraticCurveTo(Y.x,Y.y,O,A.y),r.moveTo(w.x,w.y),r.stroke(),r.closePath(),r.beginPath(),r.moveTo(A.x+T.width,A.y),r.arc(O,A.y,2*t.pix,0,2*Math.PI),r.closePath(),r.fill(),r.beginPath(),r.setFontSize(T.textSize*t.pix||n.fontSize),r.setFillStyle(T.textColor||t.fontColor),r.fillText(T.text,D,A.y+3),r.closePath(),r.stroke(),r.closePath()}}function ge(e,t,n){for(var r=s({},{type:"solid",dashLength:4,data:[]},e.extra.markLine),i=e.area[3],o=e.width-e.area[1],a=function(e,t){for(var n,r,i=t.height-t.area[0]-t.area[2],o=0;o<e.length;o++){e[o].yAxisIndex=e[o].yAxisIndex?e[o].yAxisIndex:0;var a=[].concat(t.chartData.yAxisData.ranges[e[o].yAxisIndex]);n=a.pop(),r=a.shift();var s=i*(e[o].value-n)/(r-n);e[o].y=t.height-Math.round(s)-t.area[2]}return e}(r.data,e),c=0;c<a.length;c++){var l=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontSize:13,labelPadding:6,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},a[c]);if("dash"==r.type&&n.setLineDash([r.dashLength,r.dashLength]),n.setStrokeStyle(l.lineColor),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(i,l.y),n.lineTo(o,l.y),n.stroke(),n.setLineDash([]),l.showLabel){var f=l.labelFontSize*e.pix,d=l.labelText?l.labelText:l.value;n.setFontSize(f);var p=b(d,f,n),h=p+l.labelPadding*e.pix*2,y="left"==l.labelAlign?e.area[3]-h:e.width-e.area[1];y+=l.labelOffsetX;var g=l.y-.5*f-l.labelPadding*e.pix;g+=l.labelOffsetY;var v=y+l.labelPadding*e.pix;l.y;n.setFillStyle(u(l.labelBgColor,l.labelBgOpacity)),n.setStrokeStyle(l.labelBgColor),n.setLineWidth(1*e.pix),n.beginPath(),n.rect(y,g,h,f+2*l.labelPadding*e.pix),n.closePath(),n.stroke(),n.fill(),n.setFontSize(f),n.setTextAlign("left"),n.setFillStyle(l.labelFontColor),n.fillText(String(d),v,g+f+l.labelPadding*e.pix/2),n.stroke(),n.setTextAlign("left")}}}function ve(e,t,n,r,i){var o=s({},{gridType:"solid",dashLength:4},e.extra.tooltip),a=e.area[3],c=e.width-e.area[1];if("dash"==o.gridType&&n.setLineDash([o.dashLength,o.dashLength]),n.setStrokeStyle(o.gridColor||"#cccccc"),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(a,e.tooltip.offset.y),n.lineTo(c,e.tooltip.offset.y),n.stroke(),n.setLineDash([]),o.yAxisLabel)for(var l=o.boxPadding*e.pix,f=function(e,t,n,r,i){for(var o=[].concat(n.chartData.yAxisData.ranges),a=n.height-n.area[0]-n.area[2],s=n.area[0],c=[],u=0;u<o.length;u++){var l=Math.max.apply(this,o[u]),f=Math.min.apply(this,o[u]),d=l-(l-f)*(e-s)/a;d=n.yAxis.data&&n.yAxis.data[u].formatter?n.yAxis.data[u].formatter(d,u,n):d.toFixed(0),c.push(String(d))}return c}(e.tooltip.offset.y,e.series,e),d=e.chartData.yAxisData.yAxisWidth,p=e.area[3],h=e.width-e.area[1],y=0;y<f.length;y++){n.setFontSize(o.fontSize*e.pix);var g,v=b(f[y],o.fontSize*e.pix,n),m=void 0,S=void 0;"left"==d[y].position?(m=p-(v+2*l)-2*e.pix,S=Math.max(m,m+v+2*l)):(m=h+2*e.pix,S=Math.max(m+d[y].width,m+v+2*l)),g=S-m;var x=m+(g-v)/2,_=e.tooltip.offset.y;n.beginPath(),n.setFillStyle(u(o.labelBgColor||t.toolTipBackground,o.labelBgOpacity||t.toolTipOpacity)),n.setStrokeStyle(o.labelBgColor||t.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(m,_-.5*t.fontSize-l,g,t.fontSize+2*l),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(t.fontSize),n.setFillStyle(o.labelFontColor||e.fontColor),n.fillText(f[y],x,_+.5*t.fontSize),n.closePath(),n.stroke(),"left"==d[y].position?p-=d[y].width+e.yAxis.padding*e.pix:h+=d[y].width+e.yAxis.padding*e.pix}}function me(e,t,n,r,i){var o=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:i},t.extra.column);o.activeWidth=o.activeWidth>i?i:o.activeWidth;var a=t.area[0],c=t.height-t.area[2];r.beginPath(),r.setFillStyle(u(o.activeBgColor,o.activeBgOpacity)),r.rect(e-o.activeWidth/2,a,o.activeWidth,c-a),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function be(e,t,n,r,i){var o=s({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.bar),a=t.area[3],c=t.width-t.area[1];r.beginPath(),r.setFillStyle(u(o.activeBgColor,o.activeBgOpacity)),r.rect(a,e-i/2,c-a,i),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function Se(e,t,n,r,i,o,a){var c=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,boxPadding:3,fontColor:"#FFFFFF",fontSize:13,lineHeight:20,legendShow:!0,legendShape:"auto",splitLine:!0},n.extra.tooltip);1==c.showCategory&&n.categories&&e.unshift({text:n.categories[n.tooltip.index],color:null});var l=c.fontSize*n.pix,f=c.lineHeight*n.pix,d=c.boxPadding*n.pix,p=l,h=5*n.pix;0==c.legendShow&&(p=0,h=0);var y=c.showArrow?8*n.pix:0,g=!1;"line"!=n.type&&"mount"!=n.type&&"area"!=n.type&&"candle"!=n.type&&"mix"!=n.type||1==c.splitLine&&function(e,t,n,r){var i=t.extra.tooltip||{};i.gridType=void 0==i.gridType?"solid":i.gridType,i.dashLength=void 0==i.dashLength?4:i.dashLength;var o=t.area[0],a=t.height-t.area[2];if("dash"==i.gridType&&r.setLineDash([i.dashLength,i.dashLength]),r.setStrokeStyle(i.gridColor||"#cccccc"),r.setLineWidth(1*t.pix),r.beginPath(),r.moveTo(e,o),r.lineTo(e,a),r.stroke(),r.setLineDash([]),i.xAxisLabel){var s=t.categories[t.tooltip.index];r.setFontSize(n.fontSize);var c=b(s,n.fontSize,r),l=e-.5*c,f=a+2*t.pix;r.beginPath(),r.setFillStyle(u(i.labelBgColor||n.toolTipBackground,i.labelBgOpacity||n.toolTipOpacity)),r.setStrokeStyle(i.labelBgColor||n.toolTipBackground),r.setLineWidth(1*t.pix),r.rect(l-i.boxPadding*t.pix,f,c+2*i.boxPadding*t.pix,n.fontSize+2*i.boxPadding*t.pix),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(i.labelFontColor||t.fontColor),r.fillText(String(s),l,f+i.boxPadding*t.pix+n.fontSize),r.closePath(),r.stroke()}}(n.tooltip.offset.x,n,r,i),t=s({x:0,y:0},t),t.y-=8*n.pix;var v=e.map((function(e){return b(e.text,l,i)})),m=p+h+4*d+Math.max.apply(null,v),S=2*d+e.length*f;if(0!=c.showBox){t.x-Math.abs(n._scrollDistance_||0)+y+m>n.width&&(g=!0),S+t.y>n.height&&(t.y=n.height-S),i.beginPath(),i.setFillStyle(u(c.bgColor,c.bgOpacity)),i.setLineWidth(c.borderWidth*n.pix),i.setStrokeStyle(u(c.borderColor,c.borderOpacity));var x=c.borderRadius;g?(m+y>n.width&&(t.x=n.width+Math.abs(n._scrollDistance_||0)+y+(m-n.width)),m>t.x&&(t.x=n.width+Math.abs(n._scrollDistance_||0)+y+(m-n.width)),c.showArrow&&(i.moveTo(t.x,t.y+10*n.pix),i.lineTo(t.x-y,t.y+10*n.pix+5*n.pix)),i.arc(t.x-y-x,t.y+S-x,x,0,Math.PI/2,!1),i.arc(t.x-y-Math.round(m)+x,t.y+S-x,x,Math.PI/2,Math.PI,!1),i.arc(t.x-y-Math.round(m)+x,t.y+x,x,-Math.PI,-Math.PI/2,!1),i.arc(t.x-y-x,t.y+x,x,-Math.PI/2,0,!1),c.showArrow&&(i.lineTo(t.x-y,t.y+10*n.pix-5*n.pix),i.lineTo(t.x,t.y+10*n.pix))):(c.showArrow&&(i.moveTo(t.x,t.y+10*n.pix),i.lineTo(t.x+y,t.y+10*n.pix-5*n.pix)),i.arc(t.x+y+x,t.y+x,x,-Math.PI,-Math.PI/2,!1),i.arc(t.x+y+Math.round(m)-x,t.y+x,x,-Math.PI/2,0,!1),i.arc(t.x+y+Math.round(m)-x,t.y+S-x,x,0,Math.PI/2,!1),i.arc(t.x+y+x,t.y+S-x,x,Math.PI/2,Math.PI,!1),c.showArrow&&(i.lineTo(t.x+y,t.y+10*n.pix+5*n.pix),i.lineTo(t.x,t.y+10*n.pix))),i.closePath(),i.fill(),c.borderWidth>0&&i.stroke(),c.legendShow&&e.forEach((function(e,r){if(null!==e.color){i.beginPath(),i.setFillStyle(e.color);var o=t.x+y+2*d,a=t.y+(f-l)/2+f*r+d+1;switch(g&&(o=t.x-m-y+2*d),e.legendShape){case"line":i.moveTo(o,a+.5*p-2*n.pix),i.fillRect(o,a+.5*p-2*n.pix,p,4*n.pix);break;case"triangle":i.moveTo(o+7.5*n.pix,a+.5*p-5*n.pix),i.lineTo(o+2.5*n.pix,a+.5*p+5*n.pix),i.lineTo(o+12.5*n.pix,a+.5*p+5*n.pix),i.lineTo(o+7.5*n.pix,a+.5*p-5*n.pix);break;case"diamond":i.moveTo(o+7.5*n.pix,a+.5*p-5*n.pix),i.lineTo(o+2.5*n.pix,a+.5*p),i.lineTo(o+7.5*n.pix,a+.5*p+5*n.pix),i.lineTo(o+12.5*n.pix,a+.5*p),i.lineTo(o+7.5*n.pix,a+.5*p-5*n.pix);break;case"circle":i.moveTo(o+7.5*n.pix,a+.5*p),i.arc(o+7.5*n.pix,a+.5*p,5*n.pix,0,2*Math.PI);break;case"rect":i.moveTo(o,a+.5*p-5*n.pix),i.fillRect(o,a+.5*p-5*n.pix,15*n.pix,10*n.pix);break;case"square":i.moveTo(o+2*n.pix,a+.5*p-5*n.pix),i.fillRect(o+2*n.pix,a+.5*p-5*n.pix,10*n.pix,10*n.pix);break;default:i.moveTo(o,a+.5*p-5*n.pix),i.fillRect(o,a+.5*p-5*n.pix,15*n.pix,10*n.pix)}i.closePath(),i.fill()}})),e.forEach((function(e,n){var r=t.x+y+2*d+p+h;g&&(r=t.x-m-y+2*d+p+h);var o=t.y+f*n+(f-l)/2-1+d+l;i.beginPath(),i.setFontSize(l),i.setTextBaseline("normal"),i.setFillStyle(c.fontColor),i.fillText(e.text,r,o),i.closePath(),i.stroke()}))}}function xe(e,t,n,r,i,o){var a=e.extra.tooltip||{};a.horizentalLine&&e.tooltip&&1===r&&("line"==e.type||"area"==e.type||"column"==e.type||"mount"==e.type||"candle"==e.type||"mix"==e.type)&&ve(e,t,n),n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&n.translate(e._scrollDistance_,0),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&Se(e.tooltip.textList,e.tooltip.offset,e,t,n),n.restore()}function _e(e,t,n,r){var i=t.chartData.xAxisData,o=i.xAxisPoints,a=i.startX,s=i.endX,c=i.eachSpacing,u="center";"bar"!=t.type&&"line"!=t.type&&"area"!=t.type&&"scatter"!=t.type&&"bubble"!=t.type||(u=t.xAxis.boundaryGap);var l=t.height-t.area[2],f=t.area[0];if(t.enableScroll&&t.xAxis.scrollShow){var d=t.height-t.area[2]+n.xAxisHeight,p=s-a,h=c*(o.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),h+=(t.extra.mount.widthRatio-1)*c);var y=p*p/h,g=0;t._scrollDistance_&&(g=-t._scrollDistance_*p/h),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollBackgroundColor||"#EFEBEF"),r.moveTo(a,d),r.lineTo(s,d),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),r.moveTo(a+g,d),r.lineTo(a+g+y,d),r.stroke(),r.closePath(),r.setLineCap("butt")}if(r.save(),t._scrollDistance_&&0!==t._scrollDistance_&&r.translate(t._scrollDistance_,0),!0===t.xAxis.calibration&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pix),o.forEach((function(e,n){n>0&&(r.beginPath(),r.moveTo(e-c/2,l),r.lineTo(e-c/2,l+3*t.pix),r.closePath(),r.stroke())}))),!0!==t.xAxis.disableGrid&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pix),"dash"==t.xAxis.gridType&&r.setLineDash([t.xAxis.dashLength*t.pix,t.xAxis.dashLength*t.pix]),t.xAxis.gridEval=t.xAxis.gridEval||1,o.forEach((function(e,n){n%t.xAxis.gridEval==0&&(r.beginPath(),r.moveTo(e,l),r.lineTo(e,f),r.stroke())})),r.setLineDash([])),!0!==t.xAxis.disabled){var v=e.length;t.xAxis.labelCount&&(v=t.xAxis.itemCount?Math.ceil(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,v-=1);for(var m=Math.ceil(e.length/v),S=[],x=e.length,_=0;_<x;_++)_%m!==0?S.push(""):S.push(e[_]);S[x-1]=e[x-1];var C=t.xAxis.fontSize*t.pix||n.fontSize;0===n._xAxisTextAngle_?S.forEach((function(e,n){var i=t.xAxis.formatter?t.xAxis.formatter(e,n,t):e,a=-b(String(i),C,r)/2;"center"==u&&(a+=c/2);t.xAxis.scrollShow&&t.pix;var s=t._scrollDistance_||0,f="center"==u?o[n]+c/2:o[n];f-Math.abs(s)>=t.area[3]-1&&f-Math.abs(s)<=t.width-t.area[1]+1&&(r.beginPath(),r.setFontSize(C),r.setFillStyle(t.xAxis.fontColor||t.fontColor),r.fillText(String(i),o[n]+a,l+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.fontSize)*t.pix/2+t.xAxis.fontSize*t.pix),r.closePath(),r.stroke())})):S.forEach((function(e,i){var a=t.xAxis.formatter?t.xAxis.formatter(e):e,s=t._scrollDistance_||0,f="center"==u?o[i]+c/2:o[i];if(f-Math.abs(s)>=t.area[3]-1&&f-Math.abs(s)<=t.width-t.area[1]+1){r.save(),r.beginPath(),r.setFontSize(C),r.setFillStyle(t.xAxis.fontColor||t.fontColor);var d=b(String(a),C,r),p=o[i];"center"==u&&(p=o[i]+c/2);t.xAxis.scrollShow&&6*t.pix;var h=l+t.xAxis.marginTop*t.pix+C-C*Math.abs(Math.sin(n._xAxisTextAngle_));t.xAxis.rotateAngle<0?(p-=C/2,d=0):(p+=C/2,d=-d),r.translate(p,h),r.rotate(-1*n._xAxisTextAngle_),r.fillText(String(a),d,0),r.closePath(),r.stroke(),r.restore()}}))}r.restore(),t.xAxis.title&&(r.beginPath(),r.setFontSize(t.xAxis.titleFontSize*t.pix),r.setFillStyle(t.xAxis.titleFontColor),r.fillText(String(t.xAxis.title),t.width-t.area[1]+t.xAxis.titleOffsetX*t.pix,t.height-t.area[2]+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.titleFontSize)*t.pix/2+(t.xAxis.titleFontSize+t.xAxis.titleOffsetY)*t.pix),r.closePath(),r.stroke()),t.xAxis.axisLine&&(r.beginPath(),r.setStrokeStyle(t.xAxis.axisLineColor),r.setLineWidth(1*t.pix),r.moveTo(a,t.height-t.area[2]),r.lineTo(s,t.height-t.area[2]),r.stroke())}function Ce(e,t,n,r){if(!0!==t.yAxis.disableGrid){var i=t.height-t.area[0]-t.area[2],o=i/t.yAxis.splitNumber,a=t.area[3],s=t.chartData.xAxisData.xAxisPoints,c=t.chartData.xAxisData.eachSpacing,u=c*(s.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),u+=(t.extra.mount.widthRatio-1)*c);var l=a+u,f=[],d=1;!1===t.xAxis.axisLine&&(d=0);for(var p=d;p<t.yAxis.splitNumber+1;p++)f.push(t.height-t.area[2]-o*p);r.save(),t._scrollDistance_&&0!==t._scrollDistance_&&r.translate(t._scrollDistance_,0),"dash"==t.yAxis.gridType&&r.setLineDash([t.yAxis.dashLength*t.pix,t.yAxis.dashLength*t.pix]),r.setStrokeStyle(t.yAxis.gridColor),r.setLineWidth(1*t.pix),f.forEach((function(e,t){r.beginPath(),r.moveTo(a,e),r.lineTo(l,e),r.stroke()})),r.setLineDash([]),r.restore()}}function Le(e,t,n,r){if(!0!==t.yAxis.disabled){var i=t.height-t.area[0]-t.area[2],o=i/t.yAxis.splitNumber,a=t.area[3],s=t.width-t.area[1],c=t.height-t.area[2];r.beginPath(),r.setFillStyle(t.background),1==t.enableScroll&&t.xAxis.scrollPosition&&"left"!==t.xAxis.scrollPosition&&r.fillRect(0,0,a,c+2*t.pix),1==t.enableScroll&&t.xAxis.scrollPosition&&"right"!==t.xAxis.scrollPosition&&r.fillRect(s,0,t.width,c+2*t.pix),r.closePath(),r.stroke();var u=t.area[3],l=t.width-t.area[1],f=t.area[3]+(t.width-t.area[1]-t.area[3])/2;if(t.yAxis.data)for(var d=function(e){var a=t.yAxis.data[e];if(h=[],"categories"===a.type)for(var s=0;s<=a.categories.length;s++)h.push(t.area[0]+i/a.categories.length/2+i/a.categories.length*s);else for(var c=0;c<=t.yAxis.splitNumber;c++)h.push(t.area[0]+o*c);if(!0!==a.disabled){var d=t.chartData.yAxisData.rangesFormat[e],p=a.fontSize?a.fontSize*t.pix:n.fontSize,y=t.chartData.yAxisData.yAxisWidth[e],g=a.textAlign||"right";if(d.forEach((function(e,n){var i=h[n];r.beginPath(),r.setFontSize(p),r.setLineWidth(1*t.pix),r.setStrokeStyle(a.axisLineColor||"#cccccc"),r.setFillStyle(a.fontColor||t.fontColor);var o=0,s=4*t.pix;if("left"==y.position){switch(1==a.calibration&&(r.moveTo(u,i),r.lineTo(u-3*t.pix,i),s+=3*t.pix),g){case"left":r.setTextAlign("left"),o=u-y.width;break;case"right":r.setTextAlign("right"),o=u-s;break;default:r.setTextAlign("center"),o=u-y.width/2}r.fillText(String(e),o,i+p/2-3*t.pix)}else if("right"==y.position){switch(1==a.calibration&&(r.moveTo(l,i),r.lineTo(l+3*t.pix,i),s+=3*t.pix),g){case"left":r.setTextAlign("left"),o=l+s;break;case"right":r.setTextAlign("right"),o=l+y.width;break;default:r.setTextAlign("center"),o=l+y.width/2}r.fillText(String(e),o,i+p/2-3*t.pix)}else if("center"==y.position){switch(1==a.calibration&&(r.moveTo(f,i),r.lineTo(f-3*t.pix,i),s+=3*t.pix),g){case"left":r.setTextAlign("left"),o=f-y.width;break;case"right":r.setTextAlign("right"),o=f-s;break;default:r.setTextAlign("center"),o=f-y.width/2}r.fillText(String(e),o,i+p/2-3*t.pix)}r.closePath(),r.stroke(),r.setTextAlign("left")})),!1!==a.axisLine&&(r.beginPath(),r.setStrokeStyle(a.axisLineColor||"#cccccc"),r.setLineWidth(1*t.pix),"left"==y.position?(r.moveTo(u,t.height-t.area[2]),r.lineTo(u,t.area[0])):"right"==y.position?(r.moveTo(l,t.height-t.area[2]),r.lineTo(l,t.area[0])):"center"==y.position&&(r.moveTo(f,t.height-t.area[2]),r.lineTo(f,t.area[0])),r.stroke()),t.yAxis.showTitle){var v=a.titleFontSize*t.pix||n.fontSize,m=a.title;r.beginPath(),r.setFontSize(v),r.setFillStyle(a.titleFontColor||t.fontColor),"left"==y.position?r.fillText(m,u-b(m,v,r)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix):"right"==y.position?r.fillText(m,l-b(m,v,r)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix):"center"==y.position&&r.fillText(m,f-b(m,v,r)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix),r.closePath(),r.stroke()}"left"==y.position?u-=y.width+t.yAxis.padding*t.pix:l+=y.width+t.yAxis.padding*t.pix}},p=0;p<t.yAxis.data.length;p++){var h;d(p)}}}function Pe(e,t,n,r,i){if(!1!==t.legend.show){var o=i.legendData,a=o.points,s=o.area,c=t.legend.padding*t.pix,u=t.legend.fontSize*t.pix,l=15*t.pix,f=5*t.pix,d=t.legend.itemGap*t.pix,p=Math.max(t.legend.lineHeight*t.pix,u);r.beginPath(),r.setLineWidth(t.legend.borderWidth*t.pix),r.setStrokeStyle(t.legend.borderColor),r.setFillStyle(t.legend.backgroundColor),r.moveTo(s.start.x,s.start.y),r.rect(s.start.x,s.start.y,s.width,s.height),r.closePath(),r.fill(),r.stroke(),a.forEach((function(e,i){var a,h=0;h=o.widthArr[i],a=o.heightArr[i];var y=0,g=0;if("top"==t.legend.position||"bottom"==t.legend.position){switch(t.legend.float){case"left":y=s.start.x+c;break;case"right":y=s.start.x+s.width-h;break;default:y=s.start.x+(s.width-h)/2}g=s.start.y+c+i*p}else h=0==i?0:o.widthArr[i-1],y=s.start.x+c+h,g=s.start.y+c+(s.height-a)/2;r.setFontSize(n.fontSize);for(var v=0;v<e.length;v++){var m=e[v];switch(m.area=[0,0,0,0],m.area[0]=y,m.area[1]=g,m.area[3]=g+p,r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(m.show?m.color:t.legend.hiddenColor),r.setFillStyle(m.show?m.color:t.legend.hiddenColor),m.legendShape){case"line":r.moveTo(y,g+.5*p-2*t.pix),r.fillRect(y,g+.5*p-2*t.pix,15*t.pix,4*t.pix);break;case"triangle":r.moveTo(y+7.5*t.pix,g+.5*p-5*t.pix),r.lineTo(y+2.5*t.pix,g+.5*p+5*t.pix),r.lineTo(y+12.5*t.pix,g+.5*p+5*t.pix),r.lineTo(y+7.5*t.pix,g+.5*p-5*t.pix);break;case"diamond":r.moveTo(y+7.5*t.pix,g+.5*p-5*t.pix),r.lineTo(y+2.5*t.pix,g+.5*p),r.lineTo(y+7.5*t.pix,g+.5*p+5*t.pix),r.lineTo(y+12.5*t.pix,g+.5*p),r.lineTo(y+7.5*t.pix,g+.5*p-5*t.pix);break;case"circle":r.moveTo(y+7.5*t.pix,g+.5*p),r.arc(y+7.5*t.pix,g+.5*p,5*t.pix,0,2*Math.PI);break;case"rect":r.moveTo(y,g+.5*p-5*t.pix),r.fillRect(y,g+.5*p-5*t.pix,15*t.pix,10*t.pix);break;case"square":r.moveTo(y+5*t.pix,g+.5*p-5*t.pix),r.fillRect(y+5*t.pix,g+.5*p-5*t.pix,10*t.pix,10*t.pix);break;case"none":break;default:r.moveTo(y,g+.5*p-5*t.pix),r.fillRect(y,g+.5*p-5*t.pix,15*t.pix,10*t.pix)}r.closePath(),r.fill(),r.stroke(),y+=l+f;var S=.5*p+.5*u-2,x=m.legendText?m.legendText:m.name;r.beginPath(),r.setFontSize(u),r.setFillStyle(m.show?t.legend.fontColor:t.legend.hiddenColor),r.fillText(x,y,g+S),r.closePath(),r.stroke(),"top"==t.legend.position||"bottom"==t.legend.position?(y+=b(x,u,r)+d,m.area[2]=y):(m.area[2]=y+b(x,u,r)+d,y-=l+f,g+=p)}}))}}function Te(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==t.type?t.extra.pie:t.extra.ring),a={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2};0==n.pieChartLinePadding&&(n.pieChartLinePadding=o.activeRadius*t.pix);var c=Math.min((t.width-t.area[1]-t.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding);c=c<10?10:c,o.customRadius>0&&(c=o.customRadius*t.pix),e=R(e,c,i);var l=o.activeRadius*t.pix;if(o.customColor=v(o.linearType,o.customColor,e,n),e=e.map((function(e){return e._start_+=o.offsetAngle*Math.PI/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(r.beginPath(),r.setFillStyle(u(e.color,o.activeOpacity||.5)),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_+l,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill()),r.beginPath(),r.setLineWidth(o.borderWidth*t.pix),r.lineJoin="round",r.setStrokeStyle(o.borderColor);var i,s=e.color;"custom"==o.linearType&&(i=r.createCircularGradient?r.createCircularGradient(a.x,a.y,e._radius_):r.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),i.addColorStop(0,u(o.customColor[e.linearIndex],1)),i.addColorStop(1,u(e.color,1)),s=i);r.setFillStyle(s),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill(),1==o.border&&r.stroke()})),"ring"===t.type){var f=.6*c;"number"===typeof o.ringWidth&&o.ringWidth>0&&(f=Math.max(0,c-o.ringWidth*t.pix)),r.beginPath(),r.setFillStyle(o.centerColor),r.moveTo(a.x,a.y),r.arc(a.x,a.y,f,0,2*Math.PI),r.closePath(),r.fill()}return!1!==t.dataLabel&&1===i&&ye(e,t,n,r,0,a),1===i&&"ring"===t.type&&ce(t,n,r,a),{center:a,radius:c,series:e}}function we(e,t){var n=Array(2),r=20037508.34*e/180,i=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return i=20037508.34*i/180,n[0]=r,n[1]=i,n}function Ye(e,t,n,r,i,o){return{x:(t-n.xMin)*r+i,y:(n.yMax-e)*r+o}}function Ae(e,t,n){if(t[1]==n[1])return!1;if(t[1]>e[1]&&n[1]>e[1])return!1;if(t[1]<e[1]&&n[1]<e[1])return!1;if(t[1]==e[1]&&n[1]>e[1])return!1;if(n[1]==e[1]&&t[1]>e[1])return!1;if(t[0]<e[0]&&n[1]<e[1])return!1;var r=n[0]-(n[0]-t[0])*(n[1]-e[1])/(n[1]-t[1]);return!(r<e[0])}function Oe(e,t,n){for(var r=0,i=0;i<t.length;i++){var o=t[i][0];1==t.length&&(o=t[i][0]);for(var a=0;a<o.length-1;a++){var s=o[a],c=o[a+1];n&&(s=we(o[a][0],o[a][1]),c=we(o[a+1][0],o[a+1][1])),Ae(e,s,c)&&(r+=1)}}return r%2==1}function De(e,t,n){n=0==n?1:n;for(var r=[],i=0;i<n;i++)r[i]=Math.random();return Math.floor(r.reduce((function(e,t){return e+t}))/n*(t-e))+e}function Me(e,t,n,r){for(var i=!1,o=0;o<t.length;o++)if(t[o].area){if(!(e[3]<t[o].area[1]||e[0]>t[o].area[2]||e[1]>t[o].area[3]||e[2]<t[o].area[0])){i=!0;break}if(e[0]<0||e[1]<0||e[2]>n||e[3]>r){i=!0;break}i=!1}return i}function Ze(e,t,n){var r=e.series;switch(t){case"normal":for(var i=0;i<r.length;i++){var o=r[i].name,a=r[i].textSize*e.pix,s=b(o,a,n),c=void 0,u=void 0,l=void 0,f=0;while(1){f++,c=De(-e.width/2,e.width/2,5)-s/2,u=De(-e.height/2,e.height/2,5)+a/2,l=[c-5+e.width/2,u-5-a+e.height/2,c+s+5+e.width/2,u+5+e.height/2];var d=Me(l,r,e.width,e.height);if(!d)break;if(1e3==f){l=[-100,-100,-100,-100];break}}r[i].area=l}break;case"vertical":for(var p=function(){return Math.random()>.7},h=0;h<r.length;h++){var y=r[h].name,g=r[h].textSize*e.pix,v=b(y,g,n),m=p(),S=void 0,x=void 0,_=void 0,C=void 0,L=0;while(1){L++;var P=void 0;if(m?(S=De(-e.width/2,e.width/2,5)-v/2,x=De(-e.height/2,e.height/2,5)+g/2,_=[x-5-v+e.width/2,-S-5+e.height/2,x+5+e.width/2,-S+g+5+e.height/2],C=[e.width-(e.width/2-e.height/2)-(-S+g+5+e.height/2)-5,e.height/2-e.width/2+(x-5-v+e.width/2)-5,e.width-(e.width/2-e.height/2)-(-S+g+5+e.height/2)+g,e.height/2-e.width/2+(x-5-v+e.width/2)+v+5],P=Me(C,r,e.height,e.width)):(S=De(-e.width/2,e.width/2,5)-v/2,x=De(-e.height/2,e.height/2,5)+g/2,_=[S-5+e.width/2,x-5-g+e.height/2,S+v+5+e.width/2,x+5+e.height/2],P=Me(_,r,e.width,e.height)),!P)break;if(1e3==L){_=[-1e3,-1e3,-1e3,-1e3];break}}m?(r[h].area=C,r[h].areav=_):r[h].area=_,r[h].rotate=m}break}return r}function ke(e,t,n,r,i,o,a){for(var s=0;s<e.length;s++){var u=e[s];if(!1!==u.labelShow){var l=void 0,f=void 0,d=void 0,p=void 0,h=u.formatter?u.formatter(u,s,e,t):c.toFixed(100*u._proportion_)+"%";h=u.labelText?u.labelText:h,"right"==i&&(l=s==e.length-1?(u.funnelArea[2]+a.x)/2:(u.funnelArea[2]+e[s+1].funnelArea[2])/2,f=l+2*o,d=u.funnelArea[1]+r/2,p=u.textSize*t.pix||t.fontSize*t.pix,n.setLineWidth(1*t.pix),n.setStrokeStyle(u.color),n.setFillStyle(u.color),n.beginPath(),n.moveTo(l,d),n.lineTo(f,d),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(f,d),n.arc(f,d,2*t.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(p),n.setFillStyle(u.textColor||t.fontColor),n.fillText(h,f+5,d+p/2-2),n.closePath(),n.stroke(),n.closePath()),"left"==i&&(l=s==e.length-1?(u.funnelArea[0]+a.x)/2:(u.funnelArea[0]+e[s+1].funnelArea[0])/2,f=l-2*o,d=u.funnelArea[1]+r/2,p=u.textSize*t.pix||t.fontSize*t.pix,n.setLineWidth(1*t.pix),n.setStrokeStyle(u.color),n.setFillStyle(u.color),n.beginPath(),n.moveTo(l,d),n.lineTo(f,d),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(f,d),n.arc(f,d,2,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(p),n.setFillStyle(u.textColor||t.fontColor),n.fillText(h,f-5-b(h,p,n),d+p/2-2),n.closePath(),n.stroke(),n.closePath())}}}function Ee(e,t,n,r,i,o,a){for(var s=0;s<e.length;s++){var c=e[s],u=void 0,l=void 0;c.centerText&&(u=c.funnelArea[1]+r/2,l=c.centerTextSize*t.pix||t.fontSize*t.pix,n.beginPath(),n.setFontSize(l),n.setFillStyle(c.centerTextColor||"#FFFFFF"),n.fillText(c.centerText,a.x-b(c.centerText,l,n)/2,u+l/2-2),n.closePath(),n.stroke(),n.closePath())}}function Re(e,t){t.save(),t.translate(0,.5),t.restore(),t.draw()}var Ne={easeIn:function(e){return Math.pow(e,3)},easeOut:function(e){return Math.pow(e-1,3)+1},easeInOut:function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},linear:function(e){return e}};function Xe(e){this.isStop=!1,e.duration="undefined"===typeof e.duration?1e3:e.duration,e.timing=e.timing||"easeInOut";var t=function(){return"undefined"!==typeof setTimeout?function(e,t){setTimeout((function(){var t=+new Date;e(t)}),t)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(e){e(null)}}(),n=null,r=function(i){if(null===i||!0===this.isStop)return e.onProcess&&e.onProcess(1),void(e.onAnimationFinish&&e.onAnimationFinish());if(null===n&&(n=i),i-n<e.duration){var o=(i-n)/e.duration,a=Ne[e.timing];o=a(o),e.onProcess&&e.onProcess(o),t(r,17)}else e.onProcess&&e.onProcess(1),e.onAnimationFinish&&e.onAnimationFinish()};r=r.bind(this),t(r,17)}function Ie(e,t,n,r){var o=this,a=this,l=t.series;"pie"!==e&&"ring"!==e&&"mount"!==e&&"rose"!==e&&"funnel"!==e||(l=function(e,t,n){var r=[];if(e.length>0&&e[0].data.constructor.toString().indexOf("Array")>-1){t._pieSeries_=e;for(var i=e[0].data,o=0;o<i.length;o++)i[o].formatter=e[0].formatter,i[o].data=i[o].value,r.push(i[o]);t.series=r}else r=e;return r}(l,t));var f=t.categories;if("mount"===e){f=[];for(var d=0;d<l.length;d++)!1!==l[d].show&&f.push(l[d].name);t.categories=f}l=g(l,t,n);var y=t.animation?t.duration:0;a.animationInstance&&a.animationInstance.stop();var m=null;if("candle"==e){var x=s({},t.extra.candle.average);x.show?(m=function(e,t,n,r){for(var i=[],o=0;o<e.length;o++){for(var a={data:[],name:t[o],color:n[o]},s=0,c=r.length;s<c;s++)if(s<e[o])a.data.push(null);else{for(var u=0,l=0;l<e[o];l++)u+=r[s-l][1];a.data.push(+(u/e[o]).toFixed(3))}i.push(a)}return i}(x.day,x.name,x.color,l[0].data),m=g(m,t,n),t.seriesMA=m):m=t.seriesMA?t.seriesMA=g(t.seriesMA,t,n):l}else m=l;t._series_=l=A(l),t.area=new Array(4);for(var _=0;_<4;_++)t.area[_]=t.padding[_]*t.pix;var C=function(e,t,n,r,i){var o={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===t.legend.show)return r.legendData=o,o;var a=t.legend.padding*t.pix,s=t.legend.margin*t.pix,c=t.legend.fontSize?t.legend.fontSize*t.pix:n.fontSize,u=15*t.pix,l=5*t.pix,f=Math.max(t.legend.lineHeight*t.pix,c);if("top"==t.legend.position||"bottom"==t.legend.position){for(var d=[],p=0,h=[],y=[],g=0;g<e.length;g++){var v=e[g],m=v.legendText?v.legendText:v.name,S=u+l+b(m||"undefined",c,i)+t.legend.itemGap*t.pix;p+S>t.width-t.area[1]-t.area[3]?(d.push(y),h.push(p-t.legend.itemGap*t.pix),p=S,y=[v]):(p+=S,y.push(v))}if(y.length){d.push(y),h.push(p-t.legend.itemGap*t.pix),o.widthArr=h;var x=Math.max.apply(null,h);switch(t.legend.float){case"left":o.area.start.x=t.area[3],o.area.end.x=t.area[3]+x+2*a;break;case"right":o.area.start.x=t.width-t.area[1]-x-2*a,o.area.end.x=t.width-t.area[1];break;default:o.area.start.x=(t.width-x)/2-a,o.area.end.x=(t.width+x)/2+a}o.area.width=x+2*a,o.area.wholeWidth=x+2*a,o.area.height=d.length*f+2*a,o.area.wholeHeight=d.length*f+2*a+2*s,o.points=d}}else{var _=e.length,C=t.height-t.area[0]-t.area[2]-2*s-2*a,L=Math.min(Math.floor(C/f),_);switch(o.area.height=L*f+2*a,o.area.wholeHeight=L*f+2*a,t.legend.float){case"top":o.area.start.y=t.area[0]+s,o.area.end.y=t.area[0]+s+o.area.height;break;case"bottom":o.area.start.y=t.height-t.area[2]-s-o.area.height,o.area.end.y=t.height-t.area[2]-s;break;default:o.area.start.y=(t.height-o.area.height)/2,o.area.end.y=(t.height+o.area.height)/2}for(var P=_%L===0?_/L:Math.floor(_/L+1),T=[],w=0;w<P;w++){var Y=e.slice(w*L,w*L+L);T.push(Y)}if(o.points=T,T.length){for(var A=0;A<T.length;A++){for(var O=T[A],D=0,M=0;M<O.length;M++){var Z=u+l+b(O[M].name||"undefined",c,i)+t.legend.itemGap*t.pix;Z>D&&(D=Z)}o.widthArr.push(D),o.heightArr.push(O.length*f+2*a)}for(var k=0,E=0;E<o.widthArr.length;E++)k+=o.widthArr[E];o.area.width=k-t.legend.itemGap*t.pix+2*a,o.area.wholeWidth=o.area.width+a}}switch(t.legend.position){case"top":o.area.start.y=t.area[0]+s,o.area.end.y=t.area[0]+s+o.area.height;break;case"bottom":o.area.start.y=t.height-t.area[2]-o.area.height-s,o.area.end.y=t.height-t.area[2]-s;break;case"left":o.area.start.x=t.area[3],o.area.end.x=t.area[3]+o.area.width;break;case"right":o.area.start.x=t.width-t.area[1]-o.area.width,o.area.end.x=t.width-t.area[1];break}return r.legendData=o,o}(m,t,n,t.chartData,r),T=C.area.wholeHeight,w=C.area.wholeWidth;switch(t.legend.position){case"top":t.area[0]+=T;break;case"bottom":t.area[2]+=T;break;case"left":t.area[3]+=w;break;case"right":t.area[1]+=w;break}var Y={},O=0;if("line"===t.type||"column"===t.type||"mount"===t.type||"area"===t.type||"mix"===t.type||"candle"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){if(Y=ie(l,t,n,r),O=Y.yAxisWidth,t.yAxis.showTitle){for(var D=0,re=0;re<t.yAxis.data.length;re++)D=Math.max(D,t.yAxis.data[re].titleFontSize?t.yAxis.data[re].titleFontSize*t.pix:n.fontSize);t.area[0]+=D}for(var ve=0,Se=0,Ae=0;Ae<O.length;Ae++)"left"==O[Ae].position?(t.area[3]+=Se>0?O[Ae].width+t.yAxis.padding*t.pix:O[Ae].width,Se+=1):"right"==O[Ae].position&&(t.area[1]+=ve>0?O[Ae].width+t.yAxis.padding*t.pix:O[Ae].width,ve+=1)}else n.yAxisWidth=O;if(t.chartData.yAxisData=Y,t.categories&&t.categories.length&&"radar"!==t.type&&"gauge"!==t.type&&"bar"!==t.type){t.chartData.xAxisData=U(t.categories,t);var Oe=Z(t.categories,t,0,t.chartData.xAxisData.eachSpacing,r),De=Oe.xAxisHeight,Me=Oe.angle;n.xAxisHeight=De,n._xAxisTextAngle_=Me,t.area[2]+=De,t.chartData.categoriesData=Oe}else if("line"===t.type||"area"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){t.chartData.xAxisData=k(l,t,n,r),f=t.chartData.xAxisData.rangesFormat;var Ne=Z(f,t,0,t.chartData.xAxisData.eachSpacing,r),Ie=Ne.xAxisHeight,Je=Ne.angle;n.xAxisHeight=Ie,n._xAxisTextAngle_=Je,t.area[2]+=Ie,t.chartData.categoriesData=Ne}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var Fe,Be=t.chartData.xAxisData.xAxisPoints,He=t.chartData.xAxisData.startX,Ge=t.chartData.xAxisData.endX,je=t.chartData.xAxisData.eachSpacing,Qe=je*(Be.length-1),We=Ge-He;Fe=We-Qe,a.scrollOption.currentOffset=Fe,a.scrollOption.startTouchX=Fe,a.scrollOption.distance=0,a.scrollOption.lastMoveTime=0,t._scrollDistance_=Fe}switch("pie"!==e&&"ring"!==e&&"rose"!==e||(n._pieTextMaxLength_=!1===t.dataLabel?0:function(e,t,n,r){e=R(e);for(var i=0,o=0;o<e.length;o++){var a=e[o],s=a.formatter?a.formatter(+a._proportion_.toFixed(2)):c.toFixed(100*a._proportion_)+"%";i=Math.max(i,b(s,a.textSize*r.pix||t.fontSize,n))}return i}(m,n,r,t)),e){case"word":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{type:"normal",autoColors:!0},t.extra.word);t.chartData.wordCloudData||(t.chartData.wordCloudData=Ze(t,o.type,r)),r.beginPath(),r.setFillStyle(t.background),r.rect(0,0,t.width,t.height),r.fill(),r.save();var a=t.chartData.wordCloudData;r.translate(t.width/2,t.height/2);for(var c=0;c<a.length;c++){r.save(),a[c].rotate&&r.rotate(90*Math.PI/180);var u=a[c].name,l=a[c].textSize*t.pix,f=b(u,l,r);r.beginPath(),r.setStrokeStyle(a[c].color),r.setFillStyle(a[c].color),r.setFontSize(l),a[c].rotate?a[c].areav[0]>0&&(t.tooltip&&t.tooltip.index==c?r.strokeText(u,(a[c].areav[0]+5-t.width/2)*i-f*(1-i)/2,(a[c].areav[1]+5+l-t.height/2)*i):r.fillText(u,(a[c].areav[0]+5-t.width/2)*i-f*(1-i)/2,(a[c].areav[1]+5+l-t.height/2)*i)):a[c].area[0]>0&&(t.tooltip&&t.tooltip.index==c?r.strokeText(u,(a[c].area[0]+5-t.width/2)*i-f*(1-i)/2,(a[c].area[1]+5+l-t.height/2)*i):r.fillText(u,(a[c].area[0]+5-t.width/2)*i-f*(1-i)/2,(a[c].area[1]+5+l-t.height/2)*i)),r.stroke(),r.restore()}r.restore()}(l,t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"map":r.clearRect(0,0,t.width,t.height),function(e,t,n,r){var i,o,a=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},t.extra.map),c=e,l=function(e){for(var t,n={xMin:180,xMax:0,yMin:90,yMax:0},r=0;r<e.length;r++)for(var i=e[r].geometry.coordinates,o=0;o<i.length;o++){t=i[o],1==t.length&&(t=t[0]);for(var a=0;a<t.length;a++){var s=t[a][0],c=t[a][1],u={x:s,y:c};n.xMin=n.xMin<u.x?n.xMin:u.x,n.xMax=n.xMax>u.x?n.xMax:u.x,n.yMin=n.yMin<u.y?n.yMin:u.y,n.yMax=n.yMax>u.y?n.yMax:u.y}}return n}(c);if(a.mercator){var f=we(l.xMax,l.yMax),d=we(l.xMin,l.yMin);l.xMax=f[0],l.yMax=f[1],l.xMin=d[0],l.yMin=d[1]}for(var p=t.width/Math.abs(l.xMax-l.xMin),h=t.height/Math.abs(l.yMax-l.yMin),y=p<h?p:h,g=t.width/2-Math.abs(l.xMax-l.xMin)/2*y,v=t.height/2-Math.abs(l.yMax-l.yMin)/2*y,m=0;m<c.length;m++){r.beginPath(),r.setLineWidth(a.borderWidth*t.pix),r.setStrokeStyle(a.borderColor),r.setFillStyle(u(e[m].color,e[m].fillOpacity||a.fillOpacity)),1==a.active&&t.tooltip&&t.tooltip.index==m&&(r.setStrokeStyle(a.activeBorderColor),r.setFillStyle(u(a.activeFillColor,a.activeFillOpacity)));for(var S=c[m].geometry.coordinates,x=0;x<S.length;x++){i=S[x],1==i.length&&(i=i[0]);for(var _=0;_<i.length;_++){var C=Array(2);C=a.mercator?we(i[_][0],i[_][1]):i[_],o=Ye(C[1],C[0],l,y,g,v),0===_?(r.beginPath(),r.moveTo(o.x,o.y)):r.lineTo(o.x,o.y)}r.fill(),1==a.border&&r.stroke()}}if(1==t.dataLabel)for(m=0;m<c.length;m++){var L=c[m].properties.centroid;if(L){a.mercator&&(L=we(c[m].properties.centroid[0],c[m].properties.centroid[1])),o=Ye(L[1],L[0],l,y,g,v);var P=c[m].textSize*t.pix||n.fontSize,T=c[m].textColor||t.fontColor;a.active&&a.activeTextColor&&t.tooltip&&t.tooltip.index==m&&(T=a.activeTextColor);var w=c[m].properties.name;r.beginPath(),r.setFontSize(P),r.setFillStyle(T),r.fillText(w,o.x-b(w,P,r)/2,o.y+P/2),r.closePath(),r.stroke()}}t.chartData.mapData={bounds:l,scale:y,xoffset:g,yoffset:v,mercator:a.mercator},xe(t,n,r,1),r.draw()}(l,t,n,r),setTimeout((function(){o.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),t.chartData.funnelData=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},t.extra.funnel),a=(t.height-t.area[0]-t.area[2])/e.length,c={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.height-t.area[2]},l=o.activeWidth*t.pix,f=Math.min((t.width-t.area[1]-t.area[3])/2-l,(t.height-t.area[0]-t.area[2])/2-l),d=N(e,f,o,a,i);if(r.save(),r.translate(c.x,c.y),o.customColor=v(o.linearType,o.customColor,e,n),"pyramid"==o.type)for(var p=0;p<d.length;p++){if(p==d.length-1){t.tooltip&&t.tooltip.index==p&&(r.beginPath(),r.setFillStyle(u(d[p].color,o.activeOpacity)),r.moveTo(-l,-a),r.lineTo(-d[p].radius-l,0),r.lineTo(d[p].radius+l,0),r.lineTo(l,-a),r.lineTo(-l,-a),r.closePath(),r.fill()),d[p].funnelArea=[c.x-d[p].radius,c.y-a*(p+1),c.x+d[p].radius,c.y-a*p],r.beginPath(),r.setLineWidth(o.borderWidth*t.pix),r.setStrokeStyle(o.borderColor);var h=u(d[p].color,o.fillOpacity);if("custom"==o.linearType){var y=r.createLinearGradient(d[p].radius,-a,-d[p].radius,-a);y.addColorStop(0,u(d[p].color,o.fillOpacity)),y.addColorStop(.5,u(o.customColor[d[p].linearIndex],o.fillOpacity)),y.addColorStop(1,u(d[p].color,o.fillOpacity)),h=y}r.setFillStyle(h),r.moveTo(0,-a),r.lineTo(-d[p].radius,0),r.lineTo(d[p].radius,0),r.lineTo(0,-a),r.closePath(),r.fill(),1==o.border&&r.stroke()}else{t.tooltip&&t.tooltip.index==p&&(r.beginPath(),r.setFillStyle(u(d[p].color,o.activeOpacity)),r.moveTo(0,0),r.lineTo(-d[p].radius-l,0),r.lineTo(-d[p+1].radius-l,-a),r.lineTo(d[p+1].radius+l,-a),r.lineTo(d[p].radius+l,0),r.lineTo(0,0),r.closePath(),r.fill()),d[p].funnelArea=[c.x-d[p].radius,c.y-a*(p+1),c.x+d[p].radius,c.y-a*p],r.beginPath(),r.setLineWidth(o.borderWidth*t.pix),r.setStrokeStyle(o.borderColor);h=u(d[p].color,o.fillOpacity);if("custom"==o.linearType){y=r.createLinearGradient(d[p].radius,-a,-d[p].radius,-a);y.addColorStop(0,u(d[p].color,o.fillOpacity)),y.addColorStop(.5,u(o.customColor[d[p].linearIndex],o.fillOpacity)),y.addColorStop(1,u(d[p].color,o.fillOpacity)),h=y}r.setFillStyle(h),r.moveTo(0,0),r.lineTo(-d[p].radius,0),r.lineTo(-d[p+1].radius,-a),r.lineTo(d[p+1].radius,-a),r.lineTo(d[p].radius,0),r.lineTo(0,0),r.closePath(),r.fill(),1==o.border&&r.stroke()}r.translate(0,-a)}else{r.translate(0,-(d.length-1)*a);for(var g=0;g<d.length;g++){if(g==d.length-1){t.tooltip&&t.tooltip.index==g&&(r.beginPath(),r.setFillStyle(u(d[g].color,o.activeOpacity)),r.moveTo(-l-o.minSize/2,0),r.lineTo(-d[g].radius-l,-a),r.lineTo(d[g].radius+l,-a),r.lineTo(l+o.minSize/2,0),r.lineTo(-l-o.minSize/2,0),r.closePath(),r.fill()),d[g].funnelArea=[c.x-d[g].radius,c.y-a,c.x+d[g].radius,c.y],r.beginPath(),r.setLineWidth(o.borderWidth*t.pix),r.setStrokeStyle(o.borderColor);h=u(d[g].color,o.fillOpacity);if("custom"==o.linearType){y=r.createLinearGradient(d[g].radius,-a,-d[g].radius,-a);y.addColorStop(0,u(d[g].color,o.fillOpacity)),y.addColorStop(.5,u(o.customColor[d[g].linearIndex],o.fillOpacity)),y.addColorStop(1,u(d[g].color,o.fillOpacity)),h=y}r.setFillStyle(h),r.moveTo(0,0),r.lineTo(-o.minSize/2,0),r.lineTo(-d[g].radius,-a),r.lineTo(d[g].radius,-a),r.lineTo(o.minSize/2,0),r.lineTo(0,0),r.closePath(),r.fill(),1==o.border&&r.stroke()}else{t.tooltip&&t.tooltip.index==g&&(r.beginPath(),r.setFillStyle(u(d[g].color,o.activeOpacity)),r.moveTo(0,0),r.lineTo(-d[g+1].radius-l,0),r.lineTo(-d[g].radius-l,-a),r.lineTo(d[g].radius+l,-a),r.lineTo(d[g+1].radius+l,0),r.lineTo(0,0),r.closePath(),r.fill()),d[g].funnelArea=[c.x-d[g].radius,c.y-a*(d.length-g),c.x+d[g].radius,c.y-a*(d.length-g-1)],r.beginPath(),r.setLineWidth(o.borderWidth*t.pix),r.setStrokeStyle(o.borderColor);h=u(d[g].color,o.fillOpacity);if("custom"==o.linearType){y=r.createLinearGradient(d[g].radius,-a,-d[g].radius,-a);y.addColorStop(0,u(d[g].color,o.fillOpacity)),y.addColorStop(.5,u(o.customColor[d[g].linearIndex],o.fillOpacity)),y.addColorStop(1,u(d[g].color,o.fillOpacity)),h=y}r.setFillStyle(h),r.moveTo(0,0),r.lineTo(-d[g+1].radius,0),r.lineTo(-d[g].radius,-a),r.lineTo(d[g].radius,-a),r.lineTo(d[g+1].radius,0),r.lineTo(0,0),r.closePath(),r.fill(),1==o.border&&r.stroke()}r.translate(0,a)}}return r.restore(),!1!==t.dataLabel&&1===i&&ke(d,t,r,a,o.labelAlign,l,c),1===i&&Ee(d,t,r,a,o.labelAlign,l,c),{center:c,radius:f,series:d}}(l,t,n,r,e),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var i=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},t.extra.line);o.width*=t.pix;var a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=[];r.save();var d=0,h=t.width+l;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),d=-t._scrollDistance_-2*l+t.area[3],h=d+(t.xAxis.itemCount+4)*l),e.forEach((function(e,a){var s,y,g;r.beginPath(),r.setStrokeStyle(e.color),r.moveTo(-1e4,-1e4),r.lineTo(-10001,-10001),r.stroke(),s=[].concat(t.chartData.yAxisData.ranges[e.index]),y=s.pop(),g=s.shift();var v=e.data,m=z(v,y,g,c,l,t,n,o,i);f.push(m);var b=M(m,e);if("dash"==e.lineType){var S=e.dashLength?e.dashLength:8;S*=t.pix,r.setLineDash([S,S])}r.beginPath();var x=e.color;if("none"!==o.linearType&&e.linearColor&&e.linearColor.length>0){for(var _=r.createLinearGradient(t.chartData.xAxisData.startX,t.height/2,t.chartData.xAxisData.endX,t.height/2),C=0;C<e.linearColor.length;C++)_.addColorStop(e.linearColor[C][0],u(e.linearColor[C][1],1));x=_}r.setStrokeStyle(x),1==o.onShadow&&e.setShadow&&e.setShadow.length>0?r.setShadow(e.setShadow[0],e.setShadow[1],e.setShadow[2],e.setShadow[3]):r.setShadow(0,0,0,"rgba(0,0,0,0)"),r.setLineWidth(o.width),b.forEach((function(e,t){if(1===e.length)r.moveTo(e[0].x,e[0].y);else{r.moveTo(e[0].x,e[0].y);var n=0;if("curve"===o.type)for(var i=0;i<e.length;i++){var a=e[i];if(0==n&&a.x>d&&(r.moveTo(a.x,a.y),n=1),i>0&&a.x>d&&a.x<h){var s=p(e,i-1);r.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,a.x,a.y)}}if("straight"===o.type)for(var c=0;c<e.length;c++){var u=e[c];0==n&&u.x>d&&(r.moveTo(u.x,u.y),n=1),c>0&&u.x>d&&u.x<h&&r.lineTo(u.x,u.y)}if("step"===o.type)for(var l=0;l<e.length;l++){var f=e[l];0==n&&f.x>d&&(r.moveTo(f.x,f.y),n=1),l>0&&f.x>d&&f.x<h&&(r.lineTo(f.x,e[l-1].y),r.lineTo(f.x,f.y))}r.moveTo(e[0].x,e[0].y)}})),r.stroke(),r.setLineDash([]),!1!==t.dataPointShape&&ae(m,e.color,e.pointShape,r,t),se(m,e.color,e.pointShape,r,t,o)})),!1!==t.dataLabel&&1===i&&e.forEach((function(e,o){var a,s,u;a=[].concat(t.chartData.yAxisData.ranges[e.index]),s=a.pop(),u=a.shift();var f=e.data,d=$(f,s,u,c,l,t,n,i);ue(d,e,n,r,t)})),r.restore(),{xAxisPoints:c,calPoints:f,eachSpacing:l}}(l,t,n,r,e),o=i.xAxisPoints,a=i.calPoints,c=i.eachSpacing;t.chartData.xAxisPoints=o,t.chartData.calPoints=a,t.chartData.eachSpacing=c,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var i=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=(s({},{type:"circle"},t.extra.scatter),t.chartData.xAxisData),a=o.xAxisPoints,c=o.eachSpacing,u=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*c+t.area[3],t.xAxis.itemCount),e.forEach((function(e,o){var s,u,l;s=[].concat(t.chartData.yAxisData.ranges[e.index]),u=s.pop(),l=s.shift();var f=e.data,d=$(f,u,l,a,c,t,n,i);r.beginPath(),r.setStrokeStyle(e.color),r.setFillStyle(e.color),r.setLineWidth(1*t.pix);var p=e.pointShape;if("diamond"===p)d.forEach((function(e,t){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y),r.lineTo(e.x,e.y+4.5),r.lineTo(e.x+4.5,e.y),r.lineTo(e.x,e.y-4.5))}));else if("circle"===p)d.forEach((function(e,n){null!==e&&(r.moveTo(e.x+2.5*t.pix,e.y),r.arc(e.x,e.y,3*t.pix,0,2*Math.PI,!1))}));else if("square"===p)d.forEach((function(e,t){null!==e&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===p)d.forEach((function(e,t){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y+4.5),r.lineTo(e.x+4.5,e.y+4.5),r.lineTo(e.x,e.y-4.5))}));else if("triangle"===p)return;r.closePath(),r.fill(),r.stroke()})),!1!==t.dataLabel&&1===i&&e.forEach((function(e,o){var s,u,l;s=[].concat(t.chartData.yAxisData.ranges[e.index]),u=s.pop(),l=s.shift();var f=e.data,d=$(f,u,l,a,c,t,n,i);ue(d,e,n,r,t)})),r.restore(),{xAxisPoints:a,calPoints:u,eachSpacing:c}}(l,t,n,r,e),o=i.xAxisPoints,a=i.calPoints,c=i.eachSpacing;t.chartData.xAxisPoints=o,t.chartData.calPoints=a,t.chartData.eachSpacing=c,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var i=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{opacity:1,border:2},t.extra.bubble),a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*l+t.area[3],t.xAxis.itemCount),e.forEach((function(e,a){var s,f,d;s=[].concat(t.chartData.yAxisData.ranges[e.index]),f=s.pop(),d=s.shift();var p=e.data,h=$(p,f,d,c,l,t,n,i);r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(o.border*t.pix),r.setFillStyle(u(e.color,o.opacity)),h.forEach((function(e,n){r.moveTo(e.x+e.r,e.y),r.arc(e.x,e.y,e.r*t.pix,0,2*Math.PI,!1)})),r.closePath(),r.fill(),r.stroke(),!1!==t.dataLabel&&1===i&&h.forEach((function(i,o){r.beginPath();var a=e.textSize*t.pix||n.fontSize;r.setFontSize(a),r.setFillStyle(e.textColor||"#FFFFFF"),r.setTextAlign("center"),r.fillText(String(i.t),i.x,i.y+a/2),r.closePath(),r.stroke(),r.setTextAlign("left")}))})),r.restore(),{xAxisPoints:c,calPoints:f,eachSpacing:l}}(l,t,n,r,e),o=i.xAxisPoints,a=i.calPoints,c=i.eachSpacing;t.chartData.xAxisPoints=o,t.chartData.calPoints=a,t.chartData.eachSpacing=c,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var o=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=s({},{width:l/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mix.column),d=s({},{opacity:.2,gradient:!1},t.extra.mix.area),h=s({},{width:2},t.extra.mix.line),y=t.height-t.area[2],g=[],m=0,b=0;e.forEach((function(e,t){"column"==e.type&&(b+=1)})),r.save();var S=-2,x=c.length+2,_=0,C=t.width+l;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),S=Math.floor(-t._scrollDistance_/l)-2,x=S+t.xAxis.itemCount+4,_=-t._scrollDistance_-2*l+t.area[3],C=_+(t.xAxis.itemCount+4)*l),f.customColor=v(f.linearType,f.customColor,e,n),e.forEach((function(e,a){var s,v,L;s=[].concat(t.chartData.yAxisData.ranges[e.index]),v=s.pop(),L=s.shift();var P=e.data,T=$(P,v,L,c,l,t,n,o);if(g.push(T),"column"==e.type){T=H(T,l,b,m,0,t);for(var w=0;w<T.length;w++){var Y=T[w];if(null!==Y&&w>S&&w<x){var A=Y.x-Y.width/2;t.height,Y.y,t.area[2];r.beginPath();var O=Y.color||e.color,D=Y.color||e.color;if("none"!==f.linearType){var Z=r.createLinearGradient(A,Y.y,A,t.height-t.area[2]);"opacity"==f.linearType?(Z.addColorStop(0,u(O,f.linearOpacity)),Z.addColorStop(1,u(O,1))):(Z.addColorStop(0,u(f.customColor[e.linearIndex],f.linearOpacity)),Z.addColorStop(f.colorStop,u(f.customColor[e.linearIndex],f.linearOpacity)),Z.addColorStop(1,u(O,1))),O=Z}if(f.barBorderRadius&&4===f.barBorderRadius.length||f.barBorderCircle){var k=A,E=Y.y,R=Y.width,N=t.height-t.area[2]-Y.y;f.barBorderCircle&&(f.barBorderRadius=[R/2,R/2,0,0]);var X=(0,i.default)(f.barBorderRadius,4),I=X[0],J=X[1],F=X[2],B=X[3],G=Math.min(R/2,N/2);I=I>G?G:I,J=J>G?G:J,F=F>G?G:F,B=B>G?G:B,I=I<0?0:I,J=J<0?0:J,F=F<0?0:F,B=B<0?0:B,r.arc(k+I,E+I,I,-Math.PI,-Math.PI/2),r.arc(k+R-J,E+J,J,-Math.PI/2,0),r.arc(k+R-F,E+N-F,F,0,Math.PI/2),r.arc(k+B,E+N-B,B,Math.PI/2,Math.PI)}else r.moveTo(A,Y.y),r.lineTo(A+Y.width,Y.y),r.lineTo(A+Y.width,t.height-t.area[2]),r.lineTo(A,t.height-t.area[2]),r.lineTo(A,Y.y),r.setLineWidth(1),r.setStrokeStyle(D);r.setFillStyle(O),r.closePath(),r.fill()}}m+=1}if("area"==e.type)for(var j=M(T,e),Q=0;Q<j.length;Q++){var W=j[Q];if(r.beginPath(),r.setStrokeStyle(e.color),r.setStrokeStyle(u(e.color,d.opacity)),d.gradient){var U=r.createLinearGradient(0,t.area[0],0,t.height-t.area[2]);U.addColorStop("0",u(e.color,d.opacity)),U.addColorStop("1.0",u("#FFFFFF",.1)),r.setFillStyle(U)}else r.setFillStyle(u(e.color,d.opacity));if(r.setLineWidth(2*t.pix),W.length>1){var K=W[0],z=W[W.length-1];r.moveTo(K.x,K.y);var q=0;if("curve"===e.style)for(var V=0;V<W.length;V++){var ee=W[V];if(0==q&&ee.x>_&&(r.moveTo(ee.x,ee.y),q=1),V>0&&ee.x>_&&ee.x<C){var te=p(W,V-1);r.bezierCurveTo(te.ctrA.x,te.ctrA.y,te.ctrB.x,te.ctrB.y,ee.x,ee.y)}}else for(var ne=0;ne<W.length;ne++){var re=W[ne];0==q&&re.x>_&&(r.moveTo(re.x,re.y),q=1),ne>0&&re.x>_&&re.x<C&&r.lineTo(re.x,re.y)}r.lineTo(z.x,y),r.lineTo(K.x,y),r.lineTo(K.x,K.y)}else{var ie=W[0];r.moveTo(ie.x-l/2,ie.y)}r.closePath(),r.fill()}if("line"==e.type){var oe=M(T,e);oe.forEach((function(n,i){if("dash"==e.lineType){var o=e.dashLength?e.dashLength:8;o*=t.pix,r.setLineDash([o,o])}if(r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(h.width*t.pix),1===n.length)r.moveTo(n[0].x,n[0].y);else{r.moveTo(n[0].x,n[0].y);var a=0;if("curve"==e.style)for(var s=0;s<n.length;s++){var c=n[s];if(0==a&&c.x>_&&(r.moveTo(c.x,c.y),a=1),s>0&&c.x>_&&c.x<C){var u=p(n,s-1);r.bezierCurveTo(u.ctrA.x,u.ctrA.y,u.ctrB.x,u.ctrB.y,c.x,c.y)}}else for(var l=0;l<n.length;l++){var f=n[l];0==a&&f.x>_&&(r.moveTo(f.x,f.y),a=1),l>0&&f.x>_&&f.x<C&&r.lineTo(f.x,f.y)}r.moveTo(n[0].x,n[0].y)}r.stroke(),r.setLineDash([])}))}"point"==e.type&&(e.addPoint=!0),1==e.addPoint&&"column"!==e.type&&ae(T,e.color,e.pointShape,r,t)})),!1!==t.dataLabel&&1===o){m=0;e.forEach((function(e,i){var a,s,u;a=[].concat(t.chartData.yAxisData.ranges[e.index]),s=a.pop(),u=a.shift();var f=e.data,d=$(f,s,u,c,l,t,n,o);"column"!==e.type?ue(d,e,n,r,t):(d=H(d,l,b,m,0,t),ue(d,e,n,r,t),m+=1)}))}return r.restore(),{xAxisPoints:c,calPoints:g,eachSpacing:l}}(l,t,n,r,e),a=o.xAxisPoints,c=o.calPoints,d=o.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=c,t.chartData.eachSpacing=d,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var o=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=s({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},t.extra.column),d=[];r.save();var p=-2,h=c.length+2;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),p=Math.floor(-t._scrollDistance_/l)-2,h=p+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===o&&me(t.tooltip.offset.x,t,0,r,l),f.customColor=v(f.linearType,f.customColor,e,n),e.forEach((function(a,s){var y,g,v;y=[].concat(t.chartData.yAxisData.ranges[a.index]),g=y.pop(),v=y.shift();var m=t.height-t.area[0]-t.area[2],b=m*(0-g)/(v-g),S=t.height-Math.round(b)-t.area[2];a.zeroPoints=S;var x=a.data;switch(f.type){case"group":var _=q(x,g,v,c,l,t,n,S,o),C=te(x,g,v,c,l,t,n,s,e,o);d.push(C),_=H(_,l,e.length,s,0,t);for(var L=0;L<_.length;L++){var P=_[L];if(null!==P&&L>p&&L<h){var T=P.x-P.width/2,w=t.height-P.y-t.area[2];r.beginPath();var Y=P.color||a.color,A=P.color||a.color;if("none"!==f.linearType){var O=r.createLinearGradient(T,P.y,T,S);"opacity"==f.linearType?(O.addColorStop(0,u(Y,f.linearOpacity)),O.addColorStop(1,u(Y,1))):(O.addColorStop(0,u(f.customColor[a.linearIndex],f.linearOpacity)),O.addColorStop(f.colorStop,u(f.customColor[a.linearIndex],f.linearOpacity)),O.addColorStop(1,u(Y,1))),Y=O}if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var D=T,M=P.y>S?S:P.y,Z=P.width,k=Math.abs(S-P.y);f.barBorderCircle&&(f.barBorderRadius=[Z/2,Z/2,0,0]),P.y>S&&(f.barBorderRadius=[0,0,Z/2,Z/2]);var E=(0,i.default)(f.barBorderRadius,4),R=E[0],N=E[1],X=E[2],I=E[3],J=Math.min(Z/2,k/2);R=R>J?J:R,N=N>J?J:N,X=X>J?J:X,I=I>J?J:I,R=R<0?0:R,N=N<0?0:N,X=X<0?0:X,I=I<0?0:I,r.arc(D+R,M+R,R,-Math.PI,-Math.PI/2),r.arc(D+Z-N,M+N,N,-Math.PI/2,0),r.arc(D+Z-X,M+k-X,X,0,Math.PI/2),r.arc(D+I,M+k-I,I,Math.PI/2,Math.PI)}else r.moveTo(T,P.y),r.lineTo(T+P.width,P.y),r.lineTo(T+P.width,S),r.lineTo(T,S),r.lineTo(T,P.y),r.setLineWidth(1),r.setStrokeStyle(A);r.setFillStyle(Y),r.closePath(),r.fill()}}break;case"stack":_=te(x,g,v,c,l,t,n,s,e,o);d.push(_),_=Q(_,l,e.length,0,0,t);for(var F=0;F<_.length;F++){var B=_[F];if(null!==B&&F>p&&F<h){r.beginPath();Y=B.color||a.color,T=B.x-B.width/2+1,w=t.height-B.y-t.area[2];var G=t.height-B.y0-t.area[2];s>0&&(w-=G),r.setFillStyle(Y),r.moveTo(T,B.y),r.fillRect(T,B.y,B.width,w),r.closePath(),r.fill()}}break;case"meter":_=$(x,g,v,c,l,t,n,o);d.push(_),_=j(_,l,e.length,s,0,t,f.meterBorder);for(var W=0;W<_.length;W++){var U=_[W];if(null!==U&&W>p&&W<h){r.beginPath(),0==s&&f.meterBorder>0&&(r.setStrokeStyle(a.color),r.setLineWidth(f.meterBorder*t.pix)),0==s?r.setFillStyle(f.meterFillColor):r.setFillStyle(U.color||a.color);T=U.x-U.width/2,w=t.height-U.y-t.area[2];if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var K=T,z=U.y,V=U.width,ee=S-U.y;f.barBorderCircle&&(f.barBorderRadius=[V/2,V/2,0,0]);var ne=(0,i.default)(f.barBorderRadius,4),re=ne[0],ie=ne[1],oe=ne[2],ae=ne[3],se=Math.min(V/2,ee/2);re=re>se?se:re,ie=ie>se?se:ie,oe=oe>se?se:oe,ae=ae>se?se:ae,re=re<0?0:re,ie=ie<0?0:ie,oe=oe<0?0:oe,ae=ae<0?0:ae,r.arc(K+re,z+re,re,-Math.PI,-Math.PI/2),r.arc(K+V-ie,z+ie,ie,-Math.PI/2,0),r.arc(K+V-oe,z+ee-oe,oe,0,Math.PI/2),r.arc(K+ae,z+ee-ae,ae,Math.PI/2,Math.PI),r.fill()}else r.moveTo(T,U.y),r.lineTo(T+U.width,U.y),r.lineTo(T+U.width,S),r.lineTo(T,S),r.lineTo(T,U.y),r.fill();0==s&&f.meterBorder>0&&(r.closePath(),r.stroke())}}break}})),!1!==t.dataLabel&&1===o&&e.forEach((function(i,a){var s,u,d;s=[].concat(t.chartData.yAxisData.ranges[i.index]),u=s.pop(),d=s.shift();var p=i.data;switch(f.type){case"group":var h=q(p,u,d,c,l,t,n,o);h=H(h,l,e.length,a,0,t),le(h,i,n,r,t);break;case"stack":h=te(p,u,d,c,l,t,n,a,e,o);le(h,i,n,r,t);break;case"meter":h=$(p,u,d,c,l,t,n,o);le(h,i,n,r,t);break}})),r.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:l}}(l,t,n,r,e),a=o.xAxisPoints,c=o.calPoints,d=o.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=c,t.chartData.eachSpacing=d,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var o=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mount);f.widthRatio=f.widthRatio<=0?0:f.widthRatio,f.widthRatio=f.widthRatio>=2?2:f.widthRatio,r.save();var d,p,h,y=-2,g=c.length+2;t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),y=Math.floor(-t._scrollDistance_/l)-2,g=y+t.xAxis.itemCount+4),f.customColor=v(f.linearType,f.customColor,e,n),d=[].concat(t.chartData.yAxisData.ranges[0]),p=d.pop(),h=d.shift();var m=t.height-t.area[0]-t.area[2],b=m*(0-p)/(h-p),S=t.height-Math.round(b)-t.area[2],x=V(e,p,h,c,l,t,f,S,o);switch(f.type){case"bar":for(var _=0;_<x.length;_++){var C=x[_];if(null!==C&&_>y&&_<g){var L=C.x-l*f.widthRatio/2,P=t.height-C.y-t.area[2];r.beginPath();var T=C.color||e[_].color,w=C.color||e[_].color;if("none"!==f.linearType){var Y=r.createLinearGradient(L,C.y,L,S);"opacity"==f.linearType?(Y.addColorStop(0,u(T,f.linearOpacity)),Y.addColorStop(1,u(T,1))):(Y.addColorStop(0,u(f.customColor[e[_].linearIndex],f.linearOpacity)),Y.addColorStop(f.colorStop,u(f.customColor[e[_].linearIndex],f.linearOpacity)),Y.addColorStop(1,u(T,1))),T=Y}if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var A=L,O=C.y>S?S:C.y,D=C.width,M=Math.abs(S-C.y);f.barBorderCircle&&(f.barBorderRadius=[D/2,D/2,0,0]),C.y>S&&(f.barBorderRadius=[0,0,D/2,D/2]);var Z=(0,i.default)(f.barBorderRadius,4),k=Z[0],E=Z[1],R=Z[2],N=Z[3],X=Math.min(D/2,M/2);k=k>X?X:k,E=E>X?X:E,R=R>X?X:R,N=N>X?X:N,k=k<0?0:k,E=E<0?0:E,R=R<0?0:R,N=N<0?0:N,r.arc(A+k,O+k,k,-Math.PI,-Math.PI/2),r.arc(A+D-E,O+E,E,-Math.PI/2,0),r.arc(A+D-R,O+M-R,R,0,Math.PI/2),r.arc(A+N,O+M-N,N,Math.PI/2,Math.PI)}else r.moveTo(L,C.y),r.lineTo(L+C.width,C.y),r.lineTo(L+C.width,S),r.lineTo(L,S),r.lineTo(L,C.y);r.setStrokeStyle(w),r.setFillStyle(T),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(var I=0;I<x.length;I++){var J=x[I];if(null!==J&&I>y&&I<g){L=J.x-l*f.widthRatio/2,P=t.height-J.y-t.area[2];r.beginPath();T=J.color||e[I].color,w=J.color||e[I].color;if("none"!==f.linearType){Y=r.createLinearGradient(L,J.y,L,S);"opacity"==f.linearType?(Y.addColorStop(0,u(T,f.linearOpacity)),Y.addColorStop(1,u(T,1))):(Y.addColorStop(0,u(f.customColor[e[I].linearIndex],f.linearOpacity)),Y.addColorStop(f.colorStop,u(f.customColor[e[I].linearIndex],f.linearOpacity)),Y.addColorStop(1,u(T,1))),T=Y}r.moveTo(L,S),r.lineTo(J.x,J.y),r.lineTo(L+J.width,S),r.setStrokeStyle(w),r.setFillStyle(T),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"mount":for(var F=0;F<x.length;F++){var B=x[F];if(null!==B&&F>y&&F<g){L=B.x-l*f.widthRatio/2,P=t.height-B.y-t.area[2];r.beginPath();T=B.color||e[F].color,w=B.color||e[F].color;if("none"!==f.linearType){Y=r.createLinearGradient(L,B.y,L,S);"opacity"==f.linearType?(Y.addColorStop(0,u(T,f.linearOpacity)),Y.addColorStop(1,u(T,1))):(Y.addColorStop(0,u(f.customColor[e[F].linearIndex],f.linearOpacity)),Y.addColorStop(f.colorStop,u(f.customColor[e[F].linearIndex],f.linearOpacity)),Y.addColorStop(1,u(T,1))),T=Y}r.moveTo(L,S),r.bezierCurveTo(B.x-B.width/4,S,B.x-B.width/4,B.y,B.x,B.y),r.bezierCurveTo(B.x+B.width/4,B.y,B.x+B.width/4,S,L+B.width,S),r.setStrokeStyle(w),r.setFillStyle(T),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"sharp":for(var H=0;H<x.length;H++){var G=x[H];if(null!==G&&H>y&&H<g){L=G.x-l*f.widthRatio/2,P=t.height-G.y-t.area[2];r.beginPath();T=G.color||e[H].color,w=G.color||e[H].color;if("none"!==f.linearType){Y=r.createLinearGradient(L,G.y,L,S);"opacity"==f.linearType?(Y.addColorStop(0,u(T,f.linearOpacity)),Y.addColorStop(1,u(T,1))):(Y.addColorStop(0,u(f.customColor[e[H].linearIndex],f.linearOpacity)),Y.addColorStop(f.colorStop,u(f.customColor[e[H].linearIndex],f.linearOpacity)),Y.addColorStop(1,u(T,1))),T=Y}r.moveTo(L,S),r.quadraticCurveTo(G.x-0,S-P/4,G.x,G.y),r.quadraticCurveTo(G.x+0,S-P/4,L+G.width,S),r.setStrokeStyle(w),r.setFillStyle(T),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break}if(!1!==t.dataLabel&&1===o){var j,Q,W;j=[].concat(t.chartData.yAxisData.ranges[0]),Q=j.pop(),W=j.shift();x=V(e,Q,W,c,l,t,f,S,o);fe(x,e,n,r,t,S)}return r.restore(),{xAxisPoints:c,calPoints:x,eachSpacing:l}}(l,t,n,r,e),a=o.xAxisPoints,c=o.calPoints,d=o.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=c,t.chartData.eachSpacing=d,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),_e(f,t,n,r);var o=function(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=[],c=(t.height-t.area[0]-t.area[2])/t.categories.length,l=0;l<t.categories.length;l++)a.push(t.area[0]+c/2+c*l);var f=s({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.bar),d=[];r.save();var p=-2,h=a.length+2;return t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===o&&be(t.tooltip.offset.y,t,0,r,c),f.customColor=v(f.linearType,f.customColor,e,n),e.forEach((function(s,l){var y,g,v;y=[].concat(t.chartData.xAxisData.ranges),v=y.pop(),g=y.shift();var m=s.data;switch(f.type){case"group":var b=ee(m,g,v,a,c,t,n,o),S=ne(m,g,v,a,c,t,n,l,e,o);d.push(S),b=G(b,c,e.length,l,0,t);for(var x=0;x<b.length;x++){var _=b[x];if(null!==_&&x>p&&x<h){var C=t.area[3],L=_.y-_.width/2;_.height;r.beginPath();var P=_.color||s.color,T=_.color||s.color;if("none"!==f.linearType){var w=r.createLinearGradient(C,_.y,_.x,_.y);"opacity"==f.linearType?(w.addColorStop(0,u(P,f.linearOpacity)),w.addColorStop(1,u(P,1))):(w.addColorStop(0,u(f.customColor[s.linearIndex],f.linearOpacity)),w.addColorStop(f.colorStop,u(f.customColor[s.linearIndex],f.linearOpacity)),w.addColorStop(1,u(P,1))),P=w}if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var Y=C,A=_.width,O=_.y-_.width/2,D=_.height;f.barBorderCircle&&(f.barBorderRadius=[A/2,A/2,0,0]);var M=(0,i.default)(f.barBorderRadius,4),Z=M[0],k=M[1],E=M[2],R=M[3],N=Math.min(A/2,D/2);Z=Z>N?N:Z,k=k>N?N:k,E=E>N?N:E,R=R>N?N:R,Z=Z<0?0:Z,k=k<0?0:k,E=E<0?0:E,R=R<0?0:R,r.arc(Y+R,O+R,R,-Math.PI,-Math.PI/2),r.arc(_.x-Z,O+Z,Z,-Math.PI/2,0),r.arc(_.x-k,O+A-k,k,0,Math.PI/2),r.arc(Y+E,O+A-E,E,Math.PI/2,Math.PI)}else r.moveTo(C,L),r.lineTo(_.x,L),r.lineTo(_.x,L+_.width),r.lineTo(C,L+_.width),r.lineTo(C,L),r.setLineWidth(1),r.setStrokeStyle(T);r.setFillStyle(P),r.closePath(),r.fill()}}break;case"stack":b=ne(m,g,v,a,c,t,n,l,e,o);d.push(b),b=W(b,c,e.length,0,0,t);for(var X=0;X<b.length;X++){var I=b[X];if(null!==I&&X>p&&X<h){r.beginPath();P=I.color||s.color,C=I.x0;r.setFillStyle(P),r.moveTo(C,I.y-I.width/2),r.fillRect(C,I.y-I.width/2,I.height,I.width),r.closePath(),r.fill()}}break}})),!1!==t.dataLabel&&1===o&&e.forEach((function(i,s){var u,l,d;u=[].concat(t.chartData.xAxisData.ranges),d=u.pop(),l=u.shift();var p=i.data;switch(f.type){case"group":var h=ee(p,l,d,a,c,t,n,o);h=G(h,c,e.length,s,0,t),de(h,i,n,r,t);break;case"stack":h=ne(p,l,d,a,c,t,n,s,e,o);de(h,i,n,r,t);break}})),{yAxisPoints:a,calPoints:d,eachSpacing:c}}(l,t,n,r,e),a=o.yAxisPoints,c=o.calPoints,d=o.eachSpacing;t.chartData.yAxisPoints=a,t.chartData.xAxisPoints=t.chartData.xAxisData.xAxisPoints,t.chartData.calPoints=c,t.chartData.eachSpacing=d,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var i=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1,activeType:"none"},t.extra.area),a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=t.height-t.area[2],d=[];r.save();var h=0,y=t.width+l;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),h=-t._scrollDistance_-2*l+t.area[3],y=h+(t.xAxis.itemCount+4)*l),e.forEach((function(e,a){var s,g,v;s=[].concat(t.chartData.yAxisData.ranges[e.index]),g=s.pop(),v=s.shift();var m=e.data,b=$(m,g,v,c,l,t,n,i);d.push(b);for(var S=M(b,e),x=0;x<S.length;x++){var _=S[x];if(r.beginPath(),r.setStrokeStyle(u(e.color,o.opacity)),o.gradient){var C=r.createLinearGradient(0,t.area[0],0,t.height-t.area[2]);C.addColorStop("0",u(e.color,o.opacity)),C.addColorStop("1.0",u("#FFFFFF",.1)),r.setFillStyle(C)}else r.setFillStyle(u(e.color,o.opacity));if(r.setLineWidth(o.width*t.pix),_.length>1){var L=_[0],P=_[_.length-1];r.moveTo(L.x,L.y);var T=0;if("curve"===o.type)for(var w=0;w<_.length;w++){var Y=_[w];if(0==T&&Y.x>h&&(r.moveTo(Y.x,Y.y),T=1),w>0&&Y.x>h&&Y.x<y){var A=p(_,w-1);r.bezierCurveTo(A.ctrA.x,A.ctrA.y,A.ctrB.x,A.ctrB.y,Y.x,Y.y)}}if("straight"===o.type)for(var O=0;O<_.length;O++){var D=_[O];0==T&&D.x>h&&(r.moveTo(D.x,D.y),T=1),O>0&&D.x>h&&D.x<y&&r.lineTo(D.x,D.y)}if("step"===o.type)for(var Z=0;Z<_.length;Z++){var k=_[Z];0==T&&k.x>h&&(r.moveTo(k.x,k.y),T=1),Z>0&&k.x>h&&k.x<y&&(r.lineTo(k.x,_[Z-1].y),r.lineTo(k.x,k.y))}r.lineTo(P.x,f),r.lineTo(L.x,f),r.lineTo(L.x,L.y)}else{var E=_[0];r.moveTo(E.x-l/2,E.y)}if(r.closePath(),r.fill(),o.addLine){if("dash"==e.lineType){var R=e.dashLength?e.dashLength:8;R*=t.pix,r.setLineDash([R,R])}if(r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(o.width*t.pix),1===_.length)r.moveTo(_[0].x,_[0].y);else{r.moveTo(_[0].x,_[0].y);var N=0;if("curve"===o.type)for(var X=0;X<_.length;X++){var I=_[X];if(0==N&&I.x>h&&(r.moveTo(I.x,I.y),N=1),X>0&&I.x>h&&I.x<y){var J=p(_,X-1);r.bezierCurveTo(J.ctrA.x,J.ctrA.y,J.ctrB.x,J.ctrB.y,I.x,I.y)}}if("straight"===o.type)for(var F=0;F<_.length;F++){var B=_[F];0==N&&B.x>h&&(r.moveTo(B.x,B.y),N=1),F>0&&B.x>h&&B.x<y&&r.lineTo(B.x,B.y)}if("step"===o.type)for(var H=0;H<_.length;H++){var G=_[H];0==N&&G.x>h&&(r.moveTo(G.x,G.y),N=1),H>0&&G.x>h&&G.x<y&&(r.lineTo(G.x,_[H-1].y),r.lineTo(G.x,G.y))}r.moveTo(_[0].x,_[0].y)}r.stroke(),r.setLineDash([])}}!1!==t.dataPointShape&&ae(b,e.color,e.pointShape,r,t),se(b,e.color,e.pointShape,r,t,o,a)})),!1!==t.dataLabel&&1===i&&e.forEach((function(e,o){var a,s,u;a=[].concat(t.chartData.yAxisData.ranges[e.index]),s=a.pop(),u=a.shift();var f=e.data,d=$(f,s,u,c,l,t,n,i);ue(d,e,n,r,t)})),r.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:l}}(l,t,n,r,e),o=i.xAxisPoints,a=i.calPoints,c=i.eachSpacing;t.chartData.xAxisPoints=o,t.chartData.calPoints=a,t.chartData.eachSpacing=c,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),t.chartData.pieData=Te(l,t,n,r,e),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),t.chartData.pieData=Te(l,t,n,r,e),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),t.chartData.pieData=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},t.extra.rose);0==n.pieChartLinePadding&&(n.pieChartLinePadding=o.activeRadius*t.pix);var a={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2},c=Math.min((t.width-t.area[1]-t.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding);c=c<10?10:c;var l=o.minRadius||.5*c;c<l&&(c=l+10),e=X(e,o.type,l,c,i);var f=o.activeRadius*t.pix;return o.customColor=v(o.linearType,o.customColor,e,n),e=e.map((function(e){return e._start_+=(o.offsetAngle||0)*Math.PI/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(r.beginPath(),r.setFillStyle(u(e.color,o.activeOpacity||.5)),r.moveTo(a.x,a.y),r.arc(a.x,a.y,f+e._radius_,e._start_,e._start_+2*e._rose_proportion_*Math.PI),r.closePath(),r.fill()),r.beginPath(),r.setLineWidth(o.borderWidth*t.pix),r.lineJoin="round",r.setStrokeStyle(o.borderColor);var i,s=e.color;"custom"==o.linearType&&(i=r.createCircularGradient?r.createCircularGradient(a.x,a.y,e._radius_):r.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),i.addColorStop(0,u(o.customColor[e.linearIndex],1)),i.addColorStop(1,u(e.color,1)),s=i);r.setFillStyle(s),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_,e._start_,e._start_+2*e._rose_proportion_*Math.PI),r.closePath(),r.fill(),1==o.border&&r.stroke()})),!1!==t.dataLabel&&1===i&&ye(e,t,n,r,0,a),{center:a,radius:c,series:e}}(l,t,n,r,e),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),t.chartData.radarData=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelShow:!0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},t.extra.radar),a=P(t.categories.length),c={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2},l=(t.width-t.area[1]-t.area[3])/2,f=(t.height-t.area[0]-t.area[2])/2,d=Math.min(l-(L(t.categories,n.fontSize,r)+n.radarLabelTextMargin),f-n.radarLabelTextMargin);d-=n.radarLabelTextMargin*t.pix,d=d<10?10:d,d=o.radius?o.radius:d,r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(o.gridColor),a.forEach((function(e,t){var n=h(d*Math.cos(e),d*Math.sin(e),c);r.moveTo(c.x,c.y),t%o.gridEval==0&&r.lineTo(n.x,n.y)})),r.stroke(),r.closePath();for(var p=function(e){var n={};if(r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(o.gridColor),"radar"==o.gridType)a.forEach((function(t,i){var a=h(d/o.gridCount*e*Math.cos(t),d/o.gridCount*e*Math.sin(t),c);0===i?(n=a,r.moveTo(a.x,a.y)):r.lineTo(a.x,a.y)})),r.lineTo(n.x,n.y);else{var i=h(d/o.gridCount*e*Math.cos(1.5),d/o.gridCount*e*Math.sin(1.5),c);r.arc(c.x,c.y,c.y-i.y,0,2*Math.PI,!1)}r.stroke(),r.closePath()},y=1;y<=o.gridCount;y++)p(y);o.customColor=v(o.linearType,o.customColor,e,n);var g=E(a,c,d,e,t,i);if(g.forEach((function(n,i){r.beginPath(),r.setLineWidth(o.borderWidth*t.pix),r.setStrokeStyle(n.color);var a,s=u(n.color,o.opacity);"custom"==o.linearType&&(a=r.createCircularGradient?r.createCircularGradient(c.x,c.y,d):r.createRadialGradient(c.x,c.y,0,c.x,c.y,d),a.addColorStop(0,u(o.customColor[e[i].linearIndex],o.opacity)),a.addColorStop(1,u(n.color,o.opacity)),s=a);if(r.setFillStyle(s),n.data.forEach((function(e,t){0===t?r.moveTo(e.position.x,e.position.y):r.lineTo(e.position.x,e.position.y)})),r.closePath(),r.fill(),!0===o.border&&r.stroke(),r.closePath(),!1!==t.dataPointShape){var l=n.data.map((function(e){return e.position}));ae(l,n.color,n.pointShape,r,t)}})),!0===o.axisLabel){var m=Math.max(o.max,Math.max.apply(null,S(e))),b=d/o.gridCount,x=t.fontSize*t.pix;r.setFontSize(x),r.setFillStyle(t.fontColor),r.setTextAlign("left");for(y=0;y<o.gridCount+1;y++){var _=y*m/o.gridCount;_=_.toFixed(o.axisLabelTofix),r.fillText(String(_),c.x+3*t.pix,c.y-y*b+x/2)}}return he(a,d,c,t,n,r),!1!==t.dataLabel&&1===i&&(g.forEach((function(e,i){r.beginPath();var o=e.textSize*t.pix||n.fontSize;r.setFontSize(o),r.setFillStyle(e.textColor||t.fontColor),e.data.forEach((function(e,t){Math.abs(e.position.x-c.x)<2?e.position.y<c.y?(r.setTextAlign("center"),r.fillText(e.value,e.position.x,e.position.y-4)):(r.setTextAlign("center"),r.fillText(e.value,e.position.x,e.position.y+o+2)):e.position.x<c.x?(r.setTextAlign("right"),r.fillText(e.value,e.position.x-4,e.position.y+o/2-2)):(r.setTextAlign("left"),r.fillText(e.value,e.position.x+4,e.position.y+o/2-2))})),r.closePath(),r.stroke()})),r.setTextAlign("left")),{center:c,radius:d,angleList:a}}(l,t,n,r,e),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),t.chartData.arcbarData=function(e,t,n,r){var i,o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},t.extra.arcbar);e=I(e,c,a),i=c.centerX||c.centerY?{x:c.centerX?c.centerX:t.width/2,y:c.centerY?c.centerY:t.height/2}:{x:t.width/2,y:t.height/2},c.radius?o=c.radius:(o=Math.min(i.x,i.y),o-=5*t.pix,o-=c.width/2),o=o<10?10:o,c.customColor=v(c.linearType,c.customColor,e,n);for(var l=0;l<e.length;l++){var f=e[l];r.setLineWidth(c.width*t.pix),r.setStrokeStyle(c.backgroundColor||"#E9E9E9"),r.setLineCap(c.lineCap),r.beginPath(),"default"==c.type?r.arc(i.x,i.y,o-(c.width*t.pix+c.gap*t.pix)*l,c.startAngle*Math.PI,c.endAngle*Math.PI,"ccw"==c.direction):r.arc(i.x,i.y,o-(c.width*t.pix+c.gap*t.pix)*l,0,2*Math.PI,"ccw"==c.direction),r.stroke();var d=f.color;if("custom"==c.linearType){var p=r.createLinearGradient(i.x-o,i.y,i.x+o,i.y);p.addColorStop(1,u(c.customColor[f.linearIndex],1)),p.addColorStop(0,u(f.color,1)),d=p}r.setLineWidth(c.width*t.pix),r.setStrokeStyle(d),r.setLineCap(c.lineCap),r.beginPath(),r.arc(i.x,i.y,o-(c.width*t.pix+c.gap*t.pix)*l,c.startAngle*Math.PI,f._proportion_*Math.PI,"ccw"==c.direction),r.stroke()}return ce(t,n,r,i),{center:i,radius:o,series:e}}(l,t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),t.chartData.gaugeData=function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},n.extra.gauge);void 0==a.oldAngle&&(a.oldAngle=a.startAngle),void 0==a.oldData&&(a.oldData=0),e=F(e,a.startAngle,a.endAngle);var c={x:n.width/2,y:n.height/2},l=Math.min(c.x,c.y);l-=5*n.pix,l-=a.width/2,l=l<10?10:l;var f=l-a.width,d=0;if("progress"==a.type){var p=l-3*a.width;i.beginPath();var h=i.createLinearGradient(c.x,c.y-p,c.x,c.y+p);h.addColorStop("0",u(t[0].color,.3)),h.addColorStop("1.0",u("#FFFFFF",.1)),i.setFillStyle(h),i.arc(c.x,c.y,p,0,2*Math.PI,!1),i.fill(),i.setLineWidth(a.width),i.setStrokeStyle(u(t[0].color,.3)),i.setLineCap("round"),i.beginPath(),i.arc(c.x,c.y,f,a.startAngle*Math.PI,a.endAngle*Math.PI,!1),i.stroke(),d=a.endAngle<a.startAngle?2+a.endAngle-a.startAngle:a.startAngle-a.endAngle;a.splitLine.splitNumber;var y=d/a.splitLine.splitNumber/a.splitLine.childNumber,g=-l-.5*a.width-a.splitLine.fixRadius,v=-l-a.width-a.splitLine.fixRadius+a.splitLine.width;i.save(),i.translate(c.x,c.y),i.rotate((a.startAngle-1)*Math.PI);for(var m=a.splitLine.splitNumber*a.splitLine.childNumber+1,b=t[0].data*o,S=0;S<m;S++)i.beginPath(),b>S/m?i.setStrokeStyle(u(t[0].color,1)):i.setStrokeStyle(u(t[0].color,.3)),i.setLineWidth(3*n.pix),i.moveTo(g,0),i.lineTo(v,0),i.stroke(),i.rotate(y*Math.PI);i.restore(),t=J(t,a,o),i.setLineWidth(a.width),i.setStrokeStyle(t[0].color),i.setLineCap("round"),i.beginPath(),i.arc(c.x,c.y,f,a.startAngle*Math.PI,t[0]._proportion_*Math.PI,!1),i.stroke();var x=l-2.5*a.width;i.save(),i.translate(c.x,c.y),i.rotate((t[0]._proportion_-1)*Math.PI),i.beginPath(),i.setLineWidth(a.width/3);var _=i.createLinearGradient(0,.6*-x,0,.6*x);_.addColorStop("0",u("#FFFFFF",0)),_.addColorStop("0.5",u(t[0].color,1)),_.addColorStop("1.0",u("#FFFFFF",0)),i.setStrokeStyle(_),i.arc(0,0,x,.85*Math.PI,1.15*Math.PI,!1),i.stroke(),i.beginPath(),i.setLineWidth(1),i.setStrokeStyle(t[0].color),i.setFillStyle(t[0].color),i.moveTo(-x-a.width/3/2,-4),i.lineTo(-x-a.width/3/2-4,0),i.lineTo(-x-a.width/3/2,4),i.lineTo(-x-a.width/3/2,-4),i.stroke(),i.fill(),i.restore()}else{i.setLineWidth(a.width),i.setLineCap("butt");for(var C=0;C<e.length;C++){var L=e[C];i.beginPath(),i.setStrokeStyle(L.color),i.arc(c.x,c.y,l,L._startAngle_*Math.PI,L._endAngle_*Math.PI,!1),i.stroke()}i.save(),d=a.endAngle<a.startAngle?2+a.endAngle-a.startAngle:a.startAngle-a.endAngle;var P=d/a.splitLine.splitNumber,T=d/a.splitLine.splitNumber/a.splitLine.childNumber,w=-l-.5*a.width-a.splitLine.fixRadius,Y=-l-.5*a.width-a.splitLine.fixRadius+a.splitLine.width,A=-l-.5*a.width-a.splitLine.fixRadius+a.splitLine.childWidth;i.translate(c.x,c.y),i.rotate((a.startAngle-1)*Math.PI);for(var O=0;O<a.splitLine.splitNumber+1;O++)i.beginPath(),i.setStrokeStyle(a.splitLine.color),i.setLineWidth(2*n.pix),i.moveTo(w,0),i.lineTo(Y,0),i.stroke(),i.rotate(P*Math.PI);i.restore(),i.save(),i.translate(c.x,c.y),i.rotate((a.startAngle-1)*Math.PI);for(var D=0;D<a.splitLine.splitNumber*a.splitLine.childNumber+1;D++)i.beginPath(),i.setStrokeStyle(a.splitLine.color),i.setLineWidth(1*n.pix),i.moveTo(w,0),i.lineTo(A,0),i.stroke(),i.rotate(T*Math.PI);i.restore(),t=B(t,e,a,o);for(var M=0;M<t.length;M++){var Z=t[M];i.save(),i.translate(c.x,c.y),i.rotate((Z._proportion_-1)*Math.PI),i.beginPath(),i.setFillStyle(Z.color),i.moveTo(a.pointer.width,0),i.lineTo(0,-a.pointer.width/2),i.lineTo(-f,0),i.lineTo(0,a.pointer.width/2),i.lineTo(a.pointer.width,0),i.closePath(),i.fill(),i.beginPath(),i.setFillStyle("#FFFFFF"),i.arc(0,0,a.pointer.width/6,0,2*Math.PI,!1),i.fill(),i.restore()}!1!==n.dataLabel&&pe(a,l,c,n,r,i)}return ce(n,r,i,c),1===o&&"gauge"===n.type&&(n.extra.gauge.oldAngle=t[0]._proportion_,n.extra.gauge.oldData=t[0].data),{center:c,radius:l,innerRadius:f,categories:e,totalAngle:d}}(f,l,t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Xe({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&oe(r,t),Ce(0,t,0,r),_e(f,t,n,r);var i=function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=s({},{color:{},average:{}},n.extra.candle);a.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},a.color),a.average=s({},{show:!1,name:[],day:[],color:r.color},a.average),n.extra.candle=a;var c=n.chartData.xAxisData,u=c.xAxisPoints,l=c.eachSpacing,f=[];i.save();var d=-2,h=u.length+2,y=0,g=n.width+l;return n._scrollDistance_&&0!==n._scrollDistance_&&!0===n.enableScroll&&(i.translate(n._scrollDistance_,0),d=Math.floor(-n._scrollDistance_/l)-2,h=d+n.xAxis.itemCount+4,y=-n._scrollDistance_-2*l+n.area[3],g=y+(n.xAxis.itemCount+4)*l),(a.average.show||t)&&t.forEach((function(e,t){var a,s,c;a=[].concat(n.chartData.yAxisData.ranges[e.index]),s=a.pop(),c=a.shift();for(var f=e.data,d=$(f,s,c,u,l,n,r,o),h=M(d,e),v=0;v<h.length;v++){var m=h[v];if(i.beginPath(),i.setStrokeStyle(e.color),i.setLineWidth(1),1===m.length)i.moveTo(m[0].x,m[0].y),i.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{i.moveTo(m[0].x,m[0].y);for(var b=0,S=0;S<m.length;S++){var x=m[S];if(0==b&&x.x>y&&(i.moveTo(x.x,x.y),b=1),S>0&&x.x>y&&x.x<g){var _=p(m,S-1);i.bezierCurveTo(_.ctrA.x,_.ctrA.y,_.ctrB.x,_.ctrB.y,x.x,x.y)}}i.moveTo(m[0].x,m[0].y)}i.closePath(),i.stroke()}})),e.forEach((function(e,t){var s,c,p;s=[].concat(n.chartData.yAxisData.ranges[e.index]),c=s.pop(),p=s.shift();var y=e.data,g=K(y,c,p,u,l,n,r,o);f.push(g);for(var v=M(g,e),m=0;m<v[0].length;m++)if(m>d&&m<h){var b=v[0][m];i.beginPath(),y[m][1]-y[m][0]>0?(i.setStrokeStyle(a.color.upLine),i.setFillStyle(a.color.upFill),i.setLineWidth(1*n.pix),i.moveTo(b[3].x,b[3].y),i.lineTo(b[1].x,b[1].y),i.lineTo(b[1].x-l/4,b[1].y),i.lineTo(b[0].x-l/4,b[0].y),i.lineTo(b[0].x,b[0].y),i.lineTo(b[2].x,b[2].y),i.lineTo(b[0].x,b[0].y),i.lineTo(b[0].x+l/4,b[0].y),i.lineTo(b[1].x+l/4,b[1].y),i.lineTo(b[1].x,b[1].y),i.moveTo(b[3].x,b[3].y)):(i.setStrokeStyle(a.color.downLine),i.setFillStyle(a.color.downFill),i.setLineWidth(1*n.pix),i.moveTo(b[3].x,b[3].y),i.lineTo(b[0].x,b[0].y),i.lineTo(b[0].x-l/4,b[0].y),i.lineTo(b[1].x-l/4,b[1].y),i.lineTo(b[1].x,b[1].y),i.lineTo(b[2].x,b[2].y),i.lineTo(b[1].x,b[1].y),i.lineTo(b[1].x+l/4,b[1].y),i.lineTo(b[0].x+l/4,b[0].y),i.lineTo(b[0].x,b[0].y),i.moveTo(b[3].x,b[3].y)),i.closePath(),i.fill(),i.stroke()}})),i.restore(),{xAxisPoints:u,calPoints:f,eachSpacing:l}}(l,m,t,n,r,e),o=i.xAxisPoints,a=i.calPoints,c=i.eachSpacing;t.chartData.xAxisPoints=o,t.chartData.calPoints=a,t.chartData.eachSpacing=c,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(m?0:t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break}}function Je(){this.events={}}Xe.prototype.stop=function(){this.isStop=!0},Je.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},Je.prototype.delEventListener=function(e){this.events[e]=[]},Je.prototype.trigger=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t.slice(1);this.events[r]&&this.events[r].forEach((function(e){try{e.apply(null,i)}catch(t){}}))};var Fe=function(e){e.pix=e.pixelRatio?e.pixelRatio:1,e.fontSize=e.fontSize?e.fontSize:13,e.fontColor=e.fontColor?e.fontColor:a.fontColor,""!=e.background&&"none"!=e.background||(e.background="#FFFFFF"),e.title=s({},e.title),e.subtitle=s({},e.subtitle),e.duration=e.duration?e.duration:1e3,e.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*e.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},e.yAxis),e.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,fontColor:"#666666",fontSize:13,lineHeight:20,marginTop:0,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc",titleFontSize:13,titleOffsetY:0,titleOffsetX:0,titleFontColor:"#666666"},e.xAxis),e.xAxis.scrollPosition=e.xAxis.scrollAlign,e.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:e.fontSize,lineHeight:e.fontSize,fontColor:e.fontColor,formatter:{},hiddenColor:"#CECECE"},e.legend),e.extra=s({tooltip:{legendShape:"auto"}},e.extra),e.rotate=!!e.rotate,e.animation=!!e.animation,e.rotate=!!e.rotate,e.canvas2d=!!e.canvas2d;var t=s({},a);if(t.color=e.color?e.color:t.color,"pie"==e.type&&(t.pieChartLinePadding=!1===e.dataLabel?0:e.extra.pie.labelWidth*e.pix||t.pieChartLinePadding*e.pix),"ring"==e.type&&(t.pieChartLinePadding=!1===e.dataLabel?0:e.extra.ring.labelWidth*e.pix||t.pieChartLinePadding*e.pix),"rose"==e.type&&(t.pieChartLinePadding=!1===e.dataLabel?0:e.extra.rose.labelWidth*e.pix||t.pieChartLinePadding*e.pix),t.pieChartTextPadding=!1===e.dataLabel?0:t.pieChartTextPadding*e.pix,t.rotate=e.rotate,e.rotate){var n=e.width,r=e.height;e.width=r,e.height=n}if(e.padding=e.padding?e.padding:t.padding,t.yAxisWidth=a.yAxisWidth*e.pix,t.fontSize=e.fontSize*e.pix,t.titleFontSize=a.titleFontSize*e.pix,t.subtitleFontSize=a.subtitleFontSize*e.pix,!e.context)throw new Error("[uCharts] 未获取到context!注意:v2.0版本后,需要自行获取canvas的绘图上下文并传入opts.context!");this.context=e.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(e){return this.strokeStyle=e},this.context.setLineWidth=function(e){return this.lineWidth=e},this.context.setLineCap=function(e){return this.lineCap=e},this.context.setFontSize=function(e){return this.font=e+"px sans-serif"},this.context.setFillStyle=function(e){return this.fillStyle=e},this.context.setTextAlign=function(e){return this.textAlign=e},this.context.setTextBaseline=function(e){return this.textBaseline=e},this.context.setShadow=function(e,t,n,r){this.shadowColor=r,this.shadowOffsetX=e,this.shadowOffsetY=t,this.shadowBlur=n},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(e){}),e.chartData={},this.uevent=new Je,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=e,this.config=t,Ie.call(this,e.type,e,t,this.context)};Fe.prototype.updateData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,e),this.opts.updateData=!0;var t=e.scrollPosition||"current";switch(t){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var n=ie(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var i=0,o=U(this.opts.categories,this.opts,this.config),a=o.xAxisPoints,c=o.startX,u=o.endX,l=o.eachSpacing,f=l*(a.length-1),d=u-c;i=d-f,this.scrollOption={currentOffset:i,startTouchX:i,distance:0,lastMoveTime:0},this.opts._scrollDistance_=i;break}Ie.call(this,this.opts.type,this.opts,this.config,this.context)},Fe.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var t=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var n=ie(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var i=0,o=U(this.opts.categories,this.opts,this.config),a=o.xAxisPoints,s=o.startX,c=o.endX,u=o.eachSpacing,l=u*t,d=c-s,p=d-u*(a.length-1);i=d/2-l,i>0&&(i=0),i<p&&(i=p),this.scrollOption={currentOffset:i,startTouchX:0,distance:0,lastMoveTime:0},f(this,i,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=i,Ie.call(this,this.opts.type,this.opts,this.config,this.context)}else console.log("[uCharts] 请启用滚动条后使用")},Fe.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var t=e.changedTouches;if(!(t.length<2)){for(var n=0;n<t.length;n++)t[n].x=t[n].x?t[n].x:t[n].clientX,t[n].y=t[n].y?t[n].y:t[n].clientY;var r=[_(t[0],this.opts,e),_(t[1],this.opts,e)],i=Math.abs(r[0].x-r[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:t[0].x,y:this.opts.area[0]/this.opts.pix+2}]},a={changedTouches:[{x:t[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:t[0].y}]},a={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:t[1].y}]});var s=this.getCurrentDataIndex(o).index,c=this.getCurrentDataIndex(a).index,u=Math.abs(s-c);return this.scrollOption.moveCount=u,this.scrollOption.moveCurrent1=Math.min(s,c),void(this.scrollOption.moveCurrent2=Math.max(s,c))}var l=i/this.scrollOption.moveCount,d=(this.opts.width-this.opts.area[1]-this.opts.area[3])/l;d=d<=2?2:d,d=d>=this.opts.categories.length?this.opts.categories.length:d,this.opts.animation=!1,this.opts.xAxis.itemCount=d;var p=0,h=U(this.opts.categories,this.opts,this.config),y=h.xAxisPoints,g=h.startX,v=h.endX,m=h.eachSpacing,b=m*this.scrollOption.moveCurrent1,S=v-g,x=S-m*(y.length-1);p=-b+Math.min(r[0].x,r[1].x)-this.opts.area[3]-m,p>0&&(p=0),p<x&&(p=x),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,f(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,Ie.call(this,this.opts.type,this.opts,this.config,this.context)}}else console.log("[uCharts] 请启用滚动条后使用")},Fe.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Fe.prototype.addEventListener=function(e,t){this.uevent.addEventListener(e,t)},Fe.prototype.delEventListener=function(e){this.uevent.delEventListener(e)},Fe.prototype.getCurrentDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=_(t,this.opts,e);return"pie"===this.opts.type||"ring"===this.opts.type?function(e,t,n){var r=-1,i=R(t.series);if(t&&t.center&&D(e,t.center,t.radius)){var o=Math.atan2(t.center.y-e.y,e.x-t.center.x);o=-o,n.extra.pie&&n.extra.pie.offsetAngle&&(o-=n.extra.pie.offsetAngle*Math.PI/180),n.extra.ring&&n.extra.ring.offsetAngle&&(o-=n.extra.ring.offsetAngle*Math.PI/180);for(var a=0,s=i.length;a<s;a++)if(d(o,i[a]._start_,i[a]._start_+2*i[a]._proportion_*Math.PI)){r=a;break}}return r}({x:n.x,y:n.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(e,t,n){var r=-1,i=X(n._series_,n.extra.rose.type,t.radius,t.radius);if(t&&t.center&&D(e,t.center,t.radius)){var o=Math.atan2(t.center.y-e.y,e.x-t.center.x);o=-o,n.extra.rose&&n.extra.rose.offsetAngle&&(o-=n.extra.rose.offsetAngle*Math.PI/180);for(var a=0,s=i.length;a<s;a++)if(d(o,i[a]._start_,i[a]._start_+2*i[a]._rose_proportion_*Math.PI)){r=a;break}}return r}({x:n.x,y:n.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(e,t,n){var r=2*Math.PI/n,i=-1;if(D(e,t.center,t.radius)){var o=function(e){return e<0&&(e+=2*Math.PI),e>2*Math.PI&&(e-=2*Math.PI),e},a=Math.atan2(t.center.y-e.y,e.x-t.center.x);a*=-1,a<0&&(a+=2*Math.PI);var s=t.angleList.map((function(e){return e=o(-1*e),e}));s.forEach((function(e,t){var n=o(e-r/2),s=o(e+r/2);s<n&&(s+=2*Math.PI),(a>=n&&a<=s||a+2*Math.PI>=n&&a+2*Math.PI<=s)&&(i=t)}))}return i}({x:n.x,y:n.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(e,t){for(var n=-1,r=0,i=t.series.length;r<i;r++){var o=t.series[r];if(e.x>o.funnelArea[0]&&e.x<o.funnelArea[2]&&e.y>o.funnelArea[1]&&e.y<o.funnelArea[3]){n=r;break}}return n}({x:n.x,y:n.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(e,t){for(var n=-1,r=t.chartData.mapData,i=t.series,o=function(e,t,n,r,i,o){return{x:(t-i)/r+n.xMin,y:n.yMax-(e-o)/r}}(e.y,e.x,r.bounds,r.scale,r.xoffset,r.yoffset),a=[o.x,o.y],s=0,c=i.length;s<c;s++){var u=i[s].geometry.coordinates;if(Oe(a,u,t.chartData.mapData.mercator)){n=s;break}}return n}({x:n.x,y:n.y},this.opts):"word"===this.opts.type?function(e,t){for(var n=-1,r=0,i=t.length;r<i;r++){var o=t[r];if(e.x>o.area[0]&&e.x<o.area[2]&&e.y>o.area[1]&&e.y<o.area[3]){n=r;break}}return n}({x:n.x,y:n.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={index:-1,group:[]},a=n.chartData.eachSpacing/2,s=n.chartData.yAxisPoints;return t&&t.length>0&&O(e,n,r)&&s.forEach((function(t,n){e.y+i+a>t&&(o.index=n)})),o}({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={index:-1,group:[]},a=n.chartData.eachSpacing/2,s=[];if(t&&t.length>0){if(n.categories){for(var c=1;c<n.chartData.xAxisPoints.length;c++)s.push(n.chartData.xAxisPoints[c]-a);"line"!=n.type&&"area"!=n.type||"justify"!=n.xAxis.boundaryGap||(s=n.chartData.xAxisPoints)}else a=0;if(O(e,n,r))if(n.categories)s.forEach((function(t,n){e.x+i+a>t&&(o.index=n)}));else{for(var u=Array(t.length),l=0;l<t.length;l++){u[l]=Array(t[l].length);for(var f=0;f<t[l].length;f++)u[l][f]=Math.abs(t[l][f].x-e.x)}for(var d=Array(u.length),p=Array(u.length),h=0;h<u.length;h++)d[h]=Math.min.apply(null,u[h]),p[h]=u[h].indexOf(d[h]);var y=Math.min.apply(null,d);o.index=[];for(var g=0;g<d.length;g++)d[g]==y&&(o.group.push(g),o.index.push(p[g]))}}return o}({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Fe.prototype.getLegendDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=_(t,this.opts,e);return function(e,t,n){var r=-1;if(function(e,t){return e.x>t.start.x&&e.x<t.end.x&&e.y>t.start.y&&e.y<t.end.y}(e,t.area)){for(var i=t.points,o=-1,a=0,s=i.length;a<s;a++)for(var c=i[a],u=0;u<c.length;u++){o+=1;var l=c[u]["area"];if(l&&e.x>l[0]-0&&e.x<l[2]+0&&e.y>l[1]-0&&e.y<l[3]+0){r=o;break}}return r}return r}({x:n.x,y:n.y},this.opts.chartData.legendData)}return-1},Fe.prototype.touchLegend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;if(n=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],n){_(n,this.opts,e);var r=this.getLegendDataIndex(e);r>=0&&("candle"==this.opts.type?this.opts.seriesMA[r].show=!this.opts.seriesMA[r].show:this.opts.series[r].show=!this.opts.series[r].show,this.opts.animation=!!t.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Ie.call(this,this.opts.type,this.opts,this.config,this.context))}},Fe.prototype.showToolTip=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;r=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],r||console.log("[uCharts] 未获取到event坐标信息");var i=_(r,this.opts,e),o=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var c=this.getCurrentDataIndex(e),u=void 0==n.index?c.index:n.index;if(u>-1||u.length>0){var l=C(this.opts.series,u,c.group);if(0!==l.length){var f=T(l,this.opts,u,c.group,this.opts.categories,n),d=f.textList,p=f.offset;p.y=i.y,a.tooltip={textList:void 0!==n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u,group:c.group}}}Ie.call(this,a.type,a,this.config,this.context)}if("mount"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(u>-1){a=s({},this.opts,{animation:!1}),l=s({},a._series_[u]),d=[{text:n.formatter?n.formatter(l,void 0,u,a):l.name+": "+l.data,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:a.chartData.calPoints[u].x,y:i.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ie.call(this,a.type,a,this.config,this.context)}if("bar"===this.opts.type){c=this.getCurrentDataIndex(e),u=void 0==n.index?c.index:n.index;if(u>-1||u.length>0){l=C(this.opts.series,u,c.group);if(0!==l.length){f=T(l,this.opts,u,c.group,this.opts.categories,n),d=f.textList,p=f.offset;p.x=i.x,a.tooltip={textList:void 0!==n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ie.call(this,a.type,a,this.config,this.context)}if("mix"===this.opts.type){c=this.getCurrentDataIndex(e),u=void 0==n.index?c.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:o,animation:!1}),l=C(this.opts.series,u);if(0!==l.length){var h=w(l,this.opts,u,this.opts.categories,n);d=h.textList,p=h.offset;p.y=i.y,a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ie.call(this,a.type,a,this.config,this.context)}if("candle"===this.opts.type){c=this.getCurrentDataIndex(e),u=void 0==n.index?c.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:o,animation:!1}),l=C(this.opts.series,u);if(0!==l.length){f=Y(this.opts.series[0].data,l,this.opts,u,this.opts.categories,this.opts.extra.candle,n),d=f.textList,p=f.offset;p.y=i.y,a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ie.call(this,a.type,a,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){a=s({},this.opts,{animation:!1}),l=s({},a._series_[u]),d=[{text:n.formatter?n.formatter(l,void 0,u,a):l.name+": "+l.data,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:i.x,y:i.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ie.call(this,a.type,a,this.config,this.context)}if("map"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){a=s({},this.opts,{animation:!1}),l=s({},this.opts.series[u]);l.name=l.properties.name;d=[{text:n.formatter?n.formatter(l,void 0,u,this.opts):l.name,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:i.x,y:i.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}a.updateData=!1,Ie.call(this,a.type,a,this.config,this.context)}if("word"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){a=s({},this.opts,{animation:!1}),l=s({},this.opts.series[u]),d=[{text:n.formatter?n.formatter(l,void 0,u,this.opts):l.name,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:i.x,y:i.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}a.updateData=!1,Ie.call(this,a.type,a,this.config,this.context)}if("radar"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){a=s({},this.opts,{animation:!1}),l=C(this.opts.series,u);if(0!==l.length){d=l.map((function(e){return{text:n.formatter?n.formatter(e,t.opts.categories[u],u,t.opts):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.opts.extra.tooltip.legendShape?e.legendShape:t.opts.extra.tooltip.legendShape}})),p={x:i.x,y:i.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ie.call(this,a.type,a,this.config,this.context)}},Fe.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=s({},this.opts,{_scrollDistance_:e,animation:!1});Ie.call(this,this.opts.type,t,this.config,this.context)},Fe.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var n=_(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=n.x)},Fe.prototype.scroll=function(e){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var t=this.opts.touchMoveLimit||60,n=Date.now(),r=n-this.scrollOption.lastMoveTime;if(!(r<Math.floor(1e3/t))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=n;var i=null;if(i=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],i&&!0===this.opts.enableScroll){var o,a=_(i,this.opts,e);o=a.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,u=f(this,c+o,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=o=u-c;var l=s({},this.opts,{_scrollDistance_:c+o,animation:!1});return this.opts=l,Ie.call(this,l.type,l,this.config,this.context),c+o}}},Fe.prototype.scrollEnd=function(e){if(!0===this.opts.enableScroll){var t=this.scrollOption,n=t.currentOffset,r=t.distance;this.scrollOption.currentOffset=n+r,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Be=Fe;t.default=Be},"9fc1":function(e,t,n){var r=n("3b2d")["default"];function i(){"use strict";
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,o=Object.create(i.prototype),a=new M(r||[]);return s(o,"_invoke",{value:Y(e,n,a)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var y="suspendedStart",g="executing",v="completed",m={};function b(){}function S(){}function x(){}var _={};d(_,u,(function(){return this}));var C=Object.getPrototypeOf,L=C&&C(C(Z([])));L&&L!==o&&a.call(L,u)&&(_=L);var P=x.prototype=b.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(i,o,s,c){var u=h(e[i],e,o);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,c)}))}c(u.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function Y(e,n,r){var i=y;return function(o,a){if(i===g)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=A(s,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===y)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=g;var u=h(e,n,r);if("normal"===u.type){if(i=r.done?v:"suspendedYield",u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=v,r.method="throw",r.arg=u.arg)}}}function A(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function Z(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(a.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return S.prototype=x,s(P,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:S,configurable:!0}),S.displayName=d(x,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,d(e,f,"GeneratorFunction")),e.prototype=Object.create(P),e},n.awrap=function(e){return{__await:e}},T(w.prototype),d(w.prototype,l,(function(){return this})),n.AsyncIterator=w,n.async=function(e,t,r,i,o){void 0===o&&(o=Promise);var a=new w(p(e,t,r,i),o);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(P),d(P,f,"Generator"),d(P,u,(function(){return this})),d(P,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=Z,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:Z(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},n}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},a0bd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{cityCode:"110100",cityName:"北京"},{cityCode:"120100",cityName:"天津"},{cityCode:"130100",cityName:"石家庄市"},{cityCode:"130200",cityName:"唐山市"},{cityCode:"130300",cityName:"秦皇岛市"},{cityCode:"130400",cityName:"邯郸市"},{cityCode:"130500",cityName:"邢台市"},{cityCode:"130600",cityName:"保定市"},{cityCode:"130700",cityName:"张家口市"},{cityCode:"130800",cityName:"承德市"},{cityCode:"130900",cityName:"沧州市"},{cityCode:"131000",cityName:"廊坊市"},{cityCode:"131100",cityName:"衡水市"},{cityCode:"140100",cityName:"太原市"},{cityCode:"140200",cityName:"大同市"},{cityCode:"140300",cityName:"阳泉市"},{cityCode:"140400",cityName:"长治市"},{cityCode:"140500",cityName:"晋城市"},{cityCode:"140600",cityName:"朔州市"},{cityCode:"140700",cityName:"晋中市"},{cityCode:"140800",cityName:"运城市"},{cityCode:"140900",cityName:"忻州市"},{cityCode:"141000",cityName:"临汾市"},{cityCode:"141100",cityName:"吕梁市"},{cityCode:"150100",cityName:"呼和浩特市"},{cityCode:"150200",cityName:"包头市"},{cityCode:"150300",cityName:"乌海市"},{cityCode:"150400",cityName:"赤峰市"},{cityCode:"150500",cityName:"通辽市"},{cityCode:"150600",cityName:"鄂尔多斯市"},{cityCode:"150700",cityName:"呼伦贝尔市"},{cityCode:"150800",cityName:"巴彦淖尔市"},{cityCode:"150900",cityName:"乌兰察布市"},{cityCode:"152200",cityName:"兴安盟"},{cityCode:"152500",cityName:"锡林郭勒盟"},{cityCode:"152900",cityName:"阿拉善盟"},{cityCode:"210100",cityName:"沈阳市"},{cityCode:"210200",cityName:"大连市"},{cityCode:"210300",cityName:"鞍山市"},{cityCode:"210400",cityName:"抚顺市"},{cityCode:"210500",cityName:"本溪市"},{cityCode:"210600",cityName:"丹东市"},{cityCode:"210700",cityName:"锦州市"},{cityCode:"210800",cityName:"营口市"},{cityCode:"210900",cityName:"阜新市"},{cityCode:"211000",cityName:"辽阳市"},{cityCode:"211100",cityName:"盘锦市"},{cityCode:"211200",cityName:"铁岭市"},{cityCode:"211300",cityName:"朝阳市"},{cityCode:"211400",cityName:"葫芦岛市"},{cityCode:"220100",cityName:"长春市"},{cityCode:"220200",cityName:"吉林市"},{cityCode:"220300",cityName:"四平市"},{cityCode:"220400",cityName:"辽源市"},{cityCode:"220500",cityName:"通化市"},{cityCode:"220600",cityName:"白山市"},{cityCode:"220700",cityName:"松原市"},{cityCode:"220800",cityName:"白城市"},{cityCode:"222400",cityName:"延边朝鲜族自治州"},{cityCode:"230100",cityName:"哈尔滨市"},{cityCode:"230200",cityName:"齐齐哈尔市"},{cityCode:"230300",cityName:"鸡西市"},{cityCode:"230400",cityName:"鹤岗市"},{cityCode:"230500",cityName:"双鸭山市"},{cityCode:"230600",cityName:"大庆市"},{cityCode:"230700",cityName:"伊春市"},{cityCode:"230800",cityName:"佳木斯市"},{cityCode:"230900",cityName:"七台河市"},{cityCode:"231000",cityName:"牡丹江市"},{cityCode:"231100",cityName:"黑河市"},{cityCode:"231200",cityName:"绥化市"},{cityCode:"232700",cityName:"大兴安岭地区"},{cityCode:"310100",cityName:"上海市"},{cityCode:"320100",cityName:"南京市"},{cityCode:"320200",cityName:"无锡市"},{cityCode:"320300",cityName:"徐州市"},{cityCode:"320400",cityName:"常州市"},{cityCode:"320500",cityName:"苏州市"},{cityCode:"320600",cityName:"南通市"},{cityCode:"320700",cityName:"连云港市"},{cityCode:"320800",cityName:"淮安市"},{cityCode:"320900",cityName:"盐城市"},{cityCode:"321000",cityName:"扬州市"},{cityCode:"321100",cityName:"镇江市"},{cityCode:"321200",cityName:"泰州市"},{cityCode:"321300",cityName:"宿迁市"},{cityCode:"330100",cityName:"杭州市"},{cityCode:"330200",cityName:"宁波市"},{cityCode:"330300",cityName:"温州市"},{cityCode:"330400",cityName:"嘉兴市"},{cityCode:"330500",cityName:"湖州市"},{cityCode:"330600",cityName:"绍兴市"},{cityCode:"330700",cityName:"金华市"},{cityCode:"330800",cityName:"衢州市"},{cityCode:"330900",cityName:"舟山市"},{cityCode:"331000",cityName:"台州市"},{cityCode:"331100",cityName:"丽水市"},{cityCode:"340100",cityName:"合肥市"},{cityCode:"340200",cityName:"芜湖市"},{cityCode:"340300",cityName:"蚌埠市"},{cityCode:"340400",cityName:"淮南市"},{cityCode:"340500",cityName:"马鞍山市"},{cityCode:"340600",cityName:"淮北市"},{cityCode:"340700",cityName:"铜陵市"},{cityCode:"340800",cityName:"安庆市"},{cityCode:"341000",cityName:"黄山市"},{cityCode:"341100",cityName:"滁州市"},{cityCode:"341200",cityName:"阜阳市"},{cityCode:"341300",cityName:"宿州市"},{cityCode:"341500",cityName:"六安市"},{cityCode:"341600",cityName:"亳州市"},{cityCode:"341700",cityName:"池州市"},{cityCode:"341800",cityName:"宣城市"},{cityCode:"350100",cityName:"福州市"},{cityCode:"350200",cityName:"厦门市"},{cityCode:"350300",cityName:"莆田市"},{cityCode:"350400",cityName:"三明市"},{cityCode:"350500",cityName:"泉州市"},{cityCode:"350600",cityName:"漳州市"},{cityCode:"350700",cityName:"南平市"},{cityCode:"350800",cityName:"龙岩市"},{cityCode:"350900",cityName:"宁德市"},{cityCode:"360100",cityName:"南昌市"},{cityCode:"360200",cityName:"景德镇市"},{cityCode:"360300",cityName:"萍乡市"},{cityCode:"360400",cityName:"九江市"},{cityCode:"360500",cityName:"新余市"},{cityCode:"360600",cityName:"鹰潭市"},{cityCode:"360700",cityName:"赣州市"},{cityCode:"360800",cityName:"吉安市"},{cityCode:"360900",cityName:"宜春市"},{cityCode:"361000",cityName:"抚州市"},{cityCode:"361100",cityName:"上饶市"},{cityCode:"370100",cityName:"济南市"},{cityCode:"370200",cityName:"青岛市"},{cityCode:"370300",cityName:"淄博市"},{cityCode:"370400",cityName:"枣庄市"},{cityCode:"370500",cityName:"东营市"},{cityCode:"370600",cityName:"烟台市"},{cityCode:"370700",cityName:"潍坊市"},{cityCode:"370800",cityName:"济宁市"},{cityCode:"370900",cityName:"泰安市"},{cityCode:"371000",cityName:"威海市"},{cityCode:"371100",cityName:"日照市"},{cityCode:"371200",cityName:"莱芜市"},{cityCode:"371300",cityName:"临沂市"},{cityCode:"371400",cityName:"德州市"},{cityCode:"371500",cityName:"聊城市"},{cityCode:"371600",cityName:"滨州市"},{cityCode:"371700",cityName:"菏泽市"},{cityCode:"410100",cityName:"郑州市"},{cityCode:"410200",cityName:"开封市"},{cityCode:"410300",cityName:"洛阳市"},{cityCode:"410400",cityName:"平顶山市"},{cityCode:"410500",cityName:"安阳市"},{cityCode:"410600",cityName:"鹤壁市"},{cityCode:"410700",cityName:"新乡市"},{cityCode:"410800",cityName:"焦作市"},{cityCode:"410900",cityName:"濮阳市"},{cityCode:"411000",cityName:"许昌市"},{cityCode:"411100",cityName:"漯河市"},{cityCode:"411200",cityName:"三门峡市"},{cityCode:"411300",cityName:"南阳市"},{cityCode:"411400",cityName:"商丘市"},{cityCode:"411500",cityName:"信阳市"},{cityCode:"411600",cityName:"周口市"},{cityCode:"411700",cityName:"驻马店市"},{cityCode:"419000",cityName:"省直辖县级行政区划"},{cityCode:"420100",cityName:"武汉市"},{cityCode:"420200",cityName:"黄石市"},{cityCode:"420300",cityName:"十堰市"},{cityCode:"420500",cityName:"宜昌市"},{cityCode:"420600",cityName:"襄阳市"},{cityCode:"420700",cityName:"鄂州市"},{cityCode:"420800",cityName:"荆门市"},{cityCode:"420900",cityName:"孝感市"},{cityCode:"421000",cityName:"荆州市"},{cityCode:"421100",cityName:"黄冈市"},{cityCode:"421200",cityName:"咸宁市"},{cityCode:"421300",cityName:"随州市"},{cityCode:"422800",cityName:"恩施土家族苗族自治州"},{cityCode:"429000",cityName:"省直辖县级行政区划"},{cityCode:"430100",cityName:"长沙市"},{cityCode:"430200",cityName:"株洲市"},{cityCode:"430300",cityName:"湘潭市"},{cityCode:"430400",cityName:"衡阳市"},{cityCode:"430500",cityName:"邵阳市"},{cityCode:"430600",cityName:"岳阳市"},{cityCode:"430700",cityName:"常德市"},{cityCode:"430800",cityName:"张家界市"},{cityCode:"430900",cityName:"益阳市"},{cityCode:"431000",cityName:"郴州市"},{cityCode:"431100",cityName:"永州市"},{cityCode:"431200",cityName:"怀化市"},{cityCode:"431300",cityName:"娄底市"},{cityCode:"433100",cityName:"湘西土家族苗族自治州"},{cityCode:"440100",cityName:"广州市"},{cityCode:"440200",cityName:"韶关市"},{cityCode:"440300",cityName:"深圳市"},{cityCode:"440400",cityName:"珠海市"},{cityCode:"440500",cityName:"汕头市"},{cityCode:"440600",cityName:"佛山市"},{cityCode:"440700",cityName:"江门市"},{cityCode:"440800",cityName:"湛江市"},{cityCode:"440900",cityName:"茂名市"},{cityCode:"441200",cityName:"肇庆市"},{cityCode:"441300",cityName:"惠州市"},{cityCode:"441400",cityName:"梅州市"},{cityCode:"441500",cityName:"汕尾市"},{cityCode:"441600",cityName:"河源市"},{cityCode:"441700",cityName:"阳江市"},{cityCode:"441800",cityName:"清远市"},{cityCode:"441900",cityName:"东莞市"},{cityCode:"442000",cityName:"中山市"},{cityCode:"445100",cityName:"潮州市"},{cityCode:"445200",cityName:"揭阳市"},{cityCode:"445300",cityName:"云浮市"},{cityCode:"450100",cityName:"南宁市"},{cityCode:"450200",cityName:"柳州市"},{cityCode:"450300",cityName:"桂林市"},{cityCode:"450400",cityName:"梧州市"},{cityCode:"450500",cityName:"北海市"},{cityCode:"450600",cityName:"防城港市"},{cityCode:"450700",cityName:"钦州市"},{cityCode:"450800",cityName:"贵港市"},{cityCode:"450900",cityName:"玉林市"},{cityCode:"451000",cityName:"百色市"},{cityCode:"451100",cityName:"贺州市"},{cityCode:"451200",cityName:"河池市"},{cityCode:"451300",cityName:"来宾市"},{cityCode:"451400",cityName:"崇左市"},{cityCode:"460100",cityName:"海口市"},{cityCode:"460200",cityName:"三亚市"},{cityCode:"460300",cityName:"三沙市"},{cityCode:"469000",cityName:"省直辖县级行政区划"},{cityCode:"500100",cityName:"重庆"},{cityCode:"510100",cityName:"成都市"},{cityCode:"510300",cityName:"自贡市"},{cityCode:"510400",cityName:"攀枝花市"},{cityCode:"510500",cityName:"泸州市"},{cityCode:"510600",cityName:"德阳市"},{cityCode:"510700",cityName:"绵阳市"},{cityCode:"510800",cityName:"广元市"},{cityCode:"510900",cityName:"遂宁市"},{cityCode:"511000",cityName:"内江市"},{cityCode:"511100",cityName:"乐山市"},{cityCode:"511300",cityName:"南充市"},{cityCode:"511400",cityName:"眉山市"},{cityCode:"511500",cityName:"宜宾市"},{cityCode:"511600",cityName:"广安市"},{cityCode:"511700",cityName:"达州市"},{cityCode:"511800",cityName:"雅安市"},{cityCode:"511900",cityName:"巴中市"},{cityCode:"512000",cityName:"资阳市"},{cityCode:"513200",cityName:"阿坝藏族羌族自治州"},{cityCode:"513300",cityName:"甘孜藏族自治州"},{cityCode:"513400",cityName:"凉山彝族自治州"},{cityCode:"520100",cityName:"贵阳市"},{cityCode:"520200",cityName:"六盘水市"},{cityCode:"520300",cityName:"遵义市"},{cityCode:"520400",cityName:"安顺市"},{cityCode:"520500",cityName:"毕节市"},{cityCode:"520600",cityName:"铜仁市"},{cityCode:"522300",cityName:"黔西南布依族苗族自治州"},{cityCode:"522600",cityName:"黔东南苗族侗族自治州"},{cityCode:"522700",cityName:"黔南布依族苗族自治州"},{cityCode:"530100",cityName:"昆明市"},{cityCode:"530300",cityName:"曲靖市"},{cityCode:"530400",cityName:"玉溪市"},{cityCode:"530500",cityName:"保山市"},{cityCode:"530600",cityName:"昭通市"},{cityCode:"530700",cityName:"丽江市"},{cityCode:"530800",cityName:"普洱市"},{cityCode:"530900",cityName:"临沧市"},{cityCode:"532300",cityName:"楚雄彝族自治州"},{cityCode:"532500",cityName:"红河哈尼族彝族自治州"},{cityCode:"532600",cityName:"文山壮族苗族自治州"},{cityCode:"532800",cityName:"西双版纳傣族自治州"},{cityCode:"532900",cityName:"大理白族自治州"},{cityCode:"533100",cityName:"德宏傣族景颇族自治州"},{cityCode:"533300",cityName:"怒江傈僳族自治州"},{cityCode:"533400",cityName:"迪庆藏族自治州"},{cityCode:"540100",cityName:"拉萨市"},{cityCode:"542100",cityName:"昌都地区"},{cityCode:"542200",cityName:"山南地区"},{cityCode:"542300",cityName:"日喀则地区"},{cityCode:"542400",cityName:"那曲地区"},{cityCode:"542500",cityName:"阿里地区"},{cityCode:"542600",cityName:"林芝地区"},{cityCode:"610100",cityName:"西安市"},{cityCode:"610200",cityName:"铜川市"},{cityCode:"610300",cityName:"宝鸡市"},{cityCode:"610400",cityName:"咸阳市"},{cityCode:"610500",cityName:"渭南市"},{cityCode:"610600",cityName:"延安市"},{cityCode:"610700",cityName:"汉中市"},{cityCode:"610800",cityName:"榆林市"},{cityCode:"610900",cityName:"安康市"},{cityCode:"611000",cityName:"商洛市"},{cityCode:"620100",cityName:"兰州市"},{cityCode:"620200",cityName:"嘉峪关市"},{cityCode:"620300",cityName:"金昌市"},{cityCode:"620400",cityName:"白银市"},{cityCode:"620500",cityName:"天水市"},{cityCode:"620600",cityName:"武威市"},{cityCode:"620700",cityName:"张掖市"},{cityCode:"620800",cityName:"平凉市"},{cityCode:"620900",cityName:"酒泉市"},{cityCode:"621000",cityName:"庆阳市"},{cityCode:"621100",cityName:"定西市"},{cityCode:"621200",cityName:"陇南市"},{cityCode:"622900",cityName:"临夏回族自治州"},{cityCode:"623000",cityName:"甘南藏族自治州"},{cityCode:"630100",cityName:"西宁市"},{cityCode:"630200",cityName:"海东市"},{cityCode:"632200",cityName:"海北藏族自治州"},{cityCode:"632300",cityName:"黄南藏族自治州"},{cityCode:"632500",cityName:"海南藏族自治州"},{cityCode:"632600",cityName:"果洛藏族自治州"},{cityCode:"632700",cityName:"玉树藏族自治州"},{cityCode:"632800",cityName:"海西蒙古族藏族自治州"},{cityCode:"640100",cityName:"银川市"},{cityCode:"640200",cityName:"石嘴山市"},{cityCode:"640300",cityName:"吴忠市"},{cityCode:"640400",cityName:"固原市"},{cityCode:"640500",cityName:"中卫市"},{cityCode:"650100",cityName:"乌鲁木齐市"},{cityCode:"650200",cityName:"克拉玛依市"},{cityCode:"652100",cityName:"吐鲁番地区"},{cityCode:"652200",cityName:"哈密地区"},{cityCode:"652300",cityName:"昌吉回族自治州"},{cityCode:"652700",cityName:"博尔塔拉蒙古自治州"},{cityCode:"652800",cityName:"巴音郭楞蒙古自治州"},{cityCode:"652900",cityName:"阿克苏地区"},{cityCode:"653000",cityName:"克孜勒苏柯尔克孜自治州"},{cityCode:"653100",cityName:"喀什地区"},{cityCode:"653200",cityName:"和田地区"},{cityCode:"654000",cityName:"伊犁哈萨克自治州"},{cityCode:"654200",cityName:"塔城地区"},{cityCode:"654300",cityName:"阿勒泰地区"},{cityCode:"659000",cityName:"自治区直辖县级行政区划"}]},a174:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.typeFilter=t.type=t.setDataValue=t.realName=t.rawData=t.objSet=t.objGet=t.name2arr=t.isRequiredField=t.isRealName=t.isNumber=t.isEqual=t.isBoolean=t.getValue=t.getDataValueType=t.getDataValue=t.deepCopy=void 0;var i=r(n("3b2d"));t.deepCopy=function(e){return JSON.parse(JSON.stringify(e))};var o=function(e){return"int"===e||"double"===e||"number"===e||"timestamp"===e};t.typeFilter=o;t.getValue=function(e,t,n){var r=n.find((function(e){return e.format&&o(e.format)})),i=n.find((function(e){return e.format&&"boolean"===e.format||"bool"===e.format}));return r&&(t=t||0===t?f(Number(t))?Number(t):t:null),i&&(t=!!d(t)&&t),t};t.setDataValue=function(e,t,n){return t[e]=n,n||""};var a=function(e,t){return l(t,e)};t.getDataValue=a;t.getDataValueType=function(e,t){var n=a(e,t);return{type:p(n),value:n}};t.realName=function(e){var t=u(e);if("object"===(0,i.default)(t)&&Array.isArray(t)&&t.length>1){var n=t.reduce((function(e,t){return e+"#".concat(t)}),"_formdata_");return n}return t[0]||e};t.isRealName=function(e){return/^_formdata_#*/.test(e)};t.rawData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e)),n={};for(var r in t){var i=s(r);c(n,i,t[r])}return n};var s=function(e){var t=e.replace("_formdata_#","");return t=t.split("#").map((function(e){return f(e)?Number(e):e})),t};t.name2arr=s;var c=function(e,t,n){return"object"!==(0,i.default)(e)||u(t).reduce((function(e,t,r,i){return r===i.length-1?(e[t]=n,null):(t in e||(e[t]=/^[0-9]{1,}$/.test(i[r+1])?[]:{}),e[t])}),e),e};function u(e){return Array.isArray(e)?e:e.replace(/\[/g,".").replace(/\]/g,"").split(".")}t.objSet=c;var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r=u(t),i=r.reduce((function(e,t){return(e||{})[t]}),e);return i&&void 0===i?n:i};t.objGet=l;var f=function(e){return!isNaN(Number(e))};t.isNumber=f;var d=function(e){return"boolean"===typeof e};t.isBoolean=d;t.isRequiredField=function(e){for(var t=!1,n=0;n<e.length;n++){var r=e[n];if(r.required){t=!0;break}}return t};var p=function(e){var t={};return"Boolean Number String Function Array Date RegExp Object Error".split(" ").map((function(e,n){t["[object "+e+"]"]=e.toLowerCase()})),null==e?e+"":"object"===(0,i.default)(e)||"function"===typeof e?t[Object.prototype.toString.call(e)]||"object":(0,i.default)(e)};t.type=p;t.isEqual=function(e,t){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return e===t;var n=toString.call(e),r=toString.call(t);if(n!==r)return!1;switch(n){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}if("[object Object]"==n){var i=Object.getOwnPropertyNames(e),o=Object.getOwnPropertyNames(t);if(i.length!=o.length)return!1;for(var a=0;a<i.length;a++){var s=i[a];if(e[s]!==t[s])return!1}return!0}return"[object Array]"==n?e.toString()==t.toString():void 0}},a3fc:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var o=t.isAbsolute(e),a="/"===i(e,-1);return e=n(r(e.split("/"),(function(e){return!!e})),!o).join("/"),e||o||(e="."),e&&a&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("28d0"))},a495:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:{type:String,default:""},show:{type:Boolean,default:!0},text:{type:[String,Number],default:""},prefixIcon:{type:String,default:""},suffixIcon:{type:String,default:""},mode:{type:String,default:""},href:{type:String,default:""},format:{type:[String,Function],default:""},call:{type:Boolean,default:!0},openType:{type:String,default:""},bold:{type:Boolean,default:!1},block:{type:Boolean,default:!1},lines:{type:[String,Number],default:""},color:{type:String,default:"#303133"},size:{type:[String,Number],default:15},iconStyle:{type:[Object,String],default:function(){return{fontSize:"15px"}}},decoration:{type:String,default:"none"},margin:{type:[Object,String,Number],default:0},lineHeight:{type:[String,Number],default:""},align:{type:String,default:"left"},wordWrap:{type:String,default:"normal"}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.text)};t.default=c}).call(this,n("df3c")["default"])},a708:function(e,t,n){var r=n("6454");e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},a7b6:function(module,exports,__webpack_require__){(function(process,global,module){var __WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__("3b2d");!function(){"use strict";function t(e){if(e)d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d,this.buffer8=l;else if(a){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}var r="input is invalid type",e="object"==("undefined"===typeof window?"undefined":_typeof(window)),i=e?window:{};i.JS_MD5_NO_WINDOW&&(e=!1);var s=!e&&"object"==("undefined"===typeof self?"undefined":_typeof(self)),h=!i.JS_MD5_NO_NODE_JS&&"object"==("undefined"===typeof process?"undefined":_typeof(process))&&process.versions&&process.versions.node;h?i=global:s&&(i=self);var f=!i.JS_MD5_NO_COMMON_JS&&"object"==_typeof(module)&&module.exports,o=__webpack_require__("9c4a"),a=!i.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,n="0123456789abcdef".split(""),u=[128,32768,8388608,-2147483648],y=[0,8,16,24],c=["hex","array","digest","buffer","arrayBuffer","base64"],p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),d=[],l;if(a){var A=new ArrayBuffer(68);l=new Uint8Array(A),d=new Uint32Array(A)}!i.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!a||!i.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==_typeof(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});var b=function(e){return function(n){return new t(!0).update(n)[e]()}},v=function(){var e=b("hex");h&&(e=w(e)),e.create=function(){return new t},e.update=function(t){return e.create().update(t)};for(var n=0;n<c.length;++n){var r=c[n];e[r]=b(r)}return e},w=function w(t){var e=eval("require('crypto')"),i=eval("require('buffer').Buffer"),s=function(n){if("string"==typeof n)return e.createHash("md5").update(n,"utf8").digest("hex");if(null===n||void 0===n)throw r;return n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),Array.isArray(n)||ArrayBuffer.isView(n)||n.constructor===i?e.createHash("md5").update(new i(n)).digest("hex"):t(n)};return s};t.prototype.update=function(e){if(!this.finalized){var t,n=_typeof(e);if("string"!==n){if("object"!==n)throw r;if(null===e)throw r;if(a&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||a&&ArrayBuffer.isView(e)))throw r;t=!0}for(var i,o,s=0,c=e.length,u=this.blocks,l=this.buffer8;s<c;){if(this.hashed&&(this.hashed=!1,u[0]=u[16],u[16]=u[1]=u[2]=u[3]=u[4]=u[5]=u[6]=u[7]=u[8]=u[9]=u[10]=u[11]=u[12]=u[13]=u[14]=u[15]=0),t)if(a)for(o=this.start;s<c&&o<64;++s)l[o++]=e[s];else for(o=this.start;s<c&&o<64;++s)u[o>>2]|=e[s]<<y[3&o++];else if(a)for(o=this.start;s<c&&o<64;++s)(i=e.charCodeAt(s))<128?l[o++]=i:i<2048?(l[o++]=192|i>>6,l[o++]=128|63&i):i<55296||i>=57344?(l[o++]=224|i>>12,l[o++]=128|i>>6&63,l[o++]=128|63&i):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++s)),l[o++]=240|i>>18,l[o++]=128|i>>12&63,l[o++]=128|i>>6&63,l[o++]=128|63&i);else for(o=this.start;s<c&&o<64;++s)(i=e.charCodeAt(s))<128?u[o>>2]|=i<<y[3&o++]:i<2048?(u[o>>2]|=(192|i>>6)<<y[3&o++],u[o>>2]|=(128|63&i)<<y[3&o++]):i<55296||i>=57344?(u[o>>2]|=(224|i>>12)<<y[3&o++],u[o>>2]|=(128|i>>6&63)<<y[3&o++],u[o>>2]|=(128|63&i)<<y[3&o++]):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++s)),u[o>>2]|=(240|i>>18)<<y[3&o++],u[o>>2]|=(128|i>>12&63)<<y[3&o++],u[o>>2]|=(128|i>>6&63)<<y[3&o++],u[o>>2]|=(128|63&i)<<y[3&o++]);this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},t.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=u[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},t.prototype.hash=function(){var e,t,n,r,i,o,a=this.blocks;this.first?t=((t=((e=((e=a[0]-680876937)<<7|e>>>25)-271733879<<0)^(n=((n=(-271733879^(r=((r=(-1732584194^2004318071&e)+a[1]-117830708)<<12|r>>>20)+e<<0)&(-271733879^e))+a[2]-1126478375)<<17|n>>>15)+r<<0)&(r^e))+a[3]-1316259209)<<22|t>>>10)+n<<0:(e=this.h0,t=this.h1,n=this.h2,t=((t+=((e=((e+=((r=this.h3)^t&(n^r))+a[0]-680876936)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[1]-389564586)<<12|r>>>20)+e<<0)&(e^t))+a[2]+606105819)<<17|n>>>15)+r<<0)&(r^e))+a[3]-1044525330)<<22|t>>>10)+n<<0),t=((t+=((e=((e+=(r^t&(n^r))+a[4]-176418897)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[5]+1200080426)<<12|r>>>20)+e<<0)&(e^t))+a[6]-1473231341)<<17|n>>>15)+r<<0)&(r^e))+a[7]-45705983)<<22|t>>>10)+n<<0,t=((t+=((e=((e+=(r^t&(n^r))+a[8]+1770035416)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[9]-1958414417)<<12|r>>>20)+e<<0)&(e^t))+a[10]-42063)<<17|n>>>15)+r<<0)&(r^e))+a[11]-1990404162)<<22|t>>>10)+n<<0,t=((t+=((e=((e+=(r^t&(n^r))+a[12]+1804603682)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[13]-40341101)<<12|r>>>20)+e<<0)&(e^t))+a[14]-1502002290)<<17|n>>>15)+r<<0)&(r^e))+a[15]+1236535329)<<22|t>>>10)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[1]-165796510)<<5|e>>>27)+t<<0)^t))+a[6]-1069501632)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[11]+643717713)<<14|n>>>18)+r<<0)^r))+a[0]-373897302)<<20|t>>>12)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[5]-701558691)<<5|e>>>27)+t<<0)^t))+a[10]+38016083)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[15]-660478335)<<14|n>>>18)+r<<0)^r))+a[4]-405537848)<<20|t>>>12)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[9]+568446438)<<5|e>>>27)+t<<0)^t))+a[14]-1019803690)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[3]-187363961)<<14|n>>>18)+r<<0)^r))+a[8]+1163531501)<<20|t>>>12)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[13]-1444681467)<<5|e>>>27)+t<<0)^t))+a[2]-51403784)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[7]+1735328473)<<14|n>>>18)+r<<0)^r))+a[12]-1926607734)<<20|t>>>12)+n<<0,t=((t+=((o=(r=((r+=((i=t^n)^(e=((e+=(i^r)+a[5]-378558)<<4|e>>>28)+t<<0))+a[8]-2022574463)<<11|r>>>21)+e<<0)^e)^(n=((n+=(o^t)+a[11]+1839030562)<<16|n>>>16)+r<<0))+a[14]-35309556)<<23|t>>>9)+n<<0,t=((t+=((o=(r=((r+=((i=t^n)^(e=((e+=(i^r)+a[1]-1530992060)<<4|e>>>28)+t<<0))+a[4]+1272893353)<<11|r>>>21)+e<<0)^e)^(n=((n+=(o^t)+a[7]-155497632)<<16|n>>>16)+r<<0))+a[10]-1094730640)<<23|t>>>9)+n<<0,t=((t+=((o=(r=((r+=((i=t^n)^(e=((e+=(i^r)+a[13]+681279174)<<4|e>>>28)+t<<0))+a[0]-358537222)<<11|r>>>21)+e<<0)^e)^(n=((n+=(o^t)+a[3]-722521979)<<16|n>>>16)+r<<0))+a[6]+76029189)<<23|t>>>9)+n<<0,t=((t+=((o=(r=((r+=((i=t^n)^(e=((e+=(i^r)+a[9]-640364487)<<4|e>>>28)+t<<0))+a[12]-421815835)<<11|r>>>21)+e<<0)^e)^(n=((n+=(o^t)+a[15]+530742520)<<16|n>>>16)+r<<0))+a[2]-995338651)<<23|t>>>9)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[0]-198630844)<<6|e>>>26)+t<<0)|~n))+a[7]+1126891415)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[14]-1416354905)<<15|n>>>17)+r<<0)|~e))+a[5]-57434055)<<21|t>>>11)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[12]+1700485571)<<6|e>>>26)+t<<0)|~n))+a[3]-1894986606)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[10]-1051523)<<15|n>>>17)+r<<0)|~e))+a[1]-2054922799)<<21|t>>>11)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[8]+1873313359)<<6|e>>>26)+t<<0)|~n))+a[15]-30611744)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[6]-1560198380)<<15|n>>>17)+r<<0)|~e))+a[13]+1309151649)<<21|t>>>11)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[4]-145523070)<<6|e>>>26)+t<<0)|~n))+a[11]-1120210379)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[2]+718787259)<<15|n>>>17)+r<<0)|~e))+a[9]-343485551)<<21|t>>>11)+n<<0,this.first?(this.h0=e+1732584193<<0,this.h1=t-271733879<<0,this.h2=n-1732584194<<0,this.h3=r+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0)},t.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,i=this.h3;return n[e>>4&15]+n[15&e]+n[e>>12&15]+n[e>>8&15]+n[e>>20&15]+n[e>>16&15]+n[e>>28&15]+n[e>>24&15]+n[t>>4&15]+n[15&t]+n[t>>12&15]+n[t>>8&15]+n[t>>20&15]+n[t>>16&15]+n[t>>28&15]+n[t>>24&15]+n[r>>4&15]+n[15&r]+n[r>>12&15]+n[r>>8&15]+n[r>>20&15]+n[r>>16&15]+n[r>>28&15]+n[r>>24&15]+n[i>>4&15]+n[15&i]+n[i>>12&15]+n[i>>8&15]+n[i>>20&15]+n[i>>16&15]+n[i>>28&15]+n[i>>24&15]},t.prototype.toString=t.prototype.hex,t.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3;return[255&e,e>>8&255,e>>16&255,e>>24&255,255&t,t>>8&255,t>>16&255,t>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255]},t.prototype.array=t.prototype.digest,t.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},t.prototype.buffer=t.prototype.arrayBuffer,t.prototype.base64=function(){for(var e,t,n,r="",i=this.array(),o=0;o<15;)e=i[o++],t=i[o++],n=i[o++],r+=p[e>>>2]+p[63&(e<<4|t>>>4)]+p[63&(t<<2|n>>>6)]+p[63&n];return e=i[o],r+(p[e>>>2]+p[e<<4&63]+"==")};var _=v();f?module.exports=_:(i.md5=_,o&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()}).call(this,__webpack_require__("28d0"),__webpack_require__("0ee4"),__webpack_require__("dc84")(module))},a861:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({show:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:10070},duration:{type:[String,Number],default:300},opacity:{type:[String,Number],default:.5}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.overlay)};t.default=c}).call(this,n("df3c")["default"])},a8d7:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({show:{type:Boolean,default:!0},color:{type:String,default:"#909193"},textColor:{type:String,default:"#909193"},vertical:{type:Boolean,default:!1},mode:{type:String,default:"spinner"},size:{type:[String,Number],default:24},textSize:{type:[String,Number],default:15},textStyle:{type:Object,default:function(){return{}}},text:{type:[String,Number],default:""},timingFunction:{type:String,default:"linear"},duration:{type:[String,Number],default:1200},inactiveColor:{type:String,default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.loadingIcon)};t.default=c}).call(this,n("df3c")["default"])},aa01:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.formatDate=c,t.friendlyDate=function(e,t){var n=t.locale,r=void 0===n?"zh":n,i=t.threshold,o=void 0===i?[6e4,36e5]:i,a=t.format,u=void 0===a?"yyyy/MM/dd hh:mm:ss":a;if("-"===e)return e;if(!e&&0!==e)return"";var l,f,d={zh:{year:"年",month:"月",day:"天",hour:"小时",minute:"分钟",second:"秒",ago:"前",later:"后",justNow:"刚刚",soon:"刚刚",template:"{num}{unit}{suffix}"},en:{year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",later:"later",justNow:"just now",soon:"soon",template:"{num} {unit} {suffix}"}},p=d[r]||d.zh,h=s(e),y=h.getTime()-Date.now(),g=Math.abs(y);if(g<o[0])return y<0?p.justNow:p.soon;if(g>=o[1])return c(h,u);var v=p.later;y<0&&(v=p.ago,y=-y);var m=Math.floor(y/1e3),b=Math.floor(m/60),S=Math.floor(b/60),x=Math.floor(S/24),_=Math.floor(x/30),C=Math.floor(_/12);switch(!0){case C>0:l=C,f=p.year;break;case _>0:l=_,f=p.month;break;case x>0:l=x,f=p.day;break;case S>0:l=S,f=p.hour;break;case b>0:l=b,f=p.minute;break;default:l=m,f=p.second;break}"en"===r&&(1===l?l="a":f+="s");return p.template.replace(/{\s*num\s*}/g,l+"").replace(/{\s*unit\s*}/g,f).replace(/{\s*suffix\s*}/g,v)};var i=r(n("3b2d"));function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e+="";while(e.length<t)e="0"+e;return e.slice(-t)}var a={yyyy:function(e){return o(e.year,4)},yy:function(e){return o(e.year)},MM:function(e){return o(e.month)},M:function(e){return e.month},dd:function(e){return o(e.day)},d:function(e){return e.day},hh:function(e){return o(e.hour)},h:function(e){return e.hour},mm:function(e){return o(e.minute)},m:function(e){return e.minute},ss:function(e){return o(e.second)},s:function(e){return e.second},SSS:function(e){return o(e.millisecond,3)},S:function(e){return e.millisecond}};function s(e){if(e instanceof Date)return e;switch((0,i.default)(e)){case"string":return e.indexOf("T")>-1?new Date(e):new Date(e.replace(/-/g,"/"));default:return new Date(e)}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy/MM/dd hh:mm:ss";if(!e&&0!==e)return"";e=s(e);var n={year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()},r=/yyyy|yy|MM|M|dd|d|hh|h|mm|m|ss|s|SSS|SS|S/,i=!0,o=t;while(i)i=!1,o=o.replace(r,(function(e){return i=!0,a[e](n)}));return o}},aa26:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindProjectDetail=function(e){return(0,r.request)({url:"/manager/bindProject/list",method:"post",data:e})},t.getOrganizationDetailById=function(e){return(0,r.request)({url:"/manager/base/organization/".concat(e),method:"get"})},t.getPartList=function(e,t){return(0,r.request)({url:"/manager/role/".concat(e,"/").concat(t),method:"get"})},t.getSealList=function(e){return(0,r.request)({url:"/file/seal/".concat(e),method:"get"})},t.getUserListByPart=function(e){return(0,r.request)({url:"/manager/user/list/".concat(e.organizationId,"/").concat(e.partId),method:"post"})},t.requestSeal=function(e){return(0,r.request)({url:"/file/sealRequest",method:"post",data:e})},t.selectOrangaized=function(e){return(0,r.request)({url:"/manager/userContext/organization",method:"post",data:e})};var r=n("8cf7")},af34:function(e,t,n){var r=n("a708"),i=n("b893"),o=n("6382"),a=n("9008");e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},af3d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("c4a0");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},b23c9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=function(e){if("undefined"===typeof Array.isArray)return"[object Array]"===Object.prototype.toString.call(e);return Array.isArray(e)},t.isExternal=function(e){return/^(https?:|mailto:|tel:)/.test(e)},t.isString=function(e){if("string"===typeof e||e instanceof String)return!0;return!1},t.isTel=function(e){return/^1[1-9]\d{9}$/.test(e)},t.validAlphabets=function(e){return/^[A-Za-z]+$/.test(e)},t.validEmail=function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},t.validLowerCase=function(e){return/^[a-z]+$/.test(e)},t.validURL=function(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)},t.validUpperCase=function(e){return/^[A-Z]+$/.test(e)},t.validUsername=function(e){return["admin","editor"].indexOf(e.trim())>=0}},b4d2:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},b893:function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},be3d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={options:{virtualHost:!0}}},c38b:function(e,t,n){"use strict";(function(e,r){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.chooseFile=function(t){var n=t.accept,i=t.multiple,o=t.capture,a=t.compressed,l=t.maxDuration,f=t.sizeType,d=t.camera,p=t.maxCount;return new Promise((function(t,h){switch(n){case"image":e.chooseImage({count:i?Math.min(p,9):1,sourceType:o,sizeType:f,success:function(e){return t(function(e){return e.tempFiles.map((function(e){return s(s({},c(e,["path"])),{},{type:"image",url:e.path,thumb:e.path,size:e.size})}))}(e))},fail:h});break;case"media":r.chooseMedia({count:i?Math.min(p,9):1,sourceType:o,maxDuration:l,sizeType:f,camera:d,success:function(e){return t(function(e){return e.tempFiles.map((function(t){return s(s({},c(t,["fileType","thumbTempFilePath","tempFilePath"])),{},{type:e.type,url:t.tempFilePath,thumb:"video"===e.type?t.thumbTempFilePath:t.tempFilePath,size:t.size})}))}(e))},fail:h});break;case"video":e.chooseVideo({sourceType:o,compressed:a,maxDuration:l,camera:d,success:function(e){return t(function(e){return[s(s({},c(e,["tempFilePath","thumbTempFilePath","errMsg"])),{},{type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size})]}(e))},fail:h});break;case"file":r.chooseMessageFile({count:i?p:1,type:n,success:function(e){return t(u(e))},fail:h});break;default:r.chooseMessageFile({count:i?p:1,type:"all",success:function(e){return t(u(e))},fail:h})}}))};var o=i(n("7ca3"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce((function(n,r){return t.includes(r)||(n[r]=e[r]),n}),{}):{}}function u(e){return e.tempFiles.map((function(e){return s(s({},c(e,["path"])),{},{url:e.path,size:e.size})}))}}).call(this,n("df3c")["default"],n("3223")["default"])},c445:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={appid:"__UNI__FECBE11"}},c4a0:function(e,t,n){"use strict";e.exports=n("320f")},c70d:function(e,t,n){var r=n("ed45"),i=n("b893"),o=n("6382"),a=n("dd3e");e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},ca46:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={field:{projectType:[{id:1,name:"房屋租赁"},{id:2,name:"知识产权"}],houseType:[{id:1,name:"纯写字楼"},{id:2,name:"商住两用"},{id:3,name:"商业裙楼"},{id:4,name:"厂房改造"}],payWay:[{id:1,name:"公对公转账"},{id:2,name:"微信小程序支付"}],customerType:[{id:1,name:"潜在客户"},{id:2,name:"新增客户"},{id:3,name:"跟进中客户"},{id:4,name:"成交客户"},{id:5,name:"流失客户"}],followUpState:[{id:1,name:"初次接触"},{id:2,name:"沟通中"},{id:3,name:"已成交"},{id:4,name:"失败/放弃"},{id:5,name:"暂不考虑"},{id:6,name:"待定"},{id:7,name:"未联系上"}],fieldType:[{id:1,name:"输入类型"},{id:2,name:"选择类型"},{id:3,name:"日期类型"},{id:4,name:"单选类型"}],industryType:[{id:1,name:"机构组织"},{id:2,name:"农林牧渔"},{id:3,name:"建筑建材"},{id:4,name:"冶金矿产"},{id:5,name:"交通运输"},{id:6,name:"信息产业"},{id:7,name:"机械机电"},{id:8,name:"轻工食品"},{id:9,name:"服装纺织"},{id:10,name:"专业服务"},{id:11,name:"旅游休闲"}],rentWay:[{id:1,name:"固定租金"}],chargingType:[{id:1,name:"按月计费"},{id:2,name:"按季计费"},{id:3,name:"按年计费"}],payTime:[{id:1,name:"当天提醒"},{id:2,name:"提前一天提醒"},{id:3,name:"提前三天提醒"},{id:4,name:"提前五天提醒"}],unnaturalMonthChargingWay:[{id:1,name:"按天单价计算"}],leaseTermWay:[{id:1,name:"按起始日划分"},{id:2,name:"延迟一日划分"}],earnestMoneyType:[{id:1,name:"租金保证金"},{id:2,name:"装修保证金"}],currencyType:[{id:1,name:"人民币CNY"}],preferentialType:[{id:1,name:"免租期"}],preferentialRentFreeWay:[{id:1,name:"免租期划入租期"}],invoiceType:[{id:1,name:"增值税普通发票"},{id:2,name:"增值税电子普通发票"}],serviceWorkWay:[{id:1,name:"上门修理"},{id:2,name:"事后维修"},{id:3,name:"紧急抢修"},{id:4,name:"预防性维修"},{id:5,name:"专项修理"},{id:6,name:"网络维修"}],clearWorkWay:[{id:1,name:"日常保洁"},{id:2,name:"垃圾处理"}],supportingFacilities:[{id:1,name:"交通便利",icon:"icon-jiaotong"},{id:2,name:"免费wifi",icon:"icon-wifi"},{id:3,name:"幼儿教育",icon:"icon-zhishiku"},{id:4,name:"医疗完善",icon:"icon-tubiao_-"},{id:5,name:"靠近公园",icon:"icon-gongyuan"},{id:6,name:"便捷购物",icon:"icon-gouwu"}]},findTypeName:function(e,t){return i(e,t).name},findTypeNameByList:function(e,t){return t=t||"",t.split(",").map((function(t){return i(e,t)}))}},i=function(e,t){return r.field[e].find((function(e){return e.id==t}))||{id:0,name:"-"}},o=r;t.default=o},cbac:function(e,t,n){"use strict";var r,i,o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n("3b2d")),s=Object.getOwnPropertyNames,c=function(e,t){return function(){return t||(0,e[s(e)[0]])((t={exports:{}}).exports,t),t.exports}}({uvuidayjs:function(e,t){!function(o,s){"object"==(0,a.default)(e)&&"undefined"!=typeof t?t.exports=s():(r=s,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i))}(0,(function(){var e=6e4,t=36e5,n="millisecond",r="second",i="minute",o="hour",s="day",c="week",u="month",l="quarter",f="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},m={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,u),o=n-i<0,a=t.clone().add(r+(o?-1:1),u);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:c,d:s,D:d,h:o,m:i,s:r,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",S={};S[b]=g;var x=function(e){return e instanceof P},_=function e(t,n,r){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();S[o]&&(i=o),n&&(S[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;S[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},C=function(e,t){if(x(e))return e.clone();var n="object"==(0,a.default)(t)?t:{};return n.date=e,n.args=arguments,new P(n)},L=m;L.l=_,L.i=x,L.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function a(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=a.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(L.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return L},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return C(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<C(e)},g.$g=function(e,t,n){return L.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,a=!!L.u(t)||t,l=L.p(e),p=function(e,t){var r=L.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return a?r:r.endOf(s)},h=function(e,t){return L.w(n.toDate()[e].apply(n.toDate("s"),(a?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},y=this.$W,g=this.$M,v=this.$D,m="set"+(this.$u?"UTC":"");switch(l){case f:return a?p(1,0):p(31,11);case u:return a?p(1,g):p(0,g+1);case c:var b=this.$locale().weekStart||0,S=(y<b?y+7:y)-b;return p(a?v-S:v+(6-S),g);case s:case d:return h(m+"Hours",0);case o:return h(m+"Minutes",1);case i:return h(m+"Seconds",2);case r:return h(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var a,c=L.p(e),l="set"+(this.$u?"UTC":""),p=(a={},a[s]=l+"Date",a[d]=l+"Date",a[u]=l+"Month",a[f]=l+"FullYear",a[o]=l+"Hours",a[i]=l+"Minutes",a[r]=l+"Seconds",a[n]=l+"Milliseconds",a)[c],h=c===s?this.$D+(t-this.$W):t;if(c===u||c===f){var y=this.clone().set(d,1);y.$d[p](h),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[L.p(e)]()},g.add=function(n,a){var l,d=this;n=Number(n);var p=L.p(a),h=function(e){var t=C(d);return L.w(t.date(t.date()+Math.round(e*n)),d)};if(p===u)return this.set(u,this.$M+n);if(p===f)return this.set(f,this.$y+n);if(p===s)return h(1);if(p===c)return h(7);var y=(l={},l[i]=e,l[o]=t,l[r]=1e3,l)[p]||1,g=this.$d.getTime()+n*y;return L.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=L.z(this),o=this.$H,a=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},f=function(e){return L.s(o%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:L.s(s+1,2,"0"),MMM:l(n.monthsShort,s,u,3),MMMM:l(u,s),D:this.$D,DD:L.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,c,2),ddd:l(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:L.s(o,2,"0"),h:f(1),hh:f(2),a:d(o,a,!0),A:d(o,a,!1),m:String(a),mm:L.s(a,2,"0"),s:String(this.$s),ss:L.s(this.$s,2,"0"),SSS:L.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(e,t){return t||h[e]||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,a,d){var p,h=L.p(a),y=C(n),g=(y.utcOffset()-this.utcOffset())*e,v=this-y,m=L.m(this,y);return m=(p={},p[f]=m/12,p[u]=m,p[l]=m/3,p[c]=(v-g)/6048e5,p[s]=(v-g)/864e5,p[o]=v/t,p[i]=v/e,p[r]=v/1e3,p)[h]||v,d?m:L.a(m)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return S[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return L.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},a}(),T=P.prototype;return C.prototype=T,[["$ms",n],["$s",r],["$m",i],["$H",o],["$W",s],["$M",u],["$y",f],["$D",d]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),C.extend=function(e,t){return e.$i||(e(t,P,C),e.$i=!0),C},C.locale=_,C.isDayjs=x,C.unix=function(e){return C(1e3*e)},C.en=S[b],C.Ls=S,C.p={},C}))}}),u=c();t.default=u},d38f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTouch=function(){var e=(0,r.ref)(0),t=(0,r.ref)(0),n=(0,r.ref)(0),i=(0,r.ref)(0),o=(0,r.ref)(0),a=(0,r.ref)(0),s=(0,r.ref)(""),c=(0,r.ref)(!0);return{start:function(r){(function(){n.value=0,i.value=0,o.value=0,a.value=0,s.value="",c.value=!0})(),e.value=r.touches[0].clientX,t.value=r.touches[0].clientY},move:function(r){var u=r.touches[0];n.value=(u.clientX<0?0:u.clientX)-e.value,i.value=u.clientY-t.value,o.value=Math.abs(n.value),a.value=Math.abs(i.value);(""==s.value||o.value<10&&a.value<10)&&(s.value=function(e,t){if(e>t)return"horizontal";if(t>e)return"vertical";return""}(o.value,a.value)),c.value&&(o.value>5||a.value>5)&&(c.value=!1)},startX:e,startY:t,deltaX:n,deltaY:i,offsetX:o,offsetY:a,direction:s,isVertical:function(){return"vertical"===s.value},isHorizontal:function(){return"horizontal"===s.value},isTap:c}};var r=n("af3d")},d3b4:function(e,t,n){"use strict";(function(e,r){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0,t.compileI18nJsonStr=function(e,t){var n=t.locale,r=t.locales,i=t.delimiters;if(!P(e,i))return e;C||(C=new f);var o=[];Object.keys(r).forEach((function(e){e!==n&&o.push({locale:e,values:r[e]})})),o.unshift({locale:n,values:r[n]});try{return JSON.stringify(w(JSON.parse(e),o,i),null,2)}catch(a){}return e},t.hasI18nJson=function e(t,n){C||(C=new f);return Y(t,(function(t,r){var i=t[r];return L(i)?!!P(i,n)||void 0:e(i,n)}))},t.initVueI18n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var i=[t,e];e=i[0],t=i[1]}"string"!==typeof e&&(e=_());"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var o=new S({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return o.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,x(r,o))),o.t(e,t)}}return a(e,t)};return{i18n:o,f:function(e,t,n){return o.f(e,t,n)},t:function(e,t){return a(e,t)},add:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(e,t,n)},watch:function(e){return o.watchLocale(e)},getLocale:function(){return o.getLocale()},setLocale:function(e){return o.setLocale(e)}}},t.isI18nStr=P,t.isString=void 0,t.normalizeLocale=b,t.parseI18nJson=function e(t,n,r){C||(C=new f);return Y(t,(function(t,i){var o=t[i];L(o)?P(o,r)&&(t[i]=T(o,n,r)):e(o,n,r)})),t},t.resolveLocale=function(e){return function(t){return t?(t=b(t)||t,function(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var o=i(n("34cf")),a=i(n("67ad")),s=i(n("0bdb")),c=i(n("3b2d")),u=function(e){return null!==e&&"object"===(0,c.default)(e)},l=["{","}"],f=function(){function e(){(0,a.default)(this,e),this._caches=Object.create(null)}return(0,s.default)(e,[{key:"interpolate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!t)return[e];var r=this._caches[e];return r||(r=h(e,n),this._caches[e]=r),y(r,t)}}]),e}();t.Formatter=f;var d=/^(?:\d)+/,p=/^(?:\w)+/;function h(e,t){var n=(0,o.default)(t,2),r=n[0],i=n[1],a=[],s=0,c="";while(s<e.length){var u=e[s++];if(u===r){c&&a.push({type:"text",value:c}),c="";var l="";u=e[s++];while(void 0!==u&&u!==i)l+=u,u=e[s++];var f=u===i,h=d.test(l)?"list":f&&p.test(l)?"named":"unknown";a.push({value:l,type:h})}else c+=u}return c&&a.push({type:"text",value:c}),a}function y(e,t){var n=[],r=0,i=Array.isArray(t)?"list":u(t)?"named":"unknown";if("unknown"===i)return n;while(r<e.length){var o=e[r];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(t[o.value]);break;case"unknown":0;break}r++}return n}t.LOCALE_ZH_HANS="zh-Hans";t.LOCALE_ZH_HANT="zh-Hant";t.LOCALE_EN="en";t.LOCALE_FR="fr";t.LOCALE_ES="es";var g=Object.prototype.hasOwnProperty,v=function(e,t){return g.call(e,t)},m=new f;function b(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=["en","fr","es"];t&&Object.keys(t).length>0&&(n=Object.keys(t));var r=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,n);return r||void 0}}var S=function(){function e(t){var n=t.locale,r=t.fallbackLocale,i=t.messages,o=t.watcher,s=t.formater;(0,a.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=s||m,this.messages=i||{},this.setLocale(n||"en"),o&&this.watchLocale(o)}return(0,s.default)(e,[{key:"setLocale",value:function(e){var t=this,n=this.locale;this.locale=b(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(e){e(t.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,n=this.watchers.push(e)-1;return function(){t.watchers.splice(n,1)}}},{key:"add",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((function(e){v(r,e)||(r[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,n){return this.formater.interpolate(e,t,n).join("")}},{key:"t",value:function(e,t,n){var r=this.message;return"string"===typeof t?(t=b(t,this.messages),t&&(r=this.messages[t])):n=t,v(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function x(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function _(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():"en"}t.I18n=S;var C,L=function(e){return"string"===typeof e};function P(e,t){return e.indexOf(t[0])>-1}function T(e,t,n){return C.interpolate(e,t,n).join("")}function w(e,t,n){return Y(e,(function(e,r){(function(e,t,n,r){var i=e[t];if(L(i)){if(P(i,r)&&(e[t]=T(i,n[0].values,r),n.length>1)){var o=e[t+"Locales"]={};n.forEach((function(e){o[e.locale]=T(i,e.values,r)}))}}else w(i,n,r)})(e,r,t,n)})),e}function Y(e,t){if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(t(e,n))return!0}else if(u(e))for(var r in e)if(t(e,r))return!0;return!1}t.isString=L}).call(this,n("df3c")["default"],n("0ee4"))},d551:function(e,t,n){var r=n("3b2d")["default"],i=n("e6db");e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports["default"]=e.exports},dc84: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}},dd3e:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},de81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteDir=function(e){return(0,r.request)({url:"/file/dir/".concat(e),method:"delete"})},t.deleteOrganizationDir=function(e){return(0,r.request)({url:"/file/fileNodeOrganization/dir/".concat(e),method:"delete"})},t.deleteOrganizationFile=function(e){return(0,r.request)({url:"/file/fileNodeOrganization/".concat(e),method:"delete"})},t.deleteProjectDir=function(e){return(0,r.request)({url:"/file/fileNodeProject/dir/".concat(e),method:"delete"})},t.deleteProjectFile=function(e){return(0,r.request)({url:"/file/fileNodeProject/".concat(e),method:"delete"})},t.downloadFile=function(e,t){return(0,r.request)({method:"get",url:"/file/filenode/".concat(e,"/").concat(t),responseType:"arraybuffer"})},t.generateFileNodeOrganization=function(e,t,n){return(0,r.request)({url:"/file/fileNodeOrganization/".concat(e,"/").concat(t,"/").concat(n),method:"get"})},t.generateFileNodeProject=function(e){return(0,r.request)({url:"/file/fileNodeProject/".concat(e),method:"get"})},t.getDirList=function(e){return(0,r.request)({url:"/file/dir/".concat(e),method:"get"})},t.getDirListByids=function(e){return(0,r.request)({url:"/file/dir/folder",method:"post",data:e})},t.getExcelById=function(e){return(0,r.request)({url:"/api/luckySheet/".concat(e),method:"get"})},t.getOrganizationDirList=function(e){return(0,r.request)({url:"/file/listFileNodeOrganization/".concat(e),method:"get"})},t.getOrganizationDirListByids=function(e){return(0,r.request)({url:"/file/fileNodeOrganization/folder",method:"post",data:e})},t.getProjectDirList=function(e){return(0,r.request)({url:"/file/listFileNodeProject/".concat(e),method:"get"})},t.getProjectDirListByids=function(e){return(0,r.request)({url:"/file/fileNodeProject/folder",method:"post",data:e})},t.getProjectPermission=function(e,t){return(0,r.request)({url:"/file/permissions/".concat(e,"/").concat(t),method:"get"})},t.getProjectPermissionDetail=function(e,t){return(0,r.request)({url:"/file/permissions/show/".concat(e,"/").concat(t),method:"get"})},t.getSetApprove=function(e){return(0,r.request)({url:"/api/reviewerSet/set/query",method:"post",data:e})},t.getUserOrganizationPermissions=function(e,t){return(0,r.request)({url:"/file/userPermissions/organization/".concat(e,"/").concat(t),method:"get"})},t.getUserProjectPermissions=function(e,t){return(0,r.request)({url:"/file/userPermissions/project/".concat(e,"/").concat(t),method:"get"})},t.insertDir=function(e){return(0,r.request)({url:"/file/dir/".concat(e.parentId),method:"post",data:e})},t.insertExcel=function(e){return(0,r.request)({url:"/api/luckySheet",method:"post",data:e})},t.insertOrganizationDir=function(e){return(0,r.request)({url:"/file/fileNodeOrganization/dir/".concat(e.parentId),method:"post",data:e})},t.insertProjectDir=function(e){return(0,r.request)({url:"/file/fileNodeProject/dir/".concat(e.parentId),method:"post",data:e})},t.insertProjectPermission=function(e){return(0,r.request)({url:"/file/permissions",method:"post",data:e})},t.insertSetApprove=function(e){return(0,r.request)({url:"/api/reviewerSet/set",method:"post",data:e})},t.insertUserPermissions=function(e){return(0,r.request)({url:"/file/userPermissions",method:"post",data:e})},t.putUserPermissions=function(e){return(0,r.request)({url:"/file/userPermissions",method:"put",data:e})},t.updateDir=function(e){return(0,r.request)({url:"/file/dir",method:"put",data:e})},t.updateOrganizationDir=function(e){return(0,r.request)({url:"/file/fileNodeOrganization",method:"put",data:e})},t.updateProjectDir=function(e){return(0,r.request)({url:"/file/fileNodeProject",method:"put",data:e})},t.updateProjectPermission=function(e){return(0,r.request)({url:"/file/permissions",method:"put",data:e})},t.updateSetApprove=function(e){return(0,r.request)({url:"/api/reviewerSet/set",method:"put",data:e})},t.uploadBase64=function(e){return(0,r.request)({url:"/file/filenode/base64",method:"post",data:e})},t.validationOrganizationPermission=function(e,t){return(0,r.request)({url:"/file/fileNodeOrganization/".concat(e,"/").concat(t),method:"get"})},t.validationProjectPermission=function(e,t){return(0,r.request)({url:"/file/permissions/validation/".concat(e,"/").concat(t),method:"get"})};var r=n("8cf7")},df3c:function(e,t,n){"use strict";(function(e,r){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=kt,t.createComponent=Gt,t.createPage=Ht,t.createPlugin=Qt,t.createSubpackageApp=jt,t.default=void 0;var o,a=i(n("34cf")),s=i(n("7ca3")),c=i(n("931d")),u=i(n("af34")),l=i(n("3b2d")),f=n("d3b4"),d=i(n("3240"));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,s.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",g=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function v(){var t,n=e.getStorageSync("uni_id_token")||"",r=n.split(".");if(!n||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse(function(e){return decodeURIComponent(o(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(r[1]))}catch(i){throw new Error("获取当前用户信息出错,详细错误信息为:"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}o="function"!==typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!g.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,r,i="",o=0;o<e.length;)t=y.indexOf(e.charAt(o++))<<18|y.indexOf(e.charAt(o++))<<12|(n=y.indexOf(e.charAt(o++)))<<6|(r=y.indexOf(e.charAt(o++))),i+=64===n?String.fromCharCode(t>>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var m=Object.prototype.toString,b=Object.prototype.hasOwnProperty;function S(e){return"function"===typeof e}function x(e){return"string"===typeof e}function _(e){return"[object Object]"===m.call(e)}function C(e,t){return b.call(e,t)}function L(){}function P(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var T=/-(\w)/g,w=P((function(e){return e.replace(T,(function(e,t){return t?t.toUpperCase():""}))}));function Y(e){var t={};return _(e)&&Object.keys(e).sort().forEach((function(n){t[n]=e[n]})),Object.keys(t)?t:e}var A=["invoke","success","fail","complete","returnValue"],O={},D={};function M(e,t){Object.keys(t).forEach((function(n){-1!==A.indexOf(n)&&S(t[n])&&(e[n]=function(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}function Z(e,t){e&&t&&Object.keys(t).forEach((function(n){-1!==A.indexOf(n)&&S(t[n])&&function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}(e[n],t[n])}))}function k(e,t){return function(n){return e(n,t)||n}}function E(e){return!!e&&("object"===(0,l.default)(e)||"function"===typeof e)&&"function"===typeof e.then}function R(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];if(r)r=Promise.resolve(k(o,n));else{var a=o(t,n);if(E(a)&&(r=Promise.resolve(a)),!1===a)return{then:function(){}}}}return r||{then:function(e){return e(t)}}}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var r=t[n];t[n]=function(i){R(e[n],i,t).then((function(e){return S(r)&&r(e)||e}))}}})),t}function X(e,t){var n=[];Array.isArray(O.returnValue)&&n.push.apply(n,(0,u.default)(O.returnValue));var r=D[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,(0,u.default)(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function I(e){var t=Object.create(null);Object.keys(O).forEach((function(e){"returnValue"!==e&&(t[e]=O[e].slice())}));var n=D[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function J(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=I(e);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=R(a.invoke,n);return s.then((function(n){return t.apply(void 0,[N(I(e),n)].concat(i))}))}return t.apply(void 0,[N(a,n)].concat(i))}return t.apply(void 0,[n].concat(i))}var F={returnValue:function(e){return E(e)?new Promise((function(t,n){e.then((function(e){e?e[0]?n(e[0]):t(e[1]):t(e)}))})):e}},B=/^\$|__f__|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|rpx2px|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/,H=/^create|Manager$/,G=["createBLEConnection"],j=["createBLEConnection","createPushMessage"],Q=/^on|^off/;function W(e){return H.test(e)&&-1===G.indexOf(e)}function U(e){return B.test(e)&&-1===j.indexOf(e)}function K(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function $(e){return!(W(e)||U(e)||function(e){return Q.test(e)&&"onPush"!==e}(e))}function z(e,t){return $(e)&&S(t)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return S(n.success)||S(n.fail)||S(n.complete)?X(e,J.apply(void 0,[e,t,n].concat(i))):X(e,K(new Promise((function(r,o){J.apply(void 0,[e,t,Object.assign({},n,{success:r,fail:o})].concat(i))}))))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))});var q=!1,V=0,ee=0;function te(t,n){if(0===V&&function(){var t,n,r,i="function"===typeof e.getWindowInfo&&e.getWindowInfo()?e.getWindowInfo():e.getSystemInfoSync(),o="function"===typeof e.getDeviceInfo&&e.getDeviceInfo()?e.getDeviceInfo():e.getSystemInfoSync();t=i.windowWidth,n=i.pixelRatio,r=o.platform,V=t,ee=n,q="ios"===r}(),t=Number(t),0===t)return 0;var r=t/750*(n||V);return r<0&&(r=-r),r=Math.floor(r+1e-4),0===r&&(r=1!==ee&&q?.5:1),t<0?-r:r}var ne,re={};function ie(){var t,n="function"===typeof e.getAppBaseInfo&&e.getAppBaseInfo()?e.getAppBaseInfo():e.getSystemInfoSync(),r=n&&n.language?n.language:"en";return t=se(r)||"en",t}ne=ie(),function(){if(function(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}()){var e=Object.keys(__uniConfig.locales);e.length&&e.forEach((function(e){var t=re[e],n=__uniConfig.locales[e];t?Object.assign(t,n):re[e]=n}))}}();var oe=(0,f.initVueI18n)(ne,{}),ae=oe.t;oe.mixin={beforeCreate:function(){var e=this,t=oe.i18n.watchLocale((function(){e.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){t()}))},methods:{$$t:function(e,t){return ae(e,t)}}},oe.setLocale,oe.getLocale;function se(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return n||void 0}}function ce(){if(S(getApp)){var e=getApp({allowDefault:!0});if(e&&e.$vm)return e.$vm.$locale}return ie()}var ue=[];"undefined"!==typeof r&&(r.getLocale=ce);var le={promiseInterceptor:F},fe=Object.freeze({__proto__:null,upx2px:te,rpx2px:te,getLocale:ce,setLocale:function(e){var t=!!S(getApp)&&getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,ue.forEach((function(t){return t({locale:e})})),!0)},onLocaleChange:function(e){-1===ue.indexOf(e)&&ue.push(e)},addInterceptor:function(e,t){"string"===typeof e&&_(t)?M(D[e]||(D[e]={}),t):_(e)&&M(O,e)},removeInterceptor:function(e,t){"string"===typeof e?_(t)?Z(D[e],t):delete D[e]:_(e)&&Z(O,e)},interceptors:le});var de,pe={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),n=t.length;while(n--){var r=t[n];if(r.$page&&r.$page.fullPath===e)return n}return-1}(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},he={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var n=e.urls;if(Array.isArray(n)){var r=n.length;if(r)return t<0?t=0:t>=r&&(t=r-1),t>0?(e.current=n[t],e.urls=n.filter((function(e,r){return!(r<t)||e!==n[t]}))):e.current=n[0],{indicator:!1,loop:!1}}}}};function ye(t){de=de||e.getStorageSync("__DC_STAT_UUID"),de||(de=Date.now()+""+Math.floor(1e7*Math.random()),e.setStorage({key:"__DC_STAT_UUID",data:de})),t.deviceId=de}function ge(e){if(e.safeArea){var t=e.safeArea;e.safeAreaInsets={top:t.top,left:t.left,right:e.windowWidth-t.right,bottom:e.screenHeight-t.bottom}}}function ve(e,t){var n="",r="";switch(n=e.split(" ")[0]||t,r=e.split(" ")[1]||"",n=n.toLocaleLowerCase(),n){case"harmony":case"ohos":case"openharmony":n="harmonyos";break;case"iphone os":n="ios";break;case"mac":case"darwin":n="macos";break;case"windows_nt":n="windows";break}return{osName:n,osVersion:r}}function me(e,t){for(var n=e.deviceType||"phone",r={ipad:"pad",windows:"pc",mac:"pc"},i=Object.keys(r),o=t.toLocaleLowerCase(),a=0;a<i.length;a++){var s=i[a];if(-1!==o.indexOf(s)){n=r[s];break}}return n}function be(e){var t=e;return t&&(t=e.toLocaleLowerCase()),t}function Se(e){return ce?ce():e}function xe(e){var t=e.hostName||"WeChat";return e.environment?t=e.environment:e.host&&e.host.env&&(t=e.host.env),t}var _e={returnValue:function(e){ye(e),ge(e),function(e){var t=e.brand,n=void 0===t?"":t,r=e.model,i=void 0===r?"":r,o=e.system,a=void 0===o?"":o,s=e.language,c=void 0===s?"":s,u=e.theme,l=e.version,f=e.platform,d=e.fontSizeSetting,p=e.SDKVersion,h=e.pixelRatio,y=e.deviceOrientation,g=ve(a,f),v=g.osName,m=g.osVersion,b=l,S=me(e,i),x=be(n),_=xe(e),C=y,L=h,P=p,T=(c||"").replace(/_/g,"-"),w={appId:"__UNI__FECBE11",appName:"yui_wx",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Se(T),uniCompileVersion:"4.65",uniCompilerVersion:"4.65",uniRuntimeVersion:"4.65",uniPlatform:"mp-weixin",deviceBrand:x,deviceModel:i,deviceType:S,devicePixelRatio:L,deviceOrientation:C,osName:v.toLocaleLowerCase(),osVersion:m,hostTheme:u,hostVersion:b,hostLanguage:T,hostName:_,hostSDKVersion:P,hostFontSizeSetting:d,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0,isUniAppX:!1};Object.assign(e,w,{})}(e)}},Ce={args:function(e){"object"===(0,l.default)(e)&&(e.alertText=e.title)}},Le={returnValue:function(e){var t=e,n=t.version,r=t.language,i=t.SDKVersion,o=t.theme,a=xe(e),s=(r||"").replace("_","-");e=Y(Object.assign(e,{appId:"__UNI__FECBE11",appName:"yui_wx",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Se(s),hostVersion:n,hostLanguage:s,hostName:a,hostSDKVersion:i,hostTheme:o,isUniAppX:!1,uniPlatform:"mp-weixin",uniCompileVersion:"4.65",uniCompilerVersion:"4.65",uniRuntimeVersion:"4.65"}))}},Pe={returnValue:function(e){var t=e,n=t.brand,r=t.model,i=t.system,o=void 0===i?"":i,a=t.platform,s=void 0===a?"":a,c=me(e,r),u=be(n);ye(e);var l=ve(o,s),f=l.osName,d=l.osVersion;e=Y(Object.assign(e,{deviceType:c,deviceBrand:u,deviceModel:r,osName:f,osVersion:d}))}},Te={returnValue:function(e){ge(e),e=Y(Object.assign(e,{windowTop:0,windowBottom:0}))}},we={redirectTo:pe,previewImage:he,getSystemInfo:_e,getSystemInfoSync:_e,showActionSheet:Ce,getAppBaseInfo:Le,getDeviceInfo:Pe,getWindowInfo:Te,getAppAuthorizeSetting:{returnValue:function(e){var t=e.locationReducedAccuracy;e.locationAccuracy="unsupported",!0===t?e.locationAccuracy="reduced":!1===t&&(e.locationAccuracy="full")}},compressImage:{args:function(e){e.compressedHeight&&!e.compressHeight&&(e.compressHeight=e.compressedHeight),e.compressedWidth&&!e.compressWidth&&(e.compressWidth=e.compressedWidth)}}},Ye=["success","fail","cancel","complete"];function Ae(e,t,n){return function(r){return t(De(e,r,n))}}function Oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(_(t)){var o=!0===i?t:{};for(var a in S(n)&&(n=n(t,o)||{}),t)if(C(n,a)){var s=n[a];S(s)&&(s=s(t[a],t,o)),s?x(s)?o[s]=t[a]:_(s)&&(o[s.name?s.name:a]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==Ye.indexOf(a)?S(t[a])&&(o[a]=Ae(e,t[a],r)):i||(o[a]=t[a]);return o}return S(t)&&(t=Ae(e,t,r)),t}function De(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return S(we.returnValue)&&(t=we.returnValue(e,t)),Oe(e,t,n,{},r)}function Me(t,n){if(C(we,t)){var r=we[t];return r?function(n,i){var o=r;S(r)&&(o=r(n)),n=Oe(t,n,o.args,o.returnValue);var a=[n];"undefined"!==typeof i&&a.push(i),S(o.name)?t=o.name(n):x(o.name)&&(t=o.name);var s=e[t].apply(e,a);return U(t)?De(t,s,o.returnValue,W(t)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return n}var Ze=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){Ze[e]=function(e){return function(t){var n=t.fail,r=t.complete,i={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};S(n)&&n(i),S(r)&&r(i)}}(e)}));var ke={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var Ee=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,n=e.success,r=e.fail,i=e.complete,o=!1;ke[t]?(o={errMsg:"getProvider:ok",service:t,provider:ke[t]},S(n)&&n(o)):(o={errMsg:"getProvider:fail service not found"},S(r)&&r(o)),S(i)&&i(o)}}),Re=function(){var e;return function(){return e||(e=new d.default),e}}();function Ne(e,t,n){return e[t].apply(e,n)}var Xe,Ie,Je,Fe=Object.freeze({__proto__:null,$on:function(){return Ne(Re(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Ne(Re(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Ne(Re(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Ne(Re(),"$emit",Array.prototype.slice.call(arguments))}});function Be(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function He(e){try{return JSON.parse(e)}catch(t){}return e}var Ge=[];function je(e,t){Ge.forEach((function(n){n(e,t)})),Ge.length=0}var Qe=[];var We=e.getAppBaseInfo&&e.getAppBaseInfo();We||(We=e.getSystemInfoSync());var Ue=We?We.host:null,Ke=Ue&&"SAAASDK"===Ue.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,$e=Object.freeze({__proto__:null,shareVideoMessage:Ke,getPushClientId:function(e){_(e)||(e={});var t=function(e){var t={};for(var n in e){var r=e[n];S(r)&&(t[n]=Be(r),delete e[n])}return t}(e),n=t.success,r=t.fail,i=t.complete,o=S(n),a=S(r),s=S(i);Promise.resolve().then((function(){"undefined"===typeof Je&&(Je=!1,Xe="",Ie="uniPush is not enabled"),Ge.push((function(e,t){var c;e?(c={errMsg:"getPushClientId:ok",cid:e},o&&n(c)):(c={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&r(c)),s&&i(c)})),"undefined"!==typeof Xe&&je(Xe,Ie)}))},onPushMessage:function(e){-1===Qe.indexOf(e)&&Qe.push(e)},offPushMessage:function(e){if(e){var t=Qe.indexOf(e);t>-1&&Qe.splice(t,1)}else Qe.length=0},invokePushCallback:function(e){if("enabled"===e.type)Je=!0;else if("clientId"===e.type)Xe=e.cid,Ie=e.errMsg,je(Xe,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:He(e.message)},n=0;n<Qe.length;n++){var r=Qe[n];if(r(t),t.stopped)break}else"click"===e.type&&Qe.forEach((function(t){t({type:"click",data:He(e.message)})}))},__f__:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console[e].apply(console,n)}}),ze=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function qe(e){return Behavior(e)}function Ve(){return!!this.route}function et(e){this.triggerEvent("__l",e)}function tt(e){var t=e.$scope,n={};Object.defineProperty(e,"$refs",{get:function(){var e={};(function e(t,n,r){var i=t.selectAllComponents(n)||[];i.forEach((function(t){var i=t.dataset.ref;r[i]=t.$vm||it(t),"scoped"===t.dataset.vueGeneric&&t.selectAllComponents(".scoped-ref").forEach((function(t){e(t,n,r)}))}))})(t,".vue-ref",e);var r=t.selectAllComponents(".vue-ref-in-for")||[];return r.forEach((function(t){var n=t.dataset.ref;e[n]||(e[n]=[]),e[n].push(t.$vm||it(t))})),function(e,t){var n=(0,c.default)(Set,(0,u.default)(Object.keys(e))),r=Object.keys(t);return r.forEach((function(r){var i=e[r],o=t[r];Array.isArray(i)&&Array.isArray(o)&&i.length===o.length&&o.every((function(e){return i.includes(e)}))||(e[r]=o,n.delete(r))})),n.forEach((function(t){delete e[t]})),e}(n,e)}})}function nt(e){var t,n=e.detail||e.value,r=n.vuePid,i=n.vueOptions;r&&(t=function e(t,n){for(var r,i=t.$children,o=i.length-1;o>=0;o--){var a=i[o];if(a.$scope._$vueId===n)return a}for(var s=i.length-1;s>=0;s--)if(r=e(i[s],n),r)return r}(this.$vm,r)),t||(t=this.$vm),i.parent=t}function rt(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function it(e){return function(e){return null!==e&&"object"===(0,l.default)(e)}(e)&&Object.isExtensible(e)&&Object.defineProperty(e,"__ob__",{configurable:!0,enumerable:!1,value:(0,s.default)({},"__v_skip",!0)}),e}var ot=/_(.*)_worklet_factory_/;var at=Page,st=Component,ct=/:/g,ut=P((function(e){return w(e.replace(ct,"-"))}));function lt(e){var t=e.triggerEvent,n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(this.$vm||this.dataset&&this.dataset.comType)e=ut(e);else{var o=ut(e);o!==e&&t.apply(this,[o].concat(r))}return t.apply(this,[e].concat(r))};try{e.triggerEvent=n}catch(r){e._triggerEvent=n}}function ft(e,t,n){var r=t[e];t[e]=function(){if(rt(this),lt(this),r){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(this,t)}}}at.__$wrappered||(at.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ft("onLoad",e),at(e)},Page.after=at.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ft("created",e),st(e)});function dt(e,t,n){t.forEach((function(t){(function e(t,n){if(!n)return!0;if(d.default.options&&Array.isArray(d.default.options[t]))return!0;if(n=n.default||n,S(n))return!!S(n.extendOptions[t])||!!(n.super&&n.super.options&&Array.isArray(n.super.options[t]));if(S(n[t])||Array.isArray(n[t]))return!0;var r=n.mixins;return Array.isArray(r)?!!r.find((function(n){return e(t,n)})):void 0})(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function pt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];ht(t).forEach((function(t){return yt(e,t,n)}))}function ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(n){0===n.indexOf("on")&&S(e[n])&&t.push(n)})),t}function yt(e,t,n){-1!==n.indexOf(t)||C(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function gt(e,t){var n;return t=t.default||t,n=S(t)?t:e.extend(t),t=n.options,[n,t]}function vt(e,t){if(Array.isArray(t)&&t.length){var n=Object.create(null);t.forEach((function(e){n[e]=!0})),e.$scopedSlots=e.$slots=n}}function mt(e,t){e=(e||"").split(",");var n=e.length;1===n?t._$vueId=e[0]:2===n&&(t._$vueId=e[0],t._$vuePid=e[1])}function bt(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(i){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"yui_wx",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(i){}return _(n)||(n={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||C(n,e)||(n[e]=r[e])})),n}var St=[String,Number,Boolean,Object,Array,null];function xt(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function _t(e,t){var n=e.behaviors,r=e.extends,i=e.mixins,o=e.props;o||(e.props=o=[]);var a=[];return Array.isArray(n)&&n.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(o)?(o.push("name"),o.push("value")):(o.name={type:String,default:""},o.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),_(r)&&r.props&&a.push(t({properties:Lt(r.props,!0)})),Array.isArray(i)&&i.forEach((function(e){_(e)&&e.props&&a.push(t({properties:Lt(e.props,!0)}))})),a}function Ct(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function Lt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>3?arguments[3]:void 0,r={};return t||(r.vueId={type:String,value:""},n.virtualHost&&(r.virtualHostStyle={type:null,value:""},r.virtualHostClass={type:null,value:""}),r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(e,t){var n=Object.create(null);e.forEach((function(e){n[e]=!0})),this.setData({$slots:n})}}),Array.isArray(e)?e.forEach((function(e){r[e]={type:null,observer:xt(e)}})):_(e)&&Object.keys(e).forEach((function(t){var n=e[t];if(_(n)){var i=n.default;S(i)&&(i=i()),n.type=Ct(0,n.type),r[t]={type:-1!==St.indexOf(n.type)?n.type:null,value:i,observer:xt(t)}}else{var o=Ct(0,n);r[t]={type:-1!==St.indexOf(o)?o:null,observer:xt(t)}}})),r}function Pt(e,t,n,r){var i={};return Array.isArray(t)&&t.length&&t.forEach((function(t,o){"string"===typeof t?t?"$event"===t?i["$"+o]=n:"arguments"===t?i["$"+o]=n.detail&&n.detail.__args__||r:0===t.indexOf("$event.")?i["$"+o]=e.__get_value(t.replace("$event.",""),n):i["$"+o]=e.__get_value(t):i["$"+o]=e:i["$"+o]=function(e,t){var n=e;return t.forEach((function(t){var r=t[0],i=t[2];if(r||"undefined"!==typeof i){var o,a=t[1],s=t[3];Number.isInteger(r)?o=r:r?"string"===typeof r&&r&&(o=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,n)):o=n,Number.isInteger(o)?n=i:a?Array.isArray(o)?n=o.find((function(t){return e.__get_value(a,t)===i})):_(o)?n=Object.keys(o).find((function(t){return e.__get_value(a,o[t])===i})):console.error("v-for 暂不支持循环数据:",o):n=o[i],s&&(n=e.__get_value(s,n))}})),n}(e,t)})),i}function Tt(e){for(var t={},n=1;n<e.length;n++){var r=e[n];t[r[0]]=r[1]}return t}function wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=!1,s=_(t.detail)&&t.detail.__args__||[t.detail];if(i&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return a?[t]:s;var c=Pt(e,r,t,s),u=[];return n.forEach((function(e){"$event"===e?"__set_model"!==o||i?i&&!a?u.push(s[0]):u.push(t):u.push(t.target.value):Array.isArray(e)&&"o"===e[0]?u.push(Tt(e)):"string"===typeof e&&C(c,e)?u.push(c[e]):u.push(e)})),u}function Yt(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=L,e.preventDefault=L,e.target=e.target||{},C(e,"detail")||(e.detail={}),C(e,"markerId")&&(e.detail="object"===(0,l.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),_(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var n=(e.currentTarget||e.target).dataset;if(!n)return console.warn("事件信息不存在");var r=n.eventOpts||n["event-opts"];if(!r)return console.warn("事件信息不存在");var i=e.type,o=[];return r.forEach((function(n){var r=n[0],a=n[1],s="^"===r.charAt(0);r=s?r.slice(1):r;var c="~"===r.charAt(0);r=c?r.slice(1):r,a&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(i,r)&&a.forEach((function(n){var r=n[0];if(r){var i=t.$vm;if(i.$options.generic&&(i=function(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}(i)||i),"$emit"===r)return void i.$emit.apply(i,wt(t.$vm,e,n[1],n[2],s,r));var a=i[r];if(!S(a)){var u="page"===t.$vm.mpType?"Page":"Component",l=t.route||t.is;throw new Error("".concat(u,' "').concat(l,'" does not have a method "').concat(r,'"'))}if(c){if(a.once)return;a.once=!0}var f=wt(t.$vm,e,n[1],n[2],s,r);f=Array.isArray(f)?f:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(f=f.concat([,,,,,,,,,,e])),o.push(a.apply(i,f))}}))})),"input"===i&&1===o.length&&"undefined"!==typeof o[0]?o[0]:void 0}var At={};var Ot=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function Dt(){d.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=d.default.prototype.__call_hook;d.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=function(e){var t=At[e];return delete At[e],t}(n.__id__),delete n.__id__),e.call(this,t,n)}}function Mt(t,n){var r=n.mocks,i=n.initRefs;Dt(),function(){var e={},t={};function n(e){var t=this.$options.propsData.vueId;if(t){var n=t.split(",")[0];e(n)}}d.default.prototype.$hasSSP=function(n){var r=e[n];return r||(t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))),r},d.default.prototype.$getSSP=function(t,n,r){var i=e[t];if(i){var o=i[n]||[];return r?o:o[0]}},d.default.prototype.$setSSP=function(t,r){var i=0;return n.call(this,(function(n){var o=e[n],a=o[t]=o[t]||[];a.push(r),i=a.length-1})),i},d.default.prototype.$initSSP=function(){n.call(this,(function(t){e[t]={}}))},d.default.prototype.$callSSP=function(){n.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},d.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete e[r],delete t[r])}})}(),t.$options.store&&(d.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=v(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=v(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=v(),t=e.tokenExpired;return t>Date.now()}}(d.default),d.default.prototype.mpHost="mp-weixin",d.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,s.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(i(this),function(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){C(n,t)&&(e[t]=n[t])}))}(this,r))}}});var o={onLaunch:function(n){this.$vm||(e.canIUse&&!e.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",n),this.$vm.__call_hook("onLaunch",n))}};o.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(e){o[e]=a[e]})),function(e,t,n){var r=e.observable({locale:n||oe.getLocale()}),i=[];t.$watchLocale=function(e){i.push(e)},Object.defineProperty(t,"$locale",{get:function(){return r.locale},set:function(e){r.locale=e,i.forEach((function(t){return t(e)}))}})}(d.default,t,function(){var t,n=e.getAppBaseInfo(),r=n&&n.language?n.language:"en";return t=se(r)||"en",t}()),dt(o,Ot),pt(o,t.$options),o}function Zt(e){return Mt(e,{mocks:ze,initRefs:tt})}function kt(e){return App(Zt(e)),e}var Et=/[!'()*]/g,Rt=function(e){return"%"+e.charCodeAt(0).toString(16)},Nt=/%2C/g,Xt=function(e){return encodeURIComponent(e).replace(Et,Rt).replace(Nt,",")};function It(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xt,n=e?Object.keys(e).map((function(n){var r=e[n];if(void 0===r)return"";if(null===r)return t(n);if(Array.isArray(r)){var i=[];return r.forEach((function(e){void 0!==e&&(null===e?i.push(t(n)):i.push(t(n)+"="+t(e)))})),i.join("&")}return t(n)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function Jt(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,r=t.initRelation,i=arguments.length>2?arguments[2]:void 0,o=gt(d.default,e),s=(0,a.default)(o,2),c=s[0],u=s[1],l=h({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(l,u["mp-weixin"].options);var f={options:l,data:bt(u,d.default.prototype),behaviors:_t(u,qe),properties:Lt(u.props,!1,u.__file,l),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};mt(e.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new c(t),vt(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:nt,__e:Yt}};return u.externalClasses&&(f.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(e){f.methods[e]=function(t){return this.$vm[e](t)}})),i?[f,u,c]:n?f:[f,c]}(e,{isPage:Ve,initRelation:et},t)}var Ft=["onShow","onHide","onUnload"];function Bt(e){var t=Jt(e,!0),n=(0,a.default)(t,2),r=n[0],i=n[1];return dt(r.methods,Ft,i),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+It(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},pt(r.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(n){var r=n.match(ot);if(r){var i=r[1];e[n]=t[n],e[i]=t[i]}}))}(r.methods,i.methods),r}function Ht(e){return Component(function(e){return Bt(e)}(e))}function Gt(e){return Component(Jt(e))}function jt(t){var n=Zt(t),r=getApp({allowDefault:!0});t.$scope=r;var i=r.globalData;if(i&&Object.keys(n.globalData).forEach((function(e){C(i,e)||(i[e]=n.globalData[e])})),Object.keys(n).forEach((function(e){C(r,e)||(r[e]=n[e])})),S(n.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onShow",n)})),S(n.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onHide",n)})),S(n.onLaunch)){var o=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",o)}return t}function Qt(t){var n=Zt(t);if(S(n.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onShow",n)})),S(n.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onHide",n)})),S(n.onLaunch)){var r=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",r)}return t}Ft.push.apply(Ft,["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"]),["vibrate","preloadPage","unPreloadPage","loadSubPackage"].forEach((function(e){we[e]=!1})),[].forEach((function(t){var n=we[t]&&we[t].name?we[t].name:t;e.canIUse(n)||(we[t]=!1)}));var Wt={};"undefined"!==typeof Proxy?Wt=new Proxy({},{get:function(t,n){return C(t,n)?t[n]:fe[n]?fe[n]:$e[n]?z(n,$e[n]):Ee[n]?z(n,Ee[n]):Ze[n]?z(n,Ze[n]):Fe[n]?Fe[n]:z(n,Me(n,e[n]))},set:function(e,t,n){return e[t]=n,!0}}):(Object.keys(fe).forEach((function(e){Wt[e]=fe[e]})),Object.keys(Ze).forEach((function(e){Wt[e]=z(e,Ze[e])})),Object.keys(Ee).forEach((function(e){Wt[e]=z(e,Ee[e])})),Object.keys(Fe).forEach((function(e){Wt[e]=Fe[e]})),Object.keys($e).forEach((function(e){Wt[e]=z(e,$e[e])})),Object.keys(e).forEach((function(t){(C(e,t)||C(we,t))&&(Wt[t]=z(t,Me(t,e[t])))}))),e.createApp=kt,e.createPage=Ht,e.createComponent=Gt,e.createSubpackageApp=jt,e.createPlugin=Qt;var Ut=Wt,Kt=Ut;t.default=Kt}).call(this,n("3223")["default"],n("0ee4"))},dfbb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{openType:String},emits:["getphonenumber","getuserinfo","error","opensetting","launchapp","contact","chooseavatar","addgroupapp","chooseaddress","subscribe","login","im"],methods:{onGetPhoneNumber:function(e){this.$emit("getphonenumber",e.detail)},onGetUserInfo:function(e){this.$emit("getuserinfo",e.detail)},onError:function(e){this.$emit("error",e.detail)},onOpenSetting:function(e){this.$emit("opensetting",e.detail)},onLaunchApp:function(e){this.$emit("launchapp",e.detail)},onContact:function(e){this.$emit("contact",e.detail)},onChooseavatar:function(e){this.$emit("chooseavatar",e.detail)},onAgreeprivacyauthorization:function(e){this.$emit("agreeprivacyauthorization",e.detail)},onAddgroupapp:function(e){this.$emit("addgroupapp",e.detail)},onChooseaddress:function(e){this.$emit("chooseaddress",e.detail)},onSubscribe:function(e){this.$emit("subscribe",e.detail)},onLogin:function(e){this.$emit("login",e.detail)},onIm:function(e){this.$emit("im",e.detail)}}};t.default=r},e2fd:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({value:{type:[String,Number],default:""},modelValue:{type:[String,Number],default:""},show:{type:Boolean,default:!1},showToolbar:{type:Boolean,default:!0},title:{type:String,default:""},mode:{type:String,default:"datetime"},maxDate:{type:Number,default:new Date((new Date).getFullYear()+10,0,1).getTime()},minDate:{type:Number,default:new Date((new Date).getFullYear()-10,0,1).getTime()},minHour:{type:Number,default:0},maxHour:{type:Number,default:23},minMinute:{type:Number,default:0},maxMinute:{type:Number,default:59},filter:{type:[Function,null],default:null},formatter:{type:[Function,null],default:null},loading:{type:Boolean,default:!1},itemHeight:{type:[String,Number],default:44},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"},cancelColor:{type:String,default:"#909193"},confirmColor:{type:String,default:"#3c9cff"},visibleItemCount:{type:[String,Number],default:5},closeOnClickOverlay:{type:Boolean,default:!0},closeOnClickConfirm:{type:Boolean,default:!0},clearDate:{type:Boolean,default:!1},round:{type:[String,Number],default:0}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.datetimePicker)};t.default=c}).call(this,n("df3c")["default"])},e4b2:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("8cf7"),o=r(n("893d")),a=n("6806"),s=[{id:2,name:"审核消息",dataType:[{id:1,title:"资产登记",content:"的资产登记流程"},{id:2,title:"资产变更",content:"的资产变更流程"},{id:3,title:"资产折旧",content:"的资产折旧流程"},{id:4,title:"资产盘点",content:"的资产盘点流程"},{id:5,title:"设备管理",content:"的设备管理流程"}]},{id:3,name:"巡查消息",dataType:[{id:1,title:"巡查记录",content:"的巡查记录"}]},{id:4,name:"工单消息",dataType:[{id:1,title:"工单记录",content:"的工单记录"}]},{id:5,name:"数据中心",dataType:[{id:1,title:"项目中心",content:"文件夹",type:"access"},{id:2,title:"项目中心",content:"文件夹",type:"create"},{id:3,title:"项目中心",content:"文件夹",type:"delete"},{id:4,title:"项目中心",content:"文件夹",type:"edit"},{id:5,title:"项目中心",content:"文件",type:"fileDelete"},{id:6,title:"项目中心",content:"文件",type:"fileDownload"},{id:7,title:"项目中心",content:"文件",type:"fileUpload"},,{id:8,title:"项目中心",content:"文件",type:"fileView"},{id:9,title:"企业中心",content:"文件夹",type:"access"},{id:10,title:"企业中心",content:"文件夹",type:"create"},{id:11,title:"企业中心",content:"文件夹",type:"delete"},{id:12,title:"企业中心",content:"文件夹",type:"edit"},{id:13,title:"企业中心",content:"文件",type:"fileDelete"},{id:14,title:"企业中心",content:"文件",type:"fileDownload"},{id:15,title:"企业中心",content:"文件",type:"fileUpload"},,{id:16,title:"企业中心",content:"文件",type:"fileView"}]},{id:6,name:"项目邀请"}],c={send:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss"),r={projectId:o.default.getters.project.id,organizationId:o.default.getters.organization.id,date:n};t["time"]=n,r=Object.assign(r,e);var s={sender:o.default.getters.user.userId,messageType:t.messageType,message:this.messageContent(t),json:JSON.stringify(r),viewed:0};return(0,i.request)({url:"/manager/message/".concat(t.userIds),method:"post",data:s})},viewed:function(e,t){if(e)return(0,i.request)({url:"/manager/message/".concat(e),method:"put"}).then((function(e){e.state&&t&&t()}))},sendFlowMessage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss"),r={projectId:o.default.getters.project.id,organizationId:o.default.getters.organization.id,date:n,dataId:t.dataId,dataType:t.dataType},s=this.data(e,t);r=Object.assign(r,s.data);var c={sender:o.default.getters.user.userId,messageType:t.messageType,message:s.message,json:JSON.stringify(r),viewed:0,isCC:t.isCC};return(0,i.request)({url:"/manager/message/".concat(t.receiver),method:"post",data:c})},messageContent:function(e){var t="";return 6===e.messageType&&(t="【项目邀请】".concat(o.default.getters.user.name,"在").concat((0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss"),"邀请加入<").concat(o.default.getters.project.name,">项目,请及时处理。")),t},data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r="",i=s.filter((function(e){return e.id===t.messageType}))[0].dataType.filter((function(e){return e.id===t.dataType}))[0];e.projectItemName&&(r+=e.projectItemName,n["projectItemId"]=e.projectItemId),e.projectItemTargetName&&(r+="-"+e.projectItemTargetName,n["projectItemTargetId"]=e.projectItemTargetId);var c="【".concat(i.title,"】").concat(o.default.getters.user.name,"在").concat((0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss")).concat(t.operation).concat(r).concat(i.content);return 1===t.isCC&&(c+=",并抄送给你"),{message:c,data:n}},messageType:s};t.default=c},e6db:function(e,t,n){var r=n("3b2d")["default"];e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},e9bc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContractDetailById=function(e){return(0,r.request)({url:"/api/contract/".concat(e),method:"get"})},t.getContractList=function(e){return(0,r.request)({url:"/api/contract/list",method:"post",data:e})},t.getContractListByPage=function(e){return(0,r.request)({url:"/api/contract/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.getPaymentListByPage=function(e){return(0,r.request)({url:"/api/payment/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.insertDocumentData=function(e){return(0,r.request)({url:"/file/elementdata/",method:"post",data:e})},t.insertPaymentInvoice=function(e){return(0,r.request)({url:"/api/payment/invoice",method:"post",data:e})},t.insertPaymentRecord=function(e){return(0,r.request)({url:"/api/payment/record",method:"post",data:e})},t.putPaymentStatus=function(e,t){return(0,r.request)({url:"/api/payment/updateStatus/".concat(e,"/").concat(t),method:"put"})},t.uploadImageBase64=function(e){return(0,r.request)({url:"/file/filenode/base64",method:"post",data:{base64:e}})};var r=n("8cf7")},ea9b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOrderDetailById=function(e){return(0,r.request)({url:"/api/workOrder/".concat(e),method:"get"})},t.getOrderPageListByQuery=function(e){return(0,r.request)({url:"/api/workOrder/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.insertOrderProcess=function(e){return(0,r.request)({url:"/api/workOrder/process",method:"post",data:e})},t.putOrderProcess=function(e){return(0,r.request)({url:"/api/workOrder/process/update",method:"put",data:e})},t.updateOrder=function(e){return(0,r.request)({url:"/api/workOrder/update",method:"put",data:e})};var r=n("8cf7")},ed45:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},ed46:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={baseUrl:"https://www.waywish.com",socketURL:"wss://www.waywish.com/im/im"}},ee10:function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,c,"next",e)}function c(e){n(a,i,o,s,c,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},ee2f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("62ff"),i=n("188d"),o={computed:{value:function(){var e=this.text,t=this.mode,n=this.format,o=this.href;return"price"===t?(/^\d+(\.\d+)?$/.test(e)||(0,i.error)("金额模式下,text参数需要为金额格式"),(0,r.func)(n)?n(e):(0,i.priceFormat)(e,2)):"date"===t?(!(0,r.date)(e)&&(0,i.error)("日期模式下,text参数需要为日期或时间戳格式"),(0,r.func)(n)?n(e):n?(0,i.timeFormat)(e,n):(0,i.timeFormat)(e,"yyyy-mm-dd")):"phone"===t?(0,r.func)(n)?n(e):"encrypt"===n?"".concat(e.substr(0,3),"****").concat(e.substr(7)):e:"name"===t?("string"!==typeof e&&(0,i.error)("姓名模式下,text参数需要为字符串格式"),(0,r.func)(n)?n(e):"encrypt"===n?this.formatName(e):e):"link"===t?(!(0,r.url)(o)&&(0,i.error)("超链接模式下,href参数需要为URL格式"),e):e}},methods:{formatName:function(e){var t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){for(var n="",r=0,i=e.length-2;r<i;r++)n+="*";t=e.substr(0,1)+n+e.substr(-1,1)}else t=e;return t}}};t.default=o},ee87:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=null;var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==r&&clearTimeout(r),n){var i=!r;r=setTimeout((function(){r=null}),t),i&&"function"===typeof e&&e()}else r=setTimeout((function(){"function"===typeof e&&e()}),t)};t.default=i},f00d:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n?r||(r=!0,"function"===typeof e&&e(),setTimeout((function(){r=!1}),t)):r||(r=!0,setTimeout((function(){r=!1,"function"===typeof e&&e()}),t))};t.default=i},f206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}};t.default=r},f289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("4266");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},f475:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o,a=r(n("7ca3"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c={props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hairline:{type:Boolean,default:!0},type:{type:String,default:"info"},size:{type:String,default:"normal"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingText:{type:[String,Number],default:""},loadingMode:{type:String,default:"spinner"},loadingSize:{type:[String,Number],default:14},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!0},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!0},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:0},hoverStartTime:{type:[String,Number],default:0},hoverStayTime:{type:[String,Number],default:200},text:{type:[String,Number],default:""},icon:{type:String,default:""},iconSize:{type:[String,Number],default:""},iconColor:{type:String,default:"#000000"},color:{type:String,default:""},customTextStyle:{type:[Object,String],default:""}},null===(i=e.$uv)||void 0===i||null===(o=i.props)||void 0===o?void 0:o.button)};t.default=c}).call(this,n("df3c")["default"])},f808:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=r(n("3b2d"));function o(e,t){var n=this;n.version="1.3.7",n.options=e||{},n.isScrollBody=t||!1,n.isDownScrolling=!1,n.isUpScrolling=!1;var r=n.options.down&&n.options.down.callback;n.initDownScroll(),n.initUpScroll(),setTimeout((function(){(n.optDown.use||n.optDown.native)&&n.optDown.auto&&r&&(n.optDown.autoShowLoading?n.triggerDownScroll():n.optDown.callback&&n.optDown.callback(n)),n.isUpAutoLoad||setTimeout((function(){n.optUp.use&&n.optUp.auto&&!n.isUpAutoLoad&&n.triggerUpScroll()}),100)}),30)}o.prototype.extendDownScroll=function(e){o.extend(e,{use:!0,auto:!0,native:!1,autoShowLoading:!1,isLock:!1,offset:80,startTop:100,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",textSuccess:"加载成功",textErr:"加载失败",beforeEndDelay:0,bgColor:"transparent",textColor:"gray",inited:null,inOffset:null,outOffset:null,onMoving:null,beforeLoading:null,showLoading:null,afterLoading:null,beforeEndDownScroll:null,endDownScroll:null,afterEndDownScroll:null,callback:function(e){e.resetUpScroll()}})},o.prototype.extendUpScroll=function(e){o.extend(e,{use:!0,auto:!0,isLock:!1,isBoth:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:150,textLoading:"加载中 ...",textNoMore:"-- END --",bgColor:"transparent",textColor:"gray",inited:null,showLoading:null,showNoMore:null,hideUpScroll:null,errDistance:60,toTop:{src:null,offset:1e3,duration:300,btnClick:null,onShow:null,zIndex:9990,left:null,right:20,bottom:120,safearea:!1,width:72,radius:"50%"},empty:{use:!0,icon:null,tip:"~ 暂无相关数据 ~",btnText:"",btnClick:null,onShow:null,fixed:!1,top:"100rpx",zIndex:99},onScroll:!1})},o.extend=function(e,t){if(!e)return t;for(var n in t)if(null==e[n]){var r=t[n];null!=r&&"object"===(0,i.default)(r)?e[n]=o.extend({},r):e[n]=r}else"object"===(0,i.default)(e[n])&&o.extend(e[n],t[n]);return e},o.prototype.hasColor=function(e){if(!e)return!1;var t=e.toLowerCase();return"#fff"!=t&&"#ffffff"!=t&&"transparent"!=t&&"white"!=t},o.prototype.initDownScroll=function(){var e=this;e.optDown=e.options.down||{},!e.optDown.textColor&&e.hasColor(e.optDown.bgColor)&&(e.optDown.textColor="#fff"),e.extendDownScroll(e.optDown),e.isScrollBody&&e.optDown.native?e.optDown.use=!1:e.optDown.native=!1,e.downHight=0,e.optDown.use&&e.optDown.inited&&setTimeout((function(){e.optDown.inited(e)}),0)},o.prototype.touchstartEvent=function(e){this.optDown.use&&(this.startPoint=this.getPoint(e),this.startTop=this.getScrollTop(),this.startAngle=0,this.lastPoint=this.startPoint,this.maxTouchmoveY=this.getBodyHeight()-this.optDown.bottomOffset,this.inTouchend=!1)},o.prototype.touchmoveEvent=function(e){if(this.optDown.use){var t=this,n=t.getScrollTop(),r=t.getPoint(e),i=r.y-t.startPoint.y;if(i>0&&(t.isScrollBody&&n<=0||!t.isScrollBody&&(n<=0||n<=t.optDown.startTop&&n===t.startTop))&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth)){if(t.startAngle||(t.startAngle=t.getAngle(t.lastPoint,r)),t.startAngle<t.optDown.minAngle)return;if(t.maxTouchmoveY>0&&r.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();t.preventDefault(e);var o=r.y-t.lastPoint.y;t.downHight<t.optDown.offset?(1!==t.movetype&&(t.movetype=1,t.isDownEndSuccess=null,t.optDown.inOffset&&t.optDown.inOffset(t),t.isMoveDown=!0),t.downHight+=o*t.optDown.inOffsetRate):(2!==t.movetype&&(t.movetype=2,t.optDown.outOffset&&t.optDown.outOffset(t),t.isMoveDown=!0),t.downHight+=o>0?o*t.optDown.outOffsetRate:o),t.downHight=Math.round(t.downHight);var a=t.downHight/t.optDown.offset;t.optDown.onMoving&&t.optDown.onMoving(t,a,t.downHight)}t.lastPoint=r}},o.prototype.touchendEvent=function(e){if(this.optDown.use)if(this.isMoveDown)this.downHight>=this.optDown.offset?this.triggerDownScroll():(this.downHight=0,this.endDownScrollCall(this)),this.movetype=0,this.isMoveDown=!1;else if(!this.isScrollBody&&this.getScrollTop()===this.startTop){var t=this.getPoint(e).y-this.startPoint.y<0;if(t){var n=this.getAngle(this.getPoint(e),this.startPoint);n>80&&this.triggerUpScroll(!0)}}},o.prototype.getPoint=function(e){return e?e.touches&&e.touches[0]?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches[0]?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.clientX,y:e.clientY}:{x:0,y:0}},o.prototype.getAngle=function(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y),i=Math.sqrt(n*n+r*r),o=0;return 0!==i&&(o=Math.asin(r/i)/Math.PI*180),o},o.prototype.triggerDownScroll=function(){this.optDown.beforeLoading&&this.optDown.beforeLoading(this)||(this.showDownScroll(),!this.optDown.native&&this.optDown.callback&&this.optDown.callback(this))},o.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.native?(e.startPullDownRefresh(),this.showDownLoadingCall(0)):(this.downHight=this.optDown.offset,this.showDownLoadingCall(this.downHight))},o.prototype.showDownLoadingCall=function(e){this.optDown.showLoading&&this.optDown.showLoading(this,e),this.optDown.afterLoading&&this.optDown.afterLoading(this,e)},o.prototype.onPullDownRefresh=function(){this.isDownScrolling=!0,this.showDownLoadingCall(0),this.optDown.callback&&this.optDown.callback(this)},o.prototype.endDownScroll=function(){if(this.optDown.native)return this.isDownScrolling=!1,this.endDownScrollCall(this),void e.stopPullDownRefresh();var t=this,n=function(){t.downHight=0,t.isDownScrolling=!1,t.endDownScrollCall(t),t.isScrollBody||(t.setScrollHeight(0),t.scrollTo(0,0))},r=0;t.optDown.beforeEndDownScroll&&(r=t.optDown.beforeEndDownScroll(t),null==t.isDownEndSuccess&&(r=0)),"number"===typeof r&&r>0?setTimeout(n,r):n()},o.prototype.endDownScrollCall=function(){this.optDown.endDownScroll&&this.optDown.endDownScroll(this),this.optDown.afterEndDownScroll&&this.optDown.afterEndDownScroll(this)},o.prototype.lockDownScroll=function(e){null==e&&(e=!0),this.optDown.isLock=e},o.prototype.lockUpScroll=function(e){null==e&&(e=!0),this.optUp.isLock=e},o.prototype.initUpScroll=function(){var e=this;e.optUp=e.options.up||{use:!1},!e.optUp.textColor&&e.hasColor(e.optUp.bgColor)&&(e.optUp.textColor="#fff"),e.extendUpScroll(e.optUp),!1!==e.optUp.use&&(e.optUp.hasNext=!0,e.startNum=e.optUp.page.num+1,e.optUp.inited&&setTimeout((function(){e.optUp.inited(e)}),0))},o.prototype.onReachBottom=function(){this.isScrollBody&&!this.isUpScrolling&&!this.optUp.isLock&&this.optUp.hasNext&&this.triggerUpScroll()},o.prototype.onPageScroll=function(e){this.isScrollBody&&(this.setScrollTop(e.scrollTop),e.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn())},o.prototype.scroll=function(e,t){this.setScrollTop(e.scrollTop),this.setScrollHeight(e.scrollHeight),null==this.preScrollY&&(this.preScrollY=0),this.isScrollUp=e.scrollTop-this.preScrollY>0,this.preScrollY=e.scrollTop,this.isScrollUp&&this.triggerUpScroll(!0),e.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn(),this.optUp.onScroll&&t&&t()},o.prototype.triggerUpScroll=function(e){if(!this.isUpScrolling&&this.optUp.use&&this.optUp.callback){if(!0===e){var t=!1;if(!this.optUp.hasNext||this.optUp.isLock||this.isDownScrolling||this.getScrollBottom()<=this.optUp.offset&&(t=!0),!1===t)return}this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.num=this.optUp.page.num,this.size=this.optUp.page.size,this.time=this.optUp.page.time,this.optUp.callback(this)}},o.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.optUp.showLoading&&this.optUp.showLoading(this)},o.prototype.showNoMore=function(){this.optUp.hasNext=!1,this.optUp.showNoMore&&this.optUp.showNoMore(this)},o.prototype.hideUpScroll=function(){this.optUp.hideUpScroll&&this.optUp.hideUpScroll(this)},o.prototype.endUpScroll=function(e){null!=e&&(e?this.showNoMore():this.hideUpScroll()),this.isUpScrolling=!1},o.prototype.resetUpScroll=function(e){if(this.optUp&&this.optUp.use){var t=this.optUp.page;this.prePageNum=t.num,this.prePageTime=t.time,t.num=this.startNum,t.time=null,this.isDownScrolling||!1===e||(null==e?(this.removeEmpty(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.num=t.num,this.size=t.size,this.time=t.time,this.optUp.callback&&this.optUp.callback(this)}},o.prototype.setPageNum=function(e){this.optUp.page.num=e-1},o.prototype.setPageSize=function(e){this.optUp.page.size=e},o.prototype.endByPage=function(e,t,n){var r;this.optUp.use&&null!=t&&(r=this.optUp.page.num<t),this.endSuccess(e,r,n)},o.prototype.endBySize=function(e,t,n){var r;if(this.optUp.use&&null!=t){var i=(this.optUp.page.num-1)*this.optUp.page.size+e;r=i<t}this.endSuccess(e,r,n)},o.prototype.endSuccess=function(e,t,n){var r=this;if(r.isDownScrolling&&(r.isDownEndSuccess=!0,r.endDownScroll()),r.optUp.use){var i;if(null!=e){var o=r.optUp.page.num,a=r.optUp.page.size;if(1===o&&n&&(r.optUp.page.time=n),e<a||!1===t)if(r.optUp.hasNext=!1,0===e&&1===o)i=!1,r.showEmpty();else{var s=(o-1)*a+e;i=!(s<r.optUp.noMoreSize),r.removeEmpty()}else i=!1,r.optUp.hasNext=!0,r.removeEmpty()}r.endUpScroll(i)}},o.prototype.endErr=function(e){if(this.isDownScrolling){this.isDownEndSuccess=!1;var t=this.optUp.page;t&&this.prePageNum&&(t.num=this.prePageNum,t.time=this.prePageTime),this.endDownScroll()}this.isUpScrolling&&(this.optUp.page.num--,this.endUpScroll(!1),this.isScrollBody&&0!==e&&(e||(e=this.optUp.errDistance),this.scrollTo(this.getScrollTop()-e,0)))},o.prototype.showEmpty=function(){this.optUp.empty.use&&this.optUp.empty.onShow&&this.optUp.empty.onShow(!0)},o.prototype.removeEmpty=function(){this.optUp.empty.use&&this.optUp.empty.onShow&&this.optUp.empty.onShow(!1)},o.prototype.showTopBtn=function(){this.topBtnShow||(this.topBtnShow=!0,this.optUp.toTop.onShow&&this.optUp.toTop.onShow(!0))},o.prototype.hideTopBtn=function(){this.topBtnShow&&(this.topBtnShow=!1,this.optUp.toTop.onShow&&this.optUp.toTop.onShow(!1))},o.prototype.getScrollTop=function(){return this.scrollTop||0},o.prototype.setScrollTop=function(e){this.scrollTop=e},o.prototype.scrollTo=function(e,t){this.myScrollTo&&this.myScrollTo(e,t)},o.prototype.resetScrollTo=function(e){this.myScrollTo=e},o.prototype.getScrollBottom=function(){return this.getScrollHeight()-this.getClientHeight()-this.getScrollTop()},o.prototype.getStep=function(e,t,n,r,i){var o=t-e;if(0!==r&&0!==o){r=r||300,i=i||30;var a=r/i,s=o/a,c=0,u=setInterval((function(){c<a-1?(e+=s,n&&n(e,u),c++):(n&&n(t,u),clearInterval(u))}),i)}else n&&n(t)},o.prototype.getClientHeight=function(e){var t=this.clientHeight||0;return 0===t&&!0!==e&&(t=this.getBodyHeight()),t},o.prototype.setClientHeight=function(e){this.clientHeight=e},o.prototype.getScrollHeight=function(){return this.scrollHeight||0},o.prototype.setScrollHeight=function(e){this.scrollHeight=e},o.prototype.getBodyHeight=function(){return this.bodyHeight||0},o.prototype.setBodyHeight=function(e){this.bodyHeight=e},o.prototype.preventDefault=function(e){e&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()}}).call(this,n("df3c")["default"])},fa26:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=function(e,t,n){return Math.max(t,Math.min(n,e))}}}]);
|