public.364.2a8c9cb05a9edb25.js Maven / Gradle / Ivy
The newest version!
(self.webpackChunkerupt=self.webpackChunkerupt||[]).push([[364],{378:(rr,be,ct)=>{"use strict";ct.d(be,{Z:()=>ve});var ae="*";const ve=function(){function Zt(){this._events={}}return Zt.prototype.on=function(Qt,zt,Bt){return this._events[Qt]||(this._events[Qt]=[]),this._events[Qt].push({callback:zt,once:!!Bt}),this},Zt.prototype.once=function(Qt,zt){return this.on(Qt,zt,!0)},Zt.prototype.emit=function(Qt){for(var zt=this,Bt=[],Mt=1;Mt{"use strict";ct.d(be,{Z:()=>Qt});var ae=ct(655),Nt=ct(378),ve=ct(8126);const Qt=function(zt){function Bt(Mt){var Vt=zt.call(this)||this;Vt.destroyed=!1;var se=Vt.getDefaultCfg();return Vt.cfg=(0,ve.CD)(se,Mt),Vt}return(0,ae.ZT)(Bt,zt),Bt.prototype.getDefaultCfg=function(){return{}},Bt.prototype.get=function(Mt){return this.cfg[Mt]},Bt.prototype.set=function(Mt,Vt){this.cfg[Mt]=Vt},Bt.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},Bt}(Nt.Z)},4967:(rr,be,ct)=>{"use strict";ct.d(be,{Z:()=>Re});var ae=ct(655),Nt=ct(2260),ve=ct(1655),Zt=ct(8126),Qt=ct(8250),zt=ct(9194),Bt=ct(4943);function Mt(it,z,R,N,V){var lt=it*it,_t=lt*it;return((1-3*it+3*lt-_t)*z+(4-6*lt+3*_t)*R+(1+3*it+3*lt-3*_t)*N+_t*V)/6}const ne=it=>()=>it;function dt(it,z){var R=z-it;return R?function me(it,z){return function(R){return it+R*z}}(it,R):ne(isNaN(it)?z:it)}const Yt=function it(z){var R=function ut(it){return 1==(it=+it)?dt:function(z,R){return R-z?function Dt(it,z,R){return it=Math.pow(it,R),z=Math.pow(z,R)-it,R=1/R,function(N){return Math.pow(it+N*z,R)}}(z,R,it):ne(isNaN(z)?R:z)}}(z);function N(V,lt){var _t=R((V=(0,Bt.B8)(V)).r,(lt=(0,Bt.B8)(lt)).r),St=R(V.g,lt.g),Gt=R(V.b,lt.b),ee=dt(V.opacity,lt.opacity);return function(ie){return V.r=_t(ie),V.g=St(ie),V.b=Gt(ie),V.opacity=ee(ie),V+""}}return N.gamma=it,N}(1);function Ut(it){return function(z){var _t,St,R=z.length,N=new Array(R),V=new Array(R),lt=new Array(R);for(_t=0;_t=1?(R=1,z-1):Math.floor(R*z),V=it[N],lt=it[N+1];return Mt((R-N/z)*z,N>0?it[N-1]:2*V-lt,V,lt,NR&&(lt=z.slice(R,lt),St[_t]?St[_t]+=lt:St[++_t]=lt),(N=N[0])===(V=V[0])?St[_t]?St[_t]+=V:St[++_t]=V:(St[++_t]=null,Gt.push({i:_t,x:oe(N,V)})),R=ye.lastIndex;return Ree.length?(Gt=Et.parsePathString(lt[St]),ee=Et.parsePathString(V[St]),ee=Et.fillPathByDiff(ee,Gt),ee=Et.formatPath(ee,Gt),z.fromAttrs.path=ee,z.toAttrs.path=Gt):z.pathFormatted||(Gt=Et.parsePathString(lt[St]),ee=Et.parsePathString(V[St]),ee=Et.formatPath(ee,Gt),z.fromAttrs.path=ee,z.toAttrs.path=Gt,z.pathFormatted=!0),N[St]=[];for(var ie=0;ie0){for(var St=z.animators.length-1;St>=0;St--)if((N=z.animators[St]).destroyed)z.removeAnimator(St);else{if(!N.isAnimatePaused())for(var Gt=(V=N.get("animations")).length-1;Gt>=0;Gt--)K(N,lt=V[Gt],_t)&&(V.splice(Gt,1),lt.callback&<.callback());0===V.length&&z.removeAnimator(St)}z.canvas.get("autoDraw")||z.canvas.draw()}})},it.prototype.addAnimator=function(z){this.animators.push(z)},it.prototype.removeAnimator=function(z){this.animators.splice(z,1)},it.prototype.isAnimating=function(){return!!this.animators.length},it.prototype.stop=function(){this.timer&&this.timer.stop()},it.prototype.stopAllAnimations=function(z){void 0===z&&(z=!0),this.animators.forEach(function(R){R.stopAnimate(z)}),this.animators=[],this.canvas.draw()},it.prototype.getTime=function(){return this.current},it}();var vt=ct(8833),P=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function q(it,z,R){R.name=z,R.target=it,R.currentTarget=it,R.delegateTarget=it,it.emit(z,R)}function at(it,z,R){if(R.bubbles){var N=void 0,V=!1;if("mouseenter"===z?(N=R.fromShape,V=!0):"mouseleave"===z&&(V=!0,N=R.toShape),it.isCanvas()&&V)return;if(N&&(0,Zt.UY)(it,N))return void(R.bubbles=!1);R.name=z,R.currentTarget=it,R.delegateTarget=it,it.emit(z,R)}}const Lt=function(){function it(z){var R=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(N){R._triggerEvent(N.type,N)},this._onDocumentMove=function(N){if(R.canvas.get("el")!==N.target&&(R.dragging||R.currentShape)){var _t=R._getPointInfo(N);R.dragging&&R._emitEvent("drag",N,_t,R.draggingShape)}},this._onDocumentMouseUp=function(N){if(R.canvas.get("el")!==N.target&&R.dragging){var _t=R._getPointInfo(N);R.draggingShape&&R._emitEvent("drop",N,_t,null),R._emitEvent("dragend",N,_t,R.draggingShape),R._afterDrag(R.draggingShape,_t,N)}},this.canvas=z.canvas}return it.prototype.init=function(){this._bindEvents()},it.prototype._bindEvents=function(){var z=this,R=this.canvas.get("el");(0,Zt.S6)(P,function(N){R.addEventListener(N,z._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},it.prototype._clearEvents=function(){var z=this,R=this.canvas.get("el");(0,Zt.S6)(P,function(N){R.removeEventListener(N,z._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},it.prototype._getEventObj=function(z,R,N,V,lt,_t){var St=new vt.Z(z,R);return St.fromShape=lt,St.toShape=_t,St.x=N.x,St.y=N.y,St.clientX=N.clientX,St.clientY=N.clientY,St.propagationPath.push(V),St},it.prototype._getShape=function(z,R){return this.canvas.getShape(z.x,z.y,R)},it.prototype._getPointInfo=function(z){var R=this.canvas,N=R.getClientByEvent(z),V=R.getPointByEvent(z);return{x:V.x,y:V.y,clientX:N.x,clientY:N.y}},it.prototype._triggerEvent=function(z,R){var N=this._getPointInfo(R),V=this._getShape(N,R),lt=this["_on"+z],_t=!1;if(lt)lt.call(this,N,V,R);else{var St=this.currentShape;"mouseenter"===z||"dragenter"===z||"mouseover"===z?(this._emitEvent(z,R,N,null,null,V),V&&this._emitEvent(z,R,N,V,null,V),"mouseenter"===z&&this.draggingShape&&this._emitEvent("dragenter",R,N,null)):"mouseleave"===z||"dragleave"===z||"mouseout"===z?(_t=!0,St&&this._emitEvent(z,R,N,St,St,null),this._emitEvent(z,R,N,null,St,null),"mouseleave"===z&&this.draggingShape&&this._emitEvent("dragleave",R,N,null)):this._emitEvent(z,R,N,V,null,null)}if(_t||(this.currentShape=V),V&&!V.get("destroyed")){var Gt=this.canvas;Gt.get("el").style.cursor=V.attr("cursor")||Gt.get("cursor")}},it.prototype._onmousedown=function(z,R,N){0===N.button&&(this.mousedownShape=R,this.mousedownPoint=z,this.mousedownTimeStamp=N.timeStamp),this._emitEvent("mousedown",N,z,R,null,null)},it.prototype._emitMouseoverEvents=function(z,R,N,V){var lt=this.canvas.get("el");N!==V&&(N&&(this._emitEvent("mouseout",z,R,N,N,V),this._emitEvent("mouseleave",z,R,N,N,V),(!V||V.get("destroyed"))&&(lt.style.cursor=this.canvas.get("cursor"))),V&&(this._emitEvent("mouseover",z,R,V,N,V),this._emitEvent("mouseenter",z,R,V,N,V)))},it.prototype._emitDragoverEvents=function(z,R,N,V,lt){V?(V!==N&&(N&&this._emitEvent("dragleave",z,R,N,N,V),this._emitEvent("dragenter",z,R,V,N,V)),lt||this._emitEvent("dragover",z,R,V)):N&&this._emitEvent("dragleave",z,R,N,N,V),lt&&this._emitEvent("dragover",z,R,V)},it.prototype._afterDrag=function(z,R,N){z&&(z.set("capture",!0),this.draggingShape=null),this.dragging=!1;var V=this._getShape(R,N);V!==z&&this._emitMouseoverEvents(N,R,z,V),this.currentShape=V},it.prototype._onmouseup=function(z,R,N){if(0===N.button){var V=this.draggingShape;this.dragging?(V&&this._emitEvent("drop",N,z,R),this._emitEvent("dragend",N,z,V),this._afterDrag(V,z,N)):(this._emitEvent("mouseup",N,z,R),R===this.mousedownShape&&this._emitEvent("click",N,z,R),this.mousedownShape=null,this.mousedownPoint=null)}},it.prototype._ondragover=function(z,R,N){N.preventDefault(),this._emitDragoverEvents(N,z,this.currentShape,R,!0)},it.prototype._onmousemove=function(z,R,N){var V=this.canvas,lt=this.currentShape,_t=this.draggingShape;if(this.dragging)_t&&this._emitDragoverEvents(N,z,lt,R,!1),this._emitEvent("drag",N,z,_t);else{var St=this.mousedownPoint;if(St){var Gt=this.mousedownShape,Ee=St.clientX-z.clientX,Te=St.clientY-z.clientY;N.timeStamp-this.mousedownTimeStamp>120||Ee*Ee+Te*Te>40?Gt&&Gt.get("draggable")?((_t=this.mousedownShape).set("capture",!1),this.draggingShape=_t,this.dragging=!0,this._emitEvent("dragstart",N,z,_t),this.mousedownShape=null,this.mousedownPoint=null):!Gt&&V.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",N,z,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(N,z,lt,R),this._emitEvent("mousemove",N,z,R)):(this._emitMouseoverEvents(N,z,lt,R),this._emitEvent("mousemove",N,z,R))}else this._emitMouseoverEvents(N,z,lt,R),this._emitEvent("mousemove",N,z,R)}},it.prototype._emitEvent=function(z,R,N,V,lt,_t){var St=this._getEventObj(z,R,N,V,lt,_t);if(V){St.shape=V,q(V,z,St);for(var Gt=V.getParent();Gt;)Gt.emitDelegation(z,St),St.propagationStopped||at(Gt,z,St),St.propagationPath.push(Gt),Gt=Gt.getParent()}else q(this.canvas,z,St)},it.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},it}();var re=(0,Nt.qY)(),Ce=re&&"firefox"===re.name;const Re=function(it){function z(R){var N=it.call(this,R)||this;return N.initContainer(),N.initDom(),N.initEvents(),N.initTimeline(),N}return(0,ae.ZT)(z,it),z.prototype.getDefaultCfg=function(){var R=it.prototype.getDefaultCfg.call(this);return R.cursor="default",R.supportCSSTransform=!1,R},z.prototype.initContainer=function(){var R=this.get("container");(0,Zt.HD)(R)&&(R=document.getElementById(R),this.set("container",R))},z.prototype.initDom=function(){var R=this.createDom();this.set("el",R),this.get("container").appendChild(R),this.setDOMSize(this.get("width"),this.get("height"))},z.prototype.initEvents=function(){var R=new Lt({canvas:this});R.init(),this.set("eventController",R)},z.prototype.initTimeline=function(){var R=new U(this);this.set("timeline",R)},z.prototype.setDOMSize=function(R,N){var V=this.get("el");Zt.jU&&(V.style.width=R+"px",V.style.height=N+"px")},z.prototype.changeSize=function(R,N){this.setDOMSize(R,N),this.set("width",R),this.set("height",N),this.onCanvasChange("changeSize")},z.prototype.getRenderer=function(){return this.get("renderer")},z.prototype.getCursor=function(){return this.get("cursor")},z.prototype.setCursor=function(R){this.set("cursor",R);var N=this.get("el");Zt.jU&&N&&(N.style.cursor=R)},z.prototype.getPointByEvent=function(R){if(this.get("supportCSSTransform")){if(Ce&&!(0,Zt.kK)(R.layerX)&&R.layerX!==R.offsetX)return{x:R.layerX,y:R.layerY};if(!(0,Zt.kK)(R.offsetX))return{x:R.offsetX,y:R.offsetY}}var V=this.getClientByEvent(R);return this.getPointByClient(V.x,V.y)},z.prototype.getClientByEvent=function(R){var N=R;return R.touches&&(N="touchend"===R.type?R.changedTouches[0]:R.touches[0]),{x:N.clientX,y:N.clientY}},z.prototype.getPointByClient=function(R,N){var lt=this.get("el").getBoundingClientRect();return{x:R-lt.left,y:N-lt.top}},z.prototype.getClientByPoint=function(R,N){var lt=this.get("el").getBoundingClientRect();return{x:R+lt.left,y:N+lt.top}},z.prototype.draw=function(){},z.prototype.removeDom=function(){var R=this.get("el");R.parentNode.removeChild(R)},z.prototype.clearEvents=function(){this.get("eventController").destroy()},z.prototype.isCanvas=function(){return!0},z.prototype.getParent=function(){return null},z.prototype.destroy=function(){var R=this.get("timeline");this.get("destroyed")||(this.clear(),R&&R.stop(),this.clearEvents(),this.removeDom(),it.prototype.destroy.call(this))},z}(ve.Z)},1655:(rr,be,ct)=>{"use strict";ct.d(be,{Z:()=>me});var ae=ct(655),Nt=ct(1395),ve=ct(8126),Zt={},Qt="_INDEX";function zt(Dt,Ct){if(Dt.set("canvas",Ct),Dt.isGroup()){var ut=Dt.get("children");ut.length&&ut.forEach(function(dt){zt(dt,Ct)})}}function Bt(Dt,Ct){if(Dt.set("timeline",Ct),Dt.isGroup()){var ut=Dt.get("children");ut.length&&ut.forEach(function(dt){Bt(dt,Ct)})}}const me=function(Dt){function Ct(){return null!==Dt&&Dt.apply(this,arguments)||this}return(0,ae.ZT)(Ct,Dt),Ct.prototype.isCanvas=function(){return!1},Ct.prototype.getBBox=function(){var ut=1/0,dt=-1/0,Yt=1/0,Ut=-1/0,Xt=this.getChildren().filter(function($){return $.get("visible")&&(!$.isGroup()||$.isGroup()&&$.getChildren().length>0)});return Xt.length>0?(0,ve.S6)(Xt,function($){var C=$.getBBox(),gt=C.minX,At=C.maxX,Kt=C.minY,oe=C.maxY;gtdt&&(dt=At),KtUt&&(Ut=oe)}):(ut=0,dt=0,Yt=0,Ut=0),{x:ut,y:Yt,minX:ut,minY:Yt,maxX:dt,maxY:Ut,width:dt-ut,height:Ut-Yt}},Ct.prototype.getCanvasBBox=function(){var ut=1/0,dt=-1/0,Yt=1/0,Ut=-1/0,Xt=this.getChildren().filter(function($){return $.get("visible")&&(!$.isGroup()||$.isGroup()&&$.getChildren().length>0)});return Xt.length>0?(0,ve.S6)(Xt,function($){var C=$.getCanvasBBox(),gt=C.minX,At=C.maxX,Kt=C.minY,oe=C.maxY;gtdt&&(dt=At),KtUt&&(Ut=oe)}):(ut=0,dt=0,Yt=0,Ut=0),{x:ut,y:Yt,minX:ut,minY:Yt,maxX:dt,maxY:Ut,width:dt-ut,height:Ut-Yt}},Ct.prototype.getDefaultCfg=function(){var ut=Dt.prototype.getDefaultCfg.call(this);return ut.children=[],ut},Ct.prototype.onAttrChange=function(ut,dt,Yt){if(Dt.prototype.onAttrChange.call(this,ut,dt,Yt),"matrix"===ut){var Ut=this.getTotalMatrix();this._applyChildrenMarix(Ut)}},Ct.prototype.applyMatrix=function(ut){var dt=this.getTotalMatrix();Dt.prototype.applyMatrix.call(this,ut);var Yt=this.getTotalMatrix();Yt!==dt&&this._applyChildrenMarix(Yt)},Ct.prototype._applyChildrenMarix=function(ut){var dt=this.getChildren();(0,ve.S6)(dt,function(Yt){Yt.applyMatrix(ut)})},Ct.prototype.addShape=function(){for(var ut=[],dt=0;dt=0;yt--){var $=ut[yt];if((0,ve.pP)($)&&($.isGroup()?Xt=$.getShape(dt,Yt,Ut):$.isHit(dt,Yt)&&(Xt=$)),Xt)break}return Xt},Ct.prototype.add=function(ut){var dt=this.getCanvas(),Yt=this.getChildren(),Ut=this.get("timeline"),Xt=ut.getParent();Xt&&function Vt(Dt,Ct,ut){void 0===ut&&(ut=!0),ut?Ct.destroy():(Ct.set("parent",null),Ct.set("canvas",null)),(0,ve.As)(Dt.getChildren(),Ct)}(Xt,ut,!1),ut.set("parent",this),dt&&zt(ut,dt),Ut&&Bt(ut,Ut),Yt.push(ut),ut.onCanvasChange("add"),this._applyElementMatrix(ut)},Ct.prototype._applyElementMatrix=function(ut){var dt=this.getTotalMatrix();dt&&ut.applyMatrix(dt)},Ct.prototype.getChildren=function(){return this.get("children")},Ct.prototype.sort=function(){var ut=this.getChildren();(0,ve.S6)(ut,function(dt,Yt){return dt[Qt]=Yt,dt}),ut.sort(function se(Dt){return function(Ct,ut){var dt=Dt(Ct,ut);return 0===dt?Ct[Qt]-ut[Qt]:dt}}(function(dt,Yt){return dt.get("zIndex")-Yt.get("zIndex")})),this.onCanvasChange("sort")},Ct.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var ut=this.getChildren(),dt=ut.length-1;dt>=0;dt--)ut[dt].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},Ct.prototype.destroy=function(){this.get("destroyed")||(this.clear(),Dt.prototype.destroy.call(this))},Ct.prototype.getFirst=function(){return this.getChildByIndex(0)},Ct.prototype.getLast=function(){var ut=this.getChildren();return this.getChildByIndex(ut.length-1)},Ct.prototype.getChildByIndex=function(ut){return this.getChildren()[ut]},Ct.prototype.getCount=function(){return this.getChildren().length},Ct.prototype.contain=function(ut){return this.getChildren().indexOf(ut)>-1},Ct.prototype.removeChild=function(ut,dt){void 0===dt&&(dt=!0),this.contain(ut)&&ut.remove(dt)},Ct.prototype.findAll=function(ut){var dt=[],Yt=this.getChildren();return(0,ve.S6)(Yt,function(Ut){ut(Ut)&&dt.push(Ut),Ut.isGroup()&&(dt=dt.concat(Ut.findAll(ut)))}),dt},Ct.prototype.find=function(ut){var dt=null,Yt=this.getChildren();return(0,ve.S6)(Yt,function(Ut){if(ut(Ut)?dt=Ut:Ut.isGroup()&&(dt=Ut.find(ut)),dt)return!1}),dt},Ct.prototype.findById=function(ut){return this.find(function(dt){return dt.get("id")===ut})},Ct.prototype.findByClassName=function(ut){return this.find(function(dt){return dt.get("className")===ut})},Ct.prototype.findAllByName=function(ut){return this.findAll(function(dt){return dt.get("name")===ut})},Ct}(Nt.Z)},1395:(rr,be,ct)=>{"use strict";ct.d(be,{Z:()=>Ut});var ae=ct(655),Nt=ct(8250),ve=ct(3882),Zt=ct(8126),Qt=ct(1415),zt=ct(9456),Bt=ve.vs,Mt="matrix",Vt=["zIndex","capture","visible","type"],se=["repeat"];function Ct(Xt,yt){var $={},C=yt.attrs;for(var gt in Xt)$[gt]=C[gt];return $}const Ut=function(Xt){function yt($){var C=Xt.call(this,$)||this;C.attrs={};var gt=C.getDefaultAttrs();return(0,Nt.CD)(gt,$.attrs),C.attrs=gt,C.initAttrs(gt),C.initAnimate(),C}return(0,ae.ZT)(yt,Xt),yt.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},yt.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},yt.prototype.onCanvasChange=function($){},yt.prototype.initAttrs=function($){},yt.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},yt.prototype.isGroup=function(){return!1},yt.prototype.getParent=function(){return this.get("parent")},yt.prototype.getCanvas=function(){return this.get("canvas")},yt.prototype.attr=function(){for(var $,C=[],gt=0;gt0?At=function dt(Xt,yt){if(yt.onFrame)return Xt;var $=yt.startTime,C=yt.delay,gt=yt.duration,At=Object.prototype.hasOwnProperty;return(0,Nt.S6)(Xt,function(Kt){$+CKt.delay&&(0,Nt.S6)(yt.toAttrs,function(oe,Rt){At.call(Kt.toAttrs,Rt)&&(delete Kt.toAttrs[Rt],delete Kt.fromAttrs[Rt])})}),Xt}(At,W):gt.addAnimator(this),At.push(W),this.set("animations",At),this.set("_pause",{isPaused:!1})}},yt.prototype.stopAnimate=function($){var C=this;void 0===$&&($=!0);var gt=this.get("animations");(0,Nt.S6)(gt,function(At){$&&C.attr(At.onFrame?At.onFrame(1):At.toAttrs),At.callback&&At.callback()}),this.set("animating",!1),this.set("animations",[])},yt.prototype.pauseAnimate=function(){var $=this.get("timeline"),C=this.get("animations"),gt=$.getTime();return(0,Nt.S6)(C,function(At){At._paused=!0,At._pauseTime=gt,At.pauseCallback&&At.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:gt}),this},yt.prototype.resumeAnimate=function(){var C=this.get("timeline").getTime(),gt=this.get("animations"),At=this.get("_pause").pauseTime;return(0,Nt.S6)(gt,function(Kt){Kt.startTime=Kt.startTime+(C-At),Kt._paused=!1,Kt._pauseTime=null,Kt.resumeCallback&&Kt.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",gt),this},yt.prototype.emitDelegation=function($,C){var oe,gt=this,At=C.propagationPath;this.getEvents(),"mouseenter"===$?oe=C.fromShape:"mouseleave"===$&&(oe=C.toShape);for(var Rt=function(Jt){var kt=At[Jt],Q=kt.get("name");if(Q){if((kt.isGroup()||kt.isCanvas&&kt.isCanvas())&&oe&&(0,Zt.UY)(kt,oe))return"break";(0,Nt.kJ)(Q)?(0,Nt.S6)(Q,function(nt){gt.emitDelegateEvent(kt,nt,C)}):Ht.emitDelegateEvent(kt,Q,C)}},Ht=this,ye=0;ye{"use strict";ct.d(be,{Z:()=>Zt});var ae=ct(655);const Zt=function(Qt){function zt(){return null!==Qt&&Qt.apply(this,arguments)||this}return(0,ae.ZT)(zt,Qt),zt.prototype.isGroup=function(){return!0},zt.prototype.isEntityGroup=function(){return!1},zt.prototype.clone=function(){for(var Bt=Qt.prototype.clone.call(this),Mt=this.getChildren(),Vt=0;Vt{"use strict";ct.d(be,{Z:()=>Qt});var ae=ct(655),Nt=ct(1395),ve=ct(1415);const Qt=function(zt){function Bt(Mt){return zt.call(this,Mt)||this}return(0,ae.ZT)(Bt,zt),Bt.prototype._isInBBox=function(Mt,Vt){var se=this.getBBox();return se.minX<=Mt&&se.maxX>=Mt&&se.minY<=Vt&&se.maxY>=Vt},Bt.prototype.afterAttrsChange=function(Mt){zt.prototype.afterAttrsChange.call(this,Mt),this.clearCacheBBox()},Bt.prototype.getBBox=function(){var Mt=this.cfg.bbox;return Mt||(Mt=this.calculateBBox(),this.set("bbox",Mt)),Mt},Bt.prototype.getCanvasBBox=function(){var Mt=this.cfg.canvasBBox;return Mt||(Mt=this.calculateCanvasBBox(),this.set("canvasBBox",Mt)),Mt},Bt.prototype.applyMatrix=function(Mt){zt.prototype.applyMatrix.call(this,Mt),this.set("canvasBBox",null)},Bt.prototype.calculateCanvasBBox=function(){var Mt=this.getBBox(),Vt=this.getTotalMatrix(),se=Mt.minX,ne=Mt.minY,me=Mt.maxX,Dt=Mt.maxY;if(Vt){var Ct=(0,ve.rG)(Vt,[Mt.minX,Mt.minY]),ut=(0,ve.rG)(Vt,[Mt.maxX,Mt.minY]),dt=(0,ve.rG)(Vt,[Mt.minX,Mt.maxY]),Yt=(0,ve.rG)(Vt,[Mt.maxX,Mt.maxY]);se=Math.min(Ct[0],ut[0],dt[0],Yt[0]),me=Math.max(Ct[0],ut[0],dt[0],Yt[0]),ne=Math.min(Ct[1],ut[1],dt[1],Yt[1]),Dt=Math.max(Ct[1],ut[1],dt[1],Yt[1])}var Ut=this.attrs;if(Ut.shadowColor){var Xt=Ut.shadowBlur,yt=void 0===Xt?0:Xt,$=Ut.shadowOffsetX,C=void 0===$?0:$,gt=Ut.shadowOffsetY,At=void 0===gt?0:gt,oe=me+yt+C,Rt=ne-yt+At,Ht=Dt+yt+At;se=Math.min(se,se-yt+C),me=Math.max(me,oe),ne=Math.min(ne,Rt),Dt=Math.max(Dt,Ht)}return{x:se,y:ne,minX:se,minY:ne,maxX:me,maxY:Dt,width:me-se,height:Dt-ne}},Bt.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},Bt.prototype.isClipShape=function(){return this.get("isClipShape")},Bt.prototype.isInShape=function(Mt,Vt){return!1},Bt.prototype.isOnlyHitBox=function(){return!1},Bt.prototype.isHit=function(Mt,Vt){var se=this.get("startArrowShape"),ne=this.get("endArrowShape"),me=[Mt,Vt,1],Dt=(me=this.invertFromMatrix(me))[0],Ct=me[1],ut=this._isInBBox(Dt,Ct);return this.isOnlyHitBox()?ut:!(!ut||this.isClipped(Dt,Ct)||!(this.isInShape(Dt,Ct)||se&&se.isHit(Dt,Ct)||ne&&ne.isHit(Dt,Ct)))},Bt}(Nt.Z)},2021:(rr,be,ct)=>{"use strict";ct.d(be,{C:()=>Zt,_:()=>ve});var ae=ct(6399),Nt={};function ve(Qt){return Nt[Qt.toLowerCase()]||ae[Qt]}function Zt(Qt,zt){Nt[Qt.toLowerCase()]=zt}},4860:(rr,be,ct)=>{"use strict";ct.d(be,{b:()=>ve,W:()=>Nt});var ae=new Map;function Nt(yt,$){ae.set(yt,$)}function ve(yt){return ae.get(yt)}function Zt(yt){var $=yt.attr();return{x:$.x,y:$.y,width:$.width,height:$.height}}function Qt(yt){var $=yt.attr(),At=$.r;return{x:$.x-At,y:$.y-At,width:2*At,height:2*At}}var zt=ct(9174);function Bt(yt,$){return yt&&$?{minX:Math.min(yt.minX,$.minX),minY:Math.min(yt.minY,$.minY),maxX:Math.max(yt.maxX,$.maxX),maxY:Math.max(yt.maxY,$.maxY)}:yt||$}function Mt(yt,$){var C=yt.get("startArrowShape"),gt=yt.get("endArrowShape");return C&&($=Bt($,C.getCanvasBBox())),gt&&($=Bt($,gt.getCanvasBBox())),$}var ne=ct(321),Dt=ct(2759),Ct=ct(8250);function dt(yt,$){var C=yt.prePoint,gt=yt.currentPoint,At=yt.nextPoint,Kt=Math.pow(gt[0]-C[0],2)+Math.pow(gt[1]-C[1],2),oe=Math.pow(gt[0]-At[0],2)+Math.pow(gt[1]-At[1],2),Rt=Math.pow(C[0]-At[0],2)+Math.pow(C[1]-At[1],2),Ht=Math.acos((Kt+oe-Rt)/(2*Math.sqrt(Kt)*Math.sqrt(oe)));if(!Ht||0===Math.sin(Ht)||(0,Ct.vQ)(Ht,0))return{xExtra:0,yExtra:0};var ye=Math.abs(Math.atan2(At[1]-gt[1],At[0]-gt[0])),qt=Math.abs(Math.atan2(At[0]-gt[0],At[1]-gt[1]));return ye=ye>Math.PI/2?Math.PI-ye:ye,qt=qt>Math.PI/2?Math.PI-qt:qt,{xExtra:Math.cos(Ht/2-ye)*($/2*(1/Math.sin(Ht/2)))-$/2||0,yExtra:Math.cos(qt-Ht/2)*($/2*(1/Math.sin(Ht/2)))-$/2||0}}Nt("rect",Zt),Nt("image",Zt),Nt("circle",Qt),Nt("marker",Qt),Nt("polyline",function Vt(yt){for(var C=yt.attr().points,gt=[],At=[],Kt=0;Kt{"use strict";ct.d(be,{Z:()=>Nt});const Nt=function(){function ve(Zt,Qt){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=Zt,this.name=Zt,this.originalEvent=Qt,this.timeStamp=Qt.timeStamp}return ve.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},ve.prototype.stopPropagation=function(){this.propagationStopped=!0},ve.prototype.toString=function(){return"[Event (type="+this.type+")]"},ve.prototype.save=function(){},ve.prototype.restore=function(){},ve}()},2185:(rr,be,ct)=>{"use strict";ct.r(be),ct.d(be,{AbstractCanvas:()=>Vt.Z,AbstractGroup:()=>se.Z,AbstractShape:()=>ne.Z,Base:()=>Mt.Z,Event:()=>Bt.Z,PathUtil:()=>ae,assembleFont:()=>Dt.$O,getBBoxMethod:()=>me.b,getOffScreenContext:()=>dt.L,getTextHeight:()=>Dt.FE,invert:()=>ut.U_,isAllowCapture:()=>Ct.pP,multiplyVec2:()=>ut.rG,registerBBox:()=>me.W,registerEasing:()=>Yt.C,version:()=>Ut});var ae=ct(8145),Nt=ct(5511),zt={};for(const Xt in Nt)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(Xt)<0&&(zt[Xt]=()=>Nt[Xt]);ct.d(be,zt);var Zt=ct(5799);zt={};for(const Xt in Zt)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(Xt)<0&&(zt[Xt]=()=>Zt[Xt]);ct.d(be,zt);var Bt=ct(8833),Mt=ct(9456),Vt=ct(4967),se=ct(7424),ne=ct(837),me=ct(4860),Dt=ct(321),Ct=ct(8126),ut=ct(1415),dt=ct(4085),Yt=ct(2021),Ut="0.5.11"},5799:()=>{},5511:()=>{},1415:(rr,be,ct)=>{"use strict";function ae(Zt,Qt){var zt=[],Bt=Zt[0],Mt=Zt[1],Vt=Zt[2],se=Zt[3],ne=Zt[4],me=Zt[5],Dt=Zt[6],Ct=Zt[7],ut=Zt[8],dt=Qt[0],Yt=Qt[1],Ut=Qt[2],Xt=Qt[3],yt=Qt[4],$=Qt[5],C=Qt[6],gt=Qt[7],At=Qt[8];return zt[0]=dt*Bt+Yt*se+Ut*Dt,zt[1]=dt*Mt+Yt*ne+Ut*Ct,zt[2]=dt*Vt+Yt*me+Ut*ut,zt[3]=Xt*Bt+yt*se+$*Dt,zt[4]=Xt*Mt+yt*ne+$*Ct,zt[5]=Xt*Vt+yt*me+$*ut,zt[6]=C*Bt+gt*se+At*Dt,zt[7]=C*Mt+gt*ne+At*Ct,zt[8]=C*Vt+gt*me+At*ut,zt}function Nt(Zt,Qt){var zt=[],Bt=Qt[0],Mt=Qt[1];return zt[0]=Zt[0]*Bt+Zt[3]*Mt+Zt[6],zt[1]=Zt[1]*Bt+Zt[4]*Mt+Zt[7],zt}function ve(Zt){var Qt=[],zt=Zt[0],Bt=Zt[1],Mt=Zt[2],Vt=Zt[3],se=Zt[4],ne=Zt[5],me=Zt[6],Dt=Zt[7],Ct=Zt[8],ut=Ct*se-ne*Dt,dt=-Ct*Vt+ne*me,Yt=Dt*Vt-se*me,Ut=zt*ut+Bt*dt+Mt*Yt;return Ut?(Qt[0]=ut*(Ut=1/Ut),Qt[1]=(-Ct*Bt+Mt*Dt)*Ut,Qt[2]=(ne*Bt-Mt*se)*Ut,Qt[3]=dt*Ut,Qt[4]=(Ct*zt-Mt*me)*Ut,Qt[5]=(-ne*zt+Mt*Vt)*Ut,Qt[6]=Yt*Ut,Qt[7]=(-Dt*zt+Bt*me)*Ut,Qt[8]=(se*zt-Bt*Vt)*Ut,Qt):null}ct.d(be,{U_:()=>ve,rG:()=>Nt,xq:()=>ae})},4085:(rr,be,ct)=>{"use strict";ct.d(be,{L:()=>Nt});var ae=null;function Nt(){if(!ae){var ve=document.createElement("canvas");ve.width=1,ve.height=1,ae=ve.getContext("2d")}return ae}},8145:(rr,be,ct)=>{"use strict";ct.r(be),ct.d(be,{catmullRomToBezier:()=>zt,fillPath:()=>Jt,fillPathByDiff:()=>Et,formatPath:()=>Fe,intersection:()=>Rt,parsePathArray:()=>Ct,parsePathString:()=>Qt,pathToAbsolute:()=>Mt,pathToCurve:()=>me,rectPath:()=>yt});var ae=ct(8250),Nt="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",ve=new RegExp("([a-z])["+Nt+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+Nt+"]*,?["+Nt+"]*)+)","ig"),Zt=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+Nt+"]*,?["+Nt+"]*","ig"),Qt=function(W){if(!W)return null;if((0,ae.kJ)(W))return W;var K={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},J=[];return String(W).replace(ve,function(U,vt,mt){var j=[],rt=vt.toLowerCase();if(mt.replace(Zt,function(P,Z){Z&&j.push(+Z)}),"m"===rt&&j.length>2&&(J.push([vt].concat(j.splice(0,2))),rt="l",vt="m"===vt?"l":"L"),"o"===rt&&1===j.length&&J.push([vt,j[0]]),"r"===rt)J.push([vt].concat(j));else for(;j.length>=K[rt]&&(J.push([vt].concat(j.splice(0,K[rt]))),K[rt]););return W}),J},zt=function(W,K){for(var J=[],U=0,vt=W.length;vt-2*!K>U;U+=2){var mt=[{x:+W[U-2],y:+W[U-1]},{x:+W[U],y:+W[U+1]},{x:+W[U+2],y:+W[U+3]},{x:+W[U+4],y:+W[U+5]}];K?U?vt-4===U?mt[3]={x:+W[0],y:+W[1]}:vt-2===U&&(mt[2]={x:+W[0],y:+W[1]},mt[3]={x:+W[2],y:+W[3]}):mt[0]={x:+W[vt-2],y:+W[vt-1]}:vt-4===U?mt[3]=mt[2]:U||(mt[0]={x:+W[U],y:+W[U+1]}),J.push(["C",(6*mt[1].x-mt[0].x+mt[2].x)/6,(6*mt[1].y-mt[0].y+mt[2].y)/6,(mt[1].x+6*mt[2].x-mt[3].x)/6,(mt[1].y+6*mt[2].y-mt[3].y)/6,mt[2].x,mt[2].y])}return J},Bt=function(W,K,J,U,vt){var mt=[];if(null===vt&&null===U&&(U=J),W=+W,K=+K,J=+J,U=+U,null!==vt){var j=Math.PI/180,rt=W+J*Math.cos(-U*j),P=W+J*Math.cos(-vt*j);mt=[["M",rt,K+J*Math.sin(-U*j)],["A",J,J,0,+(vt-U>180),0,P,K+J*Math.sin(-vt*j)]]}else mt=[["M",W,K],["m",0,-U],["a",J,U,0,1,1,0,2*U],["a",J,U,0,1,1,0,-2*U],["z"]];return mt},Mt=function(W){if(!(W=Qt(W))||!W.length)return[["M",0,0]];var rt,P,K=[],J=0,U=0,vt=0,mt=0,j=0;"M"===W[0][0]&&(vt=J=+W[0][1],mt=U=+W[0][2],j++,K[0]=["M",J,U]);for(var Z=3===W.length&&"M"===W[0][0]&&"R"===W[1][0].toUpperCase()&&"Z"===W[2][0].toUpperCase(),q=void 0,at=void 0,Tt=j,Lt=W.length;Tt1&&(J*=R=Math.sqrt(R),U*=R);var N=J*J,V=U*U,lt=(mt===j?-1:1)*Math.sqrt(Math.abs((N*V-N*z*z-V*it*it)/(N*z*z+V*it*it)));Ce=lt*J*z/U+(W+rt)/2,we=lt*-U*it/J+(K+P)/2,bt=Math.asin(((K-we)/U).toFixed(9)),re=Math.asin(((P-we)/U).toFixed(9)),bt=Wre&&(bt-=2*Math.PI),!j&&re>bt&&(re-=2*Math.PI)}var _t=re-bt;if(Math.abs(_t)>q){var St=re,Gt=rt,ee=P;re=bt+q*(j&&re>bt?1:-1),rt=Ce+J*Math.cos(re),P=we+U*Math.sin(re),Tt=ne(rt,P,J,U,vt,0,j,Gt,ee,[re,St,Ce,we])}_t=re-bt;var ie=Math.cos(bt),Ee=Math.sin(bt),Te=Math.cos(re),He=Math.sin(re),Xe=Math.tan(_t/4),ke=4/3*J*Xe,qe=4/3*U*Xe,Qe=[W,K],er=[W+ke*Ee,K-qe*ie],Ye=[rt+ke*He,P-qe*Te],sr=[rt,P];if(er[0]=2*Qe[0]-er[0],er[1]=2*Qe[1]-er[1],Z)return[er,Ye,sr].concat(Tt);for(var _r=[],lr=0,Sr=(Tt=[er,Ye,sr].concat(Tt).join().split(",")).length;lr7){it[z].shift();for(var R=it[z];R.length;)j[z]="A",U&&(rt[z]="A"),it.splice(z++,0,["C"].concat(R.splice(0,6)));it.splice(z,1),q=Math.max(J.length,U&&U.length||0)}},Lt=function(it,z,R,N,V){it&&z&&"M"===it[V][0]&&"M"!==z[V][0]&&(z.splice(V,0,["M",N.x,N.y]),R.bx=0,R.by=0,R.x=it[V][1],R.y=it[V][2],q=Math.max(J.length,U&&U.length||0))};q=Math.max(J.length,U&&U.length||0);for(var bt=0;bt1?1:P<0?0:P)/2,at=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],Tt=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Lt=0,bt=0;bt<12;bt++){var re=Z*at[bt]+Z,Ce=ut(re,W,J,vt,j),we=ut(re,K,U,mt,rt);Lt+=Tt[bt]*Math.sqrt(Ce*Ce+we*we)}return Z*Lt},Yt=function(W,K,J,U,vt,mt,j,rt){for(var q,at,Tt,Lt,P=[],Z=[[],[]],bt=0;bt<2;++bt)if(0===bt?(at=6*W-12*J+6*vt,q=-3*W+9*J-9*vt+3*j,Tt=3*J-3*W):(at=6*K-12*U+6*mt,q=-3*K+9*U-9*mt+3*rt,Tt=3*U-3*K),Math.abs(q)<1e-12){if(Math.abs(at)<1e-12)continue;(Lt=-Tt/at)>0&&Lt<1&&P.push(Lt)}else{var re=at*at-4*Tt*q,Ce=Math.sqrt(re);if(!(re<0)){var we=(-at+Ce)/(2*q);we>0&&we<1&&P.push(we);var Re=(-at-Ce)/(2*q);Re>0&&Re<1&&P.push(Re)}}for(var R,it=P.length,z=it;it--;)Z[0][it]=(R=1-(Lt=P[it]))*R*R*W+3*R*R*Lt*J+3*R*Lt*Lt*vt+Lt*Lt*Lt*j,Z[1][it]=R*R*R*K+3*R*R*Lt*U+3*R*Lt*Lt*mt+Lt*Lt*Lt*rt;return Z[0][z]=W,Z[1][z]=K,Z[0][z+1]=j,Z[1][z+1]=rt,Z[0].length=Z[1].length=z+2,{min:{x:Math.min.apply(0,Z[0]),y:Math.min.apply(0,Z[1])},max:{x:Math.max.apply(0,Z[0]),y:Math.max.apply(0,Z[1])}}},Ut=function(W,K,J,U,vt,mt,j,rt){if(!(Math.max(W,J)Math.max(vt,j)||Math.max(K,U)Math.max(mt,rt))){var q=(W-J)*(mt-rt)-(K-U)*(vt-j);if(q){var at=((W*U-K*J)*(vt-j)-(W-J)*(vt*rt-mt*j))/q,Tt=((W*U-K*J)*(mt-rt)-(K-U)*(vt*rt-mt*j))/q,Lt=+at.toFixed(2),bt=+Tt.toFixed(2);if(!(Lt<+Math.min(W,J).toFixed(2)||Lt>+Math.max(W,J).toFixed(2)||Lt<+Math.min(vt,j).toFixed(2)||Lt>+Math.max(vt,j).toFixed(2)||bt<+Math.min(K,U).toFixed(2)||bt>+Math.max(K,U).toFixed(2)||bt<+Math.min(mt,rt).toFixed(2)||bt>+Math.max(mt,rt).toFixed(2)))return{x:at,y:Tt}}}},Xt=function(W,K,J){return K>=W.x&&K<=W.x+W.width&&J>=W.y&&J<=W.y+W.height},yt=function(W,K,J,U,vt){if(vt)return[["M",+W+ +vt,K],["l",J-2*vt,0],["a",vt,vt,0,0,1,vt,vt],["l",0,U-2*vt],["a",vt,vt,0,0,1,-vt,vt],["l",2*vt-J,0],["a",vt,vt,0,0,1,-vt,-vt],["l",0,2*vt-U],["a",vt,vt,0,0,1,vt,-vt],["z"]];var mt=[["M",W,K],["l",J,0],["l",0,U],["l",-J,0],["z"]];return mt.parsePathArray=Ct,mt},$=function(W,K,J,U){return null===W&&(W=K=J=U=0),null===K&&(K=W.y,J=W.width,U=W.height,W=W.x),{x:W,y:K,width:J,w:J,height:U,h:U,x2:W+J,y2:K+U,cx:W+J/2,cy:K+U/2,r1:Math.min(J,U)/2,r2:Math.max(J,U)/2,r0:Math.sqrt(J*J+U*U)/2,path:yt(W,K,J,U),vb:[W,K,J,U].join(" ")}},gt=function(W,K,J,U,vt,mt,j,rt){(0,ae.kJ)(W)||(W=[W,K,J,U,vt,mt,j,rt]);var P=Yt.apply(null,W);return $(P.min.x,P.min.y,P.max.x-P.min.x,P.max.y-P.min.y)},At=function(W,K,J,U,vt,mt,j,rt,P){var Z=1-P,q=Math.pow(Z,3),at=Math.pow(Z,2),Tt=P*P,Lt=Tt*P,Ce=W+2*P*(J-W)+Tt*(vt-2*J+W),we=K+2*P*(U-K)+Tt*(mt-2*U+K),Re=J+2*P*(vt-J)+Tt*(j-2*vt+J),it=U+2*P*(mt-U)+Tt*(rt-2*mt+U);return{x:q*W+3*at*P*J+3*Z*P*P*vt+Lt*j,y:q*K+3*at*P*U+3*Z*P*P*mt+Lt*rt,m:{x:Ce,y:we},n:{x:Re,y:it},start:{x:Z*W+P*J,y:Z*K+P*U},end:{x:Z*vt+P*j,y:Z*mt+P*rt},alpha:90-180*Math.atan2(Ce-Re,we-it)/Math.PI}},Kt=function(W,K,J){if(!function(W,K){return W=$(W),K=$(K),Xt(K,W.x,W.y)||Xt(K,W.x2,W.y)||Xt(K,W.x,W.y2)||Xt(K,W.x2,W.y2)||Xt(W,K.x,K.y)||Xt(W,K.x2,K.y)||Xt(W,K.x,K.y2)||Xt(W,K.x2,K.y2)||(W.xK.x||K.xW.x)&&(W.yK.y||K.yW.y)}(gt(W),gt(K)))return J?0:[];for(var rt=~~(dt.apply(0,W)/8),P=~~(dt.apply(0,K)/8),Z=[],q=[],at={},Tt=J?0:[],Lt=0;Lt