UNPKG

@grapecity/spread-sheets-shapes

Version:

SpreadJS Shape plugin

10 lines 920 kB
/*!
 * 
 * SpreadJS Library 18.2.5
 *
 * Copyright(c) of respective holders.  All rights reserved.
 *
 * Licensed under the SpreadJS Commercial License.
 *
 */
!function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("@grapecity/spread-sheets")):"function"==typeof define&&define.amd?define(["@grapecity/spread-sheets"],t):"object"==typeof exports?exports.Spread=t(require("@grapecity/spread-sheets")):t(GC)}((function(t){!function(){"use strict";var V,n={"./dist/plugins/shape/cameraShape.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g=this&&this.qKr||(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])},A(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)}),A;function p(t){return!!v(t)}function v(t){var V=t.nvPicPr.cNvPicPr,n=V&&V.extLst;return(0,e.findSJSExt)(n,(function(t){return!!t.cameraTool}))}function w(t){var V,n,i,e=t.eJ,r=t.Zc,c=e.shapes.all();for(V=0,n=c;V<n.length;V++)if((i=n[V]).name().toLowerCase()===r.toLowerCase())return i.ctV;return null}Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShapeData=V.isCameraShapeNode=void 0,i=n("FloatingObject"),e=n("./dist/plugins/shape/shape.js"),r=n("Common"),c=n("./dist/plugins/shape/drawingInterface.js"),o=n("./dist/plugins/shape/ui/util.js"),s=n("Core"),d=s.util.n1,a=s.util.vo,V.isCameraShapeNode=p,h="data:image/bmp;base64,Qk1CAAAAAAAAAD4AAAAoAAAAAQAAAAEAAAABAAEAAAAAAAQAAADDDgAAww4AAAAAAAAAAAAAAAAAAP///wCAAAAA",u=i.Drawing.ARGBColor,x=r.Common.lt.ht,f=999,y=void 0,l=function(t){function V(V,n,i,e,r,c,o){var s,d=t.call(this,V,n,e,r,c,o)||this;return d.ttV=3,d.IeV=!1,(s=d).VtV="openUrl",s.ntV=f,s.Range=i,s.etV=!0,s.InitShapeFormat(),s.itV=0,d}return g(V,t),Object.defineProperty(V.prototype,"Type",{get:function(){return c.ShapeType.AutoShape},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"isRangeContainsImage",{get:function(){return this.IeV},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"Range",{get:function(){return this.Z5},set:function(t){this.Z5=t},enumerable:!1,configurable:!0}),V.prototype.QVV=function(t){var V=this,n=!V.AnV&&t;V.AnV=t,V.IeV=V.FeV(),n&&V.rtV===y&&0!==V.width&&0!==V.height&&(V.rtV=V.dtV())},V.prototype.dtV=function(){var t,V=this,n=V.AnV,i=V.eJ.zoom();if(n)return t=n.sheet.reV(n.cellRange),V.width===t.width/i&&V.height===t.height/i},V.prototype.FeV=function(){var t,V,n,i,e,r,c,o,s,d=this,a=d.AnV;if(a)for(V=(t=a.cellRange.row)+a.cellRange.rowCount-1,i=(n=a.cellRange.col)+a.cellRange.colCount-1,e=a.sheet,r=t;r<=V;r++)for(c=n;c<=i;c++){if((o=e.getValue(r,c))&&"SparklineExValue"===o.typeName&&o.value&&o.value.isBarcode)return!0;if((s=e.getCell(r,c)).backgroundImage())return!0}},V.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat()},V.prototype.FromOOModel=function(V){var n=this;t.prototype.FromOOModel.call(this,V),n.FromCT_ShapeBase(V.pic),!1===V.isVisible&&(n._hidden=!0)},V.prototype.FromSJSOOModel=function(V,n){var i;t.prototype.FromSJSOOModel.call(this,V,n),this.FromSJSCT_ShapeBase(V)},V.prototype.ToOOModel=function(V,n){var i=this,e=t.prototype.ToOOModel.call(this,V);return e.pic=i.ToCT_ShapeBase(V,n),e},V.prototype.ToSJSOOModel=function(V,n){t.prototype.ToSJSOOModel.call(this,V,n),V.pic=this.ToSJSCT_ShapeBase(n)},V.prototype.FromCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).otV=t,V.etV=!0,V.rtV=y,V.VtV=t.dblClickCommand,t.cellRange&&(V.Range=t.cellRange),V.FromCT_ShapeNonVisual(n.nvPicPr),V.FromCT_ShapeStyle(n.blipFill),V.FromCT_ShapeProperties(n.spPr),V.AutoShapeType=f)},V.prototype.FromSJSCT_ShapeBase=function(t){var V,n;t&&((V=this).etV=!0,V.rtV=y,V.FromSJSCT_ShapeNonVisual(t.nvPicPr),V.atV(t.style,t),V.stV(t.spPr),V.AutoShapeType=f,(n=t.lossless)&&(V.VtV=n.dblClickCommand))},V.prototype.ToCT_ShapeBase=function(t,V){var n,i=this;return(n=(t=!1!==t)&&i.otV||{shapeType:1}).cellRange=i.htV(null==V?void 0:V.newWorkSheetName),n.dblClickCommand=i.VtV,n.nvPicPr=i.ToCT_ShapeNonVisual(t,V),n.spPr=i.ToCT_ShapeProperties(c.ShapeUtility.ToST_ShapeType(1),n.spPr||{},0!==i.AutoShapeType,t),n.spPr.prstGeom&&(n.blipFill={},n.blipFill.stretch={},n.blipFill.stretch.fillRect={}),n},V.prototype.ToSJSCT_ShapeBase=function(t){var V=this,n=V.ToSJSCT_ShapeNonVisual(t),i=V.ToSJSCT_ShapeProperties(c.ShapeUtility.ToST_ShapeType(1),!0),e=V.ToSJSCameraShapeBlipFill(),r={dblClickCommand:V.VtV};return{nvPicPr:n,blipFill:e,spPr:i,lossless:r}},V.prototype.ToCT_ShapeNonVisual=function(t,V){var n=this,i=n.otV,e=!1!==t&&i&&i.nvPicPr||{},r=e.cNvPr||{};return e.cNvPr=n.ToCT_NonVisualDrawingProps(r,V),e.cNvPicPr=n.ToCT_NonVisualDrawingShapeProps(e.cNvPicPr||{},null==V?void 0:V.newWorkSheetName),e},V.prototype.ToSJSCT_ShapeNonVisual=function(t){var V=this,n=V.ToSJSCT_NonVisualDrawingProps(),i=V.ToSJSCT_NonVisualDrawingShapeProps(t);return{cNvPr:n,cNvPicPr:i}},V.prototype.FromCT_ShapeNonVisual=function(t){var V=this;t&&(V.FromCT_NonVisualDrawingProps(t.cNvPr),V.FromCT_NonVisualDrawingShapeProps(t.cNvPicPr))},V.prototype.FromSJSCT_ShapeNonVisual=function(t){var V=this;t&&(V.FromSJSCT_NonVisualDrawingProps(t.cNvPr),V.FromSJSCT_NonVisualDrawingShapeProps(t.cNvPicPr))},V.prototype.FromCT_NonVisualDrawingShapeProps=function(t){var V,n=this;t&&(t.extLst&&t.extLst.ext&&(V=t.extLst.ext[0].cameraTool)&&(n.Z5=V.cellRange),n.FromAG_Locking(t&&t.picLocks))},V.prototype.FromSJSCT_NonVisualDrawingShapeProps=function(t){var V=this,n=t&&t.extLst,i=(0,e.findSJSExt)(n,(function(t){return!!t.cameraTool}));i&&(V.Z5=d(i.cameraTool.cellRange)),V.FromSJSAG_Locking(t&&t.picLocks)},V.prototype.htV=function(t){var V,n,i,e=this,r=(0,o.getRangeInfo)(e.eJ,e.Range);return x(t)||r.sheet.name()!==e.eJ.name()?e.Range:(n=(V=w(e)).getService(),i=V.id,n.setFormula(i,"range",e.Range),n.getFormula(i,"range",t))},V.prototype.ToCT_NonVisualDrawingShapeProps=function(t,V){var n,i=this,e=i.htV(V);return t.picLocks=i.ToAG_Locking(t.picLocks||{}),t.picLocks.noChangeArrowheads=!0,t.extLst={ext:[]},n={cameraTool:{cellRange:e,spid:i.toV}},t.extLst.ext.push(n),t},V.prototype.ToSJSCT_NonVisualDrawingShapeProps=function(t){var V=this,n=V.htV(t);return{picLocks:V.ToSJSAG_Locking({noChangeArrowheads:e.SJS_True}),extLst:{ext:[{uri:"{84589F7E-364E-4C9E-8A38-B11213B215E9}",cameraTool:{cellRange:a(n)}}]}}},V.prototype.ToSJSCameraShapeBlipFill=function(){var t={r_:[8],blipBlob:{blob:h}},V={fillRect:{}};return{blip:t,stretch:V}},V.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},V.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}(e.ShapeBaseData),V.CameraShapeData=l},"./dist/plugins/shape/cameraShapeView.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v=this&&this.qKr||(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])},w(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)}),w;Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShape=void 0,i=n("FloatingObject"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/shape.interface.js"),c=n("./dist/plugins/shape/cameraShape.js"),o=n("./dist/plugins/shape/ui/util.js"),s=n("./dist/plugins/shape/shapeView.js"),d=n("./dist/plugins/shape/util/viewUtil.js"),a=n("./dist/plugins/shape/shapeStyleView.js"),h=e.ShapeUtility.syncShapeOptions,u=i.Drawing.UnitHelper.IsNullOrEmpty,x=void 0,f=999,y="range",l="rotate",g="angle",A="style",p=function(t){function V(V,n,i,e,o,s,d){var a,h,f=t.call(this)||this;return f.ttV=1,a=f,h=n&&V.eeV(n)||V.eeV("Picture ",!0),a.Mf=V,a.ytV=new c.CameraShapeData(V,h,i,e||0,o||0,s||200,d||160),s===x&&d===x&&(a.ytV.rtV=!0),a.yiV=r.ResizeMode.aspect,a.ytV.noChangeAspect=!0,a.RiV=!0,u(i)||(a.tnV(),a.Fct(i,!0)),delete a.RiV,f}return v(V,t),Object.defineProperty(V.prototype,"zIndex",{get:function(){var t=this;if(t.mnV)return t.mnV.zIndex(t.name())},enumerable:!1,configurable:!0}),V.prototype.tnV=function(){var t,V,n,i,r,c,o=this,s=o.Mf,a=s.zoom();o.VnV=!0,t=o.ytV,V=s.shapeLayers[0],(n=o.aiV)||(i=(0,d.getBuiltInShapeModelWhenInit)(t,e.AutoShapeType.rectangle,a)),r=(0,d.removeOldShapeUIWhenInitShapeUI)(o,V),h(i,t,V,n),(c=V.createCameraShape(i)).ttV=3,c.getShapeCenter(),c.hyperlink=t.ku,o.ZnV(c.id),t.ltV&&(o.flipX=!0),t.gtV&&(o.flipY=!0),(0,d.addNewShapeUIWhenInitShapeUI)(o,c,V,r),delete o.VnV},V.prototype.rsV=function(t){var V=this;t&&(t.angle&&V.rotate(t.angle),t.line&&V.j0V(t.line),t.fill&&V.VeV(t.fill))},V.prototype.rotate=function(t){var V=this;if((0,d.noArguments)(arguments))return V.ytV.Rotation;(0,d.rotateImp)(V,t)},V.prototype.style=function(t){var V,n,i,e=this;if((0,d.noArguments)(arguments))return e.getStyle(!0,!1);V=e.style(),e.DT("style",t),(n=t.fill)&&((0,d.adjustTransparentColor)(n),e.VeV(n)),(i=t.line)&&((0,d.adjustTransparentColor)(i),e.j0V(i)),e.enV("style",V),e.refresh()},V.prototype.getStyle=function(t,V){var n=this,i=new a.ShapeStyle;return i.fill=n.n0V(t,V),i.line=n.ydV(t,V),delete i.textEffect,delete i.textFrame,i},V.prototype.range=function(t){var V=this,n=V.ytV;if((0,d.noArguments)(arguments))return n.Range;V.Fct(t)},V.prototype.Fct=function(t,V){var n,i,e;void 0===V&&(V=!1),((e=(i=(n=this).ytV).Range)!==t||V)&&(n.DT("range",t),(0,o.setFormulaImp)(n,y,t,!0,!0),i.Range=(0,d.getFormula)(n,y)||t,this.usV("cameraCellRange",{value:t,oldValue:e}),n.ctV&&n.ctV.JrV(),n.mtV(),n.refresh())},V.prototype.GrV=function(t){var V=this,n=V.ytV.Range,i=(0,o.convertCalcReferenceToRangeInfo)(t,V.Mf);V.ytV.Range=(0,d.getFormula)(V,"range"),this.usV("cameraCellRange",{value:t,oldValue:n}),V.ytV.QVV(i),V.mtV(),V.sft&&V.sft.updateGroup(),V.ctV&&V.ctV.JrV()},V.prototype.mtV=function(){var t,V,n,i=this,e=i.ytV,r=e.AnV,c=i.Mf.zoom();e.rtV&&(r?(V=(t=r.sheet.reV(r.cellRange)).width>0?t.width/c:200,n=t.height>0?t.height/c:160,i.$l(V,n,!0)):"#REF!"===e.Range&&i.$l(0,0,!0))},V.prototype.type=function(){if((0,d.noArguments)(arguments))return f},V.prototype.postProcessShapeDataToJson=function(V,n){var i,e,r,c,o,s,d=this,a=d.ctV;function h(t,V,n){t.vmlStyle=V,t.anchor=n,t.cameraTool=!0,t.size={width:a.width,height:a.height}}t.prototype.postProcessShapeDataToJson.call(this,V),i=.75*a.left,e=.75*a.top,r=.75*a.width,c=.75*a.height,o=[d.startColumn(),d.startColumnOffset(),d.startRow(),d.startRowOffset(),d.endColumn(),d.endColumnOffset(),d.endRow(),d.endRowOffset()].toString(),s="position:absolute;margin-left:".concat(i,"pt;margin-top:").concat(e,"pt;width:").concat(r,"pt;height:").concat(c,"pt;z-index:").concat(d.zIndex+1,";visibility:visible;mso-wrap-style:square;"),h(n?V:V.shapeData.pic,s,o)},V.prototype.formulaFromJSON=function(V){var n,i,e,r;t.prototype.formulaFromJSON.call(this,V),(n=this).Fct(n.ytV.Range,!0),n.JrV(),i=n.ytV.AnV,e=n.Mf,i&&i.sheet&&e&&(r=i.sheet,V&&r!==e&&r.nre&&(r.nre(),n.afterRefSheetLazyLoaded()))},V.prototype.afterRefSheetLazyLoaded=function(){this.JrV()},V.prototype.OiV=function(t){return t.nvPicPr.cNvPr},V.prototype.DiV=function(t){return t.pic},V.prototype.doubleClickCommand=function(t){var V,n=this,i=n.ytV;if((0,d.noArguments)(arguments))return i.VtV;V=i.VtV,n.DT("doubleClickCommand",t),i.VtV=t,n.usV("cameraDoubleClickCommand",{value:t,oldValue:V})},V.prototype.QiV=function(t){var V=this;return t===l?(0,d.getFormula)(V,g):t.substr(0,5)===A?(0,d.getStyleFormula)(V,t,!1):""},V.prototype.ziV=function(t,V){var n=this;t===l?n.rotate(V):t.substring(0,5)===A&&(0,d.setStyleFormula)(n,t,V,!1)},V.prototype.WiV=function(t){return new V(t)},V.prototype.sdV=function(){t.prototype.sdV.call(this),this.JrV()},V.prototype.urV=function(){t.prototype.urV.call(this),this.JrV()},V.prototype.JrV=function(){var t=this.ctV;t&&(t.cameraImageCache=null)},V}(s.ShapeBase),V.CameraShape=p},"./dist/plugins/shape/connector.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f=this&&this.qKr||(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])},y(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)}),y;function l(t,V,n){var i,e,r,c;for(V=n[V]||V,i=0,e=t.length;i<e;i++){if((r=t[i]).Id===V)return r;if(r.GroupItems&&(c=l(r.GroupItems.Items,V,n)))return c}}function g(t,V){var n,i,e,r;for(n=0,i=t;n<i.length;n++){if((e=i[n]).jKe()===V)return e;if(e.GroupItems&&(r=g(e.GroupItems.Items,V)))return r}}function A(t,V,n){if(V)return V.__ID__?g(t,V.__ID__):l(t,V.id,n)}Object.defineProperty(V,"__esModule",{value:!0}),V.ConnectorShapeData=V.ConnectorFormatData=void 0,i=n("./dist/plugins/shape/shape.js"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/shapeStyle.js"),c=n("FloatingObject"),o=n("./dist/plugins/shape/geometryService/controlPointService.js"),s=n("./dist/plugins/shape/util/sheetUtil.js"),d=Math.min,a=Math.abs,h=.5*o.ADJUSTMENT_UNIT,u=function(){function t(t,V){this.utV=-1,this.xtV=-1,this.eJ=t,this.ytV=V}return Object.defineProperty(t.prototype,"DrawingType",{get:function(){return 3},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BeginConnected",{get:function(){return this.wtV},set:function(t){this.wtV=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BeginConnectedShape",{get:function(){var t=this.wtV;return t&&this.eJ.shapes.get(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BeginConnectionSite",{get:function(){return this.utV},set:function(t){this.utV=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"EndConnected",{get:function(){return this.ptV},set:function(t){this.ptV=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"EndConnectedShape",{get:function(){var t=this.ptV;return t&&this.eJ.shapes.get(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"EndConnectionSite",{get:function(){return this.xtV},set:function(t){this.xtV=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),t.prototype.fromStartCxn=function(t,V,n){var i,e,r;t&&(e=(i=this).eJ,i.utV=t.idx,(r=A(V,t,n))?i.wtV=r.Name:e.LtV.push({target:i,beginId:t.id,beginUUID:t.__ID__,beginConnectionSite:t.idx}))},t.prototype.fromEndCxn=function(t,V,n){var i,e,r;t&&(e=(i=this).eJ,i.xtV=t.idx,(r=A(V,t,n))?i.ptV=r.Name:e.LtV.push({target:i,endId:t.id,endUUID:t.__ID__,endConnectionSite:t.idx}))},t.prototype.FromOOModel=function(t){var V=this,n=V.eJ,i=n.shapeLayers[0].model.idMaps,e=n.shapes.all().map((function(t){return t.ytV}));t.stCxn&&V.fromStartCxn(t.stCxn,e,i),t.endCxn&&V.fromEndCxn(t.endCxn,e,i)},t.prototype.FromSJSOOModel=function(t){var V,n,e,r,c=this,o=c.eJ,s=o.shapeLayers[0].model.idMaps,d=o.shapes.all().map((function(t){return t.ytV})),a=t.stCxn,h=t.endCxn;a&&(V=(0,i.getAttributeValueOrDefaultOfIntType)(a.idx),n=(0,i.getAttributeValueOrDefaultOfIntType)(a.id),c.utV=V,(e=l(d,n,s))?c.wtV=e.Name:o.LtV.push({target:c,beginId:n,beginConnectionSite:V})),h&&(V=(0,i.getAttributeValueOrDefaultOfIntType)(h.idx),n=(0,i.getAttributeValueOrDefaultOfIntType)(h.id),c.xtV=V,(r=l(d,n,s))?c.ptV=r.Name:o.LtV.push({target:c,endId:n,endConnectionSite:V}))},t.prototype.toStartCxnInfo=function(t){var V,n,i=this,e=i.wtV;if(e&&(V=i.eJ.shapes.get(e)))return n={idx:i.utV},t&&t.isServer?n.__ID__=V.jKe():n.id=V.ytV.Id,n},t.prototype.toEndCxnInfo=function(t){var V,n,i=this,e=i.ptV;if(e&&(V=i.eJ.shapes.get(e)))return n={idx:i.xtV},t&&t.isServer?n.__ID__=V.jKe():n.id=V.ytV.Id,n},t.prototype.ToOOModel=function(t){return{stCxn:this.toStartCxnInfo(t),endCxn:this.toEndCxnInfo(t)}},t.prototype.ToSJSOOModel=function(){var t,V=this,n={},i=V.eJ.shapes,e=V.wtV;return e&&(t=i.get(e))&&(n.stCxn={idx:V.utV,id:t.ytV.Id}),(e=V.ptV)&&(t=i.get(e))&&(n.endCxn={idx:V.xtV,id:t.ytV.Id}),n},t}(),V.ConnectorFormatData=u,x=function(t){function V(V,n,i,e,r,c,o){var s,h=t.call(this,V,n,d(e,c),d(r,o),a(e-c),a(r-o))||this;return h.ttV=1,(s=h).ftV=2,s.ltV=e>c,s.gtV=r>o,s.AtV=new u(V,s),s.ConnectorFormat.Type=i,s.InitLineFormat(),s.InitFillFormat(),s.PointNum=s.GetPointNumByType(i),h}return f(V,t),Object.defineProperty(V.prototype,"ConnectorFormat",{get:function(){return this.AtV},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"Connector",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"Type",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"AutoShapeType",{get:function(){return this.ntV},set:function(t){this.ntV=t},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"PointNum",{get:function(){return this.ftV},set:function(t){this.ftV=t,this.rdV(t-2)},enumerable:!1,configurable:!0}),V.prototype.rdV=function(t){var V,n=[];for(V=0;V<t;V++)n.push([o.ADJUSTMENT_NAME_PREFIX+(V+1),h]);this.idV=n},V.prototype.ToOOModel=function(V,n){V=!1!==V;var i=t.prototype.ToOOModel.call(this,V);return i.cxnSp=this.ToCT_ShapeBase(V,n),i},V.prototype.ToSJSOOModel=function(V,n){t.prototype.ToSJSOOModel.call(this,V,n),V.cxnSp=this.ToSJSCT_ShapeBase()},V.prototype.FromOOModel=function(V){var n=this;t.prototype.FromOOModel.call(n,V),n.FromCT_ShapeBase(V.cxnSp),!1===V.isVisible&&(n._hidden=!0)},V.prototype.FromSJSOOModel=function(V,n){var i=this;t.prototype.FromSJSOOModel.call(this,V,n),i.FromSJSCT_ShapeBase(V)},V.prototype.ToCT_ConnectorNonVisual=function(t,V){var n,i,e,r=this;return i=(n=(t=!1!==t)&&r.jtV&&r.jtV.nvCxnSpPr||{}).cNvPr||{},n.cNvPr=r.ToCT_NonVisualDrawingProps(i,V),n.cNvCxnSpPr=r.ConnectorFormat.ToOOModel(V),(e=n.cNvCxnSpPr).cxnSpLocks=r.ToAG_Locking(e.cxnSpLocks||{}),n},V.prototype.ToSJSCT_ConnectorNonVisual=function(){var t,V=this,n={};return n.cNvPr=V.ToSJSCT_NonVisualDrawingProps(),n.cNvCxnSpPr=V.ConnectorFormat.ToSJSOOModel(),(t=n.cNvCxnSpPr).cxnSpLocks=V.ToSJSAG_Locking(t.cxnSpLocks||{}),n},V.prototype.FromCT_ConnectorNonVisual=function(t){var V,n=this,i=t.cNvPr;n.btV(i.name),n.Id=i.id,n.Visible=!i.hidden,n.ku=i.hlinkClick,n.UKn(i.__ID__),n.AtV.FromOOModel(t.cNvCxnSpPr),V=t.cNvCxnSpPr,n.FromAG_Locking(V&&V.cxnSpLocks)},V.prototype.FromSJSCT_ConnectorNonVisual=function(t){var V,n=this,i=t.cNvPr;n.FromSJSCT_NonVisualDrawingProps(i),n.AtV.FromSJSOOModel(t.cNvCxnSpPr),V=t.cNvCxnSpPr,n.FromSJSAG_Locking(V&&V.cxnSpLocks)},V.prototype.FromCT_ShapeBase=function(t){var V,n=this,i=n.jtV=t;n.FromCT_ConnectorNonVisual(i.nvCxnSpPr),V=i.spPr.prstGeom.prst,n.AtV.Type=e.ShapeUtility.ToConnectorType(V),n.PointNum=e.ShapeUtility.GetConnectorPointNum(V),n.FromCT_ShapeStyle.call(n,i.style),n.FromCT_ShapeProperties.call(n,i.spPr)},V.prototype.FromSJSCT_ShapeBase=function(t){var V,n=this;n.FromSJSCT_ConnectorNonVisual(t.nvCxnSpPr),V=e.ST_ShapeType[t.spPr.prstGeom.prst],n.AtV.Type=e.ShapeUtility.ToConnectorType(V),n.PointNum=e.ShapeUtility.GetConnectorPointNum(V),n.atV(t.style,t),n.stV(t.spPr)},V.prototype.ToCT_ShapeBase=function(t,V){var n,i,r=this;return(n=(t=!1!==t)&&r.jtV||{shapeType:4}).nvCxnSpPr=r.ToCT_ConnectorNonVisual(t,V),i=n.spPr||{},n.spPr=r.ToCT_ShapeProperties(e.ShapeUtility.ToConnectorST_ShapeType(r.ConnectorFormat.Type,r.PointNum),i,!0,t),r.CorrectCT_Transform2D(n.spPr.xfrm),n.style=r.ToCT_ShapeStyle(t),n},V.prototype.ToSJSCT_ShapeBase=function(){var 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},V.prototype.CorrectCT_Transform2D=function(t){t.flipH=this.ltV,t.flipV=this.gtV},V.prototype.GetPointNumByType=function(t){return 2===t||1===t?3:1},V.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ObjectThemeColor=4,t.Weight=.5,t.PatternColor.RGB=c.Drawing.ARGBColor.FromRgb(255,255,255)},V.prototype.InitFillFormat=function(){this.Fill.Color.ColorType=0},V.prototype.CreateDefaultShapeStyle=function(){return new r.ShapeStyleData(this,0,1,0,1)},V.prototype.mtV=function(){var t,V=this,n=V.eJ;V.height=(0,s.getY)(n,V.bottomAnchorRow,V.bottomAnchorRowOffset)-V.top,t=n.options.rightToLeft?(0,s.getX)(n,V.leftAnchorCol,V.leftAnchorColOffset):(0,s.getX)(n,V.rightAnchorCol,V.rightAnchorColOffset),V.width=t-V.left},V}(i.ShapeBaseData),V.ConnectorShapeData=x},"./dist/plugins/shape/connectorView.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j=this&&this.qKr||(b=function(t,V){return b=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])},b(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}b(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),b;function L(t,V,n,i,e,r,c,o,s,d){var h=(0,a.flipPoint)(t,V,n,i,e,r,c,o),u=(0,a.rotatePoint)(h,s,d);return{x:(0,a.fixNumber)(u.x),y:(0,a.fixNumber)(u.y)}}function m(t){return t.map((function(t,V){return["adj"+(V+1),(0,r.convertAdjustmentValueToExcelUnit)(t,g,!0)]}))}function C(t,V,n){var i,e,r,c,o,s=t.ytV,d=t.Mf,a=d.THr({type:"updateShapeTransform",sheet:d,shape:t});null===(e=null===(i=d.parent)||void 0===i?void 0:i.suspendOp)||void 0===e||e.call(i),s.left=V.left/n,s.top=V.top/n,s.width=V.width/n,s.height=V.height/n,s.L0t=V.rot,s.ltV=V.flipH,s.gtV=V.flipV,s.ynV(),s.fnV(),null===(c=null===(r=d.parent)||void 0===r?void 0:r.resumeOp)||void 0===c||c.call(r),d.$Dr({type:"updateShapeTransform",sheet:d,shape:t},a),o=t.AsV("adjustments"),s.AdjustValues=m(V.adjs),t.usV("adjustments",{changingContext:o})}function R(t){return 2===t.length?M(t):I(t)}function I(t){var V,n,i,e,r,c,o,s,d,h,u,x,f=t[0],y=t.length,g=t[y-1],A=f.x,p=f.y,w=g.x,j=g.y,b=t[1],L=b.x,m=b.y,C=w-A,R=j-p,I=0,M={x:(A+w)/2,y:(p+j)/2};for((0,a.fixNumber)(A,5)===(0,a.fixNumber)(L,5)?(I=90,V=Math.PI/2):(0,a.fixNumber)(p,5)!==(0,a.fixNumber)(m,5)&&(I=180*(V=Math.atan2(m-p,L-A))/Math.PI,V<0&&(V+=2*Math.PI,I+=360)),I&&(V=-V,A=(f=(t=t.map((function(t){return(0,a.rotatePoint)(t,M,V)})))[0]).x,p=f.y,C=(w=(g=t[y-1]).x)-A,R=(j=g.y)-p),e=(n=C<0)?-1:1,r=(i=R<0)?-1:1,c=l(C),o=l(R),c<v&&(c=v),o<v&&(o=v),s=[],d=0;d<y-3;d++)h=t[d+1],d%2?s.push((h.y-p)/o*r):s.push((h.x-A)/c*e);return{rot:I,left:u=M.x-c/2,top:x=M.y-o/2,width:c,height:o,flipH:n,flipV:i,adjs:s}}function M(t){var V=t[0],n=t[1],i=y(V.x,n.x),e=y(V.y,n.y),r=l(n.x-V.x),c=l(n.y-V.y),o=V.x>n.x,s=V.y>n.y;return{rot:0,left:i,top:e,width:r,height:c,flipH:o,flipV:s,adjs:[]}}Object.defineProperty(V,"__esModule",{value:!0}),V.ConnectorShape=V.getConnectorProperties=V.syncShapeData=void 0,i=n("Common"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/shape.js"),c=n("./dist/plugins/shape/ui/lines.js"),o=n("./dist/plugins/shape/connector.js"),s=n("./dist/plugins/shape/geometryService/controlPointService.js"),d=n("./dist/plugins/shape/shapeView.js"),a=n("./dist/plugins/shape/util/viewUtil.js"),h=n("./dist/plugins/shape/shapeStyleView.js"),u=i.Common.lt,x=u.ht,f=e.ShapeUtility.syncShapeOptions,y=Math.min,l=Math.abs,g=void 0,A={color:"color",linestyle:"lineStyle",width:"width",captype:"capType",jointype:"joinType",transparency:"transparency",compoundtype:"compoundType"},p=["color","linestyle","width","captype","jointype","transparency","compoundtype"],V.syncShapeData=C,v=4/3,V.getConnectorProperties=R,w=function(t){function V(V,n,i,e,r,c,s){var d,a=t.call(this)||this,h=a;return a.ttV=4,d=n&&V.eeV(n)||V.eeV("ConnectorShape ",!0),h.Mf=V,h.ytV=new o.ConnectorShapeData(V,d,i,e,r,c,s),h.RiV=!0,i!==g&&h.tnV(),delete h.RiV,a}return j(V,t),V.prototype.type=function(){if((0,a.noArguments)(arguments))return this.ytV.ConnectorFormat.Type},V.prototype.H0V=function(t){var V,n,i,e,r=this,c=r.ytV.Line;if((0,a.noArguments)(arguments))return{style:c.BeginArrowheadStyle,width:c.BeginArrowheadWidth,length:c.BeginArrowheadLength};x(t)||(V=r.ctV.options.endPoints.beginArrow,n=t.style,i=t.width,e=t.length,x(n)||(c.BeginArrowheadStyle=n,V.type=n),x(i)||(c.BeginArrowheadWidth=i,V.widthType=i),x(e)||(c.BeginArrowheadLength=e,V.lengthType=e))},V.prototype.Q0V=function(t){var V,n,i,e,r=this,c=r.ytV.Line;if((0,a.noArguments)(arguments))return{style:c.EndArrowheadStyle,width:c.EndArrowheadWidth,length:c.EndArrowheadLength};x(t)||(V=r.ctV.options.endPoints.endArrow,n=t.style,i=t.width,e=t.length,x(n)||(c.EndArrowheadStyle=n,V.type=n),x(i)||(c.EndArrowheadWidth=i,V.widthType=i),x(e)||(c.EndArrowheadLength=e,V.lengthType=e))},V.prototype.tnV=function(t){var V,n,i,e,r,c,o,s,d=this,h=d.Mf,u=d.ytV;d.VnV=!0,V=u.ConnectorFormat.Type,n=d.z0V(),e=d.KVV(),r=h.shapeLayers[0],0===V?c="Line":1!==V&&2!==V||(c="ZipLine"),o=h.zoom(),e=e.map((function(t){return{x:t.x*o,y:t.y*o}})),c&&(f(s={points:e,options:n},u,r),(i=r.createLine(c,s)).getShapeCenter(),i.hyperlink=u.ku,i.JVV=d,d.ZnV(i.id)),d.ctV=i,t||(0,a.syncConnectors)([d.startConnector(),d.endConnector()],d),d.gnV(),delete d.VnV},V.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}}}},V.prototype.getPoints=function(t){return this.KVV(t)},V.prototype.KVV=function(t){var V,n,i,e,r,c,o,s,d,a=this,h=a.Btn;return h&&!t||(n=(V=a.ytV).left||0,i=V.top||0,e=V.width||0,r=V.height||0,c=V.gtV,o=V.ltV,s=V.ConnectorFormat.Type,d=V.Rotation,0===s?h=a.Btn=a.G0V(i,n,e,r,c,o,d):1!==s&&2!==s||(h=a.Btn=a.J0V(i,n,e,r,c,o,d,V.AdjustValues))),h},V.prototype.G0V=function(t,V,n,i,e,r,c){var o,s,d,h,u,x,f,y;return e&&r?(o=V+n,s=t+i,d=V,h=t):e?(o=V,s=t+i,d=V+n,h=t):r?(o=V+n,s=t,d=V,h=t+i):(o=V,s=t,d=V+n,h=t+i),u={x:V+n/2,y:t+i/2},x=c/180*Math.PI,[f=(0,a.rotatePoint)({x:o,y:s},u,x),y=(0,a.rotatePoint)({x:d,y:h},u,x)]},V.prototype.W0V=function(t,V,n,i,e,r,c,o){var s,d,a;return[s=L(0,0,e,r,V,t,n,i,o,c),d=L(n,0,e,r,V,t,n,i,o,c),a=L(n,i,e,r,V,t,n,i,o,c)]},V.prototype.K0V=function(t,V,n,i,e,r,c,o,s){var d,a,h,u;return s||(s=[.5]),[d=L(0,0,e,r,V,t,n,i,o,c),a=L(n*s[0],0,e,r,V,t,n,i,o,c),h=L(n*s[0],i,e,r,V,t,n,i,o,c),u=L(n,i,e,r,V,t,n,i,o,c)]},V.prototype.$0V=function(t,V,n,i,e,r,c,o,s){var d=L(0,0,e,r,V,t,n,i,o,c),a=L(n*s[0],0,e,r,V,t,n,i,o,c),h=L(n*s[0],i*s[1],e,r,V,t,n,i,o,c),u=L(n,i*s[1],e,r,V,t,n,i,o,c),x=L(n,i,e,r,V,t,n,i,o,c);return[d,a,h,u,x]},V.prototype.tcV=function(t,V,n,i,e,r,c,o,s){var d=L(0,0,e,r,V,t,n,i,o,c),a=L(n*s[0],0,e,r,V,t,n,i,o,c),h=L(n*s[0],i*s[1],e,r,V,t,n,i,o,c),u=L(n*s[2],i*s[1],e,r,V,t,n,i,o,c),x=L(n*s[2],i,e,r,V,t,n,i,o,c),f=L(n,i,e,r,V,t,n,i,o,c);return[d,a,h,u,x,f]},V.prototype.VcV=function(t,V,n,i,e,r,c,o,s){var d;switch(this.ytV.PointNum){case 2:d=this.W0V;break;case 3:d=this.K0V;break;case 4:d=this.$0V;break;case 5:d=this.tcV}return d&&d(t,V,n,i,e,r,c,o,s)},V.prototype.J0V=function(t,V,n,i,e,r,c,o){var d,a={x:V+n/2,y:t+i/2},h=c/180*Math.PI;return o&&o.length>0&&(d=o.map((function(t){return t[1]/s.ADJUSTMENT_UNIT}))),this.VcV(t,V,n,i,e,r,h,a,d)},V.prototype.ncV=function(t){var V,n,i;for(t===g&&(t=this.ctV.getPoints()),V=[],n=0,i=t.length;n<i;n++)V.push({x:t[n].x,y:t[n].y});return V},V.prototype.ecV=function(){var t=[],V=R(this.ncV()),n=V.adjs;return n&&n.length&&n.forEach((function(V,n){t.push(["adj"+(n+1),V])})),t},V.prototype.OiV=function(t){return t.nvCxnSpPr.cNvPr},V.prototype.DiV=function(t){return t.cxnSp},V.prototype.preProcessShapeDataToJson=function(V,n){var i,e,r,c;t.prototype.preProcessShapeDataToJson.call(this,V,n),(i=this).ytV.PointNum=i.Btn.length-1,e=R(i.ncV()),r=i.ctV.angle,isNaN(r)||(e.rot=e.rot+r),c=i.Mf.zoom(),C(i,e,c)},V.prototype.nnV=function(t){var V,n,i,e=this,r=e.ytV,c=e.ncV(e.Btn);e.DT("points",{points:t},{points:c}),V=e.Mf.zoom(),n=e.AsV("presetGeometry"),e.Btn=t,e.ctV.setPoints(e.Btn,V),r.PointNum=e.Btn.length-1,e.usV("presetGeometry",{changingContext:n}),i=R(e.ncV()),C(e,i,V)},V.prototype.adjustments=function(t){var V,n,i,e,r,c,o,s,d,h=this;if((0,a.noArguments)(arguments))return(V=h.ecV())&&V.length>0?V.map((function(t){return t[1]})):[];t&&t.length>0&&h.Btn.length>2&&(n=h.x(),i=h.y(),o={x:n+(e=h.width())/2,y:i+(r=h.height())/2},s=(c=h.ytV.Rotation)/180*Math.PI,d=h.VcV(h.y(),h.x(),h.width(),h.height(),h.ytV.gtV,h.ytV.ltV,s,o,t),h.nnV(d),h.refresh())},V.prototype.QiV=function(t){var V,n,i,e,r,c,o=this;return"style"===t.substr(0,5)&&3===(V=t.split(".")).length&&(n=o.style(),i=V[1],e=V[2],"line"===i&&p.indexOf(e)>-1)?(r=A[e],c=n[i][r],(0,a.isFormula)(c)?c:""):""},V.prototype.ziV=function(t,V){var n,i,e,r,c,o=this;"style"===t.substr(0,5)&&3===(n=t.split(".")).length&&(i=o.style(),e=n[1],r=n[2],"line"===e&&p.indexOf(r)>-1&&(c=A[r],i[e][c]=V),o.style(i))},V.prototype.style=function(t){var V,n,i,e,r,c,o=this;if((0,a.noArguments)(arguments))return o.getStyle(!0,!1);V=o.style(),o.DT("style",t,V),(n=t.line)&&(i=o.AsV("line",o.ytV.Line),e=n.color,x(e)||o.j0V({color:e,lineStyle:n.lineStyle,width:n.width,capType:n.capType,joinType:n.joinType,compoundType:n.compoundType,transparency:n.transparency}),r=n.beginArrowheadStyle,x(r)||o.H0V({style:r,width:n.beginArrowheadWidth,length:n.beginArrowheadLength}),c=n.endArrowheadStyle,x(c)||o.Q0V({style:c,width:n.endArrowheadWidth,length:n.endArrowheadLength}),o.usV("line",{changingContext:i})),o.enV("style",V),o.refresh()},V.prototype.getStyle=function(t,V){var n,i=this,e=new h.ShapeStyle,r=e.line=i.ydV(t,V),c=i.H0V();return r.beginArrowheadStyle=c.style,r.beginArrowheadWidth=c.width,r.beginArrowheadLength=c.length,n=i.Q0V(),r.endArrowheadStyle=n.style,r.endArrowheadWidth=n.width,r.endArrowheadLength=n.length,delete e.fill,delete e.textEffect,delete e.textFrame,e},V.prototype.icV=function(t){var V,n,i=this,e=i.ctV;!i.ignoreLayoutConnection&&t&&t.length&&i.Mf&&(i.Mf.QnV(e),V=i.Mf.zoom(),n=e.getPoints().map((function(t){return{x:t.x/V,y:t.y/V}})),i.nnV(n)),i.refresh()},V.prototype.startConnector=function(t,V){var n,i,e,r,c,o,s,d,h,u=this,x=u.ytV.ConnectorFormat;if((0,a.noArguments)(arguments))return x.BeginConnected?{name:x.BeginConnected,index:x.BeginConnectionSite,shape:x.BeginConnectedShape}:null;n=u.ctV,i=u.startConnector(),u.DT("startConnector",{name:t?t.name:"",index:t?t.index:-1},i?{name:i.name,index:i.index}:null),r=u.AsV("startConnector",x),x.BeginConnected=t?t.name:"",x.BeginConnectionSite=t?t.index:-1,t&&(o=t.index,s=t.name,(d=u.Mf.shapes.get(s))&&(c={id:d.ctV.id,index:o},V||((h=(e=d.ctV.getActualConnectorPoints())[o])?n.moveStartPoint(h.x,h.y):c=null))),n.updateStartConnector(c),u.enV("startConnector",i),u.icV(e),u.usV("startConnector",{changingContext:r})},V.prototype.endConnector=function(t,V){var n,i,e,r,c,o,s,d,h,u=this,x=u.ytV.ConnectorFormat;if((0,a.noArguments)(arguments))return x.EndConnected?{name:x.EndConnected,index:x.EndConnectionSite,shape:x.EndConnectedShape}:null;n=u.ctV,i=u.endConnector(),u.DT("endConnector",{name:x.EndConnected,index:x.EndConnectionSite},i?{name:i.name,index:i.index}:null),r=u.AsV("endConnector",x),x.EndConnected=t?t.name:"",x.EndConnectionSite=t?t.index:-1,t&&(o=t.index,s=t.name,(d=u.Mf.shapes.get(s))&&(c={id:d.ctV.id,index:o},V||((h=(e=d.ctV.getActualConnectorPoints())[o])?n.moveEndPoint(h.x,h.y):c=null))),n.updateEndConnector(c),u.enV("endConnector",i),u.icV(e),u.usV("endConnector",{changingContext:r})},V.prototype.rsV=function(t,V){var n=this;t&&t.line&&n.j0V(t.line)},V.prototype.KiV=function(t){var V=this,n=V.ctV;!1!==(null==t?void 0:t.layoutConnectionLine)&&n instanceof c.ZipLine&&V.Mf.QnV(n)},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)}},V.prototype.WiV=function(t){return new V(t)},V}(d.ShapeBase),V.ConnectorShape=w},"./dist/plugins/shape/drawingInterface.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P,N,D,U,q,k=this&&this.nJr||function(){return k=Object.assign||function(t){var V,n,i,e;for(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},k.apply(this,arguments)};function B(t){return tt(t,!0,x,!0)}function Z(t){return+t.split(" ")[1]}function H(t){return[t.name,Z(t.fmla)]}function z(t){return{name:t[0],fmla:"val "+gt(t[1])}}function Q(t,V){return h(t)?V:t}function G(t,V,n){var i=V,e=n;switch(t){case s.TextDirection.vert:case s.TextDirection.wordArtVertRtl:case s.TextDirection.eaVert:i=2-n,e=V;break;case s.TextDirection.vert270:i=n,e=2-V;break;case s.TextDirection.wordArtVert:case s.TextDirection.eaVertLtr:i=n,e=V}return{hAlign:i,vAlign:e}}function J(t){var n,i,e,r=t.O0t[0],c=r?r.Algn:V.ST_TextAlignType.l,o=t.Inset,d={rIns:Q(o.right,y),lIns:Q(o.left,y),tIns:Q(o.top,f),bIns:Q(o.bottom,f),anchorCtr:Q(t.anchorCtr,!1),anchor:Q(t.anchor,V.ST_TextAnchoringType.t),vert:Q(t.vert,V.ST_TextVerticalType.horz),wrap:Q(t.wrap,V.ST_TextWrappingType.square),horzOverflow:Q(t.horzOverflow,V.ST_TextHorzOverflowType.overflow),vertOverflow:Q(t.vertOverflow,V.ST_TextVertOverflowType.overflow)},a=0,h=0,x=!1,l=!0,g=0,A=!1,p=s.TextDirection.horz;return d&&Object.keys(d).length>0&&(p=d.vert||0,n=[d.lIns,d.rIns,d.tIns,d.bIns].map(u),x=!d.horzOverflow,l=0!==d.wrap,i=d.anchor||0,A=!!d.anchorCtr,i>2&&(i=1),c>2&&(c=0),h=i,a=c),{center:A,hAlign:(e=G(p,a,h)).hAlign,vAlign:e.vAlign,overflow:x,wrap:l,angle:g,margins:n,textDirection:p}}function W(t){return{fontSize:t.Size,fontName:t.Name,bold:!!t.Bold,italic:!!t.Italic,color:B(t)}}function K(t){var V=t.O0t[0],n=(V.j0t&&V.j0t[0]||V).Font;return W(n)}function $(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 tt(t,n,i,e,r){var c,o,s,h;if(void 0===r&&(r=!1),o="transparent",!(c=t&&t.Color))return o;if(c.ColorType===V.SolidColorType.None)return i?"":o;if(c.ColorType===V.SolidColorType.Theme&&r){for(;!c.HasOwnColor()&&c.sft;)c=c.sft;return d[c.GetColorData().Value]}return(s=c.NoTransformedRGB)&&((h=c.GetColorData()).ApplyBrightness=!!e,s=a(s,h),o=n?V.Color.fromARGBColor(s).toRgbaString():V.Color.fromARGBColor(s).toRgbString()),o}function Vt(t){var V,n=t&&t.Color&&t.Color.Transparency;return isNaN(n)&&(n=0),{color:V=tt(t,!1,!0,!0),transparency:n}}function nt(t){var V=t.Color,n={color:tt(t,!1,!0,!1,!0)};return 0!==V.Brightness&&(n.brightness=V.Brightness),0!==V.TintAndShade&&(n.tint=V.TintAndShade),0!==V.Shade&&(n.shade=V.Shade),1!==V.SatMod&&(n.satMod=V.SatMod),n}function it(t,V){var n;return(D[N[t]]||[]).map((function(t){return t*V}))}function et(t){return P[t]}function rt(t){return T[t]}function ct(t){var n=V.FillType.Solid;return t.Type===V.FillType.Gradient?n=V.FillType.Gradient:t.Type===V.FillType.Picture&&(n=V.FillType.Picture),n}function ot(t){var V=1;return 0===t.Color.ColorType&&(V=0),V}function st(t){return!0===t.u0t?g.linear:t.Bft===V.ST_PathShadeType.circle?g.radial:void 0}function dt(t){return t.u0t?t.GradientAngle:void 0}function at(t){var V=st(t);return V===g.linear?ut(t):V===g.radial?xt(t):void 0}function ht(t){var V,n,i=t.GradientStops,e=[];for(V=0;V<i.Count;V++)n=i.Item(V),e.push({color:tt(n,!1,!0,!1),position:n.Position,transparency:n.Transparency,brightness:n.Color.Brightness});return e}function ut(t){var V=dt(t);if(t.Rft&&V%45==0)return V}function xt(t){return t.GradientStyle===V.GradientStyle.GradientFromCenter?p.fromCenter:t.GradientStyle===V.GradientStyle.GradientFromCorner?t.GradientVariant:void 0}function ft(t){var n,i=t.GradientStyle;return i===V.GradientStyle.GradientTopSpotlight?n=p.fromTopLeft:i===V.GradientStyle.GradientBottomSpotlight&&(n=p.fromBottomLeft),n}function yt(t){var n,i=t&&t.Fill;if(i)return i._type===V.FillType.Group&&t.XtV&&(i=t.XtV.Fill),n=Vt(i),{type:ct(i),solid:{type:ot(i),color:n.color,transparency:n.transparency},gradient:{type:st(i),angle:dt(i),direction:at(i),stops:ht(i)},picture:k({src:i.PictureFormat.PicSrc,transparency:i.PictureFormat.Transparency,tilePictureAsTexture:i.PictureFormat.PictureFormatType===V.PictureFormatType.TextureFill,offsetLeft:i.PictureFormat.Stretch.left,offsetRight:i.PictureFormat.Stretch.right,offsetTop:i.PictureFormat.Stretch.top,offsetBottom:i.PictureFormat.Stretch.bottom},i.PictureFormat.Tile)}}function lt(t,n){var i=yt(n);i.type===V.FillType.Gradient?(t.fill=i.gradient,h(t.fill.direction)&&(t.fill.direction=ft(n.Fill))):i.type===V.FillType.Picture?t.fill=i.picture:t.fill=i.solid}function gt(t){return parseInt(t,10)}Object.defineProperty(V,"__esModule",{value:!0}),V.ST_FontCollectionIndex=V.ConnectorType=V.ST_CompoundLine=V.ST_PresetLineDashVal=V.ST_TextHorzOverflowType=V.ST_TextVertOverflowType=V.ST_TextWrappingType=V.ST_TextVerticalType=V.ST_TextAnchoringType=V.ST_TextAlignType=V.ft=V.StatefulBase=V.ARGBColor=V.ThreeDFormat=V.ReflectionFormat=V.SoftEdgeFormat=V.GlowFormat=V.ShadowFormat=V.DrawingText=V.FontFormat=V.LineFormat=V.PictureFormat=V.PictureFormatType=V.FillFormat=V.ThreeDFormatStates=V.ColorFormat=V.GradientStyle=V.ColorType=V.GradientStop=V.GradientStops=V.ST_PathShadeType=V.FillType=V.DrawingType=V.Placement=V.SolidColorType=V.ThemeFont=V.ThemeColor=V.ShapeType=V.FormControlType=V.ListBoxSelectionType=V.TextureFillMirrorType=V.TextureFillAlignment=V.RadialGradientFillDirection=V.LinearGradientFillDirection=V.GradientFillType=V.AutoShapeType=V.Color=V.DrawingUtility=V.sR=V.SR=void 0,V.getWholeNumber=V.ST_EditAs=V.ShapeUtility=V.ShapeConstants=V.ArrowheadWidth=V.ArrowheadLength=V.ArrowheadStyle=V.CompoundType=V.LineJoinStyle=V.LineCapStyle=V.PresetLineDashStyle=V.CT_ShapeType=V.ST_SchemeColorVal=V.ST_ShapeType=void 0,i=n("Common"),e=n("./dist/plugins/shape/shape.res.en.js"),V.SR={en:e},r=new i.Common.ResourceManager(V.SR,"Shapes"),V.sR=r.getResource.bind(r),c=n("Core"),o=n("FloatingObject"),s=n("./dist/plugins/shape/shape.interface.js"),V.DrawingUtility=o.Drawing.DrawingUtility,V.Color=o.Drawing.DrawingColorHelper,d=o.Drawing.ThemeColorDict,a=o.Drawing.transformColor,h=i.Common.lt.ht,u=Math.round,x=void 0,f=4.8,y=9.6,function(t){t[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"}(l=V.AutoShapeType||(V.AutoShapeType={})),function(t){t[t.linear=0]="linear",t[t.radial=1]="radial"}(g=V.GradientFillType||(V.GradientFillType={})),function(t){t[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"}(A=V.LinearGradientFillDirection||(V.LinearGradientFillDirection={})),function(t){t[t.fromCenter=0]="fromCenter",t[t.fromTopLeft=1]="fromTopLeft",t[t.fromTopRight=2]="fromTopRight",t[t.fromBottomLeft=3]="fromBottomLeft",t[t.fromBottomRight=4]="fromBottomRight"}(p=V.RadialGradientFillDirection||(V.RadialGradientFillDirection={})),function(t){t[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"}(v=V.TextureFillAlignment||(V.TextureFillAlignment={})),function(t){t[t.none=0]="none",t[t.horizontal=1]="horizontal",t[t.vertical=2]="vertical",t[t.both=3]="both"}(w=V.TextureFillMirrorType||(V.TextureFillMirrorType={})),function(t){t.single="single",t.multi="multi",t.extend="extended"}(j=V.ListBoxSelectionType||(V.ListBoxSelectionType={})),function(t){t.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"}(b=V.FormControlType||(V.FormControlType={})),function(t){t[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"}(L=V.ShapeType||(V.ShapeType={})),function(t){t[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"}(m=V.ThemeColor||(V.ThemeColor={})),V.ThemeFont=o.Drawing.ThemeFont,V.SolidColorType=o.Drawing.SolidColorType,V.Placement=o.Drawing.Placement,V.DrawingType=o.Drawing.DrawingType,V.FillType=o.Drawing.FillType,V.ST_PathShadeType=o.Drawing.ST_PathShadeType,V.GradientStops=o.Drawing.GradientStops,V.GradientStop=o.Drawing.GradientStop,V.ColorType=o.Drawing.ColorType,V.GradientStyle=o.Drawing.GradientStyle,V.ColorFormat=o.Drawing.ColorFormat,V.ThreeDFormatStates=o.Drawing.ThreeDFormatStates,V.FillFormat=o.Drawing.FillFormat,V.PictureFormatType=o.Drawing.PictureFormatType,V.PictureFormat=o.Drawing.PictureFormat,V.LineFormat=o.Drawing.LineFormat,V.FontFormat=o.Drawing.FontFormat,V.DrawingText=o.Drawing.DrawingText,V.ShadowFormat=o.Drawing.ShadowFormat,V.GlowFormat=o.Drawing.GlowFormat,V.SoftEdgeFormat=o.Drawing.SoftEdgeFormat,V.ReflectionFormat=o.Drawing.ReflectionFormat,V.ThreeDFormat=o.Drawing.ThreeDFormat,V.ARGBColor=o.Drawing.ARGBColor,V.StatefulBase=o.Drawing.StatefulBase,V.ft=i.Common.ft,V.ST_TextAlignType=o.Drawing.ST_TextAlignType,V.ST_TextAnchoringType=o.Drawing.ST_TextAnchoringType,V.ST_TextVerticalType=o.Drawing.ST_TextVerticalType,V.ST_TextWrappingType=o.Drawing.ST_TextWrappingType,V.ST_TextVertOverflowType=o.Drawing.ST_TextVertOverflowType,V.ST_TextHorzOverflowType=o.Drawing.ST_TextHorzOverflowType,V.ST_PresetLineDashVal=o.Drawing.ST_PresetLineDashVal,V.ST_CompoundLine=o.Drawing.ST_CompoundLine,function(t){t[t.straight=0]="straight",t[t.elbow=1]="elbow"}(C=V.ConnectorType||(V.ConnectorType={})),V.ST_FontCollectionIndex=o.Drawing.ST_FontCollectionIndex,function(t){t[t.line=0]="line",t[t.lineInv=1]="lineInv",t[t.triangle=2]="triangle",t[t.rtTriangle=3]="rtTriangle",t[t.rect=4]="rect",t[t.diamond=5]="diamond",t[t.parallelogram=6]="parallelogram",t[t.trapezoid=7]="trapezoid",t[t.nonIsoscelesTrapezoid=8]="nonIsoscelesTrapezoid",t[t.pentagon=9]="pentagon",t[t.hexagon=10]="hexagon",t[t.heptagon=11]="heptagon",t[t.octagon=12]="octagon",t[t.decagon=13]="decagon",t[t.dodecagon=14]="dodecagon",t[t.star4=15]="star4",t[t.star5=16]="star5",t[t.star6=17]="star6",t[t.star7=18]="star7",t[t.star8=19]="star8",t[t.star10=20]="star10",t[t.star12=21]="star12",t[t.star16=22]="star16",t[t.star24=23]="star24",t[t.star32=24]="star32",t[t.roundRect=25]="roundRect",t[t.round1Rect=26]="round1Rect",t[t.round2SameRect=27]="round2SameRect",t[t.round2DiagRect=28]="round2DiagRect",t[t.snipRoundRect=29]="snipRoundRect",t[t.snip1Rect=30]="snip1Rect",t[t.snip2SameRect=31]="snip2SameRect",t[t.snip2DiagRect=32]="snip2DiagRect",t[t.plaque=33]="plaque",t[t.ellipse=34]="ellipse",t[t.teardrop=35]="teardrop",t[t.homePlate=36]="homePlate",t[t.chevron=37]="chevron",t[t.pieWedge=38]="pieWedge",t[t.pie=39]="pie",t[t.blockArc=40]="blockArc",t[t.donut=41]="donut",t[t.noSmoking=42]="noSmoking",t[t.rightArrow=43]="rightArrow",t[t.leftArrow=44]="leftArrow",t[t.upArrow=45]="upArrow",t[t.downArrow=46]="downArrow",t[t.stripedRightArrow=47]="stripedRightArrow",t[t.notchedRightArrow=48]="notchedRightArrow",t[t.bentUpArrow=49]="bentUpArrow",t[t.leftRightArrow=50]="leftRightArrow",t[t.upDownArrow=51]="upDownArrow",t[t.leftUpArrow=52]="leftUpArrow",t[t.leftRightUpArrow=53]="leftRightUpArrow",t[t.quadArrow=54]="quadArrow",t[t.leftArrowCallout=55]="leftArrowCallout",t[t.rightArrowCallout=56]="rightArrowCallout",t[t.upArrowCallout=57]="upArrowCallout",t[t.downArrowCallout=58]="downArrowCallout",t[t.leftRightArrowCallout=59]="leftRightArrowCallout",t[t.upDownArrowCallout=60]="upDownArrowCallout",t[t.quadArrowCallout=61]="quadArrowCallout",t[t.bentArrow=62]="bentArrow",t[t.uturnArrow=63]="uturnArrow",t[t.circularArrow=64]="circularArrow",t[t.leftCircularArrow=65]="leftCircularArrow",t[t.leftRightCircularArrow=66]="leftRightCircularArrow",t[t.curvedRightArrow=67]="curvedRightArrow",t[t.curvedLeftArrow=68]="curvedLeftArrow",t[t.curvedUpArrow=69]="curvedUpArrow",t[t.curvedDownArrow=70]="curvedDownArrow",t[t.swooshArrow=71]="swooshArrow",t[t.cube=72]="cube",t[t.can=73]="can",t[t.lightningBolt=74]="lightningBolt",t[t.heart=75]="heart",t[t.sun=76]="sun",t[t.moon=77]="moon",t[t.smileyFace=78]="smileyFace",t[t.irregularSeal1=79]="irregularSeal1",t[t.irregularSeal2=80]="irregularSeal2",t[t.foldedCorner=81]="foldedCorner",t[t.bevel=82]="bevel",t[t.frame=83]="frame",t[t.halfFrame=84]="halfFrame",t[t.corner=85]="corner",t[t.diagStripe=86]="diagStripe",t[t.chord=87]="chord",t[t.arc=88]="arc",t[t.leftBracket=89]="leftBracket",t[t.rightBracket=90]="rightBracket",t[t.leftBrace=91]="leftBrace",t[t.rightBrace=92]="rightBrace",t[t.bracketPair=93]="bracketPair",t[t.bracePair=94]="bracePair",t[t.straightConnector1=95]="straightConnector1",t[t.bentConnector2=96]="bentConnector2",t[t.bentConnector3=97]="bentConnector3",t[t.bentConnector4=98]="bentConnector4",t[t.bentConnector5=99]="bentConnector5",t[t.curvedConnector2=100]="curvedConnector2",t[t.curvedConnector3=101]="curvedConnector3",t[t.curvedConnector4=102]="curvedConnector4",t[t.curvedConnector5=103]="curvedConnector5",t[t.callout1=104]="callout1",t[t.callout2=105]="callout2",t[t.callout3=106]="callout3",t[t.accentCallout1=107]="accentCallout1",t[t.accentCallout2=108]="accentCallout2",t[t.accentCallout3=109]="accentCallout3",t[t.borderCallout1=110]="borderCallout1",t[t.borderCallout2=111]="borderCallout2",t[t.borderCallout3=112]="borderCallout3",t[t.accentBorderCallout1=113]="accentBorderCallout1",t[t.accentBorderCallout2=114]="accentBorderCallout2",t[t.accentBorderCallout3=115]="accentBorderCallout3",t[t.wedgeRectCallout=116]="wedgeRectCallout",t[t.wedgeRoundRectCallout=117]="wedgeRoundRectCallout",t[t.wedgeEllipseCallout=118]="wedgeEllipseCallout",t[t.cloudCallout=119]="cloudCallout",t[t.cloud=120]="cloud",t[t.ribbon=121]="ribbon",t[t.ribbon2=122]="ribbon2",t[t.ellipseRibbon=123]="ellipseRibbon",t[t.ellipseRibbon2=124]="ellipseRibbon2",t[t.leftRightRibbon=125]="leftRightRibbon",t[t.verticalScroll=126]="verticalScroll",t[t.horizontalScroll=127]="horizontalScroll",t[t.wave=128]="wave",t[t.doubleWave=129]="doubleWave",t[t.plus=130]="plus",t[t.flowChartProcess=131]="flowChartProcess",t[t.flowChartDecision=132]="flowChartDecision",t[t.flowChartInputOutput=133]="flowChartInputOutput",t[t.flowChartPredefinedProcess=134]="flowChartPredefinedProcess",t[t.flowChartInternalStorage=135]="flowChartInternalStorage",t[t.flowChartDocument=136]="flowChartDocument",t[t.flowChartMultidocument=137]="flowChartMultidocument",t[t.flowChartTerminator=138]="flowChartTerminator",t[t.flowChartPreparation=139]="flowChartPreparation",t[t.flowChartManualInput=140]="flowChartManualInput",t[t.flowChartManualOperation=141]="flowChartManualOperation",t[t.flowChartConnector=142]="flowChartConnector",t[t.flowChartPunchedCard=143]="flowChartPunchedCard",t[t.flowChartPunchedTape=144]="flowChartPunchedTape",t[t.flowChartSummingJunction=145]="flowChartSummingJunction",t[t.flowChartOr=146]="flowChartOr",t[t.flowChartCollate=147]="flowChartCollate",t[t.flowChartSort=148]="flowChartSort",t[t.flowChartExtract=149]="flowChartExtract",t[t.flowChartMerge=150]="flowChartMerge",t[t.flowChartOfflineStorage=151]="flowChartOfflineStorage",t[t.flowChartOnlineStorage=152]="flowChartOnlineStorage",t[t.flowChartMagneticTape=153]="flowChartMagneticTape",t[t.flowChartMagneticDisk=154]="flowChartMagneticDisk",t[t.flowChartMagneticDrum=155]="flowChartMagneticDrum",t[t.flowChartDisplay=156]="flowChartDisplay",t[t.flowChartDelay=157]="flowChartDelay",t[t.flowChartAlternateProcess=158]="flowChartAlternateProcess",t[t.flowChartOffpageConnector=159]="flowChartOffpageConnector",t[t.actionButtonBlank=160]="actionButtonBlank",t[t.actionButtonHome=161]="actionButtonHome",t[t.actionButtonHelp=162]="actionButtonHelp",t[t.actionButtonInformation=163]="actionButtonInformation",t[t.actionButtonForwardNext=164]="actionButtonForwardNext",t[t.actionButtonBackPrevious=165]="actionButtonBackPrevious",t[t.actionButtonEnd=166]="actionButtonEnd",t[t.actionButtonBeginning=167]="actionButtonBeginning",t[t.actionButtonReturn=168]="actionButtonReturn",t[t.actionButtonDocument=169]="actionButtonDocument",t[t.actionButtonSound=170]="actionButtonSound",t[t.actionButtonMovie=171]="actionButtonMovie",t[t.gear6=172]="gear6",t[t.gear9=173]="gear9",t[t.funnel=174]="funnel",t[t.mathPlus=175]="mathPlus",t[t.mathMinus=176]="mathMinus",t[t.mathMultiply=177]="mathMultiply",t[t.mathDivide=178]="mathDivide",t[t.mathEqual=179]="mathEqual",t[t.mathNotEqual=180]="mathNotEqual",t[t.cornerTabs=181]="cornerTabs",t[t.squareTabs=182]="squareTabs",t[t.plaqueTabs=183]="plaqueTabs",t[t.chartX=184]="chartX",t[t.chartStar=185]="chartStar",t[t.chartPlus=186]="chartPlus"}(R=V.ST_ShapeType||(V.ST_ShapeType={})),function(t){t[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"}(I=V.ST_SchemeColorVal||(V.ST_SchemeColorVal={})),function(t){t[t.CT_AlternateContent=0]="CT_AlternateContent",t[t.CT_Picture=1]="CT_Picture",t[t.CT_GraphicalObjectFrame=2]="CT_GraphicalObjectFrame",t[t.CT_GroupShape=3]="CT_GroupShape",t[t.CT_Connector=4]="CT_Connector",t[t.CT_Shape=5]="CT_Shape",t[t.CT_SlicerShape=6]="CT_SlicerShape",t[t.CT_FormControlShape=7]="CT_FormControlShape",t[t.CT_Chart=8]="CT_Chart",t[t.CT_DataChart=9]="CT_DataChart"}(M=V.CT_ShapeType||(V.CT_ShapeType={})),function(t){t[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.PresetLineDashStyle||(V.PresetLineDashStyle={})),function(t){t[t.flat=2]="flat",t[t.square=1]="square",t[t.round=0]="round"}(E=V.LineCapStyle||(V.LineCapStyle={})),function(t){t[t.round=0]="round",t[t.miter=1]="miter",t[t.bevel=2]="bevel"}(S=V.LineJoinStyle||(V.LineJoinStyle={})),function(t){t[t.simple=0]="simple",t[t.double=1]="double",t[t.thickThin=2]="thickThin",t[t.thinThick=3]="thinThick",t[t.triple=4]="triple"}(F=V.CompoundType||(V.CompoundType={})),function(t){t[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"}(X=V.ArrowheadStyle||(V.ArrowheadStyle={})),function(t){t[t.short=0]="short",t[t.medium=1]="medium",t[t.long=2]="long"}(Y=V.ArrowheadLength||(V.ArrowheadLength={})),function(t){t[t.narrow=0]="narrow",t[t.medium=1]="medium",t[t.wide=2]="wide"}(O=V.ArrowheadWidth||(V.ArrowheadWidth={})),V.ShapeConstants=o.Drawing.DrawingConstants,T=["round","miter","bevel"],P=["round","square","butt"],N=["solid","dot","dash","lgDash","dashDot","lgDashDot","lgDashDotDot","sysDash","sysDot","sysDashDot","sysDashDotDot"],D={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]},U=function(){function t(){}return t.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},t.GetConnectorPointNum=function(t){switch(t){case 96:case 100:default:return 2;case 97:case 101:return 3;case 98:case 102:return 4;case 99:case 103:return 5}},t.ToConnectorST_ShapeType=function(t,V){var n=0;switch(t){case 0:n=95;break;case 1:n=V>=2&&V<=5?V-2+96:97;break;case 2:n=V>=2&&V<=5?V-2+100:101}return n},t.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},t.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:case 137:return 117;case 107:return 118;case 108:return 119;case 109:case 110:case 121:return 110;case 111:return 111;case 112:return 112;case 113:case 117:case 118:return 104;case 114:return 107;case 115:return 108;case 116:return 109;case 119:return 105;case 120:return 106;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 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},t.convertFromExcelAdjustValues=function(t){if(t&&t.length)return t.map(H)},t.syncShapeAdjustValues=function(t,V){var n=V.AdjustValues;t&&n&&n.length&&(t.suspendResetPath(),n.forEach((function(V){t.setVariable(V[0],V[1])})),t.resumeResetPath())},t.getShapeTextInfo=function(t){var V=t.Text,n=t.TextBody,i=J(n),e=K(n);return{text:V,formatInfo:i,fontInfo:e}},t.getFontOptions=function(t){var V=W(t);return{font:$(V),fill:{type:1,color:V.color}}},t.getFontFromShapeData=function(t){var V;return $(K(t.I0i.TextBody))},t.syncShapeTextFormatOptions=function(V,n){var i,e,r,o,d,a,u=t.getShapeTextInfo(n&&n.I0i),x=u.text;V.text=x,i=u.fontInfo,V.font=$(i),V.fill={type:1,color:i.color},(r=(e=u.formatInfo).margins)&&(V.margins={left:r[0],right:r[1],top:r[2],bottom:r[3]}),o=V.textDirection=e.textDirection,d=V.horizontalAlignment=e.textDirection===s.TextDirection.horz&&e.center?c.HorizontalAlign.center:e.hAlign,a=V.verticalAlignment=e.vAlign,V.wrapTextInShape=e.wrap,isNaN(n.fzn)&&(n.fzn=a),isNaN(n.czn)&&(n.czn=d),isNaN(n.VoV)&&(n.VoV=o),V.allowTextToOverflowShape=e.overflow,h(n.TrV)||(V.resizeToFitText=n.TrV)},t.getLineFormatInfo=function(t,V){var n,i,e;if(t)return n=Vt(t),i={width:t.Weight,capType:t.CapStyle,joinType:t.JoinStyle,compoundType:t.Style,lineStyle:t.DashStyle,color:n.color,transparency:n.transparency},V&&((e=t.BeginArrowheadStyle)&&(i.beginArrow={type:e,widthType:t.BeginArrowheadWidth,lengthType:t.BeginArrowheadLength}),(e=t.EndArrowheadStyle)&&(i.endArrow={type:e,widthType:t.EndArrowheadWidth,lengthType:t.EndArrowheadLength})),i},t.syncShapeLineFormat=function(V,n){var i,e,r,c,o=t.getLineFormatInfo(n&&n.Line,!0),s=V.stroke;o&&(i=o.width,s.width=i,s.capType=et(o.capType),s.joinType=rt(o.joinType),s.compoundType=o.compoundType,s.color=o.color,s.transparency=o.transparency,e=o.lineStyle,s.dashType=e&&i?it(e,i):[],r=o.beginArrow,c=o.endArrow,V.endPoints||!r&&!c||(V.endPoints={}),r&&(V.endPoints.beginArrow=r),c&&(V.endPoints.endArrow=c))},t.syncShapeOptions=function(V,n,i,e){var r,o,s,d,a=V.id,h=+a||+n.Id;isNaN(h)?(r=i.getUniqueShapeId(!0),a&&isNaN(a[0])&&!i.getShapeById(a)||(a=r.key),h=r.id):(a=(r=i.ensureUniqueShapeId(h)).key,h=r.id),V.id=a,n.Id=h,(o=e?{}:V.options)&&((s=o.textFormatOptions)||(s=o.textFormatOptions={}),t.syncShapeTextFormatOptions(s,n),(d=o.stroke)||(o.stroke={type:1}),t.syncShapeLineFormat(o,n),o.fill||(o.fill={}),lt(o,n)),e&&c.GC$.extend(!0,V.options,o)},t.convertToExcelAdjustValues=function(t){if(t&&t.length)return t.map(z)},t.getRGBAColor=B,t.getColorInfo=Vt,t.getColorData=nt,t.getGradientFillType=st,t.getFillType=ct,t.getFillFormatInfo=yt,t.syncShapeFillFormat=lt,t.getLineJoinValue=rt,t}(),V.ShapeUtility=U,function(t){t[t.twoCell=0]="twoCell",t[t.oneCell=1]="oneCell",t[t.absolute=2]="absolute"}(q=V.ST_EditAs||(V.ST_EditAs={})),V.getWholeNumber=gt},"./dist/plugins/shape/formControl/baseFormControl.js":function(t,V,n){var i,e,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=function(){function t(){}return t.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)},t.defaultStyle=function(){return{}},t.prototype.styleSupportInfo=function(){return{supportFill:!1,supportLine:!1,supportText:!1}},Object.defineProperty(t.prototype,"value",{get:function(){return this.y4},set:function(t){this.y4=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.LEt},set:function(t){this.LEt=t},enumerable:!1,configurable:!0}),t.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})},t.prototype.render=function(t,V){},t.prototype.onMouseDown=function(t){},t.prototype.onMouseMove=function(t){},t.prototype.onMouseUp=function(t){},t.prototype.fromExcelProps=function(t){},t.prototype.toExcelProps=function(){return{}},t.prototype.dispose=function(){this.y4=null,this.LEt=null},t.prototype.triggerEvent=function(t,V){var n=this.sheet;n&&n.ki(t,V)},Object.defineProperty(t.prototype,"shape",{get:function(){return this.RQt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shapeUI",{get:function(){return this.RQt.ctV},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sheet",{get:function(){return this.shape.Mf},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return Math.round(this.shapeUI.left)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return Math.round(this.shapeUI.top)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return Math.round(this.shapeUI.width/this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return Math.round(this.shapeUI.height/this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){var t=this.shapeUI;return t.TtV&&t.OtV||1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.shape.enabled()},enumerable:!1,configurable:!0}),t.prototype.refresh=function(t){this.shape.refresh(t)},t.prototype.getPointerRelativeControl=function(t,V){var n;return n=V?V.getPointer(t):(0,e.getPointerByMouseEvt)(this.shape,t),this.convertToRelativePoint(n)},t.prototype.convertToRelativePoint=function(t){return t.x-=this.x,t.y-=this.y,t.x/=this.zoom,t.y/=this.zoom,t},t}(),V.BaseFormControl=r},"./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js":function(t,V,n){var i,e,r,c,o,s=this&&this.qKr||(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])},d(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)}),d;Object.defineProperty(V,"__esModule",{value:!0}),V.ExcelBuildInFormControlBase=void 0,i=n("Core"),e=n("./dist/plugins/shape/ui/util.js"),r=n("./dist/plugins/shape/ui/shapes.js"),o=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.rb=!1,V}return s(V,t),V.prototype.onMouseDown=function(t){if(!this.shouldProcessMouseDownEvt(t))return!1;this.enabled&&!this.doMouseDown(t)||(this.rb=!0,t.cancelDefault=!0)},V.prototype.onMouseMove=function(t){this.doMouseMove(t),this.rb&&(t.cancelDefault=!0)},V.prototype.onMouseUp=function(t){this.doMouseUp(t),this.rb&&(t.cancelDefault=!0,this.rb=!1)},V.prototype.shouldProcessMouseEvt=function(t){var V=t.canvas.getPointer(t.evt);return!this.shape.isSelected()&&this.hitTest(V)},V.prototype.shouldProcessMouseDownEvt=function(t){return this.shouldProcessMouseEvt(t)&&(0===t.evt.button||void 0===t.evt.button)&&!t.evt.ctrlKey},V.prototype.doMouseDown=function(t){return!1},V.prototype.doMouseMove=function(t){},V.prototype.doMouseUp=function(t){},V.prototype.triggerValueChangedEvent=function(t,V){var n={sheet:this.sheet,sheetName:this.sheet.name(),shape:this.shape,oldValue:t,newValue:V};this.triggerEvent(i.Events.FormControlValueChanged,n)},V.prototype.triggerButtonClickedEvent=function(){var t={sheet:this.sheet,sheetName:this.sheet.name(),shape:this.shape};this.triggerEvent(i.Events.FormControlButtonClicked,t)},V.prototype.applyTextStyle=function(t,V,n){var i,c,o,s;void 0===V&&(V=!0),void 0===n&&(n=!0),c=(i=this.shapeUI).options,(o=i.options&&c.textFormatOptions)&&(V&&(s=e.Common.getOptionValue(o.font,i))&&e.Common.setContextFont(t,s),n&&(0,r.applyFillOptions)(t,o.fill,i,2,2))},V}((c=n("./dist/plugins/shape/formControl/baseFormControl.js")).BaseFormControl),V.ExcelBuildInFormControlBase=o},"./dist/plugins/shape/formControl/controls/buttonFormControl.js":function(t,V,n){var i,e,r,c,o=this&&this.qKr||(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])},s(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)}),s;Object.defineProperty(V,"__esModule",{value:!0}),V.ButtonFormControl=void 0,i=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),r=1,c=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.LEt={},V.PtV=!1,V}return o(V,t),V.defaultStyle=function(){return{hAlign:1,vAlign:1,margins:{left:3,right:3,bottom:3,top:3}}},V.prototype.styleSupportInfo=function(){var t=this.PtV?1:0,V=this.PtV?1:0,n={x:t,y:V,w:this.width,h:this.height};return{supportFill:!1,supportLine:!1,supportText:!0,textRect:n,supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},V.prototype.doMouseDown=function(){return this.PtV=!0,this.refresh(!0),!0},V.prototype.doMouseUp=function(){this.PtV&&(this.PtV=!1,this.refresh(),this.triggerButtonClickedEvent())},V.prototype.render=function(t,V){var n,i,c,o,s,d=this.width,a=this.height;t.save(),t.translate(-d/2,-a/2),(0,e.fillRect)(t,0,0,d,a,"rgb(240,240,240)"),n="rgb(240,240,240)",i="rgb(100,100,100)",c="white",o="rgb(160,160,160)",this.PtV&&(s=n,n=i,i=s,s=c,c=o,o=s),(0,e.drawTheeDShadingOuterRect)(t,d,a,r,n,i),(0,e.drawTheeDShadingInnerRect)(t,d,a,r,c,o),t.restore()},V}(i.ExcelBuildInFormControlBase),V.ButtonFormControl=c},"./dist/plugins/shape/formControl/controls/checkBoxFormControl.js":function(t,V,n){var i,e,r,c,o,s,d,a=this&&this.qKr||(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])},u(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)}),h=this&&this.nJr||function(){return h=Object.assign||function(t){var V,n,i,e;for(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},h.apply(this,arguments)},u;function x(){var t=(o=document.createElement("canvas")).getContext("2d");o.width=2,o.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 o||x(),o}Object.defineProperty(V,"__esModule",{value:!0}),V.CheckBoxFormControl=void 0,i=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),r=void 0,c="#N/A",s={checked:!0,unChecked:!1,mixed:void 0},d=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return a(V,t),V.prototype.init=function(V){t.prototype.init.call(this,V),this.LEt={cellLink:"",threeDShading:!1},this.y4=s.unChecked},Object.defineProperty(V.prototype,"options",{get:function(){return h(h({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.cellLink=t.cellLink,this.LEt.threeDShading=t.threeDShading,this.refresh()},enumerable:!1,configurable:!0}),V.defaultStyle=function(){return{vAlign:1,margins:{left:3,right:0,top:2,bottom:2}}},V.prototype.styleSupportInfo=function(){var t=this.checkBoxRect,V=t.x+t.w,n=this.width-V,i=this.height,e={x:V,y:0,w:n,h:i};return{supportFill:!0,supportLine:!0,supportText:!0,textRect:e,supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},V.prototype.preProcessValue=function(t){return t=!0===t?s.checked:t===c||t===r?s.mixed:s.unChecked},V.prototype.mapToCellValue=function(t){return t===s.mixed?c:t===s.checked},V.prototype.mapValueFromCell=function(t){return 1===t&&(t=!0),this.preProcessValue(t)},V.prototype.doMouseDown=function(){return this.onClickCheckBox(),!0},V.prototype.onClickCheckBox=function(){var t,V=this.shape.AsV("formControlProps"),n=this.value;n===s.mixed||n===s.checked?t=s.unChecked:n===s.unChecked&&(t=s.checked),this.shape.usV("formControlProps",{changingContext:V}),this.value=t},Object.defineProperty(V.prototype,"checkBoxRect",{get:function(){var t=12,V=7,n=this.height;return{x:V,y:(n-t)/2,w:t,h:t}},enumerable:!1,configurable:!0}),V.prototype.render=function(t,V){var n=this,i=this.width,r=this.height,c=this.checkBoxRect,o=function(){(0,e.fillRect)(t,0,0,c.w,c.h,"white"),n.threeDShading?((0,e.drawTheeDShadingRect)(t,0,0,c.w,c.h,"rgb(160,160,160)","rgb(240,240,240)"),(0,e.drawTheeDShadingRect)(t,1,1,c.w-2,c.h-2,"rgb(100,100,100)","white")):(0,e.strokeRect)(t,0,0,c.w,c.h,"black")},d=function(){var V,n,i,e,r,o;t.beginPath(),n=2*(V=c.w/5),i=4*V,r=3*(e=c.h/4),o=c.h/2,t.moveTo(V,o),t.lineTo(n,r),t.lineTo(i,e),t.lineWidth=2,t.stroke()},a=function(){t.beginPath(),n.threeDShading?t.rect(3,3,c.w-5,c.h-5):t.rect(0,0,c.w,c.h),t.fillStyle=t.createPattern(f(),"repeat"),t.fill()};t.save(),t.translate(-i/2,-r/2),t.translate(c.x,c.y),o(),this.value===s.checked?d():this.value===s.mixed&&a(),t.restore()},V.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=s.checked;break;case"Mixed":this.y4=s.mixed;break;default:this.y4=s.unChecked}else this.y4=s.unChecked;this.options=V},V.prototype.toExcelProps=function(){var t=this.options,V={lockText:"1",noThreeD:t.threeDShading?"0":"1",fmlaLink:t.cellLink};return this.y4!==s.unChecked&&(V.checked=this.y4?"Checked":"Mixed"),V},Object.defineProperty(V.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),V}(i.SupportCellLinkFormControl),V.CheckBoxFormControl=d},"./dist/plugins/shape/formControl/controls/comboFormControl.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y=this&&this.qKr||(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])},g(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)}),l=this&&this.nJr||function(){return l=Object.assign||function(t){var V,n,i,e;for(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},l.apply(this,arguments)},g;Object.defineProperty(V,"__esModule",{value:!0}),V.ComboFormControl=V.ComboFormControlDomRender=void 0,i=n("Core"),e=n("./dist/plugins/shape/formControl/controls/listBox.js"),r=n("./dist/plugins/shape/formControl/controls/util.js"),c=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),o=n("./dist/plugins/shape/ui/util.js"),s=-1,a=3,h=2*(d=1),u=0,x=function(){function t(){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 e.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}return t.prototype.initListBox=function(){var t=this;this.UtV.props.highlightHoverItem=!0,this.UtV.props.hiddenScrollBarWhenAllItemCanDisplay=!0,this.UtV.props.onSelIndexChange=function(V,n){t.BtV.value=n},this.UtV.props.onItemClick=function(){t.close()},this.UtV.props.refresh=function(){t.refreshListBoxCanvas()},this.UtV.props.setCursor=function(V){t.qtV.style.cursor=V},this.UtV.props.getPointerRelativeControl=this.getPointerRelativeControl.bind(this)},t.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)},t.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)},t.getInstance=function(){return this.OGt||(this.OGt=new t),this.OGt},t.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)},t.prototype.show=function(t){var V,n=this;n.BtV=t,n.LQ=!0,n.refreshPositionAndSize(),(V=this.UtV).props.items=this.items,V.props.selIndex=this.selIndex,V.scrollTo(this.selIndex-1),n.refreshCanvas(),n.host.appendChild(n.DtV),n.host.appendChild(n.qtV)},t.prototype.close=function(){var t=this;t.LQ&&(t.LQ=!1,t.NtV=!1,t.host.removeChild(t.DtV),t.host.removeChild(t.qtV))},t.prototype.comboCanvasClick=function(t){this.close()},t.prototype.closeIfTargetNotListBox=function(t){var V=t.target;this.LQ&&V!==this.qtV&&this.close()},t.prototype.listBoxCanvasMouseDown=function(t){this.UtV.onMouseDown(t)&&(this.NtV=!0,t.preventDefault()),this.refreshListBoxCanvas()},t.prototype.windowMouseMove=function(t){this.UtV.onMouseMove(t),this.NtV&&t.preventDefault(),this.refreshListBoxCanvas()},t.prototype.windowMouseUp=function(t){this.NtV&&(this.UtV.onMouseUp(t),t.preventDefault()),this.NtV=!1,this.refreshListBoxCanvas()},t.prototype.listBoxCanvasMouseWheel=function(t){t.preventDefault()},Object.defineProperty(t.prototype,"shape",{get:function(){return this.BtV.shape},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selIndex",{get:function(){return this.BtV.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.BtV.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.BtV.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.BtV.width*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.BtV.height*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this.BtV.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this.BtV.getItems()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemHeight",{get:function(){var t=this.font;return t?o.Common.getFontHeight(t):17},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){if(this.BtV){var t=this.DtV.getContext("2d");return this.BtV.applyTextStyle(t,!0,!1),t.font}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listBoxHeight",{get:function(){var t=Math.min(this.dropLines,this.items.length),V=this.itemHeight*t||14;return V*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropLines",{get:function(){return this.BtV.options.dropDownLines},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"host",{get:function(){return this.shape.Mf.parent.j2()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spreadHost",{get:function(){return this.shape.Mf.parent.getHost()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shapeHostRect",{get:function(){var t=this.x,V=this.y,n=this.width,e=this.height,r=(0,o.getShapeStartLayer)(this.shape),c=(0,i.GC$)(r.host).offset(),s=t-r.scrollLeft||0,d=V-r.scrollTop||0,a=this.borderRenderWidth,h=c.left+s-a,u=c.top+d-a;return new o.Rect(h,u,n+a,e+a)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spreadHostRect",{get:function(){var t=(0,i.GC$)(this.spreadHost),V=t.offset(),n=t.width(),e=t.height();return new o.Rect(V.left,V.top,n,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"borderRenderWidth",{get:function(){return Math.ceil(d*this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"devicePixelRatio",{get:function(){return window.devicePixelRatio||1},enumerable:!1,configurable:!0}),t.prototype.initDomElement=function(){var t="block",V="none",n="absolute";(0,i.GC$)(this.DtV).css({display:t,touchAction:V,position:n,zIndex:"950"}),(0,i.GC$)(this.qtV).css({display:t,touchAction:V,position:n,zIndex:"951"})},t.prototype.refreshCanvas=function(){this.refreshComboCanvas(),this.refreshListBoxCanvas()},t.prototype.refreshComboCanvas=function(){var 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()},t.prototype.refreshListBoxCanvas=function(){var 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),i.itemsCount>0?(V.scale(e,e),i.render(V)):((0,r.fillRect)(V,0,0,t.width,t.height,"white"),(0,r.strokeRect)(V,0,0,t.width-1,t.height-1,"black")),V.restore()},t.prototype.refreshPositionAndSize=function(){var t=this.shapeHostRect,V=this.spreadHostRect,n=this.calcListBoxPositionAndSize(t,V),e=(0,i.GC$)(this.host).offset();this.convertToRelativeHostPosition(t,e),this.convertToRelativeHostPosition(n,e),this.refreshCombo(t),this.refreshListBox(n)},t.prototype.refreshCombo=function(t){var V=this.devicePixelRatio;this.DtV.width=t.width*V,this.DtV.height=t.height*V,(0,i.GC$)(this.DtV).css({left:"".concat(t.x,"px"),top:"".concat(t.y,"px"),width:"".concat(t.width,"px"),height:"".concat(t.height,"px")})},t.prototype.refreshListBox=function(t){var V=this.zoom,n=this.borderRenderWidth,e=this.devicePixelRatio;this.qtV.width=t.width*e,this.qtV.height=t.height*e,this.UtV.props.containerSize={w:(t.width-n)/V,h:(t.height-n)/V},this.UtV.props.itemHeight=this.itemHeight,(0,i.GC$)(this.qtV).css({left:"".concat(t.x,"px"),top:"".concat(t.y,"px"),width:"".concat(t.width,"px"),height:"".concat(t.height,"px")})},t.prototype.calcListBoxPositionAndSize=function(t,V){var n=this.borderRenderWidth,i=new o.Rect(t.x,t.y+t.height-n,t.width,this.listBoxHeight),e=t.y-V.y+n,r=V.y+V.height-t.y-t.height-n,c=function(){i.y=t.y+t.height-n},s=function(){i.y=t.y-i.height+n};return r>i.height?c():e>i.height?s():r>e?(i.height=r,c()):(i.height=e,s()),i},t.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)},t.prototype.getPointerRelativeControl=function(t){var V,n,e=(0,i.GC$)(this.qtV).offset();return e&&(e.top+=document.body.clientTop||0,e.left+=document.body.clientLeft||0),{x:V=(t.pageX-e.left)/this.zoom,y:n=(t.pageY-e.top)/this.zoom}},t.getListBoxComponentForAT=function(){return this.OGt&&this.OGt.UtV},t}(),V.ComboFormControlDomRender=x,f=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.ktV=22,V}return y(V,t),V.prototype.init=function(V){t.prototype.init.call(this,V),this.LEt={inputRange:"",cellLink:"",dropDownLines:8,threeDShading:!1},this.y4=s},Object.defineProperty(V.prototype,"options",{get:function(){return l(l({},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}),V.defaultStyle=function(){return{vAlign:1,wrapText:!1,margins:{left:3,right:0,top:2,bottom:2}}},V.prototype.preProcessValue=function(t){return t=(0,r.normalizeInteger)(t),isNaN(t)||t<1?s:t},V.prototype.mapToCellValue=function(t){return t===s?u:t},V.prototype.doMouseDown=function(t){return x.getInstance().show(this),!0},Object.defineProperty(V.prototype,"dropDownBtnRect",{get:function(){var t=this.width,V=this.height,n=Math.min(t,V),i={x:t-n+d,y:d,w:n-h,h:V-h};return this.threeDShading?{x:i.x,y:i.y+d,w:i.w-d,h:i.h-d}:i},enumerable:!1,configurable:!0}),V.prototype.getItems=function(){return this.getInputRangeTexts()},V.prototype.render=function(t,V){var n,i,e,c,o,h,u=this.width,x=this.height;t.save(),t.translate(-u/2,-x/2),(0,r.fillRect)(t,0,0,u,x,"white"),n=this.dropDownBtnRect,i=function(){var V=1/4,i=Math.min(n.w*V*2,n.h*V),e=(n.w-2*i)/2,r=(n.h-i)/2;t.save(),t.translate(e,r),t.beginPath(),t.moveTo(0,0),t.lineTo(2*i,0),t.lineTo(i,i),t.closePath(),t.fillStyle="black",t.fill(),t.restore()},e=function(){var V="rgb(240,240,240)",e="rgb(160,160,160)";t.save(),t.translate(n.x,n.y),(0,r.fillRect)(t,0,0,n.w,n.h,V),(0,r.drawTheeDShadingOuterRect)(t,n.w,n.h,d,V,"black"),(0,r.drawTheeDShadingInnerRect)(t,n.w,n.h,d,"white",e),i(),t.restore()},e(),this.value!==s&&(t.save(),t.textBaseline="middle",t.textAlign="left",t.beginPath(),this.applyTextStyle(t),t.beginPath(),t.rect(a,0,u-n.w-2*a,x),t.clip(),t.fillText(this.displayText,a,x/2),t.restore()),this.threeDShading?(c="rgb(160,160,160)",o="rgb(240,240,240)",h="rgb(100,100,100)",(0,r.drawTheeDShadingOuterRectFourColor)(t,u,x,d,c,c,"white",o),(0,r.drawTheeDShadingInnerRectFourColor)(t,u,x,d,h,h,o,"rgba(0,0,0,0)")):(0,r.strokeRect)(t,0,0,u,x,"rgb(130,135,144)"),t.restore()},Object.defineProperty(V.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"displayText",{get:function(){var t=this.getItems()[this.value-1];return void 0===t?"":t},enumerable:!1,configurable:!0}),V.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)||s,this.options=V},V.prototype.toExcelProps=function(){var t=this.options,V=this.ktV,n={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&&(n.sel=this.value.toString()),n},V.prototype.getDropDownButtonRectangleForAT=function(){return this.dropDownBtnRect},V.prototype.getDisplayTextForAT=function(){return this.displayText},V.prototype.getDropdownListBoxComponentForAT=function(){return x.getListBoxComponentForAT()},V}(c.SupportCellLinkFormControl),V.ComboFormControl=f},"./dist/plugins/shape/formControl/controls/groupBoxFormControl.js":function(t,V,n){var i,e,r,c,o,s,d,a,h=this&&this.qKr||(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])},x(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)}),u=this&&this.nJr||function(){return u=Object.assign||function(t){var V,n,i,e;for(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},u.apply(this,arguments)},x;function f(t){var V,n,i,e,r,o=d.getContext("2d"),s=t.options.textFormatOptions;return s?(V=s.text,(n=s.font)&&(o.font=n),i=o.measureText(V),e=c(s.margins,t),r=i.width,r+=e.left||0,r+=e.right||0):0}Object.defineProperty(V,"__esModule",{value:!0}),V.GroupBoxFormControl=void 0,i=n("./dist/plugins/shape/ui/util.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),r=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),c=i.Common.getOptionValue,o=8,s=6,d=document.createElement("canvas"),a=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return h(V,t),V.prototype.init=function(V){t.prototype.init.call(this,V),this.LEt={threeDShading:!1}},Object.defineProperty(V.prototype,"options",{get:function(){return this.LEt},set:function(t){this.LEt.threeDShading=t.threeDShading,this.refresh()},enumerable:!1,configurable:!0}),V.defaultStyle=function(){return{wrapText:!1,margins:{left:3,right:0,top:2,bottom:0}}},V.prototype.styleSupportInfo=function(){return{supportFill:!1,supportLine:!1,supportText:!0,textRect:this.textRect,supportHAlign:!1,supportVAlign:!1,supportWrapText:!1}},Object.defineProperty(V.prototype,"textRect",{get:function(){var t=this.width;return{x:o+s,y:-4,w:t,h:25}},enumerable:!1,configurable:!0}),V.prototype.hitTest=function(t){var V,n,i,r,c,o,s,d,a;return t=this.convertToRelativePoint(t),V=this.width,n=this.height,r=2*(i=1),c=this.textRect,o={x:-i,y:-i,w:V+r,h:n+r},s={x:i,y:i,w:V-r,h:n-r},d=(0,e.pointIsInRect)(t,o)&&!(0,e.pointIsInRect)(t,s),a=(0,e.pointIsInRect)(t,u(u({},c),{x:c.x,y:c.y,w:f(this.shapeUI)})),d||a},V.prototype.render=function(t,V){var n,i=this.width,e=this.height,r=this.threeDShading?"rgb(160,160,160)":"black",c=f(this.shapeUI);t.save(),t.translate(-i/2-.5,-e/2-.5),t.beginPath(),t.moveTo(o,0),t.lineTo(0,0),t.lineTo(0,e),t.lineTo(i,e),t.lineTo(i,0),c?(n=Math.min(o+2*s+c,i-o),t.lineTo(n,0)):t.closePath(),t.strokeStyle=r,t.lineWidth=1,t.stroke(),t.restore()},V.prototype.fromExcelProps=function(t){var V=this.options;V.threeDShading="1"!==t.noThreeD,this.options=V},V.prototype.toExcelProps=function(){var t;return{noThreeD:this.options.threeDShading?"0":"1"}},Object.defineProperty(V.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),V.prototype.shouldProcessMouseDownEvt=function(t){return!1},V}(r.ExcelBuildInFormControlBase),V.GroupBoxFormControl=a},"./dist/plugins/shape/formControl/controls/labelFormControl.js":function(t,V,n){var i,e,r=this&&this.qKr||(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])},c(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)}),c;Object.defineProperty(V,"__esModule",{value:!0}),V.LabelFormControl=void 0,e=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.LEt={},V}return r(V,t),V.defaultStyle=function(){return{margins:{left:3,right:0,top:2,bottom:0}}},V.prototype.styleSupportInfo=function(){var t=this.width,V=this.height,n={x:0,y:0,w:t,h:V};return{supportFill:!0,supportLine:!0,supportText:!0,textRect:n,supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},V.prototype.shouldProcessMouseDownEvt=function(t){return!1},V}((i=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js")).ExcelBuildInFormControlBase),V.LabelFormControl=e},"./dist/plugins/shape/formControl/controls/listBox.js":function(t,V,n){var i,e,r,c,o,s,d,a=this&&this.nJr||function(){return a=Object.assign||function(t){var V,n,i,e;for(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},a.apply(this,arguments)};Object.defineProperty(V,"__esModule",{value:!0}),V.ListBox=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/controls/scrollbar.js"),r=n("./dist/plugins/shape/formControl/controls/util.js"),function(t){t.item="item",t.scrollBar="scrollBar"}(c||(c={})),function(t){t.none="",t.ctrl="ctrl",t.shift="shift"}(o||(o={})),s=1,d=function(){function t(){var t,V=this;this.ZtV=-1,this.KQt=-1,this.$Qt=!1,this.HtV=o.none,this.tWt={containerSize:{w:300,h:100},selIndex:-1,items:[],scrollCount:0,scrollBarWidth:22,itemHeight:17,selType:i.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 e.ScrollBar).props.syncSliderHeightWithPageStep=!0,t.refresh=this.refresh.bind(this),t.getPointerRelativeControl=function(t){var n=V.getPointerRelativeControl(t),i=n.x,e=n.y;return{x:i-V.scrollBarLeftOffset,y:e}},t.setCursor=this.setCursor.bind(this),t.props.onScroll=this.onScrollBarChange.bind(this),this.iWt=t}return Object.defineProperty(t.prototype,"props",{get:function(){return this.tWt},set:function(t){this.tWt=t},enumerable:!1,configurable:!0}),t.prototype.hitTest=function(t,V){var n,i,e,r=this,o=this.height,s=function(){return t>=0&&t<=r.itemsAreaWidth&&V>=0&&V<o},d=function(){return!s()&&V>=0&&V<o};return s()?-1!==(e=this.getClickItemIndex(V))&&(n=c.item,i=e):d()&&(n=c.scrollBar),{target:n,data:i}},t.prototype.onMouseDown=function(t){var V=this.getPointerRelativeControl(t),n=this.hitTest(V.x,V.y),i=n.target,e=n.data;return i===c.item?(this.ZtV=e,this.KQt=e,this.$Qt=!0,t.ctrlKey&&(this.HtV=o.ctrl),t.shiftKey&&(this.HtV=o.shift)):i===c.scrollBar&&this.iWt.onMouseDown(t),!0},t.prototype.onMouseMove=function(t){var V,n,i,e,r,s;if(this.iWt.onMouseMove(t),V=!1,this.highlightHoverItem&&this.isSingleSelType&&(n=this.getPointerRelativeControl(t),e=(i=this.hitTest(n.x,n.y)).target,r=i.data,e===c.item&&(this.KQt=r,V=!0)),this.scrollItemCount>this.maxScrollCount&&(this.scrollItemCount=this.maxScrollCount,V=!0),this.mouseDownItemIndexIsValid){if(n=this.getPointerRelativeControl(t),e=(s=this.hitTest(this.itemsAreaWidth-1,n.y)).target,r=s.data,e===c.item)this.stopScrollInterval(),this.KQt!==r&&(this.KQt=r,this.$Qt=!1,this.HtV=o.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()},t.prototype.onMouseUp=function(t){var V,n;this.iWt.onMouseUp(t),this.mouseDownItemIndexIsValid&&(V=JSON.stringify(this.selIndex),this.changeSelIndexOnMouseUp(),V!==(n=JSON.stringify(this.selIndex))&&this.props.onSelIndexChange(JSON.parse(V),this.selIndex),this.props.onItemClick(this.KQt)),this.clearState()},t.prototype.onScrollBarChange=function(){this.scrollItemCount=this.iWt.props.value},t.prototype.changeSelIndexOnMouseUp=function(){var t,V,n=this.ZtV,i=this.KQt,e=this.$Qt,r=this.HtV;this.isSingleSelType?this.setSelIndex(i):this.isMultiSelType?this.addOrRemoveSelIndex(i):this.isExtendSelType&&(e?r===o.ctrl?this.addOrRemoveSelIndex(i):r===o.shift?(V=(t=this.selIndex).length>0?t[0]:1,this.setSelIndexRange(V,i)):this.setSelIndexRange(i,i):this.setSelIndexRange(n,i))},t.prototype.clearState=function(){var t=!1;this.mouseDownItemIndexIsValid&&(this.ZtV=-1,this.KQt=-1,this.$Qt=!1,this.HtV=o.none,t=!0),this.stopScrollInterval(),t&&this.refresh()},t.prototype.render=function(t){var V,n,i=this.width,e=this.height,c=this.threeDShading;t.save(),(0,r.fillRect)(t,0,0,i,e,"white"),this.renderItems(t),this.renderScrollBar(t),c?(V="rgb(160,160,160)",n="rgb(240,240,240)",(0,r.drawTheeDShadingOuterRectFourColor)(t,i,e,s,V,V,"white",n),(0,r.drawTheeDShadingInnerRect)(t,i,e,s,"rgb(100,100,100)","rgba(0,0,0,0)")):(0,r.strokeRect)(t,0,0,i,e),t.restore()},t.prototype.renderItems=function(t){var V,n,i,e,r=this.items,c=this.currentPageDisplayItemCount,o=this.itemsAreaWidth,s=this.actualRenderItemHeight,d=this.props,a=d.textColor,h=d.highlightItemTextColor,u=d.highlightItemBackColor,x=function(V,n,i){var e=5;t.fillStyle=i,t.save(),t.beginPath(),t.rect(5,n,o-5,s),t.clip(),t.fillText(V,5,n+s/2+1),t.restore()},f=function(V){t.fillStyle=u,t.beginPath(),t.fillRect(0,V,o,s)};for(t.textAlign="left",t.textBaseline="middle",V=0;V<c;V++)n=r[V+this.scrollItemCount],i=V*s,e=a,this.isNeedHighlightItem(V+this.scrollItemCount+1)&&(f(i),e=h),x(String(n),i,e)},t.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(t.prototype,"width",{get:function(){return this.props.containerSize.w},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.props.containerSize.h},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selIndex",{get:function(){return this.props.selIndex},set:function(t){this.props.selIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selType",{get:function(){return this.props.selType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this.props.items},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSingleSelType",{get:function(){return this.selType===i.ListBoxSelectionType.single},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMultiSelType",{get:function(){return this.selType===i.ListBoxSelectionType.multi},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isExtendSelType",{get:function(){return this.selType===i.ListBoxSelectionType.extend},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightHoverItem",{get:function(){return this.props.highlightHoverItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemsAreaWidth",{get:function(){var t=this.width;return this.needHiddenScrollBar||(t-=this.scrollBarWidth),t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needHiddenScrollBar",{get:function(){return!!(this.props.hiddenScrollBarWhenAllItemCanDisplay&&this.onePageCanDisplayItemCount>=this.itemsCount)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollBarWidth",{get:function(){return Math.min(this.props.scrollBarWidth,this.width)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollBarLeftOffset",{get:function(){return this.width-this.scrollBarWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemsCount",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemHeight",{get:function(){return this.props.itemHeight},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualRenderItemHeight",{get:function(){return this.height/this.onePageCanDisplayItemCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollItemCount",{get:function(){return this.props.scrollCount},set:function(t){this.props.scrollCount=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxScrollCount",{get:function(){return Math.max(0,this.itemsCount-this.onePageCanDisplayItemCount)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onePageCanDisplayItemCount",{get:function(){return Math.round(this.height/this.itemHeight)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPageDisplayItemCount",{get:function(){var t=this.onePageCanDisplayItemCount,V=this.itemsCount-this.scrollItemCount;return Math.min(t,V)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mouseDownItemIndexIsValid",{get:function(){return-1!==this.ZtV},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"threeDShading",{get:function(){return this.props.threeDShading},enumerable:!1,configurable:!0}),t.prototype.scroll=function(t){this.scrollTo(this.scrollItemCount+t)},t.prototype.scrollTo=function(t){var V=0,n=this.maxScrollCount;t=Math.min(t,n),t=Math.max(t,V),this.scrollItemCount=t},t.prototype.setSelIndex=function(t){this.isSingleSelType&&"number"==typeof t&&(this.props.selIndex=t)},t.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})))},t.prototype.setSelIndexRange=function(t,V){var n,i,e;if(this.isExtendSelType){for(t>V&&(n=V,V=t,t=n),i=[],e=t;e<=V;e++)i.push(e);this.props.selIndex=i}},t.prototype.getClickItemIndex=function(t){var V=this.actualRenderItemHeight,n=Math.floor(t/V)+this.scrollItemCount;return n>=this.itemsCount?-1:n+1},t.prototype.startScrollInterval=function(t){var 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,n)};this.vWt=window.setTimeout(i,0)},t.prototype.stopScrollInterval=function(){void 0!==this.vWt&&(window.clearTimeout(this.vWt),this.vWt=void 0)},t.prototype.isNeedHighlightItem=function(t){var V=this.mouseDownItemIndexIsValid,n=this.KQt,i=this.highlightHoverItem;return this.isSingleSelType&&i&&-1!==n?t===n:V?this.isNeedHighlightItemOnMouseDown(t):this.isSelectedItem(t)},t.prototype.isNeedHighlightItemOnMouseDown=function(t){var V,n=JSON.stringify(this.selIndex);return this.changeSelIndexOnMouseUp(),V=this.isSelectedItem(t),this.selIndex=JSON.parse(n),V},t.prototype.isSelectedItem=function(t){return this.isSingleSelType?t===this.selIndex:-1!==this.selIndex.indexOf(t)},t.prototype.setCursor=function(t){this.props.setCursor(t)},t.prototype.getPointerRelativeControl=function(t){return this.props.getPointerRelativeControl(t)},t.prototype.refresh=function(){this.props.refresh()},t.prototype.getItemRenderHeightForAT=function(){return this.actualRenderItemHeight},t.prototype.getScrollUpButtonRectangleForAT=function(){var t=this.iWt.scrollUpBtnRect;return t=a(a({},t),{x:t.x+this.scrollBarLeftOffset})},t.prototype.getScrollDownButtonRectangleForAT=function(){var t=this.iWt.scrollDownBtnRect;return t=a(a({},t),{x:t.x+this.scrollBarLeftOffset})},t.prototype.getScrollSliderRectangleForAT=function(){var t=this.iWt.scrollSliderRect;return t=a(a({},t),{x:t.x+this.scrollBarLeftOffset})},t}(),V.ListBox=d},"./dist/plugins/shape/formControl/controls/listBoxFormControl.js":function(t,V,n){var i,e,r,c,o,s,d,a,h=this&&this.qKr||(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])},x(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)}),u=this&&this.nJr||function(){return u=Object.assign||function(t){var V,n,i,e;for(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},u.apply(this,arguments)},x;Object.defineProperty(V,"__esModule",{value:!0}),V.ListBoxFormControl=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/ui/util.js"),r=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),c=n("./dist/plugins/shape/formControl/controls/listBox.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),s=-1,d=0,a=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return h(V,t),V.prototype.init=function(V){t.prototype.init.call(this,V),this.y4=s,this.LEt={cellLink:void 0,inputRange:void 0,selectionType:i.ListBoxSelectionType.single,threeDShading:!1},this.UtV=new c.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(V.prototype,"value",{get:function(){return this.UtV.props.selIndex},set:function(t){var V,n=this.value;JSON.stringify(n)!==JSON.stringify(t)&&(this.isSingleSelectionType?"number"==typeof t&&(V=this.shape.AsV("formControlProps"),this.UtV.props.selIndex=t,this.shape.usV("formControlProps",{changingContext:V}),this.syncValueToCell(),this.triggerValueChangedEvent(n,this.value),this.refresh()):Array.isArray(t)&&(V=this.shape.AsV("formControlProps"),this.UtV.props.selIndex=t,this.shape.usV("formControlProps",{changingContext:V}),this.triggerValueChangedEvent(n,this.value),this.refresh()))},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"options",{get:function(){return u(u({},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}),V.prototype.mapToCellValue=function(t){return t===s?d:t},V.prototype.syncValueToCell=function(){if(this.isSingleSelectionType){var t=this.mapToCellValue(this.value);this.syncValueToCellImp(t)}},V.prototype.syncValueFromCell=function(t){if(t=(0,o.normalizeInteger)(t),this.isSingleSelectionType&&!isNaN(t)){t=t<0?s:t;var V=this.value;V!==t&&(this.UtV.props.selIndex=t,this.triggerValueChangedEvent(V,this.value))}},V.prototype.onSelIndexChange=function(t,V){this.syncValueToCell(),this.triggerValueChangedEvent(t,V)},V.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===i.ListBoxSelectionType.extend))},V.prototype.doMouseDown=function(t){return this.UtV.onMouseDown(t.evt)},V.prototype.doMouseMove=function(t){this.UtV.onMouseMove(t.evt)},V.prototype.doMouseUp=function(t){this.UtV.onMouseUp(t.evt)},V.prototype.render=function(t,V){var n=this.width,i=this.height,e=this.getInputRangeTexts(),r=this.UtV;r.props.containerSize={w:n,h:i},r.props.items=e,t.save(),t.translate(-n/2,-i/2),t.beginPath(),this.applyTextStyle(t,!0,!1),r.props.itemHeight=this.getItemHeight(t),r.render(t),t.restore()},V.prototype.switchSelType=function(t){var V=this.UtV,n=V.props,e=n.selIndex;t&&V.props.selType!==t&&(n.selType=t,t===i.ListBoxSelectionType.single?Array.isArray(e)&&e.length>0?n.selIndex=e[0]:n.selIndex=s:"number"==typeof e&&e!==s?n.selIndex=[e]:Array.isArray(e)||(n.selIndex=[]))},V.prototype.fromExcelProps=function(t){var V,n=this.UtV,e=this.options,r=this.height;t.fmlaLink&&(e.cellLink=t.fmlaLink),t.fmlaRange&&(e.inputRange=t.fmlaRange),e.threeDShading="1"!==t.noThreeD,e.selectionType=t.seltype||i.ListBoxSelectionType.single,t.val&&(n.props.scrollCount=parseInt(t.val,10)),t.page&&(n.props.itemHeight=r/t.page),t.dx&&(n.props.scrollBarWidth=parseInt(t.dx,10)),this.options=e,this.isSingleSelectionType?this.value=parseInt(t.sel,10)||s:(V=t.multiSel||"",this.value=V.split(",").filter((function(t){return t})).map((function(t){return parseInt(t,10)})))},V.prototype.toExcelProps=function(){var t=this.value,V=this.options,n=this.UtV,e=n.props.scrollCount,r=n.onePageCanDisplayItemCount,c=n.props.scrollBarWidth,o={dx:c.toString(),noThreeD:V.threeDShading?"0":"1",inc:"1",fmlaLink:V.cellLink,fmlaRange:V.inputRange,seltype:V.selectionType,val:e.toString(),page:r.toString()};return V.selectionType===i.ListBoxSelectionType.single&&(o.sel=t.toString()),V.selectionType!==i.ListBoxSelectionType.multi&&V.selectionType!==i.ListBoxSelectionType.extend||(o.multiSel=t.join(", ")),o},Object.defineProperty(V.prototype,"isSingleSelectionType",{get:function(){return this.options.selectionType===i.ListBoxSelectionType.single},enumerable:!1,configurable:!0}),V.prototype.getItemHeight=function(t){var V=17,n=e.Common.getFontHeight(t.font);return Math.abs(n-V)<2?V:n},V.prototype.getListBoxComponentForAT=function(){return this.UtV},V}(r.SupportCellLinkFormControl),V.ListBoxFormControl=a},"./dist/plugins/shape/formControl/controls/radioFormControl.js":function(t,V,n){var i,e,r,c,o,s,d,a,h=this&&this.qKr||(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])},x(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)}),u=this&&this.nJr||function(){return u=Object.assign||function(t){var V,n,i,e;for(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},u.apply(this,arguments)},x;Object.defineProperty(V,"__esModule",{value:!0}),V.RadioFormControl=void 0,i=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),r=1,c=0,o="Checked",s="1",d="0",a=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.lp=r,V}return h(V,t),V.prototype.init=function(V){t.prototype.init.call(this,V),this.y4=!1,this.LEt={cellLink:"",threeDShading:!1}},Object.defineProperty(V.prototype,"value",{get:function(){return this.y4},set:function(t){var V,n;t=!!t,(V=this.y4)!==t&&(t&&this.setOtherRadioToFalse(),n=this.shape.AsV("formControlProps"),this.y4=t,this.shape.usV("formControlProps",{changingContext:n}),this.syncValueToCell(),this.triggerValueChangedEvent(V,t),this.refresh())},enumerable:!1,configurable:!0}),V.prototype.syncValueToCell=function(){var t,V=this.getAllRadioInSameGroup(),n=V.filter((function(t){return t.value}))[0];n?n.syncValueToCellImp(n.lp):null!==(t=this.getCellValue())&&t!==c&&this.syncValueToCellImp(c)},Object.defineProperty(V.prototype,"options",{get:function(){return u(u({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.LEt.threeDShading=t.threeDShading,this.setCellLinkForAllRadio(t.cellLink),this.refresh()},enumerable:!1,configurable:!0}),V.defaultStyle=function(){return{vAlign:1,margins:{left:3,right:0,top:2,bottom:2}}},V.prototype.styleSupportInfo=function(){var t=this.radioBoxRect,V=t.x+t.w,n=this.width-V,i=this.height,e={x:V,y:0,w:n,h:i};return{supportFill:!0,supportLine:!0,supportText:!0,textRect:e,supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},V.prototype.setIndex=function(t){this.lp=t},V.prototype.doMouseDown=function(t){return this.value||(this.value=!0),!0},V.prototype.render=function(t,V){var n,i,r=this.width,c=this.height;t.save(),t.translate(-r/2,-c/2),i=(n=this.radioBoxRect).w/2,t.translate(n.x,n.y),this.threeDShading?((0,e.strokeCircle)(t,i,i,i,"rgb(100,100,100)"),(0,e.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,e.strokeCircle)(t,i,i,i),(0,e.fillCircle)(t,i,i,i,"white")),this.value&&(0,e.fillCircle)(t,i,i,i/2,"black"),t.restore()},V.prototype.mapValueFromCell=function(t){return!0===t&&(t=1),this.lp===t},V.prototype.setOtherRadioToFalse=function(){var t=this;t.getAllRadioInSameGroup().forEach((function(V){V!==t&&V.setValueDirectly(!1)}))},V.prototype.setValueDirectly=function(t){var V=this.y4;V!==t&&(this.y4=t,this.triggerValueChangedEvent(V,t))},V.prototype.setCellLinkForAllRadio=function(t,V){var n;void 0===V&&(V=!0),this.getAllRadioInSameGroup().forEach((function(V){V.setCellLinkCore(t,!1)})),V&&this.syncValueToCell()},Object.defineProperty(V.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"radioBoxRect",{get:function(){var t=12,V=7,n=this.height;return{x:V,y:(n-t)/2,w:t,h:t}},enumerable:!1,configurable:!0}),V.prototype.getAllRadioInSameGroup=function(){var t,V=this.shape,n=null===(t=V.mnV)||void 0===t?void 0:t.QtV,i=null==n?void 0:n.getGroupByRadio(V),e=i?i.ztV:[V];return e.map((function(t){return t.GtV}))},V.prototype.fromExcelProps=function(t){var V=this.LEt;t.fmlaLink&&this.setCellLinkForAllRadio(t.fmlaLink,!1),t.firstButton===s&&(this.lp=r),V.threeDShading=t.noThreeD!==s,this.y4=t.checked===o},V.prototype.toExcelProps=function(){var t=this.options,V={noThreeD:t.threeDShading?d:s};return this.y4&&(V.checked=o),this.lp===r&&(V.firstButton=s,V.fmlaLink=t.cellLink),V},V}(i.SupportCellLinkFormControl),V.RadioFormControl=a},"./dist/plugins/shape/formControl/controls/scrollFormControl.js":function(t,V,n){var i,e,r,c,o,s=this&&this.qKr||(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])},a(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)}),d=this&&this.nJr||function(){return d=Object.assign||function(t){var V,n,i,e;for(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},d.apply(this,arguments)},a;Object.defineProperty(V,"__esModule",{value:!0}),V.ScrollFormControl=void 0,i=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),e=n("./dist/plugins/shape/formControl/controls/scrollbar.js"),r=n("./dist/plugins/shape/formControl/controls/util.js"),c=10,o=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return s(V,t),V.prototype.init=function(V){t.prototype.init.call(this,V),this.LEt={minValue:0,maxValue:100,step:1,pageChange:10,cellLink:""},this.iWt=new e.ScrollBar,this.JtV()},Object.defineProperty(V.prototype,"value",{get:function(){return this.iWt.props.value},set:function(t){this.YI(t,!0),this.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"options",{get:function(){var t=this.iWt.props;return d(d({},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}),V.prototype.syncValueFromCell=function(t){this.YI(t,!1)},V.prototype.YI=function(t,V){var n,i;t=(0,r.normalizeInteger)(t),isNaN(t)||(n=this.value,t=Math.min(t,this.iWt.props.max),n!==(t=Math.max(t,this.iWt.props.min))&&(i=this.shape.AsV("formControlProps"),this.iWt.props.value=t,this.shape.usV("formControlProps",{changingContext:i}),V&&this.syncValueToCell(),this.triggerValueChangedEvent(n,t)))},V.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)},V.prototype.WtV=function(t,V){this.syncValueToCell(),this.triggerValueChangedEvent(t,V)},V.prototype.doMouseDown=function(t){return this.iWt.onMouseDown(t.evt)},V.prototype.doMouseMove=function(t){this.iWt.onMouseMove(t.evt)},V.prototype.doMouseUp=function(t){this.iWt.onMouseUp(t.evt)},V.prototype.render=function(t,V){var n=this.width,i=this.height,e=this.iWt,r=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(r,c),e.render(t),t.restore()},Object.defineProperty(V.prototype,"direction",{get:function(){return this.width>this.height?e.ScrollBarDirection.horizontal:e.ScrollBarDirection.vertical},enumerable:!1,configurable:!0}),V.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},V.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===e.ScrollBarDirection.horizontal?"1":"0"}},V.prototype.getScrollUpButtonRectangleForAT=function(){return this.iWt.scrollUpBtnRect},V.prototype.getScrollDownButtonRectangleForAT=function(){return this.iWt.scrollDownBtnRect},V.prototype.getScrollSliderRectangleForAT=function(){return this.iWt.scrollSliderRect},V}(i.SupportCellLinkFormControl),V.ScrollFormControl=o},"./dist/plugins/shape/formControl/controls/scrollbar.js":function(t,V){var n,i,e,r,c,o=this&&this.nJr||function(){return o=Object.assign||function(t){var V,n,i,e;for(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},o.apply(this,arguments)};Object.defineProperty(V,"__esModule",{value:!0}),V.ScrollBar=V.ScrollBarDirection=void 0,function(t){t.horizontal="horizontal",t.vertical="vertical"}(n=V.ScrollBarDirection||(V.ScrollBarDirection={})),function(t){t.scrollUpBtn="scroll_up_btn",t.scrollDownBtn="scroll_down_btn",t.scrollSlider="scroll_slider",t.scrollTrack="scroll_track"}(i||(i={})),e="up",r="down",c=function(){function t(){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:n.vertical,onScroll:function(){},refresh:function(){},setCursor:function(){},getPointerRelativeControl:function(t){return{x:0,y:0}}}}return Object.defineProperty(t.prototype,"props",{get:function(){return this.tWt},set:function(t){this.tWt=t},enumerable:!1,configurable:!0}),t.prototype.hitTest=function(t,V){var n,c,o,s,d,a,h,u,x,f;return this.isInBounding(t,V)?(s=(o=this.isHorizontalDirection)?t:V,d=o?this.width:this.height,a=this.scrollBtnLen,h=this.scrollSliderOffset,u=this.scrollSliderLen,s<=a?n=i.scrollUpBtn:s>=d-a?n=i.scrollDownBtn:s>=h&&s<=h+u?n=i.scrollSlider:(n=i.scrollTrack,c=s<h?e:r),{target:n,data:c,offsetWithSlider:x=s-h,offsetWithTrack:f=s-a}):{target:void 0}},t.prototype.onMouseDown=function(t){var V=this.getPointerRelativeControl(t),n=this.hitTest(V.x,V.y),r=n.target,c=n.data,o=n.offsetWithSlider,s=this.step,d=this.pageStep;return r===i.scrollUpBtn?(this.scroll(-s),this.startScrollInterval(-s),this.tVV=i.scrollUpBtn):r===i.scrollDownBtn?(this.scroll(s),this.startScrollInterval(s),this.tVV=i.scrollDownBtn):r===i.scrollSlider?(this.KtV=!0,this.$tV=o):r===i.scrollTrack&&this.scroll(c===e?-d:d),this.refresh(),!0},t.prototype.onMouseMove=function(t){var V,n,e,r,c,o;this.KtV&&(V=this.getPointerRelativeControl(t),e=(n=this.hitTest(V.x,V.y)).target,r=n.offsetWithTrack,e!==i.scrollTrack&&e!==i.scrollSlider||(c=(r-this.$tV)/this.scrollTrackLen,o=Math.round((this.max-this.min)*c+this.min),this.scrollTo(o)),this.refresh()),this.setCursor("pointer")},t.prototype.onMouseUp=function(t){this.KtV=!1,this.$tV=0,this.tVV="",this.stopScrollInterval(),this.refresh()},t.prototype.render=function(t){var V=this,n=this.width,e=this.height,r=this.isHorizontalDirection,c=this.scrollUpBtnRect,o=this.scrollDownBtnRect,s=this.scrollSliderRect,d=this.scrollArrowLen,a=this.tVV,h=function(V,n,i,e){t.rect(V.x,V.y,V.w,V.h),i&&(e&&(t.lineWidth=e),t.strokeStyle=i,t.stroke()),n&&(t.fillStyle=n,t.fill())},u=function(V,n){var i=n?c:o,e=V?"rgb(96, 96, 96)":"rgb(240, 240, 240)",s=V?"white":"rgb(96, 96, 96)",a=function(){t.save(),t.translate(i.x,i.y),t.translate((i.w-2*d)/2,(i.h-d)/2),t.beginPath();var V=0;(V=n?r?-90:0:r?90:180)&&(t.translate(d,d/2),t.rotate(V/180*Math.PI),t.translate(-d,-d/2)),t.moveTo(0,d),t.lineTo(d,0),t.lineTo(2*d,d),t.strokeStyle=s,t.lineWidth=2,t.stroke(),t.restore()};t.beginPath(),h(i,e),a()},x=function(){V.needRenderScrollSlider&&(t.beginPath(),h(s,"rgb(205,205,205)"))};t.save(),t.beginPath(),h({x:0,y:0,w:n,h:e},"rgb(240, 240, 240)"),u(a===i.scrollUpBtn,!0),x(),u(a===i.scrollDownBtn,!1),t.restore()},Object.defineProperty(t.prototype,"width",{get:function(){return this.props.containerSize.w},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.props.containerSize.h},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this.isHorizontalDirection?this.width:this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.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(t.prototype,"needRenderScrollSlider",{get:function(){return this.min<this.max},enumerable:!1,configurable:!0}),Object.defineProperty(t.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(t.prototype,"scrollSliderOffset",{get:function(){return this.scrollBtnLen+this.scrollSliderOffsetWithTrack},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollSliderOffsetWithTrack",{get:function(){if(!this.needRenderScrollSlider)return 0;var t=(this.value-this.min)/(this.max-this.min);return this.scrollTrackLen*t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollTrackLen",{get:function(){return this.scrollTrackViewLen-this.scrollSliderLen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollTrackViewLen",{get:function(){return Math.max(this.length-2*this.scrollBtnLen,0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.tWt.value},set:function(t){this.tWt.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this.tWt.min},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this.tWt.max},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"step",{get:function(){return this.tWt.step},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageStep",{get:function(){return this.tWt.pageStep},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"syncSliderHeightWithPageStep",{get:function(){return this.tWt.syncSliderHeightWithPageStep},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"direction",{get:function(){return this.tWt.direction},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHorizontalDirection",{get:function(){return this.direction===n.horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollArrowLen",{get:function(){var t=this.scrollBtnSize.w,V=this.scrollBtnSize.h,n=Math.min(.25*t,.5*V);return Math.min(n,5)},enumerable:!1,configurable:!0}),Object.defineProperty(t.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(t.prototype,"scrollUpBtnRect",{get:function(){var t=this.scrollBtnSize;return o({x:0,y:0},t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollDownBtnRect",{get:function(){var t=this.scrollBtnSize,V=this.length-this.scrollBtnLen;return this.isHorizontalDirection?o({x:V,y:0},t):o({x:0,y:V},t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.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}),t.prototype.scroll=function(t){this.scrollTo(this.value+t)},t.prototype.scrollTo=function(t){var 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))},t.prototype.isInBounding=function(t,V){var n=this.width,i=this.height;return t>=0&&t<=n&&V>=0&&V<=i},t.prototype.startScrollInterval=function(t){var V=this,n=80,i=260,e=function(){V.scroll(t),V.refresh(),V.vWt=window.setTimeout(e,n)};this.vWt=window.setTimeout(e,i)},t.prototype.stopScrollInterval=function(){void 0!==this.vWt&&(window.clearTimeout(this.vWt),this.vWt=void 0)},t.prototype.setCursor=function(t){this.props.setCursor(t)},t.prototype.getPointerRelativeControl=function(t){return this.props.getPointerRelativeControl(t)},t.prototype.refresh=function(){this.props.refresh()},t}(),V.ScrollBar=c},"./dist/plugins/shape/formControl/controls/spinFormControl.js":function(t,V,n){var i,e,r,c,o=this&&this.qKr||(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])},d(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)}),s=this&&this.nJr||function(){return s=Object.assign||function(t){var V,n,i,e;for(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},s.apply(this,arguments)},d;Object.defineProperty(V,"__esModule",{value:!0}),V.SpinButtonFormControl=void 0,i=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),r=1,c=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.VVV=!1,V.nVV=!1,V}return o(V,t),V.prototype.init=function(V){t.prototype.init.call(this,V),this.y4=0,this.LEt={minValue:0,maxValue:3e4,step:1,cellLink:"",threeDShading:!0}},Object.defineProperty(V.prototype,"value",{get:function(){return this.y4},set:function(t){this.YI(t,!0),this.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"options",{get:function(){return s(s({},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}),V.prototype.syncValueFromCell=function(t){this.YI(t,!1)},V.prototype.YI=function(t,V){var n,i;t=(0,e.normalizeInteger)(t),isNaN(t)||(n=this.y4,t=Math.min(t,this.LEt.maxValue),n!==(t=Math.max(t,this.LEt.minValue))&&(i=this.shape.AsV("formControlProps"),this.y4=t,this.shape.usV("formControlProps",{changingContext:i}),V&&this.syncValueToCell(),this.triggerValueChangedEvent(n,t)))},V.prototype.doMouseDown=function(t){var V=this.getPointerRelativeControl(t.evt,t.canvas),n=this.height,i=this.options.step;return V.y<=n/2?(this.VVV=!0,this.refresh(),this.value+=i,this.eVV(i)):(this.nVV=!0,this.refresh(),this.value-=i,this.eVV(-i)),!0},V.prototype.doMouseUp=function(){this.VVV=!1,this.nVV=!1,this.iVV(),this.refresh()},V.prototype.render=function(t,V){var n=this.width,i=this.height,e=this.VVV,r=this.nVV;t.save(),t.translate(-n/2,-i/2),this.cVV(t,e,n,i),this.rVV(t,r,n,i),t.restore()},V.prototype.cVV=function(t,V,n,i){this.dVV(t,V,!0,n,i)},V.prototype.rVV=function(t,V,n,i){t.save(),t.translate(0,i/2+r),this.dVV(t,V,!1,n,i),t.restore()},V.prototype.dVV=function(t,V,n,i,r){var c,o,s,d;this.threeDShading?this.oVV(t,V,n,i,r):(c=r/2,o="black",s=V?"black":"white",d=V?"white":"black",(0,e.fillRect)(t,0,0,i,c,s),(0,e.strokeRect)(t,0,0,i,c,o),this.drawSpinArrow(t,d,n,i,c))},V.prototype.oVV=function(t,V,n,i,c){var o,s,d,a=c/2;t.save(),o="rgb(160,160,160)",s="rgb(240,240,240)",d="black",(0,e.fillRect)(t,0,0,i,a,s),V?((0,e.strokeRect)(t,0,0,i,a,o),t.save(),t.translate(1,1),this.drawSpinArrow(t,d,n,i,a),t.restore()):((0,e.drawTheeDShadingOuterRect)(t,i,a,r,"#f0f0f0","black"),(0,e.drawTheeDShadingInnerRect)(t,i,a,r,"white","#a0a0a0"),this.drawSpinArrow(t,d,n,i,a)),t.restore()},V.prototype.drawSpinArrow=function(t,V,n,i,e){var r=1/4,c=Math.min(i*r*2,e*r),o=(i-2*c)/2,s=(e-c)/2;t.save(),t.translate(o,s),t.beginPath(),n?(t.moveTo(0,c),t.lineTo(c,0),t.lineTo(2*c,c),t.closePath()):(t.moveTo(0,0),t.lineTo(2*c,0),t.lineTo(c,c),t.closePath()),t.fillStyle=V,t.fill(),t.restore()},V.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},V.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()}},V.prototype.eVV=function(t){var V=this,n=80,i=260,e=function(){V.value+=t,V.aVV=window.setTimeout(e,n)};this.aVV=window.setTimeout(e,i)},V.prototype.iVV=function(){void 0!==this.aVV&&(window.clearTimeout(this.aVV),this.aVV=void 0)},Object.defineProperty(V.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),V}(i.SupportCellLinkFormControl),V.SpinButtonFormControl=c},"./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=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,r,c){V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5,i-=1,e-=1,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=r,t.stroke(),t.beginPath(),t.moveTo(i,0),t.lineTo(i,e),t.lineTo(0,e),t.strokeStyle=c,t.stroke(),t.restore()}function c(t,V,n,i,e,r,c,o,s){V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5,i-=1,e-=1,t.save(),t.lineWidth=1,t.translate(V,n),t.beginPath(),t.moveTo(0,0),t.lineTo(i,0),t.strokeStyle=c,t.stroke(),t.beginPath(),t.moveTo(i,0),t.lineTo(i,e),t.strokeStyle=o,t.stroke(),t.beginPath(),t.moveTo(i,e),t.lineTo(0,e),t.strokeStyle=s,t.stroke(),t.beginPath(),t.moveTo(0,e),t.lineTo(0,0),t.strokeStyle=r,t.stroke(),t.restore()}function o(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 d(t,V,n,i,e,r,o,s){c(t,0,0,V+i,n+i,e,r,o,s)}function a(t,V,n,i,e,r,o,s){c(t,i,i,V-i,n-i,e,r,o,s)}function h(t,V,n,i,e,r,c){void 0===r&&(r="black"),void 0===c&&(c=1),c%2==1&&(V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5),t.beginPath(),t.rect(V,n,i,e),t.lineWidth=c,t.strokeStyle=r,t.stroke()}function u(t,V,n,i,e,r){void 0===r&&(r="white"),t.beginPath(),t.rect(V,n,i,e),t.fillStyle=r,t.fill()}function x(t,V,n,i,e,r){void 0===e&&(e="black"),void 0===r&&(r=1),t.beginPath(),t.arc(V,n,i,0,2*Math.PI),t.lineWidth=1,t.strokeStyle=e,t.stroke()}function f(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 y(t,V){return g(t.x,V.x,V.w)&&g(t.y,V.y,V.h)}function l(t,V,n){return t>=V&&t<=n}function g(t,V,n){return t>=V&&t<=V+n}function A(t){return JSON.parse(JSON.stringify(t))}function p(t,V,n){var i=t.x,e=t.y,r=t.width,c=t.height;n.beginPath(),n.moveTo(i+V,e),n.lineTo(i+r-V,e),n.quadraticCurveTo(i+r,e,i+r,e+V),n.lineTo(i+r,e+c-V),n.quadraticCurveTo(i+r,e+c,i+r-V,e+c),n.lineTo(i+V,e+c),n.quadraticCurveTo(i,e+c,i,e+c-V),n.lineTo(i,e+V),n.quadraticCurveTo(i,e,i+V,e),n.closePath(),n.fill()}function v(t){return t="number"==typeof t?Math.floor(t):"string"==typeof t?parseInt(t,10):NaN}V.getAllShape=e,V.drawTheeDShadingRect=r,V.drawTheeDShadingRectFourColor=c,V.drawTheeDShadingOuterRect=o,V.drawTheeDShadingInnerRect=s,V.drawTheeDShadingOuterRectFourColor=d,V.drawTheeDShadingInnerRectFourColor=a,V.strokeRect=h,V.fillRect=u,V.strokeCircle=x,V.fillCircle=f,V.pointIsInRect=y,V.isInRange=l,V.isInRangeWithLen=g,V.clone=A,V.drawRoundedRect=p,V.normalizeInteger=v},"./dist/plugins/shape/formControl/formControl-io.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m=this&&this.nJr||function(){return m=Object.assign||function(t){var V,n,i,e;for(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},m.apply(this,arguments)};function C(t){return-1!==L.indexOf(t)}function R(t,V,n){var i,e,r=V.rels,c=t[o],s=p(r.c_,c);if(s)return i=s.Target.split("/").pop().slice(0,-4),(e=n.ctrlProps)&&e[i]}function I(t,V,n){var i,e;if(t.n_===h?i=t:t.n_===s&&(i=j(t,"".concat(d,"&").concat(h))),i&&(e=R(i,V,n))&&e.formControlPr&&C(e.formControlPr.objectType))return{control:i,ctrlProp:e}}function M(t,V){var n,i=_(t);return i?(n={},i.c_.forEach((function(i){var e=I(i,t,V);e&&e.control.shapeId&&(n[e.control.shapeId]=e)})),n):{}}function _(t){var V=w(t,a);return V||(V=j(t,"".concat(s,"&").concat(d,"&").concat(a))),V}function E(t,V){var n=(0,e.findSJSExt)(t.nvSpPr.cNvPr.extLst,(function(t){return!!t.compatExt}));return n&&S(n.compatExt.spid,V)}function S(t,V){return V&&(0,e.find)(V.c_,(function(V){return V.n_===u&&(V["o:spid"]||V.id)===t}))}function F(t){var V,n,i,e,r,c,o,s,d,a,h=t.ctrlProp.formControlPr,u=t.vmlDrawingShape,A=_t(h);return delete A.xmlns,V=w(u,"ClientData"),n=w(V,"Val"),A.val===b&&n&&(A.val=n.c_[0]),i=!!w(V,x),e=-1!==(null==u?void 0:u.style.indexOf("visibility:hidden")),r=!0,(c=w(V,f))&&c.c_[0]===l&&(r=!1),o=!0,(s=w(V,y))&&s.c_[0]===l&&(o=!1),d="",(a=w(V,g))&&a.c_&&(d=a.c_[0]),{props:A,hidden:e,disabled:i,locked:r,print:o,fmlaMacro:d}}function X(t,V,n){var i;(t.c_||[]).forEach((function(t){t.AlternateContent&&(t=t.AlternateContent.Choice),t.sp?Y(t.sp,V,n):t.n_===c.GrpSpNodeName&&X(t,V,n)}))}function Y(t,V,n){var i=t.nvSpPr.cNvPr.id,e=V[i];return e&&(e.vmlDrawingShape=E(t,n),t.controlInfo=F(e)),!!e}function O(t){return t.some((function(t){return t.ttV===r.CT_ShapeType.CT_FormControlShape||(t.ttV===r.CT_ShapeType.CT_GroupShape?O(t.all()):void 0)}))}function T(t){return t&&t.controlInfo}function P(t){return t&&(t.controlInfo||(0,e.findSJSExt)(t.nvSpPr.cNvPr.extLst,(function(t){return!!t.compatExt})))}function N(t,V,n,i,e,r){var c=q(t);c&&0!==c.length&&(e.c_.push({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"}]}),c.sort((function(t,V){return t.id-V.id})),c.forEach((function(t,c){Z(t.sp,V,n,i,e,r+c)})))}function D(t,V,n){var e,r,c,o=V.rels;return n.ctrlProps||(n.ctrlProps={}),e=Object.keys(n.ctrlProps).length+1,r=i.XFileConstants.lu+e,n.ctrlProps[r]=t,c=i.XFileConstants.Rr+v(o),o.c_.push({n_:i.XFileConstants.Lr,Id:c,Type:i.RelationshipConstants.dc,Target:"../ctrlProps/"+r+"."+i.XFileConstants.Cr}),c}function U(t,V,n,r,c){var o,s,d="_x0000_s"+n;(0,e.addSJSExt)(t.nvSpPr.cNvPr,{uri:"{63B3BB69-23CF-44E3-9099-C40C66FF867C}",compatExt:{spid:d}}),(o=V.vmlDrawingShape).id=d,o["o:spid"]=d,(s=w(o,"fill"))&&s.src&&(r.rels||i.Util.Nr(r),s["o:relid"]=i.Util.Kr(s.src,r.rels,c),delete s.src),r.c_.push(o)}function q(t){var V=[];return(t||[]).forEach((function(t){t.AlternateContent&&(t=t.AlternateContent.Choice);var n=t.twoCellAnchor;n.AlternateContent&&(n=n.AlternateContent.Choice),n.sp?k(n.sp,V):n.grpSp&&B(n.grpSp,V)})),V}function k(t,V){t&&t.controlInfo&&V.push({id:+t.nvSpPr.cNvPr.id,sp:t})}function B(t,V){var n;(t.c_||[]).forEach((function(t){t.AlternateContent&&(t=t.AlternateContent.Choice),t.sp?k(t.sp,V):t.n_===c.GrpSpNodeName&&B(t,V)}))}function Z(t,V,n,i,e,r){if(t&&t.controlInfo){var c=H(t,t.controlInfo);delete t.controlInfo,U(t,c,r,e,V),c.control[o]=D(c.ctrlProp,n,V),i.c_.push(rt(c.control))}}function H(t,V){var n={};return n.control=z(t,V),n.ctrlProp=Q(V.props),n.vmlDrawingShape=W(t,V),n}function z(t,V){var n=V.anchorInfo,i=n.startPoint,r=n.endPoint,c=t.nvSpPr.cNvPr,o=c.name,s=c.id,d=function(t,V){return{n_:t,c_:[{n_:"col",c_:[V.col]},{n_:"colOff",c_:[(0,e.pixelToEMU)(V.colOffset)]},{n_:"row",c_:[V.row]},{n_:"rowOff",c_:[(0,e.pixelToEMU)(V.rowOffset)]}]}};return{n_:h,shapeId:String(s),name:o,c_:[{n_:"controlPr",defaultSize:e.SJS_False,autoPict:e.SJS_False,disabled:V.disabled?e.SJS_True:b,print:!1===V.print?e.SJS_False:b,locked:!1===V.locked?e.SJS_False:b,c_:[{n_:"anchor",moveWithCells:e.SJS_True,sizeWithCells:e.SJS_True,c_:[d("from",i),d("to",r)]}]}]}}function Q(t){return{formControlPr:m({r_:[42]},t)}}function G(t){var V,n,i=null===(n=null===(V=t.txBody)||void 0===V?void 0:V.bodyPr)||void 0===n?void 0:n.vert;return!!i&&"horz"!==i}function J(t){var V,n,i,e=null===(n=null===(V=t.txBody)||void 0===V?void 0:V.bodyPr)||void 0===n?void 0:n.vert;return e&&"horz"!==e?(i="layout-flow:vertical","vert270"===e?i+=";mso-layout-flow-alt:bottom-to-top":"wordArtVertRtl"!==e&&"wordArtVert"!==e||(i+=";mso-layout-flow-alt:top-to-bottom;mso-direction-alt:auto"),i):""}function W(t,V){var n=V.hidden,i=V.style,r=V.alt,c=i.fill,o=i.line,s={n_:"shape",c_:[],type:"#_x0000_t201"};return s.alt=r,s.style=Lt(n),At(c)?s.fillcolor=pt(c):s.filled="f",vt(o)?(s.strokecolor=o.color,s.strokeweight=(0,e.pixelToEMU)(o.width)):s.stroked="f",s["o:insetmode"]="auto",At(c)&&s.c_.push(ct(c)),vt(o)&&s.c_.push(ot(o)),s.c_.push({n_:"lock","v:ext":"edit",rotation:"t",text:"t"}),G(t)&&s.c_.push({n_:"textbox",style:J(t),c_:[]}),s.c_.push(K(V)),s}function K(t){var V=t.props,n=t.anchorInfo,i=t.disabled,e=t.locked,r=t.print,c=t.fmlaMacro,o=n.startPoint,s=n.endPoint,d=[{n_:"Anchor",c_:[bt(o,s)]}];return i&&d.push({n_:x,c_:[]}),!1===e&&d.push({n_:f,c_:[l]}),!1===r&&d.push({n_:y,c_:[l]}),c&&d.push({n_:g,c_:[c]}),Object.keys(V).forEach((function(t){var n=V[t];"objectType"!==t&&("noThreeD"!==t?("checked"===t&&(n=jt(n)),d.push({n_:Et(t),c_:[n]})):n&&d.push({n_:"NoThreeD2",c_:[]}))})),{n_:"ClientData",ObjectType:wt(V.objectType),c_:d}}function $(){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 rt({n_:a,c_:[]})}function Vt(t,V,n){return V&&(t.r_=V),n&&(t.Requires=n),{AlternateContent:{r_:[14],Choice:t}}}function nt(t,V,n){var i={n_:d,c_:[t]};return V&&(i.r_=V),n&&(i.Requires=n),{n_:s,r_:[14],c_:[i]}}function it(t){return Vt(t,[22],"a14")}function et(t){return Vt(t,[],"x14")}function rt(t){return nt(t,[],"x14")}function ct(t){var V={n_:"fill"};return t.stops?0===t.type?at(t,V):1===t.type&&ut(t,V):t.src?lt(t,V):V.opacity=gt(t.transparency),V}function ot(t){var V={n_:"stroke"};return t.dashStyle&&(V.dashstyle=t.dashStyle),t.transparency&&(V.opacity=gt(t.transparency)),t.lineStyle&&(V.linestyle=t.lineStyle),t.joinStyle&&(V.joinstyle=t.joinStyle),V}function st(t){return 11===t&&(t=1),t=(t=(t=(t=r.ST_PresetLineDashVal[t]).toLowerCase()).replace("lg","long")).replace("sys","short")}function dt(t){return"dbl"===(t=r.ST_CompoundLine[t])?t="thinThin":"tri"===t&&(t="thickBetweenThin"),t}function at(t,V){var n,i=t.stops,e="100%",r=gt(i[0].transparency),c=gt(i[i.length-1].transparency);ft(i)&&((i=i.slice(0,Math.floor(i.length/2)+1)).forEach((function(t){return t.position*=2})),e="50%",n=r,r=c=gt(i[i.length-1].transparency),c=n),V.opacity=r,V.color2=i[i.length-1].color,V["o:opacity2"]=c,V.recolor="t",V.rotate="t",V.angle=ht(t.angle),V.colors=i.map(yt).join(";"),V.method="none",V.focus=e,V.type="gradient"}function ht(t){return t=90-t,(t%=360)<0&&(t+=360),t}function ut(t,V){var n=t.stops,i=n[n.length-1],e=gt(i.transparency),r=gt(n[0].transparency);V.opacity=e,V.color2=i.color,V["o:opacity2"]=r,V.recolor="t",V.rotate="t",V.colors=n.map(yt).join(";"),V.method="none",V.focusposition=xt(t.direction),V.focus="100%",V.type="gradientradial"}function xt(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 ft(t){var V,n=function(t,V){return Math.abs(t-V)<1e-4},i=function(t,V){return t.color===V.color&&n(t.transparency,V.transparency)&&n(t.position,1-V.position)},e=t.length,r=Math.floor(e/2);if(e<3||e%2!=1||!n(t[r].position,.5))return!1;for(V=0;V<r;V++)if(!i(t[V],t[e-1-V]))return!1;return!0}function yt(t){var V=t.position,n=t.color;return"".concat(Math.round(100*V),"% ").concat(n)}function lt(t,V){V.src=t.src,V["o:relid"]="",V["o:title"]="picture",V.rotate="t",V.type=t.tilePictureAsTexture?"tile":"frame"}function gt(t){return 1-t}function At(t){return t&&(t.src||t.stops||t.color)}function pt(t){return t.stops?t.stops[0].color:t.color}function vt(t){return t&&t.color}function wt(t){return"CheckBox"===t&&(t="Checkbox"),t}function jt(t){return"Checked"===t?1:"Mixed"===t?2:0}function bt(t,V){var n=function(t){return[t.col,A(t.colOffset),t.row,A(t.rowOffset)]};return n(t).concat(n(V)).join(",")}function Lt(t){var V="position:absolute;margin-left:0;margin-top:0;width:100%pt;height:100%pt";return t&&(V+=";visibility:hidden"),V}function mt(){return{n_:"lock","v:ext":"edit",rotation:"t",text:"t"}}function Ct(t,V){void 0===V&&(V=0);var n=r.Color.fromString(t);return V&&n.applyTint(V),n.toHexString()}function Rt(t){var V=t.color,n=t.position,i=t.transparency,e;return{color:Ct(V,t.brightness),position:n,transparency:i}}function It(t){var V,n,i,e=r.ShapeUtility.getFillFormatInfo(t),c=e.solid;return e.type===r.FillType.Solid&&1===c.type?V={color:Ct(c.color),transparency:c.transparency}:e.type===r.FillType.Gradient?V={angle:(n=e.gradient).angle,direction:n.direction,type:n.type,stops:n.stops.map(Rt)}:e.type!==r.FillType.Picture&&e.type!==r.FillType.Textured||(V={src:(i=e.picture).src,transparency:i.transparency,tilePictureAsTexture:i.tilePictureAsTexture}),V}function Mt(t){var V,n,i,e,c,o,s=r.ShapeUtility.getLineFormatInfo(t.Line);if(s.color)return V=s.width,n=s.color,i=s.transparency,e=s.lineStyle,c=s.joinType,o=s.compoundType,{width:V,color:n,transparency:i,dashStyle:st(e),lineStyle:dt(o),joinStyle:r.ShapeUtility.getLineJoinValue(c)}}function _t(t){return JSON.parse(JSON.stringify(t))}function Et(t){return t.substring(0,1).toUpperCase()+t.substring(1)}Object.defineProperty(V,"__esModule",{value:!0}),V.getVmlDrawingLineInfo=V.getVmlDrawingFillInfo=V.wrapWithSJSAlternateContentNodeRequiresX14=V.wrapWithAlternateContentRequiresX14=V.wrapWithAlternateContentRequiresA14=V.wrapWithSJSAlternateContentNode=V.wrapWithSJSCompactAlternateContentNode=V.createEmptySheetControlsNode=V.toVmlDrawingControlShapeType=V.processFormControlsWhenToSJSFormat=V.isSJSFormControlNode=V.isSJSFormControl=V.hasFormControl=V.markSJSFormControl=V.markGroupChildrenSJSFormControl=V.getSJSControlInfos=V.findControlsNode=V.readControlsNode=V.getSJSCtrlFile=void 0,i=n("Core"),e=n("./dist/plugins/shape/shape.js"),r=n("./dist/plugins/shape/drawingInterface.js"),c=n("./dist/plugins/shape/groupShapes.js"),o=i.XFileConstants.Ki,s=i.XFileConstants.Bo,d=i.XFileConstants.Lo,a=i.XFileConstants.Fo,h=i.XFileConstants.Po,u=i.XFileConstants.$r,x="Disabled",f="Locked",y="PrintObject",l="False",g="FmlaMacro",A=Math.round,p=i.Util.Sr,v=i.Util.wr,w=i.util.xr,j=i.util.o1,b=void 0,L=["Button","Spin","Scroll","List","CheckBox","Radio","Label","GBox","Drop"],V.getSJSCtrlFile=R,V.readControlsNode=M,V.findControlsNode=_,V.getSJSControlInfos=F,V.markGroupChildrenSJSFormControl=X,V.markSJSFormControl=Y,V.hasFormControl=O,V.isSJSFormControl=T,V.isSJSFormControlNode=P,V.processFormControlsWhenToSJSFormat=N,V.toVmlDrawingControlShapeType=$,V.createEmptySheetControlsNode=tt,V.wrapWithSJSCompactAlternateContentNode=Vt,V.wrapWithSJSAlternateContentNode=nt,V.wrapWithAlternateContentRequiresA14=it,V.wrapWithAlternateContentRequiresX14=et,V.wrapWithSJSAlternateContentNodeRequiresX14=rt,V.getVmlDrawingFillInfo=It,V.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,r,c,o,s,d,a,h,u,x;function f(t,V){x[t]=V}function y(t){return x[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"),r=n("./dist/plugins/shape/formControl/controls/checkBoxFormControl.js"),c=n("./dist/plugins/shape/formControl/controls/comboFormControl.js"),o=n("./dist/plugins/shape/formControl/controls/groupBoxFormControl.js"),s=n("./dist/plugins/shape/formControl/controls/labelFormControl.js"),d=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"),u=n("./dist/plugins/shape/formControl/controls/spinFormControl.js"),(x={})[i.FormControlType.button]=e.ButtonFormControl,x[i.FormControlType.spinButton]=u.SpinButtonFormControl,x[i.FormControlType.listBox]=d.ListBoxFormControl,x[i.FormControlType.checkBox]=r.CheckBoxFormControl,x[i.FormControlType.optionButton]=a.RadioFormControl,x[i.FormControlType.comboBox]=c.ComboFormControl,x[i.FormControlType.label]=s.LabelFormControl,x[i.FormControlType.groupBox]=o.GroupBoxFormControl,x[i.FormControlType.scrollBar]=h.ScrollFormControl,V.registerCustomFormControl=f,V.getFormControlCtor=y},"./dist/plugins/shape/formControl/formControlData.js":function(t,V,n){var i,e,r,c,o,s,d=this&&this.qKr||(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])},h(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)}),a=this&&this.nJr||function(){return a=Object.assign||function(t){var V,n,i,e;for(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},a.apply(this,arguments)},h;function u(t){var V="Form Control";return t===e.FormControlType.button?V="Button":t===e.FormControlType.checkBox?V="Check Box":t===e.FormControlType.comboBox?V="Drop Down":t===e.FormControlType.groupBox?V="Group Box":t===e.FormControlType.label?V="Label":t===e.FormControlType.listBox?V="List Box":t===e.FormControlType.optionButton?V="Option Button":t===e.FormControlType.scrollBar?V="Scroll Bar":t===e.FormControlType.spinButton&&(V="Spinner"),V}Object.defineProperty(V,"__esModule",{value:!0}),V.getDefaultFormControlName=V.FormControlShapeData=void 0,i=n("./dist/plugins/shape/shape.js"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/formControl/formControl.js"),c=n("./dist/plugins/shape/formControl/formControl-io.js"),o=void 0,s=function(t){function V(V,n,i,r,c,o,s){var d=t.call(this,V,n,e.AutoShapeType.rectangle,r,c,o,s)||this,a=d;return a.ttV=4,a.ntV=e.AutoShapeType.rectangle,a.sVV=i,a.jft=!0,a._hidden=!1,a.hrV=!0,a.uoV="",a.itV=0,a.InitDefaultStyle(),d}return d(V,t),V.prototype.setFormControl=function(t){this.GtV=t},V.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat(),t.InitTextFormat()},V.prototype.InitFillFormat=function(){var t;this.S0t.Color.ColorType=0},V.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ColorType=0,t.JoinStyle=1,t.Weight=1},V.prototype.InitTextFormat=function(){var t=this.ShapeStyle.Font;t.Color.ColorType=2,t.Color.RGB=e.ARGBColor.FromRgb(0,0,0)},V.prototype.InitDefaultStyle=function(){var t,V,n=this,i=(0,r.getFormControlCtor)(n.sVV);i&&"function"==typeof i.defaultStyle&&(t=i.defaultStyle())&&(V=n.I0i.TextBody,t.vAlign!==o&&(V.anchor=t.vAlign),t.hAlign!==o&&V.O0t.forEach((function(V){return V.Algn=t.hAlign})),t.wrapText!==o&&(V.wrap=t.wrapText?e.ST_TextWrappingType.square:e.ST_TextWrappingType.none),t.margins&&(V.Inset=t.margins),n.Mfn=t)},Object.defineProperty(V.prototype,"Type",{get:function(){return e.ShapeType.AutoShape},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"Enabled",{get:function(){return this.hrV},set:function(t){this.hrV=t},enumerable:!1,configurable:!0}),V.prototype.FromOOModel=function(V){var n=this;t.prototype.FromOOModel.call(this,V),n._hidden=!1},V.prototype.FromCT_ShapeBase=function(V){var n=this;t.prototype.FromCT_ShapeBase.call(this,V),n.FromCT_Control(V.control)},V.prototype.FromSJSCT_ShapeBase=function(V){var n=this;t.prototype.FromSJSCT_ShapeBase.call(this,V),n.FromSJS_Control(V)},V.prototype.FormulaFrom=function(){var t=this.GtV,V=this.tWt;t&&V&&t.fromExcelProps(V)},V.prototype.ToCT_ShapeBase=function(V,n){var i=t.prototype.ToCT_ShapeBase.call(this,V,n);return i.control=this.ToCT_Control(null==n?void 0:n.newWorkSheetName),i.shapeType=e.CT_ShapeType.CT_FormControlShape,i},V.prototype.ToSJSCT_ShapeBase=function(V,n){var e=t.prototype.ToSJSCT_ShapeBase.call(this,V);return e.controlInfo=this.ToSJS_Control(V,n),e.nvSpPr.cNvPr.hidden=i.SJS_True,e},V.prototype.FromCT_Control=function(t){if(t){var V=this;V.tWt=t.props,V.sVV=V.FromObjectType(t.props.objectType),V.hrV=!t.disabled}},V.prototype.FromSJS_Control=function(t){var V,n;t.controlInfo&&(V=this,n=t.controlInfo,V.FromCT_Control(n),V.jft=!n.hidden,V.hrV=!n.disabled,V.uoV=n.fmlaMacro)},V.prototype.FromObjectType=function(t){var V={};return V.Button=e.FormControlType.button,V.Spin=e.FormControlType.spinButton,V.Scroll=e.FormControlType.scrollBar,V.List=e.FormControlType.listBox,V.CheckBox=e.FormControlType.checkBox,V.Radio=e.FormControlType.optionButton,V.Label=e.FormControlType.label,V.GBox=e.FormControlType.groupBox,V.Drop=e.FormControlType.comboBox,V[t]||t},V.prototype.ToCT_Control=function(t,V){var n,e,r,c,o,s=this,d=s.ToObjectType(),h={objectType:d};return s.GtV&&(h=a(a({},s.GtV.toExcelProps()),h)),n=this.eJ,h.fmlaLink&&(h.fmlaLink=(0,i.adjustFormulaByNewWorkSheetName)(n,h.fmlaLink,t)),h.fmlaRange&&(h.fmlaRange=(0,i.adjustFormulaByNewWorkSheetName)(n,h.fmlaRange,t)),e=this.ToCT_Control_Style(),r=s.getAnchorInfo(),c=!s.hrV,V&&(o=s.uoV),{props:h,style:e,anchorInfo:r,disabled:c,fmlaMacro:o}},V.prototype.ToSJS_Control=function(t,V){var n=this,i=n.ToCT_Control(t,V);return i.hidden=!n.jft,i.disabled=!n.hrV,i},V.prototype.ToObjectType=function(){var t,V={};return V[e.FormControlType.button]="Button",V[e.FormControlType.spinButton]="Spin",V[e.FormControlType.scrollBar]="Scroll",V[e.FormControlType.listBox]="List",V[e.FormControlType.checkBox]="CheckBox",V[e.FormControlType.optionButton]="Radio",V[e.FormControlType.label]="Label",V[e.FormControlType.groupBox]="GBox",V[e.FormControlType.comboBox]="Drop",V[t=this.sVV]||t},V.prototype.getAnchorInfo=function(){var t=this,V=t.topAnchorRow,n=t.topAnchorRowOffset,i=t.leftAnchorCol,e=t.leftAnchorColOffset,r=t.bottomAnchorRow,c=t.bottomAnchorRowOffset,o=t.rightAnchorCol,s=t.rightAnchorColOffset,d={row:V,col:i,rowOffset:n,colOffset:e},a={row:r,col:o,rowOffset:c,colOffset:s};return{startPoint:d,endPoint:a}},V.prototype.ToCT_Control_Style=function(){var t=this,V={},n=(0,c.getVmlDrawingFillInfo)(t),i=(0,c.getVmlDrawingLineInfo)(t);return n&&(V.fill=n),i&&(V.line=i),V},V}(i.ShapeData),V.FormControlShapeData=s,V.getDefaultFormControlName=u},"./dist/plugins/shape/formControl/radioGroupManager.js":function(t,V,n){var i,e,r,c,o;function s(t,V){var n=function(t){return{left:t.x(),right:t.x()+t.width(),top:t.y(),bottom:t.y()+t.height()}},i=n(t),e=n(V);return e.left>i.left&&e.right<i.right&&e.top>i.top&&e.bottom<i.bottom}function d(t){return t.GtV}function a(t){return t.ttV===i.CT_ShapeType.CT_FormControlShape}function h(t){return t.ttV===i.CT_ShapeType.CT_GroupShape}function u(t){return t.ytV.sVV===i.FormControlType.optionButton}function x(t){return t.ytV.sVV===i.FormControlType.groupBox}function f(t){return t.ytV.Id}function y(t,V){var n=t.indexOf(V);-1!==n&&t.splice(n,1)}function l(t,V){var n,i=-1;for(n=0;n<t.length;n++)if(V(t[n])){i=n;break}-1!==i&&t.splice(i,1)}Object.defineProperty(V,"__esModule",{value:!0}),i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),r=n("./dist/plugins/shape/shapeCollection.js"),c=function(){function t(t){this.fVV=t,this.ztV=[]}return t.prototype.add=function(t){var V,n=this.ztV,i=n.length>0?d(n[0]).cellLink:"";n.push(t),this.wwn(),this.Jti(),V=d(t),n.length>1&&(V.cellLink=i),!0===V.value&&V.setOtherRadioToFalse()},t.prototype.remove=function(t){var V=this.lp(t),n=this.ztV;-1!==V&&(n.splice(V,1),this.Jti())},t.prototype.contains=function(t){return-1!==this.ztV.indexOf(t)},t.prototype.wwn=function(){this.ztV.sort((function(t,V){return f(t)-f(V)}))},t.prototype.lp=function(t){return this.ztV.indexOf(t)},t.prototype.Jti=function(){var t,V;for(t=0;t<this.ztV.length;t++)(V=d(this.ztV[t])).setIndex(t+1)},t}(),o=function(){function t(t){this.lVV=new c,this.gVV=[],this.ztV=[],this.AVV=!1,this.Mf=t}return t.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},t.prototype.addRadio=function(t){var V;this.ztV.push(t),this.wVV(t).add(t)},t.prototype.removeRadio=function(t){var V=this.getGroupByRadio(t);V&&V.remove(t),y(this.ztV,t)},t.prototype.addGroupBox=function(t){this.gVV.push(new c(t)),this.gVV.sort((function(t,V){return f(t.fVV)-f(V.fVV)})),this.pVV()},t.prototype.removeGroupBox=function(t){l(this.gVV,(function(V){return V.fVV===t})),this.pVV()},t.prototype.updateRadio=function(t){var V=this.getGroupByRadio(t),n=this.wVV(t);V!==n&&(V&&V.remove(t),n.add(t))},t.prototype.updateRadios=function(t){var V=this;t.forEach((function(t){V.updateRadio(t)}))},t.prototype.updateGroupBox=function(t){this.pVV()},t.prototype.onShapeMoveOrResize=function(t){var V=this;this.AVV||(a(t)?u(t)?this.updateRadio(t):a(t)&&this.updateGroupBox(t):h(t)&&t.tin.forEach((function(t){V.onShapeMoveOrResize(t)})))},t.prototype.onAddShape=function(t){var V=this;this.AVV||(a(t)?u(t)?this.addRadio(t):x(t)&&this.addGroupBox(t):h(t)&&t.tin.forEach((function(t){V.onAddShape(t)})))},t.prototype.onRemoveShape=function(t){var V=this;this.AVV||(a(t)?u(t)?this.removeRadio(t):x(t)&&this.removeGroupBox(t):h(t)&&t.tin.forEach((function(t){V.onRemoveShape(t)})))},t.prototype.startFromJson=function(){this.AVV=!0},t.prototype.endFromJson=function(){var t,V,n,i,r=this;this.AVV=!1,(t=(0,e.getAllShape)(this.Mf.shapes.all())).sort((function(t,V){return t.ytV.Id-V.ytV.Id})),n=(V=t.filter((function(t){return a(t)}))).filter((function(t){return x(t)})),i=V.filter((function(t){return u(t)})),n.forEach((function(t){r.onAddShape(t)})),i.forEach((function(t){r.onAddShape(t)}))},t.prototype.pVV=function(){this.updateRadios(this.ztV)},t.prototype.wVV=function(t){var V,n,i,e,r=this.gVV;for(n=0;n<r.length;n++)s(e=(i=r[n]).fVV,t)&&(V&&!s(V.fVV,e)||(V=i));return V||this.lVV},t}(),r.ShapeCollection.ch("FormControlRadioGroupManager",{init:function(){this.QtV=new o(this.Mf)},shapeAdded:function(t){this.QtV.onAddShape(t.shape)},shapeRemoved:function(t){this.QtV.onRemoveShape(t.shape)},beforeFromJSON:function(){this.QtV.startFromJson()},beforeFromSJSFormat:function(){this.QtV.startFromJson()},fromJsonAfterFormula:function(){this.QtV.endFromJson()},fromJsonAfterSJSFormula:function(){this.QtV.endFromJson()}})},"./dist/plugins/shape/formControl/supportCellLinkFormControl.js":function(t,V,n){var i,e,r,c,o,s,d,a,h=this&&this.qKr||(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])},u(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)}),u;Object.defineProperty(V,"__esModule",{value:!0}),V.SupportCellLinkFormControl=void 0,i=n("./dist/plugins/shape/ui/util.js"),e=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),c=(r="form_control.").length,o="cellLink",s="inputRange",d=null,a=function(t){function V(){var V=t.call(this)||this;return V.vVV={},V.LVV=!1,V.syncValueFromCell=V.syncValueFromCell.bind(V),V.syncValueToCell=V.syncValueToCell.bind(V),V.onLinkedCellValueChanged=V.onLinkedCellValueChanged.bind(V),V}return h(V,t),Object.defineProperty(V.prototype,"value",{get:function(){return this.y4},set:function(t){var V,n=this.y4;n!==(t=this.preProcessValue(t))&&(V=this.shape.AsV("formControlProps"),this.y4=t,this.shape.usV("formControlProps",{changingContext:V}),this.syncValueToCell(),this.triggerValueChangedEvent(n,t),this.refresh())},enumerable:!1,configurable:!0}),V.prototype.preProcessValue=function(t){return t},V.prototype.mapToCellValue=function(t){return t},V.prototype.mapValueFromCell=function(t){return this.preProcessValue(t)},V.prototype.shouldProcessMouseDownEvt=function(V){return!!t.prototype.shouldProcessMouseDownEvt.call(this,V)&&(!this.cellLink||!this.linkedCellIsLocked)},Object.defineProperty(V.prototype,"cellLink",{get:function(){return this.getFormula(o)},set:function(t){this.setCellLinkCore(t,!0)},enumerable:!1,configurable:!0}),V.prototype.setCellLinkCore=function(t,V){this.checkFormula(t)?(this.linkWithCell(t,!0),V&&this.syncValueToCell()):this.removeFormula(o)},Object.defineProperty(V.prototype,"inputRange",{get:function(){return this.getFormula(s)},set:function(t){this.checkFormula(t)?(t=(0,i.addWorkSheetNameIfNeed)(this.sheet,t),this.setFormula(s,t,(function(){}))):this.removeFormula(s)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"linkedCellIsLocked",{get:function(){var t,V,n,i,e=this.getRangeReferenceInfo(o);return!(!e||(t=e.sheet,n=(V=e.cellRange).row,i=V.col,!t.isActualProtected()))&&!!t.getActualStyle(n,i).locked},enumerable:!1,configurable:!0}),V.prototype.linkWithCell=function(t,V){void 0===V&&(V=!1),V&&(this.LVV=!0),this.setFormula(o,t,this.onLinkedCellValueChanged),this.LVV=!1},V.prototype.syncValueToCell=function(){var t=this.mapToCellValue(this.value);this.syncValueToCellImp(t)},V.prototype.syncValueToCellImp=function(t){var V,n,i,e,r=this.getRangeReferenceInfo(o);r&&(V=r.sheet,i=(n=r.cellRange).row,e=n.col,V.getValue(i,e)!==t&&(this.LVV=!0,V.getFormula&&V.getFormula(i,e)&&V.setFormula(i,e,d),V.setValue(i,e,t),this.LVV=!1))},V.prototype.getCellValue=function(){var t,V,n,i,e=this.getRangeReferenceInfo(o);if(e)return t=e.sheet,n=(V=e.cellRange).row,i=V.col,t.getValue(n,i)},V.prototype.syncValueFromCell=function(t){var V=this.y4;V!==(t=this.mapValueFromCell(t))&&(this.y4=t,this.triggerValueChangedEvent(V,t)),this.refresh()},V.prototype.onLinkedCellValueChanged=function(t){this.LVV||this.syncValueFromCell(t)},V.prototype.getInputRangeTexts=function(){var t,V,n,i,e,r,c=this.getRangeReferenceInfo(s),o=[];if(c)for(t=c.sheet,n=(V=c.cellRange).row,i=V.col,e=V.rowCount,r=0;r<e;r++)o.push(t.getText(n+r,i));return o},V.prototype.onFormulaValueChange=function(t,V){t=t.substring(c);var n=this.vVV[t];n&&n(V)},V.prototype.getFormula=function(t,V){var n=this.shapeUI,i=n&&n.getService(),e=i&&i.getFormula(n.id,r+t,V);return e&&"="===e[0]?e.substring(1):e},V.prototype.getRangeReferenceInfo=function(t){var V=this.shapeUI,n=V&&V.getService(),e=n&&n.calcSource_.getExpression(V.id,r+t);return e&&(0,i.expressionToRangeInfo)(this.sheet,e)},V.prototype.setFormula=function(t,V,n){this.vVV[t]=n,(0,i.setFormulaImp)(this.shape,r+t,V)},V.prototype.removeFormula=function(t){var V,n=this.shapeUI;n&&(V=n.getService())&&V.removeFormula(n.id,r+t),delete this.vVV[t]},V.prototype.checkFormula=function(t){var V=!0;try{V=!!(0,i.getRangeInfo)(this.sheet,t)}catch(t){V=!1}return V},V}(e.ExcelBuildInFormControlBase),V.SupportCellLinkFormControl=a},"./dist/plugins/shape/formControlView.js":function(t,V,n){var i,e,r,c,o,s,d,a,h=this&&this.qKr||(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])},u(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)}),u;Object.defineProperty(V,"__esModule",{value:!0}),V.FormControlShape=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/ui/shapes.js"),r=n("./dist/plugins/shape/formControl/formControl.js"),c=n("./dist/plugins/shape/formControl/formControlData.js"),o=n("./dist/plugins/shape/shapeView.js"),s=n("./dist/plugins/shape/util/viewUtil.js"),d=i.ShapeUtility.syncShapeOptions,a=function(t){function V(V,n,e,r,o,s,d){var a=t.call(this,V,n||(0,c.getDefaultFormControlName)(e),i.AutoShapeType.rectangle,r,o,s,d)||this,h=a;return h.Mf=V,h.fiV=!1,h.ttV=i.CT_ShapeType.CT_FormControlShape,h.ytV=new c.FormControlShapeData(V,h.ytV.Name,e,r||0,o||0,s||200,d||160),e&&(h.ytV.sVV=e,h.tnV()),a}return h(V,t),V.prototype.tnV=function(){var t,V,n,i,e,r,c,o=this,a=o.Mf,h=a.zoom();o.ytV.sVV&&(o.RiV=!0,o.VnV=!0,V=(t=o.ytV).ntV,n=a.shapeLayers[0],(i=o.aiV)||(e=(0,s.getBuiltInShapeModelWhenInit)(t,V,h)),r=(0,s.removeOldShapeUIWhenInitShapeUI)(o,n),d(e,t,n,i),(c=n.createFormControlShape(e)).ttV=4,c.getShapeCenter(),c.hyperlink=t.ku,o.ZnV(c.id),t.ltV&&(o.flipX=!0),t.gtV&&(o.flipY=!0),(0,s.addNewShapeUIWhenInitShapeUI)(o,c,n,r),delete o.VnV,delete o.RiV,o.U0V())},V.prototype.U0V=function(){var t,V,n=this;n.GtV||(t=n.ytV,V=n.k0V(),n.GtV=V,t.setFormControl(V))},V.prototype.type=function(){if((0,s.noArguments)(arguments))return this.ytV.AutoShapeType},V.prototype.formControlType=function(){return this.ytV.sVV},V.prototype.value=function(t){var V,n,i=this;if((0,s.noArguments)(arguments))return i.GtV.value;V=i.GtV.value,i.DT("value",t,V),n=i.AsV("formControlProps"),i.GtV.value=t,i.usV("formControlProps",{changingContext:n})},V.prototype.options=function(t){var V,n,i=this;if((0,s.noArguments)(arguments))return i.GtV.options;V=i.GtV.options,i.DT("options",t,V),n=i.AsV("formControlProps"),i.GtV.options=t,i.usV("formControlProps",{changingContext:n})},V.prototype.enabled=function(t){var V,n=this,i=n.ytV;if((0,s.noArguments)(arguments))return i.Enabled;(t=!!t)!==(V=i.Enabled)&&(n.DT("enabled",t,V),i.Enabled=t,n.usV("formControlDisabled",{value:!t,oldValue:!V}))},V.prototype._supportRotate=function(){return!1},V.prototype.hyperlink=function(){return null},V.prototype.text=function(V){if((0,s.noArguments)(arguments))return t.prototype.text.call(this);(0,e.isCanEditTextFormControlShape)(this)&&t.prototype.text.call(this,V)},V.prototype.isTextBox=function(){return!1},V.prototype.style=function(V){if((0,s.noArguments)(arguments))return t.prototype.style.call(this);V&&delete V.textFrame.resizeToFitText,t.prototype.style.call(this,V)},V.prototype.fc=function(){return this.GtV},V.prototype.bnV=function(V,n,i,e,r,c){t.prototype.bnV.call(this,V,n,i,e,r,c),this.Z0V()},V.prototype.$l=function(V,n,i,e,r,c){t.prototype.$l.call(this,V,n,i,e,r,c),this.Z0V()},V.prototype.Z0V=function(){var t,V=this,n=null===(t=V.mnV)||void 0===t?void 0:t.QtV;V.GtV&&n&&n.onShapeMoveOrResize(V)},V.prototype.k0V=function(){var t,V=this.ytV.sVV,n=(0,r.getFormControlCtor)(V);return n&&(t=new n).init(this),t},V.prototype.WiV=function(t){return new V(t)},V.prototype.EiV=function(V,n){var i,e;t.prototype.EiV.call(this,V,n),i=this,(e=V.controlInfo)&&(i.uiV=e.locked,i.xiV=e.print)},V.prototype.XiV=function(V,n,i,e,r){var c,o;t.prototype.XiV.call(this,V,n,i,e,r),c=this,(o=V.sp.controlInfo).locked=c.uiV,o.print=c.xiV,c.AiV&&(o.alt=c.AiV)},V.prototype.postProcessShapeDataToJson=function(V,n,i,e){var r,c;t.prototype.postProcessShapeDataToJson.call(this,V,n,i,e),(c=this.AiV)&&(null===(r=V.shapeData.sp)||void 0===r?void 0:r.control)&&(V.shapeData.sp.control.alt=c)},V}(o.Shape),V.FormControlShape=a},"./dist/plugins/shape/geometryService/controlPointService.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x=this&&this.qKr||(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])},f(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)}),f;for(s in Object.defineProperty(V,"__esModule",{value:!0}),V.getBoundFnInfo=V.getNewAdjustName=V.getControlPointInfo=V.getPresetShapeInfo=V.ANGLE_ADJUSTMENT_UNIT=V.ADJUSTMENT_UNIT=V.ADJUSTMENTS=V.ADJUSTMENT_NAME_PREFIX=void 0,i=n("CalcEngine"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/presetShapeModels.js"),c=void 0,V.ADJUSTMENT_NAME_PREFIX="adj",V.ADJUSTMENTS="adjustments",V.ADJUSTMENT_UNIT=1e5,V.ANGLE_ADJUSTMENT_UNIT=6e4,o={},e.AutoShapeType)e.AutoShapeType.hasOwnProperty(s)&&s!==parseInt(s,10)+""&&(o[e.AutoShapeType[s]]=s);function y(t){var V,n,i=o[t],e=h[t];return e||(V=r.TVV[i],e=h[t]={name:i,definition:V},V&&((n=V.path).forEach((function(t){var V=t.pop();V&&(t.fillMode=V.fillMode,t.strokeMode=V.strokeMode,t.strokeCompound=V.strokeCompound)})),g(e,V),v(V,t))),e}function l(t){var V=y(t),n=V&&V.definition,i=n&&n.adjustInfo,e=n&&n.angleAdjustments;return{adjustValues:i=i?JSON.parse(JSON.stringify(i)):[],angleAdjustments:e=e?JSON.parse(JSON.stringify(e)):{}}}function g(t,V){var n,i,e=V.variables,r=V.controlsInfo;if(r){if(V.controls)return;n=V.controls=[],i=V.angleAdjustments={},r.forEach((function(V){var r,c,o,s,d=V.position,a=d.x,h=d.y,u=V.point,x={xBehavior:1,yBehavior:1,x:u[0],y:u[1]};"ahXY"===V.type?(r=V.gdRefX,c=V.gdRefY,r&&(w(a,r,e,t),x.xBehavior=0,x.xRef=r,x.min=V.minX,x.max=V.maxX),c&&(w(h,c,e,t),x.yBehavior=0,x.yRef=c,x.min=V.minY,x.max=V.maxY)):(o=V.gdRefAng,s=V.gdRefR,x.xBehavior=0,x.yBehavior=0,x.aRef=o,x.rRef=s,o&&(x.minAngle=V.minAng,x.maxAngle=V.maxAng,i[o]=0===V.maxAng?2:1),s&&(x.minRadius=V.minR,x.maxRadius=V.maxR,j(a,h,s,e,t))),n.push(x)}))}}function A(t){var n,i;for(n=1;n<=1e3;n++)if(t[i=V.ADJUSTMENT_NAME_PREFIX+n]===c)return i;return V.ADJUSTMENT_NAME_PREFIX}function p(t,V){var n,i,e,r;return"string"==typeof t&&0===t.indexOf("=BOUND")?(e=t.indexOf("("),r=t.indexOf(","),i=t.substring(0,e+1)+V+t.substring(r),n="="+t.substring(e+1,r)):(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 w(t,V,n,i){b(t,V,n,i)}function j(t,V,n,i,e){b(t,n+"_x",i,e,n),b(V,n+"_y",i,e,n)}function b(t,V,n,e,r){var c,o,s,d,a;if(e.fnDefs){if(e.fnDefs[V])return}else e.fnDefs={},e.fnArgs={};L(n,t,o=[],c=[],r=r||V),c.length>0&&(d=new i.Parser,a=new u,o.forEach((function(t){return t.expr=d.parse(a,String(t.formula))})),s=m(o,["width","height"].concat(c))),e.fnDefs[V]=s,e.fnArgs[V]=c}function L(t,V,n,i,e){var r,c,o=t[V];/^\d/.test(V)&&(V="_"+V),isNaN(+o)?((c=(r=o).match(d))&&c.length&&(r=r.replace(/V\.(\d)/g,"_$1").replace(/V\./g,""),c.forEach((function(V){var r=V.substr(a);0!==r.indexOf("adj")?n[r]||(n[r]=!0,L(t,r,n,i,e)):-1===i.indexOf(r)&&(r===e?i.unshift(r):i.push(r))}))),n.push({name:V,formula:r})):n.push({name:V,formula:o})}function m(t,V){return function(){var n,i,e=arguments,r={};for(V.forEach((function(t,V){return r[t]=e[V]})),n=t.length-1,i=0;i<n;i++)r[t[i].name]=C(t[i].expr,r);return C(t[n].expr,r)}}function C(t,V){var n,i,e,r,c;if(t){for(;10===t.type;)t=t.value;if((i=t.type)>=2&&i<=6)n=t.value;else if(8===i)n=V[t.value];else if(9===i)switch(e=C(t.value,V),r=C(t.value2,V),t.operatorType){case 1:n=-e;break;case 2:n=e/100;break;case 3:n=e+r;break;case 4:n=e-r;break;case 5:n=e*r;break;case 6:n=e/r;break;case 9:n=e===r;break;case 10:n=e!==r;break;case 11:n=e<r;break;case 12:n=e<=r;break;case 13:n=e>r;break;case 14:n=e>=r}else if(7===i)switch(c=t.arguments.map((function(t){return C(t,V)})),t.functionName){case"MIN":n=Math.min(c[0],c[1]);break;case"MAX":n=Math.max(c[0],c[1]);break;case"SIN":n=Math.sin(c[0]);break;case"COS":n=Math.cos(c[0]);break;case"ABS":n=Math.abs(c[0]);break;case"ATAN2":n=Math.atan2(c[1],c[0]);break;case"SQRT":n=Math.sqrt(c[0]);break;case"TAN":n=Math.tan(c[0]);break;case"IF":n=c[0]?c[1]:c[2]}return n}}d=/V\.(_?[A-Za-z0-9]+)/g,a=2,h={},V.getPresetShapeInfo=y,V.getControlPointInfo=l,V.getNewAdjustName=A,V.getBoundFnInfo=p,u=function(t){function V(){var V=t.call(this,void 0,!1)||this;return V.tokenResolver=new i.DefaultTokenResolver,V}return x(V,t),V.prototype.getResolvers=function(){return[this.tokenResolver]},V}(i.ParserContext)},"./dist/plugins/shape/geometryService/geometryService.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l=this&&this.qKr||(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])},g(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)}),g;function A(t){var V=t.map((function(t){return t.parseDimensions()})),n=h.apply(a,V.map((function(t){return t.left}))),i=h.apply(a,V.map((function(t){return t.top}))),e=u.apply(a,V.map((function(t){return t.right}))),r=u.apply(a,V.map((function(t){return t.bottom}))),c={left:n,top:i,right:e,bottom:r};return f(c),c}function p(t){return t.map((function(t){return t.pathCommands}))}Object.defineProperty(V,"__esModule",{value:!0}),V.mapPathInstanceToValue=V.GeometryService=V.VARIABLES=V.VARIABLES_SHORT_NAME=void 0,i=n("Common"),e=n("CalcEngine"),r=n("./dist/plugins/shape/ui/path.js"),c=n("./dist/plugins/shape/ui/util.js"),o=n("./dist/plugins/shape/geometryService/parseContext.js"),s=n("./dist/plugins/shape/staticModelCalcService/evaluateContext.js"),d=n("./dist/plugins/shape/staticModelCalcService/staticModelCalcService.js"),V.VARIABLES_SHORT_NAME="V",V.VARIABLES="variables",a=null,h=Math.min,u=Math.max,x=i.Common.zf.fJ,f=c.Common.setRectSize,y=function(t){function n(V){var i=t.call(this,V,n.parser,n.parseContext)||this;return i.needCacheResult=!1,i.geometryModel=V,i}return l(n,t),n.prototype.calculate=function(V){var n,i=JSON.stringify(V),e=this.resultCache;return e&&e[i]?e[i]:this.resultKey===i?this.result:(n=t.prototype.calculate.call(this,V),this.resultKey=i,this.result=n,this.needCacheResult&&(this.resultCache[i]=this.result),n)},n.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},n.prototype.startCache=function(){this.needCacheResult=!0,this.resultCache||(this.resultCache={})},n.prototype.endCache=function(t){void 0===t&&(t=!0),this.needCacheResult=!1,t&&(this.resultCache=void 0)},n.prototype.dispose=function(){this.resultCache={}},n.prototype.getResultFromCalcNodeModel=function(V){var n=t.prototype.getResultFromCalcNodeModel.call(this,V),i=this.CrV(n.path);return{textRect:n.textRect,connectionPoints:n.connectionPoints,controlPoints:n.controls,path:i,pathRect:A(i)}},n.prototype.getIdentity=function(n){var i;return x(n,V.VARIABLES_SHORT_NAME+".")?i=n.substring(V.VARIABLES_SHORT_NAME.length+1):x(n,V.VARIABLES+".")&&(i=n.substring(V.VARIABLES.length+1)),i?["".concat(V.VARIABLES,".").concat(i),"".concat(V.VARIABLES_SHORT_NAME,".").concat(i)]:t.prototype.getIdentity.call(this,n)},n.prototype.CrV=function(t){var V=this.geometryModel.path;return t.map((function(t,n){var i,e,c=new r.Path;return c.pathCommands=t,(e=(i=V[n]).fillMode)&&(c.fillMode=e),i.strokeMode&&(c.strokeMode=i.strokeMode),i.strokeCompound&&(c.strokeCompound=i.strokeCompound),c}))},n.parseFormulaToExpression=function(t){return n.parser.parse(n.parseContext,t)},n.evaluatorFormula=function(t,V){var i=n.parseFormulaToExpression(t),e=new s.StaticModelEvaluateContext(a);return e.args=V,e.calcNodeMap=a,n.evaluator.evaluate(i,e,!1,!1)},n.parser=new e.Parser,n.parseContext=new o.GeometryParseContext(a,!1),n}(d.StaticModelCalcService),V.GeometryService=y,V.mapPathInstanceToValue=p},"./dist/plugins/shape/geometryService/parseContext.js":function(t,V,n){var i,e,r,c,o,s,d,a=this&&this.qKr||(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])},h(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)}),h;function u(t,V,n,i,e){return n||2===V?t:(1===V&&(i+=1,e-=1),Math.max(i,Math.min(t,e)))}function x(t){return-1}function f(t,V,n){var i=n/d;return o(t*r(i),V*c(i))}function y(t,V,n,i){var e;return V-t*(i?c:r)(n)}function l(t,V,n,i){var e;return t+V*(i?c:r)(n)}Object.defineProperty(V,"__esModule",{value:!0}),V.GeometryParseContext=void 0,i=n("CalcEngine"),e=n("./dist/plugins/shape/staticModelCalcService/parseContext.js"),r=Math.sin,c=Math.cos,o=Math.atan2,s=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return a(V,t),V.prototype.getFunction=function(t){if(t){var V=new i.Functions.Function(t);switch(t){case"BOUND":V.evaluate=u;break;case"LISTORDER":V.evaluate=x,V.isContextSensitive=function(){return!0};break;case"A":V.evaluate=f;break;case"C":V.evaluate=y;break;case"P":V.evaluate=l;break;default:V=void 0}return V&&(V.minArgs=V.maxArgs=V.length),V}},V}(e.StaticModelParseContext),V.GeometryParseContext=s,d=108e5/Math.PI},"./dist/plugins/shape/geometryService/serviceManager.js":function(t,V,n){var i,e,r,c,o;function s(t){var V;if(t)return V=c(t.autoShapeType)?a(t):d(t.autoShapeType)}function d(t){var V,n,i=o.geometryModels,r=i[t];if(!r){if(!(V=(0,e.getPresetShapeInfo)(t)))return;((n=V.definition).controls||[]).forEach(u),n.path.sort(h),r=a(n,"build-in-"+t),i[t]=r}return r}function a(t,V){var n={left:0,top:0,right:"=width",bottom:"=height"},i=t.variables||{},e=t.controls||[],r=t.textRect||n,c=t.connectionPoints||[],o=t.path||[[[]]];return V||(V="custom-"+JSON.stringify({variables:i,controls:e,textRect:r,connectionPoints:c,path:o})),{key:V,variables:i,controls:e,textRect:r,connectionPoints:c,path:o}}function h(t,V){var n="none"===t.fillMode,i;return n!==("none"===V.fillMode)?n?1:-1:0}function u(t){["x","y","min","max","minAngle","maxAngle","minRadius","maxRadius"].forEach((function(V){var n=t[V];"string"==typeof n&&"="!==n[0]&&(t[V]="=".concat(r.VARIABLES,".").concat(n))}))}Object.defineProperty(V,"__esModule",{value:!0}),V.GeometryServiceManager=void 0,i=n("Common"),e=n("./dist/plugins/shape/geometryService/controlPointService.js"),r=n("./dist/plugins/shape/geometryService/geometryService.js"),c=i.Common.lt.ht,o=function(){function t(){}return t.getGeometryService=function(V){var n,i=t.geometryServices,e=s(V);if(e)return i[n=e.key]||(i[n]=new r.GeometryService(e),t.needCacheResult&&i[n].startCache()),i[n]},t.startCache=function(){t.needCacheResult=!0;var V=t.geometryServices;Object.keys(V).forEach((function(t){V[t].startCache()}))},t.endCache=function(V){void 0===V&&(V=!0),t.needCacheResult=!1;var n=t.geometryServices;Object.keys(n).forEach((function(t){n[t].endCache(V)}))},t.dispose=function(){var V=t.geometryServices;Object.keys(V).forEach((function(t){V[t].dispose()})),t.geometryModels={},t.geometryServices={},t.needCacheResult=!1},t.geometryModels={},t.geometryServices={},t.needCacheResult=!1,t}(),V.GeometryServiceManager=o},"./dist/plugins/shape/groupShapes.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l=this&&this.qKr||(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])},g(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)}),g;Object.defineProperty(V,"__esModule",{value:!0}),V.GroupShapeData=V.GrpSpChildNodeIndexOffset=V.GrpSpPrNodeIndex=V.NvGrpSpPrNodeIndex=V.GrpSpNodeName=void 0,i=n("./dist/plugins/shape/shape.js"),e=n("./dist/plugins/shape/connector.js"),r=n("./dist/plugins/shape/pictureShape.js"),c=n("./dist/plugins/shape/cameraShape.js"),o=n("./dist/plugins/shape/formControl/formControlData.js"),s=n("./dist/plugins/shape/drawingInterface.js"),d=n("FloatingObject"),a=n("./dist/plugins/shape/formControl/formControl-io.js"),h=void 0,u=s.DrawingUtility.Aft,x=s.ShapeConstants.PositiveFixedAngleConvert,V.GrpSpNodeName="grpSp",V.NvGrpSpPrNodeIndex=0,V.GrpSpPrNodeIndex=1,V.GrpSpChildNodeIndexOffset=2,f=function(){function t(){}return Object.defineProperty(t.prototype,"ChildList",{get:function(){var t=this;return t.jVV||(t.jVV=[]),t.jVV},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Items",{get:function(){return this.ChildList},enumerable:!1,configurable:!0}),t.prototype.GetByIndex=function(t){return this.FindShapeByIndex(this,t)},t.prototype.GetByName=function(t){return this.FindShapeByName(this,t)},t.prototype.zIndex=function(t,V,n){var i=this;i.ChildList.splice(t,1),i.ChildList.splice(V,0,n)},t.prototype.Add=function(t,V){var n,i,e,r,c;this.ChildList.push(t),n=V,(i=t.ShapeStyle).Fill&&(i.Fill.ParentStateful=n.Fill),i.Line&&(i.Line.ParentStateful=n.Line),(e=t.ThreeD)&&(e.ParentStateful=n.ThreeD),(r=t.Fill.PictureFormat)&&(r.ParentStateful=n.Fill.PictureFormat),(c=t.PictureFormat)&&(c.ParentStateful=n.PictureFormat)},t.prototype.Remove=function(t){var V,n,i,e,r,c=this;return!(c.Count<=0)&&(-1!==(V=c.ChildList.indexOf(t))&&(c.ChildList.splice(V,1),delete t.XtV,(n=t.ShapeStyle).Fill&&(n.Fill.ParentStateful=h),n.Line&&(n.Line.ParentStateful=h),(i=t.ThreeD)&&(i.ParentStateful=h),(e=t.Fill.PictureFormat)&&(e.ParentStateful=h),(r=t.PictureFormat)&&(r.ParentStateful=h),!0))},Object.defineProperty(t.prototype,"Count",{get:function(){return this.GetGroupItemCount()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"InternalCount",{get:function(){return this.ChildList.length},enumerable:!1,configurable:!0}),t.prototype.FindShapeByIndex=function(t,V,n){var i,e,r,c,o,s;for(void 0===n&&(n=0),i=this,e=0,r=t.ChildList;e<r.length;e++)if(2===(c=r[e]).ttV){if(o=c,s=i.FindShapeByIndex(o.GroupItems,V,n))return s;n+=o.GroupItems.InternalCount}else{if(n===V)return c;n++}},t.prototype.FindShapeByName=function(t,V){var n,i,e,r,c,o=this;for(n=0,i=t.ChildList;n<i.length;n++){if((e=i[n]).Name===V)return e;if(2===e.ttV&&(r=e,c=o.FindShapeByName(r.GroupItems,V)))return c}},t.prototype.GetGroupItemCount=function(){var t=0;return this.ChildList.forEach((function(V){2===V.ttV?t+=V.GroupItems.GetGroupItemCount():t+=1})),t},t}(),y=function(t){function n(V,n,i,e,r,c){var o=t.call(this,V,n,i,e,r,c)||this;return o.ttV=2,o}return l(n,t),Object.defineProperty(n.prototype,"GroupItems",{get:function(){var t=this;return t.N||(t.N=new f),t.N},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"DrawingType",{get:function(){return d.Drawing.DrawingType.GroupShape},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Type",{get:function(){return s.ShapeType.Group},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"PictureFormat",{get:function(){return this.Fill.PictureFormat},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"LosslessGroupItems",{get:function(){var t=this;return t.bVV||(t.bVV=new f),t.bVV},enumerable:!1,configurable:!0}),n.prototype.FromOOModel=function(V){var n=this;t.prototype.FromOOModel.call(n,V),n.FromCT_ShapeBase(V.grpSp),!1===V.isVisible&&(n._hidden=!0)},n.prototype.FromSJSOOModel=function(V,n){var i=this;t.prototype.FromSJSOOModel.call(this,V,n),i.FromSJSCT_ShapeBase(V)},n.prototype.FormulaFrom=function(){this.GroupItems.ChildList.forEach((function(t){t.FormulaFrom()}))},n.prototype.ToOOModel=function(V,n){V=!1!==V;var i=t.prototype.ToOOModel.call(this,V);return i.grpSp=this.ToCT_ShapeBase(V,n),i},n.prototype.ToSJSOOModel=function(V,n){t.prototype.ToSJSOOModel.call(this,V,n),V.grpSp=this.ToSJSCT_ShapeBase(n)},n.prototype.ToChildShapes=function(t,V,n){V=!1!==V;var i=[],e=this;return t.Items.forEach((function(t){t.mVV(e),i.push(t.ToCT_ShapeBase(V,n))})),i},n.prototype.ToSJSChildShapes=function(t,V,n){var i=this;t.Items.forEach((function(t){var e,r;switch(t.mVV(i),r=t.ToSJSCT_ShapeBase(n),t.ttV){case 0:case 4:e={sp:r};break;case 1:e={cxnSp:r};break;case 5:case 3:e={pic:r};break;case 6:e={graphicFrame:r};break;case 2:e=r}e&&V.c_.push(e)}))},n.prototype.FromChildShapes=function(t){var V=this,s=V.eJ,d=V.baseOffset;t.forEach((function(t){var a,h,u=null,x=t.shapeType;5===x?u=new i.ShapeData(s):3===x?(a=!0,u=new n(s)):4===x?u=new e.ConnectorShapeData(s):0===x?u=new i.LosslessShapeData(s):1===x?u=t.cameraTool?new c.CameraShapeData(s):new r.PictureShapeData(s):7===x?u=new o.FormControlShapeData(s):(h={node:t,sheet:s},i.ShapeBaseData.et(V,"createChildShapeDataBySSJSON",h),u=h.shapeData),u&&(u.CVV=!0,u.mVV(V),u.baseOffset=d,a?u.FromOOModel({anchorType:3,grpSp:t}):u.FromCT_ShapeBase(t),delete u.CVV,V.GroupItems.Add(u,V))}))},n.prototype.FromSJSChildShapes=function(t){var s=this,d=s.eJ,h=s.baseOffset,u=s.RVV=[];t.c_.forEach((function(t){var x,f,y=null,l=!1;t.AlternateContent&&(t=t.AlternateContent.Choice),t.sp?(x=t.sp,y=(0,a.isSJSFormControl)(t.sp)?new o.FormControlShapeData(d):new i.ShapeData(d)):t.cxnSp?(y=new e.ConnectorShapeData(d),x=t.cxnSp):t.pic?(x=t.pic,y=(0,c.isCameraShapeNode)(x)?new c.CameraShapeData(d):new r.PictureShapeData(d)):t.n_===V.GrpSpNodeName?(l=!0,y=new n(d),x=t):(f={node:t,sheet:d},i.ShapeBaseData.et(s,"createChildShapeDataBySJSNode",f),y=f.shapeData,x=f.childNode),y&&(y.CVV=!0,y.mVV(s),y.baseOffset=h,u.push(t),l?y.FromSJSOOModel(x,{anchorType:3,grpSp:x}):y.FromSJSCT_ShapeBase(x),delete y.CVV,s.GroupItems.Add(y,s))}))},n.prototype.ToCT_GroupShapeProperties=function(t){var V,n,i,e,r,c=this;return(V=(t=!1!==t)&&c.IVV&&c.IVV.grpSpPr||{}).xfrm=c.ToCT_GroupTransform2D(t),u(V),(n=c.S0t)&&(i=n.ToOOModel(t))&&(0===i.colorFillType?V.solidFill=i:1===i.colorFillType?V.pattFill=i:2===i.colorFillType?V.gradFill=i:3===i.colorFillType?V.blipFill=i:(i.colorFillType,V.noFill=!0),delete i.colorFillType),V.effectLst=c.ToCT_EffectList(t),(e=c.Cin).Visible&&(r=e.ToOOModel(t),V.scene3d=r.Scene3D),V},n.prototype.ToSJSCT_GroupShapeProperties=function(){var t=this,V={};return V.xfrm=t.ToSJSCT_GroupTransform2D(),(0,i.toSJSFillGroup)(t.S0t,V),t.KcV(),(0,i.toSJSThreeDGroup)(t.Cin,V),V},n.prototype.FromCT_GroupShapeProperties=function(t){var V,n,i=this;i.FromCT_GroupTransform2D(t.xfrm),(V=i.S0t).ParentStateful=i.MVV.Fill,t.solidFill?V.FromOOModel(t.solidFill,0):t.grpFill?V.FromOOModel(t.grpFill,4):t.pattFill?V.FromOOModel(t.pattFill,1):t.gradFill?V.FromOOModel(t.gradFill,2):t.blipFill?V.FromOOModel(t.blipFill,3):t.noFill&&(V.Color.ColorType=0),n=t.xfrm.rot/x,i.XtV&&(n+=i.XtV.Rotation),i.Rotation=n,i.FromGroupThreeDFormat(t),i.FromCT_EffectList(t.effectLst)},n.prototype.FromSJSCT_GroupShapeProperties=function(t){var V,n=this;n.FromSJSCT_GroupTransform2D(t.xfrm),n.S0t.ParentStateful=n.MVV.Fill,(0,i.fromSJSFillGroup)(n.S0t,t),V=(0,i.getAttributeValueOrDefaultOfIntType)(t.xfrm.rot,0)/x,n.XtV&&(V+=n.XtV.Rotation),n.Rotation=V,n.FromSJSGroupThreeDFormat(t),n.$cV(t.effectLst)},n.prototype.ToCT_GroupShapeNonVisual=function(t,V){var n,i,e,r=this;return(i=(n=(t=!1!==t)&&r.IVV)&&n.nvGrpSpPr||{}).cNvPr=i.cNvPr||{},i.cNvPr.name=r.Zc,i.cNvPr.id=r.Id,i.cNvPr.hidden=!r.Visible,i.cNvPr.hlinkClick=r.ku,(null==V?void 0:V.isServer)&&(delete i.cNvPr.id,i.cNvPr.__ID__=r.jKe()),i.cNvGrpSpPr=i.cNvGrpSpPr||{},(e=i.cNvGrpSpPr).grpSpLocks=r.ToAG_Locking(e.grpSpLocks||{}),i},n.prototype.ToSJSCT_GroupShapeNonVisual=function(){var t=this,V=t.ToSJSCT_NonVisualDrawingProps(),n={grpSpLocks:t.ToSJSAG_Locking({})};return{cNvPr:V,cNvGrpSpPr:n}},n.prototype.FromCT_GroupShapeNonVisual=function(t){var V,n=this,i=t.cNvPr;n.btV(i.name),n.Id=i.id,n.Visible=!i.hidden,n.ku=i.hlinkClick,n.UKn(i.__ID__),V=t.cNvGrpSpPr,n.FromAG_Locking(V&&V.grpSpLocks)},n.prototype.FromSJSCT_GroupShapeNonVisual=function(t){if(t){this.FromSJSCT_NonVisualDrawingProps(t.cNvPr);var V=t.cNvGrpSpPr;this.FromSJSAG_Locking(V&&V.grpSpLocks)}},n.prototype.FromCT_GroupTransform2D=function(t){if(t){var V=this;V.FromCT_Transform2D_Flip(t),V.Rotation=t.rot/x,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.left,offY:V.top,extX:V.width,extY:V.height,chExtX:t.chExt.cx,chExtY:t.chExt.cy}}},n.prototype.FromSJSCT_GroupTransform2D=function(t){if(t){var V=this;V.FromCT_Transform2D_Flip(t),V.Rotation=(0,i.getAttributeValueOrDefaultOfIntType)(t.rot,0)/x,V.XtV&&(V.FromSJSCT_Point2D(t.off,t.ext),V.FromSJSCT_PositiveSize2D(t.ext)),V.baseOffset={chOffX:(0,i.getAttributeValueOrDefaultOfIntType)(t.chOff.x,0),chOffY:(0,i.getAttributeValueOrDefaultOfIntType)(t.chOff.y,0),offX:V.left,offY:V.top,extX:V.width,extY:V.height,chExtX:(0,i.getAttributeValueOrDefaultOfIntType)(t.chExt.cx,0),chExtY:(0,i.getAttributeValueOrDefaultOfIntType)(t.chExt.cy,0)}}},n.prototype.ToCT_GroupTransform2D=function(t){var V=this,n=this.RotationWithoutParent;return{flipH:!1,flipV:!1,rot:(0,s.getWholeNumber)(n*x),off:V.ToCT_Point2D(),ext:V.ToCT_PositiveSize2D(),chOff:V.ToCT_GroupChOff(),chExt:V.ToCT_GroupChExt()}},n.prototype.ToCT_GroupChOff=function(){return this.ToCT_Point2D()},n.prototype.ToCT_GroupChExt=function(){var t=this.ToCT_PositiveSize2D();return 0===t.cx&&(t.cx=i.RELATIVE_DEFAULT_SIZE),0===t.cy&&(t.cy=i.RELATIVE_DEFAULT_SIZE),t},n.prototype.ToSJSCT_GroupTransform2D=function(){var t,V=this,n={};return t=V.XtV?V.Rotation-V.XtV.Rotation:V.Rotation,n.rot=(0,i.j)((0,s.getWholeNumber)(t*x)),n.off=V.ToSJSCT_Point2D(),n.ext=V.ToSJSCT_PositiveSize2D(),n.chOff={x:n.off.x,y:n.off.y},n.chExt={cx:n.ext.cx,cy:n.ext.cy},0===n.chExt.cx&&(n.chExt.cx=(0,i.pixelToEMU)(i.RELATIVE_DEFAULT_SIZE)),0===n.chExt.cy&&(n.chExt.cy=(0,i.pixelToEMU)(i.RELATIVE_DEFAULT_SIZE)),n},n.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))},n.prototype.FromSJSCT_ShapeBase=function(t){var n,e,r;t&&(n=this,e=t.c_[V.NvGrpSpPrNodeIndex].nvGrpSpPr,r=t.c_[V.GrpSpPrNodeIndex].grpSpPr,n.FromSJSCT_GroupShapeNonVisual(e),n.FromSJSCT_GroupShapeProperties(r),n.FromSJSChildShapes(t),r&&r.xfrm&&(r.xfrm.flipH=i.SJS_False,r.xfrm.flipV=i.SJS_False))},n.prototype.ToCT_ShapeBase=function(t,V){var n,i=this;return(n=(t=!1!==t)&&i.IVV||{shapeType:3}).nvGrpSpPr=i.ToCT_GroupShapeNonVisual(t,V),n.grpSpPr=i.ToCT_GroupShapeProperties(t),n.sp=i.ToChildShapes(i.GroupItems,t,V),n},n.prototype.ToSJSCT_ShapeBase=function(t){var n=this,i={n_:V.GrpSpNodeName,c_:[]};return i.c_.push({nvGrpSpPr:n.ToSJSCT_GroupShapeNonVisual()}),i.c_.push({grpSpPr:n.ToSJSCT_GroupShapeProperties()}),n.ToSJSChildShapes(n.GroupItems,i,t),i},n.prototype.FromGroupThreeDFormat=function(t){var 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(s.ThreeDFormatStates.Visible))),n.FromOOModel(V)},n.prototype.FromSJSGroupThreeDFormat=function(t){},n.prototype.FromLosslessChildShapes=function(t){var V=this;t.forEach((function(t){var n=null;0===t.shapeType&&((n=new i.LosslessShapeData(V.eJ)).mVV(V),n.FromCT_ShapeBase(t),V.LosslessGroupItems.Add(n,V))}))},n.prototype.aoV=function(t){return t.c_[V.GrpSpPrNodeIndex].grpSpPr.xfrm},n}(i.ShapeBaseData),V.GroupShapeData=y},"./dist/plugins/shape/groupShapesView.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p=this&&this.qKr||(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])},v(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)}),v;function w(t){return(0,o.getAllShape)(t).some((function(t){return!t._supportRotate()}))}function j(t){return t.n_===c.GrpSpNodeName?t:t.sp||t.cxnSp||t.pic||t.graphicFrame}function b(t){return t[this.property]}function L(t){t.width=t.right-t.left,t.height=t.bottom-t.top}function m(t){var V={left:y.apply(null,t.map(b.bind({property:"left"}))),top:y.apply(null,t.map(b.bind({property:"top"}))),right:l.apply(null,t.map(b.bind({property:"right"}))),bottom:l.apply(null,t.map(b.bind({property:"bottom"})))};return L(V),V}function C(t,V){V&&V.childrenData&&(t.childrenData=V.childrenData,t.GroupItems.Items.forEach((function(t,n){var i=V.childrenData;2===t.ttV&&C(t,i&&i[n])})))}Object.defineProperty(V,"__esModule",{value:!0}),V.GroupShape=V.isContainsDisableRotateShape=void 0,i=n("Core"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/ui/compoundShape.js"),c=n("./dist/plugins/shape/groupShapes.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),s=n("./dist/plugins/shape/shapeView.js"),d=n("./dist/plugins/shape/util/viewUtil.js"),a=n("./dist/plugins/shape/connectorView.js"),h=n("./dist/plugins/shape/cameraShapeView.js"),u=n("./dist/plugins/shape/formControlView.js"),x=n("./dist/plugins/shape/pictureShapeView.js"),f=e.ShapeUtility.syncShapeOptions,y=Math.min,l=Math.max,g=void 0,V.isContainsDisableRotateShape=w,A=function(t){function V(V,n){var i,e,r,o,s,d,a=t.call(this)||this;return a.ttV=3,a._iV=!1,i=-1,e=-1,r=-1,o=-1,s=a,d=n&&V.eeV(n)||V.eeV("GroupShape ",!0),s.Mf=V,s.ytV=new c.GroupShapeData(V,d,i,e,r,o),s.tin=[],a}return p(V,t),V.prototype.QiV=function(t){var V=this;return"rotate"===t?(0,d.getFormula)(V,"angle")||V.yXn:""},V.prototype.ziV=function(t,V){var n;"rotate"===t&&this.rotate(V)},V.prototype.rotate=function(t){var V=this;if((0,d.noArguments)(arguments))return V.ytV.Rotation;V._iV||(0,d.rotateImp)(V,t)},V.prototype.allowRotate=function(t){var V,n=this;if((0,d.noArguments)(arguments))return!n._iV&&n.fiV;n._iV||(V=n.allowRotate(),n.DT("allowRotate",t),n.fiV=t,n.usV("allowRotate",{value:t,oldValue:V}),n.enV("allowRotate",V),n.refresh())},V.prototype._supportRotate=function(){return!this._iV},V.prototype.add=function(t,V){var n,i,e,r,c,o,s,a,h,u,x,f,g,A,p=this,v=p.Mf.parent;null===(n=null==v?void 0:v.collaboration)||void 0===n||n.startBatchOp(),o=p.Mf.shapes,!V&&o.get(t.name())&&(t.isSelected(!1),o.VP(t,!0)),null===(i=null==v?void 0:v.suspendOp)||void 0===i||i.call(v),p.tin.push(t),p.ytV.GroupItems.Add(t.ytV,p.ytV),s=t.ctV,p.ctV&&p.ctV.addShape(s),null===(e=p.mnV)||void 0===e||e.IsV(t),p.LnV||(h=(a=(0,d.getShapeBound)(t)).left,u=a.top,x=a.width,f=a.height,p.$iV=!0,-1===p.x()?(p.x(h),p.y(u),p.width(x),p.height(f)):(g=p.x(),A=p.y(),p.x(y(h,g)),p.y(y(u,A)),p.width(l(h+x,g+p.width())-p.x()),p.height(l(u+f,A+p.height())-p.y())),delete p.$iV,p.updateRelativeLocationSize()),p._iV=w(p.all()),null===(r=null==v?void 0:v.resumeOp)||void 0===r||r.call(v),null===(c=null==v?void 0:v.collaboration)||void 0===c||c.endBatchOp(),p.DT("groupAddShape",{groupShape:p,shape:t}),p.refresh()},V.prototype.zIndex=function(t,V){var n=this,e=n.tin,r=e.length,c=n.Hq(t,!0),o=e.indexOf(c);if(1===arguments.length)return o;c&&(V=y(r-1,V),V=l(0,V),n.tin.splice(o,1),n.tin.splice(V,0,c),n.ctV.zIndex(o,V,c.ctV),n.ytV.GroupItems.zIndex(o,V,c.ytV),n.Mf.$Dr({type:"reorderChildShape",groupShape:n,shape:c,sourceIndex:o,targetIndex:V}),n.DT("groupZIndex",{groupShape:n,shapeName:t,zIndex:o,newIndex:V}),n.Mf.ki(i.Events.DrawingElementZIndexChanged,{isGroup:!0,shapeName:t,oldZIndex:o,newZindex:V}),n.refresh())},V.prototype.all=function(){return this.tin.concat()},V.prototype.remove=function(t){var V,n,i,e,r,c,o,s=this,d=s.tin,a=d.indexOf(t);a<0||(null===(V=null==(c=s.Mf.parent)?void 0:c.collaboration)||void 0===V||V.startBatchOp(),null===(n=null==c?void 0:c.suspendOp)||void 0===n||n.call(c),d.splice(a,1),s.ytV.GroupItems.Remove(t.ytV),s.ctV&&s.ctV.removeShape(t.ctV),null===(i=s.mnV)||void 0===i||i.MsV(t),delete t.sft,delete t.relativeHeight,delete t.relativeWidth,delete t.relativeX,delete t.relativeY,s.LnV||(s.$iV=!0,0===(o=d.length)?(s.x(-1),s.y(-1),s.width(-1),s.height(-1)):s.ccV(),delete s.$iV,s.updateRelativeLocationSize()),null===(e=null==c?void 0:c.resumeOp)||void 0===e||e.call(c),null===(r=null==c?void 0:c.collaboration)||void 0===r||r.endBatchOp(),s.DT("groupRemoveShape",{groupShape:s,shape:t}),s._iV=w(s.all()),s.refresh())},V.prototype.find=function(t,V){return this.Hq(t,!1)},V.prototype.Hq=function(t,V){var n,i,e,r,c=this.tin;for(n=0,i=c.length;n<i;n++){if((e=c[n]).name()===t)return c[n];if(3===e.ttV&&!V&&(r=e.find(t,V)))return r}return null},V.prototype.rsV=function(t){var V=this;t&&t.angle&&V.rotate(t.angle)},V.prototype.tnV=function(t,n){var i,e,c,o,y,l,A,p,v,b,L,C,R,I,M,_=this,E=_.Mf;_.VnV=!0,i=E.shapeLayers[0],e=_.ytV,c=e.childrenData||[],o=e.RVV||[],t||(t=_.tin,e.GroupItems.Items.forEach((function(n,e){var r,d,f,l=n.Zc,A=n.ttV;0===A?y=new s.Shape(E,l):1===A?y=new a.ConnectorShape(E,l):2===A?y=new V(E,l):3===A?y=new h.CameraShape(E,l):4===A?y=new u.FormControlShape(E,l):5===A?y=new x.PictureShape(E,l):(r={shapeData:n,sheet:E},s.ShapeBase.et(_,"createChildShape",r),y=r.shape),y&&(n.Name=y.name(),y.ytV=n,(d=c[e])&&(y.preProcessShapeDataFromJson(d),y.postProcessShapeDataFromJson(d)),(f=o[e])&&y.FiV(j(f),g,!0),y.tnV(g,!0),i.temporaryMarkIdUsed(y.ctV),t.push(y))}))),_.tin=t,l=[],t.forEach((function(t){l.push(t.ctV)})),f(A={},e,i),(p=new r.CompoundShape(l,A)).angle=e.Rotation,p.getShapeCenter(),p.hyperlink=e.ku,p.JVV=_,L=(b=(v=t.map((function(t){return(0,d.getShapeBound)(t)}))).length>0?m(v):{left:_.x(),top:_.y(),width:_.width(),height:_.height()}).left,C=b.top,R=b.width,I=b.height,M=!t,_.bnV(L,C,M),_.$l(R,I,M),_.updateRelativeLocationSize(),_.ctV=p,i.temporaryMarkIdUsed(p),delete _.VnV,_._iV=w(_.all())},V.prototype.jnV=function(){var t=this;t.ctV.shapes.forEach((function(t){t.parent=null})),t.ctV=null},V.prototype.rcV=function(){var t=this;t.layoutChildren(),t.anV(),t.refresh()},V.prototype.x=function(V){var n=this,i=t.prototype.x.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.hiV=function(){},V.prototype.y=function(V){var n=this,i=t.prototype.y.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.width=function(V){var n=this,i=t.prototype.width.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.height=function(V){var n=this,i=t.prototype.height.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.startRow=function(V){var n=this,i=t.prototype.startRow.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.startRowOffset=function(V){var n=this,i=t.prototype.startRowOffset.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.endRow=function(V){var n=this,i=t.prototype.endRow.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.endRowOffset=function(V){var n=this,i=t.prototype.endRowOffset.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.startColumn=function(V){var n=this,i=t.prototype.startColumn.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.startColumnOffset=function(V){var n=this,i=t.prototype.startColumnOffset.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.endColumn=function(V){var n=this,i=t.prototype.endColumn.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.endColumnOffset=function(V){var n=this,i=t.prototype.endColumnOffset.apply(n,arguments);return(0,d.noArguments)(arguments)||n.$iV||n.rcV(),i},V.prototype.updateGroup=function(){var t=this,V,n;t.tin.length<0||t.dcV()},V.prototype.ccV=function(){var t=this,V=t.tin,n;t.tin&&t.tin.length<=0||(L(n=m(V.map((function(t){return(0,d.getShapeBound)(t)})))),t.x(n.left),t.y(n.top),t.width(n.width),t.height(n.height))},V.prototype.dcV=function(){var t=this;t.$iV=!0,t.ccV(),delete t.$iV,t.updateRelativeLocationSize(),t.ctV.update()},V.prototype.afterResize=function(){var t;this.layoutChildren()},V.prototype.updateRelativeLocationSize=function(){var t=this,V=t.y(),n=t.x(),i=t.width(),e=t.height(),r=t.Mf.zoom();t.tin.forEach((function(c){c.sft=t,4===c.ttV?c.inV=c.ncV().map((function(t){return{relativeX:(t.x/r-n)/(i||1),relativeY:(t.y/r-V)/(e||1)}})):(i&&(c.relativeX=(c.x()-n)/i,c.relativeWidth=c.width()/i),e&&(c.relativeY=(c.y()-V)/e,c.relativeHeight=c.height()/e),3===c.ttV&&c.updateRelativeLocationSize())}))},V.prototype.layoutChildren=function(){var t=this,V=t.y(),n=t.x(),i=t.width(),e=t.height(),r=t.mnV;r&&r.V2(),t.tin.forEach((function(t){var r,c=!0;4===t.ttV?(r=t.inV.map((function(t){return{x:n+t.relativeX*i,y:V+t.relativeY*e}})),t.nnV(r)):(t.$l(t.relativeWidth*i,t.relativeHeight*e,c,void 0,void 0,void 0,!0),t.bnV(n+t.relativeX*i,V+t.relativeY*e,c),3===t.ttV&&t.layoutChildren())})),r&&r.Y2()},V.prototype.gnV=function(){var V=this;t.prototype.gnV.call(this),V.tin&&V.tin.length>0&&V.tin.forEach((function(t){t.gnV()})),V.layoutChildren()},V.prototype.lnV=function(){this.layoutChildren()},V.prototype.KiV=function(){var t,V,n,i,e,r=this,c=r.tin;for(t=0,V=c.length;t<V;t++)4===(n=c[t]).ttV&&(e=(i=n).KVV(),i.nnV(e))},V.prototype.WiV=function(t){return new V(t)},V.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)}},V.prototype.leV=function(){this.updateRelativeLocationSize()},V.prototype.OiV=function(t){return t.c_[c.NvGrpSpPrNodeIndex].nvGrpSpPr.cNvPr},V.prototype.DiV=function(t){return t.grpSp},V.prototype.preProcessShapeDataToJson=function(V,n){t.prototype.preProcessShapeDataToJson.call(this,V,n);var i=V.childrenData=[];this.tin.forEach((function(t){var V={};t.preProcessShapeDataToJson(V,n),i.push(V)}))},V.prototype.SiV=function(V,n,i){t.prototype.SiV.call(this,V,n,i),this.tin.forEach((function(t){t.SiV(V,n,i)}))},V.prototype.postProcessShapeDataToJson=function(V,n,i,e){var r,c,o,s,d=this;t.prototype.postProcessShapeDataToJson.apply(d,arguments),r=d.tin,c=V.shapeData&&V.shapeData.grpSp&&V.shapeData.grpSp.sp||V.sp,o=i?i.childrenData:V.childrenData,r.forEach((function(t,V){if(s=o[V],c&&c[V]){var i=c[V];3===t.ttV?t.postProcessShapeDataToJson(i,n,s,e):t.postProcessShapeDataToJson(i,!0,g,e),t.processShapePropsToJson(s)}}))},V.prototype.XiV=function(V,n,i,e,r,o){t.prototype.XiV.call(this,V,n,i,e,r);var s=V.grpSp.c_;this.tin.forEach((function(t,V){var r=s[V+c.GrpSpChildNodeIndexOffset];r=r.n_===c.GrpSpNodeName?{grpSp:r}:r,t.XiV(r,n,i,e,!0,o)}))},V.prototype.adjustShapeDataFromJson=function(t){var V,n;C(this.ytV,t)},V.prototype.formulaFromJSON=function(V,n){t.prototype.formulaFromJSON.call(this,V),this.tin.forEach((function(t){t.formulaFromJSON(V,n)}))},V.prototype.afterRefSheetLazyLoaded=function(){this.tin.forEach((function(t){t.afterRefSheetLazyLoaded()}))},V}(s.ShapeBase),V.GroupShape=A},"./dist/plugins/shape/pictureShape.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x=this&&this.qKr||(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])},f(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)}),f;function y(t){return"number"==typeof t&&!isNaN(t)}function l(t,V,n){return Math.min(Math.max(t,V),n)}Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShapeData=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/shape.js"),r=i.ShapeConstants.PositionConver,c=i.ShapeConstants.DefaultTransparent,o=i.ShapeConstants.PositiveFixedPercentageConvert,s=void 0,d=Math.round,a=function(){function t(t){this.ytV=t,this.aft=0,this.oft=0,this.T1t=0,this._VV=!1}return Object.defineProperty(t.prototype,"src",{get:function(){return this._ln},set:function(t){this._ln=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"base64Image",{get:function(){return this.SVV},set:function(t){this.SVV=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transparency",{get:function(){return this.aft},set:function(t){y(t)&&(this.aft=l(t,0,1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"brightness",{get:function(){return this.oft},set:function(t){y(t)&&(this.oft=l(t,-1,1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contrast",{get:function(){return this.T1t},set:function(t){y(t)&&(this.T1t=l(t,-1,1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"grayscale",{get:function(){return this._VV},set:function(t){this._VV=!!t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"biLevel",{get:function(){return this.XVV},set:function(t){y(t)&&(this.XVV=l(t,0,1))},enumerable:!1,configurable:!0}),t.prototype.clearBiLevel=function(){this.XVV=s},Object.defineProperty(t.prototype,"duotone",{get:function(){return this.YVV},enumerable:!1,configurable:!0}),t.prototype.createDuotoneIfNotExist=function(){var t=this;t.YVV||(t.YVV={color1:new i.ColorFormat(this.ytV),color2:new i.ColorFormat(this.ytV)})},t.prototype.clearDuotone=function(){this.YVV=s},t.prototype.FromOOModel=function(t){if(t){var V=this;V.psV(t.blipBlob),V.wsV(t)}},t.prototype.psV=function(t){var V=this;t&&(V.SVV=t.blob,V._ln=t.src?t.src:V.SVV)},t.prototype.wsV=function(t){var V,n=this,i=t.alphaModFix,e=t.lum;i&&(n.aft=1-i.amt/o),t.biLevel&&(n.XVV=t.biLevel.thresh/o),(V=t.duotone)&&V.length>=2&&(n.createDuotoneIfNotExist(),n.duotone.color1.FromOOModel(V[0]),n.duotone.color2.FromOOModel(V[1])),t.grayscl&&(n._VV=!0),e&&(n.oft=e.bright/o,n.T1t=e.contrast/o)},t.prototype.FromSJSOOModel=function(t){var V,n,i,r,c,s,d,a,h,u,x;t&&(V=this,(n=t.blipBlob)&&(V.SVV=n.blob,V._ln=V.SVV),(i=t.lossless)&&i.src&&(V._ln=i.src),(r=t.alphaModFix)&&(c=(0,e.getAttributeValueOrDefaultOfIntType)(r.amt,o),V.aft=1-c/o),(s=t.biLevel)&&(d=(0,e.getAttributeValueOrDefaultOfIntType)(s.thresh,0),V.XVV=d/o),(a=t.duotone&&t.duotone.c_)&&a.length>=2&&(V.createDuotoneIfNotExist(),V.duotone.color1.FromSJSOOModel(a[0]),V.duotone.color2.FromSJSOOModel(a[1])),t.grayscl&&(V._VV=!0),(h=t.lum)&&(u=(0,e.getAttributeValueOrDefaultOfIntType)(h.bright,0),x=(0,e.getAttributeValueOrDefaultOfIntType)(h.contrast,0),V.oft=u/o,V.T1t=x/o))},t.prototype.ToOOModel=function(){var t=this,V={blipBlob:t.vsV()};return t.jsV(V),V},t.prototype.vsV=function(){var t=this,V={},n=t.SVV,i=t._ln;return V.blob=n,i!==n&&(V.src=i),V},t.prototype.jsV=function(t){var V,n=this;return t=t||{},(V=n.aft)!==c&&(t.alphaModFix={amt:d((1-V)*o)}),n.biLevel!==s&&(t.biLevel={thresh:d(n.biLevel*o)}),n.duotone!==s&&(t.duotone=[n.duotone.color1.ToOOModel(),n.duotone.color2.ToOOModel()]),n.grayscale&&(t.grayscl=!0),0===n.oft&&0===n.T1t||(t.lum={bright:d(n.oft*o),contrast:d(n.T1t*o)}),t},t.prototype.ToSJSOOModel=function(){var t,V,n,i=this,r={r_:[8]},a=i.SVV;return r.blipBlob={blob:a},i._ln!==a&&(r.lossless={src:i._ln}),(t=i.aft)!==c&&(r.alphaModFix={amt:d((1-t)*o)}),(V=i.biLevel)!==s&&(r.biLevel={thresh:d(V*o)}),(n=i.duotone)!==s&&(r.duotone={n_:"duotone",c_:[(0,e.toSJSColorNode)(n.color1),(0,e.toSJSColorNode)(n.color2)]}),i.grayscale&&(r.grayscl={}),0===i.oft&&0===i.T1t||(r.lum={bright:d(i.oft*o),contrast:d(i.T1t*o)}),r},t}(),h=function(){function t(t){this.ytV=t,this.EVV=new a(t),this.D1t={left:0,right:0,top:0,bottom:0}}return Object.defineProperty(t.prototype,"blip",{get:function(){return this.EVV},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"crop",{get:function(){return this.D1t},set:function(t){var V=this;V.D1t={left:0,right:0,top:0,bottom:0},y(t&&t.left)&&(V.D1t.left=t.left),y(t&&t.right)&&(V.D1t.right=t.right),y(t&&t.top)&&(V.D1t.top=t.top),y(t&&t.bottom)&&(V.D1t.bottom=t.bottom)},enumerable:!1,configurable:!0}),t.prototype.FromOOModel=function(t){var V=this;V.EVV.FromOOModel(t&&t.blip),V.FromSrcRect(t&&t.srcRect)},t.prototype.FromSJSOOModel=function(t){var V=this;V.EVV.FromSJSOOModel(t&&t.blip),V.FromSJSSrcRect(t&&t.srcRect)},t.prototype.ToOOModel=function(t){var V=this,n=V.EVV.ToOOModel(),i=V.ToSrcRect();return{blip:n,srcRect:i,stretch:{fillRect:{}}}},t.prototype.ToSJSOOModel=function(){var t=this,V=t.EVV.ToSJSOOModel(),n=t.ToSJSSrcRect();return{blip:V,srcRect:n,stretch:{}}},t.prototype.FromSrcRect=function(t){var V=this.D1t;t=t||{l:0,r:0,t:0,b:0},V.left=t.l/r,V.right=t.r/r,V.top=t.t/r,V.bottom=t.b/r},t.prototype.FromSJSSrcRect=function(t){var V=this.D1t;t=t||{l:0,r:0,t:0,b:0},V.left=(0,e.getAttributeValueOrDefaultOfIntType)(t.l,0)/r,V.right=(0,e.getAttributeValueOrDefaultOfIntType)(t.r,0)/r,V.top=(0,e.getAttributeValueOrDefaultOfIntType)(t.t,0)/r,V.bottom=(0,e.getAttributeValueOrDefaultOfIntType)(t.b,0)/r},t.prototype.ToSrcRect=function(){var t=this.D1t;return{l:d(t.left*r),r:d(t.right*r),t:d(t.top*r),b:d(t.bottom*r)}},t.prototype.ToSJSSrcRect=function(){return this.ToSrcRect()},t}(),u=function(t){function V(V,n,e,r,c,o,s){var d,a=t.call(this,V,n,r,c,o,s)||this;return a.ttV=5,(d=a).FVV=new h(d),d.AutoShapeType=i.AutoShapeType.rectangle,d.InitShapeFormat(),a}return x(V,t),Object.defineProperty(V.prototype,"blipFill",{get:function(){return this.FVV},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"blip",{get:function(){return this.FVV.EVV},enumerable:!1,configurable:!0}),V.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat()},V.prototype.InitFillFormat=function(){var t;this.Fill.Color.ColorType=0},V.prototype.InitLineFormat=function(){var t;this.Line.Color.ColorType=0},V.prototype.FromOOModel=function(V){var n=this;t.prototype.FromOOModel.call(this,V),n.FromCT_ShapeBase(V.pic),!1===V.isVisible&&(n._hidden=!0)},V.prototype.FromSJSOOModel=function(V,n){var i=this;t.prototype.FromSJSOOModel.call(this,V,n),i.FromSJSCT_ShapeBase(V)},V.prototype.ToOOModel=function(V,n){var i=this,e=t.prototype.ToOOModel.call(this,V);return e.pic=i.ToCT_ShapeBase(V,n),e},V.prototype.ToSJSOOModel=function(V,n){t.prototype.ToSJSOOModel.call(this,V,n),V.pic=this.ToSJSCT_ShapeBase()},V.prototype.FromCT_ShapeBase=function(t){if(t){var V=this;V.otV=t,V.FromCT_PicNonVisual(t.nvPicPr),V.FromCT_ShapeProperties(t.spPr),V.FVV.FromOOModel(t.blipFill)}},V.prototype.FromSJSCT_ShapeBase=function(t){if(t){var V=this;V.FromSJSCT_PicNonVisual(t.nvPicPr),V.stV(t.spPr),V.FVV.FromSJSOOModel(t.blipFill)}},V.prototype.ToCT_ShapeBase=function(t,V){var n,e=this;return(n=(t=!1!==t)&&e.otV||{shapeType:1}).nvPicPr=e.ToCT_PicNonVisual(t,V),n.spPr=e.ToCT_ShapeProperties(i.ShapeUtility.ToST_ShapeType(e.AutoShapeType),n.spPr||{},!0,t),n.blipFill=e.FVV.ToOOModel(t),n},V.prototype.ToSJSCT_ShapeBase=function(){var t=this,V={};return V.nvPicPr=t.ToSJSCT_PicNonVisual(),V.blipFill=t.FVV.ToSJSOOModel(),V.spPr=t.ToSJSCT_ShapeProperties(i.ShapeUtility.ToST_ShapeType(t.AutoShapeType),!0),V},V.prototype.FromCT_PicNonVisual=function(t){t&&(this.FromCT_NonVisualDrawingProps(t.cNvPr),this.FromCT_NonVisualDrawingPicProps(t.cNvPicPr))},V.prototype.FromSJSCT_PicNonVisual=function(t){t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),this.FromSJSCT_NonVisualDrawingPicProps(t.cNvPicPr))},V.prototype.ToCT_PicNonVisual=function(t,V){var n=this,i=n.otV,e=!1!==t&&i&&i.nvPicPr||{},r=e.cNvPr||{};return e.cNvPr=n.ToCT_NonVisualDrawingProps(r,V),e.cNvPicPr=n.ToCT_NonVisualDrawingPicProps(e.cNvPicPr||{}),e},V.prototype.ToSJSCT_PicNonVisual=function(){var t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvPicPr=t.ToSJSCT_NonVisualDrawingPicProps(),V},V.prototype.FromCT_NonVisualDrawingPicProps=function(t){this.FromAG_Locking(t&&t.picLocks)},V.prototype.FromSJSCT_NonVisualDrawingPicProps=function(t){this.FromSJSAG_Locking(t&&t.picLocks)},V.prototype.ToCT_NonVisualDrawingPicProps=function(t){return t.picLocks=this.ToAG_Locking(t.picLocks||{}),t},V.prototype.ToSJSCT_NonVisualDrawingPicProps=function(){return{picLocks:this.ToSJSAG_Locking({})}},V}(e.ShapeBaseData),V.PictureShapeData=u},"./dist/plugins/shape/pictureShapeView.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L=this&&this.qKr||(m=function(t,V){return m=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])},m(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}m(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),m;Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShape=void 0,i=n("Common"),e=n("Core"),r=n("./dist/plugins/shape/drawingInterface.js"),c=n("./dist/plugins/shape/shape.interface.js"),o=n("./dist/plugins/shape/pictureShape.js"),s=n("./dist/plugins/shape/ui/util.js"),d=n("./dist/plugins/shape/shapeView.js"),a=n("./dist/plugins/shape/util/viewUtil.js"),h=n("./dist/plugins/shape/shapeStyleView.js"),u=i.Common.lt,x=u.ht,f=e.WAe.loadBase64ImageByUrl,y=r.ShapeUtility.getColorInfo,l=r.ShapeUtility.syncShapeOptions,g=r.ShapeUtility.syncShapeAdjustValues,A=void 0,p="src",v="rotate",w="angle",j="style",b=function(t){function V(V,n,i,e,r,s,d){var a,h,u=t.call(this)||this;return u.ttV=1,(a=u).Mf=V,h=n&&V.eeV(n)||V.eeV("Picture ",!0),a.ytV=new o.PictureShapeData(V,h,A,e||0,r||0,s||200,d||160),a.IiV=x(s)&&x(d),a.yiV=c.ResizeMode.aspect,a.ytV.noChangeAspect=!0,a.RiV=!0,i!==A&&a.tnV(),delete a.RiV,a.MiV(i),u}return L(V,t),V.prototype.rotate=function(t){var V=this;if((0,a.noArguments)(arguments))return V.ytV.Rotation;(0,a.rotateImp)(V,t)},V.prototype.style=function(t){var V,n,i,e=this;if((0,a.noArguments)(arguments))return e.getStyle(!0,!1);V=e.style(),e.DT("style",t,V),(n=t.fill)&&((0,a.adjustTransparentColor)(n),e.VeV(n)),(i=t.line)&&((0,a.adjustTransparentColor)(i),e.j0V(i)),e.enV("style",V),e.refresh()},V.prototype.getStyle=function(t,V){var 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},V.prototype.src=function(t){var V,n=this;if((0,a.noArguments)(arguments))return n.ytV.blip.src;V=n.src(),n.DT("src",t,V),(0,a.isFormula)(t)?t!==n.getFormula(p)&&(n.MiV(""),(0,a.setFormula)(n,p,t)):((0,a.removeFormula)(n,p),n.MiV(t)),n.enV("src",V)},V.prototype.getBase64Image=function(){var t=this,V=t.ytV.blip.base64Image;return!V&&t.ctV&&(V=t.ctV.getBase64Image()),V},V.prototype.MiV=function(t){var V,n=this,i=n.ytV.blip,e=i.src;t!==e&&(V=n.AsV("pictureSource"),i.src=t,s.Common.isBase64ImageStr(t)?n.X0V(t):(0,s.isSparkLineValue)(t)?n.X0V(A):(0,a.isUrl)(t)?(n.X0V(A),f(t,(function(V){n.crV(t,V)}))):(i.src="",n.X0V(A)),n.usV("pictureSource",{changingContext:V}),n.rrV(),n.refresh())},V.prototype.crV=function(t,V){var n=this;n.src()===t&&(n.X0V(V),n.rrV(),n.refresh())},V.prototype.X0V=function(t){var V=this;V.hvt=A,V.dvt=A,V.ytV.blip.base64Image=t,t&&s.Common.getBase64ImageSize(t,V.Y0V.bind(V))},V.prototype.pictureFormat=function(t){var V,n,i,e,r,c,o,s,d,h,u=this,f=u.ytV.blipFill,l=u.ytV.blip;if((0,a.noArguments)(arguments))return{transparency:l.transparency,crop:JSON.parse(JSON.stringify(f.crop)),brightness:l.brightness,contrast:l.contrast,grayscale:l.grayscale,blackAndWhite:l.biLevel,duotone:l.duotone&&{color1:y({Color:l.duotone.color1}).color,color2:y({Color:l.duotone.color2}).color}};V=u.pictureFormat(),u.DT("pictureFormat",t),n=u.AsV("pictureEffects"),i=t&&t.transparency,e=t&&t.crop,r=t&&t.brightness,c=t&&t.contrast,o=t&&t.grayscale,s=t&&t.blackAndWhite,d=t&&t.duotone,l.transparency=i||0,l.brightness=r||0,l.contrast=c||0,l.grayscale=!1,l.clearBiLevel(),l.clearDuotone(),o?l.grayscale=o:x(s)?x(d)||(l.createDuotoneIfNotExist(),l.duotone.color1.setColor(u.Mf,d.color1),l.duotone.color2.setColor(u.Mf,d.color2)):l.biLevel=s,u.usV("pictureEffects",{changingContext:n}),h=u.AsV("pictureCrop"),f.crop=e,u.usV("pictureCrop",{changingContext:h}),u.drV(),u.enV("pictureFormat",V),u.refresh()},V.prototype.getOriginalWidth=function(){return this.hvt},V.prototype.getOriginalHeight=function(){return this.dvt},V.prototype.Y0V=function(t,V){var n,i=this;i.Mf&&i.Mf.xT||(n={originWidth:i.hvt,height:i.dvt},i.hvt=t,i.dvt=V,i.IiV&&(i.width(i.hvt),i.height(i.dvt),i.IiV=!1),i.enV("originalSize",n))},V.prototype.geometryType=function(t){var V,n=this,i=n.ytV,e=i.AutoShapeType;if((0,a.noArguments)(arguments))return e;t!==e&&(n.DT("geometryType",t),V=n.AsV("presetGeometry"),i.AutoShapeType=t,n.usV("presetGeometry",{changingContext:V}),n.enV("geometryType",e),t&&n.tnV(),n.GiV(),n.refresh())},V.prototype.adjustments=function(t){var V=this;if((0,a.noArguments)(arguments))return(0,a.getShapeAdjustments)(V);V.ndV((0,a.convertArrayValueToAdjustmentValue)(V.ytV,t))},V.prototype.VrV=function(t){this.MiV(t)},V.prototype.type=function(){return this.geometryType()},V.prototype.preProcessShapeDataFromJson=function(V){t.prototype.preProcessShapeDataFromJson.call(this,V),this.IiV=!1},V.prototype.EiV=function(V,n){t.prototype.EiV.call(this,V,n),this.IiV=!1},V.prototype.postProcessShapeDataToJson=function(V,n,i,e){t.prototype.postProcessShapeDataToJson.call(this,V,n,i,e),(0,a.processShapeEmptyBlipBlobWhenToJson)(this,n?V:V.shapeData.pic)},V.prototype.XiV=function(V,n,i,e,r){t.prototype.XiV.call(this,V,n,i,e,r),(0,a.processShapeEmptyBlipBlobWhenToJson)(this,V.pic)},V.prototype.postProcessShapeDataFromJson=function(V){var n,i;t.prototype.postProcessShapeDataFromJson.call(this,V),(i=(n=this).ytV.blip.base64Image)&&s.Common.getBase64ImageSize(i,n.Y0V.bind(n))},V.prototype.tnV=function(){var t,V,n,i,e,r,c,o=this,s=o.Mf,d=s.zoom();o.RiV=!0,o.VnV=!0,V=(t=o.ytV).ntV,n=s.shapeLayers[0],(i=o.aiV)||(e=(0,a.getBuiltInShapeModelWhenInit)(t,V,d)),r=(0,a.removeOldShapeUIWhenInitShapeUI)(o,n),l(e,t,n,i),c=n.createPictureShape(e),g(c,t),c.ttV=5,c.getShapeCenter(),c.hyperlink=t.ku,o.ZnV(c.id),t.ltV&&(o.flipX=!0),t.gtV&&(o.flipY=!0),(0,a.addNewShapeUIWhenInitShapeUI)(o,c,n,r),delete o.VnV,delete o.RiV,o.T0V()},V.prototype.QiV=function(t){var V=this;return t===p?(0,a.getFormula)(V,p):t===v?(0,a.getFormula)(V,w):t.substr(0,5)===j?(0,a.getStyleFormula)(V,t,!1):""},V.prototype.ziV=function(t,V){var n=this;t===p?n.src(V):t===v?n.rotate(V):t.substring(0,5)===j&&(0,a.setStyleFormula)(n,t,V,!1)},V.prototype.rsV=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,p,t.src))},V.prototype.T0V=function(){var t=this;t.rrV(),t.drV()},V.prototype.rrV=function(){var t,V,n=this;n.ctV&&(t=n.ytV.blip,V=(0,s.isSparkLineValue)(t.src)?t.src:t.base64Image,n.ctV.src(V))},V.prototype.drV=function(){var t=this;t.ctV&&t.ctV.pictureFormat(t.pictureFormat())},V.prototype.WiV=function(t){return new V(t)},V.prototype.OiV=function(t){return t.nvPicPr.cNvPr},V.prototype.DiV=function(t){return t.pic},V.prototype.urV=function(){t.prototype.urV.call(this);var V=this;(0,s.isImageSparkLineValue)(V.src())&&V.ctV&&V.ctV.yrV()},V}(d.ShapeBase),V.PictureShape=b},"./dist/plugins/shape/presetShapeModels.js":function(t,V){var n,i,e,r,c,o,s,d,a,h,u,x,f,y,l,g;Object.defineProperty(V,"__esModule",{value:!0}),V.TVV=void 0,g={none:{variables:{l:0,t:0,r:n="=width",b:i="=height"},connectionPoints:[{x:0,y:0},{x:n,y:i}],path:[[["M",0,0],["L",n,i],{}]]},line:{variables:{l:0,t:0,r:n,b:i},connectionPoints:[{x:0,y:0},{x:n,y:i}],path:[[["M",0,0],["L",n,i],{fillMode:"none"}]]},rectangle:{variables:{hc:y="=width/2",t:0,l:0,vc:l="=height/2",b:i,r:n},connectionPoints:[{x:r="=V.hc",y:0},{x:0,y:c="=V.vc"},{x:r,y:i},{x:n,y:c}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}]]},parallelogram:{variables:{adj:25e3,ss:e="=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:n,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:i,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:l,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:r,y:a="=V.y2"},{x:"=V.x4",y:0},{x:"=V.x6",y:c},{x:"=V.x3",y:i},{x:r,y:d="=V.y1"},{x:o="=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,i],["L",s,0],["L",n,0],["L","=V.x5",i],["Z"],{}]],textRect:{left:"=V._il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},trapezoid:{variables:{adj:25e3,ss:e,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:n,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:l,b:i,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:r,y:0},{x:o,y:c},{x:r,y:i},{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,i],["L",s,0],["L","=V.x3",0],["L",n,i],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:i}},diamond:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,l:0,vc:l,b:i,r:n,wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,c],["L",r,0],["L",n,c],["L",r,i],["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:e,x1:"=V.ss * V.a / 100000",r:n,x2:"=width - V.x1",b:i,y2:"=height - V.x1",il:"=V.x1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:l,cd2:u=108e5,cd4:x=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:f=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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,o],["E","=V.cx1","=V.cy1",o,o,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",o,o,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,a],["E","=V.cx3","=V.cy3",o,o,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",o,i],["E","=V.cx4","=V.cy4",o,o,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:e,x1:"=V.ss * V.a / 100000",r:n,x2:"=width - V.x1",b:i,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:n,y:o},{x:n,y:a},{x:s,y:i},{x:o,y:i},{x:0,y:a},{x:0,y:o},{x:o,y:0},{x:s,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,o],["L",o,0],["L",s,0],["L",n,o],["L",n,a],["L",s,i],["L",o,i],["L",0,a],["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:l,l:0,b:i,r:n},adjustInfo:[["adj",5e4]],connectionPoints:[{x:s,y:0},{x:o,y:c},{x:0,y:i},{x:s,y:i},{x:n,y:i},{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,i],["L",s,0],["L",n,i],["Z"],{}]],textRect:{left:o,top:c,right:"=V.x3",bottom:i}},rightTriangle:{variables:{it:"=height * 7 / 12",ir:"=width * 7 / 12",ib:"=height * 11 / 12",l:0,t:0,vc:l,b:i,hc:y,r:n,wd12:"=width/12"},connectionPoints:[{x:0,y:0},{x:0,y:c},{x:0,y:i},{x:r,y:i},{x:n,y:i},{x:r,y:c}],path:[[["M",0,i],["L",0,0],["L",n,i],["Z"],{}]],textRect:{left:"=V.wd12",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},oval:{variables:{wd2:y,d2r:h=3437746.770784939,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:l,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:i,r:n,cd2:u,cd4:x,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:f,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:r,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,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:e,maxAdj:"=50000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",hd2:l,shd2:"=V.hd2 * V.vf / 100000",x1:"=V.ss * V.a / 100000",r:n,x2:"=width - V.x1",d2r:h,dy1:"=V.shd2 * SIN(3600000 / V.d2r)",vc:l,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:i,ib:"=height - V.it",l:0,t:0},adjustInfo:[["adj",25e3],["vf",115470]],connectionPoints:[{x:n,y:c},{x:s,y:a},{x:o,y:a},{x:0,y:c},{x:o,y:d},{x:s,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,c],["L",o,d],["L",s,d],["L",n,c],["L",s,a],["L",o,a],["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:e,x1:"=V.ss * V.a / 100000",r:n,x2:"=width - V.x1",b:i,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:l},adjustInfo:[["adj",25e3]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,o],["L",o,o],["L",o,0],["L",s,0],["L",s,o],["L",n,o],["L",n,a],["L",s,a],["L",s,i],["L",o,i],["L",o,a],["L",0,a],["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:l,shd2:"=V.hd2 * V.vf / 100000",vc:l,svc:"=V.vc * V.vf / 100000",d2r:h,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:i},adjustInfo:[["hf",105146],["vf",110557]],connectionPoints:[{x:r,y:0},{x:o,y:d},{x:s,y:a},{x:r,y:i},{x:"=V.x3",y:a},{x:"=V.x4",y:d}],path:[[["M",o,d],["L",r,0],["L","=V.x4",d],["L","=V.x3",a],["L",s,a],["Z"],{}]],textRect:{left:s,top:"=V.it",right:"=V.x3",bottom:a}},can:{variables:{adj:25e3,ss:e,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:i,y3:"=height - V.y1",hc:y,t:0,l:0,vc:l,r:n,wd2:y,cd2:u,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:r,y:a},{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"hc",y:"y2"},point:[r,a]}],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",n,"=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",n,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",n,"=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:a,right:n,bottom:"=V.y3"}},cube:{variables:{adj:25e3,a:"=MIN(MAX(0, V.adj), 100000)",ss:e,y1:"=V.ss * V.a / 100000",b:i,y4:"=height - V.y1",y2:"=V.y4 / 2",y3:"=(V.y1 + V.b) / 2",r:n,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:i},{x:"=V.x4",y:"=V.y3"},{x:n,y:a}],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",i],["L",0,i],["Z"],{strokeMode:"false"}],[["M","=V.x4",d],["L",n,0],["L",n,"=V.y4"],["L","=V.x4",i],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,d],["L",d,0],["L",n,0],["L","=V.x4",d],["Z"],{fillMode:"lightenLess",strokeMode:"false"}],[["M",0,d],["L",d,0],["L",n,0],["L",n,"=V.y4"],["L","=V.x4",i],["L",0,i],["Z"],["M",0,d],["L","=V.x4",d],["L",n,0],["M","=V.x4",d],["L","=V.x4",i],{fillMode:"none"}]],textRect:{left:0,top:d,right:"=V.x4",bottom:i}},bevel:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 50000)",ss:e,x1:"=V.ss * V.a / 100000",r:n,x2:"=width - V.x1",b:i,y2:"=height - V.x1",vc:l,hc:y,l:0,t:0},adjustInfo:[["adj",12500]],connectionPoints:[{x:n,y:c},{x:s,y:c},{x:r,y:i},{x:r,y:a},{x:0,y:c},{x:o,y:c},{x:r,y:0},{x:r,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",o,o],["L",s,o],["L",s,a],["L",o,a],["Z"],{strokeMode:"false"}],[["M",0,0],["L",n,0],["L",s,o],["L",o,o],["Z"],{fillMode:"lightenLess",strokeMode:"false"}],[["M",0,i],["L",o,a],["L",s,a],["L",n,i],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,0],["L",o,o],["L",o,a],["L",0,i],["Z"],{fillMode:"lighten",strokeMode:"false"}],[["M",n,0],["L",n,i],["L",s,a],["L",s,o],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],["M",o,o],["L",s,o],["L",s,a],["L",o,a],["Z"],["M",0,0],["L",o,o],["M",0,i],["L",o,a],["M",n,0],["L",s,o],["M",n,i],["L",s,a],{fillMode:"none"}]],textRect:{left:o,top:o,right:s,bottom:a}},foldedCorner:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:e,dy2:"=V.ss * V.a / 100000",dy1:"=V.dy2 / 5",r:n,x1:"=width - V.dy2",x2:"=V.x1 + V.dy1",b:i,y2:"=height - V.dy2",y1:"=V.y2 + V.dy1",hc:y,t:0,l:0,vc:l},adjustInfo:[["adj",16667]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"b"},point:[o,i]}],path:[[["M",0,0],["L",n,0],["L",n,a],["L",o,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,i],["L",s,d],["L",n,a],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",o,i],["L",s,d],["L",n,a],["L",o,i],["L",0,i],["L",0,0],["L",n,0],["L",n,a],{fillMode:"none"}]],textRect:{left:0,top:0,right:n,bottom:a}},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:h,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:l,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",wR:"=width * 1125 / 21600",hR:"=height * 1125 / 21600",t:0,l:0,b:i,r:n,cd2: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.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:r,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,y:c},{x:"=V.ir",y:"=V.it"}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:-4653,maxY:4653,position:{x:"hc",y:"y4"},point:[r,"=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",o,a],["Q",r,"=V.y5","=V.x4",a],{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:e,dr:"=V.ss * V.a / 100000",wd2:y,iwd2:"=V.wd2 - V.dr",hd2:l,ihd2:"=V.hd2 - V.dr",d2r:h,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:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:i,r:n,cd2:u,cd4:x,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:f,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:r,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,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:e,dr:"=V.ss * V.a / 100000",wd2:y,iwd2:"=V.wd2 - V.dr",hd2:l,ihd2:"=V.hd2 - V.dr",d2r:h,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:u,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:l,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:i,r:n,cd4:x,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:f,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:r,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,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",o,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,a],["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:u,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:h,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:l,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:l,y1:"=V.vc + V.dy1",x3:"=V.hc + V.dx3",y3:"=V.vc + V.dy3",ss:e,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:n,ir:"=IF(V.da1 > 0, V.r, V.g3)",cd4:x,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:i,ib:"=IF(V.da2 > 0, V.b, V.g7)",cd2:u,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:f,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:r,y:c}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahPolar",gdRefR:"adj3",minR:0,maxR:5e4,gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",o,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,a],["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:i},connectionPoints:[{x:r,y:"=V.hd4"},{x:r,y:i}],path:[[["M",r,"=V.hd4"],["B","=V.x3",d,"=V.x4","=V.hd4",r,i],["B",o,"=V.hd4",s,d,r,"=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:n,b:i,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:"=V.x3",y:0},{x:0,y:d},{x:o,y:"=V.y6"},{x:"=V.x5",y:"=V.y11"},{x:n,y:i},{x:"=V.x11",y:"=V.y7"},{x:"=V.x8",y:a}],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",n,i],["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:l,b:i,r:n,cd2:u,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:12500,maxX:46875,position:{x:"x19",y:"vc"},point:["=V.x19",c]}],path:[[["M",n,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",r,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",r,i],["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:e,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:l,dy1:"=V.g8 * V.hd2 / V.ss",vc:l,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:h,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:n,t:0,l:0,b:i,cd4:x,cd2:u,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:n,y:0},{x:0,y:c},{x:n,y:i},{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",n,i],["E","=V.cx1","=V.cy1",n,"=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:f,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:h,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:l,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:l,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:n,ir:"=IF(V.da1 > 0, V.r, V.g1)",cd4:x,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:i,ib:"=IF(V.da2 > 0, V.b, V.g5)",cd2:u,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:f,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:o,y:d},{x:r,y:c},{x:s,y:a}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",o,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",r,c],["Z"],{strokeMode:"false"}],[["M",o,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:e,x1:"=V.ss * V.a / 100000",r:n,x2:"=width - V.x1",b:i,y2:"=height - V.x1",il:"=V.x1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:l,cd2:u,cd4:x,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:f,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"l",y:"x1"},point:[0,o]}],path:[[["M",0,o],["E","=V.cx1","=V.cy1",o,o,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",o,o,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,a],["E","=V.cx3","=V.cy3",o,o,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",o,i],["E","=V.cx4","=V.cy4",o,o,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",o,i],["E","=V.cx5","=V.cy5",o,o,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,o],["E","=V.cx6","=V.cy6",o,o,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",o,o,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,a],["E","=V.cx8","=V.cy8",o,o,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:e,x1:"=V.ss * V.a / 100000",x2:"=V.ss * V.a / 50000",r:n,x3:"=width - V.x2",x4:"=width - V.x1",vc:l,y2:"=V.vc - V.x1",y3:"=V.vc + V.x1",b:i,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:x,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:u,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:f,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:25e3,position:{x:"l",y:"x1"},point:[0,o]}],path:[[["M",s,i],["E","=V.cx1","=V.cy1",o,o,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",o,"=V.y3"],["E","=V.cx2","=V.cy2",o,o,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3",o,o,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",o,o],["E","=V.cx4","=V.cy4",o,o,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",o,o,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",a],["E","=V.cx6","=V.cy6",o,o,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",o,o,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",o,o,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,i],["E","=V.cx9","=V.cy9",o,o,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",o,"=V.y3"],["E","=V.cx10","=V.cy10",o,o,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx11","=V.cy11",o,o,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",o,o],["E","=V.cx12","=V.cy12",o,o,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",o,o,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",a],["E","=V.cx14","=V.cy14",o,o,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",o,o,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",o,o,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:e,x1:"=V.ss * V.a / 100000",r:n,x2:"=width - V.x1",b:i,y2:"=height - V.x1",il:"=V.x1 * 70711 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:l,cd4:x,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:u,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:f,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,o],["E","=V.cx1","=V.cy1",o,o,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",o,o,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",n,a],["E","=V.cx3","=V.cy3",o,o,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",o,i],["E","=V.cx4","=V.cy4",o,o,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:e,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 100000",b:i,y2:"=height - V.y1",d2r:h,dx1:"=width * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",r:n,il:"=width - V.dx1",it:"=V.y1 - V.dy1",ib:"=height + V.dy1 - V.y1",t:0,l:0,vc:l,cd4:x,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:u,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:n,y:0},{x:0,y:c},{x:n,y:i}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",n,i],["E","=V.cx1","=V.cy1",n,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",n,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",n,i],["E","=V.cx3","=V.cy3",n,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",n,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:n,bottom:"=V.ib"}},rightBracket:{variables:{adj:8333,ss:e,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 100000",b:i,y2:"=height - V.y1",d2r:h,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:n,vc:l,_3cd4:f,cd4:x,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:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"r",y:"y1"},point:[n,d]}],path:[[["M",0,0],["E","=V.cx1","=V.cy1",n,d,0,"=A(width,V.y1,V._3cd4)","=A(width,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,a],["E","=V.cx2","=V.cy2",n,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",n,d,0,"=A(width,V.y1,V._3cd4)","=A(width,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,a],["E","=V.cx4","=V.cy4",n,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:e,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:h,dx1:"=V.wd2 * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",r:n,il:"=width - V.dx1",it:"=V.y1 - V.dy1",b:i,ib:"=height + V.dy1 - V.y1",t:0,l:0,hc:y,cd4:x,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:u,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:n,y:0},{x:0,y:"=V.y3"},{x:n,y:i}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"hc",y:"y1"},point:[r,d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:1e5,position:{x:"l",y:"y3"},point:[0,"=V.y3"]}],path:[[["M",n,i],["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",r,"=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",r,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",n,i],["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",r,"=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",r,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:n,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:e,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:i,y4:"=height - V.y1",wd2:y,d2r:h,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:n,hc:y,_3cd4:f,cd4:x,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:u,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:n,y:"=V.y3"},{x:0,y:i}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"hc",y:"y1"},point:[r,d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:1e5,position:{x:"r",y:"y3"},point:[n,"=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",r,a],["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",r,"=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",r,a],["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",r,"=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:e,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:n,x1:"=width - V.dx1",dy1:"=height * V.a1 / 200000",vc:l,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:l,dx2:"=V.y1 * V.dx1 / V.hd2",x2:"=V.x1 + V.dx2",t:0,l:0,b:i},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:o,y:0},{x:0,y:c},{x:o,y:i},{x:n,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:[o,0]}],path:[[["M",0,d],["L",o,d],["L",o,0],["L",n,c],["L",o,i],["L",o,a],["L",0,a],["Z"],{}]],textRect:{left:0,top:d,right:s,bottom:a}},leftArrow:{variables:{adj1:5e4,adj2:5e4,ss:e,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:l,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:l,dx1:"=V.y1 * V.dx2 / V.hd2",x1:"=V.x2 - V.dx1",t:0,b:i,r:n},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:s,y:0},{x:0,y:c},{x:s,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"r",y:"y1"},point:[n,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",n,d],["L",n,a],["L",s,a],["L",s,i],["Z"],{}]],textRect:{left:o,top:d,right:n,bottom:a}},upArrow:{variables:{adj1:5e4,adj2:5e4,ss:e,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:i,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:n},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:r,y:0},{x:0,y:d},{x:r,y:i},{x:n,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"b"},point:[o,i]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",0,d],["L",r,0],["L",n,d],["L",s,d],["L",s,i],["L",o,i],["L",o,d],["Z"],{}]],textRect:{left:o,top:0,right:s,bottom:a}},downArrow:{variables:{adj1:5e4,adj2:5e4,ss:e,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:i,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:n},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:r,y:0},{x:0,y:d},{x:r,y:i},{x:n,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"t"},point:[o,0]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",0,d],["L",o,d],["L",o,0],["L",s,0],["L",s,d],["L",n,d],["L",r,i],["Z"],{}]],textRect:{left:o,top:0,right:s,bottom:a}},leftRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:e,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:n,x3:"=width - V.x2",dy:"=height * V.a1 / 200000",vc:l,y1:"=V.vc - V.dy",y2:"=V.vc + V.dy",hd2:l,dx1:"=V.y1 * V.x2 / V.hd2",x1:"=V.x2 - V.dx1",x4:"=V.x3 + V.dx1",b:i,l:0,t:0},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:n,y:c},{x:"=V.x3",y:i},{x:s,y:i},{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",n,c],["L","=V.x3",i],["L","=V.x3",a],["L",s,a],["L",s,i],["Z"],{}]],textRect:{left:o,top:d,right:"=V.x4",bottom:a}},upDownArrow:{variables:{adj1:5e4,adj2:5e4,ss:e,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:i,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:l,r:n},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:r,y:0},{x:0,y:a},{x:o,y:c},{x:0,y:"=V.y3"},{x:r,y:i},{x:n,y:"=V.y3"},{x:s,y:c},{x:n,y:a}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"y3"},point:[o,"=V.y3"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y2"},point:[0,a]}],path:[[["M",0,a],["L",r,0],["L",n,a],["L",s,a],["L",s,"=V.y3"],["L",n,"=V.y3"],["L",r,i],["L",0,"=V.y3"],["L",o,"=V.y3"],["L",o,a],["Z"],{}]],textRect:{left:o,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:e,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:n,x6:"=width - V.x1",vc:l,y2:"=V.vc - V.dx2",y5:"=V.vc + V.dx2",y3:"=V.vc - V.dx3",y4:"=V.vc + V.dx3",b:i,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x3",y:"x1"},point:["=V.x3",o]},{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:[n,o]}],path:[[["M",0,c],["L",o,a],["L",o,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",o],["L",s,o],["L",r,0],["L","=V.x5",o],["L","=V.x4",o],["L","=V.x4","=V.y3"],["L","=V.x6","=V.y3"],["L","=V.x6",a],["L",n,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",r,i],["L",s,"=V.y6"],["L","=V.x3","=V.y6"],["L","=V.x3","=V.y4"],["L",o,"=V.y4"],["L",o,"=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:e,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:n,x6:"=width - V.x1",dy2:"=V.ss * V.a2 / 50000",b:i,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:r,y:0},{x:0,y:"=V.y4"},{x:r,y:"=V.y5"},{x:n,y:"=V.y4"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x3",y:"x1"},point:["=V.x3",o]},{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:[n,o]}],path:[[["M",0,"=V.y4"],["L",o,a],["L",o,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",o],["L",s,o],["L",r,0],["L","=V.x5",o],["L","=V.x4",o],["L","=V.x4","=V.y3"],["L","=V.x6","=V.y3"],["L","=V.x6",a],["L",n,"=V.y4"],["L","=V.x6",i],["L","=V.x6","=V.y5"],["L",o,"=V.y5"],["L",o,i],["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:e,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:n,bw:"=width - V.ah",b:i,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:u,cd4:x,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:f,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:i},{x:n,y:"=V.aw2"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"th",y:"b"},point:["=V.th",i]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:5e4,position:{x:"r",y:"y4"},point:[n,"=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,i],["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",n,"=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",i],["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:e,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:n,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:i,l:0,cd2:u,cd4:x,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:f,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:n,y:"=V.y4"},{x:"=V.cx",y:0},{x:"=V.th2",y:i}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"th",y:"b"},point:["=V.th",i]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:25e3,position:{x:"x6",y:"b"},point:["=V.x6",i]},{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:[n,"=V.y5"]}],path:[[["M",0,i],["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",n,"=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",i],["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:e,x1:"=V.ss * V.a3 / 100000",dx2:"=V.ss * V.a2 / 50000",r:n,x2:"=width - V.dx2",b:i,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:o},{x:o,y:a},{x:0,y:"=V.y4"},{x:o,y:i},{x:"=V.cx1",y:"=V.y5"},{x:"=V.x5",y:"=V.cy1"},{x:n,y:o}],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",o]}],path:[[["M",0,"=V.y4"],["L",o,a],["L",o,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",o],["L",s,o],["L","=V.x4",0],["L",n,o],["L","=V.x5",o],["L","=V.x5","=V.y5"],["L",o,"=V.y5"],["L",o,i],["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:e,y1:"=V.ss * V.a3 / 100000",dx1:"=V.ss * V.a2 / 50000",r:n,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:i,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:o,y:d},{x:0,y:"=V.y3"},{x:"=V.x0",y:i},{x:"=V.x4",y:"=V.y15"},{x:n,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:5e4,position:{x:"l",y:"y2"},point:[0,a]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:5e4,position:{x:"x2",y:"y1"},point:[s,d]}],path:[[["M",0,a],["L",s,a],["L",s,d],["L",o,d],["L","=V.x3",0],["L",n,d],["L","=V.x4",d],["L","=V.x4",i],["L",0,i],["Z"],{}]],textRect:{left:0,top:a,right:"=V.x4",bottom:i}},curvedRightArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:e,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:l,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:i,y6:"=height - V.aw2",r:n,x1:"=width - V.ah",d2r:h,swAng:"=(ATAN2(V.ah,V.dy) * V.d2r)",cd2:u,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:x,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:f,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:o,y:"=V.y8"},{x:n,y:"=V.y6"},{x:o,y:"=V.y4"},{x:n,y:"=V.q12"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"a2",position:{x:"x1",y:"y5"},point:[o,"=V.y5"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y4"},point:[n,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"b"},point:[o,i]}],path:[[["M",0,"=V.hR"],["E","=V.cx1","=V.cy1",n,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L",o,"=V.y4"],["L",n,"=V.y6"],["L",o,"=V.y8"],["L",o,"=V.y7"],["E","=V.cx2","=V.cy2",n,"=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",n,"=V.th"],["E","=V.cx3","=V.cy3",n,"=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",n,"=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",n,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L",o,"=V.y4"],["L",n,"=V.y6"],["L",o,"=V.y8"],["L",o,"=V.y7"],["E","=V.cx6","=V.cy6",n,"=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",n,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,"=V.th"],["E","=V.cx8","=V.cy8",n,"=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:e,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:l,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:i,y6:"=height - V.aw2",l:0,x1:"=V.ah",d2r:h,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:n,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:f,cd4:x,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:o,y:"=V.y4"},{x:0,y:"=V.y6"},{x:o,y:"=V.y8"},{x:n,y:"=V.iy"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"a2",position:{x:"x1",y:"y5"},point:[o,"=V.y5"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y4"},point:[n,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"b"},point:[o,i]}],path:[[["M",0,"=V.y6"],["L",o,"=V.y4"],["L",o,"=V.y5"],["E","=V.cx1","=V.cy1",n,"=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",n,"=V.hR",0,"=A(width,V.hR,V.stAng3)","=A(width,V.hR,(V.stAng3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["L",o,"=V.y8"],["Z"],{strokeMode:"false"}],[["M",n,"=V.y3"],["E","=V.cx3","=V.cy3",n,"=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",n,"=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",n,"=V.y3"],["E","=V.cx5","=V.cy5",n,"=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",n,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,"=V.y3"],["E","=V.cx7","=V.cy7",n,"=V.hR",0,"=A(width,V.hR,0)","=A(width,V.hR,(V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",o,"=V.y8"],["L",0,"=V.y6"],["L",o,"=V.y4"],["L",o,"=V.y5"],["E","=V.cx8","=V.cy8",n,"=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:e,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:n,x6:"=width - V.aw2",t:0,y1:"=V.ah",d2r:h,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:x,stAng3:"=V.cd4 - V.swAng",swAng3:"=V.swAng + V.dang2",stAng2:"=V.cd4 - V.dang2",b:i,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:u,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:i},{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:[n,d]}],path:[[["M","=V.x6",0],["L","=V.x8",d],["L","=V.x7",d],["E","=V.cx1","=V.cy1","=V.wR",i,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",i,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",i],["E","=V.cx3","=V.cy3","=V.wR",i,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",i,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",i,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",i,0,"=A(V.wR,height,V.stAng3)","=A(V.wR,height,(V.stAng3 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.wR",i],["E","=V.cx7","=V.cy7","=V.wR",i,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",i,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:e,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:n,x6:"=width - V.aw2",b:i,y1:"=height - V.ah",d2r:h,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:f,stAng:"=V._3cd4 + V.swAng",stAng2:"=V._3cd4 - V.dang2",cd4:x,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:u,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:i},{x:"=V.x4",y:d},{x:"=V.x6",y:i},{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",i]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[n,d]}],path:[[["M","=V.x6",i],["L","=V.x4",d],["L","=V.x5",d],["E","=V.cx1","=V.cy1","=V.wR",i,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",i,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",i,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L",0,i],["E","=V.cx4","=V.cy4","=V.wR",i,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",i,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L",0,i],["E","=V.cx6","=V.cy6","=V.wR",i,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",i,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",i],["L","=V.x4",d],["L","=V.x5",d],["E","=V.cx8","=V.cy8","=V.wR",i,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:e,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:n,x5:"=width - V.dx5",dy1:"=height * V.a1 / 200000",vc:l,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:l,dx6:"=V.dy1 * V.dx5 / V.hd2",x6:"=width - V.dx6",t:0,l:0,b:i,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:i},{x:n,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",a],["L",0,a],["Z"],["M","=V.ssd16",d],["L","=V.ssd8",d],["L","=V.ssd8",a],["L","=V.ssd16",a],["Z"],["M","=V.x4",d],["L","=V.x5",d],["L","=V.x5",0],["L",n,c],["L","=V.x5",i],["L","=V.x5",a],["L","=V.x4",a],["Z"],{}]],textRect:{left:"=V.x4",top:d,right:"=V.x6",bottom:a}},notchedRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:e,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:n,x2:"=width - V.dx2",dy1:"=height * V.a1 / 200000",vc:l,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:l,x1:"=V.dy1 * V.dx2 / V.hd2",x3:"=width - V.x1",t:0,b:i,l:0},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:s,y:0},{x:o,y:c},{x:s,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"r",y:"y1"},point:[n,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",n,c],["L",s,i],["L",s,a],["L",0,a],["L",o,c],["Z"],{}]],textRect:{left:o,top:d,right:"=V.x3",bottom:a}},pentagon:{variables:{adj:5e4,ss:e,maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",dx1:"=V.ss * V.a / 100000",r:n,x1:"=width - V.dx1",ir:"=(V.x1 + V.r) / 2",x2:"=V.x1 / 2",t:0,l:0,vc:l,b:i},adjustInfo:[["adj",5e4]],connectionPoints:[{x:s,y:0},{x:0,y:c},{x:o,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,0],["L",o,0],["L",n,c],["L",o,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:0,right:"=V.ir",bottom:i}},chevron:{variables:{adj:5e4,ss:e,maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",x1:"=V.ss * V.a / 100000",r:n,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:l,b:i},adjustInfo:[["adj",5e4]],connectionPoints:[{x:"=V.x3",y:0},{x:o,y:c},{x:"=V.x3",y:i},{x:n,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",n,c],["L",s,i],["L",0,i],["L",o,c],["Z"],{}]],textRect:{left:"=V.il",top:0,right:"=V.ir",bottom:i}},rightArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:e,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:l,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:n,x3:"=width - V.dx3",x2:"=width * V.a4 / 100000",x1:"=V.x2 / 2",t:0,l:0,b:i},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:o,y:0},{x:0,y:c},{x:o,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x3",y:"y2"},point:["=V.x3",a]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y1"},point:[n,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,i]}],path:[[["M",0,0],["L",s,0],["L",s,a],["L","=V.x3",a],["L","=V.x3",d],["L",n,c],["L","=V.x3","=V.y4"],["L","=V.x3","=V.y3"],["L",s,"=V.y3"],["L",s,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:0,right:s,bottom:i}},leftArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:e,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:l,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:n,x2:"=width - V.dx2",x3:"=(V.x2 + V.r) / 2",t:0,l:0,b:i},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:"=V.x3",y:0},{x:0,y:c},{x:"=V.x3",y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x1",y:"y2"},point:[o,a]},{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:[o,0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,i]}],path:[[["M",0,c],["L",o,d],["L",o,a],["L",s,a],["L",s,0],["L",n,0],["L",n,i],["L",s,i],["L",s,"=V.y3"],["L",o,"=V.y3"],["L",o,"=V.y4"],["Z"],{}]],textRect:{left:s,top:0,right:n,bottom:i}},upArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:e,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:i,y2:"=height - V.dy2",y3:"=(V.y2 + V.b) / 2",t:0,l:0,r:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:r,y:0},{x:0,y:a},{x:r,y:i},{x:n,y:a}],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:[o,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[n,d]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,a]}],path:[[["M",0,a],["L",s,a],["L",s,d],["L",o,d],["L",r,0],["L","=V.x4",d],["L","=V.x3",d],["L","=V.x3",a],["L",n,a],["L",n,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:a,right:n,bottom:i}},downArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:e,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:i,y3:"=height - V.dy3",y2:"=height * V.a4 / 100000",y1:"=V.y2 / 2",t:0,l:0,r:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:r,y:0},{x:0,y:d},{x:r,y:i},{x:n,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:[o,i]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y3"},point:[n,"=V.y3"]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,a]}],path:[[["M",0,0],["L",n,0],["L",n,a],["L","=V.x3",a],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y3"],["L",r,i],["L",o,"=V.y3"],["L",s,"=V.y3"],["L",s,a],["L",0,a],["Z"],{}]],textRect:{left:0,top:0,right:n,bottom:a}},leftRightArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:48123,ss:e,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:l,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:n,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:i},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",48123]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x1",y:"y2"},point:[o,a]},{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:[o,0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,i]}],path:[[["M",0,c],["L",o,d],["L",o,a],["L",s,a],["L",s,0],["L","=V.x3",0],["L","=V.x3",a],["L","=V.x4",a],["L","=V.x4",d],["L",n,c],["L","=V.x4","=V.y4"],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",i],["L",s,i],["L",s,"=V.y3"],["L",o,"=V.y3"],["L",o,"=V.y4"],["Z"],{}]],textRect:{left:s,top:0,right:"=V.x3",bottom:i}},upDownArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:48123,ss:e,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:l,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:i,y4:"=height - V.y1",dy2:"=height * V.a4 / 200000",vc:l,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",t:0,l:0,r:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",48123]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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:[o,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[n,d]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,a]}],path:[[["M",0,a],["L",s,a],["L",s,d],["L",o,d],["L",r,0],["L","=V.x4",d],["L","=V.x3",d],["L","=V.x3",a],["L",n,a],["L",n,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L","=V.x4","=V.y4"],["L",r,i],["L",o,"=V.y4"],["L",s,"=V.y4"],["L",s,"=V.y3"],["L",0,"=V.y3"],["Z"],{}]],textRect:{left:0,top:a,right:n,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:e,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:n,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:i,y8:"=height - V.ah",vc:l,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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:[n,"=V.ah"]},{type:"ahXY",gdRefY:"adj4",minY:"a1",maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,a]}],path:[[["M",0,c],["L","=V.ah","=V.y3"],["L","=V.ah","=V.y4"],["L",s,"=V.y4"],["L",s,a],["L","=V.x4",a],["L","=V.x4","=V.ah"],["L","=V.x3","=V.ah"],["L",r,0],["L","=V.x6","=V.ah"],["L","=V.x5","=V.ah"],["L","=V.x5",a],["L","=V.x7",a],["L","=V.x7","=V.y4"],["L","=V.x8","=V.y4"],["L","=V.x8","=V.y3"],["L",n,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",r,i],["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:a,right:"=V.x7",bottom:"=V.y7"}},circularArrow:{variables:{adj1:12500,adj2:1142319,adj3:20457681,adj4:u,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:e,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:l,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:h,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:l,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:u,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:x,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:l,b:i,r:n,_scaleX1:"= width",_scaleY1:"= height"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}]]},flowchartAlternateProcess:{variables:{r:n,ss:e,ssd6:"=V.ss / 6",x2:"=width - V.ssd6",b:i,y2:"=height - V.ssd6",il:"=V.ssd6 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:l,cd2:u,cd4:x,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:f,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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",n,a],["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",i],["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:l,b:i,r:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,l],["L",y,0],["L",n,l],["L",y,i],["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:l,b:i,_scaleX1:"= width / 5",_scaleY1:"= height / 5",wd5:"=width/5"},connectionPoints:[{x:"=V.x4",y:0},{x:r,y:0},{x:"=V.wd10",y:c},{x:"=V.x3",y:i},{x:r,y:i},{x:"=V.x6",y:c}],path:[[["M",0,i],["L","=V._scaleX1",0],["L",n,0],["L","=4 * V._scaleX1",i],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:"=V.x5",bottom:i}},flowchartPredefinedProcess:{variables:{x2:"=width * 7 / 8",hc:y,t:0,l:0,vc:l,b:i,r:n,_scaleX1:"= width",_scaleY1:"= height",_scaleX2:"= width / 8",_scaleY2:"= height / 8",_scaleX3:"= width",_scaleY3:"= height",wd8:"=width/8"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M","=V._scaleX2",0],["L","=V._scaleX2",i],["M","=7 * V._scaleX2",0],["L","=7 * V._scaleX2",i],{fillMode:"none"}],[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd8",top:0,right:s,bottom:i}},flowchartInternalStorage:{variables:{hc:y,t:0,l:0,vc:l,b:i,r:n,_scaleX1:"= width",_scaleY1:"= height",_scaleX2:"= width / 8",_scaleY2:"= height / 8",_scaleX3:"= width",_scaleY3:"= height",wd8:"=width/8",hd8:"=height/8"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M","=V._scaleX2",0],["L","=V._scaleX2",i],["M",0,"=V._scaleY2"],["L",n,"=V._scaleY2"],{fillMode:"none"}],[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd8",top:"=V.hd8",right:n,bottom:i}},flowchartDocument:{variables:{y1:"=height * 17322 / 21600",y2:"=height * 20172 / 21600",hc:y,t:0,l:0,vc:l,r:n,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:a},{x:n,y:c}],path:[[["M",0,0],["L",n,0],["L",n,"=17322 * V._scaleY1"],["B",y,"=17322 * V._scaleY1",y,"=23922 * V._scaleY1",0,"=20172 * V._scaleY1"],["Z"],{}]],textRect:{left:0,top:0,right:n,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:l,r:n,_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:n,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",n,0],["L",n,"=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",n,0],["L",n,"=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",n,"=14392 * V._scaleY3"],["L",n,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:a,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:l,b:i,r:n,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600",_3cd4:f,cd2:u,cx1:"=C(3475,18125,A(3475,10800,V._3cd4),true)",cy1:"=C(10800,0,A(3475,10800,V._3cd4))",cd4:x,cx2:"=C(3475,3475,A(3475,10800,V.cd4),true)",cy2:"=C(10800,21600,A(3475,10800,V.cd4))"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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",l,0,"=A(3475,10800,V._3cd4)","=A(3475,10800,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=3475 * V._scaleX1",i],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=3475 * V._scaleX1",l,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:l,b:i,r:n,_scaleX1:"= width / 10",_scaleY1:"= height / 10",wd5:"=width/5"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,l],["L","=2 * V._scaleX1",0],["L","=8 * V._scaleX1",0],["L",n,l],["L","=8 * V._scaleX1",i],["L","=2 * V._scaleX1",i],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:s,bottom:i}},flowchartManualInput:{variables:{hc:y,hd10:"=height/10",l:0,vc:l,b:i,r:n,_scaleX1:"= width / 5",_scaleY1:"= height / 5",hd5:"=height/5"},connectionPoints:[{x:r,y:"=V.hd10"},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,"=V._scaleY1"],["L",n,0],["L",n,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:n,bottom:i}},flowchartManualOperation:{variables:{x3:"=width * 4 / 5",x4:"=width * 9 / 10",hc:y,t:0,wd10:"=width/10",vc:l,b:i,_scaleX1:"= width / 5",_scaleY1:"= height / 5",wd5:"=width/5"},connectionPoints:[{x:r,y:0},{x:"=V.wd10",y:c},{x:r,y:i},{x:"=V.x4",y:c}],path:[[["M",0,0],["L",n,0],["L","=4 * V._scaleX1",i],["L","=V._scaleX1",i],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:"=V.x3",bottom:i}},flowchartConnector:{variables:{wd2:y,d2r:h,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:l,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:i,r:n,cd2:u,cd4:x,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:f,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:r,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,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:l,b:i,r:n,_scaleX1:"= width / 10",_scaleY1:"= height / 10"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,0],["L",n,0],["L",n,"=8 * V._scaleY1"],["L",y,i],["L",0,"=8 * V._scaleY1"],["Z"],{}]],textRect:{left:0,top:0,right:n,bottom:d}},flowchartCard:{variables:{hc:y,t:0,l:0,vc:l,b:i,r:n,_scaleX1:"= width / 5",_scaleY1:"= height / 5",hd5:"=height/5"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,"=V._scaleY1"],["L","=V._scaleX1",0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:n,bottom:i}},flowchartPunchedTape:{variables:{y2:"=height * 9 / 10",ib:"=height * 4 / 5",hc:y,hd10:"=height/10",l:0,vc:l,r:n,_scaleX1:"= width / 20",_scaleY1:"= height / 20",cd2:u,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:r,y:"=V.hd10"},{x:0,y:c},{x:r,y:a},{x:n,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",n,"=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:n,bottom:"=V.ib"}},flowchartSummingJunction:{variables:{wd2:y,d2r:h,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:l,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:i,r:n,cd2:u,cd4:x,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:f,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:r,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,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:h,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:l,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:i,r:n,cd2:u,cd4:x,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:f,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:r,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:c},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,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",r,0],["L",r,i],["M",0,c],["L",n,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:l,b:i,_scaleX1:"= width / 2",_scaleY1:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:r,y:0},{x:r,y:c},{x:r,y:i}],path:[[["M",0,0],["L",n,0],["L",y,l],["L",n,i],["L",0,i],["L",y,l],["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:l,b:i,r:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2",_scaleX2:"= width / 2",_scaleX3:"= width / 2",_scaleY3:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,l],["L",y,0],["L",n,l],["L",y,i],["Z"],{strokeMode:"false"}],[["M",0,l],["L",n,l],{fillMode:"none"}],[["M",0,l],["L",y,0],["L",n,l],["L",y,i],["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:l,b:i,_scaleX1:"= width / 2",_scaleY1:"= height / 2"},connectionPoints:[{x:r,y:0},{x:"=V.wd4",y:c},{x:r,y:i},{x:s,y:c}],path:[[["M",0,i],["L",y,0],["L",n,i],["Z"],{}]],textRect:{left:"=V.wd4",top:c,right:s,bottom:i}},flowchartMerge:{variables:{x2:"=width * 3 / 4",hc:y,t:0,wd4:"=width/4",vc:l,b:i,_scaleX1:"= width / 2",_scaleY1:"= height / 2"},connectionPoints:[{x:r,y:0},{x:"=V.wd4",y:c},{x:r,y:i},{x:s,y:c}],path:[[["M",0,0],["L",n,0],["L",y,i],["Z"],{}]],textRect:{left:"=V.wd4",top:0,right:s,bottom:c}},flowchartStoredData:{variables:{x2:"=width * 5 / 6",hc:y,t:0,l:0,vc:l,b:i,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:f,cx1:"=C(1,6,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",cd4:x,cd2:u,cx2:"=C(1,1,A(1,3,V.cd4),true)",cy2:"=C(3,6,A(1,3,V.cd4))",wd6:"=width/6"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:s,y:c}],path:[[["M","=V._scaleX1",0],["L",n,0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",l,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V._scaleX1",i],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=V._scaleX1",l,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:i}},flowchartDelay:{variables:{wd2:y,d2r:h,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:l,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,ir:"=V.hc + V.idx",vc:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:i,r:n,_3cd4:f,cd2:u,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,0],["L",r,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,i],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartSequentialAccessStorage:{variables:{wd2:y,d2r:h,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:l,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:l,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",ang1:"=(ATAN2(width,height) * V.d2r)",t:0,l:0,b:i,r:n,cd4:x,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:u,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:f,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",r,i],["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",n,"=V.ib"],["L",n,i],["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:l,b:i,r:n,_scaleX1:"= width / 6",_scaleY1:"= height / 6",cd2:u,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:r,y:"=V.hd3"},{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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",n,"=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",n,"=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",n,"=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:n,bottom:"=V.y3"}},flowchartDirectAccessStorage:{variables:{x2:"=width * 2 / 3",hc:y,t:0,l:0,vc:l,b:i,r:n,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:f,cd2:u,cx1:"=C(1,5,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",cd4:x,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:s,y:c},{x:n,y:c}],path:[[["M","=V._scaleX1",0],["L","=5 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",l,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX1",i],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=V._scaleX1",l,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",i],["E","=V.cx3 * V._scaleX2","=V.cy3 * V._scaleY2","=V._scaleX2",l,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",l,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX3",i],["E","=V.cx5 * V._scaleX3","=V.cy5 * V._scaleY3","=V._scaleX3",l,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:i}},flowchartDisplay:{variables:{x2:"=width * 5 / 6",hc:y,t:0,l:0,vc:l,b:i,r:n,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:f,cd2:u,cx1:"=C(1,5,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",wd6:"=width/6"},connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],path:[[["M",0,l],["L","=V._scaleX1",0],["L","=5 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",l,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX1",i],["Z"],{}]],textRect:{left:"=V.wd6",top:0,right:s,bottom:i}},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:i,r:n,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:"=V.x24",y:0},{x:0,y:"=V.y6"},{x:"=V.x12",y:i},{x:n,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",n,"=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",i],["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:n,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:s,y:a},{x:0,y:"=V.y8"},{x:"=V.x16",y:"=V.y16"},{x:n,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",n,"=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",i],["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:l,ihd2:"=V.hd2 * V.a / 50000",d2r:h,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:l,sy1:"=V.vc - V.sdy",sy2:"=V.vc + V.sdy",yAdj:"=V.vc - V.ihd2",t:0,l:0,b:i,r:n},adjustInfo:[["adj",12500]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy1"],["L",r,0],["L","=V.sx2","=V.sy1"],["L",n,c],["L","=V.sx2","=V.sy2"],["L",r,i],["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:l,shd2:"=V.hd2 * V.vf / 100000",vc:l,svc:"=V.vc * V.vf / 100000",d2r:h,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:r,y:0},{x:o,y:d},{x:s,y:a},{x:"=V.x3",y:a},{x:"=V.x4",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",o,d],["L","=V.sx2","=V.sy1"],["L",r,0],["L","=V.sx3","=V.sy1"],["L","=V.x4",d],["L","=V.sx4","=V.sy2"],["L","=V.x3",a],["L",r,"=V.sy3"],["L",s,a],["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:h,dx1:"=V.wd2 * COS(2700000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",hd2:l,dy1:"=V.hd2 * SIN(2700000 / V.d2r)",vc:l,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:n,b:i,l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:n,y:c},{x:s,y:a},{x:r,y:i},{x:o,y:a},{x:0,y:c},{x:o,y:d},{x:r,y:0},{x:s,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy2"],["L",o,d],["L","=V.sx2","=V.sy1"],["L",r,0],["L","=V.sx3","=V.sy1"],["L",s,d],["L","=V.sx4","=V.sy2"],["L",n,c],["L","=V.sx4","=V.sy3"],["L",s,a],["L","=V.sx3","=V.sy4"],["L",r,i],["L","=V.sx2","=V.sy4"],["L",o,a],["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:l,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:l,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:h,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:n,b:i,l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:"=V.x5",y:a},{x:"=V.x6",y:"=V.y3"},{x:n,y:c},{x:"=V.x6",y:"=V.y4"},{x:"=V.x5",y:"=V.y5"},{x:"=V.x4",y:"=V.y6"},{x:r,y:i},{x:"=V.x3",y:"=V.y6"},{x:s,y:"=V.y5"},{x:o,y:"=V.y4"},{x:0,y:c},{x:o,y:"=V.y3"},{x:s,y:a},{x:"=V.x3",y:d},{x:r,y:0},{x:"=V.x4",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy4"],["L",o,"=V.y3"],["L","=V.sx2","=V.sy3"],["L",s,a],["L","=V.sx3","=V.sy2"],["L","=V.x3",d],["L","=V.sx4","=V.sy1"],["L",r,0],["L","=V.sx5","=V.sy1"],["L","=V.x4",d],["L","=V.sx6","=V.sy2"],["L","=V.x5",a],["L","=V.sx7","=V.sy3"],["L","=V.x6","=V.y3"],["L","=V.sx8","=V.sy4"],["L",n,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",r,i],["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",o,"=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:h,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:l,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:l,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:i,r:n},adjustInfo:[["adj",37500]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy6"],["L",o,"=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",a],["L","=V.sx5","=V.sy2"],["L","=V.x5",d],["L","=V.sx6","=V.sy1"],["L",r,0],["L","=V.sx7","=V.sy1"],["L","=V.x6",d],["L","=V.sx8","=V.sy2"],["L","=V.x7",a],["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",n,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",r,i],["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",o,"=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:h,dx4:"=V.wd2 * COS(2700000 / V.d2r)",dx5:"=V.wd2 * 55557 / 100000",dx6:"=V.wd2 * 38268 / 100000",dx7:"=V.wd2 * 19509 / 100000",hd2:l,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:l,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:i,r:n},adjustInfo:[["adj",37500]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy8"],["L",o,"=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",a],["L","=V.sx7","=V.sy2"],["L","=V.x7",d],["L","=V.sx8","=V.sy1"],["L",r,0],["L","=V.sx9","=V.sy1"],["L","=V.x8",d],["L","=V.sx10","=V.sy2"],["L","=V.x9",a],["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",n,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",r,i],["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",o,"=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:n,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:i,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:x,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:u,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:f,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:r,y:0},{x:"=V.wd8",y:"=V.y3"},{x:r,y:a},{x:"=V.x10",y:"=V.y3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:33333,position:{x:"hc",y:"y2"},point:[r,a]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"b"},point:[s,i]}],path:[[["M",0,i],["L","=V.x4",i],["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",a],["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",n,i],["L","=V.x10","=V.y3"],["L",n,"=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",a],["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",a],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,i],["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",n,"=V.y4"],["L","=V.x10","=V.y3"],["L",n,i],["L","=V.x7",i],["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",a],["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",a],["L","=V.x5","=V.y6"],["M","=V.x6","=V.y6"],["L","=V.x6",a],["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:a}},downRibbon:{variables:{adj1:16667,adj2:5e4,a1:"=MIN(MAX(0, V.adj1), 33333)",a2:"=MIN(MAX(25000, V.adj2), 75000)",r:n,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:i,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:f,cd2:u,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:x,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:r,y:a},{x:"=V.wd8",y:"=V.y3"},{x:r,y:i},{x:"=V.x10",y:"=V.y3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:33333,position:{x:"hc",y:"y2"},point:[r,a]},{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",a],["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",n,0],["L","=V.x10","=V.y3"],["L",n,"=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",i],["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",a],["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",a],["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",a],["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",n,0],["L","=V.x10","=V.y3"],["L",n,"=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",i],["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",a],["M","=V.x6",a],["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:a,right:"=V.x9",bottom:i}},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:n,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:i,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:r,y:0},{x:"=V.wd8",y:a},{x:r,y:"=V.rh"},{x:"=V.x6",y:a}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"hc",y:"rh"},point:[r,"=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,i],["Q","=V.cx1","=V.cy1","=V.x3",d],["L",s,"=V.y3"],["Q",r,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["Q","=V.cx2","=V.cy1",n,i],["L","=V.x6",a],["L",n,"=V._q1"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",r,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V._q1"],["L","=V.wd8",a],["Z"],{strokeMode:"false"}],[["M","=V.x3","=V.y7"],["L","=V.x3",d],["L",s,"=V.y3"],["Q",r,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["L","=V.x4","=V.y7"],["Q",r,"=V.cy7","=V.x3","=V.y7"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,i],["L","=V.wd8",a],["L",0,"=V._q1"],["Q","=V.cx4","=V.cy4",s,"=V.y5"],["L",s,"=V.y6"],["Q",r,"=V.cy6","=V.x5","=V.y6"],["L","=V.x5","=V.y5"],["Q","=V.cx5","=V.cy4",n,"=V._q1"],["L","=V.x6",a],["L",n,i],["Q","=V.cx2","=V.cy1","=V.x4",d],["L","=V.x5","=V.y3"],["Q",r,"=V.cy3",s,"=V.y3"],["L","=V.x3",d],["Q","=V.cx1","=V.cy1",0,i],["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:n,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:i,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:r,y:"=V._q1"},{x:"=V.wd8",y:a},{x:r,y:i},{x:"=V.x6",y:a}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"hc",y:"_q1"},point:[r,"=V._q1"]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"b"},point:[s,i]},{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",r,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["Q","=V.cx2","=V.cy1",n,0],["L","=V.x6",a],["L",n,"=V.rh"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",r,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V.rh"],["L","=V.wd8",a],["Z"],{strokeMode:"false"}],[["M","=V.x3","=V.y7"],["L","=V.x3",d],["L",s,"=V.y3"],["Q",r,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["L","=V.x4","=V.y7"],["Q",r,"=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",r,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",d],["Q","=V.cx2","=V.cy1",n,0],["L","=V.x6",a],["L",n,"=V.rh"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",r,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V.rh"],["L","=V.wd8",a],["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:e,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:n,x6:"=width - V.ch",x7:"=width - V.ch2",x5:"=V.x6 - V.ch2",b:i,y3:"=height - V.ch",y4:"=height - V.ch2",hc:y,t:0,vc:l,l:0,cd4:x,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:u,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:f,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:r,y:0},{x:"=V.ch",y:c},{x:r,y:i},{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",i],["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",i],["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",i],["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:e,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:i,y6:"=height - V.ch",y7:"=height - V.ch2",y5:"=V.y6 - V.ch2",r:n,x3:"=width - V.ch",x4:"=width - V.ch2",hc:y,l:0,vc:l,t:0,cd4:x,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:u,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:f,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:r,y:"=V.ch"},{x:0,y:c},{x:r,y:"=V.y6"},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:25e3,position:{x:"ch",y:"t"},point:["=V.ch",0]}],path:[[["M",n,"=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",n,"=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:i,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:n,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:l},adjustInfo:[["adj1",12500],["adj2",0]],connectionPoints:[{x:"=V.xAdj2",y:d},{x:o,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",i]}],path:[[["M",s,d],["B","=V.x3",a,"=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:i,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:n,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:l},adjustInfo:[["adj1",6250],["adj2",0]],connectionPoints:[{x:"=V.x12",y:d},{x:o,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",i]}],path:[[["M",s,d],["B","=V.x3",a,"=V.x4","=V.y3","=V.x5",d],["B","=V.x6",a,"=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:l,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:n,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:i,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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",o,0],["L","=V.xt","=V.yt"],["L",s,0],["L",n,0],["L",n,d],["L","=V.xr","=V.yr"],["L",n,a],["L",n,i],["L",s,i],["L","=V.xb","=V.yb"],["L",o,i],["L",0,i],["L",0,a],["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:l,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:n,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:i,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)",ss:e,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:u,cd4:x,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:f,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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",o,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",n,d],["L","=V.xr","=V.yr"],["L",n,a],["L",n,"=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,i],["L","=V.xb","=V.yb"],["L",o,i],["L","=V.u1",i],["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,a],["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:l,yPos:"=V.vc + V.dyPos",sdx:"=V.dxPos * height",sdy:"=V.dyPos * width",d2r:h,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:l,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:i,r:n,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:r,y:0},{x:"=V.il",y:"=V.it"},{x:"=V.il",y:"=V.ib"},{x:r,y:i},{x:"=V.ir",y:"=V.ib"},{x:n,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",o,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:l,yPos:"=V.vc + V.dyPos",hd2:l,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:e,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:h,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:r,y:"=V.g28"},{x:"=V.g29",y:c},{x:r,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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,d],["L",s,a],["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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,d],["L",s,a],["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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,0],["Z"],["L",o,i],{fillMode:"none",strokeCompound:"simple"}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,0],["Z"],["L",o,i],{fillMode:"none",strokeCompound:"simple"}],[["M",o,d],["L",s,a],["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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,0],["Z"],["L",o,i],{fillMode:"none",strokeCompound:"simple"}],[["M",o,d],["L",s,a],["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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,d],["L",s,a],["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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{strokeMode:"false"}],[["M",o,d],["L",s,a],["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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,0],["Z"],["L",o,i],{fillMode:"none",strokeCompound:"simple"}],[["M",o,d],["L",s,a],{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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,0],["Z"],["L",o,i],{fillMode:"none",strokeCompound:"simple"}],[["M",o,d],["L",s,a],["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:n,vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,a]},{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",n,0],["L",n,i],["L",0,i],["Z"],{}],[["M",o,0],["Z"],["L",o,i],{fillMode:"none",strokeCompound:"simple"}],[["M",o,d],["L",s,a],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{fillMode:"none",strokeCompound:"line"}]]},actionButtonCustom:{variables:{r:n,vc:l,hc:y,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{}]]},actionButtonHome:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],["M",r,"=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",r,"=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",r,"=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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonHelp:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0,cd2:u,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:x,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:f,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:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",r,"=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",r,"=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",r,"=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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonInformation:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0,_3cd4:f,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:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],["M",r,"=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",r,"=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",r,"=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",r,"=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",r,"=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",r,"=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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonBackorPrevious:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",r:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonForwardorNext:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",r:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonBeginning:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonEnd:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonReturn:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0,cd4:x,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:u,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:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],["M","=V.g12","=V.g21"],["L","=V.g23","=V.g9"],["L",r,"=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",r,"=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",r,"=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",r,"=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",r,"=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",r,"=V.g21"],["L","=V.g23","=V.g9"],["Z"],{fillMode:"none"}],[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonDocument:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonSound:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",n,0],["L",n,i],["L",0,i],["Z"],{fillMode:"none"}]]},actionButtonMovie:{variables:{ss:e,dx2:"=V.ss * 3 / 8",vc:l,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:n,b:i,l:0,t:0},connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["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",n,0],["L",n,i],["L",0,i],["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:l,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:n,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:i,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)",ss:e,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:u,cd4:x,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:f,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,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",o,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",n,d],["L","=V.xr","=V.yr"],["L",n,a],["L",n,"=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,i],["L","=V.xb","=V.yb"],["L",o,i],["L","=V.u1",i],["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,a],["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:l,hc:y,b:i,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:r,y:i},{x:"=V.wd4",y:c},{x:r,y:0}],path:[[["M",0,0],["L",n,0],["L",y,i],["Z"],{strokeMode:"false"}],[["M","=2 * V._scaleX2","=4 * V._scaleY2"],["L","=3 * V._scaleX2","=4 * V._scaleY2"],{fillMode:"none"}],[["M",0,0],["L",n,0],["L",y,i],["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:e,maxAdj2:"=100000 * V.w1 / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x1:"=V.ss * V.a2 / 100000",r:n,x4:"=width - V.x1",dy1:"=height * V.a1 / 200000",dy2:"=height * V.a3 / -200000",vc:l,ly1:"=V.vc + V.dy2 - V.dy1",ry4:"=V.vc + V.dy1 - V.dy2",ly2:"=V.ly1 + V.dy1",b:i,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:f,cd2:u,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:x,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:n,y:"=V.ry3"},{x:"=V.x4",y:i},{x:o,y:"=V.ly4"},{x:0,y:"=V.ly2"},{x:o,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:[o,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",o,0],["L",o,"=V.ly1"],["L",r,"=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",n,"=V.ry3"],["L","=V.x4",i],["L","=V.x4","=V.ry4"],["L",r,"=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",o,"=V.ly3"],["L",o,"=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",o,0],["L",o,"=V.ly1"],["L",r,"=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",n,"=V.ry3"],["L","=V.x4",i],["L","=V.x4","=V.ry4"],["L",r,"=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",o,"=V.ly3"],["L",o,"=V.ly4"],["Z"],["M","=V.x3",d],["L","=V.x3","=V.ry2"],["M",s,a],["L",s,"=V.ly3"],{fillMode:"none"}]],textRect:{left:o,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:n,x3:"=(V.x2 + V.r) / 2",y2:"=height * V.a / 100000",y1:"=V.y2 / 2",b:i,y3:"=(V.y2 + V.b) / 2",hc:y,vc:l,l:0,t:0},adjustInfo:[["adj",5e4]],connectionPoints:[{x:r,y:c},{x:0,y:"=V.y3"},{x:o,y:d},{x:"=V.x3",y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:1e5,position:{x:"l",y:"y2"},point:[0,a]}],path:[[["M",0,a],["L",s,0],["L",n,0],["L",0,i],["Z"],{}]],textRect:{left:0,top:0,right:"=V.x3",bottom:"=V.y3"}},pie:{variables:{adj1:0,adj2:f,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:h,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:l,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:l,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:n,b:i,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:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",o,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",r,c],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},nonIsoscelesTrapezoid:{variables:{adj1:25e3,adj2:25e3,ss:e,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:n,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:l,hc:y,b:i,t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3]],connectionPoints:[{x:"=V.x4",y:c},{x:r,y:i},{x:o,y:c},{x:r,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,i],["L",s,0],["L","=V.x3",0],["L",n,i],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:i}},decagon:{variables:{vf:105146,hd2:l,shd2:"=V.hd2 * V.vf / 100000",wd2:y,d2r:h,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:l,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",r:n,l:0},adjustInfo:[["vf",105146]],connectionPoints:[{x:"=V.x4",y:a},{x:n,y:c},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:s,y:"=V.y4"},{x:o,y:"=V.y3"},{x:0,y:c},{x:o,y:a},{x:s,y:d},{x:"=V.x3",y:d}],path:[[["M",0,c],["L",o,a],["L",s,d],["L","=V.x3",d],["L","=V.x4",a],["L",n,c],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y4"],["L",s,"=V.y4"],["L",o,"=V.y3"],["Z"],{}]],textRect:{left:o,top:a,right:"=V.x4",bottom:"=V.y3"}},heptagon:{variables:{hf:102572,vf:105210,wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:l,shd2:"=V.hd2 * V.vf / 100000",vc:l,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:i,ib:"=height - V.y1",t:0},adjustInfo:[["hf",102572],["vf",105210]],connectionPoints:[{x:"=V.x5",y:d},{x:"=V.x6",y:a},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y3"},{x:o,y:a},{x:s,y:d},{x:r,y:0}],path:[[["M",o,a],["L",s,d],["L",r,0],["L","=V.x5",d],["L","=V.x6",a],["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:n,b:i,l:0,t:0},connectionPoints:[{x:"=V.x4",y:d},{x:n,y:a},{x:n,y:"=V.y3"},{x:"=V.x4",y:"=V.y4"},{x:"=V.x3",y:i},{x:s,y:i},{x:o,y:"=V.y4"},{x:0,y:"=V.y3"},{x:0,y:a},{x:o,y:d},{x:s,y:0},{x:"=V.x3",y:0}],path:[[["M",0,a],["L",o,d],["L",s,0],["L","=V.x3",0],["L","=V.x4",d],["L",n,a],["L",n,"=V.y3"],["L","=V.x4","=V.y4"],["L","=V.x3",i],["L",s,i],["L",o,"=V.y4"],["L",0,"=V.y3"],["Z"],{}]],textRect:{left:o,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:h,dx1:"=V.swd2 * COS(1800000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",vc:l,hd4:"=height/4",y2:"=V.vc + V.hd4",iwd2:"=V.swd2 * V.a / 50000",hd2:l,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:i,t:0},adjustInfo:[["adj",28868],["hf",115470]],connectionPoints:[{x:s,y:"=V.hd4"},{x:s,y:a},{x:r,y:i},{x:o,y:a},{x:o,y:"=V.hd4"},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",o,"=V.hd4"],["L","=V.sx2","=V.sy1"],["L",r,0],["L","=V.sx3","=V.sy1"],["L",s,"=V.hd4"],["L","=V.sx4",c],["L",s,a],["L","=V.sx3","=V.sy2"],["L",r,i],["L","=V.sx2","=V.sy2"],["L",o,a],["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:l,shd2:"=V.hd2 * V.vf / 100000",vc:l,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:a},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y3"},{x:o,y:a},{x:s,y:d},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",o,a],["L","=V.sx1","=V.sy2"],["L",s,d],["L","=V.sx3","=V.sy1"],["L",r,0],["L","=V.sx4","=V.sy1"],["L","=V.x5",d],["L","=V.sx6","=V.sy2"],["L","=V.x6",a],["L","=V.sx5","=V.sy3"],["L","=V.x4","=V.y3"],["L",r,"=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:l,dy1:"=V.hd2 * 80902 / 100000",dy2:"=V.hd2 * 30902 / 100000",vc:l,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:i,t:0},adjustInfo:[["adj",42533],["hf",105146]],connectionPoints:[{x:"=V.x4",y:a},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:r,y:i},{x:s,y:"=V.y4"},{x:o,y:"=V.y3"},{x:o,y:a},{x:s,y:d},{x:r,y:0},{x:"=V.x3",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",o,a],["L","=V.sx2","=V.sy2"],["L",s,d],["L","=V.sx3","=V.sy1"],["L",r,0],["L","=V.sx4","=V.sy1"],["L","=V.x3",d],["L","=V.sx5","=V.sy2"],["L","=V.x4",a],["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",r,i],["L","=V.sx3","=V.sy4"],["L",s,"=V.y4"],["L","=V.sx2","=V.sy3"],["L",o,"=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:h,dx1:"=V.wd2 * COS(1800000 / V.d2r)",hd2:l,dy1:"=V.hd2 * SIN(3600000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x3:"=width * 3 / 4",x4:"=V.hc + V.dx1",vc:l,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:n,b:i,wd4:"=width/4",l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:"=V.x4",y:"=V.hd4"},{x:n,y:c},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:r,y:i},{x:"=V.wd4",y:"=V.y4"},{x:o,y:"=V.y3"},{x:0,y:c},{x:o,y:"=V.hd4"},{x:"=V.wd4",y:d},{x:r,y:0},{x:"=V.x3",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[r,"=V.yAdj"]}],path:[[["M",0,c],["L","=V.sx1","=V.sy3"],["L",o,"=V.hd4"],["L","=V.sx2","=V.sy2"],["L","=V.wd4",d],["L","=V.sx3","=V.sy1"],["L",r,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",n,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",r,i],["L","=V.sx3","=V.sy6"],["L","=V.wd4","=V.y4"],["L","=V.sx2","=V.sy5"],["L",o,"=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:e,dx1:"=V.ss * V.a / 100000",r:n,x1:"=width - V.dx1",idx:"=V.dx1 * 29289 / 100000",ir:"=width - V.idx",hc:y,t:0,l:0,vc:l,b:i,_3cd4:f,cd4:x,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:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,0],["L",o,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",n,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:0,right:"=V.ir",bottom:i}},round2SameRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:e,tx1:"=V.ss * V.a1 / 100000",r:n,tx2:"=width - V.tx1",bx1:"=V.ss * V.a2 / 100000",bx2:"=width - V.bx1",b:i,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:l,hc:y,l:0,t:0,_3cd4:f,cd4:x,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:u,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:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,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",i]}],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",n,"=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",i],["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:e,x1:"=V.ss * V.a1 / 100000",b:i,y1:"=height - V.x1",a:"=V.ss * V.a2 / 100000",r:n,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:l,hc:y,l:0,t:0,_3cd4:f,cd4:x,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:u,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:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",o,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",n,d],["E","=V.cx2","=V.cy2",o,o,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.a",i],["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,o],["E","=V.cx4","=V.cy4",o,o,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:e,x1:"=V.ss * V.a1 / 100000",dx2:"=V.ss * V.a2 / 100000",r:n,x2:"=width - V.dx2",il:"=V.x1 * 29289 / 100000",ir:"=(V.x2 + V.r) / 2",vc:l,hc:y,b:i,l:0,t:0,cd2:u,cd4:x,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:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",o,0],["L",s,0],["L",n,"=V.dx2"],["L",n,i],["L",0,i],["L",0,o],["E","=V.cx1","=V.cy1",o,o,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:i}},snip1Rectangle:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:e,dx1:"=V.ss * V.a / 100000",r:n,x1:"=width - V.dx1",it:"=V.dx1 / 2",ir:"=(V.x1 + V.r) / 2",vc:l,hc:y,b:i,l:0,t:0},adjustInfo:[["adj",16667]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,0],["L",o,0],["L",n,"=V.dx1"],["L",n,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:i}},snip2SameRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:e,tx1:"=V.ss * V.a1 / 100000",r:n,tx2:"=width - V.tx1",bx1:"=V.ss * V.a2 / 100000",bx2:"=width - V.bx1",b:i,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:l,hc:y,l:0,t:0},adjustInfo:[["adj1",16667],["adj2",0]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,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",i]}],path:[[["M","=V.tx1",0],["L","=V.tx2",0],["L",n,"=V.tx1"],["L",n,"=V.by1"],["L","=V.bx2",i],["L","=V.bx1",i],["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:e,lx1:"=V.ss * V.a1 / 100000",r:n,lx2:"=width - V.lx1",b:i,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:l,hc:y,l:0,t:0},adjustInfo:[["adj1",0],["adj2",16667]],connectionPoints:[{x:n,y:c},{x:r,y:i},{x:0,y:c},{x:r,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",n,"=V.rx1"],["L",n,"=V.ly1"],["L","=V.lx2",i],["L","=V.rx1",i],["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:e,x1:"=V.ss * V.a1 / 100000",r:n,x4:"=width - V.x1",b:i,y4:"=height - V.x1",hc:y,t:0,l:0,vc:l},adjustInfo:[["adj1",12500]],connectionPoints:[{x:r,y:0},{x:0,y:c},{x:r,y:i},{x:n,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[o,0]}],path:[[["M",0,0],["L",n,0],["L",n,i],["L",0,i],["Z"],["M",o,o],["L",o,"=V.y4"],["L","=V.x4","=V.y4"],["L","=V.x4",o],["Z"],{}]],textRect:{left:o,top:o,right:"=V.x4",bottom:"=V.y4"}},halfFrame:{variables:{adj1:33333,adj2:33333,ss:e,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:n,x2:"=width - V.dx2",dy2:"=V.x1 * height / width",b:i,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:l,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:r,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:[o,0]}],path:[[["M",0,0],["L",n,0],["L",s,d],["L",o,d],["L",o,a],["L",0,i],["Z"],{}]]},tear:{variables:{adj:1e5,a:"=MIN(MAX(0, V.adj), 200000)",r2:"=SQRT(2)",wd2:y,tw:"=V.wd2 * V.r2",hd2:l,th:"=V.hd2 * V.r2",sw:"=V.tw * V.a / 100000",sh:"=V.th * V.a / 100000",d2r:h,dx1:"=V.sw * COS(2700000 / V.d2r)",dy1:"=V.sh * SIN(2700000 / V.d2r)",hc:y,x1:"=V.hc + V.dx1",vc:l,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:n,b:i,l:0,t:0,cd2:u,cd4:x,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:n,y:c},{x:"=V.ir",y:"=V.ib"},{x:r,y:i},{x:"=V.il",y:"=V.ib"},{x:0,y:c},{x:"=V.il",y:"=V.it"},{x:r,y:0},{x:o,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:2e5,position:{x:"x1",y:"t"},point:[o,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,o,d],["Q",n,a,n,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:f,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:h,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:l,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:l,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:u,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:o,y:d},{x:s,y:a},{x:"=V.x3",y:"=V.y3"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[o,d]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,a]}],path:[[["M",o,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:e,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:i,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:n,ir:"=IF(V.d > 0, V.r, V.x1)",hc:y,l:0,vc:l},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:n,y:"=V.cy1"},{x:r,y:i},{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:[o,0]}],path:[[["M",0,0],["L",o,0],["L",o,d],["L",n,d],["L",n,i],["L",0,i],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:i}},mathPlus:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 73490)",dx1:"=width * 73490 / 200000",dy1:"=height * 73490 / 200000",ss:e,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:l,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:r,y:"=V.y4"},{x:o,y:c},{x:r,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:73490,position:{x:"l",y:"y2"},point:[0,a]}],path:[[["M",o,a],["L",s,a],["L",s,d],["L","=V.x3",d],["L","=V.x3",a],["L","=V.x4",a],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L",s,"=V.y4"],["L",s,"=V.y3"],["L",o,"=V.y3"],["Z"],{}]],textRect:{left:o,top:a,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:l,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:r,y:a},{x:o,y:c},{x:r,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,d]}],path:[[["M",o,d],["L",s,d],["L",s,a],["L",o,a],["Z"],{}]],textRect:{left:o,top:d,right:s,bottom:a}},mathMultiply:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 51965)",ss:e,th:"=V.ss * V.a1 / 100000",d2r:h,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:n,xD:"=width - V.xB",xE:"=width - V.xA",vc:l,yFE:"=V.vc - V.yA",xFE:"=V.yFE / V.ta",xF:"=V.xE - V.xFE",xL:"=V.xA + V.xFE",b:i,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",r,"=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",r,"=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:l,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:i,y5:"=height - V.y1",hc:y,x1:"=V.hc - V.dx1",x3:"=V.hc + V.dx1",x2:"=V.hc - V.rad",l:0,r:n,t:0,_3cd4:f,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:x,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:r,y:"=V.y5"},{x:o,y:c},{x:r,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:[n,a]},{type:"ahXY",gdRefX:"adj3",minX:1e3,maxX:"maxAdj3",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",r,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",r,"=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",o,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L",o,"=V.y4"],["Z"],{}]],textRect:{left:o,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:l,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:n},adjustInfo:[["adj1",23520],["adj2",11760]],connectionPoints:[{x:s,y:"=V.yC1"},{x:s,y:"=V.yC2"},{x:r,y:"=V.y4"},{x:o,y:"=V.yC1"},{x:o,y:"=V.yC2"},{x:r,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:[n,a]}],path:[[["M",o,d],["L",s,d],["L",s,a],["L",o,a],["Z"],["M",o,"=V.y3"],["L",s,"=V.y3"],["L",s,"=V.y4"],["L",o,"=V.y4"],["Z"],{}]],textRect:{left:o,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:l,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y1:"=V.y2 - V.dy1",y4:"=V.y3 + V.dy1",cd4:x,cadj2:"=V.crAng - V.cd4",hd2:l,d2r:h,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:n},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:o,y:"=V.yC2"},{x:o,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:[n,a]}],path:[[["M",o,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",a],["L","=V.rx5",a],["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",o,"=V.y4"],["L",o,"=V.y3"],["L","=V.x4","=V.y3"],["L","=V.x5",a],["L",o,a],["Z"],{}]],textRect:{left:o,top:d,right:"=V.x8",bottom:"=V.y4"}},cornerTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:i,y1:"=height - V.dx",r:n,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:i},{x:"=V.dx",y:0},{x:o,y:0},{x:"=V.dx",y:i},{x:o,y:i},{x:n,y:0},{x:n,y:"=V.dx"},{x:n,y:d},{x:n,y:i}],path:[[["M",0,0],["L","=V.dx",0],["L",0,"=V.dx"],["Z"],{}],[["M",0,d],["L","=V.dx",i],["L",0,i],["Z"],{}],[["M",o,0],["L",n,0],["L",n,"=V.dx"],["Z"],{}],[["M",n,d],["L",n,i],["L",o,i],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:o,bottom:d}},squareTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:i,y1:"=height - V.dx",r:n,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:i},{x:"=V.dx",y:"=V.dx"},{x:"=V.dx",y:o},{x:"=V.dx",y:0},{x:o,y:0},{x:"=V.dx",y:i},{x:o,y:i},{x:n,y:0},{x:n,y:"=V.dx"},{x:n,y:d},{x:n,y:i},{x:o,y:"=V.dx"},{x:o,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",i],["L",0,i],["Z"],{}],[["M",o,0],["L",n,0],["L",n,"=V.dx"],["L",o,"=V.dx"],["Z"],{}],[["M",o,d],["L",n,d],["L",n,i],["L",o,i],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:o,bottom:d}},plaqueTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:i,y1:"=height - V.dx",r:n,x1:"=width - V.dx",l:0,t:0,cd4:x,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:f,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:u,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:i},{x:"=V.dx",y:0},{x:o,y:0},{x:"=V.dx",y:i},{x:o,y:i},{x:n,y:0},{x:n,y:"=V.dx"},{x:n,y:d},{x:n,y:i}],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,i],["Z"],{}],[["M",n,0],["L",n,"=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",o,i],["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",n,i],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:o,bottom:d}},gear6:{variables:{adj1:15e3,adj2:3526,a1:"=MIN(MAX(0, V.adj1), 20000)",a2:"=MIN(MAX(0, V.adj2), 5358)",ss:e,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:l,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:h,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:l,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:f,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:x,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:i,yCxn2:"=height - V.yCxn1",r:n,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:r,y:"=V.yB3"},{x:"=V.xCxn4",y:"=V.yCxn2"},{x:"=V.xCxn4",y:"=V.yCxn1"},{x:r,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:e,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:l,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:h,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:l,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:f,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:n,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:r,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:e,d:"=V.ss / 20",wd2:y,rw2:"=V.wd2 - V.d",hd4:"=height/4",rh2:"=V.hd4 - V.d",d2r:h,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:u,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:i,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",o,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",a],["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:h,g1:"=width * COS(13500000 / V.d2r)",g2:"=height * SIN(13500000 / V.d2r)",r:n,x1:"=width + V.g1",b:i,y1:"=height + V.g2",vc:l,hc:y,l:0,cd2:u,cd4:x,cx1:"=C(width,V.l,A(width,height,V.cd2),true)",cy1:"=C(height,V.b,A(width,height,V.cd2))"},connectionPoints:[{x:n,y:c},{x:r,y:i}],path:[[["M",0,i],["E","=V.cx1","=V.cy1",n,i,0,"=A(width,height,V.cd2)","=A(width,height,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",n,i],["Z"],{}]],textRect:{left:o,top:d,right:n,bottom:i}},leftCircularArrow:{variables:{adj1:12500,adj2:-1142319,adj3:1142319,adj4:u,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:e,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:l,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:h,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:l,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:u,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:x,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:e,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:l,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:h,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:l,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:u,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:x,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:e,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:n,xB:"=width - V.ad2",t:0,ssd8:"=V.ss / 8",yB:"=V.ssd8",cd4:x,alfa:"=V.cd4 / 14",d2r:h,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:i},adjustInfo:[["adj1",25e3],["adj2",16667]],connectionPoints:[{x:0,y:i},{x:"=V.xC",y:0},{x:n,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,i],["Q","=V.xP1","=V.yP1","=V.xB","=V.yB"],["L","=V.xC",0],["L",n,"=V.yD"],["L","=V.xE","=V.yE"],["L","=V.xF","=V.yF"],["Q","=V.xP2","=V.yP2",0,i],["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:l,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:r,y:"=V.g28"},{x:"=V.g27",y:c},{x:r,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",n,i],["M",0,i],["L",n,0],{fillMode:"none"}],[["M",0,0],["L",0,i],["L",n,i],["L",n,0],["Z"],{strokeMode:"false"}]]},chartStar:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",0,0],["L",n,i],["M",0,i],["L",n,0],["M",y,0],["L",y,i],{fillMode:"none"}],[["M",0,0],["L",0,i],["L",n,i],["L",n,0],["Z"],{strokeMode:"false"}]]},chartPlus:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",y,0],["L",y,i],["M",0,l],["L",n,l],{fillMode:"none"}],[["M",0,0],["L",0,i],["L",n,i],["L",n,0],["Z"],{strokeMode:"false"}]]},lineInverse:{variables:{l:0,b:i,r:n,t:0},connectionPoints:[{x:0,y:i},{x:n,y:0}],path:[[["M",0,i],["L",n,0],{fillMode:"none",strokeCompound:"line"}]]}},V.TVV=g},"./dist/plugins/shape/shape-actions.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P,N,D,U,q,k,B,Z,H,z,Q,G,J,W,K,$,tt,Vt,nt,it,et,rt,ct,ot,st=this&&this.qKr||(dt=function(t,V){return dt=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])},dt(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}dt(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),dt;function at(t,V,n){var i,e=t.length,r=[];for(i=0;i<e;i++)r.push({x:t[i].x+V,y:t[i].y+n});return r}function ht(t,V){var n,i=[];return V&&(i=(n=V.shapeLayers[0]).getConnectionLines(t.ctV)),i}function ut(t,V){var n,i,e;4===t.ttV&&(t.startConnector(null),t.endConnector(null)),(n=ht(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){ut(t,V)}))}function xt(t,V){var n=V.shapes.get(t);n?(ut(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 yt(t){var V=t.getRowCount()-1,n=t.getColumnCount()-1,i=0,e=0,r,c=t.zoom();for(r=0;r<=V;r++)i+=t.Gt(r,3);for(r=0;r<=n;r++)e+=t.nn(r,3);return{maxColumnWidth:e/c,maxRowHeight:i/c}}function lt(t,V,n,i,e,r,o){var s,d,a,h,u,x;return o.rotate&&0!==o.rotate()&&(d=t.zoom(),n=(s=(0,f.getActualBound)(o.ctV)).left/d,i=s.top/d,e=(s.right-s.left)/d,r=(s.bottom-s.top)/d),4===o.ttV&&(d=t.zoom(),n=(s=(0,c.getLineShapeBoundByPoints)(o.ctV.getPoints())).left/d,i=s.top/d),a=n,h=i,n+e>(u=V.maxColumnWidth)&&(n-=n+e-u),i+r>(x=V.maxRowHeight)&&(i-=i+r-x),i<0&&(i=0),n<0&&(n=0),{deltaX:n-a,deltaY:i-h}}function gt(t,V){return JSON.stringify(t.toJSON(V))}function At(t){var V,n,i;return V=4===t.ttV?(0,c.getLineShapeBoundByPoints)(t.KVV()):{left:n=t.x(),top:i=t.y(),right:n+t.width(),bottom:i+t.height()}}function pt(t,V,n){var e,c,o,s,d,a=t.WVV(),h=a.fromSheet;return a.fromSheet=t,a.isCutting=n,(e=V.names).length?(c=[],o=[],s=e.map((function(V){var i=t.shapes.get(V);return c.push(i),o.push(At(i)),gt(i,{isCopy:!n,isCut:n})})),d=(0,r.getShapeNameList)(c),h&&(h.$VV=J),i.Commands.fI(t.parent),t.$VV={shapeJsonList:s,bound:V.bound,boundList:o,names:V.names,allNameList:d},n&&(V.shapeJsonList=s.concat([])),!0):(t.$VV=J,!1)}function vt(t){var V,n,i=t&&t.shapeData;if(i)return i.sp?V=i.sp.spPr:i.cxnSp?V=i.cxnSp.spPr:i.pic?V=i.pic.spPr:i.grpSp?V=i.grpSp.grpSpPr:i.graphicFrame&&(V=i.graphicFrame),(n=V&&V.xfrm.ext)?{width:n.cx,height:n.cy}:void 0}function wt(t,V){var n,i,e=JSON.parse(V),r=e.shapeData;return r&&(r.sp&&r.sp.control?n=new a.FormControlShape(t):r.sp?n=new o.Shape(t):r.cxnSp?n=new s.ConnectorShape(t):r.grpSp?n=new h.GroupShape(t):r.pic?n=r.pic.cameraTool?new u.CameraShape(t):new d.PictureShape(t):(i={sheet:t,json:e},g.ShapeCollection.et(t.shapes,"createShapeWhenFromJSON",i),n=i.shape),n&&(t.LtV=[],n.fromJSON(e),delete t.LtV)),n}function jt(t,V,n){var e,r=i.mt.b_e(t),c=0,o=0;return r.length>0?(c=(e=It(t,r)).left,o=e.top):(c=(0,A.getX)(t,n,0),o=(0,A.getY)(t,V,0)),{x:c,y:o}}function bt(t,V,n,i){var e=15,c=.1,o=jt(t,n,i),s=r.Common.calculateBoundByRects(V),d=t.shapes.all(),a=function(t,V){return d.some((function(n){return W(n.x()-t)<=c&&W(n.y()-V)<=c}))};return V.map((function(t){var V=o.x+t.left-s.left,n=o.y+t.top-s.top;return a(V,n)&&(V+=e,n+=e),{x:V,y:n}}))}function Lt(t,V,n,i,e){var r,c,o,s,d,a,h;return V&&(4===V.ttV?V.tnV(!0):V.tnV(),V.formulaFromJSON(),3===V.ttV&&V.updateRelativeLocationSize&&V.updateRelativeLocationSize(),e&&(r=vt(JSON.parse(i)))&&(V.getFormula("width")||V.width(r.width),V.getFormula("height")||V.height(r.height)),c=V.width(),o=V.height(),t.shapes.ZP(V,!0),V.isSelected(!0),V.VnV=!0,V.x(n.x),V.y(n.y),s=V.x(),d=V.y(),h=lt(t,a=yt(t),s,d,c,o,V),4===V.ttV?V.nnV(at(V.KVV(),h.deltaX,h.deltaY)):V.resize(s+h.deltaX,d+h.deltaY,c,o),delete V.VnV),V}function mt(t,V){var n=t.shapes.all();Array.isArray(n)&&n.forEach((function(t){t.isSelected(V)}))}function Ct(t,V,n,i,e){var r,c,o,s,d,a=t.parent,h=[];if(null==e)for(c=(r=null!=n)?n.length:i.length,o=0;o<c;o++)h.push(t.shapes.get(r?n[o].name:i[o]));else h=e;a&&V._oldPosition&&h[0]&&(s=h[0].startRow(),d=h[0].startColumn(),a.changeSelectionInCommandExecuting(V,s,d,[],h),V._oldPosition.X3=!0)}function Rt(t,V,n){var i,e,r,c,o,s;if(t&&V)for(e=0,r=(i=n?V.oldValues:V.values).length;e<r;e++)o=(c=i[e])[0],s=c[1],o===l.ADJUSTMENTS?t.ndV(s,!1):t[o]&&t[o].call(t,s)}function It(t,V){var n,i=V.map((function(V){if((n=t.shapes.get(V))&&n.ctV)return n.ctV}));return(0,c.getBoundForHoldShapes)(i,!0)}function Mt(t){return function(V,n){var r,c,o,s,d,a,h,u,l,g,A=i.Commands.Tp(V,n),p=0;if(0===t?p=-1:2===t&&(p=1),r=0,1===t?r=-1:3===t&&(r=1),c=[],o=A.shapeLayers[0],(s=(0,x.getSelectedShapesUI)(A)).length<=0)return!1;for(d=A.shapes,a=p>0?(0,f.getRightMostShape)(s):(0,f.getLeftMostShape)(s),d.getSnapMode()!==e.SnapMode.none&&0!==p&&0!==(h=(0,y.getMoveOffsetByDirection)({targetShape:a,boundType:p>0?2:1,direction:0,moveDirection:p>0?0:1}))&&(p=h),u=r>0?(0,f.getBottomMostShape)(s):(0,f.getTopMostShape)(s),d.getSnapMode()!==e.SnapMode.none&&0!==r&&0!==(h=(0,y.getMoveOffsetByDirection)({targetShape:u,boundType:r>0?2:1,direction:1,moveDirection:r>0?0:1}))&&(r=h),l=0;l<s.length;l++)o.moveShape(s[l],p,r);return g=(g=o.getConnectionLines(s[0])).filter((function(t,V,n){return n.indexOf(t)===V})),c=c.concat(o.getMoveShapesChanges(s,g)),A.Qy().execute({cmd:b,sheetName:A.name(),changes:c})}}Object.defineProperty(V,"__esModule",{value:!0}),V.DragCopyShapesUndoAction=V.DeleteShapesUndoAction=V.PasteShapesUndoAction=V.CutShapesUndoAction=V.CopyShapesUndoAction=V.UpdateShapesPointsUndoAction=V.UpdateShapesUndoAction=V.RotateShapeUndoAction=V.MovingResizingShapeUndoAction=void 0,i=n("Core"),e=n("./dist/plugins/shape/shape.interface.js"),r=n("./dist/plugins/shape/ui/util.js"),c=n("./dist/plugins/shape/ui/compoundShape.js"),o=n("./dist/plugins/shape/shapeView.js"),s=n("./dist/plugins/shape/connectorView.js"),d=n("./dist/plugins/shape/pictureShapeView.js"),a=n("./dist/plugins/shape/formControlView.js"),h=n("./dist/plugins/shape/groupShapesView.js"),u=n("./dist/plugins/shape/cameraShapeView.js"),x=n("./dist/plugins/shape/shape-spreadjs.js"),f=n("./dist/plugins/shape/ui/shapes.js"),y=n("./dist/plugins/shape/ui/shape-alignment.js"),l=n("./dist/plugins/shape/geometryService/controlPointService.js"),g=n("./dist/plugins/shape/shapeCollection.js"),A=n("./dist/plugins/shape/util/sheetUtil.js"),p=n("./dist/plugins/shape/util/viewUtil.js"),v=i.Commands.ActionBase,w=r.Common.Rh,j=i.Commands.zA,b="moveShapes",L="moveShapesUp",m="moveShapesDown",C="moveShapesLeft",R="moveShapesRight",I="navigationNextShape",M="navigationPreviousShape",_="isSelected",E="selectAllShapes",S="unSelectAllShapes",F="copyShapes",X="pasteShapes",Y="cutShapes",O="dragCopyShapes",T="deleteShapes",P="deleteShapesByBackspaceKey",N="resizeShapes",D="rotateShapes",U="updateShapes",q="updateConnectShapePoints",k="openTextEditor",B="submitShapeText",Z="moveShapesByHAlign",H="moveShapesByVAlign",z="moveShapesByHDistribute",Q="moveShapesByVDistribute",G="downloadShapeBaseObjects",J=null,W=Math.abs,K=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return!0},V.prototype.execute=function(){var t,V,n,e,r=this,c=!1,o=r.tT,s=o.changes,d=r.Mf;if(r.canExecute()&&Array.isArray(s)){for(d.shapes.V2(),Ct(d,o,s),i.Commands.startTransaction(this.Mf.getParent(),this.tT),t=yt(d),V=function(V,n){var i,e,r,c,o,a,h,u,x=s[V],f=d.shapes.get(x.name),y=void 0,l=void 0,g=f.x()+x.offsetX,A=f.y()+x.offsetY,p=f.width()+x.offsetWidth,v=f.height()+x.offsetHeight,w=lt(d,t,g,A,p,v,f);y=w.deltaX,l=w.deltaY,i=x.startConnector,e=x.endConnector,r=x.childrenChanges,void 0===i&&void 0===e||4!==f.ttV||(void 0!==i&&f.startConnector(i,!0),void 0!==e&&f.endConnector(e,!0)),x.points?(c=f.x(),o=f.y(),a=f.width(),h=f.height(),f.nnV(at(x.points,y,l)),0!==x.offsetX&&f.enV("x",c),0!==x.offsetY&&f.enV("y",o),0!==x.offsetWidth&&f.enV("width",a),0!==x.offsetHeight&&f.enV("height",h)):f.resize(g+y,A+l,p,v),x.lineChanges&&x.lineChanges.length&&(u=d.zoom(),x.lineChanges.forEach((function(t){var V,n=d.shapes.get(t.name);d.shapeLayers[0].layoutConnectionLine(n.ctV),V=n.ctV.getPoints().map((function(t){return{x:t.x/u,y:t.y/u}})),n.nnV(V)}))),r&&r.length>0&&r.forEach((function(t){var V,n=f.find(t.name),i=f.x(),e=f.y(),r=f.width(),c=f.height();n&&(V=n.inV.map((function(t){return{x:i+t.relativeX*r,y:e+t.relativeY*c}})),n.nnV(V))}))},n=0,e=s.length;n<e;n++)V(n,e);d.shapes.Y2(),i.Commands.endTransaction(this.Mf.getParent(),this.tT),c=s.length>0}return c},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t,V,n,e,r,c,o,s,d=this,a=d.Mf;if(d.canUndo()){for(t=i.Commands.TI(a.name()),a.Ut.undo(d.tT[t]),n=(V=d.tT).changes,e=a.shapeLayers[0],r=0,c=n.length;r<c;r++)o=n[r],s=a.shapes.get(o.name),o.lineChanges&&a&&s&&e.updateConnectionLinesLayout(s.ctV);return a.cnV(),!0}return!1},V}(v),V.MovingResizingShapeUndoAction=K,$=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return!0},V.prototype.execute=function(){var t,V,n,e,r,c,o=this,s=!1,d=o.tT,a=d.changes,h=o.Mf;if(o.canExecute()&&Array.isArray(a)){for(Ct(h,d,a),i.Commands.startTransaction(this.Mf.getParent(),this.tT),t=0,V=a.length;t<V;t++)n=a[t],e=h.shapes.get(n.name),void 0!==(r=n.rotate)&&e.rotate&&(n.oldRotate=e.rotate(),e.Jli(r,!0)),(c=n.points)&&(n.oldPoints=e.KVV(),e.nnV(c));h.cnV(),i.Commands.endTransaction(this.Mf.getParent(),this.tT),s=a.length>0}return s},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t,V=this,n=V.tT,e=V.Mf;return!!V.canUndo()&&(t=i.Commands.TI(e.name()),e.Ut.undo(n[t]),e.cnV(),!0)},V}(v),V.RotateShapeUndoAction=$,tt=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.applyChanges=function(t,V,n,i){var e,r,c,o,s;for(e=0,r=V.length;e<r;e++)c=V[e],o=t.shapes.get(c),(s=n&&n[c])&&Rt(o,s,i)},V.prototype.execute=function(){var t=this,V=!1,n=t.tT,i=n.shapes,e=n.values,r=t.Mf;return t.canExecute()&&Array.isArray(i)&&(Ct(r,n,null,i),t.applyChanges(r,i,e,!1),r.cnV(),V=i.length>0),V},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t=this,V=t.tT,n=V.shapes,i=V.values,e=t.Mf;return!!t.canUndo()&&(t.applyChanges(e,n,i,!0),e.cnV(),!0)},V}(v),V.UpdateShapesUndoAction=tt,Vt=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return!0},V.prototype.execute=function(){var t,V,n,e=this,r=!1,c=e.tT,o=c.shapes,s=c.values,d=e.Mf;if(e.canExecute()&&s){for(Ct(d,c,null,o),i.Commands.startTransaction(this.Mf.getParent(),this.tT),t=0,V=o.length;t<V;t++)(n=d.shapes.get(o[t])).nnV(s[o].points);i.Commands.endTransaction(this.Mf.getParent(),this.tT),d.cnV(),r=o.length>0}return r},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t,V=this,n=V.Mf;return!!V.canUndo()&&(t=i.Commands.TI(n.name()),n.Ut.undo(V.tT[t]),n.cnV(),!0)},V}(v),V.UpdateShapesPointsUndoAction=Vt,i.Commands[C]=Mt(0),i.Commands[L]=Mt(1),i.Commands[R]=Mt(2),i.Commands[m]=Mt(3),i.Commands[b]={canUndo:!0,execute:function(t,V,n){return j(t,K,V,n)}},nt=function(t){return{canUndo:!0,execute:function(V,n,e){var r,c,o,s,d,a;if(e)return j(V,K,n,e);if(r=i.Commands.Tp(V,n),c=n.shapeNames.map((function(t){return r.shapes.get(t).ctV})),o=r.shapeLayers[0],c.length<=0)return!1;switch(d=!0,t){case 0:s=(0,y.align)(c,n.alignment,0);break;case 1:d=!1,s=(0,y.align)(c,n.alignment,1);break;case 2:s=(0,y.distribute)(c,0);break;case 3:d=!1,s=(0,y.distribute)(c,1)}return!(s.length<1)&&(a=[],s.forEach((function(t,V){var n;n=d?o.createShapeAlignChanges(o.getShapeById(t.id),c,t.offset,0):o.createShapeAlignChanges(o.getShapeById(t.id),c,0,t.offset),1===c[V].ttV?a.unshift(n):a.push(n)})),n.changes=a,j(V,K,n,e))}}},i.Commands[Z]=nt(0),i.Commands[H]=nt(1),i.Commands[z]=nt(2),i.Commands[Q]=nt(3),i.Commands[S]={canUndo:!1,execute:function(t,V){var n=i.Commands.Tp(t,V);return!!(0,x.hasSelectedShape)(n)&&(n.suspendPaint(),mt(n,!1),n.resumePaint(),!0)}},i.Commands[E]={canUndo:!1,execute:function(t,V){var n=i.Commands.Tp(t,V);return!!(0,x.hasSelectedShape)(n)&&(n.suspendPaint(),mt(n,!0),n.resumePaint(),!0)}},i.Commands[I]={canUndo:!1,execute:function(t,V){var n,e,r,c,o,s,d,a=i.Commands.Tp(t,V);if((0,x.hasSelectedShape)(a)){if(a.suspendPaint(),n=void 0,e=void 0,r=void 0,c=void 0,(s=(o=a.shapes.all()).length)<2)return a.resumePaint(),!0;for(c=0;c<s;c++){if(d=o[c],e||(e=d),n){r=d;break}d&&d[_]()&&(n=d)}return mt(a,!1),r||(r=e),r&&r.isSelected(!0),a.resumePaint(),!0}return!1}},i.Commands[M]={canUndo:!1,execute:function(t,V){var n,e,r,c,o,s,d=i.Commands.Tp(t,V);if((0,x.hasSelectedShape)(d)){if(d.suspendPaint(),n=void 0,e=void 0,r=void 0,(o=(c=d.shapes.all()).length)<2)return d.resumePaint(),!0;for(r=0;r<o;r++)if(s=c[r],n||(n=s),n[_]())e=s;else if(s[_]()||(e=s),s[_]())break;return e&&(mt(d,!1),e.isSelected(!0)),d.resumePaint(),!0}return!1}},i.Commands[N]={canUndo:!0,execute:function(t,V,n){return j(t,K,V,n)}},i.Commands[D]={canUndo:!0,execute:function(t,V,n){return j(t,$,V,n)}},i.Commands[U]={canUndo:!0,execute:function(t,V,n){return j(t,tt,V,n)}},i.Commands[q]={canUndo:!0,execute:function(t,V,n){return j(t,Vt,V,n)}},i.Commands[k]={canUndo:!1,execute:function(t,V){var n,e,r,c,o=i.Commands.Tp(t,V);return V.shapeName?(r=o.shapes.get(V.shapeName))&&(0,f.isCanEditTextShape)(r)&&(n=r.ctV,e=1):(n=(0,x.getFocusedShape)(o),e=2),!!n&&((c=f.ShapeTextEditor.getInstance()).isOpened||c.initEditor(n.JVV),c.showEditor(e),!0)}},i.Commands[B]={canUndo:!0,execute:function(t,V,n){return j(t,tt,V,n)}},it=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return!0},V.prototype.execute=function(){var t,V,n,e=this,r=e.Mf,c=e.tT.copyData;if(e.canExecute()){if(t=c.names.map((function(t){return r.shapes.get(t)})),V={sheet:r,sheetName:r.name(),objects:t,isCutting:!1,cancel:!1,action:i.ClipboardActionType.copy},r.ki(i.Events.ClipboardChanging,V),!V.cancel)return n=pt(r,c,!1),r.ki(i.Events.ClipboardChanged,{sheet:r,sheetName:r.name(),objects:t}),n;e.tT.JD=!0}return!1},V.prototype.canUndo=function(){return!1},V}(v),V.CopyShapesUndoAction=it,i.Commands[F]={canUndo:!1,execute:function(t,V,n){var e,r,c=i.Commands.Tp(t,V);return!!c&&(0!==(e=i.mt.b_e(c)).length&&(V.copyData={names:e,bound:It(c,e)},(r=j(t,it,V,n))&&c.dP&&(c.dP=J),r))}},et=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return this.tT.copyData.names.length>0},V.prototype.execute=function(){var t,V,n=this,e=n.Mf,r=this.tT,c=r.copyData;if(n.canExecute()){if(Ct(e,r,null,c.names),i.Commands.startTransaction(this.Mf.getParent(),this.tT),t=c.names.map((function(t){return e.shapes.get(t)})),V={sheet:e,sheetName:e.name(),objects:t,isCutting:!0,cancel:!1,action:i.ClipboardActionType.cut},e.ki(i.Events.ClipboardChanging,V),!V.cancel)return c.names.forEach((function(t){xt(t,e)})),e.cnV(),e.ki(i.Events.ClipboardChanged,{sheet:e,sheetName:e.name(),objects:t}),i.Commands.endTransaction(this.Mf.getParent(),this.tT),!0;r.JD=!0}return!1},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t=this,V=t.Mf,n=i.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},V}(v),V.CutShapesUndoAction=et,i.Commands[Y]={canUndo:!0,execute:function(t,V,n){var e,r,c=i.Commands.Tp(t,V),o=V.copyData;if(!o){if(0===(e=i.mt.b_e(c)).length)return!1;pt(c,o={names:e,bound:It(c,e)},!0),V.copyData=o,V.cmd=Y}return(r=j(t,et,V,n))&&c.dP&&(c.dP=J),r}},rt=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return this.tT.pasteData.shapeJsonList.length>0},V.prototype.execute=function(){var t,V,n,e,c,o,s,d,a,h,u,x,f,y,l,g=this,A=g.Mf,p=g.tT,v=p.pasteData,j=[];return!!g.canExecute()&&(i.Commands.startTransaction(this.Mf.getParent(),this.tT),A.suspendPaint(),n=v.positions,e=v.fromSheetName,o=(c=v.shapeJsonList).map((function(t){return wt(A,t)})).filter((function(t){return!!t})),s=A.name()!==e,d=[],a=!1,(h=A.parent.Gm(v.fromSheetName))._gi===i.SheetType.reportSheet&&h.getSheet&&(h=h.getSheet()),u={sheet:A,sheetName:A.name(),objects:o,fromSheet:h,isCutting:v.isCutting,cancel:!1,action:v.isCutting?i.ClipboardActionType.cut:i.ClipboardActionType.copy},A.ki(i.Events.ClipboardPasting,u),u.cancel||(h!==A&&mt(h,!1),mt(A,!1),o.forEach((function(i,e){4===(i=Lt(A,i,n[e],c[e],s)).ttV&&(t=i.startConnector(),V=i.endConnector(),(t||V)&&d.push(i)),3===i.ttV&&(d=d.concat((0,r.getLineShapeInGroup)(i))),j.push(i.name())})),d.length>0&&(x=v.allNameList,f=(0,r.getShapeNameList)(o),d.forEach((function(n){t=n.startConnector(),V=n.endConnector(),t&&((y=w(t.name,x))>-1?n.startConnector({name:f[y],index:t.index},!0):w(t.name,f)>-1?n.startConnector(t,!0):n.startConnector(null)),V&&((y=w(V.name,x))>-1?n.endConnector({name:f[y],index:V.index},!0):w(V.name,f)>-1?n.endConnector(V,!0):n.endConnector(null))}))),Ct(A,p,null,null,o),l={sheet:A,sheetName:A.name(),objects:o,fromSheet:h,isCutting:v.isCutting,action:v.isCutting?i.ClipboardActionType.cut:i.ClipboardActionType.copy},A.ki(i.Events.ClipboardPasted,l),a=!0),i.Commands.endTransaction(this.Mf.getParent(),this.tT),v.names=j,A.resumePaint(),a||(p.JD=!0),a)},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t=this,V=t.Mf,n=i.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},V}(v),V.PasteShapesUndoAction=rt,i.Commands[X]={canUndo:!0,execute:function(t,V,n){var e,r,c,o,s,d,a,h=i.Commands.Tp(t,V),u=V.pasteData;if(V.cmd=X,!u){if(!(c=(r=(e=h.WVV()).fromSheet)&&r.$VV))return!1;o=h.getActiveRowIndex(),s=h.getActiveColumnIndex(),u={positions:a=bt(h,d=c.boundList,o,s),shapeJsonList:c.shapeJsonList.concat([]),allNameList:c.allNameList.concat([]),fromSheetName:r.name(),drawingDataMap:c.drawingDataMap,isCutting:e.isCutting},V.pasteData=u}return j(t,rt,V,n)}},ct=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return this.tT.deleteData&&this.tT.deleteData.names.length>0},V.prototype.execute=function(){var t=this,V=t.Mf,n=this.tT,e=n.deleteData;return!!t.canExecute()&&(t.X5(V,!0),Ct(V,n,null,e.names),i.Commands.startTransaction(this.Mf.getParent(),this.tT),e.names.forEach((function(t){xt(t,V)})),i.Commands.endTransaction(this.Mf.getParent(),this.tT),t.q5(V,!0),!0)},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t=this,V=t.Mf,n=i.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},V}(v),V.DeleteShapesUndoAction=ct,i.Commands[T]={canUndo:!0,execute:function(t,V,n){var e,r,c;if(V.cmd=T,e=i.Commands.Tp(t,V),!(r=V.deleteData)){if(0===(c=i.mt.b_e(e)).length)return!1;r={names:c},V.deleteData=r}return j(t,ct,V,n)}},ot=function(t){function V(V,n){return t.call(this,V,n)||this}return st(V,t),V.prototype.canExecute=function(){return!0},V.prototype.execute=function(){var t,V,n,e,r,c,o=this,s=o.tT,d=s.changes,a=o.Mf;for(e=0,r=d.length;e<r;e++)(t=a.shapes.get(d[e].name))||(t=a.shapes.get(d[e].oldShapeName).Gf(),a.shapes.ZP(t),t.name(d[e].name)),V=t.x(),n=t.y(),t.resize(V+d[e].offsetX,n+d[e].offsetY,t.width(),t.height()),3===t.ttV&&t.layoutChildren(),4===t.ttV&&(t.startConnector(t.startConnector(),!0),t.endConnector(t.endConnector(),!0));return Ct(a,s,d),s[c=i.Commands.TI(a.name())]=d.concat([]),!0},V.prototype.canUndo=function(){return!0},V.prototype.undo=function(){var t,V,n,e=this.Mf,r=i.Commands.TI(e.name()),c=this.tT[r];for(V=0,n=c.length;V<n;V++)e&&(e.shapes.remove(c[V].name),(t=e.shapes.get(c[V].oldShapeName))&&t.isSelected(!0));return!0},V}(v),V.DragCopyShapesUndoAction=ot,i.Commands[O]={canUndo:!0,execute:function(t,V,n){return j(t,ot,V,n)}},i.Commands[G]={canUndo:!1,execute:function(t,V){var n=V.shapes,i=V.sheet,e=i.zoom(),r=(0,p.getShapeBaseObjectsCanvas)(n,e),c=1===n.length?n[0].name():"SpreadShapes",o=document.createElement("a");return o.href=r.toDataURL("image/png"),o.download=c,o.click(),!0}},i.Commands.rnV=function(t){var V=i.mt.Tt,n=i.mt.Qf(),e=!n,r=n;t.register(b,i.Commands[b]),t.register(O,i.Commands[O]),t.register(L,i.Commands[L],38,!1,!1,!1,!1),t.register(m,i.Commands[m],40,!1,!1,!1,!1),t.register(C,i.Commands[C],37,!1,!1,!1,!1),t.register(R,i.Commands[R],39,!1,!1,!1,!1),t.register(I,i.Commands[I],9,!1,!1,!1,!1),t.register(M,i.Commands[M],9,!1,!0,!1,!1),t.register(S,i.Commands[S],27,!1,!1,!1,!1),t.register(E,i.Commands[E],65,e,!1,!1,r),V.msie||V.edge?(t.register(F,i.Commands[F],67,e,!1,!1,r),t.register(X,i.Commands[X],86,e,!1,!1,r),t.register(Y,i.Commands[Y],88,e,!1,!1,r)):(t.register(F,i.Commands[F]),t.register(X,i.Commands[X]),t.register(Y,i.Commands[Y])),t.register(T,i.Commands[T],46,!1,!1,!1,!1),t.register(P,i.Commands[T],8,!1,!1,!1,!1),t.register(N,i.Commands[N]),t.register(D,i.Commands[D]),t.register(U,i.Commands[U]),t.register(q,i.Commands[q]),t.register(k,i.Commands[k],13,!1,!1,!1,!1),t.register(B,i.Commands[B]),t.register(Z,i.Commands[Z]),t.register(H,i.Commands[H]),t.register(z,i.Commands[z]),t.register(Q,i.Commands[Q]),t.register(G,i.Commands[G])}},"./dist/plugins/shape/shape-io.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P,N,D,U,q,k;function B(t,V,n,e){var r,c,o,s,d,a,x,f;(0,v.recalculateScroll)(t),(r=e&&!1===e.includeStyles)||(c=t.shapes,V.lossless&&Lt(c,V.lossless.shapeCollectionOption),(o=E(V,n))&&0!==o.c_.length&&(s=i.Util.Co(e),d=(0,h.readControlsNode)(V,n),a=D(V,q),x=a&&i.Util.Gr(V.rels,a[U],n),f=c._sV,u.GeometryServiceManager.startCache(),f.suspendUpdateShapeUICache(),(0,v.updateWorksheetXYCoordinateCacheImp)(t,t.getRowCount(),t.getColumnCount()),t.LtV=[],p.ShapeCollection.et(c,"beforeFromSJSFormat"),o.c_.forEach((function(V){Z(t,V,d,x,o,s,n)})),nt(t),f.resumeUpdateShapeUICache(),(0,v.clearWorksheetXYCoordinateCache)(t),u.GeometryServiceManager.endCache()))}function Z(t,V,n,i,e,r,s){var u,A,v,w,j,b,L,m=t.shapes;V.AlternateContent&&(V=V.AlternateContent.Choice),V.twoCellAnchor?(v=V.twoCellAnchor,w=0):V.oneCellAnchor?(v=V.oneCellAnchor,w=1):V.absoluteAnchor&&(v=V.absoluteAnchor,w=2),v&&(v.sp?(u=v.sp,j=N(v.sp.nvSpPr.cNvPr.name),A=(0,h.markSJSFormControl)(u,n,i)?new y.FormControlShape(t,j):new c.Shape(t,j)):v.cxnSp?(u=v.cxnSp,A=new x.ConnectorShape(t,N(v.cxnSp.nvCxnSpPr.cNvPr.name))):v.grpSp?(u=v.grpSp,(0,h.markGroupChildrenSJSFormControl)(u,n,i),A=new l.GroupShape(t,N(v.grpSp.c_[a.NvGrpSpPrNodeIndex].nvGrpSpPr.cNvPr.name))):v.pic&&!(0,d.isFloatingObjectPicture)(v.pic)?(u=v.pic,b=N(v.pic.nvPicPr.cNvPr.name),A=(0,o.isCameraShapeNode)(u)?new g.CameraShape(t,b):new f.PictureShape(t,b)):(L={anchorData:v,sheet:t},p.ShapeCollection.et(t.shapes,"createShapeWhenFromSJSFormat",L),u=L.drawingData,A=L.shape),A&&(r&&_(t,v,k,s),v.anchorType=w,ot(v,e,i,s),A.yh(u,v),A.tnV(),A.leV(),m.ZP(A,!0),r&&bt(t,A,s)))}function H(t,V,n,i,e){var r,c,o,s,d=i&&!1===i.includeStyles;d||((r=mt(t.shapes))&&(V.lossless||(V.lossless={}),V.lossless.shapeCollectionOption=r),c=It(t,i),(o=t.shapes.all().filter(W)).length<=0&&c.length<=0||(s=t.parent.Cp,F(V,s),(0,h.hasFormControl)(o)&&(Y(V,s),V.c_.push((0,h.createEmptySheetControlsNode)()),V.r_||(V.r_=[]),V.r_.push(5,1))))}function z(t,V,n,e){var r,c,o,s,d,a=e&&!1===e.includeStyles;a||(r=e&&!1===e.includeFormulas,c=e&&e.gp,o=e&&e.newWorkSheetName,s={data:V,saveOptions:e},d={type:"shapes",sheets:[],fileType:null==e?void 0:e.fileType},i.Workbook.et(t,"getAdditionalWorksheetToSJSFormat",d),t.sheets.concat(d.sheets).forEach((function(t){var n,i,d,a,u,x,f,y=It(t,e);Rt(t),n=t.shapes.all().filter(W),(n=y.concat(n)).length<=0||(i=M(V,t.name()),d=(0,h.findControlsNode)(i),a=S(V,i),u=X(V,i),x=O(t.wp,u),f=a.c_,n.forEach((function(t){var n=t.wh(r,c,o,s);lt(n,a.rels,V,e),f.push(jt(n))})),(0,h.processFormControlsWhenToSJSFormat)(f,V,i,d,u,x))})))}function Q(t,V,n,i){var e,r,c=i&&i.ignoreStyle;c||((e=V.shapes)&&(u.GeometryServiceManager.startCache(),p.ShapeCollection.et(t.shapes,"beforeFromJSON"),t.LtV=[],e.forEach((function(V){(r=J(t,V))&&t.shapes.ZP(r,!0)})),nt(t),u.GeometryServiceManager.endCache()),Lt(t.shapes,V.shapeCollectionOption),(0,v.recalculateScroll)(t))}function G(t,V,n){var i,e,r,c,o,s,d=n&&n.ignoreStyle;d||(i=n&&n.ignoreFormula,e=n&&n.gp,r=n&&n.newWorkSheetName,c=n&&n.isServer,(o=t.shapes.all()).length>0&&(V.shapes=o.map((function(t){return t.toJSON({isServer:c,ignoreFormula:i,isPrint:e,newWorkSheetName:r,fileType:null==n?void 0:n.cb})}))),(s=mt(t.shapes))&&(V.shapeCollectionOption=s))}function J(t,V){var n,i,e=V.name,r=V.shapeType;return 5===r?((n=new c.Shape(t,e)).fromJSON(V),n.tnV()):4===r?((n=new x.ConnectorShape(t,e)).fromJSON(V),n.tnV()):3===r?((n=new l.GroupShape(t,e)).fromJSON(V),n.tnV(),n.updateRelativeLocationSize()):1===r?((n=V.shapeData&&V.shapeData.pic&&V.shapeData.pic.cameraTool?new g.CameraShape(t,e):new f.PictureShape(t,e)).fromJSON(V),n.tnV()):7===r?((n=new y.FormControlShape(t,e)).fromJSON(V),n.tnV()):(i={sheet:t,json:V},p.ShapeCollection.et(t.shapes,"createShapeWhenFromJSON",i),(n=i.shape)&&(n.fromJSON(V),n.tnV())),n}function W(t){return!0}function K(t,V,n){var i,e,r,c;if(V=n&&n[V]||V,t)for(i=0,e=t.length;i<e;i++){if((r=t[i]).ytV.Id===V)return r;if(c=K(r.tin,V))return c}}function $(t,V){var n,i,e,r;if(t)for(n=0,i=t;n<i.length;n++){if((e=i[n]).jKe()===V)return e;if(e instanceof l.GroupShape&&(r=$(e.tin,V)))return r}}function tt(t,V,n,i){return n?$(t,n):K(t,V,i)}function Vt(t,V){return K(t,V.Id)}function nt(t){var V,n,i=t.LtV;i.length>0&&(V=t.shapeLayers[0].model.idMaps,n=t.shapes.all(),i.forEach((function(t){var i,e,r,c,o=t.target,s=[void 0,void 0],d=tt(n,t.beginId,t.beginUUID,V);d&&(i=d.ytV.Name,o.wtV=i,s[0]={name:i,index:t.beginConnectionSite,shape:d}),(e=tt(n,t.endId,t.endUUID,V))&&(r=e.ytV.Name,o.ptV=r,s[1]={name:r,index:t.endConnectionSite,shape:e}),(c=Vt(n,o.ytV))instanceof x.ConnectorShape&&(0,A.syncConnectors)(s,c)})))}function it(t,V,n){var i=t&&t.blipFill,e=i&&i.blip;e&&(e.blipBlob=T(e["r:embed"],V,n))}function et(t,V){if(t){var n=R(V.c_,t["r:id"]);n&&(t.Target=n.Target,t.TargetMode=n.TargetMode)}}function rt(t,V){var n;t&&et(t.hlinkClick||t.hlinkHover,V)}function ct(t,V,n){c.ShapeBase.et(j,"processRelationFilesWhenFromSJSFormat",{node:t,drawing:V,sjsCommonInfo:n})}function ot(t,V,n,i){var e=V.rels;t.sp?st(t.sp,V,n,i):t.cxnSp?dt(t.cxnSp,e,i):t.pic?at(t.pic,e,i):t.grpSp?ht(t.grpSp,V,n,i):ct(t,V,i)}function st(t,V,n,i){var e=V.rels;it(t.spPr,e,i),rt(t.nvSpPr.cNvPr,e)}function dt(t,V,n){it(t.spPr,V,n),rt(t.nvCxnSpPr.cNvPr,V)}function at(t,V,n){it(t,V,n),it(t.spPr,V,n),rt(t.nvPicPr.cNvPr,V)}function ht(t,V,n,i){if(t){var e=V.rels;t.c_.forEach((function(t){t.nvGrpSpPr?rt(t.nvGrpSpPr.cNvPr,e):t.grpSpPr?it(t.grpSpPr,e,i):t.sp?st(t.sp,V,n,i):t.cxnSp?dt(t.cxnSp,e,i):t.pic?at(t.pic,e,i):t.n_===a.GrpSpNodeName?ht(t,V,n,i):ct(t,V,i)}))}}function ut(t,V,n){var i,e,r,c=t&&t.blipFill,o=c&&c.blip;o&&(e=(i=o.blipBlob)&&i.blob)&&(delete o.blipBlob,(r=P(e,V,n))&&(o["r:embed"]=r))}function xt(t,V){var n,e,r,c;t&&(n=t.Target)&&(e=t.TargetMode,delete t.Target,delete t.TargetMode,r=i.XFileConstants.Rr+I(V),t["r:id"]=r,t.r_=[8],c={n_:i.XFileConstants.Lr,Id:r,Type:i.RelationshipConstants.pc,Target:n},e&&(c.TargetMode=e),V.c_.push(c))}function ft(t,V){var n;t&&xt(t.hlinkClick||t.hlinkHover,V)}function yt(t,V,n,i){c.ShapeBase.et(j,"processRelationFilesWhenToSJSFormat",{node:t,rels:V,data:n,saveOptions:i})}function lt(t,V,n,i){t.sp?gt(t.sp,V,n):t.cxnSp?At(t.cxnSp,V,n):t.pic?pt(t.pic,V,n):t.grpSp?vt(t.grpSp,V,n,i):yt(t,V,n,i)}function gt(t,V,n){ut(t.spPr,V,n),ft(t.nvSpPr.cNvPr,V)}function At(t,V,n){ut(t.spPr,V,n),ft(t.nvCxnSpPr.cNvPr,V)}function pt(t,V,n){ut(t,V,n),ut(t.spPr,V,n),ft(t.nvPicPr.cNvPr,V)}function vt(t,V,n,i){t&&t.c_.forEach((function(t){t.nvGrpSpPr?ft(t.nvGrpSpPr.cNvPr,V):t.grpSpPr?ut(t.grpSpPr,V,n):t.sp?gt(t.sp,V,n):t.cxnSp?At(t.cxnSp,V,n):t.pic?pt(t.pic,V,n):t.n_===a.GrpSpNodeName?vt(t,V,n,i):yt(t,V,n,i)}))}function wt(t){t.c_.forEach((function(V,n){V.sp&&(0,h.isSJSFormControlNode)(V.sp)||V.pic&&(0,o.isCameraShapeNode)(V.pic)?t.c_[n]=(0,h.wrapWithAlternateContentRequiresA14)(V):V.n_===a.GrpSpNodeName&&wt(V)}))}function jt(t){var V={twoCellAnchor:t};return t.sp&&(0,h.isSJSFormControlNode)(t.sp)||t.pic&&(0,o.isCameraShapeNode)(t.pic)?V=(0,h.wrapWithAlternateContentRequiresA14)(V):t.grpSp&&wt(t.grpSp),V}function bt(t,V,n){var e,r,c,o,s,d,a,h,u,x,f,y,l;V.ctV&&(c=(r=(e=V.ctV).kg||{left:0,right:e.width,top:0,bottom:e.height}).left,o=r.right,s=r.top,d=r.bottom,c+=e.left,o+=e.left,s+=e.top,d+=e.top,0!==(a=e.angle%360)&&(h={x:c+(o-c)/2,y:s+(d-s)/2},u=m(a),(x=[{x:c,y:s},{x:c,y:d},{x:o,y:s},{x:o,y:d}]).forEach((function(t){var V=L(t,h,u);o=b(o,V.x),d=b(d,V.y)}))),f=t.zoom(),y=(0,w.getRowAndRowOffset)(t,d/f,!0).row,l=(0,w.getColAndColOffset)(t,o/f,!0).col,i.Util.So(t,y+k,l+k,n))}function Lt(t,V){C(V)||C(V.snapMode)||(t.MU.snapMode=V.snapMode)}function mt(t){var V={},n=t.MU.snapMode;if(n!==s.SnapMode.none&&(V.snapMode=n),Object.keys(V).length>0)return V}function Ct(t,V){var n=new f.PictureShape(t,V.name,V.shapeBase64Data,V.x,V.y,V.width,V.height);return n.startRow(V.startRow),n.startRowOffset(V.startRowOffset),n.startColumn(V.startColumn),n.startColumnOffset(V.startColumnOffset),n.endRow(V.endRow),n.endRowOffset(V.endRowOffset),n.endColumn(V.endColumn),n.endColumnOffset(V.endColumnOffset),n}function Rt(t){delete t.ysV}function It(t,V){var n,e=t.ysV;return e||(n={sheet:t,saveOptions:V,shapes:[]},i.Worksheet.et(t,"getExtraExportShapes",n),e=n.shapes.map((function(V){return Ct(t,V)})),t.ysV=e),e}Object.defineProperty(V,"__esModule",{value:!0}),V.toSJSAnchorWrapper=V.processDelaySetConnectors=V.shapeFromJSON=V.toJson=V.fromJson=V.toSJSFormatWhenWorkbook=V.toSJSFormat=V.shapeFromSJSFormat=V.fromSJSFormat=void 0,i=n("Core"),e=n("Common"),r=n("./dist/plugins/shape/ui/util.js"),c=n("./dist/plugins/shape/shapeView.js"),o=n("./dist/plugins/shape/cameraShape.js"),s=n("./dist/plugins/shape/shape.interface.js"),d=n("FloatingObject"),a=n("./dist/plugins/shape/groupShapes.js"),h=n("./dist/plugins/shape/formControl/formControl-io.js"),u=n("./dist/plugins/shape/geometryService/serviceManager.js"),x=n("./dist/plugins/shape/connectorView.js"),f=n("./dist/plugins/shape/pictureShapeView.js"),y=n("./dist/plugins/shape/formControlView.js"),l=n("./dist/plugins/shape/groupShapesView.js"),g=n("./dist/plugins/shape/cameraShapeView.js"),A=n("./dist/plugins/shape/util/viewUtil.js"),p=n("./dist/plugins/shape/shapeCollection.js"),v=n("./dist/plugins/shape/shape-spreadjs.js"),w=n("./dist/plugins/shape/util/sheetUtil.js"),j=void 0,b=Math.max,L=r.Common.rotatePoint,m=r.Common.toRadius,C=e.Common.lt.ht,R=i.Util.Sr,I=i.Util.wr,M=i.Util.ho,_=i.Util.To,E=i.Util.Ir,S=i.Util.Er,F=i.Util.jr,X=i.Util.Ur,Y=i.Util.Hr,O=i.Util.qr,T=i.Util.Zr,P=i.Util.Kr,N=i.util.n1,D=i.util.xr,U=i.XFileConstants.Ki,q=i.XFileConstants.Qi,k=1,V.fromSJSFormat=B,V.shapeFromSJSFormat=Z,V.toSJSFormat=H,V.toSJSFormatWhenWorkbook=z,V.fromJson=Q,V.toJson=G,V.shapeFromJSON=J,V.processDelaySetConnectors=nt,V.toSJSAnchorWrapper=jt},"./dist/plugins/shape/shape-spreadjs.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P,N,D,U,q,k,B,Z,H,z,Q,G,J,W,K,$,tt,Vt,nt,it,et,rt,ct,ot,st,dt=this&&this.qKr||(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])},at(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)}),at;function ht(t,V,n){return new o.Rect(t.x+V,t.y+n,t.width,t.height)}function ut(t,V,n){var i,e,r,c,s,d,a=t.yw(n),h=t.dw(V),u=a&&a.length,x=h&&h.length,f=t.options.rightToLeft;if(u>0&&x>0)return i=0,e=u-1,r=a[f?i:e],c=h[x-1],s=r.x+r.width-a[f?e:i].x,d=c.y+c.height-h[0].y,new o.Rect(a[f?e:i].x,h[0].y,s,d)}function xt(t,V,n,i){var e,r;if(i&&(e=ht(i,-t.scrollLeft,-t.scrollTop)),n){if(!(r=V.getIntersectRect(n)))return e;r=ht(r,-V.x,-V.y),e=e?e.getIntersectRect(r):r}return e}function ft(t,V,n){var i,e=0;for(i=V;i<=n;i++)e+=t.Kt(i);return e}function yt(t,V,n){var i,e=0;for(i=V;i<=n;i++)e+=t.Gt(i);return e}function lt(t){return!!t.isPaintSuspended()||t.shapes&&t.shapes.UrV()}function gt(t,V,n){if(0===V.changeType){var i=V.shape;"Object"===i.constructor.name&&(i=t.get(i.name)),i&&(pt(i,!0),i.onV=!0,i.AP(V.value,n),delete i.onV,pt(i,!1),i.anV())}else 1===V.changeType&&t.AP(V.value,n)}function At(t,V,n){V&&t.setExpression(V.id,V.name,n?V.newExpression:V.expression)}function pt(t,V){t.snV=V,t.ttV===c.CT_ShapeType.CT_GroupShape&&t.tin.forEach((function(t){pt(t,V)}))}function vt(t){var V,n,i=t.shapes;i?i.forEach(vt):(V=t.JVV)&&(n=(0,l.getFormulaSettingItems)(t,V.hnV))&&V.unV(n,!0)}function wt(t){var V;t.shapeLayers[0].model.shapes.forEach(vt)}function jt(t,V){Ct(t,V),Pt(t),t.Lj(t,[{row:V}],a.LayoutChangeType.rowChanged)}function bt(t,V,n){var i,e=0;for(1===n&&(e=-t.ly),i=0;i<V;i++)e+=t.Gt(i,3);return e}function Lt(t,V,n,i){var e,r=0;for(1===n&&(r=-t.my),e=0;e<V;e++)r+=t.nn(e,3);return t.options.rightToLeft&&(r=L(0,(0,v.getLastColumnX)(t)-r-i.width)),r}function mt(t){Ct(t),Rt(t)}function Ct(t,V){var n=t.isPaintSuspended(),i=M(V)?b:t.C0(V);t.shapeLayers.forEach((function(V,e){var r=m(e/3);(i===b||r>=i)&&(n?V.ssV=!0:Mt(t,V,r))}))}function Rt(t,V){var n=t.isPaintSuspended(),i=M(V)?b:t.S0(V);t.shapeLayers.forEach((function(V,e){var r=e%3;(i===b||r>=i)&&(n?V.dsV=!0:_t(t,V,r))}))}function It(t){t.shapeLayers.forEach((function(V,n){V.ssV&&Mt(t,V,m(n/3)),V.dsV&&_t(t,V,n%3)}))}function Mt(t,V,n){var i=t.getViewportTopRow(n);V.Tb=i,V.scrollTop=bt(t,i,n),V.ssV=!1}function _t(t,V,n){var i=t.getViewportLeftColumn(n);V.Ab=i,V.scrollLeft=Lt(t,i,n,V),V.dsV=!1}function Et(t,V){var n,i=0;for(n=0;n<V;n++)i+=t.Gt(n);return i}function St(t,V){var n,i=0;for(n=0;n<V;n++)i+=t.nn(n);return i}function Ft(t,V,n){var i,e,r,c,o,s,d=n.scrollTop,a=n.Tb,h=n.ly;if(0===V)a=t.Eve(),h=0,d=Et(t,a);else if(1===V)if(i=n.Tb,e=n.ly,a=t.getViewportTopRow(V),r=-e,c=-(h=t.ly),i>(o=t.getRowCount()))d=Et(t,a),d+=c;else if(a>i){for(d+=t.Gt(i)-r,s=i+1;s<a;s++)d+=t.Gt(s);d+=c}else if(a<i){for(d-=r,s=i-1;s>a;s--)d-=t.Gt(s);d-=t.Gt(a)-c}else d+=c-r;else if(2===V){if(i=n.Tb,a=t.getViewportTopRow(V),i>(o=t.getRowCount()))d=Et(t,a);else if(a>i)for(s=i;s<a;s++)d+=t.Gt(s);else if(a<i)for(s=i-1;s>=a;s--)d-=t.Gt(s);h=0}n.scrollTop=d,n.Tb=a,n.ly=h}function Xt(t,V,n){var i,e,r,c,o,s,d,a,h;if(t.options.rightToLeft)_t(t,n,V);else{if(i=n.scrollLeft,e=n.Ab,r=n.my,0===V)e=t.jve(),r=0,i=St(t,e);else if(1===V)if(c=n.Ab,o=n.my,e=t.getViewportLeftColumn(V),s=-o,d=-(r=t.my),c>(a=t.getColumnCount()))i=St(t,e),i+=r;else if(e>c){for(i+=t.nn(c)-s,h=c+1;h<e;h++)i+=t.nn(h);i+=d}else if(e<c){for(i-=s,h=c-1;h>e;h--)i-=t.nn(h);i-=t.nn(e)-d}else i+=d-s;else if(2===V){if(c=n.Ab,e=t.getViewportLeftColumn(V),c>(a=t.getColumnCount()))i=St(t,e),i+=r;else if(e>c)for(h=c;h<e;h++)i+=t.nn(h);else if(e<c)for(h=c-1;h>=e;h--)i-=t.nn(h);r=0}n.scrollLeft=i,n.Ab=e,n.my=r}}function Yt(t,V,n,e,r){var c=t.style;c.left===V+"px"&&c.top===n+"px"&&c.width===e+"px"&&c.height===r+"px"||(c.left=V+"px",c.top=n+"px",c.width=e+"px",c.height=r+"px",t.width=e,t.height=r,i.Bf.$l(t,e,r))}function Ot(t,V,n,i){var e,r,c,o,s,d,a,h,u=V.yw(i),x=V.dw(n),f=u&&u.length,y=x&&x.length,l=V.options.rightToLeft;f>0&&y>0&&(e=0,r=f-1,c=u[l?e:r],o=x[y-1],s=1===i?V.my:0,d=1===n?V.ly:0,a=c.x+c.width-(u[l?r:e].x-s),h=o.y+o.height-(x[0].y-d),t.width=Math.min(t.width,a),t.height=Math.min(t.height,h))}function Tt(t,V){var n=t.shapes;0!==n.all().length&&(t.options.rightToLeft||V)&&(n.all().forEach((function(t){t.ytV.xnV(),t.ytV.mtV(),t.lnV(),t.anV()})),V&&n.all().forEach((function(t){t.GiV()})),Rt(t),t.cnV())}function Pt(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()})),t.cnV()}function Nt(t){t.shapes.all().forEach((function(t){t.dynamicMove()&&t.ytV.xnV(),t.dynamicSize()&&t.ytV.mtV(),t.lnV(),t.anV()})),t.cnV()}function Dt(t){var V=0,n=0;return t.forEach((function(t){V=L(V,t.endRow()),n=L(n,t.endColumn())})),{row:V,col:n}}function Ut(t,V){var n,i=0,e=t.ddV=[];for(n=0;n<=V;n++)e[n]=i,i+=t.nn(n)}function qt(t,V){var n,i=0,e=t.odV=[];for(n=0;n<=V;n++)e[n]=i,i+=t.Gt(n)}function kt(t,V){var n=Dt(V),i,e;Bt(t,n.row,n.col)}function Bt(t,V,n){qt(t,V),Ut(t,n)}function Zt(t){t.ddV=j,t.odV=j}function Ht(t){mt(t),y.GeometryServiceManager.startCache();var V=t.shapes.all();kt(t,V),V.forEach((function(t){t.gnV(),t.anV({layoutConnectionLine:!1})})),Zt(t),y.GeometryServiceManager.endCache()}function zt(t){var V,n=!1,i=t.shapes.all(),e=i.length;for(V=0;V<e;V++)if(i[V]&&i[V].isSelected()){n=!0;break}return n}function Qt(t){var V=[];return t.shapes.all().forEach((function(t){t.isSelected()&&V.push(t.ctV)})),V}function Gt(t){var V=Qt(t);return V&&1===V.length&&(0,s.isCanEditTextShape)(V[0].JVV)?V[0]:null}function Jt(t,V,n){var i,e,r,c,o,d,a=t.name();if((0,s.needOpenTextEditor)(V.JVV)){if(i={r:b},A.ShapeBase.et(V,"beforeOpenShapeTextEditor",i),i.r)return;n.execute({cmd:k,sheetName:a,shapeName:V.JVV.name()})}else 3===V.ttV&&(e=V.JVV)&&(r="sjs://",c=e.range(),(o=e.doubleClickCommand())&&("string"==typeof o?o===Z?(d=e.ytV.AnV)&&(tV(c,r)||(c=r+c),n.execute({cmd:B,sheetName:d.sheet.name()}),n.execute({cmd:Z,sheetName:a,url:c})):n.execute({cmd:o,sheetName:a}):"function"==typeof o&&o.call(b,t,e.name())))}function Wt(t){var V=t.startRow(),n=t.startColumn(),e=t.endRowOffset()<1?t.endRow()-1:t.endRow(),r=t.endColumnOffset()<1?t.endColumn()-1:t.endColumn();return e<V&&(e=V),r<n&&(r=n),new i.Range(V,n,e-V+1,r-n+1)}function Kt(t,V){var n,i,e,r,c,o,s,d,a=Wt(V);return!!t.intersect(a.row,a.col,a.rowCount,a.colCount)&&(n=a.row,i=a.col,e=a.row+a.rowCount-1,r=a.col+a.colCount-1,c=t.row>0?t.row-1:0,o=t.col>0?t.col-1:0,s=t.row+t.rowCount,d=t.col+t.colCount,c<=n&&o<=i&&s>=e&&d>=r)}function $t(t,V,n,i){var e,r=1,c=n?" ":"_";for(n&&(e=V.lastIndexOf(" "),r=i+1,V=V.substr(0,e));t[V+c+r];)r++;return V+c+r}function tV(t,V,n){return rt||(rt=String.prototype.startsWith||function(t,V){return this.substr(!V||V<0?0:+V,t.length)===t}),rt.call(t,V,n)}Object.defineProperty(V,"__esModule",{value:!0}),V.doubleClickProcess=V.getFocusedShape=V.getSelectedShapesUI=V.hasSelectedShape=V.clearWorksheetXYCoordinateCache=V.updateWorksheetXYCoordinateCacheImp=V.updateWorksheetXYCoordinateCache=V.adjustViewportRect=V.recalculateScrollLeft=V.recalculateScrollTop=V.recalculateScroll=V.getScrollLeft=V.getScrollTop=V.SheetModelManager=void 0,i=n("Core"),e=n("SheetsCalc"),r=n("Common"),c=n("./dist/plugins/shape/drawingInterface.js"),o=n("./dist/plugins/shape/ui/util.js"),s=n("./dist/plugins/shape/ui/shapes.js"),d=n("./dist/plugins/shape/ui/canvas.js"),a=n("./dist/plugins/shape/shape.interface.js"),h=n("Comment"),u=n("FloatingObject"),x=n("ConditionalFormatting"),f=n("./dist/plugins/shape/formControl/controls/comboFormControl.js"),y=n("./dist/plugins/shape/geometryService/serviceManager.js"),l=n("./dist/plugins/shape/util/viewUtil.js"),g=n("./dist/plugins/shape/shapeCollection.js"),A=n("./dist/plugins/shape/shapeView.js"),p=n("./dist/plugins/shape/shape-io.js"),v=n("./dist/plugins/shape/util/sheetUtil.js"),w=i.mt.vi,j=void 0,b=null,L=Math.max,m=Math.floor,C=r.Common.zf,R=u.Drawing.UnitHelper.IsNullOrEmpty,I=i.GC$.extend,M=r.Common.lt.ht,_="gc-spread-toolTip",E="shape-tooltip",S="margin",F="font",X="padding",Y="border",O="box-sizing",T="z-index",P="background-color",N="content-box",D="background",U="white",q="color",k="openTextEditor",B="unSelectAllShapes",Z="openUrl",H=i.UsedRangeUtil.vh,z=1,Q="options.stroke._",G="options.endPoints.",J=["beginArrow","endArrow"],W=["type","widthType","lengthType"],K=["BegingArrowhead","EndArrowhead","Style","Width","Length"],$={QnV:function(t){var V=this.shapeLayers;V&&V.length>0&&V[0].layoutConnectionLine(t)},wdV:function(t,V,n,i){var e,r,o,s,d,a,h,u,x,f,y,g=t.getShapeById(V);g&&(r=(e=g.JVV)&&e.ytV,-1!==["left","top","width","height"].indexOf(n)?(g.updateCenterData(),"left"===n?e.bnV(i,r.A0):"top"===n?e.bnV(r.I0,i):"width"===n?e.$l(i,r.ZC):"height"===n&&e.$l(r.YC,i)):"angle"===n?r&&(r.Rotation=i):"range"===n&&3===g.ttV?e.GrV(i):"src"===n&&5===g.ttV?e.VrV(i):tV(n,"options.")?tV(n,s="options.textFormatOptions")?("textDirection"===(o=n.substr((s+".").length))&&(i=e.hoV(i)),(0,l.updateOptionItemByPath)(g,n,i),"text"===o?e.GnV(i):"font"===o?e.JnV(i):"fill.color"===o?e.adV(i):"fill.transparency"===o?e.KnV(i):"horizontalAlignment"===o?e.$nV(i):"verticalAlignment"===o?e.teV(i):"textDirection"===o&&e.eoV(i)):tV(n,"options.fill.")?(n=n.substr(13),e.nrV(n,i)):r&&(d=r.Line,a=!0,tV(n,Q)?"capType"===(o=n.substr(Q.length))?d.CapStyle=i:"joinType"===o?d.JoinStyle=i:"compoundType"===o?d.Style=i:"lineStyle"===o?d.DashStyle=i:"width"===o?d.Weight=i:"color"===o?d.Color.setColor(e.Mf,i):"transparency"===o&&(d.Color.Transparency=i):tV(n,G)?(h=n.substr(G.length).split("."),u=J.indexOf(h[0]),x=W.indexOf(h[1]),u>=0&&x>=0&&(d[f=K[u]+K[x+2]]=i),(0,l.updateOptionItemByPath)(g,n,i)):a=!1,a&&c.ShapeUtility.syncShapeLineFormat(g.options,r)):tV(n,"form_control.")&&(y=e.GtV)&&y.onFormulaValueChange&&y.onFormulaValueChange(n,i))},eeV:function(t,V){var n=this.RnV;return n&&(V&&" "===t[t.length-1]&&(t+="1"),n[t]&&(t=$t(n,t,V,this.shapes.pnV())),n[t]=!0),t},csV: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,i=V&&V.uM;return n||(n=t.uM=i||{fromSheet:b,isCutting:!1}),n},ieV:function(){var t,V=this.WVV(),n=V&&V.fromSheet;n&&(n.$VV=b),V.fromSheet=b,V.isCutting=!1},ceV:function(t){var V=this.shapes.all();Array.isArray(V)&&V.forEach((function(V){V.isSelected(t)}))},cnV:function(t){var V,n=this;lt(n)||(V=n.Fi(),n.shapeLayers.forEach((function(i,e){var r,o,s,d,a;0===e&&i.shapes.forEach((function(t){t.Oi=n.Oi})),r=(0,c.getWholeNumber)(e/3),o=e%3,a=xt(i,s=V.c9(r,o),d=ut(n,r,o),t),i.paint(null,a)})))},isPasteShapes:function(){var t,V=this,n=V.WVV().fromSheet;return n&&((t=V.$VV)||(t=n.$VV)),!!t},isShapeTextEditorOpened:function(){return s.ShapeTextEditor.getInstance().isOpened},reV:function(t){var V,n,i,e,r,c=this,s=new o.Rect(0,0,0,0),d=c.Jt,a=c.JS(t);return 1===a.rowCount&&1===a.colCount&&(V=c.getSpan(a.row,a.col))&&(a.rowCount=V.rowCount,a.colCount=V.colCount),n=a.row,i=a.row+a.rowCount-1,e=a.col,r=a.col+a.colCount-1,s.width=ft(d,e,r)+z,s.height=yt(d,n,i)+z,s}},I(i.Worksheet.prototype,$),tt=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return dt(V,t),V.prototype.deV=function(t){var V=this.oeV;return!V||!V[t]},V.prototype.aeV=function(t){var V=this.oeV;V&&(V[t]=!0)},V.prototype.seV=function(t){var V,n=this,i=n.G8;i&&n.deV(t.id)&&((V=i.shapeFormulaChanges)||(V=i.shapeFormulaChanges=[]),V.push(t))},V.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++)At(i,t[e],V);else for(e=t.length-1;e>=0;e--)At(i,t[e],V)},V.prototype.ueV=function(t,V){var n,i=this,e=i.G8;e&&i.deV(t.ctV.id)&&((n=e.shapeChanges)||(n=e.shapeChanges=[]),n.push({shape:t,value:V,changeType:0}))},V.prototype.HnV=function(t){var V,n=this,i=n.G8;i&&((V=i.shapeChanges)||(V=i.shapeChanges=[]),V.push({value:t,changeType:1}))},V.prototype.xeV=function(t,V){var n,i;if(t)if(n=this.tin,V)for(i=0;i<t.length;i++)gt(n,t[i],V);else for(i=t.length-1;i>=0;i--)gt(n,t[i],V)},V}(i.Y8),V.SheetModelManager=tt,i.Y8.prototype=tt.prototype,tt.ch("shape",{priority:5100,init:function(){this.tin=new g.ShapeCollection(this.Mf)},applyChanges:function(t){var V,n,i,e,r,c,o,s,d,a,h=this,u=t.changes,x=t.isUndo;if(u){if(V=u.shapeChanges)"Designer.shapeGroup"===t.command.cmd&&(V=V.filter((function(t){return 1===t.changeType&&("group"===t.value.type||"ungroup"===t.value.type)}))),h.xeV(V,!x),(n=u.shapeFormulaChanges)&&h.heV(n,!x),wt(h.Mf);else if("dragCopyShapes"===t.command.cmd)for(i=0;i<u.length;i++)e=u[i],x?h.tin.remove(e.name):(r=h.tin.get(e.oldShapeName),(c=JSON.parse(JSON.stringify(r.toJSON()))).name=e.name,(o=(0,p.shapeFromJSON)(h.Mf,c)).x(e.offsetX),o.y(e.offsetY),h.tin.ZP(o));else if("submitShapeText"===t.command.cmd)for(s=Object.keys(t.command.values),i=0;i<s.length;i++)d=s[i],a=t.command.values[d],r=h.tin.get(d),o=x?a.oldValues[0][1]:a.values[0][1],r.text(o);h.Mf.cnV()}},undo:function(t){var V,n,i=this;i.oeV={},V=t.shapeChanges,i.xeV(V),(n=t.shapeFormulaChanges)&&i.heV(n),wt(i.Mf),i.Mf.cnV(),delete i.oeV},startTransaction:function(){var t,V=this,n=V.Mf.shapeLayers;V.oeV={},n&&n.length&&((t=n[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}}),V.getScrollTop=bt,V.getScrollLeft=Lt,V.recalculateScroll=mt,V.recalculateScrollTop=Ct,V.recalculateScrollLeft=Rt,V.adjustViewportRect=Ot,V.updateWorksheetXYCoordinateCache=kt,V.updateWorksheetXYCoordinateCacheImp=Bt,V.clearWorksheetXYCoordinateCache=Zt,V.hasSelectedShape=zt,V.getSelectedShapesUI=Qt,V.getFocusedShape=Gt,V.doubleClickProcess=Jt,Vt=".gcShape",nt="spanChanged",it={priority:1900,init:function(){var t,V,n,e,r,c,o,h,u=this;for(u.RnV={},t=[],V=d.Canvas.createShapeModel(),n=0;n<3;n++)for(e=0;e<3;e++)c=3*n+e,o=null,(r=u.shapeLayers)&&r[c]&&(o=r[c].host),(h=t[c]=new d.Canvas(V,o,n,e)).Mf=u;u.shapeLayers=t,V.onPropertyChangedByFormula=function(t,n,i){u.wdV(V,t,n,i)},u.shapes=u.Ut.tin,g.ShapeCollection.et(u.shapes,"init"),u._3(Vt),u.D3(i.Events.RangeChanged+Vt,(function(t,V){V&&V.changedCells&&V.changedCells.length>0&&u.Lj(u,V.changedCells,a.LayoutChangeType.layoutChanged),u.celldirty=!0,u.suspendUpdate})),u.D3(i.Events.CellChanged+Vt,(function(t,V){V&&3===V.sheetArea&&u.Lj(u,[{row:V.row,col:V.col}],a.LayoutChangeType.layoutChanged)})),u.D3(nt+Vt,(function(t,V){V&&(3===V.sheetArea||M(V.sheetArea))&&u.Lj(u,[{row:V.row,col:V.col}],a.LayoutChangeType.layoutChanged)})),u.D3(i.Events.ColumnWidthChanged+Vt,(function(t,V){Rt(u,V.colList[0]),Pt(u);var n=[];V.colList.forEach((function(t){n.push({col:t})})),u.Lj(u,n,a.LayoutChangeType.columnChanged)})),u.D3(i.Events.RowHeightChanged+Vt,(function(t,V){Ct(u,V.rowList[0]),Pt(u);var n=[];V.rowList.forEach((function(t){n.push({row:t})})),u.Lj(u,n,a.LayoutChangeType.rowChanged)})),u.D3(i.Events.TableFiltered+Vt,(function(t,V){var n=V.table.range().row;jt(u,n)})),u.D3(i.Events.TableFilterCleared+Vt,(function(t,V){var n=V.table.range().row;jt(u,n)})),u.D3(i.Events.RangeFiltered+Vt,(function(){var t=u.IB?u.IB.range.row:-1;jt(u,t)})),u.D3(i.Events.RangeFilterCleared+Vt,(function(){var t=u.IB?u.IB.range.row:-1;jt(u,t)})),u.D3(i.Events.FloatingElementSelected+Vt,(function(t,V){"shape"!==V.type&&zt(u)&&(u.shapes.V2(),u.ceV(!1),u.shapes.Y2())})),u.D3(i.Events.RangeGroupStateChanged+Vt,(function(t,V){V.isRowGroup?Ct(u):Rt(u),Pt(u)})),u.D3(i.Events.ShapeSelectionChanged+Vt,(function(t,V){var n=Gt(V.sheet),i=s.ShapeTextEditor.getInstance();i.hP()&&i.closeEditor(),n&&s.ShapeTextEditor.getInstance().RQt!==n.JVV&&i.initEditor(n.JVV)}))},attach:function(t){var V=this,n;n=t instanceof i.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 V,n,e,r,c=this;!1!==t.clearCache&&(c.shapes.dispose(),c._3(Vt)),t.hasActiveSheet||(e=(n=(V=c.qc())&&(0,i.GC$)(V).find(".shapeWraper"))&&n.get(0),r=e&&e.getAttribute("sheet")===this.name(),c.shapeLayers&&c.shapeLayers.forEach((function(t){var V,n=t.host,e=n&&r;e&&i.Bf.th(c,n),t.setHost(null),t.Mf=null,t.dispose(),e&&(V=n.parentNode)&&V.removeChild(n)})),r&&n.remove(),s.ShapeTextEditor.getInstance().dispose(),f.ComboFormControlDomRender.dispose())},setHost:function(t){var V=this,n=t.parent().find(".shapeWraper").get(0);n?n.setAttribute("sheet",this.name()):((n=document.createElement("div")).setAttribute("class","shapeWraper"),n.style.position="relative",n.setAttribute("sheet",this.name()),t.parent().prepend(n)),V.shapeLayers.forEach((function(e,r){var c=t.attr("id")+"shapeHost"+r,o=t.parent().find("#"+c).get(0);if(!o){if(o=document.createElement("canvas"),i.Bf.Wl(o,b,V),!o)return;o.style.position="absolute",o.style.pointerEvents="none",o.style.width=0,o.style.height=0,o.width=0,o.height=0,o.style.zIndex=900,o.id=c,(0,i.GC$)(n).append(o)}e.setHost(o),e.onShapeSelected=function(){V.ki(i.Events.FloatingElementSelected,{type:"shape"})}}))},onLayoutChanged:function(t){var V,n,i,e,r,o,d,a,h,u;(M(t.sheetArea)||3===t.sheetArea)&&(V=this,n=t.changeType,i=t.row,e=t.rowCount,r=t.col,o=t.colCount,d=V.shapes,"invalidateLayout"!==n&&d.V2(),"addRows"===n?d.JO(i,e):"deleteRows"===n?d.xP(i,e):"addColumns"===n?(d.qO(r,o),Tt(V)):"deleteColumns"===n?(d.NP(r,o),Tt(V)):"setColumnCount"===n?(Rt(V),Tt(V)):"setRowCount"===n?Ct(V):"invalidateLayout"===n?(a=V.Fi(),h={left:0,top:0},u=s.ShapeTextEditor.getInstance(),V.shapeLayers.forEach((function(t,n){var i,e,r,o,s,d=(0,c.getWholeNumber)(n/3),x=n%3,f=t.host;f&&(Ot(i=a.c9(d,x),V,d,x),e=i.width,r=i.height,Yt(f,o=i.x+h.left,s=i.y+h.top,e,r),t.width=e,t.height=r,e>0&&r>0&&(Ft(V,d,t),Xt(V,x,t)),u.shouldRefreshPosition(d,x)&&u.refreshPosition(t.scrollLeft,t.scrollTop))}))):"zoomSheet"===n?Ht(V):"rowFilterCleared"===n&&jt(this,i=V.IB?V.IB.range.row:-1),"invalidateLayout"!==n&&d.Y2())},onLayoutChangedFromOp:function(t){var V,n;(M(t.sheetArea)||3===t.sheetArea)&&(V=this,"addRows"===(n=t.changeType)||"deleteRows"===n||"setRowCount"===n?Nt(V):"addColumns"===n||"deleteColumns"===n||"setColumnCount"===n?(Nt(V),Tt(V)):"zoomSheet"===n&&Ht(V))},onRowColInfoChanged:function(t){var V,n,i,e,r=this;!0!==(null===(V=this.parent)||void 0===V?void 0:V.Gie)&&(n=t.propertyName,i=t.row,e=t.col,M(i)?M(e)||("width"!==n&&"isVisible"!==n||(Rt(r,e),Pt(r)),r.Lj(r,[{col:e}],a.LayoutChangeType.columnChanged)):("height"!==n&&"isVisible"!==n||jt(r,i),r.Lj(this,[{row:i}],a.LayoutChangeType.rowChanged)))},onRowColInfoChangedFromOp:function(t){var V,n,i,e,r=this;!0!==(null===(V=this.parent)||void 0===V?void 0:V.Gie)&&(n=t.propertyName,i=t.row,e=t.col,M(i)?M(e)||"width"!==n&&"isVisible"!==n||(Rt(r,e),Nt(r),r.Lj(r,[{col:e}],a.LayoutChangeType.columnChanged)):"height"!==n&&"isVisible"!==n||(Ct(r,i),Nt(r),r.Lj(r,[{row:i}],a.LayoutChangeType.rowChanged)))},onCopyOrMoveRange:function(t){var V,n,e,r,c,o=this,s=t.srcSheet,d=t.isMove,a=t.fromRow,h=t.fromCol,u=t.toRow,x=t.toCol,f=t.rowCount,y=t.colCount,l=t.copyToOption;(l&i.CopyToOptions.shape)===i.CopyToOptions.shape&&(V=s.shapes,n=new i.Range(a,h,f,y),e=s.JS(n),r=V.all().filter((function(t){return!!t.dynamicMove()&&Kt(e,t)})),c=!d||o!==s,r.forEach((function(t){var V,n,i,e,r,s,d,f,y=t;c&&(y=t.Gf(o),o.shapes.ZP(y)),V=t.startRowOffset(),n=t.endRowOffset(),i=t.startColumnOffset(),e=t.endColumnOffset(),r=t.startRow()-a+u,s=t.startColumn()-h+x,d=r+t.endRow()-t.startRow(),f=s+t.endColumn()-t.startColumn(),y.startRow(r),y.startRowOffset(V),y.startColumn(s),y.startColumnOffset(i),t.dynamicSize()&&(y.endRow(d),y.endRowOffset(n),y.endColumn(f),y.endColumnOffset(e))})))},onImageLoaded:function(){var t;this.shapes.all().forEach((function(t){t.urV()}))},onRightToLeftChanged:function(){this.shapes&&Tt(this,!0)},paint:function(t){var V=t&&t.clipRect;(!V||0!==V.width&&0!==V.height)&&this.cnV()},getUsedRange:function(t){var V,n,e;t.type&i.UsedRangeType.shape&&(e=(n=(V=this).shapes).getUsedRange(),H(t.range,e))},toJson:function(t,V){(0,p.toJson)(this,t,V)},fromJson:function(t,V,n){(0,p.fromJson)(this,t,V,n)},fromJsonAfterFormula:function(){var t=this;t.shapes.all().forEach((function(t){t.formulaFromJSON(!1,!1)})),g.ShapeCollection.et(t.shapes,"fromJsonAfterFormula",{sheet:t})},wh:function(t,V,n,i){(0,p.toSJSFormat)(this,t,V,n,i)},yh:function(t,V,n){(0,p.fromSJSFormat)(this,t,V,n)},fromJsonAfterSJSFormula:function(t,V,n){var e=this,r=i.Util.wo(n,e.parent.v2);e.shapes.all().forEach((function(t){t.formulaFromJSON(r,!0,V)})),g.ShapeCollection.et(e.shapes,"fromJsonAfterSJSFormula",{sheet:e})},afterRefSheetLazyLoaded:function(t){this.shapes.all().forEach((function(t){return t.afterRefSheetLazyLoaded()}))},preProcessMouseDown:function(t){var V,n=this,i=t.e,e=n.uw(),r=n.FL(i.pageY-e.top),c=n.PL(i.pageX-e.left);r<0||r>2||c<0||c>2||(n.geV=r,n.AeV=c,(V=n.shapeLayers[3*r+c])&&(V.doMouseDown(i),n.working=t.r=!!V.hitTestAnyway,t.r&&(n.Zg(),n.rt.I1.focus()),n.Dn.E1()))},preProcessMouseMove:function(t){var V,n,e,r,c,o,s,a,h,u,x,f,y,l,g=this,A=t.e,p=g.uw(),v=g.geV;M(v)&&(v=g.FL(A.pageY-p.top)),V=g.AeV,M(V)&&(V=g.PL(A.pageX-p.left)),v<0||v>2||V<0||V>2||(n=g.shapeLayers[3*v+V])&&(n.hitTestResult||n.hitTestResultInProtectedMode?(g.suspendUpdate=!0,n.doMouseMove(A),t.r=!0):g.rt&&!0!==g.rt.u9&&!0!==g.rt.s9&&(e=g.Dg(),r=n.hitTest(A),n.jdV(r,A),c=e.mouseEnterShape,r?(o=d.Canvas.getCursorFromHitTest(r),e.style.cursor=o,t.r=!0,t.cursor=o,(s=(0,d.getShouldProcessControlShape)(r))&&s.onMouseMove(A,n),(a=g.parent).options.enableAccessibility&&a.n2(r.shape.JVV.alt())):(n.isSheetProtected()||g.shapeIsProtected&&g.shapeIsProtected())&&(r=n.hitTest(A,!0),n.jdV(r,A),r&&(o=d.Canvas.getCursorFromHitLinkedTest(r,"",!0),e.style.cursor=o,t.r=!0,t.cursor=o,(s=(0,d.getShouldProcessControlShape)(r))&&s.onMouseMove(A,n))),h=r&&r.shape,u=d.Canvas.weV(r),h&&(x=h.JVV)&&(f=x.Mf,u&&u.hyperlink&&!R(u.hyperlink.tooltip)&&!h.isSelected?(c!==u&&f.parent.Tw(C.j0(u.hyperlink.tooltip),A.clientX,A.clientY+20,!0),(y=document.getElementsByClassName(_)[0])&&!y.classList.contains(E)&&(y.classList.add(E),(0,i.GC$)(y).css(S,0).css(X,2).css(Y,"1px #c0c0c0 solid").css("box-shadow","1px 2px 5px rgba(0,0,0,0.4)").css(O,N).css(T,"920").css(P,U).css(F,"9pt Arial").css(D,U).css(q,"black"))):(l=document.getElementsByClassName(_))&&0!==l.length&&f.parent.iy()),e.mouseEnterShape=u))},preProcessMouseUp:function(t){var V,n,i,e,r=this;r.suspendUpdate=!1,V=t.e,n=r.geV,i=r.AeV,M(n)||n<0||n>2||M(i)||i<0||i>2||(e=r.shapeLayers[3*n+i])&&(e.doMouseUp(V),r.working&&(r.working=!1,t.r=!0),r.celldirty&&e.shapes&&e.shapes.length>0&&(r.celldirty=!1),r.geV=null,r.AeV=null)},preProcessMouseOut:function(t){var V,n,e,r,c,o,s,d,a=this;a.suspendUpdate=!1,V=t.e,n=a.uw(),e=V.pageX-n.left,r=V.pageY-n.top,e<(c=(0,i.GC$)(a.Dg())).width()&&r<c.height()||(o=a.geV,s=a.AeV,M(o)||o<0||o>2||M(s)||s<0||s>2||(d=a.shapeLayers[3*o+s])&&(d.doMouseOut(V),a.working&&(a.working=!1,t.r=!0),a.celldirty&&(a.celldirty=!1,a.repaint()),a.geV=null,a.AeV=null))},processKeyDown:function(t){var V;zt(this)&&(t.r=!0)},processCompositionStart:function(t){var V;Gt(this)&&(t.r=!0)},needPaintSelection:function(t){t.nps=!zt(this)},onGroupChanged:function(t){this.shapes.Udt(t.start,t.end,t.isRow,t.fromSetCollapsed)},preProcessMouseDbClick:function(t){var V,n,i,e,r=this,c=t.e,o=r.uw(),s=r.FL(c.pageY-o.top),d=r.PL(c.pageX-o.left);s<0||s>2||d<0||d>2||(r.geV=s,r.AeV=d,(V=r.shapeLayers[3*s+d])&&r.rt&&!0!==r.rt.u9&&!0!==r.rt.s9&&(i=(n=V.hitTest(c))&&n.shape,e=r.Qy(),i&&(Jt(r,i,e),t.r=!0)))},preProcessContextMenu:function(t){var V=s.ShapeTextEditor.editor,n=t.hitInfo,i=n&&n.worksheetHitInfo,e=i&&i.shapeHitInfo,r=e&&e.shape,c=r&&r.ctV;V&&c&&V.isOpened&&V.RQt===c&&(t.r=!0)},onThemeChanged:function(){this.shapes.all().forEach((function(t){t.sdV()}))},onPaintSuspend:function(t){t.suspend||It(this)},onFilterChanged:function(t){var V;(null==t?void 0:t.table)&&jt(this,t.table.range().row)}},i.Worksheet.ch("shape",it),u.FloatingObjectRender&&u.FloatingObjectRender.ch("shape",{preProcessMouseDown:function(t){var V=this.Mf;it.preProcessMouseDown.call(V,t)},preProcessMouseMove:function(t){var V=this.Mf;it.preProcessMouseMove.call(V,t)},preProcessMouseUp:function(t){var V=this.Mf;it.preProcessMouseUp.call(V,t)}}),h&&h.hW.ch("shape",{preProcessMouseDownEdit:function(t){var V=this.TZ.Mf;it.preProcessMouseDown.call(V,t)},preProcessMouseDownDragResize:function(t){var V=this.TZ.Mf;it.preProcessMouseDown.call(V,t)},preProcessMouseMove:function(t){var V=this.TZ.Mf;it.preProcessMouseMove.call(V,t)},preProcessMouseUp:function(t){var V=this.TZ.Mf;it.preProcessMouseUp.call(V,t)}}),x&&x.ConditionalFormats.ch("shape",{onRuleAdded:function(t){this.Lj(this,t.ranges,a.LayoutChangeType.layoutChanged)},onRuleRemoved:function(t){this.Lj(this,t.ranges,a.LayoutChangeType.layoutChanged)},onRuleUpdated:function(t){this.Lj(this,t.ranges,a.LayoutChangeType.layoutChanged)}}),et={priority:1e3,init:function(){i.Commands.rnV(this.commandManager())},onCommandExecuting:function(t){var V;t.shapes.all().forEach((function(t){t.isSelected(!1)}))},onCultureChanged:function(){(0,c.sR)()},fromJson:function(){var t=this.getActiveSheet(),V=t&&t.qc(),n=V&&(0,i.GC$)(V).find(".shapeWraper"),e=n&&n.get(0);e&&e.getAttribute("sheet")!==t.name()&&e.setAttribute("sheet",t.name())},wh:function(t,V,n){(0,p.toSJSFormatWhenWorkbook)(this,t,V,n)},dispose:function(){y.GeometryServiceManager.dispose()}},i.Workbook.ch("shape",et),ct=e.SheetSource.prototype,ot=ct.getCustomName,ct.getCustomName=function(t){var V,n=ot.call(this,t);return!n&&(V=this.Mf)?V.shapeLayers[0].model.calcSource_.getCustomName(t):n},d.Canvas.ch("sheet",{preProcessMouseOut:function(t){var V,n,e,r,c,o,s=this;s.suspendUpdate=!1,V=t.e,(n=s.Mf)&&(e=n.uw(),r=V.pageX-e.left,c=V.pageY-e.top,(o=(0,i.GC$)(n.Dg()))&&o.length>0&&r>0&&r<o.width()&&c>0&&c<o.height()&&(t.r=!0))}}),(st=i.mt.Tt).msie&&parseFloat(st.version)<=10&&d.Canvas.ch("sheet",{preProcessMouseDown:function(t){var V,n,i,e,r,c,o,s,d,a,h,u=this,x=u.Mf;x&&(V=x.uw(),n=t.e,(e=(i=x.comments)&&i.hitTest(n.pageX-V.left,n.pageY-V.top))?(r=e.comment,c=i.mW(r),"comment_editor"===e.area?c.lW(n):"comment_indicator"===e.area&&c.XZ(n)):(s=(o=x.WL)&&o.hitTest(n.pageX-V.left,n.pageY-V.top))?(a="Slicer"===(d=s.floatingObject).typeName&&d.gmi[0])&&a.mmi(n)?a.gg(n):s.Dn.gg(n):!1===(h=x.B_(n))&&w(n),t.r=!0)},preProcessMouseMove:function(t){var V,n,i,e,r,c,o,s,d,a,h,u,x,f=this,y=f.Mf;y&&(V=y.uw(),n=t.e,(e=(i=y.comments)&&i.hitTest(n.pageX-V.left,n.pageY-V.top))?(r=e.comment,(c=i.mW(r)).pg(n),"comment_editor"===e.area?f.host.style.cursor="text":"comment_indicator"===e.area&&(o=c.wK(n),s=c.nQ,f.host.style.cursor=o>=0&&o<s.length?s[o].cursor:"move")):(a=(d=y.WL)&&d.hitTest(n.pageX-V.left,n.pageY-V.top))?(u="Slicer"===(h=a.floatingObject).typeName&&h.gmi[0])&&u.mmi(n)?(u.pg(n),f.host.style.cursor="default"):(a.Dn.pg(n),f.host.style.cursor=a.Dn.avt(n)||"move"):(!1===(x=y.L_(n))&&w(n),f.host.style.cursor=y.Dg().style.cursor),t.r=!0)},preProcessMouseUp:function(t){var V,n,i,e,r,c,o,s,d,a,h,u=this,x=u.Mf;x&&(V=x.uw(),n=t.e,(e=(i=x.comments)&&i.hitTest(n.pageX-V.left,n.pageY-V.top))?(r=e.comment,(c=i.mW(r)).bg(n)):(s=(o=x.WL)&&o.hitTest(n.pageX-V.left,n.pageY-V.top))?(a="Slicer"===(d=s.floatingObject).typeName&&d.gmi[0])&&a.mmi(n)?a.bg(n):s.Dn.bg(n):!1===(h=x.F_(n))&&w(n),t.r=!0)},preProcessMouseWheel:function(t){var V,n=this,i=n.Mf;i&&(!1===(V=i.P_(t.e))&&w(t.e),t.r=!0)},preProcessMouseOut:function(t){var V,n=this,i=n.Mf;i&&!i.xT&&(!1===(V=i.G_(t.e))&&w(t.e),t.r=!0)},preProcessDbClick:function(t){var V,n=this,i=n.Mf;i&&(!1===(V=i.U_(t.e))&&w(t.e),t.r=!0)}})},"./dist/plugins/shape/shape-touch.js":function(t,V,n){var i,e,r,c,o,s,d;Object.defineProperty(V,"__esModule",{value:!0}),i=n("Touch"),e=n("FloatingObject"),r=n("Core"),c=n("./dist/plugins/shape/ui/canvas.js"),o=n("./dist/plugins/shape/shape-spreadjs.js"),s=r.mt.Tt,d=r.mt.pi(),r.Of.touch&&function(){var t,V;function n(t){var V,n,i,e,r=this,o=t.e.JZ,s=r.ANt(o.X,o.Y,!0),d=3*s.rowViewportIndex+s.colViewportIndex,a=r.Mf.shapeLayers[d];a&&(V=f(r.Mf,o),i=(n=a.hitTest(V))&&n.shape,e=n&&(0,c.getShouldProcessControlShape)(n),(i&&i.isSelected||e&&e.processTouchStart())&&(r.peV=a,r.peV.doMouseDown(V),t.r=!0))}function a(t){var V,n=this,i=t.e.JZ;n.peV&&(V=y(n.Mf,i),n.peV.doMouseMove(V),t.r=!0)}function h(t){var V,n=this,i=t.e.JZ;n.peV&&(V=l(n.Mf,i),n.peV.doMouseUp(V),n.peV=null,t.r=!0)}function u(t){var V,n,i,e,r,o,a,h=this,u=t.e.JZ,x=h.ANt(u.X,u.Y,!0),y=3*x.rowViewportIndex+x.colViewportIndex,g=h.Mf.shapeLayers[y];if(g){if(V=f(h.Mf,u),(i=(n=g.hitTest(V))&&(0,c.getShouldProcessControlShape)(n))&&i.onMouseDown(V,g))return i.onMouseUp(l(h.Mf,u),g),void(t.r=!0);(e=n&&n.shape)?(!e.isSelected&&e.hyperlink&&g.processHyperlink(e),g.shapes.forEach((function(t){g.setSelect(t,!1,!0)})),g.setSelect(e,!0,!0),g.onShapeSelected&&g.onShapeSelected(),(r=s.metroMode||d.ipad||d.iphone||d.android)||(s.msie?setTimeout((function(){g.veV(e,h.Mf)}),400):g.veV(e,h.Mf)),t.r=!0):g.isSheetProtected()&&(a=(o=g.hitTest(V,!0))?o.shape:null)&&!a.isSelected&&a.hyperlink&&g.processHyperlink(a)}}function x(t){var V,n,i,e,r,c=this,s=t.e.JZ,d=c.ANt(s.X,s.Y,!0),a=3*d.rowViewportIndex+d.colViewportIndex,h=c.Mf.shapeLayers[a];h&&(V=f(c.Mf,s),(i=(n=h.hitTest(V))&&n.shape)&&(r=(e=c.Mf).Qy(),(0,o.doubleClickProcess)(e,i,r),t.r=!0))}function f(t,V){return g(t,V,"mousedown")}function y(t,V){return g(t,V,"mousemove")}function l(t,V){return g(t,V,"mouseup")}function g(t,V,n){var i=t.uw(),e=V.X+i.left,r=V.Y+i.top,c=e-(window.pageXOffset||document.documentElement.scrollLeft),o=r-(window.pageYOffset||document.documentElement.scrollTop);return{type:n,pageX:e,pageY:r,clientX:c,clientY:o}}i.TouchEventHandler.ch("touch",{preProcessManipulationStarted:n,preProcessManipulationDelta:a,preProcessManipulationCompleted:h,preProcessTapped:u,preProcessDoubleTapped:x}),e.FloatingObjectTouchEventHandler.ch("touch",{preProcessTapped:function(t){var V=this.Llt.Mf.dW.DZ;u.call(V,t)}}),t=function(){function t(t,n,e){var r,c,o=this;o.AZ=new i.IZ(o),o.xZ=new i.NZ(t,"Shape",o.AZ,2,200),o.kZ=e,o.DZ=new V(t,n),r=o.DZ,(c=o.xZ)._Z=function(){return!0},c.EZ=function(){return!0},c.jZ=function(t){return r.OZ(t)},c.RZ=function(t){return r.BZ(t)},c.LZ=function(t){return r.FZ(t)},c.PZ=function(t){return r.GZ(t)},c.UZ=function(t){return r.HZ(t)},c.ZAt=function(t){return r.WAt(t)}}return t.prototype.oW=function(){var t=this,V=t.kZ;V&&V.aW(t.xZ,!0)},t.prototype.uW=function(){var t=this,V=t.kZ;V&&V.aW(t.xZ,!1)},t}(),V=function(){function t(t,V){var n=this;n.zZ=t,n.LeV=V}return t.prototype.WZ=function(t){var V,n=new i.QZ(t.X,t.Y),e=(0,r.GC$)(this.zZ).offset();return e&&(V=document.body,n.X+=e.left+V.clientLeft||0,n.Y+=e.top+V.clientTop||0),n},t.prototype.jeV=function(t,V){var n=this.WZ(t);return n.X-=V.left,n.Y-=V.top,n},t.prototype.OZ=function(t){var V=this.LeV.Mf;if(V)return V.dW.DZ.OZ(t)},t.prototype.BZ=function(t){var V,n,i,e,r=this.LeV.Mf;if(r)return V=this.WZ(t.JZ),n=this.jeV(t.JZ,r.uw()),(e=(i=r.WL)&&i.hitTest(n.X,n.Y))?(this.beV=e,t.JZ=V,e.Dn.dW.DZ.BZ(t,!0)):(t.JZ=n,r.dW.DZ.BZ(t))},t.prototype.FZ=function(t){var V,n,i=this.LeV.Mf;if(i)return V=this.WZ(t.JZ),n=this.jeV(t.JZ,i.uw()),this.beV?(t.JZ=V,this.beV.Dn.dW.DZ.FZ(t,!0)):(t.JZ=n,i.dW.DZ.FZ(t))},t.prototype.GZ=function(t){var V,n,i,e=this.LeV.Mf;if(e)return V=this.WZ(t.JZ),n=this.jeV(t.JZ,e.uw()),this.beV?(t.JZ=V,i=this.beV.Dn.dW.DZ.GZ(t,!0),this.beV=null,i):(t.JZ=n,e.dW.DZ.GZ(t))},t.prototype.HZ=function(t){var V,n,i,e,r=this.LeV.Mf;if(r)return V=this.WZ(t.JZ),n=this.jeV(t.JZ,r.uw()),(e=(i=r.WL)&&i.hitTest(n.X,n.Y))?(t.JZ=V,e.Dn.dW.DZ.HZ(t,!0)):(t.JZ=n,r.dW.DZ.HZ(t))},t.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)},t}(),s.msie&&parseFloat(s.version)<=10&&c.Canvas.ch("sheetTouch",{setHost:function(V){var n,i=this;i.Mf&&(n=i.dW=new t(V,i,i.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=this&&this.JKr||(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){void 0===i&&(i=n),t[i]=V[n]}),r=this&&this.XKr||function(t,V){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(V,n)||e(V,t,n)};Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyle=void 0,r(n("./dist/plugins/shape/drawingInterface.js"),V),r(n("./dist/plugins/shape/shapeInternal.interface.js"),V),r(n("./dist/plugins/shape/shape.interface.js"),V),r(n("./dist/plugins/shape/shapeCollection.js"),V),r(n("./dist/plugins/shape/ui/util.js"),V),r(n("./dist/plugins/shape/ui/options.js"),V),r(n("./dist/plugins/shape/ui/path.js"),V),r(n("./dist/plugins/shape/ui/shapes.js"),V),r(n("./dist/plugins/shape/ui/lines.js"),V),r(n("./dist/plugins/shape/ui/compoundShape.js"),V),r(n("./dist/plugins/shape/ui/canvas.js"),V),r(n("./dist/plugins/shape/ui/propertySource.js"),V),r(n("./dist/plugins/shape/ui/model.js"),V),r(n("./dist/plugins/shape/ui/control.js"),V),r(n("./dist/plugins/shape/shapeStyle.js"),V),i=n("./dist/plugins/shape/shapeStyleView.js"),Object.defineProperty(V,"ShapeStyle",{enumerable:!0,get:function(){return i.ShapeStyle}}),r(n("./dist/plugins/shape/shape.js"),V),r(n("./dist/plugins/shape/shapeView.js"),V),r(n("./dist/plugins/shape/groupShapes.js"),V),r(n("./dist/plugins/shape/groupShapesView.js"),V),r(n("./dist/plugins/shape/connector.js"),V),r(n("./dist/plugins/shape/connectorView.js"),V),r(n("./dist/plugins/shape/presetShapeModels.js"),V),r(n("./dist/plugins/shape/shape-spreadjs.js"),V),r(n("./dist/plugins/shape/shape-actions.js"),V),r(n("./dist/plugins/shape/cameraShape.js"),V),r(n("./dist/plugins/shape/cameraShapeView.js"),V),r(n("./dist/plugins/shape/pictureShapeView.js"),V),r(n("./dist/plugins/shape/pictureShape.js"),V),r(n("./dist/plugins/shape/util/viewUtil.js"),V),r(n("./dist/plugins/shape/shape-io.js"),V),r(n("./dist/plugins/shape/formControl/baseFormControl.js"),V),r(n("./dist/plugins/shape/formControl/formControl.js"),V),r(n("./dist/plugins/shape/formControl/formControlData.js"),V),r(n("./dist/plugins/shape/formControl/controls/scrollbar.js"),V),r(n("./dist/plugins/shape/formControl/controls/util.js"),V),r(n("./dist/plugins/shape/formControlView.js"),V),r(n("./dist/plugins/shape/formControl/radioGroupManager.js"),V),n("./dist/plugins/shape/shape-touch.js")},"./dist/plugins/shape/shape.interface.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f;Object.defineProperty(V,"__esModule",{value:!0}),V.LayoutChangeType=V.PointSource=V.BorderType=V.HitTestLineEnd=V.HitTestType=V.ResizeHandleType=V.TextDirection=V.ResizeMode=V.SnapMode=V.VerticalAlign=V.HorizontalAlign=V.ShapeFillType=void 0,n("./dist/plugins/shape/formControl/formControl.interface.js"),function(t){t[t.none=0]="none",t[t.solid=1]="solid"}(i=V.ShapeFillType||(V.ShapeFillType={})),function(t){t[t.left=0]="left",t[t.center=1]="center",t[t.right=2]="right"}(e=V.HorizontalAlign||(V.HorizontalAlign={})),function(t){t[t.top=0]="top",t[t.middle=1]="middle",t[t.bottom=2]="bottom"}(r=V.VerticalAlign||(V.VerticalAlign={})),function(t){t[t.none=0]="none",t[t.grid=1]="grid",t[t.shape=2]="shape"}(c=V.SnapMode||(V.SnapMode={})),function(t){t[t.aspect=0]="aspect",t[t.horizontal=1]="horizontal",t[t.vertical=2]="vertical"}(o=V.ResizeMode||(V.ResizeMode={})),function(t){t[t.horz=0]="horz",t[t.vert=1]="vert",t[t.vert270=2]="vert270",t[t.wordArtVert=3]="wordArtVert",t[t.eaVert=4]="eaVert",t[t.eaVertLtr=5]="eaVertLtr",t[t.wordArtVertRtl=6]="wordArtVertRtl"}(s=V.TextDirection||(V.TextDirection={})),function(t){t.topLeft="topLeft",t.topCenter="topCenter",t.topRight="topRight",t.middleLeft="middleLeft",t.middleRight="middleRight",t.bottomLeft="bottomLeft",t.bottomCenter="bottomCenter",t.bottomRight="bottomRight"}(d=V.ResizeHandleType||(V.ResizeHandleType={})),function(t){t.body="body",t.border="border",t.lineEnd="lineEnd",t.rotate="rotate",t.resize="resize",t.connectionPoint="connectionPoint",t.adjustment="adjustment"}(a=V.HitTestType||(V.HitTestType={})),function(t){t.head="head",t.tail="tail"}(h=V.HitTestLineEnd||(V.HitTestLineEnd={})),function(t){t[t.outter=0]="outter",t[t.inner=1]="inner"}(u=V.BorderType||(V.BorderType={})),function(t){t[t.lineTo=0]="lineTo",t[t.arcTo=1]="arcTo",t[t.fixed=2]="fixed"}(x=V.PointSource||(V.PointSource={})),function(t){t[t.layoutChanged=0]="layoutChanged",t[t.columnChanged=1]="columnChanged",t[t.rowChanged=2]="rowChanged"}(f=V.LayoutChangeType||(V.LayoutChangeType={}))},"./dist/plugins/shape/shape.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P,N,D,U,q,k,B,Z,H,z,Q,G=this&&this.qKr||(J=function(t,V){return J=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])},J(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}J(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),J;function W(t){var n,i,e,r;function c(t,n){var i=parseInt(t.v_||0,10);return n?(0,V.emuToPixels)(i,6):i}return{row:n=c(t.row),col:i=c(t.col),rowOffset:e=c(t.rowOff,!0),colOffset:r=c(t.colOff,!0)}}function K(t,n,i,e){return{col:{v_:t},colOff:{v_:(0,V.pixelToEMU)(n)},row:{v_:i},rowOff:{v_:(0,V.pixelToEMU)(e)}}}function $(t){return{x:(0,V.emuToPixels)((0,V.getAttributeValueOrDefaultOfIntType)(t.x),6),y:(0,V.emuToPixels)((0,V.getAttributeValueOrDefaultOfIntType)(t.y),6)}}function tt(t){return{width:(0,V.emuToPixels)((0,V.getAttributeValueOrDefaultOfIntType)(t.cx),6),height:(0,V.emuToPixels)((0,V.getAttributeValueOrDefaultOfIntType)(t.cy),6)}}function Vt(t){var V=t%360;return V<0&&(V+=360),V=45<=V&&V<135?90:135<=V&&V<225?180:225<=V&&V<315?270:0}function nt(t,V,n){return V?((t%=360)<0&&1===V&&(t+=360),t*=o.ANGLE_ADJUSTMENT_UNIT):t*=o.ADJUSTMENT_UNIT,n?_(t):t}function it(t,V){return V?(t/=o.ANGLE_ADJUSTMENT_UNIT)>180&&(t-=360):t/=o.ADJUSTMENT_UNIT,t}function et(t,V,n){if(!n||!t||!t.Lp)return V;var i=t.Lp.parse(t.Uw(),V,0,0,!1,!1,!1);return i.source&&(i.source.Wbt=n),t.Lp.unparse(t.Uw(),i,0,0,!1,!1)}function rt(t){return Array.isArray(t)?t:E(t)?[]:[t]}function ct(t,V){for(var n=0;n<t.length;n++)if(V(t[n]))return t[n]}function ot(t,V){return ct(rt(t&&t.ext),V)}function st(t,V){var n=t.extLst;n||(n=t.extLst={ext:[]}),Array.isArray(n.ext)||(n.ext=rt(n.ext)),n.ext.push(V)}function dt(t,V,n,i,e){var r,c,o,s;return t-=i,V-=e,n=n*Math.PI/180,{x:(o=t*(r=I(n))-V*(c=M(n)))+i,y:(s=t*c+V*r)+e}}function at(t){var n,i=t.rowOffset;return E(t.rowOffsetEmu)||(i=(0,V.emuToPixels)(t.rowOffsetEmu,6)),n=t.colOffset,E(t.colOffsetEmu)||(n=(0,V.emuToPixels)(t.colOffsetEmu,6)),{row:t.row,col:t.col,rowOffset:i,colOffset:n}}function ht(t,V){for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]&&!V[n]&&(V[n]=t[n])}function ut(t,V){var n=V.solidFill,i=V.grpFill,e=V.pattFill,r=V.gradFill,c=V.blipFill,o=V.noFill;n?t.FromSJSOOModel(n,0):i?t.FromSJSOOModel(i,4):e?t.FromSJSOOModel(e,1):r?t.FromSJSOOModel(r,2):c?t.FromSJSOOModel(c,3):o&&(t.Color.ColorType=0)}function xt(t,V){var n,i;m(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 ft(t){var V=t.ToSJSOOModel();return delete V.colorFillType,V}function yt(t){var V,n={};return t.IsDirtyIncludingParent(!0)&&(V=t.ToSJSOOModel(),n=t.Visible?V:{noFill:{}}),n}function lt(t,V){}function gt(t){return""+t}function At(t){return(0,V.xmlEncode)(S(t,"\n","&#xA;"))}function pt(t){return(0,V.xmlDecode)(S(t,"&#xA;","\n"))}function vt(t){return!!(null==t?void 0:t.options.rightToLeft)}function wt(t,V,n){var i=V,e=n;switch(t){case c.TextDirection.vert:case c.TextDirection.wordArtVertRtl:case c.TextDirection.eaVert:i=n,e=2-V;break;case c.TextDirection.vert270:i=2-n,e=V;break;case c.TextDirection.wordArtVert:case c.TextDirection.eaVertLtr:i=n,e=V}return{hAlign:i,vAlign:e}}function jt(t,V){var n,i,r,o,s,d,a,h=V.bodyPr,u=null!==(n=t.VoV)&&void 0!==n?n:c.TextDirection.horz;u!==h.vert&&(h.vert=u),o=(r=wt(u,t.czn,t.fzn)).hAlign,s=r.vAlign,(i=s)!==h.anchor&&(h.anchor=i),(i=t.MeV)&&(h.lIns=(0,e.getWholeNumber)(i.left/H),h.rIns=(0,e.getWholeNumber)(i.right/H),h.tIns=(0,e.getWholeNumber)(i.top/H),h.bIns=(0,e.getWholeNumber)(i.bottom/H)),E(i=o)||((d=V.p).forEach((function(t){t.pPr.algn=i})),isNaN(h.horzOverflow)&&(h.horzOverflow=1),isNaN(h.vertOverflow)&&(h.vertOverflow=2)),(a=t.TrV)?h.spAutoFit=a:delete h.spAutoFit}function bt(t,n){var i,r,c,o,s,d,a,h,u=n.bodyPr,x=e.ST_TextVerticalType[t.VoV];x!==u.vert&&(u.vert=x),r=(i=wt(t.VoV,t.czn,t.fzn)).hAlign,c=i.vAlign,(o=e.ST_TextAnchoringType[c])!==u.anchor&&(u.anchor=o),(s=t.MeV)&&(u.lIns=(0,e.getWholeNumber)(s.left/H),u.rIns=(0,e.getWholeNumber)(s.right/H),u.tIns=(0,e.getWholeNumber)(s.top/H),u.bIns=(0,e.getWholeNumber)(s.bottom/H)),d=e.ST_TextAlignType[r],E(d)||(a=rt(n.p)).forEach((function(t){(0,V.getTargetNodeByName)(t,"pPr").algn=d})),(h=t.TrV)?u.spAutoFit={}:delete u.spAutoFit}function Lt(t){var V;null===(V=t.p)||void 0===V||V.forEach((function(t){var V;null===(V=t.elements)||void 0===V||V.forEach((function(t){delete t.id}))}))}Object.defineProperty(V,"__esModule",{value:!0}),V.LosslessShapeData=V.ShapeData=V.applyTextBodyProperties=V.ShapeBaseData=V.DrawingBaseData=V.isRightToLeftLayout=V.decodeDrawingName=V.encodeDrawingName=V.j=V.toSJSThreeDGroup=V.toSJSLine=V.toSJSColorNode=V.toSJSFillGroup=V.fromSJSFillGroup=V.readExcelIOAnchorPoint=V.addSJSExt=V.findSJSExt=V.find=V.convertToArray=V.adjustFormulaByNewWorkSheetName=V.convertAdjustmentValueToSJSUnit=V.convertAdjustmentValueToExcelUnit=V.getAvailableAngle=V.toSJSAnchorPoint=V.readSJSAnchorPoint=V.RELATIVE_DEFAULT_SIZE=V.DEFAULT_LR_INS=V.DEFAULT_TB_INS=V.SJS_False=V.SJS_True=V.xmlEncode=V.xmlDecode=V.getTargetNodeByName=V.pixelToEMU=V.emuToPixels=V.getActualRowHeight=V.getActualColumnWidth=V.getAttributeValueOrDefaultOfIntType=V.getAttrValueOrDefaultOfBooleanType=void 0,i=n("Common"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/shapeStyle.js"),c=n("./dist/plugins/shape/shape.interface.js"),o=n("./dist/plugins/shape/geometryService/controlPointService.js"),s=n("Core"),d=n("FloatingObject"),a=n("./dist/plugins/shape/util/sheetUtil.js"),h=d.Drawing.ColorFormat,u=d.Drawing.LineFormat,x=d.Drawing.ShadowFormat,f=d.Drawing.GlowFormat,y=d.Drawing.FillFormat,l=d.Drawing.ReflectionFormat,g=d.Drawing.SoftEdgeFormat,A=d.Drawing.ThreeDFormat,p=d.Drawing.DrawingText,v=d.Drawing.TextFieldType,w=d.Drawing.ARGBColor,j=d.Drawing.OOXMLFileHelper,b=d.Drawing.DrawingType,L=d.Drawing.ThemeFont,m=e.DrawingUtility.Aft,C=e.ShapeConstants.PositiveFixedAngleConvert,R=null,I=Math.cos,M=Math.sin,_=Math.round,E=i.Common.lt.ht,V.getAttrValueOrDefaultOfBooleanType=s.NodeHelper.ur,V.getAttributeValueOrDefaultOfIntType=s.NodeHelper.sr,V.getActualColumnWidth=s.ExcelHelper.getActualColumnWidth,V.getActualRowHeight=s.ExcelHelper.getActualRowHeight,V.emuToPixels=s.ExcelHelper.emuToPixles,V.pixelToEMU=s.ExcelHelper.pixelToEMU,V.getTargetNodeByName=s.util.u1,V.xmlDecode=s.util.n1,V.xmlEncode=s.util.vo,V.SJS_True="1",V.SJS_False="0",S=s.Util.gr,F="Internal",X="External",Y="sjs://",O="#",T=45720,P=91440,V.DEFAULT_TB_INS=(0,V.emuToPixels)(T),V.DEFAULT_LR_INS=(0,V.emuToPixels)(P),V.RELATIVE_DEFAULT_SIZE=100,N=!1,V.readSJSAnchorPoint=W,V.toSJSAnchorPoint=K,V.getAvailableAngle=Vt,V.convertAdjustmentValueToExcelUnit=nt,V.convertAdjustmentValueToSJSUnit=it,V.adjustFormulaByNewWorkSheetName=et,V.convertToArray=rt,V.find=ct,V.findSJSExt=ot,V.addSJSExt=st,V.readExcelIOAnchorPoint=at,V.fromSJSFillGroup=ut,V.toSJSFillGroup=xt,V.toSJSColorNode=ft,V.toSJSLine=yt,V.toSJSThreeDGroup=lt,V.j=gt,V.encodeDrawingName=At,V.decodeDrawingName=pt,V.isRightToLeftLayout=vt,D=function(t){function n(V,n,i){var r=t.call(this,V,n,i)||this;return Object.defineProperty(r,"Text",{get:function(){return E(this._text)?this.Type===v.TxLink?this.N0t.ReferingText:e.DrawingUtility.GetTextFieldTypeText(this.Type):this._text}}),r}return G(n,t),n.prototype.updateText=function(t){this._text=t},n.prototype.FromOOModel=function(V){t.prototype.FromOOModel.call(this,V),V&&V.t&&this.updateText(V.t)},n.prototype.FromSJSOOModel=function(n){t.prototype.FromSJSOOModel.call(this,n);var i=n&&n.t&&n.t.v_;i&&this.updateText((0,V.xmlDecode)(i))},n}(d.Drawing.DrawingTextField),U=function(t){function V(V,n){var i=t.call(this,V,n)||this;return i.E0t=e.ST_TextAlignType.l,i}return G(V,t),V.prototype.CreateDrawingTextField=function(t,V){return new D(t,V,this)},V}(d.Drawing.DrawingTextParagraph),q=function(t){function n(n,i){var r=t.call(this,n,i)||this,c=r;return c.F0t={top:V.DEFAULT_TB_INS,bottom:V.DEFAULT_TB_INS,left:V.DEFAULT_LR_INS,right:V.DEFAULT_LR_INS},c.P0t=!1,c.G0t=e.ST_TextAnchoringType.t,c.U0t=e.ST_TextVerticalType.horz,c.lrt=e.ST_TextWrappingType.square,c.H0t=e.ST_TextHorzOverflowType.clip,c.z0t=e.ST_TextVertOverflowType.clip,r}return G(n,t),n.prototype.CreateDrawingTextParagraph=function(t){return new U(t,this)},n.prototype.e1t=function(V){t.prototype.e1t.call(this,V);var n=this;E(V.vertOverflow)&&(n.z0t=e.ST_TextVertOverflowType.overflow),E(V.horzOverflow)&&(n.H0t=e.ST_TextHorzOverflowType.overflow)},n.prototype.i1t=function(V){t.prototype.i1t.call(this,V);var n=this;E(V.vertOverflow)&&(n.z0t=e.ST_TextVertOverflowType.overflow),E(V.horzOverflow)&&(n.H0t=e.ST_TextHorzOverflowType.overflow)},n}(d.Drawing.DrawingTextBody),k=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return G(V,t),V.prototype.CreateDrawingTextBody=function(t,V){return new q(t,V)},V.prototype.SetTextLinkInternal=function(){var t;this.v0t.Clear(),this.v0t.AddParagraph(void 0).AddField(d.Drawing.TextFieldType.TxLink)},V.prototype.UpdateTextLinkElementText=function(t){var V=this.GetTextLinkElement();V&&V.updateText(t)},V.prototype.HasTextLink=function(){return!!this.GetTextLinkElement()},V.prototype.GetTextLinkElement=function(){var t,V,n,i,e,r,c=this.v0t;for(t=0,V=c.Count;t<V;t++)for(i=0,e=(n=c.Get(t)).Count;i<e;i++)if(r=n.Get(i),this.IsTextLinkElement(r))return r},V.prototype.IsTextLinkElement=function(t){return t&&t instanceof d.Drawing.DrawingTextField&&t.Type===v.TxLink},V}(p),B=function(){function t(t,V,n,i,e,r){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 c=this;c.assignId(),c.eJ=t,isNaN(i)||(c.A0=i,c.I0=n,c.YC=e,c.ZC=r)}return Object.defineProperty(t.prototype,"Name",{get:function(){return this.Zc},set:function(t){var V,n=this;if(n.Zc!==t){if(V=n.checkNameUnique(t))return;n.Zc=t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.A0},set:function(t){if(t!==this.A0){var V=this.AHr();this.A0=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.I0},set:function(t){if(t!==this.I0){var V=this.AHr();this.I0=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.YC},set:function(t){if(t!==this.YC){var V=this.AHr();this.YC=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.ZC},set:function(t){if(t!==this.ZC){var V=this.AHr();this.ZC=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"topAnchorRow",{get:function(){return this.hVV},set:function(t){if(t!==this.hVV){var V=this.AHr();this.hVV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"topAnchorRowOffset",{get:function(){return this.uVV},set:function(t){if(t!==this.uVV){var V=this.AHr();this.uVV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leftAnchorCol",{get:function(){return this.xVV},set:function(t){if(t!==this.xVV){var V=this.AHr();this.xVV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leftAnchorColOffset",{get:function(){return this.yVV},set:function(t){if(t!==this.yVV){var V=this.AHr();this.yVV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottomAnchorRow",{get:function(){return this.CtV},set:function(t){if(t!==this.CtV){var V=this.AHr();this.CtV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottomAnchorRowOffset",{get:function(){return this.RtV},set:function(t){if(t!==this.RtV){var V=this.AHr();this.RtV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightAnchorCol",{get:function(){return this.ItV},set:function(t){if(t!==this.ItV){var V=this.AHr();this.ItV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightAnchorColOffset",{get:function(){return this.MtV},set:function(t){if(t!==this.MtV){var V=this.AHr();this.MtV=t,this.b_r(V)}},enumerable:!1,configurable:!0}),t.prototype.AHr=function(){var t=this.eJ;return t.THr({type:"updateShapeTransform",sheet:t,shapeId:this.jKe()})},t.prototype.b_r=function(t){var V=this.eJ;V.$Dr({type:"updateShapeTransform",sheet:V,shapeId:this.jKe()},t)},t.prototype.xnV=function(){var t,V=this,n=V.eJ,i=(0,a.getY)(n,V.hVV,V.uVV);V.top=i,t=n.options.rightToLeft?(0,a.getX)(n,V.ItV,V.MtV):(0,a.getX)(n,V.xVV,V.yVV),V.left=t},t.prototype.mtV=function(){var t,V=this,n=V.eJ,i=(0,a.getY)(n,V.CtV,V.RtV)-V.A0;V.height=Math.max(0,i),t=n.options.rightToLeft?(0,a.getX)(n,V.xVV,V.yVV):(0,a.getX)(n,V.ItV,V.MtV),V.width=Math.max(0,t-V.I0)},t.prototype.ynV=function(t){var V,n,i=this,e=i.eJ,r=(0,a.getRowAndRowOffset)(e,i.A0,t);i.topAnchorRow=r.row,i.topAnchorRowOffset=r.rowOffset,V=vt(e)?i.I0+i.YC:i.I0,n=(0,a.getColAndColOffset)(e,V,t),i.leftAnchorCol=n.col,i.leftAnchorColOffset=n.colOffset},t.prototype.fnV=function(t){var V,n,i=this,e=i.eJ,r=(0,a.getRowAndRowOffset)(e,i.ZC+i.A0,t);i.bottomAnchorRow=r.row,i.bottomAnchorRowOffset=r.rowOffset,V=vt(e)?i.I0:i.I0+i.YC,n=(0,a.getColAndColOffset)(e,V,t),i.rightAnchorCol=n.col,i.rightAnchorColOffset=n.colOffset},t.prototype.FormulaFrom=function(){},t.prototype.FromSJSOOModel=function(t,V){this._eV(V)},t.prototype.ToSJSOOModel=function(t,V,n){this.EeV(t)},t.prototype.FromSJSCT_ShapeBase=function(t){},t.prototype.ToSJSCT_ShapeBase=function(t,V){},t.prototype._eV=function(t){var V,n,i,e,r,c,o,s,d=this,h=t.anchorType;d.itV=h,V=function(t){d.hVV=t.row,d.uVV=t.rowOffset,d.xVV=t.col,d.yVV=t.colOffset,d.xnV()},n=function(t){d.CtV=t.row,d.RtV=t.rowOffset,d.ItV=t.col,d.MtV=t.colOffset,d.mtV()},0===h?(V(W((i=t).from)),n(W(i.to))):1===h?(e=W((i=t).from),r=tt(i.ext),c=(0,a.getOriginXYByAnchorPoint)(d.eJ,e),o=(0,a.getAnchorPointByOriginXY)(d.eJ,c.x+r.width,c.y+r.height),V(e),n(o)):2===h&&(s=$((i=t).pos),r=tt(i.ext),e=(0,a.getAnchorPointByOriginXY)(d.eJ,s.x,s.y),o=(0,a.getAnchorPointByOriginXY)(d.eJ,s.x+r.width,s.y+r.height),V(e),n(o))},t.prototype.EeV=function(t){var V=this;t.from=K(V.xVV,V.yVV,V.hVV,V.uVV),t.to=K(V.ItV,V.MtV,V.CtV,V.RtV)},t.prototype.checkNameUnique=function(t){if(this.eJ.shapes.get(t)){if(this.CVV)return!0;throw new Error((0,e.sR)().Exp_DuplicatedName)}},t}(),V.DrawingBaseData=B,(0,s.qDr)(B),(0,s.$e)(B),Z=function(t){function n(V,n,i,e,r,c){var o,s=t.call(this,V,n,i,e,r,c)||this;return s.ltV=!1,s.gtV=!1,s.jft=!0,s._hidden=!1,s.itn="",s.L0t=0,s.meV=!0,s.CeV=!1,s.ReV=!1,s.ntV=0,s.idV=[],s.oiV={},s.GVV=0,s.osV=0,s.asV=0,s.hsV=0,s.TrV=N,o=s,n&&(o.Name=n),isNaN(e)||(o.ynV(),o.fnV()),o.InitFormat(),s}return G(n,t),Object.defineProperty(n.prototype,"Parent",{get:function(){return this.eJ},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Placement",{get:function(){return this.itV},set:function(t){this.itV=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Title",{get:function(){return this.itn},set:function(t){this.itn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Rotation",{get:function(){return this.L0t},set:function(t){this.L0t=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"RotationWithoutParent",{get:function(){var t=this.L0t;return this.ParentGroup&&(t-=this.ParentGroup.Rotation),t},set:function(t){this.XtV&&(t+=this.XtV.Rotation),this.Rotation=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Locked",{get:function(){return this.meV},set:function(t){this.meV=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"AutoShapeType",{get:function(){return this.ntV},set:function(t){var V,n=this;n.ntV=t,V=(0,o.getControlPointInfo)(t),n.idV=V.adjustValues,n.oiV=V.angleAdjustments},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"AdjustValues",{get:function(){return this.idV},set:function(t){this.idV=t},enumerable:!1,configurable:!0}),n.prototype.edV=function(t,V){var n,i,e,r,c;if(t&&0!==t.length)for(n=this.oiV,i=0;i<t.length;i++)r=(e=t[i])[0],c=+e[1],isNaN(c)||(V&&(c=nt(c,n[r],!1)),this.cdV(r,c))},n.prototype.cdV=function(t,V){var n=ct(this.idV,(function(V){return V[0]===t}));n&&(n[1]=_(V))},Object.defineProperty(n.prototype,"Connector",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Fill",{get:function(){return this.S0t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Line",{get:function(){return this.Tin},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ParentGroup",{get:function(){return this.XtV},enumerable:!1,configurable:!0}),n.prototype.mVV=function(t){this.XtV=t},n.prototype.btV=function(t){this.Zc||(this.Name=t)},Object.defineProperty(n.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(n.prototype,"ThreeD",{get:function(){return this.Cin},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Visible",{get:function(){return this.jft},set:function(t){this.jft=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"Hidden",{get:function(){return this._hidden},set:function(t){this._hidden=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ShapeStyle",{get:function(){return this.MVV},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"IsTextBox",{get:function(){return this.CeV},set:function(t){this.CeV=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"noChangeAspect",{get:function(){return this.ReV},set:function(t){this.ReV=t},enumerable:!1,configurable:!0}),n.prototype.IsSpecialShape=function(){var t=this.AutoShapeType;return 25===t||26===t||27===t||29===t||30===t||31===t||32===t||182===t},n.prototype.InitFormat=function(){var t,V=this,n=V.MVV=V.CreateDefaultShapeStyle();V.S0t=new y(V,n.Fill,R,V),V.Tin=new u(V,n.Line),V.Tin.Style=0,t=n.Font,V.I0i=new k(V,t,"",{Size:t.Size}),V.Cin=new A(V,V.XtV&&V.XtV.ThreeD),V.Ain=new x(V),V.Din=new f(V),V.SeV=new l(V),V.Pin=new g},n.prototype.CreateDefaultShapeStyle=function(){return new r.ShapeStyleData(this,1,2,0,1)},n.prototype.calcStartAndEndPoint=function(){var t,V,n,i,e,r,c,o,s,d,h,u,x,f,y,l=this,g=Vt(l.L0t),A=l.hVV,p=l.uVV,v=l.xVV,w=l.yVV,j=l.CtV,b=l.RtV,L=l.ItV,m=l.MtV;return 0!==g&&(t=l.A0,V=l.I0,n=l.YC,i=l.ZC,e=l.eJ,o=dt(V,t,g,r=V+n/2,c=t+i/2),s=dt(V+n,t+i,g,r,c),d=dt(V+n,t,g,r,c),h=dt(V,t+i,g,r,c),u=(0,a.getRowAndRowOffset)(e,Math.min(o.y,s.y,d.y,h.y)),x=(0,a.getColAndColOffset)(e,Math.min(o.x,s.x,d.x,h.x)),f=(0,a.getRowAndRowOffset)(e,Math.max(o.y,s.y,d.y,h.y)),y=(0,a.getColAndColOffset)(e,Math.max(o.x,s.x,d.x,h.x)),A=u.row,p=u.rowOffset,v=x.col,w=x.colOffset,j=f.row,b=f.rowOffset,L=y.col,m=y.colOffset),{startPoint:{row:A,col:v,rowOffset:p,colOffset:w},endPoint:{row:j,col:L,rowOffset:b,colOffset:m}}},n.prototype.fromAnchorWhenRot=function(t,V,n){var i=this,e=-Vt(t),r={y:(0,a.getY)(i.eJ,V.row,V.rowOffset),x:(0,a.getX)(i.eJ,V.col,V.colOffset)},c={y:(0,a.getY)(i.eJ,n.row,n.rowOffset),x:(0,a.getX)(i.eJ,n.col,n.colOffset)},o={x:(r.x+c.x)/2,y:(r.y+c.y)/2},s=dt(r.x,r.y,e,o.x,o.y),d=dt(c.x,c.y,e,o.x,o.y),h=dt(r.x,c.y,e,o.x,o.y),u=dt(r.x,c.y,e,o.x,o.y),x=Math.min(s.x,d.x,h.x,u.x),f=Math.min(s.y,d.y,h.y,u.y);i.I0=x,i.A0=f,i.YC=Math.abs(Math.max(s.x,d.x,h.x,u.x)-x),i.ZC=Math.abs(Math.max(s.y,d.y,h.y,u.y)-f),i.ynV(),i.fnV()},n.prototype.FromOOModel=function(t){var V,n,i,e,r,c,o,s,d,h=this;t&&(V=function(t){h.hVV=t.row,h.uVV=t.rowOffset,h.xVV=t.col,h.yVV=t.colOffset},n=function(t){h.CtV=t.row,h.RtV=t.rowOffset,h.ItV=t.col,h.MtV=t.colOffset},0===(i=t.anchorType)?(e=at(t.startPoint),r=at(t.endPoint),V(e),n(r),h.itV=t.editAs,o=void 0,s=0,(c=t.sp||t.cxnSp||t.grpSp||t.pic)&&c.spPr&&c.spPr.xfrm&&c.spPr.xfrm.rot&&(s=(o=c.spPr.xfrm).rot),c&&c.grpSpPr&&c.grpSpPr.xfrm&&c.grpSpPr.xfrm.rot&&(s=(o=c.grpSpPr.xfrm).rot),0!==s?h.fromAnchorWhenRot(s/6e4,e,r):(h.xnV(),h.mtV())):1===i?(h.itV=1,e=at(t.startPoint),d=(0,a.getOriginXYByAnchorPoint)(h.eJ,e),r=(0,a.getAnchorPointByOriginXY)(h.eJ,d.x+t.width,d.y+t.height),V(e),n(r),h.xnV(),h.mtV()):2===i&&(h.itV=2,e=(0,a.getAnchorPointByOriginXY)(h.eJ,t.x,t.y),r=(0,a.getAnchorPointByOriginXY)(h.eJ,t.x+t.width,t.y+t.height),V(e),n(r),h.xnV(),h.mtV()))},n.prototype.FromSJSOOModel=function(V,n){var i,e,r,c,o;t.prototype.FromSJSOOModel.call(this,V,n),i=this,0===n.anchorType&&(0!==(r=(e=i.aoV(V)||{}).rot?parseInt(e.rot,10):0)?(c=n.from,o=n.to,i.fromAnchorWhenRot(r/6e4,W(c),W(o))):(i.xnV(),i.mtV()))},n.prototype.ToOOModel=function(t,V){var n=this,i={anchorType:0},e=n.calcStartAndEndPoint();return i.startPoint=e.startPoint,i.endPoint=e.endPoint,i.editAs=n.itV,i},n.prototype.ToSJSOOModel=function(V,n){var i,e,r,c,o,s,d,h,u,x,f,y,l,g,A,p,v;t.prototype.ToSJSOOModel.call(this,V,n),0!==(e=Vt((i=this).L0t))&&(r=i.A0,c=i.I0,o=i.YC,s=i.ZC,d=i.eJ,x=dt(c,r,e,h=c+o/2,u=r+s/2),f=dt(c+o,r+s,e,h,u),y=dt(c+o,r,e,h,u),l=dt(c,r+s,e,h,u),g=(0,a.getRowAndRowOffset)(d,Math.min(x.y,f.y,y.y,l.y)),A=(0,a.getColAndColOffset)(d,Math.min(x.x,f.x,y.x,l.x)),p=(0,a.getRowAndRowOffset)(d,Math.max(x.y,f.y,y.y,l.y)),v=(0,a.getColAndColOffset)(d,Math.max(x.x,f.x,y.x,l.x)),V.from=K(A.col,A.colOffset,g.row,g.rowOffset),V.to=K(v.col,v.colOffset,p.row,p.rowOffset))},n.prototype.FromCT_ShapeBase=function(t){},n.prototype.ToCT_ShapeBase=function(t){},n.prototype.FromCT_ShapeProperties=function(t){var V,n=this,i=t.prstGeom,e=t.xfrm;n.bri=i&&0===i.prst,n.FromCT_Transform2D(e),delete n.bri,n.bsV(t),t.ln&&n.Tin.FromOOModel(t.ln),V=(e&&e.rot||0)/C,n.XtV&&(V+=n.XtV.Rotation),n.Rotation=V,i?n.FromCT_PresetGeometry2D(i):(n.AutoShapeType=0,n._hidden=!0),n.FromThreeDFormat(t),n.FromCT_EffectList(t.effectLst)},n.prototype.bsV=function(t){var V=this,n=V.S0t;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.prototype.stV=function(t){var V,n,i,e=this,r=t.prstGeom,c=t.xfrm;e.YeV(c),ut(e.S0t,t),(V=t.ln)&&e.Tin.FromSJSOOModel(V),c&&(i=(n=c.rot?parseInt(c.rot,10):0)/C,e.XtV&&(i+=e.XtV.Rotation),e.Rotation=i),r?e.FromSJSCT_PresetGeometry2D(r):(e.AutoShapeType=0,e._hidden=!0),e.TeV(t),e.$cV(t.effectLst)},n.prototype.ToCT_ShapeProperties=function(t,V,n,i){var 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:[]},e.LsV(V),e.msV(V),V.effectLst=e.ToCT_EffectList(i),e.CsV(V),V},n.prototype.LsV=function(t){var V,n,i,e;return m(t),(n=(V=this).S0t).IsDirtyIncludingParent(!0)&&(e=(i=n.ToOOModel()).colorFillType,n.Visible?0===e?t.solidFill=i:1===e?t.pattFill=i:2===e?t.gradFill=i:3===e?t.blipFill=i:4===e?t.grpFill={colorFillType:4}:5===e&&(t.noFill=!0):(t.noFill=!0,t.extLst.ext.push(V.ToFillProperties(i))),delete i.colorFillType),t},n.prototype.msV=function(t){var V,n=this,i=n.Tin;return i.IsDirtyIncludingParent(!0)&&(V=i.ToOOModel(),i.Visible?t.ln=V:(t.ln={},t.ln.noFill=!0,t.extLst.ext.push({uri:j.HiddenLineUri,Line:V}))),t},n.prototype.CsV=function(t){var V,n=this,i=n.Cin.ToOOModel();n.Cin.Visible?(t.scene3d=i.Scene3D,t.sp3d=i.Shape3D):(V=n.ToHiddenThreedFormatExt(i),[].push.apply(t.extLst.ext,V.ext))},n.prototype.ToSJSCT_ShapeProperties=function(t,V){var n=this,i={};return i.xfrm=n.ToSJSCT_Transform2D(),V&&(i.prstGeom=n.ToCT_PresetGeometry2D(e.ST_ShapeType[t],i.prstGeom)),xt(n.S0t,i),i.ln=yt(n.Tin),i.effectLst=n.KcV(),n.Cin,i},n.prototype.ToFillProperties=function(t){var V,n,i={};return i.uri=j.HiddenFillUri,V=i.Fill={},0===(n=t.colorFillType)?V.solidFill=t:1===n?V.pattFill=t:2===n?V.gradFill=t:3===n?V.blipFill=t:4===n?V.grpFill={colorFillType:4}:5===n&&(V.noFill=!0),delete t.colorFillType,i},n.prototype.ToHiddenThreedFormatExt=function(t){var V,n,i={ext:[]};return t.Scene3D&&((V={hiddenExtensionType:0}).uri=j.HiddenScene3dUri,V.Scene3d=t.Scene3D,i.ext.push(V)),t.Shape3D&&((n={hiddenExtensionType:3}).uri=j.HiddenSp3dUri,n.Shape3d=t.Shape3D,i.ext.push(n)),i},n.prototype.ToCT_OfficeArtExtensionList=function(){return{ext:[]}},n.prototype.FromCT_EffectList=function(t){var V=this;if(!t)return V.Ain=R,V.Din=R,V.Pin=R,void(V.SeV=R);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)},n.prototype.$cV=function(t){this.trV=t},n.prototype.ToCT_EffectList=function(t){var V,n,i,e=this,r=e.Ain,c=e.Din,o=e.Pin,s=e.SeV;if(r||c||o||s)return V={},r&&(n=r.ToOOModel())&&(0===(i=n.shadowEffectType)?V.outerShdw=n:1===i?V.innerShdw=n:2===i&&(V.prstShdw=n)),c&&(V.glow=c.ToOOModel()),o&&(V.softEdge=o.ToOOModel()),s&&(V.reflection=s.ToOOModel()),V},n.prototype.KcV=function(){return this.trV},n.prototype.FromThreeDFormat=function(t){var 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(e.ThreeDFormatStates.Visible))})),n.FromOOModel(V)},n.prototype.TeV=function(t){var V=this.Cin,n=t.scene3d,i=t.sp3d,e=t.extLst;V.FromSJSOOModel(n,i,e)},n.prototype.FromCT_Transform2D=function(t){if(t){var V=this;V.FromCT_Transform2D_Flip(t),V.ParentGroup&&(V.FromCT_Point2D(t.off,t.ext),V.FromCT_PositiveSize2D(t.ext),V.ynV(),V.fnV())}},n.prototype.YeV=function(t){var V,n,i;t&&((V=this).FromCT_Transform2D_Flip(t),V.ParentGroup&&(n=t.off,i=t.ext,V.FromSJSCT_Point2D(n,i),V.FromSJSCT_PositiveSize2D(i),V.ynV(),V.fnV()))},n.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)))},n.prototype.ToCT_Transform2D=function(){var t=this,V;return V=t.XtV?t.Rotation-t.XtV.Rotation:t.Rotation,{flipH:t.ltV,flipV:t.gtV,rot:(0,e.getWholeNumber)(V*C),off:t.ToCT_Point2D(),ext:t.ToCT_PositiveSize2D()}},n.prototype.ToSJSCT_Transform2D=function(){var t,n,i=this;return t=i.XtV?i.Rotation-i.XtV.Rotation:i.Rotation,n={},i.ltV&&(n.flipH=V.SJS_True),i.gtV&&(n.flipV=V.SJS_True),0!==t&&(n.rot=String((0,e.getWholeNumber)(t*C))),n.off=i.ToSJSCT_Point2D(),n.ext=i.ToSJSCT_PositiveSize2D(),n},n.prototype.FromCT_PositiveSize2D=function(t){var V,n;t&&((n=(V=this).baseOffset)?(V.asV=t.cx/(n.chExtX||1),V.hsV=t.cy/(n.chExtY||1),V.YC=V.asV*n.extX,V.ZC=V.hsV*n.extY):(V.YC=t.cx,V.ZC=t.cy))},n.prototype.FromSJSCT_PositiveSize2D=function(t){var n={cx:(0,V.getAttributeValueOrDefaultOfIntType)(t.cx,0),cy:(0,V.getAttributeValueOrDefaultOfIntType)(t.cy,0)};this.FromCT_PositiveSize2D(n)},n.prototype.ToCT_PositiveSize2D=function(){var t=this.YC,n=this.ZC,i=this.ParentGroup;return i&&(0===i.YC&&(t=V.RELATIVE_DEFAULT_SIZE*this.asV),0===i.ZC&&(n=V.RELATIVE_DEFAULT_SIZE*this.hsV)),{cx:t,cy:n}},n.prototype.ToSJSCT_PositiveSize2D=function(){var t=this.ToCT_PositiveSize2D(),n=t.cx,i=t.cy;return{cx:(0,V.pixelToEMU)(n),cy:(0,V.pixelToEMU)(i)}},n.prototype.FromCT_Point2D=function(t,V){var n,i,e,r,c,o,s,d,a,h,u,x;t&&(i=0,e=0,r=0,c=0,o=1,s=1,(d=(n=this).baseOffset)?(a=(t.x-d.chOffX)/(d.chExtX||1),h=(t.y-d.chOffY)/(d.chExtY||1),u=a*d.extX,x=h*d.extY,n.GVV=a,n.osV=h,n.ParentGroup.ltV&&V?n.I0=d.offX+(d.extX-V.cx/(d.chExtX||1)*d.extX)-u:n.I0=d.offX+u,n.ParentGroup.gtV&&V?n.A0=d.offY+(d.extY-V.cy/(d.chExtY||1)*d.extY)-x:n.A0=d.offY+x):(n.I0=(t.x-i)*o+r,n.A0=(t.y-e)*s+c))},n.prototype.FromSJSCT_Point2D=function(t,n){var i={x:(0,V.getAttributeValueOrDefaultOfIntType)(t.x,0),y:(0,V.getAttributeValueOrDefaultOfIntType)(t.y,0)},e={cx:(0,V.getAttributeValueOrDefaultOfIntType)(n.cx,0),cy:(0,V.getAttributeValueOrDefaultOfIntType)(n.cy,0)};this.FromCT_Point2D(i,e)},n.prototype.ToCT_Point2D=function(){var t=this.I0,n=this.A0,i=this.ParentGroup;return i&&(0===i.YC&&(t+=V.RELATIVE_DEFAULT_SIZE*this.GVV),0===i.ZC&&(n+=V.RELATIVE_DEFAULT_SIZE*this.osV)),{x:t,y:n}},n.prototype.ToSJSCT_Point2D=function(){var t=this.ToCT_Point2D(),n=t.x,i=t.y;return{x:(0,V.pixelToEMU)(n),y:(0,V.pixelToEMU)(i)}},n.prototype.FromCT_AvLst=function(t){t&&t.gd&&this.edV(e.ShapeUtility.convertFromExcelAdjustValues(rt(t.gd)),!1)},n.prototype.FromCT_PresetGeometry2D=function(t){var V=this;V.AutoShapeType=e.ShapeUtility.ToAutoShapeType(t.prst),V.FromCT_AvLst(t.avLst)},n.prototype.FromSJSCT_PresetGeometry2D=function(t){var V=this;V.AutoShapeType=e.ShapeUtility.ToAutoShapeType(e.ST_ShapeType[t.prst]),V.FromCT_AvLst(t.avLst)},n.prototype.ToCT_PresetGeometry2D=function(t,V){var n,i,r=this,c=V||{};return c.prst=t,n=c.avLst={},(i=e.ShapeUtility.convertToExcelAdjustValues(r.AdjustValues))&&(n.gd=i),c},n.prototype.FromCT_ShapeStyle=function(t){t&&this.MVV.FromOOModel(t)},n.prototype.atV=function(t,V){var n,i;t&&(i=(n=this.eJ).currentTheme(),this.MVV.OeV(t,V,i))},n.prototype.ToCT_ShapeStyle=function(t){var V,n=this;if(n.MVV.IsDirtyIncludingParent())return(V=n.MVV.ToOOModel(t)).effectRef||(V.effectRef=n.ToCT_StyleMatrixReference(0,4,-1)),V},n.prototype.ToSJSCT_ShapeStyle=function(){return this.MVV.PeV()},n.prototype.ToCT_StyleMatrixReference=function(t,V,n){var i={idx:t,ColorProp:{colorFillType:0,schemeClr:{val:V}}};return-1!==n&&(i.ColorProp.schemeClr.alpha={val:n}),i},n.prototype.FromCT_NonVisualDrawingProps=function(t,V){var n,i;t&&((n=this).Id=t.id,n.btV(t.name),n.Visible=!t.hidden,n.Title=t.title,n.ku=V||t.hlinkClick,(i=t.__ID__)&&n.UKn(i))},n.prototype.FromSJSCT_NonVisualDrawingProps=function(t){if(t){var n=this;n.Id=+t.id,n.btV(pt(t.name)),n.Visible=!(0,V.getAttrValueOrDefaultOfBooleanType)(t.hidden,!1),n.Title=(0,V.xmlDecode)(t.title),n.NeV(t)}},n.prototype.ToCT_NonVisualDrawingProps=function(t,V){var n=this;return t.id=n.Id,t.name=n.Zc,t.hidden=!n.Visible,t.title=n.Title,t.hlinkClick=n.ku,(null==V?void 0:V.isServer)&&(delete t.id,t.__ID__=n.jKe()),t},n.prototype.ToSJSCT_NonVisualDrawingProps=function(){var t=this,n={};return n.id=t.Id+"",n.name=At(t.Zc),t.Visible||(n.hidden=V.SJS_True),t.Title&&(n.title=(0,V.xmlEncode)(t.Title)),t.DeV(n),n},n.prototype.FromAG_Locking=function(t){this.ReV=!(!t||!t.noChangeAspect)},n.prototype.FromSJSAG_Locking=function(t){this.ReV=(0,V.getAttrValueOrDefaultOfBooleanType)(t&&t.noChangeAspect,!1)},n.prototype.ToAG_Locking=function(t){return t.noChangeAspect=this.ReV,t},n.prototype.ToSJSAG_Locking=function(t){return t.noChangeAspect=this.ReV?V.SJS_True:V.SJS_False,t},n.prototype.NeV=function(t){var n,i,e,r,c,o,s,d;t.lossless&&t.lossless.hyperlink?this.ku=t.lossless.hyperlink:(n=t.hlinkClick||t.hlinkHover)&&(i={},(e=n.Target)&&((e=(0,V.xmlDecode)(e))[0]===O&&(e=e.substring(1)),(r=n.TargetMode)&&r!==F||(e=Y+e),i.url=e),c=n.invalidUrl,E(c)||(i.invalidUrl=c),o=n.action,E(o)||(i.action=o),s=n.tgtFrame,E(s)||(i.tgtFrame=s),d=n.tooltip,E(d)||(i.tooltip=d),i.history=(0,V.getAttrValueOrDefaultOfBooleanType)(n.history,!0),i.highlightClick=(0,V.getAttrValueOrDefaultOfBooleanType)(n.highlightClick,!1),i.endSnd=(0,V.getAttrValueOrDefaultOfBooleanType)(n.endSnd,!1),this.ku=i)},n.prototype.DeV=function(t){var n,i,e=this.ku;e&&(t.lossless||(t.lossless={}),t.lossless.hyperlink=e,e.url&&(n={},0===(i=e.url).indexOf(Y)?n.Target=O+(0,V.xmlEncode)(i.substring(Y.length)):(n.Target=(0,V.xmlEncode)(i),n.TargetMode=X),e.action&&(n.action=e.action),e.tgtFrame&&(n.tgtFrame=e.tgtFrame),e.tooltip&&(n.tooltip=e.tooltip),!1===e.history&&(n.history="0"),e.highlightClick&&(n.highlightClick="1"),e.endSnd&&(n.endSnd="1"),t.hlinkClick=n))},n.prototype.Cft=function(t){var V,n=this.eJ;return n?(V=n.currentTheme(),e.DrawingUtility.Cft(V,t)):""},n.prototype.aoV=function(t){var V;return null===(V=null==t?void 0:t.spPr)||void 0===V?void 0:V.xfrm},Object.defineProperty(n.prototype,"DrawingType",{get:function(){return b.Shape},enumerable:!1,configurable:!0}),n.prototype.sheet=function(){return this.eJ},n}(B),V.ShapeBaseData=Z,H=96/914400,V.applyTextBodyProperties=jt,z=function(t){function n(V,n,i,e,r,c,o){var s=t.call(this,V,n,e,r,c,o)||this,d=s;return d.AutoShapeType=i,d.ttV=0,d.InitShapeFormat(),d.itV=0,s}return G(n,t),Object.defineProperty(n.prototype,"Type",{get:function(){return e.ShapeType.AutoShape},enumerable:!1,configurable:!0}),n.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat(),t.InitFontFormat()},n.prototype.FromOOModel=function(V){var n=this;t.prototype.FromOOModel.call(this,V),V.sp&&n.FromCT_ShapeBase(V.sp),!1===V.isVisible&&(n._hidden=!0)},n.prototype.FromSJSOOModel=function(V,n){var i;t.prototype.FromSJSOOModel.call(this,V,n),V&&this.FromSJSCT_ShapeBase(V)},n.prototype.ToOOModel=function(V,n){var i=t.prototype.ToOOModel.call(this,V);return i.sp=this.ToCT_ShapeBase(V,n),i},n.prototype.ToSJSOOModel=function(V,n,i){t.prototype.ToSJSOOModel.call(this,V,n),V.sp=this.ToSJSCT_ShapeBase(n,i)},n.prototype.FromCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).otV=t,V.FromCT_ShapeNonVisual(n.nvSpPr),V.FromCT_ShapeStyle(n.style),V.FromCT_ShapeProperties(n.spPr),V.qeV(n.style,n.spPr),V.FromCT_TextBody(n.txBody,n.textlink))},n.prototype.FromSJSCT_ShapeBase=function(t){if(t){var V=this,n=V.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)}},n.prototype.ToCT_ShapeBase=function(t,V){var n,i=this;return(n=(t=!1!==t)&&i.otV||{shapeType:5}).nvSpPr=i.ToCT_ShapeNonVisual(t,V),n.spPr=i.ToCT_ShapeProperties(e.ShapeUtility.ToST_ShapeType(i.AutoShapeType),n.spPr||{},0!==i.AutoShapeType,t),n.spPr.prstGeom&&(n.style=i.ToCT_ShapeStyle(t),n.txBody=i.ToCT_TextBody(V),jt(i,n.txBody),i.ToTextLink(n,null==V?void 0:V.newWorkSheetName)),n},n.prototype.ToSJSCT_ShapeBase=function(t,V){var n=this,i={};return i.nvSpPr=n.ToSJSCT_ShapeNonVisual(),i.spPr=n.ToSJSCT_ShapeProperties(e.ShapeUtility.ToST_ShapeType(n.AutoShapeType),0!==n.AutoShapeType),i.spPr.prstGeom&&(i.style=n.ToSJSCT_ShapeStyle(),i.txBody=n.ToSJSCT_TextBody(V),bt(n,i.txBody),n.ToSJSTextLink(i,t)),i},n.prototype.ToTextLink=function(t,V){var n=this,i=n.HeV;i&&(t.textlink=et(n.eJ,i,V))},n.prototype.ToSJSTextLink=function(t,n){var i=this,e=i.HeV;e&&(t.textlink=(0,V.xmlEncode)(et(i.eJ,e,n)))},n.prototype.FromCT_TextBody=function(t,V){var n,i,e,r,c,o;t&&((n=t.p&&t.p[0])&&((i=n.pPr)&&!i.defRPr&&(r=(e=n.elements&&n.elements[0])&&e.rPr)&&(i.defRPr=r),t.lstStyle&&t.lstStyle.lvl1pPr&&(i||(n.pPr={}),n.pPr.defRPr?ht(t.lstStyle.lvl1pPr.defRPr,n.pPr.defRPr):n.pPr.defRPr=t.lstStyle.lvl1pPr.defRPr)),c={rich:t},this.I0i.FromOOModel(c),this.HeV=V,(o=t.bodyPr)&&(E(o.spAutoFit)?this.TrV=N:this.TrV=o.spAutoFit))},n.prototype.ZeV=function(t,n){var i,e,r,c,o,s,d,a;t&&(i=t.p,E(i)||(e=Array.isArray(i)?i[0]:i)&&((r=(0,V.getTargetNodeByName)(e,"pPr"))&&!r.defRPr&&(o=(c=(0,V.getTargetNodeByName)(e,"r")||(0,V.getTargetNodeByName)(e,"br")||(0,V.getTargetNodeByName)(e,"fld"))&&c.rPr)&&(r.defRPr=o),(s=t.lstStyle&&t.lstStyle.lvl1pPr)&&(r||(r={},e.c_.splice(0,0,{pPr:r})),r.defRPr?ht(s.defRPr,r.defRPr):r.defRPr=s.defRPr)),d={rich:t},this.I0i.FromSJSOOModel(d),this.HeV=(0,V.xmlDecode)(n),(a=t.bodyPr)&&(this.TrV=!E(a.spAutoFit)))},n.prototype.ToCT_TextBody=function(t){var V,n,i=this.I0i;if(i)return(n=(V=i.ToOOModel())&&V.rich)&&(null==t?void 0:t.isServer)&&Lt(n),n},n.prototype.ToSJSCT_TextBody=function(t){var V,n=this.I0i;if(n)return(V=n.ToSJSOOModel(void 0,t))&&V.rich},n.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}},n.prototype.ToCT_ShapeNonVisual=function(t,V){var n=this,i=n.otV,e=!1!==t&&i&&i.nvSpPr||{},r=e.cNvPr||{};return e.cNvPr=n.ToCT_NonVisualDrawingProps(r,V),e.cNvSpPr=e.cNvSpPr||{},e.cNvSpPr.txBox=n.CeV,e.cNvSpPr.spLocks=n.ToAG_Locking(e.cNvSpPr.spLocks||{}),e},n.prototype.ToSJSCT_ShapeNonVisual=function(){var t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvSpPr=t.ToSJSCT_NonVisualDrawingShapeProps(),V},n.prototype.FromCT_ShapeNonVisual=function(t){t&&(this.FromCT_NonVisualDrawingProps(t.cNvPr),this.FromCT_NonVisualDrawingShapeProps(t.cNvSpPr))},n.prototype.keV=function(t){t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),this.FromSJSCT_NonVisualDrawingShapeProps(t.cNvSpPr))},n.prototype.FromCT_NonVisualDrawingShapeProps=function(t){t&&(this.CeV=t.txBox,this.FromAG_Locking(t.spLocks))},n.prototype.FromSJSCT_NonVisualDrawingShapeProps=function(t){t&&(this.CeV=(0,V.getAttrValueOrDefaultOfBooleanType)(t.txBox,!1),this.FromSJSAG_Locking(t.spLocks))},n.prototype.ToSJSCT_NonVisualDrawingShapeProps=function(){var t=this,n={};return t.CeV&&(n.txBox=V.SJS_True),n.spLocks=t.ToSJSAG_Locking({}),n},n.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},n.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=w.FromArgb(16777215)},n.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},n.prototype.qeV=function(t,V){var n,i,e=this;0!==e.S0t.Color.ColorType&&((n=t&&t.fillRef||V.solidFill||V.grpFill||V.pattFill||V.gradFill||V.blipFill)||(e.S0t.Color.ColorType=0)),0!==e.Line.Color.ColorType&&((i=t&&t.lnRef&&t.lnRef.ColorProp||V.ln&&(V.ln.solidFill||V.ln.pattFill||V.ln.gradFill))||(e.Line.Color.ColorType=0))},n.prototype.BeV=function(t,V){var n,i,e,r,c=this;0!==c.S0t.Color.ColorType&&((n=t&&t.fillRef||V.solidFill||V.grpFill||V.pattFill||V.gradFill||V.blipFill)||(c.S0t.Color.ColorType=0)),0!==c.Line.Color.ColorType&&((e=(i=t&&t.lnRef)&&(i.scrgbClr||i.srgbClr||i.hslClr||i.sysClr||i.schemeClr||i.prstClr||i.styleClr))||(e=(r=V.ln)&&(r.solidFill||r.pattFill||r.gradFill)),e||(c.Line.Color.ColorType=0))},n}(Z),V.ShapeData=z,Q=function(t){function V(V,n,i,e,r,c){return t.call(this,V,n,i,e,r,c)||this}return G(V,t),V.prototype.FromCT_ShapeBase=function(t){this.cft=t},V.prototype.ToCT_ShapeBase=function(t){return!1!==t&&this.cft},V}(Z),V.LosslessShapeData=Q},"./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(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S=this&&this.nJr||function(){return S=Object.assign||function(t){var V,n,i,e;for(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},S.apply(this,arguments)};function F(t,V){var n,i,e=V.minX,r=V.minY,c=V.maxX,o=V.maxY,s=t.getRowCount(),d=t.getColumnCount(),a=t.zoom(),h=0,u=0,x=0,f={};for(n=0;n<s;n++)x=+t.getRowHeight(n)*a,h<r&&r<=h+x&&(f.minRow=n),h<=o&&o<=h+x&&(f.maxRow=n),h+=x;for(i=0;i<d;i++)x=+t.getColumnWidth(i)*a,u<e&&e<=u+x&&(f.minCol=i),u<=c&&c<=u+x&&(f.maxCol=i),u+=x;return f.minCol===v&&(f.minCol=0),f.minRow===v&&(f.minRow=0),f.maxCol===v&&(f.maxCol=d-1),f.maxRow===v&&(f.maxRow=s-1),f}function X(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g;for(o=0,s=V;o<s.length;o++)d=s[o],M[d.type()]&&(a=d.ctV)&&(h=a.left,u=a.top,(x=a.kg)&&(f=h+x.left,y=u+x.top,l=f+x.width,g=y+x.height,I(n,F(t,{minX:f,minY:y,maxX:l,maxY:g})))),i=d.startRow(),e=d.startColumn(),r=d.endRow(),c=d.endColumn(),I(n,{minRow:i,minCol:e,maxRow:r,maxCol:c})}function Y(t,V,n){var i,e,r,c,o,s,d,a={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};for(i=0,e=V;i<e.length;i++)for(o=0,s=c=(r=e[i]).KVV();o<s.length;o++)d=s[o],a.minX=b(a.minX,d.x),a.minY=b(a.minY,d.y),a.maxX=j(a.maxX,d.x),a.maxY=j(a.maxY,d.y);I(n,F(t,a))}function O(t,V,n){var i=n.x(),e=n.y(),r=n.ctV.getShapeCenter(),c=z(n),o=L({x:i,y:e},r,m(c)-V);return o=L(o,t,V),r=L(r,t,V),{x:(o=L(o,r,m(-c))).x,y:o.y}}function T(t,V,n){var i=n.getPoints(),e=n.getShapeCenter(),r=L({x:e.x,y:e.y},t,V),o=e.x-r.x,s=e.y-r.y;return i=i.map((function(t){return L({x:t.x-o,y:t.y-s},r,c.Common.toRadius(n.angle))})),n.setAngle(0),i}function P(t,V,n){return t[3*V+n]}function N(t,V){t.shapes.all().forEach((function(n){var i,e,r,c,o;n&&n.ctV&&V&&(i=n.ctV,e=(0,d.getY)(t,n.startRow(),n.startRowOffset()*V),r=(0,d.getY)(t,n.endRow(),n.endRowOffset()*V)-e,t.options.rightToLeft?(c=(0,d.getX)(t,n.endColumn(),n.endColumnOffset()*V),o=(0,d.getX)(t,n.startColumn(),n.startColumnOffset()*V)-c):(c=(0,d.getX)(t,n.startColumn(),n.startColumnOffset()*V),o=(0,d.getX)(t,n.endColumn(),n.endColumnOffset()*V)-c),i.resize(o,r),i.move(c,e))}))}function D(t,V,n,i,e){var r=e.startRow(),c=e.startColumn(),o=e.endRow(),s=e.endColumn();return t<=r&&V<=c&&n>=o&&i>=s}function U(t,V){t&&(V(t),t instanceof f.GroupShape&&t.tin.forEach((function(t){U(t,V)})))}function q(t,V,n){var i=t.EsV,e=t.SsV;U(V,(function(t){n?(i.set(t.name(),t),e.set(t.jKe(),t)):(i.delete(t.name()),e.delete(t.jKe()))}))}function k(t,V,n){var i=t.EsV,e=i.get(V);e&&(i.delete(V),i.set(n,e))}function B(t,V){var n,i,e;if(t)for(n=0,i=t;n<i.length;n++)switch((e=i[n]).ttV){case r.CT_ShapeType.CT_GroupShape:B(e.tin,V);break;case r.CT_ShapeType.CT_Connector:V.connector.push(e);break;default:V.auto.push(e)}}function Z(t,V){t&&t.length>0&&t.forEach((function(t){var n=t.ctV;n&&(3===n.ttV?V.push(n):2===n.ttV&&Z(t.tin,V))}))}function H(t){return 0===z(t)}function z(t){return t._supportRotate()&&t.rotate?t.rotate():0}function Q(t){var V=S({},t);return t.shape&&(V.shape=t.shape.JVV),t.target&&(V.target=t.target.JVV),V}function G(t,V,n){var i=function(V){t.RnV[V.Name]=n,V instanceof A.GroupShapeData&&V.GroupItems.Items.forEach((function(t){i(t)}))};i(V.ytV)}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeCollection=V.CameraShapeUICacheManager=V.RsV=V.findCameraShape=V.isCoverRange=V.getLineShapePointsForUngroup=V.getShapeLocationForUnGroup=void 0,i=n("Core"),e=n("Common"),r=n("./dist/plugins/shape/drawingInterface.js"),c=n("./dist/plugins/shape/ui/util.js"),o=n("./dist/plugins/shape/ui/shapes.js"),s=n("./dist/plugins/shape/shapeView.js"),d=n("./dist/plugins/shape/util/sheetUtil.js"),a=n("./dist/plugins/shape/shape.interface.js"),h=n("./dist/plugins/shape/connectorView.js"),u=n("./dist/plugins/shape/pictureShapeView.js"),x=n("./dist/plugins/shape/formControlView.js"),f=n("./dist/plugins/shape/groupShapesView.js"),y=n("./dist/plugins/shape/cameraShapeView.js"),l=n("./dist/plugins/shape/shape-spreadjs.js"),g=n("./dist/plugins/shape/shape-io.js"),A=n("./dist/plugins/shape/groupShapes.js"),p=e.Common.Uf,v=void 0,w=null,j=Math.max,b=Math.min,L=c.Common.rotatePoint,m=c.Common.toRadius,C=c.Common.pointIsInRectangle,R=e.Common.lt.ht,I=i.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},V.getShapeLocationForUnGroup=O,V.getLineShapePointsForUngroup=T,V.isCoverRange=D,V.findCameraShape=Z,V.RsV=G,_=function(){function t(t){this.FsV=0,this.XsV=[],this.mnV=t}return Object.defineProperty(t.prototype,"cameraShapes",{get:function(){return this.XsV},enumerable:!1,configurable:!0}),t.prototype.updateShapeUICache=function(){var t=this;this.FsV>0||(t.XsV=[],Z(t.mnV.all(),t.XsV))},t.prototype.suspendUpdateShapeUICache=function(){this.FsV++},t.prototype.resumeUpdateShapeUICache=function(){var t=this;t.FsV--,t.FsV<=0&&(t.FsV=0,t.updateShapeUICache())},t.prototype.dispose=function(){this.XsV=[],this.FsV=0,this.mnV=w},t}(),V.CameraShapeUICacheManager=_,E=function(){function t(t){var V=this;V.Mf=t,V.tin={},V.dnV=[],V.MU={snapMode:a.SnapMode.none},V.krV=0,V.EsV=new Map,V.SsV=new Map,V._sV=new _(V)}return t.prototype.add=function(t,V,n,i,e,r){var c=this,o=this.Mf,d=new s.Shape(o,t,V,n,i,e,r);return d.VnV=!0,c.ZP(d),delete d.VnV,d},t.prototype.addCameraShape=function(t,V,n,i,e,r){var c=this,o=c.Mf,s=new y.CameraShape(o,t,V,n,i,e,r);return c.ZP(s),c.DT("addCameraShape",s.name(),s),s},t.prototype.addFormControl=function(t,V,n,i,e,r){var c=this,o=this.Mf,s=new x.FormControlShape(o,t,V,n,i,e,r);return this.ZP(s),c.DT("addFormControlShape",s.name(),s),s},t.prototype.addPictureShape=function(t,V,n,i,e,r){var c=this,o=this.Mf,s=new u.PictureShape(o,t,V,n,i,e,r);return this.ZP(s),c.DT("addPictureShape",s.name(),s),s},t.prototype.wnV=function(t,V){var n,i=this.Mf;i&&i.ki(t,V)},t.prototype.addConnector=function(t,V,n,i,e,r){var c=this,o=this.Mf,s=new h.ConnectorShape(o,t,V,n,i,e,r);return this.ZP(s),c.DT("addConnector",s.name(),s),s},t.prototype.group=function(t){var V=this,n=V.Mf,i=new f.GroupShape(n,"");return V.rCt(t,i)},t.prototype.snapMode=function(t){var V=this;if(0===arguments.length)return V.MU.snapMode;V.MU.snapMode=t},t.prototype.zIndex=function(t,V){var n,e,r,c,o=this,s=o.dnV,d=p.hD(s,t);if(1===arguments.length)return d;!(n=o.get(t))||d<0||(e=o.pnV(),V=b(e-1,V),V=j(0,V),s.splice(d,1),s.splice(V,0,t),(c=(r=o.Mf).shapeLayers[0]).shapes.splice(d,1),c.shapes.splice(V,0,n.ctV),r.$Dr({type:"reorderShape",shapeId:n.jKe(),targetIndex:V,sourceIndex:d}),o.DT("zIndex",{shapeName:t,zIndex:d,newIndex:V},n),o.Mf.ki(i.Events.DrawingElementZIndexChanged,{isGroup:!1,shapeName:t,oldZIndex:d,newZindex:V}),r.cnV())},t.prototype.rCt=function(t,V){var n,i,e,r,c,o,s,d=this,a=t.length,h=-1,u=d.Mf.parent;for(null===(n=null==u?void 0:u.collaboration)||void 0===n||n.startBatchOp(),t.forEach((function(t,V){var n=t.name(),i=d.zIndex(n);h=j(h,i),d.DT("zIndex",{shapeName:n,zIndex:i,newIndex:V},t)})),c=d.dnV.length-h,o=0;o<a;o++)t[o].isSelected(!1),d.VP(t[o],!0,!0);for(V.vnV=!0,V.LnV=!0,null===(i=null==u?void 0:u.suspendOp)||void 0===i||i.call(u),o=0;o<a;o++)V.add(t[o],!0);return null===(e=null==u?void 0:u.resumeOp)||void 0===e||e.call(u),V.tnV(V.tin),d.ZP(V,v,v,d.dnV.length-c+1),s=V.name(),d.DT("group",s,V),delete V.vnV,delete V.LnV,null===(r=null==u?void 0:u.collaboration)||void 0===r||r.endBatchOp(),V},t.prototype.ungroup=function(t){var V,n,i,e,c,o,s,d,a,h,u,x,f,y,l,g=this,A=g.Mf.parent;for(null===(V=null==A?void 0:A.collaboration)||void 0===V||V.startBatchOp(),d=t.tin.slice(0),a=g.zIndex(t.name()),h={groupShape:t,nameList:g.dnV,zIndex:a,shapes:d},g.DT("ungroup",h),u=t.ctV.getShapeCenter(),x=m(t.rotate()),f=[],0!==x&&d.forEach((function(t){4===t.ttV?f.push(T(u,x,t.ctV)):f.push(O(u,x,t))})),t.LnV=!0,g.VP(t,!0,!0),y=d.length,t.vnV=!0,null===(n=null==A?void 0:A.suspendOp)||void 0===n||n.call(A),s=y-1;s>=0;s--)t.remove(d[s]);for(null===(i=null==A?void 0:A.resumeOp)||void 0===i||i.call(A),delete t.vnV,delete t.LnV,t.jnV(),s=0;s<y;s++)l=d[s],0!==x&&(null===(e=null==A?void 0:A.suspendOp)||void 0===e||e.call(A),l.ttV===r.CT_ShapeType.CT_Connector?l.nnV(f[s]):l.bnV(f[s].x,f[s].y,!0,!1,!1,!0),null===(c=null==A?void 0:A.resumeOp)||void 0===c||c.call(A)),g.ZP(l,v,!0,a+s),0!==x&&l.ttV===r.CT_ShapeType.CT_GroupShape&&l.ctV.move(f[s].x,f[s].y);null===(o=A.collaboration)||void 0===o||o.endBatchOp()},t.prototype.ZP=function(V,n,i,e){var r=this,c=r.Mf,o=V.name();r.tin[o]||(V.mnV=r,r.DT("add",{shapeName:o,isGroup:i},V),r.tin[o]=V,e>=0?r.dnV.splice(e,0,o):r.dnV.push(o),c.shapeLayers.forEach((function(t){var n,i=V.ctV;i&&((n=t.model).CnV=!0,t.addShape(i,e),delete n.CnV)})),r.YsV(V),c.$Dr({type:"addShape",shape:V,index:e>=0?e:r.dnV.length-1}),t.et(r,"shapeAdded",{shape:V,sheet:c}),n||c.isPaintSuspended()||c.cnV())},t.prototype.get=function(t){return t?this.EsV.get(t):v},t.prototype.remove=function(t,V){this.xx(t,V)},t.prototype.xx=function(t,V,n){var i,e=this,r=e.tin[t];r&&(e.DT("remove",r,r,e.zIndex(r.name())),e.VP(r,V,n),delete r.mnV,(i=e.Mf).isPaintSuspended()||i.cnV())},t.prototype.VP=function(V,n,e){var r,c,o=this,s=o.Mf,d=V.name(),a=o.dnV,h={sheet:s,sheetName:s.name(),shape:V,cancel:!1,cancelEvent:!1,isGroup:e,ignoreModel:n};t.et(o,"shapeRemoving",h),h.cancelEvent||o.wnV(i.Events.ShapeRemoving,h),!1===h.cancel&&(r=s.THr({type:"removeShape",shapeId:V.jKe()}),s.shapeLayers.forEach((function(t){var i=V.ctV;i&&t.removeShape(i,n)})),delete o.tin[d],(c=a.indexOf(d))>-1&&a.splice(c,1),o.OsV(V),s.$Dr({type:"removeShape",shapeId:V.jKe(),index:c},r),t.et(o,"shapeRemoved",h),h.cancelEvent||o.wnV(i.Events.ShapeRemoved,{sheet:s,sheetName:s.name(),shape:V}))},t.prototype.YsV=function(t){var V=this,n=V.Mf;G(n,t,!0),q(V,t,!0),V._sV.updateShapeUICache()},t.prototype.OsV=function(t){var V=this,n=V.Mf;G(n,t,!1),q(V,t,!1),V._sV.updateShapeUICache()},t.prototype.TsV=function(t,V){var n,i=this,e=i.tin,r=i.dnV;e[V]=e[t],delete e[t],k(i,t,V),(n=r.indexOf(t))>-1&&(r[n]=V)},t.prototype.IsV=function(t){this.YsV(t)},t.prototype.MsV=function(t){this.OsV(t)},t.prototype.clear=function(){var t=this,V=t.tin,n=t.dnV;t.dnV=[],n.forEach((function(n){var i;V[n]&&t.remove(n)}))},t.prototype.all=function(){var t=this,V=t.tin,n=[];return t.dnV.forEach((function(t){var i=V[t];i&&n.push(i)})),n},t.prototype.lEr=function(t){return this.SsV.get(t)},t.prototype.xsV=function(t,V){var n,i,e,r,c;if(t.jKe()===V)return t;if(3===t.ttV)for(i=0,e=n=t.all();i<e.length;i++)if(r=e[i],c=this.xsV(r,V))return c},t.prototype.InV=function(t,V,n,i){var e,r=this;for(e=0;e<V.length;e++)n&&!0===n(V[e].ctV)||(3===V[e].ttV?(i&&t.push(V[e]),r.InV(t,V[e].tin)):t.push(V[e]))},t.prototype.MnV=function(t){var V=this,n=[];return V.InV(n,V.all(),t),n},t.prototype.getUsedRange=function(){var t=this,V=t.all(),n=t.Mf,i={},e={connector:[],auto:[]};return V&&(B(V,e),e.auto.length>0&&X(n,e.auto,i),e.connector.length>0&&Y(n,e.connector,i)),i},t.prototype.pnV=function(){return this.dnV.length},t.prototype.JO=function(t,V){this.all().forEach((function(n){n.JO(t,V)}))},t.prototype.EnV=function(t,V){var n=this;t.forEach((function(t){n.remove(t,V)}))},t.prototype.xP=function(t,V){var n=[],i=this,e=i.Mf.getColumnCount();i.all().forEach((function(i){D(t,-1,t+V-1,e,i)&&i.dynamicSize()?n.push(i.name()):i.xP(t,V)})),i.EnV(n,!0)},t.prototype.qO=function(t,V){this.all().forEach((function(n){n.qO(t,V)}))},t.prototype.NP=function(t,V){var n=[],i=this,e=i.Mf.getRowCount();i.all().forEach((function(i){D(-1,t,e,t+V-1,i)&&i.dynamicSize()?n.push(i.name()):i.NP(t,V)})),i.EnV(n,!0)},t.prototype.Udt=function(t,V,n,i){var e=this.Mf;i&&(n?(0,l.recalculateScrollTop)(e,t):(0,l.recalculateScrollLeft)(e,t)),this.all().forEach((function(i){var e=n?i.startRow():i.startColumn(),r=n?i.endRow():i.endColumn();V<e||t>r||(i.FnV&&i.ytV.xnV(),i.SnV&&i.ytV.mtV(),i.anV())})),e.cnV()},t.prototype.XnV=function(){var t,V,n,i,e=this,r=e.Mf,c=-1,s=[];return e.all().forEach((function(V){V.isVisible()&&V.canPrint()&&(H(V)?c=j(c,V.endRow()):(t=(0,o.getActualBound)(V.ctV,!1),s.push(t.bottom)))})),s.length>0&&(V=j.apply(null,s),i=(n=(0,d.getRowAndRowOffset)(r,V)).row+(0===n.rowOffset?0:1),c=j(c,i)),c},t.prototype.YnV=function(){var t,V,n,i,e=this,r=e.Mf,c=-1,s=[];return e.all().forEach((function(V){V.isVisible()&&V.canPrint()&&(H(V)?c=j(c,V.endColumn()):(t=(0,o.getActualBound)(V.ctV,!1),r.options.rightToLeft?s.push(t.left):s.push(t.right)))})),s.length>0&&(V=void 0,V=r.options.rightToLeft?b.apply(null,s):j.apply(null,s),i=(n=(0,d.getColAndColOffset)(r,V)).col+(0===n.colOffset?0:1),c=j(c,i)),c},t.prototype.TnV=function(V,n,i,e){var r,c,o,s=V.Fi(),d=V.options,a=0,h=0;for(d.rowHeaderVisible&&!V.options.rightToLeft&&(a+=s.b6),d.colHeaderVisible&&(h+=s.T6),t.et(this,"beforePrintShapes",{sheet:V}),n.save(),n.beginPath(),n.rect(i.x+a,i.y+h,i.width,i.height),n.clip(),R(e)||1===e||(N(V,e),V.Lp.recalculateAll()),r=0;r<=2;r++)for(c=0;c<=2;c++)(o=i.getIntersectRect(s.c9(r,c)))&&this.OnV(V,n,r,c,e);n.restore()},t.prototype.OnV=function(t,V,n,i,e){var r,c,o,s,d=t.Fi(),a=P(t.shapeLayers,n,i),h=d.c9(n,i);(0,l.adjustViewportRect)(h,t,n,i),a.width=h.width,a.height=h.height,r=t.getViewportTopRow(n),c=(0,l.getScrollTop)(t,r,n),o=t.getViewportLeftColumn(i),s=(0,l.getScrollLeft)(t,o,i,a),V.save(),V.beginPath(),V.rect(h.x,h.y,h.width,h.height),V.clip(),a.scrollTop=c-d.T6,t.options.rightToLeft?a.scrollLeft=s:a.scrollLeft=s-d.b6,a.PnV=h.x,a.NnV=h.y,1===n&&(a.scrollTop-=d.L6),1!==i||t.options.rightToLeft||(a.scrollLeft-=d.F6),a.paintForPrint(V,e),V.restore()},t.prototype.DnV=function(t,V,n){var i=[],e=t.name();return t.shapes.all().forEach((function(t){var r=t.y(),c=t.x();i.push({type:"shapePosition",shape:t,offset:{x:c,y:r},sheetName:e}),t.x(c-V),t.y(r-n),t.resize(t.x(),t.y(),t.width(),t.height())})),i},t.prototype.qnV=function(t,V,n,i){t&&(n?this.ZP(V,v,i):this.xx(t,!0,i))},t.prototype.hitTest=function(t,V){var n,i,e,r,c,o,s,d,a,h,u,x=this,f=x.Mf,y=null,l=f.Fi(),g=f.FL(V),A=f.PL(t);if(g===w||A===w||g<0||g>2||A<0||A>2)return y;if(!(n=f.shapeLayers[3*g+A]))return y;for(e=(i=l.c9(g,A)).x,r=i.y,c=t+n.scrollLeft-e,o=V+n.scrollTop-r,d=(s=f.shapes.all()).length-1;d>-1;d--)if((a=s[d])&&a.isVisible()&&a.ctV){if((h=a.ctV.getRenderBound())&&!C(h,c,o))continue;if((u=a.ctV.hitTest(c,o))&&u.shape){y=Q(u);break}}return y},t.prototype.UnV=function(t,V,n){var i,e,r,c,o,s;if(t)if(i=this,n){for(e="string"==typeof V.name?V.name:V.name(),i.remove(e,!0),r=[],c=0;c<V.shapeData.grpSp.sp.length;c++)o=V.shapeData.grpSp.sp[c].nvSpPr.cNvPr.name,r.push(i.get(o));(s=i.group(r)).name(e)}else V=i.tin[t],i.ungroup(V)},t.prototype.knV=function(t,V){var n,i,e,r,c,o,s;t&&(n=this,i=t.groupShape,e=t.nameList,r=t.zIndex,c=t.shapes,V?("Object"===i.constructor.name&&(i=n.get(i.name)),n.ungroup(i)):"Object"===i.constructor.name?(c=c.map((function(t){var V="string"==typeof t.name?t.name:t.name();return n.get(V)})),o=n.group(c),s="Object"===i.constructor.name?i.name:i.name(),o.name(s)):(c.forEach((function(t){i.add(t,!0)})),i.tnV(i.tin),n.ZP(i),n.zIndex(i.name(),r),n.dnV=e))},t.prototype.BnV=function(t,V,n,i){V&&(n?this.remove(t,!0):V&&(V.ZnV(V.ctV.id,!0),V.ttV===r.CT_ShapeType.CT_GroupShape?V.tnV(V.tin):V.tnV(),this.ZP(V,v,v,i)))},t.prototype.DT=function(t,V,n,i){var e,r,c=this,o=c.Mf;o&&(e=o.Ut).G8&&(r={type:t,value:V,shape:n,zIndex:i},e.HnV(r))},t.prototype.AP=function(t,V){var n,i,e,r,c,o,s;t&&(n=this,i=t.type,e=t.value,(r=t.shape)&&"Object"===r.constructor.name&&"group"!==i&&"ungroup"!==i&&(r=(c=n.get(r.name))||(0,g.shapeFromJSON)(n.Mf,r)),"add"===i||"addConnector"===i?(o=e,s=void 0,"add"===i&&(o=e.shapeName,s=e.isGroup),n.qnV(o,r,V,s)):"group"===i?n.UnV(e,r,V):"ungroup"===i?n.knV(e,V):"remove"===i?("object"==typeof e&&(e=e.name),n.BnV(e,r,V,t.zIndex)):"zIndex"===i&&n.zIndex(e.shapeName,V?e.newIndex:e.zIndex))},t.prototype.getSnapMode=function(){return this.Mf.shapes.snapMode()},t.prototype.isSnapToGrid=function(){var t;return(this.getSnapMode()&a.SnapMode.grid)===a.SnapMode.grid},t.prototype.isSnapToShape=function(){var t;return(this.getSnapMode()&a.SnapMode.shape)===a.SnapMode.shape},t.prototype.getShapePartLines=function(t){var V,n,i,e,r,s=this,d=[],a=[];if(s.isSnapToGrid()&&(V=s.Mf,d=d.concat((0,c.getHorizontalGridLine)(V)),a=a.concat((0,c.getVerticalGridLine)(V))),s.isSnapToShape())for(n=s.MnV((function(t){return t.JVV.isSelected()})),i=0;i<n.length;i++)e=n[i].ctV,-1===t.indexOf(e)&&(r=(0,o.getActualBound)(e),d.push(r.left),d.push(r.left+(r.right-r.left)/2),d.push(r.right),a.push(r.top),a.push(r.top+(r.bottom-r.top)/2),a.push(r.bottom));return d=(0,c.distinct)(d),a=(0,c.distinct)(a),{hLines:d.sort(c.ascSortFunc),vLines:a.sort(c.ascSortFunc)}},t.prototype.V2=function(){this.krV++},t.prototype.Y2=function(){var t=this;t.krV--,t.krV<=0&&(t.krV=0,t.Mf&&t.Mf.cnV())},t.prototype.UrV=function(){return this.krV>0},t.prototype.NsV=function(t,V,n){var i;this._sV.cameraShapes.forEach((function(i){i.PsV(t,V,n)}))},t.prototype.dispose=function(){var t=this;t.all().forEach((function(t){t.dispose()})),t.dnV=[],t.tin={},t.EsV.clear(),t.SsV.clear(),t._sV.dispose(),t.Mf=w},t}(),V.ShapeCollection=E,(0,i.$e)(E)},"./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,r,c,o,s,d,a,h,u,x,f,y=this&&this.qKr||(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])},l(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)}),l;function g(){return{r:0,g:0,b:0}}function A(t){return void 0===t}function p(t,V){x.forEach((function(n){if(A(V[n]))if(A(t[n])){var i=o(t,""+n);A(i)||(V[n]=i)}else V[n]=t[n]}))}function v(t,V){t&&p(t,V)}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyleData=void 0,i=n("Core"),e=n("FloatingObject"),r=n("./dist/plugins/shape/drawingInterface.js"),c=i.NodeHelper.sr,o=i.util.xr,s=i.util.go,d=e.Drawing.LineFormat,a=e.Drawing.FontFormat,h=e.Drawing.FillFormat,u=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],x=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"],f=function(t){function V(V,n,i,r,c){var o,s;return void 0===n&&(n=0),void 0===i&&(i=0),void 0===r&&(r=0),(s=o=t.call(this)||this).DJ=V,s.QeV=n,s.zeV=i,s.GeV=r,0===n&&(s.Fill.Color.ColorType=e.Drawing.SolidColorType.None),0===i&&(s.Line.Color.ColorType=e.Drawing.SolidColorType.None),s.JeV(c),o}return y(V,t),Object.defineProperty(V.prototype,"Fill",{get:function(){var t=this,V=t.S0t;return V||(V=t.S0t=new h(t.DJ)),V},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"Line",{get:function(){var t=this,V=t.Tin;return V||(V=t.Tin=new d(t.DJ)),V},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"Font",{get:function(){var t=this,V=t._font;return V||(V=t._font=new a(t.DJ)),V},enumerable:!1,configurable:!0}),V.prototype.WeV=function(t,V,n){var i,e,r,c,d,a,h;return n.Mv||(n.Mv={}),e=t+","+V,(r=(i=n.Mv)&&i[e])?r:((c=n&&n.fmtTheme())&&(d=h=(a=u[t])&&o(c,""+a),h&&(1===t?h=s(h,"ln"):0===t&&(h=s(h,"items")),d=h[V])),i&&(i[e]=d),d)},V.prototype.KeV=function(t,V){var n,i,e,r,c=t&&t.style,o=t&&t.spPr;c&&(n=c.lnRef,e=void 0,r=void 0,(i=o.ln)||(i={}),n&&(e=n.idx)&&(v(r=this.WeV(1,e-1,V),i),o.ln=i))},V.prototype.FromOOModel=function(t){if(t){var V=this;V.O1t=t,V.FromFillFormat(t.fillRef),V.FromLineFormat(t.lnRef),V.FromFontFormat(t.fontRef)}},V.prototype.OeV=function(t,V,n){if(t){var i=this;i.fft=t,i.KeV(V,n),i.$eV(t.fillRef),i.tiV(t.lnRef),i.ViV(t.fontRef)}},V.prototype.ToOOModel=function(t,V){var n=this,i=!1!==t&&n.O1t||{};return i.fillRef=n.ToFillFormat(),i.lnRef=n.ToLineFormat(),i.fontRef=n.ToFontFormat(),i},V.prototype.PeV=function(){var t=this,V=t.niV(),n=t.eiV(),i=t.iiV(),e=t.ciV();return{lnRef:V,fillRef:n,effectRef:i,fontRef:e}},V.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},V.prototype.FromFontFormat=function(t){t&&(this.Font.TextCharacterProperties_FromOOModel(t.TextCharacterProperties),this.JeV(t.idx))},V.prototype.ViV=function(t){t&&(this.Font.TextCharacterProperties_FromSJSOOModel({solidFill:t}),this.JeV(r.ST_FontCollectionIndex[t.idx]))},V.prototype.ToFontFormat=function(){var 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},V.prototype.ciV=function(){var t,V=this,n=V.Font,i=n.TextCharacterProperties_ToSJSOOModel(),e=i&&i.solidFill||{};return t=n.ThemeFont===r.ThemeFont.Major?r.ST_FontCollectionIndex.major:r.ST_FontCollectionIndex.minor,e.idx=r.ST_FontCollectionIndex[t],e},V.prototype.FromLineFormat=function(t){if(t){var V=this;V.zeV=t.idx,V.Line.FillInternal.FromOOModel(t.ColorProp,0),0===t.idx&&(V.Line.Color.ColorType=0)}},V.prototype.tiV=function(t){var V,n;t&&(V=this,n=c(t.idx),V.zeV=n,0===n?V.Line.Color.ColorType=0:V.Line.FillInternal.FromSJSOOModel(t,0))},V.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={r:0,g:0,b:0}):V.ColorProp=t.Line.FillInternal.ToOOModel(),V.idx=t.zeV,V},V.prototype.niV=function(){var t=this,V={};return 0!==t.Line.Color.ColorType&&delete(V=t.Line.FillInternal.ToSJSOOModel()).colorFillType,V.idx=t.zeV,V},V.prototype.FromFillFormat=function(t){if(t){var V=this;V.QeV=t.idx,0===t.idx?V.Fill.Color.ColorType=0:1===t.idx&&V.Fill.FromOOModel(t.ColorProp,0)}},V.prototype.$eV=function(t){if(t){var V=this,n=c(t.idx);V.QeV=n,0===n?V.Fill.Color.ColorType=0:1===n&&V.Fill.FromSJSOOModel(t,0)}},V.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={r:0,g:0,b:0}):V.ColorProp=t.Fill.ToOOModel()),V.idx=t.QeV,V},V.prototype.eiV=function(){var 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},V.prototype.riV=function(t){this.GeV=t.idx},V.prototype.iiV=function(){return{idx:this.GeV,schemeClr:{val:"accent1"}}},V.prototype.IsDirtyIncludingParent=function(V){void 0===V&&(V=!1);var n=this;return!(!n.S0t||!n.S0t.IsDirtyIncludingParent())||(!(!n.Tin||!n.Tin.IsDirtyIncludingParent())||(!(!n._font||!n._font.IsDirtyIncludingParent())||t.prototype.IsDirtyIncludingParent.call(this,V)))},V}(r.StatefulBase),V.ShapeStyleData=f},"./dist/plugins/shape/shapeStyleView.js":function(t,V,n){var i,e,r,c,o;function s(t,V){return c(t)?V:t}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyle=void 0,i=n("Common"),e=n("./dist/plugins/shape/shape.interface.js"),r=i.Common.lt,c=r.ht,o=function(){function t(t){var V,n,i,r=this,c=t&&t.fill;r.fill={type:s(c&&c.type,e.ShapeFillType.solid),color:s(c&&c.color,"accent 1"),transparency:s(c&&c.transparency,0)},V=t&&t.line,r.line={color:s(V&&V.color,"accent 1"),lineStyle:s(V&&V.lineStyle,0),width:s(V&&V.width,1),capType:s(V&&V.capType,2),joinType:s(V&&V.joinType,0),compoundType:s(V&&V.compoundType,0),transparency:s(V&&V.transparency,0),beginArrowheadStyle:s(V&&V.beginArrowheadStyle,0),beginArrowheadWidth:s(V&&V.beginArrowheadWidth,1),beginArrowheadLength:s(V&&V.beginArrowheadLength,1),endArrowheadStyle:s(V&&V.endArrowheadStyle,0),endArrowheadWidth:s(V&&V.endArrowheadWidth,1),endArrowheadLength:s(V&&V.endArrowheadLength,1)},n=t&&t.textEffect,r.textEffect={color:s(n&&n.color,"background 1"),transparency:s(n&&n.transparency,0),font:s(n&&n.font,"11pt Calibri")},i=t&&t.textFrame,r.textFrame={vAlign:s(i&&i.vAlign,0),hAlign:s(i&&i.hAlign,0),resizeToFitText:s(i&&i.resizeToFitText,!1)}}return t}(),V.ShapeStyle=o},"./dist/plugins/shape/shapeView.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P=this&&this.qKr||(N=function(t,V){return N=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])},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}N(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),N;function D(t,V,n){t.setColor(n,V.color),U(t,V,n)}function U(t,V,n){var i=V.brightness,e=V.tint,r=V.shade,c=V.satMod;x(i)||(t.Brightness=i),x(e)||(t.TintAndShade=e),x(r)||(t.Shade=r),x(c)||(t.SatMod=V.satMod)}for(F in Object.defineProperty(V,"__esModule",{value:!0}),V.Shape=V.ShapeBase=V.DrawingBase=V.isValidTextLinkFormula=V.TEXT_FILL_COLOR_PATH=V.SHAPE_TEXT_OPTIONS_PATH=void 0,i=n("Common"),e=n("Core"),r=n("SheetsCalc"),c=n("./dist/plugins/shape/drawingInterface.js"),o=n("./dist/plugins/shape/shape.interface.js"),s=n("./dist/plugins/shape/shape.js"),d=n("./dist/plugins/shape/ui/util.js"),a=n("./dist/plugins/shape/shapeStyleView.js"),h=n("./dist/plugins/shape/util/viewUtil.js"),u=i.Common.lt,x=u.ht,f=d.Common.isEnumValue,y=c.ShapeUtility.syncShapeAdjustValues,l=c.ShapeUtility.syncShapeOptions,g=c.ShapeUtility.syncShapeLineFormat,A=c.ShapeUtility.syncShapeFillFormat,p=c.ShapeUtility.getLineFormatInfo,v=c.ShapeUtility.getRGBAColor,w=c.ShapeUtility.getColorInfo,j=c.ShapeUtility.getColorData,b=Math.min,L=Math.max,m=void 0,C=d.Common.toRadius,R=e.NodeHelper.ur,I=Math.sin,M=Math.cos,_=["none","normal","lighten","lightenLess","darkenLess","darken"],E="options.textFormatOptions",V.SHAPE_TEXT_OPTIONS_PATH=E+".text",V.TEXT_FILL_COLOR_PATH=E+".fill.color",S={},c.AutoShapeType)c.AutoShapeType.hasOwnProperty(F)&&F!==parseInt(F,10)+""&&(S[c.AutoShapeType[F]]=F);function q(t){return!t.dynamicMove()&&!t.dynamicSize()}function k(t,V,n,i,e){var r,c=this,o=t.call(c),s=V.call(c);i<=o?c.dynamicMove()&&(r=n.call(c),t.call(c,o+e),V.call(c,s+e),n.call(c,r)):i<s&&c.dynamicSize()&&V.call(c,s+e)}function B(t,V,n,i,e,r){var c,o,s=this,d=s.dynamicMove(),a=s.dynamicSize(),h=t.call(s),u=n.call(s),x=i.call(s),f=e+r-1;e<=h?f<h?d&&(t.call(s,h-r),n.call(s,u-r)):f<u?(o=u-h+1-(c=f-h+1),d&&(t.call(s,e),V.call(s,0)),a&&(n.call(s,e+o-1),i.call(s,x))):d&&(t.call(s,e),V.call(s,0)):e<=u&&(f<u?a&&n.call(s,u-r):a&&(n.call(s,e),i.call(s,0)))}function Z(t){var V=parseFloat(t),n=t.substring(t.length-2);return"pt"===n&&(V=4*V/3),V}function H(t){var V,n=X(t),i=n.fontFamily,e=Z(n.fontSize),r=n.fontStyle,c=""!==r&&"normal"!==r;return{name:i,size:e,bold:V=0===(r=n.fontWeight).indexOf("bold")||+r>=700,italic:c}}function z(t,V){return(0,h.getFormula)(t,"options.fill."+V)}function Q(t,V){var n,i,e=t.ctV;if(e)return(i=(n=e.getService())&&n.calcSource_)&&i.getExpression(e.id,V)}function G(t,V,n){var i,e,r,c=Q(t,V),o=t.Mf;if(c&&8===c.type&&(c=(0,d.getExpressionReferencedByNameExpr)(o,c,n)),c&&1===c.type){if(i=c.source,e=Math.max(0,c.row),r=Math.max(0,c.column),(0,d.isExternalSource)(i))return i.getValue(e,r);if(o=i&&i.getSheet?i.getSheet():o)return o.nre&&o.nre(),o.getText(e,r)}}function J(t,V){var n=t.Mf,i=(0,r.formulaToExpression)(n,V,void 0,void 0,!1);return i&&8===i.type&&(i=(0,d.getExpressionReferencedByNameExpr)(n,i)),i&&1===i.type}function W(t,V){if(t){var n=JSON.stringify(t);return n=V?n.replace(/variables\./g,"V."):n.replace(/V\./g,"variables."),JSON.parse(n)}}function K(t){return t&&t._error}function $(t,V,n,i){return t=Number(t),isNaN(t)?i:(t=L(t,V),t=b(t,n))}function tt(t){var V,n,i,e=t.pathFillOptions,r=t.path,c=r.length;if(e)for(V=0;V<c;V++)n=+e[V],isNaN(n)||(i=r[V],0===n?i.strokeMode="false":i.fillMode=_[n-1])}X=e.W.Ne,V.isValidTextLinkFormula=J,Y=function(){function t(){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=""}return t.prototype.yh=function(t,V){var n,i=this;x(V.anchorType)&&((n=V).from&&n.to?V.anchorType=0:n.from&&n.ext?V.anchorType=1:n.pos&&n.ext&&(V.anchorType=2)),i.EiV(t,V),i.ytV.FromSJSOOModel(t,V),i.FiV(t,V)},t.prototype.wh=function(t,V,n,i){var r,c=this,o={};return c.SiV(t,V,n),c.ytV.ToSJSOOModel(o,n,(null===(r=null==i?void 0:i.saveOptions)||void 0===r?void 0:r.fileType)===e.OpenSaveFileType.excel),c.XiV(o,t,V,n,!1,i),o},t.prototype.EiV=function(t,V){var n=this;n.YiV(t),n.TiV(n.OiV(t)),n.PiV(V),n.NiV(V)},t.prototype.FiV=function(t,V,n){var i=this;n&&(i.YiV(t),i.TiV(i.OiV(t)))},t.prototype.SiV=function(t,V,n){},t.prototype.XiV=function(t,V,n,i,e,r){var c=this,o=c.DiV(t);c.qiV(o,V,n,i),c.UiV(o&&c.OiV(o)),e||(c.kiV(t),c.BiV(t))},t.prototype.OiV=function(t){},t.prototype.DiV=function(t){},t.prototype.TiV=function(t){var V,n;t&&(V=this,n=t.descr,x(n)||(V.AiV=(0,s.xmlDecode)(n)))},t.prototype.UiV=function(t){var V,n;t&&(n=(V=this).AiV)&&(t.descr=(0,s.xmlEncode)(n))},t.prototype.YiV=function(t){var V=this,n=t.lossless;x(n)||(V.czn=n.hAlign,V.fzn=n.vAlign,x(n.allowResize)||(V.yiV=n.allowResize),x(n.allowRotate)||(V.fiV=n.allowRotate),x(n.allowMove)||(V.liV=n.allowMove),x(n.showHandle)||(V.giV=n.showHandle))},t.prototype.qiV=function(t,V,n,i){var e,r=t.lossless;r||(r=t.lossless={}),(e=this).liV||(r.allowMove=!1),!0!==e.yiV&&e.yiV!==o.ResizeMode.aspect&&(r.allowResize=e.yiV),e.fiV||(r.allowRotate=!1),e.giV||(r.showHandle=!1)},t.prototype.PiV=function(t){var V=this,n=t.anchorType,i=t.editAs,e=x(i)?n:c.ST_EditAs[i];switch(e){case c.ST_EditAs.twoCell:V.FnV=!0,V.SnV=!0;break;case c.ST_EditAs.oneCell:V.FnV=!0,V.SnV=!1;break;case c.ST_EditAs.absolute:V.FnV=!1,V.SnV=!1}},t.prototype.kiV=function(t){var V=this;V.FnV&&V.SnV||(V.FnV&&!V.SnV?t.editAs="oneCell":t.editAs="absolute")},t.prototype.NiV=function(t){var V=this,n=t.clientData;n&&(V.uiV=R(n.fLocksWithSheet,!0),V.xiV=R(n.fPrintsWithSheet,!0))},t.prototype.BiV=function(t){var V=this;t.clientData={},V.uiV||(t.clientData.fLocksWithSheet=s.SJS_False),V.xiV||(t.clientData.fPrintsWithSheet=s.SJS_False)},t.prototype.dispose=function(){},t}(),V.DrawingBase=Y,O=function(t){function n(){var V,n=t.call(this)||this;return n.ni=!1,(V=n).ytV=new s.ShapeBaseData,V.ttV=5,n}return P(n,t),Object.defineProperty(n.prototype,"relativeX",{get:function(){return this.ytV.GVV},set:function(t){this.ytV.GVV=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"relativeY",{get:function(){return this.ytV.osV},set:function(t){this.ytV.osV=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"relativeWidth",{get:function(){return this.ytV.asV},set:function(t){this.ytV.asV=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"relativeHeight",{get:function(){return this.ytV.hsV},set:function(t){this.ytV.hsV=t},enumerable:!1,configurable:!0}),n.prototype.alt=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.AiV:((V=n.AiV)!==t&&(n.DT("alt",t),n.AiV=t,n.usV("alt",{value:t,oldValue:V}),n.enV("alt",V)),this)},n.prototype.isSelected=function(t){var V,n,i=this;return(0,h.noArguments)(arguments)?i.ni:((V=i.ni)!==t&&(i.DT("isSelected",t),i.ni=t,i.ctV&&(i.ctV.isSelected=t),(n=i.enV("isSelected",V))||i.ZiV(),i.refresh()),this)},n.prototype.isLocked=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.uiV:(V=n.uiV,n.DT("isLocked",t),n.uiV=t,n.usV("isLocked",{value:t,oldValue:V}),n.enV("isLocked",V),this)},n.prototype.isVisible=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.ytV.Visible:((V=n.ytV.Visible)!==t&&(n.DT("isVisible",t),n.ytV.Visible=t,n.usV("hidden",{value:!t,oldValue:!V}),t||n.isSelected(!1),n.enV("isVisible",V),n.refresh()),this)},n.prototype.HiV=function(){var t=this.ytV;return t.Visible&&!t.Hidden},n.prototype.canPrint=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.xiV:((V=n.xiV)!==t&&(n.DT("canPrint",t),n.xiV=t,n.usV("canPrint",{value:t,oldValue:V}),n.enV("canPrint",V)),this)},n.prototype.dynamicMove=function(t){var V,n,i=this;return(0,h.noArguments)(arguments)?i.FnV:(V=i.FnV,i.DT("dynamicMove",t),i.FnV=t,i.usV("dynamicMove",{value:t,oldValue:V}),i.enV("dynamicMove",V),t||(n=i.SnV,i.DT("dynamicSize",!1),i.SnV=!1,i.usV("dynamicSize",{value:!1,oldValue:n}),i.enV("dynamicSize",n)),this)},n.prototype.dynamicSize=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.SnV:(n.FnV&&(V=n.SnV,!0===t&&!0===n.PrV()&&(n.DT("resizeToFitText",!0,!0),n.PrV(!1,!0)),n.DT("dynamicSize",t),n.SnV=t,n.usV("dynamicSize",{value:t,oldValue:V}),n.enV("dynamicSize",V)),this)},n.prototype.allowResize=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.yiV:(V=n.yiV,n.DT("allowResize",t),n.yiV=t,n.ytV.noChangeAspect=t===o.ResizeMode.aspect,n.usV("allowResize",{value:t,oldValue:V}),n.enV("allowResize",V),n.refresh(),this)},n.prototype.allowRotate=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.fiV:(n._supportRotate()&&(V=n.fiV,n.DT("allowRotate",t),n.fiV=t,n.usV("allowRotate",{value:t,oldValue:V}),n.enV("allowRotate",V),n.refresh()),this)},n.prototype.allowMove=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.liV:(V=n.liV,n.DT("allowMove",t),n.liV=t,n.usV("allowMove",{value:t,oldValue:V}),n.enV("allowMove",V),this)},n.prototype.showHandle=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.giV:(V=n.giV,n.DT("showHandle",t),n.giV=t,n.usV("showHandle",{value:t,oldValue:V}),n.enV("showHandle",V),n.refresh(),this)},n.prototype.name=function(t){var V,n=this,i=n.ytV,e=i.Name;if((0,h.noArguments)(arguments))return e;if(x(t)||""===t)throw new Error((0,c.sR)().Exp_EmptyName);if(e!==t){if((V=n.Mf)&&V.shapes.get(t))throw new Error((0,c.sR)().Exp_DuplicatedName);n.DT("name",t),i.Name=t,n.mnV&&n.mnV.TsV(e,t),n.Mf&&n.Mf.csV(e,t),n.usV("name",{value:i.Name,oldValue:e}),n.enV("name",e)}return this},n.prototype.hyperlink=function(t){var V,n,i=this,e=i.ytV,r=i.ytV.ku;if((0,h.noArguments)(arguments))return r?{url:r.url,tooltip:r.tooltip,isVisited:r.isVisited,linkColor:r.linkColor,visitedLinkColor:r.visitedLinkColor,target:r.target,drawUnderline:r.drawUnderline,command:r.command}:null;V=i.hyperlink(),i.DT("hyperlink",t),n=i.AsV("hlinkClick",t),e.ku=t,i.usV("hlinkClick",{changingContext:n}),i.ctV&&(i.ctV.hyperlink=e.ku),i.enV("hyperlink",V),i.refresh()},n.prototype.bnV=function(t,V,n,i,e,r){var c,o,s=this,d=s.ytV;(d.left!==t||i)&&(c=s.x(),r&&s.DT("x",t),d.left=t,n=!0,s.enV("x",c)),(d.top!==V||e)&&(o=s.y(),r&&s.DT("y",V),d.top=V,n=!0,s.enV("y",o)),n&&(d.ynV(),d.fnV(),s.hiV())},n.prototype.$l=function(t,V,n,i,e,r,c){var s,d,a=this,h=a.ytV,u=a.width(),x=a.height(),f=h.width!==t||i,y=null!==(s=h.VoV)&&void 0!==s?s:o.TextDirection.horz;f&&(y!==o.TextDirection.horz&&c&&!0===a.ytV.TrV&&(a.DT("resizeToFitText",!0,!0),a.PrV(!1,!0)),r&&a.DT("width",t),h.width=t,n=!0),(d=h.height!==V||e)&&(y===o.TextDirection.horz&&c&&!0===a.ytV.TrV&&(a.DT("resizeToFitText",!0,!0),a.PrV(!1,!0)),r&&a.DT("height",V),h.height=V,n=!0),f&&a.enV("width",u),d&&a.enV("height",x),n&&(h.fnV(),a.hiV()),a.TrV()},n.prototype.getFormula=function(t){var V=this;return"x"===(t=t.toLowerCase())?(0,h.getFormula)(V,"left")||V.I0:"y"===t?(0,h.getFormula)(V,"top")||V.A0:"width"===t?(0,h.getFormula)(V,"width")||V.YC:"height"===t?(0,h.getFormula)(V,"height")||V.ZC:V.QiV(t)},n.prototype.QiV=function(t){return""},n.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)},n.prototype.ziV=function(t,V){},n.prototype.x=function(t,V){var n=this,i=n.ytV,e=i.left;return(0,h.noArguments)(arguments)?e:((0,h.isFormula)(t)?(n.I0=t,t=(0,h.setFormula)(n,"left",t)):(n.I0&&delete n.I0,(0,h.removeFormula)(n,"left",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.bnV(t,i.top,V,e!==t,!1,!0),n)},n.prototype.hiV=function(){var t=this;t.anV(),t.GiV(),t.refresh()},n.prototype.GiV=function(){var t=this;t.ctV&&1!==t.ctV.ttV&&!t.snV&&t.Mf.shapeLayers[0].updateConnectionLinesLayout(t.ctV)},n.prototype.y=function(t,V){var n=this,i=n.ytV,e=i.top;return(0,h.noArguments)(arguments)?e:((0,h.isFormula)(t)?(n.A0=t,t=(0,h.setFormula)(n,"top",t)):(n.A0&&delete n.A0,(0,h.removeFormula)(n,"top",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.bnV(i.left,t,V,!1,e!==t,!0),n)},n.prototype.width=function(t,V){var n=this,i,e=n.ytV.width;return(0,h.noArguments)(arguments)?e:(n.xoV(t,V,!0),n)},n.prototype.xoV=function(t,V,n){var i=this,e=i.ytV,r=e.width;(0,h.isFormula)(t)?(i.YC=t,t=(0,h.setFormula)(i,"width",t)):(i.YC&&delete i.YC,(0,h.removeFormula)(i,"width",t)),i.Mf&&i.Mf.parent&&i.Mf.parent.Gie&&(t/=i.Mf.zoom()),i.$l(t,e.height,V,r!==t,!1,!0,n)},n.prototype.height=function(t,V){var n=this,i,e=n.ytV.height;return(0,h.noArguments)(arguments)?e:(this.DrV(t,V,!0),n)},n.prototype.DrV=function(t,V,n){var i=this,e=i.ytV,r=e.height;(0,h.isFormula)(t)?(i.ZC=t,t=(0,h.setFormula)(i,"height",t)):(i.ZC&&delete i.ZC,(0,h.removeFormula)(i,"height",t)),i.Mf&&i.Mf.parent&&i.Mf.parent.Gie&&(t/=i.Mf.zoom()),i.$l(e.width,t,V,!1,r!==t,!0,n)},n.prototype.startRow=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.topAnchorRow:(V.tsV(t),V)},n.prototype.tsV=function(t){var V,n=this;n.ytV.topAnchorRow!==t&&(V=n.y(),n.DT("startRow",t),n.ytV.topAnchorRow=t,n.ytV.xnV(),n.ytV.fnV(),n.enV("y",V),n.hiV())},n.prototype.startRowOffset=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.topAnchorRowOffset:(V.VsV(t),V)},n.prototype.VsV=function(t){var V,n=this;n.ytV.topAnchorRowOffset!==t&&(V=n.y(),n.DT("startRowOffset",t),n.ytV.topAnchorRowOffset=t,n.ytV.xnV(),n.ytV.fnV(),n.enV("y",V),n.hiV())},n.prototype.startColumn=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.leftAnchorCol:(V.nsV(t),V)},n.prototype.nsV=function(t){var V,n=this;n.ytV.leftAnchorCol!==t&&(V=n.x(),n.DT("startColumn",t),n.ytV.leftAnchorCol=t,(0,s.isRightToLeftLayout)(n.Mf)?n.ytV.mtV():(n.ytV.xnV(),n.ytV.fnV()),n.enV("x",V),n.hiV())},n.prototype.startColumnOffset=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.leftAnchorColOffset:(V.isV(t),V)},n.prototype.isV=function(t){var V,n=this;n.ytV.leftAnchorColOffset!==t&&(V=n.x(),n.DT("startColumnOffset",t),n.ytV.leftAnchorColOffset=t,(0,s.isRightToLeftLayout)(n.Mf)?n.ytV.mtV():(n.ytV.xnV(),n.ytV.fnV()),n.enV("x",V),n.hiV())},n.prototype.toImageSrc=function(){var t=this,V=t.ctV.LFe();return V.toDataURL("image/png")},n.prototype.toImageSrcAsync=function(){var t;return this.ctV.fsV().then((function(t){return t.toDataURL("image/png")}))},n.prototype.endRow=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.ytV.bottomAnchorRow:(n.ytV.bottomAnchorRow!==t&&(V=n.height(),n.DT("endRow",t),n.ytV.bottomAnchorRow=t,n.ytV.mtV(),n.enV("height",V),n.hiV()),n)},n.prototype.endRowOffset=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.ytV.bottomAnchorRowOffset:(n.ytV.bottomAnchorRowOffset!==t&&(V=n.height(),n.DT("endRowOffset",t),n.ytV.bottomAnchorRowOffset=t,n.enV("height",V),n.ytV.mtV(),n.hiV()),n)},n.prototype.endColumn=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.ytV.rightAnchorCol:(n.ytV.rightAnchorCol!==t&&(V=n.width(),n.DT("endColumn",t),n.ytV.rightAnchorCol=t,(0,s.isRightToLeftLayout)(n.Mf)&&n.ytV.xnV(),n.ytV.mtV(),n.enV("width",V),n.hiV()),n)},n.prototype.endColumnOffset=function(t){var V,n=this;return(0,h.noArguments)(arguments)?n.ytV.rightAnchorColOffset:(n.ytV.rightAnchorColOffset!==t&&(V=n.width(),n.DT("endColumnOffset",t),n.ytV.rightAnchorColOffset=t,(0,s.isRightToLeftLayout)(n.Mf)&&n.ytV.xnV(),n.ytV.mtV(),n.enV("width",V),n.hiV()),n)},n.prototype.Jli=function(t,V){var n,i,e,r=this,c=r.ytV;r.yXn||(V&&r.DT("rotate",t),(n=c.Rotation)!==t&&(e=(i=r.Mf).THr({type:"updateShapeTransform",sheet:i,shape:r}),r.ytV.Rotation=t,i.$Dr({type:"updateShapeTransform",sheet:i,shape:r},e),r.ctV.setAngle(t),r.enV("rotate",n),r.GiV(),r.refresh()))},n.prototype._supportRotate=function(){return!0},n.prototype.resize=function(t,V,n,i){var e,r=this,c=r.Mf.zoom(),o=r.ctV;o.resize(n*c,i*c),o.move(t*c,V*c),(r.I0||r.A0||r.YC||r.ZC)&&(t=o.left/c,V=o.top/c,n=o.width/c,i=o.height/c),e=!0,r.$l(n,i,e,!1,!1,!0,!0),r.bnV(t,V,e,!1,!1,!0),r.afterResize()},n.prototype.afterResize=function(){},n.prototype.preProcessShapeDataToJson=function(t,V){var n=(0,h.getFormulaSettingItems)(this.ctV,null,null==V?void 0:V.ignoreFormula,null==V?void 0:V.newWorkSheetName);n&&(t.formulaItems=n)},n.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)},n.prototype.postProcessShapeDataToJson=function(t,V,n,i){t.name=this.name(),t.shapeType=this.ttV},n.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},n.prototype.YiV=function(V){t.prototype.YiV.call(this,V);var n=V.lossless;n&&n.formulaItems&&(this.JiV=n.formulaItems)},n.prototype.qiV=function(V,n,i,e){var r,c;t.prototype.qiV.call(this,V,n,i,e),(r=V.lossless)||(r=V.lossless={}),(c=(0,h.getFormulaSettingItems)(this.ctV,null,n,e))&&(r.formulaItems=c)},n.prototype.toJSON=function(t){var V=this,n={};return n.isLocked=V.uiV,n.canPrint=V.xiV,n.dynamicMove=V.FnV,n.dynamicSize=V.SnV,n.allowResize=V.yiV,n.allowRotate=V.fiV,n.allowMove=V.liV,n.showHandle=V.giV,n.alt=V.AiV,V.preProcessShapeDataToJson(n,t),V.shapeDataToJson(n,t),V.postProcessShapeDataToJson(n,!1,m,t),n},n.prototype.preProcessShapeDataFromJson=function(t){var V=this;x(t.isLocked)||(V.uiV=t.isLocked),x(t.canPrint)||(V.xiV=t.canPrint),x(t.dynamicMove)||(V.FnV=t.dynamicMove),x(t.dynamicSize)||(V.SnV=t.dynamicSize),x(t.allowResize)||(V.yiV=t.allowResize),x(t.allowRotate)||(V.fiV=t.allowRotate),x(t.allowMove)||(V.liV=t.allowMove),x(t.showHandle)||(V.giV=t.showHandle),x(t.formulaItems)||(V.JiV=t.formulaItems)},n.prototype.adjustShapeDataFromJson=function(t){},n.prototype.shapeDataFromJson=function(t){var V;this.ytV.FromOOModel(t.shapeData),this.adjustShapeDataFromJson(t)},n.prototype.postProcessShapeDataFromJson=function(t){var V=this;x(t.allowResize)&&(V.yiV=!V.ytV.noChangeAspect||o.ResizeMode.aspect)},n.prototype.FiV=function(V,n,i){var e,r;t.prototype.FiV.call(this,V,n,i),e=this,r=V.lossless&&V.lossless.allowResize,x(r)&&(e.yiV=!e.ytV.noChangeAspect||o.ResizeMode.aspect)},n.prototype.fromJSON=function(t){var V=this;x(t.alt)||(V.AiV=t.alt),V.czn=t.hAlign,V.fzn=t.vAlign,V.preProcessShapeDataFromJson(t),V.shapeDataFromJson(t),V.postProcessShapeDataFromJson(t)},n.prototype.formulaFromJSON=function(t,V){var n=this;n.unV(n.JiV)},n.prototype.afterRefSheetLazyLoaded=function(){},n.prototype.WiV=function(t){return null},n.prototype.Gf=function(t){var V,n,i=this;if(t||(t=i.Mf),V=JSON.stringify(i.toJSON({isClone:!0})),n=i.WiV(t))return t.LtV=[],n.fromJSON(JSON.parse(V)),delete t.LtV,n.tnV(),n.formulaFromJSON(),n.leV(),n.ytV.assignId(),n.ctV&&t.shapeLayers[0].removeShape(n.ctV),n},n.prototype.leV=function(){},n.prototype.JO=function(t,V){var n=this;n.A0||n.ZC||(k.call(n,n.startRow,n.endRow,n.endRowOffset,t,V),n.lnV(),n.anV())},n.prototype.xP=function(t,V){var n=this;n.getFormula("y")||n.getFormula("height")||(n.esV(),q(n)?n.zrt():(B.call(n,n.startRow,n.startRowOffset,n.endRow,n.endRowOffset,t,V),n.lnV(),n.anV()))},n.prototype.qO=function(t,V){var n=this;n.I0||n.YC||(k.call(n,n.startColumn,n.endColumn,n.endColumnOffset,t,V),n.lnV(),n.anV())},n.prototype.NP=function(t,V){var n=this;n.getFormula("x")||n.getFormula("width")||(n.esV(),q(n)?n.zrt():(B.call(n,n.startColumn,n.startColumnOffset,n.endColumn,n.endColumnOffset,t,V),n.lnV(),n.anV()))},n.prototype.lnV=function(){},n.prototype.urV=function(){var t=this,V=t.n0V(!1,!1);(0,d.isImageSparkLineValue)(V.src)&&t.ctV&&t.ctV.xrV()},n.prototype.sdV=function(){var t,V,n=this.ctV;n&&(t=n.options,V=this.ytV,A(t,V),g(t,V),t.textFormatOptions.fill.color=v(V.ShapeStyle.Font),t.textFormatOptions.font=c.ShapeUtility.getFontFromShapeData(V))},n.prototype.anV=function(t){var V,n,i=this;i.onV||(V=i.Mf.zoom(),(n=i.ctV)&&(1===n.ttV?n.setPoints(i.KVV(!0),V):(n.resize(i.width()*V,i.height()*V),n.move(i.x()*V,i.y()*V))),i.KiV(t))},n.prototype.KiV=function(t){},n.prototype.gnV=function(){var t,V=this,n=V.ctV,i=V.Mf;n&&i&&(t=i.zoom(),V.ytV.xnV(),V.ytV.mtV(),n.OtV=t,n.TtV=1!==t)},n.prototype.ZiV=function(){var t,V=this,n=V.Mf;n&&(t={sheet:n,sheetName:n.name(),shape:V},n.ki(e.Events.ShapeSelectionChanged,t))},n.prototype.enV=function(t,V){var i,r,c,o=this;if(!o.VnV&&(i=o.Mf)){if(r={sheet:i,sheetName:i.name(),shape:o,propertyName:t,stopThisFire:!1},n.et(o,"fireEvents",r),r.stopThisFire)return!1;c={sheet:i,sheetName:i.name(),shape:o,propertyName:t,oldValue:V},i.ki(e.Events.ShapeChanged,c)}},n.prototype.ZnV=function(t,V){var n,i=this,e=i.Mf;(V||i.RiV)&&(n=e.Ut).aeV(t)},n.prototype.DT=function(t,V,n){var i,e,r,c=this,o=c.Mf;!o||c.vnV||c.RiV||(i=o.Ut).G8&&(e=void 0,r=t,n===m&&(n=c[r]()),e=V!==m?{type:t,value:V,oldValue:n}:{name:r,value:c[r](),oldValue:n},i.ueV(c,e))},n.prototype.jKe=function(){return this.ytV.jKe()},n.prototype.AsV=function(t,V){return this.Mf.THr({type:"updateShapeProp",shape:this,propName:t,value:V})},n.prototype.usV=function(t,V){var n=this,i=n.Mf,e=V.value,r=V.oldValue,c=V.changingContext;c?i.$Dr({type:"updateShapeProp",shape:n,propName:t,value:e},c):(x(r)||e!==r)&&i.$Dr({type:"updateShapeProp",shape:n,propName:t,value:e,oldValue:r})},n.prototype.AP=function(t,V){var n,i,e,r,o,s;t&&(n=this,i=t.type||t.name,e=V?t.value:t.oldValue,r=t.type,o="x|y|width|height|",s=["startRow","startRowOffset","startColumn","startColumnOffset","endRow","endRowOffset","endColumn","endColumnOffset"],n[i]&&o.indexOf(i+"|")>-1?(n.ttV===c.CT_ShapeType.CT_GroupShape&&(n.$iV=!0),n[i](e),n.ttV===c.CT_ShapeType.CT_GroupShape&&delete n.$iV,n.zrt()):n[i]&&s.indexOf(i)>=0?(n.ttV===c.CT_ShapeType.CT_GroupShape&&(n.$iV=!0),n[i](e),n.ttV===c.CT_ShapeType.CT_GroupShape&&delete n.$iV,n.ytV.xnV(),n.ytV.mtV()):n[i]?n[i](e):n.t0V(r,e))},n.prototype.esV=function(){var t=this,V=t.ytV;t.DT("endRow",V.bottomAnchorRow),t.DT("endRowOffset",V.bottomAnchorRowOffset),t.DT("endColumn",V.rightAnchorCol),t.DT("endColumnOffset",V.rightAnchorColOffset),t.DT("startRow",V.topAnchorRow),t.DT("startRowOffset",V.topAnchorRowOffset),t.DT("startColumn",V.leftAnchorCol),t.DT("startColumnOffset",V.leftAnchorColOffset)},n.prototype.zrt=function(){var t=this.ytV;t.ynV(),t.fnV()},n.prototype.t0V=function(t,V){var n;"resizeToFitText"===t&&this.PrV(V)},n.prototype.refresh=function(t){var V,n,i=this.Mf;!this.onV&&i&&(V=this.ctV,t&&V?(n=V.getRenderBound(),i.cnV(new e.Rect(n.left,n.top,n.width,n.height))):i.cnV())},n.prototype.zrV=function(t){var V=this,n=C(V.ytV.L0t),i=I(n)*t/2,e=M(n)*t/2,r={x:V.x()+V.width()/2,y:V.y()+V.height()/2},c=(0,h.rotatePoint)({x:V.x(),y:V.y()},r,n),o={x:r.x-i,y:r.y+e},s=(0,h.rotatePoint)(c,o,-n);return s},n.prototype.TrV=function(){var t,V,n,i,e,r=this,c=r.ctV;if(r.ctV&&r.ctV.options&&r.ctV.options.textFormatOptions&&r.ctV.options.textFormatOptions.resizeToFitText){if(!(t=c.getShapeFitTextSize()))return;V=t.height,n=t.width,c.TtV&&(V/=c.OtV,n/=c.OtV),(Math.abs(V-r.height())>1||Math.abs(n-r.width())>1)&&(i=V-r.height(),e=r.zrV(i),r.$l(n,V,void 0,void 0,void 0,!0),r.bnV(e.x,e.y))}},n.prototype.getShapePoints=function(){var t=this,V=t.ctV;if(V&&4!==t.ttV)return V.V0V()},n.prototype.VeV=function(t){var V=this;if((0,h.noArguments)(arguments))return V.n0V(!0,!1);this.neV(t)},n.prototype.neV=function(t,V){var n,i,e;void 0===V&&(V=!0),n=this,x(t)||(i=n.AsV("fill",n.ytV.Fill),(0,h.adjustTransparentColor)(t),e=n.i0V(t),V&&(t=n.e0V(t)),n.ytV.Fill.Type=e,e===c.FillType.Solid?n.c0V(t):e===c.FillType.Gradient?n.r0V(t):e===c.FillType.Picture&&this.d0V(t),n.usV("fill",{changingContext:i}),A(n.ctV.options,n.ytV))},n.prototype.i0V=function(t){var V=t,n=c.FillType.Solid;return x(V.stops)?x(V.src)||(n=c.FillType.Picture):n=c.FillType.Gradient,n},n.prototype.e0V=function(t){var V,n,i,e,r,c,o;return t=(0,h.simpleCloneObject)(t),n=!1,(V=this).S0t=t,i=V.ctV,e=i&&i.getService(),c=function(r,c,o){var s="options.fill.stops.".concat(o,".").concat(c);(0,h.isFormula)(r[c])?(n=!0,(0,h.setFormula)(V,s,r[c]),e&&(e.setValue(i.id,"options.fill.stops.isArray",!0),r[c]=e.getValue(i.id,s))):(0,h.removeFormula)(V,s,t[c],!0)},(r=function(r){var c="options.fill."+r;(0,h.isFormula)(t[r])?(n=!0,(0,h.setFormula)(V,c,t[r]),e&&(t[r]=e.getValue(i.id,c))):(0,h.removeFormula)(V,c,t[r],!0)})("type"),r("color"),r("transparency"),r("direction"),r("angle"),r("src"),r("tilePictureAsTexture"),r("offsetLeft"),r("offsetRight"),r("offsetTop"),r("offsetBottom"),r("offsetX"),r("offsetY"),r("scaleX"),r("scaleY"),r("alignment"),r("mirrorType"),o=t.stops,Array.isArray(o)&&o.forEach((function(t,V){c(t,"position",V),c(t,"color",V),c(t,"transparency",V),c(t,"brightness",V)})),n||delete V.S0t,t},n.prototype.nrV=function(t,V){var n=this,i=c.ShapeUtility.getFillType(n.ytV.Fill),e=n.n0V(!1,!1);(0,h.updateOptionItemByPath)(e,t,V),i===c.FillType.Solid?n.c0V(e):i===c.FillType.Gradient?n.r0V(e):i===c.FillType.Picture&&n.d0V(e),A(n.ctV.options,n.ytV)},n.prototype.n0V=function(t,V){var n,i=this,e=c.ShapeUtility.getFillType(i.ytV.Fill);return e===c.FillType.Solid?n=i.hdV(t,V):e===c.FillType.Gradient?n=i.udV(t,V):e===c.FillType.Picture&&(n=i.xdV(t)),n},n.prototype.hdV=function(t,V){var n=this,i=c.ShapeUtility.getFillFormatInfo(n.ytV).solid;return V&&Object.assign(i,j(n.ytV.Fill)),t&&n.S0t&&(i.type=z(n,"type")||i.type,i.color=z(n,"color")||i.color,i.transparency=z(n,"transparency")||i.transparency),i},n.prototype.udV=function(t,V){var n,i=this,e=c.ShapeUtility.getFillFormatInfo(i.ytV).gradient;return V&&(n=i.ytV.Fill.GradientStops,e.stops.forEach((function(t,V){Object.assign(t,j(n.Item(V)))}))),t&&i.S0t&&(e.type=z(i,"type")||e.type,e.angle=z(i,"angle")||e.angle,e.direction=z(i,"direction")||e.direction,e.stops.forEach((function(t,V){t.color=z(i,"stops.".concat(V,".color"))||t.color,t.position=z(i,"stops.".concat(V,".position"))||t.position,t.transparency=z(i,"stops.".concat(V,".transparency"))||t.transparency,t.brightness=z(i,"stops.".concat(V,".brightness"))||t.brightness}))),e},n.prototype.xdV=function(t){var V,n=this,i=c.ShapeUtility.getFillFormatInfo(n.ytV).picture,e=["src","transparency","tilePictureAsTexture"];return i.tilePictureAsTexture?e.push("offsetX","offsetY","scaleX","scaleY","alignment","mirrorType"):e.push("offsetLeft","offsetRight","offsetTop","offsetBottom"),V={},e.forEach((function(e){V[e]=i[e],t&&n.S0t&&(V[e]=z(n,e)||V[e])})),V},n.prototype.r0V=function(t){var V=this;x(t.type)||V.a0V(t.type),V.s0V(t.direction),x(t.angle)||V.h0V(t.angle),x(t.stops)||V.u0V(t.stops)},n.prototype.a0V=function(t){var V=this.ytV.Fill;t===c.GradientFillType.linear?(V.u0t=!0,V.Bft=m,this.s0V(m)):t===c.GradientFillType.radial&&(V.u0t=!1,V.Bft=c.ST_PathShadeType.circle)},n.prototype.h0V=function(t){var V=this.ytV.Fill,n=Number(t),i=c.ShapeUtility.getGradientFillType(V);isNaN(n)||i!==c.GradientFillType.linear||V.Rft||((n%=360)<0&&(n+=360),V.GradientAngle=n)},n.prototype.s0V=function(t){var V,n;if(t=Number(t),V=this.ytV.Fill,(n=c.ShapeUtility.getGradientFillType(V))===c.GradientFillType.radial){if(!f(c.RadialGradientFillDirection,t))return;t===c.RadialGradientFillDirection.fromCenter?(V.e0t(c.GradientStyle.GradientFromCenter),V.i0t(m)):(V.e0t(c.GradientStyle.GradientFromCorner),V.i0t(t)),V.Rft=!0}else n===c.GradientFillType.linear&&(f(c.LinearGradientFillDirection,t)?(V.GradientAngle=t,V.Rft=!0):(V.Rft=!1,V.e0t(m),V.i0t(m)))},n.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),x(e)||(x(e.position)||V.x0V(i,e.position),x(e.color)||V.y0V(i,e),x(e.transparency)||V.f0V(i,e.transparency));V.ytV.Fill.n0t(n)}},n.prototype.x0V=function(t,V){var n=this,i=n.ytV.Fill.GradientStops;t<0||t>=i.Count||(i.Item(t).Position=Number(V))},n.prototype.y0V=function(t,V){var n,i=this,e=i.ytV.Fill.GradientStops;t<0||t>=e.Count||D(n=e.Item(t).Color,V,i.Mf)},n.prototype.f0V=function(t,V){var n=this,i=n.ytV.Fill.GradientStops;t<0||t>=i.Count||x(V)||(i.Item(t).Color.Transparency=Number(V))},n.prototype.l0V=function(t,V){var n=this,i=n.ytV.Fill.GradientStops;t<0||t>=i.Count||x(V)||(i.Item(t).Color.Brightness=Number(V))},n.prototype.c0V=function(t){var V,n=this,i=t.type,e=t.color;x(i)?x(e)||(""===e?this.g0V():this.A0V(t)):i===o.ShapeFillType.none?this.g0V():this.A0V(t),V=t.transparency,x(V)||n.w0V(V)},n.prototype.A0V=function(t){var V=this;D(V.ytV.Fill.Color,t,V.Mf)},n.prototype.g0V=function(){this.ytV.Fill.Color.ColorType=0},n.prototype.w0V=function(t){t=parseFloat(t),t=b(1,t),t=L(0,t),this.ytV.Fill.Transparency=t},n.prototype.d0V=function(t){var V=this,n=V.ytV.Fill,i=n.PictureFormat,e=t.tilePictureAsTexture?c.PictureFormatType.TextureFill:c.PictureFormatType.PictureFill;i.PictureFormatType=e,V.irV(t.src),i.Transparency=Number(t.transparency)||0,e===c.PictureFormatType.TextureFill?V.p0V(t):V.v0V(t)},n.prototype.irV=function(t){var V=this,n=V.ytV.Fill,i=n.PictureFormat;i.PicSrc=t,d.Common.isBase64ImageStr(t)?i.PicFill=t:((0,d.isSparkLineValue)(t)||(i.PicSrc=""),i.PicFill=m)},n.prototype.v0V=function(t){var V=this.ytV.Fill.PictureFormat,n=Number(t.offsetLeft)||0,i=Number(t.offsetRight)||0,e=Number(t.offsetTop)||0,r=Number(t.offsetBottom)||0;V.Stretch={left:n,right:i,top:e,bottom:r}},n.prototype.p0V=function(t){var V=this.ytV.Fill.PictureFormat,n=Number(t.offsetX)||0,i=Number(t.offsetY)||0,e=Number(t.alignment)||0,r=Number(t.mirrorType)||0,c=$(t.scaleX,0,1,1),o=$(t.scaleY,0,1,1);V.Tile={offsetX:n,offsetY:i,scaleX:c,scaleY:o,alignment:e,mirrorType:r}},n.prototype.L0V=function(t){var V=this;if((0,h.noArguments)(arguments))return V.j0V();t&&((0,h.adjustTransparentColor)(t),V.j0V(t))},n.prototype.j0V=function(t){var V,n,i,e,r,c,o,s=this,d=s.ytV.Line;if((0,h.noArguments)(arguments))return s.ydV(!0,!1);if("object"==typeof t){for(i in t=(0,h.simpleCloneObject)(t),n=s.AsV("line",s.ytV.Line),s.Tin=t,t)e=t[i],r="options.stroke._"+i,(c=(0,h.isFormula)(e))&&!V&&(V=!0),t[i]=(0,h.updateOptionsItem)(s,r,e,c);V||delete s.Tin,K(t.color)||(""===t.color||null===t.color?d.Color.ColorType=0:D(d.Color,t,s.Mf)),x(t.lineStyle)||K(t.lineStyle)||(d.DashStyle=t.lineStyle),x(t.width)||K(t.width)||(d.Weight=t.width),x(t.capType)||K(t.capType)||(d.CapStyle=t.capType),x(t.joinType)||K(t.joinType)||(d.JoinStyle=t.joinType),x(t.compoundType)||K(t.compoundType)||(d.Style=t.compoundType),o=t.transparency,isNaN(o)||(o=b(1,o),o=L(0,o),d.Transparency=o),s.usV("line",{changingContext:n}),g(s.ctV.options,s.ytV)}},n.prototype.ydV=function(t,V){var n=this,i=n.ytV.Line,e=p(i);return V&&Object.assign(e,j(i)),n.Tin&&t&&(e.color=(0,h.getFormula)(n,"options.stroke._color")||e.color,e.lineStyle=(0,h.getFormula)(n,"options.stroke._lineStyle")||e.lineStyle,e.width=(0,h.getFormula)(n,"options.stroke._width")||e.width,e.capType=(0,h.getFormula)(n,"options.stroke._capType")||e.capType,e.joinType=(0,h.getFormula)(n,"options.stroke._joinType")||e.joinType,e.compoundType=(0,h.getFormula)(n,"options.stroke._compoundType")||e.compoundType,e.transparency=(0,h.getFormula)(n,"options.stroke._transparency")||e.transparency),e},n.prototype.b0V=function(t){var V,n,i,e,r,c=this;if((0,h.noArguments)(arguments))return c.fdV(!0,!1);t&&(V=c.AsV("text"),n=c.AsV("fontRef"),i=t.color,x(i)||(c.ldV(i),U(c.ytV.ShapeStyle.Font.Color,t,c.Mf)),e=t.transparency,x(e)||c.C0V(e),r=t.font,x(r)||c.R0V(r),c.usV("fontRef",{changingContext:n}),c.usV("text",{changingContext:V}))},n.prototype.fdV=function(t,V){var n=this,i={color:n.gdV(t),transparency:n.C0V(),font:n.R0V()};return V&&Object.assign(i,j(n.ytV.I0i.Font)),i},n.prototype.ldV=function(t){var n,i,e=this;if((0,h.noArguments)(arguments))return e.gdV(!0);n=V.TEXT_FILL_COLOR_PATH,(0,h.isFormula)(t)?(e.viV=t,i=!0):(e.viV&&delete e.viV,(0,h.removeFormula)(e,n,t)),K(t=(0,h.updateOptionsItem)(e,n,t,i))||(e.adV(t),e.ctV.options.textFormatOptions.fill.color=v(e.ytV.ShapeStyle.Font))},n.prototype.gdV=function(t){var n=this;return t&&n.viV?(0,h.getFormula)(n,V.TEXT_FILL_COLOR_PATH):w(n.ytV.I0i.Font).color},n.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)},n.prototype.C0V=function(t){var V,n,i=this,e="options.textFormatOptions.fill.transparency";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&i.LiV?(0,h.getFormula)(i,e):(V=w(i.ytV.ShapeStyle.Font).transparency,V=Math.round(100*V)/100);(0,h.isFormula)(t)?(i.LiV=t,n=!0):(i.LiV&&delete i.LiV,(0,h.removeFormula)(i,e,t)),t=parseFloat((0,h.updateOptionsItem)(i,e,t,n)),isNaN(t)||(t=i.KnV(t),i.ctV.options.textFormatOptions.fill.transparency=t)},n.prototype.KnV=function(t){return t=b(1,t),t=L(0,t),this.ytV.ShapeStyle.Font.Color.Transparency=t,t},n.prototype.R0V=function(t){var V,n,i=this,e="options.textFormatOptions.font";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&i.jiV?(0,h.getFormula)(i,e):(i._font=c.ShapeUtility.getFontFromShapeData(i.ytV),i._font);(0,h.isFormula)(t)?(i.jiV=t,V=!0):(i.jiV&&delete i.jiV,(0,h.removeFormula)(i,e,t)),(t=(0,h.updateOptionsItem)(i,e,t,V))&&!K(t)&&(n=i.JnV(t))&&(i.ctV.options.textFormatOptions.font=t,i._font=t)},n.prototype.JnV=function(t){var V=H(t),n=V.name;return!!n&&(this.ytV.I0i.TextBody.updateFont(n,V.size,V.bold,V.italic),!0)},n.prototype.I0V=function(t){var V,n,i,e,r=this;if((0,h.noArguments)(arguments))return r.AdV();t&&(V=t.vAlign,x(V)||r.M0V(V),n=t.hAlign,x(n)||r._0V(n),i=t.resizeToFitText,x(i)||r.PrV(i),e=t.textDirection,x(e)||r.noV(e))},n.prototype.AdV=function(){var t=this;return{vAlign:t.M0V(),hAlign:t._0V(),resizeToFitText:t.PrV(),textDirection:t.noV()}},n.prototype.hoV=function(t){return"string"==typeof t&&("vertical"===t||"rotate90"===t?t=o.TextDirection.vert:"rotate270"===t?t=o.TextDirection.vert270:"horizontal"!==t&&t||(t=o.TextDirection.horz)),t},n.prototype.noV=function(t){var V,n,i=this,e="options.textFormatOptions.textDirection";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&i.ioV?(0,h.getFormula)(i,e):i.ctV.options.textFormatOptions.textDirection;(0,h.isFormula)(t)?(i.ioV=t,V=!0):(i.ioV&&delete i.ioV,(0,h.removeFormula)(i,e,t)),K(t=(0,h.updateOptionsItem)(i,e,t,V))||(t=i.hoV(t),n=i.AsV("text"),i.ctV.options.textFormatOptions.textDirection=t,i.eoV(t),i.usV("text",{changingContext:n}))},n.prototype.eoV=function(t){this.VoV=t,this.ytV.VoV=t},n.prototype.M0V=function(t){var V,n,i=this,e="options.textFormatOptions.verticalAlignment";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&i.miV?(0,h.getFormula)(i,e):i.ctV.options.textFormatOptions.verticalAlignment;(0,h.isFormula)(t)?(i.miV=t,V=!0):(i.miV&&delete i.miV,(0,h.removeFormula)(i,e,t)),K(t=(0,h.updateOptionsItem)(i,e,t,V))||(n=i.AsV("text"),i.ctV.options.textFormatOptions.verticalAlignment=t,i.ytV.fzn=t,i.teV(t),i.usV("text",{changingContext:n}))},n.prototype.teV=function(t){this.fzn=t},n.prototype._0V=function(t){var V,n,i=this,e="options.textFormatOptions.horizontalAlignment";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&i.biV?(0,h.getFormula)(i,e):i.ctV.options.textFormatOptions.horizontalAlignment;(0,h.isFormula)(t)?(i.biV=t,V=!0):(i.biV&&delete i.biV,(0,h.removeFormula)(i,e,t)),K(t=(0,h.updateOptionsItem)(i,e,t,V))||(n=i.AsV("text"),i.ctV.options.textFormatOptions.horizontalAlignment=t,i.ytV.czn=t,i.$nV(t),i.usV("text",{changingContext:n}))},n.prototype.$nV=function(t){this.czn=t},n.prototype.PrV=function(t,V){var n,i,e,r,c,o=this,s="options.textFormatOptions.resizeToFitText";if((0,h.noArguments)(arguments))return!t&&o.NrV?(0,h.getFormula)(o,s):o.ytV.TrV;e=o.AsV("text"),(0,h.isFormula)(t)?(o.NrV=t,r=!0):(o.NrV&&delete o.NrV,(0,h.removeFormula)(o,s,t)),K(t=(0,h.updateOptionsItem)(o,s,t,r))||((c=null===(i=null===(n=o.ctV)||void 0===n?void 0:n.options)||void 0===i?void 0:i.textFormatOptions)&&(c.resizeToFitText=t),o.ytV.TrV=t,o.usV("text",{changingContext:e}))},n.prototype.E0V=function(t){var V=this,n="options.textFormatOptions.margins.";["left","right","top","bottom"].forEach((function(i){var e,r,c=t&&t[i];x(c)||(e=n+i,(0,h.isFormula)(c)?r=!0:(0,h.removeFormula)(V,e,c),"number"!=typeof(c=+(c=(0,h.updateOptionsItem)(V,e,c,r)))||isNaN(c)||(V.ctV.options.textFormatOptions.margins[i]=c,V.ytV.I0i.TextBody.Inset[i]=c))}))},n.prototype.ndV=function(t,V){var n,i,e;void 0===V&&(V=!0),n=this,i=(0,h.getShapeAdjustments)(n),e=n.AsV("adjustments"),n.DT("adjustments",t),n.ytV.edV(t,V),y(n.ctV,n.ytV),n.usV("adjustments",{changingContext:e}),n.enV("adjustments",i),n.refresh()},n.prototype.tnV=function(t,V){},n.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.rsV(t),delete n.siV,V&&delete n.VnV)},n.prototype.rsV=function(t){},n.prototype.dispose=function(){var V=this;V.ctV&&V.ctV.dispose(),t.prototype.dispose.call(this)},n}(Y),V.ShapeBase=O,(0,e.$e)(O),T=function(t){function n(V,n,i,e,r,c,o){var d,a,h=t.call(this)||this,u=h,x=i;return"object"==typeof i&&(d=W(i,!0),x=-1,u.aiV=!0,tt(d),u.hnV=d),a=n&&V.eeV(n)||V.eeV((S[x]||"Shape")+" ",!0),u.Mf=V,u.ytV=new s.ShapeData(V,a,x,e||0,r||0,c||200,o||160),u.RiV=!0,x&&u.tnV(),delete u.RiV,h}return P(n,t),n.prototype.type=function(t){var V,n=this,i=n.ytV,e=i.AutoShapeType;if((0,h.noArguments)(arguments))return e;t!==e&&(n.DT("type",t),V=n.AsV("presetGeometry"),i.AutoShapeType=t,n.usV("presetGeometry",{changingContext:V}),n.enV("type",e),t&&n.tnV(),n.GiV(),n.TrV(),n.refresh())},n.prototype.QiV=function(t){var n=this;return"rotate"===t?(0,h.getFormula)(n,"angle"):"text"===t?(0,h.getFormula)(n,V.SHAPE_TEXT_OPTIONS_PATH):"style"===t.substr(0,5)?(0,h.getStyleFormula)(n,t):""},n.prototype.ziV=function(t,V){var n=this;"rotate"===t?n.rotate(V):"text"===t?n.text(V):"style"===t.substr(0,5)&&(0,h.setStyleFormula)(n,t,V)},n.prototype.rotate=function(t){var V=this;if((0,h.noArguments)(arguments))return V.ytV.Rotation;(0,h.rotateImp)(V,t)},n.prototype.text=function(t){var n,i,e,r,c,o,s=this;if((0,h.noArguments)(arguments))return s.ytV.I0i.Text;n=V.SHAPE_TEXT_OPTIONS_PATH,i=s.ytV.I0i,e=!1,r=s.AsV("textLink"),(0,h.isFormula)(t)?(s._text=t,e=J(s,t)):(s._text&&delete s._text,(0,h.removeFormula)(s,n,t)),t=(0,h.updateOptionsItem)(s,n,t,!0),s.usV("textLink",{changingContext:r}),K(t)&&(t=t.toString()),c=s.text(),o=s.AsV("text"),s.DT("text",t,c),s.O0V(t,e),s.ctV.options.textFormatOptions.text=i.Text,s.usV("text",{changingContext:o}),s.enV("text",c),s.TrV(),s.refresh()},n.prototype.isTextBox=function(t){var V,n=this;if((0,h.noArguments)(arguments))return n.ytV.IsTextBox;V=n.ytV.IsTextBox,n.ytV.IsTextBox=t,n.usV("isTextBox",{value:t,oldValue:V})},n.prototype.O0V=function(t,V){var n=this,i=n.ytV.I0i;V?(i.SetTextLinkInternal(),n.P0V(!0)):i.Text=t},n.prototype.GnV=function(t){var V=this,n=V.ytV.I0i,i=V.AsV("text");n.HasTextLink()?V.P0V():n.Text=t,V.usV("text",{changingContext:i}),V.TrV()},n.prototype.P0V=function(t){var n=this,i=G(n,V.SHAPE_TEXT_OPTIONS_PATH,t);x(i)||n.ytV.I0i.UpdateTextLinkElementText(i),n.ctV&&(n.ctV.options.textFormatOptions.text=n.ytV.I0i.Text)},n.prototype.rsV=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),t.textDirection&&V.noV(t.textDirection))},n.prototype.N0V=function(){var t=this,n=t.ytV,i=n.HeV,e=n.I0i;i&&e.HasTextLink()&&((0,h.updateOptionsItem)(t,V.SHAPE_TEXT_OPTIONS_PATH,"="+i,!1),t.P0V(!0))},n.prototype.tnV=function(){var t,V,n,i,e,r,c,o,s,d,a=this,u=a.Mf,f=u.zoom();a.VnV=!0,V=(t=a.ytV).AutoShapeType,n=u.shapeLayers[0],(i=a.aiV)?(e=(0,h.simpleCloneObject)(a.hnV),isNaN(t.left)||!x(e.left)&&isNaN(+e.left)||(e.left=t.left*f),isNaN(t.top)||!x(e.top)&&isNaN(+e.top)||(e.top=t.top*f),isNaN(t.width)||!x(e.width)&&isNaN(+e.width)||(e.width=t.width*f),isNaN(t.height)||!x(e.height)&&isNaN(+e.height)||(e.height=t.height*f),!isNaN(t.Rotation)&&x(e.angle)&&(e.angle=t.Rotation),r=e.left,(0,h.isFormula)(r)&&(a.I0=r),r=e.top,(0,h.isFormula)(r)&&(a.A0=r),r=e.height,(0,h.isFormula)(r)&&(a.ZC=r),r=e.width,(0,h.isFormula)(r)&&(a.YC=r),r=e.angle,(0,h.isFormula)(r)&&(a.yXn=r)):(e=(0,h.getBuiltInShapeModelWhenInit)(t,V,f)).options={textFormatOptions:{text:a.text()||a.name()}},c=(0,h.removeOldShapeUIWhenInitShapeUI)(a,n),l(e,t,n,i),o=e.options,a._font=o.textFormatOptions.font,(s=a.czn=t.czn)&&(o.textFormatOptions.horizontalAlignment=s),(s=a.fzn=t.fzn)&&(o.textFormatOptions.verticalAlignment=s),d=n.createShape(e),y(d,t),d.getShapeCenter(),d.hyperlink=t.ku,this.ZnV(d.id),t.ltV&&(a.flipX=!0),t.gtV&&(a.flipY=!0),(0,h.addNewShapeUIWhenInitShapeUI)(a,d,n,c),delete a.VnV},n.prototype.preProcessShapeDataFromJson=function(V){var n,i=this;t.prototype.preProcessShapeDataFromJson.apply(i,arguments),V.custom&&(n=W(V.modelData,!0),i.aiV=!0,i.hnV=n,tt(n))},n.prototype.YiV=function(V){var n,i,e;t.prototype.YiV.call(this,V),(n=V.lossless)&&(i=this,n.custom?(e=W(n.modelData,!0),i.aiV=!0,i.hnV=e,tt(e)):n.formulaItems&&(i.JiV=n.formulaItems))},n.prototype.qiV=function(V,n,i,e){var r,c,o,s;t.prototype.qiV.call(this,V,n,i,e),(r=V.lossless)||(r=V.lossless={}),(c=this).aiV?(r.custom=!0,o=(0,h.syncCustomShapeModel)(c,!i&&n,e),r.modelData=W(o,!1),delete r.modelData.id):(s=(0,h.getFormulaSettingItems)(c.ctV,null,n,e))&&(r.formulaItems=s)},n.prototype.OiV=function(t){return t.nvSpPr.cNvPr},n.prototype.DiV=function(t){return t.sp},n.prototype.formulaFromJSON=function(V,n){t.prototype.formulaFromJSON.call(this,V,n);var i=this;i.D0V=V,i.ytV.FormulaFrom(),i.N0V(),delete i.D0V},n.prototype.preProcessShapeDataToJson=function(V,n){var i,e,r;t.prototype.preProcessShapeDataToJson.call(this,V,n),(i=this).czn&&(V.hAlign=i.czn),i.fzn&&(V.vAlign=i.fzn),i.aiV&&(V.custom=!0,e=null==n?void 0:n.ignoreFormula,(null==n?void 0:n.isPrint)&&(e=!1),r=(0,h.syncCustomShapeModel)(i,e,null==n?void 0:n.newWorkSheetName),V.modelData=W(r,!1),delete V.modelData.id,delete V.formulaItems),i.q0V()},n.prototype.SiV=function(V,n,i){t.prototype.SiV.call(this,V,n,i),this.q0V()},n.prototype.q0V=function(){var t=this,V=t.ytV,n=t.getFormula("text");n&&V.I0i.HasTextLink()&&("="===n[0]&&(n=n.substring(1)),V.HeV=n)},n.prototype.postProcessShapeDataToJson=function(V,n,i,e){t.prototype.postProcessShapeDataToJson.call(this,V,n,i,e),(0,h.processShapeEmptyBlipBlobWhenToJson)(this,n?V:V.shapeData.sp)},n.prototype.XiV=function(V,n,i,e,r){t.prototype.XiV.call(this,V,n,i,e,r),(0,h.processShapeEmptyBlipBlobWhenToJson)(this,V.sp)},n.prototype.adjustments=function(t){var V=this;if((0,h.noArguments)(arguments))return(0,h.getShapeAdjustments)(V);V.ndV((0,h.convertArrayValueToAdjustmentValue)(V.ytV,t))},n.prototype.style=function(t){var V,n,i,e=this;if((0,h.noArguments)(arguments))return e.getStyle(!0,!1);null==(n=(0,h.getCollaboration)(e))||n.startBatchOp(),!0===(null===(V=t.textFrame)||void 0===V?void 0:V.resizeToFitText)&&!0===e.SnV&&e.dynamicSize(!1),i=e.style(),e.DT("style",t),e.VeV(t.fill),e.L0V(t.line),e.b0V(t.textEffect),e.I0V(t.textFrame),e.enV("style",i),e.TrV(),null==n||n.endBatchOp(),e.refresh()},n.prototype.getStyle=function(t,V){var n=this,i=new a.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},n.prototype.PrV=function(V,n){if((0,h.noArguments)(arguments))return t.prototype.PrV.call(this);var i=this.style();t.prototype.PrV.call(this,V,n),n&&this.enV("style",i)},n.prototype.WiV=function(t){return new n(t)},n}(O),V.Shape=T},"./dist/plugins/shape/staticModelCalcService/calcNode.js":function(t,V){Object.defineProperty(V,"__esModule",{value:!0}),V.CalcNode=void 0;var n=function(){function t(t,V,n,i){this.name=t,this.value=V,this.formula=n,this.expr=i}return t.prototype.getDependencyIdentify=function(){return i(this.expr)},t.prototype.getDependencyCalcNode=function(t){var V;return this.getDependencyIdentify().map((function(V){return t[V]})).filter((function(t){return!!t}))},t.prototype.getExternalDependencyIdentify=function(t){var V,n,i,e=this.getDependencyIdentify(),r=[];for(V=0,n=e;V<n.length;V++)t[i=n[V]]||r.push(i);return r},t}();function i(t){var V,n,e,r;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(i(t.value)),t.value2&&(V=V.concat(i(t.value2)));else if(8===t.type)V.push(t.value);else if(7===t.type)for(e=(n=t.arguments).length,r=0;r<e;r++)V=V.concat(i(n[r]));return V}V.CalcNode=n},"./dist/plugins/shape/staticModelCalcService/evaluateContext.js":function(t,V,n){var i,e,r,c,o=this&&this.qKr||(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])},s(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)}),s;Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelEvaluateContext=void 0,i=n("CalcEngine"),e=n("Common"),r=e.Common.lt.ht,c=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.args={},V}return o(V,t),V.prototype.getNameValue=function(t){var V,n,i=this.args||{};return r(i[t])?(n=(V=this.calcNodeMap)&&V[t])?n.value:void 0:i[t]},V}(i.EvaluateContext),V.StaticModelEvaluateContext=c},"./dist/plugins/shape/staticModelCalcService/evaluator.js":function(t,V,n){var i,e,r,c,o,s=this&&this.qKr||(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])},d(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)}),d;Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelEvaluator=void 0,i=n("Common"),e=n("CalcEngine"),r=e.Errors.Name,c=i.Common.lt.ht,o=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return s(V,t),V.prototype.evaluateName=function(t,V,n,i){if(!V&&!V.getNameValue)return r;var e=V.getNameValue(t.value);return c(e)?r:e},V}(e.Evaluator),V.StaticModelEvaluator=o},"./dist/plugins/shape/staticModelCalcService/parseContext.js":function(t,V,n){var i,e,r=this&&this.qKr||(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])},c(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)}),c;Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelParseContext=void 0,e=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return r(V,t),V.prototype.getResolvers=function(){return V.frV},V.frV=[new i.DefaultTokenResolver],V}((i=n("CalcEngine")).ParserContext),V.StaticModelParseContext=e},"./dist/plugins/shape/staticModelCalcService/staticModelCalcService.js":function(t,V,n){var i,e,r,c,o,s,d,a;function h(t,V){return t?"".concat(t,".").concat(V):V}function u(t){return null!==t&&"object"==typeof t}function x(t,V){var n;return t instanceof o.CalcNode?n=V(t):Array.isArray(t)?n=t.map((function(t){return x(t,V)})):u(t)&&(n={},Object.keys(t).forEach((function(i){n[i]=x(t[i],V)}))),n}function f(t,V){t instanceof o.CalcNode?V(t):Array.isArray(t)?t.forEach((function(t){f(t,V)})):u(t)&&Object.keys(t).forEach((function(n){f(t[n],V)}))}function y(t,V){var n,i,e,r=[],c={};function o(t){var n,i,e,s;if(!c[t.name]){if(c[t.name]=!0,n=t.getDependencyCalcNode(V))for(i=0,e=n;i<e.length;i++)o(s=e[i]);r.push(t)}}for(n=0,i=t;n<i.length;n++)o(e=i[n]);return r}function l(t){var V,n,i,e,r,c,o=[];for(V=0,n=t;V<n.length;V++)for(e=0,r=i=n[V];e<r.length;e++)c=r[e],-1===o.indexOf(c)&&o.push(c);return o}Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelCalcService=void 0,i=n("CalcEngine"),e=n("Core"),r=n("./dist/plugins/shape/staticModelCalcService/evaluateContext.js"),c=n("./dist/plugins/shape/staticModelCalcService/evaluator.js"),o=n("./dist/plugins/shape/staticModelCalcService/calcNode.js"),s=n("./dist/plugins/shape/staticModelCalcService/parseContext.js"),d=null,a=function(){function t(V,n,i){this.RrV=V,this.j3t=n||t.parser,this.x3=i||t.parserContext,this.IrV(),this.MrV(),this._rV(),this.ErV()}return t.prototype.calculate=function(V){var n=this.FrV(V),i=t.evaluator;return this.SrV.forEach((function(t){t.value=i.evaluate(t.expr,n,!1,!1)})),this.getResultFromCalcNodeModel(this.XrV)},t.prototype.getExternalDependency=function(){return this.YrV},t.prototype.getResultFromCalcNodeModel=function(t){return x(t,(function(t){return t.value}))},t.prototype.getIdentity=function(t){return t},t.prototype.IrV=function(){var t=this.j3t,V=this.x3,n=function(i,r){var c;return Array.isArray(i)?c=i.map((function(t,V){return n(t,h(r,V+""))})):u(i)?(c={},Object.keys(i).forEach((function(t){c[t]=n(i[t],h(r,t))}))):(c=new o.CalcNode(r,i),"string"==typeof i&&(0,e.kf)(i)&&(c.formula=i,c.expr=t.parse(V,i))),c};this.XrV=n(this.RrV,"")},t.prototype.MrV=function(){var t=this,V={};f(t.XrV,(function(n){var i=t.getIdentity(n.name);Array.isArray(i)?i.forEach((function(t){V[t]=n})):i&&(V[i]=n)})),t.OrV=V},t.prototype._rV=function(){var t=[];f(this.XrV,(function(V){V.expr&&t.push(V)})),this.SrV=y(t,this.OrV).filter((function(t){return!!t.expr}))},t.prototype.ErV=function(){var t=this.SrV,V=this.OrV,n=t.map((function(t){return t.getExternalDependencyIdentify(V)}));this.YrV=l(n)},t.prototype.FrV=function(t){var V=new r.StaticModelEvaluateContext(d);return V.args=t,V.calcNodeMap=this.OrV,V},t.parser=new i.Parser,t.parserContext=new s.StaticModelParseContext(d,!1),t.evaluator=new c.StaticModelEvaluator(new i.CalcService),t}(),V.StaticModelCalcService=a},"./dist/plugins/shape/textEditor/divTextEditor.js":function(t,V,n){var i,e,r,c,o,s,d,a;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!1;n=n.nextSibling}if(n===t&&(n=n.childNodes[V.endOffset]),!n)return!0;if(h(n)||n.nextElementSibling)return!1;for(;n.nextSibling;)if((n=n.nextSibling).length>0)return!1;return!0}function x(t,V){var n,i,e,s,d,a=r.getSelection();a.rangeCount>0&&(n=c.createDocumentFragment(),i=c.createElement("br"),n.appendChild(i),(e=a.getRangeAt(0)).deleteContents(),u(V,e)&&(s=c.createElement("br"),n.appendChild(s)),e.insertNode(n),(e=c.createRange()).setStartAfter(i),e.collapse(!0),(d=r.getSelection()).removeAllRanges(),d.addRange(e),o(t),V.dispatchEvent(new Event("input")))}function f(t,V){var n=document.getSelection(),i=n.getRangeAt(0),e="\t",r=document.createTextNode(e);i.insertNode(r),i.setStartAfter(r),i.setEndAfter(r),n.removeAllRanges(),n.addRange(i),o(t),V.dispatchEvent(new Event("input"))}function y(t,V){var n,i,e,c;s.msie&&!s.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)),(e=window.getSelection()).rangeCount>0?((c=e.getRangeAt(0)).deleteContents(),c.insertNode(document.createTextNode(n)),c.collapse(!1)):V.innerHTML=d.j0(n),o(t),V.dispatchEvent(new Event("input"))}Object.defineProperty(V,"__esModule",{value:!0}),V.DivTextEditor=void 0,i=n("Common"),e=n("Core"),r=window,c=document,o=e.mt.vi,s=e.mt.browser,d=i.Common.zf,a=function(){function t(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)}return t.prototype.ZrV=function(){var t=document.createElement("div");return t.tabIndex=-1,t.contentEditable="true",t},Object.defineProperty(t.prototype,"text",{get:function(){var t=this.BrV.innerText,V=t.length;return V>=1&&"\n"===t[V-1]&&(t=t.substring(0,V-1)),t},set:function(t){var V=t.length;V>=1&&"\n"===t[V-1]&&(t+="\n"),this.BrV.innerText=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.BrV.className},set:function(t){this.BrV.className=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.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(t.prototype,"isActive",{get:function(){return document.activeElement===this.BrV},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.BrV.focus()},t.prototype.blur=function(){this.BrV.blur()},t.prototype.select=function(t){var V=window.getSelection();if(V.selectAllChildren(this.BrV),V.rangeCount>0)switch(t){case 1:V.collapseToEnd();break;case 0:V.collapseToStart()}},t.prototype.onKeydown=function(t){var V=t.keyCode,n=this.BrV;13===V?x(t,n):9===V&&f(t,n)},t.prototype.onPaste=function(t){y(t,this.BrV)},t.prototype.addEventListener=function(t,V){this.BrV.addEventListener(t,V)},t.prototype.removeEventListener=function(t,V){this.BrV.removeEventListener(t,V)},t}(),V.DivTextEditor=a},"./dist/plugins/shape/ui/cameraShape.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y=this&&this.qKr||(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])},l(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)}),l;function g(t,V,n,i,e){var r,c,o=t.reV(n),s=o.width,d=o.height;return t!==V&&(s*=r=A(V)/A(t),d*=r),c=1,s>0&&d>0&&(c=u(i/s,e/d)),c}function A(t){var V,n,i;return null!==(i=null===(n=null===(V=t.parent)||void 0===V?void 0:V.sheetsPrintZoomFactor)||void 0===n?void 0:n[t.name()])&&void 0!==i?i:t.zoom()}Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShapeUI=void 0,i=n("Core"),e=n("./dist/plugins/shape/ui/shapes.js"),c=(r=n("CellTypes"))&&r.qY,o=r&&r.$Y,s=r&&r.paintRangeTemplate,d=void 0,a=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return y(V,t),V.prototype.fZ=function(V,n){t.prototype.fZ.call(this,V,n),this.Mf=V},V.prototype.YY=function(V){var n,i=this,e=i.VY;try{i.VY=i.Mf,n=t.prototype.YY.call(this,V)}finally{i.VY=e}return n},V}(c),h=null,u=Math.min,x="temp",f=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return y(V,t),V.prototype.needApplyFillAfterStyleFill=function(){return!0},V.prototype.applyFillAfterStyleFill=function(t,V,n,i,r){this.renderCameraShape(t,V,n,{isPrint:(0,e.isPrintContext)(t),printZoomFactor:r})},V.prototype.getCameraCacheKey=function(t,V){return"".concat(t,"*").concat(V,"-").concat(i.Bf.Zl())},V.prototype.renderCameraShape=function(t,V,n,i){var e,r,c,o,s,d=this,a=d.JVV;a&&3===d.ttV&&(e=d.getCameraCacheKey(V,n),c=!!(r=a.Mf).backgroundImage()||a.ytV.isRangeContainsImage,i.isPrint?d.JcV(t,V,n,i):(d.cameraImageCache||(d.cameraImageCache={}),c?((o=r.BO().$h())||(d.cameraImageCache={}),d.cameraImageCache[e]||d.WcV(o?e:x,V,n,i)):d.cameraImageCache[e]||d.WcV(e,V,n,i),(s=d.cameraImageCache[e]||d.cameraImageCache[x])&&t.drawImage(s,-V/2,-n/2,V,n)))},V.prototype.getTemplateDataResolve=function(t){var V=this,n;return V.templateDataResolveCache||(V.templateDataResolveCache={}),(n=V.templateDataResolveCache[t])||(n=new a,V.templateDataResolveCache={},V.templateDataResolveCache[t]=n),n},V.prototype.WcV=function(t,V,n,e){var r=this,c=r.cameraShapeBuffer=document.createElement("canvas"),o=c.getContext("2d");i.Bf.Wl(c,h,h),i.Bf.$l(c,V,n),r.transform(o,{x:V/2,y:n/2},!1),r.JcV(o,V,n,e),r.cameraImageCache={},r.cameraImageCache[t]=c},V.prototype.JcV=function(t,V,n,i){var e,c,d,a,h,u,x,f,y=this,l=y.JVV;l&&3===y.ttV&&(e=l.Mf,c=l.ytV.Z5,(d=l.ytV.AnV)&&r&&(a=y.getTemplateDataResolve(c).yN(d.sheet,d.cellRange,!0),h=(new o).yN(d.sheet,d.cellRange),u={x:-V/2,y:-n/2,width:V-1,height:n-1},x=g(d.sheet,e,d.cellRange,V,n),f={sheet:e,sheetArea:3,row:0,col:0,needTopGridline:!0,needLeftGridline:!0,isPrinting:i.isPrint,printZoomFactor:i.printZoomFactor},s(t,u,null,f,a,h.eZ(),x)))},V.prototype.JrV=function(){this.cameraImageCache=h},V.prototype.lsV=function(){var t=this;return new Promise((function(V){var n,i,e,r,c,o,s=null===(i=null===(n=t.JVV)||void 0===n?void 0:n.Mf)||void 0===i?void 0:i.BO();s?(r=(e=document.createElement("canvas")).getContext("2d"),c=t.getRenderBound(!1),e.width=c.width,e.height=c.height,t.render(r,d,d,!1),s.$h()?V():o=s.registerLoadedCompleteListener((function(){o(),V()}))):V()}))},V.prototype.gsV=function(){var t;return null===(t=this.JVV)||void 0===t?void 0:t.ytV.AnV},V.prototype.PsV=function(t,V,n){var i,e,r,c,o,s,d=this;if(d.cameraImageCache&&(i=d.JVV)&&(e=i.Mf._id,r=t._id,(c=i.ytV.AnV)&&(e===r||c.sheet&&c.sheet._id===r)))for(o=0;o<V.length;o++){if(s=c.cellRange,void 0!==V[o].row&&void 0===V[o].col&&2===n&&V[o].row>=s.row&&V[o].row<s.row+s.rowCount){d.cameraImageCache=null,i.ytV.rtV&&i.mtV();break}if(void 0===V[o].row&&void 0!==V[o].col&&1===n&&V[o].col>=s.col&&V[o].col<s.col+s.colCount){d.cameraImageCache=null,i.ytV.rtV&&i.mtV();break}if(0===n){if(void 0===V[o].rowCount&&void 0===V[o].colCount&&s.contains(V[o].row,V[o].col)){d.cameraImageCache=null;break}if(void 0!==V[o].rowCount&&void 0!==V[o].colCount&&s.intersect(V[o].row,V[o].col,V[o].rowCount,V[o].colCount)){d.cameraImageCache=null;break}}}},V}(e.ShapeUI),V.CameraShapeUI=f},"./dist/plugins/shape/ui/canvas.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P,N,D,U,q,k,B,Z,H,z,Q,G;function J(t,V){return V=V||3,+t.toFixed(V)}function W(t){var V,n=(0,i.GC$)(t).offset();return n?(n.top+=m.body.clientTop||0,n.left+=m.body.clientLeft||0):n={top:0,left:0},(V=t&&t.canvasOffset)&&(n=V),n}function K(t){var V,n,i=t.Mf;return(!i.shapeIsProtected||!i.shapeIsProtected())&&(V=i.options,(n=!i.isActualProtected()||V.protectionOptions.allowEditObjects)||!t.isLocked())}function $(t){return!1!==t.allowResize()}function tt(t,V){var n=t.left,i=t.top,e=t.width,r=t.height,c=e/2,o=r/2;return V===d.ResizeHandleType.topCenter?n+=c:V===d.ResizeHandleType.topRight?n+=e:V===d.ResizeHandleType.middleLeft?i+=o:V===d.ResizeHandleType.middleRight?(n+=e,i+=o):V===d.ResizeHandleType.bottomLeft?i+=r:V===d.ResizeHandleType.bottomCenter?(n+=c,i+=r):V===d.ResizeHandleType.bottomRight&&(n+=e,i+=r),k({x:n,y:i},t.Eot,q(t.angle))}function Vt(t,V,n,i){var e,r,c,o,s,d,a,h=t.resizeInfo;h||(h=t.resizeInfo={}),e=t.YC,r=t.ZC,c=n.YC,o=n.ZC,h.ratioX=0===c?0:e/c,h.ratioY=0===o?0:r/o,h.aspectRatio=0===r?0:e/r,h.relativePoint=tt(t,V),d=(s=B(i,q(t.angle))).x,a=s.y,h.relativePoint.x+=d*h.ratioX,h.relativePoint.y+=a*h.ratioY}function nt(t){var V=t.resizeInfo;V||(V=t.resizeInfo={}),V.lineStartPoint=t.getStartPoint(),V.lineEndPoint=t.getEndPoint()}function it(t,V){var n=!0;return t&&t.JVV&&(n=t.JVV.allowResize()),V&&!0===n&&(n=d.ResizeMode.aspect),n}function et(t,V,n,i,e){var r,c,o,s,a;return V===d.ResizeMode.aspect?(r=t.width,c=t.height,o=t.resizeInfo.aspectRatio,e&&o&&(s=_(s=r+n,(a=c+i)*o),a=_(a,s/o),(s<1||a<1)&&(o>=1?s=(a=1)*o:a=(s=1)/o),n=s-r,i=a-c)):V===d.ResizeMode.horizontal?i=0:V===d.ResizeMode.vertical&&(n=0),{deltaW:n,deltaH:i}}function rt(t,V,n,i){var e,r,c,o,s,a,h;return!0===V?i:(e=i.x,r=i.y,c=t.resizeInfo.lineStartPoint,o=t.resizeInfo.lineEndPoint,V===d.ResizeMode.aspect?(s=o.x-c.x,a=o.y-c.y,0===s&&0===a||(0===s?e=c.x:0===a?r=c.y:(h=a/s,r=(e-c.x)*h+c.y))):V===d.ResizeMode.horizontal?r=n===d.HitTestLineEnd.head?c.y:o.y:V===d.ResizeMode.vertical&&(e=n===d.HitTestLineEnd.head?c.x:o.x),{x:e,y:r})}function ct(t,V,n,i,e,r){var c=et(t,V,n,i,!0);dt(t,c.deltaH,e),at(t,c.deltaW,r)}function ot(t,V,n,i){var e;dt(t,et(t,V,0,n,!1).deltaH,i)}function st(t,V,n,i){var e;at(t,et(t,V,n,0,!1).deltaW,i)}function dt(t,V,n){var i=t.height+V;i<=0&&(i=1),t.resizeHeight(i,n)}function at(t,V,n){var i=t.width+V;i<=0&&(i=1),t.resizeWidth(i,n)}function ht(t,V,n,i){V===d.HitTestLineEnd.head?t.moveStartPoint(n,i):V===d.HitTestLineEnd.tail&&t.moveEndPoint(n,i)}function ut(t,V){var n=i.Bf.Kl(V),e=i.Bf.Jl(V);t.x=I(t.x*n)/n,t.y=I(t.y*e)/e,t.width=M(t.width*n)/n,t.height=M(t.height*e)/e}function xt(t){return t&&t instanceof A.Shape&&t.isTextBox()}function ft(t){var V=t.options;return V&&V.textFormatOptions&&V.textFormatOptions.resizeToFitText}function yt(t){var V,n,i,e=t&&t.shape,r=t&&t.target;(lt(e)||lt(r))&&((i=(n=(V=e.JVV)&&V.Mf).Dg()).style.cursor=G.getCursorFromHitTest(t))}function lt(t){return t&&t.bdV}function gt(t){var V=t.shape;if(V&&2===V.ttV){if(V.isSelected&&t.targetType===d.HitTestType.border)return;V=t.target}if(lt(V))return V}function At(t){return t.filter((function(t,V,n){return n.indexOf(t)===V}))}function pt(t,V){return t===V||!(!t||!V||t.id!==V.id||t.index!==V.index)}function vt(t){var V,n,i=t.startConnector;return pt(t.oldStartConnector,i)||(V=t.service&&i&&i.id?{name:n=t.service.getShapeById(i.id).JVV.name(),index:i.index}:F),delete t.oldStartConnector,V}function wt(t){var V,n;return pt(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}:F),delete t.oldEndConnector,V}function jt(t,V){var n,i,e=t.JVV,r=e.Mf.zoom(),c={name:e.name(),offsetX:t.left/r-e.x(),offsetY:t.top/r-e.y(),offsetWidth:t.width/r-e.width(),offsetHeight:t.height/r-e.height()},o=t.ttV;return 1===o?(c.points=bt(t),V&&(void 0!==(n=vt(t))&&(c.startConnector=n),void 0!==(i=wt(t))&&(c.endConnector=i))):2===o&&(c.childrenChanges=Lt(t)),c}function bt(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 Lt(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:bt(t,V,n)})})),i}function mt(t,V){var n=[],i=jt(t,!0);return(0!==i.offsetX||0!==i.offsetY||0!==i.offsetWidth||0!==i.offsetHeight||i.startConnector||i.endConnector)&&(V&&(i.lineChanges=V.map((function(t){return jt(t)}))),n.push(i)),n}function Ct(t){var V=t.JVV,n=V.Mf.zoom(),i={name:V.name(),rotate:t.angle};return 1===t.ttV&&(i.points=t.getPoints().map((function(t){return{x:t.x/n,y:t.y/n}}))),i}function Rt(t,V){var n=[];return n.push(Ct(t)),V&&V.forEach((function(t){n.push(Ct(t))})),n}function It(t,V,n){var i,e=F;return"ZipLine"===t?e=new c.ZipLine(V,n):"Line"===t&&(e=new c.Line(V,n),i=V&&V.points,e.setPoints(i)),e}function Mt(t){var V=[];return t.shapes.all().forEach((function(t){t.isSelected()&&V.push(t.ctV)})),V}Object.defineProperty(V,"__esModule",{value:!0}),V.createLine=V.getShouldProcessControlShape=V.Canvas=void 0,i=n("Core"),e=n("./dist/plugins/shape/ui/util.js"),r=n("./dist/plugins/shape/ui/options.js"),c=n("./dist/plugins/shape/ui/lines.js"),o=n("./dist/plugins/shape/ui/shapes.js"),s=n("./dist/plugins/shape/ui/model.js"),d=n("./dist/plugins/shape/shape.interface.js"),a=n("./dist/plugins/shape/ui/pictureShape.js"),h=n("./dist/plugins/shape/ui/cameraShape.js"),u=n("./dist/plugins/shape/ui/formControl.js"),x=n("./dist/plugins/shape/ui/compoundShape.js"),f=n("Common"),y=n("FloatingObject"),l=n("./dist/plugins/shape/ui/shape-alignment.js"),g=n("./dist/plugins/shape/shape.js"),A=n("./dist/plugins/shape/shapeView.js"),p=n("./dist/plugins/shape/geometryService/controlPointService.js"),v=e.Common.extend,w=e.Common.ocV,j=e.Common.arrayPush,b=e.Common.pointIsInRectangle,L=e.Common.Rh,m=document,C=f.Common.zf.TY,R=Math.round,I=Math.floor,M=Math.ceil,_=Math.max,E=Math.min,S=Math.abs,F=null,X=5,Y=window.open,O="openUrl",T="openTextEditor",P=y.Drawing.UnitHelper.IsNullOrEmpty,N="Shift",D=1,U=1,q=e.Common.toRadius,k=e.Common.rotatePoint,B=e.Common.rotateVector,Z=e.Common.getOptionValue,H=["nw-resize","ns-resize","ne-resize","ew-resize","se-resize","ns-resize","sw-resize","ew-resize"],z=[d.ResizeHandleType.topLeft,d.ResizeHandleType.topCenter,d.ResizeHandleType.topRight,d.ResizeHandleType.middleRight,d.ResizeHandleType.bottomRight,d.ResizeHandleType.bottomCenter,d.ResizeHandleType.bottomLeft,d.ResizeHandleType.middleLeft],Q=(0,r.getStyle)("default"),G=function(){function t(t,V,n,i){this.rowViewportIndex=n,this.colViewportIndex=i,this.init(t),this.setHost(V)}return t.createShapeModel=function(){var t=new s.ShapeModel;return t.changed=function(V,n,i,e,r){if(!t.CnV){var c=t.getShapeById(V);"options"===n&&c&&delete c.optionsCache,r&&i!==e&&t.onPropertyChangedByFormula&&t.onPropertyChangedByFormula(V,n,i)}},t},t.ch=function(V,n){var i,e;for(t.fh||(t.fh=[]),i=t.fh,n.name=V,n.priority=n.priority||5e3,e=0;;e++)if(e>=i.length||n.priority>i[e].priority){i.splice(e,0,n);break}},t.et=function(V,n,i,e){var r,c,o=t.fh;if(o)for(r=0;r<o.length&&((c=o[r][n])&&c.call(V,i),!e||!e());r++);},t.weV=function(t){if(t){var V=t.shape,n=t.target;if(n&&n.hyperlink)return n;if(V&&V.hyperlink)return V}return null},t.prototype.init=function(V){var n=this;n.scrollLeft=0,n.scrollTop=0,n.Tb=0,n.ly=0,n.Ab=0,n.my=0,n.model=V||t.createShapeModel(),Object.defineProperty(n,"shapes",{get:function(){return this.model.getShapes()}}),n.mouseDownFn=function(V){var i={e:V,r:F};t.et(n,"preProcessMouseDown",i),i.r||n.doMouseDown(V)},n.mouseMoveFn=function(V){var i={e:V,r:F};t.et(n,"preProcessMouseMove",i),i.r||n.doMouseMove(V)},n.mouseUpFn=function(V){var i={e:V,r:F};t.et(n,"preProcessMouseUp",i),i.r||n.doMouseUp(V)},n.mousewheelFn=function(V){var i={e:V,r:F};t.et(n,"preProcessMouseWheel",i)},n.mouseoutFn=function(V){var i={e:V,r:F};t.et(n,"preProcessMouseOut",i),i.r||n.doMouseOut(V)},n.dblclickFn=function(V){var i={e:V,r:F};t.et(n,"preProcessDbClick",i)},n.keyDownFn=function(V){var i={e:V,r:F};t.et(n,"preProcessKeyDown",i),i.r||n.doKeyDown(V)},n.keyUpFn=function(V){var i={e:V,r:F};t.et(n,"preProcessKeyUp",i),i.r||n.doKeyUp(V)}},t.prototype.setHost=function(V){var n=this,i=n.host;V!==i&&(i&&n.dispose(),n.host=V,V&&(n.width=V.width,n.height=V.height,V.addEventListener("mousemove",n.mouseMoveFn),V.addEventListener("mousedown",n.mouseDownFn),V.addEventListener("mouseup",n.mouseUpFn),V.addEventListener("mousewheel",n.mousewheelFn),V.addEventListener("mouseout",n.mouseoutFn),V.addEventListener("dblclick",n.dblclickFn),document.addEventListener("mouseout",n.mouseoutFn),document.addEventListener("keydown",n.keyDownFn),document.addEventListener("keyup",n.keyUpFn),t.et(n,"setHost",V)))},t.prototype.dispose=function(){var V=this,n=V.host;n&&(n.removeEventListener("mousedown",V.mouseDownFn),n.removeEventListener("mousemove",V.mouseMoveFn),n.removeEventListener("mouseup",V.mouseUpFn),n.removeEventListener("mousewheel",V.mousewheelFn),n.removeEventListener("mouseout",V.mouseoutFn),n.removeEventListener("dblclick",V.dblclickFn),document.removeEventListener("mouseout",V.mouseoutFn),document.removeEventListener("keydown",V.keyDownFn),document.removeEventListener("keyup",V.keyUpFn),t.et(V,"dispose",n))},t.prototype.getShapeById=function(t){return this.model.getShapeById(t)},t.prototype.getUniqueShapeId=function(t){return this.model.getUniqueShapeId(t)},t.prototype.ensureUniqueShapeId=function(t){return this.model.ensureUniqueShapeId(t)},t.prototype.temporaryMarkIdUsed=function(t){this.model.temporaryMarkIdUsed(t)},t.prototype.clearTemporaryMarkedIds=function(){this.model.clearTemporaryMarkedIds()},t.prototype.createShapeFromPath=function(t,V,n,i,e,r,c){return V=v({},Q,V),this.createShape({path:t,options:V,left:n,top:i,width:e,height:r,angle:c||0})},t.prototype.createLine=function(t,V){var n,i=this.getModel(),e=F;return"ZipLine"===t?e=new c.ZipLine(V,i):"Line"===t&&(e=new c.Line(V,i),n=V&&V.points,e.setPoints(n)),e},t.prototype.createShape=function(t){var V=this,n=V.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),(0,o.createShape)(t,n)},t.prototype.createPictureShape=function(t){var V=this,n=V.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new a.PictureShapeUI(t,n)},t.prototype.createCameraShape=function(t){var V=this,n=V.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new h.CameraShapeUI(t,n)},t.prototype.createFormControlShape=function(t){var V=this,n=V.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new u.FormControlShapeUI(t,n)},t.prototype.createOtherShapeUI=function(t,V){var n=this,i=n.getModel();return(t=t||{}).id||(t.id=i.getUniqueShapeId()),V(t,i)},t.prototype.getModel=function(){return this.model},t.prototype.addShape=function(t,V){var n;this.getModel().addShape(t,V),this.clearTemporaryMarkedIds()},t.prototype.removeShape=function(t,V){var n,i,e,r=this,c=r.getModel();V||((n=r.getConnectionLines(t))&&n.forEach((function(V){V&&(i=V.endConnector,e=V.startConnector,i&&i.id===t.id&&(t.removeConnectionLine(V.id),V.endConnector=F),e&&e.id===t.id&&(t.removeConnectionLine(V.id),V.startConnector=F))})),1===t.ttV&&(t.updateStartConnector(F),t.updateEndConnector(F))),c.removeShape(t,V)},t.prototype.indexOf=function(t){return this.getModel().indexOf(t)},t.prototype.getPointer=function(t){var V=this,n=W(V.host),i=t.pageX-n.left+V.scrollLeft,e=t.pageY-n.top+V.scrollTop;return{x:i,y:e}},t.prototype.getRotatePoint=function(t,V){var n=V.Eot;return k({x:t.x-n.x,y:t.y-n.y},{x:0,y:0},-q(V.angle))},t.prototype.getDelta=function(t,V,n){var i=V.width/2,e=V.height/2,r=t.x,c=t.y,o=0,s=0;return n===d.ResizeHandleType.bottomRight?(s=c-e,o=r-i):n===d.ResizeHandleType.topLeft?(s=c+e,o=r+i):n===d.ResizeHandleType.topCenter?s=c+e:n===d.ResizeHandleType.bottomCenter?s=c-e:n===d.ResizeHandleType.middleLeft?o=r+i:n===d.ResizeHandleType.middleRight?o=r-i:n===d.ResizeHandleType.topRight?(s=c+e,o=r-i):n===d.ResizeHandleType.bottomLeft&&(s=c-e,o=r+i),{x:o,y:s}},t.prototype.hitTest=function(t,V){var n,i;return void 0===V&&(V=!1),i=(n=this).getPointer(t),n.hitTestByPoint(i.x,i.y,V)},t.prototype.hitTestByPoint=function(t,V,n){var i=F;return this.shapes.forEach((function(e){var r,c,o=e.JVV;if(o){if(!n&&!K(o))return;if(!o.HiV())return}(r=e.getHitTestBound())&&!b(r,t,V)||!(c=e.hitTest(t,V))||!c.shape||i&&i.endPoint||(i=c)})),i&&(i.x=t,i.y=V),i},t.prototype.isSheetProtected=function(){var t,V=this,n=!1;return V.shapes&&V.shapes.length>0&&(t=V.shapes[0].JVV)&&(n=t.Mf.isActualProtected()),n},t.prototype.paintLayerShapes=function(t,V,n,i){var e,r,c=this;t.translate(-D,-U),e=c.scrollLeft,r=c.scrollTop,(e||r)&&t.translate(-e,-r),c.shapes.forEach((function(c){var o,s,d,a,h,u,x,f,y;c.parent||(s=!(o=c.JVV)||o.HiV())&&(d=!o||o.canPrint(),(a=!n||n&&d)&&(u=(h=c.getRenderBound()).left-e,x=h.top-r,f=h.right-h.left,y=h.bottom-h.top,(c.acV()||V.intersect(u,x,f,y))&&c.render(t,n,i)))}))},t.prototype.canPaintShape=function(t,V){return!0},t.prototype.paintForPrint=function(t,V){var n,i=this,r=i.width,c=i.height;r<=0||c<=0||(t.save(),n=new e.Rect(i.PnV||0,i.NnV||0,r,c),i.paintLayerShapes(t,n,!0,V),t.restore())},t.prototype.paint=function(t,V){var n=this,i=n.host,r=n.width,c=n.height;i&&(r<=0||c<=0||(t||(t=i.getContext("2d")),V||(V=new e.Rect(0,0,r,c)),ut(V,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()))},t.prototype.getConnectionPointLocation=function(t,V){var n,i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p;for(t.x=J(t.x),t.y=J(t.y),n=V.getActualCornerPoints(),i=F,e=F,r=F,c=F,n.forEach((function(t){(i===F||t.x<i)&&(i=t.x),(r===F||t.x>r)&&(r=t.x),(e===F||t.y<e)&&(e=t.y),(c===F||t.y>c)&&(c=t.y)})),o=J((i+r)/2),s=J((e+c)/2),a=(d=n[0]).x,h=d.y,u=d.x,x=d.y,f=0,y=0,l=0,g=0,A=0,p=w(n);A<p;A++)d=n[A],t.x<d.x+2&&t.x<o&&f++,t.y<d.y+2&&t.y<s&&y++,t.x>d.x-2&&t.x>o&&l++,t.y>d.y-2&&t.y>s&&g++,a>d.x&&(a=d.x),h>d.y&&(h=d.y),u<d.x&&(u=d.x),x<d.y&&(x=d.y);return 4===y&&(l=0,f=0,g=0),4===f&&(l=0,y=0,g=0),4===l&&(f=0,y=0,g=0),4===g&&(l=0,y=0,f=0),{left:f,top:y,right:l,bottom:g,x:a,y:h,width:u-a,height:x-h}},t.prototype.layoutConnectionLine=function(t){var V,n,i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,b,L,m,C,R,I,M,S,F,X,Y,O,T,P,N=this,D=1,U=t.JVV;if(U&&U.Mf&&(D=U.Mf.zoom()),V=20*D,t.parent||0===t.angle||t.setAngle(0),(!t.parent||!t.parent.shapes)&&(d=t.startConnector,a=t.endConnector,d||a)){if(d){if(!(h=(e=N.getShapeById(d.id)).getActualConnectorPoints())||0===w(h)||w(h)<=t.startConnector.index)return;n=h[d.index],r=N.getConnectionPointLocation(n,e)}else s=r={x:(n=t.getStartPoint()).x,y:n.y,width:0,height:0};if(u=void 0,x=void 0,a){if(!(f=(x=N.getShapeById(a.id)).getActualConnectorPoints())||0===w(f)||w(f)<=t.endConnector.index)return;i=f[a.index],u=N.getConnectionPointLocation(i,x)}else s=u={x:(i=t.getEndPoint()).x,y:i.y,width:0,height:0};c={left:r.x,top:r.y,width:r.width,height:r.height,right:r.x+r.width,bottom:r.y+r.height},y={left:u.x,top:u.y,width:u.width,height:u.height,right:u.x+u.width,bottom:u.y+u.height},o=[n],l=c.top-V,g=c.left-V,A=c.left+c.width+V,p=c.top+c.height+V,v=y.top-V,b=y.left-V,L=y.left+y.width+V,m=y.top+y.height+V,C=n.x,R=n.y,I=i.x,M=i.y,S=void 0,F=void 0,X=void 0,Y=void 0,s&&(O=void 0,T=void 0,P=void 0,s===r?(O=u,T=C,P=y):(O=r,T=I,P=c),R<M?T>P.right?s.left=2:T<P.left&&(O.right>=2||O.top>=2)?s.right=2:s.bottom=2:T>P.right?O.right>=2||O.top>=2?s.top=2:s.left=2:T<P.left&&(O.right>=2||O.bottom>=2)?s.right=2:s.top=2),C>I?R<M?r.top>=2?(S=E(R-V,l),u.left>=2?(X=E(g,b,I-V),S=E(l,v),j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):u.top>=2?I>c.left&&(S=_(R-V,l),j(o,{x:C,y:S}),X=_(A,L,I+V),j(o,{x:X,y:S}),j(o,{x:X,y:F=(p+v)/2}),j(o,{x:I,y:F})):u.right>=2?(S=_(R-V,l),X=I<c.left?(L+g)/2:_(A,L,I+V),j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):(X=y.right<c.left?(y.right+c.left)/2:E(g,b,I-V),F=M+V,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:F}),j(o,{x:I,y:F})),1===o.length&&(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):r.right>=2?(X=_(A,C+V),u.right>=2?M<c.bottom?(S=p,Y=(c.left+y.right)/2,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M})):u.left>=2?(S=y.top<c.bottom&&y.top>c.top?E(l,v):(p+v)/2,Y=I-V,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):u.bottom>=2?(C<y.right&&(X=_(L,A)),S=_(m,p)):((y.top<c.bottom&&I<g||y.top<c.bottom&&c.top<y.bottom&&I<c.right&&I>c.left)&&(S=E(l,v),j(o,{x:C+V,y:R}),j(o,{x:C+V,y:S}),j(o,{x:I,y:S}),j(o,{x:I,y:M})),S=(p+v)/2),1===o.length&&(j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S}))):r.bottom>=2?(S=(R+y.top)/2,u.right>=2?j(o,{x:C,y:M}):u.bottom>=2?(F=M+V,C<y.right?(X=L,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:F}),j(o,{x:I,y:F})):(j(o,{x:C,y:F}),j(o,{x:I,y:F}))):u.left>=2?(c.top<M?S=_(p,m):X=I-V,y.left<C?(y.top>c.bottom&&(S=(c.bottom+y.top)/2),j(o,{x:C,y:S}),j(o,{x:I-V,y:S}),j(o,{x:I-V,y:M})):(j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M}))):(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):u.right>=2?(X=(g+L)/2,L>g?(S=Math.max(v,(v+p)/2),X=E(g,C-V),Y=I+V,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M}))):u.left>=2?(X=E(g,b,I-V),y.top<R&&c.left>y.right?(X=(c.left+y.right)/2,Y=b,j(o,{x:X,y:R}),j(o,{x:X,y:v}),j(o,{x:Y,y:v}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M}))):u.bottom>=2&&(X=y.right<c.left?(g+L)/2:E(g,b),S=Math.max(M+V,c.bottom),j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})):r.top>=2?(S=(R+M)/2,u.left>=2?(X=I-V,S=y.bottom>R?v:(y.bottom+R)/2,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):u.top>=2?(S=E(M-V,l),C<y.right&&(X=E(b,C-V),j(o,{x:C,y:S=(R+m)/2}),j(o,{x:X,y:S}),j(o,{x:X,y:M-V}),j(o,{x:I,y:M-V}))):u.right>=2&&j(o,{x:C,y:M}),1===o.length&&(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):r.right>=2?(X=_(A,C+V),u.right>=2?(j(o,{x:X,y:R}),m>R&&c.left>y.right?(Y=(g+L)/2,j(o,{x:X,y:S=p}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):j(o,{x:X,y:M})):u.left>=2?(S=v,Y=I-V,X=_(A,L),j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):u.bottom>=2?(S=y.bottom<c.top?(m+l)/2:p,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})):(X=_(A,L),S=E(M,c.top)-V,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S}))):r.bottom>=2?u.right>=2?(X=y.right>c.left?A:(g+L)/2,j(o,{x:C,y:S=p}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):u.bottom>=2?(S=p,I>c.left?(X=g,j(o,{x:C,y:S}),j(o,{x:X,y:S}),y.bottom>c.top?j(o,{x:X,y:M}):(j(o,{x:X,y:F=(m+l)/2}),j(o,{x:I,y:F}))):(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):u.left>=2?(X=E(b,g),S=_(p,m),j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):(X=c.left<y.right?E(g,b):(c.left+y.right)/2,j(o,{x:C,y:R+V}),j(o,{x:X,y:R+V}),j(o,{x:X,y:M-V}),j(o,{x:I,y:M-V})):u.right>=2?(X=(g+L)/2,y.right>c.left?(S=Math.max(v,(v+p)/2),X=E(g,C-V),Y=I+V,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M}))):u.left>=2?(X=E(g,b,I-V),y.bottom>R&&y.right<c.left?(X=(y.right+c.left)/2,Y=E(g,b,I-V),j(o,{x:X,y:R}),j(o,{x:X,y:p}),j(o,{x:Y,y:p}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M}))):u.bottom>=2?(X=y.right<c.left?(g+L)/2:I-V,S=Math.max(M+V,c.bottom),I>c.left?(j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})):j(o,{x:I,y:R})):(S=l,j(o,{x:X=b,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})):R<M?r.top>=2?(S=l,u.left>=2?(X=c.right<y.left?(A+b)/2:g,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):u.top>=2?I<A&&(j(o,{x:C,y:S}),j(o,{x:X=A,y:S}),j(o,{x:X,y:F=(p+v)/2}),j(o,{x:I,y:F})):u.right>=2?(S=E(v,l),X=_(A,I+V),j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):(X=b>A?(A+b)/2:L,F=M+V,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:F}),j(o,{x:I,y:F})),1===o.length&&(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):r.right>=2?(X=_(A,L),u.right>=2?y.top<R&&c.right<y.left?(S=m,Y=L,j(o,{x:X=(A+b)/2,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M})):u.left>=2?(j(o,{x:X=(C+I)/2,y:R}),j(o,{x:X,y:M})):u.bottom>=2?(X=c.right<y.left?(A+b)/2:L,S=m,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})):j(o,{x:I,y:R})):r.bottom>=2?u.right>=2?(S=c.bottom<y.top?(p+v)/2:m,X=L,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):u.bottom>=2?(S=m,C>y.left?(X=E(g,b),S=c.bottom<y.top?(c.bottom+y.top)/2:(y.bottom+c.top)/2,F=_(m,p),j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:F}),j(o,{x:I,y:F})):(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):u.left>=2?j(o,{x:C,y:M}):(j(o,{x:C,y:S=(R+M)/2}),j(o,{x:I,y:S})):(X=g,u.right>=2?(S=c.bottom<y.top?(p+v)/2:m,Y=L,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):u.left>=2?(Y=(c.right+y.left)/2,c.right<y.left&&M<c.bottom?(j(o,{x:X,y:R}),j(o,{x:X,y:p}),j(o,{x:Y,y:p}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M}))):u.bottom>=2?(S=_(p,m),X=E(g,b),j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})):(S=c.bottom<y.top?(p+v)/2:l,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S}))):r.top>=2?(u.left>=2?j(o,{x:C,y:M}):u.top>=2?(S=v,C>y.left&&(j(o,{x:C,y:S=(m+l)/2}),j(o,{x:g,y:S}),j(o,{x:g,y:M-V}),j(o,{x:I,y:M-V}))):u.right>=2?(S=y.bottom<c.top?(m+l)/2:v,X=L,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):S=(R+M)/2,1===o.length&&(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):r.right>=2?(X=L,u.right>=2?m>R&&y.left>c.right?(S=v,Y=L,j(o,{x:X=(b+A)/2,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M})):u.left>=2?(j(o,{x:X=(C+I)/2,y:R}),j(o,{x:X,y:M})):u.bottom>=2?j(o,{x:I,y:R}):(S=E(l,v),X=y.left>c.right?(b+A)/2:L,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S}))):r.bottom>=2?u.right>=2?(S=_(p,m),X=_(A,L),j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):u.bottom>=2?(S=p,C>y.left?(X=E(g,b),F=c.bottom<y.top?(c.bottom+y.top)/2:(y.bottom+c.top)/2,j(o,{x:C,y:S}),j(o,{x:X,y:S}),j(o,{x:X,y:F}),j(o,{x:I,y:F})):(j(o,{x:C,y:S}),j(o,{x:I,y:S}))):u.left>=2?(X=y.left>c.right?(b+A)/2:g,j(o,{x:C,y:S=p}),j(o,{x:X,y:S}),j(o,{x:X,y:M})):(X=y.left>c.right?(b+A)/2:L,F=v,j(o,{x:C,y:S=p}),j(o,{x:X,y:S}),j(o,{x:X,y:F}),j(o,{x:I,y:F})):u.right>=2?(X=g,Y=L,S=c.top>y.bottom?(c.top+y.bottom)/2:E(l,v),j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):u.left>=2?(X=g,y.left>c.right&&M>c.top?(Y=(A+b)/2,S=l,j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:Y,y:S}),j(o,{x:Y,y:M})):(j(o,{x:X,y:R}),j(o,{x:X,y:M}))):u.bottom>=2?(y.bottom<c.top?(X=g,S=(M+c.top)/2):(X=E(g,b),S=_(p,m)),j(o,{x:X,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})):(S=v,j(o,{x:X=g,y:R}),j(o,{x:X,y:S}),j(o,{x:I,y:S})),1===o.length&&j(o,{x:I,y:R}),j(o,i),t.setPoints(o)}},t.prototype.moveStraightLineByDelta=function(t,V,n){var i=t.getPoints().map((function(t){var i=t.x,e=t.y;return{x:i+V,y:e+n}}));t.setPoints(i)},t.prototype.updateConnectionLinesLayout=function(t,V,n,i){var e,r,o,d;void 0===i&&(i=!1),(r=(e=this).getConnectionLines(t))&&(o=t.getActualConnectorPoints(),d=t.id,r.forEach((function(t){var r,a,h,u,x,f,y,l,g,A,p,v,w,j,b;if(t){if(a=t.startConnector&&t.startConnector.index>=0&&t.startConnector.id===d,h=t.endConnector&&t.endConnector.index>=0&&t.endConnector.id===d,u=V&&a,x=V&&h,t instanceof c.Line){if(t.parent&&t.parent.shapes)return;return a&&(r=o[t.startConnector.index],t.endConnector||i?t.moveStartPoint(r.x,r.y):(f=t.x1,y=t.y1,l=r.x-f,g=r.y-y,e.moveStraightLineByDelta(t,l,g))),void(h&&(r=o[t.endConnector.index],t.startConnector||i?t.moveEndPoint(r.x,r.y):(A=t.x2,p=t.y2,l=r.x-A,g=r.y-p,e.moveStraightLineByDelta(t,l,g))))}!V||t.startConnector||t.endConnector?V?(v=e.scV,w=void 0,j=!(0,s.findShapeInCollectionById)(v,t.id),(b=t.startConnector)&&(w=b.id,d===w||(0,s.findShapeInCollectionById)(v,w)||(e.layoutConnectionLine(t),j=!1)),(b=t.endConnector)&&(w=b.id,d===w||(0,s.findShapeInCollectionById)(v,w)||(e.layoutConnectionLine(t),j=!1)),j&&n&&-1===n.indexOf(t)&&n.push(t)):e.layoutConnectionLine(t):u?(r=o[t.startConnector.index],t.moveStartPoint(r.x,r.y)):x&&(r=o[t.endConnector.index],t.moveEndPoint(r.x,r.y))}}))),t.shapes&&t.shapes.forEach((function(t){e.updateConnectionLinesLayout(t,V,n)}))},t.prototype.getConnectionLines=function(t){var V,n=this;return 1===t.ttV?[]:(V=t.connectionLines)?V.map((function(t){return n.getShapeById(t)})):[]},t.prototype.getContainerAt=function(t,V,n){var i,e=this,r=n.parent;if(r&&r.isContainer&&r.left<=t&&t<r.left+r.width&&r.top<=V&&V<r.top+r.height)return r;for(i=0;i<e.shapes.length;i++)if((r=e.shapes[i])!==n&&r.isContainer&&r.left<=t&&t<r.left+r.width&&r.top<=V&&V<r.top+r.height)return r;return F},t.prototype.moveShapes=function(t,V,n){var i,e,r,c,o,s,a,h=this;V&&V.length>0&&(i=h.getPointer(t),e=i.x-h.activeX,r=i.y-h.activeY,(e||r)&&(c=[],o=V.map((function(t){return t.id})),(s=h.hcV(V[0]))&&s.getSnapMode()!==d.SnapMode.none&&(a=h.getSnapMoveOffset({shape:n,pos:i.x,allShapes:V},{shape:n,pos:i.y,allShapes:V}),e=a.x,r=a.y),V.forEach((function(t){h.moveShape(t,e,r,o,c)})),c.length&&c.forEach((function(t){t.move(t.left+e,t.top+r)})),h.activeX=i.x,h.activeY=i.y))},t.prototype.hcV=function(t){return t.JVV&&t.JVV.Mf.shapes},t.prototype.getSnapMoveOffset=function(t,V){var n=this,i=0,e=0,r=(0,o.getActualBound)(t.shape),c=(0,o.getActualBound)(V.shape),s=t.pos-n.pointerInfo.lastStartMoveX,d=V.pos-n.pointerInfo.lastStartMoveY;return s>0&&t.pos>=r.left+n.pointerInfo.mouseDownOffsetX||s<0&&t.pos<=r.left+n.pointerInfo.mouseDownOffsetX?0!==(i=(0,l.getShapeMoveOffset)({moveShapes:t.allShapes,offset:s,direction:0}))&&(n.pointerInfo.lastStartMoveX=t.pos):(n.pointerInfo.lastStartMoveX=t.pos,i=0),d>0&&V.pos>=c.top+n.pointerInfo.mouseDownOffsetY||d<0&&V.pos<=c.top+n.pointerInfo.mouseDownOffsetY?0!==(e=(0,l.getShapeMoveOffset)({moveShapes:V.allShapes,offset:d,direction:1}))&&(n.pointerInfo.lastStartMoveY=V.pos):(n.pointerInfo.lastStartMoveY=V.pos,e=0),{x:i,y:e}},t.prototype.moveShape=function(t,V,n,i,e,r){var c,o;void 0===r&&(r=!1),c=this,!t||t.JVV&&!t.JVV.allowMove()||(t.move(t.left+V,t.top+n),t.updateCenterData(),t.endConnector&&"callout"!==t.type&&(o=c.getShapeById(t.endConnector.id),c.disConnectLine(o,t,!1)),t.startConnector&&(o=c.getShapeById(t.startConnector.id),c.disConnectLine(o,t)),c.updateConnectionLinesLayout(t,!0,e,r))},t.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=F:V.endConnector=F},t.prototype.resizeShapes=function(t,V,n){var i,e,r,c,o,s,a,h,u=this,x=u.hitTestResult;x.lineEnd?(i=it(x.shape,n),u.resizeShape(x.shape,V,"",i)):x.resizeHandle&&(e=x.resizeHandle.type,r=x.shape,c=u.getDelta(u.getRotatePoint(V,r),r,e),o=c.x,s=c.y,x.shape&&1!==x.shape.ttV&&(a=u.hcV(x.shape)).getSnapMode()!==d.SnapMode.none&&(h=u.getSnapResizeDelt(t,x.shape,V.x,V.y,e,(0,g.getAvailableAngle)(r.angle)),o=h.x,s=h.y),t.forEach((function(t){if(t.isResizing||(t.isResizing=!0),1!==t.ttV){var i=it(t,n);t===r?u.resizeShape(t,V,e,i,o,s):u.resizeNonActiveShape(r,t,V,e,i)}}))),u.activeX=V.x,u.activeY=V.y},t.prototype.resizeNonActiveShape=function(t,V,n,i,e){var r,c,o=this,s=V.resizeInfo,d={x:n.x-o.activeX,y:n.y-o.activeY};0!==t.angle&&(d=B(d,-q(t.angle))),0!==V.angle&&(d=B(d,q(V.angle))),(r=s.relativePoint).x+=d.x*s.ratioX,r.y+=d.y*s.ratioY,(c=o.getDelta(o.getRotatePoint(r,V),V,i)).x=J(c.x),c.y=J(c.y),o.resizeShape(V,n,i,e,c.x,c.y)},t.prototype.resizeShape=function(t,V,n,i,e,r){var c,o,s,a,h=this;t&&(c=h.hitTestResult,t.JVV&&!$(t.JVV)||(c.lineEnd?((o=h.hcV(t))&&o.getSnapMode()!==d.SnapMode.none&&(V=this.getSnapResizeResult([t],V.x,V.y)),h.ucV(V.x,V.y)||(V=rt(t,i,c.lineEnd,V)),ht(t,c.lineEnd,V.x,V.y),c.lineEnd===d.HitTestLineEnd.tail&&t.endConnector&&(s=h.getShapeById(t.endConnector.id),h.disConnectLine(s,t,!1)),c.lineEnd===d.HitTestLineEnd.head&&t.startConnector&&(s=h.getShapeById(t.startConnector.id),h.disConnectLine(s,t)),h.layoutConnectionLine(t)):c.resizeHandle&&(h.xcV(t,e,r,n,i),h.updateConnectionLinesLayout(t),t.JVV&&((a=t.JVV).ytV.rtV=!1)),t.updateCenterData()),t.resetPathOffset())},t.prototype.ycV=function(t){var V=this,n=V.hitTestResult;n&&n.shape&&(V.resizeShapes(V.scV,{x:V.activeX,y:V.activeY},t),V.paint())},t.prototype.xcV=function(t,V,n,i,e){i===d.ResizeHandleType.bottomRight?ct(t,e,V,n,!1,!1):i===d.ResizeHandleType.topLeft?ct(t,e,-V,-n,!0,!0):i===d.ResizeHandleType.topCenter?ot(t,e,-n,!0):i===d.ResizeHandleType.bottomCenter?ot(t,e,n,!1):i===d.ResizeHandleType.middleLeft?st(t,e,-V,!0):i===d.ResizeHandleType.middleRight?st(t,e,V,!1):i===d.ResizeHandleType.topRight?ct(t,e,V,-n,!0,!1):i===d.ResizeHandleType.bottomLeft&&ct(t,e,-V,n,!1,!0)},t.prototype.getSnapRotatePoint=function(t,V,n,i){var e=this,r=V.Eot;switch(n){case d.ResizeHandleType.topLeft:case d.ResizeHandleType.topRight:case d.ResizeHandleType.bottomLeft:case d.ResizeHandleType.bottomRight:return e.getRotatePoint(t,V);case d.ResizeHandleType.topCenter:case d.ResizeHandleType.bottomCenter:return 90===i||270===i?{x:t.x,y:-(t.x-r.x)/Math.sin(q(V.angle))}:{x:t.x,y:(t.y-r.y)/Math.cos(q(V.angle))};case d.ResizeHandleType.middleLeft:case d.ResizeHandleType.middleRight:return 90===i||270===i?{x:(t.y-r.y)/Math.sin(q(V.angle)),y:t.y}:{x:(t.x-r.x)/Math.cos(q(V.angle)),y:t.y}}},t.prototype.getSnapResizeResult=function(t,V,n){var i={targetShapes:t,direction:0,pointerPos:V},e={targetShapes:t,direction:1,pointerPos:n};return{x:(0,l.getResizeTarget)(i),y:(0,l.getResizeTarget)(e)}},t.prototype.getSnapResizeDelt=function(t,V,n,i,e,r){var c,o;return void 0===r&&(r=0),o=(c=this).getSnapResizeResult(t,n,i),c.getDelta(c.getSnapRotatePoint(o,V,e,r),V,e)},t.prototype.rotateShapes=function(t){var V,n,i=this,e=i.rotateShape(t),r=i.scV.length;if(i.scV&&r>1)for(n=0;n<r;n++)1!==(V=i.scV[n]).ttV&&V.JVV&&V.JVV.allowRotate()&&V.setAngle(e)},t.prototype.rotateShape=function(t){var V,n,i,e,r,c,o,s,d,a=this,h=a.getPointer(t),u=a.hitTestResult,x=u.shape;return x&&x.JVV&&x.JVV.allowRotate()&&(n=Z(x.width,x),i=Z(x.height,x),r=(e=x.getCenterPoint(n,i)).x,c=e.y,o=Math.atan2(a.activeY-c,a.activeX-r),s=Math.atan2(h.y-c,h.x-r),(d=x.angle+180*(s-o)/Math.PI)<0&&(d=360+d),V=d%360,x.setAngle(d%360),a.updateConnectionLinesLayout(x)),a.activeX=h.x,a.activeY=h.y,V},t.prototype.changeVariablePoint=function(t){var V=this,n=V.getPointer(t),i=V.hitTestResult,e=i.shape;e&&e.changeVariablePoint&&(e.changeVariablePoint(n,i),V.updateConnectionLinesLayout(e),V.paint()),V.activeX=n.x,V.activeY=n.y},t.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)},t.prototype.group=function(t){var V,n=this;return t&&w(t)>1?((V=new x.CompoundShape(t,{})).id=n.getUniqueShapeId(),n.addShape(V),t.forEach((function(t){n.setSelect(t,!1),t.parent=V})),V):F},t.prototype.ungroup=function(t){if(t&&t.isCompoundShape){var V=this;t.shapes.forEach((function(n){var i=k({x:n.left-t.left,y:n.top-t.top},{x:0,y:0},q(t.angle));n.left=t.left+i.x,n.top=t.top+i.y,n.angle+=t.angle,n.resetPathOffset(),n.isCompoundShape&&n.layoutChildren(),n.parent=F,V.addShape(n)})),t.shapes.splice(0,t.shapes.length),V.removeShape(t)}},t.getCursorFromHitLinkedTest=function(V,n,i){var e,r,c,o;return V&&(e=V.shape,r=V.type,c=e.JVV,e&&(!(o=t.weV(V))||!o.hyperlink||P(o.hyperlink.url)&&P(o.hyperlink.command)||!o.JVV||e.JVV.ni?0!==n.length||i||(xt(c)&&(!c.isSelected||c.isSelected&&r===d.HitTestType.body)?n="text":(r!==d.HitTestType.rotate||r===d.HitTestType.rotate&&c&&c.allowRotate())&&(n="move")):n="pointer")),n},t.getCursorFromHitTest=function(V){var n,i,e,r,c,o,s,a,h="";return V&&(n=V.shape,(i=V.resizeHandle)&&(e=n.angle,r=((r=z.indexOf(i.type))+R(e/45))%8,c=!0,n&&n.JVV&&!1===n.JVV.allowResize()&&(c=!1),r>=0&&c&&(h=H[r])),(V.type===d.HitTestType.rotate&&n.JVV&&!0===n.JVV.allowRotate()||V.lineEnd||V.type===d.HitTestType.adjustment)&&(h="crosshair"),(s=(o=gt(V))&&o.getCursor(V))&&(h=s),h=(a=t.getCursorFromHitLinkedTest(V,h,!1))||h),h},t.prototype.getMoveShapesChanges=function(t,V){var n=[];return t.forEach((function(t){var i;t&&t.JVV&&mt(t,V).forEach((function(t){n.push(t)}))})),n},t.prototype.createShapeAlignChanges=function(t,V,n,i){var e=this,r=t.JVV.Mf.zoom(),c={name:t.JVV.name(),offsetX:n/r,offsetY:i/r,offsetWidth:0,offsetHeight:0},o=t.ttV;return 1===o?(c.points=bt(t,n,i),-1!==V.indexOf(t)&&(c.startConnector=F,c.endConnector=F),c):(c.lineChanges=[],e.getConnectionLines(t).forEach((function(t){-1===V.indexOf(t)&&c.lineChanges.push(e.createShapeAlignChanges(t,V,n,i))})),c)},t.prototype.doMouseMove=function(V){var n,i,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,m=this,C=m.hitTestResult;if(C){if((n=gt(C))&&n.onMouseMove(V,m))return;i=m.getPointer(V),"rotate"===C.type?m.rotateShapes(V):C.resizeHandle||C.lineEnd?(C.lineEnd&&(r=F,m.shapes.forEach((function(t){if(1!==t.ttV){var V=t.hitTest(i.x,i.y);if(V&&V.shape&&V.shape!==C.shape)return r=V,!1}})),c=m.connectTarget,m.connectTarget=F,r&&(o=r.target||r.shape,m.connectTarget=o,o.showConnectors=!0),c&&m.connectTarget!==c&&(c.showConnectors=!1)),m.resizeShapes(m.scV,i,V.shiftKey)):C.adjustmentHandle?m.changeVariablePoint(V):(s=S(m.activeX-i.x)>X||S(m.activeY-i.y)>X,!m.t_&&V.ctrlKey?s&&(d=[],a=[],h=[],u=[],m.scV&&m.scV.length&&(m.scV.forEach((function(t){var V,n=t.JVV;n&&(V=n.Gf(),n.Mf.shapes.ZP(V),m.setSelect(V.ctV,!0,!0),m.setSelect(n.ctV,!1,!0),t===C.shape&&(C.shape=V.ctV),d.push(n),h.push(V),a.push(V.ctV),4===V.ttV&&(x=V.startConnector(),f=V.endConnector(),(x||f)&&u.push(V)),3===V.ttV&&(u=u.concat((0,e.getLineShapeInGroup)(V))))})),y=(0,e.getShapeNameList)(d),l=(0,e.getShapeNameList)(h),u&&u.length&&u.forEach((function(t){x=t.startConnector(),f=t.endConnector(),x&&(g=L(x.name,y),x=g>-1?{name:l[g],index:x.index}:L(x.name,l)>-1?{name:x.name,index:x.index}:null,t.startConnector(x)),f&&(g=L(f.name,y),f=g>-1?{name:l[g],index:f.index}:L(f.name,l)>-1?{name:f.name,index:f.index}:null,t.endConnector(f))})),m.t_=!0,m.scV=a,m.fcV=d)):m.lcV&&m.moveShapes(V,m.scV,C.shape)),(v=(p=(A=C.shape)&&A.JVV)&&p.Mf)?v.cnV():m.paint()}else if(m.hitTestResultInProtectedMode){if((n=gt(w=m.hitTestResultInProtectedMode))&&n.onMouseMove(V,m))return}else j=m.host,b=m.hitTest(V),m.jdV(b,V),j.style.cursor=t.getCursorFromHitTest(b)},t.prototype.doMouseDown=function(V){var n,i,e,r,c,s,d,a,h,u,x,f,y,l,g=this,A={e:V,r:F};if(t.et(g,"preProcessMouseDown",A),!A.r){if(n=g.getPointer(V),g.activeX=n.x,g.activeY=n.y,i=g.hitTest(V),e=g.hitTest(V,!0),r=i?i.shape:F){if((c=gt(i))&&c.onMouseDown(V,g))return g.hitTestResult=i,void(g.hitTestAnyway=e);s=(0,o.getActualBound)(r),g.pointerInfo={mouseDownOffsetX:n.x-s.left,mouseDownOffsetY:n.y-s.top,lastStartMoveX:n.x,lastStartMoveY:n.y},d=r.isSelected,r.gcV=d,g.AcV=g.activeX,g.wcV=g.activeY,d||(a=t.weV(i),(0,o.needProcessHyperlink)(a)&&!V.ctrlKey&&2!==V.button?g.processHyperlink(a):(V.shiftKey||V.ctrlKey||g.shapes.forEach((function(t){t!==r&&g.setSelect(t,!1,!0)})),g.setSelect(r,!0,!0),g.onShapeSelected&&g.onShapeSelected()),!a||2!==V.button||!a.hyperlink||P(a.hyperlink.url)&&P(a.hyperlink.command)||((x=(u=(h=a.JVV)&&h.Mf).Dg()).style.cursor="move",P(a.hyperlink.tooltip)||u.parent.iy()))}else if(g.isSheetProtected()&&(f=e?e.shape:F)&&((a=t.weV(e))&&a.hyperlink&&2!==V.button&&g.processHyperlink(a),(c=gt(e))&&c.onMouseDown(V,g)))return g.hitTestResultInProtectedMode=e,void(g.hitTestAnyway=e);2!==V.button&&(g.hitTestResult=i),g.hitTestAnyway=e,g.scV=g.shapes.filter((function(t){return t.isSelected})),r&&r.isSelected&&(g.lcV=!0),y=r&&r.JVV,r&&!1===r.gcV&&!0===r.isSelected&&!V.ctrlKey&&xt(y)&&(g.lcV=!1),i&&(i.lineEnd?nt(r):i.resizeHandle&&(l=g.getDelta(g.getRotatePoint(n,r),r,i.resizeHandle.type),g.scV.forEach((function(t){Vt(t,i.resizeHandle.type,r,l)})))),yt(i),g.paint()}},t.prototype.doMouseUp=function(V){var n,i,e,r,c,s,a,h,u,x,f,y,l,g,A,v,w,j,b,L,m,C,R,I,M,_,E,S,X,Y,O,P,N,D,U=this,q={e:V,r:F};if(t.et(U,"preProcessMouseUp",q),!q.r){if((a=U.hitTestResult)&&a.shape){if(u=a.shape,x=At(x=U.getConnectionLines(u)),y=(f=u.JVV)&&f.name(),l=(c=f&&f.Mf)&&c.name(),g=c&&c.Qy(),(A=gt(a))&&A.onMouseUp(V,U))return U.hitTestResult=F,void(U.lcV=!1);if("rotate"===a.type)U.setSelect(u,!0),f&&f.allowRotate()&&(v=[],U.scV.forEach((function(t){t&&t.JVV&&(s=Rt(t,x)).forEach((function(t){v.push(t)}))})),g.execute({cmd:"rotateShapes",sheetName:l,changes:v}));else if(a.adjustmentHandle&&f)w=u.getAdjustChanges(),j=f.Mf.zoom(),w&&1===u.ttV&&w.points&&w.points.length>0&&(w.points=w.points.map((function(t){return{x:t.x/j,y:t.y/j}}))),w&&(b=void 0,L={},1===u.ttV?b="updateConnectShapePoints":(b="updateShapes",w.values=[[p.ADJUSTMENTS,w.values]],w.oldValues=[[p.ADJUSTMENTS,w.oldValues]]),L[y]=w,g.execute({cmd:b,sheetName:l,shapes:[y],values:L}));else if(a.resizeHandle)f&&$(f)&&(m=[],C=null!==(r=null===(e=null===(i=null===(n=a.shape)||void 0===n?void 0:n.options)||void 0===i?void 0:i.textFormatOptions)||void 0===e?void 0:e.textDirection)&&void 0!==r?r:d.TextDirection.horz,R=C===d.TextDirection.horz&&(a.resizeHandle.type===d.ResizeHandleType.bottomCenter||a.resizeHandle.type===d.ResizeHandleType.topCenter)||C!==d.TextDirection.horz&&(a.resizeHandle.type===d.ResizeHandleType.middleLeft||a.resizeHandle.type===d.ResizeHandleType.middleRight),U.scV.forEach((function(t){t&&t.JVV&&(t.isResizing=!1,(s=mt(t,x)).forEach((function(t){!R&&ft(u)&&(C===d.TextDirection.horz?t.offsetHeight=0:t.offsetWidth=0),m.push(t)})))})),g.execute({cmd:"resizeShapes",sheetName:l,changes:m}));else if(a.resizeHandle||a.lineEnd||a.adjustmentHandle||U.AcV===U.activeX&&U.wcV===U.activeY)if(a.type===d.HitTestType.lineEnd&&a.lineEnd){for(_=0;_<U.shapes.length;_++)if((E=U.shapes[_])!==a.shape&&(h=U.getPointer(V),(S=E.hitTest(h.x,h.y))&&S.shape===E&&S.type===d.HitTestType.connectionPoint)){X=a.shape,O=(Y=S.target||E).id,P=S.connectionPointIndex,a.lineEnd===d.HitTestLineEnd.tail?X.endConnector={id:O,index:P}:X.startConnector={id:O,index:P},Y.addConnectionLine(X.id),U.layoutConnectionLine(X);break}f&&$(f)&&g.execute({cmd:"resizeShapes",sheetName:l,changes:mt(u,x)})}else(V.shiftKey||V.ctrlKey)&&a.shape.gcV&&U.setSelect(a.shape,!1,!0),h=U.getPointer(V),N=U.getContainerAt(h.x,h.y,u),u!==N&&N!==u.parent?(u.parent&&u.parent.removeShape(u,!0),N?(N.addShape(u,h),N.resetPathOffset(),u.parent.recalcChildren()):U.addShape(u)):u.parent&&u.parent.isContainer&&(u.parent.childMoved(u,h),u.parent.recalcChildren()),(0,o.needProcessHyperlink)(u)||"mouseup"!==V.type||V.shiftKey||V.ctrlKey||a.type!==d.HitTestType.body||!xt(f)||(U.jrV(u),g.execute({cmd:T,sheetName:l,shapeName:y}));else f&&f.allowMove()&&!U.t_?(I=U.getMoveShapesChanges(U.scV,x),g.execute({cmd:"moveShapes",sheetName:l,changes:I})):f&&f.allowMove()&&U.t_&&(M=[],U.scV.forEach((function(t,V){t&&t.JVV&&(s=mt(t,x)).forEach((function(t){M.push({oldShapeName:U.fcV[V].name(),name:t.name,offsetX:t.offsetX,offsetY:t.offsetY})}))})),g.execute({cmd:"dragCopyShapes",sheetName:l,changes:M}),U.t_=!1,delete U.fcV);U.veV(u,c),yt(a)}else if(U.hitTestResultInProtectedMode&&(A=gt(D=U.hitTestResultInProtectedMode))&&A.onMouseUp(V,U))return U.hitTestResultInProtectedMode=F,void(U.lcV=!1);U.connectTarget&&(U.connectTarget.showConnectors=!1),U.hitTestResult=F,delete U.scV,U.lcV=!1,c?c.cnV():U.paint()}},t.prototype.doMouseOut=function(V){var n=this,i={e:V,r:F};t.et(n,"preProcessMouseOut",i),i.r||(n.doMouseUp(V),n.jdV(F,V),n.hitTestResult=F)},t.prototype.doKeyDown=function(V){var n=this,i={e:V,r:F};t.et(n,"preProcessKeyDown",i),i.r||V.key===N&&n.ycV(!0)},t.prototype.doKeyUp=function(V){var n=this,i={e:V,r:F};t.et(n,"preProcessKeyUp",i),i.r||V.key===N&&n.ycV(!1)},t.prototype.processHyperlink=function(t){var V,n,i,e=t.hyperlink,r=t.JVV;r&&(n=(V=r.Mf)&&V.Qy(),i=e.command,P(i)||i===O?P(e.url)||(n?V.getParent().commandManager().execute({cmd:O,sheetName:V.name(),url:e.url,target:e.target||0}):Y(C(e.url),["_blank","_self","_parent","_top"][e.target])):"string"==typeof i?V.getParent().commandManager().execute({cmd:i,sheetName:V.name()}):"function"==typeof i&&i.call(F,V))},t.prototype.jdV=function(t,V){var n=this,i=t&&gt(t);i!==n.LdV&&(n.LdV&&n.LdV.onMouseLeave(V,n),i&&i.onMouseEnter(V,n),n.LdV=i)},t.prototype.veV=function(t,V){var n,i;t.JVV&&(n=Mt(V),i=o.ShapeTextEditor.getInstance(),n&&1===n.length&&!i.isOpened&&0===n[0].ttV&&i.initEditor(n[0].JVV))},t.prototype.ucV=function(t,V){var n,i=this.connectTarget;return!!i&&((n=i.hitTest(t,V))&&n.type===d.HitTestType.connectionPoint)},t.prototype.jrV=function(t){var V,n=this,i=n.model.getShapes(),e=t.JVV.Mf;for(e.suspendPaint(),V=0;V<i.length;V++)i[V]!==t&&n.setSelect(i[V],!1,!0);e.resumePaint()},t}(),V.Canvas=G,(0,i.$e)(G),V.getShouldProcessControlShape=gt,V.createLine=It},"./dist/plugins/shape/ui/compoundShape.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A=this&&this.qKr||(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])},p(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)}),p;function v(t){var V,n,i,e;return t.forEach((function(t,r){0===r&&(V=i=t.x,n=e=t.y),V=x(t.x,V),i=f(t.x,i),n=x(t.y,n),e=f(t.y,e)})),{left:V,top:n,right:i,bottom:e}}function w(t,V,n){var i,e,c,s,d,a,h;if(t&&t.length){if(i=function(t){return t instanceof o.ShapeBase?t.ctV:t},c=(e=!0===n?(0,r.getActualBound)(i(t[0]),V):j(i(t[0]),V)).left,s=e.right,d=e.top,a=e.bottom,1===t.length)return{left:c,top:d,right:s,bottom:a};for(h=1;h<t.length;h++)(e=!0===n?(0,r.getActualBound)(i(t[h]),V):j(i(t[h]),V)).left<c&&(c=e.left),e.top<d&&(d=e.top),e.right>s&&(s=e.right),e.bottom>a&&(a=e.bottom);return{left:c,top:d,right:s,bottom:a}}return{left:0,top:0,right:0,bottom:0}}function j(t,V){return 1===t.ttV?v(t.getPoints()):(0,r.getActualBound)(t,V)}Object.defineProperty(V,"__esModule",{value:!0}),V.CompoundShape=V.getBoundForHoldShapes=V.getLineShapeBoundByPoints=void 0,i=n("./dist/plugins/shape/shape.interface.js"),e=n("./dist/plugins/shape/ui/util.js"),r=n("./dist/plugins/shape/ui/shapes.js"),c=n("./dist/plugins/shape/ui/path.js"),o=n("./dist/plugins/shape/shapeView.js"),s=e.Common.defineProperty,d=e.Common.Array_remove,a=e.Common.rotateBound,h=e.Common.calculateBoundByRects,u=r.ShapeUI.prototype,x=Math.min,f=Math.max,y=null,l=void 0,V.getLineShapeBoundByPoints=v,V.getBoundForHoldShapes=w,g=function(t){function V(V,n){var i,e,r,o,s,d=t.call(this)||this,a=d;return a.shapes=V,a.options=n,a.id=n.id,a.isCompoundShape=!0,a.ttV=2,V?(e=(i=w(V,!0)).left,r=i.top,o=i.right,s=i.bottom,a.left=e,a.top=r,a.width=o-e,a.height=s-r,a.shapes.forEach((function(t){t.parent=a})),a.updateRelativeLocationAndSize(),a.path=[new c.Path],d):d}return A(V,t),V.prototype.setBounds=function(){},V.prototype.setService=function(t){var V,n,i,e,c,o,d=this;d.service!==t&&(V=void 0,n=void 0,i=void 0,d.service&&(c=d.id,V=d.service.getOptions(c,!0),n=d.getGeoProperties(),i=d.connectionLines,e=d.parent,d.service.calcSource_.removeObject(c),d.service=y,d.model={},d.options=V,d.setGeoProperties(n),d.connectionLines=i,d.parent=e),t&&(t.setValue(d.id,"isCompoundShape",!0),V=d.options,n=d.getGeoProperties(),i=d.connectionLines,e=d.parent,d.service=t,(o=Object.getOwnPropertyDescriptor(d,"options"))&&o.get||(r.ShapeProperties.forEach((function(t){s(d,t,{get:function(){var V=d.service;return V?V.getValue(d.id,t):d.model[t]},set:function(V){(0,r.setShapeProperty)(d,d.id,t,V)}})})),s(d,"options",{get:function(){var t,V=d.service;return V?(t=V.getOptions(d.id),t=d.optionsCache=(0,r.composite)({},t)):d.model.options},set:function(t){var V=d.service;V?V.setOptions(d.id,t):d.model.options=t}}),s(d,"connectionLines",{get:function(){var t=d.service;return t?t.getConnectionLines(d.id):d.model.connectionLines},set:function(t){var V=d.service;V?V.setConnectionLines(d.id,t):d.model.connectionLines=t}}),s(d,"parent",{get:function(){var t=d.service;return t?t.getShapeById(t.getValue(d.id,"parentId")):d.model.parentId},set:function(t){var V=d.service;V?V.setValueOrFormula(d.id,"parentId",t?t.id:void 0):d.model.parentId=t?t.id:void 0}})),d.setGeoProperties(n),d.connectionLines=i,d.parent=e,d.options=V||{})),d.setBounds()},V.prototype.zIndex=function(t,V,n){var i,e=this.shapes;e.splice(t,1),e.splice(V,0,n)},V.prototype.getZIndex=function(t){return this.shapes.indexOf(t)},V.prototype.render=function(t,V,n,i){var e,r=this,c=r.shapes,o=r.left,s=r.top,d=r.width,a=r.height;c&&0!==c.length&&(t.save(),r.transform(t,r.getCenterPoint(d,a)),t.translate(-o-d/2,-s-a/2),c.forEach((function(e){var r=e.JVV,c=!r||r.HiV();c&&e.render(t,V,n,i)})),t.translate(o+d/2,s+a/2),e=r.JVV,!1!==i&&(null==e?void 0:e.showHandle())&&r.paintSelection(t,o,s,d,a),t.restore())},V.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()},V.prototype.move=function(t,V,n){var i=this;u.move.call(i,t,V,n),i.layoutChildren()},V.prototype.layoutChildren=function(){var t=this,V=t.left,n=t.top,i=t.width,e=t.height;t.shapes.forEach((function(t){if(1===t.ttV){var r=t.inV.map((function(t){return{x:V+t.relativeX*i,y:n+t.relativeY*e}}));t.setPoints(r)}else t.left=V+t.relativeX*i,t.top=n+t.relativeY*e,t.width=t.relativeWidth*i,t.height=t.relativeHeight*e,t.resetPathOffset(),t.updateCenterData(),t.layoutChildren&&t.layoutChildren()}))},V.prototype.hitTest=function(t,V){var n,e,c,o,s=this,d=u.hitTest.call(s,t,V);return!d||d.type!==i.HitTestType.resize&&d.type!==i.HitTestType.rotate?(n=d.type,d=y,(e=(0,r.getCtx)()).save(),c=s.width,o=s.height,s.transformContext(e,s.getCenterPoint(c,o)),e.translate(-s.left-c/2,-s.top-o/2),s.shapes.forEach((function(n){var i=n.hitTest(t,V,e);if(i&&i.shape)return d=i,!1})),e.restore(),d&&d.shape?{type:d.type||i.HitTestType.body,shape:s,targetType:n,target:d.target||d.shape,connectionPointIndex:d.connectionPointIndex}:y):d},V.prototype.addShape=function(t,V,n){var i,e=this;t.parent=e,n!==l?e.shapes.splice(n,0,t):e.shapes.push(t),null===(i=e.service)||void 0===i||i.onAddedChildShape(t),V||e.update()},V.prototype.update=function(){var t=this,V=Number.MAX_VALUE,n=Number.MAX_VALUE,i=Number.MIN_VALUE,e=Number.MIN_VALUE;t.shapes.forEach((function(t){var c;(c=1===t.ttV?v(t.getPoints()):(0,r.getActualBound)(t)).left<V&&(V=c.left),c.top<n&&(n=c.top),c.right>i&&(i=c.right),c.bottom>e&&(e=c.bottom)})),t.left=V,t.top=n,t.width=i-V,t.height=e-n,t.updateCenterData(),t.updateRelativeLocationAndSize()},V.prototype.updateRelativeLocationAndSize=function(){var t=this,V=t.left,n=t.top,i=t.width,e=t.height;t.shapes.forEach((function(t){var r,c;1===t.ttV?t.inV=t.getPoints().map((function(t){return{relativeX:(t.x-V)/(i||1),relativeY:(t.y-n)/(e||1)}})):(c=null===(r=t.JVV)||void 0===r?void 0:r.ytV,i?(t.relativeX=(t.left-V)/i,t.relativeWidth=t.width/i):(t.relativeX===l&&(t.relativeX=c?c.GVV:0),t.relativeWidth===l&&(t.relativeWidth=c?c.asV:0)),e?(t.relativeY=(t.top-n)/e,t.relativeHeight=t.height/e):(t.relativeY===l&&(t.relativeY=c?c.osV:0),t.relativeHeight===l&&(t.relativeHeight=c?c.hsV:0)))}))},V.prototype.removeShape=function(t,V){var n,i=this;delete t.parent,d(i.shapes,t),null===(n=i.service)||void 0===n||n.onRemovedChildShape(t),V||i.update()},V.prototype.pcV=function(t,V){var n=this;n.width=t,n.height=V},V.prototype.getRenderBound=function(t){var V,n,i,e,c,o,s,d,u;return t===l&&(t=this.isSelected),V=this.Eot,n=this.getShapeRotate(),i=this.shapes.map((function(t){var i=t.getRenderBound();return 0!==n&&(i=a(i,V,n)),i})),e=h(i),t&&(c=this.left,o=this.top,s=this.width,d=this.height,u=(0,r.expandBoundWithShapeSelected)({left:c,top:o,right:c+s,bottom:o+d},this.Oi),0!==n&&(u=a(u,V,n)),e=h([e,u])),e},V.prototype.lsV=function(){return Promise.all(this.shapes.map((function(t){return t.lsV()}))).then((function(){}))},Object.defineProperty(V.prototype,"isResizing",{get:function(){return this.Eb},set:function(t){this.Eb=t,this.shapes.forEach((function(V){V.isResizing=t}))},enumerable:!1,configurable:!0}),V}(r.ShapeUI),V.CompoundShape=g},"./dist/plugins/shape/ui/control.js":function(t,V,n){var i,e,r,c=this&&this.qKr||(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])},o(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)}),o;Object.defineProperty(V,"__esModule",{value:!0}),V.ControlUI=void 0,i=n("./dist/plugins/shape/ui/shapes.js"),e=n("./dist/plugins/shape/ui/util.js"),r=function(t){function V(){var V=null!==t&&t.apply(this,arguments)||this;return V.bdV=!0,V}return c(V,t),V.prototype.onMouseEnter=function(t,V){},V.prototype.onMouseLeave=function(t,V){},V.prototype.processTouchStart=function(){return!0},V.prototype.getPointerRelativeControl=function(t,V){var n;return n=V?V.getPointer(t):(0,e.getPointerByMouseEvt)(this.JVV,t),this.convertToRelativePoint(n)},V.prototype.convertToRelativePoint=function(t){return t.x-=this.left,t.y-=this.top,t},V}(i.ShapeUI),V.ControlUI=r},"./dist/plugins/shape/ui/formControl.js":function(t,V,n){var i,e,r,c,o=this&&this.qKr||(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])},s(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)}),s;Object.defineProperty(V,"__esModule",{value:!0}),V.FormControlShapeUI=void 0,i=n("./dist/plugins/shape/shape.interface.js"),e=n("./dist/plugins/shape/ui/control.js"),r={hAlign:0,vAlign:0,wrapText:!0},c=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return o(V,t),V.prototype.hitTest=function(V,n,e){var r=this,c=r.formControl,o=t.prototype.hitTest.call(this,V,n,e);return o&&o.type!==i.HitTestType.body?o:c&&c.hitTest({x:V,y:n})?r.isSelected?t.prototype.hitTest.call(this,V,n,e):{shape:r}:{}},V.prototype.Dn=function(t,V,n,i,e){var r,c=this,o=c.formControl,s=c.zoom;i&&void 0!==e&&(c.TtV=!0,c.OtV=e),r=c.zoom,o&&(c.vcV(t,V,n,i),t.save(),t.scale(r,r),o.render(t,i),t.restore()),c.OtV=s},V.prototype.Me=function(V,n,i){var e,c=this,o=c.formControl,s=o.styleSupportInfo();s.supportText&&(c.setTextRect(s.textRect),e=c.JVV&&c.JVV.ytV.Mfn||r,s.supportHAlign||(n.horizontalAlignment=e.hAlign),s.supportVAlign||(n.verticalAlignment=e.vAlign),s.supportWrapText||(n.wrapTextInShape=e.wrapText),t.prototype.Me.call(this,V,n,i))},V.prototype.vcV=function(t,V,n,i){var e,r,c=this,o=c.options;o&&((e=c.formControl.styleSupportInfo()).supportFill||e.supportLine)&&((r=o.stroke)&&!r.color&&(r.color="transparent"),t.save(),i?(t.isPrintContext=!0,e.supportFill&&c.renderPath(t,o,V,n,!1,!0,!0),e.supportLine&&c.renderPath(t,o,V,n,!0,!0,!1)):c.renderPath(t,o,V,n,!e.supportFill,!0,!e.supportLine),t.restore())},V.prototype.getCursor=function(t){var V=this.formControl;if(!V.isNeedControlCursorBySelf||!V.isNeedControlCursorBySelf())return this.isSelected?void 0:"default"},V.prototype.onMouseDown=function(t,V){var n={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseDown(n),n.cancelDefault},V.prototype.onMouseMove=function(t,V){var n={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseMove(n),n.cancelDefault},V.prototype.onMouseUp=function(t,V){var n={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseUp(n),n.cancelDefault},V.prototype.setTextRect=function(t){var V,n=this,i=n.zoom;t.x*=i,t.y*=i,t.w*=i,t.h*=i,V={left:t.x,top:t.y,width:t.w,height:t.h,right:t.x+t.w,bottom:t.y+t.h},n.textRect=V},Object.defineProperty(V.prototype,"zoom",{get:function(){var t=this;return t.TtV?t.OtV:1},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"formControl",{get:function(){var t;return this.JVV.GtV},enumerable:!1,configurable:!0}),V}(e.ControlUI),V.FormControlShapeUI=c},"./dist/plugins/shape/ui/lines.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L=this&&this.qKr||(m=function(t,V){return m=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])},m(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}m(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),m;function C(t,V,n){var i,e,r=t.service;r!==V&&(r&&(t.model=r.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(t,V,n){var i,e,r=[];for(i=0,e=t.length;i<e;i++)r.push((t[i].x-V)/n);return r}function I(t,V){return V=V||3,+t.toFixed(V)}function M(t,V,n){var i,e,r=[];for(i=0,e=t.length;i<e;i++)r.push((t[i].y-V)/n);return r}Object.defineProperty(V,"__esModule",{value:!0}),V.ZipLine=V.Line=void 0,i=n("./dist/plugins/shape/ui/util.js"),e=n("./dist/plugins/shape/ui/shapes.js"),r=n("./dist/plugins/shape/shape.interface.js"),c=n("./dist/plugins/shape/ui/options.js"),o=i.Common.extend,s=i.Common.getOptionValue,d=(0,c.getStyle)("defaultLine"),a=i.Common.defineProperty,h=i.Common.getPointToLine,u=i.Common.rotatePoint,x=i.Common.expandRectangle,f=i.Common.calculateBoundByPoints,y=i.Common.calculateRectangleCenterPoint,l=Math.max,g=Math.round,A=6,p=null,v=void 0,w=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return L(V,t),V.prototype.jcV=function(t,V,n){var i,e,c,o,s,d,a,h,u,x,f=this;if(f.bcV())return e=(i=f.getStartPoint()).x,c=i.y,s=(o=f.getEndPoint()).x,d=o.y,a=f.left+f.width/2,h=f.top+f.height/2,u=p,t.beginPath(),x=f.Oi?20:7,t.rect(e-a-x,c-h-x,2*x,2*x),t.closePath(),t.isPointInPath(V,n)?u=r.HitTestLineEnd.head:(t.beginPath(),t.rect(s-a-x,d-h-x,2*x,2*x),t.closePath(),t.isPointInPath(V,n)&&(u=r.HitTestLineEnd.tail)),u},V.prototype.mcV=function(t,V,n){var i,e,r,c=this;c.bcV()&&(i=A,r=(e=c.getPoints()).length,t.save(),t.strokeStyle="gray",t.lineWidth=1,t.fillStyle="white",t.beginPath(),t.arc(e[0].x-c.left-V/2+.5,e[0].y-c.top-n/2+.5,i/2,0,2*Math.PI),t.fill(),t.arc(e[0].x-c.left-V/2+.5,e[0].y-c.top-n/2+.5,i/2,0,2*Math.PI),t.stroke(),t.beginPath(),t.arc(e[r-1].x-c.left-V/2+.5,e[r-1].y-c.top-n/2+.5,i/2,0,2*Math.PI),t.fill(),t.arc(e[r-1].x-c.left-V/2+.5,e[r-1].y-c.top-n/2+.5,i/2,0,2*Math.PI),t.stroke(),t.restore())},V.prototype.bcV=function(){var t=this.JVV;return t&&!1!==t.allowResize()},V.prototype.getPoints=function(){return[]},V.prototype.getRenderBound=function(t){var V,n,i,r,c,o;return t===v&&(t=this.isSelected),V=this.getPoints(),n=this.options,i=f(V),r=l(n.stroke.width,e.MIN_LINE_WIDTH),c=Math.ceil(r/2),n.endPoints&&(o=l(e.MIN_ARROW_LINE_WIDTH,r),c=l(c,o*e.MAX_ARROW_WIDTH_RATIO*e.ARROW_STEALTH_RATIO)),t&&(c=l(c,this.Oi?e.VARIABLE_RECT_SIZE_IN_TOUCH:e.VARIABLE_RECT_SIZE)),x(i,c+e.RENDER_BOUND_EPSILON)},V}(e.ShapeUI),j=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return L(V,t),V.prototype.CcV=function(t,V){var n,i,e=this;e.model=t||{},e.ttV=1,n=p,i=p,t&&(n=o({},d,t.options),i=t.points,e.id=t.id),e.setService(V),e.defineProperties(),e.showConnectors=!1,t&&(e.options=n,i&&e.setPoints(i))},V.prototype.setService=function(t){C(this,t,"Line")},V.prototype.defineProperties=function(){var t,V=this;a(V,"options",{get:function(){if(V.optionsCache)return V.optionsCache;var t,n=V.service;return t=n?n.getOptions(V.id):V.model.options,t=V.optionsCache=o({},t)},set:function(t){delete V.optionsCache;var n=V.service;n?n.setOptions(V.id,t):V.model.options=t}}),a(V,"startConnector",{get:function(){var t,n=V.service;return n?(t=n.getValues(V.id,"startConnector"))&&t.startConnector:V.model.startConnector},set:function(t){var n=V.service;n?n.setValues(V.id,"startConnector",t):V.model.startConnector=t}}),a(V,"endConnector",{get:function(){var t,n=V.service;return n?(t=n.getValues(V.id,"endConnector"))&&t.endConnector:V.model.endConnector},set:function(t){var n=V.service;n?n.setValues(V.id,"endConnector",t):V.model.endConnector=t}}),(t=["x1","y1","x2","y2"]).forEach((function(t){a(V,t,{get:function(){var n=V.service;return n?n.getValue(V.id,t):V.model[t]},set:function(n){var i=V.service;i?i.setValue(V.id,t,n):V.model[t]=n}})}))},V.prototype.setPoints=function(t,V){var n,i,e;!t||t.length<1||(isNaN(V)&&(V=1),n=this,i=t[0],e=t[t.length-1],n.x1=i.x*V,n.y1=i.y*V,n.x2=e.x*V,n.y2=e.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)},V.prototype.getPoints=function(){var t=this;return[{x:t.x1,y:t.y1},{x:t.x2,y:t.y2}]},V.prototype.getStartPoint=function(){var t=this;return{x:t.x1,y:t.y1}},V.prototype.getEndPoint=function(){var t=this;return{x:t.x2,y:t.y2}},V.prototype.renderPath=function(t,V,n,i,r,c,o,s){var d=this,a=d.options,h=d.P5e(),u=h.left,x=h.top,f=h.width,l=h.height,A=y(u,x,f,l),p=A.x,v=A.y,w=g(d.x1),j=g(d.x2),b=g(d.y1),L=g(d.y2),m=[{x:w-p,y:b-v},{x:j-p,y:L-v}];(0,e.drawLineShape)(t,m,d,f,l,a,s)},V.prototype.hitTest=function(t,V){var n,i,c,o,s=this,d=s.width,a=s.height,u=(0,e.getCtx)();return u.save(),s.transformContext(u,s.getCenterPoint(d,a)),i={},(n=s.jcV(u,t,V))?(i.shape=s,i.type=r.HitTestType.lineEnd,i.lineEnd=n):(c=s.Oi?10:3,(o=h(t,V,s.x1,s.y1,s.x2,s.y2)<=c)&&(i.shape=s,i.type=r.HitTestType.body)),u.restore(),i},V.prototype.paintSelection=function(t){var V,n,i=this;i.isSelected&&(V=s(i.width+"",i),n=s(i.height+"",i),i.mcV(t,V,n))},V.prototype.move=function(t,V){var 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()},V.prototype.resizeHeight=function(t,V){var n=this,i=t-n.height;n.originalY1||(n.originalY1=n.y1),n.originalY2||(n.originalY2=n.y2),n.originalY2>n.originalY1?n.y2+=i:n.originalY2<n.originalY1&&(n.y1+=i),n.updateCenterData()},V.prototype.resizeWidth=function(t,V){var n=this,i=t-n.width;n.originalX1||(n.originalX1=n.x1),n.originalX2||(n.originalX2=n.x2),n.originalX2>n.originalX1?n.x2+=i:n.originalX2<n.originalX1&&(n.x1+=i),n.updateCenterData()},V.prototype.moveStartPoint=function(t,V){var n=this;n.setPoints([{x:t,y:V},{x:n.x2,y:n.y2}])},V.prototype.moveEndPoint=function(t,V){var n=this;n.setPoints([{x:n.x1,y:n.y1},{x:t,y:V}])},V.prototype.updateStartConnector=function(t){var V,n,i=this,e=i.startConnector;e&&(V=i.service.getShapeById(e.id)).removeConnectionLine(i.id),i.startConnector=t,t&&(n=i.service.getShapeById(t.id)).addConnectionLine(i.id)},V.prototype.updateEndConnector=function(t){var V,n,i=this,e=this.endConnector;e&&(V=i.service.getShapeById(e.id)).removeConnectionLine(i.id),i.endConnector=t,t&&(n=i.service.getShapeById(t.id)).addConnectionLine(i.id)},V}(w),V.Line=j,b=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return L(V,t),V.prototype.CcV=function(t,V){var n,i,e=this;e.model=t||{},e.ttV=1,n=p,i=p,t&&(n=o({},d,t.options),i=t.points,e.id=t.id),e.setService(V),e.defineProperties(),e.showConnectors=!1,t&&(e.options=n,i&&e.setPoints(i))},V.prototype.setService=function(t){C(this,t,"ZipLine")},V.prototype.defineProperties=function(){var t=this;a(t,"options",{get:function(){var V,n,i=t.optionsCache;return i||(V=(n=t.service)?n.getOptions(t.id):t.model.options,t.optionsCache=i=o({},V),V=i)},set:function(V){delete t.optionsCache;var n=t.service;n?n.setOptions(t.id,V):t.model.options=V}}),a(t,"points",{get:function(){var V,n=t.service;return n?(V=n.getValues(t.id,"points"))&&V.points:t.model.points},set:function(V){var n=t.service;n?n.setValues(t.id,"points",V):t.model.points=V}}),a(t,"startConnector",{get:function(){var V,n=t.service;return n?(V=n.getValues(t.id,"startConnector"))&&V.startConnector:t.model.startConnector},set:function(V){var n=t.service;n?n.setValues(t.id,"startConnector",V):t.model.startConnector=V}}),a(t,"endConnector",{get:function(){var V,n=t.service;return n?(V=n.getValues(t.id,"endConnector"))&&V.endConnector:t.model.endConnector},set:function(V){var n=t.service;n?n.setValues(t.id,"endConnector",V):t.model.endConnector=V}})},V.prototype.getStartPoint=function(){var t=this.getPoints();return{x:t[0].x,y:t[0].y}},V.prototype.getEndPoint=function(){var t=this.getPoints();return{x:t[t.length-1].x,y:t[t.length-1].y}},V.prototype.moveStartPoint=function(t,V){var n=this,i=n.getPoints(),e={x:t,y:V},r=i[i.length-1];t=(e.x+r.x)/2,n.setPoints([e,{x:t,y:e.y},{x:t,y:r.y},r])},V.prototype.getAdjustChanges=function(){var t,V,n,i=this,e=!1,r=i.RcV,c=i.points;if(i.RcV){for(V=0,n=c.length;V<n;V++)if(r[V].x!==c[V].x||r[V].y!==c[V].y){e=!0;break}e&&(t={oldPoints:r,points:c})}return delete i.RcV,t},V.prototype.moveEndPoint=function(t,V){var n=this,i=n.getPoints(),e=i[0],r={x:t,y:V};t=(e.x+r.x)/2,n.setPoints([e,{x:t,y:e.y},{x:t,y:r.y},r])},V.prototype.setPoints=function(t,V){var n,i,e=this,r=t.length;isNaN(V)&&(V=1),t=t.map((function(t){return{x:t.x*V,y:t.y*V}})),e.points=t,r<1||(n=t[0],i=t[t.length-1],e.left=Math.min(n.x,i.x),e.top=Math.min(n.y,i.y),e.width=Math.abs(n.x-i.x),e.height=Math.abs(n.y-i.y),e.updateCenterData())},V.prototype.getPoints=function(){var t,V,n=this.points,i=[];for(t=0,V=n.length;t<V;t++)i.push({x:n[t].x,y:n[t].y});return i},V.prototype.renderPath=function(t,V,n,i,r,c,o,s){var d=this,a=d.options,h=d.getPoints(),u=d.P5e(),x=u.left,f=u.top,l=u.width,A=u.height,p=y(x,f,l,A),v=p.x,w=p.y,j=h.map((function(t){return{x:g(t.x)-v,y:g(t.y)-w}}));(0,e.drawLineShape)(t,j,d,l,A,a,s)},V.prototype.variableRects=function(t){var V,n,r,c,o=this,s=t&&o.Oi?e.VARIABLE_RECT_SIZE_IN_TOUCH:e.VARIABLE_RECT_SIZE,d=o.getPoints(),a=[],h=d.length;if(d&&h)for(n=d[1],r=2;r<h-1;r++)(c=d[r]).y===n.y?V=new i.Rect((n.x+c.x)/2-s/2,(n.y+c.y)/2-s/2,s,s):(V=new i.Rect((n.x+c.x)/2-s/2,(n.y+c.y)/2-s/2,s,s)).vertical=!0,V.index=r,a.push(V),n=c;return a},V.prototype.resizeHeight=function(t,V){var n,i,e=this,r=e.getPoints(),c=M(r,e.top,e.height);for(n=0,i=r.length;n<i;n++)r[n].y=e.top+c[n]*t;e.setPoints(r)},V.prototype.resizeWidth=function(t,V){var n,i,e=this,r=e.getPoints(),c=R(r,e.left,e.width);for(n=0,i=r.length;n<i;n++)r[n].x=e.left+c[n]*t;e.setPoints(r)},V.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,t&&i.getShapeById(t.id).addConnectionLine(V.id))},V.prototype.updateEndConnector=function(t){var V=this,n=V.endConnector,i=V.service;n&&i.getShapeById(n.id).removeConnectionLine(V.id),V.endConnector=t,t&&i.getShapeById(t.id).addConnectionLine(V.id)},V.prototype.changeVariablePoint=function(t,V){var n,i,e,r,c,o,s,d,a=this,h=t.x,x=t.y,f=V.adjustmentHandle,y=a.getPoints();a.RcV||(a.RcV=a.getPoints()),n=f.index,i=a.getShapeCenter(),e=y[n-1],r=y[n],c=Math.atan2(r.y-e.y,r.x-e.x),o=u({x:h,y:x},i,-c),s=u({x:e.x,y:e.y},i,-c),d=u({x:r.x,y:r.y},i,-c),I(s.x)===I(d.x)?(s.x=o.x,d.x=o.x):(s.y=o.y,d.y=o.y),y[n-1]=u(s,i,c),y[n]=u(d,i,c),a.setPoints(y)},V.prototype.hitTest=function(t,V){var n,i,c,o,s,d,a,u,x,f,y,l,g,A=this,p=A.getPoints(),v=A.width,w=A.height,j=(0,e.getCtx)();if(j.save(),A.transformContext(j,A.getCenterPoint(v,w)),n=v/2+A.left,i=w/2+A.top,o={},c=A.jcV(j,t,V))o.shape=A,o.type=r.HitTestType.lineEnd,o.lineEnd=c;else{for(j.beginPath(),a=p[0],u=A.Oi?10:2,x=!1,d=p.length,s=1;s<d;s++){if(f=p[s],h(t,V,a.x,a.y,f.x,f.y)<=u){x=!0;break}a=f}if(j.closePath(),(y=x)&&(o.shape=A,o.type=r.HitTestType.body,d=(l=A.variableRects(!0)).length,l&&d>0))for(s=0;s<d;s++)if(g=l[s],j.beginPath(),j.rect(g.x-n,g.y-i,g.width,g.height),j.closePath(),j.isPointInPath(t,V)){o.type=r.HitTestType.adjustment,o.adjustmentHandle=g;break}}return j.restore(),o},V.prototype.paintSelection=function(t){var V,n,i,e,r,c,o,s,d=this;if(d.isSelected){if(t.save(),V=d.width,n=d.height,i=d.variableRects(!1),t.lineWidth=1,i)for(e=V/2+d.left,r=n/2+d.top,c=0,o=i.length;c<o;c++)s=i[c],t.fillStyle="yellow",t.fillRect(s.x-e,s.y-r,s.width,s.height),t.strokeStyle="grey",t.strokeRect(s.x-e,s.y-r,s.width,s.height);d.mcV(t,V,n),t.restore()}},V.prototype.move=function(t,V){var n,i,e,r=this,c=t-r.left,o=V-r.top;for(r.left=t,r.top=V,i=0,e=(n=r.getPoints()).length;i<e;i++)n[i].x+=c,n[i].y+=o;r.setPoints(n)},V}(w),V.ZipLine=b},"./dist/plugins/shape/ui/model.js":function(t,V,n){var i,e,r;function c(t,V){var n,i,e,r;if(V&&t.id===V)return t;if(n=t.shapes)for(i=0,e=n.length;i<e;i++)if(r=c(n[i],V))return r}function o(t,V){return c({shapes:t},V)}function s(t){return"shape"+t}function d(t,V){var n,i,e;if(t&&(V(t),n=t.shapes))for(i=0,e=n.length;i<e;i++)d(n[i],V)}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=o,V.getKeyForShapeId=s,r=function(){function t(t){var V=this;V.name=t,V.shapes=[],V.calcSource_=new i.PropertySource(V),V.calcSource_.changed=function(t,n,i,e,r){V.changed&&V.changed(t,n,i,e,r)},V.setService(V.getService()),V.resetIDInfos()}return t.prototype.getName=function(){return this.name},t.prototype.getCalcService=function(){return this.getService()},t.prototype.getService=function(){return this.calcSource_.getCalcService()},t.prototype.getContext=function(t){return this.calcSource_.getContext(t)},t.prototype.setService=function(t){var V,n=this;t&&(V=n.getName(),n.calcSource_.id=V,n.calcModel_=new i.PropertySourceModel(n.calcSource_),t.setSourceModel({id:V},n.calcModel_))},t.prototype.getExpression=function(t,V){return this.calcSource_.getExpression(t,V)},t.prototype.getExpressions=function(t,V){return this.calcSource_.getExpressions(t,V)},t.prototype.addShape=function(t,V){var n=this,i=t.id;n.getShapeById(i)?V>=0&&n.setZIndex(t,V):(n.DsV(t,!0),n.attachShapeToModel(t),V>=0?n.shapes.splice(V,0,t):n.shapes.push(t))},t.prototype.removeShape=function(t,V){var n=this;e.Common.Array_remove(n.shapes,t),n.DsV(t,!1),V||n.detachShapeFromModel(t)},t.prototype.onAddedChildShape=function(t){this.DsV(t,!0)},t.prototype.onRemovedChildShape=function(t){this.DsV(t,!1)},t.prototype.DsV=function(t,V){var n=this.idToShapeMap;d(t,(function(t){V?n.set(t.id,t):n.delete(t.id)}))},t.prototype.indexOf=function(t){return this.shapes.indexOf(t)},t.prototype.setZIndex=function(t,V){var n=this,i=n.indexOf(t);-1!==i&&i!==V&&(n.shapes.splice(i,1),n.shapes.splice(V,0,t))},t.prototype.getShapes=function(){return this.shapes},t.prototype.getShapeById=function(t){return this.idToShapeMap.get(t)||this.IcV[t]},t.prototype.getUniqueShapeId=function(t){var V,n=this,i=n.idCount;do{V=s(i),i++}while(n.getShapeById(V));return n.idCount=i,t?{id:i-1,key:V}:V},t.prototype.resetIDInfos=function(){var t=this;t.idToShapeMap=new Map,t.idMaps={},t.IcV={},t.idCount=2},t.prototype.ensureUniqueShapeId=function(t){var V,n=this,i=s(t);return n.getShapeById(i)?(V=n.getUniqueShapeId(!0),n.idMaps[t]=V.id,V):(n.updateIdCount(t),{id:t,key:s(t)})},t.prototype.temporaryMarkIdUsed=function(t){this.IcV[t.id]=t},t.prototype.clearTemporaryMarkedIds=function(){this.IcV={}},t.prototype.updateIdCount=function(t){var V=this;V.idCount<=t&&(V.idCount=t+1)},t.prototype.detachShapeFromModel=function(t){var V,n=this;t.setService(null),n.remove(t.id),V=t.shapes,t.isCompoundShape&&V&&V.forEach((function(t){n.detachShapeFromModel(t)}))},t.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)}))},t.prototype.getCurrentObjectId=function(){var t;return this.calcSource_.getCurrentObjectId()},t.prototype.setCurrentObjectId=function(t){var V;this.calcSource_.setCurrentObjectId(t)},t.prototype.add=function(t,V){this.setValues(t,"",V)},t.prototype.remove=function(t){var V;this.calcSource_.removeObject(t)},t.prototype.getValues=function(t,V,n,i){var e;return this.calcSource_.getValuesForObject(t,V,n,i)},t.prototype.setValues=function(t,V,n,i){var e=this.calcSource_;i||e.clearValues(t,V),V&&V.length>0&&"."!==V[V.length-1]&&(V+="."),e.setObject(t,V,n)},t.prototype.getValue=function(t,V){var n;return this.calcSource_.getValue(t,V)},t.prototype.setValue=function(t,V,n){var i;this.calcSource_.setValue(t,V,n)},t.prototype.getNode=function(t,V){var n;return this.calcSource_.getNode(t,V)},t.prototype.getFormula=function(t,V,n){var i;return this.calcSource_.getFormula2(t,V,n)},t.prototype.setFormula=function(t,V,n,i,e,r,c){var o;this.calcSource_.setFormula(t,V,n,i,e,r,c)},t.prototype.removeFormula=function(t,V){var n;this.calcSource_.removeFormula(t,V)},t.prototype.clearValues=function(t,V){var n;this.calcSource_.clearValues(t,V)},t.prototype.clear=function(){var t;this.calcSource_.clear(),this.shapes=[]},t.prototype.dirty=function(t,V){var n;this.calcSource_.dirty(t,V)},t.prototype.dirtyAll=function(t){var V;this.calcSource_.dirtyAll(t)},t.prototype.setValueOrFormula=function(t,V,n,i,e){var r=this;n&&"="===n[0]?r.setFormula(t,V,n.substring(1),i,e):r.setValue(t,V,n)},t.prototype.setAngle=function(t,V){this.setValueOrFormula(t,"angle",V)},t.prototype.setOptions=function(t,V){this.setValues(t,"options",V)},t.prototype.setConnectionLines=function(t,V){this.setValues(t,"connectionLines",V)},t.prototype.getConnectionLines=function(t,V){var n=this.getValues(t,"connectionLines",V);return n&&n.connectionLines},t.prototype.getOptions=function(t,V,n){var i=this.getValues(t,"options",V,n);return i&&i.options},t.prototype.suspendCalc=function(){var t;this.calcSource_.suspendCalc()},t.prototype.resumeCalc=function(){var t;this.calcSource_.resumeCalc()},t}(),V.ShapeModel=r},"./dist/plugins/shape/ui/options.js":function(t,V,n){var i,e,r,c,o,s,d,a;function h(t,V,n){return{type:t||1,color:V||"black",width:n||1}}function u(t,V,n){return{type:t||1,color:V||"white",width:n||1}}function x(t){return null==t}function f(t){return"string"!=typeof t?t:"horizontal"===t?i.TextDirection.horz:"vertical"===t||"rotate90"===t?i.TextDirection.vert:"rotate270"===t?i.TextDirection.vert270:x(i.TextDirection[t])?i.TextDirection.horz:i.TextDirection[t]}function y(t,V,n,i,e){return{font:t||o,fill:V||r.black,allowTextToOverflowShape:e,textDirection:f(n)||s,wrapTextInShape:!i}}function l(t,n){V.styles[t]=n}function g(t){return V.styles[t]}Object.defineProperty(V,"__esModule",{value:!0}),V.getStyle=V.styles=void 0,i=n("./dist/plugins/shape/shape.interface.js"),e={},r={},(c=["white","black","grey","blue","red","yellow","green","cyan"]).forEach((function(t){e[t]=h(1,t),r[t]=u(1,t)})),o="11pt Calibri",s=i.TextDirection.horz,V.styles={},l("default",d={stroke:e.grey,fill:r.white,textFormatOptions:y(o,r.white,s,!1,!1)}),l("defaultLine",a={stroke:{type:1,color:"blue"},endPoints:{beginArrow:{type:1,widthType:1,lengthType:1},endArrow:{type:3,widthType:1,lengthType:1}}}),V.getStyle=g},"./dist/plugins/shape/ui/path.js":function(t,V,n){var i,e,r,c,o,s,d,a;function h(t,V,n,i,e,r,c,o){var s,d,a,h,u,x,f,g,A,p,v,w=Math.sqrt,j=Math.abs,b=[],L=[[],[]],m=6*t-12*n+6*e,C=-3*t+9*n-9*e+3*c,R=3*n-3*t;for(d=0;d<2;++d)if(d>0&&(m=6*V-12*i+6*r,C=-3*V+9*i-9*r+3*o,R=3*i-3*V),j(C)<1e-12){if(j(m)<1e-12)continue;0<(s=-R/m)&&s<1&&b.push(s)}else(a=m*m-4*R*C)<0||(0<(u=(-m+(h=w(a)))/(2*C))&&u<1&&b.push(u),0<(x=(-m-h)/(2*C))&&x<1&&b.push(x));for(g=f=b.length;f;)p=(A=1-(s=b[--f]))*A*A*t+3*A*A*s*n+3*A*s*s*e+s*s*s*c,L[0][f]=p,v=A*A*A*V+3*A*A*s*i+3*A*s*s*r+s*s*s*o,L[1][f]=v;return L[0][g]=t,L[1][g]=V,L[0][g+1]=c,L[1][g+1]=o,[{x:l(L[0]),y:l(L[1])},{x:y(L[0]),y:y(L[1])}]}function u(t,V,n,i,e,r,c,o){var a,h=[],u=f(r,c,o),y=d/180,l=o?-y:y;for(a=0;s(a)<=u;a+=l)h.push(x(t,V,n,i,e,r+a));return h.push(x(t,V,n,i,e,c)),h}function x(t,V,n,e,r,s){var d=n*o(s)+t,a=e*c(s)+V,h={x:d,y:a};return 0!==r&&(h=i.Common.rotatePoint(h,{x:t,y:V},r)),h}function f(t,V,n){var i,e=2*d;if(n){if(t-V>=e)return e}else if(V-t>=e)return e;return(t%=e)<0&&(t+=e),(V%=e)<0&&(V+=e),(i=n?t-V:V-t)<0&&(i+=e),i}function y(t,V){var n;return(V?e:r).apply(null,t)}function l(t){return y(t,!0)}function g(t){return"mlhvcsqtaz".indexOf(t)>-1}function A(t,V,n){return g(t)?V+n:n}function p(t){var V,n,i,c,o,s,d,a,x,f,y,l,g,p,v,w,j,b,L,m,C,R,I,M,_,E,S=1/0,F=1/0,X=-1/0,Y=-1/0,O=0,T=0,P=0,N=0,D=[];for(n=0,i=t.length;n<i;++n){switch(c=(V=t[n])[0],o=V[1],s=V[2],d=V[3],a=V[4],x=V[5],f=V[6],c){case"V":case"v":N=A(c,N,o);break;case"H":case"h":P=A(c,P,o);break;case"L":case"l":P=A(c,P,o),N=A(c,N,s),D=[];break;case"M":case"m":O=P=A(c,P,o),T=N=A(c,N,s),D=[];break;case"B":case"C":case"c":D=h(y=P,l=N,g=A(c,P,o),p=A(c,N,s),v=A(c,P,d),w=A(c,N,a),P=A(c,P,x),N=A(c,N,f));break;case"Q":case"q":case"S":case"s":D=h(y=P,l=N,g=A(c,P,o),p=A(c,N,s),g,p,P=A(c,P,d),N=A(c,N,a));break;case"AT":case"T":g=A(c,P,o),p=A(c,N,s),P=A(c,P,d),N=A(c,N,a),D.push({x:g,y:p}),D.push({x:P,y:N});break;case"A":case"a":P=A(c,P,o),N=A(c,N,s),D.push({x:P,y:N}),j=d,b=a,L=x,m=Math.PI,D.push({x:P+j*Math.cos(b),y:N+j*Math.sin(b)}),D.push({x:P+j*Math.cos(L),y:N+j*Math.sin(L)}),0!==b&&L!==2*m||D.push({x:P+j,y:N}),(b<m/2||L>m/2)&&D.push({x:P,y:N+j}),(b<m||L>m)&&D.push({x:P-j,y:N}),(b<m+m/2||L>m+m/2)&&D.push({x:P,y:N-j});break;case"E":case"e":P=(D=u(P=A(c,P,o),N=A(c,N,s),C=d,R=a,I=x,M=f,_=V[7],E=V[8]))[0].x,N=D[0].y;break;case"Z":case"z":P=O,N=T}D.forEach((function(t){S=e(S,t.x),F=e(F,t.y),X=r(X,t.x),Y=r(Y,t.y)})),S=e(S,P),F=e(F,N),X=r(X,P),Y=r(Y,N)}return S=isFinite(S)?S:0,F=isFinite(F)?F:0,X=isFinite(X)?X:0,Y=isFinite(Y)?Y:0,{left:S,top:F,right:X,bottom:Y,width:X-S,height:Y-F}}Object.defineProperty(V,"__esModule",{value:!0}),V.getBoundByPathCommands=V.Path=void 0,i=n("./dist/plugins/shape/ui/util.js"),e=Math.min,r=Math.max,c=Math.sin,o=Math.cos,s=Math.abs,d=Math.PI,a=function(){function t(t){var V=this;V.pathCommands=[],t&&V.parse(t)}return t.prototype.parse=function(t){var V,n,i,e,r,c,o=t.split(";");for(V=0,n=o.length;V<n;V++){for(i=o[V].trim().split(" "),(e=[]).push(i[0].trim()),r=1,c=i.length;r<c;r++)i[r]&&"="===i[r][0]?e.push(i[r]):e.push(parseFloat(i[r]));this.pathCommands.push(e)}},t.prototype.moveTo=function(t,V){var n=this;return n.pathCommands.push(["M",t,V]),n},t.prototype.lineTo=function(t,V){var n=this;return n.pathCommands.push(["L",t,V]),n},t.prototype.bezierCurveTo=function(t,V,n,i,e,r){var c=this;return c.pathCommands.push(["B",t,V,n,i,e,r]),c},t.prototype.quadraticCurveTo=function(t,V,n,i){var e=this;return e.pathCommands.push(["Q",t,V,n,i]),e},t.prototype.arc=function(t,V,n,i,e){this.pathCommands.push(["A",t,V,n,i,e])},t.prototype.arcTo=function(t,V,n,i,e){var r=this;return r.pathCommands.push(["AT",t,V,n,i,e]),r},t.prototype.beginPath=function(){},t.prototype.closePath=function(){var t=this;return t.pathCommands.push(["Z"]),t},t.prototype.parseDimensions=function(){return p(this.pathCommands)},t}(),V.Path=a,V.getBoundByPathCommands=p},"./dist/plugins/shape/ui/pictureFormat.js":function(t,V,n){var i,e,r,c,o,s,d;function a(t){return r(0,e(255,t))}function h(t,V,n){return.2126*t+.7152*V+.0722*n}function u(t,V,n){var i,e=t.data,r=n>=0?d/(d-n*d):(d+n*d)/d,c=255*V,s=c/2;function h(t){return t=((t+=s)-d)*r+d,a(o(t+=s))}for(i=0;i<e.length;i+=4)e[i]=h(e[i]),e[i+1]=h(e[i+1]),e[i+2]=h(e[i+2])}function x(t){var V,n,i=t.data;for(V=0;V<i.length;V+=4)n=c(h(i[V],i[V+1],i[V+2])),i[V]=n,i[V+1]=n,i[V+2]=n}function f(t,V,n){var i,e,r,c,s,d,a,h;for(x(t),i=[],e=0;e<=255;e++)r=e/255,c=V.r+o((n.r-V.r)*r),s=V.g+o((n.g-V.g)*r),d=V.b+o((n.b-V.b)*r),i.push([c,s,d]);for(a=t.data,e=0;e<a.length;e+=4)h=i[a[e]],a[e]=h[0],a[e+1]=h[1],a[e+2]=h[2]}function y(t,V){var n,i,e,r=t.data;for(n=0;n<r.length;n+=4)e=(i=h(r[n]/255,r[n+1]/255,r[n+2]/255))>=V?255:0,r[n]=e,r[n+1]=e,r[n+2]=e}function l(t,V){var n,i=t.data,e=1-V;for(n=0;n<i.length;n+=4)i[n+3]=a(c(i[n+3]*e))}function g(t,V){var n,i,e,r=0,o=0;if("lighten"===V?r=.4:"lightenLess"===V?r=.2:"darken"===V?o=-.4:"darkenLess"===V&&(o=-.2),0!==r||0!==o)for(n=function(t){return a(c(o?t*(1+o):255-(255-t)*r))},i=t.data,e=0;e<i.length;e+=4)i[e]=n(i[e]),i[e+1]=n(i[e+1]),i[e+2]=n(i[e+2])}function A(t){var V=t.brightness,n=t.contrast,i=t.transparency,e=t.grayscale,r=t.duotone,c=t.blackAndWhite,o=t.fillMode,d="darken"===o||"darkenLess"===o||"lighten"===o||"lightenLess"===o;return e||r||c!==s||V||n||i||d}function p(t,V){var n,e,r,c,o,d,a,h,p,v,w;A(V)&&(e=(n=t.getContext("2d")).getImageData(0,0,t.width,t.height),r=V.brightness,c=V.contrast,o=V.transparency,d=V.grayscale,a=V.duotone,h=V.blackAndWhite,p=V.fillMode,d&&x(e),a&&f(e,v=i.Color.fromString(a.color1).toIColor(),w=i.Color.fromString(a.color2).toIColor()),h!==s&&y(e,h),(r||c)&&u(e,r||0,c||0),o&&l(e,o),p&&g(e,p),n.putImageData(e,0,0))}Object.defineProperty(V,"__esModule",{value:!0}),V.applyPictureFormat=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=Math.min,r=Math.max,c=Math.round,o=Math.floor,s=void 0,d=127.5,V.applyPictureFormat=p},"./dist/plugins/shape/ui/pictureShape.js":function(t,V,n){var i,e,r,c=this&&this.qKr||(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])},o(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)}),o;Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShapeUI=void 0,i=n("./dist/plugins/shape/ui/shapes.js"),e="pictureImageSource",r=function(t){function V(V,n){var i=t.call(this,V,n)||this;return i.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},i}return c(V,t),V.prototype.getBase64Image=function(){return this.erV(this.McV,e)},V.prototype.src=function(t){this.McV.src=t},V.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},V.prototype.needApplyFillAfterStyleFill=function(){return!!this.McV.src},V.prototype.applyFillAfterStyleFill=function(t,V,n,r){(0,i.applyPictureOrTextureFillOptions)(t,this.McV,this,V,n,e,r)},V.prototype.yrV=function(){delete this[e]},V.prototype.lsV=function(){var t=this;return new Promise((function(V){var n,i,e,r=t.McV.src;r&&"string"==typeof r&&(e=null===(i=null===(n=t.JVV)||void 0===n?void 0:n.Mf)||void 0===i?void 0:i.BO())?e.addImage(r,void 0,{loadCallback:V}):V()}))},V}(i.ShapeUI),V.PictureShapeUI=r},"./dist/plugins/shape/ui/propertySource.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A=this&&this.qKr||(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])},p(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)}),p;function v(t,V,n){var i,e,r=V.split("."),c=r.length,o=t;for(i=0;i<c-1;i++)o[e=r[i]]||(o[e]={}),o=o[e];o[r[c-1]]=n}function w(t,V){var n=V.indexOf("#"),i;return n>0?(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 j(t){return t&&t.JVV&&t.JVV.Mf}function b(t,V,n,i,e){return n||2===V?t:(1===V&&(i+=1,e-=1),Math.max(i,Math.min(t,e)))}function L(t){var V,n,i=t.calcSource,e=i.getValue(t.id,"parentId"),r=i.getShapeById(e),c=r&&r.shapes;if(c)for(V=0,n=c.length;V<n;V++)if(c[V].id===t.id)return V+1;return-1}function m(t,V,n){var i=n/x;return d(t*o(i),V*s(i))}function C(t,V,n,i){var e;return V-t*(i?s:o)(n)}function R(t,V,n,i){var e;return t+V*(i?s:o)(n)}function I(t,V){var n={},i=Y(t,null,!0,n,V);return 0===i.length?null:i}function M(t){return t instanceof i.Expression}function _(t){return 1===t.type}function E(t){return 8===t.type}function S(t){return 9===t.type}function F(t){return 7===t.type}function X(t){return 22===t.type}function Y(t,V,n,e,r){for(var c,o,s,d,a,h=[];12===t.type;)t=t.value;for(;10===t.type;)t=t.value;for(;12===t.type;)t=t.value;if(13===t.type){if((c=t.getRange(0,0,!0))===u)return;t=1===c.rowCount&&1===c.colCount?(0,i.knt)(t.source,u,c.row,c.col,!1,!1):(0,i.lJ)(t.source,u,c.row,c.col,c.row+c.rowCount-1,c.col+c.colCount-1,!1,!1,!1,!1)}return _(t)?(o=t.source)&&o.getIdentity?(s=o.getIdentity(o,t),e[s]||(e[s]=!0,h.push({expr:t}))):o instanceof i.ErrorSource||h.push({expr:t}):E(t)?(s=(d=w(r,t.value)).id+"#"+d.name,e[s]||(e[s]=!0,h.push({expr:t}))):S(t)?(n||h.push(t),h=h.concat(Y(t.value,t,n,e,r)),t.value2&&(h=h.concat(Y(t.value2,t,n,e,r)))):F(t)?(n||h.push(t),(a=t.arguments)&&a.length>0&&a.forEach((function(V){h=h.concat(Y(V,t,n,e,r))}))):X(t)&&h.push({expr:t}),h}Object.defineProperty(V,"__esModule",{value:!0}),V.PropertySourceModel=V.PropertySource=V.PropertyContext=void 0,i=n("CalcEngine"),e=n("Common"),r=n("SheetsCalc"),c=n("./dist/plugins/shape/ui/util.js"),o=Math.sin,s=Math.cos,d=Math.atan2,a=e.Common.lt.ht,h=void 0,u=null,x=108e5/Math.PI,f=function(){function t(t,V){var n=this;n.id=V,n.calcSource=t}return t.prototype.setSource=function(t){this.calcSource=t},t.prototype.getExternalSource=function(t,V){var n,i,e=this.calcSource.getService().getExternalSource(t,V);return a(e)&&(i=(n=this.sheetSource)&&n.Mf&&n.Mf.parent)&&(0,r.isValidExternalReference)(V)?i._p.parseSource(V,n.G3):e},t.prototype.getResolvers=function(){return this.calcSource.getService().getResolvers()},t.prototype.getName=function(t){var V,n,i=this,e=w(i,t);return e.id&&e.name?(V=i.calcSource.getNode(e.id,e.name))?{type:2,value:V.value}:(n=j(i.calcSource.getShapeById(e.id)),i.WrV(n,t)):{type:5,value:"reference error"}},t.prototype.WrV=function(t,V){var n,i,e,r=t&&t.Uw(3);if(r)return(n=r.getCustomName(V))||(n=(e=(i=r.op())&&i.getGlobalSourceModel())&&e.getSource().getCustomName(V)),n},t.prototype.getFunction=function(t){if(t){var V=new i.Functions.Function(t);switch(t){case"BOUND":V.evaluate=b;break;case"LISTORDER":V.evaluate=L,V.isContextSensitive=function(){return!0};break;case"A":V.evaluate=m;break;case"C":V.evaluate=C;break;case"P":V.evaluate=R;break;default:V=void 0}return V&&(V.minArgs=V.maxArgs=V.length),V}},t.prototype.getTableByName=function(t){var V,n,i,e,r,c=this.sheetSource&&this.sheetSource.Mf;if(!c)return u;if(n=!0,!(i=(V=c.tables)?V._bt(t,n):u)&&(e=c.parent&&c.parent.sheets))for(r=0;r<e.length&&(!(V=e[r].tables)||!(i=V._bt(t,n)));r++);return i||c.parent&&c.parent.Ofe(t)},t.prototype.getTableByIndex=function(t,V){var n,i=this.sheetSource&&this.sheetSource.Mf;return i&&(n=i.tables)?n.Hq(t,V,!0):u},t.prototype.getExternalSourceToken=function(t){return t.getName()},t.prototype.j8t=function(){return!1},t.prototype.O8t=function(){},t.prototype.R8t=function(){},t.prototype.E8t=function(t){return t},t.prototype.getReference=function(t,V){return t?this.E8t(t).getReference(V):i.Errors.Reference},t}(),V.PropertyContext=f,y=function(){function t(t,V,n){this.Zc=t,this.WK=V,this.source=n}return t.prototype.getName=function(){return this.Zc},t.prototype.getExpression=function(){return this.WK},t}(),l=function(t){function V(V){var n,e=t.call(this)||this;return e.getEvaluatorContext=function(){var t=this,V=t.getName();return t.getContext(V)},(n=e).model=V,n.parser_=new i.Parser,n.context_=new f(V),n.Lbt=new i.CalcService,n.evaluator_=new i.Evaluator(n.Lbt),n.store_={},e}return A(V,t),V.prototype.getSource=function(){return this},V.prototype.getName=function(){return this.model.name},V.prototype.getCalcSourceModel=function(){return this.sourceModel},V.prototype.setCalcSourceModel2=function(t){this.sourceModel=t},V.prototype.getCalcService=function(){return this.Lbt},V.prototype.setCalcService=function(t){this.Lbt=t},V.prototype.startCalculation=function(){},V.prototype.endCalculation=function(){},V.prototype.Cde=function(t,V){!1!==t&&this.dirtyAll()},V.prototype.cyt=function(t,V,n){var i,e=this,r=e.getCalcObj(t,V,!1),c=r&&r.expression;c&&(i=e.getContext(t),e.KrV(r,c,n,t,i))},V.prototype.KrV=function(t,V,n,i,e){var r,o,s,d,a,h,u,x,f,y;if(V&&(r=this,o=I(V,e)))for(s=0,d=o.length;s<d;s++)h=(a=o[s].expr).source,(0,c.isExternalSource)(h)?h.cyt(t,n):X(a)?a.Iwt&&a.Iwt(t,n):_(a)?(x=(u=h&&h.getCalcSourceModel&&h.getCalcSourceModel()).getCalcObj(a,!0),r.$rV(t,x,n)):E(a)&&(y=w((f=h?{id:h.getName()}:null)||e,a.value),(x=r.getCalcObjFromNode(y,!1))?r.$rV(t,x,n):r.tdV(t,a,n,i,e))},V.prototype.tdV=function(t,V,n,i,e){var r,c,o,s,d,a=this,h=j(a.model.getShapeById(i)),u=h&&h.Uw(3);u&&((c=(r=a.Lbt.getGlobalSourceModel()||u.getCalcSourceModel()).getSource()).addUsedCustomName&&c.addUsedCustomName(V.value),(s=u.getCustomName(V.value))?o=u.getCalcSourceModel():(o=r,s=c.getCustomName(V.value)),s&&(d=o.vwt(V.value,!0),a.$rV(t,d,n),a.KrV(t,s,n,i,e)))},V.prototype.$rV=function(t,V,n){var i;V&&[].concat(V).forEach((function(V){V.Iwt("pathListeners",t,n)}))},V.prototype.getParser=function(){return this.parser_},V.prototype.getEvaluator=function(){return this.evaluator_},V.prototype.getCurrentObjectId=function(){return this.objectId_},V.prototype.setCurrentObjectId=function(t){this.objectId_=t},V.prototype.getContext=function(t){var V=this;return t&&t.length>0?new f(V.model,t):V.context_},V.prototype.getCustomName=function(t){var V,n=this,i=t.indexOf("#");if(i>0&&(V=t.substring(0,i),n.store_[V]))return new y(t,{type:8,name:t,source:n,value:t},n)},V.prototype.getKey=function(t,V){return t+"#"+V},V.prototype.getNode=function(t,V,n){var i,e=this,r=e.store_[t];return!r&&n&&(r=e.store_[t]={}),!(i=r&&r[V])&&n&&(i=r[V]={}),i},V.prototype.getNodeValue=function(t,V){var n=this.getNode(t,V);return n&&n.value},V.prototype.setNodeValue=function(t,V,n,i){var e=this,r=e.getNode(t,V,!0),c=r.value;r.value=n,n!==c&&e.changed&&e.changed(t,V,n,c,i)},V.prototype.getCalcObj=function(t,V,n){var e=this,r=e.getNode(t,V,n),c=r&&r.calc;return!c&&n&&(c=r.calc=new i.PathCalc(e,t,V)),c},V.prototype.getCalcObjFromNode=function(t,V){var n=t.id,i=t.name;return this.getCalcObj(n,i,V)},V.prototype.removeObject=function(t){var V,n=this,i=n.store_[t];for(V in i)i.hasOwnProperty(V)&&n.removeFormula(t,V);for(V in i)i.hasOwnProperty(V)&&delete i[V];delete n.store_[t]},V.prototype.clearValues=function(t,V){var n,i=this,e=i.store_[t];for(n in e)!e.hasOwnProperty(n)||0!==n.indexOf(V)||n.length!==V.length&&"."!==n[V.length]||i.removeFormula(t,n);for(n in e)!e.hasOwnProperty(n)||0!==n.indexOf(V)||n.length!==V.length&&"."!==n[V.length]||delete e[n]},V.prototype.clear=function(){this.store_={}},V.prototype.findListeners=function(t,V){var n,i,e,r;if(!t)return V;for(i=0,e=(n=t.aT).length;i<e;i++)(r=t[n[i]])&&r.forEach((function(t,n){V[n]||(V[n]=t,this.findListeners(t,V))}))},V.prototype.suspendCalc=function(){this.calcSuspended=!0},V.prototype.resumeCalc=function(){this.calcSuspended=!1,this.calculateAll()},V.prototype.calculateAll=function(){var t,V,n,i,e,r=this;if(!r.calcSuspended)for(V in t=r.store_)if(t.hasOwnProperty(V))for(i in n=t[V])n.hasOwnProperty(i)&&(e=n[i].calc)&&e.k1&&r.calculate(e.id,e.name)},V.prototype.recalculateNode=function(t){var V,n,i=this,e=i.getCalcObj(t.id,t.name),r=e.expression;e&&r&&(V=i.getContext(e.id),n=i.evaluator_.evaluateExpression(r,V,h,h,e.acceptReference),i.setNodeValue(e.id,e.name,n,!0))},V.prototype.addListenersToDirty=function(t,V){for(var n=t.y3[V];n;n=n.C3)n.o_t()},V.prototype.initDelay=function(t,V){for(var n=t.y3[V];n;n=n.C3)n.delay=0},V.prototype.adjustDelayOfListeners=function(t,V,n){for(var i=t.y3[V];i;i=i.C3)i.a_t(n)},V.prototype.calculateDirtyNodes=function(t,V){var n,i,e=!1;for(n=t.y3[V];n;n=n.C3)0===n.delay&&((i=n.w3).recalculateNode(n),t.b_t(n,V),n.a_t(!1),e=!0);return e},V.prototype.calculateIterations=function(t,V){var n,i;for(n=t.y3[V];n;n=n.C3)(i=n.w3).recalculateNode(n)},V.prototype.clearValueCache=function(){},V.prototype.calculate=function(t,V){var n,i=this;i.calcSuspended||(n=i.getCalcObj(t,V))&&(n.vyt(),i.Lbt.recalculateAll(!1))},V.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)},V.prototype.setObject=function(t,V,n){var e,r,c,o,s;if(n){for(o in(e=this).setCurrentObjectId(t),c=V.length,n)n.hasOwnProperty(o)&&("object"!=typeof(s=n[o])?(r=c>0?V+o:o,e.setValueOrFormula(t,r,s)):s instanceof i.Expression?(r=c>0?V+o:o,e.setExpression(t,r,s)):(r=c>0?V+o+".":o+".",e.setObject(t,r,s)));Array.isArray(n)&&e.setValue(t,V+"isArray",!0)}},V.prototype.getExpressions=function(t,V){var n,i,e,r,c=this;if(c.setCurrentObjectId(t),n={},i=c.store_[t])for(e in n.id=t,i)i.hasOwnProperty(e)&&(!V||e.indexOf(V)>=0)&&(c.ensureObjects(t,n,e),(r=c.getExpression(t,e))||(r=c.getValue(t,e)),void 0!==r&&v(n,e,r));return n},V.prototype.ensureObjects=function(t,V,n){var i,e,r,c=V,o=n.split("."),s="";for(i=0;i<o.length-1;i++)s+=e=o[i],c[e]||(r=this.getValue(t,s+".isArray"),c[e]=r?[]:{}),s+=".",c=c[e]},V.prototype.getValuesForObject=function(t,V,n,i){var e,r,c,o,s=this;if(s.setCurrentObjectId(t),e={},r=s.store_[t])for(c in e.id=t,r)r.hasOwnProperty(c)&&(!V||c.indexOf(V)>=0)&&(s.ensureObjects(t,e,c),(o=n?s.getFormula2(t,c,i):null)||(o=s.getValue(t,c)),void 0!==o&&v(e,c,o));return e},V.prototype.getValue=function(t,V){return this.getNodeValue(t,V)},V.prototype.setValue=function(t,V,n){var i,e,r=this,c=r.getNode(t,V);c&&(i=c.value,e=c.calc),(e&&e.formula||i!==n)&&(r.setCurrentObjectId(t),r.removeFormula(t,V),r.setNodeValue(t,V,n),r.dirty(t,V),r.calculate(t,V))},V.prototype.getExpression=function(t,V){var n=this.getCalcObj(t,V);return n&&n.expression},V.prototype.getFormula2=function(t,V,n){var i,e=this.getCalcObj(t,V);return e&&e.expression&&!a(n)?(e.expression.source&&(e.expression.source.Wbt=n),i="="+this.unparseFormula(e.expression),e.expression.source&&delete e.expression.source.Wbt,i):e&&e.formula?"="+e.formula:void 0},V.prototype.setFormula=function(t,V,n,i,e,r,c){var o,s,d,a=this,h=a.getFormula2(t,V),u=n;u&&"="!==u[0]&&(u="="+u),h!==u?(o=!1,n&&n.length>0&&("="===n[0]&&(n=n.substring(1)),a.setCurrentObjectId(t),(s=a.getContext(t)).keepUnknownFormulas=c,s.sheetSource=e,d=a.parser_.parse(s,n),s.sheetSource=void 0,this.checkAndProcessExpression(d,e)&&(a.setExpression(t,V,d,r),o=!0)),o||a.removeFormula(t,V)):i&&(a.dirty(t,V),a.calculate(t,V))},V.prototype.removeFormula=function(t,V){var n=this,i=n.getNode(t,V),e=i&&i.calc;e&&(e.CMt(),delete e.expression,delete e.formula)},V.prototype.setExpression=function(t,V,n,i){var e,r,c=this;if(c.yeV&&(e=c.getCalcObj(t,V),c.yeV({id:t,name:V,expression:e&&e.expression})),c.removeFormula(t,V),!n)return null;r=c.unparseFormula(n),e=c.getCalcObj(t,V,!0),a(i)||(e.acceptReference=i),e.formula=r,e.expression=n,e.isCalculating=!1,e.yB(),c.dirty(t,V),c.calculate(t,V)},V.prototype.unparseFormula=function(t){var V=this.getParser(),n=this.getContext();return V.unparse(n,t)},V.prototype.evaluateExpression=function(t){var V=this.getEvaluator(),n=this.getContext();return V.evaluateExpression(t,n)},V.prototype.evaluate=function(t){var V=this,n=V.getParser(),i=V.getContext(),e=n.parse(i,t);return e&&V.getEvaluator().evaluateExpression(e,i)},V.prototype.dirty=function(t,V){var n=this.getCalcObj(t,V);n&&n.vyt()},V.prototype.dirtyAll=function(t){var V,n=this.store_,i=function(t){var V,i,e=n[t];if(e)for(V in e)e.hasOwnProperty(V)&&(i=e[V].calc)&&i.vyt()};if(a(t))for(V in n)n.hasOwnProperty(V)&&i(V);else i(t)},V.prototype.checkAndProcessExpression=function(t,V){var n,i,e=this;if(!t)return!1;if(1===t.type&&!t.source){if(!V)return!1;t.source=V}if(7===t.type){if(n=t.function,(i=t.arguments).some((function(t){return!e.checkAndProcessExpression(t,V)})))return!1;if(M(n)&&this.checkAndProcessExpression(n,V))return!1}else{if(M(t.value)&&!this.checkAndProcessExpression(t.value,V))return!1;if(M(t.value2)&&!this.checkAndProcessExpression(t.value2,V))return!1}return!0},V.prototype.getSheet=function(){},V}(i.CalcSource),V.PropertySource=l,g=function(){function t(t){this.propertySource=t,t&&t.setCalcSourceModel2(this)}return t.prototype.getSource=function(){return this.propertySource},t.prototype.Cde=function(t,V){this.propertySource.Cde(t,V)},t.prototype.lwt=function(){return[]},t.prototype._cV=function(){},t.prototype.EcV=function(){},t.prototype.getCalcObj=function(t,V){var n=this.propertySource,i=n.getContext(),e=t.source?{id:t.source.getName()}:null,r=w(e||i,t.value);return n.getCalcObjFromNode(r,V)},t.prototype.vwt=function(t,V){var n=this,i=null,e=t.indexOf("#");return e>0?(i=t.substring(0,e),t=t.substring(e+1)):i=n.propertySource.getCurrentObjectId(),n.propertySource.getCalcObj(i,t,V)},t.prototype.setCalcService=function(t){this.propertySource.setCalcService(t)},t.prototype.getCalcService=function(){return this.propertySource.getCalcService()},t.prototype.Ryt=function(){},t}(),V.PropertySourceModel=g},"./dist/plugins/shape/ui/shape-alignment.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u;function x(t,V,n){var i,e,r;if(t.length<2)return[];switch(V){case 0:return i=Y(t,n),t.map((function(t){return{id:t.id,offset:i-_(t,n)}}));case 1:return e=T(t,n),t.map((function(t){return{id:t.id,offset:e-X(t,n)/2-_(t,n)}}));case 2:return r=O(t,n),t.map((function(t){return{id:t.id,offset:r-E(t,n)}}));default:return[]}}function f(t,V){var n,i,e,c,o,s,d;if(t=t.filter((function(t){return 1!==t.ttV||null===t.JVV.startConnector()&&null===t.JVV.endConnector()})),t.length<3)return[];for(n=Y(t,V),e=((i=O(t,V))-n-(0,r.sum)(t,(function(t){return X(t,V)})))/(t.length-1),t.sort((function(t,n){return _(t,V)-_(n,V)||S(t,V)-S(n,V)})),c=[{id:t[0].id,offset:0}],o=1,s=n+X(t[0],V);o<t.length-1;o++)d=t[o],s+=e,c.push({id:d.id,offset:s-_(d,V)}),s+=X(d,V);return c.push({id:t[t.length-1].id,offset:0}),c}function y(t){var V=t.moveShapes,n=t.offset,i=t.direction,e=l(V,i),r=g(V,i),c=n>0?0:1,o=A(r.map((function(t){return t+n})),e,c);return M(v(o.adjacent,o.curPos,n),c)}function l(t,V){var n,i;return!Array.isArray(t)||t.length<1?[]:(i=(n=P(t[0])).getShapePartLines(t),0===V?i.hLines:i.vLines)}function g(t,V){if(!Array.isArray(t)||t.length<1)return[];var n=[];return t.forEach((function(t){n=n.concat(F(t,V))})),n}function A(t,V,n){var i,e,r,c,o=u,s={adjacent:null};for(i=0;i<t.length;i++)(c=p(r=R(e=t[i],V,n),e,n))<o&&(o=c,s={curPos:e,adjacent:r});return s}function p(t,V,n){return 0===n?t.next===c?u:t.next-V:t.previous===c?u:V-t.previous}function v(t,V,n){var i,e;return null===t?n:(t.previous===c||t.next===c?(i=a,e=0):(i=I(t.previous,t.next),e=1),n>0&&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 w(t){var V,n=t.targetShapes,i=t.direction,e=l(n,i),r=t.pointerPos;return-1!==e.indexOf(r)?r:j(V=R(r,e),r)}function j(t,V){return t.previous!==c&&t.next!==c?o(t.previous-V)<o(t.next-V)?t.previous:t.next:t.next!==c&&o(t.next-V)<a?t.next:t.previous!==c&&o(t.previous-V)<a?t.previous:V}function b(t){var V=t.targetShape,n=t.moveDirection,i=t.direction,e=t.boundType,r=l([V],i),o=m(V,i,e),s=R(o,r),d=L(s,n);return d!==c||(d=L(s=R(o=C(V,i,e),r),n))!==c?M(d-o,n):0}function L(t,V){return 1===V?t.previous:t.next}function m(t,V,n){return 1===n?_(t,V):E(t,V)}function C(t,V,n){return 1===n?E(t,V):_(t,V)}function R(t,V,n){var i,e={};for(i=0;i<V.length;i++){if(t<V[i])return e.next=V[i],0!==i&&(e.previous=V[i-1]),e;if(t===V[i])return 1===n?(e.next=V[i],0!==i&&(e.previous=V[i-1])):0===n?(i!==V.length-1&&(e.next=V[i+1]),e.previous=V[i]):(i!==V.length-1&&(e.next=V[i+1]),0!==i&&(e.previous=V[i-1])),e}return V.length>0&&(e.previous=V[V.length-1]),e}function I(t,V){return(V-t)*h}function M(t,V){return 0===V?d(t):s(t)}function _(t,V){return 0===V?(0,e.getActualBound)(t).left:(0,e.getActualBound)(t).top}function E(t,V){return 0===V?(0,e.getActualBound)(t).right:(0,e.getActualBound)(t).bottom}function S(t,V){return 0===V?(0,e.getActualBound)(t).top:(0,e.getActualBound)(t).left}function F(t,V){var n=t.angle%360,i=(0,r.getShapePoints)(t,n);return 0===V?i.map((function(t){return t.x})):i.map((function(t){return t.y}))}function X(t,V){var n=(0,e.getActualBound)(t);return 0===V?n.right-n.left:n.bottom-n.top}function Y(t,V){return 0===V?(0,i.getBoundForHoldShapes)(t,void 0,!0).left:(0,i.getBoundForHoldShapes)(t,void 0,!0).top}function O(t,V){return 0===V?(0,i.getBoundForHoldShapes)(t,void 0,!0).right:(0,i.getBoundForHoldShapes)(t,void 0,!0).bottom}function T(t,V){var n=Y(t,V),i=O(t,V);return(i-n)/2+n}function P(t){return t.JVV&&t.JVV.Mf.shapes}Object.defineProperty(V,"__esModule",{value:!0}),V.getMoveOffsetByDirection=V.getResizeTarget=V.getShapeMoveOffset=V.distribute=V.align=void 0,i=n("./dist/plugins/shape/ui/compoundShape.js"),e=n("./dist/plugins/shape/ui/shapes.js"),r=n("./dist/plugins/shape/ui/util.js"),c=void 0,o=Math.abs,s=Math.floor,d=Math.ceil,a=10,h=.2,u=Number.MAX_VALUE,V.align=x,V.distribute=f,V.getShapeMoveOffset=y,V.getResizeTarget=w,V.getMoveOffsetByDirection=b},"./dist/plugins/shape/ui/shape-parallelPath.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f;function y(t,V,n,e){var r=p(t,V),c=v(n,r),o=w(n,r);return{startPoint:{x:e===i.BorderType.outter?t.x-c:t.x+c,y:e===i.BorderType.outter?t.y-o:t.y+o},endPoint:{x:e===i.BorderType.outter?V.x-c:V.x+c,y:e===i.BorderType.outter?V.y-o:V.y+o}}}function l(t,V){var n=t.x,i=t.y,e=V.x,r=V.y;return{factorA:r-i,factorB:n-e,factorC:e*i-n*r}}function g(t,V){var n,i,e=t.factorA,r=t.factorB,c=t.factorC,o=V.factorA,s=V.factorB,d=V.factorC;return e*s-o*r===0||A(n=e/r,i=o/s)<.1?null:{x:(d*r-c*s)/(e*s-o*r),y:(c*o-d*e)/(e*s-o*r)}}function A(t,V){var n=u(t),i=u(V),e=Math.abs(n-i),r=a-e;return x(e,r)}function p(t,V){return-r(V.y-t.y,V.x-t.x)}function v(t,V){return t*c(V)}function w(t,V){return t*o(V)}function j(t,V){return d(s(t.x-V.x,2)+s(t.y-V.y,2))}function b(t,V,n){var i=j(t,V),e=j(t,n);return i<e?V:n}function L(t,V,n){return C(m(t,V,n))}function m(t,V,n){return(t=K(t)).a=I(t,V,n),t.b=M(t,V,n),t}function C(t){return{startPoint:{x:t.a*o(t.startAngle)+t.center.x,y:t.b*c(t.startAngle)+t.center.y},endPoint:{x:t.a*o(t.endAngle)+t.center.x,y:t.b*c(t.endAngle)+t.center.y}}}function R(t,V,n){var i,e,r,c,o=V.center.x,a=V.center.y,h=t.startPoint.x-o,u=-(t.startPoint.y-a),x=t.endPoint.x-o,f=-(t.endPoint.y-a),y=V.a,l=V.b,g=s(x-h,2)/s(y,2)+s(f-u,2)/s(l,2),A=2*h*(x-h)/s(y,2)+2*u*(f-u)/s(l,2),p=s(h,2)/s(y,2)+s(u,2)/s(l,2)-1,v=s(A,2)-4*g*p;return v<0?null:b(n,r={x:h+(x-h)*(i=(-A+d(v))/(2*g))+o,y:-(u+(f-u)*i)+a},c={x:h+(x-h)*(e=(-A-d(v))/(2*g))+o,y:-(u+(f-u)*e)+a})}function I(t,V,n){return n===i.BorderType.outter?t.clockwise?t.a-V:t.a+V:t.clockwise?t.a+V:t.a-V}function M(t,V,n){return n===i.BorderType.outter?t.clockwise?t.b-V:t.b+V:t.clockwise?t.b+V:t.b-V}function _(t,V){var n,i=V.x-t.center.x,e=-(V.y-t.center.y),r=i/t.a;return r>1?r=1:r<-1&&(r=-1),E(n=i===t.a&&0===e?0:0===i&&e===t.b?.5*a:i===-t.a&&0===e?a:0===i&&e===-t.b?1.5*a:e>0?h(r):2*a-h(r))}function E(t){var V=-t,n=2*a-t;return e(V)<e(n)?V:n}function S(t,V,n){var e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w=[],j=Z(t,w),b=j.length,L=j[0].info,m=j[0].index;if(b<2)return 1===b&&(w[m]=L),w;for(e=j[1].info,r=j[1].index,c=j[b-2].index,s=z(L,o=j[b-1].info),d=e.origin===i.PointSource.arcTo,a=1;a<b;a++)h=j[a-1].info,u=j[a].info,x=j[a].index,f=B(h,u,V,n),1===a&&(w[0]={origin:i.PointSource.lineTo,point:f.startPoint}),a!==b-1?(y=j[a+1].info,g=W((l=w[j[a-1].index]).point,u,f,y,V,n),w[x]=g):!s||s&&2===b?w[x]=k(u,f.endPoint,w[c],V,n):w.length>1&&((p=Q(f,L,e,V,n,A=w[m].point))&&(w[m]={origin:i.PointSource.lineTo,point:p},d&&U(p,v=w[r].ellipseInfo)),u.isAdditionAdded||(w[x]=k(u,p,w[c],V,n)));return D(w),w}function F(t,V){return t<1?V:F(t-1,Y(V)).concat(F(t-1,Y(V,!1)))}function X(t,V){var n,i;return t<1?V:(n=X(t-1,O(V)),i=X(t-1,O(V,!1)),n.concat(i))}function Y(t,V){var n,i;return void 0===V&&(V=!0),n=P(f,t[0].x,t[1].x,t[2].x),i=P(f,t[0].y,t[1].y,t[2].y),V?T(n.firstSub,i.firstSub,3):T(n.secondSub,i.secondSub,3)}function O(t,V){var n,i;return void 0===V&&(V=!0),n=N(f,t[0].x,t[1].x,t[2].x,t[3].x),i=N(f,t[0].y,t[1].y,t[2].y,t[3].y),V?T(n.firstSub,i.firstSub,4):T(n.secondSub,i.secondSub,4)}function T(t,V,n){var i,e=[];for(i=0;i<n;i++)e.push({x:t[i],y:V[i]});return e}function P(t,V,n,i){return{firstSub:[V,t*n-(t-1)*V,s(t,2)*i-2*t*(t-1)*n+s(t-1,2)*V],secondSub:[s(t,2)*i-2*t*(t-1)*n+s(t-1,2)*V,t*i-(t-1)*n,i]}}function N(t,V,n,i,e){return{firstSub:[V,t*n-(t-1)*V,s(t,2)*i-2*t*(t-1)*n+s(t-1,2)*V,s(t,3)*e-3*s(t,2)*(t-1)*i+3*t*s(t-1,2)*n-s(t-1,3)*V],secondSub:[s(t,3)*e-3*s(t,2)*(t-1)*i+3*t*s(t-1,2)*n-s(t-1,3)*V,s(t,2)*e-2*t*(t-1)*i+s(t-1,2)*n,t*e-(t-1)*i,e]}}function D(t){for(var V=0;V<t.length;V++)t[V].origin===i.PointSource.fixed&&t[V-1]&&(t[V].point=K(t[V-1].point))}function U(t,V){var n,i=q(V);i||(n=_(V,t),V.startAngle=n)}function q(t){var V=2*a;return!!(t.clockwise&&t.startAngle-t.endAngle>=V)||!t.clockwise&&t.endAngle-t.startAngle>=V}function k(t,V,n,e,r){var c,o={origin:t.origin,point:V};return t.origin===i.PointSource.arcTo&&(o.ellipseInfo=m(t.ellipseInfo,e,r),(c=q(o.ellipseInfo))||(o.ellipseInfo.startAngle=_(o.ellipseInfo,n.point),o.ellipseInfo.endAngle=_(o.ellipseInfo,V))),o}function B(t,V,n,e){return V.origin===i.PointSource.lineTo?y(t.point,V.point,n,e):L(V.ellipseInfo,n,e)}function Z(t,V){var n=[];return t.forEach((function(t,e,r){H(r[e-1],r[e])?V[e]={origin:i.PointSource.fixed}:n.push({index:e,info:K(t)})})),n}function H(t,V){return V.origin===i.PointSource.arcTo&&(0===V.ellipseInfo.a||0===V.ellipseInfo.b)||!(!t||V.origin!==i.PointSource.lineTo||!G(t.point,V.point)&&!J(t.point,V.point))}function z(t,V){return G(t.point,V.point)}function Q(t,V,n,e,r,c){var o,s,d,a;return n.origin===i.PointSource.arcTo?R(t,o=m(n.ellipseInfo,e,r),c):g(s=l(t.startPoint,t.endPoint),a=l((d=B(V,n,e,r)).startPoint,d.endPoint))}function G(t,V){return t.x===V.x&&t.y===V.y}function J(t,V){return e(t.x-V.x)<.1&&e(t.y-V.y)<.1}function W(t,V,n,e,r,c){var o,s,d,a,h,u,x,f,A,p;return V.origin===i.PointSource.lineTo&&e.origin===i.PointSource.arcTo?(o=R(n,m(e.ellipseInfo,r,c),n.endPoint),{origin:i.PointSource.lineTo,point:o||n.endPoint}):V.origin===i.PointSource.lineTo&&e.origin===i.PointSource.lineTo?(h=g(s=l(n.startPoint,n.endPoint),a=l((d=y(V.point,e.point,r,c)).startPoint,d.endPoint)),{origin:i.PointSource.lineTo,point:h||n.endPoint}):V.origin===i.PointSource.arcTo&&e.origin===i.PointSource.lineTo?(d=y(V.point,e.point,r,c),x=q(u=m(V.ellipseInfo,r,c)),A=_(u,f=t),p=_(u,h=(o=R(d,u,n.endPoint))||n.endPoint),x||(u.startAngle=A,u.endAngle=p),{origin:i.PointSource.arcTo,point:h,ellipseInfo:u}):{origin:i.PointSource.arcTo,point:n.endPoint,ellipseInfo:m(V.ellipseInfo,r,c)}}function K(t){return JSON.parse(JSON.stringify(t))}Object.defineProperty(V,"__esModule",{value:!0}),V.getSubBezierPoints=V.getSubQuaBezierPoints=V.getParallelPathPoints=V.getLineArcIntersect=V.getArcPath=void 0,i=n("./dist/plugins/shape/shape.interface.js"),e=Math.abs,r=Math.atan2,c=Math.sin,o=Math.cos,s=Math.pow,d=Math.sqrt,a=Math.PI,h=Math.acos,u=Math.atan,x=Math.min,f=.5,V.getArcPath=C,V.getLineArcIntersect=R,V.getParallelPathPoints=S,V.getSubQuaBezierPoints=F,V.getSubBezierPoints=X},"./dist/plugins/shape/ui/shapes.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y,O,T,P,N,D,U,q,k,B,Z,H,z,Q,G,J,W,K,$,tt,Vt,nt,it,et,rt,ct,ot,st,dt,at,ht,ut,xt,ft,yt,lt,gt,At,pt,vt,wt,jt,bt,Lt,mt,Ct,Rt,It,Mt,_t,Et,St,Ft,Xt,Yt,Ot=this&&this.nJr||function(){return Ot=Object.assign||function(t){var V,n,i,e;for(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},Ot.apply(this,arguments)},Tt=this&&this.iJr||function(t,V,n){if(n||2===arguments.length)for(var i=0,e=V.length,r;i<e;i++)!r&&i in V||(r||(r=Array.prototype.slice.call(V,0,i)),r[i]=V[i]);return t.concat(r||Array.prototype.slice.call(V))},Pt;function Nt(t){return parseInt(t,16)}function Dt(t,n){var i=n?V.VARIABLE_RECT_SIZE_IN_TOUCH:V.VARIABLE_RECT_SIZE,e=yt(i,dt+2*at);return w(t,e,i,i,i)}function Ut(t,V){return ft(t[1],yt(t[0],V))}function qt(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 kt(t,V){var n=wt(t);return jt.test(n)?"rgba("+Nt(bt.$1)+","+Nt(bt.$2)+","+Nt(bt.$3)+","+V+")":n}function Bt(t,V){var n,i,e,r,c,o,s,d,a=wt(t);if("#"===a[0])n=Nt(a.substr(1,2)),i=Nt(a.substr(3,2)),e=Nt(a.substr(5,2));else{if(!(c=t.match(Lt))||5!==N(c))return a;if(n=+c[1],i=+c[2],e=+c[3],0===(r=+c[4]))return a}return o=[n,i,e],(s=mt[V])&&(o=[(d=S.Cv({r:n,g:i,b:e},s)).r,d.g,d.b]),r&&o.push(r),(r?"rgba(":"rgb(")+o.join(",")+")"}function Zt(t,V){var n,i,e=T(t.color,V);return e&&(n=0,(i=t.transparency)!==xt&&i!==ut&&(n=T(i,V)),e=kt(e,1-n)),e}function Ht(t){var V,n="ui-parse-color-cache";return t[n]||((V=o.Color.fromString(t.color)).applyBrightness(t.brightness),V.transparency=t.transparency,t[n]=V.toRgbaString()),t[n]}function zt(t){var V=t,n=o.FillType.Solid;return F(V.stops)?F(V.src)||(n=o.FillType.Picture):n=o.FillType.Gradient,n}function Qt(t,V,n,i,e,r){var c,o=null===(c=V.JVV)||void 0===c?void 0:c.Mf,s=null==o?void 0:o.parent,d=V.OtV||1;(0,l.paintSparklineEx)(s,n,t,i,e,{asyncPaintEndCallback:r,sheet:o,zoomFactor:d})}function Gt(t){var V=t%360;return V+=360,V%=360}function Jt(t,V,n){var i,e,r=0,c=0,o=0,s=0;return n>=0&&n<=90?(i=Kt(r,c,t,V,n),e=D(n),o=i*At(e),s=i*gt(e)):n>90&&n<=180?(r=t,e=D(180-n),o=r-(i=Kt(r,c,0,V,180-n))*At(e),s=c+i*gt(e)):n>180&&n<=270?(r=t,c=V,e=D(n-180),o=r-(i=Kt(r,c,0,0,n-180))*At(e),s=c-i*gt(e)):n>270&&n<=360&&(c=V,e=D(360-n),o=r+(i=Kt(r,c,t,0,360-n))*At(e),s=c-i*gt(e)),{x0:r,y0:c,x1:o,y1:s}}function Wt(t,V,n){var i=o.LinearGradientFillDirection,e=90-U(B(V,t)),r=n;switch(n){case i.topLeftToBottomRight:r=e;break;case i.topRightToBottomLeft:r=180-e;break;case i.bottomRightToTopLeft:r=180+e;break;case i.bottomLeftToTopRight:r=360-e}return r}function Kt(t,V,n,i,e){var r=lt(n-t),c=lt(i-V),o=Z(r*r+c*c),s=D(e),d=B(c,r),a=lt(s-d);return o*At(a)}function $t(t,V,n,i){var e=n>t/2?0:t,r=i>V/2?0:V;return d.Common.distance(n,i,e,r)}function tV(t,V,n){var i=o.RadialGradientFillDirection,e=0,r=0;switch(n.direction){case i.fromCenter:e=.5,r=.5;break;case i.fromTopLeft:e=0,r=0;break;case i.fromTopRight:e=1;break;case i.fromBottomLeft:r=1;break;case i.fromBottomRight:e=1,r=1;break;default:return}return{x:e*=t,y:r*=V}}function VV(t){return t.isPrintContext}function nV(t){return t.nn0}function iV(t){var V,n,i,e=t.src;if("string"==typeof e)return V=(0,d.getImageTypeFromDataUrl)(e),n=t.transparency>0,(i="jpeg"===V||"jpg"===V)&&n?"png":V}function eV(t){var V,n,i=t.JVV,e=i&&i.ytV,r=e&&e.ntV;return!F(r)&&!((V=-1===r)||(n=r>=109&&r<=124))}function rV(t){var V=t.JVV;return V&&V.Mf&&V.Mf.BO()}function cV(t,V){var n=rV(V);n&&n.addImage(t)}function oV(t,V){if(C(t)){var n=rV(V);return n?(n.addImage(t),n.getImage(t)):document.createElement("img")}}function sV(t,V){var n=rV(V);return n&&n.qh(t)}function dV(t,V,n,i,e){i/e!==n&&(i/n>e?e=i/n:i=e*n),t.width=i,t.height=e,t.getContext("2d").drawImage(V,0,0,i,e)}function aV(t,V,n,i,e){var r=e.crop||{},c=e.offsetLeft||0,o=e.offsetRight||0,s=e.offsetTop||0,d=e.offsetBottom||0,a=r.left||0,h=r.right||0,u=r.top||0,x=r.bottom||0,f=a*n,y=u*i,l=Math.max(0,n-f-h*n),g=Math.max(0,i-y-x*i),A=c*t,p=s*V,v=Math.max(0,t-A-o*t),w=Math.max(0,V-p-d*V);return{sx:f,sy:y,sw:l,sh:g,dx:A,dy:p,dw:v,dh:w}}function hV(t,V,n,i,e){var r=e%3,c=Math.floor(e/3),o=0,s=0;return 1===r?o=(t-n)/2:2===r&&(o=t-n),1===c?s=(V-i)/2:2===c&&(s=V-i),{tx:o,ty:s}}function uV(t){var V=!1,n=!1;return t===o.TextureFillMirrorType.both?(V=!0,n=!0):t===o.TextureFillMirrorType.horizontal?V=!0:t===o.TextureFillMirrorType.vertical&&(n=!0),{needMirrorX:V,needMirrorY:n}}function xV(t,V){var n=V.scaleX,i=V.scaleY,e=1,r=t.OtV;return t.TtV&&r&&(n*=r,i*=r,e=r),{scaleX:n,scaleY:i,zoomScale:e}}function fV(t,V,n,i,e,r,c,o){t.save(),c&&(t.scale(-1,1),n=-(n+e)),o&&(t.scale(1,-1),i=-(i+r)),t.drawImage(V,n,i,e,r),t.restore()}function yV(t,V,n,i,e){var r,c,o,s,d;if(n<1||i<1)return"transparent";c=(r=uV(e)).needMirrorX,o=r.needMirrorY,s=t.getContext("2d"),Ct.width=2*n,Ct.height=2*i,fV(s,d=V,0,0,n,i,!1,!1),fV(s,d,n,0,n,i,c,!1),fV(s,d,0,i,n,i,!1,o),fV(s,d,n,i,n,i,c,o)}function lV(){var t=document.createElement("canvas");return t.width=0,t.height=0,t}function gV(t,V){var n,i,e,r,c,o,s=t.options,d=V;return!s||s.brightness!==d.brightness||s.contrast!==d.contrast||s.grayscale!==d.grayscale||s.blackAndWhite!==d.blackAndWhite||s.transparency!==d.transparency||(i=(n=s.duotone)&&n.color1,e=n&&n.color2,c=(r=d.duotone)&&r.color1,o=r&&r.color2,i!==c||e!==o)}function AV(t,V,n,i){var e=t.bufferCanvas,r=t.options,c=V.src;if(t.bufferCanvasIsDirty)return!0;if(!e.width||!e.height)return!0;if(V.tilePictureAsTexture!==r.tilePictureAsTexture)return!0;if(V.transparency!==r.transparency)return!0;if(!0===V.tilePictureAsTexture&&V.mirrorType!==r.mirrorType)return!0;if(!1===V.tilePictureAsTexture){if((e.width<n||e.height<i)&&I(c))return!0;if(gV(t,V))return!0}return!1}function pV(t,V,n,i){var e,r,c,o=t.bufferCanvas,s=t.imgWidth,d=t.imgHeight,a=V.src,u=AV(t,V,n,i);u&&o instanceof HTMLCanvasElement&&(e=s/d,V.tilePictureAsTexture?(yV(Ct,t.originSource,s,d,V.mirrorType),o.width=2*s,o.height=2*d,o.getContext("2d").drawImage(Ct,0,0)):(r=s,c=d,I(a)&&(r=1.5*Math.max(r,n),c=1.5*Math.max(c,i)),dV(o,t.originSource,e,r,c)),(0,h.applyPictureFormat)(o,V),t.options=PV(V),t.bufferCanvasIsDirty=!1,t.fillModeBufferCanvas={})}function vV(t,V){var n,i,e;t.fillModeBufferCanvas||(t.fillModeBufferCanvas={}),(n=t.fillModeBufferCanvas)[V]||(i=t.bufferCanvas,(e=document.createElement("canvas")).width=i.width,e.height=i.height,e.getContext("2d").drawImage(i,0,0),(0,h.applyPictureFormat)(e,{fillMode:V}),n[V]=e)}function wV(t,V,n,i,e,r,c,o){var s,d,a,h,u=Ct,x=u.getContext("2d"),f=yt(V.width*e,1),y=yt(V.height*r,1);for((n%=f)>0&&(n-=f),(i%=y)>0&&(i-=y),s=c-n,d=o-i,u.width=s,u.height=d,x.drawImage(V,0,0,f,y),a=f,h=y;a<s||h<d;)x.drawImage(u,0,0,a,h,a,0,a,h),a*=2,x.drawImage(u,0,0,a,h,0,h,a,h),h*=2;t.drawImage(u,-n,-i,c,o,0,0,c,o)}function jV(t,V){return Zt(t,V)}function bV(t,V,n,i,e,r,c){var o,s,d,a,h;if(!F(e.direction))return a=$t(n,i,s=(o=tV(n,i,e)).x,d=o.y),s+=r,d+=c,h=t.createRadialGradient(s,d,0,s,d,a),e.stops.forEach((function(t){h.addColorStop(t.position,Ht(t))})),h}function LV(t,V,n,i,e,r,c){var o,s,d,a,h,u,x,f;if(F(e.angle)||(o=Gt(e.angle)),F(e.direction)||(o=Wt(n,i,e.direction)),F(e.stops)||(s=e.stops),!F(o))return a=(d=Jt(n,i,o)).x0,h=d.y0,u=d.x1,x=d.y1,f=t.createLinearGradient(a+r,h+c,u+r,x+c),s.forEach((function(t){f.addColorStop(t.position,Ht(t))})),f}function mV(t,V,n,i){var e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p=0;for(V.angle&&(p=V.angle),e=t.left+n/2,r=t.top+i/2,c=t.left-e,o=t.top-r,s=gt(D(p))*yt(n,i),d=At(D(p))*yt(n,i),a=c+lt(d),h=o+lt(s),p>90&&p<270&&(u=c,c=a,a=u),p>180&&(u=o,o=h,h=u),x=CV().createLinearGradient(c,o,a,h),f=V.stops,y=0,l=N(f);y<l;y++)g=T(f[y].color,t),A=T(f[y].position,t),x.addColorStop(A,g);return x}function CV(){var t,V=It;return V||((t=X("canvas")).hidden=!0,t.width=1,t.height=1,document.body.appendChild(t),Rt=t,It=V=t.getContext("2d")),V}function RV(t,V,n,i,e){var r,c,s,d;V&&(r=-i/2,c=-e/2,eV(n)&&(i=(s=n.kg).width,e=s.height,r+=s.left,c+=s.top),t.save(),V.type===o.GradientFillType.linear?d=LV(t,n,i,e,V,r,c):V.type===o.GradientFillType.radial&&(d=bV(t,n,i,e,V,r,c)),d&&(t.fillStyle=d,t.fill()),t.restore())}function IV(t,V,n,i,e,r,c){var o=r.fillModeBufferCanvas[c],s=aV(i,e,o.width,o.height,V),d=s.sx,a=s.sy,h=s.sw,u=s.sh,x=s.dx,f=s.dy,y=s.dw,l=s.dh;nV(t)?t.drawImage(o,d,a,h,u,x,f,y,l,{imageType:r.imgTypeForExportPDF}):t.drawImage(o,d,a,h,u,x,f,y,l)}function MV(t,V,n,i,e,r,c){var o=V.offsetX,s=V.offsetY,d=V.alignment,a=r.imgWidth,h=r.imgHeight,u=xV(n,V),x=u.scaleX,f=u.scaleY,y=u.zoomScale,l=hV(i,e,a*x,h*f,d),g=l.tx,A=l.ty,p=r.fillModeBufferCanvas[c];if(g+=o*y,A+=s*y,!x||!f)return t.fillStyle="transparent",void t.fill();VV(t)?wV(t,p,g,A,x,f,i,e):(t.save(),t.translate(g,A),t.scale(x,f),t.fillStyle=t.createPattern(p,"repeat"),t.fill(),t.restore())}function _V(t,V,n,i,e,r,c){var o,s,d,a=V.src,h=n[r];if(h&&0===h.type||(h=n[r]={type:0,bufferCanvas:lV()}),h.options&&h.options.src===a||(h.originSource=oV(a,n),h.options=PV(V),h.originSourceIsDirty=!0),h.originSourceIsDirty){if(!sV(a,n))return;if(o=h.originSource,z.mozilla&&0===o.naturalWidth&&0===o.naturalHeight&&R(a)&&(s=_(a)))return V.src=s,void cV(s,n);if(!(d=M(o,a)).width||!d.height)return;h.imgWidth=d.width,h.imgHeight=d.height,h.imgTypeForExportPDF=iV(h.options),h.originSourceIsDirty=!1,h.bufferCanvasIsDirty=!0}pV(h,V,i,e),vV(h,c),SV(t,V,n,i,e,h,c)}function EV(t,V,n,i,e,r,c){var o,s=V.src,d=n[r];d&&1===d.type||(d=n[r]={type:1,originSource:lV(),bufferCanvas:lV()}),d.options&&d.options.src===s&&d.imgWidth===i&&d.imgHeight===e||(d.options=PV(V),(o=d.originSource).width=i,o.height=e,Qt(o.getContext("2d"),n,s,i,e,(function(){var t;d&&n&&!d.bufferCanvasIsDirty&&(d.bufferCanvasIsDirty=!0,null===(t=n.JVV)||void 0===t||t.refresh())})),d.imgWidth=i,d.imgHeight=e,d.bufferCanvasIsDirty=!0),pV(d,V,i,e),vV(d,c),SV(t,V,n,i,e,d,c)}function SV(t,V,n,i,e,r,c){var o,s=V.tilePictureAsTexture;t.save(),t.clip(),t.translate(-i/2,-e/2),eV(n)&&(o=n.kg,t.translate(o.left,o.top),i=o.width,e=o.height),s?MV(t,V,n,i,e,r,c):IV(t,V,n,i,e,r,c),t.restore()}function FV(t,V,n,i,e,r,c){var o=V.src;c=c||"norm",C(o)?_V(t,V,n,i,e,r,c):(0,d.isSparkLineValue)(o)?EV(t,V,n,i,e,r,c):(t.save(),t.fillStyle="transparent",t.fill(),t.restore())}function XV(t,V,n,i,e,r,c){var s,d;V&&((s=zt(V))===o.FillType.Solid?(""===(d=jV(V,n))&&(d="transparent"),r&&(d=r(d)),t.fillStyle=d,t.fill()):s===o.FillType.Gradient?RV(t,V,n,i,e):s===o.FillType.Picture&&FV(t,V,n,i,e,rt,c))}function YV(t,n,i){var e,r=V.MIN_LINE_WIDTH;return F(i)||(r*=i),(e=t.width)>0?it(Math.max(r,e*n)):0}function OV(t,V,n,i,e,r){var c,o,s,d,a,h,u,x;V&&(c=xt,(o=V.gradient)&&0===o.type&&(c=mV(n,o,i,e)),c||(c=Zt(V,n)),s=n.TtV&&n.OtV||1,F(r)||(s=r),(d=YV(V,s,r))>0&&(t.lineWidth=d),(a=T(V.dashType,n))&&N(a)&&(h=a.map((function(t){return t*s})),t.setLineDash(h)),(u=T(V.capType,n))&&(t.lineCap=u),(x=T(V.joinType,n))&&(t.lineJoin=x),c&&(t.strokeStyle=c,t.stroke()))}function TV(t){return JSON.parse(JSON.stringify(t))}function PV(t){var V=TV(t);return V.src=t.src,V}function NV(t,V,n,i,e){var r,c,o;V&&((r=T(V.blur,n))!==ut&&(t.shadowBlur=r),V.color&&(t.shadowColor=Zt(V,n)),(V.angle||V.distance)&&((c=T(V.angle,n))===ut&&(c=90),(o=T(V.distance,n))===ut&&(o=1),t.shadowOffsetX=o*At(D(c)),t.shadowOffsetY=o*gt(D(c))))}function DV(t,V,n,i,e,r){var c,o,s,d,a,h,u,x;if(V&&(c=V.reflection)){for(h in o=T(c.distance,n),isNaN(o)&&(o=1),s=n.originalHeight,d=T(c.size,n),isNaN(d)||(s=d),t.save(),t.beginPath(),n.renderPath(t,V,i,e,!1,!1,!1),t.translate(0,o+n.height),t.scale(1,-1),t.clip(-i/2,o-s,i,yt(2*o,n.top)+e),a={type:1},V.fill)a[h]=V.fill[h];u=.8,x=T(c.transparency,n),isNaN(x)||(u*=x),a.transparency=u,XV(t,a,n,i,e),vn(t,V.stroke,n,r),t.restore()}}function UV(t,V,n,i,e){var r,c;V&&(r=T(V.size,n),isNaN(r)&&(r=5),NV(t,c={blur:r,color:Zt(V,n),distance:0},n,i,e))}function qV(t,V,n,i,r){var c,o,a,h,u,x,f,y,l,g,A,v,w,j,b,L,m,C,R,I,M,_,S,X,Y,O,P,D,U,q,k,B,Z,H,z,Q,G,J=V.JVV;if(!n)return xt;if(a=F(r)?T(n.text,V):r,F(a)&&(a=""),a=(a=""+a).replace(/\t/g,"    "),h=T(V.width,V),u=T(V.height,V),x=0,f=0,(y=V.textRect)&&(l=y.width,g=y.height,x=y.left,f=y.top,h=l,u=g),v=(A=!F(i)||V.TtV)&&(i||V.OtV)||1,(w=T(n.margins,V))||(w={left:10,top:5,right:10,bottom:5}),V.MeV=w,j=w.left*v,b=w.right*v,L=w.top*v,m=w.bottom*v,(C=T(n.verticalAlignment,V))||(C=0),(!(R=T(n.horizontalAlignment,V))||R>2)&&(R=0),I=0,M=0,_=T(n.textDirection,V),(S=T(n.font,V))&&(A&&(S=(X=J&&J.Mf)?F(i)?X.Dn._n(S):s.W.V(S,i).font:((Y=parseFloat(d.Common.getFontSize(S)))*v).toFixed(2)+S.substr(S.indexOf("px "))),p(t,S),S=t.font),O=d.Common.getFontHeight(S),P=[],F(n.textDirection)||n.textDirection===e.TextDirection.horz){if(u<O+L+m&&(0===C?m=0:1===C?(q=yt(u-O,0),L=(c=E([L,m],q))[0],m=c[1]):2===C&&(L=0)),B=(k=t.measureText("W").width)+j+b,1===R?h<B&&(q=yt(h-k,0),j=(o=E([j,b],q))[0],b=o[1]):h<B&&h>k+j?b=h-k-j:h<k+j&&h>k?(j=yt(3,h-k),b=0):h<k&&(j=3,b=0),g=u-L-m,(l=h-j-b)<=0||g<=0)return;Z="top",H="start",0===C||(1===C?M=g/2:2===C&&(M=g)),1===R?(H="center",I=l/2):2===R&&(H="right",I=l),t.textAlign=H,t.textBaseline=Z,z=_===e.TextDirection.horz?l:g,P=n.wrapTextInShape?QV(a,z,n.wrapNewLineOnly,S):QV(a,z,!0,S),(Q=N(P))&&(M-=(G=O*Q)/2*C),n.resizeToFitText&&!n.wrapTextInShape&&(D=P.reduce((function(V,n){return Math.max(V,t.measureText(n).width)}),0),D+=(w.left+w.right)*v),U=((U=O*N(P))>0?U:O)+(w.top+w.bottom)*v}return{font:S,textHeight:O,width:h,height:u,left:x,top:f,marginLeft:j,marginTop:L,marginBottom:m,marginRight:b,lines:P,x:I,y:M,textFitHeight:U,textFitWidth:n.wrapTextInShape?T(V.width,V):D}}function kV(t){var V,n,i=t.horizontalAlignment;if("number"==typeof i&&i>=0&&i<=2)return i;if("string"==typeof i){if("left"===i)return s.HorizontalAlign.left;if("center"===i)return s.HorizontalAlign.center;if("right"===i)return s.HorizontalAlign.right}switch(n=null!==(V=t.textDirection)&&void 0!==V?V:e.TextDirection.horz){case e.TextDirection.vert:return s.HorizontalAlign.right;case e.TextDirection.vert270:case e.TextDirection.wordArtVert:case e.TextDirection.eaVertLtr:return s.HorizontalAlign.left;case e.TextDirection.wordArtVertRtl:case e.TextDirection.eaVert:return s.HorizontalAlign.right;default:return s.HorizontalAlign.left}}function BV(t){var V,n,i=t.verticalAlignment;if("number"==typeof i&&i>=0&&i<=2)return i;if("string"==typeof i){if("top"===i)return s.VerticalAlign.top;if("center"===i)return s.VerticalAlign.center;if("bottom"===i)return s.VerticalAlign.bottom}switch(n=null!==(V=t.textDirection)&&void 0!==V?V:e.TextDirection.horz){case e.TextDirection.vert:return s.VerticalAlign.top;case e.TextDirection.vert270:return s.VerticalAlign.bottom;case e.TextDirection.wordArtVert:case e.TextDirection.eaVertLtr:case e.TextDirection.wordArtVertRtl:case e.TextDirection.eaVert:default:return s.VerticalAlign.top}}function ZV(t,V){var n,i,r,c=new s.Style,o={sheet:null,row:-1,col:-1,sheetArea:3};return c.font=null!==(n=V.font)&&void 0!==n?n:t.font,(r=null!==(i=t.textDirection)&&void 0!==i?i:e.TextDirection.horz)===e.TextDirection.wordArtVert||r===e.TextDirection.wordArtVertRtl?(c.isVerticalText=!0,c.textOrientation=0):r===e.TextDirection.eaVert||r===e.TextDirection.eaVertLtr?(c.isVerticalText=!0,c.textOrientation=-90):r===e.TextDirection.vert?(c.isVerticalText=!1,c.textOrientation=-90):r===e.TextDirection.vert270?(c.isVerticalText=!1,c.textOrientation=90):(c.isVerticalText=!1,c.textOrientation=0),c.hAlign=kV(t),c.vAlign=BV(t),c.wordWrap=!1!==t.wrapTextInShape,o.lineHeight=V.textHeight,o.fontInfo={fontSize:parseFloat(d.Common.getFontSize(c.font))},o.paintInfo={rightToLeft:r===e.TextDirection.wordArtVertRtl||r===e.TextDirection.eaVert||r===e.TextDirection.vert},{style:c,options:o}}function HV(t,V,n,i){var r,c,o,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C;if(T(n.text,V)&&(r=qV(t,V,n,i),!F(r)))return c=r.font,o=r.textHeight,a=r.width,h=r.height,u=r.marginLeft,x=r.marginTop,f=r.marginBottom,y=r.marginRight,l=T(V.width,V)-a,g=T(V.height,V)-h,A=ZV(n,r).style,p=h-x-f,n.textDirection===e.TextDirection.vert||n.textDirection===e.TextDirection.vert270?v=(w=s.q.un(n.text,p-4,c,!1,t)).length*o:n.textDirection===e.TextDirection.wordArtVert||n.textDirection===e.TextDirection.wordArtVertRtl?(j=Y.ee(t,n.text,c,p,0,A.vAlign,!0,!0,[{style:{font:c},text:n.text}]),v=(b=Y.re(j,A,A.hAlign)).reduce((function(t,V){return t+V.lineHeight}),0)):n.textDirection!==e.TextDirection.eaVert&&n.textDirection!==e.TextDirection.eaVertLtr||(j=O.ee(t,n.text,c,p,0,A.vAlign,!0,!0,[{style:{font:c},text:n.text}]),v=(b=O.re(j,A,A.hAlign)).reduce((function(t,V){return t+V.lineHeight}),0)),{width:v+l+u+y+(m=(L=parseInt(d.Common.getFontSize(A.font),10))>8?Math.floor((L-8)/5+2):1)+(C=o/2-L/2+m-1),height:h+g}}function zV(t,V,n,i){var r,c,o,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,X,P,D,U,q,k,B,Z,H,z;if(T(n.text,V)&&(r=qV(t,V,n,i),!F(r))){if(c=r.font,o=r.textHeight,a=r.width,h=r.height,u=r.left,x=r.top,f=r.marginLeft,y=r.marginTop,l=r.marginBottom,g=r.marginRight,A=r.lines,p=r.x,v=r.y,w=V.JVV,L=o/2-(j=parseFloat(d.Common.getFontSize(c)))/2+(b=j>8?Math.floor((j-8)/5+2):1)-1,t.save(),t.beginPath(),(m=w&&w.flipX)&&t.scale(m?-1:1,1),XV(t,n.fill,V,a,h),OV(t,n.stroke,V,a,h),C=n.shadow,R=n.glow,C?NV(t,C,V,a,h):R&&UV(t,R,V,a,h),p+=_=(I=u-V.width/2)+f,v+=E=(M=x-V.height/2)+y,(S=T(n.allowTextToOverflowShape,V))||(X=a-f-g,P=h-y-l,s.W.T0r(c)?t.rect(I,E,a,P):t.rect(_,E,X,P),t.clip()),F(n.textDirection)||n.textDirection===e.TextDirection.horz)for(D=0,U=N(A);D<U;D++)n.fill&&t.fillText(A[D],p,v+L/2),n.stroke&&t.strokeText(A[D],p,v+L/2),v+=o;else k=(q=ZV(n,r)).style,(B=q.options).sheet=V.JVV.Mf,k.foreColor=t.fillStyle,X=a-f-g,P=h-y-l,Z=new d.Rect(_,E,X,P),H={content:[{type:"text",value:n.text}]},z={left:[],right:[]},n.textDirection===e.TextDirection.vert||n.textDirection===e.TextDirection.vert270?Y.Kn(t,n.text,Z.x,Z.y,Z.width,Z.height,k,B,n.text,H,void 0,z):n.textDirection===e.TextDirection.eaVert||n.textDirection===e.TextDirection.eaVertLtr?O.Qn(t,n.text,Z.x,Z.y,Z.width,Z.height,k,B,n.text,H,void 0,z):Y.Qn(t,n.text,Z.x,Z.y,Z.width,Z.height,k,B,n.text,H,void 0,z);t.restore()}}function QV(t,V,n,i){var e,r,c,o,s,d=[];if(t&&N(t)>0){if(e=t.split(/\r\n|\r|\n/),n)return e;for((r=CV()).save(),i&&(r.font=i),c=0,o=N(e);c<o;c++)(s=GV(r,e[c],V))&&(0===N(s)?P(d,""):s.forEach((function(t){P(d,t)})));r.restore()}return d}function GV(t,V,n){var i,e,r,c,o,d,a,h,u=(0,s.zt)(V),x=[],f="",y=0;if(1===V.length)return[V];for(i=0,e=N(u);i<e;i++)if(r=u[i],c=t.measureText(r).width,y+(o=t.measureText(r.trim()).width)>n&&y>0)P(x,f.trim()),y=0,f="",i--;else if(o>n){for(d=JV(t,u[i],n,c),a=void 0,a=0;a<d.length-1;a++)P(x,d[a]);h=d[a],y=t.measureText(h).width,f=h}else 0===y&&0===o||(y+=c,f+=r);return N(f)>0&&P(x,f),x}function JV(t,V,n,i){var e,r,c,o,s,d,a,h,u;if(n<=0)return V?V.split(""):[];for(e=[],r=1,c=N(V),o=yt(r,Math.floor(n/(i/c))),s=0;s<c;){if(a=ft(o,d=c-s),h=V.substring(s,s+a),(u=t.measureText(h).width)<n)for(;a<d&&(h=V.substring(s,s+a+1),!((u=t.measureText(h).width)>n));)a++;else if(u>n)for(;a>r&&(a--,h=V.substring(s,s+a),!((u=t.measureText(h).width)<n)););a=yt(r,a),P(e,V.substring(s,s+a)),s+=a}return e}function WV(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!0}return!1}function KV(t,V,n){return WV(t)?V+n:n}function $V(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]=A([],t[n]):t[n]=A({},t[n]),t[n]=$V(t[n],i)));return t}function tn(t,V,n,i){var e,r=t.service;r?(e=r.getFormula(V,n))||r.setValueOrFormula(V,n,i):t.model[n]=i}function Vn(t){return t&&t.hyperlink&&!t.isSelected}function nn(t){return!Vn(t.ctV)&&rn(t)}function en(t){var V=t.GtV;return V&&V.styleSupportInfo().supportText}function rn(t){var V=t.ctV.ttV;return 0===V||4===V&&(en(t)&&t.isSelected())}function cn(t){return t!==o.AutoShapeType.rectangle}function on(t,V){return new St(t,V)}function sn(t,V,n,i){var e,r=Math.max(i,3*n/4);return n=4*r/3,e=Math.ceil(r*Xt[V]),{angle:Ft[3*t+V],radius:e,size:[n*Yt[V],n*Yt[t]]}}function dn(t,n,i,e,r,c,o){var s,d,a,h,u,x,f,y,l,g,A,p=c.stroke,v=Zt(p,i),w=p.width,j=V.MIN_ARROW_LINE_WIDTH;(isNaN(w)||w<1)&&(w=1),s=i.OtV||1,d=i.TtV,F(o)?1!==s&&d&&(w*=s):(w*=o,j*=o),a=c.endPoints,v&&a&&(h=a.beginArrow,u=a.endArrow,x=void 0,f=void 0,y=void 0,g=void 0,(l=h&&h.type)&&(f=n[0],y=n[1],an(t,f,x=Math.atan2(y.y-f.y,y.x-f.x),w,v,l,g=sn(h.widthType,h.lengthType,w,j))),(l=u&&u.type)&&(f=n[(A=n.length)-1],y=n[A-2],an(t,f,x=Math.atan2(y.y-f.y,y.x-f.x),w,v,l,g=sn(u.widthType,u.lengthType,w,j)))),Rn(t,c.stroke,i,{width:e,height:r,lineCompoundPoints:n},!0,o)}function an(t,n,i,e,r,c,s){var a,h,u,x,f,y,l,g,A,p=n.x,v=n.y,w=s.radius,j=s.size;if(c===o.ArrowheadStyle.oval)t.fillStyle=r,t.beginPath(),(0,d.drawEllipse)(t,p,v,j[0],j[1],0,0,vt,!1),t.fill();else{if(h=[],u=void 0,x=void 0,f=5===c,3===c)for(x=Math.PI/2,y=0;y<4;y++)l=i+x*y,u=j[y%2],h.push({x:p+u*Math.cos(l),y:v+u*Math.sin(l)});else h=(g=[i-(x=s.angle),i+x]).map((function(t){return{x:p+w*Math.cos(t),y:v+w*Math.sin(t)}})),2!==c&&1!==c||(u=w*V.ARROW_STEALTH_RATIO,a={x:p+u*Math.cos(i),y:v+u*Math.sin(i)},2===c&&h.push(a)),h.splice(1,0,n);A=h.shift(),t.beginPath(),t.moveTo(A.x,A.y),h.forEach((function(V){t.lineTo(V.x,V.y)})),f?(t.save(),t.lineWidth=e,t.lineCap="round",t.lineJoin="miter",t.strokeStyle=r,t.setLineDash([]),t.stroke(),t.restore()):(t.closePath(),t.fillStyle=r,t.fill(),a&&(n.x=a.x,n.y=a.y))}}function hn(t,V){var n,i=V?0:t.angle%360,e=(0,d.getShapePoints)(t,i,!0);return 0===i?e:(n=e.splice(0,4),{left:ft.apply(xt,n),top:ft.apply(xt,e),right:yt.apply(xt,n),bottom:yt.apply(xt,e)})}function un(t){var V;return ln(t).sort((function(t,V){return t.left-V.left}))[0].shape}function xn(t){var V;return ln(t).sort((function(t,V){return V.right-t.right}))[0].shape}function fn(t){var V;return ln(t).sort((function(t,V){return t.top-V.top}))[0].shape}function yn(t){var V;return ln(t).sort((function(t,V){return V.bottom-t.bottom}))[0].shape}function ln(t,V){return t.map((function(t){var n=hn(t,V);return Ot(Ot({shape:t},n),{width:n.right-n.left,height:n.bottom-n.top})}))}function gn(t){return F(t)||t===o.CompoundType.simple}function An(t){var V=t.ttV;return 5===V||3===V}function pn(t,V){var n=YV(t,V.TtV&&V.OtV||1);return n>0&&n%2==1}function vn(t,V,n,i){i.lineCompoundPoints?Rn(t,V,n,i,!1):(t.save(),pn(V,n)&&gn(V.compoundType)&&!An(n)&&(t.translate(.5,.5),n.renderSinglePath(t,i)),wn(t,V,n,i),t.restore())}function wn(t,V,n,i){if(An(n)&&(bn(n,i,V),gn(V.compoundType)&&n.renderSinglePath(t,i)),gn(V.compoundType))OV(t,V,n,i.width,i.height);else switch(V.compoundType){case o.CompoundType.double:return jn(t),void Cn(t,V,n,i,{parallelType:e.BorderType.inner,offsetFactor:.3,widthFactor:.3},{parallelType:e.BorderType.outter,offsetFactor:.3,widthFactor:.3});case o.CompoundType.thickThin:return jn(t),void Cn(t,V,n,i,{parallelType:e.BorderType.inner,offsetFactor:.4,widthFactor:.2},{parallelType:e.BorderType.outter,offsetFactor:.2,widthFactor:.6});case o.CompoundType.thinThick:return jn(t),void Cn(t,V,n,i,{parallelType:e.BorderType.inner,offsetFactor:.2,widthFactor:.6},{parallelType:e.BorderType.outter,offsetFactor:.4,widthFactor:.2});case o.CompoundType.triple:return mn(t,V,n,i,.375),void Cn(t,V,n,i,{parallelType:e.BorderType.inner,offsetFactor:.4,widthFactor:.18},{parallelType:e.BorderType.outter,offsetFactor:.4,widthFactor:.18})}}function jn(t){VV(t)&&(t.save(),t.lineWidth=0,t.strokeStyle="transparent",t.stroke(),t.restore())}function bn(t,V,n){V.pathCommands=t.getParallelPathCommand(V.pathCommands,e.BorderType.outter,.5*n.width*t.OtV)}function Ln(t,V,n,i,e){var r,c=i.pathCommands;"false"!==c.strokeMode&&(i=TV(i),(r=TV(V)).width=V.width*e.widthFactor,i.pathCommands=n.getParallelPathCommand(c,e.parallelType,V.width*e.offsetFactor*n.OtV),n.renderSinglePath(t,i),OV(t,r,n,i.width,i.height))}function mn(t,V,n,i,e){var r,c=i.pathCommands;"false"!==c.strokeMode&&((r=TV(V)).width=V.width*e,OV(t,r,n,i.width,i.height))}function Cn(t,V,n,i,e,r){Ln(t,V,n,i,e),Ln(t,V,n,i,r)}function Rn(t,V,n,i,e,r){var c,s;if(void 0===e&&(e=!0),c=i.lineCompoundPoints,s=i.simpleConnectorLine,F(V.compoundType)||V.compoundType===o.CompoundType.simple||s)Mn(t,c),OV(t,V,n,i.width,i.height,r);else switch(!e||V.compoundType!==o.CompoundType.thinThick&&V.compoundType!==o.CompoundType.thickThin||(c=In(c)),V.compoundType){case o.CompoundType.double:En(t,V,n,i,c,{outterLineWidthFactor:.3,outterLineOffsetFactor:.3,innerLineWidthFactor:.3,innerLineOffsetFactor:.3});break;case o.CompoundType.thinThick:En(t,V,n,i,c,{outterLineWidthFactor:.6,outterLineOffsetFactor:.2,innerLineWidthFactor:.2,innerLineOffsetFactor:.4});break;case o.CompoundType.thickThin:En(t,V,n,i,c,{outterLineWidthFactor:.2,outterLineOffsetFactor:.4,innerLineWidthFactor:.6,innerLineOffsetFactor:.2});break;case o.CompoundType.triple:Sn(t,V,n,i,c)}}function In(t){var V,n,i;return t.length<2?t:(i=(V=t[t.length-1].y-t[0].y)/(n=t[t.length-1].x-t[0].x),2===t.length&&i>=0||t.length>2&&(lt(t[0].x-t[1].x)<.1&&i<0||lt(t[0].y-t[1].y)<.1&&i>0)?Tt([],t,!0).reverse():t)}function Mn(t,V){t.beginPath(),V.forEach((function(V,n){0===n?t.moveTo(V.x,V.y):t.lineTo(V.x,V.y)}))}function _n(t,V,n){var i=Ot({},n),r=i.strokeOptions,c=i.points,o=i.shapePathInfo,s=c.map((function(t){return{point:t,origin:e.PointSource.lineTo}})),d=(0,a.getParallelPathPoints)(s,n.offset*V.OtV,n.parallelType);Mn(t,d.map((function(t){return t.point}))),OV(t,r,V,o.width,o.height)}function En(t,V,n,i,r,c){var o,s=TV(V);s.width=V.width*c.outterLineWidthFactor,_n(t,n,{points:r,shapePathInfo:i,strokeOptions:s,offset:V.width*c.outterLineOffsetFactor,parallelType:e.BorderType.outter}),(o=TV(V)).width=V.width*c.innerLineWidthFactor,_n(t,n,{points:r,shapePathInfo:i,strokeOptions:o,offset:V.width*c.innerLineOffsetFactor,parallelType:e.BorderType.inner})}function Sn(t,V,n,i,e){En(t,V,n,i,e,{outterLineWidthFactor:.15,outterLineOffsetFactor:.4,innerLineWidthFactor:.15,innerLineOffsetFactor:.4});var r=TV(V);r.width=.3*V.width,Mn(t,e),OV(t,r,n,i.width,i.height)}Object.defineProperty(V,"__esModule",{value:!0}),V.getBottomMostShape=V.getTopMostShape=V.getRightMostShape=V.getLeftMostShape=V.getActualBound=V.drawLineShape=V.ARROW_STEALTH_RATIO=V.MAX_ARROW_WIDTH_RATIO=V.ShapeProperties=V.ShapeUI=V.createShape=V.ShapeTextEditor=V.isCanEditTextShape=V.isCanEditTextFormControlShape=V.needOpenTextEditor=V.needProcessHyperlink=V.setShapeProperty=V.composite=V.paintText=V.getPaintTextInfo=V.applySimpleStrokeOptions=V.applyFillOptions=V.applyPictureOrTextureFillOptions=V.getCtx=V.isPrintContext=V.getColorFromOption=V.expandBoundWithShapeSelected=V.RENDER_BOUND_EPSILON=V.MIN_ARROW_LINE_WIDTH=V.MIN_LINE_WIDTH=V.VARIABLE_RECT_SIZE_IN_TOUCH=V.VARIABLE_RECT_SIZE=V.EXPAND_SIZE_FOR_HIT_TEST=void 0,i=n("Common"),e=n("./dist/plugins/shape/shape.interface.js"),r=n("./dist/plugins/shape/ui/options.js"),c=n("./dist/plugins/shape/ui/path.js"),o=n("./dist/plugins/shape/drawingInterface.js"),s=n("Core"),d=n("./dist/plugins/shape/ui/util.js"),a=n("./dist/plugins/shape/ui/shape-parallelPath.js"),h=n("./dist/plugins/shape/ui/pictureFormat.js"),u=n("./dist/plugins/shape/geometryService/geometryService.js"),x=n("./dist/plugins/shape/geometryService/serviceManager.js"),f=n("./dist/plugins/shape/geometryService/controlPointService.js"),y=n("./dist/plugins/shape/textEditor/divTextEditor.js"),l=n("./dist/plugins/shape/ui/sparklineUtil.js"),g=n("./dist/plugins/shape/ui/textPainter.js"),A=d.Common.extend,p=d.Common.setContextFont,v=d.Common.setRectSize,w=d.Common.expandRectangle,j=d.Common.translateRectangle,b=d.Common.calculateBoundByRects,L=d.Common.calculateRectangleCenterPoint,m=d.Common.rotateBound,C=d.Common.isBase64ImageStr,R=d.Common.isSVGBase64ImageStr,I=d.Common.isVectorBase64ImageStr,M=d.Common.getImgNaturalSize,_=d.Common.fixSVGBase64ImageForFirefox,E=d.Common.distributeByWeight,S=i.Common.ft,F=i.Common.lt.ht,X=d.Common.createElement,Y=new s.CellTypes.Base,O=new g.ShapeEaVertTextPainter,T=d.Common.getOptionValue,P=d.Common.arrayPush,N=d.Common.ocV,D=d.Common.toRadius,U=d.Common.toAngle,q=d.Common.rotatePoint,k=d.Common.defineProperty,B=Math.atan2,Z=Math.sqrt,H=s.mt.yt,z=s.mt.browser,Q=["gcSpread","shape-editor-container"],G="gcSpread shape-editor",J="blur",W="keydown",K="compositionstart",$="input",tt="copy",Vt="cut",nt=2,it=Math.round,et=Math.pow,rt="pictureFillImageSource",ct=10,ot="miter",st=3,dt=17,at=5,ht=3,V.EXPAND_SIZE_FOR_HIT_TEST=3,V.VARIABLE_RECT_SIZE=6,V.VARIABLE_RECT_SIZE_IN_TOUCH=20,V.MIN_LINE_WIDTH=1,V.MIN_ARROW_LINE_WIDTH=2,V.RENDER_BOUND_EPSILON=2,xt=null,ft=Math.min,yt=Math.max,lt=Math.abs,gt=Math.sin,At=Math.cos,pt=Math.ceil,vt=2*Math.PI,V.expandBoundWithShapeSelected=Dt,wt=function(t){if(!Pt){var V=X("canvas");V&&V.getContext&&(Pt=V.getContext("2d"))}return Pt?(Pt.fillStyle=t,t=Pt.fillStyle):t},jt=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i,bt=RegExp,Lt=/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d\.]+))?/,mt={darken:-.4,darkenLess:-.2,lightenLess:.2,lighten:.4},V.getColorFromOption=Zt,V.isPrintContext=VV,Ct=document.createElement("canvas"),V.getCtx=CV,V.applyPictureOrTextureFillOptions=FV,V.applyFillOptions=XV,V.applySimpleStrokeOptions=OV,V.getPaintTextInfo=qV,V.paintText=zV,V.composite=$V,V.setShapeProperty=tn,Mt=(0,r.getStyle)("default"),_t=["left","top","width","height","angle","isSelected","relativeX","relativeY","relativeWidth","relativeHeight","hyperlink","range"],V.ShapeProperties=_t,V.needProcessHyperlink=Vn,V.needOpenTextEditor=nn,V.isCanEditTextFormControlShape=en,V.isCanEditTextShape=rn,Et=function(){function t(){}return t.getInstance=function(){return this.editor||(this.editor=new t),this.editor},t.prototype.initEditor=function(t){var V,n=this;z.msie&&n.RQt&&n.RQt!==t?n.closeEditor():t&&rn(t)&&(s.hi.F1(t.Mf),n.RQt=t,n.Ti=t.Mf.parent.j2(),n.Ti&&((V=n.Ti.querySelector("".concat(Q.map((function(t){return"."+t})).join(""))))?(n.FcV=V,n.feV=n.FcV.HrV):n.ScV(),n.FcV.style.display="",n.feV.focus()))},t.prototype.ScV=function(){var t=this,V=t.RQt.Mf,n=V&&V.name(),i=V&&V.Qy();t.FcV=document.createElement("div"),t.FcV.className=Q.join(" "),t.feV=new y.DivTextEditor(t.FcV),t.feV.className=G,t.FcV.HrV=t.feV,t.Ti.appendChild(t.FcV),t.XcV=function(e){var r,c,o,s,d,a;t.isOpened&&(r={},o=(c=t.RQt).name(),s=t.YcV(),c.text&&(d=c.text())!==s&&(a={oldValues:[["text",d]],values:[["text",s]]},r[o]=a,i.execute({cmd:"submitShapeText",sheetName:n,shapes:[o],values:r})),t.TcV(),t.isOpened=!1,V.cnV()),t.RQt=null},t.YH=function(n){var e,r,c=n.keyCode;27!==c?(e=i.getShortcutKey(c,n.ctrlKey,n.shiftKey,n.altKey,n.metaKey),!(r=i.getCommands(e))&&V.rt.Pi(n)&&(t.showEditor(229===c?0:1),s.hi.F1(xt))):t.closeEditor()},t.PcV=function(V){t.showEditor(0)},t.Fgt=function(){t.TrV()},t.QrV=function(){if(t.RQt&&0!==window.getSelection().toString().length){var V=t.RQt.Mf;V&&V.ieV()}},t.feV.addEventListener(J,t.XcV),t.feV.addEventListener(W,t.YH),t.feV.addEventListener(K,t.PcV),t.feV.addEventListener($,t.Fgt),t.feV.addEventListener(tt,t.QrV),t.feV.addEventListener(Vt,t.QrV)},t.prototype.qcV=function(t,V){var n,i,e,r,c,o,s,a,h,u,x=this,f=x.RQt.ctV,y=f.options&&f.options.textFormatOptions,l=T(y.margins,f),g=f.TtV,A=g&&f.OtV||1,p=T(y.font,f);p&&g&&(p=(n=x.RQt&&x.RQt.Mf)?n.Dn._n(p):((i=parseFloat(d.Common.getFontSize(p)))*A).toFixed(2)+p.substr(p.indexOf("px "))),e=d.Common.getFontHeight(p),l||(l={left:10,top:3,right:10,bottom:5}),r=l.left*A,c=l.right*A,o=l.top*A,s=l.bottom*A,a=t-r-c,u=1,(h=y.fill&&y.fill.transparency)&&!isNaN(h)&&(u=1-h),x.feV.style={font:H(p),lineHeight:"".concat(e,"px"),color:y.fill&&y.fill.color,opacity:u+"",textAlign:x.UcV(y),verticalAlign:x.kcV(y.verticalAlignment),padding:"".concat(o,"px ").concat(c,"px ").concat(s,"px ").concat(r,"px"),width:"".concat(a,"px"),maxWidth:"".concat(a,"px"),transform:"translate(".concat(-V.x,"px, ").concat(-V.y,"px)")}},t.prototype.UcV=function(t){var V=t.horizontalAlignment;return 0===V||t.textDirection!==e.TextDirection.horz?"left":1===V?"center":2===V?"right":"left"},t.prototype.kcV=function(t){return 0===t?"top":1===t?"middle":2===t?"bottom":"top"},t.prototype.BcV=function(){var t,V,n=this,i=new d.Point(0,0),e=n.RQt,r=n.RQt.Mf,c=r.Yy(2,3),o=r._y(2,3);return(r.frozenTrailingColumnCount()>0||r.frozenTrailingRowCount()>0)&&(t=e.startRow(),V=e.startColumn(),t>=o[0].row&&(i.y=o.findRow(t).y,i.y+=e.startRowOffset()),V>=c[0].col&&(i.x=c.findCol(V).x,i.x+=e.startColumnOffset())),i},t.prototype.shouldRefreshPosition=function(t,V){var n,i,e,r,c;return!!(this.RQt&&this.isOpened&&(n=this.RQt)&&(i=n.startRow(),e=n.startColumn(),r=n.Mf.C0(i),c=n.Mf.S0(e),t===r&&V===c))},t.prototype.showEditor=function(t){var V,n,i=this;!i.isOpened&&i.RQt&&(i.isOpened=!0,i.DLn(),i.feV.select(t),s.hi.F1(xt),V=i.RQt,n=(0,d.getShapeStartLayer)(V),i.refreshPosition(n.scrollLeft,n.scrollTop),V.Mf.cnV())},t.prototype.refreshPosition=function(t,V){var n=this;n.VdV(t,V),n.TrV()},t.prototype.VdV=function(t,V){var n,i,e,r,c,o,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m=this,C=t,R=V,I=m.FcV;m.RQt&&m.FcV&&m.isOpened&&(n=m.RQt.ctV,i=m.BcV(),e=m.RQt,o=(c=(r=m.RQt.Mf).Fi()).b6,a=c.T6,h=c.F6,u=c.L6,f=(x=n.textRect)?x.right-x.left:n.width,y=x?x.bottom-x.top:n.height,l=x?x.left:0,g=x?x.top:0,A=m.HcV(C,R,l,g),0!==C&&(C-=h),0!==R&&(R-=u),p=f-A.x,v=y-A.y,w=0!==i.x?i.x+l:n.left+l+o-(C||0)+A.x,j=0!==i.y?i.y+g:n.top+g+a-(R||0)+A.y,b=m.QcV(),L=e.rotate?e.rotate():0,r.options.rightToLeft&&(w=(0,d.getDomRectBaseSheetLayer)(m.RQt).x),(0,s.GC$)(I).css({width:"".concat(p,"px"),height:"".concat(v,"px"),"max-width":"".concat(p,"px"),left:"".concat(w,"px"),top:"".concat(j,"px"),overflow:"".concat(0!==A.x||0!==A.y?"hidden":"visible"),transform:"rotate(".concat(L,"deg)"),"transform-origin":"".concat(b.x-l,"px ").concat(b.y-g,"px"),"z-index":"950",position:"absolute"}),m.qcV(f,A))},t.prototype.QcV=function(){var t,V=this.RQt.ctV;return new d.Point(.5*V.width,.5*V.height)},t.prototype.TcV=function(){var t=this;t.FcV&&t.RQt&&((0,s.GC$)(t.FcV).removeAttr("style"),t.feV.style={},t.feV.text="",t.FcV.style.display="none")},t.prototype.closeEditor=function(){var t,V,n=this;n.RQt&&(V=(t=n.RQt)&&t.Mf)&&(n.feV.blur(),s.hi.F1(V))},t.prototype.YcV=function(){return this.feV.text},t.prototype.DLn=function(){var t=this,V=t.RQt;V&&2!==V.ctV.ttV&&(t.feV.text=V.text?V.text():"")},t.prototype.hP=function(){return this.feV&&this.feV.isActive},t.prototype.HcV=function(t,V,n,i){var e,r=this,c=r.RQt.ctV,o=e=0;return 0!==t&&t>c.left+n&&(o=t-c.left-n),0!==V&&V>c.top+i&&(e=V-c.top-i),new d.Point(o,e)},t.prototype.TrV=function(){var t,V,n,i,e,r,c,o=this,s=o.RQt.ctV;o.isOpened&&s&&(V=(t=s.options.textFormatOptions)&&t.resizeToFitText)&&(n=s.JVV,e=(i=s.getShapeFitTextSize(o.YcV())).height,r=i.width,s.height===e&&s.width===r||(s.resize(r,e),n.refresh(),c=(0,d.getShapeStartLayer)(n),o.VdV(c.scrollLeft,c.scrollTop)))},t.prototype.dispose=function(){var t=this;t.feV&&t.Ti&&(t.feV.removeEventListener(J,t.XcV),t.feV.removeEventListener(W,t.YH),t.feV.removeEventListener(K,t.PcV),t.feV.removeEventListener($,t.TrV),t.feV.removeEventListener(Vt,t.QrV),t.feV.removeEventListener(tt,t.QrV),t.Ti.removeChild(t.FcV),t.FcV=null,t.feV=null,t.isOpened=!1,t.RQt=null)},t}(),V.ShapeTextEditor=Et,St=function(){function t(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)}return t.prototype.CcV=function(t,V){var n,i=this;i.model=t||{},i.ttV=0,t&&("string"==typeof t.path?((n=new c.Path).parse(t.path),t.path=[n.pathCommands]):t.path&&t.path.pathCommands&&(t.path=[t.path.pathCommands])),t&&i.defineProperties(),i.setService(V),i.showConnectors=!1,i.connectionLines=[],i.initAdjustmentInfo(t),i.initGeometryService(t),i.resetPathOffset()},t.prototype.getValueResolver=function(){return null},t.prototype.initGeometryService=function(t){var V=this;V.grV=x.GeometryServiceManager.getGeometryService(t),V.ArV=V.grV?V.grV.getDependency():{}},t.prototype.initAdjustmentInfo=function(t){t&&(F(t.autoShapeType)?this.initCustomShapeAdjustmentInfo(t):this.initBuiltInAdjustmentInfo(t))},t.prototype.initBuiltInAdjustmentInfo=function(t){var V,n=(0,f.getPresetShapeInfo)(t.autoShapeType);n&&(V=this,n.fnDefs&&(V.F0V=n.fnDefs,V.S0V=n.fnArgs),V.YtV=n.definition.adjustInfo)},t.prototype.initCustomShapeAdjustmentInfo=function(t){var V,n,i;t&&t.controls&&0!==t.controls.length&&(V=this,n=[],t.variables=t.variables||{},i=function(t){var n={width:V.width,height:V.height};return"number"==typeof t?t:u.GeometryService.evaluatorFormula(t,n)},t.controls.forEach((function(e){var r,c,o,s;0===e.xBehavior&&(r=(0,f.getNewAdjustName)(t.variables),c=(0,f.getBoundFnInfo)(e.x,"".concat(u.VARIABLES,".").concat(r,"*width/").concat(f.ADJUSTMENT_UNIT)),e.xRef=r,e.x=c.formula,o=i(c.value)/V.width*f.ADJUSTMENT_UNIT,t.variables[r]=o,V.setVariable(e.xRef,o),n.push(r)),0===e.yBehavior&&(s=(0,f.getNewAdjustName)(t.variables),c=(0,f.getBoundFnInfo)(e.y,"".concat(u.VARIABLES,".").concat(s,"*height/").concat(f.ADJUSTMENT_UNIT)),e.yRef=s,e.y=c.formula,o=i(c.value)/V.height*f.ADJUSTMENT_UNIT,t.variables[s]=o,V.setVariable(e.yRef,o),n.push(s))})),n.length>0&&(V.YtV=n.map((function(t){return[t,V.getVariable(t)]}))))},t.prototype.defineProperties=function(){var t=this;_t.forEach((function(V){k(t,V,{get:function(){return t.service?t.service.getValue(t.id,V):t.model[V]},set:function(n){tn(t,t.id,V,n),t.ArV[V]&&t.resetPathOffset()}})})),k(t,"options",{get:function(){var V,n;return t.optionsCache?t.optionsCache:(n=A({},Mt),t.service?(V=t.service.getOptions(t.id),V=t.optionsCache=$V(n,V)):(V=t.model.options,V=t.optionsCache=$V(n,V)))},set:function(V){delete t.optionsCache,t.service?t.service.setOptions(t.id,V):t.model.options=V}}),k(t,"connectionLines",{get:function(){return t.service?t.service.getConnectionLines(t.id):t.model.connectionLines},set:function(V){t.service?t.service.setConnectionLines(t.id,V):t.model.connectionLines=V}}),k(t,"parent",{get:function(){if(t.service){var V=t.service.getValue(t.id,"parentId");return V&&t.service.getShapeById(V)}return t.model.parentId},set:function(V){t.service?t.service.setValueOrFormula(t.id,"parentId",V?V.id:ut):t.model.parentId=V?V.id:ut}})},t.prototype.getGeoProperties=function(){var t=this,V={};return _t.forEach((function(n){t[n]!==ut&&(V[n]=t[n])})),V},t.prototype.setGeoProperties=function(t){var V=this;t&&_t.forEach((function(n){t[n]!==ut&&(V[n]=t[n])}))},t.prototype.getService=function(){return this.service},t.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=xt))},t.prototype.getVariable=function(t){var V=this;return V.variables&&V.variables[t]},t.prototype.setVariable=function(t,V){var n=this,i=n.variables;i||(i=n.variables={}),i[t]=V,n.resetPathOffset(),n.JVV&&n.JVV.TrV()},t.prototype.getCornerPoints=function(){return(0,d.getShapePoints)(this,this.angle)},t.prototype.getActualCornerPoints=function(){var t,V,n,i,e=this,r=e.angle;if(e.parent)for(t=e.parent;t;)t.angle&&(t.savedAngle=t.angle,t.setAngle(0)),t=t.parent;if((i=e.getCornerPoints())&&0!==r)for(V=e.getCenterPoint(e.width,e.height),n=0;n<N(i);n++)i[n]=q(i[n],V,D(e.angle));if(e.parent)for(t=e.parent;t;){if(r=t.savedAngle,!isNaN(r)&&0!==r)for(V=t.getCenterPoint(t.width,t.height),n=0;n<N(i);n++)i[n]=q(i[n],V,D(r));t=t.parent}if(e.parent)for(t=e.parent;t;)t.savedAngle&&(t.setAngle(t.savedAngle),delete t.savedAngle),t=t.parent;return i},t.prototype.getConnectorPoints=function(t,V){var n=this,i=n.connectionPoints,e=[];return i&&(e=i.map((function(n){return{x:t+n.x,y:V+n.y}}))),e},t.prototype.getActualConnectorPoints=function(){var t=this,V=t.getConnectorPoints(it(t.left),it(t.top));return V=t.rotatePoints(V)},t.prototype.rotatePoints=function(t){var V,n=t.length,i=this,e=i.getShapeCenter(),r=i.angle,c=i.parent;for(c&&(r-=c.angle),V=0;V<n;V++)t[V]=q(t[V],e,D(r));return c&&(t=i.parent.rotatePoints(t)),t},t.prototype.V0V=function(){var t,V,n,i=this,e=i.width,r=i.height,c=e/2,o=r/2,s=i.angle,d=D(s),a={},h={x:c,y:o},u=i.left,x=i.top,f=[[0,0],[c,0],[e,0],[0,o],[e,o],[0,r],[c,r],[e,r]];return a.resizePoints=f.map((function(V){return{x:(t=q({x:V[0],y:V[1]},h,d)).x+u,y:t.y+x}})),t=q({x:c,y:-20},h,d),a.rotatePoint={x:t.x+u,y:t.y+x},(V=i.controls)&&(a.adjustPoints=V.map((function(V){return{x:(t=q({x:V.x,y:V.y},h,d)).x+u,y:t.y+x}}))),(n=i.connectionPoints)&&(a.connectionPoints=n.map((function(V){return{x:(t=q({x:V.x,y:V.y},h,d)).x+u,y:t.y+x}}))),a},t.prototype.addConnectionLine=function(t){if(this.connectionLines){var V=this.connectionLines;P(V,t),this.connectionLines=V}},t.prototype.removeConnectionLine=function(t){var V=this.connectionLines,n=V.indexOf(t);n>=0&&(V.splice(n,1),this.connectionLines=V)},t.prototype.suspendResetPath=function(){this.lrV=!0},t.prototype.resumeResetPath=function(t){void 0===t&&(t=!0),this.lrV=!1,t&&this.resetPathOffset()},t.prototype.resetPathOffset=function(){var t,V,n=this;!n.lrV&&n.grV&&(t=n.wrV(),V=n.grV.calculate(t),n.textRect=V.textRect,n.connectionPoints=V.connectionPoints,n.controls=V.controlPoints,n.path=V.path,n.kg=V.pathRect,v(n.textRect))},t.prototype.wrV=function(){var t=this,V={};return Object.keys(t.ArV).forEach((function(n){V[n]="width"===n||"height"===n?it(t[n]):t[n]})),t.YtV&&t.YtV.length>0&&t.YtV.forEach((function(n){var i=n[0],e=t.getVariable(i);V[u.VARIABLES_SHORT_NAME+"."+i]=e,V[u.VARIABLES+"."+i]=e})),V},t.prototype.getShapeCenter=function(t){var V,n,i=this,e=i.Eot;return!t&&e||(V=i.width,n=i.height,e={x:i.left+V/2,y:i.top+n/2},i.Eot=e,i.YC=V,i.ZC=n),e},t.prototype.updateCenterData=function(){this.getShapeCenter(!0)},t.prototype.bounds=function(t,V,n,i){var e=this;e.left=t,e.top=V,e.width=n,e.height=i,e.updateCenterData()},t.prototype.move=function(t,V,n){var i=this;i.left=t,i.top=V,i.updateCenterData()},t.prototype.pcV=function(t,V){var n=this,i=n.width,e=n.height;n.originalWidth||(n.originalWidth=T(i,n)),n.originalHeight||(n.originalHeight=T(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()},t.prototype.resize=function(t,V,n,i){var e,r=this;r.suspendResetPath(),r.resizeHeight(V,n),r.resizeWidth(t,i),(e=r.JVV)&&(e.flipX=r.width<0,e.flipY=r.height<0),r.resumeResetPath()},t.prototype.resizeHeight=function(t,V){var n,i,e,r=this,c=t-r.height,o=D(r.angle),s=gt(o)*c/2,d=At(o)*c/2,a=r.getShapeCenter(!0);V?(n=q({x:r.left,y:r.top+r.height},a,o),i={x:a.x+s,y:a.y-d},e=q(n,i,-o),r.pcV(r.width,t),r.move(e.x,e.y-t,!0)):(n=q({x:r.left,y:r.top},a,o),i={x:a.x-s,y:a.y+d},e=q(n,i,-o),r.pcV(r.width,t),r.move(e.x,e.y,!0))},t.prototype.resizeWidth=function(t,V){var n,i,e,r=this,c=t-r.width,o=D(r.angle),s=At(o)*c/2,d=gt(o)*c/2,a=this.getShapeCenter(!0);V?(n=q({x:r.left+r.width,y:r.top},a,o),i={x:a.x-s,y:a.y-d},e=q(n,i,-o),r.pcV(t,r.height),r.move(e.x-t,e.y,!0)):(n=q({x:r.left,y:r.top},a,o),i={x:a.x+s,y:a.y+d},e=q(n,i,-o),r.pcV(t,r.height),r.move(e.x,e.y,!0))},t.prototype.getHitTestBound=function(){return w(this.getRenderBound(!0),V.EXPAND_SIZE_FOR_HIT_TEST)},t.prototype.P5e=function(){var t=this,V=it(t.left),n=it(t.top),i=it(t.width),e=it(t.height);return{left:V,top:n,width:i,height:e,right:V+i,bottom:n+e}},t.prototype.hitTest=function(t,n,i){var r,c,o,s,a,h,u,x,f,y,l,g,A,p=this,v=p.P5e(),w=v.left,j=v.top,b=v.width,m=v.height,C=L(w,j,b,m),R=b/2+w,I=m/2+j,M=i||CV();if(M.save(),p.transformContext(M,C),r=p.isSelected,c=new d.Rect(-b/2,-m/2,b,m),o={},r&&!1!==p.canRotate&&(M.beginPath(),M.moveTo(0,-c.height/2-11),M.arc(0,-c.height/2-20,p.Oi?10:5,0,vt),M.isPointInPath(t,n)&&(o.shape=p,o.type=e.HitTestType.rotate)),r&&!o.type&&(s=p.variableRects(!0))&&N(s)>0)for(a=0;a<N(s);a++)if(h=s[a],M.beginPath(),M.rect(h.x-R,h.y-I,h.width,h.height),M.isPointInPath(t,n)){o.type=e.HitTestType.adjustment,o.adjustmentHandle=h,o.shape=p;break}if(!o.type&&(c.expand(V.EXPAND_SIZE_FOR_HIT_TEST),M.beginPath(),M.rect(c.x,c.y,c.width,c.height),M.isPointInPath(t,n))){if(r&&!o.type&&!o.adjustmentHandle)for(u=p.sizeRects(w,j,b,m),a=0;a<N(u);a++)if(x=u[a],f=p.Oi?10:4,M.beginPath(),M.rect(x.x-R-f,x.y-I-f,x.width+2*f,x.height+2*f),M.isPointInPath(t,n)){o.shape=p,o.type=e.HitTestType.resize,o.resizeHandle=x;break}if(!o.type)for(y=p.getConnectorPoints(w,j),l=p.Oi?20:6,a=0;a<N(y);a++)if(g=y[a],M.beginPath(),M.rect(g.x-R-l/2,g.y-I-l/2,l,l),M.isPointInPath(t,n)){o.shape=p,o.type=e.HitTestType.connectionPoint,o.connectionPointIndex=a;break}r&&!o.type&&(A=p.Oi?10:6,qt(M,t,n,new d.Rect(-b/2,-m/2,b,m),A)&&(o.shape=p,o.type=e.HitTestType.border)),o.type||(o.shape=p,o.type=e.HitTestType.body)}return M.restore(),o},t.prototype.sizeRects=function(t,V,n,i){var r,c,o=this,s=st;function a(t,V,n){var i=new d.Rect(t-s,V-s,2*s,2*s);return i.type=n,i}return r=o.JVV.allowResize(),c=[a(t,V,e.ResizeHandleType.topLeft),a(t+n/2,V,e.ResizeHandleType.topCenter),a(t+n,V,e.ResizeHandleType.topRight),a(t,V+i/2,e.ResizeHandleType.middleLeft),a(t+n,V+i/2,e.ResizeHandleType.middleRight),a(t,V+i,e.ResizeHandleType.bottomLeft),a(t+n/2,V+i,e.ResizeHandleType.bottomCenter),a(t+n,V+i,e.ResizeHandleType.bottomRight)],r===e.ResizeMode.horizontal?[c[3],c[4]]:r===e.ResizeMode.vertical?[c[1],c[6]]:!1===r?[]:c},t.prototype.variableRects=function(t){var n,i,e,r,c,o,s,a,h,u,x=this,f=x.controls;if(f){for(n=t&&x.Oi?V.VARIABLE_RECT_SIZE_IN_TOUCH:V.VARIABLE_RECT_SIZE,i=x.left-n/2+.5,e=x.top-n/2+.5,r=[],c=0,o=N(f);c<o;c++)a=i+(s=f[c]).x,h=e+s.y,(u=new d.Rect(a,h,n,n)).index=c,P(r,u);return r}},t.prototype.getControlPointRange=function(t){var V=this;return t.map((function(t){var n=+t;return isNaN(n)?V.getVariable(t):n}))},t.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)},t.prototype.getAdjustChanges=function(){var t,V,n,i,e=this,r=e.zcV;if(r){for(i in t=e.GcV,V=[],n=[],r)P(V,[i,r[i]]),P(n,[i,t[i]]);return e.zcV={},e.GcV={},{values:V,oldValues:n}}},t.prototype.updateAdjustValue=function(t,V,n,i,e){var r=this,c=[V],o=r.getControlPointRange([t.min,t.max]),s=(0,d.getAdjustValue)(c,n,i,e,ut,o,r);s&&r.updateAdjustVariable(V,s.value)},t.prototype.updatePolarAdjustValue=function(t,V,n,i,e,r){var c,o,s,a,h,u,x,f=this;t.maxAngle&&(o=V[0],s={x:n/2,y:i/2},a=(0,d.getAdjustAngle)(f.angle,s.x,s.y,e,r,t.adjustInfo),c=Ut(f.getControlPointRange([t.minAngle,t.maxAngle]),a),f.updateAdjustVariable(o,c)),(o=V[1])&&(h=[o+"_x",o+"_y"],u=f.getControlPointRange([t.minRadius,t.maxRadius]),(x=(0,d.getAdjustValue)(h,n,i,e,r,u,f))&&(c=x.value,f.updateAdjustVariable(o,c)))},t.prototype.changeVariablePoint=function(t,V){var n=this,i=n.F0V,e=n.width,r=n.height,c=V.adjustmentHandle,o=n.controls[c.index],s=n.Eot,d=q({x:t.x-s.x,y:t.y-s.y},{x:0,y:0},-D(n.angle)),a=d.x+e/2,h=d.y+r/2,u=o.aRef,x=o.rRef;u||x?n.updatePolarAdjustValue(o,[u,x],e,r,a,h):(0===o.xBehavior&&(i?n.updateAdjustValue(o,o.xRef,e,r,a):n.setVariable(o.xRef,a/e*f.ADJUSTMENT_UNIT)),0===o.yBehavior&&(i?n.updateAdjustValue(o,o.yRef,e,r,h):n.setVariable(o.yRef,h/r*f.ADJUSTMENT_UNIT)))},t.prototype.getCenterPoint=function(t,V){var n=this,i=this.getShapeCenter(),e=n.YC,r=n.ZC;return e===t&&r===V||(i=n.Eot={x:i.x+(t-e)/2,y:i.y+(V-r)/2},n.YC=t,n.ZC=V),i},t.prototype.setAngle=function(t){this.angle=t},t.prototype.transformContext=function(t,V){var n,i,e=this,r=e.JVV,c=r&&r.flipX,o=r&&r.flipY;t.translate(V.x,V.y),n=e.angle,(i=e.parent)&&(n-=i.angle),n&&t.rotate(D(n)),(c||o)&&t.scale(c?-1:1,o?-1:1)},t.prototype.transform=function(t,V,n){var i,e,r,c,o;void 0===n&&(n=!0),r=(e=(i=this).JVV)&&e.flipX,c=e&&e.flipY,t.translate(V.x,V.y),(o=i.getShapeRotate())&&n&&t.rotate(o),(r||c)&&t.scale(r?-1:1,c?-1:1)},t.prototype.getShapeRotate=function(){var t=this,V=t.angle,n=t.parent;return n&&(V-=n.angle),D(V)},t.prototype.acV=function(){var t,V,n,i,e=this;if(2===e.ttV){for(t=!0,V=0,n=e.shapes;V<n.length;V++)if(!(i=n[V]).acV()){t=!1;break}}else t=1===e.ttV||0===e.ttV&&e.JVV&&(e.JVV.type()===o.AutoShapeType.line||e.JVV.type()===o.AutoShapeType.lineInverse);return t},t.prototype.render=function(t,V,n,i){var e,r,c,o,s,d,a,h,u,x,f,y,l,g,A=this,p=A.P5e(),v=p.left,w=p.top,j=p.width,b=p.height,m=L(v,w,j,b);if(j<0&&(j=-j,A.width=j,e=!0),b<0&&(b=-b,A.height=b,r=!0),(!(c=A.acV())||0!==j||0!==b)&&(c||0!==j&&0!==b)&&A.visible){if(t.save(),A.transform(t,m),A.Dn(t,j,b,V,n),(o=Et.getInstance()).RQt===A.JVV&&o.isOpened||A.Me(t,A.options&&A.options.textFormatOptions,n),s=A.JVV,!1!==i&&(null==s?void 0:s.showHandle())){if(A.paintSelection(t,v,w,j,b),!A.isSelected&&!1!==A.showConnectors&&(h=j/2,u=b/2,a=(d=A.getConnectorPoints(v,w))&&N(d)))for(x=4,t.beginPath(),f=0;f<a;f++)l=(y=d[f]).x-h-v,g=y.y-u-w,t.fillStyle="lightgrey",t.moveTo(l,g),t.arc(l,g,x,0,vt),t.fill();A.renderControlPoints(t,j,b)}t.restore(),e&&(A.width=-j),r&&(A.height=-b)}},t.prototype.mrV=function(t,V){var n,i,e,r,c,o,s,d,a=1e6,h=this,u=0,x=a,f=0,y=a,l=1e3,g=h.wrV();for(e=0;e<l;e++)r=(u+x)/2,c=(f+y)/2,g.height=r,g.width=c,(s=(o=h.grV.calculate(g).textRect).bottom-o.top)>V?x=r:u=r,(d=o.right-o.left)>t?y=c:f=c;return u===a&&(u=V),f===a&&(f=t),{width:!1===(null===(i=null===(n=h.options)||void 0===n?void 0:n.textFormatOptions)||void 0===i?void 0:i.wrapTextInShape)?f:h.width,height:u}},t.prototype.getShapeFitTextSize=function(t){var V,n=this;return n.options&&n.options.textFormatOptions&&(F(n.options.textFormatOptions.textDirection)||n.options.textFormatOptions.textDirection===e.TextDirection.horz)?(V=qV(document.createElement("canvas").getContext("2d"),n,n.options&&n.options.textFormatOptions,void 0,t))?n.mrV(V.textFitWidth,V.textFitHeight):null:HV(CV(),n,n.options.textFormatOptions)},t.prototype.renderControlPoints=function(t,V,n){var i,e,r=this;r.isSelected&&(i=r.controls)&&(e=6,t.beginPath(),i.forEach((function(i){var r=i.x-e/2-V/2,c=i.y-e/2-n/2;t.fillStyle="yellow",t.fillRect(r,c,e,e),t.strokeStyle="grey",t.strokeRect(r,c,e,e)})))},t.prototype.paintSelection=function(t,V,n,i,e){var r,c,o,s=this;if(s.isSelected){for(t.strokeStyle="grey",t.lineWidth=1,t.fillStyle="white",t.beginPath(),t.strokeRect(-i/2+.5,-e/2+.5,i,e),r=s.sizeRects(V,n,i,e),c=0;c<N(r);c++)o=r[c],t.fillRect(o.x-s.left-i/2+.5,o.y-s.top-e/2+.5,o.width,o.height),t.strokeRect(o.x-s.left-i/2+.5,o.y-s.top-e/2+.5,o.width,o.height);!1!==s.canRotate&&s.JVV&&s.JVV.allowRotate()&&(t.fillStyle="grey",t.fillRect(-.5,-e/2-dt+.5,1,15),t.strokeStyle="grey",t.arc(0,-e/2-20,at,0,vt),t.arc(0,-e/2-20,ht,0,vt),t.stroke())}},t.prototype.renderPath=function(t,V,n,i,e,r,c,s){var d,a,h,u,x,f=this,y=this,l=y.path;l&&(d=N(l)-1,t.save(),a=2,h=!1,u=!1,y.JVV&&(h=(x=y.JVV.type())===o.AutoShapeType.line||x===o.AutoShapeType.lineInverse,u=cn(x)),(n<=a||i<=a)&&!h?t.strokeRect(-n/2+.5,-i/2+.5,n,i):l.forEach((function(a,h){var x,l,g,A,p,v;h===d&&V.endPoints&&u&&(l=!0,x=[]),g={pathCommands:a.pathCommands,width:n,height:i,lineCompoundPoints:"line"===a.strokeCompound||"simple"===a.strokeCompound?[]:null,simpleConnectorLine:"simple"===a.strokeCompound&&(V.stroke.compoundType===o.CompoundType.thickThin||V.stroke.compoundType===o.CompoundType.thinThick),lineWithArrow:l,linePoints:x},f.renderSinglePath(t,g),l=g.lineWithArrow,x=g.linePoints,A=a.fillMode,p=a.strokeMode,l?dn(t,x,y,n,i,V,s):"none"===A?vn(t,V.stroke,y,g):(e||(v=void 0,A&&"norm"!==A&&(v=function(t){return Bt(t,A)}),XV(t,V.fill,y,n,i,v,A)),!r&&y.needApplyFillAfterStyleFill()&&y.applyFillAfterStyleFill(t,n,i,A,s),c||"false"===p||vn(t,V.stroke,y,g)),V.shadow?NV(t,V.shadow,y,n,i):V.glow&&UV(t,V.glow,y,n,i),DV(t,V,y,n,i,g)})),t.restore())},t.prototype.LFe=function(){var t=this,V=document.createElement("canvas"),n=V.getContext("2d"),i=t.getRenderBound(!1);return V.width=i.width,V.height=i.height,n.translate(-i.left,-i.top),t.render(n,ut,ut,!1),V},t.prototype.fsV=function(){var t=this;return t.lsV().then((function(){return t.LFe()}))},t.prototype.lsV=function(){return new Promise((function(t){t()}))},t.prototype.needApplyFillAfterStyleFill=function(){return!1},t.prototype.applyFillAfterStyleFill=function(t,V,n,i,e){},t.prototype.renderSinglePath=function(t,V){var n,i,e,r,c,o,s,a,h,u,x,f,y,l=0,g=0,A=0,p=0,v=-V.width/2,w=-V.height/2;for(t.beginPath(),o=0,s=N(V.pathCommands);o<s;++o)switch(a=(n=V.pathCommands[o])[0],h=n[1],u=n[2],x=n[3],f=n[4],y=n[5],a){case"V":case"v":p=KV(a,p,h),t.lineTo(A+v,p+w);break;case"H":case"h":A=KV(a,A,h),t.lineTo(A+v,p+w);break;case"L":case"l":A=KV(a,A,h),p=KV(a,p,u),V.lineWithArrow?P(V.linePoints,{x:A+v,y:p+w}):t.lineTo(A+v,p+w),V.lineCompoundPoints&&V.lineCompoundPoints.push({x:A+v,y:p+w});break;case"M":case"m":l=A=KV(a,A,h),g=p=KV(a,p,u),V.lineWithArrow?P(V.linePoints,{x:A+v,y:p+w}):t.moveTo(A+v,p+w),V.lineCompoundPoints&&V.lineCompoundPoints.push({x:A+v,y:p+w});break;case"B":case"C":case"c":V.lineWithArrow=!1,i=KV(a,A,h),e=KV(a,p,u),r=KV(a,A,x),c=KV(a,p,f),A=KV(a,A,y),p=KV(a,p,n[6]),t.bezierCurveTo(i+v,e+w,r+v,c+w,A+v,p+w);break;case"Q":case"q":case"S":case"s":V.lineWithArrow=!1,i=KV(a,A,h),e=KV(a,p,u),A=KV(a,A,x),p=KV(a,p,f),t.quadraticCurveTo(i+v,e+w,A+v,p+w);break;case"AT":case"T":V.lineWithArrow=!1,i=KV(a,A,h),e=KV(a,p,u),A=KV(a,A,x),p=KV(a,p,f),t.arcTo(i+v,e+w,A+v,p+w,lt(y));break;case"A":case"a":V.lineWithArrow=!1,A=KV(a,A,h),p=KV(a,p,u),t.arc(A+v,p+w,lt(x),f,y);break;case"E":case"e":V.lineWithArrow=!1,A=KV(a,A,h),p=KV(a,p,u),(0,d.drawEllipse)(t,A+v,p+w,lt(x),lt(f),y,n[6],n[7],n[8]);break;case"Z":case"z":V.lineWithArrow=!1,A=l,p=g,t.closePath()}},t.prototype.getParallelPathCommand=function(t,V,n){var i=this,e=TV(t),r=i.getAllParallelPoints(e,V,n);return i.updatePathCommand(e,r),e},t.prototype.getAllParallelPoints=function(t,V,n){var i,r=this,c=[],o=[],s=[];return t.forEach((function(t){var d,h;switch(t[0]){case"M":o.length>0&&(c=c.concat((0,a.getParallelPathPoints)(o,n,V)),o=[]),r.addLinePoints(o,t),i=o[0].point;break;case"L":r.addLinePoints(o,t);break;case"E":r.addEllipsePoints(o,t);break;case"Q":r.addQuaCurvePoints(o,s,t);break;case"B":r.addBezierCurvePoints(o,s,t);break;case"Z":d=o.length,h=o[d-1].point,r.isCloseToEnd(i,h)||o.push({origin:e.PointSource.lineTo,point:i,isAdditionAdded:!0})}})),o.length>0&&(c=c.concat((0,a.getParallelPathPoints)(o,n,V))),r.replaceBezierToSubPath(t,s),c},t.prototype.replaceBezierToSubPath=function(t,V){V.forEach((function(V){var n=t.indexOf(V.originPath);t.splice.apply(t,Tt([n,1],V.subPath,!1))}))},t.prototype.addLinePoints=function(t,V){t.push({origin:e.PointSource.lineTo,point:{x:V[1],y:V[2]}})},t.prototype.addQuaCurvePoints=function(t,V,n){var i={x:n[1],y:n[2]},e={x:n[3],y:n[4]},r=[t[t.length-1].point,i,e],c=this;V.push({originPath:n,subPath:c.createSubBezierPath("Q")}),(0,a.getSubQuaBezierPoints)(nt,r).forEach(c.addBezierPoints.bind(c,t,3))},t.prototype.addBezierCurvePoints=function(t,V,n){var i,e={x:n[1],y:n[2]},r={x:n[3],y:n[4]},c={x:n[5],y:n[6]},o=[t[t.length-1].point,e,r,c],s=this;V.push({originPath:n,subPath:s.createSubBezierPath("B")}),(i=(0,a.getSubBezierPoints)(nt,o)).forEach(s.addBezierPoints.bind(s,t,4))},t.prototype.addBezierPoints=function(t,V,n,i){i%V!==0&&t.push({origin:e.PointSource.lineTo,point:n})},t.prototype.createSubBezierPath=function(t){var V,n=[],i=et(2,nt);for(V=0;V<i;V++)n.push([t]);return n},t.prototype.addEllipsePoints=function(t,V){var n={center:{x:V[1],y:V[2]},a:V[3],b:V[4],startAngle:V[6],endAngle:V[7],clockwise:V[8]},i=(0,a.getArcPath)(n).endPoint;t.push({origin:e.PointSource.arcTo,point:i,ellipseInfo:n})},t.prototype.isCloseToEnd=function(t,V){return!(!t||!V)&&(Math.abs(t.x-V.x)<.1&&Math.abs(t.y-V.y)<.1)},t.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)}}))},t.prototype.updateLinePoints=function(t,V){var n=V&&V.shift();n&&n.point&&(t[1]=n.point.x,t[2]=n.point.y)},t.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===e.PointSource.fixed?(t[3]=t[0],t[4]=t[1]):n.point&&(t[3]=n.point.x,t[4]=n.point.y))},t.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===e.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===e.PointSource.fixed?(t[5]=t[3],t[6]=t[4]):n.point&&(t[5]=n.point.x,t[6]=n.point.y))},t.prototype.updateEllipsePoints=function(t,V){var n=V&&V.shift();n&&n.ellipseInfo&&(t[3]=n.ellipseInfo.a,t[4]=n.ellipseInfo.b,t[6]=n.ellipseInfo.startAngle,t[7]=n.ellipseInfo.endAngle),n&&n.point&&n.origin===e.PointSource.fixed&&(t[1]=n.point.x,t[2]=n.point.y)},t.prototype.Dn=function(t,V,n,i,e){var r,c=this,o=c.options;o&&((r=o.stroke)&&!r.color&&(r.color="transparent"),t.save(),i?(t.isPrintContext=!0,c.JVV&&c.JVV.ytV.IsSpecialShape()?c.renderPath(t,o,V,n,!1,!1,!1,e):(c.renderPath(t,o,V,n,!1,!0,!0,e),c.needApplyFillAfterStyleFill()&&c.renderPath(t,o,V,n,!0,!1,!0,e),c.renderPath(t,o,V,n,!0,!0,!1,e))):c.renderPath(t,o,V,n,!1,!1,!1),t.restore())},t.prototype.Me=function(t,V,n){var i=this,e=i.JVV;e&&e.ytV.I0i.HasTextLink()&&e.P0V(),zV(t,i,V,n)},t.prototype.erV=function(t,V){var n,i,e=this;if(t=t||e.options.fill,V=V||rt,t&&d.Common.isBase64ImageStr(t.src))return t.src;if((i=e[V])&&1===i.type)try{n=i.originSource.toDataURL()}catch(t){}return n},t.prototype.xrV=function(){delete this[rt]},t.prototype.getRenderBound=function(t){var n,i,e;return t===ut&&(t=this.isSelected),n=this.pdV(this.kg),t&&(i=Dt({left:0,top:0,right:this.width,bottom:this.height},this.Oi),n=b([n,i])),n=j(n,this.left,this.top),n=w(n,V.RENDER_BOUND_EPSILON),0!==(e=this.getShapeRotate())&&(n=m(n,this.Eot,e)),n},t.prototype.pdV=function(t){var n,i=this,r=this.options.stroke,s=yt(r.width,V.MIN_LINE_WIDTH),d=r.compoundType,a=r.joinType,h=pt(s/2);return F(d)||d===o.CompoundType.simple?t=w(t,a===ot?pt(h*ct):h):(n=this.path.map((function(t){var V=i.getParallelPathCommand(t.pathCommands,e.BorderType.outter,h);return(0,c.getBoundByPathCommands)(V)})),t=b([t,b(n)])),t},Object.defineProperty(t.prototype,"isResizing",{get:function(){return this.Eb},set:function(t){this.Eb=t},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){},t}(),V.ShapeUI=St,V.createShape=on,Ft=[B(1,2),B(1,3),B(1,5),B(1.5,2),B(1.5,3),B(1.5,5),B(2.5,2),B(2.5,3),B(2.5,5)],V.MAX_ARROW_WIDTH_RATIO=7,V.ARROW_STEALTH_RATIO=.6,Xt=[3,4,V.MAX_ARROW_WIDTH_RATIO],Yt=[1,1.5,2.5],V.drawLineShape=dn,V.getActualBound=hn,V.getLeftMostShape=un,V.getRightMostShape=xn,V.getTopMostShape=fn,V.getBottomMostShape=yn},"./dist/plugins/shape/ui/sparklineUtil.js":function(t,V){function n(t,V,n,i,e,r){var c,o,s,d,a;t&&(c=t.getSparklineEx(V.name))&&(o=r.sheet,s=r.zoomFactor,d=r.asyncPaintEndCallback,a=function(){n.save(),n.clearRect(0,0,i,e),c.paint(n,V.value,0,0,i,e,{sheet:o,zoomFactor:s}),n.restore(),d()},c.paint(n,V.value,0,0,i,e,{asyncResourcesLoadedCallback:a,sheet:o,zoomFactor:s}))}Object.defineProperty(V,"__esModule",{value:!0}),V.paintSparklineEx=void 0,V.paintSparklineEx=n},"./dist/plugins/shape/ui/textPainter.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l=this&&this.qKr||(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])},g(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)}),g;function A(t,V){var n;return V/2-t/2+(t>8?d((t-8)/5+2):1)-1}function p(t,V,n,e){var r,c,o,d,a,y,l,g,A=[];if(!t)return A;for(r="",c=i.W.Ne(e.font).fontFamily||"\u6e38\u30b4\u30b7\u30c3\u30af",d=(o=function(t){var V=(0,i.getRotatedCharType)(c,t);return h(V)?x(t)?f.CJKString:f.EnString:f.Punctuation})(t[0]),a=function(){if(r){var t;if(d===f.EnString)u.FAe(r).forEach((function(t){return A.push({text:t,type:d,textLength:s(e,n,t)})}));else d===f.CJKString&&A.push({text:r,type:d,textLength:V*r.length});r=""}},y=0;y<t.length;y++)g=o(l=t[y]),d!==g&&a(),g!==f.Punctuation?(r+=l,d=g):(A.push({text:l,type:g,textLength:V}),y<t.length-1&&(d=o(t[y+1])));return a(),A}function v(t,V,n){var i,e,r,c,o,s,d=[];for(i=0;i<t.length;i++)c=(r=(e=t[i]).text.trimEnd()).length!==e.text.length,i>0&&(r=r.trimStart()),r&&((o=e.text.length-r.length)>0&&(s=V*o,c&&x(r[r.length-1])&&(s+=.5*n),e.text=r,e.textLength-=s),d.push(e));return d}function w(t,V,n,e){var r,s,a,u,x,y,l,g,v,w,j,b,L,m,C,R,I,M,_,E=[];if(!e)return E;if(t.length<1)return E;if(t[0].length<1)return E;for(t[0][0].style&&t[0][0].style.font?r=(s=t[0][0].style).font:(r=n,s={font:n}),x=(a=o(r,c,!0))-(u=A(i.W.V(r,1).fontSize,a)),y=[],l=0;l<t.length;l++)for(g=t[l],v=0;v<g.length;v++)if(w=g[v].text,!(h(w)||w.trim().length<1))for(b=1===(j=p(w,x,r,e)).length,L=0;L<j.length;L++)j[L].atomWord=b,y.push(j[L]);for(m=0,C="",R=0;m<y.length;){if(g=y[m],R>0&&m>0&&y[m-1].type===f.CJKString&&g.type===f.EnString&&(R+=.5*x),I=V-R,g.textLength>I&&R>0){if(g.type===f.CJKString&&!g.atomWord&&I>x){M=d(I/x),C+=g.text.substring(0,M),E.push({textLength:R+M*x,text:C,textInfos:[{text:C,style:s}]}),C="",R=0,M<g.text.length?(g.text=g.text.substring(M),g.textLength=g.text.length*x):m++;continue}""!==C.trim()&&E.push({textLength:R,text:C,textInfos:[{text:C,style:s}]}),C="",R=0}if(g.textLength>V){for(_=g.textLength/g.text.length,M=(M=d(V/_))<1?1:M,v=0;v<g.text.length;v+=M)R=(C=g.text.substring(v,v+M)).length*_,C.length===M&&(E.push({textLength:R,text:C,textInfos:[{text:C,style:s}]}),C="",R=0);m++}else C+=g.text,R+=g.textLength,m++}return R>0&&E.push({textLength:R,text:C,textInfos:[{text:C,style:s}]}),E}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeEaVertTextPainter=void 0,i=n("Core"),e=n("Common"),r=n("./dist/plugins/shape/ui/util.js"),c=void 0,o=i.mt.vt,s=i.mt.Mt,d=Math.floor,a="left",h=e.Common.lt.ht,u=e.Common.CultureManager.Fe("en-us"),x=function(t){return i.mt.pt(t)||(0,r.pt)(t)},function(t){t[t.EnString=0]="EnString",t[t.CJKString=1]="CJKString",t[t.Punctuation=2]="Punctuation"}(f||(f={})),y=function(t){function V(){return null!==t&&t.apply(this,arguments)||this}return l(V,t),V.prototype.ye=function(t,V,n,e,r,d,u){var f,y,l,g,p,v,w,j,b,L,m,C,R,I,M=this;if(V&&V.length>0){for(f=this,y=t.font,l=o(y,c,x(V)),g=A(i.W.V(y,1).fontSize,l),p="",v=l,w=g,b=function(V){j&&(e+=.5*(v-w));var c=t.measureText(V).width;f.ve(t,-Math.PI/2,V,n,e,r,parseInt(y,10),d,g,a),M.De(t,r,n,e,c,i.W.V(t.font,1).fontSize,d),e+=c,j=!1},L=function(V){e=e+v-w,t.fillText(V,n,e),M.De(t,r,n,e,s(t,t.font,V),i.W.V(t.font,1).fontSize,d),j=!0},m=i.W.Ne(t.font).fontFamily||"\u6e38\u30b4\u30b7\u30c3\u30af",C=0;C<V.length;C++)R=V[C],I=(0,i.getRotatedCharType)(m,R),h(I)?x(R)?(p&&(b(p),p=""),L(R)):p+=R:(p&&(b(p),p=""),e=e+v-w,f.o_e(R,t,n,e,v,w,I),j=!1);p&&b(p)}return{x:n,y:e}},V.prototype.ee=function(t,V,n,e,r,d,a,u,x){var f,y,l,g,p,j,b,L,m,C,R;if(e=1===d?e-3-2*r:e-3-r,f=[],0===V.length)return f;if(!t)return f;if(e<=0&&(e=(0,i.resetSize)(t,x,n,u))<=0){for(l=[],y=0;y<x.length;y++)h(x[y].text)||l.push({textLength:i.q.ah([x[y]],n,1,u,!0,t),text:x[y].text,textInfos:[x[y]]});return l}for(g=i.q.uh(V),p=i.q.Vt(g,i.q.Yt(x)),y=0;y<p.length;y++)if(j=w(p[y],e,n,t))for(b=0;b<j.length;b++)f.push(j[b]);return v(f,L=s(t,n," "),R=(m=o(n,c,!0))-(C=A(i.W.V(n,1).fontSize,m)))},V}(i.CellTypes.Base),V.ShapeEaVertTextPainter=y},"./dist/plugins/shape/ui/util.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C,R,I,M,_,E,S,F,X,Y;function O(t,V){return t.reduce((function(t,n){var i;return t+(i="function"==typeof V?V(n):Number(n))}),0)}function T(t,V){return t-V}function P(t){var V={},n=[];return t.forEach((function(t){V[t]===m&&(V[t]=t,n.push(t))})),n}function N(t,V){return"string"===V&&t.length>0&&"="===t[0]}function D(){var t,V;v||(t=document,(V=(v=t.createElement("span")).style).position="absolute",V.left="-10000px",V.top="-10000px",t.body.appendChild(v))}function U(t){return w[t]||(v||D(),t&&(v.style.font=t),v.innerHTML="H",w[t]=v.offsetHeight),w[t]}function q(){var t=navigator.platform;return t&&t.indexOf("Mac")>-1}function k(t,V){var n,i;V&&(q()?(n=(i=b)[V])||(n=i[V]=B(V)):n=V,t.font=n)}function B(t){if(t.indexOf(L)>=0)return t;v||D();var V=v.style;return V.font=t,V.fontFamily=[].concat(V.fontFamily.split(","),L.split(",")).join(","),V.font}function Z(t){var V,n;return j[t]||(v||(V=document,(n=(v=V.createElement("span")).style).position="absolute",n.left="-1000px",V.body.appendChild(v)),t&&(v.style.font=t),v.innerHTML="H",j[t]=v.style.fontSize),j[t]}function H(t){var V,n,i,e,r,c,o=[];for(V=1;V<arguments.length;V++)o[V-1]=arguments[V];for(n=Object(t),i=o.length,e=0;e<i;e++)if(null!=(r=o[e]))for(c in r)Object.prototype.hasOwnProperty.call(r,c)&&(n[c]=r[c]);return n}function z(t){return t/180*Math.PI}function Q(t){return 180*t/Math.PI}function G(t,V,n){var i=t.x,e=t.y,r=J({x:i-V.x,y:e-V.y},n);return{x:r.x+V.x,y:r.y+V.y}}function J(t,V){var n=Math.sin(V),i=Math.cos(V),e,r;return{x:t.x*i-t.y*n,y:t.x*n+t.y*i}}function W(t,V,n){var i;return nt([{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 G(t,V,n)})))}function K(t){t.width=t.right-t.left,t.height=t.bottom-t.top}function $(t,V,n){var i={left:t.left+V,right:t.right+V,top:t.top+n,bottom:t.bottom+n};return K(i),i}function tt(t,V,n,i,e){n===m&&i===m&&e===m?n=i=e=V:i===m&&e===m&&(i=V,e=n);var r={left:t.left-e,right:t.right+n,top:t.top-V,bottom:t.bottom+i};return K(r),r}function Vt(t,V,n){return V>=t.left&&V<=t.right&&n>=t.top&&n<=t.bottom}function nt(t){var V=Number.MAX_VALUE,n=Number.MAX_VALUE,i=Number.MIN_VALUE,e=Number.MIN_VALUE;return t.forEach((function(t){V=A(V,t.x),n=A(n,t.y),i=p(i,t.x),e=p(e,t.y)})),{left:V,top:n,right:i,bottom:e,width:i-V,height:e-n}}function it(t){var V,n,i=Number.MAX_VALUE,e=Number.MIN_VALUE,r=Number.MAX_VALUE,c=Number.MIN_VALUE;for(V=0;V<t.length;V++)n=t[V],i=A(i,n.left),e=p(e,n.right),r=A(r,n.top),c=p(c,n.bottom);return{left:i,top:r,right:e,bottom:c,width:e-i,height:c-r}}function et(t,V,n,i){return{x:t+n/2,y:V+i/2}}function rt(t,V){var n,i,e=typeof t;return"function"===e?t(V):"string"==typeof t&&N(n=t,e)&&(i=V&&V.getValueResolver())?i.getValue(n).substring(1):t}function ct(t){return JSON.parse(JSON.stringify(t))}function ot(t,V,n){n.configurable=!0,n.enumerable=!0,Object.defineProperty(t,V,n)}function st(t){return t&&t.length}function dt(t,V,n){var i,e;if(V){if(e=[].indexOf)return e.call(V,t,n);for(i=V.length,null==n&&(n=0),n=n<0?Math.max(0,i+n):n;n<i;n++)if(void 0!==V[n]&&V[n]===t)return n}return-1}function at(t,V){t.push(V)}function ht(t,V){var n=t,i=n.indexOf(V);i>=0&&n.splice(i,1)}function ut(t){return document.createElement(t)}function xt(t,V){return V=V||3,+t.toFixed(V)}function ft(t,V,n,i,e,r){var c,o,s=0,d=jt(n,i,e,r),a=jt(n,i,t,V),h=jt(t,V,e,r);return h+a===d?s:d<=1e-5||h*h>=d*d+a*a?s=a:a*a>=d*d+h*h?s=h:(c=(d+a+h)/2,s=2*(o=Math.sqrt(c*(c-d)*(c-a)*(c-h)))/d)}function yt(t,V){var n,i=Object.keys(t);for(n=0;n<i.length;n++)if(V===t[i[n]])return!0;return!1}function lt(t){return atob(t.slice(o.length))}function gt(t){var V,n;if(t)return(n=(V=(new DOMParser).parseFromString(lt(t),"image/svg+xml")).documentElement)instanceof SVGSVGElement?n:void 0}function At(t){var V=0,n=0,i=gt(t);return i&&(V=i.width.baseVal.value,n=i.height.baseVal.value),{width:V,height:n}}function pt(t,V){var n,i="data-size-cache";return u(t[i])?((n={width:t.naturalWidth,height:t.naturalHeight}).width&&n.height||d(V)&&(n=At(V)),t[i]=n,n):t[i]}function vt(t){var V,n=gt(t);if(n)return n.width.baseVal.valueAsString=n.width.baseVal.value.toString(),n.height.baseVal.valueAsString=n.height.baseVal.value.toString(),V=btoa((new XMLSerializer).serializeToString(n)),o+V}function wt(t,V){h(t,(function(t){V(t.naturalWidth,t.naturalHeight)}))}function jt(t,V,n,i){return xt(Math.sqrt((t-n)*(t-n)+(V-i)*(V-i)))}function bt(t,V){var n=t.reduce((function(t,V){return t+V}),0);return t.map((function(t){return 0===n?0:t/n*V}))}function Lt(){var t=this;return t._fn.apply(null,[].concat.apply([t.YC,t.ZC],arguments))}function mt(t,V,n){var i={_fn:t,YC:V,ZC:n};return Lt.bind(i)}function Ct(t,V){var n=[V].concat(t.values);return t.apply(null,n)}function Rt(t,V,n,i,e,r,c){var o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C=r[0],R=r[1],_=R-C,E=c.F0V,S=c.S0V,F=E[t[0]],X=E[t[1]];if(F||X){if(o=mt(F||X,V,n),(s=F?S[t[0]]:S[t[1]]).length>1&&(d=s.slice(1).map((function(t){return c.getVariable(t)}))),o.values=d||[],x=(a=Ct(o,C))-(h=Ct(o,R)),A={min:l=(f=[a,h])[(y=(u=a>h)?1:0)%2],max:g=f[(y+1)%2],reversed:u},(w=F?i:e)<l)p=u?R:C;else if(w>g)p=u?C:R;else{for(L=0,m=0,v=(b=Ct(o,j=Math.abs((w-a)*_/x)+C))-w;Math.abs(v)>I&&!(m-(v=(b=Ct(o,j+=_*v/x))-w)<I)&&(m=v,!(++L>M)););p=j}return A.value=p,A}}function It(t,V,n,i,e,r){var c=Math.atan2(e-n,i-V)*E;return r?r.toHalfCircle&&c<0?c+=F:r.toNegative&&c>0&&(c-=F):c<0&&(c+=S),c}function Mt(t,V,n,i,e,r,c,o,s){t.ellipse?t.ellipse(V,n,i,e,r,c,o,s):(t.save(),t.translate(V,n),t.rotate(r),t.scale(i,e),t.arc(0,0,1,c,o,s),t.restore())}function _t(t,V,n){var i,e,r,c,o,s,d,a,h,u,A,p,v,w,j=t.left,b=t.top,L=t.width,m=t.height;if(0===(V%=360))return i=j+L,e=b+m,n?{left:j,top:b,right:i,bottom:e}:[{x:j,y:b},{x:i,y:b},{x:i,y:e},{x:j,y:e}];for(V=z(V),c=(r=t.getShapeCenter()).x,o=r.y,s=y(L*L+m*m)/2,a=[],h=[],p=[d=l(m,L),-d,g-d,g+d],v=0;v<4;v++)w=p[v]+V,u=a[v]=c+s*x(w),A=a[v+4]=o+s*f(w),h.push({x:u,y:A});return n?a:h}function Et(t){var V,n,i=0,r=[i];for(V=0;V<t.getRowCount(e.SheetArea.viewport);V++)n=t.Gt(V,e.SheetArea.viewport),r.push(i+n/2),i+=n,r.push(i);return r}function St(t){var V,n,i=0,r=[i];for(V=0;V<t.getColumnCount(e.SheetArea.viewport);V++)n=t.nn(V,e.SheetArea.viewport),r.push(i+n/2),i+=n,r.push(i);return r}function Ft(t){return t&&"object"==typeof t&&"SparklineExValue"===t.typeName}function Xt(t){return Ft(t)&&"IMAGE"===t.name}function Yt(t){if(t.startsWith("data:"))return e.Util.Qr(t).type}function Ot(t){var V=t.Mf,n=t.startRow(),i=t.startColumn(),e=V.C0(n),r=V.S0(i);return V.shapeLayers[3*e+r]}function Tt(t,V){if(!V||!t||!t.Lp)return V;var n=t.Lp.parse(t.Uw(),V,0,0,!1,!1,!1);return t.Lp.unparse(t.Uw(),n,0,0,!1,!1,1)}function Pt(t,V){var n,i;if(!u(V)&&""!==V&&"#REF!"!==V&&"=#REF!"!==V){try{n=(i=(0,c.formulaToExpression)(t.parent&&t.parent.getActiveSheet()||t,V,void 0,void 0,!1))&&Dt(t,i)}catch(t){n=m}return n}}function Nt(t,V){var n,i,c;if(t&&t instanceof r.CalcReference&&1===t.SDt)return n=t.$gt[0],{cellRange:i=new e.Range(n.row,n.col,n.rowCount||1,n.colCount||1),sheet:c=t.rT&&t.rT.Mf||V}}function Dt(t,V){var n,i;if(!(V.row<0||V.column<0||V.endRow<0||V.endColumn<0||void 0===V.row||void 0===V.column||V.dHr))return n=V.source,i=new e.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:i}}function Ut(t){var V=(0,c.rangeToFormula)(t.cellRange,0,0,0),n=(0,e.qTe)(t.sheet.name());return"=".concat(n,"!").concat(V)}function qt(t,V,n){var i,e,r;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),!(r=t.getCustomName(e))&&t.parent&&(r=t.parent.getCustomName(e)),V=r&&r.getExpression()}return V}}function kt(t){return t&&t.ayt&&t.cyt}function Bt(t,V,n,i,e){var r,c,o,s=t.ctV,d=s&&s.getService();d&&(c=(r=t.Mf)&&r.Uw(),d.setFormula(s.id,V,n,i,c,e,r.options.keepUnknownFormulas),t.D0V&&c&&(o=Zt(r,d.getExpression(s.id,V)))&&c.addReferenceSheetName(o.name()),r.$Dr({type:"updateShapeFormula",shape:t,propName:V}))}function Zt(t,V){var n,i;if(t&&V)return 1===V.type&&(i=(n=V.source)&&n.getSheet&&n.getSheet())!==t?i:void 0}function Ht(t,V){var n=zt(t,V);return n||(n=Ot(t)),n.getPointer(V)}function zt(t,V){var n,i=t.Mf,e=i.uw(),r=i.FL(V.pageY-e.top),c=i.PL(V.pageX-e.left),o=function(t,V,n){return t>=V&&t<=n};return o(r,0,2)&&o(c,0,2)&&(n=i.shapeLayers[3*r+c]),n}function Qt(t){var V=t.ctV,n=V.left,i=V.top,r=V.width,c=V.height,o=Ot(t),s=(0,e.GC$)(o.host).offset(),d=n-o.scrollLeft||0,a=i-o.scrollTop||0,h=s.left+d,u=s.top+a;return new C(h,u,r,c)}function Gt(t){var V=Qt(t),n=(0,e.GC$)(t.Mf.parent.j2()).offset();return V.x-=n.left,V.y-=n.top,V.x=Math.max(V.x,0),V.y=Math.max(V.y,0),V}function Jt(t){var V,n,i;for(V=0,n=t;V<n.length;V++)if(Wt(i=n[V]))return!0;return!1}function Wt(t){var V="string"==typeof t?t.charCodeAt(0):t;return V>=44032&&V<=55215||V>=4352&&V<=4607||V>=12592&&V<=12687||V>=43360&&V<=43391||V>=55216&&V<=55295}Object.defineProperty(V,"__esModule",{value:!0}),V.pt=V.getDomRectBaseSheetLayer=V.getShapeLayerByMouseEvt=V.getPointerByMouseEvt=V.getReferenceSheetByExpression=V.setFormulaImp=V.isExternalSource=V.getExpressionReferencedByNameExpr=V.getRangeFormula=V.expressionToRangeInfo=V.convertCalcReferenceToRangeInfo=V.getRangeInfo=V.addWorkSheetNameIfNeed=V.getShapeStartLayer=V.getImageTypeFromDataUrl=V.isImageSparkLineValue=V.isSparkLineValue=V.getHorizontalGridLine=V.getVerticalGridLine=V.getShapePoints=V.Common=V.drawEllipse=V.getLineShapeInGroup=V.getShapeNameList=V.getAdjustAngle=V.getAdjustValue=V.Point=V.Rect=V.toRadius=V.distinct=V.ascSortFunc=V.sum=void 0,i=n("Common"),e=n("Core"),r=n("CalcEngine"),c=n("SheetsCalc"),o=e.WAe.SVG_IMAGE_DATA_URL_PREFIX,s=e.WAe.isBase64ImageStr,d=e.WAe.isSVGBase64ImageStr,a=e.WAe.isVectorBase64ImageStr,h=e.WAe.loadImageElement,u=i.Common.lt.ht,x=Math.cos,f=Math.sin,y=Math.sqrt,l=Math.atan2,g=Math.PI,A=Math.min,p=Math.max,w={},j={},b={},L='"Helvetica Neue", Arial, sans-serif',m=void 0,V.sum=O,V.ascSortFunc=T,V.distinct=P,V.toRadius=z,C=function(){function t(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}return t.prototype.getIntersectRect=function(t){return this.getIntersect(t.x,t.y,t.width,t.height)},t.prototype.getIntersect=function(V,n,i,e){i<0&&(V-=i=-i),e<0&&(n-=e=-e);var r=this,c=r.x,o=r.y,s=r.x+r.width,d=r.y+r.height,a=V,h=n,u=V+i,x=n+e,f=Math.max(c,a),y=Math.max(o,h),l,g,A,p,v=Math.min(s,u)-f,w=Math.min(d,x)-y;if(v>0&&w>0)return new t(f,y,v,w)},t.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},t.prototype.expand=function(t){var V=this;V.x-=t,V.y-=t,V.width+=2*t,V.height+=2*t},t}(),V.Rect=C,R=function(){function t(t,V){var n=this;n.x=t,n.y=V}return t.prototype.clone=function(){var V=this;return new t(V.x,V.y)},t}(),V.Point=R,I=1e-10,M=100,V.getAdjustValue=Rt,E=180*(_=6e4)/Math.PI,S=360*_,F=180*_,V.getAdjustAngle=It,X=function(t){var n=[];return t.forEach((function(t){3===t.ttV?n=n.concat((0,V.getShapeNameList)(t.tin)):n.push(t.name())})),n},V.getShapeNameList=X,Y=function(t){var n=[];return t.tin.forEach((function(t){4===t.ttV&&n.push(t),3===t.ttV&&(n=n.concat((0,V.getLineShapeInGroup)(t)))})),n},V.getLineShapeInGroup=Y,V.drawEllipse=Mt,V.Common={getFontHeight:U,setContextFont:k,getFontSize:Z,extend:H,toRadius:z,toAngle:Q,distance:jt,distributeByWeight:bt,isEnumValue:yt,isBase64ImageStr:s,isSVGBase64ImageStr:d,isVectorBase64ImageStr:a,getImgNaturalSize:pt,fixSVGBase64ImageForFirefox:vt,getBase64ImageSize:wt,rotatePoint:G,rotateVector:J,rotateBound:W,setRectSize:K,translateRectangle:$,expandRectangle:tt,pointIsInRectangle:Vt,calculateBoundByPoints:nt,calculateBoundByRects:it,calculateRectangleCenterPoint:et,getOptionValue:rt,cloneOptions:ct,defineProperty:ot,ocV:st,Rh:dt,arrayPush:at,Array_remove:ht,createElement:ut,fixNumber:xt,getPointToLine:ft},V.getShapePoints=_t,V.getVerticalGridLine=Et,V.getHorizontalGridLine=St,V.isSparkLineValue=Ft,V.isImageSparkLineValue=Xt,V.getImageTypeFromDataUrl=Yt,V.getShapeStartLayer=Ot,V.addWorkSheetNameIfNeed=Tt,V.getRangeInfo=Pt,V.convertCalcReferenceToRangeInfo=Nt,V.expressionToRangeInfo=Dt,V.getRangeFormula=Ut,V.getExpressionReferencedByNameExpr=qt,V.isExternalSource=kt,V.setFormulaImp=Bt,V.getReferenceSheetByExpression=Zt,V.getPointerByMouseEvt=Ht,V.getShapeLayerByMouseEvt=zt,V.getDomRectBaseSheetLayer=Gt,V.pt=Jt},"./dist/plugins/shape/util/sheetUtil.js":function(t,V,n){var i,e,r;function c(t,V,n){var i,e,c;if(V<0)return 0;for(i=0,e=0;e<V;e++)i+=t.getColumnWidth(e);return(c=t.getColumnWidth(V))>0&&(i+=r(n,c)),i}function o(t,V,n){var i,e,c;if(V<0)return 0;for(i=0,e=0;e<V;e++)i+=t.getRowHeight(e);return(c=t.getRowHeight(V))>0&&(i+=r(n,c)),i}function s(t){var V,n=t.getColumnCount(),i=0;for(V=0;V<n;V++)i+=t.nn(V);return i}function d(t,V,n){var i,c,o,d,a;if(V<0)return 0;if(i=0,(c=t.ddV)&&!e(c[V]))i=c[V];else for(o=0;o<V;o++)i+=t.nn(o);return d=t.zoom(),(a=t.getColumnWidth(V))>0&&(i+=r(n,a)*d),t.options.rightToLeft&&(i=s(t)-i),i/d}function a(t,V,n){var i,c,o,s,d;if(V<0)return 0;if(i=0,(c=t.odV)&&!e(c[V]))i=c[V];else for(o=0;o<V;o++)i+=t.Gt(o);return s=t.zoom(),(d=t.getRowHeight(V))>0&&(i+=r(n,d)*s),i/s}function h(t,V,n){var i,e,r,c,o,s,d;if(isNaN(V))return{col:0,colOffset:0};for(i=0,e=0,r=0,o=0,s=t.getColumnCount(),c=0;c<s;c++){if(r+(o=t.getColumnWidth(c,3))>V){i=c,e=V-r;break}r+=o}if(0!==V&&0===i&&0===e)if(n)if(d=t.defaults.colWidth){for(;r+o<V;)r+=d,c++;i=c,e=V-r}else i=c-1,e=V-(r-t.getColumnWidth(i,3));else i=s-1,e=o;return{col:i,colOffset:e}}function u(t,V,n){var i,e,r=0,c=0,o=0,s=0,d=t.getRowCount();for(i=0;i<d;i++){if(o+(s=t.getRowHeight(i,3))>V){r=i,c=V-o;break}o+=s}if(0!==V&&0===r&&0===c)if(n)if(e=t.defaults.rowHeight){for(;o+s<V;)o+=e,i++;r=i,c=V-o}else r=i-1,c=V-(o-t.getRowHeight(r,3));else r=d-1,c=s;return{row:r,rowOffset:c}}function x(t,V,n){var i,e,r,c,o,d,a,h;if(isNaN(V))return{col:0,colOffset:0};for(t.options.rightToLeft&&(V=s(t)-V),i=0,e=0,r=0,o=0,d=t.getColumnCount(),V*=a=t.zoom(),c=0;c<d;c++){if(r+(o=t.nn(c,3))>V){i=c,e=V-r;break}r+=o}if(0!==V&&0===i&&0===e)if(n)if(h=t.defaults.colWidth){for(;r+o<V;)r+=h*a,c++;i=c,e=V-r}else i=c-1,e=V-(r-t.nn(i,3));else i=d-1,e=o;return{col:i,colOffset:e/a}}function f(t,V,n){var i,e,r=0,c=0,o=0,s=0,d=t.getRowCount(),a=t.zoom();for(V*=a,i=0;i<d;i++){if(o+(s=t.Gt(i,3))>V){r=i,c=V-o;break}o+=s}if(0!==V&&0===r&&0===c)if(n)if(e=t.defaults.rowHeight){for(;o+s<V;)o+=e*a,i++;r=i,c=V-o}else r=i-1,c=V-(o-t.Gt(r,3));else r=d-1,c=s;return{row:r,rowOffset:c/a}}function y(t,V){return{x:c(t,V.col,V.colOffset),y:o(t,V.row,V.rowOffset)}}function l(t,V,n){var i=h(t,V),e=i.col,r=i.colOffset,c=u(t,n),o=c.row,s=c.rowOffset;return{col:e,colOffset:r,row:o,rowOffset:s}}Object.defineProperty(V,"__esModule",{value:!0}),V.getAnchorPointByOriginXY=V.getOriginXYByAnchorPoint=V.getRowAndRowOffset=V.getColAndColOffset=V.getRowAndRowOffsetUseOriginY=V.getColAndColOffsetUseOriginX=V.getY=V.getX=V.getLastColumnX=V.getOriginY=V.getOriginX=void 0,i=n("Common"),e=i.Common.lt.ht,r=Math.min,V.getOriginX=c,V.getOriginY=o,V.getLastColumnX=s,V.getX=d,V.getY=a,V.getColAndColOffsetUseOriginX=h,V.getRowAndRowOffsetUseOriginY=u,V.getColAndColOffset=x,V.getRowAndRowOffset=f,V.getOriginXYByAnchorPoint=y,V.getAnchorPointByOriginXY=l},"./dist/plugins/shape/util/viewUtil.js":function(t,V,n){var i,e,r,c,o,s,d,a,h,u,x,f,y,l,g,A,p,v,w,j,b,L,m,C;function R(t,V,n){var i,e,r;t&&(e=(i=V.split(".")).pop(),r=t,i.forEach((function(t){r[t]||(r[t]={}),r=r[t]})),r[e]=n)}function I(t){if(t){var V=JSON.stringify(t);return JSON.parse(V)}}function M(t){return(null==t?void 0:t.length)>1&&"="===t[0]}function _(t){return!!M(t)||(Array.isArray(t)?t.some((function(t){return _(t)})):!(!t||"object"!=typeof t)&&Object.keys(t).some((function(V){return _(t[V])})))}function E(t){var V=t.JVV,n=V&&V.ytV;return n&&n.I0i.HasTextLink()}function S(t){return 0===t.length}function F(t,V){var n,i=t.ctV;return i&&(n=i.getService())?n.getFormula(i.id,V):""}function X(t){return"string"==typeof t&&t}function Y(t,V,n){t.aiV&&R(t.hnV,V,n)}function O(t,V,n,i){var e,r,c=t.ctV;return Y(t,V,n),c&&(e=c.getService())&&(r=t.Mf&&t.Mf.Uw(),e.setValueOrFormula(c.id,V,n,t.siV,r),i)?e.getValue(c.id,V):n}function T(t,V,n){var i=t.ctV;return Y(t,V,n),i?((0,o.setFormulaImp)(t,V,n,t.siV),i[V]):n}function P(t,V,n,i){var e,r=t.ctV,c=r&&r.getService();c&&(c.removeFormula(r.id,V),i&&c.setValue(r.id,V,n)),Y(t,V,n),null===(e=t.Mf)||void 0===e||e.$Dr({type:"updateShapeFormula",shape:t,propName:V})}function N(t,V){t._supportRotate()&&(M(V)?(t.yXn=V,V=T(t,"angle",V)):(t.yXn&&delete t.yXn,P(t,"angle",V)),t.Jli(V,!0),t.hiV())}function D(t,V,n){return{left:t.left*n,top:t.top*n,width:t.width*n,height:t.height*n,angle:t.Rotation,autoShapeType:V,options:{}}}function U(t,V,n,i,r,c,o,s){var a,u,x,f,y,l,g,A,p;V&&(u=(a=(o?V.getValue:V.getFormula).bind(V))(n,"left",s),h(u)||(t.left=u),u=a(n,"top",s),h(u)||(t.top=u),u=a(n,"width",s),h(u)||(t.width=u),u=a(n,"height",s),h(u)||(t.height=u),u=a(n,"angle",s),h(u)||(t.angle=u),u=a(n,v,s),h(u)||(t.src=u),x=t.options=I(V.getOptions(n,!o,s)),c&&!o?(t.Tin=I(c.options.stroke),t.S0t=I(c.options.fill)):(f=V.getValues(n,"options.stroke",!o,s),(y=f.options&&f.options.stroke)&&y[C[0]]&&(l={},C.forEach((function(t){l[t.substr(1)]=y[t]})),r?e.GC$.extend(t.options.stroke,l):t.Tin=l)),r||(x.fill&&_(x.fill)&&(t.S0t=I(x.fill)),x.textFormatOptions&&(g=x.textFormatOptions,A=i.textFormatOptions,f=g.text,(p=V.getFormula(n,d.SHAPE_TEXT_OPTIONS_PATH))&&(p.startsWith("=")||(p="=".concat(p)),t._text=p,g.text=A.text),M(f=g.fill.color)&&(t.viV=f,g.fill.color=A.fill.color),M(f=g.fill.transparency)&&(t.LiV=f,g.fill.transparency=A.fill.transparency),M(f=g.font)&&(t.jiV=f,g.font=A.font),M(f=g.horizontalAlignment)&&(t.biV=f,g.horizontalAlignment=A.horizontalAlignment),M(f=g.verticalAlignment)&&(t.miV=f,g.verticalAlignment=A.verticalAlignment),M(f=g.allowTextToOverflowShape)&&(t.CiV=f,g.allowTextToOverflowShape=A.allowTextToOverflowShape),M(f=g.wrapTextInShape)&&(t.lrt=f,g.wrapTextInShape=A.wrapTextInShape),M(f=g.resizeToFitText)&&(t.NrV=f,g.resizeToFitText=A.resizeToFitText),M(f=g.textDirection)&&(t.ioV=f,g.textDirection=A.textDirection))))}function q(t,V,n){var i,e,r=t.ctV,c=V?{}:I(t.hnV),o=c.controls,d=r.getService(),a=r.id;return d&&(V?(c.path=(0,s.mapPathInstanceToValue)(r.path),(e=d.getValues(a,"textRect",u,n))&&e.textRect&&(c.textRect=e.textRect)):o&&o.forEach((function(t,V){(i=d.getFormula(a,"controls."+V+".x",n))&&(t.x=i),(i=d.getFormula(a,"controls."+V+".y",n))&&(t.y=i)})),U(c,d,a,r.options,!0,null,V,n)),c}function k(t,V,n,i){var e,r,c,o,s,d,a,u,x,f;return n||!t?{}:(s={},d=0,U(o={},e=t.getService(),r=t.id,t.options,!1,V,n,i),c=o.left||V&&V.left,h(c)||(d++,s.left=c),c=o.top||V&&V.top,h(c)||(d++,s.top=c),c=o.width||V&&V.width,h(c)||(d++,s.width=c),c=o.height||V&&V.height,h(c)||(d++,s.height=c),c=o.angle||V&&V.angle,h(c)||(d++,s.angle=c),c=o.src,h(c)||(d++,s.src=o.src),o.Tin&&(d++,s.line=o.Tin),o.S0t&&(d++,s.fill=o.S0t),u=(a=V&&V.options)&&a.textFormatOptions,(x=o._text||u&&u.text)&&!E(t)&&(d++,s.text=x),f=u&&u.fill,(x=o.viV||f&&f.color)&&(d++,s.textColor=x),(x=o.LiV||f&&f.transparency)&&(d++,s.textTransparency=x),(x=o.jiV||u&&u.font)&&(d++,s.font=x),(x=o.miV||u&&u.verticalAlignment)&&(d++,s.vAlign=x),(x=o.biV||u&&u.horizontalAlignment)&&(d++,s.hAlign=x),x=o.CiV||u&&u.allowTextToOverflowShape,h(x)||(d++,s.overFlow=x),x=o.lrt||u&&u.wrapTextInShape,h(x)||(d++,s.wrap=x),(x=u&&u.margins)&&(s.textMargins=x,d++),(x=o.ioV||u&&u.textDirection)&&(s.textDirection=x,d++),d&&s)}function B(t,V){var n,i,e,r,c,o,s,d=t.ctV;if(d)return n=d.parent,e=d.relativeX,r=d.relativeY,c=d.relativeWidth,o=d.relativeHeight,s=k(d,t.hnV),n?(i=n.getZIndex(d),n.removeShape(d,!0)):(i=V.indexOf(d),V.removeShape(d)),{parent:n,zIndex:i,relativeX:e,relativeY:r,relativeWidth:c,relativeHeight:o,formulaItems:s}}function Z(t,V,n,i){if(V.JVV=t,t.ctV=V,i){var e=i.parent,r=i.zIndex,c=i.relativeX,o=i.relativeY,s=i.relativeWidth,d=i.relativeHeight;e?(V.relativeX=c,V.relativeY=o,V.relativeWidth=s,V.relativeHeight=d,e.addShape(V,!0,r)):(n.addShape(V,r),V.isSelected=t.isSelected()),i.formulaItems&&t.unV(i.formulaItems)}else n.temporaryMarkIdUsed(V),t.aiV&&t.unV(k(t.ctV,t.hnV));t.gnV()}function H(t){var V,n,i=t.ctV;return 1===i.ttV?(n=t.Mf.zoom(),(V=(0,c.getLineShapeBoundByPoints)(i.getPoints().map((function(t){return{x:t.x/n,y:t.y/n}})))).width=V.right-V.left,V.height=V.bottom-V.top):((V={left:t.x(),top:t.y(),width:t.width(),height:t.height()}).right=V.left+V.width,V.bottom=V.top+V.height),V}function z(t){if(t){var V=t.color;""!==V&&null!==V&&"transparent"!==V||(t.color="")}}function Q(t){var V=t.ytV.AdjustValues,n=t.ytV.oiV;return(V||[]).map((function(t){return(0,r.convertAdjustmentValueToSJSUnit)(t[1],n[t[0]])}))}function G(t,V){var n,i=(t.AdjustValues||[]).map((function(t){return t[0]})),e=Math.min(i.length,V.length),r=[];for(n=0;n<e;n++)r.push([i[n],V[n]]);return r}function J(t,V){var n=t&&t.blip,i=n&&n.blipBlob;i&&!i.blob&&(i.blob=V())}function W(t,V){V&&t.ctV&&(V.blipFill&&J(V.blipFill,(function(){return t.ctV.getBase64Image()})),V.spPr&&V.spPr.blipFill&&J(V.spPr.blipFill,(function(){return t.ctV.erV()})))}function K(t,V,n){var i,e,r,c,o,s,d,a,h;if(void 0===n&&(n=!0),e=(i=V.split(".")).length,r=i[1],c=i[2],o=t.style(),r===w){if(3===e&&y.indexOf(c)>-1)return M(s=o[r][c])?s:"";if(5===e&&c===j&&(d=parseInt(i[3],10),!isNaN(d)&&i[4]))return M(s=(a=o.fill.stops)&&a[d]&&a[d][i[4]])?s:""}else if(r===b){if(3===e&&l.indexOf(c)>-1)return h=x[c],M(s=o[r][h])?s:""}else if(r===m&&n){if(3===e&&["color","transparency","font"].indexOf(c)>-1)return M(s=o.textEffect[c])?s:""}else if(r===L&&n&&3===e&&A.indexOf(c)>-1)return h=g[c],M(s=o.textFrame[h])?s:""}function $(t,V,n,i){var e,r,c,o,s,d,a,h;void 0===i&&(i=!0),e=t.style(),c=(r=V.split(".")).length,o=r[1],s=r[2],o===w?(d=e.fill,3===c&&y.indexOf(s)>-1?d.hasOwnProperty(s)&&(e.fill[s]=n):5===c&&s===j&&(a=parseInt(r[3],10),!isNaN(a)&&r[4]&&d.stops&&(d.stops[a][r[4]]=n))):o===b?3===c&&l.indexOf(s)>-1&&(h=x[s],e.line[h]=n):o===m&&i?3===c&&p.indexOf(s)>-1&&(e.textEffect[s]=n):o===L&&i&&3===c&&A.indexOf(s)>-1&&(h=g[s],e.textFrame[h]=n),t.style(e)}function tt(t,V){V.ignoreLayoutConnection=!0,t[0]&&V.startConnector(t[0],!0),t[1]&&V.endConnector(t[1],!0),delete V.ignoreLayoutConnection}function Vt(t,V){var n=Math.sin(V),i=Math.cos(V),e,r;return{x:t.x*i-t.y*n,y:t.x*n+t.y*i}}function nt(t,V,n){t.x-=V.x,t.y-=V.y;var i=Vt(t,n);return{x:i.x+V.x,y:i.y+V.y}}function it(t,V){return V=V||3,+t.toFixed(V)}function et(t,V,n,i,e,r,c,o){var s,d;return{x:s=i?c-t+e:t+e,y:d=n?o-V+r:V+r}}function rt(t,V){var n,i,e=document.createElement("canvas"),r=e.getContext("2d"),c=null!=V?V:1,s=t.map((function(t){return t.ctV})).filter((function(t){return!!t})),d=o.Common.calculateBoundByRects(s.map((function(t){return t.getRenderBound(!1)})));return e.width=d.width,e.height=d.height,r.translate(-d.left,-d.top),s.forEach((function(t){t.render(r,u,u,!1)})),i=(n=document.createElement("canvas")).getContext("2d"),n.width=d.width/c,n.height=d.height/c,i.drawImage(e,0,0,d.width,d.height,0,0,d.width/c,d.height/c),n}function ct(t){var V,n;return null===(n=null===(V=t.Mf)||void 0===V?void 0:V.parent)||void 0===n?void 0:n.collaboration}Object.defineProperty(V,"__esModule",{value:!0}),V.getCollaboration=V.getShapeBaseObjectsCanvas=V.flipPoint=V.fixNumber=V.rotatePoint=V.syncConnectors=V.setStyleFormula=V.getStyleFormula=V.processShapeEmptyBlipBlobWhenToJson=V.convertArrayValueToAdjustmentValue=V.getShapeAdjustments=V.adjustTransparentColor=V.getShapeBound=V.addNewShapeUIWhenInitShapeUI=V.removeOldShapeUIWhenInitShapeUI=V.getFormulaSettingItems=V.syncCustomShapeModel=V.getBuiltInShapeModelWhenInit=V.rotateImp=V.removeFormula=V.setFormula=V.updateOptionsItem=V.isUrl=V.getFormula=V.noArguments=V.hasTextLink=V.hasFormulaItem=V.isFormula=V.simpleCloneObject=V.updateOptionItemByPath=void 0,i=n("Common"),e=n("Core"),r=n("./dist/plugins/shape/shape.js"),c=n("./dist/plugins/shape/ui/compoundShape.js"),o=n("./dist/plugins/shape/ui/util.js"),s=n("./dist/plugins/shape/geometryService/geometryService.js"),d=n("./dist/plugins/shape/shapeView.js"),a=i.Common.lt,h=a.ht,u=void 0,x={color:"color",linestyle:"lineStyle",width:"width",captype:"capType",jointype:"joinType",transparency:"transparency",compoundtype:"compoundType"},y=["color","transparency","type","angle","direction"].concat(f=["src","tilePictureAsTexture","offsetLeft","offsetRight","offsetTop","offsetBottom","offsetX","offsetY","scaleX","scaleY","alignment","mirrorType"]),l=["color","linestyle","width","captype","jointype","transparency","compoundtype"],g={valign:"vAlign",halign:"hAlign"},A=["valign","halign"],p=["color","transparency","font"],v="src",w="fill",j="stops",b="line",L="textframe",m="texteffect",V.updateOptionItemByPath=R,V.simpleCloneObject=I,V.isFormula=M,V.hasFormulaItem=_,V.hasTextLink=E,V.noArguments=S,V.getFormula=F,V.isUrl=X,V.updateOptionsItem=O,V.setFormula=T,V.removeFormula=P,V.rotateImp=N,V.getBuiltInShapeModelWhenInit=D,C=["_color","_lineStyle","_width","_capType","_joinType","_transparency","_compoundType"],V.syncCustomShapeModel=q,V.getFormulaSettingItems=k,V.removeOldShapeUIWhenInitShapeUI=B,V.addNewShapeUIWhenInitShapeUI=Z,V.getShapeBound=H,V.adjustTransparentColor=z,V.getShapeAdjustments=Q,V.convertArrayValueToAdjustmentValue=G,V.processShapeEmptyBlipBlobWhenToJson=W,V.getStyleFormula=K,V.setStyleFormula=$,V.syncConnectors=tt,V.rotatePoint=nt,V.fixNumber=it,V.flipPoint=et,V.getShapeBaseObjectsCanvas=rt,V.getCollaboration=ct},CalcEngine:function(V){V.exports=t.Spread.CalcEngine},CellTypes:function(V){V.exports=t.Spread.Sheets.CellTypes},Comment:function(V){V.exports=t.Spread.Sheets.Comments},Common:function(V){V.exports=t.Spread},ConditionalFormatting:function(V){V.exports=t.Spread.Sheets.ConditionalFormatting},Core:function(V){V.exports=t.Spread.Sheets},FloatingObject:function(V){V.exports=t.Spread.Sheets.FloatingObjects},SheetsCalc:function(V){V.exports=t.Spread.Sheets.CalcEngine},Touch:function(V){V.exports=t.Spread.Sheets.Touch}},i={};function e(t){var V,r=i[t];return void 0!==r?r.exports:(V=i[t]={exports:{}},n[t].call(V.exports,V,V.exports,e),V.exports)}V=e("./dist/plugins/shape/shape.entry.js"),(((t=void 0===t?{}:t).Spread=t.Spread||{}).Sheets=t.Spread.Sheets||{}).Shapes=V}(),t.Spread.Common.CultureManager.reloadResources&&t.Spread.Common.CultureManager.reloadResources("Shapes")}));