@univerjs-pro/engine-shape 1.0.0-alpha.6 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/facade/f-connector-shape.d.ts +10 -3
- package/lib/types/facade/f-shape-text.d.ts +8 -1
- package/lib/types/facade/f-shape.d.ts +8 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/render-engine/shape-render-model.d.ts +1 -0
- package/lib/types/shape-type.d.ts +15 -0
- package/lib/types/shapes/oval-callout1-shape.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x52a63a=_0x4638;(function(_0x1c066a,_0x4c9bd7){const _0x28b2c2=_0x4638,_0x58c819=_0x1c066a();while(!![]){try{const _0x1fbe03=-parseInt(_0x28b2c2(0x245))/0x1*(-parseInt(_0x28b2c2(0x25f))/0x2)+parseInt(_0x28b2c2(0x1c3))/0x3*(parseInt(_0x28b2c2(0x226))/0x4)+parseInt(_0x28b2c2(0x280))/0x5*(-parseInt(_0x28b2c2(0x259))/0x6)+-parseInt(_0x28b2c2(0x1bf))/0x7*(parseInt(_0x28b2c2(0x257))/0x8)+-parseInt(_0x28b2c2(0x210))/0x9*(parseInt(_0x28b2c2(0x213))/0xa)+parseInt(_0x28b2c2(0x27d))/0xb+parseInt(_0x28b2c2(0x1cc))/0xc*(parseInt(_0x28b2c2(0x230))/0xd);if(_0x1fbe03===_0x4c9bd7)break;else _0x58c819['push'](_0x58c819['shift']());}catch(_0x23e578){_0x58c819['push'](_0x58c819['shift']());}}}(_0x11aa,0xea928));import{IConnectorShapeHostAdapter as _0x57d1cb,IShapeHostAdapterRegistry as _0x2dfad5,ImageFillModeEnum as _0x22bbf4,ImageSourceTypeEnum as _0x504d2d,ShapeArrowSizeEnum as _0x2fb378,ShapeArrowTypeEnum as _0x4c68a1,ShapeFillEnum as _0x2f4bf5,ShapeGradientTypeEnum as _0x1075fd,ShapeLineCapEnum as _0x41c29c,ShapeLineDashEnum as _0x493d9a,ShapeLineJoinEnum as _0x1cbafe,ShapeLineTypeEnum as _0x19ac53,ShapeModel as _0x14bfb7,ShapeOperatorEnum as _0x14c7f4,ShapeTextAutoFitType as _0x32e52b,ShapeTextDirection as _0x257fc3,ShapeTextWrapType as _0xe0f221,ShapeTypeEnum as _0x465ffb,applyRichTextToShapeText as _0x1e5bf3,applyShapeTextAlignment as _0x2eb490,applyShapeTextBoxOptions as _0x37f93d,applyShapeTextStyle as _0x190f44,applyTextToShapeText as _0xec8981,isConnectorShape as _0x246883,resolveShapeTextBoxOptions as _0x5dad35,shapeTextToRichTextValue as _0x357044}from'@univerjs-pro/engine-shape';import{FBase as _0x2820c4,FEnum as _0x40f24d}from'@univerjs/core/facade';function _0x11aa(){const _0xde1d46=['setEndArrow','ShapeArrowSizeEnum','SolidFill','shapeId','NoLine','unbindEnd','_getAdapter','_getSnapshot','getShapeType','top','angular','TRUE','points','ShapeImageSourceTypeEnum','getEndConnectInfo','\x22\x20text.','getStartEndpoint','update','getConnectionSiteList','bring\x20to\x20front','set\x20start\x20arrow','shapeData','length','ShapeLineJoinEnum','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','116154qnrwTb','setShapeData','left','440WmqDhP','setNoneFill','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','setRotation','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','bringForward','ShapeGradientTypeEnum','SolidLine','\x20Connector\x20Shape\x20\x22','getSnapshot','name','getEndEndpoint','scaleX','boolean','setCustomGeometry','offsetY','setTextStyle','bind\x20','\x22\x20must\x20be\x20boolean.','40AlZEZM','selectable','height','_patchShapeData','unbind\x20start','lineStrokeType','set\x20end\x20arrow','_getGeometryModel','setTextBoxOptions','customGeometry','65wIuyXn','setEndPoint','setShapeType','setAbsolutePosition','set\x20start\x20point','_mutate','_getConnectorSnapshot','setUnderline','deepClone','setDescription','width','[Shape\x20Facade]:\x20Failed\x20to\x20','bringToFront','ShapeArrowTypeEnum','Shape\x20\x22','bindEnd','setRoutePoints','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','getEndArrow','\x22\x20requires\x20Connector\x20Shape\x20data.','getText','1IESxvL','_patchStroke','setStartPoint','getShape','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','radial','unbindStart','stretch','[Shape\x20Facade]:\x20Connector\x20\x22','setGradientFill','shapeText','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','picture','setImageFill','FALSE','updateContext','transform','3594128xwDOEl','_getShapeData','174orVIfd','setStrokeLineDashType','isConnectorShape','\x20Shape\x20\x22','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','description','1560206GQPiaO','setVisible','Linear','setStartArrow','isVisible','ShapeLineTypeEnum','bring\x20forward','URL','ShapeTypeEnum','Radial','getShapeData','setText','[Shape\x20Facade]:\x20','_getConnectorAdapter','isSelectable','GradientFill','getId','map','unbind\x20end','getPlainText','setRichText','get','PictureFill','getStartArrow','isCustom','setTransform','getName','setSize','_mutateConnector','flipX','3622795uApUXm','none','rgba(0,\x200,\x200,\x200)','34735qRXQDU','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','21WAqNVX','relation','set\x20route\x20points','setStrokeLineCapType','41157rUxgzf','removeShape','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','warn','Diamond','setName','isFinite','setStrokeColor','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','4395108qhjxEU','setStrokeLineJoinType','send\x20to\x20back','end','getCustomGeometry','getHostType','flipY','_injector','getRoutePoints','isCustomShape','startArrow','getConnector','\x22\x20was\x20not\x20found.','ShapeLineCapEnum','\x22\x20must\x20be\x20finite.','getTransform','hostType','shapeType','tile','_shapeRef','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','scaleY','ShapeOperatorEnum','_bind','sendToBack','isInteger','setItalic','setVerticalAlign','bindStart','_updateShapeData','getDescription','mode','[Shape\x20Facade]:\x20Shape\x20\x22','getRichText','setSelectable','toPlainText','routePoints','Angular','setColor','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','updateShape','ShapeTextWrapType','getDrawingPoints'];_0x11aa=function(){return _0xde1d46;};return _0x11aa();}import{BooleanNumber as _0x248069,Tools as _0xccc54d}from'@univerjs/core';var A=class extends _0x40f24d{get[_0x52a63a(0x267)](){return _0x465ffb;}get['ShapeFillEnum'](){return _0x2f4bf5;}get[_0x52a63a(0x219)](){return _0x1075fd;}get['ShapeImageFillModeEnum'](){return _0x22bbf4;}get[_0x52a63a(0x204)](){return _0x504d2d;}get[_0x52a63a(0x264)](){return _0x19ac53;}get['ShapeLineDashEnum'](){return _0x493d9a;}get[_0x52a63a(0x1d9)](){return _0x41c29c;}get[_0x52a63a(0x20e)](){return _0x1cbafe;}get[_0x52a63a(0x1e2)](){return _0x14c7f4;}get[_0x52a63a(0x23d)](){return _0x4c68a1;}get[_0x52a63a(0x1f8)](){return _0x2fb378;}get['ShapeTextAutoFitType'](){return _0x32e52b;}get['ShapeTextDirection'](){return _0x257fc3;}get[_0x52a63a(0x1f5)](){return _0xe0f221;}};_0x40f24d['extend'](A);function j(_0x249a73){const _0x59d348=_0x52a63a;switch(_0x249a73){case _0x1075fd[_0x59d348(0x268)]:return _0x59d348(0x24b);case _0x1075fd[_0x59d348(0x1f1)]:return _0x59d348(0x201);case _0x1075fd[_0x59d348(0x1c7)]:return'diamond';case _0x1075fd[_0x59d348(0x261)]:default:return'linear';}}function M(_0x2ee50a){const _0x47a879=_0x52a63a;return _0x2ee50a===_0x22bbf4['Tile']?_0x47a879(0x1de):_0x47a879(0x24d);}var N=class{constructor(_0x459bfe,_0x4e9094){const _0x19683d=_0x52a63a;this['_shapeRef']=_0x459bfe,this[_0x19683d(0x1d3)]=_0x4e9094;}['getRichText'](){const _0x518d91=_0x52a63a;var _0x5e281f;return _0x357044((_0x5e281f=this['_getShapeData']())==null?void 0x0:_0x5e281f[_0x518d91(0x250)]);}[_0x52a63a(0x272)](){const _0x28d795=_0x52a63a;var _0x21ef35,_0x4ed2ba;return(_0x21ef35=(_0x4ed2ba=this[_0x28d795(0x1ed)]())==null?void 0x0:_0x4ed2ba[_0x28d795(0x1ef)]())==null?null:_0x21ef35;}[_0x52a63a(0x273)](_0x15cd23){const _0x1905d6=_0x52a63a;return this[_0x1905d6(0x1e9)](_0x3631d2=>({..._0x3631d2,'shapeText':_0x1e5bf3(_0x3631d2['shapeText'],_0x15cd23)})),this;}[_0x52a63a(0x26a)](_0xe8019e){const _0x12a5b7=_0x52a63a;return this['_updateShapeData'](_0x2396cb=>({..._0x2396cb,'shapeText':_0xec8981(_0x2396cb[_0x12a5b7(0x250)],_0xe8019e)})),this;}['setTextStyle'](_0x529071){const _0x4ba840=_0x52a63a;return this['_updateShapeData'](_0x1a90e2=>({..._0x1a90e2,'shapeText':_0x190f44(_0x1a90e2[_0x4ba840(0x250)],_0x529071)})),this;}[_0x52a63a(0x1f2)](_0x2c1c1a,_0x1f5a1d){const _0x5e825b=_0x52a63a;return this[_0x5e825b(0x223)]({'cl':{'rgb':_0x2c1c1a},'textFill':{'type':'solid','color':_0x2c1c1a,'opacity':_0x1f5a1d}});}[_0x52a63a(0x214)](){const _0x22c393=_0x52a63a;return this[_0x22c393(0x223)]({'cl':{'rgb':_0x22c393(0x27f)},'textFill':{'type':_0x22c393(0x27e)}});}[_0x52a63a(0x24f)](_0x1cf46c,_0x445e8a,_0x1bac1b){const _0x571a05=_0x52a63a;return _0x445e8a[_0x571a05(0x20d)]<0x2?(console[_0x571a05(0x1c6)](_0x571a05(0x1f3)),this):this[_0x571a05(0x223)]({'cl':{'rgb':_0x445e8a[0x0]['color']},'textFill':{'type':'gradient','gradient':{'type':j(_0x1cf46c),'angle':_0x1bac1b,'stops':_0x445e8a[_0x571a05(0x270)](({position:_0x2fa1aa,color:_0xbfc7e6,opacity:_0x577069})=>({'offset':_0x2fa1aa,'color':_0xbfc7e6,'opacity':_0x577069}))}}});}['setImageFill'](_0x81d257,_0x1106ea=_0x504d2d[_0x52a63a(0x266)],_0x5485fe={}){const _0x36b1a0=_0x52a63a;return this[_0x36b1a0(0x223)]({'textFill':{'type':_0x36b1a0(0x252),'picture':{'source':_0x81d257,'sourceType':_0x1106ea,'opacity':_0x5485fe['opacity'],'mode':M(_0x5485fe[_0x36b1a0(0x1eb)]),'scaleX':_0x5485fe[_0x36b1a0(0x21f)],'scaleY':_0x5485fe[_0x36b1a0(0x1e1)],'offsetX':_0x5485fe['offsetX'],'offsetY':_0x5485fe[_0x36b1a0(0x222)]}}});}['setFontSize'](_0x526f31){const _0x36dff6=_0x52a63a;return this[_0x36dff6(0x223)]({'fs':_0x526f31});}['setFontFamily'](_0x181a58){return this['setTextStyle']({'ff':_0x181a58});}['setBold'](_0x1f8c28){const _0x4bcd3d=_0x52a63a;return this[_0x4bcd3d(0x223)]({'bl':_0x1f8c28?_0x248069[_0x4bcd3d(0x202)]:_0x248069[_0x4bcd3d(0x254)]});}[_0x52a63a(0x1e6)](_0x51f87d){const _0x26be3e=_0x52a63a;return this[_0x26be3e(0x223)]({'it':_0x51f87d?_0x248069['TRUE']:_0x248069[_0x26be3e(0x254)]});}[_0x52a63a(0x237)](_0x17731a){const _0x1d351f=_0x52a63a;return this[_0x1d351f(0x223)]({'ul':{'s':_0x17731a?_0x248069[_0x1d351f(0x202)]:_0x248069['FALSE']}});}['setStrikethrough'](_0xb7034d){const _0x30a52d=_0x52a63a;return this['setTextStyle']({'st':{'s':_0xb7034d?_0x248069[_0x30a52d(0x202)]:_0x248069[_0x30a52d(0x254)]}});}['setHorizontalAlign'](_0x2eb48d){return this['_updateShapeData'](_0x51b69a=>_0x2eb490(_0x51b69a,{'horizontalAlign':_0x2eb48d})),this;}[_0x52a63a(0x1e7)](_0x5c5235){const _0x215d15=_0x52a63a;return this[_0x215d15(0x1e9)](_0xc36c80=>_0x2eb490(_0xc36c80,{'verticalAlign':_0x5c5235})),this;}['getTextBoxOptions'](){const _0x1e86b0=_0x52a63a;let _0x26ea56=this[_0x1e86b0(0x258)]();return _0x26ea56?_0x5dad35(_0x26ea56):null;}[_0x52a63a(0x22e)](_0xd5966a){const _0x142511=_0x52a63a;return this[_0x142511(0x1e9)](_0x24c3b1=>_0x37f93d(_0x24c3b1,_0xd5966a)),this;}[_0x52a63a(0x1fd)](){const _0x43fdc8=_0x52a63a;return this[_0x43fdc8(0x1d3)][_0x43fdc8(0x274)](_0x2dfad5)[_0x43fdc8(0x274)](this[_0x43fdc8(0x1df)][_0x43fdc8(0x1dc)]);}[_0x52a63a(0x258)](){const _0x1db7ff=_0x52a63a;let _0x1c0f83=this[_0x1db7ff(0x1fd)]();if(!_0x1c0f83)return null;try{var _0x3a8ea8;return((_0x3a8ea8=_0x1c0f83[_0x1db7ff(0x248)](this[_0x1db7ff(0x1df)]))==null?void 0x0:_0x3a8ea8[_0x1db7ff(0x20c)])||(console[_0x1db7ff(0x1c6)](_0x1db7ff(0x251)+this[_0x1db7ff(0x1df)][_0x1db7ff(0x1fa)]+_0x1db7ff(0x1d8)),null);}catch(_0x23233f){return console[_0x1db7ff(0x1c6)](_0x1db7ff(0x1be)+this[_0x1db7ff(0x1df)][_0x1db7ff(0x1fa)]+_0x1db7ff(0x206),_0x23233f),null;}}[_0x52a63a(0x1e9)](_0x381cc7){const _0x14b369=_0x52a63a;let _0x3242cb=this[_0x14b369(0x1fd)]();if(!_0x3242cb)return!0x1;try{var _0x1c4a10;let _0x3ff9ba=(_0x1c4a10=_0x3242cb['getShape'](this[_0x14b369(0x1df)]))==null?void 0x0:_0x1c4a10['shapeData'];if(!_0x3ff9ba)return console[_0x14b369(0x1c6)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this['_shapeRef'][_0x14b369(0x1fa)]+_0x14b369(0x1d8)),!0x1;let _0x4d51d3=_0x3242cb[_0x14b369(0x1f4)](this[_0x14b369(0x1df)],{'shapeData':_0x381cc7(_0x3ff9ba)});return _0x4d51d3||console[_0x14b369(0x1c6)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x14b369(0x1df)][_0x14b369(0x1fa)]+'\x22\x20text.'),_0x4d51d3;}catch(_0xb98c49){return console[_0x14b369(0x1c6)](_0x14b369(0x24a)+this['_shapeRef']['shapeId']+'\x22\x20text.',_0xb98c49),!0x1;}}},P=class extends _0x2820c4{constructor(_0x31b106,_0x3bda06){super(),this['_shapeRef']=_0x31b106,this['_injector']=_0x3bda06;}[_0x52a63a(0x25b)](){return!0x1;}[_0x52a63a(0x26f)](){const _0x2a1a0e=_0x52a63a;return this['_shapeRef'][_0x2a1a0e(0x1fa)];}[_0x52a63a(0x279)](){const _0x391649=_0x52a63a;var _0x32181e;return(_0x32181e=this[_0x391649(0x1fe)]())==null?void 0x0:_0x32181e[_0x391649(0x21d)];}[_0x52a63a(0x1c8)](_0x51f2ad){const _0x29ab31=_0x52a63a;return this[_0x29ab31(0x208)]({'name':_0x51f2ad});}[_0x52a63a(0x1ea)](){const _0x5945e0=_0x52a63a;var _0x3fa7c2;return(_0x3fa7c2=this[_0x5945e0(0x1fe)]())==null?void 0x0:_0x3fa7c2[_0x5945e0(0x25e)];}[_0x52a63a(0x239)](_0x32e445){const _0x249f0b=_0x52a63a;return this[_0x249f0b(0x208)]({'description':_0x32e445});}[_0x52a63a(0x1d1)](){const _0xe51d3c=_0x52a63a;return this[_0xe51d3c(0x1df)][_0xe51d3c(0x1dc)];}[_0x52a63a(0x1ff)](){const _0x4af941=_0x52a63a;var _0x226b48,_0x3879b3;return(_0x226b48=(_0x3879b3=this[_0x4af941(0x1fe)]())==null?void 0x0:_0x3879b3[_0x4af941(0x1dd)])==null?null:_0x226b48;}[_0x52a63a(0x269)](){const _0x11a461=_0x52a63a;let _0x114fa9=this[_0x11a461(0x1fe)]();return _0x114fa9?_0xccc54d['deepClone'](_0x114fa9[_0x11a461(0x20c)]):null;}[_0x52a63a(0x21c)](){const _0x36f11d=_0x52a63a;let _0x5481bd=this['_getSnapshot']();return _0x5481bd?_0xccc54d[_0x36f11d(0x238)](_0x5481bd):null;}[_0x52a63a(0x1db)](){const _0x548c39=_0x52a63a;let _0x31dbd6=this['_getSnapshot']();return _0x31dbd6?{..._0x31dbd6[_0x548c39(0x256)]}:null;}[_0x52a63a(0x263)](){const _0x1bfebb=_0x52a63a;var _0x2cb5a3,_0x23a48d;return(_0x2cb5a3=(_0x23a48d=this[_0x1bfebb(0x1fe)]())==null?void 0x0:_0x23a48d['visible'])==null?!0x1:_0x2cb5a3;}[_0x52a63a(0x260)](_0x12cfc0){const _0x4acb1=_0x52a63a;return this[_0x4acb1(0x208)]({'visible':_0x12cfc0});}[_0x52a63a(0x26d)](){const _0x16cd88=_0x52a63a;var _0x150580,_0x56e199;return(_0x150580=(_0x56e199=this[_0x16cd88(0x1fe)]())==null?void 0x0:_0x56e199[_0x16cd88(0x227)])==null?!0x1:_0x150580;}[_0x52a63a(0x1ee)](_0xfd7770){return this['update']({'selectable':_0xfd7770});}[_0x52a63a(0x244)](){const _0x243042=_0x52a63a;return this[_0x243042(0x1d3)]['createInstance'](N,this['_shapeRef'],this['_injector']);}[_0x52a63a(0x1d5)](){const _0x2383a9=_0x52a63a;let _0x52d583=this[_0x2383a9(0x269)]();return(_0x52d583==null?void 0x0:_0x52d583[_0x2383a9(0x277)])===!0x0&&!!_0x52d583[_0x2383a9(0x22f)];}[_0x52a63a(0x1d0)](){const _0x4418d3=_0x52a63a;var _0x3a0cf2,_0x28eeb5;return(_0x3a0cf2=(_0x28eeb5=this[_0x4418d3(0x269)]())==null?void 0x0:_0x28eeb5[_0x4418d3(0x22f)])==null?null:_0x3a0cf2;}[_0x52a63a(0x232)](_0x182973){const _0x4bb3ff=_0x52a63a;return this[_0x4bb3ff(0x229)](_0x2f4bf1=>({..._0x2f4bf1,'shapeType':_0x182973}),_0x182973);}[_0x52a63a(0x211)](_0x2ffd76){const _0x361052=_0x52a63a;let _0x3b3489=_0xccc54d[_0x361052(0x238)](_0x2ffd76);return this[_0x361052(0x208)]({'shapeType':_0x3b3489[_0x361052(0x1dd)],'shapeData':_0x3b3489});}[_0x52a63a(0x278)](_0x3a9902){const _0x462d1a=_0x52a63a;return this[_0x462d1a(0x208)]({'transform':_0x3a9902});}[_0x52a63a(0x27a)](_0x482eea,_0x46ebb7){const _0x484c54=_0x52a63a;return this[_0x484c54(0x278)]({'width':_0x482eea,'height':_0x46ebb7});}[_0x52a63a(0x216)](_0x16bbd5){return this['setTransform']({'rotation':_0x16bbd5});}[_0x52a63a(0x233)](_0x29675c,_0x137fd9){const _0x361930=_0x52a63a;return this[_0x361930(0x278)]({'left':_0x29675c,'top':_0x137fd9});}[_0x52a63a(0x221)](_0x2d8b30){const _0x1673f2=_0x52a63a;let _0x67bbdb=_0xccc54d[_0x1673f2(0x238)](_0x2d8b30);return this[_0x1673f2(0x229)](_0x5edc86=>({..._0x5edc86,'isCustom':!0x0,'customGeometry':_0x67bbdb}));}['getConnectionSites'](){const _0x24beec=_0x52a63a;var _0x557fd2,_0xf3ad1e;return(_0x557fd2=(_0xf3ad1e=this['_getGeometryModel']())==null?void 0x0:_0xf3ad1e[_0x24beec(0x209)]()[_0x24beec(0x270)](_0x12b7d0=>({..._0x12b7d0})))==null?[]:_0x557fd2;}['getAdjustPoints'](){const _0x429552=_0x52a63a;var _0x397e07,_0x2bafa2;return(_0x397e07=(_0x2bafa2=this[_0x429552(0x22d)]())==null?void 0x0:_0x2bafa2[_0x429552(0x1f6)]()[_0x429552(0x270)](_0x27c91d=>({..._0x27c91d})))==null?[]:_0x397e07;}['getStartConnectInfo'](){const _0xdcaa8f=_0x52a63a;var _0x162cca;let _0x49083a=(_0x162cca=this[_0xdcaa8f(0x22d)]())==null?void 0x0:_0x162cca['getStartConnectInfo']();return _0x49083a?{..._0x49083a}:null;}[_0x52a63a(0x205)](){const _0x433b27=_0x52a63a;var _0x2b06fc;let _0x3cf9ee=(_0x2b06fc=this['_getGeometryModel']())==null?void 0x0:_0x2b06fc[_0x433b27(0x205)]();return _0x3cf9ee?{..._0x3cf9ee}:null;}['setSolidFill'](_0xc09a13,_0x2bad62){const _0x10f882=_0x52a63a;return this[_0x10f882(0x229)](_0x30531b=>({..._0x30531b,'fill':{'fillType':_0x2f4bf5[_0x10f882(0x1f9)],'color':_0xc09a13,'opacity':_0x2bad62}}));}[_0x52a63a(0x24f)](_0x475c4b,_0x181355,_0x381ff8){const _0x2e8963=_0x52a63a;return _0x181355[_0x2e8963(0x20d)]<0x2?(console[_0x2e8963(0x1c6)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x2e8963(0x229)](_0x4b5672=>({..._0x4b5672,'fill':{'fillType':_0x2f4bf5[_0x2e8963(0x26e)],'gradientType':_0x475c4b,'gradientStops':_0xccc54d[_0x2e8963(0x238)](_0x181355),'gradientAngle':_0x381ff8}}));}[_0x52a63a(0x253)](_0x35b9f7,_0x3fedc0,_0x2000bf={}){const _0x53a6be=_0x52a63a;return this['_patchShapeData'](_0x250c57=>({..._0x250c57,'fill':{..._0xccc54d[_0x53a6be(0x238)](_0x2000bf),'fillType':_0x2f4bf5[_0x53a6be(0x275)],'fillImageSource':_0x35b9f7,'fillImageSourceType':_0x3fedc0}}));}[_0x52a63a(0x214)](){const _0x145658=_0x52a63a;return this[_0x145658(0x229)](_0x4d7d7a=>({..._0x4d7d7a,'fill':{'fillType':_0x2f4bf5['NoFill']}}));}['setStroke'](_0x271d6f){const _0x544761=_0x52a63a;return this[_0x544761(0x229)](_0x3be3a3=>({..._0x3be3a3,'stroke':_0xccc54d[_0x544761(0x238)](_0x271d6f)}));}[_0x52a63a(0x1ca)](_0x2b9264){const _0x522ce5=_0x52a63a;return this[_0x522ce5(0x246)](_0x19a380=>({..._0x19a380,'color':_0x2b9264,'lineStrokeType':_0x19a380[_0x522ce5(0x22b)]===_0x19ac53[_0x522ce5(0x1fb)]?_0x19ac53[_0x522ce5(0x21a)]:_0x19a380[_0x522ce5(0x22b)]}));}['setStrokeWidth'](_0x2cdc1e){const _0x205ae3=_0x52a63a;return this[_0x205ae3(0x246)](_0x403a37=>({..._0x403a37,'width':_0x2cdc1e,'lineStrokeType':_0x403a37['lineStrokeType']===_0x19ac53[_0x205ae3(0x1fb)]?_0x19ac53[_0x205ae3(0x21a)]:_0x403a37[_0x205ae3(0x22b)]}));}['setStrokeOpacity'](_0x273f43){const _0x1d149d=_0x52a63a;return this[_0x1d149d(0x246)](_0x39919b=>({..._0x39919b,'opacity':_0x273f43}));}[_0x52a63a(0x25a)](_0xaf0109){const _0x364dc1=_0x52a63a;return this[_0x364dc1(0x246)](_0x77c97e=>({..._0x77c97e,'dashType':_0xaf0109}));}[_0x52a63a(0x1cd)](_0x148c5d){const _0xf8c5d1=_0x52a63a;return this[_0xf8c5d1(0x246)](_0x54826d=>({..._0x54826d,'lineJoinType':_0x148c5d}));}[_0x52a63a(0x1c2)](_0x22455b){const _0x21b933=_0x52a63a;return this[_0x21b933(0x246)](_0x210503=>({..._0x210503,'capType':_0x22455b}));}['setStrokeLineType'](_0x2dab2e){const _0x45c8cc=_0x52a63a;return this[_0x45c8cc(0x246)](_0xbb578b=>({..._0xbb578b,'lineStrokeType':_0x2dab2e}));}[_0x52a63a(0x208)](_0x878b8c){const _0x68fcb8=_0x52a63a;var _0x264584,_0x17cea7,_0x5e91ac;let _0xe224d9=_0x878b8c[_0x68fcb8(0x20c)],_0x14d8a9=_0xe224d9&&(_0x68fcb8(0x1c0)in _0xe224d9||_0x68fcb8(0x203)in _0xe224d9)?this[_0x68fcb8(0x1ff)]():null,_0x130b00=(_0x264584=(_0x17cea7=_0x878b8c[_0x68fcb8(0x1dd)])==null?(_0x5e91ac=_0x878b8c[_0x68fcb8(0x20c)])==null?void 0x0:_0x5e91ac['shapeType']:_0x17cea7)==null?_0x14d8a9:_0x264584,_0x5c4edd=F(_0x878b8c,_0x130b00!==null&&_0x246883(_0x130b00));return _0x5c4edd?(console[_0x68fcb8(0x1c6)](_0x68fcb8(0x26b)+_0x5c4edd),this):(this[_0x68fcb8(0x235)](_0x68fcb8(0x208),_0x2fca0d=>_0x2fca0d[_0x68fcb8(0x1f4)](this['_shapeRef'],_0x878b8c)),this);}['remove'](){const _0x11a208=_0x52a63a;return this[_0x11a208(0x235)]('remove',_0x41f8b0=>_0x41f8b0[_0x11a208(0x1c4)](this[_0x11a208(0x1df)]));}[_0x52a63a(0x23c)](){const _0x29f92c=_0x52a63a;return this[_0x29f92c(0x235)](_0x29f92c(0x20a),_0x5d7bb8=>_0x5d7bb8[_0x29f92c(0x23c)](this['_shapeRef'])),this;}[_0x52a63a(0x218)](){const _0xf63dc=_0x52a63a;return this[_0xf63dc(0x235)](_0xf63dc(0x265),_0x31d83a=>_0x31d83a['bringForward'](this[_0xf63dc(0x1df)])),this;}['sendBackward'](){const _0x415be8=_0x52a63a;return this[_0x415be8(0x235)]('send\x20backward',_0x1f95dc=>_0x1f95dc['sendBackward'](this[_0x415be8(0x1df)])),this;}[_0x52a63a(0x1e4)](){const _0x5a182b=_0x52a63a;return this[_0x5a182b(0x235)](_0x5a182b(0x1ce),_0x191c92=>_0x191c92[_0x5a182b(0x1e4)](this[_0x5a182b(0x1df)])),this;}[_0x52a63a(0x1fd)](){const _0x2ca8f6=_0x52a63a;return this[_0x2ca8f6(0x1d3)][_0x2ca8f6(0x274)](_0x2dfad5)[_0x2ca8f6(0x274)](this[_0x2ca8f6(0x1df)][_0x2ca8f6(0x1dc)]);}[_0x52a63a(0x229)](_0x4574d3,_0x54ece3){const _0x2a8e43=_0x52a63a;let _0x238534=this[_0x2a8e43(0x269)]();return _0x238534?this[_0x2a8e43(0x208)]({'shapeType':_0x54ece3,'shapeData':_0x4574d3(_0x238534)}):this;}[_0x52a63a(0x246)](_0x5a3ba2){const _0x2d6a0f=_0x52a63a;return this[_0x2d6a0f(0x229)](_0x18ca14=>{var _0x22f975;return{..._0x18ca14,'stroke':_0x5a3ba2((_0x22f975=_0x18ca14['stroke'])==null?{}:_0x22f975)};});}[_0x52a63a(0x1fe)](){const _0x23396e=_0x52a63a;let _0x5db51e=this[_0x23396e(0x1fd)]();if(!_0x5db51e)return null;try{return _0x5db51e[_0x23396e(0x248)](this[_0x23396e(0x1df)])||(console[_0x23396e(0x1c6)](_0x23396e(0x1ec)+this[_0x23396e(0x1df)][_0x23396e(0x1fa)]+_0x23396e(0x1d8)),null);}catch(_0x29abfa){return console[_0x23396e(0x1c6)](_0x23396e(0x1e0)+this[_0x23396e(0x1df)][_0x23396e(0x1fa)]+'\x22.',_0x29abfa),null;}}['_getGeometryModel'](){const _0x1dc6ab=_0x52a63a;let _0x2e6837=this[_0x1dc6ab(0x1fe)]();if(!_0x2e6837)return null;try{let _0x578208=new _0x14bfb7(_0x2e6837[_0x1dc6ab(0x1dd)],_0x2e6837['shapeId'],_0x2e6837[_0x1dc6ab(0x20c)]);return _0x578208[_0x1dc6ab(0x255)]({'width':_0x2e6837[_0x1dc6ab(0x256)][_0x1dc6ab(0x23a)],'height':_0x2e6837[_0x1dc6ab(0x256)]['height']}),_0x578208;}catch(_0x1e8ce0){return console[_0x1dc6ab(0x1c6)](_0x1dc6ab(0x215)+this[_0x1dc6ab(0x1df)][_0x1dc6ab(0x1fa)]+'\x22.',_0x1e8ce0),null;}}[_0x52a63a(0x235)](_0x5ac19c,_0x59503a){const _0x480c92=_0x52a63a;let _0x5af0aa=this['_getAdapter']();if(!_0x5af0aa)return!0x1;try{let _0x5349df=_0x59503a(_0x5af0aa);return _0x5349df||console['warn'](_0x480c92(0x23b)+_0x5ac19c+'\x20Shape\x20\x22'+this[_0x480c92(0x1df)][_0x480c92(0x1fa)]+'\x22.'),_0x5349df;}catch(_0x2e1780){return console[_0x480c92(0x1c6)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x5ac19c+_0x480c92(0x25c)+this['_shapeRef'][_0x480c92(0x1fa)]+'\x22.',_0x2e1780),!0x1;}}};function F(_0xf9f794,_0x39353a=!0x1){const _0x5d344a=_0x52a63a;for(let _0x2cd595 of['visible',_0x5d344a(0x227)]){let _0x2aac21=_0xf9f794[_0x2cd595];if(_0x2aac21!==void 0x0&&typeof _0x2aac21!=_0x5d344a(0x220))return _0x5d344a(0x23e)+_0x2cd595+'\x22\x20must\x20be\x20boolean.';}let _0x204cbd=_0xf9f794['transform'];if(_0x204cbd){for(let _0x1b5db4 of[_0x5d344a(0x212),_0x5d344a(0x200),_0x5d344a(0x23a),_0x5d344a(0x228),'rotation']){let _0x161f09=_0x204cbd[_0x1b5db4];if(_0x161f09!==void 0x0&&!Number[_0x5d344a(0x1c9)](_0x161f09))return'Shape\x20transform\x20\x22'+_0x1b5db4+_0x5d344a(0x1da);}if(_0x204cbd[_0x5d344a(0x23a)]!==void 0x0&&_0x204cbd[_0x5d344a(0x23a)]<=0x0)return _0x5d344a(0x25d);if(_0x204cbd[_0x5d344a(0x228)]!==void 0x0&&_0x204cbd[_0x5d344a(0x228)]<=0x0)return _0x5d344a(0x1cb);for(let _0x44fe00 of[_0x5d344a(0x27c),_0x5d344a(0x1d2)]){let _0x5bf400=_0x204cbd[_0x44fe00];if(_0x5bf400!==void 0x0&&typeof _0x5bf400!=_0x5d344a(0x220))return'Shape\x20transform\x20\x22'+_0x44fe00+_0x5d344a(0x225);}}let _0x29bb72=_0xf9f794[_0x5d344a(0x20c)];return!_0x39353a&&_0x29bb72&&('relation'in _0x29bb72||'points'in _0x29bb72)?_0x5d344a(0x249):null;}var I=class extends P{[_0x52a63a(0x25b)](){return!0x0;}[_0x52a63a(0x207)](){const _0x452433=_0x52a63a;let _0x4b0551=this[_0x452433(0x236)]();return _0x4b0551?_0xccc54d['deepClone'](_0x4b0551['start']):null;}[_0x52a63a(0x21e)](){const _0xf8538=_0x52a63a;let _0x404f34=this[_0xf8538(0x236)]();return _0x404f34?_0xccc54d[_0xf8538(0x238)](_0x404f34['end']):null;}[_0x52a63a(0x1d4)](){const _0x4b8f74=_0x52a63a;let _0xe437f7=this[_0x4b8f74(0x236)]();return _0xe437f7?_0xccc54d[_0x4b8f74(0x238)](_0xe437f7[_0x4b8f74(0x1f0)]):null;}[_0x52a63a(0x276)](){const _0x4e529b=_0x52a63a;let _0x236548=this['_getConnectorSnapshot']();return _0x236548?_0xccc54d[_0x4e529b(0x238)](_0x236548[_0x4e529b(0x1d6)]):null;}[_0x52a63a(0x242)](){let _0x2464e6=this['_getConnectorSnapshot']();return _0x2464e6?_0xccc54d['deepClone'](_0x2464e6['endArrow']):null;}[_0x52a63a(0x232)](_0xf0c66c){const _0x30fc36=_0x52a63a;return _0x246883(_0xf0c66c)?super[_0x30fc36(0x232)](_0xf0c66c):(console[_0x30fc36(0x1c6)](_0x30fc36(0x20f)+this[_0x30fc36(0x1df)][_0x30fc36(0x1fa)]+_0x30fc36(0x1c5)),this);}[_0x52a63a(0x211)](_0x38de6d){const _0x623869=_0x52a63a;return _0x38de6d[_0x623869(0x1dd)]!==void 0x0&&!_0x246883(_0x38de6d[_0x623869(0x1dd)])?(console['warn'](_0x623869(0x20f)+this[_0x623869(0x1df)]['shapeId']+_0x623869(0x243)),this):super[_0x623869(0x211)](_0x38de6d);}[_0x52a63a(0x1e8)](_0x43b714,_0x26441f){const _0x12d190=_0x52a63a;return this[_0x12d190(0x1e3)]('start',_0x43b714,_0x26441f),this;}[_0x52a63a(0x23f)](_0x4e69df,_0x45dc8e){const _0x2f0980=_0x52a63a;return this[_0x2f0980(0x1e3)](_0x2f0980(0x1cf),_0x4e69df,_0x45dc8e),this;}[_0x52a63a(0x24c)](){const _0x1ed73e=_0x52a63a;return this[_0x1ed73e(0x27b)](_0x1ed73e(0x22a),_0x3d523c=>_0x3d523c[_0x1ed73e(0x24c)](this[_0x1ed73e(0x1df)])),this;}[_0x52a63a(0x1fc)](){const _0xa157e5=_0x52a63a;return this['_mutateConnector'](_0xa157e5(0x271),_0x230e88=>_0x230e88[_0xa157e5(0x1fc)](this[_0xa157e5(0x1df)])),this;}['setStartPoint'](_0x14142a){const _0x490ca8=_0x52a63a;return L(_0x14142a,this[_0x490ca8(0x1df)][_0x490ca8(0x1fa)])&&this[_0x490ca8(0x27b)](_0x490ca8(0x234),_0x3680bd=>_0x3680bd[_0x490ca8(0x247)](this[_0x490ca8(0x1df)],_0x14142a)),this;}[_0x52a63a(0x231)](_0x560285){const _0x498c2d=_0x52a63a;return L(_0x560285,this[_0x498c2d(0x1df)][_0x498c2d(0x1fa)])&&this['_mutateConnector']('set\x20end\x20point',_0x3f3fbc=>_0x3f3fbc['setEndPoint'](this['_shapeRef'],_0x560285)),this;}[_0x52a63a(0x240)](_0x2a350d){const _0x321582=_0x52a63a;return _0x2a350d['every'](_0x2eaeef=>L(_0x2eaeef,this['_shapeRef'][_0x321582(0x1fa)]))&&this[_0x321582(0x27b)](_0x321582(0x1c1),_0x1b4642=>_0x1b4642[_0x321582(0x240)](this[_0x321582(0x1df)],_0x2a350d)),this;}[_0x52a63a(0x262)](_0x8980ff,_0x451ff7){const _0x3aa8ba=_0x52a63a;return this[_0x3aa8ba(0x27b)](_0x3aa8ba(0x20b),_0x52bf8e=>_0x52bf8e['setStartArrow'](this[_0x3aa8ba(0x1df)],_0x8980ff,_0x451ff7)),this;}[_0x52a63a(0x1f7)](_0x1531fc,_0x400a4b){const _0x2a9c8f=_0x52a63a;return this[_0x2a9c8f(0x27b)](_0x2a9c8f(0x22c),_0x342b11=>_0x342b11['setEndArrow'](this[_0x2a9c8f(0x1df)],_0x1531fc,_0x400a4b)),this;}[_0x52a63a(0x26c)](){const _0x72cf30=_0x52a63a;return this[_0x72cf30(0x1d3)][_0x72cf30(0x274)](_0x57d1cb);}['_getConnectorSnapshot'](){const _0x584eb2=_0x52a63a;let _0x4ac731=this[_0x584eb2(0x26c)]();if(!_0x4ac731)return null;try{return _0x4ac731[_0x584eb2(0x1d7)](this['_shapeRef'])||(console[_0x584eb2(0x1c6)](_0x584eb2(0x20f)+this[_0x584eb2(0x1df)][_0x584eb2(0x1fa)]+_0x584eb2(0x1d8)),null);}catch(_0x561846){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x584eb2(0x1df)][_0x584eb2(0x1fa)]+'\x22.',_0x561846),null;}}[_0x52a63a(0x1e3)](_0x4922ba,_0x5d1b8d,_0x9b70ca){const _0x1c791c=_0x52a63a;if(!_0x5d1b8d||!Number[_0x1c791c(0x1e5)](_0x9b70ca)||_0x9b70ca<0x0)return console['warn'](_0x1c791c(0x24e)+this[_0x1c791c(0x1df)][_0x1c791c(0x1fa)]+_0x1c791c(0x241)),!0x1;let _0x681d={'shapeId':_0x5d1b8d,'cxnIndex':_0x9b70ca};return this[_0x1c791c(0x27b)](_0x1c791c(0x224)+_0x4922ba,_0x549f93=>_0x4922ba==='start'?_0x549f93[_0x1c791c(0x1e8)](this[_0x1c791c(0x1df)],_0x681d):_0x549f93['bindEnd'](this[_0x1c791c(0x1df)],_0x681d));}[_0x52a63a(0x27b)](_0x42702d,_0x11f200){const _0x1567bf=_0x52a63a;let _0xff5da5=this['_getConnectorAdapter']();if(!_0xff5da5)return!0x1;try{let _0x5885ff=_0x11f200(_0xff5da5);return _0x5885ff||console[_0x1567bf(0x1c6)](_0x1567bf(0x23b)+_0x42702d+'\x20Connector\x20Shape\x20\x22'+this[_0x1567bf(0x1df)][_0x1567bf(0x1fa)]+'\x22.'),_0x5885ff;}catch(_0x171162){return console[_0x1567bf(0x1c6)](_0x1567bf(0x23b)+_0x42702d+_0x1567bf(0x21b)+this[_0x1567bf(0x1df)]['shapeId']+'\x22.',_0x171162),!0x1;}}};function L(_0x19d080,_0x29c297){const _0x176009=_0x52a63a;return!Number[_0x176009(0x1c9)](_0x19d080['x'])||!Number[_0x176009(0x1c9)](_0x19d080['y'])?(console[_0x176009(0x1c6)](_0x176009(0x24e)+_0x29c297+_0x176009(0x217)),!0x1):!0x0;}function _0x4638(_0x5587df,_0x61b65e){_0x5587df=_0x5587df-0x1be;const _0x11aa3c=_0x11aa();let _0x4638ef=_0x11aa3c[_0x5587df];return _0x4638ef;}export{I as FConnectorShape,P as FShape,N as FShapeText};
|
|
1
|
+
const _0x433b6d=_0x2cd6;function _0x23f6(){const _0x159a53=['ShapeTextDirection','toPlainText','SolidLine','getHostType','diamond','getDescription','_getConnectorAdapter','setText','setFontFamily','ShapeImageFillModeEnum','2539906jTuCGl','853758btdjkP','width','getEndEndpoint','\x20Shape\x20\x22','linear','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','_mutate','ShapeLineTypeEnum','length','[Shape\x20Facade]:\x20Connector\x20\x22','bindStart','setTextBoxOptions','setShapeData','setSelectable','boolean','\x20Connector\x20Shape\x20\x22','39MAWTSS','updateShape','color','GradientFill','scaleX','angular','ShapeGradientTypeEnum','setStrokeLineJoinType','243988IgsfIA','bring\x20forward','5637924uHQTGC','bindEnd','isFinite','setBold','solid','get','opacity','shapeId','getStartEndpoint','sendToBack','_updateShapeData','customGeometry','end','setStartArrow','set\x20end\x20arrow','update','bring\x20to\x20front','ShapeArrowSizeEnum','top','shapeData','set\x20route\x20points','setImageFill','TRUE','_shapeRef','setTextStyle','_patchShapeData','sendBackward','isCustom','getPlainText','setStartPoint','\x22\x20text.','getConnectionSiteList','setGradientFill','setVerticalAlign','ShapeTypeEnum','bringForward','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','removeShape','start','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','setEndPoint','setName','height','getShapeType','getName','\x22\x20must\x20be\x20boolean.','PictureFill','set\x20start\x20point','setStrokeLineCapType','remove','send\x20to\x20back','setRichText','every','7608825doYWHr','relation','warn','startArrow','_injector','setStrikethrough','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setNoneFill','getShape','setStrokeColor','bind\x20','_patchStroke','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','_mutateConnector','description','_getSnapshot','setShapeType','getSnapshot','46672cHSGSK','Tile','Shape\x20\x22','map','_getGeometryModel','ShapeFillEnum','NoFill','getTransform','setDescription','visible','unbindStart','setStrokeLineDashType','routePoints','bringToFront','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','offsetX','isSelectable','[Shape\x20Facade]:\x20Failed\x20to\x20','\x22\x20requires\x20Connector\x20Shape\x20data.','createInstance','setStrokeLineType','isCustomShape','setRoutePoints','_bind','_getAdapter','_getShapeData','setStrokeWidth','getRichText','ShapeLineJoinEnum','lineStrokeType','hostType','deepClone','getDrawingPoints','SolidFill','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','ShapeOperatorEnum','selectable','shapeType','gradient','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','getRoutePoints','radial','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','_getConnectorSnapshot','setFontSize','Shape\x20transform\x20\x22','[Shape\x20Facade]:\x20Shape\x20\x22','430VWqTMv','setItalic','stretch','462681vVScNH','unbindEnd','FALSE','left','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','set\x20start\x20arrow','getStartConnectInfo','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','getConnectionSites','Linear','setVisible','none','1253FHmhWY','shapeText','getEndConnectInfo','setTransform','setEndArrow','send\x20backward','\x22\x20was\x20not\x20found.','setStroke','getShapeData','isConnectorShape','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','transform','updateContext','mode','endArrow','NoLine','stroke','getStartArrow','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','rotation','points','offsetY'];_0x23f6=function(){return _0x159a53;};return _0x23f6();}(function(_0x44740d,_0x1c3252){const _0x22c9c8=_0x2cd6,_0x3b3b80=_0x44740d();while(!![]){try{const _0x115ce4=-parseInt(_0x22c9c8(0xfa))/0x1+-parseInt(_0x22c9c8(0xf9))/0x2+-parseInt(_0x22c9c8(0x10a))/0x3*(parseInt(_0x22c9c8(0x112))/0x4)+parseInt(_0x22c9c8(0x149))/0x5+-parseInt(_0x22c9c8(0x114))/0x6+parseInt(_0x22c9c8(0xd9))/0x7*(parseInt(_0x22c9c8(0x15b))/0x8)+-parseInt(_0x22c9c8(0xcd))/0x9*(-parseInt(_0x22c9c8(0xca))/0xa);if(_0x115ce4===_0x1c3252)break;else _0x3b3b80['push'](_0x3b3b80['shift']());}catch(_0x1a8f35){_0x3b3b80['push'](_0x3b3b80['shift']());}}}(_0x23f6,0xe0af8));import{IConnectorShapeHostAdapter as _0x16708f,IShapeHostAdapterRegistry as _0x4ae540,ImageFillModeEnum as _0x2ec5be,ImageSourceTypeEnum as _0x4440bd,ShapeArrowSizeEnum as _0x398055,ShapeArrowTypeEnum as _0xbc4ea7,ShapeFillEnum as _0x2533cb,ShapeGradientTypeEnum as _0x1cbbf7,ShapeLineCapEnum as _0xe84ee6,ShapeLineDashEnum as _0x41789d,ShapeLineJoinEnum as _0x14b1ea,ShapeLineTypeEnum as _0x1b809a,ShapeModel as _0x42c72b,ShapeOperatorEnum as _0x21d5a6,ShapeTextAutoFitType as _0x4c62ac,ShapeTextDirection as _0x3d4681,ShapeTextWrapType as _0x38edac,ShapeTypeEnum as _0x48fcf2,applyRichTextToShapeText as _0x13d644,applyShapeTextAlignment as _0x2c4c22,applyShapeTextBoxOptions as _0x47d449,applyShapeTextStyle as _0x2a3888,applyTextToShapeText as _0x20bed2,isConnectorShape as _0x27d6d1,resolveShapeTextBoxOptions as _0x32c686,shapeTextToRichTextValue as _0x4fa01a}from'@univerjs-pro/engine-shape';import{FBase as _0x422559,FEnum as _0x3915cf}from'@univerjs/core/facade';import{BooleanNumber as _0x1fcab0,Tools as _0x16ae0e}from'@univerjs/core';var A=class extends _0x3915cf{get[_0x433b6d(0x136)](){return _0x48fcf2;}get[_0x433b6d(0x160)](){return _0x2533cb;}get[_0x433b6d(0x110)](){return _0x1cbbf7;}get[_0x433b6d(0xf8)](){return _0x2ec5be;}get['ShapeImageSourceTypeEnum'](){return _0x4440bd;}get[_0x433b6d(0x101)](){return _0x1b809a;}get['ShapeLineDashEnum'](){return _0x41789d;}get['ShapeLineCapEnum'](){return _0xe84ee6;}get[_0x433b6d(0x177)](){return _0x14b1ea;}get[_0x433b6d(0xbe)](){return _0x21d5a6;}get['ShapeArrowTypeEnum'](){return _0xbc4ea7;}get[_0x433b6d(0x125)](){return _0x398055;}get['ShapeTextAutoFitType'](){return _0x4c62ac;}get[_0x433b6d(0xef)](){return _0x3d4681;}get['ShapeTextWrapType'](){return _0x38edac;}};_0x3915cf['extend'](A);function j(_0x496470){const _0x4535ce=_0x433b6d;switch(_0x496470){case _0x1cbbf7['Radial']:return _0x4535ce(0xc4);case _0x1cbbf7['Angular']:return _0x4535ce(0x10f);case _0x1cbbf7['Diamond']:return _0x4535ce(0xf3);case _0x1cbbf7[_0x4535ce(0xd6)]:default:return _0x4535ce(0xfe);}}function M(_0x10919b){const _0x677599=_0x433b6d;return _0x10919b===_0x2ec5be[_0x677599(0x15c)]?'tile':_0x677599(0xcc);}var N=class{constructor(_0x2ea796,_0x20afb7){const _0x20e89=_0x433b6d;this[_0x20e89(0x12b)]=_0x2ea796,this[_0x20e89(0x14d)]=_0x20afb7;}['getRichText'](){const _0x15acdb=_0x433b6d;var _0x5a47a3;return _0x4fa01a((_0x5a47a3=this[_0x15acdb(0x174)]())==null?void 0x0:_0x5a47a3[_0x15acdb(0xda)]);}[_0x433b6d(0x130)](){const _0x127e8f=_0x433b6d;var _0x32b82e,_0x23f97e;return(_0x32b82e=(_0x23f97e=this[_0x127e8f(0x176)]())==null?void 0x0:_0x23f97e[_0x127e8f(0xf0)]())==null?null:_0x32b82e;}[_0x433b6d(0x147)](_0x2e93f1){const _0x2c4866=_0x433b6d;return this[_0x2c4866(0x11e)](_0x32404e=>({..._0x32404e,'shapeText':_0x13d644(_0x32404e[_0x2c4866(0xda)],_0x2e93f1)})),this;}[_0x433b6d(0xf6)](_0x3e8924){const _0x156b21=_0x433b6d;return this[_0x156b21(0x11e)](_0x9519bb=>({..._0x9519bb,'shapeText':_0x20bed2(_0x9519bb[_0x156b21(0xda)],_0x3e8924)})),this;}[_0x433b6d(0x12c)](_0xc04558){const _0x61a6c6=_0x433b6d;return this[_0x61a6c6(0x11e)](_0x176516=>({..._0x176516,'shapeText':_0x2a3888(_0x176516[_0x61a6c6(0xda)],_0xc04558)})),this;}['setColor'](_0x9f34,_0x593d99){const _0x269d12=_0x433b6d;return this['setTextStyle']({'cl':{'rgb':_0x9f34},'textFill':{'type':_0x269d12(0x118),'color':_0x9f34,'opacity':_0x593d99}});}[_0x433b6d(0x150)](){const _0x14f0fc=_0x433b6d;return this['setTextStyle']({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x14f0fc(0xd8)}});}[_0x433b6d(0x134)](_0x5084e2,_0x228fbf,_0x30e6df){const _0x105978=_0x433b6d;return _0x228fbf['length']<0x2?(console['warn'](_0x105978(0x17d)),this):this[_0x105978(0x12c)]({'cl':{'rgb':_0x228fbf[0x0][_0x105978(0x10c)]},'textFill':{'type':_0x105978(0xc1),'gradient':{'type':j(_0x5084e2),'angle':_0x30e6df,'stops':_0x228fbf['map'](({position:_0x13294a,color:_0x1fae6f,opacity:_0x1d1fc9})=>({'offset':_0x13294a,'color':_0x1fae6f,'opacity':_0x1d1fc9}))}}});}['setImageFill'](_0x55a269,_0x46f631=_0x4440bd['URL'],_0x46ccb0={}){const _0x1019b4=_0x433b6d;return this['setTextStyle']({'textFill':{'type':'picture','picture':{'source':_0x55a269,'sourceType':_0x46f631,'opacity':_0x46ccb0[_0x1019b4(0x11a)],'mode':M(_0x46ccb0[_0x1019b4(0xe6)]),'scaleX':_0x46ccb0[_0x1019b4(0x10e)],'scaleY':_0x46ccb0['scaleY'],'offsetX':_0x46ccb0[_0x1019b4(0x16a)],'offsetY':_0x46ccb0[_0x1019b4(0xee)]}}});}[_0x433b6d(0xc7)](_0xa7e712){const _0x3878e5=_0x433b6d;return this[_0x3878e5(0x12c)]({'fs':_0xa7e712});}[_0x433b6d(0xf7)](_0x4a70b2){const _0x27d7af=_0x433b6d;return this[_0x27d7af(0x12c)]({'ff':_0x4a70b2});}[_0x433b6d(0x117)](_0x52cad0){const _0x423473=_0x433b6d;return this[_0x423473(0x12c)]({'bl':_0x52cad0?_0x1fcab0[_0x423473(0x12a)]:_0x1fcab0[_0x423473(0xcf)]});}[_0x433b6d(0xcb)](_0x47dce0){const _0x10a3ff=_0x433b6d;return this[_0x10a3ff(0x12c)]({'it':_0x47dce0?_0x1fcab0[_0x10a3ff(0x12a)]:_0x1fcab0[_0x10a3ff(0xcf)]});}['setUnderline'](_0xfa6adc){const _0x41e062=_0x433b6d;return this[_0x41e062(0x12c)]({'ul':{'s':_0xfa6adc?_0x1fcab0[_0x41e062(0x12a)]:_0x1fcab0[_0x41e062(0xcf)]}});}[_0x433b6d(0x14e)](_0x3a7a92){const _0x1785d5=_0x433b6d;return this['setTextStyle']({'st':{'s':_0x3a7a92?_0x1fcab0['TRUE']:_0x1fcab0[_0x1785d5(0xcf)]}});}['setHorizontalAlign'](_0x299f3b){const _0x1831f2=_0x433b6d;return this[_0x1831f2(0x11e)](_0xb96622=>_0x2c4c22(_0xb96622,{'horizontalAlign':_0x299f3b})),this;}[_0x433b6d(0x135)](_0x2478da){return this['_updateShapeData'](_0x3c573f=>_0x2c4c22(_0x3c573f,{'verticalAlign':_0x2478da})),this;}['getTextBoxOptions'](){let _0x102357=this['_getShapeData']();return _0x102357?_0x32c686(_0x102357):null;}[_0x433b6d(0x105)](_0x5052a3){const _0x4977c3=_0x433b6d;return this[_0x4977c3(0x11e)](_0x40a73=>_0x47d449(_0x40a73,_0x5052a3)),this;}['_getAdapter'](){const _0x277eec=_0x433b6d;return this[_0x277eec(0x14d)]['get'](_0x4ae540)[_0x277eec(0x119)](this[_0x277eec(0x12b)][_0x277eec(0x179)]);}[_0x433b6d(0x174)](){const _0x5cc328=_0x433b6d;let _0xe1981c=this[_0x5cc328(0x173)]();if(!_0xe1981c)return null;try{var _0x270061;return((_0x270061=_0xe1981c[_0x5cc328(0x151)](this[_0x5cc328(0x12b)]))==null?void 0x0:_0x270061[_0x5cc328(0x127)])||(console[_0x5cc328(0x14b)](_0x5cc328(0xe3)+this[_0x5cc328(0x12b)][_0x5cc328(0x11b)]+_0x5cc328(0xdf)),null);}catch(_0x61a381){return console[_0x5cc328(0x14b)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this['_shapeRef'][_0x5cc328(0x11b)]+_0x5cc328(0x132),_0x61a381),null;}}[_0x433b6d(0x11e)](_0x29d912){const _0x362f04=_0x433b6d;let _0x565ff2=this[_0x362f04(0x173)]();if(!_0x565ff2)return!0x1;try{var _0x59f3e7;let _0x2d5c4e=(_0x59f3e7=_0x565ff2['getShape'](this[_0x362f04(0x12b)]))==null?void 0x0:_0x59f3e7[_0x362f04(0x127)];if(!_0x2d5c4e)return console[_0x362f04(0x14b)](_0x362f04(0xe3)+this[_0x362f04(0x12b)][_0x362f04(0x11b)]+_0x362f04(0xdf)),!0x1;let _0x5dab6c=_0x565ff2[_0x362f04(0x10b)](this['_shapeRef'],{'shapeData':_0x29d912(_0x2d5c4e)});return _0x5dab6c||console['warn'](_0x362f04(0xff)+this[_0x362f04(0x12b)][_0x362f04(0x11b)]+'\x22\x20text.'),_0x5dab6c;}catch(_0x4db3e3){return console[_0x362f04(0x14b)](_0x362f04(0xff)+this[_0x362f04(0x12b)]['shapeId']+_0x362f04(0x132),_0x4db3e3),!0x1;}}},P=class extends _0x422559{constructor(_0x570db4,_0x328138){const _0x2f0d7c=_0x433b6d;super(),this[_0x2f0d7c(0x12b)]=_0x570db4,this[_0x2f0d7c(0x14d)]=_0x328138;}[_0x433b6d(0xe2)](){return!0x1;}['getId'](){return this['_shapeRef']['shapeId'];}[_0x433b6d(0x140)](){const _0x72273d=_0x433b6d;var _0x397421;return(_0x397421=this[_0x72273d(0x158)]())==null?void 0x0:_0x397421['name'];}[_0x433b6d(0x13d)](_0x3e0d01){return this['update']({'name':_0x3e0d01});}[_0x433b6d(0xf4)](){const _0x4ad498=_0x433b6d;var _0x3a58a2;return(_0x3a58a2=this[_0x4ad498(0x158)]())==null?void 0x0:_0x3a58a2[_0x4ad498(0x157)];}[_0x433b6d(0x163)](_0xd2baef){const _0x4bf4dd=_0x433b6d;return this[_0x4bf4dd(0x123)]({'description':_0xd2baef});}[_0x433b6d(0xf2)](){const _0x35e33b=_0x433b6d;return this[_0x35e33b(0x12b)][_0x35e33b(0x179)];}[_0x433b6d(0x13f)](){const _0x584a8f=_0x433b6d;var _0x46d6c9,_0x7fa163;return(_0x46d6c9=(_0x7fa163=this['_getSnapshot']())==null?void 0x0:_0x7fa163[_0x584a8f(0xc0)])==null?null:_0x46d6c9;}['getShapeData'](){const _0x15432f=_0x433b6d;let _0x5e4f2e=this[_0x15432f(0x158)]();return _0x5e4f2e?_0x16ae0e[_0x15432f(0x17a)](_0x5e4f2e[_0x15432f(0x127)]):null;}[_0x433b6d(0x15a)](){const _0x457cba=_0x433b6d;let _0x43507f=this['_getSnapshot']();return _0x43507f?_0x16ae0e[_0x457cba(0x17a)](_0x43507f):null;}[_0x433b6d(0x162)](){const _0x214f08=_0x433b6d;let _0x4f4476=this[_0x214f08(0x158)]();return _0x4f4476?{..._0x4f4476[_0x214f08(0xe4)]}:null;}['isVisible'](){const _0x572353=_0x433b6d;var _0x469c70,_0x2b5146;return(_0x469c70=(_0x2b5146=this['_getSnapshot']())==null?void 0x0:_0x2b5146[_0x572353(0x164)])==null?!0x1:_0x469c70;}[_0x433b6d(0xd7)](_0x5b3fb3){const _0x53707a=_0x433b6d;return this[_0x53707a(0x123)]({'visible':_0x5b3fb3});}[_0x433b6d(0x16b)](){const _0x421821=_0x433b6d;var _0xf4b206,_0x2bdb97;return(_0xf4b206=(_0x2bdb97=this[_0x421821(0x158)]())==null?void 0x0:_0x2bdb97[_0x421821(0xbf)])==null?!0x1:_0xf4b206;}[_0x433b6d(0x107)](_0x5de53e){const _0x2b788=_0x433b6d;return this[_0x2b788(0x123)]({'selectable':_0x5de53e});}['getText'](){const _0x27ab1c=_0x433b6d;return this[_0x27ab1c(0x14d)][_0x27ab1c(0x16e)](N,this['_shapeRef'],this['_injector']);}[_0x433b6d(0x170)](){const _0x2b854d=_0x433b6d;let _0x1b21e3=this['getShapeData']();return(_0x1b21e3==null?void 0x0:_0x1b21e3[_0x2b854d(0x12f)])===!0x0&&!!_0x1b21e3['customGeometry'];}['getCustomGeometry'](){const _0x5dff4f=_0x433b6d;var _0x3ed00c,_0x26bded;return(_0x3ed00c=(_0x26bded=this[_0x5dff4f(0xe1)]())==null?void 0x0:_0x26bded[_0x5dff4f(0x11f)])==null?null:_0x3ed00c;}[_0x433b6d(0x159)](_0x109e9c){const _0x55dc39=_0x433b6d;return this[_0x55dc39(0x12d)](_0x481de6=>({..._0x481de6,'shapeType':_0x109e9c}),_0x109e9c);}[_0x433b6d(0x106)](_0x58e1fd){const _0x51502c=_0x433b6d;let _0x7404f3=_0x16ae0e[_0x51502c(0x17a)](_0x58e1fd);return this['update']({'shapeType':_0x7404f3[_0x51502c(0xc0)],'shapeData':_0x7404f3});}[_0x433b6d(0xdc)](_0x454274){return this['update']({'transform':_0x454274});}['setSize'](_0x3dfdff,_0x5d958e){return this['setTransform']({'width':_0x3dfdff,'height':_0x5d958e});}['setRotation'](_0x5f2ac7){const _0x2d95a8=_0x433b6d;return this[_0x2d95a8(0xdc)]({'rotation':_0x5f2ac7});}['setAbsolutePosition'](_0x115729,_0x1ac19e){const _0x1649f2=_0x433b6d;return this[_0x1649f2(0xdc)]({'left':_0x115729,'top':_0x1ac19e});}['setCustomGeometry'](_0x33925d){const _0x2edca3=_0x433b6d;let _0x3ac4b1=_0x16ae0e[_0x2edca3(0x17a)](_0x33925d);return this['_patchShapeData'](_0x19bc09=>({..._0x19bc09,'isCustom':!0x0,'customGeometry':_0x3ac4b1}));}[_0x433b6d(0xd5)](){const _0x2ff0ff=_0x433b6d;var _0x451be1,_0x460ed6;return(_0x451be1=(_0x460ed6=this[_0x2ff0ff(0x15f)]())==null?void 0x0:_0x460ed6[_0x2ff0ff(0x133)]()['map'](_0x91eeb=>({..._0x91eeb})))==null?[]:_0x451be1;}['getAdjustPoints'](){const _0x454e02=_0x433b6d;var _0x4f774a,_0x312800;return(_0x4f774a=(_0x312800=this[_0x454e02(0x15f)]())==null?void 0x0:_0x312800[_0x454e02(0x17b)]()[_0x454e02(0x15e)](_0x1b22c3=>({..._0x1b22c3})))==null?[]:_0x4f774a;}[_0x433b6d(0xd3)](){var _0x1e638b;let _0x4ce639=(_0x1e638b=this['_getGeometryModel']())==null?void 0x0:_0x1e638b['getStartConnectInfo']();return _0x4ce639?{..._0x4ce639}:null;}[_0x433b6d(0xdb)](){const _0x22b490=_0x433b6d;var _0x4e00c9;let _0x4bf5f1=(_0x4e00c9=this[_0x22b490(0x15f)]())==null?void 0x0:_0x4e00c9[_0x22b490(0xdb)]();return _0x4bf5f1?{..._0x4bf5f1}:null;}['setSolidFill'](_0x33cd6e,_0x8e8d96){const _0xaa1639=_0x433b6d;return this['_patchShapeData'](_0x362825=>({..._0x362825,'fill':{'fillType':_0x2533cb[_0xaa1639(0x17c)],'color':_0x33cd6e,'opacity':_0x8e8d96}}));}[_0x433b6d(0x134)](_0x494311,_0x152e49,_0x1ecf61){const _0x19beeb=_0x433b6d;return _0x152e49[_0x19beeb(0x102)]<0x2?(console[_0x19beeb(0x14b)](_0x19beeb(0xc5)),this):this[_0x19beeb(0x12d)](_0x3ec88a=>({..._0x3ec88a,'fill':{'fillType':_0x2533cb[_0x19beeb(0x10d)],'gradientType':_0x494311,'gradientStops':_0x16ae0e['deepClone'](_0x152e49),'gradientAngle':_0x1ecf61}}));}[_0x433b6d(0x129)](_0x48690a,_0x26f9b9,_0x47a276={}){const _0x3479a4=_0x433b6d;return this[_0x3479a4(0x12d)](_0x89b88d=>({..._0x89b88d,'fill':{..._0x16ae0e['deepClone'](_0x47a276),'fillType':_0x2533cb[_0x3479a4(0x142)],'fillImageSource':_0x48690a,'fillImageSourceType':_0x26f9b9}}));}[_0x433b6d(0x150)](){const _0x2ecf62=_0x433b6d;return this[_0x2ecf62(0x12d)](_0x56903b=>({..._0x56903b,'fill':{'fillType':_0x2533cb[_0x2ecf62(0x161)]}}));}[_0x433b6d(0xe0)](_0x1e1def){const _0x31d3f4=_0x433b6d;return this[_0x31d3f4(0x12d)](_0x4a8e24=>({..._0x4a8e24,'stroke':_0x16ae0e[_0x31d3f4(0x17a)](_0x1e1def)}));}[_0x433b6d(0x152)](_0xaba992){const _0x25c76f=_0x433b6d;return this[_0x25c76f(0x154)](_0xca9be4=>({..._0xca9be4,'color':_0xaba992,'lineStrokeType':_0xca9be4[_0x25c76f(0x178)]===_0x1b809a[_0x25c76f(0xe8)]?_0x1b809a[_0x25c76f(0xf1)]:_0xca9be4['lineStrokeType']}));}[_0x433b6d(0x175)](_0xf39e91){const _0x5177da=_0x433b6d;return this[_0x5177da(0x154)](_0x555287=>({..._0x555287,'width':_0xf39e91,'lineStrokeType':_0x555287[_0x5177da(0x178)]===_0x1b809a[_0x5177da(0xe8)]?_0x1b809a[_0x5177da(0xf1)]:_0x555287['lineStrokeType']}));}['setStrokeOpacity'](_0x5c06fa){const _0x5a9de8=_0x433b6d;return this[_0x5a9de8(0x154)](_0x2b0b83=>({..._0x2b0b83,'opacity':_0x5c06fa}));}[_0x433b6d(0x166)](_0x48e9c3){const _0x25c108=_0x433b6d;return this[_0x25c108(0x154)](_0x3c157e=>({..._0x3c157e,'dashType':_0x48e9c3}));}[_0x433b6d(0x111)](_0x5d54f9){return this['_patchStroke'](_0x3b622f=>({..._0x3b622f,'lineJoinType':_0x5d54f9}));}[_0x433b6d(0x144)](_0x4dcd1b){const _0x21d552=_0x433b6d;return this[_0x21d552(0x154)](_0x69f31c=>({..._0x69f31c,'capType':_0x4dcd1b}));}[_0x433b6d(0x16f)](_0x65e91f){const _0x322db8=_0x433b6d;return this[_0x322db8(0x154)](_0x3fffdb=>({..._0x3fffdb,'lineStrokeType':_0x65e91f}));}['update'](_0x1f2b22){const _0x1c25cf=_0x433b6d;var _0x45a4ba,_0xf461fa,_0x3bda0c;let _0x5d1004=_0x1f2b22[_0x1c25cf(0x127)],_0xdecd14=_0x5d1004&&(_0x1c25cf(0x14a)in _0x5d1004||_0x1c25cf(0xed)in _0x5d1004)?this[_0x1c25cf(0x13f)]():null,_0x31526a=(_0x45a4ba=(_0xf461fa=_0x1f2b22[_0x1c25cf(0xc0)])==null?(_0x3bda0c=_0x1f2b22[_0x1c25cf(0x127)])==null?void 0x0:_0x3bda0c['shapeType']:_0xf461fa)==null?_0xdecd14:_0x45a4ba,_0x1fc8b6=F(_0x1f2b22,_0x31526a!==null&&_0x27d6d1(_0x31526a));return _0x1fc8b6?(console[_0x1c25cf(0x14b)]('[Shape\x20Facade]:\x20'+_0x1fc8b6),this):(this['_mutate'](_0x1c25cf(0x123),_0x14b9b5=>_0x14b9b5[_0x1c25cf(0x10b)](this[_0x1c25cf(0x12b)],_0x1f2b22)),this);}[_0x433b6d(0x145)](){const _0x4e4082=_0x433b6d;return this[_0x4e4082(0x100)]('remove',_0x4458e4=>_0x4458e4[_0x4e4082(0x139)](this[_0x4e4082(0x12b)]));}[_0x433b6d(0x168)](){const _0x42ea35=_0x433b6d;return this[_0x42ea35(0x100)](_0x42ea35(0x124),_0x31c791=>_0x31c791['bringToFront'](this[_0x42ea35(0x12b)])),this;}['bringForward'](){const _0x15d031=_0x433b6d;return this[_0x15d031(0x100)](_0x15d031(0x113),_0x261bd0=>_0x261bd0[_0x15d031(0x137)](this[_0x15d031(0x12b)])),this;}['sendBackward'](){const _0x4bc5f3=_0x433b6d;return this[_0x4bc5f3(0x100)](_0x4bc5f3(0xde),_0x193ca6=>_0x193ca6[_0x4bc5f3(0x12e)](this[_0x4bc5f3(0x12b)])),this;}[_0x433b6d(0x11d)](){const _0xd48c2d=_0x433b6d;return this[_0xd48c2d(0x100)](_0xd48c2d(0x146),_0x1a6671=>_0x1a6671[_0xd48c2d(0x11d)](this[_0xd48c2d(0x12b)])),this;}[_0x433b6d(0x173)](){const _0xbd90dd=_0x433b6d;return this[_0xbd90dd(0x14d)][_0xbd90dd(0x119)](_0x4ae540)[_0xbd90dd(0x119)](this[_0xbd90dd(0x12b)]['hostType']);}[_0x433b6d(0x12d)](_0x125b83,_0x28624b){const _0x3a0936=_0x433b6d;let _0x581c00=this['getShapeData']();return _0x581c00?this[_0x3a0936(0x123)]({'shapeType':_0x28624b,'shapeData':_0x125b83(_0x581c00)}):this;}[_0x433b6d(0x154)](_0x26f2ec){const _0x398d2f=_0x433b6d;return this[_0x398d2f(0x12d)](_0x265d61=>{const _0x446b30=_0x398d2f;var _0x491831;return{..._0x265d61,'stroke':_0x26f2ec((_0x491831=_0x265d61[_0x446b30(0xe9)])==null?{}:_0x491831)};});}[_0x433b6d(0x158)](){const _0x5371e6=_0x433b6d;let _0xfbac61=this[_0x5371e6(0x173)]();if(!_0xfbac61)return null;try{return _0xfbac61['getShape'](this[_0x5371e6(0x12b)])||(console[_0x5371e6(0x14b)](_0x5371e6(0xc9)+this[_0x5371e6(0x12b)][_0x5371e6(0x11b)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x28dd23){return console[_0x5371e6(0x14b)](_0x5371e6(0xd1)+this['_shapeRef'][_0x5371e6(0x11b)]+'\x22.',_0x28dd23),null;}}[_0x433b6d(0x15f)](){const _0x4c20b9=_0x433b6d;let _0x207ca5=this[_0x4c20b9(0x158)]();if(!_0x207ca5)return null;try{let _0xfc00f3=new _0x42c72b(_0x207ca5[_0x4c20b9(0xc0)],_0x207ca5[_0x4c20b9(0x11b)],_0x207ca5[_0x4c20b9(0x127)]);return _0xfc00f3[_0x4c20b9(0xe5)]({'width':_0x207ca5[_0x4c20b9(0xe4)][_0x4c20b9(0xfb)],'height':_0x207ca5[_0x4c20b9(0xe4)][_0x4c20b9(0x13e)]}),_0xfc00f3;}catch(_0x556729){return console['warn'](_0x4c20b9(0xd4)+this[_0x4c20b9(0x12b)][_0x4c20b9(0x11b)]+'\x22.',_0x556729),null;}}[_0x433b6d(0x100)](_0x58b34d,_0x1af6bc){const _0x440e74=_0x433b6d;let _0x2167cf=this[_0x440e74(0x173)]();if(!_0x2167cf)return!0x1;try{let _0x43cfd6=_0x1af6bc(_0x2167cf);return _0x43cfd6||console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x58b34d+_0x440e74(0xfd)+this[_0x440e74(0x12b)][_0x440e74(0x11b)]+'\x22.'),_0x43cfd6;}catch(_0x3d59a0){return console['warn'](_0x440e74(0x16c)+_0x58b34d+_0x440e74(0xfd)+this['_shapeRef'][_0x440e74(0x11b)]+'\x22.',_0x3d59a0),!0x1;}}};function _0x2cd6(_0x10c0dd,_0x549036){_0x10c0dd=_0x10c0dd-0xbe;const _0x23f676=_0x23f6();let _0x2cd657=_0x23f676[_0x10c0dd];return _0x2cd657;}function F(_0x13e887,_0x3e36a1=!0x1){const _0x2c17d9=_0x433b6d;for(let _0x65a4dd of[_0x2c17d9(0x164),_0x2c17d9(0xbf)]){let _0x29909f=_0x13e887[_0x65a4dd];if(_0x29909f!==void 0x0&&typeof _0x29909f!='boolean')return _0x2c17d9(0x15d)+_0x65a4dd+_0x2c17d9(0x141);}let _0x4aa9fc=_0x13e887['transform'];if(_0x4aa9fc){for(let _0x1da40b of[_0x2c17d9(0xd0),_0x2c17d9(0x126),_0x2c17d9(0xfb),_0x2c17d9(0x13e),_0x2c17d9(0xec)]){let _0x2d425c=_0x4aa9fc[_0x1da40b];if(_0x2d425c!==void 0x0&&!Number['isFinite'](_0x2d425c))return _0x2c17d9(0xc8)+_0x1da40b+'\x22\x20must\x20be\x20finite.';}if(_0x4aa9fc[_0x2c17d9(0xfb)]!==void 0x0&&_0x4aa9fc['width']<=0x0)return _0x2c17d9(0xeb);if(_0x4aa9fc['height']!==void 0x0&&_0x4aa9fc[_0x2c17d9(0x13e)]<=0x0)return _0x2c17d9(0x13b);for(let _0xeef9f4 of['flipX','flipY']){let _0x526480=_0x4aa9fc[_0xeef9f4];if(_0x526480!==void 0x0&&typeof _0x526480!=_0x2c17d9(0x108))return _0x2c17d9(0xc8)+_0xeef9f4+_0x2c17d9(0x141);}}let _0xd952d0=_0x13e887[_0x2c17d9(0x127)];return!_0x3e36a1&&_0xd952d0&&(_0x2c17d9(0x14a)in _0xd952d0||'points'in _0xd952d0)?_0x2c17d9(0x169):null;}var I=class extends P{[_0x433b6d(0xe2)](){return!0x0;}[_0x433b6d(0x11c)](){const _0x303365=_0x433b6d;let _0x11ae49=this[_0x303365(0xc6)]();return _0x11ae49?_0x16ae0e[_0x303365(0x17a)](_0x11ae49[_0x303365(0x13a)]):null;}[_0x433b6d(0xfc)](){const _0x5a1595=_0x433b6d;let _0x2dc3c5=this[_0x5a1595(0xc6)]();return _0x2dc3c5?_0x16ae0e[_0x5a1595(0x17a)](_0x2dc3c5['end']):null;}[_0x433b6d(0xc3)](){const _0x250c11=_0x433b6d;let _0x47e8dd=this[_0x250c11(0xc6)]();return _0x47e8dd?_0x16ae0e['deepClone'](_0x47e8dd[_0x250c11(0x167)]):null;}[_0x433b6d(0xea)](){const _0x1778c6=_0x433b6d;let _0xe74dae=this['_getConnectorSnapshot']();return _0xe74dae?_0x16ae0e[_0x1778c6(0x17a)](_0xe74dae[_0x1778c6(0x14c)]):null;}['getEndArrow'](){const _0xfcebe9=_0x433b6d;let _0x8f540d=this[_0xfcebe9(0xc6)]();return _0x8f540d?_0x16ae0e[_0xfcebe9(0x17a)](_0x8f540d[_0xfcebe9(0xe7)]):null;}['setShapeType'](_0x1fd7ce){const _0x26c2d3=_0x433b6d;return _0x27d6d1(_0x1fd7ce)?super[_0x26c2d3(0x159)](_0x1fd7ce):(console['warn'](_0x26c2d3(0x14f)+this['_shapeRef']['shapeId']+'\x22\x20requires\x20a\x20Connector\x20Shape\x20type.'),this);}[_0x433b6d(0x106)](_0x4d9d6d){const _0x133d3b=_0x433b6d;return _0x4d9d6d[_0x133d3b(0xc0)]!==void 0x0&&!_0x27d6d1(_0x4d9d6d[_0x133d3b(0xc0)])?(console[_0x133d3b(0x14b)](_0x133d3b(0x14f)+this[_0x133d3b(0x12b)][_0x133d3b(0x11b)]+_0x133d3b(0x16d)),this):super[_0x133d3b(0x106)](_0x4d9d6d);}['bindStart'](_0x332bb2,_0x54d764){const _0x2533a1=_0x433b6d;return this[_0x2533a1(0x172)](_0x2533a1(0x13a),_0x332bb2,_0x54d764),this;}[_0x433b6d(0x115)](_0x44c872,_0xaa3894){const _0x59f7f5=_0x433b6d;return this[_0x59f7f5(0x172)](_0x59f7f5(0x120),_0x44c872,_0xaa3894),this;}[_0x433b6d(0x165)](){const _0x28ccbc=_0x433b6d;return this[_0x28ccbc(0x156)]('unbind\x20start',_0x476863=>_0x476863[_0x28ccbc(0x165)](this[_0x28ccbc(0x12b)])),this;}[_0x433b6d(0xce)](){const _0x25cb13=_0x433b6d;return this[_0x25cb13(0x156)]('unbind\x20end',_0x36d1ef=>_0x36d1ef[_0x25cb13(0xce)](this[_0x25cb13(0x12b)])),this;}[_0x433b6d(0x131)](_0x505537){const _0x34ca23=_0x433b6d;return L(_0x505537,this[_0x34ca23(0x12b)][_0x34ca23(0x11b)])&&this['_mutateConnector'](_0x34ca23(0x143),_0x3059cd=>_0x3059cd['setStartPoint'](this[_0x34ca23(0x12b)],_0x505537)),this;}[_0x433b6d(0x13c)](_0x3177e6){const _0x5f0697=_0x433b6d;return L(_0x3177e6,this[_0x5f0697(0x12b)][_0x5f0697(0x11b)])&&this[_0x5f0697(0x156)]('set\x20end\x20point',_0x50a371=>_0x50a371[_0x5f0697(0x13c)](this[_0x5f0697(0x12b)],_0x3177e6)),this;}[_0x433b6d(0x171)](_0x51e0fb){const _0x4f97ba=_0x433b6d;return _0x51e0fb[_0x4f97ba(0x148)](_0x49ab3f=>L(_0x49ab3f,this['_shapeRef'][_0x4f97ba(0x11b)]))&&this[_0x4f97ba(0x156)](_0x4f97ba(0x128),_0x33b5a9=>_0x33b5a9[_0x4f97ba(0x171)](this[_0x4f97ba(0x12b)],_0x51e0fb)),this;}[_0x433b6d(0x121)](_0x9b7b39,_0x3d190c){const _0x4b1efe=_0x433b6d;return this[_0x4b1efe(0x156)](_0x4b1efe(0xd2),_0x449f92=>_0x449f92[_0x4b1efe(0x121)](this[_0x4b1efe(0x12b)],_0x9b7b39,_0x3d190c)),this;}[_0x433b6d(0xdd)](_0x2ffc04,_0x231698){const _0x2f7399=_0x433b6d;return this[_0x2f7399(0x156)](_0x2f7399(0x122),_0x4000ec=>_0x4000ec[_0x2f7399(0xdd)](this[_0x2f7399(0x12b)],_0x2ffc04,_0x231698)),this;}[_0x433b6d(0xf5)](){const _0x303321=_0x433b6d;return this[_0x303321(0x14d)][_0x303321(0x119)](_0x16708f);}[_0x433b6d(0xc6)](){const _0xaa1b3a=_0x433b6d;let _0x3ad847=this[_0xaa1b3a(0xf5)]();if(!_0x3ad847)return null;try{return _0x3ad847['getConnector'](this[_0xaa1b3a(0x12b)])||(console[_0xaa1b3a(0x14b)](_0xaa1b3a(0x14f)+this[_0xaa1b3a(0x12b)][_0xaa1b3a(0x11b)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x151655){return console[_0xaa1b3a(0x14b)](_0xaa1b3a(0xc2)+this[_0xaa1b3a(0x12b)][_0xaa1b3a(0x11b)]+'\x22.',_0x151655),null;}}['_bind'](_0x38133b,_0x231eb4,_0x5af6ef){const _0x87e083=_0x433b6d;if(!_0x231eb4||!Number['isInteger'](_0x5af6ef)||_0x5af6ef<0x0)return console[_0x87e083(0x14b)](_0x87e083(0x103)+this['_shapeRef'][_0x87e083(0x11b)]+_0x87e083(0x138)),!0x1;let _0x3879ba={'shapeId':_0x231eb4,'cxnIndex':_0x5af6ef};return this[_0x87e083(0x156)](_0x87e083(0x153)+_0x38133b,_0x78a972=>_0x38133b===_0x87e083(0x13a)?_0x78a972[_0x87e083(0x104)](this['_shapeRef'],_0x3879ba):_0x78a972['bindEnd'](this[_0x87e083(0x12b)],_0x3879ba));}[_0x433b6d(0x156)](_0x1f419b,_0xae1f31){const _0x1df699=_0x433b6d;let _0x4cc3ad=this['_getConnectorAdapter']();if(!_0x4cc3ad)return!0x1;try{let _0x23f4e8=_0xae1f31(_0x4cc3ad);return _0x23f4e8||console['warn'](_0x1df699(0x16c)+_0x1f419b+_0x1df699(0x109)+this[_0x1df699(0x12b)][_0x1df699(0x11b)]+'\x22.'),_0x23f4e8;}catch(_0x4b19a4){return console[_0x1df699(0x14b)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x1f419b+_0x1df699(0x109)+this[_0x1df699(0x12b)]['shapeId']+'\x22.',_0x4b19a4),!0x1;}}};function L(_0x12b1c2,_0x4dec93){const _0x32b112=_0x433b6d;return!Number['isFinite'](_0x12b1c2['x'])||!Number[_0x32b112(0x116)](_0x12b1c2['y'])?(console[_0x32b112(0x14b)](_0x32b112(0x103)+_0x4dec93+_0x32b112(0x155)),!0x1):!0x0;}export{I as FConnectorShape,P as FShape,N as FShapeText};
|