PageSourceSearch

https://travelalls.com/_nuxt/93e87fe.js

js travelalls.com collected 2026-10-07 23:56:01 UTC 53,973 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[139,79],{146:function(t,e,r){"use strict";var n=r(43),o=r(25),h=r(255),l={},c=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},f=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new c},e.prototype.buildPath=function(t,e){var r,n,o,c;if(this.subPixelOptimize){var f=Object(h.b)(l,e,this.style);r=f.x1,n=f.y1,o=f.x2,c=f.y2}else r=e.x1,n=e.y1,o=e.x2,c=e.y2;var d=e.percent;0!==d&&(t.moveTo(r,n),d<1&&(o=r*(1-d)+o*d,c=n*(1-d)+c*d),t.lineTo(o,c))},e.prototype.pointAt=function(p){var t=this.shape;return[t.x1*(1-p)+t.x2*p,t.y1*(1-p)+t.y2*p]},e}(o.b);f.prototype.type="line",e.a=f},206:function(t,e,r){"use strict";r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return c})),r.d(e,"c",(function(){return d}));var n=r(197),o=r(69),h=new n.a(50);function l(t){if("string"==typeof t){var e=h.get(t);return e&&e.image}return t}function c(t,image,e,r,n){if(t){if("string"==typeof t){if(image&&image.__zrImageSrc===t||!e)return image;var l=h.get(t),c={hostEl:e,cb:r,cbPayload:n};return l?!d(image=l.image)&&l.pending.push(c):((image=o.d.loadImage(t,f,f)).__zrImageSrc=t,h.put(t,image.__cachedImgObj={image:image,pending:[c]})),image}return t}return image}function f(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var i=0;i<t.pending.length;i++){var e=t.pending[i],r=e.cb;r&&r(this,e.cbPayload),e.hostEl.dirty()}t.pending.length=0}function d(image){return image&&image.width&&image.height}},227:function(t,e,r){"use strict";var n=r(43),o=r(64),h=r(39),l=r(25),c=r(0),f=r(69),d=Object(c.defaults)({strokeFirst:!0,font:f.a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},l.a),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n.a)(e,t),e.prototype.hasStroke=function(){var style=this.style,t=style.stroke;return null!=t&&"none"!==t&&style.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return Object(c.createObject)(d,t)},e.prototype.setBoundingRect=function(rect){this._rect=rect},e.prototype.getBoundingRect=function(){var style=this.style;if(!this._rect){var text=style.text;null!=text?text+="":text="";var rect=Object(h.d)(text,style.font,style.textAlign,style.textBaseline);if(rect.x+=style.x||0,rect.y+=style.y||0,this.hasStroke()){var t=style.lineWidth;rect.x-=t/2,rect.y-=t/2,rect.width+=t,rect.height+=t}this._rect=rect}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(o.c);y.prototype.type="tspan",e.a=y},228:function(t,e,r){"use strict";var n=r(43),o=r(25),h=r(454),l=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},c=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){h.a(t,e,!0)},e}(o.b);c.prototype.type="polygon",e.a=c},235:function(t,e,r){"use strict";var n=r(43),o=r(25),h=function(){this.cx=0,this.cy=0,this.r=0},l=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(o.b);l.prototype.type="circle",e.a=l},236:function(t,e,r){"use strict";var n=r(43),o=r(25),h=r(454),l=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},c=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){h.a(t,e,!1)},e}(o.b);c.prototype.type="polyline",e.a=c},239:function(t,e,r){"use strict";var n=r(43),o=r(25),h=r(0),l=Math.PI,c=2*l,f=Math.sin,d=Math.cos,y=Math.acos,v=Math.atan2,_=Math.abs,m=Math.sqrt,x=Math.max,O=Math.min,w=1e-4;function S(t,e,r,n,o,h,l){var c=t-r,f=e-n,d=(l?h:-h)/m(c*c+f*f),y=d*f,v=-d*c,_=t+y,O=e+v,w=r+y,S=n+v,j=(_+w)/2,T=(O+S)/2,k=w-_,C=S-O,P=k*k+C*C,A=o-h,s=_*S-w*O,D=(C<0?-1:1)*m(x(0,A*A*P-s*s)),W=(s*C-k*D)/P,B=(-s*k-C*D)/P,M=(s*C+k*D)/P,R=(-s*k+C*D)/P,z=W-j,H=B-T,N=M-j,I=R-T;return z*z+H*H>N*N+I*I&&(W=M,B=R),{cx:W,cy:B,x0:-y,y0:-v,x1:W*(o/A-1),y1:B*(o/A-1)}}function j(t,e){var r,n=x(e.r,0),o=x(e.r0||0,0),j=n>0;if(j||o>0){if(j||(n=o,o=0),o>n){var T=n;n=o,o=T}var k=e.startAngle,C=e.endAngle;if(!isNaN(k)&&!isNaN(C)){var P=e.cx,A=e.cy,D=!!e.clockwise,W=_(C-k),B=W>c&&W%c;if(B>w&&(W=B),n>w)if(W>c-w)t.moveTo(P+n*d(k),A+n*f(k)),t.arc(P,A,n,k,C,!D),o>w&&(t.moveTo(P+o*d(C),A+o*f(C)),t.arc(P,A,o,C,k,D));else{var M=void 0,R=void 0,z=void 0,H=void 0,N=void 0,I=void 0,V=void 0,L=void 0,F=void 0,Z=void 0,E=void 0,U=void 0,X=void 0,Y=void 0,K=void 0,G=void 0,J=n*d(k),Q=n*f(k),$=o*d(C),tt=o*f(C),et=W>w;if(et){var it=e.cornerRadius;it&&(M=(r=function(t){var e;if(Object(h.isArray)(t)){var r=t.length;if(!r)return t;e=1===r?[t[0],t[0],0,0]:2===r?[t[0],t[0],t[1],t[1]]:3===r?t.concat(t[2]):t}else e=[t,t,t,t];return e}(it))[0],R=r[1],z=r[2],H=r[3]);var nt=_(n-o)/2;if(N=O(nt,z),I=O(nt,H),V=O(nt,M),L=O(nt,R),E=F=x(N,I),U=Z=x(V,L),(F>w||Z>w)&&(X=n*d(C),Y=n*f(C),K=o*d(k),G=o*f(k),W<l)){var ot=function(t,e,r,n,o,h,l,c){var f=r-t,d=n-e,y=l-o,v=c-h,_=v*f-y*d;if(!(_*_<w))return[t+(_=(y*(e-h)-v*(t-o))/_)*f,e+_*d]}(J,Q,K,G,X,Y,$,tt);if(ot){var at=J-ot[0],st=Q-ot[1],ht=X-ot[0],lt=Y-ot[1],a=1/f(y((at*ht+st*lt)/(m(at*at+st*st)*m(ht*ht+lt*lt)))/2),b=m(ot[0]*ot[0]+ot[1]*ot[1]);E=O(F,(n-b)/(a+1)),U=O(Z,(o-b)/(a-1))}}}if(et)if(E>w){var ct=O(z,E),ut=O(H,E),pt=S(K,G,J,Q,n,ct,D),ft=S(X,Y,$,tt,n,ut,D);t.moveTo(P+pt.cx+pt.x0,A+pt.cy+pt.y0),E<F&&ct===ut?t.arc(P+pt.cx,A+pt.cy,E,v(pt.y0,pt.x0),v(ft.y0,ft.x0),!D):(ct>0&&t.arc(P+pt.cx,A+pt.cy,ct,v(pt.y0,pt.x0),v(pt.y1,pt.x1),!D),t.arc(P,A,n,v(pt.cy+pt.y1,pt.cx+pt.x1),v(ft.cy+ft.y1,ft.cx+ft.x1),!D),ut>0&&t.arc(P+ft.cx,A+ft.cy,ut,v(ft.y1,ft.x1),v(ft.y0,ft.x0),!D))}else t.moveTo(P+J,A+Q),t.arc(P,A,n,k,C,!D);else t.moveTo(P+J,A+Q);if(o>w&&et)if(U>w){ct=O(M,U),pt=S($,tt,X,Y,o,-(ut=O(R,U)),D),ft=S(J,Q,K,G,o,-ct,D);t.lineTo(P+pt.cx+pt.x0,A+pt.cy+pt.y0),U<Z&&ct===ut?t.arc(P+pt.cx,A+pt.cy,U,v(pt.y0,pt.x0),v(ft.y0,ft.x0),!D):(ut>0&&t.arc(P+pt.cx,A+pt.cy,ut,v(pt.y0,pt.x0),v(pt.y1,pt.x1),!D),t.arc(P,A,o,v(pt.cy+pt.y1,pt.cx+pt.x1),v(ft.cy+ft.y1,ft.cx+ft.x1),D),ct>0&&t.arc(P+ft.cx,A+ft.cy,ct,v(ft.y1,ft.x1),v(ft.y0,ft.x0),!D))}else t.lineTo(P+$,A+tt),t.arc(P,A,o,C,k,D);else t.lineTo(P+$,A+tt)}else t.moveTo(P,A);t.closePath()}}}var T=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},k=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new T},e.prototype.buildPath=function(t,e){j(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(o.b);k.prototype.type="sector";e.a=k},25:function(t,e,r){"use strict";r.d(e,"a",(function(){return _}));
1var n=r(43),o=r(64),h=r(106),l=r(609),c=r(0),f=r(49),d=r(116),y=r(70),v=r(86),_=Object(c.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},o.b),m={style:Object(c.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},o.a.style)},x=v.a.concat(["invisible","culling","z","z2","zlevel","parent"]),O=function(t){function e(e){return t.call(this,e)||this}var r;return Object(n.a)(e,t),e.prototype.update=function(){var r=this;t.prototype.update.call(this);var style=this.style;if(style.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(t){r.buildPath(t,r.shape)}),n.silent=!0;var o=n.style;for(var h in style)o[h]!==style[h]&&(o[h]=style[h]);o.fill=style.fill?style.decal:null,o.decal=null,o.shadowColor=null,style.strokeFirst&&(o.stroke=null);for(var i=0;i<x.length;++i)n[x[i]]=this[x[i]];n.__dirty|=y.a}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var r=Object(c.keys)(e);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var o=r[i],h=e[o];"style"===o?this.style?Object(c.extend)(this.style,h):this.useStyle(h):"shape"===o?Object(c.extend)(this.shape,h):t.prototype.attrKV.call(this,o,h)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Object(c.isString)(t)){var e=Object(f.lum)(t,0);return e>.5?d.a:e>.2?d.c:d.d}if(t)return d.d}return d.a},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(c.isString)(e)){var r=this.__zr;if(!(!r||!r.isDarkMode())===Object(f.lum)(t,0)<d.b)return e}},e.prototype.buildPath=function(t,e,r){},e.prototype.pathUpdated=function(){this.__dirty&=~y.b},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new h.a(!1)},e.prototype.hasStroke=function(){var style=this.style,t=style.stroke;return!(null==t||"none"===t||!(style.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var rect=this._rect,style=this.style,t=!rect;if(t){var e=!1;this.path||(e=!0,this.createPathProxy());var path=this.path;(e||this.__dirty&y.b)&&(path.beginPath(),this.buildPath(path,this.shape,!1),this.pathUpdated()),rect=path.getBoundingRect()}if(this._rect=rect,this.hasStroke()&&this.path&&this.path.len()>0){var r=this._rectStroke||(this._rectStroke=rect.clone());if(this.__dirty||t){r.copy(rect);var n=style.strokeNoScale?this.getLineScale():1,o=style.lineWidth;if(!this.hasFill()){var h=this.strokeContainThreshold;o=Math.max(o,null==h?4:h)}n>1e-10&&(r.width+=o/n,r.height+=o/n,r.x-=o/n/2,r.y-=o/n/2)}return r}return rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),rect=this.getBoundingRect(),style=this.style;if(t=r[0],e=r[1],rect.contain(t,e)){var n=this.path;if(this.hasStroke()){var o=style.lineWidth,h=style.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),l.b(n,o/h,t,e)))return!0}if(this.hasFill())return l.a(n,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=y.b,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,r){"shape"===e?this.setShape(r):t.prototype.attrKV.call(this,e,r)},e.prototype.setShape=function(t,e){var r=this.shape;return r||(r=this.shape={}),"string"==typeof t?r[t]=e:Object(c.extend)(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&y.b)},e.prototype.createStyle=function(t){return Object(c.createObject)(_,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=Object(c.extend)({},this.shape))},e.prototype._applyStateObj=function(e,r,n,o,h,l){t.prototype._applyStateObj.call(this,e,r,n,o,h,l);var f,d=!(r&&o);if(r&&r.shape?h?o?f=r.shape:(f=Object(c.extend)({},n.shape),Object(c.extend)(f,r.shape)):(f=Object(c.extend)({},o?this.shape:n.shape),Object(c.extend)(f,r.shape)):d&&(f=n.shape),f)if(h){this.shape=Object(c.extend)({},this.shape);for(var y={},v=Object(c.keys)(f),i=0;i<v.length;i++){var _=v[i];"object"==typeof f[_]?this.shape[_]=f[_]:y[_]=f[_]}this._transitionState(e,{shape:y},l)}else this.shape=f,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(n.shape=r),n},e.prototype.getAnimationStyleProps=function(){return m},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var r=function(e){function r(r){var n=e.call(this,r)||this;return t.init&&t.init.call(n,r),n}return Object(n.a)(r,e),r.prototype.getDefaultStyle=function(){return Object(c.clone)(t.style)},r.prototype.getDefaultShape=function(){return Object(c.clone)(t.shape)},r}(e);
1for(var o in t)"function"==typeof t[o]&&(r.prototype[o]=t[o]);return r},e.initDefaultProps=((r=e.prototype).type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,void(r.__dirty=y.a|y.c|y.b)),e}(o.c);e.b=O},255:function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return h})),r.d(e,"a",(function(){return l}));var n=Math.round;function o(t,e,style){if(e){var r=e.x1,o=e.x2,h=e.y1,c=e.y2;t.x1=r,t.x2=o,t.y1=h,t.y2=c;var f=style&&style.lineWidth;return f?(n(2*r)===n(2*o)&&(t.x1=t.x2=l(r,f,!0)),n(2*h)===n(2*c)&&(t.y1=t.y2=l(h,f,!0)),t):t}}function h(t,e,style){if(e){var r=e.x,n=e.y,o=e.width,h=e.height;t.x=r,t.y=n,t.width=o,t.height=h;var c=style&&style.lineWidth;return c?(t.x=l(r,c,!0),t.y=l(n,c,!0),t.width=Math.max(l(r+o,c,!1)-t.x,0===o?0:1),t.height=Math.max(l(n+h,c,!1)-t.y,0===h?0:1),t):t}}function l(t,e,r){if(!e)return t;var o=n(2*t);return(o+n(e))%2==0?o/2:(o+(r?1:-1))/2}},298:function(t,e,r){"use strict";var n=r(43),o=function(t){function e(e,r,n,o,h,l){var c=t.call(this,h)||this;return c.x=null==e?0:e,c.y=null==r?0:r,c.x2=null==n?1:n,c.y2=null==o?0:o,c.type="linear",c.global=l||!1,c}return Object(n.a)(e,t),e}(r(424).a);e.a=o},353:function(t,e,r){"use strict";r.d(e,"c",(function(){return c})),r.d(e,"a",(function(){return v})),r.d(e,"b",(function(){return O}));var n=r(206),o=r(0),h=r(39),l=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function c(text,t,e,r,n){if(!t)return"";var o=(text+"").split("\n");n=f(t,e,r,n);for(var i=0,h=o.length;i<h;i++)o[i]=d(o[i],n);return o.join("\n")}function f(t,e,r,n){n=n||{};var l=Object(o.extend)({},n);l.font=e,r=Object(o.retrieve2)(r,"..."),l.maxIterations=Object(o.retrieve2)(n.maxIterations,2);var c=l.minChar=Object(o.retrieve2)(n.minChar,0);l.cnCharWidth=Object(h.f)("国",e);var f=l.ascCharWidth=Object(h.f)("a",e);l.placeholder=Object(o.retrieve2)(n.placeholder,"");for(var d=t=Math.max(0,t-1),i=0;i<c&&d>=f;i++)d-=f;var y=Object(h.f)(r,e);return y>d&&(r="",y=0),d=t-y,l.ellipsis=r,l.ellipsisWidth=y,l.contentWidth=d,l.containerWidth=t,l}function d(t,e){var r=e.containerWidth,n=e.font,o=e.contentWidth;if(!r)return"";var l=Object(h.f)(t,n);if(l<=r)return t;for(var c=0;;c++){if(l<=o||c>=e.maxIterations){t+=e.ellipsis;break}var f=0===c?y(t,o,e.ascCharWidth,e.cnCharWidth):l>0?Math.floor(t.length*o/l):0;t=t.substr(0,f),l=Object(h.f)(t,n)}return""===t&&(t=e.placeholder),t}function y(text,t,e,r){for(var n=0,i=0,o=text.length;i<o&&n<t;i++){var h=text.charCodeAt(i);n+=0<=h&&h<=127?e:r}return i}function v(text,style){null!=text&&(text+="");var t,e=style.overflow,r=style.padding,n=style.font,l="truncate"===e,c=Object(h.e)(n),y=Object(o.retrieve2)(style.lineHeight,c),v=!!style.backgroundColor,_="truncate"===style.lineOverflow,m=style.width,x=(t=null==m||"break"!==e&&"breakAll"!==e?text?text.split("\n"):[]:text?T(text,style.font,m,"breakAll"===e,0).lines:[]).length*y,O=Object(o.retrieve2)(style.height,x);if(x>O&&_){var w=Math.floor(O/y);t=t.slice(0,w)}if(text&&l&&null!=m)for(var S=f(m,n,style.ellipsis,{minChar:style.truncateMinChar,placeholder:style.placeholder}),i=0;i<t.length;i++)t[i]=d(t[i],S);var j=O,k=0;for(i=0;i<t.length;i++)k=Math.max(Object(h.f)(t[i],n),k);null==m&&(m=k);var C=k;return r&&(j+=r[0]+r[2],C+=r[1]+r[3],m+=r[1]+r[3]),v&&(C=m),{lines:t,height:O,outerWidth:C,outerHeight:j,lineHeight:y,calculatedLineHeight:c,contentWidth:k,contentHeight:x,width:m}}var _=function(){},m=function(t){this.tokens=[],t&&(this.tokens=t)},x=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function O(text,style){var t=new x;if(null!=text&&(text+=""),!text)return t;for(var e,r=style.width,f=style.height,d=style.overflow,y="break"!==d&&"breakAll"!==d||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===d},v=l.lastIndex=0;null!=(e=l.exec(text));){var _=e.index;_>v&&w(t,text.substring(v,_),style,y),w(t,e[2],style,y,e[1]),v=l.lastIndex}v<text.length&&w(t,text.substring(v,text.length),style,y);var m=[],O=0,S=0,j=style.padding,T="truncate"===d,k="truncate"===style.lineOverflow;function C(line,t,e){line.width=t,line.lineHeight=e,O+=e,S=Math.max(S,t)}t:for(var i=0;i<t.lines.length;i++){for(var line=t.lines[i],P=0,A=0,D=0;D<line.tokens.length;D++){var W=(F=line.tokens[D]).styleName&&style.rich[F.styleName]||{},B=F.textPadding=W.padding,M=B?B[1]+B[3]:0,R=F.font=W.font||style.font;F.contentHeight=Object(h.e)(R);var z=Object(o.retrieve2)(W.height,F.contentHeight);if(F.innerHeight=z,B&&(z+=B[0]+B[2]),F.height=z,F.lineHeight=Object(o.retrieve3)(W.lineHeight,style.lineHeight,z),F.align=W&&W.align||style.align,F.verticalAlign=W&&W.verticalAlign||"middle",k&&null!=f&&O+F.lineHeight>f){D>0?(line.tokens=line.tokens.slice(0,D),C(line,A,P),t.lines=t.lines.slice(0,i+1)):t.lines=t.lines.slice(0,i);break t}var H=W.width,N=null==H||"auto"===H;if("string"==typeof H&&"%"===H.charAt(H.length-1))F.percentWidth=H,m.push(F),F.contentWidth=Object(h.f)(F.text,R);else{if(N){var I=W.backgroundColor,V=I&&I.image;V&&(V=n.b(V),n.c(V)&&(F.width=Math.max(F.width,V.width*z/V.height)))}var L=T&&null!=r?r-A:null;null!=L&&L<F.width?!N||L<M?(F.text="",F.width=F.contentWidth=0):(F.text=c(F.text,L-M,R,style.ellipsis,{minChar:style.truncateMinChar}),F.width=F.contentWidth=Object(h.f)(F.text,R)):F.contentWidth=Object(h.f)(F.text,R)}F.width+=M,A+=F.width,W&&(P=Math.max(P,F.lineHeight))}C(line,A,P)}t.outerWidth=t.width=Object(o.retrieve2)(r,S),t.outerHeight=t.height=Object(o.retrieve2)(f,O),t.contentHeight=O,t.contentWidth=S,j&&(t.outerWidth+=j[1]+j[3],t.outerHeight+=j[0]+j[2]);for(i=0;i<m.length;i++){var F,Z=(F=m[i]).percentWidth;F.width=parseInt(Z,10)/100*t.width}return t}function w(t,e,style,r,n){var o,l,c=""===e,f=n&&style.rich[n]||{},d=t.lines,y=f.font||style.font,v=!1;if(r){var x=f.padding,O=x?x[1]+x[3]:0;
1if(null!=f.width&&"auto"!==f.width){var w=Object(h.g)(f.width,r.width)+O;d.length>0&&w+r.accumWidth>r.width&&(o=e.split("\n"),v=!0),r.accumWidth=w}else{var S=T(e,y,r.width,r.breakAll,r.accumWidth);r.accumWidth=S.accumWidth+O,l=S.linesWidths,o=S.lines}}else o=e.split("\n");for(var i=0;i<o.length;i++){var text=o[i],j=new _;if(j.styleName=n,j.text=text,j.isLineHolder=!text&&!c,"number"==typeof f.width?j.width=f.width:j.width=l?l[i]:Object(h.f)(text,y),i||v)d.push(new m([j]));else{var k=(d[d.length-1]||(d[0]=new m)).tokens,C=k.length;1===C&&k[0].isLineHolder?k[0]=j:(text||!C||c)&&k.push(j)}}}var S=Object(o.reduce)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function j(t){return!function(t){var code=t.charCodeAt(0);return code>=33&&code<=383}(t)||!!S[t]}function T(text,t,e,r,n){for(var o=[],l=[],line="",c="",f=0,d=0,i=0;i<text.length;i++){var y=text.charAt(i);if("\n"!==y){var v=Object(h.f)(y,t),_=!r&&!j(y);(o.length?d+v>e:n+d+v>e)?d?(line||c)&&(_?(line||(line=c,c="",d=f=0),o.push(line),l.push(d-f),c+=y,line="",d=f+=v):(c&&(line+=c,c="",f=0),o.push(line),l.push(d),line=y,d=v)):_?(o.push(c),l.push(f),c=y,f=v):(o.push(y),l.push(v)):(d+=v,_?(c+=y,f+=v):(c&&(line+=c,c="",f=0),line+=y))}else c&&(line+=c,d+=f),o.push(line),l.push(d),line="",c="",f=0,d=0}return o.length||line||(line=text,c="",f=0),c&&(line+=c),line&&(o.push(line),l.push(d)),1===o.length&&(d+=n),{accumWidth:d,lines:o,linesWidths:l}}},354:function(t,e,r){"use strict";var n=r(43),o=r(25),h=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},l=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=.5522848,n=e.cx,o=e.cy,a=e.rx,b=e.ry,h=a*r,l=b*r;t.moveTo(n-a,o),t.bezierCurveTo(n-a,o-l,n-h,o-b,n,o-b),t.bezierCurveTo(n+h,o-b,n+a,o-l,n+a,o),t.bezierCurveTo(n+a,o+l,n+h,o+b,n,o+b),t.bezierCurveTo(n-h,o+b,n-a,o+l,n-a,o),t.closePath()},e}(o.b);l.prototype.type="ellipse",e.a=l},355:function(t,e,r){"use strict";var n=r(43),o=r(25),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return Object(n.a)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),i=0;i<t.length;i++)e=e||t[i].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var r=e.paths||[],i=0;i<r.length;i++)r[i].buildPath(t,r[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],i=0;i<t.length;i++)t[i].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),o.b.prototype.getBoundingRect.call(this)},e}(o.b);e.a=h},409:function(t,e,r){"use strict";var n=r(43),o=function(t){function e(e,r,n,o,h){var l=t.call(this,o)||this;return l.x=null==e?.5:e,l.y=null==r?.5:r,l.r=null==n?.5:n,l.type="radial",l.global=h||!1,l}return Object(n.a)(e,t),e}(r(424).a);e.a=o},422:function(t,e,r){"use strict";var n=r(43),o=r(25),h=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},l=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,o=2*Math.PI;t.moveTo(r+e.r,n),t.arc(r,n,e.r,0,o,!1),t.moveTo(r+e.r0,n),t.arc(r,n,e.r0,0,o,!0)},e}(o.b);l.prototype.type="ring",e.a=l},423:function(t,e,r){"use strict";var n=r(43),o=r(25),h=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},l=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,o=Math.max(e.r,0),h=e.startAngle,l=e.endAngle,c=e.clockwise,f=Math.cos(h),d=Math.sin(h);t.moveTo(f*o+r,d*o+n),t.arc(r,n,o,h,l,!c)},e}(o.b);l.prototype.type="arc",e.a=l},424:function(t,e,r){"use strict";var n=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e.a=n},429:function(t,e,r){"use strict";var n=r(52),o=Math.sin,h=Math.cos,l=Math.PI,c=2*Math.PI,f=180/l,d=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,r,n,o,h){this._add("C",t,e,r,n,o,h)},t.prototype.quadraticCurveTo=function(t,e,r,n){this._add("Q",t,e,r,n)},t.prototype.arc=function(t,e,r,n,o,h){this.ellipse(t,e,r,r,0,n,o,h)},t.prototype.ellipse=function(t,e,r,d,y,v,_,m){var x=_-v,O=!m,w=Math.abs(x),S=Object(n.j)(w-c)||(O?x>=c:-x>=c),j=x>0?x%c:x%c+c,T=!1;T=!!S||!Object(n.j)(w)&&j>=l==!!O;var k=t+r*h(v),C=e+d*o(v);this._start&&this._add("M",k,C);var P=Math.round(y*f);if(S){var p=1/this._p,A=(O?1:-1)*(c-p);
1this._add("A",r,d,P,1,+O,t+r*h(v+A),e+d*o(v+A)),p>.01&&this._add("A",r,d,P,0,+O,k,C)}else{var D=t+r*h(_),W=e+d*o(_);this._add("A",r,d,P,+T,+O,D,W)}},t.prototype.rect=function(t,e,r,n){this._add("M",t,e),this._add("l",r,0),this._add("l",0,n),this._add("l",-r,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,a,b,e,r,n,o,g,h){for(var l=[],p=this._p,i=1;i<arguments.length;i++){var c=arguments[i];if(isNaN(c))return void(this._invalid=!0);l.push(Math.round(c*p)/p)}this._d.push(t+l.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}();e.a=d},454:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(9);function o(t,e,r){var o=e.smooth,h=e.points;if(h&&h.length>=2){if(o){var l=function(t,e,r,o){var h,l,c,f,d=[],y=[],v=[],_=[];if(o){c=[1/0,1/0],f=[-1/0,-1/0];for(var i=0,m=t.length;i<m;i++)Object(n.min)(c,c,t[i]),Object(n.max)(f,f,t[i]);Object(n.min)(c,c,o[0]),Object(n.max)(f,f,o[1])}for(i=0,m=t.length;i<m;i++){var x=t[i];if(r)h=t[i?i-1:m-1],l=t[(i+1)%m];else{if(0===i||i===m-1){d.push(Object(n.clone)(t[i]));continue}h=t[i-1],l=t[i+1]}Object(n.sub)(y,l,h),Object(n.scale)(y,y,e);var O=Object(n.distance)(x,h),w=Object(n.distance)(x,l),S=O+w;0!==S&&(O/=S,w/=S),Object(n.scale)(v,y,-O),Object(n.scale)(_,y,w);var j=Object(n.add)([],x,v),T=Object(n.add)([],x,_);o&&(Object(n.max)(j,j,c),Object(n.min)(j,j,f),Object(n.max)(T,T,c),Object(n.min)(T,T,f)),d.push(j),d.push(T)}return r&&d.push(d.shift()),d}(h,o,r,e.smoothConstraint);t.moveTo(h[0][0],h[0][1]);for(var c=h.length,i=0;i<(r?c:c-1);i++){var f=l[2*i],d=l[2*i+1],p=h[(i+1)%c];t.bezierCurveTo(f[0],f[1],d[0],d[1],p[0],p[1])}}else{t.moveTo(h[0][0],h[0][1]);i=1;for(var y=h.length;i<y;i++)t.lineTo(h[i][0],h[i][1])}r&&t.closePath()}}},522:function(t,e,r){"use strict";var n=r(43),o=r(25),h=r(9),l=r(31),c=[],f=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function d(t,e,r){var n=t.cpx2,o=t.cpy2;return null!=n||null!=o?[(r?l.b:l.a)(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?l.b:l.a)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?l.i:l.h)(t.x1,t.cpx1,t.x2,e),(r?l.i:l.h)(t.y1,t.cpy1,t.y2,e)]}var y=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new f},e.prototype.buildPath=function(t,e){var r=e.x1,n=e.y1,o=e.x2,h=e.y2,f=e.cpx1,d=e.cpy1,y=e.cpx2,v=e.cpy2,_=e.percent;0!==_&&(t.moveTo(r,n),null==y||null==v?(_<1&&(Object(l.n)(r,f,o,_,c),f=c[1],o=c[2],Object(l.n)(n,d,h,_,c),d=c[1],h=c[2]),t.quadraticCurveTo(f,d,o,h)):(_<1&&(Object(l.g)(r,f,y,o,_,c),f=c[1],y=c[2],o=c[3],Object(l.g)(n,d,v,h,_,c),d=c[1],v=c[2],h=c[3]),t.bezierCurveTo(f,d,y,v,o,h)))},e.prototype.pointAt=function(t){return d(this.shape,t,!1)},e.prototype.tangentAt=function(t){var p=d(this.shape,t,!0);return h.normalize(p,p)},e}(o.b);y.prototype.type="bezier-curve",e.a=y},55:function(t,e,r){"use strict";var n=r(43),o=r(0),h=r(417),l=r(21),c=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return Object(n.a)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var r=this._children,n=r.indexOf(e);n>=0&&(r.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var r=o.indexOf(this._children,t);return r>=0&&this.replaceAt(e,r),this},e.prototype.replaceAt=function(t,e){var r=this._children,n=r[e];if(t&&t!==this&&t.parent!==this&&t!==n){r[e]=t,n.parent=null;var o=this.__zr;o&&n.removeSelfFromZr(o),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,r=this._children,n=o.indexOf(r,t);return n<0||(r.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,i=0;i<t.length;i++){var r=t[i];e&&r.removeSelfFromZr(e),r.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var r=this._children,i=0;i<r.length;i++){var n=r[i];t.call(e,n,i)}return this},e.prototype.traverse=function(t,e){for(var i=0;i<this._children.length;i++){var r=this._children[i],n=t.call(e,r);r.isGroup&&!n&&r.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++){this._children[i].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++){this._children[i].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new l.a(0,0,0,0),r=t||this._children,n=[],rect=null,i=0;i<r.length;i++){var o=r[i];
1if(!o.ignore&&!o.invisible){var h=o.getBoundingRect(),c=o.getLocalTransform(n);c?(l.a.applyTransform(e,h,c),(rect=rect||e.clone()).union(e)):(rect=rect||h.clone()).union(h)}}return rect||e},e}(h.a);c.prototype.type="group",e.a=c},64:function(t,e,r){"use strict";r.d(e,"b",(function(){return d})),r.d(e,"a",(function(){return y}));var n=r(43),o=r(417),h=r(21),l=r(0),c=r(70),f="__zr_style_"+Math.round(10*Math.random()),d={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},y={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};d[f]=!0;var v=["z","z2","invisible"],_=["invisible"],m=function(t){function e(e){return t.call(this,e)||this}var r;return Object(n.a)(e,t),e.prototype._init=function(e){for(var r=Object(l.keys)(e),i=0;i<r.length;i++){var n=r[i];"style"===n?this.useStyle(e[n]):t.prototype.attrKV.call(this,n,e[n])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,r,n){var o=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,r){x.copy(t.getBoundingRect()),t.transform&&x.applyTransform(t.transform);return O.width=e,O.height=r,!x.intersect(O)}(this,t,e)||o&&!o[0]&&!o[3])return!1;if(r&&this.__clipPaths)for(var i=0;i<this.__clipPaths.length;++i)if(this.__clipPaths[i].isZeroArea())return!1;if(n&&this.parent)for(var h=this.parent;h;){if(h.ignore)return!1;h=h.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(r[0],r[1])},e.prototype.getPaintRect=function(){var rect=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,e=this.getBoundingRect(),style=this.style,r=style.shadowBlur||0,n=style.shadowOffsetX||0,o=style.shadowOffsetY||0;rect=this._paintRect||(this._paintRect=new h.a(0,0,0,0)),t?h.a.applyTransform(rect,e,t):rect.copy(e),(r||n||o)&&(rect.width+=2*r+Math.abs(n),rect.height+=2*r+Math.abs(o),rect.x=Math.min(rect.x,rect.x+n-r),rect.y=Math.min(rect.y,rect.y+o-r));var l=this.dirtyRectTolerance;rect.isZero()||(rect.x=Math.floor(rect.x-l),rect.y=Math.floor(rect.y-l),rect.width=Math.ceil(rect.width+1+2*l),rect.height=Math.ceil(rect.height+1+2*l))}return rect},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new h.a(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,r){"style"!==e?t.prototype.attrKV.call(this,e,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:Object(l.extend)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=c.c,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&c.c)},e.prototype.styleUpdated=function(){this.__dirty&=~c.c},e.prototype.createStyle=function(t){return Object(l.createObject)(d,t)},e.prototype.useStyle=function(t){t[f]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[f]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,r,v)},e.prototype._applyStateObj=function(e,r,n,o,h,c){t.prototype._applyStateObj.call(this,e,r,n,o,h,c);var f,d=!(r&&o);if(r&&r.style?h?o?f=r.style:(f=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(f,r.style)):(f=this._mergeStyle(this.createStyle(),o?this.style:n.style),this._mergeStyle(f,r.style)):d&&(f=n.style),f)if(h){var y=this.style;if(this.style=this.createStyle(d?{}:y),d)for(var m=Object(l.keys)(y),i=0;i<m.length;i++){(O=m[i])in f&&(f[O]=f[O],this.style[O]=y[O])}var x=Object(l.keys)(f);for(i=0;i<x.length;i++){var O=x[i];this.style[O]=this.style[O]}this._transitionState(e,{style:f},c,this.getAnimationStyleProps())}else this.useStyle(f);var w=this.__inHover?_:v;for(i=0;i<w.length;i++){O=w[i];r&&null!=r[O]?this[O]=r[O]:d&&null!=n[O]&&(this[O]=n[O])}},e.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(n.style=r),n},e.prototype._mergeStyle=function(t,e){return Object(l.extend)(t,e),t},e.prototype.getAnimationStyleProps=function(){return y},e.initDefaultProps=((r=e.prototype).type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,void(r.__dirty=c.a|c.c)),e}(o.a),x=new h.a(0,0,0,0),O=new h.a(0,0,0,0);e.c=m},640:function(t,e,r){"use strict";
1var n=r(43),o=r(64),h=r(21),l=[],c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return Object(n.a)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var i=this._cursor;i<this._displayables.length;i++)t&&t(this._displayables[i]);for(i=0;i<this._temporaryDisplayables.length;i++)t&&t(this._temporaryDisplayables[i])},e.prototype.update=function(){this.updateTransform();for(var i=this._cursor;i<this._displayables.length;i++){(t=this._displayables[i]).parent=this,t.update(),t.parent=null}for(i=0;i<this._temporaryDisplayables.length;i++){var t;(t=this._temporaryDisplayables[i]).parent=this,t.update(),t.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var rect=new h.a(1/0,1/0,-1/0,-1/0),i=0;i<this._displayables.length;i++){var t=this._displayables[i],e=t.getBoundingRect().clone();t.needLocalTransform()&&e.applyTransform(t.getLocalTransform(l)),rect.union(e)}this._rect=rect}return this._rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(r[0],r[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(o.c);e.a=c},661:function(t,e,r){"use strict";var n=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},o=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.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new n(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,o=t.offsetY,h=r-this._x,l=o-this._y;this._x=r,this._y=o,e.drift(h,l,t),this.handler.dispatchToElement(new n(e,t),"drag",t.event);var c=this.handler.findHover(r,o,e).target,f=this._dropTarget;this._dropTarget=c,e!==c&&(f&&c!==f&&this.handler.dispatchToElement(new n(f,t),"dragleave",t.event),c&&c!==f&&this.handler.dispatchToElement(new n(c,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new n(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();e.a=o},674:function(t,e,r){"use strict";var n=r(337),o=r(63),h=r(52),l=r(0),c=r(614),f=r(153),d=0,y=function(){function t(t,e,r){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=e,this._opts=r=Object(l.extend)({},r),this.root=t,this._id="zr"+d++,this._oldVNode=Object(o.f)(r.width,r.height),t&&!r.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var h=this._svgDom=this._oldVNode.elm=Object(o.e)("svg");Object(c.b)(null,this._oldVNode),n.appendChild(h),t.appendChild(n)}this.resize(r.width,r.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;
1left:0;top:0;user-select:none",Object(c.a)(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Object(n.a)(t,Object(o.d)(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),r=this._width,c=this._height,f=Object(o.d)(this._id);f.animation=t.animation,f.willUpdate=t.willUpdate,f.compress=t.compress;var d=[],y=this._bgVNode=function(t,e,r,c){var f;if(r&&"none"!==r)if(f=Object(o.g)("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),Object(h.k)(r))Object(n.c)({fill:r},f.attrs,"fill",c);else if(Object(h.n)(r))Object(n.d)({style:{fill:r},dirty:l.noop,getBoundingRect:function(){return{width:t,height:e}}},f.attrs,"fill",c);else{var d=Object(h.p)(r),y=d.color,v=d.opacity;f.attrs.fill=y,v<1&&(f.attrs["fill-opacity"]=v)}return f}(r,c,this._backgroundColor,f);y&&d.push(y);var v=t.compress?null:this._mainVNode=Object(o.g)("g","main",{},[]);this._paintList(e,f,v?v.children:d),v&&d.push(v);var defs=Object(l.map)(Object(l.keys)(f.defs),(function(t){return f.defs[t]}));if(defs.length&&d.push(Object(o.g)("defs","defs",{},defs)),t.animation){var _=Object(o.h)(f.cssNodes,f.cssAnims,{newline:!0});if(_){var m=Object(o.g)("style","stl",{},[],_);d.push(m)}}return Object(o.f)(r,c,d,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},Object(o.i)(this.renderToVNode({animation:Object(l.retrieve2)(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(l.retrieve2)(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,r){for(var h,l,c=t.length,f=[],d=0,y=0,i=0;i<c;i++){var v=t[i];if(!v.invisible){var _=v.__clipPaths,m=_&&_.length||0,x=l&&l.length||0,O=void 0;for(O=Math.max(m-1,x-1);O>=0&&(!_||!l||_[O]!==l[O]);O--);for(var w=x-1;w>O;w--)h=f[--d-1];for(var S=O+1;S<m;S++){var j={};Object(n.b)(_[S],j,e);var g=Object(o.g)("g","clip-g-"+y++,j,[]);(h?h.children:r).push(g),f[d++]=g,h=g}l=_;var T=Object(n.a)(v,e);T&&(h?h.children:r).push(T)}}},t.prototype.resize=function(t,e){var r=this._opts,n=this.root,o=this._viewport;if(null!=t&&(r.width=t),null!=e&&(r.height=e),n&&o&&(o.style.display="none",t=Object(f.b)(n,0,r),e=Object(f.b)(n,1,r),o.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,o){var l=o.style;l.width=t+"px",l.height=e+"px"}if(Object(h.n)(this._backgroundColor))this.refresh();else{var c=this._svgDom;c&&(c.setAttribute("width",t),c.setAttribute("height",e));var d=this._bgVNode&&this._bgVNode.elm;d&&(d.setAttribute("width",t),d.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),r="data:image/svg+xml;";return t?(e=Object(h.c)(e))&&r+"base64,"+e:r+"charset=UTF-8,"+encodeURIComponent(e)},t}();e.a=y},70:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return h}));var n=1,o=2,h=4},90:function(t,e,r){"use strict";var n=r(43),o=r(25);var h=r(255),l=function(){this.x=0,this.y=0,this.width=0,this.height=0},c={},f=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var r,n,o,l;if(this.subPixelOptimize){var f=Object(h.c)(c,e,this.style);r=f.x,n=f.y,o=f.width,l=f.height,f.r=e.r,e=f}else r=e.x,n=e.y,o=e.width,l=e.height;e.r?function(t,e){var r,n,o,h,l,c=e.x,f=e.y,d=e.width,y=e.height,v=e.r;d<0&&(c+=d,d=-d),y<0&&(f+=y,y=-y),"number"==typeof v?r=n=o=h=v:v instanceof Array?1===v.length?r=n=o=h=v[0]:2===v.length?(r=o=v[0],n=h=v[1]):3===v.length?(r=v[0],n=h=v[1],o=v[2]):(r=v[0],n=v[1],o=v[2],h=v[3]):r=n=o=h=0,r+n>d&&(r*=d/(l=r+n),n*=d/l),o+h>d&&(o*=d/(l=o+h),h*=d/l),n+o>y&&(n*=y/(l=n+o),o*=y/l),r+h>y&&(r*=y/(l=r+h),h*=y/l),t.moveTo(c+r,f),t.lineTo(c+d-n,f),0!==n&&t.arc(c+d-n,f+n,n,-Math.PI/2,0),t.lineTo(c+d,f+y-o),0!==o&&t.arc(c+d-o,f+y-o,o,0,Math.PI/2),t.lineTo(c+h,f+y),0!==h&&t.arc(c+h,f+y-h,h,Math.PI/2,Math.PI),t.lineTo(c,f+r),0!==r&&t.arc(c+r,f+r,r,Math.PI,1.5*Math.PI)}(t,e):t.rect(r,n,o,l)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(o.b);f.prototype.type="rect";e.a=f},92:function(t,e,r){"use strict";
1var n=r(43),o=r(64),h=r(21),l=r(0),c=Object(l.defaults)({x:0,y:0},o.b),f={style:Object(l.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},o.a.style)};var d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n.a)(e,t),e.prototype.createStyle=function(t){return Object(l.createObject)(c,t)},e.prototype._getSize=function(t){var style=this.style,e=style[t];if(null!=e)return e;var source,r=(source=style.image)&&"string"!=typeof source&&source.width&&source.height?style.image:this.__image;if(!r)return 0;var n="width"===t?"height":"width",o=style[n];return null==o?r[t]:r[t]/r[n]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return f},e.prototype.getBoundingRect=function(){var style=this.style;return this._rect||(this._rect=new h.a(style.x||0,style.y||0,this.getWidth(),this.getHeight())),this._rect},e}(o.c);d.prototype.type="image",e.a=d},98:function(t,e,r){"use strict";r.d(e,"c",(function(){return T})),r.d(e,"b",(function(){return C}));var n=r(43),o=r(353),h=r(227),l=r(0),c=r(39),f=r(92),d=r(90),y=r(21),v=r(64),_=r(69),m={fill:"#000"},x={style:Object(l.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},v.a.style)},O=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=m,r.attr(e),r}return Object(n.a)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var i=0;i<this._children.length;i++){var e=this._children[i];e.zlevel=this.zlevel,e.z=this.z,e.z2=this.z2,e.culling=this.culling,e.cursor=this.cursor,e.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var r=this.innerTransformable;return r?r.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var style;this._childCursor=0,P(style=this.style),Object(l.each)(style.rich,P),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new y.a(0,0,0,0),e=this._children,r=[],rect=null,i=0;i<e.length;i++){var n=e[i],o=n.getBoundingRect(),h=n.getLocalTransform(r);h?(t.copy(o),t.applyTransform(h),(rect=rect||t.clone()).union(t)):(rect=rect||o.clone()).union(o)}this._rect=rect||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||m},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var r=e.rich,n=t.rich||r&&{};return Object(l.extend)(t,e),r&&n?(this._mergeRich(n,r),t.rich=n):n&&(t.rich=n),t},e.prototype._mergeRich=function(t,e){for(var r=Object(l.keys)(e),i=0;i<r.length;i++){var n=r[i];t[n]=t[n]||{},Object(l.extend)(t[n],e[n])}},e.prototype.getAnimationStyleProps=function(){return x},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var style=this.style,t=style.font||_.a,e=style.padding,text=B(style),r=Object(o.a)(text,style),n=M(style),l=!!style.backgroundColor,f=r.outerHeight,d=r.outerWidth,v=r.contentWidth,m=r.lines,x=r.lineHeight,O=this._defaultStyle,w=style.x||0,S=style.y||0,j=style.align||O.align||"left",T=style.verticalAlign||O.verticalAlign||"top",C=w,P=Object(c.b)(S,r.contentHeight,T);if(n||e){var R=Object(c.a)(w,d,j),z=Object(c.b)(S,f,T);
vendor: 5,844 bytes, line 1
1n&&this._renderBackground(style,style,R,z,d,f)}P+=x/2,e&&(C=W(w,j,e),"top"===T?P+=e[0]:"bottom"===T&&(P-=e[2]));for(var H=0,N=!1,I=(D("fill"in style?style.fill:(N=!0,O.fill))),V=(A("stroke"in style?style.stroke:l||O.autoStroke&&!N?null:(H=2,O.stroke))),L=style.textShadowBlur>0,F=null!=style.width&&("truncate"===style.overflow||"break"===style.overflow||"breakAll"===style.overflow),Z=r.calculatedLineHeight,i=0;i<m.length;i++){var E=this._getOrCreateChild(h.a),U=E.createStyle();E.useStyle(U),U.text=m[i],U.x=C,U.y=P,j&&(U.textAlign=j),U.textBaseline="middle",U.opacity=style.opacity,U.strokeFirst=!0,L&&(U.shadowBlur=style.textShadowBlur||0,U.shadowColor=style.textShadowColor||"transparent",U.shadowOffsetX=style.textShadowOffsetX||0,U.shadowOffsetY=style.textShadowOffsetY||0),U.stroke=V,U.fill=I,V&&(U.lineWidth=style.lineWidth||H,U.lineDash=style.lineDash,U.lineDashOffset=style.lineDashOffset||0),U.font=t,k(U,style),P+=x,F&&E.setBoundingRect(new y.a(Object(c.a)(U.x,style.width,U.textAlign),Object(c.b)(U.y,Z,U.textBaseline),v,Z))}},e.prototype._updateRichTexts=function(){var style=this.style,text=B(style),t=Object(o.b)(text,style),e=t.width,r=t.outerWidth,n=t.outerHeight,h=style.padding,l=style.x||0,f=style.y||0,d=this._defaultStyle,y=style.align||d.align,v=style.verticalAlign||d.verticalAlign,_=Object(c.a)(l,r,y),m=Object(c.b)(f,n,v),x=_,O=m;h&&(x+=h[3],O+=h[0]);var w=x+e;M(style)&&this._renderBackground(style,style,_,m,r,n);for(var S=!!style.backgroundColor,i=0;i<t.lines.length;i++){for(var line=t.lines[i],j=line.tokens,T=j.length,k=line.lineHeight,C=line.width,P=0,A=x,D=w,W=T-1,R=void 0;P<T&&(!(R=j[P]).align||"left"===R.align);)this._placeToken(R,style,k,O,A,"left",S),C-=R.width,A+=R.width,P++;for(;W>=0&&"right"===(R=j[W]).align;)this._placeToken(R,style,k,O,D,"right",S),C-=R.width,D-=R.width,W--;for(A+=(e-(A-x)-(w-D)-C)/2;P<=W;)R=j[P],this._placeToken(R,style,k,O,A+R.width/2,"center",S),A+=R.width,P++;O+=k}},e.prototype._placeToken=function(t,style,e,r,n,o,f){var d=style.rich[t.styleName]||{};d.text=t.text;var v=t.verticalAlign,m=r+e/2;"top"===v?m=r+t.height/2:"bottom"===v&&(m=r+e-t.height/2),!t.isLineHolder&&M(d)&&this._renderBackground(d,style,"right"===o?n-t.width:"center"===o?n-t.width/2:n,m-t.height/2,t.width,t.height);var x=!!d.backgroundColor,O=t.textPadding;O&&(n=W(n,o,O),m-=t.height/2-O[0]-t.innerHeight/2);var w=this._getOrCreateChild(h.a),S=w.createStyle();w.useStyle(S);var j=this._defaultStyle,T=!1,C=0,P=D("fill"in d?d.fill:"fill"in style?style.fill:(T=!0,j.fill)),B=A("stroke"in d?d.stroke:"stroke"in style?style.stroke:x||f||j.autoStroke&&!T?null:(C=2,j.stroke)),R=d.textShadowBlur>0||style.textShadowBlur>0;S.text=t.text,S.x=n,S.y=m,R&&(S.shadowBlur=d.textShadowBlur||style.textShadowBlur||0,S.shadowColor=d.textShadowColor||style.textShadowColor||"transparent",S.shadowOffsetX=d.textShadowOffsetX||style.textShadowOffsetX||0,S.shadowOffsetY=d.textShadowOffsetY||style.textShadowOffsetY||0),S.textAlign=o,S.textBaseline="middle",S.font=t.font||_.a,S.opacity=Object(l.retrieve3)(d.opacity,style.opacity,1),k(S,d),B&&(S.lineWidth=Object(l.retrieve3)(d.lineWidth,style.lineWidth,C),S.lineDash=Object(l.retrieve2)(d.lineDash,style.lineDash),S.lineDashOffset=style.lineDashOffset||0,S.stroke=B),P&&(S.fill=P);var z=t.contentWidth,H=t.contentHeight;w.setBoundingRect(new y.a(Object(c.a)(S.x,z,S.textAlign),Object(c.b)(S.y,H,S.textBaseline),z,H))},e.prototype._renderBackground=function(style,t,e,r,n,o){var h,c,y,v=style.backgroundColor,_=style.borderWidth,m=style.borderColor,x=v&&v.image,O=v&&!x,w=style.borderRadius,S=this;if(O||style.lineHeight||_&&m){(h=this._getOrCreateChild(d.a)).useStyle(h.createStyle()),h.style.fill=null;var j=h.shape;j.x=e,j.y=r,j.width=n,j.height=o,j.r=w,h.dirtyShape()}if(O)(y=h.style).fill=v||null,y.fillOpacity=Object(l.retrieve2)(style.fillOpacity,1);else if(x){(c=this._getOrCreateChild(f.a)).onload=function(){S.dirtyStyle()};var T=c.style;T.image=v.image,T.x=e,T.y=r,T.width=n,T.height=o}_&&m&&((y=h.style).lineWidth=_,y.stroke=m,y.strokeOpacity=Object(l.retrieve2)(style.strokeOpacity,1),y.lineDash=style.borderDash,y.lineDashOffset=style.borderDashOffset||0,h.strokeContainThreshold=0,h.hasFill()&&h.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2));var k=(h||c).style;k.shadowBlur=style.shadowBlur||0,k.shadowColor=style.shadowColor||"transparent",k.shadowOffsetX=style.shadowOffsetX||0,k.shadowOffsetY=style.shadowOffsetY||0,k.opacity=Object(l.retrieve3)(style.opacity,t.opacity,1)},e.makeFont=function(style){var t="";return C(style)&&(t=[style.fontStyle,style.fontWeight,T(style.fontSize),style.fontFamily||"sans-serif"].join(" ")),t&&Object(l.trim)(t)||style.textFont||style.font},e}(v.c),w={left:!0,right:1,center:1},S={top:1,bottom:1,middle:1},j=["fontStyle","fontWeight","fontSize","fontFamily"];function T(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?_.c+"px":t+"px":t}function k(t,e){for(var i=0;i<j.length;i++){var r=j[i],n=e[r];null!=n&&(t[r]=n)}}function C(style){return null!=style.fontSize||style.fontFamily||style.fontWeight}function P(style){if(style){style.font=O.makeFont(style);var t=style.align;"middle"===t&&(t="center"),style.align=null==t||w[t]?t:"left";var e=style.verticalAlign;"center"===e&&(e="middle"),style.verticalAlign=null==e||S[e]?e:"top",style.padding&&(style.padding=Object(l.normalizeCssArray)(style.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function D(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function W(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function B(style){var text=style.text;return null!=text&&(text+=""),text}function M(style){return!!(style.backgroundColor||style.lineHeight||style.borderWidth&&style.borderColor)}e.a=O}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.