@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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x9571(){const _0x460393=['unbindEnd','SolidLine','setCustomGeometryFromSvgPath','IShapeHostAdapterRegistry','resolveShapeTextBoxOptions','set\x20start\x20point','setShapeType','getEndArrow','endArrow','resetAdjustValues','hostType','visible','setTextBoxOptions','ShapeLineDashEnum','getName','shapeText','setSolidFill','1246uPHeGM','setBold','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','transform','\x20Connector\x20Shape\x20\x22','getShapeData','_injector','setText','getPresetShapeConfig','_getAdapter','unbindStart','top','ahLst','warn','isFinite','ShapeLineJoinEnum','defineProperty','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','getEndConnectInfo','getSnapshot','ShapeGradientTypeEnum','flipY','extend','getShapeType','4664855HWcvgp','UniverProEngineShapeFacade','setFontFamily','NoLine','bringForward','map','setUnderline','setNoneFill','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','adjustValues','ImageSourceTypeEnum','_updateShapeData','_getConnectorAdapter','ShapeImageSourceTypeEnum','_bind','_shapeHostAdapterRegistry','getAdjustHandles','getStartConnectInfo','getAdjustInfo','FEnum','sendToBack','Radial','_getConnectorSnapshot','setSelectable','_getSnapshot','_mutate','end','SolidFill','FConnectorShape','47816wIOque','setShapeData','radial','object','bring\x20forward','from','FBase','_getShapeData','setStrokeLineType','\x22\x20requires\x20Connector\x20Shape\x20data.','setEndArrow','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','[Shape\x20Facade]:\x20Shape\x20\x22','setItalic','length','applyShapeTextStyle','setAdjustValueByName','set\x20end\x20arrow','updateShape','getRichText','@univerjs/core/facade','@univerjs/core','setGradientFill','every','scaleY','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','getDescription','[Shape\x20Facade]:\x20Failed\x20to\x20','createInstance','deepClone','\x22\x20text.','ShapeArrowSizeEnum','Tile','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','set\x20start\x20arrow','setTransform','has','setVisible','toStringTag','setStrokeColor','relation','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','\x22\x20must\x20be\x20boolean.','flipX','picture','_patchStroke','selectable','start','bindStart','ShapeTextAutoFitType','amd','ShapeModel','parseSvgPathData','ShapeLineCapEnum','isCustomShape','getPlainText','setDescription','getConnector','\x22\x20was\x20not\x20found.','setCustomGeometry','solid','URL','bindEnd','shapeId','height','toPlainText','_commandService','IConnectorShapeHostAdapter','ShapeFillEnum','remove','send\x20to\x20back','shapeType','setStrokeLineDashType','Shape\x20\x22','isConnectorShape','Shape\x20transform\x20\x22','ShapeTextWrapType','[Shape\x20Facade]:\x20Connector\x20\x22','scaleX','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','isSelectable','updateContext','none','setAdjustValues','shapeData','pathLst','stroke','opacity','set\x20end\x20point','points','ImageFillModeEnum','setStartPoint','Tools','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','applyRichTextToShapeText','TRUE','bind\x20','boolean','send\x20backward','startArrow','setAbsolutePosition','ShapeOperatorEnum','FShapeText','width','setName','setStroke','Module','setVerticalAlign','ShapeTypeEnum','328062bTdLek','_mutateConnector','171TMSwjw','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','BooleanNumber','UniverProEngineShape','update','getOwnPropertyDescriptor','_shapeRef','_patchShapeData','setRichText','isVisible','UniverCoreFacade','setRotation','sendBackward','rotation','mode','unbind\x20start','setTextStyle','offsetY','setFontSize','9683550ZkaNQY','UniverCore','\x22\x20must\x20be\x20finite.','cxnLst','setEndPoint','lineStrokeType','setStrokeOpacity','applyShapeTextBoxOptions','_getGeometryModel','set\x20route\x20points','Diamond','routePoints','PictureFill','FALSE','2817TzrZzo','setImageFill','bringToFront','29488feCTai','getTextBoxOptions','ICommandService','stretch','FShape','[Shape\x20Facade]:\x20','setSize','ShapeLineTypeEnum','applyShapeTextAlignment','entries','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeTextDirection','removeShape','Linear','Angular','get','18516hwkYbH','isCustom','data','getCustomGeometry','\x20Shape\x20\x22','gradient','customGeometry','349057NtAOvE','getShape','getEndEndpoint'];_0x9571=function(){return _0x460393;};return _0x9571();}function _0x40a1(_0x578ec6,_0x2249d0){_0x578ec6=_0x578ec6-0x64;const _0x95719f=_0x9571();let _0x40a13b=_0x95719f[_0x578ec6];return _0x40a13b;}(function(_0x1d0b40,_0x18787d){const _0x3f870e=_0x40a1,_0x1caf23=_0x1d0b40();while(!![]){try{const _0x11b3bb=-parseInt(_0x3f870e(0xea))/0x1+parseInt(_0x3f870e(0xad))/0x2+-parseInt(_0x3f870e(0xaf))/0x3*(-parseInt(_0x3f870e(0x134))/0x4)+parseInt(_0x3f870e(0x116))/0x5+parseInt(_0x3f870e(0xe3))/0x6*(-parseInt(_0x3f870e(0xfe))/0x7)+parseInt(_0x3f870e(0xd3))/0x8*(-parseInt(_0x3f870e(0xd0))/0x9)+parseInt(_0x3f870e(0xc2))/0xa;if(_0x11b3bb===_0x18787d)break;else _0x1caf23['push'](_0x1caf23['shift']());}catch(_0x4f8e89){_0x1caf23['push'](_0x1caf23['shift']());}}}(_0x9571,0xa997c),function(_0x30fa45,_0x1521da){const _0x4401e4=_0x40a1;typeof exports==_0x4401e4(0x137)&&typeof module<'u'?_0x1521da(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define=='function'&&define[_0x4401e4(0x72)]?define(['exports','@univerjs-pro/engine-shape',_0x4401e4(0x148),_0x4401e4(0x149)],_0x1521da):(_0x30fa45=typeof globalThis<'u'?globalThis:_0x30fa45||self,_0x1521da(_0x30fa45[_0x4401e4(0x117)]={},_0x30fa45[_0x4401e4(0xb2)],_0x30fa45[_0x4401e4(0xb9)],_0x30fa45[_0x4401e4(0xc3)]));}(this,function(_0x1f467a,_0x45d649,_0x44e441,_0x3624c2){const _0x1b6bd2=_0x40a1;Object['defineProperty'](_0x1f467a,Symbol[_0x1b6bd2(0x64)],{'value':_0x1b6bd2(0xaa)});var _0x25f903=class extends _0x44e441[_0x1b6bd2(0x12a)]{get[_0x1b6bd2(0xac)](){const _0x1f14ff=_0x1b6bd2;return _0x45d649[_0x1f14ff(0xac)];}get[_0x1b6bd2(0x84)](){const _0xd90d4d=_0x1b6bd2;return _0x45d649[_0xd90d4d(0x84)];}get[_0x1b6bd2(0x112)](){const _0x50373b=_0x1b6bd2;return _0x45d649[_0x50373b(0x112)];}get['ShapeImageFillModeEnum'](){const _0x5759e9=_0x1b6bd2;return _0x45d649[_0x5759e9(0x9a)];}get[_0x1b6bd2(0x124)](){return _0x45d649['ImageSourceTypeEnum'];}get['ShapeLineTypeEnum'](){const _0x2fb5aa=_0x1b6bd2;return _0x45d649[_0x2fb5aa(0xda)];}get[_0x1b6bd2(0xfa)](){return _0x45d649['ShapeLineDashEnum'];}get[_0x1b6bd2(0x75)](){return _0x45d649['ShapeLineCapEnum'];}get['ShapeLineJoinEnum'](){const _0x1a61f1=_0x1b6bd2;return _0x45d649[_0x1a61f1(0x10d)];}get[_0x1b6bd2(0xa5)](){const _0xf43c4d=_0x1b6bd2;return _0x45d649[_0xf43c4d(0xa5)];}get['ShapeArrowTypeEnum'](){return _0x45d649['ShapeArrowTypeEnum'];}get[_0x1b6bd2(0x153)](){const _0x390dcd=_0x1b6bd2;return _0x45d649[_0x390dcd(0x153)];}get['ShapeTextAutoFitType'](){const _0x1f9683=_0x1b6bd2;return _0x45d649[_0x1f9683(0x71)];}get[_0x1b6bd2(0xde)](){const _0x19eb0f=_0x1b6bd2;return _0x45d649[_0x19eb0f(0xde)];}get[_0x1b6bd2(0x8c)](){const _0x241c0f=_0x1b6bd2;return _0x45d649[_0x241c0f(0x8c)];}};_0x44e441[_0x1b6bd2(0x12a)][_0x1b6bd2(0x114)](_0x25f903);function _0x5f42ae(_0xfe653e){const _0x56f8d9=_0x1b6bd2;switch(_0xfe653e){case _0x45d649[_0x56f8d9(0x112)][_0x56f8d9(0x12c)]:return _0x56f8d9(0x136);case _0x45d649['ShapeGradientTypeEnum'][_0x56f8d9(0xe1)]:return'angular';case _0x45d649[_0x56f8d9(0x112)][_0x56f8d9(0xcc)]:return'diamond';case _0x45d649[_0x56f8d9(0x112)][_0x56f8d9(0xe0)]:default:return'linear';}}function _0x5119b2(_0x1abeef){const _0x1181d2=_0x1b6bd2;return _0x1abeef===_0x45d649[_0x1181d2(0x9a)][_0x1181d2(0x154)]?'tile':_0x1181d2(0xd6);}var _0x5df612=class{constructor(_0x16469b,_0x9af8f3){const _0x43c542=_0x1b6bd2;this[_0x43c542(0xb5)]=_0x16469b,this[_0x43c542(0x104)]=_0x9af8f3;}[_0x1b6bd2(0x147)](){var _0x4de81b;return(0x0,_0x45d649['shapeTextToRichTextValue'])((_0x4de81b=this['_getShapeData']())==null?void 0x0:_0x4de81b['shapeText']);}[_0x1b6bd2(0x77)](){const _0x3f8c71=_0x1b6bd2;var _0x347a12;return((_0x347a12=this[_0x3f8c71(0x147)]())==null?void 0x0:_0x347a12[_0x3f8c71(0x81)]())??null;}[_0x1b6bd2(0xb7)](_0x12ba2d){const _0x37c7e3=_0x1b6bd2;return this[_0x37c7e3(0x122)](_0x4cf02c=>({..._0x4cf02c,'shapeText':(0x0,_0x45d649[_0x37c7e3(0x9e)])(_0x4cf02c[_0x37c7e3(0xfc)],_0x12ba2d)})),this;}[_0x1b6bd2(0x105)](_0x5945d7){const _0x2ed1d3=_0x1b6bd2;return this[_0x2ed1d3(0x122)](_0x698b79=>({..._0x698b79,'shapeText':(0x0,_0x45d649['applyTextToShapeText'])(_0x698b79[_0x2ed1d3(0xfc)],_0x5945d7)})),this;}[_0x1b6bd2(0xbf)](_0x4b3894){const _0x226ab7=_0x1b6bd2;return this[_0x226ab7(0x122)](_0x4de04f=>({..._0x4de04f,'shapeText':(0x0,_0x45d649[_0x226ab7(0x143)])(_0x4de04f[_0x226ab7(0xfc)],_0x4b3894)})),this;}['setColor'](_0x21f730,_0x2965e8){const _0x4ed1cd=_0x1b6bd2;return this[_0x4ed1cd(0xbf)]({'cl':{'rgb':_0x21f730},'textFill':{'type':_0x4ed1cd(0x7c),'color':_0x21f730,'opacity':_0x2965e8}});}['setNoneFill'](){const _0x46ebcb=_0x1b6bd2;return this[_0x46ebcb(0xbf)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x46ebcb(0x92)}});}[_0x1b6bd2(0x14a)](_0x4555c2,_0x36fa4f,_0x17e0b0){const _0x38c605=_0x1b6bd2;return _0x36fa4f[_0x38c605(0x142)]<0x2?(console[_0x38c605(0x10b)](_0x38c605(0x100)),this):this['setTextStyle']({'cl':{'rgb':_0x36fa4f[0x0]['color']},'textFill':{'type':_0x38c605(0xe8),'gradient':{'type':_0x5f42ae(_0x4555c2),'angle':_0x17e0b0,'stops':_0x36fa4f[_0x38c605(0x11b)](({position:_0x381bd1,color:_0x3cab14,opacity:_0x15329d})=>({'offset':_0x381bd1,'color':_0x3cab14,'opacity':_0x15329d}))}}});}['setImageFill'](_0x2e3358,_0x2b85bb=_0x45d649[_0x1b6bd2(0x121)][_0x1b6bd2(0x7d)],_0x54dbe5={}){const _0xd30ffa=_0x1b6bd2;return this[_0xd30ffa(0xbf)]({'textFill':{'type':_0xd30ffa(0x6c),'picture':{'source':_0x2e3358,'sourceType':_0x2b85bb,'opacity':_0x54dbe5[_0xd30ffa(0x97)],'mode':_0x5119b2(_0x54dbe5[_0xd30ffa(0xbd)]),'scaleX':_0x54dbe5[_0xd30ffa(0x8e)],'scaleY':_0x54dbe5[_0xd30ffa(0x14c)],'offsetX':_0x54dbe5['offsetX'],'offsetY':_0x54dbe5[_0xd30ffa(0xc0)]}}});}[_0x1b6bd2(0xc1)](_0xac9169){const _0xd1d501=_0x1b6bd2;return this[_0xd1d501(0xbf)]({'fs':_0xac9169});}[_0x1b6bd2(0x118)](_0x3222ba){const _0x1f471c=_0x1b6bd2;return this[_0x1f471c(0xbf)]({'ff':_0x3222ba});}[_0x1b6bd2(0xff)](_0x2959c8){const _0x1e3103=_0x1b6bd2;return this[_0x1e3103(0xbf)]({'bl':_0x2959c8?_0x3624c2['BooleanNumber'][_0x1e3103(0x9f)]:_0x3624c2['BooleanNumber'][_0x1e3103(0xcf)]});}[_0x1b6bd2(0x141)](_0x43db9c){const _0x1c2b3d=_0x1b6bd2;return this[_0x1c2b3d(0xbf)]({'it':_0x43db9c?_0x3624c2[_0x1c2b3d(0xb1)][_0x1c2b3d(0x9f)]:_0x3624c2[_0x1c2b3d(0xb1)][_0x1c2b3d(0xcf)]});}[_0x1b6bd2(0x11c)](_0x46b214){const _0x3774ed=_0x1b6bd2;return this['setTextStyle']({'ul':{'s':_0x46b214?_0x3624c2[_0x3774ed(0xb1)]['TRUE']:_0x3624c2[_0x3774ed(0xb1)][_0x3774ed(0xcf)]}});}['setStrikethrough'](_0x42b501){const _0x438379=_0x1b6bd2;return this[_0x438379(0xbf)]({'st':{'s':_0x42b501?_0x3624c2[_0x438379(0xb1)]['TRUE']:_0x3624c2['BooleanNumber'][_0x438379(0xcf)]}});}['setHorizontalAlign'](_0x3934c7){const _0x3ab256=_0x1b6bd2;return this[_0x3ab256(0x122)](_0x4449e6=>(0x0,_0x45d649[_0x3ab256(0xdb)])(_0x4449e6,{'horizontalAlign':_0x3934c7})),this;}[_0x1b6bd2(0xab)](_0x3c6145){const _0x501d68=_0x1b6bd2;return this[_0x501d68(0x122)](_0x45291c=>(0x0,_0x45d649['applyShapeTextAlignment'])(_0x45291c,{'verticalAlign':_0x3c6145})),this;}[_0x1b6bd2(0xd4)](){const _0x15af9d=_0x1b6bd2;let _0x254a55=this[_0x15af9d(0x13b)]();return _0x254a55?(0x0,_0x45d649[_0x15af9d(0xf1)])(_0x254a55):null;}[_0x1b6bd2(0xf9)](_0x374748){const _0x1af1bd=_0x1b6bd2;return this[_0x1af1bd(0x122)](_0x582fe0=>(0x0,_0x45d649[_0x1af1bd(0xc9)])(_0x582fe0,_0x374748)),this;}['_getAdapter'](){const _0x41eedb=_0x1b6bd2;return this['_injector'][_0x41eedb(0xe2)](_0x45d649[_0x41eedb(0xf0)])[_0x41eedb(0xe2)](this[_0x41eedb(0xb5)][_0x41eedb(0xf7)]);}['_getShapeData'](){const _0x20db37=_0x1b6bd2;let _0x2b3546=this[_0x20db37(0x107)]();if(!_0x2b3546)return null;try{var _0x553026;return((_0x553026=_0x2b3546[_0x20db37(0xeb)](this[_0x20db37(0xb5)]))==null?void 0x0:_0x553026['shapeData'])||(console[_0x20db37(0x10b)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this['_shapeRef'][_0x20db37(0x7f)]+_0x20db37(0x7a)),null);}catch(_0x2a6c34){return console['warn'](_0x20db37(0x13f)+this['_shapeRef'][_0x20db37(0x7f)]+_0x20db37(0x152),_0x2a6c34),null;}}[_0x1b6bd2(0x122)](_0x1359c7){const _0x926670=_0x1b6bd2;let _0x48e96b=this['_getAdapter']();if(!_0x48e96b)return!0x1;try{var _0x109e70;let _0x3b669a=(_0x109e70=_0x48e96b['getShape'](this[_0x926670(0xb5)]))==null?void 0x0:_0x109e70[_0x926670(0x94)];if(!_0x3b669a)return console['warn']('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x926670(0xb5)][_0x926670(0x7f)]+_0x926670(0x7a)),!0x1;let _0x25120f=_0x48e96b['updateShape'](this[_0x926670(0xb5)],{'shapeData':_0x1359c7(_0x3b669a)});return _0x25120f||console[_0x926670(0x10b)](_0x926670(0x9d)+this[_0x926670(0xb5)][_0x926670(0x7f)]+'\x22\x20text.'),_0x25120f;}catch(_0x4b46c1){return console[_0x926670(0x10b)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x926670(0xb5)]['shapeId']+_0x926670(0x152),_0x4b46c1),!0x1;}}};function _0xb5148(_0x453d76,_0x19e4dd){return function(_0x4eb25d,_0x45b22b){_0x19e4dd(_0x4eb25d,_0x45b22b,_0x453d76);};}function _0x1a0c0b(_0x3e7089,_0x3be1c6,_0x3096a4,_0x3880d1){const _0xe1703b=_0x1b6bd2;var _0x5b9052=arguments[_0xe1703b(0x142)],_0x319044=_0x5b9052<0x3?_0x3be1c6:_0x3880d1===null?_0x3880d1=Object[_0xe1703b(0xb4)](_0x3be1c6,_0x3096a4):_0x3880d1,_0x437300;if(typeof Reflect==_0xe1703b(0x137)&&typeof Reflect['decorate']=='function')_0x319044=Reflect['decorate'](_0x3e7089,_0x3be1c6,_0x3096a4,_0x3880d1);else{for(var _0x52bc65=_0x3e7089[_0xe1703b(0x142)]-0x1;_0x52bc65>=0x0;_0x52bc65--)(_0x437300=_0x3e7089[_0x52bc65])&&(_0x319044=(_0x5b9052<0x3?_0x437300(_0x319044):_0x5b9052>0x3?_0x437300(_0x3be1c6,_0x3096a4,_0x319044):_0x437300(_0x3be1c6,_0x3096a4))||_0x319044);}return _0x5b9052>0x3&&_0x319044&&Object[_0xe1703b(0x10e)](_0x3be1c6,_0x3096a4,_0x319044),_0x319044;}function _0x19caff(_0x308a16){const _0x44276a=_0x1b6bd2;let _0x422692=_0x3624c2[_0x44276a(0x9c)]['deepClone'](_0x308a16);return _0x422692[_0x44276a(0x95)]&&=_0x422692[_0x44276a(0x95)][_0x44276a(0x11b)](_0xcbe86f=>{const _0x4df0d1=_0x44276a;var _0x15e7dc;if((_0x15e7dc=_0xcbe86f['dataArray'])!=null&&_0x15e7dc[_0x4df0d1(0x142)]){let {data:_0x408aed,..._0x294c5b}=_0xcbe86f;return _0x294c5b;}if(_0xcbe86f[_0x4df0d1(0xe5)]===void 0x0)return _0xcbe86f;let _0x658f58=(0x0,_0x45d649[_0x4df0d1(0x74)])(_0xcbe86f[_0x4df0d1(0xe5)]),{data:_0x274e02,..._0x41aecd}=_0xcbe86f;return{..._0x41aecd,'dataArray':_0x658f58};}),_0x422692;}let _0xa05e3e=class extends _0x44e441[_0x1b6bd2(0x13a)]{constructor(_0x552f5e,_0x3c4034,_0x55c76c,_0x502b9d){const _0xcf08e6=_0x1b6bd2;super(),this[_0xcf08e6(0xb5)]=_0x552f5e,this[_0xcf08e6(0x104)]=_0x3c4034,this[_0xcf08e6(0x126)]=_0x55c76c,this[_0xcf08e6(0x82)]=_0x502b9d;}[_0x1b6bd2(0x8a)](){return!0x1;}['getId'](){const _0x4642d9=_0x1b6bd2;return this[_0x4642d9(0xb5)][_0x4642d9(0x7f)];}[_0x1b6bd2(0xfb)](){const _0x4a300f=_0x1b6bd2;var _0xa21d7b;return(_0xa21d7b=this[_0x4a300f(0x12f)]())==null?void 0x0:_0xa21d7b['name'];}[_0x1b6bd2(0xa8)](_0x4b8281){const _0x5090f5=_0x1b6bd2;return this[_0x5090f5(0xb3)]({'name':_0x4b8281});}[_0x1b6bd2(0x14e)](){const _0x496f1c=_0x1b6bd2;var _0x16dc76;return(_0x16dc76=this[_0x496f1c(0x12f)]())==null?void 0x0:_0x16dc76['description'];}[_0x1b6bd2(0x78)](_0x3e196a){const _0x14cfc8=_0x1b6bd2;return this[_0x14cfc8(0xb3)]({'description':_0x3e196a});}['getHostType'](){const _0x308f6a=_0x1b6bd2;return this[_0x308f6a(0xb5)][_0x308f6a(0xf7)];}[_0x1b6bd2(0x115)](){const _0x3b9afc=_0x1b6bd2;var _0xa6baed;return((_0xa6baed=this['_getSnapshot']())==null?void 0x0:_0xa6baed[_0x3b9afc(0x87)])??null;}[_0x1b6bd2(0x103)](){const _0x5082a9=_0x1b6bd2;let _0x42f95e=this[_0x5082a9(0x12f)]();return _0x42f95e?_0x3624c2['Tools'][_0x5082a9(0x151)](_0x42f95e[_0x5082a9(0x94)]):null;}[_0x1b6bd2(0x111)](){const _0x179748=_0x1b6bd2;let _0xfa1e04=this[_0x179748(0x12f)]();return _0xfa1e04?_0x3624c2[_0x179748(0x9c)]['deepClone'](_0xfa1e04):null;}['getTransform'](){const _0x1cecca=_0x1b6bd2;let _0x250cf6=this[_0x1cecca(0x12f)]();return _0x250cf6?{..._0x250cf6['transform']}:null;}[_0x1b6bd2(0xb8)](){var _0x4286ec;return((_0x4286ec=this['_getSnapshot']())==null?void 0x0:_0x4286ec['visible'])??!0x1;}[_0x1b6bd2(0x159)](_0x1b8655){const _0x4de5f0=_0x1b6bd2;return this[_0x4de5f0(0xb3)]({'visible':_0x1b8655});}[_0x1b6bd2(0x90)](){const _0x1e5668=_0x1b6bd2;var _0x23452c;return((_0x23452c=this[_0x1e5668(0x12f)]())==null?void 0x0:_0x23452c[_0x1e5668(0x6e)])??!0x1;}[_0x1b6bd2(0x12e)](_0x2b17bc){const _0xa2c1a6=_0x1b6bd2;return this[_0xa2c1a6(0xb3)]({'selectable':_0x2b17bc});}['getText'](){const _0x3a6834=_0x1b6bd2;return this['_injector'][_0x3a6834(0x150)](_0x5df612,this[_0x3a6834(0xb5)],this['_injector']);}[_0x1b6bd2(0x76)](){const _0x25bcbc=_0x1b6bd2;let _0x31adc3=this[_0x25bcbc(0x103)]();return(_0x31adc3==null?void 0x0:_0x31adc3[_0x25bcbc(0xe4)])===!0x0&&!!_0x31adc3['customGeometry'];}[_0x1b6bd2(0xe6)](){const _0x1f61f9=_0x1b6bd2;var _0x33d49a;return((_0x33d49a=this[_0x1f61f9(0x103)]())==null?void 0x0:_0x33d49a[_0x1f61f9(0xe9)])??null;}['setShapeType'](_0x5a31e5){const _0x3f86f5=_0x1b6bd2;return this[_0x3f86f5(0xb6)](_0x3faff2=>({..._0x3faff2,'shapeType':_0x5a31e5}),_0x5a31e5);}[_0x1b6bd2(0x135)](_0x543293){const _0x3ed430=_0x1b6bd2;let _0x133ec5=_0x3624c2['Tools'][_0x3ed430(0x151)](_0x543293);return this['update']({'shapeType':_0x133ec5['shapeType'],'shapeData':_0x133ec5});}[_0x1b6bd2(0x157)](_0x24d4b1){return this['update']({'transform':_0x24d4b1});}[_0x1b6bd2(0xd9)](_0x160a26,_0x359ea6){const _0x5a31ed=_0x1b6bd2;return this[_0x5a31ed(0x157)]({'width':_0x160a26,'height':_0x359ea6});}[_0x1b6bd2(0xba)](_0x5eb30a){const _0x1c87f3=_0x1b6bd2;return this[_0x1c87f3(0x157)]({'rotation':_0x5eb30a});}[_0x1b6bd2(0xa4)](_0x36669b,_0x4c60d3){const _0x573699=_0x1b6bd2;return this[_0x573699(0x157)]({'left':_0x36669b,'top':_0x4c60d3});}[_0x1b6bd2(0x7b)](_0x2a2c3c){const _0x2904ee=_0x1b6bd2;var _0x686568,_0x34bec9;let _0x39c29e=((_0x686568=_0x2a2c3c['cxnLst'])==null?void 0x0:_0x686568['findIndex'](({x:_0x18ca3b,y:_0x376e54})=>_0x18ca3b===void 0x0||_0x376e54===void 0x0))??-0x1;if(_0x39c29e>=0x0)return console[_0x2904ee(0x10b)]('[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20'+_0x39c29e+_0x2904ee(0x14d)),this;let _0x7ff997=_0x19caff(_0x2a2c3c);if((_0x34bec9=_0x7ff997[_0x2904ee(0xc5)])!=null&&_0x34bec9['length']){let _0x363794=this[_0x2904ee(0x12f)]();if(!_0x363794)return this;try{let _0x22b78c=new _0x45d649[(_0x2904ee(0x73))](_0x363794[_0x2904ee(0x87)],_0x363794[_0x2904ee(0x7f)],{..._0x363794[_0x2904ee(0x94)],'isCustom':!0x0,'customGeometry':_0x7ff997});_0x22b78c[_0x2904ee(0x91)]({'width':_0x363794[_0x2904ee(0x101)]['width'],'height':_0x363794[_0x2904ee(0x101)]['height']}),_0x22b78c['getConnectionSiteList']();}catch{return console[_0x2904ee(0x10b)](_0x2904ee(0x10f)),this;}}return this[_0x2904ee(0xb6)](_0x53e1fe=>({..._0x53e1fe,'isCustom':!0x0,'customGeometry':_0x7ff997}));}[_0x1b6bd2(0xef)](_0x3666a6){const _0x9e0c2c=_0x1b6bd2;return this[_0x9e0c2c(0x7b)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x3666a6[_0x9e0c2c(0xa7)],'h':_0x3666a6[_0x9e0c2c(0x80)],'fill':_0x3666a6['fill'],'stroke':_0x3666a6[_0x9e0c2c(0x96)],'data':_0x3666a6['pathData']}]});}['getConnectionSites'](){const _0x20a9a4=_0x1b6bd2;var _0x2343e6;return((_0x2343e6=this[_0x20a9a4(0xca)]())==null?void 0x0:_0x2343e6['getConnectionSiteList']()['map'](_0x25a152=>({..._0x25a152})))??[];}[_0x1b6bd2(0x128)](){const _0x5af345=_0x1b6bd2;var _0x43f62c;let _0x54a495=(_0x43f62c=this[_0x5af345(0xca)]())==null?void 0x0:_0x43f62c[_0x5af345(0x128)]();return _0x54a495?{..._0x54a495}:null;}[_0x1b6bd2(0x110)](){const _0x2fd2ca=_0x1b6bd2;var _0x19f0a0;let _0x1bce48=(_0x19f0a0=this[_0x2fd2ca(0xca)]())==null?void 0x0:_0x19f0a0[_0x2fd2ca(0x110)]();return _0x1bce48?{..._0x1bce48}:null;}[_0x1b6bd2(0x127)](){const _0x578879=_0x1b6bd2;var _0xd00187;let _0x313b78=this[_0x578879(0xca)](),_0x5da248=(_0x313b78==null||(_0xd00187=_0x313b78[_0x578879(0x106)]()[_0x578879(0x10a)])==null?void 0x0:_0xd00187[_0x578879(0x142)])??0x0;return!_0x313b78||_0x5da248===0x0?[]:Array[_0x578879(0x139)]({'length':_0x5da248},(_0x3bcfaf,_0x1714e4)=>_0x313b78[_0x578879(0x129)](_0x1714e4))['filter'](_0x2f5673=>_0x2f5673!==void 0x0)['map'](_0x39691d=>_0x3624c2[_0x578879(0x9c)]['deepClone'](_0x39691d));}[_0x1b6bd2(0x93)](_0x1ccd5a){const _0x3f7632=_0x1b6bd2;let _0x104e11=Object[_0x3f7632(0xdc)](_0x1ccd5a);if(_0x104e11[_0x3f7632(0x142)]===0x0)return this;let _0x553b34=this[_0x3f7632(0xca)]();if(!_0x553b34)return this;let _0x1808e1=new Set(_0x553b34['getAdjustNames']());for(let [_0x3bd593,_0x25de69]of _0x104e11){if(!_0x1808e1[_0x3f7632(0x158)](_0x3bd593))return console[_0x3f7632(0x10b)]('[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22'+_0x3bd593+'\x22\x20does\x20not\x20exist.'),this;if(!Number['isFinite'](_0x25de69))return console[_0x3f7632(0x10b)](_0x3f7632(0x155)+_0x3bd593+_0x3f7632(0xc4)),this;}let _0x5b4bf6=Object['fromEntries'](_0x104e11['map'](([_0x481ca3,_0x512bd6])=>[_0x481ca3,_0x553b34[_0x3f7632(0x144)](_0x481ca3,_0x512bd6)]));return this[_0x3f7632(0xb6)](_0x1d2a8d=>({..._0x1d2a8d,'adjustValues':{..._0x1d2a8d[_0x3f7632(0x120)],..._0x5b4bf6}}));}[_0x1b6bd2(0xf6)](){const _0x18706c=_0x1b6bd2;let _0x1c2c19=this[_0x18706c(0x103)]();return _0x1c2c19!=null&&_0x1c2c19[_0x18706c(0x120)]?(delete _0x1c2c19['adjustValues'],this[_0x18706c(0xb3)]({'shapeData':_0x1c2c19})):this;}[_0x1b6bd2(0xfd)](_0x2fc14f,_0x1db7b5){const _0x4b0b24=_0x1b6bd2;return this[_0x4b0b24(0xb6)](_0x2c6eea=>({..._0x2c6eea,'fill':{'fillType':_0x45d649[_0x4b0b24(0x84)][_0x4b0b24(0x132)],'color':_0x2fc14f,'opacity':_0x1db7b5}}));}[_0x1b6bd2(0x14a)](_0x755d22,_0x2e4e07,_0x2f7f16){const _0x1c47ef=_0x1b6bd2;return _0x2e4e07['length']<0x2?(console[_0x1c47ef(0x10b)](_0x1c47ef(0xb0)),this):this[_0x1c47ef(0xb6)](_0x206ae6=>({..._0x206ae6,'fill':{'fillType':_0x45d649['ShapeFillEnum']['GradientFill'],'gradientType':_0x755d22,'gradientStops':_0x3624c2[_0x1c47ef(0x9c)][_0x1c47ef(0x151)](_0x2e4e07),'gradientAngle':_0x2f7f16}}));}[_0x1b6bd2(0xd1)](_0xb87e3a,_0x91bd9,_0x3d41b2={}){const _0xfdad48=_0x1b6bd2;return this['_patchShapeData'](_0x56b609=>({..._0x56b609,'fill':{..._0x3624c2[_0xfdad48(0x9c)][_0xfdad48(0x151)](_0x3d41b2),'fillType':_0x45d649[_0xfdad48(0x84)][_0xfdad48(0xce)],'fillImageSource':_0xb87e3a,'fillImageSourceType':_0x91bd9}}));}[_0x1b6bd2(0x11d)](){const _0x19e1ef=_0x1b6bd2;return this[_0x19e1ef(0xb6)](_0x13f73f=>({..._0x13f73f,'fill':{'fillType':_0x45d649['ShapeFillEnum']['NoFill']}}));}[_0x1b6bd2(0xa9)](_0x4166fb){const _0x51b494=_0x1b6bd2;return this['_patchShapeData'](_0x42efce=>({..._0x42efce,'stroke':_0x3624c2[_0x51b494(0x9c)]['deepClone'](_0x4166fb)}));}[_0x1b6bd2(0x65)](_0x16c3a6){const _0x3e9700=_0x1b6bd2;return this[_0x3e9700(0x6d)](_0x41be78=>({..._0x41be78,'color':_0x16c3a6,'lineStrokeType':_0x41be78[_0x3e9700(0xc7)]===_0x45d649[_0x3e9700(0xda)][_0x3e9700(0x119)]?_0x45d649[_0x3e9700(0xda)][_0x3e9700(0xee)]:_0x41be78['lineStrokeType']}));}['setStrokeWidth'](_0x815daa){const _0x4eafef=_0x1b6bd2;return this[_0x4eafef(0x6d)](_0x1e47a3=>({..._0x1e47a3,'width':_0x815daa,'lineStrokeType':_0x1e47a3[_0x4eafef(0xc7)]===_0x45d649[_0x4eafef(0xda)][_0x4eafef(0x119)]?_0x45d649['ShapeLineTypeEnum'][_0x4eafef(0xee)]:_0x1e47a3['lineStrokeType']}));}[_0x1b6bd2(0xc8)](_0x16ea73){const _0x22f41b=_0x1b6bd2;return this[_0x22f41b(0x6d)](_0x3f1112=>({..._0x3f1112,'opacity':_0x16ea73}));}[_0x1b6bd2(0x88)](_0x101b56){const _0x539611=_0x1b6bd2;return this[_0x539611(0x6d)](_0x4ca3d2=>({..._0x4ca3d2,'dashType':_0x101b56}));}['setStrokeLineJoinType'](_0x117b8a){const _0x65c078=_0x1b6bd2;return this[_0x65c078(0x6d)](_0x522278=>({..._0x522278,'lineJoinType':_0x117b8a}));}['setStrokeLineCapType'](_0x4a3a08){return this['_patchStroke'](_0x53cbed=>({..._0x53cbed,'capType':_0x4a3a08}));}[_0x1b6bd2(0x13c)](_0x1d8663){const _0x585bf7=_0x1b6bd2;return this[_0x585bf7(0x6d)](_0x2f4a13=>({..._0x2f4a13,'lineStrokeType':_0x1d8663}));}[_0x1b6bd2(0xb3)](_0x53b1d8){const _0x1df884=_0x1b6bd2;var _0x2d1572;let _0x2d7f64=_0x53b1d8[_0x1df884(0x94)],_0x11d1fc=_0x2d7f64&&(_0x1df884(0x66)in _0x2d7f64||_0x1df884(0x99)in _0x2d7f64)?this[_0x1df884(0x115)]():null,_0x6bfb19=_0x53b1d8[_0x1df884(0x87)]??((_0x2d1572=_0x53b1d8[_0x1df884(0x94)])==null?void 0x0:_0x2d1572['shapeType'])??_0x11d1fc,_0x4a3ff4=_0x3b604f(_0x53b1d8,_0x6bfb19!==null&&(0x0,_0x45d649[_0x1df884(0x8a)])(_0x6bfb19));return _0x4a3ff4?(console['warn'](_0x1df884(0xd8)+_0x4a3ff4),this):(this[_0x1df884(0x130)](_0x1df884(0xb3),_0xfe8457=>_0xfe8457[_0x1df884(0x146)](this[_0x1df884(0xb5)],_0x53b1d8)),this);}[_0x1b6bd2(0x85)](){const _0x1a34b1=_0x1b6bd2;return this[_0x1a34b1(0x130)](_0x1a34b1(0x85),_0x465b96=>_0x465b96[_0x1a34b1(0xdf)](this['_shapeRef']));}[_0x1b6bd2(0xd2)](){const _0x43f566=_0x1b6bd2;return this[_0x43f566(0x130)]('bring\x20to\x20front',_0x373670=>_0x373670[_0x43f566(0xd2)](this['_shapeRef'])),this;}[_0x1b6bd2(0x11a)](){const _0x14429f=_0x1b6bd2;return this[_0x14429f(0x130)](_0x14429f(0x138),_0x27bacc=>_0x27bacc[_0x14429f(0x11a)](this[_0x14429f(0xb5)])),this;}[_0x1b6bd2(0xbb)](){const _0x2e56fd=_0x1b6bd2;return this[_0x2e56fd(0x130)](_0x2e56fd(0xa2),_0x51d8aa=>_0x51d8aa[_0x2e56fd(0xbb)](this[_0x2e56fd(0xb5)])),this;}[_0x1b6bd2(0x12b)](){const _0x5c2135=_0x1b6bd2;return this[_0x5c2135(0x130)](_0x5c2135(0x86),_0x394829=>_0x394829[_0x5c2135(0x12b)](this[_0x5c2135(0xb5)])),this;}[_0x1b6bd2(0x107)](){const _0x43f7b9=_0x1b6bd2;return this['_shapeHostAdapterRegistry'][_0x43f7b9(0xe2)](this['_shapeRef'][_0x43f7b9(0xf7)]);}[_0x1b6bd2(0xb6)](_0x54496a,_0x3c04e7){const _0x323f89=_0x1b6bd2;let _0x23421=this[_0x323f89(0x103)]();return _0x23421?this[_0x323f89(0xb3)]({'shapeType':_0x3c04e7,'shapeData':_0x54496a(_0x23421)}):this;}[_0x1b6bd2(0x6d)](_0x4f3ac9){const _0x1a5458=_0x1b6bd2;return this['_patchShapeData'](_0x4ff16e=>({..._0x4ff16e,'stroke':_0x4f3ac9(_0x4ff16e[_0x1a5458(0x96)]??{})}));}[_0x1b6bd2(0x12f)](){const _0x4933fd=_0x1b6bd2;let _0x5e89f2=this['_getAdapter']();if(!_0x5e89f2)return null;try{return _0x5e89f2[_0x4933fd(0xeb)](this['_shapeRef'])||(console['warn'](_0x4933fd(0x140)+this[_0x4933fd(0xb5)][_0x4933fd(0x7f)]+_0x4933fd(0x7a)),null);}catch(_0xc95e43){return console[_0x4933fd(0x10b)](_0x4933fd(0xdd)+this[_0x4933fd(0xb5)][_0x4933fd(0x7f)]+'\x22.',_0xc95e43),null;}}[_0x1b6bd2(0xca)](){const _0x157d38=_0x1b6bd2;let _0x39f475=this[_0x157d38(0x12f)]();if(!_0x39f475)return null;try{let _0x27244c=new _0x45d649['ShapeModel'](_0x39f475['shapeType'],_0x39f475[_0x157d38(0x7f)],_0x3624c2['Tools']['deepClone'](_0x39f475[_0x157d38(0x94)]));return _0x27244c[_0x157d38(0x91)]({'width':_0x39f475[_0x157d38(0x101)][_0x157d38(0xa7)],'height':_0x39f475[_0x157d38(0x101)][_0x157d38(0x80)]}),_0x27244c;}catch(_0x8da01a){return console[_0x157d38(0x10b)](_0x157d38(0x67)+this[_0x157d38(0xb5)][_0x157d38(0x7f)]+'\x22.',_0x8da01a),null;}}[_0x1b6bd2(0x130)](_0x51ddc1,_0xa769c2){const _0x1930d5=_0x1b6bd2;let _0x351433=this['_getAdapter']();if(!_0x351433)return!0x1;try{let _0x6a7e9e=_0xa769c2(_0x351433);return _0x6a7e9e||console[_0x1930d5(0x10b)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x51ddc1+_0x1930d5(0xe7)+this['_shapeRef']['shapeId']+'\x22.'),_0x6a7e9e;}catch(_0x3f64cd){return console[_0x1930d5(0x10b)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x51ddc1+_0x1930d5(0xe7)+this[_0x1930d5(0xb5)][_0x1930d5(0x7f)]+'\x22.',_0x3f64cd),!0x1;}}};_0xa05e3e=_0x1a0c0b([_0xb5148(0x2,_0x45d649[_0x1b6bd2(0xf0)]),_0xb5148(0x3,_0x3624c2[_0x1b6bd2(0xd5)])],_0xa05e3e);function _0x3b604f(_0x5173d2,_0x2dc3a5=!0x1){const _0x5de2be=_0x1b6bd2;for(let _0x1482a4 of[_0x5de2be(0xf8),_0x5de2be(0x6e)]){let _0x57f793=_0x5173d2[_0x1482a4];if(_0x57f793!==void 0x0&&typeof _0x57f793!=_0x5de2be(0xa1))return _0x5de2be(0x89)+_0x1482a4+'\x22\x20must\x20be\x20boolean.';}let _0x3ed4c3=_0x5173d2['transform'];if(_0x3ed4c3){for(let _0xeae92c of['left',_0x5de2be(0x109),'width','height',_0x5de2be(0xbc)]){let _0x5a9385=_0x3ed4c3[_0xeae92c];if(_0x5a9385!==void 0x0&&!Number[_0x5de2be(0x10c)](_0x5a9385))return'Shape\x20transform\x20\x22'+_0xeae92c+_0x5de2be(0xc4);}if(_0x3ed4c3['width']!==void 0x0&&_0x3ed4c3['width']<=0x0)return _0x5de2be(0x8f);if(_0x3ed4c3[_0x5de2be(0x80)]!==void 0x0&&_0x3ed4c3['height']<=0x0)return _0x5de2be(0x69);for(let _0x5b9dc1 of[_0x5de2be(0x6b),_0x5de2be(0x113)]){let _0x43feb4=_0x3ed4c3[_0x5b9dc1];if(_0x43feb4!==void 0x0&&typeof _0x43feb4!='boolean')return _0x5de2be(0x8b)+_0x5b9dc1+_0x5de2be(0x6a);}}let _0x30b767=_0x5173d2[_0x5de2be(0x94)];return!_0x2dc3a5&&_0x30b767&&(_0x5de2be(0x66)in _0x30b767||_0x5de2be(0x99)in _0x30b767)?_0x5de2be(0x11e):null;}var _0x11d06a=class extends _0xa05e3e{[_0x1b6bd2(0x8a)](){return!0x0;}['getStartEndpoint'](){const _0x1aefc9=_0x1b6bd2;let _0x13b15c=this['_getConnectorSnapshot']();return _0x13b15c?_0x3624c2[_0x1aefc9(0x9c)]['deepClone'](_0x13b15c['start']):null;}[_0x1b6bd2(0xec)](){const _0xc71849=_0x1b6bd2;let _0xd8b56d=this[_0xc71849(0x12d)]();return _0xd8b56d?_0x3624c2[_0xc71849(0x9c)][_0xc71849(0x151)](_0xd8b56d[_0xc71849(0x131)]):null;}['getRoutePoints'](){const _0x16f91c=_0x1b6bd2;let _0x81bc92=this[_0x16f91c(0x12d)]();return _0x81bc92?_0x3624c2['Tools'][_0x16f91c(0x151)](_0x81bc92[_0x16f91c(0xcd)]):null;}['getStartArrow'](){const _0x5d86bb=_0x1b6bd2;let _0x165115=this[_0x5d86bb(0x12d)]();return _0x165115?_0x3624c2[_0x5d86bb(0x9c)][_0x5d86bb(0x151)](_0x165115[_0x5d86bb(0xa3)]):null;}[_0x1b6bd2(0xf4)](){const _0x520ca5=_0x1b6bd2;let _0x544e9c=this[_0x520ca5(0x12d)]();return _0x544e9c?_0x3624c2['Tools'][_0x520ca5(0x151)](_0x544e9c[_0x520ca5(0xf5)]):null;}[_0x1b6bd2(0xf3)](_0x4bb28c){const _0x4666a2=_0x1b6bd2;return(0x0,_0x45d649[_0x4666a2(0x8a)])(_0x4bb28c)?super[_0x4666a2(0xf3)](_0x4bb28c):(console[_0x4666a2(0x10b)](_0x4666a2(0x11f)+this['_shapeRef'][_0x4666a2(0x7f)]+'\x22\x20requires\x20a\x20Connector\x20Shape\x20type.'),this);}[_0x1b6bd2(0x135)](_0xbf56f3){const _0x411077=_0x1b6bd2;return _0xbf56f3[_0x411077(0x87)]!==void 0x0&&!(0x0,_0x45d649[_0x411077(0x8a)])(_0xbf56f3[_0x411077(0x87)])?(console[_0x411077(0x10b)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+_0x411077(0x13d)),this):super[_0x411077(0x135)](_0xbf56f3);}['bindStart'](_0x11c6ef,_0x25a0ea){const _0x5360f4=_0x1b6bd2;return this[_0x5360f4(0x125)](_0x5360f4(0x6f),_0x11c6ef,_0x25a0ea),this;}[_0x1b6bd2(0x7e)](_0x2b2704,_0x5bdabb){const _0x5126be=_0x1b6bd2;return this['_bind'](_0x5126be(0x131),_0x2b2704,_0x5bdabb),this;}[_0x1b6bd2(0x108)](){const _0x55f4c9=_0x1b6bd2;return this[_0x55f4c9(0xae)](_0x55f4c9(0xbe),_0x469ba5=>_0x469ba5['unbindStart'](this[_0x55f4c9(0xb5)])),this;}['unbindEnd'](){const _0x38b83f=_0x1b6bd2;return this[_0x38b83f(0xae)]('unbind\x20end',_0x7051b2=>_0x7051b2[_0x38b83f(0xed)](this[_0x38b83f(0xb5)])),this;}[_0x1b6bd2(0x9b)](_0x554fdf){const _0x258c92=_0x1b6bd2;return _0x32e256(_0x554fdf,this[_0x258c92(0xb5)][_0x258c92(0x7f)])&&this[_0x258c92(0xae)](_0x258c92(0xf2),_0x5dc7b4=>_0x5dc7b4[_0x258c92(0x9b)](this[_0x258c92(0xb5)],_0x554fdf)),this;}[_0x1b6bd2(0xc6)](_0x33bfe2){const _0x3b35bb=_0x1b6bd2;return _0x32e256(_0x33bfe2,this[_0x3b35bb(0xb5)][_0x3b35bb(0x7f)])&&this[_0x3b35bb(0xae)](_0x3b35bb(0x98),_0x354683=>_0x354683[_0x3b35bb(0xc6)](this['_shapeRef'],_0x33bfe2)),this;}['setRoutePoints'](_0xfac1e7){const _0x43a2f1=_0x1b6bd2;return _0xfac1e7[_0x43a2f1(0x14b)](_0x26076e=>_0x32e256(_0x26076e,this['_shapeRef'][_0x43a2f1(0x7f)]))&&this[_0x43a2f1(0xae)](_0x43a2f1(0xcb),_0x6b8d5f=>_0x6b8d5f['setRoutePoints'](this[_0x43a2f1(0xb5)],_0xfac1e7)),this;}['setStartArrow'](_0x1dacb9,_0x3e972f){const _0x25089c=_0x1b6bd2;return this[_0x25089c(0xae)](_0x25089c(0x156),_0x3ca1c2=>_0x3ca1c2['setStartArrow'](this[_0x25089c(0xb5)],_0x1dacb9,_0x3e972f)),this;}['setEndArrow'](_0xa60973,_0x5d2662){const _0x56aa06=_0x1b6bd2;return this['_mutateConnector'](_0x56aa06(0x145),_0x3094d3=>_0x3094d3[_0x56aa06(0x13e)](this['_shapeRef'],_0xa60973,_0x5d2662)),this;}[_0x1b6bd2(0x123)](){const _0x2d86d0=_0x1b6bd2;return this[_0x2d86d0(0x104)][_0x2d86d0(0xe2)](_0x45d649[_0x2d86d0(0x83)]);}['_getConnectorSnapshot'](){const _0x9f649d=_0x1b6bd2;let _0x502e33=this[_0x9f649d(0x123)]();if(!_0x502e33)return null;try{return _0x502e33[_0x9f649d(0x79)](this['_shapeRef'])||(console[_0x9f649d(0x10b)](_0x9f649d(0x11f)+this[_0x9f649d(0xb5)][_0x9f649d(0x7f)]+_0x9f649d(0x7a)),null);}catch(_0x678e63){return console[_0x9f649d(0x10b)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x9f649d(0xb5)][_0x9f649d(0x7f)]+'\x22.',_0x678e63),null;}}[_0x1b6bd2(0x125)](_0x2c4371,_0x196b98,_0x4ef5c7){const _0x59c816=_0x1b6bd2;if(!_0x196b98||!Number['isInteger'](_0x4ef5c7)||_0x4ef5c7<0x0)return console[_0x59c816(0x10b)](_0x59c816(0x8d)+this[_0x59c816(0xb5)][_0x59c816(0x7f)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x34406f={'shapeId':_0x196b98,'cxnIndex':_0x4ef5c7};return this['_mutateConnector'](_0x59c816(0xa0)+_0x2c4371,_0x1aeb88=>_0x2c4371===_0x59c816(0x6f)?_0x1aeb88[_0x59c816(0x70)](this[_0x59c816(0xb5)],_0x34406f):_0x1aeb88[_0x59c816(0x7e)](this[_0x59c816(0xb5)],_0x34406f));}[_0x1b6bd2(0xae)](_0xad2c86,_0x4ddba7){const _0x25926b=_0x1b6bd2;let _0x5d6bb5=this[_0x25926b(0x123)]();if(!_0x5d6bb5)return!0x1;try{let _0xf25fa6=_0x4ddba7(_0x5d6bb5);return _0xf25fa6||console[_0x25926b(0x10b)](_0x25926b(0x14f)+_0xad2c86+_0x25926b(0x102)+this[_0x25926b(0xb5)]['shapeId']+'\x22.'),_0xf25fa6;}catch(_0x884c22){return console[_0x25926b(0x10b)](_0x25926b(0x14f)+_0xad2c86+_0x25926b(0x102)+this['_shapeRef'][_0x25926b(0x7f)]+'\x22.',_0x884c22),!0x1;}}};function _0x32e256(_0x2b6b49,_0x4ed3c7){const _0x540ec1=_0x1b6bd2;return!Number[_0x540ec1(0x10c)](_0x2b6b49['x'])||!Number[_0x540ec1(0x10c)](_0x2b6b49['y'])?(console['warn'](_0x540ec1(0x8d)+_0x4ed3c7+_0x540ec1(0x68)),!0x1):!0x0;}_0x1f467a[_0x1b6bd2(0x133)]=_0x11d06a,Object[_0x1b6bd2(0x10e)](_0x1f467a,_0x1b6bd2(0xd7),{'enumerable':!0x0,'get':function(){return _0xa05e3e;}}),_0x1f467a[_0x1b6bd2(0xa6)]=_0x5df612;}));
1
+ (function(_0x11e273,_0xed60d){const _0x9afc8f=_0x334e,_0xae55fa=_0x11e273();while(!![]){try{const _0x10affb=parseInt(_0x9afc8f(0x1f3))/0x1+-parseInt(_0x9afc8f(0x2c2))/0x2*(-parseInt(_0x9afc8f(0x24c))/0x3)+-parseInt(_0x9afc8f(0x212))/0x4*(parseInt(_0x9afc8f(0x1f2))/0x5)+parseInt(_0x9afc8f(0x1c1))/0x6*(parseInt(_0x9afc8f(0x206))/0x7)+parseInt(_0x9afc8f(0x25b))/0x8*(-parseInt(_0x9afc8f(0x25d))/0x9)+-parseInt(_0x9afc8f(0x2c0))/0xa*(-parseInt(_0x9afc8f(0x210))/0xb)+-parseInt(_0x9afc8f(0x244))/0xc;if(_0x10affb===_0xed60d)break;else _0xae55fa['push'](_0xae55fa['shift']());}catch(_0x7e1bbe){_0xae55fa['push'](_0xae55fa['shift']());}}}(_0x47b4,0x4e966),function(_0x532fd2,_0x53b71b){const _0x21503c=_0x334e;typeof exports==_0x21503c(0x1db)&&typeof module<'u'?_0x53b71b(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define=='function'&&define[_0x21503c(0x1e5)]?define([_0x21503c(0x243),'@univerjs-pro/engine-shape',_0x21503c(0x2ac),_0x21503c(0x1f5)],_0x53b71b):(_0x532fd2=typeof globalThis<'u'?globalThis:_0x532fd2||self,_0x53b71b(_0x532fd2[_0x21503c(0x1b9)]={},_0x532fd2['UniverProEngineShape'],_0x532fd2[_0x21503c(0x1d0)],_0x532fd2[_0x21503c(0x22e)]));}(this,function(_0x25bbe2,_0x3a4171,_0x49ea57,_0x168b23){const _0xe5f1b9=_0x334e;Object[_0xe5f1b9(0x2c5)](_0x25bbe2,Symbol[_0xe5f1b9(0x20d)],{'value':_0xe5f1b9(0x2af)});var _0x278421=class extends _0x49ea57[_0xe5f1b9(0x256)]{get[_0xe5f1b9(0x1bc)](){const _0x357db2=_0xe5f1b9;return _0x3a4171[_0x357db2(0x1bc)];}get[_0xe5f1b9(0x27a)](){return _0x3a4171['ShapeFillEnum'];}get[_0xe5f1b9(0x208)](){const _0x4fea29=_0xe5f1b9;return _0x3a4171[_0x4fea29(0x208)];}get['ShapeImageFillModeEnum'](){const _0x1408a7=_0xe5f1b9;return _0x3a4171[_0x1408a7(0x271)];}get[_0xe5f1b9(0x1d9)](){const _0x3a22ab=_0xe5f1b9;return _0x3a4171[_0x3a22ab(0x24f)];}get['ShapeLineTypeEnum'](){return _0x3a4171['ShapeLineTypeEnum'];}get['ShapeLineDashEnum'](){const _0x4625fa=_0xe5f1b9;return _0x3a4171[_0x4625fa(0x1bb)];}get[_0xe5f1b9(0x1fb)](){const _0x4bb323=_0xe5f1b9;return _0x3a4171[_0x4bb323(0x1fb)];}get[_0xe5f1b9(0x1d3)](){return _0x3a4171['ShapeLineJoinEnum'];}get[_0xe5f1b9(0x257)](){const _0x4ce592=_0xe5f1b9;return _0x3a4171[_0x4ce592(0x257)];}get['ShapeArrowTypeEnum'](){return _0x3a4171['ShapeArrowTypeEnum'];}get[_0xe5f1b9(0x2bb)](){const _0x22112c=_0xe5f1b9;return _0x3a4171[_0x22112c(0x2bb)];}get[_0xe5f1b9(0x1c5)](){const _0x34316b=_0xe5f1b9;return _0x3a4171[_0x34316b(0x1c5)];}get[_0xe5f1b9(0x24b)](){const _0x4b6ba5=_0xe5f1b9;return _0x3a4171[_0x4b6ba5(0x24b)];}get[_0xe5f1b9(0x24d)](){const _0x30ddc2=_0xe5f1b9;return _0x3a4171[_0x30ddc2(0x24d)];}};_0x49ea57[_0xe5f1b9(0x256)][_0xe5f1b9(0x2ab)](_0x278421);function _0x160632(_0x3a9027){const _0x23d328=_0xe5f1b9;switch(_0x3a9027){case _0x3a4171[_0x23d328(0x208)][_0x23d328(0x1d2)]:return _0x23d328(0x25c);case _0x3a4171[_0x23d328(0x208)][_0x23d328(0x21c)]:return _0x23d328(0x2a8);case _0x3a4171[_0x23d328(0x208)][_0x23d328(0x260)]:return _0x23d328(0x214);case _0x3a4171[_0x23d328(0x208)][_0x23d328(0x29d)]:default:return _0x23d328(0x294);}}function _0x1c7141(_0x1ddb02){const _0x4c09e3=_0xe5f1b9;return _0x1ddb02===_0x3a4171[_0x4c09e3(0x271)][_0x4c09e3(0x237)]?_0x4c09e3(0x292):'stretch';}var _0x4498ca=class{constructor(_0x4a64fd,_0x1ec805){this['_shapeRef']=_0x4a64fd,this['_injector']=_0x1ec805;}[_0xe5f1b9(0x211)](){const _0x5af45f=_0xe5f1b9;var _0x23d0f5;return(0x0,_0x3a4171[_0x5af45f(0x218)])((_0x23d0f5=this['_getShapeData']())==null?void 0x0:_0x23d0f5['shapeText']);}[_0xe5f1b9(0x1ef)](){const _0x1a13ac=_0xe5f1b9;var _0x49d321;return((_0x49d321=this[_0x1a13ac(0x211)]())==null?void 0x0:_0x49d321[_0x1a13ac(0x216)]())??null;}[_0xe5f1b9(0x2a0)](_0xc99c7c){const _0x30006c=_0xe5f1b9;return this[_0x30006c(0x1ce)](_0x4f48b5=>({..._0x4f48b5,'shapeText':(0x0,_0x3a4171[_0x30006c(0x2b9)])(_0x4f48b5['shapeText'],_0xc99c7c)})),this;}['setText'](_0x16b3f9){const _0x568fab=_0xe5f1b9;return this[_0x568fab(0x1ce)](_0x10ecb9=>({..._0x10ecb9,'shapeText':(0x0,_0x3a4171[_0x568fab(0x2c3)])(_0x10ecb9[_0x568fab(0x1e7)],_0x16b3f9)})),this;}['setTextStyle'](_0x520985){const _0x413e09=_0xe5f1b9;return this[_0x413e09(0x1ce)](_0x3e7924=>({..._0x3e7924,'shapeText':(0x0,_0x3a4171[_0x413e09(0x223)])(_0x3e7924[_0x413e09(0x1e7)],_0x520985)})),this;}[_0xe5f1b9(0x286)](_0x5c440c,_0x29e5a8){const _0xcd83af=_0xe5f1b9;return this[_0xcd83af(0x1f6)]({'cl':{'rgb':_0x5c440c},'textFill':{'type':_0xcd83af(0x26e),'color':_0x5c440c,'opacity':_0x29e5a8}});}[_0xe5f1b9(0x27d)](){const _0x5cd07f=_0xe5f1b9;return this[_0x5cd07f(0x1f6)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x5cd07f(0x266)}});}[_0xe5f1b9(0x23b)](_0x38642a,_0x40db40,_0x19af0b){const _0x31e67e=_0xe5f1b9;return _0x40db40[_0x31e67e(0x23d)]<0x2?(console['warn'](_0x31e67e(0x1b7)),this):this['setTextStyle']({'cl':{'rgb':_0x40db40[0x0][_0x31e67e(0x1de)]},'textFill':{'type':'gradient','gradient':{'type':_0x160632(_0x38642a),'angle':_0x19af0b,'stops':_0x40db40[_0x31e67e(0x2ad)](({position:_0xee391a,color:_0x1feb25,opacity:_0x29cd59})=>({'offset':_0xee391a,'color':_0x1feb25,'opacity':_0x29cd59}))}}});}[_0xe5f1b9(0x1ca)](_0x19ea6b,_0x2490f9=_0x3a4171[_0xe5f1b9(0x24f)][_0xe5f1b9(0x253)],_0x45ff11={}){const _0x15bb25=_0xe5f1b9;return this[_0x15bb25(0x1f6)]({'textFill':{'type':_0x15bb25(0x205),'picture':{'source':_0x19ea6b,'sourceType':_0x2490f9,'opacity':_0x45ff11['opacity'],'mode':_0x1c7141(_0x45ff11['mode']),'scaleX':_0x45ff11[_0x15bb25(0x1b6)],'scaleY':_0x45ff11[_0x15bb25(0x2b0)],'offsetX':_0x45ff11[_0x15bb25(0x209)],'offsetY':_0x45ff11[_0x15bb25(0x245)]}}});}[_0xe5f1b9(0x1cc)](_0x247dd9){const _0x138675=_0xe5f1b9;return this[_0x138675(0x1f6)]({'fs':_0x247dd9});}['setFontFamily'](_0x4a875a){const _0x4c62ec=_0xe5f1b9;return this[_0x4c62ec(0x1f6)]({'ff':_0x4a875a});}['setBold'](_0x2fd9cb){const _0x29ce61=_0xe5f1b9;return this['setTextStyle']({'bl':_0x2fd9cb?_0x168b23[_0x29ce61(0x291)]['TRUE']:_0x168b23[_0x29ce61(0x291)][_0x29ce61(0x21e)]});}[_0xe5f1b9(0x22d)](_0x23f919){const _0x56b6b2=_0xe5f1b9;return this[_0x56b6b2(0x1f6)]({'it':_0x23f919?_0x168b23[_0x56b6b2(0x291)]['TRUE']:_0x168b23[_0x56b6b2(0x291)][_0x56b6b2(0x21e)]});}['setUnderline'](_0x17a4ab){const _0x1d7c0d=_0xe5f1b9;return this[_0x1d7c0d(0x1f6)]({'ul':{'s':_0x17a4ab?_0x168b23['BooleanNumber'][_0x1d7c0d(0x26b)]:_0x168b23[_0x1d7c0d(0x291)]['FALSE']}});}[_0xe5f1b9(0x29e)](_0x32787c){const _0x3d1a7e=_0xe5f1b9;return this[_0x3d1a7e(0x1f6)]({'st':{'s':_0x32787c?_0x168b23[_0x3d1a7e(0x291)][_0x3d1a7e(0x26b)]:_0x168b23[_0x3d1a7e(0x291)][_0x3d1a7e(0x21e)]}});}[_0xe5f1b9(0x241)](_0xced9b0){const _0x2d63c9=_0xe5f1b9;return this[_0x2d63c9(0x1ce)](_0x9d9072=>(0x0,_0x3a4171[_0x2d63c9(0x287)])(_0x9d9072,{'horizontalAlign':_0xced9b0})),this;}[_0xe5f1b9(0x1fd)](_0x216406){const _0x11c47f=_0xe5f1b9;return this[_0x11c47f(0x1ce)](_0x165bf9=>(0x0,_0x3a4171[_0x11c47f(0x287)])(_0x165bf9,{'verticalAlign':_0x216406})),this;}['getTextBoxOptions'](){let _0x470566=this['_getShapeData']();return _0x470566?(0x0,_0x3a4171['resolveShapeTextBoxOptions'])(_0x470566):null;}[_0xe5f1b9(0x246)](_0x1e9b75){const _0x2e6617=_0xe5f1b9;return this[_0x2e6617(0x1ce)](_0x5666a6=>(0x0,_0x3a4171[_0x2e6617(0x1dd)])(_0x5666a6,_0x1e9b75)),this;}[_0xe5f1b9(0x254)](){const _0x45a4c0=_0xe5f1b9;return this[_0x45a4c0(0x298)]['get'](_0x3a4171['IShapeHostAdapterRegistry'])[_0x45a4c0(0x276)](this[_0x45a4c0(0x288)]['hostType']);}['_getShapeData'](){const _0x5bb000=_0xe5f1b9;let _0x5e38bc=this[_0x5bb000(0x254)]();if(!_0x5e38bc)return null;try{var _0xdc0384;return((_0xdc0384=_0x5e38bc[_0x5bb000(0x270)](this[_0x5bb000(0x288)]))==null?void 0x0:_0xdc0384[_0x5bb000(0x282)])||(console[_0x5bb000(0x1c4)](_0x5bb000(0x2c1)+this[_0x5bb000(0x288)][_0x5bb000(0x272)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x14032d){return console[_0x5bb000(0x1c4)](_0x5bb000(0x21f)+this[_0x5bb000(0x288)][_0x5bb000(0x272)]+_0x5bb000(0x28f),_0x14032d),null;}}[_0xe5f1b9(0x1ce)](_0x471e14){const _0x231197=_0xe5f1b9;let _0x21385f=this[_0x231197(0x254)]();if(!_0x21385f)return!0x1;try{var _0x20c3fe;let _0x55ed5b=(_0x20c3fe=_0x21385f[_0x231197(0x270)](this['_shapeRef']))==null?void 0x0:_0x20c3fe[_0x231197(0x282)];if(!_0x55ed5b)return console[_0x231197(0x1c4)](_0x231197(0x2c1)+this[_0x231197(0x288)][_0x231197(0x272)]+_0x231197(0x290)),!0x1;let _0x917672=_0x21385f[_0x231197(0x200)](this[_0x231197(0x288)],{'shapeData':_0x471e14(_0x55ed5b)});return _0x917672||console[_0x231197(0x1c4)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x231197(0x288)]['shapeId']+_0x231197(0x28f)),_0x917672;}catch(_0x41a576){return console[_0x231197(0x1c4)](_0x231197(0x27e)+this[_0x231197(0x288)][_0x231197(0x272)]+_0x231197(0x28f),_0x41a576),!0x1;}}};function _0x9f73d(_0x2b64be,_0x169033){return function(_0x441a79,_0x254423){_0x169033(_0x441a79,_0x254423,_0x2b64be);};}function _0x2f55e7(_0x59dfc9,_0xb48a24,_0x476c25,_0x59feee){const _0x475ecf=_0xe5f1b9;var _0x56fa0b=arguments['length'],_0x1377fc=_0x56fa0b<0x3?_0xb48a24:_0x59feee===null?_0x59feee=Object[_0x475ecf(0x239)](_0xb48a24,_0x476c25):_0x59feee,_0x3fce1d;if(typeof Reflect=='object'&&typeof Reflect[_0x475ecf(0x1d1)]=='function')_0x1377fc=Reflect[_0x475ecf(0x1d1)](_0x59dfc9,_0xb48a24,_0x476c25,_0x59feee);else{for(var _0x538012=_0x59dfc9[_0x475ecf(0x23d)]-0x1;_0x538012>=0x0;_0x538012--)(_0x3fce1d=_0x59dfc9[_0x538012])&&(_0x1377fc=(_0x56fa0b<0x3?_0x3fce1d(_0x1377fc):_0x56fa0b>0x3?_0x3fce1d(_0xb48a24,_0x476c25,_0x1377fc):_0x3fce1d(_0xb48a24,_0x476c25))||_0x1377fc);}return _0x56fa0b>0x3&&_0x1377fc&&Object[_0x475ecf(0x2c5)](_0xb48a24,_0x476c25,_0x1377fc),_0x1377fc;}var _0x4504f3;function _0x58020e(_0x2ed06a){const _0x1b767f=_0xe5f1b9;let _0x3cc066=_0x168b23[_0x1b767f(0x1ee)]['deepClone'](_0x2ed06a);return _0x3cc066[_0x1b767f(0x247)]&&=_0x3cc066[_0x1b767f(0x247)][_0x1b767f(0x2ad)](_0x197e0e=>{const _0xf6d53=_0x1b767f;var _0x363f29;if((_0x363f29=_0x197e0e[_0xf6d53(0x1bf)])!=null&&_0x363f29[_0xf6d53(0x23d)]){let {data:_0x3e6961,..._0x303bff}=_0x197e0e;return _0x303bff;}if(_0x197e0e['data']===void 0x0)return _0x197e0e;let _0x1ab100=(0x0,_0x3a4171[_0xf6d53(0x273)])(_0x197e0e[_0xf6d53(0x228)]),{data:_0x28e945,..._0x53529a}=_0x197e0e;return{..._0x53529a,'dataArray':_0x1ab100};}),_0x3cc066;}let _0xb454a0=_0x4504f3=class extends _0x49ea57[_0xe5f1b9(0x279)]{constructor(_0x59e7d8,_0x4ada56,_0x4c28a6,_0x2d47f3){const _0x499fd5=_0xe5f1b9;super(),this[_0x499fd5(0x288)]=_0x59e7d8,this[_0x499fd5(0x298)]=_0x4ada56,this[_0x499fd5(0x1d4)]=_0x4c28a6,this[_0x499fd5(0x296)]=_0x2d47f3;}[_0xe5f1b9(0x203)](){return!0x1;}[_0xe5f1b9(0x28e)](){const _0x3488c9=_0xe5f1b9;return this[_0x3488c9(0x288)][_0x3488c9(0x272)];}[_0xe5f1b9(0x217)](){const _0x455e75=_0xe5f1b9;var _0x2c5391;return(_0x2c5391=this['_getSnapshot']())==null?void 0x0:_0x2c5391[_0x455e75(0x1b4)];}[_0xe5f1b9(0x215)](_0x8131d1){const _0x1e96fb=_0xe5f1b9;return this[_0x1e96fb(0x2ba)]({'name':_0x8131d1});}[_0xe5f1b9(0x281)](){const _0x42aeee=_0xe5f1b9;var _0x5cc0f8;return(_0x5cc0f8=this[_0x42aeee(0x289)]())==null?void 0x0:_0x5cc0f8['description'];}['setDescription'](_0x592da5){const _0x5981af=_0xe5f1b9;return this[_0x5981af(0x2ba)]({'description':_0x592da5});}[_0xe5f1b9(0x1e9)](){const _0x4b60ae=_0xe5f1b9;return this[_0x4b60ae(0x288)][_0x4b60ae(0x213)];}['getShapeType'](){const _0x3635b2=_0xe5f1b9;var _0x24501e;return((_0x24501e=this[_0x3635b2(0x289)]())==null?void 0x0:_0x24501e[_0x3635b2(0x2b2)])??null;}[_0xe5f1b9(0x268)](){const _0x1d488e=_0xe5f1b9;let _0x23b639=this[_0x1d488e(0x289)]();return _0x23b639?_0x168b23[_0x1d488e(0x1ee)]['deepClone'](_0x23b639[_0x1d488e(0x282)]):null;}[_0xe5f1b9(0x1e1)](){const _0x1f9241=_0xe5f1b9;var _0x4f08aa;let _0x3e8260=(_0x4f08aa=this[_0x1f9241(0x289)]())==null?void 0x0:_0x4f08aa[_0x1f9241(0x282)];return!!_0x3e8260&&(0x0,_0x3a4171[_0x1f9241(0x280)])(_0x3e8260);}[_0xe5f1b9(0x2b1)](){const _0x184a5f=_0xe5f1b9;var _0x197a21;let _0x1eeef2=(_0x197a21=this[_0x184a5f(0x289)]())==null?void 0x0:_0x197a21[_0x184a5f(0x282)];return _0x1eeef2&&(0x0,_0x3a4171[_0x184a5f(0x280)])(_0x1eeef2)?_0x168b23['Tools'][_0x184a5f(0x2c4)](_0x1eeef2[_0x184a5f(0x234)]):null;}[_0xe5f1b9(0x29c)](_0x2a4392){const _0x2be302=_0xe5f1b9;return this['_updateSmartArt']({'type':_0x3a4171['SmartArtOperationTypeEnum'][_0x2be302(0x27b)],'data':_0x168b23[_0x2be302(0x1ee)]['deepClone'](_0x2a4392)});}[_0xe5f1b9(0x1ea)](_0x4e096f){const _0x12be14=_0xe5f1b9;return this[_0x12be14(0x20c)]({'type':_0x3a4171[_0x12be14(0x2be)][_0x12be14(0x1c6)],'nodeId':_0x4e096f[_0x12be14(0x22c)]['id'],'node':_0x168b23[_0x12be14(0x1ee)]['deepClone'](_0x4e096f[_0x12be14(0x22c)]),'targetNodeId':_0x4e096f[_0x12be14(0x1cd)],'position':_0x4e096f['position']});}['deleteSmartArtNode'](_0x33cf6e){const _0x3c9cd8=_0xe5f1b9;return this[_0x3c9cd8(0x20c)]({'type':_0x3a4171[_0x3c9cd8(0x2be)][_0x3c9cd8(0x1f8)],'nodeId':_0x33cf6e});}[_0xe5f1b9(0x258)](_0x9d6359){const _0x39b9df=_0xe5f1b9;return this['_updateSmartArt']({'type':_0x3a4171[_0x39b9df(0x2be)][_0x39b9df(0x293)],..._0x9d6359});}['promoteSmartArtNode'](_0x13e0c2){const _0x37f977=_0xe5f1b9;return this[_0x37f977(0x20c)]({'type':_0x3a4171['SmartArtOperationTypeEnum'][_0x37f977(0x267)],'nodeId':_0x13e0c2});}[_0xe5f1b9(0x295)](_0x4282ea){const _0x4ff471=_0xe5f1b9;return this[_0x4ff471(0x20c)]({'type':_0x3a4171[_0x4ff471(0x2be)][_0x4ff471(0x221)],'nodeId':_0x4282ea});}[_0xe5f1b9(0x1d5)](_0x5ab12e,_0x3743fd){const _0x27b4c4=_0xe5f1b9;return this[_0x27b4c4(0x20c)]({'type':_0x3a4171[_0x27b4c4(0x2be)][_0x27b4c4(0x265)],'nodeId':_0x5ab12e,'update':_0x168b23[_0x27b4c4(0x1ee)][_0x27b4c4(0x2c4)](_0x3743fd)});}[_0xe5f1b9(0x1bd)](_0x3be39e){const _0x2c4752=_0xe5f1b9;return this[_0x2c4752(0x20c)]({'type':_0x3a4171['SmartArtOperationTypeEnum'][_0x2c4752(0x28a)],'direction':_0x3be39e});}[_0xe5f1b9(0x1b2)](_0x449b40){const _0xd9634a=_0xe5f1b9;return this[_0xd9634a(0x20c)]({'type':_0x3a4171[_0xd9634a(0x2be)][_0xd9634a(0x1e8)],'layoutId':_0x449b40});}[_0xe5f1b9(0x264)](_0x2d96b8,_0x57f365){const _0x45adc5=_0xe5f1b9;return this['_updateSmartArt']({'type':_0x3a4171[_0x45adc5(0x2be)][_0x45adc5(0x251)],'presentationShapeId':_0x2d96b8,'update':_0x168b23[_0x45adc5(0x1ee)][_0x45adc5(0x2c4)](_0x57f365)});}[_0xe5f1b9(0x202)](){const _0x2a7221=_0xe5f1b9;let _0x189ca3=this[_0x2a7221(0x254)]();if(!(_0x189ca3!=null&&_0x189ca3[_0x2a7221(0x202)]))return console[_0x2a7221(0x1c4)](_0x2a7221(0x219)+this[_0x2a7221(0x288)][_0x2a7221(0x272)]+'\x22.'),[];try{let _0x521828=_0x189ca3['convertSmartArtToShapes'](this[_0x2a7221(0x288)]);return _0x521828?_0x521828[_0x2a7221(0x2ad)](_0x121705=>this[_0x2a7221(0x298)][_0x2a7221(0x227)](_0x4504f3,{'hostType':_0x121705[_0x2a7221(0x213)],'unitId':_0x121705[_0x2a7221(0x22a)],'subUnitId':_0x121705['subUnitId'],'shapeId':_0x121705['shapeId']},this[_0x2a7221(0x298)])):(console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20convert\x20SmartArt\x20Shape\x20\x22'+this[_0x2a7221(0x288)][_0x2a7221(0x272)]+'\x22.'),[]);}catch(_0x5b9866){return console[_0x2a7221(0x1c4)](_0x2a7221(0x1e4)+this[_0x2a7221(0x288)]['shapeId']+'\x22.',_0x5b9866),[];}}['getSnapshot'](){const _0x2df772=_0xe5f1b9;let _0x57c2b9=this[_0x2df772(0x289)]();return _0x57c2b9?_0x168b23[_0x2df772(0x1ee)][_0x2df772(0x2c4)](_0x57c2b9):null;}[_0xe5f1b9(0x1ba)](){const _0x572c35=_0xe5f1b9;let _0x441ef7=this[_0x572c35(0x289)]();return _0x441ef7?{..._0x441ef7[_0x572c35(0x1c2)]}:null;}[_0xe5f1b9(0x277)](){const _0x1dc377=_0xe5f1b9;var _0x3ebf4d;return((_0x3ebf4d=this['_getSnapshot']())==null?void 0x0:_0x3ebf4d[_0x1dc377(0x29a)])??!0x1;}['setVisible'](_0x4397a5){const _0x1c757e=_0xe5f1b9;return this[_0x1c757e(0x2ba)]({'visible':_0x4397a5});}[_0xe5f1b9(0x1fe)](){const _0x5df707=_0xe5f1b9;var _0x574c9a;return((_0x574c9a=this[_0x5df707(0x289)]())==null?void 0x0:_0x574c9a[_0x5df707(0x2b4)])??!0x1;}[_0xe5f1b9(0x249)](_0x19c46e){const _0x3f547d=_0xe5f1b9;return this[_0x3f547d(0x2ba)]({'selectable':_0x19c46e});}[_0xe5f1b9(0x2c7)](){const _0x2b239a=_0xe5f1b9;return this[_0x2b239a(0x298)][_0x2b239a(0x227)](_0x4498ca,this['_shapeRef'],this[_0x2b239a(0x298)]);}[_0xe5f1b9(0x27f)](){const _0x435929=_0xe5f1b9;let _0x2f0e42=this['getShapeData']();return(_0x2f0e42==null?void 0x0:_0x2f0e42[_0x435929(0x2ae)])===!0x0&&!!_0x2f0e42[_0x435929(0x1da)];}['getCustomGeometry'](){const _0x31510d=_0xe5f1b9;var _0x1b7975;return((_0x1b7975=this[_0x31510d(0x268)]())==null?void 0x0:_0x1b7975['customGeometry'])??null;}[_0xe5f1b9(0x21d)](_0x31b9f7){const _0x4e2e2f=_0xe5f1b9;return this[_0x4e2e2f(0x222)](_0x4dab16=>({..._0x4dab16,'shapeType':_0x31b9f7}),_0x31b9f7);}[_0xe5f1b9(0x2b7)](_0x2a08d5){const _0x36e95b=_0xe5f1b9;let _0x1c3d79=_0x168b23[_0x36e95b(0x1ee)][_0x36e95b(0x2c4)](_0x2a08d5);return this[_0x36e95b(0x2ba)]({'shapeType':_0x1c3d79[_0x36e95b(0x2b2)],'shapeData':_0x1c3d79});}[_0xe5f1b9(0x285)](_0x2a49a6){return this['update']({'transform':_0x2a49a6});}[_0xe5f1b9(0x299)](_0x4a61e5,_0x478629){return this['setTransform']({'width':_0x4a61e5,'height':_0x478629});}['setRotation'](_0x2463df){const _0x128116=_0xe5f1b9;return this[_0x128116(0x285)]({'rotation':_0x2463df});}['setAbsolutePosition'](_0x3a6281,_0x1f5914){const _0x54af2d=_0xe5f1b9;return this[_0x54af2d(0x285)]({'left':_0x3a6281,'top':_0x1f5914});}[_0xe5f1b9(0x2bd)](_0x156e29){const _0x370c49=_0xe5f1b9;var _0x51edf9,_0x48fa8c;let _0x2f2294=((_0x51edf9=_0x156e29['cxnLst'])==null?void 0x0:_0x51edf9[_0x370c49(0x20b)](({x:_0x3967a8,y:_0x2a797f})=>_0x3967a8===void 0x0||_0x2a797f===void 0x0))??-0x1;if(_0x2f2294>=0x0)return console[_0x370c49(0x1c4)](_0x370c49(0x269)+_0x2f2294+'\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.'),this;let _0x5111c2=_0x58020e(_0x156e29);if((_0x48fa8c=_0x5111c2['cxnLst'])!=null&&_0x48fa8c['length']){let _0x23bad0=this[_0x370c49(0x289)]();if(!_0x23bad0)return this;try{let _0x714ebd=new _0x3a4171[(_0x370c49(0x1b5))](_0x23bad0[_0x370c49(0x2b2)],_0x23bad0['shapeId'],{..._0x23bad0[_0x370c49(0x282)],'isCustom':!0x0,'customGeometry':_0x5111c2});_0x714ebd[_0x370c49(0x24a)]({'width':_0x23bad0[_0x370c49(0x1c2)]['width'],'height':_0x23bad0[_0x370c49(0x1c2)]['height']}),_0x714ebd[_0x370c49(0x252)]();}catch{return console['warn'](_0x370c49(0x259)),this;}}return this[_0x370c49(0x222)](_0x29c7e3=>({..._0x29c7e3,'isCustom':!0x0,'customGeometry':_0x5111c2}));}[_0xe5f1b9(0x1b3)](_0x13a542){const _0x56f2e7=_0xe5f1b9;return this[_0x56f2e7(0x2bd)]({'rect':{'l':0x0,'t':0x0,'r':'r','b':'b'},'pathLst':[{'w':_0x13a542[_0x56f2e7(0x1ff)],'h':_0x13a542[_0x56f2e7(0x1f9)],'fill':_0x13a542[_0x56f2e7(0x25a)],'stroke':_0x13a542[_0x56f2e7(0x236)],'data':_0x13a542[_0x56f2e7(0x1c0)]}]});}[_0xe5f1b9(0x1d7)](){const _0x45ff31=_0xe5f1b9;var _0x19e9ce;return((_0x19e9ce=this['_getGeometryModel']())==null?void 0x0:_0x19e9ce[_0x45ff31(0x252)]()['map'](_0x42c445=>({..._0x42c445})))??[];}[_0xe5f1b9(0x2a1)](){const _0x13626a=_0xe5f1b9;var _0x415efd;let _0x448088=(_0x415efd=this[_0x13626a(0x278)]())==null?void 0x0:_0x415efd[_0x13626a(0x2a1)]();return _0x448088?{..._0x448088}:null;}[_0xe5f1b9(0x242)](){const _0x22caa7=_0xe5f1b9;var _0xdcd391;let _0x487cef=(_0xdcd391=this[_0x22caa7(0x278)]())==null?void 0x0:_0xdcd391['getEndConnectInfo']();return _0x487cef?{..._0x487cef}:null;}[_0xe5f1b9(0x2b8)](){const _0x314565=_0xe5f1b9;var _0xad6254;let _0x31c430=this[_0x314565(0x278)](),_0x8e15ce=(_0x31c430==null||(_0xad6254=_0x31c430[_0x314565(0x1f0)]()['ahLst'])==null?void 0x0:_0xad6254[_0x314565(0x23d)])??0x0;return!_0x31c430||_0x8e15ce===0x0?[]:Array[_0x314565(0x21b)]({'length':_0x8e15ce},(_0x169bbe,_0x2445cb)=>_0x31c430['getAdjustInfo'](_0x2445cb))[_0x314565(0x2c8)](_0x202864=>_0x202864!==void 0x0)['map'](_0xd6e8f=>_0x168b23['Tools'][_0x314565(0x2c4)](_0xd6e8f));}[_0xe5f1b9(0x2a5)](_0x311d22){const _0x22ed86=_0xe5f1b9;let _0x20bb13=Object[_0x22ed86(0x2a6)](_0x311d22);if(_0x20bb13['length']===0x0)return this;let _0x29734c=this[_0x22ed86(0x278)]();if(!_0x29734c)return this;let _0x1b7291=new Set(_0x29734c[_0x22ed86(0x25f)]());for(let [_0x1a7173,_0x10bdba]of _0x20bb13){if(!_0x1b7291['has'](_0x1a7173))return console['warn'](_0x22ed86(0x240)+_0x1a7173+_0x22ed86(0x1e3)),this;if(!Number[_0x22ed86(0x1ec)](_0x10bdba))return console[_0x22ed86(0x1c4)](_0x22ed86(0x240)+_0x1a7173+'\x22\x20must\x20be\x20finite.'),this;}let _0x2825d5=Object[_0x22ed86(0x20f)](_0x20bb13[_0x22ed86(0x2ad)](([_0x279146,_0xa5265])=>[_0x279146,_0x29734c[_0x22ed86(0x1e2)](_0x279146,_0xa5265)]));return this[_0x22ed86(0x222)](_0x206ade=>({..._0x206ade,'adjustValues':{..._0x206ade[_0x22ed86(0x23a)],..._0x2825d5}}));}[_0xe5f1b9(0x29b)](){const _0x2b6eb4=_0xe5f1b9;let _0x49f307=this[_0x2b6eb4(0x268)]();return _0x49f307!=null&&_0x49f307['adjustValues']?(delete _0x49f307[_0x2b6eb4(0x23a)],this[_0x2b6eb4(0x2ba)]({'shapeData':_0x49f307})):this;}[_0xe5f1b9(0x1c9)](_0x29417c,_0x2285de){const _0x380b62=_0xe5f1b9;return this['_patchShapeData'](_0x4781d7=>({..._0x4781d7,'fill':{'fillType':_0x3a4171[_0x380b62(0x27a)][_0x380b62(0x23c)],'color':_0x29417c,'opacity':_0x2285de}}));}[_0xe5f1b9(0x23b)](_0x21ce36,_0x4cb564,_0x27c145){const _0xc00104=_0xe5f1b9;return _0x4cb564['length']<0x2?(console[_0xc00104(0x1c4)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this['_patchShapeData'](_0x8ef243=>({..._0x8ef243,'fill':{'fillType':_0x3a4171[_0xc00104(0x27a)][_0xc00104(0x1fc)],'gradientType':_0x21ce36,'gradientStops':_0x168b23[_0xc00104(0x1ee)][_0xc00104(0x2c4)](_0x4cb564),'gradientAngle':_0x27c145}}));}[_0xe5f1b9(0x1ca)](_0x8048bf,_0x2424d9,_0x488f32={}){const _0x58bd08=_0xe5f1b9;return this[_0x58bd08(0x222)](_0x400093=>({..._0x400093,'fill':{..._0x168b23[_0x58bd08(0x1ee)][_0x58bd08(0x2c4)](_0x488f32),'fillType':_0x3a4171[_0x58bd08(0x27a)][_0x58bd08(0x263)],'fillImageSource':_0x8048bf,'fillImageSourceType':_0x2424d9}}));}[_0xe5f1b9(0x27d)](){const _0x3aea4e=_0xe5f1b9;return this['_patchShapeData'](_0x66330f=>({..._0x66330f,'fill':{'fillType':_0x3a4171[_0x3aea4e(0x27a)][_0x3aea4e(0x28d)]}}));}['setStroke'](_0x2d561e){const _0x32ca85=_0xe5f1b9;return this[_0x32ca85(0x222)](_0x5820d4=>({..._0x5820d4,'stroke':_0x168b23['Tools'][_0x32ca85(0x2c4)](_0x2d561e)}));}[_0xe5f1b9(0x1dc)](_0x4a196c){const _0x18934c=_0xe5f1b9;return this[_0x18934c(0x25e)](_0x3384fd=>({..._0x3384fd,'color':_0x4a196c,'lineStrokeType':_0x3384fd['lineStrokeType']===_0x3a4171['ShapeLineTypeEnum'][_0x18934c(0x238)]?_0x3a4171['ShapeLineTypeEnum'][_0x18934c(0x261)]:_0x3384fd[_0x18934c(0x1c7)]}));}[_0xe5f1b9(0x1e0)](_0x207e81){const _0x33773f=_0xe5f1b9;return this[_0x33773f(0x25e)](_0x292a59=>({..._0x292a59,'width':_0x207e81,'lineStrokeType':_0x292a59[_0x33773f(0x1c7)]===_0x3a4171['ShapeLineTypeEnum'][_0x33773f(0x238)]?_0x3a4171['ShapeLineTypeEnum']['SolidLine']:_0x292a59['lineStrokeType']}));}[_0xe5f1b9(0x22f)](_0x193a0f){const _0x2f63e7=_0xe5f1b9;return this[_0x2f63e7(0x25e)](_0x18b76b=>({..._0x18b76b,'opacity':_0x193a0f}));}[_0xe5f1b9(0x26c)](_0x2fc916){const _0x464f53=_0xe5f1b9;return this[_0x464f53(0x25e)](_0xb6bfb4=>({..._0xb6bfb4,'dashType':_0x2fc916}));}['setStrokeLineJoinType'](_0x34a6ce){return this['_patchStroke'](_0xdf49ed=>({..._0xdf49ed,'lineJoinType':_0x34a6ce}));}[_0xe5f1b9(0x1f1)](_0xdf2991){const _0x406322=_0xe5f1b9;return this[_0x406322(0x25e)](_0x181cf6=>({..._0x181cf6,'capType':_0xdf2991}));}[_0xe5f1b9(0x2b6)](_0x3abe46){const _0x16532e=_0xe5f1b9;return this[_0x16532e(0x25e)](_0x51a10c=>({..._0x51a10c,'lineStrokeType':_0x3abe46}));}['update'](_0x516965){const _0x17dba7=_0xe5f1b9;var _0x3a8c4b;let _0x34abc8=_0x516965['shapeData'],_0x41cbd2=_0x34abc8&&('relation'in _0x34abc8||_0x17dba7(0x275)in _0x34abc8)?this['getShapeType']():null,_0x304d4d=_0x516965[_0x17dba7(0x2b2)]??((_0x3a8c4b=_0x516965[_0x17dba7(0x282)])==null?void 0x0:_0x3a8c4b['shapeType'])??_0x41cbd2,_0xc53b83=_0x234b25(_0x516965,_0x304d4d!==null&&(0x0,_0x3a4171[_0x17dba7(0x203)])(_0x304d4d));return _0xc53b83?(console[_0x17dba7(0x1c4)](_0x17dba7(0x28c)+_0xc53b83),this):(this[_0x17dba7(0x220)](_0x17dba7(0x2ba),_0x242dd1=>_0x242dd1[_0x17dba7(0x200)](this[_0x17dba7(0x288)],_0x516965)),this);}[_0xe5f1b9(0x1eb)](){const _0x188473=_0xe5f1b9;return this[_0x188473(0x220)](_0x188473(0x1eb),_0x44fa98=>_0x44fa98['removeShape'](this[_0x188473(0x288)]));}['bringToFront'](){const _0x3e86c1=_0xe5f1b9;return this[_0x3e86c1(0x220)]('bring\x20to\x20front',_0x558482=>_0x558482[_0x3e86c1(0x1b8)](this[_0x3e86c1(0x288)])),this;}[_0xe5f1b9(0x231)](){const _0x4e2698=_0xe5f1b9;return this[_0x4e2698(0x220)]('bring\x20forward',_0x21e10d=>_0x21e10d['bringForward'](this[_0x4e2698(0x288)])),this;}[_0xe5f1b9(0x26f)](){const _0xd809a0=_0xe5f1b9;return this[_0xd809a0(0x220)](_0xd809a0(0x274),_0x59bac3=>_0x59bac3[_0xd809a0(0x26f)](this[_0xd809a0(0x288)])),this;}['sendToBack'](){const _0x4aba2d=_0xe5f1b9;return this[_0x4aba2d(0x220)]('send\x20to\x20back',_0x3892c5=>_0x3892c5[_0x4aba2d(0x1ed)](this['_shapeRef'])),this;}[_0xe5f1b9(0x201)](_0x2e801a){const _0x2a8359=_0xe5f1b9;return this[_0x2a8359(0x220)](_0x2a8359(0x2b5),_0x3a14e7=>_0x3a14e7[_0x2a8359(0x201)](this[_0x2a8359(0x288)],_0x2e801a)),this;}['_getAdapter'](){const _0x4e8087=_0xe5f1b9;return this[_0x4e8087(0x1d4)][_0x4e8087(0x276)](this[_0x4e8087(0x288)][_0x4e8087(0x213)]);}['_patchShapeData'](_0xe50425,_0x52d622){const _0x302796=_0xe5f1b9;let _0x504041=this['getShapeData']();return _0x504041?this[_0x302796(0x2ba)]({'shapeType':_0x52d622,'shapeData':_0xe50425(_0x504041)}):this;}[_0xe5f1b9(0x20c)](..._0x548ff8){const _0x57a079=_0xe5f1b9;let _0x191b14=this[_0x57a079(0x254)]();return!_0x191b14||!this[_0x57a079(0x1e1)]()?(console['warn'](_0x57a079(0x1b1)+this['_shapeRef'][_0x57a079(0x272)]+_0x57a079(0x235)),this):(_0x191b14['updateShape'](this[_0x57a079(0x288)],{'smartArtOperations':_0x548ff8})||console['warn'](_0x57a079(0x232)+this[_0x57a079(0x288)][_0x57a079(0x272)]+'\x22.'),this);}[_0xe5f1b9(0x25e)](_0x214a29){const _0x34b488=_0xe5f1b9;return this[_0x34b488(0x222)](_0x4bcded=>({..._0x4bcded,'stroke':_0x214a29(_0x4bcded[_0x34b488(0x236)]??{})}));}[_0xe5f1b9(0x289)](){const _0x5750e7=_0xe5f1b9;let _0x5d4e38=this[_0x5750e7(0x254)]();if(!_0x5d4e38)return null;try{return _0x5d4e38['getShape'](this[_0x5750e7(0x288)])||(console[_0x5750e7(0x1c4)](_0x5750e7(0x1b1)+this['_shapeRef'][_0x5750e7(0x272)]+_0x5750e7(0x290)),null);}catch(_0x14125e){return console[_0x5750e7(0x1c4)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x5750e7(0x288)][_0x5750e7(0x272)]+'\x22.',_0x14125e),null;}}['_getGeometryModel'](){const _0x510681=_0xe5f1b9;let _0x509955=this[_0x510681(0x289)]();if(!_0x509955)return null;try{let _0x33c886=new _0x3a4171[(_0x510681(0x1b5))](_0x509955[_0x510681(0x2b2)],_0x509955['shapeId'],_0x168b23['Tools'][_0x510681(0x2c4)](_0x509955[_0x510681(0x282)]));return _0x33c886[_0x510681(0x24a)]({'width':_0x509955['transform'][_0x510681(0x1ff)],'height':_0x509955[_0x510681(0x1c2)][_0x510681(0x1f9)]}),_0x33c886;}catch(_0x14c02a){return console[_0x510681(0x1c4)](_0x510681(0x27c)+this['_shapeRef']['shapeId']+'\x22.',_0x14c02a),null;}}['_mutate'](_0xdd7f3f,_0x40c269){const _0x4738=_0xe5f1b9;let _0x535c43=this['_getAdapter']();if(!_0x535c43)return!0x1;try{let _0x21acfb=_0x40c269(_0x535c43);return _0x21acfb||console['warn'](_0x4738(0x225)+_0xdd7f3f+_0x4738(0x1cb)+this[_0x4738(0x288)]['shapeId']+'\x22.'),_0x21acfb;}catch(_0x72f897){return console[_0x4738(0x1c4)](_0x4738(0x225)+_0xdd7f3f+_0x4738(0x1cb)+this['_shapeRef'][_0x4738(0x272)]+'\x22.',_0x72f897),!0x1;}}};_0xb454a0=_0x4504f3=_0x2f55e7([_0x9f73d(0x2,_0x3a4171['IShapeHostAdapterRegistry']),_0x9f73d(0x3,_0x168b23[_0xe5f1b9(0x29f)])],_0xb454a0);function _0x234b25(_0x44a7b1,_0x399375=!0x1){const _0x52da39=_0xe5f1b9;for(let _0x4c566e of['visible',_0x52da39(0x2b4)]){let _0x4266ff=_0x44a7b1[_0x4c566e];if(_0x4266ff!==void 0x0&&typeof _0x4266ff!=_0x52da39(0x28b))return _0x52da39(0x26a)+_0x4c566e+'\x22\x20must\x20be\x20boolean.';}let _0x4f888f=_0x44a7b1[_0x52da39(0x1c2)];if(_0x4f888f){for(let _0x2be31b of[_0x52da39(0x284),'top',_0x52da39(0x1ff),_0x52da39(0x1f9),_0x52da39(0x2aa)]){let _0x328ba7=_0x4f888f[_0x2be31b];if(_0x328ba7!==void 0x0&&!Number['isFinite'](_0x328ba7))return _0x52da39(0x1d8)+_0x2be31b+_0x52da39(0x2a7);}if(_0x4f888f[_0x52da39(0x1ff)]!==void 0x0&&_0x4f888f['width']<=0x0)return _0x52da39(0x1cf);if(_0x4f888f[_0x52da39(0x1f9)]!==void 0x0&&_0x4f888f[_0x52da39(0x1f9)]<=0x0)return _0x52da39(0x248);for(let _0x2b9f22 of[_0x52da39(0x2c6),_0x52da39(0x1f7)]){let _0x5d028c=_0x4f888f[_0x2b9f22];if(_0x5d028c!==void 0x0&&typeof _0x5d028c!='boolean')return _0x52da39(0x1d8)+_0x2b9f22+_0x52da39(0x230);}}let _0x7e55ce=_0x44a7b1['shapeData'];return!_0x399375&&_0x7e55ce&&('relation'in _0x7e55ce||_0x52da39(0x275)in _0x7e55ce)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var _0x337f57=class extends _0xb454a0{['isConnectorShape'](){return!0x0;}[_0xe5f1b9(0x224)](){const _0x3b6606=_0xe5f1b9;let _0x4d133e=this[_0x3b6606(0x21a)]();return _0x4d133e?_0x168b23[_0x3b6606(0x1ee)][_0x3b6606(0x2c4)](_0x4d133e[_0x3b6606(0x2bc)]):null;}['getEndEndpoint'](){const _0xdb9b62=_0xe5f1b9;let _0x31c9f5=this['_getConnectorSnapshot']();return _0x31c9f5?_0x168b23[_0xdb9b62(0x1ee)][_0xdb9b62(0x2c4)](_0x31c9f5[_0xdb9b62(0x2bf)]):null;}[_0xe5f1b9(0x2a3)](){const _0x509e4d=_0xe5f1b9;let _0x3d41de=this[_0x509e4d(0x21a)]();return _0x3d41de?_0x168b23['Tools']['deepClone'](_0x3d41de[_0x509e4d(0x20a)]):null;}['getStartArrow'](){const _0x3a1f35=_0xe5f1b9;let _0x2f383a=this[_0x3a1f35(0x21a)]();return _0x2f383a?_0x168b23[_0x3a1f35(0x1ee)]['deepClone'](_0x2f383a[_0x3a1f35(0x207)]):null;}[_0xe5f1b9(0x226)](){const _0x246d32=_0xe5f1b9;let _0x55b076=this['_getConnectorSnapshot']();return _0x55b076?_0x168b23[_0x246d32(0x1ee)][_0x246d32(0x2c4)](_0x55b076[_0x246d32(0x2a9)]):null;}[_0xe5f1b9(0x21d)](_0x28d3ff){const _0x140ccc=_0xe5f1b9;return(0x0,_0x3a4171['isConnectorShape'])(_0x28d3ff)?super[_0x140ccc(0x21d)](_0x28d3ff):(console['warn'](_0x140ccc(0x1e6)+this['_shapeRef']['shapeId']+'\x22\x20requires\x20a\x20Connector\x20Shape\x20type.'),this);}[_0xe5f1b9(0x2b7)](_0x8faf87){const _0x160f25=_0xe5f1b9;return _0x8faf87[_0x160f25(0x2b2)]!==void 0x0&&!(0x0,_0x3a4171['isConnectorShape'])(_0x8faf87[_0x160f25(0x2b2)])?(console[_0x160f25(0x1c4)](_0x160f25(0x1e6)+this[_0x160f25(0x288)][_0x160f25(0x272)]+_0x160f25(0x2a2)),this):super[_0x160f25(0x2b7)](_0x8faf87);}[_0xe5f1b9(0x20e)](_0x107b8c,_0x46a4cb){const _0x5025e4=_0xe5f1b9;return this[_0x5025e4(0x262)]('start',_0x107b8c,_0x46a4cb),this;}['bindEnd'](_0x223ced,_0x138bed){const _0x251e34=_0xe5f1b9;return this[_0x251e34(0x262)]('end',_0x223ced,_0x138bed),this;}[_0xe5f1b9(0x283)](){const _0x3891fc=_0xe5f1b9;return this['_mutateConnector'](_0x3891fc(0x204),_0x1a60b4=>_0x1a60b4[_0x3891fc(0x283)](this[_0x3891fc(0x288)])),this;}['unbindEnd'](){const _0x3d764a=_0xe5f1b9;return this[_0x3d764a(0x233)]('unbind\x20end',_0x5591a6=>_0x5591a6[_0x3d764a(0x2a4)](this[_0x3d764a(0x288)])),this;}[_0xe5f1b9(0x1be)](_0x4e9897){const _0x385896=_0xe5f1b9;return _0x3f9485(_0x4e9897,this['_shapeRef'][_0x385896(0x272)])&&this[_0x385896(0x233)](_0x385896(0x1c8),_0x1ec9a4=>_0x1ec9a4[_0x385896(0x1be)](this['_shapeRef'],_0x4e9897)),this;}[_0xe5f1b9(0x1d6)](_0xa3ef10){const _0xe4c941=_0xe5f1b9;return _0x3f9485(_0xa3ef10,this[_0xe4c941(0x288)][_0xe4c941(0x272)])&&this[_0xe4c941(0x233)]('set\x20end\x20point',_0x1452e1=>_0x1452e1[_0xe4c941(0x1d6)](this['_shapeRef'],_0xa3ef10)),this;}[_0xe5f1b9(0x1fa)](_0x3a6e7a){const _0x45fc31=_0xe5f1b9;return _0x3a6e7a['every'](_0x450b9d=>_0x3f9485(_0x450b9d,this[_0x45fc31(0x288)]['shapeId']))&&this[_0x45fc31(0x233)](_0x45fc31(0x1f4),_0x503f8e=>_0x503f8e[_0x45fc31(0x1fa)](this[_0x45fc31(0x288)],_0x3a6e7a)),this;}['setStartArrow'](_0x589143,_0x3d750a){const _0x32c9f1=_0xe5f1b9;return this[_0x32c9f1(0x233)]('set\x20start\x20arrow',_0x4467f8=>_0x4467f8[_0x32c9f1(0x255)](this['_shapeRef'],_0x589143,_0x3d750a)),this;}[_0xe5f1b9(0x22b)](_0xf7708d,_0x47583e){const _0x5da699=_0xe5f1b9;return this[_0x5da699(0x233)](_0x5da699(0x229),_0x4c21a3=>_0x4c21a3['setEndArrow'](this[_0x5da699(0x288)],_0xf7708d,_0x47583e)),this;}['_getConnectorAdapter'](){const _0x5093a2=_0xe5f1b9;return this[_0x5093a2(0x298)][_0x5093a2(0x276)](_0x3a4171[_0x5093a2(0x250)]);}[_0xe5f1b9(0x21a)](){const _0x411d89=_0xe5f1b9;let _0x1dcb87=this[_0x411d89(0x297)]();if(!_0x1dcb87)return null;try{return _0x1dcb87[_0x411d89(0x2b3)](this['_shapeRef'])||(console[_0x411d89(0x1c4)](_0x411d89(0x1e6)+this[_0x411d89(0x288)][_0x411d89(0x272)]+_0x411d89(0x290)),null);}catch(_0x26abd0){return console[_0x411d89(0x1c4)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x411d89(0x288)][_0x411d89(0x272)]+'\x22.',_0x26abd0),null;}}[_0xe5f1b9(0x262)](_0x3ceb23,_0x4b1951,_0x5cc82d){const _0x10451d=_0xe5f1b9;if(!_0x4b1951||!Number['isInteger'](_0x5cc82d)||_0x5cc82d<0x0)return console['warn'](_0x10451d(0x23e)+this[_0x10451d(0x288)][_0x10451d(0x272)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x3ec483={'shapeId':_0x4b1951,'cxnIndex':_0x5cc82d};return this[_0x10451d(0x233)](_0x10451d(0x1df)+_0x3ceb23,_0x303073=>_0x3ceb23===_0x10451d(0x2bc)?_0x303073[_0x10451d(0x20e)](this[_0x10451d(0x288)],_0x3ec483):_0x303073[_0x10451d(0x1c3)](this[_0x10451d(0x288)],_0x3ec483));}[_0xe5f1b9(0x233)](_0x2921d0,_0x48c27a){const _0x3d9c6f=_0xe5f1b9;let _0x1dfdea=this[_0x3d9c6f(0x297)]();if(!_0x1dfdea)return!0x1;try{let _0x12a0f0=_0x48c27a(_0x1dfdea);return _0x12a0f0||console[_0x3d9c6f(0x1c4)](_0x3d9c6f(0x225)+_0x2921d0+_0x3d9c6f(0x23f)+this['_shapeRef']['shapeId']+'\x22.'),_0x12a0f0;}catch(_0x47cabe){return console[_0x3d9c6f(0x1c4)](_0x3d9c6f(0x225)+_0x2921d0+_0x3d9c6f(0x23f)+this[_0x3d9c6f(0x288)]['shapeId']+'\x22.',_0x47cabe),!0x1;}}};function _0x3f9485(_0x3d7b8a,_0x489c03){const _0x4952a9=_0xe5f1b9;return!Number[_0x4952a9(0x1ec)](_0x3d7b8a['x'])||!Number[_0x4952a9(0x1ec)](_0x3d7b8a['y'])?(console[_0x4952a9(0x1c4)](_0x4952a9(0x23e)+_0x489c03+_0x4952a9(0x26d)),!0x1):!0x0;}_0x25bbe2['FConnectorShape']=_0x337f57,Object['defineProperty'](_0x25bbe2,'FShape',{'enumerable':!0x0,'get':function(){return _0xb454a0;}}),_0x25bbe2[_0xe5f1b9(0x24e)]=_0x4498ca;}));function _0x334e(_0x3f61f7,_0xd11709){_0x3f61f7=_0x3f61f7-0x1b1;const _0x47b4e8=_0x47b4();let _0x334e4a=_0x47b4e8[_0x3f61f7];return _0x334e4a;}function _0x47b4(){const _0x15983c=['846628XSwVnS','hostType','diamond','setName','toPlainText','getName','shapeTextToRichTextValue','[Shape\x20Facade]:\x20The\x20current\x20Shape\x20host\x20cannot\x20convert\x20SmartArt\x20\x22','_getConnectorSnapshot','from','Angular','setShapeType','FALSE','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','_mutate','DemoteNode','_patchShapeData','applyShapeTextStyle','getStartEndpoint','[Shape\x20Facade]:\x20Failed\x20to\x20','getEndArrow','createInstance','data','set\x20end\x20arrow','unitId','setEndArrow','node','setItalic','UniverCore','setStrokeOpacity','\x22\x20must\x20be\x20boolean.','bringForward','[Shape\x20Facade]:\x20Failed\x20to\x20update\x20SmartArt\x20Shape\x20\x22','_mutateConnector','smartArt','\x22\x20is\x20not\x20SmartArt.','stroke','Tile','NoLine','getOwnPropertyDescriptor','adjustValues','setGradientFill','SolidFill','length','[Shape\x20Facade]:\x20Connector\x20\x22','\x20Connector\x20Shape\x20\x22','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','setHorizontalAlign','getEndConnectInfo','exports','8454468rwOuFu','offsetY','setTextBoxOptions','pathLst','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','setSelectable','updateContext','ShapeTextDirection','942xTEWth','ShapeTextWrapType','FShapeText','ImageSourceTypeEnum','IConnectorShapeHostAdapter','UpdatePresentationShape','getConnectionSiteList','URL','_getAdapter','setStartArrow','FEnum','ShapeOperatorEnum','moveSmartArtNode','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','fill','737592oAbqVL','radial','9NtmmWm','_patchStroke','getAdjustNames','Diamond','SolidLine','_bind','PictureFill','updateSmartArtPresentationShape','UpdateNode','none','PromoteNode','getShapeData','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','Shape\x20\x22','TRUE','setStrokeLineDashType','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','solid','sendBackward','getShape','ImageFillModeEnum','shapeId','parseSvgPathData','send\x20backward','points','get','isVisible','_getGeometryModel','FBase','ShapeFillEnum','Replace','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','setNoneFill','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','isCustomShape','isSmartArtShapeData','getDescription','shapeData','unbindStart','left','setTransform','setColor','applyShapeTextAlignment','_shapeRef','_getSnapshot','SetDirection','boolean','[Shape\x20Facade]:\x20','NoFill','getId','\x22\x20text.','\x22\x20was\x20not\x20found.','BooleanNumber','tile','MoveNode','linear','demoteSmartArtNode','_commandService','_getConnectorAdapter','_injector','setSize','visible','resetAdjustValues','setSmartArtData','Linear','setStrikethrough','ICommandService','setRichText','getStartConnectInfo','\x22\x20requires\x20Connector\x20Shape\x20data.','getRoutePoints','unbindEnd','setAdjustValues','entries','\x22\x20must\x20be\x20finite.','angular','endArrow','rotation','extend','@univerjs/core/facade','map','isCustom','Module','scaleY','getSmartArtData','shapeType','getConnector','selectable','set\x20z-order','setStrokeLineType','setShapeData','getAdjustHandles','applyRichTextToShapeText','update','ShapeArrowSizeEnum','start','setCustomGeometry','SmartArtOperationTypeEnum','end','10wkJodT','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','2266FDYIIS','applyTextToShapeText','deepClone','defineProperty','flipX','getText','filter','[Shape\x20Facade]:\x20Shape\x20\x22','setSmartArtLayout','setCustomGeometryFromSvgPath','name','ShapeModel','scaleX','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','bringToFront','UniverProEngineShapeFacade','getTransform','ShapeLineDashEnum','ShapeTypeEnum','setSmartArtDirection','setStartPoint','dataArray','pathData','66VpVAJL','transform','bindEnd','warn','ShapeTextAutoFitType','InsertNode','lineStrokeType','set\x20start\x20point','setSolidFill','setImageFill','\x20Shape\x20\x22','setFontSize','targetNodeId','_updateShapeData','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','UniverCoreFacade','decorate','Radial','ShapeLineJoinEnum','_shapeHostAdapterRegistry','updateSmartArtNode','setEndPoint','getConnectionSites','Shape\x20transform\x20\x22','ShapeImageSourceTypeEnum','customGeometry','object','setStrokeColor','applyShapeTextBoxOptions','color','bind\x20','setStrokeWidth','isSmartArt','setAdjustValueByName','\x22\x20does\x20not\x20exist.','[Shape\x20Facade]:\x20Failed\x20to\x20convert\x20SmartArt\x20Shape\x20\x22','amd','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','shapeText','SetLayout','getHostType','insertSmartArtNode','remove','isFinite','sendToBack','Tools','getPlainText','getPresetShapeConfig','setStrokeLineCapType','15HLzMeG','487475kyxHai','set\x20route\x20points','@univerjs/core','setTextStyle','flipY','DeleteNode','height','setRoutePoints','ShapeLineCapEnum','GradientFill','setVerticalAlign','isSelectable','width','updateShape','setZOrder','convertSmartArtToShapes','isConnectorShape','unbind\x20start','picture','255689exRrpG','startArrow','ShapeGradientTypeEnum','offsetX','routePoints','findIndex','_updateSmartArt','toStringTag','bindStart','fromEntries','5594259TARlgM','getRichText'];_0x47b4=function(){return _0x15983c;};return _0x47b4();}