amis
Version:
一种MIS页面生成工具
36 lines • 1.18 MB
JavaScript
;/*!node_modules/zrender/lib/core/env.js*/
amis.define("7c5f850",function(e,t){"use strict";function n(e,t){var n=t.browser,o=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),r=e.match(/Edge\/([\d.]+)/),d=/micromessenger/i.test(e);o&&(n.firefox=!0,n.version=o[1]),i&&(n.ie=!0,n.version=i[1]),r&&(n.edge=!0,n.version=r[1]),d&&(n.weChat=!0),t.canvasSupported=!!document.createElement("canvas").getContext,t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!=typeof document}t.__esModule=!0;var o=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.weChat=!1}return e}(),i=function(){function e(){this.browser=new o,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1}return e}(),r=new i;"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.canvasSupported=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?(r.worker=!0,r.canvasSupported=!0):"undefined"==typeof navigator?(r.node=!0,r.canvasSupported=!0,r.svgSupported=!0):n(navigator.userAgent,r),t["default"]=r});
;/*!node_modules/zrender/lib/core/util.js*/
amis.define("43eadd2",function(r,t){"use strict";function n(r,t){it[r]=t}function e(){return at++}function o(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];"undefined"!=typeof console&&console.error.apply(console,r)}function i(r){if(null==r||"object"!=typeof r)return r;var t=r,n=X.call(r);if("[object Array]"===n){if(!z(r)){t=[];for(var e=0,o=r.length;o>e;e++)t[e]=i(r[e])}}else if(W[n]){if(!z(r)){var a=r.constructor;if(a.from)t=a.from(r);else{t=new a(r.length);for(var e=0,o=r.length;o>e;e++)t[e]=i(r[e])}}}else if(!V[n]&&!z(r)&&!S(r)){t={};for(var u in r)r.hasOwnProperty(u)&&(t[u]=i(r[u]))}return t}function a(r,t,n){if(!F(t)||!F(r))return n?i(t):r;for(var e in t)if(t.hasOwnProperty(e)){var o=r[e],u=t[e];!F(u)||!F(o)||A(u)||A(o)||S(u)||S(o)||C(u)||C(o)||z(u)||z(o)?!n&&e in r||(r[e]=i(t[e])):a(o,u,n)}return r}function u(r,t){for(var n=r[0],e=1,o=r.length;o>e;e++)n=a(n,r[e],t);return n}function c(r,t){if(Object.assign)Object.assign(r,t);else for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r}function f(r,t,n){for(var e=j(t),o=0;o<e.length;o++){var i=e[o];(n?null!=t[i]:null==r[i])&&(r[i]=t[i])}return r}function l(r,t){if(r){if(r.indexOf)return r.indexOf(t);for(var n=0,e=r.length;e>n;n++)if(r[n]===t)return n}return-1}function s(r,t){function n(){}var e=r.prototype;n.prototype=t.prototype,r.prototype=new n;for(var o in e)e.hasOwnProperty(o)&&(r.prototype[o]=e[o]);r.prototype.constructor=r,r.superClass=t}function p(r,t,n){if(r="prototype"in r?r.prototype:r,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var e=Object.getOwnPropertyNames(t),o=0;o<e.length;o++){var i=e[o];"constructor"!==i&&(n?null!=t[i]:null==r[i])&&(r[i]=t[i])}else f(r,t,n)}function y(r){return r?"string"==typeof r?!1:"number"==typeof r.length:!1}function h(r,t,n){if(r&&t)if(r.forEach&&r.forEach===Z)r.forEach(t,n);else if(r.length===+r.length)for(var e=0,o=r.length;o>e;e++)t.call(n,r[e],e,r);else for(var i in r)r.hasOwnProperty(i)&&t.call(n,r[i],i,r)}function g(r,t,n){if(!r)return[];if(!t)return G(r);if(r.map&&r.map===nt)return r.map(t,n);for(var e=[],o=0,i=r.length;i>o;o++)e.push(t.call(n,r[o],o,r));return e}function v(r,t,n,e){if(r&&t){for(var o=0,i=r.length;i>o;o++)n=t.call(e,n,r[o],o,r);return n}}function b(r,t,n){if(!r)return[];if(!t)return G(r);if(r.filter&&r.filter===rt)return r.filter(t,n);for(var e=[],o=0,i=r.length;i>o;o++)t.call(n,r[o],o,r)&&e.push(r[o]);return e}function m(r,t,n){if(r&&t)for(var e=0,o=r.length;o>e;e++)if(t.call(n,r[e],e,r))return r[e]}function j(r){if(!r)return[];if(Object.keys)return Object.keys(r);var t=[];for(var n in r)r.hasOwnProperty(n)&&t.push(n);return t}function d(r,t){for(var n=[],e=2;e<arguments.length;e++)n[e-2]=arguments[e];return function(){return r.apply(t,n.concat(tt.call(arguments)))}}function O(r){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return r.apply(this,t.concat(tt.call(arguments)))}}function A(r){return Array.isArray?Array.isArray(r):"[object Array]"===X.call(r)}function w(r){return"function"==typeof r}function P(r){return"string"==typeof r}function E(r){return"[object String]"===X.call(r)}function x(r){return"number"==typeof r}function F(r){var t=typeof r;return"function"===t||!!r&&"object"===t}function C(r){return!!V[X.call(r)]}function _(r){return!!W[X.call(r)]}function S(r){return"object"==typeof r&&"number"==typeof r.nodeType&&"object"==typeof r.ownerDocument}function k(r){return null!=r.colorStops}function I(r){return null!=r.image}function N(r){return"[object RegExp]"===X.call(r)}function U(r){return r!==r}function D(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var n=0,e=r.length;e>n;n++)if(null!=r[n])return r[n]}function M(r,t){return null!=r?r:t}function R(r,t,n){return null!=r?r:null!=t?t:n}function G(r){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return tt.apply(r,t)}function H(r){if("number"==typeof r)return[r,r,r,r];var t=r.length;return 2===t?[r[0],r[1],r[0],r[1]]:3===t?[r[0],r[1],r[2],r[1]]:r}function T(r,t){if(!r)throw new Error(t)}function $(r){return null==r?null:"function"==typeof r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function q(r){r[ut]=!0}function z(r){return r[ut]}function B(r){return new ct(r)}function K(r,t){for(var n=new r.constructor(r.length+t.length),e=0;e<r.length;e++)n[e]=r[e];for(var o=r.length,e=0;e<t.length;e++)n[e+o]=t[e];return n}function L(r,t){var n;if(Object.create)n=Object.create(r);else{var e=function(){};e.prototype=r,n=new e}return t&&c(n,t),n}function J(r,t){return r.hasOwnProperty(t)}function Q(){}t.__esModule=!0;var V={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},W={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},X=Object.prototype.toString,Y=Array.prototype,Z=Y.forEach,rt=Y.filter,tt=Y.slice,nt=Y.map,et=function(){}.constructor,ot=et?et.prototype:null,it={};t.$override=n;var at=2311;t.guid=e,t.logError=o,t.clone=i,t.merge=a,t.mergeAll=u,t.extend=c,t.defaults=f,t.createCanvas=function(){return it.createCanvas()},it.createCanvas=function(){return document.createElement("canvas")},t.indexOf=l,t.inherits=s,t.mixin=p,t.isArrayLike=y,t.each=h,t.map=g,t.reduce=v,t.filter=b,t.find=m,t.keys=j,t.bind=ot&&w(ot.bind)?ot.call.bind(ot.bind):d,t.curry=O,t.isArray=A,t.isFunction=w,t.isString=P,t.isStringSafe=E,t.isNumber=x,t.isObject=F,t.isBuiltInObject=C,t.isTypedArray=_,t.isDom=S,t.isGradientObject=k,t.isPatternObject=I,t.isRegExp=N,t.eqNaN=U,t.retrieve=D,t.retrieve2=M,t.retrieve3=R,t.slice=G,t.normalizeCssArray=H,t.assert=T,t.trim=$;var ut="__ec_primitive__";t.setAsPrimitive=q,t.isPrimitive=z;var ct=function(){function r(t){function n(r,t){e?o.set(r,t):o.set(t,r)}this.data={};var e=A(t);this.data={};var o=this;t instanceof r?t.each(n):t&&h(t,n)}return r.prototype.get=function(r){return this.data.hasOwnProperty(r)?this.data[r]:null},r.prototype.set=function(r,t){return this.data[r]=t},r.prototype.each=function(r,t){for(var n in this.data)this.data.hasOwnProperty(n)&&r.call(t,this.data[n],n)},r.prototype.keys=function(){return j(this.data)},r.prototype.removeKey=function(r){delete this.data[r]},r}();t.HashMap=ct,t.createHashMap=B,t.concatArray=K,t.createObject=L,t.hasOwn=J,t.noop=Q});
;/*!node_modules/zrender/node_modules/tslib/tslib.js*/
amis.define("b1079ce",function(t,e,n,r){var o,a,u,c,i,f,l,s,y,p,b,_,h,v,d,m,w,g,O,j;!function(t){function e(t,e){return t!==o&&("function"==typeof Object.create?Object.defineProperty(t,"__esModule",{value:!0}):t.__esModule=!0),function(n,r){return t[n]=e?e(n,r):r}}var o="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};"function"==typeof r&&r.amd?r("tslib",["exports"],function(n){t(e(o,e(n)))}):t("object"==typeof n&&"object"==typeof n.exports?e(o,e(n.exports)):e(o))}(function(t){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};o=function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},a=Object.assign||function(t){for(var e,n=1,r=arguments.length;r>n;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},c=function(t,e,n,r){var o,a=arguments.length,u=3>a?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(u=(3>a?o(u):a>3?o(e,n,u):o(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},i=function(t,e){return function(n,r){e(n,r,t)}},f=function(t,e){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(t,e):void 0},l=function(t,e,n,r){return new(n||(n=Promise))(function(o,a){function u(t){try{i(r.next(t))}catch(e){a(e)}}function c(t){try{i(r["throw"](t))}catch(e){a(e)}}function i(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,c)}i((r=r.apply(t,e||[])).next())})},s=function(t,e){function n(t){return function(e){return r([t,e])}}function r(n){if(o)throw new TypeError("Generator is already executing.");for(;i;)try{if(o=1,a&&(u=2&n[0]?a["return"]:n[0]?a["throw"]||((u=a["return"])&&u.call(a),0):a.next)&&!(u=u.call(a,n[1])).done)return u;switch(a=0,u&&(n=[2&n[0],u.value]),n[0]){case 0:case 1:u=n;break;case 4:return i.label++,{value:n[1],done:!1};case 5:i.label++,a=n[1],n=[0];continue;case 7:n=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(6===n[0]||2===n[0])){i=0;continue}if(3===n[0]&&(!u||n[1]>u[0]&&n[1]<u[3])){i.label=n[1];break}if(6===n[0]&&i.label<u[1]){i.label=u[1],u=n;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(n);break}u[2]&&i.ops.pop(),i.trys.pop();continue}n=e.call(t,i)}catch(r){n=[6,r],a=0}finally{o=u=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var o,a,u,c,i={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return c={next:n(0),"throw":n(1),"return":n(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c},y=function(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])},p=function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}},b=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,a=n.call(t),u=[];try{for(;(void 0===e||e-->0)&&!(r=a.next()).done;)u.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=a["return"])&&n.call(a)}finally{if(o)throw o.error}}return u},_=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t},h=function(){for(var t=0,e=0,n=arguments.length;n>e;e++)t+=arguments[e].length;for(var r=Array(t),o=0,e=0;n>e;e++)for(var a=arguments[e],u=0,c=a.length;c>u;u++,o++)r[o]=a[u];return r},v=function(t){return this instanceof v?(this.v=t,this):new v(t)},d=function(t,e,n){function r(t){l[t]&&(f[t]=function(e){return new Promise(function(n,r){s.push([t,e,n,r])>1||o(t,e)})})}function o(t,e){try{a(l[t](e))}catch(n){i(s[0][3],n)}}function a(t){t.value instanceof v?Promise.resolve(t.value.v).then(u,c):i(s[0][2],t)}function u(t){o("next",t)}function c(t){o("throw",t)}function i(t,e){t(e),s.shift(),s.length&&o(s[0][0],s[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var f,l=n.apply(t,e||[]),s=[];return f={},r("next"),r("throw"),r("return"),f[Symbol.asyncIterator]=function(){return this},f},m=function(t){function e(e,o){n[e]=t[e]?function(n){return(r=!r)?{value:v(t[e](n)),done:"return"===e}:o?o(n):n}:o}var n,r;return n={},e("next"),e("throw",function(t){throw t}),e("return"),n[Symbol.iterator]=function(){return this},n},w=function(t){function e(e){r[e]=t[e]&&function(r){return new Promise(function(o,a){r=t[e](r),n(o,a,r.done,r.value)})}}function n(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=t[Symbol.asyncIterator];return o?o.call(t):(t="function"==typeof p?p(t):t[Symbol.iterator](),r={},e("next"),e("throw"),e("return"),r[Symbol.asyncIterator]=function(){return this},r)},g=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},O=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e},j=function(t){return t&&t.__esModule?t:{"default":t}},t("__extends",o),t("__assign",a),t("__rest",u),t("__decorate",c),t("__param",i),t("__metadata",f),t("__awaiter",l),t("__generator",s),t("__exportStar",y),t("__values",p),t("__read",b),t("__spread",_),t("__spreadArrays",h),t("__await",v),t("__asyncGenerator",d),t("__asyncDelegator",m),t("__asyncValues",w),t("__makeTemplateObject",g),t("__importStar",O),t("__importDefault",j)})});
;/*!node_modules/zrender/lib/core/vector.js*/
amis.define("ac6d8d7",function(n,t){"use strict";function r(n,t){return null==n&&(n=0),null==t&&(t=0),[n,t]}function u(n,t){return n[0]=t[0],n[1]=t[1],n}function e(n){return[n[0],n[1]]}function i(n,t,r){return n[0]=t,n[1]=r,n}function c(n,t,r){return n[0]=t[0]+r[0],n[1]=t[1]+r[1],n}function o(n,t,r,u){return n[0]=t[0]+r[0]*u,n[1]=t[1]+r[1]*u,n}function a(n,t,r){return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n}function f(n){return Math.sqrt(l(n))}function l(n){return n[0]*n[0]+n[1]*n[1]}function d(n,t,r){return n[0]=t[0]*r[0],n[1]=t[1]*r[1],n}function s(n,t,r){return n[0]=t[0]/r[0],n[1]=t[1]/r[1],n}function m(n,t){return n[0]*t[0]+n[1]*t[1]}function h(n,t,r){return n[0]=t[0]*r,n[1]=t[1]*r,n}function M(n,t){var r=f(t);return 0===r?(n[0]=0,n[1]=0):(n[0]=t[0]/r,n[1]=t[1]/r),n}function q(n,t){return Math.sqrt((n[0]-t[0])*(n[0]-t[0])+(n[1]-t[1])*(n[1]-t[1]))}function p(n,t){return(n[0]-t[0])*(n[0]-t[0])+(n[1]-t[1])*(n[1]-t[1])}function S(n,t){return n[0]=-t[0],n[1]=-t[1],n}function g(n,t,r,u){return n[0]=t[0]+u*(r[0]-t[0]),n[1]=t[1]+u*(r[1]-t[1]),n}function v(n,t,r){var u=t[0],e=t[1];return n[0]=r[0]*u+r[2]*e+r[4],n[1]=r[1]*u+r[3]*e+r[5],n}function x(n,t,r){return n[0]=Math.min(t[0],r[0]),n[1]=Math.min(t[1],r[1]),n}function y(n,t,r){return n[0]=Math.max(t[0],r[0]),n[1]=Math.max(t[1],r[1]),n}t.__esModule=!0,t.create=r,t.copy=u,t.clone=e,t.set=i,t.add=c,t.scaleAndAdd=o,t.sub=a,t.len=f,t.length=f,t.lenSquare=l,t.lengthSquare=l,t.mul=d,t.div=s,t.dot=m,t.scale=h,t.normalize=M,t.distance=q,t.dist=q,t.distanceSquare=p,t.distSquare=p,t.negate=S,t.lerp=g,t.applyTransform=v,t.min=x,t.max=y});
;/*!node_modules/zrender/lib/mixin/Draggable.js*/
amis.define("592e0f1",function(t,e){"use strict";e.__esModule=!0;var r=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),n=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new r(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,a=t.offsetY,i=n-this._x,s=a-this._y;this._x=n,this._y=a,e.drift(i,s,t),this.handler.dispatchToElement(new r(e,t),"drag",t.event);var d=this.handler.findHover(n,a,e).target,g=this._dropTarget;this._dropTarget=d,e!==d&&(g&&d!==g&&this.handler.dispatchToElement(new r(g,t),"dragleave",t.event),d&&d!==g&&this.handler.dispatchToElement(new r(d,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new r(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new r(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();e["default"]=n});
;/*!node_modules/zrender/lib/core/Eventful.js*/
amis.define("07bcd12",function(e,t){"use strict";t.__esModule=!0;var r=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,r,i){this._$handlers||(this._$handlers={});var n=this._$handlers;if("function"==typeof t&&(i=r,r=t,t=null),!r||!e)return this;var s=this._$eventProcessor;null!=t&&s&&s.normalizeQuery&&(t=s.normalizeQuery(t)),n[e]||(n[e]=[]);for(var l=0;l<n[e].length;l++)if(n[e][l].h===r)return this;var a={h:r,query:t,ctx:i||this,callAtLast:r.zrEventfulCallAtLast},h=n[e].length-1,u=n[e][h];return u&&u.callAtLast?n[e].splice(h,0,a):n[e].push(a),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(t){if(r[e]){for(var i=[],n=0,s=r[e].length;s>n;n++)r[e][n].h!==t&&i.push(r[e][n]);r[e]=i}r[e]&&0===r[e].length&&delete r[e]}else delete r[e];return this},e.prototype.trigger=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[e],n=this._$eventProcessor;if(i)for(var s=t.length,l=i.length,a=0;l>a;a++){var h=i[a];if(!n||!n.filter||null==h.query||n.filter(e,h.query))switch(s){case 0:h.h.call(h.ctx);break;case 1:h.h.call(h.ctx,t[0]);break;case 2:h.h.call(h.ctx,t[0],t[1]);break;default:h.h.apply(h.ctx,t)}}return n&&n.afterTrigger&&n.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){if(!this._$handlers)return this;var t=this._$handlers[e],r=this._$eventProcessor;if(t)for(var i=arguments,n=i.length,s=i[n-1],l=t.length,a=0;l>a;a++){var h=t[a];if(!r||!r.filter||null==h.query||r.filter(e,h.query))switch(n){case 0:h.h.call(s);break;case 1:h.h.call(s,i[0]);break;case 2:h.h.call(s,i[0],i[1]);break;default:h.h.apply(s,i.slice(1,n-1))}}return r&&r.afterTrigger&&r.afterTrigger(e),this},e}();t["default"]=r});
;/*!node_modules/zrender/lib/core/fourPointsTransform.js*/
amis.define("711dc05",function(r,n){"use strict";function a(r,n,t,f,u,e){var i=f+"-"+u,v=r.length;if(e.hasOwnProperty(i))return e[i];if(1===n){var l=Math.round(Math.log((1<<v)-1&~u)/o);return r[t][l]}for(var c=f|1<<t,s=t+1;f&1<<s;)s++;for(var d=0,h=0,M=0;v>h;h++){var g=1<<h;g&u||(d+=(M%2?-1:1)*r[t][h]*a(r,n-1,s,c,u|g,e),M++)}return e[i]=d,d}function t(r,n){var t=[[r[0],r[1],1,0,0,0,-n[0]*r[0],-n[0]*r[1]],[0,0,0,r[0],r[1],1,-n[1]*r[0],-n[1]*r[1]],[r[2],r[3],1,0,0,0,-n[2]*r[2],-n[2]*r[3]],[0,0,0,r[2],r[3],1,-n[3]*r[2],-n[3]*r[3]],[r[4],r[5],1,0,0,0,-n[4]*r[4],-n[4]*r[5]],[0,0,0,r[4],r[5],1,-n[5]*r[4],-n[5]*r[5]],[r[6],r[7],1,0,0,0,-n[6]*r[6],-n[6]*r[7]],[0,0,0,r[6],r[7],1,-n[7]*r[6],-n[7]*r[7]]],o={},f=a(t,8,0,0,0,o);if(0!==f){for(var u=[],e=0;8>e;e++)for(var i=0;8>i;i++)null==u[i]&&(u[i]=0),u[i]+=((e+i)%2?-1:1)*a(t,7,0===e?1:0,1<<e,1<<i,o)/f*n[e];return function(r,n,a){var t=n*u[6]+a*u[7]+1;r[0]=(n*u[0]+a*u[1]+u[2])/t,r[1]=(n*u[3]+a*u[4]+u[5])/t}}}n.__esModule=!0;var o=Math.log(2);n.buildTransformer=t});
;/*!node_modules/zrender/lib/core/dom.js*/
amis.define("c6540ff",function(r,t){"use strict";function e(r,t,e,o,i){return n(d,t,o,i,!0)&&n(r,e,d[0],d[1])}function n(r,t,e,n,u){if(t.getBoundingClientRect&&a["default"].domSupported&&!s(t)){var d=t[f]||(t[f]={}),c=o(t,d),l=i(c,d,u);if(l)return l(r,e,n),!0}return!1}function o(r,t){var e=t.markers;if(e)return e;e=t.markers=[];for(var n=["left","right"],o=["top","bottom"],i=0;4>i;i++){var s=document.createElement("div"),a=s.style,u=i%2,f=(i>>1)%2;a.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",o[f]+":0",n[1-u]+":auto",o[1-f]+":auto",""].join("!important;"),r.appendChild(s),e.push(s)}return e}function i(r,t,e){for(var n=e?"invTrans":"trans",o=t[n],i=t.srcCoords,s=[],a=[],f=!0,d=0;4>d;d++){var c=r[d].getBoundingClientRect(),l=2*d,p=c.left,m=c.top;s.push(p,m),f=f&&i&&p===i[l]&&m===i[l+1],a.push(r[d].offsetLeft,r[d].offsetTop)}return f&&o?o:(t.srcCoords=s,t[n]=e?u.buildTransformer(a,s):u.buildTransformer(s,a))}function s(r){return"CANVAS"===r.nodeName.toUpperCase()}t.__esModule=!0;var a=r("7c5f850"),u=r("711dc05"),f="___zrEVENTSAVED",d=[];t.transformLocalCoord=e,t.transformCoordWithViewport=n,t.isCanvasEl=s});
;/*!node_modules/zrender/lib/core/event.js*/
amis.define("cfdf71e",function(e,t){"use strict";function n(e,t,n,i){return n=n||{},i||!s["default"].canvasSupported?r(e,t,n):s["default"].browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):r(e,t,n),n}function r(e,t,n){if(s["default"].domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(v.isCanvasEl(e)){var o=e.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=i-o.top)}if(v.transformCoordWithViewport(w,e,r,i))return n.zrX=w[0],void(n.zrY=w[1])}n.zrX=n.zrY=0}function i(e){return e||window.event}function o(e,t,r){if(t=i(t),null!=t.zrX)return t;var o=t.type,a=o&&o.indexOf("touch")>=0;if(a){var f="touchend"!==o?t.targetTouches[0]:t.changedTouches[0];f&&n(e,f,t,r)}else{n(e,t,t,r);var l=u(t);t.zrDelta=l?l/120:-(t.detail||0)/3}var c=t.button;return null==t.which&&void 0!==c&&p.test(t.type)&&(t.which=1&c?1:2&c?3:4&c?2:0),t}function u(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;var i=Math.abs(0!==r?r:n),o=r>0?-1:0>r?1:n>0?-1:1;return 3*i*o}function a(e,t,n,r){h?e.addEventListener(t,n,r):e.attachEvent("on"+t,n)}function f(e,t,n,r){h?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n)}function l(e){return 2===e.which||3===e.which}function c(e){return e.which>1}t.__esModule=!0;var d=e("07bcd12");t.Dispatcher=d["default"];var s=e("7c5f850"),v=e("c6540ff"),h="undefined"!=typeof window&&!!window.addEventListener,p=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,w=[];t.clientToLocal=n,t.getNativeEvent=i,t.normalizeEvent=o,t.addEventListener=a,t.removeEventListener=f,t.stop=h?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},t.isMiddleOrRightButtonOnMouseUpDown=l,t.notLeftMouse=c});
;/*!node_modules/zrender/lib/core/GestureMgr.js*/
amis.define("b8dc4f0",function(t,r){"use strict";function n(t){var r=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(r*r+n*n)}function e(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}r.__esModule=!0;var i=t("cfdf71e"),o=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,r,n){var e=t.touches;if(e){for(var o={points:[],touches:[],target:r,event:t},c=0,a=e.length;a>c;c++){var u=e[c],h=i.clientToLocal(n,u,{});o.points.push([h.zrX,h.zrY]),o.touches.push(u)}this._track.push(o)}},t.prototype._recognize=function(t){for(var r in c)if(c.hasOwnProperty(r)){var n=c[r](this._track,t);if(n)return n}},t}();r.GestureMgr=o;var c={pinch:function(t,r){var i=t.length;if(i){var o=(t[i-1]||{}).points,c=(t[i-2]||{}).points||o;if(c&&c.length>1&&o&&o.length>1){var a=n(o)/n(c);!isFinite(a)&&(a=1),r.pinchScale=a;var u=e(o);return r.pinchX=u[0],r.pinchY=u[1],{type:"pinch",target:t[0].target,event:r}}}}}});
;/*!node_modules/zrender/lib/Handler.js*/
amis.define("e116099",function(t,e){"use strict";function r(t,e,r){return{type:t,event:r,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:o}}function o(){l.stop(this.event)}function n(t,e,r){if(t[t.rectHover?"rectContain":"contain"](e,r)){for(var o=t,n=void 0,i=!1;o;){if(o.ignoreClip&&(i=!0),!i){var s=o.getClipPath();if(s&&!s.contain(e,r))return!1;o.silent&&(n=!0)}var u=o.__hostTarget;o=u?u:o.parent}return n?f:!0}return!1}function i(t,e,r){var o=t.painter;return 0>e||e>o.getWidth()||0>r||r>o.getHeight()}e.__esModule=!0;var s=t("b1079ce"),u=t("43eadd2"),a=t("ac6d8d7"),h=t("592e0f1"),c=t("07bcd12"),l=t("cfdf71e"),p=t("b8dc4f0"),f="silent",d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return s.__extends(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(c["default"]),g=function(){function t(t,e){this.x=t,this.y=e}return t}(),v=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],y=function(t){function e(e,r,o,n){var i=t.call(this)||this;return i._hovered=new g(0,0),i.storage=e,i.painter=r,i.painterRoot=n,o=o||new d,i.proxy=null,i.setHandlerProxy(o),i._draggingMgr=new h["default"](i),i}return s.__extends(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(u.each(v,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,r=t.zrY,o=i(this,e,r),n=this._hovered,s=n.target;s&&!s.__zr&&(n=this.findHover(n.x,n.y),s=n.target);var u=this._hovered=o?new g(e,r):this.findHover(e,r),a=u.target,h=this.proxy;h.setCursor&&h.setCursor(a?a.cursor:"default"),s&&a!==s&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(u,"mousemove",t),a&&a!==s&&this.dispatchToElement(u,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl,r=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!r&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new g(0,0)},e.prototype.dispatch=function(t,e){var r=this[t];r&&r.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,o){t=t||{};var n=t.target;if(!n||!n.silent){for(var i="on"+e,s=r(e,t,o);n&&(n[i]&&(s.cancelBubble=!!n[i].call(n,s)),n.trigger(e,s),n=n.__hostTarget?n.__hostTarget:n.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(e,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[i]&&t[i].call(t,s),t.trigger&&t.trigger(e,s)}))}},e.prototype.findHover=function(t,e,r){for(var o=this.storage.getDisplayList(),i=new g(t,e),s=o.length-1;s>=0;s--){var u=void 0;if(o[s]!==r&&!o[s].ignore&&(u=n(o[s],t,e))&&(!i.topTarget&&(i.topTarget=o[s]),u!==f)){i.target=o[s];break}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new p.GestureMgr);var r=this._gestureMgr;"start"===e&&r.clear();var o=r.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&r.clear(),o){var n=o.type;t.gestureEvent=n;var i=new g;i.target=o.target,this.dispatchToElement(i,n,o.event)}},e}(c["default"]);u.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){y.prototype[t]=function(e){var r,o,n=e.zrX,s=e.zrY,u=i(this,n,s);if("mouseup"===t&&u||(r=this.findHover(n,s),o=r.target),"mousedown"===t)this._downEl=o,this._downPoint=[e.zrX,e.zrY],this._upEl=o;else if("mouseup"===t)this._upEl=o;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,t,e)}}),e["default"]=y});
;/*!node_modules/zrender/lib/core/matrix.js*/
amis.define("fa6bcc2",function(n,t){"use strict";function r(){return[1,0,0,1,0,0]}function u(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function e(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n}function c(n,t,r){var u=t[0]*r[0]+t[2]*r[1],e=t[1]*r[0]+t[3]*r[1],c=t[0]*r[2]+t[2]*r[3],i=t[1]*r[2]+t[3]*r[3],o=t[0]*r[4]+t[2]*r[5]+t[4],a=t[1]*r[4]+t[3]*r[5]+t[5];return n[0]=u,n[1]=e,n[2]=c,n[3]=i,n[4]=o,n[5]=a,n}function i(n,t,r){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4]+r[0],n[5]=t[5]+r[1],n}function o(n,t,r){var u=t[0],e=t[2],c=t[4],i=t[1],o=t[3],a=t[5],f=Math.sin(r),s=Math.cos(r);return n[0]=u*s+i*f,n[1]=-u*f+i*s,n[2]=e*s+o*f,n[3]=-e*f+s*o,n[4]=s*c+f*a,n[5]=s*a-f*c,n}function a(n,t,r){var u=r[0],e=r[1];return n[0]=t[0]*u,n[1]=t[1]*e,n[2]=t[2]*u,n[3]=t[3]*e,n[4]=t[4]*u,n[5]=t[5]*e,n}function f(n,t){var r=t[0],u=t[2],e=t[4],c=t[1],i=t[3],o=t[5],a=r*i-c*u;return a?(a=1/a,n[0]=i*a,n[1]=-c*a,n[2]=-u*a,n[3]=r*a,n[4]=(u*o-i*e)*a,n[5]=(c*e-r*o)*a,n):null}function s(n){var t=r();return e(t,n),t}t.__esModule=!0,t.create=r,t.identity=u,t.copy=e,t.mul=c,t.translate=i,t.rotate=o,t.scale=a,t.invert=f,t.clone=s});
;/*!node_modules/zrender/lib/core/Transformable.js*/
amis.define("958955f",function(t,r){"use strict";function o(t){return t>s||-s>t}r.__esModule=!0;var a=t("fa6bcc2"),n=t("ac6d8d7"),i=a.identity,s=5e-5,e=[],f=[],c=a.create(),l=Math.abs,h=function(){function t(){}return t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return o(this.rotation)||o(this.x)||o(this.y)||o(this.scaleX-1)||o(this.scaleY-1)},t.prototype.updateTransform=function(){var t=this.parent,r=t&&t.transform,o=this.needLocalTransform(),n=this.transform;return o||r?(n=n||a.create(),o?this.getLocalTransform(n):i(n),r&&(o?a.mul(n,t.transform,n):a.copy(n,t.transform)),this.transform=n,void this._resolveGlobalScaleRatio(n)):void(n&&i(n))},t.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(null!=r&&1!==r){this.getGlobalScale(e);var o=e[0]<0?-1:1,n=e[1]<0?-1:1,i=((e[0]-o)*r+o)/e[0]||0,s=((e[1]-n)*r+n)/e[1]||0;t[0]*=i,t[1]*=i,t[2]*=s,t[3]*=s}this.invTransform=this.invTransform||a.create(),a.invert(this.invTransform,t)},t.prototype.getLocalTransform=function(r){return t.getLocalTransform(this,r)},t.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],a=t[2]*t[2]+t[3]*t[3];o(r-1)&&(r=Math.sqrt(r)),o(a-1)&&(a=Math.sqrt(a)),t[0]<0&&(r=-r),t[3]<0&&(a=-a),this.rotation=Math.atan2(-t[1]/a,t[0]/r),0>r&&0>a&&(this.rotation+=Math.PI,r=-r,a=-a),this.x=t[4],this.y=t[5],this.scaleX=r,this.scaleY=a}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(a.mul(f,t.invTransform,r),r=f);var o=this.originX,n=this.originY;(o||n)&&(c[4]=o,c[5]=n,a.mul(f,r,c),f[4]-=o,f[5]-=n,r=f),this.setLocalTransform(r)}},t.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,r){var o=[t,r],a=this.invTransform;return a&&n.applyTransform(o,o,a),o},t.prototype.transformCoordToGlobal=function(t,r){var o=[t,r],a=this.transform;return a&&n.applyTransform(o,o,a),o},t.prototype.getLineScale=function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1},t.getLocalTransform=function(t,r){r=r||[],i(r);var o=t.originX||0,n=t.originY||0,s=t.scaleX,e=t.scaleY,f=t.rotation||0,c=t.x,l=t.y;return r[4]-=o,r[5]-=n,r[0]*=s,r[1]*=e,r[2]*=s,r[3]*=e,r[4]*=s,r[5]*=e,f&&a.rotate(r,r,f),r[4]+=o,r[5]+=n,r[4]+=c,r[5]+=l,r},t.initDefaultProps=function(){var r=t.prototype;r.x=0,r.y=0,r.scaleX=1,r.scaleY=1,r.originX=0,r.originY=0,r.rotation=0,r.globalScaleRatio=1}(),t}();r["default"]=h});
;/*!node_modules/zrender/lib/animation/easing.js*/
amis.define("52c63d2",function(n,t){"use strict";t.__esModule=!0;var u={linear:function(n){return n},quadraticIn:function(n){return n*n},quadraticOut:function(n){return n*(2-n)},quadraticInOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)},cubicIn:function(n){return n*n*n},cubicOut:function(n){return--n*n*n+1},cubicInOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)},quarticIn:function(n){return n*n*n*n},quarticOut:function(n){return 1- --n*n*n*n},quarticInOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)},quinticIn:function(n){return n*n*n*n*n},quinticOut:function(n){return--n*n*n*n*n+1},quinticInOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)},sinusoidalIn:function(n){return 1-Math.cos(n*Math.PI/2)},sinusoidalOut:function(n){return Math.sin(n*Math.PI/2)},sinusoidalInOut:function(n){return.5*(1-Math.cos(Math.PI*n))},exponentialIn:function(n){return 0===n?0:Math.pow(1024,n-1)},exponentialOut:function(n){return 1===n?1:1-Math.pow(2,-10*n)},exponentialInOut:function(n){return 0===n?0:1===n?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)},circularIn:function(n){return 1-Math.sqrt(1-n*n)},circularOut:function(n){return Math.sqrt(1- --n*n)},circularInOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)},elasticIn:function(n){var t,u=.1,r=.4;return 0===n?0:1===n?1:(!u||1>u?(u=1,t=r/4):t=r*Math.asin(1/u)/(2*Math.PI),-(u*Math.pow(2,10*(n-=1))*Math.sin(2*(n-t)*Math.PI/r)))},elasticOut:function(n){var t,u=.1,r=.4;return 0===n?0:1===n?1:(!u||1>u?(u=1,t=r/4):t=r*Math.asin(1/u)/(2*Math.PI),u*Math.pow(2,-10*n)*Math.sin(2*(n-t)*Math.PI/r)+1)},elasticInOut:function(n){var t,u=.1,r=.4;return 0===n?0:1===n?1:(!u||1>u?(u=1,t=r/4):t=r*Math.asin(1/u)/(2*Math.PI),(n*=2)<1?-.5*u*Math.pow(2,10*(n-=1))*Math.sin(2*(n-t)*Math.PI/r):u*Math.pow(2,-10*(n-=1))*Math.sin(2*(n-t)*Math.PI/r)*.5+1)},backIn:function(n){var t=1.70158;return n*n*((t+1)*n-t)},backOut:function(n){var t=1.70158;return--n*n*((t+1)*n+t)+1},backInOut:function(n){var t=2.5949095;return(n*=2)<1?.5*n*n*((t+1)*n-t):.5*((n-=2)*n*((t+1)*n+t)+2)},bounceIn:function(n){return 1-u.bounceOut(1-n)},bounceOut:function(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},bounceInOut:function(n){return.5>n?.5*u.bounceIn(2*n):.5*u.bounceOut(2*n-1)+.5}};t["default"]=u});
;/*!node_modules/zrender/lib/animation/Clip.js*/
amis.define("408668f",function(t,i){"use strict";i.__esModule=!0;var s=t("52c63d2"),e=function(){function t(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=null==t.loop?!1:t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return t.prototype.step=function(t,i){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)return void(this._pausedTime+=i);var e=(t-this._startTime-this._pausedTime)/this._life;0>e&&(e=0),e=Math.min(e,1);var a=this.easing,r="string"==typeof a?s["default"][a]:a,n="function"==typeof r?r(e):e;if(this.onframe&&this.onframe(n),1===e){if(!this.loop)return!0;this._restart(t),this.onrestart&&this.onrestart()}return!1},t.prototype._restart=function(t){var i=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-i+this.gap,this._pausedTime=0},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t}();i["default"]=e});
;/*!node_modules/zrender/lib/core/LRU.js*/
amis.define("7e813b9",function(t,e){"use strict";e.__esModule=!0;var n=function(){function t(t){this.value=t}return t}();e.Entry=n;var i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();e.LinkedList=i;var r=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var i=this._list,r=this._map,s=null;if(null==r[t]){var l=i.len(),o=this._lastRemovedEntry;if(l>=this._maxSize&&l>0){var a=i.head;i.remove(a),delete r[a.key],s=a.value,this._lastRemovedEntry=a}o?o.value=e:o=new n(e),o.key=t,i.insertEntry(o),r[t]=o}return s},t.prototype.get=function(t){var e=this._map[t],n=this._list;return null!=e?(e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value):void 0},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["default"]=r});
;/*!node_modules/zrender/lib/tool/color.js*/
amis.define("e96ff93",function(e,r){"use strict";function n(e){return e=Math.round(e),0>e?0:e>255?255:e}function a(e){return e=Math.round(e),0>e?0:e>360?360:e}function t(e){return 0>e?0:e>1?1:e}function l(e){var r=e;return n(r.length&&"%"===r.charAt(r.length-1)?parseFloat(r)/100*255:parseInt(r,10))}function i(e){var r=e;return t(r.length&&"%"===r.charAt(r.length-1)?parseFloat(r)/100:parseFloat(r))}function o(e,r,n){return 0>n?n+=1:n>1&&(n-=1),1>6*n?e+(r-e)*n*6:1>2*n?r:2>3*n?e+(r-e)*(2/3-n)*6:e}function u(e,r,n){return e+(r-e)*n}function d(e,r,n,a,t){return e[0]=r,e[1]=n,e[2]=a,e[3]=t,e}function g(e,r){return e[0]=r[0],e[1]=r[1],e[2]=r[2],e[3]=r[3],e}function s(e,r){F&&g(F,r),F=A.put(e,F||r.slice())}function h(e,r){if(e){r=r||[];var n=A.get(e);if(n)return g(r,n);e+="";var a=e.replace(/ /g,"").toLowerCase();if(a in x)return g(r,x[a]),s(e,r),r;var t=a.length;if("#"!==a.charAt(0)){var o=a.indexOf("("),u=a.indexOf(")");if(-1!==o&&u+1===t){var h=a.substr(0,o),f=a.substr(o+1,u-(o+1)).split(","),m=1;switch(h){case"rgba":if(4!==f.length)return 3===f.length?d(r,+f[0],+f[1],+f[2],1):d(r,0,0,0,1);m=i(f.pop());case"rgb":return 3!==f.length?void d(r,0,0,0,1):(d(r,l(f[0]),l(f[1]),l(f[2]),m),s(e,r),r);case"hsla":return 4!==f.length?void d(r,0,0,0,1):(f[3]=i(f[3]),c(f,r),s(e,r),r);case"hsl":return 3!==f.length?void d(r,0,0,0,1):(c(f,r),s(e,r),r);default:return}}d(r,0,0,0,1)}else{if(4===t||5===t){var v=parseInt(a.slice(1,4),16);return v>=0&&4095>=v?(d(r,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,5===t?parseInt(a.slice(4),16)/15:1),s(e,r),r):void d(r,0,0,0,1)}if(7===t||9===t){var v=parseInt(a.slice(1,7),16);return v>=0&&16777215>=v?(d(r,(16711680&v)>>16,(65280&v)>>8,255&v,9===t?parseInt(a.slice(7),16)/255:1),s(e,r),r):void d(r,0,0,0,1)}}}}function c(e,r){var a=(parseFloat(e[0])%360+360)%360/360,t=i(e[1]),l=i(e[2]),u=.5>=l?l*(t+1):l+t-l*t,g=2*l-u;return r=r||[],d(r,n(255*o(g,u,a+1/3)),n(255*o(g,u,a)),n(255*o(g,u,a-1/3)),1),4===e.length&&(r[3]=e[3]),r}function f(e){if(e){var r,n,a=e[0]/255,t=e[1]/255,l=e[2]/255,i=Math.min(a,t,l),o=Math.max(a,t,l),u=o-i,d=(o+i)/2;if(0===u)r=0,n=0;else{n=.5>d?u/(o+i):u/(2-o-i);var g=((o-a)/6+u/2)/u,s=((o-t)/6+u/2)/u,h=((o-l)/6+u/2)/u;a===o?r=h-s:t===o?r=1/3+g-h:l===o&&(r=2/3+s-g),0>r&&(r+=1),r>1&&(r-=1)}var c=[360*r,n,d];return null!=e[3]&&c.push(e[3]),c}}function m(e,r){var n=h(e);if(n){for(var a=0;3>a;a++)n[a]=0>r?n[a]*(1-r)|0:(255-n[a])*r+n[a]|0,n[a]>255?n[a]=255:n[a]<0&&(n[a]=0);return w(n,4===n.length?"rgba":"rgb")}}function v(e){var r=h(e);return r?((1<<24)+(r[0]<<16)+(r[1]<<8)+ +r[2]).toString(16).slice(1):void 0}function p(e,r,a){if(r&&r.length&&e>=0&&1>=e){a=a||[];var l=e*(r.length-1),i=Math.floor(l),o=Math.ceil(l),d=r[i],g=r[o],s=l-i;return a[0]=n(u(d[0],g[0],s)),a[1]=n(u(d[1],g[1],s)),a[2]=n(u(d[2],g[2],s)),a[3]=t(u(d[3],g[3],s)),a}}function b(e,r,a){if(r&&r.length&&e>=0&&1>=e){var l=e*(r.length-1),i=Math.floor(l),o=Math.ceil(l),d=h(r[i]),g=h(r[o]),s=l-i,c=w([n(u(d[0],g[0],s)),n(u(d[1],g[1],s)),n(u(d[2],g[2],s)),t(u(d[3],g[3],s))],"rgba");return a?{color:c,leftIndex:i,rightIndex:o,value:l}:c}}function y(e,r,n,t){var l=h(e);return e?(l=f(l),null!=r&&(l[0]=a(r)),null!=n&&(l[1]=i(n)),null!=t&&(l[2]=i(t)),w(c(l),"rgba")):void 0}function k(e,r){var n=h(e);return n&&null!=r?(n[3]=t(r),w(n,"rgba")):void 0}function w(e,r){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return("rgba"===r||"hsva"===r||"hsla"===r)&&(n+=","+e[3]),r+"("+n+")"}}function M(e,r){var n=h(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*r:0}function q(){var e=Math.round(255*Math.random()),r=Math.round(255*Math.random()),n=Math.round(255*Math.random());return"rgb("+e+","+r+","+n+")"}r.__esModule=!0;var I=e("7e813b9"),x={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]},A=new I["default"](20),F=null;r.parse=h,r.lift=m,r.toHex=v,r.fastLerp=p,r.fastMapToColor=p,r.lerp=b,r.mapToColor=b,r.modifyHSL=y,r.modifyAlpha=k,r.stringify=w,r.lum=M,r.random=q});
;/*!node_modules/zrender/lib/animation/Animator.js*/
amis.define("782a950",function(t,e){"use strict";function i(t,e,i){return(e-t)*i+t}function r(t,e,i){return i>.5?e:t}function a(t,e,r,a){for(var s=e.length,n=0;s>n;n++)t[n]=i(e[n],r[n],a)}function s(t,e,r,a){for(var s=e.length,n=s&&e[0].length,o=0;s>o;o++){t[o]||(t[o]=[]);for(var l=0;n>l;l++)t[o][l]=i(e[o][l],r[o][l],a)}}function n(t,e,i,r){for(var a=e.length,s=0;a>s;s++)t[s]=e[s]+i[s]*r;return t}function o(t,e,i,r){for(var a=e.length,s=a&&e[0].length,n=0;a>n;n++){t[n]||(t[n]=[]);for(var o=0;s>o;o++)t[n][o]=e[n][o]+i[n][o]*r}return t}function l(t,e,i){var r=t,a=e;if(r.push&&a.push){var s=r.length,n=a.length;if(s!==n){var o=s>n;if(o)r.length=n;else for(var l=s;n>l;l++)r.push(1===i?a[l]:g.call(a[l]))}for(var h=r[0]&&r[0].length,l=0;l<r.length;l++)if(1===i)isNaN(r[l])&&(r[l]=a[l]);else for(var u=0;h>u;u++)isNaN(r[l][u])&&(r[l][u]=a[l][u])}}function h(t,e){var i=t.length;if(i!==e.length)return!1;for(var r=0;i>r;r++)if(t[r]!==e[r])return!1;return!0}function u(t,e,i,r,a,s,n){var o=.5*(i-t),l=.5*(r-e);return(2*(e-i)+o+l)*n+(-3*(e-i)-2*o-l)*s+o*a+e}function f(t,e,i,r,a,s,n,o){for(var l=e.length,h=0;l>h;h++)t[h]=u(e[h],i[h],r[h],a[h],s,n,o)}function p(t,e,i,r,a,s,n,o){for(var l=e.length,h=e[0].length,f=0;l>f;f++){t[f]||(t[1]=[]);for(var p=0;h>p;p++)t[f][p]=u(e[f][p],i[f][p],r[f][p],a[f][p],s,n,o)}}function d(t){if(y.isArrayLike(t)){var e=t.length;if(y.isArrayLike(t[0])){for(var i=[],r=0;e>r;r++)i.push(g.call(t[r]));return i}return g.call(t)}return t}function v(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function c(t){return y.isArrayLike(t&&t[0])?2:1}e.__esModule=!0;var _=t("408668f"),m=t("e96ff93"),y=t("43eadd2"),g=Array.prototype.slice;e.interpolateNumber=i,e.step=r,e.interpolate1DArray=a,e.interpolate2DArray=s,e.cloneValue=d;var k=[0,0,0,0],T=function(){function t(t){this.keyframes=[],this.maxTime=0,this.arrDim=0,this.interpolable=!0,this._needsSort=!1,this._isAllValueEqual=!0,this._lastFrame=0,this._lastFramePercent=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return!this._isAllValueEqual&&this.keyframes.length>=2&&this.interpolable},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var i=this.keyframes,r=i.length;if(this.interpolable)if(y.isArrayLike(e)){var a=c(e);if(r>0&&this.arrDim!==a)return void(this.interpolable=!1);if(1===a&&"number"!=typeof e[0]||2===a&&"number"!=typeof e[0][0])return void(this.interpolable=!1);if(r>0){var s=i[r-1];this._isAllValueEqual&&(1===a?h(e,s.value)||(this._isAllValueEqual=!1):this._isAllValueEqual=!1)}this.arrDim=a}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"==typeof e){var n=m.parse(e);n?(e=n,this.isValueColor=!0):this.interpolable=!1}else if("number"!=typeof e)return void(this.interpolable=!1);if(this._isAllValueEqual&&r>0){var s=i[r-1];this.isValueColor&&!h(s.value,e)?this._isAllValueEqual=!1:s.value!==e&&(this._isAllValueEqual=!1)}}var o={time:t,value:e,percent:0};return this.keyframes.push(o),o},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort(function(t,e){return t.time-e.time});for(var i=this.arrDim,r=e.length,a=e[r-1],s=0;r>s;s++)e[s].percent=e[s].time/this.maxTime,i>0&&s!==r-1&&l(e[s].value,a.value,i);if(t&&this.needsAnimate()&&t.needsAnimate()&&i===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;for(var h=e[0].value,s=0;r>s;s++)0===i?e[s].additiveValue=this.isValueColor?n([],e[s].value,h,-1):e[s].value-h:1===i?e[s].additiveValue=n([],e[s].value,h,-1):2===i&&(e[s].additiveValue=o([],e[s].value,h,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,o=null!=this._additiveTrack,l=o?"additiveValue":"value",h=this.keyframes,d=this.keyframes.length,c=this.propName,_=this.arrDim,m=this.isValueColor;if(0>e)n=0;else if(e<this._lastFramePercent){var y=Math.min(this._lastFrame+1,d-1);for(n=y;n>=0&&!(h[n].percent<=e);n--);n=Math.min(n,d-2)}else{for(n=this._lastFrame;d>n&&!(h[n].percent>e);n++);n=Math.min(n-1,d-2)}var g=h[n+1],T=h[n];if(T&&g){this._lastFrame=n,this._lastFramePercent=e;var b=g.percent-T.percent;if(0!==b){var A=(e-T.percent)/b,V=o?this._additiveValue:m?k:t[c];if((_>0||m)&&!V&&(V=this._additiveValue=[]),this.useSpline){var C=h[n][l],F=h[0===n?n:n-1][l],L=h[n>d-2?d-1:n+1][l],K=h[n>d-3?d-1:n+2][l];if(_>0)1===_?f(V,F,C,L,K,A,A*A,A*A*A):p(V,F,C,L,K,A,A*A,A*A*A);else if(m)f(V,F,C,L,K,A,A*A,A*A*A),o||(t[c]=v(V));else{var D=void 0;D=this.interpolable?u(F,C,L,K,A,A*A,A*A*A):L,o?this._additiveValue=D:t[c]=D}}else if(_>0)1===_?a(V,T[l],g[l],A)