@mescius/spread-sheets-shapes 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ /*!
2
+ *
3
+ * SpreadJS Library 17.0.0
4
+ *
5
+ * Copyright(c) MESCIUS inc. All rights reserved.
6
+ *
7
+ * Licensed under the SpreadJS Commercial License.
8
+ * us.sales@mescius.com
9
+ * https://developer.mescius.com/spreadjs
10
+ *
11
+ */
12
+ !function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("@mescius/spread-sheets")):"function"==typeof define&&define.amd?define(["@mescius/spread-sheets"],t):"object"==typeof exports?exports.Spread=t(require("@mescius/spread-sheets")):t(GC)}(function(V){!function(){"use strict";var n,i,t;function e(t){var V,V,V=i[t];return void 0!==V||(V=i[t]={exports:{}},n[t].call(V.exports,V,V.exports,e)),V.exports}n={"./dist/plugins/shape/cameraShape.js":function(t,V,n){var i,e,c,r,s,d,n,o,a,h,u,x,y,f,l,g;function A(t){return!!w(t)}function w(t){var t,t,t=t.nvPicPr.cNvPicPr,t=t&&t.extLst;return(0,c.findSJSExt)(t,function(t){return!!t.cameraTool})}function p(t,V,n,i,e,c,r){var t,V,t=g.call(this,t,V,i,e,c,r)||this;return t.ttV=3,t.IeV=!1,(V=t).VtV="openUrl",V.ntV=y,V.Range=n,V.etV=!0,V.InitShapeFormat(),V.itV=0,t}function v(t){for(var V,n,i,e,c,r,V=t.eJ,n=t.Zc,i,e=0,c=V.shapes.all();e<c.length;e++)if((r=c[e]).name().toLowerCase()===n.toLowerCase())return r.ctV;return null}i=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShapeData=V.isCameraShapeNode=void 0,e=n("FloatingObject"),c=n("./dist/plugins/shape/shape.js"),r=n("Common"),s=n("./dist/plugins/shape/drawingInterface.js"),d=n("./dist/plugins/shape/ui/util.js"),n=n("Core"),o=n.util.n1,a=n.util.vo,V.isCameraShapeNode=A,h="data:image/bmp;base64,Qk1CAAAAAAAAAD4AAAAoAAAAAQAAAAEAAAABAAEAAAAAAAQAAADDDgAAww4AAAAAAAAAAAAAAAAAAP///wCAAAAA",u=e.Drawing.ARGBColor,x=r.Common.lt.ht,y=999,g=c.ShapeBaseData,i(p,g),Object.defineProperty(p.prototype,"Type",{get:function(){return s.ShapeType.AutoShape},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isRangeContainsImage",{get:function(){return this.IeV},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"Range",{get:function(){return this.Z5},set:function(t){this.Z5=t},enumerable:!1,configurable:!0}),p.prototype.dtV=function(){var t,V,n,V,t=this,V=t.AnV,n=t.eJ.zoom();if(V)return V=V.sheet.reV(V.cellRange),t.YC===V.width/n&&t.ZC===V.height/n},p.prototype.FeV=function(){var t,V,n,i,e,c,r,s,d,o,a,t,V=this.AnV;if(V)for(i=(n=V.cellRange.row)+V.cellRange.rowCount-1,c=(e=V.cellRange.col)+V.cellRange.colCount-1,r=V.sheet,s=n;s<=i;s++)for(d=e;d<=c;d++){if((o=r.getValue(s,d))&&"SparklineExValue"===o.typeName&&o.value&&o.value.isBarcode)return!0;if((a=r.getCell(s,d)).backgroundImage())return!0}},p.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat()},p.prototype.FromOOModel=function(t){var V=this;t&&t.pic&&t.pic.cellRange&&(V.Range=t.pic.cellRange),g.prototype.FromOOModel.call(this,t),V.FromCT_ShapeBase(t.pic),!1===t.isVisible&&(V._hidden=!0)},p.prototype.FromSJSOOModel=function(t,V){var n;g.prototype.FromSJSOOModel.call(this,t,V),this.FromSJSCT_ShapeBase(t)},p.prototype.ToOOModel=function(t,V){var n,i,n=this,i=g.prototype.ToOOModel.call(this,t);return i.pic=n.ToCT_ShapeBase(t,V),i},p.prototype.ToSJSOOModel=function(t,V){g.prototype.ToSJSOOModel.call(this,t,V),t.pic=this.ToSJSCT_ShapeBase(V)},p.prototype.FromCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).otV=t,V.etV=!0,V.VtV=t.dblClickCommand,V.FromCT_ShapeNonVisual(n.nvPicPr),V.FromCT_ShapeStyle(n.blipFill),V.FromCT_ShapeProperties(n.spPr),V.AutoShapeType=y,0!==V.YC)&&0!==V.ZC&&(V.rtV=V.dtV())},p.prototype.FromSJSCT_ShapeBase=function(t){var V,t;t&&((V=this).etV=!0,V.FromSJSCT_ShapeNonVisual(t.nvPicPr),V.atV(t.style,t),V.stV(t.spPr),V.AutoShapeType=y,t=t.lossless,V.VtV=t&&t.dblClickCommand,0!==V.YC)&&0!==V.ZC&&(V.rtV=V.dtV())},p.prototype.ToCT_ShapeBase=function(t,V){var n,i,n=this;return(i=(t=!1!==t)&&n.otV||{shapeType:1}).cellRange=n.htV(V),i.dblClickCommand=n.VtV,i.nvPicPr=n.ToCT_ShapeNonVisual(t,V),i.spPr=n.ToCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(1),i.spPr||{},0!==n.AutoShapeType,t),i.spPr.prstGeom&&(i.blipFill={},i.blipFill.stretch={},i.blipFill.stretch.fillRect={}),i},p.prototype.ToSJSCT_ShapeBase=function(t){var V,t,n,i,V=this,t=V.ToSJSCT_ShapeNonVisual(t),n=V.ToSJSCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(1),!0),i;return{nvPicPr:t,blipFill:V.ToSJSCameraShapeBlipFill(),spPr:n}},p.prototype.ToCT_ShapeNonVisual=function(t,V){var n,i,t,i,n=this,i=n.otV,t=!1!==t&&i&&i.nvPicPr||{},i=t.cNvPr||{};return t.cNvPr=n.ToCT_NonVisualDrawingProps(i),t.cNvPicPr=n.ToCT_NonVisualDrawingShapeProps(t.cNvPicPr||{},V),t},p.prototype.ToSJSCT_ShapeNonVisual=function(t){var V,n,i,V=this,n,i;return{cNvPr:V.ToSJSCT_NonVisualDrawingProps(),cNvPicPr:V.ToSJSCT_NonVisualDrawingShapeProps(t)}},p.prototype.FromCT_ShapeNonVisual=function(t){var V=this;t&&(V.FromCT_NonVisualDrawingProps(t.cNvPr),V.FromCT_NonVisualDrawingShapeProps(t.cNvPicPr))},p.prototype.FromSJSCT_ShapeNonVisual=function(t){var V=this;t&&(V.FromSJSCT_NonVisualDrawingProps(t.cNvPr),V.FromSJSCT_NonVisualDrawingShapeProps(t.cNvPicPr))},p.prototype.FromCT_NonVisualDrawingShapeProps=function(t){var V,n,V=this;t&&(t.extLst&&t.extLst.ext&&(n=t.extLst.ext[0].cameraTool)&&(V.Z5=n.cellRange),V.FromAG_Locking(t&&t.picLocks))},p.prototype.FromSJSCT_NonVisualDrawingShapeProps=function(t){var V,n,n,V=this,n=t&&t.extLst,n=(0,c.findSJSExt)(n,function(t){return!!t.cameraTool});n&&(V.Z5=o(n.cameraTool.cellRange)),V.FromSJSAG_Locking(t&&t.picLocks)},p.prototype.htV=function(t){var V,n,n,i,n,V=this,n=(0,d.getRangeInfo)(V.eJ,V.Range);return x(t)||n.sheet.name()!==V.eJ.name()?V.Range:(i=(n=v(V)).getService(),n=n.id,i.setFormula(n,"range",V.Range),i.getFormula(n,"range",t))},p.prototype.ToCT_NonVisualDrawingShapeProps=function(t,V){var n,V,V,n=this,V=n.htV(V);return t.picLocks=n.ToAG_Locking(t.picLocks||{}),t.picLocks.noChangeArrowheads=!0,t.extLst={ext:[]},V={cameraTool:{cellRange:V,spid:n._spid}},t.extLst.ext.push(V),t},p.prototype.ToSJSCT_NonVisualDrawingShapeProps=function(t){var V,t,V=this,t=V.htV(t);return{picLocks:V.ToSJSAG_Locking({noChangeArrowheads:c.SJS_True}),extLst:{ext:[{uri:"{84589F7E-364E-4C9E-8A38-B11213B215E9}",cameraTool:{cellRange:a(t)}}]}}},p.prototype.ToSJSCameraShapeBlipFill=function(){var t,V,t,V;return{blip:{r_:[8],blipBlob:{blob:h}},stretch:{fillRect:{}}}},p.prototype.InitFillFormat=function(){var t=this.S0t;t.Color.ColorType=2,t.Color.RGB=u.FromRgb(255,255,255),t.PatternColor.ColorType=3,t.PatternColor.ObjectThemeColor=0},p.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ColorType=2,t.Color.RGB=u.FromRgb(0,0,0),t.Weight=.75,t.PatternColor.RGB=u.FromRgb(0,0,0)},V.CameraShapeData=p},"./dist/plugins/shape/cameraShapeView.js":function(t,V,n){var i,e,r,o,a,c,s,d,h,u,x,y,f,l,g,A,w,p,v,j;function b(t,V,n,i,e,c,r){var s,d,V,s=j.call(this)||this;return s.ttV=1,d=s,V=V&&t.eeV(V)||t.eeV("Picture ",!0),d.Mf=t,d.ytV=new a.CameraShapeData(t,V,n,i||0,e||0,c||200,r||160),c===y&&r===y&&(d.ytV.rtV=!0),d.yiV=o.ResizeMode.aspect,d.ytV.noChangeAspect=!0,d.RiV=!0,x(n)||(d.tnV(),d.Fct(n,!0)),delete d.RiV,s}i=this&&this.__extends||(v=function(t,V){return(v=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}v(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShape=void 0,e=n("FloatingObject"),r=n("./dist/plugins/shape/drawingInterface.js"),o=n("./dist/plugins/shape/shape.interface.js"),a=n("./dist/plugins/shape/cameraShape.js"),c=n("./dist/plugins/shape/ui/util.js"),s=n("./dist/plugins/shape/shapeView.js"),d=n("./dist/plugins/shape/util/viewUtil.js"),h=n("./dist/plugins/shape/shapeStyleView.js"),u=r.ShapeUtility.syncShapeOptions,x=e.Drawing.UnitHelper.IsNullOrEmpty,y=void 0,f=999,l="range",g="rotate",A="angle",w="style",j=s.ShapeBase,i(b,j),Object.defineProperty(b.prototype,"zIndex",{get:function(){var t=this;if(t.mnV)return t.mnV.zIndex(t.name())},enumerable:!1,configurable:!0}),b.prototype.tnV=function(){var t,V,n,i,V,e,c,n,e,t=this,V=t.Mf,n=V.zoom();t.VnV=!0,i=t.ytV,V=V.shapeLayers[0],(e=t.aiV)||(c=(0,d.getBuiltInShapeModelWhenInit)(i,r.AutoShapeType.rectangle,n)),n=(0,d.removeOldShapeUIWhenInitShapeUI)(t,V),u(c,i,V,e),(e=V.createCameraShape(c)).ttV=3,e.getShapeCenter(),e.hyperlink=i.ku,t.ZnV(e.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,d.addNewShapeUIWhenInitShapeUI)(t,e,V,n),delete t.VnV},b.prototype.hsV=function(t){var V=this;t&&(t.angle&&V.rotate(t.angle),t.line&&V.j0V(t.line),t.fill)&&V.VeV(t.fill)},b.prototype.rotate=function(t){var V=this;if((0,d.noArguments)(arguments))return V.ytV.Rotation;(0,d.rotateImp)(V,t)},b.prototype.style=function(t){var V,n,i,i,V=this;if((0,d.noArguments)(arguments))return V.getStyle(!0,!1);n=V.style(),V.DT("style",t),(i=t.fill)&&((0,d.adjustTransparentColor)(i),V.VeV(i)),(i=t.line)&&((0,d.adjustTransparentColor)(i),V.j0V(i)),V.enV("style",n),V.refresh()},b.prototype.getStyle=function(t,V){var n,i,n=this,i=new h.ShapeStyle;return i.fill=n.n0V(t,V),i.line=n.ydV(t,V),delete i.textEffect,delete i.textFrame,i},b.prototype.range=function(t){var V=this,n=V.ytV;if((0,d.noArguments)(arguments))return n.Range;V.Fct(t)},b.prototype.Fct=function(t,V){void 0===V&&(V=!1);var n=this,i=n.ytV;i.Range===t&&!V||(n.DT("range",t),(0,c.setFormulaImp)(n,l,t,!0,!0),i.Range=(0,d.getFormula)(n,l)||t,n.ctV&&n.ctV.JrV(),n.mtV(),n.refresh())},b.prototype.GrV=function(t){var V,t,V=this,t=(0,c.convertCalcReferenceToRangeInfo)(t,V.Mf);V.ytV.Range=(0,d.getFormula)(V,"range"),V.ytV.AnV=t,V.mtV(),V.ctV&&V.ctV.JrV()},b.prototype.mtV=function(){var t,V,n,i,n,e,n,t=this,V=t.ytV,n=V.AnV,i=t.Mf.zoom();V.rtV&&(n?(e=0<(n=n.sheet.reV(n.cellRange)).width?n.width/i:200,n=0<n.height?n.height/i:160,t.$l(e,n,!0)):"#REF!"===V.Range&&t.$l(0,0,!0))},b.prototype.type=function(){if((0,d.noArguments)(arguments))return f},b.prototype.postProcessShapeDataToJson=function(t,V){var n,i,e,c,r,s,d,e;function o(t,V,n){t.vmlStyle=V,t.anchor=n,t.cameraTool=!0,t.size={width:i.width,height:i.height}}i=(n=this).ctV,j.prototype.postProcessShapeDataToJson.call(this,t),e=.75*i.left,c=.75*i.top,r=.75*i.width,s=.75*i.height,d=[n.startColumn(),n.startColumnOffset(),n.startRow(),n.startRowOffset(),n.endColumn(),n.endColumnOffset(),n.endRow(),n.endRowOffset()].toString(),e="position:absolute;margin-left:".concat(e,"pt;margin-top:").concat(c,"pt;width:").concat(r,"pt;height:").concat(s,"pt;z-index:").concat(n.zIndex+1,";visibility:visible;mso-wrap-style:square;"),o(V?t:t.shapeData.pic,e,d)},b.prototype.formulaFromJSON=function(t){var V,n,i,n;j.prototype.formulaFromJSON.call(this,t),(V=this).Fct(V.ytV.Range,!0),V.JrV(),n=V.ytV.AnV,i=V.Mf,n&&n.sheet&&i&&(n=n.sheet,t)&&n!==i&&n.nre&&(n.nre(),V.afterRefSheetLazyLoaded())},b.prototype.afterRefSheetLazyLoaded=function(){this.JrV()},b.prototype.OiV=function(t){return t.nvPicPr.cNvPr},b.prototype.DiV=function(t){return t.pic},b.prototype.doubleClickCommand=function(t){var V=this,n=V.ytV;if((0,d.noArguments)(arguments))return n.VtV;V.DT("doubleClickCommand",t),n.VtV=t},b.prototype.QiV=function(t){var V=this;return t===g?(0,d.getFormula)(V,A):t.substr(0,5)===w?(0,d.getStyleFormula)(V,t,!1):""},b.prototype.ziV=function(t,V){var n=this;t===g?n.rotate(V):t.substring(0,5)===w&&(0,d.setStyleFormula)(n,t,V,!1)},b.prototype.WiV=function(t){return new b(t)},b.prototype.sdV=function(){j.prototype.sdV.call(this),this.JrV()},b.prototype.urV=function(){j.prototype.urV.call(this),this.JrV()},b.prototype.JrV=function(){var t=this.ctV;t&&(t.cameraImageCache=null)},V.CameraShape=b},"./dist/plugins/shape/connector.js":function(t,V,n){var i,d,e,c,r,s,o,a,h,u,x,y,f,l;function g(t,V,n){var i,e,c,c;for(V=n[V]||V,i=0,e=t.length;i<e;i++){if((c=t[i]).Id===V)return c;if(c.GroupItems&&(c=g(c.GroupItems.Items,V,n)))return c}}function A(t,V){this.utV=-1,this.xtV=-1,this.eJ=t,this.ytV=V}function w(t,V,n,i,e,c,r){var V,s,V=l.call(this,t,V,a(i,c),a(e,r),h(i-c),h(e-r))||this;return V.ttV=1,(s=V).ftV=2,s.ltV=c<i,s.gtV=r<e,s.AtV=new x(t,s),s.ConnectorFormat.Type=n,s.InitLineFormat(),s.PointNum=s.GetPointNumByType(n),V}i=this&&this.__extends||(f=function(t,V){return(f=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}f(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ConnectorShapeData=V.ConnectorFormatData=void 0,d=n("./dist/plugins/shape/shape.js"),e=n("./dist/plugins/shape/drawingInterface.js"),c=n("./dist/plugins/shape/shapeStyle.js"),r=n("FloatingObject"),s=n("./dist/plugins/shape/geometryService/controlPointService.js"),o=n("./dist/plugins/shape/util/sheetUtil.js"),a=Math.min,h=Math.abs,u=.5*s.ADJUSTMENT_UNIT,Object.defineProperty(A.prototype,"DrawingType",{get:function(){return 3},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"BeginConnected",{get:function(){return this.wtV},set:function(t){this.wtV=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"BeginConnectedShape",{get:function(){var t=this.wtV;return t&&this.eJ.shapes.get(t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"BeginConnectionSite",{get:function(){return this.utV},set:function(t){this.utV=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"EndConnected",{get:function(){return this.ptV},set:function(t){this.ptV=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"EndConnectedShape",{get:function(){var t=this.ptV;return t&&this.eJ.shapes.get(t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"EndConnectionSite",{get:function(){return this.xtV},set:function(t){this.xtV=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"Type",{get:function(){return this.uit},set:function(t){this.uit=t},enumerable:!1,configurable:!0}),A.prototype.FromOOModel=function(t){var V,n,i,e,c,c,V=this,n=V.eJ,i=n.shapeLayers[0].model.idMaps,e=n.shapes.all().map(function(t){return t.ytV});t.stCxn&&(V.utV=t.stCxn.idx,(c=g(e,t.stCxn.id,i))?V.wtV=c.Name:n.LtV.push({target:V,beginId:t.stCxn.id,beginConnectionSite:t.stCxn.idx})),t.endCxn&&(V.xtV=t.endCxn.idx,(c=g(e,t.endCxn.id,i))?V.ptV=c.Name:n.LtV.push({target:V,endId:t.endCxn.id,endConnectionSite:t.endCxn.idx}))},A.prototype.FromSJSOOModel=function(t){var V,n,i,e,c,t,r,s,c,c,V=this,n=V.eJ,i=n.shapeLayers[0].model.idMaps,e=n.shapes.all().map(function(t){return t.ytV}),c=t.stCxn,t=t.endCxn;c&&(r=(0,d.getAttributeValueOrDefaultOfIntType)(c.idx),s=(0,d.getAttributeValueOrDefaultOfIntType)(c.id),V.utV=r,(c=g(e,s,i))?V.wtV=c.Name:n.LtV.push({target:V,beginId:s,beginConnectionSite:r})),t&&(r=(0,d.getAttributeValueOrDefaultOfIntType)(t.idx),s=(0,d.getAttributeValueOrDefaultOfIntType)(t.id),V.xtV=r,(c=g(e,s,i))?V.ptV=c.Name:n.LtV.push({target:V,endId:s,endConnectionSite:r}))},A.prototype.ToOOModel=function(t){var V,n,i,e,V=this,i={},e=V.wtV;return e&&(n=V.eJ.shapes.get(e))&&(i.stCxn={idx:V.utV,id:n.ytV.Id}),(e=V.ptV)&&(n=V.eJ.shapes.get(e))&&(i.endCxn={idx:V.xtV,id:n.ytV.Id}),i},A.prototype.ToSJSOOModel=function(){var t,V,n,i,e,t=this,V={},n=t.eJ.shapes,i=t.wtV;return i&&(e=n.get(i))&&(V.stCxn={idx:t.utV,id:e.ytV.Id}),(i=t.ptV)&&(e=n.get(i))&&(V.endCxn={idx:t.xtV,id:e.ytV.Id}),V},x=A,V.ConnectorFormatData=x,l=d.ShapeBaseData,i(w,l),Object.defineProperty(w.prototype,"ConnectorFormat",{get:function(){return this.AtV},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"Connector",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"Type",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"AutoShapeType",{get:function(){return this.ntV},set:function(t){this.ntV=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"PointNum",{get:function(){return this.ftV},set:function(t){this.ftV=t,this.ndV(t-2)},enumerable:!1,configurable:!0}),w.prototype.ndV=function(t){for(var V,n,V=[],n=0;n<t;n++)V.push([s.ADJUSTMENT_NAME_PREFIX+(n+1),u]);this.idV=V},w.prototype.ToOOModel=function(t,V){var n=l.prototype.ToOOModel.call(this,t=!1!==t);return n.cxnSp=this.ToCT_ShapeBase(t),n},w.prototype.ToSJSOOModel=function(t,V){l.prototype.ToSJSOOModel.call(this,t,V),t.cxnSp=this.ToSJSCT_ShapeBase()},w.prototype.FromOOModel=function(t){var V=this;l.prototype.FromOOModel.call(V,t),V.FromCT_ShapeBase(t.cxnSp),!1===t.isVisible&&(V._hidden=!0)},w.prototype.FromSJSOOModel=function(t,V){var n=this;l.prototype.FromSJSOOModel.call(this,t,V),n.FromSJSCT_ShapeBase(t)},w.prototype.ToCT_ConnectorNonVisual=function(t){var V,n,i,i,V=this,i=(n=(t=!1!==t)&&V.jtV&&V.jtV.nvCxnSpPr||{}).cNvPr||{};return n.cNvPr=V.ToCT_NonVisualDrawingProps(i),n.cNvCxnSpPr=V.ConnectorFormat.ToOOModel(t),(i=n.cNvCxnSpPr).cxnSpLocks=V.ToAG_Locking(i.cxnSpLocks||{}),n},w.prototype.ToSJSCT_ConnectorNonVisual=function(){var t,V,n,t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvCxnSpPr=t.ConnectorFormat.ToSJSOOModel(),(n=V.cNvCxnSpPr).cxnSpLocks=t.ToSJSAG_Locking(n.cxnSpLocks||{}),V},w.prototype.FromCT_ConnectorNonVisual=function(t){var V,n,n,V=this,n=t.cNvPr;V.btV(n.name),V.Id=n.id,V.Visible=!n.hidden,V.ku=n.hlinkClick,V.AtV.FromOOModel(t.cNvCxnSpPr),n=t.cNvCxnSpPr,V.FromAG_Locking(n&&n.cxnSpLocks)},w.prototype.FromSJSCT_ConnectorNonVisual=function(t){var V,n,n,V=this,n=t.cNvPr;V.FromSJSCT_NonVisualDrawingProps(n),V.AtV.FromSJSOOModel(t.cNvCxnSpPr),n=t.cNvCxnSpPr,V.FromSJSAG_Locking(n&&n.cxnSpLocks)},w.prototype.FromCT_ShapeBase=function(t){var V,t,n,V=this,t=V.jtV=t;V.FromCT_ConnectorNonVisual(t.nvCxnSpPr),n=t.spPr.prstGeom.prst,V.AtV.Type=e.ShapeUtility.ToConnectorType(n),V.PointNum=e.ShapeUtility.GetConnectorPointNum(n),V.FromCT_ShapeStyle.call(V,t.style),V.FromCT_ShapeProperties.call(V,t.spPr)},w.prototype.FromSJSCT_ShapeBase=function(t){var V,n,V=this;V.FromSJSCT_ConnectorNonVisual(t.nvCxnSpPr),n=e.ST_ShapeType[t.spPr.prstGeom.prst],V.AtV.Type=e.ShapeUtility.ToConnectorType(n),V.PointNum=e.ShapeUtility.GetConnectorPointNum(n),V.atV(t.style,t),V.stV(t.spPr)},w.prototype.ToCT_ShapeBase=function(t){var V,n,i,V=this;return(n=(t=!1!==t)&&V.jtV||{shapeType:4}).nvCxnSpPr=V.ToCT_ConnectorNonVisual(t),i=n.spPr||{},n.spPr=V.ToCT_ShapeProperties(e.ShapeUtility.ToConnectorST_ShapeType(V.ConnectorFormat.Type,V.PointNum),i,!0,t),V.CorrectCT_Transform2D(n.spPr.xfrm),n.style=V.ToCT_ShapeStyle(t),n},w.prototype.ToSJSCT_ShapeBase=function(){var t,V,t=this,V={};return V.nvCxnSpPr=t.ToSJSCT_ConnectorNonVisual(),V.spPr=t.ToSJSCT_ShapeProperties(e.ShapeUtility.ToConnectorST_ShapeType(t.ConnectorFormat.Type,t.PointNum),!0),V.style=t.ToSJSCT_ShapeStyle(),V},w.prototype.CorrectCT_Transform2D=function(t){t.flipH=this.ltV,t.flipV=this.gtV},w.prototype.GetPointNumByType=function(t){return 2===t||1===t?3:1},w.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ObjectThemeColor=4,t.Weight=.5,t.PatternColor.RGB=r.Drawing.ARGBColor.FromRgb(255,255,255)},w.prototype.CreateDefaultShapeStyle=function(){return new c.ShapeStyleData(this,0,1,0,1)},w.prototype.mtV=function(){var t,V,n,n,t=this,V=t.eJ,n=(0,o.getY)(V,t.CtV,t.RtV)-t.A0;t.ZC=n,n=(0,o.getX)(V,t.ItV,t.MtV)-t.I0,t.YC=n},V.ConnectorShapeData=w},"./dist/plugins/shape/connectorView.js":function(t,V,n){var i,e,c,r,s,o,a,d,L,h,n,u,x,y,m,f,l,g,C,A,w,p;function v(t,V,n,i,e,c,r,s,d,o){var t,V,t=(0,L.flipPoint)(t,V,n,i,e,c,r,s),V=(0,L.rotatePoint)(t,d,o);return{x:(0,L.fixNumber)(V.x),y:(0,L.fixNumber)(V.y)}}function j(t){return t.map(function(t,V){return["adj"+(V+1),(0,r.convertAdjustmentValueToExcelUnit)(t,f,!0)]})}function b(t,V,n){t.I0=V.left/n,t.A0=V.top/n,t.YC=V.width/n,t.ZC=V.height/n,t.L0t=V.rot,t.ltV=V.flipH,t.gtV=V.flipV,t.AdjustValues=j(V.adjs),t.ynV(),t.fnV()}function R(t){return(2===t.length?I:M)(t)}function M(t){var V,n,i,e,c,r,s,d,o,d,a,h,u,x,y,d,o,f,l,g,A,w,p,v,j,b,V=t[0],n=t.length,i=t[n-1],e=V.x,c=V.y,r=i.x,s=i.y,d=t[1],o=d.x,d=d.y,a=r-e,h=s-c,u=0,y={x:(e+r)/2,y:(c+s)/2};for((0,L.fixNumber)(e,5)===(0,L.fixNumber)(o,5)?(u=90,x=Math.PI/2):(0,L.fixNumber)(c,5)!==(0,L.fixNumber)(d,5)&&(u=180*(x=Math.atan2(d-c,o-e))/Math.PI,x<0)&&(x+=2*Math.PI,u+=360),u&&(x=-x,e=(V=(t=t.map(function(t){return(0,L.rotatePoint)(t,y,x)}))[0]).x,c=V.y,a=(r=(i=t[n-1]).x)-e,h=(s=i.y)-c),f=(d=a<0)?-1:1,l=(o=h<0)?-1:1,g=m(a),A=m(h),g<C&&(g=C),A<C&&(A=C),w=[],p=0;p<n-3;p++)v=t[p+1],w.push(p%2?(v.y-c)/A*l:(v.x-e)/g*f);return{rot:u,left:j=y.x-g/2,top:b=y.y-A/2,width:g,height:A,flipH:d,flipV:o,adjs:w}}function I(t){var V,t,n,i,e,c,r,s,V=t[0],t=t[1],n,i,e,c,r,s;return{rot:0,left:y(V.x,t.x),top:y(V.y,t.y),width:m(t.x-V.x),height:m(t.y-V.y),flipH:V.x>t.x,flipV:V.y>t.y,adjs:[]}}function _(t,V,n,i,e,c,r){var s,d,V,s=p.call(this)||this,d=s;return s.ttV=4,V=V&&t.eeV(V)||t.eeV("ConnectorShape ",!0),d.Mf=t,d.ytV=new o.ConnectorShapeData(t,V,n,i,e,c,r),d.RiV=!0,n!==f&&d.tnV(),delete d.RiV,s}i=this&&this.__extends||(w=function(t,V){return(w=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}w(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ConnectorShape=void 0,e=n("Common"),c=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/shape.js"),s=n("./dist/plugins/shape/ui/lines.js"),o=n("./dist/plugins/shape/connector.js"),a=n("./dist/plugins/shape/geometryService/controlPointService.js"),d=n("./dist/plugins/shape/shapeView.js"),L=n("./dist/plugins/shape/util/viewUtil.js"),h=n("./dist/plugins/shape/shapeStyleView.js"),n=e.Common.lt,u=n.ht,x=c.ShapeUtility.syncShapeOptions,y=Math.min,m=Math.abs,f=void 0,l={color:"color",linestyle:"lineStyle",width:"width",captype:"capType",jointype:"joinType",transparency:"transparency",compoundtype:"compoundType"},g=["color","linestyle","width","captype","jointype","transparency","compoundtype"],C=4/3,p=d.ShapeBase,i(_,p),_.prototype.type=function(){if((0,L.noArguments)(arguments))return this.ytV.ConnectorFormat.Type},_.prototype.H0V=function(t){var V,n,V,i,e,t,V=this,n=V.ytV.Line;if((0,L.noArguments)(arguments))return{style:n.BeginArrowheadStyle,width:n.BeginArrowheadWidth,length:n.BeginArrowheadLength};u(t)||(V=V.ctV.options.endPoints.beginArrow,i=t.style,e=t.width,t=t.length,u(i)||(n.BeginArrowheadStyle=i,V.type=i),u(e)||(n.BeginArrowheadWidth=e,V.widthType=e),u(t))||(n.BeginArrowheadLength=t,V.lengthType=t)},_.prototype.Q0V=function(t){var V,n,V,i,e,t,V=this,n=V.ytV.Line;if((0,L.noArguments)(arguments))return{style:n.EndArrowheadStyle,width:n.EndArrowheadWidth,length:n.EndArrowheadLength};u(t)||(V=V.ctV.options.endPoints.endArrow,i=t.style,e=t.width,t=t.length,u(i)||(n.EndArrowheadStyle=i,V.type=i),u(e)||(n.EndArrowheadWidth=e,V.widthType=e),u(t))||(n.EndArrowheadLength=t,V.lengthType=t)},_.prototype.tnV=function(t){var V,n,i,e,c,r,s,d,o,a,e,V=this,n=V.Mf,i=V.ytV;V.VnV=!0,e=i.ConnectorFormat.Type,c=V.z0V(),s=V.KVV(),d=n.shapeLayers[0],0===e?o="Line":1!==e&&2!==e||(o="ZipLine"),a=n.zoom(),s=s.map(function(t){return{x:t.x*a,y:t.y*a}}),o&&(x(e={points:s,options:c},i,d),(r=d.createLine(o,e)).getShapeCenter(),r.hyperlink=i.ku,(r.JVV=V).ZnV(r.id)),V.ctV=r,t||(0,L.syncConnectors)([V.startConnector(),V.endConnector()],V),V.gnV(),delete V.VnV},_.prototype.z0V=function(){var t=this,V=t.H0V(),n=t.Q0V();return{stroke:{type:1,color:t.ydV(!1,!1).color,width:1},endPoints:{beginArrow:{type:V.style,widthType:V.width,lengthType:V.length},endArrow:{type:n.style,widthType:n.width,lengthType:n.length}}}},_.prototype.getPoints=function(t){return this.KVV(t)},_.prototype.KVV=function(t){var V,n,t,i,e,c,r,s,d,o,a,V=this,n=V.Btn;return n&&!t||(i=(t=V.ytV).I0||0,e=t.A0||0,c=t.YC||0,r=t.ZC||0,s=t.gtV,d=t.ltV,o=t.ConnectorFormat.Type,a=t.Rotation,0===o?n=V.Btn=V.G0V(e,i,c,r,s,d,a):1!==o&&2!==o||(n=V.Btn=V.J0V(e,i,c,r,s,d,a,t.AdjustValues))),n},_.prototype.G0V=function(t,V,n,i,e,c,r){var s,d,o,e,c,V,a,h,e=e&&c?(s=V+n,d=t+i,o=V,t):e?(d=t+i,o=(s=V)+n,t):(o=c?(s=V+n,V):(s=V)+n,(d=t)+i),c={x:V+n/2,y:t+i/2},V=r/180*Math.PI,a,h;return[(0,L.rotatePoint)({x:s,y:d},c,V),(0,L.rotatePoint)({x:o,y:e},c,V)]},_.prototype.W0V=function(t,V,n,i,e,c,r,s){var d,o,a,d,o,a;return[v(0,0,e,c,V,t,n,i,s,r),v(n,0,e,c,V,t,n,i,s,r),v(n,i,e,c,V,t,n,i,s,r)]},_.prototype.K0V=function(t,V,n,i,e,c,r,s,d){var o,a,h,u;return d=d||[.5],[o=v(0,0,e,c,V,t,n,i,s,r),a=v(n*d[0],0,e,c,V,t,n,i,s,r),h=v(n*d[0],i,e,c,V,t,n,i,s,r),u=v(n,i,e,c,V,t,n,i,s,r)]},_.prototype.$0V=function(t,V,n,i,e,c,r,s,d){var o,a,h,u,x,o,a,h,u,x;return[v(0,0,e,c,V,t,n,i,s,r),v(n*d[0],0,e,c,V,t,n,i,s,r),v(n*d[0],i*d[1],e,c,V,t,n,i,s,r),v(n,i*d[1],e,c,V,t,n,i,s,r),v(n,i,e,c,V,t,n,i,s,r)]},_.prototype.tcV=function(t,V,n,i,e,c,r,s,d){var o,a,h,u,x,y,o,a,h,u,x,y;return[v(0,0,e,c,V,t,n,i,s,r),v(n*d[0],0,e,c,V,t,n,i,s,r),v(n*d[0],i*d[1],e,c,V,t,n,i,s,r),v(n*d[2],i*d[1],e,c,V,t,n,i,s,r),v(n*d[2],i,e,c,V,t,n,i,s,r),v(n,i,e,c,V,t,n,i,s,r)]},_.prototype.VcV=function(t,V,n,i,e,c,r,s,d){var o;switch(this.ytV.PointNum){case 2:o=this.W0V;break;case 3:o=this.K0V;break;case 4:o=this.$0V;break;case 5:o=this.tcV}return o&&o(t,V,n,i,e,c,r,s,d)},_.prototype.J0V=function(t,V,n,i,e,c,r,s){var d,r,o,d={x:V+n/2,y:t+i/2},r=r/180*Math.PI;return s&&0<s.length&&(o=s.map(function(t){return t[1]/a.ADJUSTMENT_UNIT})),this.VcV(t,V,n,i,e,c,r,d,o)},_.prototype.ncV=function(t){for(var V,n,i,V=[],n=0,i=(t=t===f?this.ctV.getPoints():t).length;n<i;n++)V.push({x:t[n].x,y:t[n].y});return V},_.prototype.ecV=function(){var n,t,V,n=[],t,V=R(this.ncV()).adjs;return V&&V.length&&V.forEach(function(t,V){n.push(["adj"+(V+1),t])}),n},_.prototype.OiV=function(t){return t.nvCxnSpPr.cNvPr},_.prototype.DiV=function(t){return t.cxnSp},_.prototype.preProcessShapeDataToJson=function(t,V,n,i){var t,V,n,i;p.prototype.preProcessShapeDataToJson.call(this,t,V,n,i),(t=this).ytV.PointNum=t.Btn.length-1,V=R(t.ncV()),n=t.ctV.angle,isNaN(n)||(V.rot=V.rot+n),i=t.Mf.zoom(),b(t.ytV,V,i)},_.prototype.nnV=function(t){var V,n,i,e,V=this,n=V.ytV;V.DT("points",{points:t},{points:V.ncV(V.Btn)}),i=V.Mf.zoom(),V.Btn=t,V.ctV.setPoints(V.Btn,i),n.PointNum=V.Btn.length-1,b(n,e=R(V.ncV()),i)},_.prototype.adjustments=function(t){var V,n,n,i,e,c,r,n,i,i,V=this;if((0,L.noArguments)(arguments))return(n=V.ecV())&&0<n.length?n.map(function(t){return t[1]}):[];t&&0<t.length&&2<V.Btn.length&&(n=V.x(),i=V.y(),n={x:n+(e=V.width())/2,y:i+(c=V.height())/2},i=(r=V.ytV.Rotation)/180*Math.PI,i=V.VcV(V.y(),V.x(),V.width(),V.height(),V.ytV.gtV,V.ytV.ltV,i,n,t),V.nnV(i),V.refresh())},_.prototype.QiV=function(t){var V,t,V,n,t,i,V,V=this;return"style"===t.substr(0,5)&&3===(t=t.split(".")).length&&(V=V.style(),n=t[1],t=t[2],"line"===n)&&-1<g.indexOf(t)&&(V=V[n][i=l[t]],(0,L.isFormula)(V))?V:""},_.prototype.ziV=function(t,V){var n,t,i,e,t,c,n=this;"style"===t.substr(0,5)&&3===(t=t.split(".")).length&&(i=n.style(),e=t[1],t=t[2],"line"===e&&-1<g.indexOf(t)&&(i[e][c=l[t]]=V),n.style(i))},_.prototype.style=function(t){var V,n,t,i,i,i,V=this;if((0,L.noArguments)(arguments))return V.getStyle(!0,!1);n=V.style(),V.DT("style",t,n),(t=t.line)&&(i=t.color,u(i)||V.j0V({color:i,lineStyle:t.lineStyle,width:t.width,capType:t.capType,joinType:t.joinType,compoundType:t.compoundType,transparency:t.transparency}),i=t.beginArrowheadStyle,u(i)||V.H0V({style:i,width:t.beginArrowheadWidth,length:t.beginArrowheadLength}),i=t.endArrowheadStyle,u(i)||V.Q0V({style:i,width:t.endArrowheadWidth,length:t.endArrowheadLength})),V.enV("style",n),V.refresh()},_.prototype.getStyle=function(t,V){var n,i,t,V,V,n=this,i=new h.ShapeStyle,t=i.line=n.ydV(t,V),V=n.H0V();return t.beginArrowheadStyle=V.style,t.beginArrowheadWidth=V.width,t.beginArrowheadLength=V.length,V=n.Q0V(),t.endArrowheadStyle=V.style,t.endArrowheadWidth=V.width,t.endArrowheadLength=V.length,delete i.fill,delete i.textEffect,delete i.textFrame,i},_.prototype.icV=function(t){var V,n,i,t,V=this,n=V.ctV;!V.ignoreLayoutConnection&&t&&t.length&&V.Mf&&(V.Mf.QnV(n),i=V.Mf.zoom(),t=n.getPoints().map(function(t){return{x:t.x/i,y:t.y/i}}),V.nnV(t)),V.refresh()},_.prototype.startConnector=function(t,V){var n,i,e,c,r,s,i,t,t,V,n=this,i=n.ytV.ConnectorFormat;if((0,L.noArguments)(arguments))return i.BeginConnected?{name:i.BeginConnected,index:i.BeginConnectionSite,shape:i.BeginConnectedShape}:null;e=n.ctV,c=n.startConnector(),n.DT("startConnector",{name:t?t.name:"",index:t?t.index:-1},c?{name:c.name,index:c.index}:null),i.BeginConnected=t?t.name:"",i.BeginConnectionSite=t?t.index:-1,t&&(i=t.index,t=t.name,t=n.Mf.shapes.get(t))&&(s={id:t.ctV.id,index:i},V||((V=(r=t.ctV.getActualConnectorPoints())[i])?e.moveStartPoint(V.x,V.y):s=null)),e.updateStartConnector(s),n.enV("startConnector",c),n.icV(r)},_.prototype.endConnector=function(t,V){var n,i,e,c,r,s,i,t,t,V,n=this,i=n.ytV.ConnectorFormat;if((0,L.noArguments)(arguments))return i.EndConnected?{name:i.EndConnected,index:i.EndConnectionSite,shape:i.EndConnectedShape}:null;e=n.ctV,c=n.endConnector(),n.DT("endConnector",{name:i.EndConnected,index:i.EndConnectionSite},c?{name:c.name,index:c.index}:null),i.EndConnected=t?t.name:"",i.EndConnectionSite=t?t.index:-1,t&&(i=t.index,t=t.name,t=n.Mf.shapes.get(t))&&(s={id:t.ctV.id,index:i},V||((V=(r=t.ctV.getActualConnectorPoints())[i])?e.moveEndPoint(V.x,V.y):s=null)),e.updateEndConnector(s),n.enV("endConnector",c),n.icV(r)},_.prototype.hsV=function(t,V){var n;t&&t.line&&this.j0V(t.line)},_.prototype.KiV=function(){var t,V,t=this,V=t.ctV;V instanceof s.ZipLine&&t.Mf.QnV(V)},_.prototype.t0V=function(t,V){var n=this;switch(t){case"startConnector":case"endConnector":n[t](V);break;case"points":n.nnV(V.points)}},_.prototype.WiV=function(t){return new _(t)},V.ConnectorShape=_},"./dist/plugins/shape/drawingInterface.js":function(O,h,t){var n,V,i,i,d,i,s,o,c,u,e,x,y,r,a,f,l,T,N,P,D,U,q,k,B,Z,H,z,Q,G,J,W,K,$,g,A,w,p,tt,Vt,t,t,t,t,t,t,t,t,t,t,t,V,t,V,t,V,t,V,t,V,t,V;function v(t){return C(t,!0,e,!0)}function nt(t){return+t.split(" ")[1]}function it(t){return[t.name,nt(t.fmla)]}function et(t){return{name:t[0],fmla:"val "+Y(t[1])}}function ct(t){return{horz:t<3,rotate:[270,90][2-t]||0}}function j(t,V){return c(t)?V:t}function rt(t){var V,V,n,n,t,i,e,c,r,s,d,o,d,a,V=t.O0t[0],V=V?V.Algn:h.ST_TextAlignType.l,n=t.Inset,n={rIns:j(n.right,y),lIns:j(n.left,y),tIns:j(n.top,x),bIns:j(n.bottom,x),anchorCtr:j(t.anchorCtr,!1),anchor:j(t.anchor,h.ST_TextAnchoringType.t),vert:j(t.vert,h.ST_TextVerticalType.horz),wrap:j(t.wrap,h.ST_TextWrappingType.square),horzOverflow:j(t.horzOverflow,h.ST_TextHorzOverflowType.overflow),vertOverflow:j(t.vertOverflow,h.ST_TextVertOverflowType.overflow)},t=0,i=0,e=!1,c=!0,r=0,s=!0,o=!1;return n&&0<Object.keys(n).length&&(s=(d=ct(n.vert||0)).horz,r=d.rotate,d=[n.lIns,n.rIns,n.tIns,n.bIns].map(u),e=!n.horzOverflow,c=0!==n.wrap,a=n.anchor||0,o=!!n.anchorCtr,2<V&&(V=0),i=a=2<a?1:a,t=s&&90!==r?V:2-V),{center:o,hAlign:t,vAlign:i,overflow:e,wrap:c,horz:s,angle:r,margins:d}}function b(t){return{fontSize:t.Size,fontName:t.Name,bold:!!t.Bold,italic:!!t.Italic,color:v(t)}}function L(t){var t,V,t=t.O0t[0],V;return b((t.j0t&&t.j0t[0]||t).Font)}function m(t){var V=[];return t.italic&&V.push("italic"),t.bold&&V.push("bold"),V.push(t.fontSize+"px"),V.push(t.fontName),V.join(" ")}function st(t){var V=t.horz,t=t.angle;return V?t?"rotate"+t:"horizontal":"vertical"}function C(t,V,n,i,e){var c,r,t,n;if(void 0===e&&(e=!1),r="transparent",c=t&&t.Color){if(c.ColorType===h.SolidColorType.None)return n?"":r;if(c.ColorType===h.SolidColorType.Theme&&e){for(;!c.HasOwnColor()&&c.sft;)c=c.sft;return s[c.GetColorData().Value]}(t=c.NoTransformedRGB)&&((n=c.GetColorData()).ApplyBrightness=!!i,t=o(t,n),r=V?h.Color.fromARGBColor(t).toRgbaString():h.Color.fromARGBColor(t).toRgbString())}return r}function R(t){var V,n,V=t&&t.Color&&t.Color.Transparency;return isNaN(V)&&(V=0),{color:n=C(t,!1,!0,!0),transparency:V}}function dt(t){var V,t,V=t.Color,t={color:C(t,!1,!0,!1,!0)};return 0!==V.Brightness&&(t.brightness=V.Brightness),0!==V.TintAndShade&&(t.tint=V.TintAndShade),0!==V.Shade&&(t.shade=V.Shade),1!==V.SatMod&&(t.satMod=V.SatMod),t}function ot(t,V){var n;return(p[w[t]]||[]).map(function(t){return t*V})}function at(t){return A[t]}function M(t){return g[t]}function I(t){var V=h.FillType.Solid;return t.Type===h.FillType.Gradient?V=h.FillType.Gradient:t.Type===h.FillType.Picture&&(V=h.FillType.Picture),V}function ht(t){var V=1;return V=0===t.Color.ColorType?0:V}function _(t){return!0===t.u0t?a.linear:t.Bft===h.ST_PathShadeType.circle?a.radial:void 0}function E(t){return t.u0t?t.GradientAngle:void 0}function ut(t){var V=_(t);return V===a.linear?yt(t):V===a.radial?ft(t):void 0}function xt(t){for(var V,n,i,e,V=t.GradientStops,n=[],i=0;i<V.Count;i++)e=V.Item(i),n.push({color:C(e,!1,!0,!1),position:e.Position,transparency:e.Transparency,brightness:e.Color.Brightness});return n}function yt(t){var V=E(t);if(t.Rft&&V%45==0)return V}function ft(t){return t.GradientStyle===h.GradientStyle.GradientFromCenter?l.fromCenter:t.GradientStyle===h.GradientStyle.GradientFromCorner?t.GradientVariant:void 0}function lt(t){var t,V,t=t.GradientStyle;return t===h.GradientStyle.GradientTopSpotlight?V=l.fromTopLeft:t===h.GradientStyle.GradientBottomSpotlight&&(V=l.fromBottomLeft),V}function F(t){var V,t,V=t&&t.Fill;if(V)return t=R(V=V.uit===h.FillType.Group&&t.XtV?t.XtV.Fill:V),{type:I(V),solid:{type:ht(V),color:t.color,transparency:t.transparency},gradient:{type:_(V),angle:E(V),direction:ut(V),stops:xt(V)},picture:n({src:V.PictureFormat.PicSrc,transparency:V.PictureFormat.Transparency,tilePictureAsTexture:V.PictureFormat.PictureFormatType===h.PictureFormatType.TextureFill,offsetLeft:V.PictureFormat.Stretch.left,offsetRight:V.PictureFormat.Stretch.right,offsetTop:V.PictureFormat.Stretch.top,offsetBottom:V.PictureFormat.Stretch.bottom},V.PictureFormat.Tile)}}function S(t,V){var n=F(V);n.type===h.FillType.Gradient?(t.fill=n.gradient,c(t.fill.direction)&&(t.fill.direction=lt(V.Fill))):n.type===h.FillType.Picture?t.fill=n.picture:t.fill=n.solid}function X(){}function Y(t){return parseInt(t,10)}n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(h,"__esModule",{value:!0}),h.ST_FontCollectionIndex=h.ConnectorType=h.ST_CompoundLine=h.ST_PresetLineDashVal=h.ST_TextHorzOverflowType=h.ST_TextVertOverflowType=h.ST_TextWrappingType=h.ST_TextVerticalType=h.ST_TextAnchoringType=h.ST_TextAlignType=h.ft=h.StatefulBase=h.ARGBColor=h.ThreeDFormat=h.ReflectionFormat=h.SoftEdgeFormat=h.GlowFormat=h.ShadowFormat=h.DrawingText=h.FontFormat=h.LineFormat=h.PictureFormat=h.PictureFormatType=h.FillFormat=h.ThreeDFormatStates=h.ColorFormat=h.GradientStyle=h.ColorType=h.GradientStop=h.GradientStops=h.ST_PathShadeType=h.FillType=h.DrawingType=h.Placement=h.SolidColorType=h.ThemeFont=h.ThemeColor=h.ShapeType=h.FormControlType=h.ListBoxSelectionType=h.TextureFillMirrorType=h.TextureFillAlignment=h.RadialGradientFillDirection=h.LinearGradientFillDirection=h.GradientFillType=h.AutoShapeType=h.Color=h.ChartUtility=h.sR=h.SR=void 0,h.getWholeNumber=h.ST_EditAs=h.ShapeUtility=h.ShapeConstants=h.ArrowheadWidth=h.ArrowheadLength=h.ArrowheadStyle=h.CompoundType=h.LineJoinStyle=h.LineCapStyle=h.PresetLineDashStyle=h.CT_ShapeType=h.ST_SchemeColorVal=h.ST_ShapeType=void 0,V=t("Common"),i=t("./dist/plugins/shape/shape.res.en.js"),h.SR={en:i},i=new V.Common.ResourceManager(h.SR,"Shapes"),h.sR=i.getResource.bind(i),d=t("Core"),i=t("FloatingObject"),h.ChartUtility=i.Drawing.ChartUtility,h.Color=i.Drawing.DrawingColorHelper,s=i.Drawing.ThemeColorDict,o=i.Drawing.transformColor,c=V.Common.lt.ht,u=Math.round,e=void 0,x=4.8,y=9.6,(t=r=h.AutoShapeType||(h.AutoShapeType={}))[t.none=0]="none",t[t.rectangle=1]="rectangle",t[t.parallelogram=2]="parallelogram",t[t.trapezoid=3]="trapezoid",t[t.diamond=4]="diamond",t[t.roundedRectangle=5]="roundedRectangle",t[t.octagon=6]="octagon",t[t.isoscelesTriangle=7]="isoscelesTriangle",t[t.rightTriangle=8]="rightTriangle",t[t.oval=9]="oval",t[t.hexagon=10]="hexagon",t[t.cross=11]="cross",t[t.regularPentagon=12]="regularPentagon",t[t.can=13]="can",t[t.cube=14]="cube",t[t.bevel=15]="bevel",t[t.foldedCorner=16]="foldedCorner",t[t.smileyFace=17]="smileyFace",t[t.donut=18]="donut",t[t.noSymbol=19]="noSymbol",t[t.blockArc=20]="blockArc",t[t.heart=21]="heart",t[t.lightningBolt=22]="lightningBolt",t[t.sun=23]="sun",t[t.moon=24]="moon",t[t.arc=25]="arc",t[t.doubleBracket=26]="doubleBracket",t[t.doubleBrace=27]="doubleBrace",t[t.plaque=28]="plaque",t[t.leftBracket=29]="leftBracket",t[t.rightBracket=30]="rightBracket",t[t.leftBrace=31]="leftBrace",t[t.rightBrace=32]="rightBrace",t[t.rightArrow=33]="rightArrow",t[t.leftArrow=34]="leftArrow",t[t.upArrow=35]="upArrow",t[t.downArrow=36]="downArrow",t[t.leftRightArrow=37]="leftRightArrow",t[t.upDownArrow=38]="upDownArrow",t[t.quadArrow=39]="quadArrow",t[t.leftRightUpArrow=40]="leftRightUpArrow",t[t.bentArrow=41]="bentArrow",t[t.uTurnArrow=42]="uTurnArrow",t[t.leftUpArrow=43]="leftUpArrow",t[t.bentUpArrow=44]="bentUpArrow",t[t.curvedRightArrow=45]="curvedRightArrow",t[t.curvedLeftArrow=46]="curvedLeftArrow",t[t.curvedUpArrow=47]="curvedUpArrow",t[t.curvedDownArrow=48]="curvedDownArrow",t[t.stripedRightArrow=49]="stripedRightArrow",t[t.notchedRightArrow=50]="notchedRightArrow",t[t.pentagon=51]="pentagon",t[t.chevron=52]="chevron",t[t.rightArrowCallout=53]="rightArrowCallout",t[t.leftArrowCallout=54]="leftArrowCallout",t[t.upArrowCallout=55]="upArrowCallout",t[t.downArrowCallout=56]="downArrowCallout",t[t.leftRightArrowCallout=57]="leftRightArrowCallout",t[t.upDownArrowCallout=58]="upDownArrowCallout",t[t.quadArrowCallout=59]="quadArrowCallout",t[t.circularArrow=60]="circularArrow",t[t.flowchartProcess=61]="flowchartProcess",t[t.flowchartAlternateProcess=62]="flowchartAlternateProcess",t[t.flowchartDecision=63]="flowchartDecision",t[t.flowchartData=64]="flowchartData",t[t.flowchartPredefinedProcess=65]="flowchartPredefinedProcess",t[t.flowchartInternalStorage=66]="flowchartInternalStorage",t[t.flowchartDocument=67]="flowchartDocument",t[t.flowchartMultidocument=68]="flowchartMultidocument",t[t.flowchartTerminator=69]="flowchartTerminator",t[t.flowchartPreparation=70]="flowchartPreparation",t[t.flowchartManualInput=71]="flowchartManualInput",t[t.flowchartManualOperation=72]="flowchartManualOperation",t[t.flowchartConnector=73]="flowchartConnector",t[t.flowchartOffpageConnector=74]="flowchartOffpageConnector",t[t.flowchartCard=75]="flowchartCard",t[t.flowchartPunchedTape=76]="flowchartPunchedTape",t[t.flowchartSummingJunction=77]="flowchartSummingJunction",t[t.flowchartOr=78]="flowchartOr",t[t.flowchartCollate=79]="flowchartCollate",t[t.flowchartSort=80]="flowchartSort",t[t.flowchartExtract=81]="flowchartExtract",t[t.flowchartMerge=82]="flowchartMerge",t[t.flowchartStoredData=83]="flowchartStoredData",t[t.flowchartDelay=84]="flowchartDelay",t[t.flowchartSequentialAccessStorage=85]="flowchartSequentialAccessStorage",t[t.flowchartMagneticDisk=86]="flowchartMagneticDisk",t[t.flowchartDirectAccessStorage=87]="flowchartDirectAccessStorage",t[t.flowchartDisplay=88]="flowchartDisplay",t[t.explosion1=89]="explosion1",t[t.explosion2=90]="explosion2",t[t.shape4pointStar=91]="shape4pointStar",t[t.shape5pointStar=92]="shape5pointStar",t[t.shape8pointStar=93]="shape8pointStar",t[t.shape16pointStar=94]="shape16pointStar",t[t.shape24pointStar=95]="shape24pointStar",t[t.shape32pointStar=96]="shape32pointStar",t[t.upRibbon=97]="upRibbon",t[t.downRibbon=98]="downRibbon",t[t.curvedUpRibbon=99]="curvedUpRibbon",t[t.curvedDownRibbon=100]="curvedDownRibbon",t[t.verticalScroll=101]="verticalScroll",t[t.horizontalScroll=102]="horizontalScroll",t[t.wave=103]="wave",t[t.doubleWave=104]="doubleWave",t[t.rectangularCallout=105]="rectangularCallout",t[t.roundedRectangularCallout=106]="roundedRectangularCallout",t[t.ovalCallout=107]="ovalCallout",t[t.cloudCallout=108]="cloudCallout",t[t.lineCallout1=109]="lineCallout1",t[t.lineCallout2=110]="lineCallout2",t[t.lineCallout3=111]="lineCallout3",t[t.lineCallout4=112]="lineCallout4",t[t.lineCallout1AccentBar=113]="lineCallout1AccentBar",t[t.lineCallout2AccentBar=114]="lineCallout2AccentBar",t[t.lineCallout3AccentBar=115]="lineCallout3AccentBar",t[t.lineCallout4AccentBar=116]="lineCallout4AccentBar",t[t.lineCallout1NoBorder=117]="lineCallout1NoBorder",t[t.lineCallout2NoBorder=118]="lineCallout2NoBorder",t[t.lineCallout3NoBorder=119]="lineCallout3NoBorder",t[t.lineCallout4NoBorder=120]="lineCallout4NoBorder",t[t.lineCallout1BorderandAccentBar=121]="lineCallout1BorderandAccentBar",t[t.lineCallout2BorderandAccentBar=122]="lineCallout2BorderandAccentBar",t[t.lineCallout3BorderandAccentBar=123]="lineCallout3BorderandAccentBar",t[t.lineCallout4BorderandAccentBar=124]="lineCallout4BorderandAccentBar",t[t.actionButtonCustom=125]="actionButtonCustom",t[t.actionButtonHome=126]="actionButtonHome",t[t.actionButtonHelp=127]="actionButtonHelp",t[t.actionButtonInformation=128]="actionButtonInformation",t[t.actionButtonBackorPrevious=129]="actionButtonBackorPrevious",t[t.actionButtonForwardorNext=130]="actionButtonForwardorNext",t[t.actionButtonBeginning=131]="actionButtonBeginning",t[t.actionButtonEnd=132]="actionButtonEnd",t[t.actionButtonReturn=133]="actionButtonReturn",t[t.actionButtonDocument=134]="actionButtonDocument",t[t.actionButtonSound=135]="actionButtonSound",t[t.actionButtonMovie=136]="actionButtonMovie",t[t.balloon=137]="balloon",t[t.flowchartOfflineStorage=138]="flowchartOfflineStorage",t[t.leftRightRibbon=139]="leftRightRibbon",t[t.diagonalStripe=140]="diagonalStripe",t[t.pie=141]="pie",t[t.nonIsoscelesTrapezoid=142]="nonIsoscelesTrapezoid",t[t.decagon=143]="decagon",t[t.heptagon=144]="heptagon",t[t.dodecagon=145]="dodecagon",t[t.star6Point=146]="star6Point",t[t.star7Point=147]="star7Point",t[t.star10Point=148]="star10Point",t[t.star12Point=149]="star12Point",t[t.round1Rectangle=150]="round1Rectangle",t[t.round2SameRectangle=151]="round2SameRectangle",t[t.round2DiagRectangle=152]="round2DiagRectangle",t[t.snipRoundRectangle=153]="snipRoundRectangle",t[t.snip1Rectangle=154]="snip1Rectangle",t[t.snip2SameRectangle=155]="snip2SameRectangle",t[t.snip2DiagRectangle=156]="snip2DiagRectangle",t[t.frame=157]="frame",t[t.halfFrame=158]="halfFrame",t[t.tear=159]="tear",t[t.chord=160]="chord",t[t.corner=161]="corner",t[t.mathPlus=162]="mathPlus",t[t.mathMinus=163]="mathMinus",t[t.mathMultiply=164]="mathMultiply",t[t.mathDivide=165]="mathDivide",t[t.mathEqual=166]="mathEqual",t[t.mathNotEqual=167]="mathNotEqual",t[t.cornerTabs=168]="cornerTabs",t[t.squareTabs=169]="squareTabs",t[t.plaqueTabs=170]="plaqueTabs",t[t.gear6=171]="gear6",t[t.gear9=172]="gear9",t[t.funnel=173]="funnel",t[t.pieWedge=174]="pieWedge",t[t.leftCircularArrow=175]="leftCircularArrow",t[t.leftRightCircularArrow=176]="leftRightCircularArrow",t[t.swooshArrow=177]="swooshArrow",t[t.cloud=178]="cloud",t[t.chartX=179]="chartX",t[t.chartStar=180]="chartStar",t[t.chartPlus=181]="chartPlus",t[t.lineInverse=182]="lineInverse",t[t.line=183]="line",(t=a=h.GradientFillType||(h.GradientFillType={}))[t.linear=0]="linear",t[t.radial=1]="radial",(t=f=h.LinearGradientFillDirection||(h.LinearGradientFillDirection={}))[t.linearRight=0]="linearRight",t[t.topLeftToBottomRight=45]="topLeftToBottomRight",t[t.linearDown=90]="linearDown",t[t.topRightToBottomLeft=135]="topRightToBottomLeft",t[t.linearLeft=180]="linearLeft",t[t.bottomRightToTopLeft=225]="bottomRightToTopLeft",t[t.linearUp=270]="linearUp",t[t.bottomLeftToTopRight=315]="bottomLeftToTopRight",(t=l=h.RadialGradientFillDirection||(h.RadialGradientFillDirection={}))[t.fromCenter=0]="fromCenter",t[t.fromTopLeft=1]="fromTopLeft",t[t.fromTopRight=2]="fromTopRight",t[t.fromBottomLeft=3]="fromBottomLeft",t[t.fromBottomRight=4]="fromBottomRight",(t=T=h.TextureFillAlignment||(h.TextureFillAlignment={}))[t.topLeft=0]="topLeft",t[t.top=1]="top",t[t.topRight=2]="topRight",t[t.left=3]="left",t[t.center=4]="center",t[t.right=5]="right",t[t.bottomLeft=6]="bottomLeft",t[t.bottom=7]="bottom",t[t.bottomRight=8]="bottomRight",(t=N=h.TextureFillMirrorType||(h.TextureFillMirrorType={}))[t.none=0]="none",t[t.horizontal=1]="horizontal",t[t.vertical=2]="vertical",t[t.both=3]="both",(t=P=h.ListBoxSelectionType||(h.ListBoxSelectionType={})).single="single",t.multi="multi",t.extend="extended",(t=D=h.FormControlType||(h.FormControlType={})).button="button",t.spinButton="spinButton",t.scrollBar="scrollBar",t.listBox="listBox",t.checkBox="checkBox",t.optionButton="optionButton",t.label="label",t.groupBox="groupBox",t.comboBox="comboBox",(t=U=h.ShapeType||(h.ShapeType={}))[t.AutoShape=0]="AutoShape",t[t.Chart=1]="Chart",t[t.Comment=2]="Comment",t[t.Group=3]="Group",t[t.Picture=4]="Picture",t[t.Slicer=5]="Slicer",(t=q=h.ThemeColor||(h.ThemeColor={}))[t.None=-1]="None",t[t.Light1=0]="Light1",t[t.Dark1=1]="Dark1",t[t.Light2=2]="Light2",t[t.Dark2=3]="Dark2",t[t.Accent1=4]="Accent1",t[t.Accent2=5]="Accent2",t[t.Accent3=6]="Accent3",t[t.Accent4=7]="Accent4",t[t.Accent5=8]="Accent5",t[t.Accent6=9]="Accent6",t[t.Hyperlink=10]="Hyperlink",t[t.FollowedHyperlink=11]="FollowedHyperlink",h.ThemeFont=i.Drawing.ThemeFont,h.SolidColorType=i.Drawing.SolidColorType,h.Placement=i.Drawing.Placement,h.DrawingType=i.Drawing.DrawingType,h.FillType=i.Drawing.FillType,h.ST_PathShadeType=i.Drawing.ST_PathShadeType,h.GradientStops=i.Drawing.GradientStops,h.GradientStop=i.Drawing.GradientStop,h.ColorType=i.Drawing.ColorType,h.GradientStyle=i.Drawing.GradientStyle,h.ColorFormat=i.Drawing.ColorFormat,h.ThreeDFormatStates=i.Drawing.ThreeDFormatStates,h.FillFormat=i.Drawing.FillFormat,h.PictureFormatType=i.Drawing.PictureFormatType,h.PictureFormat=i.Drawing.PictureFormat,h.LineFormat=i.Drawing.LineFormat,h.FontFormat=i.Drawing.FontFormat,h.DrawingText=i.Drawing.DrawingText,h.ShadowFormat=i.Drawing.ShadowFormat,h.GlowFormat=i.Drawing.GlowFormat,h.SoftEdgeFormat=i.Drawing.SoftEdgeFormat,h.ReflectionFormat=i.Drawing.ReflectionFormat,h.ThreeDFormat=i.Drawing.ThreeDFormat,h.ARGBColor=i.Drawing.ARGBColor,h.StatefulBase=i.Drawing.StatefulBase,h.ft=V.Common.ft,h.ST_TextAlignType=i.Drawing.ST_TextAlignType,h.ST_TextAnchoringType=i.Drawing.ST_TextAnchoringType,h.ST_TextVerticalType=i.Drawing.ST_TextVerticalType,h.ST_TextWrappingType=i.Drawing.ST_TextWrappingType,h.ST_TextVertOverflowType=i.Drawing.ST_TextVertOverflowType,h.ST_TextHorzOverflowType=i.Drawing.ST_TextHorzOverflowType,h.ST_PresetLineDashVal=i.Drawing.ST_PresetLineDashVal,h.ST_CompoundLine=i.Drawing.ST_CompoundLine,(t=k=h.ConnectorType||(h.ConnectorType={}))[t.straight=0]="straight",t[t.elbow=1]="elbow",h.ST_FontCollectionIndex=i.Drawing.ST_FontCollectionIndex,(V=B=h.ST_ShapeType||(h.ST_ShapeType={}))[V.line=0]="line",V[V.lineInv=1]="lineInv",V[V.triangle=2]="triangle",V[V.rtTriangle=3]="rtTriangle",V[V.rect=4]="rect",V[V.diamond=5]="diamond",V[V.parallelogram=6]="parallelogram",V[V.trapezoid=7]="trapezoid",V[V.nonIsoscelesTrapezoid=8]="nonIsoscelesTrapezoid",V[V.pentagon=9]="pentagon",V[V.hexagon=10]="hexagon",V[V.heptagon=11]="heptagon",V[V.octagon=12]="octagon",V[V.decagon=13]="decagon",V[V.dodecagon=14]="dodecagon",V[V.star4=15]="star4",V[V.star5=16]="star5",V[V.star6=17]="star6",V[V.star7=18]="star7",V[V.star8=19]="star8",V[V.star10=20]="star10",V[V.star12=21]="star12",V[V.star16=22]="star16",V[V.star24=23]="star24",V[V.star32=24]="star32",V[V.roundRect=25]="roundRect",V[V.round1Rect=26]="round1Rect",V[V.round2SameRect=27]="round2SameRect",V[V.round2DiagRect=28]="round2DiagRect",V[V.snipRoundRect=29]="snipRoundRect",V[V.snip1Rect=30]="snip1Rect",V[V.snip2SameRect=31]="snip2SameRect",V[V.snip2DiagRect=32]="snip2DiagRect",V[V.plaque=33]="plaque",V[V.ellipse=34]="ellipse",V[V.teardrop=35]="teardrop",V[V.homePlate=36]="homePlate",V[V.chevron=37]="chevron",V[V.pieWedge=38]="pieWedge",V[V.pie=39]="pie",V[V.blockArc=40]="blockArc",V[V.donut=41]="donut",V[V.noSmoking=42]="noSmoking",V[V.rightArrow=43]="rightArrow",V[V.leftArrow=44]="leftArrow",V[V.upArrow=45]="upArrow",V[V.downArrow=46]="downArrow",V[V.stripedRightArrow=47]="stripedRightArrow",V[V.notchedRightArrow=48]="notchedRightArrow",V[V.bentUpArrow=49]="bentUpArrow",V[V.leftRightArrow=50]="leftRightArrow",V[V.upDownArrow=51]="upDownArrow",V[V.leftUpArrow=52]="leftUpArrow",V[V.leftRightUpArrow=53]="leftRightUpArrow",V[V.quadArrow=54]="quadArrow",V[V.leftArrowCallout=55]="leftArrowCallout",V[V.rightArrowCallout=56]="rightArrowCallout",V[V.upArrowCallout=57]="upArrowCallout",V[V.downArrowCallout=58]="downArrowCallout",V[V.leftRightArrowCallout=59]="leftRightArrowCallout",V[V.upDownArrowCallout=60]="upDownArrowCallout",V[V.quadArrowCallout=61]="quadArrowCallout",V[V.bentArrow=62]="bentArrow",V[V.uturnArrow=63]="uturnArrow",V[V.circularArrow=64]="circularArrow",V[V.leftCircularArrow=65]="leftCircularArrow",V[V.leftRightCircularArrow=66]="leftRightCircularArrow",V[V.curvedRightArrow=67]="curvedRightArrow",V[V.curvedLeftArrow=68]="curvedLeftArrow",V[V.curvedUpArrow=69]="curvedUpArrow",V[V.curvedDownArrow=70]="curvedDownArrow",V[V.swooshArrow=71]="swooshArrow",V[V.cube=72]="cube",V[V.can=73]="can",V[V.lightningBolt=74]="lightningBolt",V[V.heart=75]="heart",V[V.sun=76]="sun",V[V.moon=77]="moon",V[V.smileyFace=78]="smileyFace",V[V.irregularSeal1=79]="irregularSeal1",V[V.irregularSeal2=80]="irregularSeal2",V[V.foldedCorner=81]="foldedCorner",V[V.bevel=82]="bevel",V[V.frame=83]="frame",V[V.halfFrame=84]="halfFrame",V[V.corner=85]="corner",V[V.diagStripe=86]="diagStripe",V[V.chord=87]="chord",V[V.arc=88]="arc",V[V.leftBracket=89]="leftBracket",V[V.rightBracket=90]="rightBracket",V[V.leftBrace=91]="leftBrace",V[V.rightBrace=92]="rightBrace",V[V.bracketPair=93]="bracketPair",V[V.bracePair=94]="bracePair",V[V.straightConnector1=95]="straightConnector1",V[V.bentConnector2=96]="bentConnector2",V[V.bentConnector3=97]="bentConnector3",V[V.bentConnector4=98]="bentConnector4",V[V.bentConnector5=99]="bentConnector5",V[V.curvedConnector2=100]="curvedConnector2",V[V.curvedConnector3=101]="curvedConnector3",V[V.curvedConnector4=102]="curvedConnector4",V[V.curvedConnector5=103]="curvedConnector5",V[V.callout1=104]="callout1",V[V.callout2=105]="callout2",V[V.callout3=106]="callout3",V[V.accentCallout1=107]="accentCallout1",V[V.accentCallout2=108]="accentCallout2",V[V.accentCallout3=109]="accentCallout3",V[V.borderCallout1=110]="borderCallout1",V[V.borderCallout2=111]="borderCallout2",V[V.borderCallout3=112]="borderCallout3",V[V.accentBorderCallout1=113]="accentBorderCallout1",V[V.accentBorderCallout2=114]="accentBorderCallout2",V[V.accentBorderCallout3=115]="accentBorderCallout3",V[V.wedgeRectCallout=116]="wedgeRectCallout",V[V.wedgeRoundRectCallout=117]="wedgeRoundRectCallout",V[V.wedgeEllipseCallout=118]="wedgeEllipseCallout",V[V.cloudCallout=119]="cloudCallout",V[V.cloud=120]="cloud",V[V.ribbon=121]="ribbon",V[V.ribbon2=122]="ribbon2",V[V.ellipseRibbon=123]="ellipseRibbon",V[V.ellipseRibbon2=124]="ellipseRibbon2",V[V.leftRightRibbon=125]="leftRightRibbon",V[V.verticalScroll=126]="verticalScroll",V[V.horizontalScroll=127]="horizontalScroll",V[V.wave=128]="wave",V[V.doubleWave=129]="doubleWave",V[V.plus=130]="plus",V[V.flowChartProcess=131]="flowChartProcess",V[V.flowChartDecision=132]="flowChartDecision",V[V.flowChartInputOutput=133]="flowChartInputOutput",V[V.flowChartPredefinedProcess=134]="flowChartPredefinedProcess",V[V.flowChartInternalStorage=135]="flowChartInternalStorage",V[V.flowChartDocument=136]="flowChartDocument",V[V.flowChartMultidocument=137]="flowChartMultidocument",V[V.flowChartTerminator=138]="flowChartTerminator",V[V.flowChartPreparation=139]="flowChartPreparation",V[V.flowChartManualInput=140]="flowChartManualInput",V[V.flowChartManualOperation=141]="flowChartManualOperation",V[V.flowChartConnector=142]="flowChartConnector",V[V.flowChartPunchedCard=143]="flowChartPunchedCard",V[V.flowChartPunchedTape=144]="flowChartPunchedTape",V[V.flowChartSummingJunction=145]="flowChartSummingJunction",V[V.flowChartOr=146]="flowChartOr",V[V.flowChartCollate=147]="flowChartCollate",V[V.flowChartSort=148]="flowChartSort",V[V.flowChartExtract=149]="flowChartExtract",V[V.flowChartMerge=150]="flowChartMerge",V[V.flowChartOfflineStorage=151]="flowChartOfflineStorage",V[V.flowChartOnlineStorage=152]="flowChartOnlineStorage",V[V.flowChartMagneticTape=153]="flowChartMagneticTape",V[V.flowChartMagneticDisk=154]="flowChartMagneticDisk",V[V.flowChartMagneticDrum=155]="flowChartMagneticDrum",V[V.flowChartDisplay=156]="flowChartDisplay",V[V.flowChartDelay=157]="flowChartDelay",V[V.flowChartAlternateProcess=158]="flowChartAlternateProcess",V[V.flowChartOffpageConnector=159]="flowChartOffpageConnector",V[V.actionButtonBlank=160]="actionButtonBlank",V[V.actionButtonHome=161]="actionButtonHome",V[V.actionButtonHelp=162]="actionButtonHelp",V[V.actionButtonInformation=163]="actionButtonInformation",V[V.actionButtonForwardNext=164]="actionButtonForwardNext",V[V.actionButtonBackPrevious=165]="actionButtonBackPrevious",V[V.actionButtonEnd=166]="actionButtonEnd",V[V.actionButtonBeginning=167]="actionButtonBeginning",V[V.actionButtonReturn=168]="actionButtonReturn",V[V.actionButtonDocument=169]="actionButtonDocument",V[V.actionButtonSound=170]="actionButtonSound",V[V.actionButtonMovie=171]="actionButtonMovie",V[V.gear6=172]="gear6",V[V.gear9=173]="gear9",V[V.funnel=174]="funnel",V[V.mathPlus=175]="mathPlus",V[V.mathMinus=176]="mathMinus",V[V.mathMultiply=177]="mathMultiply",V[V.mathDivide=178]="mathDivide",V[V.mathEqual=179]="mathEqual",V[V.mathNotEqual=180]="mathNotEqual",V[V.cornerTabs=181]="cornerTabs",V[V.squareTabs=182]="squareTabs",V[V.plaqueTabs=183]="plaqueTabs",V[V.chartX=184]="chartX",V[V.chartStar=185]="chartStar",V[V.chartPlus=186]="chartPlus",(t=Z=h.ST_SchemeColorVal||(h.ST_SchemeColorVal={}))[t.bg1=0]="bg1",t[t.tx1=1]="tx1",t[t.bg2=2]="bg2",t[t.tx2=3]="tx2",t[t.accent1=4]="accent1",t[t.accent2=5]="accent2",t[t.accent3=6]="accent3",t[t.accent4=7]="accent4",t[t.accent5=8]="accent5",t[t.accent6=9]="accent6",t[t.hlink=10]="hlink",t[t.folHlink=11]="folHlink",t[t.phClr=12]="phClr",t[t.dk1=13]="dk1",t[t.lt1=14]="lt1",t[t.dk2=15]="dk2",t[t.lt2=16]="lt2",(V=H=h.CT_ShapeType||(h.CT_ShapeType={}))[V.CT_AlternateContent=0]="CT_AlternateContent",V[V.CT_Picture=1]="CT_Picture",V[V.CT_GraphicalObjectFrame=2]="CT_GraphicalObjectFrame",V[V.CT_GroupShape=3]="CT_GroupShape",V[V.CT_Connector=4]="CT_Connector",V[V.CT_Shape=5]="CT_Shape",V[V.CT_SlicerShape=6]="CT_SlicerShape",V[V.CT_FormControlShape=7]="CT_FormControlShape",V[V.CT_Chart=8]="CT_Chart",(t=z=h.PresetLineDashStyle||(h.PresetLineDashStyle={}))[t.solid=0]="solid",t[t.squareDot=1]="squareDot",t[t.dash=2]="dash",t[t.longDash=3]="longDash",t[t.dashDot=4]="dashDot",t[t.longDashDot=5]="longDashDot",t[t.longDashDotDot=6]="longDashDotDot",t[t.sysDash=7]="sysDash",t[t.sysDot=8]="sysDot",t[t.sysDashDot=9]="sysDashDot",t[t.dashDotDot=10]="dashDotDot",(V=Q=h.LineCapStyle||(h.LineCapStyle={}))[V.flat=2]="flat",V[V.square=1]="square",V[V.round=0]="round",(t=G=h.LineJoinStyle||(h.LineJoinStyle={}))[t.round=0]="round",t[t.miter=1]="miter",t[t.bevel=2]="bevel",(V=J=h.CompoundType||(h.CompoundType={}))[V.simple=0]="simple",V[V.double=1]="double",V[V.thickThin=2]="thickThin",V[V.thinThick=3]="thinThick",V[V.triple=4]="triple",(t=W=h.ArrowheadStyle||(h.ArrowheadStyle={}))[t.none=0]="none",t[t.triangle=1]="triangle",t[t.stealth=2]="stealth",t[t.diamond=3]="diamond",t[t.oval=4]="oval",t[t.open=5]="open",(V=K=h.ArrowheadLength||(h.ArrowheadLength={}))[V.short=0]="short",V[V.medium=1]="medium",V[V.long=2]="long",(t=$=h.ArrowheadWidth||(h.ArrowheadWidth={}))[t.narrow=0]="narrow",t[t.medium=1]="medium",t[t.wide=2]="wide",h.ShapeConstants=i.Drawing.ShapeConstants,g=["round","miter","bevel"],A=["round","square","butt"],w=["solid","dot","dash","lgDash","dashDot","lgDashDot","lgDashDotDot","sysDash","sysDot","sysDashDot","sysDashDotDot"],p={solid:[],dash:[4,3],dashDot:[4,3,1,3],dot:[1,3],lgDash:[8,3],lgDashDot:[8,3,1,3],lgDashDotDot:[8,3,1,3,1,3],sysDash:[3,1],sysDashDot:[3,1,1,1],sysDashDotDot:[3,1,1,1,1,1],sysDot:[1,1]},X.ToConnectorType=function(t){var V;switch(t){case 95:case 0:V=0;break;case 96:case 97:case 98:case 99:V=1;break;default:V=2}return V},X.GetConnectorPointNum=function(t){switch(t){case 96:case 100:return 2;case 97:case 101:return 3;case 98:case 102:return 4;case 99:case 103:return 5;default:return 2}},X.ToConnectorST_ShapeType=function(t,V){var n=0;switch(t){case 0:n=95;break;case 1:n=2<=V&&V<=5?V-2+96:97;break;case 2:n=2<=V&&V<=5?V-2+100:101}return n},X.ToAutoShapeType=function(t){switch(t){case 4:return 1;case 6:return 2;case 7:return 3;case 5:return 4;case 25:return 5;case 12:return 6;case 2:return 7;case 3:return 8;case 34:return 9;case 10:return 10;case 130:return 11;case 9:return 12;case 73:return 13;case 72:return 14;case 82:return 15;case 81:return 16;case 78:return 17;case 41:return 18;case 42:return 19;case 40:return 20;case 75:return 21;case 74:return 22;case 76:return 23;case 77:return 24;case 88:return 25;case 93:return 26;case 94:return 27;case 33:return 28;case 89:return 29;case 90:return 30;case 91:return 31;case 92:return 32;case 43:return 33;case 44:return 34;case 45:return 35;case 46:return 36;case 50:return 37;case 51:return 38;case 54:return 39;case 53:return 40;case 62:return 41;case 63:return 42;case 52:return 43;case 49:return 44;case 67:return 45;case 68:return 46;case 69:return 47;case 70:return 48;case 47:return 49;case 48:return 50;case 36:return 51;case 37:return 52;case 56:return 53;case 55:return 54;case 57:return 55;case 58:return 56;case 59:return 57;case 60:return 58;case 61:return 59;case 64:return 60;case 131:return 61;case 158:return 62;case 132:return 63;case 133:return 64;case 134:return 65;case 135:return 66;case 136:return 67;case 137:return 68;case 138:return 69;case 139:return 70;case 140:return 71;case 141:return 72;case 142:return 73;case 159:return 74;case 143:return 75;case 144:return 76;case 145:return 77;case 146:return 78;case 147:return 79;case 148:return 80;case 149:return 81;case 150:return 82;case 152:return 83;case 157:return 84;case 153:return 85;case 154:return 86;case 155:return 87;case 156:return 88;case 79:return 89;case 80:return 90;case 15:return 91;case 16:return 92;case 19:return 93;case 22:return 94;case 23:return 95;case 24:return 96;case 122:return 97;case 121:return 98;case 124:return 99;case 123:return 100;case 126:return 101;case 127:return 102;case 128:return 103;case 129:return 104;case 116:return 105;case 117:return 106;case 118:return 107;case 119:return 108;case 110:return 109;case 111:return 111;case 112:return 112;case 104:return 113;case 107:return 114;case 108:return 115;case 109:return 116;case 105:return 119;case 106:return 120;case 113:return 122;case 114:return 123;case 115:return 124;case 160:return 125;case 161:return 126;case 162:return 127;case 163:return 128;case 165:return 129;case 164:return 130;case 167:return 131;case 166:return 132;case 168:return 133;case 169:return 134;case 170:return 135;case 171:return 136;case 151:return 138;case 125:return 139;case 86:return 140;case 39:return 141;case 8:return 142;case 13:return 143;case 11:return 144;case 14:return 145;case 17:return 146;case 18:return 147;case 20:return 148;case 21:return 149;case 26:return 150;case 27:return 151;case 28:return 152;case 29:return 153;case 30:return 154;case 31:return 155;case 32:return 156;case 83:return 157;case 84:return 158;case 35:return 159;case 87:return 160;case 85:return 161;case 175:return 162;case 176:return 163;case 177:return 164;case 178:return 165;case 179:return 166;case 180:return 167;case 181:return 168;case 182:return 169;case 183:return 170;case 172:return 171;case 173:return 172;case 174:return 173;case 38:return 174;case 65:return 175;case 66:return 176;case 71:return 177;case 120:return 178;case 184:return 179;case 185:return 180;case 186:return 181;case 1:return 182;case 0:return 183}return 0},X.ToST_ShapeType=function(t){switch(t){case 1:return 4;case 2:return 6;case 3:return 7;case 4:return 5;case 5:return 25;case 6:return 12;case 7:return 2;case 8:return 3;case 9:return 34;case 10:return 10;case 11:return 130;case 12:return 9;case 13:return 73;case 14:return 72;case 15:return 82;case 16:return 81;case 17:return 78;case 18:return 41;case 19:return 42;case 20:return 40;case 21:return 75;case 22:return 74;case 23:return 76;case 24:return 77;case 25:return 88;case 26:return 93;case 27:return 94;case 28:return 33;case 29:return 89;case 30:return 90;case 31:return 91;case 32:return 92;case 33:return 43;case 34:return 44;case 35:return 45;case 36:return 46;case 37:return 50;case 38:return 51;case 39:return 54;case 40:return 53;case 41:return 62;case 42:return 63;case 43:return 52;case 44:return 49;case 45:return 67;case 46:return 68;case 47:return 69;case 48:return 70;case 49:return 47;case 50:return 48;case 51:return 36;case 52:return 37;case 53:return 56;case 54:return 55;case 55:return 57;case 56:return 58;case 57:return 59;case 58:return 60;case 59:return 61;case 60:return 64;case 61:return 131;case 62:return 158;case 63:return 132;case 64:return 133;case 65:return 134;case 66:return 135;case 67:return 136;case 68:return 137;case 69:return 138;case 70:return 139;case 71:return 140;case 72:return 141;case 73:return 142;case 74:return 159;case 75:return 143;case 76:return 144;case 77:return 145;case 78:return 146;case 79:return 147;case 80:return 148;case 81:return 149;case 82:return 150;case 83:return 152;case 84:return 157;case 85:return 153;case 86:return 154;case 87:return 155;case 88:return 156;case 89:return 79;case 90:return 80;case 91:return 15;case 92:return 16;case 93:return 19;case 94:return 22;case 95:return 23;case 96:return 24;case 97:return 122;case 98:return 121;case 99:return 124;case 100:return 123;case 101:return 126;case 102:return 127;case 103:return 128;case 104:return 129;case 105:return 116;case 106:return 117;case 107:return 118;case 108:return 119;case 109:case 110:return 110;case 111:return 111;case 112:return 112;case 113:return 104;case 114:return 107;case 115:return 108;case 116:return 109;case 117:case 118:return 104;case 119:return 105;case 120:return 106;case 121:return 110;case 122:return 113;case 123:return 114;case 124:return 115;case 125:return 160;case 126:return 161;case 127:return 162;case 128:return 163;case 129:return 165;case 130:return 164;case 131:return 167;case 132:return 166;case 133:return 168;case 134:return 169;case 135:return 170;case 136:return 171;case 137:return 117;case 138:return 151;case 139:return 125;case 140:return 86;case 141:return 39;case 142:return 8;case 143:return 13;case 144:return 11;case 145:return 14;case 146:return 17;case 147:return 18;case 148:return 20;case 149:return 21;case 150:return 26;case 151:return 27;case 152:return 28;case 153:return 29;case 154:return 30;case 155:return 31;case 156:return 32;case 157:return 83;case 158:return 84;case 159:return 35;case 160:return 87;case 161:return 85;case 162:return 175;case 163:return 176;case 164:return 177;case 165:return 178;case 166:return 179;case 167:return 180;case 168:return 181;case 169:return 182;case 170:return 183;case 171:return 172;case 172:return 173;case 173:return 174;case 174:return 38;case 175:return 65;case 176:return 66;case 177:return 71;case 178:return 120;case 179:return 184;case 180:return 185;case 181:return 186;case 182:return 1;case 183:return 0}return 0},X.convertFromExcelAdjustValues=function(t){if(t&&t.length)return t.map(it)},X.syncShapeAdjustValues=function(V,t){var t=t.AdjustValues;V&&t&&t.length&&(V.suspendResetPath(),t.forEach(function(t){V.setVariable(t[0],t[1])}),V.resumeResetPath())},X.getShapeTextInfo=function(t){var V,t,n,i,V=t.Text,t=t.TextBody,n,i;return{text:V,formatInfo:rt(t),fontInfo:L(t)}},X.getFontOptions=function(t){var t=b(t);return{font:m(t),fill:{type:1,color:t.color}}},X.getFontFromShapeData=function(t){var V;return m(L(t.I0i.TextBody))},X.syncShapeTextFormatOptions=function(t,V){var n,i,i,i,n,n,e,n=X.getShapeTextInfo(V&&V.I0i),i=n.text;t.text=i,i=n.fontInfo,t.font=m(i),t.fill={type:1,color:i.color},(n=(i=n.formatInfo).margins)&&(t.margins={left:n[0],right:n[1],top:n[2],bottom:n[3]}),t.textDirection=st(i),n=t.horizontalAlignment=i.horz&&i.center?1:i.hAlign,e=t.verticalAlignment=i.vAlign,t.wrapTextInShape=i.wrap,isNaN(V.fzn)&&(V.fzn=e),isNaN(V.czn)&&(V.czn=n),t.allowTextToOverflowShape=i.overflow,delete t.textDirection,i.horz&&90!==i.angle||(t.horizontalAlignment=2-i.hAlign),c(V.TrV)||(t.resizeToFitText=V.TrV)},X.getLineFormatInfo=function(t,V){var n,n,V;if(t)return n=R(t),n={width:t.Weight,capType:t.CapStyle,joinType:t.JoinStyle,compoundType:t.Style,lineStyle:t.DashStyle,color:n.color,transparency:n.transparency},V&&((V=t.BeginArrowheadStyle)&&(n.beginArrow={type:V,widthType:t.BeginArrowheadWidth,lengthType:t.BeginArrowheadLength}),V=t.EndArrowheadStyle)&&(n.endArrow={type:V,widthType:t.EndArrowheadWidth,lengthType:t.EndArrowheadLength}),n},X.syncShapeLineFormat=function(t,V){var n,V,i,e,c,i,c,n=!t.endPoints,V=X.getLineFormatInfo(V&&V.Line,n),i=t.stroke;V&&(e=V.width,i.width=e,i.capType=at(V.capType),i.joinType=M(V.joinType),i.compoundType=V.compoundType,i.color=V.color,i.transparency=V.transparency,c=V.lineStyle,i.dashType=c&&e?ot(c,e):[],n)&&(i=V.beginArrow,c=V.endArrow,i||c)&&(t.endPoints={beginArrow:i,endArrow:c})},X.syncShapeOptions=function(t,V,n,i){var e,c,r,n,r,s,e=t.id,c=+e||+V.Id;c=(isNaN(c)?(r=n.getUniqueShapeId(!0),e&&isNaN(e[0])&&!n.getShapeById(e)||(e=r.key)):e=(r=n.ensureUniqueShapeId(c)).key,r.id),t.id=e,V.Id=c,(n=i?{}:t.options)&&(r=(r=n.textFormatOptions)||(n.textFormatOptions={}),X.syncShapeTextFormatOptions(r,V),(s=n.stroke)||(n.stroke={type:1}),X.syncShapeLineFormat(n,V),n.fill||(n.fill={}),S(n,V)),i&&d.GC$.extend(!0,t.options,n)},X.convertToExcelAdjustValues=function(t){if(t&&t.length)return t.map(et)},X.getRGBAColor=v,X.getColorInfo=R,X.getColorData=dt,X.getGradientFillType=_,X.getFillType=I,X.getFillFormatInfo=F,X.syncShapeFillFormat=S,X.getLineJoinValue=M,h.ShapeUtility=X,(V=Vt=h.ST_EditAs||(h.ST_EditAs={}))[V.twoCell=0]="twoCell",V[V.oneCell=1]="oneCell",V[V.absolute=2]="absolute",h.getWholeNumber=Y},"./dist/plugins/shape/formControlView.js":function(t,V,n){var i,d,e,c,o,r,s,a,h,u,x;function y(t,V,n,i,e,c,r){var V,s,V=x.call(this,t,V||(0,o.getDefaultFormControlName)(n),d.AutoShapeType.rectangle,i,e,c,r)||this,s=V;return s.Mf=t,s.fiV=!1,s.ttV=d.CT_ShapeType.CT_FormControlShape,s.ytV=new o.FormControlShapeData(t,s.ytV.Name,n,i||0,e||0,c||200,r||160),n&&(s.ytV.sVV=n,s.tnV()),V}i=this&&this.__extends||(u=function(t,V){return(u=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}u(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.FormControlShape=void 0,d=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/ui/shapes.js"),c=n("./dist/plugins/shape/formControl/formControl.js"),o=n("./dist/plugins/shape/formControl/formControlData.js"),r=n("./dist/plugins/shape/shapeView.js"),s=n("./dist/plugins/shape/util/viewUtil.js"),a=d.ShapeUtility.syncShapeOptions,x=r.Shape,i(y,x),y.prototype.tnV=function(){var t,V,n,i,e,V,c,r,e,n,t=this,V=t.Mf,n=V.zoom();t.ytV.sVV&&(t.RiV=!0,t.VnV=!0,e=(i=t.ytV).ntV,V=V.shapeLayers[0],(c=t.aiV)||(r=(0,s.getBuiltInShapeModelWhenInit)(i,e,n)),e=(0,s.removeOldShapeUIWhenInitShapeUI)(t,V),a(r,i,V,c),(n=V.createFormControlShape(r)).ttV=4,n.getShapeCenter(),n.hyperlink=i.ku,t.ZnV(n.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,s.addNewShapeUIWhenInitShapeUI)(t,n,V,e),delete t.VnV,delete t.RiV,t.U0V())},y.prototype.U0V=function(){var t,V,n,t=this;t.GtV||(V=t.ytV,n=t.k0V(),t.GtV=n,V.setFormControl(n))},y.prototype.type=function(){if((0,s.noArguments)(arguments))return this.ytV.AutoShapeType},y.prototype.formControlType=function(){return this.ytV.sVV},y.prototype.value=function(t){var V=this;if((0,s.noArguments)(arguments))return V.GtV.value;V.DT("value",t,V.GtV.value),V.GtV.value=t},y.prototype.options=function(t){var V=this;if((0,s.noArguments)(arguments))return V.GtV.options;V.DT("options",t,V.GtV.options),V.GtV.options=t},y.prototype.enabled=function(t){var V,n,V=this,n=V.ytV;if((0,s.noArguments)(arguments))return n.Enabled;(t=!!t)!==n.Enabled&&(V.DT("enabled",t,n.Enabled),n.Enabled=t)},y.prototype.g4e=function(){return!1},y.prototype.hyperlink=function(){return null},y.prototype.text=function(t){if((0,s.noArguments)(arguments))return x.prototype.text.call(this);(0,e.isCanEditTextFormControlShape)(this)&&x.prototype.text.call(this,t)},y.prototype.isTextBox=function(){return!1},y.prototype.style=function(t){if((0,s.noArguments)(arguments))return x.prototype.style.call(this);t&&delete t.textFrame.resizeToFitText,x.prototype.style.call(this,t)},y.prototype.fc=function(){return this.GtV},y.prototype.bnV=function(t,V,n,i,e,c){x.prototype.bnV.call(this,t,V,n,i,e,c),this.Z0V()},y.prototype.$l=function(t,V,n,i,e,c){x.prototype.$l.call(this,t,V,n,i,e,c),this.Z0V()},y.prototype.Z0V=function(){var t,V,t=this,V=t.Mf.QtV;t.GtV&&V&&V.onShapeMoveOrResize(t)},y.prototype.k0V=function(){var t,t,V,t=this.ytV.sVV,t=(0,c.getFormControlCtor)(t);return t&&(V=new t).init(this),V},y.prototype.WiV=function(t){return new y(t)},y.prototype.EiV=function(t,V){var V,t;x.prototype.EiV.call(this,t,V),V=this,(t=t.controlInfo)&&(V.uiV=t.locked,V.xiV=t.print)},y.prototype.XiV=function(t,V,n,i,e){var n,V;x.prototype.XiV.call(this,t,V,n,i,e),(V=t.sp.controlInfo).locked=(n=this).uiV,V.print=n.xiV},V.FormControlShape=y},"./dist/plugins/shape/formControl/baseFormControl.js":function(t,V,n){var i,e,c;function r(){}Object.defineProperty(V,"__esModule",{value:!0}),V.BaseFormControl=void 0,i=n("./dist/plugins/shape/formControl/controls/util.js"),e=n("./dist/plugins/shape/ui/util.js"),r.prototype.init=function(t){this.RQt=t,this.onMouseDown=this.onMouseDown.bind(this),this.onMouseMove=this.onMouseMove.bind(this),this.onMouseUp=this.onMouseUp.bind(this)},r.prototype.isInternalUseForUIDisplay=function(){return!1},r.defaultStyle=function(){return{}},r.prototype.styleSupportInfo=function(){return{supportFill:!1,supportLine:!1,supportText:!1}},Object.defineProperty(r.prototype,"value",{get:function(){return this.y4},set:function(t){this.y4=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"options",{get:function(){return this.LEt},set:function(t){this.LEt=t},enumerable:!1,configurable:!0}),r.prototype.hitTest=function(t){var V,n;return t=this.convertToRelativePoint(t),V=this.width,n=this.height,(0,i.pointIsInRect)(t,{x:0,y:0,w:V,h:n})},r.prototype.render=function(t,V){},r.prototype.onMouseDown=function(t){},r.prototype.onMouseMove=function(t){},r.prototype.onMouseUp=function(t){},r.prototype.fromExcelProps=function(t){},r.prototype.toExcelProps=function(){return{}},r.prototype.dispose=function(){this.y4=null,this.LEt=null},r.prototype.triggerEvent=function(t,V){var n=this.sheet;n&&n.ki(t,V)},Object.defineProperty(r.prototype,"shape",{get:function(){return this.RQt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"shapeUI",{get:function(){return this.RQt.ctV},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"sheet",{get:function(){return this.shape.Mf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return Math.round(this.shapeUI.left)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return Math.round(this.shapeUI.top)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return Math.round(this.shapeUI.width/this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return Math.round(this.shapeUI.height/this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"zoom",{get:function(){var t=this.shapeUI;return t.TtV&&t.OtV||1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"enabled",{get:function(){return this.shape.enabled()},enumerable:!1,configurable:!0}),r.prototype.refresh=function(){this.shape.refresh()},r.prototype.getPointerRelativeControl=function(t,V){var V,V=V?V.getPointer(t):(0,e.getPointerByMouseEvt)(this.shape,t);return this.convertToRelativePoint(V)},r.prototype.convertToRelativePoint=function(t){return t.x-=this.x,t.y-=this.y,t.x/=this.zoom,t.y/=this.zoom,t},V.BaseFormControl=r},"./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js":function(t,V,n){var i,e,c,r,n,s,d,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.rb=!1,t}i=this&&this.__extends||(d=function(t,V){return(d=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}d(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ExcelBuildInFormControlBase=void 0,e=n("Core"),c=n("./dist/plugins/shape/ui/util.js"),r=n("./dist/plugins/shape/ui/shapes.js"),n=n("./dist/plugins/shape/formControl/baseFormControl.js"),o=n.BaseFormControl,i(a,o),a.prototype.onMouseDown=function(t){if(!this.shouldProcessMouseDownEvt(t))return!1;this.enabled&&!this.doMouseDown(t)||(this.rb=!0,t.cancelDefault=!0)},a.prototype.onMouseMove=function(t){this.doMouseMove(t),this.rb&&(t.cancelDefault=!0)},a.prototype.onMouseUp=function(t){this.doMouseUp(t),this.rb&&(t.cancelDefault=!0,this.rb=!1)},a.prototype.shouldProcessMouseEvt=function(t){var t=t.canvas.getPointer(t.evt);return!this.shape.isSelected()&&this.hitTest(t)},a.prototype.shouldProcessMouseDownEvt=function(t){return this.shouldProcessMouseEvt(t)&&(0===t.evt.button||void 0===t.evt.button)&&!t.evt.ctrlKey},a.prototype.doMouseDown=function(t){return!1},a.prototype.doMouseMove=function(t){},a.prototype.doMouseUp=function(t){},a.prototype.triggerValueChangedEvent=function(t,V){var t={sheet:this.sheet,sheetName:this.sheet.name(),shape:this.shape,oldValue:t,newValue:V};this.triggerEvent(e.Events.FormControlValueChanged,t)},a.prototype.triggerButtonClickedEvent=function(){var t={sheet:this.sheet,sheetName:this.sheet.name(),shape:this.shape};this.triggerEvent(e.Events.FormControlButtonClicked,t)},a.prototype.applyTextStyle=function(t,V,n){var i,e,e,V;void 0===V&&(V=!0),void 0===n&&(n=!0),e=(i=this.shapeUI).options,(e=i.options&&e.textFormatOptions)&&(V&&(V=c.Common.getOptionValue(e.font,i))&&c.Common.setContextFont(t,V),n)&&(0,r.applyFillOptions)(t,e.fill,i,2,2)},V.ExcelBuildInFormControlBase=a},"./dist/plugins/shape/formControl/controls/buttonFormControl.js":function(t,V,n){var i,e,o,c,r,s,d;function a(){var t=null!==d&&d.apply(this,arguments)||this;return t.LEt={},t.PtV=!1,t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ButtonFormControl=void 0,e=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),c=1,d=e.ExcelBuildInFormControlBase,i(a,d),a.defaultStyle=function(){return{hAlign:1,vAlign:1,margins:{left:3,right:3,bottom:3,top:3}}},a.prototype.styleSupportInfo=function(){var t,V,n,t,V,n;return{supportFill:!1,supportLine:!1,supportText:!0,textRect:{x:this.PtV?1:0,y:this.PtV?1:0,w:this.width,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},a.prototype.doMouseDown=function(){return this.PtV=!0},a.prototype.doMouseUp=function(){this.PtV&&(this.PtV=!1,this.refresh(),this.triggerButtonClickedEvent())},a.prototype.render=function(t,V){var n,i,e,c,r,s,d,n=this.width,i=this.height;t.save(),t.translate(-n/2,-i/2),(0,o.fillRect)(t,0,0,n,i,"rgb(240,240,240)"),e="rgb(240,240,240)",c="rgb(100,100,100)",r="white",s="rgb(160,160,160)",this.PtV&&(d=e,e=c,c=d,d=r,r=s,s=d),(0,o.drawTheeDShadingOuterRect)(t,n,i,1,e,c),(0,o.drawTheeDShadingInnerRect)(t,n,i,1,r,s),t.restore()},V.ButtonFormControl=a},"./dist/plugins/shape/formControl/controls/checkBoxFormControl.js":function(t,V,n){var i,e,c,o,r,s,d,a,h,u,x;function y(){var t=(d=document.createElement("canvas")).getContext("2d");d.width=2,d.height=2,t.save(),t.scale(.5,.5),t.beginPath(),t.moveTo(0,0),t.rect(0,0,2,2),t.moveTo(2,2),t.rect(2,2,2,2),t.fillStyle="black",t.fill(),t.restore()}function f(){return d||y(),d}function l(){return null!==x&&x.apply(this,arguments)||this}i=this&&this.__extends||(u=function(t,V){return(u=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}u(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.CheckBoxFormControl=void 0,c=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),a={checked:!(r=void 0),unChecked:!(s="#N/A"),mixed:void 0},x=c.SupportCellLinkFormControl,i(l,x),l.prototype.init=function(t){x.prototype.init.call(this,t),this.LEt={cellLink:"",threeDShading:!1},this.y4=a.unChecked},Object.defineProperty(l.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.cellLink=t.cellLink,this.LEt.threeDShading=t.threeDShading,this.refresh()},enumerable:!1,configurable:!0}),l.defaultStyle=function(){return{vAlign:1,margins:{left:3,right:0,top:2,bottom:2}}},l.prototype.styleSupportInfo=function(){var t,t,V,n,i,t=this.checkBoxRect,t=t.x+t.w,V,n,i;return{supportFill:!0,supportLine:!0,supportText:!0,textRect:{x:t,y:0,w:this.width-t,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},l.prototype.preProcessValue=function(t){return t=!0===t?a.checked:t===s||t===r?a.mixed:a.unChecked},l.prototype.mapToCellValue=function(t){return t===a.mixed?s:t===a.checked},l.prototype.mapValueFromCell=function(t){return this.preProcessValue(t=1===t?!0:t)},l.prototype.doMouseDown=function(){return this.onClickCheckBox(),!0},l.prototype.onClickCheckBox=function(){this.value===a.mixed||this.value===a.checked?this.value=a.unChecked:this.value===a.unChecked&&(this.value=a.checked)},Object.defineProperty(l.prototype,"checkBoxRect",{get:function(){var t,V,n,t=12,V=7,n;return{x:7,y:(this.height-12)/2,w:12,h:12}},enumerable:!1,configurable:!0}),l.prototype.render=function(r,t){var V,n,i,s,e,c,d,V=this,n=this.width,i=this.height,s=this.checkBoxRect,e=function(){(0,o.fillRect)(r,0,0,s.w,s.h,"white"),V.threeDShading?((0,o.drawTheeDShadingRect)(r,0,0,s.w,s.h,"rgb(160,160,160)","rgb(240,240,240)"),(0,o.drawTheeDShadingRect)(r,1,1,s.w-2,s.h-2,"rgb(100,100,100)","white")):(0,o.strokeRect)(r,0,0,s.w,s.h,"black")},c=function(){var t,V,n,i,e,c;r.beginPath(),V=2*(t=s.w/5),n=4*t,e=3*(i=s.h/4),c=s.h/2,r.moveTo(t,c),r.lineTo(V,e),r.lineTo(n,i),r.lineWidth=2,r.stroke()},d=function(){r.beginPath(),V.threeDShading?r.rect(3,3,s.w-5,s.h-5):r.rect(0,0,s.w,s.h),r.fillStyle=r.createPattern(f(),"repeat"),r.fill()};r.save(),r.translate(-n/2,-i/2),r.translate(s.x,s.y),e(),this.value===a.checked?c():this.value===a.mixed&&d(),r.restore()},l.prototype.fromExcelProps=function(t){var V=this.options;if(t.fmlaLink&&(V.cellLink=t.fmlaLink),V.threeDShading="1"!==t.noThreeD,t.checked)switch(t.checked){case"Checked":this.y4=a.checked;break;case"Mixed":this.y4=a.mixed;break;default:this.y4=a.unChecked}else this.y4=a.unChecked;this.options=V},l.prototype.toExcelProps=function(){var t,t,t=this.options,t={lockText:"1",noThreeD:t.threeDShading?"0":"1",fmlaLink:t.cellLink};return this.y4!==a.unChecked&&(t.checked=this.y4?"Checked":"Mixed"),t},Object.defineProperty(l.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),V.CheckBoxFormControl=l},"./dist/plugins/shape/formControl/controls/comboFormControl.js":function(t,V,n){var i,e,s,c,o,r,d,a,h,u,x,y,f,l,g,A;function w(){this.NtV=!1,this.DtV=document.createElement("canvas"),this.qtV=document.createElement("canvas"),this.qtV.className="gc-spread-shapes-combo_dropdown_list",this.UtV=new c.ListBox,this.initDomElement(),this.initListBox(),this.closeIfTargetNotListBox=this.closeIfTargetNotListBox.bind(this),this.comboCanvasClick=this.comboCanvasClick.bind(this),this.listBoxCanvasMouseDown=this.listBoxCanvasMouseDown.bind(this),this.listBoxCanvasMouseWheel=this.listBoxCanvasMouseWheel.bind(this),this.windowMouseMove=this.windowMouseMove.bind(this),this.windowMouseUp=this.windowMouseUp.bind(this),this.bindEvent(),this.LQ=!1}function p(){var t=null!==A&&A.apply(this,arguments)||this;return t.ktV=22,t}i=this&&this.__extends||(g=function(t,V){return(g=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}g(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ComboFormControl=V.ComboFormControlDomRender=void 0,s=n("Core"),c=n("./dist/plugins/shape/formControl/controls/listBox.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),r=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),d=n("./dist/plugins/shape/ui/util.js"),a=-1,h=1,u=3,x=2,y=0,w.prototype.initListBox=function(){var n=this;this.UtV.props.highlightHoverItem=!0,this.UtV.props.hiddenScrollBarWhenAllItemCanDisplay=!0,this.UtV.props.onSelIndexChange=function(t,V){n.BtV.value=V},this.UtV.props.onItemClick=function(){n.close()},this.UtV.props.refresh=function(){n.refreshListBoxCanvas()},this.UtV.props.setCursor=function(t){n.qtV.style.cursor=t},this.UtV.props.getPointerRelativeControl=this.getPointerRelativeControl.bind(this)},w.prototype.bindEvent=function(){window.addEventListener("mousedown",this.closeIfTargetNotListBox,!0),window.addEventListener("pointerdown",this.closeIfTargetNotListBox,!0),window.addEventListener("MSPointerDown",this.closeIfTargetNotListBox,!0),window.addEventListener("mousewheel",this.closeIfTargetNotListBox,!0),this.DtV.addEventListener("click",this.comboCanvasClick);var t=this.qtV;t.addEventListener("mousedown",this.listBoxCanvasMouseDown),t.addEventListener("pointerdown",this.listBoxCanvasMouseDown),t.addEventListener("MSPointerDown",this.listBoxCanvasMouseDown),t.addEventListener("mousewheel",this.listBoxCanvasMouseWheel),window.addEventListener("mousemove",this.windowMouseMove),window.addEventListener("pointermove",this.windowMouseMove),window.addEventListener("MSPointerMove",this.windowMouseMove),window.addEventListener("mouseup",this.windowMouseUp),window.addEventListener("pointerup",this.windowMouseUp),window.addEventListener("MSPointerUp",this.windowMouseUp)},w.prototype.unbindEvent=function(){window.removeEventListener("mousedown",this.closeIfTargetNotListBox,!0),window.removeEventListener("pointerdown",this.closeIfTargetNotListBox,!0),window.removeEventListener("MSPointerDown",this.closeIfTargetNotListBox,!0),window.removeEventListener("mousewheel",this.closeIfTargetNotListBox,!0),this.DtV.removeEventListener("click",this.comboCanvasClick);var t=this.qtV;t.removeEventListener("mousedown",this.listBoxCanvasMouseDown),t.removeEventListener("pointerdown",this.listBoxCanvasMouseDown),t.removeEventListener("MSPointerDown",this.listBoxCanvasMouseDown),t.removeEventListener("mousewheel",this.listBoxCanvasMouseWheel),window.removeEventListener("mousemove",this.windowMouseMove),window.removeEventListener("pointermove",this.windowMouseMove),window.removeEventListener("MSPointerMove",this.windowMouseMove),window.removeEventListener("mouseup",this.windowMouseUp),window.removeEventListener("pointerup",this.windowMouseUp),window.removeEventListener("MSPointerUp",this.windowMouseUp)},w.getInstance=function(){return this.OGt||(this.OGt=new w),this.OGt},w.dispose=function(){var t=this.OGt;t&&(t.LQ&&t.close(),t.unbindEvent(),t.DtV=void 0,t.qtV=void 0,t.BtV=void 0,t.UtV=void 0,this.OGt=void 0)},w.prototype.show=function(t){var V,t,V=this;V.BtV=t,V.LQ=!0,V.refreshPositionAndSize(),(t=this.UtV).props.items=this.items,t.props.selIndex=this.selIndex,t.scrollTo(this.selIndex-1),V.refreshCanvas(),V.host.appendChild(V.DtV),V.host.appendChild(V.qtV)},w.prototype.close=function(){var t=this;t.LQ&&(t.LQ=!1,t.NtV=!1,t.host.removeChild(t.DtV),t.host.removeChild(t.qtV))},w.prototype.comboCanvasClick=function(t){this.close()},w.prototype.closeIfTargetNotListBox=function(t){var t=t.target;this.LQ&&t!==this.qtV&&this.close()},w.prototype.listBoxCanvasMouseDown=function(t){this.UtV.onMouseDown(t)&&(this.NtV=!0,t.preventDefault()),this.refreshListBoxCanvas()},w.prototype.windowMouseMove=function(t){this.UtV.onMouseMove(t),this.NtV&&t.preventDefault(),this.refreshListBoxCanvas()},w.prototype.windowMouseUp=function(t){this.NtV&&(this.UtV.onMouseUp(t),t.preventDefault()),this.NtV=!1,this.refreshListBoxCanvas()},w.prototype.listBoxCanvasMouseWheel=function(t){t.preventDefault()},Object.defineProperty(w.prototype,"shape",{get:function(){return this.BtV.shape},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selIndex",{get:function(){return this.BtV.value},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"x",{get:function(){return this.BtV.x},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"y",{get:function(){return this.BtV.y},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"width",{get:function(){return this.BtV.width*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"height",{get:function(){return this.BtV.height*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"zoom",{get:function(){return this.BtV.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"items",{get:function(){return this.BtV.getItems()},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"itemHeight",{get:function(){var t=this.font;return t?d.Common.getFontHeight(t):17},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"font",{get:function(){var t;if(this.BtV)return t=this.DtV.getContext("2d"),this.BtV.applyTextStyle(t,!0,!1),t.font},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"listBoxHeight",{get:function(){var t,V,t=Math.min(this.dropLines,this.items.length),V;return(this.itemHeight*t||14)*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"dropLines",{get:function(){return this.BtV.options.dropDownLines},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"host",{get:function(){return this.shape.Mf.parent.j2()},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"spreadHost",{get:function(){return this.shape.Mf.parent.getHost()},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"shapeHostRect",{get:function(){var t,V,n,i,e,c,r,t,V,e,t,c,t=this.x,V=this.y,n=this.width,i=this.height,e=(0,d.getShapeStartLayer)(this.shape),c=(0,s.GC$)(e.host).offset(),t=t-e.scrollLeft||0,V=V-e.scrollTop||0,e=this.borderRenderWidth,t=c.left+t-e,c=c.top+V-e;return new d.Rect(t,c,n+e,i+e)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"spreadHostRect",{get:function(){var t,V,n,t,t=(0,s.GC$)(this.spreadHost),V=t.offset(),n=t.width(),t=t.height();return new d.Rect(V.left,V.top,n,t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"borderRenderWidth",{get:function(){return Math.ceil(+this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"devicePixelRatio",{get:function(){return window.devicePixelRatio||1},enumerable:!1,configurable:!0}),w.prototype.initDomElement=function(){var t,V,n,t="block",V="none",n="absolute";(0,s.GC$)(this.DtV).css({display:t,touchAction:V,position:n,zIndex:"950"}),(0,s.GC$)(this.qtV).css({display:t,touchAction:V,position:n,zIndex:"951"})},w.prototype.refreshCanvas=function(){this.refreshComboCanvas(),this.refreshListBoxCanvas()},w.prototype.refreshComboCanvas=function(){var t,V,n,i,t=this.DtV,V=t.getContext("2d"),n=this.devicePixelRatio,i=this.zoom;V.save(),V.scale(n,n),V.clearRect(0,0,t.width,t.height),V.translate(this.width/2,this.height/2),V.scale(i,i),this.BtV.render(V),V.restore()},w.prototype.refreshListBoxCanvas=function(){var t,V,n,i,e,t=this.qtV,V=t.getContext("2d"),n=this.devicePixelRatio,i=this.UtV,e=this.zoom;V.save(),V.font=this.font,V.scale(n,n),V.clearRect(0,0,t.width,t.height),0<i.itemsCount?(V.scale(e,e),i.render(V)):((0,o.fillRect)(V,0,0,t.width,t.height,"white"),(0,o.strokeRect)(V,0,0,t.width-1,t.height-1,"black")),V.restore()},w.prototype.refreshPositionAndSize=function(){var t,V,V,n,t=this.shapeHostRect,V=this.spreadHostRect,V=this.calcListBoxPositionAndSize(t,V),n=(0,s.GC$)(this.host).offset();this.convertToRelativeHostPosition(t,n),this.convertToRelativeHostPosition(V,n),this.refreshCombo(t),this.refreshListBox(V)},w.prototype.refreshCombo=function(t){var V=this.devicePixelRatio;this.DtV.width=t.width*V,this.DtV.height=t.height*V,(0,s.GC$)(this.DtV).css({left:"".concat(t.x,"px"),top:"".concat(t.y,"px"),width:"".concat(t.width,"px"),height:"".concat(t.height,"px")})},w.prototype.refreshListBox=function(t){var V,n,i,V=this.zoom,n=this.borderRenderWidth,i=this.devicePixelRatio;this.qtV.width=t.width*i,this.qtV.height=t.height*i,this.UtV.props.containerSize={w:(t.width-n)/V,h:(t.height-n)/V},this.UtV.props.itemHeight=this.itemHeight,(0,s.GC$)(this.qtV).css({left:"".concat(t.x,"px"),top:"".concat(t.y,"px"),width:"".concat(t.width,"px"),height:"".concat(t.height,"px")})},w.prototype.calcListBoxPositionAndSize=function(t,V){var n,i,e,V,c,r,n=this.borderRenderWidth,i=new d.Rect(t.x,t.y+t.height-n,t.width,this.listBoxHeight),e=t.y-V.y+n,V=V.y+V.height-t.y-t.height-n,c=function(){i.y=t.y+t.height-n},r=function(){i.y=t.y-i.height+n};return(V>i.height?c:e>i.height?r:e<V?(i.height=V,c):(i.height=e,r))(),i},w.prototype.convertToRelativeHostPosition=function(t,V){t.x-=V.left,t.y-=V.top,t.x=Math.max(t.x,0),t.y=Math.max(t.y,0)},w.prototype.getPointerRelativeControl=function(t){var V,n,i,V=(0,s.GC$)(this.qtV).offset();return V&&(V.top+=document.body.clientTop||0,V.left+=document.body.clientLeft||0),{x:n=(t.pageX-V.left)/this.zoom,y:i=(t.pageY-V.top)/this.zoom}},w.getListBoxComponentForAT=function(){return this.OGt&&this.OGt.UtV},f=w,V.ComboFormControlDomRender=f,A=r.SupportCellLinkFormControl,i(p,A),p.prototype.init=function(t){A.prototype.init.call(this,t),this.LEt={inputRange:"",cellLink:"",dropDownLines:8,threeDShading:!1},this.y4=-1},Object.defineProperty(p.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink,inputRange:this.inputRange})},set:function(t){this.LEt.dropDownLines=t.dropDownLines,this.LEt.threeDShading=t.threeDShading,this.inputRange=t.inputRange,this.cellLink=t.cellLink,this.refresh()},enumerable:!1,configurable:!0}),p.defaultStyle=function(){return{vAlign:1,wrapText:!1,margins:{left:3,right:0,top:2,bottom:2}}},p.prototype.preProcessValue=function(t){return t=(0,o.normalizeInteger)(t),isNaN(t)||t<1?-1:t},p.prototype.mapToCellValue=function(t){return-1===t?0:t},p.prototype.doMouseDown=function(t){return f.getInstance().show(this),!0},Object.defineProperty(p.prototype,"dropDownBtnRect",{get:function(){var t,V,n,t,t=this.width,V=this.height,n=Math.min(t,V),t={x:t-n+1,y:1,w:n-2,h:V-2};return this.threeDShading?{x:t.x,y:t.y+1,w:t.w-1,h:t.h-1}:t},enumerable:!1,configurable:!0}),p.prototype.getItems=function(){return this.getInputRangeTexts()},p.prototype.render=function(i,t){var V,n,e,c,r,s,s,d,V=this.width,n=this.height;i.save(),i.translate(-V/2,-n/2),(0,o.fillRect)(i,0,0,V,n,"white"),e=this.dropDownBtnRect,c=function(){var t,t,V,n,t=.25,t=Math.min(e.w*t*2,e.h*t),V=(e.w-2*t)/2,n=(e.h-t)/2;i.save(),i.translate(V,n),i.beginPath(),i.moveTo(0,0),i.lineTo(2*t,0),i.lineTo(t,t),i.closePath(),i.fillStyle="black",i.fill(),i.restore()},(r=function(){var t,V,t="rgb(240,240,240)",V="rgb(160,160,160)";i.save(),i.translate(e.x,e.y),(0,o.fillRect)(i,0,0,e.w,e.h,t),(0,o.drawTheeDShadingOuterRect)(i,e.w,e.h,1,t,"black"),(0,o.drawTheeDShadingInnerRect)(i,e.w,e.h,1,"white",V),c(),i.restore()})(),-1!==this.value&&(i.save(),i.textBaseline="middle",i.textAlign="left",i.beginPath(),this.applyTextStyle(i),i.beginPath(),i.rect(3,0,V-e.w-6,n),i.clip(),i.fillText(this.displayText,3,n/2),i.restore()),this.threeDShading?(d="rgb(100,100,100)",(0,o.drawTheeDShadingOuterRectFourColor)(i,V,n,1,s="rgb(160,160,160)",s,"white",s="rgb(240,240,240)"),(0,o.drawTheeDShadingInnerRectFourColor)(i,V,n,1,d,d,s,"rgba(0,0,0,0)")):(0,o.strokeRect)(i,0,0,V,n,"rgb(130,135,144)"),i.restore()},Object.defineProperty(p.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"displayText",{get:function(){var t=this.getItems()[this.value-1];return void 0===t?"":t},enumerable:!1,configurable:!0}),p.prototype.fromExcelProps=function(t){var V=this.options;t.fmlaLink&&(V.cellLink=t.fmlaLink),t.fmlaRange&&(V.inputRange=t.fmlaRange),t.dropLines&&(V.dropDownLines=parseInt(t.dropLines,10)),t.dx&&(this.ktV=parseInt(t.dx,10)),V.threeDShading="1"!==t.noThreeD,this.y4=parseInt(t.sel,10)||-1,this.options=V},p.prototype.toExcelProps=function(){var t,V,V,t=this.options,V=this.ktV,V={dropStyle:"Combo",noThreeD:t.threeDShading?"0":"1",inc:"1",fmlaLink:t.cellLink,fmlaRange:t.inputRange,dx:V.toString(),dropLines:t.dropDownLines.toString()};return this.value&&(V.sel=this.value.toString()),V},p.prototype.getDropDownButtonRectangleForAT=function(){return this.dropDownBtnRect},p.prototype.getDisplayTextForAT=function(){return this.displayText},p.prototype.getDropdownListBoxComponentForAT=function(){return f.getListBoxComponentForAT()},V.ComboFormControl=p},"./dist/plugins/shape/formControl/controls/groupBoxFormControl.js":function(t,V,n){var i,d,e,o,n,c,r,s,a,h,u,x;function y(t){var V,n,i,e,e,V,i,V=a.getContext("2d"),n=t.options.textFormatOptions;return n?(i=n.text,(e=n.font)&&(V.font=e),e=V.measureText(i),V=c(n.margins,t),i=e.width,(i+=V.left||0)+(V.right||0)):0}function f(){return null!==x&&x.apply(this,arguments)||this}i=this&&this.__extends||(u=function(t,V){return(u=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}u(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),d=this&&this.__assign||function(){return(d=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.GroupBoxFormControl=void 0,e=n("./dist/plugins/shape/ui/util.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),n=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),c=e.Common.getOptionValue,r=8,s=6,a=document.createElement("canvas"),x=n.ExcelBuildInFormControlBase,i(f,x),f.prototype.init=function(t){x.prototype.init.call(this,t),this.LEt={threeDShading:!1}},Object.defineProperty(f.prototype,"options",{get:function(){return this.LEt},set:function(t){this.LEt.threeDShading=t.threeDShading,this.refresh()},enumerable:!1,configurable:!0}),f.defaultStyle=function(){return{wrapText:!1,margins:{left:3,right:0,top:2,bottom:0}}},f.prototype.styleSupportInfo=function(){return{supportFill:!1,supportLine:!1,supportText:!0,textRect:this.textRect,supportHAlign:!1,supportVAlign:!1,supportWrapText:!1}},Object.defineProperty(f.prototype,"textRect",{get:function(){var t;return{x:14,y:-4,w:this.width,h:25}},enumerable:!1,configurable:!0}),f.prototype.hitTest=function(t){var V,n,i,e,c,r,s,V,n;return t=this.convertToRelativePoint(t),V=this.width,n=this.height,c=this.textRect,s={x:i=1,y:1,w:V-(e=2),h:n-2},V=(0,o.pointIsInRect)(t,r={x:-1,y:-1,w:V+2,h:n+2})&&!(0,o.pointIsInRect)(t,s),n=(0,o.pointIsInRect)(t,d(d({},c),{x:c.x,y:c.y,w:y(this.shapeUI)})),V||n},f.prototype.render=function(t,V){var n,i,e,c,i,n=this.width,i=this.height,e=this.threeDShading?"rgb(160,160,160)":"black",c=y(this.shapeUI);t.save(),t.translate(-n/2-.5,-i/2-.5),t.beginPath(),t.moveTo(8,0),t.lineTo(0,0),t.lineTo(0,i),t.lineTo(n,i),t.lineTo(n,0),c?(i=Math.min(20+c,n-8),t.lineTo(i,0)):t.closePath(),t.strokeStyle=e,t.lineWidth=1,t.stroke(),t.restore()},f.prototype.fromExcelProps=function(t){var V=this.options;V.threeDShading="1"!==t.noThreeD,this.options=V},f.prototype.toExcelProps=function(){var t;return{noThreeD:this.options.threeDShading?"0":"1"}},Object.defineProperty(f.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),f.prototype.shouldProcessMouseDownEvt=function(t){return!1},V.GroupBoxFormControl=f},"./dist/plugins/shape/formControl/controls/labelFormControl.js":function(t,V,n){var i,n,e,c,r;function s(){var t=null!==r&&r.apply(this,arguments)||this;return t.LEt={},t}i=this&&this.__extends||(c=function(t,V){return(c=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}c(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.LabelFormControl=void 0,n=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),r=n.ExcelBuildInFormControlBase,i(s,r),s.defaultStyle=function(){return{margins:{left:3,right:0,top:2,bottom:0}}},s.prototype.styleSupportInfo=function(){var t,V,n,t,V,n;return{supportFill:!0,supportLine:!0,supportText:!0,textRect:{x:0,y:0,w:this.width,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},s.prototype.shouldProcessMouseDownEvt=function(t){return!1},V.LabelFormControl=s},"./dist/plugins/shape/formControl/controls/listBox.js":function(t,V,n){var i,e,c,r,o,s,d,a,h,n,n;function u(){var n,t,n=this;this.ZtV=-1,this.KQt=-1,this.$Qt=!1,this.HtV=s.none,this.tWt={containerSize:{w:300,h:100},selIndex:-1,items:[],scrollCount:0,scrollBarWidth:22,itemHeight:17,selType:e.ListBoxSelectionType.single,textColor:"black",highlightHoverItem:!1,highlightItemTextColor:"white",highlightItemBackColor:"rgb(0, 120, 215)",hiddenScrollBarWhenAllItemCanDisplay:!1,threeDShading:!1,onSelIndexChange:function(){},onItemClick:function(){},refresh:function(){},setCursor:function(){},getPointerRelativeControl:function(t){return{x:0,y:0}}},(t=new c.ScrollBar).props.syncSliderHeightWithPageStep=!0,t.refresh=this.refresh.bind(this),t.getPointerRelativeControl=function(t){var t=n.getPointerRelativeControl(t),V=t.x,t=t.y;return{x:V-n.scrollBarLeftOffset,y:t}},t.setCursor=this.setCursor.bind(this),t.props.onScroll=this.onScrollBarChange.bind(this),this.iWt=t}i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ListBox=void 0,e=n("./dist/plugins/shape/drawingInterface.js"),c=n("./dist/plugins/shape/formControl/controls/scrollbar.js"),r=n("./dist/plugins/shape/formControl/controls/util.js"),(n=o=o||{}).item="item",n.scrollBar="scrollBar",(n=s=s||{}).none="",n.ctrl="ctrl",n.shift="shift",d=1,a=2,Object.defineProperty(u.prototype,"props",{get:function(){return this.tWt},set:function(t){this.tWt=t},enumerable:!1,configurable:!0}),u.prototype.hitTest=function(t,V){var n,i,e,c,r,s,d,n=this,i=this.height,e=function(){return 0<=t&&t<=n.itemsAreaWidth&&0<=V&&V<i},c=function(){return!e()&&0<=V&&V<i};return e()?-1!==(d=this.getClickItemIndex(V))&&(r=o.item,s=d):c()&&(r=o.scrollBar),{target:r,data:s}},u.prototype.onMouseDown=function(t){var V,V,n,V,V=this.getPointerRelativeControl(t),V=this.hitTest(V.x,V.y),n=V.target,V=V.data;return n===o.item?(this.ZtV=V,this.KQt=V,this.$Qt=!0,t.ctrlKey&&(this.HtV=s.ctrl),t.shiftKey&&(this.HtV=s.shift)):n===o.scrollBar&&this.iWt.onMouseDown(t),!0},u.prototype.onMouseMove=function(t){var V,n,i,e,i,t;if(this.iWt.onMouseMove(t),V=!1,this.highlightHoverItem&&this.isSingleSelType&&(n=this.getPointerRelativeControl(t),e=(i=this.hitTest(n.x,n.y)).target,i=i.data,e===o.item)&&(this.KQt=i,V=!0),this.scrollItemCount>this.maxScrollCount&&(this.scrollItemCount=this.maxScrollCount,V=!0),this.mouseDownItemIndexIsValid){if(n=this.getPointerRelativeControl(t),e=(t=this.hitTest(this.itemsAreaWidth-1,n.y)).target,i=t.data,e===o.item)this.stopScrollInterval(),this.KQt!==i&&(this.KQt=i,this.$Qt=!1,this.HtV=s.none);else{if(void 0!==this.vWt)return;n.y<0?this.startScrollInterval(-1):n.y>this.height&&this.startScrollInterval(1)}V=!0}this.setCursor("pointer"),V&&this.refresh()},u.prototype.onMouseUp=function(t){var t,V;this.iWt.onMouseUp(t),this.mouseDownItemIndexIsValid&&(t=JSON.stringify(this.selIndex),this.changeSelIndexOnMouseUp(),t!==(V=JSON.stringify(this.selIndex))&&this.props.onSelIndexChange(JSON.parse(t),this.selIndex),this.props.onItemClick(this.KQt)),this.clearState()},u.prototype.onScrollBarChange=function(){this.scrollItemCount=this.iWt.props.value},u.prototype.changeSelIndexOnMouseUp=function(){var t,V,n,i,n,i,t=this.ZtV,V=this.KQt,n=this.$Qt,i=this.HtV;this.isSingleSelType?this.setSelIndex(V):this.isMultiSelType?this.addOrRemoveSelIndex(V):this.isExtendSelType&&(n?i===s.ctrl?this.addOrRemoveSelIndex(V):i===s.shift?(i=0<(n=this.selIndex).length?n[0]:1,this.setSelIndexRange(i,V)):this.setSelIndexRange(V,V):this.setSelIndexRange(t,V))},u.prototype.clearState=function(){var t=!1;this.mouseDownItemIndexIsValid&&(this.ZtV=-1,this.KQt=-1,this.$Qt=!1,this.HtV=s.none,t=!0),this.stopScrollInterval(),t&&this.refresh()},u.prototype.render=function(t){var V,n,i,i,e,V=this.width,n=this.height,i=this.threeDShading;t.save(),(0,r.fillRect)(t,0,0,V,n,"white"),this.renderItems(t),this.renderScrollBar(t),i?((0,r.drawTheeDShadingOuterRectFourColor)(t,V,n,1,i="rgb(160,160,160)",i,"white",e="rgb(240,240,240)"),(0,r.drawTheeDShadingInnerRect)(t,V,n,1,"rgb(100,100,100)","rgba(0,0,0,0)")):(0,r.strokeRect)(t,0,0,V,n),t.restore()},u.prototype.renderItems=function(e){var t,V,c,r,n,i,s,d,o,a,h,u,x,y,t=this.items,V=this.currentPageDisplayItemCount,c=this.itemsAreaWidth,r=this.actualRenderItemHeight,n=this.props,i=n.textColor,s=n.highlightItemTextColor,d=n.highlightItemBackColor,o=function(t,V,n){var i=5;e.fillStyle=n,e.save(),e.beginPath(),e.rect(5,V,c-5,r),e.clip(),e.fillText(t,5,V+r/2+1),e.restore()},a=function(t){e.fillStyle=d,e.beginPath(),e.fillRect(0,t,c,r)};for(e.textAlign="left",e.textBaseline="middle",h=0;h<V;h++)u=t[h+this.scrollItemCount],x=h*r,y=i,this.isNeedHighlightItem(h+this.scrollItemCount+1)&&(a(x),y=s),o(String(u),x,y)},u.prototype.renderScrollBar=function(t){var V,n,i;this.needHiddenScrollBar||(V=this.height,n=this.scrollBarLeftOffset,i=this.scrollBarWidth,t.save(),t.translate(n,0),this.iWt.props.containerSize={w:i,h:V},this.iWt.props.max=this.maxScrollCount,this.iWt.props.value=this.scrollItemCount,this.iWt.props.pageStep=this.onePageCanDisplayItemCount,this.iWt.render(t),t.restore())},Object.defineProperty(u.prototype,"width",{get:function(){return this.props.containerSize.w},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"height",{get:function(){return this.props.containerSize.h},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"selIndex",{get:function(){return this.props.selIndex},set:function(t){this.props.selIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"selType",{get:function(){return this.props.selType},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"items",{get:function(){return this.props.items},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isSingleSelType",{get:function(){return this.selType===e.ListBoxSelectionType.single},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isMultiSelType",{get:function(){return this.selType===e.ListBoxSelectionType.multi},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isExtendSelType",{get:function(){return this.selType===e.ListBoxSelectionType.extend},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"highlightHoverItem",{get:function(){return this.props.highlightHoverItem},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"itemsAreaWidth",{get:function(){var t=this.width;return this.needHiddenScrollBar||(t-=this.scrollBarWidth),t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needHiddenScrollBar",{get:function(){return!!(this.props.hiddenScrollBarWhenAllItemCanDisplay&&this.onePageCanDisplayItemCount>=this.itemsCount)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"scrollBarWidth",{get:function(){return Math.min(this.props.scrollBarWidth,this.width)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"scrollBarLeftOffset",{get:function(){return this.width-this.scrollBarWidth},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"itemsCount",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"itemHeight",{get:function(){return this.props.itemHeight},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"actualRenderItemHeight",{get:function(){return this.height/this.onePageCanDisplayItemCount},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"scrollItemCount",{get:function(){return this.props.scrollCount},set:function(t){this.props.scrollCount=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"maxScrollCount",{get:function(){return Math.max(0,this.itemsCount-this.onePageCanDisplayItemCount)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onePageCanDisplayItemCount",{get:function(){return Math.round(this.height/this.itemHeight)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"currentPageDisplayItemCount",{get:function(){var t,V,t=this.onePageCanDisplayItemCount,V=this.itemsCount-this.scrollItemCount;return Math.min(t,V)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"mouseDownItemIndexIsValid",{get:function(){return-1!==this.ZtV},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"threeDShading",{get:function(){return this.props.threeDShading},enumerable:!1,configurable:!0}),u.prototype.scroll=function(t){this.scrollTo(this.scrollItemCount+t)},u.prototype.scrollTo=function(t){var V,n,V=0,n=this.maxScrollCount;t=Math.min(t,n),t=Math.max(t,0),this.scrollItemCount=t},u.prototype.setSelIndex=function(t){this.isSingleSelType&&"number"==typeof t&&(this.props.selIndex=t)},u.prototype.addOrRemoveSelIndex=function(t){var V,n;this.isSingleSelType||(-1!==(n=(V=this.selIndex).indexOf(t))?V.splice(n,1):V.push(t),V.sort(function(t,V){return t-V}))},u.prototype.setSelIndexRange=function(t,V){var n,i,e;if(this.isExtendSelType){for(V<t&&(n=V,V=t,t=n),i=[],e=t;e<=V;e++)i.push(e);this.props.selIndex=i}},u.prototype.getClickItemIndex=function(t){var V,t,V=this.actualRenderItemHeight,t=Math.floor(t/V)+this.scrollItemCount;return t>=this.itemsCount?-1:t+1},u.prototype.startScrollInterval=function(t){var V,n,i,V=this,n=80,i=function(){V.scroll(t),V.KQt=t<0?V.scrollItemCount+1:V.scrollItemCount+V.currentPageDisplayItemCount,V.refresh(),V.vWt=window.setTimeout(i,80)};this.vWt=window.setTimeout(i,0)},u.prototype.stopScrollInterval=function(){void 0!==this.vWt&&(window.clearTimeout(this.vWt),this.vWt=void 0)},u.prototype.isNeedHighlightItem=function(t){var V,n,i,V=this.mouseDownItemIndexIsValid,n=this.KQt,i=this.highlightHoverItem;return this.isSingleSelType&&i&&-1!==n?t===n:V?this.isNeedHighlightItemOnMouseDown(t):this.isSelectedItem(t)},u.prototype.isNeedHighlightItemOnMouseDown=function(t){var V,t,V=JSON.stringify(this.selIndex);return this.changeSelIndexOnMouseUp(),t=this.isSelectedItem(t),this.selIndex=JSON.parse(V),t},u.prototype.isSelectedItem=function(t){return this.isSingleSelType?t===this.selIndex:-1!==this.selIndex.indexOf(t)},u.prototype.setCursor=function(t){this.props.setCursor(t)},u.prototype.getPointerRelativeControl=function(t){return this.props.getPointerRelativeControl(t)},u.prototype.refresh=function(){this.props.refresh()},u.prototype.getItemRenderHeightForAT=function(){return this.actualRenderItemHeight},u.prototype.getScrollUpButtonRectangleForAT=function(){var t=this.iWt.scrollUpBtnRect,t;return t=i(i({},t),{x:t.x+this.scrollBarLeftOffset})},u.prototype.getScrollDownButtonRectangleForAT=function(){var t=this.iWt.scrollDownBtnRect,t;return t=i(i({},t),{x:t.x+this.scrollBarLeftOffset})},u.prototype.getScrollSliderRectangleForAT=function(){var t=this.iWt.scrollSliderRect,t;return t=i(i({},t),{x:t.x+this.scrollBarLeftOffset})},V.ListBox=u},"./dist/plugins/shape/formControl/controls/listBoxFormControl.js":function(t,V,n){var i,e,r,c,s,d,o,a,h,u,x,y;function f(){return null!==y&&y.apply(this,arguments)||this}i=this&&this.__extends||(x=function(t,V){return(x=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}x(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ListBoxFormControl=void 0,r=n("./dist/plugins/shape/drawingInterface.js"),c=n("./dist/plugins/shape/ui/util.js"),s=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),d=n("./dist/plugins/shape/formControl/controls/listBox.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),a=-1,h=0,y=s.SupportCellLinkFormControl,i(f,y),f.prototype.init=function(t){y.prototype.init.call(this,t),this.y4=-1,this.LEt={cellLink:void 0,inputRange:void 0,selectionType:r.ListBoxSelectionType.single,threeDShading:!1},this.UtV=new d.ListBox,this.UtV.props.onSelIndexChange=this.onSelIndexChange.bind(this),this.UtV.props.getPointerRelativeControl=this.getPointerRelativeControl.bind(this),this.UtV.props.refresh=this.refresh.bind(this)},Object.defineProperty(f.prototype,"value",{get:function(){return this.UtV.props.selIndex},set:function(t){var V=this.value;JSON.stringify(V)!==JSON.stringify(t)&&(this.isSingleSelectionType?"number"==typeof t&&(this.UtV.props.selIndex=t,this.syncValueToCell(),this.triggerValueChangedEvent(V,this.value),this.refresh()):Array.isArray(t)&&(this.UtV.props.selIndex=t,this.triggerValueChangedEvent(V,this.value),this.refresh()))},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink,inputRange:this.inputRange,selectionType:this.UtV.props.selType,threeDShading:this.UtV.props.threeDShading})},set:function(t){this.UtV.props.threeDShading=t.threeDShading,this.switchSelType(t.selectionType),this.inputRange=t.inputRange,this.cellLink=t.cellLink,this.refresh()},enumerable:!1,configurable:!0}),f.prototype.mapToCellValue=function(t){return-1===t?0:t},f.prototype.syncValueToCell=function(){var t;this.isSingleSelectionType&&(t=this.mapToCellValue(this.value),this.syncValueToCellImp(t))},f.prototype.syncValueFromCell=function(t){var V;t=(0,o.normalizeInteger)(t),this.isSingleSelectionType&&!isNaN(t)&&(V=this.value)!==(t=t<0?-1:t)&&(this.UtV.props.selIndex=t,this.triggerValueChangedEvent(V,this.value))},f.prototype.onSelIndexChange=function(t,V){this.syncValueToCell(),this.triggerValueChangedEvent(t,V)},f.prototype.shouldProcessMouseDownEvt=function(t){return!(!this.shouldProcessMouseEvt(t)||0!==t.evt.button&&void 0!==t.evt.button||this.cellLink&&this.linkedCellIsLocked||t.evt.ctrlKey&&this.options.selectionType!==r.ListBoxSelectionType.extend)},f.prototype.doMouseDown=function(t){return this.UtV.onMouseDown(t.evt)},f.prototype.doMouseMove=function(t){this.UtV.onMouseMove(t.evt)},f.prototype.doMouseUp=function(t){this.UtV.onMouseUp(t.evt)},f.prototype.render=function(t,V){var n,i,e,c,n=this.width,i=this.height,e=this.getInputRangeTexts(),c=this.UtV;c.props.containerSize={w:n,h:i},c.props.items=e,t.save(),t.translate(-n/2,-i/2),t.beginPath(),this.applyTextStyle(t,!0,!1),c.props.itemHeight=this.getItemHeight(t),c.render(t),t.restore()},f.prototype.switchSelType=function(t){var V,n,i,V=this.UtV,n=V.props,i=n.selIndex;t&&V.props.selType!==t&&((n.selType=t)===r.ListBoxSelectionType.single?Array.isArray(i)&&0<i.length?n.selIndex=i[0]:n.selIndex=-1:"number"==typeof i&&-1!==i?n.selIndex=[i]:Array.isArray(i)||(n.selIndex=[]))},f.prototype.fromExcelProps=function(t){var V,n,i,i,V=this.UtV,n=this.options,i=this.height;t.fmlaLink&&(n.cellLink=t.fmlaLink),t.fmlaRange&&(n.inputRange=t.fmlaRange),n.threeDShading="1"!==t.noThreeD,n.selectionType=t.seltype||r.ListBoxSelectionType.single,t.val&&(V.props.scrollCount=parseInt(t.val,10)),t.page&&(V.props.itemHeight=i/t.page),t.dx&&(V.props.scrollBarWidth=parseInt(t.dx,10)),this.options=n,this.isSingleSelectionType?this.value=parseInt(t.sel,10)||-1:(i=t.multiSel||"",this.value=i.split(",").filter(function(t){return t}).map(function(t){return parseInt(t,10)}))},f.prototype.toExcelProps=function(){var t,V,n,i,e,c,n,t=this.value,V=this.options,n=this.UtV,i=n.props.scrollCount,e=n.onePageCanDisplayItemCount,c,n={dx:n.props.scrollBarWidth.toString(),noThreeD:V.threeDShading?"0":"1",inc:"1",fmlaLink:V.cellLink,fmlaRange:V.inputRange,seltype:V.selectionType,val:i.toString(),page:e.toString()};return V.selectionType===r.ListBoxSelectionType.single&&(n.sel=t.toString()),V.selectionType!==r.ListBoxSelectionType.multi&&V.selectionType!==r.ListBoxSelectionType.extend||(n.multiSel=t.join(", ")),n},Object.defineProperty(f.prototype,"isSingleSelectionType",{get:function(){return this.options.selectionType===r.ListBoxSelectionType.single},enumerable:!1,configurable:!0}),f.prototype.getItemHeight=function(t){var V,t,V=17,t=c.Common.getFontHeight(t.font);return Math.abs(t-17)<2?17:t},f.prototype.getListBoxComponentForAT=function(){return this.UtV},V.ListBoxFormControl=f},"./dist/plugins/shape/formControl/controls/radioFormControl.js":function(t,V,n){var i,e,c,r,s,d,o,a,h;function u(){var t=null!==h&&h.apply(this,arguments)||this;return t.lp=1,t}i=this&&this.__extends||(a=function(t,V){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}a(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.RadioFormControl=void 0,c=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),r=n("./dist/plugins/shape/formControl/controls/util.js"),s=1,d=0,h=c.SupportCellLinkFormControl,i(u,h),u.prototype.init=function(t){h.prototype.init.call(this,t),this.y4=!1,this.LEt={cellLink:"",threeDShading:!1}},Object.defineProperty(u.prototype,"value",{get:function(){return this.y4},set:function(t){var V=this.y4;V!==(t=!!t)&&(t&&this.setOtherRadioToFalse(),this.y4=t,this.syncValueToCell(),this.triggerValueChangedEvent(V,t),this.refresh())},enumerable:!1,configurable:!0}),u.prototype.syncValueToCell=function(){var t,V,V,t,V=this.getAllRadioInSameGroup().filter(function(t){return t.value})[0];V?V.syncValueToCellImp(V.lp):null!==(V=this.getCellValue())&&0!==V&&this.syncValueToCellImp(0)},Object.defineProperty(u.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.LEt.threeDShading=t.threeDShading,this.setCellLinkForAllRadio(t.cellLink),this.refresh()},enumerable:!1,configurable:!0}),u.defaultStyle=function(){return{vAlign:1,margins:{left:3,right:0,top:2,bottom:2}}},u.prototype.styleSupportInfo=function(){var t,t,V,n,i,t=this.radioBoxRect,t=t.x+t.w,V,n,i;return{supportFill:!0,supportLine:!0,supportText:!0,textRect:{x:t,y:0,w:this.width-t,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},u.prototype.setIndex=function(t){this.lp=t},u.prototype.doMouseDown=function(t){return this.value||(this.value=!0),!0},u.prototype.render=function(t,V){var n,i,n,i,n=this.width,i=this.height;t.save(),t.translate(-n/2,-i/2),i=(n=this.radioBoxRect).w/2,t.translate(n.x,n.y),this.threeDShading?((0,r.strokeCircle)(t,i,i,i,"rgb(100,100,100)"),(0,r.fillCircle)(t,i,i,i,"white"),t.beginPath(),t.arc(i,i,i-.5,3*Math.PI/4,7*Math.PI/4),t.strokeStyle="rgb(60,60,60)",t.stroke()):((0,r.strokeCircle)(t,i,i,i),(0,r.fillCircle)(t,i,i,i,"white")),this.value&&(0,r.fillCircle)(t,i,i,i/2,"black"),t.restore()},u.prototype.mapValueFromCell=function(t){return this.lp===(t=!0===t?1:t)},u.prototype.setOtherRadioToFalse=function(){var V=this;V.getAllRadioInSameGroup().forEach(function(t){t!==V&&t.setValueDirectly(!1)})},u.prototype.setValueDirectly=function(t){var V=this.y4;V!==t&&(this.y4=t,this.triggerValueChangedEvent(V,t))},u.prototype.setCellLinkForAllRadio=function(V,t){var n;void 0===t&&(t=!0),this.getAllRadioInSameGroup().forEach(function(t){t.setCellLinkCore(V,!1)}),t&&this.syncValueToCell()},Object.defineProperty(u.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"radioBoxRect",{get:function(){var t,V,n,t=12,V=7,n;return{x:7,y:(this.height-12)/2,w:12,h:12}},enumerable:!1,configurable:!0}),u.prototype.getAllRadioInSameGroup=function(){var t,V,n,i,t=this.shape,V,n=t.Mf.QtV.getGroupByRadio(t),i;return(n?n.ztV:[t]).map(function(t){return t.GtV})},u.prototype.fromExcelProps=function(t){var V=this.LEt;t.fmlaLink&&this.setCellLinkForAllRadio(t.fmlaLink,!1),t.firstButton&&(this.lp=1),V.threeDShading="1"!==t.noThreeD,this.y4=!!t.checked},u.prototype.toExcelProps=function(){var t,V,t=this.options,V={noThreeD:t.threeDShading?"0":"1"};return this.y4&&(V.checked="Checked"),1===this.lp&&(V.firstButton="1",V.fmlaLink=t.cellLink),V},V.RadioFormControl=u},"./dist/plugins/shape/formControl/controls/scrollFormControl.js":function(t,V,n){var i,e,c,r,s,d,o,a,h;function u(){return null!==h&&h.apply(this,arguments)||this}i=this&&this.__extends||(a=function(t,V){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}a(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ScrollFormControl=void 0,c=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),r=n("./dist/plugins/shape/formControl/controls/scrollbar.js"),s=n("./dist/plugins/shape/formControl/controls/util.js"),d=10,h=c.SupportCellLinkFormControl,i(u,h),u.prototype.init=function(t){h.prototype.init.call(this,t),this.LEt={minValue:0,maxValue:100,step:1,pageChange:10,cellLink:""},this.iWt=new r.ScrollBar,this.JtV()},Object.defineProperty(u.prototype,"value",{get:function(){return this.iWt.props.value},set:function(t){this.YI(t,!0),this.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"options",{get:function(){var t=this.iWt.props;return e(e({},this.LEt),{cellLink:this.cellLink,minValue:t.min,maxValue:t.max,step:t.step,pageChange:t.pageStep})},set:function(t){var V=this.iWt.props;V.step=t.step,V.pageStep=t.pageChange,this.cellLink=t.cellLink,t.minValue<t.maxValue&&(V.min=t.minValue,V.max=t.maxValue,this.YI(this.value,!0)),this.refresh()},enumerable:!1,configurable:!0}),u.prototype.syncValueFromCell=function(t){this.YI(t,!1)},u.prototype.YI=function(t,V){var n;t=(0,s.normalizeInteger)(t),isNaN(t)||(n=this.value,t=Math.min(t,this.iWt.props.max),n!==(t=Math.max(t,this.iWt.props.min))&&(this.iWt.props.value=t,V&&this.syncValueToCell(),this.triggerValueChangedEvent(n,t)))},u.prototype.JtV=function(){var t=this.iWt;t.props.onScroll=this.WtV.bind(this),t.props.getPointerRelativeControl=this.getPointerRelativeControl.bind(this),t.props.refresh=this.refresh.bind(this)},u.prototype.WtV=function(t,V){this.syncValueToCell(),this.triggerValueChangedEvent(t,V)},u.prototype.doMouseDown=function(t){return this.iWt.onMouseDown(t.evt)},u.prototype.doMouseMove=function(t){this.iWt.onMouseMove(t.evt)},u.prototype.doMouseUp=function(t){this.iWt.onMouseUp(t.evt)},u.prototype.render=function(t,V){var n,i,e,c,n=this.width,i=this.height,e=this.iWt,c=e.scrollTrackViewLen/(e.max-e.min+1);t.save(),t.translate(-n/2,-i/2),e.props.containerSize={w:n,h:i},e.props.direction=this.direction,e.props.sliderHeight=Math.max(c,10),e.render(t),t.restore()},Object.defineProperty(u.prototype,"direction",{get:function(){return this.width>this.height?r.ScrollBarDirection.horizontal:r.ScrollBarDirection.vertical},enumerable:!1,configurable:!0}),u.prototype.fromExcelProps=function(t){var V=this.options;t.fmlaLink&&(V.cellLink=t.fmlaLink),t.min&&(V.minValue=parseInt(t.min,10)),t.max&&(V.maxValue=parseInt(t.max,10)),t.inc&&(V.step=parseInt(t.inc,10)),t.val&&(this.value=parseInt(t.val,10)),t.page&&(V.pageChange=parseInt(t.page,10)),this.options=V},u.prototype.toExcelProps=function(){var t=this.options;return{fmlaLink:t.cellLink,min:t.minValue.toString(),max:t.maxValue.toString(),inc:t.step.toString(),page:t.pageChange.toString(),val:this.value.toString(),horiz:this.direction===r.ScrollBarDirection.horizontal?"1":"0"}},u.prototype.getScrollUpButtonRectangleForAT=function(){return this.iWt.scrollUpBtnRect},u.prototype.getScrollDownButtonRectangleForAT=function(){return this.iWt.scrollDownBtnRect},u.prototype.getScrollSliderRectangleForAT=function(){return this.iWt.scrollSliderRect},V.ScrollFormControl=u},"./dist/plugins/shape/formControl/controls/scrollbar.js":function(t,V){var n,i,x,h,u,e,c,c;function r(){this.KtV=!1,this.$tV=0,this.tVV="",this.tWt={containerSize:{w:0,h:0},value:0,min:0,max:100,step:1,pageStep:10,sliderHeight:10,syncSliderHeightWithPageStep:!1,direction:i.vertical,onScroll:function(){},refresh:function(){},setCursor:function(){},getPointerRelativeControl:function(t){return{x:0,y:0}}}}n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ScrollBar=V.ScrollBarDirection=void 0,(c=i=V.ScrollBarDirection||(V.ScrollBarDirection={})).horizontal="horizontal",c.vertical="vertical",(c=x=x||{}).scrollUpBtn="scroll_up_btn",c.scrollDownBtn="scroll_down_btn",c.scrollSlider="scroll_slider",c.scrollTrack="scroll_track",h="up",u="down",Object.defineProperty(r.prototype,"props",{get:function(){return this.tWt},set:function(t){this.tWt=t},enumerable:!1,configurable:!0}),r.prototype.hitTest=function(t,V){var n,i,e,e,c,r,s,d,o,a;return this.isInBounding(t,V)?(c=(e=this.isHorizontalDirection)?this.width:this.height,r=this.scrollBtnLen,s=this.scrollSliderOffset,d=this.scrollSliderLen,(e=e?t:V)<=r?n=x.scrollUpBtn:c-r<=e?n=x.scrollDownBtn:s<=e&&e<=s+d?n=x.scrollSlider:(n=x.scrollTrack,i=e<s?h:u),{target:n,data:i,offsetWithSlider:o=e-s,offsetWithTrack:a=e-r}):{target:void 0}},r.prototype.onMouseDown=function(t){var t,t,V,n,t,i,e,t=this.getPointerRelativeControl(t),t=this.hitTest(t.x,t.y),V=t.target,n=t.data,t=t.offsetWithSlider,i=this.step,e=this.pageStep;return V===x.scrollUpBtn?(this.scroll(-i),this.startScrollInterval(-i),this.tVV=x.scrollUpBtn):V===x.scrollDownBtn?(this.scroll(i),this.startScrollInterval(i),this.tVV=x.scrollDownBtn):V===x.scrollSlider?(this.KtV=!0,this.$tV=t):V===x.scrollTrack&&this.scroll(n===h?-e:e),this.refresh(),!0},r.prototype.onMouseMove=function(t){var t,t,V,t,V,t;this.KtV&&(t=this.getPointerRelativeControl(t),V=(t=this.hitTest(t.x,t.y)).target,t=t.offsetWithTrack,V!==x.scrollTrack&&V!==x.scrollSlider||(V=(t-this.$tV)/this.scrollTrackLen,t=Math.round((this.max-this.min)*V+this.min),this.scrollTo(t)),this.refresh()),this.setCursor("pointer")},r.prototype.onMouseUp=function(t){this.KtV=!1,this.$tV=0,this.tVV="",this.stopScrollInterval(),this.refresh()},r.prototype.render=function(c){var t,V,n,r,s,d,i,o,e,a,h,u,t=this,V=this.width,n=this.height,r=this.isHorizontalDirection,s=this.scrollUpBtnRect,d=this.scrollDownBtnRect,i=this.scrollSliderRect,o=this.scrollArrowLen,e=this.tVV,a=function(t,V,n,i){c.rect(t.x,t.y,t.w,t.h),n&&(i&&(c.lineWidth=i),c.strokeStyle=n,c.stroke()),V&&(c.fillStyle=V,c.fill())},h=function(t,V){var n,i,e,t,n=V?s:d,i=t?"rgb(96, 96, 96)":"rgb(240, 240, 240)",e=t?"white":"rgb(96, 96, 96)",t=function(){c.save(),c.translate(n.x,n.y),c.translate((n.w-2*o)/2,(n.h-o)/2),c.beginPath();var t=0,t;(t=V?r?-90:0:r?90:180)&&(c.translate(o,o/2),c.rotate(t/180*Math.PI),c.translate(-o,-o/2)),c.moveTo(0,o),c.lineTo(o,0),c.lineTo(2*o,o),c.strokeStyle=e,c.lineWidth=2,c.stroke(),c.restore()};c.beginPath(),a(n,i),t()},u=function(){t.needRenderScrollSlider&&(c.beginPath(),a(i,"rgb(205,205,205)"))};c.save(),c.beginPath(),a({x:0,y:0,w:V,h:n},"rgb(240, 240, 240)"),h(e===x.scrollUpBtn,!0),u(),h(e===x.scrollDownBtn,!1),c.restore()},Object.defineProperty(r.prototype,"width",{get:function(){return this.props.containerSize.w},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this.props.containerSize.h},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"length",{get:function(){return this.isHorizontalDirection?this.width:this.height},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollBtnLen",{get:function(){var t=this.isHorizontalDirection?this.height:this.width;return Math.min(this.length/2,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"needRenderScrollSlider",{get:function(){return this.min<this.max},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollSliderLen",{get:function(){var t,V;return this.needRenderScrollSlider?(t=this.props.sliderHeight,this.syncSliderHeightWithPageStep&&(V=this.pageStep/(this.max-this.min+this.pageStep),t=Math.max(t,this.scrollTrackViewLen*V)),Math.min(t,this.scrollTrackViewLen)):0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollSliderOffset",{get:function(){return this.scrollBtnLen+this.scrollSliderOffsetWithTrack},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollSliderOffsetWithTrack",{get:function(){var t;return this.needRenderScrollSlider?(t=(this.value-this.min)/(this.max-this.min),this.scrollTrackLen*t):0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollTrackLen",{get:function(){return this.scrollTrackViewLen-this.scrollSliderLen},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollTrackViewLen",{get:function(){return Math.max(this.length-2*this.scrollBtnLen,0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.tWt.value},set:function(t){this.tWt.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"min",{get:function(){return this.tWt.min},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"max",{get:function(){return this.tWt.max},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"step",{get:function(){return this.tWt.step},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"pageStep",{get:function(){return this.tWt.pageStep},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"syncSliderHeightWithPageStep",{get:function(){return this.tWt.syncSliderHeightWithPageStep},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"direction",{get:function(){return this.tWt.direction},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isHorizontalDirection",{get:function(){return this.direction===i.horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollArrowLen",{get:function(){var t,V,t,t=this.scrollBtnSize.w,V=this.scrollBtnSize.h,t=Math.min(.25*t,.5*V);return Math.min(t,5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollBtnSize",{get:function(){return this.isHorizontalDirection?{w:this.scrollBtnLen,h:this.height}:{w:this.width,h:this.scrollBtnLen}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollUpBtnRect",{get:function(){var t=this.scrollBtnSize;return n({x:0,y:0},t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollDownBtnRect",{get:function(){var t,V,t=this.scrollBtnSize,V=this.length-this.scrollBtnLen;return this.isHorizontalDirection?n({x:V,y:0},t):n({x:0,y:V},t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"scrollSliderRect",{get:function(){var t=this.scrollSliderOffset;return this.isHorizontalDirection?{x:t,y:0,w:this.scrollSliderLen,h:this.height-1}:{x:0,y:t,w:this.width-1,h:this.scrollSliderLen}},enumerable:!1,configurable:!0}),r.prototype.scroll=function(t){this.scrollTo(this.value+t)},r.prototype.scrollTo=function(t){var V,n,i,V=this.value,n=this.min,i=this.max;t=Math.min(t,i),t=Math.max(t,n),this.value!==t&&(this.value=t,this.props.onScroll(V,t))},r.prototype.isInBounding=function(t,V){var n,i,n=this.width,i=this.height;return 0<=t&&t<=n&&0<=V&&V<=i},r.prototype.startScrollInterval=function(t){var V,n,i,e,V=this,n=80,i,e=function(){V.scroll(t),V.refresh(),V.vWt=window.setTimeout(e,80)};this.vWt=window.setTimeout(e,260)},r.prototype.stopScrollInterval=function(){void 0!==this.vWt&&(window.clearTimeout(this.vWt),this.vWt=void 0)},r.prototype.setCursor=function(t){this.props.setCursor(t)},r.prototype.getPointerRelativeControl=function(t){return this.props.getPointerRelativeControl(t)},r.prototype.refresh=function(){this.props.refresh()},V.ScrollBar=r},"./dist/plugins/shape/formControl/controls/spinFormControl.js":function(t,V,n){var i,e,c,d,r,s,o,a;function h(){var t=null!==a&&a.apply(this,arguments)||this;return t.VVV=!1,t.nVV=!1,t}i=this&&this.__extends||(o=function(t,V){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}o(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.SpinButtonFormControl=void 0,c=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),d=n("./dist/plugins/shape/formControl/controls/util.js"),r=1,a=c.SupportCellLinkFormControl,i(h,a),h.prototype.init=function(t){a.prototype.init.call(this,t),this.y4=0,this.LEt={minValue:0,maxValue:3e4,step:1,cellLink:"",threeDShading:!0}},Object.defineProperty(h.prototype,"value",{get:function(){return this.y4},set:function(t){this.YI(t,!0),this.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.LEt.step=t.step,this.LEt.threeDShading=t.threeDShading,this.cellLink=t.cellLink,t.minValue<t.maxValue&&(this.LEt.minValue=t.minValue,this.LEt.maxValue=t.maxValue,this.YI(this.value,!0)),this.refresh()},enumerable:!1,configurable:!0}),h.prototype.syncValueFromCell=function(t){this.YI(t,!1)},h.prototype.YI=function(t,V){var n;t=(0,d.normalizeInteger)(t),isNaN(t)||(n=this.y4,t=Math.min(t,this.LEt.maxValue),n!==(t=Math.max(t,this.LEt.minValue))&&(this.y4=t,V&&this.syncValueToCell(),this.triggerValueChangedEvent(n,t)))},h.prototype.doMouseDown=function(t){var t,V,n,t=this.getPointerRelativeControl(t.evt,t.canvas),V=this.height,n=this.options.step;return t.y<=V/2?(this.VVV=!0,this.refresh(),this.value+=n,this.eVV(n)):(this.nVV=!0,this.refresh(),this.value-=n,this.eVV(-n)),!0},h.prototype.doMouseUp=function(){this.VVV=!1,this.nVV=!1,this.iVV(),this.refresh()},h.prototype.render=function(t,V){var n,i,e,c,n=this.width,i=this.height,e=this.VVV,c=this.nVV;t.save(),t.translate(-n/2,-i/2),this.cVV(t,e,n,i),this.rVV(t,c,n,i),t.restore()},h.prototype.cVV=function(t,V,n,i){this.dVV(t,V,!0,n,i)},h.prototype.rVV=function(t,V,n,i){t.save(),t.translate(0,i/2+1),this.dVV(t,V,!1,n,i),t.restore()},h.prototype.dVV=function(t,V,n,i,e){var e,c,r,s;this.threeDShading?this.oVV(t,V,n,i,e):(c="black",s=V?"white":"black",(0,d.fillRect)(t,0,0,i,e=e/2,r=V?"black":"white"),(0,d.strokeRect)(t,0,0,i,e,c),this.drawSpinArrow(t,s,n,i,e))},h.prototype.oVV=function(t,V,n,i,e){var e,c,r,s,e=e/2;t.save(),c="rgb(160,160,160)",s="black",(0,d.fillRect)(t,0,0,i,e,r="rgb(240,240,240)"),V?((0,d.strokeRect)(t,0,0,i,e,c),t.save(),t.translate(1,1),this.drawSpinArrow(t,s,n,i,e),t.restore()):((0,d.drawTheeDShadingOuterRect)(t,i,e,1,"#f0f0f0","black"),(0,d.drawTheeDShadingInnerRect)(t,i,e,1,"white","#a0a0a0"),this.drawSpinArrow(t,s,n,i,e)),t.restore()},h.prototype.drawSpinArrow=function(t,V,n,i,e){var c,c,i,e,c=.25,c=Math.min(i*c*2,e*c),i=(i-2*c)/2,e=(e-c)/2;t.save(),t.translate(i,e),t.beginPath(),n?(t.moveTo(0,c),t.lineTo(c,0),t.lineTo(2*c,c)):(t.moveTo(0,0),t.lineTo(2*c,0),t.lineTo(c,c)),t.closePath(),t.fillStyle=V,t.fill(),t.restore()},h.prototype.fromExcelProps=function(t){var V=this.options;t.fmlaLink&&(V.cellLink=t.fmlaLink),t.min&&(V.minValue=parseInt(t.min,10)),t.max&&(V.maxValue=parseInt(t.max,10)),t.inc&&(V.step=parseInt(t.inc,10)),t.val&&(this.value=parseInt(t.val,10)),t.noThreeD&&(V.threeDShading="1"!==t.noThreeD),this.options=V},h.prototype.toExcelProps=function(){var t=this.options;return{fmlaLink:t.cellLink,min:t.minValue.toString(),max:t.maxValue.toString(),inc:t.step.toString(),noThreeD:t.threeDShading?"0":"1",val:this.value.toString()}},h.prototype.eVV=function(t){var V,n,i,e,V=this,n=80,i,e=function(){V.value+=t,V.aVV=window.setTimeout(e,80)};this.aVV=window.setTimeout(e,260)},h.prototype.iVV=function(){void 0!==this.aVV&&(window.clearTimeout(this.aVV),this.aVV=void 0)},Object.defineProperty(h.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),V.SpinButtonFormControl=h},"./dist/plugins/shape/formControl/controls/util.js":function(t,V,n){Object.defineProperty(V,"__esModule",{value:!0}),V.normalizeInteger=V.drawRoundedRect=V.clone=V.isInRangeWithLen=V.isInRange=V.pointIsInRect=V.fillCircle=V.strokeCircle=V.fillRect=V.strokeRect=V.drawTheeDShadingInnerRectFourColor=V.drawTheeDShadingOuterRectFourColor=V.drawTheeDShadingInnerRect=V.drawTheeDShadingOuterRect=V.drawTheeDShadingRectFourColor=V.drawTheeDShadingRect=V.getAllShape=void 0;var i=n("./dist/plugins/shape/drawingInterface.js");function e(t){var V,n,V=[],n=function(t){t&&t.forEach(function(t){t.ttV===i.CT_ShapeType.CT_GroupShape?n(t.tin):V.push(t)})};return n(t||[]),V}function r(t,V,n,i,e,c,r){V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5,--i,--e,t.save(),t.lineWidth=1,t.translate(V,n),t.beginPath(),t.moveTo(0,e),t.lineTo(0,0),t.lineTo(i,0),t.strokeStyle=c,t.stroke(),t.beginPath(),t.moveTo(i,0),t.lineTo(i,e),t.lineTo(0,e),t.strokeStyle=r,t.stroke(),t.restore()}function d(t,V,n,i,e,c,r,s,d){V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5,--i,--e,t.save(),t.lineWidth=1,t.translate(V,n),t.beginPath(),t.moveTo(0,0),t.lineTo(i,0),t.strokeStyle=r,t.stroke(),t.beginPath(),t.moveTo(i,0),t.lineTo(i,e),t.strokeStyle=s,t.stroke(),t.beginPath(),t.moveTo(i,e),t.lineTo(0,e),t.strokeStyle=d,t.stroke(),t.beginPath(),t.moveTo(0,e),t.lineTo(0,0),t.strokeStyle=c,t.stroke(),t.restore()}function c(t,V,n,i,e,c){r(t,0,0,V+i,n+i,e,c)}function s(t,V,n,i,e,c){r(t,i,i,V-i,n-i,e,c)}function o(t,V,n,i,e,c,r,s){d(t,0,0,V+i,n+i,e,c,r,s)}function a(t,V,n,i,e,c,r,s){d(t,i,i,V-i,n-i,e,c,r,s)}function h(t,V,n,i,e,c,r){void 0===c&&(c="black"),(r=void 0===r?1:r)%2==1&&(V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5),t.beginPath(),t.rect(V,n,i,e),t.lineWidth=r,t.strokeStyle=c,t.stroke()}function u(t,V,n,i,e,c){void 0===c&&(c="white"),t.beginPath(),t.rect(V,n,i,e),t.fillStyle=c,t.fill()}function x(t,V,n,i,e,c){void 0===e&&(e="black"),void 0===c&&(c=1),t.beginPath(),t.arc(V,n,i,0,2*Math.PI),t.lineWidth=1,t.strokeStyle=e,t.stroke()}function y(t,V,n,i,e){void 0===e&&(e="white"),t.beginPath(),t.arc(V,n,i,0,2*Math.PI),t.fillStyle=e,t.fill()}function f(t,V){return g(t.x,V.x,V.w)&&g(t.y,V.y,V.h)}function l(t,V,n){return V<=t&&t<=n}function g(t,V,n){return V<=t&&t<=V+n}function A(t){return JSON.parse(JSON.stringify(t))}function w(t,V,n){var i=t.x,e=t.y,c=t.width,t=t.height;n.beginPath(),n.moveTo(i+V,e),n.lineTo(i+c-V,e),n.quadraticCurveTo(i+c,e,i+c,e+V),n.lineTo(i+c,e+t-V),n.quadraticCurveTo(i+c,e+t,i+c-V,e+t),n.lineTo(i+V,e+t),n.quadraticCurveTo(i,e+t,i,e+t-V),n.lineTo(i,e+V),n.quadraticCurveTo(i,e,i+V,e),n.closePath(),n.fill()}function p(t){return t="number"==typeof t?Math.floor(t):"string"==typeof t?parseInt(t,10):NaN}V.getAllShape=e,V.drawTheeDShadingRect=r,V.drawTheeDShadingRectFourColor=d,V.drawTheeDShadingOuterRect=c,V.drawTheeDShadingInnerRect=s,V.drawTheeDShadingOuterRectFourColor=o,V.drawTheeDShadingInnerRectFourColor=a,V.strokeRect=h,V.fillRect=u,V.strokeCircle=x,V.fillCircle=y,V.pointIsInRect=f,V.isInRange=l,V.isInRangeWithLen=g,V.clone=A,V.drawRoundedRect=w,V.normalizeInteger=p},"./dist/plugins/shape/formControl/formControl-io.js":function(O,t,V){var n,c,r,s,e,d,o,a,i,h,u,x,y,f,l,g,A,w,p,v,j;function T(t){return-1!==j.indexOf(t)}function b(t,V,n){var V,t,V,t,V,V=V.rels,t=t[d],V=g(V.c_,t);if(V)return t=V.Target.split("/").pop().slice(0,-4),(V=n.ctrlProps)&&V[t]}function N(t,V,n){var i,e;if(t.n_===h?i=t:t.n_===o&&(i=p(t,"".concat(a,"&").concat(h))),i&&(e=b(i,V,n))&&e.formControlPr&&T(e.formControlPr.objectType))return{control:i,ctrlProp:e}}function P(V,n){var t,i,t=L(V);return t?(i={},t.c_.forEach(function(t){var t=N(t,V,n);t&&t.control.shapeId&&(i[t.control.shapeId]=t)}),i):{}}function L(t){var V,V;return V=(V=w(t,i))||p(t,"".concat(o,"&").concat(a,"&").concat(i))}function D(t,V){var t=(0,r.findSJSExt)(t.nvSpPr.cNvPr.extLst,function(t){return!!t.compatExt});return t&&U(t.compatExt.spid,V)}function U(V,t){return t&&(0,r.find)(t.c_,function(t){return t.n_===u&&(t["o:spid"]||t.id)===V})}function m(t){var V,t,V,n,i,i,e,c,V,r,t,V=t.ctrlProp.formControlPr,t=t.vmlDrawingShape,V=Ct(V);return delete V.xmlns,n=w(t,"ClientData"),i=w(n,"Val"),V.val===v&&i&&(V.val=i.c_[0]),i=!!w(n,x),r=c=!0,{props:V,hidden:e=-1!==t.style.indexOf("visibility:hidden"),disabled:i,locked:c=(V=w(n,y))&&V.c_[0]===l?!1:c,print:r=(t=w(n,f))&&t.c_[0]===l?!1:r}}function C(t,V,n){var i;(t.c_||[]).forEach(function(t){(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?R(t.sp,V,n):t.n_===e.GrpSpNodeName&&C(t,V,n)})}function R(t,V,n){var i,V,i,V=V[t.nvSpPr.cNvPr.id];return V&&(V.vmlDrawingShape=D(t,n),t.controlInfo=m(V)),!!V}function M(t){return t.some(function(t){return t.ttV===s.CT_ShapeType.CT_FormControlShape||(t.ttV===s.CT_ShapeType.CT_GroupShape?M(t.all()):void 0)})}function q(t){return t&&t.controlInfo}function k(t){return t&&(t.controlInfo||(0,r.findSJSExt)(t.nvSpPr.cNvPr.extLst,function(t){return!!t.compatExt}))}function B(t,n,i,e,c,r){var t=z(t);t&&0!==t.length&&(c.c_.push(E()),t.sort(function(t,V){return t.id-V.id}),t.forEach(function(t,V){Q(t.sp,n,i,e,c,r+V)}))}function Z(t,V,n){var V,i,i,n,V=V.rels;return n.ctrlProps||(n.ctrlProps={}),i=Object.keys(n.ctrlProps).length+1,i=c.XFileConstants.lu+i,n.ctrlProps[i]=t,n=c.XFileConstants.Rr+A(V),V.c_.push({n_:c.XFileConstants.Lr,Id:n,Type:c.RelationshipConstants.dc,Target:"../ctrlProps/"+i+"."+c.XFileConstants.Cr}),n}function H(t,V,n,i,e){var n,t,V,n="_x0000_s"+n;(0,r.addSJSExt)(t.nvSpPr.cNvPr,{uri:"{63B3BB69-23CF-44E3-9099-C40C66FF867C}",compatExt:{spid:n}}),(t=V.vmlDrawingShape).id=n,t["o:spid"]=n,(V=w(t,"fill"))&&V.src&&(i.rels||c.Util.Nr(i),V["o:relid"]=c.Util.Kr(V.src,i.rels,e),delete V.src),i.c_.push(t)}function z(t){var V=[];return(t||[]).forEach(function(t){var t=(t=t.AlternateContent?t.AlternateContent.Choice:t).twoCellAnchor;(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?I(t.sp,V):t.grpSp&&_(t.grpSp,V)}),V}function I(t,V){t&&t.controlInfo&&V.push({id:+t.nvSpPr.cNvPr.id,sp:t})}function _(t,V){var n;(t.c_||[]).forEach(function(t){(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?I(t.sp,V):t.n_===e.GrpSpNodeName&&_(t,V)})}function Q(t,V,n,i,e,c){var r;t&&t.controlInfo&&(r=G(t,t.controlInfo),delete t.controlInfo,H(t,r,c,e,V),r.control[d]=Z(r.ctrlProp,n,V),i.c_.push(X(r.control)))}function G(t,V){var n={};return n.control=J(t,V),n.ctrlProp=W(V.props),n.vmlDrawingShape=K(V),n}function J(t,V){var n,i,n,t,e,t,c,n=V.anchorInfo,i=n.startPoint,n=n.endPoint,t=t.nvSpPr.cNvPr,e=t.name,t=t.id,c=function(t,V){return{n_:t,c_:[{n_:"col",c_:[V.col]},{n_:"colOff",c_:[(0,r.pixelToEMU)(V.colOffset)]},{n_:"row",c_:[V.row]},{n_:"rowOff",c_:[(0,r.pixelToEMU)(V.rowOffset)]}]}};return{n_:h,shapeId:String(t),name:e,c_:[{n_:"controlPr",defaultSize:r.SJS_False,autoPict:r.SJS_False,disabled:V.disabled?r.SJS_True:v,print:!1===V.print?r.SJS_False:v,locked:!1===V.locked?r.SJS_False:v,c_:[{n_:"anchor",moveWithCells:r.SJS_True,sizeWithCells:r.SJS_True,c_:[c("from",i),c("to",n)]}]}]}}function W(t){return{formControlPr:n({r_:[42]},t)}}function K(t){var V,n,i,n,e,V=t.hidden,n=t.style,i=n.fill,n=n.line,e={n_:"shape",c_:[],type:"#_x0000_t201"};return e.style=pt(V),yt(i)?e.fillcolor=ft(i):e.filled="f",lt(n)?(e.strokecolor=n.color,e.strokeweight=(0,r.pixelToEMU)(n.width)):e.stroked="f",e["o:insetmode"]="auto",yt(i)&&e.c_.push(it(i)),lt(n)&&e.c_.push(et(n)),e.c_.push(vt()),e.c_.push($(t)),e}function $(t){var n,V,i,e,t,c,r,s,n=t.props,V=t.anchorInfo,i=t.disabled,e=t.locked,t=t.print,c,r,s=[{n_:"Anchor",c_:[wt(V.startPoint,V.endPoint)]}];return i&&s.push({n_:x,c_:[]}),!1===e&&s.push({n_:y,c_:[l]}),!1===t&&s.push({n_:f,c_:[l]}),Object.keys(n).forEach(function(t){var V=n[t];"objectType"!==t&&("noThreeD"===t?V&&s.push({n_:"NoThreeD2",c_:[]}):("checked"===t&&(V=At(V)),s.push({n_:Rt(t),c_:[V]})))}),{n_:"ClientData",ObjectType:gt(n.objectType),c_:s}}function E(){return{n_:"shapetype",id:"_x0000_t201",coordsize:"21600,21600","o:spt":"201",path:"m,l,21600r21600,l21600,xe",c_:[{n_:"stroke",joinstyle:"miter"},{n_:"path",shadowok:"f","o:extrusionok":"f",strokeok:"f",fillok:"f","o:connecttype":"rect"},{n_:"lock","v:ext":"edit",shapetype:"t"}]}}function tt(){var t;return X({n_:i,c_:[]})}function F(t,V,n){return V&&(t.r_=V),n&&(t.Requires=n),{AlternateContent:{r_:[14],Choice:t}}}function S(t,V,n){var t={n_:a,c_:[t]};return V&&(t.r_=V),n&&(t.Requires=n),{n_:o,r_:[14],c_:[t]}}function Vt(t){return F(t,[22],"a14")}function nt(t){return F(t,[],"x14")}function X(t){return S(t,[],"x14")}function it(t){var V={n_:"fill"};return t.stops?0===t.type?st(t,V):1===t.type&&ot(t,V):t.src?ut(t,V):V.opacity=1-t.transparency,V}function et(t){var V={n_:"stroke"};return t.dashStyle&&(V.dashstyle=t.dashStyle),t.transparency&&(V.opacity=1-t.transparency),t.lineStyle&&(V.linestyle=t.lineStyle),t.joinStyle&&(V.joinstyle=t.joinStyle),V}function ct(t){return t=(t=(t=(t=s.ST_PresetLineDashVal[t=11===t?1:t]).toLowerCase()).replace("lg","long")).replace("sys","short")}function rt(t){return"dbl"===(t=s.ST_CompoundLine[t])?t="thinThin":"tri"===t&&(t="thickBetweenThin"),t}function st(t,V){var n,i,e,c,r,n=t.stops,i="100%",e=1-n[0].transparency,c=1-n[n.length-1].transparency;ht(n)&&((n=n.slice(0,Math.floor(n.length/2)+1)).forEach(function(t){return t.position*=2}),i="50%",r=e,e=c=1-n[n.length-1].transparency,c=r),V.opacity=e,V.color2=n[n.length-1].color,V["o:opacity2"]=c,V.recolor="t",V.rotate="t",V.angle=dt(t.angle),V.colors=n.map(Y).join(";"),V.method="none",V.focus=i,V.type="gradient"}function dt(t){return t=90-t,(t%=360)<0&&(t+=360),t}function ot(t,V){var n,i,e,c,n=t.stops,i=n[n.length-1],e=1-i.transparency,c=1-n[0].transparency;V.opacity=e,V.color2=i.color,V["o:opacity2"]=c,V.recolor="t",V.rotate="t",V.colors=n.map(Y).join(";"),V.method="none",V.focusposition=at(t.direction),V.focus="100%",V.type="gradientradial"}function at(t){var V="0%,0%";switch(t){case 0:V="50%,50%";break;case 2:V="100%,0%";break;case 3:V="0%,100%";break;case 4:V="100%,100%"}return V}function ht(t){var n,V,i,e,c,n=function(t,V){return Math.abs(t-V)<1e-4},V=function(t,V){return t.color===V.color&&n(t.transparency,V.transparency)&&n(t.position,1-V.position)},i=t.length,e=Math.floor(i/2);if(!(i<3||i%2!=1)&&n(t[e].position,.5)){for(c=0;c<e;c++)if(!V(t[c],t[i-1-c]))return;return 1}}function Y(t){var V,t,V=t.position,t=t.color;return"".concat(Math.round(100*V),"% ").concat(t)}function ut(t,V){V.src=t.src,V["o:relid"]="",V["o:title"]="picture",V.rotate="t",V.type=t.tilePictureAsTexture?"tile":"frame"}function xt(t){return 1-t}function yt(t){return t&&(t.src||t.stops||t.color)}function ft(t){return(t.stops?t.stops[0]:t).color}function lt(t){return t&&t.color}function gt(t){return t="CheckBox"===t?"Checkbox":t}function At(t){return"Checked"===t?1:"Mixed"===t?2:0}function wt(t,V){var n=function(t){return[t.col,t.colOffset,t.row,t.rowOffset]};return n(t).concat(n(V)).join(",")}function pt(t){var V="position:absolute;margin-left:0;margin-top:0;width:100%pt;height:100%pt";return t&&(V+=";visibility:hidden"),V}function vt(){return{n_:"lock","v:ext":"edit",rotation:"t",text:"t"}}function jt(t,V){void 0===V&&(V=0);var t=s.Color.fromString(t);return V&&t.applyTint(V),t.toHexString()}function bt(t){var V=t.color,n=t.position,i=t.transparency,e;return{color:jt(V,t.brightness),position:n,transparency:i}}function Lt(t){var V,t,n,n,n,t=s.ShapeUtility.getFillFormatInfo(t),n=t.solid;return t.type===s.FillType.Solid&&1===n.type?V={color:jt(n.color),transparency:n.transparency}:t.type===s.FillType.Gradient?V={angle:(n=t.gradient).angle,direction:n.direction,type:n.type,stops:n.stops.map(bt)}:t.type!==s.FillType.Picture&&t.type!==s.FillType.Textured||(V={src:(n=t.picture).src,transparency:n.transparency,tilePictureAsTexture:n.tilePictureAsTexture}),V}function mt(t){var t,V,n,i,e,c,t,t=s.ShapeUtility.getLineFormatInfo(t.Line);if(t.color)return V=t.width,n=t.color,i=t.transparency,e=t.lineStyle,c=t.joinType,t=t.compoundType,{width:V,color:n,transparency:i,dashStyle:ct(e),lineStyle:rt(t),joinStyle:s.ShapeUtility.getLineJoinValue(c)}}function Ct(t){return JSON.parse(JSON.stringify(t))}function Rt(t){return t.substring(0,1).toUpperCase()+t.substring(1)}n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(t,"__esModule",{value:!0}),t.getVmlDrawingLineInfo=t.getVmlDrawingFillInfo=t.wrapWithSJSAlternateContentNodeRequiresX14=t.wrapWithAlternateContentRequiresX14=t.wrapWithAlternateContentRequiresA14=t.wrapWithSJSAlternateContentNode=t.wrapWithSJSCompactAlternateContentNode=t.createEmptySheetControlsNode=t.toVmlDrawingControlShapeType=t.processFormControlsWhenToSJSFormat=t.isSJSFormControlNode=t.isSJSFormControl=t.hasFormControl=t.markSJSFormControl=t.markGroupChildrenSJSFormControl=t.getSJSControlInfos=t.findControlsNode=t.readControlsNode=t.getSJSCtrlFile=void 0,c=V("Core"),r=V("./dist/plugins/shape/shape.js"),s=V("./dist/plugins/shape/drawingInterface.js"),e=V("./dist/plugins/shape/groupShapes.js"),d=c.XFileConstants.Ki,o=c.XFileConstants.Bo,a=c.XFileConstants.Lo,i=c.XFileConstants.Fo,h=c.XFileConstants.Po,u=c.XFileConstants.$r,x="Disabled",y="Locked",f="PrintObject",l="False",g=c.Util.Sr,A=c.Util.wr,w=c.util.xr,p=c.util.o1,v=void 0,j=["Button","Spin","Scroll","List","CheckBox","Radio","Label","GBox","Drop"],t.getSJSCtrlFile=b,t.readControlsNode=P,t.findControlsNode=L,t.getSJSControlInfos=m,t.markGroupChildrenSJSFormControl=C,t.markSJSFormControl=R,t.hasFormControl=M,t.isSJSFormControl=q,t.isSJSFormControlNode=k,t.processFormControlsWhenToSJSFormat=B,t.toVmlDrawingControlShapeType=E,t.createEmptySheetControlsNode=tt,t.wrapWithSJSCompactAlternateContentNode=F,t.wrapWithSJSAlternateContentNode=S,t.wrapWithAlternateContentRequiresA14=Vt,t.wrapWithAlternateContentRequiresX14=nt,t.wrapWithSJSAlternateContentNodeRequiresX14=X,t.getVmlDrawingFillInfo=Lt,t.getVmlDrawingLineInfo=mt},"./dist/plugins/shape/formControl/formControl.interface.js":function(t,V){Object.defineProperty(V,"__esModule",{value:!0})},"./dist/plugins/shape/formControl/formControl.js":function(t,V,n){var i,e,c,r,s,d,o,a,h,n,u;function x(t,V){u[t]=V}function y(t){return u[t]}Object.defineProperty(V,"__esModule",{value:!0}),V.getFormControlCtor=V.registerCustomFormControl=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/controls/buttonFormControl.js"),c=n("./dist/plugins/shape/formControl/controls/checkBoxFormControl.js"),r=n("./dist/plugins/shape/formControl/controls/comboFormControl.js"),s=n("./dist/plugins/shape/formControl/controls/groupBoxFormControl.js"),d=n("./dist/plugins/shape/formControl/controls/labelFormControl.js"),o=n("./dist/plugins/shape/formControl/controls/listBoxFormControl.js"),a=n("./dist/plugins/shape/formControl/controls/radioFormControl.js"),h=n("./dist/plugins/shape/formControl/controls/scrollFormControl.js"),n=n("./dist/plugins/shape/formControl/controls/spinFormControl.js"),(u={})[i.FormControlType.button]=e.ButtonFormControl,u[i.FormControlType.spinButton]=n.SpinButtonFormControl,u[i.FormControlType.listBox]=o.ListBoxFormControl,u[i.FormControlType.checkBox]=c.CheckBoxFormControl,u[i.FormControlType.optionButton]=a.RadioFormControl,u[i.FormControlType.comboBox]=r.ComboFormControl,u[i.FormControlType.label]=d.LabelFormControl,u[i.FormControlType.groupBox]=s.GroupBoxFormControl,u[i.FormControlType.scrollBar]=h.ScrollFormControl,V.registerCustomFormControl=x,V.getFormControlCtor=y},"./dist/plugins/shape/formControl/formControlData.js":function(t,V,n){var i,d,o,s,e,c,r,a,h,u;function x(t,V,n,i,e,c,r){var t,V,t=u.call(this,t,V,s.AutoShapeType.rectangle,i,e,c,r)||this,V=t;return V.ttV=4,V.ntV=s.AutoShapeType.rectangle,V.sVV=n,V.jft=!0,V._hidden=!1,V.hrV=!0,V.itV=0,V.InitDefaultStyle(),t}function y(t){var V="Form Control";return t===s.FormControlType.button?V="Button":t===s.FormControlType.checkBox?V="Check Box":t===s.FormControlType.comboBox?V="Drop Down":t===s.FormControlType.groupBox?V="Group Box":t===s.FormControlType.label?V="Label":t===s.FormControlType.listBox?V="List Box":t===s.FormControlType.optionButton?V="Option Button":t===s.FormControlType.scrollBar?V="Scroll Bar":t===s.FormControlType.spinButton&&(V="Spinner"),V}i=this&&this.__extends||(h=function(t,V){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}h(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),d=this&&this.__assign||function(){return(d=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.getDefaultFormControlName=V.FormControlShapeData=void 0,o=n("./dist/plugins/shape/shape.js"),s=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/formControl.js"),c=n("./dist/plugins/shape/formControl/formControl-io.js"),r=void 0,u=o.ShapeData,i(x,u),x.prototype.setFormControl=function(t){this.GtV=t},x.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat(),t.InitTextFormat()},x.prototype.InitFillFormat=function(){var t;this.S0t.Color.ColorType=0},x.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ColorType=0,t.JoinStyle=1,t.Weight=1},x.prototype.InitTextFormat=function(){var t=this.ShapeStyle.Font;t.Color.ColorType=2,t.Color.RGB=s.ARGBColor.FromRgb(0,0,0)},x.prototype.InitDefaultStyle=function(){var t,V,n,V,t=this,V=(0,e.getFormControlCtor)(t.sVV);V&&"function"==typeof V.defaultStyle&&(n=V.defaultStyle())&&(V=t.I0i.TextBody,n.vAlign!==r&&(V.anchor=n.vAlign),n.hAlign!==r&&V.O0t.forEach(function(t){return t.Algn=n.hAlign}),n.wrapText!==r&&(V.wrap=n.wrapText?s.ST_TextWrappingType.square:s.ST_TextWrappingType.none),n.margins&&(V.Inset=n.margins),t.Mfn=n)},Object.defineProperty(x.prototype,"Type",{get:function(){return s.ShapeType.AutoShape},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"Enabled",{get:function(){return this.hrV},set:function(t){this.hrV=t},enumerable:!1,configurable:!0}),x.prototype.FromOOModel=function(t){var V=this;u.prototype.FromOOModel.call(this,t),V._hidden=!1},x.prototype.FromCT_ShapeBase=function(t){var V=this;u.prototype.FromCT_ShapeBase.call(this,t),V.FromCT_Control(t.control)},x.prototype.FromSJSCT_ShapeBase=function(t){var V=this;u.prototype.FromSJSCT_ShapeBase.call(this,t),V.FromSJS_Control(t)},x.prototype.FormulaFrom=function(){var t,V,t=this.GtV,V=this.tWt;t&&V&&t.fromExcelProps(V)},x.prototype.ToCT_ShapeBase=function(t,V){var t=u.prototype.ToCT_ShapeBase.call(this,t,V);return t.control=this.ToCT_Control(V),t.shapeType=s.CT_ShapeType.CT_FormControlShape,t},x.prototype.ToSJSCT_ShapeBase=function(t){var V=u.prototype.ToSJSCT_ShapeBase.call(this,t);return V.controlInfo=this.ToSJS_Control(t),V.nvSpPr.cNvPr.hidden=o.SJS_True,V},x.prototype.FromCT_Control=function(t){var V;t&&((V=this).tWt=t.props,V.sVV=V.FromObjectType(t.props.objectType),V.hrV=!t.disabled)},x.prototype.FromSJS_Control=function(t){var V,t;t.controlInfo&&(t=t.controlInfo,(V=this).FromCT_Control(t),V.jft=!t.hidden,V.hrV=!t.disabled)},x.prototype.FromObjectType=function(t){var V={};return V.Button=s.FormControlType.button,V.Spin=s.FormControlType.spinButton,V.Scroll=s.FormControlType.scrollBar,V.List=s.FormControlType.listBox,V.CheckBox=s.FormControlType.checkBox,V.Radio=s.FormControlType.optionButton,V.Label=s.FormControlType.label,V.GBox=s.FormControlType.groupBox,V.Drop=s.FormControlType.comboBox,V[t]||t},x.prototype.ToCT_Control=function(t){var V,n,i,e,c,r,s,V=this,n,i={objectType:V.ToObjectType()};return V.GtV&&(i=d(d({},V.GtV.toExcelProps()),i)),e=this.eJ,i.fmlaLink&&(i.fmlaLink=(0,o.adjustFormulaByNewWorkSheetName)(e,i.fmlaLink,t)),i.fmlaRange&&(i.fmlaRange=(0,o.adjustFormulaByNewWorkSheetName)(e,i.fmlaRange,t)),{props:i,style:c=this.ToCT_Control_Style(),anchorInfo:r=V.getAnchorInfo(),disabled:s=!V.hrV}},x.prototype.ToSJS_Control=function(t){var V,t,V=this,t=V.ToCT_Control(t);return t.hidden=!V.jft,t.disabled=!V.hrV,t},x.prototype.ToObjectType=function(){var t,t,t={};return t[s.FormControlType.button]="Button",t[s.FormControlType.spinButton]="Spin",t[s.FormControlType.scrollBar]="Scroll",t[s.FormControlType.listBox]="List",t[s.FormControlType.checkBox]="CheckBox",t[s.FormControlType.optionButton]="Radio",t[s.FormControlType.label]="Label",t[s.FormControlType.groupBox]="GBox",t[s.FormControlType.comboBox]="Drop",t[t=this.sVV]||t},x.prototype.getAnchorInfo=function(){var t,V,n,i,e,c,r,s,d,o,a,t=this,V=t.hVV,n=t.uVV,i=t.xVV,e=t.yVV,c=t.CtV,r=t.RtV,s,d,o,a;return{startPoint:{row:V,col:i,rowOffset:n,colOffset:e},endPoint:{row:c,col:t.ItV,rowOffset:r,colOffset:t.MtV}}},x.prototype.ToCT_Control_Style=function(){var t,V,n,t,t=this,V={},n=(0,c.getVmlDrawingFillInfo)(t),t=(0,c.getVmlDrawingLineInfo)(t);return n&&(V.fill=n),t&&(V.line=t),V},V.FormControlShapeData=x,V.getDefaultFormControlName=y},"./dist/plugins/shape/formControl/radioGroupManager.js":function(t,V,n){var i,e,c,r;function s(t,V){var n,t,n,n=function(t){return{left:t.x(),right:t.x()+t.width(),top:t.y(),bottom:t.y()+t.height()}},t=n(t),n=n(V);return n.left>t.left&&n.right<t.right&&n.top>t.top&&n.bottom<t.bottom}function d(t){return t.GtV}function o(t){return t.ttV===i.CT_ShapeType.CT_FormControlShape}function a(t){return t.ttV===i.CT_ShapeType.CT_GroupShape}function h(t){return t.ytV.sVV===i.FormControlType.optionButton}function u(t){return t.ytV.sVV===i.FormControlType.groupBox}function x(t){return t.ytV.Id}function y(t,V){var V=t.indexOf(V);-1!==V&&t.splice(V,1)}function f(t,V){for(var n,i,n=-1,i=0;i<t.length;i++)if(V(t[i])){n=i;break}-1!==n&&t.splice(n,1)}function l(t){this.fVV=t,this.ztV=[]}function g(t){this.lVV=new c,this.gVV=[],this.ztV=[],this.AVV=!1,this.Mf=t}Object.defineProperty(V,"__esModule",{value:!0}),V.RadioGroupManager=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),l.prototype.add=function(t){var V,n,t,V=this.ztV,n=0<V.length?d(V[0]).cellLink:"";V.push(t),this.wwn(),this.Jti(),t=d(t),1<V.length&&(t.cellLink=n),!0===t.value&&t.setOtherRadioToFalse()},l.prototype.remove=function(t){var t,V,t=this.lp(t),V=this.ztV;-1!==t&&(V.splice(t,1),this.Jti())},l.prototype.contains=function(t){return-1!==this.ztV.indexOf(t)},l.prototype.wwn=function(){this.ztV.sort(function(t,V){return x(t)-x(V)})},l.prototype.lp=function(t){return this.ztV.indexOf(t)},l.prototype.Jti=function(){for(var t,V,t=0;t<this.ztV.length;t++)(V=d(this.ztV[t])).setIndex(t+1)},c=l,g.prototype.getGroupByRadio=function(t){for(var V=0;V<this.gVV.length;V++)if(this.gVV[V].contains(t))return this.gVV[V];if(this.lVV.contains(t))return this.lVV},g.prototype.addRadio=function(t){var V;this.ztV.push(t),this.wVV(t).add(t)},g.prototype.removeRadio=function(t){var V=this.getGroupByRadio(t);V&&V.remove(t),y(this.ztV,t)},g.prototype.addGroupBox=function(t){this.gVV.push(new c(t)),this.gVV.sort(function(t,V){return x(t.fVV)-x(V.fVV)}),this.pVV()},g.prototype.removeGroupBox=function(V){f(this.gVV,function(t){return t.fVV===V}),this.pVV()},g.prototype.updateRadio=function(t){var V,n,V=this.getGroupByRadio(t),n=this.wVV(t);V!==n&&(V&&V.remove(t),n.add(t))},g.prototype.updateRadios=function(t){var V=this;t.forEach(function(t){V.updateRadio(t)})},g.prototype.updateGroupBox=function(t){this.pVV()},g.prototype.onShapeMoveOrResize=function(t){var V=this;this.AVV||(o(t)?h(t)?this.updateRadio(t):o(t)&&this.updateGroupBox(t):a(t)&&t.tin.forEach(function(t){V.onShapeMoveOrResize(t)}))},g.prototype.onAddShape=function(t){var V=this;this.AVV||(o(t)?h(t)?this.addRadio(t):u(t)&&this.addGroupBox(t):a(t)&&t.tin.forEach(function(t){V.onAddShape(t)}))},g.prototype.onRemoveShape=function(t){var V=this;this.AVV||(o(t)?h(t)?this.removeRadio(t):u(t)&&this.removeGroupBox(t):a(t)&&t.tin.forEach(function(t){V.onRemoveShape(t)}))},g.prototype.startFromJson=function(){this.AVV=!0},g.prototype.endFromJson=function(){var V,t,t,n,t,V=this;(t=(this.AVV=!1,e.getAllShape)(this.Mf.shapes.all())).sort(function(t,V){return t.ytV.Id-V.ytV.Id}),n=(t=t.filter(o)).filter(u),t=t.filter(h),n.forEach(function(t){V.onAddShape(t)}),t.forEach(function(t){V.onAddShape(t)})},g.prototype.pVV=function(){this.updateRadios(this.ztV)},g.prototype.wVV=function(t){for(var V,n,i,e,c,V=this.gVV,i=0;i<V.length;i++)!s(c=(e=V[i]).fVV,t)||n&&!s(n.fVV,c)||(n=e);return n||this.lVV},V.RadioGroupManager=g},"./dist/plugins/shape/formControl/supportCellLinkFormControl.js":function(t,V,n){var i,e,n,c,r,s,d,o,a,h,u;function x(){var t=u.call(this)||this;return t.vVV={},t.LVV=!1,t.syncValueFromCell=t.syncValueFromCell.bind(t),t.syncValueToCell=t.syncValueToCell.bind(t),t.onLinkedCellValueChanged=t.onLinkedCellValueChanged.bind(t),t}i=this&&this.__extends||(h=function(t,V){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}h(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.SupportCellLinkFormControl=void 0,e=n("./dist/plugins/shape/ui/util.js"),n=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),r=(c="form_control.").length,s="cellLink",d="inputRange",o=null,u=n.ExcelBuildInFormControlBase,i(x,u),Object.defineProperty(x.prototype,"value",{get:function(){return this.y4},set:function(t){var V=this.y4;V!==(t=this.preProcessValue(t))&&(this.y4=t,this.syncValueToCell(),this.triggerValueChangedEvent(V,t),this.refresh())},enumerable:!1,configurable:!0}),x.prototype.preProcessValue=function(t){return t},x.prototype.mapToCellValue=function(t){return t},x.prototype.mapValueFromCell=function(t){return this.preProcessValue(t)},x.prototype.shouldProcessMouseDownEvt=function(t){return!(!u.prototype.shouldProcessMouseDownEvt.call(this,t)||this.cellLink&&this.linkedCellIsLocked)},Object.defineProperty(x.prototype,"cellLink",{get:function(){return this.getFormula(s)},set:function(t){this.setCellLinkCore(t,!0)},enumerable:!1,configurable:!0}),x.prototype.setCellLinkCore=function(t,V){this.checkFormula(t)?(this.linkWithCell(t,!0),V&&this.syncValueToCell()):this.removeFormula(s)},Object.defineProperty(x.prototype,"inputRange",{get:function(){return this.getFormula(d)},set:function(t){this.checkFormula(t)?(t=(0,e.addWorkSheetNameIfNeed)(this.sheet,t),this.setFormula(d,t,function(){})):this.removeFormula(d)},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"linkedCellIsLocked",{get:function(){var t,V,t,n,t,t=this.getRangeReferenceInfo(s);return!(!t||(V=t.sheet,n=(t=t.cellRange).row,t=t.col,!V.isActualProtected())||!V.getActualStyle(n,t).locked)},enumerable:!1,configurable:!0}),x.prototype.linkWithCell=function(t,V){(V=void 0===V?!1:V)&&(this.LVV=!0),this.setFormula(s,t,this.onLinkedCellValueChanged),this.LVV=!1},x.prototype.syncValueToCell=function(){var t=this.mapToCellValue(this.value);this.syncValueToCellImp(t)},x.prototype.syncValueToCellImp=function(t){var V,n,V,i,V,V=this.getRangeReferenceInfo(s);V&&(n=V.sheet,i=(V=V.cellRange).row,V=V.col,n.getValue(i,V)!==t)&&(this.LVV=!0,n.getFormula&&n.getFormula(i,V)&&n.setFormula(i,V,o),n.setValue(i,V,t),this.LVV=!1)},x.prototype.getCellValue=function(){var t,V,t,n,t,t=this.getRangeReferenceInfo(s);if(t)return V=t.sheet,n=(t=t.cellRange).row,t=t.col,V.getValue(n,t)},x.prototype.syncValueFromCell=function(t){var V=this.y4;V!==(t=this.mapValueFromCell(t))&&(this.y4=t,this.triggerValueChangedEvent(V,t)),this.refresh()},x.prototype.onLinkedCellValueChanged=function(t){this.LVV||this.syncValueFromCell(t)},x.prototype.getInputRangeTexts=function(){var t,V,n,t,i,e,c,r,t=this.getRangeReferenceInfo(d),V=[];if(t)for(n=t.sheet,i=(t=t.cellRange).row,e=t.col,c=t.rowCount,r=0;r<c;r++)V.push(n.getText(i+r,e));return V},x.prototype.onFormulaValueChange=function(t,V){t=t.substring(r);var t=this.vVV[t];t&&t(V)},x.prototype.getFormula=function(t,V){var n,i,i,n=this.shapeUI,i=n&&n.getService(),i=i&&i.getFormula(n.id,c+t,V);return i&&"="===i[0]?i.substring(1):i},x.prototype.getRangeReferenceInfo=function(t){var V,n,n,V=this.shapeUI,n=V&&V.getService(),n=n&&n.calcSource_.getExpression(V.id,c+t);return n&&(0,e.expressionToRangeInfo)(this.sheet,n)},x.prototype.setFormula=function(t,V,n){this.vVV[t]=n,(0,e.setFormulaImp)(this.shape,c+t,V)},x.prototype.removeFormula=function(t){var V,n,V=this.shapeUI;V&&(n=V.getService())&&n.removeFormula(V.id,c+t),delete this.vVV[t]},x.prototype.checkFormula=function(t){var V=!0;try{V=!!(0,e.getRangeInfo)(this.sheet,t)}catch(t){V=!1}return V},V.SupportCellLinkFormControl=x},"./dist/plugins/shape/geometryService/controlPointService.js":function(t,i,V){var n,d,e,c,r,s,o,a,h,u,x,y,n=this&&this.__extends||(y=function(t,V){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}y(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),f;for(o in Object.defineProperty(i,"__esModule",{value:!0}),i.getBoundFnInfo=i.getNewAdjustName=i.getControlPointInfo=i.getPresetShapeInfo=i.ANGLE_ADJUSTMENT_UNIT=i.ADJUSTMENT_UNIT=i.ADJUSTMENTS=i.ADJUSTMENT_NAME_PREFIX=void 0,d=V("CalcEngine"),e=V("./dist/plugins/shape/drawingInterface.js"),c=V("./dist/plugins/shape/presetShapeModels.js"),r=void 0,i.ADJUSTMENT_NAME_PREFIX="adj",i.ADJUSTMENTS="adjustments",i.ADJUSTMENT_UNIT=1e5,i.ANGLE_ADJUSTMENT_UNIT=6e4,s={},e.AutoShapeType)e.AutoShapeType.hasOwnProperty(o)&&o!==parseInt(o,10)+""&&(s[e.AutoShapeType[o]]=o);function l(t){var V,n,i,e,V=s[t],n=u[t];return n||(i=c.TVV[V],n=u[t]={name:V,definition:i},i&&((e=i.path).forEach(function(t){var V=t.pop();V&&(t.fillMode=V.fillMode,t.strokeMode=V.strokeMode,t.strokeCompound=V.strokeCompound)}),A(n,i),v(i,t))),n}function g(t){var t,t,V,t,t=l(t),t=t&&t.definition,V=t&&t.adjustInfo,t=t&&t.angleAdjustments;return{adjustValues:V=V?JSON.parse(JSON.stringify(V)):[],angleAdjustments:t=t?JSON.parse(JSON.stringify(t)):{}}}function A(r,t){var s,V,d,o,s=t.variables,V=t.controlsInfo;V&&!t.controls&&(d=t.controls=[],o=t.angleAdjustments={},V.forEach(function(t){var V,n,V,i,i,e,c,e,c,V=t.position,n=V.x,V=V.y,i=t.point,i={xBehavior:1,yBehavior:1,x:i[0],y:i[1]};"ahXY"===t.type?(e=t.gdRefX,c=t.gdRefY,e&&(j(n,e,s,r),i.xBehavior=0,i.xRef=e,i.min=t.minX,i.max=t.maxX),c&&(j(V,c,s,r),i.yBehavior=0,i.yRef=c,i.min=t.minY,i.max=t.maxY)):(e=t.gdRefAng,c=t.gdRefR,i.xBehavior=0,i.yBehavior=0,i.aRef=e,i.rRef=c,e&&(i.minAngle=t.minAng,i.maxAngle=t.maxAng,o[e]=0===t.maxAng?2:1),c&&(i.minRadius=t.minR,i.maxRadius=t.maxR,b(n,V,c,s,r))),d.push(i)}))}function w(t){for(var V,n,V=1;V<=1e3;V++)if(t[n=i.ADJUSTMENT_NAME_PREFIX+V]===r)return n;return i.ADJUSTMENT_NAME_PREFIX}function p(t,V){var n,i,n,e;return"string"==typeof t&&0===t.indexOf("=BOUND")?(n=t.indexOf("("),e=t.indexOf(","),i=t.substring(0,n+1)+V+t.substring(e),n="="+t.substring(n+1,e)):(n=t,i="="+V),{value:n,formula:i}}function v(t,V){167===V?t.controls[1].adjustInfo={toHalfCircle:!0}:175===V&&(t.controls[0].adjustInfo={toNegative:!0})}function j(t,V,n,i){m(t,V,n,i)}function b(t,V,n,i,e){m(t,n+"_x",i,e,n),m(V,n+"_y",i,e,n)}function L(){var t=f.call(this,void 0,!1)||this;return t.tokenResolver=new d.DefaultTokenResolver,t}function m(t,V,n,i,e){var t,n,c,r,s;if(i.fnDefs){if(i.fnDefs[V])return}else i.fnDefs={},i.fnArgs={};C(n,t,n=[],t=[],e=e||V),0<t.length&&(r=new d.Parser,s=new x,n.forEach(function(t){return t.expr=r.parse(s,String(t.formula))}),c=R(n,["width","height"].concat(t))),i.fnDefs[V]=c,i.fnArgs[V]=t}function C(V,t,n,i,e){var c,r,s,c=V[t];/^\d/.test(t)&&(t="_"+t),isNaN(+c)?((s=(r=c).match(a))&&s.length&&(r=r.replace(/V\.(\d)/g,"_$1").replace(/V\./g,""),s.forEach(function(t){var t=t.substr(h);0===t.indexOf("adj")?-1===i.indexOf(t)&&(t===e?i.unshift(t):i.push(t)):n[t]||(n[t]=!0,C(V,t,n,i,e))})),n.push({name:t,formula:r})):n.push({name:t,formula:c})}function R(e,c){return function(){var n,i,t,V,n=arguments,i={};for(c.forEach(function(t,V){return i[t]=n[V]}),t=e.length-1,V=0;V<t;V++)i[e[V].name]=M(e[V].expr,i);return M(e[t].expr,i)}}function M(t,V){var n,i,e,c,r;if(t){for(;10===t.type;)t=t.value;if(2<=(i=t.type)&&i<=6)n=t.value;else if(8===i)n=V[t.value];else if(9===i)switch(e=M(t.value,V),c=M(t.value2,V),t.operatorType){case 1:n=-e;break;case 2:n=e/100;break;case 3:n=e+c;break;case 4:n=e-c;break;case 5:n=e*c;break;case 6:n=e/c;break;case 9:n=e===c;break;case 10:n=e!==c;break;case 11:n=e<c;break;case 12:n=e<=c;break;case 13:n=c<e;break;case 14:n=c<=e}else if(7===i)switch(r=t.arguments.map(function(t){return M(t,V)}),t.functionName){case"MIN":n=Math.min(r[0],r[1]);break;case"MAX":n=Math.max(r[0],r[1]);break;case"SIN":n=Math.sin(r[0]);break;case"COS":n=Math.cos(r[0]);break;case"ABS":n=Math.abs(r[0]);break;case"ATAN2":n=Math.atan2(r[1],r[0]);break;case"SQRT":n=Math.sqrt(r[0]);break;case"TAN":n=Math.tan(r[0]);break;case"IF":n=r[0]?r[1]:r[2]}return n}}a=/V\.(_?[A-Za-z0-9]+)/g,h="V.".length,u={},i.getPresetShapeInfo=l,i.getControlPointInfo=g,i.getNewAdjustName=w,i.getBoundFnInfo=p,f=d.ParserContext,n(L,f),L.prototype.getResolvers=function(){return[this.tokenResolver]},x=L},"./dist/plugins/shape/geometryService/geometryService.js":function(t,n,V){var i,e,c,r,s,d,o,V,a,h,u,x,y,f,l,g;function A(t){var V=g.call(this,t,A.parser,A.parseContext)||this;return V.needCacheResult=!1,V.geometryModel=t,V}function w(t){var t,V,n,i,e,t,t=t.map(function(t){return t.parseDimensions()}),V,n,i,e,t={left:h.apply(a,t.map(function(t){return t.left})),top:h.apply(a,t.map(function(t){return t.top})),right:u.apply(a,t.map(function(t){return t.right})),bottom:u.apply(a,t.map(function(t){return t.bottom}))};return y(t),t}function p(t){return t.map(function(t){return t.pathCommands})}i=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(n,"__esModule",{value:!0}),n.mapPathInstanceToValue=n.GeometryService=n.VARIABLES=n.VARIABLES_SHORT_NAME=void 0,e=V("Common"),c=V("CalcEngine"),r=V("./dist/plugins/shape/ui/path.js"),s=V("./dist/plugins/shape/ui/util.js"),d=V("./dist/plugins/shape/geometryService/parseContext.js"),o=V("./dist/plugins/shape/staticModelCalcService/evaluateContext.js"),V=V("./dist/plugins/shape/staticModelCalcService/staticModelCalcService.js"),n.VARIABLES_SHORT_NAME="V",n.VARIABLES="variables",a=null,h=Math.min,u=Math.max,x=e.Common.zf.fJ,y=s.Common.setRectSize,g=V.StaticModelCalcService,i(A,g),A.prototype.calculate=function(t){var V,n,n,V=JSON.stringify(t),n=this.resultCache;return n&&n[V]?n[V]:this.resultKey===V?this.result:(n=g.prototype.calculate.call(this,t),this.resultKey=V,this.result=n,this.needCacheResult&&(this.resultCache[V]=this.result),n)},A.prototype.getDependency=function(){var t,V,n,i,e;if(!this.dependencyDict){for(V={},n=0,i=t=this.getExternalDependency();n<i.length;n++)V[e=i[n]]=!0;this.dependencyDict=V}return this.dependencyDict},A.prototype.startCache=function(){this.needCacheResult=!0,this.resultCache||(this.resultCache={})},A.prototype.endCache=function(t){void 0===t&&(t=!0),this.needCacheResult=!1,t&&(this.resultCache=void 0)},A.prototype.dispose=function(){this.resultCache={}},A.prototype.getResultFromCalcNodeModel=function(t){var t,V,t=g.prototype.getResultFromCalcNodeModel.call(this,t),V=this.CrV(t.path);return{textRect:t.textRect,connectionPoints:t.connectionPoints,controlPoints:t.controls,path:V,pathRect:w(V)}},A.prototype.getIdentity=function(t){var V;return x(t,n.VARIABLES_SHORT_NAME+".")?V=t.substring(n.VARIABLES_SHORT_NAME.length+1):x(t,n.VARIABLES+".")&&(V=t.substring(n.VARIABLES.length+1)),V?["".concat(n.VARIABLES,".").concat(V),"".concat(n.VARIABLES_SHORT_NAME,".").concat(V)]:g.prototype.getIdentity.call(this,t)},A.prototype.CrV=function(t){var i=this.geometryModel.path;return t.map(function(t,V){var n,t,V,n=new r.Path;return n.pathCommands=t,(V=(t=i[V]).fillMode)&&(n.fillMode=V),t.strokeMode&&(n.strokeMode=t.strokeMode),t.strokeCompound&&(n.strokeCompound=t.strokeCompound),n})},A.parseFormulaToExpression=function(t){return A.parser.parse(A.parseContext,t)},A.evaluatorFormula=function(t,V){var t,n,t=A.parseFormulaToExpression(t),n=new o.StaticModelEvaluateContext(a);return n.args=V,n.calcNodeMap=a,A.evaluator.evaluate(t,n,!1,!1)},A.parser=new c.Parser,A.parseContext=new d.GeometryParseContext(a,!1),n.GeometryService=A,n.mapPathInstanceToValue=p},"./dist/plugins/shape/geometryService/parseContext.js":function(t,V,n){var i,e,n,c,r,s,d,o,a,h;function u(){return null!==h&&h.apply(this,arguments)||this}function x(t,V,n,i,e){return n||2===V?t:(1===V&&(i+=1,--e),Math.max(i,Math.min(t,e)))}function y(t){return-1}function f(t,V,n){var n=n/o;return s(t*c(n),V*r(n))}function l(t,V,n,i){var e;return V-t*(i?r:c)(n)}function g(t,V,n,i){var e;return t+V*(i?r:c)(n)}i=this&&this.__extends||(a=function(t,V){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}a(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.GeometryParseContext=void 0,e=n("CalcEngine"),n=n("./dist/plugins/shape/staticModelCalcService/parseContext.js"),c=Math.sin,r=Math.cos,s=Math.atan2,h=n.StaticModelParseContext,i(u,h),u.prototype.getFunction=function(t){if(t){var V=new e.Functions.Function(t);switch(t){case"BOUND":V.evaluate=x;break;case"LISTORDER":V.evaluate=y,V.isContextSensitive=function(){return!0};break;case"A":V.evaluate=f;break;case"C":V.evaluate=l;break;case"P":V.evaluate=g;break;default:V=void 0}return V&&(V.minArgs=V.maxArgs=V.length),V}},V.GeometryParseContext=u,o=108e5/Math.PI},"./dist/plugins/shape/geometryService/serviceManager.js":function(t,V,n){var i,e,c,r,s;function d(){}function o(t){var V,V;if(t)return V=r(t.autoShapeType)?h(t):a(t.autoShapeType)}function a(t){var V,n,i,i,V=s.geometryModels,n=V[t];if(!n){if(!(i=(0,e.getPresetShapeInfo)(t)))return;((i=i.definition).controls||[]).forEach(x),i.path.sort(u),n=h(i,"build-in-"+t),V[t]=n}return n}function h(t,V){var n,i,e,c,r,t,n,i=t.variables||{},e=t.controls||[],c=t.textRect||{left:0,top:0,right:"=width",bottom:"=height"},r=t.connectionPoints||[],t=t.path||[[[]]];return{key:V=V||"custom-"+JSON.stringify({variables:i,controls:e,textRect:c,connectionPoints:r,path:t}),variables:i,controls:e,textRect:c,connectionPoints:r,path:t}}function u(t,V){var t="none"===t.fillMode,n;return t!=("none"===V.fillMode)?t?1:-1:0}function x(n){["x","y","min","max","minAngle","maxAngle","minRadius","maxRadius"].forEach(function(t){var V=n[t];"string"==typeof V&&"="!==V[0]&&(n[t]="=".concat(c.VARIABLES,".").concat(V))})}Object.defineProperty(V,"__esModule",{value:!0}),V.GeometryServiceManager=void 0,i=n("Common"),e=n("./dist/plugins/shape/geometryService/controlPointService.js"),c=n("./dist/plugins/shape/geometryService/geometryService.js"),r=i.Common.lt.ht,d.getGeometryService=function(t){var V,t,n,V=d.geometryServices,t=o(t);if(t)return V[n=t.key]||(V[n]=new c.GeometryService(t),d.needCacheResult&&V[n].startCache()),V[n]},d.startCache=function(){d.needCacheResult=!0;var V=d.geometryServices;Object.keys(V).forEach(function(t){V[t].startCache()})},d.endCache=function(V){void 0===V&&(V=!0),d.needCacheResult=!1;var n=d.geometryServices;Object.keys(n).forEach(function(t){n[t].endCache(V)})},d.dispose=function(){var V=d.geometryServices;Object.keys(V).forEach(function(t){V[t].dispose()}),d.geometryModels={},d.geometryServices={},d.needCacheResult=!1},d.geometryModels={},d.geometryServices={},d.needCacheResult=!1,s=d,V.GeometryServiceManager=s},"./dist/plugins/shape/groupShapes.js":function(t,o,V){var n,a,h,u,x,y,i,e,f,c,r,s,d,l,g;function A(){}function w(t,V,n,i,e,c){var t=g.call(this,t,V,n,i,e,c)||this;return t.ttV=2,t}n=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(o,"__esModule",{value:!0}),o.GroupShapeData=o.GrpSpChildNodeIndexOffset=o.GrpSpPrNodeIndex=o.NvGrpSpPrNodeIndex=o.GrpSpNodeName=void 0,a=V("./dist/plugins/shape/shape.js"),h=V("./dist/plugins/shape/connector.js"),u=V("./dist/plugins/shape/pictureShape.js"),x=V("./dist/plugins/shape/cameraShape.js"),y=V("./dist/plugins/shape/formControl/formControlData.js"),i=V("./dist/plugins/shape/drawingInterface.js"),e=V("FloatingObject"),f=V("./dist/plugins/shape/formControl/formControl-io.js"),c=i.ChartUtility.Aft,r=i.ShapeConstants.PositiveFixedAngleConvert,o.GrpSpNodeName="grpSp",o.NvGrpSpPrNodeIndex=0,o.GrpSpPrNodeIndex=1,o.GrpSpChildNodeIndexOffset=2,Object.defineProperty(A.prototype,"ChildList",{get:function(){var t=this;return t.jVV||(t.jVV=[]),t.jVV},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"Items",{get:function(){return this.ChildList},enumerable:!1,configurable:!0}),A.prototype.GetByIndex=function(t){return this.FindShapeByIndex(this,t)},A.prototype.GetByName=function(t){return this.FindShapeByName(this,t)},A.prototype.zIndex=function(t,V,n){var i=this;i.ChildList.splice(t,1),i.ChildList.splice(V,0,n)},A.prototype.Add=function(t,V){var V,n,n,n,n;this.ChildList.push(t),V=V,(n=t.ShapeStyle).Fill&&(n.Fill.ParentStateful=V.Fill),n.Line&&(n.Line.ParentStateful=V.Line),(n=t.ThreeD)&&(n.ParentStateful=V.ThreeD),(n=t.Fill.PictureFormat)&&(n.ParentStateful=V.Fill.PictureFormat),(n=t.PictureFormat)&&(n.ParentStateful=V.PictureFormat)},A.prototype.Remove=function(t){var V,n,V=this;return!(V.Count<=0||-1===(n=V.ChildList.indexOf(t))||(V.ChildList.splice(n,1),delete t.XtV,0))},Object.defineProperty(A.prototype,"Count",{get:function(){return this.GetGroupItemCount()},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"InternalCount",{get:function(){return this.ChildList.length},enumerable:!1,configurable:!0}),A.prototype.FindShapeByIndex=function(t,V,n){var i,e,c,r,s,d;for(void 0===n&&(n=0),i=this,e=0,c=t.ChildList;e<c.length;e++)if(2===(r=c[e]).ttV){if(d=i.FindShapeByIndex((s=r).GroupItems,V,n))return d;n+=s.GroupItems.InternalCount}else{if(n===V)return r;n++}},A.prototype.FindShapeByName=function(t,V){for(var n,i,e,c,r,c,n=this,i=0,e=t.ChildList;i<e.length;i++){if((c=e[i]).Name===V)return c;if(2===c.ttV&&(c=n.FindShapeByName(c.GroupItems,V)))return c}},A.prototype.GetGroupItemCount=function(){var V=0;return this.ChildList.forEach(function(t){2===t.ttV?V+=t.GroupItems.GetGroupItemCount():V+=1}),V},s=A,g=a.ShapeBaseData,n(w,g),Object.defineProperty(w.prototype,"GroupItems",{get:function(){var t=this;return t.N||(t.N=new s),t.N},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"DrawingType",{get:function(){return e.Drawing.DrawingType.GroupShape},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"Type",{get:function(){return i.ShapeType.Group},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"PictureFormat",{get:function(){return this.Fill.PictureFormat},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"LosslessGroupItems",{get:function(){var t=this;return t.bVV||(t.bVV=new s),t.bVV},enumerable:!1,configurable:!0}),w.prototype.FromOOModel=function(t){var V=this;g.prototype.FromOOModel.call(V,t),V.FromCT_ShapeBase(t.grpSp),!1===t.isVisible&&(V._hidden=!0)},w.prototype.FromSJSOOModel=function(t,V){var n=this;g.prototype.FromSJSOOModel.call(this,t,V),n.FromSJSCT_ShapeBase(t)},w.prototype.FormulaFrom=function(){this.GroupItems.ChildList.forEach(function(t){t.FormulaFrom()})},w.prototype.ToOOModel=function(t,V){var n=g.prototype.ToOOModel.call(this,t=!1!==t);return n.grpSp=this.ToCT_ShapeBase(t),n},w.prototype.ToSJSOOModel=function(t,V){g.prototype.ToSJSOOModel.call(this,t,V),t.grpSp=this.ToSJSCT_ShapeBase(V)},w.prototype.ToChildShapes=function(t,V){V=!1!==V;var n=[],i=this;return t.Items.forEach(function(t){t.mVV(i),n.push(t.ToCT_ShapeBase(V))}),n},w.prototype.ToSJSChildShapes=function(t,i,e){var c=this;t.Items.forEach(function(t){var V,n;switch(t.mVV(c),n=t.ToSJSCT_ShapeBase(e),t.ttV){case 0:case 4:V={sp:n};break;case 1:V={cxnSp:n};break;case 5:case 3:V={pic:n};break;case 6:V={graphicFrame:n};break;case 2:V=n}V&&i.c_.push(V)})},w.prototype.FromChildShapes=function(t){var e,c,r,e=this,c=e.eJ,r=e.baseOffset;t.forEach(function(t){var V,n,i,n,V=null,n=t.shapeType;(V=5===n?new a.ShapeData(c):3===n?(i=!0,new w(c)):4===n?new h.ConnectorShapeData(c):0===n?new a.LosslessShapeData(c):1===n?new(t.cameraTool?x.CameraShapeData:u.PictureShapeData)(c):7===n?new y.FormControlShapeData(c):(a.ShapeBaseData.et(e,"createChildShapeDataBySSJSON",n={node:t,sheet:c}),n.shapeData))&&(V.CVV=!0,V.mVV(e),V.baseOffset=r,i?V.FromOOModel({anchorType:3,grpSp:t}):V.FromCT_ShapeBase(t),delete V.CVV,e.GroupItems.Add(V,e))})},w.prototype.FromSJSChildShapes=function(t){var c,r,s,d,c=this,r=c.eJ,s=c.baseOffset,d=c.RVV=[];t.c_.forEach(function(t){var V,n,i,e,V=null,i=!1;(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?(n=t.sp,V=new((0,f.isSJSFormControl)(t.sp)?y.FormControlShapeData:a.ShapeData)(r)):t.cxnSp?(V=new h.ConnectorShapeData(r),n=t.cxnSp):t.pic?(n=t.pic,V=new((0,x.isCameraShapeNode)(n)?x.CameraShapeData:u.PictureShapeData)(r)):n=t.n_===o.GrpSpNodeName?(i=!0,V=new w(r),t):(a.ShapeBaseData.et(c,"createChildShapeDataBySJSNode",e={node:t,sheet:r}),V=e.shapeData,e.childNode),V&&(V.CVV=!0,V.mVV(c),V.baseOffset=s,d.push(t),i?V.FromSJSOOModel(n,{anchorType:3,grpSp:n}):V.FromSJSCT_ShapeBase(n),delete V.CVV,c.GroupItems.Add(V,c))})},w.prototype.ToCT_GroupShapeProperties=function(t){var V,n,i,i,i,V,V=this;return(n=(t=!1!==t)&&V.IVV&&V.IVV.grpSpPr||{}).xfrm=V.ToCT_GroupTransform2D(t),c(n),(i=V.S0t)&&(i=i.ToOOModel(t))&&(0===i.colorFillType?n.solidFill=i:1===i.colorFillType?n.pattFill=i:2===i.colorFillType?n.gradFill=i:3===i.colorFillType?n.blipFill=i:(i.colorFillType,n.noFill=!0),delete i.colorFillType),n.effectLst=V.ToCT_EffectList(t),(i=V.Cin).Visible&&(V=i.ToOOModel(t),n.scene3d=V.Scene3D),n},w.prototype.ToSJSCT_GroupShapeProperties=function(){var t,V,t=this,V={};return V.xfrm=t.ToSJSCT_GroupTransform2D(),(0,a.toSJSFillGroup)(t.S0t,V),t.KcV(),(0,a.toSJSThreeDGroup)(t.Cin,V),V},w.prototype.FromCT_GroupShapeProperties=function(t){var V,n,n,V=this;V.FromCT_GroupTransform2D(t.xfrm),(n=V.S0t).ParentStateful=V.MVV.Fill,t.solidFill?n.FromOOModel(t.solidFill,0):t.grpFill?n.FromOOModel(t.grpFill,4):t.pattFill?n.FromOOModel(t.pattFill,1):t.gradFill?n.FromOOModel(t.gradFill,2):t.blipFill?n.FromOOModel(t.blipFill,3):t.noFill&&(n.Color.ColorType=0),n=t.xfrm.rot/r,V.XtV&&(n+=V.XtV.Rotation),V.Rotation=n,V.FromGroupThreeDFormat(t),V.FromCT_EffectList(t.effectLst)},w.prototype.FromSJSCT_GroupShapeProperties=function(t){var V,n,V=this;V.FromSJSCT_GroupTransform2D(t.xfrm),V.S0t.ParentStateful=V.MVV.Fill,(0,a.fromSJSFillGroup)(V.S0t,t),n=(0,a.getAttributeValueOrDefaultOfIntType)(t.xfrm.rot,0)/r,V.XtV&&(n+=V.XtV.Rotation),V.Rotation=n,V.FromSJSGroupThreeDFormat(t),V.$cV(t.effectLst)},w.prototype.ToCT_GroupShapeNonVisual=function(t){var V,t,t,n,V=this;return(t=(t=(t=!1!==t)&&V.IVV)&&t.nvGrpSpPr||{}).cNvPr=t.cNvPr||{},t.cNvPr.name=V.Zc,t.cNvPr.id=V.Id,t.cNvPr.hidden=!V.Visible,t.cNvPr.hlinkClick=V.ku,t.cNvGrpSpPr=t.cNvGrpSpPr||{},(n=t.cNvGrpSpPr).grpSpLocks=V.ToAG_Locking(n.grpSpLocks||{}),t},w.prototype.ToSJSCT_GroupShapeNonVisual=function(){var t,V,n,t=this,V,n;return{cNvPr:t.ToSJSCT_NonVisualDrawingProps(),cNvGrpSpPr:{grpSpLocks:t.ToSJSAG_Locking({})}}},w.prototype.FromCT_GroupShapeNonVisual=function(t){var V,n,n,V=this,n=t.cNvPr;V.btV(n.name),V.Id=n.id,V.Visible=!n.hidden,V.ku=n.hlinkClick,n=t.cNvGrpSpPr,V.FromAG_Locking(n&&n.grpSpLocks)},w.prototype.FromSJSCT_GroupShapeNonVisual=function(t){var t;t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),t=t.cNvGrpSpPr,this.FromSJSAG_Locking(t&&t.grpSpLocks))},w.prototype.FromCT_GroupTransform2D=function(t){var V;t&&((V=this).FromCT_Transform2D_Flip(t),V.Rotation=t.rot/r,V.XtV&&(V.FromCT_Point2D(t.off,t.ext),V.FromCT_PositiveSize2D(t.ext)),V.baseOffset={chOffX:t.chOff.x,chOffY:t.chOff.y,offX:V.I0,offY:V.A0,extX:V.YC,extY:V.ZC,chExtX:t.chExt.cx,chExtY:t.chExt.cy})},w.prototype.FromSJSCT_GroupTransform2D=function(t){var V;t&&((V=this).FromCT_Transform2D_Flip(t),V.Rotation=(0,a.getAttributeValueOrDefaultOfIntType)(t.rot,0)/r,V.XtV&&(V.FromSJSCT_Point2D(t.off,t.ext),V.FromSJSCT_PositiveSize2D(t.ext)),V.baseOffset={chOffX:(0,a.getAttributeValueOrDefaultOfIntType)(t.chOff.x,0),chOffY:(0,a.getAttributeValueOrDefaultOfIntType)(t.chOff.y,0),offX:V.I0,offY:V.A0,extX:V.YC,extY:V.ZC,chExtX:(0,a.getAttributeValueOrDefaultOfIntType)(t.chExt.cx,0),chExtY:(0,a.getAttributeValueOrDefaultOfIntType)(t.chExt.cy,0)})},w.prototype.ToCT_GroupTransform2D=function(t){var V,n,t,n,V=this,n=V.IVV,t=(t=!1!==t)&&n&&n.grpSpPr&&n.grpSpPr.xfrm||{},n=V.XtV?V.Rotation-V.XtV.Rotation:V.Rotation;return t.rot=(0,i.getWholeNumber)(n*r),t.off=V.ToCT_Point2D(),t.ext=V.ToCT_PositiveSize2D(),t.chOff={x:t.off.x,y:t.off.y},t.chExt={cx:t.ext.cx,cy:t.ext.cy},t},w.prototype.ToSJSCT_GroupTransform2D=function(){var t,V,n,t=this,V={},n=t.XtV?t.Rotation-t.XtV.Rotation:t.Rotation;return V.rot=(0,a.j)((0,i.getWholeNumber)(n*r)),V.off=t.ToSJSCT_Point2D(),V.ext=t.ToSJSCT_PositiveSize2D(),V.chOff={x:V.off.x,y:V.off.y},V.chExt={cx:V.ext.cx,cy:V.ext.cy},V},w.prototype.FromCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).IVV=t,V.FromCT_GroupShapeNonVisual(n.nvGrpSpPr),V.FromCT_GroupShapeProperties(n.grpSpPr),V.FromChildShapes(n.sp),t.grpSpPr)&&t.grpSpPr.xfrm&&(t.grpSpPr.xfrm.flipH=!1,t.grpSpPr.xfrm.flipV=!1)},w.prototype.FromSJSCT_ShapeBase=function(t){var V,n,i;t&&(n=t.c_[o.NvGrpSpPrNodeIndex].nvGrpSpPr,i=t.c_[o.GrpSpPrNodeIndex].grpSpPr,(V=this).FromSJSCT_GroupShapeNonVisual(n),V.FromSJSCT_GroupShapeProperties(i),V.FromSJSChildShapes(t),i)&&i.xfrm&&(i.xfrm.flipH=a.SJS_False,i.xfrm.flipV=a.SJS_False)},w.prototype.ToCT_ShapeBase=function(t){var V,n,V=this;return(n=(t=!1!==t)&&V.IVV||{shapeType:3}).nvGrpSpPr=V.ToCT_GroupShapeNonVisual(t),n.grpSpPr=V.ToCT_GroupShapeProperties(t),n.sp=V.ToChildShapes(V.GroupItems,t),n},w.prototype.ToSJSCT_ShapeBase=function(t){var V,n,V=this,n={n_:o.GrpSpNodeName,c_:[]};return n.c_.push({nvGrpSpPr:V.ToSJSCT_GroupShapeNonVisual()}),n.c_.push({grpSpPr:V.ToSJSCT_GroupShapeProperties()}),V.ToSJSChildShapes(V.GroupItems,n,t),n},w.prototype.FromGroupThreeDFormat=function(t){var V,n,V={},n=this.Cin;t.scene3d?V.Scene3D=t.scene3d:t.extLst&&t.extLst.ext&&0!==t.extLst.ext.length&&(t.extLst.ext.forEach(function(t){0===t.hiddenExtensionType&&(V.Scene3D=t.Scene3d)}),V.Scene3D)&&(n._InternalVisible=!1,n.Dirty(i.ThreeDFormatStates.Visible)),n.FromOOModel(V)},w.prototype.FromSJSGroupThreeDFormat=function(t){},w.prototype.FromLosslessChildShapes=function(t){var n=this;t.forEach(function(t){var V=null;0===t.shapeType&&((V=new a.LosslessShapeData(n.eJ)).mVV(n),V.FromCT_ShapeBase(t),n.LosslessGroupItems.Add(V,n))})},o.GroupShapeData=w},"./dist/plugins/shape/groupShapesView.js":function(t,V,n){var i,r,e,f,d,c,l,g,A,w,p,v,j,o,a,b,s,h,u;function L(t){return(0,c.getAllShape)(t).some(function(t){return!t.g4e()})}function m(t){return t.n_===d.GrpSpNodeName?t:t.sp||t.cxnSp||t.pic||t.graphicFrame}function x(t){return t[this.property]}function y(t){t.width=t.right-t.left,t.height=t.bottom-t.top}function C(t){var t={left:o.apply(null,t.map(x.bind({property:"left"}))),top:o.apply(null,t.map(x.bind({property:"top"}))),right:a.apply(null,t.map(x.bind({property:"right"}))),bottom:a.apply(null,t.map(x.bind({property:"bottom"})))};return y(t),t}function R(t,i){i&&i.childrenData&&(t.childrenData=i.childrenData,t.GroupItems.Items.forEach(function(t,V){var n=i.childrenData;2===t.ttV&&R(t,n&&n[V])}))}function M(t,V){var n,i,e,c,r,s,V,n=u.call(this)||this;return n.ttV=3,n._iV=!1,r=c=e=i=-1,s=n,V=V&&t.eeV(V)||t.eeV("GroupShape ",!0),s.Mf=t,s.ytV=new d.GroupShapeData(t,V,-1,-1,-1,-1),s.tin=[],n}i=this&&this.__extends||(h=function(t,V){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}h(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.GroupShape=void 0,r=n("Core"),e=n("./dist/plugins/shape/drawingInterface.js"),f=n("./dist/plugins/shape/ui/compoundShape.js"),d=n("./dist/plugins/shape/groupShapes.js"),c=n("./dist/plugins/shape/formControl/controls/util.js"),l=n("./dist/plugins/shape/shapeView.js"),g=n("./dist/plugins/shape/util/viewUtil.js"),A=n("./dist/plugins/shape/connectorView.js"),w=n("./dist/plugins/shape/cameraShapeView.js"),p=n("./dist/plugins/shape/formControlView.js"),v=n("./dist/plugins/shape/pictureShapeView.js"),j=e.ShapeUtility.syncShapeOptions,o=Math.min,a=Math.max,b=void 0,u=l.ShapeBase,i(M,u),M.prototype.QiV=function(t){var V=this;return"rotate"===t?(0,g.getFormula)(V,"angle")||V.yXn:""},M.prototype.ziV=function(t,V){var n;"rotate"===t&&this.rotate(V)},M.prototype.rotate=function(t){var V=this;if((0,g.noArguments)(arguments))return V.ytV.Rotation;V._iV||(0,g.rotateImp)(V,t)},M.prototype.allowRotate=function(t){var V,n,V=this;if((0,g.noArguments)(arguments))return!V._iV&&V.fiV;V._iV||(n=V.allowRotate(),V.DT("allowRotate",t),V.fiV=t,V.enV("allowRotate",n),V.refresh())},M.prototype.add=function(t,V){var n,i,V,i,V,e,c,i,r,s,n=this,i=n.Mf.shapes;!V&&i.get(t.name())&&(t.isSelected(!1),i.VP(t,!0)),n.tin.push(t),n.ytV.GroupItems.Add(t.ytV,n.ytV),V=t.ctV,n.ctV&&n.ctV.addShape(V),n.LnV||(V=(i=(0,g.getShapeBound)(t)).left,e=i.top,c=i.width,i=i.height,n.$iV=!0,-1===n.x()?(n.x(V),n.y(e),n.width(c),n.height(i)):(r=n.x(),s=n.y(),n.x(o(V,r)),n.y(o(e,s)),n.width(a(V+c,r+n.width())-n.x()),n.height(a(e+i,s+n.height())-n.y())),delete n.$iV,n.updateRelativeLocationSize()),n._iV=L(n.all()),n.DT("groupAddShape",{groupShape:n,shape:t}),n.refresh()},M.prototype.zIndex=function(t,V){var n,i,e,c,i,n=this,i=n.tin,e=i.length,c=n.Hq(t,!0),i=i.indexOf(c);if(1===arguments.length)return i;c&&(V=o(e-1,V),V=a(0,V),n.tin.splice(i,1),n.tin.splice(V,0,c),n.ctV.zIndex(i,V,c.ctV),n.ytV.GroupItems.zIndex(i,V,c.ytV),n.DT("groupZIndex",{groupShape:n,shapeName:t,zIndex:i,newIndex:V}),n.Mf.ki(r.Events.DrawingElementZIndexChanged,{isGroup:!0,shapeName:t,oldZIndex:i,newZindex:V}),n.refresh())},M.prototype.all=function(){return this.tin.concat()},M.prototype.remove=function(t){var V,n,i,e,V=this,n=V.tin,i=n.indexOf(t);i<0||(n.splice(i,1),V.ytV.GroupItems.Remove(t.ytV),V.ctV&&V.ctV.removeShape(t.ctV),delete t.relativeHeight,delete t.relativeWidth,delete t.relativeX,delete t.relativeY,V.LnV||(V.$iV=!0,0===(e=n.length)?(V.x(-1),V.y(-1),V.width(-1),V.height(-1)):V.ccV(),delete V.$iV,V.updateRelativeLocationSize()),V.DT("groupRemoveShape",{groupShape:V,shape:t}),V._iV=L(V.all()),V.refresh())},M.prototype.find=function(t,V){return this.Hq(t,!1)},M.prototype.Hq=function(t,V){for(var n,i,e,c,c,n=this.tin,i=0,e=n.length;i<e;i++){if((c=n[i]).name()===t)return n[i];if(3===c.ttV&&!V&&(c=c.find(t,V)))return c}return null},M.prototype.hsV=function(t){var V;t&&t.angle&&this.rotate(t.angle)},M.prototype.tnV=function(e,t){var c,r,s,V,d,o,a,n,i,i,V,V,h,u,x,V,y,c=this,r=c.Mf;c.VnV=!0,s=r.shapeLayers[0],V=c.ytV,d=V.childrenData||[],o=V.RVV||[],e||(e=c.tin,V.GroupItems.Items.forEach(function(t,V){var n,i,i,n,i,n=t.Zc,i=t.ttV;(a=0===i?new l.Shape(r,n):1===i?new A.ConnectorShape(r,n):2===i?new M(r,n):3===i?new w.CameraShape(r,n):4===i?new p.FormControlShape(r,n):5===i?new v.PictureShape(r,n):(l.ShapeBase.et(c,"createChildShape",i={shapeData:t,sheet:r}),i.shape))&&(t.Name=a.name(),a.ytV=t,(n=d[V])&&(a.preProcessShapeDataFromJson(n),a.postProcessShapeDataFromJson(n)),(i=o[V])&&a.FiV(m(i),b,!0),a.tnV(b,!0),s.temporaryMarkIdUsed(a.ctV),e.push(a))})),c.tin=e,n=[],e.forEach(function(t){n.push(t.ctV)}),j(i={},V,s),(i=new f.CompoundShape(n,i)).angle=V.Rotation,i.getShapeCenter(),i.hyperlink=V.ku,i.JVV=c,h=(V=0<(V=e.map(function(t){return(0,g.getShapeBound)(t)})).length?C(V):{left:c.x(),top:c.y(),width:c.width(),height:c.height()}).left,u=V.top,x=V.width,V=V.height,c.bnV(h,u,y=!0),c.$l(x,V,!0),c.updateRelativeLocationSize(),c.ctV=i,s.temporaryMarkIdUsed(i),delete c.VnV,c._iV=L(c.all())},M.prototype.jnV=function(){var t=this;t.ctV.shapes.forEach(function(t){t.parent=null}),t.ctV=null},M.prototype.rcV=function(){var t=this;t.layoutChildren(),t.anV(),t.refresh()},M.prototype.x=function(t){var V,n,V=this,n=u.prototype.x.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.hiV=function(){},M.prototype.y=function(t){var V,n,V=this,n=u.prototype.y.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.width=function(t){var V,n,V=this,n=u.prototype.width.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.height=function(t){var V,n,V=this,n=u.prototype.height.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.startRow=function(t){var V,n,V=this,n=u.prototype.startRow.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.startRowOffset=function(t){var V,n,V=this,n=u.prototype.startRowOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.endRow=function(t){var V,n,V=this,n=u.prototype.endRow.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.endRowOffset=function(t){var V,n,V=this,n=u.prototype.endRowOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.startColumn=function(t){var V,n,V=this,n=u.prototype.startColumn.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.startColumnOffset=function(t){var V,n,V=this,n=u.prototype.startColumnOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.endColumn=function(t){var V,n,V=this,n=u.prototype.endColumn.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.endColumnOffset=function(t){var V,n,V=this,n=u.prototype.endColumnOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},M.prototype.updateGroup=function(){var t=this,V,n;t.tin.length<0||t.dcV()},M.prototype.ccV=function(){var t=this,V=t.tin,V;t.tin&&t.tin.length<=0||(y(V=C(V.map(function(t){return(0,g.getShapeBound)(t)}))),t.x(V.left),t.y(V.top),t.width(V.width),t.height(V.height))},M.prototype.dcV=function(){var t=this;t.$iV=!0,t.ccV(),delete t.$iV,t.updateRelativeLocationSize(),t.ctV.update()},M.prototype.afterResize=function(){var t;this.layoutChildren()},M.prototype.updateRelativeLocationSize=function(){var t,V,n,i,e,c,t=this,V=t.y(),n=t.x(),i=t.width(),e=t.height(),c=t.Mf.zoom();t.tin.forEach(function(t){4===t.ttV?t.inV=t.ncV().map(function(t){return{relativeX:(t.x/c-n)/(i||1),relativeY:(t.y/c-V)/(e||1)}}):(t.relativeX=(t.x()-n)/(i||1),t.relativeY=(t.y()-V)/(e||1),t.relativeWidth=t.width()/(i||1),t.relativeHeight=t.height()/(e||1),3===t.ttV&&t.updateRelativeLocationSize())})},M.prototype.layoutChildren=function(){var t,i,e,c,r,V,t=this,i=t.y(),e=t.x(),c=t.width(),r=t.height(),V=t.mnV;V&&V.V2(),t.tin.forEach(function(t){var V,n,V=!0;4===t.ttV?(n=t.inV.map(function(t){return{x:e+t.relativeX*c,y:i+t.relativeY*r}}),t.nnV(n)):(t.$l(t.relativeWidth*c,t.relativeHeight*r,!0,void 0,void 0,void 0,!0),t.bnV(e+t.relativeX*c,i+t.relativeY*r,!0),3===t.ttV&&t.layoutChildren())}),V&&V.Y2()},M.prototype.gnV=function(){var t=this;u.prototype.gnV.call(this),t.tin&&0<t.tin.length&&t.tin.forEach(function(t){t.gnV()}),t.layoutChildren()},M.prototype.lnV=function(){this.layoutChildren()},M.prototype.KiV=function(){for(var t,V,n,i,e,e,c,t,V=this.tin,n=0,i=V.length;n<i;n++)4===(e=V[n]).ttV&&(c=(e=e).KVV(),e.nnV(c))},M.prototype.WiV=function(t){return new M(t)},M.prototype.t0V=function(t,V){switch(t){case"groupAddShape":V.groupShape.remove(V.shape);break;case"groupRemoveShape":V.groupShape.add(V.shape,!0);break;case"groupZIndex":V.groupShape.zIndex(V.shapeName,V.zIndex)}},M.prototype.leV=function(){this.updateRelativeLocationSize()},M.prototype.OiV=function(t){return t.c_[d.NvGrpSpPrNodeIndex].nvGrpSpPr.cNvPr},M.prototype.DiV=function(t){return t.grpSp},M.prototype.preProcessShapeDataToJson=function(t,V,n,i){u.prototype.preProcessShapeDataToJson.call(this,t,V,n,i);var e=t.childrenData=[];this.tin.forEach(function(t){var V={};t.preProcessShapeDataToJson(V,b,b,i),e.push(V)})},M.prototype.SiV=function(V,n,i){u.prototype.SiV.call(this,V,n,i),this.tin.forEach(function(t){t.SiV(V,n,i)})},M.prototype.postProcessShapeDataToJson=function(t,n,V,i){var e,e,c,r,s,e=this;u.prototype.postProcessShapeDataToJson.apply(e,arguments),e=e.tin,c=t.shapeData&&t.shapeData.grpSp&&t.shapeData.grpSp.sp||t.sp,r=(V||t).childrenData,e.forEach(function(t,V){var V;s=r[V],c&&c[V]&&(V=c[V],3===t.ttV?t.postProcessShapeDataToJson(V,n,s,i):t.postProcessShapeDataToJson(V,!0,b,i),t.processShapePropsToJson(s))})},M.prototype.XiV=function(t,n,i,e,V,c){u.prototype.XiV.call(this,t,n,i,e,V);var r=t.grpSp.c_;this.tin.forEach(function(t,V){var V,V=(V=r[V+d.GrpSpChildNodeIndexOffset]).n_===d.GrpSpNodeName?{grpSp:V}:V;t.XiV(V,n,i,e,!0,c)})},M.prototype.adjustShapeDataFromJson=function(t){var V,n;R(this.ytV,t)},M.prototype.formulaFromJSON=function(V,n){u.prototype.formulaFromJSON.call(this,V),this.tin.forEach(function(t){t.formulaFromJSON(V,n)})},M.prototype.afterRefSheetLazyLoaded=function(){this.tin.forEach(function(t){t.afterRefSheetLazyLoaded()})},V.GroupShape=M},"./dist/plugins/shape/pictureShape.js":function(t,V,n){var i,s,e,c,r,d,o,a,h,u,x,y,f;function l(t){return"number"==typeof t&&!isNaN(t)}function g(t,V,n){return Math.min(Math.max(t,V),n)}function A(t){this.ytV=t,this.aft=0,this.oft=0,this.T1t=0,this._VV=!1}function w(t){this.ytV=t,this.EVV=new h(t),this.D1t={left:0,right:0,top:0,bottom:0}}function p(t,V,n,i,e,c,r){var t,V,t=f.call(this,t,V,i,e,c,r)||this;return t.ttV=5,(V=t).FVV=new u(V),V.AutoShapeType=s.AutoShapeType.rectangle,V.InitShapeFormat(),t}i=this&&this.__extends||(y=function(t,V){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}y(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShapeData=void 0,s=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/shape.js"),c=s.ShapeConstants.PositionConver,r=s.ShapeConstants.DefaultTransparent,d=s.ShapeConstants.PositiveFixedPercentageConvert,o=void 0,a=Math.round,Object.defineProperty(A.prototype,"src",{get:function(){return this._ln},set:function(t){this._ln=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"base64Image",{get:function(){return this.SVV},set:function(t){this.SVV=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"transparency",{get:function(){return this.aft},set:function(t){l(t)&&(this.aft=g(t,0,1))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"brightness",{get:function(){return this.oft},set:function(t){l(t)&&(this.oft=g(t,-1,1))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"contrast",{get:function(){return this.T1t},set:function(t){l(t)&&(this.T1t=g(t,-1,1))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"grayscale",{get:function(){return this._VV},set:function(t){this._VV=!!t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"biLevel",{get:function(){return this.XVV},set:function(t){l(t)&&(this.XVV=g(t,0,1))},enumerable:!1,configurable:!0}),A.prototype.clearBiLevel=function(){this.XVV=o},Object.defineProperty(A.prototype,"duotone",{get:function(){return this.YVV},enumerable:!1,configurable:!0}),A.prototype.createDuotoneIfNotExist=function(){var t=this;t.YVV||(t.YVV={color1:new s.ColorFormat(this.ytV),color2:new s.ColorFormat(this.ytV)})},A.prototype.clearDuotone=function(){this.YVV=o},A.prototype.FromOOModel=function(t){var V,n,i,e,n;t&&(V=this,n=t.blipBlob,i=t.alphaModFix,e=t.lum,n&&(V.SVV=n.blob,V._ln=n.src||V.SVV),i&&(V.aft=1-i.amt/d),t.biLevel&&(V.XVV=t.biLevel.thresh/d),(n=t.duotone)&&2<=n.length&&(V.createDuotoneIfNotExist(),V.duotone.color1.FromOOModel(n[0]),V.duotone.color2.FromOOModel(n[1])),t.grayscl&&(V._VV=!0),e)&&(V.oft=e.bright/d,V.T1t=e.contrast/d)},A.prototype.FromSJSOOModel=function(t){var V,n,n,n,n,n,n,n,n,t,n;t&&(V=this,(n=t.blipBlob)&&(V.SVV=n.blob,V._ln=V.SVV),(n=t.lossless)&&n.src&&(V._ln=n.src),(n=t.alphaModFix)&&(n=(0,e.getAttributeValueOrDefaultOfIntType)(n.amt,0),V.aft=1-n/d),(n=t.biLevel)&&(n=(0,e.getAttributeValueOrDefaultOfIntType)(n.thresh),V.XVV=n/d),(n=t.duotone&&t.duotone.c_)&&2<=n.length&&(V.createDuotoneIfNotExist(),V.duotone.color1.FromSJSOOModel(n[0]),V.duotone.color2.FromSJSOOModel(n[1])),t.grayscl&&(V._VV=!0),n=t.lum)&&(t=(0,e.getAttributeValueOrDefaultOfIntType)(n.bright,0),n=(0,e.getAttributeValueOrDefaultOfIntType)(n.contrast,0),V.oft=t/d,V.T1t=n/d)},A.prototype.ToOOModel=function(){var t,V,n,i,e,c,t=this,V=t.SVV,n=t._ln,i=t.aft,e={},c={blipBlob:e};return n!==(e.blob=V)&&(e.src=n),i!==r&&(c.alphaModFix={amt:a((1-i)*d)}),t.biLevel!==o&&(c.biLevel={thresh:a(t.biLevel*d)}),t.duotone!==o&&(c.duotone=[t.duotone.color1.ToOOModel(),t.duotone.color2.ToOOModel()]),t.grayscale&&(c.grayscl=!0),0===t.oft&&0===t.T1t||(c.lum={bright:a(t.oft*d),contrast:a(t.T1t*d)}),c},A.prototype.ToSJSOOModel=function(){var t,V,n,n,n,n,t=this,V={r_:[8]},n=t.SVV;return V.blipBlob={blob:n},t._ln!==n&&(V.lossless={src:t._ln}),(n=t.aft)!==r&&(V.alphaModFix={amt:a((1-n)*d)}),(n=t.biLevel)!==o&&(V.biLevel={thresh:a(n*d)}),(n=t.duotone)!==o&&(V.duotone={n_:"duotone",c_:[(0,e.toSJSColorNode)(n.color1),(0,e.toSJSColorNode)(n.color2)]}),t.grayscale&&(V.grayscl={}),0===t.oft&&0===t.T1t||(V.lum={bright:a(t.oft*d),contrast:a(t.T1t*d)}),V},h=A,Object.defineProperty(w.prototype,"blip",{get:function(){return this.EVV},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"crop",{get:function(){return this.D1t},set:function(t){var V=this;V.D1t={left:0,right:0,top:0,bottom:0},l(t&&t.left)&&(V.D1t.left=t.left),l(t&&t.right)&&(V.D1t.right=t.right),l(t&&t.top)&&(V.D1t.top=t.top),l(t&&t.bottom)&&(V.D1t.bottom=t.bottom)},enumerable:!1,configurable:!0}),w.prototype.FromOOModel=function(t){var V=this;V.EVV.FromOOModel(t&&t.blip),V.FromSrcRect(t&&t.srcRect)},w.prototype.FromSJSOOModel=function(t){var V=this;V.EVV.FromSJSOOModel(t&&t.blip),V.FromSJSSrcRect(t&&t.srcRect)},w.prototype.ToOOModel=function(t){var V,n,i,V=this,n,i;return{blip:V.EVV.ToOOModel(),srcRect:V.ToSrcRect(),stretch:{fillRect:{}}}},w.prototype.ToSJSOOModel=function(){var t,V,n,t=this,V,n;return{blip:t.EVV.ToSJSOOModel(),srcRect:t.ToSJSSrcRect(),stretch:{}}},w.prototype.FromSrcRect=function(t){var V=this.D1t;V.left=(t=t||{l:0,r:0,t:0,b:0}).l/c,V.right=t.r/c,V.top=t.t/c,V.bottom=t.b/c},w.prototype.FromSJSSrcRect=function(t){var V=this.D1t;V.left=(0,e.getAttributeValueOrDefaultOfIntType)((t=t||{l:0,r:0,t:0,b:0}).l,0)/c,V.right=(0,e.getAttributeValueOrDefaultOfIntType)(t.r,0)/c,V.top=(0,e.getAttributeValueOrDefaultOfIntType)(t.t,0)/c,V.bottom=(0,e.getAttributeValueOrDefaultOfIntType)(t.b,0)/c},w.prototype.ToSrcRect=function(){var t=this.D1t;return{l:a(t.left*c),r:a(t.right*c),t:a(t.top*c),b:a(t.bottom*c)}},w.prototype.ToSJSSrcRect=function(){return this.ToSrcRect()},u=w,f=e.ShapeBaseData,i(p,f),Object.defineProperty(p.prototype,"blipFill",{get:function(){return this.FVV},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"blip",{get:function(){return this.FVV.EVV},enumerable:!1,configurable:!0}),p.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat()},p.prototype.InitFillFormat=function(){var t;this.Fill.Color.ColorType=0},p.prototype.InitLineFormat=function(){var t;this.Line.Color.ColorType=0},p.prototype.FromOOModel=function(t){var V=this;f.prototype.FromOOModel.call(this,t),V.FromCT_ShapeBase(t.pic),!1===t.isVisible&&(V._hidden=!0)},p.prototype.FromSJSOOModel=function(t,V){var n=this;f.prototype.FromSJSOOModel.call(this,t,V),n.FromSJSCT_ShapeBase(t)},p.prototype.ToOOModel=function(t,V){var n,i,n=this,i=f.prototype.ToOOModel.call(this,t);return i.pic=n.ToCT_ShapeBase(t,V),i},p.prototype.ToSJSOOModel=function(t,V){f.prototype.ToSJSOOModel.call(this,t,V),t.pic=this.ToSJSCT_ShapeBase()},p.prototype.FromCT_ShapeBase=function(t){var V;t&&((V=this).otV=t,V.FromCT_PicNonVisual(t.nvPicPr),V.FromCT_ShapeProperties(t.spPr),V.FVV.FromOOModel(t.blipFill))},p.prototype.FromSJSCT_ShapeBase=function(t){var V;t&&((V=this).FromSJSCT_PicNonVisual(t.nvPicPr),V.stV(t.spPr),V.FVV.FromSJSOOModel(t.blipFill))},p.prototype.ToCT_ShapeBase=function(t,V){var n,i,n=this;return(i=(t=!1!==t)&&n.otV||{shapeType:1}).nvPicPr=n.ToCT_PicNonVisual(t),i.spPr=n.ToCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(n.AutoShapeType),i.spPr||{},!0,t),i.blipFill=n.FVV.ToOOModel(t),i},p.prototype.ToSJSCT_ShapeBase=function(){var t,V,t=this,V={};return V.nvPicPr=t.ToSJSCT_PicNonVisual(),V.blipFill=t.FVV.ToSJSOOModel(),V.spPr=t.ToSJSCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(t.AutoShapeType),!0),V},p.prototype.FromCT_PicNonVisual=function(t){t&&(this.FromCT_NonVisualDrawingProps(t.cNvPr),this.FromCT_NonVisualDrawingPicProps(t.cNvPicPr))},p.prototype.FromSJSCT_PicNonVisual=function(t){t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),this.FromSJSCT_NonVisualDrawingPicProps(t.cNvPicPr))},p.prototype.ToCT_PicNonVisual=function(t){var V,n,t,n,V=this,n=V.otV,t=!1!==t&&n&&n.nvPicPr||{},n=t.cNvPr||{};return t.cNvPr=V.ToCT_NonVisualDrawingProps(n),t.cNvPicPr=V.ToCT_NonVisualDrawingPicProps(t.cNvPicPr||{}),t},p.prototype.ToSJSCT_PicNonVisual=function(){var t,V,t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvPicPr=t.ToSJSCT_NonVisualDrawingPicProps(),V},p.prototype.FromCT_NonVisualDrawingPicProps=function(t){this.FromAG_Locking(t&&t.picLocks)},p.prototype.FromSJSCT_NonVisualDrawingPicProps=function(t){this.FromSJSAG_Locking(t&&t.picLocks)},p.prototype.ToCT_NonVisualDrawingPicProps=function(t){return t.picLocks=this.ToAG_Locking(t.picLocks||{}),t},p.prototype.ToSJSCT_NonVisualDrawingPicProps=function(){return{picLocks:this.ToSJSAG_Locking({})}},V.PictureShapeData=p},"./dist/plugins/shape/pictureShapeView.js":function(t,V,n){var i,e,c,r,o,a,s,d,h,u,n,x,y,f,l,g,A,w,p,v,j,b,L,m;function C(t,V,n,i,e,c,r){var s,d,V,s=m.call(this)||this;return s.ttV=1,(d=s).Mf=t,V=V&&t.eeV(V)||t.eeV("Picture ",!0),d.ytV=new a.PictureShapeData(t,V,A,i||0,e||0,c||200,r||160),d.IiV=x(c)&&x(r),d.yiV=o.ResizeMode.aspect,d.ytV.noChangeAspect=!0,d.RiV=!0,n!==A&&d.tnV(),delete d.RiV,d.MiV(n),s}i=this&&this.__extends||(L=function(t,V){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}L(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShape=void 0,e=n("Common"),c=n("Core"),r=n("./dist/plugins/shape/drawingInterface.js"),o=n("./dist/plugins/shape/shape.interface.js"),a=n("./dist/plugins/shape/pictureShape.js"),s=n("./dist/plugins/shape/ui/util.js"),d=n("./dist/plugins/shape/shapeView.js"),h=n("./dist/plugins/shape/util/viewUtil.js"),u=n("./dist/plugins/shape/shapeStyleView.js"),n=e.Common.lt,x=n.ht,y=c.oCe.loadBase64ImageByUrl,f=r.ShapeUtility.getColorInfo,l=r.ShapeUtility.syncShapeOptions,g=r.ShapeUtility.syncShapeAdjustValues,A=void 0,w="src",p="rotate",v="angle",j="style",m=d.ShapeBase,i(C,m),C.prototype.rotate=function(t){var V=this;if((0,h.noArguments)(arguments))return V.ytV.Rotation;(0,h.rotateImp)(V,t)},C.prototype.style=function(t){var V,n,i,i,V=this;if((0,h.noArguments)(arguments))return V.getStyle(!0,!1);n=V.style(),V.DT("style",t,n),(i=t.fill)&&((0,h.adjustTransparentColor)(i),V.VeV(i)),(i=t.line)&&((0,h.adjustTransparentColor)(i),V.j0V(i)),V.enV("style",n),V.refresh()},C.prototype.getStyle=function(t,V){var n,i,n=this,i=new u.ShapeStyle;return i.fill=n.n0V(t,V),i.line=n.ydV(t,V),delete i.textEffect,delete i.textFrame,i},C.prototype.src=function(t){var V,n,V=this;if((0,h.noArguments)(arguments))return V.ytV.blip.src;n=V.src(),V.DT("src",t,n),(0,h.isFormula)(t)?t!==V.getFormula(w)&&(V.MiV(""),(0,h.setFormula)(V,w,t)):((0,h.removeFormula)(V,w),V.MiV(t)),V.enV("src",n)},C.prototype.getBase64Image=function(){var t,V,t=this,V=t.ytV.blip.base64Image;return V=!V&&t.ctV?t.ctV.getBase64Image():V},C.prototype.MiV=function(V){var n,t,n=this,t=n.ytV.blip;V!==t.src&&(t.src=V,s.Common.isBase64ImageStr(V)?n.X0V(V):(0,s.isSparkLineValue)(V)?n.X0V(A):(0,h.isUrl)(V)?(n.X0V(A),y(V,function(t){n.crV(V,t)})):(t.src="",n.X0V(A)),n.rrV(),n.refresh())},C.prototype.crV=function(t,V){var n=this;n.src()===t&&(n.X0V(V),n.rrV(),n.refresh())},C.prototype.X0V=function(t){var V=this;V.hvt=A,V.dvt=A,(V.ytV.blip.base64Image=t)&&s.Common.getBase64ImageSize(t,V.Y0V.bind(V))},C.prototype.pictureFormat=function(t){var V,n,i,e,c,r,s,d,o,a,t,V=this,n=V.ytV.blipFill,i=V.ytV.blip;if((0,h.noArguments)(arguments))return{transparency:i.transparency,crop:JSON.parse(JSON.stringify(n.crop)),brightness:i.brightness,contrast:i.contrast,grayscale:i.grayscale,blackAndWhite:i.biLevel,duotone:i.duotone&&{color1:f({Color:i.duotone.color1}).color,color2:f({Color:i.duotone.color2}).color}};e=V.pictureFormat(),V.DT("pictureFormat",t),c=t&&t.transparency,r=t&&t.crop,s=t&&t.brightness,d=t&&t.contrast,o=t&&t.grayscale,a=t&&t.blackAndWhite,t=t&&t.duotone,i.transparency=c||0,i.brightness=s||0,i.contrast=d||0,n.crop=r,i.grayscale=!1,i.clearBiLevel(),i.clearDuotone(),o?i.grayscale=o:x(a)?x(t)||(i.createDuotoneIfNotExist(),i.duotone.color1.setColor(V.Mf,t.color1),i.duotone.color2.setColor(V.Mf,t.color2)):i.biLevel=a,V.drV(),V.enV("pictureFormat",e),V.refresh()},C.prototype.getOriginalWidth=function(){return this.hvt},C.prototype.getOriginalHeight=function(){return this.dvt},C.prototype.Y0V=function(t,V){var n,i,n=this;n.Mf&&n.Mf.xT||(i={originWidth:n.hvt,height:n.dvt},n.hvt=t,n.dvt=V,n.IiV&&(n.width(n.hvt),n.height(n.dvt),n.IiV=!1),n.enV("originalSize",i))},C.prototype.geometryType=function(t){var V,n,i,V=this,n=V.ytV,i=n.AutoShapeType;if((0,h.noArguments)(arguments))return i;t!==i&&(V.DT("geometryType",t),n.AutoShapeType=t,V.enV("geometryType",i),t&&V.tnV(),V.GiV(),V.refresh())},C.prototype.adjustments=function(t){var V=this;if((0,h.noArguments)(arguments))return(0,h.getShapeAdjustments)(V);V.edV((0,h.convertArrayValueToAdjustmentValue)(V.ytV,t))},C.prototype.VrV=function(t){this.MiV(t)},C.prototype.type=function(){return this.geometryType()},C.prototype.preProcessShapeDataFromJson=function(t){m.prototype.preProcessShapeDataFromJson.call(this,t),this.IiV=!1},C.prototype.EiV=function(t,V){m.prototype.EiV.call(this,t,V),this.IiV=!1},C.prototype.postProcessShapeDataToJson=function(t,V,n,i){m.prototype.postProcessShapeDataToJson.call(this,t,V,n,i),(0,h.processShapeEmptyBlipBlobWhenToJson)(this,V?t:t.shapeData.pic)},C.prototype.XiV=function(t,V,n,i,e){m.prototype.XiV.call(this,t,V,n,i,e),(0,h.processShapeEmptyBlipBlobWhenToJson)(this,t.pic)},C.prototype.postProcessShapeDataFromJson=function(t){var t,V;m.prototype.postProcessShapeDataFromJson.call(this,t),(V=(t=this).ytV.blip.base64Image)&&s.Common.getBase64ImageSize(V,t.Y0V.bind(t))},C.prototype.tnV=function(){var t,V,n,i,e,V,c,r,e,n,t=this,V=t.Mf,n=V.zoom();t.RiV=!0,t.VnV=!0,e=(i=t.ytV).ntV,V=V.shapeLayers[0],(c=t.aiV)||(r=(0,h.getBuiltInShapeModelWhenInit)(i,e,n)),e=(0,h.removeOldShapeUIWhenInitShapeUI)(t,V),l(r,i,V,c),n=V.createPictureShape(r),g(n,i),n.ttV=5,n.getShapeCenter(),n.hyperlink=i.ku,t.ZnV(n.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,h.addNewShapeUIWhenInitShapeUI)(t,n,V,e),delete t.VnV,delete t.RiV,t.T0V()},C.prototype.QiV=function(t){var V=this;return t===w?(0,h.getFormula)(V,w):t===p?(0,h.getFormula)(V,v):t.substr(0,5)===j?(0,h.getStyleFormula)(V,t,!1):""},C.prototype.ziV=function(t,V){var n=this;t===w?n.src(V):t===p?n.rotate(V):t.substring(0,5)===j&&(0,h.setStyleFormula)(n,t,V,!1)},C.prototype.hsV=function(t){var V=this;t&&(t.angle&&V.rotate(t.angle),t.line&&V.j0V(t.line),t.fill&&V.VeV(t.fill),t.src)&&(0,s.setFormulaImp)(V,w,t.src)},C.prototype.T0V=function(){var t=this;t.rrV(),t.drV()},C.prototype.rrV=function(){var t,V,V,t=this;t.ctV&&(V=t.ytV.blip,V=(0,s.isSparkLineValue)(V.src)?V.src:V.base64Image,t.ctV.src(V))},C.prototype.drV=function(){var t=this;t.ctV&&t.ctV.pictureFormat(t.pictureFormat())},C.prototype.WiV=function(t){return new C(t)},C.prototype.OiV=function(t){return t.nvPicPr.cNvPr},C.prototype.DiV=function(t){return t.pic},C.prototype.urV=function(){m.prototype.urV.call(this);var t=this;(0,s.isImageSparkLineValue)(t.src())&&t.ctV&&t.ctV.yrV()},V.PictureShape=C},"./dist/plugins/shape/presetShapeModels.js":function(t,V){var V,n,i,e,c,r,s,d,o,a,h,u,x,y,f,l;Object.defineProperty(V,"__esModule",{value:!0}),V.TVV=void 0,V.TVV=l={none:{variables:{l:0,t:0,r:V="=width",b:n="=height"},connectionPoints:[{x:0,y:0},{x:V,y:n}],path:[[["M",0,0],["L",V,n],{}]]},line:{variables:{l:0,t:0,r:V,b:n},connectionPoints:[{x:0,y:0},{x:V,y:n}],path:[[["M",0,0],["L",V,n],{fillMode:"none"}]]},rectangle:{variables:{hc:y="=width/2",t:0,l:0,vc:f="=height/2",b:n,r:V},connectionPoints:[{x:e="=V.hc",y:0},{x:0,y:c="=V.vc"},{x:e,y:n},{x:V,y:c}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]]},parallelogram:{variables:{adj:25e3,ss:i="=MIN(width, height)",maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",x1:"=V.ss * V.a / 200000",x2:"=V.ss * V.a / 100000",r:V,x6:"=width - V.x1",x5:"=width - V.x2",x3:"=V.x5 / 2",x4:"=width - V.x3",wd2:y,il:"=V.wd2 * V.a / V.maxAdj",q1:"=5 * V.a / V.maxAdj",q2:"=(1 + V.q1) / 12",_il:"=V.q2 * width",it:"=V.q2 * height",ir:"=width - V._il",b:n,ib:"=height - V.it",hc:y,q3:"=height * V.hc / V.x2",y1:"=MIN(MAX(0, V.q3), height)",y2:"=height - V.y1",t:0,vc:f,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:o="=V.y2"},{x:"=V.x4",y:0},{x:"=V.x6",y:c},{x:"=V.x3",y:n},{x:e,y:d="=V.y1"},{x:r="=V.x1",y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s="=V.x2",0]}],path:[[["M",0,n],["L",s,0],["L",V,0],["L","=V.x5",n],["Z"],{}]],textRect:{left:"=V._il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},trapezoid:{variables:{adj:25e3,ss:i,maxAdj:"=50000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",x1:"=V.ss * V.a / 200000",x2:"=V.ss * V.a / 100000",r:V,x3:"=width - V.x2",x4:"=width - V.x1",wd3:"=width/3",il:"=V.wd3 * V.a / V.maxAdj",hd3:"=height/3",it:"=V.hd3 * V.a / V.maxAdj",ir:"=width - V.il",hc:y,t:0,vc:f,b:n,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:r,y:c},{x:e,y:n},{x:"=V.x4",y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,n],["L",s,0],["L","=V.x3",0],["L",V,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:n}},diamond:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,l:0,vc:f,b:n,r:V,wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,c],["L",e,0],["L",V,c],["L",e,n],["Z"],{}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},roundedRectangle:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd2:h=108e5,cd4:u=54e5,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",_3cd4:x=162e5,cx2:"=C(V.x1,V.x2,A(V.x1,V.x1,V._3cd4),true)",cy2:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx3:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy3:"=C(V.x1,V.y2,A(V.x1,V.x1,0))",cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4),true)",cy4:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,r],["E","=V.cx1","=V.cy1",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx3","=V.cy3",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",r,n],["E","=V.cx4","=V.cy4",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},octagon:{variables:{adj:29289,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 / 2",ir:"=width - V.il",ib:"=height - V.il",l:0,t:0},adjustInfo:[["adj",29289]],connectionPoints:[{x:V,y:r},{x:V,y:o},{x:s,y:n},{x:r,y:n},{x:0,y:o},{x:0,y:r},{x:r,y:0},{x:s,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,r],["L",r,0],["L",s,0],["L",V,r],["L",V,o],["L",s,n],["L",r,n],["L",0,o],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},isoscelesTriangle:{variables:{adj:5e4,a:"=MIN(MAX(0, V.adj), 100000)",x1:"=width * V.a / 200000",x2:"=width * V.a / 100000",wd2:y,x3:"=V.x1 + V.wd2",t:0,vc:f,l:0,b:n,r:V},adjustInfo:[["adj",5e4]],connectionPoints:[{x:s,y:0},{x:r,y:c},{x:0,y:n},{x:s,y:n},{x:V,y:n},{x:"=V.x3",y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:1e5,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,n],["L",s,0],["L",V,n],["Z"],{}]],textRect:{left:r,top:c,right:"=V.x3",bottom:n}},rightTriangle:{variables:{it:"=height * 7 / 12",ir:"=width * 7 / 12",ib:"=height * 11 / 12",l:0,t:0,vc:f,b:n,hc:y,r:V,wd12:"=width/12"},connectionPoints:[{x:0,y:0},{x:0,y:c},{x:0,y:n},{x:e,y:n},{x:V,y:n},{x:e,y:c}],path:[[["M",0,n],["L",0,0],["L",V,n],["Z"],{}]],textRect:{left:"=V.wd12",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},oval:{variables:{wd2:y,d2r:a=3437746.770784939,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},hexagon:{variables:{adj:25e3,vf:115470,ss:i,maxAdj:"=50000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",hd2:f,shd2:"=V.hd2 * V.vf / 100000",x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",d2r:a,dy1:"=V.shd2 * SIN(3600000 / V.d2r)",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",q1:"=V.maxAdj * -1 / 2",q2:"=V.a + V.q1",q3:"=IF(V.q2 > 0, 4, 2)",q4:"=IF(V.q2 > 0, 3, 2)",q5:"=IF(V.q2 > 0, V.q1, 0)",q6:"=(V.a + V.q5) / V.q1",q7:"=V.q6 * V.q4 / -1",q8:"=V.q3 + V.q7",il:"=width * V.q8 / 24",it:"=height * V.q8 / 24",ir:"=width - V.il",b:n,ib:"=height - V.it",l:0,t:0},adjustInfo:[["adj",25e3],["vf",115470]],connectionPoints:[{x:V,y:c},{x:s,y:o},{x:r,y:o},{x:0,y:c},{x:r,y:d},{x:s,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,c],["L",r,d],["L",s,d],["L",V,c],["L",s,o],["L",r,o],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},cross:{variables:{adj:25e3,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",d:"=width - height",l:0,il:"=IF(V.d > 0, V.l, V.x1)",ir:"=IF(V.d > 0, V.r, V.x2)",t:0,it:"=IF(V.d > 0, V.x1, V.t)",ib:"=IF(V.d > 0, V.y2, V.b)",hc:y,vc:f},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,r],["L",r,r],["L",r,0],["L",s,0],["L",s,r],["L",V,r],["L",V,o],["L",s,o],["L",s,n],["L",r,n],["L",r,o],["L",0,o],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},regularPentagon:{variables:{hf:105146,vf:110557,wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",d2r:a,dx1:"=V.swd2 * COS(1080000 / V.d2r)",dx2:"=V.swd2 * COS(18360000 / V.d2r)",dy1:"=V.shd2 * SIN(1080000 / V.d2r)",dy2:"=V.shd2 * SIN(18360000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc - V.dy2",it:"=V.y1 * V.dx2 / V.dx1",t:0,b:n},adjustInfo:[["hf",105146],["vf",110557]],connectionPoints:[{x:e,y:0},{x:r,y:d},{x:s,y:o},{x:e,y:n},{x:"=V.x3",y:o},{x:"=V.x4",y:d}],path:[[["M",r,d],["L",e,0],["L","=V.x4",d],["L","=V.x3",o],["L",s,o],["Z"],{}]],textRect:{left:s,top:"=V.it",right:"=V.x3",bottom:o}},can:{variables:{adj:25e3,ss:i,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 200000",y2:"=V.y1 + V.y1",b:n,y3:"=height - V.y1",hc:y,t:0,l:0,vc:f,r:V,wd2:y,cd2:h,cx1:"=C(V.wd2,V.l,A(V.wd2,V.y1,V.cd2),true)",cy1:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))",cx2:"=C(V.wd2,V.r,A(V.wd2,V.y1,0),true)",cy2:"=C(V.y1,V.y3,A(V.wd2,V.y1,0))",cx3:"=C(V.wd2,V.l,A(V.wd2,V.y1,V.cd2),true)",cy3:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.y1,(V.cd2 + V.cd2)),true),A(V.wd2,V.y1,0),true)",cy4:"=C(V.y1,P(V.cy3,V.y1,A(V.wd2,V.y1,(V.cd2 + V.cd2))),A(V.wd2,V.y1,0))",cx5:"=C(V.wd2,V.r,A(V.wd2,V.y1,0),true)",cy5:"=C(V.y1,V.y1,A(V.wd2,V.y1,0))",cx6:"=C(V.wd2,P(V.cx5,V.wd2,A(V.wd2,V.y1,(V.cd2)),true),A(V.wd2,V.y1,V.cd2),true)",cy6:"=C(V.y1,P(V.cy5,V.y1,A(V.wd2,V.y1,(V.cd2))),A(V.wd2,V.y1,V.cd2))",cx7:"=C(V.wd2,V.r,A(V.wd2,V.y1,0),true)",cy7:"=C(V.y1,V.y3,A(V.wd2,V.y1,0))"},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:o},{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"hc",y:"y2"},point:[e,o]}],path:[[["M",0,d],["E","=V.cx1","=V.cy1","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L",V,"=V.y3"],["E","=V.cx2","=V.cy2","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",0,d],["E","=V.cx3","=V.cy3","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"lighten",strokeMode:"false"}],[["M",V,d],["E","=V.cx5","=V.cy5","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=V.y3"],["E","=V.cx7","=V.cy7","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",0,d],{fillMode:"none"}]],textRect:{left:0,top:o,right:V,bottom:"=V.y3"}},cube:{variables:{adj:25e3,a:"=MIN(MAX(0, V.adj), 100000)",ss:i,y1:"=V.ss * V.a / 100000",b:n,y4:"=height - V.y1",y2:"=V.y4 / 2",y3:"=(V.y1 + V.b) / 2",r:V,x4:"=width - V.y1",x2:"=V.x4 / 2",x3:"=(V.y1 + V.r) / 2",t:0,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:"=V.x3",y:0},{x:s,y:d},{x:0,y:"=V.y3"},{x:s,y:n},{x:"=V.x4",y:"=V.y3"},{x:V,y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",0,d],["L","=V.x4",d],["L","=V.x4",n],["L",0,n],["Z"],{strokeMode:"false"}],[["M","=V.x4",d],["L",V,0],["L",V,"=V.y4"],["L","=V.x4",n],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,d],["L",d,0],["L",V,0],["L","=V.x4",d],["Z"],{fillMode:"lightenLess",strokeMode:"false"}],[["M",0,d],["L",d,0],["L",V,0],["L",V,"=V.y4"],["L","=V.x4",n],["L",0,n],["Z"],["M",0,d],["L","=V.x4",d],["L",V,0],["M","=V.x4",d],["L","=V.x4",n],{fillMode:"none"}]],textRect:{left:0,top:d,right:"=V.x4",bottom:n}},bevel:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",vc:f,hc:y,l:0,t:0},adjustInfo:[["adj",12500]],connectionPoints:[{x:V,y:c},{x:s,y:c},{x:e,y:n},{x:e,y:o},{x:0,y:c},{x:r,y:c},{x:e,y:0},{x:e,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",r,r],["L",s,r],["L",s,o],["L",r,o],["Z"],{strokeMode:"false"}],[["M",0,0],["L",V,0],["L",s,r],["L",r,r],["Z"],{fillMode:"lightenLess",strokeMode:"false"}],[["M",0,n],["L",r,o],["L",s,o],["L",V,n],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,0],["L",r,r],["L",r,o],["L",0,n],["Z"],{fillMode:"lighten",strokeMode:"false"}],[["M",V,0],["L",V,n],["L",s,o],["L",s,r],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",r,r],["L",s,r],["L",s,o],["L",r,o],["Z"],["M",0,0],["L",r,r],["M",0,n],["L",r,o],["M",V,0],["L",s,r],["M",V,n],["L",s,o],{fillMode:"none"}]],textRect:{left:r,top:r,right:s,bottom:o}},foldedCorner:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dy2:"=V.ss * V.a / 100000",dy1:"=V.dy2 / 5",r:V,x1:"=width - V.dy2",x2:"=V.x1 + V.dy1",b:n,y2:"=height - V.dy2",y1:"=V.y2 + V.dy1",hc:y,t:0,l:0,vc:f},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"b"},point:[r,n]}],path:[[["M",0,0],["L",V,0],["L",V,o],["L",r,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,n],["L",s,d],["L",V,o],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",r,n],["L",s,d],["L",V,o],["L",r,n],["L",0,n],["L",0,0],["L",V,0],["L",V,o],{fillMode:"none"}]],textRect:{left:0,top:0,right:V,bottom:o}},smileyFace:{variables:{adj:4653,a:"=MIN(MAX(-4653, V.adj), 4653)",x1:"=width * 4969 / 21699",x2:"=width * 6215 / 21600",x3:"=width * 13135 / 21600",x4:"=width * 16640 / 21600",y1:"=height * 7570 / 21600",y3:"=height * 16515 / 21600",dy2:"=height * V.a / 100000",y2:"=V.y3 - V.dy2",y4:"=V.y3 + V.dy2",dy3:"=height * V.a / 50000",y5:"=V.y4 + V.dy3",wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",wR:"=width * 1125 / 21600",hR:"=height * 1125 / 21600",t:0,l:0,b:n,r:V,cd2:h,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx2:"=C(V.wR,V.x2,A(V.wR,V.hR,V.cd2),true)",cy2:"=C(V.hR,V.y1,A(V.wR,V.hR,V.cd2))",cx3:"=C(V.wR,V.x3,A(V.wR,V.hR,V.cd2),true)",cy3:"=C(V.hR,V.y1,A(V.wR,V.hR,V.cd2))",cx4:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy4:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))"},adjustInfo:[["adj",4653]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:-4653,maxY:4653,position:{x:"hc",y:"y4"},point:[e,"=V.y4"]}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=(A(V.wd2,V.hd2,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",s,d],["E","=V.cx2","=V.cy2","=V.wR","=V.hR",0,"=A(V.wR,V.hR,V.cd2)","=(A(V.wR,V.hR,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.x3",d],["E","=V.cx3","=V.cy3","=V.wR","=V.hR",0,"=A(V.wR,V.hR,V.cd2)","=(A(V.wR,V.hR,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],{fillMode:"darkenLess"}],[["M",r,o],["Q",e,"=V.y5","=V.x4",o],{fillMode:"none"}],[["M",0,c],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=(A(V.wd2,V.hd2,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},donut:{variables:{adj:25e3,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dr:"=V.ss * V.a / 100000",wd2:y,iwd2:"=V.wd2 - V.dr",hd2:f,ihd2:"=V.hd2 - V.dr",d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.iwd2,V.dr,A(V.iwd2,V.ihd2,V.cd2),true)",cy5:"=C(V.ihd2,V.vc,A(V.iwd2,V.ihd2,V.cd2))",cx6:"=C(V.iwd2,P(V.cx5,V.iwd2,A(V.iwd2,V.ihd2,(V.cd2 + -5400000)),true),A(V.iwd2,V.ihd2,V.cd4),true)",cy6:"=C(V.ihd2,P(V.cy5,V.ihd2,A(V.iwd2,V.ihd2,(V.cd2 + -5400000))),A(V.iwd2,V.ihd2,V.cd4))",cx7:"=C(V.iwd2,P(V.cx6,V.iwd2,A(V.iwd2,V.ihd2,(V.cd4 + -5400000)),true),A(V.iwd2,V.ihd2,0),true)",cy7:"=C(V.ihd2,P(V.cy6,V.ihd2,A(V.iwd2,V.ihd2,(V.cd4 + -5400000))),A(V.iwd2,V.ihd2,0))",cx8:"=C(V.iwd2,P(V.cx7,V.iwd2,A(V.iwd2,V.ihd2,(-5400000)),true),A(V.iwd2,V.ihd2,V._3cd4),true)",cy8:"=C(V.ihd2,P(V.cy7,V.ihd2,A(V.iwd2,V.ihd2,(-5400000))),A(V.iwd2,V.ihd2,V._3cd4))"},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"}],controlsInfo:[{type:"ahPolar",gdRefR:"adj",minR:0,maxR:5e4,position:{x:"dr",y:"vc"},point:["=V.dr",c]}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],["M","=V.dr",c],["E","=V.cx5","=V.cy5","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.cd2)","=A(V.iwd2,V.ihd2,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.cd4)","=A(V.iwd2,V.ihd2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,0)","=A(V.iwd2,V.ihd2,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx8","=V.cy8","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V._3cd4)","=A(V.iwd2,V.ihd2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},noSymbol:{variables:{adj:18750,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dr:"=V.ss * V.a / 100000",wd2:y,iwd2:"=V.wd2 - V.dr",hd2:f,ihd2:"=V.hd2 - V.dr",d2r:a,ang:"=(ATAN2(width,height) * V.d2r)",ct:"=V.ihd2 * COS(V.ang / V.d2r)",st:"=V.iwd2 * SIN(V.ang / V.d2r)",m:"=SQRT(V.ct*V.ct + V.st*V.st)",n:"=V.iwd2 * V.ihd2 / V.m",drd2:"=V.dr / 2",dang:"=(ATAN2(V.n,V.drd2) * V.d2r)","2dang":"=V.dang * 2",swAng:"=-10800000 + V.2dang",t3:"=(ATAN2(width,height) * V.d2r)",stAng1:"=V.t3 - V.dang",cd2:h,stAng2:"=V.stAng1 - V.cd2",ct1:"=V.ihd2 * COS(V.stAng1 / V.d2r)",st1:"=V.iwd2 * SIN(V.stAng1 / V.d2r)",m1:"=SQRT(V.ct1*V.ct1 + V.st1*V.st1)",n1:"=V.iwd2 * V.ihd2 / V.m1",dx1:"=V.n1 * COS(V.stAng1 / V.d2r)",dy1:"=V.n1 * SIN(V.stAng1 / V.d2r)",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x2:"=V.hc - V.dx1",y2:"=V.vc - V.dy1",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.iwd2,V.x1,A(V.iwd2,V.ihd2,V.stAng1),true)",cy5:"=C(V.ihd2,V.y1,A(V.iwd2,V.ihd2,V.stAng1))",cx6:"=C(V.iwd2,V.x2,A(V.iwd2,V.ihd2,V.stAng2),true)",cy6:"=C(V.ihd2,V.y2,A(V.iwd2,V.ihd2,V.stAng2))"},adjustInfo:[["adj",18750]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"}],controlsInfo:[{type:"ahPolar",gdRefR:"adj",minR:0,maxR:5e4,position:{x:"dr",y:"vc"},point:["=V.dr",c]}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],["M",r,d],["E","=V.cx5","=V.cy5","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.stAng1)","=A(V.iwd2,V.ihd2,(V.stAng1 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],["M",s,o],["E","=V.cx6","=V.cy6","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.stAng2)","=A(V.iwd2,V.ihd2,(V.stAng2 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},blockArc:{variables:{adj1:h,adj2:0,adj3:25e3,stAng:"=MIN(MAX(0, V.adj1), 21599999)",istAng:"=MIN(MAX(0, V.adj2), 21599999)",a3:"=MIN(MAX(0, V.adj3), 50000)",sw11:"=V.istAng - V.stAng",sw12:"=V.sw11 + 21600000",swAng:"=IF(V.sw11 > 0, V.sw11, V.sw12)",iswAng:"=0 - V.swAng",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",wt3:"=V.wd2 * SIN(V.istAng / V.d2r)",ht3:"=V.hd2 * COS(V.istAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",dx3:"=V.wd2 * COS(ATAN2(V.ht3,V.wt3))",dy3:"=V.hd2 * SIN(ATAN2(V.ht3,V.wt3))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x3:"=V.hc + V.dx3",y3:"=V.vc + V.dy3",ss:i,dr:"=V.ss * V.a3 / 100000",iwd2:"=V.wd2 - V.dr",ihd2:"=V.hd2 - V.dr",wt2:"=V.iwd2 * SIN(V.istAng / V.d2r)",ht2:"=V.ihd2 * COS(V.istAng / V.d2r)",wt4:"=V.iwd2 * SIN(V.stAng / V.d2r)",ht4:"=V.ihd2 * COS(V.stAng / V.d2r)",dx2:"=V.iwd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.ihd2 * SIN(ATAN2(V.ht2,V.wt2))",dx4:"=V.iwd2 * COS(ATAN2(V.ht4,V.wt4))",dy4:"=V.ihd2 * SIN(ATAN2(V.ht4,V.wt4))",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",x4:"=V.hc + V.dx4",y4:"=V.vc + V.dy4",sw0:"=21600000 - V.stAng",da1:"=V.swAng - V.sw0",g1:"=MAX(V.x1, V.x2)",g2:"=MAX(V.x3, V.x4)",g3:"=MAX(V.g1, V.g2)",r:V,ir:"=IF(V.da1 > 0, V.r, V.g3)",cd4:u,sw1:"=V.cd4 - V.stAng",sw2:"=27000000 - V.stAng",sw3:"=IF(V.sw1 > 0, V.sw1, V.sw2)",da2:"=V.swAng - V.sw3",g5:"=MAX(V.y1, V.y2)",g6:"=MAX(V.y3, V.y4)",g7:"=MAX(V.g5, V.g6)",b:n,ib:"=IF(V.da2 > 0, V.b, V.g7)",cd2:h,sw4:"=V.cd2 - V.stAng",sw5:"=32400000 - V.stAng",sw6:"=IF(V.sw4 > 0, V.sw4, V.sw5)",da3:"=V.swAng - V.sw6",g9:"=MIN(V.x1, V.x2)",g10:"=MIN(V.x3, V.x4)",g11:"=MIN(V.g9, V.g10)",l:0,il:"=IF(V.da3 > 0, V.l, V.g11)",_3cd4:x,sw7:"=V._3cd4 - V.stAng",sw8:"=37800000 - V.stAng",sw9:"=IF(V.sw7 > 0, V.sw7, V.sw8)",da4:"=V.swAng - V.sw9",g13:"=MIN(V.y1, V.y2)",g14:"=MIN(V.y3, V.y4)",g15:"=MIN(V.g13, V.g14)",t:0,it:"=IF(V.da4 > 0, V.t, V.g15)",x5:"=(V.x1 + V.x4) / 2",y5:"=(V.y1 + V.y4) / 2",x6:"=(V.x3 + V.x2) / 2",y6:"=(V.y3 + V.y2) / 2",cang1:"=V.stAng - V.cd4",cang2:"=V.istAng + V.cd4",cang3:"=(V.cang1 + V.cang2) / 2",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))",cx2:"=C(V.iwd2,V.x2,A(V.iwd2,V.ihd2,V.istAng),true)",cy2:"=C(V.ihd2,V.y2,A(V.iwd2,V.ihd2,V.istAng))"},adjustInfo:[["adj1",108e5],["adj2",0],["adj3",25e3]],connectionPoints:[{x:"=V.x5",y:"=V.y5"},{x:"=V.x6",y:"=V.y6"},{x:e,y:c}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahPolar",gdRefR:"adj3",minR:0,maxR:5e4,gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",r,d],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",s,o],["E","=V.cx2","=V.cy2","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.istAng)","=A(V.iwd2,V.ihd2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},heart:{variables:{dx1:"=width * 49 / 48",dx2:"=width * 10 / 48",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",t:0,hd3:"=height/3",y1:"=0 - V.hd3",il:"=width / 6",ir:"=width * 5 / 6",ib:"=height * 2 / 3",hd4:"=height/4",b:n},connectionPoints:[{x:e,y:"=V.hd4"},{x:e,y:n}],path:[[["M",e,"=V.hd4"],["B","=V.x3",d,"=V.x4","=V.hd4",e,n],["B",r,"=V.hd4",s,d,e,"=V.hd4"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},lightningBolt:{variables:{x1:"=width * 5022 / 21600",x3:"=width * 8472 / 21600",x4:"=width * 8757 / 21600",x5:"=width * 10012 / 21600",x8:"=width * 12860 / 21600",x9:"=width * 13917 / 21600",x11:"=width * 16577 / 21600",y1:"=height * 3890 / 21600",y2:"=height * 6080 / 21600",y4:"=height * 7437 / 21600",y6:"=height * 9705 / 21600",y7:"=height * 12007 / 21600",y10:"=height * 14277 / 21600",y11:"=height * 14915 / 21600",t:0,l:0,r:V,b:n,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:"=V.x3",y:0},{x:0,y:d},{x:r,y:"=V.y6"},{x:"=V.x5",y:"=V.y11"},{x:V,y:n},{x:"=V.x11",y:"=V.y7"},{x:"=V.x8",y:o}],path:[[["M","=8472 * V._scaleX1",0],["L","=12860 * V._scaleX1","=6080 * V._scaleY1"],["L","=11050 * V._scaleX1","=6797 * V._scaleY1"],["L","=16577 * V._scaleX1","=12007 * V._scaleY1"],["L","=14767 * V._scaleX1","=12877 * V._scaleY1"],["L",V,n],["L","=10012 * V._scaleX1","=14915 * V._scaleY1"],["L","=12222 * V._scaleX1","=13987 * V._scaleY1"],["L","=5022 * V._scaleX1","=9705 * V._scaleY1"],["L","=7602 * V._scaleX1","=8382 * V._scaleY1"],["L",0,"=3890 * V._scaleY1"],["Z"],{}]],textRect:{left:"=V.x4",top:"=V.y4",right:"=V.x9",bottom:"=V.y10"}},sun:{variables:{adj:25e3,a:"=MIN(MAX(12500, V.adj), 46875)",g0:"=50000 - V.a",g1:"=V.g0 * 30274 / 32768",g2:"=V.g0 * 12540 / 32768",g3:"=V.g1 + 50000",g4:"=V.g2 + 50000",g5:"=50000 - V.g1",g6:"=50000 - V.g2",g7:"=V.g0 * 23170 / 32768",g8:"=50000 + V.g7",g9:"=50000 - V.g7",g10:"=V.g5 * 3 / 4",g11:"=V.g6 * 3 / 4",g12:"=V.g10 + 3662",g13:"=V.g11 + 3662",g14:"=V.g11 + 12500",g15:"=100000 - V.g10",g16:"=100000 - V.g12",g17:"=100000 - V.g13",g18:"=100000 - V.g14",ox1:"=width * 18436 / 21600",oy1:"=height * 3163 / 21600",ox2:"=width * 3163 / 21600",oy2:"=height * 18436 / 21600",x8:"=width * V.g8 / 100000",x9:"=width * V.g9 / 100000",x10:"=width * V.g10 / 100000",x12:"=width * V.g12 / 100000",x13:"=width * V.g13 / 100000",x14:"=width * V.g14 / 100000",x15:"=width * V.g15 / 100000",x16:"=width * V.g16 / 100000",x17:"=width * V.g17 / 100000",x18:"=width * V.g18 / 100000",x19:"=width * V.a / 100000",wR:"=width * V.g0 / 100000",hR:"=height * V.g0 / 100000",y8:"=height * V.g8 / 100000",y9:"=height * V.g9 / 100000",y10:"=height * V.g10 / 100000",y12:"=height * V.g12 / 100000",y13:"=height * V.g13 / 100000",y14:"=height * V.g14 / 100000",y15:"=height * V.g15 / 100000",y16:"=height * V.g16 / 100000",y17:"=height * V.g17 / 100000",y18:"=height * V.g18 / 100000",hc:y,t:0,l:0,vc:f,b:n,r:V,cd2:h,cx1:"=C(V.wR,V.x19,A(V.wR,V.hR,V.cd2),true)",cy1:"=C(V.hR,V.vc,A(V.wR,V.hR,V.cd2))"},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:12500,maxX:46875,position:{x:"x19",y:"vc"},point:["=V.x19",c]}],path:[[["M",V,c],["L","=V.x15","=V.y18"],["L","=V.x15","=V.y14"],["Z"],["M","=V.ox1","=V.oy1"],["L","=V.x16","=V.y13"],["L","=V.x17","=V.y12"],["Z"],["M",e,0],["L","=V.x18","=V.y10"],["L","=V.x14","=V.y10"],["Z"],["M","=V.ox2","=V.oy1"],["L","=V.x13","=V.y12"],["L","=V.x12","=V.y13"],["Z"],["M",0,c],["L","=V.x10","=V.y14"],["L","=V.x10","=V.y18"],["Z"],["M","=V.ox2","=V.oy2"],["L","=V.x12","=V.y17"],["L","=V.x13","=V.y16"],["Z"],["M",e,n],["L","=V.x14","=V.y15"],["L","=V.x18","=V.y15"],["Z"],["M","=V.ox1","=V.oy2"],["L","=V.x17","=V.y16"],["L","=V.x16","=V.y17"],["Z"],["M","=V.x19",c],["E","=V.cx1","=V.cy1","=V.wR","=V.hR",0,"=A(V.wR,V.hR,V.cd2)","=(A(V.wR,V.hR,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.x9",top:"=V.y9",right:"=V.x8",bottom:"=V.y8"}},moon:{variables:{adj:5e4,a:"=MIN(MAX(0, V.adj), 87500)",ss:i,g0:"=V.ss * V.a / 100000",g0w:"=V.g0 * width / V.ss",g1:"=V.ss - V.g0",g2:"=V.g0 * V.g0 / V.g1",g3:"=V.ss * V.ss / V.g1",g4:"=V.g3 * 2",g5:"=V.g4 - V.g2",g6:"=V.g5 - V.g0",g6w:"=V.g6 * width / V.ss",g7:"=V.g5 / 2",g8:"=V.g7 - V.g0",hd2:f,dy1:"=V.g8 * V.hd2 / V.ss",vc:f,g10h:"=V.vc - V.dy1",g11h:"=V.vc + V.dy1",g12:"=V.g0 * 9598 / 32768",g12w:"=V.g12 * width / V.ss",g13:"=V.ss - V.g12",q1:"=V.ss * V.ss",q2:"=V.g13 * V.g13",q3:"=V.q1 - V.q2",q4:"=SQRT(V.q3)",dy4:"=V.q4 * V.hd2 / V.ss",g15h:"=V.vc - V.dy4",g16h:"=V.vc + V.dy4",g17w:"=V.g6w - V.g0w",g18w:"=V.g17w / 2",dx2p:"=V.g0w + V.g18w - width",dx2:"=V.dx2p * -1",dy2:"=V.hd2 * -1",d2r:a,stAng1:"=(ATAN2(V.dx2,V.dy2) * V.d2r)",enAngp1:"=(ATAN2(V.dx2,V.hd2) * V.d2r)",enAng1:"=V.enAngp1 - 21600000",swAng1:"=V.enAng1 - V.stAng1",r:V,t:0,l:0,b:n,cd4:u,cd2:h,cx1:"=C(width,V.r,A(width,V.hd2,V.cd4),true)",cy1:"=C(V.hd2,V.b,A(width,V.hd2,V.cd4))",cx2:"=C(V.g18w,P(V.cx1,width,A(width,V.hd2,(V.cd4 + V.cd2)),true),A(V.g18w,V.dy1,V.stAng1),true)",cy2:"=C(V.dy1,P(V.cy1,V.hd2,A(width,V.hd2,(V.cd4 + V.cd2))),A(V.g18w,V.dy1,V.stAng1))"},adjustInfo:[["adj",5e4]],connectionPoints:[{x:V,y:0},{x:0,y:c},{x:V,y:n},{x:"=V.g0w",y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:87500,position:{x:"g0w",y:"vc"},point:["=V.g0w",c]}],path:[[["M",V,n],["E","=V.cx1","=V.cy1",V,"=V.hd2",0,"=A(width,V.hd2,V.cd4)","=A(width,V.hd2,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.g18w","=V.dy1",0,"=A(V.g18w,V.dy1,V.stAng1)","=A(V.g18w,V.dy1,(V.stAng1 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.g12w",top:"=V.g15h",right:"=V.g0w",bottom:"=V.g16h"}},arc:{variables:{adj1:x,adj2:0,stAng:"=MIN(MAX(0, V.adj1), 21599999)",enAng:"=MIN(MAX(0, V.adj2), 21599999)",sw11:"=V.enAng - V.stAng",sw12:"=V.sw11 + 21600000",swAng:"=IF(V.sw11 > 0, V.sw11, V.sw12)",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",wt2:"=V.wd2 * SIN(V.enAng / V.d2r)",ht2:"=V.hd2 * COS(V.enAng / V.d2r)",dx2:"=V.wd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.hd2 * SIN(ATAN2(V.ht2,V.wt2))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",sw0:"=21600000 - V.stAng",da1:"=V.swAng - V.sw0",g1:"=MAX(V.x1, V.x2)",r:V,ir:"=IF(V.da1 > 0, V.r, V.g1)",cd4:u,sw1:"=V.cd4 - V.stAng",sw2:"=27000000 - V.stAng",sw3:"=IF(V.sw1 > 0, V.sw1, V.sw2)",da2:"=V.swAng - V.sw3",g5:"=MAX(V.y1, V.y2)",b:n,ib:"=IF(V.da2 > 0, V.b, V.g5)",cd2:h,sw4:"=V.cd2 - V.stAng",sw5:"=32400000 - V.stAng",sw6:"=IF(V.sw4 > 0, V.sw4, V.sw5)",da3:"=V.swAng - V.sw6",g9:"=MIN(V.x1, V.x2)",l:0,il:"=IF(V.da3 > 0, V.l, V.g9)",_3cd4:x,sw7:"=V._3cd4 - V.stAng",sw8:"=37800000 - V.stAng",sw9:"=IF(V.sw7 > 0, V.sw7, V.sw8)",da4:"=V.swAng - V.sw9",g13:"=MIN(V.y1, V.y2)",t:0,it:"=IF(V.da4 > 0, V.t, V.g13)",cang1:"=V.stAng - V.cd4",cang2:"=V.enAng + V.cd4",cang3:"=(V.cang1 + V.cang2) / 2",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))",cx2:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy2:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))"},adjustInfo:[["adj1",162e5],["adj2",0]],connectionPoints:[{x:r,y:d},{x:e,y:c},{x:s,y:o}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",r,d],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",e,c],["Z"],{strokeMode:"false"}],[["M",r,d],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},doubleBracket:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd2:h,cd4:u,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",_3cd4:x,cx2:"=C(V.x1,V.x2,A(V.x1,V.x1,V._3cd4),true)",cy2:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx3:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy3:"=C(V.x1,V.y2,A(V.x1,V.x1,0))",cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4),true)",cy4:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx5:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4),true)",cy5:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx6:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy6:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",cx7:"=C(V.x1,V.x2,A(V.x1,V.x1,V._3cd4),true)",cy7:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx8:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy8:"=C(V.x1,V.y2,A(V.x1,V.x1,0))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"l",y:"x1"},point:[0,r]}],path:[[["M",0,r],["E","=V.cx1","=V.cy1",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx3","=V.cy3",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",r,n],["E","=V.cx4","=V.cy4",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",r,n],["E","=V.cx5","=V.cy5",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,r],["E","=V.cx6","=V.cy6",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["M",s,0],["E","=V.cx7","=V.cy7",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx8","=V.cy8",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},doubleBrace:{variables:{adj:8333,a:"=MIN(MAX(0, V.adj), 25000)",ss:i,x1:"=V.ss * V.a / 100000",x2:"=V.ss * V.a / 50000",r:V,x3:"=width - V.x2",x4:"=width - V.x1",vc:f,y2:"=V.vc - V.x1",y3:"=V.vc + V.x1",b:n,y4:"=height - V.x1",it:"=V.x1 * 29289 / 100000",il:"=V.x1 + V.it",ir:"=width - V.il",ib:"=height - V.it",hc:y,t:0,l:0,cd4:u,cx1:"=C(V.x1,V.x2,A(V.x1,V.x1,V.cd4),true)",cy1:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx2:"=C(V.x1,V.x1,A(V.x1,V.x1,0),true)",cy2:"=C(V.x1,V.y3,A(V.x1,V.x1,0))",cx3:"=C(V.x1,P(V.cx2,V.x1,A(V.x1,V.x1,(-5400000)),true),A(V.x1,V.x1,V.cd4),true)",cy3:"=C(V.x1,P(V.cy2,V.x1,A(V.x1,V.x1,(-5400000))),A(V.x1,V.x1,V.cd4))",cd2:h,cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2),true)",cy4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",_3cd4:x,cx5:"=C(V.x1,V.x3,A(V.x1,V.x1,V._3cd4),true)",cy5:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx6:"=C(V.x1,V.x4,A(V.x1,V.x1,V.cd2),true)",cy6:"=C(V.x1,V.y2,A(V.x1,V.x1,V.cd2))",cx7:"=C(V.x1,P(V.cx6,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000)),true),A(V.x1,V.x1,V._3cd4),true)",cy7:"=C(V.x1,P(V.cy6,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000))),A(V.x1,V.x1,V._3cd4))",cx8:"=C(V.x1,V.x4,A(V.x1,V.x1,0),true)",cy8:"=C(V.x1,V.y4,A(V.x1,V.x1,0))",cx9:"=C(V.x1,V.x2,A(V.x1,V.x1,V.cd4),true)",cy9:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx10:"=C(V.x1,V.x1,A(V.x1,V.x1,0),true)",cy10:"=C(V.x1,V.y3,A(V.x1,V.x1,0))",cx11:"=C(V.x1,P(V.cx10,V.x1,A(V.x1,V.x1,(-5400000)),true),A(V.x1,V.x1,V.cd4),true)",cy11:"=C(V.x1,P(V.cy10,V.x1,A(V.x1,V.x1,(-5400000))),A(V.x1,V.x1,V.cd4))",cx12:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2),true)",cy12:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",cx13:"=C(V.x1,V.x3,A(V.x1,V.x1,V._3cd4),true)",cy13:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx14:"=C(V.x1,V.x4,A(V.x1,V.x1,V.cd2),true)",cy14:"=C(V.x1,V.y2,A(V.x1,V.x1,V.cd2))",cx15:"=C(V.x1,P(V.cx14,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000)),true),A(V.x1,V.x1,V._3cd4),true)",cy15:"=C(V.x1,P(V.cy14,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000))),A(V.x1,V.x1,V._3cd4))",cx16:"=C(V.x1,V.x4,A(V.x1,V.x1,0),true)",cy16:"=C(V.x1,V.y4,A(V.x1,V.x1,0))"},adjustInfo:[["adj",8333]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:25e3,position:{x:"l",y:"x1"},point:[0,r]}],path:[[["M",s,n],["E","=V.cx1","=V.cy1",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",r,"=V.y3"],["E","=V.cx2","=V.cy2",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",r,r],["E","=V.cx4","=V.cy4",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx5","=V.cy5",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4",o],["E","=V.cx6","=V.cy6",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.y4"],["E","=V.cx8","=V.cy8",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",s,n],["E","=V.cx9","=V.cy9",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",r,"=V.y3"],["E","=V.cx10","=V.cy10",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx11","=V.cy11",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",r,r],["E","=V.cx12","=V.cy12",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["M","=V.x3",0],["E","=V.cx13","=V.cy13",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4",o],["E","=V.cx14","=V.cy14",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx15","=V.cy15",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.y4"],["E","=V.cx16","=V.cy16",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},plaque:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 * 70711 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd4:u,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd4),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4))",cd2:h,cx2:"=C(V.x1,V.x2,A(V.x1,V.x1,V.cd2),true)",cy2:"=C(V.x1,V.t,A(V.x1,V.x1,V.cd2))",_3cd4:x,cx3:"=C(V.x1,V.r,A(V.x1,V.x1,V._3cd4),true)",cy3:"=C(V.x1,V.y2,A(V.x1,V.x1,V._3cd4))",cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,0),true)",cy4:"=C(V.x1,V.b,A(V.x1,V.x1,0))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,r],["E","=V.cx1","=V.cy1",r,r,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx3","=V.cy3",r,r,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",r,n],["E","=V.cx4","=V.cy4",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},leftBracket:{variables:{adj:8333,ss:i,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 100000",b:n,y2:"=height - V.y1",d2r:a,dx1:"=width * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",r:V,il:"=width - V.dx1",it:"=V.y1 - V.dy1",ib:"=height + V.dy1 - V.y1",t:0,l:0,vc:f,cd4:u,cx1:"=C(width,V.r,A(width,V.y1,V.cd4),true)",cy1:"=C(V.y1,V.b,A(width,V.y1,V.cd4))",cd2:h,cx2:"=C(width,V.l,A(width,V.y1,V.cd2),true)",cy2:"=C(V.y1,V.y1,A(width,V.y1,V.cd2))",cx3:"=C(width,V.r,A(width,V.y1,V.cd4),true)",cy3:"=C(V.y1,V.b,A(width,V.y1,V.cd4))",cx4:"=C(width,V.l,A(width,V.y1,V.cd2),true)",cy4:"=C(V.y1,V.y1,A(width,V.y1,V.cd2))"},adjustInfo:[["adj",8333]],connectionPoints:[{x:V,y:0},{x:0,y:c},{x:V,y:n}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",V,n],["E","=V.cx1","=V.cy1",V,d,0,"=A(width,V.y1,V.cd4)","=A(width,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,d],["E","=V.cx2","=V.cy2",V,d,0,"=A(width,V.y1,V.cd2)","=A(width,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,n],["E","=V.cx3","=V.cy3",V,d,0,"=A(width,V.y1,V.cd4)","=A(width,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,d],["E","=V.cx4","=V.cy4",V,d,0,"=A(width,V.y1,V.cd2)","=A(width,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:V,bottom:"=V.ib"}},rightBracket:{variables:{adj:8333,ss:i,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 100000",b:n,y2:"=height - V.y1",d2r:a,dx1:"=width * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",l:0,ir:"=V.dx1",it:"=V.y1 - V.dy1",ib:"=height + V.dy1 - V.y1",t:0,r:V,vc:f,_3cd4:x,cd4:u,cx1:"=C(width,V.l,A(width,V.y1,V._3cd4),true)",cy1:"=C(V.y1,V.t,A(width,V.y1,V._3cd4))",cx2:"=C(width,V.r,A(width,V.y1,0),true)",cy2:"=C(V.y1,V.y2,A(width,V.y1,0))",cx3:"=C(width,V.l,A(width,V.y1,V._3cd4),true)",cy3:"=C(V.y1,V.t,A(width,V.y1,V._3cd4))",cx4:"=C(width,V.r,A(width,V.y1,0),true)",cy4:"=C(V.y1,V.y2,A(width,V.y1,0))"},adjustInfo:[["adj",8333]],connectionPoints:[{x:0,y:0},{x:0,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"r",y:"y1"},point:[V,d]}],path:[[["M",0,0],["E","=V.cx1","=V.cy1",V,d,0,"=A(width,V.y1,V._3cd4)","=A(width,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx2","=V.cy2",V,d,0,"=A(width,V.y1,0)","=A(width,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",0,0],["E","=V.cx3","=V.cy3",V,d,0,"=A(width,V.y1,V._3cd4)","=A(width,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx4","=V.cy4",V,d,0,"=A(width,V.y1,0)","=A(width,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},leftBrace:{variables:{adj1:8333,adj2:5e4,a2:"=MIN(MAX(0, V.adj2), 100000)",q1:"=100000 - V.a2",q2:"=MIN(V.q1, V.a2)",q3:"=V.q2 / 2",ss:i,maxAdj1:"=V.q3 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",y1:"=V.ss * V.a1 / 100000",y3:"=height * V.a2 / 100000",y4:"=V.y3 + V.y1",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",r:V,il:"=width - V.dx1",it:"=V.y1 - V.dy1",b:n,ib:"=height + V.dy1 - V.y1",t:0,l:0,hc:y,cd4:u,cx1:"=C(V.wd2,V.r,A(V.wd2,V.y1,V.cd4),true)",cy1:"=C(V.y1,V.b,A(V.wd2,V.y1,V.cd4))",cx2:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy2:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.y1,(-5400000)),true),A(V.wd2,V.y1,V.cd4),true)",cy3:"=C(V.y1,P(V.cy2,V.y1,A(V.wd2,V.y1,(-5400000))),A(V.wd2,V.y1,V.cd4))",cd2:h,cx4:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy4:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))",cx5:"=C(V.wd2,V.r,A(V.wd2,V.y1,V.cd4),true)",cy5:"=C(V.y1,V.b,A(V.wd2,V.y1,V.cd4))",cx6:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy6:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.y1,(-5400000)),true),A(V.wd2,V.y1,V.cd4),true)",cy7:"=C(V.y1,P(V.cy6,V.y1,A(V.wd2,V.y1,(-5400000))),A(V.wd2,V.y1,V.cd4))",cx8:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy8:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))"},adjustInfo:[["adj1",8333],["adj2",5e4]],connectionPoints:[{x:V,y:0},{x:0,y:"=V.y3"},{x:V,y:n}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"hc",y:"y1"},point:[e,d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:1e5,position:{x:"l",y:"y3"},point:[0,"=V.y3"]}],path:[[["M",V,n],["E","=V.cx1","=V.cy1","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx2","=V.cy2","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,d],["E","=V.cx4","=V.cy4","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,n],["E","=V.cx5","=V.cy5","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx6","=V.cy6","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,d],["E","=V.cx8","=V.cy8","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:V,bottom:"=V.ib"}},rightBrace:{variables:{adj1:8333,adj2:5e4,a2:"=MIN(MAX(0, V.adj2), 100000)",q1:"=100000 - V.a2",q2:"=MIN(V.q1, V.a2)",q3:"=V.q2 / 2",ss:i,maxAdj1:"=V.q3 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",y1:"=V.ss * V.a1 / 100000",y3:"=height * V.a2 / 100000",y2:"=V.y3 - V.y1",b:n,y4:"=height - V.y1",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",l:0,ir:"=V.dx1",it:"=V.y1 - V.dy1",ib:"=height + V.dy1 - V.y1",t:0,r:V,hc:y,_3cd4:x,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.y1,V._3cd4),true)",cy1:"=C(V.y1,V.t,A(V.wd2,V.y1,V._3cd4))",cd2:h,cx2:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy2:"=C(V.y1,V.y2,A(V.wd2,V.y1,V.cd2))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.y1,(V.cd2 + -5400000)),true),A(V.wd2,V.y1,V._3cd4),true)",cy3:"=C(V.y1,P(V.cy2,V.y1,A(V.wd2,V.y1,(V.cd2 + -5400000))),A(V.wd2,V.y1,V._3cd4))",cx4:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy4:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))",cx5:"=C(V.wd2,V.l,A(V.wd2,V.y1,V._3cd4),true)",cy5:"=C(V.y1,V.t,A(V.wd2,V.y1,V._3cd4))",cx6:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy6:"=C(V.y1,V.y2,A(V.wd2,V.y1,V.cd2))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.y1,(V.cd2 + -5400000)),true),A(V.wd2,V.y1,V._3cd4),true)",cy7:"=C(V.y1,P(V.cy6,V.y1,A(V.wd2,V.y1,(V.cd2 + -5400000))),A(V.wd2,V.y1,V._3cd4))",cx8:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy8:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))"},adjustInfo:[["adj1",8333],["adj2",5e4]],connectionPoints:[{x:0,y:0},{x:V,y:"=V.y3"},{x:0,y:n}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"hc",y:"y1"},point:[e,d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:1e5,position:{x:"r",y:"y3"},point:[V,"=V.y3"]}],path:[[["M",0,0],["E","=V.cx1","=V.cy1","=V.wd2",d,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,o],["E","=V.cx2","=V.cy2","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2",d,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx4","=V.cy4","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",0,0],["E","=V.cx5","=V.cy5","=V.wd2",d,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,o],["E","=V.cx6","=V.cy6","=V.wd2",d,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2",d,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx8","=V.cy8","=V.wd2",d,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},rightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dx1:"=V.ss * V.a2 / 100000",r:V,x1:"=width - V.dx1",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,dx2:"=V.y1 * V.dx1 / V.hd2",x2:"=V.x1 + V.dx2",t:0,l:0,b:n},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,d],["L",r,d],["L",r,0],["L",V,c],["L",r,n],["L",r,o],["L",0,o],["Z"],{}]],textRect:{left:0,top:d,right:s,bottom:o}},leftArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dx2:"=V.ss * V.a2 / 100000",l:0,x2:"=V.dx2",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,dx1:"=V.y1 * V.dx2 / V.hd2",x1:"=V.x2 - V.dx1",t:0,b:n,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:s,y:0},{x:0,y:c},{x:s,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"r",y:"y1"},point:[V,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,c],["L",s,0],["L",s,d],["L",V,d],["L",V,o],["L",s,o],["L",s,n],["Z"],{}]],textRect:{left:r,top:d,right:V,bottom:o}},upArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dy1:"=V.ss * V.a2 / 100000",b:n,y1:"=height - V.dy1",dx1:"=width * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",wd2:y,dy2:"=V.x1 * V.dy1 / V.wd2",y2:"=V.y1 + V.dy2",t:0,l:0,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:0,y:d},{x:e,y:n},{x:V,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"b"},point:[r,n]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",0,d],["L",e,0],["L",V,d],["L",s,d],["L",s,n],["L",r,n],["L",r,d],["Z"],{}]],textRect:{left:r,top:0,right:s,bottom:o}},downArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dy1:"=V.ss * V.a2 / 100000",b:n,y1:"=height - V.dy1",dx1:"=width * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",wd2:y,dy2:"=V.x1 * V.dy1 / V.wd2",y2:"=V.y1 + V.dy2",t:0,l:0,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:0,y:d},{x:e,y:n},{x:V,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",0,d],["L",r,d],["L",r,0],["L",s,0],["L",s,d],["L",V,d],["L",e,n],["Z"],{}]],textRect:{left:r,top:0,right:s,bottom:o}},leftRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=50000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x2:"=V.ss * V.a2 / 100000",r:V,x3:"=width - V.x2",dy:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy",y2:"=V.vc + V.dy",hd2:f,dx1:"=V.y1 * V.x2 / V.hd2",x1:"=V.x2 - V.dx1",x4:"=V.x3 + V.dx1",b:n,l:0,t:0},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:V,y:c},{x:"=V.x3",y:n},{x:s,y:n},{x:0,y:c},{x:s,y:0},{x:"=V.x3",y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"x3",y:"y1"},point:["=V.x3",d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,c],["L",s,0],["L",s,d],["L","=V.x3",d],["L","=V.x3",0],["L",V,c],["L","=V.x3",n],["L","=V.x3",o],["L",s,o],["L",s,n],["Z"],{}]],textRect:{left:r,top:d,right:"=V.x4",bottom:o}},upDownArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=50000 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",y2:"=V.ss * V.a2 / 100000",b:n,y3:"=height - V.y2",dx1:"=width * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",wd2:y,dy1:"=V.x1 * V.y2 / V.wd2",y1:"=V.y2 - V.dy1",y4:"=V.y3 + V.dy1",t:0,l:0,vc:f,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:0,y:o},{x:r,y:c},{x:0,y:"=V.y3"},{x:e,y:n},{x:V,y:"=V.y3"},{x:s,y:c},{x:V,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"y3"},point:[r,"=V.y3"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y2"},point:[0,o]}],path:[[["M",0,o],["L",e,0],["L",V,o],["L",s,o],["L",s,"=V.y3"],["L",V,"=V.y3"],["L",e,n],["L",0,"=V.y3"],["L",r,"=V.y3"],["L",r,o],["Z"],{}]],textRect:{left:r,top:d,right:s,bottom:"=V.y4"}},quadArrow:{variables:{adj1:22500,adj2:22500,adj3:22500,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",q1:"=100000 - V.maxAdj1",maxAdj3:"=V.q1 / 2",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ss:i,x1:"=V.ss * V.a3 / 100000",dx2:"=V.ss * V.a2 / 100000",hc:y,x2:"=V.hc - V.dx2",x5:"=V.hc + V.dx2",dx3:"=V.ss * V.a1 / 200000",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",r:V,x6:"=width - V.x1",vc:f,y2:"=V.vc - V.dx2",y5:"=V.vc + V.dx2",y3:"=V.vc - V.dx3",y4:"=V.vc + V.dx3",b:n,y6:"=height - V.x1",il:"=V.dx3 * V.x1 / V.dx2",ir:"=width - V.il",t:0,l:0},adjustInfo:[["adj1",22500],["adj2",22500],["adj3",22500]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x3",y:"x1"},point:["=V.x3",r]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"x1"},point:[V,r]}],path:[[["M",0,c],["L",r,o],["L",r,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",r],["L",s,r],["L",e,0],["L","=V.x5",r],["L","=V.x4",r],["L","=V.x4","=V.y3"],["L","=V.x6","=V.y3"],["L","=V.x6",o],["L",V,c],["L","=V.x6","=V.y5"],["L","=V.x6","=V.y4"],["L","=V.x4","=V.y4"],["L","=V.x4","=V.y6"],["L","=V.x5","=V.y6"],["L",e,n],["L",s,"=V.y6"],["L","=V.x3","=V.y6"],["L","=V.x3","=V.y4"],["L",r,"=V.y4"],["L",r,"=V.y5"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.y3",right:"=V.ir",bottom:"=V.y4"}},leftRightUpArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",q1:"=100000 - V.maxAdj1",maxAdj3:"=V.q1 / 2",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ss:i,x1:"=V.ss * V.a3 / 100000",dx2:"=V.ss * V.a2 / 100000",hc:y,x2:"=V.hc - V.dx2",x5:"=V.hc + V.dx2",dx3:"=V.ss * V.a1 / 200000",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",r:V,x6:"=width - V.x1",dy2:"=V.ss * V.a2 / 50000",b:n,y2:"=height - V.dy2",y4:"=height - V.dx2",y3:"=V.y4 - V.dx3",y5:"=V.y4 + V.dx3",il:"=V.dx3 * V.x1 / V.dx2",ir:"=width - V.il",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3]],connectionPoints:[{x:e,y:0},{x:0,y:"=V.y4"},{x:e,y:"=V.y5"},{x:V,y:"=V.y4"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x3",y:"x1"},point:["=V.x3",r]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"x1"},point:[V,r]}],path:[[["M",0,"=V.y4"],["L",r,o],["L",r,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",r],["L",s,r],["L",e,0],["L","=V.x5",r],["L","=V.x4",r],["L","=V.x4","=V.y3"],["L","=V.x6","=V.y3"],["L","=V.x6",o],["L",V,"=V.y4"],["L","=V.x6",n],["L","=V.x6","=V.y5"],["L",r,"=V.y5"],["L",r,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.y3",right:"=V.ir",bottom:"=V.y5"}},bentArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:43750,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",a3:"=MIN(MAX(0, V.adj3), 50000)",ss:i,th:"=V.ss * V.a1 / 100000",aw2:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",dh2:"=V.aw2 - V.th2",ah:"=V.ss * V.a3 / 100000",r:V,bw:"=width - V.ah",b:n,bh:"=height - V.dh2",bs:"=MIN(V.bw, V.bh)",maxAdj4:"=100000 * V.bs / V.ss",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",bd:"=V.ss * V.a4 / 100000",bd3:"=V.bd - V.th",bd2:"=MAX(V.bd3, 0)",x3:"=V.th + V.bd2",x4:"=width - V.ah",y3:"=V.dh2 + V.th",y4:"=V.y3 + V.dh2",y5:"=V.dh2 + V.bd",y6:"=V.y3 + V.bd2",t:0,l:0,cd2:h,cd4:u,cx1:"=C(V.bd,V.l,A(V.bd,V.bd,V.cd2),true)",cy1:"=C(V.bd,V.y5,A(V.bd,V.bd,V.cd2))",_3cd4:x,cx2:"=C(V.bd2,V.x3,A(V.bd2,V.bd2,V._3cd4),true)",cy2:"=C(V.bd2,V.y3,A(V.bd2,V.bd2,V._3cd4))"},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",43750]],connectionPoints:[{x:"=V.x4",y:0},{x:"=V.x4",y:"=V.y4"},{x:"=V.th2",y:n},{x:V,y:"=V.aw2"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"th",y:"b"},point:["=V.th",n]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:5e4,position:{x:"r",y:"y4"},point:[V,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:5e4,position:{x:"x4",y:"t"},point:["=V.x4",0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"bd",y:"t"},point:["=V.bd",0]}],path:[[["M",0,n],["L",0,"=V.y5"],["E","=V.cx1","=V.cy1","=V.bd","=V.bd",0,"=A(V.bd,V.bd,V.cd2)","=A(V.bd,V.bd,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4","=V.dh2"],["L","=V.x4",0],["L",V,"=V.aw2"],["L","=V.x4","=V.y4"],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["E","=V.cx2","=V.cy2","=V.bd2","=V.bd2",0,"=A(V.bd2,V.bd2,V._3cd4)","=A(V.bd2,V.bd2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.th",n],["Z"],{}]]},uTurnArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:43750,adj5:75e3,a2:"=MIN(MAX(0, V.adj2), 25000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",ss:i,q2:"=V.a1 * V.ss / height",q3:"=100000 - V.q2",maxAdj3:"=V.q3 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q1:"=V.a3 + V.a1",minAdj5:"=V.q1 * V.ss / height",a5:"=MIN(MAX(V.minAdj5, V.adj5), 100000)",th:"=V.ss * V.a1 / 100000",aw2:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",dh2:"=V.aw2 - V.th2",y5:"=height * V.a5 / 100000",ah:"=V.ss * V.a3 / 100000",y4:"=V.y5 - V.ah",r:V,x9:"=width - V.dh2",bw:"=V.x9 / 2",bs:"=MIN(V.bw, V.y4)",maxAdj4:"=V.bs * 100000 / V.ss",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",bd:"=V.ss * V.a4 / 100000",bd3:"=V.bd - V.th",bd2:"=MAX(V.bd3, 0)",x3:"=V.th + V.bd2",x8:"=width - V.aw2",x6:"=V.x8 - V.aw2",x7:"=V.x6 + V.dh2",x4:"=V.x9 - V.bd",x5:"=V.x7 - V.bd2",cx:"=(V.th + V.x7) / 2",t:0,b:n,l:0,cd2:h,cd4:u,cx1:"=C(V.bd,V.l,A(V.bd,V.bd,V.cd2),true)",cy1:"=C(V.bd,V.bd,A(V.bd,V.bd,V.cd2))",_3cd4:x,cx2:"=C(V.bd,V.x4,A(V.bd,V.bd,V._3cd4),true)",cy2:"=C(V.bd,V.t,A(V.bd,V.bd,V._3cd4))",cx3:"=C(V.bd2,V.x7,A(V.bd2,V.bd2,0),true)",cy3:"=C(V.bd2,V.x3,A(V.bd2,V.bd2,0))",cx4:"=C(V.bd2,V.x3,A(V.bd2,V.bd2,V._3cd4),true)",cy4:"=C(V.bd2,V.th,A(V.bd2,V.bd2,V._3cd4))"},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",43750],["adj5",75e3]],connectionPoints:[{x:"=V.x6",y:"=V.y4"},{x:"=V.x8",y:"=V.y5"},{x:V,y:"=V.y4"},{x:"=V.cx",y:0},{x:"=V.th2",y:n}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"th",y:"b"},point:["=V.th",n]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:25e3,position:{x:"x6",y:"b"},point:["=V.x6",n]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"x6",y:"y4"},point:["=V.x6","=V.y4"]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"bd",y:"t"},point:["=V.bd",0]},{type:"ahXY",gdRefY:"adj5",minY:"minAdj5",maxY:1e5,position:{x:"r",y:"y5"},point:[V,"=V.y5"]}],path:[[["M",0,n],["L",0,"=V.bd"],["E","=V.cx1","=V.cy1","=V.bd","=V.bd",0,"=A(V.bd,V.bd,V.cd2)","=A(V.bd,V.bd,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4",0],["E","=V.cx2","=V.cy2","=V.bd","=V.bd",0,"=A(V.bd,V.bd,V._3cd4)","=A(V.bd,V.bd,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x9","=V.y4"],["L",V,"=V.y4"],["L","=V.x8","=V.y5"],["L","=V.x6","=V.y4"],["L","=V.x7","=V.y4"],["L","=V.x7","=V.x3"],["E","=V.cx3","=V.cy3","=V.bd2","=V.bd2",0,"=A(V.bd2,V.bd2,0)","=A(V.bd2,V.bd2,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x3","=V.th"],["E","=V.cx4","=V.cy4","=V.bd2","=V.bd2",0,"=A(V.bd2,V.bd2,V._3cd4)","=A(V.bd2,V.bd2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.th",n],["Z"],{}]]},leftUpArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 - V.maxAdj1",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ss:i,x1:"=V.ss * V.a3 / 100000",dx2:"=V.ss * V.a2 / 50000",r:V,x2:"=width - V.dx2",b:n,y2:"=height - V.dx2",dx4:"=V.ss * V.a2 / 100000",x4:"=width - V.dx4",y4:"=height - V.dx4",dx3:"=V.ss * V.a1 / 200000",x3:"=V.x4 - V.dx3",x5:"=V.x4 + V.dx3",y3:"=V.y4 - V.dx3",y5:"=V.y4 + V.dx3",il:"=V.dx3 * V.x1 / V.dx4",cx1:"=(V.x1 + V.x5) / 2",cy1:"=(V.x1 + V.y5) / 2",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3]],connectionPoints:[{x:"=V.x4",y:0},{x:s,y:r},{x:r,y:o},{x:0,y:"=V.y4"},{x:r,y:n},{x:"=V.cx1",y:"=V.y5"},{x:"=V.x5",y:"=V.cy1"},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"x3",y:"x1"},point:["=V.x3",r]}],path:[[["M",0,"=V.y4"],["L",r,o],["L",r,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",r],["L",s,r],["L","=V.x4",0],["L",V,r],["L","=V.x5",r],["L","=V.x5","=V.y5"],["L",r,"=V.y5"],["L",r,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.y3",right:"=V.x4",bottom:"=V.y5"}},bentUpArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",a3:"=MIN(MAX(0, V.adj3), 50000)",ss:i,y1:"=V.ss * V.a3 / 100000",dx1:"=V.ss * V.a2 / 50000",r:V,x1:"=width - V.dx1",dx3:"=V.ss * V.a2 / 100000",x3:"=width - V.dx3",dx2:"=V.ss * V.a1 / 200000",x2:"=V.x3 - V.dx2",x4:"=V.x3 + V.dx2",dy2:"=V.ss * V.a1 / 100000",b:n,y2:"=height - V.dy2",x0:"=V.x4 / 2",y3:"=(V.y2 + V.b) / 2",y15:"=(V.y1 + V.b) / 2",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3]],connectionPoints:[{x:"=V.x3",y:0},{x:r,y:d},{x:0,y:"=V.y3"},{x:"=V.x0",y:n},{x:"=V.x4",y:"=V.y15"},{x:V,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:5e4,position:{x:"l",y:"y2"},point:[0,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:5e4,position:{x:"x2",y:"y1"},point:[s,d]}],path:[[["M",0,o],["L",s,o],["L",s,d],["L",r,d],["L","=V.x3",0],["L",V,d],["L","=V.x4",d],["L","=V.x4",n],["L",0,n],["Z"],{}]],textRect:{left:0,top:o,right:"=V.x4",bottom:n}},curvedRightArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), V.a2)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",hd2:f,hR:"=V.hd2 - V.q1",q7:"=V.hR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idx:"=V.q11 * width / V.q7",maxAdj3:"=100000 * V.idx / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.a3 / 100000",y3:"=V.hR + V.th",q2:"=width * width",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dy:"=V.q5 * V.hR / width",y5:"=V.hR + V.dy",y7:"=V.y3 + V.dy",q6:"=V.aw - V.th",dh:"=V.q6 / 2",y4:"=V.y5 - V.dh",y8:"=V.y7 + V.dh",aw2:"=V.aw / 2",b:n,y6:"=height - V.aw2",r:V,x1:"=width - V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dy) * V.d2r)",cd2:h,stAng:"=V.cd2 - V.swAng",mswAng:"=0 - V.swAng",ix:"=width - V.idx",iy:"=(V.hR + V.y3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idx,V.q12) * V.d2r)",cd4:u,swAng2:"=V.dang2 - V.cd4",swAng3:"=V.cd4 + V.dang2",stAng3:"=V.cd2 - V.dang2",l:0,cx1:"=C(width,V.l,A(width,V.hR,V.cd2),true)",cy1:"=C(V.hR,V.hR,A(width,V.hR,V.cd2))",cx2:"=C(width,V.x1,A(width,V.hR,V.stAng),true)",cy2:"=C(V.hR,V.y7,A(width,V.hR,V.stAng))",_3cd4:x,cx3:"=C(width,V.r,A(width,V.hR,V._3cd4),true)",cy3:"=C(V.hR,V.th,A(width,V.hR,V._3cd4))",cx4:"=C(width,P(V.cx3,width,A(width,V.hR,(V._3cd4 + V.swAng2)),true),A(width,V.hR,V.stAng3),true)",cy4:"=C(V.hR,P(V.cy3,V.hR,A(width,V.hR,(V._3cd4 + V.swAng2))),A(width,V.hR,V.stAng3))",cx5:"=C(width,V.l,A(width,V.hR,V.cd2),true)",cy5:"=C(V.hR,V.hR,A(width,V.hR,V.cd2))",cx6:"=C(width,V.x1,A(width,V.hR,V.stAng),true)",cy6:"=C(V.hR,V.y7,A(width,V.hR,V.stAng))",cx7:"=C(width,V.l,A(width,V.hR,V.cd2),true)",cy7:"=C(V.hR,V.hR,A(width,V.hR,V.cd2))",cx8:"=C(width,V.r,A(width,V.hR,V._3cd4),true)",cy8:"=C(V.hR,V.th,A(width,V.hR,V._3cd4))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:0,y:"=V.iy"},{x:r,y:"=V.y8"},{x:V,y:"=V.y6"},{x:r,y:"=V.y4"},{x:V,y:"=V.q12"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"a2",position:{x:"x1",y:"y5"},point:[r,"=V.y5"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y4"},point:[V,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"b"},point:[r,n]}],path:[[["M",0,"=V.hR"],["E","=V.cx1","=V.cy1",V,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L",r,"=V.y4"],["L",V,"=V.y6"],["L",r,"=V.y8"],["L",r,"=V.y7"],["E","=V.cx2","=V.cy2",V,"=V.hR",0,"=A(width,V.hR,V.stAng)","=A(width,V.hR,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,"=V.th"],["E","=V.cx3","=V.cy3",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4",V,"=V.hR",0,"=A(width,V.hR,V.stAng3)","=A(width,V.hR,(V.stAng3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,"=V.hR"],["E","=V.cx5","=V.cy5",V,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L",r,"=V.y4"],["L",V,"=V.y6"],["L",r,"=V.y8"],["L",r,"=V.y7"],["E","=V.cx6","=V.cy6",V,"=V.hR",0,"=A(width,V.hR,V.stAng)","=A(width,V.hR,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",0,"=V.hR"],["E","=V.cx7","=V.cy7",V,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,"=V.th"],["E","=V.cx8","=V.cy8",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],{fillMode:"none"}]]},curvedLeftArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), V.a2)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",hd2:f,hR:"=V.hd2 - V.q1",q7:"=V.hR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idx:"=V.q11 * width / V.q7",maxAdj3:"=100000 * V.idx / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.a3 / 100000",y3:"=V.hR + V.th",q2:"=width * width",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dy:"=V.q5 * V.hR / width",y5:"=V.hR + V.dy",y7:"=V.y3 + V.dy",q6:"=V.aw - V.th",dh:"=V.q6 / 2",y4:"=V.y5 - V.dh",y8:"=V.y7 + V.dh",aw2:"=V.aw / 2",b:n,y6:"=height - V.aw2",l:0,x1:"=V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dy) * V.d2r)",mswAng:"=0 - V.swAng",ix:"=V.idx",iy:"=(V.hR + V.y3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idx,V.q12) * V.d2r)",swAng2:"=V.dang2 - V.swAng",swAng3:"=V.swAng + V.dang2",stAng3:"=0 - V.dang2",r:V,cx1:"=C(width,V.x1,A(width,V.hR,V.swAng),true)",cy1:"=C(V.hR,V.y5,A(width,V.hR,V.swAng))",cx2:"=C(width,P(V.cx1,width,A(width,V.hR,(V.swAng + V.swAng2)),true),A(width,V.hR,V.stAng3),true)",cy2:"=C(V.hR,P(V.cy1,V.hR,A(width,V.hR,(V.swAng + V.swAng2))),A(width,V.hR,V.stAng3))",cx3:"=C(width,V.r,A(width,V.hR,0),true)",cy3:"=C(V.hR,V.y3,A(width,V.hR,0))",t:0,_3cd4:x,cd4:u,cx4:"=C(width,V.l,A(width,V.hR,V._3cd4),true)",cy4:"=C(V.hR,V.t,A(width,V.hR,V._3cd4))",cx5:"=C(width,V.r,A(width,V.hR,0),true)",cy5:"=C(V.hR,V.y3,A(width,V.hR,0))",cx6:"=C(width,V.l,A(width,V.hR,V._3cd4),true)",cy6:"=C(V.hR,V.t,A(width,V.hR,V._3cd4))",cx7:"=C(width,V.r,A(width,V.hR,0),true)",cy7:"=C(V.hR,V.y3,A(width,V.hR,0))",cx8:"=C(width,V.x1,A(width,V.hR,V.swAng),true)",cy8:"=C(V.hR,V.y5,A(width,V.hR,V.swAng))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:0,y:"=V.q12"},{x:r,y:"=V.y4"},{x:0,y:"=V.y6"},{x:r,y:"=V.y8"},{x:V,y:"=V.iy"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"a2",position:{x:"x1",y:"y5"},point:[r,"=V.y5"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y4"},point:[V,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"b"},point:[r,n]}],path:[[["M",0,"=V.y6"],["L",r,"=V.y4"],["L",r,"=V.y5"],["E","=V.cx1","=V.cy1",V,"=V.hR",0,"=A(width,V.hR,V.swAng)","=A(width,V.hR,(V.swAng + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2",V,"=V.hR",0,"=A(width,V.hR,V.stAng3)","=A(width,V.hR,(V.stAng3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["L",r,"=V.y8"],["Z"],{strokeMode:"false"}],[["M",V,"=V.y3"],["E","=V.cx3","=V.cy3",V,"=V.hR",0,"=A(width,V.hR,0)","=A(width,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",0,0],["E","=V.cx4","=V.cy4",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",V,"=V.y3"],["E","=V.cx5","=V.cy5",V,"=V.hR",0,"=A(width,V.hR,0)","=A(width,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",0,0],["E","=V.cx6","=V.cy6",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,"=V.y3"],["E","=V.cx7","=V.cy7",V,"=V.hR",0,"=A(width,V.hR,0)","=A(width,V.hR,(V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",r,"=V.y8"],["L",0,"=V.y6"],["L",r,"=V.y4"],["L",r,"=V.y5"],["E","=V.cx8","=V.cy8",V,"=V.hR",0,"=A(width,V.hR,V.swAng)","=A(width,V.hR,(V.swAng + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],{fillMode:"none"}]]},curvedUpArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), 100000)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",wd2:y,wR:"=V.wd2 - V.q1",q7:"=V.wR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idy:"=V.q11 * height / V.q7",maxAdj3:"=100000 * V.idy / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.adj3 / 100000",x3:"=V.wR + V.th",q2:"=height * height",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dx:"=V.q5 * V.wR / height",x5:"=V.wR + V.dx",x7:"=V.x3 + V.dx",q6:"=V.aw - V.th",dh:"=V.q6 / 2",x4:"=V.x5 - V.dh",x8:"=V.x7 + V.dh",aw2:"=V.aw / 2",r:V,x6:"=width - V.aw2",t:0,y1:"=V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dx) * V.d2r)",mswAng:"=0 - V.swAng",iy:"=V.idy",ix:"=(V.wR + V.x3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idy,V.q12) * V.d2r)",swAng2:"=V.dang2 - V.swAng",mswAng2:"=0 - V.swAng2",cd4:u,stAng3:"=V.cd4 - V.swAng",swAng3:"=V.swAng + V.dang2",stAng2:"=V.cd4 - V.dang2",b:n,cx1:"=C(V.wR,V.x7,A(V.wR,height,V.stAng3),true)",cy1:"=C(height,V.y1,A(V.wR,height,V.stAng3))",cx2:"=C(V.wR,P(V.cx1,V.wR,A(V.wR,height,(V.stAng3 + V.swAng3)),true),A(V.wR,height,V.stAng2),true)",cy2:"=C(height,P(V.cy1,height,A(V.wR,height,(V.stAng3 + V.swAng3))),A(V.wR,height,V.stAng2))",cx3:"=C(V.wR,V.wR,A(V.wR,height,V.cd4),true)",cy3:"=C(height,V.b,A(V.wR,height,V.cd4))",cd2:h,cx4:"=C(V.wR,V.th,A(V.wR,height,V.cd2),true)",cy4:"=C(height,V.t,A(V.wR,height,V.cd2))",cx5:"=C(V.wR,V.ix,A(V.wR,height,V.stAng2),true)",cy5:"=C(height,V.iy,A(V.wR,height,V.stAng2))",cx6:"=C(V.wR,V.x7,A(V.wR,height,V.stAng3),true)",cy6:"=C(height,V.y1,A(V.wR,height,V.stAng3))",cx7:"=C(V.wR,V.wR,A(V.wR,height,V.cd4),true)",cy7:"=C(height,V.b,A(V.wR,height,V.cd4))",cx8:"=C(V.wR,V.th,A(V.wR,height,V.cd2),true)",cy8:"=C(height,V.t,A(V.wR,height,V.cd2))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:"=V.x6",y:0},{x:"=V.x4",y:d},{x:"=V.q12",y:0},{x:"=V.ix",y:n},{x:"=V.x8",y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"a2",position:{x:"x7",y:"y1"},point:["=V.x7",d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x4",y:"t"},point:["=V.x4",0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,d]}],path:[[["M","=V.x6",0],["L","=V.x8",d],["L","=V.x7",d],["E","=V.cx1","=V.cy1","=V.wR",n,0,"=A(V.wR,height,V.stAng3)","=A(V.wR,height,(V.stAng3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.x4",d],["Z"],{strokeMode:"false"}],[["M","=V.wR",n],["E","=V.cx3","=V.cy3","=V.wR",n,0,"=A(V.wR,height,V.cd4)","=A(V.wR,height,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.th",0],["E","=V.cx4","=V.cy4","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.ix","=V.iy"],["E","=V.cx5","=V.cy5","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.x4",d],["L","=V.x6",0],["L","=V.x8",d],["L","=V.x7",d],["E","=V.cx6","=V.cy6","=V.wR",n,0,"=A(V.wR,height,V.stAng3)","=A(V.wR,height,(V.stAng3 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.wR",n],["E","=V.cx7","=V.cy7","=V.wR",n,0,"=A(V.wR,height,V.cd4)","=A(V.wR,height,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.th",0],["E","=V.cx8","=V.cy8","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],{fillMode:"none"}]]},curvedDownArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), 100000)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",wd2:y,wR:"=V.wd2 - V.q1",q7:"=V.wR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idy:"=V.q11 * height / V.q7",maxAdj3:"=100000 * V.idy / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.adj3 / 100000",x3:"=V.wR + V.th",q2:"=height * height",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dx:"=V.q5 * V.wR / height",x5:"=V.wR + V.dx",x7:"=V.x3 + V.dx",q6:"=V.aw - V.th",dh:"=V.q6 / 2",x4:"=V.x5 - V.dh",x8:"=V.x7 + V.dh",aw2:"=V.aw / 2",r:V,x6:"=width - V.aw2",b:n,y1:"=height - V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dx) * V.d2r)",mswAng:"=0 - V.swAng",iy:"=height - V.idy",ix:"=(V.wR + V.x3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idy,V.q12) * V.d2r)",_3cd4:x,stAng:"=V._3cd4 + V.swAng",stAng2:"=V._3cd4 - V.dang2",cd4:u,swAng2:"=V.dang2 - V.cd4",swAng3:"=V.cd4 + V.dang2",t:0,cx1:"=C(V.wR,V.x5,A(V.wR,height,V.stAng),true)",cy1:"=C(height,V.y1,A(V.wR,height,V.stAng))",cx2:"=C(V.wR,V.x3,A(V.wR,height,V._3cd4),true)",cy2:"=C(height,V.t,A(V.wR,height,V._3cd4))",cx3:"=C(V.wR,V.ix,A(V.wR,height,V.stAng2),true)",cy3:"=C(height,V.iy,A(V.wR,height,V.stAng2))",l:0,cd2:h,cx4:"=C(V.wR,V.l,A(V.wR,height,V.cd2),true)",cy4:"=C(height,V.b,A(V.wR,height,V.cd2))",cx5:"=C(V.wR,V.ix,A(V.wR,height,V.stAng2),true)",cy5:"=C(height,V.iy,A(V.wR,height,V.stAng2))",cx6:"=C(V.wR,V.l,A(V.wR,height,V.cd2),true)",cy6:"=C(height,V.b,A(V.wR,height,V.cd2))",cx7:"=C(V.wR,V.x3,A(V.wR,height,V._3cd4),true)",cy7:"=C(height,V.t,A(V.wR,height,V._3cd4))",cx8:"=C(V.wR,V.x5,A(V.wR,height,V.stAng),true)",cy8:"=C(height,V.y1,A(V.wR,height,V.stAng))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:"=V.ix",y:0},{x:"=V.q12",y:n},{x:"=V.x4",y:d},{x:"=V.x6",y:n},{x:"=V.x8",y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"adj2",position:{x:"x7",y:"y1"},point:["=V.x7",d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x4",y:"b"},point:["=V.x4",n]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,d]}],path:[[["M","=V.x6",n],["L","=V.x4",d],["L","=V.x5",d],["E","=V.cx1","=V.cy1","=V.wR",n,0,"=A(V.wR,height,V.stAng)","=A(V.wR,height,(V.stAng + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx2","=V.cy2","=V.wR",n,0,"=A(V.wR,height,V._3cd4)","=A(V.wR,height,(V._3cd4 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.x8",d],["Z"],{strokeMode:"false"}],[["M","=V.ix","=V.iy"],["E","=V.cx3","=V.cy3","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L",0,n],["E","=V.cx4","=V.cy4","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.ix","=V.iy"],["E","=V.cx5","=V.cy5","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L",0,n],["E","=V.cx6","=V.cy6","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx7","=V.cy7","=V.wR",n,0,"=A(V.wR,height,V._3cd4)","=A(V.wR,height,(V._3cd4 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.x8",d],["L","=V.x6",n],["L","=V.x4",d],["L","=V.x5",d],["E","=V.cx8","=V.cy8","=V.wR",n,0,"=A(V.wR,height,V.stAng)","=A(V.wR,height,(V.stAng + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],{fillMode:"none"}]]},stripedRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=84375 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x4:"=V.ss * 5 / 32",dx5:"=V.ss * V.a2 / 100000",r:V,x5:"=width - V.dx5",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,dx6:"=V.dy1 * V.dx5 / V.hd2",x6:"=width - V.dx6",t:0,l:0,b:n,ssd32:"=V.ss / 32",ssd16:"=V.ss / 16",ssd8:"=V.ss / 8"},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:"=V.x5",y:0},{x:0,y:c},{x:"=V.x5",y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x5",y:"t"},point:["=V.x5",0]}],path:[[["M",0,d],["L","=V.ssd32",d],["L","=V.ssd32",o],["L",0,o],["Z"],["M","=V.ssd16",d],["L","=V.ssd8",d],["L","=V.ssd8",o],["L","=V.ssd16",o],["Z"],["M","=V.x4",d],["L","=V.x5",d],["L","=V.x5",0],["L",V,c],["L","=V.x5",n],["L","=V.x5",o],["L","=V.x4",o],["Z"],{}]],textRect:{left:"=V.x4",top:d,right:"=V.x6",bottom:o}},notchedRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dx2:"=V.ss * V.a2 / 100000",r:V,x2:"=width - V.dx2",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,x1:"=V.dy1 * V.dx2 / V.hd2",x3:"=width - V.x1",t:0,b:n,l:0},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:s,y:0},{x:r,y:c},{x:s,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"r",y:"y1"},point:[V,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,d],["L",s,d],["L",s,0],["L",V,c],["L",s,n],["L",s,o],["L",0,o],["L",r,c],["Z"],{}]],textRect:{left:r,top:d,right:"=V.x3",bottom:o}},pentagon:{variables:{adj:5e4,ss:i,maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",dx1:"=V.ss * V.a / 100000",r:V,x1:"=width - V.dx1",ir:"=(V.x1 + V.r) / 2",x2:"=V.x1 / 2",t:0,l:0,vc:f,b:n},adjustInfo:[["adj",5e4]],connectionPoints:[{x:s,y:0},{x:0,y:c},{x:r,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,0],["L",r,0],["L",V,c],["L",r,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:"=V.ir",bottom:n}},chevron:{variables:{adj:5e4,ss:i,maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",x3:"=V.x2 / 2",dx:"=V.x2 - V.x1",l:0,il:"=IF(V.dx > 0, V.x1, V.l)",ir:"=IF(V.dx > 0, V.x2, V.r)",t:0,vc:f,b:n},adjustInfo:[["adj",5e4]],connectionPoints:[{x:"=V.x3",y:0},{x:r,y:c},{x:"=V.x3",y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,0],["L",s,0],["L",V,c],["L",s,n],["L",0,n],["L",r,c],["Z"],{}]],textRect:{left:"=V.il",top:0,right:"=V.ir",bottom:n}},rightArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * width / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / width",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dy1:"=V.ss * V.a2 / 100000",dy2:"=V.ss * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",dx3:"=V.ss * V.a3 / 100000",r:V,x3:"=width - V.dx3",x2:"=width * V.a4 / 100000",x1:"=V.x2 / 2",t:0,l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x3",y:"y2"},point:["=V.x3",o]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y1"},point:[V,d]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x3",y:"t"},point:["=V.x3",0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,0],["L",s,0],["L",s,o],["L","=V.x3",o],["L","=V.x3",d],["L",V,c],["L","=V.x3","=V.y4"],["L","=V.x3","=V.y3"],["L",s,"=V.y3"],["L",s,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:s,bottom:n}},leftArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * width / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / width",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dy1:"=V.ss * V.a2 / 100000",dy2:"=V.ss * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",x1:"=V.ss * V.a3 / 100000",dx2:"=width * V.a4 / 100000",r:V,x2:"=width - V.dx2",x3:"=(V.x2 + V.r) / 2",t:0,l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:"=V.x3",y:0},{x:0,y:c},{x:"=V.x3",y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x1",y:"y2"},point:[r,o]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,c],["L",r,d],["L",r,o],["L",s,o],["L",s,0],["L",V,0],["L",V,n],["L",s,n],["L",s,"=V.y3"],["L",r,"=V.y3"],["L",r,"=V.y4"],["Z"],{}]],textRect:{left:s,top:0,right:V,bottom:n}},upArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / height",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dx1:"=V.ss * V.a2 / 100000",dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.ss * V.a3 / 100000",dy2:"=height * V.a4 / 100000",b:n,y2:"=height - V.dy2",y3:"=(V.y2 + V.b) / 2",t:0,l:0,r:V},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:e,y:0},{x:0,y:o},{x:e,y:n},{x:V,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x2",y:"y1"},point:[s,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,d]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,o]}],path:[[["M",0,o],["L",s,o],["L",s,d],["L",r,d],["L",e,0],["L","=V.x4",d],["L","=V.x3",d],["L","=V.x3",o],["L",V,o],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:o,right:V,bottom:n}},downArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / height",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dx1:"=V.ss * V.a2 / 100000",dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",dy3:"=V.ss * V.a3 / 100000",b:n,y3:"=height - V.dy3",y2:"=height * V.a4 / 100000",y1:"=V.y2 / 2",t:0,l:0,r:V},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:e,y:0},{x:0,y:d},{x:e,y:n},{x:V,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x2",y:"y3"},point:[s,"=V.y3"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"b"},point:[r,n]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y3"},point:[V,"=V.y3"]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,o]}],path:[[["M",0,0],["L",V,0],["L",V,o],["L","=V.x3",o],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y3"],["L",e,n],["L",r,"=V.y3"],["L",s,"=V.y3"],["L",s,o],["L",0,o],["Z"],{}]],textRect:{left:0,top:0,right:V,bottom:o}},leftRightArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:48123,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=50000 * width / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",wd2:y,q2:"=V.a3 * V.ss / V.wd2",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dy1:"=V.ss * V.a2 / 100000",dy2:"=V.ss * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",x1:"=V.ss * V.a3 / 100000",r:V,x4:"=width - V.x1",dx2:"=width * V.a4 / 200000",hc:y,x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",t:0,l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",48123]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x1",y:"y2"},point:[r,o]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,c],["L",r,d],["L",r,o],["L",s,o],["L",s,0],["L","=V.x3",0],["L","=V.x3",o],["L","=V.x4",o],["L","=V.x4",d],["L",V,c],["L","=V.x4","=V.y4"],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",n],["L",s,n],["L",s,"=V.y3"],["L",r,"=V.y3"],["L",r,"=V.y4"],["Z"],{}]],textRect:{left:s,top:0,right:"=V.x3",bottom:n}},upDownArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:48123,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=50000 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",hd2:f,q2:"=V.a3 * V.ss / V.hd2",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dx1:"=V.ss * V.a2 / 100000",dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.ss * V.a3 / 100000",b:n,y4:"=height - V.y1",dy2:"=height * V.a4 / 200000",vc:f,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",t:0,l:0,r:V},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",48123]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x2",y:"y1"},point:[s,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,d]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,o]}],path:[[["M",0,o],["L",s,o],["L",s,d],["L",r,d],["L",e,0],["L","=V.x4",d],["L","=V.x3",d],["L","=V.x3",o],["L",V,o],["L",V,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L","=V.x4","=V.y4"],["L",e,n],["L",r,"=V.y4"],["L",s,"=V.y4"],["L",s,"=V.y3"],["L",0,"=V.y3"],["Z"],{}]],textRect:{left:0,top:o,right:V,bottom:"=V.y3"}},quadArrowCallout:{variables:{adj1:18515,adj2:18515,adj3:18515,adj4:48123,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=50000 - V.a2",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * 2",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(V.a1, V.adj4), V.maxAdj4)",ss:i,dx2:"=V.ss * V.a2 / 100000",dx3:"=V.ss * V.a1 / 200000",ah:"=V.ss * V.a3 / 100000",dx1:"=width * V.a4 / 200000",dy1:"=height * V.a4 / 200000",r:V,x8:"=width - V.ah",hc:y,x2:"=V.hc - V.dx1",x7:"=V.hc + V.dx1",x3:"=V.hc - V.dx2",x6:"=V.hc + V.dx2",x4:"=V.hc - V.dx3",x5:"=V.hc + V.dx3",b:n,y8:"=height - V.ah",vc:f,y2:"=V.vc - V.dy1",y7:"=V.vc + V.dy1",y3:"=V.vc - V.dx2",y6:"=V.vc + V.dx2",y4:"=V.vc - V.dx3",y5:"=V.vc + V.dx3",t:0,l:0},adjustInfo:[["adj1",18515],["adj2",18515],["adj3",18515],["adj4",48123]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x4",y:"ah"},point:["=V.x4","=V.ah"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x3",y:"t"},point:["=V.x3",0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"ah"},point:[V,"=V.ah"]},{type:"ahXY",gdRefY:"adj4",minY:"a1",maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,o]}],path:[[["M",0,c],["L","=V.ah","=V.y3"],["L","=V.ah","=V.y4"],["L",s,"=V.y4"],["L",s,o],["L","=V.x4",o],["L","=V.x4","=V.ah"],["L","=V.x3","=V.ah"],["L",e,0],["L","=V.x6","=V.ah"],["L","=V.x5","=V.ah"],["L","=V.x5",o],["L","=V.x7",o],["L","=V.x7","=V.y4"],["L","=V.x8","=V.y4"],["L","=V.x8","=V.y3"],["L",V,c],["L","=V.x8","=V.y6"],["L","=V.x8","=V.y5"],["L","=V.x7","=V.y5"],["L","=V.x7","=V.y7"],["L","=V.x5","=V.y7"],["L","=V.x5","=V.y8"],["L","=V.x6","=V.y8"],["L",e,n],["L","=V.x3","=V.y8"],["L","=V.x4","=V.y8"],["L","=V.x4","=V.y7"],["L",s,"=V.y7"],["L",s,"=V.y5"],["L","=V.ah","=V.y5"],["L","=V.ah","=V.y6"],["Z"],{}]],textRect:{left:s,top:o,right:"=V.x7",bottom:"=V.y7"}},circularArrow:{variables:{adj1:12500,adj2:1142319,adj3:20457681,adj4:h,adj5:12500,a5:"=MIN(MAX(0, V.adj5), 25000)",maxAdj1:"=V.a5 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",enAng:"=MIN(MAX(1, V.adj3), 21599999)",stAng:"=MIN(MAX(0, V.adj4), 21599999)",ss:i,th:"=V.ss * V.a1 / 100000",thh:"=V.ss * V.a5 / 100000",th2:"=V.th / 2",wd2:y,rw1:"=V.wd2 + V.th2 - V.thh",hd2:f,rh1:"=V.hd2 + V.th2 - V.thh",rw2:"=V.rw1 - V.th",rh2:"=V.rh1 - V.th",rw3:"=V.rw2 + V.th2",rh3:"=V.rh2 + V.th2",d2r:a,wtH:"=V.rw3 * SIN(V.enAng / V.d2r)",htH:"=V.rh3 * COS(V.enAng / V.d2r)",dxH:"=V.rw3 * COS(ATAN2(V.htH,V.wtH))",dyH:"=V.rh3 * SIN(ATAN2(V.htH,V.wtH))",hc:y,xH:"=V.hc + V.dxH",vc:f,yH:"=V.vc + V.dyH",rI:"=MIN(V.rw2, V.rh2)",u1:"=V.dxH * V.dxH",u2:"=V.dyH * V.dyH",u3:"=V.rI * V.rI",u4:"=V.u1 - V.u3",u5:"=V.u2 - V.u3",u6:"=V.u4 * V.u5 / V.u1",u7:"=V.u6 / V.u2",u8:"=1 - V.u7",u9:"=SQRT(V.u8)",u10:"=V.u4 / V.dxH",u11:"=V.u10 / V.dyH",u12:"=(1 + V.u9) / V.u11",u13:"=(ATAN2(1,V.u12) * V.d2r)",u14:"=V.u13 + 21600000",u15:"=IF(V.u13 > 0, V.u13, V.u14)",u16:"=V.u15 - V.enAng",u17:"=V.u16 + 21600000",u18:"=IF(V.u16 > 0, V.u16, V.u17)",cd2:h,u19:"=V.u18 - V.cd2",u20:"=V.u18 - 21600000",u21:"=IF(V.u19 > 0, V.u20, V.u18)",maxAng:"=ABS(V.u21)",aAng:"=MIN(MAX(0, V.adj2), V.maxAng)",ptAng:"=V.enAng + V.aAng",wtA:"=V.rw3 * SIN(V.ptAng / V.d2r)",htA:"=V.rh3 * COS(V.ptAng / V.d2r)",dxA:"=V.rw3 * COS(ATAN2(V.htA,V.wtA))",dyA:"=V.rh3 * SIN(ATAN2(V.htA,V.wtA))",xA:"=V.hc + V.dxA",yA:"=V.vc + V.dyA",wtE:"=V.rw1 * SIN(V.stAng / V.d2r)",htE:"=V.rh1 * COS(V.stAng / V.d2r)",dxE:"=V.rw1 * COS(ATAN2(V.htE,V.wtE))",dyE:"=V.rh1 * SIN(ATAN2(V.htE,V.wtE))",xE:"=V.hc + V.dxE",yE:"=V.vc + V.dyE",dxG:"=V.thh * COS(V.ptAng / V.d2r)",dyG:"=V.thh * SIN(V.ptAng / V.d2r)",xG:"=V.xH + V.dxG",yG:"=V.yH + V.dyG",dxB:"=V.thh * COS(V.ptAng / V.d2r)",dyB:"=V.thh * SIN(V.ptAng / V.d2r)",xB:"=V.xH - V.dxB",yB:"=V.yH - V.dyB",sx1:"=V.xB - V.hc",sy1:"=V.yB - V.vc",sx2:"=V.xG - V.hc",sy2:"=V.yG - V.vc",rO:"=MIN(V.rw1, V.rh1)",x1O:"=V.sx1 * V.rO / V.rw1",y1O:"=V.sy1 * V.rO / V.rh1",x2O:"=V.sx2 * V.rO / V.rw1",y2O:"=V.sy2 * V.rO / V.rh1",dxO:"=V.x2O - V.x1O",dyO:"=V.y2O - V.y1O",dO:"=SQRT(V.dxO*V.dxO + V.dyO*V.dyO)",q1:"=V.x1O * V.y2O",q2:"=V.x2O * V.y1O",DO:"=V.q1 - V.q2",q3:"=V.rO * V.rO",q4:"=V.dO * V.dO",q5:"=V.q3 * V.q4",q6:"=V.DO * V.DO",q7:"=V.q5 - V.q6",q8:"=MAX(V.q7, 0)",sdelO:"=SQRT(V.q8)",ndyO:"=V.dyO * -1",sdyO:"=IF(V.ndyO > 0, -1, 1)",q9:"=V.sdyO * V.dxO",q10:"=V.q9 * V.sdelO",q11:"=V.DO * V.dyO",dxF1:"=(V.q11 + V.q10) / V.q4",q12:"=V.q11 - V.q10",dxF2:"=V.q12 / V.q4",adyO:"=ABS(V.dyO)",q13:"=V.adyO * V.sdelO",q14:"=V.DO * V.dxO / -1",dyF1:"=(V.q14 + V.q13) / V.q4",q15:"=V.q14 - V.q13",dyF2:"=V.q15 / V.q4",q16:"=V.x2O - V.dxF1",q17:"=V.x2O - V.dxF2",q18:"=V.y2O - V.dyF1",q19:"=V.y2O - V.dyF2",q20:"=SQRT(V.q16*V.q16 + V.q18*V.q18)",q21:"=SQRT(V.q17*V.q17 + V.q19*V.q19)",q22:"=V.q21 - V.q20",dxF:"=IF(V.q22 > 0, V.dxF1, V.dxF2)",dyF:"=IF(V.q22 > 0, V.dyF1, V.dyF2)",sdxF:"=V.dxF * V.rw1 / V.rO",sdyF:"=V.dyF * V.rh1 / V.rO",xF:"=V.hc + V.sdxF",yF:"=V.vc + V.sdyF",x1I:"=V.sx1 * V.rI / V.rw2",y1I:"=V.sy1 * V.rI / V.rh2",x2I:"=V.sx2 * V.rI / V.rw2",y2I:"=V.sy2 * V.rI / V.rh2",dxI:"=V.x2I - V.x1I",dyI:"=V.y2I - V.y1I",dI:"=SQRT(V.dxI*V.dxI + V.dyI*V.dyI)",v1:"=V.x1I * V.y2I",v2:"=V.x2I * V.y1I",DI:"=V.v1 - V.v2",v3:"=V.rI * V.rI",v4:"=V.dI * V.dI",v5:"=V.v3 * V.v4",v6:"=V.DI * V.DI",v7:"=V.v5 - V.v6",v8:"=MAX(V.v7, 0)",sdelI:"=SQRT(V.v8)",v9:"=V.sdyO * V.dxI",v10:"=V.v9 * V.sdelI",v11:"=V.DI * V.dyI",dxC1:"=(V.v11 + V.v10) / V.v4",v12:"=V.v11 - V.v10",dxC2:"=V.v12 / V.v4",adyI:"=ABS(V.dyI)",v13:"=V.adyI * V.sdelI",v14:"=V.DI * V.dxI / -1",dyC1:"=(V.v14 + V.v13) / V.v4",v15:"=V.v14 - V.v13",dyC2:"=V.v15 / V.v4",v16:"=V.x1I - V.dxC1",v17:"=V.x1I - V.dxC2",v18:"=V.y1I - V.dyC1",v19:"=V.y1I - V.dyC2",v20:"=SQRT(V.v16*V.v16 + V.v18*V.v18)",v21:"=SQRT(V.v17*V.v17 + V.v19*V.v19)",v22:"=V.v21 - V.v20",dxC:"=IF(V.v22 > 0, V.dxC1, V.dxC2)",dyC:"=IF(V.v22 > 0, V.dyC1, V.dyC2)",sdxC:"=V.dxC * V.rw2 / V.rI",sdyC:"=V.dyC * V.rh2 / V.rI",xC:"=V.hc + V.sdxC",yC:"=V.vc + V.sdyC",ist0:"=(ATAN2(V.sdxC,V.sdyC) * V.d2r)",ist1:"=V.ist0 + 21600000",istAng:"=IF(V.ist0 > 0, V.ist0, V.ist1)",isw1:"=V.stAng - V.istAng",isw2:"=V.isw1 - 21600000",iswAng:"=IF(V.isw1 > 0, V.isw2, V.isw1)",p1:"=V.xF - V.xC",p2:"=V.yF - V.yC",p3:"=SQRT(V.p1*V.p1 + V.p2*V.p2)",p4:"=V.p3 / 2",p5:"=V.p4 - V.thh",xGp:"=IF(V.p5 > 0, V.xF, V.xG)",yGp:"=IF(V.p5 > 0, V.yF, V.yG)",xBp:"=IF(V.p5 > 0, V.xC, V.xB)",yBp:"=IF(V.p5 > 0, V.yC, V.yB)",en0:"=(ATAN2(V.sdxF,V.sdyF) * V.d2r)",en1:"=V.en0 + 21600000",en2:"=IF(V.en0 > 0, V.en0, V.en1)",sw0:"=V.en2 - V.stAng",sw1:"=V.sw0 + 21600000",swAng:"=IF(V.sw0 > 0, V.sw0, V.sw1)",wtI:"=V.rw3 * SIN(V.stAng / V.d2r)",htI:"=V.rh3 * COS(V.stAng / V.d2r)",_dxI:"=V.rw3 * COS(ATAN2(V.htI,V.wtI))",_dyI:"=V.rh3 * SIN(ATAN2(V.htI,V.wtI))",xI:"=V.hc + V._dxI",yI:"=V.vc + V._dyI",cd4:u,aI:"=V.stAng - V.cd4",aA:"=V.ptAng + V.cd4",aB:"=V.ptAng + V.cd2",idx:"=V.rw1 * COS(2700000 / V.d2r)",idy:"=V.rh1 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.rw1,V.xE,A(V.rw1,V.rh1,V.stAng),true)",cy1:"=C(V.rh1,V.yE,A(V.rw1,V.rh1,V.stAng))",cx2:"=C(V.rw2,V.xC,A(V.rw2,V.rh2,V.istAng),true)",cy2:"=C(V.rh2,V.yC,A(V.rw2,V.rh2,V.istAng))"},adjustInfo:[["adj1",12500],["adj2",1142319],["adj3",20457681],["adj4",108e5],["adj5",12500]],connectionPoints:[{x:"=V.xI",y:"=V.yI"},{x:"=V.xGp",y:"=V.yGp"},{x:"=V.xA",y:"=V.yA"},{x:"=V.xBp",y:"=V.yBp"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:"maxAng",position:{x:"xA",y:"yA"},point:["=V.xA","=V.yA"]},{type:"ahPolar",gdRefAng:"adj4",minAng:0,maxAng:21599999,position:{x:"xE",y:"yE"},point:["=V.xE","=V.yE"]},{type:"ahPolar",gdRefR:"adj1",minR:0,maxR:"maxAdj1",gdRefAng:"adj3",minAng:0,maxAng:21599999,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahPolar",gdRefR:"adj5",minR:0,maxR:25e3,position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M","=V.xE","=V.yE"],["E","=V.cx1","=V.cy1","=V.rw1","=V.rh1",0,"=A(V.rw1,V.rh1,V.stAng)","=A(V.rw1,V.rh1,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.xGp","=V.yGp"],["L","=V.xA","=V.yA"],["L","=V.xBp","=V.yBp"],["L","=V.xC","=V.yC"],["E","=V.cx2","=V.cy2","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.istAng)","=A(V.rw2,V.rh2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartProcess:{variables:{hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width",_scaleY1:"= height"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]]},flowchartAlternateProcess:{variables:{r:V,ss:i,ssd6:"=V.ss / 6",x2:"=width - V.ssd6",b:n,y2:"=height - V.ssd6",il:"=V.ssd6 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd2:h,cd4:u,cx1:"=C(V.ssd6,V.l,A(V.ssd6,V.ssd6,V.cd2),true)",cy1:"=C(V.ssd6,V.ssd6,A(V.ssd6,V.ssd6,V.cd2))",_3cd4:x,cx2:"=C(V.ssd6,V.x2,A(V.ssd6,V.ssd6,V._3cd4),true)",cy2:"=C(V.ssd6,V.t,A(V.ssd6,V.ssd6,V._3cd4))",cx3:"=C(V.ssd6,V.r,A(V.ssd6,V.ssd6,0),true)",cy3:"=C(V.ssd6,V.y2,A(V.ssd6,V.ssd6,0))",cx4:"=C(V.ssd6,V.ssd6,A(V.ssd6,V.ssd6,V.cd4),true)",cy4:"=C(V.ssd6,V.b,A(V.ssd6,V.ssd6,V.cd4))"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,"=V.ssd6"],["E","=V.cx1","=V.cy1","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,V.cd2)","=A(V.ssd6,V.ssd6,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,V._3cd4)","=A(V.ssd6,V.ssd6,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx3","=V.cy3","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,0)","=A(V.ssd6,V.ssd6,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.ssd6",n],["E","=V.cx4","=V.cy4","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,V.cd4)","=A(V.ssd6,V.ssd6,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},flowchartDecision:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 2",_scaleY1:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,f],["L",y,0],["L",V,f],["L",y,n],["Z"],{}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},flowchartData:{variables:{x3:"=width * 2 / 5",x4:"=width * 3 / 5",x5:"=width * 4 / 5",x6:"=width * 9 / 10",t:0,hc:y,wd10:"=width/10",vc:f,b:n,_scaleX1:"= width / 5",_scaleY1:"= height / 5",wd5:"=width/5"},connectionPoints:[{x:"=V.x4",y:0},{x:e,y:0},{x:"=V.wd10",y:c},{x:"=V.x3",y:n},{x:e,y:n},{x:"=V.x6",y:c}],path:[[["M",0,n],["L","=V._scaleX1",0],["L",V,0],["L","=4 * V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:"=V.x5",bottom:n}},flowchartPredefinedProcess:{variables:{x2:"=width * 7 / 8",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width",_scaleY1:"= height",_scaleX2:"= width / 8",_scaleY2:"= height / 8",_scaleX3:"= width",_scaleY3:"= height",wd8:"=width/8"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M","=V._scaleX2",0],["L","=V._scaleX2",n],["M","=7 * V._scaleX2",0],["L","=7 * V._scaleX2",n],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd8",top:0,right:s,bottom:n}},flowchartInternalStorage:{variables:{hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width",_scaleY1:"= height",_scaleX2:"= width / 8",_scaleY2:"= height / 8",_scaleX3:"= width",_scaleY3:"= height",wd8:"=width/8",hd8:"=height/8"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M","=V._scaleX2",0],["L","=V._scaleX2",n],["M",0,"=V._scaleY2"],["L",V,"=V._scaleY2"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd8",top:"=V.hd8",right:V,bottom:n}},flowchartDocument:{variables:{y1:"=height * 17322 / 21600",y2:"=height * 20172 / 21600",hc:y,t:0,l:0,vc:f,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:o},{x:V,y:c}],path:[[["M",0,0],["L",V,0],["L",V,"=17322 * V._scaleY1"],["B",y,"=17322 * V._scaleY1",y,"=23922 * V._scaleY1",0,"=20172 * V._scaleY1"],["Z"],{}]],textRect:{left:0,top:0,right:V,bottom:d}},flowchartMultidocument:{variables:{y2:"=height * 3675 / 21600",y8:"=height * 20782 / 21600",x3:"=width * 9298 / 21600",x4:"=width * 12286 / 21600",x5:"=width * 18595 / 21600",t:0,l:0,vc:f,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600",_scaleX2:"= width / 21600",_scaleY2:"= height / 21600",_scaleX3:"= width / 21600",_scaleY3:"= height / 21600"},connectionPoints:[{x:"=V.x4",y:0},{x:0,y:c},{x:"=V.x3",y:"=V.y8"},{x:V,y:c}],path:[[["M",0,"=20782 * V._scaleY1"],["B","=9298 * V._scaleX1","=23542 * V._scaleY1","=9298 * V._scaleX1","=18022 * V._scaleY1","=18595 * V._scaleX1","=18022 * V._scaleY1"],["L","=18595 * V._scaleX1","=3675 * V._scaleY1"],["L",0,"=3675 * V._scaleY1"],["Z"],["M","=1532 * V._scaleX1","=3675 * V._scaleY1"],["L","=1532 * V._scaleX1","=1815 * V._scaleY1"],["L","=20000 * V._scaleX1","=1815 * V._scaleY1"],["L","=20000 * V._scaleX1","=16252 * V._scaleY1"],["B","=19298 * V._scaleX1","=16252 * V._scaleY1","=18595 * V._scaleX1","=16352 * V._scaleY1","=18595 * V._scaleX1","=16352 * V._scaleY1"],["L","=18595 * V._scaleX1","=3675 * V._scaleY1"],["Z"],["M","=2972 * V._scaleX1","=1815 * V._scaleY1"],["L","=2972 * V._scaleX1",0],["L",V,0],["L",V,"=14392 * V._scaleY1"],["B","=20800 * V._scaleX1","=14392 * V._scaleY1","=20000 * V._scaleX1","=14467 * V._scaleY1","=20000 * V._scaleX1","=14467 * V._scaleY1"],["L","=20000 * V._scaleX1","=1815 * V._scaleY1"],["Z"],{strokeMode:"false"}],[["M",0,"=3675 * V._scaleY2"],["L","=18595 * V._scaleX2","=3675 * V._scaleY2"],["L","=18595 * V._scaleX2","=18022 * V._scaleY2"],["B","=9298 * V._scaleX2","=18022 * V._scaleY2","=9298 * V._scaleX2","=23542 * V._scaleY2",0,"=20782 * V._scaleY2"],["Z"],["M","=1532 * V._scaleX2","=3675 * V._scaleY2"],["L","=1532 * V._scaleX2","=1815 * V._scaleY2"],["L","=20000 * V._scaleX2","=1815 * V._scaleY2"],["L","=20000 * V._scaleX2","=16252 * V._scaleY2"],["B","=19298 * V._scaleX2","=16252 * V._scaleY2","=18595 * V._scaleX2","=16352 * V._scaleY2","=18595 * V._scaleX2","=16352 * V._scaleY2"],["M","=2972 * V._scaleX2","=1815 * V._scaleY2"],["L","=2972 * V._scaleX2",0],["L",V,0],["L",V,"=14392 * V._scaleY2"],["B","=20800 * V._scaleX2","=14392 * V._scaleY2","=20000 * V._scaleX2","=14467 * V._scaleY2","=20000 * V._scaleX2","=14467 * V._scaleY2"],{fillMode:"none"}],[["M",0,"=20782 * V._scaleY3"],["B","=9298 * V._scaleX3","=23542 * V._scaleY3","=9298 * V._scaleX3","=18022 * V._scaleY3","=18595 * V._scaleX3","=18022 * V._scaleY3"],["L","=18595 * V._scaleX3","=16352 * V._scaleY3"],["B","=18595 * V._scaleX3","=16352 * V._scaleY3","=19298 * V._scaleX3","=16252 * V._scaleY3","=20000 * V._scaleX3","=16252 * V._scaleY3"],["L","=20000 * V._scaleX3","=14467 * V._scaleY3"],["B","=20000 * V._scaleX3","=14467 * V._scaleY3","=20800 * V._scaleX3","=14392 * V._scaleY3",V,"=14392 * V._scaleY3"],["L",V,0],["L","=2972 * V._scaleX3",0],["L","=2972 * V._scaleX3","=1815 * V._scaleY3"],["L","=1532 * V._scaleX3","=1815 * V._scaleY3"],["L","=1532 * V._scaleX3","=3675 * V._scaleY3"],["L",0,"=3675 * V._scaleY3"],["Z"],{fillMode:"none",strokeMode:"false"}]],textRect:{left:0,top:o,right:"=V.x5",bottom:"=V.y8"}},flowchartTerminator:{variables:{il:"=width * 1018 / 21600",ir:"=width * 20582 / 21600",it:"=height * 3163 / 21600",ib:"=height * 18437 / 21600",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600",_3cd4:x,cd2:h,cx1:"=C(3475,18125,A(3475,10800,V._3cd4),true)",cy1:"=C(10800,0,A(3475,10800,V._3cd4))",cd4:u,cx2:"=C(3475,3475,A(3475,10800,V.cd4),true)",cy2:"=C(10800,21600,A(3475,10800,V.cd4))"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M","=3475 * V._scaleX1",0],["L","=18125 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=3475 * V._scaleX1",f,0,"=A(3475,10800,V._3cd4)","=A(3475,10800,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=3475 * V._scaleX1",n],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=3475 * V._scaleX1",f,0,"=A(3475,10800,V.cd4)","=A(3475,10800,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartPreparation:{variables:{x2:"=width * 4 / 5",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 10",_scaleY1:"= height / 10",wd5:"=width/5"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,f],["L","=2 * V._scaleX1",0],["L","=8 * V._scaleX1",0],["L",V,f],["L","=8 * V._scaleX1",n],["L","=2 * V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:s,bottom:n}},flowchartManualInput:{variables:{hc:y,hd10:"=height/10",l:0,vc:f,b:n,r:V,_scaleX1:"= width / 5",_scaleY1:"= height / 5",hd5:"=height/5"},connectionPoints:[{x:e,y:"=V.hd10"},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,"=V._scaleY1"],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:V,bottom:n}},flowchartManualOperation:{variables:{x3:"=width * 4 / 5",x4:"=width * 9 / 10",hc:y,t:0,wd10:"=width/10",vc:f,b:n,_scaleX1:"= width / 5",_scaleY1:"= height / 5",wd5:"=width/5"},connectionPoints:[{x:e,y:0},{x:"=V.wd10",y:c},{x:e,y:n},{x:"=V.x4",y:c}],path:[[["M",0,0],["L",V,0],["L","=4 * V._scaleX1",n],["L","=V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:"=V.x3",bottom:n}},flowchartConnector:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartOffpageConnector:{variables:{y1:"=height * 4 / 5",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 10",_scaleY1:"= height / 10"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,0],["L",V,0],["L",V,"=8 * V._scaleY1"],["L",y,n],["L",0,"=8 * V._scaleY1"],["Z"],{}]],textRect:{left:0,top:0,right:V,bottom:d}},flowchartCard:{variables:{hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 5",_scaleY1:"= height / 5",hd5:"=height/5"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,"=V._scaleY1"],["L","=V._scaleX1",0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:V,bottom:n}},flowchartPunchedTape:{variables:{y2:"=height * 9 / 10",ib:"=height * 4 / 5",hc:y,hd10:"=height/10",l:0,vc:f,r:V,_scaleX1:"= width / 20",_scaleY1:"= height / 20",cd2:h,cx1:"=C(5,0,A(5,2,V.cd2),true)",cy1:"=C(2,2,A(5,2,V.cd2))",cx2:"=C(5,P(V.cx1,5,A(5,2,(V.cd2 + -10800000)),true),A(5,2,V.cd2),true)",cy2:"=C(2,P(V.cy1,2,A(5,2,(V.cd2 + -10800000))),A(5,2,V.cd2))",cx3:"=C(5,20,A(5,2,0),true)",cy3:"=C(2,18,A(5,2,0))",cx4:"=C(5,P(V.cx3,5,A(5,2,(-10800000)),true),A(5,2,0),true)",cy4:"=C(2,P(V.cy3,2,A(5,2,(-10800000))),A(5,2,0))",hd5:"=height/5"},connectionPoints:[{x:e,y:"=V.hd10"},{x:0,y:c},{x:e,y:o},{x:V,y:c}],path:[[["M",0,"=2 * V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,V.cd2)","=A(5,2,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,V.cd2)","=A(5,2,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=18 * V._scaleY1"],["E","=V.cx3 * V._scaleX1","=V.cy3 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,0)","=A(5,2,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["E","=V.cx4 * V._scaleX1","=V.cy4 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,0)","=A(5,2,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:V,bottom:"=V.ib"}},flowchartSummingJunction:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy5:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx6:"=C(V.wd2,P(V.cx5,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy6:"=C(V.hd2,P(V.cy5,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy7:"=C(V.hd2,P(V.cy6,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx8:"=C(V.wd2,P(V.cx7,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy8:"=C(V.hd2,P(V.cy7,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.il","=V.it"],["L","=V.ir","=V.ib"],["M","=V.ir","=V.it"],["L","=V.il","=V.ib"],{fillMode:"none"}],[["M",0,c],["E","=V.cx5","=V.cy5","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx8","=V.cy8","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartOr:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy5:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx6:"=C(V.wd2,P(V.cx5,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy6:"=C(V.hd2,P(V.cy5,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy7:"=C(V.hd2,P(V.cy6,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx8:"=C(V.wd2,P(V.cx7,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy8:"=C(V.hd2,P(V.cy7,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",e,0],["L",e,n],["M",0,c],["L",V,c],{fillMode:"none"}],[["M",0,c],["E","=V.cx5","=V.cy5","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx8","=V.cy8","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartCollate:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,vc:f,b:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:e,y:c},{x:e,y:n}],path:[[["M",0,0],["L",V,0],["L",y,f],["L",V,n],["L",0,n],["L",y,f],["Z"],{}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},flowchartSort:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 2",_scaleY1:"= height / 2",_scaleX2:"= width / 2",_scaleX3:"= width / 2",_scaleY3:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,f],["L",y,0],["L",V,f],["L",y,n],["Z"],{strokeMode:"false"}],[["M",0,f],["L",V,f],{fillMode:"none"}],[["M",0,f],["L",y,0],["L",V,f],["L",y,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},flowchartExtract:{variables:{x2:"=width * 3 / 4",hc:y,t:0,wd4:"=width/4",vc:f,b:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2"},connectionPoints:[{x:e,y:0},{x:"=V.wd4",y:c},{x:e,y:n},{x:s,y:c}],path:[[["M",0,n],["L",y,0],["L",V,n],["Z"],{}]],textRect:{left:"=V.wd4",top:c,right:s,bottom:n}},flowchartMerge:{variables:{x2:"=width * 3 / 4",hc:y,t:0,wd4:"=width/4",vc:f,b:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2"},connectionPoints:[{x:e,y:0},{x:"=V.wd4",y:c},{x:e,y:n},{x:s,y:c}],path:[[["M",0,0],["L",V,0],["L",y,n],["Z"],{}]],textRect:{left:"=V.wd4",top:0,right:s,bottom:c}},flowchartStoredData:{variables:{x2:"=width * 5 / 6",hc:y,t:0,l:0,vc:f,b:n,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:x,cx1:"=C(1,6,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",cd4:u,cd2:h,cx2:"=C(1,1,A(1,3,V.cd4),true)",cy2:"=C(3,6,A(1,3,V.cd4))",wd6:"=width/6"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:s,y:c}],path:[[["M","=V._scaleX1",0],["L",V,0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V._scaleX1",n],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.wd6",top:0,right:s,bottom:n}},flowchartDelay:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,_3cd4:x,cd2:h,cx1:"=C(V.wd2,V.hc,A(V.wd2,V.hd2,V._3cd4),true)",cy1:"=C(V.hd2,V.t,A(V.wd2,V.hd2,V._3cd4))"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,0],["L",e,0],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartSequentialAccessStorage:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",ang1:"=(ATAN2(width,height) * V.d2r)",t:0,l:0,b:n,r:V,cd4:u,cx1:"=C(V.wd2,V.hc,A(V.wd2,V.hd2,V.cd4),true)",cy1:"=C(V.hd2,V.b,A(V.wd2,V.hd2,V.cd4))",cd2:h,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd4 + V.cd4)),true),A(V.wd2,V.hd2,V.cd2),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd4 + V.cd4))),A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",e,n],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.ang1))","=IF(V.ang1 > 0, FALSE, TRUE)"],["L",V,"=V.ib"],["L",V,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartMagneticDisk:{variables:{y3:"=height * 5 / 6",hc:y,hd3:"=height/3",t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 6",_scaleY1:"= height / 6",cd2:h,cx1:"=C(3,0,A(3,1,V.cd2),true)",cy1:"=C(1,1,A(3,1,V.cd2))",cx2:"=C(3,6,A(3,1,0),true)",cy2:"=C(1,5,A(3,1,0))",_scaleX2:"= width / 6",_scaleY2:"= height / 6",cx3:"=C(3,6,A(3,1,0),true)",cy3:"=C(1,1,A(3,1,0))",_scaleX3:"= width / 6",_scaleY3:"= height / 6",cx4:"=C(3,0,A(3,1,V.cd2),true)",cy4:"=C(1,1,A(3,1,V.cd2))",cx5:"=C(3,6,A(3,1,0),true)",cy5:"=C(1,5,A(3,1,0))"},connectionPoints:[{x:e,y:"=V.hd3"},{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,"=V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1",y,"=V._scaleY1",0,"=A(3,1,V.cd2)","=A(3,1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=5 * V._scaleY1"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1",y,"=V._scaleY1",0,"=A(3,1,0)","=A(3,1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,"=V._scaleY2"],["E","=V.cx3 * V._scaleX2","=V.cy3 * V._scaleY2",y,"=V._scaleY2",0,"=A(3,1,0)","=A(3,1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],{fillMode:"none"}],[["M",0,"=V._scaleY3"],["E","=V.cx4 * V._scaleX3","=V.cy4 * V._scaleY3",y,"=V._scaleY3",0,"=A(3,1,V.cd2)","=A(3,1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=5 * V._scaleY3"],["E","=V.cx5 * V._scaleX3","=V.cy5 * V._scaleY3",y,"=V._scaleY3",0,"=A(3,1,0)","=A(3,1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:0,top:"=V.hd3",right:V,bottom:"=V.y3"}},flowchartDirectAccessStorage:{variables:{x2:"=width * 2 / 3",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:x,cd2:h,cx1:"=C(1,5,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",cd4:u,cx2:"=C(1,1,A(1,3,V.cd4),true)",cy2:"=C(3,6,A(1,3,V.cd4))",_scaleX2:"= width / 6",_scaleY2:"= height / 6",cx3:"=C(1,5,A(1,3,V.cd4),true)",cy3:"=C(3,6,A(1,3,V.cd4))",_scaleX3:"= width / 6",_scaleY3:"= height / 6",cx4:"=C(1,5,A(1,3,V._3cd4),true)",cy4:"=C(3,0,A(1,3,V._3cd4))",cx5:"=C(1,1,A(1,3,V.cd4),true)",cy5:"=C(3,6,A(1,3,V.cd4))",wd6:"=width/6"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:s,y:c},{x:V,y:c}],path:[[["M","=V._scaleX1",0],["L","=5 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX1",n],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=5 * V._scaleX2",n],["E","=V.cx3 * V._scaleX2","=V.cy3 * V._scaleY2","=V._scaleX2",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],{fillMode:"none"}],[["M","=V._scaleX3",0],["L","=5 * V._scaleX3",0],["E","=V.cx4 * V._scaleX3","=V.cy4 * V._scaleY3","=V._scaleX3",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX3",n],["E","=V.cx5 * V._scaleX3","=V.cy5 * V._scaleY3","=V._scaleX3",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd6",top:0,right:s,bottom:n}},flowchartDisplay:{variables:{x2:"=width * 5 / 6",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:x,cd2:h,cx1:"=C(1,5,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",wd6:"=width/6"},connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],path:[[["M",0,f],["L","=V._scaleX1",0],["L","=5 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd6",top:0,right:s,bottom:n}},explosion1:{variables:{x5:"=width * 4627 / 21600",x12:"=width * 8485 / 21600",x21:"=width * 16702 / 21600",x24:"=width * 14522 / 21600",y3:"=height * 6320 / 21600",y6:"=height * 8615 / 21600",y9:"=height * 13937 / 21600",y18:"=height * 13290 / 21600",t:0,l:0,b:n,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:"=V.x24",y:0},{x:0,y:"=V.y6"},{x:"=V.x12",y:n},{x:V,y:"=V.y18"}],path:[[["M",y,"=5800 * V._scaleY1"],["L","=14522 * V._scaleX1",0],["L","=14155 * V._scaleX1","=5325 * V._scaleY1"],["L","=18380 * V._scaleX1","=4457 * V._scaleY1"],["L","=16702 * V._scaleX1","=7315 * V._scaleY1"],["L","=21097 * V._scaleX1","=8137 * V._scaleY1"],["L","=17607 * V._scaleX1","=10475 * V._scaleY1"],["L",V,"=13290 * V._scaleY1"],["L","=16837 * V._scaleX1","=12942 * V._scaleY1"],["L","=18145 * V._scaleX1","=18095 * V._scaleY1"],["L","=14020 * V._scaleX1","=14457 * V._scaleY1"],["L","=13247 * V._scaleX1","=19737 * V._scaleY1"],["L","=10532 * V._scaleX1","=14935 * V._scaleY1"],["L","=8485 * V._scaleX1",n],["L","=7715 * V._scaleX1","=15627 * V._scaleY1"],["L","=4762 * V._scaleX1","=17617 * V._scaleY1"],["L","=5667 * V._scaleX1","=13937 * V._scaleY1"],["L","=135 * V._scaleX1","=14587 * V._scaleY1"],["L","=3722 * V._scaleX1","=11775 * V._scaleY1"],["L",0,"=8615 * V._scaleY1"],["L","=4627 * V._scaleX1","=7617 * V._scaleY1"],["L","=370 * V._scaleX1","=2295 * V._scaleY1"],["L","=7312 * V._scaleX1","=6320 * V._scaleY1"],["L","=8352 * V._scaleX1","=2295 * V._scaleY1"],["Z"],{}]],textRect:{left:"=V.x5",top:"=V.y3",right:"=V.x21",bottom:"=V.y9"}},explosion2:{variables:{x2:"=width * 9722 / 21600",x5:"=width * 5372 / 21600",x16:"=width * 11612 / 21600",x19:"=width * 14640 / 21600",y2:"=height * 1887 / 21600",y3:"=height * 6382 / 21600",y8:"=height * 12877 / 21600",y14:"=height * 19712 / 21600",y16:"=height * 18842 / 21600",y17:"=height * 15935 / 21600",y24:"=height * 6645 / 21600",l:0,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:s,y:o},{x:0,y:"=V.y8"},{x:"=V.x16",y:"=V.y16"},{x:V,y:"=V.y24"}],path:[[["M","=11462 * V._scaleX1","=4342 * V._scaleY1"],["L","=14790 * V._scaleX1",0],["L","=14525 * V._scaleX1","=5777 * V._scaleY1"],["L","=18007 * V._scaleX1","=3172 * V._scaleY1"],["L","=16380 * V._scaleX1","=6532 * V._scaleY1"],["L",V,"=6645 * V._scaleY1"],["L","=16985 * V._scaleX1","=9402 * V._scaleY1"],["L","=18270 * V._scaleX1","=11290 * V._scaleY1"],["L","=16380 * V._scaleX1","=12310 * V._scaleY1"],["L","=18877 * V._scaleX1","=15632 * V._scaleY1"],["L","=14640 * V._scaleX1","=14350 * V._scaleY1"],["L","=14942 * V._scaleX1","=17370 * V._scaleY1"],["L","=12180 * V._scaleX1","=15935 * V._scaleY1"],["L","=11612 * V._scaleX1","=18842 * V._scaleY1"],["L","=9872 * V._scaleX1","=17370 * V._scaleY1"],["L","=8700 * V._scaleX1","=19712 * V._scaleY1"],["L","=7527 * V._scaleX1","=18125 * V._scaleY1"],["L","=4917 * V._scaleX1",n],["L","=4805 * V._scaleX1","=18240 * V._scaleY1"],["L","=1285 * V._scaleX1","=17825 * V._scaleY1"],["L","=3330 * V._scaleX1","=15370 * V._scaleY1"],["L",0,"=12877 * V._scaleY1"],["L","=3935 * V._scaleX1","=11592 * V._scaleY1"],["L","=1172 * V._scaleX1","=8270 * V._scaleY1"],["L","=5372 * V._scaleX1","=7817 * V._scaleY1"],["L","=4502 * V._scaleX1","=3625 * V._scaleY1"],["L","=8550 * V._scaleX1","=6382 * V._scaleY1"],["L","=9722 * V._scaleX1","=1887 * V._scaleY1"],["Z"],{}]],textRect:{left:"=V.x5",top:"=V.y3",right:"=V.x19",bottom:"=V.y17"}},shape4pointStar:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,iwd2:"=V.wd2 * V.a / 50000",hd2:f,ihd2:"=V.hd2 * V.a / 50000",d2r:a,sdx:"=V.iwd2 * COS(2700000 / V.d2r)",sdy:"=V.ihd2 * SIN(2700000 / V.d2r)",hc:y,sx1:"=V.hc - V.sdx",sx2:"=V.hc + V.sdx",vc:f,sy1:"=V.vc - V.sdy",sy2:"=V.vc + V.sdy",yAdj:"=V.vc - V.ihd2",t:0,l:0,b:n,r:V},adjustInfo:[["adj",12500]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy1"],["L",e,0],["L","=V.sx2","=V.sy1"],["L",V,c],["L","=V.sx2","=V.sy2"],["L",e,n],["L","=V.sx1","=V.sy2"],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx2",bottom:"=V.sy2"}},shape5pointStar:{variables:{adj:19098,hf:105146,vf:110557,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",d2r:a,dx1:"=V.swd2 * COS(1080000 / V.d2r)",dx2:"=V.swd2 * COS(18360000 / V.d2r)",dy1:"=V.shd2 * SIN(1080000 / V.d2r)",dy2:"=V.shd2 * SIN(18360000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc - V.dy2",iwd2:"=V.swd2 * V.a / 50000",ihd2:"=V.shd2 * V.a / 50000",sdx1:"=V.iwd2 * COS(20520000 / V.d2r)",sdx2:"=V.iwd2 * COS(3240000 / V.d2r)",sdy1:"=V.ihd2 * SIN(3240000 / V.d2r)",sdy2:"=V.ihd2 * SIN(20520000 / V.d2r)",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc + V.sdx2",sx4:"=V.hc + V.sdx1",sy1:"=V.svc - V.sdy1",sy2:"=V.svc - V.sdy2",sy3:"=V.svc + V.ihd2",yAdj:"=V.svc - V.ihd2",t:0},adjustInfo:[["adj",19098],["hf",105146],["vf",110557]],connectionPoints:[{x:e,y:0},{x:r,y:d},{x:s,y:o},{x:"=V.x3",y:o},{x:"=V.x4",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",r,d],["L","=V.sx2","=V.sy1"],["L",e,0],["L","=V.sx3","=V.sy1"],["L","=V.x4",d],["L","=V.sx4","=V.sy2"],["L","=V.x3",o],["L",e,"=V.sy3"],["L",s,o],["L","=V.sx1","=V.sy2"],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx4",bottom:"=V.sy3"}},shape8pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2700000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",hd2:f,dy1:"=V.hd2 * SIN(2700000 / V.d2r)",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 92388 / 100000",sdx2:"=V.iwd2 * 38268 / 100000",sdy1:"=V.ihd2 * 92388 / 100000",sdy2:"=V.ihd2 * 38268 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc + V.sdx2",sx4:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc + V.sdy2",sy4:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",r:V,b:n,l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:V,y:c},{x:s,y:o},{x:e,y:n},{x:r,y:o},{x:0,y:c},{x:r,y:d},{x:e,y:0},{x:s,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy2"],["L",r,d],["L","=V.sx2","=V.sy1"],["L",e,0],["L","=V.sx3","=V.sy1"],["L",s,d],["L","=V.sx4","=V.sy2"],["L",V,c],["L","=V.sx4","=V.sy3"],["L",s,o],["L","=V.sx3","=V.sy4"],["L",e,n],["L","=V.sx2","=V.sy4"],["L",r,o],["L","=V.sx1","=V.sy3"],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx4",bottom:"=V.sy4"}},shape16pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,dx1:"=V.wd2 * 92388 / 100000",dx2:"=V.wd2 * 70711 / 100000",dx3:"=V.wd2 * 38268 / 100000",hd2:f,dy1:"=V.hd2 * 92388 / 100000",dy2:"=V.hd2 * 70711 / 100000",dy3:"=V.hd2 * 38268 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",x5:"=V.hc + V.dx2",x6:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc - V.dy3",y4:"=V.vc + V.dy3",y5:"=V.vc + V.dy2",y6:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 98079 / 100000",sdx2:"=V.iwd2 * 83147 / 100000",sdx3:"=V.iwd2 * 55557 / 100000",sdx4:"=V.iwd2 * 19509 / 100000",sdy1:"=V.ihd2 * 98079 / 100000",sdy2:"=V.ihd2 * 83147 / 100000",sdy3:"=V.ihd2 * 55557 / 100000",sdy4:"=V.ihd2 * 19509 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc - V.sdx4",sx5:"=V.hc + V.sdx4",sx6:"=V.hc + V.sdx3",sx7:"=V.hc + V.sdx2",sx8:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc - V.sdy4",sy5:"=V.vc + V.sdy4",sy6:"=V.vc + V.sdy3",sy7:"=V.vc + V.sdy2",sy8:"=V.vc + V.sdy1",d2r:a,idx:"=V.iwd2 * COS(2700000 / V.d2r)",idy:"=V.ihd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",it:"=V.vc - V.idy",ir:"=V.hc + V.idx",ib:"=V.vc + V.idy",yAdj:"=V.vc - V.ihd2",r:V,b:n,l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:"=V.x5",y:o},{x:"=V.x6",y:"=V.y3"},{x:V,y:c},{x:"=V.x6",y:"=V.y4"},{x:"=V.x5",y:"=V.y5"},{x:"=V.x4",y:"=V.y6"},{x:e,y:n},{x:"=V.x3",y:"=V.y6"},{x:s,y:"=V.y5"},{x:r,y:"=V.y4"},{x:0,y:c},{x:r,y:"=V.y3"},{x:s,y:o},{x:"=V.x3",y:d},{x:e,y:0},{x:"=V.x4",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy4"],["L",r,"=V.y3"],["L","=V.sx2","=V.sy3"],["L",s,o],["L","=V.sx3","=V.sy2"],["L","=V.x3",d],["L","=V.sx4","=V.sy1"],["L",e,0],["L","=V.sx5","=V.sy1"],["L","=V.x4",d],["L","=V.sx6","=V.sy2"],["L","=V.x5",o],["L","=V.sx7","=V.sy3"],["L","=V.x6","=V.y3"],["L","=V.sx8","=V.sy4"],["L",V,c],["L","=V.sx8","=V.sy5"],["L","=V.x6","=V.y4"],["L","=V.sx7","=V.sy6"],["L","=V.x5","=V.y5"],["L","=V.sx6","=V.sy7"],["L","=V.x4","=V.y6"],["L","=V.sx5","=V.sy8"],["L",e,n],["L","=V.sx4","=V.sy8"],["L","=V.x3","=V.y6"],["L","=V.sx3","=V.sy7"],["L",s,"=V.y5"],["L","=V.sx2","=V.sy6"],["L",r,"=V.y4"],["L","=V.sx1","=V.sy5"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},shape24pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,d2r:a,dx1:"=V.wd2 * COS(900000 / V.d2r)",dx2:"=V.wd2 * COS(1800000 / V.d2r)",dx3:"=V.wd2 * COS(2700000 / V.d2r)",wd4:"=width/4",dx4:"=V.wd4",dx5:"=V.wd2 * COS(4500000 / V.d2r)",hd2:f,dy1:"=V.hd2 * SIN(4500000 / V.d2r)",dy2:"=V.hd2 * SIN(3600000 / V.d2r)",dy3:"=V.hd2 * SIN(2700000 / V.d2r)",hd4:"=height/4",dy4:"=V.hd4",dy5:"=V.hd2 * SIN(900000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc - V.dx4",x5:"=V.hc - V.dx5",x6:"=V.hc + V.dx5",x7:"=V.hc + V.dx4",x8:"=V.hc + V.dx3",x9:"=V.hc + V.dx2",x10:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc - V.dy3",y4:"=V.vc - V.dy4",y5:"=V.vc - V.dy5",y6:"=V.vc + V.dy5",y7:"=V.vc + V.dy4",y8:"=V.vc + V.dy3",y9:"=V.vc + V.dy2",y10:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 99144 / 100000",sdx2:"=V.iwd2 * 92388 / 100000",sdx3:"=V.iwd2 * 79335 / 100000",sdx4:"=V.iwd2 * 60876 / 100000",sdx5:"=V.iwd2 * 38268 / 100000",sdx6:"=V.iwd2 * 13053 / 100000",sdy1:"=V.ihd2 * 99144 / 100000",sdy2:"=V.ihd2 * 92388 / 100000",sdy3:"=V.ihd2 * 79335 / 100000",sdy4:"=V.ihd2 * 60876 / 100000",sdy5:"=V.ihd2 * 38268 / 100000",sdy6:"=V.ihd2 * 13053 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc - V.sdx4",sx5:"=V.hc - V.sdx5",sx6:"=V.hc - V.sdx6",sx7:"=V.hc + V.sdx6",sx8:"=V.hc + V.sdx5",sx9:"=V.hc + V.sdx4",sx10:"=V.hc + V.sdx3",sx11:"=V.hc + V.sdx2",sx12:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc - V.sdy4",sy5:"=V.vc - V.sdy5",sy6:"=V.vc - V.sdy6",sy7:"=V.vc + V.sdy6",sy8:"=V.vc + V.sdy5",sy9:"=V.vc + V.sdy4",sy10:"=V.vc + V.sdy3",sy11:"=V.vc + V.sdy2",sy12:"=V.vc + V.sdy1",idx:"=V.iwd2 * COS(2700000 / V.d2r)",idy:"=V.ihd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",it:"=V.vc - V.idy",ir:"=V.hc + V.idx",ib:"=V.vc + V.idy",yAdj:"=V.vc - V.ihd2",t:0,l:0,b:n,r:V},adjustInfo:[["adj",37500]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy6"],["L",r,"=V.y5"],["L","=V.sx2","=V.sy5"],["L",s,"=V.y4"],["L","=V.sx3","=V.sy4"],["L","=V.x3","=V.y3"],["L","=V.sx4","=V.sy3"],["L","=V.x4",o],["L","=V.sx5","=V.sy2"],["L","=V.x5",d],["L","=V.sx6","=V.sy1"],["L",e,0],["L","=V.sx7","=V.sy1"],["L","=V.x6",d],["L","=V.sx8","=V.sy2"],["L","=V.x7",o],["L","=V.sx9","=V.sy3"],["L","=V.x8","=V.y3"],["L","=V.sx10","=V.sy4"],["L","=V.x9","=V.y4"],["L","=V.sx11","=V.sy5"],["L","=V.x10","=V.y5"],["L","=V.sx12","=V.sy6"],["L",V,c],["L","=V.sx12","=V.sy7"],["L","=V.x10","=V.y6"],["L","=V.sx11","=V.sy8"],["L","=V.x9","=V.y7"],["L","=V.sx10","=V.sy9"],["L","=V.x8","=V.y8"],["L","=V.sx9","=V.sy10"],["L","=V.x7","=V.y9"],["L","=V.sx8","=V.sy11"],["L","=V.x6","=V.y10"],["L","=V.sx7","=V.sy12"],["L",e,n],["L","=V.sx6","=V.sy12"],["L","=V.x5","=V.y10"],["L","=V.sx5","=V.sy11"],["L","=V.x4","=V.y9"],["L","=V.sx4","=V.sy10"],["L","=V.x3","=V.y8"],["L","=V.sx3","=V.sy9"],["L",s,"=V.y7"],["L","=V.sx2","=V.sy8"],["L",r,"=V.y6"],["L","=V.sx1","=V.sy7"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},shape32pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,dx1:"=V.wd2 * 98079 / 100000",dx2:"=V.wd2 * 92388 / 100000",dx3:"=V.wd2 * 83147 / 100000",d2r:a,dx4:"=V.wd2 * COS(2700000 / V.d2r)",dx5:"=V.wd2 * 55557 / 100000",dx6:"=V.wd2 * 38268 / 100000",dx7:"=V.wd2 * 19509 / 100000",hd2:f,dy1:"=V.hd2 * 98079 / 100000",dy2:"=V.hd2 * 92388 / 100000",dy3:"=V.hd2 * 83147 / 100000",dy4:"=V.hd2 * SIN(2700000 / V.d2r)",dy5:"=V.hd2 * 55557 / 100000",dy6:"=V.hd2 * 38268 / 100000",dy7:"=V.hd2 * 19509 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc - V.dx4",x5:"=V.hc - V.dx5",x6:"=V.hc - V.dx6",x7:"=V.hc - V.dx7",x8:"=V.hc + V.dx7",x9:"=V.hc + V.dx6",x10:"=V.hc + V.dx5",x11:"=V.hc + V.dx4",x12:"=V.hc + V.dx3",x13:"=V.hc + V.dx2",x14:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc - V.dy3",y4:"=V.vc - V.dy4",y5:"=V.vc - V.dy5",y6:"=V.vc - V.dy6",y7:"=V.vc - V.dy7",y8:"=V.vc + V.dy7",y9:"=V.vc + V.dy6",y10:"=V.vc + V.dy5",y11:"=V.vc + V.dy4",y12:"=V.vc + V.dy3",y13:"=V.vc + V.dy2",y14:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 99518 / 100000",sdx2:"=V.iwd2 * 95694 / 100000",sdx3:"=V.iwd2 * 88192 / 100000",sdx4:"=V.iwd2 * 77301 / 100000",sdx5:"=V.iwd2 * 63439 / 100000",sdx6:"=V.iwd2 * 47140 / 100000",sdx7:"=V.iwd2 * 29028 / 100000",sdx8:"=V.iwd2 * 9802 / 100000",sdy1:"=V.ihd2 * 99518 / 100000",sdy2:"=V.ihd2 * 95694 / 100000",sdy3:"=V.ihd2 * 88192 / 100000",sdy4:"=V.ihd2 * 77301 / 100000",sdy5:"=V.ihd2 * 63439 / 100000",sdy6:"=V.ihd2 * 47140 / 100000",sdy7:"=V.ihd2 * 29028 / 100000",sdy8:"=V.ihd2 * 9802 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc - V.sdx4",sx5:"=V.hc - V.sdx5",sx6:"=V.hc - V.sdx6",sx7:"=V.hc - V.sdx7",sx8:"=V.hc - V.sdx8",sx9:"=V.hc + V.sdx8",sx10:"=V.hc + V.sdx7",sx11:"=V.hc + V.sdx6",sx12:"=V.hc + V.sdx5",sx13:"=V.hc + V.sdx4",sx14:"=V.hc + V.sdx3",sx15:"=V.hc + V.sdx2",sx16:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc - V.sdy4",sy5:"=V.vc - V.sdy5",sy6:"=V.vc - V.sdy6",sy7:"=V.vc - V.sdy7",sy8:"=V.vc - V.sdy8",sy9:"=V.vc + V.sdy8",sy10:"=V.vc + V.sdy7",sy11:"=V.vc + V.sdy6",sy12:"=V.vc + V.sdy5",sy13:"=V.vc + V.sdy4",sy14:"=V.vc + V.sdy3",sy15:"=V.vc + V.sdy2",sy16:"=V.vc + V.sdy1",idx:"=V.iwd2 * COS(2700000 / V.d2r)",idy:"=V.ihd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",it:"=V.vc - V.idy",ir:"=V.hc + V.idx",ib:"=V.vc + V.idy",yAdj:"=V.vc - V.ihd2",t:0,l:0,b:n,r:V},adjustInfo:[["adj",37500]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy8"],["L",r,"=V.y7"],["L","=V.sx2","=V.sy7"],["L",s,"=V.y6"],["L","=V.sx3","=V.sy6"],["L","=V.x3","=V.y5"],["L","=V.sx4","=V.sy5"],["L","=V.x4","=V.y4"],["L","=V.sx5","=V.sy4"],["L","=V.x5","=V.y3"],["L","=V.sx6","=V.sy3"],["L","=V.x6",o],["L","=V.sx7","=V.sy2"],["L","=V.x7",d],["L","=V.sx8","=V.sy1"],["L",e,0],["L","=V.sx9","=V.sy1"],["L","=V.x8",d],["L","=V.sx10","=V.sy2"],["L","=V.x9",o],["L","=V.sx11","=V.sy3"],["L","=V.x10","=V.y3"],["L","=V.sx12","=V.sy4"],["L","=V.x11","=V.y4"],["L","=V.sx13","=V.sy5"],["L","=V.x12","=V.y5"],["L","=V.sx14","=V.sy6"],["L","=V.x13","=V.y6"],["L","=V.sx15","=V.sy7"],["L","=V.x14","=V.y7"],["L","=V.sx16","=V.sy8"],["L",V,c],["L","=V.sx16","=V.sy9"],["L","=V.x14","=V.y8"],["L","=V.sx15","=V.sy10"],["L","=V.x13","=V.y9"],["L","=V.sx14","=V.sy11"],["L","=V.x12","=V.y10"],["L","=V.sx13","=V.sy12"],["L","=V.x11","=V.y11"],["L","=V.sx12","=V.sy13"],["L","=V.x10","=V.y12"],["L","=V.sx11","=V.sy14"],["L","=V.x9","=V.y13"],["L","=V.sx10","=V.sy15"],["L","=V.x8","=V.y14"],["L","=V.sx9","=V.sy16"],["L",e,n],["L","=V.sx8","=V.sy16"],["L","=V.x7","=V.y14"],["L","=V.sx7","=V.sy15"],["L","=V.x6","=V.y13"],["L","=V.sx6","=V.sy14"],["L","=V.x5","=V.y12"],["L","=V.sx5","=V.sy13"],["L","=V.x4","=V.y11"],["L","=V.sx4","=V.sy12"],["L","=V.x3","=V.y10"],["L","=V.sx3","=V.sy11"],["L",s,"=V.y9"],["L","=V.sx2","=V.sy10"],["L",r,"=V.y8"],["L","=V.sx1","=V.sy9"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},upRibbon:{variables:{adj1:16667,adj2:5e4,a1:"=MIN(MAX(0, V.adj1), 33333)",a2:"=MIN(MAX(25000, V.adj2), 75000)",r:V,wd8:"=width/8",x10:"=width - V.wd8",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",x9:"=V.hc + V.dx2",wd32:"=width/32",x3:"=V.x2 + V.wd32",x8:"=V.x9 - V.wd32",x5:"=V.x2 + V.wd8",x6:"=V.x9 - V.wd8",x4:"=V.x5 - V.wd32",x7:"=V.x6 + V.wd32",dy1:"=height * V.a1 / 200000",b:n,y1:"=height - V.dy1",dy2:"=height * V.a1 / 100000",y2:"=height - V.dy2",t:0,y4:"=V.dy2",y3:"=(V.y4 + V.b) / 2",hR:"=height * V.a1 / 400000",y6:"=height - V.hR",y7:"=V.y1 - V.hR",l:0,cd4:u,cx1:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V.cd4),true)",cy1:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))",cd2:h,cx2:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy2:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",_3cd4:x,cx3:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V._3cd4),true)",cy3:"=C(V.hR,V.y2,A(V.wd32,V.hR,V._3cd4))",cx4:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V._3cd4),true)",cy4:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx5:"=C(V.wd32,V.x9,A(V.wd32,V.hR,0),true)",cy5:"=C(V.hR,V.hR,A(V.wd32,V.hR,0))",cx6:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy6:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx7:"=C(V.wd32,V.x5,A(V.wd32,V.hR,0),true)",cy7:"=C(V.hR,V.y6,A(V.wd32,V.hR,0))",cx8:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy8:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx9:"=C(V.wd32,V.x6,A(V.wd32,V.hR,V.cd2),true)",cy9:"=C(V.hR,V.y6,A(V.wd32,V.hR,V.cd2))",cx10:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy10:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx11:"=C(V.wd32,V.x2,A(V.wd32,V.hR,V.cd2),true)",cy11:"=C(V.hR,V.hR,A(V.wd32,V.hR,V.cd2))",cx12:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V._3cd4),true)",cy12:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx13:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V.cd4),true)",cy13:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))",cx14:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy14:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx15:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy15:"=C(V.hR,V.y2,A(V.wd32,V.hR,V._3cd4))",cx16:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V._3cd4),true)",cy16:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))"},adjustInfo:[["adj1",16667],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:"=V.wd8",y:"=V.y3"},{x:e,y:o},{x:"=V.x10",y:"=V.y3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:33333,position:{x:"hc",y:"y2"},point:[e,o]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,n],["L","=V.x4",n],["E","=V.cx1","=V.cy1","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x3",d],["E","=V.cx2","=V.cy2","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x8",o],["E","=V.cx3","=V.cy3","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x7",d],["E","=V.cx4","=V.cy4","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L",V,n],["L","=V.x10","=V.y3"],["L",V,"=V.y4"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.hR"],["E","=V.cx5","=V.cy5","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx6","=V.cy6","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",s,"=V.y4"],["L",0,"=V.y4"],["L","=V.wd8","=V.y3"],["Z"],{strokeMode:"false"}],[["M","=V.x5","=V.y6"],["E","=V.cx7","=V.cy7","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x3",d],["E","=V.cx8","=V.cy8","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x5",o],["Z"],["M","=V.x6","=V.y6"],["E","=V.cx9","=V.cy9","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd2)","=A(V.wd32,V.hR,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x8",d],["E","=V.cx10","=V.cy10","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x6",o],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,n],["L","=V.wd8","=V.y3"],["L",0,"=V.y4"],["L",s,"=V.y4"],["L",s,"=V.hR"],["E","=V.cx11","=V.cy11","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd2)","=A(V.wd32,V.hR,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x8",0],["E","=V.cx12","=V.cy12","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.y4"],["L",V,"=V.y4"],["L","=V.x10","=V.y3"],["L",V,n],["L","=V.x7",n],["E","=V.cx13","=V.cy13","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x8",d],["E","=V.cx14","=V.cy14","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x3",o],["E","=V.cx15","=V.cy15","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x4",d],["E","=V.cx16","=V.cy16","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.x5",o],["L","=V.x5","=V.y6"],["M","=V.x6","=V.y6"],["L","=V.x6",o],["M",s,"=V.y7"],["L",s,"=V.y4"],["M","=V.x9","=V.y4"],["L","=V.x9","=V.y7"],{fillMode:"none"}]],textRect:{left:s,top:0,right:"=V.x9",bottom:o}},downRibbon:{variables:{adj1:16667,adj2:5e4,a1:"=MIN(MAX(0, V.adj1), 33333)",a2:"=MIN(MAX(25000, V.adj2), 75000)",r:V,wd8:"=width/8",x10:"=width - V.wd8",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",x9:"=V.hc + V.dx2",wd32:"=width/32",x3:"=V.x2 + V.wd32",x8:"=V.x9 - V.wd32",x5:"=V.x2 + V.wd8",x6:"=V.x9 - V.wd8",x4:"=V.x5 - V.wd32",x7:"=V.x6 + V.wd32",y1:"=height * V.a1 / 200000",y2:"=height * V.a1 / 100000",b:n,y4:"=height - V.y2",y3:"=V.y4 / 2",hR:"=height * V.a1 / 400000",y5:"=height - V.hR",y6:"=V.y2 - V.hR",t:0,l:0,_3cd4:x,cd2:h,cx1:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V._3cd4),true)",cy1:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx2:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy2:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cd4:u,cx3:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy3:"=C(V.hR,V.y2,A(V.wd32,V.hR,V.cd4))",cx4:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V.cd4),true)",cy4:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx5:"=C(V.wd32,V.x9,A(V.wd32,V.hR,0),true)",cy5:"=C(V.hR,V.y5,A(V.wd32,V.hR,0))",cx6:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy6:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))",cx7:"=C(V.wd32,V.x5,A(V.wd32,V.hR,0),true)",cy7:"=C(V.hR,V.hR,A(V.wd32,V.hR,0))",cx8:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy8:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx9:"=C(V.wd32,V.x6,A(V.wd32,V.hR,V.cd2),true)",cy9:"=C(V.hR,V.hR,A(V.wd32,V.hR,V.cd2))",cx10:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V._3cd4),true)",cy10:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx11:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V._3cd4),true)",cy11:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx12:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy12:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx13:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy13:"=C(V.hR,V.y2,A(V.wd32,V.hR,V.cd4))",cx14:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V.cd4),true)",cy14:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx15:"=C(V.wd32,V.x9,A(V.wd32,V.hR,0),true)",cy15:"=C(V.hR,V.y5,A(V.wd32,V.hR,0))",cx16:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy16:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))"},adjustInfo:[["adj1",16667],["adj2",5e4]],connectionPoints:[{x:e,y:o},{x:"=V.wd8",y:"=V.y3"},{x:e,y:n},{x:"=V.x10",y:"=V.y3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:33333,position:{x:"hc",y:"y2"},point:[e,o]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,0],["L","=V.x4",0],["E","=V.cx1","=V.cy1","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x3",d],["E","=V.cx2","=V.cy2","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x8",o],["E","=V.cx3","=V.cy3","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x7",d],["E","=V.cx4","=V.cy4","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,0],["L","=V.x10","=V.y3"],["L",V,"=V.y4"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.y5"],["E","=V.cx5","=V.cy5","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",n],["E","=V.cx6","=V.cy6","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.y4"],["L",0,"=V.y4"],["L","=V.wd8","=V.y3"],["Z"],{strokeMode:"false"}],[["M","=V.x5","=V.hR"],["E","=V.cx7","=V.cy7","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",d],["E","=V.cx8","=V.cy8","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x5",o],["Z"],["M","=V.x6","=V.hR"],["E","=V.cx9","=V.cy9","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd2)","=A(V.wd32,V.hR,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x8",d],["E","=V.cx10","=V.cy10","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x6",o],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,0],["L","=V.x4",0],["E","=V.cx11","=V.cy11","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x3",d],["E","=V.cx12","=V.cy12","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x8",o],["E","=V.cx13","=V.cy13","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x7",d],["E","=V.cx14","=V.cy14","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,0],["L","=V.x10","=V.y3"],["L",V,"=V.y4"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.y5"],["E","=V.cx15","=V.cy15","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",n],["E","=V.cx16","=V.cy16","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.y4"],["L",0,"=V.y4"],["L","=V.wd8","=V.y3"],["Z"],["M","=V.x5","=V.hR"],["L","=V.x5",o],["M","=V.x6",o],["L","=V.x6","=V.hR"],["M",s,"=V.y4"],["L",s,"=V.y6"],["M","=V.x9","=V.y6"],["L","=V.x9","=V.y4"],{fillMode:"none"}]],textRect:{left:s,top:o,right:"=V.x9",bottom:n}},curvedUpRibbon:{variables:{adj1:25e3,adj2:5e4,adj3:12500,a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(25000, V.adj2), 75000)",q10:"=100000 - V.a1",q11:"=V.q10 / 2",q12:"=V.a1 - V.q11",minAdj3:"=MAX(0, V.q12)",a3:"=MIN(MAX(V.minAdj3, V.adj3), V.a1)",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",wd8:"=width/8",x3:"=V.x2 + V.wd8",r:V,x4:"=width - V.x3",x5:"=width - V.x2",x6:"=width - V.wd8",dy1:"=height * V.a3 / 100000",f1:"=4 * V.dy1 / width",q1:"=V.x3 * V.x3 / width",q2:"=V.x3 - V.q1",u1:"=V.f1 * V.q2",b:n,y1:"=height - V.u1",cx1:"=V.x3 / 2",cu1:"=V.f1 * V.cx1",cy1:"=height - V.cu1",cx2:"=width - V.cx1",_q1:"=height * V.a1 / 100000",dy3:"=V._q1 - V.dy1",q3:"=V.x2 * V.x2 / width",q4:"=V.x2 - V.q3",q5:"=V.f1 * V.q4",u3:"=V.q5 + V.dy3",y3:"=height - V.u3",q6:"=V.dy1 + V.dy3 - V.u3",q7:"=V.q6 + V.dy1",cu3:"=V.q7 + V.dy3",cy3:"=height - V.cu3",rh:"=height - V._q1",q8:"=V.dy1 * 14 / 16",u2:"=(V.q8 + V.rh) / 2",y2:"=height - V.u2",u5:"=V.q5 + V.rh",y5:"=height - V.u5",u6:"=V.u3 + V.rh",y6:"=height - V.u6",cx4:"=V.x2 / 2",q9:"=V.f1 * V.cx4",cu4:"=V.q9 + V.rh",cy4:"=height - V.cu4",cx5:"=width - V.cx4",cu6:"=V.cu3 + V.rh",cy6:"=height - V.cu6",u7:"=V.u1 + V.dy3",y7:"=height - V.u7",cu7:"=V._q1 + V._q1 - V.u7",cy7:"=height - V.cu7",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",12500]],connectionPoints:[{x:e,y:0},{x:"=V.wd8",y:o},{x:e,y:"=V.rh"},{x:"=V.x6",y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"hc",y:"rh"},point:[e,"=V.rh"]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:1e5,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:"minAdj3",maxY:"a1",position:{x:"l",y:"dy1"},point:[0,"=V.dy1"]}],path:[[["M",0,n],["Q","=V.cx1","=V.cy1","=V.x3",d],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["Q","=V.cx2","=V.cy1",V,n],["L","=V.x6",o],["L",V,"=V._q1"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",e,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V._q1"],["L","=V.wd8",o],["Z"],{strokeMode:"false"}],[["M","=V.x3","=V.y7"],["L","=V.x3",d],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["L","=V.x4","=V.y7"],["Q",e,"=V.cy7","=V.x3","=V.y7"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,n],["L","=V.wd8",o],["L",0,"=V._q1"],["Q","=V.cx4","=V.cy4",s,"=V.y5"],["L",s,"=V.y6"],["Q",e,"=V.cy6","=V.x5","=V.y6"],["L","=V.x5","=V.y5"],["Q","=V.cx5","=V.cy4",V,"=V._q1"],["L","=V.x6",o],["L",V,n],["Q","=V.cx2","=V.cy1","=V.x4",d],["L","=V.x5","=V.y3"],["Q",e,"=V.cy3",s,"=V.y3"],["L","=V.x3",d],["Q","=V.cx1","=V.cy1",0,n],["Z"],["M",s,"=V.y3"],["L",s,"=V.y5"],["M","=V.x5","=V.y5"],["L","=V.x5","=V.y3"],["M","=V.x3","=V.y7"],["L","=V.x3",d],["M","=V.x4",d],["L","=V.x4","=V.y7"],{fillMode:"none"}]],textRect:{left:s,top:"=V.y6",right:"=V.x5",bottom:"=V.rh"}},curvedDownRibbon:{variables:{adj1:25e3,adj2:5e4,adj3:12500,a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(25000, V.adj2), 75000)",q10:"=100000 - V.a1",q11:"=V.q10 / 2",q12:"=V.a1 - V.q11",minAdj3:"=MAX(0, V.q12)",a3:"=MIN(MAX(V.minAdj3, V.adj3), V.a1)",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",wd8:"=width/8",x3:"=V.x2 + V.wd8",r:V,x4:"=width - V.x3",x5:"=width - V.x2",x6:"=width - V.wd8",dy1:"=height * V.a3 / 100000",f1:"=4 * V.dy1 / width",q1:"=V.x3 * V.x3 / width",q2:"=V.x3 - V.q1",y1:"=V.f1 * V.q2",cx1:"=V.x3 / 2",cy1:"=V.f1 * V.cx1",cx2:"=width - V.cx1",_q1:"=height * V.a1 / 100000",dy3:"=V._q1 - V.dy1",q3:"=V.x2 * V.x2 / width",q4:"=V.x2 - V.q3",q5:"=V.f1 * V.q4",y3:"=V.q5 + V.dy3",q6:"=V.dy1 + V.dy3 - V.y3",q7:"=V.q6 + V.dy1",cy3:"=V.q7 + V.dy3",b:n,rh:"=height - V._q1",q8:"=V.dy1 * 14 / 16",y2:"=(V.q8 + V.rh) / 2",y5:"=V.q5 + V.rh",y6:"=V.y3 + V.rh",cx4:"=V.x2 / 2",q9:"=V.f1 * V.cx4",cy4:"=V.q9 + V.rh",cx5:"=width - V.cx4",cy6:"=V.cy3 + V.rh",y7:"=V.y1 + V.dy3",cy7:"=V._q1 + V._q1 - V.y7",y8:"=height - V.dy1",l:0,t:0},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",12500]],connectionPoints:[{x:e,y:"=V._q1"},{x:"=V.wd8",y:o},{x:e,y:n},{x:"=V.x6",y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"hc",y:"_q1"},point:[e,"=V._q1"]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"b"},point:[s,n]},{type:"ahXY",gdRefY:"adj3",minY:"minAdj3",maxY:"a1",position:{x:"l",y:"y8"},point:[0,"=V.y8"]}],path:[[["M",0,0],["Q","=V.cx1","=V.cy1","=V.x3",d],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["Q","=V.cx2","=V.cy1",V,0],["L","=V.x6",o],["L",V,"=V.rh"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",e,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V.rh"],["L","=V.wd8",o],["Z"],{strokeMode:"false"}],[["M","=V.x3","=V.y7"],["L","=V.x3",d],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["L","=V.x4","=V.y7"],["Q",e,"=V.cy7","=V.x3","=V.y7"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,0],["Q","=V.cx1","=V.cy1","=V.x3",d],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["Q","=V.cx2","=V.cy1",V,0],["L","=V.x6",o],["L",V,"=V.rh"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",e,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V.rh"],["L","=V.wd8",o],["Z"],["M",s,"=V.y5"],["L",s,"=V.y3"],["M","=V.x5","=V.y3"],["L","=V.x5","=V.y5"],["M","=V.x3",d],["L","=V.x3","=V.y7"],["M","=V.x4","=V.y7"],["L","=V.x4",d],{fillMode:"none"}]],textRect:{left:s,top:"=V._q1",right:"=V.x5",bottom:"=V.y6"}},verticalScroll:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 25000)",ss:i,ch:"=V.ss * V.a / 100000",ch2:"=V.ch / 2",ch4:"=V.ch / 4",x3:"=V.ch + V.ch2",x4:"=V.ch + V.ch",r:V,x6:"=width - V.ch",x7:"=width - V.ch2",x5:"=V.x6 - V.ch2",b:n,y3:"=height - V.ch",y4:"=height - V.ch2",hc:y,t:0,vc:f,l:0,cd4:u,cx1:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy1:"=C(V.ch2,V.b,A(V.ch2,V.ch2,V.cd4))",cx2:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,V.cd4),true)",cy2:"=C(V.ch4,V.y4,A(V.ch4,V.ch4,V.cd4))",cd2:h,cx3:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd2),true)",cy3:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd2))",_3cd4:x,cx4:"=C(V.ch2,V.x7,A(V.ch2,V.ch2,V._3cd4),true)",cy4:"=C(V.ch2,V.t,A(V.ch2,V.ch2,V._3cd4))",cx5:"=C(V.ch2,V.x6,A(V.ch2,V.ch2,0),true)",cy5:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,0))",cx6:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,0),true)",cy6:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,0))",cx7:"=C(V.ch4,P(V.cx6,V.ch2,A(V.ch2,V.ch2,(V.cd4)),true),A(V.ch4,V.ch4,V.cd4),true)",cy7:"=C(V.ch4,P(V.cy6,V.ch2,A(V.ch2,V.ch2,(V.cd4))),A(V.ch4,V.ch4,V.cd4))",cx8:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,0),true)",cy8:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,0))",cx9:"=C(V.ch4,P(V.cx8,V.ch2,A(V.ch2,V.ch2,(V.cd4)),true),A(V.ch4,V.ch4,V.cd4),true)",cy9:"=C(V.ch4,P(V.cy8,V.ch2,A(V.ch2,V.ch2,(V.cd4))),A(V.ch4,V.ch4,V.cd4))",cx10:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,0),true)",cy10:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,0))",cx11:"=C(V.ch4,P(V.cx10,V.ch2,A(V.ch2,V.ch2,(V._3cd4)),true),A(V.ch4,V.ch4,V._3cd4),true)",cy11:"=C(V.ch4,P(V.cy10,V.ch2,A(V.ch2,V.ch2,(V._3cd4))),A(V.ch4,V.ch4,V._3cd4))",cx12:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd2),true)",cy12:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd2))",cx13:"=C(V.ch2,V.x7,A(V.ch2,V.ch2,V._3cd4),true)",cy13:"=C(V.ch2,V.t,A(V.ch2,V.ch2,V._3cd4))",cx14:"=C(V.ch2,V.x6,A(V.ch2,V.ch2,0),true)",cy14:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,0))",cx15:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy15:"=C(V.ch2,V.b,A(V.ch2,V.ch2,V.cd4))",cx16:"=C(V.ch2,V.x3,A(V.ch2,V.ch2,V._3cd4),true)",cy16:"=C(V.ch2,V.t,A(V.ch2,V.ch2,V._3cd4))",cx17:"=C(V.ch4,P(V.cx16,V.ch2,A(V.ch2,V.ch2,(V._3cd4 + V.cd2)),true),A(V.ch4,V.ch4,V.cd4),true)",cy17:"=C(V.ch4,P(V.cy16,V.ch2,A(V.ch2,V.ch2,(V._3cd4 + V.cd2))),A(V.ch4,V.ch4,V.cd4))",cx18:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,V._3cd4),true)",cy18:"=C(V.ch4,V.y3,A(V.ch4,V.ch4,V._3cd4))",cx19:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy19:"=C(V.ch2,V.b,A(V.ch2,V.ch2,V.cd4))"},adjustInfo:[["adj",12500]],connectionPoints:[{x:e,y:0},{x:"=V.ch",y:c},{x:e,y:n},{x:"=V.x6",y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:25e3,position:{x:"l",y:"ch"},point:[0,"=V.ch"]}],path:[[["M","=V.ch2",n],["E","=V.cx1","=V.cy1","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.ch2","=V.y4"],["E","=V.cx2","=V.cy2","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y3"],["L","=V.ch","=V.ch2"],["E","=V.cx3","=V.cy3","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x7",0],["E","=V.cx4","=V.cy4","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x6","=V.ch"],["L","=V.x6","=V.y4"],["E","=V.cx5","=V.cy5","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],["M","=V.x4","=V.ch2"],["E","=V.cx6","=V.cy6","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.x4","=V.ch2"],["E","=V.cx8","=V.cy8","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx9","=V.cy9","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.ch","=V.y4"],["E","=V.cx10","=V.cy10","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V._3cd4))","=IF(V._3cd4 > 0, FALSE, TRUE)"],["E","=V.cx11","=V.cy11","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V._3cd4)","=A(V.ch4,V.ch4,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.ch","=V.y3"],["L","=V.ch","=V.ch2"],["E","=V.cx12","=V.cy12","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x7",0],["E","=V.cx13","=V.cy13","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x6","=V.ch"],["L","=V.x6","=V.y4"],["E","=V.cx14","=V.cy14","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.ch2",n],["E","=V.cx15","=V.cy15","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.x3",0],["E","=V.cx16","=V.cy16","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx17","=V.cy17","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ch2"],["M","=V.x6","=V.ch"],["L","=V.x3","=V.ch"],["M","=V.ch2","=V.y3"],["E","=V.cx18","=V.cy18","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V._3cd4)","=A(V.ch4,V.ch4,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y4"],["M","=V.ch2",n],["E","=V.cx19","=V.cy19","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y3"],{fillMode:"none"}]],textRect:{left:"=V.ch",top:"=V.ch",right:"=V.x6",bottom:"=V.y4"}},horizontalScroll:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 25000)",ss:i,ch:"=V.ss * V.a / 100000",ch2:"=V.ch / 2",ch4:"=V.ch / 4",y3:"=V.ch + V.ch2",y4:"=V.ch + V.ch",b:n,y6:"=height - V.ch",y7:"=height - V.ch2",y5:"=V.y6 - V.ch2",r:V,x3:"=width - V.ch",x4:"=width - V.ch2",hc:y,l:0,vc:f,t:0,cd4:u,cx1:"=C(V.ch2,V.r,A(V.ch2,V.ch2,0),true)",cy1:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,0))",cd2:h,cx2:"=C(V.ch4,V.x4,A(V.ch4,V.ch4,0),true)",cy2:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,0))",_3cd4:x,cx3:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V._3cd4),true)",cy3:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V._3cd4))",cx4:"=C(V.ch2,V.l,A(V.ch2,V.ch2,V.cd2),true)",cy4:"=C(V.ch2,V.y7,A(V.ch2,V.ch2,V.cd2))",cx5:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,V.cd4),true)",cy5:"=C(V.ch2,V.y6,A(V.ch2,V.ch2,V.cd4))",cx6:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy6:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,V.cd4))",cx7:"=C(V.ch4,P(V.cx6,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000)),true),A(V.ch4,V.ch4,0),true)",cy7:"=C(V.ch4,P(V.cy6,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000))),A(V.ch4,V.ch4,0))",cx8:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy8:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,V.cd4))",cx9:"=C(V.ch4,P(V.cx8,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000)),true),A(V.ch4,V.ch4,0),true)",cy9:"=C(V.ch4,P(V.cy8,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000))),A(V.ch4,V.ch4,0))",cx10:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,V.cd4),true)",cy10:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd4))",cx11:"=C(V.ch4,P(V.cx10,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -16200000)),true),A(V.ch4,V.ch4,V.cd2),true)",cy11:"=C(V.ch4,P(V.cy10,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -16200000))),A(V.ch4,V.ch4,V.cd2))",cx12:"=C(V.ch2,V.l,A(V.ch2,V.ch2,V.cd2),true)",cy12:"=C(V.ch2,V.y3,A(V.ch2,V.ch2,V.cd2))",cx13:"=C(V.ch2,V.x3,A(V.ch2,V.ch2,V.cd2),true)",cy13:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd2))",cx14:"=C(V.ch2,V.r,A(V.ch2,V.ch2,0),true)",cy14:"=C(V.ch2,V.y5,A(V.ch2,V.ch2,0))",cx15:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,0),true)",cy15:"=C(V.ch2,V.y7,A(V.ch2,V.ch2,0))",cx16:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,V.cd4),true)",cy16:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd4))",cx17:"=C(V.ch4,V.x4,A(V.ch4,V.ch4,0),true)",cy17:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,0))",cx18:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,V.cd2),true)",cy18:"=C(V.ch4,V.y3,A(V.ch4,V.ch4,V.cd2))",cx19:"=C(V.ch2,P(V.cx18,V.ch4,A(V.ch4,V.ch4,(V.cd2 + V.cd2)),true),A(V.ch2,V.ch2,0),true)",cy19:"=C(V.ch2,P(V.cy18,V.ch4,A(V.ch4,V.ch4,(V.cd2 + V.cd2))),A(V.ch2,V.ch2,0))"},adjustInfo:[["adj",12500]],connectionPoints:[{x:e,y:"=V.ch"},{x:0,y:c},{x:e,y:"=V.y6"},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:25e3,position:{x:"ch",y:"t"},point:["=V.ch",0]}],path:[[["M",V,"=V.ch2"],["E","=V.cx1","=V.cy1","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ch2"],["E","=V.cx2","=V.cy2","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x3","=V.ch"],["L","=V.ch2","=V.ch"],["E","=V.cx3","=V.cy3","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",0,"=V.y7"],["E","=V.cx4","=V.cy4","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y6"],["L","=V.x4","=V.y6"],["E","=V.cx5","=V.cy5","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],["M","=V.ch2","=V.y4"],["E","=V.cx6","=V.cy6","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.ch2","=V.y4"],["E","=V.cx8","=V.cy8","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx9","=V.cy9","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M","=V.x4","=V.ch"],["E","=V.cx10","=V.cy10","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -16200000))","=IF(-16200000 > 0, FALSE, TRUE)"],["E","=V.cx11","=V.cy11","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd2)","=A(V.ch4,V.ch4,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,"=V.y3"],["E","=V.cx12","=V.cy12","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3","=V.ch"],["L","=V.x3","=V.ch2"],["E","=V.cx13","=V.cy13","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=V.y5"],["E","=V.cx14","=V.cy14","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y6"],["L","=V.ch","=V.y7"],["E","=V.cx15","=V.cy15","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.x3","=V.ch"],["L","=V.x4","=V.ch"],["E","=V.cx16","=V.cy16","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["M","=V.x4","=V.ch"],["L","=V.x4","=V.ch2"],["E","=V.cx17","=V.cy17","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["M","=V.ch2","=V.y4"],["L","=V.ch2","=V.y3"],["E","=V.cx18","=V.cy18","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd2)","=A(V.ch4,V.ch4,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx19","=V.cy19","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["M","=V.ch","=V.y3"],["L","=V.ch","=V.y6"],{fillMode:"none"}]],textRect:{left:"=V.ch",top:"=V.ch",right:"=V.x4",bottom:"=V.y6"}},wave:{variables:{adj1:12500,adj2:0,a1:"=MIN(MAX(0, V.adj1), 20000)",a2:"=MIN(MAX(-10000, V.adj2), 10000)",y1:"=height * V.a1 / 100000",dy2:"=V.y1 * 10 / 3",y2:"=V.y1 - V.dy2",y3:"=V.y1 + V.dy2",b:n,y4:"=height - V.y1",y5:"=V.y4 - V.dy2",y6:"=V.y4 + V.dy2",dx1:"=width * V.a2 / 100000",of2:"=width * V.a2 / 50000",x1:"=ABS(V.dx1)",dx2:"=IF(V.of2 > 0, 0, V.of2)",l:0,x2:"=0 - V.dx2",dx5:"=IF(V.of2 > 0, V.of2, 0)",r:V,x5:"=width - V.dx5",dx3:"=(V.dx2 + V.x5) / 3",x3:"=V.x2 + V.dx3",x4:"=(V.x3 + V.x5) / 2",x6:"=V.dx5",x10:"=width + V.dx2",x7:"=V.x6 + V.dx3",x8:"=(V.x7 + V.x10) / 2",x9:"=width - V.x1",hc:y,xAdj:"=V.hc + V.dx1",xAdj2:"=V.hc - V.dx1",il:"=MAX(V.x2, V.x6)",ir:"=MIN(V.x5, V.x10)",it:"=height * V.a1 / 50000",ib:"=height - V.it",vc:f},adjustInfo:[["adj1",12500],["adj2",0]],connectionPoints:[{x:"=V.xAdj2",y:d},{x:r,y:c},{x:"=V.xAdj",y:"=V.y4"},{x:"=V.x9",y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:2e4,position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj2",minX:-1e4,maxX:1e4,position:{x:"xAdj",y:"b"},point:["=V.xAdj",n]}],path:[[["M",s,d],["B","=V.x3",o,"=V.x4","=V.y3","=V.x5",d],["L","=V.x10","=V.y4"],["B","=V.x8","=V.y6","=V.x7","=V.y5","=V.x6","=V.y4"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},doubleWave:{variables:{adj1:6250,adj2:0,a1:"=MIN(MAX(0, V.adj1), 12500)",a2:"=MIN(MAX(-10000, V.adj2), 10000)",y1:"=height * V.a1 / 100000",dy2:"=V.y1 * 10 / 3",y2:"=V.y1 - V.dy2",y3:"=V.y1 + V.dy2",b:n,y4:"=height - V.y1",y5:"=V.y4 - V.dy2",y6:"=V.y4 + V.dy2",dx1:"=width * V.a2 / 100000",of2:"=width * V.a2 / 50000",x1:"=ABS(V.dx1)",dx2:"=IF(V.of2 > 0, 0, V.of2)",l:0,x2:"=0 - V.dx2",dx8:"=IF(V.of2 > 0, V.of2, 0)",r:V,x8:"=width - V.dx8",dx3:"=(V.dx2 + V.x8) / 6",x3:"=V.x2 + V.dx3",dx4:"=(V.dx2 + V.x8) / 3",x4:"=V.x2 + V.dx4",x5:"=(V.x2 + V.x8) / 2",x6:"=V.x5 + V.dx3",x7:"=(V.x6 + V.x8) / 2",x9:"=V.dx8",x15:"=width + V.dx2",x10:"=V.x9 + V.dx3",x11:"=V.x9 + V.dx4",x12:"=(V.x9 + V.x15) / 2",x13:"=V.x12 + V.dx3",x14:"=(V.x13 + V.x15) / 2",x16:"=width - V.x1",hc:y,xAdj:"=V.hc + V.dx1",il:"=MAX(V.x2, V.x9)",ir:"=MIN(V.x8, V.x15)",it:"=height * V.a1 / 50000",ib:"=height - V.it",vc:f},adjustInfo:[["adj1",6250],["adj2",0]],connectionPoints:[{x:"=V.x12",y:d},{x:r,y:c},{x:"=V.x5",y:"=V.y4"},{x:"=V.x16",y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:12500,position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj2",minX:-1e4,maxX:1e4,position:{x:"xAdj",y:"b"},point:["=V.xAdj",n]}],path:[[["M",s,d],["B","=V.x3",o,"=V.x4","=V.y3","=V.x5",d],["B","=V.x6",o,"=V.x7","=V.y3","=V.x8",d],["L","=V.x15","=V.y4"],["B","=V.x14","=V.y6","=V.x13","=V.y5","=V.x12","=V.y4"],["B","=V.x11","=V.y6","=V.x10","=V.y5","=V.x9","=V.y4"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},rectangularCallout:{variables:{adj1:-20833,adj2:62500,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",dx:"=V.xPos - V.hc",dy:"=V.yPos - V.vc",dq:"=V.dxPos * height / width",ady:"=ABS(V.dyPos)",adq:"=ABS(V.dq)",dz:"=V.ady - V.adq",xg1:"=IF(V.dxPos > 0, 7, 2)",xg2:"=IF(V.dxPos > 0, 10, 5)",x1:"=width * V.xg1 / 12",x2:"=width * V.xg2 / 12",yg1:"=IF(V.dyPos > 0, 7, 2)",yg2:"=IF(V.dyPos > 0, 10, 5)",y1:"=height * V.yg1 / 12",y2:"=height * V.yg2 / 12",l:0,t1:"=IF(V.dxPos > 0, V.l, V.xPos)",xl:"=IF(V.dz > 0, V.l, V.t1)",t2:"=IF(V.dyPos > 0, V.x1, V.xPos)",xt:"=IF(V.dz > 0, V.t2, V.x1)",r:V,t3:"=IF(V.dxPos > 0, V.xPos, V.r)",xr:"=IF(V.dz > 0, V.r, V.t3)",t4:"=IF(V.dyPos > 0, V.xPos, V.x1)",xb:"=IF(V.dz > 0, V.t4, V.x1)",t5:"=IF(V.dxPos > 0, V.y1, V.yPos)",yl:"=IF(V.dz > 0, V.y1, V.t5)",t:0,t6:"=IF(V.dyPos > 0, V.t, V.yPos)",yt:"=IF(V.dz > 0, V.t6, V.t)",t7:"=IF(V.dxPos > 0, V.yPos, V.y1)",yr:"=IF(V.dz > 0, V.y1, V.t7)",b:n,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)"},adjustInfo:[["adj1",-20833],["adj2",62500]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M",0,0],["L",r,0],["L","=V.xt","=V.yt"],["L",s,0],["L",V,0],["L",V,d],["L","=V.xr","=V.yr"],["L",V,o],["L",V,n],["L",s,n],["L","=V.xb","=V.yb"],["L",r,n],["L",0,n],["L",0,o],["L","=V.xl","=V.yl"],["L",0,d],["Z"],{}]]},roundedRectangularCallout:{variables:{adj1:-20833,adj2:62500,adj3:16667,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",dq:"=V.dxPos * height / width",ady:"=ABS(V.dyPos)",adq:"=ABS(V.dq)",dz:"=V.ady - V.adq",xg1:"=IF(V.dxPos > 0, 7, 2)",xg2:"=IF(V.dxPos > 0, 10, 5)",x1:"=width * V.xg1 / 12",x2:"=width * V.xg2 / 12",yg1:"=IF(V.dyPos > 0, 7, 2)",yg2:"=IF(V.dyPos > 0, 10, 5)",y1:"=height * V.yg1 / 12",y2:"=height * V.yg2 / 12",l:0,t1:"=IF(V.dxPos > 0, V.l, V.xPos)",xl:"=IF(V.dz > 0, V.l, V.t1)",t2:"=IF(V.dyPos > 0, V.x1, V.xPos)",xt:"=IF(V.dz > 0, V.t2, V.x1)",r:V,t3:"=IF(V.dxPos > 0, V.xPos, V.r)",xr:"=IF(V.dz > 0, V.r, V.t3)",t4:"=IF(V.dyPos > 0, V.xPos, V.x1)",xb:"=IF(V.dz > 0, V.t4, V.x1)",t5:"=IF(V.dxPos > 0, V.y1, V.yPos)",yl:"=IF(V.dz > 0, V.y1, V.t5)",t:0,t6:"=IF(V.dyPos > 0, V.t, V.yPos)",yt:"=IF(V.dz > 0, V.t6, V.t)",t7:"=IF(V.dxPos > 0, V.yPos, V.y1)",yr:"=IF(V.dz > 0, V.y1, V.t7)",b:n,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)",ss:i,u1:"=V.ss * V.adj3 / 100000",u2:"=width - V.u1",v2:"=height - V.u1",il:"=V.u1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",cd2:h,cd4:u,cx1:"=C(V.u1,V.l,A(V.u1,V.u1,V.cd2),true)",cy1:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd2))",_3cd4:x,cx2:"=C(V.u1,V.u2,A(V.u1,V.u1,V._3cd4),true)",cy2:"=C(V.u1,V.t,A(V.u1,V.u1,V._3cd4))",cx3:"=C(V.u1,V.r,A(V.u1,V.u1,0),true)",cy3:"=C(V.u1,V.v2,A(V.u1,V.u1,0))",cx4:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd4),true)",cy4:"=C(V.u1,V.b,A(V.u1,V.u1,V.cd4))"},adjustInfo:[["adj1",-20833],["adj2",62500],["adj3",16667]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M",0,"=V.u1"],["E","=V.cx1","=V.cy1","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd2)","=A(V.u1,V.u1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",r,0],["L","=V.xt","=V.yt"],["L",s,0],["L","=V.u2",0],["E","=V.cx2","=V.cy2","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V._3cd4)","=A(V.u1,V.u1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["L","=V.xr","=V.yr"],["L",V,o],["L",V,"=V.v2"],["E","=V.cx3","=V.cy3","=V.u1","=V.u1",0,"=A(V.u1,V.u1,0)","=A(V.u1,V.u1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,n],["L","=V.xb","=V.yb"],["L",r,n],["L","=V.u1",n],["E","=V.cx4","=V.cy4","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd4)","=A(V.u1,V.u1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,o],["L","=V.xl","=V.yl"],["L",0,d],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},ovalCallout:{variables:{adj1:-20833,adj2:62500,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",sdx:"=V.dxPos * height",sdy:"=V.dyPos * width",d2r:a,pang:"=(ATAN2(V.sdx,V.sdy) * V.d2r)",stAng:"=V.pang + 660000",enAng:"=V.pang - 660000",wd2:y,dx1:"=V.wd2 * COS(V.stAng / V.d2r)",hd2:f,dy1:"=V.hd2 * SIN(V.stAng / V.d2r)",x1:"=V.hc + V.dx1",y1:"=V.vc + V.dy1",dx2:"=V.wd2 * COS(V.enAng / V.d2r)",dy2:"=V.hd2 * SIN(V.enAng / V.d2r)",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",stAng1:"=(ATAN2(V.dx1,V.dy1) * V.d2r)",enAng1:"=(ATAN2(V.dx2,V.dy2) * V.d2r)",swAng1:"=V.enAng1 - V.stAng1",swAng2:"=V.swAng1 + 21600000",swAng:"=IF(V.swAng1 > 0, V.swAng1, V.swAng2)",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,b:n,r:V,cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng1),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng1))"},adjustInfo:[["adj1",-20833],["adj2",62500]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:c},{x:"=V.ir",y:"=V.it"},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M","=V.xPos","=V.yPos"],["L",r,d],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng1)","=A(V.wd2,V.hd2,(V.stAng1 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},cloudCallout:{variables:{adj1:-20833,adj2:62500,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",hd2:f,ht:"=V.hd2 * COS(ATAN2(V.dxPos,V.dyPos))",wd2:y,wt:"=V.wd2 * SIN(ATAN2(V.dxPos,V.dyPos))",g2:"=V.wd2 * COS(ATAN2(V.ht,V.wt))",g3:"=V.hd2 * SIN(ATAN2(V.ht,V.wt))",g4:"=V.hc + V.g2",g5:"=V.vc + V.g3",g6:"=V.g4 - V.xPos",g7:"=V.g5 - V.yPos",g8:"=SQRT(V.g6*V.g6 + V.g7*V.g7)",ss:i,g9:"=V.ss * 6600 / 21600",g10:"=V.g8 - V.g9",g11:"=V.g10 / 3",g12:"=V.ss * 1800 / 21600",g13:"=V.g11 + V.g12",g14:"=V.g13 * V.g6 / V.g8",g15:"=V.g13 * V.g7 / V.g8",g16:"=V.g14 + V.xPos",g17:"=V.g15 + V.yPos",g18:"=V.ss * 4800 / 21600",g19:"=V.g11 * 2",g20:"=V.g18 + V.g19",g21:"=V.g20 * V.g6 / V.g8",g22:"=V.g20 * V.g7 / V.g8",g23:"=V.g21 + V.xPos",g24:"=V.g22 + V.yPos",g25:"=V.ss * 1200 / 21600",g26:"=V.ss * 600 / 21600",x23:"=V.xPos + V.g26",x24:"=V.g16 + V.g25",x25:"=V.g23 + V.g12",il:"=width * 2977 / 21600",it:"=height * 3262 / 21600",ir:"=width * 17087 / 21600",ib:"=height * 17337 / 21600",g27:"=width * 67 / 21600",g28:"=height * 21577 / 21600",g29:"=width * 21582 / 21600",g30:"=height * 1235 / 21600",d2r:a,pang:"=(ATAN2(V.dxPos,V.dyPos) * V.d2r)",_scaleX1:"= width / 43200",_scaleY1:"= height / 43200",cx1:"=C(6753,3900,A(6753,9190,-11429249),true)",cy1:"=C(9190,14370,A(6753,9190,-11429249))",cx2:"=C(5333,P(V.cx1,6753,A(6753,9190,(-11429249 + 7426832)),true),A(5333,7267,-8646143),true)",cy2:"=C(7267,P(V.cy1,9190,A(6753,9190,(-11429249 + 7426832))),A(5333,7267,-8646143))",cx3:"=C(4365,P(V.cx2,5333,A(5333,7267,(-8646143 + 5396714)),true),A(4365,5945,-8748475),true)",cy3:"=C(5945,P(V.cy2,7267,A(5333,7267,(-8646143 + 5396714))),A(4365,5945,-8748475))",cx4:"=C(4857,P(V.cx3,4365,A(4365,5945,(-8748475 + 5983381)),true),A(4857,6595,-7859164),true)",cy4:"=C(6595,P(V.cy3,5945,A(4365,5945,(-8748475 + 5983381))),A(4857,6595,-7859164))",cx5:"=C(5333,P(V.cx4,4857,A(4857,6595,(-7859164 + 7034504)),true),A(5333,7273,-4722533),true)",cy5:"=C(7273,P(V.cy4,6595,A(4857,6595,(-7859164 + 7034504))),A(5333,7273,-4722533))",cx6:"=C(6775,P(V.cx5,5333,A(5333,7273,(-4722533 + 6541615)),true),A(6775,9220,-2776035),true)",cy6:"=C(9220,P(V.cy5,7273,A(5333,7273,(-4722533 + 6541615))),A(6775,9220,-2776035))",cx7:"=C(5785,P(V.cx6,6775,A(6775,9220,(-2776035 + 7816140)),true),A(5785,7867,37501),true)",cy7:"=C(7867,P(V.cy6,9220,A(6775,9220,(-2776035 + 7816140))),A(5785,7867,37501))",cx8:"=C(6752,P(V.cx7,5785,A(5785,7867,(37501 + 6842000)),true),A(6752,9215,1347096),true)",cy8:"=C(9215,P(V.cy7,7867,A(5785,7867,(37501 + 6842000))),A(6752,9215,1347096))",cx9:"=C(7720,P(V.cx8,6752,A(6752,9215,(1347096 + 6910353)),true),A(7720,10543,3974558),true)",cy9:"=C(10543,P(V.cy8,9215,A(6752,9215,(1347096 + 6910353))),A(7720,10543,3974558))",cx10:"=C(4360,P(V.cx9,7720,A(7720,10543,(3974558 + 4542661)),true),A(4360,5918,-16496525),true)",cy10:"=C(5918,P(V.cy9,10543,A(7720,10543,(3974558 + 4542661))),A(4360,5918,-16496525))",cx11:"=C(4345,P(V.cx10,4360,A(4360,5918,(-16496525 + 8804134)),true),A(4345,5945,-14809710),true)",cy11:"=C(5945,P(V.cy10,5918,A(4360,5918,(-16496525 + 8804134))),A(4345,5945,-14809710))",cx12:"=C(V.g26,V.x23,A(V.g26,V.g26,0),true)",cy12:"=C(V.g26,V.yPos,A(V.g26,V.g26,0))",cx13:"=C(V.g25,V.x24,A(V.g25,V.g25,0),true)",cy13:"=C(V.g25,V.g17,A(V.g25,V.g25,0))",cx14:"=C(V.g12,V.x25,A(V.g12,V.g12,0),true)",cy14:"=C(V.g12,V.g24,A(V.g12,V.g12,0))",_scaleX2:"= width / 43200",_scaleY2:"= height / 43200",cx15:"=C(4345,4693,A(4345,5945,5204520),true)",cy15:"=C(5945,26177,A(4345,5945,5204520))",cx16:"=C(4360,6928,A(4360,5918,4416628),true)",cy16:"=C(5918,34899,A(4360,5918,4416628))",cx17:"=C(6752,16478,A(6752,9215,8257449),true)",cy17:"=C(9215,39090,A(6752,9215,8257449))",cx18:"=C(6752,28827,A(6752,9215,387196),true)",cy18:"=C(9215,34751,A(6752,9215,387196))",cx19:"=C(5785,34129,A(5785,7867,-4217541),true)",cy19:"=C(7867,22954,A(5785,7867,-4217541))",cx20:"=C(5333,41798,A(5333,7273,1819082),true)",cy20:"=C(7273,15354,A(5333,7273,1819082))",cx21:"=C(4857,38324,A(4857,6595,-824660),true)",cy21:"=C(6595,5426,A(4857,6595,-824660))",cx22:"=C(4857,29078,A(4857,6595,-8950887),true)",cy22:"=C(6595,3952,A(4857,6595,-8950887))",cx23:"=C(4365,22141,A(4365,5945,-9809656),true)",cy23:"=C(5945,4720,A(4365,5945,-9809656))",cx24:"=C(6753,14000,A(6753,9190,-4002417),true)",cy24:"=C(9190,5192,A(6753,9190,-4002417))",cx25:"=C(6753,4127,A(6753,9190,9459261),true)",cy25:"=C(9190,15789,A(6753,9190,9459261))"},adjustInfo:[["adj1",-20833],["adj2",62500]],connectionPoints:[{x:"=V.g27",y:c},{x:e,y:"=V.g28"},{x:"=V.g29",y:c},{x:e,y:"=V.g30"},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M","=3900 * V._scaleX1","=14370 * V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=6753 * V._scaleX1","=9190 * V._scaleY1",0,"=A(6753,9190,-11429249)","=A(6753,9190,(-11429249 + 7426832))","=IF(7426832 > 0, FALSE, TRUE)"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=5333 * V._scaleX1","=7267 * V._scaleY1",0,"=A(5333,7267,-8646143)","=A(5333,7267,(-8646143 + 5396714))","=IF(5396714 > 0, FALSE, TRUE)"],["E","=V.cx3 * V._scaleX1","=V.cy3 * V._scaleY1","=4365 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4365,5945,-8748475)","=A(4365,5945,(-8748475 + 5983381))","=IF(5983381 > 0, FALSE, TRUE)"],["E","=V.cx4 * V._scaleX1","=V.cy4 * V._scaleY1","=4857 * V._scaleX1","=6595 * V._scaleY1",0,"=A(4857,6595,-7859164)","=A(4857,6595,(-7859164 + 7034504))","=IF(7034504 > 0, FALSE, TRUE)"],["E","=V.cx5 * V._scaleX1","=V.cy5 * V._scaleY1","=5333 * V._scaleX1","=7273 * V._scaleY1",0,"=A(5333,7273,-4722533)","=A(5333,7273,(-4722533 + 6541615))","=IF(6541615 > 0, FALSE, TRUE)"],["E","=V.cx6 * V._scaleX1","=V.cy6 * V._scaleY1","=6775 * V._scaleX1","=9220 * V._scaleY1",0,"=A(6775,9220,-2776035)","=A(6775,9220,(-2776035 + 7816140))","=IF(7816140 > 0, FALSE, TRUE)"],["E","=V.cx7 * V._scaleX1","=V.cy7 * V._scaleY1","=5785 * V._scaleX1","=7867 * V._scaleY1",0,"=A(5785,7867,37501)","=A(5785,7867,(37501 + 6842000))","=IF(6842000 > 0, FALSE, TRUE)"],["E","=V.cx8 * V._scaleX1","=V.cy8 * V._scaleY1","=6752 * V._scaleX1","=9215 * V._scaleY1",0,"=A(6752,9215,1347096)","=A(6752,9215,(1347096 + 6910353))","=IF(6910353 > 0, FALSE, TRUE)"],["E","=V.cx9 * V._scaleX1","=V.cy9 * V._scaleY1","=7720 * V._scaleX1","=10543 * V._scaleY1",0,"=A(7720,10543,3974558)","=A(7720,10543,(3974558 + 4542661))","=IF(4542661 > 0, FALSE, TRUE)"],["E","=V.cx10 * V._scaleX1","=V.cy10 * V._scaleY1","=4360 * V._scaleX1","=5918 * V._scaleY1",0,"=A(4360,5918,-16496525)","=A(4360,5918,(-16496525 + 8804134))","=IF(8804134 > 0, FALSE, TRUE)"],["E","=V.cx11 * V._scaleX1","=V.cy11 * V._scaleY1","=4345 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4345,5945,-14809710)","=A(4345,5945,(-14809710 + 9151131))","=IF(9151131 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=V.x23","=V.yPos"],["E","=V.cx12","=V.cy12","=V.g26","=V.g26",0,"=A(V.g26,V.g26,0)","=(A(V.g26,V.g26,0)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=V.x24","=V.g17"],["E","=V.cx13","=V.cy13","=V.g25","=V.g25",0,"=A(V.g25,V.g25,0)","=(A(V.g25,V.g25,0)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=V.x25","=V.g24"],["E","=V.cx14","=V.cy14","=V.g12","=V.g12",0,"=A(V.g12,V.g12,0)","=(A(V.g12,V.g12,0)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=4693 * V._scaleX2","=26177 * V._scaleY2"],["E","=V.cx15 * V._scaleX2","=V.cy15 * V._scaleY2","=4345 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4345,5945,5204520)","=A(4345,5945,(5204520 + 1585770))","=IF(1585770 > 0, FALSE, TRUE)"],["M","=6928 * V._scaleX2","=34899 * V._scaleY2"],["E","=V.cx16 * V._scaleX2","=V.cy16 * V._scaleY2","=4360 * V._scaleX2","=5918 * V._scaleY2",0,"=A(4360,5918,4416628)","=A(4360,5918,(4416628 + 686848))","=IF(686848 > 0, FALSE, TRUE)"],["M","=16478 * V._scaleX2","=39090 * V._scaleY2"],["E","=V.cx17 * V._scaleX2","=V.cy17 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,8257449)","=A(6752,9215,(8257449 + 844866))","=IF(844866 > 0, FALSE, TRUE)"],["M","=28827 * V._scaleX2","=34751 * V._scaleY2"],["E","=V.cx18 * V._scaleX2","=V.cy18 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,387196)","=A(6752,9215,(387196 + 959901))","=IF(959901 > 0, FALSE, TRUE)"],["M","=34129 * V._scaleX2","=22954 * V._scaleY2"],["E","=V.cx19 * V._scaleX2","=V.cy19 * V._scaleY2","=5785 * V._scaleX2","=7867 * V._scaleY2",0,"=A(5785,7867,-4217541)","=A(5785,7867,(-4217541 + 4255042))","=IF(4255042 > 0, FALSE, TRUE)"],["M","=41798 * V._scaleX2","=15354 * V._scaleY2"],["E","=V.cx20 * V._scaleX2","=V.cy20 * V._scaleY2","=5333 * V._scaleX2","=7273 * V._scaleY2",0,"=A(5333,7273,1819082)","=A(5333,7273,(1819082 + 1665090))","=IF(1665090 > 0, FALSE, TRUE)"],["M","=38324 * V._scaleX2","=5426 * V._scaleY2"],["E","=V.cx21 * V._scaleX2","=V.cy21 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-824660)","=A(4857,6595,(-824660 + 891534))","=IF(891534 > 0, FALSE, TRUE)"],["M","=29078 * V._scaleX2","=3952 * V._scaleY2"],["E","=V.cx22 * V._scaleX2","=V.cy22 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-8950887)","=A(4857,6595,(-8950887 + 1091722))","=IF(1091722 > 0, FALSE, TRUE)"],["M","=22141 * V._scaleX2","=4720 * V._scaleY2"],["E","=V.cx23 * V._scaleX2","=V.cy23 * V._scaleY2","=4365 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4365,5945,-9809656)","=A(4365,5945,(-9809656 + 1061181))","=IF(1061181 > 0, FALSE, TRUE)"],["M","=14000 * V._scaleX2","=5192 * V._scaleY2"],["E","=V.cx24 * V._scaleX2","=V.cy24 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,-4002417)","=A(6753,9190,(-4002417 + 739161))","=IF(739161 > 0, FALSE, TRUE)"],["M","=4127 * V._scaleX2","=15789 * V._scaleY2"],["E","=V.cx25 * V._scaleX2","=V.cy25 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,9459261)","=A(6753,9190,(9459261 + 711490))","=IF(711490 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},lineCallout1:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,d],["L",s,o],{fillMode:"none",strokeCompound:"line"}]]},lineCallout2:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,d],["L",s,o],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout1AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,d],["L",s,o],{fillMode:"none",strokeCompound:"line"}]]},lineCallout2AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,0],["Z"],["L",r,n],{fillMode:"none",strokeCompound:"simple"}],[["M",r,d],["L",s,o],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,0],["Z"],["L",r,n],{fillMode:"none",strokeCompound:"simple"}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,0],["Z"],["L",r,n],{fillMode:"none",strokeCompound:"simple"}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout1NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,d],["L",s,o],{fillMode:"none"}]]},lineCallout2NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,d],["L",s,o],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{strokeCompound:"line",fillMode:"none"}]]},lineCallout1BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,d],["L",s,o],{fillMode:"none"}]]},lineCallout2BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,0],["Z"],["L",r,n],{fillMode:"none",strokeCompound:"simple"}],[["M",r,d],["L",s,o],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,0],["Z"],["L",r,n],{fillMode:"none",strokeCompound:"simple"}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,o]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",r,0],["Z"],["L",r,n],{fillMode:"none",strokeCompound:"simple"}],[["M",r,d],["L",s,o],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{fillMode:"none",strokeCompound:"line"}]]},actionButtonCustom:{variables:{r:V,vc:f,hc:y,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]]},actionButtonHome:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 16",g15:"=V.g13 / 8",g16:"=V.g13 * 3 / 16",g17:"=V.g13 * 5 / 16",g18:"=V.g13 * 7 / 16",g19:"=V.g13 * 9 / 16",g20:"=V.g13 * 11 / 16",g21:"=V.g13 * 3 / 4",g22:"=V.g13 * 13 / 16",g23:"=V.g13 * 7 / 8",g24:"=V.g9 + V.g14",g25:"=V.g9 + V.g16",g26:"=V.g9 + V.g17",g27:"=V.g9 + V.g21",g28:"=V.g11 + V.g15",g29:"=V.g11 + V.g18",g30:"=V.g11 + V.g19",g31:"=V.g11 + V.g20",g32:"=V.g11 + V.g22",g33:"=V.g11 + V.g23",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",e,"=V.g9"],["L","=V.g11",c],["L","=V.g28",c],["L","=V.g28","=V.g10"],["L","=V.g33","=V.g10"],["L","=V.g33",c],["L","=V.g12",c],["L","=V.g32","=V.g26"],["L","=V.g32","=V.g24"],["L","=V.g31","=V.g24"],["L","=V.g31","=V.g25"],["Z"],{strokeMode:"false"}],[["M","=V.g32","=V.g26"],["L","=V.g32","=V.g24"],["L","=V.g31","=V.g24"],["L","=V.g31","=V.g25"],["Z"],["M","=V.g28",c],["L","=V.g28","=V.g10"],["L","=V.g29","=V.g10"],["L","=V.g29","=V.g27"],["L","=V.g30","=V.g27"],["L","=V.g30","=V.g10"],["L","=V.g33","=V.g10"],["L","=V.g33",c],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",e,"=V.g9"],["L","=V.g11",c],["L","=V.g12",c],["Z"],["M","=V.g29","=V.g27"],["L","=V.g30","=V.g27"],["L","=V.g30","=V.g10"],["L","=V.g29","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M",e,"=V.g9"],["L","=V.g31","=V.g25"],["L","=V.g31","=V.g24"],["L","=V.g32","=V.g24"],["L","=V.g32","=V.g26"],["L","=V.g12",c],["L","=V.g33",c],["L","=V.g33","=V.g10"],["L","=V.g28","=V.g10"],["L","=V.g28",c],["L","=V.g11",c],["Z"],["M","=V.g31","=V.g25"],["L","=V.g32","=V.g26"],["M","=V.g33",c],["L","=V.g28",c],["M","=V.g29","=V.g10"],["L","=V.g29","=V.g27"],["L","=V.g30","=V.g27"],["L","=V.g30","=V.g10"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonHelp:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",hc:y,g11:"=V.hc - V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 7",g15:"=V.g13 * 3 / 14",g16:"=V.g13 * 2 / 7",g19:"=V.g13 * 3 / 7",g20:"=V.g13 * 4 / 7",g21:"=V.g13 * 17 / 28",g23:"=V.g13 * 21 / 28",g24:"=V.g13 * 11 / 14",g27:"=V.g9 + V.g16",g29:"=V.g9 + V.g21",g30:"=V.g9 + V.g23",g31:"=V.g9 + V.g24",g33:"=V.g11 + V.g15",g36:"=V.g11 + V.g19",g37:"=V.g11 + V.g20",g41:"=V.g13 / 14",g42:"=V.g13 * 3 / 28",r:V,b:n,l:0,t:0,cd2:h,cx1:"=C(V.g16,V.g33,A(V.g16,V.g16,V.cd2),true)",cy1:"=C(V.g16,V.g27,A(V.g16,V.g16,V.cd2))",cd4:u,cx2:"=C(V.g14,P(V.cx1,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2)),true),A(V.g14,V.g15,0),true)",cy2:"=C(V.g15,P(V.cy1,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2))),A(V.g14,V.g15,0))",_3cd4:x,cx3:"=C(V.g41,P(V.cx2,V.g14,A(V.g14,V.g15,(V.cd4)),true),A(V.g41,V.g42,V._3cd4),true)",cy3:"=C(V.g42,P(V.cy2,V.g15,A(V.g14,V.g15,(V.cd4))),A(V.g41,V.g42,V._3cd4))",cx4:"=C(V.g14,V.g36,A(V.g14,V.g15,V.cd2),true)",cy4:"=C(V.g15,V.g29,A(V.g14,V.g15,V.cd2))",cx5:"=C(V.g41,P(V.cx4,V.g14,A(V.g14,V.g15,(V.cd2 + V.cd4)),true),A(V.g41,V.g42,V.cd4),true)",cy5:"=C(V.g42,P(V.cy4,V.g15,A(V.g14,V.g15,(V.cd2 + V.cd4))),A(V.g41,V.g42,V.cd4))",cx6:"=C(V.g14,P(V.cx5,V.g41,A(V.g41,V.g42,(V.cd4 + -5400000)),true),A(V.g14,V.g14,0),true)",cy6:"=C(V.g14,P(V.cy5,V.g42,A(V.g41,V.g42,(V.cd4 + -5400000))),A(V.g14,V.g14,0))",cx7:"=C(V.g42,V.hc,A(V.g42,V.g42,V._3cd4),true)",cy7:"=C(V.g42,V.g31,A(V.g42,V.g42,V._3cd4))",cx8:"=C(V.g16,V.g33,A(V.g16,V.g16,V.cd2),true)",cy8:"=C(V.g16,V.g27,A(V.g16,V.g16,V.cd2))",cx9:"=C(V.g14,P(V.cx8,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2)),true),A(V.g14,V.g15,0),true)",cy9:"=C(V.g15,P(V.cy8,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2))),A(V.g14,V.g15,0))",cx10:"=C(V.g41,P(V.cx9,V.g14,A(V.g14,V.g15,(V.cd4)),true),A(V.g41,V.g42,V._3cd4),true)",cy10:"=C(V.g42,P(V.cy9,V.g15,A(V.g14,V.g15,(V.cd4))),A(V.g41,V.g42,V._3cd4))",cx11:"=C(V.g14,V.g36,A(V.g14,V.g15,V.cd2),true)",cy11:"=C(V.g15,V.g29,A(V.g14,V.g15,V.cd2))",cx12:"=C(V.g41,P(V.cx11,V.g14,A(V.g14,V.g15,(V.cd2 + V.cd4)),true),A(V.g41,V.g42,V.cd4),true)",cy12:"=C(V.g42,P(V.cy11,V.g15,A(V.g14,V.g15,(V.cd2 + V.cd4))),A(V.g41,V.g42,V.cd4))",cx13:"=C(V.g14,P(V.cx12,V.g41,A(V.g41,V.g42,(V.cd4 + -5400000)),true),A(V.g14,V.g14,0),true)",cy13:"=C(V.g14,P(V.cy12,V.g42,A(V.g41,V.g42,(V.cd4 + -5400000))),A(V.g14,V.g14,0))",cx14:"=C(V.g42,V.hc,A(V.g42,V.g42,V._3cd4),true)",cy14:"=C(V.g42,V.g31,A(V.g42,V.g42,V._3cd4))",cx15:"=C(V.g16,V.g33,A(V.g16,V.g16,V.cd2),true)",cy15:"=C(V.g16,V.g27,A(V.g16,V.g16,V.cd2))",cx16:"=C(V.g14,P(V.cx15,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2)),true),A(V.g14,V.g15,0),true)",cy16:"=C(V.g15,P(V.cy15,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2))),A(V.g14,V.g15,0))",cx17:"=C(V.g41,P(V.cx16,V.g14,A(V.g14,V.g15,(V.cd4)),true),A(V.g41,V.g42,V._3cd4),true)",cy17:"=C(V.g42,P(V.cy16,V.g15,A(V.g14,V.g15,(V.cd4))),A(V.g41,V.g42,V._3cd4))",cx18:"=C(V.g14,V.g36,A(V.g14,V.g15,V.cd2),true)",cy18:"=C(V.g15,V.g29,A(V.g14,V.g15,V.cd2))",cx19:"=C(V.g41,P(V.cx18,V.g14,A(V.g14,V.g15,(V.cd2 + V.cd4)),true),A(V.g41,V.g42,V.cd4),true)",cy19:"=C(V.g42,P(V.cy18,V.g15,A(V.g14,V.g15,(V.cd2 + V.cd4))),A(V.g41,V.g42,V.cd4))",cx20:"=C(V.g14,P(V.cx19,V.g41,A(V.g41,V.g42,(V.cd4 + -5400000)),true),A(V.g14,V.g14,0),true)",cy20:"=C(V.g14,P(V.cy19,V.g42,A(V.g41,V.g42,(V.cd4 + -5400000))),A(V.g14,V.g14,0))",cx21:"=C(V.g42,V.hc,A(V.g42,V.g42,V._3cd4),true)",cy21:"=C(V.g42,V.g31,A(V.g42,V.g42,V._3cd4))"},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g33","=V.g27"],["E","=V.cx1","=V.cy1","=V.g16","=V.g16",0,"=A(V.g16,V.g16,V.cd2)","=A(V.g16,V.g16,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.g14","=V.g15",0,"=A(V.g14,V.g15,0)","=A(V.g14,V.g15,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V._3cd4)","=A(V.g41,V.g42,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g37","=V.g30"],["L","=V.g36","=V.g30"],["L","=V.g36","=V.g29"],["E","=V.cx4","=V.cy4","=V.g14","=V.g15",0,"=A(V.g14,V.g15,V.cd2)","=A(V.g14,V.g15,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx5","=V.cy5","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V.cd4)","=A(V.g41,V.g42,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.g14","=V.g14",0,"=A(V.g14,V.g14,0)","=A(V.g14,V.g14,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g31"],["E","=V.cx7","=V.cy7","=V.g42","=V.g42",0,"=A(V.g42,V.g42,V._3cd4)","=(A(V.g42,V.g42,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.g33","=V.g27"],["E","=V.cx8","=V.cy8","=V.g16","=V.g16",0,"=A(V.g16,V.g16,V.cd2)","=A(V.g16,V.g16,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx9","=V.cy9","=V.g14","=V.g15",0,"=A(V.g14,V.g15,0)","=A(V.g14,V.g15,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx10","=V.cy10","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V._3cd4)","=A(V.g41,V.g42,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g37","=V.g30"],["L","=V.g36","=V.g30"],["L","=V.g36","=V.g29"],["E","=V.cx11","=V.cy11","=V.g14","=V.g15",0,"=A(V.g14,V.g15,V.cd2)","=A(V.g14,V.g15,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx12","=V.cy12","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V.cd4)","=A(V.g41,V.g42,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx13","=V.cy13","=V.g14","=V.g14",0,"=A(V.g14,V.g14,0)","=A(V.g14,V.g14,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g31"],["E","=V.cx14","=V.cy14","=V.g42","=V.g42",0,"=A(V.g42,V.g42,V._3cd4)","=(A(V.g42,V.g42,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g33","=V.g27"],["E","=V.cx15","=V.cy15","=V.g16","=V.g16",0,"=A(V.g16,V.g16,V.cd2)","=A(V.g16,V.g16,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx16","=V.cy16","=V.g14","=V.g15",0,"=A(V.g14,V.g15,0)","=A(V.g14,V.g15,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx17","=V.cy17","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V._3cd4)","=A(V.g41,V.g42,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g37","=V.g30"],["L","=V.g36","=V.g30"],["L","=V.g36","=V.g29"],["E","=V.cx18","=V.cy18","=V.g14","=V.g15",0,"=A(V.g14,V.g15,V.cd2)","=A(V.g14,V.g15,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx19","=V.cy19","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V.cd4)","=A(V.g41,V.g42,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx20","=V.cy20","=V.g14","=V.g14",0,"=A(V.g14,V.g14,0)","=A(V.g14,V.g14,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g31"],["E","=V.cx21","=V.cy21","=V.g42","=V.g42",0,"=A(V.g42,V.g42,V._3cd4)","=(A(V.g42,V.g42,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonInformation:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",hc:y,g11:"=V.hc - V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 32",g17:"=V.g13 * 5 / 16",g18:"=V.g13 * 3 / 8",g19:"=V.g13 * 13 / 32",g20:"=V.g13 * 19 / 32",g22:"=V.g13 * 11 / 16",g23:"=V.g13 * 13 / 16",g24:"=V.g13 * 7 / 8",g25:"=V.g9 + V.g14",g28:"=V.g9 + V.g17",g29:"=V.g9 + V.g18",g30:"=V.g9 + V.g23",g31:"=V.g9 + V.g24",g32:"=V.g11 + V.g17",g34:"=V.g11 + V.g19",g35:"=V.g11 + V.g20",g37:"=V.g11 + V.g22",g38:"=V.g13 * 3 / 32",r:V,b:n,l:0,t:0,_3cd4:x,cx1:"=C(V.dx2,V.hc,A(V.dx2,V.dx2,V._3cd4),true)",cy1:"=C(V.dx2,V.g9,A(V.dx2,V.dx2,V._3cd4))",cx2:"=C(V.dx2,V.hc,A(V.dx2,V.dx2,V._3cd4),true)",cy2:"=C(V.dx2,V.g9,A(V.dx2,V.dx2,V._3cd4))",cx3:"=C(V.g38,V.hc,A(V.g38,V.g38,V._3cd4),true)",cy3:"=C(V.g38,V.g25,A(V.g38,V.g38,V._3cd4))",cx4:"=C(V.g38,V.hc,A(V.g38,V.g38,V._3cd4),true)",cy4:"=C(V.g38,V.g25,A(V.g38,V.g38,V._3cd4))",cx5:"=C(V.dx2,V.hc,A(V.dx2,V.dx2,V._3cd4),true)",cy5:"=C(V.dx2,V.g9,A(V.dx2,V.dx2,V._3cd4))",cx6:"=C(V.g38,V.hc,A(V.g38,V.g38,V._3cd4),true)",cy6:"=C(V.g38,V.g25,A(V.g38,V.g38,V._3cd4))"},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",e,"=V.g9"],["E","=V.cx1","=V.cy1","=V.dx2","=V.dx2",0,"=A(V.dx2,V.dx2,V._3cd4)","=(A(V.dx2,V.dx2,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",e,"=V.g9"],["E","=V.cx2","=V.cy2","=V.dx2","=V.dx2",0,"=A(V.dx2,V.dx2,V._3cd4)","=(A(V.dx2,V.dx2,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g25"],["E","=V.cx3","=V.cy3","=V.g38","=V.g38",0,"=A(V.g38,V.g38,V._3cd4)","=(A(V.g38,V.g38,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.g32","=V.g28"],["L","=V.g32","=V.g29"],["L","=V.g34","=V.g29"],["L","=V.g34","=V.g30"],["L","=V.g32","=V.g30"],["L","=V.g32","=V.g31"],["L","=V.g37","=V.g31"],["L","=V.g37","=V.g30"],["L","=V.g35","=V.g30"],["L","=V.g35","=V.g28"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M",e,"=V.g25"],["E","=V.cx4","=V.cy4","=V.g38","=V.g38",0,"=A(V.g38,V.g38,V._3cd4)","=(A(V.g38,V.g38,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.g32","=V.g28"],["L","=V.g35","=V.g28"],["L","=V.g35","=V.g30"],["L","=V.g37","=V.g30"],["L","=V.g37","=V.g31"],["L","=V.g32","=V.g31"],["L","=V.g32","=V.g30"],["L","=V.g34","=V.g30"],["L","=V.g34","=V.g29"],["L","=V.g32","=V.g29"],["Z"],{fillMode:"lighten",strokeMode:"false"}],[["M",e,"=V.g9"],["E","=V.cx5","=V.cy5","=V.dx2","=V.dx2",0,"=A(V.dx2,V.dx2,V._3cd4)","=(A(V.dx2,V.dx2,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g25"],["E","=V.cx6","=V.cy6","=V.g38","=V.g38",0,"=A(V.g38,V.g38,V._3cd4)","=(A(V.g38,V.g38,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.g32","=V.g28"],["L","=V.g35","=V.g28"],["L","=V.g35","=V.g30"],["L","=V.g37","=V.g30"],["L","=V.g37","=V.g31"],["L","=V.g32","=V.g31"],["L","=V.g32","=V.g30"],["L","=V.g34","=V.g30"],["L","=V.g34","=V.g29"],["L","=V.g32","=V.g29"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonBackorPrevious:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11",c],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g11",c],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11",c],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonForwardorNext:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g12",c],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g12",c],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g12",c],["L","=V.g11","=V.g10"],["L","=V.g11","=V.g9"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonBeginning:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 8",g15:"=V.g13 / 4",g16:"=V.g11 + V.g14",g17:"=V.g11 + V.g15",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g17",c],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],["M","=V.g16","=V.g9"],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["L","=V.g16","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g17",c],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],["M","=V.g16","=V.g9"],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["L","=V.g16","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g17",c],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],["M","=V.g16","=V.g9"],["L","=V.g16","=V.g10"],["L","=V.g11","=V.g10"],["L","=V.g11","=V.g9"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonEnd:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 * 3 / 4",g15:"=V.g13 * 7 / 8",g16:"=V.g11 + V.g14",g17:"=V.g11 + V.g15",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g16",c],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],["M","=V.g17","=V.g9"],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["L","=V.g17","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g16",c],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],["M","=V.g17","=V.g9"],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["L","=V.g17","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g16",c],["L","=V.g11","=V.g10"],["L","=V.g11","=V.g9"],["Z"],["M","=V.g17","=V.g9"],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["L","=V.g17","=V.g10"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonReturn:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 * 7 / 8",g15:"=V.g13 * 3 / 4",g16:"=V.g13 * 5 / 8",g17:"=V.g13 * 3 / 8",g18:"=V.g13 / 4",g19:"=V.g9 + V.g15",g20:"=V.g9 + V.g16",g21:"=V.g9 + V.g18",g22:"=V.g11 + V.g14",g23:"=V.g11 + V.g15",g24:"=V.g11 + V.g16",g25:"=V.g11 + V.g17",g26:"=V.g11 + V.g18",g27:"=V.g13 / 8",r:V,b:n,l:0,t:0,cd4:u,cx1:"=C(V.g27,V.g24,A(V.g27,V.g27,0),true)",cy1:"=C(V.g27,V.g20,A(V.g27,V.g27,0))",cx2:"=C(V.g27,V.g25,A(V.g27,V.g27,V.cd4),true)",cy2:"=C(V.g27,V.g19,A(V.g27,V.g27,V.cd4))",cd2:h,cx3:"=C(V.g17,V.g11,A(V.g17,V.g17,V.cd2),true)",cy3:"=C(V.g17,V.g20,A(V.g17,V.g17,V.cd2))",cx4:"=C(V.g17,V.hc,A(V.g17,V.g17,V.cd4),true)",cy4:"=C(V.g17,V.g10,A(V.g17,V.g17,V.cd4))",cx5:"=C(V.g27,V.g24,A(V.g27,V.g27,0),true)",cy5:"=C(V.g27,V.g20,A(V.g27,V.g27,0))",cx6:"=C(V.g27,V.g25,A(V.g27,V.g27,V.cd4),true)",cy6:"=C(V.g27,V.g19,A(V.g27,V.g27,V.cd4))",cx7:"=C(V.g17,V.g11,A(V.g17,V.g17,V.cd2),true)",cy7:"=C(V.g17,V.g20,A(V.g17,V.g17,V.cd2))",cx8:"=C(V.g17,V.hc,A(V.g17,V.g17,V.cd4),true)",cy8:"=C(V.g17,V.g10,A(V.g17,V.g17,V.cd4))",cx9:"=C(V.g17,V.g22,A(V.g17,V.g17,0),true)",cy9:"=C(V.g17,V.g20,A(V.g17,V.g17,0))",cx10:"=C(V.g17,V.g25,A(V.g17,V.g17,V.cd4),true)",cy10:"=C(V.g17,V.g10,A(V.g17,V.g17,V.cd4))",cx11:"=C(V.g27,V.g26,A(V.g27,V.g27,V.cd2),true)",cy11:"=C(V.g27,V.g20,A(V.g27,V.g27,V.cd2))",cx12:"=C(V.g27,V.hc,A(V.g27,V.g27,V.cd4),true)",cy12:"=C(V.g27,V.g19,A(V.g27,V.g27,V.cd4))"},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g12","=V.g21"],["L","=V.g23","=V.g9"],["L",e,"=V.g21"],["L","=V.g24","=V.g21"],["L","=V.g24","=V.g20"],["E","=V.cx1","=V.cy1","=V.g27","=V.g27",0,"=A(V.g27,V.g27,0)","=A(V.g27,V.g27,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g25","=V.g19"],["E","=V.cx2","=V.cy2","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd4)","=A(V.g27,V.g27,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g26","=V.g21"],["L","=V.g11","=V.g21"],["L","=V.g11","=V.g20"],["E","=V.cx3","=V.cy3","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd2)","=A(V.g17,V.g17,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.g10"],["E","=V.cx4","=V.cy4","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd4)","=A(V.g17,V.g17,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g22","=V.g21"],["Z"],{strokeMode:"false"}],[["M","=V.g12","=V.g21"],["L","=V.g23","=V.g9"],["L",e,"=V.g21"],["L","=V.g24","=V.g21"],["L","=V.g24","=V.g20"],["E","=V.cx5","=V.cy5","=V.g27","=V.g27",0,"=A(V.g27,V.g27,0)","=A(V.g27,V.g27,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g25","=V.g19"],["E","=V.cx6","=V.cy6","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd4)","=A(V.g27,V.g27,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g26","=V.g21"],["L","=V.g11","=V.g21"],["L","=V.g11","=V.g20"],["E","=V.cx7","=V.cy7","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd2)","=A(V.g17,V.g17,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.g10"],["E","=V.cx8","=V.cy8","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd4)","=A(V.g17,V.g17,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g22","=V.g21"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g12","=V.g21"],["L","=V.g22","=V.g21"],["L","=V.g22","=V.g20"],["E","=V.cx9","=V.cy9","=V.g17","=V.g17",0,"=A(V.g17,V.g17,0)","=A(V.g17,V.g17,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g25","=V.g10"],["E","=V.cx10","=V.cy10","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd4)","=A(V.g17,V.g17,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g11","=V.g21"],["L","=V.g26","=V.g21"],["L","=V.g26","=V.g20"],["E","=V.cx11","=V.cy11","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd2)","=A(V.g27,V.g27,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.g19"],["E","=V.cx12","=V.cy12","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd4)","=A(V.g27,V.g27,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g24","=V.g21"],["L",e,"=V.g21"],["L","=V.g23","=V.g9"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonDocument:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",dx1:"=V.ss * 9 / 32",hc:y,g11:"=V.hc - V.dx1",g12:"=V.hc + V.dx1",g13:"=V.ss * 3 / 16",g14:"=V.g12 - V.g13",g15:"=V.g9 + V.g13",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11","=V.g9"],["L","=V.g14","=V.g9"],["L","=V.g12","=V.g15"],["L","=V.g12","=V.g10"],["L","=V.g11","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g11","=V.g9"],["L","=V.g14","=V.g9"],["L","=V.g14","=V.g15"],["L","=V.g12","=V.g15"],["L","=V.g12","=V.g10"],["L","=V.g11","=V.g10"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.g14","=V.g9"],["L","=V.g14","=V.g15"],["L","=V.g12","=V.g15"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11","=V.g9"],["L","=V.g14","=V.g9"],["L","=V.g12","=V.g15"],["L","=V.g12","=V.g10"],["L","=V.g11","=V.g10"],["Z"],["M","=V.g12","=V.g15"],["L","=V.g14","=V.g15"],["L","=V.g14","=V.g9"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonSound:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 8",g15:"=V.g13 * 5 / 16",g16:"=V.g13 * 5 / 8",g17:"=V.g13 * 11 / 16",g18:"=V.g13 * 3 / 4",g19:"=V.g13 * 7 / 8",g20:"=V.g9 + V.g14",g21:"=V.g9 + V.g15",g22:"=V.g9 + V.g17",g23:"=V.g9 + V.g19",g24:"=V.g11 + V.g15",g25:"=V.g11 + V.g16",g26:"=V.g11 + V.g18",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11","=V.g21"],["L","=V.g11","=V.g22"],["L","=V.g24","=V.g22"],["L","=V.g25","=V.g10"],["L","=V.g25","=V.g9"],["L","=V.g24","=V.g21"],["Z"],{strokeMode:"false"}],[["M","=V.g11","=V.g21"],["L","=V.g11","=V.g22"],["L","=V.g24","=V.g22"],["L","=V.g25","=V.g10"],["L","=V.g25","=V.g9"],["L","=V.g24","=V.g21"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11","=V.g21"],["L","=V.g24","=V.g21"],["L","=V.g25","=V.g9"],["L","=V.g25","=V.g10"],["L","=V.g24","=V.g22"],["L","=V.g11","=V.g22"],["Z"],["M","=V.g26","=V.g21"],["L","=V.g12","=V.g20"],["M","=V.g26",c],["L","=V.g12",c],["M","=V.g26","=V.g22"],["L","=V.g12","=V.g23"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonMovie:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 * 1455 / 21600",g15:"=V.g13 * 1905 / 21600",g16:"=V.g13 * 2325 / 21600",g17:"=V.g13 * 16155 / 21600",g18:"=V.g13 * 17010 / 21600",g19:"=V.g13 * 19335 / 21600",g20:"=V.g13 * 19725 / 21600",g21:"=V.g13 * 20595 / 21600",g22:"=V.g13 * 5280 / 21600",g23:"=V.g13 * 5730 / 21600",g24:"=V.g13 * 6630 / 21600",g25:"=V.g13 * 7492 / 21600",g26:"=V.g13 * 9067 / 21600",g27:"=V.g13 * 9555 / 21600",g28:"=V.g13 * 13342 / 21600",g29:"=V.g13 * 14580 / 21600",g30:"=V.g13 * 15592 / 21600",g31:"=V.g11 + V.g14",g32:"=V.g11 + V.g15",g33:"=V.g11 + V.g16",g34:"=V.g11 + V.g17",g35:"=V.g11 + V.g18",g36:"=V.g11 + V.g19",g37:"=V.g11 + V.g20",g38:"=V.g11 + V.g21",g39:"=V.g9 + V.g22",g40:"=V.g9 + V.g23",g41:"=V.g9 + V.g24",g42:"=V.g9 + V.g25",g43:"=V.g9 + V.g26",g44:"=V.g9 + V.g27",g45:"=V.g9 + V.g28",g46:"=V.g9 + V.g29",g47:"=V.g9 + V.g30",g48:"=V.g9 + V.g31",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11","=V.g39"],["L","=V.g11","=V.g44"],["L","=V.g31","=V.g44"],["L","=V.g32","=V.g43"],["L","=V.g33","=V.g43"],["L","=V.g33","=V.g47"],["L","=V.g35","=V.g47"],["L","=V.g35","=V.g45"],["L","=V.g36","=V.g45"],["L","=V.g38","=V.g46"],["L","=V.g12","=V.g46"],["L","=V.g12","=V.g41"],["L","=V.g38","=V.g41"],["L","=V.g37","=V.g42"],["L","=V.g35","=V.g42"],["L","=V.g35","=V.g41"],["L","=V.g34","=V.g40"],["L","=V.g32","=V.g40"],["L","=V.g31","=V.g39"],["Z"],{strokeMode:"false"}],[["M","=V.g11","=V.g39"],["L","=V.g11","=V.g44"],["L","=V.g31","=V.g44"],["L","=V.g32","=V.g43"],["L","=V.g33","=V.g43"],["L","=V.g33","=V.g47"],["L","=V.g35","=V.g47"],["L","=V.g35","=V.g45"],["L","=V.g36","=V.g45"],["L","=V.g38","=V.g46"],["L","=V.g12","=V.g46"],["L","=V.g12","=V.g41"],["L","=V.g38","=V.g41"],["L","=V.g37","=V.g42"],["L","=V.g35","=V.g42"],["L","=V.g35","=V.g41"],["L","=V.g34","=V.g40"],["L","=V.g32","=V.g40"],["L","=V.g31","=V.g39"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11","=V.g39"],["L","=V.g31","=V.g39"],["L","=V.g32","=V.g40"],["L","=V.g34","=V.g40"],["L","=V.g35","=V.g41"],["L","=V.g35","=V.g42"],["L","=V.g37","=V.g42"],["L","=V.g38","=V.g41"],["L","=V.g12","=V.g41"],["L","=V.g12","=V.g46"],["L","=V.g38","=V.g46"],["L","=V.g36","=V.g45"],["L","=V.g35","=V.g45"],["L","=V.g35","=V.g47"],["L","=V.g33","=V.g47"],["L","=V.g33","=V.g43"],["L","=V.g32","=V.g43"],["L","=V.g31","=V.g44"],["L","=V.g11","=V.g44"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},balloon:{variables:{adj1:-20833,adj2:62500,adj3:16667,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",dq:"=V.dxPos * height / width",ady:"=ABS(V.dyPos)",adq:"=ABS(V.dq)",dz:"=V.ady - V.adq",xg1:"=IF(V.dxPos > 0, 7, 2)",xg2:"=IF(V.dxPos > 0, 10, 5)",x1:"=width * V.xg1 / 12",x2:"=width * V.xg2 / 12",yg1:"=IF(V.dyPos > 0, 7, 2)",yg2:"=IF(V.dyPos > 0, 10, 5)",y1:"=height * V.yg1 / 12",y2:"=height * V.yg2 / 12",l:0,t1:"=IF(V.dxPos > 0, V.l, V.xPos)",xl:"=IF(V.dz > 0, V.l, V.t1)",t2:"=IF(V.dyPos > 0, V.x1, V.xPos)",xt:"=IF(V.dz > 0, V.t2, V.x1)",r:V,t3:"=IF(V.dxPos > 0, V.xPos, V.r)",xr:"=IF(V.dz > 0, V.r, V.t3)",t4:"=IF(V.dyPos > 0, V.xPos, V.x1)",xb:"=IF(V.dz > 0, V.t4, V.x1)",t5:"=IF(V.dxPos > 0, V.y1, V.yPos)",yl:"=IF(V.dz > 0, V.y1, V.t5)",t:0,t6:"=IF(V.dyPos > 0, V.t, V.yPos)",yt:"=IF(V.dz > 0, V.t6, V.t)",t7:"=IF(V.dxPos > 0, V.yPos, V.y1)",yr:"=IF(V.dz > 0, V.y1, V.t7)",b:n,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)",ss:i,u1:"=V.ss * V.adj3 / 100000",u2:"=width - V.u1",v2:"=height - V.u1",il:"=V.u1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",cd2:h,cd4:u,cx1:"=C(V.u1,V.l,A(V.u1,V.u1,V.cd2),true)",cy1:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd2))",_3cd4:x,cx2:"=C(V.u1,V.u2,A(V.u1,V.u1,V._3cd4),true)",cy2:"=C(V.u1,V.t,A(V.u1,V.u1,V._3cd4))",cx3:"=C(V.u1,V.r,A(V.u1,V.u1,0),true)",cy3:"=C(V.u1,V.v2,A(V.u1,V.u1,0))",cx4:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd4),true)",cy4:"=C(V.u1,V.b,A(V.u1,V.u1,V.cd4))"},adjustInfo:[["adj1",-20833],["adj2",62500],["adj3",16667]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M",0,"=V.u1"],["E","=V.cx1","=V.cy1","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd2)","=A(V.u1,V.u1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",r,0],["L","=V.xt","=V.yt"],["L",s,0],["L","=V.u2",0],["E","=V.cx2","=V.cy2","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V._3cd4)","=A(V.u1,V.u1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["L","=V.xr","=V.yr"],["L",V,o],["L",V,"=V.v2"],["E","=V.cx3","=V.cy3","=V.u1","=V.u1",0,"=A(V.u1,V.u1,0)","=A(V.u1,V.u1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,n],["L","=V.xb","=V.yb"],["L",r,n],["L","=V.u1",n],["E","=V.cx4","=V.cy4","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd4)","=A(V.u1,V.u1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,o],["L","=V.xl","=V.yl"],["L",0,d],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},flowchartOfflineStorage:{variables:{x4:"=width * 3 / 4",vc:f,hc:y,b:n,wd4:"=width/4",t:0,_scaleX1:"= width / 2",_scaleY1:"= height / 2",_scaleX2:"= width / 5",_scaleY2:"= height / 5",_scaleX3:"= width / 2",_scaleY3:"= height / 2"},connectionPoints:[{x:"=V.x4",y:c},{x:e,y:n},{x:"=V.wd4",y:c},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",y,n],["Z"],{strokeMode:"false"}],[["M","=2 * V._scaleX2","=4 * V._scaleY2"],["L","=3 * V._scaleX2","=4 * V._scaleY2"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",y,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd4",top:0,right:"=V.x4",bottom:c}},leftRightRibbon:{variables:{adj1:5e4,adj2:5e4,adj3:16667,a3:"=MIN(MAX(0, V.adj3), 33333)",maxAdj1:"=100000 - V.a3",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",wd2:y,wd32:"=width/32",w1:"=V.wd2 - V.wd32",ss:i,maxAdj2:"=100000 * V.w1 / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x1:"=V.ss * V.a2 / 100000",r:V,x4:"=width - V.x1",dy1:"=height * V.a1 / 200000",dy2:"=height * V.a3 / -200000",vc:f,ly1:"=V.vc + V.dy2 - V.dy1",ry4:"=V.vc + V.dy1 - V.dy2",ly2:"=V.ly1 + V.dy1",b:n,ry3:"=height - V.ly2",ly4:"=V.ly2 * 2",ry1:"=height - V.ly4",ly3:"=V.ly4 - V.ly1",ry2:"=height - V.ly3",hR:"=V.a3 * V.ss / 400000",hc:y,x2:"=V.hc - V.wd32",x3:"=V.hc + V.wd32",y1:"=V.ly1 + V.hR",y2:"=V.ry2 - V.hR",l:0,t:0,_3cd4:x,cd2:h,cx1:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V._3cd4),true)",cy1:"=C(V.hR,V.ly1,A(V.wd32,V.hR,V._3cd4))",cx2:"=C(V.wd32,P(V.cx1,V.wd32,A(V.wd32,V.hR,(V._3cd4 + V.cd2)),true),A(V.wd32,V.hR,V._3cd4),true)",cy2:"=C(V.hR,P(V.cy1,V.hR,A(V.wd32,V.hR,(V._3cd4 + V.cd2))),A(V.wd32,V.hR,V._3cd4))",cd4:u,cx3:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V.cd4),true)",cy3:"=C(V.hR,V.ry4,A(V.wd32,V.hR,V.cd4))",cx4:"=C(V.wd32,V.x3,A(V.wd32,V.hR,0),true)",cy4:"=C(V.hR,V.y1,A(V.wd32,V.hR,0))",cx5:"=C(V.wd32,P(V.cx4,V.wd32,A(V.wd32,V.hR,(V.cd4)),true),A(V.wd32,V.hR,V._3cd4),true)",cy5:"=C(V.hR,P(V.cy4,V.hR,A(V.wd32,V.hR,(V.cd4))),A(V.wd32,V.hR,V._3cd4))",cx6:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V._3cd4),true)",cy6:"=C(V.hR,V.ly1,A(V.wd32,V.hR,V._3cd4))",cx7:"=C(V.wd32,P(V.cx6,V.wd32,A(V.wd32,V.hR,(V._3cd4 + V.cd2)),true),A(V.wd32,V.hR,V._3cd4),true)",cy7:"=C(V.hR,P(V.cy6,V.hR,A(V.wd32,V.hR,(V._3cd4 + V.cd2))),A(V.wd32,V.hR,V._3cd4))",cx8:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V.cd4),true)",cy8:"=C(V.hR,V.ry4,A(V.wd32,V.hR,V.cd4))"},adjustInfo:[["adj1",5e4],["adj2",5e4],["adj3",16667]],connectionPoints:[{x:V,y:"=V.ry3"},{x:"=V.x4",y:n},{x:r,y:"=V.ly4"},{x:0,y:"=V.ly2"},{x:r,y:0},{x:"=V.x4",y:"=V.ry1"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x4",y:"ry2"},point:["=V.x4","=V.ry2"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:33333,position:{x:"x3",y:"ry2"},point:["=V.x3","=V.ry2"]}],path:[[["M",0,"=V.ly2"],["L",r,0],["L",r,"=V.ly1"],["L",e,"=V.ly1"],["E","=V.cx1","=V.cy1","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ry2"],["L","=V.x4","=V.ry1"],["L",V,"=V.ry3"],["L","=V.x4",n],["L","=V.x4","=V.ry4"],["L",e,"=V.ry4"],["E","=V.cx3","=V.cy3","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.ly3"],["L",r,"=V.ly3"],["L",r,"=V.ly4"],["Z"],{strokeMode:"false"}],[["M","=V.x3",d],["E","=V.cx4","=V.cy4","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx5","=V.cy5","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x3","=V.ry2"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,"=V.ly2"],["L",r,0],["L",r,"=V.ly1"],["L",e,"=V.ly1"],["E","=V.cx6","=V.cy6","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ry2"],["L","=V.x4","=V.ry1"],["L",V,"=V.ry3"],["L","=V.x4",n],["L","=V.x4","=V.ry4"],["L",e,"=V.ry4"],["E","=V.cx8","=V.cy8","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.ly3"],["L",r,"=V.ly3"],["L",r,"=V.ly4"],["Z"],["M","=V.x3",d],["L","=V.x3","=V.ry2"],["M",s,o],["L",s,"=V.ly3"],{fillMode:"none"}]],textRect:{left:r,top:"=V.ly1",right:"=V.x4",bottom:"=V.ry4"}},diagonalStripe:{variables:{adj:5e4,a:"=MIN(MAX(0, V.adj), 100000)",x2:"=width * V.a / 100000",x1:"=V.x2 / 2",r:V,x3:"=(V.x2 + V.r) / 2",y2:"=height * V.a / 100000",y1:"=V.y2 / 2",b:n,y3:"=(V.y2 + V.b) / 2",hc:y,vc:f,l:0,t:0},adjustInfo:[["adj",5e4]],connectionPoints:[{x:e,y:c},{x:0,y:"=V.y3"},{x:r,y:d},{x:"=V.x3",y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:1e5,position:{x:"l",y:"y2"},point:[0,o]}],path:[[["M",0,o],["L",s,0],["L",V,0],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:"=V.x3",bottom:"=V.y3"}},pie:{variables:{adj1:0,adj2:x,stAng:"=MIN(MAX(0, V.adj1), 21599999)",enAng:"=MIN(MAX(0, V.adj2), 21599999)",sw1:"=V.enAng - V.stAng",sw2:"=V.sw1 + 21600000",swAng:"=IF(V.sw1 > 0, V.sw1, V.sw2)",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",wt2:"=V.wd2 * SIN(V.enAng / V.d2r)",ht2:"=V.hd2 * COS(V.enAng / V.d2r)",dx2:"=V.wd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.hd2 * SIN(ATAN2(V.ht2,V.wt2))",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",r:V,b:n,l:0,t:0,cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))"},adjustInfo:[["adj1",0],["adj2",162e5]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",r,d],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",e,c],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},nonIsoscelesTrapezoid:{variables:{adj1:25e3,adj2:25e3,ss:i,maxAdj:"=50000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj)",x1:"=V.ss * V.a1 / 200000",x2:"=V.ss * V.a1 / 100000",dx3:"=V.ss * V.a2 / 100000",r:V,x3:"=width - V.dx3",x4:"=(width + V.x3) / 2",wd3:"=width/3",il:"=V.wd3 * V.a1 / V.maxAdj",adjm:"=MAX(V.a1, V.a2)",hd3:"=height/3",it:"=V.hd3 * V.adjm / V.maxAdj",irt:"=V.wd3 * V.a2 / V.maxAdj",ir:"=width - V.irt",vc:f,hc:y,b:n,t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3]],connectionPoints:[{x:"=V.x4",y:c},{x:e,y:n},{x:r,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj",position:{x:"x3",y:"t"},point:["=V.x3",0]}],path:[[["M",0,n],["L",s,0],["L","=V.x3",0],["L",V,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:n}},decagon:{variables:{vf:105146,hd2:f,shd2:"=V.hd2 * V.vf / 100000",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2160000 / V.d2r)",dx2:"=V.wd2 * COS(4320000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",dy1:"=V.shd2 * SIN(4320000 / V.d2r)",dy2:"=V.shd2 * SIN(2160000 / V.d2r)",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",r:V,l:0},adjustInfo:[["vf",105146]],connectionPoints:[{x:"=V.x4",y:o},{x:V,y:c},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:s,y:"=V.y4"},{x:r,y:"=V.y3"},{x:0,y:c},{x:r,y:o},{x:s,y:d},{x:"=V.x3",y:d}],path:[[["M",0,c],["L",r,o],["L",s,d],["L","=V.x3",d],["L","=V.x4",o],["L",V,c],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y4"],["L",s,"=V.y4"],["L",r,"=V.y3"],["Z"],{}]],textRect:{left:r,top:o,right:"=V.x4",bottom:"=V.y3"}},heptagon:{variables:{hf:102572,vf:105210,wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",dx1:"=V.swd2 * 97493 / 100000",dx2:"=V.swd2 * 78183 / 100000",dx3:"=V.swd2 * 43388 / 100000",dy1:"=V.shd2 * 62349 / 100000",dy2:"=V.shd2 * 22252 / 100000",dy3:"=V.shd2 * 90097 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",x5:"=V.hc + V.dx2",x6:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc + V.dy2",y3:"=V.svc + V.dy3",b:n,ib:"=height - V.y1",t:0},adjustInfo:[["hf",102572],["vf",105210]],connectionPoints:[{x:"=V.x5",y:d},{x:"=V.x6",y:o},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y3"},{x:r,y:o},{x:s,y:d},{x:e,y:0}],path:[[["M",r,o],["L",s,d],["L",e,0],["L","=V.x5",d],["L","=V.x6",o],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["Z"],{}]],textRect:{left:s,top:d,right:"=V.x5",bottom:"=V.ib"}},dodecagon:{variables:{x1:"=width * 2894 / 21600",x2:"=width * 7906 / 21600",x3:"=width * 13694 / 21600",x4:"=width * 18706 / 21600",y1:"=height * 2894 / 21600",y2:"=height * 7906 / 21600",y3:"=height * 13694 / 21600",y4:"=height * 18706 / 21600",r:V,b:n,l:0,t:0},connectionPoints:[{x:"=V.x4",y:d},{x:V,y:o},{x:V,y:"=V.y3"},{x:"=V.x4",y:"=V.y4"},{x:"=V.x3",y:n},{x:s,y:n},{x:r,y:"=V.y4"},{x:0,y:"=V.y3"},{x:0,y:o},{x:r,y:d},{x:s,y:0},{x:"=V.x3",y:0}],path:[[["M",0,o],["L",r,d],["L",s,0],["L","=V.x3",0],["L","=V.x4",d],["L",V,o],["L",V,"=V.y3"],["L","=V.x4","=V.y4"],["L","=V.x3",n],["L",s,n],["L",r,"=V.y4"],["L",0,"=V.y3"],["Z"],{}]],textRect:{left:r,top:d,right:"=V.x4",bottom:"=V.y4"}},star6Point:{variables:{adj:28868,hf:115470,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",d2r:a,dx1:"=V.swd2 * COS(1800000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",vc:f,hd4:"=height/4",y2:"=V.vc + V.hd4",iwd2:"=V.swd2 * V.a / 50000",hd2:f,ihd2:"=V.hd2 * V.a / 50000",sdx2:"=V.iwd2 / 2",sx1:"=V.hc - V.iwd2",sx2:"=V.hc - V.sdx2",sx3:"=V.hc + V.sdx2",sx4:"=V.hc + V.iwd2",sdy1:"=V.ihd2 * SIN(3600000 / V.d2r)",sy1:"=V.vc - V.sdy1",sy2:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",b:n,t:0},adjustInfo:[["adj",28868],["hf",115470]],connectionPoints:[{x:s,y:"=V.hd4"},{x:s,y:o},{x:e,y:n},{x:r,y:o},{x:r,y:"=V.hd4"},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",r,"=V.hd4"],["L","=V.sx2","=V.sy1"],["L",e,0],["L","=V.sx3","=V.sy1"],["L",s,"=V.hd4"],["L","=V.sx4",c],["L",s,o],["L","=V.sx3","=V.sy2"],["L",e,n],["L","=V.sx2","=V.sy2"],["L",r,o],["L","=V.sx1",c],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx4",bottom:"=V.sy2"}},star7Point:{variables:{adj:34601,hf:102572,vf:105210,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",dx1:"=V.swd2 * 97493 / 100000",dx2:"=V.swd2 * 78183 / 100000",dx3:"=V.swd2 * 43388 / 100000",dy1:"=V.shd2 * 62349 / 100000",dy2:"=V.shd2 * 22252 / 100000",dy3:"=V.shd2 * 90097 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",x5:"=V.hc + V.dx2",x6:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc + V.dy2",y3:"=V.svc + V.dy3",iwd2:"=V.swd2 * V.a / 50000",ihd2:"=V.shd2 * V.a / 50000",sdx1:"=V.iwd2 * 97493 / 100000",sdx2:"=V.iwd2 * 78183 / 100000",sdx3:"=V.iwd2 * 43388 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc + V.sdx3",sx5:"=V.hc + V.sdx2",sx6:"=V.hc + V.sdx1",sdy1:"=V.ihd2 * 90097 / 100000",sdy2:"=V.ihd2 * 22252 / 100000",sdy3:"=V.ihd2 * 62349 / 100000",sy1:"=V.svc - V.sdy1",sy2:"=V.svc - V.sdy2",sy3:"=V.svc + V.sdy3",sy4:"=V.svc + V.ihd2",yAdj:"=V.svc - V.ihd2",t:0},adjustInfo:[["adj",34601],["hf",102572],["vf",105210]],connectionPoints:[{x:"=V.x5",y:d},{x:"=V.x6",y:o},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y3"},{x:r,y:o},{x:s,y:d},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",r,o],["L","=V.sx1","=V.sy2"],["L",s,d],["L","=V.sx3","=V.sy1"],["L",e,0],["L","=V.sx4","=V.sy1"],["L","=V.x5",d],["L","=V.sx6","=V.sy2"],["L","=V.x6",o],["L","=V.sx5","=V.sy3"],["L","=V.x4","=V.y3"],["L",e,"=V.sy4"],["L","=V.x3","=V.y3"],["L","=V.sx2","=V.sy3"],["Z"],{}]],textRect:{left:"=V.sx2",top:"=V.sy1",right:"=V.sx5",bottom:"=V.sy3"}},star10Point:{variables:{adj:42533,hf:105146,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",dx1:"=V.swd2 * 95106 / 100000",dx2:"=V.swd2 * 58779 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",hd2:f,dy1:"=V.hd2 * 80902 / 100000",dy2:"=V.hd2 * 30902 / 100000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",iwd2:"=V.swd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 80902 / 100000",sdx2:"=V.iwd2 * 30902 / 100000",sdy1:"=V.ihd2 * 95106 / 100000",sdy2:"=V.ihd2 * 58779 / 100000",sx1:"=V.hc - V.iwd2",sx2:"=V.hc - V.sdx1",sx3:"=V.hc - V.sdx2",sx4:"=V.hc + V.sdx2",sx5:"=V.hc + V.sdx1",sx6:"=V.hc + V.iwd2",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc + V.sdy2",sy4:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",b:n,t:0},adjustInfo:[["adj",42533],["hf",105146]],connectionPoints:[{x:"=V.x4",y:o},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:e,y:n},{x:s,y:"=V.y4"},{x:r,y:"=V.y3"},{x:r,y:o},{x:s,y:d},{x:e,y:0},{x:"=V.x3",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",r,o],["L","=V.sx2","=V.sy2"],["L",s,d],["L","=V.sx3","=V.sy1"],["L",e,0],["L","=V.sx4","=V.sy1"],["L","=V.x3",d],["L","=V.sx5","=V.sy2"],["L","=V.x4",o],["L","=V.sx6",c],["L","=V.x4","=V.y3"],["L","=V.sx5","=V.sy3"],["L","=V.x3","=V.y4"],["L","=V.sx4","=V.sy4"],["L",e,n],["L","=V.sx3","=V.sy4"],["L",s,"=V.y4"],["L","=V.sx2","=V.sy3"],["L",r,"=V.y3"],["L","=V.sx1",c],["Z"],{}]],textRect:{left:"=V.sx2",top:"=V.sy2",right:"=V.sx5",bottom:"=V.sy3"}},star12Point:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,d2r:a,dx1:"=V.wd2 * COS(1800000 / V.d2r)",hd2:f,dy1:"=V.hd2 * SIN(3600000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x3:"=width * 3 / 4",x4:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y3:"=height * 3 / 4",y4:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * COS(900000 / V.d2r)",sdx2:"=V.iwd2 * COS(2700000 / V.d2r)",sdx3:"=V.iwd2 * COS(4500000 / V.d2r)",sdy1:"=V.ihd2 * SIN(4500000 / V.d2r)",sdy2:"=V.ihd2 * SIN(2700000 / V.d2r)",sdy3:"=V.ihd2 * SIN(900000 / V.d2r)",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc + V.sdx3",sx5:"=V.hc + V.sdx2",sx6:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc + V.sdy3",sy5:"=V.vc + V.sdy2",sy6:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",hd4:"=height/4",r:V,b:n,wd4:"=width/4",l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:"=V.x4",y:"=V.hd4"},{x:V,y:c},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:e,y:n},{x:"=V.wd4",y:"=V.y4"},{x:r,y:"=V.y3"},{x:0,y:c},{x:r,y:"=V.hd4"},{x:"=V.wd4",y:d},{x:e,y:0},{x:"=V.x3",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy3"],["L",r,"=V.hd4"],["L","=V.sx2","=V.sy2"],["L","=V.wd4",d],["L","=V.sx3","=V.sy1"],["L",e,0],["L","=V.sx4","=V.sy1"],["L","=V.x3",d],["L","=V.sx5","=V.sy2"],["L","=V.x4","=V.hd4"],["L","=V.sx6","=V.sy3"],["L",V,c],["L","=V.sx6","=V.sy4"],["L","=V.x4","=V.y3"],["L","=V.sx5","=V.sy5"],["L","=V.x3","=V.y4"],["L","=V.sx4","=V.sy6"],["L",e,n],["L","=V.sx3","=V.sy6"],["L","=V.wd4","=V.y4"],["L","=V.sx2","=V.sy5"],["L",r,"=V.y3"],["L","=V.sx1","=V.sy4"],["Z"],{}]],textRect:{left:"=V.sx2",top:"=V.sy2",right:"=V.sx5",bottom:"=V.sy5"}},round1Rectangle:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dx1:"=V.ss * V.a / 100000",r:V,x1:"=width - V.dx1",idx:"=V.dx1 * 29289 / 100000",ir:"=width - V.idx",hc:y,t:0,l:0,vc:f,b:n,_3cd4:x,cd4:u,cx1:"=C(V.dx1,V.x1,A(V.dx1,V.dx1,V._3cd4),true)",cy1:"=C(V.dx1,V.t,A(V.dx1,V.dx1,V._3cd4))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,0],["L",r,0],["E","=V.cx1","=V.cy1","=V.dx1","=V.dx1",0,"=A(V.dx1,V.dx1,V._3cd4)","=A(V.dx1,V.dx1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:"=V.ir",bottom:n}},round2SameRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,tx1:"=V.ss * V.a1 / 100000",r:V,tx2:"=width - V.tx1",bx1:"=V.ss * V.a2 / 100000",bx2:"=width - V.bx1",b:n,by1:"=height - V.bx1",d:"=V.tx1 - V.bx1",tdx:"=V.tx1 * 29289 / 100000",bdx:"=V.bx1 * 29289 / 100000",il:"=IF(V.d > 0, V.tdx, V.bdx)",ir:"=width - V.il",ib:"=height - V.bdx",vc:f,hc:y,l:0,t:0,_3cd4:x,cd4:u,cx1:"=C(V.tx1,V.tx2,A(V.tx1,V.tx1,V._3cd4),true)",cy1:"=C(V.tx1,V.t,A(V.tx1,V.tx1,V._3cd4))",cx2:"=C(V.bx1,V.r,A(V.bx1,V.bx1,0),true)",cy2:"=C(V.bx1,V.by1,A(V.bx1,V.bx1,0))",cx3:"=C(V.bx1,V.bx1,A(V.bx1,V.bx1,V.cd4),true)",cy3:"=C(V.bx1,V.b,A(V.bx1,V.bx1,V.cd4))",cd2:h,cx4:"=C(V.tx1,V.l,A(V.tx1,V.tx1,V.cd2),true)",cy4:"=C(V.tx1,V.tx1,A(V.tx1,V.tx1,V.cd2))"},adjustInfo:[["adj1",16667],["adj2",0]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"tx2",y:"t"},point:["=V.tx2",0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"bx1",y:"b"},point:["=V.bx1",n]}],path:[[["M","=V.tx1",0],["L","=V.tx2",0],["E","=V.cx1","=V.cy1","=V.tx1","=V.tx1",0,"=A(V.tx1,V.tx1,V._3cd4)","=A(V.tx1,V.tx1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,"=V.by1"],["E","=V.cx2","=V.cy2","=V.bx1","=V.bx1",0,"=A(V.bx1,V.bx1,0)","=A(V.bx1,V.bx1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.bx1",n],["E","=V.cx3","=V.cy3","=V.bx1","=V.bx1",0,"=A(V.bx1,V.bx1,V.cd4)","=A(V.bx1,V.bx1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,"=V.tx1"],["E","=V.cx4","=V.cy4","=V.tx1","=V.tx1",0,"=A(V.tx1,V.tx1,V.cd2)","=A(V.tx1,V.tx1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.tdx",right:"=V.ir",bottom:"=V.ib"}},round2DiagRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,x1:"=V.ss * V.a1 / 100000",b:n,y1:"=height - V.x1",a:"=V.ss * V.a2 / 100000",r:V,x2:"=width - V.a",y2:"=height - V.a",dx1:"=V.x1 * 29289 / 100000",dx2:"=V.a * 29289 / 100000",d:"=V.dx1 - V.dx2",dx:"=IF(V.d > 0, V.dx1, V.dx2)",ir:"=width - V.dx",ib:"=height - V.dx",vc:f,hc:y,l:0,t:0,_3cd4:x,cd4:u,cx1:"=C(V.a,V.x2,A(V.a,V.a,V._3cd4),true)",cy1:"=C(V.a,V.t,A(V.a,V.a,V._3cd4))",cx2:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy2:"=C(V.x1,V.y1,A(V.x1,V.x1,0))",cx3:"=C(V.a,V.a,A(V.a,V.a,V.cd4),true)",cy3:"=C(V.a,V.b,A(V.a,V.a,V.cd4))",cd2:h,cx4:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))"},adjustInfo:[["adj1",16667],["adj2",0]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",r,0],["L",s,0],["E","=V.cx1","=V.cy1","=V.a","=V.a",0,"=A(V.a,V.a,V._3cd4)","=A(V.a,V.a,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx2","=V.cy2",r,r,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.a",n],["E","=V.cx3","=V.cy3","=V.a","=V.a",0,"=A(V.a,V.a,V.cd4)","=A(V.a,V.a,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,r],["E","=V.cx4","=V.cy4",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:"=V.ir",bottom:"=V.ib"}},snipRoundRectangle:{variables:{adj1:16667,adj2:16667,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,x1:"=V.ss * V.a1 / 100000",dx2:"=V.ss * V.a2 / 100000",r:V,x2:"=width - V.dx2",il:"=V.x1 * 29289 / 100000",ir:"=(V.x2 + V.r) / 2",vc:f,hc:y,b:n,l:0,t:0,cd2:h,cd4:u,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))"},adjustInfo:[["adj1",16667],["adj2",16667]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",r,0],["L",s,0],["L",V,"=V.dx2"],["L",V,n],["L",0,n],["L",0,r],["E","=V.cx1","=V.cy1",r,r,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:n}},snip1Rectangle:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dx1:"=V.ss * V.a / 100000",r:V,x1:"=width - V.dx1",it:"=V.dx1 / 2",ir:"=(V.x1 + V.r) / 2",vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj",16667]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,0],["L",r,0],["L",V,"=V.dx1"],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:n}},snip2SameRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,tx1:"=V.ss * V.a1 / 100000",r:V,tx2:"=width - V.tx1",bx1:"=V.ss * V.a2 / 100000",bx2:"=width - V.bx1",b:n,by1:"=height - V.bx1",d:"=V.tx1 - V.bx1",dx:"=IF(V.d > 0, V.tx1, V.bx1)",il:"=V.dx / 2",ir:"=width - V.il",it:"=V.tx1 / 2",ib:"=(V.by1 + V.b) / 2",vc:f,hc:y,l:0,t:0},adjustInfo:[["adj1",16667],["adj2",0]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"tx2",y:"t"},point:["=V.tx2",0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"bx1",y:"b"},point:["=V.bx1",n]}],path:[[["M","=V.tx1",0],["L","=V.tx2",0],["L",V,"=V.tx1"],["L",V,"=V.by1"],["L","=V.bx2",n],["L","=V.bx1",n],["L",0,"=V.by1"],["L",0,"=V.tx1"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},snip2DiagRectangle:{variables:{adj1:0,adj2:16667,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,lx1:"=V.ss * V.a1 / 100000",r:V,lx2:"=width - V.lx1",b:n,ly1:"=height - V.lx1",rx1:"=V.ss * V.a2 / 100000",rx2:"=width - V.rx1",ry1:"=height - V.rx1",d:"=V.lx1 - V.rx1",dx:"=IF(V.d > 0, V.lx1, V.rx1)",il:"=V.dx / 2",ir:"=width - V.il",ib:"=height - V.il",vc:f,hc:y,l:0,t:0},adjustInfo:[["adj1",0],["adj2",16667]],connectionPoints:[{x:V,y:c},{x:e,y:n},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"lx1",y:"t"},point:["=V.lx1",0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"rx2",y:"t"},point:["=V.rx2",0]}],path:[[["M","=V.lx1",0],["L","=V.rx2",0],["L",V,"=V.rx1"],["L",V,"=V.ly1"],["L","=V.lx2",n],["L","=V.rx1",n],["L",0,"=V.ry1"],["L",0,"=V.lx1"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},frame:{variables:{adj1:12500,a1:"=MIN(MAX(0, V.adj1), 50000)",ss:i,x1:"=V.ss * V.a1 / 100000",r:V,x4:"=width - V.x1",b:n,y4:"=height - V.x1",hc:y,t:0,l:0,vc:f},adjustInfo:[["adj1",12500]],connectionPoints:[{x:e,y:0},{x:0,y:c},{x:e,y:n},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",r,r],["L",r,"=V.y4"],["L","=V.x4","=V.y4"],["L","=V.x4",r],["Z"],{}]],textRect:{left:r,top:r,right:"=V.x4",bottom:"=V.y4"}},halfFrame:{variables:{adj1:33333,adj2:33333,ss:i,maxAdj2:"=100000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x1:"=V.ss * V.a2 / 100000",g1:"=height * V.x1 / width",g2:"=height - V.g1",maxAdj1:"=100000 * V.g2 / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",y1:"=V.ss * V.a1 / 100000",dx2:"=V.y1 * width / height",r:V,x2:"=width - V.dx2",dy2:"=V.x1 * height / width",b:n,y2:"=height - V.dy2",cx1:"=V.x1 / 2",cy1:"=(V.y2 + V.b) / 2",cx2:"=(V.x2 + V.r) / 2",cy2:"=V.y1 / 2",l:0,vc:f,hc:y,t:0},adjustInfo:[["adj1",33333],["adj2",33333]],connectionPoints:[{x:"=V.cx2",y:"=V.cy2"},{x:"=V.cx1",y:"=V.cy1"},{x:0,y:c},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,0],["L",V,0],["L",s,d],["L",r,d],["L",r,o],["L",0,n],["Z"],{}]]},tear:{variables:{adj:1e5,a:"=MIN(MAX(0, V.adj), 200000)",r2:"=SQRT(2)",wd2:y,tw:"=V.wd2 * V.r2",hd2:f,th:"=V.hd2 * V.r2",sw:"=V.tw * V.a / 100000",sh:"=V.th * V.a / 100000",d2r:a,dx1:"=V.sw * COS(2700000 / V.d2r)",dy1:"=V.sh * SIN(2700000 / V.d2r)",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",x2:"=(V.hc + V.x1) / 2",y2:"=(V.vc + V.y1) / 2",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",r:V,b:n,l:0,t:0,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx2:"=C(V.wd2,V.r,A(V.wd2,V.hd2,0),true)",cy2:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,0))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},adjustInfo:[["adj",1e5]],connectionPoints:[{x:V,y:c},{x:"=V.ir",y:"=V.ib"},{x:e,y:n},{x:"=V.il",y:"=V.ib"},{x:0,y:c},{x:"=V.il",y:"=V.it"},{x:e,y:0},{x:r,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:2e5,position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,c],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Q",s,0,r,d],["Q",V,o,V,c],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},chord:{variables:{adj1:27e5,adj2:x,stAng:"=MIN(MAX(0, V.adj1), 21599999)",enAng:"=MIN(MAX(0, V.adj2), 21599999)",sw1:"=V.enAng - V.stAng",sw2:"=V.sw1 + 21600000",swAng:"=IF(V.sw1 > 0, V.sw1, V.sw2)",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",wt2:"=V.wd2 * SIN(V.enAng / V.d2r)",ht2:"=V.hd2 * COS(V.enAng / V.d2r)",dx2:"=V.wd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.hd2 * SIN(ATAN2(V.ht2,V.wt2))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",x3:"=(V.x1 + V.x2) / 2",y3:"=(V.y1 + V.y2) / 2",midAng0:"=V.swAng / 2",cd2:h,midAng:"=V.stAng + V.midAng0 - V.cd2",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))"},adjustInfo:[["adj1",27e5],["adj2",162e5]],connectionPoints:[{x:r,y:d},{x:s,y:o},{x:"=V.x3",y:"=V.y3"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[r,d]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,o]}],path:[[["M",r,d],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},corner:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj1:"=100000 * height / V.ss",maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x1:"=V.ss * V.a2 / 100000",dy1:"=V.ss * V.a1 / 100000",b:n,y1:"=height - V.dy1",cx1:"=V.x1 / 2",cy1:"=(V.y1 + V.b) / 2",d:"=width - height",t:0,it:"=IF(V.d > 0, V.y1, V.t)",r:V,ir:"=IF(V.d > 0, V.r, V.x1)",hc:y,l:0,vc:f},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:V,y:"=V.cy1"},{x:e,y:n},{x:0,y:c},{x:"=V.cx1",y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[r,0]}],path:[[["M",0,0],["L",r,0],["L",r,d],["L",V,d],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:n}},mathPlus:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 73490)",dx1:"=width * 73490 / 200000",dy1:"=height * 73490 / 200000",ss:i,dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dx2",y3:"=V.vc + V.dx2",y4:"=V.vc + V.dy1",l:0},adjustInfo:[["adj1",23520]],connectionPoints:[{x:"=V.x4",y:c},{x:e,y:"=V.y4"},{x:r,y:c},{x:e,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:73490,position:{x:"l",y:"y2"},point:[0,o]}],path:[[["M",r,o],["L",s,o],["L",s,d],["L","=V.x3",d],["L","=V.x3",o],["L","=V.x4",o],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L",s,"=V.y4"],["L",s,"=V.y3"],["L",r,"=V.y3"],["Z"],{}]],textRect:{left:r,top:o,right:"=V.x4",bottom:"=V.y3"}},mathMinus:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 100000)",dy1:"=height * V.a1 / 200000",dx1:"=width * 73490 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",l:0},adjustInfo:[["adj1",23520]],connectionPoints:[{x:s,y:c},{x:e,y:o},{x:r,y:c},{x:e,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",r,d],["L",s,d],["L",s,o],["L",r,o],["Z"],{}]],textRect:{left:r,top:d,right:s,bottom:o}},mathMultiply:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 51965)",ss:i,th:"=V.ss * V.a1 / 100000",d2r:a,a:"=(ATAN2(width,height) * V.d2r)",sa:"=SIN(V.a / V.d2r)",ca:"=COS(V.a / V.d2r)",ta:"=TAN(V.a / V.d2r)",dl:"=SQRT(width*width + height*height)",rw:"=V.dl * 51965 / 100000",lM:"=V.dl - V.rw",xM:"=V.ca * V.lM / 2",yM:"=V.sa * V.lM / 2",dxAM:"=V.sa * V.th / 2",dyAM:"=V.ca * V.th / 2",xA:"=V.xM - V.dxAM",yA:"=V.yM + V.dyAM",xB:"=V.xM + V.dxAM",yB:"=V.yM - V.dyAM",hc:y,xBC:"=V.hc - V.xB",yBC:"=V.xBC * V.ta",yC:"=V.yBC + V.yB",r:V,xD:"=width - V.xB",xE:"=width - V.xA",vc:f,yFE:"=V.vc - V.yA",xFE:"=V.yFE / V.ta",xF:"=V.xE - V.xFE",xL:"=V.xA + V.xFE",b:n,yG:"=height - V.yA",yH:"=height - V.yB",yI:"=height - V.yC",xC2:"=width - V.xM",yC3:"=height - V.yM",l:0},adjustInfo:[["adj1",23520]],connectionPoints:[{x:"=V.xM",y:"=V.yM"},{x:"=V.xC2",y:"=V.yM"},{x:"=V.xC2",y:"=V.yC3"},{x:"=V.xM",y:"=V.yC3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:51965,position:{x:"l",y:"th"},point:[0,"=V.th"]}],path:[[["M","=V.xA","=V.yA"],["L","=V.xB","=V.yB"],["L",e,"=V.yC"],["L","=V.xD","=V.yB"],["L","=V.xE","=V.yA"],["L","=V.xF",c],["L","=V.xE","=V.yG"],["L","=V.xD","=V.yH"],["L",e,"=V.yI"],["L","=V.xB","=V.yH"],["L","=V.xA","=V.yG"],["L","=V.xL",c],["Z"],{}]],textRect:{left:"=V.xA",top:"=V.yB",right:"=V.xE",bottom:"=V.yH"}},mathDivide:{variables:{adj1:23520,adj2:5880,adj3:11760,a1:"=MIN(MAX(1000, V.adj1), 36745)",ma1:"=0 - V.a1",ma3h:"=(73490 + V.ma1) / 4",ma3w:"=36745 * width / height",maxAdj3:"=MIN(V.ma3h, V.ma3w)",a3:"=MIN(MAX(1000, V.adj3), V.maxAdj3)",m4a3:"=-4 * V.a3",maxAdj2:"=73490 + V.m4a3 - V.a1",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dy1:"=height * V.a1 / 200000",yg:"=height * V.a2 / 100000",rad:"=height * V.a3 / 100000",dx1:"=width * 73490 / 200000",vc:f,y3:"=V.vc - V.dy1",y4:"=V.vc + V.dy1",a:"=V.yg + V.rad",y2:"=V.y3 - V.a",y1:"=V.y2 - V.rad",b:n,y5:"=height - V.y1",hc:y,x1:"=V.hc - V.dx1",x3:"=V.hc + V.dx1",x2:"=V.hc - V.rad",l:0,r:V,t:0,_3cd4:x,cx1:"=C(V.rad,V.hc,A(V.rad,V.rad,V._3cd4),true)",cy1:"=C(V.rad,V.y1,A(V.rad,V.rad,V._3cd4))",cd4:u,cx2:"=C(V.rad,V.hc,A(V.rad,V.rad,V.cd4),true)",cy2:"=C(V.rad,V.y5,A(V.rad,V.rad,V.cd4))"},adjustInfo:[["adj1",23520],["adj2",5880],["adj3",11760]],connectionPoints:[{x:"=V.x3",y:c},{x:e,y:"=V.y5"},{x:r,y:c},{x:e,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:1e3,maxY:36745,position:{x:"l",y:"y3"},point:[0,"=V.y3"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y2"},point:[V,o]},{type:"ahXY",gdRefX:"adj3",minX:1e3,maxX:"maxAdj3",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",e,d],["E","=V.cx1","=V.cy1","=V.rad","=V.rad",0,"=A(V.rad,V.rad,V._3cd4)","=(A(V.rad,V.rad,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.y5"],["E","=V.cx2","=V.cy2","=V.rad","=V.rad",0,"=A(V.rad,V.rad,V.cd4)","=(A(V.rad,V.rad,V.cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",r,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L",r,"=V.y4"],["Z"],{}]],textRect:{left:r,top:"=V.y3",right:"=V.x3",bottom:"=V.y4"}},mathEqual:{variables:{adj1:23520,adj2:11760,a1:"=MIN(MAX(0, V.adj1), 36745)","2a1":"=V.a1 * 2",mAdj2:"=100000 - V.2a1",a2:"=MIN(MAX(0, V.adj2), V.mAdj2)",dy1:"=height * V.a1 / 100000",dy2:"=height * V.a2 / 200000",dx1:"=width * 73490 / 200000",vc:f,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y1:"=V.y2 - V.dy1",y4:"=V.y3 + V.dy1",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",yC1:"=(V.y1 + V.y2) / 2",yC2:"=(V.y3 + V.y4) / 2",l:0,r:V},adjustInfo:[["adj1",23520],["adj2",11760]],connectionPoints:[{x:s,y:"=V.yC1"},{x:s,y:"=V.yC2"},{x:e,y:"=V.y4"},{x:r,y:"=V.yC1"},{x:r,y:"=V.yC2"},{x:e,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:36745,position:{x:"l",y:"y1"},point:[0,d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"mAdj2",position:{x:"r",y:"y2"},point:[V,o]}],path:[[["M",r,d],["L",s,d],["L",s,o],["L",r,o],["Z"],["M",r,"=V.y3"],["L",s,"=V.y3"],["L",s,"=V.y4"],["L",r,"=V.y4"],["Z"],{}]],textRect:{left:r,top:d,right:s,bottom:"=V.y4"}},mathNotEqual:{variables:{adj1:23520,adj2:66e5,adj3:11760,a1:"=MIN(MAX(0, V.adj1), 50000)",crAng:"=MIN(MAX(4200000, V.adj2), 6600000)","2a1":"=V.a1 * 2",maxAdj3:"=100000 - V.2a1",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",dy1:"=height * V.a1 / 100000",dy2:"=height * V.a3 / 200000",dx1:"=width * 73490 / 200000",hc:y,x1:"=V.hc - V.dx1",x8:"=V.hc + V.dx1",vc:f,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y1:"=V.y2 - V.dy1",y4:"=V.y3 + V.dy1",cd4:u,cadj2:"=V.crAng - V.cd4",hd2:f,d2r:a,xadj2:"=V.hd2 * TAN(V.cadj2 / V.d2r)",len:"=SQRT(V.xadj2*V.xadj2 + V.hd2*V.hd2)",bhw:"=V.len * V.dy1 / V.hd2",bhw2:"=V.bhw / 2",x7:"=V.hc + V.xadj2 - V.bhw2",dx67:"=V.xadj2 * V.y1 / V.hd2",x6:"=V.x7 - V.dx67",dx57:"=V.xadj2 * V.y2 / V.hd2",x5:"=V.x7 - V.dx57",dx47:"=V.xadj2 * V.y3 / V.hd2",x4:"=V.x7 - V.dx47",dx37:"=V.xadj2 * V.y4 / V.hd2",x3:"=V.x7 - V.dx37",dx27:"=V.xadj2 * 2",x2:"=V.x7 - V.dx27",rx7:"=V.x7 + V.bhw",rx6:"=V.x6 + V.bhw",rx5:"=V.x5 + V.bhw",rx4:"=V.x4 + V.bhw",rx3:"=V.x3 + V.bhw",rx2:"=V.x2 + V.bhw",dx7:"=V.dy1 * V.hd2 / V.len",rxt:"=V.x7 + V.dx7",lxt:"=V.rx7 - V.dx7",rx:"=IF(V.cadj2 > 0, V.rxt, V.rx7)",lx:"=IF(V.cadj2 > 0, V.x7, V.lxt)",dy3:"=V.dy1 * V.xadj2 / V.len",dy4:"=0 - V.dy3",t:0,ry:"=IF(V.cadj2 > 0, V.dy3, V.t)",ly:"=IF(V.cadj2 > 0, V.t, V.dy4)",dlx:"=width - V.rx",drx:"=width - V.lx",dly:"=height - V.ry",dry:"=height - V.ly",xC1:"=(V.rx + V.lx) / 2",xC2:"=(V.drx + V.dlx) / 2",yC1:"=(V.ry + V.ly) / 2",yC2:"=(V.y1 + V.y2) / 2",yC3:"=(V.y3 + V.y4) / 2",yC4:"=(V.dry + V.dly) / 2",l:0,r:V},adjustInfo:[["adj1",23520],["adj2",66e5],["adj3",11760]],connectionPoints:[{x:"=V.x8",y:"=V.yC2"},{x:"=V.x8",y:"=V.yC3"},{x:"=V.xC2",y:"=V.yC4"},{x:r,y:"=V.yC2"},{x:r,y:"=V.yC3"},{x:"=V.xC1",y:"=V.yC1"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:5e4,position:{x:"l",y:"y1"},point:[0,d]},{type:"ahPolar",gdRefAng:"adj2",minAng:42e5,maxAng:66e5,position:{x:"lx",y:"t"},point:["=V.lx",0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y2"},point:[V,o]}],path:[[["M",r,d],["L","=V.x6",d],["L","=V.lx","=V.ly"],["L","=V.rx","=V.ry"],["L","=V.rx6",d],["L","=V.x8",d],["L","=V.x8",o],["L","=V.rx5",o],["L","=V.rx4","=V.y3"],["L","=V.x8","=V.y3"],["L","=V.x8","=V.y4"],["L","=V.rx3","=V.y4"],["L","=V.drx","=V.dry"],["L","=V.dlx","=V.dly"],["L","=V.x3","=V.y4"],["L",r,"=V.y4"],["L",r,"=V.y3"],["L","=V.x4","=V.y3"],["L","=V.x5",o],["L",r,o],["Z"],{}]],textRect:{left:r,top:d,right:"=V.x8",bottom:"=V.y4"}},cornerTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:n,y1:"=height - V.dx",r:V,x1:"=width - V.dx",l:0,t:0},connectionPoints:[{x:0,y:0},{x:0,y:"=V.dx"},{x:0,y:d},{x:0,y:n},{x:"=V.dx",y:0},{x:r,y:0},{x:"=V.dx",y:n},{x:r,y:n},{x:V,y:0},{x:V,y:"=V.dx"},{x:V,y:d},{x:V,y:n}],path:[[["M",0,0],["L","=V.dx",0],["L",0,"=V.dx"],["Z"],{}],[["M",0,d],["L","=V.dx",n],["L",0,n],["Z"],{}],[["M",r,0],["L",V,0],["L",V,"=V.dx"],["Z"],{}],[["M",V,d],["L",V,n],["L",r,n],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:r,bottom:d}},squareTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:n,y1:"=height - V.dx",r:V,x1:"=width - V.dx",l:0,t:0},connectionPoints:[{x:0,y:0},{x:0,y:"=V.dx"},{x:0,y:d},{x:0,y:n},{x:"=V.dx",y:"=V.dx"},{x:"=V.dx",y:r},{x:"=V.dx",y:0},{x:r,y:0},{x:"=V.dx",y:n},{x:r,y:n},{x:V,y:0},{x:V,y:"=V.dx"},{x:V,y:d},{x:V,y:n},{x:r,y:"=V.dx"},{x:r,y:d}],path:[[["M",0,0],["L","=V.dx",0],["L","=V.dx","=V.dx"],["L",0,"=V.dx"],["Z"],{}],[["M",0,d],["L","=V.dx",d],["L","=V.dx",n],["L",0,n],["Z"],{}],[["M",r,0],["L",V,0],["L",V,"=V.dx"],["L",r,"=V.dx"],["Z"],{}],[["M",r,d],["L",V,d],["L",V,n],["L",r,n],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:r,bottom:d}},plaqueTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:n,y1:"=height - V.dx",r:V,x1:"=width - V.dx",l:0,t:0,cd4:u,cx1:"=C(V.dx,V.dx,A(V.dx,V.dx,0),true)",cy1:"=C(V.dx,V.t,A(V.dx,V.dx,0))",_3cd4:x,cx2:"=C(V.dx,V.l,A(V.dx,V.dx,V._3cd4),true)",cy2:"=C(V.dx,V.y1,A(V.dx,V.dx,V._3cd4))",cx3:"=C(V.dx,V.r,A(V.dx,V.dx,V.cd4),true)",cy3:"=C(V.dx,V.dx,A(V.dx,V.dx,V.cd4))",cd2:h,cx4:"=C(V.dx,V.x1,A(V.dx,V.dx,V.cd2),true)",cy4:"=C(V.dx,V.b,A(V.dx,V.dx,V.cd2))"},connectionPoints:[{x:0,y:0},{x:0,y:"=V.dx"},{x:0,y:d},{x:0,y:n},{x:"=V.dx",y:0},{x:r,y:0},{x:"=V.dx",y:n},{x:r,y:n},{x:V,y:0},{x:V,y:"=V.dx"},{x:V,y:d},{x:V,y:n}],path:[[["M",0,0],["L","=V.dx",0],["E","=V.cx1","=V.cy1","=V.dx","=V.dx",0,"=A(V.dx,V.dx,0)","=A(V.dx,V.dx,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}],[["M",0,d],["E","=V.cx2","=V.cy2","=V.dx","=V.dx",0,"=A(V.dx,V.dx,V._3cd4)","=A(V.dx,V.dx,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,n],["Z"],{}],[["M",V,0],["L",V,"=V.dx"],["E","=V.cx3","=V.cy3","=V.dx","=V.dx",0,"=A(V.dx,V.dx,V.cd4)","=A(V.dx,V.dx,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}],[["M",r,n],["E","=V.cx4","=V.cy4","=V.dx","=V.dx",0,"=A(V.dx,V.dx,V.cd2)","=A(V.dx,V.dx,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,n],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:r,bottom:d}},gear6:{variables:{adj1:15e3,adj2:3526,a1:"=MIN(MAX(0, V.adj1), 20000)",a2:"=MIN(MAX(0, V.adj2), 5358)",ss:i,th:"=V.ss * V.a1 / 100000",lFD:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",l2:"=V.lFD / 2",l3:"=V.th2 + V.l2",hd2:f,rh:"=V.hd2 - V.th",wd2:y,rw:"=V.wd2 - V.th",dr:"=V.rw - V.rh",maxr:"=IF(V.dr > 0, V.rh, V.rw)",d2r:a,ha:"=(ATAN2(V.maxr,V.l3) * V.d2r)",aA1:"=19800000 - V.ha",aD1:"=19800000 + V.ha",ta11:"=V.rw * COS(V.aA1 / V.d2r)",ta12:"=V.rh * SIN(V.aA1 / V.d2r)",bA1:"=(ATAN2(V.ta11,V.ta12) * V.d2r)",cta1:"=V.rh * COS(V.bA1 / V.d2r)",sta1:"=V.rw * SIN(V.bA1 / V.d2r)",ma1:"=SQRT(V.cta1*V.cta1 + V.sta1*V.sta1)",na1:"=V.rw * V.rh / V.ma1",dxa1:"=V.na1 * COS(V.bA1 / V.d2r)",dya1:"=V.na1 * SIN(V.bA1 / V.d2r)",hc:y,xA1:"=V.hc + V.dxa1",vc:f,yA1:"=V.vc + V.dya1",td11:"=V.rw * COS(V.aD1 / V.d2r)",td12:"=V.rh * SIN(V.aD1 / V.d2r)",bD1:"=(ATAN2(V.td11,V.td12) * V.d2r)",ctd1:"=V.rh * COS(V.bD1 / V.d2r)",std1:"=V.rw * SIN(V.bD1 / V.d2r)",md1:"=SQRT(V.ctd1*V.ctd1 + V.std1*V.std1)",nd1:"=V.rw * V.rh / V.md1",dxd1:"=V.nd1 * COS(V.bD1 / V.d2r)",dyd1:"=V.nd1 * SIN(V.bD1 / V.d2r)",xD1:"=V.hc + V.dxd1",yD1:"=V.vc + V.dyd1",xAD1:"=V.xA1 - V.xD1",yAD1:"=V.yA1 - V.yD1",lAD1:"=SQRT(V.xAD1*V.xAD1 + V.yAD1*V.yAD1)",_a1:"=(ATAN2(V.yAD1,V.xAD1) * V.d2r)",dxF1:"=V.lFD * SIN(V._a1 / V.d2r)",dyF1:"=V.lFD * COS(V._a1 / V.d2r)",xF1:"=V.xD1 + V.dxF1",yF1:"=V.yD1 + V.dyF1",xE1:"=V.xA1 - V.dxF1",yE1:"=V.yA1 - V.dyF1",yC1t:"=V.th * SIN(V._a1 / V.d2r)",xC1t:"=V.th * COS(V._a1 / V.d2r)",yC1:"=V.yF1 + V.yC1t",xC1:"=V.xF1 - V.xC1t",yB1:"=V.yE1 + V.yC1t",xB1:"=V.xE1 - V.xC1t",_3cd4:x,aD6:"=V._3cd4 + V.ha",td61:"=V.rw * COS(V.aD6 / V.d2r)",td62:"=V.rh * SIN(V.aD6 / V.d2r)",bD6:"=(ATAN2(V.td61,V.td62) * V.d2r)",ctd6:"=V.rh * COS(V.bD6 / V.d2r)",std6:"=V.rw * SIN(V.bD6 / V.d2r)",md6:"=SQRT(V.ctd6*V.ctd6 + V.std6*V.std6)",nd6:"=V.rw * V.rh / V.md6",dxd6:"=V.nd6 * COS(V.bD6 / V.d2r)",dyd6:"=V.nd6 * SIN(V.bD6 / V.d2r)",xD6:"=V.hc + V.dxd6",yD6:"=V.vc + V.dyd6",xA6:"=V.hc - V.dxd6",xF6:"=V.xD6 - V.lFD",xE6:"=V.xA6 + V.lFD",yC6:"=V.yD6 - V.th",swAng1:"=V.bA1 - V.bD6",aA2:"=1800000 - V.ha",aD2:"=1800000 + V.ha",ta21:"=V.rw * COS(V.aA2 / V.d2r)",ta22:"=V.rh * SIN(V.aA2 / V.d2r)",bA2:"=(ATAN2(V.ta21,V.ta22) * V.d2r)",yA2:"=height - V.yD1",td21:"=V.rw * COS(V.aD2 / V.d2r)",td22:"=V.rh * SIN(V.aD2 / V.d2r)",bD2:"=(ATAN2(V.td21,V.td22) * V.d2r)",yD2:"=height - V.yA1",yC2:"=height - V.yB1",yB2:"=height - V.yC1",xB2:"=V.xC1",swAng2:"=V.bA2 - V.bD1",cd4:u,aD3:"=V.cd4 + V.ha",td31:"=V.rw * COS(V.aD3 / V.d2r)",td32:"=V.rh * SIN(V.aD3 / V.d2r)",bD3:"=(ATAN2(V.td31,V.td32) * V.d2r)",yD3:"=height - V.yD6",yB3:"=height - V.yC6",aD4:"=9000000 + V.ha",td41:"=V.rw * COS(V.aD4 / V.d2r)",td42:"=V.rh * SIN(V.aD4 / V.d2r)",bD4:"=(ATAN2(V.td41,V.td42) * V.d2r)",xD4:"=width - V.xD1",xC4:"=width - V.xC1",xB4:"=width - V.xB1",aD5:"=12600000 + V.ha",td51:"=V.rw * COS(V.aD5 / V.d2r)",td52:"=V.rh * SIN(V.aD5 / V.d2r)",bD5:"=(ATAN2(V.td51,V.td52) * V.d2r)",xD5:"=width - V.xA1",xC5:"=width - V.xB1",xB5:"=width - V.xC1",xCxn1:"=(V.xB1 + V.xC1) / 2",yCxn1:"=(V.yB1 + V.yC1) / 2",b:n,yCxn2:"=height - V.yCxn1",r:V,xCxn4:"=(width) / V.xCxn1",cx1:"=C(V.rw,V.xD1,A(V.rw,V.rh,V.bD1),true)",cy1:"=C(V.rh,V.yD1,A(V.rw,V.rh,V.bD1))",cx2:"=C(V.rw,V.xA1,A(V.rw,V.rh,V.bD2),true)",cy2:"=C(V.rh,V.yD2,A(V.rw,V.rh,V.bD2))",cx3:"=C(V.rw,V.xA6,A(V.rw,V.rh,V.bD3),true)",cy3:"=C(V.rh,V.yD3,A(V.rw,V.rh,V.bD3))",cx4:"=C(V.rw,V.xD4,A(V.rw,V.rh,V.bD4),true)",cy4:"=C(V.rh,V.yA2,A(V.rw,V.rh,V.bD4))",cx5:"=C(V.rw,V.xD5,A(V.rw,V.rh,V.bD5),true)",cy5:"=C(V.rh,V.yA1,A(V.rw,V.rh,V.bD5))",cx6:"=C(V.rw,V.xD6,A(V.rw,V.rh,V.bD6),true)",cy6:"=C(V.rh,V.yD6,A(V.rw,V.rh,V.bD6))"},adjustInfo:[["adj1",15e3],["adj2",3526]],connectionPoints:[{x:"=V.xCxn1",y:"=V.yCxn1"},{x:"=V.xCxn1",y:"=V.yCxn2"},{x:e,y:"=V.yB3"},{x:"=V.xCxn4",y:"=V.yCxn2"},{x:"=V.xCxn4",y:"=V.yCxn1"},{x:e,y:"=V.yC6"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:2e4,position:{x:"xD6",y:"yD6"},point:["=V.xD6","=V.yD6"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5358,position:{x:"xA6",y:"yD6"},point:["=V.xA6","=V.yD6"]}],path:[[["M","=V.xA1","=V.yA1"],["L","=V.xB1","=V.yB1"],["L","=V.xC1","=V.yC1"],["L","=V.xD1","=V.yD1"],["E","=V.cx1","=V.cy1","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD1)","=A(V.rw,V.rh,(V.bD1 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xC1","=V.yB2"],["L","=V.xB1","=V.yC2"],["L","=V.xA1","=V.yD2"],["E","=V.cx2","=V.cy2","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD2)","=A(V.rw,V.rh,(V.bD2 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xF6","=V.yB3"],["L","=V.xE6","=V.yB3"],["L","=V.xA6","=V.yD3"],["E","=V.cx3","=V.cy3","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD3)","=A(V.rw,V.rh,(V.bD3 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xB4","=V.yC2"],["L","=V.xC4","=V.yB2"],["L","=V.xD4","=V.yA2"],["E","=V.cx4","=V.cy4","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD4)","=A(V.rw,V.rh,(V.bD4 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xB5","=V.yC1"],["L","=V.xC5","=V.yB1"],["L","=V.xD5","=V.yA1"],["E","=V.cx5","=V.cy5","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD5)","=A(V.rw,V.rh,(V.bD5 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xE6","=V.yC6"],["L","=V.xF6","=V.yC6"],["L","=V.xD6","=V.yD6"],["E","=V.cx6","=V.cy6","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD6)","=A(V.rw,V.rh,(V.bD6 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.xD5",top:"=V.yA1",right:"=V.xA1",bottom:"=V.yD2"}},gear9:{variables:{adj1:1e4,adj2:1763,a1:"=MIN(MAX(0, V.adj1), 20000)",a2:"=MIN(MAX(0, V.adj2), 2679)",ss:i,th:"=V.ss * V.a1 / 100000",lFD:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",l2:"=V.lFD / 2",l3:"=V.th2 + V.l2",hd2:f,rh:"=V.hd2 - V.th",wd2:y,rw:"=V.wd2 - V.th",dr:"=V.rw - V.rh",maxr:"=IF(V.dr > 0, V.rh, V.rw)",d2r:a,ha:"=(ATAN2(V.maxr,V.l3) * V.d2r)",aA1:"=18600000 - V.ha",aD1:"=18600000 + V.ha",ta11:"=V.rw * COS(V.aA1 / V.d2r)",ta12:"=V.rh * SIN(V.aA1 / V.d2r)",bA1:"=(ATAN2(V.ta11,V.ta12) * V.d2r)",cta1:"=V.rh * COS(V.bA1 / V.d2r)",sta1:"=V.rw * SIN(V.bA1 / V.d2r)",ma1:"=SQRT(V.cta1*V.cta1 + V.sta1*V.sta1)",na1:"=V.rw * V.rh / V.ma1",dxa1:"=V.na1 * COS(V.bA1 / V.d2r)",dya1:"=V.na1 * SIN(V.bA1 / V.d2r)",hc:y,xA1:"=V.hc + V.dxa1",vc:f,yA1:"=V.vc + V.dya1",td11:"=V.rw * COS(V.aD1 / V.d2r)",td12:"=V.rh * SIN(V.aD1 / V.d2r)",bD1:"=(ATAN2(V.td11,V.td12) * V.d2r)",ctd1:"=V.rh * COS(V.bD1 / V.d2r)",std1:"=V.rw * SIN(V.bD1 / V.d2r)",md1:"=SQRT(V.ctd1*V.ctd1 + V.std1*V.std1)",nd1:"=V.rw * V.rh / V.md1",dxd1:"=V.nd1 * COS(V.bD1 / V.d2r)",dyd1:"=V.nd1 * SIN(V.bD1 / V.d2r)",xD1:"=V.hc + V.dxd1",yD1:"=V.vc + V.dyd1",xAD1:"=V.xA1 - V.xD1",yAD1:"=V.yA1 - V.yD1",lAD1:"=SQRT(V.xAD1*V.xAD1 + V.yAD1*V.yAD1)",_a1:"=(ATAN2(V.yAD1,V.xAD1) * V.d2r)",dxF1:"=V.lFD * SIN(V._a1 / V.d2r)",dyF1:"=V.lFD * COS(V._a1 / V.d2r)",xF1:"=V.xD1 + V.dxF1",yF1:"=V.yD1 + V.dyF1",xE1:"=V.xA1 - V.dxF1",yE1:"=V.yA1 - V.dyF1",yC1t:"=V.th * SIN(V._a1 / V.d2r)",xC1t:"=V.th * COS(V._a1 / V.d2r)",yC1:"=V.yF1 + V.yC1t",xC1:"=V.xF1 - V.xC1t",yB1:"=V.yE1 + V.yC1t",xB1:"=V.xE1 - V.xC1t",aA2:"=21000000 - V.ha",aD2:"=21000000 + V.ha",ta21:"=V.rw * COS(V.aA2 / V.d2r)",ta22:"=V.rh * SIN(V.aA2 / V.d2r)",bA2:"=(ATAN2(V.ta21,V.ta22) * V.d2r)",cta2:"=V.rh * COS(V.bA2 / V.d2r)",sta2:"=V.rw * SIN(V.bA2 / V.d2r)",ma2:"=SQRT(V.cta2*V.cta2 + V.sta2*V.sta2)",na2:"=V.rw * V.rh / V.ma2",dxa2:"=V.na2 * COS(V.bA2 / V.d2r)",dya2:"=V.na2 * SIN(V.bA2 / V.d2r)",xA2:"=V.hc + V.dxa2",yA2:"=V.vc + V.dya2",td21:"=V.rw * COS(V.aD2 / V.d2r)",td22:"=V.rh * SIN(V.aD2 / V.d2r)",bD2:"=(ATAN2(V.td21,V.td22) * V.d2r)",ctd2:"=V.rh * COS(V.bD2 / V.d2r)",std2:"=V.rw * SIN(V.bD2 / V.d2r)",md2:"=SQRT(V.ctd2*V.ctd2 + V.std2*V.std2)",nd2:"=V.rw * V.rh / V.md2",dxd2:"=V.nd2 * COS(V.bD2 / V.d2r)",dyd2:"=V.nd2 * SIN(V.bD2 / V.d2r)",xD2:"=V.hc + V.dxd2",yD2:"=V.vc + V.dyd2",xAD2:"=V.xA2 - V.xD2",yAD2:"=V.yA2 - V.yD2",lAD2:"=SQRT(V.xAD2*V.xAD2 + V.yAD2*V.yAD2)",_a2:"=(ATAN2(V.yAD2,V.xAD2) * V.d2r)",dxF2:"=V.lFD * SIN(V._a2 / V.d2r)",dyF2:"=V.lFD * COS(V._a2 / V.d2r)",xF2:"=V.xD2 + V.dxF2",yF2:"=V.yD2 + V.dyF2",xE2:"=V.xA2 - V.dxF2",yE2:"=V.yA2 - V.dyF2",yC2t:"=V.th * SIN(V._a2 / V.d2r)",xC2t:"=V.th * COS(V._a2 / V.d2r)",yC2:"=V.yF2 + V.yC2t",xC2:"=V.xF2 - V.xC2t",yB2:"=V.yE2 + V.yC2t",xB2:"=V.xE2 - V.xC2t",swAng1:"=V.bA2 - V.bD1",aA3:"=1800000 - V.ha",aD3:"=1800000 + V.ha",ta31:"=V.rw * COS(V.aA3 / V.d2r)",ta32:"=V.rh * SIN(V.aA3 / V.d2r)",bA3:"=(ATAN2(V.ta31,V.ta32) * V.d2r)",cta3:"=V.rh * COS(V.bA3 / V.d2r)",sta3:"=V.rw * SIN(V.bA3 / V.d2r)",ma3:"=SQRT(V.cta3*V.cta3 + V.sta3*V.sta3)",na3:"=V.rw * V.rh / V.ma3",dxa3:"=V.na3 * COS(V.bA3 / V.d2r)",dya3:"=V.na3 * SIN(V.bA3 / V.d2r)",xA3:"=V.hc + V.dxa3",yA3:"=V.vc + V.dya3",td31:"=V.rw * COS(V.aD3 / V.d2r)",td32:"=V.rh * SIN(V.aD3 / V.d2r)",bD3:"=(ATAN2(V.td31,V.td32) * V.d2r)",ctd3:"=V.rh * COS(V.bD3 / V.d2r)",std3:"=V.rw * SIN(V.bD3 / V.d2r)",md3:"=SQRT(V.ctd3*V.ctd3 + V.std3*V.std3)",nd3:"=V.rw * V.rh / V.md3",dxd3:"=V.nd3 * COS(V.bD3 / V.d2r)",dyd3:"=V.nd3 * SIN(V.bD3 / V.d2r)",xD3:"=V.hc + V.dxd3",yD3:"=V.vc + V.dyd3",xAD3:"=V.xA3 - V.xD3",yAD3:"=V.yA3 - V.yD3",lAD3:"=SQRT(V.xAD3*V.xAD3 + V.yAD3*V.yAD3)",a3:"=(ATAN2(V.yAD3,V.xAD3) * V.d2r)",dxF3:"=V.lFD * SIN(V.a3 / V.d2r)",dyF3:"=V.lFD * COS(V.a3 / V.d2r)",xF3:"=V.xD3 + V.dxF3",yF3:"=V.yD3 + V.dyF3",xE3:"=V.xA3 - V.dxF3",yE3:"=V.yA3 - V.dyF3",yC3t:"=V.th * SIN(V.a3 / V.d2r)",xC3t:"=V.th * COS(V.a3 / V.d2r)",yC3:"=V.yF3 + V.yC3t",xC3:"=V.xF3 - V.xC3t",yB3:"=V.yE3 + V.yC3t",xB3:"=V.xE3 - V.xC3t",swAng2:"=V.bA3 - V.bD2",aA4:"=4200000 - V.ha",aD4:"=4200000 + V.ha",ta41:"=V.rw * COS(V.aA4 / V.d2r)",ta42:"=V.rh * SIN(V.aA4 / V.d2r)",bA4:"=(ATAN2(V.ta41,V.ta42) * V.d2r)",cta4:"=V.rh * COS(V.bA4 / V.d2r)",sta4:"=V.rw * SIN(V.bA4 / V.d2r)",ma4:"=SQRT(V.cta4*V.cta4 + V.sta4*V.sta4)",na4:"=V.rw * V.rh / V.ma4",dxa4:"=V.na4 * COS(V.bA4 / V.d2r)",dya4:"=V.na4 * SIN(V.bA4 / V.d2r)",xA4:"=V.hc + V.dxa4",yA4:"=V.vc + V.dya4",td41:"=V.rw * COS(V.aD4 / V.d2r)",td42:"=V.rh * SIN(V.aD4 / V.d2r)",bD4:"=(ATAN2(V.td41,V.td42) * V.d2r)",ctd4:"=V.rh * COS(V.bD4 / V.d2r)",std4:"=V.rw * SIN(V.bD4 / V.d2r)",md4:"=SQRT(V.ctd4*V.ctd4 + V.std4*V.std4)",nd4:"=V.rw * V.rh / V.md4",dxd4:"=V.nd4 * COS(V.bD4 / V.d2r)",dyd4:"=V.nd4 * SIN(V.bD4 / V.d2r)",xD4:"=V.hc + V.dxd4",yD4:"=V.vc + V.dyd4",xAD4:"=V.xA4 - V.xD4",yAD4:"=V.yA4 - V.yD4",lAD4:"=SQRT(V.xAD4*V.xAD4 + V.yAD4*V.yAD4)",a4:"=(ATAN2(V.yAD4,V.xAD4) * V.d2r)",dxF4:"=V.lFD * SIN(V.a4 / V.d2r)",dyF4:"=V.lFD * COS(V.a4 / V.d2r)",xF4:"=V.xD4 + V.dxF4",yF4:"=V.yD4 + V.dyF4",xE4:"=V.xA4 - V.dxF4",yE4:"=V.yA4 - V.dyF4",yC4t:"=V.th * SIN(V.a4 / V.d2r)",xC4t:"=V.th * COS(V.a4 / V.d2r)",yC4:"=V.yF4 + V.yC4t",xC4:"=V.xF4 - V.xC4t",yB4:"=V.yE4 + V.yC4t",xB4:"=V.xE4 - V.xC4t",swAng3:"=V.bA4 - V.bD3",aA5:"=6600000 - V.ha",aD5:"=6600000 + V.ha",ta51:"=V.rw * COS(V.aA5 / V.d2r)",ta52:"=V.rh * SIN(V.aA5 / V.d2r)",bA5:"=(ATAN2(V.ta51,V.ta52) * V.d2r)",td51:"=V.rw * COS(V.aD5 / V.d2r)",td52:"=V.rh * SIN(V.aD5 / V.d2r)",bD5:"=(ATAN2(V.td51,V.td52) * V.d2r)",xD5:"=width - V.xA4",xC5:"=width - V.xB4",xB5:"=width - V.xC4",swAng4:"=V.bA5 - V.bD4",aD6:"=9000000 + V.ha",td61:"=V.rw * COS(V.aD6 / V.d2r)",td62:"=V.rh * SIN(V.aD6 / V.d2r)",bD6:"=(ATAN2(V.td61,V.td62) * V.d2r)",xD6:"=width - V.xA3",xC6:"=width - V.xB3",xB6:"=width - V.xC3",aD7:"=11400000 + V.ha",td71:"=V.rw * COS(V.aD7 / V.d2r)",td72:"=V.rh * SIN(V.aD7 / V.d2r)",bD7:"=(ATAN2(V.td71,V.td72) * V.d2r)",xD7:"=width - V.xA2",xC7:"=width - V.xB2",xB7:"=width - V.xC2",aD8:"=13800000 + V.ha",td81:"=V.rw * COS(V.aD8 / V.d2r)",td82:"=V.rh * SIN(V.aD8 / V.d2r)",bD8:"=(ATAN2(V.td81,V.td82) * V.d2r)",xA8:"=width - V.xD1",xD8:"=width - V.xA1",xC8:"=width - V.xB1",xB8:"=width - V.xC1",_3cd4:x,aA9:"=V._3cd4 - V.ha",aD9:"=V._3cd4 + V.ha",td91:"=V.rw * COS(V.aD9 / V.d2r)",td92:"=V.rh * SIN(V.aD9 / V.d2r)",bD9:"=(ATAN2(V.td91,V.td92) * V.d2r)",ctd9:"=V.rh * COS(V.bD9 / V.d2r)",std9:"=V.rw * SIN(V.bD9 / V.d2r)",md9:"=SQRT(V.ctd9*V.ctd9 + V.std9*V.std9)",nd9:"=V.rw * V.rh / V.md9",dxd9:"=V.nd9 * COS(V.bD9 / V.d2r)",dyd9:"=V.nd9 * SIN(V.bD9 / V.d2r)",xD9:"=V.hc + V.dxd9",yD9:"=V.vc + V.dyd9",ta91:"=V.rw * COS(V.aA9 / V.d2r)",ta92:"=V.rh * SIN(V.aA9 / V.d2r)",bA9:"=(ATAN2(V.ta91,V.ta92) * V.d2r)",xA9:"=V.hc - V.dxd9",xF9:"=V.xD9 - V.lFD",xE9:"=V.xA9 + V.lFD",yC9:"=V.yD9 - V.th",swAng5:"=V.bA9 - V.bD8",xCxn1:"=(V.xB1 + V.xC1) / 2",yCxn1:"=(V.yB1 + V.yC1) / 2",xCxn2:"=(V.xB2 + V.xC2) / 2",yCxn2:"=(V.yB2 + V.yC2) / 2",xCxn3:"=(V.xB3 + V.xC3) / 2",yCxn3:"=(V.yB3 + V.yC3) / 2",xCxn4:"=(V.xB4 + V.xC4) / 2",yCxn4:"=(V.yB4 + V.yC4) / 2",r:V,xCxn5:"=(V.xB5 + V.xC5) / 2",xCxn6:"=(V.xB6 + V.xC6) / 2",xCxn7:"=(V.xB7 + V.xC7) / 2",xCxn8:"=(V.xB8 + V.xC8) / 2",cx1:"=C(V.rw,V.xD1,A(V.rw,V.rh,V.bD1),true)",cy1:"=C(V.rh,V.yD1,A(V.rw,V.rh,V.bD1))",cx2:"=C(V.rw,V.xD2,A(V.rw,V.rh,V.bD2),true)",cy2:"=C(V.rh,V.yD2,A(V.rw,V.rh,V.bD2))",cx3:"=C(V.rw,V.xD3,A(V.rw,V.rh,V.bD3),true)",cy3:"=C(V.rh,V.yD3,A(V.rw,V.rh,V.bD3))",cx4:"=C(V.rw,V.xD4,A(V.rw,V.rh,V.bD4),true)",cy4:"=C(V.rh,V.yD4,A(V.rw,V.rh,V.bD4))",cx5:"=C(V.rw,V.xD5,A(V.rw,V.rh,V.bD5),true)",cy5:"=C(V.rh,V.yA4,A(V.rw,V.rh,V.bD5))",cx6:"=C(V.rw,V.xD6,A(V.rw,V.rh,V.bD6),true)",cy6:"=C(V.rh,V.yA3,A(V.rw,V.rh,V.bD6))",cx7:"=C(V.rw,V.xD7,A(V.rw,V.rh,V.bD7),true)",cy7:"=C(V.rh,V.yA2,A(V.rw,V.rh,V.bD7))",cx8:"=C(V.rw,V.xD8,A(V.rw,V.rh,V.bD8),true)",cy8:"=C(V.rh,V.yA1,A(V.rw,V.rh,V.bD8))",cx9:"=C(V.rw,V.xD9,A(V.rw,V.rh,V.bD9),true)",cy9:"=C(V.rh,V.yD9,A(V.rw,V.rh,V.bD9))"},adjustInfo:[["adj1",1e4],["adj2",1763]],connectionPoints:[{x:"=V.xCxn1",y:"=V.yCxn1"},{x:"=V.xCxn2",y:"=V.yCxn2"},{x:"=V.xCxn3",y:"=V.yCxn3"},{x:"=V.xCxn4",y:"=V.yCxn4"},{x:"=V.xCxn5",y:"=V.yCxn4"},{x:"=V.xCxn6",y:"=V.yCxn3"},{x:"=V.xCxn7",y:"=V.yCxn2"},{x:"=V.xCxn8",y:"=V.yCxn1"},{x:e,y:"=V.yC9"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:2e4,position:{x:"xD9",y:"yD9"},point:["=V.xD9","=V.yD9"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:2679,position:{x:"xA9",y:"yD9"},point:["=V.xA9","=V.yD9"]}],path:[[["M","=V.xA1","=V.yA1"],["L","=V.xB1","=V.yB1"],["L","=V.xC1","=V.yC1"],["L","=V.xD1","=V.yD1"],["E","=V.cx1","=V.cy1","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD1)","=A(V.rw,V.rh,(V.bD1 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xB2","=V.yB2"],["L","=V.xC2","=V.yC2"],["L","=V.xD2","=V.yD2"],["E","=V.cx2","=V.cy2","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD2)","=A(V.rw,V.rh,(V.bD2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xB3","=V.yB3"],["L","=V.xC3","=V.yC3"],["L","=V.xD3","=V.yD3"],["E","=V.cx3","=V.cy3","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD3)","=A(V.rw,V.rh,(V.bD3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["L","=V.xB4","=V.yB4"],["L","=V.xC4","=V.yC4"],["L","=V.xD4","=V.yD4"],["E","=V.cx4","=V.cy4","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD4)","=A(V.rw,V.rh,(V.bD4 + V.swAng4))","=IF(V.swAng4 > 0, FALSE, TRUE)"],["L","=V.xB5","=V.yC4"],["L","=V.xC5","=V.yB4"],["L","=V.xD5","=V.yA4"],["E","=V.cx5","=V.cy5","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD5)","=A(V.rw,V.rh,(V.bD5 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["L","=V.xB6","=V.yC3"],["L","=V.xC6","=V.yB3"],["L","=V.xD6","=V.yA3"],["E","=V.cx6","=V.cy6","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD6)","=A(V.rw,V.rh,(V.bD6 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xB7","=V.yC2"],["L","=V.xC7","=V.yB2"],["L","=V.xD7","=V.yA2"],["E","=V.cx7","=V.cy7","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD7)","=A(V.rw,V.rh,(V.bD7 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xB8","=V.yC1"],["L","=V.xC8","=V.yB1"],["L","=V.xD8","=V.yA1"],["E","=V.cx8","=V.cy8","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD8)","=A(V.rw,V.rh,(V.bD8 + V.swAng5))","=IF(V.swAng5 > 0, FALSE, TRUE)"],["L","=V.xE9","=V.yC9"],["L","=V.xF9","=V.yC9"],["L","=V.xD9","=V.yD9"],["E","=V.cx9","=V.cy9","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD9)","=A(V.rw,V.rh,(V.bD9 + V.swAng5))","=IF(V.swAng5 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.xA8",top:"=V.yD1",right:"=V.xD1",bottom:"=V.yD3"}},funnel:{variables:{ss:i,d:"=V.ss / 20",wd2:y,rw2:"=V.wd2 - V.d",hd4:"=height/4",rh2:"=V.hd4 - V.d",d2r:a,t1:"=V.wd2 * COS(480000 / V.d2r)",t2:"=V.hd4 * SIN(480000 / V.d2r)",da:"=(ATAN2(V.t1,V.t2) * V.d2r)","2da":"=V.da * 2",cd2:h,stAng1:"=V.cd2 - V.da",swAng1:"=V.cd2 + V.2da",swAng3:"=V.cd2 - V.2da",rw3:"=V.wd2 / 4",rh3:"=V.hd4 / 4",ct1:"=V.hd4 * COS(V.stAng1 / V.d2r)",st1:"=V.wd2 * SIN(V.stAng1 / V.d2r)",m1:"=SQRT(V.ct1*V.ct1 + V.st1*V.st1)",n1:"=V.wd2 * V.hd4 / V.m1",dx1:"=V.n1 * COS(V.stAng1 / V.d2r)",dy1:"=V.n1 * SIN(V.stAng1 / V.d2r)",hc:y,x1:"=V.hc + V.dx1",y1:"=V.hd4 + V.dy1",ct3:"=V.rh3 * COS(V.da / V.d2r)",st3:"=V.rw3 * SIN(V.da / V.d2r)",m3:"=SQRT(V.ct3*V.ct3 + V.st3*V.st3)",n3:"=V.rw3 * V.rh3 / V.m3",dx3:"=V.n3 * COS(V.da / V.d2r)",dy3:"=V.n3 * SIN(V.da / V.d2r)",x3:"=V.hc + V.dx3",b:n,vc3:"=height - V.rh3",y2:"=V.vc3 + V.dy3",x2:"=V.wd2 - V.rw2",cd:"=V.cd2 * 2",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd4,V.stAng1),true)",cy1:"=C(V.hd4,V.y1,A(V.wd2,V.hd4,V.stAng1))",cx2:"=C(V.rw3,V.x3,A(V.rw3,V.rh3,V.da),true)",cy2:"=C(V.rh3,V.y2,A(V.rw3,V.rh3,V.da))",cx3:"=C(V.rw2,V.x2,A(V.rw2,V.rh2,V.cd2),true)",cy3:"=C(V.rh2,V.hd4,A(V.rw2,V.rh2,V.cd2))"},path:[[["M",r,d],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd4",0,"=A(V.wd2,V.hd4,V.stAng1)","=A(V.wd2,V.hd4,(V.stAng1 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.x3",o],["E","=V.cx2","=V.cy2","=V.rw3","=V.rh3",0,"=A(V.rw3,V.rh3,V.da)","=A(V.rw3,V.rh3,(V.da + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["Z"],["M",s,"=V.hd4"],["E","=V.cx3","=V.cy3","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.cd2)","=A(V.rw2,V.rh2,(V.cd2 + -21600000))","=IF(-21600000 > 0, FALSE, TRUE)"],["Z"],{}]]},pieWedge:{variables:{d2r:a,g1:"=width * COS(13500000 / V.d2r)",g2:"=height * SIN(13500000 / V.d2r)",r:V,x1:"=width + V.g1",b:n,y1:"=height + V.g2",vc:f,hc:y,l:0,cd2:h,cd4:u,cx1:"=C(width,V.l,A(width,height,V.cd2),true)",cy1:"=C(height,V.b,A(width,height,V.cd2))"},connectionPoints:[{x:V,y:c},{x:e,y:n}],path:[[["M",0,n],["E","=V.cx1","=V.cy1",V,n,0,"=A(width,height,V.cd2)","=A(width,height,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,n],["Z"],{}]],textRect:{left:r,top:d,right:V,bottom:n}},leftCircularArrow:{variables:{adj1:12500,adj2:-1142319,adj3:1142319,adj4:h,adj5:12500,a5:"=MIN(MAX(0, V.adj5), 25000)",maxAdj1:"=V.a5 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",enAng:"=MIN(MAX(1, V.adj3), 21599999)",stAng:"=MIN(MAX(0, V.adj4), 21599999)",ss:i,th:"=V.ss * V.a1 / 100000",thh:"=V.ss * V.a5 / 100000",th2:"=V.th / 2",wd2:y,rw1:"=V.wd2 + V.th2 - V.thh",hd2:f,rh1:"=V.hd2 + V.th2 - V.thh",rw2:"=V.rw1 - V.th",rh2:"=V.rh1 - V.th",rw3:"=V.rw2 + V.th2",rh3:"=V.rh2 + V.th2",d2r:a,wtH:"=V.rw3 * SIN(V.enAng / V.d2r)",htH:"=V.rh3 * COS(V.enAng / V.d2r)",dxH:"=V.rw3 * COS(ATAN2(V.htH,V.wtH))",dyH:"=V.rh3 * SIN(ATAN2(V.htH,V.wtH))",hc:y,xH:"=V.hc + V.dxH",vc:f,yH:"=V.vc + V.dyH",rI:"=MIN(V.rw2, V.rh2)",u1:"=V.dxH * V.dxH",u2:"=V.dyH * V.dyH",u3:"=V.rI * V.rI",u4:"=V.u1 - V.u3",u5:"=V.u2 - V.u3",u6:"=V.u4 * V.u5 / V.u1",u7:"=V.u6 / V.u2",u8:"=1 - V.u7",u9:"=SQRT(V.u8)",u10:"=V.u4 / V.dxH",u11:"=V.u10 / V.dyH",u12:"=(1 + V.u9) / V.u11",u13:"=(ATAN2(1,V.u12) * V.d2r)",u14:"=V.u13 + 21600000",u15:"=IF(V.u13 > 0, V.u13, V.u14)",u16:"=V.u15 - V.enAng",u17:"=V.u16 + 21600000",u18:"=IF(V.u16 > 0, V.u16, V.u17)",cd2:h,u19:"=V.u18 - V.cd2",u20:"=V.u18 - 21600000",u21:"=IF(V.u19 > 0, V.u20, V.u18)",u22:"=ABS(V.u21)",minAng:"=V.u22 * -1",u23:"=ABS(V.adj2)",a2:"=V.u23 * -1",aAng:"=MIN(MAX(V.minAng, V.a2), 0)",ptAng:"=V.enAng + V.aAng",wtA:"=V.rw3 * SIN(V.ptAng / V.d2r)",htA:"=V.rh3 * COS(V.ptAng / V.d2r)",dxA:"=V.rw3 * COS(ATAN2(V.htA,V.wtA))",dyA:"=V.rh3 * SIN(ATAN2(V.htA,V.wtA))",xA:"=V.hc + V.dxA",yA:"=V.vc + V.dyA",wtE:"=V.rw1 * SIN(V.stAng / V.d2r)",htE:"=V.rh1 * COS(V.stAng / V.d2r)",dxE:"=V.rw1 * COS(ATAN2(V.htE,V.wtE))",dyE:"=V.rh1 * SIN(ATAN2(V.htE,V.wtE))",xE:"=V.hc + V.dxE",yE:"=V.vc + V.dyE",wtD:"=V.rw2 * SIN(V.stAng / V.d2r)",htD:"=V.rh2 * COS(V.stAng / V.d2r)",dxD:"=V.rw2 * COS(ATAN2(V.htD,V.wtD))",dyD:"=V.rh2 * SIN(ATAN2(V.htD,V.wtD))",xD:"=V.hc + V.dxD",yD:"=V.vc + V.dyD",dxG:"=V.thh * COS(V.ptAng / V.d2r)",dyG:"=V.thh * SIN(V.ptAng / V.d2r)",xG:"=V.xH + V.dxG",yG:"=V.yH + V.dyG",dxB:"=V.thh * COS(V.ptAng / V.d2r)",dyB:"=V.thh * SIN(V.ptAng / V.d2r)",xB:"=V.xH - V.dxB",yB:"=V.yH - V.dyB",sx1:"=V.xB - V.hc",sy1:"=V.yB - V.vc",sx2:"=V.xG - V.hc",sy2:"=V.yG - V.vc",rO:"=MIN(V.rw1, V.rh1)",x1O:"=V.sx1 * V.rO / V.rw1",y1O:"=V.sy1 * V.rO / V.rh1",x2O:"=V.sx2 * V.rO / V.rw1",y2O:"=V.sy2 * V.rO / V.rh1",dxO:"=V.x2O - V.x1O",dyO:"=V.y2O - V.y1O",dO:"=SQRT(V.dxO*V.dxO + V.dyO*V.dyO)",q1:"=V.x1O * V.y2O",q2:"=V.x2O * V.y1O",DO:"=V.q1 - V.q2",q3:"=V.rO * V.rO",q4:"=V.dO * V.dO",q5:"=V.q3 * V.q4",q6:"=V.DO * V.DO",q7:"=V.q5 - V.q6",q8:"=MAX(V.q7, 0)",sdelO:"=SQRT(V.q8)",ndyO:"=V.dyO * -1",sdyO:"=IF(V.ndyO > 0, -1, 1)",q9:"=V.sdyO * V.dxO",q10:"=V.q9 * V.sdelO",q11:"=V.DO * V.dyO",dxF1:"=(V.q11 + V.q10) / V.q4",q12:"=V.q11 - V.q10",dxF2:"=V.q12 / V.q4",adyO:"=ABS(V.dyO)",q13:"=V.adyO * V.sdelO",q14:"=V.DO * V.dxO / -1",dyF1:"=(V.q14 + V.q13) / V.q4",q15:"=V.q14 - V.q13",dyF2:"=V.q15 / V.q4",q16:"=V.x2O - V.dxF1",q17:"=V.x2O - V.dxF2",q18:"=V.y2O - V.dyF1",q19:"=V.y2O - V.dyF2",q20:"=SQRT(V.q16*V.q16 + V.q18*V.q18)",q21:"=SQRT(V.q17*V.q17 + V.q19*V.q19)",q22:"=V.q21 - V.q20",dxF:"=IF(V.q22 > 0, V.dxF1, V.dxF2)",dyF:"=IF(V.q22 > 0, V.dyF1, V.dyF2)",sdxF:"=V.dxF * V.rw1 / V.rO",sdyF:"=V.dyF * V.rh1 / V.rO",xF:"=V.hc + V.sdxF",yF:"=V.vc + V.sdyF",x1I:"=V.sx1 * V.rI / V.rw2",y1I:"=V.sy1 * V.rI / V.rh2",x2I:"=V.sx2 * V.rI / V.rw2",y2I:"=V.sy2 * V.rI / V.rh2",dxI:"=V.x2I - V.x1I",dyI:"=V.y2I - V.y1I",dI:"=SQRT(V.dxI*V.dxI + V.dyI*V.dyI)",v1:"=V.x1I * V.y2I",v2:"=V.x2I * V.y1I",DI:"=V.v1 - V.v2",v3:"=V.rI * V.rI",v4:"=V.dI * V.dI",v5:"=V.v3 * V.v4",v6:"=V.DI * V.DI",v7:"=V.v5 - V.v6",v8:"=MAX(V.v7, 0)",sdelI:"=SQRT(V.v8)",v9:"=V.sdyO * V.dxI",v10:"=V.v9 * V.sdelI",v11:"=V.DI * V.dyI",dxC1:"=(V.v11 + V.v10) / V.v4",v12:"=V.v11 - V.v10",dxC2:"=V.v12 / V.v4",adyI:"=ABS(V.dyI)",v13:"=V.adyI * V.sdelI",v14:"=V.DI * V.dxI / -1",dyC1:"=(V.v14 + V.v13) / V.v4",v15:"=V.v14 - V.v13",dyC2:"=V.v15 / V.v4",v16:"=V.x1I - V.dxC1",v17:"=V.x1I - V.dxC2",v18:"=V.y1I - V.dyC1",v19:"=V.y1I - V.dyC2",v20:"=SQRT(V.v16*V.v16 + V.v18*V.v18)",v21:"=SQRT(V.v17*V.v17 + V.v19*V.v19)",v22:"=V.v21 - V.v20",dxC:"=IF(V.v22 > 0, V.dxC1, V.dxC2)",dyC:"=IF(V.v22 > 0, V.dyC1, V.dyC2)",sdxC:"=V.dxC * V.rw2 / V.rI",sdyC:"=V.dyC * V.rh2 / V.rI",xC:"=V.hc + V.sdxC",yC:"=V.vc + V.sdyC",ist0:"=(ATAN2(V.sdxC,V.sdyC) * V.d2r)",ist1:"=V.ist0 + 21600000",istAng0:"=IF(V.ist0 > 0, V.ist0, V.ist1)",isw1:"=V.stAng - V.istAng0",isw2:"=V.isw1 + 21600000",iswAng0:"=IF(V.isw1 > 0, V.isw1, V.isw2)",istAng:"=V.istAng0 + V.iswAng0",iswAng:"=0 - V.iswAng0",p1:"=V.xF - V.xC",p2:"=V.yF - V.yC",p3:"=SQRT(V.p1*V.p1 + V.p2*V.p2)",p4:"=V.p3 / 2",p5:"=V.p4 - V.thh",xGp:"=IF(V.p5 > 0, V.xF, V.xG)",yGp:"=IF(V.p5 > 0, V.yF, V.yG)",xBp:"=IF(V.p5 > 0, V.xC, V.xB)",yBp:"=IF(V.p5 > 0, V.yC, V.yB)",en0:"=(ATAN2(V.sdxF,V.sdyF) * V.d2r)",en1:"=V.en0 + 21600000",en2:"=IF(V.en0 > 0, V.en0, V.en1)",sw0:"=V.en2 - V.stAng",sw1:"=V.sw0 - 21600000",swAng:"=IF(V.sw0 > 0, V.sw1, V.sw0)",stAng0:"=V.stAng + V.swAng",swAng0:"=0 - V.swAng",wtI:"=V.rw3 * SIN(V.stAng / V.d2r)",htI:"=V.rh3 * COS(V.stAng / V.d2r)",_dxI:"=V.rw3 * COS(ATAN2(V.htI,V.wtI))",_dyI:"=V.rh3 * SIN(ATAN2(V.htI,V.wtI))",xI:"=V.hc + V._dxI",yI:"=V.vc + V._dyI",cd4:u,aI:"=V.stAng + V.cd4",aA:"=V.ptAng - V.cd4",aB:"=V.ptAng + V.cd2",idx:"=V.rw1 * COS(2700000 / V.d2r)",idy:"=V.rh1 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.rw2,V.xD,A(V.rw2,V.rh2,V.istAng),true)",cy1:"=C(V.rh2,V.yD,A(V.rw2,V.rh2,V.istAng))",cx2:"=C(V.rw1,V.xF,A(V.rw1,V.rh1,V.stAng0),true)",cy2:"=C(V.rh1,V.yF,A(V.rw1,V.rh1,V.stAng0))"},adjustInfo:[["adj1",12500],["adj2",-1142319],["adj3",1142319],["adj4",108e5],["adj5",12500]],connectionPoints:[{x:"=V.xI",y:"=V.yI"},{x:"=V.xGp",y:"=V.yGp"},{x:"=V.xA",y:"=V.yA"},{x:"=V.xBp",y:"=V.yBp"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj2",minAng:"minAng",maxAng:0,position:{x:"xA",y:"yA"},point:["=V.xA","=V.yA"]},{type:"ahPolar",gdRefAng:"adj4",minAng:0,maxAng:21599999,position:{x:"xE",y:"yE"},point:["=V.xE","=V.yE"]},{type:"ahPolar",gdRefR:"adj1",minR:0,maxR:"maxAdj1",gdRefAng:"adj3",minAng:0,maxAng:21599999,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahPolar",gdRefR:"adj5",minR:0,maxR:25e3,position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M","=V.xE","=V.yE"],["L","=V.xD","=V.yD"],["E","=V.cx1","=V.cy1","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.istAng)","=A(V.rw2,V.rh2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["L","=V.xBp","=V.yBp"],["L","=V.xA","=V.yA"],["L","=V.xGp","=V.yGp"],["L","=V.xF","=V.yF"],["E","=V.cx2","=V.cy2","=V.rw1","=V.rh1",0,"=A(V.rw1,V.rh1,V.stAng0)","=A(V.rw1,V.rh1,(V.stAng0 + V.swAng0))","=IF(V.swAng0 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},leftRightCircularArrow:{variables:{adj1:12500,adj2:1142319,adj3:20457681,adj4:11942319,adj5:12500,a5:"=MIN(MAX(0, V.adj5), 25000)",maxAdj1:"=V.a5 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",enAng:"=MIN(MAX(1, V.adj3), 21599999)",stAng:"=MIN(MAX(0, V.adj4), 21599999)",ss:i,th:"=V.ss * V.a1 / 100000",thh:"=V.ss * V.a5 / 100000",th2:"=V.th / 2",wd2:y,rw1:"=V.wd2 + V.th2 - V.thh",hd2:f,rh1:"=V.hd2 + V.th2 - V.thh",rw2:"=V.rw1 - V.th",rh2:"=V.rh1 - V.th",rw3:"=V.rw2 + V.th2",rh3:"=V.rh2 + V.th2",d2r:a,wtH:"=V.rw3 * SIN(V.enAng / V.d2r)",htH:"=V.rh3 * COS(V.enAng / V.d2r)",dxH:"=V.rw3 * COS(ATAN2(V.htH,V.wtH))",dyH:"=V.rh3 * SIN(ATAN2(V.htH,V.wtH))",hc:y,xH:"=V.hc + V.dxH",vc:f,yH:"=V.vc + V.dyH",rI:"=MIN(V.rw2, V.rh2)",u1:"=V.dxH * V.dxH",u2:"=V.dyH * V.dyH",u3:"=V.rI * V.rI",u4:"=V.u1 - V.u3",u5:"=V.u2 - V.u3",u6:"=V.u4 * V.u5 / V.u1",u7:"=V.u6 / V.u2",u8:"=1 - V.u7",u9:"=SQRT(V.u8)",u10:"=V.u4 / V.dxH",u11:"=V.u10 / V.dyH",u12:"=(1 + V.u9) / V.u11",u13:"=(ATAN2(1,V.u12) * V.d2r)",u14:"=V.u13 + 21600000",u15:"=IF(V.u13 > 0, V.u13, V.u14)",u16:"=V.u15 - V.enAng",u17:"=V.u16 + 21600000",u18:"=IF(V.u16 > 0, V.u16, V.u17)",cd2:h,u19:"=V.u18 - V.cd2",u20:"=V.u18 - 21600000",u21:"=IF(V.u19 > 0, V.u20, V.u18)",maxAng:"=ABS(V.u21)",aAng:"=MIN(MAX(0, V.adj2), V.maxAng)",ptAng:"=V.enAng + V.aAng",wtA:"=V.rw3 * SIN(V.ptAng / V.d2r)",htA:"=V.rh3 * COS(V.ptAng / V.d2r)",dxA:"=V.rw3 * COS(ATAN2(V.htA,V.wtA))",dyA:"=V.rh3 * SIN(ATAN2(V.htA,V.wtA))",xA:"=V.hc + V.dxA",yA:"=V.vc + V.dyA",dxG:"=V.thh * COS(V.ptAng / V.d2r)",dyG:"=V.thh * SIN(V.ptAng / V.d2r)",xG:"=V.xH + V.dxG",yG:"=V.yH + V.dyG",dxB:"=V.thh * COS(V.ptAng / V.d2r)",dyB:"=V.thh * SIN(V.ptAng / V.d2r)",xB:"=V.xH - V.dxB",yB:"=V.yH - V.dyB",sx1:"=V.xB - V.hc",sy1:"=V.yB - V.vc",sx2:"=V.xG - V.hc",sy2:"=V.yG - V.vc",rO:"=MIN(V.rw1, V.rh1)",x1O:"=V.sx1 * V.rO / V.rw1",y1O:"=V.sy1 * V.rO / V.rh1",x2O:"=V.sx2 * V.rO / V.rw1",y2O:"=V.sy2 * V.rO / V.rh1",dxO:"=V.x2O - V.x1O",dyO:"=V.y2O - V.y1O",dO:"=SQRT(V.dxO*V.dxO + V.dyO*V.dyO)",q1:"=V.x1O * V.y2O",q2:"=V.x2O * V.y1O",DO:"=V.q1 - V.q2",q3:"=V.rO * V.rO",q4:"=V.dO * V.dO",q5:"=V.q3 * V.q4",q6:"=V.DO * V.DO",q7:"=V.q5 - V.q6",q8:"=MAX(V.q7, 0)",sdelO:"=SQRT(V.q8)",ndyO:"=V.dyO * -1",sdyO:"=IF(V.ndyO > 0, -1, 1)",q9:"=V.sdyO * V.dxO",q10:"=V.q9 * V.sdelO",q11:"=V.DO * V.dyO",dxF1:"=(V.q11 + V.q10) / V.q4",q12:"=V.q11 - V.q10",dxF2:"=V.q12 / V.q4",adyO:"=ABS(V.dyO)",q13:"=V.adyO * V.sdelO",q14:"=V.DO * V.dxO / -1",dyF1:"=(V.q14 + V.q13) / V.q4",q15:"=V.q14 - V.q13",dyF2:"=V.q15 / V.q4",q16:"=V.x2O - V.dxF1",q17:"=V.x2O - V.dxF2",q18:"=V.y2O - V.dyF1",q19:"=V.y2O - V.dyF2",q20:"=SQRT(V.q16*V.q16 + V.q18*V.q18)",q21:"=SQRT(V.q17*V.q17 + V.q19*V.q19)",q22:"=V.q21 - V.q20",dxF:"=IF(V.q22 > 0, V.dxF1, V.dxF2)",dyF:"=IF(V.q22 > 0, V.dyF1, V.dyF2)",sdxF:"=V.dxF * V.rw1 / V.rO",sdyF:"=V.dyF * V.rh1 / V.rO",xF:"=V.hc + V.sdxF",yF:"=V.vc + V.sdyF",x1I:"=V.sx1 * V.rI / V.rw2",y1I:"=V.sy1 * V.rI / V.rh2",x2I:"=V.sx2 * V.rI / V.rw2",y2I:"=V.sy2 * V.rI / V.rh2",dxI:"=V.x2I - V.x1I",dyI:"=V.y2I - V.y1I",dI:"=SQRT(V.dxI*V.dxI + V.dyI*V.dyI)",v1:"=V.x1I * V.y2I",v2:"=V.x2I * V.y1I",DI:"=V.v1 - V.v2",v3:"=V.rI * V.rI",v4:"=V.dI * V.dI",v5:"=V.v3 * V.v4",v6:"=V.DI * V.DI",v7:"=V.v5 - V.v6",v8:"=MAX(V.v7, 0)",sdelI:"=SQRT(V.v8)",v9:"=V.sdyO * V.dxI",v10:"=V.v9 * V.sdelI",v11:"=V.DI * V.dyI",dxC1:"=(V.v11 + V.v10) / V.v4",v12:"=V.v11 - V.v10",dxC2:"=V.v12 / V.v4",adyI:"=ABS(V.dyI)",v13:"=V.adyI * V.sdelI",v14:"=V.DI * V.dxI / -1",dyC1:"=(V.v14 + V.v13) / V.v4",v15:"=V.v14 - V.v13",dyC2:"=V.v15 / V.v4",v16:"=V.x1I - V.dxC1",v17:"=V.x1I - V.dxC2",v18:"=V.y1I - V.dyC1",v19:"=V.y1I - V.dyC2",v20:"=SQRT(V.v16*V.v16 + V.v18*V.v18)",v21:"=SQRT(V.v17*V.v17 + V.v19*V.v19)",v22:"=V.v21 - V.v20",dxC:"=IF(V.v22 > 0, V.dxC1, V.dxC2)",dyC:"=IF(V.v22 > 0, V.dyC1, V.dyC2)",sdxC:"=V.dxC * V.rw2 / V.rI",sdyC:"=V.dyC * V.rh2 / V.rI",xC:"=V.hc + V.sdxC",yC:"=V.vc + V.sdyC",wtI:"=V.rw3 * SIN(V.stAng / V.d2r)",htI:"=V.rh3 * COS(V.stAng / V.d2r)",_dxI:"=V.rw3 * COS(ATAN2(V.htI,V.wtI))",_dyI:"=V.rh3 * SIN(ATAN2(V.htI,V.wtI))",xI:"=V.hc + V._dxI",yI:"=V.vc + V._dyI",lptAng:"=V.stAng - V.aAng",wtL:"=V.rw3 * SIN(V.lptAng / V.d2r)",htL:"=V.rh3 * COS(V.lptAng / V.d2r)",dxL:"=V.rw3 * COS(ATAN2(V.htL,V.wtL))",dyL:"=V.rh3 * SIN(ATAN2(V.htL,V.wtL))",xL:"=V.hc + V.dxL",yL:"=V.vc + V.dyL",dxK:"=V.thh * COS(V.lptAng / V.d2r)",dyK:"=V.thh * SIN(V.lptAng / V.d2r)",xK:"=V.xI + V.dxK",yK:"=V.yI + V.dyK",dxJ:"=V.thh * COS(V.lptAng / V.d2r)",dyJ:"=V.thh * SIN(V.lptAng / V.d2r)",xJ:"=V.xI - V.dxJ",yJ:"=V.yI - V.dyJ",p1:"=V.xF - V.xC",p2:"=V.yF - V.yC",p3:"=SQRT(V.p1*V.p1 + V.p2*V.p2)",p4:"=V.p3 / 2",p5:"=V.p4 - V.thh",xGp:"=IF(V.p5 > 0, V.xF, V.xG)",yGp:"=IF(V.p5 > 0, V.yF, V.yG)",xBp:"=IF(V.p5 > 0, V.xC, V.xB)",yBp:"=IF(V.p5 > 0, V.yC, V.yB)",en0:"=(ATAN2(V.sdxF,V.sdyF) * V.d2r)",en1:"=V.en0 + 21600000",en2:"=IF(V.en0 > 0, V.en0, V.en1)",od0:"=V.en2 - V.enAng",od1:"=V.od0 + 21600000",od2:"=IF(V.od0 > 0, V.od0, V.od1)",st0:"=V.stAng - V.od2",st1:"=V.st0 + 21600000",st2:"=IF(V.st0 > 0, V.st0, V.st1)",sw0:"=V.en2 - V.st2",sw1:"=V.sw0 + 21600000",swAng:"=IF(V.sw0 > 0, V.sw0, V.sw1)",ist0:"=(ATAN2(V.sdxC,V.sdyC) * V.d2r)",ist1:"=V.ist0 + 21600000",istAng:"=IF(V.ist0 > 0, V.ist0, V.ist1)",id0:"=V.istAng - V.enAng",id1:"=V.id0 - 21600000",id2:"=IF(V.id0 > 0, V.id1, V.id0)",ien0:"=V.stAng - V.id2",ien1:"=V.ien0 - 21600000",ien2:"=IF(V.ien1 > 0, V.ien1, V.ien0)",isw1:"=V.ien2 - V.istAng",isw2:"=V.isw1 - 21600000",iswAng:"=IF(V.isw1 > 0, V.isw2, V.isw1)",wtE:"=V.rw1 * SIN(V.st2 / V.d2r)",htE:"=V.rh1 * COS(V.st2 / V.d2r)",dxE:"=V.rw1 * COS(ATAN2(V.htE,V.wtE))",dyE:"=V.rh1 * SIN(ATAN2(V.htE,V.wtE))",xE:"=V.hc + V.dxE",yE:"=V.vc + V.dyE",wtD:"=V.rw2 * SIN(V.ien2 / V.d2r)",htD:"=V.rh2 * COS(V.ien2 / V.d2r)",dxD:"=V.rw2 * COS(ATAN2(V.htD,V.wtD))",dyD:"=V.rh2 * SIN(ATAN2(V.htD,V.wtD))",xD:"=V.hc + V.dxD",yD:"=V.vc + V.dyD",xKp:"=IF(V.p5 > 0, V.xE, V.xK)",yKp:"=IF(V.p5 > 0, V.yE, V.yK)",xJp:"=IF(V.p5 > 0, V.xD, V.xJ)",yJp:"=IF(V.p5 > 0, V.yD, V.yJ)",cd4:u,aL:"=V.lptAng - V.cd4",aA:"=V.ptAng + V.cd4",aB:"=V.ptAng + V.cd2",aJ:"=V.lptAng + V.cd2",idx:"=V.rw1 * COS(2700000 / V.d2r)",idy:"=V.rh1 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.rw1,V.xE,A(V.rw1,V.rh1,V.st2),true)",cy1:"=C(V.rh1,V.yE,A(V.rw1,V.rh1,V.st2))",cx2:"=C(V.rw2,V.xC,A(V.rw2,V.rh2,V.istAng),true)",cy2:"=C(V.rh2,V.yC,A(V.rw2,V.rh2,V.istAng))"},adjustInfo:[["adj1",12500],["adj2",1142319],["adj3",20457681],["adj4",11942319],["adj5",12500]],connectionPoints:[{x:"=V.xL",y:"=V.yL"},{x:"=V.xKp",y:"=V.yKp"},{x:"=V.xGp",y:"=V.yGp"},{x:"=V.xA",y:"=V.yA"},{x:"=V.xBp",y:"=V.yBp"},{x:"=V.xJp",y:"=V.yJp"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:"maxAng",position:{x:"xA",y:"yA"},point:["=V.xA","=V.yA"]},{type:"ahPolar",gdRefAng:"adj4",minAng:0,maxAng:21599999,position:{x:"xE",y:"yE"},point:["=V.xE","=V.yE"]},{type:"ahPolar",gdRefR:"adj1",minR:0,maxR:"maxAdj1",gdRefAng:"adj3",minAng:0,maxAng:21599999,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahPolar",gdRefR:"adj5",minR:0,maxR:25e3,position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M","=V.xL","=V.yL"],["L","=V.xKp","=V.yKp"],["L","=V.xE","=V.yE"],["E","=V.cx1","=V.cy1","=V.rw1","=V.rh1",0,"=A(V.rw1,V.rh1,V.st2)","=A(V.rw1,V.rh1,(V.st2 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.xGp","=V.yGp"],["L","=V.xA","=V.yA"],["L","=V.xBp","=V.yBp"],["L","=V.xC","=V.yC"],["E","=V.cx2","=V.cy2","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.istAng)","=A(V.rw2,V.rh2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["L","=V.xJp","=V.yJp"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},swooshArrow:{variables:{adj1:25e3,adj2:16667,a1:"=MIN(MAX(1, V.adj1), 75000)",ss:i,maxAdj2:"=70000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",ad1:"=height * V.a1 / 100000",ad2:"=V.ss * V.a2 / 100000",r:V,xB:"=width - V.ad2",t:0,ssd8:"=V.ss / 8",yB:"=V.ssd8",cd4:u,alfa:"=V.cd4 / 14",d2r:a,dx0:"=V.ssd8 * TAN(V.alfa / V.d2r)",xC:"=V.xB - V.dx0",dx1:"=V.ad1 * TAN(V.alfa / V.d2r)",yF:"=V.yB + V.ad1",xF:"=V.xB + V.dx1",xE:"=V.xF + V.dx0",yE:"=V.yF + V.ssd8",dy2:"=V.yE",dy22:"=V.dy2 / 2",dy3:"=height / 20",yD:"=V.dy22 - V.dy3",hd6:"=height/6",dy4:"=V.hd6",yP1:"=V.hd6 + V.dy4",wd6:"=width/6",xP1:"=V.wd6",dy5:"=V.hd6 / 2",yP2:"=V.yF + V.dy5",wd4:"=width/4",xP2:"=V.wd4",l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",16667]],connectionPoints:[{x:0,y:n},{x:"=V.xC",y:0},{x:V,y:"=V.yD"},{x:"=V.xE",y:"=V.yE"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:1,maxY:75e3,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M",0,n],["Q","=V.xP1","=V.yP1","=V.xB","=V.yB"],["L","=V.xC",0],["L",V,"=V.yD"],["L","=V.xE","=V.yE"],["L","=V.xF","=V.yF"],["Q","=V.xP2","=V.yP2",0,n],["Z"],{}]]},cloud:{variables:{il:"=width * 2977 / 21600",it:"=height * 3262 / 21600",ir:"=width * 17087 / 21600",ib:"=height * 17337 / 21600",g27:"=width * 67 / 21600",g28:"=height * 21577 / 21600",g29:"=width * 21582 / 21600",g30:"=height * 1235 / 21600",vc:f,hc:y,_scaleX1:"= width / 43200",_scaleY1:"= height / 43200",cx1:"=C(6753,3900,A(6753,9190,-11429249),true)",cy1:"=C(9190,14370,A(6753,9190,-11429249))",cx2:"=C(5333,P(V.cx1,6753,A(6753,9190,(-11429249 + 7426832)),true),A(5333,7267,-8646143),true)",cy2:"=C(7267,P(V.cy1,9190,A(6753,9190,(-11429249 + 7426832))),A(5333,7267,-8646143))",cx3:"=C(4365,P(V.cx2,5333,A(5333,7267,(-8646143 + 5396714)),true),A(4365,5945,-8748475),true)",cy3:"=C(5945,P(V.cy2,7267,A(5333,7267,(-8646143 + 5396714))),A(4365,5945,-8748475))",cx4:"=C(4857,P(V.cx3,4365,A(4365,5945,(-8748475 + 5983381)),true),A(4857,6595,-7859164),true)",cy4:"=C(6595,P(V.cy3,5945,A(4365,5945,(-8748475 + 5983381))),A(4857,6595,-7859164))",cx5:"=C(5333,P(V.cx4,4857,A(4857,6595,(-7859164 + 7034504)),true),A(5333,7273,-4722533),true)",cy5:"=C(7273,P(V.cy4,6595,A(4857,6595,(-7859164 + 7034504))),A(5333,7273,-4722533))",cx6:"=C(6775,P(V.cx5,5333,A(5333,7273,(-4722533 + 6541615)),true),A(6775,9220,-2776035),true)",cy6:"=C(9220,P(V.cy5,7273,A(5333,7273,(-4722533 + 6541615))),A(6775,9220,-2776035))",cx7:"=C(5785,P(V.cx6,6775,A(6775,9220,(-2776035 + 7816140)),true),A(5785,7867,37501),true)",cy7:"=C(7867,P(V.cy6,9220,A(6775,9220,(-2776035 + 7816140))),A(5785,7867,37501))",cx8:"=C(6752,P(V.cx7,5785,A(5785,7867,(37501 + 6842000)),true),A(6752,9215,1347096),true)",cy8:"=C(9215,P(V.cy7,7867,A(5785,7867,(37501 + 6842000))),A(6752,9215,1347096))",cx9:"=C(7720,P(V.cx8,6752,A(6752,9215,(1347096 + 6910353)),true),A(7720,10543,3974558),true)",cy9:"=C(10543,P(V.cy8,9215,A(6752,9215,(1347096 + 6910353))),A(7720,10543,3974558))",cx10:"=C(4360,P(V.cx9,7720,A(7720,10543,(3974558 + 4542661)),true),A(4360,5918,-16496525),true)",cy10:"=C(5918,P(V.cy9,10543,A(7720,10543,(3974558 + 4542661))),A(4360,5918,-16496525))",cx11:"=C(4345,P(V.cx10,4360,A(4360,5918,(-16496525 + 8804134)),true),A(4345,5945,-14809710),true)",cy11:"=C(5945,P(V.cy10,5918,A(4360,5918,(-16496525 + 8804134))),A(4345,5945,-14809710))",_scaleX2:"= width / 43200",_scaleY2:"= height / 43200",cx12:"=C(4345,4693,A(4345,5945,5204520),true)",cy12:"=C(5945,26177,A(4345,5945,5204520))",cx13:"=C(4360,6928,A(4360,5918,4416628),true)",cy13:"=C(5918,34899,A(4360,5918,4416628))",cx14:"=C(6752,16478,A(6752,9215,8257449),true)",cy14:"=C(9215,39090,A(6752,9215,8257449))",cx15:"=C(6752,28827,A(6752,9215,387196),true)",cy15:"=C(9215,34751,A(6752,9215,387196))",cx16:"=C(5785,34129,A(5785,7867,-4217541),true)",cy16:"=C(7867,22954,A(5785,7867,-4217541))",cx17:"=C(5333,41798,A(5333,7273,1819082),true)",cy17:"=C(7273,15354,A(5333,7273,1819082))",cx18:"=C(4857,38324,A(4857,6595,-824660),true)",cy18:"=C(6595,5426,A(4857,6595,-824660))",cx19:"=C(4857,29078,A(4857,6595,-8950887),true)",cy19:"=C(6595,3952,A(4857,6595,-8950887))",cx20:"=C(4365,22141,A(4365,5945,-9809656),true)",cy20:"=C(5945,4720,A(4365,5945,-9809656))",cx21:"=C(6753,14000,A(6753,9190,-4002417),true)",cy21:"=C(9190,5192,A(6753,9190,-4002417))",cx22:"=C(6753,4127,A(6753,9190,9459261),true)",cy22:"=C(9190,15789,A(6753,9190,9459261))"},connectionPoints:[{x:"=V.g29",y:c},{x:e,y:"=V.g28"},{x:"=V.g27",y:c},{x:e,y:"=V.g30"}],path:[[["M","=3900 * V._scaleX1","=14370 * V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=6753 * V._scaleX1","=9190 * V._scaleY1",0,"=A(6753,9190,-11429249)","=A(6753,9190,(-11429249 + 7426832))","=IF(7426832 > 0, FALSE, TRUE)"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=5333 * V._scaleX1","=7267 * V._scaleY1",0,"=A(5333,7267,-8646143)","=A(5333,7267,(-8646143 + 5396714))","=IF(5396714 > 0, FALSE, TRUE)"],["E","=V.cx3 * V._scaleX1","=V.cy3 * V._scaleY1","=4365 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4365,5945,-8748475)","=A(4365,5945,(-8748475 + 5983381))","=IF(5983381 > 0, FALSE, TRUE)"],["E","=V.cx4 * V._scaleX1","=V.cy4 * V._scaleY1","=4857 * V._scaleX1","=6595 * V._scaleY1",0,"=A(4857,6595,-7859164)","=A(4857,6595,(-7859164 + 7034504))","=IF(7034504 > 0, FALSE, TRUE)"],["E","=V.cx5 * V._scaleX1","=V.cy5 * V._scaleY1","=5333 * V._scaleX1","=7273 * V._scaleY1",0,"=A(5333,7273,-4722533)","=A(5333,7273,(-4722533 + 6541615))","=IF(6541615 > 0, FALSE, TRUE)"],["E","=V.cx6 * V._scaleX1","=V.cy6 * V._scaleY1","=6775 * V._scaleX1","=9220 * V._scaleY1",0,"=A(6775,9220,-2776035)","=A(6775,9220,(-2776035 + 7816140))","=IF(7816140 > 0, FALSE, TRUE)"],["E","=V.cx7 * V._scaleX1","=V.cy7 * V._scaleY1","=5785 * V._scaleX1","=7867 * V._scaleY1",0,"=A(5785,7867,37501)","=A(5785,7867,(37501 + 6842000))","=IF(6842000 > 0, FALSE, TRUE)"],["E","=V.cx8 * V._scaleX1","=V.cy8 * V._scaleY1","=6752 * V._scaleX1","=9215 * V._scaleY1",0,"=A(6752,9215,1347096)","=A(6752,9215,(1347096 + 6910353))","=IF(6910353 > 0, FALSE, TRUE)"],["E","=V.cx9 * V._scaleX1","=V.cy9 * V._scaleY1","=7720 * V._scaleX1","=10543 * V._scaleY1",0,"=A(7720,10543,3974558)","=A(7720,10543,(3974558 + 4542661))","=IF(4542661 > 0, FALSE, TRUE)"],["E","=V.cx10 * V._scaleX1","=V.cy10 * V._scaleY1","=4360 * V._scaleX1","=5918 * V._scaleY1",0,"=A(4360,5918,-16496525)","=A(4360,5918,(-16496525 + 8804134))","=IF(8804134 > 0, FALSE, TRUE)"],["E","=V.cx11 * V._scaleX1","=V.cy11 * V._scaleY1","=4345 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4345,5945,-14809710)","=A(4345,5945,(-14809710 + 9151131))","=IF(9151131 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=4693 * V._scaleX2","=26177 * V._scaleY2"],["E","=V.cx12 * V._scaleX2","=V.cy12 * V._scaleY2","=4345 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4345,5945,5204520)","=A(4345,5945,(5204520 + 1585770))","=IF(1585770 > 0, FALSE, TRUE)"],["M","=6928 * V._scaleX2","=34899 * V._scaleY2"],["E","=V.cx13 * V._scaleX2","=V.cy13 * V._scaleY2","=4360 * V._scaleX2","=5918 * V._scaleY2",0,"=A(4360,5918,4416628)","=A(4360,5918,(4416628 + 686848))","=IF(686848 > 0, FALSE, TRUE)"],["M","=16478 * V._scaleX2","=39090 * V._scaleY2"],["E","=V.cx14 * V._scaleX2","=V.cy14 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,8257449)","=A(6752,9215,(8257449 + 844866))","=IF(844866 > 0, FALSE, TRUE)"],["M","=28827 * V._scaleX2","=34751 * V._scaleY2"],["E","=V.cx15 * V._scaleX2","=V.cy15 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,387196)","=A(6752,9215,(387196 + 959901))","=IF(959901 > 0, FALSE, TRUE)"],["M","=34129 * V._scaleX2","=22954 * V._scaleY2"],["E","=V.cx16 * V._scaleX2","=V.cy16 * V._scaleY2","=5785 * V._scaleX2","=7867 * V._scaleY2",0,"=A(5785,7867,-4217541)","=A(5785,7867,(-4217541 + 4255042))","=IF(4255042 > 0, FALSE, TRUE)"],["M","=41798 * V._scaleX2","=15354 * V._scaleY2"],["E","=V.cx17 * V._scaleX2","=V.cy17 * V._scaleY2","=5333 * V._scaleX2","=7273 * V._scaleY2",0,"=A(5333,7273,1819082)","=A(5333,7273,(1819082 + 1665090))","=IF(1665090 > 0, FALSE, TRUE)"],["M","=38324 * V._scaleX2","=5426 * V._scaleY2"],["E","=V.cx18 * V._scaleX2","=V.cy18 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-824660)","=A(4857,6595,(-824660 + 891534))","=IF(891534 > 0, FALSE, TRUE)"],["M","=29078 * V._scaleX2","=3952 * V._scaleY2"],["E","=V.cx19 * V._scaleX2","=V.cy19 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-8950887)","=A(4857,6595,(-8950887 + 1091722))","=IF(1091722 > 0, FALSE, TRUE)"],["M","=22141 * V._scaleX2","=4720 * V._scaleY2"],["E","=V.cx20 * V._scaleX2","=V.cy20 * V._scaleY2","=4365 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4365,5945,-9809656)","=A(4365,5945,(-9809656 + 1061181))","=IF(1061181 > 0, FALSE, TRUE)"],["M","=14000 * V._scaleX2","=5192 * V._scaleY2"],["E","=V.cx21 * V._scaleX2","=V.cy21 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,-4002417)","=A(6753,9190,(-4002417 + 739161))","=IF(739161 > 0, FALSE, TRUE)"],["M","=4127 * V._scaleX2","=15789 * V._scaleY2"],["E","=V.cx22 * V._scaleX2","=V.cy22 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,9459261)","=A(6753,9190,(9459261 + 711490))","=IF(711490 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},chartX:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",0,0],["L",V,n],["M",0,n],["L",V,0],{fillMode:"none"}],[["M",0,0],["L",0,n],["L",V,n],["L",V,0],["Z"],{strokeMode:"false"}]]},chartStar:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",0,0],["L",V,n],["M",0,n],["L",V,0],["M",y,0],["L",y,n],{fillMode:"none"}],[["M",0,0],["L",0,n],["L",V,n],["L",V,0],["Z"],{strokeMode:"false"}]]},chartPlus:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",y,0],["L",y,n],["M",0,f],["L",V,f],{fillMode:"none"}],[["M",0,0],["L",0,n],["L",V,n],["L",V,0],["Z"],{strokeMode:"false"}]]},lineInverse:{variables:{l:0,b:n,r:V,t:0},connectionPoints:[{x:0,y:n},{x:V,y:0}],path:[[["M",0,n],["L",V,0],{fillMode:"none",strokeCompound:"line"}]]}}},"./dist/plugins/shape/shape-actions.js":function(O,t,V){var n,p,T,v,o,a,N,P,D,U,q,h,u,x,k,B,Z,V,j,y,f,i,e,c,r,s,d,l,H,z,Q,g,A,G,w,J,W,K,$,tt,Vt,nt,it,et,ct,rt,st,b,dt,L,ot,at,ht,ut,xt,yt,ft,lt,gt,At,wt,pt,vt,jt,bt,Lt,mt,Ct,Rt;function Mt(t,V,n){for(var i,e,c,i=t.length,e=[],c=0;c<i;c++)e.push({x:t[c].x+V,y:t[c].y+n});return e}function It(t,V){var n,i,n=[];return n=V?(i=V.shapeLayers[0]).getConnectionLines(t.ctV):n}function _t(t,V){var n,i,e;4===t.ttV&&(t.startConnector(null),t.endConnector(null)),(n=It(t,V))&&n.length&&(i=t.ctV.id,n.forEach(function(t){(e=t.JVV)&&(t.startConnector&&t.startConnector.id===i&&e.startConnector(null),t.endConnector)&&t.endConnector.id===i&&e.endConnector(null)})),3===t.ttV&&t.tin&&t.tin.forEach(function(t){_t(t,V)})}function Et(t,V){var n=V.shapes.get(t);n?(_t(n,V),V.shapes.remove(t,!0)):Ft(V,t)}function Ft(t,V){var n;t.shapeLayers[0].shapes.forEach(function(t){t.JVV.name()===V&&(n=t)}),n&&t.shapeLayers.forEach(function(t){t.removeShape(n,!0)})}function St(t){for(var V=t.getRowCount()-1,n=t.getColumnCount()-1,i=0,e=0,c,r=t.zoom(),c=0;c<=V;c++)i+=t.Gt(c,3);for(c=0;c<=n;c++)e+=t.nn(c,3);return{maxColumnWidth:e/r,maxRowHeight:i/r}}function Xt(t,V,n,i,e,c,r){var s,d,t,r,s,d;return r.rotate&&0!==r.rotate()&&(d=t.zoom(),n=(s=(0,u.getActualBound)(r.ctV)).left/d,i=s.top/d,e=(s.right-s.left)/d,c=(s.bottom-s.top)/d),4===r.ttV&&(d=t.zoom(),n=(s=(0,o.getLineShapeBoundByPoints)(r.ctV.getPoints())).left/d,i=s.top/d),t=n,r=i,(s=V.maxColumnWidth)<n+e&&(n-=n+e-s),(d=V.maxRowHeight)<i+c&&(i-=i+c-d),{deltaX:(n=n<0?0:n)-t,deltaY:(i=i<0?0:i)-r}}function Yt(t){var V,t,V=t.toJSON();return 7===t.ttV&&(t=t.GtV)&&t.isNeedControlCommandBySelf&&t.isNeedControlCommandBySelf()&&(V.isNeedControlCommandBySelf=!0),JSON.stringify(V)}function Ot(t){var V,V,n,V=4===t.ttV?(0,o.getLineShapeBoundByPoints)(t.KVV()):{left:V=t.x(),top:n=t.y(),right:V+t.width(),bottom:n+t.height()};return V}function Tt(n,t,i){var V,e,V,c,r,s,V,d,V=n.WVV(),e=V.fromSheet;return V.fromSheet=n,V.isCutting=i,(V=t.names).length?(c=[],r=[],s={},V=V.map(function(t){var t,V,t,t=n.shapes.get(t);return c.push(t),r.push(Ot(t)),V=Yt(t),a.ShapeBase.et(t,"ShapeCopingOrCutting",t={sheet:n,isCutting:i,shape:t,drawingData:null}),t.drawingData&&(s[t.drawingData.shapeName]=t.drawingData),V}),d=(0,v.getShapeNameList)(c),e&&(e.$VV=b),p.Commands.fI(n.parent),n.$VV={shapeJsonList:V,bound:t.bound,boundList:r,names:t.names,allNameList:d,drawingDataMap:s},i&&(t.shapeJsonList=V.concat([])),!0):(n.$VV=b,!1)}function Nt(t){var t,V,t,t=t&&t.shapeData;if(t)return t.sp?V=t.sp.spPr:t.cxnSp?V=t.cxnSp.spPr:t.pic?V=t.pic.spPr:t.grpSp?V=t.grpSp.grpSpPr:t.graphicFrame&&(V=t.graphicFrame),(t=V&&V.xfrm.ext)?{width:t.cx,height:t.cy}:void 0}function Pt(t,V,n,i,e){var V,c,r,s,V=JSON.parse(V),r=V.shapeData;return r&&(c=r.sp&&r.sp.control?(V.isNeedControlCommandBySelf&&(s={name:V.name,toSheetName:t.name(),fromSheetName:n,sheet:t,shape:c,drawingData:i[V.name],isCutting:e},a.ShapeBase.et({},"FormControlShapePasting",s),c=s.shape),c||new D.FormControlShape(t)):r.sp?new a.Shape(t):r.cxnSp?new N.ConnectorShape(t):r.grpSp?new U.GroupShape(t):r.pic?new(r.pic.cameraTool?q.CameraShape:P.PictureShape)(t):(B.ShapeCollection.et(t.shapes,"createShapeWhenFromJSON",s={sheet:t,json:V}),s.shape))&&(t.LtV=[],c.fromJSON(V),delete t.LtV),c}function Dt(t,V,n){var i,e,c,i,i=Bt(t),e=0,c=0;return c=0<i.length?(e=(i=Zt(t,i)).left,i.top):(e=(0,Z.getX)(t,n,0),(0,Z.getY)(t,V,0)),{x:e,y:c}}function Ut(t,V,n,i){var e,c,r,s,d,o,e=15,c=.1,r=Dt(t,n,i),s=v.Common.calculateBoundByRects(V),d=t.shapes.all(),o=function(V,n){return d.some(function(t){return dt(t.x()-V)<=.1&&dt(t.y()-n)<=.1})};return V.map(function(t){var V,t,V=r.x+t.left-s.left,t=r.y+t.top-s.top;return o(V,t)&&(V+=15,t+=15),{x:V,y:t}})}function qt(t,V,n,i,e){var e,i,e,n,c,r,t;return V&&(4===V.ttV?V.tnV(!0):V.tnV(),V.formulaFromJSON(),3===V.ttV&&V.updateRelativeLocationSize&&V.updateRelativeLocationSize(),e&&(e=Nt(JSON.parse(i)))&&(V.getFormula("width")||V.width(e.width),V.getFormula("height")||V.height(e.height)),i=V.width(),e=V.height(),V.isSelected(!0),t.shapes.ZP(V,!0),V.VnV=!0,V.x(n.x),V.y(n.y),n=V.x(),c=V.y(),t=Xt(t,r=St(t),n,c,i,e,V),4===V.ttV?V.nnV(Mt(V.KVV(),t.deltaX,t.deltaY)):V.resize(n+t.deltaX,c+t.deltaY,i,e),delete V.VnV),V}function m(t,V){var t=t.shapes.all();Array.isArray(t)&&t.forEach(function(t){t.isSelected(V)})}function C(t,V,n,i,e){var c,r,s,d,o,e,a,c=t.parent,r=[];if(null==e)for(d=((s=null!=n)?n:i).length,o=0;o<d;o++)r.push(t.shapes.get(s?n[o].name:i[o]));else r=e;c&&V.Z3&&r[0]&&(e=r[0].startRow(),a=r[0].startColumn(),c.changeSelectionInCommandExecuting(V,e,a,[],r),V.Z3.X3=!0)}function R(t,V){return wt.call(this,t,V)||this}function M(t,V){return pt.call(this,t,V)||this}function kt(t,V,n){var i,e,c,r,s,r;if(t&&V)for(e=0,c=(i=n?V.oldValues:V.values).length;e<c;e++)s=(r=i[e])[0],r=r[1],s===k.ADJUSTMENTS?t.edV(r,!1):t[s]&&t[s].call(t,r)}function I(t,V){return vt.call(this,t,V)||this}function _(t,V){return jt.call(this,t,V)||this}function Bt(t){var V=[];return t.shapeLayers[0]&&t.shapeLayers[0].shapes.forEach(function(t){t.isSelected&&V.push(t.JVV.name())}),V}function Zt(V,t){var n,t,t=t.map(function(t){if((n=V.shapes.get(t))&&n.ctV)return n.ctV});return(0,o.getBoundForHoldShapes)(t,!0)}function Ht(a){return function(t,V){var t,n,i,V,e,c,r,s,d,s,o,r,t=p.Commands.Tp(t,V),n=0;if(0===a?n=-1:2===a&&(n=1),i=0,1===a?i=-1:3===a&&(i=1),V=[],e=t.shapeLayers[0],(c=(0,h.getSelectedShapesUI)(t)).length<=0)return!1;for(r=t.shapes,s=(0<n?(0,u.getRightMostShape):(0,u.getLeftMostShape))(c),r.getSnapMode()!==T.SnapMode.none&&0!==n&&0!==(d=(0,x.getMoveOffsetByDirection)({targetShape:s,boundType:0<n?2:1,direction:0,moveDirection:0<n?0:1}))&&(n=d),s=(0<i?(0,u.getBottomMostShape):(0,u.getTopMostShape))(c),r.getSnapMode()!==T.SnapMode.none&&0!==i&&0!==(d=(0,x.getMoveOffsetByDirection)({targetShape:s,boundType:0<i?2:1,direction:1,moveDirection:0<i?0:1}))&&(i=d),o=0;o<c.length;o++)e.moveShape(c[o],n,i);return r=(r=e.getConnectionLines(c[0])).filter(function(t,V,n){return n.indexOf(t)===V}),V=V.concat(e.getMoveShapesChanges(c,r)),t.Qy().execute({cmd:f,sheetName:t.name(),changes:V})}}function E(t,V){return bt.call(this,t,V)||this}function F(t,V){return Lt.call(this,t,V)||this}function S(t,V){return mt.call(this,t,V)||this}function X(t,V){return Ct.call(this,t,V)||this}function Y(t,V){return Rt.call(this,t,V)||this}n=this&&this.__extends||(At=function(t,V){return(At=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}At(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(t,"__esModule",{value:!0}),t.DragCopyShapesUndoAction=t.DeleteShapesUndoAction=t.PasteShapesUndoAction=t.CutShapesUndoAction=t.CopyShapesUndoAction=t.UpdateShapesPointsUndoAction=t.UpdateShapesUndoAction=t.RotateShapeUndoAction=t.MovingResizingShapeUndoAction=void 0,p=V("Core"),T=V("./dist/plugins/shape/shape.interface.js"),v=V("./dist/plugins/shape/ui/util.js"),o=V("./dist/plugins/shape/ui/compoundShape.js"),a=V("./dist/plugins/shape/shapeView.js"),N=V("./dist/plugins/shape/connectorView.js"),P=V("./dist/plugins/shape/pictureShapeView.js"),D=V("./dist/plugins/shape/formControlView.js"),U=V("./dist/plugins/shape/groupShapesView.js"),q=V("./dist/plugins/shape/cameraShapeView.js"),h=V("./dist/plugins/shape/shape-spreadjs.js"),u=V("./dist/plugins/shape/ui/shapes.js"),x=V("./dist/plugins/shape/ui/shape-alignment.js"),k=V("./dist/plugins/shape/geometryService/controlPointService.js"),B=V("./dist/plugins/shape/shapeCollection.js"),Z=V("./dist/plugins/shape/util/sheetUtil.js"),V=p.Commands.ActionBase,j=v.Common.Rh,y=p.Commands.zA,f="moveShapes",i="moveShapesUp",e="moveShapesDown",c="moveShapesLeft",r="moveShapesRight",s="navigationNextShape",d="navigationPreviousShape",l="isSelected",H="selectAllShapes",z="unSelectAllShapes",Q="copyShapes",g="pasteShapes",A="cutShapes",G="dragCopyShapes",w="deleteShapes",J="deleteShapesByBackspaceKey",W="resizeShapes",K="rotateShapes",$="updateShapes",tt="updateConnectShapePoints",Vt="openTextEditor",nt="submitShapeText",it="moveShapesByHAlign",et="moveShapesByVAlign",ct="moveShapesByHDistribute",rt="moveShapesByVDistribute",st="cancel",b=null,dt=Math.abs,n(R,wt=V),R.prototype.canExecute=function(){return!0},R.prototype.execute=function(){var t,V,n,f,l,g,i,e,c,r,t=this,V=!1,n=t.tT,f=n.changes,l=t.Mf;if(t.canExecute()&&Array.isArray(f)){for(l.shapes.V2(),C(l,n,f),l.Ut.startTransaction(),g=St(l),i=function(t,V){var t,r,n,i,e,c,s,d,o,o,a,h,o,a,u,x,y,t=f[t],r=l.shapes.get(t.name),n=void 0,i=void 0,e=r.x()+t.offsetX,c=r.y()+t.offsetY,s=r.width()+t.offsetWidth,d=r.height()+t.offsetHeight,o=Xt(l,g,e,c,s,d,r);n=o.deltaX,i=o.deltaY,o=t.startConnector,a=t.endConnector,h=t.childrenChanges,void 0===o&&void 0===a||4!==r.ttV||(void 0!==o&&r.startConnector(o,!0),void 0!==a&&r.endConnector(a,!0)),t.points?(o=r.x(),a=r.y(),u=r.width(),x=r.height(),r.nnV(Mt(t.points,n,i)),0!==t.offsetX&&r.enV("x",o),0!==t.offsetY&&r.enV("y",a),0!==t.offsetWidth&&r.enV("width",u),0!==t.offsetHeight&&r.enV("height",x)):r.resize(e+n,c+i,s,d),t.lineChanges&&t.lineChanges.length&&(y=l.zoom(),t.lineChanges.forEach(function(t){var t,V,t=l.shapes.get(t.name);l.shapeLayers[0].layoutConnectionLine(t.ctV),V=t.ctV.getPoints().map(function(t){return{x:t.x/y,y:t.y/y}}),t.nnV(V)})),h&&0<h.length&&h.forEach(function(t){var t,V,n,i,e,c,t=r.find(t.name),V=r.x(),n=r.y(),i=r.width(),e=r.height();t&&(c=t.inV.map(function(t){return{x:V+t.relativeX*i,y:n+t.relativeY*e}}),t.nnV(c))})},e=0,c=f.length;e<c;e++)i(e,c);l.shapes.Y2(),n[r=p.Commands.TI(l.name())]=l.Ut.endTransaction(),V=0<f.length}return V},R.prototype.canUndo=function(){return!0},R.prototype.undo=function(){var t,V,n,i,e,c,r,s,d,o,t=this,V=t.Mf;if(t.canUndo()){for(n=p.Commands.TI(V.name()),V.Ut.undo(t.tT[n]),e=(i=t.tT).changes,c=V.shapeLayers[0],r=0,s=e.length;r<s;r++)d=e[r],o=V.shapes.get(d.name),d.lineChanges&&V&&o&&c.updateConnectionLinesLayout(o.ctV);return V.cnV(),!0}return!1},L=R,t.MovingResizingShapeUndoAction=L,n(M,pt=V),M.prototype.canExecute=function(){return!0},M.prototype.execute=function(){var t,V,n,i,e,c,r,s,d,o,o,a,t=this,V=!1,n=t.tT,i=n.changes,e=t.Mf;if(t.canExecute()&&Array.isArray(i)){for(C(e,n,i),e.Ut.startTransaction(),c=0,r=i.length;c<r;c++)s=i[c],d=e.shapes.get(s.name),void 0!==(o=s.rotate)&&d.rotate&&(s.oldRotate=d.rotate(),d.Jli(o,!0)),(o=s.points)&&(s.oldPoints=d.KVV(),d.nnV(o));e.cnV(),n[a=p.Commands.TI(e.name())]=e.Ut.endTransaction(),V=0<i.length}return V},M.prototype.canUndo=function(){return!0},M.prototype.undo=function(){var t,V,n,t,t=this,V=t.tT,n=t.Mf;return!!t.canUndo()&&(t=p.Commands.TI(n.name()),n.Ut.undo(V[t]),n.cnV(),!0)},t.RotateShapeUndoAction=ot=M,n(I,vt=V),I.prototype.applyChanges=function(t,V,n,i){for(var e,c,r,s,r,e=0,c=V.length;e<c;e++)r=V[e],s=t.shapes.get(r),(r=n&&n[r])&&kt(s,r,i)},I.prototype.execute=function(){var t=this,V=!1,n=t.tT,i=n.shapes,e=n.values,c=t.Mf;return t.canExecute()&&Array.isArray(i)&&(C(c,n,null,i),t.applyChanges(c,i,e,!1),c.cnV(),V=0<i.length),V},I.prototype.canUndo=function(){return!0},I.prototype.undo=function(){var t=this,V=t.tT,n=V.shapes,V=V.values,i=t.Mf;return!!t.canUndo()&&(t.applyChanges(i,n,V,!0),i.cnV(),!0)},t.UpdateShapesUndoAction=at=I,n(_,jt=V),_.prototype.canExecute=function(){return!0},_.prototype.execute=function(){var t,V,n,i,e,c,r,s,d,o,t=this,V=!1,n=t.tT,i=n.shapes,e=n.values,c=t.Mf;if(t.canExecute()&&e){for(C(c,n,null,i),c.Ut.startTransaction(),r=0,s=i.length;r<s;r++)(d=c.shapes.get(i[r])).nnV(e[i].points);n[o=p.Commands.TI(c.name())]=c.Ut.endTransaction(),c.cnV(),V=0<i.length}return V},_.prototype.canUndo=function(){return!0},_.prototype.undo=function(){var t,V,n,t=this,V=t.Mf;return!!t.canUndo()&&(n=p.Commands.TI(V.name()),V.Ut.undo(t.tT[n]),V.cnV(),!0)},t.UpdateShapesPointsUndoAction=ht=_,p.Commands[c]=Ht(0),p.Commands[i]=Ht(1),p.Commands[r]=Ht(2),p.Commands[e]=Ht(3),p.Commands[f]={canUndo:!0,execute:function(t,V,n){return y(t,L,V,n)}},p.Commands[it]=(ut=function(o){return{canUndo:!0,execute:function(t,V,n){var i,e,c,r,s,d;if(!n){if(i=p.Commands.Tp(t,V),e=V.shapeNames.map(function(t){return i.shapes.get(t).ctV}),c=i.shapeLayers[0],e.length<=0)return!1;switch(s=!0,o){case 0:r=(0,x.align)(e,V.alignment,0);break;case 1:r=(s=!1,x.align)(e,V.alignment,1);break;case 2:r=(0,x.distribute)(e,0);break;case 3:r=(s=!1,x.distribute)(e,1)}if(r.length<1)return!1;d=[],r.forEach(function(t,V){var t,t=s?c.createShapeAlignChanges(c.getShapeById(t.id),e,t.offset,0):c.createShapeAlignChanges(c.getShapeById(t.id),e,0,t.offset);1===e[V].ttV?d.unshift(t):d.push(t)}),V.changes=d}return y(t,L,V,n)}}})(0),p.Commands[et]=ut(1),p.Commands[ct]=ut(2),p.Commands[rt]=ut(3),p.Commands[z]={canUndo:!1,execute:function(t,V){var t=p.Commands.Tp(t,V);return!!(0,h.hasSelectedShape)(t)&&(t.suspendPaint(),m(t,!1),t.resumePaint(),!0)}},p.Commands[H]={canUndo:!1,execute:function(t,V){var t=p.Commands.Tp(t,V);return!!(0,h.hasSelectedShape)(t)&&(t.suspendPaint(),m(t,!0),t.resumePaint(),!0)}},p.Commands[s]={canUndo:!1,execute:function(t,V){var t,n,i,e,c,r,s,d,t=p.Commands.Tp(t,V);if((0,h.hasSelectedShape)(t)){if(t.suspendPaint(),c=e=i=n=void 0,(s=(r=t.shapes.all()).length)<2);else{for(c=0;c<s;c++){if(d=r[c],i=i||d,n){e=d;break}d&&d[l]()&&(n=d)}m(t,!1),(e=e||i)&&e.isSelected(!0)}return t.resumePaint(),!0}return!1}},p.Commands[d]={canUndo:!1,execute:function(t,V){var t,n,i,e,c,r,s,t=p.Commands.Tp(t,V);if((0,h.hasSelectedShape)(t)){if(t.suspendPaint(),e=i=n=void 0,(r=(c=t.shapes.all()).length)<2);else{for(e=0;e<r;e++)if(s=c[e],(n=n||s)[l]())i=s;else if(s[l]()||(i=s),s[l]())break;i&&(m(t,!1),i.isSelected(!0))}return t.resumePaint(),!0}return!1}},p.Commands[W]={canUndo:!0,execute:function(t,V,n){return y(t,L,V,n)}},p.Commands[K]={canUndo:!0,execute:function(t,V,n){return y(t,ot,V,n)}},p.Commands[$]={canUndo:!0,execute:function(t,V,n){return y(t,at,V,n)}},p.Commands[tt]={canUndo:!0,execute:function(t,V,n){return y(t,ht,V,n)}},p.Commands[Vt]={canUndo:!1,execute:function(t,V){var t,n,i,V,V,t=p.Commands.Tp(t,V);return V.shapeName?(V=t.shapes.get(V.shapeName))&&(0,u.isCanEditTextShape)(V)&&(n=V.ctV,i=1):(n=(0,h.getFocusedShape)(t),i=2),!!n&&((V=u.ShapeTextEditor.getInstance()).isOpened||V.initEditor(n.JVV),V.showEditor(i),!0)}},p.Commands[nt]={canUndo:!0,execute:function(t,V,n){return y(t,at,V,n)}},n(E,bt=V),E.prototype.canExecute=function(){return!0},E.prototype.execute=function(){var t,V,n,i,e,e,t=this,V=t.Mf,n=t.tT.copyData;if(t.canExecute()){if(i=n.names.map(function(t){return V.shapes.get(t)}),e={sheet:V,sheetName:V.name(),objects:i,isCutting:!1,cancel:!1,action:p.ClipboardActionType.copy},V.ki(p.Events.ClipboardChanging,e),!e.cancel)return e=Tt(V,n,!1),V.ki(p.Events.ClipboardChanged,{sheet:V,sheetName:V.name(),objects:i}),e;t.tT.JD=!0}return!1},E.prototype.canUndo=function(){return!1},t.CopyShapesUndoAction=xt=E,p.Commands[Q]={canUndo:!1,execute:function(t,V,n){var i,e,e,i=p.Commands.Tp(t,V);return!!i&&0!==(e=Bt(i)).length&&(V.copyData={names:e,bound:Zt(i,e)},(e=y(t,xt,V,n))&&i.dP&&(i.dP=b),e)}},n(F,Lt=V),F.prototype.canExecute=function(){return 0<this.tT.copyData.names.length},F.prototype.execute=function(){var t,V,n,i,t,e,c,t=this,V=t.Mf,n=this.tT,i=n.copyData;if(t.canExecute()){if(C(V,n,null,i.names),V.Ut.startTransaction(),t=i.names.map(function(t){return V.shapes.get(t)}),e={sheet:V,sheetName:V.name(),objects:t,isCutting:!0,cancel:!1,action:p.ClipboardActionType.cut},V.ki(p.Events.ClipboardChanging,e),!e.cancel)return i.names.forEach(function(t){Et(t,V)}),V.cnV(),V.ki(p.Events.ClipboardChanged,{sheet:V,sheetName:V.name(),objects:t}),n[c=p.Commands.TI(V.name())]=V.Ut.endTransaction(),!0;n.JD=!0}return!1},F.prototype.canUndo=function(){return!0},F.prototype.undo=function(){var t,V,n,t=this,V=t.Mf,n=p.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},t.CutShapesUndoAction=yt=F,p.Commands[A]={canUndo:!0,execute:function(t,V,n){var i,e,c,c,i=p.Commands.Tp(t,V),e=V.copyData;if(!e){if(0===(c=Bt(i)).length)return!1;Tt(i,e={names:c,bound:Zt(i,c)},!0),V.copyData=e,V.cmd=A}return(c=y(t,yt,V,n))&&i.dP&&(i.dP=b),c}},n(S,mt=V),S.prototype.canExecute=function(){return 0<this.tT.pasteData.shapeJsonList.length},S.prototype.execute=function(){var t,n,V,i,e,c,r,s,d,o,a,t,h,u,x,y,f,l,g,A,f,w,t=this,n=t.Mf,V=t.tT,i=V.pasteData,e=[];return!!t.canExecute()&&(n.Ut.startTransaction(),n.shapes.V2(),s=i.positions,d=i.fromSheetName,o=i.drawingDataMap,t=(a=i.shapeJsonList).map(function(t){return Pt(n,t,d,o,i.isCutting)}),h=n.name()!==d,x=!(u=[]),(y=n.parent.Gm(i.fromSheetName))._gi===p.SheetType.reportSheet&&y.getSheet&&(y=y.getSheet()),f={sheet:n,sheetName:n.name(),objects:t,fromSheet:y,isCutting:i.isCutting,cancel:!1,action:i.isCutting?p.ClipboardActionType.cut:p.ClipboardActionType.copy},n.ki(p.Events.ClipboardPasting,f),f.cancel||(y!==n&&m(y,!1),m(n,!1),t.forEach(function(t,V){4===(t=qt(n,t,s[V],a[V],h)).ttV&&(c=t.startConnector(),r=t.endConnector(),c||r)&&u.push(t),3===t.ttV&&(u=u.concat((0,v.getLineShapeInGroup)(t))),e.push(t.name())}),0<u.length&&(l=i.allNameList,g=(0,v.getShapeNameList)(t),u.forEach(function(t){c=t.startConnector(),r=t.endConnector(),c&&(-1<(A=j(c.name,l))?t.startConnector({name:g[A],index:c.index},!0):-1<j(c.name,g)?t.startConnector(c,!0):t.startConnector(null)),r&&(-1<(A=j(r.name,l))?t.endConnector({name:g[A],index:r.index},!0):-1<j(r.name,g)?t.endConnector(r,!0):t.endConnector(null))})),C(n,V,null,null,t),f={sheet:n,sheetName:n.name(),objects:t,fromSheet:y,isCutting:i.isCutting,action:i.isCutting?p.ClipboardActionType.cut:p.ClipboardActionType.copy},n.ki(p.Events.ClipboardPasted,f),x=!0),V[w=p.Commands.TI(n.name())]=n.Ut.endTransaction(),i.names=e,n.shapes.Y2(),x||(V.JD=!0),x)},S.prototype.canUndo=function(){return!0},S.prototype.undo=function(){var t,V,n,t=this,V=t.Mf,n=p.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},t.PasteShapesUndoAction=ft=S,p.Commands[g]={canUndo:!0,execute:function(t,V,n){var i,e,c,r,s,d,o,a,h,i=p.Commands.Tp(t,V),e=V.pasteData;if(V.cmd=g,!e){if(!(s=(r=(c=i.WVV()).fromSheet)&&r.$VV))return!1;d=i.getActiveRowIndex(),o=i.getActiveColumnIndex(),e={positions:h=Ut(i,a=s.boundList,d,o),shapeJsonList:s.shapeJsonList.concat([]),allNameList:s.allNameList.concat([]),fromSheetName:r.name(),drawingDataMap:s.drawingDataMap,isCutting:c.isCutting},V.pasteData=e}return y(t,ft,V,n)}},n(X,Ct=V),X.prototype.canExecute=function(){return this.tT.deleteData&&0<this.tT.deleteData.names.length},X.prototype.execute=function(){var t,V,n,i,e,t=this,V=t.Mf,n=this.tT,i=n.deleteData;return!!t.canExecute()&&(t.X5(V,!0),C(V,n,null,i.names),V.Ut.startTransaction(),i.names.forEach(function(t){Et(t,V)}),n[e=p.Commands.TI(V.name())]=V.Ut.endTransaction(),t.q5(V,!0),!0)},X.prototype.canUndo=function(){return!0},X.prototype.undo=function(){var t,V,n,t=this,V=t.Mf,n=p.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},t.DeleteShapesUndoAction=lt=X,p.Commands[w]={canUndo:!0,execute:function(t,V,n){var i,e,i;if(V.cmd=w,i=p.Commands.Tp(t,V),!(e=V.deleteData)){if(0===(i=Bt(i)).length)return!1;V.deleteData=e={names:i}}return y(t,lt,V,n)}},n(Y,Rt=V),Y.prototype.canExecute=function(){return!0},Y.prototype.execute=function(){for(var t,V,n,i,e,c,r,s,d,o,t=this,V=t.tT,n=V.changes,i=t.Mf,s=0,d=n.length;s<d;s++)(e=i.shapes.get(n[s].name))||(e=i.shapes.get(n[s].oldShapeName).Gf(),i.shapes.ZP(e),e.name(n[s].name)),c=e.x(),r=e.y(),e.resize(c+n[s].offsetX,r+n[s].offsetY,e.width(),e.height()),3===e.ttV&&e.layoutChildren(),4===e.ttV&&(e.startConnector(e.startConnector(),!0),e.endConnector(e.endConnector(),!0));return C(i,V,n),V[o=p.Commands.TI(i.name())]=n.concat([]),!0},Y.prototype.canUndo=function(){return!0},Y.prototype.undo=function(){for(var t,V,n,i,e,c,t=this.Mf,n=p.Commands.TI(t.name()),i=this.tT[n],e=0,c=i.length;e<c;e++)t&&(t.shapes.remove(i[e].name),V=t.shapes.get(i[e].oldShapeName))&&V.isSelected(!0);return!0},t.DragCopyShapesUndoAction=gt=Y,p.Commands[G]={canUndo:!0,execute:function(t,V,n){return y(t,gt,V,n)}},p.Commands.rnV=function(t){var V=p.mt.Qf(),n=!V,V=V;t.register(f,p.Commands[f]),t.register(G,p.Commands[G]),t.register(i,p.Commands[i],38,!1,!1,!1,!1),t.register(e,p.Commands[e],40,!1,!1,!1,!1),t.register(c,p.Commands[c],37,!1,!1,!1,!1),t.register(r,p.Commands[r],39,!1,!1,!1,!1),t.register(s,p.Commands[s],9,!1,!1,!1,!1),t.register(d,p.Commands[d],9,!1,!0,!1,!1),t.register(z,p.Commands[z],27,!1,!1,!1,!1),t.register(H,p.Commands[H],65,n,!1,!1,V),t.register(Q,p.Commands[Q],67,n,!1,!1,V),t.register(g,p.Commands[g],86,n,!1,!1,V),t.register(A,p.Commands[A],88,n,!1,!1,V),t.register(w,p.Commands[w],46,!1,!1,!1,!1),t.register(J,p.Commands[w],8,!1,!1,!1,!1),t.register(W,p.Commands[W]),t.register(K,p.Commands[K]),t.register($,p.Commands[$]),t.register(tt,p.Commands[tt]),t.register(Vt,p.Commands[Vt],13,!1,!1,!1,!1),t.register(nt,p.Commands[nt]),t.register(it,p.Commands[it]),t.register(et,p.Commands[et]),t.register(ct,p.Commands[ct]),t.register(rt,p.Commands[rt])}},"./dist/plugins/shape/shape-io.js":function(O,t,V){var u,n,c,i,h,x,y,f,l,g,A,w,p,v,j,d,b,L,m,C,R,M,I,e,r,s,T,N,P,D,U,q,k,B,Z,H,_,z,Q,G,E;function J(e,t,c,V){var n,r,s,d,o,V,a;(0,L.recalculateScrollLeft)(e,0,!0),(0,L.recalculateScrollTop)(e,0,!0),!(n=V&&!1===V.includeStyles)&&(r=e.shapes,t.lossless&&jt(r,t.lossless.shapeCollectionOption),s=P(t,c))&&(d=u.Util.Co(V),o=(0,l.readControlsNode)(t,c),V=z(t,G),a=V&&u.Util.Gr(t.rels,V[Q],c),g.GeometryServiceManager.startCache(),e.LtV=[],e.QtV.startFromJson(),s.c_.forEach(function(t){var V,t,n,i,t,t,t;(t=t.AlternateContent?t.AlternateContent.Choice:t).twoCellAnchor?(n=t.twoCellAnchor,i=0):t.oneCellAnchor?(n=t.oneCellAnchor,i=1):t.absoluteAnchor&&(n=t.absoluteAnchor,i=2),n&&(t=n.sp?(V=n.sp,t=_(n.sp.nvSpPr.cNvPr.name),new((0,l.markSJSFormControl)(V,o,a)?p.FormControlShape:h.Shape)(e,t)):n.cxnSp?(V=n.cxnSp,new A.ConnectorShape(e,_(n.cxnSp.nvCxnSpPr.cNvPr.name))):n.grpSp?(V=n.grpSp,(0,l.markGroupChildrenSJSFormControl)(V,o,a),new v.GroupShape(e,_(n.grpSp.c_[f.NvGrpSpPrNodeIndex].nvGrpSpPr.cNvPr.name))):n.pic&&!(0,y.isFloatingObjectPicture)(n.pic)?(V=n.pic,t=_(n.pic.nvPicPr.cNvPr.name),new((0,x.isCameraShapeNode)(V)?j.CameraShape:w.PictureShape)(e,t)):(b.ShapeCollection.et(e.shapes,"createShapeWhenFromSJSFormat",t={anchorData:n,sheet:e}),V=t.drawingData,t.shape))&&(d&&N(e,n,C,c),n.anchorType=i,st(n,s,a,c),t.yh(V,n),t.tnV(),t.leV(),r.ZP(t,!0),d)&&vt(e,t,c)}),et(e),e.QtV.endFromJson(),g.GeometryServiceManager.endCache())}function W(t,V,n,i,e){var c,i,t,c;i&&!1===i.includeStyles||(V.lossless||(V.lossless={}),V.lossless.shapeCollectionOption=bt(t.shapes),(i=t.shapes.all().filter(nt)).length<=0)||(t=t.parent.Cp,U(V,t),(0,l.hasFormControl)(i)&&(k(V,t),V.c_.push((0,l.createEmptySheetControlsNode)()),V.r_||(V.r_=[]),V.r_.push(5,1)))}function K(t,s,V,n){var i,d,o,a,h,n,i;n&&!1===n.includeStyles||(d=n&&!1===n.includeFormulas,o=n&&n.gp,a=n&&n.newWorkSheetName,h={data:s,saveOptions:n},n={type:"shapes",sheets:[],fileType:null==n?void 0:n.fileType},u.Workbook.et(t,"getAdditionalWorksheetToSJSFormat",n),t.sheets.concat(n.sheets).forEach(function(t){var V,n,i,e,c,t,r,V=t.shapes.all().filter(nt);V.length<=0||(n=T(s,t.name()),i=(0,l.findControlsNode)(n),e=D(s,n),c=q(s,n),t=B(t.wp,c),r=e.c_,V.forEach(function(t){var t=t.wh(d,o,a,h);yt(t,e.rels,s),r.push(pt(t))}),(0,l.processFormControlsWhenToSJSFormat)(r,s,n,i,c,t))}))}function $(i,t,V,n){var e,n,c,r,e;n&&n.ignoreStyle||((n=t.shapes)&&(g.GeometryServiceManager.startCache(),(c=i.QtV).startFromJson(),i.LtV=[],n.forEach(function(t){var V,n,n,V=t.name,n=t.shapeType;5===n?((r=new h.Shape(i,V)).fromJSON(t),r.tnV()):4===n?((r=new A.ConnectorShape(i,V)).fromJSON(t),r.tnV()):3===n?((r=new v.GroupShape(i,V)).fromJSON(t),r.tnV(),r.updateRelativeLocationSize()):1===n?((r=new(t.shapeData&&t.shapeData.pic&&t.shapeData.pic.cameraTool?j.CameraShape:w.PictureShape)(i,V)).fromJSON(t),r.tnV()):7===n?((r=new p.FormControlShape(i,V)).fromJSON(t),r.tnV()):(b.ShapeCollection.et(i.shapes,"createShapeWhenFromJSON",n={sheet:i,json:t}),(r=n.shape)&&(r.fromJSON(t),r.tnV())),r&&i.shapes.ZP(r,!0)}),et(i),c.endFromJson(),g.GeometryServiceManager.endCache()),jt(i.shapes,t.shapeCollectionOption),(0,L.recalculateScrollLeft)(i,0,!0),(0,L.recalculateScrollTop)(i,0,!0))}function tt(t,V,n){var i,e,c,r,s,n,i;n&&n.ignoreStyle||(e=n&&n.ignoreFormula,c=n&&n.gp,r=n&&n.newWorkSheetName,0<(n=(s=t.shapes.all()).filter(function(t){return!o(t)})).length&&(V.shapes=n.map(function(t){return t.toJSON(e,c,r)})),V.shapeCollectionOption=bt(t.shapes))}function o(t){return t instanceof p.FormControlShape&&t.GtV&&t.GtV.isInternalUseForUIDisplay()}function Vt(t,V,n,i){var e;return n===c.CT_ShapeType.CT_Shape?((e=new h.Shape(t,V)).fromJSON(i),e.tnV()):n===c.CT_ShapeType.CT_Connector?((e=new A.ConnectorShape(t,V)).fromJSON(i),e.tnV()):n===c.CT_ShapeType.CT_GroupShape?((e=new v.GroupShape(t,V)).fromJSON(i),e.tnV(),e.updateRelativeLocationSize()):n===c.CT_ShapeType.CT_Picture&&i.shapeData&&i.shapeData.pic&&i.shapeData.pic.cameraTool?((e=new j.CameraShape(t,V)).fromJSON(i),e.tnV()):n===c.CT_ShapeType.CT_Picture&&i.shapeData&&i.shapeData.pic?((e=new w.PictureShape(t,V)).fromJSON(i),e.tnV()):n===c.CT_ShapeType.CT_FormControlShape&&((e=new p.FormControlShape(t,V)).fromJSON(i),e.tnV()),e}function nt(t){return!o(t)}function a(t,V,n){var i,e,c,c;if(V=n&&n[V]||V,t)for(i=0,e=t.length;i<e;i++){if((c=t[i]).ytV.Id===V)return c;if(c=a(c.tin,V))return c}}function it(t,V){return a(t,V.Id)}function et(t){var V,r,s,V=t.LtV;0<V.length&&(r=t.shapeLayers[0].model.idMaps,s=t.shapes.all(),V.forEach(function(t){var V,n,i,e,c,n,V=t.target,n=t.beginId,i=[void 0,void 0];n?(c=a(s,n,r))&&(e=c.ytV,V.wtV=e.Name,i[0]={name:e.Name,index:t.beginConnectionSite,shape:c}):(n=t.endId,(c=a(s,n,r))&&(e=c.ytV,V.ptV=e.Name,i[1]={name:e.Name,index:t.endConnectionSite,shape:c})),(n=it(s,V.ytV))instanceof A.ConnectorShape&&(0,d.syncConnectors)(i,n)}))}function F(t,V,n){var t,t,t=t&&t.blipFill,t=t&&t.blip;t&&(t.blipBlob=Z(t["r:embed"],V,n))}function ct(t,V){var V;t&&(V=r(V.c_,t["r:id"]))&&(t.Target=V.Target,t.TargetMode=V.TargetMode)}function S(t,V){var n;t&&ct(t.hlinkClick||t.hlinkHover,V)}function rt(t,V,n){h.ShapeBase.et(C,"processRelationFilesWhenFromSJSFormat",{node:t,drawing:V,sjsCommonInfo:n})}function st(t,V,n,i){var e=V.rels;t.sp?dt(t.sp,V,n,i):t.cxnSp?ot(t.cxnSp,e,i):t.pic?at(t.pic,e,i):t.grpSp?ht(t.grpSp,V,n,i):rt(t,V,i)}function dt(t,V,n,i){var V=V.rels;F(t.spPr,V,i),S(t.nvSpPr.cNvPr,V)}function ot(t,V,n){F(t.spPr,V,n),S(t.nvCxnSpPr.cNvPr,V)}function at(t,V,n){F(t,V,n),F(t.spPr,V,n),S(t.nvPicPr.cNvPr,V)}function ht(t,V,n,i){var e;t&&(e=V.rels,t.c_.forEach(function(t){t.nvGrpSpPr?S(t.nvGrpSpPr.cNvPr,e):t.grpSpPr?F(t.grpSpPr,e,i):t.sp?dt(t.sp,V,n,i):t.cxnSp?ot(t.cxnSp,e,i):t.pic?at(t.pic,e,i):t.n_===f.GrpSpNodeName?ht(t,V,n,i):rt(t,V,i)}))}function X(t,V,n){var t,t,i,i,i,t=t&&t.blipFill,t=t&&t.blip;t&&(i=(i=t.blipBlob)&&i.blob)&&(delete t.blipBlob,i=H(i,V,n))&&(t["r:embed"]=i)}function ut(t,V){var n,i,e,t;t&&(n=t.Target)&&(i=t.TargetMode,delete t.Target,delete t.TargetMode,e=u.XFileConstants.Rr+s(V),t["r:id"]=e,t.r_=[8],t={n_:u.XFileConstants.Lr,Id:e,Type:u.RelationshipConstants.pc,Target:n},i&&(t.TargetMode=i),V.c_.push(t))}function Y(t,V){var n;t&&ut(t.hlinkClick||t.hlinkHover,V)}function xt(t,V,n){h.ShapeBase.et(C,"processRelationFilesWhenToSJSFormat",{node:t,rels:V,data:n})}function yt(t,V,n){t.sp?ft(t.sp,V,n):t.cxnSp?lt(t.cxnSp,V,n):t.pic?gt(t.pic,V,n):t.grpSp?At(t.grpSp,V,n):xt(t,V,n)}function ft(t,V,n){X(t.spPr,V,n),Y(t.nvSpPr.cNvPr,V)}function lt(t,V,n){X(t.spPr,V,n),Y(t.nvCxnSpPr.cNvPr,V)}function gt(t,V,n){X(t,V,n),X(t.spPr,V,n),Y(t.nvPicPr.cNvPr,V)}function At(t,V,n){t&&t.c_.forEach(function(t){t.nvGrpSpPr?Y(t.nvGrpSpPr.cNvPr,V):t.grpSpPr?X(t.grpSpPr,V,n):t.sp?ft(t.sp,V,n):t.cxnSp?lt(t.cxnSp,V,n):t.pic?gt(t.pic,V,n):(t.n_===f.GrpSpNodeName?At:xt)(t,V,n)})}function wt(n){n.c_.forEach(function(t,V){t.sp&&(0,l.isSJSFormControlNode)(t.sp)||t.pic&&(0,x.isCameraShapeNode)(t.pic)?n.c_[V]=(0,l.wrapWithAlternateContentRequiresA14)(t):t.n_===f.GrpSpNodeName&&wt(t)})}function pt(t){var V={twoCellAnchor:t};return t.sp&&(0,l.isSJSFormControlNode)(t.sp)||t.pic&&(0,x.isCameraShapeNode)(t.pic)?V=(0,l.wrapWithAlternateContentRequiresA14)(V):t.grpSp&&wt(t.grpSp),V}function vt(t,V,n){var V,i,e,c,r,s,i,d,o,a,V,i,e;V.ctV&&(e=(i=(V=V.ctV).kg||{left:0,right:V.width,top:0,bottom:V.height}).left,c=i.right,r=i.top,s=i.bottom,e+=V.left,c+=V.left,r+=V.top,s+=V.top,0!=(i=V.angle%360)&&(d={x:e+(c-e)/2,y:r+(s-r)/2},o=I(i),(a=[{x:e,y:r},{x:e,y:s},{x:c,y:r},{x:c,y:s}]).forEach(function(t){var t=M(t,d,o);c=R(c,t.x),s=R(s,t.y)})),V=t.zoom(),i=(0,m.getRowAndRowOffset)(t,s/V,!0).row,e=(0,m.getColAndColOffset)(t,c/V,!0).col,u.Util.So(t,i+E,e+E,n))}function jt(t,V){e(V)||(t.MU={},e(V.snapMode))||(t.MU.snapMode=V.snapMode)}function bt(t){var V={};return V.snapMode=t.MU.snapMode,V}Object.defineProperty(t,"__esModule",{value:!0}),t.shapeFromJSON=t.isInternalUseForUIDisplayShape=t.toJson=t.fromJson=t.toSJSFormatWhenWorkbook=t.toSJSFormat=t.fromSJSFormat=void 0,u=V("Core"),n=V("Common"),c=V("./dist/plugins/shape/drawingInterface.js"),i=V("./dist/plugins/shape/ui/util.js"),h=V("./dist/plugins/shape/shapeView.js"),x=V("./dist/plugins/shape/cameraShape.js"),y=V("FloatingObject"),f=V("./dist/plugins/shape/groupShapes.js"),l=V("./dist/plugins/shape/formControl/formControl-io.js"),g=V("./dist/plugins/shape/geometryService/serviceManager.js"),A=V("./dist/plugins/shape/connectorView.js"),w=V("./dist/plugins/shape/pictureShapeView.js"),p=V("./dist/plugins/shape/formControlView.js"),v=V("./dist/plugins/shape/groupShapesView.js"),j=V("./dist/plugins/shape/cameraShapeView.js"),d=V("./dist/plugins/shape/util/viewUtil.js"),b=V("./dist/plugins/shape/shapeCollection.js"),L=V("./dist/plugins/shape/shape-spreadjs.js"),m=V("./dist/plugins/shape/util/sheetUtil.js"),C=void 0,R=Math.max,M=i.Common.rotatePoint,I=i.Common.toRadius,e=n.Common.lt.ht,r=u.Util.Sr,s=u.Util.wr,T=u.Util.ho,N=u.Util.To,P=u.Util.Ir,D=u.Util.Er,U=u.Util.jr,q=u.Util.Ur,k=u.Util.Hr,B=u.Util.qr,Z=u.Util.Zr,H=u.Util.Kr,_=u.util.n1,z=u.util.xr,Q=u.XFileConstants.Ki,G=u.XFileConstants.Qi,E=2,t.fromSJSFormat=J,t.toSJSFormat=W,t.toSJSFormatWhenWorkbook=K,t.fromJson=$,t.toJson=tt,t.isInternalUseForUIDisplayShape=o,t.shapeFromJSON=Vt},"./dist/plugins/shape/shape-spreadjs.js":function(O,t,V){var n,o,T,i,y,r,f,a,h,e,c,s,N,P,d,u,x,l,g,A,w,p,D,U,V,v,j,b,q,k,B,Z,H,z,Q,G,J,L,W,K,$,m,tt,Vt,nt,it,et,ct,rt,st,i,C,R,dt,ot,V,at,n,ht,M;function ut(t,V,n){return new r.Rect(t.x+V,t.y+n,t.width,t.height)}function xt(t,V,n){var n,t,V,i,V,i,V,i,n=t.yw(n),t=t.dw(V),V=n&&n.length,i=t&&t.length;if(0<V&&0<i)return V=n[V-1],i=t[i-1],V=V.x+V.width-n[0].x,i=i.y+i.height-t[0].y,new r.Rect(n[0].x,t[0].y,V,i)}function yt(t,V,n,i){var e,i;if(i&&(e=ut(i,-t.scrollLeft,-t.scrollTop)),n){if(!(i=V.getIntersectRect(n)))return e;i=ut(i,-V.x,-V.y),e=e?e.getIntersectRect(i):i}return e}function ft(t,V,n){for(var i,e,i=0,e=V;e<=n;e++)i+=t.Kt(e);return i}function lt(t,V,n){for(var i,e,i=0,e=V;e<=n;e++)i+=t.Gt(e);return i}function gt(t){return t.isPaintSuspended()||t.shapes&&t.shapes.UrV()}function At(t,V,n){var i;0===V.changeType?(i="Object"===(i=V.shape).constructor.name?t.get(i.name):i)&&(pt(i,!0),i.onV=!0,i.AP(V.value,n),delete i.onV,pt(i,!1),i.anV(!0)):1===V.changeType&&t.AP(V.value,n)}function wt(t,V,n){V&&t.setExpression(V.id,V.name,n?V.newExpression:V.expression)}function I(){return null!==M&&M.apply(this,arguments)||this}function pt(t,V){t.snV=V,t.ttV===y.CT_ShapeType.CT_GroupShape&&t.tin.forEach(function(t){pt(t,V)})}function vt(t){var V,V,t,V=t.shapes;V?V.forEach(vt):(V=t.JVV)&&(t=(0,u.getFormulaSettingItems)(t,V.hnV))&&V.unV(t,!0)}function jt(t){var V;t.shapeLayers[0].model.shapes.forEach(vt)}function _(t,V){E(t,V),S(t),t.Lj(t,[{row:V}],h.LayoutChangeType.rowChanged)}function bt(t,V,n){var i,e,i=0;for(1===n&&(i=-t.ly),e=0;e<V;e++)i+=t.Gt(e,3);return i}function Lt(t,V,n){var i,e,i=0;for(1===n&&(i=-t.my),e=0;e<V;e++)i+=t.nn(e,3);return i}function E(n,t,i){var e=n.C0(t);n.shapeLayers.forEach(function(t,V){var V=(0,y.getWholeNumber)(V/3);(e<=V||i)&&(t.scrollTop=bt(n,n.getViewportTopRow(V),V),t.Tb=n.getViewportTopRow(V))})}function F(n,t,i){var e=n.S0(t);n.shapeLayers.forEach(function(t,V){var V=V%3;(e<=V||i)&&(t.scrollLeft=Lt(n,n.getViewportLeftColumn(V),V),t.Ab=n.getViewportLeftColumn(V))})}function mt(t,V){for(var n,i,n=0,i=0;i<V;i++)n+=t.Gt(i);return n}function Ct(t,V){for(var n,i,n=0,i=0;i<V;i++)n+=t.nn(i);return n}function Rt(t,V,n){var i,e,c,r,s,s,d,o,a,i=n.scrollTop,e=n.Tb,c=n.ly;if(0===V)e=t.Mve(),c=0,i=mt(t,e);else if(1===V)if(r=n.Tb,s=n.ly,e=t.getViewportTopRow(V),s=-s,d=-(c=t.ly),(o=t.getRowCount())<r)i=mt(t,e),i+=d;else if(r<e){for(i+=t.Gt(r)-s,a=r+1;a<e;a++)i+=t.Gt(a);i+=d}else if(e<r){for(i-=s,a=r-1;e<a;a--)i-=t.Gt(a);i-=t.Gt(e)-d}else i+=d-s;else if(2===V){if(r=n.Tb,e=t.getViewportTopRow(V),(o=t.getRowCount())<r)i=mt(t,e);else if(r<e)for(a=r;a<e;a++)i+=t.Gt(a);else if(e<r)for(a=r-1;e<=a;a--)i-=t.Gt(a);c=0}n.scrollTop=i,n.Tb=e,n.ly=c}function Mt(t,V,n){var i,e,c,r,s,s,d,o,a,i=n.scrollLeft,e=n.Ab,c=n.my;if(0===V)e=t.wve(),c=0,i=Ct(t,e);else if(1===V)if(r=n.Ab,s=n.my,e=t.getViewportLeftColumn(V),s=-s,d=-(c=t.my),(o=t.getColumnCount())<r)i=Ct(t,e),i+=c;else if(r<e){for(i+=t.nn(r)-s,a=r+1;a<e;a++)i+=t.nn(a);i+=d}else if(e<r){for(i-=s,a=r-1;e<a;a--)i-=t.nn(a);i-=t.nn(e)-d}else i+=d-s;else if(2===V){if(r=n.Ab,e=t.getViewportLeftColumn(V),(o=t.getColumnCount())<r)i=Ct(t,e),i+=c;else if(r<e)for(a=r;a<e;a++)i+=t.nn(a);else if(e<r)for(a=r-1;e<=a;a--)i-=t.nn(a);c=0}n.scrollLeft=i,n.Ab=e,n.my=c}function It(t,V,n,i,e){var c=t.style;c.left===V+"px"&&c.top===n+"px"&&c.width===i+"px"&&c.height===e+"px"||(c.left=V+"px",c.top=n+"px",c.width=i+"px",c.height=e+"px",t.width=i,t.height=e,o.Bf.$l(t,i,e))}function _t(t,V,n,i){var e,c,r,s,r,s,i,n,V,r,e=V.yw(i),c=V.dw(n),r=e&&e.length,s=c&&c.length;0<r&&0<s&&(r=e[r-1],s=c[s-1],i=1===i?V.my:0,n=1===n?V.ly:0,V=r.x+r.width-(e[0].x-i),r=s.y+s.height-(c[0].y-n),t.width=Math.min(t.width,V),t.height=Math.min(t.height,r))}function S(t){t.shapes.all().forEach(function(t){t.dynamicMove()?t.ytV.xnV():t.ytV.ynV(),t.dynamicSize()?t.ytV.mtV():t.ytV.fnV(),t.lnV(),t.anV(!0)}),t.cnV()}function Et(t){var V=0,n=0;return t.forEach(function(t){V=p(V,t.endRow()),n=p(n,t.endColumn())}),{row:V,col:n}}function Ft(t,V){for(var n,i,e,n=0,i=t.cdV=[],e=0;e<=V;e++)i[e]=n,n+=t.nn(e)}function St(t,V){for(var n,i,e,n=0,i=t.rdV=[],e=0;e<=V;e++)i[e]=n,n+=t.Gt(e)}function Xt(t,V){var V=Et(V),n=V.row,V=V.col;St(t,n),Ft(t,V)}function Yt(t){t.cdV=A,t.rdV=A}function Ot(t){F(t,0,!0),E(t,0,!0),d.GeometryServiceManager.startCache();var V=t.shapes.all();Xt(t,V),V.forEach(function(t){t.gnV(),t.anV(!0)}),Yt(t),d.GeometryServiceManager.endCache()}function Tt(t){for(var V,n,i,e,V=!1,n=t.shapes.all(),i=n.length,e=0;e<i;e++)if(n[e]&&n[e].isSelected()){V=!0;break}return V}function Nt(t){var V=[];return t.shapes.all().forEach(function(t){t.isSelected()&&V.push(t.ctV)}),V}function X(t){var t=Nt(t);return t&&1===t.length&&(0,f.isCanEditTextShape)(t[0].JVV)?t[0]:null}function Pt(t,V,n){var i,V,e,c,r,s,i=t.name();(0,f.needOpenTextEditor)(V.JVV)?n.execute({cmd:K,sheetName:i,shapeName:V.JVV.name()}):3===V.ttV&&(V=V.JVV)&&(e="sjs://",c=V.range(),r=V.doubleClickCommand())&&("string"==typeof r?r===m?(s=V.ytV.AnV)&&(Y(c,e)||(c=e+c),n.execute({cmd:$,sheetName:s.sheet.name()}),n.execute({cmd:m,sheetName:i,url:c})):n.execute({cmd:r,sheetName:i}):"function"==typeof r&&r.call(w,t,V.name()))}function Dt(t,V,n,i){var e,c,n,e=1,c=n?" ":"_";for(n&&(n=V.lastIndexOf(" "),e=i+1,V=V.substr(0,n));t[V+c+e];)e++;return V+c+e}function Y(t,V,n){return(ot=ot||String.prototype.startsWith||function(t,V){return this.substr(!V||V<0?0:+V,t.length)===t}).call(t,V,n)}n=this&&this.__extends||(ht=function(t,V){return(ht=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}ht(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(t,"__esModule",{value:!0}),t.doubleClickProcess=t.getFocusedShape=t.getSelectedShapesUI=t.hasSelectedShape=t.adjustViewportRect=t.recalculateScrollLeft=t.recalculateScrollTop=t.getScrollLeft=t.getScrollTop=t.SheetModelManager=void 0,o=V("Core"),T=V("SheetsCalc"),i=V("Common"),y=V("./dist/plugins/shape/drawingInterface.js"),r=V("./dist/plugins/shape/ui/util.js"),f=V("./dist/plugins/shape/ui/shapes.js"),a=V("./dist/plugins/shape/ui/canvas.js"),h=V("./dist/plugins/shape/shape.interface.js"),e=V("Comment"),c=V("FloatingObject"),s=V("ConditionalFormatting"),N=V("./dist/plugins/shape/formControl/radioGroupManager.js"),P=V("./dist/plugins/shape/formControl/controls/comboFormControl.js"),d=V("./dist/plugins/shape/geometryService/serviceManager.js"),u=V("./dist/plugins/shape/util/viewUtil.js"),x=V("./dist/plugins/shape/shapeCollection.js"),l=V("./dist/plugins/shape/shape-io.js"),g=o.mt.vi,A=void 0,w=null,p=Math.max,D=i.Common.zf,U=c.Drawing.UnitHelper.IsNullOrEmpty,V=o.GC$.extend,v=i.Common.lt.ht,j="gc-spread-toolTip",b="shape-tooltip",q="margin",k="font",B="padding",Z="border",H="box-sizing",z="z-index",Q="background-color",G="content-box",J="background",L="white",W="color",K="openTextEditor",$="unSelectAllShapes",m="openUrl",tt=o.UsedRangeUtil.vh,Vt=1,nt="options.stroke._",it="options.endPoints.",et=["beginArrow","endArrow"],ct=["type","widthType","lengthType"],rt=["BegingArrowhead","EndArrowhead","Style","Width","Length"],V(o.Worksheet.prototype,st={QnV:function(t){var V=this.shapeLayers;V&&0<V.length&&V[0].layoutConnectionLine(t)},tsV:function(t,V,n,i){var t,V,e,c,r,r,s,c,d,c,o,r,t=t.getShapeById(V);t&&(e=(V=t.JVV)&&V.ytV,-1!==["left","top","width","height"].indexOf(n)?(t.updateCenterData(),"left"===n?V.bnV(i,e.A0):"top"===n?V.bnV(e.I0,i):"width"===n?V.$l(i,e.ZC):"height"===n&&V.$l(e.YC,i)):"angle"===n?e&&(e.Rotation=i):"range"===n&&3===t.ttV?V.GrV(i):"src"===n&&5===t.ttV?V.VrV(i):Y(n,"options.")?Y(n,r="options.textFormatOptions")?((0,u.updateOptionItemByPath)(t,n,i),"text"===(c=n.substr((r+".").length))?V.GnV(i):"font"===c?V.JnV(i):"fill.color"===c?V.adV(i):"fill.transparency"===c?V.KnV(i):"horizontalAlignment"===c?V.$nV(i):"verticalAlignment"===c&&V.teV(i)):Y(n,"options.fill.")?(n=n.substr("options.fill.".length),V.nrV(n,i)):e&&(r=e.Line,s=!0,Y(n,nt)?"capType"===(c=n.substr(nt.length))?r.CapStyle=i:"joinType"===c?r.JoinStyle=i:"compoundType"===c?r.Style=i:"lineStyle"===c?r.DashStyle=i:"width"===c?r.Weight=i:"color"===c?r.Color.setColor(V.Mf,i):"transparency"===c&&(r.Color.Transparency=i):Y(n,it)?(c=n.substr(it.length).split("."),d=et.indexOf(c[0]),c=ct.indexOf(c[1]),0<=d&&0<=c&&(r[o=rt[d]+rt[c+2]]=i),(0,u.updateOptionItemByPath)(t,n,i)):s=!1,s)&&y.ShapeUtility.syncShapeLineFormat(t.options,e):Y(n,"form_control.")&&(r=V.GtV)&&r.onFormulaValueChange&&r.onFormulaValueChange(n,i))},eeV:function(t,V){var n=this.RnV;return n&&(V&&" "===t[t.length-1]&&(t+="1"),n[t=n[t]?Dt(n,t,V,this.shapes.pnV()):t]=!0),t},VsV:function(t,V){var n=this.RnV;n&&(n[t]=!1,n[V]=!0)},WVV:function(){var t=this,V=t.parent,n=t.uM,V=V&&V.uM,n;return n=n||(t.uM=V||{fromSheet:w,isCutting:!1})},ieV:function(){var t,V=this.WVV(),n=V&&V.fromSheet;n&&(n.$VV=w),V.fromSheet=w,V.isCutting=!1},ceV:function(V){var t=this.shapes.all();Array.isArray(t)&&t.forEach(function(t){t.isSelected(V)})},cnV:function(c){var r,s,r=this;gt(r)||(s=r.Fi(),r.shapeLayers.forEach(function(t,V){var n,V,i,e,n;0===V&&t.shapes.forEach(function(t){t.Oi=r.Oi}),n=(0,y.getWholeNumber)(V/3),n=yt(t,i=s.c9(n,V=V%3),e=xt(r,n,V),c),t.paint(null,n)}))},isPasteShapes:function(){var t,V,n,t=this,V=t.WVV().fromSheet;return!!(n=V?(n=t.$VV)||V.$VV:n)},isShapeTextEditorOpened:function(){var t;return!!X(this)||f.ShapeTextEditor.getInstance().isOpened},reV:function(t){var V,n,i,V,t,e,c,V,V=this,n=new r.Rect(0,0,0,0),i=V.Jt,V=V.JS(t),t=V.row,e=V.row+V.rowCount-1,c=V.col,V=V.col+V.colCount-1;return n.width=ft(i,c,V)+1,n.height=lt(i,t,e)+1,n}}),M=o.Y8,n(I,M),I.prototype.deV=function(t){var V=this.oeV;return!V||!V[t]},I.prototype.aeV=function(t){var V=this.oeV;V&&(V[t]=!0)},I.prototype.seV=function(t){var V,n,i,V=this,n=V.G8;n&&V.deV(t.id)&&(i=(i=n.shapeFormulaChanges)||(n.shapeFormulaChanges=[])).push(t)},I.prototype.heV=function(t,V){var n,i,e;if(t)if(i=(n=this).Mf.shapeLayers[0].model.calcSource_,V)for(e=0;e<t.length;e++)wt(i,t[e],V);else for(e=t.length-1;0<=e;e--)wt(i,t[e],V)},I.prototype.ueV=function(t,V){var n,i,e,n=this,i=n.G8;i&&n.deV(t.ctV.id)&&(e=(e=i.shapeChanges)||(i.shapeChanges=[])).push({shape:t,value:V,changeType:0})},I.prototype.HnV=function(t){var V,n,i,V,n=this.G8;n&&(i=(i=n.shapeChanges)||(n.shapeChanges=[])).push({value:t,changeType:1})},I.prototype.xeV=function(t,V){var n,i;if(t)if(n=this.tin,V)for(i=0;i<t.length;i++)At(n,t[i],V);else for(i=t.length-1;0<=i;i--)At(n,t[i],V)},t.SheetModelManager=i=I,o.Y8.prototype=i.prototype,i.ch("shape",{init:function(){this.tin=new x.ShapeCollection(this.Mf)},applyChanges:function(t){var V,n,i,e,e,c,r,s,d,o,a,h,u,V=this,n=t.changes,i=t.isUndo;if(n){if(e=n.shapeChanges)"Designer.shapeGroup"===t.command.cmd&&(e=e.filter(function(t){return 1===t.changeType&&("group"===t.value.type||"ungroup"===t.value.type)})),V.xeV(e,!i),(e=n.shapeFormulaChanges)&&V.heV(e,!i),jt(V.Mf);else if("dragCopyShapes"===t.command.cmd)for(c=0;c<n.length;c++)r=n[c],i?V.tin.remove(r.name):(s=V.tin.get(r.oldShapeName),(d=JSON.parse(JSON.stringify(s.toJSON()))).name=r.name,(o=(0,l.shapeFromJSON)(V.Mf,r.name,d.shapeType,d)).x(r.offsetX),o.y(r.offsetY),V.tin.ZP(o));else if("submitShapeText"===t.command.cmd)for(a=Object.keys(t.command.values),c=0;c<a.length;c++)h=a[c],u=t.command.values[h],s=V.tin.get(h),o=(i?u.oldValues:u.values)[0][1],s.text(o);V.Mf.cnV()}},undo:function(t){var V,n,n,V=this;V.oeV={},n=t.shapeChanges,V.xeV(n),(n=t.shapeFormulaChanges)&&V.heV(n),jt(V.Mf),V.Mf.cnV(),delete V.oeV},startTransaction:function(){var V,t,n,V=this,t=V.Mf.shapeLayers;V.oeV={},t&&t.length&&((n=t[0].model.calcSource_).yeV=function(t){t.id&&0===t.id.indexOf("baseShape")||V.seV(t)})},endTransaction:function(){var t=this.Mf.shapeLayers;delete this.oeV,t&&t.length&&delete t[0].model.calcSource_.yeV}}),t.getScrollTop=bt,t.getScrollLeft=Lt,t.recalculateScrollTop=E,t.recalculateScrollLeft=F,t.adjustViewportRect=_t,t.hasSelectedShape=Tt,t.getSelectedShapesUI=Nt,t.getFocusedShape=X,t.doubleClickProcess=Pt,C=".gcShape",R={priority:1900,init:function(){var i,t,e,V,n,c,r,s,d,i=this;for(i.RnV={},t=[],e=a.Canvas.createShapeModel(),V=0;V<3;V++)for(n=0;n<3;n++)r=3*V+n,s=null,(c=i.shapeLayers)&&c[r]&&(s=c[r].host),(d=t[r]=new a.Canvas(e,s,V,n)).Mf=i;i.shapeLayers=t,i.QtV=new N.RadioGroupManager(i),e.onPropertyChangedByFormula=function(t,V,n){i.tsV(e,t,V,n)},i.shapes=i.Ut.tin,i._3(C),i.D3(o.Events.RangeChanged+C,function(t,V){V&&V.changedCells&&0<V.changedCells.length&&i.Lj(i,V.changedCells,h.LayoutChangeType.layoutChanged),i.celldirty=!0,i.suspendUpdate}),i.D3(o.Events.CellChanged+C,function(t,V){V&&3===V.sheetArea&&i.Lj(i,[{row:V.row,col:V.col}],h.LayoutChangeType.layoutChanged)}),i.D3(o.Events.ColumnChanged+C,function(t,V){var n=V.propertyName;"width"!==n&&"isVisible"!==n||(F(i,V.col),S(i),i.Lj(i,[{col:V.col}],h.LayoutChangeType.columnChanged))}),i.D3(o.Events.RowChanged+C,function(t,V){var n,n,n=V.propertyName;"height"!==n&&"isVisible"!==n||(n=V.row,_(i,n))}),i.D3(o.Events.ColumnWidthChanged+C,function(t,V){F(i,V.colList[0]),S(i);var n=[];V.colList.forEach(function(t){n.push({col:t})}),i.Lj(i,n,h.LayoutChangeType.columnChanged)}),i.D3(o.Events.RowHeightChanged+C,function(t,V){E(i,V.rowList[0]),S(i);var n=[];V.rowList.forEach(function(t){n.push({row:t})}),i.Lj(i,n,h.LayoutChangeType.rowChanged)}),i.D3(o.Events.TableFiltered+C,function(t,V){var V=V.table.range().row;_(i,V)}),i.D3(o.Events.TableFilterCleared+C,function(t,V){var V=V.table.range().row;_(i,V)}),i.D3(o.Events.RangeFiltered+C,function(){var t=i.IB.range.row;_(i,t)}),i.D3(o.Events.FloatingElementSelected+C,function(t,V){"shape"!==V.type&&(i.suspendPaint(),i.ceV(!1),i.resumePaint())}),i.D3(o.Events.RangeGroupStateChanged+C,function(t,V){(V.isRowGroup?E:F)(i,V.index,!0),S(i)}),i.D3(o.Events.ShapeSelectionChanged+C,function(t,V){var V,n,V=X(V.sheet),n=f.ShapeTextEditor.getInstance();n.hP()&&n.closeEditor(),V&&f.ShapeTextEditor.getInstance().RQt!==V.JVV&&n.initEditor(V.JVV)})},attach:function(t){var V=this,n,n=t instanceof o.Workbook?t.Lp:V.getCalcService();V.shapeLayers.forEach(function(t){t.model.name=V.name()+"shapes",t.model.setService(n)})},getRelatedCalcSources:function(t){var V=this.shapeLayers[0].model.calcSource_;V&&t.calcSources.push(V)},dispose:function(t){var n,V,V,i,e,n=this;t.hasActiveSheet||(i=(V=(V=n.qc())&&(0,o.GC$)(V).find(".shapeWraper"))&&V.get(0),e=i&&i.getAttribute("sheet")===this.name(),n.shapeLayers&&n.shapeLayers.forEach(function(t){var t,V;t.setHost(null),t.Mf=null,t.dispose(),(t=t.host)&&e&&(o.Bf.th(n,t),V=t.parentNode)&&V.removeChild(t)}),e&&V.remove(),!1!==t.clearCache&&n._3(C),f.ShapeTextEditor.getInstance().dispose(),P.ComboFormControlDomRender.dispose())},setHost:function(i){var e,c,e=this,c=i.parent().find(".shapeWraper").get(0);c||((c=document.createElement("div")).setAttribute("class","shapeWraper"),c.style.position="relative",c.setAttribute("sheet",this.name()),i.parent().prepend(c)),e.shapeLayers.forEach(function(t,V){var V,n,V=i.attr("id")+"shapeHost"+V,n=i.parent().find("#"+V).get(0);if(!n){if(n=document.createElement("canvas"),o.Bf.Wl(n,w,e),!n)return;n.style.position="absolute",n.style.pointerEvents="none",n.style.width=0,n.style.height=0,n.width=0,n.height=0,n.style.zIndex=900,n.id=V,(0,o.GC$)(c).append(n)}t.setHost(n),t.onShapeSelected=function(){e.ki(o.Events.FloatingElementSelected,{type:"shape"})}})},onLayoutChanged:function(t){var o,V,n,i,e,t,c,a,r,h,u,x;(v(t.sheetArea)||3===t.sheetArea)&&(V=t.changeType,n=t.row,i=t.rowCount,e=t.col,t=t.colCount,c=(o=this).shapes,"invalidateLayout"!==V&&o.My++,"addRows"===V?c.JO(n,i):"deleteRows"===V?c.xP(n,i):"addColumns"===V?c.qO(e,t):"deleteColumns"===V?c.NP(e,t):"setColumnCount"===V?F(o,t,!0):"setRowCount"===V?E(o,i,!0):"invalidateLayout"===V?(a=o.Fi(),u=h=0,x=f.ShapeTextEditor.getInstance(),o.shapeLayers.forEach(function(t,V){var n,V,i,e,c,r,s,d,n=(0,y.getWholeNumber)(V/3),V=V%3,i=t.host;i&&(_t(e=a.c9(n,V),o,n,V),c=e.width,r=e.height,It(i,s=e.x+h,d=e.y+u,c,r),t.width=c,t.height=r,0<c&&0<r&&(Rt(o,n,t),Mt(o,V,t)),x.shouldRefreshPosition(n,V))&&x.refreshPosition(t.scrollLeft,t.scrollTop)})):"zoomSheet"===V&&Ot(o),"invalidateLayout"!==V)&&(o.My--,o.My<0)&&(o.My=0)},onImageLoaded:function(){var t;this.shapes.all().forEach(function(t){t.urV()})},paint:function(t){var t=t&&t.clipRect;t&&(0===t.width||0===t.height)||this.cnV()},getUsedRange:function(t){var V,n,i;t.type&o.UsedRangeType.shape&&(i=(n=(V=this).shapes).getUsedRange(),tt(t.range,i))},toJson:function(t,V){(0,l.toJson)(this,t,V)},fromJson:function(t,V,n){(0,l.fromJson)(this,t,V,n)},fromJsonAfterFormula:function(){var t=this;t.shapes.all().forEach(function(t){t.formulaFromJSON(!1,!1)}),x.ShapeCollection.et(t.shapes,"fromJsonAfterFormula",{sheet:t})},wh:function(t,V,n,i){(0,l.toSJSFormat)(this,t,V,n,i)},yh:function(t,V,n){(0,l.fromSJSFormat)(this,t,V,n)},fromJsonAfterSJSFormula:function(t,V,n){var i,e,i=this,e=o.Util.wo(n,i.parent.v2);i.shapes.all().forEach(function(t){t.formulaFromJSON(e,!0)}),x.ShapeCollection.et(i.shapes,"fromJsonAfterSJSFormula",{sheet:i})},afterRefSheetLazyLoaded:function(t){this.shapes.all().forEach(function(t){return t.afterRefSheetLazyLoaded()})},preProcessMouseDown:function(t){var V,n,i,e,i,e,V=this,n=t.e,i=V.uw(),e=V.FL(n.pageY-i.top),i=V.PL(n.pageX-i.left);e<0||2<e||i<0||2<i||(V.geV=e,V.AeV=i,(e=V.shapeLayers[3*e+i])&&(e.doMouseDown(n),V.working=t.r=!!e.hitTestAnyway,t.r&&(V.Zg(),V.rt.I1.focus()),V.Dn.E1()))},preProcessMouseMove:function(t){var V,n,i,e,c,i,e,c,r,s,d,V,V,t,s,d,i,c,V=this,n=t.e,i=V.uw(),e=V.geV;v(e)&&(e=V.FL(n.pageY-i.top)),c=V.AeV,v(c)&&(c=V.PL(n.pageX-i.left)),e<0||2<e||c<0||2<c||(i=V.shapeLayers[3*e+c])&&(i.hitTestResult||i.hitTestResultInProtectedMode?(V.suspendUpdate=!0,i.doMouseMove(n),t.r=!0):V.rt&&!0!==V.rt.u9&&!0!==V.rt.s9&&(e=V.Dg(),c=i.hitTest(n),i.nsV(c,n),r=e.mouseEnterShape,c?(s=a.Canvas.getCursorFromHitTest(c),e.style.cursor=s,t.r=!0,t.cursor=s,(d=(0,a.getShouldProcessControlShape)(c))&&d.onMouseMove(n,i),(V=V.parent).options.enableAccessibility&&V.n2(c.shape.JVV.alt())):i.isSheetProtected()&&(c=i.hitTest(n,!0))&&(s=a.Canvas.getCursorFromHitLinkedTest(c,"",!0),e.style.cursor=s,t.r=!0,t.cursor=s,d=(0,a.getShouldProcessControlShape)(c))&&d.onMouseMove(n,i),V=c&&c.shape,t=a.Canvas.weV(c),V&&(s=V.JVV)&&(d=s.Mf,t&&t.hyperlink&&!U(t.hyperlink.tooltip)&&!V.isSelected?(r!==t&&d.parent.Tw(D.j0(t.hyperlink.tooltip),n.clientX,n.clientY+20,!0),(i=document.getElementsByClassName(j)[0])&&!i.classList.contains(b)&&(i.classList.add(b),(0,o.GC$)(i).css(q,0).css(B,2).css(Z,"1px #c0c0c0 solid").css("box-shadow","1px 2px 5px rgba(0,0,0,0.4)").css(H,G).css(z,"920").css(Q,L).css(k,"9pt Arial").css(J,L).css(W,"black"))):(c=document.getElementsByClassName(j))&&0!==c.length&&d.parent.iy()),e.mouseEnterShape=t))},preProcessMouseUp:function(t){var V,n,i,e,i,V=this;V.suspendUpdate=!1,n=t.e,i=V.geV,e=V.AeV,v(i)||i<0||2<i||v(e)||e<0||2<e||(i=V.shapeLayers[3*i+e])&&(i.doMouseUp(n),V.working&&(V.working=!1,t.r=!0),V.celldirty&&i.shapes&&0<i.shapes.length&&(V.celldirty=!1),V.geV=null,V.AeV=null)},preProcessMouseOut:function(t){var V,n,i,e,i,e,i,e,i,V=this;V.suspendUpdate=!1,n=t.e,i=V.uw(),e=n.pageX-i.left,i=n.pageY-i.top,e<(e=(0,o.GC$)(V.Dg())).width()&&i<e.height()||(i=V.geV,e=V.AeV,v(i))||i<0||2<i||v(e)||e<0||2<e||(i=V.shapeLayers[3*i+e])&&(i.doMouseOut(n),V.working&&(V.working=!1,t.r=!0),V.celldirty&&(V.celldirty=!1,V.repaint()),V.geV=null,V.AeV=null)},processKeyDown:function(t){var V;Tt(this)&&(t.r=!0)},processCompositionStart:function(t){var V;X(this)&&(t.r=!0)},needPaintSelection:function(t){t.nps=!Tt(this)},onGroupChanged:function(t){this.shapes.Udt(t.start,t.end,t.isRow,t.fromSetCollapsed)},preProcessMouseDbClick:function(t){var V,n,i,e,i,e,i,e,n,V=this,n=t.e,i=V.uw(),e=V.FL(n.pageY-i.top),i=V.PL(n.pageX-i.left);e<0||2<e||i<0||2<i||(V.geV=e,V.AeV=i,(e=V.shapeLayers[3*e+i])&&V.rt&&!0!==V.rt.u9&&!0!==V.rt.s9&&(e=(i=e.hitTest(n))&&i.shape,n=V.Qy(),e)&&(Pt(V,e,n),t.r=!0))},preProcessContextMenu:function(t){var V,n,n,n,n,n,V=f.ShapeTextEditor.editor,n=t.hitInfo,n=n&&n.worksheetHitInfo,n=n&&n.shapeHitInfo,n=n&&n.shape,n=n&&n.ctV;V&&n&&V.isOpened&&V.RQt===n&&(t.r=!0)},onThemeChanged:function(){this.shapes.all().forEach(function(t){t.sdV()})}},o.Worksheet.ch("shape",R),c.FloatingObjectRender&&c.FloatingObjectRender.ch("shape",{preProcessMouseDown:function(t){var V=this.Mf;R.preProcessMouseDown.call(V,t)},preProcessMouseMove:function(t){var V=this.Mf;R.preProcessMouseMove.call(V,t)},preProcessMouseUp:function(t){var V=this.Mf;R.preProcessMouseUp.call(V,t)}}),e&&e.hW.ch("shape",{preProcessMouseDownEdit:function(t){var V=this.TZ.Mf;R.preProcessMouseDown.call(V,t)},preProcessMouseDownDragResize:function(t){var V=this.TZ.Mf;R.preProcessMouseDown.call(V,t)},preProcessMouseMove:function(t){var V=this.TZ.Mf;R.preProcessMouseMove.call(V,t)},preProcessMouseUp:function(t){var V=this.TZ.Mf;R.preProcessMouseUp.call(V,t)}}),s&&s.ConditionalFormats.ch("shape",{onRuleAdded:function(t){this.Lj(this,t.ranges,h.LayoutChangeType.layoutChanged)},onRuleRemoved:function(t){this.Lj(this,t.ranges,h.LayoutChangeType.layoutChanged)},onRuleUpdated:function(t){this.Lj(this,t.ranges,h.LayoutChangeType.layoutChanged)}}),o.Workbook.ch("shape",dt={priority:1e3,init:function(){o.Commands.rnV(this.commandManager())},onCommandExecuting:function(t){var V;t.shapes.all().forEach(function(t){t.isSelected(!1)})},onCultureChanged:function(){(0,y.sR)()},wh:function(t,V,n){(0,l.toSJSFormatWhenWorkbook)(this,t,V,n)},dispose:function(){d.GeometryServiceManager.dispose()}}),V=T.SheetSource.prototype,at=V.getCustomName,V.getCustomName=function(t){var V,n,V=at.call(this,t);return!V&&(n=this.Mf)?n.shapeLayers[0].model.calcSource_.getCustomName(t):V},a.Canvas.ch("sheet",{preProcessMouseOut:function(t){var V,n,V,i,e,n,i,V=this;V.suspendUpdate=!1,n=t.e,(V=V.Mf)&&(i=V.uw(),e=n.pageX-i.left,n=n.pageY-i.top,i=(0,o.GC$)(V.Dg()))&&0<i.length&&0<e&&e<i.width()&&0<n&&n<i.height()&&(t.r=!0)}}),(n=o.mt.Tt).msie&&parseFloat(n.version)<=10&&a.Canvas.ch("sheet",{preProcessMouseDown:function(t){var V,n,i,e,c,r,s,c,s,r,c,s,d,V,n=this.Mf;n&&(i=n.uw(),e=t.e,(r=(c=n.comments)&&c.hitTest(e.pageX-i.left,e.pageY-i.top))?(s=r.comment,c=c.mW(s),"comment_editor"===r.area?c.lW(e):"comment_indicator"===r.area&&c.XZ(e)):(r=(s=n.WL)&&s.hitTest(e.pageX-i.left,e.pageY-i.top))?((s="Slicer"===(c=r.floatingObject).typeName&&c.gmi[0])&&s.mmi(e)?s:r.Dn).gg(e):!1===(d=n.B_(e))&&g(e),t.r=!0)},preProcessMouseMove:function(t){var V,n,i,e,c,r,s,c,s,r,c,r,s,c,d,V=this,n=V.Mf;n&&(i=n.uw(),e=t.e,(r=(c=n.comments)&&c.hitTest(e.pageX-i.left,e.pageY-i.top))?(s=r.comment,(c=c.mW(s)).pg(e),"comment_editor"===r.area?V.host.style.cursor="text":"comment_indicator"===r.area&&(s=c.wK(e),r=c.nQ,V.host.style.cursor=0<=s&&s<r.length?r[s].cursor:"move")):(r=(c=n.WL)&&c.hitTest(e.pageX-i.left,e.pageY-i.top))?(c="Slicer"===(s=r.floatingObject).typeName&&s.gmi[0])&&c.mmi(e)?(c.pg(e),V.host.style.cursor="default"):(r.Dn.pg(e),V.host.style.cursor=r.Dn.avt(e)||"move"):(!1===(d=n.L_(e))&&g(e),V.host.style.cursor=n.Dg().style.cursor),t.r=!0)},preProcessMouseUp:function(t){var V,n,i,e,c,r,r,s,c,r,c,i,d,V,n=this.Mf;n&&(i=n.uw(),e=t.e,(r=(c=n.comments)&&c.hitTest(e.pageX-i.left,e.pageY-i.top))?(r=r.comment,(s=c.mW(r)).bg(e)):(r=(c=n.WL)&&c.hitTest(e.pageX-i.left,e.pageY-i.top))?((i="Slicer"===(c=r.floatingObject).typeName&&c.gmi[0])&&i.mmi(e)?i:r.Dn).bg(e):!1===(d=n.F_(e))&&g(e),t.r=!0)},preProcessMouseWheel:function(t){var V,n,i,V,n=this.Mf;n&&(!1===(i=n.P_(t.e))&&g(t.e),t.r=!0)},preProcessMouseOut:function(t){var V,n,i,V,n=this.Mf;n&&!n.xT&&(!1===(i=n.G_(t.e))&&g(t.e),t.r=!0)},preProcessDbClick:function(t){var V,n,i,V,n=this.Mf;n&&(!1===(i=n.U_(t.e))&&g(t.e),t.r=!0)}})},"./dist/plugins/shape/shape-touch.js":function(t,V,n){var c,V,i,o,e,a,h,r,s;function d(t){var V,n,i,i,i,n,e,c,e,V=this,n=t.e.JZ,i=V.ANt(n.X,n.Y,!0),i=3*i.rowViewportIndex+i.colViewportIndex,i=V.Mf.shapeLayers[i];i&&(n=l(V.Mf,n),c=(e=i.hitTest(n))&&e.shape,e=e&&(0,o.getShouldProcessControlShape)(e),c&&c.isSelected||e)&&(V.peV=i,V.peV.doMouseDown(n),t.r=!0)}function u(t){var V,n,n,V=this,n=t.e.JZ;V.peV&&(n=g(V.Mf,n),V.peV.doMouseMove(n),t.r=!0)}function x(t){var V,n,n,V=this,n=t.e.JZ;V.peV&&(n=A(V.Mf,n),V.peV.doMouseUp(n),V.peV=null,t.r=!0)}function y(t){var V,n,i,i,e,i,c,r,s,d,r,n,V=this,n=t.e.JZ,i=V.ANt(n.X,n.Y,!0),i=3*i.rowViewportIndex+i.colViewportIndex,e=V.Mf.shapeLayers[i];e&&(i=l(V.Mf,n),(r=(c=e.hitTest(i))&&(0,o.getShouldProcessControlShape)(c))&&r.onMouseDown(i,e)?(r.onMouseUp(A(V.Mf,n),e),t.r=!0):(s=c&&c.shape)?(!s.isSelected&&s.hyperlink&&e.processHyperlink(s),e.shapes.forEach(function(t){e.setSelect(t,!1)}),e.setSelect(s,!0),e.onShapeSelected&&e.onShapeSelected(),(d=a.metroMode||h.ipad||h.iphone||h.android)||(a.msie?setTimeout(function(){e.veV(s,V.Mf)},400):e.veV(s,V.Mf)),t.r=!0):e.isSheetProtected()&&(n=(r=e.hitTest(i,!0))?r.shape:null)&&!n.isSelected&&n.hyperlink&&e.processHyperlink(n))}function f(t){var V,n,i,i,i,n,i,n,i,V,V=this,n=t.e.JZ,i=V.ANt(n.X,n.Y,!0),i=3*i.rowViewportIndex+i.colViewportIndex,i=V.Mf.shapeLayers[i];i&&(n=l(V.Mf,n),n=(i=i.hitTest(n))&&i.shape)&&(V=(i=V.Mf).Qy(),(0,e.doubleClickProcess)(i,n,V),t.r=!0)}function l(t,V){return w(t,V,"mousedown")}function g(t,V){return w(t,V,"mousemove")}function A(t,V){return w(t,V,"mouseup")}function w(t,V,n){var t,i,e,t=t.uw(),i,e;return{type:n,pageX:V.X+t.left,pageY:V.Y+t.top}}function p(t,V,n){var i,e,n,i=this;i.AZ=new c.IZ(i),i.xZ=new c.NZ(t,"Shape",i.AZ,2,200),i.kZ=n,i.DZ=new s(t,V),e=i.DZ,(n=i.xZ)._Z=function(){return!0},n.EZ=function(){return!0},n.jZ=function(t){return e.OZ(t)},n.RZ=function(t){return e.BZ(t)},n.LZ=function(t){return e.FZ(t)},n.PZ=function(t){return e.GZ(t)},n.UZ=function(t){return e.HZ(t)},n.ZAt=function(t){return e.WAt(t)}}function v(t,V){var n=this;n.zZ=t,n.LeV=V}Object.defineProperty(V,"__esModule",{value:!0}),c=n("Touch"),V=n("FloatingObject"),i=n("Core"),o=n("./dist/plugins/shape/ui/canvas.js"),e=n("./dist/plugins/shape/shape-spreadjs.js"),a=i.mt.Tt,h=i.mt.pi(),i.Of.touch&&(c.TouchEventHandler.ch("touch",{preProcessManipulationStarted:d,preProcessManipulationDelta:u,preProcessManipulationCompleted:x,preProcessTapped:y,preProcessDoubleTapped:f}),V.FloatingObjectTouchEventHandler.ch("touch",{preProcessTapped:function(t){var V=this.Llt.Mf.dW.DZ;y.call(V,t)}}),p.prototype.oW=function(){var t=this,V=t.kZ;V&&V.aW(t.xZ,!0)},p.prototype.uW=function(){var t=this,V=t.kZ;V&&V.aW(t.xZ,!1)},r=p,v.prototype.WZ=function(t){var t,V,n,t=new c.QZ(t.X,t.Y),V=(0,i.GC$)(this.zZ).offset();return V&&(n=document.body,t.X+=V.left+n.clientLeft||0,t.Y+=V.top+n.clientTop||0),t},v.prototype.jeV=function(t,V){var t=this.WZ(t);return t.X-=V.left,t.Y-=V.top,t},v.prototype.OZ=function(t){var V=this.LeV.Mf;if(V)return V.dW.DZ.OZ(t)},v.prototype.BZ=function(t){var V,n,i,e,e,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),(e=(e=V.WL)&&e.hitTest(i.X,i.Y))?(this.beV=e,t.JZ=n,e.Dn.dW.DZ.BZ(t,!0)):(t.JZ=i,V.dW.DZ.BZ(t))},v.prototype.FZ=function(t){var V,n,i,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),this.beV?(t.JZ=n,this.beV.Dn.dW.DZ.FZ(t,!0)):(t.JZ=i,V.dW.DZ.FZ(t))},v.prototype.GZ=function(t){var V,n,i,n,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),this.beV?(t.JZ=n,n=this.beV.Dn.dW.DZ.GZ(t,!0),this.beV=null,n):(t.JZ=i,V.dW.DZ.GZ(t))},v.prototype.HZ=function(t){var V,n,i,e,e,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),(e=(e=V.WL)&&e.hitTest(i.X,i.Y))?(t.JZ=n,e.Dn.dW.DZ.HZ(t,!0)):(t.JZ=i,V.dW.DZ.HZ(t))},v.prototype.WAt=function(t){var V=this.LeV.Mf;if(V)return t.JZ=this.jeV(t.JZ,V.uw()),V.dW.DZ.WAt(t)},s=v,a.msie)&&parseFloat(a.version)<=10&&o.Canvas.ch("sheetTouch",{setHost:function(t){var V,n,V=this;V.Mf&&(n=V.dW=new r(t,V,V.Mf.parent.kZ)).oW()},dispose:function(){var t=this.dW;t&&t.uW()}})},"./dist/plugins/shape/shape.entry.js":function(t,V,n){var i,e,c,i=this&&this.__createBinding||(Object.create?function(t,V,n,i){void 0===i&&(i=n);var e=Object.getOwnPropertyDescriptor(V,n);e&&("get"in e?V.__esModule:!e.writable&&!e.configurable)||(e={enumerable:!0,get:function(){return V[n]}}),Object.defineProperty(t,i,e)}:function(t,V,n,i){t[i=void 0===i?n:i]=V[n]}),e=this&&this.__exportStar||function(t,V){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(V,n)||i(V,t,n)};Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyle=void 0,e(n("./dist/plugins/shape/drawingInterface.js"),V),e(n("./dist/plugins/shape/shapeInternal.interface.js"),V),e(n("./dist/plugins/shape/shape.interface.js"),V),e(n("./dist/plugins/shape/shapeCollection.js"),V),e(n("./dist/plugins/shape/ui/util.js"),V),e(n("./dist/plugins/shape/ui/options.js"),V),e(n("./dist/plugins/shape/ui/path.js"),V),e(n("./dist/plugins/shape/ui/shapes.js"),V),e(n("./dist/plugins/shape/ui/lines.js"),V),e(n("./dist/plugins/shape/ui/compoundShape.js"),V),e(n("./dist/plugins/shape/ui/canvas.js"),V),e(n("./dist/plugins/shape/ui/propertySource.js"),V),e(n("./dist/plugins/shape/ui/model.js"),V),e(n("./dist/plugins/shape/ui/control.js"),V),e(n("./dist/plugins/shape/shapeStyle.js"),V),c=n("./dist/plugins/shape/shapeStyleView.js"),Object.defineProperty(V,"ShapeStyle",{enumerable:!0,get:function(){return c.ShapeStyle}}),e(n("./dist/plugins/shape/shape.js"),V),e(n("./dist/plugins/shape/shapeView.js"),V),e(n("./dist/plugins/shape/groupShapes.js"),V),e(n("./dist/plugins/shape/groupShapesView.js"),V),e(n("./dist/plugins/shape/connector.js"),V),e(n("./dist/plugins/shape/connectorView.js"),V),e(n("./dist/plugins/shape/presetShapeModels.js"),V),e(n("./dist/plugins/shape/shape-spreadjs.js"),V),e(n("./dist/plugins/shape/shape-actions.js"),V),e(n("./dist/plugins/shape/cameraShape.js"),V),e(n("./dist/plugins/shape/cameraShapeView.js"),V),e(n("./dist/plugins/shape/pictureShapeView.js"),V),e(n("./dist/plugins/shape/util/viewUtil.js"),V),e(n("./dist/plugins/shape/formControl/baseFormControl.js"),V),e(n("./dist/plugins/shape/formControl/formControl.js"),V),e(n("./dist/plugins/shape/formControl/formControlData.js"),V),e(n("./dist/plugins/shape/formControl/controls/scrollbar.js"),V),e(n("./dist/plugins/shape/formControl/controls/util.js"),V),e(n("./dist/plugins/shape/formControlView.js"),V),n("./dist/plugins/shape/shape-touch.js")},"./dist/plugins/shape/shape.interface.js":function(t,V,n){var i,e,c,r,s,d,o,a,n,n,n,n,n,n,n,n;Object.defineProperty(V,"__esModule",{value:!0}),V.LayoutChangeType=V.PointSource=V.BorderType=V.ResizeMode=V.SnapMode=V.VerticalAlign=V.HorizontalAlign=V.ShapeFillType=void 0,n("./dist/plugins/shape/formControl/formControl.interface.js"),(n=i=V.ShapeFillType||(V.ShapeFillType={}))[n.none=0]="none",n[n.solid=1]="solid",(n=e=V.HorizontalAlign||(V.HorizontalAlign={}))[n.left=0]="left",n[n.center=1]="center",n[n.right=2]="right",(n=c=V.VerticalAlign||(V.VerticalAlign={}))[n.top=0]="top",n[n.middle=1]="middle",n[n.bottom=2]="bottom",(n=r=V.SnapMode||(V.SnapMode={}))[n.none=0]="none",n[n.grid=1]="grid",n[n.shape=2]="shape",(n=s=V.ResizeMode||(V.ResizeMode={}))[n.aspect=0]="aspect",n[n.horizontal=1]="horizontal",n[n.vertical=2]="vertical",(n=d=V.BorderType||(V.BorderType={}))[n.outter=0]="outter",n[n.inner=1]="inner",(n=o=V.PointSource||(V.PointSource={}))[n.lineTo=0]="lineTo",n[n.arcTo=1]="arcTo",n[n.fixed=2]="fixed",(n=a=V.LayoutChangeType||(V.LayoutChangeType={}))[n.layoutChanged=0]="layoutChanged",n[n.columnChanged=1]="columnChanged",n[n.rowChanged=2]="rowChanged"},"./dist/plugins/shape/shape.js":function(O,s,t){var V,n,d,T,i,e,c,j,N,P,D,U,q,k,B,Z,t,r,H,o,z,Q,a,h,u,G,J,x,W,y,K,$,f,tt,Vt,n,nt,it,et,ct,n,t,l,rt,st,g,A,w,p,v,b,L,dt;function m(t){var V,n,i,e;function c(t,V){var t=parseInt(t.v_||0,10);return V?(0,s.emuToPixels)(t,6):t}return{row:V=c(t.row),col:n=c(t.col),rowOffset:i=c(t.rowOff,!0),colOffset:e=c(t.colOff,!0)}}function C(t,V,n,i){return{col:{v_:t},colOff:{v_:(0,s.pixelToEMU)(V)},row:{v_:n},rowOff:{v_:(0,s.pixelToEMU)(i)}}}function ot(t){return{x:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.x),6),y:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.y),6)}}function at(t){return{width:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.cx),6),height:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.cy),6)}}function R(t){var t=t%360;return t<0&&(t+=360),t=45<=t&&t<135?90:135<=t&&t<225?180:225<=t&&t<315?270:0}function ht(t,V,n){return V?((t%=360)<0&&1===V&&(t+=360),t*=i.ANGLE_ADJUSTMENT_UNIT):t*=i.ADJUSTMENT_UNIT,n?x(t):t}function ut(t,V){return V?180<(t/=i.ANGLE_ADJUSTMENT_UNIT)&&(t-=360):t/=i.ADJUSTMENT_UNIT,t}function xt(t,V,n){var i;return n&&t&&t.Lp?((i=t.Lp.parse(t.Uw(),V,0,0,!1,!1,!1)).source&&(i.source.Wbt=n),t.Lp.unparse(t.Uw(),i,0,0,!1,!1)):V}function M(t){return Array.isArray(t)?t:y(t)?[]:[t]}function yt(t,V){for(var n=0;n<t.length;n++)if(V(t[n]))return t[n]}function ft(t,V){return yt(M(t&&t.ext),V)}function lt(t,V){var n,n=(n=t.extLst)||(t.extLst={ext:[]});Array.isArray(n.ext)||(n.ext=M(n.ext)),n.ext.push(V)}function I(t,V,n,i,e){var c,n,r,s;return t-=i,V-=e,n=n*Math.PI/180,{x:(r=t*(c=G(n))-V*(n=J(n)))+i,y:(s=t*n+V*c)+e}}function gt(t){var V,n,V=t.rowOffset;return y(t.rowOffsetEmu)||(V=(0,s.emuToPixels)(t.rowOffsetEmu,6)),n=t.colOffset,y(t.colOffsetEmu)||(n=(0,s.emuToPixels)(t.colOffsetEmu,6)),{row:t.row,col:t.col,rowOffset:V,colOffset:n}}function At(t,V){for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]&&!V[n]&&(V[n]=t[n])}function wt(t,V){var n,i,e,c,r,V,n=V.solidFill,i=V.grpFill,e=V.pattFill,c=V.gradFill,r=V.blipFill,V=V.noFill;n?t.FromSJSOOModel(n,0):i?t.FromSJSOOModel(i,4):e?t.FromSJSOOModel(e,1):c?t.FromSJSOOModel(c,2):r?t.FromSJSOOModel(r,3):V&&(t.Color.ColorType=0)}function pt(t,V){var n,i;a(V),t.IsDirtyIncludingParent(!0)&&(i=(n=t.ToSJSOOModel()).colorFillType,t.Visible?0===i?V.solidFill=n:1===i?V.pattFill=n:2===i?V.gradFill=n:3===i?V.blipFill=n:4===i?V.grpFill={colorFillType:4}:5===i&&(V.noFill={}):V.noFill={},delete n.colorFillType)}function vt(t){var t=t.ToSJSOOModel();return delete t.colorFillType,t}function jt(t){var V,n,V={};return t.IsDirtyIncludingParent(!0)&&(n=t.ToSJSOOModel(),V=t.Visible?n:{noFill:{}}),V}function bt(t,V){}function Lt(t){return""+t}function _(t,V,n){var t=A.call(this,t,V,n)||this;return Object.defineProperty(t,"Text",{get:function(){return y(this._text)?this.Type===r.TxLink?this.N0t.ReferingText:d.ChartUtility.GetTextFieldTypeText(this.Type):this._text}}),t}function mt(t,V){var t=w.call(this,t,V)||this;return t.E0t=d.ST_TextAlignType.l,t}function Ct(t,V){var t,V,t=p.call(this,t,V)||this,V=t;return V.F0t={top:s.DEFAULT_TB_INS,bottom:s.DEFAULT_TB_INS,left:s.DEFAULT_LR_INS,right:s.DEFAULT_LR_INS},V.P0t=!1,V.G0t=d.ST_TextAnchoringType.t,V.U0t=d.ST_TextVerticalType.horz,V.lrt=d.ST_TextWrappingType.square,V.H0t=d.ST_TextHorzOverflowType.clip,V.z0t=d.ST_TextVertOverflowType.clip,t}function E(){return null!==v&&v.apply(this,arguments)||this}function F(t,V,n,i,e,c){this.itV=0,this.hVV=-1,this.uVV=0,this.xVV=-1,this.yVV=0,this.CtV=-1,this.RtV=0,this.ItV=-1,this.MtV=0;var r=this;r.eJ=t,isNaN(i)||(r.A0=i,r.I0=n,r.YC=e,r.ZC=c)}function S(t,V,n,i,e,c){var t,n,t=b.call(this,t,V,n,i,e,c)||this;return t.ltV=!1,t.gtV=!1,t.jft=!0,t._hidden=!1,t.itn="",t.L0t=0,t.meV=!0,t.CeV=!1,t.ReV=!1,t.ntV=0,t.idV=[],t.oiV={},n=t,V&&(n.Name=V),isNaN(i)||(n.ynV(),n.fnV()),n.InitFormat(),t}function Rt(t,V){var n,i,e,i=V.bodyPr,n=t.fzn;n!==i.anchor&&(i.anchor=n),(n=t.MeV)&&(i.lIns=(0,d.getWholeNumber)(n.left/l),i.rIns=(0,d.getWholeNumber)(n.right/l),i.tIns=(0,d.getWholeNumber)(n.top/l),i.bIns=(0,d.getWholeNumber)(n.bottom/l)),n=t.czn,y(n)||((e=V.p).forEach(function(t){t.pPr.algn=n}),isNaN(i.horzOverflow)&&(i.horzOverflow=1),isNaN(i.vertOverflow)&&(i.vertOverflow=2)),n=t.TrV,y(n)||(i.spAutoFit=n)}function Mt(t,V){var n,i,i,e,c,r,n=V.bodyPr,i=d.ST_TextAnchoringType[t.fzn];i!==n.anchor&&(n.anchor=i),(i=t.MeV)&&(n.lIns=(0,d.getWholeNumber)(i.left/l),n.rIns=(0,d.getWholeNumber)(i.right/l),n.tIns=(0,d.getWholeNumber)(i.top/l),n.bIns=(0,d.getWholeNumber)(i.bottom/l)),e=d.ST_TextAlignType[t.czn],y(e)||(c=M(V.p)).forEach(function(t){(0,s.getTargetNodeByName)(t,"pPr").algn=e}),(r=t.TrV)&&(n.spAutoFit={})}function X(t,V,n,i,e,c,r){var t,V,t=L.call(this,t,V,i,e,c,r)||this,V=t;return V.AutoShapeType=n,V.ttV=0,V.InitShapeFormat(),V.itV=0,t}function Y(t,V,n,i,e,c){return dt.call(this,t,V,n,i,e,c)||this}V=this&&this.__extends||(g=function(t,V){return(g=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}g(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(s,"__esModule",{value:!0}),s.LosslessShapeData=s.ShapeData=s.ShapeBaseData=s.DrawingBaseData=s.j=s.toSJSThreeDGroup=s.toSJSLine=s.toSJSColorNode=s.toSJSFillGroup=s.fromSJSFillGroup=s.addSJSExt=s.findSJSExt=s.find=s.convertToArray=s.adjustFormulaByNewWorkSheetName=s.convertAdjustmentValueToSJSUnit=s.convertAdjustmentValueToExcelUnit=s.getAvailableAngle=s.toSJSAnchorPoint=s.readSJSAnchorPoint=s.DEFAULT_LR_INS=s.DEFAULT_TB_INS=s.SJS_False=s.SJS_True=s.xmlEncode=s.xmlDecode=s.getTargetNodeByName=s.pixelToEMU=s.emuToPixels=s.getActualRowHeight=s.getActualColumnWidth=s.getAttributeValueOrDefaultOfIntType=s.getAttrValueOrDefaultOfBooleanType=void 0,n=t("Common"),d=t("./dist/plugins/shape/drawingInterface.js"),T=t("./dist/plugins/shape/shapeStyle.js"),i=t("./dist/plugins/shape/geometryService/controlPointService.js"),e=t("Core"),c=t("FloatingObject"),j=t("./dist/plugins/shape/util/sheetUtil.js"),N=c.Drawing.ColorFormat,P=c.Drawing.LineFormat,D=c.Drawing.ShadowFormat,U=c.Drawing.GlowFormat,q=c.Drawing.FillFormat,k=c.Drawing.ReflectionFormat,B=c.Drawing.SoftEdgeFormat,Z=c.Drawing.ThreeDFormat,t=c.Drawing.DrawingText,r=c.Drawing.TextFieldType,H=c.Drawing.ARGBColor,o=c.Drawing.OOXMLFileHelper,z=c.Drawing.DrawingType,Q=c.Drawing.ThemeFont,a=d.ChartUtility.Aft,h=d.ShapeConstants.PositiveFixedAngleConvert,u=null,G=Math.cos,J=Math.sin,x=Math.round,W=Math.min,y=n.Common.lt.ht,s.getAttrValueOrDefaultOfBooleanType=e.NodeHelper.ur,s.getAttributeValueOrDefaultOfIntType=e.NodeHelper.sr,s.getActualColumnWidth=e.ExcelHelper.getActualColumnWidth,s.getActualRowHeight=e.ExcelHelper.getActualRowHeight,s.emuToPixels=e.ExcelHelper.emuToPixles,s.pixelToEMU=e.ExcelHelper.pixelToEMU,s.getTargetNodeByName=e.util.u1,s.xmlDecode=e.util.n1,s.xmlEncode=e.util.vo,s.SJS_True="1",s.SJS_False="0",K="Internal",$="External",f="sjs://",tt="#",n=91440,s.DEFAULT_TB_INS=(0,s.emuToPixels)(Vt=45720),s.DEFAULT_LR_INS=(0,s.emuToPixels)(n),s.readSJSAnchorPoint=m,s.toSJSAnchorPoint=C,s.getAvailableAngle=R,s.convertAdjustmentValueToExcelUnit=ht,s.convertAdjustmentValueToSJSUnit=ut,s.adjustFormulaByNewWorkSheetName=xt,s.convertToArray=M,s.find=yt,s.findSJSExt=ft,s.addSJSExt=lt,s.fromSJSFillGroup=wt,s.toSJSFillGroup=pt,s.toSJSColorNode=vt,s.toSJSLine=jt,s.toSJSThreeDGroup=bt,s.j=Lt,A=c.Drawing.DrawingTextField,V(_,A),_.prototype.updateText=function(t){this._text=t},_.prototype.FromOOModel=function(t){A.prototype.FromOOModel.call(this,t),t&&t.t&&this.updateText(t.t)},_.prototype.FromSJSOOModel=function(t){A.prototype.FromSJSOOModel.call(this,t);var t=t&&t.t&&t.t.v_;t&&this.updateText((0,s.xmlDecode)(t))},nt=_,w=c.Drawing.DrawingTextParagraph,V(mt,w),mt.prototype.CreateDrawingTextField=function(t,V){return new nt(t,V,this)},it=mt,p=c.Drawing.DrawingTextBody,V(Ct,p),Ct.prototype.CreateDrawingTextParagraph=function(t){return new it(t,this)},et=Ct,V(E,v=t),E.prototype.CreateDrawingTextBody=function(t,V){return new et(t,V)},E.prototype.SetTextLinkInternal=function(){var t;this.v0t.Clear(),this.v0t.AddParagraph(void 0).AddField(c.Drawing.TextFieldType.TxLink)},E.prototype.UpdateTextLinkElementText=function(t){var V=this.GetTextLinkElement();V&&V.updateText(t)},E.prototype.HasTextLink=function(){return!!this.GetTextLinkElement()},E.prototype.GetTextLinkElement=function(){for(var t,V,n,i,e,c,r,t=this.v0t,V=0,n=t.Count;V<n;V++)for(e=0,c=(i=t.Get(V)).Count;e<c;e++)if(r=i.Get(e),this.IsTextLinkElement(r))return r},E.prototype.IsTextLinkElement=function(t){return t&&t instanceof c.Drawing.DrawingTextField&&t.Type===r.TxLink},ct=E,F.prototype.xnV=function(){var t,V,n,n,t=this,V=t.eJ,n=(0,j.getY)(V,t.hVV,t.uVV);t.A0=n,n=(0,j.getX)(V,t.xVV,t.yVV),t.I0=n},F.prototype.mtV=function(){var t,V,n,n,t=this,V=t.eJ,n=(0,j.getY)(V,t.CtV,t.RtV)-t.A0;t.ZC=Math.max(0,n),n=(0,j.getX)(V,t.ItV,t.MtV)-t.I0,t.YC=Math.max(0,n)},F.prototype.ynV=function(t){var V,n,i,i,V=this,n=V.eJ,i=(0,j.getRowAndRowOffset)(n,V.A0,t);V.hVV=i.row,V.uVV=i.rowOffset,i=(0,j.getColAndColOffset)(n,V.I0,t),V.xVV=i.col,V.yVV=i.colOffset},F.prototype.fnV=function(t){var V,n,i,i,V=this,n=V.eJ,i=(0,j.getRowAndRowOffset)(n,V.ZC+V.A0,t);V.CtV=i.row,V.RtV=i.rowOffset,i=(0,j.getColAndColOffset)(n,V.YC+V.I0,t),V.ItV=i.col,V.MtV=i.colOffset},F.prototype.FormulaFrom=function(){},F.prototype.FromSJSOOModel=function(t,V){this._eV(V)},F.prototype.ToSJSOOModel=function(t,V){this.EeV(t)},F.prototype.FromSJSCT_ShapeBase=function(t){},F.prototype.ToSJSCT_ShapeBase=function(t){},F.prototype._eV=function(t){var V,n,i,e,c,r,s,d,d,n,V=this,n=t.anchorType,i=function(t){V.hVV=t.row,V.uVV=t.rowOffset,V.xVV=t.col,V.yVV=t.colOffset,V.xnV()},e=function(t){V.CtV=t.row,V.RtV=t.rowOffset,V.ItV=t.col,V.MtV=t.colOffset,V.mtV()};0===(V.itV=n)?(i(m((c=t).from)),e(m(c.to))):1===n?(r=m((c=t).from),s=at(c.ext),d=(0,j.getOriginXYByAnchorPoint)(V.eJ,r),d=(0,j.getAnchorPointByOriginXY)(V.eJ,d.x+s.width,d.y+s.height),i(r),e(d)):2===n&&(n=ot((c=t).pos),s=at(c.ext),r=(0,j.getAnchorPointByOriginXY)(V.eJ,n.x,n.y),d=(0,j.getAnchorPointByOriginXY)(V.eJ,n.x+s.width,n.y+s.height),i(r),e(d))},F.prototype.EeV=function(t){var V=this;t.from=C(V.xVV,V.yVV,V.hVV,V.uVV),t.to=C(V.ItV,V.MtV,V.CtV,V.RtV)},s.DrawingBaseData=n=F,(0,e.$e)(n),V(S,b=n),Object.defineProperty(S.prototype,"Parent",{get:function(){return this.eJ},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Name",{get:function(){return this.Zc},set:function(t){var V,n,V=this;V.Zc===t||(n=V.CheckNameUnique(t))||(V.Zc=t)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Placement",{get:function(){return this.itV},set:function(t){this.itV=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Title",{get:function(){return this.itn},set:function(t){this.itn=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Rotation",{get:function(){return this.L0t},set:function(t){this.L0t=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Locked",{get:function(){return this.meV},set:function(t){this.meV=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"AutoShapeType",{get:function(){return this.ntV},set:function(t){var V,t,V=this;V.ntV=t,t=(0,i.getControlPointInfo)(t),V.idV=t.adjustValues,V.oiV=t.angleAdjustments},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"AdjustValues",{get:function(){return this.idV},set:function(t){this.idV=t},enumerable:!1,configurable:!0}),S.prototype.ddV=function(t,V){var n,i,e,c,e;if(t&&0!==t.length)for(n=this.oiV,i=0;i<t.length;i++)c=(e=t[i])[0],e=+e[1],isNaN(e)||(V&&(e=ht(e,n[c],!1)),this.odV(c,e))},S.prototype.odV=function(V,t){var n=yt(this.idV,function(t){return t[0]===V});n&&(n[1]=x(t))},Object.defineProperty(S.prototype,"Connector",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Fill",{get:function(){return this.S0t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Line",{get:function(){return this.Tin},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"ParentGroup",{get:function(){return this.XtV},enumerable:!1,configurable:!0}),S.prototype.mVV=function(t){this.XtV=t},S.prototype.btV=function(t){this.Zc||(this.Name=t)},Object.defineProperty(S.prototype,"PictureFormat",{get:function(){var t,V=this.S0t;if(V&&(5===V.Type||3===V.Type))return V.PictureFormat},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"ThreeD",{get:function(){return this.Cin},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Visible",{get:function(){return this.jft},set:function(t){this.jft=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"Hidden",{get:function(){return this._hidden},set:function(t){this._hidden=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"ShapeStyle",{get:function(){return this.MVV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"TopAnchorRow",{get:function(){return this.hVV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"TopAnchorRowOffset",{get:function(){return this.uVV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"LeftAnchorCol",{get:function(){return this.xVV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"LeftAnchorColOffset",{get:function(){return this.yVV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"BottomAnchorRow",{get:function(){return this.CtV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"BottomAnchorRowOffset",{get:function(){return this.RtV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"RightAnchorCol",{get:function(){return this.ItV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"RightAnchorColOffset",{get:function(){return this.MtV},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"IsTextBox",{get:function(){return this.CeV},set:function(t){this.CeV=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"noChangeAspect",{get:function(){return this.ReV},set:function(t){this.ReV=t},enumerable:!1,configurable:!0}),S.prototype.IsSpecialShape=function(){var t=this.AutoShapeType;return 25===t||26===t||27===t||29===t||30===t||31===t||32===t||182===t},S.prototype.InitFormat=function(){var t,V,V,t=this,V=t.MVV=t.CreateDefaultShapeStyle();t.S0t=new q(t,V.Fill,u,t),t.Tin=new P(t,V.Line),t.Tin.Style=0,V=V.Font,t.I0i=new ct(t,V,"",{Size:V.Size}),t.Cin=new Z(t,t.XtV&&t.XtV.ThreeD),t.Ain=new D(t),t.Din=new U(t),t.SeV=new k(t),t.Pin=new B},S.prototype.CheckNameUnique=function(t){if(this.eJ.shapes.get(t)){if(this.CVV)return!0;throw new Error((0,d.sR)().Exp_DuplicatedName)}},S.prototype.CreateDefaultShapeStyle=function(){return new T.ShapeStyleData(this,1,2,0,1)},S.prototype.FromOOModel=function(t){var V,n,i,e,c,r,s,d,o,s,o,a,h,u,x,y,o,a,s,h,V=this;t&&(n=function(t){V.hVV=t.row,V.uVV=t.rowOffset,V.xVV=t.col,V.yVV=t.colOffset},i=function(t){V.CtV=t.row,V.RtV=t.rowOffset,V.ItV=t.col,V.MtV=t.colOffset},0===(e=t.anchorType)?(c=gt(t.startPoint),r=gt(t.endPoint),n(c),i(r),V.itV=t.editAs,d=void 0,o=0,(s=t.sp||t.cxnSp||t.grpSp||t.pic)&&s.spPr&&s.spPr.xfrm&&s.spPr.xfrm.rot&&(o=(d=s.spPr.xfrm).rot),0!==(o=s&&s.grpSpPr&&s.grpSpPr.xfrm&&s.grpSpPr.xfrm.rot?(d=s.grpSpPr.xfrm).rot:o)?(s=-R(o/6e4),o={y:(0,j.getY)(V.eJ,c.row,c.rowOffset),x:(0,j.getX)(V.eJ,c.col,c.colOffset)},a={y:(0,j.getY)(V.eJ,r.row,r.rowOffset),x:(0,j.getX)(V.eJ,r.col,r.colOffset)},u=I(o.x,o.y,s,(h={x:(o.x+a.x)/2,y:(o.y+a.y)/2}).x,h.y),x=I(a.x,a.y,s,h.x,h.y),y=I(o.x,a.y,s,h.x,h.y),o=I(o.x,a.y,s,h.x,h.y),a=Math.min(u.x,x.x,y.x,o.x),s=Math.min(u.y,x.y,y.y,o.y),V.I0=a,V.A0=s,V.YC=Math.abs(Math.max(u.x,x.x,y.x,o.x)-a),V.ZC=Math.abs(Math.max(u.y,x.y,y.y,o.y)-s),V.ynV(),V.fnV()):(V.xnV(),V.mtV())):1===e?(V.itV=1,c=gt(t.startPoint),h=(0,j.getOriginXYByAnchorPoint)(V.eJ,c),r=(0,j.getAnchorPointByOriginXY)(V.eJ,h.x+t.width,h.y+t.height),n(c),i(r),V.xnV(),V.mtV()):2===e&&(V.itV=2,c=(0,j.getAnchorPointByOriginXY)(V.eJ,t.x,t.y),r=(0,j.getAnchorPointByOriginXY)(V.eJ,t.x+t.width,t.y+t.height),n(c),i(r),V.xnV(),V.mtV()))},S.prototype.FromSJSOOModel=function(t,V){var n,t,V,i,e,i,t,i,e,V,c,r,s,i,e,t;b.prototype.FromSJSOOModel.call(this,t,V),n=this,t=t,0===V.anchorType&&(V=0,t&&((i=t.spPr)?(e=i.xfrm)&&(V=parseInt(e.rot||0,10)):(i=t.grpSpPr)&&(e=i.xfrm)&&(V=parseInt(e.rot||0,10))),0!==V?(t=-R(V/6e4),i={y:(0,j.getY)(n.eJ,n.hVV,n.uVV),x:(0,j.getX)(n.eJ,n.xVV,n.yVV)},e={y:(0,j.getY)(n.eJ,n.CtV,n.RtV),x:(0,j.getX)(n.eJ,n.ItV,n.MtV)},c=I(i.x,i.y,t,(V={x:(i.x+e.x)/2,y:(i.y+e.y)/2}).x,V.y),r=I(e.x,e.y,t,V.x,V.y),s=I(i.x,e.y,t,V.x,V.y),i=I(i.x,e.y,t,V.x,V.y),e=Math.min(c.x,r.x,s.x,i.x),t=Math.min(c.y,r.y,s.y,i.y),n.I0=e,n.A0=t,n.YC=Math.abs(Math.max(c.x,r.x,s.x,i.x)-e),n.ZC=Math.abs(Math.max(c.y,r.y,s.y,i.y)-t),n.ynV(),n.fnV()):(n.xnV(),n.mtV()))},S.prototype.ToOOModel=function(t,V){var n,i,e,c,r,s,d,o,a,h,u,x,y,f,l,g,A,w,p,v,f,y,x,l,e,A,n=this,i={anchorType:0},e=R(n.L0t),c=n.hVV,r=n.uVV,s=n.xVV,d=n.yVV,o=n.CtV,a=n.RtV,h=n.ItV,u=n.MtV;return 0!==e&&(x=n.A0,y=n.I0,f=n.YC,l=n.ZC,g=n.eJ,p=I(y,x,e,A=y+f/2,w=x+l/2),v=I(y+f,x+l,e,A,w),f=I(y+f,x,e,A,w),y=I(y,x+l,e,A,w),x=(0,j.getRowAndRowOffset)(g,Math.min(p.y,v.y,f.y,y.y)),l=(0,j.getColAndColOffset)(g,Math.min(p.x,v.x,f.x,y.x)),e=(0,j.getRowAndRowOffset)(g,Math.max(p.y,v.y,f.y,y.y)),A=(0,j.getColAndColOffset)(g,Math.max(p.x,v.x,f.x,y.x)),c=x.row,r=x.rowOffset,s=l.col,d=l.colOffset,o=e.row,a=e.rowOffset,h=A.col,u=A.colOffset),i.startPoint={row:c,col:s,rowOffset:r,colOffset:d},i.endPoint={row:o,col:h,rowOffset:a,colOffset:u},i.editAs=n.itV,i},S.prototype.ToSJSOOModel=function(t,V){var V,n,i,e,c,r,V,s,d,o,a,c,e,i,r,n,s;b.prototype.ToSJSOOModel.call(this,t,V),0!==(n=R((V=this).L0t))&&(i=V.A0,e=V.I0,c=V.YC,r=V.ZC,V=V.eJ,o=I(e,i,n,s=e+c/2,d=i+r/2),a=I(e+c,i+r,n,s,d),c=I(e+c,i,n,s,d),e=I(e,i+r,n,s,d),i=(0,j.getRowAndRowOffset)(V,Math.min(o.y,a.y,c.y,e.y)),r=(0,j.getColAndColOffset)(V,Math.min(o.x,a.x,c.x,e.x)),n=(0,j.getRowAndRowOffset)(V,Math.max(o.y,a.y,c.y,e.y)),s=(0,j.getColAndColOffset)(V,Math.max(o.x,a.x,c.x,e.x)),t.from=C(r.col,r.colOffset,i.row,i.rowOffset),t.to=C(s.col,s.colOffset,n.row,n.rowOffset))},S.prototype.FromCT_ShapeBase=function(t){},S.prototype.ToCT_ShapeBase=function(t){},S.prototype.FromCT_ShapeProperties=function(t){var V,n,i,e,e,V=this,n=t.prstGeom,i=t.xfrm;V.bri=n&&0===n.prst,V.FromCT_Transform2D(i),delete V.bri,e=V.S0t,t.solidFill?e.FromOOModel(t.solidFill,0):t.grpFill?e.FromOOModel(t.grpFill,4):t.pattFill?e.FromOOModel(t.pattFill,1):t.gradFill?e.FromOOModel(t.gradFill,2):t.blipFill?e.FromOOModel(t.blipFill,3):t.noFill&&(e.Color.ColorType=0),t.ln&&V.Tin.FromOOModel(t.ln),e=(i&&i.rot||0)/h,V.XtV&&(e+=V.XtV.Rotation),V.Rotation=e,n?V.FromCT_PresetGeometry2D(n):(V.AutoShapeType=0,V._hidden=!0),V.FromThreeDFormat(t),V.FromCT_EffectList(t.effectLst)},S.prototype.stV=function(t){var V,n,i,e,c,e,V=this,n=t.prstGeom,i=t.xfrm;V.YeV(i),wt(V.S0t,t),(e=t.ln)&&V.Tin.FromSJSOOModel(e),i&&(e=(c=i.rot?parseInt(i.rot,10):0)/h,V.XtV&&(e+=V.XtV.Rotation),V.Rotation=e),n?V.FromSJSCT_PresetGeometry2D(n):(V.AutoShapeType=0,V._hidden=!0),V.TeV(t),V.$cV(t.effectLst)},S.prototype.ToCT_ShapeProperties=function(t,V,n,i){var e,n,t,c,n,c,t,n,e=this;return n=!1!==n,i=!1!==i,V.xfrm=e.ToCT_Transform2D(),n&&(V.prstGeom=e.ToCT_PresetGeometry2D(t,V.prstGeom)),V.extLst={ext:[]},a(V),(n=e.S0t).IsDirtyIncludingParent(!0)&&(c=(t=n.ToOOModel()).colorFillType,n.Visible?0===c?V.solidFill=t:1===c?V.pattFill=t:2===c?V.gradFill=t:3===c?V.blipFill=t:4===c?V.grpFill={colorFillType:4}:5===c&&(V.noFill=!0):(V.noFill=!0,V.extLst.ext.push(e.ToFillProperties(t))),delete t.colorFillType),(n=e.Tin).IsDirtyIncludingParent(!0)&&(c=n.ToOOModel(),n.Visible?V.ln=c:(V.ln={},V.ln.noFill=!0,V.extLst.ext.push({uri:o.HiddenLineUri,Line:c}))),V.effectLst=e.ToCT_EffectList(i),t=e.Cin.ToOOModel(),e.Cin.Visible?(V.scene3d=t.Scene3D,V.sp3d=t.Shape3D):(n=e.ToHiddenThreedFormatExt(t),[].push.apply(V.extLst.ext,n.ext)),V},S.prototype.ToSJSCT_ShapeProperties=function(t,V){var n,i,n=this,i={};return i.xfrm=n.ToSJSCT_Transform2D(),V&&(i.prstGeom=n.ToCT_PresetGeometry2D(d.ST_ShapeType[t],i.prstGeom)),pt(n.S0t,i),i.ln=jt(n.Tin),i.effectLst=n.KcV(),n.Cin,i},S.prototype.ToFillProperties=function(t){var V,n,i,V={};return V.uri=o.HiddenFillUri,n=V.Fill={},0===(i=t.colorFillType)?n.solidFill=t:1===i?n.pattFill=t:2===i?n.gradFill=t:3===i?n.blipFill=t:4===i?n.grpFill={colorFillType:4}:5===i&&(n.noFill=!0),delete t.colorFillType,V},S.prototype.ToHiddenThreedFormatExt=function(t){var V,n,n,V={ext:[]};return t.Scene3D&&((n={hiddenExtensionType:0}).uri=o.HiddenScene3dUri,n.Scene3d=t.Scene3D,V.ext.push(n)),t.Shape3D&&((n={hiddenExtensionType:3}).uri=o.HiddenSp3dUri,n.Shape3d=t.Shape3D,V.ext.push(n)),V},S.prototype.ToCT_OfficeArtExtensionList=function(){return{ext:[]}},S.prototype.FromCT_EffectList=function(t){var V=this;t?(t.innerShdw?V.Ain.FromOOModel(t.innerShdw):t.outerShdw?V.Ain.FromOOModel(t.outerShdw):t.prstShdw?V.Ain.FromOOModel(t.prstShdw):V.Ain.FromOOModel(),V.Din.FromOOModel(t.glow),V.Pin.FromOOModel(t.softEdge),V.SeV.FromOOModel(t.reflection)):(V.Ain=u,V.Din=u,V.Pin=u,V.SeV=u)},S.prototype.$cV=function(t){this.trV=t},S.prototype.ToCT_EffectList=function(t){var V,n,i,e,V,c,n,r,V=this,n=V.Ain,i=V.Din,e=V.Pin,V=V.SeV;if(n||i||e||V)return c={},n&&(n=n.ToOOModel())&&(0===(r=n.shadowEffectType)?c.outerShdw=n:1===r?c.innerShdw=n:2===r&&(c.prstShdw=n)),i&&(c.glow=i.ToOOModel()),e&&(c.softEdge=e.ToOOModel()),V&&(c.reflection=V.ToOOModel()),c},S.prototype.KcV=function(){return this.trV},S.prototype.FromThreeDFormat=function(t){var V,n,V={},n=this.Cin;t.scene3d||t.sp3d?(V.Scene3D=t.scene3d,V.Shape3D=t.sp3d):t.extLst&&t.extLst.ext&&0!==t.extLst.ext.length&&t.extLst.ext.forEach(function(t){0===t.hiddenExtensionType?V.Scene3D=t.Scene3d:3===t.hiddenExtensionType&&(V.Shape3D=t.Shape3d),(V.Scene3D||V.Shape3D)&&(n._InternalVisible=!1,n.Dirty(d.ThreeDFormatStates.Visible))}),n.FromOOModel(V)},S.prototype.TeV=function(t){var V,n,i,t,V=this.Cin,n=t.scene3d,i=t.sp3d,t=t.extLst;V.FromSJSOOModel(n,i,t)},S.prototype.FromCT_Transform2D=function(t){var V;t&&((V=this).FromCT_Transform2D_Flip(t),V.ParentGroup)&&(V.FromCT_Point2D(t.off,t.ext),V.FromCT_PositiveSize2D(t.ext),V.ynV(),V.fnV())},S.prototype.YeV=function(t){var V,n,t;t&&((V=this).FromCT_Transform2D_Flip(t),V.ParentGroup)&&(n=t.off,t=t.ext,V.FromSJSCT_Point2D(n,t),V.FromSJSCT_PositiveSize2D(t),V.ynV(),V.fnV())},S.prototype.FromCT_Transform2D_Flip=function(t){var V=this;V.ltV=t.flipH,V.gtV=t.flipV,V.ParentGroup&&(V.ltV=Boolean(Number(V.XtV.ltV)^Number(V.ltV)),V.gtV=Boolean(Number(V.XtV.gtV)^Number(V.gtV)))},S.prototype.ToCT_Transform2D=function(){var t=this,V,V=t.XtV?t.Rotation-t.XtV.Rotation:t.Rotation;return{flipH:t.ltV,flipV:t.gtV,rot:(0,d.getWholeNumber)(V*h),off:t.ToCT_Point2D(),ext:t.ToCT_PositiveSize2D()}},S.prototype.ToSJSCT_Transform2D=function(){var t,V,n,t=this,V=t.XtV?t.Rotation-t.XtV.Rotation:t.Rotation,n={};return t.ltV&&(n.flipH=s.SJS_True),t.gtV&&(n.flipV=s.SJS_True),0!==V&&(n.rot=String((0,d.getWholeNumber)(V*h))),n.off=t.ToSJSCT_Point2D(),n.ext=t.ToSJSCT_PositiveSize2D(),n},S.prototype.FromCT_PositiveSize2D=function(t){var V,n;t&&((n=(V=this).baseOffset)?(V.YC=t.cx/(n.chExtX||1)*n.extX,V.ZC=t.cy/(n.chExtY||1)*n.extY):(V.YC=t.cx,V.ZC=t.cy))},S.prototype.FromSJSCT_PositiveSize2D=function(t){var t={cx:(0,s.getAttributeValueOrDefaultOfIntType)(t.cx,0),cy:(0,s.getAttributeValueOrDefaultOfIntType)(t.cy,0)};this.FromCT_PositiveSize2D(t)},S.prototype.ToCT_PositiveSize2D=function(){return{cx:this.YC,cy:this.ZC}},S.prototype.ToSJSCT_PositiveSize2D=function(){return{cx:(0,s.pixelToEMU)(this.YC),cy:(0,s.pixelToEMU)(this.ZC)}},S.prototype.FromCT_Point2D=function(t,V){var n,i,e,c,r,s,d,o,a,h;t&&(r=c=e=i=0,d=s=1,(o=(n=this).baseOffset)?(a=(t.x-o.chOffX)/(o.chExtX||1)*o.extX,h=(t.y-o.chOffY)/(o.chExtY||1)*o.extY,n.ParentGroup.ltV&&V?n.I0=o.offX+(o.extX-V.cx/(o.chExtX||1)*o.extX)-a:n.I0=o.offX+a,n.ParentGroup.gtV&&V?n.A0=o.offY+(o.extY-V.cy/(o.chExtY||1)*o.extY)-h:n.A0=o.offY+h):(n.I0=+t.x+0,n.A0=+t.y+0))},S.prototype.FromSJSCT_Point2D=function(t,V){var t,V,t={x:(0,s.getAttributeValueOrDefaultOfIntType)(t.x,0),y:(0,s.getAttributeValueOrDefaultOfIntType)(t.y,0)},V={cx:(0,s.getAttributeValueOrDefaultOfIntType)(V.cx,0),cy:(0,s.getAttributeValueOrDefaultOfIntType)(V.cy,0)};this.FromCT_Point2D(t,V)},S.prototype.ToCT_Point2D=function(){return{x:this.I0,y:this.A0}},S.prototype.ToSJSCT_Point2D=function(){return{x:(0,s.pixelToEMU)(this.I0),y:(0,s.pixelToEMU)(this.A0)}},S.prototype.FromCT_AvLst=function(t){t&&t.gd&&this.ddV(d.ShapeUtility.convertFromExcelAdjustValues(M(t.gd)),!1)},S.prototype.FromCT_PresetGeometry2D=function(t){var V=this;V.AutoShapeType=d.ShapeUtility.ToAutoShapeType(t.prst),V.FromCT_AvLst(t.avLst)},S.prototype.FromSJSCT_PresetGeometry2D=function(t){var V=this;V.AutoShapeType=d.ShapeUtility.ToAutoShapeType(d.ST_ShapeType[t.prst]),V.FromCT_AvLst(t.avLst)},S.prototype.ToCT_PresetGeometry2D=function(t,V){var n,V,t,n,n=this,V=V||{};return V.prst=t,t=V.avLst={},(n=d.ShapeUtility.convertToExcelAdjustValues(n.AdjustValues))&&(t.gd=n),V},S.prototype.FromCT_ShapeStyle=function(t){t&&this.MVV.FromOOModel(t)},S.prototype.atV=function(t,V){var n,i;t&&(i=(n=this.eJ).currentTheme(),this.MVV.OeV(t,V,i))},S.prototype.ToCT_ShapeStyle=function(t){var V,t,V=this;if(V.MVV.IsDirtyIncludingParent())return(t=V.MVV.ToOOModel(t)).effectRef||(t.effectRef=V.ToCT_StyleMatrixReference(0,4,-1)),t},S.prototype.ToSJSCT_ShapeStyle=function(){return this.MVV.PeV()},S.prototype.ToCT_StyleMatrixReference=function(t,V,n){var t={idx:t,ColorProp:{colorFillType:0,schemeClr:{val:V}}};return-1!==n&&(t.ColorProp.schemeClr.alpha={val:n}),t},S.prototype.FromCT_NonVisualDrawingProps=function(t,V){var n;t&&((n=this).Id=t.id,n.btV(t.name),n.Visible=!t.hidden,n.Title=t.title,n.ku=V||t.hlinkClick)},S.prototype.FromSJSCT_NonVisualDrawingProps=function(t){var V;t&&((V=this).Id=+t.id,V.btV((0,s.xmlDecode)(t.name)),V.Visible=!(0,s.getAttrValueOrDefaultOfBooleanType)(t.hidden,!1),V.Title=(0,s.xmlDecode)(t.title),V.NeV(t))},S.prototype.ToCT_NonVisualDrawingProps=function(t){var V=this;return t.id=V.Id,t.name=V.Zc,t.hidden=!V.Visible,t.title=V.Title,t.hlinkClick=V.ku,t},S.prototype.ToSJSCT_NonVisualDrawingProps=function(){var t,V,t=this,V={};return V.id=t.Id+"",V.name=(0,s.xmlEncode)(t.Zc),t.Visible||(V.hidden=s.SJS_True),t.Title&&(V.title=(0,s.xmlEncode)(t.Title)),t.DeV(V),V},S.prototype.FromAG_Locking=function(t){this.ReV=!(!t||!t.noChangeAspect)},S.prototype.FromSJSAG_Locking=function(t){this.ReV=(0,s.getAttrValueOrDefaultOfBooleanType)(t&&t.noChangeAspect,!1)},S.prototype.ToAG_Locking=function(t){return t.noChangeAspect=this.ReV,t},S.prototype.ToSJSAG_Locking=function(t){return t.noChangeAspect=this.ReV?s.SJS_True:s.SJS_False,t},S.prototype.NeV=function(t){var t,V,n,i,i,n,i,n;t.lossless&&t.lossless.hyperlink?this.ku=t.lossless.hyperlink:(t=t.hlinkClick||t.hlinkHover)&&(V={},(n=t.Target)&&("#"===(n=(0,s.xmlDecode)(n))[0]&&(n=n.substring(1)),i=t.TargetMode,V.url=n=i&&i!==K?n:f+n),i=t.invalidUrl,y(i)||(V.invalidUrl=i),n=t.action,y(n)||(V.action=n),i=t.tgtFrame,y(i)||(V.tgtFrame=i),n=t.tooltip,y(n)||(V.tooltip=n),V.history=(0,s.getAttrValueOrDefaultOfBooleanType)(t.history,!0),V.highlightClick=(0,s.getAttrValueOrDefaultOfBooleanType)(t.highlightClick,!1),V.endSnd=(0,s.getAttrValueOrDefaultOfBooleanType)(t.endSnd,!1),this.ku=V)},S.prototype.DeV=function(t){var V,n,i,V=this.ku;V&&(t.lossless||(t.lossless={}),(t.lossless.hyperlink=V).url)&&(n={},0===(i=V.url).indexOf(f)?n.Target="#"+(0,s.xmlEncode)(i.substring(f.length)):(n.Target=(0,s.xmlEncode)(i),n.TargetMode=$),V.action&&(n.action=V.action),V.tgtFrame&&(n.tgtFrame=V.tgtFrame),V.tooltip&&(n.tooltip=V.tooltip),!1===V.history&&(n.history="0"),V.highlightClick&&(n.highlightClick="1"),V.endSnd&&(n.endSnd="1"),t.hlinkClick=n)},S.prototype.Cft=function(t){var V,V,V=this.eJ;return V?(V=V.currentTheme(),d.ChartUtility.Cft(V,t)):""},Object.defineProperty(S.prototype,"DrawingType",{get:function(){return z.Shape},enumerable:!1,configurable:!0}),S.prototype.sheet=function(){return this.eJ},s.ShapeBaseData=t=S,l=96/914400,V(X,L=t),Object.defineProperty(X.prototype,"Type",{get:function(){return d.ShapeType.AutoShape},enumerable:!1,configurable:!0}),X.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat(),t.InitFontFormat()},X.prototype.FromOOModel=function(t){var V=this;L.prototype.FromOOModel.call(this,t),t.sp&&V.FromCT_ShapeBase(t.sp),!1===t.isVisible&&(V._hidden=!0)},X.prototype.FromSJSOOModel=function(t,V){var n;L.prototype.FromSJSOOModel.call(this,t,V),t&&this.FromSJSCT_ShapeBase(t)},X.prototype.ToOOModel=function(t,V){var n=L.prototype.ToOOModel.call(this,t);return n.sp=this.ToCT_ShapeBase(t,V),n},X.prototype.ToSJSOOModel=function(t,V){L.prototype.ToSJSOOModel.call(this,t,V),t.sp=this.ToSJSCT_ShapeBase(V)},X.prototype.FromCT_ShapeBase=function(t){var V,t;t&&(t=(V=this).otV=t,V.FromCT_ShapeNonVisual(t.nvSpPr),V.FromCT_ShapeStyle(t.style),V.FromCT_ShapeProperties(t.spPr),V.qeV(t.style,t.spPr),V.FromCT_TextBody(t.txBody,t.textlink))},X.prototype.FromSJSCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).UeV=t,V.keV(t.nvSpPr),V.atV(n.style,t),V.stV(t.spPr),V.BeV(n.style,n.spPr),V.ZeV(n.txBody,n.textlink))},X.prototype.ToCT_ShapeBase=function(t,V){var n,i,n=this;return(i=(t=!1!==t)&&n.otV||{shapeType:5}).nvSpPr=n.ToCT_ShapeNonVisual(t),i.spPr=n.ToCT_ShapeProperties(d.ShapeUtility.ToST_ShapeType(n.AutoShapeType),i.spPr||{},0!==n.AutoShapeType,t),i.spPr.prstGeom&&(i.style=n.ToCT_ShapeStyle(t),i.txBody=n.ToCT_TextBody(),Rt(n,i.txBody),n.ToTextLink(i,V)),i},X.prototype.ToSJSCT_ShapeBase=function(t){var V,n,V=this,n={};return n.nvSpPr=V.ToSJSCT_ShapeNonVisual(),n.spPr=V.ToSJSCT_ShapeProperties(d.ShapeUtility.ToST_ShapeType(V.AutoShapeType),0!==V.AutoShapeType),n.spPr.prstGeom&&(n.style=V.ToSJSCT_ShapeStyle(),n.txBody=V.ToSJSCT_TextBody(),Mt(V,n.txBody),V.ToSJSTextLink(n,t)),n},X.prototype.ToTextLink=function(t,V){var n,i,n=this,i=n.HeV;i&&(t.textlink=xt(n.eJ,i,V))},X.prototype.ToSJSTextLink=function(t,V){var n,i,n=this,i=n.HeV;i&&(t.textlink=(0,s.xmlEncode)(xt(n.eJ,i,V)))},X.prototype.FromCT_TextBody=function(t,V){var n,i,e,e,c,e;t&&((n=t.p&&t.p[0])&&((i=n.pPr)&&!i.defRPr&&(e=(e=n.elements&&n.elements[0])&&e.rPr)&&(i.defRPr=e),t.lstStyle)&&t.lstStyle.lvl1pPr&&(i||(n.pPr={}),n.pPr.defRPr?At(t.lstStyle.lvl1pPr.defRPr,n.pPr.defRPr):n.pPr.defRPr=t.lstStyle.lvl1pPr.defRPr),this.I0i.FromOOModel(c={rich:t}),this.HeV=V,e=t.bodyPr)&&!y(e.spAutoFit)&&(this.TrV=e.spAutoFit)},X.prototype.ZeV=function(t,V){var n,n,i,e,e,e,c,n;t&&(n=t.p,y(n)||(n=Array.isArray(n)?n[0]:n)&&((i=(0,s.getTargetNodeByName)(n,"pPr"))&&!i.defRPr&&(e=(e=(0,s.getTargetNodeByName)(n,"r")||(0,s.getTargetNodeByName)(n,"br")||(0,s.getTargetNodeByName)(n,"fld"))&&e.rPr)&&(i.defRPr=e),e=t.lstStyle&&t.lstStyle.lvl1pPr)&&(i||n.c_.splice(0,0,{pPr:i={}}),i.defRPr?At(e.defRPr,i.defRPr):i.defRPr=e.defRPr),this.I0i.FromSJSOOModel(c={rich:t}),this.HeV=(0,s.xmlDecode)(V),n=t.bodyPr)&&(this.TrV=!y(n.spAutoFit))},X.prototype.ToCT_TextBody=function(){var t,t,t=this.I0i;if(t)return(t=t.ToOOModel())&&t.rich},X.prototype.ToSJSCT_TextBody=function(){var t,t,t=this.I0i;if(t)return(t=t.ToSJSOOModel())&&t.rich},X.prototype.ToCT_TextBodyProperties=function(){return{rotField:0,spcFirstLastParaField:!1,numColField:0,spcColField:0,rtlColField:!1,fromWordArtField:!1,forceAAField:!1,uprightField:!1,compatLnSpcField:!1,horzOverflow:1,rtlCol:!1,anchor:0}},X.prototype.ToCT_ShapeNonVisual=function(t){var V,n,t,n,V=this,n=V.otV,t=!1!==t&&n&&n.nvSpPr||{},n=t.cNvPr||{};return t.cNvPr=V.ToCT_NonVisualDrawingProps(n),t.cNvSpPr=t.cNvSpPr||{},t.cNvSpPr.txBox=V.CeV,t.cNvSpPr.spLocks=V.ToAG_Locking(t.cNvSpPr.spLocks||{}),t},X.prototype.ToSJSCT_ShapeNonVisual=function(){var t,V,t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvSpPr=t.ToSJSCT_NonVisualDrawingShapeProps(),V},X.prototype.FromCT_ShapeNonVisual=function(t){t&&(this.FromCT_NonVisualDrawingProps(t.cNvPr),this.FromCT_NonVisualDrawingShapeProps(t.cNvSpPr))},X.prototype.keV=function(t){t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),this.FromSJSCT_NonVisualDrawingShapeProps(t.cNvSpPr))},X.prototype.FromCT_NonVisualDrawingShapeProps=function(t){t&&(this.CeV=t.txBox,this.FromAG_Locking(t.spLocks))},X.prototype.FromSJSCT_NonVisualDrawingShapeProps=function(t){t&&(this.CeV=(0,s.getAttrValueOrDefaultOfBooleanType)(t.txBox,!1),this.FromSJSAG_Locking(t.spLocks))},X.prototype.ToSJSCT_NonVisualDrawingShapeProps=function(){var t,V,t=this,V={};return t.CeV&&(V.txBox=s.SJS_True),V.spLocks=t.ToSJSAG_Locking({}),V},X.prototype.InitFillFormat=function(){var t=this.S0t;this.IsSpecialShape()?t.Color.ColorType=0:t.Color.ObjectThemeColor=4,t.PatternColor.ColorType=3,t.PatternColor.ObjectThemeColor=0},X.prototype.InitLineFormat=function(){var t=this.Tin;this.IsSpecialShape()?(t.Color.ObjectThemeColor=4,t.Weight=.5):(t.Color.ObjectThemeColor=4,t.Color.Shade=.5,t.Weight=1),t.PatternColor.RGB=H.FromArgb(16777215)},X.prototype.InitFontFormat=function(){var t=this,V,n=20===t.AutoShapeType||t.IsSpecialShape()?1:0;t.MVV.Font.Color.ObjectThemeColor=n,t.I0i.Font.Color.ObjectThemeColor=n},X.prototype.qeV=function(t,V){var n,i,e,n=this;0===n.S0t.Color.ColorType||(i=t&&t.fillRef||V.solidFill||V.grpFill||V.pattFill||V.gradFill||V.blipFill)||(n.S0t.Color.ColorType=0),0===n.Line.Color.ColorType||(e=t&&t.lnRef&&t.lnRef.ColorProp||V.ln&&(V.ln.solidFill||V.ln.pattFill||V.ln.gradFill))||(n.Line.Color.ColorType=0)},X.prototype.BeV=function(t,V){var n,i,t,e,t,n=this;0===n.S0t.Color.ColorType||(i=t&&t.fillRef||V.solidFill||V.grpFill||V.pattFill||V.gradFill||V.blipFill)||(n.S0t.Color.ColorType=0),0===n.Line.Color.ColorType||(e=(e=(t=t&&t.lnRef)&&(t.scrgbClr||t.srgbClr||t.hslClr||t.sysClr||t.schemeClr||t.prstClr||t.styleClr))||(t=V.ln)&&(t.solidFill||t.pattFill||t.gradFill))||(n.Line.Color.ColorType=0)},s.ShapeData=X,V(Y,dt=t),Y.prototype.FromCT_ShapeBase=function(t){this.cft=t},Y.prototype.ToCT_ShapeBase=function(t){return!1!==t&&this.cft},s.LosslessShapeData=Y},"./dist/plugins/shape/shape.res.en.js":function(t,V){Object.defineProperty(V,"__esModule",{value:!0}),V.Exp_InvalidRange=V.Exp_EmptyName=V.Exp_DuplicatedName=V.Exp_InvalidConnectionSite=void 0,V.Exp_InvalidConnectionSite="Invalid connection site.",V.Exp_DuplicatedName="Duplicated name.",V.Exp_EmptyName="Empty name.",V.Exp_InvalidRange="Invalid range"},"./dist/plugins/shape/shapeCollection.js":function(O,t,V){var s,n,u,d,o,a,h,i,x,y,f,e,l,g,r,A,w,p,v,j,b,L,m,C,R,M,V;function I(t,V){for(var n,i,e,c,r,s,d,o,a,h,u,x,y,n=V.minX,i=V.minY,e=V.maxX,c=V.maxY,r=t.getRowCount(),s=t.getColumnCount(),d=t.zoom(),o=0,a=0,h=0,u={},x=0;x<r;x++)h=+t.getRowHeight(x)*d,o<i&&i<=o+h&&(u.minRow=x),o<=c&&c<=o+h&&(u.maxRow=x),o+=h;for(y=0;y<s;y++)h=+t.getColumnWidth(y)*d,a<n&&n<=a+h&&(u.minCol=y),a<=e&&e<=a+h&&(u.maxCol=y),a+=h;return u.minCol===w&&(u.minCol=0),u.minRow===w&&(u.minRow=0),u.maxCol===w&&(u.maxCol=s-1),u.maxRow===w&&(u.maxRow=r-1),u}function T(t,V,n){for(var i,e,c,r,s,d,o,r,i,e,r,i,e,c,r,s=0,d=V;s<d.length;s++)o=d[s],M[o.type()]&&(r=o.ctV)&&(i=r.left,e=r.top,r=r.kg)&&(i=i+r.left,e=e+r.top,c=i+r.width,r=e+r.height,R(n,I(t,{minX:i,minY:e,maxX:c,maxY:r}))),i=o.startRow(),e=o.startColumn(),c=o.endRow(),r=o.endColumn(),R(n,{minRow:i,minCol:e,maxRow:c,maxCol:r})}function N(t,V,n){for(var i,e,c,r,s,d,o,a,i={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0},e=0,c=V;e<c.length;e++)for(d=0,o=s=(r=c[e]).KVV();d<o.length;d++)a=o[d],i.minX=j(i.minX,a.x),i.minY=j(i.minY,a.y),i.maxX=v(i.maxX,a.x),i.maxY=v(i.maxY,a.y);R(n,I(t,i))}function P(t,V,n){var i,e,c,n,i,i=n.x(),e=n.y(),c=n.ctV.getShapeCenter(),n=X(n),i=b({x:i,y:e},c,L(n)-V);return i=b(i,t,V),c=b(c,t,V),{x:(i=b(i,c,L(-n))).x,y:i.y}}function D(t,V,n){var i,e,c,r,s,i=n.getPoints(),e=n.getShapeCenter(),c=b({x:e.x,y:e.y},t,V),r=e.x-c.x,s=e.y-c.y;return i=i.map(function(t){return b({x:t.x-r,y:t.y-s},c,d.Common.toRadius(n.angle))}),n.setAngle(0),i}function U(t,V,n){return t[3*V+n]}function q(c,r){c.shapes.all().forEach(function(t){var V,n,i,e,t;t&&t.ctV&&r&&(V=t.ctV,n=(0,h.getY)(c,t.startRow(),t.startRowOffset()*r),i=(0,h.getX)(c,t.startColumn(),t.startColumnOffset()*r),e=(0,h.getY)(c,t.endRow(),t.endRowOffset()*r)-n,t=(0,h.getX)(c,t.endColumn(),t.endColumnOffset()*r)-i,V.resize(t,e),V.move(i,n))})}function c(t,V,n,i,e){var c,r,s,e,c=e.startRow(),r=e.startColumn(),s=e.endRow(),e=e.endColumn();return t<=c&&V<=r&&s<=n&&e<=i}function _(t,V){var n,i,e,e;if(t)for(n=0,i=t.length;n<i;n++){if((e=t[n]).name()===V)return e;if(e=_(e.tin,V))return e}}function E(t,V){var n,i,e;if(t)for(n=0,i=t;n<i.length;n++)switch((e=i[n]).ttV){case u.CT_ShapeType.CT_GroupShape:E(e.tin,V);break;case u.CT_ShapeType.CT_Connector:V.connector.push(e);break;default:V.auto.push(e)}}function F(t,n){t&&0<t.length&&t.forEach(function(t){var V=t.ctV;V&&(3===V.ttV?n.push(V):2===V.ttV&&F(t.tin,n))})}function S(t){return 0===X(t)}function X(t){return t.g4e()&&t.rotate?t.rotate():0}function Y(t){var V=this;V.Mf=t,V.tin={},V.dnV=[],V.MU={snapMode:i.SnapMode.none},V.krV=0}Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeCollection=void 0,s=V("Core"),n=V("Common"),u=V("./dist/plugins/shape/drawingInterface.js"),d=V("./dist/plugins/shape/ui/util.js"),o=V("./dist/plugins/shape/ui/shapes.js"),a=V("./dist/plugins/shape/shapeView.js"),h=V("./dist/plugins/shape/util/sheetUtil.js"),i=V("./dist/plugins/shape/shape.interface.js"),x=V("./dist/plugins/shape/connectorView.js"),y=V("./dist/plugins/shape/pictureShapeView.js"),f=V("./dist/plugins/shape/formControlView.js"),e=V("./dist/plugins/shape/groupShapesView.js"),l=V("./dist/plugins/shape/cameraShapeView.js"),g=V("./dist/plugins/shape/shape-spreadjs.js"),r=V("./dist/plugins/shape/shape-io.js"),A=n.Common.Uf,w=void 0,p=null,v=Math.max,j=Math.min,b=d.Common.rotatePoint,L=d.Common.toRadius,m=d.Common.pointIsInRectangle,C=n.Common.lt.ht,R=s.UsedRangeUtil.vh,M={105:!0,106:!0,107:!0,108:!0,110:!0,111:!0,112:!0,114:!0,115:!0,116:!0,118:!0,119:!0,120:!0,122:!0,123:!0,124:!0,92:!0,44:!0,47:!0,48:!0,159:!0,177:!0},Y.prototype.add=function(t,V,n,i,e,c){var r,s,s,r=this,s=this.Mf,s=new a.Shape(s,t,V,n,i,e,c);return s.VnV=!0,r.ZP(s),delete s.VnV,s},Y.prototype.addCameraShape=function(t,V,n,i,e,c){var r,s,s,r=this,s=r.Mf,s=new l.CameraShape(s,t,V,n,i,e,c);return r.ZP(s),r.DT("addCameraShape",s.name(),s),s},Y.prototype.addFormControl=function(t,V,n,i,e,c){var r,s,s,r=this,s=this.Mf,s=new f.FormControlShape(s,t,V,n,i,e,c);return this.ZP(s),r.DT("addFormControlShape",s.name(),s),s},Y.prototype.addPictureShape=function(t,V,n,i,e,c){var r,s,s,r=this,s=this.Mf,s=new y.PictureShape(s,t,V,n,i,e,c);return this.ZP(s),r.DT("addPictureShape",s.name(),s),s},Y.prototype.wnV=function(t,V){var n,i=this.Mf;i&&i.ki(t,V)},Y.prototype.addConnector=function(t,V,n,i,e,c){var r,s,s,r=this,s=this.Mf,s=new x.ConnectorShape(s,t,V,n,i,e,c);return this.ZP(s),r.DT("addConnector",s.name(),s),s},Y.prototype.group=function(t){var V,n,n,V=this,n=V.Mf,n=new e.GroupShape(n,"");return V.rCt(t,n)},Y.prototype.snapMode=function(t){var V=this;if(0===arguments.length)return V.MU.snapMode;V.MU.snapMode=t},Y.prototype.zIndex=function(t,V){var n,i,e,c,r,i,e,n=this,i=n.pnV(),e=n.dnV,c=n.get(t),r=A.hD(e,t);if(1===arguments.length)return r;!c||r<0||(V=j(i-1,V),V=v(0,V),e.splice(r,1),e.splice(V,0,t),(e=(i=n.Mf).shapeLayers[0]).shapes.splice(r,1),e.shapes.splice(V,0,c.ctV),n.DT("zIndex",{shapeName:t,zIndex:r,newIndex:V},c),n.Mf.ki(s.Events.DrawingElementZIndexChanged,{isGroup:!1,shapeName:t,oldZIndex:r,newZindex:V}),i.cnV())},Y.prototype.rCt=function(t,V){var e,n,c,i,r,s,e=this,n=t.length,c=-1;for(t.forEach(function(t,V){var n,i,n=t.name(),i=e.zIndex(n);c=v(c,i),e.DT("zIndex",{shapeName:n,zIndex:i,newIndex:V},t)}),i=e.dnV.length-c,r=0;r<n;r++)t[r].isSelected(!1),e.VP(t[r],!0,!0);for(V.vnV=!0,V.LnV=!0,r=0;r<n;r++)V.add(t[r],!0);return V.tnV(V.tin),e.ZP(V),s=V.name(),e.zIndex(s,e.dnV.length-i),e.DT("group",s,V),delete V.vnV,delete V.LnV,V},Y.prototype.ungroup=function(t){var V,n,i,e,c,r,s,d,o,a,h,V=this,i=t.tin.slice(0),e=V.zIndex(t.name()),c={groupShape:t,nameList:V.dnV,zIndex:e,shapes:i};for(V.DT("ungroup",c),r=t.ctV.getShapeCenter(),s=L(t.rotate()),d=[],0!==s&&i.forEach(function(t){4===t.ttV?d.push(D(r,s,t.ctV)):d.push(P(r,s,t))}),t.LnV=!0,V.VP(t,!0,!0),o=i.length,t.vnV=!0,n=o-1;0<=n;n--)t.remove(i[n]);for(delete t.vnV,delete t.LnV,t.jnV(),n=0;n<o;n++)h=i[n],0!==s&&(h.ttV===u.CT_ShapeType.CT_Connector?h.nnV(d[n]):h.bnV(d[n].x,d[n].y,!0,!1,!1,!0)),V.ZP(h),a=h.name(),V.zIndex(a,e+n),0!==s&&h.ttV===u.CT_ShapeType.CT_GroupShape&&h.ctV.move(d[n].x,d[n].y)},Y.prototype.ZP=function(i,t){var V=this,n=V.Mf,e=i.name();V.tin[e]||((i.mnV=V).DT("add",e,i),V.tin[e]=i,V.dnV.push(e),n.shapeLayers.forEach(function(t){var V,n,V=i.ctV;V&&((n=t.model).CnV=!0,t.addShape(V),delete n.CnV)}),n.cameraShapes=[],F(n.shapes.all(),n.cameraShapes),V.Mf.QtV.onAddShape(i),Y.et(V,"onShapeAdded",{shape:i,sheet:n}),t)||n.isPaintSuspended()||n.cnV()},Y.prototype.get=function(t){return t?this.tin[t]||_(this.all(),t):w},Y.prototype.remove=function(t,V){var n,i,V,n=this,i=n.tin[t];i&&((0,r.isInternalUseForUIDisplayShape)(i)||n.DT("remove",i,i),n.VP(i,V),delete i.mnV,(V=n.Mf).RnV[t]=!1,V.cameraShapes=[],F(V.shapes.all(),V.cameraShapes),V.isPaintSuspended()||V.cnV())},Y.prototype.VP=function(n,i,t){var V,e,c,r,t,c,V=this,e=V.Mf,c=n.name(),r=V.dnV,t={sheet:e,sheetName:e.name(),shape:n,cancel:!1,cancelEvent:!1,isGroup:t,ignoreModel:i};a.ShapeBase.et(n,"ShapeRemoving",t),t.cancelEvent||V.wnV(s.Events.ShapeRemoving,t),!1===t.cancel&&(e.shapeLayers.forEach(function(t){var V=n.ctV;V&&t.removeShape(V,i)}),delete V.tin[c],-1<(c=r.indexOf(c))&&r.splice(c,1),V.Mf.QtV.onRemoveShape(n),t.cancelEvent||V.wnV(s.Events.ShapeRemoved,{sheet:e,sheetName:e.name(),shape:n}))},Y.prototype.clear=function(){var n,i,t,n=this,i=n.tin,t=n.dnV;n.dnV=[],t.forEach(function(t){var V;i[t]&&n.remove(t)})},Y.prototype.all=function(){var t,V,n,t=this,V=t.tin,n=[];return t.dnV.forEach(function(t){var t=V[t];t&&n.push(t)}),n},Y.prototype.InV=function(t,V,n){for(var i,e,i=this,e=0;e<V.length;e++)n&&!0===n(V[e].ctV)||(3===V[e].ttV?i.InV(t,V[e].tin):t.push(V[e]))},Y.prototype.MnV=function(t){var V=this,n=[];return V.InV(n,V.all(),t),n},Y.prototype.getUsedRange=function(){var t,V,t,n,i,t=this,V=t.all(),t=t.Mf,n={},i={connector:[],auto:[]};return V&&(E(V,i),0<i.auto.length&&T(t,i.auto,n),0<i.connector.length)&&N(t,i.connector,n),n},Y.prototype.pnV=function(){return this.dnV.length},Y.prototype._nV=function(t,V){var n,i,n,i,n=this,i=n.tin,n=n.dnV;i[V]=i[t],delete i[t],-1<(i=n.indexOf(t))&&(n[i]=V)},Y.prototype.JO=function(V,n){this.all().forEach(function(t){t.JO(V,n)})},Y.prototype.EnV=function(t,V){var n=this;t.forEach(function(t){n.remove(t,V)})},Y.prototype.xP=function(V,n){var i,t,e,i=[],t=this,e=t.Mf.getColumnCount();t.all().forEach(function(t){c(V,-1,V+n-1,e,t)&&t.dynamicSize()?i.push(t.name()):t.xP(V,n)}),t.EnV(i,!0)},Y.prototype.qO=function(V,n){this.all().forEach(function(t){t.qO(V,n)})},Y.prototype.NP=function(V,n){var i,t,e,i=[],t=this,e=t.Mf.getRowCount();t.all().forEach(function(t){c(-1,V,e,V+n-1,t)&&t.dynamicSize()?i.push(t.name()):t.NP(V,n)}),t.EnV(i,!0)},Y.prototype.Udt=function(i,e,c,t){var V=this.Mf;t&&(c?(0,g.recalculateScrollTop):(0,g.recalculateScrollLeft))(V,i),this.all().forEach(function(t){var V=c?t.startRow():t.startColumn(),n=c?t.endRow():t.endColumn();e<V||n<i||(t.FnV&&t.ytV.xnV(),t.SnV&&t.ytV.mtV(),t.anV(!0))}),V.cnV()},Y.prototype.XnV=function(){var t,V,n,i,e,t,V,t,t=this,V=t.Mf,n=-1,e=[];return t.all().forEach(function(t){t.isVisible()&&t.canPrint()&&(S(t)?n=v(n,t.endRow()):(i=(0,o.getActualBound)(t.ctV,!1),e.push(i.bottom)))}),0<e.length&&(t=v.apply(null,e),t=(V=(0,h.getRowAndRowOffset)(V,t)).row+(0===V.rowOffset?0:1),n=v(n,t)),n},Y.prototype.YnV=function(){var t,V,n,i,e,t,V,t,t=this,V=t.Mf,n=-1,e=[];return t.all().forEach(function(t){t.isVisible()&&t.canPrint()&&(S(t)?n=v(n,t.endColumn()):(i=(0,o.getActualBound)(t.ctV,!1),e.push(i.right)))}),0<e.length&&(t=v.apply(null,e),t=(V=(0,h.getColAndColOffset)(V,t)).col+(0===V.colOffset?0:1),n=v(n,t)),n},Y.prototype.TnV=function(t,V,n,i){var e,c,r,s,d,o,a,e=t.Fi(),c=t.options,r=0,s=0;for(c.rowHeaderVisible&&(r+=e.b6),c.colHeaderVisible&&(s+=e.T6),Y.et(this,"beforePrintShapes",{sheet:t}),V.save(),V.beginPath(),V.rect(n.x+r,n.y+s,n.width,n.height),V.clip(),C(i)||1===i||(q(t,i),t.Lp.recalculateAll()),d=0;d<=2;d++)for(o=0;o<=2;o++)(a=n.getIntersectRect(e.c9(d,o)))&&this.OnV(t,V,d,o,i);V.restore()},Y.prototype.OnV=function(t,V,n,i,e){var c,r,s,d,o,d,t,c=t.Fi(),r=t.shapeLayers[3*n+i],s=c.c9(n,i);(0,g.adjustViewportRect)(s,t,n,i),d=t.getViewportTopRow(n),o=t.getViewportLeftColumn(i),d=(0,g.getScrollTop)(t,d,n),t=(0,g.getScrollLeft)(t,o,i),V.save(),V.beginPath(),V.rect(s.x,s.y,s.width,s.height),V.clip(),r.width=s.width,r.height=s.height,r.scrollTop=d-c.T6,r.scrollLeft=t-c.b6,r.PnV=s.x,r.NnV=s.y,1===n&&(r.scrollTop-=c.L6),1===i&&(r.scrollLeft-=c.F6),r.paintForPrint(V,e),V.restore()},Y.prototype.DnV=function(t,i,e){var c=[],r=t.name();return t.shapes.all().forEach(function(t){var V=t.y(),n=t.x();c.push({type:"shapePosition",shape:t,offset:{x:n,y:V},sheetName:r}),t.x(n-i),t.y(V-e),t.resize(t.x(),t.y(),t.width(),t.height())}),c},Y.prototype.qnV=function(t,V,n){t&&(n?this.ZP(V):this.remove(t,!0))},Y.prototype.hitTest=function(t,V){var n,i,e,c,r,s,d,c,r,s,o,a,h,u,x,y,f,f,n,i=this.Mf,e=null,c=i.Fi(),r=i.FL(V),s=i.PL(t);if(!(r===p||s===p||r<0||2<r||s<0||2<s)&&(d=i.shapeLayers[3*r+s]))for(r=(c=c.c9(r,s)).x,s=c.y,o=t+d.scrollLeft-r,a=V+d.scrollTop-s,u=0,x=(h=i.shapes.all()).length;u<x;u++)if((y=h[u])&&y.isVisible()&&y.ctV&&(!(f=y.ctV.getRenderBound())||m(f,o,a))&&(f=y.ctV.hitTest(o,a))&&f.shape){f.shape=f.shape.JVV,e=f;break}return e},Y.prototype.UnV=function(t,V,n){var i,n,e,c,r,s;if(t)if(i=this,n){for(n="string"==typeof V.name?V.name:V.name(),i.remove(n,!0),e=[],c=0;c<V.shapeData.grpSp.sp.length;c++)r=V.shapeData.grpSp.sp[c].nvSpPr.cNvPr.name,e.push(i.get(r));(s=i.group(e)).name(n)}else V=i.tin[t],i.ungroup(V)},Y.prototype.knV=function(t,V){var n,i,e,c,t,V,r;t&&(n=this,i=t.groupShape,e=t.nameList,c=t.zIndex,t=t.shapes,V?("Object"===i.constructor.name&&(i=n.get(i.name)),n.ungroup(i)):"Object"===i.constructor.name?(t=t.map(function(t){var t="string"==typeof t.name?t.name:t.name();return n.get(t)}),V=n.group(t),r="Object"===i.constructor.name?i.name:i.name(),V.name(r)):(t.forEach(function(t){i.add(t,!0)}),i.tnV(i.tin),n.ZP(i),n.zIndex(i.name(),c),n.dnV=e))},Y.prototype.BnV=function(t,V,n){V&&(n?this.remove(t,!0):V&&(V.ZnV(V.ctV.id,!0),V.ttV===u.CT_ShapeType.CT_GroupShape?V.tnV(V.tin):V.tnV(),this.ZP(V)))},Y.prototype.DT=function(t,V,n){var i,e,e,c,i,e=this.Mf;e&&(e=e.Ut).G8&&e.HnV(c={type:t,value:V,shape:n})},Y.prototype.AP=function(t,V){var n,i,e,t,c;t&&(n=this,i=t.type,e=t.value,(t=t.shape)&&"Object"===t.constructor.name&&"group"!==i&&"ungroup"!==i&&(t=(c=n.get(t.name))||(0,r.shapeFromJSON)(n.Mf,t.name,t.shapeType,t)),"add"===i||"addConnector"===i?n.qnV(e,t,V):"group"===i?n.UnV(e,t,V):"ungroup"===i?n.knV(e,V):"remove"===i?("object"==typeof e&&(e=e.name),n.BnV(e,t,V)):"zIndex"===i&&n.zIndex(e.shapeName,V?e.newIndex:e.zIndex))},Y.prototype.getSnapMode=function(){return this.Mf.shapes.snapMode()},Y.prototype.isSnapToGrid=function(){var t;return(this.getSnapMode()&i.SnapMode.grid)===i.SnapMode.grid},Y.prototype.isSnapToShape=function(){var t;return(this.getSnapMode()&i.SnapMode.shape)===i.SnapMode.shape},Y.prototype.getShapePartLines=function(t){var V,n,i,e,c,r,s,s,V=this,n=[],i=[];if(V.isSnapToGrid()&&(e=V.Mf,n=n.concat((0,d.getHorizontalGridLine)(e)),i=i.concat((0,d.getVerticalGridLine)(e))),V.isSnapToShape())for(c=V.MnV(function(t){return t.JVV.isSelected()}),r=0;r<c.length;r++)s=c[r].ctV,-1===t.indexOf(s)&&(s=(0,o.getActualBound)(s),n.push(s.left),n.push(s.left+(s.right-s.left)/2),n.push(s.right),i.push(s.top),i.push(s.top+(s.bottom-s.top)/2),i.push(s.bottom));return n=(0,d.distinct)(n),i=(0,d.distinct)(i),{hLines:n.sort(d.ascSortFunc),vLines:i.sort(d.ascSortFunc)}},Y.prototype.V2=function(){this.krV++},Y.prototype.Y2=function(){var t=this;t.krV--,t.krV<=0&&(t.krV=0,t.Mf)&&t.Mf.cnV()},Y.prototype.UrV=function(){return 0<this.krV},t.ShapeCollection=V=Y,(0,s.$e)(V)},"./dist/plugins/shape/shapeInternal.interface.js":function(t,V){Object.defineProperty(V,"__esModule",{value:!0})},"./dist/plugins/shape/shapeStyle.js":function(t,V,n){var i,e,c,r,s,d,o,a,h,u,x,y,f,l,g;function A(){return{r:0,g:0,b:0,invGammaField:[],gammaField:[],blueOffField:[],blueModField:[],blueField:[],greenOffField:[],greenModField:[],greenField:[],redOffField:[],redModField:[],redField:[],lumOffField:[],lumModField:[],lumField:[],satOffField:[],satModField:[],satField:[],hueOffField:[],hueModField:[],hueField:[],alphaOffField:[],alphaModField:[],alphaField:[],grayField:[],invField:[],compField:[],shadeField:[],tintField:[]}}function w(t){return void 0===t}function p(n,i){y.forEach(function(t){var V;w(i[t])&&(w(n[t])?w(V=d(n,""+t))||(i[t]=V):i[t]=n[t])})}function v(t,V){t&&p(t,V)}function j(t,V,n,i,e){var c,r;return void 0===V&&(V=0),void 0===n&&(n=0),void 0===i&&(i=0),(r=c=g.call(this)||this).DJ=t,r.QeV=V,r.zeV=n,r.GeV=i,r.JeV(e),c}i=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyleData=void 0,e=n("Core"),c=n("FloatingObject"),r=n("./dist/plugins/shape/drawingInterface.js"),s=e.NodeHelper.sr,d=e.util.xr,o=e.util.go,a=c.Drawing.LineFormat,h=c.Drawing.FontFormat,u=c.Drawing.FillFormat,x=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],y=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"],g=r.StatefulBase,i(j,g),Object.defineProperty(j.prototype,"Fill",{get:function(){var t=this,V,V;return V=(V=t.S0t)||(t.S0t=new u(t.DJ))},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"Line",{get:function(){var t=this,V,V;return V=(V=t.Tin)||(t.Tin=new a(t.DJ))},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"Font",{get:function(){var t=this,V,V;return V=(V=t._font)||(t._font=new h(t.DJ))},enumerable:!1,configurable:!0}),j.prototype.WeV=function(t,V,n){var i,e,c,c,r,n,c;return n.Mv||(n.Mv={}),e=t+","+V,(c=(i=n.Mv)&&i[e])||((c=n&&n.fmtTheme())&&(r=c=(n=x[t])&&d(c,""+n))&&(1===t?c=o(c,"ln"):0===t&&(c=o(c,"items")),r=c[V]),i&&(i[e]=r),r)},j.prototype.KeV=function(t,V){var n,t,n,i,e,c,n=t&&t.style,t=t&&t.spPr;n&&(n=n.lnRef,c=e=void 0,i=(i=t.ln)||{},n)&&(e=n.idx)&&(v(c=this.WeV(1,e-1,V),i),t.ln=i)},j.prototype.FromOOModel=function(t){var V;t&&((V=this).O1t=t,V.FromFillFormat(t.fillRef),V.FromLineFormat(t.lnRef),V.FromFontFormat(t.fontRef))},j.prototype.OeV=function(t,V,n){var i;t&&((i=this).fft=t,i.KeV(V,n),i.$eV(t.fillRef),i.tiV(t.lnRef),i.ViV(t.fontRef))},j.prototype.ToOOModel=function(t,V){var n,t,n=this,t=!1!==t&&n.O1t||{};return t.fillRef=n.ToFillFormat(),t.lnRef=n.ToLineFormat(),t.fontRef=n.ToFontFormat(),t},j.prototype.PeV=function(){var t,V,n,i,e,t=this,V,n,i,e;return{lnRef:t.niV(),fillRef:t.eiV(),effectRef:t.iiV(),fontRef:t.ciV()}},j.prototype.JeV=function(t){var V=this.Font;0===t?V.ThemeFont=r.ThemeFont.Major:1===t&&(V.ThemeFont=r.ThemeFont.Minor),V.Size=44/3},j.prototype.FromFontFormat=function(t){t&&(this.Font.TextCharacterProperties_FromOOModel(t.TextCharacterProperties),this.JeV(t.idx))},j.prototype.ViV=function(t){t&&(this.Font.TextCharacterProperties_FromSJSOOModel({solidFill:t}),this.JeV(r.ST_FontCollectionIndex[t.idx]))},j.prototype.ToFontFormat=function(){var t,V,t={},V=this.Font;return t.TextCharacterProperties=V.TextCharacterProperties_ToOOModel(),V.ThemeFont===r.ThemeFont.Major?t.idx=r.ST_FontCollectionIndex.major:V.ThemeFont===r.ThemeFont.Minor&&(t.idx=r.ST_FontCollectionIndex.minor),t},j.prototype.ciV=function(){var t,V,n,n,V,t,V=this.Font,n=V.TextCharacterProperties_ToSJSOOModel(),n=n&&n.solidFill||{},V=V.ThemeFont===r.ThemeFont.Major?r.ST_FontCollectionIndex.major:r.ST_FontCollectionIndex.minor;return n.idx=r.ST_FontCollectionIndex[V],n},j.prototype.FromLineFormat=function(t){var V;t&&((V=this).zeV=t.idx,V.Line.FillInternal.FromOOModel(t.ColorProp,0),0===t.idx)&&(V.Line.Color.ColorType=0)},j.prototype.tiV=function(t){var V,n;t&&(V=this,n=s(t.idx),0===(V.zeV=n)?V.Line.Color.ColorType=0:V.Line.FillInternal.FromSJSOOModel(t,0))},j.prototype.ToLineFormat=function(){var t=this,V=t.O1t&&t.O1t.lnRef?t.O1t.lnRef:{};return 0===t.Line.Color.ColorType?(V.ColorProp={colorFillType:0},V.ColorProp.scrgbClr=A()):V.ColorProp=t.Line.FillInternal.ToOOModel(),V.idx=t.zeV,V},j.prototype.niV=function(){var t,V,t=this,V={};return 0!==t.Line.Color.ColorType&&delete(V=t.Line.FillInternal.ToSJSOOModel()).colorFillType,V.idx=t.zeV,V},j.prototype.FromFillFormat=function(t){var V;t&&((V=this).QeV=t.idx,0===t.idx?V.Fill.Color.ColorType=0:1===t.idx&&V.Fill.FromOOModel(t.ColorProp,0))},j.prototype.$eV=function(t){var V,n;t&&(V=this,n=s(t.idx),0===(V.QeV=n)?V.Fill.Color.ColorType=0:1===n&&V.Fill.FromSJSOOModel(t,0))},j.prototype.ToFillFormat=function(){var t=this,V=t.O1t&&t.O1t.fillRef?t.O1t.fillRef:{};return t.Fill.Type===r.FillType.Solid&&(0===t.Fill.Color.ColorType?(V.ColorProp={colorFillType:0},V.ColorProp.scrgbClr=A()):V.ColorProp=t.Fill.ToOOModel()),V.idx=t.QeV,V},j.prototype.eiV=function(){var t,V,t=this,V={};return t.Fill.Type===r.FillType.Solid&&0!==t.Fill.Color.ColorType&&delete(V=t.Fill.ToSJSOOModel()).colorFillType,V.idx=t.QeV,V},j.prototype.riV=function(t){this.GeV=t.idx},j.prototype.iiV=function(){return{idx:this.GeV,schemeClr:{val:"accent1"}}},j.prototype.IsDirtyIncludingParent=function(t){void 0===t&&(t=!1);var V=this;return!(!V.S0t||!V.S0t.IsDirtyIncludingParent())||!(!V.Tin||!V.Tin.IsDirtyIncludingParent())||!(!V._font||!V._font.IsDirtyIncludingParent())||g.prototype.IsDirtyIncludingParent.call(this,t)},V.ShapeStyleData=j},"./dist/plugins/shape/shapeStyleView.js":function(t,V,n){var i,e,n,c,r;function s(t,V){return c(t)?V:t}function d(t){var V,n,n,n,n,V=this,n=t&&t.fill;V.fill={type:s(n&&n.type,e.ShapeFillType.solid),color:s(n&&n.color,"accent 1"),transparency:s(n&&n.transparency,0)},n=t&&t.line,V.line={color:s(n&&n.color,"accent 1"),lineStyle:s(n&&n.lineStyle,0),width:s(n&&n.width,1),capType:s(n&&n.capType,2),joinType:s(n&&n.joinType,0),compoundType:s(n&&n.compoundType,0),transparency:s(n&&n.transparency,0),beginArrowheadStyle:s(n&&n.beginArrowheadStyle,0),beginArrowheadWidth:s(n&&n.beginArrowheadWidth,1),beginArrowheadLength:s(n&&n.beginArrowheadLength,1),endArrowheadStyle:s(n&&n.endArrowheadStyle,0),endArrowheadWidth:s(n&&n.endArrowheadWidth,1),endArrowheadLength:s(n&&n.endArrowheadLength,1)},n=t&&t.textEffect,V.textEffect={color:s(n&&n.color,"background 1"),transparency:s(n&&n.transparency,0),font:s(n&&n.font,"11pt Calibri")},n=t&&t.textFrame,V.textFrame={vAlign:s(n&&n.vAlign,0),hAlign:s(n&&n.hAlign,0),resizeToFitText:s(n&&n.resizeToFitText,!1)}}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyle=void 0,i=n("Common"),e=n("./dist/plugins/shape/shape.interface.js"),n=i.Common.lt,c=n.ht,V.ShapeStyle=d},"./dist/plugins/shape/shapeView.js":function(O,t,V){var n,i,c,T,r,s,a,e,N,o,V,d,h,u,P,x,y,D,f,l,g,A,w,p,U,v,q,k,B,i,j,b,L,m,Z,V,i,H,C,R,M;function I(t,V,n){t.setColor(n,V.color),z(t,V,n)}function z(t,V,n){var i=V.brightness,e=V.tint,c=V.shade,r=V.satMod;d(i)||(t.Brightness=i),d(e)||(t.TintAndShade=e),d(c)||(t.Shade=c),d(r)||(t.SatMod=V.satMod)}for(m in n=this&&this.__extends||(C=function(t,V){return(C=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}C(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(t,"__esModule",{value:!0}),t.Shape=t.ShapeBase=t.DrawingBase=void 0,i=V("Common"),c=V("Core"),T=V("SheetsCalc"),r=V("./dist/plugins/shape/drawingInterface.js"),s=V("./dist/plugins/shape/shape.interface.js"),a=V("./dist/plugins/shape/shape.js"),e=V("./dist/plugins/shape/ui/util.js"),N=V("./dist/plugins/shape/shapeStyleView.js"),o=V("./dist/plugins/shape/util/viewUtil.js"),V=i.Common.lt,d=V.ht,h=e.Common.isEnumValue,u=r.ShapeUtility.syncShapeAdjustValues,P=r.ShapeUtility.syncShapeOptions,x=r.ShapeUtility.syncShapeLineFormat,y=r.ShapeUtility.syncShapeFillFormat,D=r.ShapeUtility.getLineFormatInfo,f=r.ShapeUtility.getRGBAColor,l=r.ShapeUtility.getColorInfo,g=r.ShapeUtility.getColorData,A=Math.min,w=Math.max,p=void 0,U=e.Common.toRadius,v=c.NodeHelper.ur,q=Math.sin,k=Math.cos,B=["none","normal","lighten","lightenLess","darkenLess","darken"],j=(i="options.textFormatOptions")+".text",b=i+".fill.color",L={},r.AutoShapeType)r.AutoShapeType.hasOwnProperty(m)&&m!==parseInt(m,10)+""&&(L[r.AutoShapeType[m]]=m);function Q(t){return!t.dynamicMove()&&!t.dynamicSize()}function G(t,V,n,i){var e,c,r,e=this,c=t.call(e),r=V.call(e);n<=c?e.dynamicMove()&&(t.call(e,c+i),V.call(e,r+i)):n<r&&e.dynamicSize()&&V.call(e,r+i)}function J(t,V,n,i,e,c){var r,s,d,o,a,h,u,x,o,r=this,s=r.dynamicMove(),d=r.dynamicSize(),o=t.call(r),a=n.call(r),h=i.call(r),u=e+c-1;e<=o?u<o?s&&(t.call(r,o-c),n.call(r,a-c)):u<a?(o=a-o+1-(x=u-o+1),s&&(t.call(r,e),V.call(r,0)),d&&(n.call(r,e+o-1),i.call(r,h))):s&&(t.call(r,e),V.call(r,0)):e<=a&&(u<a?d&&n.call(r,a-c):d&&(n.call(r,e),i.call(r,0)))}function W(t){var V,n,V=parseFloat(t),n;return V="pt"===t.substring(t.length-2)?4*V/3:V}function K(t){var t,V,n,i,e,c,t=Z(t),V=t.fontFamily,n=W(t.fontSize),i=t.fontStyle,e="normal"!==i;return{name:V,size:n,bold:c=0===(i=t.fontWeight).indexOf("bold")||700<=+i,italic:e}}function _(t,V){return(0,o.getFormula)(t,"options.fill."+V)}function $(t,V){var t,n,n,t=t.ctV;if(t)return(n=(n=t.getService())&&n.calcSource_)&&n.getExpression(t.id,V)}function tt(t,V,n){var V,t,n,i,V,V=$(t,V),t=t.Mf;if((V=V&&8===V.type?(0,e.getExpressionReferencedByNameExpr)(t,V,n):V)&&1===V.type)return n=V.source,i=Math.max(0,V.row),V=Math.max(0,V.column),(0,e.isExternalSource)(n)?n.getValue(i,V):(t=n&&n.getSheet?n.getSheet():t)?(t.nre&&t.nre(),t.getText(i,V)):void 0}function Vt(t,V){var t,V,t=t.Mf,V=(0,T.formulaToExpression)(t,V,void 0,void 0,!1);return(V=V&&8===V.type?(0,e.getExpressionReferencedByNameExpr)(t,V):V)&&1===V.type}function E(){this.uiV=!0,this.xiV=!0,this.FnV=!0,this.SnV=!0,this.yiV=!0,this.fiV=!0,this.liV=!0,this.giV=!0,this.AiV=""}function F(){var t,V,t=R.call(this)||this;return t.ni=!1,(V=t).ytV=new a.ShapeBaseData,V.ttV=5,t}function S(t,V){var t,t;if(t)return t=JSON.stringify(t),t=V?t.replace(/variables\./g,"V."):t.replace(/V\./g,"variables."),JSON.parse(t)}function X(t){return t&&t._error}function nt(t,V,n,i){return t=Number(t),isNaN(t)?i:(t=w(t,V),A(t,n))}function it(t){var V,n,i,e,c,r,V=t.pathFillOptions,n=t.path,i=n.length;if(V)for(e=0;e<i;e++)c=+V[e],isNaN(c)||(r=n[e],0==c?r.strokeMode="false":r.fillMode=B[c-1])}function Y(t,V,n,i,e,c,r){var s,d,o,n,n,s=M.call(this)||this,d=s,o=n;return"object"==typeof n&&(n=S(n,!0),o=-1,d.aiV=!0,it(n),d.hnV=n),n=V&&t.eeV(V)||t.eeV((L[o]||"Shape")+" ",!0),d.Mf=t,d.ytV=new a.ShapeData(t,n,o,i||0,e||0,c||200,r||160),d.RiV=!0,o&&d.tnV(),delete d.RiV,s}Z=c.W.Ne,E.prototype.yh=function(t,V){var n,i,n=this;d(V.anchorType)&&((i=V).from&&i.to?V.anchorType=0:i.from&&i.ext?V.anchorType=1:i.pos&&i.ext&&(V.anchorType=2)),n.EiV(t,V),n.ytV.FromSJSOOModel(t,V),n.FiV(t,V)},E.prototype.wh=function(t,V,n,i){var e,c,e=this,c={};return e.SiV(t,V,n),e.ytV.ToSJSOOModel(c,n),e.XiV(c,t,V,n,!1,i),c},E.prototype.EiV=function(t,V){var n=this;n.YiV(t),n.TiV(n.OiV(t)),n.PiV(V),n.NiV(V)},E.prototype.FiV=function(t,V,n){var i=this;n&&(i.YiV(t),i.TiV(i.OiV(t)))},E.prototype.SiV=function(t,V,n){},E.prototype.XiV=function(t,V,n,i,e,c){var r,s,r=this,s=r.DiV(t);r.qiV(s,V,n,i),r.UiV(s&&r.OiV(s)),e||(r.kiV(t),r.BiV(t))},E.prototype.OiV=function(t){},E.prototype.DiV=function(t){},E.prototype.TiV=function(t){var V,t;t&&(V=this,t=t.descr,d(t)||(V.AiV=(0,a.xmlDecode)(t)))},E.prototype.UiV=function(t){var V,n;t&&(n=(V=this).AiV)&&(t.descr=(0,a.xmlEncode)(n))},E.prototype.YiV=function(t){var V,t,V=this,t=t.lossless;d(t)||(V.czn=t.hAlign,V.fzn=t.vAlign,d(t.allowResize)||(V.yiV=t.allowResize),d(t.allowRotate)||(V.fiV=t.allowRotate),d(t.allowMove)||(V.liV=t.allowMove),d(t.showHandle))||(V.giV=t.showHandle)},E.prototype.qiV=function(t,V,n,i){var e,t,e=t.lossless;e=e||(t.lossless={}),(t=this).liV||(e.allowMove=!1),!0!==t.yiV&&t.yiV!==s.ResizeMode.aspect&&(e.allowResize=t.yiV),t.fiV||(e.allowRotate=!1),t.giV||(e.showHandle=!1)},E.prototype.PiV=function(t){var V,n,t,i,V=this,n=t.anchorType,t=t.editAs,i;switch(d(t)?n:r.ST_EditAs[t]){case r.ST_EditAs.twoCell:V.FnV=!0,V.SnV=!0;break;case r.ST_EditAs.oneCell:V.FnV=!0,V.SnV=!1;break;case r.ST_EditAs.absolute:V.FnV=!1,V.SnV=!1}},E.prototype.kiV=function(t){var V=this;V.FnV&&V.SnV||(V.FnV&&!V.SnV?t.editAs="oneCell":t.editAs="absolute")},E.prototype.NiV=function(t){var V,t,V=this,t=t.clientData;t&&(V.uiV=v(t.fLocksWithSheet,!0),V.xiV=v(t.fPrintsWithSheet,!0))},E.prototype.BiV=function(t){var V=this;t.clientData={},V.uiV||(t.clientData.fLocksWithSheet=a.SJS_False),V.xiV||(t.clientData.fPrintsWithSheet=a.SJS_False)},t.DrawingBase=V=E,n(F,R=V),F.prototype.alt=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.AiV:((n=V.AiV)!==t&&(V.DT("alt",t),V.AiV=t,V.enV("alt",n)),this)},F.prototype.isSelected=function(t){var V,n,i,V=this;return(0,o.noArguments)(arguments)?V.ni:((n=V.ni)!==t&&(V.DT("isSelected",t),V.ni=t,V.ctV&&(V.ctV.isSelected=t),(i=V.enV("isSelected",n))||V.ZiV(),V.refresh()),this)},F.prototype.isLocked=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.uiV:(n=V.uiV,V.DT("isLocked",t),V.uiV=t,V.enV("isLocked",n),this)},F.prototype.isVisible=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.ytV.Visible:((n=V.ytV.Visible)!==t&&(V.DT("isVisible",t),(V.ytV.Visible=t)||V.isSelected(!1),V.enV("isVisible",n),V.refresh()),this)},F.prototype.HiV=function(){var t=this.ytV;return t.Visible&&!t.Hidden},F.prototype.canPrint=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.xiV:((n=V.xiV)!==t&&(V.DT("canPrint",t),V.xiV=t,V.enV("canPrint",n)),this)},F.prototype.dynamicMove=function(t){var V,n,n,V=this;return(0,o.noArguments)(arguments)?V.FnV:(n=V.FnV,V.DT("dynamicMove",t),V.FnV=t,V.enV("dynamicMove",n),t||(n=V.SnV,V.DT("dynamicSize",!1),V.SnV=!1,V.enV("dynamicSize",n)),this)},F.prototype.dynamicSize=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.SnV:(V.FnV&&(n=V.SnV,!0===t&&!0===V.PrV()&&(V.DT("resizeToFitText",!0,!0),V.PrV(!1,!0)),V.DT("dynamicSize",t),V.SnV=t,V.enV("dynamicSize",n)),this)},F.prototype.allowResize=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.yiV:(n=V.yiV,V.DT("allowResize",t),V.yiV=t,V.ytV.noChangeAspect=t===s.ResizeMode.aspect,V.enV("allowResize",n),V.refresh(),this)},F.prototype.allowRotate=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.fiV:(V.g4e()&&(n=V.fiV,V.DT("allowRotate",t),V.fiV=t,V.enV("allowRotate",n),V.refresh()),this)},F.prototype.allowMove=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.liV:(n=V.liV,V.DT("allowMove",t),V.liV=t,V.enV("allowMove",n),this)},F.prototype.showHandle=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.giV:(n=V.giV,V.DT("showHandle",t),V.giV=t,V.enV("showHandle",n),V.refresh(),this)},F.prototype.name=function(t){var V,n,i,e,V=this,n=V.ytV,i=n.Name;if((0,o.noArguments)(arguments))return i;if(d(t)||""===t)throw new Error((0,r.sR)().Exp_EmptyName);if(i!==t){if((e=V.Mf)&&e.shapes.get(t))throw new Error((0,r.sR)().Exp_DuplicatedName);V.DT("name",t),n.Name=t,V.mnV&&V.mnV._nV(i,t),V.Mf&&V.Mf.VsV(i,t),V.enV("name",i)}return this},F.prototype.hyperlink=function(t){var V,n,i,i,V=this,n=V.ytV,i=V.ytV.ku;if((0,o.noArguments)(arguments))return i?{url:i.url,tooltip:i.tooltip,isVisited:i.isVisited,linkColor:i.linkColor,visitedLinkColor:i.visitedLinkColor,target:i.target,drawUnderline:i.drawUnderline,command:i.command}:null;i=V.hyperlink(),V.DT("hyperlink",t),n.ku=t,V.ctV&&(V.ctV.hyperlink=n.ku),V.enV("hyperlink",i),V.refresh()},F.prototype.bnV=function(t,V,n,i,e,c){var r,s,i,t,r=this,s=r.ytV;s.I0===t&&!i||(i=r.x(),c&&r.DT("x",t),s.I0=t,n=!0,r.enV("x",i)),s.A0===V&&!e||(t=r.y(),c&&r.DT("y",V),s.A0=V,n=!0,r.enV("y",t)),n&&(s.ynV(),s.fnV(),r.hiV(!0))},F.prototype.$l=function(t,V,n,i,e,c,r){var s,d,i,t,s=this,d=s.ytV;d.YC===t&&!i||(i=s.width(),c&&s.DT("width",t),d.YC=t,n=!0,s.enV("width",i)),d.ZC===V&&!e||(r&&!0===s.ytV.TrV&&(s.DT("resizeToFitText",!0,!0),s.PrV(!1,!0)),t=s.height(),c&&s.DT("height",V),d.ZC=V,n=!0,s.enV("height",t)),n&&(d.fnV(),s.hiV(!0)),s.TrV()},F.prototype.getFormula=function(t){var V=this;return"x"===(t=t.toLowerCase())?(0,o.getFormula)(V,"left")||V.I0:"y"===t?(0,o.getFormula)(V,"top")||V.A0:"width"===t?(0,o.getFormula)(V,"width")||V.YC:"height"===t?(0,o.getFormula)(V,"height")||V.ZC:V.QiV(t)},F.prototype.QiV=function(t){return""},F.prototype.setFormula=function(t,V){var n=this;"x"===(t=t.toLowerCase())?n.x(V):"y"===t?n.y(V):"width"===t?n.width(V):"height"===t?n.height(V):n.ziV(t,V)},F.prototype.ziV=function(t,V){},F.prototype.x=function(t,V){var n=this,i=n.ytV,e=i.I0;return(0,o.noArguments)(arguments)?e:((0,o.isFormula)(t)?(n.I0=t,t=(0,o.setFormula)(n,"left",t)):(n.I0&&delete n.I0,(0,o.removeFormula)(n,"left",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.bnV(t,i.A0,V,e!==t,!1,!0),n)},F.prototype.hiV=function(t){var V=this;V.anV(t),V.GiV(),V.refresh()},F.prototype.GiV=function(){var t=this;t.ctV&&1!==t.ctV.ttV&&!t.snV&&t.Mf.shapeLayers[0].updateConnectionLinesLayout(t.ctV)},F.prototype.y=function(t,V){var n=this,i=n.ytV,e=i.A0;return(0,o.noArguments)(arguments)?e:((0,o.isFormula)(t)?(n.A0=t,t=(0,o.setFormula)(n,"top",t)):(n.A0&&delete n.A0,(0,o.removeFormula)(n,"top",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.bnV(i.I0,t,V,!1,e!==t,!0),n)},F.prototype.width=function(t,V){var n=this,i=n.ytV,e=i.YC;return(0,o.noArguments)(arguments)?e:((0,o.isFormula)(t)?(n.YC=t,t=(0,o.setFormula)(n,"width",t)):(n.YC&&delete n.YC,(0,o.removeFormula)(n,"width",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.$l(t,i.ZC,V,e!==t,!1,!0),n)},F.prototype.height=function(t,V){var n=this,i,e=n.ytV.ZC;return(0,o.noArguments)(arguments)?e:(this.DrV(t,V,!0),n)},F.prototype.DrV=function(t,V,n){var i=this,e=i.ytV,c=e.ZC;(0,o.isFormula)(t)?(i.ZC=t,t=(0,o.setFormula)(i,"height",t)):(i.ZC&&delete i.ZC,(0,o.removeFormula)(i,"height",t)),i.Mf&&i.Mf.parent&&i.Mf.parent.Gie&&(t/=i.Mf.zoom()),i.$l(e.YC,t,V,!1,c!==t,!0,n)},F.prototype.startRow=function(t){var V=this;return(0,o.noArguments)(arguments)?V.ytV.hVV:(V.isV(t),V)},F.prototype.isV=function(t){var V,n,V=this;V.ytV.hVV!==t&&(n=V.y(),V.DT("startRow",t),V.ytV.hVV=t,V.ytV.xnV(),V.ytV.fnV(),V.enV("y",n),V.hiV(!0))},F.prototype.startRowOffset=function(t){var V=this;return(0,o.noArguments)(arguments)?V.ytV.uVV:(V.esV(t),V)},F.prototype.esV=function(t){var V,n,V=this;V.ytV.uVV!==t&&(n=V.y(),V.DT("startRowOffset",t),V.ytV.uVV=t,V.ytV.xnV(),V.ytV.fnV(),V.enV("y",n),V.hiV(!0))},F.prototype.startColumn=function(t){var V=this;return(0,o.noArguments)(arguments)?V.ytV.xVV:(V.csV(t),V)},F.prototype.csV=function(t){var V,n,V=this;V.ytV.xVV!==t&&(n=V.x(),V.DT("startColumn",t),V.ytV.xVV=t,V.ytV.xnV(),V.ytV.fnV(),V.enV("x",n),V.hiV(!0))},F.prototype.startColumnOffset=function(t){var V=this;return(0,o.noArguments)(arguments)?V.ytV.yVV:(V.rsV(t),V)},F.prototype.rsV=function(t){var V,n,V=this;V.ytV.yVV!==t&&(n=V.x(),V.DT("startColumnOffset",t),V.ytV.yVV=t,V.ytV.xnV(),V.ytV.fnV(),V.enV("x",n),V.hiV(!0))},F.prototype.endRow=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.ytV.CtV:(V.ytV.CtV!==t&&(n=V.height(),V.DT("endRow",t),V.ytV.CtV=t,V.ytV.mtV(),V.enV("height",n),V.hiV(!0)),V)},F.prototype.endRowOffset=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.ytV.RtV:(V.ytV.RtV!==t&&(n=V.height(),V.DT("endRowOffset",t),V.ytV.RtV=t,V.enV("height",n),V.ytV.mtV(),V.hiV(!0)),V)},F.prototype.endColumn=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.ytV.ItV:(V.ytV.ItV!==t&&(n=V.width(),V.DT("endColumn",t),V.ytV.ItV=t,V.ytV.mtV(),V.enV("width",n),V.hiV(!0)),V)},F.prototype.endColumnOffset=function(t){var V,n,V=this;return(0,o.noArguments)(arguments)?V.ytV.MtV:(V.ytV.MtV!==t&&(n=V.width(),V.DT("endColumnOffset",t),V.ytV.MtV=t,V.ytV.mtV(),V.enV("width",n),V.hiV(!0)),V)},F.prototype.Jli=function(t,V){var n,i,V,n=this,i=n.ytV;n.yXn||(V&&n.DT("rotate",t),(V=i.Rotation)!==t&&(n.ytV.Rotation=t,n.ctV.setAngle(t),n.enV("rotate",V),n.GiV(),n.refresh()))},F.prototype.g4e=function(){return!0},F.prototype.resize=function(t,V,n,i){var e,c,r,s,e=this,c=e.Mf.zoom(),r=e.ctV;r.resize(n*c,i*c),r.move(t*c,V*c),(e.I0||e.A0||e.YC||e.ZC)&&(t=r.left/c,V=r.top/c,n=r.width/c,i=r.height/c),e.$l(n,i,s=!0,!1,!1,!0,!0),e.bnV(t,V,!0,!1,!1,!0),e.afterResize()},F.prototype.afterResize=function(){},F.prototype.preProcessShapeDataToJson=function(t,V,n,i){var V=(0,o.getFormulaSettingItems)(this.ctV,null,V,i);V&&(t.formulaItems=V)},F.prototype.shapeDataToJson=function(t,V){var n=this,i=n.ytV;5===n.ttV&&(i.czn=n.czn,i.fzn=n.fzn),t.shapeData=n.ytV.ToOOModel(null,V)},F.prototype.postProcessShapeDataToJson=function(t,V,n,i){t.name=this.name(),t.shapeType=this.ttV},F.prototype.processShapePropsToJson=function(t){var V=this;t.isLocked=V.uiV,t.canPrint=V.xiV,t.dynamicMove=V.FnV,t.dynamicSize=V.SnV,t.allowResize=V.yiV,t.allowRotate=V.fiV,t.allowMove=V.liV,t.showHandle=V.giV},F.prototype.YiV=function(t){R.prototype.YiV.call(this,t);var t=t.lossless;t&&t.formulaItems&&(this.JiV=t.formulaItems)},F.prototype.qiV=function(t,V,n,i){var n,t;R.prototype.qiV.call(this,t,V,n,i),n=(n=t.lossless)||(t.lossless={}),(t=(0,o.getFormulaSettingItems)(this.ctV,null,V,i))&&(n.formulaItems=t)},F.prototype.toJSON=function(t,V,n){var i,e,i=this,e={};return e.isLocked=i.uiV,e.canPrint=i.xiV,e.dynamicMove=i.FnV,e.dynamicSize=i.SnV,e.allowResize=i.yiV,e.allowRotate=i.fiV,e.allowMove=i.liV,e.showHandle=i.giV,e.alt=i.AiV,i.preProcessShapeDataToJson(e,t,V,n),i.shapeDataToJson(e,n),i.postProcessShapeDataToJson(e,!1,p,n),e},F.prototype.preProcessShapeDataFromJson=function(t){var V=this;d(t.isLocked)||(V.uiV=t.isLocked),d(t.canPrint)||(V.xiV=t.canPrint),d(t.dynamicMove)||(V.FnV=t.dynamicMove),d(t.dynamicSize)||(V.SnV=t.dynamicSize),d(t.allowResize)||(V.yiV=t.allowResize),d(t.allowRotate)||(V.fiV=t.allowRotate),d(t.allowMove)||(V.liV=t.allowMove),d(t.showHandle)||(V.giV=t.showHandle),d(t.formulaItems)||(V.JiV=t.formulaItems)},F.prototype.adjustShapeDataFromJson=function(t){},F.prototype.shapeDataFromJson=function(t){var V;this.ytV.FromOOModel(t.shapeData),this.adjustShapeDataFromJson(t)},F.prototype.postProcessShapeDataFromJson=function(t){var V=this;d(t.allowResize)&&(V.yiV=!V.ytV.noChangeAspect||s.ResizeMode.aspect)},F.prototype.FiV=function(t,V,n){var V,n;R.prototype.FiV.call(this,t,V,n),V=this,n=t.lossless&&t.lossless.allowResize,d(n)&&(V.yiV=!V.ytV.noChangeAspect||s.ResizeMode.aspect)},F.prototype.fromJSON=function(t){var V=this;d(t.alt)||(V.AiV=t.alt),V.czn=t.hAlign,V.fzn=t.vAlign,V.preProcessShapeDataFromJson(t),V.shapeDataFromJson(t),V.postProcessShapeDataFromJson(t)},F.prototype.formulaFromJSON=function(t,V){var n=this;n.unV(n.JiV)},F.prototype.afterRefSheetLazyLoaded=function(){},F.prototype.WiV=function(t){return null},F.prototype.Gf=function(t){var V,n,V,V=this;return t=t||V.Mf,n=JSON.stringify(V.toJSON()),V=V.WiV(t),t.LtV=[],V.fromJSON(JSON.parse(n)),delete t.LtV,V.tnV(),V.formulaFromJSON(),V.leV(),V.ctV&&t.shapeLayers[0].removeShape(V.ctV),V},F.prototype.leV=function(){},F.prototype.JO=function(t,V){var n=this;n.A0||n.ZC||(G.call(n,n.startRow,n.endRow,t,V),n.lnV(),n.anV(!0))},F.prototype.xP=function(t,V){var n=this;n.getFormula("y")||n.getFormula("height")||(n.wdV(),Q(n)?n.zrt():(J.call(n,n.startRow,n.startRowOffset,n.endRow,n.endRowOffset,t,V),n.lnV(),n.anV(!0)))},F.prototype.qO=function(t,V){var n=this;n.I0||n.YC||(G.call(n,n.startColumn,n.endColumn,t,V),n.lnV(),n.anV(!0))},F.prototype.NP=function(t,V){var n=this;n.getFormula("x")||n.getFormula("width")||(n.wdV(),Q(n)?n.zrt():(J.call(n,n.startColumn,n.startColumnOffset,n.endColumn,n.endColumnOffset,t,V),n.lnV(),n.anV(!0)))},F.prototype.lnV=function(){},F.prototype.urV=function(){var t,V,t=this,V=t.n0V(!1,!1);(0,e.isImageSparkLineValue)(V.src)&&t.ctV&&t.ctV.xrV()},F.prototype.sdV=function(){var t,t,V,t=this.ctV;t&&(t=t.options,V=this.ytV,y(t,V),x(t,V),t.textFormatOptions.fill.color=f(V.ShapeStyle.Font),t.textFormatOptions.font=r.ShapeUtility.getFontFromShapeData(V))},F.prototype.anV=function(t){var V,n,i,V=this;V.onV||(n=V.Mf.zoom(),(i=V.ctV)&&(1===i.ttV?i.setPoints(V.KVV(t),n):(i.resize(V.width()*n,V.height()*n),i.move(V.x()*n,V.y()*n))),V.KiV())},F.prototype.KiV=function(){},F.prototype.gnV=function(){var t,V,n,n,t=this,V=t.ctV,n=t.Mf;V&&n&&(n=n.zoom(),t.ytV.xnV(),t.ytV.mtV(),V.OtV=n,V.TtV=1!==n)},F.prototype.ZiV=function(){var t,V,t,t=this,V=t.Mf;V&&(t={sheet:V,sheetName:V.name(),shape:t},V.ki(c.Events.ShapeSelectionChanged,t))},F.prototype.enV=function(t,V){var n,i,e,e,n=this;if(!n.VnV&&(i=n.Mf)){if(e={sheet:i,sheetName:i.name(),shape:n,propertyName:t,stopThisFire:!1},F.et(n,"fireEvents",e),e.stopThisFire)return!1;e={sheet:i,sheetName:i.name(),shape:n,propertyName:t,oldValue:V},i.ki(c.Events.ShapeChanged,e)}},F.prototype.ZnV=function(t,V){var n,i,e,n=this,i=n.Mf;(V||n.RiV)&&(e=i.Ut).aeV(t)},F.prototype.DT=function(t,V,n){var i,e,e,c,r,i=this,e=i.Mf;!e||i.vnV||i.RiV||(e=e.Ut).G8&&(c=void 0,r=t,n===p&&(n=i[r]()),c=V!==p?{type:t,value:V,oldValue:n}:{name:r,value:i[r](),oldValue:n},e.ueV(i,c))},F.prototype.AP=function(t,V){var n,i,V,t,e,c;t&&(i=t.type||t.name,V=V?t.value:t.oldValue,t=t.type,c=["startRow","startRowOffset","startColumn","startColumnOffset","endRow","endRowOffset","endColumn","endColumnOffset"],(n=this)[i]&&-1<(e="x|y|width|height|").indexOf(i+"|")?(n.ttV===r.CT_ShapeType.CT_GroupShape&&(n.$iV=!0),n[i](V),n.ttV===r.CT_ShapeType.CT_GroupShape&&delete n.$iV,n.zrt()):n[i]&&0<=c.indexOf(i)?(n.ttV===r.CT_ShapeType.CT_GroupShape&&(n.$iV=!0),n[i](V),n.ttV===r.CT_ShapeType.CT_GroupShape&&delete n.$iV,n.ytV.xnV(),n.ytV.mtV()):n[i]?n[i](V):n.t0V(t,V))},F.prototype.wdV=function(){var t=this,V=t.ytV;t.DT("endRow",V.CtV),t.DT("endRowOffset",V.RtV),t.DT("endColumn",V.ItV),t.DT("endColumnOffset",V.MtV),t.DT("startRow",V.hVV),t.DT("startRowOffset",V.uVV),t.DT("startColumn",V.xVV),t.DT("startColumnOffset",V.yVV)},F.prototype.zrt=function(){var t=this.ytV;t.ynV(),t.fnV()},F.prototype.t0V=function(t,V){var n;"resizeToFitText"===t&&this.PrV(V)},F.prototype.refresh=function(t){var V,n,t,V=this.Mf;!this.onV&&V&&(n=this.ctV,t&&n?(t=n.getRenderBound(),V.cnV(new c.Rect(t.left,t.top,t.width,t.height))):V.cnV())},F.prototype.zrV=function(t){var V,n,i,t,e,V,c,r,V=this,n=U(V.ytV.L0t),i=q(n)*t/2,t=k(n)*t/2,e={x:V.x()+V.width()/2,y:V.y()+V.height()/2},V=(0,o.rotatePoint)({x:V.x(),y:V.y()},e,n),c,r;return(0,o.rotatePoint)(V,{x:e.x-i,y:e.y+t},-n)},F.prototype.TrV=function(){var t,V,n,i,n,V,V,t=this,V=t.ctV;t.ctV&&t.ctV.options&&t.ctV.options.textFormatOptions&&t.ctV.options.textFormatOptions.resizeToFitText&&(n=V.getShapeFitTextSize())&&(i=n.height,n=n.width,V.TtV&&(i/=V.OtV,n/=V.OtV),i===t.height()&&n===t.width()||(V=i-t.height(),V=t.zrV(V),t.$l(n,i,void 0,void 0,void 0,!0),t.bnV(V.x,V.y)))},F.prototype.getShapePoints=function(){var t=this,V=t.ctV;if(V&&4!==t.ttV)return V.V0V()},F.prototype.VeV=function(t){var V=this;if((0,o.noArguments)(arguments))return V.n0V(!0,!1);this.neV(t)},F.prototype.neV=function(t,V){var n,i;void 0===V&&(V=!0),n=this,d(t)||((0,o.adjustTransparentColor)(t),i=n.i0V(t),V&&(t=n.e0V(t)),(n.ytV.Fill.Type=i)===r.FillType.Solid?n.c0V(t):i===r.FillType.Gradient?n.r0V(t):i===r.FillType.Picture&&this.d0V(t),y(n.ctV.options,n.ytV))},F.prototype.i0V=function(t){var t,V,t=t,V=r.FillType.Solid;return d(t.stops)?d(t.src)||(V=r.FillType.Picture):V=r.FillType.Gradient,V},F.prototype.e0V=function(i){var e,c,r,s,t,n,t;return i=(0,o.simpleCloneObject)(i),c=!1,(e=this).S0t=i,r=e.ctV,s=r&&r.getService(),n=function(t,V,n){var n="options.fill.stops.".concat(n,".").concat(V);(0,o.isFormula)(t[V])?(c=!0,(0,o.setFormula)(e,n,t[V]),s&&(s.setValue(r.id,"options.fill.stops.isArray",!0),t[V]=s.getValue(r.id,n))):(0,o.removeFormula)(e,n,i[V],!0)},(t=function(t){var V="options.fill."+t;(0,o.isFormula)(i[t])?(c=!0,(0,o.setFormula)(e,V,i[t]),s&&(i[t]=s.getValue(r.id,V))):(0,o.removeFormula)(e,V,i[t],!0)})("type"),t("color"),t("transparency"),t("direction"),t("angle"),t("src"),t("tilePictureAsTexture"),t("offsetLeft"),t("offsetRight"),t("offsetTop"),t("offsetBottom"),t("offsetX"),t("offsetY"),t("scaleX"),t("scaleY"),t("alignment"),t("mirrorType"),t=i.stops,Array.isArray(t)&&t.forEach(function(t,V){n(t,"position",V),n(t,"color",V),n(t,"transparency",V),n(t,"brightness",V)}),c||delete e.S0t,i},F.prototype.nrV=function(t,V){var n,i,e,n=this,i=r.ShapeUtility.getFillType(n.ytV.Fill),e=n.n0V(!1,!1);(0,o.updateOptionItemByPath)(e,t,V),i===r.FillType.Solid?n.c0V(e):i===r.FillType.Gradient?n.r0V(e):i===r.FillType.Picture&&n.d0V(e),y(n.ctV.options,n.ytV)},F.prototype.n0V=function(t,V){var n,i,e,n=this,i=r.ShapeUtility.getFillType(n.ytV.Fill);return i===r.FillType.Solid?e=n.hdV(t,V):i===r.FillType.Gradient?e=n.udV(t,V):i===r.FillType.Picture&&(e=n.xdV(t)),e},F.prototype.hdV=function(t,V){var n,i,n=this,i=r.ShapeUtility.getFillFormatInfo(n.ytV).solid;return V&&Object.assign(i,g(n.ytV.Fill)),t&&n.S0t&&(i.type=_(n,"type")||i.type,i.color=_(n,"color")||i.color,i.transparency=_(n,"transparency")||i.transparency),i},F.prototype.udV=function(t,V){var n,i,e,n=this,i=r.ShapeUtility.getFillFormatInfo(n.ytV).gradient;return V&&(e=n.ytV.Fill.GradientStops,i.stops.forEach(function(t,V){Object.assign(t,g(e.Item(V)))})),t&&n.S0t&&(i.type=_(n,"type")||i.type,i.angle=_(n,"angle")||i.angle,i.direction=_(n,"direction")||i.direction,i.stops.forEach(function(t,V){t.color=_(n,"stops.".concat(V,".color"))||t.color,t.position=_(n,"stops.".concat(V,".position"))||t.position,t.transparency=_(n,"stops.".concat(V,".transparency"))||t.transparency,t.brightness=_(n,"stops.".concat(V,".brightness"))||t.brightness})),i},F.prototype.xdV=function(V){var n,i,t,e,n=this,i=r.ShapeUtility.getFillFormatInfo(n.ytV).picture,t=["src","transparency","tilePictureAsTexture"];return i.tilePictureAsTexture?t.push("offsetX","offsetY","scaleX","scaleY","alignment","mirrorType"):t.push("offsetLeft","offsetRight","offsetTop","offsetBottom"),e={},t.forEach(function(t){e[t]=i[t],V&&n.S0t&&(e[t]=_(n,t)||e[t])}),e},F.prototype.r0V=function(t){var V=this;d(t.type)||V.a0V(t.type),V.s0V(t.direction),d(t.angle)||V.h0V(t.angle),d(t.stops)||V.u0V(t.stops)},F.prototype.a0V=function(t){var V=this.ytV.Fill;t===r.GradientFillType.linear?(V.u0t=!0,V.Bft=p,this.s0V(p)):t===r.GradientFillType.radial&&(V.u0t=!1,V.Bft=r.ST_PathShadeType.circle)},F.prototype.h0V=function(t){var V,t,n,V=this.ytV.Fill,t=Number(t),n=r.ShapeUtility.getGradientFillType(V);isNaN(t)||n!==r.GradientFillType.linear||V.Rft||((t%=360)<0&&(t+=360),V.GradientAngle=t)},F.prototype.s0V=function(t){var V,n;t=Number(t),V=this.ytV.Fill,(n=r.ShapeUtility.getGradientFillType(V))===r.GradientFillType.radial?h(r.RadialGradientFillDirection,t)&&(t===r.RadialGradientFillDirection.fromCenter?(V.e0t(r.GradientStyle.GradientFromCenter),V.i0t(p)):(V.e0t(r.GradientStyle.GradientFromCorner),V.i0t(t)),V.Rft=!0):n===r.GradientFillType.linear&&(h(r.LinearGradientFillDirection,t)?(V.GradientAngle=t,V.Rft=!0):(V.Rft=!1,V.e0t(p),V.i0t(p)))},F.prototype.u0V=function(t){var V,n,i,e;if(Array.isArray(t)&&!(t.length<2)){for((n=(V=this).ytV.Fill.GradientStops).a1t=[],i=0;i<t.length;i++)e=t[i],n.Insert(0,0,0,-1,0),d(e)||(d(e.position)||V.x0V(i,e.position),d(e.color)||V.y0V(i,e),d(e.transparency))||V.f0V(i,e.transparency);V.ytV.Fill.n0t(n)}},F.prototype.x0V=function(t,V){var n,i,n,i=this.ytV.Fill.GradientStops;t<0||t>=i.Count||(i.Item(t).Position=Number(V))},F.prototype.y0V=function(t,V){var n,i,e,n=this,i=n.ytV.Fill.GradientStops;t<0||t>=i.Count||I(e=i.Item(t).Color,V,n.Mf)},F.prototype.f0V=function(t,V){var n,i,n,i=this.ytV.Fill.GradientStops;t<0||t>=i.Count||d(V)||(i.Item(t).Color.Transparency=Number(V))},F.prototype.l0V=function(t,V){var n,i,n,i=this.ytV.Fill.GradientStops;t<0||t>=i.Count||d(V)||(i.Item(t).Color.Brightness=Number(V))},F.prototype.c0V=function(t){var V,n,i,i,V=this,n=t.type,i=t.color;d(n)?d(i)||(""===i?this.g0V():this.A0V(t)):n===s.ShapeFillType.none?this.g0V():this.A0V(t),i=t.transparency,d(i)||V.w0V(i)},F.prototype.A0V=function(t){var V=this;I(V.ytV.Fill.Color,t,V.Mf)},F.prototype.g0V=function(){this.ytV.Fill.Color.ColorType=0},F.prototype.w0V=function(t){t=parseFloat(t),t=A(1,t),t=w(0,t),this.ytV.Fill.Transparency=t},F.prototype.d0V=function(t){var V,n,i,e,V=this,n,i=V.ytV.Fill.PictureFormat,e=t.tilePictureAsTexture?r.PictureFormatType.TextureFill:r.PictureFormatType.PictureFill;i.PictureFormatType=e,V.irV(t.src),i.Transparency=Number(t.transparency)||0,e===r.PictureFormatType.TextureFill?V.p0V(t):V.v0V(t)},F.prototype.irV=function(t){var V,n,i,V,n,i=this.ytV.Fill.PictureFormat;i.PicSrc=t,e.Common.isBase64ImageStr(t)?i.PicFill=t:((0,e.isSparkLineValue)(t)||(i.PicSrc=""),i.PicFill=p)},F.prototype.v0V=function(t){var V,n,i,e,t,V=this.ytV.Fill.PictureFormat,n=Number(t.offsetLeft)||0,i=Number(t.offsetRight)||0,e=Number(t.offsetTop)||0,t=Number(t.offsetBottom)||0;V.Stretch={left:n,right:i,top:e,bottom:t}},F.prototype.p0V=function(t){var V,n,i,e,c,r,t,V=this.ytV.Fill.PictureFormat,n=Number(t.offsetX)||0,i=Number(t.offsetY)||0,e=Number(t.alignment)||0,c=Number(t.mirrorType)||0,r=nt(t.scaleX,0,1,1),t=nt(t.scaleY,0,1,1);V.Tile={offsetX:n,offsetY:i,scaleX:r,scaleY:t,alignment:e,mirrorType:c}},F.prototype.L0V=function(t){var V=this;if((0,o.noArguments)(arguments))return V.j0V();t&&((0,o.adjustTransparentColor)(t),V.j0V(t))},F.prototype.j0V=function(t){var V,n,i,e,c,r,s,d,V=this,n=V.ytV.Line;if((0,o.noArguments)(arguments))return V.ydV(!0,!1);if("object"==typeof t){for(e in t=(0,o.simpleCloneObject)(t),V.Tin=t)c=t[e],r="options.stroke._"+e,(s=(0,o.isFormula)(c))&&!i&&(i=!0),t[e]=(0,o.updateOptionsItem)(V,r,c,s);i||delete V.Tin,X(t.color)||(""===t.color||null===t.color?n.Color.ColorType=0:I(n.Color,t,V.Mf)),n.DashStyle=X(t.lineStyle)?n.DashStyle:t.lineStyle,n.Weight=X(t.width)?n.Weight:t.width,n.CapStyle=X(t.capType)?n.CapStyle:t.capType,n.JoinStyle=X(t.joinType)?n.JoinStyle:t.joinType,n.Style=X(t.compoundType)?n.Style:t.compoundType,d=t.transparency,isNaN(d)||(d=A(1,d),d=w(0,d),n.Transparency=d),x(V.ctV.options,V.ytV)}},F.prototype.ydV=function(t,V){var n,i,e,n=this,i=n.ytV.Line,e=D(i);return V&&Object.assign(e,g(i)),n.Tin&&t&&(e.color=(0,o.getFormula)(n,"options.stroke._color")||e.color,e.lineStyle=(0,o.getFormula)(n,"options.stroke._lineStyle")||e.lineStyle,e.width=(0,o.getFormula)(n,"options.stroke._width")||e.width,e.capType=(0,o.getFormula)(n,"options.stroke._capType")||e.capType,e.joinType=(0,o.getFormula)(n,"options.stroke._joinType")||e.joinType,e.compoundType=(0,o.getFormula)(n,"options.stroke._compoundType")||e.compoundType,e.transparency=(0,o.getFormula)(n,"options.stroke._transparency")||e.transparency),e},F.prototype.b0V=function(t){var V,n,n,n,V=this;if((0,o.noArguments)(arguments))return V.fdV(!0,!1);t&&(n=t.color,d(n)||(V.ldV(n),z(V.ytV.ShapeStyle.Font.Color,t,V.Mf)),n=t.transparency,d(n)||V.C0V(n),n=t.font,d(n)||V.R0V(n))},F.prototype.fdV=function(t,V){var n,t,n=this,t={color:n.gdV(t),transparency:n.C0V(),font:n.R0V()};return V&&Object.assign(t,g(n.ytV.I0i.Font)),t},F.prototype.ldV=function(t){var V,n,i,V=this;if((0,o.noArguments)(arguments))return V.gdV(!0);n=b,(0,o.isFormula)(t)?(V.viV=t,i=!0):(V.viV&&delete V.viV,(0,o.removeFormula)(V,n,t)),X(t=(0,o.updateOptionsItem)(V,n,t,i))||(V.adV(t),V.ctV.options.textFormatOptions.fill.color=f(V.ytV.ShapeStyle.Font))},F.prototype.gdV=function(t){var V=this;return t&&V.viV?(0,o.getFormula)(V,b):l(V.ytV.I0i.Font).color},F.prototype.adV=function(t){var V=this;""===t||null===t?V.ytV.ShapeStyle.Font.Color.ColorType=0:V.ytV.ShapeStyle.Font.Color.setColor(V.Mf,t)},F.prototype.C0V=function(t){var V,n,i,e,V=this,n="options.textFormatOptions.fill.transparency";if((0,o.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.LiV?(0,o.getFormula)(V,n):(i=l(V.ytV.ShapeStyle.Font).transparency,Math.round(100*i)/100);(0,o.isFormula)(t)?(V.LiV=t,e=!0):(V.LiV&&delete V.LiV,(0,o.removeFormula)(V,n,t)),t=parseFloat((0,o.updateOptionsItem)(V,n,t,e)),isNaN(t)||(t=V.KnV(t),V.ctV.options.textFormatOptions.fill.transparency=t)},F.prototype.KnV=function(t){return t=A(1,t),t=w(0,t),this.ytV.ShapeStyle.Font.Color.Transparency=t},F.prototype.R0V=function(t){var V,n,i,e,V=this,n="options.textFormatOptions.font";if((0,o.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.jiV?(0,o.getFormula)(V,n):(V._font=r.ShapeUtility.getFontFromShapeData(V.ytV),V._font);(0,o.isFormula)(t)?(V.jiV=t,i=!0):(V.jiV&&delete V.jiV,(0,o.removeFormula)(V,n,t)),(t=(0,o.updateOptionsItem)(V,n,t,i))&&!X(t)&&(e=V.JnV(t))&&(V.ctV.options.textFormatOptions.font=t,V._font=t)},F.prototype.JnV=function(t){var t,V,t=K(t),V=t.name;return!!V&&(this.ytV.I0i.TextBody.updateFont(V,t.size,t.bold,t.italic),!0)},F.prototype.I0V=function(t){var V,n,n,n,V=this;if((0,o.noArguments)(arguments))return V.AdV();t&&(n=t.vAlign,d(n)||V.M0V(n),n=t.hAlign,d(n)||V._0V(n),n=t.resizeToFitText,d(n)||V.PrV(n))},F.prototype.AdV=function(){var t=this;return{vAlign:t.M0V(),hAlign:t._0V(),resizeToFitText:t.PrV()}},F.prototype.M0V=function(t){var V,n,i,V=this,n="options.textFormatOptions.verticalAlignment";if((0,o.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.miV?(0,o.getFormula)(V,n):V.ctV.options.textFormatOptions.verticalAlignment;(0,o.isFormula)(t)?(V.miV=t,i=!0):(V.miV&&delete V.miV,(0,o.removeFormula)(V,n,t)),X(t=(0,o.updateOptionsItem)(V,n,t,i))||(V.ctV.options.textFormatOptions.verticalAlignment=t,V.ytV.fzn=t,V.teV(t))},F.prototype.teV=function(t){this.fzn=t},F.prototype._0V=function(t){var V,n,i,V=this,n="options.textFormatOptions.horizontalAlignment";if((0,o.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.biV?(0,o.getFormula)(V,n):V.ctV.options.textFormatOptions.horizontalAlignment;(0,o.isFormula)(t)?(V.biV=t,i=!0):(V.biV&&delete V.biV,(0,o.removeFormula)(V,n,t)),X(t=(0,o.updateOptionsItem)(V,n,t,i))||(V.ctV.options.textFormatOptions.horizontalAlignment=t,V.ytV.czn=t,V.$nV(t))},F.prototype.$nV=function(t){this.czn=t},F.prototype.PrV=function(t,V){var n,i,e,n,i,n,e=this,n="options.textFormatOptions.resizeToFitText";if((0,o.noArguments)(arguments))return!t&&e.NrV?(0,o.getFormula)(e,n):e.ytV.TrV;(0,o.isFormula)(t)?(e.NrV=t,i=!0):(e.NrV&&delete e.NrV,(0,o.removeFormula)(e,n,t)),X(t=(0,o.updateOptionsItem)(e,n,t,i))||((n=null==(i=null==(n=e.ctV)?void 0:n.options)?void 0:i.textFormatOptions)&&(n.resizeToFitText=t),e.ytV.TrV=t)},F.prototype.E0V=function(e){var c,r,c=this,r="options.textFormatOptions.margins.";["left","right","top","bottom"].forEach(function(t){var V,n,i,V=e&&e[t];d(V)||(n=r+t,(0,o.isFormula)(V)?i=!0:(0,o.removeFormula)(c,n,V),"number"!=typeof(V=+(V=(0,o.updateOptionsItem)(c,n,V,i))))||isNaN(V)||(c.ctV.options.textFormatOptions.margins[t]=V,c.ytV.I0i.TextBody.Inset[t]=V)})},F.prototype.edV=function(t,V){var n,i;void 0===V&&(V=!0),i=(0,o.getShapeAdjustments)(n=this),n.DT("adjustments",t),n.ytV.ddV(t,V),u(n.ctV,n.ytV),n.enV("adjustments",i),n.refresh()},F.prototype.tnV=function(t,V){},F.prototype.unV=function(t,V){var n=this;t&&(V&&(n.VnV=!0),n.siV=!0,t.left&&n.x(t.left),t.top&&n.y(t.top),t.width&&n.width(t.width),t.height&&n.height(t.height),n.hsV(t),delete n.siV,V)&&delete n.VnV},F.prototype.hsV=function(t){},t.ShapeBase=i=F,(0,c.$e)(i),n(Y,M=i),Y.prototype.type=function(t){var V,n,i,V=this,n=V.ytV,i=n.AutoShapeType;if((0,o.noArguments)(arguments))return i;t!==i&&(V.DT("type",t),n.AutoShapeType=t,V.enV("type",i),t&&V.tnV(),V.GiV(),V.TrV(),V.refresh())},Y.prototype.QiV=function(t){var V=this;return"rotate"===t?(0,o.getFormula)(V,"angle"):"text"===t?(0,o.getFormula)(V,j):"style"===t.substr(0,5)?(0,o.getStyleFormula)(V,t):""},Y.prototype.ziV=function(t,V){var n=this;"rotate"===t?n.rotate(V):"text"===t?n.text(V):"style"===t.substr(0,5)&&(0,o.setStyleFormula)(n,t,V)},Y.prototype.rotate=function(t){var V=this;if((0,o.noArguments)(arguments))return V.ytV.Rotation;(0,o.rotateImp)(V,t)},Y.prototype.text=function(t){var V,n,i,e,n,V=this;if((0,o.noArguments)(arguments))return V.ytV.I0i.Text;i=V.ytV.I0i,(e=!(n=j),o.isFormula)(t)?(V._text=t,e=Vt(V,t)):(V._text&&delete V._text,(0,o.removeFormula)(V,n,t)),X(t=(0,o.updateOptionsItem)(V,n,t,!0))&&(t=t.toString()),n=V.text(),V.DT("text",t,n),V.O0V(t,e),V.ctV.options.textFormatOptions.text=i.Text,V.enV("text",n),V.TrV(),V.refresh()},Y.prototype.isTextBox=function(t){var V=this;if((0,o.noArguments)(arguments))return V.ytV.IsTextBox;V.ytV.IsTextBox=t},Y.prototype.O0V=function(t,V){var n,i,n=this,i=n.ytV.I0i;V?(i.SetTextLinkInternal(),n.P0V(!0)):i.Text=t},Y.prototype.GnV=function(t){var V,n,V=this,n=V.ytV.I0i;n.HasTextLink()?V.P0V():n.Text=t,V.TrV()},Y.prototype.P0V=function(t){var V,t,V=this,t=tt(V,j,t);d(t)||V.ytV.I0i.UpdateTextLinkElementText(t),V.ctV&&(V.ctV.options.textFormatOptions.text=V.ytV.I0i.Text)},Y.prototype.hsV=function(t){var V=this;t&&(t.angle&&V.rotate(t.angle),t.line&&V.j0V(t.line),t.fill&&V.VeV(t.fill),t.text&&V.text(t.text),t.textColor&&V.ldV(t.textColor),t.textTransparency&&V.C0V(t.textTransparency),t.font&&V.R0V(t.font),t.vAlign&&V.M0V(t.vAlign),t.hAlign&&V._0V(t.hAlign),t.textMargins)&&V.E0V(t.textMargins)},Y.prototype.N0V=function(){var t,V,n,V,t=this,V=t.ytV,n=V.HeV,V=V.I0i;n&&V.HasTextLink()&&((0,o.updateOptionsItem)(t,j,"="+n,!1),t.P0V(!0))},Y.prototype.tnV=function(){var t,V,n,i,e,V,c,r,s,s,e,n,c,t=this,V=t.Mf,n=V.zoom();t.VnV=!0,e=(i=t.ytV).AutoShapeType,V=V.shapeLayers[0],(c=t.aiV)?(r=(0,o.simpleCloneObject)(t.hnV),isNaN(i.I0)||!d(r.left)&&isNaN(+r.left)||(r.left=i.I0*n),isNaN(i.A0)||!d(r.top)&&isNaN(+r.top)||(r.top=i.A0*n),isNaN(i.YC)||!d(r.width)&&isNaN(+r.width)||(r.width=i.YC*n),isNaN(i.ZC)||!d(r.height)&&isNaN(+r.height)||(r.height=i.ZC*n),!isNaN(i.Rotation)&&d(r.angle)&&(r.angle=i.Rotation),s=r.left,(0,o.isFormula)(s)&&(t.I0=s),s=r.top,(0,o.isFormula)(s)&&(t.A0=s),s=r.height,(0,o.isFormula)(s)&&(t.ZC=s),s=r.width,(0,o.isFormula)(s)&&(t.YC=s),s=r.angle,(0,o.isFormula)(s)&&(t.yXn=s)):(r=(0,o.getBuiltInShapeModelWhenInit)(i,e,n)).options={textFormatOptions:{text:t.text()||t.name()}},s=(0,o.removeOldShapeUIWhenInitShapeUI)(t,V),P(r,i,V,c),e=r.options,t._font=e.textFormatOptions.font,(n=t.czn=i.czn)&&(e.textFormatOptions.horizontalAlignment=n),(n=t.fzn=i.fzn)&&(e.textFormatOptions.verticalAlignment=n),c=V.createShape(r),u(c,i),c.getShapeCenter(),c.hyperlink=i.ku,this.ZnV(c.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,o.addNewShapeUIWhenInitShapeUI)(t,c,V,s),delete t.VnV},Y.prototype.preProcessShapeDataFromJson=function(t){var V,t,V=this;M.prototype.preProcessShapeDataFromJson.apply(V,arguments),t.custom&&(t=S(t.modelData,!0),V.aiV=!0,it(V.hnV=t))},Y.prototype.YiV=function(t){var t,V,n;M.prototype.YiV.call(this,t),(t=t.lossless)&&(V=this,t.custom?(n=S(t.modelData,!0),V.aiV=!0,it(V.hnV=n)):t.formulaItems&&(V.JiV=t.formulaItems))},Y.prototype.qiV=function(t,V,n,i){var e,t,n,n;M.prototype.qiV.call(this,t,V,n,i),e=(e=t.lossless)||(t.lossless={}),(t=this).aiV?(e.custom=!0,n=(0,o.syncCustomShapeModel)(t,!n&&V,i),e.modelData=S(n,!1),delete e.modelData.id):(n=(0,o.getFormulaSettingItems)(t.ctV,null,V,i))&&(e.formulaItems=n)},Y.prototype.OiV=function(t){return t.nvSpPr.cNvPr},Y.prototype.DiV=function(t){return t.sp},Y.prototype.formulaFromJSON=function(t,V){M.prototype.formulaFromJSON.call(this,t,V);var V=this;V.D0V=t,V.ytV.FormulaFrom(),V.N0V(),delete V.D0V},Y.prototype.preProcessShapeDataToJson=function(t,V,n,i){var e,c,n;M.prototype.preProcessShapeDataToJson.call(this,t,V,n,i),(e=this).czn&&(t.hAlign=e.czn),e.fzn&&(t.vAlign=e.fzn),e.aiV&&(t.custom=!0,c=V,n=(0,o.syncCustomShapeModel)(e,c=n?!1:V,i),t.modelData=S(n,!1),delete t.modelData.id,delete t.formulaItems),e.q0V()},Y.prototype.SiV=function(t,V,n){M.prototype.SiV.call(this,t,V,n),this.q0V()},Y.prototype.q0V=function(){var t,V,t,t=this,V=t.ytV,t=t.getFormula("text");t&&V.I0i.HasTextLink()&&("="===t[0]&&(t=t.substring(1)),V.HeV=t)},Y.prototype.postProcessShapeDataToJson=function(t,V,n,i){M.prototype.postProcessShapeDataToJson.call(this,t,V,n,i),(0,o.processShapeEmptyBlipBlobWhenToJson)(this,V?t:t.shapeData.sp)},Y.prototype.XiV=function(t,V,n,i,e){M.prototype.XiV.call(this,t,V,n,i,e),(0,o.processShapeEmptyBlipBlobWhenToJson)(this,t.sp)},Y.prototype.adjustments=function(t){var V=this;if((0,o.noArguments)(arguments))return(0,o.getShapeAdjustments)(V);V.edV((0,o.convertArrayValueToAdjustmentValue)(V.ytV,t))},Y.prototype.style=function(t){var V,n,V,n=this;if((0,o.noArguments)(arguments))return n.getStyle(!0,!1);!0===(null==(V=t.textFrame)?void 0:V.resizeToFitText)&&!0===n.SnV&&n.dynamicSize(!1),V=n.style(),n.DT("style",t),n.VeV(t.fill),n.L0V(t.line),n.b0V(t.textEffect),n.I0V(t.textFrame),n.enV("style",V),n.TrV(),n.refresh()},Y.prototype.getStyle=function(t,V){var n,i,n=this,i=new N.ShapeStyle;return i.fill=n.n0V(t,V),i.line=n.ydV(t,V),i.textEffect=n.fdV(t,V),i.textFrame=n.AdV(),i},Y.prototype.PrV=function(t,V){if((0,o.noArguments)(arguments))return M.prototype.PrV.call(this);var n=this.style();M.prototype.PrV.call(this,t,V),V&&this.enV("style",n)},Y.prototype.WiV=function(t){return new Y(t)},t.Shape=Y},"./dist/plugins/shape/staticModelCalcService/calcNode.js":function(t,V){var n;function i(t,V,n,i){this.name=t,this.value=V,this.formula=n,this.expr=i}function c(t){var V,n,i,e;if(!t)return[];for(;12===t.type;)t=t.value;for(;10===t.type;)t=t.value;for(;12===t.type;)t=t.value;if(V=[],9===t.type)V=V.concat(c(t.value)),t.value2&&(V=V.concat(c(t.value2)));else if(8===t.type)V.push(t.value);else if(7===t.type)for(i=(n=t.arguments).length,e=0;e<i;e++)V=V.concat(c(n[e]));return V}Object.defineProperty(V,"__esModule",{value:!0}),V.CalcNode=void 0,i.prototype.getDependencyIdentify=function(){return c(this.expr)},i.prototype.getDependencyCalcNode=function(V){var t;return this.getDependencyIdentify().map(function(t){return V[t]}).filter(function(t){return!!t})},i.prototype.getExternalDependencyIdentify=function(t){for(var V,n,i,e,c,V,n=[],i=0,e=this.getDependencyIdentify();i<e.length;i++)t[c=e[i]]||n.push(c);return n},V.CalcNode=i},"./dist/plugins/shape/staticModelCalcService/evaluateContext.js":function(t,V,n){var i,e,n,c,r,s,d;function o(){var t=null!==d&&d.apply(this,arguments)||this;return t.args={},t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelEvaluateContext=void 0,e=n("CalcEngine"),n=n("Common"),c=n.Common.lt.ht,d=e.EvaluateContext,i(o,d),o.prototype.getNameValue=function(t){var V,n,n,V=this.args||{};return c(V[t])?(n=(n=this.calcNodeMap)&&n[t])?n.value:void 0:V[t]},V.StaticModelEvaluateContext=o},"./dist/plugins/shape/staticModelCalcService/evaluator.js":function(t,V,n){var i,e,n,c,r,s,d,o;function a(){return null!==o&&o.apply(this,arguments)||this}i=this&&this.__extends||(d=function(t,V){return(d=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}d(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelEvaluator=void 0,e=n("Common"),n=n("CalcEngine"),c=n.Errors.Name,r=e.Common.lt.ht,o=n.Evaluator,i(a,o),a.prototype.evaluateName=function(t,V,n,i){var V;return!V&&!V.getNameValue||(V=V.getNameValue(t.value),r(V))?c:V},V.StaticModelEvaluator=a},"./dist/plugins/shape/staticModelCalcService/parseContext.js":function(t,V,n){var i,n,e,c,r;function s(){return null!==r&&r.apply(this,arguments)||this}i=this&&this.__extends||(c=function(t,V){return(c=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}c(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelParseContext=void 0,n=n("CalcEngine"),r=n.ParserContext,i(s,r),s.prototype.getResolvers=function(){return s.frV},s.frV=[new n.DefaultTokenResolver],V.StaticModelParseContext=s},"./dist/plugins/shape/staticModelCalcService/staticModelCalcService.js":function(t,V,n){var i,r,e,c,s,n,d,o;function a(t,V,n){this.RrV=t,this.j3t=V||a.parser,this.x3=n||a.parserContext,this.IrV(),this.MrV(),this._rV(),this.ErV()}function h(t,V){return t?"".concat(t,".").concat(V):V}function u(t){return null!==t&&"object"==typeof t}function x(V,n){var i;return V instanceof s.CalcNode?i=n(V):Array.isArray(V)?i=V.map(function(t){return x(t,n)}):u(V)&&(i={},Object.keys(V).forEach(function(t){i[t]=x(V[t],n)})),i}function y(V,n){V instanceof s.CalcNode?n(V):Array.isArray(V)?V.forEach(function(t){y(t,n)}):u(V)&&Object.keys(V).forEach(function(t){y(V[t],n)})}function f(t,c){var r,s,V,n,i;function d(t){var V,n,i,e;if(!s[t.name]){if(s[t.name]=!0,V=t.getDependencyCalcNode(c))for(n=0,i=V;n<i.length;n++)d(e=i[n]);r.push(t)}}for(r=[],s={},V=0,n=t;V<n.length;V++)d(i=n[V]);return r}function l(t){for(var V,n,i,e,c,r,s,V=[],n=0,i=t;n<i.length;n++)for(c=0,r=e=i[n];c<r.length;c++)s=r[c],-1===V.indexOf(s)&&V.push(s);return V}Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelCalcService=void 0,i=n("CalcEngine"),r=n("Core"),e=n("./dist/plugins/shape/staticModelCalcService/evaluateContext.js"),c=n("./dist/plugins/shape/staticModelCalcService/evaluator.js"),s=n("./dist/plugins/shape/staticModelCalcService/calcNode.js"),n=n("./dist/plugins/shape/staticModelCalcService/parseContext.js"),d=null,a.prototype.calculate=function(t){var V,n,V=this.FrV(t),n=a.evaluator;return this.SrV.forEach(function(t){t.value=n.evaluate(t.expr,V,!1,!1)}),this.getResultFromCalcNodeModel(this.XrV)},a.prototype.getExternalDependency=function(){return this.YrV},a.prototype.getResultFromCalcNodeModel=function(t){return x(t,function(t){return t.value})},a.prototype.getIdentity=function(t){return t},a.prototype.IrV=function(){var t,e,c,t=this.j3t,e=this.x3,c=function(V,n){var i;return Array.isArray(V)?i=V.map(function(t,V){return c(t,h(n,V+""))}):u(V)?(i={},Object.keys(V).forEach(function(t){i[t]=c(V[t],h(n,t))})):(i=new s.CalcNode(n,V),"string"==typeof V&&(0,r.kf)(V)&&(i.formula=V,i.expr=t.parse(e,V))),i};this.XrV=c(this.RrV,"")},a.prototype.MrV=function(){var n,i,n=this,i={};y(n.XrV,function(V){var t=n.getIdentity(V.name);Array.isArray(t)?t.forEach(function(t){i[t]=V}):t&&(i[t]=V)}),n.OrV=i},a.prototype._rV=function(){var V=[];y(this.XrV,function(t){t.expr&&V.push(t)}),this.SrV=f(V,this.OrV).filter(function(t){return!!t.expr})},a.prototype.ErV=function(){var t,V,t,t=this.SrV,V=this.OrV,t=t.map(function(t){return t.getExternalDependencyIdentify(V)});this.YrV=l(t)},a.prototype.FrV=function(t){var V=new e.StaticModelEvaluateContext(d);return V.args=t,V.calcNodeMap=this.OrV,V},a.parser=new i.Parser,a.parserContext=new n.StaticModelParseContext(d,!1),a.evaluator=new c.StaticModelEvaluator(new i.CalcService),V.StaticModelCalcService=a},"./dist/plugins/shape/textEditor/divTextEditor.js":function(t,V,n){var i,n,r,s,d,e,c,o;function a(t){this.Wc=t,this.BrV=this.ZrV(),this.Wc.appendChild(this.BrV),this.onKeydown=this.onKeydown.bind(this),this.onPaste=this.onPaste.bind(this),this.BrV.addEventListener("keydown",this.onKeydown),this.BrV.addEventListener("paste",this.onPaste)}function h(t){return t&&"BR"===t.tagName}function u(t,V){var n=V.endContainer;if(n instanceof Text){if(V.endOffset<n.length)return;n=n.nextSibling}if(!(n=n===t?n.childNodes[V.endOffset]:n))return 1;if(!h(n)&&!n.nextElementSibling){for(;n.nextSibling;)if(0<(n=n.nextSibling).length)return;return 1}}function x(t,V){var n,i,e,n,c,c,n=r.getSelection();0<n.rangeCount&&(i=s.createDocumentFragment(),e=s.createElement("br"),i.appendChild(e),(n=n.getRangeAt(0)).deleteContents(),u(V,n)&&(c=s.createElement("br"),i.appendChild(c)),n.insertNode(i),(n=s.createRange()).setStartAfter(e),n.collapse(!0),(c=r.getSelection()).removeAllRanges(),c.addRange(n),d(t),V.dispatchEvent(new Event("input")))}function y(t,V){var n,i,e,c,n=document.getSelection(),i=n.getRangeAt(0),e,c=document.createTextNode("\t");i.insertNode(c),i.setStartAfter(c),i.setEndAfter(c),n.removeAllRanges(),n.addRange(i),d(t),V.dispatchEvent(new Event("input"))}function f(t,V){var n,i,i,i;e.msie&&!e.edge&&r.clipboardData&&r.clipboardData.getData?n=r.clipboardData.getData("text"):t.clipboardData&&t.clipboardData.getData&&(n=t.clipboardData.getData("text/plain")),"\n"===(n=n.replace(/\r\n?/g,"\n").replace(/\u200B/g,""))[(i=n.length)-1]&&(n="\r"===n[i-2]?n.substr(0,i-2):n.substr(0,i-1)),n=c.j0(n),0<(i=window.getSelection()).rangeCount?((i=i.getRangeAt(0)).deleteContents(),i.insertNode(document.createTextNode(n)),i.collapse(!1)):V.innerHTML=n,d(t),V.dispatchEvent(new Event("input"))}Object.defineProperty(V,"__esModule",{value:!0}),V.DivTextEditor=void 0,i=n("Common"),n=n("Core"),r=window,s=document,d=n.mt.vi,e=n.mt.browser,c=i.Common.zf,a.prototype.ZrV=function(){var t=document.createElement("div");return t.tabIndex=-1,t.contentEditable="true",t},Object.defineProperty(a.prototype,"text",{get:function(){var t,V,t=this.BrV.innerText,V=t.length;return t=1<=V&&"\n"===t[V-1]?t.substring(0,V-1):t},set:function(t){var V=t.length;1<=V&&"\n"===t[V-1]&&(t+="\n"),this.BrV.innerText=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"className",{get:function(){return this.BrV.className},set:function(t){this.BrV.className=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"style",{get:function(){return{}},set:function(t){var V=this.BrV;V.style.font=t.font,V.style.color=t.color,V.style.lineHeight=t.lineHeight,V.style.textAlign=t.textAlign,V.style.verticalAlign=t.verticalAlign,V.style.padding=t.padding,V.style.width=t.width,V.style.maxWidth=t.maxWidth,V.style.transform=t.transform,V.style.opacity=t.opacity},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isActive",{get:function(){return document.activeElement===this.BrV},enumerable:!1,configurable:!0}),a.prototype.focus=function(){this.BrV.focus()},a.prototype.blur=function(){this.BrV.blur()},a.prototype.select=function(t){var V=window.getSelection();if(V.selectAllChildren(this.BrV),0<V.rangeCount)switch(t){case 1:V.collapseToEnd();break;case 0:V.collapseToStart()}},a.prototype.onKeydown=function(t){var V,n,V=t.keyCode,n=this.BrV;13===V?x(t,n):9===V&&y(t,n)},a.prototype.onPaste=function(t){f(t,this.BrV)},a.prototype.addEventListener=function(t,V){this.BrV.addEventListener(t,V)},a.prototype.removeEventListener=function(t,V){this.BrV.removeEventListener(t,V)},V.DivTextEditor=a},"./dist/plugins/shape/ui/cameraShape.js":function(t,V,n){var i,r,e,a,c,h,u,s,x,d,o,y,f;function l(){return null!==f&&f.apply(this,arguments)||this}i=this&&this.__extends||(y=function(t,V){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}y(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShapeUI=void 0,r=n("Core"),e=n("./dist/plugins/shape/ui/shapes.js"),a=n("CellTypes"),c=a&&a.qY,h=a&&a.$Y,u=a&&a.paintRangeTemplate,s=null,x=Math.min,d="temp",f=e.ShapeUI,i(l,f),l.prototype.needApplyFillAfterStyleFill=function(){return!0},l.prototype.applyFillAfterStyleFill=function(t,V,n,i){this.renderCameraShape(t,V,n,(0,e.isPrintContext)(t))},l.prototype.getCameraCacheKey=function(t,V){return"".concat(t,"*").concat(V,"-").concat(r.Bf.Zl())},l.prototype.renderCameraShape=function(t,V,n,i){var e,c,r,s,c,i,c,e=this,c=e.JVV;c&&3===e.ttV&&(r=e.getCameraCacheKey(V,n),s=c.Mf,c=c.ytV.isRangeContainsImage,i?e.JcV(t,V,n):(e.cameraImageCache||(e.cameraImageCache={}),c?((i=s.BO().$h())||(e.cameraImageCache={}),e.cameraImageCache[r]||e.WcV(i?r:d,V,n)):e.cameraImageCache[r]||e.WcV(r,V,n),(c=e.cameraImageCache[r]||e.cameraImageCache.temp)&&t.drawImage(c,-V/2,-n/2,V,n)))},l.prototype.getTemplateDataResolve=function(t){var V=this,n;return V.templateDataResolveCache||(V.templateDataResolveCache={}),(n=V.templateDataResolveCache[t])||(n=new c,V.templateDataResolveCache={},V.templateDataResolveCache[t]=n),n},l.prototype.WcV=function(t,V,n){var i,e,c,i=this,e=i.cameraShapeBuffer=document.createElement("canvas"),c=e.getContext("2d");r.Bf.Wl(e,s,s),r.Bf.$l(e,V,n),i.transform(c,{x:V/2,y:n/2},!1),i.JcV(c,V,n),i.cameraImageCache={},i.cameraImageCache[t]=e},l.prototype.JcV=function(t,V,n){var i,e,c,r,e,i,r,s,e,d,e,o,i=this,e=i.JVV;e&&3===i.ttV&&(c=e.Mf,r=e.ytV.Z5,e=e.ytV.AnV)&&a&&(i=i.getTemplateDataResolve(r).yN(e.sheet,e.cellRange,!0),r=(new h).yN(e.sheet,e.cellRange),s={x:-V/2,y:-n/2,width:V-1,height:n-1},d=(e=e.sheet.reV(e.cellRange)).width,e=e.height,o=1,0<d&&0<e&&(o=x(V/d,n/e)),u(t,s,null,{sheet:c,sheetArea:3,row:0,col:0,needTopGridline:!0,needLeftGridline:!0},i,r.eZ(),o))},l.prototype.JrV=function(){this.cameraImageCache=s},V.CameraShapeUI=l},"./dist/plugins/shape/ui/canvas.js":function(C,t,V){var i,A,T,y,R,f,h,N,P,D,U,n,q,o,k,w,M,B,I,_,Z,p,e,H,z,Q,c,r,E,F,v,S,G,J,s,W,u,d,K,$,a,x,l,g,tt,Vt,nt,j;function b(t,V){return+t.toFixed(V=V||3)}function it(t){var V,t,V=(0,i.GC$)(t).offset();return V?(V.top+=e.body.clientTop||0,V.left+=e.body.clientLeft||0):V={top:0,left:0},V=(t=t&&t.canvasOffset)?t:V}function et(t){var V,n,V=t.Mf.options,n;return!t.Mf.isActualProtected()||V.protectionOptions.allowEditObjects||!t.isLocked()}function X(t){return!1!==t.allowResize()}function ct(t,V){var n,i,e,c,r,s,n=t.left,i=t.top,e=t.width,c=t.height,r=e/2,s=c/2;return"topcenter"===V?n+=r:"topright"===V?n+=e:"middleleft"===V?i+=s:"middleright"===V?(n+=e,i+=s):"bottomleft"===V?i+=c:"bottomcenter"===V?(n+=r,i+=c):"bottomright"===V&&(n+=e,i+=c),x({x:n,y:i},t.Eot,a(t.angle))}function rt(t,V,n,i){var e,c,r,s,n,s,n,c,e=t.resizeInfo;e=e||(t.resizeInfo={}),c=t.YC,r=t.ZC,s=n.YC,n=n.ZC,e.ratioX=0===s?0:c/s,e.ratioY=0===n?0:r/n,e.aspectRatio=0===r?0:c/r,e.relativePoint=ct(t,V),n=(s=l(i,a(t.angle))).x,c=s.y,e.relativePoint.x+=n*e.ratioX,e.relativePoint.y+=c*e.ratioY}function st(t){var V=t.resizeInfo,V;(V=V||(t.resizeInfo={})).lineStartPoint=t.getStartPoint(),V.lineEndPoint=t.getEndPoint()}function dt(t,V){var n=!0;return t&&t.JVV&&(n=t.JVV.allowResize()),n=V&&!0===n?h.ResizeMode.aspect:n}function ot(t,V,n,i,e){var c,r,t,e,s;return V===h.ResizeMode.aspect?(c=t.width,r=t.height,t=t.resizeInfo.aspectRatio,e&&t&&(e=E(e=c+n,(s=r+i)*t),s=E(s,e/t),(e<1||s<1)&&(1<=t?e=(s=1)*t:s=(e=1)/t),n=e-c,i=s-r)):V===h.ResizeMode.horizontal?i=0:V===h.ResizeMode.vertical&&(n=0),{deltaW:n,deltaH:i}}function at(t,V,n,i){var e,i,c,t,r,s,d;return!0===V?i:(e=i.x,i=i.y,c=t.resizeInfo.lineStartPoint,t=t.resizeInfo.lineEndPoint,V===h.ResizeMode.aspect?(r=t.x-c.x,s=t.y-c.y,0==r&&0==s||(0==r?e=c.x:i=0==s?c.y:(e-c.x)*(d=s/r)+c.y)):V===h.ResizeMode.horizontal?i=("begin"===n?c:t).y:V===h.ResizeMode.vertical&&(e=("begin"===n?c:t).x),{x:e,y:i})}function L(t,V,n,i,e,c){var V=ot(t,V,n,i,!0);xt(t,V.deltaH,e),yt(t,V.deltaW,c)}function ht(t,V,n,i){var e;xt(t,ot(t,V,0,n,!1).deltaH,i)}function ut(t,V,n,i){var e;yt(t,ot(t,V,n,0,!1).deltaW,i)}function xt(t,V,n){var V=t.height+V;t.resizeHeight(V=V<=0?1:V,n)}function yt(t,V,n){var V=t.width+V;t.resizeWidth(V=V<=0?1:V,n)}function ft(t,V,n,i){"begin"===V?t.moveStartPoint(n,i):"end"===V&&t.moveEndPoint(n,i)}function lt(t,V){var n,V,n=i.Bf.Kl(V),V=i.Bf.Jl(V);t.x=c(t.x*n)/n,t.y=c(t.y*V)/V,t.width=r(t.width*n)/n,t.height=r(t.height*V)/V}function gt(t){return t&&t instanceof w.Shape&&t.isTextBox()}function At(t){var t=t.options;return t&&t.textFormatOptions&&t.textFormatOptions.resizeToFitText}function m(t,V,n,i){this.rowViewportIndex=n,this.colViewportIndex=i,this.init(t),this.setHost(V)}function wt(t){var V,n,n,i,e,V=t&&t.shape,n=t&&t.shape2;(pt(V)||pt(n))&&((e=(i=(n=V.JVV)&&n.Mf).Dg()).style.cursor=j.getCursorFromHitTest(t))}function pt(t){return t&&t.ssV}function Y(t){var V=t.shape;if(V&&2===V.ttV){if(V.isSelected&&"border"===t.originalType)return;V=t.shape2}if(pt(V))return V}function vt(t){return t.filter(function(t,V,n){return n.indexOf(t)===V})}function jt(t,V){return t===V||!(!t||!V||t.id!==V.id||t.index!==V.index)}function bt(t){var V,n,i,n=t.startConnector;return jt(t.oldStartConnector,n)||(V=t.service&&n&&n.id?{name:i=t.service.getShapeById(n.id).JVV.name(),index:n.index}:S),delete t.oldStartConnector,V}function Lt(t){var V,n;return jt(t.oldEndConnector,t.endConnector)||(V=t.service&&t.endConnector&&t.endConnector.id?{name:n=t.service.getShapeById(t.endConnector.id).JVV.name(),index:t.endConnector.index}:S),delete t.oldEndConnector,V}function mt(t,V){var n,i,i,n,V,V,n=t.JVV,i=n.Mf.zoom(),i={name:n.name(),offsetX:t.left/i-n.x(),offsetY:t.top/i-n.y(),offsetWidth:t.width/i-n.width(),offsetHeight:t.height/i-n.height()},n=t.ttV;return 1===n?(i.points=Ct(t),V&&(void 0!==(V=bt(t))&&(i.startConnector=V),void 0!==(V=Lt(t)))&&(i.endConnector=V)):2===n&&(i.childrenChanges=Rt(t)),i}function Ct(t,V,n){void 0===V&&(V=0),void 0===n&&(n=0);var i,e=t.JVV.Mf.zoom();return t.getPoints().map(function(t){return{x:(t.x+V)/e,y:(t.y+n)/e}})}function Rt(t,V,n){void 0===V&&(V=0),void 0===n&&(n=0);var i=[];return t.shapes.forEach(function(t){1===t.ttV&&i.push({name:t.JVV.name(),points:Ct(t,V,n)})}),i}function O(t,V){var n,t,n=[],t=mt(t,!0);return(0!==t.offsetX||0!==t.offsetY||0!==t.offsetWidth||0!==t.offsetHeight||t.startConnector||t.endConnector)&&(V&&(t.lineChanges=V.map(function(t){return mt(t)})),n.push(t)),n}function Mt(t){var V,n,V,V=t.JVV,n=V.Mf.zoom(),V={name:V.name(),rotate:t.angle};return 1===t.ttV&&(V.points=t.getPoints().map(function(t){return{x:t.x/n,y:t.y/n}})),V}function It(t,V){var n=[];return n.push(Mt(t)),V&&V.forEach(function(t){n.push(Mt(t))}),n}function _t(t,V,n){var i,t,i=S;return"ZipLine"===t?i=new y.ZipLine(V,n):"Line"===t&&(i=new y.Line(V,n),t=V&&V.points,i.setPoints(t)),i}function Et(t){var V=[];return t.shapes.all().forEach(function(t){t.isSelected()&&V.push(t.ctV)}),V}Object.defineProperty(t,"__esModule",{value:!0}),t.createLine=t.getShouldProcessControlShape=t.Canvas=void 0,i=V("Core"),A=V("./dist/plugins/shape/ui/util.js"),T=V("./dist/plugins/shape/ui/options.js"),y=V("./dist/plugins/shape/ui/lines.js"),R=V("./dist/plugins/shape/ui/shapes.js"),f=V("./dist/plugins/shape/ui/model.js"),h=V("./dist/plugins/shape/shape.interface.js"),N=V("./dist/plugins/shape/ui/pictureShape.js"),P=V("./dist/plugins/shape/ui/cameraShape.js"),D=V("./dist/plugins/shape/ui/formControl.js"),U=V("./dist/plugins/shape/ui/compoundShape.js"),n=V("Common"),q=V("FloatingObject"),o=V("./dist/plugins/shape/ui/shape-alignment.js"),k=V("./dist/plugins/shape/shape.js"),w=V("./dist/plugins/shape/shapeView.js"),M=V("./dist/plugins/shape/geometryService/controlPointService.js"),B=A.Common.extend,I=A.Common.ocV,_=A.Common.arrayPush,Z=A.Common.pointIsInRectangle,p=A.Common.Rh,e=document,H=n.Common.zf.TY,z=n.Common.lt.ht,Q=Math.round,c=Math.floor,r=Math.ceil,E=Math.max,F=Math.min,v=Math.abs,S=null,G=5,J=window.open,s="openUrl",W="openTextEditor",u=q.Drawing.UnitHelper.IsNullOrEmpty,d="Shift",$=K=1,a=A.Common.toRadius,x=A.Common.rotatePoint,l=A.Common.rotateVector,g=A.Common.getOptionValue,tt=["nw-resize","ns-resize","ne-resize","ew-resize","se-resize","ns-resize","sw-resize","ew-resize"],Vt=["topleft","topcenter","topright","middleright","bottomright","bottomcenter","bottomleft","middleleft"],nt=(0,T.getStyle)("default"),m.createShapeModel=function(){var r=new f.ShapeModel;return r.changed=function(t,V,n,i,e){var c;r.CnV||(c=r.getShapeById(t),"options"===V&&c&&delete c.optionsCache,e&&n!==i&&r.onPropertyChangedByFormula&&r.onPropertyChangedByFormula(t,V,n))},r},m.ch=function(t,V){var n,i,n=m.fh=m.fh?m.fh:[];for(V.name=t,V.priority=V.priority||5e3,i=0;;i++)if(i>=n.length||V.priority>n[i].priority){n.splice(i,0,V);break}},m.et=function(t,V,n,i){var e,c,r,e=m.fh;if(e)for(c=0;c<e.length&&((r=e[c][V])&&r.call(t,n),!i||!i());c++);},m.weV=function(t){if(t){var V=t.shape,t=t.shape2;if(t&&t.hyperlink)return t;if(V&&V.hyperlink)return V}return null},m.prototype.init=function(t){var n=this;n.scrollLeft=0,n.scrollTop=0,n.Tb=0,n.ly=0,n.Ab=0,n.my=0,n.model=t||m.createShapeModel(),Object.defineProperty(n,"shapes",{get:function(){return this.model.getShapes()}}),n.mouseDownFn=function(t){var V={e:t,r:S};m.et(n,"preProcessMouseDown",V),V.r||n.doMouseDown(t)},n.mouseMoveFn=function(t){var V={e:t,r:S};m.et(n,"preProcessMouseMove",V),V.r||n.doMouseMove(t)},n.mouseUpFn=function(t){var V={e:t,r:S};m.et(n,"preProcessMouseUp",V),V.r||n.doMouseUp(t)},n.mousewheelFn=function(t){var t={e:t,r:S};m.et(n,"preProcessMouseWheel",t)},n.mouseoutFn=function(t){var V={e:t,r:S};m.et(n,"preProcessMouseOut",V),V.r||n.doMouseOut(t)},n.dblclickFn=function(t){var t={e:t,r:S};m.et(n,"preProcessDbClick",t)},n.keyDownFn=function(t){var V={e:t,r:S};m.et(n,"preProcessKeyDown",V),V.r||n.doKeyDown(t)},n.keyUpFn=function(t){var V={e:t,r:S};m.et(n,"preProcessKeyUp",V),V.r||n.doKeyUp(t)}},m.prototype.setHost=function(t){var V=this,n=V.host;t!==n&&(n&&V.dispose(),V.host=t)&&(V.width=t.width,V.height=t.height,t.addEventListener("mousemove",V.mouseMoveFn),t.addEventListener("mousedown",V.mouseDownFn),t.addEventListener("mouseup",V.mouseUpFn),t.addEventListener("mousewheel",V.mousewheelFn),t.addEventListener("mouseout",V.mouseoutFn),t.addEventListener("dblclick",V.dblclickFn),document.addEventListener("mouseout",V.mouseoutFn),document.addEventListener("keydown",V.keyDownFn),document.addEventListener("keyup",V.keyUpFn),m.et(V,"setHost",t))},m.prototype.dispose=function(){var t=this,V=t.host;V&&(V.removeEventListener("mousedown",t.mouseDownFn),V.removeEventListener("mousemove",t.mouseMoveFn),V.removeEventListener("mouseup",t.mouseUpFn),V.removeEventListener("mousewheel",t.mousewheelFn),V.removeEventListener("mouseout",t.mouseoutFn),V.removeEventListener("dblclick",t.dblclickFn),document.removeEventListener("mouseout",t.mouseoutFn),document.removeEventListener("keydown",t.keyDownFn),document.removeEventListener("keyup",t.keyUpFn),m.et(t,"dispose",V))},m.prototype.getShapeById=function(t){return this.model.getShapeById(t)},m.prototype.getUniqueShapeId=function(t){return this.model.getUniqueShapeId(t)},m.prototype.ensureUniqueShapeId=function(t){return this.model.ensureUniqueShapeId(t)},m.prototype.temporaryMarkIdUsed=function(t){this.model.temporaryMarkIdUsed(t)},m.prototype.clearTemporaryMarkedIds=function(){this.model.clearTemporaryMarkedIds()},m.prototype.createShapeFromPath=function(t,V,n,i,e,c,r){return V=B({},nt,V),this.createShape({path:t,options:V,left:n,top:i,width:e,height:c,angle:r||0})},m.prototype.createLine=function(t,V){var n,i,t,n=this.getModel(),i=S;return"ZipLine"===t?i=new y.ZipLine(V,n):"Line"===t&&(i=new y.Line(V,n),t=V&&V.points,i.setPoints(t)),i},m.prototype.createShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),(0,R.createShape)(t,n)},m.prototype.createPictureShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new N.PictureShapeUI(t,n)},m.prototype.createCameraShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new P.CameraShapeUI(t,n)},m.prototype.createFormControlShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new D.FormControlShapeUI(t,n)},m.prototype.createOtherShapeUI=function(t,V){var n,i,n,i=this.getModel();return(t=t||{}).id||(t.id=i.getUniqueShapeId()),V(t,i)},m.prototype.getModel=function(){return this.model},m.prototype.addShape=function(t,V){var n;this.getModel().addShape(t,V),this.clearTemporaryMarkedIds()},m.prototype.removeShape=function(V,t){var n,i,n,e,c,n=this,i=n.getModel();t||((n=n.getConnectionLines(V))&&n.forEach(function(t){t&&(e=t.endConnector,c=t.startConnector,e&&e.id===V.id&&(V.removeConnectionLine(t.id),t.endConnector=S),c)&&c.id===V.id&&(V.removeConnectionLine(t.id),t.startConnector=S)}),1===V.ttV&&(V.updateStartConnector(S),V.updateEndConnector(S))),i.removeShape(V,t)},m.prototype.indexOf=function(t){return this.getModel().indexOf(t)},m.prototype.getPointer=function(t){var V,n,i,e,V=this,n=it(V.host),i,e;return{x:t.pageX-n.left+V.scrollLeft,y:t.pageY-n.top+V.scrollTop}},m.prototype.getRotatePoint=function(t,V){var n=V.Eot;return x({x:t.x-n.x,y:t.y-n.y},{x:0,y:0},-a(V.angle))},m.prototype.getDelta=function(t,V,n){var i,V,e,t,c,r,i=V.width/2,V=V.height/2,e=t.x,t=t.y,c=0,r=0;return"bottomright"===n?(r=t-V,c=e-i):"topleft"===n?(r=t+V,c=e+i):"topcenter"===n?r=t+V:"bottomcenter"===n?r=t-V:"middleleft"===n?c=e+i:"middleright"===n?c=e-i:"topright"===n?(r=t+V,c=e-i):"bottomleft"===n&&(r=t-V,c=e+i),{x:c,y:r}},m.prototype.hitTest=function(t,V){var n,t;return void 0===V&&(V=!1),t=(n=this).getPointer(t),n.hitTestByPoint(t.x,t.y,V)},m.prototype.hitTestByPoint=function(n,i,e){var c=S;return this.shapes.forEach(function(t){var V,V,V,V=t.JVV;if(V){if(!e&&!et(V))return;if(!V.HiV())return}(V=t.getHitTestBound())&&!Z(V,n,i)||!(V=t.hitTest(n,i))||!V.shape||c&&c.endPoint||(c=V)}),c&&(c.x=n,c.y=i),c},m.prototype.isSheetProtected=function(){var t,V,t,t=this,V=!1;return V=t.shapes&&0<t.shapes.length&&(t=t.shapes[0].JVV)?t.Mf.isActualProtected():V},m.prototype.paintLayerShapes=function(s,d,o,a){var t,h,u,t=this;s.translate(-1,-1),h=t.scrollLeft,u=t.scrollTop,(h||u)&&s.translate(-h,-u),t.shapes.forEach(function(t){var V,n,i,e,c,n,r,V,V,V=t.JVV,n=t.getRenderBound(),i=n.left-h,e=n.top-u,c=n.right-n.left,n=n.bottom-n.top,r=!V||V.HiV(),V=!V||V.canPrint(),V=!o||V;!t.parent&&(t.acV()||d.intersect(i,e,c,n))&&r&&V&&t.render(s,o,a)})},m.prototype.canPaintShape=function(t,V){return!0},m.prototype.paintForPrint=function(t,V){var n,i,e,i,n=this,i=n.width,e=n.height;i<=0||e<=0||(t.save(),i=new A.Rect(n.PnV||0,n.NnV||0,i,e),n.paintLayerShapes(t,i,!0,V),t.restore())},m.prototype.paint=function(t,V){var n=this,i=n.host,e=n.width,c=n.height;!i||e<=0||c<=0||(t=t||i.getContext("2d"),lt(V=V||new A.Rect(0,0,e,c),i),t.save(),t.beginPath(),t.rect(V.x,V.y,V.width,V.height),t.clip(),t.clearRect(V.x,V.y,V.width,V.height),n.paintLayerShapes(t,V),t.restore())},m.prototype.getConnectionPointLocation=function(t,V){var n,i,e,c,r,s,d,o,a,h,u,x,y,f,l,g,A,w;for(t.x=b(t.x),t.y=b(t.y),n=V.getActualCornerPoints(),r=c=e=i=S,n.forEach(function(t){(i===S||t.x<i)&&(i=t.x),(c===S||t.x>c)&&(c=t.x),(e===S||t.y<e)&&(e=t.y),(r===S||t.y>r)&&(r=t.y)}),s=b((i+c)/2),d=b((e+r)/2),a=(o=n[0]).x,h=o.y,u=o.x,x=o.y,A=g=l=f=y=0,w=I(n);A<w;A++)o=n[A],t.x<o.x+2&&t.x<s&&y++,t.y<o.y+2&&t.y<d&&f++,t.x>o.x-2&&t.x>s&&l++,t.y>o.y-2&&t.y>d&&g++,a>o.x&&(a=o.x),h>o.y&&(h=o.y),u<o.x&&(u=o.x),x<o.y&&(x=o.y);return 4===f&&(g=y=l=0),4===y&&(g=f=l=0),{left:y=4===(g=4===l?f=y=0:g)?f=l=0:y,top:f,right:l,bottom:g,x:a,y:h,width:u-a,height:x-h}},m.prototype.layoutConnectionLine=function(t){var V,n,i,i,e,c,n,r,s,n,d,o,s,e,o,n,c,V,a,h,u,x,y,f,l,g,A,e,w,p,v,j,b,L,m,C,R,V=this,n=1,i=t.JVV,i=20*(n=i&&i.Mf?i.Mf.zoom():n);if(t.parent||0===t.angle||t.setAngle(0),(!t.parent||!t.parent.shapes)&&(o=t.startConnector,s=t.endConnector,o||s)){if(o){if(!(e=(n=V.getShapeById(o.id)).getActualConnectorPoints())||0===I(e)||I(e)<=t.startConnector.index)return;e=e[o.index],r=V.getConnectionPointLocation(e,n)}else d=r={x:(e=t.getStartPoint()).x,y:e.y,width:0,height:0};if(n=o=void 0,s){if(!(c=(n=V.getShapeById(s.id)).getActualConnectorPoints())||0===I(c)||I(c)<=t.endConnector.index)return;c=c[s.index],o=V.getConnectionPointLocation(c,n)}else d=o={x:(c=t.getEndPoint()).x,y:c.y,width:0,height:0};s={left:r.x,top:r.y,width:r.width,height:r.height,right:r.x+r.width,bottom:r.y+r.height},V={left:o.x,top:o.y,width:o.width,height:o.height,right:o.x+o.width,bottom:o.y+o.height},n=[e],a=s.top-i,h=s.left-i,u=s.left+s.width+i,x=s.top+s.height+i,y=V.top-i,f=V.left-i,l=V.left+V.width+i,g=V.top+V.height+i,A=e.x,e=e.y,w=c.x,p=c.y,L=b=j=v=void 0,d&&(R=C=m=void 0,R=d===r?(m=o,C=A,V):(m=r,C=w,s),e<p?C>R.right?d.left=2:C<R.left&&(2<=m.right||2<=m.top)?d.right=2:d.bottom=2:C>R.right?2<=m.right||2<=m.top?d.top=2:d.left=2:C<R.left&&(2<=m.right||2<=m.bottom)?d.right=2:d.top=2),w<A?e<p?2<=r.top?(v=F(e-i,a),2<=o.left?(b=F(h,f,w-i),v=F(a,y),_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):2<=o.top?s.left<w&&(v=E(e-i,a),_(n,{x:A,y:v}),b=E(u,l,w+i),_(n,{x:b,y:v}),_(n,{x:b,y:j=(x+y)/2}),_(n,{x:w,y:j})):2<=o.right?(v=E(e-i,a),b=w<s.left?(l+h)/2:E(u,l,w+i),_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):(b=V.right<s.left?(V.right+s.left)/2:F(h,f,w-i),j=p+i,_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:j}),_(n,{x:w,y:j})),1===n.length&&(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=r.right?(b=E(u,A+i),2<=o.right?p<s.bottom?(v=x,L=(s.left+V.right)/2,_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p})):2<=o.left?(v=V.top<s.bottom&&s.top<V.top?F(a,y):(x+y)/2,L=w-i,_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):v=2<=o.bottom?(A<V.right&&(b=E(l,u)),E(g,x)):((V.top<s.bottom&&w<h||V.top<s.bottom&&s.top<V.bottom&&w<s.right&&s.left<w)&&(v=F(a,y),_(n,{x:A+i,y:e}),_(n,{x:A+i,y:v}),_(n,{x:w,y:v}),_(n,{x:w,y:p})),(x+y)/2),1===n.length&&(_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v}))):2<=r.bottom?(v=(e+V.top)/2,2<=o.right?_(n,{x:A,y:p}):2<=o.bottom?(j=p+i,A<V.right?(b=l,_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:j})):_(n,{x:A,y:j}),_(n,{x:w,y:j})):2<=o.left?(s.top<p?v=E(x,g):b=w-i,V.left<A?(_(n,{x:A,y:v=s.bottom<V.top?(s.bottom+V.top)/2:v}),_(n,{x:w-i,y:v}),_(n,{x:w-i,y:p})):(_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:p}))):(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=o.right?(b=(h+l)/2,h<l?(v=Math.max(y,(y+x)/2),b=F(h,A-i),L=w+i,_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p}))):2<=o.left?(b=F(h,f,w-i),V.top<e&&V.right<s.left?(L=f,_(n,{x:b=(s.left+V.right)/2,y:e}),_(n,{x:b,y:y}),_(n,{x:L,y:y}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p}))):2<=o.bottom&&(b=V.right<s.left?(h+l)/2:F(h,f),v=Math.max(p+i,s.bottom),_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v})):2<=r.top?(v=(e+p)/2,2<=o.left?(b=w-i,_(n,{x:A,y:v=e<V.bottom?y:(V.bottom+e)/2}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):2<=o.top?(v=F(p-i,a),A<V.right&&(b=F(f,A-i),_(n,{x:A,y:v=(e+g)/2}),_(n,{x:b,y:v}),_(n,{x:b,y:p-i}),_(n,{x:w,y:p-i}))):2<=o.right&&_(n,{x:A,y:p}),1===n.length&&(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=r.right?(b=E(u,A+i),2<=o.right?(_(n,{x:b,y:e}),e<g&&V.right<s.left?(L=(h+l)/2,_(n,{x:b,y:v=x}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):_(n,{x:b,y:p})):2<=o.left?(v=y,L=w-i,b=E(u,l),_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):(v=2<=o.bottom?V.bottom<s.top?(g+a)/2:x:(b=E(u,l),F(p,s.top)-i),_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v}))):2<=r.bottom?2<=o.right?(b=s.left<V.right?u:(h+l)/2,_(n,{x:A,y:v=x}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):2<=o.bottom?(v=x,s.left<w?(b=h,_(n,{x:A,y:v}),_(n,{x:b,y:v}),s.top<V.bottom?_(n,{x:b,y:p}):(_(n,{x:b,y:j=(g+a)/2}),_(n,{x:w,y:j}))):(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=o.left?(b=F(f,h),v=E(x,g),_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):(b=s.left<V.right?F(h,f):(s.left+V.right)/2,_(n,{x:A,y:e+i}),_(n,{x:b,y:e+i}),_(n,{x:b,y:p-i}),_(n,{x:w,y:p-i})):2<=o.right?(b=(h+l)/2,s.left<V.right?(v=Math.max(y,(y+x)/2),b=F(h,A-i),L=w+i,_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p}))):2<=o.left?(b=F(h,f,w-i),e<V.bottom&&V.right<s.left?(b=(V.right+s.left)/2,L=F(h,f,w-i),_(n,{x:b,y:e}),_(n,{x:b,y:x}),_(n,{x:L,y:x}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p}))):2<=o.bottom?(b=V.right<s.left?(h+l)/2:w-i,v=Math.max(p+i,s.bottom),s.left<w?(_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v})):_(n,{x:w,y:e})):(v=a,_(n,{x:b=f,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v})):e<p?2<=r.top?(v=a,2<=o.left?(b=s.right<V.left?(u+f)/2:h,_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):2<=o.top?w<u&&(_(n,{x:A,y:v}),_(n,{x:b=u,y:v}),_(n,{x:b,y:j=(x+y)/2}),_(n,{x:w,y:j})):2<=o.right?(v=F(y,a),b=E(u,w+i),_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):(b=u<f?(u+f)/2:l,j=p+i,_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:j}),_(n,{x:w,y:j})),1===n.length&&(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=r.right?(b=E(u,l),2<=o.right?V.top<e&&s.right<V.left?(v=g,L=l,_(n,{x:b=(u+f)/2,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p})):2<=o.left?(_(n,{x:b=(A+w)/2,y:e}),_(n,{x:b,y:p})):2<=o.bottom?(v=g,_(n,{x:b=s.right<V.left?(u+f)/2:l,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v})):_(n,{x:w,y:e})):2<=r.bottom?2<=o.right?(b=l,_(n,{x:A,y:v=s.bottom<V.top?(x+y)/2:g}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):2<=o.bottom?(v=g,V.left<A?(b=F(h,f),v=s.bottom<V.top?(s.bottom+V.top)/2:(V.bottom+s.top)/2,j=E(g,x),_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:j}),_(n,{x:w,y:j})):(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=o.left?_(n,{x:A,y:p}):(_(n,{x:A,y:v=(e+p)/2}),_(n,{x:w,y:v})):(b=h,2<=o.right?(v=s.bottom<V.top?(x+y)/2:g,L=l,_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):2<=o.left?(L=(s.right+V.left)/2,s.right<V.left&&p<s.bottom?(_(n,{x:b,y:e}),_(n,{x:b,y:x}),_(n,{x:L,y:x}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p}))):(2<=o.bottom?(v=E(x,g),b=F(h,f)):v=s.bottom<V.top?(x+y)/2:a,_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v}))):2<=r.top?(2<=o.left?_(n,{x:A,y:p}):2<=o.top?(v=y,V.left<A&&(_(n,{x:A,y:v=(g+a)/2}),_(n,{x:h,y:v}),_(n,{x:h,y:p-i}),_(n,{x:w,y:p-i}))):2<=o.right?(b=l,_(n,{x:A,y:v=V.bottom<s.top?(g+a)/2:y}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):v=(e+p)/2,1===n.length&&(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=r.right?(b=l,2<=o.right?e<g&&s.right<V.left?(v=y,L=l,_(n,{x:b=(f+u)/2,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p})):2<=o.left?(_(n,{x:b=(A+w)/2,y:e}),_(n,{x:b,y:p})):2<=o.bottom?_(n,{x:w,y:e}):(v=F(a,y),_(n,{x:b=s.right<V.left?(f+u)/2:l,y:e}),_(n,{x:b,y:v}),_(n,{x:w,y:v}))):2<=r.bottom?2<=o.right?(v=E(x,g),b=E(u,l),_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):2<=o.bottom?(v=x,V.left<A?(b=F(h,f),j=s.bottom<V.top?(s.bottom+V.top)/2:(V.bottom+s.top)/2,_(n,{x:A,y:v}),_(n,{x:b,y:v}),_(n,{x:b,y:j}),_(n,{x:w,y:j})):(_(n,{x:A,y:v}),_(n,{x:w,y:v}))):2<=o.left?(b=s.right<V.left?(f+u)/2:h,_(n,{x:A,y:v=x}),_(n,{x:b,y:v}),_(n,{x:b,y:p})):(b=s.right<V.left?(f+u)/2:l,j=y,_(n,{x:A,y:v=x}),_(n,{x:b,y:v}),_(n,{x:b,y:j}),_(n,{x:w,y:j})):2<=o.right?(b=h,L=l,v=V.bottom<s.top?(s.top+V.bottom)/2:F(a,y),_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):2<=o.left?(b=h,s.right<V.left&&s.top<p?(L=(u+f)/2,v=a,_(n,{x:b,y:e}),_(n,{x:b,y:v}),_(n,{x:L,y:v}),_(n,{x:L,y:p})):(_(n,{x:b,y:e}),_(n,{x:b,y:p}))):(2<=o.bottom?(v=V.bottom<s.top?(b=h,(p+s.top)/2):(b=F(h,f),E(x,g)),_(n,{x:b,y:e})):(v=y,_(n,{x:b=h,y:e})),_(n,{x:b,y:v}),_(n,{x:w,y:v})),1===n.length&&_(n,{x:w,y:e}),_(n,c),t.setPoints(n)}},m.prototype.moveStraightLineByDelta=function(t,n,i){var V=t.getPoints().map(function(t){var V=t.x,t=t.y;return{x:V+n,y:t+i}});t.setPoints(V)},m.prototype.updateConnectionLinesLayout=function(t,d,o,a){var h,V,u,x;void 0===a&&(a=!1),(V=(h=this).getConnectionLines(t))&&(u=t.getActualConnectorPoints(),x=t.id,V.forEach(function(t){var V,n,i,e,c,n,r,s,r,n,i,n,i,s,r;if(t){if(n=t.startConnector&&0<=t.startConnector.index&&t.startConnector.id===x,i=t.endConnector&&0<=t.endConnector.index&&t.endConnector.id===x,e=d&&n,c=d&&i,t instanceof y.Line)return t.parent&&t.parent.shapes?void 0:(n&&(V=u[t.startConnector.index],t.endConnector||a?t.moveStartPoint(V.x,V.y):(n=t.x1,r=t.y1,s=V.x-n,r=V.y-r,h.moveStraightLineByDelta(t,s,r))),void(i&&(V=u[t.endConnector.index],t.startConnector||a?t.moveEndPoint(V.x,V.y):(n=t.x2,i=t.y2,s=V.x-n,r=V.y-i,h.moveStraightLineByDelta(t,s,r)))));!d||t.startConnector||t.endConnector?d?(n=h.scV,s=!(i=void 0,f.findShapeInCollectionById)(n,t.id),(r=t.startConnector)&&(i=r.id,x===i||(0,f.findShapeInCollectionById)(n,i)||(h.layoutConnectionLine(t),s=!1)),(r=t.endConnector)&&(i=r.id,x===i||(0,f.findShapeInCollectionById)(n,i)||(h.layoutConnectionLine(t),s=!1)),s&&o&&-1===o.indexOf(t)&&o.push(t)):h.layoutConnectionLine(t):e?(V=u[t.startConnector.index],t.moveStartPoint(V.x,V.y)):c&&(V=u[t.endConnector.index],t.moveEndPoint(V.x,V.y))}})),t.shapes&&t.shapes.forEach(function(t){h.updateConnectionLinesLayout(t,d,o)})},m.prototype.getConnectionLines=function(t){var V,t,V=this;return 1!==t.ttV&&(t=t.connectionLines)?t.map(function(t){return V.getShapeById(t)}):[]},m.prototype.getContainerAt=function(t,V,n){var i,e,c,i=this,e=n.parent;if(e&&e.isContainer&&e.left<=t&&t<e.left+e.width&&e.top<=V&&V<e.top+e.height)return e;for(c=0;c<i.shapes.length;c++)if((e=i.shapes[c])!==n&&e.isContainer&&e.left<=t&&t<e.left+e.width&&e.top<=V&&V<e.top+e.height)return e;return S},m.prototype.moveShapes=function(t,V,n){var i,t,e,c,r,s,d,d,i=this;V&&0<V.length&&(t=i.getPointer(t),e=t.x-i.activeX,c=t.y-i.activeY,e||c)&&(r=[],s=V.map(function(t){return t.id}),(d=i.hcV(V[0]))&&d.getSnapMode()!==h.SnapMode.none&&(d=i.getSnapMoveOffset({shape:n,pos:t.x,allShapes:V},{shape:n,pos:t.y,allShapes:V}),e=d.x,c=d.y),V.forEach(function(t){i.moveShape(t,e,c,s,r)}),r.length&&r.forEach(function(t){t.move(t.left+e,t.top+c)}),i.activeX=t.x,i.activeY=t.y)},m.prototype.hcV=function(t){return t.JVV&&t.JVV.Mf.shapes},m.prototype.getSnapMoveOffset=function(t,V){var n,i,e,c,r,s,d,n=this,i=0,e=0,c=(0,R.getActualBound)(t.shape),r=(0,R.getActualBound)(V.shape),s=t.pos-n.pointerInfo.lastStartMoveX,d=V.pos-n.pointerInfo.lastStartMoveY;return 0<s&&t.pos>=c.left+n.pointerInfo.mouseDownOffsetX||s<0&&t.pos<=c.left+n.pointerInfo.mouseDownOffsetX?0!==(i=(0,o.getShapeMoveOffset)({moveShapes:t.allShapes,offset:s,direction:0}))&&(n.pointerInfo.lastStartMoveX=t.pos):(n.pointerInfo.lastStartMoveX=t.pos,i=0),0<d&&V.pos>=r.top+n.pointerInfo.mouseDownOffsetY||d<0&&V.pos<=r.top+n.pointerInfo.mouseDownOffsetY?0!==(e=(0,o.getShapeMoveOffset)({moveShapes:V.allShapes,offset:d,direction:1}))&&(n.pointerInfo.lastStartMoveY=V.pos):(n.pointerInfo.lastStartMoveY=V.pos,e=0),{x:i,y:e}},m.prototype.moveShape=function(t,V,n,i,e,c){var r,s;void 0===c&&(c=!1),r=this,!t||t.JVV&&!t.JVV.allowMove()||(t.move(t.left+V,t.top+n),t.updateCenterData(),t.endConnector&&"callout"!==t.type&&(s=r.getShapeById(t.endConnector.id),r.disConnectLine(s,t,!1)),t.startConnector&&(s=r.getShapeById(t.startConnector.id),r.disConnectLine(s,t)),r.updateConnectionLinesLayout(t,!0,e,c))},m.prototype.disConnectLine=function(t,V,n){void 0===n&&(n=!0),t&&(n?V.oldStartConnector=V.startConnector:V.oldEndConnector=V.endConnector,t.removeConnectionLine(V.id)),n?V.startConnector=S:V.endConnector=S},m.prototype.resizeShapes=function(t,n,i){var e,V,c,r,s,c,d,o,a,c,e=this,V=e.hitTestResult;V.endPoint?(c=dt(V.shape,i),e.resizeShape(V.shape,n,"",c)):V.sizeRect&&(r=V.sizeRect.type,s=V.shape,c=e.getDelta(e.getRotatePoint(n,s),s,r),d=c.x,o=c.y,V.shape&&1!==V.shape.ttV&&(a=e.hcV(V.shape)).getSnapMode()!==h.SnapMode.none&&(c=e.getSnapResizeDelt(t,V.shape,n.x,n.y,r,(0,k.getAvailableAngle)(s.angle)),d=c.x,o=c.y),t.forEach(function(t){var V;t.isResizing||(t.isResizing=!0),1!==t.ttV&&(V=dt(t,i),t===s?e.resizeShape(t,n,r,V,d,o):e.resizeNonActiveShape(s,t,n,r,V))})),e.activeX=n.x,e.activeY=n.y},m.prototype.resizeNonActiveShape=function(t,V,n,i,e){var c,r,s,t,s,c=this,r=V.resizeInfo,s={x:n.x-c.activeX,y:n.y-c.activeY};0!==t.angle&&(s=l(s,-a(t.angle))),0!==V.angle&&(s=l(s,a(V.angle))),(t=r.relativePoint).x+=s.x*r.ratioX,t.y+=s.y*r.ratioY,(s=c.getDelta(c.getRotatePoint(t,V),V,i)).x=b(s.x),s.y=b(s.y),c.resizeShape(V,n,i,e,s.x,s.y)},m.prototype.resizeShape=function(t,V,n,i,e,c){var r,s,d,o,a,r=this;t&&(s=r.hitTestResult,t.JVV&&!X(t.JVV)||(s.endPoint?((d=r.hcV(t))&&d.getSnapMode()!==h.SnapMode.none&&(V=this.getSnapResizeResult([t],V.x,V.y)),r.ucV(V.x,V.y)||(V=at(t,i,s.endPoint,V)),ft(t,s.endPoint,V.x,V.y),"end"===s.endPoint&&t.endConnector&&(o=r.getShapeById(t.endConnector.id),r.disConnectLine(o,t,!1)),"begin"===s.endPoint&&t.startConnector&&(o=r.getShapeById(t.startConnector.id),r.disConnectLine(o,t)),r.layoutConnectionLine(t)):s.sizeRect&&(r.xcV(t,e,c,n,i),r.updateConnectionLinesLayout(t),t.JVV)&&((a=t.JVV).ytV.rtV=!1),t.updateCenterData()),t.resetPathOffset())},m.prototype.ycV=function(t){var V,n,V=this,n=V.hitTestResult;n&&n.shape&&(V.resizeShapes(V.scV,{x:V.activeX,y:V.activeY},t),V.paint())},m.prototype.xcV=function(t,V,n,i,e){"bottomright"===i?L(t,e,V,n,!1,!1):"topleft"===i?L(t,e,-V,-n,!0,!0):"topcenter"===i?ht(t,e,-n,!0):"bottomcenter"===i?ht(t,e,n,!1):"middleleft"===i?ut(t,e,-V,!0):"middleright"===i?ut(t,e,V,!1):"topright"===i?L(t,e,V,-n,!0,!1):"bottomleft"===i&&L(t,e,-V,n,!1,!0)},m.prototype.getSnapRotatePoint=function(t,V,n,i){var e,c,e=this,c=V.Eot;switch(n){case"topleft":case"topright":case"bottomleft":case"bottomright":return e.getRotatePoint(t,V);case"topcenter":case"bottomcenter":return 90===i||270===i?{x:t.x,y:-(t.x-c.x)/Math.sin(a(V.angle))}:{x:t.x,y:(t.y-c.y)/Math.cos(a(V.angle))};case"middleleft":case"middleright":return 90===i||270===i?{x:(t.y-c.y)/Math.sin(a(V.angle)),y:t.y}:{x:(t.x-c.x)/Math.cos(a(V.angle)),y:t.y}}},m.prototype.getSnapResizeResult=function(t,V,n){var i,n,i,n={targetShapes:t,direction:1,pointerPos:n};return{x:(0,o.getResizeTarget)({targetShapes:t,direction:0,pointerPos:V}),y:(0,o.getResizeTarget)(n)}},m.prototype.getSnapResizeDelt=function(t,V,n,i,e,c){var r,t;return void 0===c&&(c=0),t=(r=this).getSnapResizeResult(t,n,i),r.getDelta(r.getSnapRotatePoint(t,V,e,c),V,e)},m.prototype.rotateShapes=function(t){var V,n,i,e,c,V=this,n=V.rotateShape(t),i=V.scV.length;if(V.scV&&1<i)for(c=0;c<i;c++)1!==(e=V.scV[c]).ttV&&e.JVV&&e.JVV.allowRotate()&&e.setAngle(n)},m.prototype.rotateShape=function(t){var V,t,n,i,e,e,c,e,c,e,r,e,c,V=this,t=V.getPointer(t),n,i=V.hitTestResult.shape;return i&&i.JVV&&i.JVV.allowRotate()&&(e=g(i.width,i),c=g(i.height,i),c=(e=i.getCenterPoint(e,c)).x,e=e.y,r=Math.atan2(V.activeY-e,V.activeX-c),e=Math.atan2(t.y-e,t.x-c),e=c=(c=i.angle+180*(e-r)/Math.PI)<0?360+c:c,i.setAngle(c%360),V.updateConnectionLinesLayout(i)),V.activeX=t.x,V.activeY=t.y,e},m.prototype.changeVariablePoint=function(t){var V,t,n,i,V=this,t=V.getPointer(t),n=V.hitTestResult,i=n.shape;i&&i.changeVariablePoint&&(i.changeVariablePoint(t,n),V.updateConnectionLinesLayout(i),V.paint()),V.activeX=t.x,V.activeY=t.y},m.prototype.setSelect=function(t,V,n){var i,e;t&&((i=t.JVV)&&(e=i.isSelected(),n=n&&e!==V,i.ni=V,n)&&(i.enV("isSelected",e),i.ZiV()),t.isSelected=V)},m.prototype.group=function(t){var V,n,V=this;return t&&1<I(t)?((n=new U.CompoundShape(t,{})).id=V.getUniqueShapeId(),V.addShape(n),t.forEach(function(t){V.setSelect(t,!1),t.parent=n}),n):S},m.prototype.ungroup=function(n){var i;n&&n.isCompoundShape&&(i=this,n.shapes.forEach(function(t){var V=x({x:t.left-n.left,y:t.top-n.top},{x:0,y:0},a(n.angle));t.left=n.left+V.x,t.top=n.top+V.y,t.angle+=n.angle,t.resetPathOffset(),t.isCompoundShape&&t.layoutChildren(),t.parent=S,i.addShape(t)}),n.shapes.splice(0,n.shapes.length),i.removeShape(n))},m.getCursorFromHitLinkedTest=function(t,V,n){var i,e,c,t;return t&&(i=t.shape,e=t.type,c=i.JVV,i)&&(!(t=m.weV(t))||!t.hyperlink||u(t.hyperlink.url)&&u(t.hyperlink.command)||!t.JVV||i.JVV.ni?0!==V.length||n||(gt(c)&&(!c.isSelected||c.isSelected&&"select"===e)?V="text":("rotate"!==e||"rotate"===e&&c&&c.allowRotate())&&(V="move")):V="pointer"),V},m.getCursorFromHitTest=function(t){var V,n,i,e,i,e,e,i,c,V="";return t&&(n=t.shape,(i=t.sizeRect)&&(e=n.angle,i=((i=Vt.indexOf(i.type))+Q(e/45))%8,e=!0,n&&n.JVV&&!1===n.JVV.allowResize()&&(e=!1),0<=i)&&e&&(V=tt[i]),("rotate"===t.type&&n.JVV&&!0===n.JVV.allowRotate()||t.endPoint||"variablePoint"===t.type)&&(V="crosshair"),i=(e=Y(t))&&e.getCursor(t),V=(c=m.getCursorFromHitLinkedTest(t,V=i?i:V,!1))||V),V},m.prototype.getMoveShapesChanges=function(t,n){var i=[];return t.forEach(function(t){var V;t&&t.JVV&&O(t,n).forEach(function(t){i.push(t)})}),i},m.prototype.createShapeAlignChanges=function(t,V,n,i){var e,c,r,s,e=this,c=t.JVV.Mf.zoom(),r={name:t.JVV.name(),offsetX:n/c,offsetY:i/c,offsetWidth:0,offsetHeight:0},s;return 1===t.ttV?(r.points=Ct(t,n,i),-1!==V.indexOf(t)&&(r.startConnector=S,r.endConnector=S)):(r.lineChanges=[],e.getConnectionLines(t).forEach(function(t){-1===V.indexOf(t)&&r.lineChanges.push(e.createShapeAlignChanges(t,V,n,i))})),r},m.prototype.doMouseMove=function(t){var c,r,V,n,i,e,s,s,d,o,a,h,u,x,y,f,l,e,s,e,g,s,e,c=this,r=c.hitTestResult;r?(V=Y(r))&&V.onMouseMove(t,c)||(n=c.getPointer(t),"rotate"===r.type?c.rotateShapes(t):r.sizeRect||r.endPoint?(r.endPoint&&(i=S,c.shapes.forEach(function(t){if(1!==t.ttV){var t=t.hitTest(n.x,n.y);if(t&&t.shape&&t.shape!==r.shape)return i=t,!1}}),e=c.connectTarget,c.connectTarget=S,i&&(s=i.shape2||i.shape,(c.connectTarget=s).showConnectors=!0),e)&&c.connectTarget!==e&&(e.showConnectors=!1),c.resizeShapes(c.scV,n,t.shiftKey)):r.variableRect?c.changeVariablePoint(t):(s=5<v(c.activeX-n.x)||5<v(c.activeY-n.y),!c.t_&&t.ctrlKey?s&&(d=[],o=[],a=[],h=[],c.scV)&&c.scV.length&&(c.scV.forEach(function(t){var V,n,i,e,V=t.JVV;V&&(e=i=n=void 0,i={sheet:V.Mf,isCutting:!1,shape:V,drawingData:null},w.ShapeBase.et(V,"ShapeCopingOrCutting",i),i.drawingData&&(e={name:V.name(),toSheetName:V.Mf.name(),fromSheetName:V.Mf.name(),sheet:V.Mf,shape:null,drawingData:i.drawingData,isCutting:!1},w.ShapeBase.et({},"FormControlShapePasting",e),e.shape)&&(e.shape.fromJSON(JSON.parse(JSON.stringify(V.toJSON()))),e.shape.tnV()),n=e&&e.shape||V.Gf(),c.setSelect(n.ctV,!0),c.setSelect(V.ctV,!1),e&&e.shape||V.Mf.shapes.ZP(n),t===r.shape&&(r.shape=n.ctV),d.push(V),a.push(n),o.push(n.ctV),4===n.ttV&&(u=n.startConnector(),x=n.endConnector(),u||x)&&h.push(n),3===n.ttV)&&(h=h.concat((0,A.getLineShapeInGroup)(n)))}),y=(0,A.getShapeNameList)(d),f=(0,A.getShapeNameList)(a),h&&h.length&&h.forEach(function(t){u=t.startConnector(),x=t.endConnector(),u&&(l=p(u.name,y),u=-1<l?{name:f[l],index:u.index}:-1<p(u.name,f)?{name:u.name,index:u.index}:null,t.startConnector(u)),x&&(l=p(x.name,y),x=-1<l?{name:f[l],index:x.index}:-1<p(x.name,f)?{name:x.name,index:x.index}:null,t.endConnector(x))}),c.t_=!0,c.scV=o,c.fcV=d):c.lcV&&c.moveShapes(t,c.scV,r.shape)),(e=(s=(e=r.shape)&&e.JVV)&&s.Mf)?e.cnV():c.paint()):c.hitTestResultInProtectedMode?(V=Y(g=c.hitTestResultInProtectedMode))&&V.onMouseMove(t,c):(s=c.host,e=c.hitTest(t),c.nsV(e,t),s.style.cursor=m.getCursorFromHitTest(e))},m.prototype.doMouseDown=function(t){var V,n,i,e,c,r,s,s,d,s,s,o,a,s,h,V=this,n=V.getPointer(t);if(V.activeX=n.x,V.activeY=n.y,i=V.hitTest(t),e=V.hitTest(t,!0),c=i?i.shape:S){if((r=Y(i))&&r.onMouseDown(t,V))return V.hitTestResult=i,void(V.hitTestAnyway=e);s=(0,R.getActualBound)(c),V.pointerInfo={mouseDownOffsetX:n.x-s.left,mouseDownOffsetY:n.y-s.top,lastStartMoveX:n.x,lastStartMoveY:n.y},s=c.isSelected,c.gcV=s,V.AcV=V.activeX,V.wcV=V.activeY,s||(d=m.weV(i),(0,R.needProcessHyperlink)(d)&&!t.ctrlKey&&2!==t.button?V.processHyperlink(d):(t.shiftKey||t.ctrlKey||V.shapes.forEach(function(t){t!==c&&V.setSelect(t,!1,!0)}),V.setSelect(c,!0,!0),V.onShapeSelected&&V.onShapeSelected()),!d)||2!==t.button||!d.hyperlink||u(d.hyperlink.url)&&u(d.hyperlink.command)||((o=(s=(s=d.JVV)&&s.Mf).Dg()).style.cursor="move",u(d.hyperlink.tooltip))||s.parent.iy()}else if(V.isSheetProtected()&&(a=e?e.shape:S)&&((d=m.weV(e))&&d.hyperlink&&2!==t.button&&V.processHyperlink(d),r=Y(e))&&r.onMouseDown(t,V))return V.hitTestResultInProtectedMode=e,void(V.hitTestAnyway=e);2!==t.button&&(V.hitTestResult=i),V.hitTestAnyway=e,V.scV=V.shapes.filter(function(t){return t.isSelected}),c&&c.isSelected&&(V.lcV=!0),s=c&&c.JVV,c&&!1===c.gcV&&!0===c.isSelected&&!t.ctrlKey&&gt(s)&&(V.lcV=!1),i&&(i.endPoint?st(c):i.sizeRect&&(h=V.getDelta(V.getRotatePoint(n,c),c,i.sizeRect.type),V.scV.forEach(function(t){rt(t,i.sizeRect.type,c,h)}))),wt(i),V.paint()},m.prototype.doMouseUp=function(t){var n,V,i,e,c,r,s,d,o,a,h,u,x,y,f,l,g,A,w,l,p,v,j,b,L,j,m,b,y,C,n=this,e=n.hitTestResult;if(e&&e.shape){if(r=e.shape,s=vt(s=n.getConnectionLines(r)),o=(d=r.JVV)&&d.name(),a=(V=d&&d.Mf)&&V.name(),h=V&&V.Qy(),(u=Y(e))&&u.onMouseUp(t,n))return n.hitTestResult=S,void(n.lcV=!1);if("rotate"===e.type)n.setSelect(r,!0),d&&d.allowRotate()&&(x=[],n.scV.forEach(function(t){t&&t.JVV&&(i=It(t,s)).forEach(function(t){x.push(t)})}),h.execute({cmd:"rotateShapes",sheetName:a,changes:x}));else if(e.variableRect&&d)y=r.getAdjustChanges(),f=d.Mf.zoom(),y&&1===r.ttV&&y.points&&0<y.points.length&&(y.points=y.points.map(function(t){return{x:t.x/f,y:t.y/f}})),y&&(l=void 0,g={},1===r.ttV?l="updateConnectShapePoints":(l="updateShapes",y.values=[[M.ADJUSTMENTS,y.values]],y.oldValues=[[M.ADJUSTMENTS,y.oldValues]]),g[o]=y,h.execute({cmd:l,sheetName:a,shapes:[o],values:g}));else if(e.sizeRect)d&&X(d)&&(A=[],w="bottomcenter"===e.sizeRect.type||"topcenter"===e.sizeRect.type,n.scV.forEach(function(t){t&&t.JVV&&(t.isResizing=!1,(i=O(t,s)).forEach(function(t){!w&&At(r)&&(t.offsetHeight=0),A.push(t)}))}),h.execute({cmd:"resizeShapes",sheetName:a,changes:A}));else if(e.sizeRect||e.endPoint||e.variableRect||n.AcV===n.activeX&&n.wcV===n.activeY)if("move"===e.type&&e.endPoint){for(v=0;v<n.shapes.length;v++)if((j=n.shapes[v])!==e.shape&&(c=n.getPointer(t),b=j.hitTest(c.x,c.y))&&b.shape===j&&"connectPoint"===b.type){L=e.shape,m=(j=b.shape2||j).id,b=b.index,"end"===e.endPoint?L.endConnector={id:m,index:b}:L.startConnector={id:m,index:b},j.addConnectionLine(L.id),n.layoutConnectionLine(L);break}d&&X(d)&&h.execute({cmd:"resizeShapes",sheetName:a,changes:O(r,s)})}else(t.shiftKey||t.ctrlKey)&&e.shape.gcV&&n.setSelect(e.shape,!1,!0),c=n.getPointer(t),y=n.getContainerAt(c.x,c.y,r),r!==y&&y!==r.parent?(r.parent&&r.parent.removeShape(r,!0),y?(y.addShape(r,c),y.resetPathOffset(),r.parent.recalcChildren()):n.addShape(r)):r.parent&&r.parent.isContainer&&(r.parent.childMoved(r,c),r.parent.recalcChildren()),(0,R.needProcessHyperlink)(r)||"mouseup"!==t.type||t.shiftKey||t.ctrlKey||"select"!==e.type||!gt(d)||(n.jrV(r),h.execute({cmd:W,sheetName:a,shapeName:o}));else d&&d.allowMove()&&!n.t_?(l=n.getMoveShapesChanges(n.scV,s),h.execute({cmd:"moveShapes",sheetName:a,changes:l})):d&&d.allowMove()&&n.t_&&(p=[],n.scV.forEach(function(t,V){t&&t.JVV&&(i=O(t,s)).forEach(function(t){p.push({oldShapeName:n.fcV[V].name(),name:t.name,offsetX:t.offsetX,offsetY:t.offsetY})})}),h.execute({cmd:"dragCopyShapes",sheetName:a,changes:p}),n.t_=!1,delete n.fcV);n.veV(r,V),wt(e)}else if(n.hitTestResultInProtectedMode&&(u=Y(C=n.hitTestResultInProtectedMode))&&u.onMouseUp(t,n))return n.hitTestResultInProtectedMode=S,void(n.lcV=!1);n.connectTarget&&(n.connectTarget.showConnectors=!1),n.hitTestResult=S,delete n.scV,n.lcV=!1,V?V.cnV():n.paint()},m.prototype.doMouseOut=function(t){this.doMouseUp(t),this.nsV(S,t),this.hitTestResult=S},m.prototype.doKeyDown=function(t){t.key===d&&this.ycV(!0)},m.prototype.doKeyUp=function(t){t.key===d&&this.ycV(!1)},m.prototype.processHyperlink=function(t){var V,t,t,n,i,V=t.hyperlink,t=t.JVV;t&&(n=(t=t.Mf)&&t.Qy(),i=V.command,u(i)||i===s?u(V.url)||(n?t.getParent().commandManager().execute({cmd:s,sheetName:t.name(),url:V.url,target:V.target||0}):J(H(V.url),["_blank","_self","_parent","_top"][V.target])):"string"==typeof i?t.getParent().commandManager().execute({cmd:i,sheetName:t.name()}):"function"==typeof i&&i.call(S,t))},m.prototype.nsV=function(t,V){var n,t,n=this,t=t&&Y(t);t!==n.dsV&&(n.dsV&&n.dsV.onMouseLeave(V,n),t&&t.onMouseEnter(V,n),n.dsV=t)},m.prototype.veV=function(t,V){var t,V;t.JVV&&(t=Et(V),V=R.ShapeTextEditor.getInstance(),t)&&1===t.length&&!V.isOpened&&0===t[0].ttV&&V.initEditor(t[0].JVV)},m.prototype.ucV=function(t,V){var n,n,n=this.connectTarget;return!!n&&(n=n.hitTest(t,V))&&"connectPoint"===n.type},m.prototype.jrV=function(t){var V,n,i,e,V=this,n=V.model.getShapes(),i=t.JVV.Mf;for(i.suspendPaint(),e=0;e<n.length;e++)n[e]!==t&&V.setSelect(n[e],!1,!0);i.resumePaint()},j=m,t.Canvas=j,t.getShouldProcessControlShape=Y,t.createLine=_t},"./dist/plugins/shape/ui/compoundShape.js":function(t,V,n){var i,e,a,r,h,s,c,d,o,u,x,y,f,l,g,A,w,p,v;function j(t){var n,i,e,c;return t.forEach(function(t,V){0===V&&(n=e=t.x,i=c=t.y),n=x(t.x,n),e=y(t.x,e),i=x(t.y,i),c=y(t.y,c)}),{left:n,top:i,right:e,bottom:c}}function b(t,V,n){var i,e,c,r,s,d,o;if(t&&t.length){if(c=(e=(!0===n?(0,a.getActualBound):L)((i=function(t){return t instanceof h.ShapeBase?t.ctV:t})(t[0]),V)).left,r=e.right,s=e.top,d=e.bottom,1!==t.length)for(o=1;o<t.length;o++)(e=(!0===n?(0,a.getActualBound):L)(i(t[o]),V)).left<c&&(c=e.left),e.top<s&&(s=e.top),e.right>r&&(r=e.right),e.bottom>d&&(d=e.bottom);return{left:c,top:s,right:r,bottom:d}}return{left:0,top:0,right:0,bottom:0}}function L(t,V){return 1===t.ttV?j(t.getPoints()):(0,a.getActualBound)(t,V)}function m(t,V){var n,i,V,t,e,c,V,n=v.call(this)||this,i=n;return i.shapes=t,i.options=V,i.id=V.id,i.isCompoundShape=!0,i.ttV=2,t&&(t=(V=b(t,!0)).left,e=V.top,c=V.right,V=V.bottom,i.left=t,i.top=e,i.width=c-t,i.height=V-e,i.shapes.forEach(function(t){t.parent=i}),i.updateRelativeLocationAndSize(),i.path=[new r.Path]),n}i=this&&this.__extends||(p=function(t,V){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}p(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CompoundShape=V.getBoundForHoldShapes=V.getLineShapeBoundByPoints=void 0,e=n("./dist/plugins/shape/ui/util.js"),a=n("./dist/plugins/shape/ui/shapes.js"),r=n("./dist/plugins/shape/ui/path.js"),h=n("./dist/plugins/shape/shapeView.js"),s=e.Common.defineProperty,c=e.Common.Array_remove,d=e.Common.rotateBound,o=e.Common.calculateBoundByRects,u=a.ShapeUI.prototype,x=Math.min,y=Math.max,f=Math.cos,l=Math.sin,g=null,A=void 0,V.getLineShapeBoundByPoints=j,V.getBoundForHoldShapes=b,v=a.ShapeUI,i(m,v),m.prototype.setBounds=function(){},m.prototype.setService=function(t){var n,V,i,e,c,r,r,n=this;n.service!==t&&(e=i=V=void 0,n.service&&(r=n.id,V=n.service.getOptions(r,!0),i=n.getGeoProperties(),e=n.connectionLines,c=n.parent,n.service.calcSource_.removeObject(r),n.service=g,n.model={},n.options=V,n.setGeoProperties(i),n.connectionLines=e,n.parent=c),t)&&(t.setValue(n.id,"isCompoundShape",!0),V=n.options,i=n.getGeoProperties(),e=n.connectionLines,c=n.parent,n.service=t,(r=Object.getOwnPropertyDescriptor(n,"options"))&&r.get||(a.ShapeProperties.forEach(function(V){s(n,V,{get:function(){var t=n.service;return t?t.getValue(n.id,V):n.model[V]},set:function(t){(0,a.setShapeProperty)(n,n.id,V,t)}})}),s(n,"options",{get:function(){var t,t,t=n.service;return t?(t=t.getOptions(n.id),n.optionsCache=(0,a.composite)({},t)):n.model.options},set:function(t){var V=n.service;V?V.setOptions(n.id,t):n.model.options=t}}),s(n,"connectionLines",{get:function(){var t=n.service;return t?t.getConnectionLines(n.id):n.model.connectionLines},set:function(t){var V=n.service;V?V.setConnectionLines(n.id,t):n.model.connectionLines=t}}),s(n,"parent",{get:function(){var t=n.service;return t?t.getShapeById(t.getValue(n.id,"parentId")):n.model.parentId},set:function(t){var V=n.service;V?V.setValueOrFormula(n.id,"parentId",t?t.id:void 0):n.model.parentId=t?t.id:void 0}})),n.setGeoProperties(i),n.connectionLines=e,n.parent=c,n.options=V||{}),n.setBounds()},m.prototype.zIndex=function(t,V,n){var i,e=this.shapes;e.splice(t,1),e.splice(V,0,n)},m.prototype.getZIndex=function(t){return this.shapes.indexOf(t)},m.prototype.render=function(i,e){var t,V,n,c,r,s,V,t=this,V=t.shapes,n=t.left,c=t.top,r=t.width,s=t.height;V&&0!==V.length&&(i.save(),t.transform(i,t.getCenterPoint(r,s)),i.translate(-n-r/2,-c-s/2),V.forEach(function(t){var V,n,V=t.JVV,n;V&&!V.HiV()||t.render(i,e)}),i.translate(n+r/2,c+s/2),(V=t.JVV)&&!V.showHandle()||t.paintSelection(i,n,c,r,s),i.restore())},m.prototype.setAngle=function(t){var V=this,n,i=t-V.angle;u.setAngle.call(V,t),V.shapes.forEach(function(t){var V=(t.angle+i)%360;V<0&&(V+=360),t.JVV&&1!==t.ttV&&(t.JVV.ytV.Rotation=V),t.setAngle(V)}),V.layoutChildren()},m.prototype.move=function(t,V,n){var i=this;u.move.call(i,t,V,n),i.layoutChildren()},m.prototype.layoutChildren=function(){var t,n,i,e,c,t=this,n=t.left,i=t.top,e=t.width,c=t.height;t.shapes.forEach(function(t){var V;1===t.ttV?(V=t.inV.map(function(t){return{x:n+t.relativeX*e,y:i+t.relativeY*c}}),t.setPoints(V)):(t.left=n+t.relativeX*e,t.top=i+t.relativeY*c,t.width=t.relativeWidth*e,t.height=t.relativeHeight*c,t.resetPathOffset(),t.updateCenterData(),t.layoutChildren&&t.layoutChildren())})},m.prototype.hitTest=function(V,n){var t,i,e,c,r,s,t=this,i=u.hitTest.call(t,V,n);return i&&("select"===i.type&&i.sizeRect||"rotate"===i.type)?i:(e=i.type,(c=(i=g,a.getCtx)()).save(),r=t.width,s=t.height,t.transformContext(c,t.getCenterPoint(r,s)),c.translate(-t.left-r/2,-t.top-s/2),t.shapes.forEach(function(t){var t=t.hitTest(V,n,c);if(t&&t.shape)return i=t,!1}),c.restore(),i&&i.shape?{shape:t,originalType:e,type:i.type||"select",shape2:i.shape2||i.shape,index:i.index}:g)},m.prototype.addShape=function(t,V,n){var i=this;t.parent=i,n!==A?i.shapes.splice(n,0,t):i.shapes.push(t),V||i.update()},m.prototype.update=function(){var t,V,n,i,e,t=this,V=Number.MAX_VALUE,n=Number.MAX_VALUE,i=Number.MIN_VALUE,e=Number.MIN_VALUE;t.shapes.forEach(function(t){var t,t=1===t.ttV?j(t.getPoints()):(0,a.getActualBound)(t);t.left<V&&(V=t.left),t.top<n&&(n=t.top),t.right>i&&(i=t.right),t.bottom>e&&(e=t.bottom)}),t.left=V,t.top=n,t.width=i-V,t.height=e-n,t.updateCenterData(),t.updateRelativeLocationAndSize()},m.prototype.updateRelativeLocationAndSize=function(){var t,V,n,i,e,t=this,V=t.left,n=t.top,i=t.width,e=t.height;t.shapes.forEach(function(t){1===t.ttV?t.inV=t.getPoints().map(function(t){return{relativeX:(t.x-V)/(i||1),relativeY:(t.y-n)/(e||1)}}):(t.relativeX=(t.left-V)/(i||1),t.relativeY=(t.top-n)/(e||1),t.relativeWidth=t.width/(i||1),t.relativeHeight=t.height/(e||1))})},m.prototype.removeShape=function(t,V){var n=this;delete t.parent,c(n.shapes,t),V||n.update()},m.prototype.pcV=function(t,V){var n=this;n.width=t,n.height=V},m.prototype.getRenderBound=function(t){var V,n,i,i,t,e,c,r,t;return t===A&&(t=this.isSelected),V=this.Eot,n=this.getShapeRotate(),i=this.shapes.map(function(t){var t=t.getRenderBound();return t=0!==n?d(t,V,n):t}),i=o(i),t&&(t=this.left,e=this.top,c=this.width,r=this.height,t=(0,a.expandBoundWithShapeSelected)({left:t,top:e,right:t+c,bottom:e+r},this.Oi),0!==n&&(t=d(t,V,n)),i=o([i,t])),i},Object.defineProperty(m.prototype,"isResizing",{get:function(){return this.Eb},set:function(V){this.Eb=V,this.shapes.forEach(function(t){t.isResizing=V})},enumerable:!1,configurable:!0}),V.CompoundShape=m},"./dist/plugins/shape/ui/control.js":function(t,V,n){var i,e,c,r,s,d;function o(){var t=null!==d&&d.apply(this,arguments)||this;return t.ssV=!0,t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ControlUI=void 0,e=n("./dist/plugins/shape/ui/shapes.js"),c=n("./dist/plugins/shape/ui/util.js"),d=e.ShapeUI,i(o,d),o.prototype.onMouseEnter=function(t,V){},o.prototype.onMouseLeave=function(t,V){},o.prototype.getPointerRelativeControl=function(t,V){var V,V=V?V.getPointer(t):(0,c.getPointerByMouseEvt)(this.JVV,t);return this.convertToRelativePoint(V)},o.prototype.convertToRelativePoint=function(t){return t.x-=this.left,t.y-=this.top,t},V.ControlUI=o},"./dist/plugins/shape/ui/formControl.js":function(t,V,n){var i,n,r,e,c,s;function d(){return null!==s&&s.apply(this,arguments)||this}i=this&&this.__extends||(c=function(t,V){return(c=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}c(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.FormControlShapeUI=void 0,n=n("./dist/plugins/shape/ui/control.js"),r={hAlign:0,vAlign:0,wrapText:!0},s=n.ControlUI,i(d,s),d.prototype.hitTest=function(t,V,n){var i,e,c,i=this,e=i.formControl,c=s.prototype.hitTest.call(this,t,V,n);return c&&("select"!==c.type||c.sizeRect)?c:e&&e.hitTest({x:t,y:V})?i.isSelected?s.prototype.hitTest.call(this,t,V,n):{shape:i}:{}},d.prototype.Dn=function(t,V,n,i){var e,c,r,e=this,c=e.formControl,r=e.zoom;c&&(e.vcV(t,V,n,i),t.save(),t.scale(r,r),c.render(t,i),t.restore())},d.prototype.Me=function(t,V,n){var i,e,c,i,i=this,e,c=i.formControl.styleSupportInfo();c.supportText&&(i.setTextRect(c.textRect),i=i.JVV&&i.JVV.ytV.Mfn||r,c.supportHAlign||(V.horizontalAlignment=i.hAlign),c.supportVAlign||(V.verticalAlignment=i.vAlign),c.supportWrapText||(V.wrapTextInShape=i.wrapText),s.prototype.Me.call(this,t,V,n))},d.prototype.vcV=function(t,V,n,i){var e,c,r,s,e=this,c=e.options;c&&((r=e.formControl.styleSupportInfo()).supportFill||r.supportLine)&&((s=c.stroke)&&!s.color&&(s.color="transparent"),t.save(),i?(t.isPrintContext=!0,r.supportFill&&e.renderPath(t,c,V,n,!1,!0,!0),r.supportLine&&e.renderPath(t,c,V,n,!0,!0,!1)):e.renderPath(t,c,V,n,!r.supportFill,!0,!r.supportLine),t.restore())},d.prototype.getCursor=function(t){var V=this.formControl;return V.isNeedControlCursorBySelf&&V.isNeedControlCursorBySelf()||this.isSelected?void 0:"default"},d.prototype.onMouseDown=function(t,V){var t={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseDown(t),t.cancelDefault},d.prototype.onMouseMove=function(t,V){var t={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseMove(t),t.cancelDefault},d.prototype.onMouseUp=function(t,V){var t={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseUp(t),t.cancelDefault},d.prototype.setTextRect=function(t){var V,n,n,V=this,n=V.zoom;t.x*=n,t.y*=n,t.w*=n,t.h*=n,n={left:t.x,top:t.y,width:t.w,height:t.h,right:t.x+t.w,bottom:t.y+t.h},V.textRect=n},Object.defineProperty(d.prototype,"zoom",{get:function(){var t=this;return t.TtV?t.OtV:1},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"formControl",{get:function(){var t;return this.JVV.GtV},enumerable:!1,configurable:!0}),V.FormControlShapeUI=d},"./dist/plugins/shape/ui/lines.js":function(t,V,n){var i,a,w,n,c,e,r,s,p,o,d,h,v,u,j,x,y,f,n,l,g,A,b,L,m;function C(t,V,n){var i,i,e,i=t.service;i!==V&&(i&&(t.model=i.getValues(t.id,"",!0)),V?(i=t.options,e=t.points,t.id||(t.id=V.getUniqueShapeId()),V.setValue(t.id,"type",n),t.service=V,t.options=i,t.points=e):t.service=V)}function R(){return null!==b&&b.apply(this,arguments)||this}function M(){return null!==L&&L.apply(this,arguments)||this}function I(t,V,n){for(var i,e,c,i=[],e=0,c=t.length;e<c;e++)i.push((t[e].x-V)/n);return i}function _(t,V){return+t.toFixed(V=V||3)}function E(t,V,n){for(var i,e,c,i=[],e=0,c=t.length;e<c;e++)i.push((t[e].y-V)/n);return i}function F(){return null!==m&&m.apply(this,arguments)||this}i=this&&this.__extends||(A=function(t,V){return(A=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}A(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ZipLine=V.Line=void 0,a=n("./dist/plugins/shape/ui/util.js"),w=n("./dist/plugins/shape/ui/shapes.js"),n=n("./dist/plugins/shape/ui/options.js"),c=a.Common.extend,e=a.Common.getOptionValue,r=(0,n.getStyle)("defaultLine"),s=a.Common.defineProperty,p=a.Common.getPointToLine,o=a.Common.rotatePoint,d=a.Common.expandRectangle,h=a.Common.calculateBoundByPoints,v=a.Common.calculateRectangleCenterPoint,u=Math.max,j=Math.round,x=6,y=null,f=void 0,b=w.ShapeUI,i(R,b),R.prototype.jcV=function(t,V,n){var i,e,c,e,r,s,r,d,o,a,i,i=this;if(i.bcV())return c=(e=i.getStartPoint()).x,e=e.y,s=(r=i.getEndPoint()).x,r=r.y,d=i.left+i.width/2,o=i.top+i.height/2,a=y,t.beginPath(),i=i.Oi?20:7,t.rect(c-d-i,e-o-i,2*i,2*i),t.closePath(),t.isPointInPath(V,n)?a="begin":(t.beginPath(),t.rect(s-d-i,r-o-i,2*i,2*i),t.closePath(),t.isPointInPath(V,n)&&(a="end")),a},R.prototype.mcV=function(t,V,n){var i,e,c,r,i=this;i.bcV()&&(e=6,r=(c=i.getPoints()).length,t.save(),t.strokeStyle="gray",t.lineWidth=1,t.fillStyle="white",t.beginPath(),t.arc(c[0].x-i.left-V/2+.5,c[0].y-i.top-n/2+.5,3,0,2*Math.PI),t.fill(),t.arc(c[0].x-i.left-V/2+.5,c[0].y-i.top-n/2+.5,3,0,2*Math.PI),t.stroke(),t.beginPath(),t.arc(c[r-1].x-i.left-V/2+.5,c[r-1].y-i.top-n/2+.5,3,0,2*Math.PI),t.fill(),t.arc(c[r-1].x-i.left-V/2+.5,c[r-1].y-i.top-n/2+.5,3,0,2*Math.PI),t.stroke(),t.restore())},R.prototype.bcV=function(){var t=this.JVV;return t&&!1!==t.allowResize()},R.prototype.getPoints=function(){return[]},R.prototype.getRenderBound=function(t){var V,n,V,i,e,n;return t===f&&(t=this.isSelected),V=this.getPoints(),n=this.options,V=h(V),i=u(n.stroke.width,w.MIN_LINE_WIDTH),e=Math.ceil(i/2),n.endPoints&&(n=u(w.MIN_ARROW_LINE_WIDTH,i),e=u(e,n*w.MAX_ARROW_WIDTH_RATIO*w.ARROW_STEALTH_RATIO)),t&&(e=u(e,this.Oi?w.VARIABLE_RECT_SIZE_IN_TOUCH:w.VARIABLE_RECT_SIZE)),d(V,e+w.RENDER_BOUND_EPSILON)},i(M,L=n=R),M.prototype.CcV=function(t,V){var n,i,e,n=this;n.model=t||{},n.ttV=1,e=i=y,t&&(i=c({},r,t.options),e=t.points,n.id=t.id),n.setService(V),n.defineProperties(),n.showConnectors=!1,t&&(n.options=i,e)&&n.setPoints(e)},M.prototype.setService=function(t){C(this,t,"Line")},M.prototype.defineProperties=function(){var i,t,i=this;s(i,"options",{get:function(){var t,t,t;return i.optionsCache||(t=(t=i.service)?t.getOptions(i.id):i.model.options,i.optionsCache=c({},t))},set:function(t){delete i.optionsCache;var V=i.service;V?V.setOptions(i.id,t):i.model.options=t}}),s(i,"startConnector",{get:function(){var t,t,t=i.service;return t?(t=t.getValues(i.id,"startConnector"))&&t.startConnector:i.model.startConnector},set:function(t){var V=i.service;V?V.setValues(i.id,"startConnector",t):i.model.startConnector=t}}),s(i,"endConnector",{get:function(){var t,t,t=i.service;return t?(t=t.getValues(i.id,"endConnector"))&&t.endConnector:i.model.endConnector},set:function(t){var V=i.service;V?V.setValues(i.id,"endConnector",t):i.model.endConnector=t}}),(t=["x1","y1","x2","y2"]).forEach(function(n){s(i,n,{get:function(){var t=i.service;return t?t.getValue(i.id,n):i.model[n]},set:function(t){var V=i.service;V?V.setValue(i.id,n,t):i.model[n]=t}})})},M.prototype.setPoints=function(t,V){var n,i,t;!t||t.length<1||(isNaN(V)&&(V=1),i=t[0],t=t[t.length-1],(n=this).x1=i.x*V,n.y1=i.y*V,n.x2=t.x*V,n.y2=t.y*V,n.left=Math.min(n.x1,n.x2),n.top=Math.min(n.y1,n.y2),n.width=Math.max(n.x1,n.x2)-n.left,n.height=Math.max(n.y1,n.y2)-n.top,n.updateCenterData(),n.isFlipH=n.x1<n.x2,n.isFlipV=n.y1<n.y2)},M.prototype.getPoints=function(){var t=this;return[{x:t.x1,y:t.y1},{x:t.x2,y:t.y2}]},M.prototype.getStartPoint=function(){var t=this;return{x:t.x1,y:t.y1}},M.prototype.getEndPoint=function(){var t=this;return{x:t.x2,y:t.y2}},M.prototype.renderPath=function(t,V,n,i,e,c,r,s){var d,o,a,h,u,x,a,h,u,h,y,f,l,g,A,d=this,o=d.options,a=d.osV(),h=a.left,u=a.top,x=a.width,a=a.height,h=v(h,u,x,a),u=h.x,h=h.y,y=j(d.x1),f=j(d.x2),l=j(d.y1),g=j(d.y2),A;(0,w.drawLineShape)(t,[{x:y-u,y:l-h},{x:f-u,y:g-h}],d,x,a,o,s)},M.prototype.hitTest=function(t,V){var n,i,e,c,e,i,e,r,n=this,i=n.width,e=n.height,c=(0,w.getCtx)();return c.save(),n.transformContext(c,n.getCenterPoint(i,e)),i={},(e=n.jcV(c,t,V))?(i.shape=n,i.type="move",i.endPoint=e):(e=n.Oi?10:3,(r=p(t,V,n.x1,n.y1,n.x2,n.y2)<=e)&&(i.shape=n,i.type="select")),c.restore(),i},M.prototype.paintSelection=function(t){var V,n,i,V=this;V.isSelected&&(n=e(V.width+"",V),i=e(V.height+"",V),V.mcV(t,n,i))},M.prototype.move=function(t,V){var n,i,e,n=this,i=t-n.left,e=V-n.top;n.left=t,n.top=V,n.x1+=i,n.y1+=e,n.x2+=i,n.y2+=e,n.updateCenterData()},M.prototype.resizeHeight=function(t,V){var n,t,n=this,t=t-n.height;n.originalY1||(n.originalY1=n.y1),n.originalY2||(n.originalY2=n.y2),n.originalY2>n.originalY1?n.y2+=t:n.originalY2<n.originalY1&&(n.y1+=t),n.updateCenterData()},M.prototype.resizeWidth=function(t,V){var n,t,n=this,t=t-n.width;n.originalX1||(n.originalX1=n.x1),n.originalX2||(n.originalX2=n.x2),n.originalX2>n.originalX1?n.x2+=t:n.originalX2<n.originalX1&&(n.x1+=t),n.updateCenterData()},M.prototype.moveStartPoint=function(t,V){var n=this;n.setPoints([{x:t,y:V},{x:n.x2,y:n.y2}])},M.prototype.moveEndPoint=function(t,V){var n=this;n.setPoints([{x:n.x1,y:n.y1},{x:t,y:V}])},M.prototype.updateStartConnector=function(t){var V,n,i,e,V=this,n=V.startConnector;n&&(i=V.service.getShapeById(n.id)).removeConnectionLine(V.id),(V.startConnector=t)&&(e=V.service.getShapeById(t.id)).addConnectionLine(V.id)},M.prototype.updateEndConnector=function(t){var V,n,i,e,V=this,n=this.endConnector;n&&(i=V.service.getShapeById(n.id)).removeConnectionLine(V.id),(V.endConnector=t)&&(e=V.service.getShapeById(t.id)).addConnectionLine(V.id)},V.Line=M,i(F,m=n),F.prototype.CcV=function(t,V){var n,i,e,n=this;n.model=t||{},n.ttV=1,e=i=y,t&&(i=c({},r,t.options),e=t.points,n.id=t.id),n.setService(V),n.defineProperties(),n.showConnectors=!1,t&&(n.options=i,e)&&n.setPoints(e)},F.prototype.setService=function(t){C(this,t,"ZipLine")},F.prototype.defineProperties=function(){var n=this;s(n,"options",{get:function(){var t,V,V,t=n.optionsCache;return t||(V=(V=n.service)?V.getOptions(n.id):n.model.options,n.optionsCache=t=c({},V),t)},set:function(t){delete n.optionsCache;var V=n.service;V?V.setOptions(n.id,t):n.model.options=t}}),s(n,"points",{get:function(){var t,t,t=n.service;return t?(t=t.getValues(n.id,"points"))&&t.points:n.model.points},set:function(t){var V=n.service;V?V.setValues(n.id,"points",t):n.model.points=t}}),s(n,"startConnector",{get:function(){var t,t,t=n.service;return t?(t=t.getValues(n.id,"startConnector"))&&t.startConnector:n.model.startConnector},set:function(t){var V=n.service;V?V.setValues(n.id,"startConnector",t):n.model.startConnector=t}}),s(n,"endConnector",{get:function(){var t,t,t=n.service;return t?(t=t.getValues(n.id,"endConnector"))&&t.endConnector:n.model.endConnector},set:function(t){var V=n.service;V?V.setValues(n.id,"endConnector",t):n.model.endConnector=t}})},F.prototype.getStartPoint=function(){var t=this.getPoints();return{x:t[0].x,y:t[0].y}},F.prototype.getEndPoint=function(){var t=this.getPoints();return{x:t[t.length-1].x,y:t[t.length-1].y}},F.prototype.moveStartPoint=function(t,V){var n,i,V,i,n=this,i=n.getPoints(),V={x:t,y:V},i=i[i.length-1];t=(V.x+i.x)/2,n.setPoints([V,{x:t,y:V.y},{x:t,y:i.y},i])},F.prototype.getAdjustChanges=function(){var t,V,n,i,e,c,r,t=this,n=!1,i=t.RcV,e=t.points;if(t.RcV){for(c=0,r=e.length;c<r;c++)if(i[c].x!==e[c].x||i[c].y!==e[c].y){n=!0;break}n&&(V={oldPoints:i,points:e})}return delete t.RcV,V},F.prototype.moveEndPoint=function(t,V){var n,i,e,V,n=this,i,e=n.getPoints()[0],V={x:t,y:V};t=(e.x+V.x)/2,n.setPoints([e,{x:t,y:e.y},{x:t,y:V.y},V])},F.prototype.setPoints=function(t,V){var n,i,i,t,n=this,i=t.length;isNaN(V)&&(V=1),t=t.map(function(t){return{x:t.x*V,y:t.y*V}}),n.points=t,i<1||(i=t[0],t=t[t.length-1],n.left=Math.min(i.x,t.x),n.top=Math.min(i.y,t.y),n.width=Math.abs(i.x-t.x),n.height=Math.abs(i.y-t.y),n.updateCenterData())},F.prototype.getPoints=function(){for(var t,V,n,i,t=this.points,V=[],n=0,i=t.length;n<i;n++)V.push({x:t[n].x,y:t[n].y});return V},F.prototype.renderPath=function(t,V,n,i,e,c,r,s){var d,o,a,h,u,x,y,h,u,f,l,x,d=this,o=d.options,a=d.getPoints(),h=d.osV(),u=h.left,x=h.top,y=h.width,h=h.height,u=v(u,x,y,h),f=u.x,l=u.y,x=a.map(function(t){return{x:j(t.x)-f,y:j(t.y)-l}});(0,w.drawLineShape)(t,x,d,y,h,o,s)},F.prototype.variableRects=function(t){var V,n,i,e,c,r,s,d,o,V=this,n=t&&V.Oi?w.VARIABLE_RECT_SIZE_IN_TOUCH:w.VARIABLE_RECT_SIZE,i=V.getPoints(),e=[],r=i.length;if(i&&r)for(s=i[1],d=2;d<r-1;d++)(o=i[d]).y===s.y?c=new a.Rect((s.x+o.x)/2-n/2,(s.y+o.y)/2-n/2,n,n):(c=new a.Rect((s.x+o.x)/2-n/2,(s.y+o.y)/2-n/2,n,n)).vertical=!0,c.index=d,e.push(c),s=o;return e},F.prototype.resizeHeight=function(t,V){for(var n,i,e,c,r,n=this,i=n.getPoints(),e=E(i,n.top,n.height),c=0,r=i.length;c<r;c++)i[c].y=n.top+e[c]*t;n.setPoints(i)},F.prototype.resizeWidth=function(t,V){for(var n,i,e,c,r,n=this,i=n.getPoints(),e=I(i,n.left,n.width),c=0,r=i.length;c<r;c++)i[c].x=n.left+e[c]*t;n.setPoints(i)},F.prototype.updateStartConnector=function(t){var V=this,n=V.startConnector,i=V.service;i&&(n&&i.getShapeById(n.id).removeConnectionLine(V.id),V.startConnector=t)&&i.getShapeById(t.id).addConnectionLine(V.id)},F.prototype.updateEndConnector=function(t){var V=this,n=V.endConnector,i=V.service;n&&i.getShapeById(n.id).removeConnectionLine(V.id),(V.endConnector=t)&&i.getShapeById(t.id).addConnectionLine(V.id)},F.prototype.changeVariablePoint=function(t,V){var n,i,t,V,e,V,c,r,s,d,i,t,r,n=this,i=t.x,t=t.y,V=V.variableRect,e=n.getPoints();n.RcV||(n.RcV=n.getPoints()),V=V.index,c=n.getShapeCenter(),r=e[V-1],s=e[V],d=Math.atan2(s.y-r.y,s.x-r.x),i=o({x:i,y:t},c,-d),t=o({x:r.x,y:r.y},c,-d),r=o({x:s.x,y:s.y},c,-d),_(t.x)===_(r.x)?(t.x=i.x,r.x=i.x):(t.y=i.y,r.y=i.y),e[V-1]=o(t,c,d),e[V]=o(r,c,d),n.setPoints(e)},F.prototype.hitTest=function(t,V){var n,i,e,c,r,s,d,e,o,a,h,u,x,y,f,l,g,A,n=this,i=n.getPoints(),e=n.width,c=n.height,r=(0,w.getCtx)();if(r.save(),n.transformContext(r,n.getCenterPoint(e,c)),s=e/2+n.left,d=c/2+n.top,o={},e=n.jcV(r,t,V))o.shape=n,o.type="move",o.endPoint=e;else{for(r.beginPath(),u=i[0],x=n.Oi?10:2,y=!1,h=i.length,a=1;a<h;a++){if(f=i[a],p(t,V,u.x,u.y,f.x,f.y)<=x){y=!0;break}u=f}if(r.closePath(),y&&(o.shape=n,o.type="select",h=(g=n.variableRects(!0)).length,g)&&0<h)for(a=0;a<h;a++)if(A=g[a],r.beginPath(),r.rect(A.x-s,A.y-d,A.width,A.height),r.closePath(),r.isPointInPath(t,V)){o.type="variablePoint",o.variableRect=A;break}}return r.restore(),o},F.prototype.paintSelection=function(t){var V,n,i,e,c,r,s,d,o,V=this;if(V.isSelected){if(t.save(),n=V.width,i=V.height,e=V.variableRects(!1),t.lineWidth=1,e)for(c=n/2+V.left,r=i/2+V.top,s=0,d=e.length;s<d;s++)o=e[s],t.fillStyle="yellow",t.fillRect(o.x-c,o.y-r,o.width,o.height),t.strokeStyle="grey",t.strokeRect(o.x-c,o.y-r,o.width,o.height);V.mcV(t,n,i),t.restore()}},F.prototype.move=function(t,V){var n,i,e,c,r,s,n=this,i=t-n.left,e=V-n.top;for(n.left=t,n.top=V,r=0,s=(c=n.getPoints()).length;r<s;r++)c[r].x+=i,c[r].y+=e;n.setPoints(c)},V.ZipLine=F},"./dist/plugins/shape/ui/model.js":function(t,V,n){var i,e,c;function r(t,V){var n,i,e,c;if(V&&t.id===V)return t;if(n=t.shapes)for(i=0,e=n.length;i<e;i++)if(c=r(n[i],V))return c}function s(t,V){return r({shapes:t},V)}function d(t){return"shape"+t}function o(t){var c=this;c.name=t,c.shapes=[],c.calcSource_=new i.PropertySource(c),c.calcSource_.changed=function(t,V,n,i,e){c.changed&&c.changed(t,V,n,i,e)},c.setService(c.getService()),c.resetIDInfos()}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeModel=V.getKeyForShapeId=V.findShapeInCollectionById=void 0,i=n("./dist/plugins/shape/ui/propertySource.js"),e=n("./dist/plugins/shape/ui/util.js"),V.findShapeInCollectionById=s,V.getKeyForShapeId=d,o.prototype.getName=function(){return this.name},o.prototype.getCalcService=function(){return this.getService()},o.prototype.getService=function(){return this.calcSource_.getCalcService()},o.prototype.getContext=function(t){return this.calcSource_.getContext(t)},o.prototype.setService=function(t){var V,n,V=this;t&&(n=V.getName(),V.calcSource_.id=n,V.calcModel_=new i.PropertySourceModel(V.calcSource_),t.setSourceModel({id:n},V.calcModel_))},o.prototype.getExpression=function(t,V){return this.calcSource_.getExpression(t,V)},o.prototype.getExpressions=function(t,V){return this.calcSource_.getExpressions(t,V)},o.prototype.addShape=function(t,V){var n,i,n=this,i=t.id;n.getShapeById(i)||(n.usedIDs[i]=t,n.attachShapeToModel(t),0<=V?n.shapes.splice(V,0,t):n.shapes.push(t))},o.prototype.removeShape=function(t,V){var n=this;e.Common.Array_remove(n.shapes,t),delete n.usedIDs[t.id],V||n.detachShapeFromModel(t)},o.prototype.indexOf=function(t){return this.shapes.indexOf(t)},o.prototype.getShapes=function(){return this.shapes},o.prototype.getShapeById=function(t){return this.usedIDs[t]||r(this,t)||this.IcV[t]},o.prototype.getUniqueShapeId=function(t){for(var V,n,i,V=this,n=V.idCount;i=d(n),n++,V.getShapeById(i););return V.idCount=n,t?{id:n-1,key:i}:i},o.prototype.resetIDInfos=function(){var t=this;t.usedIDs={},t.idMaps={},t.IcV={},t.idCount=2},o.prototype.ensureUniqueShapeId=function(t){var V,n,n,V=this,n=d(t);return V.getShapeById(n)?(n=V.getUniqueShapeId(!0),V.idMaps[t]=n.id,n):(V.updateIdCount(t),{id:t,key:d(t)})},o.prototype.temporaryMarkIdUsed=function(t){this.IcV[t.id]=t},o.prototype.clearTemporaryMarkedIds=function(){this.IcV={}},o.prototype.updateIdCount=function(t){var V=this;V.idCount<=t&&(V.idCount=t+1)},o.prototype.detachShapeFromModel=function(t){var V,n,V=this;t.setService(null),V.remove(t.id),n=t.shapes,t.isCompoundShape&&n&&n.forEach(function(t){V.detachShapeFromModel(t)})},o.prototype.attachShapeToModel=function(t){var V=this,n=t.shapes;t.id||(t.id=V.getUniqueShapeId()),t.getService()!==V&&t.setService(V),t.isCompoundShape&&n&&n.forEach(function(t){V.attachShapeToModel(t)})},o.prototype.getCurrentObjectId=function(){var t;return this.calcSource_.getCurrentObjectId()},o.prototype.setCurrentObjectId=function(t){var V;this.calcSource_.setCurrentObjectId(t)},o.prototype.add=function(t,V){this.setValues(t,"",V)},o.prototype.remove=function(t){var V;this.calcSource_.removeObject(t)},o.prototype.getValues=function(t,V,n,i){var e;return this.calcSource_.getValuesForObject(t,V,n,i)},o.prototype.setValues=function(t,V,n,i){var e=this.calcSource_;i||e.clearValues(t,V),V&&0<V.length&&"."!==V[V.length-1]&&(V+="."),e.setObject(t,V,n)},o.prototype.getValue=function(t,V){var n;return this.calcSource_.getValue(t,V)},o.prototype.setValue=function(t,V,n){var i;this.calcSource_.setValue(t,V,n)},o.prototype.getNode=function(t,V){var n;return this.calcSource_.getNode(t,V)},o.prototype.getFormula=function(t,V,n){var i;return this.calcSource_.getFormula2(t,V,n)},o.prototype.setFormula=function(t,V,n,i,e,c,r){var s;this.calcSource_.setFormula(t,V,n,i,e,c,r)},o.prototype.removeFormula=function(t,V){var n;this.calcSource_.removeFormula(t,V)},o.prototype.clearValues=function(t,V){var n;this.calcSource_.clearValues(t,V)},o.prototype.clear=function(){var t;this.calcSource_.clear(),this.shapes=[]},o.prototype.dirty=function(t,V){var n;this.calcSource_.dirty(t,V)},o.prototype.dirtyAll=function(t){var V;this.calcSource_.dirtyAll(t)},o.prototype.setValueOrFormula=function(t,V,n,i,e){var c=this;n&&"="===n[0]?c.setFormula(t,V,n.substring(1),i,e):c.setValue(t,V,n)},o.prototype.setAngle=function(t,V){this.setValueOrFormula(t,"angle",V)},o.prototype.setOptions=function(t,V){this.setValues(t,"options",V)},o.prototype.setConnectionLines=function(t,V){this.setValues(t,"connectionLines",V)},o.prototype.getConnectionLines=function(t,V){var t=this.getValues(t,"connectionLines",V);return t&&t.connectionLines},o.prototype.getOptions=function(t,V,n){var t=this.getValues(t,"options",V,n);return t&&t.options},o.prototype.suspendCalc=function(){var t;this.calcSource_.suspendCalc()},o.prototype.resumeCalc=function(){var t;this.calcSource_.resumeCalc()},V.ShapeModel=o},"./dist/plugins/shape/ui/options.js":function(t,n){var V,c,i,r,s,e,d;function o(t,V,n){return{type:t||1,color:V||"black",width:n||1}}function a(t,V,n){return{type:t||1,color:V||"white",width:n||1}}function h(t,V,n,i,e){return{font:t||r,fill:V||c.black,allowTextToOverflowShape:e,textDirection:n||s,wrapTextInShape:!i}}function u(t,V){n.styles[t]=V}function x(t){return n.styles[t]}Object.defineProperty(n,"__esModule",{value:!0}),n.getStyle=n.styles=void 0,V={},c={},(i=["white","black","grey","blue","red","yellow","green","cyan"]).forEach(function(t){V[t]=o(1,t),c[t]=a(1,t)}),r="11pt Calibri",s="horizontal",n.styles={},u("default",e={stroke:V.grey,fill:c.white,textFormatOptions:h(r,c.white,s,!1,!1)}),u("defaultLine",d={stroke:{type:1,color:"blue"},endPoints:{beginArrow:{type:1,widthType:1,lengthType:1},endArrow:{type:3,widthType:1,lengthType:1}}}),n.getStyle=x},"./dist/plugins/shape/ui/path.js":function(t,V,n){var d,O,T,o,a,x,y,i;function N(t,V,n,i,e,c,r,s){for(var d,o,a,h,u,x,y,f,l,g,g,A,A,w,p,v,j,b,d=Math.sqrt,o=Math.abs,a=[],h=[[],[]],x=6*t-12*n+6*e,y=-3*t+9*n-9*e+3*r,f=3*n-3*t,l=0;l<2;++l)0<l&&(x=6*V-12*i+6*c,y=-3*V+9*i-9*c+3*s,f=3*i-3*V),o(y)<1e-12?o(x)<1e-12||0<(u=-f/x)&&u<1&&a.push(u):(g=x*x-4*f*y)<0||(0<(A=(-x+(g=d(g)))/(2*y))&&A<1&&a.push(A),0<(A=(-x-g)/(2*y))&&A<1&&a.push(A));for(p=w=a.length;w;)h[0][--w]=j=(v=1-(u=a[w]))*v*v*t+3*v*v*u*n+3*v*u*u*e+u*u*u*r,h[1][w]=b=v*v*v*V+3*v*v*u*i+3*v*u*u*c+u*u*u*s;return h[0][p]=t,h[1][p]=V,h[0][p+1]=r,h[1][p+1]=s,[{x:m(h[0]),y:m(h[1])},{x:L(h[0]),y:L(h[1])}]}function P(t,V,n,i,e,c,r,s){for(var d,o,a,h,u,d=[],o=l(c,r,s),a=y/180,h=s?-a:a,u=0;x(u)<=o;u+=h)d.push(f(t,V,n,i,e,c+u));return d.push(f(t,V,n,i,e,r)),d}function f(t,V,n,i,e,c){var r,s,n,r,s,n={x:n*a(c)+t,y:i*o(c)+V};return n=0!==e?d.Common.rotatePoint(n,{x:t,y:V},e):n}function l(t,V,n){var i,n,i=2*y;if(n){if(i<=t-V)return i}else if(i<=V-t)return i;return(t%=i)<0&&(t+=i),(V%=i)<0&&(V+=i),(n=n?t-V:V-t)<0&&(n+=i),n}function L(t,V){var n;return(V?O:T).apply(null,t)}function m(t){return L(t,!0)}function e(t){return-1<"mlhvcsqtaz".indexOf(t)}function D(t,V,n){return e(t)?V+n:n}function c(t){var V=this;V.pathCommands=[],t&&V.parse(t)}function r(t){for(var V,n,i,e,c,r,s,d,o,a,h,u,x,y,f,l,g,A,w,p,v,j,b,L,m,C,R,M,I,_,E,F,Y,S,X,V=1/0,n=1/0,i=-1/0,e=-1/0,r=0,s=0,d=0,o=0,a=[],h=0,u=t.length;h<u;++h){switch(x=(c=t[h])[0],y=c[1],f=c[2],l=c[3],g=c[4],A=c[5],w=c[6],x){case"V":case"v":o=D(x,o,y);break;case"H":case"h":d=D(x,d,y);break;case"L":case"l":d=D(x,d,y),o=D(x,o,f),a=[];break;case"M":case"m":r=d=D(x,d,y),s=o=D(x,o,f),a=[];break;case"B":case"C":case"c":a=N(p=d,v=o,j=D(x,d,y),b=D(x,o,f),L=D(x,d,l),m=D(x,o,g),d=D(x,d,A),o=D(x,o,w));break;case"Q":case"q":case"S":case"s":a=N(p=d,v=o,j=D(x,d,y),b=D(x,o,f),j,b,d=D(x,d,l),o=D(x,o,g));break;case"AT":case"T":j=D(x,d,y),b=D(x,o,f),d=D(x,d,l),o=D(x,o,g),a.push({x:j,y:b}),a.push({x:d,y:o});break;case"A":case"a":d=D(x,d,y),o=D(x,o,f),a.push({x:d,y:o}),C=l,R=g,M=A,I=Math.PI,a.push({x:d+C*Math.cos(R),y:o+C*Math.sin(R)}),a.push({x:d+C*Math.cos(M),y:o+C*Math.sin(M)}),0!==R&&M!==2*I||a.push({x:d+C,y:o}),(R<I/2||I/2<M)&&a.push({x:d,y:o+C}),(R<I||I<M)&&a.push({x:d-C,y:o}),(R<I+I/2||I+I/2<M)&&a.push({x:d,y:o-C});break;case"E":case"e":d=(a=P(d=D(x,d,y),o=D(x,o,f),l,g,A,w,S=c[7],X=c[8]))[0].x,o=a[0].y;break;case"Z":case"z":d=r,o=s}a.forEach(function(t){V=O(V,t.x),n=O(n,t.y),i=T(i,t.x),e=T(e,t.y)}),V=O(V,d),n=O(n,o),i=T(i,d),e=T(e,o)}return V=isFinite(V)?V:0,n=isFinite(n)?n:0,i=isFinite(i)?i:0,e=isFinite(e)?e:0,{left:V,top:n,right:i,bottom:e,width:i-V,height:e-n}}Object.defineProperty(V,"__esModule",{value:!0}),V.getBoundByPathCommands=V.Path=void 0,d=n("./dist/plugins/shape/ui/util.js"),O=Math.min,T=Math.max,o=Math.sin,a=Math.cos,x=Math.abs,y=Math.PI,c.prototype.parse=function(t){for(var V,n,i,e,c,r,s,V=t.split(";"),n=0,i=V.length;n<i;n++){for(e=V[n].trim().split(" "),(c=[]).push(e[0].trim()),r=1,s=e.length;r<s;r++)e[r]&&"="===e[r][0]?c.push(e[r]):c.push(parseFloat(e[r]));this.pathCommands.push(c)}},c.prototype.moveTo=function(t,V){var n=this;return n.pathCommands.push(["M",t,V]),n},c.prototype.lineTo=function(t,V){var n=this;return n.pathCommands.push(["L",t,V]),n},c.prototype.bezierCurveTo=function(t,V,n,i,e,c){var r=this;return r.pathCommands.push(["B",t,V,n,i,e,c]),r},c.prototype.quadraticCurveTo=function(t,V,n,i){var e=this;return e.pathCommands.push(["Q",t,V,n,i]),e},c.prototype.arc=function(t,V,n,i,e){this.pathCommands.push(["A",t,V,n,i,e])},c.prototype.arcTo=function(t,V,n,i,e){var c=this;return c.pathCommands.push(["AT",t,V,n,i,e]),c},c.prototype.beginPath=function(){},c.prototype.closePath=function(){var t=this;return t.pathCommands.push(["Z"]),t},c.prototype.parseDimensions=function(){return r(this.pathCommands)},V.Path=c,V.getBoundByPathCommands=r},"./dist/plugins/shape/ui/pictureFormat.js":function(t,V,n){var h,i,e,s,a,u,o;function x(t){return e(0,i(255,t))}function c(t,V,n){return.2126*t+.7152*V+.0722*n}function y(t,V,n){var i,e,c,r,s;function d(t){return t=((t+=r)-o)*e+o,x(a(t+=r))}for(i=t.data,e=0<=n?o/(o-n*o):(o+n*o)/o,r=(c=255*V)/2,s=0;s<i.length;s+=4)i[s]=d(i[s]),i[s+1]=d(i[s+1]),i[s+2]=d(i[s+2])}function f(t){for(var V,n,i,V=t.data,n=0;n<V.length;n+=4)i=s(c(V[n],V[n+1],V[n+2])),V[n]=i,V[n+1]=i,V[n+2]=i}function l(t,V,n){var i,e,c,r,s,c,d,o;for(f(t),i=[],e=0;e<=255;e++)r=V.r+a((n.r-V.r)*(c=e/255)),s=V.g+a((n.g-V.g)*c),c=V.b+a((n.b-V.b)*c),i.push([r,s,c]);for(d=t.data,e=0;e<d.length;e+=4)o=i[d[e]],d[e]=o[0],d[e+1]=o[1],d[e+2]=o[2]}function g(t,V){for(var n,i,e,e,n=t.data,i=0;i<n.length;i+=4)e=c(n[i]/255,n[i+1]/255,n[i+2]/255),n[i]=e=V<=e?255:0,n[i+1]=e,n[i+2]=e}function A(t,V){for(var n,i,e,n=t.data,i=1-V,e=0;e<n.length;e+=4)n[e+3]=x(s(n[e+3]*i))}function w(t,V){var n,i,e,c,r,n=0,i=0;if("lighten"===V?n=.4:"lightenLess"===V?n=.2:"darken"===V?i=-.4:"darkenLess"===V&&(i=-.2),0!==n||0!==i)for(e=function(t){return x(s(i?t*(1+i):255-(255-t)*n))},c=t.data,r=0;r<c.length;r+=4)c[r]=e(c[r]),c[r+1]=e(c[r+1]),c[r+2]=e(c[r+2])}function p(t){var V,n,i,e,c,r,t,s,V=t.brightness,n=t.contrast,i=t.transparency,e=t.grayscale,c=t.duotone,r=t.blackAndWhite,t=t.fillMode,s;return e||c||r!==u||V||n||i||("darken"===t||"darkenLess"===t||"lighten"===t||"lightenLess"===t)}function r(t,V){var n,t,i,e,c,r,s,d,V,o,a;p(V)&&(t=(n=t.getContext("2d")).getImageData(0,0,t.width,t.height),i=V.brightness,e=V.contrast,c=V.transparency,r=V.grayscale,s=V.duotone,d=V.blackAndWhite,V=V.fillMode,r&&f(t),s&&l(t,o=h.Color.fromString(s.color1).toIColor(),a=h.Color.fromString(s.color2).toIColor()),d!==u&&g(t,d),(i||e)&&y(t,i||0,e||0),c&&A(t,c),V&&w(t,V),n.putImageData(t,0,0))}Object.defineProperty(V,"__esModule",{value:!0}),V.applyPictureFormat=void 0,h=n("./dist/plugins/shape/drawingInterface.js"),i=Math.min,e=Math.max,s=Math.round,a=Math.floor,u=void 0,o=127.5,V.applyPictureFormat=r},"./dist/plugins/shape/ui/pictureShape.js":function(t,V,n){var i,e,c,r,s,d;function o(t,V){var t=d.call(this,t,V)||this;return t.McV={src:void 0,tilePictureAsTexture:!1,transparency:0,offsetLeft:0,offsetRight:0,offsetTop:0,offsetBottom:0,crop:{left:0,right:0,top:0,bottom:0},brightness:0,contrast:0,grayscale:!1},t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShapeUI=void 0,e=n("./dist/plugins/shape/ui/shapes.js"),c="pictureImageSource",d=e.ShapeUI,i(o,d),o.prototype.getBase64Image=function(){return this.erV(this.McV,c)},o.prototype.src=function(t){this.McV.src=t},o.prototype.pictureFormat=function(t){var V=this.McV;V.transparency=t.transparency,V.crop=t.crop,V.brightness=t.brightness,V.contrast=t.contrast,V.grayscale=t.grayscale,V.blackAndWhite=t.blackAndWhite,V.duotone=t.duotone},o.prototype.needApplyFillAfterStyleFill=function(){return!!this.McV.src},o.prototype.applyFillAfterStyleFill=function(t,V,n,i){(0,e.applyPictureOrTextureFillOptions)(t,this.McV,this,V,n,c,i)},o.prototype.yrV=function(){delete this[c]},V.PictureShapeUI=o},"./dist/plugins/shape/ui/propertySource.js":function(O,t,V){var n,d,i,e,y,c,r,s,o,a,h,u,x,f,T,N,l,g;function A(t,V,n){for(var i,e,c,r,s,i=V.split("."),e=i.length,c=t,r=0;r<e-1;r++)c[s=i[r]]||(c[s]={}),c=c[s];c[i[e-1]]=n}function w(t,V){var n=V.indexOf("#"),i;return 0<n?(i=V.substring(0,n),V=V.substring(n+1)):i=t.id||t.calcSource.getCurrentObjectId(),{id:i,name:V=V.replace(/V\./g,"variables.")}}function p(t){return t&&t.JVV&&t.JVV.Mf}function v(t,V,n,i,e){return n||2===V?t:(1===V&&(i+=1,--e),Math.max(i,Math.min(t,e)))}function j(t){var V,n,V,i,e,c,V=t.calcSource,n=V.getValue(t.id,"parentId"),V=V.getShapeById(n),i=V&&V.shapes;if(i)for(e=0,c=i.length;e<c;e++)if(i[e].id===t.id)return e+1;return-1}function b(t,V,n){var n=n/u;return s(t*c(n),V*r(n))}function L(t,V,n,i){var e;return V-t*(i?r:c)(n)}function m(t,V,n,i){var e;return t+V*(i?r:c)(n)}function C(t,V){var n=this;n.id=V,n.calcSource=t}function R(t,V,n){this.Zc=t,this.WK=V,this.source=n}function M(t,V){var n,t,n,t=S(t,null,!0,{},V);return 0===t.length?null:t}function I(t){return t instanceof d.Expression}function _(t){return 1===t.type}function E(t){return 8===t.type}function P(t){return 9===t.type}function D(t){return 7===t.type}function F(t){return 22===t.type}function S(V,t,n,i,e){for(var c,r,r,s,r,r,c=[];12===V.type;)V=V.value;for(;10===V.type;)V=V.value;for(;12===V.type;)V=V.value;if(13===V.type){if((r=V.getRange(0,0,!0))===h)return;V=1===r.rowCount&&1===r.colCount?(0,d.knt)(V.source,h,r.row,r.col,!1,!1):(0,d.lJ)(V.source,h,r.row,r.col,r.row+r.rowCount-1,r.col+r.colCount-1,!1,!1,!1,!1)}return _(V)?(r=V.source)&&r.getIdentity?(s=r.getIdentity(r,V),i[s]||(i[s]=!0,c.push({expr:V}))):r instanceof d.ErrorSource||c.push({expr:V}):E(V)?(s=(r=w(e,V.value)).id+"#"+r.name,i[s]||(i[s]=!0,c.push({expr:V}))):P(V)?(n||c.push(V),c=c.concat(S(V.value,V,n,i,e)),V.value2&&(c=c.concat(S(V.value2,V,n,i,e)))):D(V)?(n||c.push(V),(r=V.arguments)&&0<r.length&&r.forEach(function(t){c=c.concat(S(t,V,n,i,e))})):F(V)&&c.push({expr:V}),c}function X(t){var V,n,V=g.call(this)||this;return V.getEvaluatorContext=function(){var t,V,t=this,V=t.getName();return t.getContext(V)},(n=V).model=t,n.parser_=new d.Parser,n.context_=new x(t),n.Lbt=new d.CalcService,n.evaluator_=new d.Evaluator(n.Lbt),n.store_={},V}function Y(t){(this.propertySource=t)&&t.setCalcSourceModel2(this)}n=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(t,"__esModule",{value:!0}),t.PropertySourceModel=t.PropertySource=t.PropertyContext=void 0,d=V("CalcEngine"),i=V("Common"),e=V("SheetsCalc"),y=V("./dist/plugins/shape/ui/util.js"),c=Math.sin,r=Math.cos,s=Math.atan2,o=i.Common.lt.ht,a=void 0,h=null,u=108e5/Math.PI,C.prototype.setSource=function(t){this.calcSource=t},C.prototype.getExternalSource=function(t,V){var t,n,i,t=this.calcSource.getService().getExternalSource(t,V);return o(t)&&(i=(n=this.sheetSource)&&n.Mf&&n.Mf.parent)&&(0,e.isValidExternalReference)(V)?i._p.parseSource(V,n.G3):t},C.prototype.getResolvers=function(){return this.calcSource.getService().getResolvers()},C.prototype.getName=function(t){var V,n,i,i,V=this,n=w(V,t);return n.id&&n.name?(i=V.calcSource.getNode(n.id,n.name))?{type:2,value:i.value}:(i=p(V.calcSource.getShapeById(n.id)),V.WrV(i,t)):{type:5,value:"reference error"}},C.prototype.WrV=function(t,V){var t,n,t,t,t=t&&t.Uw(3);if(t)return n=(n=t.getCustomName(V))||(t=(t=t.op())&&t.getGlobalSourceModel())&&t.getSource().getCustomName(V)},C.prototype.getFunction=function(t){if(t){var V=new d.Functions.Function(t);switch(t){case"BOUND":V.evaluate=v;break;case"LISTORDER":V.evaluate=j,V.isContextSensitive=function(){return!0};break;case"A":V.evaluate=b;break;case"C":V.evaluate=L;break;case"P":V.evaluate=m;break;default:V=void 0}return V&&(V.minArgs=V.maxArgs=V.length),V}},C.prototype.getTableByName=function(t){var V,n,i,e,c,r,V=this.sheetSource&&this.sheetSource.Mf;if(!V)return h;if(i=!0,!(e=(n=V.tables)?n._bt(t,!0):h)&&(c=V.parent&&V.parent.sheets))for(r=0;r<c.length&&(!(n=c[r].tables)||!(e=n._bt(t,!0)));r++);return e||V.parent&&V.parent.Ofe(t)},C.prototype.getTableByIndex=function(t,V){var n,n,n=this.sheetSource&&this.sheetSource.Mf;return(n=n&&n.tables)?n.Hq(t,V,!0):h},C.prototype.getExternalSourceToken=function(t){return t.getName()},C.prototype.j8t=function(){return!1},C.prototype.O8t=function(){},C.prototype.R8t=function(){},C.prototype.E8t=function(t){return t},C.prototype.getReference=function(t,V){return t?this.E8t(t).getReference(V):d.Errors.Reference},x=C,t.PropertyContext=x,R.prototype.getName=function(){return this.Zc},R.prototype.getExpression=function(){return this.WK},f=R,g=d.CalcSource,n(X,g),X.prototype.getSource=function(){return this},X.prototype.getName=function(){return this.model.name},X.prototype.getCalcSourceModel=function(){return this.sourceModel},X.prototype.setCalcSourceModel2=function(t){this.sourceModel=t},X.prototype.getCalcService=function(){return this.Lbt},X.prototype.setCalcService=function(t){this.Lbt=t},X.prototype.startCalculation=function(){},X.prototype.endCalculation=function(){},X.prototype.Bde=function(t,V){!1!==t&&this.dirtyAll()},X.prototype.cyt=function(t,V,n){var i,V,e,c,i=this,V=i.getCalcObj(t,V,!1),e=V&&V.expression;e&&(c=i.getContext(t),i.KrV(V,e,n,t,c))},X.prototype.KrV=function(t,V,n,i,e){var c,r,s,d,o,a,h,u,x,a;if(V&&(c=this,r=M(V,e)))for(s=0,d=r.length;s<d;s++)a=(o=r[s].expr).source,(0,y.isExternalSource)(a)?a.cyt(t,n):F(o)?o.Iwt&&o.Iwt(t,n):_(o)?(u=(h=a&&a.getCalcSourceModel&&a.getCalcSourceModel()).getCalcObj(o,!0),c.$rV(t,u,n)):E(o)&&(a=w((x=a?{id:a.getName()}:null)||e,o.value),(u=c.getCalcObjFromNode(a,!1))?c.$rV(t,u,n):c.tdV(t,o,n,i,e))},X.prototype.tdV=function(t,V,n,i,e){var c,r,r,s,d,o,a,r,c=this,r=p(c.model.getShapeById(i)),r=r&&r.Uw(3);r&&((d=(s=c.Lbt.getGlobalSourceModel()||r.getCalcSourceModel()).getSource()).addUsedCustomName&&d.addUsedCustomName(V.value),(a=r.getCustomName(V.value))?o=r.getCalcSourceModel():(o=s,a=d.getCustomName(V.value)),a)&&(r=o.vwt(V.value,!0),c.$rV(t,r,n),c.KrV(t,a,n,i,e))},X.prototype.$rV=function(V,t,n){var i;t&&[].concat(t).forEach(function(t){t.Iwt("pathListeners",V,n)})},X.prototype.getParser=function(){return this.parser_},X.prototype.getEvaluator=function(){return this.evaluator_},X.prototype.getCurrentObjectId=function(){return this.objectId_},X.prototype.setCurrentObjectId=function(t){this.objectId_=t},X.prototype.getContext=function(t){var V=this;return t&&0<t.length?new x(V.model,t):V.context_},X.prototype.getCustomName=function(t){var V,n,n,V=this,n=t.indexOf("#");if(0<n&&(n=t.substring(0,n),V.store_[n]))return new f(t,{type:8,name:t,source:V,value:t},V)},X.prototype.getKey=function(t,V){return t+"#"+V},X.prototype.getNode=function(t,V,n){var i,e,i,i=this,e=i.store_[t];return i=!(i=(e=!e&&n?i.store_[t]={}:e)&&e[V])&&n?e[V]={}:i},X.prototype.getNodeValue=function(t,V){var t=this.getNode(t,V);return t&&t.value},X.prototype.setNodeValue=function(t,V,n,i){var e,c,r,e=this,c=e.getNode(t,V,!0),r=c.value;(c.value=n)!==r&&e.changed&&e.changed(t,V,n,r,i)},X.prototype.getCalcObj=function(t,V,n){var i,e,c,i=this,e=i.getNode(t,V,n),c=e&&e.calc;return c=!c&&n?e.calc=new d.PathCalc(i,t,V):c},X.prototype.getCalcObjFromNode=function(t,V){var n=t.id,t=t.name;return this.getCalcObj(n,t,V)},X.prototype.removeObject=function(t){var V,n,i,V=this,n=V.store_[t];for(i in n)n.hasOwnProperty(i)&&V.removeFormula(t,i);for(i in n)n.hasOwnProperty(i)&&delete n[i];delete V.store_[t]},X.prototype.clearValues=function(t,V){var n,i,e,n=this,e=n.store_[t];for(i in e)!e.hasOwnProperty(i)||0!==i.indexOf(V)||i.length!==V.length&&"."!==i[V.length]||n.removeFormula(t,i);for(i in e)!e.hasOwnProperty(i)||0!==i.indexOf(V)||i.length!==V.length&&"."!==i[V.length]||delete e[i]},X.prototype.clear=function(){this.store_={}},X.prototype.findListeners=function(t,n){var V,i,e,c;if(!t)return n;for(i=0,e=(V=t.aT).length;i<e;i++)(c=t[V[i]])&&c.forEach(function(t,V){n[V]||(n[V]=t,this.findListeners(t,n))})},X.prototype.suspendCalc=function(){this.calcSuspended=!0},X.prototype.resumeCalc=function(){this.calcSuspended=!1,this.calculateAll()},X.prototype.calculateAll=function(){var t,V,n,i,e,c,t=this;if(!t.calcSuspended)for(n in V=t.store_)if(V.hasOwnProperty(n))for(e in i=V[n])i.hasOwnProperty(e)&&(c=i[e].calc)&&c.k1&&t.calculate(c.id,c.name)},X.prototype.recalculateNode=function(t){var V,t,n,i,n,V=this,t=V.getCalcObj(t.id,t.name),n=t.expression;t&&n&&(i=V.getContext(t.id),n=V.evaluator_.evaluateExpression(n,i,a,a,t.acceptReference),V.setNodeValue(t.id,t.name,n,!0))},X.prototype.addListenersToDirty=function(t,V){for(var n=t.y3[V];n;n=n.C3)n.o_t()},X.prototype.initDelay=function(t,V){for(var n=t.y3[V];n;n=n.C3)n.delay=0},X.prototype.adjustDelayOfListeners=function(t,V,n){for(var i=t.y3[V];i;i=i.C3)i.a_t(n)},X.prototype.calculateDirtyNodes=function(t,V){for(var n,i,e,n=!1,i=t.y3[V];i;i=i.C3)0===i.delay&&((e=i.w3).recalculateNode(i),t.b_t(i,V),i.a_t(!1),n=!0);return n},X.prototype.calculateIterations=function(t,V){for(var n,i,n=t.y3[V];n;n=n.C3)(i=n.w3).recalculateNode(n)},X.prototype.clearValueCache=function(){},X.prototype.calculate=function(t,V){var n,t,n=this;n.calcSuspended||(t=n.getCalcObj(t,V))&&(t.vyt(),n.Lbt.recalculateAll(!1))},X.prototype.setValueOrFormula=function(t,V,n){var i=this;n&&"="===n[0]&&"options.textFormatOptions.text"!==V?i.setFormula(t,V,n.substring(1)):i.setValue(t,V,n)},X.prototype.setObject=function(t,V,n){var i,e,c,r,s;if(n){for(r in(i=this).setCurrentObjectId(t),c=V.length,n)n.hasOwnProperty(r)&&("object"!=typeof(s=n[r])?i.setValueOrFormula(t,e=0<c?V+r:r,s):s instanceof d.Expression?i.setExpression(t,e=0<c?V+r:r,s):i.setObject(t,e=0<c?V+r+".":r+".",s));Array.isArray(n)&&i.setValue(t,V+"isArray",!0)}},X.prototype.getExpressions=function(t,V){var n,i,e,c,r,n=this;if(n.setCurrentObjectId(t),i={},e=n.store_[t])for(c in i.id=t,e)e.hasOwnProperty(c)&&(!V||0<=c.indexOf(V))&&(n.ensureObjects(t,i,c),void 0!==(r=(r=n.getExpression(t,c))||n.getValue(t,c)))&&A(i,c,r);return i},X.prototype.ensureObjects=function(t,V,n){for(var i,e,c,r,s,d,i=V,e=n.split("."),c="",r=0;r<e.length-1;r++)c+=s=e[r],i[s]||(d=this.getValue(t,c+".isArray"),i[s]=d?[]:{}),c+=".",i=i[s]},X.prototype.getValuesForObject=function(t,V,n,i){var e,c,r,s,d,e=this;if(e.setCurrentObjectId(t),c={},r=e.store_[t])for(s in c.id=t,r)r.hasOwnProperty(s)&&(!V||0<=s.indexOf(V))&&(e.ensureObjects(t,c,s),void 0!==(d=(d=n?e.getFormula2(t,s,i):null)||e.getValue(t,s)))&&A(c,s,d);return c},X.prototype.getValue=function(t,V){return this.getNodeValue(t,V)},X.prototype.setValue=function(t,V,n){var i,e,c,r,i=this,e=i.getNode(t,V);e&&(c=e.value,r=e.calc),(r&&r.formula||c!==n)&&(i.setCurrentObjectId(t),i.removeFormula(t,V),i.setNodeValue(t,V,n),i.dirty(t,V),i.calculate(t,V))},X.prototype.getExpression=function(t,V){var t=this.getCalcObj(t,V);return t&&t.expression},X.prototype.getFormula2=function(t,V,n){var t,V,t=this.getCalcObj(t,V);return t&&t.expression&&!o(n)?(t.expression.source&&(t.expression.source.Wbt=n),V="="+this.unparseFormula(t.expression),t.expression.source&&delete t.expression.source.Wbt,V):t&&t.formula?"="+t.formula:void 0},X.prototype.setFormula=function(t,V,n,i,e,c,r){var s,d,o,o,i,r,s=this,d,o=n;s.getFormula2(t,V)===(o=o&&"="!==o[0]?"="+o:o)?i&&(s.dirty(t,V),s.calculate(t,V)):(o=!1,n&&0<n.length&&("="===n[0]&&(n=n.substring(1)),s.setCurrentObjectId(t),(i=s.getContext(t)).keepUnknownFormulas=r,i.sheetSource=e,r=s.parser_.parse(i,n),i.sheetSource=void 0,this.checkAndProcessExpression(r,e))&&(s.setExpression(t,V,r,c),o=!0),o||s.removeFormula(t,V))},X.prototype.removeFormula=function(t,V){var n,t,V,n,t=this.getNode(t,V),V=t&&t.calc;V&&(V.CMt(),delete V.expression,delete V.formula)},X.prototype.setExpression=function(t,V,n,i){var e,c,r,e=this;if(e.yeV&&(c=e.getCalcObj(t,V),e.yeV({id:t,name:V,expression:c&&c.expression})),e.removeFormula(t,V),!n)return null;r=e.unparseFormula(n),c=e.getCalcObj(t,V,!0),o(i)||(c.acceptReference=i),c.formula=r,c.expression=n,c.isCalculating=!1,c.yB(),e.dirty(t,V),e.calculate(t,V)},X.prototype.unparseFormula=function(t){var V,n,V=this.getParser(),n=this.getContext();return V.unparse(n,t)},X.prototype.evaluateExpression=function(t){var V,n,V=this.getEvaluator(),n=this.getContext();return V.evaluateExpression(t,n)},X.prototype.evaluate=function(t){var V,n,i,n,V=this,n=V.getParser(),i=V.getContext(),n=n.parse(i,t);return n&&V.getEvaluator().evaluateExpression(n,i)},X.prototype.dirty=function(t,V){var t=this.getCalcObj(t,V);t&&t.vyt()},X.prototype.dirtyAll=function(t){var V,n,i,e,V,n=this.store_[t];if(n)for(i in n)n.hasOwnProperty(i)&&(e=n[i].calc)&&e.vyt()},X.prototype.checkAndProcessExpression=function(t,V){var n,i,e,n=this;if(!t)return!1;if(1===t.type&&!t.source){if(!V)return!1;t.source=V}if(7===t.type){if(i=t.function,(e=t.arguments).some(function(t){return!n.checkAndProcessExpression(t,V)}))return!1;if(I(i)&&this.checkAndProcessExpression(i,V))return!1}else{if(I(t.value)&&!this.checkAndProcessExpression(t.value,V))return!1;if(I(t.value2)&&!this.checkAndProcessExpression(t.value2,V))return!1}return!0},X.prototype.getSheet=function(){},t.PropertySource=X,Y.prototype.getSource=function(){return this.propertySource},Y.prototype.Bde=function(t,V){this.propertySource.Bde(t,V)},Y.prototype.lwt=function(){return[]},Y.prototype._cV=function(){},Y.prototype.EcV=function(){},Y.prototype.getCalcObj=function(t,V){var n,i,e,i,n=this.propertySource,i=n.getContext(),e,i=w((t.source?{id:t.source.getName()}:null)||i,t.value);return n.getCalcObjFromNode(i,V)},Y.prototype.vwt=function(t,V){var n,i,e,n=this,i=null,e=t.indexOf("#");return 0<e?(i=t.substring(0,e),t=t.substring(e+1)):i=n.propertySource.getCurrentObjectId(),n.propertySource.getCalcObj(i,t,V)},Y.prototype.setCalcService=function(t){this.propertySource.setCalcService(t)},Y.prototype.getCalcService=function(){return this.propertySource.getCalcService()},Y.prototype.Ryt=function(){},t.PropertySourceModel=Y},"./dist/plugins/shape/ui/shape-alignment.js":function(O,t,V){var n,i,o,d,e,c,r,s,a,h;function u(t,V,n){var i,e,c;if(t.length<2)return[];switch(V){case 0:return i=X(t,n),t.map(function(t){return{id:t.id,offset:i-I(t,n)}});case 1:return e=T(t,n),t.map(function(t){return{id:t.id,offset:e-S(t,n)/2-I(t,n)}});case 2:return c=Y(t,n),t.map(function(t){return{id:t.id,offset:c-_(t,n)}});default:return[]}}function x(t,n){var V,i,e,c,r,s,d;if((t=t.filter(function(t){return 1!==t.ttV||null===t.JVV.startConnector()&&null===t.JVV.endConnector()})).length<3)return[];for(V=X(t,n),e=((i=Y(t,n))-V-(0,o.sum)(t,function(t){return S(t,n)}))/(t.length-1),t.sort(function(t,V){return I(t,n)-I(V,n)||E(t,n)-E(V,n)}),c=[{id:t[0].id,offset:0}],r=1,s=V+S(t[0],n);r<t.length-1;r++)d=t[r],c.push({id:d.id,offset:(s+=e)-I(d,n)}),s+=S(d,n);return c.push({id:t[t.length-1].id,offset:0}),c}function y(t){var V,n,t,i,V,t,V,V=t.moveShapes,n=t.offset,t=t.direction,i=f(V,t),V=l(V,t),t=0<n?0:1,V=g(V.map(function(t){return t+n}),i,t);return M(w(V.adjacent,V.curPos,n),t)}function f(t,V){var n,t;return!Array.isArray(t)||t.length<1?[]:(t=(n=N(t[0])).getShapePartLines(t),0===V?t.hLines:t.vLines)}function l(t,V){var n;return!Array.isArray(t)||t.length<1?[]:(n=[],t.forEach(function(t){n=n.concat(F(t,V))}),n)}function g(t,V,n){for(var i,e,c,r,s,d,i=h,e={adjacent:null},c=0;c<t.length;c++)(d=A(s=C(r=t[c],V,n),r,n))<i&&(i=d,e={curPos:r,adjacent:s});return e}function A(t,V,n){return 0===n?t.next===d?h:t.next-V:t.previous===d?h:V-t.previous}function w(t,V,n){var i,e;return null===t?n:(e=t.previous===d||t.next===d?(i=s,0):(i=R(t.previous,t.next),1),0<n&&t.next-(V+n)<=i?t.next-V+n:n<0&&V+n-t.previous<=i?t.previous-V+n:0===e?n:0)}function p(t){var V,n,i,t,e,V,n,i=f(t.targetShapes,t.direction),t=t.pointerPos;return-1!==i.indexOf(t)?t:v(e=C(t,i),t)}function v(t,V){return t.previous!==d&&t.next!==d?e(t.previous-V)<e(t.next-V)?t.previous:t.next:t.next!==d&&e(t.next-V)<s?t.next:t.previous!==d&&e(t.previous-V)<s?t.previous:V}function j(t){var V,n,i,t,e,c,r,s,V=t.targetShape,n=t.moveDirection,i=t.direction,t=t.boundType,e=f([V],i),c=L(V,i,t),r=C(c,e),s=b(r,n);return s!==d||(s=b(r=C(c=m(V,i,t),e),n))!==d?M(s-c,n):0}function b(t,V){return 1===V?t.previous:t.next}function L(t,V,n){return(1===n?I:_)(t,V)}function m(t,V,n){return(1===n?_:I)(t,V)}function C(t,V,n){for(var i,e,i={},e=0;e<V.length;e++){if(t<V[e])return i.next=V[e],0!==e&&(i.previous=V[e-1]),i;if(t===V[e])return 1===n?(i.next=V[e],0!==e&&(i.previous=V[e-1])):0===n?(e!==V.length-1&&(i.next=V[e+1]),i.previous=V[e]):(e!==V.length-1&&(i.next=V[e+1]),0!==e&&(i.previous=V[e-1])),i}return 0<V.length&&(i.previous=V[V.length-1]),i}function R(t,V){return(V-t)*a}function M(t,V){return(0===V?r:c)(t)}function I(t,V){return 0===V?(0,i.getActualBound)(t).left:(0,i.getActualBound)(t).top}function _(t,V){return 0===V?(0,i.getActualBound)(t).right:(0,i.getActualBound)(t).bottom}function E(t,V){return 0===V?(0,i.getActualBound)(t).top:(0,i.getActualBound)(t).left}function F(t,V){var n,t,n=t.angle%360,t=(0,o.getShapePoints)(t,n);return 0===V?t.map(function(t){return t.x}):t.map(function(t){return t.y})}function S(t,V){var t=(0,i.getActualBound)(t);return 0===V?t.right-t.left:t.bottom-t.top}function X(t,V){return 0===V?(0,n.getBoundForHoldShapes)(t,void 0,!0).left:(0,n.getBoundForHoldShapes)(t,void 0,!0).top}function Y(t,V){return 0===V?(0,n.getBoundForHoldShapes)(t,void 0,!0).right:(0,n.getBoundForHoldShapes)(t,void 0,!0).bottom}function T(t,V){var n,i,n=X(t,V),i;return(Y(t,V)-n)/2+n}function N(t){return t.JVV&&t.JVV.Mf.shapes}Object.defineProperty(t,"__esModule",{value:!0}),t.getMoveOffsetByDirection=t.getResizeTarget=t.getShapeMoveOffset=t.distribute=t.align=void 0,n=V("./dist/plugins/shape/ui/compoundShape.js"),i=V("./dist/plugins/shape/ui/shapes.js"),o=V("./dist/plugins/shape/ui/util.js"),d=void 0,e=Math.abs,c=Math.floor,r=Math.ceil,s=10,a=.2,h=Number.MAX_VALUE,t.align=u,t.distribute=x,t.getShapeMoveOffset=y,t.getResizeTarget=p,t.getMoveOffsetByDirection=j},"./dist/plugins/shape/ui/shape-parallelPath.js":function(O,t,V){var j,n,i,e,c,x,y,r,s,d,o,a;function f(t,V,n,i){var e,c,n,e=u(t,V),c=T(n,e),n=N(n,e);return{startPoint:{x:i===j.BorderType.outter?t.x-c:t.x+c,y:i===j.BorderType.outter?t.y-n:t.y+n},endPoint:{x:i===j.BorderType.outter?V.x-c:V.x+c,y:i===j.BorderType.outter?V.y-n:V.y+n}}}function l(t,V){var n=t.x,t=t.y,i=V.x,V=V.y;return{factorA:V-t,factorB:n-i,factorC:i*t-n*V}}function g(t,V){var n,i,t,e,c,V,r,s,n=t.factorA,i=t.factorB,t=t.factorC,e=V.factorA,c=V.factorB,V=V.factorC;return n*c-e*i==0||h(r=n/i,s=e/c)<.1?null:{x:(V*i-t*c)/(n*c-e*i),y:(t*e-V*n)/(n*c-e*i)}}function h(t,V){var t,V,t,n,t=d(t),V=d(V),t=Math.abs(t-V),n;return o(t,r-t)}function u(t,V){return-i(V.y-t.y,V.x-t.x)}function T(t,V){return t*e(V)}function N(t,V){return t*c(V)}function A(t,V){return y(x(t.x-V.x,2)+x(t.y-V.y,2))}function P(t,V,n){var i,e,i,e;return A(t,V)<A(t,n)?V:n}function D(t,V,n){return p(w(t,V,n))}function w(t,V,n){return(t=Y(t)).a=U(t,V,n),t.b=q(t,V,n),t}function p(t){return{startPoint:{x:t.a*c(t.startAngle)+t.center.x,y:t.b*e(t.startAngle)+t.center.y},endPoint:{x:t.a*c(t.endAngle)+t.center.x,y:t.b*e(t.endAngle)+t.center.y}}}function v(t,V,n){var i,e,c,r,s,t,d,V,o,a,d,V,d,n,h,u,i=V.center.x,e=V.center.y,c=t.startPoint.x-i,r=-(t.startPoint.y-e),s=t.endPoint.x-i,t=-(t.endPoint.y-e),d=V.a,V=V.b,o=x(s-c,2)/x(d,2)+x(t-r,2)/x(V,2),a=2*c*(s-c)/x(d,2)+2*r*(t-r)/x(V,2),d=x(c,2)/x(d,2)+x(r,2)/x(V,2)-1,V=x(a,2)-4*o*d;return V<0?null:P(n,h={x:c+(s-c)*(d=(-a+y(V))/(2*o))+i,y:-(r+(t-r)*d)+e},u={x:c+(s-c)*(n=(-a-y(V))/(2*o))+i,y:-(r+(t-r)*n)+e})}function U(t,V,n){return n===j.BorderType.outter?t.clockwise?t.a-V:t.a+V:t.clockwise?t.a+V:t.a-V}function q(t,V,n){return n===j.BorderType.outter?t.clockwise?t.b-V:t.b+V:t.clockwise?t.b+V:t.b-V}function b(t,V){var n,V,i,e,n=V.x-t.center.x,V=-(V.y-t.center.y),i=n/t.a;return 1<i?i=1:i<-1&&(i=-1),k(e=n===t.a&&0==V?0:0==n&&V===t.b?.5*r:n==-t.a&&0==V?r:0==n&&V==-t.b?1.5*r:0<V?s(i):2*r-s(i))}function k(t){var V,t,V=-t,t=2*r-t;return n(V)<n(t)?V:t}function B(t,V,n){var i,e,c,r,s,d,o,a,h,u,x,y,f,l,g,f,A,w,A,p,A,v,i=[],e=z(t,i),c=e.length,r=e[0].info,s=e[0].index;if(c<2)1===c&&(i[s]=r);else{for(d=e[1].info,o=e[1].index,a=e[c-2].index,u=G(r,h=e[c-1].info),x=d.origin===j.PointSource.arcTo,y=1;y<c;y++)f=e[y-1].info,l=e[y].info,g=e[y].index,f=S(f,l,V,n),1===y&&(i[0]={origin:j.PointSource.lineTo,point:f.startPoint}),y!==c-1?(A=e[y+1].info,A=K((w=i[e[y-1].index]).point,l,f,A,V,n),i[g]=A):u&&2!==c?1<i.length&&((A=J(f,r,d,V,n,p=i[s].point))&&(i[s]={origin:j.PointSource.lineTo,point:A},x)&&H(A,v=i[o].ellipseInfo),l.isAdditionAdded||(i[g]=F(l,A,i[a],V,n))):i[g]=F(l,f.endPoint,i[a],V,n);Z(i)}return i}function L(t,V){return t<1?V:L(t-1,C(V)).concat(L(t-1,C(V,!1)))}function m(t,V){var n,t;return t<1?V:(n=m(t-1,R(V)),t=m(t-1,R(V,!1)),n.concat(t))}function C(t,V){var n,t;return void 0===V&&(V=!0),n=I(a,t[0].x,t[1].x,t[2].x),t=I(a,t[0].y,t[1].y,t[2].y),V?M(n.firstSub,t.firstSub,3):M(n.secondSub,t.secondSub,3)}function R(t,V){var n,t;return void 0===V&&(V=!0),n=_(a,t[0].x,t[1].x,t[2].x,t[3].x),t=_(a,t[0].y,t[1].y,t[2].y,t[3].y),V?M(n.firstSub,t.firstSub,4):M(n.secondSub,t.secondSub,4)}function M(t,V,n){for(var i,e,i=[],e=0;e<n;e++)i.push({x:t[e],y:V[e]});return i}function I(t,V,n,i){return{firstSub:[V,t*n-(t-1)*V,x(t,2)*i-2*t*(t-1)*n+x(t-1,2)*V],secondSub:[x(t,2)*i-2*t*(t-1)*n+x(t-1,2)*V,t*i-(t-1)*n,i]}}function _(t,V,n,i,e){return{firstSub:[V,t*n-(t-1)*V,x(t,2)*i-2*t*(t-1)*n+x(t-1,2)*V,x(t,3)*e-3*x(t,2)*(t-1)*i+3*t*x(t-1,2)*n-x(t-1,3)*V],secondSub:[x(t,3)*e-3*x(t,2)*(t-1)*i+3*t*x(t-1,2)*n-x(t-1,3)*V,x(t,2)*e-2*t*(t-1)*i+x(t-1,2)*n,t*e-(t-1)*i,e]}}function Z(t){for(var V=0;V<t.length;V++)t[V].origin===j.PointSource.fixed&&t[V-1]&&(t[V].point=Y(t[V-1].point))}function H(t,V){var n,t,n;E(V)||(t=b(V,t),V.startAngle=t)}function E(t){var V=2*r;return!!(t.clockwise&&t.startAngle-t.endAngle>=V)||!t.clockwise&&t.endAngle-t.startAngle>=V}function F(t,V,n,i,e){var c,r,c={origin:t.origin,point:V};return t.origin!==j.PointSource.arcTo||(c.ellipseInfo=w(t.ellipseInfo,i,e),r=E(c.ellipseInfo))||(c.ellipseInfo.startAngle=b(c.ellipseInfo,n.point),c.ellipseInfo.endAngle=b(c.ellipseInfo,V)),c}function S(t,V,n,i){return V.origin===j.PointSource.lineTo?f(t.point,V.point,n,i):D(V.ellipseInfo,n,i)}function z(t,i){var e=[];return t.forEach(function(t,V,n){Q(n[V-1],n[V])?i[V]={origin:j.PointSource.fixed}:e.push({index:V,info:Y(t)})}),e}function Q(t,V){return V.origin===j.PointSource.arcTo&&(0===V.ellipseInfo.a||0===V.ellipseInfo.b)||!(!t||V.origin!==j.PointSource.lineTo||!X(t.point,V.point)&&!W(t.point,V.point))}function G(t,V){return X(t.point,V.point)}function J(t,V,n,i,e,c){var r,s,c,d;return n.origin===j.PointSource.arcTo?v(t,r=w(n.ellipseInfo,i,e),c):g(s=l(t.startPoint,t.endPoint),d=l((c=S(V,n,i,e)).startPoint,c.endPoint))}function X(t,V){return t.x===V.x&&t.y===V.y}function W(t,V){return n(t.x-V.x)<.1&&n(t.y-V.y)<.1}function K(t,V,n,i,e,c){var r,s,d,o,a,i,h,u,t,d;return V.origin===j.PointSource.lineTo&&i.origin===j.PointSource.arcTo?(r=v(n,w(i.ellipseInfo,e,c),n.endPoint),{origin:j.PointSource.lineTo,point:r||n.endPoint}):V.origin===j.PointSource.lineTo&&i.origin===j.PointSource.lineTo?(a=g(s=l(n.startPoint,n.endPoint),o=l((d=f(V.point,i.point,e,c)).startPoint,d.endPoint)),{origin:j.PointSource.lineTo,point:a||n.endPoint}):V.origin===j.PointSource.arcTo&&i.origin===j.PointSource.lineTo?(d=f(V.point,i.point,e,c),h=E(i=w(V.ellipseInfo,e,c)),t=b(i,t),d=b(i,a=(r=v(d,i,n.endPoint))||n.endPoint),h||(i.startAngle=t,i.endAngle=d),{origin:j.PointSource.arcTo,point:a,ellipseInfo:i}):{origin:j.PointSource.arcTo,point:n.endPoint,ellipseInfo:w(V.ellipseInfo,e,c)}}function Y(t){return JSON.parse(JSON.stringify(t))}Object.defineProperty(t,"__esModule",{value:!0}),t.getSubBezierPoints=t.getSubQuaBezierPoints=t.getParallelPathPoints=t.getLineArcIntersect=t.getArcPath=void 0,j=V("./dist/plugins/shape/shape.interface.js"),n=Math.abs,i=Math.atan2,e=Math.sin,c=Math.cos,x=Math.pow,y=Math.sqrt,r=Math.PI,s=Math.acos,d=Math.atan,o=Math.min,a=.5,t.getArcPath=p,t.getLineArcIntersect=v,t.getParallelPathPoints=B,t.getSubQuaBezierPoints=L,t.getSubBezierPoints=m},"./dist/plugins/shape/ui/shapes.js":function(c,j,t){var s,T,N,o,P,D,w,I,_,a,U,d,q,h,k,B,Z,H,r,z,Q,G,J,W,K,$,tt,Vt,nt,E,it,F,v,S,b,et,u,i,x,ct,rt,st,dt,ot,at,ht,ut,xt,yt,ft,lt,e,gt,At,wt,pt,vt,jt,bt,Lt,X,Y,y,O,L,f,l,mt,m,Ct,Rt,Mt,It,_t,g,Et,Ft,St,Xt,Yt,Ot,Tt,Nt,Pt,Dt;function A(t){return parseInt(t,16)}function Ut(t,V){var V,n,V=V?j.VARIABLE_RECT_SIZE_IN_TOUCH:j.VARIABLE_RECT_SIZE,n=O(V,jt+2*bt);return r(t,n,V,V,V)}function qt(t,V){return y(t[1],O(t[0],V))}function kt(t,V,n,i,e){return"function"==typeof t.isPointInStroke?(t.beginPath(),t.lineWidth=e,t.rect(i.x,i.y,i.width,i.height),t.isPointInStroke(V,n)):(i.expand(e/2),t.beginPath(),t.rect(i.x,i.y,i.width,i.height),t.isPointInPath(V,n)&&(i.expand(-e),t.beginPath(),t.rect(i.x,i.y,i.width,i.height),!t.isPointInPath(V,n)))}function Bt(t,V){var t=Ct(t);return Rt.test(t)?"rgba("+A(Mt.$1)+","+A(Mt.$2)+","+A(Mt.$3)+","+V+")":t}function Zt(t,V){var n,i,e,c,r,t,t,n,V,n=Ct(t);if("#"===n[0])i=A(n.substr(1,2)),e=A(n.substr(3,2)),c=A(n.substr(5,2));else{if(!(t=t.match(It))||5!==S(t))return n;if(i=+t[1],e=+t[2],c=+t[3],0===(r=+t[4]))return n}return t=[i,e,c],(n=_t[V])&&(t=[(V=nt.Cv({r:i,g:e,b:c},n)).r,V.g,V.b]),r&&t.push(r),(r?"rgba(":"rgb(")+t.join(",")+")"}function p(t,V){var n,i,t,n=F(t.color,V);return n&&(i=0,n=Bt(n,1-(i=(t=t.transparency)!==Y&&t!==X?F(t,V):i))),n}function Ht(t){var V,n,V="ui-parse-color-cache";return t[V]||((n=w.Color.fromString(t.color)).applyBrightness(t.brightness),n.transparency=t.transparency,t[V]=n.toRgbaString()),t[V]}function zt(t){var t,V,t=t,V=w.FillType.Solid;return E(t.stops)?E(t.src)||(V=w.FillType.Picture):V=w.FillType.Gradient,V}function Qt(t,V,n,i,e){var c,r,r,V,c=V.JVV&&V.JVV.Mf,r=c&&c.parent;r&&(r=r.getSparklineEx(n.name))&&(V=V.OtV||1,r.paint(t,n.value,0,0,i,e,{sheet:c,zoomFactor:V}))}function Gt(t){var t=t%360;return t=(t+360)%360}function Jt(t,V,n){var i,e,c,r,s,d,i=0,e=0,c=0,r=0;return 0<=n&&n<=90?(s=Kt(i,e,t,V,n),d=b(n),c=s*l(d),r=s*f(d)):90<n&&n<=180?(i=t,d=b(180-n),c=i-(s=Kt(i,e,0,V,180-n))*l(d),r=e+s*f(d)):180<n&&n<=270?(i=t,e=V,d=b(n-180),c=i-(s=Kt(i,e,0,0,n-180))*l(d),r=e-s*f(d)):270<n&&n<=360&&(e=V,d=b(360-n),c=i+(s=Kt(i,e,t,0,360-n))*l(d),r=e-s*f(d)),{x0:i,y0:e,x1:c,y1:r}}function Wt(t,V,n){var i,e,c,i=w.LinearGradientFillDirection,e=90-et(x(V,t)),c=n;switch(n){case i.topLeftToBottomRight:c=e;break;case i.topRightToBottomLeft:c=180-e;break;case i.bottomRightToTopLeft:c=180+e;break;case i.bottomLeftToTopRight:c=360-e}return c}function Kt(t,V,n,i,e){var n,t,i,V,e,t,n=L(n-t),t=L(i-V),i=ct(n*n+t*t),V=b(e),e=x(t,n),t=L(V-e);return i*l(t)}function $t(t,V,n,i){var e,c,e,c;return _.Common.distance(n,i,t/2<n?0:t,V/2<i?0:V)}function tV(t,V,n){var i,e,c,i=w.RadialGradientFillDirection,e=0,c=0;switch(n.direction){case i.fromCenter:c=e=.5;break;case i.fromTopLeft:c=e=0;break;case i.fromTopRight:e=1;break;case i.fromBottomLeft:c=1;break;case i.fromBottomRight:c=e=1;break;default:return}return{x:e*=t,y:c*=V}}function VV(t){return t.isPrintContext}function nV(t){var t,t,t,V,n,t=t.JVV,t=t&&t.ytV,t=t&&t.ntV;return!E(t)&&!(V=-1===t)&&!(n=109<=t&&t<=124)}function iV(t){var t=t.JVV;return t&&t.Mf&&t.Mf.BO()}function eV(t,V){var V=iV(V);V&&V.Rt(t)}function cV(t,V){var V;if(W(t))return(V=iV(V))?(V.Rt(t),V.Ot(t)):document.createElement("img")}function rV(t,V){var V=iV(V);return V&&V.qh(t)}function sV(t,V,n,i,e){i/e!==n&&(e<i/n?e=i/n:i=e*n),t.width=i,t.height=e,t.getContext("2d").drawImage(V,0,0,i,e)}function dV(t,V,n,i,e){var c,r,s,d,e,o,a,h,c,o,h,u,x,r,d,y,f,c=e.crop||{},r=e.offsetLeft||0,s=e.offsetRight||0,d=e.offsetTop||0,e=e.offsetBottom||0,o=c.left||0,a=c.right||0,h=c.top||0,c=c.bottom||0,o=o*n,h=h*i,u,x,r=r*t,d=d*V,y,f;return{sx:o,sy:h,sw:Math.max(0,n-o-a*n),sh:Math.max(0,i-h-c*i),dx:r,dy:d,dw:Math.max(0,t-r-s*t),dh:Math.max(0,V-d-e*V)}}function oV(t,V,n,i,e){var c,e,r,s,c=e%3,e=Math.floor(e/3),r=0,s=0;return 1==c?r=(t-n)/2:2==c&&(r=t-n),1===e?s=(V-i)/2:2===e&&(s=V-i),{tx:r,ty:s}}function aV(t){var V,n,V=!1,n=!1;return t===w.TextureFillMirrorType.both?n=V=!0:t===w.TextureFillMirrorType.horizontal?V=!0:t===w.TextureFillMirrorType.vertical&&(n=!0),{needMirrorX:V,needMirrorY:n}}function hV(t,V){var n,V,i,e,n=V.scaleX,V=V.scaleY,i=1,e=t.OtV;return t.TtV&&e&&(n*=e,V*=e,i=e),{scaleX:n,scaleY:V,zoomScale:i}}function uV(t,V,n,i,e,c,r,s){t.save(),r&&(t.scale(-1,1),n=-(n+e)),s&&(t.scale(1,-1),i=-(i+c)),t.drawImage(V,n,i,e,c),t.restore()}function xV(t,V,n,i,e){var e,c,e,t,V;n<1||i<1||(c=(e=aV(e)).needMirrorX,e=e.needMirrorY,t=t.getContext("2d"),g.width=2*n,g.height=2*i,uV(t,V=V,0,0,n,i,!1,!1),uV(t,V,n,0,n,i,c,!1),uV(t,V,0,i,n,i,!1,e),uV(t,V,n,i,n,i,c,e))}function yV(){var t=document.createElement("canvas");return t.width=0,t.height=0,t}function fV(t,V){var t,n,t,i,t,V,e,V,t=t.options,n;return!t||t.brightness!==V.brightness||t.contrast!==V.contrast||t.grayscale!==V.grayscale||t.blackAndWhite!==V.blackAndWhite||t.transparency!==V.transparency||(i=(t=t.duotone)&&t.color1,t=t&&t.color2,e=(V=V.duotone)&&V.color1,V=V&&V.color2,i!==e)||t!==V}function lV(t,V,n,i){var e,c,r,e=t.bufferCanvas,c=t.options,r=V.src;if(t.bufferCanvasIsDirty)return!0;if(!e.width||!e.height)return!0;if(V.tilePictureAsTexture!==c.tilePictureAsTexture)return!0;if(V.transparency!==c.transparency)return!0;if(!0===V.tilePictureAsTexture&&V.mirrorType!==c.mirrorType)return!0;if(!1===V.tilePictureAsTexture){if((e.width<n||e.height<i)&&$(r))return!0;if(fV(t,V))return!0}return!1}function gV(t,V,n,i){var e,c,r,s,d,o,c,r,e=t.bufferCanvas,c=t.imgWidth,r=t.imgHeight,s=V.src,d;lV(t,V,n,i)&&e instanceof HTMLCanvasElement&&(o=c/r,V.tilePictureAsTexture?(xV(g,t.originSource,c,r,V.mirrorType),e.width=2*c,e.height=2*r,e.getContext("2d").drawImage(g,0,0)):(c=c,r=r,$(s)&&(c=1.5*Math.max(c,n),r=1.5*Math.max(r,i)),sV(e,t.originSource,o,c,r)),(0,U.applyPictureFormat)(e,V),t.options=XV(V),t.bufferCanvasIsDirty=!1,t.fillModeBufferCanvas={})}function AV(t,V){var n,t,i;t.fillModeBufferCanvas||(t.fillModeBufferCanvas={}),(n=t.fillModeBufferCanvas)[V]||(t=t.bufferCanvas,(i=document.createElement("canvas")).width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0),(0,U.applyPictureFormat)(i,{fillMode:V}),n[V]=i)}function wV(t,V,n,i,e,c,r,s){var d,o,e,c,a,h,u,x,d=g,o=d.getContext("2d"),e=O(V.width*e,1),c=O(V.height*c,1);for(0<(n%=e)&&(n-=e),0<(i%=c)&&(i-=c),h=s-i,d.width=a=r-n,d.height=h,o.drawImage(V,0,0,e,c),u=e,x=c;u<a||x<h;)o.drawImage(d,0,0,u,x,u,0,u,x),o.drawImage(d,0,0,u*=2,x,0,x,u,x),x*=2;t.drawImage(d,-n,-i,r,s,0,0,r,s)}function pV(t,V){return p(t,V)}function vV(t,V,n,i,e,c,r){var n,i,n,s,d;if(!E(e.direction))return s=$t(n,i,i=(n=tV(n,i,e)).x,n=n.y),d=t.createRadialGradient(i+=c,n+=r,0,i,n,s),e.stops.forEach(function(t){d.addColorStop(t.position,Ht(t))}),d}function jV(t,V,n,i,e,c,r){var s,d,e,n,i,s,e,o;if(E(e.angle)||(s=Gt(e.angle)),E(e.direction)||(s=Wt(n,i,e.direction)),E(e.stops)||(d=e.stops),!E(s))return n=(e=Jt(n,i,s)).x0,i=e.y0,s=e.x1,e=e.y1,o=t.createLinearGradient(n+c,i+r,s+c,e+r),d.forEach(function(t){o.addColorStop(t.position,Ht(t))}),o}function bV(t,V,n,i){var e,c,r,c,r,s,n,i,n,d,o,a,h,u,x,y,e=0;for(V.angle&&(e=V.angle),c=t.left+n/2,r=t.top+i/2,c=t.left-c,r=t.top-r,s=f(b(e))*O(n,i),n=l(b(e))*O(n,i),i=c+L(n),n=r+L(s),90<e&&e<270&&(d=c,c=i,i=d),180<e&&(d=r,r=n,n=d),o=LV().createLinearGradient(c,r,i,n),a=V.stops,h=0,u=S(a);h<u;h++)x=F(a[h].color,t),y=F(a[h].position,t),o.addColorStop(y,x);return o}function LV(){var t,V,t=Ft;return t||((V=it("canvas")).hidden=!0,V.width=1,V.height=1,document.body.appendChild(V),Ft=t=(Et=V).getContext("2d")),t}function mV(t,V,n,i,e){var c,r,s,d;V&&(c=-i/2,r=-e/2,nV(n)&&(i=(s=n.kg).width,e=s.height,c+=s.left,r+=s.top),t.save(),V.type===w.GradientFillType.linear?d=jV(t,n,i,e,V,c,r):V.type===w.GradientFillType.radial&&(d=vV(t,n,i,e,V,c,r)),d&&(t.fillStyle=d,t.fill()),t.restore())}function CV(t,V,n,i,e,c,r){var c,r,i,e,V,s,d,o,a,r,c=c.fillModeBufferCanvas[r],r=dV(i,e,c.width,c.height,V),i=r.sx,e=r.sy,V=r.sw,s=r.sh,d=r.dx,o=r.dy,a=r.dw,r=r.dh;t.drawImage(c,i,e,V,s,d,o,a,r)}function RV(t,V,n,i,e,c,r){var s,d,o,a,h,n,V,u,n,a,h,o,a,s=V.offsetX,d=V.offsetY,o=V.alignment,a=c.imgWidth,h=c.imgHeight,n=hV(n,V),V=n.scaleX,u=n.scaleY,n=n.zoomScale,a=oV(i,e,a*V,h*u,o),h=a.tx,o=a.ty,a=c.fillModeBufferCanvas[r];h+=s*n,o+=d*n,V&&u?VV(t)?wV(t,a,h,o,V,u,i,e):(t.save(),t.translate(h,o),t.scale(V,u),t.fillStyle=t.createPattern(a,"repeat"),t.fill(),t.restore()):(t.fillStyle="transparent",t.fill())}function MV(t,V,n,i,e,c,r){var s,d,c,o,o,s=V.src,d=n[c];if((d=d&&0===d.type?d:n[c]={type:0,bufferCanvas:yV()}).options&&d.options.src===s||(d.originSource=cV(s,n),d.options=XV(V),d.originSourceIsDirty=!0),d.originSourceIsDirty){if(!rV(s,n))return;if(c=d.originSource,st.mozilla&&0===c.naturalWidth&&0===c.naturalHeight&&K(s)&&(o=Vt(s)))return void eV(V.src=o,n);if(!(o=tt(c,s)).width||!o.height)return;d.imgWidth=o.width,d.imgHeight=o.height,d.originSourceIsDirty=!1,d.bufferCanvasIsDirty=!0}gV(d,V,i,e),AV(d,r),_V(t,V,n,i,e,d,r)}function IV(t,V,n,i,e,c,r){var s,d,c,s=V.src,d=n[c];(d=d&&1===d.type?d:n[c]={type:1,originSource:yV(),bufferCanvas:yV()}).options&&d.options.src===s&&d.imgWidth===i&&d.imgHeight===e||(d.options=XV(V),(c=d.originSource).width=i,c.height=e,Qt(c.getContext("2d"),n,s,i,e),d.imgWidth=i,d.imgHeight=e,d.bufferCanvasIsDirty=!0),gV(d,V,i,e),AV(d,r),_V(t,V,n,i,e,d,r)}function _V(t,V,n,i,e,c,r){var s,d,s=V.tilePictureAsTexture;t.save(),t.clip(),t.translate(-i/2,-e/2),nV(n)&&(d=n.kg,t.translate(d.left,d.top),i=d.width,e=d.height),(s?RV:CV)(t,V,n,i,e,c,r),t.restore()}function EV(t,V,n,i,e,c,r){var s=V.src;r=r||"norm",W(s)?MV(t,V,n,i,e,c,r):(0,_.isSparkLineValue)(s)?IV(t,V,n,i,e,c,r):(t.save(),t.fillStyle="transparent",t.fill(),t.restore())}function FV(t,V,n,i,e,c,r){var s,d;V&&((s=zt(V))===w.FillType.Solid?(""===(d=pV(V,n))&&(d="transparent"),c&&(d=c(d)),t.fillStyle=d,t.fill()):s===w.FillType.Gradient?mV(t,V,n,i,e):s===w.FillType.Picture&&EV(t,V,n,i,e,At,r))}function SV(t,V,n){var i,n,i=j.MIN_LINE_WIDTH;return E(n)||(i*=n),0<(n=t.width)?e(Math.max(i,n*V)):0}function C(t,V,n,i,e,c){var r,s,d,s,i,e,c,s;V&&(r=Y,r=(r=(s=V.gradient)&&0===s.type?bV(n,s,i,e):r)||p(V,n),d=n.TtV&&n.OtV||1,0<(s=SV(V,d=E(c)?d:c,c))&&(t.lineWidth=s),(i=F(V.dashType,n))&&S(i)&&(e=i.map(function(t){return t*d}),t.setLineDash(e)),(c=F(V.capType,n))&&(t.lineCap=c),(s=F(V.joinType,n))&&(t.lineJoin=s),r)&&(t.strokeStyle=r,t.stroke())}function R(t){return JSON.parse(JSON.stringify(t))}function XV(t){var V=R(t);return V.src=t.src,V}function YV(t,V,n,i,e){var c,c,V;V&&((c=F(V.blur,n))!==X&&(t.shadowBlur=c),V.color&&(t.shadowColor=p(V,n)),V.angle||V.distance)&&((c=F(V.angle,n))===X&&(c=90),(V=F(V.distance,n))===X&&(V=1),t.shadowOffsetX=V*l(b(c)),t.shadowOffsetY=V*f(b(c)))}function OV(t,V,n,i,e,c){var r,s,d,o,a,h,o,d;if(V&&(r=V.reflection)){for(h in s=F(r.distance,n),isNaN(s)&&(s=1),d=n.originalHeight,o=F(r.size,n),isNaN(o)||(d=o),t.save(),t.beginPath(),n.renderPath(t,V,i,e,!1,!1,!1),t.translate(0,s+n.height),t.scale(1,-1),t.clip(-i/2,s-d,i,O(2*s,n.top)+e),a={type:1},V.fill)a[h]=V.fill[h];o=.8,d=F(r.transparency,n),isNaN(d)||(o*=d),a.transparency=o,FV(t,a,n,i,e),hn(t,V.stroke,n,c),t.restore()}}function TV(t,V,n,i,e){var c,r;V&&(c=F(V.size,n),YV(t,r={blur:c=isNaN(c)?5:c,color:p(V,n),distance:0},n,i,e))}function NV(n,t,V,i,e){var c,e,r,s,d,o,a,h,u,x,y,u,f,l,g,A,w,l,p,v,j,b,L,m,C,u,R,c,u,i,f,f,i,u,i,f,L,e,u,M,f,c=t.JVV;return V?(e=E(e)?F(V.text,t):e,e=(e=""+(e=E(e)?"":e)).replace(/\t/g," "),d=r=F(t.width,t),o=s=F(t.height,t),h=a=0,(u=t.textRect)&&(x=u.width,y=u.height,a=u.left,h=u.top,r=x,s=y),f=(u=!E(i)||t.TtV)&&(i||t.OtV)||1,l=F(V.margins,t),g=(t.MeV=l=l||{left:10,top:5,right:10,bottom:5}).left*f,A=l.right*f,w=l.top*f,l=l.bottom*f,p=(p=F(V.verticalAlignment,t))||0,(!(v=F(V.horizontalAlignment,t))||2<v)&&(v=0),m=b=j=0,"vertical"===(L=(L=F(V.textDirection,t))===X?"horizontal":L)||"rotate90"===L?m=90:"rotate270"===L&&(m=270),(C=F(V.font,t))&&(u&&(C=(u=c&&c.Mf)?E(i)?u.Dn._n(C):I.W.V(C,i).font:((R=parseFloat(_.Common.getFontSize(C)))*f).toFixed(2)+C.substr(C.indexOf("px "))),Z(n,C),C=n.font),o<(c=_.Common.getFontHeight(C))?0===p?y=s-w:1===p?y=s:2===p&&(y=s-l):y=s-w-l,i=(u=n.measureText("W").width)+g+A,1===v?r<=u?A=g=0:r<i&&(A=(f=r-u)-(g=g/(g+A)*f)):r<i&&u+g<r?A=r-u-g:r<u+g&&u<r?(g=O(3,r-u),A=0):r<u&&(g=3,A=0),(x=r-g-A)<=0||y<=0?void 0:(f="top",i="start",0===m?(0!==p&&(1===p?b=y/2:2===p&&(b=y)),1===v?(i="center",j=x/2):2===v&&(i="right",j=x)):(2===v?b=-x/2+A:1!==v&&0===v&&(b=x/2-g),0===p?j=-y/2+w:1===p?i="center":2===p&&(i="right",j=y/2-l)),n.textAlign=i,n.textBaseline=f,u="horizontal"===L?x:y,i=V.wrapTextInShape?DV(e,u,V.wrapNewLineOnly,C):DV(e,u,!0,C),(f=S(i))&&(L=c*f,b-=m?L/2*(2-v):L/2*p),e=g+a-d/2,u=h-o/2,o<c&&0!==p||(u+=w),0===m&&(j+=e,b+=u),V.resizeToFitText&&!V.wrapTextInShape&&(M=(M=i.reduce(function(t,V){return Math.max(t,n.measureText(V).width)},0))+g+A),{font:C,textHeight:c,width:r,height:s,xOffset:e,yOffset:u,w:x,h:y,angle:m,lines:i,x:j,y:b,textFitHeight:f=(0<(f=c*S(i))?f:c)+w+l,textFitWidth:V.wrapTextInShape?F(t.width,t):M})):Y}function PV(t,V,n,i){var i,e,c,r,s,d,o,a,h,u,x,y,f,i,e,l,g,e,i,e,A,w,p;if(F(n.text,V)&&(i=NV(t,V,n,i),!E(i))){for(e=i.font,c=i.textHeight,r=i.width,s=i.height,d=i.xOffset,o=i.yOffset,a=i.w,h=i.h,u=i.angle,x=i.lines,y=i.x,f=i.y,i=V.JVV,g=c/2-(e=parseFloat(_.Common.getFontSize(e)))/2+(l=8<e?Math.floor((e-8)/5+2):1)-1,t.save(),t.beginPath(),(e=i&&i.flipX)&&t.scale(e?-1:1,1),FV(t,n.fill,V,r,s),C(t,n.stroke,V,r,s),i=n.shadow,e=n.glow,i?YV(t,i,V,r,s):e&&TV(t,e,V,r,s),(A=F(n.allowTextToOverflowShape,V))||(t.rect(d,o,a,h),t.clip()),0!==u&&t.rotate(b(u)),w=0,p=S(x);w<p;w++)n.fill&&t.fillText(x[w],y,f+g/2),n.stroke&&t.strokeText(x[w],y,f+g/2),f+=c;t.restore()}}function DV(t,V,n,i){var e,c,r,s,d,o,e=[];if(t&&0<S(t)){if(c=t.split(/\r\n|\r|\n/),n)return c;for((r=LV()).save(),i&&(r.font=i),s=0,d=S(c);s<d;s++)(o=UV(r,c[s],V))&&(0===S(o)?v(e,""):o.forEach(function(t){v(e,t)}));r.restore()}return e}function UV(t,V,n){var i,e,c,r,s,d,o,a,h,u,x,y,i=(0,I.zt)(V),e=[],c="",r=0;if(1===V.length)return[V];for(s=0,d=S(i);s<d;s++)if(o=i[s],a=t.measureText(o).width,n<r+(h=t.measureText(o.trim()).width)&&0<r)v(e,c.trim()),r=0,c="",s--;else if(n<h){for(u=qV(t,i[s],n,a),x=void 0,x=0;x<u.length-1;x++)v(e,u[x]);y=u[x],r=t.measureText(y).width,c=y}else 0===r&&0===h||(r+=a,c+=o);return 0<S(c)&&v(e,c),e}function qV(t,V,n,i){var e,c,r,s,d,o,a,h,u;if(n<=0)return V?V.split(""):[];for(e=[],c=1,r=S(V),s=O(1,Math.floor(n/(i/r))),d=0;d<r;){if(a=y(s,o=r-d),h=V.substring(d,d+a),(u=t.measureText(h).width)<n)for(;a<o&&(h=V.substring(d,d+a+1),!(n<(u=t.measureText(h).width)));)a++;else if(n<u)for(;1<a&&(a--,h=V.substring(d,d+a),!((u=t.measureText(h).width)<n)););a=O(1,a),v(e,V.substring(d,d+a)),d+=a}return e}function kV(t){switch(t){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"e":case"z":return 1}}function M(t,V,n){return kV(t)?V+n:n}function BV(t,V){var n,i;if(V)for(n in V)V.hasOwnProperty(n)&&("object"!=typeof(i=V[n])?t[n]=i:(Array.isArray(i)?t[n]=B([],t[n]):t[n]=B({},t[n]),t[n]=BV(t[n],i)));return t}function ZV(t,V,n,i){var e,c,e=t.service;e?(c=e.getFormula(V,n))||e.setValueOrFormula(V,n,i):t.model[n]=i}function HV(t){return t&&t.hyperlink&&!t.isSelected}function zV(t){return!HV(t.ctV)&&GV(t)}function QV(t){var t=t.GtV;return t&&t.styleSupportInfo().supportText}function GV(t){var V=t.ctV.ttV;return 0===V||4===V&&QV(t)&&t.isSelected()}function JV(t){return t!==w.AutoShapeType.rectangle}function V(){}function n(t,V){this.scaleX=1,this.scaleY=1,this.flipX=!1,this.flipY=!1,this.visible=!0,this.angle=0,this.lrV=!1,this.CcV(t,V)}function WV(t,V){return new Ot(t,V)}function KV(t,V,n,i){var i,i,i=Math.max(i,3*n/4);return n=4*i/3,i=Math.ceil(i*Nt[V]),{angle:Tt[3*t+V],radius:i,size:[n*Pt[V],n*Pt[t]]}}function $V(t,V,n,i,e,c,r){var s,d,s,o,a,h,h,a,h,u,x,y,f,l,a,s=c.stroke,d=p(s,n),s=s.width,o=j.MIN_ARROW_LINE_WIDTH;(isNaN(s)||s<1)&&(s=1),a=n.OtV||1,h=n.TtV,E(r)?1!==a&&h&&(s*=a):(s*=r,o*=r),h=c.endPoints,d&&h&&(a=h.beginArrow,h=h.endArrow,l=y=x=u=void 0,(f=a&&a.type)&&(x=V[0],y=V[1],tn(t,x,u=Math.atan2(y.y-x.y,y.x-x.x),s,d,f,l=KV(a.widthType,a.lengthType,s,o))),f=h&&h.type)&&(x=V[(a=V.length)-1],y=V[a-2],tn(t,x,u=Math.atan2(y.y-x.y,y.x-x.x),s,d,f,l=KV(h.widthType,h.lengthType,s,o))),An(t,c.stroke,n,{width:i,height:e,lineCompoundPoints:V},!0,r)}function tn(V,t,n,i,e,c,r){var s,d,o,a,h,u,x,y,f,l,g,A,r,s=t.x,d=t.y,a=r.radius,h=r.size;if(c===w.ArrowheadStyle.oval)V.fillStyle=e,V.beginPath(),(0,_.drawEllipse)(V,s,d,h[0],h[1],0,0,m,!1),V.fill();else{if(u=[],y=x=void 0,f=5===c,3===c)for(y=Math.PI/2,l=0;l<4;l++)g=n+y*l,x=h[l%2],u.push({x:s+x*Math.cos(g),y:d+x*Math.sin(g)});else u=(A=[n-(y=r.angle),n+y]).map(function(t){return{x:s+a*Math.cos(t),y:d+a*Math.sin(t)}}),2!==c&&1!==c||(x=a*j.ARROW_STEALTH_RATIO,o={x:s+x*Math.cos(n),y:d+x*Math.sin(n)},2===c&&u.push(o)),u.splice(1,0,t);r=u.shift(),V.beginPath(),V.moveTo(r.x,r.y),u.forEach(function(t){V.lineTo(t.x,t.y)}),f?(V.save(),V.lineWidth=i,V.lineCap="round",V.lineJoin="miter",V.strokeStyle=e,V.setLineDash([]),V.stroke(),V.restore()):(V.closePath(),V.fillStyle=e,V.fill(),o&&(t.x=o.x,t.y=o.y))}}function Vn(t,V){var V,t,V,V=V?0:t.angle%360,t=(0,_.getShapePoints)(t,V,!0);return 0==V?t:(V=t.splice(0,4),{left:y.apply(Y,V),top:y.apply(Y,t),right:O.apply(Y,V),bottom:O.apply(Y,t)})}function nn(t){var V;return sn(t).sort(function(t,V){return t.left-V.left})[0].shape}function en(t){var V;return sn(t).sort(function(t,V){return V.right-t.right})[0].shape}function cn(t){var V;return sn(t).sort(function(t,V){return t.top-V.top})[0].shape}function rn(t){var V;return sn(t).sort(function(t,V){return V.bottom-t.bottom})[0].shape}function sn(t,n){return t.map(function(t){var V=Vn(t,n);return s(s({shape:t},V),{width:V.right-V.left,height:V.bottom-V.top})})}function dn(t){return E(t)||t===w.CompoundType.simple}function on(t){var t=t.ttV;return 5===t||3===t}function an(t,V){var t=SV(t,V.TtV&&V.OtV||1);return 0<t&&t%2==1}function hn(t,V,n,i){i.lineCompoundPoints?An(t,V,n,i,!1):(t.save(),an(V,n)&&dn(V.compoundType)&&!on(n)&&(t.translate(.5,.5),n.renderSinglePath(t,i)),un(t,V,n,i),t.restore())}function un(t,V,n,i){if(on(n)&&(yn(n,i,V),dn(V.compoundType))&&n.renderSinglePath(t,i),dn(V.compoundType))C(t,V,n,i.width,i.height);else switch(V.compoundType){case w.CompoundType.double:return xn(t),void gn(t,V,n,i,{parallelType:o.BorderType.inner,offsetFactor:.3,widthFactor:.3},{parallelType:o.BorderType.outter,offsetFactor:.3,widthFactor:.3});case w.CompoundType.thickThin:return xn(t),void gn(t,V,n,i,{parallelType:o.BorderType.inner,offsetFactor:.4,widthFactor:.2},{parallelType:o.BorderType.outter,offsetFactor:.2,widthFactor:.6});case w.CompoundType.thinThick:return xn(t),void gn(t,V,n,i,{parallelType:o.BorderType.inner,offsetFactor:.2,widthFactor:.6},{parallelType:o.BorderType.outter,offsetFactor:.4,widthFactor:.2});case w.CompoundType.triple:ln(t,V,n,i,.375),gn(t,V,n,i,{parallelType:o.BorderType.inner,offsetFactor:.4,widthFactor:.18},{parallelType:o.BorderType.outter,offsetFactor:.4,widthFactor:.18})}}function xn(t){VV(t)&&(t.save(),t.lineWidth=0,t.strokeStyle="transparent",t.stroke(),t.restore())}function yn(t,V,n){V.pathCommands=t.getParallelPathCommand(V.pathCommands,o.BorderType.outter,.5*n.width*t.OtV)}function fn(t,V,n,i,e){var c,r,c=i.pathCommands;"false"!==c.strokeMode&&(i=R(i),(r=R(V)).width=V.width*e.widthFactor,i.pathCommands=n.getParallelPathCommand(c,e.parallelType,V.width*e.offsetFactor*n.OtV),n.renderSinglePath(t,i),C(t,r,n,i.width,i.height))}function ln(t,V,n,i,e){var c,r,c;"false"!==i.pathCommands.strokeMode&&((r=R(V)).width=V.width*e,C(t,r,n,i.width,i.height))}function gn(t,V,n,i,e,c){fn(t,V,n,i,e),fn(t,V,n,i,c)}function An(t,V,n,i,e,c){var r,s;if(void 0===e&&(e=!0),r=i.lineCompoundPoints,s=i.simpleConnectorLine,E(V.compoundType)||V.compoundType===w.CompoundType.simple||s)pn(t,r),C(t,V,n,i.width,i.height,c);else switch(!e||V.compoundType!==w.CompoundType.thinThick&&V.compoundType!==w.CompoundType.thickThin||(r=wn(r)),V.compoundType){case w.CompoundType.double:jn(t,V,n,i,r,{outterLineWidthFactor:.3,outterLineOffsetFactor:.3,innerLineWidthFactor:.3,innerLineOffsetFactor:.3});break;case w.CompoundType.thinThick:jn(t,V,n,i,r,{outterLineWidthFactor:.6,outterLineOffsetFactor:.2,innerLineWidthFactor:.2,innerLineOffsetFactor:.4});break;case w.CompoundType.thickThin:jn(t,V,n,i,r,{outterLineWidthFactor:.2,outterLineOffsetFactor:.4,innerLineWidthFactor:.6,innerLineOffsetFactor:.2});break;case w.CompoundType.triple:bn(t,V,n,i,r)}}function wn(t){var V,n,i;return!(t.length<2)&&(i=(V=t[t.length-1].y-t[0].y)/(n=t[t.length-1].x-t[0].x),2===t.length&&0<=i||2<t.length&&(L(t[0].x-t[1].x)<.1&&i<0||L(t[0].y-t[1].y)<.1&&0<i))?T([],t,!0).reverse():t}function pn(n,t){n.beginPath(),t.forEach(function(t,V){0===V?n.moveTo(t.x,t.y):n.lineTo(t.x,t.y)})}function vn(t,V,n){var i,e,c,i,c,r,i=s({},n),e=i.strokeOptions,c=i.points,i=i.shapePathInfo,c=c.map(function(t){return{point:t,origin:o.PointSource.lineTo}}),r;pn(t,(0,a.getParallelPathPoints)(c,n.offset*V.OtV,n.parallelType).map(function(t){return t.point})),C(t,e,V,i.width,i.height)}function jn(t,V,n,i,e,c){var r,r,r=R(V);r.width=V.width*c.outterLineWidthFactor,vn(t,n,{points:e,shapePathInfo:i,strokeOptions:r,offset:V.width*c.outterLineOffsetFactor,parallelType:o.BorderType.outter}),(r=R(V)).width=V.width*c.innerLineWidthFactor,vn(t,n,{points:e,shapePathInfo:i,strokeOptions:r,offset:V.width*c.innerLineOffsetFactor,parallelType:o.BorderType.inner})}function bn(t,V,n,i,e){jn(t,V,n,i,e,{outterLineWidthFactor:.15,outterLineOffsetFactor:.4,innerLineWidthFactor:.15,innerLineOffsetFactor:.4});var c=R(V);c.width=.3*V.width,pn(t,e),C(t,c,n,i.width,i.height)}s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},T=this&&this.__spreadArray||function(t,V,n){if(n||2===arguments.length)for(var i=0,e=V.length,c;i<e;i++)!c&&i in V||((c=c||Array.prototype.slice.call(V,0,i))[i]=V[i]);return t.concat(c||Array.prototype.slice.call(V))},Object.defineProperty(j,"__esModule",{value:!0}),j.getBottomMostShape=j.getTopMostShape=j.getRightMostShape=j.getLeftMostShape=j.getActualBound=j.drawLineShape=j.ARROW_STEALTH_RATIO=j.MAX_ARROW_WIDTH_RATIO=j.ShapeProperties=j.ShapeUI=j.createShape=j.ShapeTextEditor=j.isCanEditTextShape=j.isCanEditTextFormControlShape=j.needOpenTextEditor=j.needProcessHyperlink=j.setShapeProperty=j.composite=j.paintText=j.getPaintTextInfo=j.applySimpleStrokeOptions=j.applyFillOptions=j.applyPictureOrTextureFillOptions=j.getCtx=j.isPrintContext=j.getColorFromOption=j.expandBoundWithShapeSelected=j.RENDER_BOUND_EPSILON=j.MIN_ARROW_LINE_WIDTH=j.MIN_LINE_WIDTH=j.VARIABLE_RECT_SIZE_IN_TOUCH=j.VARIABLE_RECT_SIZE=j.EXPAND_SIZE_FOR_HIT_TEST=void 0,N=t("Common"),o=t("./dist/plugins/shape/shape.interface.js"),P=t("./dist/plugins/shape/ui/options.js"),D=t("./dist/plugins/shape/ui/path.js"),w=t("./dist/plugins/shape/drawingInterface.js"),I=t("Core"),_=t("./dist/plugins/shape/ui/util.js"),a=t("./dist/plugins/shape/ui/shape-parallelPath.js"),U=t("./dist/plugins/shape/ui/pictureFormat.js"),d=t("./dist/plugins/shape/geometryService/geometryService.js"),q=t("./dist/plugins/shape/geometryService/serviceManager.js"),h=t("./dist/plugins/shape/geometryService/controlPointService.js"),k=t("./dist/plugins/shape/textEditor/divTextEditor.js"),B=_.Common.extend,Z=_.Common.setContextFont,H=_.Common.setRectSize,r=_.Common.expandRectangle,z=_.Common.translateRectangle,Q=_.Common.calculateBoundByRects,G=_.Common.calculateRectangleCenterPoint,J=_.Common.rotateBound,W=_.Common.isBase64ImageStr,K=_.Common.isSVGBase64ImageStr,$=_.Common.isVectorBase64ImageStr,tt=_.Common.getImgNaturalSize,Vt=_.Common.fixSVGBase64ImageForFirefox,nt=N.Common.ft,E=N.Common.lt.ht,it=_.Common.createElement,F=_.Common.getOptionValue,v=_.Common.arrayPush,S=_.Common.ocV,b=_.Common.toRadius,et=_.Common.toAngle,u=_.Common.rotatePoint,i=_.Common.defineProperty,x=Math.atan2,ct=Math.sqrt,rt=I.mt.yt,st=I.mt.browser,dt=["gcSpread","shape-editor-container"],ot="gcSpread shape-editor",at="blur",ht="keydown",ut="compositionstart",xt="input",yt="copy",ft="cut",lt=2,e=Math.round,gt=Math.pow,At="pictureFillImageSource",wt=10,pt="miter",jt=17,bt=5,j.EXPAND_SIZE_FOR_HIT_TEST=Lt=vt=3,j.VARIABLE_RECT_SIZE=6,j.VARIABLE_RECT_SIZE_IN_TOUCH=20,j.MIN_LINE_WIDTH=1,j.MIN_ARROW_LINE_WIDTH=2,j.RENDER_BOUND_EPSILON=2,Y=null,y=Math.min,O=Math.max,L=Math.abs,f=Math.sin,l=Math.cos,mt=Math.ceil,m=2*Math.PI,j.expandBoundWithShapeSelected=Ut,Ct=function(t){var V;return Dt||(V=it("canvas"))&&V.getContext&&(Dt=V.getContext("2d")),Dt&&(Dt.fillStyle=t,t=Dt.fillStyle),t},Rt=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i,Mt=RegExp,It=/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d\.]+))?/,_t={darken:-.4,darkenLess:-.2,lightenLess:.2,lighten:.4},j.getColorFromOption=p,j.isPrintContext=VV,g=document.createElement("canvas"),j.getCtx=LV,j.applyPictureOrTextureFillOptions=EV,j.applyFillOptions=FV,j.applySimpleStrokeOptions=C,j.getPaintTextInfo=NV,j.paintText=PV,j.composite=BV,j.setShapeProperty=ZV,St=(0,P.getStyle)("default"),Xt=["left","top","width","height","angle","isSelected","relativeX","relativeY","relativeWidth","relativeHeight","hyperlink","range"],j.ShapeProperties=Xt,j.needProcessHyperlink=HV,j.needOpenTextEditor=zV,j.isCanEditTextFormControlShape=QV,j.isCanEditTextShape=GV,V.getInstance=function(){return this.editor||(this.editor=new V),this.editor},V.prototype.initEditor=function(t){var V,t,V=this;st.msie&&V.RQt&&V.RQt!==t?V.closeEditor():t&&GV(t)&&(I.hi.F1(t.Mf),V.RQt=t,V.Ti=t.Mf.parent.j2(),V.Ti)&&((t=V.Ti.querySelector("".concat(dt.map(function(t){return"."+t}).join(""))))?(V.FcV=t,V.feV=V.FcV.HrV):V.ScV(),V.FcV.style.display="",V.feV.focus())},V.prototype.ScV=function(){var r,s,d,o,r=this,s=r.RQt.Mf,d=s&&s.name(),o=s&&s.Qy();r.FcV=document.createElement("div"),r.FcV.className=dt.join(" "),r.feV=new k.DivTextEditor(r.FcV),r.feV.className=ot,r.FcV.HrV=r.feV,r.Ti.appendChild(r.FcV),r.XcV=function(t){var V,n,i,e,n,c;r.isOpened&&(V={},i=(n=r.RQt).name(),e=r.YcV(),(n=n.text())!==e&&(V[i]=c={oldValues:[["text",n]],values:[["text",e]]},o.execute({cmd:"submitShapeText",sheetName:d,shapes:[i],values:V})),r.TcV(),r.isOpened=!1,s.cnV()),r.RQt=null},r.YH=function(t){var V,n,i,V=t.keyCode;27===V?r.closeEditor():(n=o.getShortcutKey(V,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey),!(i=o.getCommands(n))&&s.rt.Pi(t)&&(r.showEditor(229===V?0:1),I.hi.F1(Y)))},r.PcV=function(t){r.showEditor(0)},r.Fgt=function(){r.TrV()},r.QrV=function(){var t;r.RQt&&0!==window.getSelection().toString().length&&(t=r.RQt.Mf)&&t.ieV()},r.feV.addEventListener(at,r.XcV),r.feV.addEventListener(ht,r.YH),r.feV.addEventListener(ut,r.PcV),r.feV.addEventListener(xt,r.Fgt),r.feV.addEventListener(yt,r.QrV),r.feV.addEventListener(ft,r.QrV)},V.prototype.qcV=function(t,V){var n,i,e,c,r,s,i,r,d,r,o,a,h,c,s,u,t,n=this,i=n.RQt.ctV,e=i.options&&i.options.textFormatOptions,c=F(e.margins,i),r=i.TtV,s=r&&i.OtV||1,i=F(e.font,i);i&&r&&(i=(r=n.RQt&&n.RQt.Mf)?r.Dn._n(i):((d=parseFloat(_.Common.getFontSize(i)))*s).toFixed(2)+i.substr(i.indexOf("px "))),r=_.Common.getFontHeight(i),o=(c=c||{left:10,top:3,right:10,bottom:5}).left*s,a=c.right*s,h=c.top*s,c=c.bottom*s,s=t-o-a,t=1,(u=e.fill&&e.fill.transparency)&&!isNaN(u)&&(t=1-u),n.feV.style={font:rt(i),lineHeight:"".concat(r,"px"),color:e.fill&&e.fill.color,opacity:t+"",textAlign:n.UcV(e.horizontalAlignment),verticalAlign:n.kcV(e.verticalAlignment),padding:"".concat(h,"px ").concat(a,"px ").concat(c,"px ").concat(o,"px"),width:"".concat(s,"px"),maxWidth:"".concat(s,"px"),transform:"translate(".concat(-V.x,"px, ").concat(-V.y,"px)")}},V.prototype.UcV=function(t){return 0===t?"left":1===t?"center":2===t?"right":"left"},V.prototype.kcV=function(t){return 0===t?"top":1===t?"middle":2===t?"bottom":"top"},V.prototype.BcV=function(){var t,V,n,t,i,e,t,c,t=this,V=new _.Point(0,0),n=t.RQt,t=t.RQt.Mf,i=t.Yy(2,3),e=t._y(2,3);return(0<t.frozenTrailingColumnCount()||0<t.frozenTrailingRowCount())&&(t=n.startRow(),c=n.startColumn(),t>=e[0].row&&(V.y=e.findRow(t).y,V.y+=n.startRowOffset()),c>=i[0].col)&&(V.x=i.findCol(c).x,V.x+=n.startColumnOffset()),V},V.prototype.shouldRefreshPosition=function(t,V){var n,i,e,i,n;return!!(this.RQt&&this.isOpened&&(n=this.RQt)&&(i=n.startRow(),e=n.startColumn(),i=n.Mf.C0(i),n=n.Mf.S0(e),t===i)&&V===n)},V.prototype.showEditor=function(t){var V,t,n,V=this;!V.isOpened&&V.RQt&&(V.isOpened=!0,V.DLn(),V.feV.select(t),I.hi.F1(Y),t=V.RQt,n=(0,_.getShapeStartLayer)(t),V.refreshPosition(n.scrollLeft,n.scrollTop),t.Mf.cnV())},V.prototype.refreshPosition=function(t,V){var n=this;n.VdV(t,V),n.TrV()},V.prototype.VdV=function(t,V){var n,t,V,i,e,c,r,s,d,o,a,h,d,u,x,y,f,u,l,h,d,y,o,t,c,n=this,t=t,V=V,i=n.FcV;n.RQt&&n.FcV&&n.isOpened&&(e=n.RQt.ctV,c=n.BcV(),r=n.RQt,o=(d=(s=n.RQt.Mf).Fi()).b6,a=d.T6,h=d.F6,d=d.L6,x=(u=e.textRect)?u.right-u.left:e.width,y=u?u.bottom-u.top:e.height,f=u?u.left:0,u=u?u.top:0,l=n.HcV(t,V,f,u),0!==t&&(t-=h),0!==V&&(V-=d),h=x-l.x,d=y-l.y,y=0!==c.x?c.x+f:e.left+f+o-(t||0)+l.x,o=0!==c.y?c.y+u:e.top+u+a-(V||0)+l.y,t=n.QcV(),c=r.rotate?r.rotate():0,(0,I.GC$)(i).css({width:"".concat(h,"px"),height:"".concat(d,"px"),"max-width":"".concat(h,"px"),left:"".concat(y,"px"),top:"".concat(o,"px"),overflow:"".concat(0!==l.x||0!==l.y?"hidden":"visible"),transform:"rotate(".concat(c,"deg)"),"transform-origin":"".concat(t.x-f,"px ").concat(t.y-u,"px"),"z-index":"950",position:"absolute"}),n.qcV(x,l))},V.prototype.QcV=function(){var t,V=this.RQt.ctV;return new _.Point(.5*V.width,.5*V.height)},V.prototype.TcV=function(){var t=this;t.FcV&&t.RQt&&((0,I.GC$)(t.FcV).removeAttr("style"),t.feV.style={},t.feV.text="",t.FcV.style.display="none")},V.prototype.closeEditor=function(){var t,V,V,t=this;t.RQt&&(V=(V=t.RQt)&&V.Mf)&&(t.feV.blur(),I.hi.F1(V))},V.prototype.YcV=function(){return this.feV.text},V.prototype.DLn=function(){var t,V,t=this,V=t.RQt;V&&2!==V.ctV.ttV&&(t.feV.text=V.text())},V.prototype.hP=function(){return this.feV&&this.feV.isActive},V.prototype.HcV=function(t,V,n,i){var e,c,r,s,e,s=this.RQt.ctV,c=r=0;return 0!==t&&t>s.left&&(c=t-s.left-n),0!==V&&V>s.top&&(r=V-s.top-i),new _.Point(c,r)},V.prototype.TrV=function(){var t,V,n,i,n,e,c,e,V,t=this,V=t.RQt.ctV;t.isOpened&&V&&(i=(n=V.options.textFormatOptions)&&n.resizeToFitText)&&(n=V.JVV,c=(e=V.getShapeFitTextSize(t.YcV())).height,e=e.width,V.height===c&&V.width===e||(V.resize(e,c),n.refresh(),V=(0,_.getShapeStartLayer)(n),t.VdV(V.scrollLeft,V.scrollTop)))},V.prototype.dispose=function(){var t=this;t.feV&&t.Ti&&(t.feV.removeEventListener(at,t.XcV),t.feV.removeEventListener(ht,t.YH),t.feV.removeEventListener(ut,t.PcV),t.feV.removeEventListener(xt,t.TrV),t.feV.removeEventListener(ft,t.QrV),t.feV.removeEventListener(yt,t.QrV),t.Ti.removeChild(t.FcV),t.FcV=null,t.feV=null,t.isOpened=!1,t.RQt=null)},Yt=V,j.ShapeTextEditor=Yt,n.prototype.CcV=function(t,V){var n,i,n=this;n.model=t||{},n.ttV=0,t&&("string"==typeof t.path?((i=new D.Path).parse(t.path),t.path=[i.pathCommands]):t.path&&t.path.pathCommands&&(t.path=[t.path.pathCommands])),t&&n.defineProperties(),n.setService(V),n.showConnectors=!1,n.connectionLines=[],n.initAdjustmentInfo(t),n.initGeometryService(t),n.resetPathOffset()},n.prototype.getValueResolver=function(){return null},n.prototype.initGeometryService=function(t){var V=this;V.grV=q.GeometryServiceManager.getGeometryService(t),V.ArV=V.grV?V.grV.getDependency():{}},n.prototype.initAdjustmentInfo=function(t){t&&(E(t.autoShapeType)?this.initCustomShapeAdjustmentInfo(t):this.initBuiltInAdjustmentInfo(t))},n.prototype.initBuiltInAdjustmentInfo=function(t){var t,V,t=(0,h.getPresetShapeInfo)(t.autoShapeType);t&&(V=this,t.fnDefs&&(V.F0V=t.fnDefs,V.S0V=t.fnArgs),V.YtV=t.definition.adjustInfo)},n.prototype.initCustomShapeAdjustmentInfo=function(e){var c,r,s;e&&e.controls&&0!==e.controls.length&&(c=this,r=[],e.variables=e.variables||{},s=function(t){var V={width:c.width,height:c.height};return"number"==typeof t?t:d.GeometryService.evaluatorFormula(t,V)},e.controls.forEach(function(t){var V,n,i,V;0===t.xBehavior&&(V=(0,h.getNewAdjustName)(e.variables),n=(0,h.getBoundFnInfo)(t.x,"".concat(d.VARIABLES,".").concat(V,"*width/").concat(h.ADJUSTMENT_UNIT)),t.xRef=V,t.x=n.formula,i=s(n.value)/c.width*h.ADJUSTMENT_UNIT,e.variables[V]=i,c.setVariable(t.xRef,i),r.push(V)),0===t.yBehavior&&(V=(0,h.getNewAdjustName)(e.variables),n=(0,h.getBoundFnInfo)(t.y,"".concat(d.VARIABLES,".").concat(V,"*height/").concat(h.ADJUSTMENT_UNIT)),t.yRef=V,t.y=n.formula,i=s(n.value)/c.height*h.ADJUSTMENT_UNIT,e.variables[V]=i,c.setVariable(t.yRef,i),r.push(V))}),0<r.length)&&(c.YtV=r.map(function(t){return[t,c.getVariable(t)]}))},n.prototype.defineProperties=function(){var n=this;Xt.forEach(function(V){i(n,V,{get:function(){return n.service?n.service.getValue(n.id,V):n.model[V]},set:function(t){ZV(n,n.id,V,t),n.ArV[V]&&n.resetPathOffset()}})}),i(n,"options",{get:function(){var t,V;return n.optionsCache||(V=B({},St),t=n.service?n.service.getOptions(n.id):n.model.options,n.optionsCache=BV(V,t))},set:function(t){delete n.optionsCache,n.service?n.service.setOptions(n.id,t):n.model.options=t}}),i(n,"connectionLines",{get:function(){return n.service?n.service.getConnectionLines(n.id):n.model.connectionLines},set:function(t){n.service?n.service.setConnectionLines(n.id,t):n.model.connectionLines=t}}),i(n,"parent",{get:function(){var t;return n.service?(t=n.service.getValue(n.id,"parentId"))&&n.service.getShapeById(t):n.model.parentId},set:function(t){n.service?n.service.setValueOrFormula(n.id,"parentId",t?t.id:X):n.model.parentId=t?t.id:X}})},n.prototype.getGeoProperties=function(){var V,n,V=this,n={};return Xt.forEach(function(t){V[t]!==X&&(n[t]=V[t])}),n},n.prototype.setGeoProperties=function(V){var n=this;V&&Xt.forEach(function(t){V[t]!==X&&(n[t]=V[t])})},n.prototype.getService=function(){return this.service},n.prototype.setService=function(t){var V=this,n;V.service!==t&&(V.service&&(n=V.model=V.service.getValues(V.id,"",!0),V.optionsCache)&&(n.options=V.optionsCache),V.service=t,n=V.model)&&t&&(V.id=n.id||t.getUniqueShapeId(),t.CnV=!0,t.setValues(V.id,"",n),delete t.CnV,V.model={},V.optionsCache=Y)},n.prototype.getVariable=function(t){var V=this;return V.variables&&V.variables[t]},n.prototype.setVariable=function(t,V){var n,i,n=this,i=n.variables;(i=i||(n.variables={}))[t]=V,n.resetPathOffset(),n.JVV&&n.JVV.TrV()},n.prototype.getCornerPoints=function(){return(0,_.getShapePoints)(this,this.angle)},n.prototype.getActualCornerPoints=function(){var t,V,n,i,e,c,t=this,n=t.angle;if(t.parent)for(V=t.parent;V;)V.angle&&(V.savedAngle=V.angle,V.setAngle(0)),V=V.parent;if((c=t.getCornerPoints())&&0!==n)for(i=t.getCenterPoint(t.width,t.height),e=0;e<S(c);e++)c[e]=u(c[e],i,b(t.angle));if(t.parent)for(V=t.parent;V;){if(n=V.savedAngle,!isNaN(n)&&0!==n)for(i=V.getCenterPoint(V.width,V.height),e=0;e<S(c);e++)c[e]=u(c[e],i,b(n));V=V.parent}if(t.parent)for(V=t.parent;V;)V.savedAngle&&(V.setAngle(V.savedAngle),delete V.savedAngle),V=V.parent;return c},n.prototype.getConnectorPoints=function(V,n){var t,i,e,t,i=this.connectionPoints,e=[];return e=i?i.map(function(t){return{x:V+t.x,y:n+t.y}}):e},n.prototype.getActualConnectorPoints=function(){var t,V,t=this,V=t.getConnectorPoints(e(t.left),e(t.top));return V=t.rotatePoints(V)},n.prototype.rotatePoints=function(t){var V,n,i,e,c,r,V=t.length,n=this,i=n.getShapeCenter(),e=n.angle,c=n.parent;for(c&&(e-=c.angle),r=0;r<V;r++)t[r]=u(t[r],i,b(e));return t=c?n.parent.rotatePoints(t):t},n.prototype.V0V=function(){var t,V,n,i,e,c,r,c,s,d,o,a,e,V,n,t=this,V=t.width,n=t.height,i=V/2,e=n/2,c=t.angle,r=b(c),c={},d={x:i,y:e},o=t.left,a=t.top,e=[[0,0],[i,0],[V,0],[0,e],[V,e],[0,n],[i,n],[V,n]];return c.resizePoints=e.map(function(t){return{x:(s=u({x:t[0],y:t[1]},d,r)).x+o,y:s.y+a}}),s=u({x:i,y:-20},d,r),c.rotatePoint={x:s.x+o,y:s.y+a},(V=t.controls)&&(c.adjustPoints=V.map(function(t){return{x:(s=u({x:t.x,y:t.y},d,r)).x+o,y:s.y+a}})),(n=t.connectionPoints)&&(c.connectionPoints=n.map(function(t){return{x:(s=u({x:t.x,y:t.y},d,r)).x+o,y:s.y+a}})),c},n.prototype.addConnectionLine=function(t){var V;this.connectionLines&&(V=this.connectionLines,v(V,t),this.connectionLines=V)},n.prototype.removeConnectionLine=function(t){var V,t,V=this.connectionLines,t=V.indexOf(t);0<=t&&(V.splice(t,1),this.connectionLines=V)},n.prototype.suspendResetPath=function(){this.lrV=!0},n.prototype.resumeResetPath=function(t){void 0===t&&(t=!0),this.lrV=!1,t&&this.resetPathOffset()},n.prototype.resetPathOffset=function(){var t,V,V,t=this;!t.lrV&&t.grV&&(V=t.wrV(),V=t.grV.calculate(V),t.textRect=V.textRect,t.connectionPoints=V.connectionPoints,t.controls=V.controlPoints,t.path=V.path,t.kg=V.pathRect,H(t.textRect))},n.prototype.wrV=function(){var n,i,n=this,i={};return Object.keys(n.ArV).forEach(function(t){i[t]="width"===t||"height"===t?e(n[t]):n[t]}),n.YtV&&0<n.YtV.length&&n.YtV.forEach(function(t){var t=t[0],V=n.getVariable(t);i[d.VARIABLES_SHORT_NAME+"."+t]=V,i[d.VARIABLES+"."+t]=V}),i},n.prototype.getShapeCenter=function(t){var V,n,t,i,V=this,n=V.Eot;return!t&&n||(t=V.width,i=V.height,n={x:V.left+t/2,y:V.top+i/2},V.Eot=n,V.YC=t,V.ZC=i),n},n.prototype.updateCenterData=function(){this.getShapeCenter(!0)},n.prototype.bounds=function(t,V,n,i){var e=this;e.left=t,e.top=V,e.width=n,e.height=i,e.updateCenterData()},n.prototype.move=function(t,V,n){var i=this;i.left=t,i.top=V,i.updateCenterData()},n.prototype.pcV=function(t,V){var n,i,e,n=this,i=n.width,e=n.height;n.originalWidth||(n.originalWidth=F(i,n)),n.originalHeight||(n.originalHeight=F(e,n)),i&&isNaN(i)||(n.width=t,n.scaleX=t/n.originalWidth),e&&isNaN(e)||(n.height=V,n.scaleY=V/n.originalHeight),n.resetPathOffset(),n.updateCenterData()},n.prototype.resize=function(t,V,n,i){var e,V,e=this;e.suspendResetPath(),e.resizeHeight(V,n),e.resizeWidth(t,i),(V=e.JVV)&&(V.flipX=e.width<0,V.flipY=e.height<0),e.resumeResetPath()},n.prototype.resizeHeight=function(t,V){var n,i,e,c,i,r,s,d,o,n=this,i=t-n.height,e=b(n.angle),c=f(e)*i/2,i=l(e)*i/2,r=n.getShapeCenter(!0);V?(s=u({x:n.left,y:n.top+n.height},r,e),d={x:r.x+c,y:r.y-i},o=u(s,d,-e),n.pcV(n.width,t),n.move(o.x,o.y-t,!0)):(s=u({x:n.left,y:n.top},r,e),d={x:r.x-c,y:r.y+i},o=u(s,d,-e),n.pcV(n.width,t),n.move(o.x,o.y,!0))},n.prototype.resizeWidth=function(t,V){var n,i,e,c,i,r,s,d,o,n=this,i=t-n.width,e=b(n.angle),c=l(e)*i/2,i=f(e)*i/2,r=this.getShapeCenter(!0);V?(s=u({x:n.left+n.width,y:n.top},r,e),d={x:r.x-c,y:r.y-i},o=u(s,d,-e),n.pcV(t,n.height),n.move(o.x-t,o.y,!0)):(s=u({x:n.left,y:n.top},r,e),d={x:r.x+c,y:r.y+i},o=u(s,d,-e),n.pcV(t,n.height),n.move(o.x,o.y,!0))},n.prototype.getHitTestBound=function(){return r(this.getRenderBound(!0),j.EXPAND_SIZE_FOR_HIT_TEST)},n.prototype.osV=function(){var t,V,n,i,t,t=this,V=e(t.left),n=e(t.top),i=e(t.width),t=e(t.height);return{left:V,top:n,width:i,height:t,right:V+i,bottom:n+t}},n.prototype.hitTest=function(t,V,n){var i,e,c,r,s,e,d,o,a,h,n,d,u,x,y,f,l,g,A,w,p,v,d,i=this,e=i.osV(),c=e.left,r=e.top,s=e.width,e=e.height,d=G(c,r,s,e),o=s/2+c,a=e/2+r,h=n||LV();if(h.save(),i.transformContext(h,d),n=i.isSelected,d=new _.Rect(-s/2,-e/2,s,e),u={},n&&!1!==i.canRotate&&(h.beginPath(),h.moveTo(0,-d.height/2-11),h.arc(0,-d.height/2-20,i.Oi?10:5,0,m),h.isPointInPath(t,V))&&(u.shape=i,u.type="rotate"),n&&!u.type&&(x=i.variableRects(!0))&&0<S(x))for(y=0;y<S(x);y++)if(f=x[y],h.beginPath(),h.rect(f.x-o,f.y-a,f.width,f.height),h.isPointInPath(t,V)){u.type="variablePoint",u.variableRect=f,u.shape=i;break}if(!u.type&&(d.expand(j.EXPAND_SIZE_FOR_HIT_TEST),h.beginPath(),h.rect(d.x,d.y,d.width,d.height),h.isPointInPath(t,V))){if(n&&!u.type&&!u.variableRect)for(l=i.sizeRects(c,r,s,e),y=0;y<S(l);y++)if(g=l[y],A=i.Oi?10:4,h.beginPath(),h.rect(g.x-o-A,g.y-a-A,g.width+2*A,g.height+2*A),h.isPointInPath(t,V)){u.shape=i,u.type="select",u.sizeRect=g;break}if(!u.type)for(w=i.getConnectorPoints(c,r),p=i.Oi?20:6,y=0;y<S(w);y++)if(v=w[y],h.beginPath(),h.rect(v.x-o-p/2,v.y-a-p/2,p,p),h.isPointInPath(t,V)){u.shape=i,u.type="connectPoint",u.index=y;break}n&&!u.type&&(d=i.Oi?10:6,kt(h,t,V,new _.Rect(-s/2,-e/2,s,e),d))&&(u.shape=i,u.type="border"),u.type||(u.shape=i,u.type="select")}return h.restore(),u},n.prototype.sizeRects=function(t,V,n,i){var e,c,r,t;function s(t,V,n){var t=new _.Rect(t-c,V-c,2*c,2*c);return t.type=n,t}return c=3,r=(e=this).JVV.allowResize(),t=[s(t,V,"topleft"),s(t+n/2,V,"topcenter"),s(t+n,V,"topright"),s(t,V+i/2,"middleleft"),s(t+n,V+i/2,"middleright"),s(t,V+i,"bottomleft"),s(t+n/2,V+i,"bottomcenter"),s(t+n,V+i,"bottomright")],r===o.ResizeMode.horizontal?[t[3],t[4]]:r===o.ResizeMode.vertical?[t[1],t[6]]:!1===r?[]:t},n.prototype.variableRects=function(t){var V,n,i,e,c,r,s,d,o,a,o,a,V=this,n=V.controls;if(n){for(i=t&&V.Oi?j.VARIABLE_RECT_SIZE_IN_TOUCH:j.VARIABLE_RECT_SIZE,e=V.left-i/2+.5,c=V.top-i/2+.5,r=[],s=0,d=S(n);s<d;s++)a=e+(o=n[s]).x,o=c+o.y,(a=new _.Rect(a,o,i,i)).index=s,v(r,a);return r}},n.prototype.getControlPointRange=function(t){var n=this;return t.map(function(t){var V=+t;return isNaN(V)?n.getVariable(t):V})},n.prototype.updateAdjustVariable=function(t,V){var n=this,i=n.zcV,e=n.GcV;i||(i=n.zcV={},e=n.GcV={}),e[t]||(e[t]=n.getVariable(t)),i[t]=V,n.setVariable(t,V)},n.prototype.getAdjustChanges=function(){var t,V,n,i,e,c,t=this,V=t.zcV;if(V){for(c in n=t.GcV,i=[],e=[],V)v(i,[c,V[c]]),v(e,[c,n[c]]);return t.zcV={},t.GcV={},{values:i,oldValues:e}}},n.prototype.updateAdjustValue=function(t,V,n,i,e){var c,r,t,r,c=this,r=[V],t=c.getControlPointRange([t.min,t.max]),r=(0,_.getAdjustValue)(r,n,i,e,X,t,c);r&&c.updateAdjustVariable(V,r.value)},n.prototype.updatePolarAdjustValue=function(t,V,n,i,e,c){var r,s,d,s,s,V,t,V,r=this;t.maxAngle&&(d=V[0],s=(0,_.getAdjustAngle)(r.angle,(s={x:n/2,y:i/2}).x,s.y,e,c,t.adjustInfo),s=qt(r.getControlPointRange([t.minAngle,t.maxAngle]),s),r.updateAdjustVariable(d,s)),(d=V[1])&&(V=[d+"_x",d+"_y"],t=r.getControlPointRange([t.minRadius,t.maxRadius]),V=(0,_.getAdjustValue)(V,n,i,e,c,t,r))&&(s=V.value,r.updateAdjustVariable(d,s))},n.prototype.changeVariablePoint=function(t,V){var n,i,e,c,V,V,r,t,r,t,s,d,n=this,i=n.F0V,e=n.width,c=n.height,V=V.variableRect,V=n.controls[V.index],r=n.Eot,t=u({x:t.x-r.x,y:t.y-r.y},{x:0,y:0},-b(n.angle)),r=t.x+e/2,t=t.y+c/2,s=V.aRef,d=V.rRef;s||d?n.updatePolarAdjustValue(V,[s,d],e,c,r,t):(0===V.xBehavior&&(i?n.updateAdjustValue(V,V.xRef,e,c,r):n.setVariable(V.xRef,r/e*h.ADJUSTMENT_UNIT)),0===V.yBehavior&&(i?n.updateAdjustValue(V,V.yRef,e,c,t):n.setVariable(V.yRef,t/c*h.ADJUSTMENT_UNIT)))},n.prototype.getCenterPoint=function(t,V){var n=this,i=this.getShapeCenter(),e=n.YC,c=n.ZC;return e===t&&c===V||(i=n.Eot={x:i.x+(t-e)/2,y:i.y+(V-c)/2},n.YC=t,n.ZC=V),i},n.prototype.setAngle=function(t){this.angle=t},n.prototype.transformContext=function(t,V){var n,i,e,i,V,n,n=this,i=n.JVV,e=i&&i.flipX,i=i&&i.flipY;t.translate(V.x,V.y),V=n.angle,(n=n.parent)&&(V-=n.angle),V&&t.rotate(b(V)),(e||i)&&t.scale(e?-1:1,i?-1:1)},n.prototype.transform=function(t,V,n){var i,e,c,e,V;void 0===n&&(n=!0),c=(e=(i=this).JVV)&&e.flipX,e=e&&e.flipY,t.translate(V.x,V.y),(V=i.getShapeRotate())&&n&&t.rotate(V),(c||e)&&t.scale(c?-1:1,e?-1:1)},n.prototype.getShapeRotate=function(){var t,V,t,t=this,V=t.angle,t=t.parent;return t&&(V-=t.angle),b(V)},n.prototype.acV=function(){var t,V,n,i,e,t=this;if(2===t.ttV){for(V=!0,n=0,i=t.shapes;n<i.length;n++)if(!(e=i[n]).acV()){V=!1;break}}else V=1===t.ttV||0===t.ttV&&t.JVV&&(t.JVV.type()===w.AutoShapeType.line||t.JVV.type()===w.AutoShapeType.lineInverse);return V},n.prototype.render=function(t,V,n){var i,e,c,r,s,e,d,o,a,h,h,d,u,x,y,f,l,g,A,w,A,i=this,e=i.osV(),c=e.left,r=e.top,s=e.width,e=e.height,d=G(c,r,s,e);if(s<0&&(i.width=s=-s,o=!0),e<0&&(i.height=e=-e,a=!0),(!(h=i.acV())||0!==s||0!==e)&&(h||0!==s&&0!==e)&&i.visible){if(t.save(),i.transform(t,d),i.Dn(t,s,e,V,n),(h=Yt.getInstance()).RQt===i.JVV&&h.isOpened||i.Me(t,i.options&&i.options.textFormatOptions,n),!(d=i.JVV)||d.showHandle()){if(i.paintSelection(t,c,r,s,e),!i.isSelected&&!1!==i.showConnectors&&(y=s/2,f=e/2,x=(u=i.getConnectorPoints(c,r))&&S(u)))for(l=4,t.beginPath(),g=0;g<x;g++)w=(A=u[g]).x-y-c,A=A.y-f-r,t.fillStyle="lightgrey",t.moveTo(w,A),t.arc(w,A,4,0,m),t.fill();i.renderControlPoints(t,s,e)}t.restore(),o&&(i.width=-s),a&&(i.height=-e)}},n.prototype.mrV=function(t,V){for(var n,n,i,e,c,r,s,d,o,a,h,u,x,y,f,l,i=1e6,e=this,c=0,r=1e6,s=0,d=1e6,o=1e3,a=e.wrV(),h=0;h<1e3;h++)x=(s+d)/2,a.height=u=(c+r)/2,a.width=x,V<(f=(y=e.grV.calculate(a).textRect).bottom-y.top)?r=u:c=u,t<(l=y.right-y.left)?d=x:s=x;return 1e6===s&&(s=t),{width:!1===(null==(n=null==(n=e.options)?void 0:n.textFormatOptions)?void 0:n.wrapTextInShape)?s:e.width,height:c=1e6===c?V:c}},n.prototype.getShapeFitTextSize=function(t){var V,t,V=this,t=NV(document.createElement("canvas").getContext("2d"),V,V.options&&V.options.textFormatOptions,void 0,t);return t?V.mrV(t.textFitWidth,t.textFitHeight):null},n.prototype.renderControlPoints=function(n,i,e){var t,t,V,t=this;t.isSelected&&(t=t.controls)&&(V=6,n.beginPath(),t.forEach(function(t){var V=t.x-3-i/2,t=t.y-3-e/2;n.fillStyle="yellow",n.fillRect(V,t,6,6),n.strokeStyle="grey",n.strokeRect(V,t,6,6)}))},n.prototype.paintSelection=function(t,V,n,i,e){var c,r,s,d,c=this;if(c.isSelected){for(t.strokeStyle="grey",t.lineWidth=1,t.fillStyle="white",t.beginPath(),t.strokeRect(-i/2+.5,-e/2+.5,i,e),r=c.sizeRects(V,n,i,e),s=0;s<S(r);s++)d=r[s],t.fillRect(d.x-c.left-i/2+.5,d.y-c.top-e/2+.5,d.width,d.height),t.strokeRect(d.x-c.left-i/2+.5,d.y-c.top-e/2+.5,d.width,d.height);!1!==c.canRotate&&c.JVV&&c.JVV.allowRotate()&&(t.fillStyle="grey",t.fillRect(-.5,-e/2-jt+.5,1,15),t.strokeStyle="grey",t.arc(0,-e/2-20,bt,0,m),t.arc(0,-e/2-20,3,0,m),t.stroke())}},n.prototype.renderPath=function(c,r,s,d,o,a,h,u){var x,y,t,f,V,n,l,i,x=this,y=this,t=y.path;t&&(f=S(t)-1,c.save(),l=n=!(V=2),y.JVV&&(n=(i=y.JVV.type())===w.AutoShapeType.line||i===w.AutoShapeType.lineInverse,l=JV(i)),(s<=2||d<=2)&&!n?c.strokeRect(-s/2+.5,-d/2+.5,s,d):t.forEach(function(t,V){var n,i,V,e,t,i;V===f&&r.endPoints&&l&&(i=!0,n=[]),V={pathCommands:t.pathCommands,width:s,height:d,lineCompoundPoints:"line"===t.strokeCompound||"simple"===t.strokeCompound?[]:null,simpleConnectorLine:"simple"===t.strokeCompound&&(r.stroke.compoundType===w.CompoundType.thickThin||r.stroke.compoundType===w.CompoundType.thinThick),lineWithArrow:i,linePoints:n},x.renderSinglePath(c,V),n=V.linePoints,e=t.fillMode,t=t.strokeMode,(i=V.lineWithArrow)?$V(c,n,y,s,d,r,u):"none"!==e&&(o||(i=void 0,FV(c,r.fill,y,s,d,i=e&&"norm"!==e?function(t){return Zt(t,e)}:i,e)),!a&&y.needApplyFillAfterStyleFill()&&y.applyFillAfterStyleFill(c,s,d,e),h||"false"===t)||hn(c,r.stroke,y,V),r.shadow?YV(c,r.shadow,y,s,d):r.glow&&TV(c,r.glow,y,s,d),OV(c,r,y,s,d,V)}),c.restore())},n.prototype.needApplyFillAfterStyleFill=function(){return!1},n.prototype.applyFillAfterStyleFill=function(t,V,n,i){},n.prototype.renderSinglePath=function(t,V){var n,i,e,c,r,s,d,o,a,h,u,x,y,f,l,g,A,w,p,i=0,e=0,c=0,r=0,s=-V.width/2,d=-V.height/2;for(t.beginPath(),x=0,y=S(V.pathCommands);x<y;++x)switch(f=(n=V.pathCommands[x])[0],l=n[1],g=n[2],A=n[3],w=n[4],p=n[5],f){case"V":case"v":r=M(f,r,l),t.lineTo(c+s,r+d);break;case"H":case"h":c=M(f,c,l),t.lineTo(c+s,r+d);break;case"L":case"l":c=M(f,c,l),r=M(f,r,g),V.lineWithArrow?v(V.linePoints,{x:c+s,y:r+d}):t.lineTo(c+s,r+d),V.lineCompoundPoints&&V.lineCompoundPoints.push({x:c+s,y:r+d});break;case"M":case"m":i=c=M(f,c,l),e=r=M(f,r,g),V.lineWithArrow?v(V.linePoints,{x:c+s,y:r+d}):t.moveTo(c+s,r+d),V.lineCompoundPoints&&V.lineCompoundPoints.push({x:c+s,y:r+d});break;case"B":case"C":case"c":V.lineWithArrow=!1,o=M(f,c,l),a=M(f,r,g),h=M(f,c,A),u=M(f,r,w),c=M(f,c,p),r=M(f,r,n[6]),t.bezierCurveTo(o+s,a+d,h+s,u+d,c+s,r+d);break;case"Q":case"q":case"S":case"s":V.lineWithArrow=!1,o=M(f,c,l),a=M(f,r,g),c=M(f,c,A),r=M(f,r,w),t.quadraticCurveTo(o+s,a+d,c+s,r+d);break;case"AT":case"T":V.lineWithArrow=!1,o=M(f,c,l),a=M(f,r,g),c=M(f,c,A),r=M(f,r,w),t.arcTo(o+s,a+d,c+s,r+d,L(p));break;case"A":case"a":V.lineWithArrow=!1,c=M(f,c,l),r=M(f,r,g),t.arc(c+s,r+d,L(A),w,p);break;case"E":case"e":V.lineWithArrow=!1,c=M(f,c,l),r=M(f,r,g),(0,_.drawEllipse)(t,c+s,r+d,L(A),L(w),p,n[6],n[7],n[8]);break;case"Z":case"z":V.lineWithArrow=!1,c=i,r=e,t.closePath()}},n.prototype.getParallelPathCommand=function(t,V,n){var i,t,V,i=this,t=R(t),V=i.getAllParallelPoints(t,V,n);return i.updatePathCommand(t,V),t},n.prototype.getAllParallelPoints=function(t,n,i){var e,c,r,s,d,e=this,r=[],s=[],d=[];return t.forEach(function(t){var V,V;switch(t[0]){case"M":0<s.length&&(r=r.concat((0,a.getParallelPathPoints)(s,i,n)),s=[]),e.addLinePoints(s,t),c=s[0].point;break;case"L":e.addLinePoints(s,t);break;case"E":e.addEllipsePoints(s,t);break;case"Q":e.addQuaCurvePoints(s,d,t);break;case"B":e.addBezierCurvePoints(s,d,t);break;case"Z":V=s.length,V=s[V-1].point,e.isCloseToEnd(c,V)||s.push({origin:o.PointSource.lineTo,point:c,isAdditionAdded:!0})}}),0<s.length&&(r=r.concat((0,a.getParallelPathPoints)(s,i,n))),e.replaceBezierToSubPath(t,d),r},n.prototype.replaceBezierToSubPath=function(n,t){t.forEach(function(t){var V=n.indexOf(t.originPath);n.splice.apply(n,T([V,1],t.subPath,!1))})},n.prototype.addLinePoints=function(t,V){t.push({origin:o.PointSource.lineTo,point:{x:V[1],y:V[2]}})},n.prototype.addQuaCurvePoints=function(t,V,n){var i,e,i,e,i={x:n[1],y:n[2]},e={x:n[3],y:n[4]},i=[t[t.length-1].point,i,e],e=this;V.push({originPath:n,subPath:e.createSubBezierPath("Q")}),(0,a.getSubQuaBezierPoints)(2,i).forEach(e.addBezierPoints.bind(e,t,3))},n.prototype.addBezierCurvePoints=function(t,V,n){var i,e,c,i,e,r,i={x:n[1],y:n[2]},e={x:n[3],y:n[4]},c={x:n[5],y:n[6]},i=[t[t.length-1].point,i,e,c],e=this;V.push({originPath:n,subPath:e.createSubBezierPath("B")}),(r=(0,a.getSubBezierPoints)(2,i)).forEach(e.addBezierPoints.bind(e,t,4))},n.prototype.addBezierPoints=function(t,V,n,i){i%V!=0&&t.push({origin:o.PointSource.lineTo,point:n})},n.prototype.createSubBezierPath=function(t){for(var V,n,i,V=[],n=gt(2,2),i=0;i<n;i++)V.push([t]);return V},n.prototype.addEllipsePoints=function(t,V){var V,n,V={center:{x:V[1],y:V[2]},a:V[3],b:V[4],startAngle:V[6],endAngle:V[7],clockwise:V[8]},n=(0,a.getArcPath)(V).endPoint;t.push({origin:o.PointSource.arcTo,point:n,ellipseInfo:V})},n.prototype.isCloseToEnd=function(t,V){return!(!t||!V)&&Math.abs(t.x-V.x)<.1&&Math.abs(t.y-V.y)<.1},n.prototype.updatePathCommand=function(t,V){var n=this;t.forEach(function(t){switch(t[0]){case"M":case"L":n.updateLinePoints(t,V);break;case"E":n.updateEllipsePoints(t,V);break;case"Q":n.updateQuaCurvePoints(t,V);break;case"B":n.updateBezierCurvePoints(t,V)}})},n.prototype.updateLinePoints=function(t,V){var V=V&&V.shift();V&&V.point&&(t[1]=V.point.x,t[2]=V.point.y)},n.prototype.updateQuaCurvePoints=function(t,V){var n=V&&V.shift();n&&n.point&&(t[1]=n.point.x,t[2]=n.point.y),(n=V&&V.shift())&&(n.origin===o.PointSource.fixed?(t[3]=t[0],t[4]=t[1]):n.point&&(t[3]=n.point.x,t[4]=n.point.y))},n.prototype.updateBezierCurvePoints=function(t,V){var n=V&&V.shift();n&&n.point&&(t[1]=n.point.x,t[2]=n.point.y),(n=V&&V.shift())&&(n.origin===o.PointSource.fixed?(t[3]=t[1],t[4]=t[2]):n.point&&(t[3]=n.point.x,t[4]=n.point.y)),(n=V&&V.shift())&&(n.origin===o.PointSource.fixed?(t[5]=t[3],t[6]=t[4]):n.point&&(t[5]=n.point.x,t[6]=n.point.y))},n.prototype.updateEllipsePoints=function(t,V){var V=V&&V.shift();V&&V.ellipseInfo&&(t[3]=V.ellipseInfo.a,t[4]=V.ellipseInfo.b,t[6]=V.ellipseInfo.startAngle,t[7]=V.ellipseInfo.endAngle),V&&V.point&&V.origin===o.PointSource.fixed&&(t[1]=V.point.x,t[2]=V.point.y)},n.prototype.Dn=function(t,V,n,i,e){var c,r,s,c=this,r=c.options;r&&((s=r.stroke)&&!s.color&&(s.color="transparent"),t.save(),i?(t.isPrintContext=!0,c.JVV&&c.JVV.ytV.IsSpecialShape()?c.renderPath(t,r,V,n,!1,!1,!1,e):(c.renderPath(t,r,V,n,!1,!0,!0,e),c.needApplyFillAfterStyleFill()&&c.renderPath(t,r,V,n,!0,!1,!0,e),c.renderPath(t,r,V,n,!0,!0,!1,e))):c.renderPath(t,r,V,n,!1,!1,!1),t.restore())},n.prototype.Me=function(t,V,n){var i,e,i=this,e=i.JVV;e&&e.ytV.I0i.HasTextLink()&&e.P0V(),PV(t,i,V,n)},n.prototype.erV=function(t,V){var n,i,t,n=this;if(t=t||n.options.fill,V=V||At,t&&_.Common.isBase64ImageStr(t.src))return t.src;if((t=n[V])&&1===t.type)try{i=t.originSource.toDataURL()}catch(t){}return i},n.prototype.xrV=function(){delete this[At]},n.prototype.getRenderBound=function(t){var V,t,t;return t===X&&(t=this.isSelected),V=this.asV(this.kg),t&&(t=Ut({left:0,top:0,right:this.width,bottom:this.height},this.Oi),V=Q([V,t])),V=z(V,this.left,this.top),V=r(V,j.RENDER_BOUND_EPSILON),V=0!==(t=this.getShapeRotate())?J(V,this.Eot,t):V},n.prototype.asV=function(t){var V,n,i,e,n,c,i,V=this,n=this.options.stroke,i=O(n.width,j.MIN_LINE_WIDTH),e=n.compoundType,n=n.joinType,c=mt(i/2);return t=E(e)||e===w.CompoundType.simple?r(t,n===pt?mt(10*c):c):(i=this.path.map(function(t){var t=V.getParallelPathCommand(t.pathCommands,o.BorderType.outter,c);return(0,D.getBoundByPathCommands)(t)}),Q([t,Q(i)]))},Object.defineProperty(n.prototype,"isResizing",{get:function(){return this.Eb},set:function(t){this.Eb=t},enumerable:!1,configurable:!0}),Ot=n,j.ShapeUI=Ot,j.createShape=WV,Tt=[x(1,2),x(1,3),x(1,5),x(1.5,2),x(1.5,3),x(1.5,5),x(2.5,2),x(2.5,3),x(2.5,5)],j.MAX_ARROW_WIDTH_RATIO=7,j.ARROW_STEALTH_RATIO=.6,Nt=[3,4,j.MAX_ARROW_WIDTH_RATIO],Pt=[1,1.5,2.5],j.drawLineShape=$V,j.getActualBound=Vn,j.getLeftMostShape=nn,j.getRightMostShape=en,j.getTopMostShape=cn,j.getBottomMostShape=rn},"./dist/plugins/shape/ui/util.js":function(O,n,t){var V,c,r,e,t,T,i,s,d,o,a,h,V,N,A,w,p,v,j,u,x,y,f,l,g,b,L,P,D,m,U,q,C,R,M,k,B;function Z(t,n){return t.reduce(function(t,V){var V,V=("function"==typeof n?n:Number)(V);return t+V},0)}function H(t,V){return t-V}function z(t){var V,n,V={},n=[];return t.forEach(function(t){V[t]===L&&(V[t]=t,n.push(t))}),n}function Q(t,V){return"string"===V&&0<t.length&&"="===t[0]}function I(){var t,V;y||(t=document,(V=(y=t.createElement("span")).style).position="absolute",V.left="-10000px",V.top="-10000px",t.body.appendChild(y))}function G(t){return f[t]||(y||I(),t&&(y.style.font=t),y.innerHTML="H",f[t]=y.offsetHeight),f[t]}function J(){var t=navigator.platform;return t&&-1<t.indexOf("Mac")}function W(t,V){var n,i;V&&(n=J()?(n=g[V])||(g[V]=K(V)):V,t.font=n)}function K(t){if(0<=t.indexOf(b))return t;y||I();var V=y.style;return V.font=t,V.fontFamily=[].concat(V.fontFamily.split(","),b.split(",")).join(","),V.font}function $(t){var V,n;return l[t]||(y||(V=document,(n=(y=V.createElement("span")).style).position="absolute",n.left="-1000px",V.body.appendChild(y)),t&&(y.style.font=t),y.innerHTML="H",l[t]=y.style.fontSize),l[t]}function tt(t){for(var V,n,i,e,c,r,s,V=[],n=1;n<arguments.length;n++)V[n-1]=arguments[n];for(i=Object(t),e=V.length,c=0;c<e;c++)if(null!=(r=V[c]))for(s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s]);return i}function _(t){return t/180*Math.PI}function Vt(t){return 180*t/Math.PI}function nt(t,V,n){var i,t,i,i=t.x,t=t.y,i=it({x:i-V.x,y:t-V.y},n);return{x:i.x+V.x,y:i.y+V.y}}function it(t,V){var n=Math.sin(V),V=Math.cos(V),i,e;return{x:t.x*V-t.y*n,y:t.x*n+t.y*V}}function et(t,V,n){var i;return dt([{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}].map(function(t){return nt(t,V,n)}))}function E(t){t.width=t.right-t.left,t.height=t.bottom-t.top}function ct(t,V,n){var V={left:t.left+V,right:t.right+V,top:t.top+n,bottom:t.bottom+n};return E(V),V}function rt(t,V,n,i,e){n===L&&i===L&&e===L?n=i=e=V:i===L&&e===L&&(i=V,e=n);var e={left:t.left-e,right:t.right+n,top:t.top-V,bottom:t.bottom+i};return E(e),e}function st(t,V,n){return V>=t.left&&V<=t.right&&n>=t.top&&n<=t.bottom}function dt(t){var V,n,i,e,V=Number.MAX_VALUE,n=Number.MAX_VALUE,i=Number.MIN_VALUE,e=Number.MIN_VALUE;return t.forEach(function(t){V=u(V,t.x),n=u(n,t.y),i=x(i,t.x),e=x(e,t.y)}),{left:V,top:n,right:i,bottom:e,width:i-V,height:e-n}}function ot(t){for(var V,n,i,e,c,r,V=Number.MAX_VALUE,n=Number.MIN_VALUE,i=Number.MAX_VALUE,e=Number.MIN_VALUE,c=0;c<t.length;c++)r=t[c],V=u(V,r.left),n=x(n,r.right),i=u(i,r.top),e=x(e,r.bottom);return{left:V,top:i,right:n,bottom:e,width:n-V,height:e-i}}function at(t,V,n,i){return{x:t+n/2,y:V+i/2}}function ht(t,V){var n,i,n,n=typeof t;return"function"==n?t(V):"string"==typeof t&&Q(i=t,n)&&(n=V&&V.getValueResolver())?n.getValue(i).substring(1):t}function ut(t){return JSON.parse(JSON.stringify(t))}function xt(t,V,n){n.configurable=!0,n.enumerable=!0,Object.defineProperty(t,V,n)}function yt(t){return t&&t.length}function ft(t,V,n){var i,e;if(V){if(e=[].indexOf)return e.call(V,t,n);for(i=V.length,n=(n=null==n?0:n)<0?Math.max(0,i+n):n;n<i;n++)if(void 0!==V[n]&&V[n]===t)return n}return-1}function lt(t,V){t.push(V)}function gt(t,V){var t,V,t=t,V=t.indexOf(V);0<=V&&t.splice(V,1)}function At(t){return document.createElement(t)}function wt(t,V){return+t.toFixed(V=V||3)}function pt(t,V,n,i,e,c){var r,s,n,i,t,d,r=0,s=F(n,i,e,c),n=F(n,i,t,V),i=F(t,V,e,c);if(i+n!==s){if(s<=1e-5)return r=n;if(s*s+n*n<=i*i)return r=n;if(s*s+i*i<=n*n)return r=i;t=(s+n+i)/2,r=2*(d=Math.sqrt(t*(t-s)*(t-n)*(t-i)))/s}return r}function vt(t,V){for(var n,i,n=Object.keys(t),i=0;i<n.length;i++)if(V===t[n[i]])return!0;return!1}function jt(t){return atob(t.slice(i.length))}function bt(t){var V,t;return t&&(t=(V=(new DOMParser).parseFromString(jt(t),"image/svg+xml")).documentElement)instanceof SVGSVGElement?t:void 0}function Lt(t){var V,n,t,V=0,n=0,t=bt(t);return t&&(V=t.width.baseVal.value,n=t.height.baseVal.value),{width:V,height:n}}function mt(t,V){var n,i,n="data-size-cache";return h(t[n])?((i={width:t.naturalWidth,height:t.naturalHeight}).width&&i.height||d(V)&&(i=Lt(V)),t[n]=i):t[n]}function Ct(t){var t,t,t=bt(t);if(t)return t.width.baseVal.valueAsString=t.width.baseVal.value.toString(),t.height.baseVal.valueAsString=t.height.baseVal.value.toString(),t=btoa((new XMLSerializer).serializeToString(t)),i+t}function Rt(t,V){a(t,function(t){V(t.naturalWidth,t.naturalHeight)})}function F(t,V,n,i){return wt(Math.sqrt((t-n)*(t-n)+(V-i)*(V-i)))}function S(t,V,n,i){var e=this;n<0&&(t-=n=-n),i<0&&(V-=i=-i),e.x=t,e.y=V,e.width=n,e.height=i}function X(t,V){var n=this;n.x=t,n.y=V}function Mt(){var t=this;return t._fn.apply(null,[].concat.apply([t.YC,t.ZC],arguments))}function It(t,V,n){var i;return Mt.bind({_fn:t,YC:V,ZC:n})}function Y(t,V){var V=[V].concat(t.values);return t.apply(null,V)}function _t(t,V,n,i,e,c,r){var s,c,d,o,a,h,o,u,o,x,V,n,t,y,a,o,x,n,a,f,l,g,A,w,p,v,s=c[0],c=c[1],d=c-s,o=r.F0V,a=r.S0V,h=o[t[0]],o=o[t[1]];if(h||o){if(u=It(h||o,V,n),1<(o=h?a[t[0]]:a[t[1]]).length&&(x=o.slice(1).map(function(t){return r.getVariable(t)})),u.values=x||[],y=(V=Y(u,s))-(n=Y(u,c)),a={min:x=(a=[V,n])[(o=(t=n<V)?1:0)%2],max:n=a[(1+o)%2],reversed:t},(g=h?i:e)<x)f=t?c:s;else if(n<g)f=t?s:c;else{for(v=p=0,l=(w=Y(u,A=Math.abs((g-V)*d/y)+s))-g;Math.abs(l)>m&&!(v-(l=(w=Y(u,A+=d*l/y))-g)<m)&&(v=l,!(100<++p)););f=A}return a.value=f,a}}function Et(t,V,n,i,e,c){var e=Math.atan2(e-n,i-V)*C;return c?c.toHalfCircle&&e<0?e+=M:c.toNegative&&0<e&&(e-=M):e<0&&(e+=R),e}function Ft(t,V,n,i,e,c,r,s,d){t.ellipse?t.ellipse(V,n,i,e,c,r,s,d):(t.save(),t.translate(V,n),t.rotate(c),t.scale(i,e),t.arc(0,0,1,r,s,d),t.restore())}function St(t,V,n){var i,e,c,r,s,d,e,o,a,h,s,u,x,y,f,l,g,f,i=t.left,e=t.top,c=t.width,r=t.height;if(0===(V%=360))return s=i+c,d=e+r,n?{left:i,top:e,right:s,bottom:d}:[{x:i,y:e},{x:s,y:e},{x:s,y:d},{x:i,y:d}];for(V=_(V),o=(e=t.getShapeCenter()).x,a=e.y,h=p(c*c+r*r)/2,u=[],x=[],l=[s=v(r,c),-s,j-s,j+s],g=0;g<4;g++)y=u[g]=o+h*A(f=l[g]+V),f=u[g+4]=a+h*w(f),x.push({x:y,y:f});return n?u:x}function Xt(t){for(var V,n,i,e,V=0,n=[V],i=0;i<t.getRowCount(c.SheetArea.viewport);i++)e=t.Gt(i,c.SheetArea.viewport),n.push(V+e/2),n.push(V+=e);return n}function Yt(t){for(var V,n,i,e,V=0,n=[V],i=0;i<t.getColumnCount(c.SheetArea.viewport);i++)e=t.nn(i,c.SheetArea.viewport),n.push(V+e/2),n.push(V+=e);return n}function Ot(t){return t&&"object"==typeof t&&"SparklineExValue"===t.typeName}function Tt(t){return Ot(t)&&"IMAGE"===t.name}function Nt(t){var V,n,t,n,t,V=t.Mf,n=t.startRow(),t=t.startColumn(),n=V.C0(n),t=V.S0(t);return V.shapeLayers[3*n+t]}function Pt(t,V){var n;return V&&t&&t.Lp?(n=t.Lp.parse(t.Uw(),V,0,0,!1,!1,!1),t.Lp.unparse(t.Uw(),n,0,0,!1,!1,1)):V}function Dt(t,V){var n,i;if(!h(V)&&""!==V&&"#REF!"!==V&&"=#REF!"!==V){try{n=(i=(0,e.formulaToExpression)(t.parent&&t.parent.getActiveSheet()||t,V,void 0,void 0,!1))&&qt(t,i)}catch(t){n=L}return n}}function Ut(t,V){var n,i,e;if(t&&t instanceof r.CalcReference&&1===t.SDt)return n=t.$gt[0],{cellRange:i=new c.Range(n.row,n.col,n.rowCount||1,n.colCount||1),sheet:e=t.rT&&t.rT.Mf||V}}function qt(t,V){var n,V;if(!(V.row<0||V.column<0||V.endRow<0||V.endColumn<0||void 0===V.row||void 0===V.column))return n=V.source,V=new c.Range(V.row,V.column,V.endRow?V.endRow-V.row+1:1,V.endColumn?V.endColumn-V.column+1:1),{sheet:n&&n.getSheet?n.getSheet():t,cellRange:V}}function kt(t){var V,t,V=(0,e.rangeToFormula)(t.cellRange,0,0,0),t=(0,c.i2e)(t.sheet.name());return"=".concat(t,"!").concat(V)}function Bt(t,V,n){var i,e,c;if(t){for(i={};V&&8===V.type;){if(!(e=V.value)||i[e])return;i[e]=!0,n&&t.parent&&t.parent.yC.addUsedCustomName(e),V=(c=!(c=t.getCustomName(e))&&t.parent?t.parent.getCustomName(e):c)&&c.getExpression()}return V}}function Zt(t){return t&&t.ayt&&t.cyt}function Ht(t,V,n,i,e){var c,r,s,d,n,c=t.ctV,r=c&&c.getService();r&&(d=(s=t.Mf)&&s.Uw(),r.setFormula(c.id,V,n,i,d,e,s.options.keepUnknownFormulas),t.D0V)&&d&&(n=zt(s,r.getExpression(c.id,V)))&&d.addReferenceSheetName(n.name())}function zt(t,V){var V,V;return t&&V&&1===V.type&&(V=(V=V.source)&&V.getSheet&&V.getSheet())!==t?V:void 0}function Qt(t,V){var n,n;return(n=(n=Gt(t,V))||Nt(t)).getPointer(V)}function Gt(t,V){var t,n,i,V,n,e,t=t.Mf,n=t.uw(),i=t.FL(V.pageY-n.top),V=t.PL(V.pageX-n.left),n=function(t,V,n){return V<=t&&t<=n};return e=n(i,0,2)&&n(V,0,2)?t.shapeLayers[3*i+V]:e}Object.defineProperty(n,"__esModule",{value:!0}),n.getShapeLayerByMouseEvt=n.getPointerByMouseEvt=n.getReferenceSheetByExpression=n.setFormulaImp=n.isExternalSource=n.getExpressionReferencedByNameExpr=n.getRangeFormula=n.expressionToRangeInfo=n.convertCalcReferenceToRangeInfo=n.getRangeInfo=n.addWorkSheetNameIfNeed=n.getShapeStartLayer=n.isImageSparkLineValue=n.isSparkLineValue=n.getHorizontalGridLine=n.getVerticalGridLine=n.getShapePoints=n.Common=n.drawEllipse=n.getLineShapeInGroup=n.getShapeNameList=n.getAdjustAngle=n.getAdjustValue=n.Point=n.Rect=n.distinct=n.ascSortFunc=n.sum=void 0,V=t("Common"),c=t("Core"),r=t("CalcEngine"),e=t("SheetsCalc"),t=t("./dist/plugins/shape/shape.res.en.js"),i=c.oCe.SVG_IMAGE_DATA_URL_PREFIX,s=c.oCe.isBase64ImageStr,d=c.oCe.isSVGBase64ImageStr,o=c.oCe.isVectorBase64ImageStr,a=c.oCe.loadImageElement,h=V.Common.lt.ht,N=(V=new V.Common.ResourceManager(T={en:t})).getResource.bind(V),A=Math.cos,w=Math.sin,p=Math.sqrt,v=Math.atan2,j=Math.PI,u=Math.min,x=Math.max,f={},l={},g={},b='"Helvetica Neue", Arial, sans-serif',L=void 0,n.sum=Z,n.ascSortFunc=H,n.distinct=z,S.prototype.getIntersectRect=function(t){return this.getIntersect(t.x,t.y,t.width,t.height)},S.prototype.getIntersect=function(t,V,n,i){n<0&&(t-=n=-n),i<0&&(V-=i=-i);var e=this,c=e.x,r=e.y,s=e.x+e.width,e=e.y+e.height,d=t,o=V,t=t+n,n=V+i,V=Math.max(c,d),i=Math.max(r,o),a,h,u,x,c=Math.min(s,t)-V,d=Math.min(e,n)-i;if(0<c&&0<d)return new S(V,i,c,d)},S.prototype.intersect=function(t,V,n,i){var e=this;return n<0&&(t-=n=-n),i<0&&(V-=i=-i),t<e.x+e.width&&e.x<t+n&&V<e.y+e.height&&e.y<V+i},S.prototype.expand=function(t){var V=this;V.x-=t,V.y-=t,V.width+=2*t,V.height+=2*t},n.Rect=S,X.prototype.clone=function(){var t=this;return new X(t.x,t.y)},n.Point=X,m=1e-10,U=100,n.getAdjustValue=_t,q=6e4,C=108e5/Math.PI,R=216e5,M=108e5,n.getAdjustAngle=Et,n.getShapeNameList=k=function(t){var V=[];return t.forEach(function(t){3===t.ttV?V=V.concat((0,n.getShapeNameList)(t.tin)):V.push(t.name())}),V},n.getLineShapeInGroup=B=function(t){var V=[];return t.tin.forEach(function(t){4===t.ttV&&V.push(t),3===t.ttV&&(V=V.concat((0,n.getLineShapeInGroup)(t)))}),V},n.drawEllipse=Ft,n.Common={getFontHeight:G,setContextFont:W,getFontSize:$,extend:tt,toRadius:_,toAngle:Vt,distance:F,isEnumValue:vt,isBase64ImageStr:s,isSVGBase64ImageStr:d,isVectorBase64ImageStr:o,getImgNaturalSize:mt,fixSVGBase64ImageForFirefox:Ct,getBase64ImageSize:Rt,rotatePoint:nt,rotateVector:it,rotateBound:et,setRectSize:E,translateRectangle:ct,expandRectangle:rt,pointIsInRectangle:st,calculateBoundByPoints:dt,calculateBoundByRects:ot,calculateRectangleCenterPoint:at,getOptionValue:ht,cloneOptions:ut,defineProperty:xt,ocV:yt,Rh:ft,arrayPush:lt,Array_remove:gt,createElement:At,fixNumber:wt,getPointToLine:pt},n.getShapePoints=St,n.getVerticalGridLine=Xt,n.getHorizontalGridLine=Yt,n.isSparkLineValue=Ot,n.isImageSparkLineValue=Tt,n.getShapeStartLayer=Nt,n.addWorkSheetNameIfNeed=Pt,n.getRangeInfo=Dt,n.convertCalcReferenceToRangeInfo=Ut,n.expressionToRangeInfo=qt,n.getRangeFormula=kt,n.getExpressionReferencedByNameExpr=Bt,n.isExternalSource=Zt,n.setFormulaImp=Ht,n.getReferenceSheetByExpression=zt,n.getPointerByMouseEvt=Qt,n.getShapeLayerByMouseEvt=Gt},"./dist/plugins/shape/util/sheetUtil.js":function(t,V,n){var n,s,d;function i(t,V,n){var i,e,c;if(V<0)return 0;for(e=i=0;e<V;e++)i+=t.getColumnWidth(e);return 0<(c=t.getColumnWidth(V))&&(i+=d(n,c)),i}function e(t,V,n){var i,e,c;if(V<0)return 0;for(e=i=0;e<V;e++)i+=t.getRowHeight(e);return 0<(c=t.getRowHeight(V))&&(i+=d(n,c)),i}function c(t,V,n){var i,e,c,e,r;if(V<0)return 0;if(i=0,(e=t.cdV)&&!s(e[V]))i=e[V];else for(c=0;c<V;c++)i+=t.nn(c);return e=t.zoom(),0<(r=t.getColumnWidth(V))&&(i+=d(n,r)*e),i/e}function r(t,V,n){var i,e,c,e,r;if(V<0)return 0;if(i=0,(e=t.rdV)&&!s(e[V]))i=e[V];else for(c=0;c<V;c++)i+=t.Gt(c);return e=t.zoom(),0<(r=t.getRowHeight(V))&&(i+=d(n,r)*e),i/e}function o(t,V,n){var i,e,c,r,s,d,o;if(isNaN(V))return{col:0,colOffset:0};for(s=c=e=i=0,d=t.getColumnCount(),r=0;r<d;r++){if(V<c+(s=t.getColumnWidth(r,3))){i=r,e=V-c;break}c+=s}if(0!==V&&0===i&&0===e)if(n)if(o=t.defaults.colWidth){for(;c+s<V;)c+=o,r++;i=r,e=V-c}else e=V-(c-t.getColumnWidth(i=r-1,3));else i=d-1,e=s;return{col:i,colOffset:e}}function a(t,V,n){for(var i,e,c,r,s,d,o,i=0,e=0,c=0,s=0,d=t.getRowCount(),r=0;r<d;r++){if(V<c+(s=t.getRowHeight(r,3))){i=r,e=V-c;break}c+=s}if(0!==V&&0===i&&0===e)if(n)if(o=t.defaults.rowHeight){for(;c+s<V;)c+=o,r++;i=r,e=V-c}else e=V-(c-t.getRowHeight(i=r-1,3));else i=d-1,e=s;return{row:i,rowOffset:e}}function h(t,V,n){var i,e,c,r,s,d,o,a;if(isNaN(V))return{col:0,colOffset:0};for(s=c=e=i=0,d=t.getColumnCount(),V*=o=t.zoom(),r=0;r<d;r++){if(V<c+(s=t.nn(r,3))){i=r,e=V-c;break}c+=s}if(0!==V&&0===i&&0===e)if(n)if(a=t.defaults.colWidth){for(;c+s<V;)c+=a*o,r++;i=r,e=V-c}else e=V-(c-t.nn(i=r-1,3));else i=d-1,e=s;return{col:i,colOffset:e/o}}function u(t,V,n){var i,e,c,r,s,d,o,a,i=0,e=0,c=0,s=0,d=t.getRowCount(),o=t.zoom();for(V*=o,r=0;r<d;r++){if(V<c+(s=t.Gt(r,3))){i=r,e=V-c;break}c+=s}if(0!==V&&0===i&&0===e)if(n)if(a=t.defaults.rowHeight){for(;c+s<V;)c+=a*o,r++;i=r,e=V-c}else e=V-(c-t.Gt(i=r-1,3));else i=d-1,e=s;return{row:i,rowOffset:e/o}}function x(t,V){return{x:i(t,V.col,V.colOffset),y:e(t,V.row,V.rowOffset)}}function y(t,V,n){var V,i,V,t,e,c,V=o(t,V),i=V.col,V=V.colOffset,t=a(t,n),e,c;return{col:i,colOffset:V,row:t.row,rowOffset:t.rowOffset}}Object.defineProperty(V,"__esModule",{value:!0}),V.getAnchorPointByOriginXY=V.getOriginXYByAnchorPoint=V.getRowAndRowOffset=V.getColAndColOffset=V.getRowAndRowOffsetUseOriginY=V.getColAndColOffsetUseOriginX=V.getY=V.getX=V.getOriginY=V.getOriginX=void 0,n=n("Common"),s=n.Common.lt.ht,d=Math.min,V.getOriginX=i,V.getOriginY=e,V.getX=c,V.getY=r,V.getColAndColOffsetUseOriginX=o,V.getRowAndRowOffsetUseOriginY=a,V.getColAndColOffset=h,V.getRowAndRowOffset=u,V.getOriginXYByAnchorPoint=x,V.getAnchorPointByOriginXY=y},"./dist/plugins/shape/util/viewUtil.js":function(O,t,V){var n,x,i,e,c,o,V,y,a,h,r,u,f,l,g,A,w,p,v,j,b,L,m;function s(t,V,n){var V,i,e;t&&(i=(V=V.split(".")).pop(),e=t,V.forEach(function(t){e[t]||(e[t]={}),e=e[t]}),e[i]=n)}function C(t){var t;if(t)return t=JSON.stringify(t),JSON.parse(t)}function R(t){return t&&"="===t[0]}function M(V){return!!R(V)||(Array.isArray(V)?V.some(M):!(!V||"object"!=typeof V)&&Object.keys(V).some(function(t){return M(V[t])}))}function I(t){var t,t,t=t.JVV,t=t&&t.ytV;return t&&t.I0i.HasTextLink()}function d(t){return 0===t.length}function T(t,V){var t,n,t=t.ctV;return t&&(n=t.getService())?n.getFormula(t.id,V):""}function N(t){return"string"==typeof t&&t}function _(t,V,n){t.aiV&&s(t.hnV,V,n)}function P(t,V,n,i){var e,c,r,e=t.ctV;return _(t,V,n),e&&(c=e.getService())&&(r=t.Mf&&t.Mf.Uw(),c.setValueOrFormula(e.id,V,n,t.siV,r),i)?c.getValue(e.id,V):n}function E(t,V,n){var i=t.ctV;return _(t,V,n),i?((0,c.setFormulaImp)(t,V,n,t.siV),i[V]):n}function F(t,V,n,i){var e,c,e=t.ctV,c=e&&e.getService();c&&(c.removeFormula(e.id,V),i)&&c.setValue(e.id,V,n),_(t,V,n)}function D(t,V){t.g4e()&&(R(V)?(t.yXn=V,V=E(t,"angle",V)):(t.yXn&&delete t.yXn,F(t,"angle",V)),t.Jli(V,!0),t.hiV())}function U(t,V,n){return{left:t.I0*n,top:t.A0*n,width:t.YC*n,height:t.ZC*n,angle:t.Rotation,autoShapeType:V,options:{}}}function S(t,V,n,i,e,c,r,s){var d,o,d,a,h,u,o,c;V&&(o=(d=(r?V.getValue:V.getFormula).bind(V))(n,"left",s),y(o)||(t.left=o),o=d(n,"top",s),y(o)||(t.top=o),o=d(n,"width",s),y(o)||(t.width=o),o=d(n,"height",s),y(o)||(t.height=o),o=d(n,"angle",s),y(o)||(t.angle=o),o=d(n,w,s),y(o)||(t.src=o),d=t.options=C(V.getOptions(n,!r,s)),c&&!r?(t.Tin=C(c.options.stroke),t.S0t=C(c.options.fill)):(a=V.getValues(n,"options.stroke",!r,s),(h=a.options&&a.options.stroke)&&h[m[0]]&&(u={},m.forEach(function(t){u[t.substr(1)]=h[t]}),e?x.GC$.extend(t.options.stroke,u):t.Tin=u)),e||(d.fill&&M(d.fill)&&(t.S0t=C(d.fill)),d.textFormatOptions&&(o=d.textFormatOptions,c=i.textFormatOptions,R(a=o.text)&&(t._text=a,o.text=c.text),R(a=o.fill.color)&&(t.viV=a,o.fill.color=c.fill.color),R(a=o.fill.transparency)&&(t.LiV=a,o.fill.transparency=c.fill.transparency),R(a=o.font)&&(t.jiV=a,o.font=c.font),R(a=o.horizontalAlignment)&&(t.biV=a,o.horizontalAlignment=c.horizontalAlignment),R(a=o.verticalAlignment)&&(t.miV=a,o.verticalAlignment=c.verticalAlignment),R(a=o.allowTextToOverflowShape)&&(t.CiV=a,o.allowTextToOverflowShape=c.allowTextToOverflowShape),R(a=o.wrapTextInShape)&&(t.lrt=a,o.wrapTextInShape=c.wrapTextInShape),R(a=o.resizeToFitText))&&(t.NrV=a,o.resizeToFitText=c.resizeToFitText)))}function q(t,V,n){var i,t,e,c,r,s,d,i=t.ctV,t=V?{}:C(t.hnV),e=t.controls,c=i.getService(),r=i.id;return c&&(V?(t.path=(0,o.mapPathInstanceToValue)(i.path),(d=c.getValues(r,"textRect",a,n))&&d.textRect&&(t.textRect=d.textRect)):e&&e.forEach(function(t,V){(s=c.getFormula(r,"controls."+V+".x",n))&&(t.x=s),(s=c.getFormula(r,"controls."+V+".y",n))&&(t.y=s)}),S(t,c,r,i.options,!0,null,V,n)),t}function X(t,V,n,i){var e,c,n,r,s,d,i,n,V,i;return n||!t?{}:(d=0,S(r={},e=t.getService(),c=t.id,t.options,!(s={}),V,n,i),n=r.left||V&&V.left,y(n)||(d++,s.left=n),n=r.top||V&&V.top,y(n)||(d++,s.top=n),n=r.width||V&&V.width,y(n)||(d++,s.width=n),n=r.height||V&&V.height,y(n)||(d++,s.height=n),n=r.angle||V&&V.angle,y(n)||(d++,s.angle=n),y(n=r.src)||(d++,s.src=r.src),r.Tin&&(d++,s.line=r.Tin),r.S0t&&(d++,s.fill=r.S0t),n=(i=V&&V.options)&&i.textFormatOptions,(V=r._text||n&&n.text)&&!I(t)&&(d++,s.text=V),i=n&&n.fill,(V=r.viV||i&&i.color)&&(d++,s.textColor=V),(V=r.LiV||i&&i.transparency)&&(d++,s.textTransparency=V),(V=r.jiV||n&&n.font)&&(d++,s.font=V),(V=r.miV||n&&n.verticalAlignment)&&(d++,s.vAlign=V),(V=r.biV||n&&n.horizontalAlignment)&&(d++,s.hAlign=V),V=r.CiV||n&&n.allowTextToOverflowShape,y(V)||(d++,s.overFlow=V),V=r.lrt||n&&n.wrapTextInShape,y(V)||(d++,s.wrap=V),(V=n&&n.margins)&&(s.textMargins=V,d++),d&&s)}function k(t,V){var n,i,e,c,r,s,d,t,n=t.ctV;if(n)return i=n.parent,c=n.relativeX,r=n.relativeY,s=n.relativeWidth,d=n.relativeHeight,t=X(n,t.hnV),i?(e=i.getZIndex(n),i.removeShape(n,!0)):(e=V.indexOf(n),V.removeShape(n)),{parent:i,zIndex:e,relativeX:c,relativeY:r,relativeWidth:s,relativeHeight:d,formulaItems:t}}function B(t,V,n,i){var e,c,r,s,d,o;(V.JVV=t).ctV=V,i?(e=i.parent,c=i.zIndex,r=i.relativeX,s=i.relativeY,d=i.relativeWidth,o=i.relativeHeight,e?(V.relativeX=r,V.relativeY=s,V.relativeWidth=d,V.relativeHeight=o,e.addShape(V,!0,c)):(n.addShape(V,c),V.isSelected=t.isSelected()),i.formulaItems&&t.unV(i.formulaItems)):(n.temporaryMarkIdUsed(V),t.aiV&&t.unV(X(t.ctV,t.hnV))),t.gnV()}function Z(t){var V,n,i,V=t.ctV;return 1===V.ttV?(i=t.Mf.zoom(),(n=(0,e.getLineShapeBoundByPoints)(V.getPoints().map(function(t){return{x:t.x/i,y:t.y/i}}))).width=n.right-n.left,n.height=n.bottom-n.top):((n={left:t.x(),top:t.y(),width:t.width(),height:t.height()}).right=n.left+n.width,n.bottom=n.top+n.height),n}function H(t){var V;!t||""!==(V=t.color)&&null!==V&&"transparent"!==V||(t.color="")}function z(t){var V,n,V=t.ytV.AdjustValues,n=t.ytV.oiV;return(V||[]).map(function(t){return(0,i.convertAdjustmentValueToSJSUnit)(t[1],n[t[0]])})}function Q(t,V){for(var n,i,e,c,n=(t.AdjustValues||[]).map(function(t){return t[0]}),i=Math.min(n.length,V.length),e=[],c=0;c<i;c++)e.push([n[c],V[c]]);return e}function Y(t,V){var t,t,t=t&&t.blip,t=t&&t.blipBlob;t&&!t.blob&&(t.blob=V())}function G(t,V){V&&t.ctV&&(V.blipFill&&Y(V.blipFill,function(){return t.ctV.getBase64Image()}),V.spPr)&&V.spPr.blipFill&&Y(V.spPr.blipFill,function(){return t.ctV.erV()})}function J(t,V,n){var V,i,e,c,t,r,s,d,o;if(void 0===n&&(n=!0),i=(V=V.split(".")).length,e=V[1],c=V[2],t=t.style(),e===p)return 3===i&&-1<u.indexOf(c)?R(r=t[e][c])?r:"":5===i&&c===v&&(s=parseInt(V[3],10),!isNaN(s))&&V[4]?R(r=(d=t.fill.stops)&&d[s]&&d[s][V[4]])?r:"":void 0;if(e===j){if(3===i&&-1<f.indexOf(c))return R(r=t[e][o=h[c]])?r:""}else if(e===L&&n){if(3===i&&-1<["color","transparency","font"].indexOf(c))return R(r=t.textEffect[c])?r:""}else if(e===b&&n&&3===i&&-1<g.indexOf(c))return R(r=t.textFrame[o=l[c]])?r:""}function W(t,V,n,i){var e,V,c,r,s,d,o,a;void 0===i&&(i=!0),e=t.style(),c=(V=V.split(".")).length,r=V[1],s=V[2],r===p?(d=e.fill,3===c&&-1<u.indexOf(s)?d.hasOwnProperty(s)&&(e.fill[s]=n):5===c&&s===v&&(o=parseInt(V[3],10),!isNaN(o))&&V[4]&&d.stops&&(d.stops[o][V[4]]=n)):r===j?3===c&&-1<f.indexOf(s)&&(e.line[a=h[s]]=n):r===L&&i?3===c&&-1<A.indexOf(s)&&(e.textEffect[s]=n):r===b&&i&&3===c&&-1<g.indexOf(s)&&(e.textFrame[a=l[s]]=n),t.style(e)}function K(t,V){V.ignoreLayoutConnection=!0,t[0]&&V.startConnector(t[0],!0),t[1]&&V.endConnector(t[1],!0),delete V.ignoreLayoutConnection}function $(t,V){var n=Math.sin(V),V=Math.cos(V),i,e;return{x:t.x*V-t.y*n,y:t.x*n+t.y*V}}function tt(t,V,n){t.x-=V.x,t.y-=V.y;var t=$(t,n);return{x:t.x+V.x,y:t.y+V.y}}function Vt(t,V){return+t.toFixed(V=V||3)}function nt(t,V,n,i,e,c,r,s){var s,n,n=n?s-V+c:V+c,s=i?r-t+e:t+e;return{x:s,y:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.flipPoint=t.fixNumber=t.rotatePoint=t.syncConnectors=t.setStyleFormula=t.getStyleFormula=t.processShapeEmptyBlipBlobWhenToJson=t.convertArrayValueToAdjustmentValue=t.getShapeAdjustments=t.adjustTransparentColor=t.getShapeBound=t.addNewShapeUIWhenInitShapeUI=t.removeOldShapeUIWhenInitShapeUI=t.getFormulaSettingItems=t.syncCustomShapeModel=t.getBuiltInShapeModelWhenInit=t.rotateImp=t.removeFormula=t.setFormula=t.updateOptionsItem=t.isUrl=t.getFormula=t.noArguments=t.hasTextLink=t.hasFormulaItem=t.isFormula=t.simpleCloneObject=t.updateOptionItemByPath=void 0,n=V("Common"),x=V("Core"),i=V("./dist/plugins/shape/shape.js"),e=V("./dist/plugins/shape/ui/compoundShape.js"),c=V("./dist/plugins/shape/ui/util.js"),o=V("./dist/plugins/shape/geometryService/geometryService.js"),V=n.Common.lt,y=V.ht,a=void 0,h={color:"color",linestyle:"lineStyle",width:"width",captype:"capType",jointype:"joinType",transparency:"transparency",compoundtype:"compoundType"},u=["color","transparency","type","angle","direction"].concat(r=["src","tilePictureAsTexture","offsetLeft","offsetRight","offsetTop","offsetBottom","offsetX","offsetY","scaleX","scaleY","alignment","mirrorType"]),f=["color","linestyle","width","captype","jointype","transparency","compoundtype"],l={valign:"vAlign",halign:"hAlign"},g=["valign","halign"],A=["color","transparency","font"],w="src",p="fill",v="stops",j="line",b="textframe",L="texteffect",t.updateOptionItemByPath=s,t.simpleCloneObject=C,t.isFormula=R,t.hasFormulaItem=M,t.hasTextLink=I,t.noArguments=d,t.getFormula=T,t.isUrl=N,t.updateOptionsItem=P,t.setFormula=E,t.removeFormula=F,t.rotateImp=D,t.getBuiltInShapeModelWhenInit=U,m=["_color","_lineStyle","_width","_capType","_joinType","_transparency","_compoundType"],t.syncCustomShapeModel=q,t.getFormulaSettingItems=X,t.removeOldShapeUIWhenInitShapeUI=k,t.addNewShapeUIWhenInitShapeUI=B,t.getShapeBound=Z,t.adjustTransparentColor=H,t.getShapeAdjustments=z,t.convertArrayValueToAdjustmentValue=Q,t.processShapeEmptyBlipBlobWhenToJson=G,t.getStyleFormula=J,t.setStyleFormula=W,t.syncConnectors=K,t.rotatePoint=tt,t.fixNumber=Vt,t.flipPoint=nt},Common:function(t){t.exports=V.Spread},CalcEngine:function(t){t.exports=V.Spread.CalcEngine},Core:function(t){t.exports=V.Spread.Sheets},SheetsCalc:function(t){t.exports=V.Spread.Sheets.CalcEngine},CellTypes:function(t){t.exports=V.Spread.Sheets.CellTypes},Comment:function(t){t.exports=V.Spread.Sheets.Comments},ConditionalFormatting:function(t){t.exports=V.Spread.Sheets.ConditionalFormatting},FloatingObject:function(t){t.exports=V.Spread.Sheets.FloatingObjects},Touch:function(t){t.exports=V.Spread.Sheets.Touch}},i={},t=e("./dist/plugins/shape/shape.entry.js"),(((V=void 0===V?{}:V).Spread=V.Spread||{}).Sheets=V.Spread.Sheets||{}).Shapes=t}()});