@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 CHANGED
@@ -1 +1 @@
1
- const _0x50050f=_0xca78;(function(_0x16406e,_0x3f8f10){const _0x2c935a=_0xca78,_0x82a3c8=_0x16406e();while(!![]){try{const _0x461367=-parseInt(_0x2c935a(0x1cb))/0x1+-parseInt(_0x2c935a(0x20e))/0x2*(parseInt(_0x2c935a(0x16e))/0x3)+-parseInt(_0x2c935a(0x1d6))/0x4*(parseInt(_0x2c935a(0x21a))/0x5)+-parseInt(_0x2c935a(0x1d3))/0x6*(-parseInt(_0x2c935a(0x18f))/0x7)+parseInt(_0x2c935a(0x1f6))/0x8*(parseInt(_0x2c935a(0x1c5))/0x9)+-parseInt(_0x2c935a(0x19a))/0xa+-parseInt(_0x2c935a(0x1ef))/0xb*(-parseInt(_0x2c935a(0x215))/0xc);if(_0x461367===_0x3f8f10)break;else _0x82a3c8['push'](_0x82a3c8['shift']());}catch(_0x575ad4){_0x82a3c8['push'](_0x82a3c8['shift']());}}}(_0x2c23,0x86c4d),Object[_0x50050f(0x1b7)](exports,Symbol['toStringTag'],{'value':_0x50050f(0x21f)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x50050f(0x214)]{get[_0x50050f(0x226)](){return e['ShapeTypeEnum'];}get[_0x50050f(0x173)](){const _0x51dda2=_0x50050f;return e[_0x51dda2(0x173)];}get[_0x50050f(0x1a2)](){return e['ShapeGradientTypeEnum'];}get[_0x50050f(0x196)](){const _0x107939=_0x50050f;return e[_0x107939(0x1ee)];}get[_0x50050f(0x1a6)](){const _0x317d20=_0x50050f;return e[_0x317d20(0x1de)];}get[_0x50050f(0x15a)](){return e['ShapeLineTypeEnum'];}get[_0x50050f(0x17c)](){const _0xb74a15=_0x50050f;return e[_0xb74a15(0x17c)];}get['ShapeLineCapEnum'](){const _0x1374d7=_0x50050f;return e[_0x1374d7(0x1a0)];}get[_0x50050f(0x1b0)](){const _0x218fd2=_0x50050f;return e[_0x218fd2(0x1b0)];}get['ShapeOperatorEnum'](){const _0x5e347e=_0x50050f;return e[_0x5e347e(0x15f)];}get['ShapeArrowTypeEnum'](){const _0x219a61=_0x50050f;return e[_0x219a61(0x20c)];}get[_0x50050f(0x154)](){return e['ShapeArrowSizeEnum'];}get[_0x50050f(0x193)](){return e['ShapeTextAutoFitType'];}get['ShapeTextDirection'](){const _0x5960d4=_0x50050f;return e[_0x5960d4(0x1f0)];}get[_0x50050f(0x205)](){return e['ShapeTextWrapType'];}};function _0x2c23(){const _0x1ab0bc=['flipY','setImageFill','setNoneFill','shapeTextToRichTextValue','IShapeHostAdapterRegistry','ShapeTypeEnum','setStrokeLineType','getStartConnectInfo','_getConnectorSnapshot','ShapeArrowSizeEnum','_bind','applyShapeTextBoxOptions','picture','[Shape\x20Facade]:\x20Failed\x20to\x20','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','ShapeLineTypeEnum','set\x20end\x20point','_mutateConnector','GradientFill','resolveShapeTextBoxOptions','ShapeOperatorEnum','bringForward','sendToBack','setGradientFill','width','getEndEndpoint','[Shape\x20Facade]:\x20Connector\x20\x22','setRoutePoints','_getConnectorAdapter','SolidFill','get','setShapeType','isVisible','getShape','rgba(0,\x200,\x200,\x200)','686583NzzMBh','FALSE','setTextStyle','setStroke','getEndArrow','ShapeFillEnum','description','selectable','_patchShapeData','shapeText','\x22\x20text.','FBase','routePoints','remove','ShapeLineDashEnum','NoLine','Tools','setEndPoint','setVerticalAlign','_getSnapshot','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','start','getConnector','setVisible','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','customGeometry','\x22\x20was\x20not\x20found.','sendBackward','bind\x20','getDrawingPoints','\x22\x20must\x20be\x20boolean.','gradient','applyShapeTextStyle','3249106kQMrEf','setSolidFill','height','FShape','ShapeTextAutoFitType','shapeId','warn','ShapeImageFillModeEnum','ShapeModel','deepClone','relation','1291330ufNvGi','setText','unbind\x20start','getEndConnectInfo','scaleY','bindEnd','ShapeLineCapEnum','unbindEnd','ShapeGradientTypeEnum','Angular','_updateShapeData','end','ShapeImageSourceTypeEnum','getRichText','getTransform','setStrokeColor','send\x20to\x20back','isFinite','visible','set\x20start\x20point','URL','unbind\x20end','ShapeLineJoinEnum','toPlainText','applyRichTextToShapeText','mode','[Shape\x20Facade]:\x20','getRoutePoints','PictureFill','defineProperty','isCustomShape','setStrokeWidth','offsetY','map','getPlainText','endArrow','getShapeType','\x20Connector\x20Shape\x20\x22','_injector','every','setTransform','setBold','length','7227513wXvUUg','isConnectorShape','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setStartArrow','getTextBoxOptions','getId','979027HSDpbW','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','_shapeRef','isSelectable','getText','setShapeData','setColor','lineStrokeType','12IiNjVl','setName','rotation','188iVXvoF','_getShapeData','removeShape','_mutate','set\x20route\x20points','offsetX','setHorizontalAlign','transform','ImageSourceTypeEnum','getStartEndpoint','getName','setCustomGeometry','boolean','setAbsolutePosition','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','startArrow','set\x20end\x20arrow','shapeType','getShapeData','top','hostType','_getGeometryModel','scaleX','updateContext','ImageFillModeEnum','1331781iPfWQo','ShapeTextDirection','diamond','[Shape\x20Facade]:\x20Shape\x20\x22','_patchStroke','applyShapeTextAlignment','points','8dnfayC','opacity','setTextBoxOptions','Shape\x20transform\x20\x22','solid','Tile','BooleanNumber','getAdjustPoints','shapeData','unbindStart','setRotation','setStrokeLineJoinType','NoFill','_getAdapter','color','ShapeTextWrapType','SolidLine','setEndArrow','stretch','updateShape','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','bindStart','ShapeArrowTypeEnum','getConnectionSites','4TcJYgX','setStartPoint','update','getSnapshot','TRUE','bringToFront','FEnum','72SMVeMn','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','\x20Shape\x20\x22','name','setSelectable','36160Cqvptt','left','setFontFamily','getCustomGeometry','applyTextToShapeText','Module','set\x20start\x20arrow'];_0x2c23=function(){return _0x1ab0bc;};return _0x2c23();}t[_0x50050f(0x214)]['extend'](r);function i(_0x57e75f){const _0x314053=_0x50050f;switch(_0x57e75f){case e[_0x314053(0x1a2)]['Radial']:return'radial';case e[_0x314053(0x1a2)][_0x314053(0x1a3)]:return'angular';case e['ShapeGradientTypeEnum']['Diamond']:return _0x314053(0x1f1);case e[_0x314053(0x1a2)]['Linear']:default:return'linear';}}function a(_0x54cf0c){const _0x582243=_0x50050f;return _0x54cf0c===e[_0x582243(0x1ee)][_0x582243(0x1fb)]?'tile':_0x582243(0x208);}var o=class{constructor(_0x4b8771,_0x23476b){const _0x565fd3=_0x50050f;this[_0x565fd3(0x1cd)]=_0x4b8771,this[_0x565fd3(0x1c0)]=_0x23476b;}[_0x50050f(0x1a7)](){const _0x17edfe=_0x50050f;var _0x34a361;return(0x0,e[_0x17edfe(0x224)])((_0x34a361=this['_getShapeData']())==null?void 0x0:_0x34a361['shapeText']);}[_0x50050f(0x1bc)](){const _0xb0b009=_0x50050f;var _0x1f5cba,_0x146966;return(_0x1f5cba=(_0x146966=this[_0xb0b009(0x1a7)]())==null?void 0x0:_0x146966[_0xb0b009(0x1b1)]())==null?null:_0x1f5cba;}['setRichText'](_0x2a6222){const _0x2e409b=_0x50050f;return this[_0x2e409b(0x1a4)](_0x1fd454=>({..._0x1fd454,'shapeText':(0x0,e[_0x2e409b(0x1b2)])(_0x1fd454[_0x2e409b(0x177)],_0x2a6222)})),this;}[_0x50050f(0x19b)](_0x431d39){const _0x1ab5e5=_0x50050f;return this[_0x1ab5e5(0x1a4)](_0x391413=>({..._0x391413,'shapeText':(0x0,e[_0x1ab5e5(0x21e)])(_0x391413['shapeText'],_0x431d39)})),this;}['setTextStyle'](_0x5ec227){const _0x525ca1=_0x50050f;return this[_0x525ca1(0x1a4)](_0x21b905=>({..._0x21b905,'shapeText':(0x0,e[_0x525ca1(0x18e)])(_0x21b905['shapeText'],_0x5ec227)})),this;}[_0x50050f(0x1d1)](_0x2e99bf,_0x2e90a4){const _0x18a2b7=_0x50050f;return this['setTextStyle']({'cl':{'rgb':_0x2e99bf},'textFill':{'type':_0x18a2b7(0x1fa),'color':_0x2e99bf,'opacity':_0x2e90a4}});}[_0x50050f(0x223)](){const _0x217008=_0x50050f;return this[_0x217008(0x170)]({'cl':{'rgb':_0x217008(0x16d)},'textFill':{'type':'none'}});}[_0x50050f(0x162)](_0x4b0403,_0x13cad9,_0x1f8ed8){const _0x4db67f=_0x50050f;return _0x13cad9['length']<0x2?(console[_0x4db67f(0x195)]('[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x4db67f(0x170)]({'cl':{'rgb':_0x13cad9[0x0][_0x4db67f(0x204)]},'textFill':{'type':_0x4db67f(0x18d),'gradient':{'type':i(_0x4b0403),'angle':_0x1f8ed8,'stops':_0x13cad9[_0x4db67f(0x1bb)](({position:_0x6d2d69,color:_0xc411e7,opacity:_0x25b539})=>({'offset':_0x6d2d69,'color':_0xc411e7,'opacity':_0x25b539}))}}});}[_0x50050f(0x222)](_0x1e8ab6,_0x316aa8=e[_0x50050f(0x1de)][_0x50050f(0x1ae)],_0x47ed26={}){const _0x23d7a4=_0x50050f;return this[_0x23d7a4(0x170)]({'textFill':{'type':_0x23d7a4(0x157),'picture':{'source':_0x1e8ab6,'sourceType':_0x316aa8,'opacity':_0x47ed26[_0x23d7a4(0x1f7)],'mode':a(_0x47ed26[_0x23d7a4(0x1b3)]),'scaleX':_0x47ed26[_0x23d7a4(0x1ec)],'scaleY':_0x47ed26[_0x23d7a4(0x19e)],'offsetX':_0x47ed26[_0x23d7a4(0x1db)],'offsetY':_0x47ed26[_0x23d7a4(0x1ba)]}}});}['setFontSize'](_0x5e8b6d){const _0x19666d=_0x50050f;return this[_0x19666d(0x170)]({'fs':_0x5e8b6d});}[_0x50050f(0x21c)](_0x40e23f){const _0xb110c0=_0x50050f;return this[_0xb110c0(0x170)]({'ff':_0x40e23f});}[_0x50050f(0x1c3)](_0x414bdd){const _0x5dac69=_0x50050f;return this[_0x5dac69(0x170)]({'bl':_0x414bdd?n[_0x5dac69(0x1fc)][_0x5dac69(0x212)]:n[_0x5dac69(0x1fc)][_0x5dac69(0x16f)]});}['setItalic'](_0x38a7e5){const _0x37f336=_0x50050f;return this[_0x37f336(0x170)]({'it':_0x38a7e5?n[_0x37f336(0x1fc)]['TRUE']:n[_0x37f336(0x1fc)][_0x37f336(0x16f)]});}['setUnderline'](_0x31b455){const _0x4ecb7f=_0x50050f;return this[_0x4ecb7f(0x170)]({'ul':{'s':_0x31b455?n['BooleanNumber'][_0x4ecb7f(0x212)]:n[_0x4ecb7f(0x1fc)][_0x4ecb7f(0x16f)]}});}['setStrikethrough'](_0x3df2e0){const _0x1eabe1=_0x50050f;return this[_0x1eabe1(0x170)]({'st':{'s':_0x3df2e0?n[_0x1eabe1(0x1fc)][_0x1eabe1(0x212)]:n[_0x1eabe1(0x1fc)][_0x1eabe1(0x16f)]}});}[_0x50050f(0x1dc)](_0x206c20){const _0x1b22b1=_0x50050f;return this[_0x1b22b1(0x1a4)](_0x4459bc=>(0x0,e['applyShapeTextAlignment'])(_0x4459bc,{'horizontalAlign':_0x206c20})),this;}[_0x50050f(0x180)](_0x1d2451){const _0x45fb2b=_0x50050f;return this[_0x45fb2b(0x1a4)](_0xba9b2d=>(0x0,e[_0x45fb2b(0x1f4)])(_0xba9b2d,{'verticalAlign':_0x1d2451})),this;}[_0x50050f(0x1c9)](){const _0x4ee071=_0x50050f;let _0x586fdc=this[_0x4ee071(0x1d7)]();return _0x586fdc?(0x0,e[_0x4ee071(0x15e)])(_0x586fdc):null;}[_0x50050f(0x1f8)](_0x1ad10c){const _0x533f12=_0x50050f;return this[_0x533f12(0x1a4)](_0x39ae40=>(0x0,e[_0x533f12(0x156)])(_0x39ae40,_0x1ad10c)),this;}[_0x50050f(0x203)](){const _0x55eb83=_0x50050f;return this['_injector'][_0x55eb83(0x169)](e['IShapeHostAdapterRegistry'])[_0x55eb83(0x169)](this[_0x55eb83(0x1cd)]['hostType']);}['_getShapeData'](){const _0x5c78cd=_0x50050f;let _0x423da7=this[_0x5c78cd(0x203)]();if(!_0x423da7)return null;try{var _0x48d517;return((_0x48d517=_0x423da7[_0x5c78cd(0x16c)](this[_0x5c78cd(0x1cd)]))==null?void 0x0:_0x48d517[_0x5c78cd(0x1fe)])||(console['warn'](_0x5c78cd(0x1cc)+this['_shapeRef'][_0x5c78cd(0x194)]+_0x5c78cd(0x188)),null);}catch(_0x556cfd){return console[_0x5c78cd(0x195)](_0x5c78cd(0x186)+this[_0x5c78cd(0x1cd)][_0x5c78cd(0x194)]+'\x22\x20text.',_0x556cfd),null;}}['_updateShapeData'](_0x575e61){const _0x215b89=_0x50050f;let _0x587b73=this[_0x215b89(0x203)]();if(!_0x587b73)return!0x1;try{var _0x431ccb;let _0x51cb16=(_0x431ccb=_0x587b73[_0x215b89(0x16c)](this[_0x215b89(0x1cd)]))==null?void 0x0:_0x431ccb[_0x215b89(0x1fe)];if(!_0x51cb16)return console[_0x215b89(0x195)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x188)),!0x1;let _0x1e4a1f=_0x587b73[_0x215b89(0x209)](this[_0x215b89(0x1cd)],{'shapeData':_0x575e61(_0x51cb16)});return _0x1e4a1f||console[_0x215b89(0x195)](_0x215b89(0x159)+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x178)),_0x1e4a1f;}catch(_0x55bec){return console[_0x215b89(0x195)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x178),_0x55bec),!0x1;}}},s=class extends t[_0x50050f(0x179)]{constructor(_0x133433,_0x667359){const _0xbdab0b=_0x50050f;super(),this[_0xbdab0b(0x1cd)]=_0x133433,this['_injector']=_0x667359;}[_0x50050f(0x1c6)](){return!0x1;}[_0x50050f(0x1ca)](){const _0x5a90be=_0x50050f;return this[_0x5a90be(0x1cd)][_0x5a90be(0x194)];}[_0x50050f(0x1e0)](){const _0x4a519e=_0x50050f;var _0x485ec5;return(_0x485ec5=this[_0x4a519e(0x181)]())==null?void 0x0:_0x485ec5[_0x4a519e(0x218)];}[_0x50050f(0x1d4)](_0x3ea524){return this['update']({'name':_0x3ea524});}['getDescription'](){const _0x3b9f8d=_0x50050f;var _0x57a351;return(_0x57a351=this[_0x3b9f8d(0x181)]())==null?void 0x0:_0x57a351[_0x3b9f8d(0x174)];}['setDescription'](_0x46598d){const _0x111d21=_0x50050f;return this[_0x111d21(0x210)]({'description':_0x46598d});}['getHostType'](){const _0x579970=_0x50050f;return this['_shapeRef'][_0x579970(0x1ea)];}[_0x50050f(0x1be)](){const _0x20b29b=_0x50050f;var _0x3b6213,_0x435075;return(_0x3b6213=(_0x435075=this[_0x20b29b(0x181)]())==null?void 0x0:_0x435075['shapeType'])==null?null:_0x3b6213;}[_0x50050f(0x1e8)](){const _0x3d3f55=_0x50050f;let _0x3cb2c2=this[_0x3d3f55(0x181)]();return _0x3cb2c2?n[_0x3d3f55(0x17e)][_0x3d3f55(0x198)](_0x3cb2c2[_0x3d3f55(0x1fe)]):null;}[_0x50050f(0x211)](){const _0x13d063=_0x50050f;let _0x55ced6=this[_0x13d063(0x181)]();return _0x55ced6?n[_0x13d063(0x17e)][_0x13d063(0x198)](_0x55ced6):null;}[_0x50050f(0x1a8)](){const _0x3ff02e=_0x50050f;let _0x459d9a=this['_getSnapshot']();return _0x459d9a?{..._0x459d9a[_0x3ff02e(0x1dd)]}:null;}[_0x50050f(0x16b)](){const _0x4a662a=_0x50050f;var _0x267882,_0x4f9736;return(_0x267882=(_0x4f9736=this[_0x4a662a(0x181)]())==null?void 0x0:_0x4f9736['visible'])==null?!0x1:_0x267882;}[_0x50050f(0x185)](_0x2b3f01){return this['update']({'visible':_0x2b3f01});}[_0x50050f(0x1ce)](){const _0x1af65b=_0x50050f;var _0x3740bb,_0x109b76;return(_0x3740bb=(_0x109b76=this[_0x1af65b(0x181)]())==null?void 0x0:_0x109b76[_0x1af65b(0x175)])==null?!0x1:_0x3740bb;}[_0x50050f(0x219)](_0x955a9d){return this['update']({'selectable':_0x955a9d});}[_0x50050f(0x1cf)](){const _0x693a79=_0x50050f;return this[_0x693a79(0x1c0)]['createInstance'](o,this[_0x693a79(0x1cd)],this[_0x693a79(0x1c0)]);}[_0x50050f(0x1b8)](){const _0x58d2d8=_0x50050f;let _0x1bc717=this[_0x58d2d8(0x1e8)]();return(_0x1bc717==null?void 0x0:_0x1bc717['isCustom'])===!0x0&&!!_0x1bc717['customGeometry'];}[_0x50050f(0x21d)](){const _0x4a25c1=_0x50050f;var _0x2156f0,_0xa61d7a;return(_0x2156f0=(_0xa61d7a=this['getShapeData']())==null?void 0x0:_0xa61d7a[_0x4a25c1(0x187)])==null?null:_0x2156f0;}[_0x50050f(0x16a)](_0x3c4546){return this['_patchShapeData'](_0x57f732=>({..._0x57f732,'shapeType':_0x3c4546}),_0x3c4546);}[_0x50050f(0x1d0)](_0x33b684){const _0x1013d4=_0x50050f;let _0x55c3d0=n[_0x1013d4(0x17e)][_0x1013d4(0x198)](_0x33b684);return this[_0x1013d4(0x210)]({'shapeType':_0x55c3d0[_0x1013d4(0x1e7)],'shapeData':_0x55c3d0});}[_0x50050f(0x1c2)](_0x2ca261){const _0xf4862f=_0x50050f;return this[_0xf4862f(0x210)]({'transform':_0x2ca261});}['setSize'](_0x2cfc65,_0x12435e){return this['setTransform']({'width':_0x2cfc65,'height':_0x12435e});}[_0x50050f(0x200)](_0x18964b){const _0x5a4e05=_0x50050f;return this[_0x5a4e05(0x1c2)]({'rotation':_0x18964b});}[_0x50050f(0x1e3)](_0x1a57e0,_0x4bce4c){const _0x1218bf=_0x50050f;return this[_0x1218bf(0x1c2)]({'left':_0x1a57e0,'top':_0x4bce4c});}[_0x50050f(0x1e1)](_0x483694){const _0x5a6476=_0x50050f;let _0x27984c=n[_0x5a6476(0x17e)][_0x5a6476(0x198)](_0x483694);return this['_patchShapeData'](_0x370e55=>({..._0x370e55,'isCustom':!0x0,'customGeometry':_0x27984c}));}[_0x50050f(0x20d)](){const _0x4c9031=_0x50050f;var _0x1a4f1f,_0x13faed;return(_0x1a4f1f=(_0x13faed=this['_getGeometryModel']())==null?void 0x0:_0x13faed['getConnectionSiteList']()[_0x4c9031(0x1bb)](_0x27b9e9=>({..._0x27b9e9})))==null?[]:_0x1a4f1f;}[_0x50050f(0x1fd)](){const _0x43ff91=_0x50050f;var _0x4ace37,_0x181616;return(_0x4ace37=(_0x181616=this[_0x43ff91(0x1eb)]())==null?void 0x0:_0x181616[_0x43ff91(0x18b)]()['map'](_0x5a0782=>({..._0x5a0782})))==null?[]:_0x4ace37;}[_0x50050f(0x152)](){const _0x5296cc=_0x50050f;var _0x343ff9;let _0x236bed=(_0x343ff9=this[_0x5296cc(0x1eb)]())==null?void 0x0:_0x343ff9[_0x5296cc(0x152)]();return _0x236bed?{..._0x236bed}:null;}[_0x50050f(0x19d)](){var _0x37e854;let _0x4e9c2a=(_0x37e854=this['_getGeometryModel']())==null?void 0x0:_0x37e854['getEndConnectInfo']();return _0x4e9c2a?{..._0x4e9c2a}:null;}[_0x50050f(0x190)](_0xa030e9,_0x33a84c){const _0x1bdb70=_0x50050f;return this[_0x1bdb70(0x176)](_0x367ce4=>({..._0x367ce4,'fill':{'fillType':e['ShapeFillEnum'][_0x1bdb70(0x168)],'color':_0xa030e9,'opacity':_0x33a84c}}));}[_0x50050f(0x162)](_0x2b8a3c,_0x203aea,_0x1c65ae){const _0x126885=_0x50050f;return _0x203aea[_0x126885(0x1c4)]<0x2?(console[_0x126885(0x195)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x126885(0x176)](_0x5c3fa7=>({..._0x5c3fa7,'fill':{'fillType':e[_0x126885(0x173)][_0x126885(0x15d)],'gradientType':_0x2b8a3c,'gradientStops':n['Tools'][_0x126885(0x198)](_0x203aea),'gradientAngle':_0x1c65ae}}));}[_0x50050f(0x222)](_0x39c7af,_0x496ede,_0x1c2f8b={}){const _0x489c29=_0x50050f;return this[_0x489c29(0x176)](_0x3fab48=>({..._0x3fab48,'fill':{...n[_0x489c29(0x17e)][_0x489c29(0x198)](_0x1c2f8b),'fillType':e[_0x489c29(0x173)][_0x489c29(0x1b6)],'fillImageSource':_0x39c7af,'fillImageSourceType':_0x496ede}}));}[_0x50050f(0x223)](){const _0x5c779a=_0x50050f;return this[_0x5c779a(0x176)](_0x282d2a=>({..._0x282d2a,'fill':{'fillType':e[_0x5c779a(0x173)][_0x5c779a(0x202)]}}));}[_0x50050f(0x171)](_0x4911cb){const _0x3851ed=_0x50050f;return this[_0x3851ed(0x176)](_0x1ba68b=>({..._0x1ba68b,'stroke':n['Tools'][_0x3851ed(0x198)](_0x4911cb)}));}[_0x50050f(0x1a9)](_0x535477){const _0x375537=_0x50050f;return this[_0x375537(0x1f3)](_0x2c669b=>({..._0x2c669b,'color':_0x535477,'lineStrokeType':_0x2c669b[_0x375537(0x1d2)]===e[_0x375537(0x15a)][_0x375537(0x17d)]?e[_0x375537(0x15a)][_0x375537(0x206)]:_0x2c669b[_0x375537(0x1d2)]}));}[_0x50050f(0x1b9)](_0x1b0ef7){const _0x5b1087=_0x50050f;return this[_0x5b1087(0x1f3)](_0x57107c=>({..._0x57107c,'width':_0x1b0ef7,'lineStrokeType':_0x57107c[_0x5b1087(0x1d2)]===e[_0x5b1087(0x15a)][_0x5b1087(0x17d)]?e[_0x5b1087(0x15a)]['SolidLine']:_0x57107c['lineStrokeType']}));}['setStrokeOpacity'](_0x2efed3){const _0x718b4=_0x50050f;return this[_0x718b4(0x1f3)](_0x4ba387=>({..._0x4ba387,'opacity':_0x2efed3}));}['setStrokeLineDashType'](_0x202760){return this['_patchStroke'](_0x400f34=>({..._0x400f34,'dashType':_0x202760}));}[_0x50050f(0x201)](_0x32d02e){return this['_patchStroke'](_0x4048e5=>({..._0x4048e5,'lineJoinType':_0x32d02e}));}['setStrokeLineCapType'](_0x46c8cc){const _0x3c81b4=_0x50050f;return this[_0x3c81b4(0x1f3)](_0x465dbc=>({..._0x465dbc,'capType':_0x46c8cc}));}[_0x50050f(0x151)](_0x4bd518){return this['_patchStroke'](_0x22f1b3=>({..._0x22f1b3,'lineStrokeType':_0x4bd518}));}[_0x50050f(0x210)](_0x23969f){const _0x52f67a=_0x50050f;var _0x511306,_0x16ecc1,_0xec28fc;let _0x4d7611=_0x23969f[_0x52f67a(0x1fe)],_0x1889fc=_0x4d7611&&('relation'in _0x4d7611||_0x52f67a(0x1f5)in _0x4d7611)?this['getShapeType']():null,_0x85efb9=(_0x511306=(_0x16ecc1=_0x23969f['shapeType'])==null?(_0xec28fc=_0x23969f[_0x52f67a(0x1fe)])==null?void 0x0:_0xec28fc[_0x52f67a(0x1e7)]:_0x16ecc1)==null?_0x1889fc:_0x511306,_0x314c57=c(_0x23969f,_0x85efb9!==null&&(0x0,e[_0x52f67a(0x1c6)])(_0x85efb9));return _0x314c57?(console[_0x52f67a(0x195)](_0x52f67a(0x1b4)+_0x314c57),this):(this['_mutate'](_0x52f67a(0x210),_0x493ca9=>_0x493ca9[_0x52f67a(0x209)](this[_0x52f67a(0x1cd)],_0x23969f)),this);}[_0x50050f(0x17b)](){const _0x500bdf=_0x50050f;return this[_0x500bdf(0x1d9)](_0x500bdf(0x17b),_0x42919b=>_0x42919b[_0x500bdf(0x1d8)](this[_0x500bdf(0x1cd)]));}[_0x50050f(0x213)](){const _0x17b0b3=_0x50050f;return this['_mutate']('bring\x20to\x20front',_0xb09202=>_0xb09202[_0x17b0b3(0x213)](this[_0x17b0b3(0x1cd)])),this;}['bringForward'](){const _0x1e792b=_0x50050f;return this[_0x1e792b(0x1d9)]('bring\x20forward',_0x425263=>_0x425263[_0x1e792b(0x160)](this[_0x1e792b(0x1cd)])),this;}['sendBackward'](){const _0x1c9e62=_0x50050f;return this['_mutate']('send\x20backward',_0x50220b=>_0x50220b[_0x1c9e62(0x189)](this[_0x1c9e62(0x1cd)])),this;}[_0x50050f(0x161)](){const _0x2829b4=_0x50050f;return this[_0x2829b4(0x1d9)](_0x2829b4(0x1aa),_0x176f48=>_0x176f48[_0x2829b4(0x161)](this['_shapeRef'])),this;}[_0x50050f(0x203)](){const _0x5702b6=_0x50050f;return this[_0x5702b6(0x1c0)][_0x5702b6(0x169)](e[_0x5702b6(0x225)])['get'](this[_0x5702b6(0x1cd)][_0x5702b6(0x1ea)]);}[_0x50050f(0x176)](_0x22fb21,_0x3f7e6a){const _0x154368=_0x50050f;let _0x3b9f90=this[_0x154368(0x1e8)]();return _0x3b9f90?this[_0x154368(0x210)]({'shapeType':_0x3f7e6a,'shapeData':_0x22fb21(_0x3b9f90)}):this;}[_0x50050f(0x1f3)](_0x53fd3c){const _0x5ac1dc=_0x50050f;return this[_0x5ac1dc(0x176)](_0x16bc65=>{var _0x3a5bdc;return{..._0x16bc65,'stroke':_0x53fd3c((_0x3a5bdc=_0x16bc65['stroke'])==null?{}:_0x3a5bdc)};});}['_getSnapshot'](){const _0x267da7=_0x50050f;let _0x15e47a=this[_0x267da7(0x203)]();if(!_0x15e47a)return null;try{return _0x15e47a[_0x267da7(0x16c)](this[_0x267da7(0x1cd)])||(console[_0x267da7(0x195)](_0x267da7(0x1f2)+this['_shapeRef'][_0x267da7(0x194)]+_0x267da7(0x188)),null);}catch(_0x4f5c15){return console[_0x267da7(0x195)](_0x267da7(0x216)+this[_0x267da7(0x1cd)][_0x267da7(0x194)]+'\x22.',_0x4f5c15),null;}}[_0x50050f(0x1eb)](){const _0x57b63f=_0x50050f;let _0xc70395=this[_0x57b63f(0x181)]();if(!_0xc70395)return null;try{let _0x1f66d8=new e[(_0x57b63f(0x197))](_0xc70395[_0x57b63f(0x1e7)],_0xc70395[_0x57b63f(0x194)],_0xc70395[_0x57b63f(0x1fe)]);return _0x1f66d8[_0x57b63f(0x1ed)]({'width':_0xc70395[_0x57b63f(0x1dd)]['width'],'height':_0xc70395['transform'][_0x57b63f(0x191)]}),_0x1f66d8;}catch(_0x2efa0a){return console['warn'](_0x57b63f(0x1e4)+this[_0x57b63f(0x1cd)]['shapeId']+'\x22.',_0x2efa0a),null;}}[_0x50050f(0x1d9)](_0x42e0f1,_0x4c2193){const _0x2d1ad8=_0x50050f;let _0x563172=this[_0x2d1ad8(0x203)]();if(!_0x563172)return!0x1;try{let _0x38007a=_0x4c2193(_0x563172);return _0x38007a||console[_0x2d1ad8(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x42e0f1+'\x20Shape\x20\x22'+this[_0x2d1ad8(0x1cd)][_0x2d1ad8(0x194)]+'\x22.'),_0x38007a;}catch(_0x571cdb){return console[_0x2d1ad8(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x42e0f1+_0x2d1ad8(0x217)+this[_0x2d1ad8(0x1cd)][_0x2d1ad8(0x194)]+'\x22.',_0x571cdb),!0x1;}}};function c(_0x3e6313,_0x325dd6=!0x1){const _0x26f3ea=_0x50050f;for(let _0x1dc665 of[_0x26f3ea(0x1ac),_0x26f3ea(0x175)]){let _0x11ed9c=_0x3e6313[_0x1dc665];if(_0x11ed9c!==void 0x0&&typeof _0x11ed9c!='boolean')return'Shape\x20\x22'+_0x1dc665+_0x26f3ea(0x18c);}let _0x4e526a=_0x3e6313['transform'];if(_0x4e526a){for(let _0x39deb4 of[_0x26f3ea(0x21b),_0x26f3ea(0x1e9),'width',_0x26f3ea(0x191),_0x26f3ea(0x1d5)]){let _0x4aa790=_0x4e526a[_0x39deb4];if(_0x4aa790!==void 0x0&&!Number[_0x26f3ea(0x1ab)](_0x4aa790))return'Shape\x20transform\x20\x22'+_0x39deb4+'\x22\x20must\x20be\x20finite.';}if(_0x4e526a[_0x26f3ea(0x163)]!==void 0x0&&_0x4e526a[_0x26f3ea(0x163)]<=0x0)return'Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.';if(_0x4e526a[_0x26f3ea(0x191)]!==void 0x0&&_0x4e526a[_0x26f3ea(0x191)]<=0x0)return'Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.';for(let _0x11fbfc of['flipX',_0x26f3ea(0x221)]){let _0x6a5e=_0x4e526a[_0x11fbfc];if(_0x6a5e!==void 0x0&&typeof _0x6a5e!=_0x26f3ea(0x1e2))return _0x26f3ea(0x1f9)+_0x11fbfc+'\x22\x20must\x20be\x20boolean.';}}let _0x1a2dea=_0x3e6313[_0x26f3ea(0x1fe)];return!_0x325dd6&&_0x1a2dea&&(_0x26f3ea(0x199)in _0x1a2dea||_0x26f3ea(0x1f5)in _0x1a2dea)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var l=class extends s{[_0x50050f(0x1c6)](){return!0x0;}[_0x50050f(0x1df)](){const _0x4f3616=_0x50050f;let _0x133742=this['_getConnectorSnapshot']();return _0x133742?n['Tools']['deepClone'](_0x133742[_0x4f3616(0x183)]):null;}[_0x50050f(0x164)](){const _0x1e5281=_0x50050f;let _0x3c85cf=this[_0x1e5281(0x153)]();return _0x3c85cf?n['Tools']['deepClone'](_0x3c85cf[_0x1e5281(0x1a5)]):null;}[_0x50050f(0x1b5)](){const _0x2300a9=_0x50050f;let _0x189763=this['_getConnectorSnapshot']();return _0x189763?n[_0x2300a9(0x17e)][_0x2300a9(0x198)](_0x189763[_0x2300a9(0x17a)]):null;}['getStartArrow'](){const _0x50fa10=_0x50050f;let _0x481355=this[_0x50fa10(0x153)]();return _0x481355?n[_0x50fa10(0x17e)][_0x50fa10(0x198)](_0x481355[_0x50fa10(0x1e5)]):null;}[_0x50050f(0x172)](){const _0x260324=_0x50050f;let _0x5f3926=this['_getConnectorSnapshot']();return _0x5f3926?n['Tools']['deepClone'](_0x5f3926[_0x260324(0x1bd)]):null;}['setShapeType'](_0xb7ce89){const _0x4a0d41=_0x50050f;return(0x0,e[_0x4a0d41(0x1c6)])(_0xb7ce89)?super['setShapeType'](_0xb7ce89):(console['warn'](_0x4a0d41(0x1c7)+this[_0x4a0d41(0x1cd)][_0x4a0d41(0x194)]+_0x4a0d41(0x20a)),this);}['setShapeData'](_0x8d9f72){const _0x5d4a34=_0x50050f;return _0x8d9f72[_0x5d4a34(0x1e7)]!==void 0x0&&!(0x0,e['isConnectorShape'])(_0x8d9f72[_0x5d4a34(0x1e7)])?(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x5d4a34(0x1cd)]['shapeId']+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super[_0x5d4a34(0x1d0)](_0x8d9f72);}['bindStart'](_0x109d59,_0x5b5cc7){const _0x138e52=_0x50050f;return this[_0x138e52(0x155)]('start',_0x109d59,_0x5b5cc7),this;}[_0x50050f(0x19f)](_0x3ab6a6,_0x33ef83){const _0x3e3deb=_0x50050f;return this['_bind'](_0x3e3deb(0x1a5),_0x3ab6a6,_0x33ef83),this;}[_0x50050f(0x1ff)](){const _0x1e6c3a=_0x50050f;return this[_0x1e6c3a(0x15c)](_0x1e6c3a(0x19c),_0x41a0fe=>_0x41a0fe['unbindStart'](this[_0x1e6c3a(0x1cd)])),this;}[_0x50050f(0x1a1)](){const _0xc65196=_0x50050f;return this['_mutateConnector'](_0xc65196(0x1af),_0x552616=>_0x552616['unbindEnd'](this[_0xc65196(0x1cd)])),this;}[_0x50050f(0x20f)](_0x5cf16b){const _0x3ecd3d=_0x50050f;return u(_0x5cf16b,this[_0x3ecd3d(0x1cd)]['shapeId'])&&this[_0x3ecd3d(0x15c)](_0x3ecd3d(0x1ad),_0xf0e2b6=>_0xf0e2b6[_0x3ecd3d(0x20f)](this['_shapeRef'],_0x5cf16b)),this;}[_0x50050f(0x17f)](_0x331e8b){const _0x485d7b=_0x50050f;return u(_0x331e8b,this[_0x485d7b(0x1cd)][_0x485d7b(0x194)])&&this[_0x485d7b(0x15c)](_0x485d7b(0x15b),_0x2da6f6=>_0x2da6f6[_0x485d7b(0x17f)](this[_0x485d7b(0x1cd)],_0x331e8b)),this;}['setRoutePoints'](_0x2c2340){const _0x3cb6ec=_0x50050f;return _0x2c2340[_0x3cb6ec(0x1c1)](_0xb15955=>u(_0xb15955,this['_shapeRef'][_0x3cb6ec(0x194)]))&&this[_0x3cb6ec(0x15c)](_0x3cb6ec(0x1da),_0x1878fe=>_0x1878fe[_0x3cb6ec(0x166)](this[_0x3cb6ec(0x1cd)],_0x2c2340)),this;}[_0x50050f(0x1c8)](_0x48a3f3,_0x3d2fd){const _0x211241=_0x50050f;return this[_0x211241(0x15c)](_0x211241(0x220),_0x2e6cdb=>_0x2e6cdb[_0x211241(0x1c8)](this[_0x211241(0x1cd)],_0x48a3f3,_0x3d2fd)),this;}['setEndArrow'](_0x198ec0,_0x474b51){const _0x5a9208=_0x50050f;return this[_0x5a9208(0x15c)](_0x5a9208(0x1e6),_0x33d9a3=>_0x33d9a3[_0x5a9208(0x207)](this[_0x5a9208(0x1cd)],_0x198ec0,_0x474b51)),this;}[_0x50050f(0x167)](){const _0x3e9c75=_0x50050f;return this[_0x3e9c75(0x1c0)][_0x3e9c75(0x169)](e['IConnectorShapeHostAdapter']);}[_0x50050f(0x153)](){const _0x52287f=_0x50050f;let _0x4a2efc=this['_getConnectorAdapter']();if(!_0x4a2efc)return null;try{return _0x4a2efc[_0x52287f(0x184)](this[_0x52287f(0x1cd)])||(console[_0x52287f(0x195)](_0x52287f(0x1c7)+this[_0x52287f(0x1cd)][_0x52287f(0x194)]+_0x52287f(0x188)),null);}catch(_0x5734d9){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x52287f(0x1cd)][_0x52287f(0x194)]+'\x22.',_0x5734d9),null;}}['_bind'](_0x28525e,_0x47f6fc,_0x71bfad){const _0x381fbd=_0x50050f;if(!_0x47f6fc||!Number['isInteger'](_0x71bfad)||_0x71bfad<0x0)return console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+this['_shapeRef'][_0x381fbd(0x194)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x25966d={'shapeId':_0x47f6fc,'cxnIndex':_0x71bfad};return this[_0x381fbd(0x15c)](_0x381fbd(0x18a)+_0x28525e,_0x580e09=>_0x28525e===_0x381fbd(0x183)?_0x580e09[_0x381fbd(0x20b)](this[_0x381fbd(0x1cd)],_0x25966d):_0x580e09[_0x381fbd(0x19f)](this[_0x381fbd(0x1cd)],_0x25966d));}[_0x50050f(0x15c)](_0x9481d9,_0x5f591a){const _0x1af0b7=_0x50050f;let _0x2aa1d1=this[_0x1af0b7(0x167)]();if(!_0x2aa1d1)return!0x1;try{let _0x2de57b=_0x5f591a(_0x2aa1d1);return _0x2de57b||console[_0x1af0b7(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x9481d9+_0x1af0b7(0x1bf)+this[_0x1af0b7(0x1cd)][_0x1af0b7(0x194)]+'\x22.'),_0x2de57b;}catch(_0x2f77f2){return console[_0x1af0b7(0x195)](_0x1af0b7(0x158)+_0x9481d9+_0x1af0b7(0x1bf)+this[_0x1af0b7(0x1cd)][_0x1af0b7(0x194)]+'\x22.',_0x2f77f2),!0x1;}}};function u(_0x23f3d9,_0x219242){const _0x33d887=_0x50050f;return!Number[_0x33d887(0x1ab)](_0x23f3d9['x'])||!Number[_0x33d887(0x1ab)](_0x23f3d9['y'])?(console['warn'](_0x33d887(0x165)+_0x219242+_0x33d887(0x182)),!0x1):!0x0;}function _0xca78(_0x4e63c6,_0x56616d){_0x4e63c6=_0x4e63c6-0x151;const _0x2c2380=_0x2c23();let _0xca78b9=_0x2c2380[_0x4e63c6];return _0xca78b9;}exports['FConnectorShape']=l,exports[_0x50050f(0x192)]=s,exports['FShapeText']=o;
1
+ const _0x2a388e=_0x5e9e;(function(_0x12ef63,_0x58de2d){const _0x320272=_0x5e9e,_0x2493d8=_0x12ef63();while(!![]){try{const _0x4885e4=parseInt(_0x320272(0x100))/0x1+parseInt(_0x320272(0x10a))/0x2*(-parseInt(_0x320272(0x1bd))/0x3)+parseInt(_0x320272(0x108))/0x4+-parseInt(_0x320272(0x1cf))/0x5+-parseInt(_0x320272(0x10f))/0x6*(parseInt(_0x320272(0x129))/0x7)+parseInt(_0x320272(0x11d))/0x8+parseInt(_0x320272(0x1ba))/0x9*(parseInt(_0x320272(0x157))/0xa);if(_0x4885e4===_0x58de2d)break;else _0x2493d8['push'](_0x2493d8['shift']());}catch(_0x29e914){_0x2493d8['push'](_0x2493d8['shift']());}}}(_0x3dab,0x7c1d2),Object['defineProperty'](exports,Symbol[_0x2a388e(0x155)],{'value':'Module'}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x2a388e(0x1cd)]{get['ShapeTypeEnum'](){const _0x1985c6=_0x2a388e;return e[_0x1985c6(0x150)];}get[_0x2a388e(0x17c)](){return e['ShapeFillEnum'];}get[_0x2a388e(0x1d0)](){const _0x410389=_0x2a388e;return e[_0x410389(0x1d0)];}get[_0x2a388e(0x195)](){const _0x28a380=_0x2a388e;return e[_0x28a380(0x12f)];}get[_0x2a388e(0x18f)](){const _0x280469=_0x2a388e;return e[_0x280469(0x183)];}get[_0x2a388e(0x194)](){const _0x307f43=_0x2a388e;return e[_0x307f43(0x194)];}get[_0x2a388e(0x122)](){const _0x1624de=_0x2a388e;return e[_0x1624de(0x122)];}get['ShapeLineCapEnum'](){const _0x44aa6e=_0x2a388e;return e[_0x44aa6e(0x1ce)];}get[_0x2a388e(0x123)](){return e['ShapeLineJoinEnum'];}get['ShapeOperatorEnum'](){const _0x16a364=_0x2a388e;return e[_0x16a364(0x1a8)];}get['ShapeArrowTypeEnum'](){return e['ShapeArrowTypeEnum'];}get[_0x2a388e(0x189)](){const _0x414502=_0x2a388e;return e[_0x414502(0x189)];}get[_0x2a388e(0x1d3)](){const _0x35a25d=_0x2a388e;return e[_0x35a25d(0x1d3)];}get[_0x2a388e(0x197)](){const _0x51acbb=_0x2a388e;return e[_0x51acbb(0x197)];}get[_0x2a388e(0x12d)](){return e['ShapeTextWrapType'];}};t[_0x2a388e(0x1cd)][_0x2a388e(0x1d9)](r);function i(_0x433589){const _0x4ecf29=_0x2a388e;switch(_0x433589){case e[_0x4ecf29(0x1d0)][_0x4ecf29(0x19b)]:return _0x4ecf29(0x19d);case e['ShapeGradientTypeEnum'][_0x4ecf29(0x1c6)]:return'angular';case e[_0x4ecf29(0x1d0)][_0x4ecf29(0x154)]:return'diamond';case e['ShapeGradientTypeEnum'][_0x4ecf29(0x114)]:default:return'linear';}}function a(_0x38105a){const _0x5c6b08=_0x2a388e;return _0x38105a===e[_0x5c6b08(0x12f)][_0x5c6b08(0x16d)]?_0x5c6b08(0x15d):_0x5c6b08(0x1ac);}var o=class{constructor(_0x35ee8b,_0x23c61a){const _0x3b8612=_0x2a388e;this[_0x3b8612(0x1bc)]=_0x35ee8b,this[_0x3b8612(0x1c0)]=_0x23c61a;}[_0x2a388e(0x14a)](){const _0x2da1b5=_0x2a388e;var _0x98d402;return(0x0,e[_0x2da1b5(0x136)])((_0x98d402=this[_0x2da1b5(0x116)]())==null?void 0x0:_0x98d402[_0x2da1b5(0x13e)]);}['getPlainText'](){const _0x57accb=_0x2a388e;var _0x3a774a,_0x4442f6;return(_0x3a774a=(_0x4442f6=this[_0x57accb(0x14a)]())==null?void 0x0:_0x4442f6[_0x57accb(0x158)]())==null?null:_0x3a774a;}[_0x2a388e(0x180)](_0xa5853e){const _0x46244e=_0x2a388e;return this[_0x46244e(0x1b6)](_0x115b20=>({..._0x115b20,'shapeText':(0x0,e[_0x46244e(0x18e)])(_0x115b20[_0x46244e(0x13e)],_0xa5853e)})),this;}[_0x2a388e(0xfe)](_0x247a72){const _0x273867=_0x2a388e;return this[_0x273867(0x1b6)](_0x4fa417=>({..._0x4fa417,'shapeText':(0x0,e[_0x273867(0x12c)])(_0x4fa417[_0x273867(0x13e)],_0x247a72)})),this;}['setTextStyle'](_0x48a1c0){const _0x3dc15c=_0x2a388e;return this['_updateShapeData'](_0x30070a=>({..._0x30070a,'shapeText':(0x0,e[_0x3dc15c(0x1d4)])(_0x30070a[_0x3dc15c(0x13e)],_0x48a1c0)})),this;}[_0x2a388e(0x115)](_0xb158cd,_0x13e600){const _0x4ed572=_0x2a388e;return this[_0x4ed572(0x178)]({'cl':{'rgb':_0xb158cd},'textFill':{'type':_0x4ed572(0x15c),'color':_0xb158cd,'opacity':_0x13e600}});}[_0x2a388e(0x1b3)](){const _0x470bcb=_0x2a388e;return this[_0x470bcb(0x178)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x470bcb(0x13f)}});}[_0x2a388e(0x192)](_0x190f7b,_0x271bdd,_0x4860b){const _0x8ad75d=_0x2a388e;return _0x271bdd[_0x8ad75d(0x184)]<0x2?(console[_0x8ad75d(0xfd)](_0x8ad75d(0xfc)),this):this[_0x8ad75d(0x178)]({'cl':{'rgb':_0x271bdd[0x0][_0x8ad75d(0x19c)]},'textFill':{'type':_0x8ad75d(0x112),'gradient':{'type':i(_0x190f7b),'angle':_0x4860b,'stops':_0x271bdd[_0x8ad75d(0x172)](({position:_0x955b3d,color:_0xb7477e,opacity:_0x5cb930})=>({'offset':_0x955b3d,'color':_0xb7477e,'opacity':_0x5cb930}))}}});}['setImageFill'](_0x4a04fe,_0x4547c3=e[_0x2a388e(0x183)][_0x2a388e(0x1b2)],_0x43e5c2={}){const _0x193461=_0x2a388e;return this[_0x193461(0x178)]({'textFill':{'type':'picture','picture':{'source':_0x4a04fe,'sourceType':_0x4547c3,'opacity':_0x43e5c2[_0x193461(0x1bf)],'mode':a(_0x43e5c2[_0x193461(0x18c)]),'scaleX':_0x43e5c2[_0x193461(0x15e)],'scaleY':_0x43e5c2['scaleY'],'offsetX':_0x43e5c2[_0x193461(0x14f)],'offsetY':_0x43e5c2[_0x193461(0x176)]}}});}[_0x2a388e(0x179)](_0x4573b2){const _0x24a43a=_0x2a388e;return this[_0x24a43a(0x178)]({'fs':_0x4573b2});}[_0x2a388e(0x103)](_0x4ee436){const _0x3d89d9=_0x2a388e;return this[_0x3d89d9(0x178)]({'ff':_0x4ee436});}[_0x2a388e(0x1ad)](_0x382133){const _0x4062dd=_0x2a388e;return this[_0x4062dd(0x178)]({'bl':_0x382133?n[_0x4062dd(0x12e)][_0x4062dd(0x141)]:n[_0x4062dd(0x12e)][_0x4062dd(0x128)]});}[_0x2a388e(0x10e)](_0x26d1c8){const _0xa6ea2d=_0x2a388e;return this[_0xa6ea2d(0x178)]({'it':_0x26d1c8?n['BooleanNumber'][_0xa6ea2d(0x141)]:n['BooleanNumber']['FALSE']});}[_0x2a388e(0x113)](_0x41aa08){const _0x191a2d=_0x2a388e;return this[_0x191a2d(0x178)]({'ul':{'s':_0x41aa08?n['BooleanNumber'][_0x191a2d(0x141)]:n[_0x191a2d(0x12e)][_0x191a2d(0x128)]}});}[_0x2a388e(0x134)](_0x572cd7){const _0x5a835a=_0x2a388e;return this['setTextStyle']({'st':{'s':_0x572cd7?n[_0x5a835a(0x12e)][_0x5a835a(0x141)]:n[_0x5a835a(0x12e)]['FALSE']}});}[_0x2a388e(0x11e)](_0x5d95f1){const _0x2e1ba6=_0x2a388e;return this[_0x2e1ba6(0x1b6)](_0x29043a=>(0x0,e[_0x2e1ba6(0x10c)])(_0x29043a,{'horizontalAlign':_0x5d95f1})),this;}[_0x2a388e(0x166)](_0x4d4d42){return this['_updateShapeData'](_0x28d0b6=>(0x0,e['applyShapeTextAlignment'])(_0x28d0b6,{'verticalAlign':_0x4d4d42})),this;}[_0x2a388e(0x1c8)](){const _0xcacc4c=_0x2a388e;let _0x423556=this[_0xcacc4c(0x116)]();return _0x423556?(0x0,e['resolveShapeTextBoxOptions'])(_0x423556):null;}[_0x2a388e(0x159)](_0x57bdcb){const _0x1a30c9=_0x2a388e;return this[_0x1a30c9(0x1b6)](_0x4b440a=>(0x0,e[_0x1a30c9(0x15f)])(_0x4b440a,_0x57bdcb)),this;}['_getAdapter'](){const _0x2c9531=_0x2a388e;return this[_0x2c9531(0x1c0)][_0x2c9531(0x1ab)](e[_0x2c9531(0x13a)])[_0x2c9531(0x1ab)](this[_0x2c9531(0x1bc)][_0x2c9531(0x1be)]);}[_0x2a388e(0x116)](){const _0x157bd8=_0x2a388e;let _0x3206f4=this['_getAdapter']();if(!_0x3206f4)return null;try{var _0x55423c;return((_0x55423c=_0x3206f4[_0x157bd8(0x135)](this[_0x157bd8(0x1bc)]))==null?void 0x0:_0x55423c[_0x157bd8(0x18a)])||(console[_0x157bd8(0xfd)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x157bd8(0x1bc)][_0x157bd8(0x182)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x3a58b6){return console[_0x157bd8(0xfd)](_0x157bd8(0x156)+this[_0x157bd8(0x1bc)][_0x157bd8(0x182)]+_0x157bd8(0x120),_0x3a58b6),null;}}[_0x2a388e(0x1b6)](_0xd21a1f){const _0x22adb3=_0x2a388e;let _0x5a7367=this[_0x22adb3(0x149)]();if(!_0x5a7367)return!0x1;try{var _0x5d6e70;let _0xe5c020=(_0x5d6e70=_0x5a7367[_0x22adb3(0x135)](this[_0x22adb3(0x1bc)]))==null?void 0x0:_0x5d6e70[_0x22adb3(0x18a)];if(!_0xe5c020)return console['warn'](_0x22adb3(0x14e)+this[_0x22adb3(0x1bc)][_0x22adb3(0x182)]+_0x22adb3(0x191)),!0x1;let _0x364daf=_0x5a7367[_0x22adb3(0x171)](this[_0x22adb3(0x1bc)],{'shapeData':_0xd21a1f(_0xe5c020)});return _0x364daf||console['warn'](_0x22adb3(0x19f)+this[_0x22adb3(0x1bc)][_0x22adb3(0x182)]+_0x22adb3(0x120)),_0x364daf;}catch(_0x5d10a2){return console['warn'](_0x22adb3(0x19f)+this['_shapeRef']['shapeId']+_0x22adb3(0x120),_0x5d10a2),!0x1;}}},s=class extends t['FBase']{constructor(_0x16d7e1,_0x5718c7){const _0x4a4024=_0x2a388e;super(),this[_0x4a4024(0x1bc)]=_0x16d7e1,this[_0x4a4024(0x1c0)]=_0x5718c7;}[_0x2a388e(0x110)](){return!0x1;}[_0x2a388e(0x1c9)](){const _0x58e25e=_0x2a388e;return this[_0x58e25e(0x1bc)][_0x58e25e(0x182)];}['getName'](){const _0x464a34=_0x2a388e;var _0x404d27;return(_0x404d27=this[_0x464a34(0x175)]())==null?void 0x0:_0x404d27[_0x464a34(0x1d1)];}[_0x2a388e(0x181)](_0xfc4371){const _0x2a6e93=_0x2a388e;return this[_0x2a6e93(0x14b)]({'name':_0xfc4371});}[_0x2a388e(0x1a5)](){const _0xf78237=_0x2a388e;var _0x480f2b;return(_0x480f2b=this[_0xf78237(0x175)]())==null?void 0x0:_0x480f2b['description'];}[_0x2a388e(0x170)](_0x302cea){const _0x28350b=_0x2a388e;return this[_0x28350b(0x14b)]({'description':_0x302cea});}[_0x2a388e(0x1b0)](){const _0x3e70a9=_0x2a388e;return this[_0x3e70a9(0x1bc)]['hostType'];}['getShapeType'](){const _0x58ab5c=_0x2a388e;var _0x26e190,_0x47ef94;return(_0x26e190=(_0x47ef94=this[_0x58ab5c(0x175)]())==null?void 0x0:_0x47ef94[_0x58ab5c(0x15b)])==null?null:_0x26e190;}[_0x2a388e(0x1af)](){const _0x331a8e=_0x2a388e;let _0x2c5181=this[_0x331a8e(0x175)]();return _0x2c5181?n['Tools'][_0x331a8e(0x1c4)](_0x2c5181['shapeData']):null;}[_0x2a388e(0x11c)](){const _0x3a6cfa=_0x2a388e;let _0x504cc8=this[_0x3a6cfa(0x175)]();return _0x504cc8?n[_0x3a6cfa(0x111)][_0x3a6cfa(0x1c4)](_0x504cc8):null;}[_0x2a388e(0x16c)](){const _0x3ec800=_0x2a388e;let _0x31ffdb=this[_0x3ec800(0x175)]();return _0x31ffdb?{..._0x31ffdb[_0x3ec800(0x17d)]}:null;}[_0x2a388e(0x10b)](){const _0x1ad36a=_0x2a388e;var _0x2861a7,_0x104982;return(_0x2861a7=(_0x104982=this[_0x1ad36a(0x175)]())==null?void 0x0:_0x104982['visible'])==null?!0x1:_0x2861a7;}['setVisible'](_0x224ff5){const _0x4dae2=_0x2a388e;return this[_0x4dae2(0x14b)]({'visible':_0x224ff5});}[_0x2a388e(0x1d7)](){var _0x1adafe,_0x337aad;return(_0x1adafe=(_0x337aad=this['_getSnapshot']())==null?void 0x0:_0x337aad['selectable'])==null?!0x1:_0x1adafe;}[_0x2a388e(0x137)](_0x2a5f37){const _0xfe7b00=_0x2a388e;return this[_0xfe7b00(0x14b)]({'selectable':_0x2a5f37});}[_0x2a388e(0x1b7)](){const _0x46160d=_0x2a388e;return this['_injector'][_0x46160d(0x16b)](o,this['_shapeRef'],this[_0x46160d(0x1c0)]);}[_0x2a388e(0x17f)](){const _0x5b478a=_0x2a388e;let _0x27e72b=this[_0x5b478a(0x1af)]();return(_0x27e72b==null?void 0x0:_0x27e72b[_0x5b478a(0x1c1)])===!0x0&&!!_0x27e72b[_0x5b478a(0x139)];}['getCustomGeometry'](){const _0x44879a=_0x2a388e;var _0x497773,_0x1500ea;return(_0x497773=(_0x1500ea=this[_0x44879a(0x1af)]())==null?void 0x0:_0x1500ea[_0x44879a(0x139)])==null?null:_0x497773;}['setShapeType'](_0x245740){return this['_patchShapeData'](_0x508133=>({..._0x508133,'shapeType':_0x245740}),_0x245740);}[_0x2a388e(0x167)](_0x44b9c4){const _0x17f838=_0x2a388e;let _0x274481=n[_0x17f838(0x111)][_0x17f838(0x1c4)](_0x44b9c4);return this['update']({'shapeType':_0x274481[_0x17f838(0x15b)],'shapeData':_0x274481});}[_0x2a388e(0x125)](_0x5eca86){return this['update']({'transform':_0x5eca86});}['setSize'](_0x18f964,_0xd1e244){return this['setTransform']({'width':_0x18f964,'height':_0xd1e244});}[_0x2a388e(0x1c3)](_0x18eb0b){return this['setTransform']({'rotation':_0x18eb0b});}['setAbsolutePosition'](_0x41a5b5,_0x46aa69){const _0x249605=_0x2a388e;return this[_0x249605(0x125)]({'left':_0x41a5b5,'top':_0x46aa69});}[_0x2a388e(0x132)](_0x821ed5){const _0x5b3554=_0x2a388e;let _0x13d2ac=n[_0x5b3554(0x111)][_0x5b3554(0x1c4)](_0x821ed5);return this[_0x5b3554(0x1b9)](_0x417f40=>({..._0x417f40,'isCustom':!0x0,'customGeometry':_0x13d2ac}));}[_0x2a388e(0x12b)](){const _0x4acfa0=_0x2a388e;var _0x594651,_0x48c94d;return(_0x594651=(_0x48c94d=this['_getGeometryModel']())==null?void 0x0:_0x48c94d[_0x4acfa0(0x153)]()['map'](_0x5caaa5=>({..._0x5caaa5})))==null?[]:_0x594651;}[_0x2a388e(0x119)](){const _0x283fc8=_0x2a388e;var _0x371873,_0x548cc6;return(_0x371873=(_0x548cc6=this[_0x283fc8(0x130)]())==null?void 0x0:_0x548cc6[_0x283fc8(0x19a)]()[_0x283fc8(0x172)](_0xfa610=>({..._0xfa610})))==null?[]:_0x371873;}[_0x2a388e(0x13b)](){const _0x3e498b=_0x2a388e;var _0x4b903c;let _0x4ffb7e=(_0x4b903c=this['_getGeometryModel']())==null?void 0x0:_0x4b903c[_0x3e498b(0x13b)]();return _0x4ffb7e?{..._0x4ffb7e}:null;}[_0x2a388e(0x14d)](){const _0xdfdc92=_0x2a388e;var _0x1d4f67;let _0x136a56=(_0x1d4f67=this[_0xdfdc92(0x130)]())==null?void 0x0:_0x1d4f67['getEndConnectInfo']();return _0x136a56?{..._0x136a56}:null;}[_0x2a388e(0x17e)](_0x140ca0,_0x3582de){return this['_patchShapeData'](_0x2c4693=>({..._0x2c4693,'fill':{'fillType':e['ShapeFillEnum']['SolidFill'],'color':_0x140ca0,'opacity':_0x3582de}}));}[_0x2a388e(0x192)](_0x536a6a,_0x4c793c,_0x295070){const _0x40af85=_0x2a388e;return _0x4c793c[_0x40af85(0x184)]<0x2?(console[_0x40af85(0xfd)](_0x40af85(0x147)),this):this[_0x40af85(0x1b9)](_0x117dba=>({..._0x117dba,'fill':{'fillType':e[_0x40af85(0x17c)][_0x40af85(0x1b5)],'gradientType':_0x536a6a,'gradientStops':n[_0x40af85(0x111)]['deepClone'](_0x4c793c),'gradientAngle':_0x295070}}));}[_0x2a388e(0x190)](_0x156e01,_0x2f1b0a,_0x1702d7={}){const _0x4822da=_0x2a388e;return this[_0x4822da(0x1b9)](_0x47e057=>({..._0x47e057,'fill':{...n[_0x4822da(0x111)]['deepClone'](_0x1702d7),'fillType':e['ShapeFillEnum']['PictureFill'],'fillImageSource':_0x156e01,'fillImageSourceType':_0x2f1b0a}}));}['setNoneFill'](){const _0x2be687=_0x2a388e;return this[_0x2be687(0x1b9)](_0x11bfe6=>({..._0x11bfe6,'fill':{'fillType':e[_0x2be687(0x17c)][_0x2be687(0x118)]}}));}[_0x2a388e(0x1aa)](_0x1aa3e6){const _0x30e4e5=_0x2a388e;return this[_0x30e4e5(0x1b9)](_0x4c63fd=>({..._0x4c63fd,'stroke':n[_0x30e4e5(0x111)]['deepClone'](_0x1aa3e6)}));}[_0x2a388e(0x1a1)](_0x5c0515){const _0x55e8db=_0x2a388e;return this['_patchStroke'](_0x430a3d=>({..._0x430a3d,'color':_0x5c0515,'lineStrokeType':_0x430a3d['lineStrokeType']===e[_0x55e8db(0x194)][_0x55e8db(0x16e)]?e[_0x55e8db(0x194)][_0x55e8db(0x1a0)]:_0x430a3d['lineStrokeType']}));}['setStrokeWidth'](_0xf9992d){const _0x1e43de=_0x2a388e;return this['_patchStroke'](_0x32973e=>({..._0x32973e,'width':_0xf9992d,'lineStrokeType':_0x32973e['lineStrokeType']===e['ShapeLineTypeEnum'][_0x1e43de(0x16e)]?e[_0x1e43de(0x194)][_0x1e43de(0x1a0)]:_0x32973e[_0x1e43de(0x15a)]}));}[_0x2a388e(0x193)](_0x5559aa){const _0x5880e7=_0x2a388e;return this[_0x5880e7(0x146)](_0x271f07=>({..._0x271f07,'opacity':_0x5559aa}));}['setStrokeLineDashType'](_0x492d56){const _0x186062=_0x2a388e;return this[_0x186062(0x146)](_0x149e58=>({..._0x149e58,'dashType':_0x492d56}));}['setStrokeLineJoinType'](_0x59604a){const _0x4d8233=_0x2a388e;return this[_0x4d8233(0x146)](_0x41355a=>({..._0x41355a,'lineJoinType':_0x59604a}));}[_0x2a388e(0x1a4)](_0x44d6a8){const _0x1b5ad0=_0x2a388e;return this[_0x1b5ad0(0x146)](_0xaa1d37=>({..._0xaa1d37,'capType':_0x44d6a8}));}[_0x2a388e(0x1d5)](_0x123a74){const _0x263671=_0x2a388e;return this[_0x263671(0x146)](_0x74704c=>({..._0x74704c,'lineStrokeType':_0x123a74}));}['update'](_0x4bd1e1){const _0x509b02=_0x2a388e;var _0x3cd55d,_0x44032b,_0x2b0922;let _0x23da04=_0x4bd1e1[_0x509b02(0x18a)],_0x14d6af=_0x23da04&&(_0x509b02(0x13c)in _0x23da04||_0x509b02(0xff)in _0x23da04)?this[_0x509b02(0x124)]():null,_0x178479=(_0x3cd55d=(_0x44032b=_0x4bd1e1[_0x509b02(0x15b)])==null?(_0x2b0922=_0x4bd1e1[_0x509b02(0x18a)])==null?void 0x0:_0x2b0922[_0x509b02(0x15b)]:_0x44032b)==null?_0x14d6af:_0x3cd55d,_0x28e7e4=c(_0x4bd1e1,_0x178479!==null&&(0x0,e[_0x509b02(0x110)])(_0x178479));return _0x28e7e4?(console[_0x509b02(0xfd)](_0x509b02(0x174)+_0x28e7e4),this):(this[_0x509b02(0x109)](_0x509b02(0x14b),_0x58998d=>_0x58998d['updateShape'](this[_0x509b02(0x1bc)],_0x4bd1e1)),this);}['remove'](){const _0x58e0a0=_0x2a388e;return this[_0x58e0a0(0x109)]('remove',_0x4adac5=>_0x4adac5[_0x58e0a0(0x126)](this[_0x58e0a0(0x1bc)]));}[_0x2a388e(0x163)](){const _0x543f4d=_0x2a388e;return this[_0x543f4d(0x109)](_0x543f4d(0x1b8),_0x4dc966=>_0x4dc966[_0x543f4d(0x163)](this['_shapeRef'])),this;}[_0x2a388e(0x177)](){const _0x4e48ac=_0x2a388e;return this[_0x4e48ac(0x109)](_0x4e48ac(0x1c7),_0x363d0f=>_0x363d0f[_0x4e48ac(0x177)](this['_shapeRef'])),this;}[_0x2a388e(0x143)](){const _0x31db40=_0x2a388e;return this[_0x31db40(0x109)](_0x31db40(0x17a),_0x2f8f18=>_0x2f8f18[_0x31db40(0x143)](this[_0x31db40(0x1bc)])),this;}['sendToBack'](){const _0x26c191=_0x2a388e;return this[_0x26c191(0x109)](_0x26c191(0x11a),_0x2e6b4f=>_0x2e6b4f[_0x26c191(0x1a3)](this[_0x26c191(0x1bc)])),this;}[_0x2a388e(0x149)](){const _0x4428fe=_0x2a388e;return this[_0x4428fe(0x1c0)][_0x4428fe(0x1ab)](e[_0x4428fe(0x13a)])[_0x4428fe(0x1ab)](this[_0x4428fe(0x1bc)][_0x4428fe(0x1be)]);}[_0x2a388e(0x1b9)](_0x3b317a,_0x2a60f1){const _0x483960=_0x2a388e;let _0x51c7e8=this[_0x483960(0x1af)]();return _0x51c7e8?this['update']({'shapeType':_0x2a60f1,'shapeData':_0x3b317a(_0x51c7e8)}):this;}[_0x2a388e(0x146)](_0x3d8ec4){const _0x230021=_0x2a388e;return this[_0x230021(0x1b9)](_0x2eaa70=>{const _0x58e359=_0x230021;var _0x512bce;return{..._0x2eaa70,'stroke':_0x3d8ec4((_0x512bce=_0x2eaa70[_0x58e359(0x162)])==null?{}:_0x512bce)};});}[_0x2a388e(0x175)](){const _0x345f02=_0x2a388e;let _0x29099c=this[_0x345f02(0x149)]();if(!_0x29099c)return null;try{return _0x29099c[_0x345f02(0x135)](this[_0x345f02(0x1bc)])||(console[_0x345f02(0xfd)](_0x345f02(0x131)+this[_0x345f02(0x1bc)]['shapeId']+_0x345f02(0x191)),null);}catch(_0x1966ca){return console[_0x345f02(0xfd)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x345f02(0x1bc)]['shapeId']+'\x22.',_0x1966ca),null;}}['_getGeometryModel'](){const _0x2a4090=_0x2a388e;let _0x56bc3f=this[_0x2a4090(0x175)]();if(!_0x56bc3f)return null;try{let _0x1d51e2=new e[(_0x2a4090(0x164))](_0x56bc3f['shapeType'],_0x56bc3f['shapeId'],_0x56bc3f[_0x2a4090(0x18a)]);return _0x1d51e2[_0x2a4090(0x1b4)]({'width':_0x56bc3f[_0x2a4090(0x17d)][_0x2a4090(0x102)],'height':_0x56bc3f[_0x2a4090(0x17d)][_0x2a4090(0x186)]}),_0x1d51e2;}catch(_0x3ab8df){return console[_0x2a4090(0xfd)](_0x2a4090(0x173)+this['_shapeRef'][_0x2a4090(0x182)]+'\x22.',_0x3ab8df),null;}}['_mutate'](_0x1efe6a,_0x2be558){const _0x1dc6b6=_0x2a388e;let _0x2e6d6f=this[_0x1dc6b6(0x149)]();if(!_0x2e6d6f)return!0x1;try{let _0x1fe0b3=_0x2be558(_0x2e6d6f);return _0x1fe0b3||console[_0x1dc6b6(0xfd)](_0x1dc6b6(0x16f)+_0x1efe6a+_0x1dc6b6(0x140)+this[_0x1dc6b6(0x1bc)][_0x1dc6b6(0x182)]+'\x22.'),_0x1fe0b3;}catch(_0x41998d){return console['warn'](_0x1dc6b6(0x16f)+_0x1efe6a+_0x1dc6b6(0x140)+this['_shapeRef'][_0x1dc6b6(0x182)]+'\x22.',_0x41998d),!0x1;}}};function _0x3dab(){const _0x57c528=['[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setEndArrow','_getAdapter','getRichText','update','routePoints','getEndConnectInfo','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','offsetX','ShapeTypeEnum','unbind\x20start','boolean','getConnectionSiteList','Diamond','toStringTag','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','1832670FyxeCn','toPlainText','setTextBoxOptions','lineStrokeType','shapeType','solid','tile','scaleX','applyShapeTextBoxOptions','\x22\x20must\x20be\x20finite.','bind\x20','stroke','bringToFront','ShapeModel','rotation','setVerticalAlign','setShapeData','FShapeText','FConnectorShape','_getConnectorAdapter','createInstance','getTransform','Tile','NoLine','[Shape\x20Facade]:\x20Failed\x20to\x20','setDescription','updateShape','map','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','[Shape\x20Facade]:\x20','_getSnapshot','offsetY','bringForward','setTextStyle','setFontSize','send\x20backward','isInteger','ShapeFillEnum','transform','setSolidFill','isCustomShape','setRichText','setName','shapeId','ImageSourceTypeEnum','length','bindEnd','height','set\x20route\x20points','getRoutePoints','ShapeArrowSizeEnum','shapeData','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','mode','set\x20end\x20point','applyRichTextToShapeText','ShapeImageSourceTypeEnum','setImageFill','\x22\x20was\x20not\x20found.','setGradientFill','setStrokeOpacity','ShapeLineTypeEnum','ShapeImageFillModeEnum','top','ShapeTextDirection','[Shape\x20Facade]:\x20Connector\x20\x22','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','getDrawingPoints','Radial','color','radial','end','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','SolidLine','setStrokeColor','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','sendToBack','setStrokeLineCapType','getDescription','Shape\x20\x22','Shape\x20transform\x20\x22','ShapeOperatorEnum','FShape','setStroke','get','stretch','setBold','setStartArrow','getShapeData','getHostType','unbindStart','URL','setNoneFill','updateContext','GradientFill','_updateShapeData','getText','bring\x20to\x20front','_patchShapeData','63fDmdnm','left','_shapeRef','8193fJGrQW','hostType','opacity','_injector','isCustom','\x22\x20must\x20be\x20boolean.','setRotation','deepClone','set\x20start\x20point','Angular','bring\x20forward','getTextBoxOptions','getId','setStartPoint','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','unbindEnd','FEnum','ShapeLineCapEnum','4793470hTVscY','ShapeGradientTypeEnum','name','\x20Connector\x20Shape\x20\x22','ShapeTextAutoFitType','applyShapeTextStyle','setStrokeLineType','selectable','isSelectable','\x22\x20requires\x20Connector\x20Shape\x20data.','extend','setShapeType','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','warn','setText','points','31208rYJBRI','every','width','setFontFamily','start','flipX','setRoutePoints','setEndPoint','2623628OEvufa','_mutate','614MAgkSg','isVisible','applyShapeTextAlignment','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','setItalic','617718pKROqT','isConnectorShape','Tools','gradient','setUnderline','Linear','setColor','_getShapeData','isFinite','NoFill','getAdjustPoints','send\x20to\x20back','endArrow','getSnapshot','3507600pmmZRZ','setHorizontalAlign','_mutateConnector','\x22\x20text.','getStartEndpoint','ShapeLineDashEnum','ShapeLineJoinEnum','getShapeType','setTransform','removeShape','flipY','FALSE','7KqkjQo','bindStart','getConnectionSites','applyTextToShapeText','ShapeTextWrapType','BooleanNumber','ImageFillModeEnum','_getGeometryModel','[Shape\x20Facade]:\x20Shape\x20\x22','setCustomGeometry','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','setStrikethrough','getShape','shapeTextToRichTextValue','setSelectable','set\x20start\x20arrow','customGeometry','IShapeHostAdapterRegistry','getStartConnectInfo','relation','unbind\x20end','shapeText','none','\x20Shape\x20\x22','TRUE','_bind','sendBackward','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','_getConnectorSnapshot','_patchStroke'];_0x3dab=function(){return _0x57c528;};return _0x3dab();}function c(_0x38be36,_0x13e064=!0x1){const _0xf1549a=_0x2a388e;for(let _0x849ce5 of['visible',_0xf1549a(0x1d6)]){let _0x3d75d1=_0x38be36[_0x849ce5];if(_0x3d75d1!==void 0x0&&typeof _0x3d75d1!=_0xf1549a(0x152))return _0xf1549a(0x1a6)+_0x849ce5+_0xf1549a(0x1c2);}let _0x4e2817=_0x38be36[_0xf1549a(0x17d)];if(_0x4e2817){for(let _0x3a3af3 of[_0xf1549a(0x1bb),_0xf1549a(0x196),_0xf1549a(0x102),_0xf1549a(0x186),_0xf1549a(0x165)]){let _0x214a03=_0x4e2817[_0x3a3af3];if(_0x214a03!==void 0x0&&!Number['isFinite'](_0x214a03))return _0xf1549a(0x1a7)+_0x3a3af3+_0xf1549a(0x160);}if(_0x4e2817['width']!==void 0x0&&_0x4e2817['width']<=0x0)return _0xf1549a(0x10d);if(_0x4e2817[_0xf1549a(0x186)]!==void 0x0&&_0x4e2817[_0xf1549a(0x186)]<=0x0)return _0xf1549a(0x133);for(let _0x321858 of[_0xf1549a(0x105),_0xf1549a(0x127)]){let _0x5e0dd2=_0x4e2817[_0x321858];if(_0x5e0dd2!==void 0x0&&typeof _0x5e0dd2!=_0xf1549a(0x152))return _0xf1549a(0x1a7)+_0x321858+_0xf1549a(0x1c2);}}let _0x57df14=_0x38be36[_0xf1549a(0x18a)];return!_0x13e064&&_0x57df14&&(_0xf1549a(0x13c)in _0x57df14||_0xf1549a(0xff)in _0x57df14)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}function _0x5e9e(_0x35575b,_0xe63a1c){_0x35575b=_0x35575b-0xfb;const _0x3dab21=_0x3dab();let _0x5e9e88=_0x3dab21[_0x35575b];return _0x5e9e88;}var l=class extends s{['isConnectorShape'](){return!0x0;}[_0x2a388e(0x121)](){const _0x26b44e=_0x2a388e;let _0x5a970d=this[_0x26b44e(0x145)]();return _0x5a970d?n[_0x26b44e(0x111)][_0x26b44e(0x1c4)](_0x5a970d[_0x26b44e(0x104)]):null;}['getEndEndpoint'](){const _0x26d333=_0x2a388e;let _0x3bdf70=this[_0x26d333(0x145)]();return _0x3bdf70?n['Tools'][_0x26d333(0x1c4)](_0x3bdf70[_0x26d333(0x19e)]):null;}[_0x2a388e(0x188)](){const _0x48acbd=_0x2a388e;let _0x48091c=this[_0x48acbd(0x145)]();return _0x48091c?n[_0x48acbd(0x111)][_0x48acbd(0x1c4)](_0x48091c[_0x48acbd(0x14c)]):null;}['getStartArrow'](){const _0x22af6a=_0x2a388e;let _0x4c3114=this[_0x22af6a(0x145)]();return _0x4c3114?n['Tools'][_0x22af6a(0x1c4)](_0x4c3114['startArrow']):null;}['getEndArrow'](){const _0x33ef98=_0x2a388e;let _0x45f004=this[_0x33ef98(0x145)]();return _0x45f004?n[_0x33ef98(0x111)][_0x33ef98(0x1c4)](_0x45f004[_0x33ef98(0x11b)]):null;}[_0x2a388e(0xfb)](_0x23e52){const _0x2b4557=_0x2a388e;return(0x0,e[_0x2b4557(0x110)])(_0x23e52)?super[_0x2b4557(0xfb)](_0x23e52):(console[_0x2b4557(0xfd)](_0x2b4557(0x144)+this[_0x2b4557(0x1bc)]['shapeId']+_0x2b4557(0x18b)),this);}[_0x2a388e(0x167)](_0x554e89){const _0x157a76=_0x2a388e;return _0x554e89[_0x157a76(0x15b)]!==void 0x0&&!(0x0,e['isConnectorShape'])(_0x554e89['shapeType'])?(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x157a76(0x1bc)]['shapeId']+_0x157a76(0x1d8)),this):super[_0x157a76(0x167)](_0x554e89);}[_0x2a388e(0x12a)](_0x44fee7,_0x230a5d){const _0x392333=_0x2a388e;return this['_bind'](_0x392333(0x104),_0x44fee7,_0x230a5d),this;}[_0x2a388e(0x185)](_0x31574d,_0x4bbf91){const _0x252b4a=_0x2a388e;return this[_0x252b4a(0x142)](_0x252b4a(0x19e),_0x31574d,_0x4bbf91),this;}[_0x2a388e(0x1b1)](){const _0x3c3d44=_0x2a388e;return this[_0x3c3d44(0x11f)](_0x3c3d44(0x151),_0x252edf=>_0x252edf[_0x3c3d44(0x1b1)](this[_0x3c3d44(0x1bc)])),this;}[_0x2a388e(0x1cc)](){const _0x251b50=_0x2a388e;return this['_mutateConnector'](_0x251b50(0x13d),_0x247219=>_0x247219[_0x251b50(0x1cc)](this['_shapeRef'])),this;}[_0x2a388e(0x1ca)](_0x212531){const _0x2722ce=_0x2a388e;return u(_0x212531,this[_0x2722ce(0x1bc)]['shapeId'])&&this[_0x2722ce(0x11f)](_0x2722ce(0x1c5),_0x9ab36b=>_0x9ab36b[_0x2722ce(0x1ca)](this[_0x2722ce(0x1bc)],_0x212531)),this;}['setEndPoint'](_0x2d3a2c){const _0x39e8b3=_0x2a388e;return u(_0x2d3a2c,this[_0x39e8b3(0x1bc)][_0x39e8b3(0x182)])&&this['_mutateConnector'](_0x39e8b3(0x18d),_0x655d40=>_0x655d40[_0x39e8b3(0x107)](this[_0x39e8b3(0x1bc)],_0x2d3a2c)),this;}[_0x2a388e(0x106)](_0x4119b2){const _0x31f366=_0x2a388e;return _0x4119b2[_0x31f366(0x101)](_0x766698=>u(_0x766698,this[_0x31f366(0x1bc)][_0x31f366(0x182)]))&&this['_mutateConnector'](_0x31f366(0x187),_0x3c6dcd=>_0x3c6dcd[_0x31f366(0x106)](this[_0x31f366(0x1bc)],_0x4119b2)),this;}[_0x2a388e(0x1ae)](_0x32fb33,_0x38c84e){const _0x155d90=_0x2a388e;return this[_0x155d90(0x11f)](_0x155d90(0x138),_0x4c80db=>_0x4c80db[_0x155d90(0x1ae)](this[_0x155d90(0x1bc)],_0x32fb33,_0x38c84e)),this;}[_0x2a388e(0x148)](_0x4d4420,_0xbdb920){const _0x19390b=_0x2a388e;return this[_0x19390b(0x11f)]('set\x20end\x20arrow',_0x144302=>_0x144302[_0x19390b(0x148)](this[_0x19390b(0x1bc)],_0x4d4420,_0xbdb920)),this;}[_0x2a388e(0x16a)](){const _0x2a2e01=_0x2a388e;return this[_0x2a2e01(0x1c0)][_0x2a2e01(0x1ab)](e['IConnectorShapeHostAdapter']);}[_0x2a388e(0x145)](){const _0x27a7fa=_0x2a388e;let _0x26cffe=this[_0x27a7fa(0x16a)]();if(!_0x26cffe)return null;try{return _0x26cffe['getConnector'](this[_0x27a7fa(0x1bc)])||(console[_0x27a7fa(0xfd)](_0x27a7fa(0x144)+this[_0x27a7fa(0x1bc)][_0x27a7fa(0x182)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0xb5abde){return console[_0x27a7fa(0xfd)](_0x27a7fa(0x1cb)+this[_0x27a7fa(0x1bc)][_0x27a7fa(0x182)]+'\x22.',_0xb5abde),null;}}[_0x2a388e(0x142)](_0x2caef6,_0x424059,_0x3b1386){const _0x4b47b9=_0x2a388e;if(!_0x424059||!Number[_0x4b47b9(0x17b)](_0x3b1386)||_0x3b1386<0x0)return console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+this[_0x4b47b9(0x1bc)][_0x4b47b9(0x182)]+_0x4b47b9(0x199)),!0x1;let _0x1d87dd={'shapeId':_0x424059,'cxnIndex':_0x3b1386};return this[_0x4b47b9(0x11f)](_0x4b47b9(0x161)+_0x2caef6,_0x40b97f=>_0x2caef6==='start'?_0x40b97f[_0x4b47b9(0x12a)](this[_0x4b47b9(0x1bc)],_0x1d87dd):_0x40b97f[_0x4b47b9(0x185)](this[_0x4b47b9(0x1bc)],_0x1d87dd));}['_mutateConnector'](_0x54ae5a,_0x56d230){const _0x243c58=_0x2a388e;let _0x4737bc=this[_0x243c58(0x16a)]();if(!_0x4737bc)return!0x1;try{let _0x32f679=_0x56d230(_0x4737bc);return _0x32f679||console[_0x243c58(0xfd)](_0x243c58(0x16f)+_0x54ae5a+_0x243c58(0x1d2)+this[_0x243c58(0x1bc)]['shapeId']+'\x22.'),_0x32f679;}catch(_0x1b7ad8){return console[_0x243c58(0xfd)](_0x243c58(0x16f)+_0x54ae5a+_0x243c58(0x1d2)+this[_0x243c58(0x1bc)][_0x243c58(0x182)]+'\x22.',_0x1b7ad8),!0x1;}}};function u(_0x35045c,_0x18e57d){const _0x34471e=_0x2a388e;return!Number[_0x34471e(0x117)](_0x35045c['x'])||!Number['isFinite'](_0x35045c['y'])?(console[_0x34471e(0xfd)](_0x34471e(0x198)+_0x18e57d+_0x34471e(0x1a2)),!0x1):!0x0;}exports[_0x2a388e(0x169)]=l,exports[_0x2a388e(0x1a9)]=s,exports[_0x2a388e(0x168)]=o;