@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/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x37f47e=_0x8476;(function(_0x5f47eb,_0x4abd52){const _0x2655e9=_0x8476,_0x3b18cf=_0x5f47eb();while(!![]){try{const _0x3c436e=-parseInt(_0x2655e9(0x1e9))/0x1+-parseInt(_0x2655e9(0x18b))/0x2+parseInt(_0x2655e9(0x1e1))/0x3+parseInt(_0x2655e9(0x241))/0x4*(parseInt(_0x2655e9(0x19a))/0x5)+-parseInt(_0x2655e9(0x20c))/0x6+parseInt(_0x2655e9(0x196))/0x7+-parseInt(_0x2655e9(0x223))/0x8*(-parseInt(_0x2655e9(0x229))/0x9);if(_0x3c436e===_0x4abd52)break;else _0x3b18cf['push'](_0x3b18cf['shift']());}catch(_0x20093b){_0x3b18cf['push'](_0x3b18cf['shift']());}}}(_0x5681,0x6e008));import{IConnectorShapeHostAdapter as _0x2afe61,IShapeHostAdapterRegistry as _0x5646d7,ImageFillModeEnum as _0x146104,ImageSourceTypeEnum as _0x501b58,ShapeArrowSizeEnum as _0x1fd4ed,ShapeArrowTypeEnum as _0x521b10,ShapeFillEnum as _0x1e1d7b,ShapeGradientTypeEnum as _0x47f713,ShapeLineCapEnum as _0x2d5f35,ShapeLineDashEnum as _0x1181c0,ShapeLineJoinEnum as _0x3e1a5a,ShapeLineTypeEnum as _0x2bc121,ShapeModel as _0x312d54,ShapeOperatorEnum as _0x28abd0,ShapeTextAutoFitType as _0x48a67b,ShapeTextDirection as _0x276613,ShapeTextWrapType as _0x1c69d8,ShapeTypeEnum as _0x3048a1,applyRichTextToShapeText as _0x58c084,applyShapeTextAlignment as _0x243be9,applyShapeTextBoxOptions as _0x4bd558,applyShapeTextStyle as _0x232f4d,applyTextToShapeText as _0x20fc7e,isConnectorShape as _0x1ce78f,parseSvgPathData as _0x538523,resolveShapeTextBoxOptions as _0x3a18c3,shapeTextToRichTextValue as _0xcf74b6}from'@univerjs-pro/engine-shape';function _0x8476(_0x9376c9,_0x2ccd86){_0x9376c9=_0x9376c9-0x168;const _0x568135=_0x5681();let _0x84761a=_0x568135[_0x9376c9];return _0x84761a;}import{FBase as _0x17417a,FEnum as _0x334ea1}from'@univerjs/core/facade';function _0x5681(){const _0x20a348=['4vLgUpp','ShapeTextAutoFitType','dataArray','\x20Connector\x20Shape\x20\x22','isFinite','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','_shapeHostAdapterRegistry','pathLst','setTransform','toPlainText','flipY','isVisible','defineProperty','isInteger','_patchStroke','_getConnectorAdapter','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','bindEnd','ShapeLineTypeEnum','bringForward','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','createInstance','setRichText','picture','PictureFill','setStrokeLineCapType','send\x20backward','setStrokeColor','setCustomGeometry','getEndEndpoint','set\x20start\x20point','relation','ShapeFillEnum','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','getCustomGeometry','has','SolidFill','URL','_bind','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','hostType','selectable','unbind\x20end','updateContext','setSelectable','setCustomGeometryFromSvgPath','getEndConnectInfo','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','setEndPoint','872670iDjikp','setStrokeLineType','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','transform','decorate','boolean','flipX','setStrokeOpacity','end','_updateShapeData','getStartEndpoint','1601775ONndQl','ShapeArrowSizeEnum','shapeId','setBold','3508815yfQAjH','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','getStartConnectInfo','gradient','setSize','\x22\x20requires\x20Connector\x20Shape\x20data.','_getGeometryModel','Tile','tile','[Shape\x20Facade]:\x20Failed\x20to\x20','getName','getAdjustNames','getTextBoxOptions','removeShape','getStartArrow','lineStrokeType','unbindStart','unbind\x20start','function','bind\x20','\x22\x20must\x20be\x20boolean.','fill','map','startArrow','setStartPoint','NoLine','setUnderline','setAdjustValueByName','send\x20to\x20back','getRoutePoints','setStrokeLineDashType','setShapeType','setImageFill','_commandService','_getConnectorSnapshot','[Shape\x20Facade]:\x20','getPlainText','rgba(0,\x200,\x200,\x200)','length','ShapeLineDashEnum','Shape\x20transform\x20\x22','object','\x22\x20does\x20not\x20exist.','remove','_getShapeData','isCustom','\x20Shape\x20\x22','shapeData','sendBackward','GradientFill','setNoneFill','getSnapshot','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setText','solid','[Shape\x20Facade]:\x20Shape\x20\x22','_shapeRef','shapeType','offsetY','setFontFamily','setName','setSolidFill','getId','getConnectionSites','entries','getConnector','setFontSize','adjustValues','\x22\x20text.','_getAdapter','_injector','1980258CyeZaX','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','FALSE','setStrokeLineJoinType','name','getShapeType','shapeText','ShapeGradientTypeEnum','649956mVsSug','start','getShapeData','width','cxnLst','_mutate','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','set\x20end\x20point','setHorizontalAlign','ShapeImageFillModeEnum','getEndArrow','setStroke','none','fromEntries','radial','color','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','SolidLine','_mutateConnector','_patchShapeData','top','Radial','update','getConnectionSiteList','scaleX','\x22\x20was\x20not\x20found.','sendToBack','extend','setShapeData','getTransform','set\x20end\x20arrow','warn','angular','setAdjustValues','2834598himSKk','\x22\x20must\x20be\x20finite.','data','TRUE','updateShape','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','visible','setRoutePoints','get','set\x20route\x20points','getAdjustInfo','rotation','offsetX','from','bringToFront','setColor','mode','ShapeLineJoinEnum','getText','height','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setRotation','getHostType','1674472NjReXa','getOwnPropertyDescriptor','isCustomShape','stroke','pathData','deepClone','18sHketP','isConnectorShape','setDescription','bindStart','setAbsolutePosition','setTextBoxOptions','setEndArrow','findIndex','stretch','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeLineCapEnum','setGradientFill','setTextStyle','[Shape\x20Facade]:\x20Connector\x20\x22','Diamond','_getSnapshot','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','description','ShapeArrowTypeEnum','getShape','left','diamond','scaleY','unbindEnd'];_0x5681=function(){return _0x20a348;};return _0x5681();}import{BooleanNumber as _0x2c38df,ICommandService as _0x27ebba,Tools as _0x30cdfd}from'@univerjs/core';var M=class extends _0x334ea1{get['ShapeTypeEnum'](){return _0x3048a1;}get[_0x37f47e(0x17a)](){return _0x1e1d7b;}get[_0x37f47e(0x1e8)](){return _0x47f713;}get[_0x37f47e(0x1f2)](){return _0x146104;}get['ShapeImageSourceTypeEnum'](){return _0x501b58;}get[_0x37f47e(0x16c)](){return _0x2bc121;}get[_0x37f47e(0x1c1)](){return _0x1181c0;}get[_0x37f47e(0x233)](){return _0x2d5f35;}get[_0x37f47e(0x21d)](){return _0x3e1a5a;}get['ShapeOperatorEnum'](){return _0x28abd0;}get[_0x37f47e(0x23b)](){return _0x521b10;}get[_0x37f47e(0x197)](){return _0x1fd4ed;}get[_0x37f47e(0x242)](){return _0x48a67b;}get['ShapeTextDirection'](){return _0x276613;}get['ShapeTextWrapType'](){return _0x1c69d8;}};_0x334ea1[_0x37f47e(0x205)](M);function N(_0x5602d9){const _0x29a497=_0x37f47e;switch(_0x5602d9){case _0x47f713[_0x29a497(0x1ff)]:return _0x29a497(0x1f7);case _0x47f713['Angular']:return _0x29a497(0x20a);case _0x47f713[_0x29a497(0x237)]:return _0x29a497(0x23e);case _0x47f713['Linear']:default:return'linear';}}function P(_0x2dae96){const _0x517468=_0x37f47e;return _0x2dae96===_0x146104[_0x517468(0x1a1)]?_0x517468(0x1a2):_0x517468(0x231);}var F=class{constructor(_0x3e1fb7,_0x106cdc){const _0x3b5107=_0x37f47e;this[_0x3b5107(0x1d2)]=_0x3e1fb7,this[_0x3b5107(0x1e0)]=_0x106cdc;}['getRichText'](){const _0x2b9358=_0x37f47e;var _0x597ecf;return _0xcf74b6((_0x597ecf=this[_0x2b9358(0x1c6)]())==null?void 0x0:_0x597ecf[_0x2b9358(0x1e7)]);}[_0x37f47e(0x1be)](){const _0x1ebb72=_0x37f47e;var _0x24ff47;return((_0x24ff47=this['getRichText']())==null?void 0x0:_0x24ff47[_0x1ebb72(0x24a)]())??null;}[_0x37f47e(0x170)](_0x19380d){const _0x379f7f=_0x37f47e;return this[_0x379f7f(0x194)](_0x1fcb4a=>({..._0x1fcb4a,'shapeText':_0x58c084(_0x1fcb4a['shapeText'],_0x19380d)})),this;}[_0x37f47e(0x1cf)](_0x2aea40){const _0x361f1a=_0x37f47e;return this[_0x361f1a(0x194)](_0x5821a2=>({..._0x5821a2,'shapeText':_0x20fc7e(_0x5821a2[_0x361f1a(0x1e7)],_0x2aea40)})),this;}[_0x37f47e(0x235)](_0x26d09b){const _0x595a95=_0x37f47e;return this['_updateShapeData'](_0x50a5be=>({..._0x50a5be,'shapeText':_0x232f4d(_0x50a5be[_0x595a95(0x1e7)],_0x26d09b)})),this;}[_0x37f47e(0x21b)](_0x4dbd0d,_0x3f06df){const _0x19493b=_0x37f47e;return this[_0x19493b(0x235)]({'cl':{'rgb':_0x4dbd0d},'textFill':{'type':_0x19493b(0x1d0),'color':_0x4dbd0d,'opacity':_0x3f06df}});}['setNoneFill'](){const _0x4d2ce4=_0x37f47e;return this[_0x4d2ce4(0x235)]({'cl':{'rgb':_0x4d2ce4(0x1bf)},'textFill':{'type':_0x4d2ce4(0x1f5)}});}[_0x37f47e(0x234)](_0x450d3d,_0x5c7761,_0x24f01e){const _0x57a7f8=_0x37f47e;return _0x5c7761['length']<0x2?(console[_0x57a7f8(0x209)](_0x57a7f8(0x220)),this):this['setTextStyle']({'cl':{'rgb':_0x5c7761[0x0][_0x57a7f8(0x1f8)]},'textFill':{'type':_0x57a7f8(0x19d),'gradient':{'type':N(_0x450d3d),'angle':_0x24f01e,'stops':_0x5c7761[_0x57a7f8(0x1b0)](({position:_0xa6a6bd,color:_0x44b9ac,opacity:_0x368deb})=>({'offset':_0xa6a6bd,'color':_0x44b9ac,'opacity':_0x368deb}))}}});}[_0x37f47e(0x1ba)](_0x40c43a,_0x247b2e=_0x501b58[_0x37f47e(0x17f)],_0x2e509c={}){const _0x3d38e4=_0x37f47e;return this[_0x3d38e4(0x235)]({'textFill':{'type':_0x3d38e4(0x171),'picture':{'source':_0x40c43a,'sourceType':_0x247b2e,'opacity':_0x2e509c['opacity'],'mode':P(_0x2e509c[_0x3d38e4(0x21c)]),'scaleX':_0x2e509c[_0x3d38e4(0x202)],'scaleY':_0x2e509c[_0x3d38e4(0x23f)],'offsetX':_0x2e509c[_0x3d38e4(0x218)],'offsetY':_0x2e509c[_0x3d38e4(0x1d4)]}}});}[_0x37f47e(0x1dc)](_0x3c50ac){return this['setTextStyle']({'fs':_0x3c50ac});}[_0x37f47e(0x1d5)](_0x5291a2){const _0x249145=_0x37f47e;return this[_0x249145(0x235)]({'ff':_0x5291a2});}[_0x37f47e(0x199)](_0x2b1927){const _0x46b27a=_0x37f47e;return this[_0x46b27a(0x235)]({'bl':_0x2b1927?_0x2c38df['TRUE']:_0x2c38df[_0x46b27a(0x1e3)]});}['setItalic'](_0x28128f){const _0x22fc31=_0x37f47e;return this['setTextStyle']({'it':_0x28128f?_0x2c38df[_0x22fc31(0x20f)]:_0x2c38df[_0x22fc31(0x1e3)]});}[_0x37f47e(0x1b4)](_0x29ef05){const _0x15b49c=_0x37f47e;return this[_0x15b49c(0x235)]({'ul':{'s':_0x29ef05?_0x2c38df[_0x15b49c(0x20f)]:_0x2c38df[_0x15b49c(0x1e3)]}});}['setStrikethrough'](_0xe54873){const _0x186581=_0x37f47e;return this[_0x186581(0x235)]({'st':{'s':_0xe54873?_0x2c38df['TRUE']:_0x2c38df['FALSE']}});}[_0x37f47e(0x1f1)](_0x3f4c89){const _0xa07e57=_0x37f47e;return this[_0xa07e57(0x194)](_0x4460d5=>_0x243be9(_0x4460d5,{'horizontalAlign':_0x3f4c89})),this;}['setVerticalAlign'](_0x4928d7){return this['_updateShapeData'](_0x12313c=>_0x243be9(_0x12313c,{'verticalAlign':_0x4928d7})),this;}[_0x37f47e(0x1a6)](){const _0x501653=_0x37f47e;let _0x3f8b10=this[_0x501653(0x1c6)]();return _0x3f8b10?_0x3a18c3(_0x3f8b10):null;}[_0x37f47e(0x22e)](_0x26cd4f){return this['_updateShapeData'](_0x10286c=>_0x4bd558(_0x10286c,_0x26cd4f)),this;}['_getAdapter'](){const _0x2f6268=_0x37f47e;return this[_0x2f6268(0x1e0)]['get'](_0x5646d7)[_0x2f6268(0x214)](this[_0x2f6268(0x1d2)][_0x2f6268(0x182)]);}['_getShapeData'](){const _0x3f7516=_0x37f47e;let _0x886007=this[_0x3f7516(0x1df)]();if(!_0x886007)return null;try{var _0x208575;return((_0x208575=_0x886007[_0x3f7516(0x23c)](this[_0x3f7516(0x1d2)]))==null?void 0x0:_0x208575[_0x3f7516(0x1c9)])||(console[_0x3f7516(0x209)](_0x3f7516(0x1fa)+this[_0x3f7516(0x1d2)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x57bf67){return console['warn'](_0x3f7516(0x232)+this[_0x3f7516(0x1d2)]['shapeId']+_0x3f7516(0x1de),_0x57bf67),null;}}['_updateShapeData'](_0x3b287e){const _0x4c15f5=_0x37f47e;let _0x4b05d5=this[_0x4c15f5(0x1df)]();if(!_0x4b05d5)return!0x1;try{var _0x3e0109;let _0x29d318=(_0x3e0109=_0x4b05d5[_0x4c15f5(0x23c)](this[_0x4c15f5(0x1d2)]))==null?void 0x0:_0x3e0109[_0x4c15f5(0x1c9)];if(!_0x29d318)return console[_0x4c15f5(0x209)](_0x4c15f5(0x1fa)+this[_0x4c15f5(0x1d2)][_0x4c15f5(0x198)]+_0x4c15f5(0x203)),!0x1;let _0x2d5059=_0x4b05d5[_0x4c15f5(0x210)](this['_shapeRef'],{'shapeData':_0x3b287e(_0x29d318)});return _0x2d5059||console['warn']('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x4c15f5(0x1d2)]['shapeId']+_0x4c15f5(0x1de)),_0x2d5059;}catch(_0x1f890b){return console[_0x4c15f5(0x209)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x4c15f5(0x1d2)]['shapeId']+_0x4c15f5(0x1de),_0x1f890b),!0x1;}}};function I(_0x5ec222,_0x590ee4){return function(_0x56f3ee,_0x5ed20f){_0x590ee4(_0x56f3ee,_0x5ed20f,_0x5ec222);};}function L(_0x20d5ba,_0x5d1d44,_0x5c813c,_0x5ab6d2){const _0x35fea0=_0x37f47e;var _0x455472=arguments['length'],_0x6bcd63=_0x455472<0x3?_0x5d1d44:_0x5ab6d2===null?_0x5ab6d2=Object[_0x35fea0(0x224)](_0x5d1d44,_0x5c813c):_0x5ab6d2,_0x3f52f3;if(typeof Reflect==_0x35fea0(0x1c3)&&typeof Reflect[_0x35fea0(0x18f)]==_0x35fea0(0x1ac))_0x6bcd63=Reflect[_0x35fea0(0x18f)](_0x20d5ba,_0x5d1d44,_0x5c813c,_0x5ab6d2);else{for(var _0x311fcc=_0x20d5ba[_0x35fea0(0x1c0)]-0x1;_0x311fcc>=0x0;_0x311fcc--)(_0x3f52f3=_0x20d5ba[_0x311fcc])&&(_0x6bcd63=(_0x455472<0x3?_0x3f52f3(_0x6bcd63):_0x455472>0x3?_0x3f52f3(_0x5d1d44,_0x5c813c,_0x6bcd63):_0x3f52f3(_0x5d1d44,_0x5c813c))||_0x6bcd63);}return _0x455472>0x3&&_0x6bcd63&&Object[_0x35fea0(0x24d)](_0x5d1d44,_0x5c813c,_0x6bcd63),_0x6bcd63;}function R(_0x31383f){const _0x230560=_0x37f47e;let _0x2c2f39=_0x30cdfd[_0x230560(0x228)](_0x31383f);return _0x2c2f39[_0x230560(0x248)]&&=_0x2c2f39[_0x230560(0x248)]['map'](_0x316d49=>{const _0x2b1104=_0x230560;var _0x1dfbfe;if((_0x1dfbfe=_0x316d49[_0x2b1104(0x243)])!=null&&_0x1dfbfe[_0x2b1104(0x1c0)]){let {data:_0x34aa28,..._0x4ff3ec}=_0x316d49;return _0x4ff3ec;}if(_0x316d49['data']===void 0x0)return _0x316d49;let _0xc14f70=_0x538523(_0x316d49[_0x2b1104(0x20e)]),{data:_0x2e6df9,..._0x28c353}=_0x316d49;return{..._0x28c353,'dataArray':_0xc14f70};}),_0x2c2f39;}let z=class extends _0x17417a{constructor(_0x2d2bb6,_0x8f311,_0x2d0e68,_0x17fadb){const _0xd73dda=_0x37f47e;super(),this[_0xd73dda(0x1d2)]=_0x2d2bb6,this['_injector']=_0x8f311,this[_0xd73dda(0x247)]=_0x2d0e68,this[_0xd73dda(0x1bb)]=_0x17fadb;}[_0x37f47e(0x22a)](){return!0x1;}[_0x37f47e(0x1d8)](){const _0x5ce1a5=_0x37f47e;return this[_0x5ce1a5(0x1d2)][_0x5ce1a5(0x198)];}[_0x37f47e(0x1a4)](){const _0x318735=_0x37f47e;var _0x14be78;return(_0x14be78=this[_0x318735(0x238)]())==null?void 0x0:_0x14be78[_0x318735(0x1e5)];}[_0x37f47e(0x1d6)](_0x50452b){const _0xe07538=_0x37f47e;return this[_0xe07538(0x200)]({'name':_0x50452b});}['getDescription'](){const _0xaeea8e=_0x37f47e;var _0x427aa7;return(_0x427aa7=this[_0xaeea8e(0x238)]())==null?void 0x0:_0x427aa7[_0xaeea8e(0x23a)];}[_0x37f47e(0x22b)](_0x1d4747){const _0x4f5471=_0x37f47e;return this[_0x4f5471(0x200)]({'description':_0x1d4747});}[_0x37f47e(0x222)](){const _0x470c66=_0x37f47e;return this[_0x470c66(0x1d2)]['hostType'];}[_0x37f47e(0x1e6)](){const _0x2fa4e5=_0x37f47e;var _0x2cc95a;return((_0x2cc95a=this['_getSnapshot']())==null?void 0x0:_0x2cc95a[_0x2fa4e5(0x1d3)])??null;}['getShapeData'](){let _0x3be989=this['_getSnapshot']();return _0x3be989?_0x30cdfd['deepClone'](_0x3be989['shapeData']):null;}[_0x37f47e(0x1cd)](){const _0x1aaa46=_0x37f47e;let _0x1c147d=this[_0x1aaa46(0x238)]();return _0x1c147d?_0x30cdfd['deepClone'](_0x1c147d):null;}[_0x37f47e(0x207)](){const _0x43ebee=_0x37f47e;let _0x5cf1c1=this[_0x43ebee(0x238)]();return _0x5cf1c1?{..._0x5cf1c1[_0x43ebee(0x18e)]}:null;}[_0x37f47e(0x24c)](){const _0x1efd57=_0x37f47e;var _0x33bf06;return((_0x33bf06=this[_0x1efd57(0x238)]())==null?void 0x0:_0x33bf06[_0x1efd57(0x212)])??!0x1;}['setVisible'](_0x179402){const _0x52538f=_0x37f47e;return this[_0x52538f(0x200)]({'visible':_0x179402});}['isSelectable'](){const _0x382036=_0x37f47e;var _0xc94480;return((_0xc94480=this[_0x382036(0x238)]())==null?void 0x0:_0xc94480['selectable'])??!0x1;}[_0x37f47e(0x186)](_0x532a35){const _0x2f0253=_0x37f47e;return this[_0x2f0253(0x200)]({'selectable':_0x532a35});}[_0x37f47e(0x21e)](){const _0x1afa4a=_0x37f47e;return this['_injector'][_0x1afa4a(0x16f)](F,this[_0x1afa4a(0x1d2)],this[_0x1afa4a(0x1e0)]);}[_0x37f47e(0x225)](){const _0x379ac1=_0x37f47e;let _0x444cad=this['getShapeData']();return(_0x444cad==null?void 0x0:_0x444cad[_0x379ac1(0x1c7)])===!0x0&&!!_0x444cad['customGeometry'];}[_0x37f47e(0x17c)](){const _0x41d11e=_0x37f47e;var _0x1218f1;return((_0x1218f1=this[_0x41d11e(0x1eb)]())==null?void 0x0:_0x1218f1['customGeometry'])??null;}['setShapeType'](_0x181a94){const _0x60d316=_0x37f47e;return this[_0x60d316(0x1fd)](_0x2388ba=>({..._0x2388ba,'shapeType':_0x181a94}),_0x181a94);}['setShapeData'](_0x5b5faa){const _0x149695=_0x37f47e;let _0x22ce1e=_0x30cdfd[_0x149695(0x228)](_0x5b5faa);return this['update']({'shapeType':_0x22ce1e[_0x149695(0x1d3)],'shapeData':_0x22ce1e});}[_0x37f47e(0x249)](_0x44961e){const _0x1bf064=_0x37f47e;return this[_0x1bf064(0x200)]({'transform':_0x44961e});}[_0x37f47e(0x19e)](_0x560647,_0x3bf8bc){const _0x4445b8=_0x37f47e;return this[_0x4445b8(0x249)]({'width':_0x560647,'height':_0x3bf8bc});}[_0x37f47e(0x221)](_0x433285){return this['setTransform']({'rotation':_0x433285});}[_0x37f47e(0x22d)](_0x397698,_0x472ea6){return this['setTransform']({'left':_0x397698,'top':_0x472ea6});}['setCustomGeometry'](_0x46add4){const _0x3f4ce7=_0x37f47e;var _0x52dbdb,_0x2858db;let _0x527e6f=((_0x52dbdb=_0x46add4[_0x3f4ce7(0x1ed)])==null?void 0x0:_0x52dbdb[_0x3f4ce7(0x230)](({x:_0x405251,y:_0x588afb})=>_0x405251===void 0x0||_0x588afb===void 0x0))??-0x1;if(_0x527e6f>=0x0)return console['warn'](_0x3f4ce7(0x189)+_0x527e6f+_0x3f4ce7(0x19b)),this;let _0xa470a0=R(_0x46add4);if((_0x2858db=_0xa470a0[_0x3f4ce7(0x1ed)])!=null&&_0x2858db['length']){let _0xec6c6=this[_0x3f4ce7(0x238)]();if(!_0xec6c6)return this;try{let _0x2df6cc=new _0x312d54(_0xec6c6[_0x3f4ce7(0x1d3)],_0xec6c6[_0x3f4ce7(0x198)],{..._0xec6c6['shapeData'],'isCustom':!0x0,'customGeometry':_0xa470a0});_0x2df6cc[_0x3f4ce7(0x185)]({'width':_0xec6c6['transform'][_0x3f4ce7(0x1ec)],'height':_0xec6c6[_0x3f4ce7(0x18e)][_0x3f4ce7(0x21f)]}),_0x2df6cc[_0x3f4ce7(0x201)]();}catch{return console[_0x3f4ce7(0x209)](_0x3f4ce7(0x246)),this;}}return this[_0x3f4ce7(0x1fd)](_0x29335b=>({..._0x29335b,'isCustom':!0x0,'customGeometry':_0xa470a0}));}[_0x37f47e(0x187)](_0x5be5a0){const _0x2b61eb=_0x37f47e;return this[_0x2b61eb(0x176)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x5be5a0[_0x2b61eb(0x1ec)],'h':_0x5be5a0[_0x2b61eb(0x21f)],'fill':_0x5be5a0[_0x2b61eb(0x1af)],'stroke':_0x5be5a0[_0x2b61eb(0x226)],'data':_0x5be5a0[_0x2b61eb(0x227)]}]});}[_0x37f47e(0x1d9)](){const _0x11a53d=_0x37f47e;var _0x5ac81;return((_0x5ac81=this['_getGeometryModel']())==null?void 0x0:_0x5ac81[_0x11a53d(0x201)]()['map'](_0x2c8c23=>({..._0x2c8c23})))??[];}[_0x37f47e(0x19c)](){const _0xb618ed=_0x37f47e;var _0xaf7edf;let _0x1ab475=(_0xaf7edf=this[_0xb618ed(0x1a0)]())==null?void 0x0:_0xaf7edf[_0xb618ed(0x19c)]();return _0x1ab475?{..._0x1ab475}:null;}[_0x37f47e(0x188)](){const _0x1eadf5=_0x37f47e;var _0x27c76d;let _0x397e24=(_0x27c76d=this[_0x1eadf5(0x1a0)]())==null?void 0x0:_0x27c76d['getEndConnectInfo']();return _0x397e24?{..._0x397e24}:null;}['getAdjustHandles'](){const _0x122204=_0x37f47e;var _0x4baf8f;let _0x4f8664=this['_getGeometryModel'](),_0x2eaf3a=(_0x4f8664==null||(_0x4baf8f=_0x4f8664['getPresetShapeConfig']()['ahLst'])==null?void 0x0:_0x4baf8f[_0x122204(0x1c0)])??0x0;return!_0x4f8664||_0x2eaf3a===0x0?[]:Array[_0x122204(0x219)]({'length':_0x2eaf3a},(_0x5ee122,_0x4e5b3a)=>_0x4f8664[_0x122204(0x216)](_0x4e5b3a))['filter'](_0x35f791=>_0x35f791!==void 0x0)['map'](_0x33d316=>_0x30cdfd[_0x122204(0x228)](_0x33d316));}[_0x37f47e(0x20b)](_0x5675c8){const _0x4dbddc=_0x37f47e;let _0x1503ec=Object[_0x4dbddc(0x1da)](_0x5675c8);if(_0x1503ec['length']===0x0)return this;let _0x5d0b8e=this[_0x4dbddc(0x1a0)]();if(!_0x5d0b8e)return this;let _0x1c2c50=new Set(_0x5d0b8e[_0x4dbddc(0x1a5)]());for(let [_0x3513e7,_0x5c7c18]of _0x1503ec){if(!_0x1c2c50[_0x4dbddc(0x17d)](_0x3513e7))return console[_0x4dbddc(0x209)](_0x4dbddc(0x18d)+_0x3513e7+_0x4dbddc(0x1c4)),this;if(!Number[_0x4dbddc(0x245)](_0x5c7c18))return console[_0x4dbddc(0x209)](_0x4dbddc(0x18d)+_0x3513e7+_0x4dbddc(0x20d)),this;}let _0x35feda=Object[_0x4dbddc(0x1f6)](_0x1503ec[_0x4dbddc(0x1b0)](([_0x12e7b8,_0x4cbee9])=>[_0x12e7b8,_0x5d0b8e[_0x4dbddc(0x1b5)](_0x12e7b8,_0x4cbee9)]));return this[_0x4dbddc(0x1fd)](_0x55ad50=>({..._0x55ad50,'adjustValues':{..._0x55ad50[_0x4dbddc(0x1dd)],..._0x35feda}}));}['resetAdjustValues'](){const _0x5ecc55=_0x37f47e;let _0x181364=this[_0x5ecc55(0x1eb)]();return _0x181364!=null&&_0x181364[_0x5ecc55(0x1dd)]?(delete _0x181364[_0x5ecc55(0x1dd)],this[_0x5ecc55(0x200)]({'shapeData':_0x181364})):this;}[_0x37f47e(0x1d7)](_0xa005a9,_0x1f0ddf){const _0x302b1c=_0x37f47e;return this[_0x302b1c(0x1fd)](_0x4912eb=>({..._0x4912eb,'fill':{'fillType':_0x1e1d7b[_0x302b1c(0x17e)],'color':_0xa005a9,'opacity':_0x1f0ddf}}));}[_0x37f47e(0x234)](_0x4ea3a2,_0x16639d,_0x3a90d4){const _0x3cc21d=_0x37f47e;return _0x16639d[_0x3cc21d(0x1c0)]<0x2?(console['warn'](_0x3cc21d(0x1ce)),this):this[_0x3cc21d(0x1fd)](_0x19c186=>({..._0x19c186,'fill':{'fillType':_0x1e1d7b[_0x3cc21d(0x1cb)],'gradientType':_0x4ea3a2,'gradientStops':_0x30cdfd[_0x3cc21d(0x228)](_0x16639d),'gradientAngle':_0x3a90d4}}));}[_0x37f47e(0x1ba)](_0x141cc8,_0x1b26c1,_0x3c9702={}){const _0x432518=_0x37f47e;return this[_0x432518(0x1fd)](_0x237f78=>({..._0x237f78,'fill':{..._0x30cdfd['deepClone'](_0x3c9702),'fillType':_0x1e1d7b[_0x432518(0x172)],'fillImageSource':_0x141cc8,'fillImageSourceType':_0x1b26c1}}));}[_0x37f47e(0x1cc)](){const _0x15980f=_0x37f47e;return this[_0x15980f(0x1fd)](_0x3edc92=>({..._0x3edc92,'fill':{'fillType':_0x1e1d7b['NoFill']}}));}[_0x37f47e(0x1f4)](_0x27a387){const _0x19f51f=_0x37f47e;return this[_0x19f51f(0x1fd)](_0x772998=>({..._0x772998,'stroke':_0x30cdfd[_0x19f51f(0x228)](_0x27a387)}));}[_0x37f47e(0x175)](_0x1b4618){const _0xce0e1f=_0x37f47e;return this['_patchStroke'](_0x5ae4de=>({..._0x5ae4de,'color':_0x1b4618,'lineStrokeType':_0x5ae4de[_0xce0e1f(0x1a9)]===_0x2bc121[_0xce0e1f(0x1b3)]?_0x2bc121[_0xce0e1f(0x1fb)]:_0x5ae4de[_0xce0e1f(0x1a9)]}));}['setStrokeWidth'](_0x49f71c){const _0x3c09c8=_0x37f47e;return this[_0x3c09c8(0x168)](_0x38e317=>({..._0x38e317,'width':_0x49f71c,'lineStrokeType':_0x38e317[_0x3c09c8(0x1a9)]===_0x2bc121[_0x3c09c8(0x1b3)]?_0x2bc121['SolidLine']:_0x38e317[_0x3c09c8(0x1a9)]}));}[_0x37f47e(0x192)](_0x3a42f8){const _0x260753=_0x37f47e;return this[_0x260753(0x168)](_0x58b4b8=>({..._0x58b4b8,'opacity':_0x3a42f8}));}[_0x37f47e(0x1b8)](_0xb6bac8){const _0x2d50b8=_0x37f47e;return this[_0x2d50b8(0x168)](_0xd42db5=>({..._0xd42db5,'dashType':_0xb6bac8}));}[_0x37f47e(0x1e4)](_0x547a13){const _0x5038b6=_0x37f47e;return this[_0x5038b6(0x168)](_0x3451e0=>({..._0x3451e0,'lineJoinType':_0x547a13}));}[_0x37f47e(0x173)](_0x38901f){const _0x4a2217=_0x37f47e;return this[_0x4a2217(0x168)](_0x42343e=>({..._0x42343e,'capType':_0x38901f}));}[_0x37f47e(0x18c)](_0x4f7c0b){const _0x2780a2=_0x37f47e;return this[_0x2780a2(0x168)](_0x5e581b=>({..._0x5e581b,'lineStrokeType':_0x4f7c0b}));}[_0x37f47e(0x200)](_0x3069a6){const _0x3d8abd=_0x37f47e;var _0x3043ef;let _0x5a0b65=_0x3069a6[_0x3d8abd(0x1c9)],_0x129450=_0x5a0b65&&('relation'in _0x5a0b65||'points'in _0x5a0b65)?this[_0x3d8abd(0x1e6)]():null,_0x23b126=_0x3069a6['shapeType']??((_0x3043ef=_0x3069a6[_0x3d8abd(0x1c9)])==null?void 0x0:_0x3043ef[_0x3d8abd(0x1d3)])??_0x129450,_0x37e1cb=B(_0x3069a6,_0x23b126!==null&&_0x1ce78f(_0x23b126));return _0x37e1cb?(console[_0x3d8abd(0x209)](_0x3d8abd(0x1bd)+_0x37e1cb),this):(this['_mutate'](_0x3d8abd(0x200),_0x3e9e38=>_0x3e9e38[_0x3d8abd(0x210)](this[_0x3d8abd(0x1d2)],_0x3069a6)),this);}[_0x37f47e(0x1c5)](){const _0x5204c4=_0x37f47e;return this[_0x5204c4(0x1ee)]('remove',_0x3a71cc=>_0x3a71cc[_0x5204c4(0x1a7)](this[_0x5204c4(0x1d2)]));}[_0x37f47e(0x21a)](){const _0x591cc2=_0x37f47e;return this[_0x591cc2(0x1ee)]('bring\x20to\x20front',_0x26f816=>_0x26f816[_0x591cc2(0x21a)](this['_shapeRef'])),this;}[_0x37f47e(0x16d)](){const _0x5895db=_0x37f47e;return this[_0x5895db(0x1ee)]('bring\x20forward',_0x63f644=>_0x63f644['bringForward'](this[_0x5895db(0x1d2)])),this;}[_0x37f47e(0x1ca)](){const _0x4affdd=_0x37f47e;return this[_0x4affdd(0x1ee)](_0x4affdd(0x174),_0x5345c8=>_0x5345c8['sendBackward'](this[_0x4affdd(0x1d2)])),this;}[_0x37f47e(0x204)](){const _0x5ab8ec=_0x37f47e;return this[_0x5ab8ec(0x1ee)](_0x5ab8ec(0x1b6),_0x17d16f=>_0x17d16f[_0x5ab8ec(0x204)](this[_0x5ab8ec(0x1d2)])),this;}[_0x37f47e(0x1df)](){const _0x111c70=_0x37f47e;return this[_0x111c70(0x247)][_0x111c70(0x214)](this[_0x111c70(0x1d2)]['hostType']);}[_0x37f47e(0x1fd)](_0x3a9ceb,_0xe7595f){let _0x216615=this['getShapeData']();return _0x216615?this['update']({'shapeType':_0xe7595f,'shapeData':_0x3a9ceb(_0x216615)}):this;}[_0x37f47e(0x168)](_0x16485a){const _0x3c0775=_0x37f47e;return this[_0x3c0775(0x1fd)](_0x5a7184=>({..._0x5a7184,'stroke':_0x16485a(_0x5a7184['stroke']??{})}));}[_0x37f47e(0x238)](){const _0x5e7be6=_0x37f47e;let _0xc6b69a=this[_0x5e7be6(0x1df)]();if(!_0xc6b69a)return null;try{return _0xc6b69a[_0x5e7be6(0x23c)](this[_0x5e7be6(0x1d2)])||(console['warn'](_0x5e7be6(0x1d1)+this[_0x5e7be6(0x1d2)]['shapeId']+_0x5e7be6(0x203)),null);}catch(_0x5b71e7){return console[_0x5e7be6(0x209)](_0x5e7be6(0x211)+this[_0x5e7be6(0x1d2)][_0x5e7be6(0x198)]+'\x22.',_0x5b71e7),null;}}[_0x37f47e(0x1a0)](){const _0x586dc7=_0x37f47e;let _0x45e542=this[_0x586dc7(0x238)]();if(!_0x45e542)return null;try{let _0x35b85a=new _0x312d54(_0x45e542[_0x586dc7(0x1d3)],_0x45e542[_0x586dc7(0x198)],_0x30cdfd[_0x586dc7(0x228)](_0x45e542[_0x586dc7(0x1c9)]));return _0x35b85a[_0x586dc7(0x185)]({'width':_0x45e542[_0x586dc7(0x18e)][_0x586dc7(0x1ec)],'height':_0x45e542[_0x586dc7(0x18e)][_0x586dc7(0x21f)]}),_0x35b85a;}catch(_0x521c69){return console[_0x586dc7(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x586dc7(0x1d2)][_0x586dc7(0x198)]+'\x22.',_0x521c69),null;}}['_mutate'](_0x299c8f,_0x54b8bd){const _0x48473d=_0x37f47e;let _0xa4783=this[_0x48473d(0x1df)]();if(!_0xa4783)return!0x1;try{let _0x29a2d9=_0x54b8bd(_0xa4783);return _0x29a2d9||console[_0x48473d(0x209)](_0x48473d(0x1a3)+_0x299c8f+_0x48473d(0x1c8)+this['_shapeRef'][_0x48473d(0x198)]+'\x22.'),_0x29a2d9;}catch(_0x5afb93){return console[_0x48473d(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x299c8f+_0x48473d(0x1c8)+this[_0x48473d(0x1d2)][_0x48473d(0x198)]+'\x22.',_0x5afb93),!0x1;}}};z=L([I(0x2,_0x5646d7),I(0x3,_0x27ebba)],z);function B(_0x31d670,_0x5041be=!0x1){const _0xea71aa=_0x37f47e;for(let _0x18e367 of['visible',_0xea71aa(0x183)]){let _0x390b24=_0x31d670[_0x18e367];if(_0x390b24!==void 0x0&&typeof _0x390b24!=_0xea71aa(0x190))return'Shape\x20\x22'+_0x18e367+'\x22\x20must\x20be\x20boolean.';}let _0x5c6150=_0x31d670['transform'];if(_0x5c6150){for(let _0x3c096c of[_0xea71aa(0x23d),_0xea71aa(0x1fe),_0xea71aa(0x1ec),_0xea71aa(0x21f),_0xea71aa(0x217)]){let _0x45b08b=_0x5c6150[_0x3c096c];if(_0x45b08b!==void 0x0&&!Number['isFinite'](_0x45b08b))return _0xea71aa(0x1c2)+_0x3c096c+_0xea71aa(0x20d);}if(_0x5c6150['width']!==void 0x0&&_0x5c6150[_0xea71aa(0x1ec)]<=0x0)return _0xea71aa(0x17b);if(_0x5c6150[_0xea71aa(0x21f)]!==void 0x0&&_0x5c6150[_0xea71aa(0x21f)]<=0x0)return _0xea71aa(0x1e2);for(let _0x3f38dc of[_0xea71aa(0x191),_0xea71aa(0x24b)]){let _0x55bba2=_0x5c6150[_0x3f38dc];if(_0x55bba2!==void 0x0&&typeof _0x55bba2!=_0xea71aa(0x190))return _0xea71aa(0x1c2)+_0x3f38dc+_0xea71aa(0x1ae);}}let _0x1b7c0d=_0x31d670[_0xea71aa(0x1c9)];return!_0x5041be&&_0x1b7c0d&&(_0xea71aa(0x179)in _0x1b7c0d||'points'in _0x1b7c0d)?_0xea71aa(0x1f9):null;}var V=class extends z{[_0x37f47e(0x22a)](){return!0x0;}[_0x37f47e(0x195)](){const _0xcdcf6a=_0x37f47e;let _0x4690f4=this[_0xcdcf6a(0x1bc)]();return _0x4690f4?_0x30cdfd[_0xcdcf6a(0x228)](_0x4690f4[_0xcdcf6a(0x1ea)]):null;}[_0x37f47e(0x177)](){const _0xaed08b=_0x37f47e;let _0x791c8d=this[_0xaed08b(0x1bc)]();return _0x791c8d?_0x30cdfd[_0xaed08b(0x228)](_0x791c8d['end']):null;}[_0x37f47e(0x1b7)](){const _0xecd640=_0x37f47e;let _0x411870=this[_0xecd640(0x1bc)]();return _0x411870?_0x30cdfd[_0xecd640(0x228)](_0x411870['routePoints']):null;}[_0x37f47e(0x1a8)](){const _0x349d50=_0x37f47e;let _0x40b8f4=this[_0x349d50(0x1bc)]();return _0x40b8f4?_0x30cdfd['deepClone'](_0x40b8f4[_0x349d50(0x1b1)]):null;}[_0x37f47e(0x1f3)](){const _0x3c0060=_0x37f47e;let _0x29b9a7=this[_0x3c0060(0x1bc)]();return _0x29b9a7?_0x30cdfd[_0x3c0060(0x228)](_0x29b9a7['endArrow']):null;}[_0x37f47e(0x1b9)](_0x1fba43){const _0x44d385=_0x37f47e;return _0x1ce78f(_0x1fba43)?super[_0x44d385(0x1b9)](_0x1fba43):(console[_0x44d385(0x209)](_0x44d385(0x1ef)+this[_0x44d385(0x1d2)][_0x44d385(0x198)]+_0x44d385(0x181)),this);}['setShapeData'](_0x5141a0){const _0x43bc69=_0x37f47e;return _0x5141a0[_0x43bc69(0x1d3)]!==void 0x0&&!_0x1ce78f(_0x5141a0[_0x43bc69(0x1d3)])?(console[_0x43bc69(0x209)](_0x43bc69(0x1ef)+this[_0x43bc69(0x1d2)]['shapeId']+_0x43bc69(0x19f)),this):super[_0x43bc69(0x206)](_0x5141a0);}[_0x37f47e(0x22c)](_0x5ad556,_0x562549){const _0x16656a=_0x37f47e;return this[_0x16656a(0x180)](_0x16656a(0x1ea),_0x5ad556,_0x562549),this;}[_0x37f47e(0x16b)](_0x25090b,_0x13ba41){const _0x359f1a=_0x37f47e;return this[_0x359f1a(0x180)](_0x359f1a(0x193),_0x25090b,_0x13ba41),this;}[_0x37f47e(0x1aa)](){const _0x2a660f=_0x37f47e;return this[_0x2a660f(0x1fc)](_0x2a660f(0x1ab),_0x50eb1f=>_0x50eb1f[_0x2a660f(0x1aa)](this[_0x2a660f(0x1d2)])),this;}[_0x37f47e(0x240)](){const _0x603b80=_0x37f47e;return this[_0x603b80(0x1fc)](_0x603b80(0x184),_0x145051=>_0x145051[_0x603b80(0x240)](this[_0x603b80(0x1d2)])),this;}['setStartPoint'](_0x5550df){const _0x3d128e=_0x37f47e;return H(_0x5550df,this['_shapeRef'][_0x3d128e(0x198)])&&this[_0x3d128e(0x1fc)](_0x3d128e(0x178),_0x358a02=>_0x358a02[_0x3d128e(0x1b2)](this[_0x3d128e(0x1d2)],_0x5550df)),this;}[_0x37f47e(0x18a)](_0xe9260b){const _0x10eec6=_0x37f47e;return H(_0xe9260b,this[_0x10eec6(0x1d2)][_0x10eec6(0x198)])&&this[_0x10eec6(0x1fc)](_0x10eec6(0x1f0),_0x8e2cc7=>_0x8e2cc7['setEndPoint'](this[_0x10eec6(0x1d2)],_0xe9260b)),this;}[_0x37f47e(0x213)](_0x9abb0d){const _0x157fe3=_0x37f47e;return _0x9abb0d['every'](_0x166f9b=>H(_0x166f9b,this[_0x157fe3(0x1d2)][_0x157fe3(0x198)]))&&this[_0x157fe3(0x1fc)](_0x157fe3(0x215),_0x30ed0b=>_0x30ed0b[_0x157fe3(0x213)](this[_0x157fe3(0x1d2)],_0x9abb0d)),this;}['setStartArrow'](_0x3a9239,_0x27ecfc){const _0x38e909=_0x37f47e;return this[_0x38e909(0x1fc)]('set\x20start\x20arrow',_0x316e72=>_0x316e72['setStartArrow'](this[_0x38e909(0x1d2)],_0x3a9239,_0x27ecfc)),this;}[_0x37f47e(0x22f)](_0x3f86f8,_0x9fa10c){const _0x3e7c19=_0x37f47e;return this[_0x3e7c19(0x1fc)](_0x3e7c19(0x208),_0x2705c1=>_0x2705c1[_0x3e7c19(0x22f)](this['_shapeRef'],_0x3f86f8,_0x9fa10c)),this;}['_getConnectorAdapter'](){const _0x5defde=_0x37f47e;return this['_injector'][_0x5defde(0x214)](_0x2afe61);}[_0x37f47e(0x1bc)](){const _0x12be0b=_0x37f47e;let _0x581b75=this[_0x12be0b(0x169)]();if(!_0x581b75)return null;try{return _0x581b75[_0x12be0b(0x1db)](this['_shapeRef'])||(console[_0x12be0b(0x209)](_0x12be0b(0x1ef)+this[_0x12be0b(0x1d2)][_0x12be0b(0x198)]+_0x12be0b(0x203)),null);}catch(_0x948b1e){return console[_0x12be0b(0x209)](_0x12be0b(0x16e)+this[_0x12be0b(0x1d2)][_0x12be0b(0x198)]+'\x22.',_0x948b1e),null;}}[_0x37f47e(0x180)](_0x286b08,_0x193ec5,_0x40549d){const _0x4770fc=_0x37f47e;if(!_0x193ec5||!Number[_0x4770fc(0x24e)](_0x40549d)||_0x40549d<0x0)return console[_0x4770fc(0x209)](_0x4770fc(0x236)+this['_shapeRef'][_0x4770fc(0x198)]+_0x4770fc(0x239)),!0x1;let _0x38daeb={'shapeId':_0x193ec5,'cxnIndex':_0x40549d};return this[_0x4770fc(0x1fc)](_0x4770fc(0x1ad)+_0x286b08,_0xe53667=>_0x286b08===_0x4770fc(0x1ea)?_0xe53667[_0x4770fc(0x22c)](this[_0x4770fc(0x1d2)],_0x38daeb):_0xe53667[_0x4770fc(0x16b)](this[_0x4770fc(0x1d2)],_0x38daeb));}['_mutateConnector'](_0xc6edde,_0x451739){const _0x48a0de=_0x37f47e;let _0x2c7e75=this[_0x48a0de(0x169)]();if(!_0x2c7e75)return!0x1;try{let _0x2fa61b=_0x451739(_0x2c7e75);return _0x2fa61b||console[_0x48a0de(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0xc6edde+_0x48a0de(0x244)+this['_shapeRef'][_0x48a0de(0x198)]+'\x22.'),_0x2fa61b;}catch(_0x366dca){return console[_0x48a0de(0x209)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0xc6edde+_0x48a0de(0x244)+this[_0x48a0de(0x1d2)][_0x48a0de(0x198)]+'\x22.',_0x366dca),!0x1;}}};function H(_0x2e3504,_0x10be62){const _0x4c6e1b=_0x37f47e;return!Number[_0x4c6e1b(0x245)](_0x2e3504['x'])||!Number[_0x4c6e1b(0x245)](_0x2e3504['y'])?(console[_0x4c6e1b(0x209)](_0x4c6e1b(0x236)+_0x10be62+_0x4c6e1b(0x16a)),!0x1):!0x0;}export{V as FConnectorShape,z as FShape,F as FShapeText};
1
+ const _0x5187f9=_0x2354;(function(_0x132429,_0x270b4d){const _0x3a29c4=_0x2354,_0xa5db99=_0x132429();while(!![]){try{const _0x45903d=parseInt(_0x3a29c4(0x188))/0x1+parseInt(_0x3a29c4(0x14f))/0x2+parseInt(_0x3a29c4(0x11c))/0x3*(-parseInt(_0x3a29c4(0x111))/0x4)+parseInt(_0x3a29c4(0x17d))/0x5+-parseInt(_0x3a29c4(0x193))/0x6+parseInt(_0x3a29c4(0x1b8))/0x7+parseInt(_0x3a29c4(0x1a2))/0x8;if(_0x45903d===_0x270b4d)break;else _0xa5db99['push'](_0xa5db99['shift']());}catch(_0x24a2c1){_0xa5db99['push'](_0xa5db99['shift']());}}}(_0x5ab6,0x4dbc6));import{IConnectorShapeHostAdapter as _0x1243e9,IShapeHostAdapterRegistry as _0x47e23c,ImageFillModeEnum as _0x121f0e,ImageSourceTypeEnum as _0x2c8d98,ShapeArrowSizeEnum as _0x24ff2a,ShapeArrowTypeEnum as _0x20cd99,ShapeFillEnum as _0x1fb4b9,ShapeGradientTypeEnum as _0xaa746d,ShapeLineCapEnum as _0x1419cd,ShapeLineDashEnum as _0x37eb84,ShapeLineJoinEnum as _0x5f1b99,ShapeLineTypeEnum as _0x4718c5,ShapeModel as _0x3219d3,ShapeOperatorEnum as _0x5d1a76,ShapeTextAutoFitType as _0x2b325f,ShapeTextDirection as _0x476ca0,ShapeTextWrapType as _0x1ce573,ShapeTypeEnum as _0x500959,SmartArtOperationTypeEnum as _0x3804a8,applyRichTextToShapeText as _0x462808,applyShapeTextAlignment as _0x3b31a1,applyShapeTextBoxOptions as _0x9e1b50,applyShapeTextStyle as _0x2e8793,applyTextToShapeText as _0x4cc4c4,isConnectorShape as _0x519013,isSmartArtShapeData as _0x249936,parseSvgPathData as _0xe46730,resolveShapeTextBoxOptions as _0x575eb1,shapeTextToRichTextValue as _0x311af7}from'@univerjs-pro/engine-shape';import{FBase as _0x15bb35,FEnum as _0x499dd4}from'@univerjs/core/facade';import{BooleanNumber as _0x51c164,ICommandService as _0x34929b,Tools as _0x4bda5c}from'@univerjs/core';var P=class extends _0x499dd4{get[_0x5187f9(0x12d)](){return _0x500959;}get[_0x5187f9(0x19a)](){return _0x1fb4b9;}get[_0x5187f9(0x1f4)](){return _0xaa746d;}get[_0x5187f9(0x1f6)](){return _0x121f0e;}get[_0x5187f9(0x172)](){return _0x2c8d98;}get[_0x5187f9(0x19f)](){return _0x4718c5;}get[_0x5187f9(0x1f0)](){return _0x37eb84;}get[_0x5187f9(0x161)](){return _0x1419cd;}get[_0x5187f9(0x201)](){return _0x5f1b99;}get[_0x5187f9(0x195)](){return _0x5d1a76;}get['ShapeArrowTypeEnum'](){return _0x20cd99;}get[_0x5187f9(0x17c)](){return _0x24ff2a;}get['ShapeTextAutoFitType'](){return _0x2b325f;}get[_0x5187f9(0x1cf)](){return _0x476ca0;}get[_0x5187f9(0x1e8)](){return _0x1ce573;}};_0x499dd4[_0x5187f9(0x1bf)](P);function _0x5ab6(){const _0x580d25=['updateSmartArtNode','shapeText','relation','setBold','opacity','top','setVisible','picture','URL','adjustValues','data','_mutateConnector','setFontFamily','getEndConnectInfo','setRoutePoints','fromEntries','bring\x20forward','get','setSize','unbind\x20end','setEndPoint','setStartArrow','stretch','isSmartArt','bringForward','\x22\x20is\x20not\x20SmartArt.','fill','78992taRFiK','set\x20end\x20arrow','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','unitId','setTextStyle','mode','\x20Connector\x20Shape\x20\x22','color','isCustom','\x22\x20requires\x20Connector\x20Shape\x20data.','smartArt','radial','Shape\x20transform\x20\x22','Diamond','setStrokeLineDashType','setShapeData','_getAdapter','_updateShapeData','ShapeLineCapEnum','dataArray','setRichText','every','solid','\x22\x20does\x20not\x20exist.','flipY','pathLst','deleteSmartArtNode','promoteSmartArtNode','_mutate','PromoteNode','_getSnapshot','[Shape\x20Facade]:\x20Failed\x20to\x20','update','map','set\x20end\x20point','ShapeImageSourceTypeEnum','getHostType','setFontSize','visible','setTextBoxOptions','isConnectorShape','Radial','bring\x20to\x20front','getRoutePoints','scaleY','ShapeArrowSizeEnum','879805DIuzIT','setImageFill','height','setDescription','send\x20to\x20back','warn','getPresetShapeConfig','bindEnd','DeleteNode','set\x20route\x20points','points','406548WAWDLy','updateSmartArtPresentationShape','_commandService','set\x20start\x20point','transform','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','end','getAdjustHandles','removeShape','Angular','setStrokeLineType','3331896LNvTsy','linear','ShapeOperatorEnum','\x22\x20must\x20be\x20boolean.','width','_patchShapeData','bringToFront','ShapeFillEnum','none','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','SolidLine','setStrokeColor','ShapeLineTypeEnum','setRotation','pathData','990168TxrXfy','shapeType','lineStrokeType','gradient','Shape\x20\x22','getStartEndpoint','offsetY','setZOrder','decorate','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','selectable','getStartArrow','cxnLst','getSnapshot','Linear','getTextBoxOptions','_getShapeData','resetAdjustValues','_injector','\x22\x20was\x20not\x20found.','shapeData','setStrokeWidth','2655030usHfJl','\x22\x20must\x20be\x20finite.','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','filter','shapeId','setName','flipX','extend','NoFill','GradientFill','setItalic','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','setColor','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','setTransform','_getConnectorSnapshot','start','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','setAdjustValues','_getConnectorAdapter','createInstance','DemoteNode','PictureFill','ShapeTextDirection','getShape','targetNodeId','getRichText','getName','tile','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','ahLst','left','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','_shapeRef','setShapeType','deepClone','NoLine','getPlainText','[Shape\x20Facade]:\x20Shape\x20\x22','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','isFinite','_getGeometryModel','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','setStartPoint','getOwnPropertyDescriptor','updateContext','getAdjustNames','diamond','ShapeTextWrapType','moveSmartArtNode','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setStrikethrough','\x22\x20text.','_bind','description','ShapeLineDashEnum','isCustomShape','setSelectable','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','ShapeGradientTypeEnum','unbind\x20start','ShapeImageFillModeEnum','Replace','length','has','demoteSmartArtNode','defineProperty','stroke','remove','hostType','InsertNode','bindStart','ShapeLineJoinEnum','convertSmartArtToShapes','setEndArrow','[Shape\x20Facade]:\x20Failed\x20to\x20convert\x20SmartArt\x20Shape\x20\x22','scaleX','1472OHdDoM','object','updateShape','customGeometry','[Shape\x20Facade]:\x20The\x20current\x20Shape\x20host\x20cannot\x20convert\x20SmartArt\x20\x22','_shapeHostAdapterRegistry','TRUE','from','sendToBack','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','name','2049oKmvun','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','_patchStroke','setStrokeLineJoinType','setNoneFill','position','isInteger','getStartConnectInfo','getConnectionSiteList','FALSE','[Shape\x20Facade]:\x20Connector\x20\x22','angular','send\x20backward','\x20Shape\x20\x22','setStrokeLineCapType','unbindStart','setCustomGeometry','ShapeTypeEnum','getConnector','setSmartArtData','unbindEnd','_updateSmartArt','getShapeData','getCustomGeometry'];_0x5ab6=function(){return _0x580d25;};return _0x5ab6();}function F(_0xeed0c1){const _0x4ef4aa=_0x5187f9;switch(_0xeed0c1){case _0xaa746d[_0x4ef4aa(0x178)]:return _0x4ef4aa(0x15a);case _0xaa746d[_0x4ef4aa(0x191)]:return _0x4ef4aa(0x127);case _0xaa746d[_0x4ef4aa(0x15c)]:return _0x4ef4aa(0x1e7);case _0xaa746d[_0x4ef4aa(0x1b0)]:default:return _0x4ef4aa(0x194);}}function I(_0x4a5eca){const _0x2f6c31=_0x5187f9;return _0x4a5eca===_0x121f0e['Tile']?_0x2f6c31(0x1d4):_0x2f6c31(0x14a);}var L=class{constructor(_0x3ec39a,_0x426e5a){const _0x336f95=_0x5187f9;this[_0x336f95(0x1d9)]=_0x3ec39a,this[_0x336f95(0x1b4)]=_0x426e5a;}[_0x5187f9(0x1d2)](){const _0xf9cc8b=_0x5187f9;var _0x5a6673;return _0x311af7((_0x5a6673=this[_0xf9cc8b(0x1b2)]())==null?void 0x0:_0x5a6673[_0xf9cc8b(0x135)]);}[_0x5187f9(0x1dd)](){const _0x34054a=_0x5187f9;var _0x32c2d5;return((_0x32c2d5=this[_0x34054a(0x1d2)]())==null?void 0x0:_0x32c2d5['toPlainText']())??null;}[_0x5187f9(0x163)](_0x2c0fcc){const _0x1f96db=_0x5187f9;return this['_updateShapeData'](_0x1ef393=>({..._0x1ef393,'shapeText':_0x462808(_0x1ef393[_0x1f96db(0x135)],_0x2c0fcc)})),this;}['setText'](_0x41df56){const _0xed469d=_0x5187f9;return this[_0xed469d(0x160)](_0xa8cb89=>({..._0xa8cb89,'shapeText':_0x4cc4c4(_0xa8cb89[_0xed469d(0x135)],_0x41df56)})),this;}[_0x5187f9(0x153)](_0x2b7e8c){const _0x2cd4bd=_0x5187f9;return this['_updateShapeData'](_0x213eae=>({..._0x213eae,'shapeText':_0x2e8793(_0x213eae[_0x2cd4bd(0x135)],_0x2b7e8c)})),this;}[_0x5187f9(0x1c4)](_0x408882,_0x1e7e6d){const _0x1aad3e=_0x5187f9;return this[_0x1aad3e(0x153)]({'cl':{'rgb':_0x408882},'textFill':{'type':_0x1aad3e(0x165),'color':_0x408882,'opacity':_0x1e7e6d}});}[_0x5187f9(0x120)](){const _0x7356bd=_0x5187f9;return this[_0x7356bd(0x153)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x7356bd(0x19b)}});}['setGradientFill'](_0x415da5,_0x3db3fa,_0x98f31d){const _0x431e3d=_0x5187f9;return _0x3db3fa['length']<0x2?(console[_0x431e3d(0x182)](_0x431e3d(0x1ea)),this):this[_0x431e3d(0x153)]({'cl':{'rgb':_0x3db3fa[0x0][_0x431e3d(0x156)]},'textFill':{'type':_0x431e3d(0x1a5),'gradient':{'type':F(_0x415da5),'angle':_0x98f31d,'stops':_0x3db3fa[_0x431e3d(0x170)](({position:_0x179591,color:_0x303412,opacity:_0x14a814})=>({'offset':_0x179591,'color':_0x303412,'opacity':_0x14a814}))}}});}[_0x5187f9(0x17e)](_0x16d937,_0x12c755=_0x2c8d98[_0x5187f9(0x13c)],_0x137dec={}){const _0x5d480d=_0x5187f9;return this[_0x5d480d(0x153)]({'textFill':{'type':_0x5d480d(0x13b),'picture':{'source':_0x16d937,'sourceType':_0x12c755,'opacity':_0x137dec[_0x5d480d(0x138)],'mode':I(_0x137dec[_0x5d480d(0x154)]),'scaleX':_0x137dec[_0x5d480d(0x110)],'scaleY':_0x137dec[_0x5d480d(0x17b)],'offsetX':_0x137dec['offsetX'],'offsetY':_0x137dec[_0x5d480d(0x1a8)]}}});}[_0x5187f9(0x174)](_0x37a1fd){return this['setTextStyle']({'fs':_0x37a1fd});}[_0x5187f9(0x140)](_0x3de4ef){const _0x4b6259=_0x5187f9;return this[_0x4b6259(0x153)]({'ff':_0x3de4ef});}[_0x5187f9(0x137)](_0x2980ff){const _0x5d5a6e=_0x5187f9;return this[_0x5d5a6e(0x153)]({'bl':_0x2980ff?_0x51c164['TRUE']:_0x51c164[_0x5d5a6e(0x125)]});}[_0x5187f9(0x1c2)](_0x489c9d){const _0x45b1ea=_0x5187f9;return this[_0x45b1ea(0x153)]({'it':_0x489c9d?_0x51c164[_0x45b1ea(0x117)]:_0x51c164['FALSE']});}['setUnderline'](_0x1735ad){const _0x223707=_0x5187f9;return this[_0x223707(0x153)]({'ul':{'s':_0x1735ad?_0x51c164[_0x223707(0x117)]:_0x51c164[_0x223707(0x125)]}});}[_0x5187f9(0x1ec)](_0x563a48){const _0x36df90=_0x5187f9;return this['setTextStyle']({'st':{'s':_0x563a48?_0x51c164[_0x36df90(0x117)]:_0x51c164['FALSE']}});}['setHorizontalAlign'](_0x6a93f9){const _0x3788b3=_0x5187f9;return this[_0x3788b3(0x160)](_0x35434e=>_0x3b31a1(_0x35434e,{'horizontalAlign':_0x6a93f9})),this;}['setVerticalAlign'](_0x2b2d6c){const _0x5068b1=_0x5187f9;return this[_0x5068b1(0x160)](_0x151321=>_0x3b31a1(_0x151321,{'verticalAlign':_0x2b2d6c})),this;}[_0x5187f9(0x1b1)](){let _0x4fdc9a=this['_getShapeData']();return _0x4fdc9a?_0x575eb1(_0x4fdc9a):null;}[_0x5187f9(0x176)](_0x40741b){const _0x7494cb=_0x5187f9;return this[_0x7494cb(0x160)](_0xc39ea1=>_0x9e1b50(_0xc39ea1,_0x40741b)),this;}[_0x5187f9(0x15f)](){const _0xad8ab5=_0x5187f9;return this['_injector'][_0xad8ab5(0x145)](_0x47e23c)[_0xad8ab5(0x145)](this[_0xad8ab5(0x1d9)][_0xad8ab5(0x1fe)]);}[_0x5187f9(0x1b2)](){const _0x105703=_0x5187f9;let _0xa7da16=this[_0x105703(0x15f)]();if(!_0xa7da16)return null;try{var _0x74c186;return((_0x74c186=_0xa7da16[_0x105703(0x1d0)](this[_0x105703(0x1d9)]))==null?void 0x0:_0x74c186[_0x105703(0x1b6)])||(console[_0x105703(0x182)](_0x105703(0x151)+this['_shapeRef'][_0x105703(0x1bc)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0xbeab8){return console[_0x105703(0x182)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x105703(0x1d9)][_0x105703(0x1bc)]+'\x22\x20text.',_0xbeab8),null;}}[_0x5187f9(0x160)](_0x340874){const _0x536e29=_0x5187f9;let _0xb97244=this[_0x536e29(0x15f)]();if(!_0xb97244)return!0x1;try{var _0x1e4f54;let _0x292cec=(_0x1e4f54=_0xb97244[_0x536e29(0x1d0)](this[_0x536e29(0x1d9)]))==null?void 0x0:_0x1e4f54['shapeData'];if(!_0x292cec)return console[_0x536e29(0x182)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x536e29(0x1d9)][_0x536e29(0x1bc)]+'\x22\x20was\x20not\x20found.'),!0x1;let _0x451002=_0xb97244['updateShape'](this[_0x536e29(0x1d9)],{'shapeData':_0x340874(_0x292cec)});return _0x451002||console['warn'](_0x536e29(0x1c9)+this[_0x536e29(0x1d9)][_0x536e29(0x1bc)]+_0x536e29(0x1ed)),_0x451002;}catch(_0x51c8cb){return console[_0x536e29(0x182)](_0x536e29(0x1c9)+this[_0x536e29(0x1d9)][_0x536e29(0x1bc)]+'\x22\x20text.',_0x51c8cb),!0x1;}}};function R(_0x35c96e,_0x345f4f){return function(_0x3167ac,_0x5267dc){_0x345f4f(_0x3167ac,_0x5267dc,_0x35c96e);};}function z(_0x5e6bb3,_0xb13d17,_0x2edb4f,_0x1d77c2){const _0x3d010a=_0x5187f9;var _0x1485a7=arguments[_0x3d010a(0x1f8)],_0x1a1f64=_0x1485a7<0x3?_0xb13d17:_0x1d77c2===null?_0x1d77c2=Object[_0x3d010a(0x1e4)](_0xb13d17,_0x2edb4f):_0x1d77c2,_0x438f55;if(typeof Reflect==_0x3d010a(0x112)&&typeof Reflect[_0x3d010a(0x1aa)]=='function')_0x1a1f64=Reflect[_0x3d010a(0x1aa)](_0x5e6bb3,_0xb13d17,_0x2edb4f,_0x1d77c2);else{for(var _0x391f2d=_0x5e6bb3[_0x3d010a(0x1f8)]-0x1;_0x391f2d>=0x0;_0x391f2d--)(_0x438f55=_0x5e6bb3[_0x391f2d])&&(_0x1a1f64=(_0x1485a7<0x3?_0x438f55(_0x1a1f64):_0x1485a7>0x3?_0x438f55(_0xb13d17,_0x2edb4f,_0x1a1f64):_0x438f55(_0xb13d17,_0x2edb4f))||_0x1a1f64);}return _0x1485a7>0x3&&_0x1a1f64&&Object[_0x3d010a(0x1fb)](_0xb13d17,_0x2edb4f,_0x1a1f64),_0x1a1f64;}var B;function V(_0x723d43){const _0x1e9d06=_0x5187f9;let _0x16cbc2=_0x4bda5c['deepClone'](_0x723d43);return _0x16cbc2[_0x1e9d06(0x168)]&&=_0x16cbc2[_0x1e9d06(0x168)][_0x1e9d06(0x170)](_0x5ea2e3=>{const _0x317024=_0x1e9d06;var _0x2ecd86;if((_0x2ecd86=_0x5ea2e3[_0x317024(0x162)])!=null&&_0x2ecd86[_0x317024(0x1f8)]){let {data:_0x2e9e43,..._0x2b779e}=_0x5ea2e3;return _0x2b779e;}if(_0x5ea2e3[_0x317024(0x13e)]===void 0x0)return _0x5ea2e3;let _0x4c75e4=_0xe46730(_0x5ea2e3[_0x317024(0x13e)]),{data:_0x3ca5d7,..._0x31a3ee}=_0x5ea2e3;return{..._0x31a3ee,'dataArray':_0x4c75e4};}),_0x16cbc2;}let H=B=class extends _0x15bb35{constructor(_0x54851e,_0xaa988c,_0x348ac4,_0x2d50c6){const _0x526573=_0x5187f9;super(),this[_0x526573(0x1d9)]=_0x54851e,this[_0x526573(0x1b4)]=_0xaa988c,this[_0x526573(0x116)]=_0x348ac4,this[_0x526573(0x18a)]=_0x2d50c6;}[_0x5187f9(0x177)](){return!0x1;}['getId'](){return this['_shapeRef']['shapeId'];}[_0x5187f9(0x1d3)](){const _0x201eb9=_0x5187f9;var _0x58f95e;return(_0x58f95e=this[_0x201eb9(0x16d)]())==null?void 0x0:_0x58f95e[_0x201eb9(0x11b)];}[_0x5187f9(0x1bd)](_0x3baf81){const _0x8823ba=_0x5187f9;return this[_0x8823ba(0x16f)]({'name':_0x3baf81});}['getDescription'](){const _0x183c18=_0x5187f9;var _0x45a4cc;return(_0x45a4cc=this[_0x183c18(0x16d)]())==null?void 0x0:_0x45a4cc[_0x183c18(0x1ef)];}[_0x5187f9(0x180)](_0x429708){const _0x7cdced=_0x5187f9;return this[_0x7cdced(0x16f)]({'description':_0x429708});}[_0x5187f9(0x173)](){const _0x391a5b=_0x5187f9;return this[_0x391a5b(0x1d9)][_0x391a5b(0x1fe)];}['getShapeType'](){const _0x2f4aef=_0x5187f9;var _0x5c646e;return((_0x5c646e=this['_getSnapshot']())==null?void 0x0:_0x5c646e[_0x2f4aef(0x1a3)])??null;}[_0x5187f9(0x132)](){const _0x418aba=_0x5187f9;let _0x4aa5d9=this[_0x418aba(0x16d)]();return _0x4aa5d9?_0x4bda5c[_0x418aba(0x1db)](_0x4aa5d9['shapeData']):null;}[_0x5187f9(0x14b)](){const _0x186ba2=_0x5187f9;var _0x1e5340;let _0x15f7f9=(_0x1e5340=this[_0x186ba2(0x16d)]())==null?void 0x0:_0x1e5340['shapeData'];return!!_0x15f7f9&&_0x249936(_0x15f7f9);}['getSmartArtData'](){const _0x4e88c0=_0x5187f9;var _0x2ece1e;let _0x2797ba=(_0x2ece1e=this['_getSnapshot']())==null?void 0x0:_0x2ece1e[_0x4e88c0(0x1b6)];return _0x2797ba&&_0x249936(_0x2797ba)?_0x4bda5c[_0x4e88c0(0x1db)](_0x2797ba[_0x4e88c0(0x159)]):null;}[_0x5187f9(0x12f)](_0x2d1ba6){const _0x53ecd6=_0x5187f9;return this[_0x53ecd6(0x131)]({'type':_0x3804a8[_0x53ecd6(0x1f7)],'data':_0x4bda5c['deepClone'](_0x2d1ba6)});}['insertSmartArtNode'](_0x495101){const _0x5ad175=_0x5187f9;return this[_0x5ad175(0x131)]({'type':_0x3804a8[_0x5ad175(0x1ff)],'nodeId':_0x495101['node']['id'],'node':_0x4bda5c[_0x5ad175(0x1db)](_0x495101['node']),'targetNodeId':_0x495101[_0x5ad175(0x1d1)],'position':_0x495101[_0x5ad175(0x121)]});}[_0x5187f9(0x169)](_0x2877ee){const _0x5df2f8=_0x5187f9;return this[_0x5df2f8(0x131)]({'type':_0x3804a8[_0x5df2f8(0x185)],'nodeId':_0x2877ee});}[_0x5187f9(0x1e9)](_0x4c6ed4){const _0x569d67=_0x5187f9;return this[_0x569d67(0x131)]({'type':_0x3804a8['MoveNode'],..._0x4c6ed4});}[_0x5187f9(0x16a)](_0x3ca266){const _0x5c1fc7=_0x5187f9;return this[_0x5c1fc7(0x131)]({'type':_0x3804a8[_0x5c1fc7(0x16c)],'nodeId':_0x3ca266});}[_0x5187f9(0x1fa)](_0x2f5694){const _0x55325f=_0x5187f9;return this[_0x55325f(0x131)]({'type':_0x3804a8[_0x55325f(0x1cd)],'nodeId':_0x2f5694});}[_0x5187f9(0x134)](_0x55abbb,_0x263c80){const _0x139f3b=_0x5187f9;return this[_0x139f3b(0x131)]({'type':_0x3804a8['UpdateNode'],'nodeId':_0x55abbb,'update':_0x4bda5c['deepClone'](_0x263c80)});}['setSmartArtDirection'](_0x1776e3){const _0x3ef815=_0x5187f9;return this[_0x3ef815(0x131)]({'type':_0x3804a8['SetDirection'],'direction':_0x1776e3});}['setSmartArtLayout'](_0x223fdd){const _0x436124=_0x5187f9;return this[_0x436124(0x131)]({'type':_0x3804a8['SetLayout'],'layoutId':_0x223fdd});}[_0x5187f9(0x189)](_0x3f1939,_0x89b108){const _0x4b6254=_0x5187f9;return this[_0x4b6254(0x131)]({'type':_0x3804a8['UpdatePresentationShape'],'presentationShapeId':_0x3f1939,'update':_0x4bda5c['deepClone'](_0x89b108)});}['convertSmartArtToShapes'](){const _0x480ef3=_0x5187f9;let _0xd73c83=this['_getAdapter']();if(!(_0xd73c83!=null&&_0xd73c83[_0x480ef3(0x10d)]))return console[_0x480ef3(0x182)](_0x480ef3(0x115)+this[_0x480ef3(0x1d9)][_0x480ef3(0x1bc)]+'\x22.'),[];try{let _0x2d737e=_0xd73c83['convertSmartArtToShapes'](this['_shapeRef']);return _0x2d737e?_0x2d737e[_0x480ef3(0x170)](_0xeeb06=>this[_0x480ef3(0x1b4)][_0x480ef3(0x1cc)](B,{'hostType':_0xeeb06[_0x480ef3(0x1fe)],'unitId':_0xeeb06[_0x480ef3(0x152)],'subUnitId':_0xeeb06['subUnitId'],'shapeId':_0xeeb06[_0x480ef3(0x1bc)]},this['_injector'])):(console[_0x480ef3(0x182)](_0x480ef3(0x10f)+this[_0x480ef3(0x1d9)][_0x480ef3(0x1bc)]+'\x22.'),[]);}catch(_0x2be4ab){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20convert\x20SmartArt\x20Shape\x20\x22'+this[_0x480ef3(0x1d9)]['shapeId']+'\x22.',_0x2be4ab),[];}}[_0x5187f9(0x1af)](){const _0x1fe6f3=_0x5187f9;let _0xa2519d=this['_getSnapshot']();return _0xa2519d?_0x4bda5c[_0x1fe6f3(0x1db)](_0xa2519d):null;}['getTransform'](){const _0x58773e=_0x5187f9;let _0x17ed8e=this['_getSnapshot']();return _0x17ed8e?{..._0x17ed8e[_0x58773e(0x18c)]}:null;}['isVisible'](){const _0x58adf3=_0x5187f9;var _0x3ca692;return((_0x3ca692=this[_0x58adf3(0x16d)]())==null?void 0x0:_0x3ca692[_0x58adf3(0x175)])??!0x1;}[_0x5187f9(0x13a)](_0x429972){const _0x16f26e=_0x5187f9;return this[_0x16f26e(0x16f)]({'visible':_0x429972});}['isSelectable'](){const _0x47ff3b=_0x5187f9;var _0x5a8424;return((_0x5a8424=this['_getSnapshot']())==null?void 0x0:_0x5a8424[_0x47ff3b(0x1ac)])??!0x1;}[_0x5187f9(0x1f2)](_0x22dda8){const _0x2e5714=_0x5187f9;return this[_0x2e5714(0x16f)]({'selectable':_0x22dda8});}['getText'](){const _0x551e45=_0x5187f9;return this['_injector'][_0x551e45(0x1cc)](L,this[_0x551e45(0x1d9)],this[_0x551e45(0x1b4)]);}[_0x5187f9(0x1f1)](){const _0x5dde56=_0x5187f9;let _0x46ffa2=this[_0x5dde56(0x132)]();return(_0x46ffa2==null?void 0x0:_0x46ffa2[_0x5dde56(0x157)])===!0x0&&!!_0x46ffa2[_0x5dde56(0x114)];}[_0x5187f9(0x133)](){const _0x1b2d3f=_0x5187f9;var _0x1e8c5b;return((_0x1e8c5b=this['getShapeData']())==null?void 0x0:_0x1e8c5b[_0x1b2d3f(0x114)])??null;}['setShapeType'](_0x2df1ec){const _0x5e1e57=_0x5187f9;return this[_0x5e1e57(0x198)](_0x2e8206=>({..._0x2e8206,'shapeType':_0x2df1ec}),_0x2df1ec);}[_0x5187f9(0x15e)](_0x4a7cb4){const _0x5c3a14=_0x5187f9;let _0x5a8d39=_0x4bda5c[_0x5c3a14(0x1db)](_0x4a7cb4);return this[_0x5c3a14(0x16f)]({'shapeType':_0x5a8d39[_0x5c3a14(0x1a3)],'shapeData':_0x5a8d39});}['setTransform'](_0x1e0868){const _0x2dc64d=_0x5187f9;return this[_0x2dc64d(0x16f)]({'transform':_0x1e0868});}[_0x5187f9(0x146)](_0x5e2944,_0x55ebf7){const _0x156570=_0x5187f9;return this[_0x156570(0x1c6)]({'width':_0x5e2944,'height':_0x55ebf7});}[_0x5187f9(0x1a0)](_0x40f720){const _0x40d2a4=_0x5187f9;return this[_0x40d2a4(0x1c6)]({'rotation':_0x40f720});}['setAbsolutePosition'](_0x498442,_0x59977e){return this['setTransform']({'left':_0x498442,'top':_0x59977e});}[_0x5187f9(0x12c)](_0x25442f){const _0x22221=_0x5187f9;var _0x161685,_0x2064cf;let _0x441986=((_0x161685=_0x25442f['cxnLst'])==null?void 0x0:_0x161685['findIndex'](({x:_0x1d3cc1,y:_0x374467})=>_0x1d3cc1===void 0x0||_0x374467===void 0x0))??-0x1;if(_0x441986>=0x0)return console[_0x22221(0x182)]('[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20'+_0x441986+_0x22221(0x1c5)),this;let _0x4c576b=V(_0x25442f);if((_0x2064cf=_0x4c576b[_0x22221(0x1ae)])!=null&&_0x2064cf['length']){let _0x2d8fe1=this[_0x22221(0x16d)]();if(!_0x2d8fe1)return this;try{let _0xc5f390=new _0x3219d3(_0x2d8fe1[_0x22221(0x1a3)],_0x2d8fe1['shapeId'],{..._0x2d8fe1['shapeData'],'isCustom':!0x0,'customGeometry':_0x4c576b});_0xc5f390[_0x22221(0x1e5)]({'width':_0x2d8fe1[_0x22221(0x18c)][_0x22221(0x197)],'height':_0x2d8fe1[_0x22221(0x18c)]['height']}),_0xc5f390[_0x22221(0x124)]();}catch{return console[_0x22221(0x182)](_0x22221(0x1d5)),this;}}return this[_0x22221(0x198)](_0x59231f=>({..._0x59231f,'isCustom':!0x0,'customGeometry':_0x4c576b}));}['setCustomGeometryFromSvgPath'](_0x27470e){const _0x5db485=_0x5187f9;return this['setCustomGeometry']({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x27470e[_0x5db485(0x197)],'h':_0x27470e[_0x5db485(0x17f)],'fill':_0x27470e[_0x5db485(0x14e)],'stroke':_0x27470e[_0x5db485(0x1fc)],'data':_0x27470e[_0x5db485(0x1a1)]}]});}['getConnectionSites'](){const _0x18342b=_0x5187f9;var _0x1be0df;return((_0x1be0df=this['_getGeometryModel']())==null?void 0x0:_0x1be0df[_0x18342b(0x124)]()['map'](_0x4c00dd=>({..._0x4c00dd})))??[];}[_0x5187f9(0x123)](){const _0x245551=_0x5187f9;var _0x1bdd7f;let _0x39d94d=(_0x1bdd7f=this['_getGeometryModel']())==null?void 0x0:_0x1bdd7f[_0x245551(0x123)]();return _0x39d94d?{..._0x39d94d}:null;}['getEndConnectInfo'](){const _0x488cab=_0x5187f9;var _0x3bfdf5;let _0x23907d=(_0x3bfdf5=this[_0x488cab(0x1e1)]())==null?void 0x0:_0x3bfdf5[_0x488cab(0x141)]();return _0x23907d?{..._0x23907d}:null;}[_0x5187f9(0x18f)](){const _0x782839=_0x5187f9;var _0x10a12d;let _0x5bcb3a=this[_0x782839(0x1e1)](),_0x52e630=(_0x5bcb3a==null||(_0x10a12d=_0x5bcb3a[_0x782839(0x183)]()[_0x782839(0x1d6)])==null?void 0x0:_0x10a12d[_0x782839(0x1f8)])??0x0;return!_0x5bcb3a||_0x52e630===0x0?[]:Array[_0x782839(0x118)]({'length':_0x52e630},(_0x1428d7,_0x336568)=>_0x5bcb3a['getAdjustInfo'](_0x336568))[_0x782839(0x1bb)](_0x3fbaa7=>_0x3fbaa7!==void 0x0)[_0x782839(0x170)](_0x4e27e4=>_0x4bda5c[_0x782839(0x1db)](_0x4e27e4));}[_0x5187f9(0x1ca)](_0x20accd){const _0x935245=_0x5187f9;let _0x3a0e8e=Object['entries'](_0x20accd);if(_0x3a0e8e[_0x935245(0x1f8)]===0x0)return this;let _0x3851e7=this['_getGeometryModel']();if(!_0x3851e7)return this;let _0x1aa25c=new Set(_0x3851e7[_0x935245(0x1e6)]());for(let [_0x40f2be,_0x4a5edb]of _0x3a0e8e){if(!_0x1aa25c[_0x935245(0x1f9)](_0x40f2be))return console[_0x935245(0x182)](_0x935245(0x1c3)+_0x40f2be+_0x935245(0x166)),this;if(!Number[_0x935245(0x1e0)](_0x4a5edb))return console[_0x935245(0x182)](_0x935245(0x1c3)+_0x40f2be+_0x935245(0x1b9)),this;}let _0x2192da=Object[_0x935245(0x143)](_0x3a0e8e[_0x935245(0x170)](([_0x31177f,_0x3a8680])=>[_0x31177f,_0x3851e7['setAdjustValueByName'](_0x31177f,_0x3a8680)]));return this['_patchShapeData'](_0x174b3c=>({..._0x174b3c,'adjustValues':{..._0x174b3c[_0x935245(0x13d)],..._0x2192da}}));}[_0x5187f9(0x1b3)](){const _0x2f3968=_0x5187f9;let _0x43fe83=this['getShapeData']();return _0x43fe83!=null&&_0x43fe83[_0x2f3968(0x13d)]?(delete _0x43fe83[_0x2f3968(0x13d)],this[_0x2f3968(0x16f)]({'shapeData':_0x43fe83})):this;}['setSolidFill'](_0x5b250b,_0x14a13a){return this['_patchShapeData'](_0x157a0d=>({..._0x157a0d,'fill':{'fillType':_0x1fb4b9['SolidFill'],'color':_0x5b250b,'opacity':_0x14a13a}}));}['setGradientFill'](_0x44cb53,_0xf03bf1,_0x352626){const _0x3e6a55=_0x5187f9;return _0xf03bf1['length']<0x2?(console['warn'](_0x3e6a55(0x1eb)),this):this[_0x3e6a55(0x198)](_0x124692=>({..._0x124692,'fill':{'fillType':_0x1fb4b9[_0x3e6a55(0x1c1)],'gradientType':_0x44cb53,'gradientStops':_0x4bda5c[_0x3e6a55(0x1db)](_0xf03bf1),'gradientAngle':_0x352626}}));}[_0x5187f9(0x17e)](_0x33607e,_0x49b6c0,_0x1150c9={}){const _0x17b7a0=_0x5187f9;return this['_patchShapeData'](_0x1a4ae2=>({..._0x1a4ae2,'fill':{..._0x4bda5c[_0x17b7a0(0x1db)](_0x1150c9),'fillType':_0x1fb4b9[_0x17b7a0(0x1ce)],'fillImageSource':_0x33607e,'fillImageSourceType':_0x49b6c0}}));}[_0x5187f9(0x120)](){const _0x3a7f73=_0x5187f9;return this[_0x3a7f73(0x198)](_0x1b8bdd=>({..._0x1b8bdd,'fill':{'fillType':_0x1fb4b9[_0x3a7f73(0x1c0)]}}));}['setStroke'](_0xb117dc){const _0x4c1262=_0x5187f9;return this[_0x4c1262(0x198)](_0x5338df=>({..._0x5338df,'stroke':_0x4bda5c[_0x4c1262(0x1db)](_0xb117dc)}));}[_0x5187f9(0x19e)](_0x38d844){const _0x1dc8b0=_0x5187f9;return this[_0x1dc8b0(0x11e)](_0x3fbe35=>({..._0x3fbe35,'color':_0x38d844,'lineStrokeType':_0x3fbe35[_0x1dc8b0(0x1a4)]===_0x4718c5[_0x1dc8b0(0x1dc)]?_0x4718c5[_0x1dc8b0(0x19d)]:_0x3fbe35[_0x1dc8b0(0x1a4)]}));}[_0x5187f9(0x1b7)](_0x2c0edc){const _0x1a4d0a=_0x5187f9;return this[_0x1a4d0a(0x11e)](_0x1ea8d8=>({..._0x1ea8d8,'width':_0x2c0edc,'lineStrokeType':_0x1ea8d8[_0x1a4d0a(0x1a4)]===_0x4718c5[_0x1a4d0a(0x1dc)]?_0x4718c5[_0x1a4d0a(0x19d)]:_0x1ea8d8['lineStrokeType']}));}['setStrokeOpacity'](_0x4627e7){const _0x940736=_0x5187f9;return this[_0x940736(0x11e)](_0x7dfe90=>({..._0x7dfe90,'opacity':_0x4627e7}));}[_0x5187f9(0x15d)](_0x58fccf){const _0x2b9042=_0x5187f9;return this[_0x2b9042(0x11e)](_0x5827f8=>({..._0x5827f8,'dashType':_0x58fccf}));}[_0x5187f9(0x11f)](_0x3fff23){return this['_patchStroke'](_0x32b829=>({..._0x32b829,'lineJoinType':_0x3fff23}));}[_0x5187f9(0x12a)](_0x5d14bd){const _0x34c4d0=_0x5187f9;return this[_0x34c4d0(0x11e)](_0x3ca877=>({..._0x3ca877,'capType':_0x5d14bd}));}[_0x5187f9(0x192)](_0x16b10e){const _0x271be3=_0x5187f9;return this[_0x271be3(0x11e)](_0x8adb58=>({..._0x8adb58,'lineStrokeType':_0x16b10e}));}['update'](_0x3a1c48){const _0x456946=_0x5187f9;var _0x322b05;let _0x5a42f1=_0x3a1c48['shapeData'],_0x420e60=_0x5a42f1&&(_0x456946(0x136)in _0x5a42f1||_0x456946(0x187)in _0x5a42f1)?this['getShapeType']():null,_0xed046=_0x3a1c48[_0x456946(0x1a3)]??((_0x322b05=_0x3a1c48[_0x456946(0x1b6)])==null?void 0x0:_0x322b05[_0x456946(0x1a3)])??_0x420e60,_0x2c4677=U(_0x3a1c48,_0xed046!==null&&_0x519013(_0xed046));return _0x2c4677?(console[_0x456946(0x182)]('[Shape\x20Facade]:\x20'+_0x2c4677),this):(this[_0x456946(0x16b)](_0x456946(0x16f),_0x42d9bd=>_0x42d9bd[_0x456946(0x113)](this['_shapeRef'],_0x3a1c48)),this);}['remove'](){const _0x52ce03=_0x5187f9;return this[_0x52ce03(0x16b)](_0x52ce03(0x1fd),_0x865f12=>_0x865f12[_0x52ce03(0x190)](this[_0x52ce03(0x1d9)]));}[_0x5187f9(0x199)](){const _0x33571d=_0x5187f9;return this['_mutate'](_0x33571d(0x179),_0x17bfad=>_0x17bfad[_0x33571d(0x199)](this[_0x33571d(0x1d9)])),this;}[_0x5187f9(0x14c)](){const _0x5e3abc=_0x5187f9;return this[_0x5e3abc(0x16b)](_0x5e3abc(0x144),_0x1160e0=>_0x1160e0['bringForward'](this[_0x5e3abc(0x1d9)])),this;}['sendBackward'](){const _0x16f33d=_0x5187f9;return this[_0x16f33d(0x16b)](_0x16f33d(0x128),_0x554eae=>_0x554eae['sendBackward'](this[_0x16f33d(0x1d9)])),this;}[_0x5187f9(0x119)](){const _0x5ec25c=_0x5187f9;return this[_0x5ec25c(0x16b)](_0x5ec25c(0x181),_0xb61437=>_0xb61437['sendToBack'](this['_shapeRef'])),this;}[_0x5187f9(0x1a9)](_0x4f69f7){const _0xf7b658=_0x5187f9;return this[_0xf7b658(0x16b)]('set\x20z-order',_0x144237=>_0x144237[_0xf7b658(0x1a9)](this[_0xf7b658(0x1d9)],_0x4f69f7)),this;}[_0x5187f9(0x15f)](){const _0x11ddc7=_0x5187f9;return this[_0x11ddc7(0x116)]['get'](this[_0x11ddc7(0x1d9)][_0x11ddc7(0x1fe)]);}[_0x5187f9(0x198)](_0x5bc08a,_0x209f82){const _0x2bf969=_0x5187f9;let _0x577e35=this[_0x2bf969(0x132)]();return _0x577e35?this[_0x2bf969(0x16f)]({'shapeType':_0x209f82,'shapeData':_0x5bc08a(_0x577e35)}):this;}[_0x5187f9(0x131)](..._0x55eeca){const _0x576206=_0x5187f9;let _0x21025e=this['_getAdapter']();return!_0x21025e||!this['isSmartArt']()?(console['warn'](_0x576206(0x1de)+this['_shapeRef'][_0x576206(0x1bc)]+_0x576206(0x14d)),this):(_0x21025e[_0x576206(0x113)](this[_0x576206(0x1d9)],{'smartArtOperations':_0x55eeca})||console[_0x576206(0x182)]('[Shape\x20Facade]:\x20Failed\x20to\x20update\x20SmartArt\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+'\x22.'),this);}['_patchStroke'](_0x4e5985){const _0x58a8d2=_0x5187f9;return this[_0x58a8d2(0x198)](_0x21a2c0=>({..._0x21a2c0,'stroke':_0x4e5985(_0x21a2c0['stroke']??{})}));}[_0x5187f9(0x16d)](){const _0x21cc33=_0x5187f9;let _0xc4a47=this['_getAdapter']();if(!_0xc4a47)return null;try{return _0xc4a47[_0x21cc33(0x1d0)](this['_shapeRef'])||(console[_0x21cc33(0x182)](_0x21cc33(0x1de)+this[_0x21cc33(0x1d9)][_0x21cc33(0x1bc)]+_0x21cc33(0x1b5)),null);}catch(_0x4a3cbd){return console[_0x21cc33(0x182)](_0x21cc33(0x11a)+this[_0x21cc33(0x1d9)][_0x21cc33(0x1bc)]+'\x22.',_0x4a3cbd),null;}}['_getGeometryModel'](){const _0x361aac=_0x5187f9;let _0x4ec263=this['_getSnapshot']();if(!_0x4ec263)return null;try{let _0x1a3b06=new _0x3219d3(_0x4ec263[_0x361aac(0x1a3)],_0x4ec263[_0x361aac(0x1bc)],_0x4bda5c[_0x361aac(0x1db)](_0x4ec263[_0x361aac(0x1b6)]));return _0x1a3b06['updateContext']({'width':_0x4ec263[_0x361aac(0x18c)][_0x361aac(0x197)],'height':_0x4ec263[_0x361aac(0x18c)][_0x361aac(0x17f)]}),_0x1a3b06;}catch(_0x245305){return console['warn'](_0x361aac(0x1f3)+this[_0x361aac(0x1d9)]['shapeId']+'\x22.',_0x245305),null;}}[_0x5187f9(0x16b)](_0x3c9e37,_0x1d48cb){const _0x1efa6e=_0x5187f9;let _0x21d570=this[_0x1efa6e(0x15f)]();if(!_0x21d570)return!0x1;try{let _0x1a130c=_0x1d48cb(_0x21d570);return _0x1a130c||console['warn'](_0x1efa6e(0x16e)+_0x3c9e37+_0x1efa6e(0x129)+this[_0x1efa6e(0x1d9)][_0x1efa6e(0x1bc)]+'\x22.'),_0x1a130c;}catch(_0x2aad82){return console[_0x1efa6e(0x182)](_0x1efa6e(0x16e)+_0x3c9e37+'\x20Shape\x20\x22'+this[_0x1efa6e(0x1d9)][_0x1efa6e(0x1bc)]+'\x22.',_0x2aad82),!0x1;}}};H=B=z([R(0x2,_0x47e23c),R(0x3,_0x34929b)],H);function U(_0x4aec84,_0x5bb96d=!0x1){const _0x308126=_0x5187f9;for(let _0x2bff68 of['visible',_0x308126(0x1ac)]){let _0x3aa99d=_0x4aec84[_0x2bff68];if(_0x3aa99d!==void 0x0&&typeof _0x3aa99d!='boolean')return _0x308126(0x1a6)+_0x2bff68+_0x308126(0x196);}let _0x508317=_0x4aec84[_0x308126(0x18c)];if(_0x508317){for(let _0x26078c of[_0x308126(0x1d7),_0x308126(0x139),_0x308126(0x197),_0x308126(0x17f),'rotation']){let _0x473175=_0x508317[_0x26078c];if(_0x473175!==void 0x0&&!Number['isFinite'](_0x473175))return _0x308126(0x15b)+_0x26078c+_0x308126(0x1b9);}if(_0x508317['width']!==void 0x0&&_0x508317['width']<=0x0)return _0x308126(0x11d);if(_0x508317[_0x308126(0x17f)]!==void 0x0&&_0x508317['height']<=0x0)return _0x308126(0x1d8);for(let _0x2ff0b4 of[_0x308126(0x1be),_0x308126(0x167)]){let _0x9c6443=_0x508317[_0x2ff0b4];if(_0x9c6443!==void 0x0&&typeof _0x9c6443!='boolean')return'Shape\x20transform\x20\x22'+_0x2ff0b4+'\x22\x20must\x20be\x20boolean.';}}let _0x4a7e43=_0x4aec84[_0x308126(0x1b6)];return!_0x5bb96d&&_0x4a7e43&&('relation'in _0x4a7e43||'points'in _0x4a7e43)?_0x308126(0x1ba):null;}function _0x2354(_0x25c3fd,_0x1a4931){_0x25c3fd=_0x25c3fd-0x10d;const _0x5ab665=_0x5ab6();let _0x235464=_0x5ab665[_0x25c3fd];return _0x235464;}var W=class extends H{[_0x5187f9(0x177)](){return!0x0;}[_0x5187f9(0x1a7)](){const _0x2d88cc=_0x5187f9;let _0x2a3e49=this[_0x2d88cc(0x1c7)]();return _0x2a3e49?_0x4bda5c[_0x2d88cc(0x1db)](_0x2a3e49[_0x2d88cc(0x1c8)]):null;}['getEndEndpoint'](){const _0x27c758=_0x5187f9;let _0x1c076b=this[_0x27c758(0x1c7)]();return _0x1c076b?_0x4bda5c[_0x27c758(0x1db)](_0x1c076b[_0x27c758(0x18e)]):null;}[_0x5187f9(0x17a)](){const _0x4fdb7a=_0x5187f9;let _0x88a179=this[_0x4fdb7a(0x1c7)]();return _0x88a179?_0x4bda5c[_0x4fdb7a(0x1db)](_0x88a179['routePoints']):null;}[_0x5187f9(0x1ad)](){const _0x3604fe=_0x5187f9;let _0x2146e5=this['_getConnectorSnapshot']();return _0x2146e5?_0x4bda5c[_0x3604fe(0x1db)](_0x2146e5['startArrow']):null;}['getEndArrow'](){const _0x3c74da=_0x5187f9;let _0x3bd7e9=this[_0x3c74da(0x1c7)]();return _0x3bd7e9?_0x4bda5c[_0x3c74da(0x1db)](_0x3bd7e9['endArrow']):null;}[_0x5187f9(0x1da)](_0x4f5889){const _0x31408b=_0x5187f9;return _0x519013(_0x4f5889)?super[_0x31408b(0x1da)](_0x4f5889):(console['warn'](_0x31408b(0x1df)+this[_0x31408b(0x1d9)]['shapeId']+_0x31408b(0x19c)),this);}[_0x5187f9(0x15e)](_0x63edb9){const _0x9710c0=_0x5187f9;return _0x63edb9[_0x9710c0(0x1a3)]!==void 0x0&&!_0x519013(_0x63edb9[_0x9710c0(0x1a3)])?(console['warn'](_0x9710c0(0x1df)+this[_0x9710c0(0x1d9)][_0x9710c0(0x1bc)]+_0x9710c0(0x158)),this):super[_0x9710c0(0x15e)](_0x63edb9);}[_0x5187f9(0x200)](_0x305279,_0x3ee153){const _0x33ddf0=_0x5187f9;return this[_0x33ddf0(0x1ee)]('start',_0x305279,_0x3ee153),this;}[_0x5187f9(0x184)](_0x209fec,_0x323716){const _0x2caf06=_0x5187f9;return this[_0x2caf06(0x1ee)]('end',_0x209fec,_0x323716),this;}[_0x5187f9(0x12b)](){const _0x4b8e14=_0x5187f9;return this['_mutateConnector'](_0x4b8e14(0x1f5),_0x5214a7=>_0x5214a7[_0x4b8e14(0x12b)](this[_0x4b8e14(0x1d9)])),this;}['unbindEnd'](){const _0x1c7b9e=_0x5187f9;return this[_0x1c7b9e(0x13f)](_0x1c7b9e(0x147),_0x3b1152=>_0x3b1152[_0x1c7b9e(0x130)](this[_0x1c7b9e(0x1d9)])),this;}[_0x5187f9(0x1e3)](_0x529272){const _0x41e6fa=_0x5187f9;return G(_0x529272,this['_shapeRef'][_0x41e6fa(0x1bc)])&&this[_0x41e6fa(0x13f)](_0x41e6fa(0x18b),_0x2de257=>_0x2de257['setStartPoint'](this['_shapeRef'],_0x529272)),this;}[_0x5187f9(0x148)](_0x23a077){const _0x516ad8=_0x5187f9;return G(_0x23a077,this[_0x516ad8(0x1d9)][_0x516ad8(0x1bc)])&&this[_0x516ad8(0x13f)](_0x516ad8(0x171),_0x5e1b37=>_0x5e1b37[_0x516ad8(0x148)](this[_0x516ad8(0x1d9)],_0x23a077)),this;}[_0x5187f9(0x142)](_0x546f92){const _0x322928=_0x5187f9;return _0x546f92[_0x322928(0x164)](_0x1977a4=>G(_0x1977a4,this['_shapeRef'][_0x322928(0x1bc)]))&&this[_0x322928(0x13f)](_0x322928(0x186),_0x14da1e=>_0x14da1e['setRoutePoints'](this[_0x322928(0x1d9)],_0x546f92)),this;}['setStartArrow'](_0x5f5609,_0x66d8a0){const _0x121fab=_0x5187f9;return this[_0x121fab(0x13f)]('set\x20start\x20arrow',_0x5377ea=>_0x5377ea[_0x121fab(0x149)](this[_0x121fab(0x1d9)],_0x5f5609,_0x66d8a0)),this;}[_0x5187f9(0x10e)](_0x39f8be,_0x3f59a4){const _0x7b1644=_0x5187f9;return this[_0x7b1644(0x13f)](_0x7b1644(0x150),_0x5e970b=>_0x5e970b['setEndArrow'](this[_0x7b1644(0x1d9)],_0x39f8be,_0x3f59a4)),this;}[_0x5187f9(0x1cb)](){const _0x555aca=_0x5187f9;return this['_injector'][_0x555aca(0x145)](_0x1243e9);}['_getConnectorSnapshot'](){const _0x3dcdfb=_0x5187f9;let _0x2a2fdf=this[_0x3dcdfb(0x1cb)]();if(!_0x2a2fdf)return null;try{return _0x2a2fdf[_0x3dcdfb(0x12e)](this[_0x3dcdfb(0x1d9)])||(console[_0x3dcdfb(0x182)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x3dcdfb(0x1d9)][_0x3dcdfb(0x1bc)]+_0x3dcdfb(0x1b5)),null);}catch(_0x2b4589){return console[_0x3dcdfb(0x182)](_0x3dcdfb(0x1ab)+this[_0x3dcdfb(0x1d9)][_0x3dcdfb(0x1bc)]+'\x22.',_0x2b4589),null;}}['_bind'](_0x1673c4,_0xf45a6c,_0xc015d8){const _0x1f4dd8=_0x5187f9;if(!_0xf45a6c||!Number[_0x1f4dd8(0x122)](_0xc015d8)||_0xc015d8<0x0)return console[_0x1f4dd8(0x182)]('[Shape\x20Facade]:\x20Connector\x20\x22'+this[_0x1f4dd8(0x1d9)][_0x1f4dd8(0x1bc)]+_0x1f4dd8(0x18d)),!0x1;let _0x300cee={'shapeId':_0xf45a6c,'cxnIndex':_0xc015d8};return this[_0x1f4dd8(0x13f)]('bind\x20'+_0x1673c4,_0x58d0a9=>_0x1673c4==='start'?_0x58d0a9[_0x1f4dd8(0x200)](this['_shapeRef'],_0x300cee):_0x58d0a9['bindEnd'](this[_0x1f4dd8(0x1d9)],_0x300cee));}['_mutateConnector'](_0x4f7431,_0x164134){const _0x1becbd=_0x5187f9;let _0x18f798=this[_0x1becbd(0x1cb)]();if(!_0x18f798)return!0x1;try{let _0x2668d5=_0x164134(_0x18f798);return _0x2668d5||console[_0x1becbd(0x182)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x4f7431+'\x20Connector\x20Shape\x20\x22'+this[_0x1becbd(0x1d9)]['shapeId']+'\x22.'),_0x2668d5;}catch(_0x48565f){return console[_0x1becbd(0x182)](_0x1becbd(0x16e)+_0x4f7431+_0x1becbd(0x155)+this[_0x1becbd(0x1d9)][_0x1becbd(0x1bc)]+'\x22.',_0x48565f),!0x1;}}};function G(_0x7b2bdd,_0x2340f2){const _0x58f0ca=_0x5187f9;return!Number['isFinite'](_0x7b2bdd['x'])||!Number[_0x58f0ca(0x1e0)](_0x7b2bdd['y'])?(console[_0x58f0ca(0x182)](_0x58f0ca(0x126)+_0x2340f2+_0x58f0ca(0x1e2)),!0x1):!0x0;}export{W as FConnectorShape,H as FShape,L as FShapeText};