(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 l(e){return(!c||1154!==c.scene||!o.includes(e))&&(r.indexOf(e)>-1||"function"===typeof s[e])}function u(){var e={};for(var t in s)l(t)&&(e[t]=s[t]);return e}i[a]=u();var d=i[a];t.default=d},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=f,t.getAgentDetailById=d,t.getCustomerDetailById=c,t.getMessageDetailById=s,t.getMessageList=i,t.getMessageTest=o,t.setMessageViewed=a,t.updateAgent=u,t.updateCustomer=l;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 l(e){return(0,r.request)({url:"/manager/client/update",method:"put",data:e})}function u(e){return(0,r.request)({url:"/manager/agent/update",method:"put",data:e})}function d(e){return(0,r.request)({url:"/manager/agent/".concat(e),method:"get"})}function f(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:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.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(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),a=new O(r||[]);return s(i,"_invoke",{value:M(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",S={};function b(){}function x(){}function C(){}var _={};f(_,l,(function(){return this}));var L=Object.getPrototypeOf,P=L&&L(L(X([])));P&&P!==i&&a.call(P,l)&&(_=P);var Y=C.prototype=b.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function Z(e,t){function n(o,i,s,c){var l=h(e[o],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(l.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 M(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=w(s,r);if(c){if(c===S)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 l=h(e,n,r);if("normal"===l.type){if(o=r.done?m:v,l.arg===S)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function w(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,w(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),S;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,S;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,S):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,S)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function X(e){if(e||""===e){var n=e[l];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=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"),l=a.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),S}},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;D(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),S}},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(l){return void n(l)}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=Nn,t.createComponent=Kn,t.createPage=$n,t.createPlugin=zn,t.createSubpackageApp=Un,t.default=void 0;var i,a=o(n(5)),s=o(n(11)),c=o(n(15)),l=o(n(18)),u=o(n(13)),d=n(22),f=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-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>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 b=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,u.default)(e)}function P(e){return"[object Object]"===b.call(e)}function Y(e,t){return x.call(e,t)}function T(){}function Z(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var M=/-(\w)/g,w=Z((function(e){return e.replace(M,(function(e,t){return t?t.toUpperCase():""}))}));function A(e){var t={};return P(e)&&Object.keys(e).sort().forEach((function(n){t[n]=e[n]})),Object.keys(t)?t:e}var D=["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?E(n):n}function E(e){for(var t=[],n=0;n1&&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,l.default)(O.returnValue));var r=X[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,(0,l.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;i0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),i=1;i-1?ye:e.indexOf("-hant")>-1||Ye(e,["-tw","-hk","-mo","-cht"])?ve:ye;var n=Te(e,[ge,me,Se]);return n||void 0}}function Me(){if(C(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return Ze(e.getSystemInfoSync().language)||ge}function we(e){var t=!!C(getApp)&&getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,Ae.forEach((function(t){return t({locale:e})})),!0)}var Ae=[];function De(e){-1===Ae.indexOf(e)&&Ae.push(e)}"undefined"!==typeof r&&(r.getLocale=Me);var Oe={promiseInterceptor:K},Xe=Object.freeze({__proto__:null,upx2px:pe,getLocale:Me,setLocale:we,onLocaleChange:De,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 Ee,Ne={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!(r2&&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),lt=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function ut(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)}}lt.forEach((function(e){ct[e]=ut(e)}));var dt={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function ft(e){var t=e.service,n=e.success,r=e.fail,o=e.complete,i=!1;dt[t]?(i={errMsg:"getProvider:ok",service:t,provider:dt[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:ft}),ht=function(){var e;return function(){return e||(e=new f.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 St(){return yt(ht(),"$emit",Array.prototype.slice.call(arguments))}var bt,xt,Ct,_t=Object.freeze({__proto__:null,$on:vt,$off:gt,$once:mt,$emit:St});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)bt=e.cid,xt=e.errMsg,Mt(bt,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Yt(e.message)},n=0;n-1&&At.splice(t,1)}else At.length=0},Xt=e.getAppBaseInfo&&e.getAppBaseInfo();Xt||(Xt=e.getSystemInfoSync());var Rt=Xt?Xt.host:null,Et=Rt&&"SAAASDK"===Rt.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,Nt=Object.freeze({__proto__:null,shareVideoMessage:Et,getPushClientId:wt,onPushMessage:Dt,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,l.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 Kt=/_(.*)_worklet_factory_/;function Ut(e,t){t&&Object.keys(t).forEach((function(n){var r=n.match(Kt);if(r){var o=r[1];e[n]=t[n],e[o]=t[o]}}))}var zt=Page,Vt=Component,qt=/:/g,en=Z((function(e){return w(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;o0&&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(f.default.options&&Array.isArray(f.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]:[];ln(t).forEach((function(t){return un(e,t,n)}))}function ln(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 un(e,t,n){-1!==n.indexOf(t)||Y(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function dn(e,t){var n;return t=t.default||t,n=C(t)?t:e.extend(t),t=n.options,[n,t]}function fn(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:Sn(r.props,!0)})),Array.isArray(o)&&o.forEach((function(e){P(e)&&e.props&&a.push(t({properties:Sn(e.props,!0)}))})),a}function mn(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function Sn(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 bn(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,u.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;n2&&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),l=[];return n.forEach((function(e){"$event"===e?"__set_model"!==i||o?o&&!a?l.push(s[0]):l.push(t):l.push(t.target.value):Array.isArray(e)&&"o"===e[0]?l.push(_n(e)):"string"===typeof e&&Y(c,e)?l.push(c[e]):l.push(e)})),l}var Pn="~",Yn="^";function Tn(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}function Zn(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 Mn(e){var t=this;e=bn(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=Zn(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 l="page"===t.$vm.mpType?"Page":"Component",u=t.route||t.is;throw new Error("".concat(l,' "').concat(u,'" does not have a method "').concat(r,'"'))}if(c){if(a.once)return;a.once=!0}var d=Ln(t.$vm,e,n[1],n[2],s,r);d=Array.isArray(d)?d:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(d=d.concat([,,,,,,,,,,e])),i.push(a.apply(o,d))}}))})),"input"===o&&1===i.length&&"undefined"!==typeof i[0]?i[0]:void 0}var wn={};function An(e){var t=wn[e];return delete wn[e],t}var Dn=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function On(){f.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=f.default.prototype.__call_hook;f.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=An(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)}}f.default.prototype.$hasSSP=function(n){var r=e[n];return r||(t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))),r},f.default.prototype.$getSSP=function(t,n,r){var o=e[t];if(o){var i=o[n]||[];return r?i:i[0]}},f.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},f.default.prototype.$initSSP=function(){n.call(this,(function(t){e[t]={}}))},f.default.prototype.$callSSP=function(){n.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},f.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&&(f.default.prototype.$store=t.$options.store),S(f.default),f.default.prototype.mpHost="mp-weixin",f.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(f.default,t,Ze(e.getSystemInfoSync().language)||ge),sn(i,Dn),cn(i,t.$options),i}function En(e){return Rn(e,{mocks:Jt,initRefs:Qt})}function Nn(e){return App(En(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=dn(f.default,e),s=(0,a.default)(i,2),c=s[0],l=s[1],u=h({multipleSlots:!0,addGlobalClass:!0},l.options||{});l["mp-weixin"]&&l["mp-weixin"].options&&Object.assign(u,l["mp-weixin"].options);var d={options:u,data:hn(l,f.default.prototype),behaviors:gn(l,Bt),properties:Sn(l.props,!1,l.__file,u),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),fn(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:Mn}};return l.externalClasses&&(d.externalClasses=l.externalClasses),Array.isArray(l.wxsCallMethods)&&l.wxsCallMethods.forEach((function(e){d.methods[e]=function(t){return this.$vm[e](t)}})),o?[d,l,c]:n?d:[d,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"]),Ut(r.methods,o.methods),r}function Wn(e){return jn(e)}function $n(e){return Component(Wn(e))}function Kn(e){return Component(Gn(e))}function Un(t){var n=En(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;r2&&void 0!==arguments[2]?arguments[2]:u;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=d;var f=/^(?:\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-1?v:e.indexOf("-hant")>-1||L(e,["-tw","-hk","-mo","-cht"])?g:v;var n=[m,S,b];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 Z(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function M(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():m}function w(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=M()),"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,Z(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 A,D=function(e){return"string"===typeof e};function O(e,t){return A||(A=new d),B(e,(function(e,n){var r=e[n];return D(r)?!!E(r,t)||void 0:O(r,t)}))}function X(e,t,n){return A||(A=new d),B(e,(function(e,r){var o=e[r];D(o)?E(o,n)&&(e[r]=N(o,t,n)):X(o,t,n)})),e}function R(e,t){var n=t.locale,r=t.locales,o=t.delimiters;if(!E(e,o))return e;A||(A=new d);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 E(e,t){return e.indexOf(t[0])>-1}function N(e,t,n){return A.interpolate(e,t,n).join("")}function J(e,t,n,r){var o=e[t];if(D(o)){if(E(o,r)&&(e[t]=N(o,n[0].values,r),n.length>1)){var i=e[t+"Locales"]={};n.forEach((function(e){i[e.locale]=N(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-1}))):t}}function F(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}t.isString=D}).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=l,t.getUserListByPart=i,t.requestSeal=u,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 l(e){return(0,r.request)({url:"/file/seal/".concat(e),method:"get"})}function u(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=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)||d(e)&&e.toString===l?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-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,Z=_((function(e){return e.replace(T,"-$1").toLowerCase()}));function M(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 w(e,t){return e.bind(t)}var A=Function.prototype.bind?w:M;function D(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;n0),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===K&&(K=!z&&!V&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},se=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var le,ue="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);le="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 de=R,fe=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,"")};de=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)},fe=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:"";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)+">":"")+(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 Se=0,be=function(){this.id=Se++,this.subs=[]};function xe(e){be.SharedObject.targetStack.push(e),be.SharedObject.target=e,be.target=e}function Ce(){be.SharedObject.targetStack.pop(),be.SharedObject.target=be.SharedObject.targetStack[be.SharedObject.targetStack.length-1],be.target=be.SharedObject.target}be.prototype.addSub=function(e){this.subs.push(e)},be.prototype.removeSub=function(e){b(this.subs,e)},be.prototype.depend=function(){be.SharedObject.target&&be.SharedObject.target.addDep(this)},be.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-1)if(i&&!C(o,"default"))a=!1;else if(""===a||a===Z(e)){var c=ut(String,o.type);(c<0||s0&&(a=zt(a,(t||"")+"_"+n),Ut(a[0])&&Ut(l)&&(u[c]=Ye(l.text+a[0].text),a.shift()),u.push.apply(u,a)):s(a)?Ut(l)?u[c]=Ye(l.text+a):""!==a&&u.push(Ye(a)):Ut(a)&&Ut(l)?u[c]=Ye(l.text+a.text):(i(e._isVList)&&o(a.tag)&&r(a.key)&&o(t)&&(a.key="__vlist"+t+"_"+n+"__"),u.push(a)));return u}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(){de('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=ue?Reflect.ownKeys(e):Object.keys(e),o=0;o0,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 l in t)l in o||(o[l]=an(t,l));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]:Kt(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.",e),a=new _e(I.parsePlatformTagName(t),n,r,void 0,void 0,e)):a=n&&n.pre||!o(l=nt(e.$options,"components",t))?new _e(t,n,r,void 0,void 0,e):Zn(l,n,e,r,t)):a=Zn(t,n,e,r);return Array.isArray(a)?a:o(a)?(o(c)&&Nn(a,c),o(n)&&Jn(n),a):Pe()}function Nn(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;a1?D(r):r;for(var o=D(arguments,1),i='event handler for "'+e+'"',a=0,s=r.length;adocument.createEvent("Event").timeStamp&&(Sr=function(){return br.now()})}function xr(){var e,t;for(Sr(),vr=!0,dr.sort((function(e,t){return e.id-t.id})),gr=0;grur)){de("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=fr.slice(),r=dr.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&&lr(r,"updated")}}function _r(e){e._inactive=!1,fr.push(e)}function Lr(e){for(var t=0;tgr&&dr[n].id>e.id)n--;dr.splice(n+1,0,e)}else dr.push(e);if(!yr){if(yr=!0,!I.async)return void xr();Zt(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 le,this.newDepIds=new le,this.expression=t.toString(),"function"===typeof t?this.getter=t:(this.getter=$(t),this.getter||(this.getter=R,de('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||b(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var Zr={enumerable:!0,configurable:!0,get:R,set:R};function Mr(e,t,n){Zr.get=function(){return this[t][n]},Zr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Zr)}function wr(e){e._watchers=[];var t=e.$options;t.props&&Ar(e,t.props),t.methods&&Hr(e,t.methods),t.data?Dr(e):Ne(e._data={},!0),t.computed&&Rr(e,t.computed),t.watch&&t.watch!==oe&&Br(e,t.watch)}function Ar(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=Z(a);(S(c)||I.isReservedAttr(c))&&de('"'+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}de("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||Mr(e,"_props",a)};for(var s in t)a(s);Oe(!0)}function Dr(e){var t=e.$options.data;t=e._data="function"===typeof t?Or(t,e):t||{},d(t)||(t={},de("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)&&de('Method "'+a+'" has already been defined as a data property.',e),r&&C(r,a)?de('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):Q(a)||Mr(e,"_data",a)}Ne(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&&de('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?de('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&de('The computed property "'+o+'" is already defined as a prop.',e):Er(e,o,i)}}function Er(e,t,n){var r=!ae();"function"===typeof n?(Zr.get=r?Nr(t):Jr(n),Zr.set=R):(Zr.get=n.get?r&&!1!==n.cache?Nr(t):Jr(n.get):R,Zr.set=n.set||R),Zr.set===R&&(Zr.set=function(){de('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Zr)}function Nr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),be.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]&&de('Method "'+r+'" has type "'+typeof t[r]+'" in the component definition. Did you reference the function correctly?',e),n&&C(n,r)&&de('Method "'+r+'" has already been defined as a prop.',e),r in e&&Q(r)&&de('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]="function"!==typeof t[r]?R:A(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-1)return this;var n=D(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 Ur(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&&Ue(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)Mr(e.prototype,"_props",n)}function qr(e){var t=e.options.computed;for(var n in t)Er(e.prototype,n,t[n])}function eo(e){k.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&Ue(e),"component"===t&&d(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:!!f(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,b(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,l=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[u]?(t.componentInstance=c[u].componentInstance,b(l,u),l.push(u)):(c[u]=t,l.push(u),this.max&&l.length>parseInt(this.max)&&oo(c,l[0],l,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(){de("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:O,mergeOptions:tt,defineReactive:Je},e.set=He,e.delete=Be,e.nextTick=Zt,e.observable=function(e){return Ne(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),Kr(e),Ur(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 lo="[object Array]",uo="[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=So(e),r=So(t);if(n==uo&&r==uo){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==lo&&r==lo&&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=So(e),i=So(t);if(o==uo)if(i!=uo||Object.keys(e).length1&&(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 Eo(e,t){var n=t.split("."),r=n[0];return 0===r.indexOf("__$n")&&(r=parseInt(r.replace("__$n",""))),1===n.length?e[r]:Eo(e[r],n.slice(1).join("."))}function No(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__:D(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=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 l(e){return null!==e&&"object"===typeof e}function u(e){return e&&"function"===typeof e.then}function d(e,t){if(!e)throw new Error("[vuex] "+t)}function f(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"},S={assert:function(e){return"function"===typeof e||"object"===typeof e&&"function"===typeof e.handler},expected:'function or object with "handler" function'},b={getters:m,mutations:m,actions:S};function x(e,t){Object.keys(b).forEach((function(n){if(t[n]){var r=b[n];c(t[n],(function(t,o){d(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&&N(window.Vue),d(g,"must call Vue.use(Vuex) before creating a store instance."),d("undefined"!==typeof Promise,"vuex requires a Promise polyfill in this browser."),d(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,l=s.commit;this.dispatch=function(e,t){return c.call(a,e,t)},this.commit=function(e,t,n){return l.call(a,e,t,n)},this.strict=o;var u=this._modules.root.state;Z(this,u,[],this._modules.root),T(this,u),r.forEach((function(e){return e(n)}));var f=void 0!==t.devtools?t.devtools:g.config.devtools;f&&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;Z(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]=f(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 Z(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 l=r.context=M(e,a,n);r.forEachMutation((function(t,n){var r=a+n;A(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,o=t.handler||t;D(e,r,o,l)})),r.forEachGetter((function(t,n){var r=a+n;O(e,r,t,l)})),r.forEachChild((function(r,i){Z(e,t,n.concat(i),r,o)}))}function M(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=E(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=E(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 w(e,t)}},state:{get:function(){return R(e.state,n)}}}),o}function w(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 A(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))}function D(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 u(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(){d(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 E(e,t,n){return l(e)&&e.type&&(n=t,t=e,e=e.type),d("string"===typeof e,"expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:n}}function N(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){d(!1,"use store.replaceState() to explicit replace store state.")},_.prototype.commit=function(e,t,n){var r=this,o=E(e,t,n),i=o.type,a=o.payload,s=o.options,c={type:i,payload:a},l=this._mutations[i];l?(this._withCommit((function(){l.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=E(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(l){console.warn("[vuex] error in before action subscribers: "),console.error(l)}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(l){console.warn("[vuex] error in after action subscribers: "),console.error(l)}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(l){console.warn("[vuex] error in error action subscribers: "),console.error(l)}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 d("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]),d(Array.isArray(e),"module path must be a string or an Array."),d(e.length>0,"cannot register the root module by using registerModule."),this._modules.register(e,t),Z(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]),d(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]),d(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)||l(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 l=e.logActions;void 0===l&&(l=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var d=s(e.state);"undefined"!==typeof u&&(c&&e.subscribe((function(e,i){var a=s(i);if(n(e,d,a)){var c=U(),l=o(e),f="mutation "+e.type+c;$(u,f,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),K(u)}d=a})),l&&e.subscribeAction((function(e,n){if(i(e,n)){var r=U(),o=a(e),s="action "+e.type+r;$(u,s,t),u.log("%c action","color: #03A9F4; font-weight: bold",o),K(u)}})))}}function $(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(o){e.log(t)}}function K(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function U(){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:N,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",l="week",u="month",d="quarter",f="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},S={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()1)return e(a[0])}else{var s=t.name;x[s]=t,o=s}return!r&&o&&(b=o),o||!r&&b},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=S;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)=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 l(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=0&&Math.floor(t)===t&&isFinite(e)&&t<=z}function q(e){return null!==e&&"object"===typeof e}function ee(e){return"[object Object]"===E(e)}function te(e){return"function"===typeof e}function ne(e){return void 0===e||null===e}function re(e,t){var n=M();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=Z();return t&&e instanceof t}function le(e,t){return function(){for(var n=[],r=0;r1?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)},Et=Rt;function Nt(e,t){void 0===t&&(t=void 0);var n=Z(),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;nn;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 d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var f={EVENT:{}};t.YeIMUniSDKDefines=f,f.EVENT.NET_CHANGED="net_changed",f.EVENT.CONVERSATION_LIST_CHANGED="conversation_list_changed",f.EVENT.MESSAGE_RECEIVED="message_received",f.EVENT.MESSAGE_REVOKED="message_revoked",f.EVENT.PRIVATE_READ_RECEIPT="private_read_receipt",f.EVENT.FRIEND_LIST_CHANGED="friend_list_changed",f.EVENT.FRIEND_APPLY_LIST_CHANGED="friend_apply_list_changed",f.EVENT.FRIEND_APPLY_REFUSE="friend_apply_refuse",f.EVENT.KICKED_OUT="kicked_out",f.CONVERSATION_TYPE={},f.CONVERSATION_TYPE.PRIVATE="private",f.CONVERSATION_TYPE.GROUP="group",f.MESSAGE_TYPE={},f.MESSAGE_TYPE.TEXT="text",f.MESSAGE_TYPE.TEXT_AT="text_at",f.MESSAGE_TYPE.IMAGE="image",f.MESSAGE_TYPE.AUDIO="audio",f.MESSAGE_TYPE.VIDEO="video",f.MESSAGE_TYPE.LOCATION="location",f.MESSAGE_TYPE.CUSTOM="custom",f.MESSAGE_TYPE.MERGER="merger",f.MESSAGE_TYPE.FORWARD="forward",f.MESSAGE_TYPE.SYS_NOTICE="sys_notice",f.MESSAGE_TYPE.GROUP_SYS_NOTICE="group_sys_notice",f.USER={},f.USER.ADDFRIEND={},f.USER.ADDFRIEND.ALLOW=1,f.USER.ADDFRIEND.CONFIRM=2,f.USER.ADDFRIEND.DENY=3,f.GROUP={},f.GROUP.JOINMODE={},f.GROUP.JOINMODE.FREE=1,f.GROUP.JOINMODE.CHECK=2,f.GROUP.JOINMODE.FORBIDDEN=3,f.GROUP.APPLYSTATUS={},f.GROUP.APPLYSTATUS.PENDING=1,f.GROUP.APPLYSTATUS.AGREE=2,f.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;l(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 d(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 S(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 b={};({get exports(){return b},set exports(e){b=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=b;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={},Z={get exports(){return T},set exports(e){T=e}},M={};!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 M},set exports(e){M=e}}),function(e){var t=M.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",l=s.asyncIterator||"@@asyncIterator",u=s.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(e){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=Object.create((t&&t.prototype instanceof y?t:y).prototype),i=new Z(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=f;var h={};function y(){}function v(){}function g(){}var m={};d(m,c,(function(){return this}));var S=Object.getPrototypeOf,b=S&&S(S(M([])));b&&b!==o&&i.call(b,c)&&(m=b);var x=g.prototype=y.prototype=Object.create(m);function C(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,n){function r(o,a,s,c){var l=p(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==t(d)&&i.call(d,"__await")?n.resolve(d.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):n.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,c)}))}c(l.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 w()}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 Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function M(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=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:M(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}(Z);var w=T(),A=w;try{regeneratorRuntime=w}catch(s){"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis.regeneratorRuntime=w:Function("r","regeneratorRuntime = r")(w)}var D=function(e,t){return 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(D(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(D(e,i),t)},E=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(D(e,i),t)},N=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(D(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)<>>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,l,u;for(e=B(e+=""),t=J(e),s=1732584193,c=4023233417,l=2562383102,u=271733878,n=0;t.length>n;n+=16)r=s,o=c,i=l,a=u,s=X(s,c,l,u,t[n+0],7,3614090360),u=X(u,s,c,l,t[n+1],12,3905402710),l=X(l,u,s,c,t[n+2],17,606105819),c=X(c,l,u,s,t[n+3],22,3250441966),s=X(s,c,l,u,t[n+4],7,4118548399),u=X(u,s,c,l,t[n+5],12,1200080426),l=X(l,u,s,c,t[n+6],17,2821735955),c=X(c,l,u,s,t[n+7],22,4249261313),s=X(s,c,l,u,t[n+8],7,1770035416),u=X(u,s,c,l,t[n+9],12,2336552879),l=X(l,u,s,c,t[n+10],17,4294925233),c=X(c,l,u,s,t[n+11],22,2304563134),s=X(s,c,l,u,t[n+12],7,1804603682),u=X(u,s,c,l,t[n+13],12,4254626195),l=X(l,u,s,c,t[n+14],17,2792965006),c=X(c,l,u,s,t[n+15],22,1236535329),s=R(s,c,l,u,t[n+1],5,4129170786),u=R(u,s,c,l,t[n+6],9,3225465664),l=R(l,u,s,c,t[n+11],14,643717713),c=R(c,l,u,s,t[n+0],20,3921069994),s=R(s,c,l,u,t[n+5],5,3593408605),u=R(u,s,c,l,t[n+10],9,38016083),l=R(l,u,s,c,t[n+15],14,3634488961),c=R(c,l,u,s,t[n+4],20,3889429448),s=R(s,c,l,u,t[n+9],5,568446438),u=R(u,s,c,l,t[n+14],9,3275163606),l=R(l,u,s,c,t[n+3],14,4107603335),c=R(c,l,u,s,t[n+8],20,1163531501),s=R(s,c,l,u,t[n+13],5,2850285829),u=R(u,s,c,l,t[n+2],9,4243563512),l=R(l,u,s,c,t[n+7],14,1735328473),c=R(c,l,u,s,t[n+12],20,2368359562),s=E(s,c,l,u,t[n+5],4,4294588738),u=E(u,s,c,l,t[n+8],11,2272392833),l=E(l,u,s,c,t[n+11],16,1839030562),c=E(c,l,u,s,t[n+14],23,4259657740),s=E(s,c,l,u,t[n+1],4,2763975236),u=E(u,s,c,l,t[n+4],11,1272893353),l=E(l,u,s,c,t[n+7],16,4139469664),c=E(c,l,u,s,t[n+10],23,3200236656),s=E(s,c,l,u,t[n+13],4,681279174),u=E(u,s,c,l,t[n+0],11,3936430074),l=E(l,u,s,c,t[n+3],16,3572445317),c=E(c,l,u,s,t[n+6],23,76029189),s=E(s,c,l,u,t[n+9],4,3654602809),u=E(u,s,c,l,t[n+12],11,3873151461),l=E(l,u,s,c,t[n+15],16,530742520),c=E(c,l,u,s,t[n+2],23,3299628645),s=N(s,c,l,u,t[n+0],6,4096336452),u=N(u,s,c,l,t[n+7],10,1126891415),l=N(l,u,s,c,t[n+14],15,2878612391),c=N(c,l,u,s,t[n+5],21,4237533241),s=N(s,c,l,u,t[n+12],6,1700485571),u=N(u,s,c,l,t[n+3],10,2399980690),l=N(l,u,s,c,t[n+10],15,4293915773),c=N(c,l,u,s,t[n+1],21,2240044497),s=N(s,c,l,u,t[n+8],6,1873313359),u=N(u,s,c,l,t[n+15],10,4264355552),l=N(l,u,s,c,t[n+6],15,2734768916),c=N(c,l,u,s,t[n+13],21,1309151649),s=N(s,c,l,u,t[n+4],6,4149444226),u=N(u,s,c,l,t[n+11],10,3174756917),l=N(l,u,s,c,t[n+2],15,718787259),c=N(c,l,u,s,t[n+9],21,3951481745),s=O(s,r),c=O(c,o),l=O(l,i),u=O(u,a);return(H(s)+H(c)+H(l)+H(u)).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)}},l=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)}},u=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.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=d.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.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 f.HMAC.init(e,n).finalize(t)}}});var f=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 l=Q[c-3]^Q[c-8]^Q[c-14]^Q[c-16];Q[c]=l<<1|l>>>31}l=(r<<5|r>>>27)+s+Q[c],l=20>c?l+(1518500249+(o&i|~o&a)):40>c?l+(1859775393+(o^i^a)):60>c?l+((o&i|o&a|i&a)-1894007588):l+((o^i^a)-899497514),s=a,a=i,i=o<<30|o>>>2,o=r,r=l}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,l=0;r>l;l++)s[l]^=1549556828,c[l]^=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!==$&&$||{},K={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(K.arrayBuffer)var U=["[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&&U.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 K.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:K.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:K.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:K.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=""+e:K.arrayBuffer&&K.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ie(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):K.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):K.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K.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)},K.formData&&(this.formData=function(){return this.text().then(le)}),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)},K.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 le(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 ue(e,t){if(!(this instanceof ue))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(ue.prototype),ue.prototype.clone=function(){return new ue(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new te(this.headers),url:this.url})},ue.error=function(){var e=new ue(null,{status:0,statusText:""});return e.type="error",e};var de=[301,302,303,307,308];ue.redirect=function(e,t){if(-1===de.indexOf(t))throw new RangeError("Invalid status code");return new ue(null,{status:t,headers:{location:e}})};var fe=$.DOMException;try{new fe}catch(a){(fe=function(e,t){this.message=e,this.name=t,this.stack=Error(e).stack}).prototype=Object.create(Error.prototype),fe.prototype.constructor=fe}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 fe("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 ue(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 fe("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&&(K.blob?i.responseType="blob":K.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=ue);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(A.mark((function e(t){var n;return A.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)):S(t,n,e.message)}},fail:function(e){h(1,e),S(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):S(t,p.DOWNLOAD_ERROR.code,p.DOWNLOAD_ERROR.code.describe)},fail:function(e){h(1,e),S(t,p.DOWNLOAD_ERROR.code,p.DOWNLOAD_ERROR.code.describe)}})}function Se(){return be.apply(this,arguments)}function be(){return(be=Y(A.mark((function e(){var t;return A.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(A.mark((function e(t,n,r){var o,i,a,s,c,l,u,d,f,p;return A.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,Se();case 4:return s=he.mediaUploadParams.secretId,c=(i=he.mediaUploadParams.nowTime)+";"+(a=he.mediaUploadParams.expireTime),u=he.mediaUploadParams.signKey,d="sha1\n"+(l=i+";"+a)+"\n"+W.SHA1(t+"\n"+n+"\n\n"+r+"\n")+"\n",f=W.HmacSHA1(d,u),p="q-sign-algorithm=sha1&q-ak=".concat(s,"&q-sign-time=").concat(c,"&q-key-time=").concat(l,"&q-header-list=&q-url-param-list=&q-signature=").concat(f),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(A.mark((function e(){var t;return A.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,Se();case 4:return e.abrupt("return",he.mediaUploadParams);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ze(e){if(!he.checkLogged())return S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!he.mediaUploadParams)return S(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(A.mark((function t(){var n,a;return A.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(){S(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(A.mark((function n(){var a;return A.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(){S(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(){S(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 Me(e){if(!he.mediaUploadParams)return S(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(A.mark((function t(){var n,a;return A.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(){S(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(A.mark((function n(){var a;return A.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(){S(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(){S(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){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 Ae(t){return he.uni?e.getStorageSync(t):localStorage.getItem(t)?JSON.parse(localStorage.getItem(t)):null}function De(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:f.MESSAGE_TYPE.TEXT,conversationType:e.conversationType,body:{text:e.body.text}};return e.extra&&(t.extra=e.extra),we(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!=f.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:f.MESSAGE_TYPE.TEXT_AT,conversationType:e.conversationType,body:{text:e.body.text,atUserIdList:e.body.atUserIdList}};return e.extra&&(t.extra=e.extra),we(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:f.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=we(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}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)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:f.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),we(t)}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.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:f.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),we(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:f.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=we(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:f.MESSAGE_TYPE.AUDIO,conversationType:e.conversationType,body:{audioUrl:e.body.audioUrl,duration:e.body.duration}};return e.extra&&(t.extra=e.extra),we(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:f.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=we(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:f.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),we(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:f.MESSAGE_TYPE.CUSTOM,conversationType:e.conversationType,body:{custom:e.body.custom}};return e.extra&&(t.extra=e.extra),we(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:f.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),we(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:f.MESSAGE_TYPE.FORWARD,conversationType:e.conversationType,body:{message:e.body.message}};return e.extra&&(t.extra=e.extra),we(t)}function Qe(e){if(!he.checkLogged())return S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.message)return S(e,p.PARAMS_ERROR.code,"message 不能为空");var t=e.message;t.type==f.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://")),Me({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){S(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==f.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(A.mark((function t(){var n,a;return A.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(A.mark((function t(){var n;return A.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){Me({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){S(e,p.NORMAL_ERROR.code,t)}})},fail:function(){S(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(){S(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(A.mark((function n(){var a;return A.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(){S(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(){S(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){S(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==f.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 S(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(A.mark((function t(){var n,a;return A.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(){S(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(A.mark((function n(){var a;return A.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(){S(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(){S(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){S(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){S(e,t.code,t.message),h(1,t)}))}function We(e){if(!e.conversationId)return h(1,"conversationId 不能为空");var t=Ue(e.conversationId),n=t.findIndex((function(t){return t.messageId===e.messageId})),r="yeim:messageList:".concat(k(he.userId),":conversationId:").concat(k(e.conversationId));-1===n?(t.length>19&&t.splice(0,t.length-19),t.push(e),De(r,t)):(t[n]=e,De(r,t))}function $e(e){if(!he.checkLogged())return S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.conversationId)return S(e,p.PARAMS_ERROR.code,"conversationId 不能为空");var t=20;if(e.limit&&"number"==typeof e.limit&&(t=e.limit),e.nextMessageId){var n=e.nextMessageId,r=Ue(e.conversationId),o=r.findIndex((function(e){return e.messageId===n}));if(-1===o)Ke(e.conversationId,n,t).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){S(e,t.code,t.message)}));else{var i=r[o];if(t>(r=r.slice(0,o)).length){var a=null;Ke(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){S(e,t.code,t.message)}))}else m(e,p.NORMAL_SUCCESS.describe,{list:r,nextMessageId:r[0].messageId})}}else{var s=Ue(e.conversationId);if(t>s.length){var c=null;s.length>0&&(c=s[0].messageId),Ke(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})),De("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){S(e,t.code,t.message)}))}else m(e,p.NORMAL_SUCCESS.describe,{list:s,nextMessageId:s[0].messageId})}}function Ke(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 Ue(e){var t=Ae("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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"message.messageId 不能为空"):S(e,p.PARAMS_ERROR.code,"message 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"message.messageId 不能为空"):S(e,p.PARAMS_ERROR.code,"message 不能为空"):S(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=Ae("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 S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var t=e.page,n=e.limit,r=Ae("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){De("yeim:conversationList:".concat(k(he.userId)),e),C(f.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=Ae(t),r=(n=n||[]).findIndex((function(t){return t.conversationId===e}));-1!==r&&(n[r].unread=0,De(t,n)),ve(ye.Conversation.clearConversationUnread,"GET",{conversationId:e}).then((function(){})).catch((function(e){h(1,e)})),C(f.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=Ae(n),o=(r=r||[]).findIndex((function(e){return e.conversationId===t}));-1!==o&&(r.splice(o,1),De(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(f.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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"avatarUrl 不能为空"):S(e,p.PARAMS_ERROR.code,"name 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"userId 不能为空"):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function lt(e){if(!he.checkLogged())return S(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){S(e,t.code,t.message),h(1,t)}))}function ut(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 S(e,p.GROUP_APPLY_REPEAT.code,p.GROUP_APPLY_REPEAT.describe);var o=!1;if(-1!=r.indexOf(he.userId)&&(o=!0),!o)return S(e,p.GROUP_APPLY_ERROR.code,p.GROUP_APPLY_ERROR.describe);if(n.joinMode==f.GROUP.JOINMODE.FREE)m(e,p.NORMAL_SUCCESS.code,"成功加入群组");else{if(n.joinMode!=f.GROUP.JOINMODE.CHECK)return S(e,p.NORMAL_ERROR.code,p.NORMAL_ERROR.describe);m(e,p.GROUP_APPLY_WAIT.code,p.GROUP_APPLY_WAIT.describe)}})).catch((function(t){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function dt(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ft(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"members 不能为空"):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"members 不能为空"):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"status 不能为空"):S(e,p.PARAMS_ERROR.code,"id 不能为空"):S(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){S(e,t.code,t.message),h(1,t)}))):S(e,p.PARAMS_ERROR.code,"userId 不能为空"):S(e,p.PARAMS_ERROR.code,"groupId 不能为空"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function St(e){if(!he.checkLogged())return S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.userId)return S(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=Ae(t);(r=r||[]).push(n),De(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){S(e,t.code,t.message),log(1,t)}));else{var n=Ae(t),r=(n=n||[]).findIndex((function(t){return t.userId===e.userId}));-1!==r?(m(e,p.NORMAL_SUCCESS.describe,n[r]),ve(ye.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(e){var n=Ae(t);(n=n||[])[r]=e,De(t,n)})).catch((function(t){S(e,t.code,t.message),log(1,t)}))):ve(ye.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(n){var r=Ae(t);(r=r||[]).push(n),De(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){S(e,t.code,t.message),log(1,t)}))}}function bt(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){S(e,t.code,t.message),log(1,t)})):S(e,p.PARAMS_ERROR.code,"请至少选择一个属性进行更新"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function xt(e){if(!he.checkLogged())return S(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){S(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){S(e,t.code,t.message),log(1,t)})):S(e,p.PARAMS_ERROR.code,"members 不能为空"):S(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){S(e,t.code,t.message),log(1,t)})):S(e,p.PARAMS_ERROR.code,"members 不能为空"):S(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){S(e,t.code,t.message),h(1,t)}));else{var o=Ae(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){De("yeim:friendList:".concat(k(he.userId)),e.data),C(f.EVENT.FRIEND_LIST_CHANGED,e)},fail:function(){C(f.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));De(o,n),De(i,r),C(f.EVENT.FRIEND_APPLY_LIST_CHANGED,e)},fail:function(){C(f.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){S(e,t.code,t.message),h(1,t)}));else{var i=Ae(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:Ae(n)?Ae(n):0})}}function Zt(e){ve(ye.Friend.setRead,"GET",{}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){S(e,t.code,t.message),h(1,t)}))}function Mt(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"id 不能为空"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function wt(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"id 不能为空"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function At(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):(S(e,t.code,t.message),h(1,t))})):S(e,p.PARAMS_ERROR.code,"userId 不能为空"):S(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Dt(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"members 不能为空"):S(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){S(e,t.code,t.message),h(1,t)})):S(e,p.PARAMS_ERROR.code,"请至少传入一个参数更新"):S(e,p.PARAMS_ERROR.code,"userId 不能为空"):S(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 Et=function(){function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(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 d(n,[{key:"connect",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!n.userId||!n.token)return S(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,"连接服务端失败,请检查配置"),S(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(),Se(),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,l=plus.ios.invoke("UIApplication","sharedApplication"),u=plus.ios.invoke(l,"currentUserNotificationSettings");u?(c=u.plusGetAttribute("types"),plus.ios.deleteObject(u)):c=plus.ios.invoke(l,"enabledRemoteNotificationTypes"),plus.ios.deleteObject(l),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"),l=plus.android.importClass("android.app.Notification");if(s&&a.deleteNotificationChannel(s),!s||null==s||"null"==s||null==s){var u=new c(n,"聊天离线通知",i.IMPORTANCE_HIGH);u.setDescription("用于用户离线时推送消息通知"),u.enableVibration(!0),u.enableLights(!0),u.setBypassDnd(!0),u.setLockscreenVisibility(l.VISIBILITY_SECRET),a.createNotificationChannel(u)}}}(),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 S(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(f.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(f.EVENT.NET_CHANGED,"connected")}},{key:"socketClose",value:function(e){h(1,"WebSocket断开连接"),this.socketLogged=!1,this.webSocket.close(),this.webSocket.destroy(),C(f.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(f.EVENT.MESSAGE_RECEIVED,t)}else 203==e.code?function(e){var t=Ae("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=Ae(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))}De(t,n),C(f.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=Ae(t)?Ae(t):[],r=(n=n||[]).findIndex((function(t){return t.messageId===e.messageId}));-1!==r&&(n[r]=e,De(t,n)),C(f.EVENT.MESSAGE_REVOKED,e)}(e.data):208==e.code?setTimeout((function(){Pt()}),500):209==e.code?setTimeout((function(){Yt()}),500):210==e.code?(C(f.EVENT.FRIEND_APPLY_REFUSE,e.data),setTimeout((function(){Yt(1)}),500)):10009==e.code&&(this.allowReconnect=!1,this.clearHeartTimer(),this.webSocket.close(),C(f.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=Ee,n.prototype.createAudioMessage=Je,n.prototype.createAudioMessageFromUrl=He,n.prototype.createVideoMessage=Be,n.prototype.createVideoMessageFromUrl=ke,n.prototype.createLocationMessage=Ne,n.prototype.createCustomMessage=Fe,n.prototype.createMergerMessage=Ie,n.prototype.createForwardMessage=Ge,n.prototype.upload=Ze,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=St,n.prototype.updateUserInfo=bt,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=lt,n.prototype.joinGroup=ut,n.prototype.leaveGroup=dt,n.prototype.addGroupUsers=ft,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=Zt,n.prototype.acceptApply=Mt,n.prototype.refuseApply=wt,n.prototype.addFriend=At,n.prototype.deleteFriend=Dt,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=Et}).call(this,n(2)["default"],n(3))},433: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},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})}},441: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.startAngle0&&r.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();t.preventDefault(e);var i=r.y-t.lastPoint.y;t.downHight0?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>2]|=e[s]<>6,u[i++]=128|63&o):o<55296||o>=57344?(u[i++]=224|o>>12,u[i++]=128|o>>6&63,u[i++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++s)),u[i++]=240|o>>18,u[i++]=128|o>>12&63,u[i++]=128|o>>6&63,u[i++]=128|63&o);else for(i=this.start;s>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(l[i>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=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))},475:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={options:{virtualHost:!0}};t.default=r},476: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=f(n(477)),s=f(n(478)),c=r(n(481)),l=r(n(482)),u=r(n(483));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=d(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;t0&&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"])},477: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=S,t.error=b,t.formValidate=A,t.getDuration=M,t.getHistoryPage=E,t.getProperty=D,t.getPx=l,t.guid=h,t.os=d,t.padZero=w,t.page=X,t.pages=R,t.priceFormat=Z,t.queryParams=P,t.random=p,t.randomArray=x,t.range=c,t.setConfig=N,t.setProperty=O,t.sleep=u,t.sys=f,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(478),s=n(479);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 l(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 u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))}function d(){return e.getSystemInfoSync().platform.toLowerCase()}function f(){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;i0&&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;o0&&void 0!==arguments[0]?arguments[0]:"auto",l=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(l):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);r0&&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]=S(a,o):n[r]=o}return n}function b(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 l="y"===i&&2===c.length?2:0;n=n.replace(c,r[i].slice(l))}}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;i1&&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 Z(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,l="";l=(i?(0,s.round)(o,i)+"":"".concat(Math.round(o))).split(".");var u=/(-?\d+)(\d{3})/;while(u.test(l[0]))l[0]=l[0].replace(u,"$1".concat(a,"$2"));return(l[1]||"").length1&&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 w(e){return"00".concat(e).slice(-2)}function A(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 D(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;o1){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 E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=getCurrentPages(),n=t.length;return t[n-1+e]}function N(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,l=void 0===c?{}:c,u=e.$uv.deepMerge;e.$uv.config=u(e.$uv.config,i),e.$uv.props=u(e.$uv.props,r),e.$uv.color=u(e.$uv.color,s),e.$uv.zIndex=u(e.$uv.zIndex,l)}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"])},478: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=S,t.date=c,t.dateISO=l,t.digits=f,t.email=i,t.empty=_,t.enOrNum=m,t.func=Z,t.idCard=p,t.image=w,t.jsonString=L,t.landline=C,t.letter=g,t.mobile=a,t.number=u,t.object=Y,t.promise=M,t.range=b,t.rangeLength=x,t.regExp=D,t.string=d,t.url=s,t.video=A;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&&(u(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))}function l(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)}function u(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function d(e){return"string"===typeof e}function f(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 S(e,t){return e.indexOf(t)>=0}function b(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 Z(e){return"function"===typeof e}function M(e){return Y(e)&&Z(e.then)&&Z(e.catch)}function w(e){var t=e.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;return n.test(t)}function A(e){var t=/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;return t.test(e)}function D(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)}},479: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=f,t.round=y,t.times=d;var o=r(n(480)),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 l(e){i&&(e>Number.MAX_SAFE_INTEGER||e2)return u(t,d);var r=t[0],o=t[1],i=c(r),a=c(o),f=s(r)+s(o),p=i*a;return l(p),p/Math.pow(10,f)}function f(){for(var e=arguments.length,t=new Array(e),n=0;n2)return u(t,f);var r=t[0],o=t[1],i=Math.pow(10,Math.max(s(r),s(o)));return(d(r,i)+d(o,i))/i}function p(){for(var e=arguments.length,t=new Array(e),n=0;n2)return u(t,p);var r=t[0],o=t[1],i=Math.pow(10,Math.max(s(r),s(o)));return(d(r,i)-d(o,i))/i}function h(){for(var e=arguments.length,t=new Array(e),n=0;n2)return u(t,h);var r=t[0],o=t[1],i=c(r),f=c(o);return l(i),l(f),d(i/f,a(Math.pow(10,s(o)-s(r))))}function y(e,t){var n=Math.pow(10,t),r=h(Math.round(Math.abs(d(e,n))),n);return e<0&&0!==r&&(r=d(r,-1)),r}function v(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];i=e}var g={times:d,plus:f,minus:p,divide:h,round:y,enableBoundaryChecking:v};t.default=g},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={}},480: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},481: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(477),l=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}(),u=(new l).route;t.default=u}).call(this,n(2)["default"])},482: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},483: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},484: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=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=-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=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=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))},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,{})},513:function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.formatDate=c,t.friendlyDate=l;var o=r(n(13));function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e+="";while(e.length-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 l(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,l=void 0===a?"yyyy/MM/dd hh:mm:ss":a;if("-"===e)return e;if(!e&&0!==e)return"";var u,d,f={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=f[r]||f.zh,h=s(e),y=h.getTime()-Date.now(),v=Math.abs(y);if(v=i[1])return c(h,l);var g=p.later;y<0&&(g=p.ago,y=-y);var m=Math.floor(y/1e3),S=Math.floor(m/60),b=Math.floor(S/60),x=Math.floor(b/24),C=Math.floor(x/30),_=Math.floor(C/12);switch(!0){case _>0:u=_,d=p.year;break;case C>0:u=C,d=p.month;break;case x>0:u=x,d=p.day;break;case b>0:u=b,d=p.hour;break;case S>0:u=S,d=p.minute;break;default:u=m,d=p.second;break}return"en"===r&&(1===u?u="a":d+="s"),p.template.replace(/{\s*num\s*}/g,u+"").replace(/{\s*unit\s*}/g,d).replace(/{\s*suffix\s*}/g,g)}},519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={firstletter:"YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYFZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSC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LFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",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},541: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(542)),a=r(n(543)),s=r(n(545)),c=r(n(170)),l=r(n(23)),u=r(n(24)),d=r(n(13));function f(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,d.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}},S=function(){function e(t){(0,l.default)(this,e),this._message=t}return(0,u.default)(e,[{key:"validateRule",value:function(){var e=(0,c.default)(o.default.mark((function e(t,n,r,i,a){var s,c,l,u,d,f,p,h,y;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=null,c=n.rules,l=c.findIndex((function(e){return e.required})),!(l<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(u=this._message,void 0!==c){e.next=11;break}return e.abrupt("return",u["default"]);case 11:d=0;case 12:if(!(d-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=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&&io?v(e,e.errorMessage||n["length"].maxLength):void 0!==r&&void 0!==o&&(io)?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;r1){var n=t.reduce((function(e,t){return e+"#".concat(t)}),"_formdata_");return n}return t[0]||e};t.realName=d;var f=function(e){var t=/^_formdata_#*/;return t.test(e)};t.isRealName=f;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 S=function(e){return"boolean"===typeof e};t.isBoolean=S;var b=function(e){for(var t=!1,n=0;n0&&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],l=o(t,!1),u=l[0],d=l[1],f=l[2],p=(u-a)/n,h=(d-s)/n,y=(f-c)/n,v=[],g=0;g1&&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;i2&&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"])},769:function(e,t,n){"use strict";function r(e,t){return e.reduce((function(e,n){return Math.abs(e-t)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)(""),l=(0,r.ref)(!0),u=function(){return"vertical"===c.value},d=function(){return"horizontal"===c.value},f=function(){n.value=0,i.value=0,a.value=0,s.value=0,c.value="",l.value=!0},p=function(n){f(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},h=function(r){var u=r.touches[0];n.value=(u.clientX<0?0:u.clientX)-e.value,i.value=u.clientY-t.value,a.value=Math.abs(n.value),s.value=Math.abs(i.value);var d=10,f=5;(""==c.value||a.valuef||s.value>f)&&(l.value=!1)};return{start:p,move:h,startX:e,startY:t,deltaX:n,deltaY:i,offsetX:a,offsetY:s,direction:c,isVertical:u,isHorizontal:d,isTap:l}}},771:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNumber=o,t.format=i;var r=n(772);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)}},772: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},787: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;t0&&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}(),u=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"],d=["opacity","backgroundColor"],f=["width","height","left","right","top","bottom"];function p(e,t){if(t)return clearTimeout(t.timer),new l(e,t)}u.concat(d,f).forEach((function(e){l.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n(2)["default"])},823: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},838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(478),o=n(477),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;r0&&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}(),u=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"],d=["opacity","backgroundColor"],f=["width","height","left","right","top","bottom"];function p(e,t){if(t)return clearTimeout(t.timer),new l(e,t)}u.concat(d,f).forEach((function(e){l.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n(2)["default"])},860: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;re.end.x||t.end.xe.start.y||t.start.y1&&(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<=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,l=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 u=e.length-1;c=e[u].x-(e[u].x-e[u-1].x)*i,l=e[u].y-(e[u].y-e[u-1].y)*i}else c=e[t+1].x-(e[t+2].x-e[t].x)*i,l=e[t+1].y-(e[t+2].y-e[t].y)*i;return n(e,t+1)&&(l=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),(l>=Math.max(e[t].y,e[t+1].y)||l<=Math.min(e[t].y,e[t+1].y))&&(l=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:l}}}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=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:u(e,"lower",n),maxRange:u(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-1;if(i)for(var a=A(e),s=0;s5&&void 0!==arguments[5]?arguments[5]:{},a=t.chartData.calPoints?t.chartData.calPoints:[],s={};if(r.length>0){for(var c=[],l=0;l0&&(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}})),f={x:Math.round(s.x),y:Math.round(s.y)};return{textList:d,offset:f}}function M(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 w(e,t,n,r,o,i){var a=n.chartData.calPoints,s=i.color.upFill,c=i.color.downFill,l=[s,s,c,s],u=[];t.map((function(t){0==r?t.data[1]-t.data[0]<0?l[1]=c:l[1]=s:(t.data[0]e[r-1][1]&&(l[2]=s),t.data[3]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;ct&&(i.index=n)}));else{for(var l=Array(t.length),u=0;u4&&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&&E(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;sd[0]-o&&e.xd[1]-o&&e.yt.start.x&&e.xt.start.y&&e.y=t.area[3]-10&&e.y>=t.area[0]&&e.y<=t.height-t.area[2]}function N(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&&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;ri.funnelArea[0]&&e.xi.funnelArea[1]&&e.yi.area[0]&&e.xi.area[1]&&e.yt.width-t.area[1]-t.area[3]?(f.push(y),h.push(p-t.legend.itemGap*t.pix),p=S,y=[g]):(p+=S,y.push(g))}if(y.length){f.push(y),h.push(p-t.legend.itemGap*t.pix),i.widthArr=h;var b=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]+b+2*a;break;case"right":i.area.start.x=t.width-t.area[1]-b-2*a,i.area.end.x=t.width-t.area[1];break;default:i.area.start.x=(t.width-b)/2-a,i.area.end.x=(t.width+b)/2+a}i.area.width=b+2*a,i.area.wholeWidth=b+2*a,i.area.height=f.length*d+2*a,i.area.wholeHeight=f.length*d+2*a+2*s,i.points=f}}else{var C=e.length,_=t.height-t.area[0]-t.area[2]-2*s-2*a,L=Math.min(Math.floor(_/d),C);switch(i.area.height=L*d+2*a,i.area.wholeHeight=L*d+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;TA&&(A=O)}i.widthArr.push(A),i.heightArr.push(w.length*d+2*a)}for(var X=0,R=0;R4&&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,l=0;if(s.length>0&&(c=Math.min.apply(this,s),l=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&&(l=Math.max(t.xAxis.data[a].max,l))):("number"===typeof t.xAxis.min&&(c=Math.min(t.xAxis.min,c)),"number"===typeof t.xAxis.max&&(l=Math.max(t.xAxis.max,l))),c===l){var u=l||10;l+=u}for(var d=c,f=l,p=[],h=(f-d)/t.xAxis.splitNumber,y=0;y<=t.xAxis.splitNumber;y++)p.push(d+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,le(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 K(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=[],l=function(o){var a=r[o],l={};l.color=a.color,l.legendShape=a.legendShape,l.pointShape=a.pointShape,l.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),l.data.push(a)})),c.push(l)},u=0;u2&&void 0!==arguments[2]?arguments[2]:1,r=0,o=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0,a=0,s=[],c=0;c2&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var r=0;r=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=2&&(o._proportion_=o._proportion_%2)}return e}function te(e,t,n){var r;r=n=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=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=U(e);for(var o=0,i=0;i0&&(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 le(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],l=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(l)),{xAxisPoints:s,startX:c,endX:l,eachSpacing:a}}function ue(e,t,n,r,o,i,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=i.height-i.area[0]-i.area[2];return e.forEach((function(e,a){if(null===e)c.push(null);else{var u=[];e.forEach((function(e,c){var d={};d.x=r[a]+Math.round(o/2);var f=e.value||e,p=l*(f-t)/(n-t);p*=s,d.y=i.height-Math.round(p)-i.area[2],u.push(d)})),c.push(u)}})),c}function de(e,t,n,r,o,a,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=a.type&&"area"!=a.type&&"scatter"!=a.type&&"bubble"!=a.type||(l=a.xAxis.boundaryGap);var u=[],d=a.height-a.area[0]-a.area[2],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,s){if(null===e)u.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]+f*(e[0]-y)/(v-y),"bubble"==a.type&&(p.r=e[2],p.t=e[3]);else g=e.value;"center"==l&&(p.x+=o/2);var m=d*(g-t)/(n-t);m*=c,p.y=a.height-m-a.area[2],u.push(p)}})),u}function fe(e,t,n,r,o,a,s,c,l){l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var u=a.xAxis.boundaryGap,d=[],f=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)d.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"==u&&(h.x+=o/2);var S=f*(m-t)/(n-t);S*=l,h.y=a.height-S-a.area[2],d.push(h)}else{h.x=r[0]+o*s*l;m=e;"center"==u&&(h.x+=o/2);S=f*(m-t)/(n-t);h.y=a.height-S-a.area[2],d.push(h)}}})),d}function pe(e,t,n,r,o,a,s,c,l){l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var u=[],d=a.height-a.area[0]-a.area[2],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,s){if(null===e)u.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]+f*(e[0]-h)/(y-h);else v=e.value;c.x+=o/2;var g=d*(v*l-t)/(n-t);c.y=a.height-g-a.area[2],u.push(c)}})),u}function he(e,t,n,r,o,i,a,s){var c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,l=[],u=i.height-i.area[0]-i.area[2],d=(i.width,i.area[1],i.area[3],o*a.widthRatio);return e.forEach((function(e,a){if(null===e)l.push(null);else{var s={};s.color=e.color,s.x=r[a],s.x+=o/2;var f=e.data,p=u*(f*c-t)/(n-t);s.y=i.height-p-i.area[2],s.value=f,s.width=d,l.push(s)}})),l}function ye(e,t,n,r,o,a,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],u=(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)l.push(null);else{var s={};s.color=e.color,s.y=r[o];var d=e;"object"===(0,i.default)(e)&&null!==e&&(d=e.value);var f=u*(d-t)/(n-t);f*=c,s.height=f,s.value=d,s.x=f+a.area[3],l.push(s)}})),l}function ve(e,t,n,r,o,a,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,d=[],f=a.height-a.area[0]-a.area[2];return e.forEach((function(e,s){if(null===e)d.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+=l[y].data[s];var v=h-e,g=f*(h-t)/(n-t),m=f*(v-t)/(n-t)}else{h=e;"object"===(0,i.default)(e)&&null!==e&&(h=e.value);g=f*(h-t)/(n-t),m=0}var S=m;g*=u,S*=u,p.y=a.height-Math.round(g)-a.area[2],p.y0=a.height-Math.round(S)-a.area[2],d.push(p)}})),d}function ge(e,t,n,r,o,a,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,d=[],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)d.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+=l[h].data[o];var y=p-e,v=f*(p-t)/(n-t),g=f*(y-t)/(n-t)}else{p=e;"object"===(0,i.default)(e)&&null!==e&&(p=e.value);v=f*(p-t)/(n-t),g=0}var m=g;v*=u,m*=u,s.height=v-m,s.x=a.area[3]+v,s.x0=a.area[3]+m,d.push(s)}})),d}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,l=o.max||0;s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),c===l&&(0==l?l=10:c=0);for(var u=b(c,l),d=void 0===o.min||null===o.min?u.minRange:o.min,f=void 0===o.max||null===o.max?u.maxRange:o.max,p=(f-d)/t.yAxis.splitNumber,h=[],y=0;y<=t.yAxis.splitNumber;y++)h.push(d+p*y);return h.reverse()}function Se(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 l=0;l0&&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,l=e.subtitle.color||e.fontColor,u=a?o:0,d=s?i:0,f=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+=(u*e.pix+f)/2),n.beginPath(),n.setFontSize(i*e.pix),n.setFillStyle(l),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-=(d*e.pix+f)/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 l=t.textSize?t.textSize*o.pix:n.fontSize;r.setFontSize(l),r.setFillStyle(t.textColor||o.fontColor);var u=a[c];"object"===(0,i.default)(a[c])&&null!==a[c]&&(u=a[c].constructor.toString().indexOf("Array")>-1?a[c][1]:a[c].value);var d=t.formatter?t.formatter(u,c,t,o):u;r.setTextAlign("center"),r.fillText(String(d),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,l){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 d=a[l];"object"===(0,i.default)(a[l])&&null!==a[l]&&(d=a[l].constructor.toString().indexOf("Array")>-1?a[l][1]:a[l].value);var f=t.formatter?t.formatter(d,l,t,o):d;r.setTextAlign("center");var p=e.y-4*o.pix+s*o.pix;e.y>t.zeroPoints&&(p=e.y+s*o.pix+u),"insideTop"==c&&(p=e.y+u+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+u)/2,t.zeroPointst.zeroPoints&&(p=e.y-s*o.pix-(e.y-t.zeroPoints-u)/2),"stack"==o.extra.column.type&&(p=e.y+s*o.pix+(e.y0-e.y+u)/2)),"bottom"==c&&(p=o.height-o.area[2]+s*o.pix-4*o.pix,t.zeroPointst.zeroPoints&&(p=t.zeroPoints-s*o.pix+u+2*o.pix),"stack"==o.extra.column.type&&(p=e.y0+s*o.pix-4*o.pix)),r.fillText(String(f),e.x,p),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function Ze(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 l=e.value,u=t[s].formatter?t[s].formatter(l,s,t,o):l;r.setTextAlign("center");var d=e.y-4*o.pix+a*o.pix;e.y>i&&(d=e.y+a*o.pix+c),r.fillText(String(u),e.x,d),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function Me(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 l=a[s];"object"===(0,i.default)(a[s])&&null!==a[s]&&(l=a[s].value);var u=t.formatter?t.formatter(l,s,t,o):l;r.setTextAlign("left"),r.fillText(String(u),e.x+4*o.pix,e.y+c/2-3),r.closePath(),r.stroke()}}))}function we(e,t,n,r,o,i){var a;t-=e.width/2+e.labelOffset*r.pix,t=t<10?10:t,a=e.endAngle=2&&(u%=2),d+=l}}function Ae(e,t,n,r,o,i){var a=r.extra.radar||{};e.forEach((function(e,s){if(!0===a.labelPointShow&&""!==r.categories[s]){var l={x:t*Math.cos(e),y:t*Math.sin(e)},u=y(l.x,l.y,n);i.setFillStyle(a.labelPointColor),i.beginPath(),i.arc(u.x,u.y,a.labelPointRadius*r.pix,0,2*Math.PI,!1),i.closePath(),i.fill()}if(!0===a.labelShow){var d={x:(t+o.radarLabelTextMargin*r.pix)*Math.cos(e),y:(t+o.radarLabelTextMargin*r.pix)*Math.sin(e)},f=y(d.x,d.y,n),p=f.x,h=f.y;c.approximatelyEqual(d.x,0)?p-=x(r.categories[s]||"",o.fontSize,i)/2:d.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 De(e,t,n,r,o,i){for(var a=n.pieChartLinePadding,s=[],l=null,u=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}})),d=0;d=0?p+n.pieChartTextPadding:p-n.pieChartTextPadding,b=h,C=x(f.text,f.textSize*t.pix||n.fontSize,r),_=b;l&&c.isSameXCoordinateArea(l.start,{x:S})&&(_=S>0?Math.min(b,l.start.y):p<0||b>0?Math.max(b,l.start.y):Math.min(b,l.start.y)),S<0&&(S-=C);var L={lineStart:{x:g,y:m},lineEnd:{x:p,y:h},start:{x:S,y:_},width:C,height:n.fontSize,text:f.text,color:f.color,textColor:f.textColor,textSize:f.textSize};l=v(L,l),s.push(l)}for(var P=0;Po?o:i.activeWidth;var a=t.area[0],c=t.height-t.area[2];r.beginPath(),r.setFillStyle(l(i.activeBgColor,i.activeBgOpacity)),r.rect(e-i.activeWidth/2,a,i.activeWidth,c-a),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function Ne(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(l(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 u=c.fontSize*n.pix,d=c.lineHeight*n.pix,f=c.boxPadding*n.pix,p=u,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,u,o)})),m=p+h+4*f+Math.max.apply(null,g),S=2*f+e.length*d;if(0!=c.showBox){t.x-Math.abs(n._scrollDistance_||0)+y+m>n.width&&(v=!0),S+t.y>n.height&&(t.y=n.height-S),o.beginPath(),o.setFillStyle(l(c.bgColor,c.bgOpacity)),o.setLineWidth(c.borderWidth*n.pix),o.setStrokeStyle(l(c.borderColor,c.borderOpacity));var b=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-b,t.y+S-b,b,0,Math.PI/2,!1),o.arc(t.x-y-Math.round(m)+b,t.y+S-b,b,Math.PI/2,Math.PI,!1),o.arc(t.x-y-Math.round(m)+b,t.y+b,b,-Math.PI,-Math.PI/2,!1),o.arc(t.x-y-b,t.y+b,b,-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+b,t.y+b,b,-Math.PI,-Math.PI/2,!1),o.arc(t.x+y+Math.round(m)-b,t.y+b,b,-Math.PI/2,0,!1),o.arc(t.x+y+Math.round(m)-b,t.y+S-b,b,0,Math.PI/2,!1),o.arc(t.x+y+b,t.y+S-b,b,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*f,a=t.y+(d-u)/2+d*r+f+1;switch(v&&(i=t.x-m-y+2*f),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*f+p+h;v&&(r=t.x-m-y+2*f+p+h);var i=t.y+d*n+(d-u)/2-1+f+u;o.beginPath(),o.setFontSize(u),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,u=a.eachSpacing,d=s({},{type:"group",width:u/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},t.extra.column),f=[];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_/u)-2,h=p+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&Ee(t.tooltip.offset.x,t,n,r,u),d.customColor=S(d.linearType,d.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],S=m*(0-v)/(g-v),b=t.height-Math.round(S)-t.area[2];a.zeroPoints=b;var x=a.data;switch(d.type){case"group":var C=pe(x,v,g,c,u,t,n,b,i),_=ve(x,v,g,c,u,t,n,s,e,i);f.push(_),C=oe(C,u,e.length,s,n,t);for(var L=0;Lp&&Lb?b:P.y,O=P.width,X=Math.abs(b-P.y);d.barBorderCircle&&(d.barBorderRadius=[O/2,O/2,0,0]),P.y>b&&(d.barBorderRadius=[0,0,O/2,O/2]);var R=(0,o.default)(d.barBorderRadius,4),E=R[0],N=R[1],J=R[2],H=R[3],B=Math.min(O/2,X/2);E=E>B?B:E,N=N>B?B:N,J=J>B?B:J,H=H>B?B:H,E=E<0?0:E,N=N<0?0:N,J=J<0?0:J,H=H<0?0:H,r.arc(A+E,D+E,E,-Math.PI,-Math.PI/2),r.arc(A+O-N,D+N,N,-Math.PI/2,0),r.arc(A+O-J,D+X-J,J,0,Math.PI/2),r.arc(A+H,D+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,b),r.lineTo(Y,b),r.lineTo(Y,P.y),r.setLineWidth(1),r.setStrokeStyle(M);r.setFillStyle(Z),r.closePath(),r.fill()}}break;case"stack":C=ve(x,v,g,c,u,t,n,s,e,i);f.push(C),C=se(C,u,e.length,s,n,t,e);for(var k=0;kp&&k0&&(T-=I),r.setFillStyle(Z),r.moveTo(Y,F.y),r.fillRect(Y,F.y,F.width,T),r.closePath(),r.fill()}}break;case"meter":C=de(x,v,g,c,u,t,n,i);f.push(C),C=ae(C,u,e.length,s,n,t,d.meterBorder);for(var G=0;Gp&&G0&&(r.setStrokeStyle(a.color),r.setLineWidth(d.meterBorder*t.pix)),0==s?r.setFillStyle(d.meterFillColor):r.setFillStyle(Q.color||a.color);Y=Q.x-Q.width/2,T=t.height-Q.y-t.area[2];if(d.barBorderRadius&&4===d.barBorderRadius.length||!0===d.barBorderCircle){var j=Y,W=Q.y,$=Q.width,K=b-Q.y;d.barBorderCircle&&(d.barBorderRadius=[$/2,$/2,0,0]);var U=(0,o.default)(d.barBorderRadius,4),z=U[0],V=U[1],q=U[2],ee=U[3],te=Math.min($/2,K/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+K-q,q,0,Math.PI/2),r.arc(j+ee,W+K-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,b),r.lineTo(Y,b),r.lineTo(Y,Q.y),r.fill();0==s&&d.meterBorder>0&&(r.closePath(),r.stroke())}}break}})),!1!==t.dataLabel&&1===i&&e.forEach((function(o,a){var s,l,f;s=[].concat(t.chartData.yAxisData.ranges[o.index]),l=s.pop(),f=s.shift();var p=o.data;switch(d.type){case"group":var h=pe(p,l,f,c,u,t,n,i);h=oe(h,u,e.length,a,n,t),Te(h,o,n,r,t);break;case"stack":h=ve(p,l,f,c,u,t,n,a,e,i);Te(h,o,n,r,t);break;case"meter":h=de(p,l,f,c,u,t,n,i);Te(h,o,n,r,t);break}})),r.restore(),{xAxisPoints:c,calPoints:f,eachSpacing:u}}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,u=a.eachSpacing,d=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mount);d.widthRatio=d.widthRatio<=0?0:d.widthRatio,d.widthRatio=d.widthRatio>=2?2:d.widthRatio;r.save();var f,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_/u)-2,v=y+t.xAxis.itemCount+4),d.customColor=S(d.linearType,d.customColor,e,n),f=[].concat(t.chartData.yAxisData.ranges[0]),p=f.pop(),h=f.shift();var g=t.height-t.area[0]-t.area[2],m=g*(0-p)/(h-p),b=t.height-Math.round(m)-t.area[2],x=he(e,p,h,c,u,t,d,b,i);switch(d.type){case"bar":for(var C=0;Cy&&Cb?b:_.y,A=_.width,D=Math.abs(b-_.y);d.barBorderCircle&&(d.barBorderRadius=[A/2,A/2,0,0]),_.y>b&&(d.barBorderRadius=[0,0,A/2,A/2]);var O=(0,o.default)(d.barBorderRadius,4),X=O[0],R=O[1],E=O[2],N=O[3],J=Math.min(A/2,D/2);X=X>J?J:X,R=R>J?J:R,E=E>J?J:E,N=N>J?J:N,X=X<0?0:X,R=R<0?0:R,E=E<0?0:E,N=N<0?0:N,r.arc(M+X,w+X,X,-Math.PI,-Math.PI/2),r.arc(M+A-R,w+R,R,-Math.PI/2,0),r.arc(M+A-E,w+D-E,E,0,Math.PI/2),r.arc(M+N,w+D-N,N,Math.PI/2,Math.PI)}else r.moveTo(L,_.y),r.lineTo(L+_.width,_.y),r.lineTo(L+_.width,b),r.lineTo(L,b),r.lineTo(L,_.y);r.setStrokeStyle(T),r.setFillStyle(Y),d.borderWidth>0&&(r.setLineWidth(d.borderWidth*t.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(var H=0;Hy&&H0&&(r.setLineWidth(d.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"mount":for(var k=0;ky&&k0&&(r.setLineWidth(d.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"sharp":for(var I=0;Iy&&I0&&(r.setLineWidth(d.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,u,t,d,b,i);Ze(x,e,n,r,t,b)}return r.restore(),{xAxisPoints:c,calPoints:x,eachSpacing:u}}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,u=0;up&&xN?N:O,X=X>N?N:X,R=R>N?N:R,E=E>N?N:E,O=O<0?0:O,X=X<0?0:X,R=R<0?0:R,E=E<0?0:E,r.arc(Z+E,w+E,E,-Math.PI,-Math.PI/2),r.arc(C.x-O,w+O,O,-Math.PI/2,0),r.arc(C.x-X,w+M-X,X,0,Math.PI/2),r.arc(Z+R,w+M-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":S=ge(m,v,g,a,c,t,n,u,e,i);f.push(S),S=ce(S,c,e.length,u,n,t,e);for(var J=0;Jp&&J5&&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,l=c.xAxisPoints,u=c.eachSpacing,d=[];o.save();var f=-2,p=l.length+2,y=0,v=n.width+u;return n._scrollDistance_&&0!==n._scrollDistance_&&!0===n.enableScroll&&(o.translate(n._scrollDistance_,0),f=Math.floor(-n._scrollDistance_/u)-2,p=f+n.xAxis.itemCount+4,y=-n._scrollDistance_-2*u+n.area[3],v=y+(n.xAxis.itemCount+4)*u),(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 d=e.data,f=de(d,s,c,l,u,n,r,i),p=G(f,e),g=0;gy&&(o.moveTo(x.x,x.y),S=1),b>0&&x.x>y&&x.xf&&m0?(o.setStrokeStyle(a.color.upLine),o.setFillStyle(a.color.upFill),o.setLineWidth(1*n.pix),o.moveTo(S[3].x,S[3].y),o.lineTo(S[1].x,S[1].y),o.lineTo(S[1].x-u/4,S[1].y),o.lineTo(S[0].x-u/4,S[0].y),o.lineTo(S[0].x,S[0].y),o.lineTo(S[2].x,S[2].y),o.lineTo(S[0].x,S[0].y),o.lineTo(S[0].x+u/4,S[0].y),o.lineTo(S[1].x+u/4,S[1].y),o.lineTo(S[1].x,S[1].y),o.moveTo(S[3].x,S[3].y)):(o.setStrokeStyle(a.color.downLine),o.setFillStyle(a.color.downFill),o.setLineWidth(1*n.pix),o.moveTo(S[3].x,S[3].y),o.lineTo(S[0].x,S[0].y),o.lineTo(S[0].x-u/4,S[0].y),o.lineTo(S[1].x-u/4,S[1].y),o.lineTo(S[1].x,S[1].y),o.lineTo(S[2].x,S[2].y),o.lineTo(S[1].x,S[1].y),o.lineTo(S[1].x+u/4,S[1].y),o.lineTo(S[0].x+u/4,S[0].y),o.lineTo(S[0].x,S[0].y),o.moveTo(S[3].x,S[3].y)),o.closePath(),o.fill(),o.stroke()}})),o.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:u}}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,u=a.eachSpacing,d=t.height-t.area[2],f=[];r.save();var p=0,y=t.width+u;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),p=-t._scrollDistance_-2*u+t.area[3],y=p+(t.xAxis.itemCount+4)*u),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,S=de(m,v,g,c,u,t,n,o);f.push(S);for(var b=G(S,e),x=0;x1){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;Tp&&(r.moveTo(Z.x,Z.y),Y=1),T>0&&Z.x>p&&Z.xp&&(r.moveTo(A.x,A.y),Y=1),w>0&&A.x>p&&A.xp&&(r.moveTo(O.x,O.y),Y=1),D>0&&O.x>p&&O.xp&&(r.moveTo(J.x,J.y),E=1),N>0&&J.x>p&&J.xp&&(r.moveTo(k.x,k.y),E=1),B>0&&k.x>p&&k.xp&&(r.moveTo(I.x,I.y),E=1),F>0&&I.x>p&&I.x4&&void 0!==arguments[4]?arguments[4]:1,i=(s({},{type:"circle"},t.extra.scatter),t.chartData.xAxisData),a=i.xAxisPoints,c=i.eachSpacing,l=[];r.save();var u=0;t.width;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),u=-t._scrollDistance_-2*c+t.area[3],u+(t.xAxis.itemCount+4)*c),e.forEach((function(e,i){var s,l,u;s=[].concat(t.chartData.yAxisData.ranges[e.index]),l=s.pop(),u=s.shift();var d=e.data,f=de(d,l,u,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)f.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)f.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)f.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)f.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,l,u;s=[].concat(t.chartData.yAxisData.ranges[e.index]),l=s.pop(),u=s.shift();var d=e.data,f=de(d,l,u,a,c,t,n,o);Ye(f,e,n,r,t)})),r.restore(),{xAxisPoints:a,calPoints:l,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,u=a.eachSpacing,d=[];r.save();var f=0;t.width;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),f=-t._scrollDistance_-2*u+t.area[3],f+(t.xAxis.itemCount+4)*u),e.forEach((function(e,a){var s,d,f;s=[].concat(t.chartData.yAxisData.ranges[e.index]),d=s.pop(),f=s.shift();var p=e.data,h=de(p,d,f,c,u,t,n,o);r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(i.border*t.pix),r.setFillStyle(l(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:d,eachSpacing:u}}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,u=a.eachSpacing,d=[];r.save();var f=0,p=t.width+u;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),f=-t._scrollDistance_-2*u+t.area[3],p=f+(t.xAxis.itemCount+4)*u),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=fe(g,y,v,c,u,t,n,i,o);d.push(m);var S=G(m,e);if("dash"==e.lineType){var b=e.dashLength?e.dashLength:8;b*=t.pix,r.setLineDash([b,b])}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;_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),S.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;of&&(r.moveTo(a.x,a.y),n=1),o>0&&a.x>f&&a.xf&&(r.moveTo(l.x,l.y),n=1),c>0&&l.x>f&&l.xf&&(r.moveTo(d.x,d.y),n=1),u>0&&d.x>f&&d.x4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,c=a.xAxisPoints,u=a.eachSpacing,d=s({},{width:u/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mix.column),f=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 b=-2,x=c.length+2,C=0,_=t.width+u;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),b=Math.floor(-t._scrollDistance_/u)-2,x=b+t.xAxis.itemCount+4,C=-t._scrollDistance_-2*u+t.area[3],_=C+(t.xAxis.itemCount+4)*u),d.customColor=S(d.linearType,d.customColor,e,n),e.forEach((function(e,a){var s,S,L;s=[].concat(t.chartData.yAxisData.ranges[e.index]),S=s.pop(),L=s.shift();var P=e.data,Y=de(P,S,L,c,u,t,n,i);if(v.push(Y),"column"==e.type){Y=oe(Y,u,m,g,n,t);for(var T=0;Tb&&TF?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+E-B,B,0,Math.PI/2),r.arc(O+k,X+E-k,k,Math.PI/2,Math.PI)}else r.moveTo(M,Z.y),r.lineTo(M+Z.width,Z.y),r.lineTo(M+Z.width,t.height-t.area[2]),r.lineTo(M,t.height-t.area[2]),r.lineTo(M,Z.y),r.setLineWidth(1),r.setStrokeStyle(A);r.setFillStyle(w),r.closePath(),r.fill()}}g+=1}if("area"==e.type)for(var I=G(Y,e),Q=0;Q1){var $=j[0],K=j[j.length-1];r.moveTo($.x,$.y);var U=0;if("curve"===e.style)for(var z=0;zC&&(r.moveTo(V.x,V.y),U=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;eeC&&(r.moveTo(te.x,te.y),U=1),ee>0&&te.x>C&&te.x<_&&r.lineTo(te.x,te.y)}r.lineTo(K.x,y),r.lineTo($.x,y),r.lineTo($.x,$.y)}else{var ne=j[0];r.moveTo(ne.x-u/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;sC&&(r.moveTo(c.x,c.y),a=1),s>0&&c.x>C&&c.x<_){var l=h(n,s-1);r.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,c.x,c.y)}}else for(var u=0;uC&&(r.moveTo(d.x,d.y),a=1),u>0&&d.x>C&&d.x<_&&r.lineTo(d.x,d.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,l;a=[].concat(t.chartData.yAxisData.ranges[e.index]),s=a.pop(),l=a.shift();var d=e.data,f=de(d,s,l,c,u,t,n,i);"column"!==e.type?Ye(f,e,n,r,t):(f=oe(f,u,m,g,n,t),Ye(f,e,n,r,t),g+=1)}))}return r.restore(),{xAxisPoints:c,calPoints:v,eachSpacing:u}}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 Ke(e,t,n,r){var o=t.chartData.xAxisData,i=o.xAxisPoints,a=o.startX,s=o.endX,c=o.eachSpacing,l="center";"bar"!=t.type&&"line"!=t.type&&"area"!=t.type&&"scatter"!=t.type&&"bubble"!=t.type||(l=t.xAxis.boundaryGap);var u=t.height-t.area[2],d=t.area[0];if(t.enableScroll&&t.xAxis.scrollShow){var f=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,f),r.lineTo(s,f),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),r.moveTo(a+v,f),r.lineTo(a+v+y,f),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,u),r.lineTo(e-c/2,u+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,u),r.lineTo(e,d),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),S=[],b=e.length,C=0;C=t.area[3]-1&&d-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,u+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.fontSize)*t.pix/2+t.xAxis.fontSize*t.pix),r.closePath(),r.stroke())})):S.forEach((function(e,o){var a=t.xAxis.formatter?t.xAxis.formatter(e):e,s=t._scrollDistance_||0,d="center"==l?i[o]+c/2:i[o];if(d-Math.abs(s)>=t.area[3]-1&&d-Math.abs(s)<=t.width-t.area[1]+1){r.save(),r.beginPath(),r.setFontSize(_),r.setFillStyle(t.xAxis.fontColor||t.fontColor);var f=x(String(a),_,r),p=i[o];"center"==l&&(p=i[o]+c/2);t.xAxis.scrollShow&&6*t.pix;var h=u+t.xAxis.marginTop*t.pix+_-_*Math.abs(Math.sin(n._xAxisTextAngle_));t.xAxis.rotateAngle<0?(p-=_/2,f=0):(p+=_/2,f=-f),r.translate(p,h),r.rotate(-1*n._xAxisTextAngle_),r.fillText(String(a),f,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 Ue(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,l=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),l+=(t.extra.mount.widthRatio-1)*c);var u=a+l,d=[],f=1;!1===t.xAxis.axisLine&&(f=0);for(var p=f;p4&&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=U(e,c,o);var u=i.activeRadius*t.pix;if(i.customColor=S(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(l(e.color,i.activeOpacity||.5)),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_+u,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,l(i.customColor[e.linearIndex],1)),o.addColorStop(1,l(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 d=.6*c;"number"===typeof i.ringWidth&&i.ringWidth>0&&(d=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,d,0,2*Math.PI),r.closePath(),r.fill()}return!1!==t.dataLabel&&1===o&&De(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 u=i.minRadius||.5*c;c4&&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=S(c.linearType,c.customColor,e,n);for(var u=0;u5&&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},u=Math.min(c.x,c.y);u-=5*n.pix,u-=a.width/2,u=u<10?10:u;var d=u-a.width,f=0;if("progress"==a.type){var p=u-3*a.width;o.beginPath();var h=o.createLinearGradient(c.x,c.y-p,c.x,c.y+p);h.addColorStop("0",l(t[0].color,.3)),h.addColorStop("1.0",l("#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(l(t[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(c.x,c.y,d,a.startAngle*Math.PI,a.endAngle*Math.PI,!1),o.stroke(),f=a.endAngleb/m?o.setStrokeStyle(l(t[0].color,1)):o.setStrokeStyle(l(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,d,a.startAngle*Math.PI,t[0]._proportion_*Math.PI,!1),o.stroke();var x=u-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",l("#FFFFFF",0)),C.addColorStop("0.5",l(t[0].color,1)),C.addColorStop("1.0",l("#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;_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},u=(t.width-t.area[1]-t.area[3])/2,d=(t.height-t.area[0]-t.area[2])/2,f=Math.min(u-(Y(t.categories,n.fontSize,r)+n.radarLabelTextMargin),d-n.radarLabelTextMargin);f-=n.radarLabelTextMargin*t.pix,f=f<10?10:f,f=i.radius?i.radius:f,r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),a.forEach((function(e,t){var n=y(f*Math.cos(e),f*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(f/i.gridCount*e*Math.cos(t),f/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(f/i.gridCount*e*Math.cos(1.5),f/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=S(i.linearType,i.customColor,e,n);var v=K(a,c,f,e,t,o);if(v.forEach((function(n,o){r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.setStrokeStyle(n.color);var a,s=l(n.color,i.opacity);"custom"==i.linearType&&(a=r.createCircularGradient?r.createCircularGradient(c.x,c.y,f):r.createRadialGradient(c.x,c.y,0,c.x,c.y,f),a.addColorStop(0,l(i.customColor[e[o].linearIndex],i.opacity)),a.addColorStop(1,l(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 u=n.data.map((function(e){return e.position}));_e(u,n.color,n.pointShape,r,t)}})),!0===i.axisLabel){var g=Math.max(i.max,Math.max.apply(null,C(e))),m=f/i.gridCount,b=t.fontSize*t.pix;r.setFontSize(b),r.setFillStyle(t.fontColor),r.setTextAlign("left");for(h=0;hl.x?n.xMax:l.x,n.yMin=n.yMinl.y?n.yMax:l.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])return!1;if(n[1]==e[1]&&t[1]>e[1])return!1;if(t[0]t[i].area[2]||e[1]>t[i].area[3]||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.7},h=0;h4&&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;c0&&(t.tooltip&&t.tooltip.index==c?r.strokeText(l,(a[c].areav[0]+5-t.width/2)*o-d*(1-o)/2,(a[c].areav[1]+5+u-t.height/2)*o):r.fillText(l,(a[c].areav[0]+5-t.width/2)*o-d*(1-o)/2,(a[c].areav[1]+5+u-t.height/2)*o)):a[c].area[0]>0&&(t.tooltip&&t.tooltip.index==c?r.strokeText(l,(a[c].area[0]+5-t.width/2)*o-d*(1-o)/2,(a[c].area[1]+5+u-t.height/2)*o):r.fillText(l,(a[c].area[0]+5-t.width/2)*o-d*(1-o)/2,(a[c].area[1]+5+u-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]},u=i.activeWidth*t.pix,d=Math.min((t.width-t.area[1]-t.area[3])/2-u,(t.height-t.area[0]-t.area[2])/2-u),f=z(e,d,i,a,o);if(r.save(),r.translate(c.x,c.y),i.customColor=S(i.linearType,i.customColor,e,n),"pyramid"==i.type)for(var p=0;p0?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=b,t.categories&&t.categories.length&&"radar"!==t.type&&"gauge"!==t.type&&"bar"!==t.type){t.chartData.xAxisData=le(t.categories,t,n);var T=j(t.categories,t,n,t.chartData.xAxisData.eachSpacing,r),Z=T.xAxisHeight,M=T.angle;n.xAxisHeight=Z,n._xAxisTextAngle_=M,t.area[2]+=Z,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 w=j(c,t,n,t.chartData.xAxisData.eachSpacing,r),D=w.xAxisHeight,O=w.angle;n.xAxisHeight=D,n._xAxisTextAngle_=O,t.area[2]+=D,t.chartData.categoriesData=w}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var X=0,R=t.chartData.xAxisData.xAxisPoints,E=t.chartData.xAxisData.startX,N=t.chartData.xAxisData.endX,J=t.chartData.xAxisData.eachSpacing,H=J*(R.length-1),B=N-E;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(f,n,r,t)),e){case"word":this.animationInstance=new bt({timing:t.timing,duration:u,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),ut(a,t,n,r),setTimeout((function(){o.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new bt({timing:t.timing,duration:u,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 bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=je(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=Ge(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=Qe(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=We(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=He(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=Be(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ke(c,t,n,r);var o=ke(a,t,n,r,e),i=o.yAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.yAxisPoints=i,t.chartData.xAxisPoints=t.chartData.xAxisData.xAxisPoints,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=Ie(a,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,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,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new bt({timing:t.timing,duration:u,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 bt({timing:t.timing,duration:u,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 bt({timing:t.timing,duration:u,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 bt({timing:t.timing,duration:u,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 bt({timing:t.timing,duration:u,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 bt({timing:t.timing,duration:u,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 bt({timing:t.timing,duration:u,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&Ce(r,t),Ue(c,t,n,r),Ke(c,t,n,r);var o=Fe(a,f,t,n,r,e),i=o.xAxisPoints,s=o.calPoints,l=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=s,t.chartData.eachSpacing=l,ze(a,t,n,r),!1!==t.enableMarkLine&&1===e&&Xe(t,n,r),Ve(f||t.series,t,n,r,t.chartData),$e(t,n,r,e,l,i),mt(t,r)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break}}function Ct(){this.events={}}bt.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;n0&&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=Se(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var o=0,i=le(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,c=i.startX,l=i.endX,u=i.eachSpacing,d=u*(a.length-1),f=l-c;o=f-d,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=Se(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var o=0,i=le(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,s=i.startX,c=i.endX,l=i.eachSpacing,u=l*t,d=c-s,p=d-l*(a.length-1);o=d/2-u,o>0&&(o=0),o=this.opts.categories.length?this.opts.categories.length:d,this.opts.animation=!1,this.opts.xAxis.itemCount=d;var p=0,h=le(this.opts.categories,this.opts,this.config),y=h.xAxisPoints,v=h.startX,g=h.endX,m=h.eachSpacing,S=m*this.scrollOption.moveCurrent1,b=g-v,x=b-m*(y.length-1);p=-S+Math.min(r[0].x,r[1].x)-this.opts.area[3]-m,p>0&&(p=0),p1&&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),l=void 0==n.index?c.index:n.index;if(l>-1||l.length>0){var u=P(this.opts.series,l,c.group);if(0!==u.length){var d=Z(u,this.opts,l,c.group,this.opts.categories,n),f=d.textList,p=d.offset;p.y=o.y,a.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l,group:c.group}}}xt.call(this,a.type,a,this.config,this.context)}if("mount"===this.opts.type){l=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(l>-1){a=s({},this.opts,{animation:!1}),u=s({},a._series_[l]),f=[{text:n.formatter?n.formatter(u,void 0,l,a):u.name+": "+u.data,color:u.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?u.legendShape:this.opts.extra.tooltip.legendShape}],p={x:a.chartData.calPoints[l].x,y:o.y};a.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}xt.call(this,a.type,a,this.config,this.context)}if("bar"===this.opts.type){c=this.getCurrentDataIndex(e),l=void 0==n.index?c.index:n.index;if(l>-1||l.length>0){u=P(this.opts.series,l,c.group);if(0!==u.length){d=Z(u,this.opts,l,c.group,this.opts.categories,n),f=d.textList,p=d.offset;p.x=o.x,a.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}}xt.call(this,a.type,a,this.config,this.context)}if("mix"===this.opts.type){c=this.getCurrentDataIndex(e),l=void 0==n.index?c.index:n.index;if(l>-1){i=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:i,animation:!1}),u=P(this.opts.series,l);if(0!==u.length){var h=M(u,this.opts,l,this.opts.categories,n);f=h.textList,p=h.offset;p.y=o.y,a.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}}xt.call(this,a.type,a,this.config,this.context)}if("candle"===this.opts.type){c=this.getCurrentDataIndex(e),l=void 0==n.index?c.index:n.index;if(l>-1){i=this.scrollOption.currentOffset,a=s({},this.opts,{_scrollDistance_:i,animation:!1}),u=P(this.opts.series,l);if(0!==u.length){d=w(this.opts.series[0].data,u,this.opts,l,this.opts.categories,this.opts.extra.candle,n),f=d.textList,p=d.offset;p.y=o.y,a.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}}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){l=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(l>-1){a=s({},this.opts,{animation:!1}),u=s({},a._series_[l]),f=[{text:n.formatter?n.formatter(u,void 0,l,a):u.name+": "+u.data,color:u.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?u.legendShape:this.opts.extra.tooltip.legendShape}],p={x:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}xt.call(this,a.type,a,this.config,this.context)}if("map"===this.opts.type){l=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(l>-1){a=s({},this.opts,{animation:!1}),u=s({},this.opts.series[l]);u.name=u.properties.name;f=[{text:n.formatter?n.formatter(u,void 0,l,this.opts):u.name,color:u.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?u.legendShape:this.opts.extra.tooltip.legendShape}],p={x:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}a.updateData=!1,xt.call(this,a.type,a,this.config,this.context)}if("word"===this.opts.type){l=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(l>-1){a=s({},this.opts,{animation:!1}),u=s({},this.opts.series[l]),f=[{text:n.formatter?n.formatter(u,void 0,l,this.opts):u.name,color:u.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?u.legendShape:this.opts.extra.tooltip.legendShape}],p={x:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}a.updateData=!1,xt.call(this,a.type,a,this.config,this.context)}if("radar"===this.opts.type){l=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(l>-1){a=s({},this.opts,{animation:!1}),u=P(this.opts.series,l);if(0!==u.length){f=u.map((function(e){return{text:n.formatter?n.formatter(e,t.opts.categories[l],l,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:f,offset:void 0!==n.offset?n.offset:p,option:n,index:l}}}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(!(re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=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 l(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 u(e){return"string"===typeof e||e instanceof String}function d(e){return"undefined"===typeof Array.isArray?"[object Array]"===Object.prototype.toString.call(e):Array.isArray(e)}function f(e){var t=/^1[1-9]\d{9}$/;return t.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=d,t.isExternal=r,t.isString=u,t.isTel=f,t.validAlphabets=c,t.validEmail=l,t.validLowerCase=a,t.validURL=i,t.validUpperCase=s,t.validUsername=o}}]); //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map