@univerjs-pro/engine-shape 1.0.0-beta.0 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x889816=_0x1204;(function(_0x56d7df,_0x22800f){const _0x43bc7b=_0x1204,_0x358bb3=_0x56d7df();while(!![]){try{const _0x1669f4=-parseInt(_0x43bc7b(0x1e1))/0x1+parseInt(_0x43bc7b(0x175))/0x2*(-parseInt(_0x43bc7b(0x1c8))/0x3)+-parseInt(_0x43bc7b(0x16d))/0x4+parseInt(_0x43bc7b(0x1aa))/0x5+-parseInt(_0x43bc7b(0x137))/0x6+parseInt(_0x43bc7b(0x196))/0x7*(parseInt(_0x43bc7b(0x102))/0x8)+-parseInt(_0x43bc7b(0x1d7))/0x9*(-parseInt(_0x43bc7b(0x195))/0xa);if(_0x1669f4===_0x22800f)break;else _0x358bb3['push'](_0x358bb3['shift']());}catch(_0x21d631){_0x358bb3['push'](_0x358bb3['shift']());}}}(_0x3ad9,0x733c1),Object[_0x889816(0x198)](exports,Symbol[_0x889816(0x11c)],{'value':_0x889816(0x1b0)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x889816(0x14f)]{get['ShapeTypeEnum'](){const _0x439f64=_0x889816;return e[_0x439f64(0x11d)];}get['ShapeFillEnum'](){const _0xfc19a8=_0x889816;return e[_0xfc19a8(0x19c)];}get[_0x889816(0x119)](){const _0x5599bf=_0x889816;return e[_0x5599bf(0x119)];}get[_0x889816(0x1ca)](){const _0x372452=_0x889816;return e[_0x372452(0x116)];}get[_0x889816(0x101)](){const _0x2b7101=_0x889816;return e[_0x2b7101(0xfd)];}get['ShapeLineTypeEnum'](){const _0xbebebc=_0x889816;return e[_0xbebebc(0x164)];}get[_0x889816(0x1a8)](){const _0x339a18=_0x889816;return e[_0x339a18(0x1a8)];}get[_0x889816(0x178)](){const _0x1d7fc8=_0x889816;return e[_0x1d7fc8(0x178)];}get[_0x889816(0x124)](){const _0x68954c=_0x889816;return e[_0x68954c(0x124)];}get['ShapeOperatorEnum'](){const _0x1b4c99=_0x889816;return e[_0x1b4c99(0x15e)];}get['ShapeArrowTypeEnum'](){const _0xfde7ce=_0x889816;return e[_0xfde7ce(0x1b5)];}get[_0x889816(0x186)](){const _0x5afae6=_0x889816;return e[_0x5afae6(0x186)];}get[_0x889816(0x1b9)](){return e['ShapeTextAutoFitType'];}get[_0x889816(0x132)](){const _0x55440b=_0x889816;return e[_0x55440b(0x132)];}get[_0x889816(0x11e)](){const _0x58eb6c=_0x889816;return e[_0x58eb6c(0x11e)];}};function _0x1204(_0x5b657d,_0x2a0e63){_0x5b657d=_0x5b657d-0xfa;const _0x3ad948=_0x3ad9();let _0x120483=_0x3ad948[_0x5b657d];return _0x120483;}t[_0x889816(0x14f)]['extend'](r);function i(_0x2d2f95){const _0x4673fc=_0x889816;switch(_0x2d2f95){case e[_0x4673fc(0x119)][_0x4673fc(0x12f)]:return _0x4673fc(0x1cf);case e[_0x4673fc(0x119)][_0x4673fc(0x192)]:return _0x4673fc(0x172);case e[_0x4673fc(0x119)][_0x4673fc(0x1b2)]:return _0x4673fc(0x114);case e[_0x4673fc(0x119)][_0x4673fc(0x1ea)]:default:return _0x4673fc(0x1e6);}}function a(_0x1871bd){const _0x5263d9=_0x889816;return _0x1871bd===e['ImageFillModeEnum'][_0x5263d9(0x1a3)]?_0x5263d9(0x1d3):'stretch';}var o=class{constructor(_0x5b7b71,_0x18b849){const _0x3fff36=_0x889816;this[_0x3fff36(0x18a)]=_0x5b7b71,this[_0x3fff36(0x1ef)]=_0x18b849;}['getRichText'](){const _0x2b77c2=_0x889816;var _0x5cd70f;return(0x0,e['shapeTextToRichTextValue'])((_0x5cd70f=this[_0x2b77c2(0x1be)]())==null?void 0x0:_0x5cd70f[_0x2b77c2(0x12a)]);}[_0x889816(0x16e)](){const _0x5d2229=_0x889816;var _0x2e645e;return((_0x2e645e=this['getRichText']())==null?void 0x0:_0x2e645e[_0x5d2229(0x14e)]())??null;}[_0x889816(0x126)](_0xbf995f){const _0x3f6af1=_0x889816;return this[_0x3f6af1(0x1b7)](_0x2757bb=>({..._0x2757bb,'shapeText':(0x0,e[_0x3f6af1(0x123)])(_0x2757bb[_0x3f6af1(0x12a)],_0xbf995f)})),this;}[_0x889816(0x10c)](_0x33c87c){const _0x3cc656=_0x889816;return this[_0x3cc656(0x1b7)](_0x2e3329=>({..._0x2e3329,'shapeText':(0x0,e[_0x3cc656(0x1a7)])(_0x2e3329['shapeText'],_0x33c87c)})),this;}[_0x889816(0x141)](_0x17ec30){const _0x4ddf17=_0x889816;return this[_0x4ddf17(0x1b7)](_0x1e5226=>({..._0x1e5226,'shapeText':(0x0,e[_0x4ddf17(0x1d4)])(_0x1e5226['shapeText'],_0x17ec30)})),this;}[_0x889816(0x1ac)](_0x27caf0,_0x140701){const _0x6aec9d=_0x889816;return this['setTextStyle']({'cl':{'rgb':_0x27caf0},'textFill':{'type':_0x6aec9d(0x1b6),'color':_0x27caf0,'opacity':_0x140701}});}[_0x889816(0x185)](){const _0x29d4ce=_0x889816;return this[_0x29d4ce(0x141)]({'cl':{'rgb':_0x29d4ce(0x160)},'textFill':{'type':_0x29d4ce(0x1ec)}});}[_0x889816(0x105)](_0xca5c5d,_0x203bcb,_0x2c0ee3){const _0x3573b3=_0x889816;return _0x203bcb['length']<0x2?(console[_0x3573b3(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x3573b3(0x141)]({'cl':{'rgb':_0x203bcb[0x0]['color']},'textFill':{'type':_0x3573b3(0x10d),'gradient':{'type':i(_0xca5c5d),'angle':_0x2c0ee3,'stops':_0x203bcb['map'](({position:_0x53debc,color:_0x1e58ef,opacity:_0x49d1a2})=>({'offset':_0x53debc,'color':_0x1e58ef,'opacity':_0x49d1a2}))}}});}[_0x889816(0x1c1)](_0x1c3c47,_0x13982f=e['ImageSourceTypeEnum'][_0x889816(0x180)],_0x5ceb85={}){const _0x1de0cc=_0x889816;return this[_0x1de0cc(0x141)]({'textFill':{'type':_0x1de0cc(0x1a9),'picture':{'source':_0x1c3c47,'sourceType':_0x13982f,'opacity':_0x5ceb85['opacity'],'mode':a(_0x5ceb85[_0x1de0cc(0x110)]),'scaleX':_0x5ceb85[_0x1de0cc(0x1e5)],'scaleY':_0x5ceb85[_0x1de0cc(0x17e)],'offsetX':_0x5ceb85['offsetX'],'offsetY':_0x5ceb85['offsetY']}}});}[_0x889816(0x1bf)](_0x24cbb7){const _0x437bfa=_0x889816;return this[_0x437bfa(0x141)]({'fs':_0x24cbb7});}[_0x889816(0x10f)](_0x2c8e6e){return this['setTextStyle']({'ff':_0x2c8e6e});}[_0x889816(0x149)](_0x5dea2a){const _0x46fde3=_0x889816;return this['setTextStyle']({'bl':_0x5dea2a?n[_0x46fde3(0x1b3)]['TRUE']:n[_0x46fde3(0x1b3)][_0x46fde3(0x140)]});}[_0x889816(0x166)](_0x5c9c16){const _0xe0a65d=_0x889816;return this[_0xe0a65d(0x141)]({'it':_0x5c9c16?n['BooleanNumber']['TRUE']:n[_0xe0a65d(0x1b3)][_0xe0a65d(0x140)]});}[_0x889816(0x148)](_0x50f634){const _0x2e82dd=_0x889816;return this['setTextStyle']({'ul':{'s':_0x50f634?n[_0x2e82dd(0x1b3)]['TRUE']:n[_0x2e82dd(0x1b3)]['FALSE']}});}['setStrikethrough'](_0x12e4a0){const _0x4f4915=_0x889816;return this[_0x4f4915(0x141)]({'st':{'s':_0x12e4a0?n['BooleanNumber']['TRUE']:n[_0x4f4915(0x1b3)][_0x4f4915(0x140)]}});}[_0x889816(0x18c)](_0x34bd12){const _0x36ee5f=_0x889816;return this[_0x36ee5f(0x1b7)](_0x5c9bc7=>(0x0,e[_0x36ee5f(0x1cd)])(_0x5c9bc7,{'horizontalAlign':_0x34bd12})),this;}[_0x889816(0x1b8)](_0x49c07e){return this['_updateShapeData'](_0x1bbcb2=>(0x0,e['applyShapeTextAlignment'])(_0x1bbcb2,{'verticalAlign':_0x49c07e})),this;}[_0x889816(0x14a)](){const _0x328f04=_0x889816;let _0x1634c6=this[_0x328f04(0x1be)]();return _0x1634c6?(0x0,e[_0x328f04(0x154)])(_0x1634c6):null;}[_0x889816(0x19d)](_0xee166c){const _0x47bfec=_0x889816;return this[_0x47bfec(0x1b7)](_0x2ebe9e=>(0x0,e['applyShapeTextBoxOptions'])(_0x2ebe9e,_0xee166c)),this;}[_0x889816(0x1d8)](){const _0x25c39a=_0x889816;return this[_0x25c39a(0x1ef)][_0x25c39a(0x1a6)](e[_0x25c39a(0xff)])[_0x25c39a(0x1a6)](this[_0x25c39a(0x18a)]['hostType']);}[_0x889816(0x1be)](){const _0x1c96bb=_0x889816;let _0x4e3051=this[_0x1c96bb(0x1d8)]();if(!_0x4e3051)return null;try{var _0x30ba04;return((_0x30ba04=_0x4e3051['getShape'](this[_0x1c96bb(0x18a)]))==null?void 0x0:_0x30ba04[_0x1c96bb(0x16b)])||(console[_0x1c96bb(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+_0x1c96bb(0x1ad)),null);}catch(_0x33340c){return console[_0x1c96bb(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x1c96bb(0x18a)][_0x1c96bb(0x1bd)]+_0x1c96bb(0x174),_0x33340c),null;}}['_updateShapeData'](_0x17004c){const _0x1a26a2=_0x889816;let _0x16e04f=this[_0x1a26a2(0x1d8)]();if(!_0x16e04f)return!0x1;try{var _0xf8d1ff;let _0x3f6c31=(_0xf8d1ff=_0x16e04f[_0x1a26a2(0x12e)](this[_0x1a26a2(0x18a)]))==null?void 0x0:_0xf8d1ff['shapeData'];if(!_0x3f6c31)return console[_0x1a26a2(0x1c0)](_0x1a26a2(0x139)+this[_0x1a26a2(0x18a)][_0x1a26a2(0x1bd)]+'\x22\x20was\x20not\x20found.'),!0x1;let _0x3512ab=_0x16e04f[_0x1a26a2(0x1a1)](this[_0x1a26a2(0x18a)],{'shapeData':_0x17004c(_0x3f6c31)});return _0x3512ab||console[_0x1a26a2(0x1c0)](_0x1a26a2(0x1e7)+this[_0x1a26a2(0x18a)][_0x1a26a2(0x1bd)]+_0x1a26a2(0x174)),_0x3512ab;}catch(_0x27da83){return console[_0x1a26a2(0x1c0)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this['_shapeRef'][_0x1a26a2(0x1bd)]+_0x1a26a2(0x174),_0x27da83),!0x1;}}};function s(_0x3109be,_0x3f127c){return function(_0x3db90e,_0x283861){_0x3f127c(_0x3db90e,_0x283861,_0x3109be);};}function c(_0x3ef8ac,_0x34e727,_0x7bbba0,_0x79e484){const _0x5d79fa=_0x889816;var _0x12fc2d=arguments[_0x5d79fa(0x158)],_0x35a8b6=_0x12fc2d<0x3?_0x34e727:_0x79e484===null?_0x79e484=Object[_0x5d79fa(0x1d2)](_0x34e727,_0x7bbba0):_0x79e484,_0xc7b8eb;if(typeof Reflect==_0x5d79fa(0x16f)&&typeof Reflect[_0x5d79fa(0x1b1)]==_0x5d79fa(0x181))_0x35a8b6=Reflect[_0x5d79fa(0x1b1)](_0x3ef8ac,_0x34e727,_0x7bbba0,_0x79e484);else{for(var _0x45fcab=_0x3ef8ac['length']-0x1;_0x45fcab>=0x0;_0x45fcab--)(_0xc7b8eb=_0x3ef8ac[_0x45fcab])&&(_0x35a8b6=(_0x12fc2d<0x3?_0xc7b8eb(_0x35a8b6):_0x12fc2d>0x3?_0xc7b8eb(_0x34e727,_0x7bbba0,_0x35a8b6):_0xc7b8eb(_0x34e727,_0x7bbba0))||_0x35a8b6);}return _0x12fc2d>0x3&&_0x35a8b6&&Object['defineProperty'](_0x34e727,_0x7bbba0,_0x35a8b6),_0x35a8b6;}function _0x3ad9(){const _0x4a2400=['fill','setFontFamily','mode','setShapeType','getConnector','unbind\x20end','diamond','getAdjustNames','ImageFillModeEnum','_mutateConnector','setStartPoint','ShapeGradientTypeEnum','hostType','stroke','toStringTag','ShapeTypeEnum','ShapeTextWrapType','getShapeData','NoLine','remove','flipX','applyRichTextToShapeText','ShapeLineJoinEnum','setVisible','setRichText','FShape','isConnectorShape','height','shapeText','lineStrokeType','customGeometry','setSize','getShape','Radial','isInteger','unbindStart','ShapeTextDirection','updateContext','_getConnectorSnapshot','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','1657218oUPhzb','bringForward','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','isSelectable','setStrokeLineDashType','getText','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','getTransform','setCustomGeometry','FALSE','setTextStyle','bind\x20','setSelectable','[Shape\x20Facade]:\x20Shape\x20\x22','ShapeModel','data','from','setUnderline','setBold','getTextBoxOptions','send\x20backward','SolidLine','getStartConnectInfo','toPlainText','FEnum','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','createInstance','bring\x20forward','getEndArrow','resolveShapeTextBoxOptions','getStartArrow','findIndex','Shape\x20transform\x20\x22','length','pathLst','set\x20start\x20point','map','bringToFront','endArrow','ShapeOperatorEnum','[Shape\x20Facade]:\x20Failed\x20to\x20','rgba(0,\x200,\x200,\x200)','getAdjustInfo','setCustomGeometryFromSvgPath','sendBackward','ShapeLineTypeEnum','[Shape\x20Facade]:\x20Connector\x20\x22','setItalic','IConnectorShapeHostAdapter','selectable','left','GradientFill','shapeData','setSolidFill','1842504WYBwGX','getPlainText','object','removeShape','setEndPoint','angular','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','\x22\x20text.','138154QfySQc','width','getStartEndpoint','ShapeLineCapEnum','end','SolidFill','adjustValues','setDescription','isFinite','scaleY','_bind','URL','function','_mutate','getRoutePoints','startArrow','setNoneFill','ShapeArrowSizeEnum','setName','relation','set\x20end\x20point','_shapeRef','\x20Shape\x20\x22','setHorizontalAlign','setTransform','every','entries','flipY','setStrokeColor','Angular','boolean','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','776870QUNRdW','126KsvUQU','routePoints','defineProperty','setAdjustValues','getEndEndpoint','unbindEnd','ShapeFillEnum','setTextBoxOptions','FShapeText','setRotation','setShapeData','updateShape','setStartArrow','Tile','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','FBase','get','applyTextToShapeText','ShapeLineDashEnum','picture','4064875DfWDWv','getConnectionSiteList','setColor','\x22\x20was\x20not\x20found.','Shape\x20\x22','\x22\x20must\x20be\x20finite.','Module','decorate','Diamond','BooleanNumber','\x22\x20must\x20be\x20boolean.','ShapeArrowTypeEnum','solid','_updateShapeData','setVerticalAlign','ShapeTextAutoFitType','setRoutePoints','\x22\x20requires\x20Connector\x20Shape\x20data.','sendToBack','shapeId','_getShapeData','setFontSize','warn','setImageFill','_getGeometryModel','description','bindEnd','setAbsolutePosition','set\x20end\x20arrow','\x20Connector\x20Shape\x20\x22','15QQhnKn','_getConnectorAdapter','ShapeImageFillModeEnum','shapeType','_shapeHostAdapterRegistry','applyShapeTextAlignment','transform','radial','setAdjustValueByName','FConnectorShape','getOwnPropertyDescriptor','tile','applyShapeTextStyle','fromEntries','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','117PMArJP','_getAdapter','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','parseSvgPathData','deepClone','visible','setStroke','getShapeType','start','setEndArrow','423851DWmypU','setStrokeLineType','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','bring\x20to\x20front','scaleX','linear','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','getName','PictureFill','Linear','isCustom','none','setStrokeOpacity','_getSnapshot','_injector','setStrokeWidth','_patchStroke','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','getCustomGeometry','ImageSourceTypeEnum','getPresetShapeConfig','IShapeHostAdapterRegistry','cxnLst','ShapeImageSourceTypeEnum','68960zQEpFS','_commandService','bindStart','setGradientFill','_patchShapeData','getDescription','dataArray','update','Tools','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','setText','gradient'];_0x3ad9=function(){return _0x4a2400;};return _0x3ad9();}function l(_0x37158a){const _0xfc9e64=_0x889816;let _0x3437fc=n[_0xfc9e64(0x10a)][_0xfc9e64(0x1db)](_0x37158a);return _0x3437fc[_0xfc9e64(0x159)]&&=_0x3437fc['pathLst']['map'](_0x37b0ce=>{const _0x311e71=_0xfc9e64;var _0x4b54a8;if((_0x4b54a8=_0x37b0ce[_0x311e71(0x108)])!=null&&_0x4b54a8[_0x311e71(0x158)]){let {data:_0x3da649,..._0x1a16a5}=_0x37b0ce;return _0x1a16a5;}if(_0x37b0ce[_0x311e71(0x146)]===void 0x0)return _0x37b0ce;let _0x5c5896=(0x0,e[_0x311e71(0x1da)])(_0x37b0ce[_0x311e71(0x146)]),{data:_0x24ee83,..._0x5c9ee5}=_0x37b0ce;return{..._0x5c9ee5,'dataArray':_0x5c5896};}),_0x3437fc;}let u=class extends t[_0x889816(0x1a5)]{constructor(_0x3af08c,_0x41626e,_0x4d93bf,_0x3860c4){const _0x123b1c=_0x889816;super(),this['_shapeRef']=_0x3af08c,this['_injector']=_0x41626e,this['_shapeHostAdapterRegistry']=_0x4d93bf,this[_0x123b1c(0x103)]=_0x3860c4;}[_0x889816(0x128)](){return!0x1;}['getId'](){const _0x461b79=_0x889816;return this[_0x461b79(0x18a)]['shapeId'];}[_0x889816(0x1e8)](){const _0x75a02d=_0x889816;var _0x10bb61;return(_0x10bb61=this[_0x75a02d(0x1ee)]())==null?void 0x0:_0x10bb61['name'];}[_0x889816(0x187)](_0x15bb1a){const _0x5b5f96=_0x889816;return this[_0x5b5f96(0x109)]({'name':_0x15bb1a});}[_0x889816(0x107)](){const _0x207d34=_0x889816;var _0x537e28;return(_0x537e28=this[_0x207d34(0x1ee)]())==null?void 0x0:_0x537e28[_0x207d34(0x1c3)];}[_0x889816(0x17c)](_0x366d3e){return this['update']({'description':_0x366d3e});}['getHostType'](){const _0xc9349c=_0x889816;return this[_0xc9349c(0x18a)][_0xc9349c(0x11a)];}[_0x889816(0x1de)](){const _0x45805d=_0x889816;var _0x17ba17;return((_0x17ba17=this['_getSnapshot']())==null?void 0x0:_0x17ba17[_0x45805d(0x1cb)])??null;}[_0x889816(0x11f)](){const _0x258e3e=_0x889816;let _0x385de6=this['_getSnapshot']();return _0x385de6?n[_0x258e3e(0x10a)][_0x258e3e(0x1db)](_0x385de6[_0x258e3e(0x16b)]):null;}['getSnapshot'](){const _0x47f9ef=_0x889816;let _0x73a573=this[_0x47f9ef(0x1ee)]();return _0x73a573?n[_0x47f9ef(0x10a)][_0x47f9ef(0x1db)](_0x73a573):null;}[_0x889816(0x13e)](){const _0x641f45=_0x889816;let _0x2baf5e=this[_0x641f45(0x1ee)]();return _0x2baf5e?{..._0x2baf5e[_0x641f45(0x1ce)]}:null;}['isVisible'](){const _0x57fb53=_0x889816;var _0x54d28e;return((_0x54d28e=this[_0x57fb53(0x1ee)]())==null?void 0x0:_0x54d28e[_0x57fb53(0x1dc)])??!0x1;}[_0x889816(0x125)](_0x1a5e7a){const _0x3aed90=_0x889816;return this[_0x3aed90(0x109)]({'visible':_0x1a5e7a});}[_0x889816(0x13a)](){const _0x770b98=_0x889816;var _0x54d5df;return((_0x54d5df=this[_0x770b98(0x1ee)]())==null?void 0x0:_0x54d5df['selectable'])??!0x1;}[_0x889816(0x143)](_0xdac895){const _0x4c2a5b=_0x889816;return this[_0x4c2a5b(0x109)]({'selectable':_0xdac895});}[_0x889816(0x13c)](){const _0x4012a2=_0x889816;return this[_0x4012a2(0x1ef)][_0x4012a2(0x151)](o,this[_0x4012a2(0x18a)],this[_0x4012a2(0x1ef)]);}['isCustomShape'](){const _0x53e357=_0x889816;let _0x2693fc=this[_0x53e357(0x11f)]();return(_0x2693fc==null?void 0x0:_0x2693fc[_0x53e357(0x1eb)])===!0x0&&!!_0x2693fc[_0x53e357(0x12c)];}[_0x889816(0xfc)](){const _0x31c0cb=_0x889816;var _0x3edd68;return((_0x3edd68=this[_0x31c0cb(0x11f)]())==null?void 0x0:_0x3edd68[_0x31c0cb(0x12c)])??null;}[_0x889816(0x111)](_0x23b755){return this['_patchShapeData'](_0x22d99c=>({..._0x22d99c,'shapeType':_0x23b755}),_0x23b755);}[_0x889816(0x1a0)](_0x256154){const _0xe12d82=_0x889816;let _0x300faf=n['Tools'][_0xe12d82(0x1db)](_0x256154);return this['update']({'shapeType':_0x300faf['shapeType'],'shapeData':_0x300faf});}['setTransform'](_0x30f5f0){const _0x2cb7ca=_0x889816;return this[_0x2cb7ca(0x109)]({'transform':_0x30f5f0});}[_0x889816(0x12d)](_0xec8255,_0x9992d7){const _0x30c296=_0x889816;return this[_0x30c296(0x18d)]({'width':_0xec8255,'height':_0x9992d7});}[_0x889816(0x19f)](_0x126d3d){const _0x2d1469=_0x889816;return this[_0x2d1469(0x18d)]({'rotation':_0x126d3d});}[_0x889816(0x1c5)](_0x2bed8e,_0xb45c55){return this['setTransform']({'left':_0x2bed8e,'top':_0xb45c55});}['setCustomGeometry'](_0x1ef33e){const _0x13536c=_0x889816;var _0x15c467,_0xfcbfe9;let _0x3651a5=((_0x15c467=_0x1ef33e[_0x13536c(0x100)])==null?void 0x0:_0x15c467[_0x13536c(0x156)](({x:_0x49c326,y:_0x551079})=>_0x49c326===void 0x0||_0x551079===void 0x0))??-0x1;if(_0x3651a5>=0x0)return console[_0x13536c(0x1c0)](_0x13536c(0x150)+_0x3651a5+'\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.'),this;let _0xbedf4d=l(_0x1ef33e);if((_0xfcbfe9=_0xbedf4d[_0x13536c(0x100)])!=null&&_0xfcbfe9[_0x13536c(0x158)]){let _0x5a0622=this['_getSnapshot']();if(!_0x5a0622)return this;try{let _0x5668c6=new e['ShapeModel'](_0x5a0622[_0x13536c(0x1cb)],_0x5a0622[_0x13536c(0x1bd)],{..._0x5a0622[_0x13536c(0x16b)],'isCustom':!0x0,'customGeometry':_0xbedf4d});_0x5668c6['updateContext']({'width':_0x5a0622[_0x13536c(0x1ce)][_0x13536c(0x176)],'height':_0x5a0622[_0x13536c(0x1ce)][_0x13536c(0x129)]}),_0x5668c6['getConnectionSiteList']();}catch{return console[_0x13536c(0x1c0)](_0x13536c(0x1d9)),this;}}return this[_0x13536c(0x106)](_0x4a2205=>({..._0x4a2205,'isCustom':!0x0,'customGeometry':_0xbedf4d}));}[_0x889816(0x162)](_0x1d313c){const _0x5b5124=_0x889816;return this[_0x5b5124(0x13f)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x1d313c['width'],'h':_0x1d313c[_0x5b5124(0x129)],'fill':_0x1d313c[_0x5b5124(0x10e)],'stroke':_0x1d313c[_0x5b5124(0x11b)],'data':_0x1d313c['pathData']}]});}['getConnectionSites'](){const _0x13406f=_0x889816;var _0x104378;return((_0x104378=this[_0x13406f(0x1c2)]())==null?void 0x0:_0x104378[_0x13406f(0x1ab)]()[_0x13406f(0x15b)](_0x39d26f=>({..._0x39d26f})))??[];}[_0x889816(0x14d)](){const _0x2826f6=_0x889816;var _0x12cd9e;let _0x49af36=(_0x12cd9e=this[_0x2826f6(0x1c2)]())==null?void 0x0:_0x12cd9e[_0x2826f6(0x14d)]();return _0x49af36?{..._0x49af36}:null;}['getEndConnectInfo'](){const _0x13e2f2=_0x889816;var _0x5266e0;let _0x45f224=(_0x5266e0=this[_0x13e2f2(0x1c2)]())==null?void 0x0:_0x5266e0['getEndConnectInfo']();return _0x45f224?{..._0x45f224}:null;}['getAdjustHandles'](){const _0x56d4dc=_0x889816;var _0x1276e3;let _0x11afbd=this['_getGeometryModel'](),_0x1f81a9=(_0x11afbd==null||(_0x1276e3=_0x11afbd[_0x56d4dc(0xfe)]()['ahLst'])==null?void 0x0:_0x1276e3['length'])??0x0;return!_0x11afbd||_0x1f81a9===0x0?[]:Array[_0x56d4dc(0x147)]({'length':_0x1f81a9},(_0xea7a04,_0x58a6f0)=>_0x11afbd[_0x56d4dc(0x161)](_0x58a6f0))['filter'](_0x276c07=>_0x276c07!==void 0x0)[_0x56d4dc(0x15b)](_0x194cee=>n[_0x56d4dc(0x10a)]['deepClone'](_0x194cee));}[_0x889816(0x199)](_0x10d5ea){const _0x3489ab=_0x889816;let _0x1122ea=Object[_0x3489ab(0x18f)](_0x10d5ea);if(_0x1122ea['length']===0x0)return this;let _0x32a9a1=this[_0x3489ab(0x1c2)]();if(!_0x32a9a1)return this;let _0x3089d6=new Set(_0x32a9a1[_0x3489ab(0x115)]());for(let [_0x207486,_0x41dc26]of _0x1122ea){if(!_0x3089d6['has'](_0x207486))return console[_0x3489ab(0x1c0)](_0x3489ab(0x135)+_0x207486+'\x22\x20does\x20not\x20exist.'),this;if(!Number[_0x3489ab(0x17d)](_0x41dc26))return console['warn'](_0x3489ab(0x135)+_0x207486+_0x3489ab(0x1af)),this;}let _0x2f2c28=Object[_0x3489ab(0x1d5)](_0x1122ea[_0x3489ab(0x15b)](([_0x4477c5,_0x1ac84e])=>[_0x4477c5,_0x32a9a1[_0x3489ab(0x1d0)](_0x4477c5,_0x1ac84e)]));return this[_0x3489ab(0x106)](_0x3b069d=>({..._0x3b069d,'adjustValues':{..._0x3b069d[_0x3489ab(0x17b)],..._0x2f2c28}}));}['resetAdjustValues'](){const _0x6dc9e5=_0x889816;let _0xf025db=this[_0x6dc9e5(0x11f)]();return _0xf025db!=null&&_0xf025db[_0x6dc9e5(0x17b)]?(delete _0xf025db[_0x6dc9e5(0x17b)],this[_0x6dc9e5(0x109)]({'shapeData':_0xf025db})):this;}[_0x889816(0x16c)](_0x297706,_0x1f8025){const _0x4cb0da=_0x889816;return this[_0x4cb0da(0x106)](_0x4396fe=>({..._0x4396fe,'fill':{'fillType':e[_0x4cb0da(0x19c)][_0x4cb0da(0x17a)],'color':_0x297706,'opacity':_0x1f8025}}));}[_0x889816(0x105)](_0x4ca82e,_0x47bbba,_0x43b760){const _0x413ee7=_0x889816;return _0x47bbba[_0x413ee7(0x158)]<0x2?(console[_0x413ee7(0x1c0)](_0x413ee7(0x136)),this):this[_0x413ee7(0x106)](_0x134b9a=>({..._0x134b9a,'fill':{'fillType':e['ShapeFillEnum'][_0x413ee7(0x16a)],'gradientType':_0x4ca82e,'gradientStops':n['Tools'][_0x413ee7(0x1db)](_0x47bbba),'gradientAngle':_0x43b760}}));}[_0x889816(0x1c1)](_0x25e9e2,_0xb1fe42,_0x1af5bc={}){const _0x5747bf=_0x889816;return this[_0x5747bf(0x106)](_0x620757=>({..._0x620757,'fill':{...n[_0x5747bf(0x10a)][_0x5747bf(0x1db)](_0x1af5bc),'fillType':e['ShapeFillEnum'][_0x5747bf(0x1e9)],'fillImageSource':_0x25e9e2,'fillImageSourceType':_0xb1fe42}}));}[_0x889816(0x185)](){const _0x11df80=_0x889816;return this['_patchShapeData'](_0x438a5a=>({..._0x438a5a,'fill':{'fillType':e[_0x11df80(0x19c)]['NoFill']}}));}[_0x889816(0x1dd)](_0x3be38d){const _0x2042c3=_0x889816;return this[_0x2042c3(0x106)](_0x4533ba=>({..._0x4533ba,'stroke':n[_0x2042c3(0x10a)][_0x2042c3(0x1db)](_0x3be38d)}));}[_0x889816(0x191)](_0x44ad6d){const _0x249f87=_0x889816;return this[_0x249f87(0xfa)](_0xe72c=>({..._0xe72c,'color':_0x44ad6d,'lineStrokeType':_0xe72c[_0x249f87(0x12b)]===e[_0x249f87(0x164)][_0x249f87(0x120)]?e[_0x249f87(0x164)][_0x249f87(0x14c)]:_0xe72c[_0x249f87(0x12b)]}));}[_0x889816(0x1f0)](_0x36543a){const _0x27de97=_0x889816;return this['_patchStroke'](_0x1fcc66=>({..._0x1fcc66,'width':_0x36543a,'lineStrokeType':_0x1fcc66[_0x27de97(0x12b)]===e[_0x27de97(0x164)]['NoLine']?e['ShapeLineTypeEnum'][_0x27de97(0x14c)]:_0x1fcc66['lineStrokeType']}));}[_0x889816(0x1ed)](_0x214365){const _0x127bc5=_0x889816;return this[_0x127bc5(0xfa)](_0x4be2e0=>({..._0x4be2e0,'opacity':_0x214365}));}[_0x889816(0x13b)](_0x2d4a76){const _0x2e89a1=_0x889816;return this[_0x2e89a1(0xfa)](_0x5f0916=>({..._0x5f0916,'dashType':_0x2d4a76}));}['setStrokeLineJoinType'](_0x5074bc){const _0x5bbcaa=_0x889816;return this[_0x5bbcaa(0xfa)](_0x121322=>({..._0x121322,'lineJoinType':_0x5074bc}));}['setStrokeLineCapType'](_0x646ca7){const _0x488040=_0x889816;return this[_0x488040(0xfa)](_0x1dd1b1=>({..._0x1dd1b1,'capType':_0x646ca7}));}[_0x889816(0x1e2)](_0x47328e){const _0x2523bf=_0x889816;return this[_0x2523bf(0xfa)](_0x16048f=>({..._0x16048f,'lineStrokeType':_0x47328e}));}['update'](_0x52c732){const _0x412ecf=_0x889816;var _0x485abf;let _0x3b0ce1=_0x52c732[_0x412ecf(0x16b)],_0x3dfbca=_0x3b0ce1&&(_0x412ecf(0x188)in _0x3b0ce1||'points'in _0x3b0ce1)?this['getShapeType']():null,_0x237f0c=_0x52c732[_0x412ecf(0x1cb)]??((_0x485abf=_0x52c732['shapeData'])==null?void 0x0:_0x485abf[_0x412ecf(0x1cb)])??_0x3dfbca,_0x451d4e=d(_0x52c732,_0x237f0c!==null&&(0x0,e[_0x412ecf(0x128)])(_0x237f0c));return _0x451d4e?(console[_0x412ecf(0x1c0)]('[Shape\x20Facade]:\x20'+_0x451d4e),this):(this[_0x412ecf(0x182)]('update',_0x2e9915=>_0x2e9915[_0x412ecf(0x1a1)](this[_0x412ecf(0x18a)],_0x52c732)),this);}['remove'](){const _0x158f78=_0x889816;return this[_0x158f78(0x182)](_0x158f78(0x121),_0x27dfb7=>_0x27dfb7[_0x158f78(0x170)](this['_shapeRef']));}[_0x889816(0x15c)](){const _0x301fe4=_0x889816;return this[_0x301fe4(0x182)](_0x301fe4(0x1e4),_0x55e601=>_0x55e601[_0x301fe4(0x15c)](this[_0x301fe4(0x18a)])),this;}[_0x889816(0x138)](){const _0x2a0d97=_0x889816;return this[_0x2a0d97(0x182)](_0x2a0d97(0x152),_0x22de21=>_0x22de21[_0x2a0d97(0x138)](this['_shapeRef'])),this;}[_0x889816(0x163)](){const _0x5e03a8=_0x889816;return this[_0x5e03a8(0x182)](_0x5e03a8(0x14b),_0x3edf1c=>_0x3edf1c[_0x5e03a8(0x163)](this['_shapeRef'])),this;}[_0x889816(0x1bc)](){const _0x27f7d7=_0x889816;return this[_0x27f7d7(0x182)]('send\x20to\x20back',_0x14ccdf=>_0x14ccdf['sendToBack'](this['_shapeRef'])),this;}['_getAdapter'](){const _0x3ca737=_0x889816;return this[_0x3ca737(0x1cc)][_0x3ca737(0x1a6)](this[_0x3ca737(0x18a)]['hostType']);}[_0x889816(0x106)](_0x721ec7,_0x1066c5){const _0x204e81=_0x889816;let _0x512ba3=this[_0x204e81(0x11f)]();return _0x512ba3?this[_0x204e81(0x109)]({'shapeType':_0x1066c5,'shapeData':_0x721ec7(_0x512ba3)}):this;}['_patchStroke'](_0x218bbc){const _0x138291=_0x889816;return this[_0x138291(0x106)](_0xa13515=>({..._0xa13515,'stroke':_0x218bbc(_0xa13515['stroke']??{})}));}[_0x889816(0x1ee)](){const _0x4b52bf=_0x889816;let _0x589da9=this[_0x4b52bf(0x1d8)]();if(!_0x589da9)return null;try{return _0x589da9['getShape'](this[_0x4b52bf(0x18a)])||(console[_0x4b52bf(0x1c0)](_0x4b52bf(0x144)+this[_0x4b52bf(0x18a)][_0x4b52bf(0x1bd)]+_0x4b52bf(0x1ad)),null);}catch(_0x3ea344){return console['warn'](_0x4b52bf(0x1a4)+this['_shapeRef'][_0x4b52bf(0x1bd)]+'\x22.',_0x3ea344),null;}}[_0x889816(0x1c2)](){const _0x2ba692=_0x889816;let _0x2468f8=this['_getSnapshot']();if(!_0x2468f8)return null;try{let _0x3e4c7c=new e[(_0x2ba692(0x145))](_0x2468f8[_0x2ba692(0x1cb)],_0x2468f8[_0x2ba692(0x1bd)],n[_0x2ba692(0x10a)][_0x2ba692(0x1db)](_0x2468f8[_0x2ba692(0x16b)]));return _0x3e4c7c[_0x2ba692(0x133)]({'width':_0x2468f8['transform'][_0x2ba692(0x176)],'height':_0x2468f8[_0x2ba692(0x1ce)][_0x2ba692(0x129)]}),_0x3e4c7c;}catch(_0x1230fc){return console['warn'](_0x2ba692(0xfb)+this[_0x2ba692(0x18a)][_0x2ba692(0x1bd)]+'\x22.',_0x1230fc),null;}}['_mutate'](_0x592f0f,_0x163a07){const _0x39b372=_0x889816;let _0x46e084=this['_getAdapter']();if(!_0x46e084)return!0x1;try{let _0x40d40e=_0x163a07(_0x46e084);return _0x40d40e||console[_0x39b372(0x1c0)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x592f0f+_0x39b372(0x18b)+this['_shapeRef'][_0x39b372(0x1bd)]+'\x22.'),_0x40d40e;}catch(_0xb2e26e){return console[_0x39b372(0x1c0)](_0x39b372(0x15f)+_0x592f0f+'\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+'\x22.',_0xb2e26e),!0x1;}}};u=c([s(0x2,e[_0x889816(0xff)]),s(0x3,n['ICommandService'])],u);function d(_0x3d40c6,_0x513f7b=!0x1){const _0x3bb561=_0x889816;for(let _0x4aca07 of[_0x3bb561(0x1dc),_0x3bb561(0x168)]){let _0x2ff8fd=_0x3d40c6[_0x4aca07];if(_0x2ff8fd!==void 0x0&&typeof _0x2ff8fd!=_0x3bb561(0x193))return _0x3bb561(0x1ae)+_0x4aca07+'\x22\x20must\x20be\x20boolean.';}let _0x3e2885=_0x3d40c6['transform'];if(_0x3e2885){for(let _0x3743a7 of[_0x3bb561(0x169),'top',_0x3bb561(0x176),_0x3bb561(0x129),'rotation']){let _0x21ef73=_0x3e2885[_0x3743a7];if(_0x21ef73!==void 0x0&&!Number[_0x3bb561(0x17d)](_0x21ef73))return _0x3bb561(0x157)+_0x3743a7+_0x3bb561(0x1af);}if(_0x3e2885[_0x3bb561(0x176)]!==void 0x0&&_0x3e2885['width']<=0x0)return _0x3bb561(0x13d);if(_0x3e2885['height']!==void 0x0&&_0x3e2885['height']<=0x0)return _0x3bb561(0x10b);for(let _0x24b8f0 of[_0x3bb561(0x122),_0x3bb561(0x190)]){let _0x798430=_0x3e2885[_0x24b8f0];if(_0x798430!==void 0x0&&typeof _0x798430!=_0x3bb561(0x193))return _0x3bb561(0x157)+_0x24b8f0+_0x3bb561(0x1b4);}}let _0x1c5d05=_0x3d40c6[_0x3bb561(0x16b)];return!_0x513f7b&&_0x1c5d05&&('relation'in _0x1c5d05||'points'in _0x1c5d05)?_0x3bb561(0x194):null;}var f=class extends u{[_0x889816(0x128)](){return!0x0;}[_0x889816(0x177)](){const _0x37179e=_0x889816;let _0x2d85b3=this[_0x37179e(0x134)]();return _0x2d85b3?n[_0x37179e(0x10a)][_0x37179e(0x1db)](_0x2d85b3[_0x37179e(0x1df)]):null;}[_0x889816(0x19a)](){const _0x90d725=_0x889816;let _0x1aec8c=this[_0x90d725(0x134)]();return _0x1aec8c?n[_0x90d725(0x10a)][_0x90d725(0x1db)](_0x1aec8c[_0x90d725(0x179)]):null;}[_0x889816(0x183)](){const _0x1c4964=_0x889816;let _0x37ef1b=this['_getConnectorSnapshot']();return _0x37ef1b?n[_0x1c4964(0x10a)][_0x1c4964(0x1db)](_0x37ef1b[_0x1c4964(0x197)]):null;}[_0x889816(0x155)](){const _0x2a5e27=_0x889816;let _0x34f4ff=this[_0x2a5e27(0x134)]();return _0x34f4ff?n[_0x2a5e27(0x10a)][_0x2a5e27(0x1db)](_0x34f4ff[_0x2a5e27(0x184)]):null;}[_0x889816(0x153)](){const _0x3178cb=_0x889816;let _0x4753bb=this[_0x3178cb(0x134)]();return _0x4753bb?n['Tools']['deepClone'](_0x4753bb[_0x3178cb(0x15d)]):null;}['setShapeType'](_0x3424fe){const _0x5b473d=_0x889816;return(0x0,e['isConnectorShape'])(_0x3424fe)?super[_0x5b473d(0x111)](_0x3424fe):(console[_0x5b473d(0x1c0)](_0x5b473d(0x173)+this[_0x5b473d(0x18a)][_0x5b473d(0x1bd)]+'\x22\x20requires\x20a\x20Connector\x20Shape\x20type.'),this);}[_0x889816(0x1a0)](_0x4bb8cd){const _0x1d137a=_0x889816;return _0x4bb8cd[_0x1d137a(0x1cb)]!==void 0x0&&!(0x0,e[_0x1d137a(0x128)])(_0x4bb8cd['shapeType'])?(console[_0x1d137a(0x1c0)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x1d137a(0x18a)][_0x1d137a(0x1bd)]+_0x1d137a(0x1bb)),this):super[_0x1d137a(0x1a0)](_0x4bb8cd);}['bindStart'](_0x4311df,_0x1d1861){const _0x1e9f42=_0x889816;return this['_bind'](_0x1e9f42(0x1df),_0x4311df,_0x1d1861),this;}[_0x889816(0x1c4)](_0x1f6adf,_0x2cbc0e){const _0x57d55c=_0x889816;return this[_0x57d55c(0x17f)](_0x57d55c(0x179),_0x1f6adf,_0x2cbc0e),this;}[_0x889816(0x131)](){const _0x3f4829=_0x889816;return this[_0x3f4829(0x117)]('unbind\x20start',_0x135ed0=>_0x135ed0[_0x3f4829(0x131)](this[_0x3f4829(0x18a)])),this;}[_0x889816(0x19b)](){const _0x915cb5=_0x889816;return this[_0x915cb5(0x117)](_0x915cb5(0x113),_0x1da377=>_0x1da377['unbindEnd'](this[_0x915cb5(0x18a)])),this;}['setStartPoint'](_0x781a14){const _0x6f6bd4=_0x889816;return p(_0x781a14,this[_0x6f6bd4(0x18a)][_0x6f6bd4(0x1bd)])&&this[_0x6f6bd4(0x117)](_0x6f6bd4(0x15a),_0x32addf=>_0x32addf[_0x6f6bd4(0x118)](this['_shapeRef'],_0x781a14)),this;}[_0x889816(0x171)](_0x1fc1c5){const _0x5f0ced=_0x889816;return p(_0x1fc1c5,this[_0x5f0ced(0x18a)][_0x5f0ced(0x1bd)])&&this[_0x5f0ced(0x117)](_0x5f0ced(0x189),_0x379c21=>_0x379c21['setEndPoint'](this[_0x5f0ced(0x18a)],_0x1fc1c5)),this;}[_0x889816(0x1ba)](_0x2bc51e){const _0x4d50d4=_0x889816;return _0x2bc51e[_0x4d50d4(0x18e)](_0x400c51=>p(_0x400c51,this[_0x4d50d4(0x18a)]['shapeId']))&&this['_mutateConnector']('set\x20route\x20points',_0x4d4bb6=>_0x4d4bb6[_0x4d50d4(0x1ba)](this[_0x4d50d4(0x18a)],_0x2bc51e)),this;}['setStartArrow'](_0x5a4317,_0x229507){const _0x5000cb=_0x889816;return this[_0x5000cb(0x117)]('set\x20start\x20arrow',_0x4485a4=>_0x4485a4[_0x5000cb(0x1a2)](this[_0x5000cb(0x18a)],_0x5a4317,_0x229507)),this;}[_0x889816(0x1e0)](_0x5af428,_0x3dc53d){const _0x4ac1a3=_0x889816;return this[_0x4ac1a3(0x117)](_0x4ac1a3(0x1c6),_0x3588cf=>_0x3588cf[_0x4ac1a3(0x1e0)](this[_0x4ac1a3(0x18a)],_0x5af428,_0x3dc53d)),this;}[_0x889816(0x1c9)](){const _0x57074a=_0x889816;return this[_0x57074a(0x1ef)][_0x57074a(0x1a6)](e[_0x57074a(0x167)]);}[_0x889816(0x134)](){const _0x3dac51=_0x889816;let _0x482ecf=this['_getConnectorAdapter']();if(!_0x482ecf)return null;try{return _0x482ecf[_0x3dac51(0x112)](this[_0x3dac51(0x18a)])||(console['warn'](_0x3dac51(0x173)+this[_0x3dac51(0x18a)][_0x3dac51(0x1bd)]+_0x3dac51(0x1ad)),null);}catch(_0x5b6f19){return console[_0x3dac51(0x1c0)](_0x3dac51(0x1d6)+this[_0x3dac51(0x18a)][_0x3dac51(0x1bd)]+'\x22.',_0x5b6f19),null;}}[_0x889816(0x17f)](_0x2fb36a,_0x2a8bfc,_0xa58b5){const _0x34c804=_0x889816;if(!_0x2a8bfc||!Number[_0x34c804(0x130)](_0xa58b5)||_0xa58b5<0x0)return console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+this[_0x34c804(0x18a)][_0x34c804(0x1bd)]+_0x34c804(0x1e3)),!0x1;let _0x1728d9={'shapeId':_0x2a8bfc,'cxnIndex':_0xa58b5};return this[_0x34c804(0x117)](_0x34c804(0x142)+_0x2fb36a,_0x10aa1f=>_0x2fb36a==='start'?_0x10aa1f[_0x34c804(0x104)](this[_0x34c804(0x18a)],_0x1728d9):_0x10aa1f[_0x34c804(0x1c4)](this['_shapeRef'],_0x1728d9));}['_mutateConnector'](_0x40cd72,_0x20cf62){const _0x3952ee=_0x889816;let _0x200985=this[_0x3952ee(0x1c9)]();if(!_0x200985)return!0x1;try{let _0x998648=_0x20cf62(_0x200985);return _0x998648||console['warn'](_0x3952ee(0x15f)+_0x40cd72+_0x3952ee(0x1c7)+this['_shapeRef']['shapeId']+'\x22.'),_0x998648;}catch(_0x19af4c){return console[_0x3952ee(0x1c0)](_0x3952ee(0x15f)+_0x40cd72+_0x3952ee(0x1c7)+this[_0x3952ee(0x18a)]['shapeId']+'\x22.',_0x19af4c),!0x1;}}};function p(_0x1ee7be,_0x3281cf){const _0x56479a=_0x889816;return!Number['isFinite'](_0x1ee7be['x'])||!Number['isFinite'](_0x1ee7be['y'])?(console[_0x56479a(0x1c0)](_0x56479a(0x165)+_0x3281cf+'\x22\x20points\x20must\x20contain\x20finite\x20coordinates.'),!0x1):!0x0;}exports[_0x889816(0x1d1)]=f,Object[_0x889816(0x198)](exports,_0x889816(0x127),{'enumerable':!0x0,'get':function(){return u;}}),exports[_0x889816(0x19e)]=o;
1
+ const _0x181979=_0x35c8;(function(_0x3fde31,_0x43620d){const _0x343cf9=_0x35c8,_0x96cbc4=_0x3fde31();while(!![]){try{const _0xf43aea=-parseInt(_0x343cf9(0x2a1))/0x1*(-parseInt(_0x343cf9(0x28e))/0x2)+-parseInt(_0x343cf9(0x1a4))/0x3+parseInt(_0x343cf9(0x1de))/0x4+-parseInt(_0x343cf9(0x27c))/0x5*(-parseInt(_0x343cf9(0x1e0))/0x6)+parseInt(_0x343cf9(0x20b))/0x7*(parseInt(_0x343cf9(0x1eb))/0x8)+-parseInt(_0x343cf9(0x25b))/0x9+-parseInt(_0x343cf9(0x274))/0xa;if(_0xf43aea===_0x43620d)break;else _0x96cbc4['push'](_0x96cbc4['shift']());}catch(_0x1bb6f5){_0x96cbc4['push'](_0x96cbc4['shift']());}}}(_0x2936,0xad6f0),Object[_0x181979(0x29d)](exports,Symbol['toStringTag'],{'value':_0x181979(0x27a)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x181979(0x221)]{get[_0x181979(0x226)](){return e['ShapeTypeEnum'];}get[_0x181979(0x1c3)](){const _0x8e4629=_0x181979;return e[_0x8e4629(0x1c3)];}get[_0x181979(0x24f)](){const _0x34cd0d=_0x181979;return e[_0x34cd0d(0x24f)];}get['ShapeImageFillModeEnum'](){const _0x55f2b6=_0x181979;return e[_0x55f2b6(0x229)];}get[_0x181979(0x202)](){const _0x29e6c5=_0x181979;return e[_0x29e6c5(0x20e)];}get['ShapeLineTypeEnum'](){const _0x5cf3f7=_0x181979;return e[_0x5cf3f7(0x27f)];}get[_0x181979(0x296)](){const _0x7a2136=_0x181979;return e[_0x7a2136(0x296)];}get['ShapeLineCapEnum'](){const _0x336b18=_0x181979;return e[_0x336b18(0x1c7)];}get[_0x181979(0x1d0)](){const _0x5859c4=_0x181979;return e[_0x5859c4(0x1d0)];}get[_0x181979(0x206)](){const _0x56b666=_0x181979;return e[_0x56b666(0x206)];}get[_0x181979(0x244)](){const _0x1d5f1c=_0x181979;return e[_0x1d5f1c(0x244)];}get[_0x181979(0x23e)](){return e['ShapeArrowSizeEnum'];}get[_0x181979(0x2aa)](){const _0x5a770d=_0x181979;return e[_0x5a770d(0x2aa)];}get[_0x181979(0x2ac)](){return e['ShapeTextDirection'];}get[_0x181979(0x279)](){const _0x404bbc=_0x181979;return e[_0x404bbc(0x279)];}};t['FEnum'][_0x181979(0x218)](r);function i(_0x3f6be2){const _0x2908ed=_0x181979;switch(_0x3f6be2){case e[_0x2908ed(0x24f)][_0x2908ed(0x223)]:return _0x2908ed(0x26d);case e[_0x2908ed(0x24f)]['Angular']:return _0x2908ed(0x1dd);case e[_0x2908ed(0x24f)]['Diamond']:return _0x2908ed(0x1a9);case e[_0x2908ed(0x24f)][_0x2908ed(0x1ee)]:default:return'linear';}}function a(_0x17f21c){const _0x83d1a3=_0x181979;return _0x17f21c===e[_0x83d1a3(0x229)]['Tile']?_0x83d1a3(0x25f):_0x83d1a3(0x1ad);}var o=class{constructor(_0x260a1f,_0x17a38f){this['_shapeRef']=_0x260a1f,this['_injector']=_0x17a38f;}[_0x181979(0x219)](){const _0x558791=_0x181979;var _0x3aae6c;return(0x0,e['shapeTextToRichTextValue'])((_0x3aae6c=this[_0x558791(0x23c)]())==null?void 0x0:_0x3aae6c['shapeText']);}['getPlainText'](){var _0x128cb7;return((_0x128cb7=this['getRichText']())==null?void 0x0:_0x128cb7['toPlainText']())??null;}[_0x181979(0x275)](_0x1f4be2){const _0x12929a=_0x181979;return this[_0x12929a(0x1cb)](_0x4b1481=>({..._0x4b1481,'shapeText':(0x0,e[_0x12929a(0x292)])(_0x4b1481[_0x12929a(0x261)],_0x1f4be2)})),this;}[_0x181979(0x1d3)](_0x19e3a5){const _0x3879ef=_0x181979;return this['_updateShapeData'](_0x4c95d4=>({..._0x4c95d4,'shapeText':(0x0,e[_0x3879ef(0x247)])(_0x4c95d4[_0x3879ef(0x261)],_0x19e3a5)})),this;}[_0x181979(0x203)](_0x6d319e){const _0x1d00b9=_0x181979;return this[_0x1d00b9(0x1cb)](_0x3d744e=>({..._0x3d744e,'shapeText':(0x0,e[_0x1d00b9(0x1af)])(_0x3d744e[_0x1d00b9(0x261)],_0x6d319e)})),this;}[_0x181979(0x2a0)](_0x5067b0,_0x46a67f){const _0x3316b2=_0x181979;return this[_0x3316b2(0x203)]({'cl':{'rgb':_0x5067b0},'textFill':{'type':'solid','color':_0x5067b0,'opacity':_0x46a67f}});}[_0x181979(0x1b0)](){const _0x5c2993=_0x181979;return this[_0x5c2993(0x203)]({'cl':{'rgb':_0x5c2993(0x270)},'textFill':{'type':'none'}});}['setGradientFill'](_0x2db484,_0x5c1b84,_0x5051bf){const _0x1a5e7d=_0x181979;return _0x5c1b84['length']<0x2?(console['warn'](_0x1a5e7d(0x29a)),this):this['setTextStyle']({'cl':{'rgb':_0x5c1b84[0x0][_0x1a5e7d(0x299)]},'textFill':{'type':'gradient','gradient':{'type':i(_0x2db484),'angle':_0x5051bf,'stops':_0x5c1b84['map'](({position:_0x59f0f3,color:_0x29fda8,opacity:_0x871551})=>({'offset':_0x59f0f3,'color':_0x29fda8,'opacity':_0x871551}))}}});}[_0x181979(0x268)](_0x4c34e9,_0x452029=e[_0x181979(0x20e)][_0x181979(0x1bd)],_0x63e2ce={}){const _0x7a08a2=_0x181979;return this['setTextStyle']({'textFill':{'type':_0x7a08a2(0x29b),'picture':{'source':_0x4c34e9,'sourceType':_0x452029,'opacity':_0x63e2ce[_0x7a08a2(0x286)],'mode':a(_0x63e2ce[_0x7a08a2(0x205)]),'scaleX':_0x63e2ce[_0x7a08a2(0x1ec)],'scaleY':_0x63e2ce[_0x7a08a2(0x1fb)],'offsetX':_0x63e2ce[_0x7a08a2(0x2b0)],'offsetY':_0x63e2ce[_0x7a08a2(0x21c)]}}});}[_0x181979(0x1a6)](_0x13e5e2){const _0x4d494c=_0x181979;return this[_0x4d494c(0x203)]({'fs':_0x13e5e2});}[_0x181979(0x1d4)](_0x412f83){const _0x5746bf=_0x181979;return this[_0x5746bf(0x203)]({'ff':_0x412f83});}[_0x181979(0x2a2)](_0x36a018){const _0x79a675=_0x181979;return this[_0x79a675(0x203)]({'bl':_0x36a018?n[_0x79a675(0x1b6)][_0x79a675(0x1c2)]:n['BooleanNumber'][_0x79a675(0x222)]});}[_0x181979(0x1f9)](_0x3241e3){const _0x331b78=_0x181979;return this['setTextStyle']({'it':_0x3241e3?n[_0x331b78(0x1b6)][_0x331b78(0x1c2)]:n[_0x331b78(0x1b6)][_0x331b78(0x222)]});}[_0x181979(0x216)](_0x4090a5){const _0xea5f57=_0x181979;return this['setTextStyle']({'ul':{'s':_0x4090a5?n['BooleanNumber']['TRUE']:n[_0xea5f57(0x1b6)][_0xea5f57(0x222)]}});}[_0x181979(0x25a)](_0x7aac49){const _0x370a84=_0x181979;return this[_0x370a84(0x203)]({'st':{'s':_0x7aac49?n[_0x370a84(0x1b6)][_0x370a84(0x1c2)]:n[_0x370a84(0x1b6)]['FALSE']}});}[_0x181979(0x1a1)](_0x43ddfe){const _0x33e2d0=_0x181979;return this[_0x33e2d0(0x1cb)](_0x247fd5=>(0x0,e[_0x33e2d0(0x290)])(_0x247fd5,{'horizontalAlign':_0x43ddfe})),this;}['setVerticalAlign'](_0x1cdac7){const _0x2d6352=_0x181979;return this[_0x2d6352(0x1cb)](_0x229e7b=>(0x0,e[_0x2d6352(0x290)])(_0x229e7b,{'verticalAlign':_0x1cdac7})),this;}[_0x181979(0x1e1)](){const _0x4b53d7=_0x181979;let _0x1eaa43=this[_0x4b53d7(0x23c)]();return _0x1eaa43?(0x0,e[_0x4b53d7(0x1c5)])(_0x1eaa43):null;}[_0x181979(0x252)](_0xc19252){const _0x3500dc=_0x181979;return this[_0x3500dc(0x1cb)](_0x2bea9b=>(0x0,e[_0x3500dc(0x2a3)])(_0x2bea9b,_0xc19252)),this;}[_0x181979(0x1ae)](){const _0x351261=_0x181979;return this[_0x351261(0x1b5)]['get'](e[_0x351261(0x228)])[_0x351261(0x230)](this[_0x351261(0x278)]['hostType']);}[_0x181979(0x23c)](){const _0x45b157=_0x181979;let _0x268b34=this[_0x45b157(0x1ae)]();if(!_0x268b34)return null;try{var _0xde7091;return((_0xde7091=_0x268b34[_0x45b157(0x231)](this['_shapeRef']))==null?void 0x0:_0xde7091[_0x45b157(0x1c9)])||(console[_0x45b157(0x1b7)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x45b157(0x278)][_0x45b157(0x269)]+_0x45b157(0x1a5)),null);}catch(_0x33564f){return console[_0x45b157(0x1b7)](_0x45b157(0x258)+this['_shapeRef'][_0x45b157(0x269)]+_0x45b157(0x24c),_0x33564f),null;}}[_0x181979(0x1cb)](_0x337005){const _0x3bb479=_0x181979;let _0x4a74c9=this[_0x3bb479(0x1ae)]();if(!_0x4a74c9)return!0x1;try{var _0x2f9684;let _0x169a70=(_0x2f9684=_0x4a74c9[_0x3bb479(0x231)](this[_0x3bb479(0x278)]))==null?void 0x0:_0x2f9684[_0x3bb479(0x1c9)];if(!_0x169a70)return console[_0x3bb479(0x1b7)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+'\x22\x20was\x20not\x20found.'),!0x1;let _0x74b0c3=_0x4a74c9['updateShape'](this[_0x3bb479(0x278)],{'shapeData':_0x337005(_0x169a70)});return _0x74b0c3||console[_0x3bb479(0x1b7)](_0x3bb479(0x267)+this[_0x3bb479(0x278)][_0x3bb479(0x269)]+'\x22\x20text.'),_0x74b0c3;}catch(_0xae1e16){return console['warn'](_0x3bb479(0x267)+this['_shapeRef'][_0x3bb479(0x269)]+_0x3bb479(0x24c),_0xae1e16),!0x1;}}};function _0x35c8(_0x26e262,_0x2b6aef){_0x26e262=_0x26e262-0x1a1;const _0x2936cd=_0x2936();let _0x35c831=_0x2936cd[_0x26e262];return _0x35c831;}function _0x2936(){const _0x58a5e4=['PictureFill','length','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','_getConnectorAdapter','_injector','BooleanNumber','warn','unbind\x20start','filter','getEndEndpoint','boolean','node','URL','NoFill','isCustom','bring\x20to\x20front','setStroke','TRUE','ShapeFillEnum','Shape\x20transform\x20\x22','resolveShapeTextBoxOptions','sendToBack','ShapeLineCapEnum','getDescription','shapeData','SmartArtOperationTypeEnum','_updateShapeData','flipY','getSmartArtData','SolidLine','isSmartArtShapeData','ShapeLineJoinEnum','InsertNode','start','setText','setFontFamily','_updateSmartArt','adjustValues','fill','set\x20z-order','setEndArrow','setName','bindStart','[Shape\x20Facade]:\x20Failed\x20to\x20convert\x20SmartArt\x20Shape\x20\x22','angular','2929576qLmQNa','fromEntries','558zMbBsV','getTextBoxOptions','setVisible','send\x20backward','ShapeModel','every','getAdjustInfo','smartArt','resetAdjustValues','_getConnectorSnapshot','SolidFill','5408eKLQfL','scaleX','getId','Linear','cxnLst','unbindEnd','setCustomGeometry','stroke','unitId','pathData','isConnectorShape','updateContext','isSelectable','flipX','setItalic','getSnapshot','scaleY','setEndPoint','setStrokeLineType','setZOrder','lineStrokeType','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','createInstance','ShapeImageSourceTypeEnum','setTextStyle','entries','mode','ShapeOperatorEnum','NoLine','ICommandService','getShapeType','unbindStart','7273sllhdN','height','getConnector','ImageSourceTypeEnum','send\x20to\x20back','Shape\x20\x22','\x22\x20must\x20be\x20finite.','bind\x20','hostType','setStrokeLineCapType','_mutate','setUnderline','transform','extend','getRichText','getStartConnectInfo','setCustomGeometryFromSvgPath','offsetY','deepClone','_patchStroke','getEndConnectInfo','[Shape\x20Facade]:\x20','FEnum','FALSE','Radial','_bind','sendBackward','ShapeTypeEnum','map','IShapeHostAdapterRegistry','ImageFillModeEnum','set\x20end\x20arrow','getName','endArrow','MoveNode','updateShape','end','get','getShape','getText','visible','UpdateNode','setShapeData','setStartArrow','_shapeHostAdapterRegistry','description','[Shape\x20Facade]:\x20Failed\x20to\x20update\x20SmartArt\x20Shape\x20\x22','points','startArrow','_getShapeData','bring\x20forward','ShapeArrowSizeEnum','getAdjustNames','bringForward','routePoints','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','ShapeArrowTypeEnum','set\x20end\x20point','setRoutePoints','applyTextToShapeText','relation','UpdatePresentationShape','convertSmartArtToShapes','targetNodeId','\x22\x20text.','getOwnPropertyDescriptor','setRotation','ShapeGradientTypeEnum','\x20Shape\x20\x22','setStrokeOpacity','setTextBoxOptions','\x20Connector\x20Shape\x20\x22','width','decorate','demoteSmartArtNode','isInteger','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','parseSvgPathData','setStrikethrough','10218150RJpttF','setAdjustValues','setSize','_getGeometryModel','tile','unbind\x20end','shapeText','isSmartArt','FShape','_getSnapshot','insertSmartArtNode','isVisible','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','setImageFill','shapeId','setAbsolutePosition','set\x20route\x20points','_mutateConnector','radial','getHostType','\x22\x20is\x20not\x20SmartArt.','rgba(0,\x200,\x200,\x200)','GradientFill','Tools','PromoteNode','3153080OvCQci','setRichText','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','\x22\x20requires\x20Connector\x20Shape\x20data.','_shapeRef','ShapeTextWrapType','Module','setTransform','38580jXFVHI','selectable','\x22\x20must\x20be\x20boolean.','ShapeLineTypeEnum','getPresetShapeConfig','from','getCustomGeometry','position','setStrokeLineDashType','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','opacity','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','isFinite','setStrokeColor','set\x20start\x20arrow','_patchShapeData','setDescription','getShapeData','94zdJKuc','setSmartArtLayout','applyShapeTextAlignment','pathLst','applyRichTextToShapeText','shapeType','setSmartArtData','[Shape\x20Facade]:\x20The\x20current\x20Shape\x20host\x20cannot\x20convert\x20SmartArt\x20\x22','ShapeLineDashEnum','update','setStrokeWidth','color','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','picture','name','defineProperty','getStartArrow','FConnectorShape','setColor','17642wTRmqG','setBold','applyShapeTextBoxOptions','getStartEndpoint','DemoteNode','setAdjustValueByName','setSolidFill','has','[Shape\x20Facade]:\x20Connector\x20\x22','ShapeTextAutoFitType','[Shape\x20Facade]:\x20Failed\x20to\x20','ShapeTextDirection','IConnectorShapeHostAdapter','setShapeType','Replace','offsetX','data','getAdjustHandles','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','getTransform','getConnectionSites','ahLst','findIndex','subUnitId','setHorizontalAlign','left','[Shape\x20Facade]:\x20Shape\x20\x22','2461434mVXVYS','\x22\x20was\x20not\x20found.','setFontSize','setStartPoint','isCustomShape','diamond','bindEnd','FBase','getConnectionSiteList','stretch','_getAdapter','applyShapeTextStyle','setNoneFill'];_0x2936=function(){return _0x58a5e4;};return _0x2936();}function s(_0xf468ca,_0x594825){return function(_0x35a5c9,_0x4b90c8){_0x594825(_0x35a5c9,_0x4b90c8,_0xf468ca);};}function c(_0x3c4293,_0x4894dd,_0x58095e,_0x1407e0){const _0x503d25=_0x181979;var _0x9e1445=arguments['length'],_0x37ccbc=_0x9e1445<0x3?_0x4894dd:_0x1407e0===null?_0x1407e0=Object[_0x503d25(0x24d)](_0x4894dd,_0x58095e):_0x1407e0,_0x2bf5b4;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x37ccbc=Reflect[_0x503d25(0x255)](_0x3c4293,_0x4894dd,_0x58095e,_0x1407e0);else{for(var _0x1ee36e=_0x3c4293['length']-0x1;_0x1ee36e>=0x0;_0x1ee36e--)(_0x2bf5b4=_0x3c4293[_0x1ee36e])&&(_0x37ccbc=(_0x9e1445<0x3?_0x2bf5b4(_0x37ccbc):_0x9e1445>0x3?_0x2bf5b4(_0x4894dd,_0x58095e,_0x37ccbc):_0x2bf5b4(_0x4894dd,_0x58095e))||_0x37ccbc);}return _0x9e1445>0x3&&_0x37ccbc&&Object[_0x503d25(0x29d)](_0x4894dd,_0x58095e,_0x37ccbc),_0x37ccbc;}var l;function u(_0x2e0855){const _0x13efaf=_0x181979;let _0x51262b=n[_0x13efaf(0x272)][_0x13efaf(0x21d)](_0x2e0855);return _0x51262b[_0x13efaf(0x291)]&&=_0x51262b[_0x13efaf(0x291)][_0x13efaf(0x227)](_0x19ce9a=>{const _0x16a89a=_0x13efaf;var _0x51971f;if((_0x51971f=_0x19ce9a['dataArray'])!=null&&_0x51971f[_0x16a89a(0x1b2)]){let {data:_0x260f30,..._0x31c52c}=_0x19ce9a;return _0x31c52c;}if(_0x19ce9a[_0x16a89a(0x2b1)]===void 0x0)return _0x19ce9a;let _0x34b356=(0x0,e[_0x16a89a(0x259)])(_0x19ce9a[_0x16a89a(0x2b1)]),{data:_0x4c0d97,..._0x506ad8}=_0x19ce9a;return{..._0x506ad8,'dataArray':_0x34b356};}),_0x51262b;}let d=l=class extends t[_0x181979(0x1ab)]{constructor(_0x3021cd,_0x529d6b,_0x855303,_0x5c10a2){const _0x1d400d=_0x181979;super(),this[_0x1d400d(0x278)]=_0x3021cd,this[_0x1d400d(0x1b5)]=_0x529d6b,this[_0x1d400d(0x237)]=_0x855303,this['_commandService']=_0x5c10a2;}[_0x181979(0x1f5)](){return!0x1;}[_0x181979(0x1ed)](){const _0x1e53f6=_0x181979;return this[_0x1e53f6(0x278)][_0x1e53f6(0x269)];}[_0x181979(0x22b)](){const _0x12b568=_0x181979;var _0x19636d;return(_0x19636d=this[_0x12b568(0x264)]())==null?void 0x0:_0x19636d[_0x12b568(0x29c)];}[_0x181979(0x1da)](_0x1ef4c0){const _0x333b5c=_0x181979;return this[_0x333b5c(0x297)]({'name':_0x1ef4c0});}[_0x181979(0x1c8)](){const _0x25f2b4=_0x181979;var _0x3daf1a;return(_0x3daf1a=this[_0x25f2b4(0x264)]())==null?void 0x0:_0x3daf1a[_0x25f2b4(0x238)];}[_0x181979(0x28c)](_0x562433){const _0x1a3600=_0x181979;return this[_0x1a3600(0x297)]({'description':_0x562433});}[_0x181979(0x26e)](){const _0x381994=_0x181979;return this[_0x381994(0x278)][_0x381994(0x213)];}['getShapeType'](){var _0x542c25;return((_0x542c25=this['_getSnapshot']())==null?void 0x0:_0x542c25['shapeType'])??null;}[_0x181979(0x28d)](){const _0xd35650=_0x181979;let _0x57155d=this[_0xd35650(0x264)]();return _0x57155d?n[_0xd35650(0x272)][_0xd35650(0x21d)](_0x57155d[_0xd35650(0x1c9)]):null;}[_0x181979(0x262)](){const _0x4bf079=_0x181979;var _0x1fde29;let _0x3282df=(_0x1fde29=this[_0x4bf079(0x264)]())==null?void 0x0:_0x1fde29[_0x4bf079(0x1c9)];return!!_0x3282df&&(0x0,e[_0x4bf079(0x1cf)])(_0x3282df);}[_0x181979(0x1cd)](){const _0x234448=_0x181979;var _0x2ed23d;let _0x4ac00f=(_0x2ed23d=this[_0x234448(0x264)]())==null?void 0x0:_0x2ed23d[_0x234448(0x1c9)];return _0x4ac00f&&(0x0,e[_0x234448(0x1cf)])(_0x4ac00f)?n[_0x234448(0x272)]['deepClone'](_0x4ac00f[_0x234448(0x1e7)]):null;}[_0x181979(0x294)](_0x23dc3c){const _0x34f09f=_0x181979;return this[_0x34f09f(0x1d5)]({'type':e[_0x34f09f(0x1ca)][_0x34f09f(0x2af)],'data':n[_0x34f09f(0x272)]['deepClone'](_0x23dc3c)});}[_0x181979(0x265)](_0x1f6c81){const _0x563919=_0x181979;return this[_0x563919(0x1d5)]({'type':e['SmartArtOperationTypeEnum'][_0x563919(0x1d1)],'nodeId':_0x1f6c81[_0x563919(0x1bc)]['id'],'node':n[_0x563919(0x272)][_0x563919(0x21d)](_0x1f6c81[_0x563919(0x1bc)]),'targetNodeId':_0x1f6c81[_0x563919(0x24b)],'position':_0x1f6c81[_0x563919(0x283)]});}['deleteSmartArtNode'](_0x5ddc86){const _0x28d82f=_0x181979;return this['_updateSmartArt']({'type':e[_0x28d82f(0x1ca)]['DeleteNode'],'nodeId':_0x5ddc86});}['moveSmartArtNode'](_0x4b18e4){const _0x9e82b6=_0x181979;return this[_0x9e82b6(0x1d5)]({'type':e[_0x9e82b6(0x1ca)][_0x9e82b6(0x22d)],..._0x4b18e4});}['promoteSmartArtNode'](_0x3620f5){const _0x35efd2=_0x181979;return this[_0x35efd2(0x1d5)]({'type':e['SmartArtOperationTypeEnum'][_0x35efd2(0x273)],'nodeId':_0x3620f5});}[_0x181979(0x256)](_0x5df69e){const _0x55ae83=_0x181979;return this[_0x55ae83(0x1d5)]({'type':e[_0x55ae83(0x1ca)][_0x55ae83(0x2a5)],'nodeId':_0x5df69e});}['updateSmartArtNode'](_0x391a07,_0x2daba3){const _0x1af15a=_0x181979;return this[_0x1af15a(0x1d5)]({'type':e[_0x1af15a(0x1ca)][_0x1af15a(0x234)],'nodeId':_0x391a07,'update':n[_0x1af15a(0x272)][_0x1af15a(0x21d)](_0x2daba3)});}['setSmartArtDirection'](_0x364153){const _0x5ac0e6=_0x181979;return this[_0x5ac0e6(0x1d5)]({'type':e[_0x5ac0e6(0x1ca)]['SetDirection'],'direction':_0x364153});}[_0x181979(0x28f)](_0xb616d0){const _0x4dd317=_0x181979;return this['_updateSmartArt']({'type':e[_0x4dd317(0x1ca)]['SetLayout'],'layoutId':_0xb616d0});}['updateSmartArtPresentationShape'](_0x408ed0,_0x2266bb){const _0x2ca768=_0x181979;return this['_updateSmartArt']({'type':e[_0x2ca768(0x1ca)][_0x2ca768(0x249)],'presentationShapeId':_0x408ed0,'update':n[_0x2ca768(0x272)]['deepClone'](_0x2266bb)});}[_0x181979(0x24a)](){const _0x7c2ace=_0x181979;let _0x5f4ba2=this['_getAdapter']();if(!(_0x5f4ba2!=null&&_0x5f4ba2[_0x7c2ace(0x24a)]))return console[_0x7c2ace(0x1b7)](_0x7c2ace(0x295)+this['_shapeRef']['shapeId']+'\x22.'),[];try{let _0x4bb18e=_0x5f4ba2[_0x7c2ace(0x24a)](this[_0x7c2ace(0x278)]);return _0x4bb18e?_0x4bb18e[_0x7c2ace(0x227)](_0x4c5414=>this[_0x7c2ace(0x1b5)][_0x7c2ace(0x201)](l,{'hostType':_0x4c5414[_0x7c2ace(0x213)],'unitId':_0x4c5414[_0x7c2ace(0x1f3)],'subUnitId':_0x4c5414[_0x7c2ace(0x2b9)],'shapeId':_0x4c5414['shapeId']},this[_0x7c2ace(0x1b5)])):(console[_0x7c2ace(0x1b7)](_0x7c2ace(0x1dc)+this[_0x7c2ace(0x278)][_0x7c2ace(0x269)]+'\x22.'),[]);}catch(_0x2fe6f8){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20convert\x20SmartArt\x20Shape\x20\x22'+this[_0x7c2ace(0x278)][_0x7c2ace(0x269)]+'\x22.',_0x2fe6f8),[];}}[_0x181979(0x1fa)](){const _0x788355=_0x181979;let _0x24f907=this[_0x788355(0x264)]();return _0x24f907?n['Tools'][_0x788355(0x21d)](_0x24f907):null;}[_0x181979(0x2b5)](){const _0x5d1d5b=_0x181979;let _0x765773=this[_0x5d1d5b(0x264)]();return _0x765773?{..._0x765773['transform']}:null;}[_0x181979(0x266)](){const _0x4850da=_0x181979;var _0x577d7d;return((_0x577d7d=this[_0x4850da(0x264)]())==null?void 0x0:_0x577d7d[_0x4850da(0x233)])??!0x1;}[_0x181979(0x1e2)](_0x55a2b9){const _0x44b0ca=_0x181979;return this[_0x44b0ca(0x297)]({'visible':_0x55a2b9});}[_0x181979(0x1f7)](){const _0x5d93bc=_0x181979;var _0x5d8c59;return((_0x5d8c59=this[_0x5d93bc(0x264)]())==null?void 0x0:_0x5d8c59[_0x5d93bc(0x27d)])??!0x1;}['setSelectable'](_0x33ad7b){const _0x3a2558=_0x181979;return this[_0x3a2558(0x297)]({'selectable':_0x33ad7b});}[_0x181979(0x232)](){const _0x2c91c4=_0x181979;return this['_injector'][_0x2c91c4(0x201)](o,this['_shapeRef'],this['_injector']);}[_0x181979(0x1a8)](){const _0x25ab72=_0x181979;let _0x58f684=this[_0x25ab72(0x28d)]();return(_0x58f684==null?void 0x0:_0x58f684[_0x25ab72(0x1bf)])===!0x0&&!!_0x58f684['customGeometry'];}[_0x181979(0x282)](){const _0x29997e=_0x181979;var _0x5d1269;return((_0x5d1269=this[_0x29997e(0x28d)]())==null?void 0x0:_0x5d1269['customGeometry'])??null;}['setShapeType'](_0x2bc94b){return this['_patchShapeData'](_0x18aa8c=>({..._0x18aa8c,'shapeType':_0x2bc94b}),_0x2bc94b);}[_0x181979(0x235)](_0x18b698){const _0x3767be=_0x181979;let _0x43c4b1=n[_0x3767be(0x272)][_0x3767be(0x21d)](_0x18b698);return this['update']({'shapeType':_0x43c4b1[_0x3767be(0x293)],'shapeData':_0x43c4b1});}[_0x181979(0x27b)](_0x3b21b0){const _0x102707=_0x181979;return this[_0x102707(0x297)]({'transform':_0x3b21b0});}[_0x181979(0x25d)](_0x10bfe0,_0x305c0b){const _0x1ebfd0=_0x181979;return this[_0x1ebfd0(0x27b)]({'width':_0x10bfe0,'height':_0x305c0b});}[_0x181979(0x24e)](_0x151900){const _0x20434b=_0x181979;return this[_0x20434b(0x27b)]({'rotation':_0x151900});}[_0x181979(0x26a)](_0x333406,_0x47195f){const _0x11bd51=_0x181979;return this[_0x11bd51(0x27b)]({'left':_0x333406,'top':_0x47195f});}[_0x181979(0x1f1)](_0xc7f6c5){const _0x251a06=_0x181979;var _0x1323ab,_0x506d7a;let _0x13a352=((_0x1323ab=_0xc7f6c5['cxnLst'])==null?void 0x0:_0x1323ab[_0x251a06(0x2b8)](({x:_0xa60a13,y:_0x4edc2e})=>_0xa60a13===void 0x0||_0x4edc2e===void 0x0))??-0x1;if(_0x13a352>=0x0)return console[_0x251a06(0x1b7)]('[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20'+_0x13a352+'\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.'),this;let _0x3b6eee=u(_0xc7f6c5);if((_0x506d7a=_0x3b6eee[_0x251a06(0x1ef)])!=null&&_0x506d7a[_0x251a06(0x1b2)]){let _0x56d2c7=this[_0x251a06(0x264)]();if(!_0x56d2c7)return this;try{let _0x5c089a=new e[(_0x251a06(0x1e4))](_0x56d2c7[_0x251a06(0x293)],_0x56d2c7[_0x251a06(0x269)],{..._0x56d2c7[_0x251a06(0x1c9)],'isCustom':!0x0,'customGeometry':_0x3b6eee});_0x5c089a[_0x251a06(0x1f6)]({'width':_0x56d2c7['transform'][_0x251a06(0x254)],'height':_0x56d2c7['transform']['height']}),_0x5c089a[_0x251a06(0x1ac)]();}catch{return console[_0x251a06(0x1b7)]('[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.'),this;}}return this[_0x251a06(0x28b)](_0x5463c0=>({..._0x5463c0,'isCustom':!0x0,'customGeometry':_0x3b6eee}));}[_0x181979(0x21b)](_0x3f3e7d){const _0x47a206=_0x181979;return this[_0x47a206(0x1f1)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x3f3e7d[_0x47a206(0x254)],'h':_0x3f3e7d[_0x47a206(0x20c)],'fill':_0x3f3e7d[_0x47a206(0x1d7)],'stroke':_0x3f3e7d['stroke'],'data':_0x3f3e7d[_0x47a206(0x1f4)]}]});}[_0x181979(0x2b6)](){const _0x20e334=_0x181979;var _0x4913ba;return((_0x4913ba=this[_0x20e334(0x25e)]())==null?void 0x0:_0x4913ba[_0x20e334(0x1ac)]()['map'](_0x38eef3=>({..._0x38eef3})))??[];}[_0x181979(0x21a)](){var _0x132aa0;let _0x3bb6cf=(_0x132aa0=this['_getGeometryModel']())==null?void 0x0:_0x132aa0['getStartConnectInfo']();return _0x3bb6cf?{..._0x3bb6cf}:null;}[_0x181979(0x21f)](){const _0x15db9f=_0x181979;var _0x12c994;let _0x258a25=(_0x12c994=this['_getGeometryModel']())==null?void 0x0:_0x12c994[_0x15db9f(0x21f)]();return _0x258a25?{..._0x258a25}:null;}[_0x181979(0x2b2)](){const _0x292f83=_0x181979;var _0x678951;let _0x4fc73f=this[_0x292f83(0x25e)](),_0x15190e=(_0x4fc73f==null||(_0x678951=_0x4fc73f[_0x292f83(0x280)]()[_0x292f83(0x2b7)])==null?void 0x0:_0x678951[_0x292f83(0x1b2)])??0x0;return!_0x4fc73f||_0x15190e===0x0?[]:Array[_0x292f83(0x281)]({'length':_0x15190e},(_0x280cf0,_0x299e6c)=>_0x4fc73f[_0x292f83(0x1e6)](_0x299e6c))[_0x292f83(0x1b9)](_0x4f4007=>_0x4f4007!==void 0x0)['map'](_0x559e24=>n['Tools'][_0x292f83(0x21d)](_0x559e24));}[_0x181979(0x25c)](_0xc185ec){const _0x1cae90=_0x181979;let _0x3ef821=Object[_0x1cae90(0x204)](_0xc185ec);if(_0x3ef821[_0x1cae90(0x1b2)]===0x0)return this;let _0x4f647b=this[_0x1cae90(0x25e)]();if(!_0x4f647b)return this;let _0x5951c5=new Set(_0x4f647b[_0x1cae90(0x23f)]());for(let [_0x2e2ef6,_0x4d0273]of _0x3ef821){if(!_0x5951c5[_0x1cae90(0x2a8)](_0x2e2ef6))return console[_0x1cae90(0x1b7)](_0x1cae90(0x242)+_0x2e2ef6+'\x22\x20does\x20not\x20exist.'),this;if(!Number['isFinite'](_0x4d0273))return console[_0x1cae90(0x1b7)](_0x1cae90(0x242)+_0x2e2ef6+'\x22\x20must\x20be\x20finite.'),this;}let _0xfad64a=Object[_0x1cae90(0x1df)](_0x3ef821['map'](([_0x3ec721,_0x1582a5])=>[_0x3ec721,_0x4f647b[_0x1cae90(0x2a6)](_0x3ec721,_0x1582a5)]));return this[_0x1cae90(0x28b)](_0x4e94e1=>({..._0x4e94e1,'adjustValues':{..._0x4e94e1[_0x1cae90(0x1d6)],..._0xfad64a}}));}[_0x181979(0x1e8)](){const _0x27d205=_0x181979;let _0x30dee0=this[_0x27d205(0x28d)]();return _0x30dee0!=null&&_0x30dee0[_0x27d205(0x1d6)]?(delete _0x30dee0['adjustValues'],this[_0x27d205(0x297)]({'shapeData':_0x30dee0})):this;}[_0x181979(0x2a7)](_0x19b412,_0x214ab3){const _0x8b5c38=_0x181979;return this['_patchShapeData'](_0xc4e631=>({..._0xc4e631,'fill':{'fillType':e['ShapeFillEnum'][_0x8b5c38(0x1ea)],'color':_0x19b412,'opacity':_0x214ab3}}));}['setGradientFill'](_0x2ab576,_0x2a7f89,_0x50484d){const _0x4bfb82=_0x181979;return _0x2a7f89[_0x4bfb82(0x1b2)]<0x2?(console[_0x4bfb82(0x1b7)](_0x4bfb82(0x287)),this):this['_patchShapeData'](_0x3b7cb9=>({..._0x3b7cb9,'fill':{'fillType':e[_0x4bfb82(0x1c3)][_0x4bfb82(0x271)],'gradientType':_0x2ab576,'gradientStops':n[_0x4bfb82(0x272)][_0x4bfb82(0x21d)](_0x2a7f89),'gradientAngle':_0x50484d}}));}[_0x181979(0x268)](_0x1d4c7b,_0x58a444,_0x4b72e8={}){const _0x1894a1=_0x181979;return this['_patchShapeData'](_0x350a86=>({..._0x350a86,'fill':{...n['Tools']['deepClone'](_0x4b72e8),'fillType':e[_0x1894a1(0x1c3)][_0x1894a1(0x1b1)],'fillImageSource':_0x1d4c7b,'fillImageSourceType':_0x58a444}}));}[_0x181979(0x1b0)](){const _0x4022ad=_0x181979;return this['_patchShapeData'](_0x4e004a=>({..._0x4e004a,'fill':{'fillType':e['ShapeFillEnum'][_0x4022ad(0x1be)]}}));}[_0x181979(0x1c1)](_0x339e3e){const _0x48af27=_0x181979;return this[_0x48af27(0x28b)](_0xeb1072=>({..._0xeb1072,'stroke':n[_0x48af27(0x272)]['deepClone'](_0x339e3e)}));}[_0x181979(0x289)](_0xc72ddc){const _0x4efd0c=_0x181979;return this[_0x4efd0c(0x21e)](_0x34706f=>({..._0x34706f,'color':_0xc72ddc,'lineStrokeType':_0x34706f[_0x4efd0c(0x1ff)]===e['ShapeLineTypeEnum']['NoLine']?e[_0x4efd0c(0x27f)][_0x4efd0c(0x1ce)]:_0x34706f['lineStrokeType']}));}[_0x181979(0x298)](_0x404b14){const _0x414c3f=_0x181979;return this[_0x414c3f(0x21e)](_0x2edd45=>({..._0x2edd45,'width':_0x404b14,'lineStrokeType':_0x2edd45[_0x414c3f(0x1ff)]===e['ShapeLineTypeEnum'][_0x414c3f(0x207)]?e['ShapeLineTypeEnum'][_0x414c3f(0x1ce)]:_0x2edd45[_0x414c3f(0x1ff)]}));}[_0x181979(0x251)](_0x54445b){const _0x1e7260=_0x181979;return this[_0x1e7260(0x21e)](_0x17f393=>({..._0x17f393,'opacity':_0x54445b}));}[_0x181979(0x284)](_0x139245){const _0x309154=_0x181979;return this[_0x309154(0x21e)](_0x6cb98e=>({..._0x6cb98e,'dashType':_0x139245}));}['setStrokeLineJoinType'](_0x68a5aa){const _0x464d25=_0x181979;return this[_0x464d25(0x21e)](_0x3a27d4=>({..._0x3a27d4,'lineJoinType':_0x68a5aa}));}[_0x181979(0x214)](_0x27ed09){const _0x2f1efe=_0x181979;return this[_0x2f1efe(0x21e)](_0x4bf121=>({..._0x4bf121,'capType':_0x27ed09}));}[_0x181979(0x1fd)](_0xb59ac7){const _0x304b58=_0x181979;return this[_0x304b58(0x21e)](_0xa9a371=>({..._0xa9a371,'lineStrokeType':_0xb59ac7}));}[_0x181979(0x297)](_0x2b9446){const _0x21d064=_0x181979;var _0x2d73bf;let _0x4939df=_0x2b9446[_0x21d064(0x1c9)],_0x45a8ff=_0x4939df&&('relation'in _0x4939df||_0x21d064(0x23a)in _0x4939df)?this[_0x21d064(0x209)]():null,_0xed0ef6=_0x2b9446[_0x21d064(0x293)]??((_0x2d73bf=_0x2b9446[_0x21d064(0x1c9)])==null?void 0x0:_0x2d73bf[_0x21d064(0x293)])??_0x45a8ff,_0x305a34=f(_0x2b9446,_0xed0ef6!==null&&(0x0,e[_0x21d064(0x1f5)])(_0xed0ef6));return _0x305a34?(console['warn'](_0x21d064(0x220)+_0x305a34),this):(this[_0x21d064(0x215)]('update',_0x5003e9=>_0x5003e9[_0x21d064(0x22e)](this['_shapeRef'],_0x2b9446)),this);}['remove'](){const _0x37cd6b=_0x181979;return this['_mutate']('remove',_0x2c8668=>_0x2c8668['removeShape'](this[_0x37cd6b(0x278)]));}['bringToFront'](){const _0x5e4eca=_0x181979;return this[_0x5e4eca(0x215)](_0x5e4eca(0x1c0),_0x31766e=>_0x31766e['bringToFront'](this[_0x5e4eca(0x278)])),this;}[_0x181979(0x240)](){const _0x337ada=_0x181979;return this[_0x337ada(0x215)](_0x337ada(0x23d),_0xfa6897=>_0xfa6897[_0x337ada(0x240)](this['_shapeRef'])),this;}[_0x181979(0x225)](){const _0x454b11=_0x181979;return this[_0x454b11(0x215)](_0x454b11(0x1e3),_0x5e8b01=>_0x5e8b01['sendBackward'](this[_0x454b11(0x278)])),this;}['sendToBack'](){const _0x309aae=_0x181979;return this[_0x309aae(0x215)](_0x309aae(0x20f),_0xe83b3f=>_0xe83b3f[_0x309aae(0x1c6)](this[_0x309aae(0x278)])),this;}[_0x181979(0x1fe)](_0x4fcacf){const _0xe8992a=_0x181979;return this[_0xe8992a(0x215)](_0xe8992a(0x1d8),_0x3ad248=>_0x3ad248[_0xe8992a(0x1fe)](this[_0xe8992a(0x278)],_0x4fcacf)),this;}[_0x181979(0x1ae)](){const _0x3da3a2=_0x181979;return this[_0x3da3a2(0x237)][_0x3da3a2(0x230)](this[_0x3da3a2(0x278)][_0x3da3a2(0x213)]);}[_0x181979(0x28b)](_0x29c386,_0x4aeb8c){let _0x4ee1dd=this['getShapeData']();return _0x4ee1dd?this['update']({'shapeType':_0x4aeb8c,'shapeData':_0x29c386(_0x4ee1dd)}):this;}[_0x181979(0x1d5)](..._0x5a8730){const _0x5bf5ba=_0x181979;let _0x32b833=this[_0x5bf5ba(0x1ae)]();return!_0x32b833||!this[_0x5bf5ba(0x262)]()?(console[_0x5bf5ba(0x1b7)](_0x5bf5ba(0x1a3)+this[_0x5bf5ba(0x278)]['shapeId']+_0x5bf5ba(0x26f)),this):(_0x32b833['updateShape'](this[_0x5bf5ba(0x278)],{'smartArtOperations':_0x5a8730})||console[_0x5bf5ba(0x1b7)](_0x5bf5ba(0x239)+this[_0x5bf5ba(0x278)]['shapeId']+'\x22.'),this);}[_0x181979(0x21e)](_0x8eefe6){const _0x546158=_0x181979;return this[_0x546158(0x28b)](_0x5350e6=>({..._0x5350e6,'stroke':_0x8eefe6(_0x5350e6[_0x546158(0x1f2)]??{})}));}[_0x181979(0x264)](){const _0x10010e=_0x181979;let _0x28a0a7=this[_0x10010e(0x1ae)]();if(!_0x28a0a7)return null;try{return _0x28a0a7[_0x10010e(0x231)](this[_0x10010e(0x278)])||(console[_0x10010e(0x1b7)]('[Shape\x20Facade]:\x20Shape\x20\x22'+this[_0x10010e(0x278)]['shapeId']+_0x10010e(0x1a5)),null);}catch(_0x24f53e){return console[_0x10010e(0x1b7)](_0x10010e(0x285)+this[_0x10010e(0x278)][_0x10010e(0x269)]+'\x22.',_0x24f53e),null;}}[_0x181979(0x25e)](){const _0x5395e5=_0x181979;let _0x156b10=this['_getSnapshot']();if(!_0x156b10)return null;try{let _0x5cbce5=new e[(_0x5395e5(0x1e4))](_0x156b10[_0x5395e5(0x293)],_0x156b10[_0x5395e5(0x269)],n[_0x5395e5(0x272)][_0x5395e5(0x21d)](_0x156b10['shapeData']));return _0x5cbce5['updateContext']({'width':_0x156b10['transform']['width'],'height':_0x156b10[_0x5395e5(0x217)][_0x5395e5(0x20c)]}),_0x5cbce5;}catch(_0x4b0f45){return console[_0x5395e5(0x1b7)](_0x5395e5(0x200)+this[_0x5395e5(0x278)][_0x5395e5(0x269)]+'\x22.',_0x4b0f45),null;}}['_mutate'](_0x11b7fd,_0x261871){const _0x1be4f7=_0x181979;let _0x3f0aad=this[_0x1be4f7(0x1ae)]();if(!_0x3f0aad)return!0x1;try{let _0x4e6218=_0x261871(_0x3f0aad);return _0x4e6218||console[_0x1be4f7(0x1b7)](_0x1be4f7(0x2ab)+_0x11b7fd+'\x20Shape\x20\x22'+this[_0x1be4f7(0x278)][_0x1be4f7(0x269)]+'\x22.'),_0x4e6218;}catch(_0x3a5ab9){return console[_0x1be4f7(0x1b7)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x11b7fd+_0x1be4f7(0x250)+this[_0x1be4f7(0x278)][_0x1be4f7(0x269)]+'\x22.',_0x3a5ab9),!0x1;}}};d=l=c([s(0x2,e[_0x181979(0x228)]),s(0x3,n[_0x181979(0x208)])],d);function f(_0x3296e7,_0x277f2b=!0x1){const _0x5eccfa=_0x181979;for(let _0x4eb5ee of[_0x5eccfa(0x233),_0x5eccfa(0x27d)]){let _0x4037dc=_0x3296e7[_0x4eb5ee];if(_0x4037dc!==void 0x0&&typeof _0x4037dc!=_0x5eccfa(0x1bb))return _0x5eccfa(0x210)+_0x4eb5ee+_0x5eccfa(0x27e);}let _0x8b7b0f=_0x3296e7[_0x5eccfa(0x217)];if(_0x8b7b0f){for(let _0x22f236 of[_0x5eccfa(0x1a2),'top',_0x5eccfa(0x254),_0x5eccfa(0x20c),'rotation']){let _0x316a9b=_0x8b7b0f[_0x22f236];if(_0x316a9b!==void 0x0&&!Number[_0x5eccfa(0x288)](_0x316a9b))return _0x5eccfa(0x1c4)+_0x22f236+_0x5eccfa(0x211);}if(_0x8b7b0f['width']!==void 0x0&&_0x8b7b0f['width']<=0x0)return _0x5eccfa(0x1b3);if(_0x8b7b0f[_0x5eccfa(0x20c)]!==void 0x0&&_0x8b7b0f[_0x5eccfa(0x20c)]<=0x0)return _0x5eccfa(0x2b3);for(let _0xc9285b of[_0x5eccfa(0x1f8),_0x5eccfa(0x1cc)]){let _0x1b5ee9=_0x8b7b0f[_0xc9285b];if(_0x1b5ee9!==void 0x0&&typeof _0x1b5ee9!='boolean')return _0x5eccfa(0x1c4)+_0xc9285b+'\x22\x20must\x20be\x20boolean.';}}let _0x31a061=_0x3296e7['shapeData'];return!_0x277f2b&&_0x31a061&&(_0x5eccfa(0x248)in _0x31a061||_0x5eccfa(0x23a)in _0x31a061)?_0x5eccfa(0x243):null;}var p=class extends d{[_0x181979(0x1f5)](){return!0x0;}[_0x181979(0x2a4)](){const _0x306054=_0x181979;let _0x23f34e=this[_0x306054(0x1e9)]();return _0x23f34e?n['Tools']['deepClone'](_0x23f34e['start']):null;}[_0x181979(0x1ba)](){const _0x51186f=_0x181979;let _0x3d6b2e=this[_0x51186f(0x1e9)]();return _0x3d6b2e?n['Tools'][_0x51186f(0x21d)](_0x3d6b2e[_0x51186f(0x22f)]):null;}['getRoutePoints'](){const _0x211eb8=_0x181979;let _0x4ebd93=this[_0x211eb8(0x1e9)]();return _0x4ebd93?n[_0x211eb8(0x272)]['deepClone'](_0x4ebd93[_0x211eb8(0x241)]):null;}[_0x181979(0x29e)](){const _0x41ed99=_0x181979;let _0x1167ce=this[_0x41ed99(0x1e9)]();return _0x1167ce?n['Tools'][_0x41ed99(0x21d)](_0x1167ce[_0x41ed99(0x23b)]):null;}['getEndArrow'](){const _0x34fd68=_0x181979;let _0x26f0c2=this[_0x34fd68(0x1e9)]();return _0x26f0c2?n['Tools'][_0x34fd68(0x21d)](_0x26f0c2[_0x34fd68(0x22c)]):null;}[_0x181979(0x2ae)](_0x14728a){const _0x598f6e=_0x181979;return(0x0,e[_0x598f6e(0x1f5)])(_0x14728a)?super['setShapeType'](_0x14728a):(console[_0x598f6e(0x1b7)](_0x598f6e(0x2b4)+this[_0x598f6e(0x278)][_0x598f6e(0x269)]+_0x598f6e(0x276)),this);}[_0x181979(0x235)](_0x2b3304){const _0x213e93=_0x181979;return _0x2b3304['shapeType']!==void 0x0&&!(0x0,e[_0x213e93(0x1f5)])(_0x2b3304[_0x213e93(0x293)])?(console[_0x213e93(0x1b7)](_0x213e93(0x2b4)+this[_0x213e93(0x278)][_0x213e93(0x269)]+_0x213e93(0x277)),this):super[_0x213e93(0x235)](_0x2b3304);}[_0x181979(0x1db)](_0x39ed5e,_0x20216e){const _0x71385d=_0x181979;return this[_0x71385d(0x224)](_0x71385d(0x1d2),_0x39ed5e,_0x20216e),this;}[_0x181979(0x1aa)](_0x178891,_0x3f39dd){const _0x36e0d2=_0x181979;return this['_bind'](_0x36e0d2(0x22f),_0x178891,_0x3f39dd),this;}['unbindStart'](){const _0x219b03=_0x181979;return this[_0x219b03(0x26c)](_0x219b03(0x1b8),_0x14847e=>_0x14847e[_0x219b03(0x20a)](this[_0x219b03(0x278)])),this;}[_0x181979(0x1f0)](){const _0x30db62=_0x181979;return this[_0x30db62(0x26c)](_0x30db62(0x260),_0x52298c=>_0x52298c[_0x30db62(0x1f0)](this[_0x30db62(0x278)])),this;}[_0x181979(0x1a7)](_0x344582){const _0x49fb6d=_0x181979;return m(_0x344582,this['_shapeRef'][_0x49fb6d(0x269)])&&this['_mutateConnector']('set\x20start\x20point',_0x26c7c0=>_0x26c7c0[_0x49fb6d(0x1a7)](this[_0x49fb6d(0x278)],_0x344582)),this;}[_0x181979(0x1fc)](_0x356bda){const _0x11badb=_0x181979;return m(_0x356bda,this[_0x11badb(0x278)][_0x11badb(0x269)])&&this['_mutateConnector'](_0x11badb(0x245),_0x8b958d=>_0x8b958d[_0x11badb(0x1fc)](this[_0x11badb(0x278)],_0x356bda)),this;}[_0x181979(0x246)](_0x422270){const _0x52fc96=_0x181979;return _0x422270[_0x52fc96(0x1e5)](_0x24fc73=>m(_0x24fc73,this['_shapeRef'][_0x52fc96(0x269)]))&&this['_mutateConnector'](_0x52fc96(0x26b),_0x2e9adb=>_0x2e9adb[_0x52fc96(0x246)](this[_0x52fc96(0x278)],_0x422270)),this;}['setStartArrow'](_0x4b3b95,_0xaa99b3){const _0x5c6f1b=_0x181979;return this['_mutateConnector'](_0x5c6f1b(0x28a),_0x373cfe=>_0x373cfe[_0x5c6f1b(0x236)](this[_0x5c6f1b(0x278)],_0x4b3b95,_0xaa99b3)),this;}[_0x181979(0x1d9)](_0x96e750,_0x54c48c){const _0x18cf5f=_0x181979;return this[_0x18cf5f(0x26c)](_0x18cf5f(0x22a),_0x311477=>_0x311477[_0x18cf5f(0x1d9)](this[_0x18cf5f(0x278)],_0x96e750,_0x54c48c)),this;}[_0x181979(0x1b4)](){const _0x1cd650=_0x181979;return this[_0x1cd650(0x1b5)][_0x1cd650(0x230)](e[_0x1cd650(0x2ad)]);}[_0x181979(0x1e9)](){const _0x24a789=_0x181979;let _0x2aca13=this[_0x24a789(0x1b4)]();if(!_0x2aca13)return null;try{return _0x2aca13[_0x24a789(0x20d)](this['_shapeRef'])||(console[_0x24a789(0x1b7)](_0x24a789(0x2b4)+this['_shapeRef'][_0x24a789(0x269)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0xbbfacb){return console[_0x24a789(0x1b7)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x24a789(0x278)][_0x24a789(0x269)]+'\x22.',_0xbbfacb),null;}}['_bind'](_0x2a164c,_0x103c33,_0x38f4d4){const _0x4ae347=_0x181979;if(!_0x103c33||!Number[_0x4ae347(0x257)](_0x38f4d4)||_0x38f4d4<0x0)return console[_0x4ae347(0x1b7)](_0x4ae347(0x2a9)+this[_0x4ae347(0x278)][_0x4ae347(0x269)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x2191fb={'shapeId':_0x103c33,'cxnIndex':_0x38f4d4};return this['_mutateConnector'](_0x4ae347(0x212)+_0x2a164c,_0x2a184d=>_0x2a164c===_0x4ae347(0x1d2)?_0x2a184d[_0x4ae347(0x1db)](this[_0x4ae347(0x278)],_0x2191fb):_0x2a184d[_0x4ae347(0x1aa)](this[_0x4ae347(0x278)],_0x2191fb));}['_mutateConnector'](_0x3b228d,_0x298767){const _0x25aa43=_0x181979;let _0x4ceb08=this[_0x25aa43(0x1b4)]();if(!_0x4ceb08)return!0x1;try{let _0x5b9d1f=_0x298767(_0x4ceb08);return _0x5b9d1f||console[_0x25aa43(0x1b7)](_0x25aa43(0x2ab)+_0x3b228d+_0x25aa43(0x253)+this[_0x25aa43(0x278)][_0x25aa43(0x269)]+'\x22.'),_0x5b9d1f;}catch(_0x23ef1e){return console['warn'](_0x25aa43(0x2ab)+_0x3b228d+_0x25aa43(0x253)+this[_0x25aa43(0x278)][_0x25aa43(0x269)]+'\x22.',_0x23ef1e),!0x1;}}};function m(_0x11d42e,_0x4139d0){const _0x5bf247=_0x181979;return!Number[_0x5bf247(0x288)](_0x11d42e['x'])||!Number[_0x5bf247(0x288)](_0x11d42e['y'])?(console['warn'](_0x5bf247(0x2a9)+_0x4139d0+'\x22\x20points\x20must\x20contain\x20finite\x20coordinates.'),!0x1):!0x0;}exports[_0x181979(0x29f)]=p,Object[_0x181979(0x29d)](exports,_0x181979(0x263),{'enumerable':!0x0,'get':function(){return d;}}),exports['FShapeText']=o;