vendor.js 809 KB

123456789101112131415161718192021
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],[,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=Mr,t.createComponent=Nr,t.createPage=Rr,t.createPlugin=Ur,t.createSubpackageApp=zr,t.default=void 0;var n,i=r(3),o=a(r(4));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t){return d(e)||l(e,t)||g(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function d(e){if(Array.isArray(e))return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){return b(e)||y(e)||g(e)||v()}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function y(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function b(e){if(Array.isArray(e))return m(e)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",w=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function _(e){return decodeURIComponent(n(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function S(){var e,t=wx.getStorageSync("uni_id_token")||"",r=t.split(".");if(!t||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse(_(r[1]))}catch(n){throw new Error("获取当前用户信息出错,详细错误信息为:"+n.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}function A(e){e.prototype.uniIDHasRole=function(e){var t=S(),r=t.role;return r.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=S(),r=t.permission;return this.uniIDHasRole("admin")||r.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=S(),t=e.tokenExpired;return t>Date.now()}}n="function"!==typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!w.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 r,n,i="",o=0;o<e.length;)t=x.indexOf(e.charAt(o++))<<18|x.indexOf(e.charAt(o++))<<12|(r=x.indexOf(e.charAt(o++)))<<6|(n=x.indexOf(e.charAt(o++))),i+=64===r?String.fromCharCode(t>>16&255):64===n?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var k=Object.prototype.toString,P=Object.prototype.hasOwnProperty;function M(e){return"function"===typeof e}function E(e){return"string"===typeof e}function O(e){return"[object Object]"===k.call(e)}function T(e,t){return P.call(e,t)}function C(){}function I(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var j=/-(\w)/g,B=I((function(e){return e.replace(j,(function(e,t){return t?t.toUpperCase():""}))}));function D(e){var t={};return O(e)&&Object.keys(e).sort().forEach((function(r){t[r]=e[r]})),Object.keys(t)?t:e}var L=["invoke","success","fail","complete","returnValue"],F={},R={};function N(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?z(r):r}function z(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}function U(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}function q(e,t){Object.keys(t).forEach((function(r){-1!==L.indexOf(r)&&M(t[r])&&(e[r]=N(e[r],t[r]))}))}function $(e,t){e&&t&&Object.keys(t).forEach((function(r){-1!==L.indexOf(r)&&M(t[r])&&U(e[r],t[r])}))}function H(e,t){"string"===typeof e&&O(t)?q(R[e]||(R[e]={}),t):O(e)&&q(F,e)}function W(e,t){"string"===typeof e?O(t)?$(R[e],t):delete R[e]:O(e)&&$(F,e)}function Q(e){return function(t){return e(t)||t}}function V(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}function K(e,t){for(var r=!1,n=0;n<e.length;n++){var i=e[n];if(r)r=Promise.resolve(Q(i));else{var o=i(t);if(V(o)&&(r=Promise.resolve(o)),!1===o)return{then:function(){}}}}return r||{then:function(e){return e(t)}}}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(r){if(Array.isArray(e[r])){var n=t[r];t[r]=function(t){K(e[r],t).then((function(e){return M(n)&&n(e)||e}))}}})),t}function X(e,t){var r=[];Array.isArray(F.returnValue)&&r.push.apply(r,p(F.returnValue));var n=R[e];return n&&Array.isArray(n.returnValue)&&r.push.apply(r,p(n.returnValue)),r.forEach((function(e){t=e(t)||t})),t}function Y(e){var t=Object.create(null);Object.keys(F).forEach((function(e){"returnValue"!==e&&(t[e]=F[e].slice())}));var r=R[e];return r&&Object.keys(r).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(r[e]))})),t}function J(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),o=3;o<n;o++)i[o-3]=arguments[o];var a=Y(e);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=K(a.invoke,r);return s.then((function(e){return t.apply(void 0,[G(a,e)].concat(i))}))}return t.apply(void 0,[G(a,r)].concat(i))}return t.apply(void 0,[r].concat(i))}var Z={returnValue:function(e){return V(e)?new Promise((function(t,r){e.then((function(e){e[0]?r(e[0]):t(e[1])}))})):e}},ee=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo/,te=/^create|Manager$/,re=["createBLEConnection"],ne=["createBLEConnection"],ie=/^on|^off/;function oe(e){return te.test(e)&&-1===re.indexOf(e)}function ae(e){return ee.test(e)&&-1===ne.indexOf(e)}function se(e){return ie.test(e)&&"onPush"!==e}function ce(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function ue(e){return!(oe(e)||ae(e)||se(e))}function fe(e,t){return ue(e)?function(){for(var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return M(r.success)||M(r.fail)||M(r.complete)?X(e,J.apply(void 0,[e,t,r].concat(i))):X(e,ce(new Promise((function(n,o){J.apply(void 0,[e,t,Object.assign({},r,{success:n,fail:o})].concat(i))}))))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))});var le=1e-4,de=750,he=!1,pe=0,ve=0;function ge(){var e=wx.getSystemInfoSync(),t=e.platform,r=e.pixelRatio,n=e.windowWidth;pe=n,ve=r,he="ios"===t}function ye(e,t){if(0===pe&&ge(),e=Number(e),0===e)return 0;var r=e/de*(t||pe);return r<0&&(r=-r),r=Math.floor(r+le),0===r&&(r=1!==ve&&he?.5:1),e<0?-r:r}var be,me="zh-Hans",xe="zh-Hant",we="en",_e="fr",Se="es",Ae={};function ke(){if(Oe()){var e=Object.keys(__uniConfig.locales);e.length&&e.forEach((function(e){var t=Ae[e],r=__uniConfig.locales[e];t?Object.assign(t,r):Ae[e]=r}))}}be=Ie(wx.getSystemInfoSync().language)||we,ke();var Pe=(0,i.initVueI18n)(be,{}),Me=Pe.t;Pe.mixin={beforeCreate:function(){var e=this,t=Pe.i18n.watchLocale((function(){e.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){t()}))},methods:{$$t:function(e,t){return Me(e,t)}}},Pe.setLocale,Pe.getLocale;function Ee(e,t,r){var n=e.observable({locale:r||Pe.getLocale()}),i=[];t.$watchLocale=function(e){i.push(e)},Object.defineProperty(t,"$locale",{get:function(){return n.locale},set:function(e){n.locale=e,i.forEach((function(t){return t(e)}))}})}function Oe(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}function Te(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}function Ce(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}function Ie(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return me;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?me:e.indexOf("-hant")>-1||Te(e,["-tw","-hk","-mo","-cht"])?xe:me;var r=Ce(e,[we,_e,Se]);return r||void 0}}function je(){var e=getApp({allowDefault:!0});return e&&e.$vm?e.$vm.$locale:Ie(wx.getSystemInfoSync().language)||we}function Be(e){var t=getApp();if(!t)return!1;var r=t.$vm.$locale;return r!==e&&(t.$vm.$locale=e,De.forEach((function(t){return t({locale:e})})),!0)}var De=[];function Le(e){-1===De.indexOf(e)&&De.push(e)}"undefined"!==typeof e&&(e.getLocale=je);var Fe={promiseInterceptor:Z},Re=Object.freeze({__proto__:null,upx2px:ye,getLocale:je,setLocale:Be,onLocaleChange:Le,addInterceptor:H,removeInterceptor:W,interceptors:Fe});function Ne(e){var t=getCurrentPages(),r=t.length;while(r--){var n=t[r];if(n.$page&&n.$page.fullPath===e)return r}return-1}var ze,Ue={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=Ne(e.url);if(-1!==t){var r=getCurrentPages().length-1-t;r>0&&(e.delta=r)}}}},qe={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var r=e.urls;if(Array.isArray(r)){var n=r.length;if(n)return t<0?t=0:t>=n&&(t=n-1),t>0?(e.current=r[t],e.urls=r.filter((function(e,n){return!(n<t)||e!==r[t]}))):e.current=r[0],{indicator:!1,loop:!1}}}}},$e="__DC_STAT_UUID";function He(e){ze=ze||wx.getStorageSync($e),ze||(ze=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:$e,data:ze})),e.deviceId=ze}function We(e){if(e.safeArea){var t=e.safeArea;e.safeAreaInsets={top:t.top,left:t.left,right:e.windowWidth-t.right,bottom:e.screenHeight-t.bottom}}}function Qe(e){var t=e.brand,r=void 0===t?"":t,n=e.model,i=void 0===n?"":n,o=e.system,a=void 0===o?"":o,s=e.language,c=void 0===s?"":s,u=e.theme,f=e.version,l=(e.platform,e.fontSizeSetting),d=e.SDKVersion,h=e.pixelRatio,p=e.deviceOrientation,v="",g="";v=a.split(" ")[0]||"",g=a.split(" ")[1]||"";var y=f,b=Ve(e,i),m=Ke(r),x=Xe(e),w=p,_=h,S=d,A=c.replace(/_/g,"-"),k={appId:"__UNI__74CA2D5",appName:"teammodelwxapp",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Ge(A),uniCompileVersion:"3.4.18",uniRuntimeVersion:"3.4.18",uniPlatform:"mp-weixin",deviceBrand:m,deviceModel:i,deviceType:b,devicePixelRatio:_,deviceOrientation:w,osName:v.toLocaleLowerCase(),osVersion:g,hostTheme:u,hostVersion:y,hostLanguage:A,hostName:x,hostSDKVersion:S,hostFontSizeSetting:l,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0};Object.assign(e,k)}function Ve(e,t){for(var r=e.deviceType||"phone",n={ipad:"pad",windows:"pc",mac:"pc"},i=Object.keys(n),o=t.toLocaleLowerCase(),a=0;a<i.length;a++){var s=i[a];if(-1!==o.indexOf(s)){r=n[s];break}}return r}function Ke(e){var t=e;return t&&(t=e.toLocaleLowerCase()),t}function Ge(e){return je?je():e}function Xe(e){var t="WeChat",r=e.hostName||t;return e.environment?r=e.environment:e.host&&e.host.env&&(r=e.host.env),r}var Ye={returnValue:function(e){He(e),We(e),Qe(e)}},Je={args:function(e){"object"===typeof e&&(e.alertText=e.title)}},Ze={returnValue:function(e){var t=e,r=t.version,n=t.language,i=t.SDKVersion,o=t.theme,a=Xe(e),s=n.replace("_","-");e=D(Object.assign(e,{appId:"__UNI__74CA2D5",appName:"teammodelwxapp",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Ge(s),hostVersion:r,hostLanguage:s,hostName:a,hostSDKVersion:i,hostTheme:o}))}},et={returnValue:function(e){var t=e,r=t.brand,n=t.model,i=Ve(e,n),o=Ke(r);He(e),e=D(Object.assign(e,{deviceType:i,deviceBrand:o,deviceModel:n}))}},tt={returnValue:function(e){We(e),e=D(Object.assign(e,{windowTop:0,windowBottom:0}))}},rt={redirectTo:Ue,previewImage:qe,getSystemInfo:Ye,getSystemInfoSync:Ye,showActionSheet:Je,getAppBaseInfo:Ze,getDeviceInfo:et,getWindowInfo:tt},nt=["vibrate","preloadPage","unPreloadPage","loadSubPackage"],it=[],ot=["success","fail","cancel","complete"];function at(e,t,r){return function(n){return t(ct(e,n,r))}}function st(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(O(t)){var o=!0===i?t:{};for(var a in M(r)&&(r=r(t,o)||{}),t)if(T(r,a)){var s=r[a];M(s)&&(s=s(t[a],t,o)),s?E(s)?o[s]=t[a]:O(s)&&(o[s.name?s.name:a]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==ot.indexOf(a)?M(t[a])&&(o[a]=at(e,t[a],n)):i||(o[a]=t[a]);return o}return M(t)&&(t=at(e,t,n)),t}function ct(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return M(rt.returnValue)&&(t=rt.returnValue(e,t)),st(e,t,r,{},n)}function ut(e,t){if(T(rt,e)){var r=rt[e];return r?function(t,n){var i=r;M(r)&&(i=r(t)),t=st(e,t,i.args,i.returnValue);var o=[t];"undefined"!==typeof n&&o.push(n),M(i.name)?e=i.name(t):E(i.name)&&(e=i.name);var a=wx[e].apply(wx,o);return ae(e)?ct(e,a,i.returnValue,oe(e)):a}:function(){console.error("Platform '微信小程序' does not support '".concat(e,"'."))}}return t}var ft=Object.create(null),lt=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function dt(e){return function(t){var r=t.fail,n=t.complete,i={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};M(r)&&r(i),M(n)&&n(i)}}lt.forEach((function(e){ft[e]=dt(e)}));var ht={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function pt(e){var t=e.service,r=e.success,n=e.fail,i=e.complete,o=!1;ht[t]?(o={errMsg:"getProvider:ok",service:t,provider:ht[t]},M(r)&&r(o)):(o={errMsg:"getProvider:fail service not found"},M(n)&&n(o)),M(i)&&i(o)}var vt=Object.freeze({__proto__:null,getProvider:pt}),gt=function(){var e;return function(){return e||(e=new o.default),e}}();function yt(e,t,r){return e[t].apply(e,r)}function bt(){return yt(gt(),"$on",Array.prototype.slice.call(arguments))}function mt(){return yt(gt(),"$off",Array.prototype.slice.call(arguments))}function xt(){return yt(gt(),"$once",Array.prototype.slice.call(arguments))}function wt(){return yt(gt(),"$emit",Array.prototype.slice.call(arguments))}var _t,St,At=Object.freeze({__proto__:null,$on:bt,$off:mt,$once:xt,$emit:wt});function kt(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Pt(e){var t={};for(var r in e){var n=e[r];M(n)&&(t[r]=kt(n),delete e[r])}return t}function Mt(e){try{return JSON.parse(e)}catch(t){}return e}function Et(e){"clientId"===e.type?(_t=e.cid,St=e.errMsg,Tt(_t,e.errMsg)):"pushMsg"===e.type?It.forEach((function(t){t({type:"receive",data:Mt(e.message)})})):"click"===e.type&&It.forEach((function(t){t({type:"click",data:Mt(e.message)})}))}var Ot=[];function Tt(e,t){Ot.forEach((function(r){r(e,t)})),Ot.length=0}function Ct(e){O(e)||(e={});var t=Pt(e),r=t.success,n=t.fail,i=t.complete,o=M(r),a=M(n),s=M(i);Ot.push((function(e,t){var c;e?(c={errMsg:"getPushClientid:ok",cid:e},o&&r(c)):(c={errMsg:"getPushClientid:fail"+(t?" "+t:"")},a&&n(c)),s&&i(c)})),"undefined"!==typeof _t&&Promise.resolve().then((function(){return Tt(_t,St)}))}var It=[],jt=function(e){-1===It.indexOf(e)&&It.push(e)},Bt=function(e){if(e){var t=It.indexOf(e);t>-1&&It.splice(t,1)}else It.length=0},Dt=Object.freeze({__proto__:null,getPushClientid:Ct,onPushMessage:jt,offPushMessage:Bt,invokePushCallback:Et}),Lt=Page,Ft=Component,Rt=/:/g,Nt=I((function(e){return B(e.replace(Rt,"-"))}));function zt(e){var t=e.triggerEvent,r=function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.apply(e,[Nt(r)].concat(i))};try{e.triggerEvent=r}catch(n){e._triggerEvent=r}}function Ut(e,t,r){var n=t[e];t[e]=n?function(){zt(this);for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(this,t)}:function(){zt(this)}}Lt.__$wrappered||(Lt.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ut("onLoad",e),Lt(e)},Page.after=Lt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ut("created",e),Ft(e)});var qt=["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function $t(e,t){var r=e.$mp[e.mpType];t.forEach((function(t){T(r,t)&&(e[t]=r[t])}))}function Ht(e,t){if(!t)return!0;if(o.default.options&&Array.isArray(o.default.options[e]))return!0;if(t=t.default||t,M(t))return!!M(t.extendOptions[e])||!!(t.super&&t.super.options&&Array.isArray(t.super.options[e]));if(M(t[e]))return!0;var r=t.mixins;return Array.isArray(r)?!!r.find((function(t){return Ht(e,t)})):void 0}function Wt(e,t,r){t.forEach((function(t){Ht(t,r)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function Qt(e,t){var r;return t=t.default||t,r=M(t)?t:e.extend(t),t=r.options,[r,t]}function Vt(e,t){if(Array.isArray(t)&&t.length){var r=Object.create(null);t.forEach((function(e){r[e]=!0})),e.$scopedSlots=e.$slots=r}}function Kt(e,t){e=(e||"").split(",");var r=e.length;1===r?t._$vueId=e[0]:2===r&&(t._$vueId=e[0],t._$vuePid=e[1])}function Gt(e,t){var r=e.data||{},n=e.methods||{};if("function"===typeof r)try{r=r.call(t)}catch(i){Object({VUE_APP_NAME:"teammodelwxapp",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"development",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",r)}else try{r=JSON.parse(JSON.stringify(r))}catch(i){}return O(r)||(r={}),Object.keys(n).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||T(r,e)||(r[e]=n[e])})),r}var Xt=[String,Number,Boolean,Object,Array,null];function Yt(e){return function(t,r){this.$vm&&(this.$vm[e]=t)}}function Jt(e,t){var r=e.behaviors,n=e.extends,i=e.mixins,o=e.props;o||(e.props=o=[]);var a=[];return Array.isArray(r)&&r.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(o)?(o.push("name"),o.push("value")):(o.name={type:String,default:""},o.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),O(n)&&n.props&&a.push(t({properties:er(n.props,!0)})),Array.isArray(i)&&i.forEach((function(e){O(e)&&e.props&&a.push(t({properties:er(e.props,!0)}))})),a}function Zt(e,t,r,n){return Array.isArray(t)&&1===t.length?t[0]:t}function er(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={};return t||(r.vueId={type:String,value:""},r.generic={type:Object,value:null},r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(e,t){var r=Object.create(null);e.forEach((function(e){r[e]=!0})),this.setData({$slots:r})}}),Array.isArray(e)?e.forEach((function(e){r[e]={type:null,observer:Yt(e)}})):O(e)&&Object.keys(e).forEach((function(t){var n=e[t];if(O(n)){var i=n.default;M(i)&&(i=i()),n.type=Zt(t,n.type),r[t]={type:-1!==Xt.indexOf(n.type)?n.type:null,value:i,observer:Yt(t)}}else{var o=Zt(t,n);r[t]={type:-1!==Xt.indexOf(o)?o:null,observer:Yt(t)}}})),r}function tr(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=C,e.preventDefault=C,e.target=e.target||{},T(e,"detail")||(e.detail={}),T(e,"markerId")&&(e.detail="object"===typeof e.detail?e.detail:{},e.detail.markerId=e.markerId),O(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}function rr(e,t){var r=e;return t.forEach((function(t){var n=t[0],i=t[2];if(n||"undefined"!==typeof i){var o,a=t[1],s=t[3];Number.isInteger(n)?o=n:n?"string"===typeof n&&n&&(o=0===n.indexOf("#s#")?n.substr(3):e.__get_value(n,r)):o=r,Number.isInteger(o)?r=i:a?Array.isArray(o)?r=o.find((function(t){return e.__get_value(a,t)===i})):O(o)?r=Object.keys(o).find((function(t){return e.__get_value(a,o[t])===i})):console.error("v-for 暂不支持循环数据:",o):r=o[i],s&&(r=e.__get_value(s,r))}})),r}function nr(e,t,r){var n={};return Array.isArray(t)&&t.length&&t.forEach((function(t,i){"string"===typeof t?t?"$event"===t?n["$"+i]=r:"arguments"===t?r.detail&&r.detail.__args__?n["$"+i]=r.detail.__args__:n["$"+i]=[r]:0===t.indexOf("$event.")?n["$"+i]=e.__get_value(t.replace("$event.",""),r):n["$"+i]=e.__get_value(t):n["$"+i]=e:n["$"+i]=rr(e,t)})),n}function ir(e){for(var t={},r=1;r<e.length;r++){var n=e[r];t[n[0]]=n[1]}return t}function or(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=!1;if(i&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!r.length))return a?[t]:t.detail.__args__||t.detail;var s=nr(e,n,t),c=[];return r.forEach((function(e){"$event"===e?"__set_model"!==o||i?i&&!a?c.push(t.detail.__args__[0]):c.push(t):c.push(t.target.value):Array.isArray(e)&&"o"===e[0]?c.push(ir(e)):"string"===typeof e&&T(s,e)?c.push(s[e]):c.push(e)})),c}var ar="~",sr="^";function cr(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}function ur(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 fr(e){var t=this;e=tr(e);var r=(e.currentTarget||e.target).dataset;if(!r)return console.warn("事件信息不存在");var n=r.eventOpts||r["event-opts"];if(!n)return console.warn("事件信息不存在");var i=e.type,o=[];return n.forEach((function(r){var n=r[0],a=r[1],s=n.charAt(0)===sr;n=s?n.slice(1):n;var c=n.charAt(0)===ar;n=c?n.slice(1):n,a&&cr(i,n)&&a.forEach((function(r){var n=r[0];if(n){var i=t.$vm;if(i.$options.generic&&(i=ur(i)||i),"$emit"===n)return void i.$emit.apply(i,or(t.$vm,e,r[1],r[2],s,n));var a=i[n];if(!M(a))throw new Error(" _vm.".concat(n," is not a function"));if(c){if(a.once)return;a.once=!0}var u=or(t.$vm,e,r[1],r[2],s,n);u=Array.isArray(u)?u:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(u=u.concat([,,,,,,,,,,e])),o.push(a.apply(i,u))}}))})),"input"===i&&1===o.length&&"undefined"!==typeof o[0]?o[0]:void 0}var lr={},dr=[];function hr(e){if(e){var t=lr[e];return delete lr[e],t}return dr.shift()}var pr=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function vr(){o.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=o.default.prototype.__call_hook;o.default.prototype.__call_hook=function(t,r){return"onLoad"===t&&r&&r.__id__&&(this.__eventChannel__=hr(r.__id__),delete r.__id__),e.call(this,t,r)}}function gr(){var e={},t={};o.default.prototype.$hasScopedSlotsParams=function(r){var n=e[r];return n||(t[r]=this,this.$on("hook:destroyed",(function(){delete t[r]}))),n},o.default.prototype.$getScopedSlotsParams=function(r,n,i){var o=e[r];if(o){var a=o[n]||{};return i?a[i]:a}t[r]=this,this.$on("hook:destroyed",(function(){delete t[r]}))},o.default.prototype.$setScopedSlotsParams=function(r,n){var i=this.$options.propsData.vueId;if(i){var o=i.split(",")[0],a=e[o]=e[o]||{};a[r]=n,t[o]&&t[o].$forceUpdate()}},o.default.mixin({destroyed:function(){var r=this.$options.propsData,n=r&&r.vueId;n&&(delete e[n],delete t[n])}})}function yr(e,t){var r=t.mocks,n=t.initRefs;vr(),gr(),e.$options.store&&(o.default.prototype.$store=e.$options.store),A(o.default),o.default.prototype.mpHost="mp-weixin",o.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=h({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&&(n(this),$t(this,r))}}});var i={onLaunch:function(t){this.$vm||(wx.canIUse&&!wx.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=e,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",t),this.$vm.__call_hook("onLaunch",t))}};i.globalData=e.$options.globalData||{};var a=e.$options.methods;return a&&Object.keys(a).forEach((function(e){i[e]=a[e]})),Ee(o.default,e,Ie(wx.getSystemInfoSync().language)||we),Wt(i,pr),i}var br=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function mr(e,t){for(var r,n=e.$children,i=n.length-1;i>=0;i--){var o=n[i];if(o.$scope._$vueId===t)return o}for(var a=n.length-1;a>=0;a--)if(r=mr(n[a],t),r)return r}function xr(e){return Behavior(e)}function wr(){return!!this.route}function _r(e){this.triggerEvent("__l",e)}function Sr(e,t,r){var n=e.selectAllComponents(t);n.forEach((function(e){var n=e.dataset.ref;r[n]=e.$vm||e,"scoped"===e.dataset.vueGeneric&&e.selectAllComponents(".scoped-ref").forEach((function(e){Sr(e,t,r)}))}))}function Ar(e){var t=e.$scope;Object.defineProperty(e,"$refs",{get:function(){var e={};Sr(t,".vue-ref",e);var r=t.selectAllComponents(".vue-ref-in-for");return r.forEach((function(t){var r=t.dataset.ref;e[r]||(e[r]=[]),e[r].push(t.$vm||t)})),e}})}function kr(e){var t,r=e.detail||e.value,n=r.vuePid,i=r.vueOptions;n&&(t=mr(this.$vm,n)),t||(t=this.$vm),i.parent=t}function Pr(e){return yr(e,{mocks:br,initRefs:Ar})}function Mr(e){return App(Pr(e)),e}var Er=/[!'()*]/g,Or=function(e){return"%"+e.charCodeAt(0).toString(16)},Tr=/%2C/g,Cr=function(e){return encodeURIComponent(e).replace(Er,Or).replace(Tr,",")};function Ir(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cr,r=e?Object.keys(e).map((function(r){var n=e[r];if(void 0===n)return"";if(null===n)return t(r);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(t(r)):i.push(t(r)+"="+t(e)))})),i.join("&")}return t(r)+"="+t(n)})).filter((function(e){return e.length>0})).join("&"):null;return r?"?".concat(r):""}function jr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isPage,n=t.initRelation,i=Qt(o.default,e),a=u(i,2),s=a[0],f=a[1],l=c({multipleSlots:!0,addGlobalClass:!0},f.options||{});f["mp-weixin"]&&f["mp-weixin"].options&&Object.assign(l,f["mp-weixin"].options);var d={options:l,data:Gt(f,o.default.prototype),behaviors:Jt(f,xr),properties:er(f.props,!1,f.__file),lifetimes:{attached:function(){var e=this.properties,t={mpType:r.call(this)?"page":"component",mpInstance:this,propsData:e};Kt(e.vueId,this),n.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new s(t),Vt(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:kr,__e:fr}};return f.externalClasses&&(d.externalClasses=f.externalClasses),Array.isArray(f.wxsCallMethods)&&f.wxsCallMethods.forEach((function(e){d.methods[e]=function(t){return this.$vm[e](t)}})),r?d:[d,s]}function Br(e){return jr(e,{isPage:wr,initRelation:_r})}var Dr=["onShow","onHide","onUnload"];function Lr(e,t){t.isPage,t.initRelation;var r=Br(e);return Wt(r.methods,Dr,e),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Ir(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},r}function Fr(e){return Lr(e,{isPage:wr,initRelation:_r})}function Rr(e){return Component(Fr(e))}function Nr(e){return Component(Br(e))}function zr(e){var t=Pr(e),r=getApp({allowDefault:!0});e.$scope=r;var n=r.globalData;if(n&&Object.keys(t.globalData).forEach((function(e){T(n,e)||(n[e]=t.globalData[e])})),Object.keys(t).forEach((function(e){T(r,e)||(r[e]=t[e])})),M(t.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];e.__call_hook("onShow",r)})),M(t.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];e.__call_hook("onHide",r)})),M(t.onLaunch)){var i=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.__call_hook("onLaunch",i)}return e}function Ur(e){var t=Pr(e);if(M(t.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];e.__call_hook("onShow",r)})),M(t.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];e.__call_hook("onHide",r)})),M(t.onLaunch)){var r=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.__call_hook("onLaunch",r)}return e}Dr.push.apply(Dr,qt),nt.forEach((function(e){rt[e]=!1})),it.forEach((function(e){var t=rt[e]&&rt[e].name?rt[e].name:e;wx.canIUse(t)||(rt[e]=!1)}));var qr={};"undefined"!==typeof Proxy?qr=new Proxy({},{get:function(e,t){return T(e,t)?e[t]:Re[t]?Re[t]:Dt[t]?fe(t,Dt[t]):vt[t]?fe(t,vt[t]):ft[t]?fe(t,ft[t]):At[t]?At[t]:T(wx,t)||T(rt,t)?fe(t,ut(t,wx[t])):void 0},set:function(e,t,r){return e[t]=r,!0}}):(Object.keys(Re).forEach((function(e){qr[e]=Re[e]})),Object.keys(ft).forEach((function(e){qr[e]=fe(e,ft[e])})),Object.keys(vt).forEach((function(e){qr[e]=fe(e,ft[e])})),Object.keys(At).forEach((function(e){qr[e]=At[e]})),Object.keys(Dt).forEach((function(e){qr[e]=fe(e,Dt[e])})),Object.keys(wx).forEach((function(e){(T(wx,e)||T(rt,e))&&(qr[e]=fe(e,ut(e,wx[e])))}))),wx.createApp=Mr,wx.createPage=Rr,wx.createComponent=Nr,wx.createSubpackageApp=zr,wx.createPlugin=Ur;var $r=qr,Hr=$r;t.default=Hr}).call(this,r(2))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";(function(e,r){function n(e,t){return c(e)||s(e,t)||o(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function c(e){if(Array.isArray(e))return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}Object.defineProperty(t,"__esModule",{value:!0}),t.compileI18nJsonStr=N,t.hasI18nJson=F,t.initVueI18n=B,t.isI18nStr=z,t.normalizeLocale=T,t.parseI18nJson=R,t.resolveLocale=W,t.isString=t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0;var d=Array.isArray,h=function(e){return null!==e&&"object"===typeof e},p=["{","}"],v=function(){function e(){u(this,e),this._caches=Object.create(null)}return l(e,[{key:"interpolate",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;if(!t)return[e];var n=this._caches[e];return n||(n=b(e,r),this._caches[e]=n),m(n,t)}}]),e}();t.Formatter=v;var g=/^(?:\d)+/,y=/^(?:\w)+/;function b(e,t){var r=n(t,2),i=r[0],o=r[1],a=[],s=0,c="";while(s<e.length){var u=e[s++];if(u===i){c&&a.push({type:"text",value:c}),c="";var f="";u=e[s++];while(void 0!==u&&u!==o)f+=u,u=e[s++];var l=u===o,d=g.test(f)?"list":l&&y.test(f)?"named":"unknown";a.push({value:f,type:d})}else c+=u}return c&&a.push({type:"text",value:c}),a}function m(e,t){var r=[],n=0,i=d(t)?"list":h(t)?"named":"unknown";if("unknown"===i)return r;while(n<e.length){var o=e[n];switch(o.type){case"text":r.push(o.value);break;case"list":r.push(t[parseInt(o.value,10)]);break;case"named":"named"===i?r.push(t[o.value]):console.warn("Type of token '".concat(o.type,"' and format of value '").concat(i,"' don't match!"));break;case"unknown":console.warn("Detect 'unknown' type of token!");break}n++}return r}var x="zh-Hans";t.LOCALE_ZH_HANS=x;var w="zh-Hant";t.LOCALE_ZH_HANT=w;var _="en";t.LOCALE_EN=_;var S="fr";t.LOCALE_FR=S;var A="es";t.LOCALE_ES=A;var k=Object.prototype.hasOwnProperty,P=function(e,t){return k.call(e,t)},M=new v;function E(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}function O(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}function T(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),0===e.indexOf("zh"))return e.indexOf("-hans")>-1?x:e.indexOf("-hant")>-1||E(e,["-tw","-hk","-mo","-cht"])?w:x;var r=O(e,[_,S,A]);return r||void 0}}var C=function(){function e(t){var r=t.locale,n=t.fallbackLocale,i=t.messages,o=t.watcher,a=t.formater;u(this,e),this.locale=_,this.fallbackLocale=_,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=a||M,this.messages=i||{},this.setLocale(r||_),o&&this.watchLocale(o)}return l(e,[{key:"setLocale",value:function(e){var t=this,r=this.locale;this.locale=T(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach((function(e){e(t.locale,r)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,r=this.watchers.push(e)-1;return function(){t.watchers.splice(r,1)}}},{key:"add",value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[e];n?r?Object.assign(n,t):Object.keys(t).forEach((function(e){P(n,e)||(n[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,r){return this.formater.interpolate(e,t,r).join("")}},{key:"t",value:function(e,t,r){var n=this.message;return"string"===typeof t?(t=T(t,this.messages),t&&(n=this.messages[t])):r=t,P(n,e)?this.formater.interpolate(n[e],r).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function I(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function j(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():_}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var i=[t,e];e=i[0],t=i[1]}"string"!==typeof e&&(e=j()),"string"!==typeof r&&(r="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||_);var o=new C({locale:e,fallbackLocale:r,messages:t,watcher:n}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return o.t(e,t)};else{var r=!1;a=function(e,t){var n=getApp().$vm;return n&&(n.$locale,r||(r=!0,I(n,o))),o.t(e,t)}}return a(e,t)};return{i18n:o,f:function(e,t,r){return o.f(e,t,r)},t:function(e,t){return a(e,t)},add:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(e,t,r)},watch:function(e){return o.watchLocale(e)},getLocale:function(){return o.getLocale()},setLocale:function(e){return o.setLocale(e)}}}t.I18n=C;var D,L=function(e){return"string"===typeof e};function F(e,t){return D||(D=new v),H(e,(function(e,r){var n=e[r];return L(n)?!!z(n,t)||void 0:F(n,t)}))}function R(e,t,r){return D||(D=new v),H(e,(function(e,n){var i=e[n];L(i)?z(i,r)&&(e[n]=U(i,t,r)):R(i,t,r)})),e}function N(e,t){var r=t.locale,n=t.locales,i=t.delimiters;if(!z(e,i))return e;D||(D=new v);var o=[];Object.keys(n).forEach((function(e){e!==r&&o.push({locale:e,values:n[e]})})),o.unshift({locale:r,values:n[r]});try{return JSON.stringify($(JSON.parse(e),o,i),null,2)}catch(a){}return e}function z(e,t){return e.indexOf(t[0])>-1}function U(e,t,r){return D.interpolate(e,t,r).join("")}function q(e,t,r,n){var i=e[t];if(L(i)){if(z(i,n)&&(e[t]=U(i,r[0].values,n),r.length>1)){var o=e[t+"Locales"]={};r.forEach((function(e){o[e.locale]=U(i,e.values,n)}))}}else $(i,r,n)}function $(e,t,r){return H(e,(function(e,n){q(e,n,t,r)})),e}function H(e,t){if(d(e)){for(var r=0;r<e.length;r++)if(t(e,r))return!0}else if(h(e))for(var n in e)if(t(e,n))return!0;return!1}function W(e){return function(t){return t?(t=T(t)||t,Q(t).find((function(t){return e.indexOf(t)>-1}))):t}}function Q(e){var t=[],r=e.split("-");while(r.length)t.push(r.join("-")),r.pop();return t}t.isString=L}).call(this,r(1)["default"],r(2))},function(e,t,r){"use strict";r.r(t),function(e){
  2. /*!
  3. * Vue.js v2.6.11
  4. * (c) 2014-2022 Evan You
  5. * Released under the MIT License.
  6. */
  7. var r=Object.freeze({});function n(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function f(e){return u.call(e).slice(8,-1)}function l(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function y(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return t?function(e){return r[e.toLowerCase()]}:function(e){return r[e]}}var b=y("slot,component",!0),m=y("key,ref,slot,slot-scope,is");function x(e,t){if(e.length){var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var w=Object.prototype.hasOwnProperty;function _(e,t){return w.call(e,t)}function S(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var A=/-(\w)/g,k=S((function(e){return e.replace(A,(function(e,t){return t?t.toUpperCase():""}))})),P=S((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),M=/\B([A-Z])/g,E=S((function(e){return e.replace(M,"-$1").toLowerCase()}));function O(e,t){function r(r){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return r._length=e.length,r}function T(e,t){return e.bind(t)}var C=Function.prototype.bind?T:O;function I(e,t){t=t||0;var r=e.length-t,n=new Array(r);while(r--)n[r]=e[r+t];return n}function j(e,t){for(var r in t)e[r]=t[r];return e}function B(e){for(var t={},r=0;r<e.length;r++)e[r]&&j(t,e[r]);return t}function D(e,t,r){}var L=function(e,t,r){return!1},F=function(e){return e};function R(e,t){if(e===t)return!0;var r=c(e),n=c(t);if(!r||!n)return!r&&!n&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,r){return R(e,t[r])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(r){return R(e[r],t[r])}))}catch(u){return!1}}function N(e,t){for(var r=0;r<e.length;r++)if(R(e[r],t))return r;return-1}function z(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var U=["component","directive","filter"],q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],$={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:D,parsePlatformTagName:F,mustUseProp:L,async:!0,_lifecycleHooks:q},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function W(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function Q(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var V=new RegExp("[^"+H.source+".$_\\d]");function K(e){if(!V.test(e)){var t=e.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}var G,X="__proto__"in{},Y="undefined"!==typeof window,J="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Z=J&&WXEnvironment.platform.toLowerCase(),ee=Y&&window.navigator.userAgent.toLowerCase(),te=ee&&/msie|trident/.test(ee),re=(ee&&ee.indexOf("msie 9.0"),ee&&ee.indexOf("edge/")>0),ne=(ee&&ee.indexOf("android"),ee&&/iphone|ipad|ipod|ios/.test(ee)||"ios"===Z),ie=(ee&&/chrome\/\d+/.test(ee),ee&&/phantomjs/.test(ee),ee&&ee.match(/firefox\/(\d+)/),{}.watch);if(Y)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){}}),window.addEventListener("test-passive",null,oe)}catch(Di){}var ae=function(){return void 0===G&&(G=!Y&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),G},se=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var ue,fe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);ue="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var le=D,de=D,he=D,pe=D,ve="undefined"!==typeof console,ge=/(?:^|[-_])(\w)/g,ye=function(e){return e.replace(ge,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};le=function(e,t){var r=t?he(t):"";$.warnHandler?$.warnHandler.call(null,e,t,r):ve&&!$.silent&&console.error("[Vue warn]: "+e+r)},de=function(e,t){ve&&!$.silent&&console.warn("[Vue tip]: "+e+(t?he(t):""))},pe=function(e,t){if(e.$root===e)return e.$options&&e.$options.__file?""+e.$options.__file:"<Root>";var r="function"===typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,n=r.name||r._componentTag,i=r.__file;if(!n&&i){var o=i.match(/([^/\\]+)\.vue$/);n=o&&o[1]}return(n?"<"+ye(n)+">":"<Anonymous>")+(i&&!1!==t?" at "+i:"")};var be=function(e,t){var r="";while(t)t%2===1&&(r+=e),t>1&&(e+=e),t>>=1;return r};he=function(e){if(e._isVue&&e.$parent){var t=[],r=0;while(e&&"PageBody"!==e.$options.name){if(t.length>0){var n=t[t.length-1];if(n.constructor===e.constructor){r++,e=e.$parent;continue}r>0&&(t[t.length-1]=[n,r],r=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 ":be(" ",5+2*t))+(Array.isArray(e)?pe(e[0])+"... ("+e[1]+" recursive calls)":pe(e))})).join("\n")}return"\n\n(found in "+pe(e)+")"};var me=0,xe=function(){this.id=me++,this.subs=[]};function we(e){xe.SharedObject.targetStack.push(e),xe.SharedObject.target=e,xe.target=e}function _e(){xe.SharedObject.targetStack.pop(),xe.SharedObject.target=xe.SharedObject.targetStack[xe.SharedObject.targetStack.length-1],xe.target=xe.SharedObject.target}xe.prototype.addSub=function(e){this.subs.push(e)},xe.prototype.removeSub=function(e){x(this.subs,e)},xe.prototype.depend=function(){xe.SharedObject.target&&xe.SharedObject.target.addDep(this)},xe.prototype.notify=function(){var e=this.subs.slice();$.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,r=e.length;t<r;t++)e[t].update()},xe.SharedObject={},xe.SharedObject.target=null,xe.SharedObject.targetStack=[];var Se=function(e,t,r,n,i,o,a,s){this.tag=e,this.data=t,this.children=r,this.text=n,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ae={child:{configurable:!0}};Ae.child.get=function(){return this.componentInstance},Object.defineProperties(Se.prototype,Ae);var ke=function(e){void 0===e&&(e="");var t=new Se;return t.text=e,t.isComment=!0,t};function Pe(e){return new Se(void 0,void 0,void 0,String(e))}function Me(e){var t=new Se(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ee=Array.prototype,Oe=Object.create(Ee),Te=["push","pop","shift","unshift","splice","sort","reverse"];Te.forEach((function(e){var t=Ee[e];Q(Oe,e,(function(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];var i,o=t.apply(this,r),a=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Ce=Object.getOwnPropertyNames(Oe),Ie=!0;function je(e){Ie=e}var Be=function(e){this.value=e,this.dep=new xe,this.vmCount=0,Q(e,"__ob__",this),Array.isArray(e)?(X?e.push!==e.__proto__.push?Le(e,Oe,Ce):De(e,Oe):Le(e,Oe,Ce),this.observeArray(e)):this.walk(e)};function De(e,t){e.__proto__=t}function Le(e,t,r){for(var n=0,i=r.length;n<i;n++){var o=r[n];Q(e,o,t[o])}}function Fe(e,t){var r;if(c(e)&&!(e instanceof Se))return _(e,"__ob__")&&e.__ob__ instanceof Be?r=e.__ob__:Ie&&!ae()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(r=new Be(e)),t&&r&&r.vmCount++,r}function Re(e,t,r,n,i){var o=new xe,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(r=e[t]);var u=!i&&Fe(r);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):r;return xe.SharedObject.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Ue(t))),t},set:function(t){var a=s?s.call(e):r;t===a||t!==t&&a!==a||(n&&n(),s&&!c||(c?c.call(e,t):r=t,u=!i&&Fe(t),o.notify()))}})}}function Ne(e,t,r){if((n(e)||s(e))&&le("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,r),r;if(t in e&&!(t in Object.prototype))return e[t]=r,r;var i=e.__ob__;return e._isVue||i&&i.vmCount?(le("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),r):i?(Re(i.value,t,r),i.dep.notify(),r):(e[t]=r,r)}function ze(e,t){if((n(e)||s(e))&&le("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&h(t))e.splice(t,1);else{var r=e.__ob__;e._isVue||r&&r.vmCount?le("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):_(e,t)&&(delete e[t],r&&r.dep.notify())}}function Ue(e){for(var t=void 0,r=0,n=e.length;r<n;r++)t=e[r],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ue(t)}Be.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r<t.length;r++)Re(e,t[r])},Be.prototype.observeArray=function(e){for(var t=0,r=e.length;t<r;t++)Fe(e[t])};var qe=$.optionMergeStrategies;function $e(e,t){if(!t)return e;for(var r,n,i,o=fe?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)r=o[a],"__ob__"!==r&&(n=e[r],i=t[r],_(e,r)?n!==i&&l(n)&&l(i)&&$e(n,i):Ne(e,r,i));return e}function He(e,t,r){return r?function(){var n="function"===typeof t?t.call(r,r):t,i="function"===typeof e?e.call(r,r):e;return n?$e(n,i):i}:t?e?function(){return $e("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function We(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?Qe(r):r}function Qe(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}function Ve(e,t,r,n){var i=Object.create(e||null);return t?(et(n,t,r),j(i,t)):i}qe.el=qe.propsData=function(e,t,r,n){return r||le('option "'+n+'" can only be used during instance creation with the `new` keyword.'),Ke(e,t)},qe.data=function(e,t,r){return r?He(e,t,r):t&&"function"!==typeof t?(le('The "data" option should be a function that returns a per-instance value in component definitions.',r),e):He(e,t)},q.forEach((function(e){qe[e]=We})),U.forEach((function(e){qe[e+"s"]=Ve})),qe.watch=function(e,t,r,n){if(e===ie&&(e=void 0),t===ie&&(t=void 0),!t)return Object.create(e||null);if(et(n,t,r),!e)return t;var i={};for(var o in j(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},qe.props=qe.methods=qe.inject=qe.computed=function(e,t,r,n){if(t&&et(n,t,r),!e)return t;var i=Object.create(null);return j(i,e),t&&j(i,t),i},qe.provide=He;var Ke=function(e,t){return void 0===t?e:t};function Ge(e){for(var t in e.components)Xe(t)}function Xe(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+H.source+"]*$").test(e)||le('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(b(e)||$.isReservedTag(e))&&le("Do not use built-in or reserved HTML elements as component id: "+e)}function Ye(e,t){var r=e.props;if(r){var n,i,o,a={};if(Array.isArray(r)){n=r.length;while(n--)i=r[n],"string"===typeof i?(o=k(i),a[o]={type:null}):le("props must be strings when using array syntax.")}else if(l(r))for(var s in r)i=r[s],o=k(s),a[o]=l(i)?i:{type:i};else le('Invalid value for option "props": expected an Array or an Object, but got '+f(r)+".",t);e.props=a}}function Je(e,t){var r=e.inject;if(r){var n=e.inject={};if(Array.isArray(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(l(r))for(var o in r){var a=r[o];n[o]=l(a)?j({from:o},a):{from:a}}else le('Invalid value for option "inject": expected an Array or an Object, but got '+f(r)+".",t)}}function Ze(e){var t=e.directives;if(t)for(var r in t){var n=t[r];"function"===typeof n&&(t[r]={bind:n,update:n})}}function et(e,t,r){l(t)||le('Invalid value for option "'+e+'": expected an Object, but got '+f(t)+".",r)}function tt(e,t,r){if(Ge(t),"function"===typeof t&&(t=t.options),Ye(t,r),Je(t,r),Ze(t),!t._base&&(t.extends&&(e=tt(e,t.extends,r)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=tt(e,t.mixins[n],r);var o,a={};for(o in e)s(o);for(o in t)_(e,o)||s(o);function s(n){var i=qe[n]||Ke;a[n]=i(e[n],t[n],r,n)}return a}function rt(e,t,r,n){if("string"===typeof r){var i=e[t];if(_(i,r))return i[r];var o=k(r);if(_(i,o))return i[o];var a=P(o);if(_(i,a))return i[a];var s=i[r]||i[o]||i[a];return n&&!s&&le("Failed to resolve "+t.slice(0,-1)+": "+r,e),s}}function nt(e,t,r,n){var i=t[e],o=!_(r,e),a=r[e],s=ft(Boolean,i.type);if(s>-1)if(o&&!_(i,"default"))a=!1;else if(""===a||a===E(e)){var c=ft(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=it(n,i,e);var u=Ie;je(!0),Fe(a),je(u)}return ot(i,e,a,n,o),a}function it(e,t,r){if(_(t,"default")){var n=t.default;return c(n)&&le('Invalid default value for prop "'+r+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[r]&&void 0!==e._props[r]?e._props[r]:"function"===typeof n&&"Function"!==ct(t.type)?n.call(e):n}}function ot(e,t,r,n,i){if(e.required&&i)le('Missing required prop: "'+t+'"',n);else if(null!=r||e.required){var o=e.type,a=!o||!0===o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var c=0;c<o.length&&!a;c++){var u=st(r,o[c]);s.push(u.expectedType||""),a=u.valid}}if(a){var f=e.validator;f&&(f(r)||le('Invalid prop: custom validator check failed for prop "'+t+'".',n))}else le(lt(t,r,s),n)}}var at=/^(String|Number|Boolean|Function|Symbol)$/;function st(e,t){var r,n=ct(t);if(at.test(n)){var i=typeof e;r=i===n.toLowerCase(),r||"object"!==i||(r=e instanceof t)}else r="Object"===n?l(e):"Array"===n?Array.isArray(e):e instanceof t;return{valid:r,expectedType:n}}function ct(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function ut(e,t){return ct(e)===ct(t)}function ft(e,t){if(!Array.isArray(t))return ut(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(ut(t[r],e))return r;return-1}function lt(e,t,r){var n='Invalid prop: type check failed for prop "'+e+'". Expected '+r.map(P).join(", "),i=r[0],o=f(t),a=dt(t,i),s=dt(t,o);return 1===r.length&&ht(i)&&!pt(i,o)&&(n+=" with value "+a),n+=", got "+o+" ",ht(o)&&(n+="with value "+s+"."),n}function dt(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function ht(e){var t=["string","number","boolean"];return t.some((function(t){return e.toLowerCase()===t}))}function pt(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];return e.some((function(e){return"boolean"===e.toLowerCase()}))}function vt(e,t,r){we();try{if(t){var n=t;while(n=n.$parent){var i=n.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(n,e,t,r);if(a)return}catch(Di){yt(Di,n,"errorCaptured hook")}}}yt(e,t,r)}finally{_e()}}function gt(e,t,r,n,i){var o;try{o=r?e.apply(t,r):e.call(t),o&&!o._isVue&&p(o)&&!o._handled&&(o.catch((function(e){return vt(e,n,i+" (Promise/async)")})),o._handled=!0)}catch(Di){vt(Di,n,i)}return o}function yt(e,t,r){if($.errorHandler)try{return $.errorHandler.call(null,e,t,r)}catch(Di){Di!==e&&bt(Di,null,"config.errorHandler")}bt(e,t,r)}function bt(e,t,r){if(le("Error in "+r+': "'+e.toString()+'"',t),!Y&&!J||"undefined"===typeof console)throw e;console.error(e)}var mt,xt,wt=[],_t=!1;function St(){_t=!1;var e=wt.slice(0);wt.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&ce(Promise)){var At=Promise.resolve();mt=function(){At.then(St),ne&&setTimeout(D)}}else if(te||"undefined"===typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())mt="undefined"!==typeof setImmediate&&ce(setImmediate)?function(){setImmediate(St)}:function(){setTimeout(St,0)};else{var kt=1,Pt=new MutationObserver(St),Mt=document.createTextNode(String(kt));Pt.observe(Mt,{characterData:!0}),mt=function(){kt=(kt+1)%2,Mt.data=String(kt)}}function Et(e,t){var r;if(wt.push((function(){if(e)try{e.call(t)}catch(Di){vt(Di,t,"nextTick")}else r&&r(t)})),_t||(_t=!0,mt()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){r=e}))}var Ot=y("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),Tt=function(e,t){le('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},Ct=function(e,t){le('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},It="undefined"!==typeof Proxy&&ce(Proxy);if(It){var jt=y("stop,prevent,self,ctrl,shift,alt,meta,exact");$.keyCodes=new Proxy($.keyCodes,{set:function(e,t,r){return jt(t)?(le("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=r,!0)}})}var Bt={has:function(e,t){var r=t in e,n=Ot(t)||"string"===typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return r||n||(t in e.$data?Ct(e,t):Tt(e,t)),r||!n}},Dt={get:function(e,t){return"string"!==typeof t||t in e||(t in e.$data?Ct(e,t):Tt(e,t)),e[t]}};xt=function(e){if(It){var t=e.$options,r=t.render&&t.render._withStripped?Dt:Bt;e._renderProxy=new Proxy(e,r)}else e._renderProxy=e};var Lt,Ft,Rt=new ue;function Nt(e){zt(e,Rt),Rt.clear()}function zt(e,t){var r,n,i=Array.isArray(e);if(!(!i&&!c(e)||Object.isFrozen(e)||e instanceof Se)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i){r=e.length;while(r--)zt(e[r],t)}else{n=Object.keys(e),r=n.length;while(r--)zt(e[n[r]],t)}}}var Ut=Y&&window.performance;Ut&&Ut.mark&&Ut.measure&&Ut.clearMarks&&Ut.clearMeasures&&(Lt=function(e){return Ut.mark(e)},Ft=function(e,t,r){Ut.measure(e,t,r),Ut.clearMarks(t),Ut.clearMarks(r)});var qt=S((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var r="~"===e.charAt(0);e=r?e.slice(1):e;var n="!"===e.charAt(0);return e=n?e.slice(1):e,{name:e,once:r,capture:n,passive:t}}));function $t(e,t){function r(){var e=arguments,n=r.fns;if(!Array.isArray(n))return gt(n,null,arguments,t,"v-on handler");for(var i=n.slice(),o=0;o<i.length;o++)gt(i[o],null,e,t,"v-on handler")}return r.fns=e,r}function Ht(e,t,r,i,a,s){var c,u,f,l;for(c in e)u=e[c],f=t[c],l=qt(c),n(u)?le('Invalid handler for event "'+l.name+'": got '+String(u),s):n(f)?(n(u.fns)&&(u=e[c]=$t(u,s)),o(l.once)&&(u=e[c]=a(l.name,u,l.capture)),r(l.name,u,l.capture,l.passive,l.params)):u!==f&&(f.fns=u,e[c]=f);for(c in t)n(e[c])&&(l=qt(c),i(l.name,t[c],l.capture))}function Wt(e,t,r,o){var a=t.options.mpOptions&&t.options.mpOptions.properties;if(n(a))return r;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,u=e.props;if(i(c)||i(u))for(var f in a){var l=E(f),d=Vt(r,u,f,l,!0)||Vt(r,c,f,l,!1);d&&r[f]&&-1!==s.indexOf(l)&&o[k(r[f])]&&(r[f]=o[k(r[f])])}return r}function Qt(e,t,r,o){var a=t.options.props;if(n(a))return Wt(e,t,{},o);var s={},c=e.attrs,u=e.props;if(i(c)||i(u))for(var f in a){var l=E(f),d=f.toLowerCase();f!==d&&c&&_(c,d)&&de('Prop "'+d+'" is passed to component '+pe(r||t)+', but the declared prop name is "'+f+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+l+'" instead of "'+f+'".'),Vt(s,u,f,l,!0)||Vt(s,c,f,l,!1)}return Wt(e,t,s,o)}function Vt(e,t,r,n,o){if(i(t)){if(_(t,r))return e[r]=t[r],o||delete t[r],!0;if(_(t,n))return e[r]=t[n],o||delete t[n],!0}return!1}function Kt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Gt(e){return s(e)?[Pe(e)]:Array.isArray(e)?Yt(e):void 0}function Xt(e){return i(e)&&i(e.text)&&a(e.isComment)}function Yt(e,t){var r,a,c,u,f=[];for(r=0;r<e.length;r++)a=e[r],n(a)||"boolean"===typeof a||(c=f.length-1,u=f[c],Array.isArray(a)?a.length>0&&(a=Yt(a,(t||"")+"_"+r),Xt(a[0])&&Xt(u)&&(f[c]=Pe(u.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?Xt(u)?f[c]=Pe(u.text+a):""!==a&&f.push(Pe(a)):Xt(a)&&Xt(u)?f[c]=Pe(u.text+a.text):(o(e._isVList)&&i(a.tag)&&n(a.key)&&i(t)&&(a.key="__vlist"+t+"_"+r+"__"),f.push(a)));return f}function Jt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Zt(e){var t=er(e.$options.inject,e);t&&(je(!1),Object.keys(t).forEach((function(r){Re(e,r,t[r],(function(){le('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+r+'"',e)}))})),je(!0))}function er(e,t){if(e){for(var r=Object.create(null),n=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i<n.length;i++){var o=n[i];if("__ob__"!==o){var a=e[o].from,s=t;while(s){if(s._provided&&_(s._provided,a)){r[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var c=e[o].default;r[o]="function"===typeof c?c.call(t):c}else le('Injection "'+o+'" not found',t)}}return r}}function tr(e,t){if(!e||!e.length)return{};for(var r={},n=0,i=e.length;n<i;n++){var o=e[n],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)o.asyncMeta&&o.asyncMeta.data&&"page"===o.asyncMeta.data.slot?(r["page"]||(r["page"]=[])).push(o):(r.default||(r.default=[])).push(o);else{var s=a.slot,c=r[s]||(r[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in r)r[u].every(rr)&&delete r[u];return r}function rr(e){return e.isComment&&!e.asyncFactory||" "===e.text}function nr(e,t,n){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=ir(t,c,e[c]))}else i={};for(var u in t)u in i||(i[u]=or(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),Q(i,"$stable",a),Q(i,"$key",s),Q(i,"$hasNormal",o),i}function ir(e,t,r){var n=function(){var e=arguments.length?r.apply(null,arguments):r({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Gt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return r.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function or(e,t){return function(){return e[t]}}function ar(e,t){var r,n,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(r=new Array(e.length),n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,n,n);else if("number"===typeof e)for(r=new Array(e),n=0;n<e;n++)r[n]=t(n+1,n,n,n);else if(c(e))if(fe&&e[Symbol.iterator]){r=[];var u=e[Symbol.iterator](),f=u.next();while(!f.done)r.push(t(f.value,r.length,n,n++)),f=u.next()}else for(a=Object.keys(e),r=new Array(a.length),n=0,o=a.length;n<o;n++)s=a[n],r[n]=t(e[s],s,n,n);return i(r)||(r=[]),r._isVList=!0,r}function sr(e,t,r,n){var i,o=this.$scopedSlots[e];o?(r=r||{},n&&(c(n)||le("slot v-bind without argument expects an Object",this),r=j(j({},n),r)),i=o(r,this,r._i)||t):i=this.$slots[e]||t;var a=r&&r.slot;return a?this.$createElement("template",{slot:a},i):i}function cr(e){return rt(this.$options,"filters",e,!0)||F}function ur(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function fr(e,t,r,n,i){var o=$.keyCodes[t]||r;return i&&n&&!$.keyCodes[t]?ur(i,n):o?ur(o,e):n?E(n)!==t:void 0}function lr(e,t,r,n,i){if(r)if(c(r)){var o;Array.isArray(r)&&(r=B(r));var a=function(a){if("class"===a||"style"===a||m(a))o=e;else{var s=e.attrs&&e.attrs.type;o=n||$.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=k(a),u=E(a);if(!(c in o)&&!(u in o)&&(o[a]=r[a],i)){var f=e.on||(e.on={});f["update:"+a]=function(e){r[a]=e}}};for(var s in r)a(s)}else le("v-bind without argument expects an Object or Array value",this);return e}function dr(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t||(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),pr(n,"__static__"+e,!1)),n}function hr(e,t,r){return pr(e,"__once__"+t+(r?"_"+r:""),!0),e}function pr(e,t,r){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!==typeof e[n]&&vr(e[n],t+"_"+n,r);else vr(e,t,r)}function vr(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function gr(e,t){if(t)if(l(t)){var r=e.on=e.on?j({},e.on):{};for(var n in t){var i=r[n],o=t[n];r[n]=i?[].concat(i,o):o}}else le("v-on without argument expects an Object value",this);return e}function yr(e,t,r,n){t=t||{$stable:!r};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?yr(o,t,r):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return n&&(t.$key=n),t}function br(e,t){for(var r=0;r<t.length;r+=2){var n=t[r];"string"===typeof n&&n?e[t[r]]=t[r+1]:""!==n&&null!==n&&le("Invalid value for dynamic directive argument (expected string or null): "+n,this)}return e}function mr(e,t){return"string"===typeof e?t+e:e}function xr(e){e._o=hr,e._n=g,e._s=v,e._l=ar,e._t=sr,e._q=R,e._i=N,e._m=dr,e._f=cr,e._k=fr,e._b=lr,e._v=Pe,e._e=ke,e._u=yr,e._g=gr,e._d=br,e._p=mr}function wr(e,t,n,i,a){var s,c=this,u=a.options;_(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var f=o(u._compiled),l=!f;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=er(u.inject,i),this.slots=function(){return c.$slots||nr(e.scopedSlots,c.$slots=tr(n,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return nr(e.scopedSlots,this.slots())}}),f&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=nr(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,r,n){var o=Br(s,e,t,r,n,l);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(e,t,r,n){return Br(s,e,t,r,n,l)}}function _r(e,t,n,o,a){var s=e.options,c={},u=s.props;if(i(u))for(var f in u)c[f]=nt(f,u,t||r);else i(n.attrs)&&Ar(c,n.attrs),i(n.props)&&Ar(c,n.props);var l=new wr(n,c,a,o,e),d=s.render.call(null,l._c,l);if(d instanceof Se)return Sr(d,n,l.parent,s,l);if(Array.isArray(d)){for(var h=Gt(d)||[],p=new Array(h.length),v=0;v<h.length;v++)p[v]=Sr(h[v],n,l.parent,s,l);return p}}function Sr(e,t,r,n,i){var o=Me(e);return o.fnContext=r,o.fnOptions=n,(o.devtoolsMeta=o.devtoolsMeta||{}).renderContext=i,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Ar(e,t){for(var r in t)e[k(r)]=t[r]}xr(wr.prototype);var kr={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;kr.prepatch(r,r)}else{var n=e.componentInstance=Er(e,Zr);n.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions,n=t.componentInstance=e.componentInstance;on(n,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(un(r,"onServiceCreated"),un(r,"onServiceAttached"),r._isMounted=!0,un(r,"mounted")),e.data.keepAlive&&(t._isMounted?Sn(r):sn(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?cn(t,!0):t.$destroy())}},Pr=Object.keys(kr);function Mr(e,t,r,a,s){if(!n(e)){var u=r.$options._base;if(c(e)&&(e=u.extend(e)),"function"===typeof e){var f;if(n(e.cid)&&(f=e,e=Hr(f,u),void 0===e))return $r(f,t,r,a,s);t=t||{},Qn(e),i(t.model)&&Cr(e.options,t);var l=Qt(t,e,s,r);if(o(e.options.functional))return _r(e,l,t,r,a);var d=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}Or(t);var p=e.options.name||s,v=new Se("vue-component-"+e.cid+(p?"-"+p:""),t,void 0,void 0,void 0,r,{Ctor:e,propsData:l,listeners:d,tag:s,children:a},f);return v}le("Invalid Component definition: "+String(e),r)}}function Er(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return i(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(r)}function Or(e){for(var t=e.hook||(e.hook={}),r=0;r<Pr.length;r++){var n=Pr[r],i=t[n],o=kr[n];i===o||i&&i._merged||(t[n]=i?Tr(o,i):o)}}function Tr(e,t){var r=function(r,n){e(r,n),t(r,n)};return r._merged=!0,r}function Cr(e,t){var r=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var o=t.on||(t.on={}),a=o[n],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[n]=[s].concat(a)):o[n]=s}var Ir=1,jr=2;function Br(e,t,r,n,i,a){return(Array.isArray(r)||s(r))&&(i=n,n=r,r=void 0),o(a)&&(i=jr),Dr(e,t,r,n,i)}function Dr(e,t,r,n,o){if(i(r)&&i(r.__ob__))return le("Avoid using observed data object as vnode data: "+JSON.stringify(r)+"\nAlways create fresh vnode data objects in each render!",e),ke();if(i(r)&&i(r.is)&&(t=r.is),!t)return ke();var a,c,u;(i(r)&&i(r.key)&&!s(r.key)&&le("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(n)&&"function"===typeof n[0]&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),o===jr?n=Gt(n):o===Ir&&(n=Kt(n)),"string"===typeof t)?(c=e.$vnode&&e.$vnode.ns||$.getTagNamespace(t),$.isReservedTag(t)?(i(r)&&i(r.nativeOn)&&le("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),a=new Se($.parsePlatformTagName(t),r,n,void 0,void 0,e)):a=r&&r.pre||!i(u=rt(e.$options,"components",t))?new Se(t,r,n,void 0,void 0,e):Mr(u,r,e,n,t)):a=Mr(t,r,e,n);return Array.isArray(a)?a:i(a)?(i(c)&&Lr(a,c),i(r)&&Fr(r),a):ke()}function Lr(e,t,r){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,r=!0),i(e.children))for(var a=0,s=e.children.length;a<s;a++){var c=e.children[a];i(c.tag)&&(n(c.ns)||o(r)&&"svg"!==c.tag)&&Lr(c,t,r)}}function Fr(e){c(e.style)&&Nt(e.style),c(e.class)&&Nt(e.class)}function Rr(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=tr(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,r,n,i){return Br(e,t,r,n,i,!1)},e.$createElement=function(t,r,n,i){return Br(e,t,r,n,i,!0)};var o=n&&n.data;Re(e,"$attrs",o&&o.attrs||r,(function(){!en&&le("$attrs is readonly.",e)}),!0),Re(e,"$listeners",t._parentListeners||r,(function(){!en&&le("$listeners is readonly.",e)}),!0)}var Nr,zr=null;function Ur(e){xr(e.prototype),e.prototype.$nextTick=function(e){return Et(e,this)},e.prototype._render=function(){var e,t=this,r=t.$options,n=r.render,i=r._parentVnode;i&&(t.$scopedSlots=nr(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{zr=t,e=n.call(t._renderProxy,t.$createElement)}catch(Di){if(vt(Di,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,Di)}catch(Di){vt(Di,t,"renderError"),e=t._vnode}else e=t._vnode}finally{zr=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof Se||(Array.isArray(e)&&le("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=ke()),e.parent=i,e}}function qr(e,t){return(e.__esModule||fe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function $r(e,t,r,n,i){var o=ke();return o.asyncFactory=e,o.asyncMeta={data:t,context:r,children:n,tag:i},o}function Hr(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var r=zr;if(r&&i(e.owners)&&-1===e.owners.indexOf(r)&&e.owners.push(r),o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(r&&!i(e.owners)){var a=e.owners=[r],s=!0,u=null,f=null;r.$on("hook:destroyed",(function(){return x(a,r)}));var l=function(e){for(var t=0,r=a.length;t<r;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==f&&(clearTimeout(f),f=null))},d=z((function(r){e.resolved=qr(r,t),s?a.length=0:l(!0)})),h=z((function(t){le("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),i(e.errorComp)&&(e.error=!0,l(!0))})),v=e(d,h);return c(v)&&(p(v)?n(e.resolved)&&v.then(d,h):p(v.component)&&(v.component.then(d,h),i(v.error)&&(e.errorComp=qr(v.error,t)),i(v.loading)&&(e.loadingComp=qr(v.loading,t),0===v.delay?e.loading=!0:u=setTimeout((function(){u=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,l(!1))}),v.delay||200)),i(v.timeout)&&(f=setTimeout((function(){f=null,n(e.resolved)&&h("timeout ("+v.timeout+"ms)")}),v.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function Wr(e){return e.isComment&&e.asyncFactory}function Qr(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var r=e[t];if(i(r)&&(i(r.componentOptions)||Wr(r)))return r}}function Vr(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Yr(e,t)}function Kr(e,t){Nr.$on(e,t)}function Gr(e,t){Nr.$off(e,t)}function Xr(e,t){var r=Nr;return function n(){var i=t.apply(null,arguments);null!==i&&r.$off(e,n)}}function Yr(e,t,r){Nr=e,Ht(t,r||{},Kr,Gr,Xr,e),Nr=void 0}function Jr(e){var t=/^hook:/;e.prototype.$on=function(e,r){var n=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)n.$on(e[i],r);else(n._events[e]||(n._events[e]=[])).push(r),t.test(e)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(e,t){var r=this;function n(){r.$off(e,n),t.apply(r,arguments)}return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var n=0,i=e.length;n<i;n++)r.$off(e[n],t);return r}var o,a=r._events[e];if(!a)return r;if(!t)return r._events[e]=null,r;var s=a.length;while(s--)if(o=a[s],o===t||o.fn===t){a.splice(s,1);break}return r},e.prototype.$emit=function(e){var t=this,r=e.toLowerCase();r!==e&&t._events[r]&&de('Event "'+r+'" is emitted in component '+pe(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+E(e)+'" instead of "'+e+'".');var n=t._events[e];if(n){n=n.length>1?I(n):n;for(var i=I(arguments,1),o='event handler for "'+e+'"',a=0,s=n.length;a<s;a++)gt(n[a],t,i,t,o)}return t}}var Zr=null,en=!1;function tn(e){var t=Zr;return Zr=e,function(){Zr=t}}function rn(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){while(r.$options.abstract&&r.$parent)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function nn(e){e.prototype._update=function(e,t){var r=this,n=r.$el,i=r._vnode,o=tn(r);r._vnode=e,r.$el=i?r.__patch__(i,e):r.__patch__(r.$el,e,t,!1),o(),n&&(n.__vue__=null),r.$el&&(r.$el.__vue__=r),r.$vnode&&r.$parent&&r.$vnode===r.$parent._vnode&&(r.$parent.$el=r.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){un(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||x(t.$children,e),e._watcher&&e._watcher.teardown();var r=e._watchers.length;while(r--)e._watchers[r].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),un(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function on(e,t,n,i,o){en=!0;var a=i.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){je(!1);for(var f=e._props,l=e.$options._propKeys||[],d=0;d<l.length;d++){var h=l[d],p=e.$options.props;f[h]=nt(h,p,t,e)}je(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),n=n||r;var v=e.$options._parentListeners;e.$options._parentListeners=n,Yr(e,n,v),u&&(e.$slots=tr(o,i.context),e.$forceUpdate()),en=!1}function an(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function sn(e,t){if(t){if(e._directInactive=!1,an(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var r=0;r<e.$children.length;r++)sn(e.$children[r]);un(e,"activated")}}function cn(e,t){if((!t||(e._directInactive=!0,!an(e)))&&!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)cn(e.$children[r]);un(e,"deactivated")}}function un(e,t){we();var r=e.$options[t],n=t+" hook";if(r)for(var i=0,o=r.length;i<o;i++)gt(r[i],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),_e()}var fn=100,ln=[],dn=[],hn={},pn={},vn=!1,gn=!1,yn=0;function bn(){yn=ln.length=dn.length=0,hn={},pn={},vn=gn=!1}var mn=Date.now;if(Y&&!te){var xn=window.performance;xn&&"function"===typeof xn.now&&mn()>document.createEvent("Event").timeStamp&&(mn=function(){return xn.now()})}function wn(){var e,t;for(mn(),gn=!0,ln.sort((function(e,t){return e.id-t.id})),yn=0;yn<ln.length;yn++)if(e=ln[yn],e.before&&e.before(),t=e.id,hn[t]=null,e.run(),null!=hn[t]&&(pn[t]=(pn[t]||0)+1,pn[t]>fn)){le("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var r=dn.slice(),n=ln.slice();bn(),An(r),_n(n),se&&$.devtools&&se.emit("flush")}function _n(e){var t=e.length;while(t--){var r=e[t],n=r.vm;n._watcher===r&&n._isMounted&&!n._isDestroyed&&un(n,"updated")}}function Sn(e){e._inactive=!1,dn.push(e)}function An(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,sn(e[t],!0)}function kn(e){var t=e.id;if(null==hn[t]){if(hn[t]=!0,gn){var r=ln.length-1;while(r>yn&&ln[r].id>e.id)r--;ln.splice(r+1,0,e)}else ln.push(e);if(!vn){if(vn=!0,!$.async)return void wn();Et(wn)}}}var Pn=0,Mn=function(e,t,r,n,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++Pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression=t.toString(),"function"===typeof t?this.getter=t:(this.getter=K(t),this.getter||(this.getter=D,le('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()};Mn.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Di){if(!this.user)throw Di;vt(Di,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Nt(e),_e(),this.cleanupDeps()}return e},Mn.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))},Mn.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Mn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():kn(this)},Mn.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(Di){vt(Di,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Mn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Mn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},Mn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||x(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var En={enumerable:!0,configurable:!0,get:D,set:D};function On(e,t,r){En.get=function(){return this[t][r]},En.set=function(e){this[t][r]=e},Object.defineProperty(e,r,En)}function Tn(e){e._watchers=[];var t=e.$options;t.props&&Cn(e,t.props),t.methods&&Nn(e,t.methods),t.data?In(e):Fe(e._data={},!0),t.computed&&Dn(e,t.computed),t.watch&&t.watch!==ie&&zn(e,t.watch)}function Cn(e,t){var r=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||je(!1);var a=function(a){i.push(a);var s=nt(a,t,r,e),c=E(a);(m(c)||$.isReservedAttr(c))&&le('"'+c+'" is a reserved attribute and cannot be used as component prop.',e),Re(n,a,s,(function(){if(!o&&!en){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}le("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||On(e,"_props",a)};for(var s in t)a(s);je(!0)}function In(e){var t=e.$options.data;t=e._data="function"===typeof t?jn(t,e):t||{},l(t)||(t={},le("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));var r=Object.keys(t),n=e.$options.props,i=e.$options.methods,o=r.length;while(o--){var a=r[o];i&&_(i,a)&&le('Method "'+a+'" has already been defined as a data property.',e),n&&_(n,a)?le('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):W(a)||On(e,"_data",a)}Fe(t,!0)}function jn(e,t){we();try{return e.call(t,t)}catch(Di){return vt(Di,t,"data()"),{}}finally{_e()}}var Bn={lazy:!0};function Dn(e,t){var r=e._computedWatchers=Object.create(null),n=ae();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;null==a&&le('Getter is missing for computed property "'+i+'".',e),n||(r[i]=new Mn(e,a||D,D,Bn)),i in e?i in e.$data?le('The computed property "'+i+'" is already defined in data.',e):e.$options.props&&i in e.$options.props&&le('The computed property "'+i+'" is already defined as a prop.',e):Ln(e,i,o)}}function Ln(e,t,r){var n=!ae();"function"===typeof r?(En.get=n?Fn(t):Rn(r),En.set=D):(En.get=r.get?n&&!1!==r.cache?Fn(t):Rn(r.get):D,En.set=r.set||D),En.set===D&&(En.set=function(){le('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,En)}function Fn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),xe.SharedObject.target&&t.depend(),t.value}}function Rn(e){return function(){return e.call(this,this)}}function Nn(e,t){var r=e.$options.props;for(var n in t)"function"!==typeof t[n]&&le('Method "'+n+'" has type "'+typeof t[n]+'" in the component definition. Did you reference the function correctly?',e),r&&_(r,n)&&le('Method "'+n+'" has already been defined as a prop.',e),n in e&&W(n)&&le('Method "'+n+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[n]="function"!==typeof t[n]?D:C(t[n],e)}function zn(e,t){for(var r in t){var n=t[r];if(Array.isArray(n))for(var i=0;i<n.length;i++)Un(e,r,n[i]);else Un(e,r,n)}}function Un(e,t,r,n){return l(r)&&(n=r,r=r.handler),"string"===typeof r&&(r=e[r]),e.$watch(t,r,n)}function qn(e){var t={get:function(){return this._data}},r={get:function(){return this._props}};t.set=function(){le("Avoid replacing instance root $data. Use nested data properties instead.",this)},r.set=function(){le("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",r),e.prototype.$set=Ne,e.prototype.$delete=ze,e.prototype.$watch=function(e,t,r){var n=this;if(l(t))return Un(n,e,t,r);r=r||{},r.user=!0;var i=new Mn(n,e,t,r);if(r.immediate)try{t.call(n,i.value)}catch(o){vt(o,n,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var $n=0;function Hn(e){e.prototype._init=function(e){var t,r,n=this;n._uid=$n++,$.performance&&Lt&&(t="vue-perf-start:"+n._uid,r="vue-perf-end:"+n._uid,Lt(t)),n._isVue=!0,e&&e._isComponent?Wn(n,e):n.$options=tt(Qn(n.constructor),e||{},n),xt(n),n._self=n,rn(n),Vr(n),Rr(n),un(n,"beforeCreate"),!n._$fallback&&Zt(n),Tn(n),!n._$fallback&&Jt(n),!n._$fallback&&un(n,"created"),$.performance&&Lt&&(n._name=pe(n,!1),Lt(r),Ft("vue "+n._name+" init",t,r)),n.$options.el&&n.$mount(n.$options.el)}}function Wn(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}function Qn(e){var t=e.options;if(e.super){var r=Qn(e.super),n=e.superOptions;if(r!==n){e.superOptions=r;var i=Vn(e);i&&j(e.extendOptions,i),t=e.options=tt(r,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Vn(e){var t,r=e.options,n=e.sealedOptions;for(var i in r)r[i]!==n[i]&&(t||(t={}),t[i]=r[i]);return t}function Kn(e){this instanceof Kn||le("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Gn(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var r=I(arguments,1);return r.unshift(this),"function"===typeof e.install?e.install.apply(e,r):"function"===typeof e&&e.apply(null,r),t.push(e),this}}function Xn(e){e.mixin=function(e){return this.options=tt(this.options,e),this}}function Yn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var r=this,n=r.cid,i=e._Ctor||(e._Ctor={});if(i[n])return i[n];var o=e.name||r.options.name;o&&Xe(o);var a=function(e){this._init(e)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=tt(r.options,e),a["super"]=r,a.options.props&&Jn(a),a.options.computed&&Zn(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,U.forEach((function(e){a[e]=r[e]})),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=e,a.sealedOptions=j({},a.options),i[n]=a,a}}function Jn(e){var t=e.options.props;for(var r in t)On(e.prototype,"_props",r)}function Zn(e){var t=e.options.computed;for(var r in t)Ln(e.prototype,r,t[r])}function ei(e){U.forEach((function(t){e[t]=function(e,r){return r?("component"===t&&Xe(e),"component"===t&&l(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),"directive"===t&&"function"===typeof r&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}}))}function ti(e){return e&&(e.Ctor.options.name||e.tag)}function ri(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function ni(e,t){var r=e.cache,n=e.keys,i=e._vnode;for(var o in r){var a=r[o];if(a){var s=ti(a.componentOptions);s&&!t(s)&&ii(r,o,n,i)}}}function ii(e,t,r,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,x(r,t)}Hn(Kn),qn(Kn),Jr(Kn),nn(Kn),Ur(Kn);var oi=[String,RegExp,Array],ai={name:"keep-alive",abstract:!0,props:{include:oi,exclude:oi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ii(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){ni(e,(function(e){return ri(t,e)}))})),this.$watch("exclude",(function(t){ni(e,(function(e){return!ri(t,e)}))}))},render:function(){var e=this.$slots.default,t=Qr(e),r=t&&t.componentOptions;if(r){var n=ti(r),i=this,o=i.include,a=i.exclude;if(o&&(!n||!ri(o,n))||a&&n&&ri(a,n))return t;var s=this,c=s.cache,u=s.keys,f=null==t.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):t.key;c[f]?(t.componentInstance=c[f].componentInstance,x(u,f),u.push(f)):(c[f]=t,u.push(f),this.max&&u.length>parseInt(this.max)&&ii(c,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},si={KeepAlive:ai};function ci(e){var t={get:function(){return $},set:function(){le("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:j,mergeOptions:tt,defineReactive:Re},e.set=Ne,e.delete=ze,e.nextTick=Et,e.observable=function(e){return Fe(e),e},e.options=Object.create(null),U.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,j(e.options.components,si),Gn(e),Xn(e),Yn(e),ei(e)}ci(Kn),Object.defineProperty(Kn.prototype,"$isServer",{get:ae}),Object.defineProperty(Kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Kn,"FunctionalRenderContext",{value:wr}),Kn.version="2.6.11";var ui="[object Array]",fi="[object Object]";function li(e,t){var r={};return di(e,t),hi(e,t,"",r),r}function di(e,t){if(e!==t){var r=vi(e),n=vi(t);if(r==fi&&n==fi){if(Object.keys(e).length>=Object.keys(t).length)for(var i in t){var o=e[i];void 0===o?e[i]=null:di(o,t[i])}}else r==ui&&n==ui&&e.length>=t.length&&t.forEach((function(t,r){di(e[r],t)}))}}function hi(e,t,r,n){if(e!==t){var i=vi(e),o=vi(t);if(i==fi)if(o!=fi||Object.keys(e).length<Object.keys(t).length)pi(n,r,e);else{var a=function(i){var o=e[i],a=t[i],s=vi(o),c=vi(a);if(s!=ui&&s!=fi)o!==t[i]&&pi(n,(""==r?"":r+".")+i,o);else if(s==ui)c!=ui||o.length<a.length?pi(n,(""==r?"":r+".")+i,o):o.forEach((function(e,t){hi(e,a[t],(""==r?"":r+".")+i+"["+t+"]",n)}));else if(s==fi)if(c!=fi||Object.keys(o).length<Object.keys(a).length)pi(n,(""==r?"":r+".")+i,o);else for(var u in o)hi(o[u],a[u],(""==r?"":r+".")+i+"."+u,n)};for(var s in e)a(s)}else i==ui?o!=ui||e.length<t.length?pi(n,r,e):e.forEach((function(e,i){hi(e,t[i],r+"["+i+"]",n)})):pi(n,r,e)}}function pi(e,t,r){e[t]=r}function vi(e){return Object.prototype.toString.call(e)}function gi(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({VUE_APP_NAME:"teammodelwxapp",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"development",BASE_URL:"/"}).VUE_APP_DEBUG){var t=e.$scope;console.log("["+ +new Date+"]["+(t.is||t.route)+"]["+e._uid+"]:flushCallbacks["+e.__next_tick_callbacks.length+"]")}var r=e.__next_tick_callbacks.slice(0);e.__next_tick_callbacks.length=0;for(var n=0;n<r.length;n++)r[n]()}}function yi(e){return ln.find((function(t){return e._watcher===t}))}function bi(e,t){if(!e.__next_tick_pending&&!yi(e)){if(Object({VUE_APP_NAME:"teammodelwxapp",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"development",BASE_URL:"/"}).VUE_APP_DEBUG){var r=e.$scope;console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+e._uid+"]:nextVueTick")}return Et(t,e)}if(Object({VUE_APP_NAME:"teammodelwxapp",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"development",BASE_URL:"/"}).VUE_APP_DEBUG){var n=e.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+e._uid+"]:nextMPTick")}var i;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(Di){vt(Di,e,"nextTick")}else i&&i(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){i=e}))}function mi(e){var t=Object.create(null),r=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));r.reduce((function(t,r){return t[r]=e[r],t}),t);var n=e.__composition_api_state__||e.__secret_vfa_state__,i=n&&n.rawBindings;return i&&Object.keys(i).forEach((function(r){t[r]=e[r]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t))}var xi=function(e,t){var r=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var n=this.$scope,i=Object.create(null);try{i=mi(this)}catch(s){console.error(s)}i.__webviewId__=n.data.__webviewId__;var o=Object.create(null);Object.keys(i).forEach((function(e){o[e]=n.data[e]}));var a=!1===this.$shouldDiffData?i:li(i,o);Object.keys(a).length?(Object({VUE_APP_NAME:"teammodelwxapp",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"development",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,n.setData(a,(function(){r.__next_tick_pending=!1,gi(r)}))):gi(this)}};function wi(){}function _i(e,t,r){if(!e.mpType)return e;"app"===e.mpType&&(e.$options.render=wi),e.$options.render||(e.$options.render=wi,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?le("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):le("Failed to mount component: template or render function not defined.",e)),!e._$fallback&&un(e,"beforeMount");var n=function(){e._update(e._render(),r)};return new Mn(e,n,D,{before:function(){e._isMounted&&!e._isDestroyed&&un(e,"beforeUpdate")}},!0),r=!1,e}function Si(e,t){return i(e)||i(t)?Ai(e,ki(t)):""}function Ai(e,t){return e?t?e+" "+t:e:t||""}function ki(e){return Array.isArray(e)?Pi(e):c(e)?Mi(e):"string"===typeof e?e:""}function Pi(e){for(var t,r="",n=0,o=e.length;n<o;n++)i(t=ki(e[n]))&&""!==t&&(r&&(r+=" "),r+=t);return r}function Mi(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}var Ei=S((function(e){var t={},r=/;(?![^(]*\))/g,n=/:(.+)/;return e.split(r).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Oi(e){return Array.isArray(e)?B(e):"string"===typeof e?Ei(e):e}var Ti=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Ci(e,t){var r=t.split("."),n=r[0];return 0===n.indexOf("__$n")&&(n=parseInt(n.replace("__$n",""))),1===r.length?e[n]:Ci(e[n],r.slice(1).join("."))}function Ii(e){e.config.errorHandler=function(t,r,n){e.util.warn("Error in "+n+': "'+t.toString()+'"',r),console.error(t);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){return this.$scope&&e&&(this.$scope["_triggerEvent"]||this.$scope["triggerEvent"]).call(this.$scope,e,{__args__:I(arguments,1)}),t.apply(this,arguments)},e.prototype.$nextTick=function(e){return bi(this,e)},Ti.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=Jt,e.prototype.__init_injections=Zt,e.prototype.__call_hook=function(e,t){var r=this;we();var n,i=r.$options[e],o=e+" hook";if(i)for(var a=0,s=i.length;a<s;a++)n=gt(i[a],r,t?[t]:null,r,o);return r._hasHookEvent&&r.$emit("hook:"+e,t),_e(),n},e.prototype.__set_model=function(t,r,n,i){Array.isArray(i)&&(-1!==i.indexOf("trim")&&(n=n.trim()),-1!==i.indexOf("number")&&(n=this._n(n))),t||(t=this),e.set(t,r,n)},e.prototype.__set_sync=function(t,r,n){t||(t=this),e.set(t,r,n)},e.prototype.__get_orig=function(e){return l(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return Ci(t||this,e)},e.prototype.__get_class=function(e,t){return Si(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var r=Oi(e),n=t?j(t,r):r;return Object.keys(n).map((function(e){return E(e)+":"+n[e]})).join(";")},e.prototype.__map=function(e,t){var r,n,i,o,a;if(Array.isArray(e)){for(r=new Array(e.length),n=0,i=e.length;n<i;n++)r[n]=t(e[n],n);return r}if(c(e)){for(o=Object.keys(e),r=Object.create(null),n=0,i=o.length;n<i;n++)a=o[n],r[a]=t(e[a],a,n);return r}if("number"===typeof e){for(r=new Array(e),n=0,i=e;n<i;n++)r[n]=t(n,n);return r}return[]}}var ji=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onPageShow","onPageHide","onPageResize"];function Bi(e){var t=e.extend;e.extend=function(e){e=e||{};var r=e.methods;return r&&Object.keys(r).forEach((function(t){-1!==ji.indexOf(t)&&(e[t]=r[t],delete r[t])})),t.call(this,e)};var r=e.config.optionMergeStrategies,n=r.created;ji.forEach((function(e){r[e]=n})),e.prototype.__lifecycle_hooks__=ji}Kn.prototype.__patch__=xi,Kn.prototype.$mount=function(e,t){return _i(this,e,t)},Bi(Kn),Ii(Kn),t["default"]=Kn}.call(this,r(2))},function(e,t){},,,,,,function(e,t,r){"use strict";function n(e,t,r,n,i,o,a,s,c,u){var f,l="function"===typeof e?e.options:e;if(c){l.components||(l.components={});var d=Object.prototype.hasOwnProperty;for(var h in c)d.call(c,h)&&!d.call(l.components,h)&&(l.components[h]=c[h])}if(u&&((u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(l.mixins||(l.mixins=[])).push(u)),t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(f=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=f):i&&(f=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(l.functional){l._injectStyles=f;var p=l.render;l.render=function(e,t){return f.call(t),p(e,t)}}else{var v=l.beforeCreate;l.beforeCreate=v?[].concat(v,f):[f]}return{exports:e,options:l}}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=y(r(13)),i=y(r(14)),o=y(r(15)),a=y(r(33)),s=y(r(37)),c=y(r(38)),u=y(r(39)),f=y(r(40)),l=y(r(41)),d=y(r(43)),h=y(r(44)),p=y(r(134)),v=y(r(92)),g=y(r(135));function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var w={},_=(null===w||void 0===w||w.test,m(m({route:a.default,date:l.default.timeFormat,colorGradient:s.default.colorGradient,hexToRgb:s.default.hexToRgb,rgbToHex:s.default.rgbToHex,colorToRgba:s.default.colorToRgba,test:c.default,type:["primary","success","error","warning","info"],http:new o.default,config:d.default,zIndex:p.default,debounce:u.default,throttle:f.default,mixin:n.default,mpMixin:i.default,props:h.default},l.default),{},{color:v.default,platform:g.default}));e.$u=_;var S=function(t){t.filter("timeFormat",(function(t,r){return e.$u.timeFormat(t,r)})),t.filter("date",(function(t,r){return e.$u.timeFormat(t,r)})),t.filter("timeFrom",(function(t,r){return e.$u.timeFrom(t,r)})),t.prototype.$u=_,t.mixin(n.default)},A={install:S};t.default=A}).call(this,r(1)["default"])},function(e,t,r){(function(t){e.exports={props:{customStyle:{type:[Object,String],default:function(){return{}}},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:function(){return{}},onLoad:function(){this.$u.getRect=this.$uGetRect},created:function(){this.$u.getRect=this.$uGetRect},computed:{$u:function(){return t.$u.deepMerge(t.$u,{props:void 0,http:void 0,mixin:void 0})},bem:function(){return function(e,t,r){var n=this,i="u-".concat(e,"--"),o={};return t&&t.map((function(e){o[i+n[e]]=!0})),r&&r.map((function(e){n[e]?o[i+e]=n[e]:delete o[i+e]})),Object.keys(o)}}},methods:{openPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"url",r=this[e];r&&t[this.linkType]({url:r})},$uGetRect:function(e,r){var n=this;return new Promise((function(i){t.createSelectorQuery().in(n)[r?"selectAll":"select"](e).boundingClientRect((function(e){r&&Array.isArray(e)&&e.length&&i(e),!r&&e&&i(e)})).exec()}))},getParentData:function(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=t.$u.$parent.call(this,r),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(){t.$emit("uOnReachBottom")},beforeDestroy:function(){var e=this;if(this.parent&&t.$u.test.array(this.parent.children)){var r=this.parent.children;r.map((function(t,n){t===e&&r.splice(n,1)}))}}}}).call(this,r(1)["default"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={options:{virtualHost:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(16));function i(e){return e&&e.__esModule?e:{default:e}}var o=n.default;t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(17)),i=u(r(25)),o=u(r(26)),a=u(r(27)),s=r(20),c=u(r(28));function u(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}var g=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h(this,e),(0,s.isPlainObject)(t)||(t={},console.warn("设置全局参数必须接收一个Object")),this.config=(0,c.default)(l(l({},a.default),t)),this.interceptors={request:new i.default,response:new i.default}}return v(e,[{key:"setConfig",value:function(e){this.config=e(this.config)}},{key:"middleware",value:function(e){e=(0,o.default)(this.config,e);var t=[n.default,void 0],r=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)r=r.then(t.shift(),t.shift());return r}},{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.middleware(e)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.middleware(l({url:e,method:"GET"},t))}},{key:"post",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(l({url:e,data:t,method:"POST"},r))}},{key:"put",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(l({url:e,data:t,method:"PUT"},r))}},{key:"delete",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(l({url:e,data:t,method:"DELETE"},r))}},{key:"connect",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(l({url:e,data:t,method:"CONNECT"},r))}},{key:"head",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(l({url:e,data:t,method:"HEAD"},r))}},{key:"options",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(l({url:e,data:t,method:"OPTIONS"},r))}},{key:"trace",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(l({url:e,data:t,method:"TRACE"},r))}},{key:"upload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="UPLOAD",this.middleware(t)}},{key:"download",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="DOWNLOAD",this.middleware(t)}}]),e}();t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(18));function i(e){return e&&e.__esModule?e:{default:e}}var o=function(e){return(0,n.default)(e)};t.default=o},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(19)),i=s(r(21)),o=s(r(24)),a=r(20);function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(e,t){var r={};return e.forEach((function(e){(0,a.isUndefined)(t[e])||(r[e]=t[e])})),r},d=function(t){return new Promise((function(r,a){var s,c=(0,n.default)((0,i.default)(t.baseURL,t.url),t.params),f={url:c,header:t.header,complete:function(e){t.fullPath=c,e.config=t;try{"string"===typeof e.data&&(e.data=JSON.parse(e.data))}catch(n){}(0,o.default)(r,a,e)}};if("UPLOAD"===t.method){delete f.header["content-type"],delete f.header["Content-Type"];var d={filePath:t.filePath,name:t.name},h=["formData"];s=e.uploadFile(u(u(u({},f),d),l(h,t)))}else if("DOWNLOAD"===t.method)s=e.downloadFile(f);else{var p=["data","method","timeout","dataType","responseType"];s=e.request(u(u({},f),l(p,t)))}t.getTask&&t.getTask(s,t)}))};t.default=d}).call(this,r(1)["default"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=o(r(20));function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function a(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function s(e,t){if(!t)return e;var r;if(n.isURLSearchParams(t))r=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t="".concat(t,"[]"):e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push("".concat(a(t),"=").concat(a(e)))})))})),r=i.join("&")}if(r){var o=e.indexOf("#");-1!==o&&(e=e.slice(0,o)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=i,t.isObject=o,t.isDate=a,t.isURLSearchParams=s,t.forEach=c,t.isBoolean=u,t.isPlainObject=f,t.deepMerge=l,t.isUndefined=d;var n=Object.prototype.toString;function i(e){return"[object Array]"===n.call(e)}function o(e){return null!==e&&"object"===typeof e}function a(e){return"[object Date]"===n.call(e)}function s(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function c(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function u(e){return"boolean"===typeof e}function f(e){return"[object Object]"===Object.prototype.toString.call(e)}function l(){var e={};function t(t,r){"object"===typeof e[r]&&"object"===typeof t?e[r]=l(e[r],t):e[r]="object"===typeof t?l({},t):t}for(var r=0,n=arguments.length;r<n;r++)c(arguments[r],t);return e}function d(e){return"undefined"===typeof e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=o(r(22)),i=o(r(23));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return e&&!(0,n.default)(t)?(0,i.default)(e,t):t}},function(e,t,r){"use strict";function n(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,r){"use strict";function n(e,t){return t?"".concat(e.replace(/\/+$/,""),"/").concat(t.replace(/^\/+/,"")):e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,r){"use strict";function n(e,t,r){var n=r.config.validateStatus,i=r.statusCode;!i||n&&!n(i)?t(r):e(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,r){"use strict";function n(){this.handlers=[]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){this.handlers.forEach((function(t){null!==t&&e(t)}))};var i=n;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(20);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=function(e,t,r){var i={};return e.forEach((function(e){(0,n.isUndefined)(r[e])?(0,n.isUndefined)(t[e])||(i[e]=t[e]):i[e]=r[e]})),i},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method||e.method||"GET",i={baseURL:e.baseURL||"",method:r,url:t.url||"",params:t.params||{},custom:o(o({},e.custom||{}),t.custom||{}),header:(0,n.deepMerge)(e.header||{},t.header||{})},a=["getTask","validateStatus"];if(i=o(o({},i),s(a,e,t)),"DOWNLOAD"===r);else if("UPLOAD"===r){delete i.header["content-type"],delete i.header["Content-Type"];var c=["filePath","name","formData"];c.forEach((function(e){(0,n.isUndefined)(t[e])||(i[e]=t[e])}))}else{var u=["data","timeout","dataType","responseType"];i=o(o({},i),s(u,e,t))}return i};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300}};t.default=n},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function t(e,t){return null!=t&&e instanceof t}var r,n,i;try{r=Map}catch(l){r=function(){}}try{n=Set}catch(l){n=function(){}}try{i=Promise}catch(l){i=function(){}}function o(a,s,c,u,l){"object"===typeof s&&(c=s.depth,u=s.prototype,l=s.includeNonEnumerable,s=s.circular);var d=[],h=[],p="undefined"!=typeof e;function v(a,c){if(null===a)return null;if(0===c)return a;var g,y;if("object"!=typeof a)return a;if(t(a,r))g=new r;else if(t(a,n))g=new n;else if(t(a,i))g=new i((function(e,t){a.then((function(t){e(v(t,c-1))}),(function(e){t(v(e,c-1))}))}));else if(o.__isArray(a))g=[];else if(o.__isRegExp(a))g=new RegExp(a.source,f(a)),a.lastIndex&&(g.lastIndex=a.lastIndex);else if(o.__isDate(a))g=new Date(a.getTime());else{if(p&&e.isBuffer(a))return e.from?g=e.from(a):(g=new e(a.length),a.copy(g)),g;t(a,Error)?g=Object.create(a):"undefined"==typeof u?(y=Object.getPrototypeOf(a),g=Object.create(y)):(g=Object.create(u),y=u)}if(s){var b=d.indexOf(a);if(-1!=b)return h[b];d.push(a),h.push(g)}for(var m in t(a,r)&&a.forEach((function(e,t){var r=v(t,c-1),n=v(e,c-1);g.set(r,n)})),t(a,n)&&a.forEach((function(e){var t=v(e,c-1);g.add(t)})),a){var x=Object.getOwnPropertyDescriptor(a,m);x&&(g[m]=v(a[m],c-1));try{var w=Object.getOwnPropertyDescriptor(a,m);if("undefined"===w.set)continue;g[m]=v(a[m],c-1)}catch(M){if(M instanceof TypeError)continue;if(M instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(a);for(m=0;m<_.length;m++){var S=_[m],A=Object.getOwnPropertyDescriptor(a,S);(!A||A.enumerable||l)&&(g[S]=v(a[S],c-1),Object.defineProperty(g,S,A))}}if(l){var k=Object.getOwnPropertyNames(a);for(m=0;m<k.length;m++){var P=k[m];A=Object.getOwnPropertyDescriptor(a,P);A&&A.enumerable||(g[P]=v(a[P],c-1),Object.defineProperty(g,P,A))}}return g}return"undefined"==typeof s&&(s=!0),"undefined"==typeof c&&(c=1/0),v(a,c)}function a(e){return Object.prototype.toString.call(e)}function s(e){return"object"===typeof e&&"[object Date]"===a(e)}function c(e){return"object"===typeof e&&"[object Array]"===a(e)}function u(e){return"object"===typeof e&&"[object RegExp]"===a(e)}function f(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=a,o.__isDate=s,o.__isArray=c,o.__isRegExp=u,o.__getRegExpFlags=f,o}(),n=r;t.default=n}).call(this,r(29).Buffer)},function(e,t,r){"use strict";(function(e){
  8. /*!
  9. * The buffer module from node.js, for the browser.
  10. *
  11. * @author Feross Aboukhadijeh <http://feross.org>
  12. * @license MIT
  13. */
  14. var n=r(30),i=r(31),o=r(32);function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return f(this,e,t,r)}function f(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?p(e,t,r):y(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t,r,n){return l(t),t<=0?c(e,t):void 0!==r?"string"===typeof n?c(e,t).fill(r,n):c(e,t).fill(r):c(e,t)}function h(e,t){if(l(t),e=c(e,t<0?0:0|b(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|x(t,r);e=c(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function v(e,t){var r=t.length<0?0:0|b(t.length);e=c(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=v(e,t),e}function y(e,t){if(u.isBuffer(t)){var r=0|b(t.length);return e=c(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):v(e,t);if("Buffer"===t.type&&o(t.data))return v(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function b(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),u.alloc(+e)}function x(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Z(e).length;default:if(n)return X(e).length;t=(""+t).toLowerCase(),n=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return F(this,t,r);case"utf8":case"utf-8":return I(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return L(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function _(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function S(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:A(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):A(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function A(e,t,r,n,i){var o,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var f=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===f?0:o-f)){if(-1===f&&(f=o),o-f+1===c)return f*a}else-1!==f&&(o-=o-f),f=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var l=!0,d=0;d<c;d++)if(u(e,o+d)!==u(t,d)){l=!1;break}if(l)return o}return-1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function P(e,t,r,n){return ee(X(t,e.length-r),e,r,n)}function M(e,t,r,n){return ee(Y(t),e,r,n)}function E(e,t,r,n){return M(e,t,r,n)}function O(e,t,r,n){return ee(Z(t),e,r,n)}function T(e,t,r,n){return ee(J(t,e.length-r),e,r,n)}function C(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function I(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var o,a,s,c,u=e[i],f=null,l=u>239?4:u>223?3:u>191?2:1;if(i+l<=r)switch(l){case 1:u<128&&(f=u);break;case 2:o=e[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(f=c));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a,c>2047&&(c<55296||c>57343)&&(f=c));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(f=c))}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return B(n)}t.Buffer=u,t.SlowBuffer=m,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return f(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return d(null,e,t,r)},u.allocUnsafe=function(e){return h(null,e)},u.allocUnsafeSlow=function(e){return h(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=x,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)_(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):w.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),c=this.slice(n,i),f=e.slice(t,r),l=0;l<s;++l)if(c[l]!==f[l]){o=c[l],a=f[l];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return S(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return S(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return P(this,e,t,r);case"ascii":return M(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var j=4096;function B(e){var t=e.length;if(t<=j)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=j));return r}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function L(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function F(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=G(e[o]);return i}function R(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function N(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function U(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function q(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function $(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function H(e,t,r,n,o){return o||$(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function W(e,t,r,n,o){return o||$(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=t,i=1,o=this[e+--n];while(n>0&&(i*=256))o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;z(this,e,t,r,i,0)}var o=1,a=0;this[t]=255&e;while(++a<r&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;z(this,e,t,r,i,0)}var o=r-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):q(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):q(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<r&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):q(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):q(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return H(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return H(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return W(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return W(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:X(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var Q=/[^+\/0-9A-Za-z-_]/g;function V(e){if(e=K(e).replace(Q,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function K(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function X(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Y(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function J(e,t){for(var r,n,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function Z(e){return n.toByteArray(V(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r(2))},function(e,t,r){"use strict";t.byteLength=f,t.toByteArray=d,t.fromByteArray=v;for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function f(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function l(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,n=u(e),a=n[0],s=n[1],c=new o(l(e,a,s)),f=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],c[f++]=t>>16&255,c[f++]=t>>8&255,c[f++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,c[f++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,c[f++]=t>>8&255,c[f++]=255&t),c}function h(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(h(n));return i.join("")}function v(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(p(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,f=-7,l=r?i-1:0,d=r?-1:1,h=e[t+l];for(l+=d,o=h&(1<<-f)-1,h>>=-f,f+=s;f>0;o=256*o+e[t+l],l+=d,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=256*a+e[t+l],l+=d,f-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=u}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,c,u=8*o-i-1,f=(1<<u)-1,l=f>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,p=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+l>=1?d/c:d*Math.pow(2,1-l),t*c>=2&&(a++,c/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(t*c-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+h]=255&a,h+=p,a/=256,u-=8);e[r+h-p]|=128*v}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(34));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){o(a,n,i,s,c,"next",e)}function c(e){o(a,n,i,s,c,"throw",e)}s(void 0)}))}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}var f=function(){function t(){s(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}return u(t,[{key:"addRootPath",value:function(e){return"/"===e[0]?e:"/".concat(e)}},{key:"mixinParam",value:function(t,r){t=t&&this.addRootPath(t);var n="";return/.*\/.*\?.*=.*/.test(t)?(n=e.$u.queryParams(r,!1),t+"&".concat(n)):(n=e.$u.queryParams(r),t+n)}},{key:"route",value:function(){var t=a(n.default.mark((function t(){var r,i,o,a,s=arguments;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=s.length>0&&void 0!==s[0]?s[0]:{},i=s.length>1&&void 0!==s[1]?s[1]:{},o={},"string"===typeof r?(o.url=this.mixinParam(r,i),o.type="navigateTo"):(o=e.$u.deepClone(r,this.config),o.url=this.mixinParam(r.url,r.params)),o.url!==e.$u.page()){t.next=6;break}return t.abrupt("return");case 6:if(i.intercept&&(this.config.intercept=i.intercept),o.params=i,o=e.$u.deepMerge(this.config,o),"function"!==typeof e.$u.routeIntercept){t.next=16;break}return t.next=12,new Promise((function(t,r){e.$u.routeIntercept(o,t)}));case 12:a=t.sent,a&&this.openPage(o),t.next=17;break;case 16:this.openPage(o);case 17:case"end":return t.stop()}}),t,this)})));function r(){return t.apply(this,arguments)}return r}()},{key:"openPage",value:function(t){var r=t.url,n=(t.type,t.delta),i=t.animationType,o=t.animationDuration;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:r,animationType:i,animationDuration:o}),"redirectTo"!=t.type&&"redirect"!=t.type||e.redirectTo({url:r}),"switchTab"!=t.type&&"tab"!=t.type||e.switchTab({url:r}),"reLaunch"!=t.type&&"launch"!=t.type||e.reLaunch({url:r}),"navigateBack"!=t.type&&"back"!=t.type||e.navigateBack({delta:n})}}]),t}(),l=(new f).route;t.default=l}).call(this,r(1)["default"])},function(e,t,r){e.exports=r(35)},function(e,t,r){var n=function(){return this||"object"===typeof self&&self}()||Function("return this")(),i=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,o=i&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(36),i)n.regeneratorRuntime=o;else try{delete n.regeneratorRuntime}catch(a){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";var r,n=Object.prototype,i=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",u="object"===typeof e,f=t.regeneratorRuntime;if(f)u&&(e.exports=f);else{f=t.regeneratorRuntime=u?e.exports:{},f.wrap=x;var l="suspendedStart",d="suspendedYield",h="executing",p="completed",v={},g={};g[a]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(I([])));b&&b!==n&&i.call(b,a)&&(g=b);var m=A.prototype=_.prototype=Object.create(g);S.prototype=m.constructor=A,A.constructor=S,A[c]=S.displayName="GeneratorFunction",f.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},f.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,A):(e.__proto__=A,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(m),e},f.awrap=function(e){return{__await:e}},k(P.prototype),P.prototype[s]=function(){return this},f.AsyncIterator=P,f.async=function(e,t,r,n){var i=new P(x(e,t,r,n));return f.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(m),m[c]="Generator",m[a]=function(){return this},m.toString=function(){return"[object Generator]"},f.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=I,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=r),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):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),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function x(e,t,r,n){var i=t&&t.prototype instanceof _?t:_,o=Object.create(i.prototype),a=new C(n||[]);return o._invoke=M(e,r,a),o}function w(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}function _(){}function S(){}function A(){}function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function P(e){function t(r,n,o,a){var s=w(e[r],e,n);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(u).then((function(e){c.value=e,o(c)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}var r;function n(e,n){function i(){return new Promise((function(r,i){t(e,n,r,i)}))}return r=r?r.then(i,i):i()}this._invoke=n}function M(e,t,r){var n=l;return function(i,o){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return j()}r.method=i,r.arg=o;while(1){var a=r.delegate;if(a){var s=E(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=w(e,t,r);if("normal"===c.type){if(n=r.done?p:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}function E(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,E(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=w(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function I(e){if(e){var t=e[a];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){while(++n<e.length)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:j}}function j(){return{value:r,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},function(e,t,r){"use strict";function n(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n=i(e,!1),a=n[0],s=n[1],c=n[2],u=i(t,!1),f=u[0],l=u[1],d=u[2],h=(f-a)/r,p=(l-s)/r,v=(d-c)/r,g=[],y=0;y<r;y++){var b=o("rgb(".concat(Math.round(h*y+a),",").concat(Math.round(p*y+s),",").concat(Math.round(v*y+c),")"));0===y&&(b=o(e)),y===r-1&&(b=o(t)),g.push(b)}return g}function i(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&r.test(e)){if(4===e.length){for(var n="#",i=1;i<4;i+=1)n+=e.slice(i,i+1).concat(e.slice(i,i+1));e=n}for(var o=[],a=1;a<7;a+=2)o.push(parseInt("0x".concat(e.slice(a,a+2))));return t?"rgb(".concat(o[0],",").concat(o[1],",").concat(o[2],")"):o}if(/^(rgb|RGB)/.test(e)){var s=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return s.map((function(e){return Number(e)}))}return e}function o(e){var t=e,r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(/^(rgb|RGB)/.test(t)){for(var n=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),i="#",o=0;o<n.length;o++){var a=Number(n[o]).toString(16);a=1==String(a).length?"".concat(0,a):a,"0"===a&&(a+=a),i+=a}return 7!==i.length&&(i=t),i}if(!r.test(t))return t;var s=t.replace(/#/,"").split("");if(6===s.length)return t;if(3===s.length){for(var c="#",u=0;u<s.length;u+=1)c+=s[u]+s[u];return c}}function a(e,t){e=o(e);var r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,n=String(e).toLowerCase();if(n&&r.test(n)){if(4===n.length){for(var i="#",a=1;a<4;a+=1)i+=n.slice(a,a+1).concat(n.slice(a,a+1));n=i}for(var s=[],c=1;c<7;c+=2)s.push(parseInt("0x".concat(n.slice(c,c+2))));return"rgba(".concat(s.join(","),",").concat(t,")")}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s={colorGradient:n,hexToRgb:i,rgbToHex:o,colorToRgba:a};t.default=s},function(e,t,r){"use strict";function n(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)}function i(e){return/^1[23456789]\d{9}$/.test(e)}function o(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 a(e){return!!e&&(c(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))}function s(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)}function c(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function u(e){return"string"===typeof e}function f(e){return/^\d+$/.test(e)}function l(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 d(e){var t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,r=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?r.test(e):8===e.length&&t.test(e)}function h(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)}function p(e){var t=/^[\u4e00-\u9fa5]+$/gi;return t.test(e)}function v(e){return/^[a-zA-Z]*$/.test(e)}function g(e){var t=/^[0-9a-zA-Z]*$/g;return t.test(e)}function y(e,t){return e.indexOf(t)>=0}function b(e,t){return e>=t[0]&&e<=t[1]}function m(e,t){return e.length>=t[0]&&e.length<=t[1]}function x(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function w(e){switch(typeof 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 _(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==typeof t||!t)}catch(r){return!1}return!1}function S(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"[object Object]"===Object.prototype.toString.call(e)}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)}function P(e){return"function"===typeof e}function M(e){return A(e)&&P(e.then)&&P(e.catch)}function E(e){var t=e.split("?")[0],r=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;return r.test(t)}function O(e){var t=/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;return t.test(e)}function T(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var C={email:n,mobile:i,url:o,date:a,dateISO:s,number:c,digits:f,idCard:l,carNo:d,amount:h,chinese:p,letter:v,enOrNum:g,contains:y,range:b,rangeLength:m,empty:w,isEmpty:w,jsonString:_,landline:x,object:A,array:S,code:k,func:P,promise:M,video:O,image:E,regExp:T,string:u};t.default=C},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=null;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==n&&clearTimeout(n),r){var i=!n;n=setTimeout((function(){n=null}),t),i&&"function"===typeof e&&e()}else n=setTimeout((function(){"function"===typeof e&&e()}),t)}var o=i;t.default=o},function(e,t,r){"use strict";var n;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];r?n||(n=!0,"function"===typeof e&&e(),setTimeout((function(){n=!1}),t)):n||(n=!0,setTimeout((function(){n=!1,"function"===typeof e&&e()}),t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i;t.default=o},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(38)),i=r(42);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return l(e)||f(e,t)||c(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function l(e){if(Array.isArray(e))return e}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(r)))}function h(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.default.number(t)?r?"".concat(t,"px"):Number(t):/(rpx|upx)$/.test(t)?r?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t))):r?"".concat(parseInt(t),"px"):parseInt(t)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))}function v(){return e.getSystemInfoSync().platform.toLowerCase()}function g(){return e.getSystemInfoSync()}function y(e,t){if(e>=0&&t>0&&t>=e){var r=t-e+1;return Math.floor(Math.random()*r+e)}return 0}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(r=r||n.length,e)for(var o=0;o<e;o++)i[o]=n[0|Math.random()*r];else{var a;i[8]=i[13]=i[18]=i[23]="-",i[14]="4";for(var s=0;s<36;s++)i[s]||(a=0|16*Math.random(),i[s]=n[19==s?3&a|8:a])}return t?(i.shift(),"u".concat(i.join(""))):i.join("")}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this.$parent;while(t){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if(n.default.empty(e)||"object"===typeof e&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=E(e);for(var r=e.split(";"),i={},o=0;o<r.length;o++)if(r[o]){var a=r[o].split(":");i[E(a[0])]=E(a[1])}return i}var s="";for(var c in e){var u=c.replace(/([A-Z])/g,"-$1").toLowerCase();s+="".concat(u,":").concat(e[c],";")}return E(s)}function w(){var t,r,i,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=null===(r=e)||void 0===r||null===(i=r.$u)||void 0===i||null===(o=i.config)||void 0===o?void 0:o.unit)&&void 0!==t?t:"px";return a=String(a),n.default.number(a)?"".concat(a).concat(s):a}function _(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!==typeof e&&"function"!==typeof e)return e;var t=n.default.array(e)?[]:{};for(var r in e)e.hasOwnProperty(r)&&(t[r]="object"===typeof e[r]?_(e[r]):e[r]);return t}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=_(e),"object"!==typeof e||"object"!==typeof t)return!1;for(var r in t)t.hasOwnProperty(r)&&(r in e?"object"!==typeof e[r]||"object"!==typeof t[r]?e[r]=t[r]:e[r].concat&&t[r].concat?e[r]=e[r].concat(t[r]):e[r]=S(e[r],t[r]):e[r]=t[r]);return e}function A(e){console.error("uView提示:".concat(e))}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))}function P(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=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)):new Date("string"===typeof t?t.replace(/-/g,"/"):t):new Date;var n={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 n){var o=new RegExp("".concat(i,"+")).exec(r)||[],s=a(o,1),c=s[0];if(c){var u="y"===i&&2===c.length?2:0;r=r.replace(c,n[i].slice(u))}}return r}function M(){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 r=(new Date).getTime()-e;r=parseInt(r/1e3);var n="";switch(!0){case r<300:n="刚刚";break;case r>=300&&r<3600:n="".concat(parseInt(r/60),"分钟前");break;case r>=3600&&r<86400:n="".concat(parseInt(r/3600),"小时前");break;case r>=86400&&r<2592e3:n="".concat(parseInt(r/86400),"天前");break;default:n=!1===t?r>=2592e3&&r<31536e3?"".concat(parseInt(r/2592e3),"个月前"):"".concat(parseInt(r/31536e3),"年前"):P(e,t)}return n}function E(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 O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",n=t?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(r)&&(r="brackets");var o=function(t){var n=e[t];if(["",void 0,null].indexOf(n)>=0)return"continue";if(n.constructor===Array)switch(r){case"indices":for(var o=0;o<n.length;o++)i.push("".concat(t,"[").concat(o,"]=").concat(n[o]));break;case"brackets":n.forEach((function(e){i.push("".concat(t,"[]=").concat(e))}));break;case"repeat":n.forEach((function(e){i.push("".concat(t,"=").concat(e))}));break;case"comma":var a="";n.forEach((function(e){a+=(a?",":"")+e})),i.push("".concat(t,"=").concat(a));break;default:n.forEach((function(e){i.push("".concat(t,"[]=").concat(e))}))}else i.push("".concat(t,"=").concat(n))};for(var a in e)o(a);return i.length?n+i.join("&"):""}function T(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:r})}function C(){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 r="";switch(e){case"primary":r="info-circle";break;case"info":r="info-circle";break;case"error":r="close-circle";break;case"warning":r="error-circle";break;case"success":r="checkmark-circle";break;default:r="checkmark-circle"}return t&&(r+="-fill"),r}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";e="".concat(e).replace(/[^0-9+-Ee.]/g,"");var o=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,s="undefined"===typeof n?",":n,c="undefined"===typeof r?".":r,u="";u=(a?(0,i.round)(o,a)+"":"".concat(Math.round(o))).split(".");var f=/(-?\d+)(\d{3})/;while(f.test(u[0]))u[0]=u[0].replace(f,"$1".concat(s,"$2"));return(u[1]||"").length<a&&(u[1]=u[1]||"",u[1]+=new Array(a-u[1].length+1).join("0")),u.join(c)}function j(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=parseInt(e);return t?/s$/.test(e)?e:"".concat(e,e>30?"ms":"s"):/ms$/.test(e)?r:/s$/.test(e)?r>30?r:1e3*r:r}function B(e){return"00".concat(e).slice(-2)}function D(t,r){var n=e.$u.$parent.call(t,"u-form-item"),i=e.$u.$parent.call(t,"u-form");n&&i&&i.validateField(n.prop,(function(){}),r)}function L(e,t){if(e){if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var r=t.split("."),n=e[r[0]]||{},i=1;i<r.length;i++)n&&(n=n[r[i]]);return n}return e[t]}}function F(e,t,r){if(e){var n=function e(t,r,n){if(1!==r.length)while(r.length>1){var i=r[0];t[i]&&"object"===typeof t[i]||(t[i]={});r.shift();e(t[i],r,n)}else t[r[0]]=n};if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var i=t.split(".");n(e,i,r)}else e[t]=r}}function R(){var e,t,r=getCurrentPages();return"/".concat(null!==(e=null===(t=r[r.length-1])||void 0===t?void 0:t.route)&&void 0!==e?e:"")}function N(){var e=getCurrentPages();return e}function z(t){var r=t.props,n=void 0===r?{}:r,i=t.config,o=void 0===i?{}:i,a=t.color,s=void 0===a?{}:a,c=t.zIndex,u=void 0===c?{}:c,f=e.$u.deepMerge;e.$u.config=f(e.$u.config,o),e.$u.props=f(e.$u.props,n),e.$u.color=f(e.$u.color,s),e.$u.zIndex=f(e.$u.zIndex,u)}String.prototype.padStart||(String.prototype.padStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");var r=this;if(r.length>=e)return String(r);var n=e-r.length,i=Math.ceil(n/t.length);while(i>>=1)t+=t,1===i&&(t+=t);return t.slice(0,n)+r});var U={range:d,getPx:h,sleep:p,os:v,sys:g,random:y,guid:b,$parent:m,addStyle:x,addUnit:w,deepClone:_,deepMerge:S,error:A,randomArray:k,timeFormat:P,timeFrom:M,trim:E,queryParams:O,toast:T,type2icon:C,priceFormat:I,getDuration:j,padZero:B,formValidate:D,getProperty:L,setProperty:F,page:R,pages:N,setConfig:z};t.default=U}).call(this,r(1)["default"])},function(e,t,r){"use strict";function n(e){return c(e)||s(e)||o(e)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function c(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.times=v,t.plus=g,t.minus=y,t.divide=b,t.round=m,t.enableBoundaryChecking=x,t.default=void 0;var u=!0;function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(e).toPrecision(t))}function l(e){var t=e.toString().split(/[eE]/),r=(t[0].split(".")[1]||"").length-+(t[1]||0);return r>0?r:0}function d(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=l(e);return t>0?f(Number(e)*Math.pow(10,t)):Number(e)}function h(e){u&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn("".concat(e," 超出了精度限制,结果可能不正确"))}function p(e,t){var r=n(e),i=r[0],o=r[1],a=r.slice(2),s=t(i,o);return a.forEach((function(e){s=t(s,e)})),s}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return p(t,v);var n=t[0],i=t[1],o=d(n),a=d(i),s=l(n)+l(i),c=o*a;return h(c),c/Math.pow(10,s)}function g(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return p(t,g);var n=t[0],i=t[1],o=Math.pow(10,Math.max(l(n),l(i)));return(v(n,o)+v(i,o))/o}function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return p(t,y);var n=t[0],i=t[1],o=Math.pow(10,Math.max(l(n),l(i)));return(v(n,o)-v(i,o))/o}function b(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return p(t,b);var n=t[0],i=t[1],o=d(n),a=d(i);return h(o),h(a),v(o/a,f(Math.pow(10,l(i)-l(n))))}function m(e,t){var r=Math.pow(10,t),n=b(Math.round(Math.abs(v(e,r))),r);return e<0&&0!==n&&(n=v(n,-1)),n}function x(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];u=e}var w={times:v,plus:g,minus:y,divide:b,round:m,enableBoundaryChecking:x};t.default=w},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="2.0.31";console.log("\n %c uView V".concat(n," %c https://www.uviewui.com/ \n\n"),"color: #ffffff; background: #3c9cff; padding:5px 0;","color: #3c9cff;background: #ffffff; padding:5px 0;");var i={v:n,version:n,type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Re(r(43)),i=Re(r(45)),o=Re(r(46)),a=Re(r(47)),s=Re(r(48)),c=Re(r(49)),u=Re(r(50)),f=Re(r(51)),l=Re(r(52)),d=Re(r(53)),h=Re(r(54)),p=Re(r(55)),v=Re(r(56)),g=Re(r(57)),y=Re(r(58)),b=Re(r(59)),m=Re(r(60)),x=Re(r(61)),w=Re(r(62)),_=Re(r(63)),S=Re(r(64)),A=Re(r(65)),k=Re(r(66)),P=Re(r(67)),M=Re(r(68)),E=Re(r(69)),O=Re(r(70)),T=Re(r(71)),C=Re(r(72)),I=Re(r(73)),j=Re(r(74)),B=Re(r(75)),D=Re(r(76)),L=Re(r(77)),F=Re(r(78)),R=Re(r(79)),N=Re(r(80)),z=Re(r(81)),U=Re(r(82)),q=Re(r(83)),$=Re(r(84)),H=Re(r(85)),W=Re(r(86)),Q=Re(r(87)),V=Re(r(88)),K=Re(r(89)),G=Re(r(90)),X=Re(r(91)),Y=Re(r(93)),J=Re(r(94)),Z=Re(r(95)),ee=Re(r(96)),te=Re(r(97)),re=Re(r(98)),ne=Re(r(99)),ie=Re(r(100)),oe=Re(r(101)),ae=Re(r(102)),se=Re(r(103)),ce=Re(r(104)),ue=Re(r(105)),fe=Re(r(106)),le=Re(r(107)),de=Re(r(108)),he=Re(r(109)),pe=Re(r(110)),ve=Re(r(111)),ge=Re(r(112)),ye=Re(r(113)),be=Re(r(114)),me=Re(r(115)),xe=Re(r(116)),we=Re(r(117)),_e=Re(r(118)),Se=Re(r(119)),Ae=Re(r(120)),ke=Re(r(121)),Pe=Re(r(122)),Me=Re(r(123)),Ee=Re(r(124)),Oe=Re(r(125)),Te=Re(r(126)),Ce=Re(r(127)),Ie=Re(r(128)),je=Re(r(129)),Be=Re(r(130)),De=Re(r(131)),Le=Re(r(132)),Fe=Re(r(133));function Re(e){return e&&e.__esModule?e:{default:e}}function Ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(r),!0).forEach((function(t){Ue(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}n.default.color;var qe=ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze(ze({},i.default),o.default),a.default),s.default),c.default),u.default),f.default),l.default),d.default),h.default),p.default),v.default),g.default),y.default),b.default),m.default),x.default),w.default),_.default),S.default),A.default),k.default),P.default),M.default),E.default),O.default),T.default),C.default),I.default),j.default),B.default),D.default),L.default),F.default),R.default),N.default),z.default),U.default),q.default),$.default),H.default),W.default),Q.default),V.default),K.default),G.default),X.default),Y.default),J.default),Z.default),ee.default),te.default),re.default),ne.default),ie.default),oe.default),ae.default),se.default),ce.default),ue.default),fe.default),le.default),de.default),he.default),pe.default),ve.default),ge.default),ye.default),be.default),me.default),xe.default),we.default),_e.default),Se.default),Ae.default),ke.default),Pe.default),Me.default),Ee.default),Oe.default),Te.default),Ce.default),Ie.default),je.default),Be.default),De.default),Le.default),Fe.default);t.default=qe},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={actionSheet:{show:!1,title:"",description:"",actions:function(){return[]},index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={album:{urls:function(){return[]},keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={avatarGroup:{urls:function(){return[]},maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:function(){return{color:"#909399",fontSize:"19px"}}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:function(){return[]},inverted:!1,absolute:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:function(){return[]},color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={carKeyboard:{random:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={cellGroup:{title:"",border:!0,customStyle:{}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={checkboxGroup:{name:"",value:function(){return[]},shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={circleProgress:{percentage:30}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={codeInput:{maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={collapse:{value:null,accordion:!1,border:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={datetimePicker:{show:!1,showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:function(){return[]}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={form:{model:function(){return{}},rules:function(){return{}},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:function(){return{}}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={formItem:{label:"",prop:"",borderBottom:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={grid:{col:3,border:!1,align:"left"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={gridItem:{name:null,bgColor:"transparent"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(43));function i(e){return e&&e.__esModule?e:{default:e}}var o=n.default.color,a={icon:{name:"",color:o["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:o["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:function(){return[]},sticky:!0,customNavHeight:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(43));function i(e){return e&&e.__esModule?e:{default:e}}var o=n.default.color,a={link:{color:o["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={listItem:{anchor:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(43));function i(e){return e&&e.__esModule?e:{default:e}}var o=n.default.color,a={loadingIcon:{show:!0,color:o["u-tips-color"],textColor:o["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,loadingColor:"#C8C8C8"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(92));function i(e){return e&&e.__esModule?e:{default:e}}var o={navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:n.default.mainColor,autoBack:!1,titleStyle:""}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},i=n;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={noticeBar:{text:function(){return[]},direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={numberKeyboard:{mode:"number",dotDisabled:!1,random:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={overlay:{show:!1,zIndex:10070,duration:300,opacity:.5}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={picker:{show:!1,showToolbar:!0,title:"",columns:function(){return[]},loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",singleIndex:0,visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:function(){return[]},immediateChange:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:function(){},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={row:{gutter:0,justify:"start",align:"center"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:function(){return{}},actionText:"搜索",inputAlign:"left",inputStyle:function(){return{}},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={statusBar:{bgColor:"transparent"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={stepsItem:{title:"",desc:"",iconSize:17,error:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swipeAction:{autoClose:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swiper:{list:function(){return[]},indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tabs:{duration:300,list:function(){return[]},lineColor:"#3c9cff",activeStyle:function(){return{color:"#303133"}},inactiveStyle:function(){return{color:"#606266"}},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:function(){return{height:"44px"}},scrollable:!0,current:0,keyName:"name"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:function(){return{fontSize:"15px"}},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:function(){},duration:2e3,isTab:!1,url:"",callback:null,back:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={upload:{accept:"image",capture:function(){return["album","camera"]},compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:function(){return["original","compressed"]},multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:function(){return[]},uploadText:"",width:80,height:80,previewImage:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="none";n="vue2",n="weixin",n="mp";var i=n;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(4)),i=c(r(137)),o=c(r(138)),a=c(r(139)),s=c(r(140));function c(e){return e&&e.__esModule?e:{default:e}}n.default.use(i.default);var u=new i.default.Store({modules:{m_parent:o.default,m_children:a.default,m_chart:s.default}}),f=u;t.default=f},function(e,t,r){"use strict";(function(t){
  15. /*!
  16. * vuex v3.6.2
  17. * (c) 2021 Evan You
  18. * @license MIT
  19. */
  20. function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,r.call(this,e)}}function n(){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 n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},i=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.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 r=a(t,(function(t){return t.original===e}));if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach((function(r){n[r]=s(e[r],t)})),n}function c(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function u(e){return null!==e&&"object"===typeof e}function f(e){return e&&"function"===typeof e.then}function l(e,t){if(!e)throw new Error("[vuex] "+t)}function d(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=("function"===typeof r?r():r)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.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)},h.prototype.forEachChild=function(e){c(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var v=function(e){this.register([],e,!1)};function g(e,t,r){if(w(e,r),t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n))return void console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");g(e.concat(n),t.getChild(n),r.modules[n])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,r){return t=t.getChild(r),e+(t.namespaced?r+"/":"")}),"")},v.prototype.update=function(e){g([],this.root,e)},v.prototype.register=function(e,t,r){var n=this;void 0===r&&(r=!0),w(e,t);var i=new h(t,r);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&c(t.modules,(function(t,i){n.register(e.concat(i),t,r)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1],n=t.getChild(r);n?n.runtime&&t.removeChild(r):console.warn("[vuex] trying to unregister module '"+r+"', which is not registered")},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1];return!!t&&t.hasChild(r)};var y,b={assert:function(e){return"function"===typeof e},expected:"function"},m={assert:function(e){return"function"===typeof e||"object"===typeof e&&"function"===typeof e.handler},expected:'function or object with "handler" function'},x={getters:b,mutations:b,actions:m};function w(e,t){Object.keys(x).forEach((function(r){if(t[r]){var n=x[r];c(t[r],(function(t,i){l(n.assert(t),_(e,r,i,t,n.expected))}))}}))}function _(e,t,r,n,i){var o=t+" should be "+i+' but "'+t+"."+r+'"';return e.length>0&&(o+=' in module "'+e.join(".")+'"'),o+=" is "+JSON.stringify(n)+".",o}var S=function e(t){var r=this;void 0===t&&(t={}),!y&&"undefined"!==typeof window&&window.Vue&&F(window.Vue),l(y,"must call Vue.use(Vuex) before creating a store instance."),l("undefined"!==typeof Promise,"vuex requires a Promise polyfill in this browser."),l(this instanceof e,"store must be called with the new operator.");var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new y,this._makeLocalGettersCache=Object.create(null);var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(e,t){return c.call(a,e,t)},this.commit=function(e,t,r){return u.call(a,e,t,r)},this.strict=i;var f=this._modules.root.state;E(this,f,[],this._modules.root),M(this,f),n.forEach((function(e){return e(r)}));var d=void 0!==t.devtools?t.devtools:y.config.devtools;d&&o(this)},A={state:{configurable:!0}};function k(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function P(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;E(e,r,[],e._modules.root,!0),M(e,r,t)}function M(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};c(i,(function(t,r){o[r]=d(t,e),Object.defineProperty(e.getters,r,{get:function(){return e._vm[r]},enumerable:!0})}));var a=y.config.silent;y.config.silent=!0,e._vm=new y({data:{$$state:t},computed:o}),y.config.silent=a,e.strict&&B(e),n&&(r&&e._withCommit((function(){n._data.$$state=null})),y.nextTick((function(){return n.$destroy()})))}function E(e,t,r,n,i){var o=!r.length,a=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[a]&&console.error("[vuex] duplicate namespace "+a+" for the namespaced module "+r.join("/")),e._modulesNamespaceMap[a]=n),!o&&!i){var s=D(t,r.slice(0,-1)),c=r[r.length-1];e._withCommit((function(){c in s&&console.warn('[vuex] state field "'+c+'" was overridden by a module with the same name at "'+r.join(".")+'"'),y.set(s,c,n.state)}))}var u=n.context=O(e,a,r);n.forEachMutation((function(t,r){var n=a+r;C(e,n,t,u)})),n.forEachAction((function(t,r){var n=t.root?r:a+r,i=t.handler||t;I(e,n,i,u)})),n.forEachGetter((function(t,r){var n=a+r;j(e,n,t,u)})),n.forEachChild((function(n,o){E(e,t,r.concat(o),n,i)}))}function O(e,t,r){var n=""===t,i={dispatch:n?e.dispatch:function(r,n,i){var o=L(r,n,i),a=o.payload,s=o.options,c=o.type;if(s&&s.root||(c=t+c,e._actions[c]))return e.dispatch(c,a);console.error("[vuex] unknown local action type: "+o.type+", global type: "+c)},commit:n?e.commit:function(r,n,i){var o=L(r,n,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=t+c,e._mutations[c])?e.commit(c,a,s):console.error("[vuex] unknown local mutation type: "+o.type+", global type: "+c)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return T(e,t)}},state:{get:function(){return D(e.state,r)}}}),i}function T(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var o=i.slice(n);Object.defineProperty(r,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function C(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){r.call(e,n.state,t)}))}function I(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return f(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function j(e,t,r,n){e._wrappedGetters[t]?console.error("[vuex] duplicate getter key: "+t):e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)}}function B(e){e._vm.$watch((function(){return this._data.$$state}),(function(){l(e._committing,"do not mutate vuex store state outside mutation handlers.")}),{deep:!0,sync:!0})}function D(e,t){return t.reduce((function(e,t){return e[t]}),e)}function L(e,t,r){return u(e)&&e.type&&(r=t,t=e,e=e.type),l("string"===typeof e,"expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:r}}function F(e){y&&e===y?console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(y=e,r(y))}A.state.get=function(){return this._vm._data.$$state},A.state.set=function(e){l(!1,"use store.replaceState() to explicit replace store state.")},S.prototype.commit=function(e,t,r){var n=this,i=L(e,t,r),o=i.type,a=i.payload,s=i.options,c={type:o,payload:a},u=this._mutations[o];u?(this._withCommit((function(){u.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(c,n.state)})),s&&s.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")):console.error("[vuex] unknown mutation type: "+o)},S.prototype.dispatch=function(e,t){var r=this,n=L(e,t),i=n.type,o=n.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,r.state)}))}catch(u){console.warn("[vuex] error in before action subscribers: "),console.error(u)}var c=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){c.then((function(t){try{r._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,r.state)}))}catch(u){console.warn("[vuex] error in after action subscribers: "),console.error(u)}e(t)}),(function(e){try{r._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,r.state,e)}))}catch(u){console.warn("[vuex] error in error action subscribers: "),console.error(u)}t(e)}))}))}console.error("[vuex] unknown action type: "+i)},S.prototype.subscribe=function(e,t){return k(e,this._subscribers,t)},S.prototype.subscribeAction=function(e,t){var r="function"===typeof e?{before:e}:e;return k(r,this._actionSubscribers,t)},S.prototype.watch=function(e,t,r){var n=this;return l("function"===typeof e,"store.watch only accepts a function."),this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,r)},S.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},S.prototype.registerModule=function(e,t,r){void 0===r&&(r={}),"string"===typeof e&&(e=[e]),l(Array.isArray(e),"module path must be a string or an Array."),l(e.length>0,"cannot register the root module by using registerModule."),this._modules.register(e,t),E(this,this.state,e,this._modules.get(e),r.preserveState),M(this,this.state)},S.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),l(Array.isArray(e),"module path must be a string or an Array."),this._modules.unregister(e),this._withCommit((function(){var r=D(t.state,e.slice(0,-1));y.delete(r,e[e.length-1])})),P(this)},S.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),l(Array.isArray(e),"module path must be a string or an Array."),this._modules.isRegistered(e)},S.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),P(this,!0)},S.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(S.prototype,A);var R=W((function(e,t){var r={};return H(t)||console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),$(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=this.$store.state,r=this.$store.getters;if(e){var n=Q(this.$store,"mapState",e);if(!n)return;t=n.context.state,r=n.context.getters}return"function"===typeof i?i.call(this,t,r):t[i]},r[n].vuex=!0})),r})),N=W((function(e,t){var r={};return H(t)||console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),$(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.commit;if(e){var o=Q(this.$store,"mapMutations",e);if(!o)return;n=o.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),z=W((function(e,t){var r={};return H(t)||console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),$(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,r[n]=function(){if(!e||Q(this.$store,"mapGetters",e)){if(i in this.$store.getters)return this.$store.getters[i];console.error("[vuex] unknown getter: "+i)}},r[n].vuex=!0})),r})),U=W((function(e,t){var r={};return H(t)||console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),$(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.dispatch;if(e){var o=Q(this.$store,"mapActions",e);if(!o)return;n=o.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),q=function(e){return{mapState:R.bind(null,e),mapGetters:z.bind(null,e),mapMutations:N.bind(null,e),mapActions:U.bind(null,e)}};function $(e){return H(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 H(e){return Array.isArray(e)||u(e)}function W(e){return function(t,r){return"string"!==typeof t?(r=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,r)}}function Q(e,t,r){var n=e._modulesNamespaceMap[r];return n||console.error("[vuex] module namespace not found in "+t+"(): "+r),n}function V(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var r=e.filter;void 0===r&&(r=function(e,t,r){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var c=e.logMutations;void 0===c&&(c=!0);var u=e.logActions;void 0===u&&(u=!0);var f=e.logger;return void 0===f&&(f=console),function(e){var l=s(e.state);"undefined"!==typeof f&&(c&&e.subscribe((function(e,o){var a=s(o);if(r(e,l,a)){var c=X(),u=i(e),d="mutation "+e.type+c;K(f,d,t),f.log("%c prev state","color: #9E9E9E; font-weight: bold",n(l)),f.log("%c mutation","color: #03A9F4; font-weight: bold",u),f.log("%c next state","color: #4CAF50; font-weight: bold",n(a)),G(f)}l=a})),u&&e.subscribeAction((function(e,r){if(o(e,r)){var n=X(),i=a(e),s="action "+e.type+n;K(f,s,t),f.log("%c action","color: #03A9F4; font-weight: bold",i),G(f)}})))}}function K(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch(i){e.log(t)}}function G(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function X(){var e=new Date;return" @ "+J(e.getHours(),2)+":"+J(e.getMinutes(),2)+":"+J(e.getSeconds(),2)+"."+J(e.getMilliseconds(),3)}function Y(e,t){return new Array(t+1).join(e)}function J(e,t){return Y("0",t-e.toString().length)+e}var Z={Store:S,install:F,version:"3.6.2",mapState:R,mapMutations:N,mapGetters:z,mapActions:U,createNamespacedHelpers:q,createLogger:V};e.exports=Z}).call(this,r(2))},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={namespaced:!0,state:function(){return{token:e.getStorageSync("token")||"",parentInfo:JSON.parse(e.getStorageSync("parentInfo")||"{}"),phoneNumber:e.getStorageSync("phoneNumber")||"",childrenData:JSON.parse(e.getStorageSync("childrenData")||"{}"),userData:JSON.parse(e.getStorageSync("userData")||"{}"),classData:JSON.parse(e.getStorageSync("classData")||"{}"),childDailyData:JSON.parse(e.getStorageSync("childDailyData")||"{}")}},mutations:{updateToken:function(t,r){t.token=r,e.setStorageSync("token",t.token)},updateParentInfo:function(t,r){t.parentInfo=r,e.setStorageSync("parentInfo",JSON.stringify(t.parentInfo))},updatePhoneNumber:function(t,r){t.phoneNumber=r,e.setStorageSync("phoneNumber",t.phoneNumber)},updateChildrenData:function(t,r){t.childrenData=r,e.setStorageSync("childrenData",JSON.stringify(t.childrenData))},updateUserData:function(t,r){t.userData=r,e.setStorageSync("userData",JSON.stringify(t.userData))},updateClassData:function(t,r){t.classData=r,e.setStorageSync("classData",JSON.stringify(t.classData))},updateChildDailyData:function(t,r){t.childDailyData=r,e.setStorageSync("childDailyData",JSON.stringify(t.childDailyData))}},getters:{}};t.default=r}).call(this,r(1)["default"])},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={namespaced:!0,state:function(){return{childInfo:JSON.parse(e.getStorageSync("childInfo")||"{}"),classList:"",examData:"",workData:"",swapData:"",clockData:"",medalData:"",examPractice:"",mistakeData:""}},mutations:{updateChildInfo:function(t,r){t.childInfo=r,e.setStorageSync("childInfo",JSON.stringify(t.childInfo))},updateClassList:function(e,t){e.classList=t},updateExamData:function(e,t){e.examData=t},updateWorkData:function(e,t){e.workData=t},updateSwapData:function(e,t){e.swapData=t},updateClockData:function(e,t){e.clockData=t},updateMedalData:function(e,t){e.medalData=t},updateExamPractice:function(e,t){e.examPractice=t},updateMistakeData:function(e,t){e.mistakeData=t}}};t.default=r}).call(this,r(1)["default"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={namespaced:!0,state:function(){return{examChartData:"",workChartData:"",swapChartData:"",subjectExamData:""}},mutations:{updateExamChartData:function(e,t){e.examChartData=t},updateWorkChartData:function(e,t){e.workChartData=t},updateSwapChartData:function(e,t){e.swapChartData=t},updateSubjectExamData:function(e,t){e.subjectExamData=t}},getters:{}};t.default=n},function(e,t,r){"use strict";(function(e){function r(e){var t=this;t.noClick?(t.noClick=!1,e(),setTimeout((function(){t.noClick=!0}),2e3)):console.log("请稍后点击")}function n(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e}function i(e){for(var t=new Array,r=e;r>0;r--){var n=new Date;n.setDate(n.getDate()-r+1),t.push(n.format("M-dd"))}return t}function o(e){e=e||null;var t=new Date(e),r=(t.getFullYear(),(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-"),n=(t.getDate()<10?"0"+t.getDate():t.getDate())+" ",i=(t.getHours()<10?"0"+t.getHours():t.getHours())+":",o=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes();t.getSeconds(),t.getSeconds();return r+n+i+o}function a(){this.$store.commit("m_parent/updateToken"),this.$store.commit("m_parent/updateParentInfo"),this.$store.commit("m_parent/updatePhoneNumber"),this.$store.commit("m_parent/updateChildrenData"),this.$store.commit("m_parent/updateUserData"),this.$store.commit("m_children/updateChildInfo"),this.$store.commit("m_parent/updateClassData"),this.$store.commit("m_parent/updateChildDailyData"),e.setStorageSync("moduleData"),e.reLaunch({url:"/subpkg/startup/login"})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s={noMultipleClicks:r,dateUtil:n,getRecentDateArray:i,timeStampToTime:o,logOut:a};t.default=s}).call(this,r(1)["default"])},function(e,t,r){"use strict";(function(e){function r(t){var r=this,n=[];return n.push(new Promise((function(t,n){e.request({url:"https://mock.apifox.cn/m1/1119457-0-default/parentInfo",data:{phoneNumber:17882237075},method:"POST",success:function(e){r.$store.commit("m_parent/updateUserData",e.data),t("请求返回成功!")},fail:function(e){n("请求返回失败!")}})}))),Promise.all(n).then((function(e){console.log("initStart",e)}))}function n(){var t=this,r=[{vote:{owner:"teacher",school:null,name:"投票活动01",creatorId:"张老师",description:"家长参与的投票活动",progress:"going",options:[{code:"A",value:"<p>一方案富文本</p>",desc:null},{code:"B",value:"<p>二方案富文本</p>",desc:null}],secret:!1,times:"once",voteNum:1,repeat:!1,scope:"private",classes:[],stuLists:["d2bb9111-d6f3-d97f-9a6d-5f6b7e653279","d25f3dbf-c7d5-da58-6155-cc584439aac8"],tchLists:[],groupLists:[],targetType:"student",targets:["d2bb9111-d6f3-d97f-9a6d-5f6b7e653279","d25f3dbf-c7d5-da58-6155-cc584439aac8"],startTime:1647918299414,createTime:1647918299414,endTime:1648051199999,updateTime:0,recordUrl:"/vote/2224ae0f-056b-4188-aa0e-5b5f3806d70f/record.json",status:0,size:0,areaId:null,pId:null,publish:0,id:"2224ae0f-056b-4188-aa0e-5b5f3806d70f",code:"Vote-张老师",pk:"Vote",ttl:-1},status:200},{survey:{owner:"teacher",school:null,name:"问卷活动01",description:"家长问卷示例dawbnduiawhdaw",creatorId:"张老师",progress:"finish",scope:"private",classes:[],stuLists:["285af18b-cc2b-7045-8726-acddd5b1a3c9"],tchLists:[],groupLists:[],targetType:"student",targets:["285af18b-cc2b-7045-8726-acddd5b1a3c9"],startTime:1647934008496,endTime:1648051199999,createTime:1647934021458,updateTime:0,blob:"/survey/710b92d4-803f-3381-cad1-6a5ebc7f7544/index.json",recordUrl:"/survey/710b92d4-803f-3381-cad1-6a5ebc7f7544/record.json",answers:[["A","B","C","D"]],status:0,size:830,areaId:null,pId:null,publish:0,id:"710b92d4-803f-3381-cad1-6a5ebc7f7544",code:"Survey-张老师",pk:"Survey",ttl:-1},status:200},{survey:{owner:"teacher",school:null,name:"问卷活动02",description:"家长问卷示例",creatorId:"张老师",progress:"finish",scope:"private",classes:[],stuLists:["285af18b-cc2b-7045-8726-acddd5b1a3c9"],tchLists:[],groupLists:[],targetType:"student",targets:["285af18b-cc2b-7045-8726-acddd5b1a3c9"],startTime:1647934008496,endTime:1648051199999,createTime:1647934021458,updateTime:0,blob:"/survey/710b92d4-803f-3381-cad1-6a5ebc7f7544/index.json",recordUrl:"/survey/710b92d4-803f-3381-cad1-6a5ebc7f7544/record.json",answers:[["A","B","C","D"]],status:0,size:830,areaId:null,pId:null,publish:0,id:"710b92d4-803f-3381-cad1-6a5ebc7f7544",code:"Survey-张老师",pk:"Survey",ttl:-1},status:200}];this.$store.commit("m_children/updateSwapData",r);var n=[];return n.push(new Promise((function(r,n){e.request({url:"https://mock.apifox.cn/m1/1119457-0-default/exam",data:{childid:0x4fefa45e2edba40},method:"POST",success:function(e){""===e.data&&(e.data="今日无评测"),t.$store.commit("m_children/updateExamData",e.data),r("请求返回成功!")},fail:function(e){n("请求返回失败!")}})}))),n.push(new Promise((function(r,n){e.request({url:"https://mock.apifox.cn/m1/1119457-0-default/work",data:{childid:0x4fefa45e2edba40},method:"POST",success:function(e){""===e.data&&(e.data="今日无作业"),t.$store.commit("m_children/updateWorkData",e.data),r("请求返回成功!")},fail:function(e){n("请求返回失败!")}})}))),Promise.all(n).then((function(e){console.log("initTab",e)}))}function i(){var t=this,r=[];r.push(new Promise((function(r,n){e.request({url:"https://mock.apifox.cn/m1/1119457-0-default/clockData",data:{childid:0x4fefa45e2edba40},method:"POST",success:function(e){t.$store.commit("m_children/updateClockData",e.data),r("请求返回成功!")},fail:function(e){n("请求返回失败!")}})})));var n=[{title:"文章鉴赏",name:"语文",teacher:"王老师",time:"09:00-09:50",timeFrame:"上午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"计算练习",name:"数学",teacher:"李老师",time:"09:50-10:50",timeFrame:"上午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"阅读专项训练",name:"外语",teacher:"张老师",time:"10:50-11:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"思想品德教育",name:"思品",teacher:"史老师",time:"11:55-14:50",timeFrame:"下午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"户外运动锻炼",name:"体育",teacher:"李老师",time:"14:50-16:25",timeFrame:"下午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"科学学习实验",name:"科学",teacher:"张老师",time:"16:55-17:56",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"随堂测验",name:"数学",teacher:"李老师",time:"20:50-21:50",timeFrame:"下午第四节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0}];this.$store.commit("m_children/updateClassList",n);var i=[[{coverImage:"https://marketplace.canva.cn/EAEAoxTcVrg/3/0/1003w/canva-YsJetSS4oHs.jpg",resource:"",title:"应用数学题",classHour:3,learnNum:370,description:"在课程中让孩子练习掌握应用数学题的解法与思路"},{coverImage:"https://marketplace.canva.cn/EADjuhwxZWc/7/0/1003w/canva-xsv0lKONlIA.jpg",resource:"",title:"科学小知识",classHour:6,learnNum:643,description:"通过有趣的讲解与实验带领孩子了解各种科学小知识,激发孩子对科学的兴趣"},{coverImage:"https://marketplace.canva.cn/EAEAo7AZjBQ/2/0/1003w/canva-IoLRlod_dOE.jpg",resource:"",title:"油画基础入门",classHour:2,learnNum:88,description:"油画基础入门课程,细致入微地带领孩子系统的学习油画相关知识与画油画练习"}],[{coverImage:"https://marketplace.canva.cn/EAEAo091-28/2/0/1003w/canva-x9LIziZcH68.jpg",resource:"",title:"小太阳幼儿园",classHour:6,learnNum:334,description:"幼儿园孩子必备课程,在幼儿园阶段为孩子建立起良好的习惯与学习生活小技巧"},{coverImage:"https://marketplace.canva.cn/EAEAowi6rQU/1/0/1003w/canva-RaCVbz0F4sM.jpg",resource:"",title:"刻意学习,持续行动",classHour:3,learnNum:256,description:"怎样才能达到学者的思想境界与知识储备水平?本课程从新颖的角度介绍与论证刻意学习,持续行动的重要性与可行性"},{coverImage:"https://marketplace.canva.cn/EAEAozL5pxw/2/0/1003w/canva-9w9Dy9opNkE.jpg",resource:"",title:"总有一个适合孩子的特长",classHour:7,learnNum:366,description:"在轻松愉快的课程中介绍各种特长的优点与难点,吸引孩子学习兴趣"}],[{coverImage:"https://marketplace.canva.cn/EAEAo9pbRQU/2/0/1003w/canva-L1TJidwAUEA.jpg",resource:"",title:"收益一生的哲理故事",classHour:12,learnNum:1343,description:"以故事启发孩子,以哲理受益人生"},{coverImage:"https://marketplace.canva.cn/EAEAoyJLMsA/2/0/1003w/canva-LSrk4pHUaS4.jpg",resource:"",title:"图解小学数学",classHour:5,learnNum:1230,description:"通过例题与图画全面分析与教学小学数学,提高孩子学习热情"},{coverImage:"https://marketplace.canva.cn/EAEAo2_-R0U/2/0/1003w/canva-Fd092WF6yNA.jpg",resource:"",title:"每日一练随堂检测",classHour:8,learnNum:143,description:"课堂例题引入学习,每日一练提高成绩"}]];return this.$store.commit("m_parent/updateClassData",i),Promise.all(r).then((function(e){console.log("initHome",e)}))}function o(){var e=["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],t=["数学","语文","英语","体育","科学","思品"],r={};r.examList=e,r.subjectList=t,this.$store.commit("m_chart/updateSubjectExamData",r);var n=[{subject:"语文",type:"客观题",title:"阅读理解",modality:"专项训练",amount:15},{subject:"数学",type:"客观题",title:"计算练习",modality:"综合训练",amount:35},{subject:"英语",type:"客观题",title:"语句排序问题",modality:"专项训练",amount:20},{subject:"物理",type:"客观题",title:"牛顿定律问题",modality:"专项训练",amount:25},{subject:"地理",type:"客观题",title:"时区问题",modality:"专项训练",amount:10},{subject:"历史",type:"客观题",title:"历史常识问题",modality:"专项训练",amount:30}];this.$store.commit("m_children/updateExamPractice",n);var i={totalChartData:[{categories:e,series:[{name:"孩子总成绩",data:[556,577,540,588,563,594]},{name:"班级平均分",data:[460,477,455,522,538,511]},{name:"年级平均分",data:[533,476,484,547,485,502]}]},{},{categories:e,series:[{name:t[0],data:[90,95,92,100,88,99]},{name:t[1],data:[95,98,84,92,93,89]},{name:t[2],data:[98,89,97,84,95,89]},{name:t[3],data:[91,72,92,89,97,92]},{name:t[4],data:[95,89,92,87,91,83]},{name:t[5],data:[91,82,87,84,90,85]}]}],singleChartData:[{categories:t,series:[{name:"当前测验成绩",data:[91,92,94,88,88,98]},{name:"上次测验成绩",data:[88,84,97,92,89,93]}]},{categories:t,series:[{name:"当前测验成绩",data:[99,72,84,92,77,93]},{name:"班级平均",data:[88,84,79,82,89,83]},{name:"年级平均",data:[78,74,77,86,78,79]}]},{categories:t,series:[{name:"当前测验成绩",data:[71,62,74,98,58,92]},{name:"上次测验成绩",data:[48,64,57,52,79,93]}]}],rankChartData:[{categories:e,series:[{name:"超过年级中",data:[50,75,62,80,68,39]},{name:"超过班级中",data:[95,98,84,92,93,79]}]},{}],subjectChartData:[{series:[{data:[{name:t[0],value:100},{name:t[1],value:86},{name:t[2],value:100},{name:t[3],value:79},{name:t[4],value:88},{name:t[5],value:95}]}]},{series:[{data:[{name:t[0],value:95},{name:t[1],value:88},{name:t[2],value:99},{name:t[3],value:80},{name:t[4],value:77},{name:t[5],value:95}]}]}],levelChartData:[{categories:t,series:[{name:"开学考试",data:[90,89,98,88,95,89]},{name:"期中考试",data:[94,89,97,91,95,90]},{name:"期末考试",data:[90,90,95,96,90,92]}]},{categories:t,series:[{name:"第一月考",data:[90,100,77,78,75,95]},{name:"第二月考",data:[89,94,75,99,80,92]},{name:"第三月考",data:[79,84,94,73,99,87]}]}]};this.$store.commit("m_chart/updateExamChartData",i)}function a(){function e(e){for(var t=new Array,r=e;r>0;r--){var n=new Date;n.setDate(n.getDate()-r+1),t.push(n.format("M-d"))}return t}var t=[],r=e(6),n={categories:r,series:[{name:"孩子完成率",data:[55,57,54,88,63,94]},{name:"班级平均完成率",data:[60,77,55,44,58,71]}]},i={categories:r,series:[{name:"孩子平均得分率",data:[56,77,40,88,63,94]},{name:"班级平均得分率",data:[60,77,55,22,38,11]}]};t.push(n),t.push(i),this.$store.commit("m_chart/updateWorkChartData",t);var o=[{subject:"语文",amount:20,color:"#4169E1"},{subject:"数学",amount:30,color:"#ff8caf"},{subject:"英语",amount:10,color:"#FF6D31"},{subject:"科学",amount:8,color:"#f9c752"}];this.$store.commit("m_children/updateMistakeData",o)}function s(){if(e.getStorageSync("childDailyData")){console.log("有缓存");var t=JSON.parse(e.getStorageSync("childDailyData"));this.$store.commit("m_parent/updateChildDailyData",t)}else{console.log("没有缓存");var r={study:[2,3,2.5,3,2,1,3],rest:[1,2,.5,3,.5,3.5,2],exercise:[50,77,25,30,55,20,60],sleep:[8,9,8,8.5,7.8,8,7.6]};this.$store.commit("m_parent/updateChildDailyData",r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c={initStart:r,initTab:n,initHome:i,initExam:o,initWork:a,initSwap:s};t.default=c}).call(this,r(1)["default"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(144));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}var c=function(){function e(){o(this,e),this._baseUrl="https://test.teammodel.cn",this._request=new n.default}return s(e,[{key:"getUserToken",value:function(e){return this._request.postRequest(this._baseUrl+"/aclassone/get-miniapp-userinfo",e)}},{key:"getChildrenInfo",value:function(e){return this._request.postRequest(this._baseUrl+"/aclassone/get-students-phone",e)}},{key:"getUserData",value:function(e){return this._request.postRequest("https://mock.apifox.cn/m1/1119457-0-default/parentInfo",e)}}]),e}(),u=c;t.default=u},function(e,t,r){"use strict";(function(e){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function t(){r(this,t)}return i(t,[{key:"requestAll",value:function(t,r,n,i){return new Promise((function(o,a){e.getStorageSync("token")&&(n={authorization:e.getStorageSync("token").token.tokenType+" "+e.getStorageSync("token").token.accessToken}),e.request({url:t,data:r,header:n,method:i,success:function(e){200===e.statusCode?o(e):a(e)},fail:function(e){a(e)}})}))}},{key:"getRequest",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._header;return this.requestAll(e,t,r,"GET")}},{key:"postRequest",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._header;return this.requestAll(e,t,r,"POST")}},{key:"putRequest",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._header;return this.requestAll(e,t,r,"PUT")}},{key:"deleteRequest",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._header;return this.requestAll(e,t,r,"DELETE")}}]),t}(),a=o;t.default=a}).call(this,r(1)["default"])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){(function(t){var n=r(206);function i(e,t){this.appId=e,this.sessionKey=t}i.prototype.decryptData=function(e,r){var i=new t(this.sessionKey,"base64");e=new t(e,"base64"),r=new t(r,"base64");try{var o=n.createDecipheriv("aes-128-cbc",i,r);o.setAutoPadding(!0);var a=o.update(e,"binary","utf8");a+=o.final("utf8"),a=JSON.parse(a)}catch(s){throw new Error("Illegal Buffer")}if(a.watermark.appid!==this.appId)throw new Error("Illegal Buffer");return a},e.exports=i}).call(this,r(29).Buffer)},function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(207),t.createHash=t.Hash=r(211),t.createHmac=t.Hmac=r(246);var n=r(249),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var a=r(251);t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var s=r(257);t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var c=r(286);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var u=r(296);t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=r(351);var f=r(352);t.publicEncrypt=f.publicEncrypt,t.privateEncrypt=f.privateEncrypt,t.publicDecrypt=f.publicDecrypt,t.privateDecrypt=f.privateDecrypt;var l=r(358);t.randomFill=l.randomFill,t.randomFillSync=l.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){"use strict";(function(t,n){var i=65536,o=4294967295;function a(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var s=r(210).Buffer,c=t.crypto||t.msCrypto;function u(e,t){if(e>o)throw new RangeError("requested too many random bytes");var r=s.allocUnsafe(e);if(e>0)if(e>i)for(var a=0;a<e;a+=i)c.getRandomValues(r.slice(a,a+i));else c.getRandomValues(r);return"function"===typeof t?n.nextTick((function(){t(null,r)})):r}c&&c.getRandomValues?e.exports=u:e.exports=a}).call(this,r(2),r(208))},function(e,t,r){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,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r(209)),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===o(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(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,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r(208))},function(e,t,r){var n=r(29),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),o(i,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";var n=r(212),i=r(213),o=r(231),a=r(232),s=r(240);function c(e){s.call(this,"digest"),this._hash=e}n(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return e=e.toLowerCase(),"md5"===e?new i:"rmd160"===e||"ripemd160"===e?new o:new c(a(e))}},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t,r){"use strict";var n=r(212),i=r(214),o=r(210).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,i,o,a){return c(e+(t&r|~t&n)+i+o|0,a)+t|0}function f(e,t,r,n,i,o,a){return c(e+(t&n|r&~n)+i+o|0,a)+t|0}function l(e,t,r,n,i,o,a){return c(e+(t^r^n)+i+o|0,a)+t|0}function d(e,t,r,n,i,o,a){return c(e+(r^(t|~n))+i+o|0,a)+t|0}n(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,e[0],3614090360,7),o=u(o,r,n,i,e[1],3905402710,12),i=u(i,o,r,n,e[2],606105819,17),n=u(n,i,o,r,e[3],3250441966,22),r=u(r,n,i,o,e[4],4118548399,7),o=u(o,r,n,i,e[5],1200080426,12),i=u(i,o,r,n,e[6],2821735955,17),n=u(n,i,o,r,e[7],4249261313,22),r=u(r,n,i,o,e[8],1770035416,7),o=u(o,r,n,i,e[9],2336552879,12),i=u(i,o,r,n,e[10],4294925233,17),n=u(n,i,o,r,e[11],2304563134,22),r=u(r,n,i,o,e[12],1804603682,7),o=u(o,r,n,i,e[13],4254626195,12),i=u(i,o,r,n,e[14],2792965006,17),n=u(n,i,o,r,e[15],1236535329,22),r=f(r,n,i,o,e[1],4129170786,5),o=f(o,r,n,i,e[6],3225465664,9),i=f(i,o,r,n,e[11],643717713,14),n=f(n,i,o,r,e[0],3921069994,20),r=f(r,n,i,o,e[5],3593408605,5),o=f(o,r,n,i,e[10],38016083,9),i=f(i,o,r,n,e[15],3634488961,14),n=f(n,i,o,r,e[4],3889429448,20),r=f(r,n,i,o,e[9],568446438,5),o=f(o,r,n,i,e[14],3275163606,9),i=f(i,o,r,n,e[3],4107603335,14),n=f(n,i,o,r,e[8],1163531501,20),r=f(r,n,i,o,e[13],2850285829,5),o=f(o,r,n,i,e[2],4243563512,9),i=f(i,o,r,n,e[7],1735328473,14),n=f(n,i,o,r,e[12],2368359562,20),r=l(r,n,i,o,e[5],4294588738,4),o=l(o,r,n,i,e[8],2272392833,11),i=l(i,o,r,n,e[11],1839030562,16),n=l(n,i,o,r,e[14],4259657740,23),r=l(r,n,i,o,e[1],2763975236,4),o=l(o,r,n,i,e[4],1272893353,11),i=l(i,o,r,n,e[7],4139469664,16),n=l(n,i,o,r,e[10],3200236656,23),r=l(r,n,i,o,e[13],681279174,4),o=l(o,r,n,i,e[0],3936430074,11),i=l(i,o,r,n,e[3],3572445317,16),n=l(n,i,o,r,e[6],76029189,23),r=l(r,n,i,o,e[9],3654602809,4),o=l(o,r,n,i,e[12],3873151461,11),i=l(i,o,r,n,e[15],530742520,16),n=l(n,i,o,r,e[2],3299628645,23),r=d(r,n,i,o,e[0],4096336452,6),o=d(o,r,n,i,e[7],1126891415,10),i=d(i,o,r,n,e[14],2878612391,15),n=d(n,i,o,r,e[5],4237533241,21),r=d(r,n,i,o,e[12],1700485571,6),o=d(o,r,n,i,e[3],2399980690,10),i=d(i,o,r,n,e[10],4293915773,15),n=d(n,i,o,r,e[1],2240044497,21),r=d(r,n,i,o,e[8],1873313359,6),o=d(o,r,n,i,e[15],4264355552,10),i=d(i,o,r,n,e[6],2734768916,15),n=d(n,i,o,r,e[13],1309151649,21),r=d(r,n,i,o,e[4],4149444226,6),o=d(o,r,n,i,e[11],3174756917,10),i=d(i,o,r,n,e[2],718787259,15),n=d(n,i,o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},function(e,t,r){"use strict";var n=r(210).Buffer,i=r(215).Transform,o=r(212);function a(e,t){if(!n.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}function s(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}o(s,i),s.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)},s.prototype.update=function(e,t){if(a(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));var r=this._block,i=0;while(this._blockOffset+e.length-i>=this._blockSize){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}while(i<e.length)r[this._blockOffset++]=e[i++];for(var s=0,c=8*e.length;c>0;++s)this._length[s]+=c,c=this._length[s]/4294967296|0,c>0&&(this._length[s]-=4294967296*c);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=s},function(e,t,r){t=e.exports=r(216),t.Stream=t,t.Readable=t,t.Writable=r(226),t.Duplex=r(225),t.Transform=r(229),t.PassThrough=r(230)},function(e,t,r){"use strict";(function(t,n){var i=r(217);e.exports=_;var o,a=r(32);_.ReadableState=w;r(218).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=r(219),u=r(210).Buffer,f=t.Uint8Array||function(){};function l(e){return u.from(e)}function d(e){return u.isBuffer(e)||e instanceof f}var h=Object.create(r(220));h.inherits=r(212);var p=r(221),v=void 0;v=p&&p.debuglog?p.debuglog("stream"):function(){};var g,y=r(222),b=r(224);h.inherits(_,c);var m=["error","close","destroy","pause","resume"];function x(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function w(e,t){o=o||r(225),e=e||{};var n=t instanceof o;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=r(228).StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function _(e){if(o=o||r(225),!(this instanceof _))return new _(e);this._readableState=new w(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function S(e,t,r,n,i){var o,a=e._readableState;null===t?(a.reading=!1,T(e,a)):(i||(o=k(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=l(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):A(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?A(e,a,t,!1):j(e,a)):A(e,a,t,!1))):n||(a.reading=!1));return P(a)}function A(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&C(e)),j(e,t)}function k(e,t){var r;return d(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function P(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),_.prototype.destroy=b.destroy,_.prototype._undestroy=b.undestroy,_.prototype._destroy=function(e,t){this.push(null),t(e)},_.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=u.from(e,t),t=""),r=!0),S(this,e,t,!1,r)},_.prototype.unshift=function(e){return S(this,e,null,!0,!1)},_.prototype.isPaused=function(){return!1===this._readableState.flowing},_.prototype.setEncoding=function(e){return g||(g=r(228).StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var M=8388608;function E(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=E(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function T(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,C(e)}}function C(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(v("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(I,e):I(e))}function I(e){v("emit readable"),e.emit("readable"),N(e)}function j(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(B,e,t))}function B(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(v("maybeReadMore read 0"),e.read(0),r===t.length)break;r=t.length}t.readingMore=!1}function D(e){return function(){var t=e._readableState;v("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,N(e))}}function L(e){v("readable nexttick read 0"),e.read(0)}function F(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(R,e,t))}function R(e,t){t.reading||(v("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;v("flow",t.flowing);while(t.flowing&&null!==e.read());}function z(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=U(e,t.buffer,t.decoder),r);var r}function U(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?q(e,t):$(e,t),n}function q(e,t){var r=t.head,n=1,i=r.data;e-=i.length;while(r=r.next){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),e-=a,0===e){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}function $(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;while(n=n.next){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),e-=a,0===e){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}function H(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(W,t,e))}function W(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Q(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}_.prototype.read=function(e){v("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return v("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?H(this):C(this),null;if(e=O(e,t),0===e&&t.ended)return 0===t.length&&H(this),null;var n,i=t.needReadable;return v("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,v("length less than watermark",i)),t.ended||t.reading?(i=!1,v("reading or ended",i)):i&&(v("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=O(r,t))),n=e>0?z(e,t):null,null===n?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&H(this)),null!==n&&this.emit("data",n),n},_.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},_.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e);break}o.pipesCount+=1,v("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,c=a?f:w;function u(e,t){v("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,h())}function f(){v("onend"),e.end()}o.endEmitted?i.nextTick(c):r.once("end",c),e.on("unpipe",u);var l=D(r);e.on("drain",l);var d=!1;function h(){v("cleanup"),e.removeListener("close",b),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",y),e.removeListener("unpipe",u),r.removeListener("end",f),r.removeListener("end",w),r.removeListener("data",g),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l()}var p=!1;function g(t){v("ondata"),p=!1;var n=e.write(t);!1!==n||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==Q(o.pipes,e))&&!d&&(v("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function y(t){v("onerror",t),w(),e.removeListener("error",y),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",m),w()}function m(){v("onfinish"),e.removeListener("close",b),w()}function w(){v("unpipe"),r.unpipe(e)}return r.on("data",g),x(e,"error",y),e.once("close",b),e.once("finish",m),e.emit("pipe",r),o.flowing||(v("pipe resume"),r.resume()),e},_.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,r);return this}var a=Q(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},_.prototype.on=function(e,t){var r=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&C(this):i.nextTick(L,this))}return r},_.prototype.addListener=_.prototype.on,_.prototype.resume=function(){var e=this._readableState;return e.flowing||(v("resume"),e.flowing=!0,F(this,e)),this},_.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this},_.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(v("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(v("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)){var o=t.push(i);o||(n=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<m.length;o++)e.on(m[o],this.emit.bind(this,m[o]));return this._read=function(t){v("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),_._fromList=z}).call(this,r(2),r(208))},function(e,t,r){"use strict";(function(t){function r(e,r,n,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:o=new Array(s-1),a=0;while(a<o.length)o[a++]=arguments[a];return t.nextTick((function(){e.apply(null,o)}))}}"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:r}:e.exports=t}).call(this,r(208))},function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function a(e){console&&console.warn&&console.warn(e)}n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function f(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,r,n){var i,o,s;if(f(r),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"===typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=l(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,a(c)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function v(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?m(i):y(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function b(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function m(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)o(c,this,t);else{var u=c.length,f=y(c,u);for(r=0;r<u;++r)o(f[r],this,t)}return!0},c.prototype.addListener=function(e,t){return d(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return d(this,e,t,!0)},c.prototype.once=function(e,t){return f(t),this.on(e,p(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return f(t),this.prependListener(e,p(this,e,t)),this},c.prototype.removeListener=function(e,t){var r,n,i,o,a;if(f(t),n=this._events,void 0===n)return this;if(r=n[e],void 0===r)return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():b(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)i=o[n],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=r[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},c.prototype.listeners=function(e){return v(this,e,!0)},c.prototype.rawListeners=function(e){return v(this,e,!1)},c.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},c.prototype.listenerCount=g,c.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){e.exports=r(218).EventEmitter},function(e,t,r){(function(e){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function n(e){return"boolean"===typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return"number"===typeof e}function s(e){return"string"===typeof e}function c(e){return"symbol"===typeof e}function u(e){return void 0===e}function f(e){return"[object RegExp]"===g(e)}function l(e){return"object"===typeof e&&null!==e}function d(e){return"[object Date]"===g(e)}function h(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"===typeof e}function v(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=r,t.isBoolean=n,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=a,t.isString=s,t.isSymbol=c,t.isUndefined=u,t.isRegExp=f,t.isObject=l,t.isDate=d,t.isError=h,t.isFunction=p,t.isPrimitive=v,t.isBuffer=e.isBuffer}).call(this,r(29).Buffer)},function(e,t){},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=r(210).Buffer,o=r(223);function a(e,t,r){e.copy(t,r)}e.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,r=""+t.data;while(t=t.next)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;var t=i.allocUnsafe(e>>>0),r=this.head,n=0;while(r)a(r.data,t,n),n+=r.data.length,r=r.next;return t},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){"use strict";var n=r(217);function i(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(a,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(a,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:o}},function(e,t,r){"use strict";var n=r(217),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var o=Object.create(r(220));o.inherits=r(212);var a=r(216),s=r(226);o.inherits(l,a);for(var c=i(s.prototype),u=0;u<c.length;u++){var f=c[u];l.prototype[f]||(l.prototype[f]=s.prototype[f])}function l(e){if(!(this instanceof l))return new l(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),l.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},function(e,t,r){"use strict";(function(t,n){var i=r(217);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){L(t,e)}}e.exports=m;var a,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;m.WritableState=b;var c=Object.create(r(220));c.inherits=r(212);var u={deprecate:r(227)},f=r(219),l=r(210).Buffer,d=n.Uint8Array||function(){};function h(e){return l.from(e)}function p(e){return l.isBuffer(e)||e instanceof d}var v,g=r(224);function y(){}function b(e,t){a=a||r(225),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){M(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function m(e){if(a=a||r(225),!v.call(m,this)&&!(this instanceof a))return new m(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),f.call(this)}function x(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function w(e,t,r,n){var o=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),i.nextTick(n,a),o=!1),o}function _(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=l.from(t,r)),t}function S(e,t,r,n,i,o){if(!r){var a=_(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else A(e,t,!1,s,n,i,o);return c}function A(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function k(e,t,r,n,o){--t.pendingcb,r?(i.nextTick(o,n),i.nextTick(B,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),B(e,t))}function P(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function M(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(P(r),t)k(e,r,n,t,i);else{var o=C(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||T(e,r),n?s(E,e,r,o,i):E(e,r,o,i)}}function E(e,t,r,n){r||O(e,t),t.pendingcb--,n(),B(e,t)}function O(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function T(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;var s=0,c=!0;while(r)i[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;i.allBuffers=c,A(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{while(r){var u=r.chunk,f=r.encoding,l=r.callback,d=t.objectMode?1:u.length;if(A(e,t,!1,d,u,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function I(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),B(e,t)}))}function j(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(I,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function B(e,t){var r=C(t);return r&&(j(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function D(e,t,r){t.ending=!0,B(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function L(e,t,r){var n=e.entry;e.entry=null;while(n){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}c.inherits(m,f),b.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(v=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!v.call(this,e)||this===m&&(e&&e._writableState instanceof b)}})):v=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,r){var n=this._writableState,i=!1,o=!n.objectMode&&p(e);return o&&!l.isBuffer(e)&&(e=h(e)),"function"===typeof t&&(r=t,t=null),o?t="buffer":t||(t=n.defaultEncoding),"function"!==typeof r&&(r=y),n.ended?x(this,r):(o||w(this,n,e,r))&&(n.pendingcb++,i=S(this,n,o,e,t,r)),i},m.prototype.cork=function(){var e=this._writableState;e.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||T(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||D(this,n,r)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=g.destroy,m.prototype._undestroy=g.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(208),r(2))},function(e,t,r){(function(t){function r(e,t){if(n("noDeprecation"))return e;var r=!1;function i(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return i}function n(e){try{if(!t.localStorage)return!1}catch(n){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=r}).call(this,r(2))},function(e,t,r){"use strict";var n=r(210).Buffer,i=n.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=p,this.end=v,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=g,this.end=y,t=3;break;default:return this.write=b,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function c(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function u(e,t,r){var n=t.length-1;if(n<r)return 0;var i=c(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=c(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=c(t[n]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function f(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function l(e){var t=this.lastTotal-this.lastNeed,r=f(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function d(e,t){var r=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function v(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function g(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function y(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function m(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=h,s.prototype.text=d,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";e.exports=a;var n=r(225),i=Object.create(r(220));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush((function(t,r){c(e,t,r)})):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(212),i.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},function(e,t,r){"use strict";e.exports=o;var n=r(229),i=Object.create(r(220));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}i.inherits=r(212),i.inherits(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n=r(29).Buffer,i=r(212),o=r(214),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],l=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function v(e,t,r,n,i,o,a,s){return p(e+(t^r^n)+o+a|0,s)+i|0}function g(e,t,r,n,i,o,a,s){return p(e+(t&r|~t&n)+o+a|0,s)+i|0}function y(e,t,r,n,i,o,a,s){return p(e+((t|~r)^n)+o+a|0,s)+i|0}function b(e,t,r,n,i,o,a,s){return p(e+(t&n|r&~n)+o+a|0,s)+i|0}function m(e,t,r,n,i,o,a,s){return p(e+(t^(r|~n))+o+a|0,s)+i|0}i(h,o),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,x=0|this._a,w=0|this._b,_=0|this._c,S=0|this._d,A=0|this._e,k=0;k<80;k+=1){var P,M;k<16?(P=v(r,n,i,o,h,e[s[k]],l[0],u[k]),M=m(x,w,_,S,A,e[c[k]],d[0],f[k])):k<32?(P=g(r,n,i,o,h,e[s[k]],l[1],u[k]),M=b(x,w,_,S,A,e[c[k]],d[1],f[k])):k<48?(P=y(r,n,i,o,h,e[s[k]],l[2],u[k]),M=y(x,w,_,S,A,e[c[k]],d[2],f[k])):k<64?(P=b(r,n,i,o,h,e[s[k]],l[3],u[k]),M=g(x,w,_,S,A,e[c[k]],d[3],f[k])):(P=m(r,n,i,o,h,e[s[k]],l[4],u[k]),M=v(x,w,_,S,A,e[c[k]],d[4],f[k])),r=h,h=o,o=p(i,10),i=n,n=P,x=A,A=S,S=p(_,10),_=w,w=M}var E=this._b+i+S|0;this._b=this._c+o+A|0,this._c=this._d+h+x|0,this._d=this._e+r+w|0,this._e=this._a+n+_|0,this._a=E},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},function(e,t,r){t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r};t.sha=r(233),t.sha1=r(235),t.sha224=r(236),t.sha256=r(237),t.sha384=r(238),t.sha512=r(239)},function(e,t,r){var n=r(212),i=r(234),o=r(210).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function f(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=t[c-3]^t[c-8]^t[c-14]^t[c-16];for(var d=0;d<80;++d){var h=~~(d/20),p=u(r)+l(h,n,i,o)+s+t[d]+a[h]|0;s=o,o=i,i=f(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(210).Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s<o;){for(var c=a%i,u=Math.min(o-s,i-c),f=0;f<u;f++)r[c+f]=e[s+f];a+=u,s+=u,a%i===0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},function(e,t,r){var n=r(212),i=r(234),o=r(210).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<1|e>>>31}function f(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=u(t[c-3]^t[c-8]^t[c-14]^t[c-16]);for(var h=0;h<80;++h){var p=~~(h/20),v=f(r)+d(p,n,i,o)+s+t[h]+a[p]|0;s=o,o=i,i=l(n),n=r,r=v}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(212),i=r(237),o=r(234),a=r(210).Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}n(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,r){var n=r(212),i=r(234),o=r(210).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function f(e,t,r){return e&t|r&(e|t)}function l(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function p(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,c=0|this._f,v=0|this._g,g=0|this._h,y=0;y<16;++y)t[y]=e.readInt32BE(4*y);for(;y<64;++y)t[y]=p(t[y-2])+t[y-7]+h(t[y-15])+t[y-16]|0;for(var b=0;b<64;++b){var m=g+d(s)+u(s,c,v)+a[b]+t[b]|0,x=l(r)+f(r,n,i)|0;g=v,v=c,c=s,s=o+m|0,o=i,i=n,n=r,r=m+x|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0,this._f=c+this._f|0,this._g=v+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},function(e,t,r){var n=r(212),i=r(239),o=r(234),a=r(210).Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t,r){var n=r(212),i=r(234),o=r(210).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function f(e,t,r){return e&t|r&(e|t)}function l(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function v(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0<t>>>0?1:0}n(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,b=0|this._gh,m=0|this._hh,x=0|this._al,w=0|this._bl,_=0|this._cl,S=0|this._dl,A=0|this._el,k=0|this._fl,P=0|this._gl,M=0|this._hl,E=0;E<32;E+=2)t[E]=e.readInt32BE(4*E),t[E+1]=e.readInt32BE(4*E+4);for(;E<160;E+=2){var O=t[E-30],T=t[E-30+1],C=h(O,T),I=p(T,O);O=t[E-4],T=t[E-4+1];var j=v(O,T),B=g(T,O),D=t[E-14],L=t[E-14+1],F=t[E-32],R=t[E-32+1],N=I+L|0,z=C+D+y(N,I)|0;N=N+B|0,z=z+j+y(N,B)|0,N=N+R|0,z=z+F+y(N,R)|0,t[E]=z,t[E+1]=N}for(var U=0;U<160;U+=2){z=t[U],N=t[U+1];var q=f(r,n,i),$=f(x,w,_),H=l(r,x),W=l(x,r),Q=d(s,A),V=d(A,s),K=a[U],G=a[U+1],X=u(s,c,b),Y=u(A,k,P),J=M+V|0,Z=m+Q+y(J,M)|0;J=J+Y|0,Z=Z+X+y(J,Y)|0,J=J+G|0,Z=Z+K+y(J,G)|0,J=J+N|0,Z=Z+z+y(J,N)|0;var ee=W+$|0,te=H+q+y(ee,W)|0;m=b,M=P,b=c,P=k,c=s,k=A,A=S+J|0,s=o+Z+y(A,S)|0,o=i,S=_,i=n,_=w,n=r,w=x,x=J+ee|0,r=Z+te+y(x,J)|0}this._al=this._al+x|0,this._bl=this._bl+w|0,this._cl=this._cl+_|0,this._dl=this._dl+S|0,this._el=this._el+A|0,this._fl=this._fl+k|0,this._gl=this._gl+P|0,this._hl=this._hl+M|0,this._ah=this._ah+r+y(this._al,x)|0,this._bh=this._bh+n+y(this._bl,w)|0,this._ch=this._ch+i+y(this._cl,_)|0,this._dh=this._dh+o+y(this._dl,S)|0,this._eh=this._eh+s+y(this._el,A)|0,this._fh=this._fh+c+y(this._fl,k)|0,this._gh=this._gh+b+y(this._gl,P)|0,this._hh=this._hh+m+y(this._hl,M)|0},c.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},function(e,t,r){var n=r(210).Buffer,i=r(241).Transform,o=r(228).StringDecoder,a=r(212);function s(e){i.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}a(s,i),s.prototype.update=function(e,t,r){"string"===typeof e&&(e=n.from(e,t));var i=this._update(e);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){n=i}finally{r(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=s},function(e,t,r){e.exports=o;var n=r(218).EventEmitter,i=r(212);function o(){n.call(this)}i(o,n),o.Readable=r(215),o.Writable=r(242),o.Duplex=r(243),o.Transform=r(244),o.PassThrough=r(245),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function u(e){if(f(),0===n.listenerCount(this,"error"))throw e}function f(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return r.on("error",u),e.on("error",u),r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e}},function(e,t,r){e.exports=r(226)},function(e,t,r){e.exports=r(225)},function(e,t,r){e.exports=r(215).Transform},function(e,t,r){e.exports=r(215).PassThrough},function(e,t,r){"use strict";var n=r(212),i=r(247),o=r(240),a=r(210).Buffer,s=r(248),c=r(231),u=r(232),f=a.alloc(128);function l(e,t){o.call(this,"digest"),"string"===typeof t&&(t=a.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){var n="rmd160"===e?new c:u(e);t=n.update(t).digest()}else t.length<r&&(t=a.concat([t,f],r));for(var i=this._ipad=a.allocUnsafe(r),s=this._opad=a.allocUnsafe(r),l=0;l<r;l++)i[l]=54^t[l],s[l]=92^t[l];this._hash="rmd160"===e?new c:u(e),this._hash.update(i)}n(l,o),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){var e=this._hash.digest(),t="rmd160"===this._alg?new c:u(this._alg);return t.update(this._opad).update(e).digest()},e.exports=function(e,t){return e=e.toLowerCase(),"rmd160"===e||"ripemd160"===e?new l("rmd160",t):"md5"===e?new i(s,t):new l(e,t)}},function(e,t,r){"use strict";var n=r(212),i=r(210).Buffer,o=r(240),a=i.alloc(128),s=64;function c(e,t){o.call(this,"digest"),"string"===typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=i.concat([t,a],s));for(var r=this._ipad=i.allocUnsafe(s),n=this._opad=i.allocUnsafe(s),c=0;c<s;c++)r[c]=54^t[c],n[c]=92^t[c];this._hash=[r]}n(c,o),c.prototype._update=function(e){this._hash.push(e)},c.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=c},function(e,t,r){var n=r(213);e.exports=function(e){return(new n).update(e).digest()}},function(e,t,r){e.exports=r(250)},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t,r){t.pbkdf2=r(252),t.pbkdf2Sync=r(255)},function(e,t,r){(function(t,n){var i,o=r(210).Buffer,a=r(253),s=r(254),c=r(255),u=r(256),f=t.crypto&&t.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];i=i||o.alloc(8);var r=p(i,i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=r,r}function p(e,t,r,n,i){return f.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return f.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return o.from(e)}))}function v(e,t){e.then((function(e){n.nextTick((function(){t(null,e)}))}),(function(e){n.nextTick((function(){t(e)}))}))}e.exports=function(e,r,i,o,f,d){"function"===typeof f&&(d=f,f=void 0),f=f||"sha1";var g=l[f.toLowerCase()];if(!g||"function"!==typeof t.Promise)return n.nextTick((function(){var t;try{t=c(e,r,i,o,f)}catch(n){return d(n)}d(null,t)}));if(a(i,o),e=u(e,s,"Password"),r=u(r,s,"Salt"),"function"!==typeof d)throw new Error("No callback provided to pbkdf2");v(h(g).then((function(t){return t?p(e,r,i,o,g):c(e,r,i,o,f)})),d)}}).call(this,r(2),r(208))},function(e,t){var r=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!==typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!==typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!==t)throw new TypeError("Bad key length")}},function(e,t,r){(function(t){var r;if(t.browser)r="utf-8";else if(t.version){var n=parseInt(t.version.split(".")[0].slice(1),10);r=n>=6?"utf-8":"binary"}else r="utf-8";e.exports=r}).call(this,r(208))},function(e,t,r){var n=r(248),i=r(231),o=r(232),a=r(210).Buffer,s=r(253),c=r(254),u=r(256),f=a.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,r){var n=h(e),i="sha512"===e||"sha384"===e?128:64;t.length>i?t=n(t):t.length<i&&(t=a.concat([t,f],i));for(var o=a.allocUnsafe(i+l[e]),s=a.allocUnsafe(i+l[e]),c=0;c<i;c++)o[c]=54^t[c],s[c]=92^t[c];var u=a.allocUnsafe(i+r+4);o.copy(u,0,0,i),this.ipad1=u,this.ipad2=o,this.opad=s,this.alg=e,this.blocksize=i,this.hash=n,this.size=l[e]}function h(e){function t(t){return o(e).update(t).digest()}function r(e){return(new i).update(e).digest()}return"rmd160"===e||"ripemd160"===e?r:"md5"===e?n:t}function p(e,t,r,n,i){s(r,n),e=u(e,c,"Password"),t=u(t,c,"Salt"),i=i||"sha1";var o=new d(i,e,t.length),f=a.allocUnsafe(n),h=a.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var p=0,v=l[i],g=Math.ceil(n/v),y=1;y<=g;y++){h.writeUInt32BE(y,t.length);for(var b=o.run(h,o.ipad1),m=b,x=1;x<r;x++){m=o.run(m,o.ipad2);for(var w=0;w<v;w++)b[w]^=m[w]}b.copy(f,p),p+=v}return f}d.prototype.run=function(e,t){e.copy(t,this.blocksize);var r=this.hash(t);return r.copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=p},function(e,t,r){var n=r(210).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"===typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(e,t,r){var n=r(258),i=r(266),o=r(268),a=r(285),s=r(283);function c(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return f(e,i.key,i.iv)}function u(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return l(e,i.key,i.iv)}function f(e,t,r){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function l(e,t,r){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function d(){return Object.keys(a).concat(i.getCiphers())}t.createCipher=t.Cipher=c,t.createCipheriv=t.Cipheriv=f,t.createDecipher=t.Decipher=u,t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=d},function(e,t,r){var n=r(240),i=r(259),o=r(212),a=r(210).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var c=e.iv;a.isBuffer(c)||(c=a.from(c)),this._des=i.create({key:o,iv:c,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,o(c,n),c.prototype._update=function(e){return a.from(this._des.update(e))},c.prototype._final=function(){return a.from(this._des.final())}},function(e,t,r){"use strict";t.utils=r(260),t.Cipher=r(261),t.DES=r(263),t.CBC=r(264),t.EDE=r(265)},function(e,t,r){"use strict";t.readUInt32BE=function(e,t){var r=e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t];return r>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},t.rip=function(e,t,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},t.pc1=function(e,t,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var o=0,a=0,s=n.length>>>1,c=0;c<s;c++)o<<=1,o|=e>>>n[c]&1;for(c=s;c<n.length;c++)a<<=1,a|=t>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},t.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){var o=e>>>18-6*n&63,a=i[64*n+o];r<<=4,r|=a}for(n=0;n<4;n++){o=t>>>18-6*n&63,a=i[256+64*n+o];r<<=4,r|=a}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r<o.length;r++)t<<=1,t|=e>>>o[r]&1;return t>>>0},t.padSplit=function(e,t,r){var n=e.toString(2);while(n.length<t)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},function(e,t,r){"use strict";var n=r(262);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;while(t<e.length)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},function(e,t,r){"use strict";var n=r(262),i=r(212),o=r(260),a=r(261);function s(){this.tmp=new Array(2),this.keys=null}function c(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}i(c,a),e.exports=c,c.create=function(e){return new c(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(r,i,e.tmp,0),r=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=u[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,e.keys,a)}},c.prototype._update=function(e,t,r,n){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},c.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},c.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},c.prototype._encrypt=function(e,t,r,n,i){for(var a=t,s=r,c=0;c<e.keys.length;c+=2){var u=e.keys[c],f=e.keys[c+1];o.expand(s,e.tmp,0),u^=e.tmp[0],f^=e.tmp[1];var l=o.substitute(u,f),d=o.permute(l),h=s;s=(a^d)>>>0,a=h}o.rip(s,a,n,i)},c.prototype._decrypt=function(e,t,r,n,i){for(var a=r,s=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],f=e.keys[c+1];o.expand(a,e.tmp,0),u^=e.tmp[0],f^=e.tmp[1];var l=o.substitute(u,f),d=o.permute(l),h=a;a=(s^d)>>>0,s=h}o.rip(a,s,n,i)}},function(e,t,r){"use strict";var n=r(262),i=r(212),o={};function a(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}function s(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t}t.instantiate=s,o._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];o._update.call(this,a,0,r,n);for(s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{o._update.call(this,e,t,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},function(e,t,r){"use strict";var n=r(262),i=r(212),o=r(261),a=r(263);function s(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function c(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(c,o),e.exports=c,c.create=function(e){return new c(e)},c.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad},function(e,t,r){var n=r(267),i=r(284),o=r(278);function a(){return Object.keys(o)}t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=a},function(e,t,r){var n=r(268),i=r(279),o=r(210).Buffer,a=r(282),s=r(240),c=r(280),u=r(283),f=r(212);function l(e,t,r){s.call(this),this._cache=new h,this._cipher=new c.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}f(l,s),l.prototype._update=function(e){var t,r;this._cache.add(e);var n=[];while(t=this._cache.get())r=this._mode.encrypt(this,t),n.push(r);return o.concat(n)};var d=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function p(e,t,r){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"===typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,t,r):"auth"===s.type?new i(s.module,t,r):new l(s.module,t,r)}function v(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(t,!1,r.key,r.iv);return p(e,i.key,i.iv)}l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=o.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){var e=16-this.cache.length,t=o.allocUnsafe(e),r=-1;while(++r<e)t.writeUInt8(e,r);return o.concat([this.cache,t])},t.createCipheriv=p,t.createCipher=v},function(e,t,r){var n={ECB:r(269),CBC:r(270),CFB:r(272),CFB8:r(273),CFB1:r(274),OFB:r(275),CTR:r(276),GCM:r(276)},i=r(278);for(var o in i)i[o].module=n[i[o].mode];e.exports=i},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,r){var n=r(271);t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},function(e,t,r){(function(t){e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),o=0;o<n;++o)i[o]=e[o]^r[o];return i}}).call(this,r(29).Buffer)},function(e,t,r){var n=r(210).Buffer,i=r(271);function o(e,t,r){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=n.concat([e._prev,r?t:a]),a}t.encrypt=function(e,t,r){var i,a=n.allocUnsafe(0);while(t.length){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){a=n.concat([a,o(e,t,r)]);break}i=e._cache.length,a=n.concat([a,o(e,t.slice(0,i),r)]),t=t.slice(i)}return a}},function(e,t,r){var n=r(210).Buffer;function i(e,t,r){var i=e._cipher.encryptBlock(e._prev),o=i[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:o])]),o}t.encrypt=function(e,t,r){var o=t.length,a=n.allocUnsafe(o),s=-1;while(++s<o)a[s]=i(e,t[s],r);return a}},function(e,t,r){var n=r(210).Buffer;function i(e,t,r){var n,i,a,s=-1,c=8,u=0;while(++s<c)n=e._cipher.encryptBlock(e._prev),i=t&1<<7-s?128:0,a=n[0]^i,u+=(128&a)>>s%8,e._prev=o(e._prev,r?i:a);return u}function o(e,t){var r=e.length,i=-1,o=n.allocUnsafe(e.length);e=n.concat([e,n.from([t])]);while(++i<r)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,r){var o=t.length,a=n.allocUnsafe(o),s=-1;while(++s<o)a[s]=i(e,t[s],r);return a}},function(e,t,r){(function(e){var n=r(271);function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,r){while(t._cache.length<r.length)t._cache=e.concat([t._cache,i(t)]);var o=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,o)}}).call(this,r(29).Buffer)},function(e,t,r){var n=r(271),i=r(210).Buffer,o=r(277);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}var s=16;t.encrypt=function(e,t){var r=Math.ceil(t.length/s),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(r*s)]);for(var c=0;c<r;c++){var u=a(e),f=o+c*s;e._cache.writeUInt32BE(u[0],f+0),e._cache.writeUInt32BE(u[1],f+4),e._cache.writeUInt32BE(u[2],f+8),e._cache.writeUInt32BE(u[3],f+12)}var l=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,l)}},function(e,t){function r(e){var t,r=e.length;while(r--){if(t=e.readUInt8(r),255!==t){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}e.exports=r},function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(e,t,r){var n=r(280),i=r(210).Buffer,o=r(240),a=r(212),s=r(281),c=r(271),u=r(277);function f(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}function l(e,t,r){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var n=new s(r),o=t.length,a=o%16;n.update(t),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var c=8*o,f=i.alloc(8);f.writeUIntBE(c,0,8),n.update(f),e._finID=n.state;var l=i.from(e._finID);return u(l),l}function d(e,t,r,a){o.call(this);var c=i.alloc(4,0);this._cipher=new n.AES(t);var u=this._cipher.encryptBlock(c);this._ghash=new s(u),r=l(this,r,u),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(d,o),d.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},d.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&f(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},d.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},d.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},d.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=d},function(e,t,r){var n=r(210).Buffer;function i(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function o(e){for(var t=0;t<e.length;e++)e[t]=0}function a(e,t,r,n,i){for(var o,a,s,c,u=r[0],f=r[1],l=r[2],d=r[3],h=e[0]^t[0],p=e[1]^t[1],v=e[2]^t[2],g=e[3]^t[3],y=4,b=1;b<i;b++)o=u[h>>>24]^f[p>>>16&255]^l[v>>>8&255]^d[255&g]^t[y++],a=u[p>>>24]^f[v>>>16&255]^l[g>>>8&255]^d[255&h]^t[y++],s=u[v>>>24]^f[g>>>16&255]^l[h>>>8&255]^d[255&p]^t[y++],c=u[g>>>24]^f[h>>>16&255]^l[p>>>8&255]^d[255&v]^t[y++],h=o,p=a,v=s,g=c;return o=(n[h>>>24]<<24|n[p>>>16&255]<<16|n[v>>>8&255]<<8|n[255&g])^t[y++],a=(n[p>>>24]<<24|n[v>>>16&255]<<16|n[g>>>8&255]<<8|n[255&h])^t[y++],s=(n[v>>>24]<<24|n[g>>>16&255]<<16|n[h>>>8&255]<<8|n[255&p])^t[y++],c=(n[g>>>24]<<24|n[h>>>16&255]<<16|n[p>>>8&255]<<8|n[255&v])^t[y++],o>>>=0,a>>>=0,s>>>=0,c>>>=0,[o,a,s,c]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var f=e[a],l=e[f],d=e[l],h=257*e[u]^16843008*u;i[0][a]=h<<24|h>>>8,i[1][a]=h<<16|h>>>16,i[2][a]=h<<8|h>>>24,i[3][a]=h,h=16843009*d^65537*l^257*f^16843008*a,o[0][u]=h<<24|h>>>8,o[1][u]=h<<16|h>>>16,o[2][u]=h<<8|h>>>24,o[3][u]=h,0===a?a=s=1:(a=f^e[e[e[d^f]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var a=i[o-1];o%t===0?(a=a<<8|a>>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t===4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-t]^a}for(var u=[],f=0;f<n;f++){var l=n-f,d=i[l-(f%4?0:4)];u[f]=f<4||l<=4?d:c.INV_SUB_MIX[0][c.SBOX[d>>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return e=i(e),a(e,this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){e=i(e);var t=e[1];e[1]=e[3],e[3]=t;var r=a(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},function(e,t,r){var n=r(210).Buffer,i=n.alloc(16,0);function o(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function a(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}s.prototype.ghash=function(e){var t=-1;while(++t<e.length)this.state[t]^=e[t];this._multiply()},s.prototype._multiply=function(){var e,t,r,n=o(this.h),i=[0,0,0,0],s=-1;while(++s<128){for(t=0!==(this.state[~~(s/8)]&1<<7-s%8),t&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!==(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=a(i)},s.prototype.update=function(e){var t;this.cache=n.concat([this.cache,e]);while(this.cache.length>=16)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=s},function(e,t,r){var n=r(280),i=r(210).Buffer,o=r(240),a=r(212);function s(e,t,r,a){o.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=e}a(s,o),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},function(e,t,r){var n=r(210).Buffer,i=r(213);function o(e,t,r,o){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");var a=r/8,s=n.alloc(a),c=n.alloc(o||0),u=n.alloc(0);while(a>0||o>0){var f=new i;f.update(u),f.update(e),t&&f.update(t),u=f.digest();var l=0;if(a>0){var d=s.length-a;l=Math.min(a,u.length),u.copy(s,d,0,l),a-=l}if(l<u.length&&o>0){var h=c.length-o,p=Math.min(o,u.length-l);u.copy(c,h,l,l+p),o-=p}}return u.fill(0),{key:s,iv:c}}e.exports=o},function(e,t,r){var n=r(279),i=r(210).Buffer,o=r(268),a=r(282),s=r(240),c=r(280),u=r(283),f=r(212);function l(e,t,r){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}function d(){this.cache=i.allocUnsafe(0)}function h(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;while(++r<t)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function p(e,t,r){var s=o[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"===typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,r,!0):"auth"===s.type?new n(s.module,t,r,!0):new l(s.module,t,r)}function v(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return p(e,n.key,n.iv)}f(l,s),l.prototype._update=function(e){var t,r;this._cache.add(e);var n=[];while(t=this._cache.get(this._autopadding))r=this._mode.decrypt(this,t),n.push(r);return i.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return h(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=i.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=v,t.createDecipheriv=p},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(287),i=r(294),o=r(295);function a(t){var r=new e(i[t].prime,"hex"),n=new e(i[t].gen,"hex");return new o(r,n)}var s={binary:!0,hex:!0,base64:!0};function c(t,r,i,a){return e.isBuffer(r)||void 0===s[r]?c(t,"binary",r,i):(r=r||"binary",a=a||"binary",i=i||new e([2]),e.isBuffer(i)||(i=new e(i,a)),"number"===typeof t?new o(n(t,i),i,!0):(e.isBuffer(t)||(t=new e(t,r)),new o(t,i,!0)))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=a,t.createDiffieHellman=t.DiffieHellman=c}).call(this,r(29).Buffer)},function(e,t,r){var n=r(207);e.exports=m,m.simpleSieve=y,m.fermatTest=b;var i=r(288),o=new i(24),a=r(291),s=new a,c=new i(1),u=new i(2),f=new i(5),l=(new i(16),new i(8),new i(10)),d=new i(3),h=(new i(7),new i(11)),p=new i(4),v=(new i(12),null);function g(){if(null!==v)return v;var e=1048576,t=[];t[0]=2;for(var r=1,n=3;n<e;n+=2){for(var i=Math.ceil(Math.sqrt(n)),o=0;o<r&&t[o]<=i;o++)if(n%t[o]===0)break;r!==o&&t[o]<=i||(t[r++]=n)}return v=t,t}function y(e){for(var t=g(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function b(e){var t=i.mont(e);return 0===u.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function m(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var r,a;t=new i(t);while(1){r=new i(n(Math.ceil(e/8)));while(r.bitLength()>e)r.ishrn(1);if(r.isEven()&&r.iadd(c),r.testn(1)||r.iadd(u),t.cmp(u)){if(!t.cmp(f))while(r.mod(l).cmp(d))r.iadd(p)}else while(r.mod(o).cmp(h))r.iadd(p);if(a=r.shrn(1),y(a)&&y(r)&&b(a)&&b(r)&&s.test(a)&&s.test(r))return r}}},function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=r(290).Buffer}catch(O){}function s(e,t,r){for(var i=0,o=Math.min(e.length,r),a=0,s=t;s<o;s++){var c,u=e.charCodeAt(s)-48;i<<=4,c=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,i|=c,a|=c}return n(!(240&a),"Invalid character in "+e),i}function c(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),c=t;c<s;c++){var u=e.charCodeAt(c)-48;o*=i,a=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&a<i,"Invalid character"),o+=a}return o}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,o+=24,o>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,u=0,f=r;f<s;f+=n)u=c(e,f,f+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==a){var l=1;for(u=c(e,f,e.length,t),f=0;f<a;f++)l*=t;this.imuln(l),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){u(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype._strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for?o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f:o.prototype.inspect=f;var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,r=0!==o||a!==this.length-1?l[6-c.length]+c+r:c+r,i+=2,i>=26&&(i-=26,a--)}0!==o&&(r=o.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();p.negative=0;while(!p.isZero()){var v=p.modrn(f).toString(e);p=p.idivn(f),r=p.isZero()?v+r:l[u-v.length]+v+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var p=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function v(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=e.words[n]>>>i&1}return t}function g(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var f=c>>>26,l=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;i=0|e.words[p],o=0|t.words[h],a=i*o+l,f+=a/67108864|0,l=67108863&a}r.words[u]=0|l,c=0|f}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}o.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=p(e,o),s="le"===t?"LE":"BE";return this["_toArrayLike"+s](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r++]=255&a,r<e.length&&(e[r++]=a>>8&255),r<e.length&&(e[r++]=a>>16&255),6===o?(r<e.length&&(e[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<e.length){e[r++]=n;while(r<e.length)e[r++]=0}},o.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r--]=255&a,r>=0&&(e[r--]=a>>8&255),r>=0&&(e[r--]=a>>16&255),6===o?(r>=0&&(e[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0){e[r--]=n;while(r>=0)e[r--]=0}},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)t=(0|r.words[a])-(0|n.words[a])+o,o=t>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)t=(0|r.words[a])+o,o=t>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var y=function(e,t,r){var n,i,o,a=e.words,s=t.words,c=r.words,u=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,v=h>>>13,g=0|a[2],y=8191&g,b=g>>>13,m=0|a[3],x=8191&m,w=m>>>13,_=0|a[4],S=8191&_,A=_>>>13,k=0|a[5],P=8191&k,M=k>>>13,E=0|a[6],O=8191&E,T=E>>>13,C=0|a[7],I=8191&C,j=C>>>13,B=0|a[8],D=8191&B,L=B>>>13,F=0|a[9],R=8191&F,N=F>>>13,z=0|s[0],U=8191&z,q=z>>>13,$=0|s[1],H=8191&$,W=$>>>13,Q=0|s[2],V=8191&Q,K=Q>>>13,G=0|s[3],X=8191&G,Y=G>>>13,J=0|s[4],Z=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,fe=0|s[8],le=8191&fe,de=fe>>>13,he=0|s[9],pe=8191&he,ve=he>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(l,U),i=Math.imul(l,q),i=i+Math.imul(d,U)|0,o=Math.imul(d,q);var ge=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,U),i=Math.imul(p,q),i=i+Math.imul(v,U)|0,o=Math.imul(v,q),n=n+Math.imul(l,H)|0,i=i+Math.imul(l,W)|0,i=i+Math.imul(d,H)|0,o=o+Math.imul(d,W)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,U),i=Math.imul(y,q),i=i+Math.imul(b,U)|0,o=Math.imul(b,q),n=n+Math.imul(p,H)|0,i=i+Math.imul(p,W)|0,i=i+Math.imul(v,H)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(l,V)|0,i=i+Math.imul(l,K)|0,i=i+Math.imul(d,V)|0,o=o+Math.imul(d,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(x,U),i=Math.imul(x,q),i=i+Math.imul(w,U)|0,o=Math.imul(w,q),n=n+Math.imul(y,H)|0,i=i+Math.imul(y,W)|0,i=i+Math.imul(b,H)|0,o=o+Math.imul(b,W)|0,n=n+Math.imul(p,V)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(v,V)|0,o=o+Math.imul(v,K)|0,n=n+Math.imul(l,X)|0,i=i+Math.imul(l,Y)|0,i=i+Math.imul(d,X)|0,o=o+Math.imul(d,Y)|0;var me=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(S,U),i=Math.imul(S,q),i=i+Math.imul(A,U)|0,o=Math.imul(A,q),n=n+Math.imul(x,H)|0,i=i+Math.imul(x,W)|0,i=i+Math.imul(w,H)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,V)|0,i=i+Math.imul(y,K)|0,i=i+Math.imul(b,V)|0,o=o+Math.imul(b,K)|0,n=n+Math.imul(p,X)|0,i=i+Math.imul(p,Y)|0,i=i+Math.imul(v,X)|0,o=o+Math.imul(v,Y)|0,n=n+Math.imul(l,Z)|0,i=i+Math.imul(l,ee)|0,i=i+Math.imul(d,Z)|0,o=o+Math.imul(d,ee)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,U),i=Math.imul(P,q),i=i+Math.imul(M,U)|0,o=Math.imul(M,q),n=n+Math.imul(S,H)|0,i=i+Math.imul(S,W)|0,i=i+Math.imul(A,H)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(x,V)|0,i=i+Math.imul(x,K)|0,i=i+Math.imul(w,V)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,X)|0,i=i+Math.imul(y,Y)|0,i=i+Math.imul(b,X)|0,o=o+Math.imul(b,Y)|0,n=n+Math.imul(p,Z)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(v,Z)|0,o=o+Math.imul(v,ee)|0,n=n+Math.imul(l,re)|0,i=i+Math.imul(l,ne)|0,i=i+Math.imul(d,re)|0,o=o+Math.imul(d,ne)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,U),i=Math.imul(O,q),i=i+Math.imul(T,U)|0,o=Math.imul(T,q),n=n+Math.imul(P,H)|0,i=i+Math.imul(P,W)|0,i=i+Math.imul(M,H)|0,o=o+Math.imul(M,W)|0,n=n+Math.imul(S,V)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(A,V)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(x,X)|0,i=i+Math.imul(x,Y)|0,i=i+Math.imul(w,X)|0,o=o+Math.imul(w,Y)|0,n=n+Math.imul(y,Z)|0,i=i+Math.imul(y,ee)|0,i=i+Math.imul(b,Z)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=i+Math.imul(p,ne)|0,i=i+Math.imul(v,re)|0,o=o+Math.imul(v,ne)|0,n=n+Math.imul(l,oe)|0,i=i+Math.imul(l,ae)|0,i=i+Math.imul(d,oe)|0,o=o+Math.imul(d,ae)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,U),i=Math.imul(I,q),i=i+Math.imul(j,U)|0,o=Math.imul(j,q),n=n+Math.imul(O,H)|0,i=i+Math.imul(O,W)|0,i=i+Math.imul(T,H)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(P,V)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(M,V)|0,o=o+Math.imul(M,K)|0,n=n+Math.imul(S,X)|0,i=i+Math.imul(S,Y)|0,i=i+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(x,Z)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(w,Z)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,i=i+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(v,oe)|0,o=o+Math.imul(v,ae)|0,n=n+Math.imul(l,ce)|0,i=i+Math.imul(l,ue)|0,i=i+Math.imul(d,ce)|0,o=o+Math.imul(d,ue)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(D,U),i=Math.imul(D,q),i=i+Math.imul(L,U)|0,o=Math.imul(L,q),n=n+Math.imul(I,H)|0,i=i+Math.imul(I,W)|0,i=i+Math.imul(j,H)|0,o=o+Math.imul(j,W)|0,n=n+Math.imul(O,V)|0,i=i+Math.imul(O,K)|0,i=i+Math.imul(T,V)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(P,X)|0,i=i+Math.imul(P,Y)|0,i=i+Math.imul(M,X)|0,o=o+Math.imul(M,Y)|0,n=n+Math.imul(S,Z)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(A,Z)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(x,re)|0,i=i+Math.imul(x,ne)|0,i=i+Math.imul(w,re)|0,o=o+Math.imul(w,ne)|0,n=n+Math.imul(y,oe)|0,i=i+Math.imul(y,ae)|0,i=i+Math.imul(b,oe)|0,o=o+Math.imul(b,ae)|0,n=n+Math.imul(p,ce)|0,i=i+Math.imul(p,ue)|0,i=i+Math.imul(v,ce)|0,o=o+Math.imul(v,ue)|0,n=n+Math.imul(l,le)|0,i=i+Math.imul(l,de)|0,i=i+Math.imul(d,le)|0,o=o+Math.imul(d,de)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(R,U),i=Math.imul(R,q),i=i+Math.imul(N,U)|0,o=Math.imul(N,q),n=n+Math.imul(D,H)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(L,H)|0,o=o+Math.imul(L,W)|0,n=n+Math.imul(I,V)|0,i=i+Math.imul(I,K)|0,i=i+Math.imul(j,V)|0,o=o+Math.imul(j,K)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,Y)|0,i=i+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(P,Z)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(M,Z)|0,o=o+Math.imul(M,ee)|0,n=n+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,i=i+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(x,oe)|0,i=i+Math.imul(x,ae)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,n=n+Math.imul(y,ce)|0,i=i+Math.imul(y,ue)|0,i=i+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,le)|0,i=i+Math.imul(p,de)|0,i=i+Math.imul(v,le)|0,o=o+Math.imul(v,de)|0,n=n+Math.imul(l,pe)|0,i=i+Math.imul(l,ve)|0,i=i+Math.imul(d,pe)|0,o=o+Math.imul(d,ve)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(R,H),i=Math.imul(R,W),i=i+Math.imul(N,H)|0,o=Math.imul(N,W),n=n+Math.imul(D,V)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(L,V)|0,o=o+Math.imul(L,K)|0,n=n+Math.imul(I,X)|0,i=i+Math.imul(I,Y)|0,i=i+Math.imul(j,X)|0,o=o+Math.imul(j,Y)|0,n=n+Math.imul(O,Z)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(T,Z)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,i=i+Math.imul(M,re)|0,o=o+Math.imul(M,ne)|0,n=n+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(x,ce)|0,i=i+Math.imul(x,ue)|0,i=i+Math.imul(w,ce)|0,o=o+Math.imul(w,ue)|0,n=n+Math.imul(y,le)|0,i=i+Math.imul(y,de)|0,i=i+Math.imul(b,le)|0,o=o+Math.imul(b,de)|0,n=n+Math.imul(p,pe)|0,i=i+Math.imul(p,ve)|0,i=i+Math.imul(v,pe)|0,o=o+Math.imul(v,ve)|0;var Pe=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(R,V),i=Math.imul(R,K),i=i+Math.imul(N,V)|0,o=Math.imul(N,K),n=n+Math.imul(D,X)|0,i=i+Math.imul(D,Y)|0,i=i+Math.imul(L,X)|0,o=o+Math.imul(L,Y)|0,n=n+Math.imul(I,Z)|0,i=i+Math.imul(I,ee)|0,i=i+Math.imul(j,Z)|0,o=o+Math.imul(j,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(P,oe)|0,i=i+Math.imul(P,ae)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,n=n+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,i=i+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(x,le)|0,i=i+Math.imul(x,de)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,de)|0,n=n+Math.imul(y,pe)|0,i=i+Math.imul(y,ve)|0,i=i+Math.imul(b,pe)|0,o=o+Math.imul(b,ve)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(R,X),i=Math.imul(R,Y),i=i+Math.imul(N,X)|0,o=Math.imul(N,Y),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(L,Z)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(I,re)|0,i=i+Math.imul(I,ne)|0,i=i+Math.imul(j,re)|0,o=o+Math.imul(j,ne)|0,n=n+Math.imul(O,oe)|0,i=i+Math.imul(O,ae)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,i=i+Math.imul(M,ce)|0,o=o+Math.imul(M,ue)|0,n=n+Math.imul(S,le)|0,i=i+Math.imul(S,de)|0,i=i+Math.imul(A,le)|0,o=o+Math.imul(A,de)|0,n=n+Math.imul(x,pe)|0,i=i+Math.imul(x,ve)|0,i=i+Math.imul(w,pe)|0,o=o+Math.imul(w,ve)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(R,Z),i=Math.imul(R,ee),i=i+Math.imul(N,Z)|0,o=Math.imul(N,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(L,re)|0,o=o+Math.imul(L,ne)|0,n=n+Math.imul(I,oe)|0,i=i+Math.imul(I,ae)|0,i=i+Math.imul(j,oe)|0,o=o+Math.imul(j,ae)|0,n=n+Math.imul(O,ce)|0,i=i+Math.imul(O,ue)|0,i=i+Math.imul(T,ce)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(P,le)|0,i=i+Math.imul(P,de)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,de)|0,n=n+Math.imul(S,pe)|0,i=i+Math.imul(S,ve)|0,i=i+Math.imul(A,pe)|0,o=o+Math.imul(A,ve)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(R,re),i=Math.imul(R,ne),i=i+Math.imul(N,re)|0,o=Math.imul(N,ne),n=n+Math.imul(D,oe)|0,i=i+Math.imul(D,ae)|0,i=i+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,n=n+Math.imul(I,ce)|0,i=i+Math.imul(I,ue)|0,i=i+Math.imul(j,ce)|0,o=o+Math.imul(j,ue)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,de)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,de)|0,n=n+Math.imul(P,pe)|0,i=i+Math.imul(P,ve)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,ve)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(R,oe),i=Math.imul(R,ae),i=i+Math.imul(N,oe)|0,o=Math.imul(N,ae),n=n+Math.imul(D,ce)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(L,ce)|0,o=o+Math.imul(L,ue)|0,n=n+Math.imul(I,le)|0,i=i+Math.imul(I,de)|0,i=i+Math.imul(j,le)|0,o=o+Math.imul(j,de)|0,n=n+Math.imul(O,pe)|0,i=i+Math.imul(O,ve)|0,i=i+Math.imul(T,pe)|0,o=o+Math.imul(T,ve)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(R,ce),i=Math.imul(R,ue),i=i+Math.imul(N,ce)|0,o=Math.imul(N,ue),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,de)|0,i=i+Math.imul(L,le)|0,o=o+Math.imul(L,de)|0,n=n+Math.imul(I,pe)|0,i=i+Math.imul(I,ve)|0,i=i+Math.imul(j,pe)|0,o=o+Math.imul(j,ve)|0;var Ie=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(R,le),i=Math.imul(R,de),i=i+Math.imul(N,le)|0,o=Math.imul(N,de),n=n+Math.imul(D,pe)|0,i=i+Math.imul(D,ve)|0,i=i+Math.imul(L,pe)|0,o=o+Math.imul(L,ve)|0;var je=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(R,pe),i=Math.imul(R,ve),i=i+Math.imul(N,pe)|0,o=Math.imul(N,ve);var Be=(u+n|0)+((8191&i)<<13)|0;return u=(o+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,c[0]=ge,c[1]=ye,c[2]=be,c[3]=me,c[4]=xe,c[5]=we,c[6]=_e,c[7]=Se,c[8]=Ae,c[9]=ke,c[10]=Pe,c[11]=Me,c[12]=Ee,c[13]=Oe,c[14]=Te,c[15]=Ce,c[16]=Ie,c[17]=je,c[18]=Be,0!==u&&(c[19]=u,r.length++),r};function b(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var f=o-u,l=0|e.words[f],d=0|t.words[u],h=l*d,p=67108863&h;a=a+(h/67108864|0)|0,p=p+s|0,s=67108863&p,a=a+(p>>>26)|0,i+=a>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function m(e,t,r){return b(e,t,r)}function x(e,t){this.x=e,this.y=t}Math.imul||(y=g),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?y(this,e,t):n<63?g(this,e,t):n<1024?b(this,e,t):m(this,e,t),r},x.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},x.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},x.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},x.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),f=0;f<i;f+=s)for(var l=c,d=u,h=0;h<a;h++){var p=r[f+h],v=n[f+h],g=r[f+h+a],y=n[f+h+a],b=l*g-d*y;y=l*y+d*g,g=b,r[f+h]=p+g,n[f+h]=v+y,r[f+h+a]=p-g,n[f+h+a]=v-y,h!==s&&(b=c*l-u*d,d=c*d+u*l,l=b)}},x.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},x.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},x.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},x.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},x.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},x.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),f=new Array(n),l=new Array(n),d=r.words;d.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,f,l,n,i);for(var h=0;h<n;h++){var p=s[h]*f[h]-c[h]*l[h];c[h]=s[h]*l[h]+c[h]*f[h],s[h]=p}return this.conjugate(s,c,n),this.transform(s,c,d,o,n,i),this.conjugate(d,o,n),this.normalize13b(d,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"===typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=v(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,c=(0|this.words[t])-s<<r;this.words[t]=c|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var f=0;for(u=this.length-1;u>=0&&(0!==f||u>=i);u--){var l=0|this.words[u];this.words[u]=f<<26-o|l>>>o,f=l&s}return c&&0!==f&&(c.words[c.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var o=this.words[r];return!!(o&i)},o.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var c=(0|e.words[i])*t;o-=67108863&c,s=(o>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)o=(0|this.words[i+r])+s,s=o>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)o=-(0|this.words[i])+s,s=o>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var c,u=n.length-i.length;if("mod"!==t){c=new o(null),c.length=u+1,c.words=new Array(c.length);for(var f=0;f<c.length;f++)c.words[f]=0}var l=n.clone()._ishlnsubmul(i,1,u);0===l.negative&&(n=l,c&&(c.words[u]=1));for(var d=u-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);while(0!==n.negative)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);c&&(c.words[d]=h)}return c&&c._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:c||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var f=r.clone(),l=t.clone();while(!t.isZero()){for(var d=0,h=1;0===(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0){t.iushrn(d);while(d-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1)}for(var p=0,v=1;0===(r.words[0]&v)&&p<26;++p,v<<=1);if(p>0){r.iushrn(p);while(p-- >0)(s.isOdd()||c.isOdd())&&(s.iadd(f),c.isub(l)),s.iushrn(1),c.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(c)):(r.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),c=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,f=1;0===(t.words[0]&f)&&u<26;++u,f<<=1);if(u>0){t.iushrn(u);while(u-- >0)a.isOdd()&&a.iadd(c),a.iushrn(1)}for(var l=0,d=1;0===(r.words[0]&d)&&l<26;++l,d<<=1);if(l>0){r.iushrn(l);while(l-- >0)s.isOdd()&&s.iadd(c),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];s+=o,o=s>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new M(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function S(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function M(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){M.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(S,_),S.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},S.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(A,_),i(k,_),i(P,_),P.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(w[e])return w[e];var t;if("k256"===e)t=new S;else if("p224"===e)t=new A;else if("p192"===e)t=new k;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new P}return w[e]=t,t},M.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},M.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},M.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},M.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},M.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},M.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},M.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},M.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},M.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},M.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},M.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},M.prototype.isqr=function(e){return this.imul(e,e.clone())},M.prototype.sqr=function(e){return this.mul(e,e)},M.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),f=this.m.bitLength();f=new o(2*f*f).toRed(this);while(0!==this.pow(f,u).cmp(c))f.redIAdd(c);var l=this.pow(f,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=a;while(0!==h.cmp(s)){for(var v=h,g=0;0!==v.cmp(s);g++)v=v.redSqr();n(g<p);var y=this.pow(l,new o(1).iushln(p-g-1));d=d.redMul(y),l=y.redSqr(),h=h.redMul(l),p=g}return d},M.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},M.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new o(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var a=n[0],s=0,c=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var f=t.words[i],l=u-1;l>=0;l--){var d=f>>l&1;a!==n[0]&&(a=this.sqr(a)),0!==d||0!==s?(s<<=1,s|=d,c++,(c===r||0===i&&0===l)&&(a=this.mul(a,n[s]),c=0,s=0)):c=0}u=26}return a},M.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},M.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},i(E,M),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r(289)(e))},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}},function(e,t){},function(e,t,r){var n=r(288),i=r(292);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},o.prototype.test=function(e,t,r){var i=e.bitLength(),o=n.mont(e),a=new n(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var u=e.shrn(c),f=s.toRed(o),l=!0;t>0;t--){var d=this._randrange(new n(2),s);r&&r(d);var h=d.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(f)){for(var p=1;p<c;p++){if(h=h.redSqr(),0===h.cmp(a))return!1;if(0===h.cmp(f))break}if(p===c)return!1}}return l},o.prototype.getDivisor=function(e,t){var r=e.bitLength(),i=n.mont(e),o=new n(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var c=e.shrn(s),u=a.toRed(i);t>0;t--){var f=this._randrange(new n(2),a),l=e.gcd(f);if(0!==l.cmpn(1))return l;var d=f.toRed(i).redPow(c);if(0!==d.cmp(o)&&0!==d.cmp(u)){for(var h=1;h<s;h++){if(d=d.redSqr(),0===d.cmp(o))return d.fromRed().subn(1).gcd(e);if(0===d.cmp(u))break}if(h===s)return d=d.redSqr(),d.fromRed().subn(1).gcd(e)}}return!1}},function(e,t,r){var n;function i(e){this.rand=e}if(e.exports=function(e){return n||(n=new i(null)),n.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=r(293);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(a){}},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,r){(function(t){var n=r(288),i=r(291),o=new i,a=new n(24),s=new n(11),c=new n(10),u=new n(3),f=new n(7),l=r(287),d=r(207);function h(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function p(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=y;var v={};function g(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in v)return v[n];var i,d=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!o.test(e))return d+=1,d+="02"===r||"05"===r?8:4,v[n]=d,d;switch(o.test(e.shrn(1))||(d+=2),r){case"02":e.mod(a).cmp(s)&&(d+=8);break;case"05":i=e.mod(c),i.cmp(u)&&i.cmp(f)&&(d+=8);break;default:d+=4}return v[n]=d,d}function y(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=p):this._primeCode=8}function b(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(y.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=g(this.__prime,this.__gen)),this._primeCode}}),y.prototype.generateKeys=function(){return this._priv||(this._priv=new n(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},y.prototype.computeSecret=function(e){e=new n(e),e=e.toRed(this._prime);var r=e.redPow(this._priv).fromRed(),i=new t(r.toArray()),o=this.getPrime();if(i.length<o.length){var a=new t(o.length-i.length);a.fill(0),i=t.concat([a,i])}return i},y.prototype.getPublicKey=function(e){return b(this._pub,e)},y.prototype.getPrivateKey=function(e){return b(this._priv,e)},y.prototype.getPrime=function(e){return b(this.__prime,e)},y.prototype.getGenerator=function(e){return b(this._gen,e)},y.prototype.setGenerator=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.__gen=e,this._gen=new n(e),this}}).call(this,r(29).Buffer)},function(e,t,r){var n=r(210).Buffer,i=r(211),o=r(215),a=r(212),s=r(297),c=r(350),u=r(250);function f(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new f(e)}function h(e){return new l(e)}Object.keys(u).forEach((function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),a(f,o.Writable),f.prototype._write=function(e,t,r){this._hash.update(e),r()},f.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},f.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(l,o.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},l.prototype.verify=function(e,t,r){"string"===typeof t&&(t=n.from(t,r)),this.end();var i=this._hash.digest();return c(t,i,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}},function(e,t,r){var n=r(210).Buffer,i=r(246),o=r(298),a=r(299).ec,s=r(288),c=r(329),u=r(349);function f(e,t,r,i,a){var s=c(t);if(s.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return l(e,s)}if("dsa"===s.type){if("dsa"!==i)throw new Error("wrong private key type");return d(e,s,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=n.concat([a,e]);var u=s.modulus.byteLength(),f=[0,1];while(e.length+f.length+1<u)f.push(255);f.push(0);var h=-1;while(++h<e.length)f.push(e[h]);var p=o(f,s);return p}function l(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var i=new a(r),o=i.keyFromPrivate(t.privateKey),s=o.sign(e);return n.from(s.toDER())}function d(e,t,r){var n,i=t.params.priv_key,o=t.params.p,a=t.params.q,c=t.params.g,u=new s(0),f=v(e,a).mod(a),l=!1,d=p(i,a,e,r);while(!1===l)n=y(a,d,r),u=b(c,n,o,a),l=n.invm(a).imul(f.add(i.mul(u))).mod(a),0===l.cmpn(0)&&(l=!1,u=new s(0));return h(u,l)}function h(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=e.length+t.length+4,i=[48,r,2,e.length];return i=i.concat(e,[2,t.length],t),n.from(i)}function p(e,t,r,o){if(e=n.from(e.toArray()),e.length<t.byteLength()){var a=n.alloc(t.byteLength()-e.length);e=n.concat([a,e])}var s=r.length,c=g(r,t),u=n.alloc(s);u.fill(1);var f=n.alloc(s);return f=i(o,f).update(u).update(n.from([0])).update(e).update(c).digest(),u=i(o,f).update(u).digest(),f=i(o,f).update(u).update(n.from([1])).update(e).update(c).digest(),u=i(o,f).update(u).digest(),{k:f,v:u}}function v(e,t){var r=new s(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function g(e,t){e=v(e,t),e=e.mod(t);var r=n.from(e.toArray());if(r.length<t.byteLength()){var i=n.alloc(t.byteLength()-r.length);r=n.concat([i,r])}return r}function y(e,t,r){var o,a;do{o=n.alloc(0);while(8*o.length<e.bitLength())t.v=i(r,t.k).update(t.v).digest(),o=n.concat([o,t.v]);a=v(o,e),t.k=i(r,t.k).update(t.v).update(n.from([0])).digest(),t.v=i(r,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function b(e,t,r,n){return e.toRed(s.mont(r)).redPow(t).fromRed().mod(n)}e.exports=f,e.exports.getKey=p,e.exports.makeKey=y},function(e,t,r){(function(t){var n=r(288),i=r(207);function o(e){var t=s(e),r=t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed();return{blinder:r,unblinder:t.invm(e.modulus)}}function a(e,r){var i=o(r),a=r.modulus.byteLength(),s=(n.mont(r.modulus),new n(e).mul(i.blinder).umod(r.modulus)),c=s.toRed(n.mont(r.prime1)),u=s.toRed(n.mont(r.prime2)),f=r.coefficient,l=r.prime1,d=r.prime2,h=c.redPow(r.exponent1),p=u.redPow(r.exponent2);h=h.fromRed(),p=p.fromRed();var v=h.isub(p).imul(f).umod(l);return v.imul(d),p.iadd(v),new t(p.imul(i.unblinder).umod(r.modulus).toArray(!1,a))}function s(e){var t=e.modulus.byteLength(),r=new n(i(t));while(r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2))r=new n(i(t));return r}e.exports=a,a.getr=s}).call(this,r(29).Buffer)},function(e,t,r){"use strict";var n=t;n.version=r(300).version,n.utils=r(301),n.rand=r(292),n.curve=r(303),n.curves=r(308),n.ec=r(322),n.eddsa=r(326)},function(e){e.exports=JSON.parse('{"_args":[["elliptic@6.5.2","/Users/guoshengqiang/Documents/hbx-plugins/uniapp-cli"]],"_from":"elliptic@6.5.2","_id":"elliptic@6.5.2","_inBundle":false,"_integrity":"sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.2","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.2","saveSpec":null,"fetchSpec":"6.5.2"},"_requiredBy":["/browserify-sign","/create-ecdh"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz","_spec":"6.5.2","_where":"/Users/guoshengqiang/Documents/hbx-plugins/uniapp-cli","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.2"}')},function(e,t,r){"use strict";var n=t,i=r(288),o=r(262),a=r(302);function s(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var i=1<<t+1,o=e.clone(),a=0;a<n.length;a++){var s,c=o.andln(i-1);o.isOdd()?(s=c>(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n}function c(e,t){var r=[[],[]];e=e.clone(),t=t.clone();var n=0,i=0;while(e.cmpn(-n)>0||t.cmpn(-i)>0){var o,a,s=e.andln(3)+n&3,c=t.andln(3)+i&3;if(3===s&&(s=-1),3===c&&(c=-1),0===(1&s))o=0;else{var u=e.andln(7)+n&7;o=3!==u&&5!==u||2!==c?s:-s}if(r[0].push(o),0===(1&c))a=0;else{u=t.andln(7)+i&7;a=3!==u&&5!==u||2!==s?c:-c}r[1].push(a),2*n===o+1&&(n=1-n),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r}function u(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function f(e){return"string"===typeof e?n.toArray(e,"hex"):e}function l(e){return new i(e,"hex","le")}n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=s,n.getJSF=c,n.cachedProperty=u,n.parseBytes=f,n.intFromLE=l},function(e,t,r){"use strict";var n=t;function i(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!==typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t){e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e);for(n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r}function o(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",r=0;r<e.length;r++)t+=o(e[r].toString(16));return t}n.toArray=i,n.zero2=o,n.toHex=a,n.encode=function(e,t){return"hex"===t?a(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(304),n.short=r(305),n.mont=r(306),n.edwards=r(307)},function(e,t,r){"use strict";var n=r(288),i=r(301),o=i.getNAF,a=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=o(t,1,this._bitLength),i=(1<<r.step+1)-(r.step%2===0?2:1);i/=3;for(var a=[],c=0;c<n.length;c+=r.step){var u=0;for(t=c+r.step-1;t>=c;t--)u=(u<<1)+n[t];a.push(u)}for(var f=this.jpoint(null,null,null),l=this.jpoint(null,null,null),d=i;d>0;d--){for(c=0;c<a.length;c++){u=a[c];u===d?l=l.mixedAdd(r.points[c]):u===-d&&(l=l.mixedAdd(r.points[c].neg()))}f=f.add(l)}return f.toP()},c.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(t,r,this._bitLength),c=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(t=0;u>=0&&0===a[u];u--)t++;if(u>=0&&t++,c=c.dblp(t),u<0)break;var f=a[u];s(0!==f),c="affine"===e.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,i){for(var s=this._wnafT1,c=this._wnafT2,u=this._wnafT3,f=0,l=0;l<n;l++){var d=t[l],h=d._getNAFPoints(e);s[l]=h.wnd,c[l]=h.points}for(l=n-1;l>=1;l-=2){var p=l-1,v=l;if(1===s[p]&&1===s[v]){var g=[t[p],null,null,t[v]];0===t[p].y.cmp(t[v].y)?(g[1]=t[p].add(t[v]),g[2]=t[p].toJ().mixedAdd(t[v].neg())):0===t[p].y.cmp(t[v].y.redNeg())?(g[1]=t[p].toJ().mixedAdd(t[v]),g[2]=t[p].add(t[v].neg())):(g[1]=t[p].toJ().mixedAdd(t[v]),g[2]=t[p].toJ().mixedAdd(t[v].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],b=a(r[p],r[v]);f=Math.max(b[0].length,f),u[p]=new Array(f),u[v]=new Array(f);for(var m=0;m<f;m++){var x=0|b[0][m],w=0|b[1][m];u[p][m]=y[3*(x+1)+(w+1)],u[v][m]=0,c[p]=g}}else u[p]=o(r[p],s[p],this._bitLength),u[v]=o(r[v],s[v],this._bitLength),f=Math.max(u[p].length,f),f=Math.max(u[v].length,f)}var _=this.jpoint(null,null,null),S=this._wnafT4;for(l=f;l>=0;l--){var A=0;while(l>=0){var k=!0;for(m=0;m<n;m++)S[m]=0|u[m][l],0!==S[m]&&(k=!1);if(!k)break;A++,l--}if(l>=0&&A++,_=_.dblp(A),l<0)break;for(m=0;m<n;m++){var P=S[m];0!==P&&(P>0?d=c[m][P-1>>1]:P<0&&(d=c[m][-P-1>>1].neg()),_="affine"===d.type?_.mixedAdd(d):_.add(d))}}for(l=0;l<n;l++)c[l]=null;return i?_:_.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*r){6===e[0]?s(e[e.length-1]%2===0):7===e[0]&&s(e[e.length-1]%2===1);var n=this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));return n}if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},function(e,t,r){"use strict";var n=r(301),i=r(288),o=r(212),a=r(304),s=n.assert;function c(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);t=o[0].cmp(o[1])<0?o[0]:o[1],t=t.toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?r=a[0]:(r=a[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return n=e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(r),{beta:t,lambda:r,basis:n}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(r),a=n.redAdd(o).fromRed(),s=n.redSub(o).fromRed();return[a,s]},c.prototype._getEndoBasis=function(e){var t,r,n,o,a,s,c,u,f,l=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new i(1),v=new i(0),g=new i(0),y=new i(1),b=0;while(0!==d.cmpn(0)){var m=h.div(d);u=h.sub(m.mul(d)),f=g.sub(m.mul(p));var x=y.sub(m.mul(v));if(!n&&u.cmp(l)<0)t=c.neg(),r=p,n=u.neg(),o=f;else if(n&&2===++b)break;c=u,h=d,d=u,g=p,p=f,y=v,v=x}a=u.neg(),s=f;var w=n.sqr().add(o.sqr()),_=a.sqr().add(s.sqr());return _.cmp(w)>=0&&(a=t,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),c=i.mul(r.b),u=o.mul(n.b),f=e.sub(a).sub(s),l=c.add(u).neg();return{k1:f,k2:l}},c.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(t&&!o||!t&&o)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),s=e[o],c=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),c=c.neg(!0)),n[2*o]=s,n[2*o+1]=c,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),f=0;f<2*o;f++)n[f]=null,i[f]=null;return u},o(u,a.BasePoint),c.prototype.point=function(e,t,r){return new u(this,e,t,r)},c.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"===typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function i(t){return e.point(t[0],t[1],r)}var o=t[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},o(f,a.BasePoint),c.prototype.jpoint=function(e,t,r){return new f(this,e,t,r)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),f=u.redMul(s),l=n.redMul(u),d=c.redSqr().redIAdd(f).redISub(l).redISub(l),h=c.redMul(l.redISub(d)).redISub(o.redMul(f)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},f.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),f=r.redMul(c),l=s.redSqr().redIAdd(u).redISub(f).redISub(f),d=s.redMul(f.redISub(l)).redISub(i.redMul(u)),h=this.z.redMul(a);return this.curve.jpoint(l,d,h)},f.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,c=s.redSqr().redSqr(),u=a.redAdd(a);for(r=0;r<e;r++){var f=o.redSqr(),l=u.redSqr(),d=l.redSqr(),h=f.redAdd(f).redIAdd(f).redIAdd(n.redMul(c)),p=o.redMul(l),v=h.redSqr().redISub(p.redAdd(p)),g=p.redISub(v),y=h.redMul(g);y=y.redIAdd(y).redISub(d);var b=u.redMul(s);r+1<e&&(c=c.redMul(d)),o=v,s=b,u=y}return this.curve.jpoint(o,u.redMul(i),s)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=u.redIAdd(u),u=u.redIAdd(u),e=c,t=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var f=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),h=this.x.redAdd(l).redSqr().redISub(f).redISub(d);h=h.redIAdd(h);var p=f.redAdd(f).redIAdd(f),v=p.redSqr(),g=d.redIAdd(d);g=g.redIAdd(g),g=g.redIAdd(g),e=v.redISub(h).redISub(h),t=p.redMul(h.redISub(e)).redISub(g),r=this.y.redMul(this.z),r=r.redIAdd(r)}return this.curve.jpoint(e,t,r)},f.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(a).redISub(a);e=c;var u=o.redIAdd(o);u=u.redIAdd(u),u=u.redIAdd(u),t=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var f=this.z.redSqr(),l=this.y.redSqr(),d=this.x.redMul(l),h=this.x.redSub(f).redMul(this.x.redAdd(f));h=h.redAdd(h).redIAdd(h);var p=d.redIAdd(d);p=p.redIAdd(p);var v=p.redAdd(p);e=h.redSqr().redISub(v),r=this.y.redAdd(this.z).redSqr().redISub(l).redISub(f);var g=l.redSqr();g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g),t=h.redMul(p.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,r)},f.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),c=t.redAdd(t);c=c.redIAdd(c);var u=c.redMul(a),f=s.redSqr().redISub(u.redAdd(u)),l=u.redISub(f),d=a.redSqr();d=d.redIAdd(d),d=d.redIAdd(d),d=d.redIAdd(d);var h=s.redMul(l).redISub(d),p=r.redAdd(r).redMul(n);return this.curve.jpoint(f,h,p)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(n);a=a.redIAdd(a),a=a.redAdd(a).redIAdd(a),a=a.redISub(o);var s=a.redSqr(),c=n.redIAdd(n);c=c.redIAdd(c),c=c.redIAdd(c),c=c.redIAdd(c);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(c),f=t.redMul(u);f=f.redIAdd(f),f=f.redIAdd(f);var l=this.x.redMul(s).redISub(f);l=l.redIAdd(l),l=l.redIAdd(l);var d=this.y.redMul(u.redMul(c.redISub(u)).redISub(a.redMul(s)));d=d.redIAdd(d),d=d.redIAdd(d),d=d.redIAdd(d);var h=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(l,d,h)},f.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},f.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},f.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},f.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(288),i=r(212),o=r(304),a=r(301);function s(e){o.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t),i=n.redSqrt();return 0===i.redSqr().cmp(n)},i(c,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new c(this,e,t)},s.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z),t=e.redSqr(),r=this.x.redSub(this.z),n=r.redSqr(),i=t.redSub(n),o=t.redMul(n),a=i.redMul(n.redAdd(this.curve.a24.redMul(i)));return this.curve.point(o,a)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z),a=o.redMul(r),s=i.redMul(n),c=t.z.redMul(a.redAdd(s).redSqr()),u=t.x.redMul(a.redISub(s).redSqr());return this.curve.point(c,u)},c.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=this,o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var a=o.length-1;a>=0;a--)0===o[a]?(r=r.diffAdd(n,i),n=n.dbl()):(n=r.diffAdd(n,i),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(301),i=r(288),o=r(212),a=r(304),s=n.assert;function c(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function u(e,t,r,n,o){a.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},c.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(t&&!c||!t&&c)&&(s=s.redNeg()),this.point(e,s)},c.prototype.pointFromY=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},o(u,a.BasePoint),c.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},c.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),a=o.redSub(r),s=n.redSub(t),c=i.redMul(a),u=o.redMul(s),f=i.redMul(s),l=a.redMul(o);return this.curve.point(c,u,l,f)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=this.curve._mulA(i),s=a.redAdd(o);if(this.zOne)e=n.redSub(i).redSub(o).redMul(s.redSub(this.curve.two)),t=s.redMul(a.redSub(o)),r=s.redSqr().redSub(s).redSub(s);else{var c=this.z.redSqr(),u=s.redSub(c).redISub(c);e=n.redSub(i).redISub(o).redMul(u),t=s.redMul(a.redSub(o)),r=s.redMul(u)}}else{a=i.redAdd(o),c=this.curve._mulC(this.z).redSqr(),u=a.redSub(c).redSub(c);e=this.curve._mulC(n.redISub(a)).redMul(u),t=this.curve._mulC(a).redMul(i.redISub(o)),r=a.redMul(u)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),a=i.redSub(n),s=i.redAdd(n),c=r.redAdd(t),u=o.redMul(a),f=s.redMul(c),l=o.redMul(c),d=a.redMul(s);return this.curve.point(u,f,d,l)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),u=i.redAdd(s),f=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),l=n.redMul(c).redMul(f);return this.curve.twisted?(t=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=c.redMul(u)):(t=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(c).redMul(u)),this.curve.point(l,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t,r){"use strict";var n,i=t,o=r(309),a=r(303),s=r(301),c=s.assert;function u(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function f(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new u(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=u,f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(321)}catch(l){n=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){var n=t;n.utils=r(310),n.common=r(311),n.sha=r(312),n.ripemd=r(319),n.hmac=r(320),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t,r){"use strict";var n=r(262),i=r(212);function o(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function a(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"===typeof e)if(t){if("hex"===t)for(e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r}function s(e){for(var t="",r=0;r<e.length;r++)t+=f(e[r].toString(16));return t}function c(e){var t=e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24;return t>>>0}function u(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=c(i)),r+=l(i.toString(16))}return r}function f(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}function d(e,t,r,i){var o=r-t;n(o%4===0);for(var a=new Array(o/4),s=0,c=t;s<a.length;s++,c+=4){var u;u="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],a[s]=u>>>0}return a}function h(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r}function p(e,t){return e>>>t|e<<32-t}function v(e,t){return e<<t|e>>>32-t}function g(e,t){return e+t>>>0}function y(e,t,r){return e+t+r>>>0}function b(e,t,r,n){return e+t+r+n>>>0}function m(e,t,r,n,i){return e+t+r+n+i>>>0}function x(e,t,r,n){var i=e[t],o=e[t+1],a=n+o>>>0,s=(a<n?1:0)+r+i;e[t]=s>>>0,e[t+1]=a}function w(e,t,r,n){var i=t+n>>>0,o=(i<t?1:0)+e+r;return o>>>0}function _(e,t,r,n){var i=t+n;return i>>>0}function S(e,t,r,n,i,o,a,s){var c=0,u=t;u=u+n>>>0,c+=u<t?1:0,u=u+o>>>0,c+=u<o?1:0,u=u+s>>>0,c+=u<s?1:0;var f=e+r+i+a+c;return f>>>0}function A(e,t,r,n,i,o,a,s){var c=t+n+o+s;return c>>>0}function k(e,t,r,n,i,o,a,s,c,u){var f=0,l=t;l=l+n>>>0,f+=l<t?1:0,l=l+o>>>0,f+=l<o?1:0,l=l+s>>>0,f+=l<s?1:0,l=l+u>>>0,f+=l<u?1:0;var d=e+r+i+a+c+f;return d>>>0}function P(e,t,r,n,i,o,a,s,c,u){var f=t+n+o+s+u;return f>>>0}function M(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}function E(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}function O(e,t,r){return e>>>r}function T(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}t.inherits=i,t.toArray=a,t.toHex=s,t.htonl=c,t.toHex32=u,t.zero2=f,t.zero8=l,t.join32=d,t.split32=h,t.rotr32=p,t.rotl32=v,t.sum32=g,t.sum32_3=y,t.sum32_4=b,t.sum32_5=m,t.sum64=x,t.sum64_hi=w,t.sum64_lo=_,t.sum64_4_hi=S,t.sum64_4_lo=A,t.sum64_5_hi=k,t.sum64_5_lo=P,t.rotr64_hi=M,t.rotr64_lo=E,t.shr64_hi=O,t.shr64_lo=T},function(e,t,r){"use strict";var n=r(310),i=r(262);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var r=e.length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},function(e,t,r){"use strict";t.sha1=r(313),t.sha224=r(315),t.sha256=r(316),t.sha384=r(317),t.sha512=r(318)},function(e,t,r){"use strict";var n=r(310),i=r(311),o=r(314),a=n.rotl32,s=n.sum32,c=n.sum32_5,u=o.ft_1,f=i.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,f),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],f=this.h[2],d=this.h[3],h=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),v=c(a(i,5),u(p,o,f,d),h,r[n],l[p]);h=d,d=f,f=a(o,30),o=i,i=v}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],f),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],h)},d.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(310),i=n.rotr32;function o(e,t,r,n){return 0===e?a(t,r,n):1===e||3===e?c(t,r,n):2===e?s(t,r,n):void 0}function a(e,t,r){return e&t^~e&r}function s(e,t,r){return e&t^e&r^t&r}function c(e,t,r){return e^t^r}function u(e){return i(e,2)^i(e,13)^i(e,22)}function f(e){return i(e,6)^i(e,11)^i(e,25)}function l(e){return i(e,7)^i(e,18)^e>>>3}function d(e){return i(e,17)^i(e,19)^e>>>10}t.ft_1=o,t.ch32=a,t.maj32=s,t.p32=c,t.s0_256=u,t.s1_256=f,t.g0_256=l,t.g1_256=d},function(e,t,r){"use strict";var n=r(310),i=r(316);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(e,t,r){"use strict";var n=r(310),i=r(311),o=r(314),a=r(262),s=n.sum32,c=n.sum32_4,u=n.sum32_5,f=o.ch32,l=o.maj32,d=o.s0_256,h=o.s1_256,p=o.g0_256,v=o.g1_256,g=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(b,g),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=c(v(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],y=this.h[3],b=this.h[4],m=this.h[5],x=this.h[6],w=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var _=u(w,h(b),f(b,m,x),this.k[n],r[n]),S=s(d(i),l(i,o,g));w=x,x=m,m=b,b=s(y,_),y=g,g=o,o=i,i=s(_,S)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],y),this.h[4]=s(this.h[4],b),this.h[5]=s(this.h[5],m),this.h[6]=s(this.h[6],x),this.h[7]=s(this.h[7],w)},b.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(310),i=r(318);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(e,t,r){"use strict";var n=r(310),i=r(311),o=r(262),a=n.rotr64_hi,s=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,f=n.sum64,l=n.sum64_hi,d=n.sum64_lo,h=n.sum64_4_hi,p=n.sum64_4_lo,v=n.sum64_5_hi,g=n.sum64_5_lo,y=i.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function m(){if(!(this instanceof m))return new m;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function x(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}function w(e,t,r,n,i,o){var a=t&n^~t&o;return a<0&&(a+=4294967296),a}function _(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}function S(e,t,r,n,i,o){var a=t&n^t&o^n&o;return a<0&&(a+=4294967296),a}function A(e,t){var r=a(e,t,28),n=a(t,e,2),i=a(t,e,7),o=r^n^i;return o<0&&(o+=4294967296),o}function k(e,t){var r=s(e,t,28),n=s(t,e,2),i=s(t,e,7),o=r^n^i;return o<0&&(o+=4294967296),o}function P(e,t){var r=a(e,t,14),n=a(e,t,18),i=a(t,e,9),o=r^n^i;return o<0&&(o+=4294967296),o}function M(e,t){var r=s(e,t,14),n=s(e,t,18),i=s(t,e,9),o=r^n^i;return o<0&&(o+=4294967296),o}function E(e,t){var r=a(e,t,1),n=a(e,t,8),i=c(e,t,7),o=r^n^i;return o<0&&(o+=4294967296),o}function O(e,t){var r=s(e,t,1),n=s(e,t,8),i=u(e,t,7),o=r^n^i;return o<0&&(o+=4294967296),o}function T(e,t){var r=a(e,t,19),n=a(t,e,29),i=c(e,t,6),o=r^n^i;return o<0&&(o+=4294967296),o}function C(e,t){var r=s(e,t,19),n=s(t,e,29),i=u(e,t,6),o=r^n^i;return o<0&&(o+=4294967296),o}n.inherits(m,y),e.exports=m,m.blockSize=1024,m.outSize=512,m.hmacStrength=192,m.padLength=128,m.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=T(r[n-4],r[n-3]),o=C(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],c=E(r[n-30],r[n-29]),u=O(r[n-30],r[n-29]),f=r[n-32],l=r[n-31];r[n]=h(i,o,a,s,c,u,f,l),r[n+1]=p(i,o,a,s,c,u,f,l)}},m.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],c=this.h[4],u=this.h[5],h=this.h[6],p=this.h[7],y=this.h[8],b=this.h[9],m=this.h[10],E=this.h[11],O=this.h[12],T=this.h[13],C=this.h[14],I=this.h[15];o(this.k.length===r.length);for(var j=0;j<r.length;j+=2){var B=C,D=I,L=P(y,b),F=M(y,b),R=x(y,b,m,E,O,T),N=w(y,b,m,E,O,T),z=this.k[j],U=this.k[j+1],q=r[j],$=r[j+1],H=v(B,D,L,F,R,N,z,U,q,$),W=g(B,D,L,F,R,N,z,U,q,$);B=A(n,i),D=k(n,i),L=_(n,i,a,s,c,u),F=S(n,i,a,s,c,u);var Q=l(B,D,L,F),V=d(B,D,L,F);C=O,I=T,O=m,T=E,m=y,E=b,y=l(h,p,H,W),b=d(p,p,H,W),h=c,p=u,c=a,u=s,a=n,s=i,n=l(H,W,Q,V),i=d(H,W,Q,V)}f(this.h,0,n,i),f(this.h,2,a,s),f(this.h,4,c,u),f(this.h,6,h,p),f(this.h,8,y,b),f(this.h,10,m,E),f(this.h,12,O,T),f(this.h,14,C,I)},m.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(310),i=r(311),o=n.rotl32,a=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function f(){if(!(this instanceof f))return new f;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function l(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(f,u),t.ripemd160=f,f.blockSize=512,f.outSize=160,f.hmacStrength=192,f.padLength=64,f.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],f=this.h[4],b=r,m=n,x=i,w=u,_=f,S=0;S<80;S++){var A=a(o(c(r,l(S,n,i,u),e[p[S]+t],d(S)),g[S]),f);r=f,f=u,u=o(i,10),i=n,n=A,A=a(o(c(b,l(79-S,m,x,w),e[v[S]+t],h(S)),y[S]),_),b=_,_=w,w=o(x,10),x=m,m=A}A=s(this.h[1],i,w),this.h[1]=s(this.h[2],u,_),this.h[2]=s(this.h[3],f,b),this.h[3]=s(this.h[4],r,m),this.h[4]=s(this.h[0],n,x),this.h[0]=A},f.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],v=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,r){"use strict";var n=r(310),i=r(262);function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(288),i=r(323),o=r(301),a=r(308),s=r(292),c=o.assert,u=r(324),f=r(325);function l(e){if(!(this instanceof l))return new l(e);"string"===typeof e&&(c(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=l,l.prototype.keyPair=function(e){return new u(this,e)},l.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},l.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},l.prototype.genKeyPair=function(e){e||(e={});var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));do{var a=new n(t.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}while(1)},l.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},l.prototype.sign=function(e,t,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),c=e.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),l=this.n.sub(new n(1)),d=0;1;d++){var h=o.k?o.k(d):new n(u.generate(this.n.byteLength()));if(h=this._truncateToN(h,!0),!(h.cmpn(1)<=0||h.cmp(l)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var v=p.getX(),g=v.umod(this.n);if(0!==g.cmpn(0)){var y=h.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(y=y.umod(this.n),0!==y.cmpn(0)){var b=(p.getY().isOdd()?1:0)|(0!==v.cmp(g)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),b^=1),new f({r:g,s:y,recoveryParam:b})}}}}}},l.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,i),t=new f(t,"hex");var o=t.r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s=a.invm(this.n),c=s.mul(e).umod(this.n),u=s.mul(o).umod(this.n);if(!this.curve._maxwellTrick){var l=this.g.mulAdd(c,r.getPublic(),u);return!l.isInfinity()&&0===l.getX().umod(this.n).cmp(o)}l=this.g.jmulAdd(c,r.getPublic(),u);return!l.isInfinity()&&l.eqXToP(o)},l.prototype.recoverPubKey=function(e,t,r,i){c((3&r)===r,"The recovery param is more than two bits"),t=new f(t,i);var o=this.n,a=new n(e),s=t.r,u=t.s,l=1&r,d=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");s=d?this.curve.pointFromX(s.add(this.curve.n),l):this.curve.pointFromX(s,l);var h=t.r.invm(o),p=o.sub(a).mul(h).umod(o),v=u.mul(h).umod(o);return this.g.mulAdd(p,s,v)},l.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new f(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(309),i=r(302),o=r(262);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=a,a.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,r,n){"string"!==typeof t&&(n=r,r=t,t=null),e=i.toArray(e,t),r=i.toArray(r,n),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},a.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));var o=[];while(o.length<e)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,e);return this._update(r),this._reseed++,i.encode(a,t)}},function(e,t,r){"use strict";var n=r(288),i=r(301),o=i.assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,r){return t instanceof a?t:new a(e,{pub:t,pubEnc:r})},a.fromPrivate=function(e,t,r){return t instanceof a?t:new a(e,{priv:t,privEnc:r})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(288),i=r(301),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,o=0,a=t.place;o<n;o++,a++)i<<=8,i|=e[a];return t.place=a,i}function u(e){var t=0,r=e.length-1;while(!e[t]&&!(128&e[t+1])&&t<r)t++;return 0===t?e:e.slice(t)}function f(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);e.push(128|r);while(--r)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var o=c(e,r);if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=c(e,r),u=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var f=c(e,r);if(e.length!==f+r.place)return!1;var l=e.slice(r.place,f+r.place);return 0===u[0]&&128&u[1]&&(u=u.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new n(u),this.s=new n(l),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];f(n,t.length),n=n.concat(t),n.push(2),f(n,r.length);var o=n.concat(r),a=[48];return f(a,o.length),a=a.concat(o),i.encode(a,e)}},function(e,t,r){"use strict";var n=r(309),i=r(308),o=r(301),a=o.assert,s=o.parseBytes,c=r(327),u=r(328);function f(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof f))return new f(e);e=i[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=f,f.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},f.prototype.verify=function(e,t,r){e=s(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S()),a=t.R().add(n.pub().mul(i));return a.eq(o)},f.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},f.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},f.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},f.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},f.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},f.prototype.decodePoint=function(e){e=o.parseBytes(e);var t=e.length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!==(128&e[t]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},f.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},f.prototype.decodeInt=function(e){return o.intFromLE(e)},f.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(301),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=s},function(e,t,r){"use strict";var n=r(288),i=r(301),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function c(e,t){this.eddsa=e,"object"!==typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},function(e,t,r){var n=r(330),i=r(347),o=r(348),a=r(266),s=r(251),c=r(210).Buffer;function u(e){var t;"object"!==typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=c.from(e));var r,i,a=o(e,t),s=a.tag,u=a.data;switch(s){case"CERTIFICATE":i=n.certificate.decode(u,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=n.PublicKey.decode(u,"der")),r=i.algorithm.algorithm.join("."),r){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=n.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+s);case"ENCRYPTED PRIVATE KEY":u=n.EncryptedPrivateKey.decode(u,"der"),u=f(u,t);case"PRIVATE KEY":switch(i=n.PrivateKey.decode(u,"der"),r=i.algorithm.algorithm.join("."),r){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:n.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=n.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+s);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(u,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(u,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(u,"der")};case"EC PRIVATE KEY":return u=n.ECPrivateKey.decode(u,"der"),{curve:u.parameters.value,privateKey:u.privateKey};default:throw new Error("unknown key type "+s)}}function f(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,f=e.subjectPrivateKey,l=parseInt(o.split("-")[1],10)/8,d=s.pbkdf2Sync(t,r,n,l,"sha1"),h=a.createDecipheriv(o,d,u),p=[];return p.push(h.update(f)),p.push(h.final()),c.concat(p)}e.exports=u,u.signature=n.signature},function(e,t,r){"use strict";var n=r(331);t.certificate=r(346);var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=u;var f=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=f,t.DSAparam=n.define("DSAparam",(function(){this.int()}));var l=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=l;var d=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},function(e,t,r){var n=t;n.bignum=r(288),n.define=r(332).define,n.base=r(334),n.constants=r(338),n.decoders=r(340),n.encoders=r(343)},function(e,t,r){var n=r(331),i=r(212),o=t;function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}o.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t;try{t=r(333).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(n){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},a.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},a.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),(function(t){r[t]=e[t]})),forEach(globals,(function(t){e[t]&&(r[t]=e[t])}));var o=Object_keys(r),a=n.call(r,this.code);return forEach(Object_keys(r),(function(t){(t in e||-1===indexOf(o,t))&&(e[t]=r[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,r[t])})),document.body.removeChild(t),a},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),(function(r){e[r]=t[r]})),r},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"===typeof e&&forEach(Object_keys(e),(function(r){t[r]=e[r]})),t}},function(e,t,r){var n=t;n.Reporter=r(335).Reporter,n.DecoderBuffer=r(336).DecoderBuffer,n.EncoderBuffer=r(336).EncoderBuffer,n.Node=r(337)},function(e,t,r){var n=r(212);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof o;if(t=n?e:new o(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},function(e,t,r){var n=r(212),i=r(334).Reporter,o=r(29).Buffer;function a(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"===typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"===typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(a,i),t.DecoderBuffer=a,a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(e,t),t+=r.length})):("number"===typeof this.value?e[t]=this.value:"string"===typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},function(e,t,r){var n=r(334).Reporter,i=r(334).EncoderBuffer,o=r(334).DecoderBuffer,a=r(262),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s),u=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function f(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r["default"]=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=f;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];f.prototype.clone=function(){var e=this._baseState,t={};l.forEach((function(r){t[r]=e[r]}));var r=new this.constructor(t.parent);return r._baseState=t,r},f.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},f.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},f.prototype._useArgs=function(e){var t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!==typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r})),t})))},u.forEach((function(e){f.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){f.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}})),f.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},f.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this},f.prototype.def=function(e){var t=this._baseState;return a(null===t["default"]),t["default"]=e,t.optional=!0,this},f.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},f.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},f.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},f.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},f.prototype.any=function(){var e=this._baseState;return e.any=!0,this},f.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},f.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},f.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,i=r["default"],a=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(a=this._peekTag(e,c,r.any),e.isError(a))return a}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),a=!0}catch(p){a=!1}e.restore(u)}}if(r.obj&&a&&(n=e.enterObject()),a){if(null!==r.explicit){var f=this._decodeTag(e,r.explicit);if(e.isError(f))return f;e=f}var l=e.offset;if(null===r.use&&null===r.choice){if(r.any)u=e.save();var d=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(d))return d;r.any?i=e.raw(u):e=d}if(t&&t.track&&null!==r.tag&&t.track(e.path(),l,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),i=r.any?i:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var h=new o(i);i=this._getUse(r.contains,e._reporterState.obj)._decode(h,t)}}return r.obj&&a&&(i=e.leaveObject(n)),null===r.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,r.key,i),i},f.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},f.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},f.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=e.save(),s=r.choice[o];try{var c=s._decode(e,t);if(e.isError(c))return!1;n={type:o,value:c},i=!0}catch(u){return e.restore(a),!1}return!0}),this),i?n:e.error("Choice not matched")},f.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},f.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n["default"]||n["default"]!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},f.prototype._encodeValue=function(e,t,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new n);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i["default"])return;e=i["default"]}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,r)._encode(e,t),s=!0;else if(i.children)a=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!==typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),c))}else null!==i.use?o=this._getUse(i.use,r)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,f=null===i.implicit?"universal":"context";null===u?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(u,s,f,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},f.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},f.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},f.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},f.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},function(e,t,r){var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r})),t},n.der=r(339)},function(e,t,r){var n=r(338);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n._reverse(t.tag)},function(e,t,r){var n=t;n.der=r(341),n.pem=r(342)},function(e,t,r){var n=r(212),i=r(331),o=i.base,a=i.bignum,s=i.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.Node.call(this,"der",e)}function f(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=s.tagClass[r>>6],i=0===(32&r);if(31===(31&r)){var o=r;r=0;while(128===(128&o)){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}else r&=31;var a=s.tag[r];return{cls:n,primitive:i,tag:r,tagStr:a}}function l(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0===(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=e.readUInt8(r);if(e.isError(a))return a;n|=a}return n}e.exports=c,c.prototype.decode=function(e,t){return e instanceof o.DecoderBuffer||(e=new o.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(u,o.Node),u.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=f(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},u.prototype._decodeTag=function(e,t,r){var n=f(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=l(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var o=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){while(1){var r=f(e,t);if(e.isError(r))return r;var n,i=l(e,r.primitive,t);if(e.isError(i))return i;if(n=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,r,n){var i=[];while(!e.isEmpty()){var o=this._peekTag(e,"end");if(e.isError(o))return o;var a=r.decode(e,"der",n);if(e.isError(a)&&o)break;i.push(a)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===t){var a=e.raw().toString("ascii");return this._isNumstr(a)?a:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,r){var n,i=[],o=0;while(!e.isEmpty()){var a=e.readUInt8();o<<=7,o|=127&a,0===(128&a)&&(i.push(o),o=0)}128&a&&i.push(o);var s=i[0]/40|0,c=i[0]%40;if(n=r?i:[s,c].concat(i.slice(1)),t){var u=t[n.join(" ")];void 0===u&&(u=t[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),o=0|r.slice(6,8),a=0|r.slice(8,10),s=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),i=0|r.slice(2,4),o=0|r.slice(4,6),a=0|r.slice(6,8),s=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,o,a,s,c,0)},u.prototype._decodeNull=function(e){return null},u.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){var r=e.raw(),n=new a(r);return t&&(n=t[n.toString(10)]||n),n},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getDecoder("der").tree}},function(e,t,r){var n=r(212),i=r(29).Buffer,o=r(341);function a(e){o.call(this,e),this.enc="pem"}n(a,o),e.exports=a,a.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<r.length;u++){var f=r[u].match(a);if(null!==f&&f[2]===n){if(-1!==s){if("END"!==f[1])break;c=u;break}if("BEGIN"!==f[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+n);var l=r.slice(s+1,c).join("");l.replace(/[^a-z0-9\+\/=]+/gi,"");var d=new i(l,"base64");return o.prototype.decode.call(this,d,t)}},function(e,t,r){var n=t;n.der=r(344),n.pem=r(345)},function(e,t,r){var n=r(212),i=r(29).Buffer,o=r(331),a=o.base,s=o.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.Node.call(this,"der",e)}function f(e){return e<10?"0"+e:e}function l(e,t,r,n){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),s.tagByName.hasOwnProperty(e))i=s.tagByName[e];else{if("number"!==typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=s.tagClassByName[r||"universal"]<<6,i)}e.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,a.Node),u.prototype._encodeComposite=function(e,t,r,n){var o=l(e,t,r,this.reporter);if(n.length<128){var a=new i(2);return a[0]=o,a[1]=n.length,this._createEncoderBuffer([a,n])}for(var s=1,c=n.length;c>=256;c>>=8)s++;a=new i(2+s);a[0]=o,a[1]=128|s;c=1+s;for(var u=n.length;u>0;c--,u>>=8)a[c]=255&u;return this._createEncoderBuffer([a,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new i(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,r){if("string"===typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(n=0;n<e.length;n++){var a=e[n];for(o++;a>=128;a>>=7)o++}var s=new i(o),c=s.length-1;for(n=e.length-1;n>=0;n--){a=e[n];s[c--]=127&a;while((a>>=7)>0)s[c--]=128|127&a}return this._createEncoderBuffer(s)},u.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[f(n.getFullYear()),f(n.getUTCMonth()+1),f(n.getUTCDate()),f(n.getUTCHours()),f(n.getUTCMinutes()),f(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[f(n.getFullYear()%100),f(n.getUTCMonth()+1),f(n.getUTCDate()),f(n.getUTCHours()),f(n.getUTCMinutes()),f(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new i(r)}if(i.isBuffer(e)){var n=e.length;0===e.length&&n++;var o=new i(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var a=e;a>=256;a>>=8)n++;for(o=new Array(n),a=o.length-1;a>=0;a--)o[a]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i["default"])return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i["default"],t,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},function(e,t,r){var n=r(212),i=r(344);function o(e){i.call(this,e),this.enc="pem"}n(o,i),e.exports=o,o.prototype.encode=function(e,t){for(var r=i.prototype.encode.call(this,e),n=r.toString("base64"),o=["-----BEGIN "+t.label+"-----"],a=0;a<n.length;a+=64)o.push(n.slice(a,a+64));return o.push("-----END "+t.label+"-----"),o.join("\n")}},function(e,t,r){"use strict";var n=r(331),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=n.define("RDNSequence",(function(){this.seqof(c)})),f=n.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),l=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(f),this.key("validity").use(l),this.key("subject").use(f),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));e.exports=p},function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(e,t,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,a=r(283),s=r(266),c=r(210).Buffer;e.exports=function(e,t){var r,u=e.toString(),f=u.match(n);if(f){var l="aes"+f[1],d=c.from(f[2],"hex"),h=c.from(f[3].replace(/[\r\n]/g,""),"base64"),p=a(t,d.slice(0,8),parseInt(f[1],10)).key,v=[],g=s.createDecipheriv(l,p,d);v.push(g.update(h)),v.push(g.final()),r=c.concat(v)}else{var y=u.match(o);r=new c(y[2].replace(/[\r\n]/g,""),"base64")}var b=u.match(i)[1];return{tag:b,data:r}}},function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(e,t,r){var n=r(210).Buffer,i=r(288),o=r(299).ec,a=r(329),s=r(349);function c(e,t,r,o,s){var c=a(r);if("ec"===c.type){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong public key type");return u(e,t,c)}if("dsa"===c.type){if("dsa"!==o)throw new Error("wrong public key type");return f(e,t,c)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong public key type");t=n.concat([s,t]);var l=c.modulus.byteLength(),d=[1],h=0;while(t.length+d.length+2<l)d.push(255),h++;d.push(0);var p=-1;while(++p<t.length)d.push(t[p]);d=n.from(d);var v=i.mont(c.modulus);e=new i(e).toRed(v),e=e.redPow(new i(c.publicExponent)),e=n.from(e.fromRed().toArray());var g=h<8?1:0;l=Math.min(e.length,d.length),e.length!==d.length&&(g=1),p=-1;while(++p<l)g|=e[p]^d[p];return 0===g}function u(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(t,e,a)}function f(e,t,r){var n=r.data.p,o=r.data.q,s=r.data.g,c=r.data.pub_key,u=a.signature.decode(e,"der"),f=u.s,d=u.r;l(f,o),l(d,o);var h=i.mont(n),p=f.invm(o),v=s.toRed(h).redPow(new i(t).mul(p).mod(o)).fromRed().mul(c.toRed(h).redPow(d.mul(p).mod(o)).fromRed()).mod(n).mod(o);return 0===v.cmp(d)}function l(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=c},function(e,t,r){(function(t){var n=r(299),i=r(288);e.exports=function(e){return new a(e)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(e,r,n){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(n&&i.length<n){var o=new t(n-i.length);o.fill(0),i=t.concat([o,i])}return r?i.toString(r):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,r,n){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var i=this.curve.keyFromPublic(e).getPublic(),o=i.mul(this.keys.getPrivate()).getX();return s(o,n,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,e)},a.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,r){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var n=new i(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(29).Buffer)},function(e,t,r){t.publicEncrypt=r(353),t.privateDecrypt=r(357),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},function(e,t,r){var n=r(329),i=r(207),o=r(211),a=r(354),s=r(355),c=r(288),u=r(356),f=r(298),l=r(210).Buffer;function d(e,t){var r=e.modulus.byteLength(),n=t.length,u=o("sha1").update(l.alloc(0)).digest(),f=u.length,d=2*f;if(n>r-d-2)throw new Error("message too long");var h=l.alloc(r-n-d-2),p=r-f-1,v=i(f),g=s(l.concat([u,h,l.alloc(1,1),t],p),a(v,p)),y=s(v,a(g,f));return new c(l.concat([l.alloc(1),y,g],r))}function h(e,t,r){var n,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw new Error("message too long");return n=r?l.alloc(o-i-3,255):p(o-i-3),new c(l.concat([l.from([0,r?1:2]),n,l.alloc(1),t],o))}function p(e){var t,r=l.allocUnsafe(e),n=0,o=i(2*e),a=0;while(n<e)a===o.length&&(o=i(2*e),a=0),t=o[a++],t&&(r[n++]=t);return r}e.exports=function(e,t,r){var i;i=e.padding?e.padding:r?1:4;var o,a=n(e);if(4===i)o=d(a,t);else if(1===i)o=h(a,t,r);else{if(3!==i)throw new Error("unknown padding");if(o=new c(t),o.cmp(a.modulus)>=0)throw new Error("data too long for modulus")}return r?f(o,a):u(o,a)}},function(e,t,r){var n=r(211),i=r(210).Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){var r,a=i.alloc(0),s=0;while(a.length<t)r=o(s++),a=i.concat([a,n("sha1").update(e).update(r).digest()]);return a.slice(0,t)}},function(e,t){e.exports=function(e,t){var r=e.length,n=-1;while(++n<r)e[n]^=t[n];return e}},function(e,t,r){var n=r(288),i=r(210).Buffer;function o(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}e.exports=o},function(e,t,r){var n=r(329),i=r(354),o=r(355),a=r(288),s=r(298),c=r(211),u=r(356),f=r(210).Buffer;function l(e,t){var r=e.modulus.byteLength(),n=c("sha1").update(f.alloc(0)).digest(),a=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),u=t.slice(a+1),l=o(s,i(u,a)),d=o(u,i(l,r-a-1));if(h(n,d.slice(0,a)))throw new Error("decryption error");var p=a;while(0===d[p])p++;if(1!==d[p++])throw new Error("decryption error");return d.slice(p)}function d(e,t,r){var n=t.slice(0,2),i=2,o=0;while(0!==t[i++])if(i>=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}function h(e,t){e=f.from(e),t=f.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;while(++i<n)r+=e[i]^t[i];return r}e.exports=function(e,t,r){var i;i=e.padding?e.padding:r?1:4;var o,c=n(e),h=c.modulus.byteLength();if(t.length>h||new a(t).cmp(c.modulus)>=0)throw new Error("decryption error");o=r?u(new a(t),c):s(t,c);var p=f.alloc(h-o.length);if(o=f.concat([p,o],h),4===i)return l(c,o);if(1===i)return d(c,o,r);if(3===i)return o;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(210),a=r(207),s=o.Buffer,c=o.kMaxLength,u=e.crypto||e.msCrypto,f=Math.pow(2,32)-1;function l(e,t){if("number"!==typeof e||e!==e)throw new TypeError("offset must be a number");if(e>f||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,r){if("number"!==typeof e||e!==e)throw new TypeError("size must be a number");if(e>f||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>c)throw new RangeError("buffer too small")}function h(t,r,n,i){if(!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof r)i=r,r=0,n=t.length;else if("function"===typeof n)i=n,n=t.length-r;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return l(r,t.length),d(n,r,t.length),p(t,r,n,i)}function p(e,t,r,i){if(n.browser){var o=e.buffer,s=new Uint8Array(o,t,r);return u.getRandomValues(s),i?void n.nextTick((function(){i(null,e)})):e}if(!i){var c=a(r);return c.copy(e,t),e}a(r,(function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)}))}function v(t,r,n){if("undefined"===typeof r&&(r=0),!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return l(r,t.length),void 0===n&&(n=t.length-r),d(n,r,t.length),p(t,r,n)}u&&u.getRandomValues||!n.browser?(t.randomFill=h,t.randomFillSync=v):(t.randomFill=i,t.randomFillSync=i)}).call(this,r(2),r(208))},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=[(n={categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"语文成绩",data:[90,95,72,89,88,84]},{name:"班级平均",data:[85,98,84,72,83,89]},{name:"年纪平均",data:[88,79,88,74,81,92]}]},i(n,"categories",["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"]),i(n,"series",[{name:"语文成绩",data:[90,95,92,80,88,99]},{name:"班级平均",data:[85,88,84,42,93,89]},{name:"年纪平均",data:[88,79,77,74,85,59]}]),n),{categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"数学成绩",data:[90,95,62,69,88,99]},{name:"班级平均",data:[85,88,84,92,73,89]},{name:"年纪平均",data:[88,99,77,74,85,89]}]},{categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"英语成绩",data:[90,75,92,77,88,99]},{name:"班级平均",data:[85,48,84,92,93,89]},{name:"年纪平均",data:[88,99,77,74,85,86]}]},{categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"科学成绩",data:[90,95,92,50,56,99]},{name:"班级平均",data:[85,88,84,92,63,89]},{name:"年纪平均",data:[78,79,77,74,85,89]}]},{categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"体育成绩",data:[90,95,92,70,66,99]},{name:"班级平均",data:[85,88,84,92,83,89]},{name:"年纪平均",data:[88,79,87,74,55,89]}]},{categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"思品成绩",data:[90,95,92,60,88,72]},{name:"班级平均",data:[85,88,84,92,93,79]},{name:"年纪平均",data:[88,79,77,74,55,89]}]}],a=[{name:"语文",categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"超过年级中",data:[90,95,82,76,88,99]},{name:"超过班级中",data:[95,58,64,92,93,79]}]},{name:"数学",categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"超过年级中",data:[90,95,82,76,88,99]},{name:"超过班级中",data:[95,58,88,92,93,79]}]},{name:"英语",categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"超过年级中",data:[90,74,82,66,77,99]},{name:"超过班级中",data:[95,89,64,75,93,92]}]},{name:"思品",categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"超过年级中",data:[80,91,82,76,55,99]},{name:"超过班级中",data:[95,92,69,92,93,55]}]},{name:"体育",categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"超过年级中",data:[90,33,82,45,88,99]},{name:"超过班级中",data:[95,99,64,77,93,79]}]},{name:"科学",categories:["开学考试","第一月考","第二月考","期中考试","第三月考","期末考试"],series:[{name:"超过年级中",data:[50,95,55,76,66,99]},{name:"超过班级中",data:[30,58,64,92,22,79]}]}],s={"周四":[{title:"文章鉴赏",name:"语文",teacher:"王老师",time:"09:00-09:50",timeFrame:"上午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"计算练习",name:"数学",teacher:"李老师",time:"09:50-10:50",timeFrame:"上午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"阅读专项训练",name:"外语",teacher:"张老师",time:"10:50-11:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"思想品德教育",name:"思品",teacher:"史老师",time:"11:50-14:50",timeFrame:"下午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"户外运动锻炼",name:"体育",teacher:"李老师",time:"14:50-17:55",timeFrame:"下午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"科学学习实验",name:"科学",teacher:"张老师",time:"17:55-20:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"随堂测验",name:"数学",teacher:"李老师",time:"20:50-21:50",timeFrame:"下午第四节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0}],"周五":[{title:"计算练习",name:"数学",teacher:"李老师",time:"09:00-09:50",timeFrame:"上午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"文言文学习",name:"语文",teacher:"王老师",time:"09:50-10:50",timeFrame:"上午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"阅读专项训练",name:"外语",teacher:"张老师",time:"10:50-11:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"思想品德教育",name:"思品",teacher:"史老师",time:"11:50-14:50",timeFrame:"下午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"户外运动锻炼",name:"体育",teacher:"李老师",time:"14:50-17:55",timeFrame:"下午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"科学学习实验",name:"科学",teacher:"张老师",time:"17:55-20:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"随堂测验",name:"数学",teacher:"李老师",time:"20:50-21:50",timeFrame:"下午第四节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0}],"周六":"","周日":"","周一":[{title:"阅读专项训练",name:"英语",teacher:"张老师",time:"09:00-09:50",timeFrame:"上午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"计算练习",name:"数学",teacher:"李老师",time:"09:50-10:50",timeFrame:"上午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"作文练习",name:"语文",teacher:"王老师",time:"10:50-11:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"思想品德教育",name:"思品",teacher:"史老师",time:"11:50-14:50",timeFrame:"下午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"户外运动锻炼",name:"体育",teacher:"李老师",time:"14:50-17:55",timeFrame:"下午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"科学学习实验",name:"科学",teacher:"张老师",time:"17:55-20:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"随堂测验",name:"数学",teacher:"李老师",time:"20:50-21:50",timeFrame:"下午第四节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0}],"周二":[{title:"文章鉴赏",name:"语文",teacher:"王老师",time:"09:00-09:50",timeFrame:"上午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"计算练习",name:"数学",teacher:"李老师",time:"09:50-10:50",timeFrame:"上午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"阅读专项训练",name:"外语",teacher:"张老师",time:"10:50-11:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"思想品德教育",name:"思品",teacher:"史老师",time:"11:50-14:50",timeFrame:"下午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"户外运动锻炼",name:"体育",teacher:"李老师",time:"14:50-17:55",timeFrame:"下午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"科学学习实验",name:"科学",teacher:"张老师",time:"17:55-20:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"随堂测验",name:"数学",teacher:"李老师",time:"20:50-21:50",timeFrame:"下午第四节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0}],"周三":[{title:"文章鉴赏",name:"语文",teacher:"王老师",time:"09:00-09:50",timeFrame:"上午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"计算练习",name:"数学",teacher:"李老师",time:"09:50-10:50",timeFrame:"上午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"阅读专项训练",name:"外语",teacher:"张老师",time:"10:50-11:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"思想品德教育",name:"思品",teacher:"史老师",time:"11:50-14:50",timeFrame:"下午第一节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg2.mp4",attendance:!0},{title:"户外运动锻炼",name:"体育",teacher:"李老师",time:"14:50-17:55",timeFrame:"下午第二节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0},{title:"科学学习实验",name:"科学",teacher:"张老师",time:"17:55-20:50",timeFrame:"上午第三节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg3.mp4",attendance:!0},{title:"随堂测验",name:"数学",teacher:"李老师",time:"20:50-21:50",timeFrame:"下午第四节",resource:"https://klxxcdn.oss-cn-hangzhou.aliyuncs.com/histudy/hrm/media/bg1.mp4",attendance:!0}]},c={subjectData:o,rankData:a,classData:s};t.default=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(r(34)),o=r(3);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,c,"next",e)}function c(e){s(o,n,i,a,c,"throw",e)}a(void 0)}))}}function u(e){return d(e)||l(e)||p(e)||f()}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function d(e){if(Array.isArray(e))return v(e)}function h(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=p(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function p(e,t){if(e){if("string"===typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function S(e){var t=E();return function(){var r,n=C(e);if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e){var t="function"===typeof Map?new Map:void 0;return P=function(e){if(null===e||!O(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return M(e,arguments,C(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),T(r,e)},P(e)}function M(e,t,r){return M=E()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=Function.bind.apply(e,n),o=new i;return r&&T(o,r.prototype),o},M.apply(null,arguments)}function E(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function O(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(e,t)}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function I(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function j(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e||"undefined"!=typeof self&&self;var B=j((function(e,t){var r;e.exports=(r=r||function(e,t){var r=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),n={},i=n.lib={},o=i.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=r[o>>>2]>>>24-o%4*8&255;t[n+o>>>2]|=a<<24-(n+o)%4*8}else for(o=0;o<i;o+=4)t[n+o>>>2]=r[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r,n=[],i=function(t){t=t;var r=987654321,n=4294967295;return function(){var i=((r=36969*(65535&r)+(r>>16)&n)<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var s=i(4294967296*(r||e.random()));r=987654071*s(),n.push(4294967296*s()|0)}return new a.init(n,t)}}),s=n.enc={},c=s.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%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,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(r,t/2)}},u=s.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(r,t)}},f=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},l=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,s=i/(4*o),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,u=e.min(4*c,i);if(c){for(var f=0;f<c;f+=o)this._doProcessBlock(n,f);var l=n.splice(0,c);r.sigBytes-=u}return new a.init(l,u)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});i.Hasher=l.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){l.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,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new d.HMAC.init(e,r).finalize(t)}}});var d=n.algo={};return n}(Math),r)})),D=(j((function(e,t){var r;e.exports=(r=B,function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],c=e[t+1],h=e[t+2],p=e[t+3],v=e[t+4],g=e[t+5],y=e[t+6],b=e[t+7],m=e[t+8],x=e[t+9],w=e[t+10],_=e[t+11],S=e[t+12],A=e[t+13],k=e[t+14],P=e[t+15],M=o[0],E=o[1],O=o[2],T=o[3];M=u(M,E,O,T,a,7,s[0]),T=u(T,M,E,O,c,12,s[1]),O=u(O,T,M,E,h,17,s[2]),E=u(E,O,T,M,p,22,s[3]),M=u(M,E,O,T,v,7,s[4]),T=u(T,M,E,O,g,12,s[5]),O=u(O,T,M,E,y,17,s[6]),E=u(E,O,T,M,b,22,s[7]),M=u(M,E,O,T,m,7,s[8]),T=u(T,M,E,O,x,12,s[9]),O=u(O,T,M,E,w,17,s[10]),E=u(E,O,T,M,_,22,s[11]),M=u(M,E,O,T,S,7,s[12]),T=u(T,M,E,O,A,12,s[13]),O=u(O,T,M,E,k,17,s[14]),M=f(M,E=u(E,O,T,M,P,22,s[15]),O,T,c,5,s[16]),T=f(T,M,E,O,y,9,s[17]),O=f(O,T,M,E,_,14,s[18]),E=f(E,O,T,M,a,20,s[19]),M=f(M,E,O,T,g,5,s[20]),T=f(T,M,E,O,w,9,s[21]),O=f(O,T,M,E,P,14,s[22]),E=f(E,O,T,M,v,20,s[23]),M=f(M,E,O,T,x,5,s[24]),T=f(T,M,E,O,k,9,s[25]),O=f(O,T,M,E,p,14,s[26]),E=f(E,O,T,M,m,20,s[27]),M=f(M,E,O,T,A,5,s[28]),T=f(T,M,E,O,h,9,s[29]),O=f(O,T,M,E,b,14,s[30]),M=l(M,E=f(E,O,T,M,S,20,s[31]),O,T,g,4,s[32]),T=l(T,M,E,O,m,11,s[33]),O=l(O,T,M,E,_,16,s[34]),E=l(E,O,T,M,k,23,s[35]),M=l(M,E,O,T,c,4,s[36]),T=l(T,M,E,O,v,11,s[37]),O=l(O,T,M,E,b,16,s[38]),E=l(E,O,T,M,w,23,s[39]),M=l(M,E,O,T,A,4,s[40]),T=l(T,M,E,O,a,11,s[41]),O=l(O,T,M,E,p,16,s[42]),E=l(E,O,T,M,y,23,s[43]),M=l(M,E,O,T,x,4,s[44]),T=l(T,M,E,O,S,11,s[45]),O=l(O,T,M,E,P,16,s[46]),M=d(M,E=l(E,O,T,M,h,23,s[47]),O,T,a,6,s[48]),T=d(T,M,E,O,b,10,s[49]),O=d(O,T,M,E,k,15,s[50]),E=d(E,O,T,M,g,21,s[51]),M=d(M,E,O,T,S,6,s[52]),T=d(T,M,E,O,p,10,s[53]),O=d(O,T,M,E,w,15,s[54]),E=d(E,O,T,M,c,21,s[55]),M=d(M,E,O,T,m,6,s[56]),T=d(T,M,E,O,P,10,s[57]),O=d(O,T,M,E,y,15,s[58]),E=d(E,O,T,M,A,21,s[59]),M=d(M,E,O,T,v,6,s[60]),T=d(T,M,E,O,_,10,s[61]),O=d(O,T,M,E,h,15,s[62]),E=d(E,O,T,M,x,21,s[63]),o[0]=o[0]+M|0,o[1]=o[1]+E|0,o[2]=o[2]+O|0,o[3]=o[3]+T|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32;var o=e.floor(n/4294967296),a=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,u=0;u<4;u++){var f=c[u];c[u]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+i+a;return(s<<o|s>>>32-o)+t}function f(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+i+a;return(s<<o|s>>>32-o)+t}function l(e,t,r,n,i,o,a){var s=e+(t^r^n)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+i+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(c),t.HmacMD5=o._createHmacHelper(c)}(Math),r.MD5)})),j((function(e,t){var r,n,i;e.exports=(n=(r=B).lib.Base,i=r.enc.Utf8,void(r.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),s=o.words,c=a.words,u=0;u<r;u++)s[u]^=1549556828,c[u]^=909522486;o.sigBytes=a.sigBytes=n,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,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))})),j((function(e,t){e.exports=B.HmacMD5}))),L="FUNCTION",F="OBJECT",R="CLIENT_DB";function N(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function z(e){return"object"===N(e)}function U(e){return e&&"string"==typeof e?JSON.parse(e):e}var q=!0,$="mp-weixin",H=U(void 0),W=U([]),Q=!0,V="";try{var K=r(564).default||r(564);V=K.appid}catch(dr){}var G={};function X(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=G,r=e,Object.prototype.hasOwnProperty.call(t,r)||(G[e]=n),G[e]}"app-plus"===$&&(G=n._globalUniCloudObj?n._globalUniCloudObj:n._globalUniCloudObj={});var Y=["invoke","success","fail","complete"],J=X("_globalUniCloudInterceptor");function Z(e,t){J[e]||(J[e]={}),z(t)&&Object.keys(t).forEach((function(r){Y.indexOf(r)>-1&&function(e,t,r){var n=J[e][t];n||(n=J[e][t]=[]),-1===n.indexOf(r)&&"function"==typeof r&&n.push(r)}(e,r,t[r])}))}function ee(e,t){J[e]||(J[e]={}),z(t)?Object.keys(t).forEach((function(r){Y.indexOf(r)>-1&&function(e,t,r){var n=J[e][t];if(n){var i=n.indexOf(r);i>-1&&n.splice(i,1)}}(e,r,t[r])})):delete J[e]}function te(e,t){return e&&0!==e.length?e.reduce((function(e,r){return e.then((function(){return r(t)}))}),Promise.resolve()):Promise.resolve()}function re(e,t){return J[e]&&J[e][t]||[]}var ne=X("_globalUniCloudListener"),ie="response",oe="clientdb",ae="cloudfunction",se="cloudobject";function ce(e){return ne[e]||(ne[e]=[]),ne[e]}function ue(e,t){for(var r=ce(e),n=0;n<r.length;n++)(0,r[n])(t)}function fe(e,t){return t?function(r){var n=this,i=!1;if("callFunction"===t){var o=r&&r.type||L;i=o!==L}var a,s="callFunction"===t&&!i;a=this.isReady?Promise.resolve():this.initUniCloud,r=r||{};var c=a.then((function(){return i?Promise.resolve():te(re(t,"invoke"),r)})).then((function(){return e.call(n,r)})).then((function(e){return i?Promise.resolve(e):te(re(t,"success"),e).then((function(){return te(re(t,"complete"),e)})).then((function(){return s&&ue(ie,{type:ae,content:e}),Promise.resolve(e)}))}),(function(e){return i?Promise.reject(e):te(re(t,"fail"),e).then((function(){return te(re(t,"complete"),e)})).then((function(){return ue(ie,{type:ae,content:e}),Promise.reject(e)}))}));if(!(r.success||r.fail||r.complete))return c;c.then((function(e){r.success&&r.success(e),r.complete&&r.complete(e),s&&ue(ie,{type:ae,content:e})}),(function(e){r.fail&&r.fail(e),r.complete&&r.complete(e),s&&ue(ie,{type:ae,content:e})}))}:function(t){if(!((t=t||{}).success||t.fail||t.complete))return e.call(this,t);e.call(this,t).then((function(e){t.success&&t.success(e),t.complete&&t.complete(e)}),(function(e){t.fail&&t.fail(e),t.complete&&t.complete(e)}))}}var le,de=function(e){_(r,e);var t=S(r);function r(e){var n;return w(this,r),n=t.call(this,e.message),n.errMsg=e.message||"",n.errCode=n.code=e.code||"SYSTEM_ERROR",n.requestId=e.requestId,n}return r}(P(Error));function he(){var e;try{if(n.getLaunchOptionsSync){if(n.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var t=n.getLaunchOptionsSync(),r=t.scene,i=t.channel;e=r||i}}catch(e){}return e}function pe(){var e=n.getLocale&&n.getLocale()||"en";if(le)return m(m({},le),{},{locale:e,LOCALE:e});var t=n.getSystemInfoSync(),r=t.deviceId,i=t.platform,o=t.osName,a=t.uniPlatform,s=t.appId;return le=m({PLATFORM:a||$,OS:o||i,APPID:s||V,DEVICEID:r,channel:he()},t),m(m({},le),{},{locale:e,LOCALE:e})}var ve,ge={sign:function(e,t){var r="";return Object.keys(e).sort().forEach((function(t){e[t]&&(r=r+"&"+t+"="+e[t])})),r=r.slice(1),D(r,t).toString()},wrappedRequest:function(e,t){return new Promise((function(r,n){t(Object.assign(e,{complete:function(e){e||(e={}),q&&"h5"===$&&e.errMsg&&0===e.errMsg.indexOf("request:fail")&&console.warn("发布H5,需要在uniCloud后台操作,绑定安全域名,否则会因为跨域问题而无法访问。教程参考:https://uniapp.dcloud.io/uniCloud/quickstart?id=useinh5");var t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400)return n(new de({code:"SYS_ERR",message:e.errMsg||"request:fail",requestId:t}));var i=e.data;if(i.error)return n(new de({code:i.error.code,message:i.error.message,requestId:t}));i.result=i.data,i.requestId=t,delete i.data,r(i)}}))}))}},ye={request:function(e){return n.request(e)},uploadFile:function(e){return n.uploadFile(e)},setStorageSync:function(e,t){return n.setStorageSync(e,t)},getStorageSync:function(e){return n.getStorageSync(e)},removeStorageSync:function(e){return n.removeStorageSync(e)},clearStorageSync:function(){return n.clearStorageSync()}},be={"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},me=(0,o.initVueI18n)({"zh-Hans":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},"zh-Hant":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},en:be,fr:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},es:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},ja:be},"zh-Hans"),xe=me.t,we=function(){function e(t){w(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error(xe("uniCloud.init.paramRequired",{param:e}))})),this.config=Object.assign({},{endpoint:"https://api.bspapp.com"},t),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=ye,this._getAccessTokenPromise=null,this._getAccessTokenPromiseStatus=null}return y(e,[{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"requestWrapped",value:function(e){return ge.wrappedRequest(e,this.adapter.request)}},{key:"requestAuth",value:function(e){return this.requestWrapped(e)}},{key:"request",value:function(e,t){var r=this;return Promise.resolve().then((function(){return r.hasAccessToken?t?r.requestWrapped(e):r.requestWrapped(e).catch((function(t){return new Promise((function(e,r){!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?r(t):e()})).then((function(){return r.getAccessToken()})).then((function(){var t=r.rebuildRequest(e);return r.request(t,!0)}))})):r.getAccessToken().then((function(){var t=r.rebuildRequest(e);return r.request(t,!0)}))}))}},{key:"rebuildRequest",value:function(e){var t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=ge.sign(t.data,this.config.clientSecret),t}},{key:"setupRequest",value:function(e,t){var r=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};return"auth"!==t&&(r.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=ge.sign(r,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:r,dataType:"json",header:n}}},{key:"getAccessToken",value:function(){var e=this;return"pending"===this._getAccessTokenPromiseStatus||(this._getAccessTokenPromiseStatus="pending",this._getAccessTokenPromise=this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(t){return new Promise((function(r,n){t.result&&t.result.accessToken?(e.setAccessToken(t.result.accessToken),e._getAccessTokenPromiseStatus="fulfilled",r(e.accessToken)):(e._getAccessTokenPromiseStatus="rejected",n(new de({code:"AUTH_FAILED",message:"获取accessToken失败"})))}))}),(function(t){return e._getAccessTokenPromiseStatus="rejected",Promise.reject(t)}))),this._getAccessTokenPromise}},{key:"authorize",value:function(){this.getAccessToken()}},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}},{key:"getOSSUploadOptionsFromPath",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFileToOSS",value:function(e){var t=this,r=e.url,n=e.formData,i=e.name,o=e.filePath,a=e.fileType,s=e.onUploadProgress;return new Promise((function(e,c){var u=t.adapter.uploadFile({url:r,formData:n,name:i,filePath:o,fileType:a,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(t){t&&t.statusCode<400?e(t):c(new de({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){c(new de({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&u&&"function"==typeof u.onProgressUpdate&&u.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFile",value:function(e){var t=this,r=e.filePath,n=e.cloudPath,i=e.fileType,o=void 0===i?"image":i,a=e.onUploadProgress,s=e.config;if("string"!==N(n))throw new de({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(n=n.trim()))throw new de({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});if(/:\/\//.test(n))throw new de({code:"INVALID_PARAM",message:"cloudPath不合法"});var c,u,f=s&&s.envType||this.config.envType;return this.getOSSUploadOptionsFromPath({env:f,filename:n}).then((function(e){var n=e.result;c=n.id,u="https://"+n.cdnDomain+"/"+n.ossPath;var i={url:"https://"+n.host,formData:{"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:n.accessKeyId,Signature:n.signature,host:n.host,id:c,key:n.ossPath,policy:n.policy,success_action_status:200},fileName:"file",name:"file",filePath:r,fileType:o};return t.uploadFileToOSS(Object.assign({},i,{onUploadProgress:a}))})).then((function(){return t.reportOSSUpload({id:c})})).then((function(e){return new Promise((function(t,n){e.success?t({success:!0,filePath:r,fileID:u}):n(new de({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,r={method:"serverless.file.resource.delete",params:JSON.stringify({id:t[0]})};return this.request(this.setupRequest(r))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList;return new Promise((function(e,r){Array.isArray(t)&&0!==t.length||r(new de({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),e({fileList:t.map((function(e){return{fileID:e,tempFileURL:e}}))})}))}},{key:"hasAccessToken",get:function(){return!!this.accessToken}}]),e}(),_e={init:function(e){var t=new we(e),r={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return r},t.customAuth=t.auth,t}},Se="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(e){e.local="local",e.none="none",e.session="session"}(ve||(ve={}));var Ae,ke=function(){},Pe=function(){var e;if(!Promise){e=function(){},e.promise={};var t=function(){throw new de({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var r=new Promise((function(t,r){e=function(e,n){return e?r(e):t(n)}}));return e.promise=r,e};function Me(e){return void 0===e}function Ee(e){return"[object Null]"===Object.prototype.toString.call(e)}function Oe(e){var t,r,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?e:[e]),i=h(n);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=o.isMatch,s=o.genAdapter,c=o.runtime;if(a())return{adapter:s(),runtime:c}}}catch(u){i.e(u)}finally{i.f()}}!function(e){e.WEB="web",e.WX_MP="wx_mp"}(Ae||(Ae={}));var Te={adapter:null,runtime:void 0},Ce=["anonymousUuidKey"],Ie=function(e){_(r,e);var t=S(r);function r(){var e;return w(this,r),e=t.call(this),Te.adapter.root.tcbObject||(Te.adapter.root.tcbObject={}),e}return y(r,[{key:"setItem",value:function(e,t){Te.adapter.root.tcbObject[e]=t}},{key:"getItem",value:function(e){return Te.adapter.root.tcbObject[e]}},{key:"removeItem",value:function(e){delete Te.adapter.root.tcbObject[e]}},{key:"clear",value:function(){delete Te.adapter.root.tcbObject}}]),r}(ke);function je(e,t){switch(e){case"local":return t.localStorage||new Ie;case"none":return new Ie;default:return t.sessionStorage||new Ie}}var Be=function(){function e(t){if(w(this,e),!this._storage){this._persistence=Te.adapter.primaryStorage||t.persistence,this._storage=je(this._persistence,Te.adapter);var r="access_token_".concat(t.env),n="access_token_expire_".concat(t.env),i="refresh_token_".concat(t.env),o="anonymous_uuid_".concat(t.env),a="login_type_".concat(t.env),s="user_info_".concat(t.env);this.keys={accessTokenKey:r,accessTokenExpireKey:n,refreshTokenKey:i,anonymousUuidKey:o,loginTypeKey:a,userInfoKey:s}}}return y(e,[{key:"updatePersistence",value:function(e){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var r=je(e,Te.adapter);for(var n in this.keys){var i=this.keys[n];if(!t||!Ce.includes(n)){var o=this._storage.getItem(i);Me(o)||Ee(o)||(r.setItem(i,o),this._storage.removeItem(i))}}this._storage=r}}},{key:"setStore",value:function(e,t,r){if(this._storage){var n={version:r||"localCachev1",content:t},i=JSON.stringify(n);try{this._storage.setItem(e,i)}catch(e){throw e}}}},{key:"getStore",value:function(e,t){try{if(!this._storage)return}catch(e){return""}t=t||"localCachev1";var r=this._storage.getItem(e);return r&&r.indexOf(t)>=0?JSON.parse(r).content:""}},{key:"removeStore",value:function(e){this._storage.removeItem(e)}}]),e}(),De={},Le={};function Fe(e){return De[e]}var Re=function e(t,r){w(this,e),this.data=r||null,this.name=t},Ne=function(e){_(r,e);var t=S(r);function r(e,n){var i;return w(this,r),i=t.call(this,"error",{error:e,data:n}),i.error=e,i}return r}(Re),ze=new(function(){function e(){w(this,e),this._listeners={}}return y(e,[{key:"on",value:function(e,t){return function(e,t,r){r[e]=r[e]||[],r[e].push(t)}(e,t,this._listeners),this}},{key:"off",value:function(e,t){return function(e,t,r){if(r&&r[e]){var n=r[e].indexOf(t);-1!==n&&r[e].splice(n,1)}}(e,t,this._listeners),this}},{key:"fire",value:function(e,t){if(e instanceof Ne)return console.error(e.error),this;var r="string"==typeof e?new Re(e,t||{}):e,n=r.name;if(this._listens(n)){r.target=this;var i,o=this._listeners[n]?u(this._listeners[n]):[],a=h(o);try{for(a.s();!(i=a.n()).done;){var s=i.value;s.call(this,r)}}catch(c){a.e(c)}finally{a.f()}}return this}},{key:"_listens",value:function(e){return this._listeners[e]&&this._listeners[e].length>0}}]),e}());function Ue(e,t){ze.on(e,t)}function qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ze.fire(e,t)}function $e(e,t){ze.off(e,t)}var He,We="loginStateChanged",Qe="loginStateExpire",Ve="loginTypeChanged",Ke="anonymousConverted",Ge="refreshAccessToken";!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(He||(He={}));var Xe=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],Ye={"X-SDK-Version":"1.3.5"};function Je(e,t,r){var n=e[t];e[t]=function(t){var i={},o={};r.forEach((function(r){var n=r.call(e,t),a=n.data,s=n.headers;Object.assign(i,a),Object.assign(o,s)}));var a=t.data;return a&&function(){var e;if(e=a,"[object FormData]"!==Object.prototype.toString.call(e))t.data=m(m({},a),i);else for(var r in i)a.append(r,i[r])}(),t.headers=m(m({},t.headers||{}),o),n.call(e,t)}}function Ze(){var e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:m(m({},Ye),{},{"x-seqid":e})}}var et=function(){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};w(this,e),this.config=r,this._reqClass=new Te.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]}),this._cache=Fe(this.config.env),this._localCache=(t=this.config.env,Le[t]),Je(this._reqClass,"post",[Ze]),Je(this._reqClass,"upload",[Ze]),Je(this._reqClass,"download",[Ze])}return y(e,[{key:"post",value:function(){var e=c(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.post(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"upload",value:function(){var e=c(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.upload(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"download",value:function(){var e=c(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.download(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"refreshAccessToken",value:function(){var e=c(i.default.mark((function e(){var t,r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),e.prev=1,e.next=4,this._refreshAccessTokenPromise;case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),r=e.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!r){e.next=12;break}throw r;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"_refreshAccessToken",value:function(){var e=c(i.default.mark((function e(){var t,r,n,o,a,s,c,u,f,l,d,h,p;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,o=t.refreshTokenKey,a=t.loginTypeKey,s=t.anonymousUuidKey,this._cache.removeStore(r),this._cache.removeStore(n),c=this._cache.getStore(o),c){e.next=5;break}throw new de({message:"未登录CloudBase"});case 5:return u={refresh_token:c},e.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",u);case 8:if(f=e.sent,!f.data.code){e.next=21;break}if(l=f.data.code,"SIGN_PARAM_INVALID"!==l&&"REFRESH_TOKEN_EXPIRED"!==l&&"INVALID_REFRESH_TOKEN"!==l){e.next=20;break}if(this._cache.getStore(a)!==He.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==l){e.next=19;break}return d=this._cache.getStore(s),h=this._cache.getStore(o),e.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:d,refresh_token:h});case 17:return p=e.sent,e.abrupt("return",(this.setRefreshToken(p.refresh_token),this._refreshAccessToken()));case 19:qe(Qe),this._cache.removeStore(o);case 20:throw new de({code:f.data.code,message:"刷新access token失败:".concat(f.data.code)});case 21:if(!f.data.access_token){e.next=23;break}return e.abrupt("return",(qe(Ge),this._cache.setStore(r,f.data.access_token),this._cache.setStore(n,f.data.access_token_expire+Date.now()),{accessToken:f.data.access_token,accessTokenExpire:f.data.access_token_expire}));case 23:f.data.refresh_token&&(this._cache.removeStore(o),this._cache.setStore(o,f.data.refresh_token),this._refreshAccessToken());case 24:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getAccessToken",value:function(){var e=c(i.default.mark((function e(){var t,r,n,o,a,s,c;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,o=t.refreshTokenKey,this._cache.getStore(o)){e.next=3;break}throw new de({message:"refresh token不存在,登录状态异常"});case 3:if(a=this._cache.getStore(r),s=this._cache.getStore(n),c=!0,e.t0=this._shouldRefreshAccessTokenHook,!e.t0){e.next=9;break}return e.next=8,this._shouldRefreshAccessTokenHook(a,s);case 8:e.t0=!e.sent;case 9:if(e.t1=e.t0,!e.t1){e.next=12;break}c=!1;case 12:return e.abrupt("return",(!a||!s||s<Date.now())&&c?this.refreshAccessToken():{accessToken:a,accessTokenExpire:s});case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"request",value:function(){var e=c(i.default.mark((function e(t,r,n){var o,a,s,c,u,f,l,d,h,p,v,g,y,b,x,w;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o="x-tcb-trace_".concat(this.config.env),a="application/x-www-form-urlencoded",s=m({action:t,env:this.config.env,dataVersion:"2019-08-16"},r),-1!==Xe.indexOf(t)){e.next=10;break}if(c=this._cache.keys.refreshTokenKey,e.t0=this._cache.getStore(c),!e.t0){e.next=10;break}return e.next=9,this.getAccessToken();case 9:s.access_token=e.sent.accessToken;case 10:if("storage.uploadFile"===t){for(f in u=new FormData,u)u.hasOwnProperty(f)&&void 0!==u[f]&&u.append(f,s[f]);a="multipart/form-data"}else for(l in a="application/json",u={},s)void 0!==s[l]&&(u[l]=s[l]);return d={headers:{"content-type":a}},n&&n.onUploadProgress&&(d.onUploadProgress=n.onUploadProgress),h=this._localCache.getStore(o),h&&(d.headers["X-TCB-Trace"]=h),p=r.parse,v=r.inQuery,g=r.search,y={env:this.config.env},p&&(y.parse=!0),v&&(y=m(m({},v),y)),b=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=/\?/.test(t),i="";for(var o in r)""===i?!n&&(t+="?"):i+="&",i+="".concat(o,"=").concat(encodeURIComponent(r[o]));return/^http(s)?\:\/\//.test(t+=i)?t:"".concat(e).concat(t)}(Se,"//tcb-api.tencentcloudapi.com/web",y),g&&(b+=g),e.next=22,this.post(m({url:b,data:u},d));case 22:if(x=e.sent,w=x.header&&x.header["x-tcb-trace"],w&&this._localCache.setStore(o,w),(200===Number(x.status)||200===Number(x.statusCode))&&x.data){e.next=26;break}throw new de({code:"NETWORK_ERROR",message:"network request error"});case 26:return e.abrupt("return",x);case 27:case"end":return e.stop()}}),e,this)})));function t(t,r,n){return e.apply(this,arguments)}return t}()},{key:"send",value:function(){var e=c(i.default.mark((function e(t){var r,n,o,a=arguments;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},e.next=3,this.request(t,r,{onUploadProgress:r.onUploadProgress});case 3:if(n=e.sent,"ACCESS_TOKEN_EXPIRED"!==n.data.code||-1!==Xe.indexOf(t)){e.next=13;break}return e.next=7,this.refreshAccessToken();case 7:return e.next=9,this.request(t,r,{onUploadProgress:r.onUploadProgress});case 9:if(o=e.sent,!o.data.code){e.next=12;break}throw new de({code:o.data.code,message:o.data.message});case 12:return e.abrupt("return",o.data);case 13:if(!n.data.code){e.next=15;break}throw new de({code:n.data.code,message:n.data.message});case 15:return e.abrupt("return",n.data);case 16:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"setRefreshToken",value:function(e){var t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(r),this._cache.removeStore(n),this._cache.setStore(i,e)}}]),e}(),tt={};function rt(e){return tt[e]}var nt=function(){function e(t){w(this,e),this.config=t,this._cache=Fe(t.env),this._request=rt(t.env)}return y(e,[{key:"setRefreshToken",value:function(e){var t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(r),this._cache.removeStore(n),this._cache.setStore(i,e)}},{key:"setAccessToken",value:function(e,t){var r=this._cache.keys,n=r.accessTokenKey,i=r.accessTokenExpireKey;this._cache.setStore(n,e),this._cache.setStore(i,t)}},{key:"refreshUserInfo",value:function(){var e=c(i.default.mark((function e(){var t,r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,r=t.data,e.abrupt("return",(this.setLocalUserInfo(r),r));case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e)}}]),e}(),it=function(){function e(t){if(w(this,e),!t)throw new de({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=Fe(this._envId),this._request=rt(this._envId),this.setUserInfo()}return y(e,[{key:"linkWithTicket",value:function(e){if("string"!=typeof e)throw new de({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}},{key:"linkWithRedirect",value:function(e){e.signInWithRedirect()}},{key:"updatePassword",value:function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}},{key:"updateEmail",value:function(e){return this._request.send("auth.updateEmail",{newEmail:e})}},{key:"updateUsername",value:function(e){if("string"!=typeof e)throw new de({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}},{key:"getLinkedUidList",value:function(){var e=c(i.default.mark((function e(){var t,r,n,o;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return t=e.sent,r=t.data,n=!1,o=r.users,e.abrupt("return",(o.forEach((function(e){e.wxOpenId&&e.wxPublicId&&(n=!0)})),{users:o,hasPrimaryUid:n}));case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setPrimaryUid",value:function(e){return this._request.send("auth.setPrimaryUid",{uid:e})}},{key:"unlink",value:function(e){return this._request.send("auth.unlink",{platform:e})}},{key:"update",value:function(){var e=c(i.default.mark((function e(t){var r,n,o,a,s,c,u,f;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.nickName,n=t.gender,o=t.avatarUrl,a=t.province,s=t.country,c=t.city,e.next=8,this._request.send("auth.updateUserInfo",{nickName:r,gender:n,avatarUrl:o,province:a,country:s,city:c});case 8:u=e.sent,f=u.data,this.setLocalUserInfo(f);case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"refresh",value:function(){var e=c(i.default.mark((function e(){var t,r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,r=t.data,e.abrupt("return",(this.setLocalUserInfo(r),r));case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setUserInfo",value:function(){var e=this,t=this._cache.keys.userInfoKey,r=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(t){e[t]=r[t]})),this.location={country:r.country,province:r.province,city:r.city}}},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this.setUserInfo()}}]),e}(),ot=function(){function e(t){if(w(this,e),!t)throw new de({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Fe(t);var r=this._cache.keys,n=r.refreshTokenKey,i=r.accessTokenKey,o=r.accessTokenExpireKey,a=this._cache.getStore(n),s=this._cache.getStore(i),c=this._cache.getStore(o);this.credential={refreshToken:a,accessToken:s,accessTokenExpire:c},this.user=new it(t)}return y(e,[{key:"isAnonymousAuth",get:function(){return this.loginType===He.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===He.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===He.WECHAT||this.loginType===He.WECHAT_OPEN||this.loginType===He.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),at=function(e){_(r,e);var t=S(r);function r(){return w(this,r),t.apply(this,arguments)}return y(r,[{key:"signIn",value:function(){var e=c(i.default.mark((function e(){var t,r,n,o,a,s,c;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._cache.updatePersistence("local"),t=this._cache.keys,r=t.anonymousUuidKey,n=t.refreshTokenKey,o=this._cache.getStore(r)||void 0,a=this._cache.getStore(n)||void 0,e.next=8,this._request.send("auth.signInAnonymously",{anonymous_uuid:o,refresh_token:a});case 8:if(s=e.sent,!s.uuid||!s.refresh_token){e.next=20;break}return this._setAnonymousUUID(s.uuid),this.setRefreshToken(s.refresh_token),e.next=14,this._request.refreshAccessToken();case 14:return qe(We),qe(Ve,{env:this.config.env,loginType:He.ANONYMOUS,persistence:"local"}),c=new ot(this.config.env),e.next=19,c.user.refresh();case 19:return e.abrupt("return",c);case 20:throw new de({message:"匿名登录失败"});case 21:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=c(i.default.mark((function e(t){var r,n,o,a,s,c;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=this._cache.keys,n=r.anonymousUuidKey,o=r.refreshTokenKey,a=this._cache.getStore(n),s=this._cache.getStore(o),e.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:a,refresh_token:s,ticket:t});case 7:if(c=e.sent,!c.refresh_token){e.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(c.refresh_token),e.next=13,this._request.refreshAccessToken();case 13:return qe(Ke,{env:this.config.env}),qe(Ve,{loginType:He.CUSTOM,persistence:"local"}),e.abrupt("return",{credential:{refreshToken:c.refresh_token}});case 16:throw new de({message:"匿名转化失败"});case 17:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"_setAnonymousUUID",value:function(e){var t=this._cache.keys,r=t.anonymousUuidKey,n=t.loginTypeKey;this._cache.removeStore(r),this._cache.setStore(r,e),this._cache.setStore(n,He.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),r}(nt),st=function(e){_(r,e);var t=S(r);function r(){return w(this,r),t.apply(this,arguments)}return y(r,[{key:"signIn",value:function(){var e=c(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new de({param:"PARAM_ERROR",message:"ticket must be a string"});case 2:return r=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(r)||""});case 5:if(n=e.sent,!n.refresh_token){e.next=15;break}return this.setRefreshToken(n.refresh_token),e.next=10,this._request.refreshAccessToken();case 10:return qe(We),qe(Ve,{env:this.config.env,loginType:He.CUSTOM,persistence:this.config.persistence}),e.next=14,this.refreshUserInfo();case 14:return e.abrupt("return",new ot(this.config.env));case 15:throw new de({message:"自定义登录失败"});case 16:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}]),r}(nt),ct=function(e){_(r,e);var t=S(r);function r(){return w(this,r),t.apply(this,arguments)}return y(r,[{key:"signIn",value:function(){var e=c(i.default.mark((function e(t,r){var n,o,a,s,c;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new de({code:"PARAM_ERROR",message:"email must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:r,refresh_token:this._cache.getStore(n)||""});case 5:if(o=e.sent,a=o.refresh_token,s=o.access_token,c=o.access_token_expire,!a){e.next=22;break}if(this.setRefreshToken(a),!s||!c){e.next=15;break}this.setAccessToken(s,c),e.next=17;break;case 15:return e.next=17,this._request.refreshAccessToken();case 17:return e.next=19,this.refreshUserInfo();case 19:return qe(We),qe(Ve,{env:this.config.env,loginType:He.EMAIL,persistence:this.config.persistence}),e.abrupt("return",new ot(this.config.env));case 22:throw o.code?new de({code:o.code,message:"邮箱登录失败: ".concat(o.message)}):new de({message:"邮箱登录失败"});case 23:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"activate",value:function(){var e=c(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.activateEndUserMail",{token:t}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"resetPasswordWithToken",value:function(){var e=c(i.default.mark((function e(t,r){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:r}));case 1:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()}]),r}(nt),ut=function(e){_(r,e);var t=S(r);function r(){return w(this,r),t.apply(this,arguments)}return y(r,[{key:"signIn",value:function(){var e=c(i.default.mark((function e(t,r){var n,o,a,s,c;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new de({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof r&&(r="",console.warn("password is empty")),n=this._cache.keys.refreshTokenKey,e.next=6,this._request.send("auth.signIn",{loginType:He.USERNAME,username:t,password:r,refresh_token:this._cache.getStore(n)||""});case 6:if(o=e.sent,a=o.refresh_token,s=o.access_token_expire,c=o.access_token,!a){e.next=23;break}if(this.setRefreshToken(a),!c||!s){e.next=16;break}this.setAccessToken(c,s),e.next=18;break;case 16:return e.next=18,this._request.refreshAccessToken();case 18:return e.next=20,this.refreshUserInfo();case 20:return qe(We),qe(Ve,{env:this.config.env,loginType:He.USERNAME,persistence:this.config.persistence}),e.abrupt("return",new ot(this.config.env));case 23:throw o.code?new de({code:o.code,message:"用户名密码登录失败: ".concat(o.message)}):new de({message:"用户名密码登录失败"});case 24:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()}]),r}(nt),ft=function(){function e(t){w(this,e),this.config=t,this._cache=Fe(t.env),this._request=rt(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Ue(Ve,this._onLoginTypeChanged)}return y(e,[{key:"anonymousAuthProvider",value:function(){return new at(this.config)}},{key:"customAuthProvider",value:function(){return new st(this.config)}},{key:"emailAuthProvider",value:function(){return new ct(this.config)}},{key:"usernameAuthProvider",value:function(){return new ut(this.config)}},{key:"signInAnonymously",value:function(){var e=c(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new at(this.config).signIn());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"signInWithEmailAndPassword",value:function(){var e=c(i.default.mark((function e(t,r){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new ct(this.config).signIn(t,r));case 1:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"signInWithUsernameAndPassword",value:function(e,t){return new ut(this.config).signIn(e,t)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=c(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new at(this.config)),Ue(Ke,this._onAnonymousConverted),e.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"signOut",value:function(){var e=c(i.default.mark((function e(){var t,r,n,o,a,s;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loginType!==He.ANONYMOUS){e.next=2;break}throw new de({message:"匿名用户不支持登出操作"});case 2:if(t=this._cache.keys,r=t.refreshTokenKey,n=t.accessTokenKey,o=t.accessTokenExpireKey,a=this._cache.getStore(r),a){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,this._request.send("auth.logout",{refresh_token:a});case 7:return s=e.sent,e.abrupt("return",(this._cache.removeStore(r),this._cache.removeStore(n),this._cache.removeStore(o),qe(We),qe(Ve,{env:this.config.env,loginType:He.NULL,persistence:this.config.persistence}),s));case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"signUpWithEmailAndPassword",value:function(){var e=c(i.default.mark((function e(t,r){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:r}));case 1:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"sendPasswordResetEmail",value:function(){var e=c(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:t}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"onLoginStateChanged",value:function(e){var t=this;Ue(We,(function(){var r=t.hasLoginState();e.call(t,r)}));var r=this.hasLoginState();e.call(this,r)}},{key:"onLoginStateExpired",value:function(e){Ue(Qe,e.bind(this))}},{key:"onAccessTokenRefreshed",value:function(e){Ue(Ge,e.bind(this))}},{key:"onAnonymousConverted",value:function(e){Ue(Ke,e.bind(this))}},{key:"onLoginTypeChanged",value:function(e){var t=this;Ue(Ve,(function(){var r=t.hasLoginState();e.call(t,r)}))}},{key:"getAccessToken",value:function(){var e=c(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.getAccessToken();case 2:return e.t0=e.sent.accessToken,e.t1=this.config.env,e.abrupt("return",{accessToken:e.t0,env:e.t1});case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"hasLoginState",value:function(){var e=this._cache.keys.refreshTokenKey;return this._cache.getStore(e)?new ot(this.config.env):null}},{key:"isUsernameRegistered",value:function(){var e=c(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new de({code:"PARAM_ERROR",message:"username must be a string"});case 2:return e.next=4,this._request.send("auth.isUsernameRegistered",{username:t});case 4:return r=e.sent,n=r.data,e.abrupt("return",n&&n.isRegistered);case 7:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var e=c(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new st(this.config).signIn(t));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"shouldRefreshAccessToken",value:function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(e){return e.code?e:m(m({},e.data),{},{requestId:e.seqId})}))}},{key:"getAuthHeader",value:function(){var e=this._cache.keys,t=e.refreshTokenKey,r=e.accessTokenKey,n=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(r)+"/@@/"+n}}},{key:"_onAnonymousConverted",value:function(e){var t=e.data.env;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(e){var t=e.data,r=t.loginType,n=t.persistence,i=t.env;i===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,r))}},{key:"currentUser",get:function(){var e=this.hasLoginState();return e&&e.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),lt=function(e,t){t=t||Pe();var r=rt(this.config.env),n=e.cloudPath,i=e.filePath,o=e.onUploadProgress,a=e.fileType,s=void 0===a?"image":a;return r.send("storage.getUploadMetadata",{path:n}).then((function(e){var a=e.data,c=a.url,u=a.authorization,f=a.token,l=a.fileId,d=a.cosFileId,h=e.requestId,p={key:n,signature:u,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":f};r.upload({url:c,data:p,file:i,name:n,fileType:s,onUploadProgress:o}).then((function(e){201===e.statusCode?t(null,{fileID:l,requestId:h}):t(new de({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(e.data)}))})).catch((function(e){t(e)}))})).catch((function(e){t(e)})),t.promise},dt=function(e,t){t=t||Pe();var r=rt(this.config.env),n=e.cloudPath;return r.send("storage.getUploadMetadata",{path:n}).then((function(e){t(null,e)})).catch((function(e){t(e)})),t.promise},ht=function(e,t){var r=e.fileList;if(t=t||Pe(),!r||!Array.isArray(r))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};var n,i=h(r);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(!o||"string"!=typeof o)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"}}}catch(s){i.e(s)}finally{i.f()}var a={fileid_list:r};return rt(this.config.env).send("storage.batchDeleteFile",a).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},pt=function(e,t){var r=e.fileList;t=t||Pe(),r&&Array.isArray(r)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});var n,i=[],o=h(r);try{for(o.s();!(n=o.n()).done;){var a=n.value;"object"==typeof a?(a.hasOwnProperty("fileID")&&a.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),i.push({fileid:a.fileID,max_age:a.maxAge})):"string"==typeof a?i.push({fileid:a}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"})}}catch(c){o.e(c)}finally{o.f()}var s={file_list:i};return rt(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},vt=function(){var e=c(i.default.mark((function e(t,r){var n,o,a,s;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.fileID,e.next=3,pt.call(this,{fileList:[{fileID:n,maxAge:600}]});case 3:if(o=e.sent.fileList[0],"SUCCESS"===o.code){e.next=6;break}return e.abrupt("return",r?r(o):new Promise((function(e){e(o)})));case 6:if(a=rt(this.config.env),s=o.download_url,s=encodeURI(s),r){e.next=10;break}return e.abrupt("return",a.download({url:s}));case 10:return e.t0=r,e.next=13,a.download({url:s});case 13:e.t1=e.sent,(0,e.t0)(e.t1);case 15:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),gt=function(e,t){var r,n=e.name,i=e.data,o=e.query,a=e.parse,s=e.search,c=t||Pe();try{r=i?JSON.stringify(i):""}catch(n){return Promise.reject(n)}if(!n)return Promise.reject(new de({code:"PARAM_ERROR",message:"函数名不能为空"}));var u={inQuery:o,parse:a,search:s,function_name:n,request_data:r};return rt(this.config.env).send("functions.invokeFunction",u).then((function(e){if(e.code)c(null,e);else{var t=e.data.response_data;if(a)c(null,{result:t,requestId:e.requestId});else try{t=JSON.parse(e.data.response_data),c(null,{result:t,requestId:e.requestId})}catch(e){c(new de({message:"response data must be json"}))}}return c.promise})).catch((function(e){c(e)})),c.promise},yt={timeout:15e3,persistence:"session"},bt={},mt=function(){function e(t){w(this,e),this.config=t||this.config,this.authObj=void 0}return y(e,[{key:"init",value:function(t){switch(Te.adapter||(this.requestClient=new Te.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"请求在".concat((t.timeout||5e3)/1e3,"s内未完成,已中断")})),this.config=m(m({},yt),t),!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new e(this.config)}},{key:"auth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.persistence;if(this.authObj)return this.authObj;var r,n=t||Te.adapter.primaryStorage||yt.persistence;return n!==this.config.persistence&&(this.config.persistence=n),function(e){var t=e.env;De[t]=new Be(e),Le[t]=new Be(m(m({},e),{},{persistence:"local"}))}(this.config),r=this.config,tt[r.env]=new et(r),this.authObj=new ft(this.config),this.authObj}},{key:"on",value:function(e,t){return Ue.apply(this,[e,t])}},{key:"off",value:function(e,t){return $e.apply(this,[e,t])}},{key:"callFunction",value:function(e,t){return gt.apply(this,[e,t])}},{key:"deleteFile",value:function(e,t){return ht.apply(this,[e,t])}},{key:"getTempFileURL",value:function(e,t){return pt.apply(this,[e,t])}},{key:"downloadFile",value:function(e,t){return vt.apply(this,[e,t])}},{key:"uploadFile",value:function(e,t){return lt.apply(this,[e,t])}},{key:"getUploadMetadata",value:function(e,t){return dt.apply(this,[e,t])}},{key:"registerExtension",value:function(e){bt[e.name]=e}},{key:"invokeExtension",value:function(){var e=c(i.default.mark((function e(t,r){var n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=bt[t],n){e.next=3;break}throw new de({message:"扩展".concat(t," 必须先注册")});case 3:return e.next=5,n.invoke(r,this);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"useAdapters",value:function(e){var t=Oe(e)||{},r=t.adapter,n=t.runtime;r&&(Te.adapter=r),n&&(Te.runtime=n)}}]),e}(),xt=new mt;function wt(e,t,r){void 0===r&&(r={});var n=/\?/.test(t),i="";for(var o in r)""===i?!n&&(t+="?"):i+="&",i+=o+"="+encodeURIComponent(r[o]);return/^http(s)?:\/\//.test(t+=i)?t:""+e+t}var _t=function(){function e(){w(this,e)}return y(e,[{key:"post",value:function(e){var t=e.url,r=e.data,n=e.headers;return new Promise((function(e,i){ye.request({url:wt("https:",t),data:r,method:"POST",header:n,success:function(t){e(t)},fail:function(e){i(e)}})}))}},{key:"upload",value:function(e){return new Promise((function(t,r){var n=e.url,i=e.file,o=e.data,a=e.headers,s=e.fileType,c=ye.uploadFile({url:wt("https:",n),name:"file",formData:Object.assign({},o),filePath:i,fileType:s,header:a,success:function(e){var r={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&o.success_action_status&&(r.statusCode=parseInt(o.success_action_status,10)),t(r)},fail:function(e){q&&"mp-alipay"===$&&console.warn("支付宝小程序开发工具上传腾讯云时无法准确判断是否上传成功,请使用真机测试"),r(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(t){e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}]),e}(),St={setItem:function(e,t){ye.setStorageSync(e,t)},getItem:function(e){return ye.getStorageSync(e)},removeItem:function(e){ye.removeStorageSync(e)},clear:function(){ye.clearStorageSync()}},At={genAdapter:function(){return{root:{},reqClass:_t,localStorage:St,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};xt.useAdapters(At);var kt=xt,Pt=kt.init;kt.init=function(e){e.env=e.spaceId;var t=Pt.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;var r=t.auth;return t.auth=function(e){var t=r.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(e){t[e]=fe(t[e]).bind(t)})),t},t.customAuth=t.auth,t};var Mt=kt;function Et(){return{token:ye.getStorageSync("uni_id_token")||ye.getStorageSync("uniIdToken"),tokenExpired:ye.getStorageSync("uni_id_token_expired")}}function Ot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.token,r=e.tokenExpired;t&&ye.setStorageSync("uni_id_token",t),r&&ye.setStorageSync("uni_id_token_expired",r)}function Tt(){q&&"h5"===$&&n.getStorageSync("__LAST_DCLOUD_APPID")!==V&&(n.setStorageSync("__LAST_DCLOUD_APPID",V),console.warn("检测到当前项目与上次运行到此端口的项目不一致,自动清理uni-id保存的token信息(仅开发调试时生效)"),ye.removeStorageSync("uni_id_token"),ye.removeStorageSync("uniIdToken"),ye.removeStorageSync("uni_id_token_expired"))}var Ct=function(e){_(r,e);var t=S(r);function r(){return w(this,r),t.apply(this,arguments)}return y(r,[{key:"getAccessToken",value:function(){var e=this;return new Promise((function(t,r){var n="Anonymous_Access_token";e.setAccessToken(n),t(n)}))}},{key:"setupRequest",value:function(e,t){var r=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};"auth"!==t&&(r.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=ge.sign(r,this.config.clientSecret);var i=pe();n["x-client-info"]=JSON.stringify(i);var o=Et(),a=o.token;return n["x-client-token"]=a,{url:this.config.requestUrl,method:"POST",data:r,dataType:"json",header:JSON.parse(JSON.stringify(n))}}},{key:"uploadFileToOSS",value:function(e){var t=this,r=e.url,n=e.formData,i=e.name,o=e.filePath,a=e.fileType,s=e.onUploadProgress;return new Promise((function(e,c){var u=t.adapter.uploadFile({url:r,formData:n,name:i,filePath:o,fileType:a,success:function(t){t&&t.statusCode<400?e(t):c(new de({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){c(new de({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&u&&"function"==typeof u.onProgressUpdate&&u.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(e){var t,r=this,n=e.filePath,i=e.cloudPath,o=e.fileType,a=void 0===o?"image":o,s=e.onUploadProgress;if(!i)throw new de({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});return this.getOSSUploadOptionsFromPath({cloudPath:i}).then((function(e){var i=e.result,o=i.url,c=i.formData,u=i.name;t=e.result.fileUrl;var f={url:o,formData:c,name:u,filePath:n,fileType:a};return r.uploadFileToOSS(Object.assign({},f,{onUploadProgress:s}))})).then((function(){return r.reportOSSUpload({cloudPath:i})})).then((function(e){return new Promise((function(r,i){e.success?r({success:!0,filePath:n,fileID:t}):i(new de({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,r={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:t})};return this.request(this.setupRequest(r))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList,r={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:t})};return this.request(this.setupRequest(r))}}]),r}(we),It={init:function(e){var t=new Ct(e),r={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return r},t.customAuth=t.auth,t}};function jt(e){var t,r=e.data;t=pe();var n=JSON.parse(JSON.stringify(r||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){var i=Et(),o=i.token;o&&(n.uniIdToken=o)}return n}function Bt(e){var t=this,r=e.name,n=e.data,i=this.localAddress,o=this.localPort,a={aliyun:"aliyun",tencent:"tcb"}[this.config.provider],s=this.config.spaceId,c="http://".concat(i,":").concat(o,"/system/check-function"),u="http://".concat(i,":").concat(o,"/cloudfunctions/").concat(r);return new Promise((function(e,t){ye.request({method:"POST",url:c,data:{name:r,platform:$,provider:a,spaceId:s},timeout:3e3,success:function(t){e(t)},fail:function(){e({data:{code:"NETWORK_ERROR",message:"连接本地调试服务失败,请检查客户端是否和主机在同一局域网下,自动切换为已部署的云函数。"}})}})})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data,r=t||{},n=r.code,i=r.message;return{code:0===n?0:n||"SYS_ERR",message:i||"SYS_ERR"}})).then((function(e){var i=e.code,o=e.message;if(0!==i){switch(i){case"MODULE_ENCRYPTED":console.error("此云函数(".concat(r,")依赖加密公共模块不可本地调试,自动切换为云端已部署的云函数"));break;case"FUNCTION_ENCRYPTED":console.error("此云函数(".concat(r,")已加密不可本地调试,自动切换为云端已部署的云函数"));break;case"ACTION_ENCRYPTED":console.error(o||"需要访问加密的uni-clientDB-action,自动切换为云端环境");break;case"NETWORK_ERROR":var s="连接本地调试服务失败,请检查客户端是否和主机在同一局域网下";throw console.error(s),new Error(s);case"SWITCH_TO_CLOUD":break;default:var c="检测本地调试服务出现错误:".concat(o,",请检查网络环境或重启客户端再试");throw console.error(c),new Error(c)}return t._originCallFunction({name:r,data:n})}return new Promise((function(e,r){var i=jt.call(t,{data:n});ye.request({method:"POST",url:u,data:{provider:a,platform:$,param:i},success:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.statusCode,i=t.data;return!n||n>=400?r(new de({code:i.code||"SYS_ERR",message:i.message||"request:fail"})):e({result:i})},fail:function(e){r(new de({code:e.code||e.errCode||"SYS_ERR",message:e.message||e.errMsg||"request:fail"}))}})}))}))}var Dt=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}],Lt=/[\\^$.*+?()[\]{}|]/g,Ft=RegExp(Lt.source);function Rt(e,t,r){return e.replace(new RegExp((n=t)&&Ft.test(n)?n.replace(Lt,"\\$&"):n,"g"),r);var n}function Nt(e){var t=e.functionName,r=e.result,n=e.logPvd;if(this.config.useDebugFunction&&r&&r.requestId){var i=JSON.stringify({spaceId:this.config.spaceId,functionName:t,requestId:r.requestId});console.log("[".concat(n,"-request]").concat(i,"[/").concat(n,"-request]"))}}function zt(e){var t=e.callFunction,r=function(r){var n=this,i=r.name;r.data=jt.call(e,{data:r.data});var o={aliyun:"aliyun",tencent:"tcb",tcb:"tcb"}[this.config.provider];return t.call(this,r).then((function(e){return e.errCode=0,Nt.call(n,{functionName:i,result:e,logPvd:o}),Promise.resolve(e)}),(function(e){return Nt.call(n,{functionName:i,result:e,logPvd:o}),e&&e.message&&(e.message=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,r=void 0===t?"":t,n=e.extraInfo,i=void 0===n?{}:n,o=e.formatter,a=void 0===o?[]:o,s=0;s<a.length;s++){var c=a[s],u=c.rule,f=c.content,l=c.mode,d=r.match(u);if(d){for(var h=f,p=1;p<d.length;p++)h=Rt(h,"{$".concat(p,"}"),d[p]);for(var v in i)h=Rt(h,"{".concat(v,"}"),i[v]);return"replace"===l?h:r+h}}return r}({message:"[".concat(r.name,"]: ").concat(e.message),formatter:Dt,extraInfo:{functionName:i}})),Promise.reject(e)}))};e.callFunction=function(t){var n;return q&&e.debugInfo&&!e.debugInfo.forceRemote&&W?(e._originCallFunction||(e._originCallFunction=r),n=Bt.call(this,t)):n=r.call(this,t),Object.defineProperty(n,"result",{get:function(){return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),n}}var Ut=Symbol("CLIENT_DB_INTERNAL");function qt(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=Ut,e.__ob__=void 0,new Proxy(e,{get:function(e,r,n){if("_uniClient"===r)return null;if(r in e||"string"!=typeof r){var i=e[r];return"function"==typeof i?i.bind(e):i}return t.get(e,r,n)}})}function $t(e){return{on:function(t,r){e[t]=e[t]||[],e[t].indexOf(r)>-1||e[t].push(r)},off:function(t,r){e[t]=e[t]||[];var n=e[t].indexOf(r);-1!==n&&e[t].splice(n,1)}}}var Ht=["db.Geo","db.command","command.aggregate"];function Wt(e,t){return Ht.indexOf("".concat(e,".").concat(t))>-1}function Qt(e){switch(N(e)){case"array":return e.map((function(e){return Qt(e)}));case"object":return e._internalType===Ut||Object.keys(e).forEach((function(t){e[t]=Qt(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}var Vt=function(){function e(t,r,n){w(this,e),this.content=t,this.prevStage=r||null,this.udb=null,this._database=n}return y(e,[{key:"toJSON",value:function(){for(var e=this,t=[e.content];e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((function(e){return{$method:e.$method,$param:Qt(e.$param)}}))}}},{key:"getAction",value:function(){var e=this.toJSON().$db.find((function(e){return"action"===e.$method}));return e&&e.$param&&e.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(e){return"action"!==e.$method}))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",value:function(){return this._send("add",Array.from(arguments))}},{key:"remove",value:function(){return this._send("remove",Array.from(arguments))}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",value:function(){throw new Error("clientDB禁止使用set方法")}},{key:"_send",value:function(e,t){var r=this.getAction(),n=this.getCommand();if(n.$db.push({$method:e,$param:Qt(t)}),q){var i=n.$db.find((function(e){return"collection"===e.$method})),o=i&&i.$param;o&&1===o.length&&"string"==typeof i.$param[0]&&i.$param[0].indexOf(",")>-1&&console.warn("检测到使用JQL语法联表查询时,未使用getTemp先过滤主表数据,在主表数据量大的情况下可能会查询缓慢。\n- 如何优化请参考此文档:https://uniapp.dcloud.net.cn/uniCloud/jql?id=lookup-with-temp \n- 如果主表数据量很小请忽略此信息,项目发行时不会出现此提示。")}return this._database._callCloudFunction({action:r,command:n})}},{key:"useAggregate",get:function(){for(var e=this,t=!1;e.prevStage;){e=e.prevStage;var r=e.content.$method;if("aggregate"===r||"pipeline"===r){t=!0;break}}return t}},{key:"count",get:function(){if(!this.useAggregate)return function(){return this._send("count",Array.from(arguments))};var e=this;return function(){return Kt({$method:"count",$param:Qt(Array.from(arguments))},e,this._database)}}}]),e}();function Kt(e,t,r){return qt(new Vt(e,t,r),{get:function(e,t){var n="db";return e&&e.content&&(n=e.content.$method),Wt(n,t)?Kt({$method:t},e,r):function(){return Kt({$method:t,$param:Qt(Array.from(arguments))},e,r)}}})}function Gt(e){var t=e.path,r=e.method;return function(){function e(){w(this,e),this.param=Array.from(arguments)}return y(e,[{key:"toJSON",value:function(){return{$newDb:[].concat(u(t.map((function(e){return{$method:e}}))),[{$method:r,$param:this.param}])}}}]),e}()}var Xt,Yt=function(e){_(r,e);var t=S(r);function r(){return w(this,r),t.apply(this,arguments)}return y(r,[{key:"_callCloudFunction",value:function(e){var t=this,r=e.action,n=e.command,i=e.multiCommand,o=e.queryList;function a(e,t){if(i&&o)for(var r=0;r<o.length;r++){var n=o[r];n.udb&&"function"==typeof n.udb.setResult&&(t?n.udb.setResult(t):n.udb.setResult(e.result.dataList[r]))}}var s=this;function c(e){return s._callback("error",[e]),te(re("database","fail"),e).then((function(){return te(re("database","complete"),e)})).then((function(){return a(null,e),ue(ie,{type:oe,content:e}),Promise.reject(e)}))}var u=te(re("database","invoke")),f=this._uniClient;return u.then((function(){return f.callFunction({name:"DCloud-clientDB",type:R,data:{action:r,command:n,multiCommand:i}})})).then((function(e){var r=e.result,n=r.code,i=r.message,o=r.token,s=r.tokenExpired,u=r.systemInfo,f=void 0===u?[]:u;if(f)for(var l=0;l<f.length;l++){var d=f[l],h=d.level,p=d.message,v=d.detail,g=console["app-plus"===$&&"warn"===h?"error":h]||console.log,y="[System Info]"+p;v&&(y="".concat(y,"\n详细信息:").concat(v)),g(y)}if(n)return c(new de({code:n,message:i,requestId:e.requestId}));e.result.errCode=e.result.code,e.result.errMsg=e.result.message,o&&s&&(Ot({token:o,tokenExpired:s}),t._callbackAuth("refreshToken",[{token:o,tokenExpired:s}]),t._callback("refreshToken",[{token:o,tokenExpired:s}]));for(var b=[{prop:"affectedDocs",tips:"affectedDocs不再推荐使用,请使用inserted/deleted/updated/data.length替代"},{prop:"code",tips:"code不再推荐使用,请使用errCode替代"},{prop:"message",tips:"message不再推荐使用,请使用errMsg替代"}],m=function(t){var r=b[t],n=r.prop,i=r.tips;if(n in e.result){var o=e.result[n];Object.defineProperty(e.result,n,{get:function(){return console.warn(i),o}})}},x=0;x<b.length;x++)m(x);return function(e){return te(re("database","success"),e).then((function(){return te(re("database","complete"),e)})).then((function(){return a(e,null),ue(ie,{type:oe,content:e}),Promise.resolve(e)}))}(e)}),(function(e){return/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),c(new de({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId}))}))}}]),r}(function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.uniClient,n=void 0===r?{}:r;w(this,e),this._uniClient=n,this._authCallBacks={},this._dbCallBacks={},n.isDefault&&(this._dbCallBacks=X("_globalUniCloudDatabaseCallback")),this.auth=$t(this._authCallBacks),Object.assign(this,$t(this._dbCallBacks)),this.env=qt({},{get:function(e,t){return{$env:t}}}),this.Geo=qt({},{get:function(e,t){return Gt({path:["Geo"],method:t})}}),this.serverDate=Gt({path:[],method:"serverDate"}),this.RegExp=Gt({path:[],method:"RegExp"})}return y(e,[{key:"getCloudEnv",value:function(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}},{key:"_callback",value:function(e,t){var r=this._dbCallBacks;r[e]&&r[e].forEach((function(e){e.apply(void 0,u(t))}))}},{key:"_callbackAuth",value:function(e,t){var r=this._authCallBacks;r[e]&&r[e].forEach((function(e){e.apply(void 0,u(t))}))}},{key:"multiSend",value:function(){var e=Array.from(arguments),t=e.map((function(e){var t=e.getAction(),r=e.getCommand();if("getTemp"!==r.$db[r.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:r}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}]),e}());function Jt(e){e.database=function(t){if(t&&Object.keys(t).length>0)return e.init(t).database();if(this._database)return this._database;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return qt(new e(t),{get:function(e,t){return Wt("db",t)?Kt({$method:t},null,e):function(){return Kt({$method:t,$param:Qt(Array.from(arguments))},null,e)}}})}(Yt,{uniClient:e});return this._database=r,r}}function Zt(e){e.onResponse=function(e){!function(e,t){var r=ce(e);r.includes(t)||r.push(t)}(ie,e)},e.offResponse=function(e){!function(e,t){var r=ce(e),n=r.indexOf(t);-1!==n&&r.splice(n,1)}(ie,e)}}var er="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",tr=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function rr(){var e,t,r=Et().token||"",n=r.split(".");if(!r||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse((t=n[1],decodeURIComponent(Xt(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}Xt="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!tr.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 r,n,i="",o=0;o<e.length;)t=er.indexOf(e.charAt(o++))<<18|er.indexOf(e.charAt(o++))<<12|(r=er.indexOf(e.charAt(o++)))<<6|(n=er.indexOf(e.charAt(o++))),i+=64===r?String.fromCharCode(t>>16&255):64===n?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var nr=I(j((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function o(e,t){return e.tempFiles.forEach((function(e,r){e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+r+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((function(e){return e.path}))),e}function a(e,t,n){var i=n.onChooseFile,o=n.onUploadProgress;return t.then((function(e){if(i){var t=i(e);if(void 0!==t)return Promise.resolve(t).then((function(t){return void 0===t?e:t}))}return e})).then((function(t){return!1===t?{errMsg:r,tempFilePaths:[],tempFiles:[]}:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3?arguments[3]:void 0;(t=Object.assign({},t)).errMsg=r;var o=t.tempFiles,a=o.length,s=0;return new Promise((function(r){for(;s<n;)c();function c(){var n=s++;if(n>=a)!o.find((function(e){return!e.url&&!e.errMsg}))&&r(t);else{var u=o[n];e.uploadFile({filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,onUploadProgress:function(e){e.index=n,e.tempFile=u,e.tempFilePath=u.path,i&&i(e)}}).then((function(e){u.url=e.fileID,n<a&&c()})).catch((function(e){u.errMsg=e.errMsg||e.message,n<a&&c()}))}}}))}(e,t,5,o)}))}t.initChooseAndUploadFile=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===t.type?a(e,function(e){var t=e.count,r=e.sizeType,a=e.sourceType,s=void 0===a?["album","camera"]:a,c=e.extension;return new Promise((function(e,a){n.chooseImage({count:t,sizeType:r,sourceType:s,extension:c,success:function(t){e(o(t,"image"))},fail:function(e){a({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?a(e,function(e){var t=e.camera,r=e.compressed,a=e.maxDuration,s=e.sourceType,c=void 0===s?["album","camera"]:s,u=e.extension;return new Promise((function(e,s){n.chooseVideo({camera:t,compressed:r,maxDuration:a,sourceType:c,extension:u,success:function(t){var r=t.tempFilePath,n=t.duration,i=t.size,a=t.height,s=t.width;e(o({errMsg:"chooseVideo:ok",tempFilePaths:[r],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:r,size:i,type:t.tempFile&&t.tempFile.type||"",width:s,height:a,duration:n,fileType:"video",cloudPath:""}]},"video"))},fail:function(e){s({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):a(e,function(e){var t=e.count,r=e.extension;return new Promise((function(e,a){var s=n.chooseFile;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(s=wx.chooseMessageFile),"function"!=typeof s)return a({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});s({type:"all",count:t,extension:r,success:function(t){e(o(t))},fail:function(e){a({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}}))),ir="manual";function or(e){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{}}},created:function(){var e=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(r){t.push(e[r])})),t}),(function(t,r){if(e.loadtime!==ir){for(var n=!1,i=[],o=2;o<t.length;o++)t[o]!==r[o]&&(i.push(t[o]),n=!0);t[0]!==r[0]&&(e.mixinDatacomPage.current=e.pageCurrent),e.mixinDatacomPage.size=e.pageSize,e.onMixinDatacomPropsChange(n,i)}}))},methods:{onMixinDatacomPropsChange:function(e,t){},mixinDatacomEasyGet:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.getone,n=void 0!==r&&r,i=t.success,o=t.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomGet().then((function(t){e.mixinDatacomLoading=!1;var r=t.result,o=r.data,a=r.count;e.getcount&&(e.mixinDatacomPage.count=a),e.mixinDatacomHasMore=o.length<e.pageSize;var s=n?o.length?o[0]:void 0:o;e.mixinDatacomResData=s,i&&i(s)})).catch((function(t){e.mixinDatacomLoading=!1,e.mixinDatacomErrorMessage=t,o&&o(t)})))},mixinDatacomGet:function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.database(this.spaceInfo),i=r.action||this.action;i&&(n=n.action(i));var o=r.collection||this.collection;n=Array.isArray(o)?(t=n).collection.apply(t,u(o)):n.collection(o);var a=r.where||this.where;a&&Object.keys(a).length&&(n=n.where(a));var s=r.field||this.field;s&&(n=n.field(s));var c=r.foreignKey||this.foreignKey;c&&(n=n.foreignKey(c));var f=r.groupby||this.groupby;f&&(n=n.groupBy(f));var l=r.groupField||this.groupField;l&&(n=n.groupField(l)),!0===(void 0!==r.distinct?r.distinct:this.distinct)&&(n=n.distinct());var d=r.orderby||this.orderby;d&&(n=n.orderBy(d));var h=void 0!==r.pageCurrent?r.pageCurrent:this.mixinDatacomPage.current,p=void 0!==r.pageSize?r.pageSize:this.mixinDatacomPage.size,v=void 0!==r.getcount?r.getcount:this.getcount,g=void 0!==r.gettree?r.gettree:this.gettree,y=void 0!==r.gettreepath?r.gettreepath:this.gettreepath,b={getCount:v},m={limitLevel:void 0!==r.limitlevel?r.limitlevel:this.limitlevel,startWith:void 0!==r.startwith?r.startwith:this.startwith};return g&&(b.getTree=m),y&&(b.getTreePath=m),n=n.skip(p*(h-1)).limit(p).get(b),n}}}}function ar(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.customUI=t.customUI||e.customUI,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},r);var o=r,a=o.customUI,s=o.loadingOptions,u=o.errorOptions,f=!a;return new Proxy({},{get:function(r,o){return function(){var r=c(i.default.mark((function r(){var l,d,h,p,v,g,y,b,m,x,w,_=arguments;return i.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:for(f&&n.showLoading({title:s.title,mask:s.mask}),d=_.length,h=new Array(d),p=0;p<d;p++)h[p]=_[p];return r.prev=2,r.next=5,e.callFunction({name:t,type:F,data:{method:o,params:h}});case 5:l=r.sent,r.next=11;break;case 8:r.prev=8,r.t0=r["catch"](2),l={result:r.t0};case 11:if(v=l.result||{},g=v.errCode,y=v.errMsg,b=v.newToken,f&&n.hideLoading(),b&&b.token&&b.tokenExpired&&Ot(b),!g){r.next=28;break}if(!f){r.next=26;break}if("toast"!==u.type){r.next=18;break}n.showToast({title:y,icon:"none"}),r.next=26;break;case 18:if("modal"===u.type){r.next=20;break}throw new Error("Invalid errorOptions.type: ".concat(u.type));case 20:return r.next=22,c(i.default.mark((function e(){var t,r,o,a,s,c,u=arguments;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=u.length>0&&void 0!==u[0]?u[0]:{},r=t.title,o=t.content,a=t.showCancel,s=t.cancelText,c=t.confirmText,e.abrupt("return",new Promise((function(e,t){n.showModal({title:r,content:o,showCancel:a,cancelText:s,confirmText:c,success:function(t){e(t)},fail:function(){e({confirm:!1,cancel:!0})}})})));case 2:case"end":return e.stop()}}),e)})))({title:"提示",content:y,showCancel:u.retry,cancelText:"取消",confirmText:u.retry?"重试":"确定"});case 22:if(m=r.sent,x=m.confirm,!u.retry||!x){r.next=26;break}return r.abrupt("return",a.apply(void 0,h));case 26:throw w=new de({code:g,message:y,requestId:l.requestId}),w.detail=l.result,ue(ie,{type:se,content:w}),w;case 28:return r.abrupt("return",(ue(ie,{type:se,content:l.result}),l.result));case 29:case"end":return r.stop()}}),r,null,[[2,8]])})));function a(){return r.apply(this,arguments)}return a}()}})}}function sr(e,t){return cr.apply(this,arguments)}function cr(){return cr=c(i.default.mark((function e(t,r){var n,o,a;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n="http://".concat(t,":").concat(r,"/system/ping"),e.prev=1,e.next=4,a={url:n,timeout:500},new Promise((function(e,t){ye.request(m(m({},a),{},{success:function(t){e(t)},fail:function(e){t(e)}}))}));case 4:return o=e.sent,e.abrupt("return",!(!o.data||0!==o.data.code));case 8:return e.prev=8,e.t0=e["catch"](1),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),cr.apply(this,arguments)}function ur(e){if(!e.initUniCloudStatus||"rejected"===e.initUniCloudStatus){var t,r=Promise.resolve();t=1,r=new Promise((function(e,r){setTimeout((function(){e()}),t)})),e.isReady=!1,e.isDefault=!1;var n=e.auth();e.initUniCloudStatus="pending",e.initUniCloud=r.then((function(){return n.getLoginState()})).then((function(e){return e?Promise.resolve():n.signInAnonymously()})).then((function(){if(!q)return Promise.resolve();if(q&&e.debugInfo){var t=e.debugInfo,r=t.address,n=t.servePort;return function(){var e=c(i.default.mark((function e(t,r){var n,o,a;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:o=0;case 1:if(!(o<t.length)){e.next=11;break}return a=t[o],e.next=5,sr(a,r);case 5:if(!e.sent){e.next=8;break}return n=a,e.abrupt("break",11);case 8:o++,e.next=1;break;case 11:return e.abrupt("return",{address:n,port:r});case 12:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()(r,n)}})).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.address,n=t.port;if(!q)return Promise.resolve();if(r)e.localAddress=r,e.localPort=n;else if(e.debugInfo){var i=console["app-plus"===$?"error":"warn"],o="";"remote"===e.debugInfo.initialLaunchType?(e.debugInfo.forceRemote=!0,o="当前客户端和HBuilderX不在同一局域网下(或其他网络原因无法连接HBuilderX),uniCloud本地调试服务不对当前客户端生效。\n- 如果不使用uniCloud本地调试服务,请直接忽略此信息。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。\n- 如果在HBuilderX开启的状态下切换过网络环境,请重启HBuilderX后再试\n- 检查系统防火墙是否拦截了HBuilderX自带的nodejs"):o="无法连接uniCloud本地调试服务,请检查当前客户端是否与主机在同一局域网下。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。\n- 如果在HBuilderX开启的状态下切换过网络环境,请重启HBuilderX后再试\n- 检查系统防火墙是否拦截了HBuilderX自带的nodejs","h5"===$&&(o+="\n- 部分浏览器开启节流模式之后访问本地地址受限,请检查是否启用了节流模式"),i(o)}})).then((function(){Tt(),e.isReady=!0,e.initUniCloudStatus="fulfilled"})).catch((function(t){console.error(t),e.initUniCloudStatus="rejected"}))}}var fr=new(function(){function e(){w(this,e)}return y(e,[{key:"init",value:function(e){var t={},r=!1!==e.debugFunction&&q&&("h5"===$&&navigator.userAgent.indexOf("HBuilderX")>0||"app-plus"===$);switch(e.provider){case"tcb":case"tencent":t=Mt.init(Object.assign(e,{useDebugFunction:r}));break;case"aliyun":t=_e.init(Object.assign(e,{useDebugFunction:r}));break;case"private":t=It.init(Object.assign(e,{useDebugFunction:r}));break;default:throw new Error("未提供正确的provider参数")}var n=H;return q&&n&&!n.code&&(t.debugInfo=n),ur(t),t.reInit=function(){ur(this)},zt(t),function(e){var t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),Jt(t),function(e){e.getCurrentUserInfo=rr,e.chooseAndUploadFile=nr.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return or(e)}}),e.importObject=ar(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(e){if(t[e]){var r=t[e];t[e]=function(){return t.reInit(),r.apply(t,Array.from(arguments))},t[e]=fe(t[e],e).bind(t)}})),t.init=this.init,t}}]),e}());(function(){var e=W,t={};if(1===e.length)t=e[0],fr=fr.init(t),fr.isDefault=!0;else{var r,n=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];r=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":Q?"应用未关联服务空间,请在uniCloud目录右键关联服务空间":"uni-app cli项目内使用uniCloud需要使用HBuilderX的运行菜单运行项目,且需要在uniCloud目录关联服务空间",n.forEach((function(e){fr[e]=function(){return console.error(r),Promise.reject(new de({code:"SYS_ERR",message:r}))}}))}Object.assign(fr,{get mixinDatacom(){return or(fr)}}),Zt(fr),fr.addInterceptor=Z,fr.removeInterceptor=ee,q&&"h5"===$&&(window.uniCloud=fr)})();var lr=fr;t.default=lr}).call(this,r(2),r(1)["default"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={appid:"__UNI__74CA2D5"};t.default=n},function(e,t,r){"use strict";function n(e,t){return c(e)||s(e,t)||o(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function c(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={version:"v2.4.3-20220505",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,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,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},f=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(null==e)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!r||r.length<=0)return e;function i(e,t){for(var r in t)e[r]=e[r]&&"[object Object]"===e[r].toString()?i(e[r],t[r]):e[r]=t[r];return e}return r.forEach((function(t){e=i(e,t)})),e},l={toFixed:function(e,t){return t=t||2,this.isFloat(e)&&(e=e.toFixed(t)),e},isFloat:function(e){return e%1!==0},approximatelyEqual:function(e,t){return Math.abs(e-t)<1e-10},isSameSign:function(e,t){return Math.abs(e)===e&&Math.abs(t)===t||Math.abs(e)!==e&&Math.abs(t)!==t},isSameXCoordinateArea:function(e,t){return this.isSameSign(e.x,t.x)},isCollision:function(e,t){e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height,t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height;var r=t.start.x>e.end.x||t.end.x<e.start.x||t.end.y>e.start.y||t.start.y<e.end.y;return!r}};function d(e,t){var r=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(r,(function(e,t,r,n){return t+t+r+r+n+n})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),o=parseInt(i[1],16),a=parseInt(i[2],16),s=parseInt(i[3],16);return"rgba("+o+","+a+","+s+","+t+")"}function h(e,t,r){if(isNaN(e))throw new Error("[uCharts] series数据需为Number格式");r=r||10,t=t||"upper";var n=1;while(r<1)r*=10,n*=10;e="upper"===t?Math.ceil(e*n):Math.floor(e*n);while(e%r!==0)if("upper"===t){if(e==e+1)break;e++}else e--;return e/n}function p(e,t,r,n){for(var i=[],o=0;o<e.length;o++){for(var a={data:[],name:t[o],color:r[o]},s=0,c=n.length;s<c;s++)if(s<e[o])a.data.push(null);else{for(var u=0,f=0;f<e[o];f++)u+=n[s-f][1];a.data.push(+(u/e[o]).toFixed(3))}i.push(a)}return i}function v(e,t,r,n,i){var o=i.width-i.area[1]-i.area[3],a=r.eachSpacing*(i.chartData.xAxisData.xAxisPoints.length-1);"mount"==i.type&&i.extra&&i.extra.mount&&i.extra.mount.widthRatio&&i.extra.mount.widthRatio>1&&(i.extra.mount.widthRatio>2&&(i.extra.mount.widthRatio=2),a+=(i.extra.mount.widthRatio-1)*r.eachSpacing);var s=t;return t>=0?(s=0,e.uevent.trigger("scrollLeft"),e.scrollOption.position="left",i.xAxis.scrollPosition="left"):Math.abs(t)>=a-o?(s=o-a,e.uevent.trigger("scrollRight"),e.scrollOption.position="right",i.xAxis.scrollPosition="right"):(e.scrollOption.position=t,i.xAxis.scrollPosition=t),s}function g(e,t,r){function n(e){while(e<0)e+=2*Math.PI;while(e>2*Math.PI)e-=2*Math.PI;return e}return e=n(e),t=n(t),r=n(r),t>r&&(r+=2*Math.PI,e<t&&(e+=2*Math.PI)),e>=t&&e<=r}function y(e,t){function r(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 n(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].x>=Math.max(e[t-1].x,e[t+1].x)||e[t].x<=Math.min(e[t-1].x,e[t+1].x))}var i=.2,o=.2,a=null,s=null,c=null,u=null;if(t<1?(a=e[0].x+(e[1].x-e[0].x)*i,s=e[0].y+(e[1].y-e[0].y)*i):(a=e[t].x+(e[t+1].x-e[t-1].x)*i,s=e[t].y+(e[t+1].y-e[t-1].y)*i),t>e.length-3){var f=e.length-1;c=e[f].x-(e[f].x-e[f-1].x)*o,u=e[f].y-(e[f].y-e[f-1].y)*o}else c=e[t+1].x-(e[t+2].x-e[t].x)*o,u=e[t+1].y-(e[t+2].y-e[t].y)*o;return r(e,t+1)&&(u=e[t+1].y),r(e,t)&&(s=e[t].y),n(e,t+1)&&(c=e[t+1].x),n(e,t)&&(a=e[t].x),(s>=Math.max(e[t].y,e[t+1].y)||s<=Math.min(e[t].y,e[t+1].y))&&(s=e[t].y),(u>=Math.max(e[t].y,e[t+1].y)||u<=Math.min(e[t].y,e[t+1].y))&&(u=e[t+1].y),(a>=Math.max(e[t].x,e[t+1].x)||a<=Math.min(e[t].x,e[t+1].x))&&(a=e[t].x),(c>=Math.max(e[t].x,e[t+1].x)||c<=Math.min(e[t].x,e[t+1].x))&&(c=e[t+1].x),{ctrA:{x:a,y:s},ctrB:{x:c,y:u}}}function b(e,t,r){return{x:r.x+e,y:r.y-t}}function m(e,t){if(t)while(l.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 x(e,t,r){var n=[];if(e.length>0&&e[0].data.constructor.toString().indexOf("Array")>-1){t._pieSeries_=e;for(var i=e[0].data,o=0;o<i.length;o++)i[o].formatter=e[0].formatter,i[o].data=i[o].value,n.push(i[o]);t.series=n}else n=e;return n}function w(e,t,r){for(var n=0,i=0;i<e.length;i++){var o=e[i];if(o.color||(o.color=r.color[n],n=(n+1)%r.color.length),o.linearIndex||(o.linearIndex=i),o.index||(o.index=0),o.type||(o.type=t.type),"undefined"==typeof o.show&&(o.show=!0),o.type||(o.type=t.type),o.pointShape||(o.pointShape="circle"),!o.legendShape)switch(o.type){case"line":o.legendShape="line";break;case"column":case"bar":o.legendShape="rect";break;case"area":case"mount":o.legendShape="triangle";break;default:o.legendShape="circle"}}return e}function _(e,t,r,n){var i=t||[];if("custom"==e&&0==i.length&&(i=n.linearColor),"custom"==e&&i.length<r.length)for(var o=r.length-i.length,a=0;a<o;a++)i.push(n.linearColor[(a+1)%n.linearColor.length]);return i}function S(e,t){var r=0,n=t-e;return r=n>=1e4?1e3:n>=1e3?100:n>=100?10:n>=10?5:n>=1?1:n>=.1?.1:n>=.01?.01:n>=.001?.001:n>=1e-4?1e-4:n>=1e-5?1e-5:1e-6,{minRange:h(e,"lower",r),maxRange:h(t,"upper",r)}}function A(e,t,r){var n=0;if(e=String(e),!1!==r&&void 0!==r&&r.setFontSize&&r.measureText)return r.setFontSize(t),r.measureText(e).width;e=e.split("");for(var i=0;i<e.length;i++){var o=e[i];/[a-zA-Z]/.test(o)?n+=7:/[0-9]/.test(o)?n+=5.5:/\./.test(o)?n+=2.7:/-/.test(o)?n+=3.25:/:/.test(o)?n+=2.5:/[\u4e00-\u9fa5]/.test(o)?n+=10:/\(|\)/.test(o)?n+=3.73:/\s/.test(o)?n+=2.5:/%/.test(o)?n+=8:n+=10}return n*t/10}function k(e){return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data)}),[])}function P(e,t){for(var r=new Array(t),n=0;n<r.length;n++)r[n]=0;for(var i=0;i<e.length;i++)for(n=0;n<r.length;n++)r[n]+=e[i].data[n];return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data).concat(r)}),[])}function M(e,t,r){var n,i;return e.clientX?t.rotate?(i=t.height-e.clientX*t.pix,n=(e.pageY-r.currentTarget.offsetTop-t.height/t.pix/2*(t.pix-1))*t.pix):(n=e.clientX*t.pix,i=(e.pageY-r.currentTarget.offsetTop-t.height/t.pix/2*(t.pix-1))*t.pix):t.rotate?(i=t.height-e.x*t.pix,n=e.y*t.pix):(n=e.x*t.pix,i=e.y*t.pix),{x:n,y:i}}function E(e,t,r){var n=[],i=[],o=t.constructor.toString().indexOf("Array")>-1;if(o)for(var a=B(e),s=0;s<r.length;s++)i.push(a[r[s]]);else i=e;for(var c=0;c<i.length;c++){var u=i[c],f=-1;if(f=o?t[c]:t,null!==u.data[f]&&"undefined"!==typeof u.data[f]&&u.show){var l={};l.color=u.color,l.type=u.type,l.style=u.style,l.pointShape=u.pointShape,l.disableLegend=u.disableLegend,l.name=u.name,l.show=u.show,l.data=u.formatter?u.formatter(u.data[f]):u.data[f],n.push(l)}}return n}function O(e,t,r){var n=e.map((function(e){return A(e,t,r)}));return Math.max.apply(null,n)}function T(e){for(var t=2*Math.PI/e,r=[],n=0;n<e;n++)r.push(t*n);return r.map((function(e){return-1*e+Math.PI/2}))}function C(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=t.chartData.calPoints?t.chartData.calPoints:[],s={};if(n.length>0){for(var c=[],u=0;u<n.length;u++)c.push(a[n[u]]);s=c[0][r[0]]}else for(var f=0;f<a.length;f++)if(a[f][r]){s=a[f][r];break}var l=e.map((function(e){var n=null;return t.categories&&t.categories.length>0&&(n=i[r]),{text:o.formatter?o.formatter(e,n,r,t):e.name+": "+e.data,color:e.color}})),d={x:Math.round(s.x),y:Math.round(s.y)};return{textList:l,offset:d}}function I(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.chartData.xAxisPoints[r]+t.chartData.eachSpacing/2,a=e.map((function(e){return{text:i.formatter?i.formatter(e,n[r],r,t):e.name+": "+e.data,color:e.color,disableLegend:!!e.disableLegend}}));a=a.filter((function(e){if(!0!==e.disableLegend)return e}));var s={x:Math.round(o),y:0};return{textList:a,offset:s}}function j(e,t,r,n,i,o){var a=r.chartData.calPoints,s=o.color.upFill,c=o.color.downFill,u=[s,s,c,s],f=[];t.map((function(t){0==n?t.data[1]-t.data[0]<0?u[1]=c:u[1]=s:(t.data[0]<e[n-1][1]&&(u[0]=c),t.data[1]<t.data[0]&&(u[1]=c),t.data[2]>e[n-1][1]&&(u[2]=s),t.data[3]<e[n-1][1]&&(u[3]=c));var r={text:"开盘:"+t.data[0],color:u[0]},i={text:"收盘:"+t.data[1],color:u[1]},o={text:"最低:"+t.data[2],color:u[2]},a={text:"最高:"+t.data[3],color:u[3]};f.push(r,i,o,a)}));for(var l=[],d={x:0,y:0},h=0;h<a.length;h++){var p=a[h];"undefined"!==typeof p[n]&&null!==p[n]&&l.push(p[n])}return d.x=Math.round(l[0][0].x),{textList:f,offset:d}}function B(e){for(var t=[],r=0;r<e.length;r++)1==e[r].show&&t.push(e[r]);return t}function D(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={index:-1,group:[]},a=r.chartData.eachSpacing/2,s=[];if(t&&t.length>0){if(r.categories){for(var c=1;c<r.chartData.xAxisPoints.length;c++)s.push(r.chartData.xAxisPoints[c]-a);"line"!=r.type&&"area"!=r.type||"justify"!=r.xAxis.boundaryGap||(s=r.chartData.xAxisPoints)}else a=0;if(N(e,r,n))if(r.categories)s.forEach((function(t,r){e.x+i+a>t&&(o.index=r)}));else{for(var u=Array(t.length),f=0;f<t.length;f++){u[f]=Array(t[f].length);for(var l=0;l<t[f].length;l++)u[f][l]=Math.abs(t[f][l].x-e.x)}for(var d=Array(u.length),h=Array(u.length),p=0;p<u.length;p++)d[p]=Math.min.apply(null,u[p]),h[p]=u[p].indexOf(d[p]);var v=Math.min.apply(null,d);o.index=[];for(var g=0;g<d.length;g++)d[g]==v&&(o.group.push(g),o.index.push(h[g]))}}return o}function L(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={index:-1,group:[]},a=r.chartData.eachSpacing/2,s=r.chartData.yAxisPoints;return t&&t.length>0&&N(e,r,n)&&s.forEach((function(t,r){e.y+i+a>t&&(o.index=r)})),o}function F(e,t,r){var n=-1,i=0;if(R(e,t.area)){for(var o=t.points,a=-1,s=0,c=o.length;s<c;s++)for(var u=o[s],f=0;f<u.length;f++){a+=1;var l=u[f]["area"];if(l&&e.x>l[0]-i&&e.x<l[2]+i&&e.y>l[1]-i&&e.y<l[3]+i){n=a;break}}return n}return n}function R(e,t){return e.x>t.start.x&&e.x<t.end.x&&e.y>t.start.y&&e.y<t.end.y}function N(e,t,r){return e.x<=t.width-t.area[1]+10&&e.x>=t.area[3]-10&&e.y>=t.area[0]&&e.y<=t.height-t.area[2]}function z(e,t,r){var n=2*Math.PI/r,i=-1;if(Q(e,t.center,t.radius)){var o=function(e){return e<0&&(e+=2*Math.PI),e>2*Math.PI&&(e-=2*Math.PI),e},a=Math.atan2(t.center.y-e.y,e.x-t.center.x);a*=-1,a<0&&(a+=2*Math.PI);var s=t.angleList.map((function(e){return e=o(-1*e),e}));s.forEach((function(e,t){var r=o(e-n/2),s=o(e+n/2);s<r&&(s+=2*Math.PI),(a>=r&&a<=s||a+2*Math.PI>=r&&a+2*Math.PI<=s)&&(i=t)}))}return i}function U(e,t){for(var r=-1,n=0,i=t.series.length;n<i;n++){var o=t.series[n];if(e.x>o.funnelArea[0]&&e.x<o.funnelArea[2]&&e.y>o.funnelArea[1]&&e.y<o.funnelArea[3]){r=n;break}}return r}function q(e,t){for(var r=-1,n=0,i=t.length;n<i;n++){var o=t[n];if(e.x>o.area[0]&&e.x<o.area[2]&&e.y>o.area[1]&&e.y<o.area[3]){r=n;break}}return r}function $(e,t){for(var r=-1,n=t.chartData.mapData,i=t.series,o=at(e.y,e.x,n.bounds,n.scale,n.xoffset,n.yoffset),a=[o.x,o.y],s=0,c=i.length;s<c;s++){var u=i[s].geometry.coordinates;if(ct(a,u,t.chartData.mapData.mercator)){r=s;break}}return r}function H(e,t,r){var n=-1,i=te(r._series_,r.extra.rose.type,t.radius,t.radius);if(t&&t.center&&Q(e,t.center,t.radius)){var o=Math.atan2(t.center.y-e.y,e.x-t.center.x);o=-o,r.extra.rose&&r.extra.rose.offsetAngle&&(o-=r.extra.rose.offsetAngle*Math.PI/180);for(var a=0,s=i.length;a<s;a++)if(g(o,i[a]._start_,i[a]._start_+2*i[a]._rose_proportion_*Math.PI)){n=a;break}}return n}function W(e,t,r){var n=-1,i=Z(t.series);if(t&&t.center&&Q(e,t.center,t.radius)){var o=Math.atan2(t.center.y-e.y,e.x-t.center.x);o=-o,r.extra.pie&&r.extra.pie.offsetAngle&&(o-=r.extra.pie.offsetAngle*Math.PI/180),r.extra.ring&&r.extra.ring.offsetAngle&&(o-=r.extra.ring.offsetAngle*Math.PI/180);for(var a=0,s=i.length;a<s;a++)if(g(o,i[a]._start_,i[a]._start_+2*i[a]._proportion_*Math.PI)){n=a;break}}return n}function Q(e,t,r){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(r,2)}function V(e,t){var r=[],n=[];return e.forEach((function(e,i){t.connectNulls?null!==e&&n.push(e):null!==e?n.push(e):(n.length&&r.push(n),n=[])})),n.length&&r.push(n),r}function K(e,t,r,n,i){var o={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===t.legend.show)return n.legendData=o,o;var a=t.legend.padding*t.pix,s=t.legend.margin*t.pix,c=t.legend.fontSize?t.legend.fontSize*t.pix:r.fontSize,u=15*t.pix,f=5*t.pix,l=Math.max(t.legend.lineHeight*t.pix,c);if("top"==t.legend.position||"bottom"==t.legend.position){for(var d=[],h=0,p=[],v=[],g=0;g<e.length;g++){var y=e[g],b=y.legendText?y.legendText:y.name,m=u+f+A(b||"undefined",c,i)+t.legend.itemGap*t.pix;h+m>t.width-t.area[1]-t.area[3]?(d.push(v),p.push(h-t.legend.itemGap*t.pix),h=m,v=[y]):(h+=m,v.push(y))}if(v.length){d.push(v),p.push(h-t.legend.itemGap*t.pix),o.widthArr=p;var x=Math.max.apply(null,p);switch(t.legend.float){case"left":o.area.start.x=t.area[3],o.area.end.x=t.area[3]+x+2*a;break;case"right":o.area.start.x=t.width-t.area[1]-x-2*a,o.area.end.x=t.width-t.area[1];break;default:o.area.start.x=(t.width-x)/2-a,o.area.end.x=(t.width+x)/2+a}o.area.width=x+2*a,o.area.wholeWidth=x+2*a,o.area.height=d.length*l+2*a,o.area.wholeHeight=d.length*l+2*a+2*s,o.points=d}}else{var w=e.length,_=t.height-t.area[0]-t.area[2]-2*s-2*a,S=Math.min(Math.floor(_/l),w);switch(o.area.height=S*l+2*a,o.area.wholeHeight=S*l+2*a,t.legend.float){case"top":o.area.start.y=t.area[0]+s,o.area.end.y=t.area[0]+s+o.area.height;break;case"bottom":o.area.start.y=t.height-t.area[2]-s-o.area.height,o.area.end.y=t.height-t.area[2]-s;break;default:o.area.start.y=(t.height-o.area.height)/2,o.area.end.y=(t.height+o.area.height)/2}for(var k=w%S===0?w/S:Math.floor(w/S+1),P=[],M=0;M<k;M++){var E=e.slice(M*S,M*S+S);P.push(E)}if(o.points=P,P.length){for(var O=0;O<P.length;O++){for(var T=P[O],C=0,I=0;I<T.length;I++){var j=u+f+A(T[I].name||"undefined",c,i)+t.legend.itemGap*t.pix;j>C&&(C=j)}o.widthArr.push(C),o.heightArr.push(T.length*l+2*a)}for(var B=0,D=0;D<o.widthArr.length;D++)B+=o.widthArr[D];o.area.width=B-t.legend.itemGap*t.pix+2*a,o.area.wholeWidth=o.area.width+a}}switch(t.legend.position){case"top":o.area.start.y=t.area[0]+s,o.area.end.y=t.area[0]+s+o.area.height;break;case"bottom":o.area.start.y=t.height-t.area[2]-o.area.height-s,o.area.end.y=t.height-t.area[2]-s;break;case"left":o.area.start.x=t.area[3],o.area.end.x=t.area[3]+o.area.width;break;case"right":o.area.start.x=t.width-t.area[1]-o.area.width,o.area.end.x=t.width-t.area[1];break}return n.legendData=o,o}function G(e,t,r,n,i){var o={angle:0,xAxisHeight:r.xAxisHeight},a=t.xAxis.fontSize*t.pix||r.fontSize,s=e.map((function(e,r){var n=t.xAxis.formatter?t.xAxis.formatter(e,r,t):e;return A(String(n),a,i)})),c=Math.max.apply(this,s);if(1==t.xAxis.rotateLabel){o.angle=t.xAxis.rotateAngle*Math.PI/180;var u=2*r.xAxisTextPadding+Math.abs(c*Math.sin(o.angle));u=u<a+2*r.xAxisTextPadding?u+2*r.xAxisTextPadding:u,1==t.enableScroll&&1==t.xAxis.scrollShow&&(u+=12*t.pix),o.xAxisHeight=u}return t.xAxis.disabled&&(o.xAxisHeight=0),o}function X(e,t,r,n){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;i="stack"==n?P(e,t.categories.length):k(e);var a=[];i=i.filter((function(e){return"object"===typeof e&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),i.map((function(e){"object"===typeof e?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){a.push(e)})):a.push(e[0]):a.push(e.value):a.push(e)}));var s=0,c=0;if(a.length>0&&(s=Math.min.apply(this,a),c=Math.max.apply(this,a)),o>-1?("number"===typeof t.xAxis.data[o].min&&(s=Math.min(t.xAxis.data[o].min,s)),"number"===typeof t.xAxis.data[o].max&&(c=Math.max(t.xAxis.data[o].max,c))):("number"===typeof t.xAxis.min&&(s=Math.min(t.xAxis.min,s)),"number"===typeof t.xAxis.max&&(c=Math.max(t.xAxis.max,c))),s===c){var u=c||10;c+=u}for(var f=s,l=c,d=[],h=(l-f)/t.xAxis.splitNumber,p=0;p<=t.xAxis.splitNumber;p++)d.push(f+h*p);return d}function Y(e,t,r,n){var i=f({},{type:""},t.extra.bar),o={angle:0,xAxisHeight:r.xAxisHeight};o.ranges=X(e,t,r,i.type),o.rangesFormat=o.ranges.map((function(e){return e=l.toFixed(e,2),e}));var a=o.ranges.map((function(e){return e=l.toFixed(e,2),e}));o=Object.assign(o,de(a,t,r));var s=o.eachSpacing,c=a.map((function(e){return A(e,t.xAxis.fontSize*t.pix||r.fontSize,n)})),u=Math.max.apply(this,c);return u+2*r.xAxisTextPadding>s&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*r.xAxisTextPadding+u*Math.sin(o.angle)),!0===t.xAxis.disabled&&(o.xAxisHeight=0),o}function J(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=i.extra.radar||{};a.max=a.max||0;for(var s=Math.max(a.max,Math.max.apply(null,k(n))),c=[],u=function(i){var a=n[i],u={};u.color=a.color,u.legendShape=a.legendShape,u.pointShape=a.pointShape,u.data=[],a.data.forEach((function(n,i){var a={};a.angle=e[i],a.proportion=n/s,a.value=n,a.position=b(r*a.proportion*o*Math.cos(a.angle),r*a.proportion*o*Math.sin(a.angle),t),u.data.push(a)})),c.push(u)},f=0;f<n.length;f++)u(f);return c}function Z(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=0,i=0,o=0;o<e.length;o++){var a=e[o];a.data=null===a.data?0:a.data,n+=a.data}for(var s=0;s<e.length;s++){var c=e[s];c.data=null===c.data?0:c.data,c._proportion_=0===n?1/e.length*r:c.data/n*r,c._radius_=t}for(var u=0;u<e.length;u++){var f=e[u];f._start_=i,i+=2*f._proportion_*Math.PI}return e}function ee(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;e=e.sort((function(e,t){return parseInt(t.data)-parseInt(e.data)}));for(var o=0;o<e.length;o++)e[o].radius="funnel"==r?e[o].data/e[0].data*t*i:n*(e.length-o)/(n*e.length)*t*i,e[o]._proportion_=e[o].data/e[0].data;return"pyramid"!==r&&e.reverse(),e}function te(e,t,r,n){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=0,a=0,s=[],c=0;c<e.length;c++){var u=e[c];u.data=null===u.data?0:u.data,o+=u.data,s.push(u.data)}for(var f=Math.min.apply(null,s),l=Math.max.apply(null,s),d=n-r,h=0;h<e.length;h++){var p=e[h];p.data=null===p.data?0:p.data,0===o?(p._proportion_=1/e.length*i,p._rose_proportion_=1/e.length*i):(p._proportion_=p.data/o*i,p._rose_proportion_="area"==t?1/e.length*i:p.data/o*i),p._radius_=r+d*((p.data-f)/(l-f))||n}for(var v=0;v<e.length;v++){var g=e[v];g._start_=a,a+=2*g._rose_proportion_*Math.PI}return e}function re(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==r&&(r=.999999);for(var n=0;n<e.length;n++){var i=e[n];i.data=null===i.data?0:i.data;var o=void 0;o="circle"==t.type?2:t.endAngle<t.startAngle?2+t.endAngle-t.startAngle:t.startAngle-t.endAngle,i._proportion_=o*i.data*r+t.startAngle,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==r&&(r=.999999);for(var n=0;n<e.length;n++){var i=e[n];i.data=null===i.data?0:i.data;var o=void 0;o="circle"==t.type?2:t.endAngle<t.startAngle?2+t.endAngle-t.startAngle:t.startAngle-t.endAngle,i._proportion_=o*i.data*r+t.startAngle,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function ie(e,t,r){for(var n=t-r+1,i=t,o=0;o<e.length;o++)e[o].value=null===e[o].value?0:e[o].value,e[o]._startAngle_=i,e[o]._endAngle_=n*e[o].value+t,e[o]._endAngle_>=2&&(e[o]._endAngle_=e[o]._endAngle_%2),i=e[o]._endAngle_;return e}function oe(e,t,r){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=0;i<e.length;i++){var o=e[i];if(o.data=null===o.data?0:o.data,"auto"==r.pointer.color){for(var a=0;a<t.length;a++)if(o.data<=t[a].value){o.color=t[a].color;break}}else o.color=r.pointer.color;var s=r.startAngle-r.endAngle+1;o._endAngle_=s*o.data+r.startAngle,o._oldAngle_=r.oldAngle,r.oldAngle<r.endAngle&&(o._oldAngle_+=2),o.data>=r.oldData?o._proportion_=(o._endAngle_-o._oldAngle_)*n+r.oldAngle:o._proportion_=o._oldAngle_-(o._oldAngle_-o._endAngle_)*n,o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return e}function ae(e,t,r,n){e=Z(e);for(var i=0,o=0;o<e.length;o++){var a=e[o],s=a.formatter?a.formatter(+a._proportion_.toFixed(2)):l.toFixed(100*a._proportion_)+"%";i=Math.max(i,A(s,a.textSize*n.pix||t.fontSize,r))}return i}function se(e,t,r,n,i,o){return e.map((function(e){if(null===e)return null;var i=0,a=0;return"mix"==o.type?(i=o.extra.mix.column.seriesGap*o.pix||0,a=o.extra.mix.column.categoryGap*o.pix||0):(i=o.extra.column.seriesGap*o.pix||0,a=o.extra.column.categoryGap*o.pix||0),i=Math.min(i,t/r),a=Math.min(a,t/r),e.width=Math.ceil((t-2*a-i*(r-1))/r),o.extra.mix&&o.extra.mix.column.width&&+o.extra.mix.column.width>0&&(e.width=Math.min(e.width,+o.extra.mix.column.width*o.pix)),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(e.width=Math.min(e.width,+o.extra.column.width*o.pix)),e.width<=0&&(e.width=1),e.x+=(n+.5-r/2)*(e.width+i),e}))}function ce(e,t,r,n,i,o){return e.map((function(e){if(null===e)return null;var i=0,a=0;return i=o.extra.bar.seriesGap*o.pix||0,a=o.extra.bar.categoryGap*o.pix||0,i=Math.min(i,t/r),a=Math.min(a,t/r),e.width=Math.ceil((t-2*a-i*(r-1))/r),o.extra.bar&&o.extra.bar.width&&+o.extra.bar.width>0&&(e.width=Math.min(e.width,+o.extra.bar.width*o.pix)),e.width<=0&&(e.width=1),e.y+=(n+.5-r/2)*(e.width+i),e}))}function ue(e,t,r,n,i,o,a){var s=o.extra.column.categoryGap*o.pix||0;return e.map((function(e){return null===e?null:(e.width=t-2*s,o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(e.width=Math.min(e.width,+o.extra.column.width*o.pix)),n>0&&(e.width-=a),e)}))}function fe(e,t,r,n,i,o,a){var s=o.extra.column.categoryGap*o.pix||0;return e.map((function(e,r){return null===e?null:(e.width=Math.ceil(t-2*s),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(e.width=Math.min(e.width,+o.extra.column.width*o.pix)),e.width<=0&&(e.width=1),e)}))}function le(e,t,r,n,i,o,a){var s=o.extra.bar.categoryGap*o.pix||0;return e.map((function(e,r){return null===e?null:(e.width=Math.ceil(t-2*s),o.extra.bar&&o.extra.bar.width&&+o.extra.bar.width>0&&(e.width=Math.min(e.width,+o.extra.bar.width*o.pix)),e.width<=0&&(e.width=1),e)}))}function de(e,t,r){var n=t.width-t.area[1]-t.area[3],i=t.enableScroll?Math.min(t.xAxis.itemCount,e.length):e.length;("line"==t.type||"area"==t.type||"scatter"==t.type||"bubble"==t.type||"bar"==t.type)&&i>1&&"justify"==t.xAxis.boundaryGap&&(i-=1);var o=0;"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),o=t.extra.mount.widthRatio-1,i+=o);var a=n/i,s=[],c=t.area[3],u=t.width-t.area[1];return e.forEach((function(e,t){s.push(c+o/2*a+t*a)})),"justify"!==t.xAxis.boundaryGap&&(!0===t.enableScroll?s.push(c+o*a+e.length*a):s.push(u)),{xAxisPoints:s,startX:c,endX:u,eachSpacing:a}}function he(e,t,r,n,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],u=o.height-o.area[0]-o.area[2];return e.forEach((function(e,a){if(null===e)c.push(null);else{var f=[];e.forEach((function(e,c){var l={};l.x=n[a]+Math.round(i/2);var d=e.value||e,h=u*(d-t)/(r-t);h*=s,l.y=o.height-Math.round(h)-o.area[2],f.push(l)})),c.push(f)}})),c}function pe(e,t,r,n,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(c=o.xAxis.boundaryGap);var u=[],f=o.height-o.area[0]-o.area[2],l=o.width-o.area[1]-o.area[3];return e.forEach((function(e,a){if(null===e)u.push(null);else{var d={};d.color=e.color,d.x=n[a];var h,p,v,g=e;if("object"===typeof e&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)h=[].concat(o.chartData.xAxisData.ranges),p=h.shift(),v=h.pop(),g=e[1],d.x=o.area[3]+l*(e[0]-p)/(v-p),"bubble"==o.type&&(d.r=e[2],d.t=e[3]);else g=e.value;"center"==c&&(d.x+=i/2);var y=f*(g-t)/(r-t);y*=s,d.y=o.height-y-o.area[2],u.push(d)}})),u}function ve(e,t,r,n,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],u=o.height-o.area[0]-o.area[2],f=(o.width,o.area[1],o.area[3],i*a.widthRatio);return e.forEach((function(e,a){if(null===e)c.push(null);else{var l={};l.color=e.color,l.x=n[a],l.x+=i/2;var d=e.data,h=u*(d-t)/(r-t);h*=s,l.y=o.height-h-o.area[2],l.value=d,l.width=f,c.push(l)}})),c}function ge(e,t,r,n,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],u=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return e.forEach((function(e,i){if(null===e)c.push(null);else{var a={};a.color=e.color,a.y=n[i];var f=e;"object"===typeof e&&null!==e&&(f=e.value);var l=u*(f-t)/(r-t);l*=s,a.height=l,a.value=f,a.x=l+o.area[3],c.push(a)}})),c}function ye(e,t,r,n,i,o,a,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,f=[],l=o.height-o.area[0]-o.area[2];return e.forEach((function(e,a){if(null===e)f.push(null);else{var d={};if(d.color=e.color,d.x=n[a]+Math.round(i/2),s>0){for(var h=0,p=0;p<=s;p++)h+=c[p].data[a];var v=h-e,g=l*(h-t)/(r-t),y=l*(v-t)/(r-t)}else h=e,g=l*(h-t)/(r-t),y=0;var b=y;g*=u,b*=u,d.y=o.height-Math.round(g)-o.area[2],d.y0=o.height-Math.round(b)-o.area[2],f.push(d)}})),f}function be(e,t,r,n,i,o,a,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,f=[],l=o.width-o.area[1]-o.area[3];return e.forEach((function(e,i){if(null===e)f.push(null);else{var a={};if(a.color=e.color,a.y=n[i],s>0){for(var d=0,h=0;h<=s;h++)d+=c[h].data[i];var p=d-e,v=l*(d-t)/(r-t),g=l*(p-t)/(r-t)}else d=e,v=l*(d-t)/(r-t),g=0;var y=g;v*=u,y*=u,a.height=v-y,a.x=o.area[3]+v,a.x0=o.area[3]+y,f.push(a)}})),f}function me(e,t,r,n,i){var o;o="stack"==n?P(e,t.categories.length):k(e);var a=[];o=o.filter((function(e){return"object"===typeof e&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),o.map((function(e){"object"===typeof e?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){a.push(e)})):a.push(e[1]):a.push(e.value):a.push(e)}));var s=i.min||0,c=i.max||0;a.length>0&&(s=Math.min.apply(this,a),c=Math.max.apply(this,a)),s===c&&(0==c?c=10:s=0);for(var u=S(s,c),f=void 0===i.min||null===i.min?u.minRange:i.min,l=void 0===i.max||null===i.max?u.maxRange:i.max,d=[],h=(l-f)/t.yAxis.splitNumber,p=0;p<=t.yAxis.splitNumber;p++)d.push(f+h*p);return d.reverse()}function xe(e,t,r,n){var i=f({},{type:""},t.extra.column),o=t.yAxis.data.length,a=new Array(o);if(o>0){for(var s=0;s<o;s++){a[s]=[];for(var c=0;c<e.length;c++)e[c].index==s&&a[s].push(e[c])}for(var u=new Array(o),l=new Array(o),d=new Array(o),h=function(e){var o=t.yAxis.data[e];1==t.yAxis.disabled&&(o.disabled=!0),"categories"===o.type?(o.formatter||(o.formatter=function(e,t,r){return e+(o.unit||"")}),o.categories=o.categories||t.categories,u[e]=o.categories):(o.formatter||(o.formatter=function(e,t,r){return e.toFixed(o.tofix)+(o.unit||"")}),u[e]=me(a[e],t,r,i.type,o,e));var s=o.fontSize*t.pix||r.fontSize;d[e]={position:o.position?o.position:"left",width:0},l[e]=u[e].map((function(r,i){return r=o.formatter(r,i,t),d[e].width=Math.max(d[e].width,A(r,s,n)+5),r}));var c=o.calibration?4*t.pix:0;d[e].width+=c+3*t.pix,!0===o.disabled&&(d[e].width=0)},p=0;p<o;p++)h(p)}else{u=new Array(1),l=new Array(1),d=new Array(1);"bar"===t.type?(u[0]=t.categories,t.yAxis.formatter||(t.yAxis.formatter=function(e,t,r){return e+(r.yAxis.unit||"")})):(t.yAxis.formatter||(t.yAxis.formatter=function(e,t,r){return e.toFixed(r.yAxis.tofix)+(r.yAxis.unit||"")}),u[0]=me(e,t,r,i.type,{})),d[0]={position:"left",width:0};var v=t.yAxis.fontSize*t.pix||r.fontSize;l[0]=u[0].map((function(e,r){return e=t.yAxis.formatter(e,r,t),d[0].width=Math.max(d[0].width,A(e,v,n)+5),e})),d[0].width+=3*t.pix,!0===t.yAxis.disabled?(d[0]={position:"left",width:0},t.yAxis.data[0]={disabled:!0}):(t.yAxis.data[0]={disabled:!1,position:"left",max:t.yAxis.max,min:t.yAxis.min,formatter:t.yAxis.formatter},"bar"===t.type&&(t.yAxis.data[0].categories=t.categories,t.yAxis.data[0].type="categories"))}return{rangesFormat:l,ranges:u,yAxisWidth:d}}function we(e,t,r,n,i){for(var o=[].concat(r.chartData.yAxisData.ranges),a=r.height-r.area[0]-r.area[2],s=r.area[0],c=[],u=0;u<o.length;u++){var f=o[u].shift(),l=o[u].pop(),d=f-(f-l)*(e-s)/a;d=r.yAxis.data[u].formatter?r.yAxis.data[u].formatter(d):d.toFixed(0),c.push(String(d))}return c}function _e(e,t){for(var r,n,i=t.height-t.area[0]-t.area[2],o=0;o<e.length;o++){e[o].yAxisIndex=e[o].yAxisIndex?e[o].yAxisIndex:0;var a=[].concat(t.chartData.yAxisData.ranges[e[o].yAxisIndex]);r=a.pop(),n=a.shift();var s=i*(e[o].value-r)/(n-r);e[o].y=t.height-Math.round(s)-t.area[2]}return e}function Se(e,t){!0!==t.rotateLock?(e.translate(t.height,0),e.rotate(90*Math.PI/180)):!0!==t._rotate_&&(e.translate(t.height,0),e.rotate(90*Math.PI/180),t._rotate_=!0)}function Ae(e,t,r,n,i){if(n.beginPath(),"hollow"==i.dataPointShapeType?(n.setStrokeStyle(t),n.setFillStyle(i.background),n.setLineWidth(2*i.pix)):(n.setStrokeStyle("#ffffff"),n.setFillStyle(t),n.setLineWidth(1*i.pix)),"diamond"===r)e.forEach((function(e,t){null!==e&&(n.moveTo(e.x,e.y-4.5),n.lineTo(e.x-4.5,e.y),n.lineTo(e.x,e.y+4.5),n.lineTo(e.x+4.5,e.y),n.lineTo(e.x,e.y-4.5))}));else if("circle"===r)e.forEach((function(e,t){null!==e&&(n.moveTo(e.x+2.5*i.pix,e.y),n.arc(e.x,e.y,3*i.pix,0,2*Math.PI,!1))}));else if("square"===r)e.forEach((function(e,t){null!==e&&(n.moveTo(e.x-3.5,e.y-3.5),n.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===r)e.forEach((function(e,t){null!==e&&(n.moveTo(e.x,e.y-4.5),n.lineTo(e.x-4.5,e.y+4.5),n.lineTo(e.x+4.5,e.y+4.5),n.lineTo(e.x,e.y-4.5))}));else if("triangle"===r)return;n.closePath(),n.fill(),n.stroke()}function ke(e,t,r,n){var i=e.title.fontSize||t.titleFontSize,o=e.subtitle.fontSize||t.subtitleFontSize,a=e.title.name||"",s=e.subtitle.name||"",c=e.title.color||e.fontColor,u=e.subtitle.color||e.fontColor,f=a?i:0,l=s?o:0,d=5;if(s){var h=A(s,o*e.pix,r),p=n.x-h/2+(e.subtitle.offsetX||0)*e.pix,v=n.y+o*e.pix/2+(e.subtitle.offsetY||0)*e.pix;a&&(v+=(f*e.pix+d)/2),r.beginPath(),r.setFontSize(o*e.pix),r.setFillStyle(u),r.fillText(s,p,v),r.closePath(),r.stroke()}if(a){var g=A(a,i*e.pix,r),y=n.x-g/2+(e.title.offsetX||0),b=n.y+i*e.pix/2+(e.title.offsetY||0)*e.pix;s&&(b-=(l*e.pix+d)/2),r.beginPath(),r.setFontSize(i*e.pix),r.setFillStyle(c),r.fillText(a,y,b),r.closePath(),r.stroke()}}function Pe(e,t,r,n,i){var o=t.data,a=t.textOffset?t.textOffset:0;e.forEach((function(e,s){if(null!==e){n.beginPath();var c=t.textSize?t.textSize*i.pix:r.fontSize;n.setFontSize(c),n.setFillStyle(t.textColor||i.fontColor);var u=o[s];"object"===typeof o[s]&&null!==o[s]&&(u=o[s].constructor.toString().indexOf("Array")>-1?o[s][1]:o[s].value);var f=t.formatter?t.formatter(u,s,t,i):u;n.setTextAlign("center"),n.fillText(String(f),e.x,e.y-4+a*i.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function Me(e,t,r,n,i){t.data;var o=t.textOffset?t.textOffset:0;e.forEach((function(e,a){if(null!==e){n.beginPath();var s=t[a].textSize?t[a].textSize*i.pix:r.fontSize;n.setFontSize(s),n.setFillStyle(t[a].textColor||i.fontColor);var c=e.value,u=t[a].formatter?t[a].formatter(c,a,t,i):c;n.setTextAlign("center"),n.fillText(String(u),e.x,e.y-4+o*i.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function Ee(e,t,r,n,i){var o=t.data;t.textOffset&&t.textOffset;e.forEach((function(e,a){if(null!==e){n.beginPath();var s=t.textSize?t.textSize*i.pix:r.fontSize;n.setFontSize(s),n.setFillStyle(t.textColor||i.fontColor);var c=o[a];"object"===typeof o[a]&&null!==o[a]&&(c=o[a].value);var u=t.formatter?t.formatter(c,a,t,i):c;n.setTextAlign("left"),n.fillText(String(u),e.x+4*i.pix,e.y+s/2-3),n.closePath(),n.stroke()}}))}function Oe(e,t,r,n,i,o){t-=e.width/2+e.labelOffset*n.pix,t=t<10?10:t;for(var a=e.startAngle-e.endAngle+1,s=a/e.splitLine.splitNumber,c=e.endNumber-e.startNumber,u=c/e.splitLine.splitNumber,f=e.startAngle,l=e.startNumber,d=0;d<e.splitLine.splitNumber+1;d++){var h={x:t*Math.cos(f*Math.PI),y:t*Math.sin(f*Math.PI)},p=e.formatter?e.formatter(l,d,n):l;h.x+=r.x-A(p,i.fontSize,o)/2,h.y+=r.y;var v=h.x,g=h.y;o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(e.labelColor||n.fontColor),o.fillText(p,v,g+i.fontSize/2),o.closePath(),o.stroke(),f+=s,f>=2&&(f%=2),l+=u}}function Te(e,t,r,n,i,o){var a=n.extra.radar||{};e.forEach((function(e,s){if(!0===a.labelPointShow&&""!==n.categories[s]){var c={x:t*Math.cos(e),y:t*Math.sin(e)},u=b(c.x,c.y,r);o.setFillStyle(a.labelPointColor),o.beginPath(),o.arc(u.x,u.y,a.labelPointRadius*n.pix,0,2*Math.PI,!1),o.closePath(),o.fill()}var f={x:(t+i.radarLabelTextMargin*n.pix)*Math.cos(e),y:(t+i.radarLabelTextMargin*n.pix)*Math.sin(e)},d=b(f.x,f.y,r),h=d.x,p=d.y;l.approximatelyEqual(f.x,0)?h-=A(n.categories[s]||"",i.fontSize,o)/2:f.x<0&&(h-=A(n.categories[s]||"",i.fontSize,o)),o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(a.labelColor||n.fontColor),o.fillText(n.categories[s]||"",h,p+i.fontSize/2),o.closePath(),o.stroke()}))}function Ce(e,t,r,n,i,o){for(var a=r.pieChartLinePadding,s=[],c=null,u=e.map((function(r,n){var i=r.formatter?r.formatter(r,n,e,t):l.toFixed(100*r._proportion_.toFixed(4))+"%";i=r.labelText?r.labelText:i;var o=2*Math.PI-(r._start_+2*Math.PI*r._proportion_/2);r._rose_proportion_&&(o=2*Math.PI-(r._start_+2*Math.PI*r._rose_proportion_/2));var a=r.color,s=r._radius_;return{arc:o,text:i,color:a,radius:s,textColor:r.textColor,textSize:r.textSize,labelShow:r.labelShow}})),f=0;f<u.length;f++){var d=u[f],h=Math.cos(d.arc)*(d.radius+a),p=Math.sin(d.arc)*(d.radius+a),v=Math.cos(d.arc)*d.radius,g=Math.sin(d.arc)*d.radius,y=h>=0?h+r.pieChartTextPadding:h-r.pieChartTextPadding,x=p,w=A(d.text,d.textSize*t.pix||r.fontSize,n),_=x;c&&l.isSameXCoordinateArea(c.start,{x:y})&&(_=y>0?Math.min(x,c.start.y):h<0||x>0?Math.max(x,c.start.y):Math.min(x,c.start.y)),y<0&&(y-=w);var S={lineStart:{x:v,y:g},lineEnd:{x:h,y:p},start:{x:y,y:_},width:w,height:r.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};c=m(S,c),s.push(c)}for(var k=0;k<s.length;k++)if(!1!==u[k].labelShow){var P=s[k],M=b(P.lineStart.x,P.lineStart.y,o),E=b(P.lineEnd.x,P.lineEnd.y,o),O=b(P.start.x,P.start.y,o);n.setLineWidth(1*t.pix),n.setFontSize(P.textSize*t.pix||r.fontSize),n.beginPath(),n.setStrokeStyle(P.color),n.setFillStyle(P.color),n.moveTo(M.x,M.y);var T=P.start.x<0?O.x+P.width:O.x,C=P.start.x<0?O.x-5:O.x+5;n.quadraticCurveTo(E.x,E.y,T,O.y),n.moveTo(M.x,M.y),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(O.x+P.width,O.y),n.arc(T,O.y,2*t.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(P.textSize*t.pix||r.fontSize),n.setFillStyle(P.textColor||t.fontColor),n.fillText(P.text,C,O.y+3),n.closePath(),n.stroke(),n.closePath()}}function Ie(e,t,r,n){var i=t.extra.tooltip||{};i.gridType=void 0==i.gridType?"solid":i.gridType,i.dashLength=void 0==i.dashLength?4:i.dashLength;var o=t.area[0],a=t.height-t.area[2];if("dash"==i.gridType&&n.setLineDash([i.dashLength,i.dashLength]),n.setStrokeStyle(i.gridColor||"#cccccc"),n.setLineWidth(1*t.pix),n.beginPath(),n.moveTo(e,o),n.lineTo(e,a),n.stroke(),n.setLineDash([]),i.xAxisLabel){var s=t.categories[t.tooltip.index];n.setFontSize(r.fontSize);var c=A(s,r.fontSize,n),u=e-.5*c,f=a;n.beginPath(),n.setFillStyle(d(i.labelBgColor||r.toolTipBackground,i.labelBgOpacity||r.toolTipOpacity)),n.setStrokeStyle(i.labelBgColor||r.toolTipBackground),n.setLineWidth(1*t.pix),n.rect(u-r.toolTipPadding,f,c+2*r.toolTipPadding,r.fontSize+2*r.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(r.fontSize),n.setFillStyle(i.labelFontColor||t.fontColor),n.fillText(String(s),u,f+r.toolTipPadding+r.fontSize),n.closePath(),n.stroke()}}function je(e,t,r){for(var n=f({},{type:"solid",dashLength:4,data:[]},e.extra.markLine),i=e.area[3],o=e.width-e.area[1],a=_e(n.data,e),s=0;s<a.length;s++){var c=f({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},a[s]);if("dash"==n.type&&r.setLineDash([n.dashLength,n.dashLength]),r.setStrokeStyle(c.lineColor),r.setLineWidth(1*e.pix),r.beginPath(),r.moveTo(i,c.y),r.lineTo(o,c.y),r.stroke(),r.setLineDash([]),c.showLabel){var u=c.labelText?c.labelText:c.value;r.setFontSize(t.fontSize);var l=A(u,t.fontSize,r),h=l+2*t.toolTipPadding,p="left"==c.labelAlign?e.area[3]-h:e.width-e.area[1];p+=c.labelOffsetX;var v=c.y-.5*t.fontSize-t.toolTipPadding;v+=c.labelOffsetY;var g=p+t.toolTipPadding;c.y;r.setFillStyle(d(c.labelBgColor,c.labelBgOpacity)),r.setStrokeStyle(c.labelBgColor),r.setLineWidth(1*e.pix),r.beginPath(),r.rect(p,v,h,t.fontSize+2*t.toolTipPadding),r.closePath(),r.stroke(),r.fill(),r.setFontSize(t.fontSize),r.setTextAlign("left"),r.setFillStyle(c.labelFontColor),r.fillText(String(u),g,v+t.fontSize+t.toolTipPadding/2),r.stroke(),r.setTextAlign("left")}}}function Be(e,t,r,n,i){var o=f({},{gridType:"solid",dashLength:4},e.extra.tooltip),a=e.area[3],s=e.width-e.area[1];if("dash"==o.gridType&&r.setLineDash([o.dashLength,o.dashLength]),r.setStrokeStyle(o.gridColor||"#cccccc"),r.setLineWidth(1*e.pix),r.beginPath(),r.moveTo(a,e.tooltip.offset.y),r.lineTo(s,e.tooltip.offset.y),r.stroke(),r.setLineDash([]),o.yAxisLabel)for(var c=we(e.tooltip.offset.y,e.series,e,t,n),u=e.chartData.yAxisData.yAxisWidth,l=e.area[3],h=e.width-e.area[1],p=0;p<c.length;p++){r.setFontSize(t.fontSize);var v=A(c[p],t.fontSize,r),g=void 0,y=void 0,b=void 0;"left"==u[p].position?(g=l-u[p].width,y=Math.max(g,g+v+2*t.toolTipPadding)):(g=h,y=Math.max(g+u[p].width,g+v+2*t.toolTipPadding)),b=y-g;var m=g+(b-v)/2,x=e.tooltip.offset.y;r.beginPath(),r.setFillStyle(d(o.labelBgColor||t.toolTipBackground,o.labelBgOpacity||t.toolTipOpacity)),r.setStrokeStyle(o.labelBgColor||t.toolTipBackground),r.setLineWidth(1*e.pix),r.rect(g,x-.5*t.fontSize-t.toolTipPadding,b,t.fontSize+2*t.toolTipPadding),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(t.fontSize),r.setFillStyle(o.labelFontColor||e.fontColor),r.fillText(c[p],m,x+.5*t.fontSize),r.closePath(),r.stroke(),"left"==u[p].position?l-=u[p].width+e.yAxis.padding*e.pix:h+=u[p].width+e.yAxis.padding*e.pix}}function De(e,t,r,n,i){var o=f({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:i},t.extra.column);o.activeWidth=o.activeWidth>i?i:o.activeWidth;var a=t.area[0],s=t.height-t.area[2];n.beginPath(),n.setFillStyle(d(o.activeBgColor,o.activeBgOpacity)),n.rect(e-o.activeWidth/2,a,o.activeWidth,s-a),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function Le(e,t,r,n,i){var o=f({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.bar),a=t.area[3],s=t.width-t.area[1];n.beginPath(),n.setFillStyle(d(o.activeBgColor,o.activeBgOpacity)),n.rect(a,e-i/2,s-a,i),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function Fe(e,t,r,n,i,o,a){var s=f({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},r.extra.tooltip);1==s.showCategory&&r.categories&&e.unshift({text:r.categories[r.tooltip.index],color:null});var c=4*r.pix,u=5*r.pix,l=s.showArrow?8*r.pix:0,h=!1;"line"!=r.type&&"mount"!=r.type&&"area"!=r.type&&"candle"!=r.type&&"mix"!=r.type||1==s.splitLine&&Ie(r.tooltip.offset.x,r,n,i),t=f({x:0,y:0},t),t.y-=8*r.pix;var p=e.map((function(e){return A(e.text,n.fontSize,i)})),v=c+u+4*n.toolTipPadding+Math.max.apply(null,p),g=2*n.toolTipPadding+e.length*n.toolTipLineHeight;if(0!=s.showBox){t.x-Math.abs(r._scrollDistance_||0)+l+v>r.width&&(h=!0),g+t.y>r.height&&(t.y=r.height-g),i.beginPath(),i.setFillStyle(d(s.bgColor||n.toolTipBackground,s.bgOpacity||n.toolTipOpacity)),i.setLineWidth(s.borderWidth*r.pix),i.setStrokeStyle(d(s.borderColor,s.borderOpacity));var y=s.borderRadius;h?(s.showArrow&&(i.moveTo(t.x,t.y+10*r.pix),i.lineTo(t.x-l,t.y+10*r.pix+5*r.pix)),i.arc(t.x-l-y,t.y+g-y,y,0,Math.PI/2,!1),i.arc(t.x-l-Math.round(v)+y,t.y+g-y,y,Math.PI/2,Math.PI,!1),i.arc(t.x-l-Math.round(v)+y,t.y+y,y,-Math.PI,-Math.PI/2,!1),i.arc(t.x-l-y,t.y+y,y,-Math.PI/2,0,!1),s.showArrow&&(i.lineTo(t.x-l,t.y+10*r.pix-5*r.pix),i.lineTo(t.x,t.y+10*r.pix))):(s.showArrow&&(i.moveTo(t.x,t.y+10*r.pix),i.lineTo(t.x+l,t.y+10*r.pix-5*r.pix)),i.arc(t.x+l+y,t.y+y,y,-Math.PI,-Math.PI/2,!1),i.arc(t.x+l+Math.round(v)-y,t.y+y,y,-Math.PI/2,0,!1),i.arc(t.x+l+Math.round(v)-y,t.y+g-y,y,0,Math.PI/2,!1),i.arc(t.x+l+y,t.y+g-y,y,Math.PI/2,Math.PI,!1),s.showArrow&&(i.lineTo(t.x+l,t.y+10*r.pix+5*r.pix),i.lineTo(t.x,t.y+10*r.pix))),i.closePath(),i.fill(),s.borderWidth>0&&i.stroke(),e.forEach((function(e,r){if(null!==e.color){i.beginPath(),i.setFillStyle(e.color);var o=t.x+l+2*n.toolTipPadding,a=t.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*r+n.toolTipPadding+1;h&&(o=t.x-v-l+2*n.toolTipPadding),i.fillRect(o,a,c,n.fontSize),i.closePath()}})),e.forEach((function(e,r){var o=t.x+l+2*n.toolTipPadding+c+u;h&&(o=t.x-v-l+2*n.toolTipPadding+ +c+u);var a=t.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*r+n.toolTipPadding;i.beginPath(),i.setFontSize(n.fontSize),i.setFillStyle(s.fontColor),i.fillText(e.text,o,a+n.fontSize),i.closePath(),i.stroke()}))}}function Re(e,t,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=f({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.column),l=[];i.save();var h=-2,p=s.length+2;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(i.translate(t._scrollDistance_,0),h=Math.floor(-t._scrollDistance_/c)-2,p=h+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===o&&De(t.tooltip.offset.x,t,r,i,c),u.customColor=_(u.linearType,u.customColor,e,r),e.forEach((function(a,f){var v,g,y;v=[].concat(t.chartData.yAxisData.ranges[a.index]),g=v.pop(),y=v.shift();var b=a.data;switch(u.type){case"group":var m=pe(b,g,y,s,c,t,r,o),x=ye(b,g,y,s,c,t,r,f,e,o);l.push(x),m=se(m,c,e.length,f,r,t);for(var w=0;w<m.length;w++){var _=m[w];if(null!==_&&w>h&&w<p){var S=_.x-_.width/2,A=t.height-_.y-t.area[2];i.beginPath();var k=_.color||a.color,P=_.color||a.color;if("none"!==u.linearType){var M=i.createLinearGradient(S,_.y,S,t.height-t.area[2]);"opacity"==u.linearType?(M.addColorStop(0,d(k,u.linearOpacity)),M.addColorStop(1,d(k,1))):(M.addColorStop(0,d(u.customColor[a.linearIndex],u.linearOpacity)),M.addColorStop(u.colorStop,d(u.customColor[a.linearIndex],u.linearOpacity)),M.addColorStop(1,d(k,1))),k=M}if(u.barBorderRadius&&4===u.barBorderRadius.length||!0===u.barBorderCircle){var E=S,O=_.y,T=_.width,C=t.height-t.area[2]-_.y;u.barBorderCircle&&(u.barBorderRadius=[T/2,T/2,0,0]);var I=n(u.barBorderRadius,4),j=I[0],B=I[1],D=I[2],L=I[3],F=Math.min(T/2,C/2);j=j>F?F:j,B=B>F?F:B,D=D>F?F:D,L=L>F?F:L,j=j<0?0:j,B=B<0?0:B,D=D<0?0:D,L=L<0?0:L,i.arc(E+j,O+j,j,-Math.PI,-Math.PI/2),i.arc(E+T-B,O+B,B,-Math.PI/2,0),i.arc(E+T-D,O+C-D,D,0,Math.PI/2),i.arc(E+L,O+C-L,L,Math.PI/2,Math.PI)}else i.moveTo(S,_.y),i.lineTo(S+_.width,_.y),i.lineTo(S+_.width,t.height-t.area[2]),i.lineTo(S,t.height-t.area[2]),i.lineTo(S,_.y),i.setLineWidth(1),i.setStrokeStyle(P);i.setFillStyle(k),i.closePath(),i.fill()}}break;case"stack":m=ye(b,g,y,s,c,t,r,f,e,o);l.push(m),m=fe(m,c,e.length,f,r,t,e);for(var R=0;R<m.length;R++){var N=m[R];if(null!==N&&R>h&&R<p){i.beginPath();k=N.color||a.color,S=N.x-N.width/2+1,A=t.height-N.y-t.area[2];var z=t.height-N.y0-t.area[2];f>0&&(A-=z),i.setFillStyle(k),i.moveTo(S,N.y),i.fillRect(S,N.y,N.width,A),i.closePath(),i.fill()}}break;case"meter":m=pe(b,g,y,s,c,t,r,o);l.push(m),m=ue(m,c,e.length,f,r,t,u.meterBorder);for(var U=0;U<m.length;U++){var q=m[U];if(null!==q&&U>h&&U<p){i.beginPath(),0==f&&u.meterBorder>0&&(i.setStrokeStyle(a.color),i.setLineWidth(u.meterBorder*t.pix)),0==f?i.setFillStyle(u.meterFillColor):i.setFillStyle(q.color||a.color);S=q.x-q.width/2,A=t.height-q.y-t.area[2];if(u.barBorderRadius&&4===u.barBorderRadius.length||!0===u.barBorderCircle){var $=S,H=q.y,W=q.width,Q=t.height-t.area[2]-q.y;u.barBorderCircle&&(u.barBorderRadius=[W/2,W/2,0,0]);var V=n(u.barBorderRadius,4),K=V[0],G=V[1],X=V[2],Y=V[3],J=Math.min(W/2,Q/2);K=K>J?J:K,G=G>J?J:G,X=X>J?J:X,Y=Y>J?J:Y,K=K<0?0:K,G=G<0?0:G,X=X<0?0:X,Y=Y<0?0:Y,i.arc($+K,H+K,K,-Math.PI,-Math.PI/2),i.arc($+W-G,H+G,G,-Math.PI/2,0),i.arc($+W-X,H+Q-X,X,0,Math.PI/2),i.arc($+Y,H+Q-Y,Y,Math.PI/2,Math.PI),i.fill()}else i.moveTo(S,q.y),i.lineTo(S+q.width,q.y),i.lineTo(S+q.width,t.height-t.area[2]),i.lineTo(S,t.height-t.area[2]),i.lineTo(S,q.y),i.fill();0==f&&u.meterBorder>0&&(i.closePath(),i.stroke())}}break}})),!1!==t.dataLabel&&1===o&&e.forEach((function(n,a){var f,l,d;f=[].concat(t.chartData.yAxisData.ranges[n.index]),l=f.pop(),d=f.shift();var h=n.data;switch(u.type){case"group":var p=pe(h,l,d,s,c,t,r,o);p=se(p,c,e.length,a,r,t),Pe(p,n,r,i,t);break;case"stack":p=ye(h,l,d,s,c,t,r,a,e,o);Pe(p,n,r,i,t);break;case"meter":p=pe(h,l,d,s,c,t,r,o);Pe(p,n,r,i,t);break}})),i.restore(),{xAxisPoints:s,calPoints:l,eachSpacing:c}}function Ne(e,t,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=f({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mount);u.widthRatio=u.widthRatio<=0?0:u.widthRatio,u.widthRatio=u.widthRatio>=2?2:u.widthRatio;i.save();var l,h,p,v=-2,g=s.length+2;t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(i.translate(t._scrollDistance_,0),v=Math.floor(-t._scrollDistance_/c)-2,g=v+t.xAxis.itemCount+4),u.customColor=_(u.linearType,u.customColor,e,r),l=[].concat(t.chartData.yAxisData.ranges[0]),h=l.pop(),p=l.shift();var y=ve(e,h,p,s,c,t,u,o);switch(u.type){case"bar":for(var b=0;b<y.length;b++){var m=y[b];if(null!==m&&b>v&&b<g){var x=m.x-c*u.widthRatio/2,w=t.height-m.y-t.area[2];i.beginPath();var S=m.color||e[b].color,A=m.color||e[b].color;if("none"!==u.linearType){var k=i.createLinearGradient(x,m.y,x,t.height-t.area[2]);"opacity"==u.linearType?(k.addColorStop(0,d(S,u.linearOpacity)),k.addColorStop(1,d(S,1))):(k.addColorStop(0,d(u.customColor[e[b].linearIndex],u.linearOpacity)),k.addColorStop(u.colorStop,d(u.customColor[e[b].linearIndex],u.linearOpacity)),k.addColorStop(1,d(S,1))),S=k}if(u.barBorderRadius&&4===u.barBorderRadius.length||!0===u.barBorderCircle){var P=x,M=m.y,E=m.width,O=t.height-t.area[2]-m.y-u.borderWidth*t.pix/2;u.barBorderCircle&&(u.barBorderRadius=[E/2,E/2,0,0]);var T=n(u.barBorderRadius,4),C=T[0],I=T[1],j=T[2],B=T[3],D=Math.min(E/2,O/2);C=C>D?D:C,I=I>D?D:I,j=j>D?D:j,B=B>D?D:B,C=C<0?0:C,I=I<0?0:I,j=j<0?0:j,B=B<0?0:B,i.arc(P+C,M+C,C,-Math.PI,-Math.PI/2),i.arc(P+E-I,M+I,I,-Math.PI/2,0),i.arc(P+E-j,M+O-j,j,0,Math.PI/2),i.arc(P+B,M+O-B,B,Math.PI/2,Math.PI)}else i.moveTo(x,m.y),i.lineTo(x+m.width,m.y),i.lineTo(x+m.width,t.height-t.area[2]),i.lineTo(x,t.height-t.area[2]),i.lineTo(x,m.y);i.setStrokeStyle(A),i.setFillStyle(S),u.borderWidth>0&&(i.setLineWidth(u.borderWidth*t.pix),i.closePath(),i.stroke()),i.fill()}}break;case"triangle":for(var L=0;L<y.length;L++){var F=y[L];if(null!==F&&L>v&&L<g){x=F.x-c*u.widthRatio/2,w=t.height-F.y-t.area[2];i.beginPath();S=F.color||e[L].color,A=F.color||e[L].color;if("none"!==u.linearType){k=i.createLinearGradient(x,F.y,x,t.height-t.area[2]);"opacity"==u.linearType?(k.addColorStop(0,d(S,u.linearOpacity)),k.addColorStop(1,d(S,1))):(k.addColorStop(0,d(u.customColor[e[L].linearIndex],u.linearOpacity)),k.addColorStop(u.colorStop,d(u.customColor[e[L].linearIndex],u.linearOpacity)),k.addColorStop(1,d(S,1))),S=k}i.moveTo(x,t.height-t.area[2]),i.lineTo(F.x,F.y),i.lineTo(x+F.width,t.height-t.area[2]),i.setStrokeStyle(A),i.setFillStyle(S),u.borderWidth>0&&(i.setLineWidth(u.borderWidth*t.pix),i.stroke()),i.fill()}}break;case"mount":for(var R=0;R<y.length;R++){var N=y[R];if(null!==N&&R>v&&R<g){x=N.x-c*u.widthRatio/2,w=t.height-N.y-t.area[2];i.beginPath();S=N.color||e[R].color,A=N.color||e[R].color;if("none"!==u.linearType){k=i.createLinearGradient(x,N.y,x,t.height-t.area[2]);"opacity"==u.linearType?(k.addColorStop(0,d(S,u.linearOpacity)),k.addColorStop(1,d(S,1))):(k.addColorStop(0,d(u.customColor[e[R].linearIndex],u.linearOpacity)),k.addColorStop(u.colorStop,d(u.customColor[e[R].linearIndex],u.linearOpacity)),k.addColorStop(1,d(S,1))),S=k}i.moveTo(x,t.height-t.area[2]),i.bezierCurveTo(N.x-N.width/4,t.height-t.area[2],N.x-N.width/4,N.y,N.x,N.y),i.bezierCurveTo(N.x+N.width/4,N.y,N.x+N.width/4,t.height-t.area[2],x+N.width,t.height-t.area[2]),i.setStrokeStyle(A),i.setFillStyle(S),u.borderWidth>0&&(i.setLineWidth(u.borderWidth*t.pix),i.stroke()),i.fill()}}break;case"sharp":for(var z=0;z<y.length;z++){var U=y[z];if(null!==U&&z>v&&z<g){x=U.x-c*u.widthRatio/2,w=t.height-U.y-t.area[2];i.beginPath();S=U.color||e[z].color,A=U.color||e[z].color;if("none"!==u.linearType){k=i.createLinearGradient(x,U.y,x,t.height-t.area[2]);"opacity"==u.linearType?(k.addColorStop(0,d(S,u.linearOpacity)),k.addColorStop(1,d(S,1))):(k.addColorStop(0,d(u.customColor[e[z].linearIndex],u.linearOpacity)),k.addColorStop(u.colorStop,d(u.customColor[e[z].linearIndex],u.linearOpacity)),k.addColorStop(1,d(S,1))),S=k}i.moveTo(x,t.height-t.area[2]),i.quadraticCurveTo(U.x-0,t.height-t.area[2]-w/4,U.x,U.y),i.quadraticCurveTo(U.x+0,t.height-t.area[2]-w/4,x+U.width,t.height-t.area[2]),i.setStrokeStyle(A),i.setFillStyle(S),u.borderWidth>0&&(i.setLineWidth(u.borderWidth*t.pix),i.stroke()),i.fill()}}break}if(!1!==t.dataLabel&&1===o){var q,$,H;q=[].concat(t.chartData.yAxisData.ranges[0]),$=q.pop(),H=q.shift();y=ve(e,$,H,s,c,t,u,o);Me(y,e,r,i,t)}return i.restore(),{xAxisPoints:s,calPoints:y,eachSpacing:c}}function ze(e,t,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=[],s=(t.height-t.area[0]-t.area[2])/t.categories.length,c=0;c<t.categories.length;c++)a.push(t.area[0]+s/2+s*c);var u=f({},{type:"group",width:s/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.bar),l=[];i.save();var h=-2,p=a.length+2;return t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===o&&Le(t.tooltip.offset.y,t,r,i,s),u.customColor=_(u.linearType,u.customColor,e,r),e.forEach((function(c,f){var v,g,y;v=[].concat(t.chartData.xAxisData.ranges),y=v.pop(),g=v.shift();var b=c.data;switch(u.type){case"group":var m=ge(b,g,y,a,s,t,r,o),x=be(b,g,y,a,s,t,r,f,e,o);l.push(x),m=ce(m,s,e.length,f,r,t);for(var w=0;w<m.length;w++){var _=m[w];if(null!==_&&w>h&&w<p){var S=t.area[3],A=_.y-_.width/2;_.height;i.beginPath();var k=_.color||c.color,P=_.color||c.color;if("none"!==u.linearType){var M=i.createLinearGradient(S,_.y,_.x,_.y);"opacity"==u.linearType?(M.addColorStop(0,d(k,u.linearOpacity)),M.addColorStop(1,d(k,1))):(M.addColorStop(0,d(u.customColor[c.linearIndex],u.linearOpacity)),M.addColorStop(u.colorStop,d(u.customColor[c.linearIndex],u.linearOpacity)),M.addColorStop(1,d(k,1))),k=M}if(u.barBorderRadius&&4===u.barBorderRadius.length||!0===u.barBorderCircle){var E=S,O=_.width,T=_.y-_.width/2,C=_.height;u.barBorderCircle&&(u.barBorderRadius=[O/2,O/2,0,0]);var I=n(u.barBorderRadius,4),j=I[0],B=I[1],D=I[2],L=I[3],F=Math.min(O/2,C/2);j=j>F?F:j,B=B>F?F:B,D=D>F?F:D,L=L>F?F:L,j=j<0?0:j,B=B<0?0:B,D=D<0?0:D,L=L<0?0:L,i.arc(E+L,T+L,L,-Math.PI,-Math.PI/2),i.arc(_.x-j,T+j,j,-Math.PI/2,0),i.arc(_.x-B,T+O-B,B,0,Math.PI/2),i.arc(E+D,T+O-D,D,Math.PI/2,Math.PI)}else i.moveTo(S,A),i.lineTo(_.x,A),i.lineTo(_.x,A+_.width),i.lineTo(S,A+_.width),i.lineTo(S,A),i.setLineWidth(1),i.setStrokeStyle(P);i.setFillStyle(k),i.closePath(),i.fill()}}break;case"stack":m=be(b,g,y,a,s,t,r,f,e,o);l.push(m),m=le(m,s,e.length,f,r,t,e);for(var R=0;R<m.length;R++){var N=m[R];if(null!==N&&R>h&&R<p){i.beginPath();k=N.color||c.color,S=N.x0;i.setFillStyle(k),i.moveTo(S,N.y-N.width/2),i.fillRect(S,N.y-N.width/2,N.height,N.width),i.closePath(),i.fill()}}break}})),!1!==t.dataLabel&&1===o&&e.forEach((function(n,c){var f,l,d;f=[].concat(t.chartData.xAxisData.ranges),d=f.pop(),l=f.shift();var h=n.data;switch(u.type){case"group":var p=ge(h,l,d,a,s,t,r,o);p=ce(p,s,e.length,c,r,t),Ee(p,n,r,i,t);break;case"stack":p=be(h,l,d,a,s,t,r,c,e,o);Ee(p,n,r,i,t);break}})),{yAxisPoints:a,calPoints:l,eachSpacing:s}}function Ue(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=f({},{color:{},average:{}},r.extra.candle);a.color=f({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},a.color),a.average=f({},{show:!1,name:[],day:[],color:n.color},a.average),r.extra.candle=a;var s=r.chartData.xAxisData,c=s.xAxisPoints,u=s.eachSpacing,l=[];i.save();var d=-2,h=c.length+2,p=0,v=r.width+u;return r._scrollDistance_&&0!==r._scrollDistance_&&!0===r.enableScroll&&(i.translate(r._scrollDistance_,0),d=Math.floor(-r._scrollDistance_/u)-2,h=d+r.xAxis.itemCount+4,p=-r._scrollDistance_-2*u+r.area[3],v=p+(r.xAxis.itemCount+4)*u),(a.average.show||t)&&t.forEach((function(e,t){var a,s,f;a=[].concat(r.chartData.yAxisData.ranges[e.index]),s=a.pop(),f=a.shift();for(var l=e.data,d=pe(l,s,f,c,u,r,n,o),h=V(d,e),g=0;g<h.length;g++){var b=h[g];if(i.beginPath(),i.setStrokeStyle(e.color),i.setLineWidth(1),1===b.length)i.moveTo(b[0].x,b[0].y),i.arc(b[0].x,b[0].y,1,0,2*Math.PI);else{i.moveTo(b[0].x,b[0].y);for(var m=0,x=0;x<b.length;x++){var w=b[x];if(0==m&&w.x>p&&(i.moveTo(w.x,w.y),m=1),x>0&&w.x>p&&w.x<v){var _=y(b,x-1);i.bezierCurveTo(_.ctrA.x,_.ctrA.y,_.ctrB.x,_.ctrB.y,w.x,w.y)}}i.moveTo(b[0].x,b[0].y)}i.closePath(),i.stroke()}})),e.forEach((function(e,t){var s,f,p;s=[].concat(r.chartData.yAxisData.ranges[e.index]),f=s.pop(),p=s.shift();var v=e.data,g=he(v,f,p,c,u,r,n,o);l.push(g);for(var y=V(g,e),b=0;b<y[0].length;b++)if(b>d&&b<h){var m=y[0][b];i.beginPath(),v[b][1]-v[b][0]>0?(i.setStrokeStyle(a.color.upLine),i.setFillStyle(a.color.upFill),i.setLineWidth(1*r.pix),i.moveTo(m[3].x,m[3].y),i.lineTo(m[1].x,m[1].y),i.lineTo(m[1].x-u/4,m[1].y),i.lineTo(m[0].x-u/4,m[0].y),i.lineTo(m[0].x,m[0].y),i.lineTo(m[2].x,m[2].y),i.lineTo(m[0].x,m[0].y),i.lineTo(m[0].x+u/4,m[0].y),i.lineTo(m[1].x+u/4,m[1].y),i.lineTo(m[1].x,m[1].y),i.moveTo(m[3].x,m[3].y)):(i.setStrokeStyle(a.color.downLine),i.setFillStyle(a.color.downFill),i.setLineWidth(1*r.pix),i.moveTo(m[3].x,m[3].y),i.lineTo(m[0].x,m[0].y),i.lineTo(m[0].x-u/4,m[0].y),i.lineTo(m[1].x-u/4,m[1].y),i.lineTo(m[1].x,m[1].y),i.lineTo(m[2].x,m[2].y),i.lineTo(m[1].x,m[1].y),i.lineTo(m[1].x+u/4,m[1].y),i.lineTo(m[0].x+u/4,m[0].y),i.lineTo(m[0].x,m[0].y),i.moveTo(m[3].x,m[3].y)),i.closePath(),i.fill(),i.stroke()}})),i.restore(),{xAxisPoints:c,calPoints:l,eachSpacing:u}}function qe(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},t.extra.area),a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=t.height-t.area[2],l=[];n.save();var h=0,p=t.width+c;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(n.translate(t._scrollDistance_,0),h=-t._scrollDistance_-2*c+t.area[3],p=h+(t.xAxis.itemCount+4)*c),e.forEach((function(e,a){var f,v,g;f=[].concat(t.chartData.yAxisData.ranges[e.index]),v=f.pop(),g=f.shift();var b=e.data,m=pe(b,v,g,s,c,t,r,i);l.push(m);for(var x=V(m,e),w=0;w<x.length;w++){var _=x[w];if(n.beginPath(),n.setStrokeStyle(d(e.color,o.opacity)),o.gradient){var S=n.createLinearGradient(0,t.area[0],0,t.height-t.area[2]);S.addColorStop("0",d(e.color,o.opacity)),S.addColorStop("1.0",d("#FFFFFF",.1)),n.setFillStyle(S)}else n.setFillStyle(d(e.color,o.opacity));if(n.setLineWidth(o.width*t.pix),_.length>1){var A=_[0],k=_[_.length-1];n.moveTo(A.x,A.y);var P=0;if("curve"===o.type)for(var M=0;M<_.length;M++){var E=_[M];if(0==P&&E.x>h&&(n.moveTo(E.x,E.y),P=1),M>0&&E.x>h&&E.x<p){var O=y(_,M-1);n.bezierCurveTo(O.ctrA.x,O.ctrA.y,O.ctrB.x,O.ctrB.y,E.x,E.y)}}if("straight"===o.type)for(var T=0;T<_.length;T++){var C=_[T];0==P&&C.x>h&&(n.moveTo(C.x,C.y),P=1),T>0&&C.x>h&&C.x<p&&n.lineTo(C.x,C.y)}if("step"===o.type)for(var I=0;I<_.length;I++){var j=_[I];0==P&&j.x>h&&(n.moveTo(j.x,j.y),P=1),I>0&&j.x>h&&j.x<p&&(n.lineTo(j.x,_[I-1].y),n.lineTo(j.x,j.y))}n.lineTo(k.x,u),n.lineTo(A.x,u),n.lineTo(A.x,A.y)}else{var B=_[0];n.moveTo(B.x-c/2,B.y),n.lineTo(B.x+c/2,B.y),n.lineTo(B.x+c/2,u),n.lineTo(B.x-c/2,u),n.moveTo(B.x-c/2,B.y)}if(n.closePath(),n.fill(),o.addLine){if("dash"==e.lineType){var D=e.dashLength?e.dashLength:8;D*=t.pix,n.setLineDash([D,D])}if(n.beginPath(),n.setStrokeStyle(e.color),n.setLineWidth(o.width*t.pix),1===_.length)n.moveTo(_[0].x,_[0].y),n.arc(_[0].x,_[0].y,1,0,2*Math.PI);else{n.moveTo(_[0].x,_[0].y);var L=0;if("curve"===o.type)for(var F=0;F<_.length;F++){var R=_[F];if(0==L&&R.x>h&&(n.moveTo(R.x,R.y),L=1),F>0&&R.x>h&&R.x<p){var N=y(_,F-1);n.bezierCurveTo(N.ctrA.x,N.ctrA.y,N.ctrB.x,N.ctrB.y,R.x,R.y)}}if("straight"===o.type)for(var z=0;z<_.length;z++){var U=_[z];0==L&&U.x>h&&(n.moveTo(U.x,U.y),L=1),z>0&&U.x>h&&U.x<p&&n.lineTo(U.x,U.y)}if("step"===o.type)for(var q=0;q<_.length;q++){var $=_[q];0==L&&$.x>h&&(n.moveTo($.x,$.y),L=1),q>0&&$.x>h&&$.x<p&&(n.lineTo($.x,_[q-1].y),n.lineTo($.x,$.y))}n.moveTo(_[0].x,_[0].y)}n.stroke(),n.setLineDash([])}}!1!==t.dataPointShape&&Ae(m,e.color,e.pointShape,n,t)})),!1!==t.dataLabel&&1===i&&e.forEach((function(e,o){var a,u,f;a=[].concat(t.chartData.yAxisData.ranges[e.index]),u=a.pop(),f=a.shift();var l=e.data,d=pe(l,u,f,s,c,t,r,i);Pe(d,e,r,n,t)})),n.restore(),{xAxisPoints:s,calPoints:l,eachSpacing:c}}function $e(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=(f({},{type:"circle"},t.extra.scatter),t.chartData.xAxisData),a=o.xAxisPoints,s=o.eachSpacing,c=[];n.save();var u=0;t.width;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(n.translate(t._scrollDistance_,0),u=-t._scrollDistance_-2*s+t.area[3],u+(t.xAxis.itemCount+4)*s),e.forEach((function(e,o){var c,u,f;c=[].concat(t.chartData.yAxisData.ranges[e.index]),u=c.pop(),f=c.shift();var l=e.data,d=pe(l,u,f,a,s,t,r,i);n.beginPath(),n.setStrokeStyle(e.color),n.setFillStyle(e.color),n.setLineWidth(1*t.pix);var h=e.pointShape;if("diamond"===h)d.forEach((function(e,t){null!==e&&(n.moveTo(e.x,e.y-4.5),n.lineTo(e.x-4.5,e.y),n.lineTo(e.x,e.y+4.5),n.lineTo(e.x+4.5,e.y),n.lineTo(e.x,e.y-4.5))}));else if("circle"===h)d.forEach((function(e,r){null!==e&&(n.moveTo(e.x+2.5*t.pix,e.y),n.arc(e.x,e.y,3*t.pix,0,2*Math.PI,!1))}));else if("square"===h)d.forEach((function(e,t){null!==e&&(n.moveTo(e.x-3.5,e.y-3.5),n.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===h)d.forEach((function(e,t){null!==e&&(n.moveTo(e.x,e.y-4.5),n.lineTo(e.x-4.5,e.y+4.5),n.lineTo(e.x+4.5,e.y+4.5),n.lineTo(e.x,e.y-4.5))}));else if("triangle"===h)return;n.closePath(),n.fill(),n.stroke()})),!1!==t.dataLabel&&1===i&&e.forEach((function(e,o){var c,u,f;c=[].concat(t.chartData.yAxisData.ranges[e.index]),u=c.pop(),f=c.shift();var l=e.data,d=pe(l,u,f,a,s,t,r,i);Pe(d,e,r,n,t)})),n.restore(),{xAxisPoints:a,calPoints:c,eachSpacing:s}}function He(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{opacity:1,border:2},t.extra.bubble),a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=[];n.save();var l=0;t.width;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(n.translate(t._scrollDistance_,0),l=-t._scrollDistance_-2*c+t.area[3],l+(t.xAxis.itemCount+4)*c),e.forEach((function(a,u){var f,l,h;f=[].concat(t.chartData.yAxisData.ranges[a.index]),l=f.pop(),h=f.shift();var p=a.data,v=pe(p,l,h,s,c,t,r,i);n.beginPath(),n.setStrokeStyle(a.color),n.setLineWidth(o.border*t.pix),n.setFillStyle(d(a.color,o.opacity)),v.forEach((function(e,r){n.moveTo(e.x+e.r,e.y),n.arc(e.x,e.y,e.r*t.pix,0,2*Math.PI,!1)})),n.closePath(),n.fill(),n.stroke(),!1!==t.dataLabel&&1===i&&v.forEach((function(i,o){n.beginPath();var a=e.textSize*t.pix||r.fontSize;n.setFontSize(a),n.setFillStyle(e.textColor||"#FFFFFF"),n.setTextAlign("center"),n.fillText(String(i.t),i.x,i.y+a/2),n.closePath(),n.stroke(),n.setTextAlign("left")}))})),n.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}function We(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{type:"straight",width:2},t.extra.line);o.width*=t.pix;var a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=[];n.save();var l=0,d=t.width+c;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(n.translate(t._scrollDistance_,0),l=-t._scrollDistance_-2*c+t.area[3],d=l+(t.xAxis.itemCount+4)*c),e.forEach((function(e,a){var f,h,p;f=[].concat(t.chartData.yAxisData.ranges[e.index]),h=f.pop(),p=f.shift();var v=e.data,g=pe(v,h,p,s,c,t,r,i);u.push(g);var b=V(g,e);if("dash"==e.lineType){var m=e.dashLength?e.dashLength:8;m*=t.pix,n.setLineDash([m,m])}n.beginPath(),n.setStrokeStyle(e.color),n.setLineWidth(o.width),b.forEach((function(e,t){if(1===e.length)n.moveTo(e[0].x,e[0].y),n.arc(e[0].x,e[0].y,1,0,2*Math.PI);else{n.moveTo(e[0].x,e[0].y);var r=0;if("curve"===o.type)for(var i=0;i<e.length;i++){var a=e[i];if(0==r&&a.x>l&&(n.moveTo(a.x,a.y),r=1),i>0&&a.x>l&&a.x<d){var s=y(e,i-1);n.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,a.x,a.y)}}if("straight"===o.type)for(var c=0;c<e.length;c++){var u=e[c];0==r&&u.x>l&&(n.moveTo(u.x,u.y),r=1),c>0&&u.x>l&&u.x<d&&n.lineTo(u.x,u.y)}if("step"===o.type)for(var f=0;f<e.length;f++){var h=e[f];0==r&&h.x>l&&(n.moveTo(h.x,h.y),r=1),f>0&&h.x>l&&h.x<d&&(n.lineTo(h.x,e[f-1].y),n.lineTo(h.x,h.y))}n.moveTo(e[0].x,e[0].y)}})),n.stroke(),n.setLineDash([]),!1!==t.dataPointShape&&Ae(g,e.color,e.pointShape,n,t)})),!1!==t.dataLabel&&1===i&&e.forEach((function(e,o){var a,u,f;a=[].concat(t.chartData.yAxisData.ranges[e.index]),u=a.pop(),f=a.shift();var l=e.data,d=pe(l,u,f,s,c,t,r,i);Pe(d,e,r,n,t)})),n.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}function Qe(e,t,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=f({},{width:c/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mix.column),l=f({},{opacity:.2,gradient:!1},t.extra.mix.area),h=t.height-t.area[2],p=[],v=0,g=0;e.forEach((function(e,t){"column"==e.type&&(g+=1)})),i.save();var b=-2,m=s.length+2,x=0,w=t.width+c;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(i.translate(t._scrollDistance_,0),b=Math.floor(-t._scrollDistance_/c)-2,m=b+t.xAxis.itemCount+4,x=-t._scrollDistance_-2*c+t.area[3],w=x+(t.xAxis.itemCount+4)*c),u.customColor=_(u.linearType,u.customColor,e,r),e.forEach((function(e,a){var f,_,S;f=[].concat(t.chartData.yAxisData.ranges[e.index]),_=f.pop(),S=f.shift();var A=e.data,k=pe(A,_,S,s,c,t,r,o);if(p.push(k),"column"==e.type){k=se(k,c,g,v,r,t);for(var P=0;P<k.length;P++){var M=k[P];if(null!==M&&P>b&&P<m){var E=M.x-M.width/2;t.height,M.y,t.area[2];i.beginPath();var O=M.color||e.color,T=M.color||e.color;if("none"!==u.linearType){var C=i.createLinearGradient(E,M.y,E,t.height-t.area[2]);"opacity"==u.linearType?(C.addColorStop(0,d(O,u.linearOpacity)),C.addColorStop(1,d(O,1))):(C.addColorStop(0,d(u.customColor[e.linearIndex],u.linearOpacity)),C.addColorStop(u.colorStop,d(u.customColor[e.linearIndex],u.linearOpacity)),C.addColorStop(1,d(O,1))),O=C}if(u.barBorderRadius&&4===u.barBorderRadius.length||u.barBorderCircle){var I=E,j=M.y,B=M.width,D=t.height-t.area[2]-M.y;u.barBorderCircle&&(u.barBorderRadius=[B/2,B/2,0,0]);var L=n(u.barBorderRadius,4),F=L[0],R=L[1],N=L[2],z=L[3],U=Math.min(B/2,D/2);F=F>U?U:F,R=R>U?U:R,N=N>U?U:N,z=z>U?U:z,F=F<0?0:F,R=R<0?0:R,N=N<0?0:N,z=z<0?0:z,i.arc(I+F,j+F,F,-Math.PI,-Math.PI/2),i.arc(I+B-R,j+R,R,-Math.PI/2,0),i.arc(I+B-N,j+D-N,N,0,Math.PI/2),i.arc(I+z,j+D-z,z,Math.PI/2,Math.PI)}else i.moveTo(E,M.y),i.lineTo(E+M.width,M.y),i.lineTo(E+M.width,t.height-t.area[2]),i.lineTo(E,t.height-t.area[2]),i.lineTo(E,M.y),i.setLineWidth(1),i.setStrokeStyle(T);i.setFillStyle(O),i.closePath(),i.fill()}}v+=1}if("area"==e.type)for(var q=V(k,e),$=0;$<q.length;$++){var H=q[$];if(i.beginPath(),i.setStrokeStyle(e.color),i.setStrokeStyle(d(e.color,l.opacity)),l.gradient){var W=i.createLinearGradient(0,t.area[0],0,t.height-t.area[2]);W.addColorStop("0",d(e.color,l.opacity)),W.addColorStop("1.0",d("#FFFFFF",.1)),i.setFillStyle(W)}else i.setFillStyle(d(e.color,l.opacity));if(i.setLineWidth(2*t.pix),H.length>1){var Q=H[0],K=H[H.length-1];i.moveTo(Q.x,Q.y);var G=0;if("curve"===e.style)for(var X=0;X<H.length;X++){var Y=H[X];if(0==G&&Y.x>x&&(i.moveTo(Y.x,Y.y),G=1),X>0&&Y.x>x&&Y.x<w){var J=y(H,X-1);i.bezierCurveTo(J.ctrA.x,J.ctrA.y,J.ctrB.x,J.ctrB.y,Y.x,Y.y)}}else for(var Z=0;Z<H.length;Z++){var ee=H[Z];0==G&&ee.x>x&&(i.moveTo(ee.x,ee.y),G=1),Z>0&&ee.x>x&&ee.x<w&&i.lineTo(ee.x,ee.y)}i.lineTo(K.x,h),i.lineTo(Q.x,h),i.lineTo(Q.x,Q.y)}else{var te=H[0];i.moveTo(te.x-c/2,te.y),i.lineTo(te.x+c/2,te.y),i.lineTo(te.x+c/2,h),i.lineTo(te.x-c/2,h),i.moveTo(te.x-c/2,te.y)}i.closePath(),i.fill()}if("line"==e.type){var re=V(k,e);re.forEach((function(r,n){if("dash"==e.lineType){var o=e.dashLength?e.dashLength:8;o*=t.pix,i.setLineDash([o,o])}if(i.beginPath(),i.setStrokeStyle(e.color),i.setLineWidth(2*t.pix),1===r.length)i.moveTo(r[0].x,r[0].y),i.arc(r[0].x,r[0].y,1,0,2*Math.PI);else{i.moveTo(r[0].x,r[0].y);var a=0;if("curve"==e.style)for(var s=0;s<r.length;s++){var c=r[s];if(0==a&&c.x>x&&(i.moveTo(c.x,c.y),a=1),s>0&&c.x>x&&c.x<w){var u=y(r,s-1);i.bezierCurveTo(u.ctrA.x,u.ctrA.y,u.ctrB.x,u.ctrB.y,c.x,c.y)}}else for(var f=0;f<r.length;f++){var l=r[f];0==a&&l.x>x&&(i.moveTo(l.x,l.y),a=1),f>0&&l.x>x&&l.x<w&&i.lineTo(l.x,l.y)}i.moveTo(r[0].x,r[0].y)}i.stroke(),i.setLineDash([])}))}"point"==e.type&&(e.addPoint=!0),1==e.addPoint&&"column"!==e.type&&Ae(k,e.color,e.pointShape,i,t)})),!1!==t.dataLabel&&1===o){v=0;e.forEach((function(e,n){var a,u,f;a=[].concat(t.chartData.yAxisData.ranges[e.index]),u=a.pop(),f=a.shift();var l=e.data,d=pe(l,u,f,s,c,t,r,o);"column"!==e.type?Pe(d,e,r,i,t):(d=se(d,c,g,v,r,t),Pe(d,e,r,i,t),v+=1)}))}return i.restore(),{xAxisPoints:s,calPoints:p,eachSpacing:c}}function Ve(e,t,r,n,i,o){var a=e.extra.tooltip||{};a.horizentalLine&&e.tooltip&&1===n&&("line"==e.type||"area"==e.type||"column"==e.type||"mount"==e.type||"candle"==e.type||"mix"==e.type)&&Be(e,t,r,i,o),r.save(),e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&r.translate(e._scrollDistance_,0),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===n&&Fe(e.tooltip.textList,e.tooltip.offset,e,t,r,i,o),r.restore()}function Ke(e,t,r,n){var i=t.chartData.xAxisData,o=i.xAxisPoints,a=i.startX,s=i.endX,c=i.eachSpacing,u="center";"bar"!=t.type&&"line"!=t.type&&"area"!=t.type&&"scatter"!=t.type&&"bubble"!=t.type||(u=t.xAxis.boundaryGap);var f=t.height-t.area[2],l=t.area[0];if(t.enableScroll&&t.xAxis.scrollShow){var d=t.height-t.area[2]+r.xAxisHeight,h=s-a,p=c*(o.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),p+=(t.extra.mount.widthRatio-1)*c);var v=h*h/p,g=0;t._scrollDistance_&&(g=-t._scrollDistance_*h/p),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*t.pix),n.setStrokeStyle(t.xAxis.scrollBackgroundColor||"#EFEBEF"),n.moveTo(a,d),n.lineTo(s,d),n.stroke(),n.closePath(),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*t.pix),n.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),n.moveTo(a+g,d),n.lineTo(a+g+v,d),n.stroke(),n.closePath(),n.setLineCap("butt")}if(n.save(),t._scrollDistance_&&0!==t._scrollDistance_&&n.translate(t._scrollDistance_,0),!0===t.xAxis.calibration&&(n.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*t.pix),o.forEach((function(e,r){r>0&&(n.beginPath(),n.moveTo(e-c/2,f),n.lineTo(e-c/2,f+3*t.pix),n.closePath(),n.stroke())}))),!0!==t.xAxis.disableGrid&&(n.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*t.pix),"dash"==t.xAxis.gridType&&n.setLineDash([t.xAxis.dashLength*t.pix,t.xAxis.dashLength*t.pix]),t.xAxis.gridEval=t.xAxis.gridEval||1,o.forEach((function(e,r){r%t.xAxis.gridEval==0&&(n.beginPath(),n.moveTo(e,f),n.lineTo(e,l),n.stroke())})),n.setLineDash([])),!0!==t.xAxis.disabled){var y=e.length;t.xAxis.labelCount&&(y=t.xAxis.itemCount?Math.ceil(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,y-=1);for(var b=Math.ceil(e.length/y),m=[],x=e.length,w=0;w<x;w++)w%b!==0?m.push(""):m.push(e[w]);m[x-1]=e[x-1];var _=t.xAxis.fontSize*t.pix||r.fontSize;0===r._xAxisTextAngle_?m.forEach((function(e,i){var a=t.xAxis.formatter?t.xAxis.formatter(e,i,t):e,s=-A(String(a),_,n)/2;"center"==u&&(s+=c/2);var l=0;t.xAxis.scrollShow&&(l=6*t.pix),n.beginPath(),n.setFontSize(_),n.setFillStyle(t.xAxis.fontColor||t.fontColor),n.fillText(String(a),o[i]+s,f+_+(r.xAxisHeight-l-_)/2),n.closePath(),n.stroke()})):m.forEach((function(e,i){var a=t.xAxis.formatter?t.xAxis.formatter(e):e;n.save(),n.beginPath(),n.setFontSize(_),n.setFillStyle(t.xAxis.fontColor||t.fontColor);var s=A(String(a),_,n),l=o[i];"center"==u&&(l=o[i]+c/2);t.xAxis.scrollShow&&t.pix;var d=f+6*t.pix+_-_*Math.abs(Math.sin(r._xAxisTextAngle_));t.xAxis.rotateAngle<0?(l-=_/2,s=0):(l+=_/2,s=-s),n.translate(l,d),n.rotate(-1*r._xAxisTextAngle_),n.fillText(String(a),s,0),n.closePath(),n.stroke(),n.restore()}))}n.restore(),t.xAxis.axisLine&&(n.beginPath(),n.setStrokeStyle(t.xAxis.axisLineColor),n.setLineWidth(1*t.pix),n.moveTo(a,t.height-t.area[2]),n.lineTo(s,t.height-t.area[2]),n.stroke())}function Ge(e,t,r,n){if(!0!==t.yAxis.disableGrid){var i=t.height-t.area[0]-t.area[2],o=i/t.yAxis.splitNumber,a=t.area[3],s=t.chartData.xAxisData.xAxisPoints,c=t.chartData.xAxisData.eachSpacing,u=c*(s.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),u+=(t.extra.mount.widthRatio-1)*c);var f=a+u,l=[],d=1;!1===t.xAxis.axisLine&&(d=0);for(var h=d;h<t.yAxis.splitNumber+1;h++)l.push(t.height-t.area[2]-o*h);n.save(),t._scrollDistance_&&0!==t._scrollDistance_&&n.translate(t._scrollDistance_,0),"dash"==t.yAxis.gridType&&n.setLineDash([t.yAxis.dashLength*t.pix,t.yAxis.dashLength*t.pix]),n.setStrokeStyle(t.yAxis.gridColor),n.setLineWidth(1*t.pix),l.forEach((function(e,t){n.beginPath(),n.moveTo(a,e),n.lineTo(f,e),n.stroke()})),n.setLineDash([]),n.restore()}}function Xe(e,t,r,n){if(!0!==t.yAxis.disabled){var i=t.height-t.area[0]-t.area[2],o=i/t.yAxis.splitNumber,a=t.area[3],s=t.width-t.area[1],c=t.height-t.area[2],u=c+r.xAxisHeight;t.xAxis.scrollShow&&(u-=3*t.pix),t.xAxis.rotateLabel&&(u=t.height-t.area[2]+t.fontSize*t.pix/2),n.beginPath(),n.setFillStyle(t.background),1==t.enableScroll&&t.xAxis.scrollPosition&&"left"!==t.xAxis.scrollPosition&&n.fillRect(0,0,a,u),1==t.enableScroll&&t.xAxis.scrollPosition&&"right"!==t.xAxis.scrollPosition&&n.fillRect(s,0,t.width,u),n.closePath(),n.stroke();var f=t.area[3],l=t.width-t.area[1],d=t.area[3]+(t.width-t.area[1]-t.area[3])/2;if(t.yAxis.data)for(var h=function(e){var a=t.yAxis.data[e];if(v=[],"categories"===a.type)for(var s=0;s<=a.categories.length;s++)v.push(t.area[0]+i/a.categories.length/2+i/a.categories.length*s);else for(var c=0;c<=t.yAxis.splitNumber;c++)v.push(t.area[0]+o*c);if(!0!==a.disabled){var u=t.chartData.yAxisData.rangesFormat[e],h=a.fontSize?a.fontSize*t.pix:r.fontSize,p=t.chartData.yAxisData.yAxisWidth[e],g=a.textAlign||"right";if(u.forEach((function(e,r){var i=v[r];n.beginPath(),n.setFontSize(h),n.setLineWidth(1*t.pix),n.setStrokeStyle(a.axisLineColor||"#cccccc"),n.setFillStyle(a.fontColor||t.fontColor);var o=0,s=4*t.pix;if("left"==p.position){switch(1==a.calibration&&(n.moveTo(f,i),n.lineTo(f-3*t.pix,i),s+=3*t.pix),g){case"left":n.setTextAlign("left"),o=f-p.width;break;case"right":n.setTextAlign("right"),o=f-s;break;default:n.setTextAlign("center"),o=f-p.width/2}n.fillText(String(e),o,i+h/2-3*t.pix)}else if("right"==p.position){switch(1==a.calibration&&(n.moveTo(l,i),n.lineTo(l+3*t.pix,i),s+=3*t.pix),g){case"left":n.setTextAlign("left"),o=l+s;break;case"right":n.setTextAlign("right"),o=l+p.width;break;default:n.setTextAlign("center"),o=l+p.width/2}n.fillText(String(e),o,i+h/2-3*t.pix)}else if("center"==p.position){switch(1==a.calibration&&(n.moveTo(d,i),n.lineTo(d-3*t.pix,i),s+=3*t.pix),g){case"left":n.setTextAlign("left"),o=d-p.width;break;case"right":n.setTextAlign("right"),o=d-s;break;default:n.setTextAlign("center"),o=d-p.width/2}n.fillText(String(e),o,i+h/2-3*t.pix)}n.closePath(),n.stroke(),n.setTextAlign("left")})),!1!==a.axisLine&&(n.beginPath(),n.setStrokeStyle(a.axisLineColor||"#cccccc"),n.setLineWidth(1*t.pix),"left"==p.position?(n.moveTo(f,t.height-t.area[2]),n.lineTo(f,t.area[0])):"right"==p.position?(n.moveTo(l,t.height-t.area[2]),n.lineTo(l,t.area[0])):"center"==p.position&&(n.moveTo(d,t.height-t.area[2]),n.lineTo(d,t.area[0])),n.stroke()),t.yAxis.showTitle){var y=a.titleFontSize*t.pix||r.fontSize,b=a.title;n.beginPath(),n.setFontSize(y),n.setFillStyle(a.titleFontColor||t.fontColor),"left"==p.position?n.fillText(b,f-A(b,y,n)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix):"right"==p.position?n.fillText(b,l-A(b,y,n)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix):"center"==p.position&&n.fillText(b,d-A(b,y,n)/2+(a.titleOffsetX||0),t.area[0]-(10-(a.titleOffsetY||0))*t.pix),n.closePath(),n.stroke()}"left"==p.position?f-=p.width+t.yAxis.padding*t.pix:l+=p.width+t.yAxis.padding*t.pix}},p=0;p<t.yAxis.data.length;p++){var v;h(p)}}}function Ye(e,t,r,n,i){if(!1!==t.legend.show){var o=i.legendData,a=o.points,s=o.area,c=t.legend.padding*t.pix,u=t.legend.fontSize*t.pix,f=15*t.pix,l=5*t.pix,d=t.legend.itemGap*t.pix,h=Math.max(t.legend.lineHeight*t.pix,u);n.beginPath(),n.setLineWidth(t.legend.borderWidth*t.pix),n.setStrokeStyle(t.legend.borderColor),n.setFillStyle(t.legend.backgroundColor),n.moveTo(s.start.x,s.start.y),n.rect(s.start.x,s.start.y,s.width,s.height),n.closePath(),n.fill(),n.stroke(),a.forEach((function(e,i){var a=0,p=0;a=o.widthArr[i],p=o.heightArr[i];var v=0,g=0;if("top"==t.legend.position||"bottom"==t.legend.position){switch(t.legend.float){case"left":v=s.start.x+c;break;case"right":v=s.start.x+s.width-a;break;default:v=s.start.x+(s.width-a)/2}g=s.start.y+c+i*h}else a=0==i?0:o.widthArr[i-1],v=s.start.x+c+a,g=s.start.y+c+(s.height-p)/2;n.setFontSize(r.fontSize);for(var y=0;y<e.length;y++){var b=e[y];switch(b.area=[0,0,0,0],b.area[0]=v,b.area[1]=g,b.area[3]=g+h,n.beginPath(),n.setLineWidth(1*t.pix),n.setStrokeStyle(b.show?b.color:t.legend.hiddenColor),n.setFillStyle(b.show?b.color:t.legend.hiddenColor),b.legendShape){case"line":n.moveTo(v,g+.5*h-2*t.pix),n.fillRect(v,g+.5*h-2*t.pix,15*t.pix,4*t.pix);break;case"triangle":n.moveTo(v+7.5*t.pix,g+.5*h-5*t.pix),n.lineTo(v+2.5*t.pix,g+.5*h+5*t.pix),n.lineTo(v+12.5*t.pix,g+.5*h+5*t.pix),n.lineTo(v+7.5*t.pix,g+.5*h-5*t.pix);break;case"diamond":n.moveTo(v+7.5*t.pix,g+.5*h-5*t.pix),n.lineTo(v+2.5*t.pix,g+.5*h),n.lineTo(v+7.5*t.pix,g+.5*h+5*t.pix),n.lineTo(v+12.5*t.pix,g+.5*h),n.lineTo(v+7.5*t.pix,g+.5*h-5*t.pix);break;case"circle":n.moveTo(v+7.5*t.pix,g+.5*h),n.arc(v+7.5*t.pix,g+.5*h,5*t.pix,0,2*Math.PI);break;case"rect":n.moveTo(v,g+.5*h-5*t.pix),n.fillRect(v,g+.5*h-5*t.pix,15*t.pix,10*t.pix);break;case"square":n.moveTo(v+5*t.pix,g+.5*h-5*t.pix),n.fillRect(v+5*t.pix,g+.5*h-5*t.pix,10*t.pix,10*t.pix);break;case"none":break;default:n.moveTo(v,g+.5*h-5*t.pix),n.fillRect(v,g+.5*h-5*t.pix,15*t.pix,10*t.pix)}n.closePath(),n.fill(),n.stroke(),v+=f+l;var m=.5*h+.5*u-2,x=b.legendText?b.legendText:b.name;n.beginPath(),n.setFontSize(u),n.setFillStyle(b.show?t.legend.fontColor:t.legend.hiddenColor),n.fillText(x,v,g+m),n.closePath(),n.stroke(),"top"==t.legend.position||"bottom"==t.legend.position?(v+=A(x,u,n)+d,b.area[2]=v):(b.area[2]=v+A(x,u,n)+d,v-=f+l,g+=h)}}))}}function Je(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{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==r.pieChartLinePadding&&(r.pieChartLinePadding=o.activeRadius*t.pix);var s=Math.min((t.width-t.area[1]-t.area[3])/2-r.pieChartLinePadding-r.pieChartTextPadding-r._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-r.pieChartLinePadding-r.pieChartTextPadding);s=s<10?10:s,o.customRadius>0&&(s=o.customRadius*t.pix),e=Z(e,s,i);var c=o.activeRadius*t.pix;if(o.customColor=_(o.linearType,o.customColor,e,r),e=e.map((function(e){return e._start_+=o.offsetAngle*Math.PI/180,e})),e.forEach((function(e,r){t.tooltip&&t.tooltip.index==r&&(n.beginPath(),n.setFillStyle(d(e.color,o.activeOpacity||.5)),n.moveTo(a.x,a.y),n.arc(a.x,a.y,e._radius_+c,e._start_,e._start_+2*e._proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(o.borderWidth*t.pix),n.lineJoin="round",n.setStrokeStyle(o.borderColor);var i,s=e.color;"custom"==o.linearType&&(i=n.createCircularGradient?n.createCircularGradient(a.x,a.y,e._radius_):n.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),i.addColorStop(0,d(o.customColor[e.linearIndex],1)),i.addColorStop(1,d(e.color,1)),s=i);n.setFillStyle(s),n.moveTo(a.x,a.y),n.arc(a.x,a.y,e._radius_,e._start_,e._start_+2*e._proportion_*Math.PI),n.closePath(),n.fill(),1==o.border&&n.stroke()})),"ring"===t.type){var u=.6*s;"number"===typeof o.ringWidth&&o.ringWidth>0&&(u=Math.max(0,s-o.ringWidth*t.pix)),n.beginPath(),n.setFillStyle(o.centerColor),n.moveTo(a.x,a.y),n.arc(a.x,a.y,u,0,2*Math.PI),n.closePath(),n.fill()}return!1!==t.dataLabel&&1===i&&Ce(e,t,r,n,s,a),1===i&&"ring"===t.type&&ke(t,r,n,a),{center:a,radius:s,series:e}}function Ze(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},t.extra.rose);0==r.pieChartLinePadding&&(r.pieChartLinePadding=o.activeRadius*t.pix);var a={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2},s=Math.min((t.width-t.area[1]-t.area[3])/2-r.pieChartLinePadding-r.pieChartTextPadding-r._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-r.pieChartLinePadding-r.pieChartTextPadding);s=s<10?10:s;var c=o.minRadius||.5*s;e=te(e,o.type,c,s,i);var u=o.activeRadius*t.pix;return o.customColor=_(o.linearType,o.customColor,e,r),e=e.map((function(e){return e._start_+=(o.offsetAngle||0)*Math.PI/180,e})),e.forEach((function(e,r){t.tooltip&&t.tooltip.index==r&&(n.beginPath(),n.setFillStyle(d(e.color,o.activeOpacity||.5)),n.moveTo(a.x,a.y),n.arc(a.x,a.y,u+e._radius_,e._start_,e._start_+2*e._rose_proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(o.borderWidth*t.pix),n.lineJoin="round",n.setStrokeStyle(o.borderColor);var i,s=e.color;"custom"==o.linearType&&(i=n.createCircularGradient?n.createCircularGradient(a.x,a.y,e._radius_):n.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),i.addColorStop(0,d(o.customColor[e.linearIndex],1)),i.addColorStop(1,d(e.color,1)),s=i);n.setFillStyle(s),n.moveTo(a.x,a.y),n.arc(a.x,a.y,e._radius_,e._start_,e._start_+2*e._rose_proportion_*Math.PI),n.closePath(),n.fill(),1==o.border&&n.stroke()})),!1!==t.dataLabel&&1===i&&Ce(e,t,r,n,s,a),{center:a,radius:s,series:e}}function et(e,t,r,n){var i,o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=f({},{startAngle:.75,endAngle:.25,type:"default",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},t.extra.arcbar);e=re(e,s,a),i=s.centerX||s.centerY?{x:s.centerX?s.centerX:t.width/2,y:s.centerY?s.centerY:t.height/2}:{x:t.width/2,y:t.height/2},s.radius?o=s.radius:(o=Math.min(i.x,i.y),o-=5*t.pix,o-=s.width/2),o=o<10?10:o,s.customColor=_(s.linearType,s.customColor,e,r);for(var c=0;c<e.length;c++){var u=e[c];n.setLineWidth(s.width*t.pix),n.setStrokeStyle(s.backgroundColor||"#E9E9E9"),n.setLineCap(s.lineCap),n.beginPath(),"default"==s.type?n.arc(i.x,i.y,o-(s.width*t.pix+s.gap*t.pix)*c,s.startAngle*Math.PI,s.endAngle*Math.PI,!1):n.arc(i.x,i.y,o-(s.width*t.pix+s.gap*t.pix)*c,0,2*Math.PI,!1),n.stroke();var l=u.color;if("custom"==s.linearType){var h=n.createLinearGradient(i.x-o,i.y,i.x+o,i.y);h.addColorStop(1,d(s.customColor[u.linearIndex],1)),h.addColorStop(0,d(u.color,1)),l=h}n.setLineWidth(s.width*t.pix),n.setStrokeStyle(l),n.setLineCap(s.lineCap),n.beginPath(),n.arc(i.x,i.y,o-(s.width*t.pix+s.gap*t.pix)*c,s.startAngle*Math.PI,u._proportion_*Math.PI,!1),n.stroke()}return ke(t,r,n,i),{center:i,radius:o,series:e}}function tt(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=f({},{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"}},r.extra.gauge);void 0==a.oldAngle&&(a.oldAngle=a.startAngle),void 0==a.oldData&&(a.oldData=0),e=ie(e,a.startAngle,a.endAngle);var s={x:r.width/2,y:r.height/2},c=Math.min(s.x,s.y);c-=5*r.pix,c-=a.width/2,c=c<10?10:c;var u=c-a.width,l=0;if("progress"==a.type){var h=c-3*a.width;i.beginPath();var p=i.createLinearGradient(s.x,s.y-h,s.x,s.y+h);p.addColorStop("0",d(t[0].color,.3)),p.addColorStop("1.0",d("#FFFFFF",.1)),i.setFillStyle(p),i.arc(s.x,s.y,h,0,2*Math.PI,!1),i.fill(),i.setLineWidth(a.width),i.setStrokeStyle(d(t[0].color,.3)),i.setLineCap("round"),i.beginPath(),i.arc(s.x,s.y,u,a.startAngle*Math.PI,a.endAngle*Math.PI,!1),i.stroke(),l=a.startAngle-a.endAngle+1;a.splitLine.splitNumber;var v=l/a.splitLine.splitNumber/a.splitLine.childNumber,g=-c-.5*a.width-a.splitLine.fixRadius,y=-c-a.width-a.splitLine.fixRadius+a.splitLine.width;i.save(),i.translate(s.x,s.y),i.rotate((a.startAngle-1)*Math.PI);for(var b=a.splitLine.splitNumber*a.splitLine.childNumber+1,m=t[0].data*o,x=0;x<b;x++)i.beginPath(),m>x/b?i.setStrokeStyle(d(t[0].color,1)):i.setStrokeStyle(d(t[0].color,.3)),i.setLineWidth(3*r.pix),i.moveTo(g,0),i.lineTo(y,0),i.stroke(),i.rotate(v*Math.PI);i.restore(),t=ne(t,a,o),i.setLineWidth(a.width),i.setStrokeStyle(t[0].color),i.setLineCap("round"),i.beginPath(),i.arc(s.x,s.y,u,a.startAngle*Math.PI,t[0]._proportion_*Math.PI,!1),i.stroke();var w=c-2.5*a.width;i.save(),i.translate(s.x,s.y),i.rotate((t[0]._proportion_-1)*Math.PI),i.beginPath(),i.setLineWidth(a.width/3);var _=i.createLinearGradient(0,.6*-w,0,.6*w);_.addColorStop("0",d("#FFFFFF",0)),_.addColorStop("0.5",d(t[0].color,1)),_.addColorStop("1.0",d("#FFFFFF",0)),i.setStrokeStyle(_),i.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),i.stroke(),i.beginPath(),i.setLineWidth(1),i.setStrokeStyle(t[0].color),i.setFillStyle(t[0].color),i.moveTo(-w-a.width/3/2,-4),i.lineTo(-w-a.width/3/2-4,0),i.lineTo(-w-a.width/3/2,4),i.lineTo(-w-a.width/3/2,-4),i.stroke(),i.fill(),i.restore()}else{i.setLineWidth(a.width),i.setLineCap("butt");for(var S=0;S<e.length;S++){var A=e[S];i.beginPath(),i.setStrokeStyle(A.color),i.arc(s.x,s.y,c,A._startAngle_*Math.PI,A._endAngle_*Math.PI,!1),i.stroke()}i.save(),l=a.startAngle-a.endAngle+1;var k=l/a.splitLine.splitNumber,P=l/a.splitLine.splitNumber/a.splitLine.childNumber,M=-c-.5*a.width-a.splitLine.fixRadius,E=-c-.5*a.width-a.splitLine.fixRadius+a.splitLine.width,O=-c-.5*a.width-a.splitLine.fixRadius+a.splitLine.childWidth;i.translate(s.x,s.y),i.rotate((a.startAngle-1)*Math.PI);for(var T=0;T<a.splitLine.splitNumber+1;T++)i.beginPath(),i.setStrokeStyle(a.splitLine.color),i.setLineWidth(2*r.pix),i.moveTo(M,0),i.lineTo(E,0),i.stroke(),i.rotate(k*Math.PI);i.restore(),i.save(),i.translate(s.x,s.y),i.rotate((a.startAngle-1)*Math.PI);for(var C=0;C<a.splitLine.splitNumber*a.splitLine.childNumber+1;C++)i.beginPath(),i.setStrokeStyle(a.splitLine.color),i.setLineWidth(1*r.pix),i.moveTo(M,0),i.lineTo(O,0),i.stroke(),i.rotate(P*Math.PI);i.restore(),t=oe(t,e,a,o);for(var I=0;I<t.length;I++){var j=t[I];i.save(),i.translate(s.x,s.y),i.rotate((j._proportion_-1)*Math.PI),i.beginPath(),i.setFillStyle(j.color),i.moveTo(a.pointer.width,0),i.lineTo(0,-a.pointer.width/2),i.lineTo(-u,0),i.lineTo(0,a.pointer.width/2),i.lineTo(a.pointer.width,0),i.closePath(),i.fill(),i.beginPath(),i.setFillStyle("#FFFFFF"),i.arc(0,0,a.pointer.width/6,0,2*Math.PI,!1),i.fill(),i.restore()}!1!==r.dataLabel&&Oe(a,c,s,r,n,i)}return ke(r,n,i,s),1===o&&"gauge"===r.type&&(r.extra.gauge.oldAngle=t[0]._proportion_,r.extra.gauge.oldData=t[0].data),{center:s,radius:c,innerRadius:u,categories:e,totalAngle:l}}function rt(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix: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),s={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=(t.width-t.area[1]-t.area[3])/2,u=(t.height-t.area[0]-t.area[2])/2,l=Math.min(c-(O(t.categories,r.fontSize,n)+r.radarLabelTextMargin),u-r.radarLabelTextMargin);l-=r.radarLabelTextMargin*t.pix,l=l<10?10:l,n.beginPath(),n.setLineWidth(1*t.pix),n.setStrokeStyle(o.gridColor),a.forEach((function(e,t){var r=b(l*Math.cos(e),l*Math.sin(e),s);n.moveTo(s.x,s.y),t%o.gridEval==0&&n.lineTo(r.x,r.y)})),n.stroke(),n.closePath();for(var h=function(e){var r={};if(n.beginPath(),n.setLineWidth(1*t.pix),n.setStrokeStyle(o.gridColor),"radar"==o.gridType)a.forEach((function(t,i){var a=b(l/o.gridCount*e*Math.cos(t),l/o.gridCount*e*Math.sin(t),s);0===i?(r=a,n.moveTo(a.x,a.y)):n.lineTo(a.x,a.y)})),n.lineTo(r.x,r.y);else{var i=b(l/o.gridCount*e*Math.cos(1.5),l/o.gridCount*e*Math.sin(1.5),s);n.arc(s.x,s.y,s.y-i.y,0,2*Math.PI,!1)}n.stroke(),n.closePath()},p=1;p<=o.gridCount;p++)h(p);o.customColor=_(o.linearType,o.customColor,e,r);var v=J(a,s,l,e,t,i);if(v.forEach((function(r,i){n.beginPath(),n.setLineWidth(o.borderWidth*t.pix),n.setStrokeStyle(r.color);var a,c=d(r.color,o.opacity);"custom"==o.linearType&&(a=n.createCircularGradient?n.createCircularGradient(s.x,s.y,l):n.createRadialGradient(s.x,s.y,0,s.x,s.y,l),a.addColorStop(0,d(o.customColor[e[i].linearIndex],o.opacity)),a.addColorStop(1,d(r.color,o.opacity)),c=a);if(n.setFillStyle(c),r.data.forEach((function(e,t){0===t?n.moveTo(e.position.x,e.position.y):n.lineTo(e.position.x,e.position.y)})),n.closePath(),n.fill(),!0===o.border&&n.stroke(),n.closePath(),!1!==t.dataPointShape){var u=r.data.map((function(e){return e.position}));Ae(u,r.color,r.pointShape,n,t)}})),!0===o.axisLabel){var g=Math.max(o.max,Math.max.apply(null,k(e))),y=l/o.gridCount,m=t.fontSize*t.pix;n.setFontSize(m),n.setFillStyle(t.fontColor),n.setTextAlign("left");for(p=0;p<o.gridCount+1;p++){var x=p*g/o.gridCount;x=x.toFixed(o.axisLabelTofix),n.fillText(String(x),s.x+3*t.pix,s.y-p*y+m/2)}}return Te(a,l,s,t,r,n),!1!==t.dataLabel&&1===i&&(v.forEach((function(e,i){n.beginPath();var o=e.textSize*t.pix||r.fontSize;n.setFontSize(o),n.setFillStyle(e.textColor||t.fontColor),e.data.forEach((function(e,t){Math.abs(e.position.x-s.x)<2?e.position.y<s.y?(n.setTextAlign("center"),n.fillText(e.value,e.position.x,e.position.y-4)):(n.setTextAlign("center"),n.fillText(e.value,e.position.x,e.position.y+o+2)):e.position.x<s.x?(n.setTextAlign("right"),n.fillText(e.value,e.position.x-4,e.position.y+o/2-2)):(n.setTextAlign("left"),n.fillText(e.value,e.position.x+4,e.position.y+o/2-2))})),n.closePath(),n.stroke()})),n.setTextAlign("left")),{center:s,radius:l,angleList:a}}function nt(e,t){var r=Array(2),n=20037508.34*e/180,i=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return i=20037508.34*i/180,r[0]=n,r[1]=i,r}function it(e){var t,r={};r.xMin=180,r.xMax=0,r.yMin=90,r.yMax=0;for(var n=0;n<e.length;n++)for(var i=e[n].geometry.coordinates,o=0;o<i.length;o++){t=i[o],1==t.length&&(t=t[0]);for(var a=0;a<t.length;a++){var s=t[a][0],c=t[a][1],u={x:s,y:c};r.xMin=r.xMin<u.x?r.xMin:u.x,r.xMax=r.xMax>u.x?r.xMax:u.x,r.yMin=r.yMin<u.y?r.yMin:u.y,r.yMax=r.yMax>u.y?r.yMax:u.y}}return r}function ot(e,t,r,n,i,o){return{x:(t-r.xMin)*n+i,y:(r.yMax-e)*n+o}}function at(e,t,r,n,i,o){return{x:(t-i)/n+r.xMin,y:r.yMax-(e-o)/n}}function st(e,t,r){if(t[1]==r[1])return!1;if(t[1]>e[1]&&r[1]>e[1])return!1;if(t[1]<e[1]&&r[1]<e[1])return!1;if(t[1]==e[1]&&r[1]>e[1])return!1;if(r[1]==e[1]&&t[1]>e[1])return!1;if(t[0]<e[0]&&r[1]<e[1])return!1;var n=r[0]-(r[0]-t[0])*(r[1]-e[1])/(r[1]-t[1]);return!(n<e[0])}function ct(e,t,r){for(var n=0,i=0;i<t.length;i++){var o=t[i][0];1==t.length&&(o=t[i][0]);for(var a=0;a<o.length-1;a++){var s=o[a],c=o[a+1];r&&(s=nt(o[a][0],o[a][1]),c=nt(o[a+1][0],o[a+1][1])),st(e,s,c)&&(n+=1)}}return n%2==1}function ut(e,t,r,n){var i,o,a=f({},{border:!0,mercator:!1,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},t.extra.map),s=e,c=it(s);if(a.mercator){var u=nt(c.xMax,c.yMax),l=nt(c.xMin,c.yMin);c.xMax=u[0],c.yMax=u[1],c.xMin=l[0],c.yMin=l[1]}for(var h=t.width/Math.abs(c.xMax-c.xMin),p=t.height/Math.abs(c.yMax-c.yMin),v=h<p?h:p,g=t.width/2-Math.abs(c.xMax-c.xMin)/2*v,y=t.height/2-Math.abs(c.yMax-c.yMin)/2*v,b=0;b<s.length;b++){n.beginPath(),n.setLineWidth(a.borderWidth*t.pix),n.setStrokeStyle(a.borderColor),n.setFillStyle(d(e[b].color,a.fillOpacity)),t.tooltip&&t.tooltip.index==b&&(n.setStrokeStyle(a.activeBorderColor),n.setFillStyle(d(a.activeFillColor,a.activeFillOpacity)));for(var m=s[b].geometry.coordinates,x=0;x<m.length;x++){i=m[x],1==i.length&&(i=i[0]);for(var w=0;w<i.length;w++){var _=Array(2);_=a.mercator?nt(i[w][0],i[w][1]):i[w],o=ot(_[1],_[0],c,v,g,y),0===w?(n.beginPath(),n.moveTo(o.x,o.y)):n.lineTo(o.x,o.y)}n.fill(),1==a.border&&n.stroke()}}if(1==t.dataLabel)for(b=0;b<s.length;b++){var S=s[b].properties.centroid;if(S){a.mercator&&(S=nt(s[b].properties.centroid[0],s[b].properties.centroid[1])),o=ot(S[1],S[0],c,v,g,y);var k=s[b].textSize*t.pix||r.fontSize,P=s[b].properties.name;n.beginPath(),n.setFontSize(k),n.setFillStyle(s[b].textColor||t.fontColor),n.fillText(P,o.x-A(P,k,n)/2,o.y+k/2),n.closePath(),n.stroke()}}t.chartData.mapData={bounds:c,scale:v,xoffset:g,yoffset:y,mercator:a.mercator},Ve(t,r,n,1),n.draw()}function ft(e,t,r){r=0==r?1:r;for(var n=[],i=0;i<r;i++)n[i]=Math.random();return Math.floor(n.reduce((function(e,t){return e+t}))/r*(t-e))+e}function lt(e,t,r,n){for(var i=!1,o=0;o<t.length;o++)if(t[o].area){if(!(e[3]<t[o].area[1]||e[0]>t[o].area[2]||e[1]>t[o].area[3]||e[2]<t[o].area[0])){i=!0;break}if(e[0]<0||e[1]<0||e[2]>r||e[3]>n){i=!0;break}i=!1}return i}function dt(e,t,r){var n=e.series;switch(t){case"normal":for(var i=0;i<n.length;i++){var o=n[i].name,a=n[i].textSize*e.pix,s=A(o,a,r),c=void 0,u=void 0,f=void 0,l=0;while(1){l++,c=ft(-e.width/2,e.width/2,5)-s/2,u=ft(-e.height/2,e.height/2,5)+a/2,f=[c-5+e.width/2,u-5-a+e.height/2,c+s+5+e.width/2,u+5+e.height/2];var d=lt(f,n,e.width,e.height);if(!d)break;if(1e3==l){f=[-100,-100,-100,-100];break}}n[i].area=f}break;case"vertical":for(var h=function(){return Math.random()>.7},p=0;p<n.length;p++){var v=n[p].name,g=n[p].textSize*e.pix,y=A(v,g,r),b=h(),m=void 0,x=void 0,w=void 0,_=void 0,S=0;while(1){S++;var k=void 0;if(b?(m=ft(-e.width/2,e.width/2,5)-y/2,x=ft(-e.height/2,e.height/2,5)+g/2,w=[x-5-y+e.width/2,-m-5+e.height/2,x+5+e.width/2,-m+g+5+e.height/2],_=[e.width-(e.width/2-e.height/2)-(-m+g+5+e.height/2)-5,e.height/2-e.width/2+(x-5-y+e.width/2)-5,e.width-(e.width/2-e.height/2)-(-m+g+5+e.height/2)+g,e.height/2-e.width/2+(x-5-y+e.width/2)+y+5],k=lt(_,n,e.height,e.width)):(m=ft(-e.width/2,e.width/2,5)-y/2,x=ft(-e.height/2,e.height/2,5)+g/2,w=[m-5+e.width/2,x-5-g+e.height/2,m+y+5+e.width/2,x+5+e.height/2],k=lt(w,n,e.width,e.height)),!k)break;if(1e3==S){w=[-1e3,-1e3,-1e3,-1e3];break}}b?(n[p].area=_,n[p].areav=w):n[p].area=w,n[p].rotate=b}break}return n}function ht(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{type:"normal",autoColors:!0},t.extra.word);t.chartData.wordCloudData||(t.chartData.wordCloudData=dt(t,o.type,n)),n.beginPath(),n.setFillStyle(t.background),n.rect(0,0,t.width,t.height),n.fill(),n.save();var a=t.chartData.wordCloudData;n.translate(t.width/2,t.height/2);for(var s=0;s<a.length;s++){n.save(),a[s].rotate&&n.rotate(90*Math.PI/180);var c=a[s].name,u=a[s].textSize*t.pix,l=A(c,u,n);n.beginPath(),n.setStrokeStyle(a[s].color),n.setFillStyle(a[s].color),n.setFontSize(u),a[s].rotate?a[s].areav[0]>0&&(t.tooltip&&t.tooltip.index==s?n.strokeText(c,(a[s].areav[0]+5-t.width/2)*i-l*(1-i)/2,(a[s].areav[1]+5+u-t.height/2)*i):n.fillText(c,(a[s].areav[0]+5-t.width/2)*i-l*(1-i)/2,(a[s].areav[1]+5+u-t.height/2)*i)):a[s].area[0]>0&&(t.tooltip&&t.tooltip.index==s?n.strokeText(c,(a[s].area[0]+5-t.width/2)*i-l*(1-i)/2,(a[s].area[1]+5+u-t.height/2)*i):n.fillText(c,(a[s].area[0]+5-t.width/2)*i-l*(1-i)/2,(a[s].area[1]+5+u-t.height/2)*i)),n.stroke(),n.restore()}n.restore()}function pt(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=f({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right",linearType:"none",customColor:[]},t.extra.funnel),a=(t.height-t.area[0]-t.area[2])/e.length,s={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.height-t.area[2]},c=o.activeWidth*t.pix,u=Math.min((t.width-t.area[1]-t.area[3])/2-c,(t.height-t.area[0]-t.area[2])/2-c);if(e=ee(e,u,o.type,a,i),n.save(),n.translate(s.x,s.y),o.customColor=_(o.linearType,o.customColor,e,r),"pyramid"==o.type)for(var l=0;l<e.length;l++){if(l==e.length-1){t.tooltip&&t.tooltip.index==l&&(n.beginPath(),n.setFillStyle(d(e[l].color,o.activeOpacity)),n.moveTo(-c,-a),n.lineTo(-e[l].radius-c,0),n.lineTo(e[l].radius+c,0),n.lineTo(c,-a),n.lineTo(-c,-a),n.closePath(),n.fill()),e[l].funnelArea=[s.x-e[l].radius,s.y-a*(l+1),s.x+e[l].radius,s.y-a*l],n.beginPath(),n.setLineWidth(o.borderWidth*t.pix),n.setStrokeStyle(o.borderColor);var h=d(e[l].color,o.fillOpacity);if("custom"==o.linearType){var p=n.createLinearGradient(e[l].radius,-a,-e[l].radius,-a);p.addColorStop(0,d(e[l].color,o.fillOpacity)),p.addColorStop(.5,d(o.customColor[e[l].linearIndex],o.fillOpacity)),p.addColorStop(1,d(e[l].color,o.fillOpacity)),h=p}n.setFillStyle(h),n.moveTo(0,-a),n.lineTo(-e[l].radius,0),n.lineTo(e[l].radius,0),n.lineTo(0,-a),n.closePath(),n.fill(),1==o.border&&n.stroke()}else{t.tooltip&&t.tooltip.index==l&&(n.beginPath(),n.setFillStyle(d(e[l].color,o.activeOpacity)),n.moveTo(0,0),n.lineTo(-e[l].radius-c,0),n.lineTo(-e[l+1].radius-c,-a),n.lineTo(e[l+1].radius+c,-a),n.lineTo(e[l].radius+c,0),n.lineTo(0,0),n.closePath(),n.fill()),e[l].funnelArea=[s.x-e[l].radius,s.y-a*(l+1),s.x+e[l].radius,s.y-a*l],n.beginPath(),n.setLineWidth(o.borderWidth*t.pix),n.setStrokeStyle(o.borderColor);h=d(e[l].color,o.fillOpacity);if("custom"==o.linearType){p=n.createLinearGradient(e[l].radius,-a,-e[l].radius,-a);p.addColorStop(0,d(e[l].color,o.fillOpacity)),p.addColorStop(.5,d(o.customColor[e[l].linearIndex],o.fillOpacity)),p.addColorStop(1,d(e[l].color,o.fillOpacity)),h=p}n.setFillStyle(h),n.moveTo(0,0),n.lineTo(-e[l].radius,0),n.lineTo(-e[l+1].radius,-a),n.lineTo(e[l+1].radius,-a),n.lineTo(e[l].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==o.border&&n.stroke()}n.translate(0,-a)}else for(var v=0;v<e.length;v++){if(0==v){t.tooltip&&t.tooltip.index==v&&(n.beginPath(),n.setFillStyle(d(e[v].color,o.activeOpacity)),n.moveTo(-c,0),n.lineTo(-e[v].radius-c,-a),n.lineTo(e[v].radius+c,-a),n.lineTo(c,0),n.lineTo(-c,0),n.closePath(),n.fill()),e[v].funnelArea=[s.x-e[v].radius,s.y-a,s.x+e[v].radius,s.y],n.beginPath(),n.setLineWidth(o.borderWidth*t.pix),n.setStrokeStyle(o.borderColor);h=d(e[v].color,o.fillOpacity);if("custom"==o.linearType){p=n.createLinearGradient(e[v].radius,-a,-e[v].radius,-a);p.addColorStop(0,d(e[v].color,o.fillOpacity)),p.addColorStop(.5,d(o.customColor[e[v].linearIndex],o.fillOpacity)),p.addColorStop(1,d(e[v].color,o.fillOpacity)),h=p}n.setFillStyle(h),n.moveTo(0,0),n.lineTo(-e[v].radius,-a),n.lineTo(e[v].radius,-a),n.lineTo(0,0),n.closePath(),n.fill(),1==o.border&&n.stroke()}else{t.tooltip&&t.tooltip.index==v&&(n.beginPath(),n.setFillStyle(d(e[v].color,o.activeOpacity)),n.moveTo(0,0),n.lineTo(-e[v-1].radius-c,0),n.lineTo(-e[v].radius-c,-a),n.lineTo(e[v].radius+c,-a),n.lineTo(e[v-1].radius+c,0),n.lineTo(0,0),n.closePath(),n.fill()),e[v].funnelArea=[s.x-e[v].radius,s.y-a*(v+1),s.x+e[v].radius,s.y-a*v],n.beginPath(),n.setLineWidth(o.borderWidth*t.pix),n.setStrokeStyle(o.borderColor);h=d(e[v].color,o.fillOpacity);if("custom"==o.linearType){p=n.createLinearGradient(e[v].radius,-a,-e[v].radius,-a);p.addColorStop(0,d(e[v].color,o.fillOpacity)),p.addColorStop(.5,d(o.customColor[e[v].linearIndex],o.fillOpacity)),p.addColorStop(1,d(e[v].color,o.fillOpacity)),h=p}n.setFillStyle(h),n.moveTo(0,0),n.lineTo(-e[v-1].radius,0),n.lineTo(-e[v].radius,-a),n.lineTo(e[v].radius,-a),n.lineTo(e[v-1].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==o.border&&n.stroke()}n.translate(0,-a)}return n.restore(),!1!==t.dataLabel&&1===i&&vt(e,t,n,a,o.labelAlign,c,s),{center:s,radius:u,series:e}}function vt(e,t,r,n,i,o,a){for(var s=0;s<e.length;s++){var c=e[s];if(!1!==c.labelShow){var u=void 0,f=void 0,d=void 0,h=void 0,p=c.formatter?c.formatter(c,s,e,t):l.toFixed(100*c._proportion_)+"%";p=c.labelText?c.labelText:p,"right"==i?(u="pyramid"===t.extra.funnel.type?s==e.length-1?(c.funnelArea[2]+a.x)/2:(c.funnelArea[2]+e[s+1].funnelArea[2])/2:0==s?(c.funnelArea[2]+a.x)/2:(c.funnelArea[2]+e[s-1].funnelArea[2])/2,f=u+2*o,d=c.funnelArea[1]+n/2,h=c.textSize*t.pix||t.fontSize*t.pix,r.setLineWidth(1*t.pix),r.setStrokeStyle(c.color),r.setFillStyle(c.color),r.beginPath(),r.moveTo(u,d),r.lineTo(f,d),r.stroke(),r.closePath(),r.beginPath(),r.moveTo(f,d),r.arc(f,d,2*t.pix,0,2*Math.PI),r.closePath(),r.fill(),r.beginPath(),r.setFontSize(h),r.setFillStyle(c.textColor||t.fontColor),r.fillText(p,f+5,d+h/2-2),r.closePath(),r.stroke(),r.closePath()):(u="pyramid"===t.extra.funnel.type?s==e.length-1?(c.funnelArea[0]+a.x)/2:(c.funnelArea[0]+e[s+1].funnelArea[0])/2:0==s?(c.funnelArea[0]+a.x)/2:(c.funnelArea[0]+e[s-1].funnelArea[0])/2,f=u-2*o,d=c.funnelArea[1]+n/2,h=c.textSize*t.pix||t.fontSize*t.pix,r.setLineWidth(1*t.pix),r.setStrokeStyle(c.color),r.setFillStyle(c.color),r.beginPath(),r.moveTo(u,d),r.lineTo(f,d),r.stroke(),r.closePath(),r.beginPath(),r.moveTo(f,d),r.arc(f,d,2,0,2*Math.PI),r.closePath(),r.fill(),r.beginPath(),r.setFontSize(h),r.setFillStyle(c.textColor||t.fontColor),r.fillText(p,f-5-A(p,h,r),d+h/2-2),r.closePath(),r.stroke(),r.closePath())}}}function gt(e,t){t.draw()}var yt={easeIn:function(e){return Math.pow(e,3)},easeOut:function(e){return Math.pow(e-1,3)+1},easeInOut:function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},linear:function(e){return e}};function bt(e){this.isStop=!1,e.duration="undefined"===typeof e.duration?1e3:e.duration,e.timing=e.timing||"easeInOut";var t=17;function r(){return"undefined"!==typeof setTimeout?function(e,t){setTimeout((function(){var t=+new Date;e(t)}),t)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(e){e(null)}}var n=r(),i=null,o=function(r){if(null===r||!0===this.isStop)return e.onProcess&&e.onProcess(1),void(e.onAnimationFinish&&e.onAnimationFinish());if(null===i&&(i=r),r-i<e.duration){var a=(r-i)/e.duration,s=yt[e.timing];a=s(a),e.onProcess&&e.onProcess(a),n(o,t)}else e.onProcess&&e.onProcess(1),e.onAnimationFinish&&e.onAnimationFinish()};o=o.bind(this),n(o,t)}function mt(e,t,r,n){var i=this,o=t.series;"pie"!==e&&"ring"!==e&&"mount"!==e&&"rose"!==e&&"funnel"!==e||(o=x(o,t,r));var a=t.categories;if("mount"===e){a=[];for(var s=0;s<o.length;s++)!1!==o[s].show&&a.push(o[s].name);t.categories=a}o=w(o,t,r);var c=t.animation?t.duration:0;i.animationInstance&&i.animationInstance.stop();var u=null;if("candle"==e){var l=f({},t.extra.candle.average);l.show?(u=p(l.day,l.name,l.color,o[0].data),u=w(u,t,r),t.seriesMA=u):u=t.seriesMA?t.seriesMA=w(t.seriesMA,t,r):o}else u=o;t._series_=o=B(o),t.area=new Array(4);for(var d=0;d<4;d++)t.area[d]=t.padding[d]*t.pix;var h=K(u,t,r,t.chartData,n),v=h.area.wholeHeight,g=h.area.wholeWidth;switch(t.legend.position){case"top":t.area[0]+=v;break;case"bottom":t.area[2]+=v;break;case"left":t.area[3]+=g;break;case"right":t.area[1]+=g;break}var y={},b=0;if("line"===t.type||"column"===t.type||"mount"===t.type||"area"===t.type||"mix"===t.type||"candle"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){if(y=xe(o,t,r,n),b=y.yAxisWidth,t.yAxis.showTitle){for(var m=0,_=0;_<t.yAxis.data.length;_++)m=Math.max(m,t.yAxis.data[_].titleFontSize?t.yAxis.data[_].titleFontSize*t.pix:r.fontSize);t.area[0]+=m}for(var S=0,A=0,k=0;k<b.length;k++)"left"==b[k].position?(t.area[3]+=A>0?b[k].width+t.yAxis.padding*t.pix:b[k].width,A+=1):"right"==b[k].position&&(t.area[1]+=S>0?b[k].width+t.yAxis.padding*t.pix:b[k].width,S+=1)}else r.yAxisWidth=b;if(t.chartData.yAxisData=y,t.categories&&t.categories.length&&"radar"!==t.type&&"gauge"!==t.type&&"bar"!==t.type){t.chartData.xAxisData=de(t.categories,t,r);var P=G(t.categories,t,r,t.chartData.xAxisData.eachSpacing,n),M=P.xAxisHeight,E=P.angle;r.xAxisHeight=M,r._xAxisTextAngle_=E,t.area[2]+=M,t.chartData.categoriesData=P}else if("line"===t.type||"area"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){t.chartData.xAxisData=Y(o,t,r,n),a=t.chartData.xAxisData.rangesFormat;var O=G(a,t,r,t.chartData.xAxisData.eachSpacing,n),T=O.xAxisHeight,C=O.angle;r.xAxisHeight=T,r._xAxisTextAngle_=C,t.area[2]+=T,t.chartData.categoriesData=O}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var I=0,j=t.chartData.xAxisData.xAxisPoints,D=t.chartData.xAxisData.startX,L=t.chartData.xAxisData.endX,F=t.chartData.xAxisData.eachSpacing,R=F*(j.length-1),N=L-D;I=N-R,i.scrollOption.currentOffset=I,i.scrollOption.startTouchX=I,i.scrollOption.distance=0,i.scrollOption.lastMoveTime=0,t._scrollDistance_=I}switch("pie"!==e&&"ring"!==e&&"rose"!==e||(r._pieTextMaxLength_=!1===t.dataLabel?0:ae(u,r,n,t)),e){case"word":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),ht(o,t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"map":n.clearRect(0,0,t.width,t.height),ut(o,t,r,n);break;case"funnel":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),t.chartData.funnelData=pt(o,t,r,n,e),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=We(o,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=$e(o,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=He(o,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=Qe(o,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=Re(o,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=Ne(o,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ke(a,t,r,n);var i=ze(o,t,r,n,e),s=i.yAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.yAxisPoints=s,t.chartData.xAxisPoints=t.chartData.xAxisData.xAxisPoints,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=qe(o,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,u=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=u,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e,u,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),t.chartData.pieData=Je(o,t,r,n,e),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),t.chartData.pieData=Je(o,t,r,n,e),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),t.chartData.pieData=Ze(o,t,r,n,e),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),t.chartData.radarData=rt(o,t,r,n,e),Ye(t.series,t,r,n,t.chartData),Ve(t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),t.chartData.arcbarData=et(o,t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),t.chartData.gaugeData=tt(a,o,t,r,n,e),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new bt({timing:t.timing,duration:c,onProcess:function(e){n.clearRect(0,0,t.width,t.height),t.rotate&&Se(n,t),Ge(a,t,r,n),Ke(a,t,r,n);var i=Ue(o,u,t,r,n,e),s=i.xAxisPoints,c=i.calPoints,f=i.eachSpacing;t.chartData.xAxisPoints=s,t.chartData.calPoints=c,t.chartData.eachSpacing=f,Xe(o,t,r,n),!1!==t.enableMarkLine&&1===e&&je(t,r,n),Ye(u||t.series,t,r,n,t.chartData),Ve(t,r,n,e,f,s),gt(t,n)},onAnimationFinish:function(){i.uevent.trigger("renderComplete")}});break}}function xt(){this.events={}}bt.prototype.stop=function(){this.isStop=!0},xt.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},xt.prototype.delEventListener=function(e){this.events[e]=[]},xt.prototype.trigger=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t.slice(1);this.events[n]&&this.events[n].forEach((function(e){try{e.apply(null,i)}catch(t){}}))};var wt=function(e){e.pix=e.pixelRatio?e.pixelRatio:1,e.fontSize=e.fontSize?e.fontSize:13,e.fontColor=e.fontColor?e.fontColor:u.fontColor,""!=e.background&&"none"!=e.background||(e.background="#FFFFFF"),e.title=f({},e.title),e.subtitle=f({},e.subtitle),e.duration=e.duration?e.duration:1e3,e.yAxis=f({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:4*e.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},e.yAxis),e.xAxis=f({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},e.xAxis),e.xAxis.scrollPosition=e.xAxis.scrollAlign,e.legend=f({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:e.fontSize,lineHeight:e.fontSize,fontColor:e.fontColor,formatter:{},hiddenColor:"#CECECE"},e.legend),e.extra=f({},e.extra),e.rotate=!!e.rotate,e.animation=!!e.animation,e.rotate=!!e.rotate,e.canvas2d=!!e.canvas2d;var t=f({},u);if(t.color=e.color?e.color:t.color,"pie"==e.type&&(t.pieChartLinePadding=!1===e.dataLabel?0:e.extra.pie.labelWidth*e.pix||t.pieChartLinePadding*e.pix),"ring"==e.type&&(t.pieChartLinePadding=!1===e.dataLabel?0:e.extra.ring.labelWidth*e.pix||t.pieChartLinePadding*e.pix),"rose"==e.type&&(t.pieChartLinePadding=!1===e.dataLabel?0:e.extra.rose.labelWidth*e.pix||t.pieChartLinePadding*e.pix),t.pieChartTextPadding=!1===e.dataLabel?0:t.pieChartTextPadding*e.pix,t.rotate=e.rotate,e.rotate){var r=e.width,n=e.height;e.width=n,e.height=r}if(e.padding=e.padding?e.padding:t.padding,t.yAxisWidth=u.yAxisWidth*e.pix,t.xAxisHeight=u.xAxisHeight*e.pix,e.enableScroll&&e.xAxis.scrollShow&&(t.xAxisHeight+=6*e.pix),t.fontSize=e.fontSize*e.pix,t.titleFontSize=u.titleFontSize*e.pix,t.subtitleFontSize=u.subtitleFontSize*e.pix,t.toolTipPadding=u.toolTipPadding*e.pix,t.toolTipLineHeight=u.toolTipLineHeight*e.pix,!e.context)throw new Error("[uCharts] 未获取到context!注意:v2.0版本后,需要自行获取canvas的绘图上下文并传入opts.context!");this.context=e.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(e){return this.strokeStyle=e},this.context.setLineWidth=function(e){return this.lineWidth=e},this.context.setLineCap=function(e){return this.lineCap=e},this.context.setFontSize=function(e){return this.font=e+"px sans-serif"},this.context.setFillStyle=function(e){return this.fillStyle=e},this.context.setTextAlign=function(e){return this.textAlign=e},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(e){}),e.chartData={},this.uevent=new xt,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=e,this.config=t,mt.call(this,e.type,e,t,this.context)};wt.prototype.updateData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=f({},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 r=xe(this.opts.series,this.opts,this.config,this.context),n=r.yAxisWidth;this.config.yAxisWidth=n;var i=0,o=de(this.opts.categories,this.opts,this.config),a=o.xAxisPoints,s=o.startX,c=o.endX,u=o.eachSpacing,l=u*(a.length-1),d=c-s;i=d-l,this.scrollOption={currentOffset:i,startTouchX:i,distance:0,lastMoveTime:0},this.opts._scrollDistance_=i;break}mt.call(this,this.opts.type,this.opts,this.config,this.context)},wt.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 r=xe(this.opts.series,this.opts,this.config,this.context),n=r.yAxisWidth;this.config.yAxisWidth=n;var i=0,o=de(this.opts.categories,this.opts,this.config),a=o.xAxisPoints,s=o.startX,c=o.endX,u=o.eachSpacing,f=u*t,l=c-s,d=l-u*(a.length-1);i=l/2-f,i>0&&(i=0),i<d&&(i=d),this.scrollOption={currentOffset:i,startTouchX:0,distance:0,lastMoveTime:0},v(this,i,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=i,mt.call(this,this.opts.type,this.opts,this.config,this.context)}else console.log("[uCharts] 请启用滚动条后使用")},wt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var t=e.changedTouches;if(!(t.length<2)){for(var r=0;r<t.length;r++)t[r].x=t[r].x?t[r].x:t[r].clientX,t[r].y=t[r].y?t[r].y:t[r].clientY;var n=[M(t[0],this.opts,e),M(t[1],this.opts,e)],i=Math.abs(n[0].x-n[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:t[0].x,y:this.opts.area[0]/this.opts.pix+2}]},a={changedTouches:[{x:t[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:t[0].y}]},a={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:t[1].y}]});var s=this.getCurrentDataIndex(o).index,c=this.getCurrentDataIndex(a).index,u=Math.abs(s-c);return this.scrollOption.moveCount=u,this.scrollOption.moveCurrent1=Math.min(s,c),void(this.scrollOption.moveCurrent2=Math.max(s,c))}var f=i/this.scrollOption.moveCount,l=(this.opts.width-this.opts.area[1]-this.opts.area[3])/f;l=l<=2?2:l,l=l>=this.opts.categories.length?this.opts.categories.length:l,this.opts.animation=!1,this.opts.xAxis.itemCount=l;var d=0,h=de(this.opts.categories,this.opts,this.config),p=h.xAxisPoints,g=h.startX,y=h.endX,b=h.eachSpacing,m=b*this.scrollOption.moveCurrent1,x=y-g,w=x-b*(p.length-1);d=-m+Math.min(n[0].x,n[1].x)-this.opts.area[3]-b,d>0&&(d=0),d<w&&(d=w),this.scrollOption.currentOffset=d,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,v(this,d,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=d,mt.call(this,this.opts.type,this.opts,this.config,this.context)}}else console.log("[uCharts] 请启用滚动条后使用")},wt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},wt.prototype.addEventListener=function(e,t){this.uevent.addEventListener(e,t)},wt.prototype.delEventListener=function(e){this.uevent.delEventListener(e)},wt.prototype.getCurrentDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var r=M(t,this.opts,e);return"pie"===this.opts.type||"ring"===this.opts.type?W({x:r.x,y:r.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?H({x:r.x,y:r.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?z({x:r.x,y:r.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?U({x:r.x,y:r.y},this.opts.chartData.funnelData):"map"===this.opts.type?$({x:r.x,y:r.y},this.opts):"word"===this.opts.type?q({x:r.x,y:r.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?L({x:r.x,y:r.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):D({x:r.x,y:r.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},wt.prototype.getLegendDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var r=M(t,this.opts,e);return F({x:r.x,y:r.y},this.opts.chartData.legendData)}return-1},wt.prototype.touchLegend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;if(r=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],r){M(r,this.opts,e);var n=this.getLegendDataIndex(e);n>=0&&("candle"==this.opts.type?this.opts.seriesMA[n].show=!this.opts.seriesMA[n].show:this.opts.series[n].show=!this.opts.series[n].show,this.opts.animation=!!t.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,mt.call(this,this.opts.type,this.opts,this.config,this.context))}},wt.prototype.showToolTip=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;n=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],n||console.log("[uCharts] 未获取到event坐标信息");var i=M(n,this.opts,e),o=this.scrollOption.currentOffset,a=f({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var s=this.getCurrentDataIndex(e),c=void 0==r.index?s.index:r.index;if(c>-1||c.length>0){var u=E(this.opts.series,c,s.group);if(0!==u.length){var l=C(u,this.opts,c,s.group,this.opts.categories,r),d=l.textList,h=l.offset;h.y=i.y,a.tooltip={textList:void 0!==r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}}mt.call(this,a.type,a,this.config,this.context)}if("mount"===this.opts.type){c=void 0==r.index?this.getCurrentDataIndex(e).index:r.index;if(c>-1){a=f({},this.opts,{animation:!1}),u=f({},a._series_[c]),d=[{text:r.formatter?r.formatter(u,void 0,c,a):u.name+": "+u.data,color:u.color}],h={x:a.chartData.calPoints[c].x,y:i.y};a.tooltip={textList:r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}mt.call(this,a.type,a,this.config,this.context)}if("bar"===this.opts.type){s=this.getCurrentDataIndex(e),c=void 0==r.index?s.index:r.index;if(c>-1||c.length>0){u=E(this.opts.series,c,s.group);if(0!==u.length){l=C(u,this.opts,c,s.group,this.opts.categories,r),d=l.textList,h=l.offset;h.x=i.x,a.tooltip={textList:void 0!==r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}}mt.call(this,a.type,a,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(e),c=void 0==r.index?s.index:r.index;if(c>-1){o=this.scrollOption.currentOffset,a=f({},this.opts,{_scrollDistance_:o,animation:!1}),u=E(this.opts.series,c);if(0!==u.length){var p=I(u,this.opts,c,this.opts.categories,r);d=p.textList,h=p.offset;h.y=i.y,a.tooltip={textList:r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}}mt.call(this,a.type,a,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(e),c=void 0==r.index?s.index:r.index;if(c>-1){o=this.scrollOption.currentOffset,a=f({},this.opts,{_scrollDistance_:o,animation:!1}),u=E(this.opts.series,c);if(0!==u.length){l=j(this.opts.series[0].data,u,this.opts,c,this.opts.categories,this.opts.extra.candle,r),d=l.textList,h=l.offset;h.y=i.y,a.tooltip={textList:r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}}mt.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){c=void 0==r.index?this.getCurrentDataIndex(e):r.index;if(c>-1){a=f({},this.opts,{animation:!1}),u=f({},a._series_[c]),d=[{text:r.formatter?r.formatter(u,void 0,c,a):u.name+": "+u.data,color:u.color}],h={x:i.x,y:i.y};a.tooltip={textList:r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}mt.call(this,a.type,a,this.config,this.context)}if("map"===this.opts.type){c=void 0==r.index?this.getCurrentDataIndex(e):r.index;if(c>-1){a=f({},this.opts,{animation:!1}),u=f({},this.opts.series[c]);u.name=u.properties.name;d=[{text:r.formatter?r.formatter(u,void 0,c,this.opts):u.name,color:u.color}],h={x:i.x,y:i.y};a.tooltip={textList:r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}a.updateData=!1,mt.call(this,a.type,a,this.config,this.context)}if("word"===this.opts.type){c=void 0==r.index?this.getCurrentDataIndex(e):r.index;if(c>-1){a=f({},this.opts,{animation:!1}),u=f({},this.opts.series[c]),d=[{text:r.formatter?r.formatter(u,void 0,c,this.opts):u.name,color:u.color}],h={x:i.x,y:i.y};a.tooltip={textList:r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}a.updateData=!1,mt.call(this,a.type,a,this.config,this.context)}if("radar"===this.opts.type){c=void 0==r.index?this.getCurrentDataIndex(e):r.index;if(c>-1){a=f({},this.opts,{animation:!1}),u=E(this.opts.series,c);if(0!==u.length){d=u.map((function(e){return{text:r.formatter?r.formatter(e,t.opts.categories[c],c,t.opts):e.name+": "+e.data,color:e.color}})),h={x:i.x,y:i.y};a.tooltip={textList:r.textList?r.textList:d,offset:void 0!==r.offset?r.offset:h,option:r,index:c}}}mt.call(this,a.type,a,this.config,this.context)}},wt.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=f({},this.opts,{_scrollDistance_:e,animation:!1});mt.call(this,this.opts.type,t,this.config,this.context)},wt.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var r=M(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=r.x)},wt.prototype.scroll=function(e){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var t=this.opts.touchMoveLimit||60,r=Date.now(),n=r-this.scrollOption.lastMoveTime;if(!(n<Math.floor(1e3/t))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=r;var i=null;if(i=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],i&&!0===this.opts.enableScroll){var o,a=M(i,this.opts,e);o=a.x-this.scrollOption.startTouchX;var s=this.scrollOption.currentOffset,c=v(this,s+o,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=o=c-s;var u=f({},this.opts,{_scrollDistance_:s+o,animation:!1});return this.opts=u,mt.call(this,u.type,u,this.config,this.context),s+o}}},wt.prototype.scrollEnd=function(e){if(!0===this.opts.enableScroll){var t=this.scrollOption,r=t.currentOffset,n=t.distance;this.scrollOption.currentOffset=r+n,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var _t=wt;t.default=_t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["#4169E1","#ff5959","#f9c752","#d8deff","#23b46c","#ff8caf","#FC8452","#9A60B4"],i={showBox:!0,showArrow:!1,showCategory:!1,borderRadius:6,bgOpacity:.5,splitLine:!0,gridType:"dash",dashLength:24},o={disableGrid:!0,fontSize:11,scrollColor:"#F5F5F5",scrollBackgroundColor:"#D3D3D3",itemCount:6,format:""},a={data:[{axisLine:!1}]},s={show:!0,position:"top",float:"right",padding:5,margin:15,fontSize:13},c=[0,10,20,5],u={type:["pie","ring","rose","arcbar","line","column","area","radar","mainline","mini-line","mini-area","mini-column","mini-rose","mount","bar"],range:[],categories:["line","column","bar","area","radar","mainline","mini-line","mini-area","mini-column","mount","bar"],instance:{},option:{},formatter:{tooltipScore:function(e,t,r,n){return t+" "+e.name+": "+e.data+" 分 "},tooltipScoreShort:function(e,t,r,n){return e.name+"得分率: "+e.data+" % "},HomeworkPercent:function(e,t,r,n){return t.replace("-","月")+"日 "+e.name+" "+e.data+" % "},tooltipHourColum:function(e,t,r,n){return t.replace("-","月")+"日 "+e.name+": "+e.data+" 小时 "},pieHour:function(e,t,r,n){return e.name.replace("-","月")+"日 "+e.data+"小时"},pieMinute:function(e,t,r,n){return e.name.replace("-","月")+"日 "+e.data+"分钟"},sleepExerciseCom:function(e,t,r,n){var i=e.data<=20?e.data>=10?"分配科学":"运动量少":"运动过量";return"运动占睡眠: "+e.data+"% "+i},subjectRankColum:function(e,t,r,n){return t+" "+e.name+"超过 "+e.data+"% 的学生"},subjectRankArea:function(e,t,r,n){return t+" "+e.name+e.data+"% 的学生"},distributionColumn:function(e,t,r,n){return t+"分 "+e.name+" "+e.data+" 人 "},meritsRadar:function(e,t,r,n){return t+" "+e.name+" "+e.data+" % "},xAxisBar:function(e,t,r){return parseInt(e).toFixed(0)+"%"}},line:{type:"line",animation:!0,timing:"easeOut",duration:500,color:n,padding:c,dataLabel:!1,fontSize:12,xAxis:o,yAxis:a,enableScroll:!0,touchMoveLimit:60,legend:s,extra:{line:{type:"curve",width:2},tooltip:i}},column:{type:"column",animation:!0,timing:"easeOut",duration:500,color:n,padding:c,dataLabel:!1,fontSize:12,xAxis:o,yAxis:a,enableScroll:!0,touchMoveLimit:60,legend:s,extra:{column:{type:"group",width:17,seriesGap:3,categoryGap:5,barBorderCircle:!0},tooltip:i}},area:{type:"area",animation:!0,timing:"easeOut",duration:500,color:n,padding:c,dataLabel:!1,fontSize:12,xAxis:o,yAxis:a,enableScroll:!0,touchMoveLimit:60,legend:s,extra:{area:{type:"curve",opacity:.5,addLine:!0,width:2,gradient:!0},tooltip:i}},rose:{type:"rose",animation:!0,timing:"easeOut",duration:500,color:n,padding:[-20,5,5,5],dataLabel:!1,dataPointShape:!1,dataPointShapeType:"hollow",legend:{show:!0,position:"bottom",float:"center"},extra:{rose:{type:"radius",minRadius:90,border:!0},tooltip:i}},arcbar:{type:"arcbar",animation:!0,timing:"easeOut",duration:500,padding:[30,30,30,30],title:{name:"",fontSize:28,color:"#4169E1",offsetY:-5},subtitle:{name:"",fontSize:15,color:"#909399"},extra:{arcbar:{width:15,type:"circle",backgroundColor:"#F5F5F5"}}},radar:{type:"radar",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,15,10,15],fontSize:13,enableMarkLine:!1,dataLabel:!1,legend:{show:!0,position:"top",float:"center",padding:5,margin:5,fontColor:"#696969"},extra:{radar:{gridType:"circle",gridCount:3,opacity:.2,border:!0,borderWidth:1,labelColor:"#303133",labelPointShow:!0},tooltip:i}},pie:{type:"pie",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,3,0,3],fontSize:12,dataLabel:!1,legend:{show:!1},extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,customRadius:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF",linearType:"none"},tooltip:i}},ring:{type:"ring",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,3,0,3],fontSize:12,dataLabel:!1,legend:{show:!1},title:{name:"",fontSize:12,offsetY:-5},subtitle:{name:"",fontSize:16},extra:{ring:{ringWidth:30,centerColor:"#FFFFFF",activeOpacity:.5,activeRadius:10,offsetAngle:0,customRadius:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF",linearType:"none"},tooltip:i}},mainline:{type:"area",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,-20,10,-20],dataLabel:!1,dataPointShape:!1,tapLegend:!1,xAxis:{disabled:!0,axisLine:!1,disableGrid:!0},yAxis:{disabled:!0,disableGrid:!0},legend:{show:!1},extra:{area:{type:"curve",opacity:.7,addLine:!0,width:3,gradient:!0},tooltip:{showBox:!1,splitLine:!1}}},"mini-column":{type:"column",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,10,10,10],dataLabel:!1,dataPointShape:!1,tapLegend:!1,xAxis:{disabled:!0,axisLine:!1,disableGrid:!0},yAxis:{disabled:!0,disableGrid:!0},legend:{show:!1},extra:{column:{type:"group",width:10,seriesGap:2,categoryGap:3,barBorderCircle:!1,barBorderRadius:[10,10,10,10],linearType:"opacity",linearOpacity:.7,customColor:["#4169E1","#FFFFFF","#ff5959","#FFFFFF","#f9c752","#FFFFFF"],colorStop:.5,meterBorder:1,meterFillColor:"#FFFFFF",activeBgColor:"#FFFFFF",activeBgOpacity:.08,meterBorde:1},tooltip:{showBox:!1,splitLine:!1}}},"mini-area":{type:"area",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,-5,10,-5],dataLabel:!1,dataPointShape:!1,tapLegend:!1,xAxis:{disabled:!0,axisLine:!1,disableGrid:!0},yAxis:{disabled:!0,disableGrid:!0},legend:{show:!1},extra:{area:{type:"curve",opacity:.7,addLine:!0,width:2,gradient:!0},tooltip:{showBox:!1,splitLine:!1}}},"mini-rose":{type:"rose",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,0,0,0],dataLabel:!1,dataPointShape:!1,dataPointShapeType:"hollow",legend:{show:!1},extra:{rose:{type:"radius",minRadius:40,activeRadius:0,opacity:.7,gradient:!0,border:!0,borderWidth:2,borderColor:"#FFFFFF"},tooltip:{showBox:!1,splitLine:!1}}},mount:{type:"mount",animation:!0,timing:"easeOut",duration:500,color:n,padding:[0,20,10,20],dataLabel:!1,dataPointShape:!1,tapLegend:!1,xAxis:{disableGrid:!0,fontSize:11,scrollColor:"#F5F5F5",scrollBackgroundColor:"#D3D3D3",boundaryGap:"center",disabled:!0},yAxis:{disableGrid:!0,data:[{fontSize:11,min:0,disabled:!0}]},legend:{show:!1},extra:{mount:{type:"mount",borderWidth:1.2,widthRatio:1.7,linearType:"opacity",linearOpacity:.1},tooltip:{showBox:!0,showArrow:!1,showCategory:!1,borderRadius:6,bgOpacity:.5,splitLine:!1}}},bar:{type:"bar",timing:"easeOut",duration:1e3,rotate:!1,rotateLock:!1,color:n,padding:[0,30,20,10],fontSize:13,fontColor:"#666666",dataLabel:!1,dataPointShape:!0,dataPointShapeType:"solid",touchMoveLimit:60,enableScroll:!1,enableMarkLine:!1,xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,max:100,axisLine:!1,disabled:!1,axisLineColor:"#CCCCCC",calibration:!1,fontColor:"#666666",fontSize:13,rotateLabel:!1,rotateAngle:45,itemCount:5,splitNumber:5,gridColor:"#CCCCCC",gridType:"dash",dashLength:10,gridEval:1,scrollShow:!1,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF",format:""},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:8,gridColor:"#CCCCCC",padding:10,showTitle:!1,data:[]},extra:{bar:{type:"group",width:30,meterBorde:1,activeBgOpacity:.08,seriesGap:2,categoryGap:3,barBorderCircle:!1,barBorderRadius:[6,6,6,6],linearType:"none",linearOpacity:1,colorStop:0},tooltip:i}}},f=u;t.default=f},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{text:{type:[Array,String],default:e.$u.props.noticeBar.text},direction:{type:String,default:e.$u.props.noticeBar.direction},step:{type:Boolean,default:e.$u.props.noticeBar.step},icon:{type:String,default:e.$u.props.noticeBar.icon},mode:{type:String,default:e.$u.props.noticeBar.mode},color:{type:String,default:e.$u.props.noticeBar.color},bgColor:{type:String,default:e.$u.props.noticeBar.bgColor},speed:{type:[String,Number],default:e.$u.props.noticeBar.speed},fontSize:{type:[String,Number],default:e.$u.props.noticeBar.fontSize},duration:{type:[String,Number],default:e.$u.props.noticeBar.duration},disableTouch:{type:Boolean,default:e.$u.props.noticeBar.disableTouch},url:{type:String,default:e.$u.props.noticeBar.url},linkType:{type:String,default:e.$u.props.noticeBar.linkType}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{isDot:{type:Boolean,default:e.$u.props.badge.isDot},value:{type:[Number,String],default:e.$u.props.badge.value},show:{type:Boolean,default:e.$u.props.badge.show},max:{type:[Number,String],default:e.$u.props.badge.max},type:{type:String,default:e.$u.props.badge.type},showZero:{type:Boolean,default:e.$u.props.badge.showZero},bgColor:{type:[String,null],default:e.$u.props.badge.bgColor},color:{type:[String,null],default:e.$u.props.badge.color},shape:{type:String,default:e.$u.props.badge.shape},numberType:{type:String,default:e.$u.props.badge.numberType},offset:{type:Array,default:e.$u.props.badge.offset},inverted:{type:Boolean,default:e.$u.props.badge.inverted},absolute:{type:Boolean,default:e.$u.props.badge.absolute}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{urls:{type:Array,default:e.$u.props.avatarGroup.urls},maxCount:{type:[String,Number],default:e.$u.props.avatarGroup.maxCount},shape:{type:String,default:e.$u.props.avatarGroup.shape},mode:{type:String,default:e.$u.props.avatarGroup.mode},showMore:{type:Boolean,default:e.$u.props.avatarGroup.showMore},size:{type:[String,Number],default:e.$u.props.avatarGroup.size},keyName:{type:String,default:e.$u.props.avatarGroup.keyName},gap:{type:[String,Number],validator:function(e){return e>=0&&e<=1},default:e.$u.props.avatarGroup.gap},extraValue:{type:[Number,String],default:e.$u.props.avatarGroup.extraValue}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{openType:String},methods:{onGetUserInfo:function(e){this.$emit("getuserinfo",e.detail)},onContact:function(e){this.$emit("contact",e.detail)},onGetPhoneNumber:function(e){this.$emit("getphonenumber",e.detail)},onError:function(e){this.$emit("error",e.detail)},onLaunchApp:function(e){this.$emit("launchapp",e.detail)},onOpenSetting:function(e){this.$emit("opensetting",e.detail)}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}};t.default=n},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.actionSheet.show},title:{type:String,default:e.$u.props.actionSheet.title},description:{type:String,default:e.$u.props.actionSheet.description},actions:{type:Array,default:e.$u.props.actionSheet.actions},cancelText:{type:String,default:e.$u.props.actionSheet.cancelText},closeOnClickAction:{type:Boolean,default:e.$u.props.actionSheet.closeOnClickAction},safeAreaInsetBottom:{type:Boolean,default:e.$u.props.actionSheet.safeAreaInsetBottom},openType:{type:String,default:e.$u.props.actionSheet.openType},closeOnClickOverlay:{type:Boolean,default:e.$u.props.actionSheet.closeOnClickOverlay},round:{type:[Boolean,String,Number],default:e.$u.props.actionSheet.round}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""};t.default=n},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{name:{type:String,default:e.$u.props.icon.name},color:{type:String,default:e.$u.props.icon.color},size:{type:[String,Number],default:e.$u.props.icon.size},bold:{type:Boolean,default:e.$u.props.icon.bold},index:{type:[String,Number],default:e.$u.props.icon.index},hoverClass:{type:String,default:e.$u.props.icon.hoverClass},customPrefix:{type:String,default:e.$u.props.icon.customPrefix},label:{type:[String,Number],default:e.$u.props.icon.label},labelPos:{type:String,default:e.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:e.$u.props.icon.labelSize},labelColor:{type:String,default:e.$u.props.icon.labelColor},space:{type:[String,Number],default:e.$u.props.icon.space},imgMode:{type:String,default:e.$u.props.icon.imgMode},width:{type:[String,Number],default:e.$u.props.icon.width},height:{type:[String,Number],default:e.$u.props.icon.height},top:{type:[String,Number],default:e.$u.props.icon.top},stop:{type:Boolean,default:e.$u.props.icon.stop}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.picker.show},showToolbar:{type:Boolean,default:e.$u.props.picker.showToolbar},title:{type:String,default:e.$u.props.picker.title},columns:{type:Array,default:e.$u.props.picker.columns},loading:{type:Boolean,default:e.$u.props.picker.loading},itemHeight:{type:[String,Number],default:e.$u.props.picker.itemHeight},cancelText:{type:String,default:e.$u.props.picker.cancelText},confirmText:{type:String,default:e.$u.props.picker.confirmText},cancelColor:{type:String,default:e.$u.props.picker.cancelColor},confirmColor:{type:String,default:e.$u.props.picker.confirmColor},singleIndex:{type:[String,Number],default:e.$u.props.picker.singleIndex},visibleItemCount:{type:[String,Number],default:e.$u.props.picker.visibleItemCount},keyName:{type:String,default:e.$u.props.picker.keyName},closeOnClickOverlay:{type:Boolean,default:!0},defaultIndex:{type:Array,default:e.$u.props.picker.defaultIndex},immediateChange:{type:Boolean,default:!0}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.modal.show},title:{type:[String],default:e.$u.props.modal.title},content:{type:String,default:e.$u.props.modal.content},confirmText:{type:String,default:e.$u.props.modal.confirmText},cancelText:{type:String,default:e.$u.props.modal.cancelText},showConfirmButton:{type:Boolean,default:e.$u.props.modal.showConfirmButton},showCancelButton:{type:Boolean,default:e.$u.props.modal.showCancelButton},confirmColor:{type:String,default:e.$u.props.modal.confirmColor},cancelColor:{type:String,default:e.$u.props.modal.cancelColor},buttonReverse:{type:Boolean,default:e.$u.props.modal.buttonReverse},zoom:{type:Boolean,default:e.$u.props.modal.zoom},asyncClose:{type:Boolean,default:e.$u.props.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:e.$u.props.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:e.$u.props.modal.negativeTop},width:{type:[String,Number],default:e.$u.props.modal.width},confirmButtonShape:{type:String,default:e.$u.props.modal.confirmButtonShape}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";function n(e,t){if(0===arguments.length)return null;if(!e)return"";e.toString().indexOf("-")>0&&(e=e.replace(/-/g,"/"));var r,n=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===typeof e?r=e:("string"===typeof e&&/^[0-9]+$/.test(e)&&(e=parseInt(e)),"number"===typeof e&&10===e.toString().length&&(e*=1e3),r=new Date(e));var i={y:r.getFullYear(),m:r.getMonth()+1,d:r.getDate(),h:r.getHours(),i:r.getMinutes(),s:r.getSeconds(),a:r.getDay()},o=n.replace(/{([ymdhisa])+}/g,(function(e,t){var r=i[t];return"a"===t?["日","一","二","三","四","五","六"][r]:r.toString().padStart(2,"0")}));return o}function i(e){if(!e&&"object"!==typeof e)throw new Error("error arguments","deepClone");var t="[object Array]"===Object.prototype.toString.call(e)?[]:{};return Object.keys(e).forEach((function(r){e[r]&&"object"===typeof e[r]?t[r]=i(e[r]):t[r]=e[r]})),t}Object.defineProperty(t,"__esModule",{value:!0}),t.parseTime=n,t.deepClone=i},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{list:{type:Array,default:e.$u.props.subsection.list},current:{type:[String,Number],default:e.$u.props.subsection.current},activeColor:{type:String,default:e.$u.props.subsection.activeColor},inactiveColor:{type:String,default:"#909596"},mode:{type:String,default:e.$u.props.subsection.mode},fontSize:{type:[String,Number],default:14},bold:{type:Boolean,default:e.$u.props.subsection.bold},bgColor:{type:String,default:e.$u.props.subsection.bgColor},keyName:{type:String,default:e.$u.props.subsection.keyName}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{content:String,copyLink:{type:Boolean,default:e.$u.props.parse.copyLink},domain:String,errorImg:{type:String,default:e.$u.props.parse.errorImg},lazyLoad:{type:Boolean,default:e.$u.props.parse.lazyLoad},loadingImg:{type:String,default:e.$u.props.parse.loadingImg},pauseVideo:{type:Boolean,default:e.$u.props.parse.pauseVideo},previewImg:{type:Boolean,default:e.$u.props.parse.previewImg},scrollTable:Boolean,selectable:Boolean,setTitle:{type:Boolean,default:e.$u.props.parse.setTitle},showImgMenu:{type:Boolean,default:e.$u.props.parse.showImgMenu},tagStyle:Object,useAnchor:null}};t.default=r}).call(this,r(1)["default"])},function(e,t,r){"use strict";(function(t){function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o={trustTags:f("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:f("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:f("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:f("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}},a=t.getSystemInfoSync(),s=a.windowWidth,c=f(" ,\r,\n,\t,\f"),u=0;function f(e){for(var t=Object.create(null),r=e.split(","),n=r.length;n--;)t[r[n]]=!0;return t}function l(e,t){var r=e.indexOf("&");while(-1!=r){var n=e.indexOf(";",r+3),i=void 0;if(-1==n)break;"#"==e[r+1]?(i=parseInt(("x"==e[r+2]?"0":"")+e.substring(r+2,n)),isNaN(i)||(e=e.substr(0,r)+String.fromCharCode(i)+e.substr(n+1))):(i=e.substring(r+1,n),(o.entities[i]||"amp"==i&&t)&&(e=e.substr(0,r)+(o.entities[i]||"&")+e.substr(n+1))),r=e.indexOf("&",r+1)}return e}function d(e){this.options=e||{},this.tagStyle=Object.assign(o.tagStyle,this.options.tagStyle),this.imgList=e.imgList||[],this.plugins=e.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[]}function h(e){this.handler=e}d.prototype.parse=function(e){for(var t=this.plugins.length;t--;)this.plugins[t].onUpdate&&(e=this.plugins[t].onUpdate(e,o)||e);new h(this).parse(e);while(this.stack.length)this.popNode();return this.nodes},d.prototype.expose=function(){for(var e=this.stack.length;e--;){var t=this.stack[e];if("a"==t.name||t.c)return;t.c=1}},d.prototype.hook=function(e){for(var t=this.plugins.length;t--;)if(this.plugins[t].onParse&&0==this.plugins[t].onParse(e,this))return!1;return!0},d.prototype.getUrl=function(e){var t=this.options.domain;return"/"==e[0]?"/"==e[1]?e="".concat(t?t.split("://")[0]:"http",":").concat(e):t&&(e=t+e):!t||e.includes("data:")||e.includes("://")||(e="".concat(t,"/").concat(e)),e},d.prototype.parseStyle=function(e){var t=e.attrs,r=(this.tagStyle[e.name]||"").split(";").concat((t.style||"").split(";")),n={},i="";t.id&&(this.options.useAnchor?this.expose():"img"!=e.name&&"a"!=e.name&&"video"!=e.name&&"audio"!=e.name&&(t.id=void 0)),t.width&&(n.width=parseFloat(t.width)+(t.width.includes("%")?"%":"px"),t.width=void 0),t.height&&(n.height=parseFloat(t.height)+(t.height.includes("%")?"%":"px"),t.height=void 0);for(var o=0,a=r.length;o<a;o++){var u=r[o].split(":");if(!(u.length<2)){var f=u.shift().trim().toLowerCase(),l=u.join(":").trim();if("-"==l[0]&&l.lastIndexOf("-")>0||l.includes("safe"))i+=";".concat(f,":").concat(l);else if(!n[f]||l.includes("import")||!n[f].includes("import")){if(l.includes("url")){var d=l.indexOf("(")+1;if(d){while('"'==l[d]||"'"==l[d]||c[l[d]])d++;l=l.substr(0,d)+this.getUrl(l.substr(d))}}else l.includes("rpx")&&(l=l.replace(/[0-9.]+\s*rpx/g,(function(e){return"".concat(parseFloat(e)*s/750,"px")})));n[f]=l}}}return e.attrs.style=i,n},d.prototype.onTagName=function(e){this.tagName=this.xml?e:e.toLowerCase(),"svg"==this.tagName&&(this.xml=!0)},d.prototype.onAttrName=function(e){e=this.xml?e:e.toLowerCase(),"data-"==e.substr(0,5)?"data-src"!=e||this.attrs.src?"img"==this.tagName||"a"==this.tagName?this.attrName=e:this.attrName=void 0:this.attrName="src":(this.attrName=e,this.attrs[e]="T")},d.prototype.onAttrVal=function(e){var t=this.attrName||"";"style"==t||"href"==t?this.attrs[t]=l(e,!0):t.includes("src")?this.attrs[t]=this.getUrl(l(e,!0)):t&&(this.attrs[t]=e)},d.prototype.onOpenTag=function(e){var t=Object.create(null);t.name=this.tagName,t.attrs=this.attrs,this.attrs=Object.create(null);var r=t.attrs,n=this.stack[this.stack.length-1],i=n?n.children:this.nodes,a=this.xml?e:o.voidTags[t.name];if("embed"==t.name){var c=r.src||"";c.includes(".mp4")||c.includes(".3gp")||c.includes(".m3u8")||(r.type||"").includes("video")?t.name="video":(c.includes(".mp3")||c.includes(".wav")||c.includes(".aac")||c.includes(".m4a")||(r.type||"").includes("audio"))&&(t.name="audio"),r.autostart&&(r.autoplay="T"),r.controls="T"}if("video"!=t.name&&"audio"!=t.name||("video"!=t.name||r.id||(r.id="v".concat(u++)),r.controls||r.autoplay||(r.controls="T"),t.src=[],r.src&&(t.src.push(r.src),r.src=void 0),this.expose()),a){if(!this.hook(t)||o.ignoreTags[t.name])return void("base"!=t.name||this.options.domain?"source"==t.name&&n&&("video"==n.name||"audio"==n.name)&&r.src&&n.src.push(r.src):this.options.domain=r.href);var f=this.parseStyle(t);if("img"==t.name){if(r.src&&(r.src.includes("webp")&&(t.webp="T"),r.src.includes("data:")&&!r["original-src"]&&(r.ignore="T"),!r.ignore||t.webp||r.src.includes("cloud://"))){for(var l=this.stack.length;l--;){var d=this.stack[l];if("a"==d.name){t.a=d.attrs;break}var h=d.attrs.style||"";if(!h.includes("flex:")||h.includes("flex:0")||h.includes("flex: 0")||f.width&&f.width.includes("%"))if(h.includes("flex")&&"100%"==f.width)for(var p=l+1;p<this.stack.length;p++){var v=this.stack[p].attrs.style||"";if(!v.includes(";width")&&!v.includes(" width")&&0!=v.indexOf("width")){f.width="";break}}else h.includes("inline-block")&&(f.width&&"%"==f.width[f.width.length-1]?(d.attrs.style+=";max-width:".concat(f.width),f.width=""):d.attrs.style+=";max-width:100%");else{f.width="100% !important",f.height="";for(var g=l+1;g<this.stack.length;g++)this.stack[g].attrs.style=(this.stack[g].attrs.style||"").replace("inline-","")}d.c=1}r.i=this.imgList.length.toString();var y=r["original-src"]||r.src;if(this.imgList.includes(y)){var b=y.indexOf("://");if(-1!=b){b+=3;for(var m=y.substr(0,b);b<y.length;b++){if("/"==y[b])break;m+=Math.random()>.5?y[b].toUpperCase():y[b]}m+=y.substr(b),y=m}}this.imgList.push(y)}"inline"==f.display&&(f.display=""),r.ignore&&(f["max-width"]=f["max-width"]||"100%",r.style+=";-webkit-touch-callout:none"),parseInt(f.width)>s&&(f.height=void 0),f.width&&(f.width.includes("auto")?f.width="":(t.w="T",f.height&&!f.height.includes("auto")&&(t.h="T")))}else if("svg"==t.name)return i.push(t),this.stack.push(t),void this.popNode();for(var x in f)f[x]&&(r.style+=";".concat(x,":").concat(f[x].replace(" !important","")));r.style=r.style.substr(1)||void 0}else("pre"==t.name||(r.style||"").includes("white-space")&&r.style.includes("pre"))&&(this.pre=t.pre=!0),t.children=[],this.stack.push(t);i.push(t)},d.prototype.onCloseTag=function(e){var t;for(e=this.xml?e:e.toLowerCase(),t=this.stack.length;t--;)if(this.stack[t].name==e)break;if(-1!=t)while(this.stack.length>t)this.popNode();else if("p"==e||"br"==e){var r=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;r.push({name:e,attrs:{}})}},d.prototype.popNode=function(){var e=this.stack.pop(),r=e.attrs,i=e.children,a=this.stack[this.stack.length-1],c=a?a.children:this.nodes;if(!this.hook(e)||o.ignoreTags[e.name])return"title"==e.name&&i.length&&"text"==i[0].type&&this.options.setTitle&&t.setNavigationBarTitle({title:i[0].text}),void c.pop();if(e.pre){e.pre=this.pre=void 0;for(var u=this.stack.length;u--;)this.stack[u].pre&&(this.pre=!0)}var f={};if("svg"==e.name){var l="",d=r,h=d.style;return r.style="",r.xmlns="http://www.w3.org/2000/svg",function e(t){for(var r in l+="<".concat(t.name),t.attrs){var n=t.attrs[r];n&&("viewbox"==r&&(r="viewBox"),l+=" ".concat(r,'="').concat(n,'"'))}if(t.children){l+=">";for(var i=0;i<t.children.length;i++)e(t.children[i]);l+="</".concat(t.name,">")}else l+="/>"}(e),e.name="img",e.attrs={src:"data:image/svg+xml;utf8,".concat(l.replace(/#/g,"%23")),style:h,ignore:"T"},e.children=void 0,void(this.xml=!1)}if(r.align&&("table"==e.name?"center"==r.align?f["margin-inline-start"]=f["margin-inline-end"]="auto":f.float=r.align:f["text-align"]=r.align,r.align=void 0),"font"==e.name&&(r.color&&(f.color=r.color,r.color=void 0),r.face&&(f["font-family"]=r.face,r.face=void 0),r.size)){var p=parseInt(r.size);isNaN(p)||(p<1?p=1:p>7&&(p=7),f["font-size"]=["xx-small","x-small","small","medium","large","x-large","xx-large"][p-1]),r.size=void 0}if((r.class||"").includes("align-center")&&(f["text-align"]="center"),Object.assign(f,this.parseStyle(e)),parseInt(f.width)>s&&(f["max-width"]="100%",f["box-sizing"]="border-box"),o.blockTags[e.name]?e.name="div":o.trustTags[e.name]||this.xml||(e.name="span"),"a"==e.name||"ad"==e.name)this.expose();else if("ul"!=e.name&&"ol"!=e.name||!e.c){if("table"==e.name){var v=parseFloat(r.cellpadding),g=parseFloat(r.cellspacing),y=parseFloat(r.border);if(e.c&&(isNaN(v)&&(v=2),isNaN(g)&&(g=2)),y&&(r.style+=";border:".concat(y,"px solid gray")),e.flag&&e.c){f.display="grid",g?(f["grid-gap"]="".concat(g,"px"),f.padding="".concat(g,"px")):y&&(r.style+=";border-left:0;border-top:0");var b=[],m=[],x=[],w={};(function e(t){for(var r=0;r<t.length;r++)"tr"==t[r].name?m.push(t[r]):e(t[r].children||[])})(i);for(var _=1;_<=m.length;_++){for(var S=1,A=0;A<m[_-1].children.length;A++,S++){var k=m[_-1].children[A];if("td"==k.name||"th"==k.name){while(w["".concat(_,".").concat(S)])S++;var P=k.attrs.style||"",M=P.indexOf("width")?P.indexOf(";width"):0;if(-1!=M){var E=P.indexOf(";",M+6);-1==E&&(E=P.length),k.attrs.colspan||(b[S]=P.substring(M?M+7:6,E)),P=P.substr(0,M)+P.substr(E)}if(P+=(y?";border:".concat(y,"px solid gray")+(g?"":";border-right:0;border-bottom:0"):"")+(v?";padding:".concat(v,"px"):""),k.attrs.colspan&&(P+=";grid-column-start:".concat(S,";grid-column-end:").concat(S+parseInt(k.attrs.colspan)),k.attrs.rowspan||(P+=";grid-row-start:".concat(_,";grid-row-end:").concat(_+1)),S+=parseInt(k.attrs.colspan)-1),k.attrs.rowspan){P+=";grid-row-start:".concat(_,";grid-row-end:").concat(_+parseInt(k.attrs.rowspan)),k.attrs.colspan||(P+=";grid-column-start:".concat(S,";grid-column-end:").concat(S+1));for(var O=1;O<k.attrs.rowspan;O++)w["".concat(_+O,".").concat(S)]=1}P&&(k.attrs.style=P),x.push(k)}}if(1==_){for(var T="",C=1;C<S;C++)T+="".concat(b[C]?b[C]:"auto"," ");f["grid-template-columns"]=T}}e.children=x}else e.c&&(f.display="table"),isNaN(g)||(f["border-spacing"]="".concat(g,"px")),(y||v)&&function e(t){for(var r=0;r<t.length;r++){var n=t[r];"th"==n.name||"td"==n.name?(y&&(n.attrs.style="border:".concat(y,"px solid gray;").concat(n.attrs.style||"")),v&&(n.attrs.style="padding:".concat(v,"px;").concat(n.attrs.style||""))):n.children&&e(n.children)}}(i);if(this.options.scrollTable&&!(r.style||"").includes("inline")){var I=n({},e);e.name="div",e.attrs={style:"overflow:auto"},e.children=[I],r=I.attrs}}else if("td"!=e.name&&"th"!=e.name||!r.colspan&&!r.rowspan){if("ruby"==e.name){e.name="span";for(var j=0;j<i.length-1;j++)"text"==i[j].type&&"rt"==i[j+1].name&&(i[j]={name:"div",attrs:{style:"display:inline-block"},children:[{name:"div",attrs:{style:"font-size:50%;text-align:start"},children:i[j+1].children},i[j]]},i.splice(j+1,1))}else if(e.c){e.c=2;for(var B=e.children.length;B--;)e.children[B].c&&"table"!=e.children[B].name||(e.c=1)}}else for(var D=this.stack.length;D--;)if("table"==this.stack[D].name){this.stack[D].flag=1;break}}else{var L={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman"};L[r.type]&&(r.style+=";list-style-type:".concat(L[r.type]),r.type=void 0);for(var F=i.length;F--;)"li"==i[F].name&&(i[F].c=1)}if((f.display||"").includes("flex")&&!e.c)for(var R=i.length;R--;){var N=i[R];N.f&&(N.attrs.style=(N.attrs.style||"")+N.f,N.f=void 0)}var z=a&&(a.attrs.style||"").includes("flex")&&!(e.c&&wx.getNFCAdapter);for(var U in z&&(e.f=";max-width:100%"),f)if(f[U]){var q=";".concat(U,":").concat(f[U].replace(" !important",""));z&&(U.includes("flex")&&"flex-direction"!=U||"align-self"==U||"-"==f[U][0]||"width"==U&&q.includes("%"))?(e.f+=q,"width"==U&&(r.style+=";width:100%")):r.style+=q}r.style=r.style.substr(1)||void 0},d.prototype.onText=function(e){if(!this.pre){for(var t,r="",n=0,i=e.length;n<i;n++)c[e[n]]?(" "!=r[r.length-1]&&(r+=" "),"\n"!=e[n]||t||(t=!0)):r+=e[n];if(" "==r&&t)return;e=r}var o=Object.create(null);if(o.type="text",o.text=l(e),this.hook(o)){var a=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;a.push(o)}},h.prototype.parse=function(e){this.content=e||"",this.i=0,this.start=0,this.state=this.text;for(var t=this.content.length;-1!=this.i&&this.i<t;)this.state()},h.prototype.checkClose=function(e){var t="/"==this.content[this.i];return!!(">"==this.content[this.i]||t&&">"==this.content[this.i+1])&&(e&&this.handler[e](this.content.substring(this.start,this.i)),this.i+=t?2:1,this.start=this.i,this.handler.onOpenTag(t),"script"==this.handler.tagName?(this.i=this.content.indexOf("</",this.i),-1!=this.i&&(this.i+=2,this.start=this.i),this.state=this.endTag):this.state=this.text,!0)},h.prototype.text=function(){if(this.i=this.content.indexOf("<",this.i),-1!=this.i){var e=this.content[this.i+1];if(e>="a"&&e<="z"||e>="A"&&e<="Z")this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"==e||"!"==e||"?"==e){this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i));var t=this.content[this.i+2];if("/"==e&&(t>="a"&&t<="z"||t>="A"&&t<="Z"))return this.i+=2,this.start=this.i,this.state=this.endTag;var r="--\x3e";"!"==e&&"-"==this.content[this.i+2]&&"-"==this.content[this.i+3]||(r=">"),this.i=this.content.indexOf(r,this.i),-1!=this.i&&(this.i+=r.length,this.start=this.i)}else this.i++}else this.start<this.content.length&&this.handler.onText(this.content.substring(this.start,this.content.length))},h.prototype.tagName=function(){if(c[this.content[this.i]]){this.handler.onTagName(this.content.substring(this.start,this.i));while(c[this.content[++this.i]]);this.i<this.content.length&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)}else this.checkClose("onTagName")||this.i++},h.prototype.attrName=function(){var e=this.content[this.i];if(c[e]||"="==e){this.handler.onAttrName(this.content.substring(this.start,this.i));var t="="==e,r=this.content.length;while(++this.i<r)if(e=this.content[this.i],!c[e]){if(this.checkClose())return;if(t)return this.start=this.i,this.state=this.attrVal;if("="!=this.content[this.i])return this.start=this.i,this.state=this.attrName;t=!0}}else this.checkClose("onAttrName")||this.i++},h.prototype.attrVal=function(){var e=this.content[this.i],t=this.content.length;if('"'==e||"'"==e){if(this.start=++this.i,this.i=this.content.indexOf(e,this.i),-1==this.i)return;this.handler.onAttrVal(this.content.substring(this.start,this.i))}else for(;this.i<t;this.i++){if(c[this.content[this.i]]){this.handler.onAttrVal(this.content.substring(this.start,this.i));break}if(this.checkClose("onAttrVal"))return}while(c[this.content[++this.i]]);this.i<t&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)},h.prototype.endTag=function(){var e=this.content[this.i];if(c[e]||">"==e||"/"==e){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!=e&&(this.i=this.content.indexOf(">",this.i),-1==this.i))return;this.start=++this.i,this.state=this.text}else this.i++},e.exports=d}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{time:{type:[String,Number],default:e.$u.props.countDown.time},format:{type:String,default:e.$u.props.countDown.format},autoStart:{type:Boolean,default:e.$u.props.countDown.autoStart},millisecond:{type:Boolean,default:e.$u.props.countDown.millisecond}}};t.default=r}).call(this,r(1)["default"])},function(e,t,r){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r="".concat(e);while(r.length<t)r="0".concat(r);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.parseTimeData=c,t.parseFormat=u,t.isSameSecond=f;var i=1e3,o=60*i,a=60*o,s=24*a;function c(e){var t=Math.floor(e/s),r=Math.floor(e%s/a),n=Math.floor(e%a/o),c=Math.floor(e%o/i),u=Math.floor(e%i);return{days:t,hours:r,minutes:n,seconds:c,milliseconds:u}}function u(e,t){var r=t.days,i=t.hours,o=t.minutes,a=t.seconds,s=t.milliseconds;return-1===e.indexOf("DD")?i+=24*r:e=e.replace("DD",n(r)),-1===e.indexOf("HH")?o+=60*i:e=e.replace("HH",n(i)),-1===e.indexOf("mm")?a+=60*o:e=e.replace("mm",n(o)),-1===e.indexOf("ss")?s+=1e3*a:e=e.replace("ss",n(a)),e.replace("SSS",n(s,3))}function f(e,t){return Math.floor(e/1e3)===Math.floor(t/1e3)}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{text:{type:[Array],default:e.$u.props.columnNotice.text},icon:{type:String,default:e.$u.props.columnNotice.icon},mode:{type:String,default:e.$u.props.columnNotice.mode},color:{type:String,default:e.$u.props.columnNotice.color},bgColor:{type:String,default:e.$u.props.columnNotice.bgColor},fontSize:{type:[String,Number],default:e.$u.props.columnNotice.fontSize},speed:{type:[String,Number],default:e.$u.props.columnNotice.speed},step:{type:Boolean,default:e.$u.props.columnNotice.step},duration:{type:[String,Number],default:e.$u.props.columnNotice.duration},disableTouch:{type:Boolean,default:e.$u.props.columnNotice.disableTouch}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{text:{type:String,default:e.$u.props.rowNotice.text},icon:{type:String,default:e.$u.props.rowNotice.icon},mode:{type:String,default:e.$u.props.rowNotice.mode},color:{type:String,default:e.$u.props.rowNotice.color},bgColor:{type:String,default:e.$u.props.rowNotice.bgColor},fontSize:{type:[String,Number],default:e.$u.props.rowNotice.fontSize},speed:{type:[String,Number],default:e.$u.props.rowNotice.speed}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{src:{type:String,default:e.$u.props.avatar.src},shape:{type:String,default:e.$u.props.avatar.shape},size:{type:[String,Number],default:e.$u.props.avatar.size},mode:{type:String,default:e.$u.props.avatar.mode},text:{type:String,default:e.$u.props.avatar.text},bgColor:{type:String,default:e.$u.props.avatar.bgColor},color:{type:String,default:e.$u.props.avatar.color},fontSize:{type:[String,Number],default:e.$u.props.avatar.fontSize},icon:{type:String,default:e.$u.props.avatar.icon},mpAvatar:{type:Boolean,default:e.$u.props.avatar.mpAvatar},randomBgColor:{type:Boolean,default:e.$u.props.avatar.randomBgColor},defaultUrl:{type:String,default:e.$u.props.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:function(t){return e.$u.test.range(t,[0,19])||""===t},default:e.$u.props.avatar.colorIndex},name:{type:String,default:e.$u.props.avatar.name}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{type:{type:String,default:e.$u.props.text.type},show:{type:Boolean,default:e.$u.props.text.show},text:{type:[String,Number],default:e.$u.props.text.text},prefixIcon:{type:String,default:e.$u.props.text.prefixIcon},suffixIcon:{type:String,default:e.$u.props.text.suffixIcon},mode:{type:String,default:e.$u.props.text.mode},href:{type:String,default:e.$u.props.text.href},format:{type:[String,Function],default:e.$u.props.text.format},call:{type:Boolean,default:e.$u.props.text.call},openType:{type:String,default:e.$u.props.text.openType},bold:{type:Boolean,default:e.$u.props.text.bold},block:{type:Boolean,default:e.$u.props.text.block},lines:{type:[String,Number],default:e.$u.props.text.lines},color:{type:String,default:e.$u.props.text.color},size:{type:[String,Number],default:e.$u.props.text.size},iconStyle:{type:[Object,String],default:e.$u.props.text.iconStyle},decoration:{tepe:String,default:e.$u.props.text.decoration},margin:{type:[Object,String,Number],default:e.$u.props.text.margin},lineHeight:{type:[String,Number],default:e.$u.props.text.lineHeight},align:{type:String,default:e.$u.props.text.align},wordWrap:{type:String,default:e.$u.props.text.wordWrap}}};t.default=r}).call(this,r(1)["default"])},,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.popup.show},overlay:{type:Boolean,default:e.$u.props.popup.overlay},mode:{type:String,default:e.$u.props.popup.mode},duration:{type:[String,Number],default:e.$u.props.popup.duration},closeable:{type:Boolean,default:e.$u.props.popup.closeable},overlayStyle:{type:[Object,String],default:e.$u.props.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:e.$u.props.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:e.$u.props.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:e.$u.props.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:e.$u.props.popup.safeAreaInsetTop},closeIconPos:{type:String,default:e.$u.props.popup.closeIconPos},round:{type:[Boolean,String,Number],default:e.$u.props.popup.round},zoom:{type:Boolean,default:e.$u.props.popup.zoom},bgColor:{type:String,default:e.$u.props.popup.bgColor},overlayOpacity:{type:[Number,String],default:e.$u.props.popup.overlayOpacity}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{color:{type:String,default:e.$u.props.line.color},length:{type:[String,Number],default:e.$u.props.line.length},direction:{type:String,default:e.$u.props.line.direction},hairline:{type:Boolean,default:e.$u.props.line.hairline},margin:{type:[String,Number],default:e.$u.props.line.margin},dashed:{type:Boolean,default:e.$u.props.line.dashed}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.loadingIcon.show},color:{type:String,default:e.$u.props.loadingIcon.color},textColor:{type:String,default:e.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:e.$u.props.loadingIcon.vertical},mode:{type:String,default:e.$u.props.loadingIcon.mode},size:{type:[String,Number],default:e.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:e.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:e.$u.props.loadingIcon.text},timingFunction:{type:String,default:e.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:e.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:e.$u.props.loadingIcon.inactiveColor}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:e.$u.props.gap.bgColor},height:{type:[String,Number],default:e.$u.props.gap.height},marginTop:{type:[String,Number],default:e.$u.props.gap.marginTop},marginBottom:{type:[String,Number],default:e.$u.props.gap.marginBottom}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.toolbar.show},cancelText:{type:String,default:e.$u.props.toolbar.cancelText},confirmText:{type:String,default:e.$u.props.toolbar.confirmText},cancelColor:{type:String,default:e.$u.props.toolbar.cancelColor},confirmColor:{type:String,default:e.$u.props.toolbar.confirmColor},title:{type:String,default:e.$u.props.toolbar.title}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={computed:{value:function(){var t=this.text,r=this.mode,n=this.format,i=this.href;return"price"===r?(/^\d+(\.\d+)?$/.test(t)||e.$u.error("金额模式下,text参数需要为金额格式"),e.$u.test.func(n)?n(t):e.$u.priceFormat(t,2)):"date"===r?(!e.$u.test.date(t)&&e.$u.error("日期模式下,text参数需要为日期或时间戳格式"),e.$u.test.func(n)?n(t):n?e.$u.timeFormat(t,n):e.$u.timeFormat(t,"yyyy-mm-dd")):"phone"===r?e.$u.test.func(n)?n(t):"encrypt"===n?"".concat(t.substr(0,3),"****").concat(t.substr(7)):t:"name"===r?("string"!==typeof t&&e.$u.error("姓名模式下,text参数需要为字符串格式"),e.$u.test.func(n)?n(t):"encrypt"===n?this.formatName(t):t):"link"===r?(!e.$u.test.url(i)&&e.$u.error("超链接模式下,href参数需要为URL格式"),t):t}},methods:{formatName:function(e){var t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){for(var r="",n=0,i=e.length-2;n<i;n++)r+="*";t=e.substr(0,1)+r+e.substr(-1,1)}else t=e;return t}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.overlay.show},zIndex:{type:[String,Number],default:e.$u.props.overlay.zIndex},duration:{type:[String,Number],default:e.$u.props.overlay.duration},opacity:{type:[String,Number],default:e.$u.props.overlay.opacity}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.transition.show},mode:{type:String,default:e.$u.props.transition.mode},duration:{type:[String,Number],default:e.$u.props.transition.duration},timingFunction:{type:String,default:e.$u.props.transition.timingFunction}}};t.default=r}).call(this,r(1)["default"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(34));i(r(888));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){o(a,n,i,s,c,"next",e)}function c(e){o(a,n,i,s,c,"throw",e)}s(void 0)}))}}var s=function(e){return{enter:"u-".concat(e,"-enter u-").concat(e,"-enter-active"),"enter-to":"u-".concat(e,"-enter-to u-").concat(e,"-enter-active"),leave:"u-".concat(e,"-leave u-").concat(e,"-leave-active"),"leave-to":"u-".concat(e,"-leave-to u-").concat(e,"-leave-active")}},c={methods:{clickHandler:function(){this.$emit("click")},vueEnter:function(){var e=this,t=s(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,this.$nextTick(a(n.default.mark((function r(){return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:e.$emit("enter"),e.transitionEnded=!1,e.$emit("afterEnter"),e.classes=t["enter-to"];case 4:case"end":return r.stop()}}),r)}))))},vueLeave:function(){var e=this;if(this.display){var t=s(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,this.$nextTick((function(){e.transitionEnded=!1,e.$emit("leave"),setTimeout(e.onTransitionEnd,e.duration),e.classes=t["leave-to"]}))}},onTransitionEnd:function(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={fade:{enter:{opacity:0},"enter-to":{opacity:1},leave:{opacity:1},"leave-to":{opacity:0}},"fade-up":{enter:{opacity:0,transform:"translateY(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(100%)"}},"fade-down":{enter:{opacity:0,transform:"translateY(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(-100%)"}},"fade-left":{enter:{opacity:0,transform:"translateX(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(-100%)"}},"fade-right":{enter:{opacity:0,transform:"translateX(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(100%)"}},"slide-up":{enter:{transform:"translateY(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(100%)"}},"slide-down":{enter:{transform:"translateY(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(-100%)"}},"slide-left":{enter:{transform:"translateX(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(-100%)"}},"slide-right":{enter:{transform:"translateX(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(100%)"}},zoom:{enter:{transform:"scale(0.95)"},"enter-to":{transform:"scale(1)"},leave:{transform:"scale(1)"},"leave-to":{transform:"scale(0.95)"}},"fade-zoom":{enter:{opacity:0,transform:"scale(0.95)"},"enter-to":{opacity:1,transform:"scale(1)"},leave:{opacity:1,transform:"scale(1)"},"leave-to":{opacity:0,transform:"scale(0.95)"}}};t.default=n},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:e.$u.props.statusBar.bgColor}}};t.default=r}).call(this,r(1)["default"])},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{}};t.default=n},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{color:{type:String,default:e.$u.props.link.color},fontSize:{type:[String,Number],default:e.$u.props.link.fontSize},underLine:{type:Boolean,default:e.$u.props.link.underLine},href:{type:String,default:e.$u.props.link.href},mpTips:{type:String,default:e.$u.props.link.mpTips},lineColor:{type:String,default:e.$u.props.link.lineColor},text:{type:String,default:e.$u.props.link.text}}};t.default=r}).call(this,r(1)["default"])}]]);
  21. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map