1234567891011121314151617 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{1: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__"],o=["lanDebug","router","worklet"],i="undefined"!==typeof globalThis?globalThis:function(){return this}(),a=["w","x"].join(""),s=i[a],c=s.getLaunchOptionsSync?s.getLaunchOptionsSync():null;function u(e){return(!c||1154!==c.scene||!o.includes(e))&&(r.indexOf(e)>-1||"function"===typeof s[e])}function l(){var e={};for(var t in s)u(t)&&(e[t]=s[t]);return e}i[a]=l();var f=i[a];t.default=f},10:function(e,t){function n(){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=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},11:function(e,t,n){var r=n(12);function o(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=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindProject=d,t.getAgentDetailById=f,t.getCustomerDetailById=c,t.getMessageDetailById=s,t.getMessageList=i,t.getMessageTest=o,t.setMessageViewed=a,t.updateAgent=l,t.updateCustomer=u;var r=n(45);function o(e){return(0,r.request)({url:"/manager/message/countUnread/messageType/".concat(e),method:"get"})}function i(e,t){return(0,r.request)({url:"/manager/message/messageType/".concat(e,"/").concat(t),method:"get"})}function a(e){return(0,r.request)({url:"/manager/message/".concat(e),method:"put"})}function s(e){return(0,r.request)({url:"/manager/message/get/".concat(e),method:"get"})}function c(e){return(0,r.request)({url:"/manager/client/".concat(e),method:"get"})}function u(e){return(0,r.request)({url:"/manager/client/update",method:"put",data:e})}function l(e){return(0,r.request)({url:"/manager/agent/update",method:"put",data:e})}function f(e){return(0,r.request)({url:"/manager/agent/".concat(e),method:"get"})}function d(e){return(0,r.request)({url:"/manager/bindProject",method:"post",data:e})}},12:function(e,t,n){var r=n(13)["default"],o=n(14);function i(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[{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:"自治区直辖县级行政区划"}];t.default=r},13: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},14:function(e,t,n){var r=n(13)["default"];function o(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},15:function(e,t,n){var r=n(16),o=n(17);function i(e,t,n){if(o())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&r(a,n.prototype),a}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},16: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},168:function(e,t,n){var r=n(169)();e.exports=r},169:function(e,t,n){var r=n(13)["default"];function o(){"use strict";
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},i=Object.prototype,a=i.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 o=t&&t.prototype instanceof S?t:S,i=Object.create(o.prototype),a=new O(r||[]);return s(i,"_invoke",{value:w(e,n,a)}),i}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",v="suspendedYield",g="executing",m="completed",b={};function S(){}function x(){}function C(){}var _={};d(_,u,(function(){return this}));var L=Object.getPrototypeOf,P=L&&L(L(X([])));P&&P!==i&&a.call(P,u)&&(_=P);var Y=C.prototype=S.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(o,i,s,c){var u=h(e[o],e,i);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 o;s(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function w(e,n,r){var o=y;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var c=Z(s,r);if(c){if(c===b)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===y)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var u=h(e,n,r);if("normal"===u.type){if(o=r.done?m:v,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=m,r.method="throw",r.arg=u.arg)}}}function Z(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,Z(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.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,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function D(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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function X(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 o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return x.prototype=C,s(Y,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:x,configurable:!0}),x.displayName=d(C,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,d(e,f,"GeneratorFunction")),e.prototype=Object.create(Y),e},n.awrap=function(e){return{__await:e}},T(M.prototype),d(M.prototype,l,(function(){return this})),n.AsyncIterator=M,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new M(p(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(Y),d(Y,f,"Generator"),d(Y,u,(function(){return this})),d(Y,"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=X,O.prototype={constructor:O,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(A),!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,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.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 o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},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),b},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),A(n),b}},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 o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:X(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},17: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},170:function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},18:function(e,t,n){var r=n(19),o=n(20),i=n(8),a=n(21);function s(e){return r(e)||o(e)||i(e)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},19:function(e,t,n){var r=n(9);function o(e){if(Array.isArray(e))return r(e)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},2:function(e,t,n){"use strict";(function(e,r){var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=En,t.createComponent=Un,t.createPage=$n,t.createPlugin=zn,t.createSubpackageApp=Kn,t.default=void 0;var i,a=o(n(5)),s=o(n(11)),c=o(n(15)),u=o(n(18)),l=o(n(13)),f=n(22),d=o(n(25));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+/=",v=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function g(e){return decodeURIComponent(i(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function m(){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(g(r[1]))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}function b(e){e.prototype.uniIDHasRole=function(e){var t=m(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=m(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=m(),t=e.tokenExpired;return t>Date.now()}}i="function"!==typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!v.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,o="",i=0;i<e.length;)t=y.indexOf(e.charAt(i++))<<18|y.indexOf(e.charAt(i++))<<12|(n=y.indexOf(e.charAt(i++)))<<6|(r=y.indexOf(e.charAt(i++))),o+=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 o}:atob;var S=Object.prototype.toString,x=Object.prototype.hasOwnProperty;function C(e){return"function"===typeof e}function _(e){return"string"===typeof e}function L(e){return null!==e&&"object"===(0,l.default)(e)}function P(e){return"[object Object]"===S.call(e)}function Y(e,t){return x.call(e,t)}function T(){}function M(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var w=/-(\w)/g,Z=M((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))}));function D(e){var t={};return P(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={},X={};function R(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?N(n):n}function N(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function E(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}function J(e,t){Object.keys(t).forEach((function(n){-1!==A.indexOf(n)&&C(t[n])&&(e[n]=R(e[n],t[n]))}))}function H(e,t){e&&t&&Object.keys(t).forEach((function(n){-1!==A.indexOf(n)&&C(t[n])&&E(e[n],t[n])}))}function B(e,t){"string"===typeof e&&P(t)?J(X[e]||(X[e]={}),t):P(e)&&J(O,e)}function k(e,t){"string"===typeof e?P(t)?H(X[e],t):delete X[e]:P(e)&&H(O,e)}function F(e,t){return function(n){return e(n,t)||n}}function I(e){return!!e&&("object"===(0,l.default)(e)||"function"===typeof e)&&"function"===typeof e.then}function G(e,t,n){for(var r=!1,o=0;o<e.length;o++){var i=e[o];if(r)r=Promise.resolve(F(i,n));else{var a=i(t,n);if(I(a)&&(r=Promise.resolve(a)),!1===a)return{then:function(){}}}}return r||{then:function(e){return e(t)}}}function Q(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(o){G(e[n],o,t).then((function(e){return C(r)&&r(e)||e}))}}})),t}function j(e,t){var n=[];Array.isArray(O.returnValue)&&n.push.apply(n,(0,u.default)(O.returnValue));var r=X[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 W(e){var t=Object.create(null);Object.keys(O).forEach((function(e){"returnValue"!==e&&(t[e]=O[e].slice())}));var n=X[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function $(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];var a=W(e);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=G(a.invoke,n);return s.then((function(n){return t.apply(void 0,[Q(W(e),n)].concat(o))}))}return t.apply(void 0,[Q(a,n)].concat(o))}return t.apply(void 0,[n].concat(o))}var U={returnValue:function(e){return I(e)?new Promise((function(t,n){e.then((function(e){e[0]?n(e[0]):t(e[1])}))})):e}},K=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/,z=/^create|Manager$/,V=["createBLEConnection"],q=["createBLEConnection","createPushMessage"],ee=/^on|^off/;function te(e){return z.test(e)&&-1===V.indexOf(e)}function ne(e){return K.test(e)&&-1===q.indexOf(e)}function re(e){return ee.test(e)&&"onPush"!==e}function oe(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function ie(e){return!(te(e)||ne(e)||re(e))}function ae(e,t){return ie(e)&&C(t)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return C(n.success)||C(n.fail)||C(n.complete)?j(e,$.apply(void 0,[e,t,n].concat(o))):j(e,oe(new Promise((function(r,i){$.apply(void 0,[e,t,Object.assign({},n,{success:r,fail:i})].concat(o))}))))}: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 se=1e-4,ce=750,ue=!1,le=0,fe=0;function de(){var t=e.getSystemInfoSync(),n=t.platform,r=t.pixelRatio,o=t.windowWidth;le=o,fe=r,ue="ios"===n}function pe(e,t){if(0===le&&de(),e=Number(e),0===e)return 0;var n=e/ce*(t||le);return n<0&&(n=-n),n=Math.floor(n+se),0===n&&(n=1!==fe&&ue?.5:1),e<0?-n:n}var he,ye="zh-Hans",ve="zh-Hant",ge="en",me="fr",be="es",Se={};function xe(){if(Pe()){var e=Object.keys(__uniConfig.locales);e.length&&e.forEach((function(e){var t=Se[e],n=__uniConfig.locales[e];t?Object.assign(t,n):Se[e]=n}))}}he=Me(e.getSystemInfoSync().language)||ge,xe();var Ce=(0,f.initVueI18n)(he,{}),_e=Ce.t;Ce.mixin={beforeCreate:function(){var e=this,t=Ce.i18n.watchLocale((function(){e.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){t()}))},methods:{$$t:function(e,t){return _e(e,t)}}},Ce.setLocale,Ce.getLocale;function Le(e,t,n){var r=e.observable({locale:n||Ce.getLocale()}),o=[];t.$watchLocale=function(e){o.push(e)},Object.defineProperty(t,"$locale",{get:function(){return r.locale},set:function(e){r.locale=e,o.forEach((function(t){return t(e)}))}})}function Pe(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}function Ye(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}function Te(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}function Me(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return ye;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?ye:e.indexOf("-hant")>-1||Ye(e,["-tw","-hk","-mo","-cht"])?ve:ye;var n=Te(e,[ge,me,be]);return n||void 0}}function we(){if(C(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return Me(e.getSystemInfoSync().language)||ge}function Ze(e){var t=!!C(getApp)&&getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,De.forEach((function(t){return t({locale:e})})),!0)}var De=[];function Ae(e){-1===De.indexOf(e)&&De.push(e)}"undefined"!==typeof r&&(r.getLocale=we);var Oe={promiseInterceptor:U},Xe=Object.freeze({__proto__:null,upx2px:pe,getLocale:we,setLocale:Ze,onLocaleChange:Ae,addInterceptor:B,removeInterceptor:k,interceptors:Oe});function Re(e){var t=getCurrentPages(),n=t.length;while(n--){var r=t[n];if(r.$page&&r.$page.fullPath===e)return n}return-1}var Ne,Ee={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=Re(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},Je={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}}}}},He="__DC_STAT_UUID";function Be(t){Ne=Ne||e.getStorageSync(He),Ne||(Ne=Date.now()+""+Math.floor(1e7*Math.random()),e.setStorage({key:He,data:Ne})),t.deviceId=Ne}function ke(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 Fe(e){var t=e.brand,n=void 0===t?"":t,r=e.model,o=void 0===r?"":r,i=e.system,a=void 0===i?"":i,s=e.language,c=void 0===s?"":s,u=e.theme,l=e.version,f=(e.platform,e.fontSizeSetting),d=e.SDKVersion,p=e.pixelRatio,h=e.deviceOrientation,y={},v="",g="";v=a.split(" ")[0]||"",g=a.split(" ")[1]||"";var m=l,b=Ie(e,o),S=Ge(n),x=je(e),C=h,_=p,L=d,P=c.replace(/_/g,"-"),Y={appId:"__UNI__FECBE11",appName:"yui_wx",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Qe(P),uniCompileVersion:"4.29",uniRuntimeVersion:"4.29",uniPlatform:"mp-weixin",deviceBrand:S,deviceModel:o,deviceType:b,devicePixelRatio:_,deviceOrientation:C,osName:v.toLocaleLowerCase(),osVersion:g,hostTheme:u,hostVersion:m,hostLanguage:P,hostName:x,hostSDKVersion:L,hostFontSizeSetting:f,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0};Object.assign(e,Y,y)}function Ie(e,t){for(var n=e.deviceType||"phone",r={ipad:"pad",windows:"pc",mac:"pc"},o=Object.keys(r),i=t.toLocaleLowerCase(),a=0;a<o.length;a++){var s=o[a];if(-1!==i.indexOf(s)){n=r[s];break}}return n}function Ge(e){var t=e;return t&&(t=e.toLocaleLowerCase()),t}function Qe(e){return we?we():e}function je(e){var t="WeChat",n=e.hostName||t;return e.environment?n=e.environment:e.host&&e.host.env&&(n=e.host.env),n}var We={returnValue:function(e){Be(e),ke(e),Fe(e)}},$e={args:function(e){"object"===(0,l.default)(e)&&(e.alertText=e.title)}},Ue={returnValue:function(e){var t=e,n=t.version,r=t.language,o=t.SDKVersion,i=t.theme,a=je(e),s=r.replace("_","-");e=D(Object.assign(e,{appId:"__UNI__FECBE11",appName:"yui_wx",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Qe(s),hostVersion:n,hostLanguage:s,hostName:a,hostSDKVersion:o,hostTheme:i}))}},Ke={returnValue:function(e){var t=e,n=t.brand,r=t.model,o=Ie(e,r),i=Ge(n);Be(e),e=D(Object.assign(e,{deviceType:o,deviceBrand:i,deviceModel:r}))}},ze={returnValue:function(e){ke(e),e=D(Object.assign(e,{windowTop:0,windowBottom:0}))}},Ve={returnValue:function(e){var t=e.locationReducedAccuracy;e.locationAccuracy="unsupported",!0===t?e.locationAccuracy="reduced":!1===t&&(e.locationAccuracy="full")}},qe={args:function(e){e.compressedHeight&&!e.compressHeight&&(e.compressHeight=e.compressedHeight),e.compressedWidth&&!e.compressWidth&&(e.compressWidth=e.compressedWidth)}},et={redirectTo:Ee,previewImage:Je,getSystemInfo:We,getSystemInfoSync:We,showActionSheet:$e,getAppBaseInfo:Ue,getDeviceInfo:Ke,getWindowInfo:ze,getAppAuthorizeSetting:Ve,compressImage:qe},tt=["vibrate","preloadPage","unPreloadPage","loadSubPackage"],nt=[],rt=["success","fail","cancel","complete"];function ot(e,t,n){return function(r){return t(at(e,r,n))}}function it(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(P(t)){var i=!0===o?t:{};for(var a in C(n)&&(n=n(t,i)||{}),t)if(Y(n,a)){var s=n[a];C(s)&&(s=s(t[a],t,i)),s?_(s)?i[s]=t[a]:P(s)&&(i[s.name?s.name:a]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==rt.indexOf(a)?C(t[a])&&(i[a]=ot(e,t[a],r)):o||(i[a]=t[a]);return i}return C(t)&&(t=ot(e,t,r)),t}function at(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return C(et.returnValue)&&(t=et.returnValue(e,t)),it(e,t,n,{},r)}function st(t,n){if(Y(et,t)){var r=et[t];return r?function(n,o){var i=r;C(r)&&(i=r(n)),n=it(t,n,i.args,i.returnValue);var a=[n];"undefined"!==typeof o&&a.push(o),C(i.name)?t=i.name(n):_(i.name)&&(t=i.name);var s=e[t].apply(e,a);return ne(t)?at(t,s,i.returnValue,te(t)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return n}var ct=Object.create(null),ut=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function lt(e){return function(t){var n=t.fail,r=t.complete,o={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};C(n)&&n(o),C(r)&&r(o)}}ut.forEach((function(e){ct[e]=lt(e)}));var ft={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function dt(e){var t=e.service,n=e.success,r=e.fail,o=e.complete,i=!1;ft[t]?(i={errMsg:"getProvider:ok",service:t,provider:ft[t]},C(n)&&n(i)):(i={errMsg:"getProvider:fail service not found"},C(r)&&r(i)),C(o)&&o(i)}var pt=Object.freeze({__proto__:null,getProvider:dt}),ht=function(){var e;return function(){return e||(e=new d.default),e}}();function yt(e,t,n){return e[t].apply(e,n)}function vt(){return yt(ht(),"$on",Array.prototype.slice.call(arguments))}function gt(){return yt(ht(),"$off",Array.prototype.slice.call(arguments))}function mt(){return yt(ht(),"$once",Array.prototype.slice.call(arguments))}function bt(){return yt(ht(),"$emit",Array.prototype.slice.call(arguments))}var St,xt,Ct,_t=Object.freeze({__proto__:null,$on:vt,$off:gt,$once:mt,$emit:bt});function Lt(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Pt(e){var t={};for(var n in e){var r=e[n];C(r)&&(t[n]=Lt(r),delete e[n])}return t}function Yt(e){try{return JSON.parse(e)}catch(t){}return e}function Tt(e){if("enabled"===e.type)Ct=!0;else if("clientId"===e.type)St=e.cid,xt=e.errMsg,wt(St,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Yt(e.message)},n=0;n<Dt.length;n++){var r=Dt[n];if(r(t),t.stopped)break}else"click"===e.type&&Dt.forEach((function(t){t({type:"click",data:Yt(e.message)})}))}var Mt=[];function wt(e,t){Mt.forEach((function(n){n(e,t)})),Mt.length=0}function Zt(e){P(e)||(e={});var t=Pt(e),n=t.success,r=t.fail,o=t.complete,i=C(n),a=C(r),s=C(o);Promise.resolve().then((function(){"undefined"===typeof Ct&&(Ct=!1,St="",xt="uniPush is not enabled"),Mt.push((function(e,t){var c;e?(c={errMsg:"getPushClientId:ok",cid:e},i&&n(c)):(c={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&r(c)),s&&o(c)})),"undefined"!==typeof St&&wt(St,xt)}))}var Dt=[],At=function(e){-1===Dt.indexOf(e)&&Dt.push(e)},Ot=function(e){if(e){var t=Dt.indexOf(e);t>-1&&Dt.splice(t,1)}else Dt.length=0},Xt=e.getAppBaseInfo&&e.getAppBaseInfo();Xt||(Xt=e.getSystemInfoSync());var Rt=Xt?Xt.host:null,Nt=Rt&&"SAAASDK"===Rt.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,Et=Object.freeze({__proto__:null,shareVideoMessage:Nt,getPushClientId:Zt,onPushMessage:At,offPushMessage:Ot,invokePushCallback:Tt}),Jt=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Ht(e,t){for(var n,r=e.$children,o=r.length-1;o>=0;o--){var i=r[o];if(i.$scope._$vueId===t)return i}for(var a=r.length-1;a>=0;a--)if(n=Ht(r[a],t),n)return n}function Bt(e){return Behavior(e)}function kt(){return!!this.route}function Ft(e){this.triggerEvent("__l",e)}function It(e,t,n){var r=e.selectAllComponents(t)||[];r.forEach((function(e){var r=e.dataset.ref;n[r]=e.$vm||$t(e),"scoped"===e.dataset.vueGeneric&&e.selectAllComponents(".scoped-ref").forEach((function(e){It(e,t,n)}))}))}function Gt(e,t){var n=(0,c.default)(Set,(0,u.default)(Object.keys(e))),r=Object.keys(t);return r.forEach((function(r){var o=e[r],i=t[r];Array.isArray(o)&&Array.isArray(i)&&o.length===i.length&&i.every((function(e){return o.includes(e)}))||(e[r]=i,n.delete(r))})),n.forEach((function(t){delete e[t]})),e}function Qt(e){var t=e.$scope,n={};Object.defineProperty(e,"$refs",{get:function(){var e={};It(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||$t(t))})),Gt(n,e)}})}function jt(e){var t,n=e.detail||e.value,r=n.vuePid,o=n.vueOptions;r&&(t=Ht(this.$vm,r)),t||(t=this.$vm),o.parent=t}function Wt(e){var t="__v_isMPComponent";return Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:!0}),e}function $t(e){var t="__ob__",n="__v_skip";return L(e)&&Object.isExtensible(e)&&Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:(0,s.default)({},n,!0)}),e}var Ut=/_(.*)_worklet_factory_/;function Kt(e,t){t&&Object.keys(t).forEach((function(n){var r=n.match(Ut);if(r){var o=r[1];e[n]=t[n],e[o]=t[o]}}))}var zt=Page,Vt=Component,qt=/:/g,en=M((function(e){return Z(e.replace(qt,"-"))}));function tn(e){var t=e.triggerEvent,n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(this.$vm||this.dataset&&this.dataset.comType)e=en(e);else{var i=en(e);i!==e&&t.apply(this,[i].concat(r))}return t.apply(this,[e].concat(r))};try{e.triggerEvent=n}catch(r){e._triggerEvent=n}}function nn(e,t,n){var r=t[e];t[e]=function(){if(Wt(this),tn(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)}}}zt.__$wrappered||(zt.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return nn("onLoad",e),zt(e)},Page.after=zt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return nn("created",e),Vt(e)});var rn=["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function on(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){Y(n,t)&&(e[t]=n[t])}))}function an(e,t){if(!t)return!0;if(d.default.options&&Array.isArray(d.default.options[e]))return!0;if(t=t.default||t,C(t))return!!C(t.extendOptions[e])||!!(t.super&&t.super.options&&Array.isArray(t.super.options[e]));if(C(t[e])||Array.isArray(t[e]))return!0;var n=t.mixins;return Array.isArray(n)?!!n.find((function(t){return an(e,t)})):void 0}function sn(e,t,n){t.forEach((function(t){an(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function cn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];un(t).forEach((function(t){return ln(e,t,n)}))}function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(n){0===n.indexOf("on")&&C(e[n])&&t.push(n)})),t}function ln(e,t,n){-1!==n.indexOf(t)||Y(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function fn(e,t){var n;return t=t.default||t,n=C(t)?t:e.extend(t),t=n.options,[n,t]}function dn(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 pn(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 hn(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(o){Object({NODE_ENV:"development",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(o){}return P(n)||(n={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||Y(n,e)||(n[e]=r[e])})),n}var yn=[String,Number,Boolean,Object,Array,null];function vn(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function gn(e,t){var n=e.behaviors,r=e.extends,o=e.mixins,i=e.props;i||(e.props=i=[]);var a=[];return Array.isArray(n)&&n.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(i)?(i.push("name"),i.push("value")):(i.name={type:String,default:""},i.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),P(r)&&r.props&&a.push(t({properties:bn(r.props,!0)})),Array.isArray(o)&&o.forEach((function(e){P(e)&&e.props&&a.push(t({properties:bn(e.props,!0)}))})),a}function mn(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function bn(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:vn(e)}})):P(e)&&Object.keys(e).forEach((function(t){var n=e[t];if(P(n)){var o=n.default;C(o)&&(o=o()),n.type=mn(t,n.type),r[t]={type:-1!==yn.indexOf(n.type)?n.type:null,value:o,observer:vn(t)}}else{var i=mn(t,n);r[t]={type:-1!==yn.indexOf(i)?i:null,observer:vn(t)}}})),r}function Sn(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=T,e.preventDefault=T,e.target=e.target||{},Y(e,"detail")||(e.detail={}),Y(e,"markerId")&&(e.detail="object"===(0,l.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),P(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}function xn(e,t){var n=e;return t.forEach((function(t){var r=t[0],o=t[2];if(r||"undefined"!==typeof o){var i,a=t[1],s=t[3];Number.isInteger(r)?i=r:r?"string"===typeof r&&r&&(i=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,n)):i=n,Number.isInteger(i)?n=o:a?Array.isArray(i)?n=i.find((function(t){return e.__get_value(a,t)===o})):P(i)?n=Object.keys(i).find((function(t){return e.__get_value(a,i[t])===o})):console.error("v-for 暂不支持循环数据:",i):n=i[o],s&&(n=e.__get_value(s,n))}})),n}function Cn(e,t,n,r){var o={};return Array.isArray(t)&&t.length&&t.forEach((function(t,i){"string"===typeof t?t?"$event"===t?o["$"+i]=n:"arguments"===t?o["$"+i]=n.detail&&n.detail.__args__||r:0===t.indexOf("$event.")?o["$"+i]=e.__get_value(t.replace("$event.",""),n):o["$"+i]=e.__get_value(t):o["$"+i]=e:o["$"+i]=xn(e,t)})),o}function _n(e){for(var t={},n=1;n<e.length;n++){var r=e[n];t[r[0]]=r[1]}return t}function Ln(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=!1,s=P(t.detail)&&t.detail.__args__||[t.detail];if(o&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return a?[t]:s;var c=Cn(e,r,t,s),u=[];return n.forEach((function(e){"$event"===e?"__set_model"!==i||o?o&&!a?u.push(s[0]):u.push(t):u.push(t.target.value):Array.isArray(e)&&"o"===e[0]?u.push(_n(e)):"string"===typeof e&&Y(c,e)?u.push(c[e]):u.push(e)})),u}var Pn="~",Yn="^";function Tn(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}function Mn(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}function wn(e){var t=this;e=Sn(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 o=e.type,i=[];return r.forEach((function(n){var r=n[0],a=n[1],s=r.charAt(0)===Yn;r=s?r.slice(1):r;var c=r.charAt(0)===Pn;r=c?r.slice(1):r,a&&Tn(o,r)&&a.forEach((function(n){var r=n[0];if(r){var o=t.$vm;if(o.$options.generic&&(o=Mn(o)||o),"$emit"===r)return void o.$emit.apply(o,Ln(t.$vm,e,n[1],n[2],s,r));var a=o[r];if(!C(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=Ln(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])),i.push(a.apply(o,f))}}))})),"input"===o&&1===i.length&&"undefined"!==typeof i[0]?i[0]:void 0}var Zn={};function Dn(e){var t=Zn[e];return delete Zn[e],t}var An=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function On(){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__=Dn(n.__id__),delete n.__id__),e.call(this,t,n)}}function Xn(){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 o=e[t];if(o){var i=o[n]||[];return r?i:i[0]}},d.default.prototype.$setSSP=function(t,r){var o=0;return n.call(this,(function(n){var i=e[n],a=i[t]=i[t]||[];a.push(r),o=a.length-1})),o},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])}})}function Rn(t,n){var r=n.mocks,o=n.initRefs;On(),Xn(),t.$options.store&&(d.default.prototype.$store=t.$options.store),b(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&&(o(this),on(this,r))}}});var i={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))}};i.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(e){i[e]=a[e]})),Le(d.default,t,Me(e.getSystemInfoSync().language)||ge),sn(i,An),cn(i,t.$options),i}function Nn(e){return Rn(e,{mocks:Jt,initRefs:Qt})}function En(e){return App(Nn(e)),e}var Jn=/[!'()*]/g,Hn=function(e){return"%"+e.charCodeAt(0).toString(16)},Bn=/%2C/g,kn=function(e){return encodeURIComponent(e).replace(Jn,Hn).replace(Bn,",")};function Fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kn,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 o=[];return r.forEach((function(e){void 0!==e&&(null===e?o.push(t(n)):o.push(t(n)+"="+t(e)))})),o.join("&")}return t(n)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function In(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,r=t.initRelation,o=arguments.length>2?arguments[2]:void 0,i=fn(d.default,e),s=(0,a.default)(i,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:hn(u,d.default.prototype),behaviors:gn(u,Bt),properties:bn(u.props,!1,u.__file,l),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};pn(e.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new c(t),dn(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:jt,__e:wn}};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)}})),o?[f,u,c]:n?f:[f,c]}function Gn(e,t){return In(e,{isPage:kt,initRelation:Ft},t)}var Qn=["onShow","onHide","onUnload"];function jn(e){var t=Gn(e,!0),n=(0,a.default)(t,2),r=n[0],o=n[1];return sn(r.methods,Qn,o),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Fn(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},cn(r.methods,e,["onReady"]),Kt(r.methods,o.methods),r}function Wn(e){return jn(e)}function $n(e){return Component(Wn(e))}function Un(e){return Component(Gn(e))}function Kn(t){var n=Nn(t),r=getApp({allowDefault:!0});t.$scope=r;var o=r.globalData;if(o&&Object.keys(n.globalData).forEach((function(e){Y(o,e)||(o[e]=n.globalData[e])})),Object.keys(n).forEach((function(e){Y(r,e)||(r[e]=n[e])})),C(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)})),C(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)})),C(n.onLaunch)){var i=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",i)}return t}function zn(t){var n=Nn(t);if(C(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)})),C(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)})),C(n.onLaunch)){var r=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",r)}return t}Qn.push.apply(Qn,rn),tt.forEach((function(e){et[e]=!1})),nt.forEach((function(t){var n=et[t]&&et[t].name?et[t].name:t;e.canIUse(n)||(et[t]=!1)}));var Vn={};"undefined"!==typeof Proxy?Vn=new Proxy({},{get:function(t,n){return Y(t,n)?t[n]:Xe[n]?Xe[n]:Et[n]?ae(n,Et[n]):pt[n]?ae(n,pt[n]):ct[n]?ae(n,ct[n]):_t[n]?_t[n]:ae(n,st(n,e[n]))},set:function(e,t,n){return e[t]=n,!0}}):(Object.keys(Xe).forEach((function(e){Vn[e]=Xe[e]})),Object.keys(ct).forEach((function(e){Vn[e]=ae(e,ct[e])})),Object.keys(pt).forEach((function(e){Vn[e]=ae(e,pt[e])})),Object.keys(_t).forEach((function(e){Vn[e]=_t[e]})),Object.keys(Et).forEach((function(e){Vn[e]=ae(e,Et[e])})),Object.keys(e).forEach((function(t){(Y(e,t)||Y(et,t))&&(Vn[t]=ae(t,st(t,e[t])))}))),e.createApp=En,e.createPage=$n,e.createComponent=Un,e.createSubpackageApp=Kn,e.createPlugin=zn;var qn=Vn,er=qn;t.default=er}).call(this,n(1)["default"],n(3))},20:function(e,t){function n(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},21:function(e,t){function n(){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=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},22:function(e,t,n){"use strict";(function(e,r){var o=n(4);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=R,t.hasI18nJson=O,t.initVueI18n=Z,t.isI18nStr=N,t.isString=void 0,t.normalizeLocale=Y,t.parseI18nJson=X,t.resolveLocale=k;var i=o(n(5)),a=o(n(23)),s=o(n(24)),c=o(n(13)),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,i.default)(t,2),r=n[0],o=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!==o)l+=u,u=e[s++];var f=u===o,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,o=Array.isArray(t)?"list":u(t)?"named":"unknown";if("unknown"===o)return n;while(r<e.length){var i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o?n.push(t[i.value]):console.warn("Type of token '".concat(i.type,"' and format of value '").concat(o,"' don't match!"));break;case"unknown":console.warn("Detect 'unknown' type of token!");break}r++}return n}var v="zh-Hans";t.LOCALE_ZH_HANS=v;var g="zh-Hant";t.LOCALE_ZH_HANT=g;var m="en";t.LOCALE_EN=m;var b="fr";t.LOCALE_FR=b;var S="es";t.LOCALE_ES=S;var x=Object.prototype.hasOwnProperty,C=function(e,t){return x.call(e,t)},_=new f;function L(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}function P(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}function Y(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return v;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?v:e.indexOf("-hant")>-1||L(e,["-tw","-hk","-mo","-cht"])?g:v;var n=[m,b,S];t&&Object.keys(t).length>0&&(n=Object.keys(t));var r=P(e,n);return r||void 0}}var T=function(){function e(t){var n=t.locale,r=t.fallbackLocale,o=t.messages,i=t.watcher,s=t.formater;(0,a.default)(this,e),this.locale=m,this.fallbackLocale=m,this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=s||_,this.messages=o||{},this.setLocale(n||m),i&&this.watchLocale(i)}return(0,s.default)(e,[{key:"setLocale",value:function(e){var t=this,n=this.locale;this.locale=Y(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){C(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=Y(t,this.messages),t&&(r=this.messages[t])):n=t,C(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 M(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function w(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():m}function Z(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 o=[t,e];e=o[0],t=o[1]}"string"!==typeof e&&(e=w()),"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||m);var i=new T({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return i.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,M(r,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:function(e,t,n){return i.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 i.add(e,t,n)},watch:function(e){return i.watchLocale(e)},getLocale:function(){return i.getLocale()},setLocale:function(e){return i.setLocale(e)}}}t.I18n=T;var D,A=function(e){return"string"===typeof e};function O(e,t){return D||(D=new f),B(e,(function(e,n){var r=e[n];return A(r)?!!N(r,t)||void 0:O(r,t)}))}function X(e,t,n){return D||(D=new f),B(e,(function(e,r){var o=e[r];A(o)?N(o,n)&&(e[r]=E(o,t,n)):X(o,t,n)})),e}function R(e,t){var n=t.locale,r=t.locales,o=t.delimiters;if(!N(e,o))return e;D||(D=new f);var i=[];Object.keys(r).forEach((function(e){e!==n&&i.push({locale:e,values:r[e]})})),i.unshift({locale:n,values:r[n]});try{return JSON.stringify(H(JSON.parse(e),i,o),null,2)}catch(a){}return e}function N(e,t){return e.indexOf(t[0])>-1}function E(e,t,n){return D.interpolate(e,t,n).join("")}function J(e,t,n,r){var o=e[t];if(A(o)){if(N(o,r)&&(e[t]=E(o,n[0].values,r),n.length>1)){var i=e[t+"Locales"]={};n.forEach((function(e){i[e.locale]=E(o,e.values,r)}))}}else H(o,n,r)}function H(e,t,n){return B(e,(function(e,r){J(e,r,t,n)})),e}function B(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}function k(e){return function(t){return t?(t=Y(t)||t,F(t).find((function(t){return e.indexOf(t)>-1}))):t}}function F(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}t.isString=A}).call(this,n(2)["default"],n(3))},221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindProjectDetail=c,t.getOrganizationDetailById=s,t.getPartList=o,t.getSealList=u,t.getUserListByPart=i,t.requestSeal=l,t.selectOrangaized=a;var r=n(45);function o(e,t){return(0,r.request)({url:"/manager/role/".concat(e,"/").concat(t),method:"get"})}function i(e){return(0,r.request)({url:"/manager/user/list/".concat(e.organizationId,"/").concat(e.partId),method:"post"})}function a(e){return(0,r.request)({url:"/manager/userContext/organization",method:"post",data:e})}function s(e){return(0,r.request)({url:"/manager/base/organization/".concat(e),method:"get"})}function c(e){return(0,r.request)({url:"/manager/bindProject/list",method:"post",data:e})}function u(e){return(0,r.request)({url:"/file/seal/".concat(e),method:"get"})}function l(e){return(0,r.request)({url:"/file/sealRequest",method:"post",data:e})}},23:function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},24:function(e,t,n){var r=n(12);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},25:function(e,t,n){"use strict";n.r(t),function(e){
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2023 Evan You
- * Released under the MIT License.
- */
- var n=Object.freeze({});function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function l(e){return u.call(e).slice(8,-1)}function f(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return o(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function y(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var m=g("slot,component",!0),b=g("key,ref,slot,slot-scope,is");function S(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function C(e,t){return x.call(e,t)}function _(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var L=/-(\w)/g,P=_((function(e){return e.replace(L,(function(e,t){return t?t.toUpperCase():""}))})),Y=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),T=/\B([A-Z])/g,M=_((function(e){return e.replace(T,"-$1").toLowerCase()}));function w(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 Z(e,t){return e.bind(t)}var D=Function.prototype.bind?Z:w;function A(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function X(e){for(var t={},n=0;n<e.length;n++)e[n]&&O(t,e[n]);return t}function R(e,t,n){}var N=function(e,t,n){return!1},E=function(e){return e};function J(e,t){if(e===t)return!0;var n=c(e),r=c(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return J(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return J(e[n],t[n])}))}catch(u){return!1}}function H(e,t){for(var n=0;n<e.length;n++)if(J(e[n],t))return n;return-1}function B(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var k=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:R,parsePlatformTagName:E,mustUseProp:N,async:!0,_lifecycleHooks:F},G=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Q(e){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 W=new RegExp("[^"+G.source+".$_\\d]");function $(e){if(!W.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}}}var U,K="__proto__"in{},z="undefined"!==typeof window,V="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,q=V&&WXEnvironment.platform.toLowerCase(),ee=z&&window.navigator.userAgent.toLowerCase(),te=ee&&/msie|trident/.test(ee),ne=(ee&&ee.indexOf("msie 9.0"),ee&&ee.indexOf("edge/")>0),re=(ee&&ee.indexOf("android"),ee&&/iphone|ipad|ipod|ios/.test(ee)||"ios"===q),oe=(ee&&/chrome\/\d+/.test(ee),ee&&/phantomjs/.test(ee),ee&&ee.match(/firefox\/(\d+)/),{}.watch);if(z)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){}}),window.addEventListener("test-passive",null,ie)}catch(Bo){}var ae=function(){return void 0===U&&(U=!z&&!V&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),U},se=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var ue,le="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);ue="undefined"!==typeof Set&&ce(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 fe=R,de=R,pe=R,he=R,ye="undefined"!==typeof console,ve=/(?:^|[-_])(\w)/g,ge=function(e){return e.replace(ve,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};fe=function(e,t){var n=t?pe(t):"";I.warnHandler?I.warnHandler.call(null,e,t,n):ye&&!I.silent&&console.error("[Vue warn]: "+e+n)},de=function(e,t){ye&&!I.silent&&console.warn("[Vue tip]: "+e+(t?pe(t):""))},he=function(e,t){if(e.$root===e)return e.$options&&e.$options.__file?""+e.$options.__file:"<Root>";var n="function"===typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,r=n.name||n._componentTag,o=n.__file;if(!r&&o){var i=o.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<"+ge(r)+">":"<Anonymous>")+(o&&!1!==t?" at "+o:"")};var me=function(e,t){var n="";while(t)t%2===1&&(n+=e),t>1&&(e+=e),t>>=1;return n};pe=function(e){if(e._isVue&&e.$parent){var t=[],n=0;while(e&&"PageBody"!==e.$options.name){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}!e.$options.isReserved&&t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":me(" ",5+2*t))+(Array.isArray(e)?he(e[0])+"... ("+e[1]+" recursive calls)":he(e))})).join("\n")}return"\n\n(found in "+he(e)+")"};var be=0,Se=function(){this.id=be++,this.subs=[]};function xe(e){Se.SharedObject.targetStack.push(e),Se.SharedObject.target=e,Se.target=e}function Ce(){Se.SharedObject.targetStack.pop(),Se.SharedObject.target=Se.SharedObject.targetStack[Se.SharedObject.targetStack.length-1],Se.target=Se.SharedObject.target}Se.prototype.addSub=function(e){this.subs.push(e)},Se.prototype.removeSub=function(e){S(this.subs,e)},Se.prototype.depend=function(){Se.SharedObject.target&&Se.SharedObject.target.addDep(this)},Se.prototype.notify=function(){var e=this.subs.slice();I.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,n=e.length;t<n;t++)e[t].update()},Se.SharedObject={},Se.SharedObject.target=null,Se.SharedObject.targetStack=[];var _e=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,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(_e.prototype,Le);var Pe=function(e){void 0===e&&(e="");var t=new _e;return t.text=e,t.isComment=!0,t};function Ye(e){return new _e(void 0,void 0,void 0,String(e))}function Te(e){var t=new _e(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Me=Array.prototype,we=Object.create(Me),Ze=["push","pop","shift","unshift","splice","sort","reverse"];Ze.forEach((function(e){var t=Me[e];j(we,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),i}))}));var De=Object.getOwnPropertyNames(we),Ae=!0;function Oe(e){Ae=e}var Xe=function(e){this.value=e,this.dep=new Se,this.vmCount=0,j(e,"__ob__",this),Array.isArray(e)?(K?e.push!==e.__proto__.push?Ne(e,we,De):Re(e,we):Ne(e,we,De),this.observeArray(e)):this.walk(e)};function Re(e,t){e.__proto__=t}function Ne(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];j(e,i,t[i])}}function Ee(e,t){var n;if(c(e)&&!(e instanceof _e))return C(e,"__ob__")&&e.__ob__ instanceof Xe?n=e.__ob__:!Ae||ae()||!Array.isArray(e)&&!f(e)||!Object.isExtensible(e)||e._isVue||e.__v_isMPComponent||(n=new Xe(e)),t&&n&&n.vmCount++,n}function Je(e,t,n,r,o){var i=new Se,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=!o&&Ee(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return Se.SharedObject.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(t)&&ke(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!==t&&a!==a||(r&&r(),s&&!c||(c?c.call(e,t):n=t,u=!o&&Ee(t),i.notify()))}})}}function He(e,t,n){if((r(e)||s(e))&&fe("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&p(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 o=e.__ob__;return e._isVue||o&&o.vmCount?(fe("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):o?(Je(o.value,t,n),o.dep.notify(),n):(e[t]=n,n)}function Be(e,t){if((r(e)||s(e))&&fe("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&p(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?fe("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):C(e,t)&&(delete e[t],n&&n.dep.notify())}}function ke(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)&&ke(t)}Xe.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Je(e,t[n])},Xe.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ee(e[t])};var Fe=I.optionMergeStrategies;function Ie(e,t){if(!t)return e;for(var n,r,o,i=le?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)n=i[a],"__ob__"!==n&&(r=e[n],o=t[n],C(e,n)?r!==o&&f(r)&&f(o)&&Ie(r,o):He(e,n,o));return e}function Ge(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,o="function"===typeof e?e.call(n,n):e;return r?Ie(r,o):o}:t?e?function(){return Ie("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Qe(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?je(n):n}function je(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function We(e,t,n,r){var o=Object.create(e||null);return t?(et(r,t,n),O(o,t)):o}Fe.el=Fe.propsData=function(e,t,n,r){return n||fe('option "'+r+'" can only be used during instance creation with the `new` keyword.'),$e(e,t)},Fe.data=function(e,t,n){return n?Ge(e,t,n):t&&"function"!==typeof t?(fe('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):Ge(e,t)},F.forEach((function(e){Fe[e]=Qe})),k.forEach((function(e){Fe[e+"s"]=We})),Fe.watch=function(e,t,n,r){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(et(r,t,n),!e)return t;var o={};for(var i in O(o,e),t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Fe.props=Fe.methods=Fe.inject=Fe.computed=function(e,t,n,r){if(t&&et(r,t,n),!e)return t;var o=Object.create(null);return O(o,e),t&&O(o,t),o},Fe.provide=Ge;var $e=function(e,t){return void 0===t?e:t};function Ue(e){for(var t in e.components)Ke(t)}function Ke(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+G.source+"]*$").test(e)||fe('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(m(e)||I.isReservedTag(e))&&fe("Do not use built-in or reserved HTML elements as component id: "+e)}function ze(e,t){var n=e.props;if(n){var r,o,i,a={};if(Array.isArray(n)){r=n.length;while(r--)o=n[r],"string"===typeof o?(i=P(o),a[i]={type:null}):fe("props must be strings when using array syntax.")}else if(f(n))for(var s in n)o=n[s],i=P(s),a[i]=f(o)?o:{type:o};else fe('Invalid value for option "props": expected an Array or an Object, but got '+l(n)+".",t);e.props=a}}function Ve(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(f(n))for(var i in n){var a=n[i];r[i]=f(a)?O({from:i},a):{from:a}}else fe('Invalid value for option "inject": expected an Array or an Object, but got '+l(n)+".",t)}}function qe(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})}}function et(e,t,n){f(t)||fe('Invalid value for option "'+e+'": expected an Object, but got '+l(t)+".",n)}function tt(e,t,n){if(Ue(t),"function"===typeof t&&(t=t.options),ze(t,n),Ve(t,n),qe(t),!t._base&&(t.extends&&(e=tt(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=tt(e,t.mixins[r],n);var i,a={};for(i in e)s(i);for(i in t)C(e,i)||s(i);function s(r){var o=Fe[r]||$e;a[r]=o(e[r],t[r],n,r)}return a}function nt(e,t,n,r){if("string"===typeof n){var o=e[t];if(C(o,n))return o[n];var i=P(n);if(C(o,i))return o[i];var a=Y(i);if(C(o,a))return o[a];var s=o[n]||o[i]||o[a];return r&&!s&&fe("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function rt(e,t,n,r){var o=t[e],i=!C(n,e),a=n[e],s=lt(Boolean,o.type);if(s>-1)if(i&&!C(o,"default"))a=!1;else if(""===a||a===M(e)){var c=lt(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=ot(r,o,e);var u=Ae;Oe(!0),Ee(a),Oe(u)}return it(o,e,a,r,i),a}function ot(e,t,n){if(C(t,"default")){var r=t.default;return c(r)&&fe('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"===typeof r&&"Function"!==ct(t.type)?r.call(e):r}}function it(e,t,n,r,o){if(e.required&&o)fe('Missing required prop: "'+t+'"',r);else if(null!=n||e.required){var i=e.type,a=!i||!0===i,s=[];if(i){Array.isArray(i)||(i=[i]);for(var c=0;c<i.length&&!a;c++){var u=st(n,i[c]);s.push(u.expectedType||""),a=u.valid}}if(a){var l=e.validator;l&&(l(n)||fe('Invalid prop: custom validator check failed for prop "'+t+'".',r))}else fe(ft(t,n,s),r)}}var at=/^(String|Number|Boolean|Function|Symbol)$/;function st(e,t){var n,r=ct(t);if(at.test(r)){var o=typeof e;n=o===r.toLowerCase(),n||"object"!==o||(n=e instanceof t)}else n="Object"===r?f(e):"Array"===r?Array.isArray(e):e instanceof t;return{valid:n,expectedType:r}}function ct(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function ut(e,t){return ct(e)===ct(t)}function lt(e,t){if(!Array.isArray(t))return ut(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(ut(t[n],e))return n;return-1}function ft(e,t,n){var r='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(Y).join(", "),o=n[0],i=l(t),a=dt(t,o),s=dt(t,i);return 1===n.length&&pt(o)&&!ht(o,i)&&(r+=" with value "+a),r+=", got "+i+" ",pt(i)&&(r+="with value "+s+"."),r}function dt(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function pt(e){var t=["string","number","boolean"];return t.some((function(t){return e.toLowerCase()===t}))}function ht(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];return e.some((function(e){return"boolean"===e.toLowerCase()}))}function yt(e,t,n){xe();try{if(t){var r=t;while(r=r.$parent){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,e,t,n);if(a)return}catch(Bo){gt(Bo,r,"errorCaptured hook")}}}gt(e,t,n)}finally{Ce()}}function vt(e,t,n,r,o){var i;try{i=n?e.apply(t,n):e.call(t),i&&!i._isVue&&h(i)&&!i._handled&&(i.catch((function(e){return yt(e,r,o+" (Promise/async)")})),i._handled=!0)}catch(Bo){yt(Bo,r,o)}return i}function gt(e,t,n){if(I.errorHandler)try{return I.errorHandler.call(null,e,t,n)}catch(Bo){Bo!==e&&mt(Bo,null,"config.errorHandler")}mt(e,t,n)}function mt(e,t,n){if(fe("Error in "+n+': "'+e.toString()+'"',t),!z&&!V||"undefined"===typeof console)throw e;console.error(e)}var bt,St,xt=[],Ct=!1;function _t(){Ct=!1;var e=xt.slice(0);xt.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&ce(Promise)){var Lt=Promise.resolve();bt=function(){Lt.then(_t),re&&setTimeout(R)}}else if(te||"undefined"===typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())bt="undefined"!==typeof setImmediate&&ce(setImmediate)?function(){setImmediate(_t)}:function(){setTimeout(_t,0)};else{var Pt=1,Yt=new MutationObserver(_t),Tt=document.createTextNode(String(Pt));Yt.observe(Tt,{characterData:!0}),bt=function(){Pt=(Pt+1)%2,Tt.data=String(Pt)}}function Mt(e,t){var n;if(xt.push((function(){if(e)try{e.call(t)}catch(Bo){yt(Bo,t,"nextTick")}else n&&n(t)})),Ct||(Ct=!0,bt()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var wt=g("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),Zt=function(e,t){fe('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},Dt=function(e,t){fe('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},At="undefined"!==typeof Proxy&&ce(Proxy);if(At){var Ot=g("stop,prevent,self,ctrl,shift,alt,meta,exact");I.keyCodes=new Proxy(I.keyCodes,{set:function(e,t,n){return Ot(t)?(fe("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var Xt={has:function(e,t){var n=t in e,r=wt(t)||"string"===typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||r||(t in e.$data?Dt(e,t):Zt(e,t)),n||!r}},Rt={get:function(e,t){return"string"!==typeof t||t in e||(t in e.$data?Dt(e,t):Zt(e,t)),e[t]}};St=function(e){if(At){var t=e.$options,n=t.render&&t.render._withStripped?Rt:Xt;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var Nt,Et,Jt=new ue;function Ht(e){Bt(e,Jt),Jt.clear()}function Bt(e,t){var n,r,o=Array.isArray(e);if(!(!o&&!c(e)||Object.isFrozen(e)||e instanceof _e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o){n=e.length;while(n--)Bt(e[n],t)}else{r=Object.keys(e),n=r.length;while(n--)Bt(e[r[n]],t)}}}var kt=z&&window.performance;kt&&kt.mark&&kt.measure&&kt.clearMarks&&kt.clearMeasures&&(Nt=function(e){return kt.mark(e)},Et=function(e,t,n){kt.measure(e,t,n),kt.clearMarks(t),kt.clearMarks(n)});var Ft=_((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 It(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return vt(r,null,arguments,t,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)vt(o[i],null,e,t,"v-on handler")}return n.fns=e,n}function Gt(e,t,n,o,a,s){var c,u,l,f;for(c in e)u=e[c],l=t[c],f=Ft(c),r(u)?fe('Invalid handler for event "'+f.name+'": got '+String(u),s):r(l)?(r(u.fns)&&(u=e[c]=It(u,s)),i(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=Ft(c),o(f.name,t[c],f.capture))}function Qt(e,t,n,i){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(o(c)||o(u))for(var l in a){var f=M(l),d=Wt(n,u,l,f,!0)||Wt(n,c,l,f,!1);d&&n[l]&&-1!==s.indexOf(f)&&i[P(n[l])]&&(n[l]=i[P(n[l])])}return n}function jt(e,t,n,i){var a=t.options.props;if(r(a))return Qt(e,t,{},i);var s={},c=e.attrs,u=e.props;if(o(c)||o(u))for(var l in a){var f=M(l),d=l.toLowerCase();l!==d&&c&&C(c,d)&&de('Prop "'+d+'" is passed to component '+he(n||t)+', but the declared prop name is "'+l+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+f+'" instead of "'+l+'".'),Wt(s,u,l,f,!0)||Wt(s,c,l,f,!1)}return Qt(e,t,s,i)}function Wt(e,t,n,r,i){if(o(t)){if(C(t,n))return e[n]=t[n],i||delete t[n],!0;if(C(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function $t(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Ut(e){return s(e)?[Ye(e)]:Array.isArray(e)?zt(e):void 0}function Kt(e){return o(e)&&o(e.text)&&a(e.isComment)}function zt(e,t){var n,a,c,u,l=[];for(n=0;n<e.length;n++)a=e[n],r(a)||"boolean"===typeof a||(c=l.length-1,u=l[c],Array.isArray(a)?a.length>0&&(a=zt(a,(t||"")+"_"+n),Kt(a[0])&&Kt(u)&&(l[c]=Ye(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?Kt(u)?l[c]=Ye(u.text+a):""!==a&&l.push(Ye(a)):Kt(a)&&Kt(u)?l[c]=Ye(u.text+a.text):(i(e._isVList)&&o(a.tag)&&r(a.key)&&o(t)&&(a.key="__vlist"+t+"_"+n+"__"),l.push(a)));return l}function Vt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function qt(e){var t=en(e.$options.inject,e);t&&(Oe(!1),Object.keys(t).forEach((function(n){Je(e,n,t[n],(function(){fe('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)}))})),Oe(!0))}function en(e,t){if(e){for(var n=Object.create(null),r=le?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=e[i].from,s=t;while(s){if(s._provided&&C(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[i]){var c=e[i].default;n[i]="function"===typeof c?c.call(t):c}else fe('Injection "'+i+'" not found',t)}}return n}}function tn(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)i.asyncMeta&&i.asyncMeta.data&&"page"===i.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(i):(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(nn)&&delete n[u];return n}function nn(e){return e.isComment&&!e.asyncFactory||" "===e.text}function rn(e,t,r){var o,i=Object.keys(t).length>0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=on(t,c,e[c]))}else o={};for(var u in t)u in o||(o[u]=an(t,u));return e&&Object.isExtensible(e)&&(e._normalized=o),j(o,"$stable",a),j(o,"$key",s),j(o,"$hasNormal",i),o}function on(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]:Ut(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 an(e,t){return function(){return e[t]}}function sn(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;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(c(e))if(le&&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,i=a.length;r<i;r++)s=a[r],n[r]=t(e[s],s,r,r);return o(n)||(n=[]),n._isVList=!0,n}function cn(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(c(r)||fe("slot v-bind without argument expects an Object",this),n=O(O({},r),n)),o=i(n,this,n._i)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function un(e){return nt(this.$options,"filters",e,!0)||E}function ln(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function fn(e,t,n,r,o){var i=I.keyCodes[t]||n;return o&&r&&!I.keyCodes[t]?ln(o,r):i?ln(i,e):r?M(r)!==t:void 0}function dn(e,t,n,r,o){if(n)if(c(n)){var i;Array.isArray(n)&&(n=X(n));var a=function(a){if("class"===a||"style"===a||b(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||I.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=P(a),u=M(a);if(!(c in i)&&!(u in i)&&(i[a]=n[a],o)){var l=e.on||(e.on={});l["update:"+a]=function(e){n[a]=e}}};for(var s in n)a(s)}else fe("v-bind without argument expects an Object or Array value",this);return e}function pn(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),yn(r,"__static__"+e,!1)),r}function hn(e,t,n){return yn(e,"__once__"+t+(n?"_"+n:""),!0),e}function yn(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&vn(e[r],t+"_"+r,n);else vn(e,t,n)}function vn(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function gn(e,t){if(t)if(f(t)){var n=e.on=e.on?O({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else fe("v-on without argument expects an Object value",this);return e}function mn(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var i=e[o];Array.isArray(i)?mn(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function bn(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]:""!==r&&null!==r&&fe("Invalid value for dynamic directive argument (expected string or null): "+r,this)}return e}function Sn(e,t){return"string"===typeof e?t+e:e}function xn(e){e._o=hn,e._n=v,e._s=y,e._l=sn,e._t=cn,e._q=J,e._i=H,e._m=pn,e._f=un,e._k=fn,e._b=dn,e._v=Ye,e._e=Pe,e._u=mn,e._g=gn,e._d=bn,e._p=Sn}function Cn(e,t,r,o,a){var s,c=this,u=a.options;C(o,"_uid")?(s=Object.create(o),s._original=o):(s=o,o=o._original);var l=i(u._compiled),f=!l;this.data=e,this.props=t,this.children=r,this.parent=o,this.listeners=e.on||n,this.injections=en(u.inject,o),this.slots=function(){return c.$slots||rn(e.scopedSlots,c.$slots=tn(r,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return rn(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=rn(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,n,r){var i=Rn(s,e,t,n,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return Rn(s,e,t,n,r,f)}}function _n(e,t,r,i,a){var s=e.options,c={},u=s.props;if(o(u))for(var l in u)c[l]=rt(l,u,t||n);else o(r.attrs)&&Pn(c,r.attrs),o(r.props)&&Pn(c,r.props);var f=new Cn(r,c,a,i,e),d=s.render.call(null,f._c,f);if(d instanceof _e)return Ln(d,r,f.parent,s,f);if(Array.isArray(d)){for(var p=Ut(d)||[],h=new Array(p.length),y=0;y<p.length;y++)h[y]=Ln(p[y],r,f.parent,s,f);return h}}function Ln(e,t,n,r,o){var i=Te(e);return i.fnContext=n,i.fnOptions=r,(i.devtoolsMeta=i.devtoolsMeta||{}).renderContext=o,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Pn(e,t){for(var n in t)e[P(n)]=t[n]}xn(Cn.prototype);var Yn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Yn.prepatch(n,n)}else{var r=e.componentInstance=wn(e,er);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;ir(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(ur(n,"onServiceCreated"),ur(n,"onServiceAttached"),n._isMounted=!0,ur(n,"mounted")),e.data.keepAlive&&(t._isMounted?_r(n):sr(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?cr(t,!0):t.$destroy())}},Tn=Object.keys(Yn);function Mn(e,t,n,a,s){if(!r(e)){var u=n.$options._base;if(c(e)&&(e=u.extend(e)),"function"===typeof e){var l;if(r(e.cid)&&(l=e,e=Qn(l,u),void 0===e))return Gn(l,t,n,a,s);t=t||{},jr(e),o(t.model)&&An(e.options,t);var f=jt(t,e,s,n);if(i(e.options.functional))return _n(e,f,t,n,a);var d=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}Zn(t);var h=e.options.name||s,y=new _e("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:d,tag:s,children:a},l);return y}fe("Invalid Component definition: "+String(e),n)}}function wn(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function Zn(e){for(var t=e.hook||(e.hook={}),n=0;n<Tn.length;n++){var r=Tn[n],o=t[r],i=Yn[r];o===i||o&&o._merged||(t[r]=o?Dn(i,o):i)}}function Dn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function An(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 i=t.on||(t.on={}),a=i[r],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}var On=1,Xn=2;function Rn(e,t,n,r,o,a){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i(a)&&(o=Xn),Nn(e,t,n,r,o)}function Nn(e,t,n,r,i){if(o(n)&&o(n.__ob__))return fe("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),Pe();if(o(n)&&o(n.is)&&(t=n.is),!t)return Pe();var a,c,u;(o(n)&&o(n.key)&&!s(n.key)&&fe("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Xn?r=Ut(r):i===On&&(r=$t(r)),"string"===typeof t)?(c=e.$vnode&&e.$vnode.ns||I.getTagNamespace(t),I.isReservedTag(t)?(o(n)&&o(n.nativeOn)&&fe("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),a=new _e(I.parsePlatformTagName(t),n,r,void 0,void 0,e)):a=n&&n.pre||!o(u=nt(e.$options,"components",t))?new _e(t,n,r,void 0,void 0,e):Mn(u,n,e,r,t)):a=Mn(t,n,e,r);return Array.isArray(a)?a:o(a)?(o(c)&&En(a,c),o(n)&&Jn(n),a):Pe()}function En(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),o(e.children))for(var a=0,s=e.children.length;a<s;a++){var c=e.children[a];o(c.tag)&&(r(c.ns)||i(n)&&"svg"!==c.tag)&&En(c,t,n)}}function Jn(e){c(e.style)&&Ht(e.style),c(e.class)&&Ht(e.class)}function Hn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,o=r&&r.context;e.$slots=tn(t._renderChildren,o),e.$scopedSlots=n,e._c=function(t,n,r,o){return Rn(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Rn(e,t,n,r,o,!0)};var i=r&&r.data;Je(e,"$attrs",i&&i.attrs||n,(function(){!tr&&fe("$attrs is readonly.",e)}),!0),Je(e,"$listeners",t._parentListeners||n,(function(){!tr&&fe("$listeners is readonly.",e)}),!0)}var Bn,kn=null;function Fn(e){xn(e.prototype),e.prototype.$nextTick=function(e){return Mt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&(t.$scopedSlots=rn(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{kn=t,e=r.call(t._renderProxy,t.$createElement)}catch(Bo){if(yt(Bo,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,Bo)}catch(Bo){yt(Bo,t,"renderError"),e=t._vnode}else e=t._vnode}finally{kn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof _e||(Array.isArray(e)&&fe("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=Pe()),e.parent=o,e}}function In(e,t){return(e.__esModule||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function Gn(e,t,n,r,o){var i=Pe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}function Qn(e,t){if(i(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=kn;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),i(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var a=e.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return S(a,n)}));var f=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))},d=B((function(n){e.resolved=In(n,t),s?a.length=0:f(!0)})),p=B((function(t){fe("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),o(e.errorComp)&&(e.error=!0,f(!0))})),y=e(d,p);return c(y)&&(h(y)?r(e.resolved)&&y.then(d,p):h(y.component)&&(y.component.then(d,p),o(y.error)&&(e.errorComp=In(y.error,t)),o(y.loading)&&(e.loadingComp=In(y.loading,t),0===y.delay?e.loading=!0:u=setTimeout((function(){u=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,f(!1))}),y.delay||200)),o(y.timeout)&&(l=setTimeout((function(){l=null,r(e.resolved)&&p("timeout ("+y.timeout+"ms)")}),y.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function jn(e){return e.isComment&&e.asyncFactory}function Wn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||jn(n)))return n}}function $n(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Vn(e,t)}function Un(e,t){Bn.$on(e,t)}function Kn(e,t){Bn.$off(e,t)}function zn(e,t){var n=Bn;return function r(){var o=t.apply(null,arguments);null!==o&&n.$off(e,r)}}function Vn(e,t,n){Bn=e,Gt(t,n||{},Un,Kn,zn,e),Bn=void 0}function qn(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)r.$on(e[o],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,o=e.length;r<o;r++)n.$off(e[r],t);return n}var i,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;var s=a.length;while(s--)if(i=a[s],i===t||i.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&de('Event "'+n+'" is emitted in component '+he(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+M(e)+'" instead of "'+e+'".');var r=t._events[e];if(r){r=r.length>1?A(r):r;for(var o=A(arguments,1),i='event handler for "'+e+'"',a=0,s=r.length;a<s;a++)vt(r[a],t,o,t,i)}return t}}var er=null,tr=!1;function nr(e){var t=er;return er=e,function(){er=t}}function rr(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}function or(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=nr(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),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(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){ur(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||S(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),ur(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function ir(e,t,r,o,i){tr=!0;var a=o.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(i||e.$options._renderChildren||c);if(e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=i,e.$attrs=o.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){Oe(!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]=rt(p,h,t,e)}Oe(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),r=r||n;var y=e.$options._parentListeners;e.$options._parentListeners=r,Vn(e,r,y),u&&(e.$slots=tn(i,o.context),e.$forceUpdate()),tr=!1}function ar(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function sr(e,t){if(t){if(e._directInactive=!1,ar(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++)sr(e.$children[n]);ur(e,"activated")}}function cr(e,t){if((!t||(e._directInactive=!0,!ar(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)cr(e.$children[n]);ur(e,"deactivated")}}function ur(e,t){xe();var n=e.$options[t],r=t+" hook";if(n)for(var o=0,i=n.length;o<i;o++)vt(n[o],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),Ce()}var lr=100,fr=[],dr=[],pr={},hr={},yr=!1,vr=!1,gr=0;function mr(){gr=fr.length=dr.length=0,pr={},hr={},yr=vr=!1}var br=Date.now;if(z&&!te){var Sr=window.performance;Sr&&"function"===typeof Sr.now&&br()>document.createEvent("Event").timeStamp&&(br=function(){return Sr.now()})}function xr(){var e,t;for(br(),vr=!0,fr.sort((function(e,t){return e.id-t.id})),gr=0;gr<fr.length;gr++)if(e=fr[gr],e.before&&e.before(),t=e.id,pr[t]=null,e.run(),null!=pr[t]&&(hr[t]=(hr[t]||0)+1,hr[t]>lr)){fe("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=dr.slice(),r=fr.slice();mr(),Lr(n),Cr(r),se&&I.devtools&&se.emit("flush")}function Cr(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&ur(r,"updated")}}function _r(e){e._inactive=!1,dr.push(e)}function Lr(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,sr(e[t],!0)}function Pr(e){var t=e.id;if(null==pr[t]){if(pr[t]=!0,vr){var n=fr.length-1;while(n>gr&&fr[n].id>e.id)n--;fr.splice(n+1,0,e)}else fr.push(e);if(!yr){if(yr=!0,!I.async)return void xr();Mt(xr)}}}var Yr=0,Tr=function(e,t,n,r,o){this.vm=e,o&&(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=++Yr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression=t.toString(),"function"===typeof t?this.getter=t:(this.getter=$(t),this.getter||(this.getter=R,fe('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};Tr.prototype.get=function(){var e;xe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Bo){if(!this.user)throw Bo;yt(Bo,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ht(e),Ce(),this.cleanupDeps()}return e},Tr.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))},Tr.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},Tr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Pr(this)},Tr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Bo){yt(Bo,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Tr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Tr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},Tr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||S(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var Mr={enumerable:!0,configurable:!0,get:R,set:R};function wr(e,t,n){Mr.get=function(){return this[t][n]},Mr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Mr)}function Zr(e){e._watchers=[];var t=e.$options;t.props&&Dr(e,t.props),t.methods&&Hr(e,t.methods),t.data?Ar(e):Ee(e._data={},!0),t.computed&&Rr(e,t.computed),t.watch&&t.watch!==oe&&Br(e,t.watch)}function Dr(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||Oe(!1);var a=function(a){o.push(a);var s=rt(a,t,n,e),c=M(a);(b(c)||I.isReservedAttr(c))&&fe('"'+c+'" is a reserved attribute and cannot be used as component prop.',e),Je(r,a,s,(function(){if(!i&&!tr){if("mp-baidu"===e.mpHost||"mp-kuaishou"===e.mpHost||"mp-xhs"===e.mpHost)return;if("value"===a&&Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field"))return;if(e._getFormData)return;var t=e.$parent;while(t){if(t.__next_tick_pending)return;t=t.$parent}fe("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)}})),a in e||wr(e,"_props",a)};for(var s in t)a(s);Oe(!0)}function Ar(e){var t=e.$options.data;t=e._data="function"===typeof t?Or(t,e):t||{},f(t)||(t={},fe("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));var n=Object.keys(t),r=e.$options.props,o=e.$options.methods,i=n.length;while(i--){var a=n[i];o&&C(o,a)&&fe('Method "'+a+'" has already been defined as a data property.',e),r&&C(r,a)?fe('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):Q(a)||wr(e,"_data",a)}Ee(t,!0)}function Or(e,t){xe();try{return e.call(t,t)}catch(Bo){return yt(Bo,t,"data()"),{}}finally{Ce()}}var Xr={lazy:!0};function Rr(e,t){var n=e._computedWatchers=Object.create(null),r=ae();for(var o in t){var i=t[o],a="function"===typeof i?i:i.get;null==a&&fe('Getter is missing for computed property "'+o+'".',e),r||(n[o]=new Tr(e,a||R,R,Xr)),o in e?o in e.$data?fe('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&fe('The computed property "'+o+'" is already defined as a prop.',e):Nr(e,o,i)}}function Nr(e,t,n){var r=!ae();"function"===typeof n?(Mr.get=r?Er(t):Jr(n),Mr.set=R):(Mr.get=n.get?r&&!1!==n.cache?Er(t):Jr(n.get):R,Mr.set=n.set||R),Mr.set===R&&(Mr.set=function(){fe('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Mr)}function Er(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Se.SharedObject.target&&t.depend(),t.value}}function Jr(e){return function(){return e.call(this,this)}}function Hr(e,t){var n=e.$options.props;for(var r in t)"function"!==typeof t[r]&&fe('Method "'+r+'" has type "'+typeof t[r]+'" in the component definition. Did you reference the function correctly?',e),n&&C(n,r)&&fe('Method "'+r+'" has already been defined as a prop.',e),r in e&&Q(r)&&fe('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]="function"!==typeof t[r]?R:D(t[r],e)}function Br(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)kr(e,n,r[o]);else kr(e,n,r)}}function kr(e,t,n,r){return f(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function Fr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){fe("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){fe("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=He,e.prototype.$delete=Be,e.prototype.$watch=function(e,t,n){var r=this;if(f(t))return kr(r,e,t,n);n=n||{},n.user=!0;var o=new Tr(r,e,t,n);if(n.immediate)try{t.call(r,o.value)}catch(i){yt(i,r,'callback for immediate watcher "'+o.expression+'"')}return function(){o.teardown()}}}var Ir=0;function Gr(e){e.prototype._init=function(e){var t,n,r=this;r._uid=Ir++,I.performance&&Nt&&(t="vue-perf-start:"+r._uid,n="vue-perf-end:"+r._uid,Nt(t)),r._isVue=!0,e&&e._isComponent?Qr(r,e):r.$options=tt(jr(r.constructor),e||{},r),St(r),r._self=r,rr(r),$n(r),Hn(r),ur(r,"beforeCreate"),!r._$fallback&&qt(r),Zr(r),!r._$fallback&&Vt(r),!r._$fallback&&ur(r,"created"),I.performance&&Nt&&(r._name=he(r,!1),Nt(n),Et("vue "+r._name+" init",t,n)),r.$options.el&&r.$mount(r.$options.el)}}function Qr(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function jr(e){var t=e.options;if(e.super){var n=jr(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var o=Wr(e);o&&O(e.extendOptions,o),t=e.options=tt(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Wr(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}function $r(e){this instanceof $r||fe("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Ur(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(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}}function Kr(e){e.mixin=function(e){return this.options=tt(this.options,e),this}}function zr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;i&&Ke(i);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=tt(n.options,e),a["super"]=n,a.options.props&&Vr(a),a.options.computed&&qr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,k.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),o[r]=a,a}}function Vr(e){var t=e.options.props;for(var n in t)wr(e.prototype,"_props",n)}function qr(e){var t=e.options.computed;for(var n in t)Nr(e.prototype,n,t[n])}function eo(e){k.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&Ke(e),"component"===t&&f(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]}}))}function to(e){return e&&(e.Ctor.options.name||e.tag)}function no(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function ro(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=to(a.componentOptions);s&&!t(s)&&oo(n,i,r,o)}}}function oo(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,S(n,t)}Gr($r),Fr($r),qn($r),or($r),Fn($r);var io=[String,RegExp,Array],ao={name:"keep-alive",abstract:!0,props:{include:io,exclude:io,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)oo(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){ro(e,(function(e){return no(t,e)}))})),this.$watch("exclude",(function(t){ro(e,(function(e){return!no(t,e)}))}))},render:function(){var e=this.$slots.default,t=Wn(e),n=t&&t.componentOptions;if(n){var r=to(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!no(i,r))||a&&r&&no(a,r))return t;var s=this,c=s.cache,u=s.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[l]?(t.componentInstance=c[l].componentInstance,S(u,l),u.push(l)):(c[l]=t,u.push(l),this.max&&u.length>parseInt(this.max)&&oo(c,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},so={KeepAlive:ao};function co(e){var t={get:function(){return I},set:function(){fe("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:O,mergeOptions:tt,defineReactive:Je},e.set=He,e.delete=Be,e.nextTick=Mt,e.observable=function(e){return Ee(e),e},e.options=Object.create(null),k.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,so),Ur(e),Kr(e),zr(e),eo(e)}co($r),Object.defineProperty($r.prototype,"$isServer",{get:ae}),Object.defineProperty($r.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($r,"FunctionalRenderContext",{value:Cn}),$r.version="2.6.11";var uo="[object Array]",lo="[object Object]",fo="[object Null]",po="[object Undefined]";function ho(e,t){var n={};return yo(e,t),go(e,t,"",n),n}function yo(e,t){if(e!==t){var n=bo(e),r=bo(t);if(n==lo&&r==lo){if(Object.keys(e).length>=Object.keys(t).length)for(var o in t){var i=e[o];void 0===i?e[o]=null:yo(i,t[o])}}else n==uo&&r==uo&&e.length>=t.length&&t.forEach((function(t,n){yo(e[n],t)}))}}function vo(e,t){return e!==fo&&e!==po||t!==fo&&t!==po}function go(e,t,n,r){if(e!==t){var o=bo(e),i=bo(t);if(o==lo)if(i!=lo||Object.keys(e).length<Object.keys(t).length)mo(r,n,e);else{var a=function(o){var i=e[o],a=t[o],s=bo(i),c=bo(a);if(s!=uo&&s!=lo)i!==t[o]&&vo(s,c)&&mo(r,(""==n?"":n+".")+o,i);else if(s==uo)c!=uo||i.length<a.length?mo(r,(""==n?"":n+".")+o,i):i.forEach((function(e,t){go(e,a[t],(""==n?"":n+".")+o+"["+t+"]",r)}));else if(s==lo)if(c!=lo||Object.keys(i).length<Object.keys(a).length)mo(r,(""==n?"":n+".")+o,i);else for(var u in i)go(i[u],a[u],(""==n?"":n+".")+o+"."+u,r)};for(var s in e)a(s)}else o==uo?i!=uo||e.length<t.length?mo(r,n,e):e.forEach((function(e,o){go(e,t[o],n+"["+o+"]",r)})):mo(r,n,e)}}function mo(e,t,n){e[t]=n}function bo(e){return Object.prototype.toString.call(e)}function So(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({NODE_ENV:"development",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 xo(e){return fr.find((function(t){return e._watcher===t}))}function Co(e,t){if(!e.__next_tick_pending&&!xo(e)){if(Object({NODE_ENV:"development",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 Mt(t,e)}if(Object({NODE_ENV:"development",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 o;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(Bo){yt(Bo,e,"nextTick")}else o&&o(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){o=e}))}function _o(e,t){return t&&(t._isVue||t.__v_isMPComponent)?{}:t}function Lo(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__,o=r&&r.rawBindings;return o&&Object.keys(o).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,_o))}var Po=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,o=Object.create(null);try{o=Lo(this)}catch(s){console.error(s)}o.__webviewId__=r.data.__webviewId__;var i=Object.create(null);Object.keys(o).forEach((function(e){i[e]=r.data[e]}));var a=!1===this.$shouldDiffData?o:ho(o,i);Object.keys(a).length?(Object({NODE_ENV:"development",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,So(n)}))):So(this)}};function Yo(){}function To(e,t,n){if(!e.mpType)return e;"app"===e.mpType&&(e.$options.render=Yo),e.$options.render||(e.$options.render=Yo,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?fe("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):fe("Failed to mount component: template or render function not defined.",e)),!e._$fallback&&ur(e,"beforeMount");var r=function(){e._update(e._render(),n)};return new Tr(e,r,R,{before:function(){e._isMounted&&!e._isDestroyed&&ur(e,"beforeUpdate")}},!0),n=!1,e}function Mo(e,t){return o(e)||o(t)?wo(e,Zo(t)):""}function wo(e,t){return e?t?e+" "+t:e:t||""}function Zo(e){return Array.isArray(e)?Do(e):c(e)?Ao(e):"string"===typeof e?e:""}function Do(e){for(var t,n="",r=0,i=e.length;r<i;r++)o(t=Zo(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Ao(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var Oo=_((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Xo(e){return Array.isArray(e)?X(e):"string"===typeof e?Oo(e):e}var Ro=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function No(e,t){var n=t.split("."),r=n[0];return 0===r.indexOf("__$n")&&(r=parseInt(r.replace("__$n",""))),1===n.length?e[r]:No(e[r],n.slice(1).join("."))}function Eo(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var o="function"===typeof getApp&&getApp();o&&o.onError&&o.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__:A(arguments,1)})}catch(r){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return Co(this,e)},Ro.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=Vt,e.prototype.__init_injections=qt,e.prototype.__call_hook=function(e,t){var n=this;xe();var r,o=n.$options[e],i=e+" hook";if(o)for(var a=0,s=o.length;a<s;a++)r=vt(o[a],n,t?[t]:null,n,i);return n._hasHookEvent&&n.$emit("hook:"+e,t),Ce(),r},e.prototype.__set_model=function(t,n,r,o){Array.isArray(o)&&(-1!==o.indexOf("trim")&&(r=r.trim()),-1!==o.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 f(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return No(t||this,e)},e.prototype.__get_class=function(e,t){return Mo(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var n=Xo(e),r=t?O(t,n):n;return Object.keys(r).map((function(e){return M(e)+":"+r[e]})).join(";")},e.prototype.__map=function(e,t){var n,r,o,i,a;if(Array.isArray(e)){for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r);return n}if(c(e)){for(i=Object.keys(e),n=Object.create(null),r=0,o=i.length;r<o;r++)a=i[r],n[a]=t(e[a],a,r);return n}if("number"===typeof e){for(n=new Array(e),r=0,o=e;r<o;r++)n[r]=t(r,r);return n}return[]}}var Jo=["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"];function Ho(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==Jo.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,r=n.created;Jo.forEach((function(e){n[e]=r})),e.prototype.__lifecycle_hooks__=Jo}$r.prototype.__patch__=Po,$r.prototype.$mount=function(e,t){return To(this,e,t)},Ho($r),Eo($r),t["default"]=$r}.call(this,n(3))},250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOrderDetailById=i,t.getOrderPageListByQuery=o,t.insertOrderProcess=c,t.putOrderProcess=s,t.updateOrder=a;var r=n(45);function o(e){return(0,r.request)({url:"/api/workOrder/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function i(e){return(0,r.request)({url:"/api/workOrder/".concat(e),method:"get"})}function a(e){return(0,r.request)({url:"/api/workOrder/update",method:"put",data:e})}function s(e){return(0,r.request)({url:"/api/workOrder/process/update",method:"put",data:e})}function c(e){return(0,r.request)({url:"/api/workOrder/process",method:"post",data:e})}},26:function(e,t){},279:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContractDetailById=a,t.getContractList=i,t.getContractListByPage=o,t.getPaymentListByPage=u,t.insertDocumentData=s,t.insertPaymentInvoice=f,t.insertPaymentRecord=l,t.putPaymentStatus=d,t.uploadImageBase64=c;var r=n(45);function o(e){return(0,r.request)({url:"/api/contract/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function i(e){return(0,r.request)({url:"/api/contract/list",method:"post",data:e})}function a(e){return(0,r.request)({url:"/api/contract/".concat(e),method:"get"})}function s(e){return(0,r.request)({url:"/file/elementdata/",method:"post",data:e})}function c(e){return(0,r.request)({url:"/file/filenode/base64",method:"post",data:{base64:e}})}function u(e){return(0,r.request)({url:"/api/payment/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function l(e){return(0,r.request)({url:"/api/payment/record",method:"post",data:e})}function f(e){return(0,r.request)({url:"/api/payment/invoice",method:"post",data:e})}function d(e,t){return(0,r.request)({url:"/api/payment/updateStatus/".concat(e,"/").concat(t),method:"put"})}},3: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},32:function(e,t,n){"use strict";function r(e,t,n,r,o,i,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),i&&(f._scopeId="data-v-"+i),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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},f._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),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.r(t),n.d(t,"default",(function(){return r}))},320:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCommonPaymentDetailById=s,t.getCommonPaymentListByPage=i,t.getPaymentDetailById=a,t.getPaymentListByPage=o,t.updatePayment=c;var r=n(45);function o(e){return(0,r.request)({url:"/api/payment/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function i(e){return(0,r.request)({url:"/api/payment/ordinary/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function a(e){return(0,r.request)({url:"/api/payment/".concat(e),method:"get"})}function s(e){return(0,r.request)({url:"/api/payment/ordinary/".concat(e),method:"get"})}function c(e){return(0,r.request)({url:"/api/payment/ordinary",method:"put",data:e})}},33:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(25)),i=r(n(34)),a=r(n(35));o.default.use(i.default);var s=n(36),c=s.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),r=s(t);return e[n]=r.default,e}),{}),u=new i.default.Store({modules:c,getters:a.default}),l=u;t.default=l},333:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInvoiceDetailById=i,t.getInvoiceListByPage=o;var r=n(45);function o(e){return(0,r.request)({url:"/api/payment/invoice/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function i(e){return(0,r.request)({url:"/api/payment/invoice/".concat(e,"/"),method:"get"})}},34:function(e,t,n){"use strict";(function(t){
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function n(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)}}var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function a(e,t){return e.filter(t)[0]}function s(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=a(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]=s(e[n],t)})),r}function c(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function l(e){return e&&"function"===typeof e.then}function f(e,t){if(!e)throw new Error("[vuex] "+t)}function d(e,t){return function(){return e(t)}}var p=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)||{}},h={namespaced:{configurable:!0}};h.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(e,t){this._children[e]=t},p.prototype.removeChild=function(e){delete this._children[e]},p.prototype.getChild=function(e){return this._children[e]},p.prototype.hasChild=function(e){return e in this._children},p.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)},p.prototype.forEachChild=function(e){c(this._children,e)},p.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},p.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},p.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(p.prototype,h);var y=function(e){this.register([],e,!1)};function v(e,t,n){if(x(e,n),t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");v(e.concat(r),t.getChild(r),n.modules[r])}}y.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},y.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},y.prototype.update=function(e){v([],this.root,e)},y.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0),x(e,t);var o=new p(t,n);if(0===e.length)this.root=o;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],o)}t.modules&&c(t.modules,(function(t,o){r.register(e.concat(o),t,n)}))},y.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):console.warn("[vuex] trying to unregister module '"+n+"', which is not registered")},y.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g,m={assert:function(e){return"function"===typeof e},expected:"function"},b={assert:function(e){return"function"===typeof e||"object"===typeof e&&"function"===typeof e.handler},expected:'function or object with "handler" function'},S={getters:m,mutations:m,actions:b};function x(e,t){Object.keys(S).forEach((function(n){if(t[n]){var r=S[n];c(t[n],(function(t,o){f(r.assert(t),C(e,n,o,t,r.expected))}))}}))}function C(e,t,n,r,o){var i=t+" should be "+o+' but "'+t+"."+n+'"';return e.length>0&&(i+=' in module "'+e.join(".")+'"'),i+=" is "+JSON.stringify(r)+".",i}var _=function e(t){var n=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&E(window.Vue),f(g,"must call Vue.use(Vuex) before creating a store instance."),f("undefined"!==typeof Promise,"vuex requires a Promise polyfill in this browser."),f(this instanceof e,"store must be called with the new operator.");var r=t.plugins;void 0===r&&(r=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new y(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(e,t){return c.call(a,e,t)},this.commit=function(e,t,n){return u.call(a,e,t,n)},this.strict=o;var l=this._modules.root.state;M(this,l,[],this._modules.root),T(this,l),r.forEach((function(e){return e(n)}));var d=void 0!==t.devtools?t.devtools:g.config.devtools;d&&i(this)},L={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 Y(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;M(e,n,[],e._modules.root,!0),T(e,n,t)}function T(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={};c(o,(function(t,n){i[n]=d(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:i}),g.config.silent=a,e.strict&&X(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),g.nextTick((function(){return r.$destroy()})))}function M(e,t,n,r,o){var i=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a]&&console.error("[vuex] duplicate namespace "+a+" for the namespaced module "+n.join("/")),e._modulesNamespaceMap[a]=r),!i&&!o){var s=R(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){c in s&&console.warn('[vuex] state field "'+c+'" was overridden by a module with the same name at "'+n.join(".")+'"'),g.set(s,c,r.state)}))}var u=r.context=w(e,a,n);r.forEachMutation((function(t,n){var r=a+n;D(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,o=t.handler||t;A(e,r,o,u)})),r.forEachGetter((function(t,n){var r=a+n;O(e,r,t,u)})),r.forEachChild((function(r,i){M(e,t,n.concat(i),r,o)}))}function w(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=N(n,r,o),a=i.payload,s=i.options,c=i.type;if(s&&s.root||(c=t+c,e._actions[c]))return e.dispatch(c,a);console.error("[vuex] unknown local action type: "+i.type+", global type: "+c)},commit:r?e.commit:function(n,r,o){var i=N(n,r,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=t+c,e._mutations[c])?e.commit(c,a,s):console.error("[vuex] unknown local mutation type: "+i.type+", global type: "+c)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Z(e,t)}},state:{get:function(){return R(e.state,n)}}}),o}function Z(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function D(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))}function A(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return l(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}function O(e,t,n,r){e._wrappedGetters[t]?console.error("[vuex] duplicate getter key: "+t):e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}function X(e){e._vm.$watch((function(){return this._data.$$state}),(function(){f(e._committing,"do not mutate vuex store state outside mutation handlers.")}),{deep:!0,sync:!0})}function R(e,t){return t.reduce((function(e,t){return e[t]}),e)}function N(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),f("string"===typeof e,"expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:n}}function E(e){g&&e===g?console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(g=e,n(g))}L.state.get=function(){return this._vm._data.$$state},L.state.set=function(e){f(!1,"use store.replaceState() to explicit replace store state.")},_.prototype.commit=function(e,t,n){var r=this,o=N(e,t,n),i=o.type,a=o.payload,s=o.options,c={type:i,payload:a},u=this._mutations[i];u?(this._withCommit((function(){u.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(c,r.state)})),s&&s.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")):console.error("[vuex] unknown mutation type: "+i)},_.prototype.dispatch=function(e,t){var n=this,r=N(e,t),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){console.warn("[vuex] error in before action subscribers: "),console.error(u)}var c=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);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){console.warn("[vuex] error in after action subscribers: "),console.error(u)}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){console.warn("[vuex] error in error action subscribers: "),console.error(u)}t(e)}))}))}console.error("[vuex] unknown action type: "+o)},_.prototype.subscribe=function(e,t){return P(e,this._subscribers,t)},_.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return P(n,this._actionSubscribers,t)},_.prototype.watch=function(e,t,n){var r=this;return f("function"===typeof e,"store.watch only accepts a function."),this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},_.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},_.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),f(Array.isArray(e),"module path must be a string or an Array."),f(e.length>0,"cannot register the root module by using registerModule."),this._modules.register(e,t),M(this,this.state,e,this._modules.get(e),n.preserveState),T(this,this.state)},_.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),f(Array.isArray(e),"module path must be a string or an Array."),this._modules.unregister(e),this._withCommit((function(){var n=R(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),Y(this)},_.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),f(Array.isArray(e),"module path must be a string or an Array."),this._modules.isRegistered(e)},_.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),Y(this,!0)},_.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(_.prototype,L);var J=Q((function(e,t){var n={};return G(t)||console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),I(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=j(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),H=Q((function(e,t){var n={};return G(t)||console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),I(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=j(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),B=Q((function(e,t){var n={};return G(t)||console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),I(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||j(this.$store,"mapGetters",e)){if(o in this.$store.getters)return this.$store.getters[o];console.error("[vuex] unknown getter: "+o)}},n[r].vuex=!0})),n})),k=Q((function(e,t){var n={};return G(t)||console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),I(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=j(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),F=function(e){return{mapState:J.bind(null,e),mapGetters:B.bind(null,e),mapMutations:H.bind(null,e),mapActions:k.bind(null,e)}};function I(e){return G(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 G(e){return Array.isArray(e)||u(e)}function Q(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function j(e,t,n){var r=e._modulesNamespaceMap[n];return r||console.error("[vuex] module namespace not found in "+t+"(): "+n),r}function W(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 i=e.actionFilter;void 0===i&&(i=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=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=s(e.state);"undefined"!==typeof l&&(c&&e.subscribe((function(e,i){var a=s(i);if(n(e,f,a)){var c=K(),u=o(e),d="mutation "+e.type+c;$(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(a)),U(l)}f=a})),u&&e.subscribeAction((function(e,n){if(i(e,n)){var r=K(),o=a(e),s="action "+e.type+r;$(l,s,t),l.log("%c action","color: #03A9F4; font-weight: bold",o),U(l)}})))}}function $(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(o){e.log(t)}}function U(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function K(){var e=new Date;return" @ "+V(e.getHours(),2)+":"+V(e.getMinutes(),2)+":"+V(e.getSeconds(),2)+"."+V(e.getMilliseconds(),3)}function z(e,t){return new Array(t+1).join(e)}function V(e,t){return z("0",t-e.toString().length)+e}var q={Store:_,install:E,version:"3.6.2",mapState:J,mapMutations:H,mapGetters:B,mapActions:k,createNamespacedHelpers:F,createLogger:W};e.exports=q}).call(this,n(3))},35: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}},o=r;t.default=o},36:function(e,t,n){var r={"./app.js":37};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=36},37:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={user:{},organization:{},project:{},codeNumber:60,identity:{},coordinates:"116.38,39.9",activeCity:{cityName:"北京市",cityCode:"110100"}},o={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}},i={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)}},a={namespaced:!0,state:r,mutations:o,actions:i};t.default=a},38:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.dayjs=void 0;var o=r(n(13)),i=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",a="minute",s="hour",c="day",u="week",l="month",f="quarter",d="year",p="date",h="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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])+"]"}},m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+m(r,2,"0")+":"+m(o,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()),o=t.clone().add(r,l),i=n-o<0,a=t.clone().add(r+(i?-1:1),l);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:u,d:c,D:p,h:s,m:a,s:i,ms:r,Q:f}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},S="en",x={};x[S]=g;var C=function(e){return e instanceof Y},_=function e(t,n,r){var o;if(!t)return S;if("string"==typeof t){var i=t.toLowerCase();x[i]&&(o=i),n&&(x[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;x[s]=t,o=s}return!r&&o&&(S=o),o||!r&&S},L=function(e,t){if(C(e))return e.clone();var n="object"==(0,o.default)(t)?t:{};return n.date=e,n.args=arguments,new Y(n)},P=b;P.l=_,P.i=C,P.w=function(e,t){return L(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var Y=function(){function o(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=o.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(P.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(y);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}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 P},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var n=L(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return L(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<L(e)},g.$g=function(e,t,n){return P.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,r=!!P.u(t)||t,o=P.p(e),f=function(e,t){var o=P.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(c)},h=function(e,t){return P.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},y=this.$W,v=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(o){case d:return r?f(1,0):f(31,11);case l:return r?f(1,v):f(0,v+1);case u:var b=this.$locale().weekStart||0,S=(y<b?y+7:y)-b;return f(r?g-S:g+(6-S),v);case c:case p:return h(m+"Hours",0);case s:return h(m+"Minutes",1);case a:return h(m+"Seconds",2);case i:return h(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,o=P.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[c]=u+"Date",n[p]=u+"Date",n[l]=u+"Month",n[d]=u+"FullYear",n[s]=u+"Hours",n[a]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[o],h=o===c?this.$D+(t-this.$W):t;if(o===l||o===d){var y=this.clone().set(p,1);y.$d[f](h),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[P.p(e)]()},g.add=function(r,o){var f,p=this;r=Number(r);var h=P.p(o),y=function(e){var t=L(p);return P.w(t.date(t.date()+Math.round(e*r)),p)};if(h===l)return this.set(l,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===c)return y(1);if(h===u)return y(7);var v=(f={},f[a]=t,f[s]=n,f[i]=e,f)[h]||1,g=this.$d.getTime()+r*v;return P.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||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=P.z(this),i=this.$H,a=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,f=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},d=function(e){return P.s(i%12||12,e,"0")},p=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(v,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return P.s(t.$y,4,"0");case"M":return s+1;case"MM":return P.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 P.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(i);case"HH":return P.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(i,a,!0);case"A":return p(i,a,!1);case"m":return String(a);case"mm":return P.s(a,2,"0");case"s":return String(t.$s);case"ss":return P.s(t.$s,2,"0");case"SSS":return P.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,o,p){var h,y=this,v=P.p(o),g=L(r),m=(g.utcOffset()-this.utcOffset())*t,b=this-g,S=function(){return P.m(y,g)};switch(v){case d:h=S()/12;break;case l:h=S();break;case f:h=S()/3;break;case u:h=(b-m)/6048e5;break;case c:h=(b-m)/864e5;break;case s:h=b/n;break;case a:h=b/t;break;case i:h=b/e;break;default:h=b}return p?h:P.a(h)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return x[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 P.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()},o}(),T=Y.prototype;return L.prototype=T,[["$ms",r],["$s",i],["$m",a],["$H",s],["$W",c],["$M",l],["$y",d],["$D",p]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),L.extend=function(e,t){return e.$i||(e(t,Y,L),e.$i=!0),L},L.locale=_,L.isDayjs=C,L.unix=function(e){return L(1e3*e)},L.en=x[S],L.Ls=x,L.p={},L},a=i();t.dayjs=a},39:function(e,t,n){"use strict";e.exports=n(40)},4:function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},40:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return r=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])},r(e,t)};function o(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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i,a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function s(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 c(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}function u(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function l(e){var t;re(e,null===(t=O())||void 0===t?void 0:t.proxy)}var f=[],d=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()}else l("cannot run an inactive effect scope.")},e.prototype.on=function(){this.active&&(f.push(this),i=this)},e.prototype.off=function(){this.active&&(f.pop(),i=f[f.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}(),p=function(e){function t(t){void 0===t&&(t=!1);var n=this,r=void 0;return D((function(){r=se(M())})),n=e.call(this,r)||this,t||h(n),n}return o(t,e),t}(d);function h(e,t){var n;if(t=t||i,t&&t.active)t.effects.push(e);else{var r=null===(n=O())||void 0===n?void 0:n.proxy;r&&r.$on("hook:destroyed",(function(){return e.stop()}))}}function y(e){return new p(e)}function v(){return i}function g(e){i?i.cleanups.push(e):l("onScopeDispose() is called when there is no active effect scope to be associated with.")}function m(){var e,t;return(null===(e=v())||void 0===e?void 0:e.vm)||(null===(t=O())||void 0===t?void 0:t.proxy)}function b(e){if(!e.scope){var t=new d(e.proxy);e.scope=t,e.proxy.$on("hook:destroyed",(function(){return t.stop()}))}return e.scope}var S=void 0;try{var x=n(25);x&&Y(x)?S=x:x&&"default"in x&&Y(x.default)&&(S=x.default)}catch(sn){}var C=null,_=null,L=!0,P="__composition_api_installed__";function Y(e){return e&&te(e)&&"Vue"===e.name}function T(e){return C&&F(e,P)}function M(){return I(C,"must call Vue.use(VueCompositionAPI) before using any function."),C}function w(){var e=C||S;return I(e,"No vue dependency found."),e}function Z(e){C&&e.__proto__!==C.__proto__&&re("[vue-composition-api] another instance of Vue installed"),C=e,Object.defineProperty(e,P,{configurable:!0,writable:!0,value:!0})}function D(e){var t=L;L=!1;try{e()}finally{L=t}}function A(e){if(L){var t=_;null===t||void 0===t||t.scope.off(),_=e,null===_||void 0===_||_.scope.on()}}function O(){return _}var X=new WeakMap;function R(e){if(X.has(e))return X.get(e);var t={proxy:e,update:e.$forceUpdate,type:e.$options,uid:e._uid,emit:e.$emit.bind(e),parent:null,root:null};b(t);var n=["data","props","attrs","refs","vnode","slots"];return n.forEach((function(n){B(t,n,{get:function(){return e["$".concat(n)]}})})),B(t,"isMounted",{get:function(){return e._isMounted}}),B(t,"isUnmounted",{get:function(){return e._isDestroyed}}),B(t,"isDeactivated",{get:function(){return e._inactive}}),B(t,"emitted",{get:function(){return e._events}}),X.set(e,t),e.$parent&&(t.parent=R(e.$parent)),e.$root&&(t.root=R(e.$root)),t}var N=function(e){return Object.prototype.toString.call(e)};function E(e){return"function"===typeof e&&/native code/.test(e.toString())}var J="undefined"!==typeof Symbol&&E(Symbol)&&"undefined"!==typeof Reflect&&E(Reflect.ownKeys),H=function(e){return e};function B(e,t,n){var r=n.get,o=n.set;Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:r||H,set:o||H})}function k(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function F(e,t){return Object.hasOwnProperty.call(e,t)}function I(e,t){if(!e)throw new Error("[vue-composition-api] ".concat(t))}function G(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function Q(e){return Array.isArray(e)}var j,W=Object.prototype.toString,$=function(e){return W.call(e)},U=function(e){return"[object Map]"===$(e)},K=function(e){return"[object Set]"===$(e)},z=4294967295;function V(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)&&t<=z}function q(e){return null!==e&&"object"===typeof e}function ee(e){return"[object Object]"===N(e)}function te(e){return"function"===typeof e}function ne(e){return void 0===e||null===e}function re(e,t){var n=w();n&&n.util?n.util.warn(e,t):console.warn("[vue-composition-api] ".concat(e))}function oe(e,t,n){if(re("Error in ".concat(n,': "').concat(e.toString(),'"'),t),"undefined"===typeof window||"undefined"===typeof console)throw e;console.error(e)}function ie(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function ae(e,t){return t=t||O(),t||re("".concat(e," is called when there is no active component instance to be ")+"associated with. Lifecycle injection APIs can only be used during execution of setup()."),t}function se(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 ce(e){var t=M();return t&&e instanceof t}function ue(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.$scopedSlots[t]?e.$scopedSlots[t].apply(e,n):re("slots.".concat(t,'() got called outside of the "render()" scope'),e)}}function le(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}var fe=function(){if(!j){var e=se(M(),{computed:{value:function(){return 0}}}),t=e._computedWatchers.value.constructor,n=e._data.__ob__.dep.constructor;j={Watcher:t,Dep:n},e.$destroy()}return j};function de(e){return J?Symbol.for(e):e}var pe=de("composition-api.preFlushQueue"),he=de("composition-api.postFlushQueue"),ye="composition-api.refKey",ve=new WeakMap,ge=new WeakMap,me=new WeakMap;function be(e,t,n){var r=M(),o=r.util,i=o.warn,a=o.defineReactive;(ne(e)||G(e))&&i("Cannot set reactive property on undefined, null, or primitive value: ".concat(e));var s=e.__ob__;function c(){s&&q(n)&&!F(n,"__ob__")&&Be(n)}if(Q(e)){if(V(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),c(),n;if("length"===t&&n!==e.length)return e.length=n,null===s||void 0===s||s.dep.notify(),n}return t in e&&!(t in Object.prototype)?(e[t]=n,c(),n):e._isVue||s&&s.vmCount?(i("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):s?(a(s.value,t,n),Je(e,t,n),c(),s.dep.notify(),n):(e[t]=n,n)}var Se=!1;function xe(){return Se}function Ce(e){Se=e}var _e=function(){function e(e){var t=e.get,n=e.set;B(this,"value",{get:t,set:n})}return e}();function Le(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=new _e(e);n&&(r.effect=!0);var o=Object.seal(r);return t&&me.set(o,!0),o}function Pe(e){var t;if(Ye(e))return e;var n=Ge((t={},t[ye]=e,t));return Le({get:function(){return n[ye]},set:function(e){return n[ye]=e}})}function Ye(e){return e instanceof _e}function Te(e){return Ye(e)?e.value:e}function Me(e){if(Ne(e)||re("toRefs() expects a reactive object but received a plain one."),!ee(e))return e;var t={};for(var n in e)t[n]=Ze(e,n);return t}function we(e){var t=Pe(0);return Le(e((function(){t.value}),(function(){++t.value})))}function Ze(e,t){t in e||be(e,t,void 0);var n=e[t];return Ye(n)?n:Le({get:function(){return e[t]},set:function(n){return e[t]=n}})}function De(e){var t;if(Ye(e))return e;var n=Ie((t={},t[ye]=e,t));return Le({get:function(){return n[ye]},set:function(e){return n[ye]=e}})}function Ae(e){Ye(e)&&(Ce(!0),e.value=e.value,Ce(!1))}function Oe(e){var t,n,r;if(Ne(e))return e;var o=Ge((t={},t[ye]=e,t));k(o,ye,o[ye],!1);var i=function(e){B(o,e,{get:function(){return Ye(o[ye][e])?o[ye][e].value:o[ye][e]},set:function(t){if(Ye(o[ye][e]))return o[ye][e].value=Te(t);o[ye][e]=Te(t)}})};try{for(var a=s(Object.keys(e)),c=a.next();!c.done;c=a.next()){var u=c.value;i(u)}}catch(l){n={error:l}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}var Xe="__v_skip";function Re(e){var t;return Boolean(e&&F(e,"__ob__")&&"object"===typeof e.__ob__&&(null===(t=e.__ob__)||void 0===t?void 0:t[Xe]))}function Ne(e){var t;return Boolean(e&&F(e,"__ob__")&&"object"===typeof e.__ob__&&!(null===(t=e.__ob__)||void 0===t?void 0:t[Xe]))}function Ee(e){if(!(!ee(e)||Re(e)||Q(e)||Ye(e)||ce(e)||ve.has(e))){ve.set(e,!0);for(var t=Object.keys(e),n=0;n<t.length;n++)Je(e,t[n])}}function Je(e,t,n){if("__ob__"!==t&&!Re(e[t])){var r,o,i=Object.getOwnPropertyDescriptor(e,t);if(i){if(!1===i.configurable)return;r=i.get,o=i.set,r&&!o||2!==arguments.length||(n=e[t])}Ee(n),B(e,t,{get:function(){var o=r?r.call(e):n;return t!==ye&&Ye(o)?o.value:o},set:function(i){r&&!o||(t!==ye&&Ye(n)&&!Ye(i)?n.value=i:o?(o.call(e,i),n=i):n=i,Ee(i))}})}}function He(e){var t,n=w();if(n.observable)t=n.observable(e);else{var r=se(n,{data:{$$state:e}});t=r._data.$$state}return F(t,"__ob__")||Be(t),t}function Be(e,t){var n,r;if(void 0===t&&(t=new Set),!t.has(e)&&!F(e,"__ob__")&&Object.isExtensible(e)){k(e,"__ob__",ke(e)),t.add(e);try{for(var o=s(Object.keys(e)),i=o.next();!i.done;i=o.next()){var a=i.value,c=e[a];(ee(c)||Q(c))&&!Re(c)&&Object.isExtensible(c)&&Be(c,t)}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}}function ke(e){return void 0===e&&(e={}),{value:e,dep:{notify:H,depend:H,addSub:H,removeSub:H}}}function Fe(){return He({}).__ob__}function Ie(e){var t,n;if(!q(e))return re('"shallowReactive()" must be called on an object.'),e;if(!ee(e)&&!Q(e)||Re(e)||!Object.isExtensible(e))return e;var r=He(Q(e)?[]:{}),o=r.__ob__,i=function(t){var n,i,a=e[t],s=Object.getOwnPropertyDescriptor(e,t);if(s){if(!1===s.configurable)return"continue";n=s.get,i=s.set}B(r,t,{get:function(){var e;return null===(e=o.dep)||void 0===e||e.depend(),a},set:function(t){var r;n&&!i||(xe()||a!==t)&&(i?i.call(e,t):a=t,null===(r=o.dep)||void 0===r||r.notify())}})};try{for(var a=s(Object.keys(e)),c=a.next();!c.done;c=a.next()){var u=c.value;i(u)}}catch(l){t={error:l}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r}function Ge(e){if(!q(e))return re('"reactive()" must be called on an object.'),e;if(!ee(e)&&!Q(e)||Re(e)||!Object.isExtensible(e))return e;var t=He(e);return Ee(t),t}function Qe(e){if(!ee(e)&&!Q(e)||!Object.isExtensible(e))return e;var t=Fe();return t[Xe]=!0,k(e,"__ob__",t),ge.set(e,!0),e}function je(e){var t;return Re(e)||!Object.isExtensible(e)?e:(null===(t=null===e||void 0===e?void 0:e.__ob__)||void 0===t?void 0:t.value)||e}function We(e){return me.has(e)}function $e(e){return q(e)?me.set(e,!0):re("value cannot be made reactive: ".concat(String(e))),e}function Ue(e){var t,n;if(!q(e))return re("value cannot be made reactive: ".concat(String(e))),e;if(!ee(e)&&!Q(e)||!Object.isExtensible(e)&&!Ye(e))return e;var r=Ye(e)?new _e({}):Ne(e)?He({}):{},o=Ge({}),i=o.__ob__,a=function(t){var n,o=e[t],a=Object.getOwnPropertyDescriptor(e,t);if(a){if(!1===a.configurable&&!Ye(e))return"continue";n=a.get}B(r,t,{get:function(){var t=n?n.call(e):o;return i.dep.depend(),t},set:function(e){re('Set operation on key "'.concat(t,'" failed: target is readonly.'))}})};try{for(var c=s(Object.keys(e)),u=c.next();!u.done;u=c.next()){var l=u.value;a(l)}}catch(f){t={error:f}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}return me.set(r,!0),r}function Ke(e,t){var n=M(),r=n.util.warn;if((ne(e)||G(e))&&r("Cannot delete reactive property on undefined, null, or primitive value: ".concat(e)),Q(e)&&V(t))e.splice(t,1);else{var o=e.__ob__;e._isVue||o&&o.vmCount?r("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):F(e,t)&&(delete e[t],o&&o.dep.notify())}}var ze=function(e){return"on".concat(e[0].toUpperCase()+e.slice(1))};function Ve(e){return function(t,n){var r=ae(ze(e),n);return r&&qe(M(),r,e,t)}}function qe(e,t,n,r){var o=t.proxy.$options,i=e.config.optionMergeStrategies[n],a=et(t,r);return o[n]=i(o[n],a),a}function et(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=O();A(e);try{return t.apply(void 0,u([],c(n),!1))}finally{A(o)}}}var tt,nt=Ve("beforeMount"),rt=Ve("mounted"),ot=Ve("beforeUpdate"),it=Ve("updated"),at=Ve("beforeDestroy"),st=Ve("destroyed"),ct=Ve("errorCaptured"),ut=Ve("activated"),lt=Ve("deactivated"),ft=Ve("serverPrefetch");function dt(){bt(this,pe)}function pt(){bt(this,he)}function ht(e){return void 0!==e[pe]}function yt(e){e[pe]=[],e[he]=[],e.$on("hook:beforeUpdate",dt),e.$on("hook:updated",pt)}function vt(e){return a({immediate:!1,deep:!1,flush:"pre"},e)}function gt(e){return a({flush:"pre"},e)}function mt(){var e=m();return e?ht(e)||yt(e):(tt||(tt=se(M())),e=tt),e}function bt(e,t){for(var n=e[t],r=0;r<n.length;r++)n[r]();n.length=0}function St(e,t,n){var r=function(){e.$nextTick((function(){e[pe].length&&bt(e,pe),e[he].length&&bt(e,he)}))};switch(n){case"pre":r(),e[pe].push(t);break;case"post":r(),e[he].push(t);break;default:I(!1,'flush must be one of ["post", "pre", "sync"], but got '.concat(n));break}}function xt(e,t,n,r){var o=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[o]}function Ct(e,t){var n=e.teardown;e.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.apply(e,r),t()}}function _t(e,t,n,r){var o;n||(void 0!==r.immediate&&re('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==r.deep&&re('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));var i,a=r.flush,s="sync"===a,l=function(t){i=function(){try{t()}catch(n){oe(n,e,"onCleanup()")}}},f=function(){i&&(i(),i=null)},d=function(t){return s||e===tt?t:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return St(e,(function(){t.apply(void 0,u([],c(n),!1))}),a)}};if(null===n){var p=!1,h=function(){if(!p)try{p=!0,t(l)}finally{p=!1}},y=xt(e,h,H,{deep:r.deep||!1,sync:s,before:f});Ct(y,f),y.lazy=!1;var v=y.get.bind(y);return y.get=d(v),function(){y.teardown()}}var g,m=r.deep,b=!1;if(Ye(t)?g=function(){return t.value}:Ne(t)?(g=function(){return t},m=!0):Q(t)?(b=!0,g=function(){return t.map((function(t){return Ye(t)?t.value:Ne(t)?Mt(t):te(t)?t():(re("Invalid watch source: ".concat(JSON.stringify(t),".\n A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."),e),H)}))}):te(t)?g=t:(g=H,re("Invalid watch source: ".concat(JSON.stringify(t),".\n A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."),e)),m){var S=g;g=function(){return Mt(S())}}var x=function(e,t){if(m||!b||!e.every((function(e,n){return ie(e,t[n])})))return f(),n(e,t,l)},C=d(x);if(r.immediate){var _=C,L=function(e,t){return L=_,x(e,Q(e)?[]:t)};C=function(e,t){return L(e,t)}}var P=e.$watch(g,C,{immediate:r.immediate,deep:m,sync:s}),Y=e._watchers[e._watchers.length-1];return Ne(Y.value)&&(null===(o=Y.value.__ob__)||void 0===o?void 0:o.dep)&&m&&Y.value.__ob__.dep.addSub({update:function(){Y.run()}}),Ct(Y,f),function(){P()}}function Lt(e,t){var n=gt(t),r=mt();return _t(r,e,null,n)}function Pt(e){return Lt(e,{flush:"post"})}function Yt(e){return Lt(e,{flush:"sync"})}function Tt(e,t,n){var r=null;te(t)?r=t:(re("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),n=t,r=null);var o=vt(n),i=mt();return _t(i,e,r,o)}function Mt(e,t){if(void 0===t&&(t=new Set),!q(e)||t.has(e)||ge.has(e))return e;if(t.add(e),Ye(e))Mt(e.value,t);else if(Q(e))for(var n=0;n<e.length;n++)Mt(e[n],t);else if(K(e)||U(e))e.forEach((function(e){Mt(e,t)}));else if(ee(e))for(var r in e)Mt(e[r],t);return e}function wt(e){var t,n,r,o,i=m();if(te(e)?t=e:(t=e.get,n=e.set),i&&!i.$isServer){var a,s=fe(),c=s.Watcher,u=s.Dep;o=function(){return a||(a=new c(i,t,H,{lazy:!0})),a.dirty&&a.evaluate(),u.target&&a.depend(),a.value},r=function(e){n?n&&n(e):re("Write operation failed: computed value is readonly.",i)}}else{var l=se(M(),{computed:{$$state:{get:t,set:n}}});i&&i.$on("hook:destroyed",(function(){return l.$destroy()})),o=function(){return l.$$state},r=function(e){n?l.$$state=e:re("Write operation failed: computed value is readonly.",i)}}return Le({get:o,set:r},!n,!0)}var Zt={};function Dt(e,t){var n=t;while(n){if(n._provided&&F(n._provided,e))return n._provided[e];n=n.$parent}return Zt}function At(e,t){var n,r=null===(n=ae("provide"))||void 0===n?void 0:n.proxy;if(r){if(!r._provided){var o={};B(r,"_provided",{get:function(){return o},set:function(e){return Object.assign(o,e)}})}r._provided[e]=t}}function Ot(e,t,n){var r;void 0===n&&(n=!1);var o=null===(r=O())||void 0===r?void 0:r.proxy;if(o){if(!e)return re('injection "'.concat(String(e),'" not found.'),o),t;var i=Dt(e,o);return i!==Zt?i:arguments.length>1?n&&te(t)?t():t:void re('Injection "'.concat(String(e),'" not found.'),o)}re("inject() can only be used inside setup() or functional components.")}var Xt=Object.freeze({}),Rt=function(e){var t;void 0===e&&(e="$style");var n=O();if(!n)return re("useCssModule must be called inside setup()"),Xt;var r=null===(t=n.proxy)||void 0===t?void 0:t[e];return r||(re('Current instance does not have CSS module named "'.concat(e,'".')),Xt)},Nt=Rt;function Et(e,t){void 0===t&&(t=void 0);var n=M(),r=void 0,o={},i={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(e,t){return o[e]=t,this},directive:function(e,t){return t?(n.directive(e,t),i):n.directive(e)},mount:function(i,s){return r?(re("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`"),r):(r=new n(a(a({propsData:t},e),{provide:a(a({},o),e.provide)})),r.$mount(i,s),r)},unmount:function(){r?(r.$destroy(),r=void 0):re("Cannot unmount an app that is not mounted.")}};return i}var Jt,Ht=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return null===(e=M())||void 0===e?void 0:e.nextTick.apply(this,t)},Bt=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=(null===this||void 0===this?void 0:this.proxy)||(null===(e=O())||void 0===e?void 0:e.proxy);return r?r.$createElement.apply(r,t):(re("`createElement()` has been called outside of render function."),Jt||(Jt=se(M()).$createElement),Jt.apply(Jt,t))};function kt(){return It().slots}function Ft(){return It().attrs}function It(){var e=O();return e||re("useContext() called without active instance."),e.setupContext}function Gt(e,t,n){var r=e.__composition_api_state__=e.__composition_api_state__||{};r[t]=n}function Qt(e,t){return(e.__composition_api_state__||{})[t]}var jt={set:Gt,get:Qt};function Wt(e,t,n){var r=e.$options.props;t in e||r&&F(r,t)?r&&F(r,t)?re('The setup binding property "'.concat(t,'" is already declared as a prop.'),e):re('The setup binding property "'.concat(t,'" is already declared.'),e):(Ye(n)?B(e,t,{get:function(){return n.value},set:function(e){n.value=e}}):B(e,t,{get:function(){return Ne(n)&&n.__ob__.dep.depend(),n},set:function(e){n=e}}),e.$nextTick((function(){-1===Object.keys(e._data).indexOf(t)&&(Ye(n)?B(e._data,t,{get:function(){return n.value},set:function(e){n.value=e}}):B(e._data,t,{get:function(){return n},set:function(e){n=e}}))})))}function $t(e){var t=jt.get(e,"rawBindings")||{};if(t&&Object.keys(t).length){for(var n=e.$refs,r=jt.get(e,"refs")||[],o=0;o<r.length;o++){var i=r[o],a=t[i];!n[i]&&a&&Ye(a)&&(a.value=null)}var s=Object.keys(n),c=[];for(o=0;o<s.length;o++){i=s[o],a=t[i];n[i]&&a&&Ye(a)&&(a.value=n[i],c.push(i))}jt.set(e,"refs",c)}}function Ut(e){var t,n=[e._vnode];while(n.length){var r=n.pop();if(r&&(r.context&&($t(r.context),t=!0),r.children))for(var o=0;o<r.children.length;++o)n.push(r.children[o])}t||$t(e)}function Kt(e,t){var n,r;if(e){var o=jt.get(e,"attrBindings");if(o||t){if(!o){var i=Ge({});o={ctx:t,data:i},jt.set(e,"attrBindings",o),B(t,"attrs",{get:function(){return null===o||void 0===o?void 0:o.data},set:function(){re("Cannot assign to '$attrs' because it is a read-only property",e)}})}var a=e.$attrs,c=function(t){F(o.data,t)||B(o.data,t,{get:function(){return e.$attrs[t]}})};try{for(var u=s(Object.keys(a)),l=u.next();!l.done;l=u.next()){var f=l.value;c(f)}}catch(d){n={error:d}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}}}function zt(e,t){var n=e.$options._parentVnode;if(n){for(var r=jt.get(e,"slots")||[],o=le(n.data.scopedSlots,e.$slots),i=0;i<r.length;i++){var a=r[i];o[a]||delete t[a]}var s=Object.keys(o);for(i=0;i<s.length;i++){a=s[i];t[a]||(t[a]=ue(e,a))}jt.set(e,"slots",s)}}function Vt(e,t,n){var r=O();A(e);try{return t(e)}catch(o){if(!n)throw o;n(o)}finally{A(r)}}function qt(e){function t(){var e=this,t=e.$options,r=t.setup,o=t.render;if(o&&(t.render=function(){for(var t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return Vt(R(e),(function(){return o.apply(t,n)}))}),r)if(te(r)){var i=t.data;t.data=function(){return n(e,e.$props),te(i)?i.call(e,e):i||{}}}else re('The "setup" option should be a function that returns a object in component definitions.',e)}function n(e,t){void 0===t&&(t={});var n,a=e.$options.setup,s=i(e),c=R(e);if(c.setupContext=s,k(t,"__ob__",Fe()),zt(e,s.slots),Vt(c,(function(){n=a(t,s)})),n)if(te(n)){var u=n;e.$options.render=function(){return zt(e,s.slots),Vt(c,(function(){return u()}))}}else if(q(n)){Ne(n)&&(n=Me(n)),jt.set(e,"rawBindings",n);var l=n;Object.keys(l).forEach((function(t){var n=l[t];if(!Ye(n))if(Ne(n))Q(n)&&(n=Pe(n));else if(te(n)){var i=n;n=n.bind(e),Object.keys(i).forEach((function(e){n[e]=i[e]}))}else q(n)?o(n)&&r(n):n=Pe(n);Wt(e,t,n)}))}else I(!1,'"setup" must return a "Object" or a "Function", got "'.concat(Object.prototype.toString.call(n).slice(8,-1),'"'))}function r(e,t){if(void 0===t&&(t=new Set),!t.has(e)&&ee(e)&&!Ye(e)&&!Ne(e)&&!Re(e)){var n=M(),o=n.util.defineReactive;Object.keys(e).forEach((function(n){var i=e[n];o(e,n,i),i&&(t.add(i),r(i,t))}))}}function o(e,t){return void 0===t&&(t=new Map),t.has(e)?t.get(e):(t.set(e,!1),Q(e)&&Ne(e)?(t.set(e,!0),!0):!(!ee(e)||Re(e)||Ye(e))&&Object.keys(e).some((function(n){return o(e[n],t)})))}function i(e){var t={slots:{}},n=["root","parent","refs","listeners","isServer","ssrContext"],r=["emit"];return n.forEach((function(n){var r="$".concat(n);B(t,n,{get:function(){return e[r]},set:function(){re("Cannot assign to '".concat(n,"' because it is a read-only property"),e)}})})),Kt(e,t),r.forEach((function(n){var r="$".concat(n);B(t,n,{get:function(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=e[r];o.apply(e,t)}}})})),t}e.mixin({beforeCreate:t,mounted:function(){Ut(this)},beforeUpdate:function(){Kt(this)},updated:function(){Ut(this)}})}function en(e,t){if(!e)return t;if(!t)return e;for(var n,r,o,i=J?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)n=i[a],"__ob__"!==n&&(r=t[n],o=e[n],F(t,n)?r!==o&&ee(r)&&!Ye(r)&&ee(o)&&!Ye(o)&&en(o,r):t[n]=o);return t}function tn(e){T(e)?re("[vue-composition-api] already installed. Vue.use(VueCompositionAPI) should be called only once."):(e.version?"2"===e.version[0]&&"."===e.version[1]||re("[vue-composition-api] only works with Vue 2, v".concat(e.version," found.")):re("[vue-composition-api] no Vue version found"),e.config.optionMergeStrategies.setup=function(e,t){return function(n,r){return en(te(e)?e(n,r)||{}:void 0,te(t)?t(n,r)||{}:void 0)}},Z(e),qt(e))}var nn={install:function(e){return tn(e)}};function rn(e){return e}function on(e){te(e)&&(e={loader:e});var t=e.loader,n=e.loadingComponent,r=e.errorComponent,o=e.delay,i=void 0===o?200:o,a=e.timeout,s=e.suspensible,c=void 0!==s&&s,u=e.onError;c&&re("The suspensiblbe option for async components is not supported in Vue2. It is ignored.");var l=null,f=0,d=function(){return f++,l=null,p()},p=function(){var e;return l||(e=l=t().catch((function(e){if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise((function(t,n){var r=function(){return t(d())},o=function(){return n(e)};u(e,r,o,f+1)}));throw e})).then((function(t){if(e!==l&&l)return l;if(t||re("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),t&&!q(t)&&!te(t))throw new Error("Invalid async component load result: ".concat(t));return t})))};return function(){var e=p();return{component:e,delay:i,timeout:a,error:r,loading:n}}}var an="1.7.0";"undefined"!==typeof window&&window.Vue&&window.Vue.use(nn),t.EffectScope=p,t.computed=wt,t.createApp=Et,t.createLifeCycle=Ve,t.createRef=Le,t.customRef=we,t["default"]=nn,t.defineAsyncComponent=on,t.defineComponent=rn,t.del=Ke,t.effectScope=y,t.getCurrentInstance=O,t.getCurrentScope=v,t.h=Bt,t.inject=Ot,t.isRaw=Re,t.isReactive=Ne,t.isReadonly=We,t.isRef=Ye,t.markRaw=Qe,t.nextTick=Ht,t.onActivated=ut,t.onBeforeMount=nt,t.onBeforeUnmount=at,t.onBeforeUpdate=ot,t.onDeactivated=lt,t.onErrorCaptured=ct,t.onMounted=rt,t.onScopeDispose=g,t.onServerPrefetch=ft,t.onUnmounted=st,t.onUpdated=it,t.provide=At,t.proxyRefs=Oe,t.reactive=Ge,t.readonly=$e,t.ref=Pe,t.set=be,t.shallowReactive=Ie,t.shallowReadonly=Ue,t.shallowRef=De,t.toRaw=je,t.toRef=Ze,t.toRefs=Me,t.triggerRef=Ae,t.unref=Te,t.useAttrs=Ft,t.useCSSModule=Nt,t.useCssModule=Rt,t.useSlots=kt,t.version=an,t.warn=l,t.watch=Tt,t.watchEffect=Lt,t.watchPostEffect=Pt,t.watchSyncEffect=Yt},408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[{name:"101空调",type:"aircondition",isOpen:!1,positionName:"办公室101",describe:"制热 26°C",state:1,iconName:"icon-kongtiao",iconSize:"40"},{name:"102空调",type:"aircondition",isOpen:!0,positionName:"办公室102",describe:"制热 26°C",state:1,iconName:"icon-kongtiao",iconSize:"40"},{name:"103空调",type:"aircondition",isOpen:!0,positionName:"办公室103",describe:"制热 26°C",state:2,iconName:"icon-kongtiao",iconSize:"40"},{name:"101照明",type:"lighting",isOpen:!1,positionName:"办公室101",describe:"关闭",state:1,iconName:"icon-diandeng",iconSize:"36"},{name:"102照明",type:"lighting",isOpen:!1,positionName:"办公室102",describe:"关闭",state:2,iconName:"icon-diandeng",iconSize:"36"},{name:"103照明",type:"lighting",isOpen:!0,positionName:"办公室103",describe:"打开",state:1,iconName:"icon-diandeng",iconSize:"36"},{name:"101电表",type:"meter",isOpen:!0,positionName:"办公室101",describe:"20度",state:1,iconName:"icon-dianbiao",iconSize:"36"},{name:"102电表",type:"meter",isOpen:!0,positionName:"办公室102",describe:"21度",state:2,iconName:"icon-dianbiao",iconSize:"36"},{name:"103电表",type:"meter",isOpen:!0,positionName:"办公室103",describe:"33度",state:1,iconName:"icon-dianbiao",iconSize:"36"},{name:"101水表",type:"water",isOpen:!0,positionName:"办公室101",describe:"20t",state:2,iconName:"icon-shuibiao",iconSize:"36"},{name:"102水表",type:"water",isOpen:!0,positionName:"办公室102",describe:"21t",state:1,iconName:"icon-shuibiao",iconSize:"36"},{name:"103水表",type:"water",isOpen:!0,positionName:"办公室103",describe:"33t",state:1,iconName:"icon-shuibiao",iconSize:"36"},{name:"101环境",type:"environment",isOpen:!0,positionName:"办公室101",describe:"21.2°C",state:2,iconName:"icon-huanjingjiance",iconSize:"36"},{name:"102环境",type:"environment",isOpen:!0,positionName:"办公室102",describe:"21.5°C",state:1,iconName:"icon-huanjingjiance",iconSize:"36"},{name:"103环境",type:"environment",isOpen:!0,positionName:"办公室103",describe:"23.3°C",state:1,iconName:"icon-huanjingjiance",iconSize:"36"},{name:"101门禁",type:"control",isOpen:!0,positionName:"办公室101",describe:"21.2°C",state:2,iconName:"icon-menjinjilu",iconSize:"32"},{name:"102门禁",type:"control",isOpen:!0,positionName:"办公室102",describe:"21.5°C",state:1,iconName:"icon-menjinjilu",iconSize:"32"},{name:"103门禁",type:"control",isOpen:!0,positionName:"办公室103",describe:"23.3°C",state:1,iconName:"icon-menjinjilu",iconSize:"32"}];t.default=r},41:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[{id:1,name:"房屋租赁"},{id:2,name:"知识产权"}],o=[{id:1,name:"纯写字楼"},{id:2,name:"商住两用"},{id:3,name:"商业裙楼"},{id:4,name:"厂房改造"}],i=[{id:1,name:"公对公转账"},{id:2,name:"微信小程序支付"}],a=[{id:1,name:"潜在客户"},{id:2,name:"新增客户"},{id:3,name:"跟进中客户"},{id:4,name:"成交客户"},{id:5,name:"流失客户"}],s=[{id:1,name:"初次接触"},{id:2,name:"沟通中"},{id:3,name:"已成交"},{id:4,name:"失败/放弃"},{id:5,name:"暂不考虑"},{id:6,name:"待定"},{id:7,name:"未联系上"}],c=[{id:1,name:"输入类型"},{id:2,name:"选择类型"},{id:3,name:"日期类型"},{id:4,name:"单选类型"}],u=[{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:"旅游休闲"}],l=[{id:1,name:"固定租金"}],f=[{id:1,name:"按月计费"},{id:2,name:"按季计费"},{id:3,name:"按年计费"}],d=[{id:1,name:"当天提醒"},{id:2,name:"提前一天提醒"},{id:3,name:"提前三天提醒"},{id:4,name:"提前五天提醒"}],p=[{id:1,name:"按天单价计算"}],h=[{id:1,name:"按起始日划分"},{id:2,name:"延迟一日划分"}],y=[{id:1,name:"租金保证金"},{id:2,name:"装修保证金"}],v=[{id:1,name:"人民币CNY"}],g=[{id:1,name:"免租期"}],m=[{id:1,name:"免租期划入租期"}],b=[{id:1,name:"增值税普通发票"},{id:2,name:"增值税电子普通发票"}],S=[{id:1,name:"上门修理"},{id:2,name:"事后维修"},{id:3,name:"紧急抢修"},{id:4,name:"预防性维修"},{id:5,name:"专项修理"},{id:6,name:"网络维修"}],x=[{id:1,name:"日常保洁"},{id:2,name:"垃圾处理"}],C=[{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"}],_={field:{projectType:r,houseType:o,payWay:i,customerType:a,followUpState:s,fieldType:c,industryType:u,rentWay:l,chargingType:f,payTime:d,unnaturalMonthChargingWay:p,leaseTermWay:h,earnestMoneyType:y,currencyType:v,preferentialType:g,preferentialRentFreeWay:m,invoiceType:b,serviceWorkWay:S,clearWorkWay:x,supportingFacilities:C},findTypeName:function(e,t){return L(e,t).name},findTypeNameByList:function(e,t){return t=t||"",t.split(",").map((function(t){return L(e,t)}))}},L=function(e,t){return _.field[e].find((function(e){return e.id==t}))||{id:0,name:"-"}},P=_;t.default=P},42:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=n(43),a=n(44),s=r(n(47)),c=r(n(46)),u=function(t){if(o){var n=i.YeIMUniSDK.getInstance().readyState();3===n?i.YeIMUniSDK.getInstance().connect({userId:o,token:e.getStorageSync("chatToken"),success:function(e){200===e.code&&(f.listenerList(),t&&t())},fail:function(e){l()}}):t&&t()}},l=function(){var t=(new Date).getTime()+864e5,n=(0,s.default)(String(o)+t+"50abd47112ebe8c5a73f4694c96a49ce");(0,a.login)({userId:o,timestamp:t,sign:n}).then((function(t){200===t.code&&(e.setStorageSync("chatToken",t.data.token),u())}))},f={init:function(){e.$YeIMUniSDKDefines=i.YeIMUniSDKDefines,e.$YeIM=i.YeIMUniSDK.init({baseURL:c.default.baseUrl+"/im",socketURL:c.default.socketURL,logLevel:2,reConnectInterval:3e3,reConnectTotal:99,heartInterval:35e3})},connect:function(t){o=t,t&&(e.getStorageSync("chatToken")?u():l())},getConversationList:function(e){u((function(){i.YeIMUniSDK.getInstance().getConversationList({page:1,limit:100,success:e,fail:function(e){console.log("error")}})}))},getHistoryMessageList:function(e,t,n,r){u((function(){i.YeIMUniSDK.getInstance().getHistoryMessageList({nextMessageId:e,conversationId:t,success:n,fail:r})}))},sendImage:function(t,n){u((function(){e.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:function(r){e.getImageInfo({src:r.tempFilePaths[0],success:function(e){var o=i.YeIMUniSDK.getInstance().createImageMessage({toId:t,conversationType:i.YeIMUniSDKDefines.CONVERSATION_TYPE.PRIVATE,body:{file:{tempFilePath:r.tempFilePaths[0],width:e.width,height:e.height}},extra:"",onProgress:function(e){console.log(e)}});i.YeIMUniSDK.getInstance().sendMessage({message:o,success:n,fail:function(e){console.log("error------")}})}})}})}))},sendText:function(e,t,n){u((function(){var r=i.YeIMUniSDK.getInstance().createTextMessage({toId:e,conversationType:i.YeIMUniSDKDefines.CONVERSATION_TYPE.PRIVATE,body:{text:t},extra:""});i.YeIMUniSDK.getInstance().sendMessage({message:r,success:n,fail:function(e){}})}))},disConnect:function(){i.YeIMUniSDK.getInstance().disConnect()},listenerLogin:function(){i.YeIMUniSDK.getInstance().addEventListener(i.YeIMUniSDKDefines.EVENT.KICKED_OUT,(function(){}))},listenerList:function(){u((function(){i.YeIMUniSDK.getInstance().addEventListener(i.YeIMUniSDKDefines.EVENT.CONVERSATION_LIST_CHANGED,(function(t){e.$emit("changeChatList",t)}))}))},clearConversationUnread:function(e){i.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"}))}))}},d=f;t.default=d}).call(this,n(2)["default"])},421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[{name:"101监控",type:"monitor",isOpen:!1,positionName:"办公室101",describe:"在线",state:1,iconName:"icon-bayonet-camera",iconSize:"36"},{name:"102监控",type:"monitor",isOpen:!0,positionName:"办公室102",describe:"在线",state:1,iconName:"icon-bayonet-camera",iconSize:"36"},{name:"103监控",type:"monitor",isOpen:!0,positionName:"办公室103",describe:"在线",state:2,iconName:"icon-bayonet-camera",iconSize:"36"}];t.default=r},43:function(e,t,n){"use strict";(function(e,r){var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.instance=t.YeIMUniSDKDefines=t.YeIMUniSDK=void 0;var i=o(n(13));function a(e){return a="function"==typeof Symbol&&"symbol"==(0,i.default)(Symbol.iterator)?function(e){return(0,i.default)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,i.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||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(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==he.defaults.logLevel)n?console.error("【YeIMUniSDK Log】",t):console.log("【YeIMUniSDK Log】",t);else{if(2==he.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",[]),he.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{he.uni?this.socketTask.onOpen(e):this.socketTask.onopen=e}catch(e){h(0,e,!0)}}},{key:"onClose",value:function(e){try{he.uni?this.socketTask.onClose(e):this.socketTask.onclose=e}catch(e){h(0,e,!0)}}},{key:"onError",value:function(e){try{he.uni?this.socketTask.onError(e):this.socketTask.onerror=e}catch(e){h(0,e,!0)}}},{key:"onMessage",value:function(e){try{he.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(he.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 v(){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 g(){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(v(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(g(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 C(e,t){he.emitter.emit(he.defaults.eventPrefix+e,t)}function _(e,t){e&&he.emitter.on(he.defaults.eventPrefix+e,t)}function L(e,t){e&&he.emitter.off(he.defaults.eventPrefix+e,t)}function P(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function Y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){P(i,r,o,a,s,"next",e)}function s(e){P(i,r,o,a,s,"throw",e)}a(void 0)}))}}var T={},M={get exports(){return T},set exports(e){T=e}},w={};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==(0,i.default)(Symbol.iterator)?function(e){return(0,i.default)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,i.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 w},set exports(e){w=e}}),function(e){var t=w.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={},o=Object.prototype,i=o.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 o=Object.create((t&&t.prototype instanceof y?t:y).prototype),i=new M(r||[]);return a(o,"_invoke",{value:L(e,n,i)}),o}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 v(){}function g(){}var m={};f(m,c,(function(){return this}));var b=Object.getPrototypeOf,S=b&&b(b(w([])));S&&S!==o&&i.call(S,c)&&(m=S);var x=g.prototype=y.prototype=Object.create(m);function C(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,n){function r(o,a,s,c){var u=p(e[o],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==t(f)&&i.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 o;a(this,"_invoke",{value:function(e,t){function i(){return new n((function(n,o){r(e,t,n,o)}))}return o=o?o.then(i,i):i()}})}function L(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return Z()}for(n.method=o,n.arg=i;;){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 o=p(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function Y(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function w(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(i.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:Z}}function Z(){return{value:void 0,done:!0}}return v.prototype=g,a(x,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:v,configurable:!0}),v.displayName=f(g,l,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},r.awrap=function(e){return{__await:e}},C(_.prototype),f(_.prototype,u,(function(){return this})),r.AsyncIterator=_,r.async=function(e,t,n,o,i){void 0===i&&(i=Promise);var a=new _(d(e,t,n,o),i);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(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=w,M.prototype={constructor:M,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(T),!e)for(var t in this)"t"===t.charAt(0)&&i.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 o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(this.prev>=o.tryLoc){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(o.catchLoc>this.prev)return n(o.catchLoc,!0);if(o.finallyLoc>this.prev)return n(o.finallyLoc)}else if(s){if(o.catchLoc>this.prev)return n(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(o.finallyLoc>this.prev)return n(o.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&&i.call(r,"finallyLoc")&&r.finallyLoc>this.prev){var o=r;break}}o&&("break"===e||"continue"===e)&&t>=o.tryLoc&&o.finallyLoc>=t&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.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),T(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 o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(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}(M);var Z=T(),D=Z;try{regeneratorRuntime=Z}catch(s){"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis.regeneratorRuntime=Z:Function("r","regeneratorRuntime = r")(Z)}var A=function(e,t){return e<<t|e>>>32-t},O=function(e,t){var n,r,o,i,a;return o=2147483648&e,i=2147483648&t,a=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(r=1073741824&t)?2147483648^a^o^i:n|r?1073741824&a?3221225472^a^o^i:1073741824^a^o^i:a^o^i},X=function(e,t,n,r,o,i,a){return e=O(e,O(O(function(e,t,n){return e&t|~e&n}(t,n,r),o),a)),O(A(e,i),t)},R=function(e,t,n,r,o,i,a){return e=O(e,O(O(function(e,t,n){return e&n|t&~n}(t,n,r),o),a)),O(A(e,i),t)},N=function(e,t,n,r,o,i,a){return e=O(e,O(O(function(e,t,n){return e^t^n}(t,n,r),o),a)),O(A(e,i),t)},E=function(e,t,n,r,o,i,a){return e=O(e,O(O(function(e,t,n){return t^(e|~n)}(t,n,r),o),a)),O(A(e,i),t)},J=function(e){for(var t,n=e.length,r=n+8,o=16*((r-r%64)/64+1),i=Array(o-1),a=0,s=0;n>s;)a=s%4*8,i[t=(s-s%4)/4]=i[t]|e.charCodeAt(s)<<a,s++;return i[t=(s-s%4)/4]=i[t]|128<<(a=s%4*8),i[o-2]=n<<3,i[o-1]=n>>>29,i},H=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},B=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};function k(e){var t,n,r,o,i,a,s,c,u,l;for(e=B(e+=""),t=J(e),s=1732584193,c=4023233417,u=2562383102,l=271733878,n=0;t.length>n;n+=16)r=s,o=c,i=u,a=l,s=X(s,c,u,l,t[n+0],7,3614090360),l=X(l,s,c,u,t[n+1],12,3905402710),u=X(u,l,s,c,t[n+2],17,606105819),c=X(c,u,l,s,t[n+3],22,3250441966),s=X(s,c,u,l,t[n+4],7,4118548399),l=X(l,s,c,u,t[n+5],12,1200080426),u=X(u,l,s,c,t[n+6],17,2821735955),c=X(c,u,l,s,t[n+7],22,4249261313),s=X(s,c,u,l,t[n+8],7,1770035416),l=X(l,s,c,u,t[n+9],12,2336552879),u=X(u,l,s,c,t[n+10],17,4294925233),c=X(c,u,l,s,t[n+11],22,2304563134),s=X(s,c,u,l,t[n+12],7,1804603682),l=X(l,s,c,u,t[n+13],12,4254626195),u=X(u,l,s,c,t[n+14],17,2792965006),c=X(c,u,l,s,t[n+15],22,1236535329),s=R(s,c,u,l,t[n+1],5,4129170786),l=R(l,s,c,u,t[n+6],9,3225465664),u=R(u,l,s,c,t[n+11],14,643717713),c=R(c,u,l,s,t[n+0],20,3921069994),s=R(s,c,u,l,t[n+5],5,3593408605),l=R(l,s,c,u,t[n+10],9,38016083),u=R(u,l,s,c,t[n+15],14,3634488961),c=R(c,u,l,s,t[n+4],20,3889429448),s=R(s,c,u,l,t[n+9],5,568446438),l=R(l,s,c,u,t[n+14],9,3275163606),u=R(u,l,s,c,t[n+3],14,4107603335),c=R(c,u,l,s,t[n+8],20,1163531501),s=R(s,c,u,l,t[n+13],5,2850285829),l=R(l,s,c,u,t[n+2],9,4243563512),u=R(u,l,s,c,t[n+7],14,1735328473),c=R(c,u,l,s,t[n+12],20,2368359562),s=N(s,c,u,l,t[n+5],4,4294588738),l=N(l,s,c,u,t[n+8],11,2272392833),u=N(u,l,s,c,t[n+11],16,1839030562),c=N(c,u,l,s,t[n+14],23,4259657740),s=N(s,c,u,l,t[n+1],4,2763975236),l=N(l,s,c,u,t[n+4],11,1272893353),u=N(u,l,s,c,t[n+7],16,4139469664),c=N(c,u,l,s,t[n+10],23,3200236656),s=N(s,c,u,l,t[n+13],4,681279174),l=N(l,s,c,u,t[n+0],11,3936430074),u=N(u,l,s,c,t[n+3],16,3572445317),c=N(c,u,l,s,t[n+6],23,76029189),s=N(s,c,u,l,t[n+9],4,3654602809),l=N(l,s,c,u,t[n+12],11,3873151461),u=N(u,l,s,c,t[n+15],16,530742520),c=N(c,u,l,s,t[n+2],23,3299628645),s=E(s,c,u,l,t[n+0],6,4096336452),l=E(l,s,c,u,t[n+7],10,1126891415),u=E(u,l,s,c,t[n+14],15,2878612391),c=E(c,u,l,s,t[n+5],21,4237533241),s=E(s,c,u,l,t[n+12],6,1700485571),l=E(l,s,c,u,t[n+3],10,2399980690),u=E(u,l,s,c,t[n+10],15,4293915773),c=E(c,u,l,s,t[n+1],21,2240044497),s=E(s,c,u,l,t[n+8],6,1873313359),l=E(l,s,c,u,t[n+15],10,4264355552),u=E(u,l,s,c,t[n+6],15,2734768916),c=E(c,u,l,s,t[n+13],21,1309151649),s=E(s,c,u,l,t[n+4],6,4149444226),l=E(l,s,c,u,t[n+11],10,3174756917),u=E(u,l,s,c,t[n+2],15,718787259),c=E(c,u,l,s,t[n+9],21,3951481745),s=O(s,r),c=O(c,o),u=O(u,i),l=O(l,a);return(H(s)+H(c)+H(u)+H(l)).toLowerCase()}var F,I,G,Q,j,W=W||function(e,t){var n={},r=n.lib={},o=function(){},i=r.Base={extend:function(e){o.prototype=this;var t=new o;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=i.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 o=0;e>o;o++)t[r+o>>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(r+o)%4*8;else if(n.length>65535)for(o=0;e>o;o+=4)t[r+o>>>2]=n[o>>>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=i.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 o=t[r>>>2]>>>24-r%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).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=i.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,o=n.sigBytes,i=this.blockSize,s=o/(4*i);if(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0),o=e.min(4*(t=s*i),o),t){for(var c=0;t>c;c+=i)this._doProcessBlock(r,c);c=r.splice(0,t),n.sigBytes-=o}return new a.init(c,o)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});r.Hasher=f.extend({cfg:i.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);I=(j=(F=W).lib).WordArray,Q=[],j=F.algo.SHA1=(G=j.Hasher).extend({_doReset:function(){this._hash=new I.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],c=0;80>c;c++){if(16>c)Q[c]=0|e[t+c];else{var u=Q[c-3]^Q[c-8]^Q[c-14]^Q[c-16];Q[c]=u<<1|u>>>31}u=(r<<5|r>>>27)+s+Q[c],u=20>c?u+(1518500249+(o&i|~o&a)):40>c?u+(1859775393+(o^i^a)):60>c?u+((o&i|o&a|i&a)-1894007588):u+((o^i^a)-899497514),s=a,a=i,i=o<<30|o>>>2,o=r,r=u}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|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=G.clone.call(this);return e._hash=this._hash.clone(),e}}),F.SHA1=G._createHelper(j),F.HmacSHA1=G._createHmacHelper(j),function(){var e=W.enc.Utf8;W.algo.HMAC=W.lib.Base.extend({init:function(t,n){t=this._hasher=new t.init,"string"==typeof n&&(n=e.parse(n));var r=t.blockSize,o=4*r;n.sigBytes>o&&(n=t.finalize(n)),n.clamp();for(var i=this._oKey=n.clone(),a=this._iKey=n.clone(),s=i.words,c=a.words,u=0;r>u;u++)s[u]^=1549556828,c[u]^=909522486;i.sigBytes=a.sigBytes=o,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 $="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==$&&$||{},U={searchParams:"URLSearchParams"in $,iterable:"Symbol"in $&&"iterator"in Symbol,blob:"FileReader"in $&&"Blob"in $&&function(){try{return new Blob,!0}catch(a){return!1}}(),formData:"FormData"in $,arrayBuffer:"ArrayBuffer"in $};if(U.arrayBuffer)var K=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],z=ArrayBuffer.isView||function(e){return e&&K.indexOf(Object.prototype.toString.call(e))>-1};function V(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 q(e){return"string"!=typeof e&&(e+=""),e}function ee(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return U.iterable&&(t[Symbol.iterator]=function(){return t}),t}function te(e){this.map={},e instanceof te?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 ne(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function re(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function oe(e){var t=new FileReader,n=re(t);return t.readAsArrayBuffer(e),n}function ie(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ae(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:U.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:U.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:U.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=""+e:U.arrayBuffer&&U.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ie(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):U.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||z(e))?this._bodyArrayBuffer=ie(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):U.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},U.blob&&(this.blob=function(){var e=ne(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=ne(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(oe)}),this.text=function(){var e,t,n,r=ne(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=re(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)},U.formData&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}te.prototype.append=function(e,t){e=V(e),t=q(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},te.prototype.delete=function(e){delete this.map[V(e)]},te.prototype.get=function(e){return e=V(e),this.has(e)?this.map[e]:null},te.prototype.has=function(e){return this.map.hasOwnProperty(V(e))},te.prototype.set=function(e,t){this.map[V(e)]=q(t)},te.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},te.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),ee(e)},te.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),ee(e)},te.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),ee(e)},U.iterable&&(te.prototype[Symbol.iterator]=te.prototype.entries);var se=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,r,o=(t=t||{}).body;if(e instanceof ce){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new te(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=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 te(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),se.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in $)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function ue(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function le(e,t){if(!(this instanceof le))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 te(t.headers),this.url=t.url||"",this._initBody(e)}ce.prototype.clone=function(){return new ce(this,{body:this._bodyInit})},ae.call(ce.prototype),ae.call(le.prototype),le.prototype.clone=function(){return new le(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new te(this.headers),url:this.url})},le.error=function(){var e=new le(null,{status:0,statusText:""});return e.type="error",e};var fe=[301,302,303,307,308];le.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new le(null,{status:t,headers:{location:e}})};var de=$.DOMException;try{new de}catch(a){(de=function(e,t){this.message=e,this.name=t,this.stack=Error(e).stack}).prototype=Object.create(Error.prototype),de.prototype.constructor=de}function pe(e,t){return new Promise((function(n,r){var o=new ce(e,t);if(o.signal&&o.signal.aborted)return r(new de("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var e,t,r={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new te,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 o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){n(new le(o,r))}),0)},i.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){r(new de("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&$.location.href?$.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(U.blob?i.responseType="blob":U.arrayBuffer&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!==a(t.headers)||t.headers instanceof te?o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,q(t.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}pe.polyfill=!0,$.fetch||($.fetch=pe,$.Headers=te,$.Request=ce,$.Response=le);var he,ye={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 ve(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(o,i){if(he.uni)e.request({url:he.defaults.baseURL+t,data:r,method:n,header:{"content-type":"application/json",token:null!=he.token?he.token:""},success:function(e){if(null==e.data)return i({code:p.NORMAL_ERROR.code,message:e.message?e.message:p.NORMAL_ERROR.describe,data:null});(e=e.data).code===p.NORMAL_SUCCESS.code?o(e.data?e.data:null):i(e)},fail:function(e){h(1,e),i({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!=he.token?he.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 o=function(n){var o=e[n];if(["",void 0,null].indexOf(o)>=0)return"continue";if(o.constructor===Array)switch(t){case"indices":for(var i=0;o.length>i;i++)r.push(n+"["+i+"]="+o[i]);break;case"brackets":default:o.forEach((function(e){r.push(n+"[]="+e)}));break;case"repeat":o.forEach((function(e){r.push(n+"="+e)}));break;case"comma":var a="";o.forEach((function(e){a+=(a?",":"")+e})),r.push(n+"="+a)}else r.push(n+"="+o)};for(var i in e)o(i);return r.length?n+r.join("&"):""}(r,!0),delete a.body),pe(he.defaults.baseURL+t,a).then(function(){var e=Y(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",i({code:p.NORMAL_ERROR.code,message:n.message?n.message:p.NORMAL_ERROR.describe,data:null}));case 5:n.code===p.NORMAL_SUCCESS.code?o(n.data?n.data:null):i(n);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){h(1,e),i({code:p.NORMAL_ERROR.code,message:JSON.stringify(e.message),data:null})}))}}))}function ge(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 me(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 be(){return Se.apply(this,arguments)}function Se(){return(Se=Y(D.mark((function e(){var t;return D.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ve(ye.Upload.sign,"GET",{});case 2:(t=e.sent).code?h(1,"媒体上传参数获取失败",!0):he.mediaUploadParams=t;case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function xe(){var e=he.defaults.baseURL;return"cos"==he.mediaUploadParams.storage?e="https://".concat(he.mediaUploadParams.bucket,".cos.").concat(he.mediaUploadParams.region,".myqcloud.com"):"oss"==he.mediaUploadParams.storage&&(e="https://".concat(he.mediaUploadParams.bucket,".").concat(he.mediaUploadParams.region,".aliyuncs.com")),e}function Ce(){return he.mediaUploadParams.customDomain?he.mediaUploadParams.customDomain:xe()}function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"files",n=e;if(!he.mediaUploadParams.baseDir&&"local"===!he.mediaUploadParams.storage)return n;var r=he.mediaUploadParams.baseDir,o=new Date,i=t+"/"+o.getFullYear()+"-"+JSON.stringify(o.getMonth()+1).padStart(2,0)+"-"+JSON.stringify(o.getDate()).padStart(2,0)+"/"+e;if("local"!==he.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 i;n=r+"/"+i}else n=i;return n}function Le(e,t,n){return Pe.apply(this,arguments)}function Pe(){return(Pe=Y(D.mark((function e(t,n,r){var o,i,a,s,c,u,l,f,d,p;return D.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=parseInt((new Date).getTime()/1e3)-1,he.mediaUploadParams&&he.mediaUploadParams.expireTime>=o){e.next=4;break}return e.next=4,be();case 4:return s=he.mediaUploadParams.secretId,c=(i=he.mediaUploadParams.nowTime)+";"+(a=he.mediaUploadParams.expireTime),l=he.mediaUploadParams.signKey,f="sha1\n"+(u=i+";"+a)+"\n"+W.SHA1(t+"\n"+n+"\n\n"+r+"\n")+"\n",d=W.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 Ye(){return Te.apply(this,arguments)}function Te(){return(Te=Y(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,he.mediaUploadParams&&he.mediaUploadParams.expireTime>=t){e.next=4;break}return e.next=4,be();case 4:return e.abrupt("return",he.mediaUploadParams);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Me(e){if(!he.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!he.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=he.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=k((new Date).getTime()+"_"+e.filename)+"_other"+n,o=xe(),i=Ce()+"/"+_e(r);if("cos"===t.storage)setTimeout(Y(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le("post","/","");case 2:n=t.sent,a=ge({url:o,name:"file",data:{key:_e(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:i})},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(Y(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ye();case 2:a=ge({url:o,name:"file",data:{key:_e(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:i})},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=ge({url:o+ye.Upload.normal,name:"file",data:{key:_e(r)},header:{token:he.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Ce()+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(!he.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=he.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=k((new Date).getTime()+"_"+e.filename)+"_image"+n,o=xe(),i=Ce()+"/"+_e(r,"image");if("cos"===t.storage)setTimeout(Y(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le("post","/","");case 2:n=t.sent,a=ge({url:o,name:"file",data:{key:_e(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 o=198/e.width;t=parseInt(e.height*o),n=parseInt(e.width*o)}m(e,p.NORMAL_SUCCESS.describe,{url:i,thumbnailUrl:i+"?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(Y(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ye();case 2:a=ge({url:o,name:"file",data:{key:_e(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 o=198/e.width;t=parseInt(e.height*o),n=parseInt(e.width*o)}m(e,p.NORMAL_SUCCESS.describe,{url:i,thumbnailUrl:i+"?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=ge({url:o+ye.Upload.image,name:"file",data:{key:_e(r,"image")},header:{token:he.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Ce()+t.data.url,thumbnailUrl:Ce()+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 Ze(e){return{conversationId:e.to,conversationType:e.conversationType,fromUserInfo:{nickname:he.user.nickname,avatarUrl:he.user.avatarUrl},from:he.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 De(t){return he.uni?e.getStorageSync(t):localStorage.getItem(t)?JSON.parse(localStorage.getItem(t)):null}function Ae(t,n){he.uni?e.setStorageSync(t,n):localStorage.setItem(t,JSON.stringify(n))}function Oe(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.text)return g(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),Ze(t)}function Xe(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(e.conversationType!=d.CONVERSATION_TYPE.GROUP)return g(p.PARAMS_ERROR.code,"仅群聊支持文本@消息");if(!e.body||!e.body.text)return g(p.PARAMS_ERROR.code,"text 不能为空");if(!e.body.atUserIdList)return g(p.PARAMS_ERROR.code,"atUserIdList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.atUserIdList))return g(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),Ze(t)}function Re(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return g(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.tempFilePath)return g(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.width)return g(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.file.height)return g(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=Ze(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function Ne(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return g(p.PARAMS_ERROR.code,"body 不能为空");if(!e.body.originalUrl)return g(p.PARAMS_ERROR.code,"originalUrl 不能为空");if(!e.body.originalWidth)return g(p.PARAMS_ERROR.code,"originalWidth 不能为空");if(!e.body.originalHeight)return g(p.PARAMS_ERROR.code,"originalHeight 不能为空");if(!e.body.thumbnailUrl)return g(p.PARAMS_ERROR.code,"thumbnailUrl 不能为空");if(!e.body.thumbnailWidth)return g(p.PARAMS_ERROR.code,"thumbnailWidth 不能为空");if(!e.body.thumbnailHeight)return g(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),Ze(t)}function Ee(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body.address)return g(p.PARAMS_ERROR.code,"address 不能为空");if(!e.body.description)return g(p.PARAMS_ERROR.code,"description 不能为空");if(!e.body.longitude)return g(p.PARAMS_ERROR.code,"longitude 不能为空");if(!e.body.latitude)return g(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),Ze(t)}function Je(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return g(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.tempFilePath)return g(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.duration)return g(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=Ze(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function He(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return g(p.PARAMS_ERROR.code,"body 不能为空");if(!e.body.audioUrl)return g(p.PARAMS_ERROR.code,"audioUrl 不能为空");if(!e.body.duration)return g(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),Ze(t)}function Be(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return g(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.duration)return g(p.PARAMS_ERROR.code,"duration 不能为空");if("number"!=typeof e.body.file.duration)return g(p.PARAMS_ERROR.code,"duration 参数请传入整型");if(!e.body.file.tempFilePath)return g(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.width)return g(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.file.height)return g(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=Ze(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function ke(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return g(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.duration)return g(p.PARAMS_ERROR.code,"duration 不能为空");if("number"!=typeof e.body.duration)return g(p.PARAMS_ERROR.code,"duration 参数请传入整型");if(!e.body.videoUrl)return g(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.width)return g(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.height)return g(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),Ze(t)}function Fe(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.custom)return g(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),Ze(t)}function Ie(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.title)return g(p.PARAMS_ERROR.code,"title 不能为空");if(!e.body.messageList)return g(p.PARAMS_ERROR.code,"messageList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.messageList))return g(p.PARAMS_ERROR.code,"messageList 应为由Message结构组成的数组");if(!e.body.summaryList)return g(p.PARAMS_ERROR.code,"summaryList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.summaryList))return g(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),Ze(t)}function Ge(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return g(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return g(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.message)return g(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),Ze(t)}function Qe(e){if(!he.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:he.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,je(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 je(e);!function(e){if(!he.mediaUploadParams)return h(1,"媒体上传参数获取失败",!0);var t=he.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=k((new Date).getTime()+"_"+e.filename)+"_video"+n,o=xe(),i=Ce()+"/"+_e(r,"video");if("cos"==t.storage)setTimeout(Y(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le("post","/","");case 2:n=t.sent,a=ge({url:o,name:"file",data:{key:_e(r,"video"),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){var t=Y(D.mark((function t(){var n;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le("get","/"+_e(r,"video"),"");case 2:n=t.sent,me({url:o+"/"+_e(r,"video")+"?ci-process=snapshot&time=1",header:{Authorization:n},success:function(t){we({filename:k(r+t.data)+"_videoThumb.jpg",filepath:t.data,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{videoUrl:i,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(Y(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ye();case 2:a=ge({url:o,name:"file",data:{key:_e(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:i,thumbnailUrl:i+"?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=ge({url:o+ye.Upload.video,name:"file",data:{key:_e(r,"video")},header:{token:he.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Ce()+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:he.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,je(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 je(e);!function(e){if(!he.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=he.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=k((new Date).getTime()+"_"+e.filename)+"_audio"+n,o=xe(),i=Ce()+"/"+_e(r,"audio");if("cos"===t.storage)setTimeout(Y(D.mark((function t(){var n,a;return D.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le("post","/","");case 2:n=t.sent,a=ge({url:o,name:"file",data:{key:_e(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:i})},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(Y(D.mark((function n(){var a;return D.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ye();case 2:a=ge({url:o,name:"file",data:{key:_e(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:i})},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=ge({url:o+"/upload",name:"file",data:{key:_e(r,"audio")},header:{token:he.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Ce()+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:he.token+"_audio.aac",filepath:t.body.audioUrl,success:function(n){t.body.audioUrl=n.data.url,e.message=t,je(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):je(e)}function je(e){ve(ye.Message.sendMessage,"POST",e.message).then((function(t){We(t),m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))}function We(e){if(!e.conversationId)return h(1,"conversationId 不能为空");var t=Ke(e.conversationId),n=t.findIndex((function(t){return t.messageId===e.messageId})),r="yeim:messageList:".concat(k(he.userId),":conversationId:").concat(k(e.conversationId));-1===n?(t.length>19&&t.splice(0,t.length-19),t.push(e),Ae(r,t)):(t[n]=e,Ae(r,t))}function $e(e){if(!he.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=Ke(e.conversationId),o=r.findIndex((function(e){return e.messageId===n}));if(-1===o)Ue(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 i=r[o];if(t>(r=r.slice(0,o)).length){var a=null;Ue(e.conversationId,a=0==r.length?i.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=Ke(e.conversationId);if(t>s.length){var c=null;s.length>0&&(c=s[0].messageId),Ue(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})),Ae("yeim:messageList:".concat(k(he.userId),":conversationId:").concat(k(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 Ue(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,o){ve(ye.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){o(e)}))}))}function Ke(e){var t=De("yeim:messageList:".concat(k(he.userId),":conversationId:").concat(k(e)));return(t=t||[]).sort((function(e,t){return e.sequence-t.sequence})),t}function ze(e){return he.checkLogged()?e.message?e.message.messageId?void ve(ye.Message.deleteMessage,"GET",{messageId:e.message.messageId}).then((function(){e.message.isDeleted=1,We(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 Ve(e){return he.checkLogged()?e.message?e.message.messageId?void ve(ye.Message.revokeMessage,"GET",{messageId:e.message.messageId}).then((function(){e.message.isRevoke=1,We(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 qe(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e)return g(p.PARAMS_ERROR.code,"conversationId 不能为空");var t=De("yeim:conversationList:".concat(k(he.userId))),n=(t=t||[]).findIndex((function(t){return t.conversationId===e}));return-1!==n?v(p.NORMAL_SUCCESS.describe,t[n]):g(p.NO_CONVERSATION.code,p.NO_CONVERSATION.describe)}function et(e){if(!he.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var t=e.page,n=e.limit,r=De("yeim:conversationList:".concat(k(he.userId))),o=(t-1)*n,i=(r=r||[]).slice(o,r.length>o+n?o+n:r.length);m(e,p.NORMAL_SUCCESS.describe,i)}function tt(e){Ae("yeim:conversationList:".concat(k(he.userId)),e),C(d.EVENT.CONVERSATION_LIST_CHANGED,e)}function nt(e){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var t="yeim:conversationList:".concat(k(he.userId)),n=De(t),r=(n=n||[]).findIndex((function(t){return t.conversationId===e}));-1!==r&&(n[r].unread=0,Ae(t,n)),ve(ye.Conversation.clearConversationUnread,"GET",{conversationId:e}).then((function(){})).catch((function(e){h(1,e)})),C(d.EVENT.CONVERSATION_LIST_CHANGED,n)}function rt(t){if(!he.checkLogged())return g(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var n="yeim:conversationList:".concat(k(he.userId)),r=De(n),o=(r=r||[]).findIndex((function(e){return e.conversationId===t}));-1!==o&&(r.splice(o,1),Ae(n,r)),function(t){he.uni?e.removeStorageSync(t):localStorage.removeItem(t)}("yeim:messageList:".concat(k(he.userId),":conversationId:").concat(k(t))),ve(ye.Conversation.deleteConversation,"GET",{conversationId:t}).then((function(){})).catch((function(e){h(1,e)})),C(d.EVENT.CONVERSATION_LIST_CHANGED,r)}function ot(e){return he.checkLogged()?e.name?e.avatarUrl?void ve(ye.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 it(e){return he.checkLogged()?e.groupId?void ve(ye.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 at(e){return he.checkLogged()?e.groupId?e.userId?void ve(ye.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 st(e){return he.checkLogged()?e.groupId?void ve(ye.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 ct(e){return he.checkLogged()?e.groupId?void ve(ye.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 ut(e){if(!he.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);ve(ye.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 lt(e){return he.checkLogged()?e.groupId?void ve(ye.Group.addUser,"POST",{groupId:e.groupId,members:[he.userId]}).then((function(t){var n=t.group,r=t.successList;if(-1!=t.ignoreList.indexOf(he.userId))return b(e,p.GROUP_APPLY_REPEAT.code,p.GROUP_APPLY_REPEAT.describe);var o=!1;if(-1!=r.indexOf(he.userId)&&(o=!0),!o)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 ft(e){return he.checkLogged()?e.groupId?void ve(ye.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 dt(e){return he.checkLogged()?e.groupId?e.members&&e.members.length>0?void ve(ye.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 pt(e){return he.checkLogged()?e.groupId?e.members&&e.members.length>0?void ve(ye.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 ht(e){return he.checkLogged()?e.groupId?void ve(ye.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 yt(e){return he.checkLogged()?e.groupId?void ve(ye.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 vt(e){return he.checkLogged()?e.groupId?void ve(ye.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 gt(e){return he.checkLogged()?e.id?e.status?void ve(ye.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 mt(e){return he.checkLogged()?e.groupId?e.userId?(e.time||(e.time=0),void ve(ye.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 bt(e){if(!he.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(k(he.userId));if(e.cloud)ve(ye.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(n){var r=De(t);(r=r||[]).push(n),Ae(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}));else{var n=De(t),r=(n=n||[]).findIndex((function(t){return t.userId===e.userId}));-1!==r?(m(e,p.NORMAL_SUCCESS.describe,n[r]),ve(ye.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(e){var n=De(t);(n=n||[])[r]=e,Ae(t,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))):ve(ye.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(n){var r=De(t);(r=r||[]).push(n),Ae(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))}}function St(e){return he.checkLogged()?Object.keys(e).length>0?void ve(ye.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 xt(e){if(!he.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);ve(ye.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 Ct(e){return he.checkLogged()?e.members&&0!=e.members.length?void ve(ye.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 _t(e){return he.checkLogged()?e.members&&0!=e.members.length?void ve(ye.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 Lt(e){var t="yeim:friendList:".concat(k(he.userId)),n=e.page?e.page:1,r=e.limit?e.limit:20;if(e.cloud)ve(ye.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 o=De(t),i=(n-1)*r;o=(o=o||[]).slice(i,o.length>i+r?i+r:o.length),m(e,p.NORMAL_SUCCESS.describe,o)}}function Pt(){Lt({cloud:!0,page:1,limit:9999999,success:function(e){Ae("yeim:friendList:".concat(k(he.userId)),e.data),C(d.EVENT.FRIEND_LIST_CHANGED,e)},fail:function(){C(d.EVENT.FRIEND_LIST_CHANGED,null)}})}function Yt(){Tt({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,o="yeim:friendApplyList:".concat(k(he.userId)),i="yeim:friendApplyUnread:".concat(k(he.userId));Ae(o,n),Ae(i,r),C(d.EVENT.FRIEND_APPLY_LIST_CHANGED,e)},fail:function(){C(d.EVENT.FRIEND_APPLY_LIST_CHANGED,null)}})}function Tt(e){var t="yeim:friendApplyList:".concat(k(he.userId)),n="yeim:friendApplyUnread:".concat(k(he.userId)),r=e.page?e.page:1,o=e.limit?e.limit:20;if(e.cloud)ve(ye.Friend.fetchApplyList,"GET",{type:e.type?e.type:0,page:r,limit:o}).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 i=De(t),a=(r-1)*o;i=(i=i||[]).slice(a,i.length>a+o?a+o:i.length),m(e,p.NORMAL_SUCCESS.describe,{list:i,unread:De(n)?De(n):0})}}function Mt(e){ve(ye.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 he.checkLogged()?e.id?void ve(ye.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 Zt(e){return he.checkLogged()?e.id?void ve(ye.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 Dt(e){return he.checkLogged()?e.userId?void ve(ye.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 At(e){return he.checkLogged()?e.members?void ve(ye.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 Ot(e){return he.checkLogged()?e.userId?e.remark||e.extend?void ve(ye.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 Xt(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 Rt(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.instance=he;var Nt=function(){function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,n),this.defaults=Rt(Rt({baseURL:void 0,socketURL:void 0,eventPrefix:"YeIM_",reConnectTotal:15,reConnectInterval:3e3,heartInterval:3e4,logLevel:0},t),{},{notification:Rt({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 o,i=JSON.parse(r.data);if(201==i.code){var a=i.data.user;t.user=a,t.userId=n.userId,t.token=n.token;var s=i.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)),ve(ye.Conversation.fetchConversationList,"GET",{page:1,limit:999999}).then((function(e){tt(e.records)})).catch((function(e){h(1,e)})),Pt(),Yt(),be(),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(),o=n.getApplicationInfo().plusGetAttribute("uid"),i=plus.android.importClass("android.support.v4.app.NotificationManagerCompat");null==i&&(i=plus.android.importClass("androidx.core.app.NotificationManagerCompat"));var a=i.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"),i=plus.android.importClass("android.os.Build");if(26>i.VERSION.SDK_INT)if(21>i.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",o)}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&&he.defaults.notification&&he.defaults.notification.oppoChannelId&&plus.android.importClass("android.os.Build").VERSION.SDK_INT>=26){var n=he.defaults.notification.oppoChannelId,r=plus.android.runtimeMainActivity(),o=plus.android.importClass("android.content.Context"),i=plus.android.importClass("android.app.NotificationManager"),a=r.getSystemService(o.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,"聊天离线通知",i.IMPORTANCE_HIGH);l.setDescription("用于用户离线时推送消息通知"),l.enableVibration(!0),l.enableLights(!0),l.setBypassDnd(!0),l.setLockscreenVisibility(u.VISIBILITY_SECRET),a.createNotificationChannel(l)}}}(),o=e.getSystemInfoSync(),he.checkLogged()&&"app"==o.uniPlatform&&plus.push.getClientInfoAsync((function(e){var t=e.clientid;t&&ve(ye.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,C(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成功连接"),C(d.EVENT.NET_CHANGED,"connected")}},{key:"socketClose",value:function(e){h(1,"WebSocket断开连接"),this.socketLogged=!1,this.webSocket.close(),this.webSocket.destroy(),C(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;We(t),C(d.EVENT.MESSAGE_RECEIVED,t)}else 203==e.code?function(e){var t=De("yeim:conversationList:".concat(k(he.userId))),n=(t=t||[]).findIndex((function(t){return t.conversationId===e.conversationId}));-1===n||t.splice(n,1),t.unshift(e),tt(t)}(e.data):205==e.code?function(e){if(!e)return h(1,"conversationId 为空,无法继续执行");var t="yeim:messageList:".concat(k(he.userId),":conversationId:").concat(k(e)),n=De(t);if(n=n||[]){for(var r=[],o=0;n.length>o;o++){var i=n[o];"out"==i.direction&&(i.isRead=1,n[o].isRead=1,r.push(i))}Ae(t,n),C(d.EVENT.PRIVATE_READ_RECEIPT,{conversationId:e,list:r})}}(e.data.conversationId):207==e.code?function(e){var t="yeim:messageList:".concat(k(he.userId),":conversationId:").concat(k(e.conversationId)),n=De(t)?De(t):[],r=(n=n||[]).findIndex((function(t){return t.messageId===e.messageId}));-1!==r&&(n[r]=e,Ae(t,n)),C(d.EVENT.MESSAGE_REVOKED,e)}(e.data):208==e.code?setTimeout((function(){Pt()}),500):209==e.code?setTimeout((function(){Yt()}),500):210==e.code?(C(d.EVENT.FRIEND_APPLY_REFUSE,e.data),setTimeout((function(){Yt(1)}),500)):10009==e.code&&(this.allowReconnect=!1,this.clearHeartTimer(),this.webSocket.close(),C(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=he=e.$YeIMInstance),he||(r.baseURL&&r.socketURL?(t.instance=he=new n(r),"undefined"!=typeof e&&(e.$YeIMInstance=he),n.prototype.createTextMessage=Oe,n.prototype.createTextAtMessage=Xe,n.prototype.createImageMessage=Re,n.prototype.createImageMessageFromUrl=Ne,n.prototype.createAudioMessage=Je,n.prototype.createAudioMessageFromUrl=He,n.prototype.createVideoMessage=Be,n.prototype.createVideoMessageFromUrl=ke,n.prototype.createLocationMessage=Ee,n.prototype.createCustomMessage=Fe,n.prototype.createMergerMessage=Ie,n.prototype.createForwardMessage=Ge,n.prototype.upload=Me,n.prototype.sendMessage=Qe,n.prototype.getHistoryMessageList=$e,n.prototype.revokeMessage=Ve,n.prototype.deleteMessage=ze,n.prototype.getConversation=qe,n.prototype.getConversationList=et,n.prototype.clearConversationUnread=nt,n.prototype.deleteConversation=rt,n.prototype.getUserInfo=bt,n.prototype.updateUserInfo=St,n.prototype.getBlackUserList=xt,n.prototype.addToBlackUserList=Ct,n.prototype.removeFromBlacklist=_t,n.prototype.addEventListener=_,n.prototype.removeEventListener=L,n.prototype.createGroup=ot,n.prototype.dissolveGroup=it,n.prototype.updateGroup=st,n.prototype.getGroup=ct,n.prototype.transferLeader=at,n.prototype.getGroupList=ut,n.prototype.joinGroup=lt,n.prototype.leaveGroup=ft,n.prototype.addGroupUsers=dt,n.prototype.getGroupUserList=ht,n.prototype.removeGroupUsers=pt,n.prototype.setAdminstrator=yt,n.prototype.setMute=mt,n.prototype.getGroupApplyList=vt,n.prototype.handleApply=gt,n.prototype.getFriendList=Lt,n.prototype.getFriendApplyList=Tt,n.prototype.setApplyListRead=Mt,n.prototype.acceptApply=wt,n.prototype.refuseApply=Zt,n.prototype.addFriend=Dt,n.prototype.deleteFriend=At,n.prototype.updateFriend=Ot,h(1,"============= YeIMUniSDK 初始化成功!版本号:"+he.version+" ============="),he):console.error(p.SDK_PARAMS_ERROR.describe))}},{key:"getInstance",value:function(){if("undefined"!=typeof e&&e.$YeIMInstance&&(t.instance=he=e.$YeIMInstance),he)return he;console.error("SDK未初始化,无法获取实例化对象")}}]),n}();t.YeIMUniSDK=Nt}).call(this,n(2)["default"],n(3))},434:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBimList=o,t.getBimViewToken=i,t.getIntegrateViewToken=a;var r=n(45);function o(e){return(0,r.request)({url:"/api/project/bimList/".concat(e),method:"get"})}function i(e){return(0,r.request)({url:"/bim/bim/viewToken/".concat(e),method:"get"})}function a(e){return(0,r.request)({url:"/bim/bim/viewToken/integrate/".concat(e),method:"get"})}},44:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.login=o,t.sendSystem=i;var r=n(45);function o(e){return(0,r.request)({url:"/im/user/token/get",method:"post",data:e})}function i(e){return(0,r.request)({url:"/im/message/save",method:"post",data:e})}},448:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fontData=void 0;var r=[{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:""}];t.fontData=r},45:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.request=i;var o=r(n(46));function i(t){return new Promise((function(n,r){var i=t.header||{"Content-Type":"application/json"};e.getStorageSync("token")&&(i["token"]=e.getStorageSync("token")),"/im/message/save"===t.url&&(i["token"]=e.getStorageSync("systemChatToken")),e.request({url:o.default.baseUrl+t.url,method:t.method||"GET",data:t.data||{},header:i,success:function(t){200===t.statusCode?(n(t.data),200!=t.data.code&&e.showToast({title:t.data.message,icon:"none"})):(r(t.data),e.hideLoading())},fail:function(t){e.showToast({title:"出错了,请联系管理员~",icon:"none"}),r(t),e.hideLoading()}})}))}}).call(this,n(2)["default"])},456:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=r(n(13));function i(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)}i.prototype.extendDownScroll=function(e){i.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()}})},i.prototype.extendUpScroll=function(e){i.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})},i.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,o.default)(r)?e[n]=i.extend({},r):e[n]=r}else"object"===(0,o.default)(e[n])&&i.extend(e[n],t[n]);return e},i.prototype.hasColor=function(e){if(!e)return!1;var t=e.toLowerCase();return"#fff"!=t&&"#ffffff"!=t&&"transparent"!=t&&"white"!=t},i.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)},i.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)},i.prototype.touchmoveEvent=function(e){if(this.optDown.use){var t=this,n=t.getScrollTop(),r=t.getPoint(e),o=r.y-t.startPoint.y;if(o>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 i=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+=i*t.optDown.inOffsetRate):(2!==t.movetype&&(t.movetype=2,t.optDown.outOffset&&t.optDown.outOffset(t),t.isMoveDown=!0),t.downHight+=i>0?i*t.optDown.outOffsetRate:i),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}},i.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)}}},i.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}},i.prototype.getAngle=function(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y),o=Math.sqrt(n*n+r*r),i=0;return 0!==o&&(i=Math.asin(r/o)/Math.PI*180),i},i.prototype.triggerDownScroll=function(){this.optDown.beforeLoading&&this.optDown.beforeLoading(this)||(this.showDownScroll(),!this.optDown.native&&this.optDown.callback&&this.optDown.callback(this))},i.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.native?(e.startPullDownRefresh(),this.showDownLoadingCall(0)):(this.downHight=this.optDown.offset,this.showDownLoadingCall(this.downHight))},i.prototype.showDownLoadingCall=function(e){this.optDown.showLoading&&this.optDown.showLoading(this,e),this.optDown.afterLoading&&this.optDown.afterLoading(this,e)},i.prototype.onPullDownRefresh=function(){this.isDownScrolling=!0,this.showDownLoadingCall(0),this.optDown.callback&&this.optDown.callback(this)},i.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()},i.prototype.endDownScrollCall=function(){this.optDown.endDownScroll&&this.optDown.endDownScroll(this),this.optDown.afterEndDownScroll&&this.optDown.afterEndDownScroll(this)},i.prototype.lockDownScroll=function(e){null==e&&(e=!0),this.optDown.isLock=e},i.prototype.lockUpScroll=function(e){null==e&&(e=!0),this.optUp.isLock=e},i.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))},i.prototype.onReachBottom=function(){this.isScrollBody&&!this.isUpScrolling&&!this.optUp.isLock&&this.optUp.hasNext&&this.triggerUpScroll()},i.prototype.onPageScroll=function(e){this.isScrollBody&&(this.setScrollTop(e.scrollTop),e.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn())},i.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()},i.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)}},i.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.optUp.showLoading&&this.optUp.showLoading(this)},i.prototype.showNoMore=function(){this.optUp.hasNext=!1,this.optUp.showNoMore&&this.optUp.showNoMore(this)},i.prototype.hideUpScroll=function(){this.optUp.hideUpScroll&&this.optUp.hideUpScroll(this)},i.prototype.endUpScroll=function(e){null!=e&&(e?this.showNoMore():this.hideUpScroll()),this.isUpScrolling=!1},i.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)}},i.prototype.setPageNum=function(e){this.optUp.page.num=e-1},i.prototype.setPageSize=function(e){this.optUp.page.size=e},i.prototype.endByPage=function(e,t,n){var r;this.optUp.use&&null!=t&&(r=this.optUp.page.num<t),this.endSuccess(e,r,n)},i.prototype.endBySize=function(e,t,n){var r;if(this.optUp.use&&null!=t){var o=(this.optUp.page.num-1)*this.optUp.page.size+e;r=o<t}this.endSuccess(e,r,n)},i.prototype.endSuccess=function(e,t,n){var r=this;if(r.isDownScrolling&&(r.isDownEndSuccess=!0,r.endDownScroll()),r.optUp.use){var o;if(null!=e){var i=r.optUp.page.num,a=r.optUp.page.size;if(1===i&&n&&(r.optUp.page.time=n),e<a||!1===t)if(r.optUp.hasNext=!1,0===e&&1===i)o=!1,r.showEmpty();else{var s=(i-1)*a+e;o=!(s<r.optUp.noMoreSize),r.removeEmpty()}else o=!1,r.optUp.hasNext=!0,r.removeEmpty()}r.endUpScroll(o)}},i.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)))},i.prototype.showEmpty=function(){this.optUp.empty.use&&this.optUp.empty.onShow&&this.optUp.empty.onShow(!0)},i.prototype.removeEmpty=function(){this.optUp.empty.use&&this.optUp.empty.onShow&&this.optUp.empty.onShow(!1)},i.prototype.showTopBtn=function(){this.topBtnShow||(this.topBtnShow=!0,this.optUp.toTop.onShow&&this.optUp.toTop.onShow(!0))},i.prototype.hideTopBtn=function(){this.topBtnShow&&(this.topBtnShow=!1,this.optUp.toTop.onShow&&this.optUp.toTop.onShow(!1))},i.prototype.getScrollTop=function(){return this.scrollTop||0},i.prototype.setScrollTop=function(e){this.scrollTop=e},i.prototype.scrollTo=function(e,t){this.myScrollTo&&this.myScrollTo(e,t)},i.prototype.resetScrollTo=function(e){this.myScrollTo=e},i.prototype.getScrollBottom=function(){return this.getScrollHeight()-this.getClientHeight()-this.getScrollTop()},i.prototype.getStep=function(e,t,n,r,o){var i=t-e;if(0!==r&&0!==i){r=r||300,o=o||30;var a=r/o,s=i/a,c=0,u=setInterval((function(){c<a-1?(e+=s,n&&n(e,u),c++):(n&&n(t,u),clearInterval(u))}),o)}else n&&n(t)},i.prototype.getClientHeight=function(e){var t=this.clientHeight||0;return 0===t&&!0!==e&&(t=this.getBodyHeight()),t},i.prototype.setClientHeight=function(e){this.clientHeight=e},i.prototype.getScrollHeight=function(){return this.scrollHeight||0},i.prototype.setScrollHeight=function(e){this.scrollHeight=e},i.prototype.getBodyHeight=function(){return this.bodyHeight||0},i.prototype.setBodyHeight=function(e){this.bodyHeight=e},i.prototype.preventDefault=function(e){e&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()}}).call(this,n(2)["default"])},457: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 ~"}}}}},o=r;t.default=o},458: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(2)["default"])},459: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"})}},o=r;t.default=o},46:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={baseUrl:"https://www.waywish.com",socketURL:"wss://www.waywish.com/im/im"};t.default=r},47:function(module,exports,__webpack_require__){(function(process,global,module){var __WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__(13);!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__(51),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 o,i,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(i=this.start;s<c&&i<64;++s)l[i++]=e[s];else for(i=this.start;s<c&&i<64;++s)u[i>>2]|=e[s]<<y[3&i++];else if(a)for(i=this.start;s<c&&i<64;++s)(o=e.charCodeAt(s))<128?l[i++]=o:o<2048?(l[i++]=192|o>>6,l[i++]=128|63&o):o<55296||o>=57344?(l[i++]=224|o>>12,l[i++]=128|o>>6&63,l[i++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++s)),l[i++]=240|o>>18,l[i++]=128|o>>12&63,l[i++]=128|o>>6&63,l[i++]=128|63&o);else for(i=this.start;s<c&&i<64;++s)(o=e.charCodeAt(s))<128?u[i>>2]|=o<<y[3&i++]:o<2048?(u[i>>2]|=(192|o>>6)<<y[3&i++],u[i>>2]|=(128|63&o)<<y[3&i++]):o<55296||o>=57344?(u[i>>2]|=(224|o>>12)<<y[3&i++],u[i>>2]|=(128|o>>6&63)<<y[3&i++],u[i>>2]|=(128|63&o)<<y[3&i++]):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++s)),u[i>>2]|=(240|o>>18)<<y[3&i++],u[i>>2]|=(128|o>>12&63)<<y[3&i++],u[i>>2]|=(128|o>>6&63)<<y[3&i++],u[i>>2]|=(128|63&o)<<y[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.start=i-64,this.hash(),this.hashed=!0):this.start=i}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,o,i,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+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[5]-378558)<<4|e>>>28)+t<<0))+a[8]-2022574463)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^t)+a[11]+1839030562)<<16|n>>>16)+r<<0))+a[14]-35309556)<<23|t>>>9)+n<<0,t=((t+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[1]-1530992060)<<4|e>>>28)+t<<0))+a[4]+1272893353)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^t)+a[7]-155497632)<<16|n>>>16)+r<<0))+a[10]-1094730640)<<23|t>>>9)+n<<0,t=((t+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[13]+681279174)<<4|e>>>28)+t<<0))+a[0]-358537222)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^t)+a[3]-722521979)<<16|n>>>16)+r<<0))+a[6]+76029189)<<23|t>>>9)+n<<0,t=((t+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[9]-640364487)<<4|e>>>28)+t<<0))+a[12]-421815835)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^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,o=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[o>>4&15]+n[15&o]+n[o>>12&15]+n[o>>8&15]+n[o>>20&15]+n[o>>16&15]+n[o>>28&15]+n[o>>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="",o=this.array(),i=0;i<15;)e=o[i++],t=o[i++],n=o[i++],r+=p[e>>>2]+p[63&(e<<4|t>>>4)]+p[63&(t<<2|n>>>6)]+p[63&n];return e=o[i],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__(48),__webpack_require__(3),__webpack_require__(50)(module))},48: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(49)),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},49:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(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="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(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 o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c<a;c++)if(o[c]!==i[c]){s=c;break}var u=[];for(c=s;c<o.length;c++)u.push("..");return u=u.concat(i.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,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var 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,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&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(48))},490:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={options:{virtualHost:!0}};t.default=r},491:function(e,t,n){"use strict";(function(e){var r=n(4),o=n(13);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(11)),a=d(n(492)),s=d(n(493)),c=r(n(496)),u=r(n(497)),l=r(n(498));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"!==o(e)&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?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,i.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,o="uv-".concat(e,"--"),i={};return t&&t.map((function(e){i[o+r[e]]=!0})),n&&n.map((function(e){r[e]?i[o+e]=r[e]:delete i[o+e]})),Object.keys(i)}}},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(o){e.createSelectorQuery().in(r)[n?"selectAll":"select"](t).boundingClientRect((function(e){n&&Array.isArray(e)&&e.length&&o(e),!n&&e&&o(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(2)["default"])},492:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.$parent=y,t.addStyle=v,t.addUnit=g,t.deepClone=m,t.deepMerge=b,t.error=S,t.formValidate=D,t.getDuration=w,t.getHistoryPage=N,t.getProperty=A,t.getPx=u,t.guid=h,t.os=f,t.padZero=Z,t.page=X,t.pages=R,t.priceFormat=M,t.queryParams=P,t.random=p,t.randomArray=x,t.range=c,t.setConfig=E,t.setProperty=O,t.sleep=l,t.sys=d,t.timeFormat=C,t.timeFrom=_,t.toast=Y,t.trim=L,t.type2icon=T;var o=r(n(5)),i=r(n(13)),a=n(493),s=n(494);function c(){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)))}function u(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,a.number)(t)?n?"".concat(t,"px"):Number(t):/(rpx|upx)$/.test(t)?n?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t))):n?"".concat(parseInt(t),"px"):parseInt(t)}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))}function f(){return e.getSystemInfoSync().platform.toLowerCase()}function d(){return e.getSystemInfoSync()}function p(e,t){if(e>=0&&t>0&&t>=e){var n=t-e+1;return Math.floor(Math.random()*n+e)}return 0}function h(){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(""),o=[];if(n=n||r.length,e)for(var i=0;i<e;i++)o[i]=r[0|Math.random()*n];else{var a;o[8]=o[13]=o[18]=o[23]="-",o[14]="4";for(var s=0;s<36;s++)o[s]||(a=0|16*Math.random(),o[s]=r[19==s?3&a|8:a])}return t?(o.shift(),"u".concat(o.join(""))):o.join("")}function y(){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 v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if((0,a.empty)(e)||"object"===(0,i.default)(e)&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=L(e);for(var n=e.split(";"),r={},o=0;o<n.length;o++)if(n[o]){var s=n[o].split(":");r[L(s[0])]=L(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 L(c)}function g(){var t,n,r,o,i,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===(o=e)||void 0===o||null===(i=o.$uv)||void 0===i||null===(s=i.config)||void 0===s?void 0:s.unit:"px";return c=String(c),(0,a.number)(c)?"".concat(c).concat(u):c}function m(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===e||"object"!==(0,i.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,o.default)(e,2),r=t[0],i=t[1];return[r,m(i,n)]})));else if(e instanceof Set)t=new Set(Array.from(e,(function(e){return m(e,n)})));else if(Array.isArray(e))t=e.map((function(e){return m(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,o.default)(a[r],2),c=s[0],u=s[1];t[c]=m(u,n)}}else t=Object.assign({},e);return n.set(e,t),t}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=m(e),"object"!==(0,i.default)(e)||null===e||"object"!==(0,i.default)(t)||null===t)return e;var n=Array.isArray(e)?e.slice():Object.assign({},e);for(var r in t)if(t.hasOwnProperty(r)){var o=t[r],a=n[r];o instanceof Date?n[r]=new Date(o):o instanceof RegExp?n[r]=new RegExp(o):o instanceof Map?n[r]=new Map(o):o instanceof Set?n[r]=new Set(o):"object"===(0,i.default)(o)&&null!==o?n[r]=b(a,o):n[r]=o}return n}function S(e){console.error("uvui提示:".concat(e))}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))}function C(){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 i in r){var a=new RegExp("".concat(i,"+")).exec(n)||[],s=(0,o.default)(a,1),c=s[0];if(c){var u="y"===i&&2===c.length?2:0;n=n.replace(c,r[i].slice(u))}}return n}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),"年前"):C(e,t)}return r}function L(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}function P(){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?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");var i=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 i=0;i<r.length;i++)o.push("".concat(t,"[").concat(i,"]=").concat(r[i]));break;case"brackets":r.forEach((function(e){o.push("".concat(t,"[]=").concat(e))}));break;case"repeat":r.forEach((function(e){o.push("".concat(t,"=").concat(e))}));break;case"comma":var a="";r.forEach((function(e){a+=(a?",":"")+e})),o.push("".concat(t,"=").concat(a));break;default:r.forEach((function(e){o.push("".concat(t,"[]=").concat(e))}))}else o.push("".concat(t,"=").concat(r))};for(var a in e)i(a);return o.length?r+o.join("&"):""}function Y(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:n})}function T(){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"}return t&&(n+="-fill"),n}function M(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 o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a="undefined"===typeof r?",":r,c="undefined"===typeof n?".":n,u="";u=(i?(0,s.round)(o,i)+"":"".concat(Math.round(o))).split(".");var l=/(-?\d+)(\d{3})/;while(l.test(u[0]))u[0]=u[0].replace(l,"$1".concat(a,"$2"));return(u[1]||"").length<i&&(u[1]=u[1]||"",u[1]+=new Array(i-u[1].length+1).join("0")),u.join(c)}function w(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=parseInt(e);return t?/s$/.test(e)?e:"".concat(e,e>30?"ms":"s"):/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n}function Z(e){return"00".concat(e).slice(-2)}function D(e,t){var n=y.call(e,"uv-form-item"),r=y.call(e,"uv-form");n&&r&&r.validateField(n.prop,(function(){}),t)}function A(e,t){if(e){if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var n=t.split("."),r=e[n[0]]||{},o=1;o<n.length;o++)r&&(r=r[n[o]]);return r}return e[t]}}function O(e,t,n){if(e){var r=function e(t,n,r){if(1!==n.length)while(n.length>1){var o=n[0];t[o]&&"object"===(0,i.default)(t[o])||(t[o]={});n.shift();e(t[o],n,r)}else t[n[0]]=r};if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var o=t.split(".");r(e,o,n)}else e[t]=n}}function X(){var e,t=getCurrentPages(),n=null===(e=t[t.length-1])||void 0===e?void 0:e.route;return"/".concat(n||"")}function R(){var e=getCurrentPages();return e}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=getCurrentPages(),n=t.length;return t[n-1+e]}function E(t){var n=t.props,r=void 0===n?{}:n,o=t.config,i=void 0===o?{}:o,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,i),e.$uv.props=l(e.$uv.props,r),e.$uv.color=l(e.$uv.color,s),e.$uv.zIndex=l(e.$uv.zIndex,u)}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,o=Math.ceil(r/t.length);while(o>>=1)t+=t,1===o&&(t+=t);return t.slice(0,r)+n})}).call(this,n(2)["default"])},493:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.amount=y,t.array=P,t.carNo=h,t.chinese=v,t.code=T,t.contains=b,t.date=c,t.dateISO=u,t.digits=d,t.email=i,t.empty=_,t.enOrNum=m,t.func=M,t.idCard=p,t.image=Z,t.jsonString=L,t.landline=C,t.letter=g,t.mobile=a,t.number=l,t.object=Y,t.promise=w,t.range=S,t.rangeLength=x,t.regExp=A,t.string=f,t.url=s,t.video=D;var o=r(n(13));function i(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)}function a(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)}function s(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)}function c(e){return!!e&&(l(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))}function u(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)}function l(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function f(e){return"string"===typeof e}function d(e){return/^\d+$/.test(e)}function p(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)}function h(e){var t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)}function y(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)}function v(e){var t=/^[\u4e00-\u9fa5]+$/gi;return t.test(e)}function g(e){return/^[a-zA-Z]*$/.test(e)}function m(e){var t=/^[0-9a-zA-Z]*$/g;return t.test(e)}function b(e,t){return e.indexOf(t)>=0}function S(e,t){return e>=t[0]&&e<=t[1]}function x(e,t){return e.length>=t[0]&&e.length<=t[1]}function C(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function _(e){switch((0,o.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}function L(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==(0,o.default)(t)||!t)}catch(n){return!1}return!1}function P(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function Y(e){return"[object Object]"===Object.prototype.toString.call(e)}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)}function M(e){return"function"===typeof e}function w(e){return Y(e)&&M(e.then)&&M(e.catch)}function Z(e){var t=e.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;return n.test(t)}function D(e){var t=/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;return t.test(e)}function A(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)}},494:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.divide=h,t.enableBoundaryChecking=v,t.minus=p,t.plus=d,t.round=y,t.times=f;var o=r(n(495)),i=!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){i&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn("".concat(e," 超出了精度限制,结果可能不正确"))}function l(e,t){var n=(0,o.default)(e),r=n[0],i=n[1],a=n.slice(2),s=t(r,i);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],o=t[1],i=c(r),a=c(o),d=s(r)+s(o),p=i*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],o=t[1],i=Math.pow(10,Math.max(s(r),s(o)));return(f(r,i)+f(o,i))/i}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],o=t[1],i=Math.pow(10,Math.max(s(r),s(o)));return(f(r,i)-f(o,i))/i}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],o=t[1],i=c(r),d=c(o);return u(i),u(d),f(i/d,a(Math.pow(10,s(o)-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 v(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];i=e}var g={times:f,plus:d,minus:p,divide:h,round:y,enableBoundaryChecking:v};t.default=g},495:function(e,t,n){var r=n(6),o=n(20),i=n(8),a=n(10);function s(e){return r(e)||o(e)||i(e)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},496:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(168)),i=r(n(170)),a=r(n(23)),s=r(n(24)),c=n(492),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,i.default)(o.default.mark((function e(){var t,n,r,i,a=arguments;return o.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:i=e.sent,i&&this.openPage(r),e.next=17;break;case 16:this.openPage(r);case 17:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"openPage",value:function(t){var n=t.url,r=(t.type,t.delta),o=t.animationType,i=t.animationDuration,a=t.events;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:n,animationType:o,animationDuration:i,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(2)["default"])},497:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=null;function o(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 o=!r;r=setTimeout((function(){r=null}),t),o&&"function"===typeof e&&e()}else r=setTimeout((function(){"function"===typeof e&&e()}),t)}var i=o;t.default=i},498:function(e,t,n){"use strict";var r;function o(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))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o;t.default=i},499:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.swiper)};t.default=u}).call(this,n(2)["default"])},5:function(e,t,n){var r=n(6),o=n(7),i=n(8),a=n(10);function s(e,t){return r(e)||o(e,t)||i(e,t)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},50: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}},51:function(e,t){(function(t){e.exports=t}).call(this,{})},528:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.formatDate=c,t.friendlyDate=u;var o=r(n(13));function i(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 i(e.year,4)},yy:function(e){return i(e.year)},MM:function(e){return i(e.month)},M:function(e){return e.month},dd:function(e){return i(e.day)},d:function(e){return e.day},hh:function(e){return i(e.hour)},h:function(e){return e.hour},mm:function(e){return i(e.minute)},m:function(e){return e.minute},ss:function(e){return i(e.second)},s:function(e){return e.second},SSS:function(e){return i(e.millisecond,3)},S:function(e){return e.millisecond}};function s(e){if(e instanceof Date)return e;switch((0,o.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/,o=!0,i=t;while(o)o=!1,i=i.replace(r,(function(e){return o=!0,a[e](n)}));return i}function u(e,t){var n=t.locale,r=void 0===n?"zh":n,o=t.threshold,i=void 0===o?[6e4,36e5]:o,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(),v=Math.abs(y);if(v<i[0])return y<0?p.justNow:p.soon;if(v>=i[1])return c(h,u);var g=p.later;y<0&&(g=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),C=Math.floor(x/30),_=Math.floor(C/12);switch(!0){case _>0:l=_,f=p.year;break;case C>0:l=C,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}return"en"===r&&(1===l?l="a":f+="s"),p.template.replace(/{\s*num\s*}/g,l+"").replace(/{\s*unit\s*}/g,f).replace(/{\s*suffix\s*}/g,g)}},534: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 o={unicode:t,firstletter:n};return o}return""}},o=r;t.default=o},570:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(168)),i=r(n(571)),a=r(n(572)),s=r(n(574)),c=r(n(170)),u=r(n(23)),l=r(n(24)),f=r(n(13));function d(e){var t=p();return function(){var n,r=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}function p(){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}}var h={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")},y={int:"integer",bool:"boolean",double:"number",long:"number",password:"string"};function v(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 o in e){var i=new RegExp("{"+o+"}");r=r.replace(i,e[o])}return r}function g(e,t){return void 0===e||null===e||("string"===typeof e&&!e||(!(!Array.isArray(e)||e.length)||"object"===t&&!Object.keys(e).length))}var m={integer:function(e){return m.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 m.number(e)&&!m.integer(e)},array:function(e){return Array.isArray(e)},object:function(e){return"object"===(0,f.default)(e)&&!m.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(h.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(h.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(h.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}},b=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)(o.default.mark((function e(t,n,r,i,a){var s,c,u,l,f,d,p,h,y;return o.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,'"]')}),!S[p]){e.next=20;break}if(s=S[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,i,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)})));function t(t,n,r,o,i){return e.apply(this,arguments)}return t}()},{key:"validateFunction",value:function(){var e=(0,c.default)(o.default.mark((function e(t,n,r,i,a){var s,c,u;return o.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,i||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]])})));function t(t,n,r,o,i){return e.apply(this,arguments)}return t}()},{key:"_getMessage",value:function(e,t,n){return v(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}(),S={required:function(e,t,n){return e.required&&g(t,e.format||(0,f.default)(t))?v(e,e.errorMessage||n.required):null},range:function(e,t,n){for(var r=e.range,o=e.errorMessage,i=new Array(r.length),a=0;a<r.length;a++){var s=r[a];m.object(s)&&void 0!==s.value?i[a]=s.value:i[a]=s}var c=!1;return Array.isArray(t)?c=new Set(t.concat(i)).size===i.length:i.indexOf(t)>-1&&(c=!0),c?null:v(e,o||n["enum"])},rangeNumber:function(e,t,n){if(!m.number(t))return v(e,e.errorMessage||n.pattern.mismatch);var r=e.minimum,o=e.maximum,i=e.exclusiveMinimum,a=e.exclusiveMaximum,s=i?t<=r:t<r,c=a?t>=o:t>o;return void 0!==r&&s?v(e,e.errorMessage||n["number"][i?"exclusiveMinimum":"minimum"]):void 0!==o&&c?v(e,e.errorMessage||n["number"][a?"exclusiveMaximum":"maximum"]):void 0!==r&&void 0!==o&&(s||c)?v(e,e.errorMessage||n["number"].range):null},rangeLength:function(e,t,n){if(!m.string(t)&&!m.array(t))return v(e,e.errorMessage||n.pattern.mismatch);var r=e.minLength,o=e.maxLength,i=t.length;return void 0!==r&&i<r?v(e,e.errorMessage||n["length"].minLength):void 0!==o&&i>o?v(e,e.errorMessage||n["length"].maxLength):void 0!==r&&void 0!==o&&(i<r||i>o)?v(e,e.errorMessage||n["length"].range):null},pattern:function(e,t,n){return m["pattern"](e.pattern,t)?null:v(e,e.errorMessage||n.pattern.mismatch)},format:function(e,t,n){var r=Object.keys(m),o=y[e.format]?y[e.format]:e.format||e.arrayType;return r.indexOf(o)>-1&&!m[o](t)?v(e,e.errorMessage||n.typeError):null},arrayTypeFormat:function(e,t,n){if(!Array.isArray(t))return v(e,e.errorMessage||n.typeError);for(var r=0;r<t.length;r++){var o=t[r],i=this.format(e,o,n);if(null!==i)return i}return null}},x=function(e){(0,i.default)(n,e);var t=d(n);function n(e,r){var o;return(0,u.default)(this,n),o=t.call(this,n.message),o._schema=e,o._options=r||null,o}return(0,l.default)(n,[{key:"updateSchema",value:function(e){this._schema=e}},{key:"validate",value:function(){var e=(0,c.default)(o.default.mark((function e(t,n){var r;return o.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)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"validateAll",value:function(){var e=(0,c.default)(o.default.mark((function e(t,n){var r;return o.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)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"validateUpdate",value:function(){var e=(0,c.default)(o.default.mark((function e(t,n){var r;return o.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)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"invokeValidate",value:function(){var e=(0,c.default)(o.default.mark((function e(t,n,r){var i,a,s,c,u;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=[],a=this._schema,e.t0=o.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(i.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",i);case 16:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"invokeValidateUpdate",value:function(){var e=(0,c.default)(o.default.mark((function e(t,n,r){var i,a,s;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=[],e.t0=o.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(i.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",i);case 14:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{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 o=t.filter((function(e){return r.indexOf(e)<0})),i=v({field:JSON.stringify(o)},n.message.TAG+n.message["defaultInvalid"]);return[{key:"invalid",errorMessage:i}]}}]),n}(b);function C(){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}格式不匹配"}}}x.message=new C;var _=x;t.default=_},571:function(e,t,n){var r=n(16);function o(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=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},572:function(e,t,n){var r=n(13)["default"],o=n(573);function i(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 o(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},573:function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},574: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},575:function(e,t,n){"use strict";var r=n(4);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 o=r(n(13)),i=function(e){return JSON.parse(JSON.stringify(e))};t.deepCopy=i;var a=function(e){return"int"===e||"double"===e||"number"===e||"timestamp"===e};t.typeFilter=a;var s=function(e,t,n){var r=n.find((function(e){return e.format&&a(e.format)})),o=n.find((function(e){return e.format&&"boolean"===e.format||"bool"===e.format}));return r&&(t=t||0===t?m(Number(t))?Number(t):t:null),o&&(t=!!b(t)&&t),t};t.getValue=s;var c=function(e,t,n){return t[e]=n,n||""};t.setDataValue=c;var u=function(e,t){return g(t,e)};t.getDataValue=u;var l=function(e,t){var n=u(e,t);return{type:x(n),value:n}};t.getDataValueType=l;var f=function(e){var t=v(e);if("object"===(0,o.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.realName=f;var d=function(e){var t=/^_formdata_#*/;return t.test(e)};t.isRealName=d;var p=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 o=h(r);y(n,o,t[r])}return n};t.rawData=p;var h=function(e){var t=e.replace("_formdata_#","");return t=t.split("#").map((function(e){return m(e)?Number(e):e})),t};t.name2arr=h;var y=function(e,t,n){return"object"!==(0,o.default)(e)||v(t).reduce((function(e,t,r,o){return r===o.length-1?(e[t]=n,null):(t in e||(e[t]=/^[0-9]{1,}$/.test(o[r+1])?[]:{}),e[t])}),e),e};function v(e){return Array.isArray(e)?e:e.replace(/\[/g,".").replace(/\]/g,"").split(".")}t.objSet=y;var g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r=v(t),o=r.reduce((function(e,t){return(e||{})[t]}),e);return o&&void 0===o?n:o};t.objGet=g;var m=function(e){return!isNaN(Number(e))};t.isNumber=m;var b=function(e){return"boolean"===typeof e};t.isBoolean=b;var S=function(e){for(var t=!1,n=0;n<e.length;n++){var r=e[n];if(r.required){t=!0;break}}return t};t.isRequiredField=S;var x=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,o.default)(e)||"function"===typeof e?t[Object.prototype.toString.call(e)]||"object":(0,o.default)(e)};t.type=x;var C=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 o=Object.getOwnPropertyNames(e),i=Object.getOwnPropertyNames(t);if(o.length!=i.length)return!1;for(var a=0;a<o.length;a++){var s=o[a];if(e[s]!==t[s])return!1}return!0}return"[object Array]"==n?e.toString()==t.toString():void 0};t.isEqual=C},58: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)}}},o=r;t.default=o},59:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.collection=u,t.disableCollection=l,t.getCollectionHouseListByPage=h,t.getHouseDetailById=a,t.getHouseEvaluateListByPage=d,t.getHouseListByPage=i,t.getOpenHouseListByPage=o,t.getTagByCode=y,t.getVisitorByQuery=c,t.insertEvaluate=p,t.insertReservation=f,t.insertVisitor=s,t.search=v;var r=n(45);function o(e){return(0,r.request)({url:"/api/projectItemTargetRoom/open/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function i(e){return(0,r.request)({url:"/api/projectItemTargetRoom/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function a(e){return(0,r.request)({url:"/api/projectItemTargetRoom/".concat(e),method:"get"})}function s(e){return(0,r.request)({url:"/api/roomOperation/visitor",method:"post",data:e})}function c(e){return(0,r.request)({url:"/api/roomOperation/visitor/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function u(e){return(0,r.request)({url:"/api/roomOperation/collection/".concat(e),method:"get"})}function l(e){return(0,r.request)({url:"/api/roomOperation/collection/".concat(e),method:"delete"})}function f(e){return(0,r.request)({url:"/api/roomOperation/reservation",method:"post",data:e})}function d(e){return(0,r.request)({url:"/api/roomOperation/evaluate/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function p(e){return(0,r.request)({url:"/api/roomOperation/evaluate",method:"post",data:e})}function h(e,t){return(0,r.request)({url:"/api/roomOperation/collection/".concat(e,"/").concat(t),method:"get"})}function y(e){return(0,r.request)({url:"/api/tag/code/".concat(e),method:"post"})}function v(e){return(0,r.request)({url:"/api/projectItemTargetRoom/query/".concat(e),method:"get"})}},597:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.calendar)};t.default=u}).call(this,n(2)["default"])},598:function(e,t,n){"use strict";var r,o,i=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n(13)),s=Object.getOwnPropertyNames,c=function(e,t){return function(){return t||(0,e[s(e)[0]])((t={exports:{}}).exports,t),t.exports}},u=c({uvuidayjs:function(e,t){!function(i,s){"object"==(0,a.default)(e)&&"undefined"!=typeof t?t.exports=s():(r=s,o="function"===typeof r?r.call(e,n,e,t):r,void 0===o||(t.exports=o))}(0,(function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",s="hour",c="day",u="week",l="month",f="quarter",d="year",p="date",h="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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])+"]"}},m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+m(r,2,"0")+":"+m(o,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()),o=t.clone().add(r,l),i=n-o<0,a=t.clone().add(r+(i?-1:1),l);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:u,d:c,D:p,h:s,m:i,s:o,ms:r,Q:f}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},S="en",x={};x[S]=g;var C=function(e){return e instanceof Y},_=function e(t,n,r){var o;if(!t)return S;if("string"==typeof t){var i=t.toLowerCase();x[i]&&(o=i),n&&(x[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;x[s]=t,o=s}return!r&&o&&(S=o),o||!r&&S},L=function(e,t){if(C(e))return e.clone();var n="object"==(0,a.default)(t)?t:{};return n.date=e,n.args=arguments,new Y(n)},P=b;P.l=_,P.i=C,P.w=function(e,t){return L(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var Y=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(P.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(y);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}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 P},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var n=L(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return L(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<L(e)},g.$g=function(e,t,n){return P.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,r=!!P.u(t)||t,a=P.p(e),f=function(e,t){var o=P.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(c)},h=function(e,t){return P.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},y=this.$W,v=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(a){case d:return r?f(1,0):f(31,11);case l:return r?f(1,v):f(0,v+1);case u:var b=this.$locale().weekStart||0,S=(y<b?y+7:y)-b;return f(r?g-S:g+(6-S),v);case c:case p:return h(m+"Hours",0);case s:return h(m+"Minutes",1);case i:return h(m+"Seconds",2);case o:return h(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,a=P.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[c]=u+"Date",n[p]=u+"Date",n[l]=u+"Month",n[d]=u+"FullYear",n[s]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[a],h=a===c?this.$D+(t-this.$W):t;if(a===l||a===d){var y=this.clone().set(p,1);y.$d[f](h),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[P.p(e)]()},g.add=function(r,a){var f,p=this;r=Number(r);var h=P.p(a),y=function(e){var t=L(p);return P.w(t.date(t.date()+Math.round(e*r)),p)};if(h===l)return this.set(l,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===c)return y(1);if(h===u)return y(7);var v=(f={},f[i]=t,f[s]=n,f[o]=e,f)[h]||1,g=this.$d.getTime()+r*v;return P.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||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=P.z(this),i=this.$H,a=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return P.s(i%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:P.s(s+1,2,"0"),MMM:l(n.monthsShort,s,u,3),MMMM:l(u,s),D:this.$D,DD:P.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(i),HH:P.s(i,2,"0"),h:f(1),hh:f(2),a:d(i,a,!0),A:d(i,a,!1),m:String(a),mm:P.s(a,2,"0"),s:String(this.$s),ss:P.s(this.$s,2,"0"),SSS:P.s(this.$ms,3,"0"),Z:o};return r.replace(v,(function(e,t){return t||p[e]||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,a,p){var h,y=P.p(a),v=L(r),g=(v.utcOffset()-this.utcOffset())*t,m=this-v,b=P.m(this,v);return b=(h={},h[d]=b/12,h[l]=b,h[f]=b/3,h[u]=(m-g)/6048e5,h[c]=(m-g)/864e5,h[s]=m/n,h[i]=m/t,h[o]=m/e,h)[y]||m,p?b:P.a(b)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return x[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 P.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=Y.prototype;return L.prototype=T,[["$ms",r],["$s",o],["$m",i],["$H",s],["$W",c],["$M",l],["$y",d],["$D",p]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),L.extend=function(e,t){return e.$i||(e(t,Y,L),e.$i=!0),L},L.locale=_,L.isDayjs=C,L.unix=function(e){return L(1e3*e)},L.en=x[S],L.Ls=x,L.p={},L}))}}),l=u();t.default=l},599: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){var n="魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯",r=[20,19,21,21,21,22,23,23,23,23,22,22];return n.substr(2*e-(t<r[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()],o=[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(o[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 o,i=0,a=0,s=(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(o=1900;o<2101&&s>0;o++)a=this.lYearDays(o),s-=a;s<0&&(s+=a,o--);var c=new Date,u=!1;c.getFullYear()==e&&c.getMonth()+1==t&&c.getDate()==n&&(u=!0);var l=r.getDay(),f=this.nStr1[l];0==l&&(l=7);var d=o,p=(i=this.leapMonth(o),!1);for(o=1;o<13&&s>0;o++)i>0&&o==i+1&&0==p?(--o,p=!0,a=this.leapDays(d)):a=this.monthDays(d,o),1==p&&o==i+1&&(p=!1),s-=a;0==s&&i>0&&o==i+1&&(p?p=!1:(p=!0,--o)),s<0&&(s+=a,--o);var h=o,y=s+1,v=t-1,g=this.toGanZhiYear(d),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,C=null;m==n&&(x=!0,C=this.solarTerm[2*t-2]),b==n&&(x=!0,C=this.solarTerm[2*t-1]);var _=Date.UTC(e,v,1,0,0,0,0)/864e5+25567+10,L=this.toGanZhi(_+n-1),P=this.toAstro(t,n);return{lYear:d,lMonth:h,lDay:y,Animal:this.getAnimal(d),IMonthCn:(p?"闰":"")+this.toChinaMonth(h),IDayCn:this.toChinaDay(y),cYear:e,cMonth:t,cDay:n,gzYear:g,gzMonth:S,gzDay:L,isToday:u,isLeap:p,nWeek:l,ncWeek:"星期"+f,isTerm:x,Term:C,astro:P}},lunar2solar:function(e,t,n,r){r=!!r;var o=this.leapMonth(e);this.leapDays(e);if(r&&o!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;var i=this.monthDays(e,t),a=i;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+=i);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)}},o=r;t.default=o},6:function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFileListByPage=i,t.insertDownloadFile=o;var r=n(45);function o(e){return(0,r.request)({url:"/file/downloadData",method:"post",data:e})}function i(e){return(0,r.request)({url:"/file/downloadData/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}},646:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.sticky)};t.default=u}).call(this,n(2)["default"])},654:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.badge)};t.default=u}).call(this,n(2)["default"])},655:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({duration:{type:Number,default:300},list:{type:Array,default:function(){return[]}},lineColor:{type:String,default:"#08979c"},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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.tabs)};t.default=u}).call(this,n(2)["default"])},675:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.picker)};t.default=u}).call(this,n(2)["default"])},683:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={"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"};t.default=r},684:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.icon)};t.default=u}).call(this,n(2)["default"])},7:function(e,t){function n(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},741:function(e,t,n){"use strict";function r(){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,r=o(e,!1),a=r[0],s=r[1],c=r[2],u=o(t,!1),l=u[0],f=u[1],d=u[2],p=(l-a)/n,h=(f-s)/n,y=(d-c)/n,v=[],g=0;g<n;g++){var m=i("rgb(".concat(Math.round(p*g+a),",").concat(Math.round(h*g+s),",").concat(Math.round(y*g+c),")"));0===g&&(m=i(e)),g===n-1&&(m=i(t)),v.push(m)}return v}function o(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="#",o=1;o<4;o+=1)r+=e.slice(o,o+1).concat(e.slice(o,o+1));e=r}for(var i=[],a=1;a<7;a+=2)i.push(parseInt("0x".concat(e.slice(a,a+2))));return t?"rgb(".concat(i[0],",").concat(i[1],",").concat(i[2],")"):i}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,n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(/^(rgb|RGB)/.test(t)){for(var r=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),o="#",i=0;i<r.length;i++){var a=Number(r[i]).toString(16);a=1==String(a).length?"".concat(0,a):a,"0"===a&&(a+=a),o+=a}return 7!==o.length&&(o=t),o}if(!n.test(t))return t;var s=t.replace(/#/,"").split("");if(6===s.length)return t;if(3===s.length){for(var c="#",u=0;u<s.length;u+=1)c+=s[u]+s[u];return c}}function a(e,t){e=i(e);var n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,r=String(e).toLowerCase();if(r&&n.test(r)){if(4===r.length){for(var o="#",a=1;a<4;a+=1)o+=r.slice(a,a+1).concat(r.slice(a,a+1));r=o}for(var s=[],c=1;c<7;c+=2)s.push(parseInt("0x".concat(r.slice(c,c+2))));return"rgba(".concat(s.join(","),",").concat(t,")")}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.colorGradient=r,t.colorToRgba=a,t.hexToRgb=o,t.rgbToHex=i},742:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.loadingIcon)};t.default=u}).call(this,n(2)["default"])},750:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.swiperIndicator)};t.default=u}).call(this,n(2)["default"])},758:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=p;var o=r(n(11)),i=r(n(23)),a=r(n(24));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,o.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,i.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 o="";"rotate"===e&&(o="deg"),r.styles.transform+="".concat(e,"(").concat(t+o,") ")}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,o){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,o=e[n];if(o){var i=o.styles,a=o.config;this._animateRun(i,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"],f=["opacity","backgroundColor"],d=["width","height","left","right","top","bottom"];function p(e,t){if(t)return clearTimeout(t.timer),new u(e,t)}l.concat(f,d).forEach((function(e){u.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n(2)["default"])},771: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},772: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},773:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.button)};t.default=u}).call(this,n(2)["default"])},8:function(e,t,n){var r=n(9);function o(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=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},802:function(e,t,n){"use strict";(function(e,r){var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.chooseFile=p;var i=o(n(11));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,i.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"])),{},{type:"image",url:e.path,thumb:e.path,size:e.size})}))}function l(e){return[s(s({},c(e,["tempFilePath","thumbTempFilePath","errMsg"])),{},{type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size})]}function f(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})}))}function d(e){return e.tempFiles.map((function(e){return s(s({},c(e,["path"])),{},{url:e.path,size:e.size})}))}function p(t){var n=t.accept,o=t.multiple,i=t.capture,a=t.compressed,s=t.maxDuration,c=t.sizeType,p=t.camera,h=t.maxCount;return new Promise((function(t,y){switch(n){case"image":e.chooseImage({count:o?Math.min(h,9):1,sourceType:i,sizeType:c,success:function(e){return t(u(e))},fail:y});break;case"media":r.chooseMedia({count:o?Math.min(h,9):1,sourceType:i,maxDuration:s,sizeType:c,camera:p,success:function(e){return t(f(e))},fail:y});break;case"video":e.chooseVideo({sourceType:i,compressed:a,maxDuration:s,camera:p,success:function(e){return t(l(e))},fail:y});break;case"file":r.chooseMessageFile({count:o?h:1,type:n,success:function(e){return t(d(e))},fail:y});break;default:r.chooseMessageFile({count:o?h:1,type:"all",success:function(e){return t(d(e))},fail:y})}}))}}).call(this,n(2)["default"],n(1)["default"])},803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(492);var r={watch:{accept:{immediate:!0,handler:function(e){}}}};t.default=r},804:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.upload)};t.default=u}).call(this,n(2)["default"])},819:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.toolbar)};t.default=u}).call(this,n(2)["default"])},84:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attention=s,t.cancelAttention=c,t.getCustomerDetailById=d,t.getCustomerListByPage=f,t.getFansAttentionListByPage=l,t.getFansListByPage=u,t.getMyCount=o,t.getUserInfoById=i,t.isFans=a;var r=n(45);function o(){return(0,r.request)({url:"/api/fans/count",method:"get"})}function i(e){return(0,r.request)({url:"/manager/userInfo/".concat(e),method:"get"})}function a(e){return(0,r.request)({url:"/api/fans/attention/".concat(e),method:"get"})}function s(e){return(0,r.request)({url:"/api/fans/".concat(e),method:"get"})}function c(e){return(0,r.request)({url:"/api/fans/".concat(e),method:"delete"})}function u(e,t){return(0,r.request)({url:"/api/fans/".concat(e,"/").concat(t),method:"get"})}function l(e,t){return(0,r.request)({url:"/api/fans/attention/".concat(e,"/").concat(t),method:"get"})}function f(e){return(0,r.request)({url:"/manager/client/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})}function d(e){return(0,r.request)({url:"/manager/client/".concat(e),method:"get"})}},848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(39);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]}}))}))},849: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},850:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(851);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]}}))}))},851:function(e,t,n){"use strict";(function(e){function n(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return null==n?Promise.reject("context is null"):(n.context&&(n=n.context),n.proxy&&(n=n.proxy),new Promise((function(o,i){var a=e.createSelectorQuery().in(n).select(t),s=function(e){e?o(e):i("no rect")};r?a.fields({node:!0,size:!0,rect:!0},s).exec():a.boundingClientRect(s).exec()})))}function r(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return null==n?Promise.reject("context is null"):(n.proxy&&(n=n.proxy),new Promise((function(o,i){var a=e.createSelectorQuery().in(n).selectAll(t),s=function(e){e?o(e):i("no rect")};r?a.fields({node:!0,size:!0,rect:!0},s).exec():a.boundingClientRect(s).exec()})))}Object.defineProperty(t,"__esModule",{value:!0}),t.getAllRect=r,t.getRect=n}).call(this,n(2)["default"])},852:function(e,t,n){"use strict";function r(e,t){return e.reduce((function(e,n){return Math.abs(e-t)<Math.abs(n-t)?e:n}))}Object.defineProperty(t,"__esModule",{value:!0}),t.closest=r},853:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTouch=i;var r=n(848);function o(e,t){return e>t?"horizontal":t>e?"vertical":""}function i(){var e=(0,r.ref)(0),t=(0,r.ref)(0),n=(0,r.ref)(0),i=(0,r.ref)(0),a=(0,r.ref)(0),s=(0,r.ref)(0),c=(0,r.ref)(""),u=(0,r.ref)(!0),l=function(){return"vertical"===c.value},f=function(){return"horizontal"===c.value},d=function(){n.value=0,i.value=0,a.value=0,s.value=0,c.value="",u.value=!0},p=function(n){d(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},h=function(r){var l=r.touches[0];n.value=(l.clientX<0?0:l.clientX)-e.value,i.value=l.clientY-t.value,a.value=Math.abs(n.value),s.value=Math.abs(i.value);var f=10,d=5;(""==c.value||a.value<f&&s.value<f)&&(c.value=o(a.value,s.value)),u.value&&(a.value>d||s.value>d)&&(u.value=!1)};return{start:p,move:h,startX:e,startY:t,deltaX:n,deltaY:i,offsetX:a,offsetY:s,direction:c,isVertical:l,isHorizontal:f,isTap:u}}},854:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNumber=o,t.format=i;var r=n(855);function o(e,t){var n=Math.pow(10,10);return Math.round((e+t)*n)/n}function i(e,t,n,i){var a=(0,r.clamp)(e,t,n),s=Math.round((a-t)/i)*i;return o(t,s)}},855:function(e,t,n){"use strict";function r(e,t,n){return Math.max(t,Math.min(n,e))}Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=r},863:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.switch)};t.default=u}).call(this,n(2)["default"])},871:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(13)),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 o(e,t){for(var n in t)e[n]=e[n]&&"[object Object]"===e[n].toString()?o(e[n],t[n]):e[n]=t[n];return e}return n.forEach((function(t){e=o(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=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,r=e.replace(n,(function(e,t,n,r){return t+t+n+n+r+r})),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),i=parseInt(o[1],16),a=parseInt(o[2],16),s=parseInt(o[3],16);return"rgba("+i+","+a+","+s+","+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){for(var o=[],i=0;i<e.length;i++){for(var a={data:[],name:t[i],color:n[i]},s=0,c=r.length;s<c;s++)if(s<e[i])a.data.push(null);else{for(var u=0,l=0;l<e[i];l++)u+=r[s-l][1];a.data.push(+(u/e[i]).toFixed(3))}o.push(a)}return o}function d(e,t,n,r,o){var i=o.width-o.area[1]-o.area[3],a=n.eachSpacing*(o.chartData.xAxisData.xAxisPoints.length-1);"mount"==o.type&&o.extra&&o.extra.mount&&o.extra.mount.widthRatio&&o.extra.mount.widthRatio>1&&(o.extra.mount.widthRatio>2&&(o.extra.mount.widthRatio=2),a+=(o.extra.mount.widthRatio-1)*n.eachSpacing);var s=t;return t>=0?(s=0,e.uevent.trigger("scrollLeft"),e.scrollOption.position="left",o.xAxis.scrollPosition="left"):Math.abs(t)>=a-i?(s=i-a,e.uevent.trigger("scrollRight"),e.scrollOption.position="right",o.xAxis.scrollPosition="right"):(e.scrollOption.position=t,o.xAxis.scrollPosition=t),s}function p(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 h(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 o=.2,i=.2,a=null,s=null,c=null,u=null;if(t<1?(a=e[0].x+(e[1].x-e[0].x)*o,s=e[0].y+(e[1].y-e[0].y)*o):(a=e[t].x+(e[t+1].x-e[t-1].x)*o,s=e[t].y+(e[t+1].y-e[t-1].y)*o),t>e.length-3){var l=e.length-1;c=e[l].x-(e[l].x-e[l-1].x)*i,u=e[l].y-(e[l].y-e[l-1].y)*i}else c=e[t+1].x-(e[t+2].x-e[t].x)*i,u=e[t+1].y-(e[t+2].y-e[t].y)*i;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 y(e,t,n){return{x:n.x+e,y:n.y-t}}function v(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){var r=[];if(e.length>0&&e[0].data.constructor.toString().indexOf("Array")>-1){t._pieSeries_=e;for(var o=e[0].data,i=0;i<o.length;i++)o[i].formatter=e[0].formatter,o[i].data=o[i].value,r.push(o[i]);t.series=r}else r=e;return r}function m(e,t,n){for(var r=0,o=0;o<e.length;o++){var i=e[o];if(i.color||(i.color=n.color[r],r=(r+1)%n.color.length),i.linearIndex||(i.linearIndex=o),i.index||(i.index=0),i.type||(i.type=t.type),"undefined"==typeof i.show&&(i.show=!0),i.type||(i.type=t.type),i.pointShape||(i.pointShape="circle"),!i.legendShape)switch(i.type){case"line":i.legendShape="line";break;case"column":case"bar":i.legendShape="rect";break;case"area":case"mount":i.legendShape="triangle";break;default:i.legendShape="circle"}}return e}function b(e,t,n,r){var o=t||[];if("custom"==e&&0==o.length&&(o=r.linearColor),"custom"==e&&o.length<n.length)for(var i=n.length-o.length,a=0;a<i;a++)o.push(r.linearColor[(a+1)%r.linearColor.length]);return o}function S(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 x(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 o=0;o<e.length;o++){var i=e[o];/[a-zA-Z]/.test(i)?r+=7:/[0-9]/.test(i)?r+=5.5:/\./.test(i)?r+=2.7:/-/.test(i)?r+=3.25:/:/.test(i)?r+=2.5:/[\u4e00-\u9fa5]/.test(i)?r+=10:/\(|\)/.test(i)?r+=3.73:/\s/.test(i)?r+=2.5:/%/.test(i)?r+=8:r+=10}return r*t/10}function C(e){return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data)}),[])}function _(e,t){for(var n=new Array(t),r=0;r<n.length;r++)n[r]=0;for(var o=0;o<e.length;o++)for(r=0;r<n.length;r++)n[r]+=e[o].data[r];return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data).concat(n)}),[])}function L(e,t,n){var r,o;return e.clientX?t.rotate?(o=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,o=(e.pageY-n.currentTarget.offsetTop-t.height/t.pix/2*(t.pix-1))*t.pix):t.rotate?(o=t.height-e.x*t.pix,r=e.y*t.pix):(r=e.x*t.pix,o=e.y*t.pix),{x:r,y:o}}function P(e,t,n){var r=[],o=[],i=t.constructor.toString().indexOf("Array")>-1;if(i)for(var a=D(e),s=0;s<n.length;s++)o.push(a[n[s]]);else o=e;for(var c=0;c<o.length;c++){var u=o[c],l=-1;if(l=i?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 Y(e,t,n){var r=e.map((function(e){return x(e,t,n)}));return Math.max.apply(null,r)}function T(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 M(e,t,n,r,o){var i=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=o[n]),{text:i.formatter?i.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 o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=t.chartData.xAxisPoints[n]+t.chartData.eachSpacing/2,a=e.map((function(e){return{text:o.formatter?o.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(i),y:0};return{textList:a,offset:s}}function Z(e,t,n,r,o,i){var a=n.chartData.calPoints,s=i.color.upFill,c=i.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 o={text:"开盘:"+t.data[0],color:u[0],legendShape:"auto"==n.extra.tooltip.legendShape?t.legendShape:n.extra.tooltip.legendShape},i={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(o,i,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 D(e){for(var t=[],n=0;n<e.length;n++)1==e[n].show&&t.push(e[n]);return t}function A(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i={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(N(e,n,r))if(n.categories)s.forEach((function(t,n){e.x+o+a>t&&(i.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);i.index=[];for(var v=0;v<d.length;v++)d[v]==y&&(i.group.push(v),i.index.push(p[v]))}}return i}function O(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i={index:-1,group:[]},a=n.chartData.eachSpacing/2,s=n.chartData.yAxisPoints;return t&&t.length>0&&N(e,n,r)&&s.forEach((function(t,n){e.y+o+a>t&&(i.index=n)})),i}function X(e,t,n){var r=-1,o=0;if(R(e,t.area)){for(var i=t.points,a=-1,s=0,c=i.length;s<c;s++)for(var u=i[s],l=0;l<u.length;l++){a+=1;var f=u[l]["area"];if(f&&e.x>f[0]-o&&e.x<f[2]+o&&e.y>f[1]-o&&e.y<f[3]+o){r=a;break}}return r}return r}function R(e,t){return e.x>t.start.x&&e.x<t.end.x&&e.y>t.start.y&&e.y<t.end.y}function N(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 E(e,t,n){var r=2*Math.PI/n,o=-1;if(I(e,t.center,t.radius)){var i=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=i(-1*e),e}));s.forEach((function(e,t){var n=i(e-r/2),s=i(e+r/2);s<n&&(s+=2*Math.PI),(a>=n&&a<=s||a+2*Math.PI>=n&&a+2*Math.PI<=s)&&(o=t)}))}return o}function J(e,t){for(var n=-1,r=0,o=t.series.length;r<o;r++){var i=t.series[r];if(e.x>i.funnelArea[0]&&e.x<i.funnelArea[2]&&e.y>i.funnelArea[1]&&e.y<i.funnelArea[3]){n=r;break}}return n}function H(e,t){for(var n=-1,r=0,o=t.length;r<o;r++){var i=t[r];if(e.x>i.area[0]&&e.x<i.area[2]&&e.y>i.area[1]&&e.y<i.area[3]){n=r;break}}return n}function B(e,t){for(var n=-1,r=t.chartData.mapData,o=t.series,i=st(e.y,e.x,r.bounds,r.scale,r.xoffset,r.yoffset),a=[i.x,i.y],s=0,c=o.length;s<c;s++){var u=o[s].geometry.coordinates;if(ut(a,u,t.chartData.mapData.mercator)){n=s;break}}return n}function k(e,t,n){var r=-1,o=V(n._series_,n.extra.rose.type,t.radius,t.radius);if(t&&t.center&&I(e,t.center,t.radius)){var i=Math.atan2(t.center.y-e.y,e.x-t.center.x);i=-i,n.extra.rose&&n.extra.rose.offsetAngle&&(i-=n.extra.rose.offsetAngle*Math.PI/180);for(var a=0,s=o.length;a<s;a++)if(p(i,o[a]._start_,o[a]._start_+2*o[a]._rose_proportion_*Math.PI)){r=a;break}}return r}function F(e,t,n){var r=-1,o=K(t.series);if(t&&t.center&&I(e,t.center,t.radius)){var i=Math.atan2(t.center.y-e.y,e.x-t.center.x);i=-i,n.extra.pie&&n.extra.pie.offsetAngle&&(i-=n.extra.pie.offsetAngle*Math.PI/180),n.extra.ring&&n.extra.ring.offsetAngle&&(i-=n.extra.ring.offsetAngle*Math.PI/180);for(var a=0,s=o.length;a<s;a++)if(p(i,o[a]._start_,o[a]._start_+2*o[a]._proportion_*Math.PI)){r=a;break}}return r}function I(e,t,n){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(n,2)}function G(e,t){var n=[],r=[];return e.forEach((function(e,o){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 Q(e,t,n,r,o){var i={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=i,i;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=[],v=0;v<e.length;v++){var g=e[v],m=g.legendText?g.legendText:g.name,b=u+l+x(m||"undefined",c,o)+t.legend.itemGap*t.pix;p+b>t.width-t.area[1]-t.area[3]?(d.push(y),h.push(p-t.legend.itemGap*t.pix),p=b,y=[g]):(p+=b,y.push(g))}if(y.length){d.push(y),h.push(p-t.legend.itemGap*t.pix),i.widthArr=h;var S=Math.max.apply(null,h);switch(t.legend.float){case"left":i.area.start.x=t.area[3],i.area.end.x=t.area[3]+S+2*a;break;case"right":i.area.start.x=t.width-t.area[1]-S-2*a,i.area.end.x=t.width-t.area[1];break;default:i.area.start.x=(t.width-S)/2-a,i.area.end.x=(t.width+S)/2+a}i.area.width=S+2*a,i.area.wholeWidth=S+2*a,i.area.height=d.length*f+2*a,i.area.wholeHeight=d.length*f+2*a+2*s,i.points=d}}else{var C=e.length,_=t.height-t.area[0]-t.area[2]-2*s-2*a,L=Math.min(Math.floor(_/f),C);switch(i.area.height=L*f+2*a,i.area.wholeHeight=L*f+2*a,t.legend.float){case"top":i.area.start.y=t.area[0]+s,i.area.end.y=t.area[0]+s+i.area.height;break;case"bottom":i.area.start.y=t.height-t.area[2]-s-i.area.height,i.area.end.y=t.height-t.area[2]-s;break;default:i.area.start.y=(t.height-i.area.height)/2,i.area.end.y=(t.height+i.area.height)/2}for(var P=C%L===0?C/L:Math.floor(C/L+1),Y=[],T=0;T<P;T++){var M=e.slice(T*L,T*L+L);Y.push(M)}if(i.points=Y,Y.length){for(var w=0;w<Y.length;w++){for(var Z=Y[w],D=0,A=0;A<Z.length;A++){var O=u+l+x(Z[A].name||"undefined",c,o)+t.legend.itemGap*t.pix;O>D&&(D=O)}i.widthArr.push(D),i.heightArr.push(Z.length*f+2*a)}for(var X=0,R=0;R<i.widthArr.length;R++)X+=i.widthArr[R];i.area.width=X-t.legend.itemGap*t.pix+2*a,i.area.wholeWidth=i.area.width+a}}switch(t.legend.position){case"top":i.area.start.y=t.area[0]+s,i.area.end.y=t.area[0]+s+i.area.height;break;case"bottom":i.area.start.y=t.height-t.area[2]-i.area.height-s,i.area.end.y=t.height-t.area[2]-s;break;case"left":i.area.start.x=t.area[3],i.area.end.x=t.area[3]+i.area.width;break;case"right":i.area.start.x=t.width-t.area[1]-i.area.width,i.area.end.x=t.width-t.area[1];break}return r.legendData=i,i}function j(e,t,n,r,o){var i={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 x(String(r),a,o)})),c=Math.max.apply(this,s);if(1==t.xAxis.rotateLabel){i.angle=t.xAxis.rotateAngle*Math.PI/180;var u=t.xAxis.marginTop*t.pix*2+Math.abs(c*Math.sin(i.angle));u=u<a+t.xAxis.marginTop*t.pix*2?u+t.xAxis.marginTop*t.pix*2:u,i.xAxisHeight=u}return t.enableScroll&&t.xAxis.scrollShow&&(i.xAxisHeight+=6*t.pix),t.xAxis.disabled&&(i.xAxisHeight=0),i}function W(e,t,n,r){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;o="stack"==r?_(e,t.categories.length):C(e);var s=[];o=o.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),o.map((function(e){"object"===(0,i.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}function $(e,t,n,r){var o=s({},{type:""},t.extra.bar),i={angle:0,xAxisHeight:t.xAxis.lineHeight*t.pix+t.xAxis.marginTop*t.pix};i.ranges=W(e,t,n,o.type),i.rangesFormat=i.ranges.map((function(e){return e=c.toFixed(e,2),e}));var a=i.ranges.map((function(e){return e=c.toFixed(e,2),e}));i=Object.assign(i,ue(a,t,n));i.eachSpacing,a.map((function(e){return x(e,t.xAxis.fontSize*t.pix,r)}));return!0===t.xAxis.disabled&&(i.xAxisHeight=0),i}function U(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=o.extra.radar||{};a.max=a.max||0;for(var s=Math.max(a.max,Math.max.apply(null,C(r))),c=[],u=function(o){var a=r[o],u={};u.color=a.color,u.legendShape=a.legendShape,u.pointShape=a.pointShape,u.data=[],a.data.forEach((function(r,o){var a={};a.angle=e[o],a.proportion=r/s,a.value=r,a.position=y(n*a.proportion*i*Math.cos(a.angle),n*a.proportion*i*Math.sin(a.angle),t),u.data.push(a)})),c.push(u)},l=0;l<r.length;l++)u(l);return c}function K(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=0,o=0,i=0;i<e.length;i++){var a=e[i];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_=o,o+=2*l._proportion_*Math.PI}return e}function z(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=0;i<e.length;i++)"funnel"==n.type?e[i].radius=e[i].data/e[0].data*t*o:e[i].radius=r*(e.length-i)/(r*e.length)*t*o,e[i]._proportion_=e[i].data/e[0].data;return e}function V(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=0,a=0,s=[],c=0;c<e.length;c++){var u=e[c];u.data=null===u.data?0:u.data,i+=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===i?(h._proportion_=1/e.length*o,h._rose_proportion_=1/e.length*o):(h._proportion_=h.data/i*o,h._rose_proportion_="area"==t?1/e.length*o:h.data/i*o),h._radius_=n+d*((h.data-l)/(f-l))||r}for(var y=0;y<e.length;y++){var v=e[y];v._start_=a,a+=2*v._rose_proportion_*Math.PI}return e}function q(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 o=e[r];o.data=null===o.data?0:o.data;var i=void 0;i="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,o._proportion_=i*o.data*n+t.startAngle,"ccw"==t.direction&&(o._proportion_=t.startAngle-i*o.data*n),o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return e}function ee(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 o=e[r];o.data=null===o.data?0:o.data;var i=void 0;i="circle"==t.type?2:t.endAngle<t.startAngle?2+t.endAngle-t.startAngle:t.startAngle-t.endAngle,o._proportion_=i*o.data*n+t.startAngle,o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return e}function te(e,t,n){var r;r=n<t?2+n-t:t-n;for(var o=t,i=0;i<e.length;i++)e[i].value=null===e[i].value?0:e[i].value,e[i]._startAngle_=o,e[i]._endAngle_=r*e[i].value+t,e[i]._endAngle_>=2&&(e[i]._endAngle_=e[i]._endAngle_%2),o=e[i]._endAngle_;return e}function ne(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=0;o<e.length;o++){var i=e[o];if(i.data=null===i.data?0:i.data,"auto"==n.pointer.color){for(var a=0;a<t.length;a++)if(i.data<=t[a].value){i.color=t[a].color;break}}else i.color=n.pointer.color;var s=void 0;s=n.endAngle<n.startAngle?2+n.endAngle-n.startAngle:n.startAngle-n.endAngle,i._endAngle_=s*i.data+n.startAngle,i._oldAngle_=n.oldAngle,n.oldAngle<n.endAngle&&(i._oldAngle_+=2),i.data>=n.oldData?i._proportion_=(i._endAngle_-i._oldAngle_)*r+n.oldAngle:i._proportion_=i._oldAngle_-(i._oldAngle_-i._endAngle_)*r,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function re(e,t,n,r){e=K(e);for(var o=0,i=0;i<e.length;i++){var a=e[i],s=a.formatter?a.formatter(+a._proportion_.toFixed(2)):c.toFixed(100*a._proportion_)+"%";o=Math.max(o,x(s,a.textSize*r.pix||t.fontSize,n))}return o}function oe(e,t,n,r,o,i){return e.map((function(e){if(null===e)return null;var o=0,a=0;return"mix"==i.type?(o=i.extra.mix.column.seriesGap*i.pix||0,a=i.extra.mix.column.categoryGap*i.pix||0):(o=i.extra.column.seriesGap*i.pix||0,a=i.extra.column.categoryGap*i.pix||0),o=Math.min(o,t/n),a=Math.min(a,t/n),e.width=Math.ceil((t-2*a-o*(n-1))/n),i.extra.mix&&i.extra.mix.column.width&&+i.extra.mix.column.width>0&&(e.width=Math.min(e.width,+i.extra.mix.column.width*i.pix)),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e.x+=(r+.5-n/2)*(e.width+o),e}))}function ie(e,t,n,r,o,i){return e.map((function(e){if(null===e)return null;var o=0,a=0;return o=i.extra.bar.seriesGap*i.pix||0,a=i.extra.bar.categoryGap*i.pix||0,o=Math.min(o,t/n),a=Math.min(a,t/n),e.width=Math.ceil((t-2*a-o*(n-1))/n),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e.y+=(r+.5-n/2)*(e.width+o),e}))}function ae(e,t,n,r,o,i,a){var s=i.extra.column.categoryGap*i.pix||0;return e.map((function(e){return null===e?null:(e.width=t-2*s,i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),r>0&&(e.width-=a),e)}))}function se(e,t,n,r,o,i,a){var s=i.extra.column.categoryGap*i.pix||0;return e.map((function(e,n){return null===e?null:(e.width=Math.ceil(t-2*s),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function ce(e,t,n,r,o,i,a){var s=i.extra.bar.categoryGap*i.pix||0;return e.map((function(e,n){return null===e?null:(e.width=Math.ceil(t-2*s),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function ue(e,t,n){var r=t.width-t.area[1]-t.area[3],o=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)&&o>1&&"justify"==t.xAxis.boundaryGap&&(o-=1);var i=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),i=t.extra.mount.widthRatio-1,o+=i);var a=r/o,s=[],c=t.area[3],u=t.width-t.area[1];return e.forEach((function(e,t){s.push(c+i/2*a+t*a)})),"justify"!==t.xAxis.boundaryGap&&(!0===t.enableScroll?s.push(c+i*a+e.length*a):s.push(u)),{xAxisPoints:s,startX:c,endX:u,eachSpacing:a}}function le(e,t,n,r,o,i,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],u=i.height-i.area[0]-i.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(o/2);var d=e.value||e,p=u*(d-t)/(n-t);p*=s,f.y=i.height-Math.round(p)-i.area[2],l.push(f)})),c.push(l)}})),c}function fe(e,t,n,r,o,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,v,g=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)h=[].concat(a.chartData.xAxisData.ranges),y=h.shift(),v=h.pop(),g=e[1],p.x=a.area[3]+d*(e[0]-y)/(v-y),"bubble"==a.type&&(p.r=e[2],p.t=e[3]);else g=e.value;"center"==u&&(p.x+=o/2);var m=f*(g-t)/(n-t);m*=c,p.y=a.height-m-a.area[2],l.push(p)}})),l}function de(e,t,n,r,o,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,v,g,m=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)y=[].concat(a.chartData.xAxisData.ranges),v=y.shift(),g=y.pop(),m=e[1],h.x=a.area[3]+p*(e[0]-v)/(g-v);else m=e.value;"center"==l&&(h.x+=o/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]+o*s*u;m=e;"center"==l&&(h.x+=o/2);b=d*(m-t)/(n-t);h.y=a.height-b-a.area[2],f.push(h)}}})),f}function pe(e,t,n,r,o,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,v=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)p=[].concat(a.chartData.xAxisData.ranges),h=p.shift(),y=p.pop(),v=e[1],c.x=a.area[3]+d*(e[0]-h)/(y-h);else v=e.value;c.x+=o/2;var g=f*(v*u-t)/(n-t);c.y=a.height-g-a.area[2],l.push(c)}})),l}function he(e,t,n,r,o,i,a,s){var c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,u=[],l=i.height-i.area[0]-i.area[2],f=(i.width,i.area[1],i.area[3],o*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+=o/2;var d=e.data,p=l*(d*c-t)/(n-t);s.y=i.height-p-i.area[2],s.value=d,s.width=f,u.push(s)}})),u}function ye(e,t,n,r,o,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,o){if(null===e)u.push(null);else{var s={};s.color=e.color,s.y=r[o];var f=e;"object"===(0,i.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 ve(e,t,n,r,o,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(o/2),c>0){for(var h=0,y=0;y<=c;y++)h+=u[y].data[s];var v=h-e,g=d*(h-t)/(n-t),m=d*(v-t)/(n-t)}else{h=e;"object"===(0,i.default)(e)&&null!==e&&(h=e.value);g=d*(h-t)/(n-t),m=0}var b=m;g*=l,b*=l,p.y=a.height-Math.round(g)-a.area[2],p.y0=a.height-Math.round(b)-a.area[2],f.push(p)}})),f}function ge(e,t,n,r,o,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,o){if(null===e)f.push(null);else{var s={};if(s.color=e.color,s.y=r[o],c>0){for(var p=0,h=0;h<=c;h++)p+=u[h].data[o];var y=p-e,v=d*(p-t)/(n-t),g=d*(y-t)/(n-t)}else{p=e;"object"===(0,i.default)(e)&&null!==e&&(p=e.value);v=d*(p-t)/(n-t),g=0}var m=g;v*=l,m*=l,s.height=v-m,s.x=a.area[3]+v,s.x0=a.area[3]+m,f.push(s)}})),f}function me(e,t,n,r,o){var a;a="stack"==r?_(e,t.categories.length):C(e);var s=[];a=a.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),a.map((function(e){"object"===(0,i.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=o.min||0,u=o.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=S(c,u),f=void 0===o.min||null===o.min?l.minRange:o.min,d=void 0===o.max||null===o.max?l.maxRange:o.max,p=(d-f)/t.yAxis.splitNumber,h=[],y=0;y<=t.yAxis.splitNumber;y++)h.push(f+p*y);return h.reverse()}function be(e,t,n,r){var o=s({},{type:""},t.extra.column),i=t.yAxis.data.length,a=new Array(i);if(i>0){for(var u=0;u<i;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(i),d=new Array(i),p=new Array(i),h=function(e){var i=t.yAxis.data[e];1==t.yAxis.disabled&&(i.disabled=!0),"categories"===i.type?(i.formatter||(i.formatter=function(e,t,n){return e+(i.unit||"")}),i.categories=i.categories||t.categories,f[e]=i.categories):(i.formatter||(i.formatter=function(e,t,n){return c.toFixed(e,i.tofix||0)+(i.unit||"")}),f[e]=me(a[e],t,n,o.type,i,e));var s=i.fontSize*t.pix||n.fontSize;p[e]={position:i.position?i.position:"left",width:0},d[e]=f[e].map((function(n,o){return n=i.formatter(n,o,t),p[e].width=Math.max(p[e].width,x(n,s,r)+5),n}));var u=i.calibration?4*t.pix:0;p[e].width+=u+3*t.pix,!0===i.disabled&&(p[e].width=0)},y=0;y<i;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]=me(e,t,n,o.type,{})),p[0]={position:"left",width:0};var v=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,x(e,v,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 Se(e,t,n,r,o){for(var i=[].concat(n.chartData.yAxisData.ranges),a=n.height-n.area[0]-n.area[2],s=n.area[0],c=[],u=0;u<i.length;u++){var l=Math.max.apply(this,i[u]),f=Math.min.apply(this,i[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}function xe(e,t){for(var n,r,o=t.height-t.area[0]-t.area[2],i=0;i<e.length;i++){e[i].yAxisIndex=e[i].yAxisIndex?e[i].yAxisIndex:0;var a=[].concat(t.chartData.yAxisData.ranges[e[i].yAxisIndex]);n=a.pop(),r=a.shift();var s=o*(e[i].value-n)/(r-n);e[i].y=t.height-Math.round(s)-t.area[2]}return e}function Ce(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 _e(e,t,n,r,o){if(r.beginPath(),"hollow"==o.dataPointShapeType?(r.setStrokeStyle(t),r.setFillStyle(o.background),r.setLineWidth(2*o.pix)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*o.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*o.pix,e.y),r.arc(e.x,e.y,3*o.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 Le(e,t,n,r,o,i,a){if(o.tooltip&&!(o.tooltip.group.length>0&&0==o.tooltip.group.includes(a))){var s="number"===typeof o.tooltip.index?o.tooltip.index:o.tooltip.index[o.tooltip.group.indexOf(a)];if(r.beginPath(),"hollow"==i.activeType?(r.setStrokeStyle(t),r.setFillStyle(o.background),r.setLineWidth(2*o.pix)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*o.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*o.pix,e.y),r.arc(e.x,e.y,3*o.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 Pe(e,t,n,r){var o=e.title.fontSize||t.titleFontSize,i=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?o:0,f=s?i:0,d=5;if(s){var p=x(s,i*e.pix,n),h=r.x-p/2+(e.subtitle.offsetX||0)*e.pix,y=r.y+i*e.pix/2+(e.subtitle.offsetY||0)*e.pix;a&&(y+=(l*e.pix+d)/2),n.beginPath(),n.setFontSize(i*e.pix),n.setFillStyle(u),n.fillText(s,h,y),n.closePath(),n.stroke()}if(a){var v=x(a,o*e.pix,n),g=r.x-v/2+(e.title.offsetX||0),m=r.y+o*e.pix/2+(e.title.offsetY||0)*e.pix;s&&(m-=(f*e.pix+d)/2),n.beginPath(),n.setFontSize(o*e.pix),n.setFillStyle(c),n.fillText(a,g,m),n.closePath(),n.stroke()}}function Ye(e,t,n,r,o){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*o.pix:n.fontSize;r.setFontSize(u),r.setFillStyle(t.textColor||o.fontColor);var l=a[c];"object"===(0,i.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,o):l;r.setTextAlign("center"),r.fillText(String(f),e.x,e.y-4+s*o.pix),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function Te(e,t,n,r,o){var a=t.data,s=t.textOffset?t.textOffset:0,c=o.extra.column.labelPosition;e.forEach((function(e,u){if(null!==e){r.beginPath();var l=t.textSize?t.textSize*o.pix:n.fontSize;r.setFontSize(l),r.setFillStyle(t.textColor||o.fontColor);var f=a[u];"object"===(0,i.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,o):f;r.setTextAlign("center");var p=e.y-4*o.pix+s*o.pix;e.y>t.zeroPoints&&(p=e.y+s*o.pix+l),"insideTop"==c&&(p=e.y+l+s*o.pix,e.y>t.zeroPoints&&(p=e.y-s*o.pix-4*o.pix)),"center"==c&&(p=e.y+s*o.pix+(o.height-o.area[2]-e.y+l)/2,t.zeroPoints<o.height-o.area[2]&&(p=e.y+s*o.pix+(t.zeroPoints-e.y+l)/2),e.y>t.zeroPoints&&(p=e.y-s*o.pix-(e.y-t.zeroPoints-l)/2),"stack"==o.extra.column.type&&(p=e.y+s*o.pix+(e.y0-e.y+l)/2)),"bottom"==c&&(p=o.height-o.area[2]+s*o.pix-4*o.pix,t.zeroPoints<o.height-o.area[2]&&(p=t.zeroPoints+s*o.pix-4*o.pix),e.y>t.zeroPoints&&(p=t.zeroPoints-s*o.pix+l+2*o.pix),"stack"==o.extra.column.type&&(p=e.y0+s*o.pix-4*o.pix)),r.fillText(String(d),e.x,p),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function Me(e,t,n,r,o,i){t.data;var a=t.textOffset?t.textOffset:0;o.extra.mount.labelPosition;e.forEach((function(e,s){if(null!==e){r.beginPath();var c=t[s].textSize?t[s].textSize*o.pix:n.fontSize;r.setFontSize(c),r.setFillStyle(t[s].textColor||o.fontColor);var u=e.value,l=t[s].formatter?t[s].formatter(u,s,t,o):u;r.setTextAlign("center");var f=e.y-4*o.pix+a*o.pix;e.y>i&&(f=e.y+a*o.pix+c),r.fillText(String(l),e.x,f),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function we(e,t,n,r,o){var a=t.data;t.textOffset&&t.textOffset;e.forEach((function(e,s){if(null!==e){r.beginPath();var c=t.textSize?t.textSize*o.pix:n.fontSize;r.setFontSize(c),r.setFillStyle(t.textColor||o.fontColor);var u=a[s];"object"===(0,i.default)(a[s])&&null!==a[s]&&(u=a[s].value);var l=t.formatter?t.formatter(u,s,t,o):u;r.setTextAlign("left"),r.fillText(String(l),e.x+4*o.pix,e.y+c/2-3),r.closePath(),r.stroke()}}))}function Ze(e,t,n,r,o,i){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-x(h,o.fontSize,i)/2,p.y+=n.y;var y=p.x,v=p.y;i.beginPath(),i.setFontSize(o.fontSize),i.setFillStyle(e.labelColor||r.fontColor),i.fillText(h,y,v+o.fontSize/2),i.closePath(),i.stroke(),l+=s,l>=2&&(l%=2),f+=u}}function De(e,t,n,r,o,i){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=y(u.x,u.y,n);i.setFillStyle(a.labelPointColor),i.beginPath(),i.arc(l.x,l.y,a.labelPointRadius*r.pix,0,2*Math.PI,!1),i.closePath(),i.fill()}if(!0===a.labelShow){var f={x:(t+o.radarLabelTextMargin*r.pix)*Math.cos(e),y:(t+o.radarLabelTextMargin*r.pix)*Math.sin(e)},d=y(f.x,f.y,n),p=d.x,h=d.y;c.approximatelyEqual(f.x,0)?p-=x(r.categories[s]||"",o.fontSize,i)/2:f.x<0&&(p-=x(r.categories[s]||"",o.fontSize,i)),i.beginPath(),i.setFontSize(o.fontSize),i.setFillStyle(a.labelColor||r.fontColor),i.fillText(r.categories[s]||"",p,h+o.fontSize/2),i.closePath(),i.stroke()}}))}function Ae(e,t,n,r,o,i){for(var a=n.pieChartLinePadding,s=[],u=null,l=e.map((function(n,r){var o=n.formatter?n.formatter(n,r,e,t):c.toFixed(100*n._proportion_.toFixed(4))+"%";o=n.labelText?n.labelText:o;var i=2*Math.PI-(n._start_+2*Math.PI*n._proportion_/2);n._rose_proportion_&&(i=2*Math.PI-(n._start_+2*Math.PI*n._rose_proportion_/2));var a=n.color,s=n._radius_;return{arc:i,text:o,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),h=Math.sin(d.arc)*(d.radius+a),g=Math.cos(d.arc)*d.radius,m=Math.sin(d.arc)*d.radius,b=p>=0?p+n.pieChartTextPadding:p-n.pieChartTextPadding,S=h,C=x(d.text,d.textSize*t.pix||n.fontSize,r),_=S;u&&c.isSameXCoordinateArea(u.start,{x:b})&&(_=b>0?Math.min(S,u.start.y):p<0||S>0?Math.max(S,u.start.y):Math.min(S,u.start.y)),b<0&&(b-=C);var L={lineStart:{x:g,y:m},lineEnd:{x:p,y:h},start:{x:b,y:_},width:C,height:n.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};u=v(L,u),s.push(u)}for(var P=0;P<s.length;P++)if(!1!==l[P].labelShow){var Y=s[P],T=y(Y.lineStart.x,Y.lineStart.y,i),M=y(Y.lineEnd.x,Y.lineEnd.y,i),w=y(Y.start.x,Y.start.y,i);r.setLineWidth(1*t.pix),r.setFontSize(Y.textSize*t.pix||n.fontSize),r.beginPath(),r.setStrokeStyle(Y.color),r.setFillStyle(Y.color),r.moveTo(T.x,T.y);var Z=Y.start.x<0?w.x+Y.width:w.x,D=Y.start.x<0?w.x-5:w.x+5;r.quadraticCurveTo(M.x,M.y,Z,w.y),r.moveTo(T.x,T.y),r.stroke(),r.closePath(),r.beginPath(),r.moveTo(w.x+Y.width,w.y),r.arc(Z,w.y,2*t.pix,0,2*Math.PI),r.closePath(),r.fill(),r.beginPath(),r.setFontSize(Y.textSize*t.pix||n.fontSize),r.setFillStyle(Y.textColor||t.fontColor),r.fillText(Y.text,D,w.y+3),r.closePath(),r.stroke(),r.closePath()}}function Oe(e,t,n,r){var o=t.extra.tooltip||{};o.gridType=void 0==o.gridType?"solid":o.gridType,o.dashLength=void 0==o.dashLength?4:o.dashLength;var i=t.area[0],a=t.height-t.area[2];if("dash"==o.gridType&&r.setLineDash([o.dashLength,o.dashLength]),r.setStrokeStyle(o.gridColor||"#cccccc"),r.setLineWidth(1*t.pix),r.beginPath(),r.moveTo(e,i),r.lineTo(e,a),r.stroke(),r.setLineDash([]),o.xAxisLabel){var s=t.categories[t.tooltip.index];r.setFontSize(n.fontSize);var c=x(s,n.fontSize,r),l=e-.5*c,f=a+2*t.pix;r.beginPath(),r.setFillStyle(u(o.labelBgColor||n.toolTipBackground,o.labelBgOpacity||n.toolTipOpacity)),r.setStrokeStyle(o.labelBgColor||n.toolTipBackground),r.setLineWidth(1*t.pix),r.rect(l-o.boxPadding*t.pix,f,c+2*o.boxPadding*t.pix,n.fontSize+2*o.boxPadding*t.pix),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(o.labelFontColor||t.fontColor),r.fillText(String(s),l,f+o.boxPadding*t.pix+n.fontSize),r.closePath(),r.stroke()}}function Xe(e,t,n){for(var r=s({},{type:"solid",dashLength:4,data:[]},e.extra.markLine),o=e.area[3],i=e.width-e.area[1],a=xe(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(o,l.y),n.lineTo(i,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=x(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 v=l.y-.5*f-l.labelPadding*e.pix;v+=l.labelOffsetY;var g=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,v,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),g,v+f+l.labelPadding*e.pix/2),n.stroke(),n.setTextAlign("left")}}}function Re(e,t,n,r,o){var i=s({},{gridType:"solid",dashLength:4},e.extra.tooltip),a=e.area[3],c=e.width-e.area[1];if("dash"==i.gridType&&n.setLineDash([i.dashLength,i.dashLength]),n.setStrokeStyle(i.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([]),i.yAxisLabel)for(var l=i.boxPadding*e.pix,f=Se(e.tooltip.offset.y,e.series,e,t,r),d=e.chartData.yAxisData.yAxisWidth,p=e.area[3],h=e.width-e.area[1],y=0;y<f.length;y++){n.setFontSize(i.fontSize*e.pix);var v=x(f[y],i.fontSize*e.pix,n),g=void 0,m=void 0,b=void 0;"left"==d[y].position?(g=p-(v+2*l)-2*e.pix,m=Math.max(g,g+v+2*l)):(g=h+2*e.pix,m=Math.max(g+d[y].width,g+v+2*l)),b=m-g;var S=g+(b-v)/2,C=e.tooltip.offset.y;n.beginPath(),n.setFillStyle(u(i.labelBgColor||t.toolTipBackground,i.labelBgOpacity||t.toolTipOpacity)),n.setStrokeStyle(i.labelBgColor||t.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(g,C-.5*t.fontSize-l,b,t.fontSize+2*l),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(t.fontSize),n.setFillStyle(i.labelFontColor||e.fontColor),n.fillText(f[y],S,C+.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 Ne(e,t,n,r,o){var i=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:o},t.extra.column);i.activeWidth=i.activeWidth>o?o:i.activeWidth;var a=t.area[0],c=t.height-t.area[2];r.beginPath(),r.setFillStyle(u(i.activeBgColor,i.activeBgOpacity)),r.rect(e-i.activeWidth/2,a,i.activeWidth,c-a),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function Ee(e,t,n,r,o){var i=s({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.bar),a=t.area[3],c=t.width-t.area[1];r.beginPath(),r.setFillStyle(u(i.activeBgColor,i.activeBgOpacity)),r.rect(a,e-o/2,c-a,o),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function Je(e,t,n,r,o,i,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,v=!1;"line"!=n.type&&"mount"!=n.type&&"area"!=n.type&&"candle"!=n.type&&"mix"!=n.type||1==c.splitLine&&Oe(n.tooltip.offset.x,n,r,o),t=s({x:0,y:0},t),t.y-=8*n.pix;var g=e.map((function(e){return x(e.text,l,o)})),m=p+h+4*d+Math.max.apply(null,g),b=2*d+e.length*f;if(0!=c.showBox){t.x-Math.abs(n._scrollDistance_||0)+y+m>n.width&&(v=!0),b+t.y>n.height&&(t.y=n.height-b),o.beginPath(),o.setFillStyle(u(c.bgColor,c.bgOpacity)),o.setLineWidth(c.borderWidth*n.pix),o.setStrokeStyle(u(c.borderColor,c.borderOpacity));var S=c.borderRadius;v?(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&&(o.moveTo(t.x,t.y+10*n.pix),o.lineTo(t.x-y,t.y+10*n.pix+5*n.pix)),o.arc(t.x-y-S,t.y+b-S,S,0,Math.PI/2,!1),o.arc(t.x-y-Math.round(m)+S,t.y+b-S,S,Math.PI/2,Math.PI,!1),o.arc(t.x-y-Math.round(m)+S,t.y+S,S,-Math.PI,-Math.PI/2,!1),o.arc(t.x-y-S,t.y+S,S,-Math.PI/2,0,!1),c.showArrow&&(o.lineTo(t.x-y,t.y+10*n.pix-5*n.pix),o.lineTo(t.x,t.y+10*n.pix))):(c.showArrow&&(o.moveTo(t.x,t.y+10*n.pix),o.lineTo(t.x+y,t.y+10*n.pix-5*n.pix)),o.arc(t.x+y+S,t.y+S,S,-Math.PI,-Math.PI/2,!1),o.arc(t.x+y+Math.round(m)-S,t.y+S,S,-Math.PI/2,0,!1),o.arc(t.x+y+Math.round(m)-S,t.y+b-S,S,0,Math.PI/2,!1),o.arc(t.x+y+S,t.y+b-S,S,Math.PI/2,Math.PI,!1),c.showArrow&&(o.lineTo(t.x+y,t.y+10*n.pix+5*n.pix),o.lineTo(t.x,t.y+10*n.pix))),o.closePath(),o.fill(),c.borderWidth>0&&o.stroke(),c.legendShow&&e.forEach((function(e,r){if(null!==e.color){o.beginPath(),o.setFillStyle(e.color);var i=t.x+y+2*d,a=t.y+(f-l)/2+f*r+d+1;switch(v&&(i=t.x-m-y+2*d),e.legendShape){case"line":o.moveTo(i,a+.5*p-2*n.pix),o.fillRect(i,a+.5*p-2*n.pix,p,4*n.pix);break;case"triangle":o.moveTo(i+7.5*n.pix,a+.5*p-5*n.pix),o.lineTo(i+2.5*n.pix,a+.5*p+5*n.pix),o.lineTo(i+12.5*n.pix,a+.5*p+5*n.pix),o.lineTo(i+7.5*n.pix,a+.5*p-5*n.pix);break;case"diamond":o.moveTo(i+7.5*n.pix,a+.5*p-5*n.pix),o.lineTo(i+2.5*n.pix,a+.5*p),o.lineTo(i+7.5*n.pix,a+.5*p+5*n.pix),o.lineTo(i+12.5*n.pix,a+.5*p),o.lineTo(i+7.5*n.pix,a+.5*p-5*n.pix);break;case"circle":o.moveTo(i+7.5*n.pix,a+.5*p),o.arc(i+7.5*n.pix,a+.5*p,5*n.pix,0,2*Math.PI);break;case"rect":o.moveTo(i,a+.5*p-5*n.pix),o.fillRect(i,a+.5*p-5*n.pix,15*n.pix,10*n.pix);break;case"square":o.moveTo(i+2*n.pix,a+.5*p-5*n.pix),o.fillRect(i+2*n.pix,a+.5*p-5*n.pix,10*n.pix,10*n.pix);break;default:o.moveTo(i,a+.5*p-5*n.pix),o.fillRect(i,a+.5*p-5*n.pix,15*n.pix,10*n.pix)}o.closePath(),o.fill()}})),e.forEach((function(e,n){var r=t.x+y+2*d+p+h;v&&(r=t.x-m-y+2*d+p+h);var i=t.y+f*n+(f-l)/2-1+d+l;o.beginPath(),o.setFontSize(l),o.setTextBaseline("normal"),o.setFillStyle(c.fontColor),o.fillText(e.text,r,i),o.closePath(),o.stroke()}))}}function He(e,t,n,r){var i=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===i&&Ne(t.tooltip.offset.x,t,n,r,l),f.customColor=b(f.linearType,f.customColor,e,n),e.forEach((function(a,s){var y,v,g;y=[].concat(t.chartData.yAxisData.ranges[a.index]),v=y.pop(),g=y.shift();var m=t.height-t.area[0]-t.area[2],b=m*(0-v)/(g-v),S=t.height-Math.round(b)-t.area[2];a.zeroPoints=S;var x=a.data;switch(f.type){case"group":var C=pe(x,v,g,c,l,t,n,S,i),_=ve(x,v,g,c,l,t,n,s,e,i);d.push(_),C=oe(C,l,e.length,s,n,t);for(var L=0;L<C.length;L++){var P=C[L];if(null!==P&&L>p&&L<h){var Y=P.x-P.width/2,T=t.height-P.y-t.area[2];r.beginPath();var M=P.color||a.color,w=P.color||a.color;if("none"!==f.linearType){var Z=r.createLinearGradient(Y,P.y,Y,S);"opacity"==f.linearType?(Z.addColorStop(0,u(M,f.linearOpacity)),Z.addColorStop(1,u(M,1))):(Z.addColorStop(0,u(f.customColor[a.linearIndex],f.linearOpacity)),Z.addColorStop(f.colorStop,u(f.customColor[a.linearIndex],f.linearOpacity)),Z.addColorStop(1,u(M,1))),M=Z}if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var D=Y,A=P.y>S?S:P.y,O=P.width,X=Math.abs(S-P.y);f.barBorderCircle&&(f.barBorderRadius=[O/2,O/2,0,0]),P.y>S&&(f.barBorderRadius=[0,0,O/2,O/2]);var R=(0,o.default)(f.barBorderRadius,4),N=R[0],E=R[1],J=R[2],H=R[3],B=Math.min(O/2,X/2);N=N>B?B:N,E=E>B?B:E,J=J>B?B:J,H=H>B?B:H,N=N<0?0:N,E=E<0?0:E,J=J<0?0:J,H=H<0?0:H,r.arc(D+N,A+N,N,-Math.PI,-Math.PI/2),r.arc(D+O-E,A+E,E,-Math.PI/2,0),r.arc(D+O-J,A+X-J,J,0,Math.PI/2),r.arc(D+H,A+X-H,H,Math.PI/2,Math.PI)}else r.moveTo(Y,P.y),r.lineTo(Y+P.width,P.y),r.lineTo(Y+P.width,S),r.lineTo(Y,S),r.lineTo(Y,P.y),r.setLineWidth(1),r.setStrokeStyle(w);r.setFillStyle(M),r.closePath(),r.fill()}}break;case"stack":C=ve(x,v,g,c,l,t,n,s,e,i);d.push(C),C=se(C,l,e.length,s,n,t,e);for(var k=0;k<C.length;k++){var F=C[k];if(null!==F&&k>p&&k<h){r.beginPath();M=F.color||a.color,Y=F.x-F.width/2+1,T=t.height-F.y-t.area[2];var I=t.height-F.y0-t.area[2];s>0&&(T-=I),r.setFillStyle(M),r.moveTo(Y,F.y),r.fillRect(Y,F.y,F.width,T),r.closePath(),r.fill()}}break;case"meter":C=fe(x,v,g,c,l,t,n,i);d.push(C),C=ae(C,l,e.length,s,n,t,f.meterBorder);for(var G=0;G<C.length;G++){var Q=C[G];if(null!==Q&&G>p&&G<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(Q.color||a.color);Y=Q.x-Q.width/2,T=t.height-Q.y-t.area[2];if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var j=Y,W=Q.y,$=Q.width,U=S-Q.y;f.barBorderCircle&&(f.barBorderRadius=[$/2,$/2,0,0]);var K=(0,o.default)(f.barBorderRadius,4),z=K[0],V=K[1],q=K[2],ee=K[3],te=Math.min($/2,U/2);z=z>te?te:z,V=V>te?te:V,q=q>te?te:q,ee=ee>te?te:ee,z=z<0?0:z,V=V<0?0:V,q=q<0?0:q,ee=ee<0?0:ee,r.arc(j+z,W+z,z,-Math.PI,-Math.PI/2),r.arc(j+$-V,W+V,V,-Math.PI/2,0),r.arc(j+$-q,W+U-q,q,0,Math.PI/2),r.arc(j+ee,W+U-ee,ee,Math.PI/2,Math.PI),r.fill()}else r.moveTo(Y,Q.y),r.lineTo(Y+Q.width,Q.y),r.lineTo(Y+Q.width,S),r.lineTo(Y,S),r.lineTo(Y,Q.y),r.fill();0==s&&f.meterBorder>0&&(r.closePath(),r.stroke())}}break}})),!1!==t.dataLabel&&1===i&&e.forEach((function(o,a){var s,u,d;s=[].concat(t.chartData.yAxisData.ranges[o.index]),u=s.pop(),d=s.shift();var p=o.data;switch(f.type){case"group":var h=pe(p,u,d,c,l,t,n,i);h=oe(h,l,e.length,a,n,t),Te(h,o,n,r,t);break;case"stack":h=ve(p,u,d,c,l,t,n,a,e,i);Te(h,o,n,r,t);break;case"meter":h=fe(p,u,d,c,l,t,n,i);Te(h,o,n,r,t);break}})),r.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:l}}function Be(e,t,n,r){var i=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,v=c.length+2;t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),y=Math.floor(-t._scrollDistance_/l)-2,v=y+t.xAxis.itemCount+4),f.customColor=b(f.linearType,f.customColor,e,n),d=[].concat(t.chartData.yAxisData.ranges[0]),p=d.pop(),h=d.shift();var g=t.height-t.area[0]-t.area[2],m=g*(0-p)/(h-p),S=t.height-Math.round(m)-t.area[2],x=he(e,p,h,c,l,t,f,S,i);switch(f.type){case"bar":for(var C=0;C<x.length;C++){var _=x[C];if(null!==_&&C>y&&C<v){var L=_.x-l*f.widthRatio/2,P=t.height-_.y-t.area[2];r.beginPath();var Y=_.color||e[C].color,T=_.color||e[C].color;if("none"!==f.linearType){var M=r.createLinearGradient(L,_.y,L,S);"opacity"==f.linearType?(M.addColorStop(0,u(Y,f.linearOpacity)),M.addColorStop(1,u(Y,1))):(M.addColorStop(0,u(f.customColor[e[C].linearIndex],f.linearOpacity)),M.addColorStop(f.colorStop,u(f.customColor[e[C].linearIndex],f.linearOpacity)),M.addColorStop(1,u(Y,1))),Y=M}if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var w=L,Z=_.y>S?S:_.y,D=_.width,A=Math.abs(S-_.y);f.barBorderCircle&&(f.barBorderRadius=[D/2,D/2,0,0]),_.y>S&&(f.barBorderRadius=[0,0,D/2,D/2]);var O=(0,o.default)(f.barBorderRadius,4),X=O[0],R=O[1],N=O[2],E=O[3],J=Math.min(D/2,A/2);X=X>J?J:X,R=R>J?J:R,N=N>J?J:N,E=E>J?J:E,X=X<0?0:X,R=R<0?0:R,N=N<0?0:N,E=E<0?0:E,r.arc(w+X,Z+X,X,-Math.PI,-Math.PI/2),r.arc(w+D-R,Z+R,R,-Math.PI/2,0),r.arc(w+D-N,Z+A-N,N,0,Math.PI/2),r.arc(w+E,Z+A-E,E,Math.PI/2,Math.PI)}else r.moveTo(L,_.y),r.lineTo(L+_.width,_.y),r.lineTo(L+_.width,S),r.lineTo(L,S),r.lineTo(L,_.y);r.setStrokeStyle(T),r.setFillStyle(Y),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(var H=0;H<x.length;H++){var B=x[H];if(null!==B&&H>y&&H<v){L=B.x-l*f.widthRatio/2,P=t.height-B.y-t.area[2];r.beginPath();Y=B.color||e[H].color,T=B.color||e[H].color;if("none"!==f.linearType){M=r.createLinearGradient(L,B.y,L,S);"opacity"==f.linearType?(M.addColorStop(0,u(Y,f.linearOpacity)),M.addColorStop(1,u(Y,1))):(M.addColorStop(0,u(f.customColor[e[H].linearIndex],f.linearOpacity)),M.addColorStop(f.colorStop,u(f.customColor[e[H].linearIndex],f.linearOpacity)),M.addColorStop(1,u(Y,1))),Y=M}r.moveTo(L,S),r.lineTo(B.x,B.y),r.lineTo(L+B.width,S),r.setStrokeStyle(T),r.setFillStyle(Y),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"mount":for(var k=0;k<x.length;k++){var F=x[k];if(null!==F&&k>y&&k<v){L=F.x-l*f.widthRatio/2,P=t.height-F.y-t.area[2];r.beginPath();Y=F.color||e[k].color,T=F.color||e[k].color;if("none"!==f.linearType){M=r.createLinearGradient(L,F.y,L,S);"opacity"==f.linearType?(M.addColorStop(0,u(Y,f.linearOpacity)),M.addColorStop(1,u(Y,1))):(M.addColorStop(0,u(f.customColor[e[k].linearIndex],f.linearOpacity)),M.addColorStop(f.colorStop,u(f.customColor[e[k].linearIndex],f.linearOpacity)),M.addColorStop(1,u(Y,1))),Y=M}r.moveTo(L,S),r.bezierCurveTo(F.x-F.width/4,S,F.x-F.width/4,F.y,F.x,F.y),r.bezierCurveTo(F.x+F.width/4,F.y,F.x+F.width/4,S,L+F.width,S),r.setStrokeStyle(T),r.setFillStyle(Y),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"sharp":for(var I=0;I<x.length;I++){var G=x[I];if(null!==G&&I>y&&I<v){L=G.x-l*f.widthRatio/2,P=t.height-G.y-t.area[2];r.beginPath();Y=G.color||e[I].color,T=G.color||e[I].color;if("none"!==f.linearType){M=r.createLinearGradient(L,G.y,L,S);"opacity"==f.linearType?(M.addColorStop(0,u(Y,f.linearOpacity)),M.addColorStop(1,u(Y,1))):(M.addColorStop(0,u(f.customColor[e[I].linearIndex],f.linearOpacity)),M.addColorStop(f.colorStop,u(f.customColor[e[I].linearIndex],f.linearOpacity)),M.addColorStop(1,u(Y,1))),Y=M}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(T),r.setFillStyle(Y),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break}if(!1!==t.dataLabel&&1===i){var Q,j,W;Q=[].concat(t.chartData.yAxisData.ranges[0]),j=Q.pop(),W=Q.shift();x=he(e,j,W,c,l,t,f,S,i);Me(x,e,n,r,t,S)}return r.restore(),{xAxisPoints:c,calPoints:x,eachSpacing:l}}function ke(e,t,n,r){for(var i=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===i&&Ee(t.tooltip.offset.y,t,n,r,c),f.customColor=b(f.linearType,f.customColor,e,n),e.forEach((function(s,l){var y,v,g;y=[].concat(t.chartData.xAxisData.ranges),g=y.pop(),v=y.shift();var m=s.data;switch(f.type){case"group":var b=ye(m,v,g,a,c,t,n,i),S=ge(m,v,g,a,c,t,n,l,e,i);d.push(S),b=ie(b,c,e.length,l,n,t);for(var x=0;x<b.length;x++){var C=b[x];if(null!==C&&x>p&&x<h){var _=t.area[3],L=C.y-C.width/2;C.height;r.beginPath();var P=C.color||s.color,Y=C.color||s.color;if("none"!==f.linearType){var T=r.createLinearGradient(_,C.y,C.x,C.y);"opacity"==f.linearType?(T.addColorStop(0,u(P,f.linearOpacity)),T.addColorStop(1,u(P,1))):(T.addColorStop(0,u(f.customColor[s.linearIndex],f.linearOpacity)),T.addColorStop(f.colorStop,u(f.customColor[s.linearIndex],f.linearOpacity)),T.addColorStop(1,u(P,1))),P=T}if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var M=_,w=C.width,Z=C.y-C.width/2,D=C.height;f.barBorderCircle&&(f.barBorderRadius=[w/2,w/2,0,0]);var A=(0,o.default)(f.barBorderRadius,4),O=A[0],X=A[1],R=A[2],N=A[3],E=Math.min(w/2,D/2);O=O>E?E:O,X=X>E?E:X,R=R>E?E:R,N=N>E?E:N,O=O<0?0:O,X=X<0?0:X,R=R<0?0:R,N=N<0?0:N,r.arc(M+N,Z+N,N,-Math.PI,-Math.PI/2),r.arc(C.x-O,Z+O,O,-Math.PI/2,0),r.arc(C.x-X,Z+w-X,X,0,Math.PI/2),r.arc(M+R,Z+w-R,R,Math.PI/2,Math.PI)}else r.moveTo(_,L),r.lineTo(C.x,L),r.lineTo(C.x,L+C.width),r.lineTo(_,L+C.width),r.lineTo(_,L),r.setLineWidth(1),r.setStrokeStyle(Y);r.setFillStyle(P),r.closePath(),r.fill()}}break;case"stack":b=ge(m,v,g,a,c,t,n,l,e,i);d.push(b),b=ce(b,c,e.length,l,n,t,e);for(var J=0;J<b.length;J++){var H=b[J];if(null!==H&&J>p&&J<h){r.beginPath();P=H.color||s.color,_=H.x0;r.setFillStyle(P),r.moveTo(_,H.y-H.width/2),r.fillRect(_,H.y-H.width/2,H.height,H.width),r.closePath(),r.fill()}}break}})),!1!==t.dataLabel&&1===i&&e.forEach((function(o,s){var u,l,d;u=[].concat(t.chartData.xAxisData.ranges),d=u.pop(),l=u.shift();var p=o.data;switch(f.type){case"group":var h=ye(p,l,d,a,c,t,n,i);h=ie(h,c,e.length,s,n,t),we(h,o,n,r,t);break;case"stack":h=ge(p,l,d,a,c,t,n,s,e,i);we(h,o,n,r,t);break}})),{yAxisPoints:a,calPoints:d,eachSpacing:c}}function Fe(e,t,n,r,o){var i=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=[];o.save();var d=-2,p=u.length+2,y=0,v=n.width+l;return n._scrollDistance_&&0!==n._scrollDistance_&&!0===n.enableScroll&&(o.translate(n._scrollDistance_,0),d=Math.floor(-n._scrollDistance_/l)-2,p=d+n.xAxis.itemCount+4,y=-n._scrollDistance_-2*l+n.area[3],v=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=fe(f,s,c,u,l,n,r,i),p=G(d,e),g=0;g<p.length;g++){var m=p[g];if(o.beginPath(),o.setStrokeStyle(e.color),o.setLineWidth(1),1===m.length)o.moveTo(m[0].x,m[0].y),o.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{o.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&&(o.moveTo(x.x,x.y),b=1),S>0&&x.x>y&&x.x<v){var C=h(m,S-1);o.bezierCurveTo(C.ctrA.x,C.ctrA.y,C.ctrB.x,C.ctrB.y,x.x,x.y)}}o.moveTo(m[0].x,m[0].y)}o.closePath(),o.stroke()}})),e.forEach((function(e,t){var s,c,h;s=[].concat(n.chartData.yAxisData.ranges[e.index]),c=s.pop(),h=s.shift();var y=e.data,v=le(y,c,h,u,l,n,r,i);f.push(v);for(var g=G(v,e),m=0;m<g[0].length;m++)if(m>d&&m<p){var b=g[0][m];o.beginPath(),y[m][1]-y[m][0]>0?(o.setStrokeStyle(a.color.upLine),o.setFillStyle(a.color.upFill),o.setLineWidth(1*n.pix),o.moveTo(b[3].x,b[3].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[1].x-l/4,b[1].y),o.lineTo(b[0].x-l/4,b[0].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[2].x,b[2].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[0].x+l/4,b[0].y),o.lineTo(b[1].x+l/4,b[1].y),o.lineTo(b[1].x,b[1].y),o.moveTo(b[3].x,b[3].y)):(o.setStrokeStyle(a.color.downLine),o.setFillStyle(a.color.downFill),o.setLineWidth(1*n.pix),o.moveTo(b[3].x,b[3].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[0].x-l/4,b[0].y),o.lineTo(b[1].x-l/4,b[1].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[2].x,b[2].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[1].x+l/4,b[1].y),o.lineTo(b[0].x+l/4,b[0].y),o.lineTo(b[0].x,b[0].y),o.moveTo(b[3].x,b[3].y)),o.closePath(),o.fill(),o.stroke()}})),o.restore(),{xAxisPoints:u,calPoints:f,eachSpacing:l}}function Ie(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=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 p=0,y=t.width+l;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),p=-t._scrollDistance_-2*l+t.area[3],y=p+(t.xAxis.itemCount+4)*l),e.forEach((function(e,a){var s,v,g;s=[].concat(t.chartData.yAxisData.ranges[e.index]),v=s.pop(),g=s.shift();var m=e.data,b=fe(m,v,g,c,l,t,n,o);d.push(b);for(var S=G(b,e),x=0;x<S.length;x++){var C=S[x];if(r.beginPath(),r.setStrokeStyle(u(e.color,i.opacity)),i.gradient){var _=r.createLinearGradient(0,t.area[0],0,t.height-t.area[2]);_.addColorStop("0",u(e.color,i.opacity)),_.addColorStop("1.0",u("#FFFFFF",.1)),r.setFillStyle(_)}else r.setFillStyle(u(e.color,i.opacity));if(r.setLineWidth(i.width*t.pix),C.length>1){var L=C[0],P=C[C.length-1];r.moveTo(L.x,L.y);var Y=0;if("curve"===i.type)for(var T=0;T<C.length;T++){var M=C[T];if(0==Y&&M.x>p&&(r.moveTo(M.x,M.y),Y=1),T>0&&M.x>p&&M.x<y){var w=h(C,T-1);r.bezierCurveTo(w.ctrA.x,w.ctrA.y,w.ctrB.x,w.ctrB.y,M.x,M.y)}}if("straight"===i.type)for(var Z=0;Z<C.length;Z++){var D=C[Z];0==Y&&D.x>p&&(r.moveTo(D.x,D.y),Y=1),Z>0&&D.x>p&&D.x<y&&r.lineTo(D.x,D.y)}if("step"===i.type)for(var A=0;A<C.length;A++){var O=C[A];0==Y&&O.x>p&&(r.moveTo(O.x,O.y),Y=1),A>0&&O.x>p&&O.x<y&&(r.lineTo(O.x,C[A-1].y),r.lineTo(O.x,O.y))}r.lineTo(P.x,f),r.lineTo(L.x,f),r.lineTo(L.x,L.y)}else{var X=C[0];r.moveTo(X.x-l/2,X.y)}if(r.closePath(),r.fill(),i.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(i.width*t.pix),1===C.length)r.moveTo(C[0].x,C[0].y);else{r.moveTo(C[0].x,C[0].y);var N=0;if("curve"===i.type)for(var E=0;E<C.length;E++){var J=C[E];if(0==N&&J.x>p&&(r.moveTo(J.x,J.y),N=1),E>0&&J.x>p&&J.x<y){var H=h(C,E-1);r.bezierCurveTo(H.ctrA.x,H.ctrA.y,H.ctrB.x,H.ctrB.y,J.x,J.y)}}if("straight"===i.type)for(var B=0;B<C.length;B++){var k=C[B];0==N&&k.x>p&&(r.moveTo(k.x,k.y),N=1),B>0&&k.x>p&&k.x<y&&r.lineTo(k.x,k.y)}if("step"===i.type)for(var F=0;F<C.length;F++){var I=C[F];0==N&&I.x>p&&(r.moveTo(I.x,I.y),N=1),F>0&&I.x>p&&I.x<y&&(r.lineTo(I.x,C[F-1].y),r.lineTo(I.x,I.y))}r.moveTo(C[0].x,C[0].y)}r.stroke(),r.setLineDash([])}}!1!==t.dataPointShape&&_e(b,e.color,e.pointShape,r,t),Le(b,e.color,e.pointShape,r,t,i,a)})),!1!==t.dataLabel&&1===o&&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=fe(f,s,u,c,l,t,n,o);Ye(d,e,n,r,t)})),r.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:l}}function Ge(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=(s({},{type:"circle"},t.extra.scatter),t.chartData.xAxisData),a=i.xAxisPoints,c=i.eachSpacing,u=[];r.save();var l=0;t.width;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),l=-t._scrollDistance_-2*c+t.area[3],l+(t.xAxis.itemCount+4)*c),e.forEach((function(e,i){var s,u,l;s=[].concat(t.chartData.yAxisData.ranges[e.index]),u=s.pop(),l=s.shift();var f=e.data,d=fe(f,u,l,a,c,t,n,o);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===o&&e.forEach((function(e,i){var s,u,l;s=[].concat(t.chartData.yAxisData.ranges[e.index]),u=s.pop(),l=s.shift();var f=e.data,d=fe(f,u,l,a,c,t,n,o);Ye(d,e,n,r,t)})),r.restore(),{xAxisPoints:a,calPoints:u,eachSpacing:c}}function Qe(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=s({},{opacity:1,border:2},t.extra.bubble),a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=[];r.save();var d=0;t.width;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),d=-t._scrollDistance_-2*l+t.area[3],d+(t.xAxis.itemCount+4)*l),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=fe(p,f,d,c,l,t,n,o);r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(i.border*t.pix),r.setFillStyle(u(e.color,i.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===o&&h.forEach((function(o,i){r.beginPath();var a=e.textSize*t.pix||n.fontSize;r.setFontSize(a),r.setFillStyle(e.textColor||"#FFFFFF"),r.setTextAlign("center"),r.fillText(String(o.t),o.x,o.y+a/2),r.closePath(),r.stroke(),r.setTextAlign("left")}))})),r.restore(),{xAxisPoints:c,calPoints:f,eachSpacing:l}}function je(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=s({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},t.extra.line);i.width*=t.pix;var a=t.chartData.xAxisData,c=a.xAxisPoints,l=a.eachSpacing,f=[];r.save();var d=0,p=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],p=d+(t.xAxis.itemCount+4)*l),e.forEach((function(e,a){var s,y,v;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(),v=s.shift();var g=e.data,m=de(g,y,v,c,l,t,n,i,o);f.push(m);var b=G(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"!==i.linearType&&e.linearColor&&e.linearColor.length>0){for(var C=r.createLinearGradient(t.chartData.xAxisData.startX,t.height/2,t.chartData.xAxisData.endX,t.height/2),_=0;_<e.linearColor.length;_++)C.addColorStop(e.linearColor[_][0],u(e.linearColor[_][1],1));x=C}r.setStrokeStyle(x),1==i.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(i.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"===i.type)for(var o=0;o<e.length;o++){var a=e[o];if(0==n&&a.x>d&&(r.moveTo(a.x,a.y),n=1),o>0&&a.x>d&&a.x<p){var s=h(e,o-1);r.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,a.x,a.y)}}if("straight"===i.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<p&&r.lineTo(u.x,u.y)}if("step"===i.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<p&&(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&&_e(m,e.color,e.pointShape,r,t),Le(m,e.color,e.pointShape,r,t,i)})),!1!==t.dataLabel&&1===o&&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=fe(f,s,u,c,l,t,n,o);Ye(d,e,n,r,t)})),r.restore(),{xAxisPoints:c,calPoints:f,eachSpacing:l}}function We(e,t,n,r){var i=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),p=s({},{width:2},t.extra.mix.line),y=t.height-t.area[2],v=[],g=0,m=0;e.forEach((function(e,t){"column"==e.type&&(m+=1)})),r.save();var S=-2,x=c.length+2,C=0,_=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,C=-t._scrollDistance_-2*l+t.area[3],_=C+(t.xAxis.itemCount+4)*l),f.customColor=b(f.linearType,f.customColor,e,n),e.forEach((function(e,a){var s,b,L;s=[].concat(t.chartData.yAxisData.ranges[e.index]),b=s.pop(),L=s.shift();var P=e.data,Y=fe(P,b,L,c,l,t,n,i);if(v.push(Y),"column"==e.type){Y=oe(Y,l,m,g,n,t);for(var T=0;T<Y.length;T++){var M=Y[T];if(null!==M&&T>S&&T<x){var w=M.x-M.width/2;t.height,M.y,t.area[2];r.beginPath();var Z=M.color||e.color,D=M.color||e.color;if("none"!==f.linearType){var A=r.createLinearGradient(w,M.y,w,t.height-t.area[2]);"opacity"==f.linearType?(A.addColorStop(0,u(Z,f.linearOpacity)),A.addColorStop(1,u(Z,1))):(A.addColorStop(0,u(f.customColor[e.linearIndex],f.linearOpacity)),A.addColorStop(f.colorStop,u(f.customColor[e.linearIndex],f.linearOpacity)),A.addColorStop(1,u(Z,1))),Z=A}if(f.barBorderRadius&&4===f.barBorderRadius.length||f.barBorderCircle){var O=w,X=M.y,R=M.width,N=t.height-t.area[2]-M.y;f.barBorderCircle&&(f.barBorderRadius=[R/2,R/2,0,0]);var E=(0,o.default)(f.barBorderRadius,4),J=E[0],H=E[1],B=E[2],k=E[3],F=Math.min(R/2,N/2);J=J>F?F:J,H=H>F?F:H,B=B>F?F:B,k=k>F?F:k,J=J<0?0:J,H=H<0?0:H,B=B<0?0:B,k=k<0?0:k,r.arc(O+J,X+J,J,-Math.PI,-Math.PI/2),r.arc(O+R-H,X+H,H,-Math.PI/2,0),r.arc(O+R-B,X+N-B,B,0,Math.PI/2),r.arc(O+k,X+N-k,k,Math.PI/2,Math.PI)}else r.moveTo(w,M.y),r.lineTo(w+M.width,M.y),r.lineTo(w+M.width,t.height-t.area[2]),r.lineTo(w,t.height-t.area[2]),r.lineTo(w,M.y),r.setLineWidth(1),r.setStrokeStyle(D);r.setFillStyle(Z),r.closePath(),r.fill()}}g+=1}if("area"==e.type)for(var I=G(Y,e),Q=0;Q<I.length;Q++){var j=I[Q];if(r.beginPath(),r.setStrokeStyle(e.color),r.setStrokeStyle(u(e.color,d.opacity)),d.gradient){var W=r.createLinearGradient(0,t.area[0],0,t.height-t.area[2]);W.addColorStop("0",u(e.color,d.opacity)),W.addColorStop("1.0",u("#FFFFFF",.1)),r.setFillStyle(W)}else r.setFillStyle(u(e.color,d.opacity));if(r.setLineWidth(2*t.pix),j.length>1){var $=j[0],U=j[j.length-1];r.moveTo($.x,$.y);var K=0;if("curve"===e.style)for(var z=0;z<j.length;z++){var V=j[z];if(0==K&&V.x>C&&(r.moveTo(V.x,V.y),K=1),z>0&&V.x>C&&V.x<_){var q=h(j,z-1);r.bezierCurveTo(q.ctrA.x,q.ctrA.y,q.ctrB.x,q.ctrB.y,V.x,V.y)}}else for(var ee=0;ee<j.length;ee++){var te=j[ee];0==K&&te.x>C&&(r.moveTo(te.x,te.y),K=1),ee>0&&te.x>C&&te.x<_&&r.lineTo(te.x,te.y)}r.lineTo(U.x,y),r.lineTo($.x,y),r.lineTo($.x,$.y)}else{var ne=j[0];r.moveTo(ne.x-l/2,ne.y)}r.closePath(),r.fill()}if("line"==e.type){var re=G(Y,e);re.forEach((function(n,o){if("dash"==e.lineType){var i=e.dashLength?e.dashLength:8;i*=t.pix,r.setLineDash([i,i])}if(r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(p.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>C&&(r.moveTo(c.x,c.y),a=1),s>0&&c.x>C&&c.x<_){var u=h(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>C&&(r.moveTo(f.x,f.y),a=1),l>0&&f.x>C&&f.x<_&&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&&_e(Y,e.color,e.pointShape,r,t)})),!1!==t.dataLabel&&1===i){g=0;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=fe(f,s,u,c,l,t,n,i);"column"!==e.type?Ye(d,e,n,r,t):(d=oe(d,l,m,g,n,t),Ye(d,e,n,r,t),g+=1)}))}return r.restore(),{xAxisPoints:c,calPoints:v,eachSpacing:l}}function $e(e,t,n,r,o,i){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)&&Re(e,t,n,o,i),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&&Je(e.tooltip.textList,e.tooltip.offset,e,t,n,o,i),n.restore()}function Ue(e,t,n,r){var o=t.chartData.xAxisData,i=o.xAxisPoints,a=o.startX,s=o.endX,c=o.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*(i.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,v=0;t._scrollDistance_&&(v=-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+v,d),r.lineTo(a+v+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),i.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,i.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 g=e.length;t.xAxis.labelCount&&(g=t.xAxis.itemCount?Math.ceil(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,g-=1);for(var m=Math.ceil(e.length/g),b=[],S=e.length,C=0;C<S;C++)C%m!==0?b.push(""):b.push(e[C]);b[S-1]=e[S-1];var _=t.xAxis.fontSize*t.pix||n.fontSize;0===n._xAxisTextAngle_?b.forEach((function(e,n){var o=t.xAxis.formatter?t.xAxis.formatter(e,n,t):e,a=-x(String(o),_,r)/2;"center"==u&&(a+=c/2);t.xAxis.scrollShow&&t.pix;var s=t._scrollDistance_||0,f="center"==u?i[n]+c/2:i[n];f-Math.abs(s)>=t.area[3]-1&&f-Math.abs(s)<=t.width-t.area[1]+1&&(r.beginPath(),r.setFontSize(_),r.setFillStyle(t.xAxis.fontColor||t.fontColor),r.fillText(String(o),i[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())})):b.forEach((function(e,o){var a=t.xAxis.formatter?t.xAxis.formatter(e):e,s=t._scrollDistance_||0,f="center"==u?i[o]+c/2:i[o];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(_),r.setFillStyle(t.xAxis.fontColor||t.fontColor);var d=x(String(a),_,r),p=i[o];"center"==u&&(p=i[o]+c/2);t.xAxis.scrollShow&&6*t.pix;var h=l+t.xAxis.marginTop*t.pix+_-_*Math.abs(Math.sin(n._xAxisTextAngle_));t.xAxis.rotateAngle<0?(p-=_/2,d=0):(p+=_/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 Ke(e,t,n,r){if(!0!==t.yAxis.disableGrid){var o=t.height-t.area[0]-t.area[2],i=o/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]-i*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 ze(e,t,n,r){if(!0!==t.yAxis.disabled){var o=t.height-t.area[0]-t.area[2],i=o/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]+o/a.categories.length/2+o/a.categories.length*s);else for(var c=0;c<=t.yAxis.splitNumber;c++)h.push(t.area[0]+i*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],v=a.textAlign||"right";if(d.forEach((function(e,n){var o=h[n];r.beginPath(),r.setFontSize(p),r.setLineWidth(1*t.pix),r.setStrokeStyle(a.axisLineColor||"#cccccc"),r.setFillStyle(a.fontColor||t.fontColor);var i=0,s=4*t.pix;if("left"==y.position){switch(1==a.calibration&&(r.moveTo(u,o),r.lineTo(u-3*t.pix,o),s+=3*t.pix),v){case"left":r.setTextAlign("left"),i=u-y.width;break;case"right":r.setTextAlign("right"),i=u-s;break;default:r.setTextAlign("center"),i=u-y.width/2}r.fillText(String(e),i,o+p/2-3*t.pix)}else if("right"==y.position){switch(1==a.calibration&&(r.moveTo(l,o),r.lineTo(l+3*t.pix,o),s+=3*t.pix),v){case"left":r.setTextAlign("left"),i=l+s;break;case"right":r.setTextAlign("right"),i=l+y.width;break;default:r.setTextAlign("center"),i=l+y.width/2}r.fillText(String(e),i,o+p/2-3*t.pix)}else if("center"==y.position){switch(1==a.calibration&&(r.moveTo(f,o),r.lineTo(f-3*t.pix,o),s+=3*t.pix),v){case"left":r.setTextAlign("left"),i=f-y.width;break;case"right":r.setTextAlign("right"),i=f-s;break;default:r.setTextAlign("center"),i=f-y.width/2}r.fillText(String(e),i,o+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 g=a.titleFontSize*t.pix||n.fontSize,m=a.title;r.beginPath(),r.setFontSize(g),r.setFillStyle(a.titleFontColor||t.fontColor),"left"==y.position?r.fillText(m,u-x(m,g,r)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix):"right"==y.position?r.fillText(m,l-x(m,g,r)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix):"center"==y.position&&r.fillText(m,f-x(m,g,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 Ve(e,t,n,r,o){if(!1!==t.legend.show){var i=o.legendData,a=i.points,s=i.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,o){var a=0,h=0;a=i.widthArr[o],h=i.heightArr[o];var y=0,v=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-a;break;default:y=s.start.x+(s.width-a)/2}v=s.start.y+c+o*p}else a=0==o?0:i.widthArr[o-1],y=s.start.x+c+a,v=s.start.y+c+(s.height-h)/2;r.setFontSize(n.fontSize);for(var g=0;g<e.length;g++){var m=e[g];switch(m.area=[0,0,0,0],m.area[0]=y,m.area[1]=v,m.area[3]=v+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,v+.5*p-2*t.pix),r.fillRect(y,v+.5*p-2*t.pix,15*t.pix,4*t.pix);break;case"triangle":r.moveTo(y+7.5*t.pix,v+.5*p-5*t.pix),r.lineTo(y+2.5*t.pix,v+.5*p+5*t.pix),r.lineTo(y+12.5*t.pix,v+.5*p+5*t.pix),r.lineTo(y+7.5*t.pix,v+.5*p-5*t.pix);break;case"diamond":r.moveTo(y+7.5*t.pix,v+.5*p-5*t.pix),r.lineTo(y+2.5*t.pix,v+.5*p),r.lineTo(y+7.5*t.pix,v+.5*p+5*t.pix),r.lineTo(y+12.5*t.pix,v+.5*p),r.lineTo(y+7.5*t.pix,v+.5*p-5*t.pix);break;case"circle":r.moveTo(y+7.5*t.pix,v+.5*p),r.arc(y+7.5*t.pix,v+.5*p,5*t.pix,0,2*Math.PI);break;case"rect":r.moveTo(y,v+.5*p-5*t.pix),r.fillRect(y,v+.5*p-5*t.pix,15*t.pix,10*t.pix);break;case"square":r.moveTo(y+5*t.pix,v+.5*p-5*t.pix),r.fillRect(y+5*t.pix,v+.5*p-5*t.pix,10*t.pix,10*t.pix);break;case"none":break;default:r.moveTo(y,v+.5*p-5*t.pix),r.fillRect(y,v+.5*p-5*t.pix,15*t.pix,10*t.pix)}r.closePath(),r.fill(),r.stroke(),y+=l+f;var b=.5*p+.5*u-2,S=m.legendText?m.legendText:m.name;r.beginPath(),r.setFontSize(u),r.setFillStyle(m.show?t.legend.fontColor:t.legend.hiddenColor),r.fillText(S,y,v+b),r.closePath(),r.stroke(),"top"==t.legend.position||"bottom"==t.legend.position?(y+=x(S,u,r)+d,m.area[2]=y):(m.area[2]=y+x(S,u,r)+d,y-=l+f,v+=p)}}))}}function qe(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=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=i.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,i.customRadius>0&&(c=i.customRadius*t.pix),e=K(e,c,o);var l=i.activeRadius*t.pix;if(i.customColor=b(i.linearType,i.customColor,e,n),e=e.map((function(e){return e._start_+=i.offsetAngle*Math.PI/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(r.beginPath(),r.setFillStyle(u(e.color,i.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(i.borderWidth*t.pix),r.lineJoin="round",r.setStrokeStyle(i.borderColor);var o,s=e.color;"custom"==i.linearType&&(o=r.createCircularGradient?r.createCircularGradient(a.x,a.y,e._radius_):r.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),o.addColorStop(0,u(i.customColor[e.linearIndex],1)),o.addColorStop(1,u(e.color,1)),s=o);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==i.border&&r.stroke()})),"ring"===t.type){var f=.6*c;"number"===typeof i.ringWidth&&i.ringWidth>0&&(f=Math.max(0,c-i.ringWidth*t.pix)),r.beginPath(),r.setFillStyle(i.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===o&&Ae(e,t,n,r,c,a),1===o&&"ring"===t.type&&Pe(t,n,r,a),{center:a,radius:c,series:e}}function et(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=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=i.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=i.minRadius||.5*c;c<l&&(c=l+10),e=V(e,i.type,l,c,o);var f=i.activeRadius*t.pix;return i.customColor=b(i.linearType,i.customColor,e,n),e=e.map((function(e){return e._start_+=(i.offsetAngle||0)*Math.PI/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(r.beginPath(),r.setFillStyle(u(e.color,i.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(i.borderWidth*t.pix),r.lineJoin="round",r.setStrokeStyle(i.borderColor);var o,s=e.color;"custom"==i.linearType&&(o=r.createCircularGradient?r.createCircularGradient(a.x,a.y,e._radius_):r.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),o.addColorStop(0,u(i.customColor[e.linearIndex],1)),o.addColorStop(1,u(e.color,1)),s=o);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==i.border&&r.stroke()})),!1!==t.dataLabel&&1===o&&Ae(e,t,n,r,c,a),{center:a,radius:c,series:e}}function tt(e,t,n,r){var o,i,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=q(e,c,a),o=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?i=c.radius:(i=Math.min(o.x,o.y),i-=5*t.pix,i-=c.width/2),i=i<10?10:i,c.customColor=b(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(o.x,o.y,i-(c.width*t.pix+c.gap*t.pix)*l,c.startAngle*Math.PI,c.endAngle*Math.PI,"ccw"==c.direction):r.arc(o.x,o.y,i-(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(o.x-i,o.y,o.x+i,o.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(o.x,o.y,i-(c.width*t.pix+c.gap*t.pix)*l,c.startAngle*Math.PI,f._proportion_*Math.PI,"ccw"==c.direction),r.stroke()}return Pe(t,n,r,o),{center:o,radius:i,series:e}}function nt(e,t,n,r,o){var i=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=te(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;o.beginPath();var h=o.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)),o.setFillStyle(h),o.arc(c.x,c.y,p,0,2*Math.PI,!1),o.fill(),o.setLineWidth(a.width),o.setStrokeStyle(u(t[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(c.x,c.y,f,a.startAngle*Math.PI,a.endAngle*Math.PI,!1),o.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,v=-l-.5*a.width-a.splitLine.fixRadius,g=-l-a.width-a.splitLine.fixRadius+a.splitLine.width;o.save(),o.translate(c.x,c.y),o.rotate((a.startAngle-1)*Math.PI);for(var m=a.splitLine.splitNumber*a.splitLine.childNumber+1,b=t[0].data*i,S=0;S<m;S++)o.beginPath(),b>S/m?o.setStrokeStyle(u(t[0].color,1)):o.setStrokeStyle(u(t[0].color,.3)),o.setLineWidth(3*n.pix),o.moveTo(v,0),o.lineTo(g,0),o.stroke(),o.rotate(y*Math.PI);o.restore(),t=ee(t,a,i),o.setLineWidth(a.width),o.setStrokeStyle(t[0].color),o.setLineCap("round"),o.beginPath(),o.arc(c.x,c.y,f,a.startAngle*Math.PI,t[0]._proportion_*Math.PI,!1),o.stroke();var x=l-2.5*a.width;o.save(),o.translate(c.x,c.y),o.rotate((t[0]._proportion_-1)*Math.PI),o.beginPath(),o.setLineWidth(a.width/3);var C=o.createLinearGradient(0,.6*-x,0,.6*x);C.addColorStop("0",u("#FFFFFF",0)),C.addColorStop("0.5",u(t[0].color,1)),C.addColorStop("1.0",u("#FFFFFF",0)),o.setStrokeStyle(C),o.arc(0,0,x,.85*Math.PI,1.15*Math.PI,!1),o.stroke(),o.beginPath(),o.setLineWidth(1),o.setStrokeStyle(t[0].color),o.setFillStyle(t[0].color),o.moveTo(-x-a.width/3/2,-4),o.lineTo(-x-a.width/3/2-4,0),o.lineTo(-x-a.width/3/2,4),o.lineTo(-x-a.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(a.width),o.setLineCap("butt");for(var _=0;_<e.length;_++){var L=e[_];o.beginPath(),o.setStrokeStyle(L.color),o.arc(c.x,c.y,l,L._startAngle_*Math.PI,L._endAngle_*Math.PI,!1),o.stroke()}o.save(),d=a.endAngle<a.startAngle?2+a.endAngle-a.startAngle:a.startAngle-a.endAngle;var P=d/a.splitLine.splitNumber,Y=d/a.splitLine.splitNumber/a.splitLine.childNumber,T=-l-.5*a.width-a.splitLine.fixRadius,M=-l-.5*a.width-a.splitLine.fixRadius+a.splitLine.width,w=-l-.5*a.width-a.splitLine.fixRadius+a.splitLine.childWidth;o.translate(c.x,c.y),o.rotate((a.startAngle-1)*Math.PI);for(var Z=0;Z<a.splitLine.splitNumber+1;Z++)o.beginPath(),o.setStrokeStyle(a.splitLine.color),o.setLineWidth(2*n.pix),o.moveTo(T,0),o.lineTo(M,0),o.stroke(),o.rotate(P*Math.PI);o.restore(),o.save(),o.translate(c.x,c.y),o.rotate((a.startAngle-1)*Math.PI);for(var D=0;D<a.splitLine.splitNumber*a.splitLine.childNumber+1;D++)o.beginPath(),o.setStrokeStyle(a.splitLine.color),o.setLineWidth(1*n.pix),o.moveTo(T,0),o.lineTo(w,0),o.stroke(),o.rotate(Y*Math.PI);o.restore(),t=ne(t,e,a,i);for(var A=0;A<t.length;A++){var O=t[A];o.save(),o.translate(c.x,c.y),o.rotate((O._proportion_-1)*Math.PI),o.beginPath(),o.setFillStyle(O.color),o.moveTo(a.pointer.width,0),o.lineTo(0,-a.pointer.width/2),o.lineTo(-f,0),o.lineTo(0,a.pointer.width/2),o.lineTo(a.pointer.width,0),o.closePath(),o.fill(),o.beginPath(),o.setFillStyle("#FFFFFF"),o.arc(0,0,a.pointer.width/6,0,2*Math.PI,!1),o.fill(),o.restore()}!1!==n.dataLabel&&Ze(a,l,c,n,r,o)}return Pe(n,r,o,c),1===i&&"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}}function rt(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=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=T(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-(Y(t.categories,n.fontSize,r)+n.radarLabelTextMargin),f-n.radarLabelTextMargin);d-=n.radarLabelTextMargin*t.pix,d=d<10?10:d,d=i.radius?i.radius:d,r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),a.forEach((function(e,t){var n=y(d*Math.cos(e),d*Math.sin(e),c);r.moveTo(c.x,c.y),t%i.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(i.gridColor),"radar"==i.gridType)a.forEach((function(t,o){var a=y(d/i.gridCount*e*Math.cos(t),d/i.gridCount*e*Math.sin(t),c);0===o?(n=a,r.moveTo(a.x,a.y)):r.lineTo(a.x,a.y)})),r.lineTo(n.x,n.y);else{var o=y(d/i.gridCount*e*Math.cos(1.5),d/i.gridCount*e*Math.sin(1.5),c);r.arc(c.x,c.y,c.y-o.y,0,2*Math.PI,!1)}r.stroke(),r.closePath()},h=1;h<=i.gridCount;h++)p(h);i.customColor=b(i.linearType,i.customColor,e,n);var v=U(a,c,d,e,t,o);if(v.forEach((function(n,o){r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.setStrokeStyle(n.color);var a,s=u(n.color,i.opacity);"custom"==i.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(i.customColor[e[o].linearIndex],i.opacity)),a.addColorStop(1,u(n.color,i.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===i.border&&r.stroke(),r.closePath(),!1!==t.dataPointShape){var l=n.data.map((function(e){return e.position}));_e(l,n.color,n.pointShape,r,t)}})),!0===i.axisLabel){var g=Math.max(i.max,Math.max.apply(null,C(e))),m=d/i.gridCount,S=t.fontSize*t.pix;r.setFontSize(S),r.setFillStyle(t.fontColor),r.setTextAlign("left");for(h=0;h<i.gridCount+1;h++){var x=h*g/i.gridCount;x=x.toFixed(i.axisLabelTofix),r.fillText(String(x),c.x+3*t.pix,c.y-h*m+S/2)}}return De(a,d,c,t,n,r),!1!==t.dataLabel&&1===o&&(v.forEach((function(e,o){r.beginPath();var i=e.textSize*t.pix||n.fontSize;r.setFontSize(i),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+i+2)):e.position.x<c.x?(r.setTextAlign("right"),r.fillText(e.value,e.position.x-4,e.position.y+i/2-2)):(r.setTextAlign("left"),r.fillText(e.value,e.position.x+4,e.position.y+i/2-2))})),r.closePath(),r.stroke()})),r.setTextAlign("left")),{center:c,radius:d,angleList:a}}function ot(e,t){var n=Array(2),r=20037508.34*e/180,o=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return o=20037508.34*o/180,n[0]=r,n[1]=o,n}function it(e){var t,n={};n.xMin=180,n.xMax=0,n.yMin=90,n.yMax=0;for(var r=0;r<e.length;r++)for(var o=e[r].geometry.coordinates,i=0;i<o.length;i++){t=o[i],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}function at(e,t,n,r,o,i){return{x:(t-n.xMin)*r+o,y:(n.yMax-e)*r+i}}function st(e,t,n,r,o,i){return{x:(t-o)/r+n.xMin,y:n.yMax-(e-i)/r}}function ct(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 ut(e,t,n){for(var r=0,o=0;o<t.length;o++){var i=t[o][0];1==t.length&&(i=t[o][0]);for(var a=0;a<i.length-1;a++){var s=i[a],c=i[a+1];n&&(s=ot(i[a][0],i[a][1]),c=ot(i[a+1][0],i[a+1][1])),ct(e,s,c)&&(r+=1)}}return r%2==1}function lt(e,t,n,r){var o,i,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=it(c);if(a.mercator){var f=ot(l.xMax,l.yMax),d=ot(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,v=t.width/2-Math.abs(l.xMax-l.xMin)/2*y,g=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 b=c[m].geometry.coordinates,S=0;S<b.length;S++){o=b[S],1==o.length&&(o=o[0]);for(var C=0;C<o.length;C++){var _=Array(2);_=a.mercator?ot(o[C][0],o[C][1]):o[C],i=at(_[1],_[0],l,y,v,g),0===C?(r.beginPath(),r.moveTo(i.x,i.y)):r.lineTo(i.x,i.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=ot(c[m].properties.centroid[0],c[m].properties.centroid[1])),i=at(L[1],L[0],l,y,v,g);var P=c[m].textSize*t.pix||n.fontSize,Y=c[m].textColor||t.fontColor;a.active&&a.activeTextColor&&t.tooltip&&t.tooltip.index==m&&(Y=a.activeTextColor);var T=c[m].properties.name;r.beginPath(),r.setFontSize(P),r.setFillStyle(Y),r.fillText(T,i.x-x(T,P,r)/2,i.y+P/2),r.closePath(),r.stroke()}}t.chartData.mapData={bounds:l,scale:y,xoffset:v,yoffset:g,mercator:a.mercator},$e(t,n,r,1),r.draw()}function ft(e,t,n){n=0==n?1:n;for(var r=[],o=0;o<n;o++)r[o]=Math.random();return Math.floor(r.reduce((function(e,t){return e+t}))/n*(t-e))+e}function dt(e,t,n,r){for(var o=!1,i=0;i<t.length;i++)if(t[i].area){if(!(e[3]<t[i].area[1]||e[0]>t[i].area[2]||e[1]>t[i].area[3]||e[2]<t[i].area[0])){o=!0;break}if(e[0]<0||e[1]<0||e[2]>n||e[3]>r){o=!0;break}o=!1}return o}function pt(e,t,n){var r=e.series;switch(t){case"normal":for(var o=0;o<r.length;o++){var i=r[o].name,a=r[o].textSize*e.pix,s=x(i,a,n),c=void 0,u=void 0,l=void 0,f=0;while(1){f++,c=ft(-e.width/2,e.width/2,5)-s/2,u=ft(-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=dt(l,r,e.width,e.height);if(!d)break;if(1e3==f){l=[-100,-100,-100,-100];break}}r[o].area=l}break;case"vertical":for(var p=function(){return Math.random()>.7},h=0;h<r.length;h++){var y=r[h].name,v=r[h].textSize*e.pix,g=x(y,v,n),m=p(),b=void 0,S=void 0,C=void 0,_=void 0,L=0;while(1){L++;var P=void 0;if(m?(b=ft(-e.width/2,e.width/2,5)-g/2,S=ft(-e.height/2,e.height/2,5)+v/2,C=[S-5-g+e.width/2,-b-5+e.height/2,S+5+e.width/2,-b+v+5+e.height/2],_=[e.width-(e.width/2-e.height/2)-(-b+v+5+e.height/2)-5,e.height/2-e.width/2+(S-5-g+e.width/2)-5,e.width-(e.width/2-e.height/2)-(-b+v+5+e.height/2)+v,e.height/2-e.width/2+(S-5-g+e.width/2)+g+5],P=dt(_,r,e.height,e.width)):(b=ft(-e.width/2,e.width/2,5)-g/2,S=ft(-e.height/2,e.height/2,5)+v/2,C=[b-5+e.width/2,S-5-v+e.height/2,b+g+5+e.width/2,S+5+e.height/2],P=dt(C,r,e.width,e.height)),!P)break;if(1e3==L){C=[-1e3,-1e3,-1e3,-1e3];break}}m?(r[h].area=_,r[h].areav=C):r[h].area=C,r[h].rotate=m}break}return r}function ht(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=s({},{type:"normal",autoColors:!0},t.extra.word);t.chartData.wordCloudData||(t.chartData.wordCloudData=pt(t,i.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=x(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)*o-f*(1-o)/2,(a[c].areav[1]+5+l-t.height/2)*o):r.fillText(u,(a[c].areav[0]+5-t.width/2)*o-f*(1-o)/2,(a[c].areav[1]+5+l-t.height/2)*o)):a[c].area[0]>0&&(t.tooltip&&t.tooltip.index==c?r.strokeText(u,(a[c].area[0]+5-t.width/2)*o-f*(1-o)/2,(a[c].area[1]+5+l-t.height/2)*o):r.fillText(u,(a[c].area[0]+5-t.width/2)*o-f*(1-o)/2,(a[c].area[1]+5+l-t.height/2)*o)),r.stroke(),r.restore()}r.restore()}function yt(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=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=i.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=z(e,f,i,a,o);if(r.save(),r.translate(c.x,c.y),i.customColor=b(i.linearType,i.customColor,e,n),"pyramid"==i.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,i.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(i.borderWidth*t.pix),r.setStrokeStyle(i.borderColor);var h=u(d[p].color,i.fillOpacity);if("custom"==i.linearType){var y=r.createLinearGradient(d[p].radius,-a,-d[p].radius,-a);y.addColorStop(0,u(d[p].color,i.fillOpacity)),y.addColorStop(.5,u(i.customColor[d[p].linearIndex],i.fillOpacity)),y.addColorStop(1,u(d[p].color,i.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==i.border&&r.stroke()}else{t.tooltip&&t.tooltip.index==p&&(r.beginPath(),r.setFillStyle(u(d[p].color,i.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(i.borderWidth*t.pix),r.setStrokeStyle(i.borderColor);h=u(d[p].color,i.fillOpacity);if("custom"==i.linearType){y=r.createLinearGradient(d[p].radius,-a,-d[p].radius,-a);y.addColorStop(0,u(d[p].color,i.fillOpacity)),y.addColorStop(.5,u(i.customColor[d[p].linearIndex],i.fillOpacity)),y.addColorStop(1,u(d[p].color,i.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==i.border&&r.stroke()}r.translate(0,-a)}else{r.translate(0,-(d.length-1)*a);for(var v=0;v<d.length;v++){if(v==d.length-1){t.tooltip&&t.tooltip.index==v&&(r.beginPath(),r.setFillStyle(u(d[v].color,i.activeOpacity)),r.moveTo(-l-i.minSize/2,0),r.lineTo(-d[v].radius-l,-a),r.lineTo(d[v].radius+l,-a),r.lineTo(l+i.minSize/2,0),r.lineTo(-l-i.minSize/2,0),r.closePath(),r.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-a,c.x+d[v].radius,c.y],r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.setStrokeStyle(i.borderColor);h=u(d[v].color,i.fillOpacity);if("custom"==i.linearType){y=r.createLinearGradient(d[v].radius,-a,-d[v].radius,-a);y.addColorStop(0,u(d[v].color,i.fillOpacity)),y.addColorStop(.5,u(i.customColor[d[v].linearIndex],i.fillOpacity)),y.addColorStop(1,u(d[v].color,i.fillOpacity)),h=y}r.setFillStyle(h),r.moveTo(0,0),r.lineTo(-i.minSize/2,0),r.lineTo(-d[v].radius,-a),r.lineTo(d[v].radius,-a),r.lineTo(i.minSize/2,0),r.lineTo(0,0),r.closePath(),r.fill(),1==i.border&&r.stroke()}else{t.tooltip&&t.tooltip.index==v&&(r.beginPath(),r.setFillStyle(u(d[v].color,i.activeOpacity)),r.moveTo(0,0),r.lineTo(-d[v+1].radius-l,0),r.lineTo(-d[v].radius-l,-a),r.lineTo(d[v].radius+l,-a),r.lineTo(d[v+1].radius+l,0),r.lineTo(0,0),r.closePath(),r.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-a*(d.length-v),c.x+d[v].radius,c.y-a*(d.length-v-1)],r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.setStrokeStyle(i.borderColor);h=u(d[v].color,i.fillOpacity);if("custom"==i.linearType){y=r.createLinearGradient(d[v].radius,-a,-d[v].radius,-a);y.addColorStop(0,u(d[v].color,i.fillOpacity)),y.addColorStop(.5,u(i.customColor[d[v].linearIndex],i.fillOpacity)),y.addColorStop(1,u(d[v].color,i.fillOpacity)),h=y}r.setFillStyle(h),r.moveTo(0,0),r.lineTo(-d[v+1].radius,0),r.lineTo(-d[v].radius,-a),r.lineTo(d[v].radius,-a),r.lineTo(d[v+1].radius,0),r.lineTo(0,0),r.closePath(),r.fill(),1==i.border&&r.stroke()}r.translate(0,a)}}return r.restore(),!1!==t.dataLabel&&1===o&&vt(d,t,r,a,i.labelAlign,l,c),1===o&>(d,t,r,a,i.labelAlign,l,c),{center:c,radius:f,series:d}}function vt(e,t,n,r,o,i,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"==o&&(l=s==e.length-1?(u.funnelArea[2]+a.x)/2:(u.funnelArea[2]+e[s+1].funnelArea[2])/2,f=l+2*i,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"==o&&(l=s==e.length-1?(u.funnelArea[0]+a.x)/2:(u.funnelArea[0]+e[s+1].funnelArea[0])/2,f=l-2*i,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-x(h,p,n),d+p/2-2),n.closePath(),n.stroke(),n.closePath())}}}function gt(e,t,n,r,o,i,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-x(c.centerText,l,n)/2,u+l/2-2),n.closePath(),n.stroke(),n.closePath())}}function mt(e,t){t.save(),t.translate(0,.5),t.restore(),t.draw()}var bt={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 St(e){this.isStop=!1,e.duration="undefined"===typeof e.duration?1e3:e.duration,e.timing=e.timing||"easeInOut";var t=17;function n(){return"undefined"!==typeof setTimeout?function(e,t){setTimeout((function(){var t=+new Date;e(t)}),t)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(e){e(null)}}var r=n(),o=null,i=function(n){if(null===n||!0===this.isStop)return e.onProcess&&e.onProcess(1),void(e.onAnimationFinish&&e.onAnimationFinish());if(null===o&&(o=n),n-o<e.duration){var a=(n-o)/e.duration,s=bt[e.timing];a=s(a),e.onProcess&&e.onProcess(a),r(i,t)}else e.onProcess&&e.onProcess(1),e.onAnimationFinish&&e.onAnimationFinish()};i=i.bind(this),r(i,t)}function xt(e,t,n,r){var o=this,i=this,a=t.series;"pie"!==e&&"ring"!==e&&"mount"!==e&&"rose"!==e&&"funnel"!==e||(a=g(a,t,n));var c=t.categories;if("mount"===e){c=[];for(var u=0;u<a.length;u++)!1!==a[u].show&&c.push(a[u].name);t.categories=c}a=m(a,t,n);var l=t.animation?t.duration:0;i.animationInstance&&i.animationInstance.stop();var d=null;if("candle"==e){var p=s({},t.extra.candle.average);p.show?(d=f(p.day,p.name,p.color,a[0].data),d=m(d,t,n),t.seriesMA=d):d=t.seriesMA?t.seriesMA=m(t.seriesMA,t,n):a}else d=a;t._series_=a=D(a),t.area=new Array(4);for(var h=0;h<4;h++)t.area[h]=t.padding[h]*t.pix;var y=Q(d,t,n,t.chartData,r),v=y.area.wholeHeight,b=y.area.wholeWidth;switch(t.legend.position){case"top":t.area[0]+=v;break;case"bottom":t.area[2]+=v;break;case"left":t.area[3]+=b;break;case"right":t.area[1]+=b;break}var S={},x=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(S=be(a,t,n,r),x=S.yAxisWidth,t.yAxis.showTitle){for(var C=0,_=0;_<t.yAxis.data.length;_++)C=Math.max(C,t.yAxis.data[_].titleFontSize?t.yAxis.data[_].titleFontSize*t.pix:n.fontSize);t.area[0]+=C}for(var L=0,P=0,Y=0;Y<x.length;Y++)"left"==x[Y].position?(t.area[3]+=P>0?x[Y].width+t.yAxis.padding*t.pix:x[Y].width,P+=1):"right"==x[Y].position&&(t.area[1]+=L>0?x[Y].width+t.yAxis.padding*t.pix:x[Y].width,L+=1)}else n.yAxisWidth=x;if(t.chartData.yAxisData=S,t.categories&&t.categories.length&&"radar"!==t.type&&"gauge"!==t.type&&"bar"!==t.type){t.chartData.xAxisData=ue(t.categories,t,n);var T=j(t.categories,t,n,t.chartData.xAxisData.eachSpacing,r),M=T.xAxisHeight,w=T.angle;n.xAxisHeight=M,n._xAxisTextAngle_=w,t.area[2]+=M,t.chartData.categoriesData=T}else if("line"===t.type||"area"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){t.chartData.xAxisData=$(a,t,n,r),c=t.chartData.xAxisData.rangesFormat;var Z=j(c,t,n,t.chartData.xAxisData.eachSpacing,r),A=Z.xAxisHeight,O=Z.angle;n.xAxisHeight=A,n._xAxisTextAngle_=O,t.area[2]+=A,t.chartData.categoriesData=Z}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var X=0,R=t.chartData.xAxisData.xAxisPoints,N=t.chartData.xAxisData.startX,E=t.chartData.xAxisData.endX,J=t.chartData.xAxisData.eachSpacing,H=J*(R.length-1),B=E-N;X=B-H,i.scrollOption.currentOffset=X,i.scrollOption.startTouchX=X,i.scrollOption.distance=0,i.scrollOption.lastMoveTime=0,t._scrollDistance_=X}switch("pie"!==e&&"ring"!==e&&"rose"!==e||(n._pieTextMaxLength_=!1===t.dataLabel?0:re(d,n,r,t)),e){case"word":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),ht(a,t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"map":r.clearRect(0,0,t.width,t.height),lt(a,t,n,r),setTimeout((function(){o.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),t.chartData.funnelData=yt(a,t,n,r,e),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=je(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=Ge(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=Qe(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=We(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=He(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=Be(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r);var o=ke(a,t,n,r,e),i=o.yAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.yAxisPoints=i,t.chartData.xAxisPoints=t.chartData.xAxisData.xAxisPoints,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=Ie(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),t.chartData.pieData=qe(a,t,n,r,e),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),t.chartData.pieData=qe(a,t,n,r,e),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),t.chartData.pieData=et(a,t,n,r,e),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),t.chartData.radarData=rt(a,t,n,r,e),Ve(t.series,t,n,r,t.chartData),$e(t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),t.chartData.arcbarData=tt(a,t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),t.chartData.gaugeData=nt(c,a,t,n,r,e),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new St({timing:t.timing,duration:l,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r),Ue(c,t,n,r);var o=Fe(a,d,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,u=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=u,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(d||t.series,t,n,r,t.chartData),$e(t,n,r,e,u,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break}}function Ct(){this.events={}}St.prototype.stop=function(){this.isStop=!0},Ct.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},Ct.prototype.delEventListener=function(e){this.events[e]=[]},Ct.prototype.trigger=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t.slice(1);this.events[r]&&this.events[r].forEach((function(e){try{e.apply(null,o)}catch(t){}}))};var _t=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 Ct,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=e,this.config=t,xt.call(this,e.type,e,t,this.context)};_t.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=be(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var o=0,i=ue(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,c=i.startX,u=i.endX,l=i.eachSpacing,f=l*(a.length-1),d=u-c;o=d-f,this.scrollOption={currentOffset:o,startTouchX:o,distance:0,lastMoveTime:0},this.opts._scrollDistance_=o;break}xt.call(this,this.opts.type,this.opts,this.config,this.context)},_t.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=be(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var o=0,i=ue(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,s=i.startX,c=i.endX,u=i.eachSpacing,l=u*t,f=c-s,p=f-u*(a.length-1);o=f/2-l,o>0&&(o=0),o<p&&(o=p),this.scrollOption={currentOffset:o,startTouchX:0,distance:0,lastMoveTime:0},d(this,o,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=o,xt.call(this,this.opts.type,this.opts,this.config,this.context)}else console.log("[uCharts] 请启用滚动条后使用")},_t.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=[L(t[0],this.opts,e),L(t[1],this.opts,e)],o=Math.abs(r[0].x-r[1].x);if(!this.scrollOption.moveCount){var i={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&&(i={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(i).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=o/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/l;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,h=ue(this.opts.categories,this.opts,this.config),y=h.xAxisPoints,v=h.startX,g=h.endX,m=h.eachSpacing,b=m*this.scrollOption.moveCurrent1,S=g-v,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,d(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,xt.call(this,this.opts.type,this.opts,this.config,this.context)}}else console.log("[uCharts] 请启用滚动条后使用")},_t.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},_t.prototype.addEventListener=function(e,t){this.uevent.addEventListener(e,t)},_t.prototype.delEventListener=function(e){this.uevent.delEventListener(e)},_t.prototype.getCurrentDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=L(t,this.opts,e);return"pie"===this.opts.type||"ring"===this.opts.type?F({x:n.x,y:n.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?k({x:n.x,y:n.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?E({x:n.x,y:n.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?J({x:n.x,y:n.y},this.opts.chartData.funnelData):"map"===this.opts.type?B({x:n.x,y:n.y},this.opts):"word"===this.opts.type?H({x:n.x,y:n.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?O({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):A({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},_t.prototype.getLegendDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=L(t,this.opts,e);return X({x:n.x,y:n.y},this.opts.chartData.legendData)}return-1},_t.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){L(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,xt.call(this,this.opts.type,this.opts,this.config,this.context))}},_t.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 o=L(r,this.opts,e),i=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:i,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=P(this.opts.series,u,c.group);if(0!==l.length){var f=M(l,this.opts,u,c.group,this.opts.categories,n),d=f.textList,p=f.offset;p.y=o.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}}}xt.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:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}xt.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=P(this.opts.series,u,c.group);if(0!==l.length){f=M(l,this.opts,u,c.group,this.opts.categories,n),d=f.textList,p=f.offset;p.x=o.x,a.tooltip={textList:void 0!==n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}xt.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){i=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:i,animation:!1}),l=P(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=o.y,a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}xt.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){i=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:i,animation:!1}),l=P(this.opts.series,u);if(0!==l.length){f=Z(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=o.y,a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}xt.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:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}xt.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:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}a.updateData=!1,xt.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:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}a.updateData=!1,xt.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=P(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:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}xt.call(this,a.type,a,this.config,this.context)}},_t.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=s({},this.opts,{_scrollDistance_:e,animation:!1});xt.call(this,this.opts.type,t,this.config,this.context)},_t.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var n=L(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=n.x)},_t.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 o=null;if(o=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],o&&!0===this.opts.enableScroll){var i,a=L(o,this.opts,e);i=a.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,u=d(this,c+i,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=i=u-c;var l=s({},this.opts,{_scrollDistance_:c+i,animation:!1});return this.opts=l,xt.call(this,l.type,l,this.config,this.context),c+i}}},_t.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 Lt=_t;t.default=Lt},879:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({show:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:10070},duration:{type:[String,Number],default:300},opacity:{type:[String,Number],default:.5}},null===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.overlay)};t.default=u}).call(this,n(2)["default"])},887:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=p;var o=r(n(11)),i=r(n(23)),a=r(n(24));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,o.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,i.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 o="";"rotate"===e&&(o="deg"),r.styles.transform+="".concat(e,"(").concat(t+o,") ")}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,o){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,o=e[n];if(o){var i=o.styles,a=o.config;this._animateRun(i,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"],f=["opacity","backgroundColor"],d=["width","height","left","right","top","bottom"];function p(e,t){if(t)return clearTimeout(t.timer),new u(e,t)}l.concat(f,d).forEach((function(e){u.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n(2)["default"])},893: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},9:function(e,t){function n(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=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(493),o=n(492),i={computed:{value:function(){var e=this.text,t=this.mode,n=this.format,i=this.href;return"price"===t?(/^\d+(\.\d+)?$/.test(e)||(0,o.error)("金额模式下,text参数需要为金额格式"),(0,r.func)(n)?n(e):(0,o.priceFormat)(e,2)):"date"===t?(!(0,r.date)(e)&&(0,o.error)("日期模式下,text参数需要为日期或时间戳格式"),(0,r.func)(n)?n(e):n?(0,o.timeFormat)(e,n):(0,o.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,o.error)("姓名模式下,text参数需要为字符串格式"),(0,r.func)(n)?n(e):"encrypt"===n?this.formatName(e):e):"link"===t?(!(0,r.url)(i)&&(0,o.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,o=e.length-2;r<o;r++)n+="*";t=e.substr(0,1)+n+e.substr(-1,1)}else t=e;return t}}};t.default=i},909:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.text)};t.default=u}).call(this,n(2)["default"])},917:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n(11));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,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}var u={props:c({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===(o=e.$uv)||void 0===o||null===(i=o.props)||void 0===i?void 0:i.link)};t.default=u}).call(this,n(2)["default"])},93:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImgCode=i,t.getUserInfo=s,t.login=o,t.sendPhoneCode=a;var r=n(45);function o(e){return(0,r.request)({url:"/manager/login",method:"post",data:e})}function i(){return(0,r.request)({url:"/manager/pCode",method:"get"})}function a(e,t){return(0,r.request)({url:"/manager/send/".concat(e,"/").concat(t),method:"get"})}function s(e){return(0,r.request)({url:"/manager/userContext",method:"get"})}},94:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProjectDetailById=i,t.getProjectList=o,t.selectProject=a;var r=n(45);function o(){return(0,r.request)({url:"/api/project/projectListIdentity",method:"get"})}function i(e){return(0,r.request)({url:"/api/project/getProject/".concat(e),method:"get"})}function a(e){return(0,r.request)({url:"/manager/userContext/project/".concat(e),method:"put"})}},95:function(e,t,n){"use strict";function r(e){return/^(https?:|mailto:|tel:)/.test(e)}function o(e){var t=["admin","editor"];return t.indexOf(e.trim())>=0}function i(e){var t=/^(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.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function a(e){var t=/^[a-z]+$/;return t.test(e)}function s(e){var t=/^[A-Z]+$/;return t.test(e)}function c(e){var t=/^[A-Za-z]+$/;return t.test(e)}function u(e){var t=/^(([^<>()\[\]\\.,;:\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,}))$/;return t.test(e)}function l(e){return"string"===typeof e||e instanceof String}function f(e){return"undefined"===typeof Array.isArray?"[object Array]"===Object.prototype.toString.call(e):Array.isArray(e)}function d(e){var t=/^1[1-9]\d{9}$/;return t.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=f,t.isExternal=r,t.isString=l,t.isTel=d,t.validAlphabets=c,t.validEmail=u,t.validLowerCase=a,t.validURL=i,t.validUpperCase=s,t.validUsername=o}}]);
- //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|