@univerjs-pro/engine-shape 1.0.0-alpha.4 → 1.0.0-alpha.5
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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x20c3(_0x99fd55,_0x1ac25d){_0x99fd55=_0x99fd55-0x127;const _0x57962f=_0x5796();let _0x20c343=_0x57962f[_0x99fd55];return _0x20c343;}function _0x5796(){const _0x30303e=['getAdjustPoints','setStrokeWidth','FConnectorShape','GradientFill','linear','applyShapeTextStyle','updateShape','mode','_mutateConnector','set\x20route\x20points','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','bringForward','radial','unbindStart','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','startArrow','setRichText','offsetX','_getConnectorSnapshot','_patchStroke','setShapeData','isVisible','sendBackward','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','shapeType','getDrawingPoints','15980382bnhMnT','[Shape\x20Facade]:\x20','gradient','setNoneFill','_getShapeData','\x22\x20requires\x20Connector\x20Shape\x20data.','setSelectable','length','getShape','setShapeType','shapeTextToRichTextValue','setImageFill','NoLine','ShapeTextAutoFitType','unbind\x20end','getRichText','3280445UnyNLA','resolveShapeTextBoxOptions','getHostType','SolidLine','getText','extend','toPlainText','setBold','PictureFill','Module','setSolidFill','every','Tools','setName','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','FALSE','[Shape\x20Facade]:\x20Failed\x20to\x20','getConnectionSites','none','get','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','height','FBase','_shapeRef','bindEnd','[Shape\x20Facade]:\x20Connector\x20\x22','\x20Shape\x20\x22','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','IConnectorShapeHostAdapter','2325JptKwH','flipY','Linear','Radial','remove','getSnapshot','selectable','\x22\x20must\x20be\x20boolean.','isInteger','getStartConnectInfo','TRUE','setStrokeLineType','bring\x20forward','[Shape\x20Facade]:\x20Shape\x20\x22','setEndArrow','setCustomGeometry','6523864VUuhEy','deepClone','SolidFill','setTextBoxOptions','sendToBack','FShapeText','relation','set\x20start\x20point','top','getEndEndpoint','2122meZHdJ','setGradientFill','setStartPoint','ShapeFillEnum','ShapeTextWrapType','isConnectorShape','setTransform','ShapeTypeEnum','setVerticalAlign','ShapeLineJoinEnum','ImageFillModeEnum','_bind','description','IShapeHostAdapterRegistry','6xOnQAT','isFinite','setStartArrow','ShapeGradientTypeEnum','shapeText','getConnectionSiteList','Tile','BooleanNumber','\x20Connector\x20Shape\x20\x22','setUnderline','set\x20end\x20point','unbindEnd','diamond','color','applyShapeTextAlignment','tile','scaleY','width','stretch','customGeometry','lineStrokeType','_getAdapter','setFontFamily','transform','isCustomShape','\x22\x20must\x20be\x20finite.','hostType','shapeId','setSize','toStringTag','send\x20backward','visible','removeShape','setHorizontalAlign','728449XkywYr','bring\x20to\x20front','setRoutePoints','3190692EabcrR','ShapeModel','_injector','getDescription','ShapeLineTypeEnum','setRotation','createInstance','setAbsolutePosition','boolean','opacity','solid','update','ShapeLineDashEnum','bindStart','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','_updateShapeData','_getGeometryModel','ImageSourceTypeEnum','end','rgba(0,\x200,\x200,\x200)','ShapeArrowSizeEnum','rotation','map','picture','warn','ShapeArrowTypeEnum','getEndConnectInfo','_patchShapeData','getRoutePoints','offsetY','getStartEndpoint','start','setEndPoint','setStrokeLineCapType','Angular','getTextBoxOptions','applyTextToShapeText','getTransform','routePoints','ShapeImageSourceTypeEnum','setVisible','getPlainText','ShapeTextDirection','7472801kiUzmx','bringToFront','set\x20end\x20arrow','ShapeLineCapEnum','_mutate','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','setTextStyle','FShape','unbind\x20start','ShapeImageFillModeEnum','_getSnapshot','shapeData','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','getId','\x22\x20text.','getShapeData','_getConnectorAdapter','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'];_0x5796=function(){return _0x30303e;};return _0x5796();}const _0x665fdc=_0x20c3;(function(_0x5befe5,_0x656fae){const _0x266b70=_0x20c3,_0x4b45c5=_0x5befe5();while(!![]){try{const _0xbabb3b=-parseInt(_0x266b70(0x1da))/0x1+-parseInt(_0x266b70(0x1aa))/0x2*(parseInt(_0x266b70(0x190))/0x3)+parseInt(_0x266b70(0x1dd))/0x4+-parseInt(_0x266b70(0x172))/0x5+parseInt(_0x266b70(0x1b8))/0x6*(parseInt(_0x266b70(0x135))/0x7)+-parseInt(_0x266b70(0x1a0))/0x8+parseInt(_0x266b70(0x162))/0x9;if(_0xbabb3b===_0x656fae)break;else _0x4b45c5['push'](_0x4b45c5['shift']());}catch(_0x1c4c9d){_0x4b45c5['push'](_0x4b45c5['shift']());}}}(_0x5796,0x97016),Object['defineProperty'](exports,Symbol[_0x665fdc(0x1d5)],{'value':_0x665fdc(0x17b)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t['FEnum']{get[_0x665fdc(0x1b1)](){return e['ShapeTypeEnum'];}get[_0x665fdc(0x1ad)](){const _0x5223be=_0x665fdc;return e[_0x5223be(0x1ad)];}get['ShapeGradientTypeEnum'](){const _0x18d24f=_0x665fdc;return e[_0x18d24f(0x1bb)];}get[_0x665fdc(0x13e)](){const _0x45c48d=_0x665fdc;return e[_0x45c48d(0x1b4)];}get[_0x665fdc(0x131)](){const _0x20f3d0=_0x665fdc;return e[_0x20f3d0(0x1ee)];}get['ShapeLineTypeEnum'](){return e['ShapeLineTypeEnum'];}get['ShapeLineDashEnum'](){const _0x35133e=_0x665fdc;return e[_0x35133e(0x1e9)];}get['ShapeLineCapEnum'](){const _0xc49a3f=_0x665fdc;return e[_0xc49a3f(0x138)];}get['ShapeLineJoinEnum'](){const _0x361269=_0x665fdc;return e[_0x361269(0x1b3)];}get['ShapeOperatorEnum'](){return e['ShapeOperatorEnum'];}get[_0x665fdc(0x1f6)](){const _0x40f537=_0x665fdc;return e[_0x40f537(0x1f6)];}get[_0x665fdc(0x1f1)](){const _0x53955f=_0x665fdc;return e[_0x53955f(0x1f1)];}get['ShapeTextAutoFitType'](){const _0x24296a=_0x665fdc;return e[_0x24296a(0x16f)];}get[_0x665fdc(0x134)](){const _0x3d91e1=_0x665fdc;return e[_0x3d91e1(0x134)];}get['ShapeTextWrapType'](){const _0x483219=_0x665fdc;return e[_0x483219(0x1ae)];}};t['FEnum'][_0x665fdc(0x177)](r);function i(_0x2a9070){const _0x5dec4a=_0x665fdc;switch(_0x2a9070){case e['ShapeGradientTypeEnum'][_0x5dec4a(0x193)]:return _0x5dec4a(0x154);case e[_0x5dec4a(0x1bb)][_0x5dec4a(0x12c)]:return'angular';case e[_0x5dec4a(0x1bb)]['Diamond']:return _0x5dec4a(0x1c4);case e['ShapeGradientTypeEnum'][_0x5dec4a(0x192)]:default:return _0x5dec4a(0x14c);}}function a(_0x424917){const _0x669326=_0x665fdc;return _0x424917===e[_0x669326(0x1b4)][_0x669326(0x1be)]?_0x669326(0x1c7):_0x669326(0x1ca);}var o=class{constructor(_0x21a668,_0x373aa1){const _0x3c2ac5=_0x665fdc;this['_shapeRef']=_0x21a668,this[_0x3c2ac5(0x1df)]=_0x373aa1;}['getRichText'](){const _0x1d5398=_0x665fdc;var _0x5f39c5;return(0x0,e[_0x1d5398(0x16c)])((_0x5f39c5=this[_0x1d5398(0x166)]())==null?void 0x0:_0x5f39c5[_0x1d5398(0x1bc)]);}[_0x665fdc(0x133)](){const _0x37f38b=_0x665fdc;var _0x506988,_0x288eb0;return(_0x506988=(_0x288eb0=this[_0x37f38b(0x171)]())==null?void 0x0:_0x288eb0[_0x37f38b(0x178)]())==null?null:_0x506988;}[_0x665fdc(0x158)](_0x145315){return this['_updateShapeData'](_0x43a4ab=>({..._0x43a4ab,'shapeText':(0x0,e['applyRichTextToShapeText'])(_0x43a4ab['shapeText'],_0x145315)})),this;}['setText'](_0x3c419e){const _0x388831=_0x665fdc;return this[_0x388831(0x1ec)](_0x1a4002=>({..._0x1a4002,'shapeText':(0x0,e[_0x388831(0x12e)])(_0x1a4002[_0x388831(0x1bc)],_0x3c419e)})),this;}[_0x665fdc(0x13b)](_0x3f7c72){const _0x23882f=_0x665fdc;return this[_0x23882f(0x1ec)](_0x1ffa87=>({..._0x1ffa87,'shapeText':(0x0,e[_0x23882f(0x14d)])(_0x1ffa87[_0x23882f(0x1bc)],_0x3f7c72)})),this;}['setColor'](_0x51073c,_0x12ae8c){const _0x24e5ec=_0x665fdc;return this[_0x24e5ec(0x13b)]({'cl':{'rgb':_0x51073c},'textFill':{'type':_0x24e5ec(0x1e7),'color':_0x51073c,'opacity':_0x12ae8c}});}[_0x665fdc(0x165)](){const _0x189a77=_0x665fdc;return this[_0x189a77(0x13b)]({'cl':{'rgb':_0x189a77(0x1f0)},'textFill':{'type':_0x189a77(0x185)}});}[_0x665fdc(0x1ab)](_0x576892,_0x5017ce,_0x2ad470){const _0x19e438=_0x665fdc;return _0x5017ce[_0x19e438(0x169)]<0x2?(console['warn'](_0x19e438(0x181)),this):this[_0x19e438(0x13b)]({'cl':{'rgb':_0x5017ce[0x0][_0x19e438(0x1c5)]},'textFill':{'type':_0x19e438(0x164),'gradient':{'type':i(_0x576892),'angle':_0x2ad470,'stops':_0x5017ce['map'](({position:_0x517c39,color:_0x11e9e0,opacity:_0x10bcff})=>({'offset':_0x517c39,'color':_0x11e9e0,'opacity':_0x10bcff}))}}});}[_0x665fdc(0x16d)](_0x12f606,_0x373e3f=e[_0x665fdc(0x1ee)]['URL'],_0x18b863={}){const _0x3bd847=_0x665fdc;return this['setTextStyle']({'textFill':{'type':_0x3bd847(0x1f4),'picture':{'source':_0x12f606,'sourceType':_0x373e3f,'opacity':_0x18b863[_0x3bd847(0x1e6)],'mode':a(_0x18b863[_0x3bd847(0x14f)]),'scaleX':_0x18b863['scaleX'],'scaleY':_0x18b863[_0x3bd847(0x1c8)],'offsetX':_0x18b863[_0x3bd847(0x159)],'offsetY':_0x18b863[_0x3bd847(0x127)]}}});}['setFontSize'](_0x3d0e49){const _0x58a24c=_0x665fdc;return this[_0x58a24c(0x13b)]({'fs':_0x3d0e49});}[_0x665fdc(0x1ce)](_0x13abd6){const _0x4b3831=_0x665fdc;return this[_0x4b3831(0x13b)]({'ff':_0x13abd6});}[_0x665fdc(0x179)](_0x29e255){const _0x3a95be=_0x665fdc;return this[_0x3a95be(0x13b)]({'bl':_0x29e255?n[_0x3a95be(0x1bf)][_0x3a95be(0x19a)]:n['BooleanNumber'][_0x3a95be(0x182)]});}['setItalic'](_0x1ad242){const _0xd36f87=_0x665fdc;return this[_0xd36f87(0x13b)]({'it':_0x1ad242?n['BooleanNumber'][_0xd36f87(0x19a)]:n[_0xd36f87(0x1bf)]['FALSE']});}[_0x665fdc(0x1c1)](_0x1fb8fc){const _0x18fe56=_0x665fdc;return this[_0x18fe56(0x13b)]({'ul':{'s':_0x1fb8fc?n[_0x18fe56(0x1bf)][_0x18fe56(0x19a)]:n['BooleanNumber'][_0x18fe56(0x182)]}});}['setStrikethrough'](_0x2079cb){const _0x2a7b90=_0x665fdc;return this[_0x2a7b90(0x13b)]({'st':{'s':_0x2079cb?n[_0x2a7b90(0x1bf)][_0x2a7b90(0x19a)]:n[_0x2a7b90(0x1bf)][_0x2a7b90(0x182)]}});}[_0x665fdc(0x1d9)](_0x5dcb78){const _0x274495=_0x665fdc;return this['_updateShapeData'](_0x22a49d=>(0x0,e[_0x274495(0x1c6)])(_0x22a49d,{'horizontalAlign':_0x5dcb78})),this;}[_0x665fdc(0x1b2)](_0x2618ac){const _0x128b61=_0x665fdc;return this[_0x128b61(0x1ec)](_0x47abd0=>(0x0,e[_0x128b61(0x1c6)])(_0x47abd0,{'verticalAlign':_0x2618ac})),this;}[_0x665fdc(0x12d)](){const _0x27ee74=_0x665fdc;let _0x3eea30=this['_getShapeData']();return _0x3eea30?(0x0,e[_0x27ee74(0x173)])(_0x3eea30):null;}[_0x665fdc(0x1a3)](_0x1508a9){const _0x542135=_0x665fdc;return this[_0x542135(0x1ec)](_0x5066b3=>(0x0,e['applyShapeTextBoxOptions'])(_0x5066b3,_0x1508a9)),this;}['_getAdapter'](){const _0x34c08f=_0x665fdc;return this[_0x34c08f(0x1df)][_0x34c08f(0x186)](e[_0x34c08f(0x1b7)])[_0x34c08f(0x186)](this[_0x34c08f(0x18a)][_0x34c08f(0x1d2)]);}['_getShapeData'](){const _0x1f3d88=_0x665fdc;let _0xa27e56=this['_getAdapter']();if(!_0xa27e56)return null;try{var _0x2c18da;return((_0x2c18da=_0xa27e56[_0x1f3d88(0x16a)](this[_0x1f3d88(0x18a)]))==null?void 0x0:_0x2c18da[_0x1f3d88(0x140)])||(console[_0x1f3d88(0x1f5)](_0x1f3d88(0x15f)+this[_0x1f3d88(0x18a)][_0x1f3d88(0x1d3)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x1f5830){return console['warn']('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x1f3d88(0x18a)][_0x1f3d88(0x1d3)]+'\x22\x20text.',_0x1f5830),null;}}[_0x665fdc(0x1ec)](_0x41a26b){const _0x5f78f=_0x665fdc;let _0x5ca224=this[_0x5f78f(0x1cd)]();if(!_0x5ca224)return!0x1;try{var _0x129c2f;let _0xdd7fb=(_0x129c2f=_0x5ca224[_0x5f78f(0x16a)](this[_0x5f78f(0x18a)]))==null?void 0x0:_0x129c2f[_0x5f78f(0x140)];if(!_0xdd7fb)return console[_0x5f78f(0x1f5)](_0x5f78f(0x15f)+this['_shapeRef'][_0x5f78f(0x1d3)]+'\x22\x20was\x20not\x20found.'),!0x1;let _0xa1ce12=_0x5ca224[_0x5f78f(0x14e)](this[_0x5f78f(0x18a)],{'shapeData':_0x41a26b(_0xdd7fb)});return _0xa1ce12||console[_0x5f78f(0x1f5)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x5f78f(0x18a)][_0x5f78f(0x1d3)]+_0x5f78f(0x143)),_0xa1ce12;}catch(_0x15485a){return console[_0x5f78f(0x1f5)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x5f78f(0x18a)][_0x5f78f(0x1d3)]+'\x22\x20text.',_0x15485a),!0x1;}}},s=class extends t[_0x665fdc(0x189)]{constructor(_0x3569b3,_0x1d8108){const _0x374477=_0x665fdc;super(),this[_0x374477(0x18a)]=_0x3569b3,this[_0x374477(0x1df)]=_0x1d8108;}['isConnectorShape'](){return!0x1;}[_0x665fdc(0x142)](){const _0x5e2c9a=_0x665fdc;return this[_0x5e2c9a(0x18a)][_0x5e2c9a(0x1d3)];}['getName'](){const _0x325ed9=_0x665fdc;var _0x2c46f4;return(_0x2c46f4=this[_0x325ed9(0x13f)]())==null?void 0x0:_0x2c46f4['name'];}[_0x665fdc(0x17f)](_0x17b8d1){const _0x4c30f8=_0x665fdc;return this[_0x4c30f8(0x1e8)]({'name':_0x17b8d1});}[_0x665fdc(0x1e0)](){const _0x5bae36=_0x665fdc;var _0x57c47e;return(_0x57c47e=this['_getSnapshot']())==null?void 0x0:_0x57c47e[_0x5bae36(0x1b6)];}['setDescription'](_0x5421f6){const _0x56acbd=_0x665fdc;return this[_0x56acbd(0x1e8)]({'description':_0x5421f6});}[_0x665fdc(0x174)](){const _0x46ea93=_0x665fdc;return this['_shapeRef'][_0x46ea93(0x1d2)];}['getShapeType'](){const _0x27b86e=_0x665fdc;var _0x163c62,_0x25e786;return(_0x163c62=(_0x25e786=this[_0x27b86e(0x13f)]())==null?void 0x0:_0x25e786[_0x27b86e(0x160)])==null?null:_0x163c62;}['getShapeData'](){const _0x3d3b5e=_0x665fdc;let _0x13b6f8=this[_0x3d3b5e(0x13f)]();return _0x13b6f8?n[_0x3d3b5e(0x17e)][_0x3d3b5e(0x1a1)](_0x13b6f8[_0x3d3b5e(0x140)]):null;}[_0x665fdc(0x195)](){const _0x1a2620=_0x665fdc;let _0x1aae97=this['_getSnapshot']();return _0x1aae97?n[_0x1a2620(0x17e)][_0x1a2620(0x1a1)](_0x1aae97):null;}[_0x665fdc(0x12f)](){const _0x691a7c=_0x665fdc;let _0x399026=this[_0x691a7c(0x13f)]();return _0x399026?{..._0x399026[_0x691a7c(0x1cf)]}:null;}[_0x665fdc(0x15d)](){const _0x4ddb7a=_0x665fdc;var _0x2b8a79,_0x2fbbbe;return(_0x2b8a79=(_0x2fbbbe=this[_0x4ddb7a(0x13f)]())==null?void 0x0:_0x2fbbbe[_0x4ddb7a(0x1d7)])==null?!0x1:_0x2b8a79;}[_0x665fdc(0x132)](_0x4167e7){const _0x8770ea=_0x665fdc;return this[_0x8770ea(0x1e8)]({'visible':_0x4167e7});}['isSelectable'](){const _0x267ed8=_0x665fdc;var _0x3d2c39,_0x1f95ee;return(_0x3d2c39=(_0x1f95ee=this[_0x267ed8(0x13f)]())==null?void 0x0:_0x1f95ee[_0x267ed8(0x196)])==null?!0x1:_0x3d2c39;}[_0x665fdc(0x168)](_0x38c589){const _0x1d6936=_0x665fdc;return this[_0x1d6936(0x1e8)]({'selectable':_0x38c589});}[_0x665fdc(0x176)](){const _0x14b732=_0x665fdc;return this[_0x14b732(0x1df)][_0x14b732(0x1e3)](o,this[_0x14b732(0x18a)],this[_0x14b732(0x1df)]);}[_0x665fdc(0x1d0)](){const _0x34432e=_0x665fdc;let _0x3f4c03=this[_0x34432e(0x144)]();return(_0x3f4c03==null?void 0x0:_0x3f4c03['isCustom'])===!0x0&&!!_0x3f4c03[_0x34432e(0x1cb)];}['getCustomGeometry'](){const _0x45aec5=_0x665fdc;var _0x1ce4c6,_0x1122cc;return(_0x1ce4c6=(_0x1122cc=this[_0x45aec5(0x144)]())==null?void 0x0:_0x1122cc[_0x45aec5(0x1cb)])==null?null:_0x1ce4c6;}['setShapeType'](_0x4cbd6c){return this['_patchShapeData'](_0x182a44=>({..._0x182a44,'shapeType':_0x4cbd6c}),_0x4cbd6c);}[_0x665fdc(0x15c)](_0x47493a){const _0x35c841=_0x665fdc;let _0x51b679=n['Tools'][_0x35c841(0x1a1)](_0x47493a);return this[_0x35c841(0x1e8)]({'shapeType':_0x51b679[_0x35c841(0x160)],'shapeData':_0x51b679});}[_0x665fdc(0x1b0)](_0x9a96a5){const _0x360d3c=_0x665fdc;return this[_0x360d3c(0x1e8)]({'transform':_0x9a96a5});}[_0x665fdc(0x1d4)](_0x167b8b,_0x4df8cc){const _0x4f888c=_0x665fdc;return this[_0x4f888c(0x1b0)]({'width':_0x167b8b,'height':_0x4df8cc});}[_0x665fdc(0x1e2)](_0x48a66e){const _0x73aab2=_0x665fdc;return this[_0x73aab2(0x1b0)]({'rotation':_0x48a66e});}[_0x665fdc(0x1e4)](_0x5f83db,_0x5d7cf4){const _0x5efa76=_0x665fdc;return this[_0x5efa76(0x1b0)]({'left':_0x5f83db,'top':_0x5d7cf4});}[_0x665fdc(0x19f)](_0x44fc17){const _0x52a1c9=_0x665fdc;let _0x1c19f5=n['Tools']['deepClone'](_0x44fc17);return this[_0x52a1c9(0x1f8)](_0x55bf29=>({..._0x55bf29,'isCustom':!0x0,'customGeometry':_0x1c19f5}));}[_0x665fdc(0x184)](){const _0x5c3db1=_0x665fdc;var _0x16d0a6,_0x52adb8;return(_0x16d0a6=(_0x52adb8=this['_getGeometryModel']())==null?void 0x0:_0x52adb8[_0x5c3db1(0x1bd)]()['map'](_0x575af3=>({..._0x575af3})))==null?[]:_0x16d0a6;}[_0x665fdc(0x148)](){const _0x2753cf=_0x665fdc;var _0x5ac225,_0x2b2393;return(_0x5ac225=(_0x2b2393=this[_0x2753cf(0x1ed)]())==null?void 0x0:_0x2b2393[_0x2753cf(0x161)]()[_0x2753cf(0x1f3)](_0x3abbaf=>({..._0x3abbaf})))==null?[]:_0x5ac225;}['getStartConnectInfo'](){const _0x2cc9e7=_0x665fdc;var _0x49e8c1;let _0x101674=(_0x49e8c1=this[_0x2cc9e7(0x1ed)]())==null?void 0x0:_0x49e8c1[_0x2cc9e7(0x199)]();return _0x101674?{..._0x101674}:null;}[_0x665fdc(0x1f7)](){const _0x392965=_0x665fdc;var _0x11dcb8;let _0x3d917d=(_0x11dcb8=this[_0x392965(0x1ed)]())==null?void 0x0:_0x11dcb8[_0x392965(0x1f7)]();return _0x3d917d?{..._0x3d917d}:null;}[_0x665fdc(0x17c)](_0x256b56,_0x3d0db1){const _0xb3834c=_0x665fdc;return this[_0xb3834c(0x1f8)](_0x8808ae=>({..._0x8808ae,'fill':{'fillType':e['ShapeFillEnum'][_0xb3834c(0x1a2)],'color':_0x256b56,'opacity':_0x3d0db1}}));}[_0x665fdc(0x1ab)](_0x1c1f3c,_0x4e8b2e,_0x47475f){const _0x47f8f8=_0x665fdc;return _0x4e8b2e[_0x47f8f8(0x169)]<0x2?(console[_0x47f8f8(0x1f5)](_0x47f8f8(0x147)),this):this['_patchShapeData'](_0x354c9b=>({..._0x354c9b,'fill':{'fillType':e[_0x47f8f8(0x1ad)][_0x47f8f8(0x14b)],'gradientType':_0x1c1f3c,'gradientStops':n[_0x47f8f8(0x17e)]['deepClone'](_0x4e8b2e),'gradientAngle':_0x47475f}}));}['setImageFill'](_0xcebd31,_0x5b3ba9,_0x104876={}){const _0x488315=_0x665fdc;return this['_patchShapeData'](_0x534c46=>({..._0x534c46,'fill':{...n[_0x488315(0x17e)]['deepClone'](_0x104876),'fillType':e[_0x488315(0x1ad)][_0x488315(0x17a)],'fillImageSource':_0xcebd31,'fillImageSourceType':_0x5b3ba9}}));}[_0x665fdc(0x165)](){const _0x2aab41=_0x665fdc;return this[_0x2aab41(0x1f8)](_0x92e209=>({..._0x92e209,'fill':{'fillType':e['ShapeFillEnum']['NoFill']}}));}['setStroke'](_0x26685d){const _0x1de5d4=_0x665fdc;return this[_0x1de5d4(0x1f8)](_0x5ee54c=>({..._0x5ee54c,'stroke':n[_0x1de5d4(0x17e)][_0x1de5d4(0x1a1)](_0x26685d)}));}['setStrokeColor'](_0x2b7c7c){const _0x493361=_0x665fdc;return this[_0x493361(0x15b)](_0x32985f=>({..._0x32985f,'color':_0x2b7c7c,'lineStrokeType':_0x32985f[_0x493361(0x1cc)]===e[_0x493361(0x1e1)][_0x493361(0x16e)]?e['ShapeLineTypeEnum'][_0x493361(0x175)]:_0x32985f[_0x493361(0x1cc)]}));}[_0x665fdc(0x149)](_0x13f6ac){const _0x1a2a73=_0x665fdc;return this[_0x1a2a73(0x15b)](_0x323a7a=>({..._0x323a7a,'width':_0x13f6ac,'lineStrokeType':_0x323a7a['lineStrokeType']===e[_0x1a2a73(0x1e1)][_0x1a2a73(0x16e)]?e['ShapeLineTypeEnum'][_0x1a2a73(0x175)]:_0x323a7a[_0x1a2a73(0x1cc)]}));}['setStrokeOpacity'](_0x402d41){const _0x1ba239=_0x665fdc;return this[_0x1ba239(0x15b)](_0x18187c=>({..._0x18187c,'opacity':_0x402d41}));}['setStrokeLineDashType'](_0x301f96){const _0x5a698c=_0x665fdc;return this[_0x5a698c(0x15b)](_0x2ed3fd=>({..._0x2ed3fd,'dashType':_0x301f96}));}['setStrokeLineJoinType'](_0x3a4bbd){const _0x4875ae=_0x665fdc;return this[_0x4875ae(0x15b)](_0x2d912e=>({..._0x2d912e,'lineJoinType':_0x3a4bbd}));}[_0x665fdc(0x12b)](_0x26c0c8){const _0x27811f=_0x665fdc;return this[_0x27811f(0x15b)](_0x3192e2=>({..._0x3192e2,'capType':_0x26c0c8}));}[_0x665fdc(0x19b)](_0x662443){return this['_patchStroke'](_0x5c0b4a=>({..._0x5c0b4a,'lineStrokeType':_0x662443}));}[_0x665fdc(0x1e8)](_0x5b7ad9){const _0x254aeb=_0x665fdc;var _0x470af5,_0x551426,_0x193436;let _0x3bbdaf=_0x5b7ad9[_0x254aeb(0x140)],_0x9ac357=_0x3bbdaf&&(_0x254aeb(0x1a6)in _0x3bbdaf||'points'in _0x3bbdaf)?this['getShapeType']():null,_0x5c865d=(_0x470af5=(_0x551426=_0x5b7ad9[_0x254aeb(0x160)])==null?(_0x193436=_0x5b7ad9['shapeData'])==null?void 0x0:_0x193436['shapeType']:_0x551426)==null?_0x9ac357:_0x470af5,_0x1e319c=c(_0x5b7ad9,_0x5c865d!==null&&(0x0,e[_0x254aeb(0x1af)])(_0x5c865d));return _0x1e319c?(console[_0x254aeb(0x1f5)](_0x254aeb(0x163)+_0x1e319c),this):(this[_0x254aeb(0x139)](_0x254aeb(0x1e8),_0x391cc2=>_0x391cc2[_0x254aeb(0x14e)](this[_0x254aeb(0x18a)],_0x5b7ad9)),this);}[_0x665fdc(0x194)](){const _0xa0d2c7=_0x665fdc;return this['_mutate'](_0xa0d2c7(0x194),_0x3e72bd=>_0x3e72bd[_0xa0d2c7(0x1d8)](this[_0xa0d2c7(0x18a)]));}[_0x665fdc(0x136)](){const _0x3d6f09=_0x665fdc;return this[_0x3d6f09(0x139)](_0x3d6f09(0x1db),_0xb9d822=>_0xb9d822[_0x3d6f09(0x136)](this[_0x3d6f09(0x18a)])),this;}['bringForward'](){const _0x276f82=_0x665fdc;return this['_mutate'](_0x276f82(0x19c),_0x5d6d0e=>_0x5d6d0e[_0x276f82(0x153)](this[_0x276f82(0x18a)])),this;}[_0x665fdc(0x15e)](){const _0x1c62b8=_0x665fdc;return this[_0x1c62b8(0x139)](_0x1c62b8(0x1d6),_0x22dab2=>_0x22dab2[_0x1c62b8(0x15e)](this[_0x1c62b8(0x18a)])),this;}[_0x665fdc(0x1a4)](){const _0x3590ac=_0x665fdc;return this['_mutate']('send\x20to\x20back',_0xfe5c57=>_0xfe5c57[_0x3590ac(0x1a4)](this[_0x3590ac(0x18a)])),this;}['_getAdapter'](){const _0x28ec07=_0x665fdc;return this[_0x28ec07(0x1df)][_0x28ec07(0x186)](e[_0x28ec07(0x1b7)])['get'](this[_0x28ec07(0x18a)]['hostType']);}[_0x665fdc(0x1f8)](_0x1b8a25,_0x21dbac){const _0x10fb4f=_0x665fdc;let _0x22a8a7=this['getShapeData']();return _0x22a8a7?this[_0x10fb4f(0x1e8)]({'shapeType':_0x21dbac,'shapeData':_0x1b8a25(_0x22a8a7)}):this;}[_0x665fdc(0x15b)](_0xe08212){const _0x2401cf=_0x665fdc;return this[_0x2401cf(0x1f8)](_0x2302e8=>{var _0x4f078c;return{..._0x2302e8,'stroke':_0xe08212((_0x4f078c=_0x2302e8['stroke'])==null?{}:_0x4f078c)};});}[_0x665fdc(0x13f)](){const _0x4c6ee5=_0x665fdc;let _0x44465b=this['_getAdapter']();if(!_0x44465b)return null;try{return _0x44465b['getShape'](this[_0x4c6ee5(0x18a)])||(console[_0x4c6ee5(0x1f5)](_0x4c6ee5(0x19d)+this[_0x4c6ee5(0x18a)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x46b01d){return console[_0x4c6ee5(0x1f5)](_0x4c6ee5(0x141)+this[_0x4c6ee5(0x18a)][_0x4c6ee5(0x1d3)]+'\x22.',_0x46b01d),null;}}[_0x665fdc(0x1ed)](){const _0x583b30=_0x665fdc;let _0x299a75=this[_0x583b30(0x13f)]();if(!_0x299a75)return null;try{let _0x231310=new e[(_0x583b30(0x1de))](_0x299a75[_0x583b30(0x160)],_0x299a75[_0x583b30(0x1d3)],_0x299a75[_0x583b30(0x140)]);return _0x231310['updateContext']({'width':_0x299a75[_0x583b30(0x1cf)][_0x583b30(0x1c9)],'height':_0x299a75[_0x583b30(0x1cf)][_0x583b30(0x188)]}),_0x231310;}catch(_0x44b95e){return console['warn'](_0x583b30(0x187)+this[_0x583b30(0x18a)][_0x583b30(0x1d3)]+'\x22.',_0x44b95e),null;}}[_0x665fdc(0x139)](_0x341aa8,_0x570789){const _0xbf83d8=_0x665fdc;let _0x51587c=this['_getAdapter']();if(!_0x51587c)return!0x1;try{let _0x1555c5=_0x570789(_0x51587c);return _0x1555c5||console[_0xbf83d8(0x1f5)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x341aa8+_0xbf83d8(0x18d)+this['_shapeRef'][_0xbf83d8(0x1d3)]+'\x22.'),_0x1555c5;}catch(_0x5685bb){return console[_0xbf83d8(0x1f5)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x341aa8+_0xbf83d8(0x18d)+this['_shapeRef']['shapeId']+'\x22.',_0x5685bb),!0x1;}}};function c(_0x41a610,_0x3d6f7e=!0x1){const _0x5d1a5e=_0x665fdc;for(let _0x1aae1e of[_0x5d1a5e(0x1d7),_0x5d1a5e(0x196)]){let _0x5b6002=_0x41a610[_0x1aae1e];if(_0x5b6002!==void 0x0&&typeof _0x5b6002!=_0x5d1a5e(0x1e5))return'Shape\x20\x22'+_0x1aae1e+_0x5d1a5e(0x197);}let _0xae4d19=_0x41a610[_0x5d1a5e(0x1cf)];if(_0xae4d19){for(let _0x5e82d9 of['left',_0x5d1a5e(0x1a8),'width',_0x5d1a5e(0x188),_0x5d1a5e(0x1f2)]){let _0x12f53d=_0xae4d19[_0x5e82d9];if(_0x12f53d!==void 0x0&&!Number[_0x5d1a5e(0x1b9)](_0x12f53d))return'Shape\x20transform\x20\x22'+_0x5e82d9+_0x5d1a5e(0x1d1);}if(_0xae4d19[_0x5d1a5e(0x1c9)]!==void 0x0&&_0xae4d19[_0x5d1a5e(0x1c9)]<=0x0)return _0x5d1a5e(0x180);if(_0xae4d19[_0x5d1a5e(0x188)]!==void 0x0&&_0xae4d19['height']<=0x0)return _0x5d1a5e(0x152);for(let _0x17f146 of['flipX',_0x5d1a5e(0x191)]){let _0x2c2ea2=_0xae4d19[_0x17f146];if(_0x2c2ea2!==void 0x0&&typeof _0x2c2ea2!='boolean')return'Shape\x20transform\x20\x22'+_0x17f146+_0x5d1a5e(0x197);}}let _0x3f113e=_0x41a610[_0x5d1a5e(0x140)];return!_0x3d6f7e&&_0x3f113e&&('relation'in _0x3f113e||'points'in _0x3f113e)?_0x5d1a5e(0x156):null;}var l=class extends s{['isConnectorShape'](){return!0x0;}[_0x665fdc(0x128)](){const _0x44985f=_0x665fdc;let _0x1a52d9=this[_0x44985f(0x15a)]();return _0x1a52d9?n['Tools'][_0x44985f(0x1a1)](_0x1a52d9[_0x44985f(0x129)]):null;}[_0x665fdc(0x1a9)](){const _0x30d4ec=_0x665fdc;let _0xed82d8=this[_0x30d4ec(0x15a)]();return _0xed82d8?n['Tools']['deepClone'](_0xed82d8[_0x30d4ec(0x1ef)]):null;}[_0x665fdc(0x1f9)](){const _0x162108=_0x665fdc;let _0x22d68f=this[_0x162108(0x15a)]();return _0x22d68f?n['Tools'][_0x162108(0x1a1)](_0x22d68f[_0x162108(0x130)]):null;}['getStartArrow'](){const _0x30cd6d=_0x665fdc;let _0x738490=this[_0x30cd6d(0x15a)]();return _0x738490?n[_0x30cd6d(0x17e)][_0x30cd6d(0x1a1)](_0x738490[_0x30cd6d(0x157)]):null;}['getEndArrow'](){const _0x4747ed=_0x665fdc;let _0x91956d=this[_0x4747ed(0x15a)]();return _0x91956d?n[_0x4747ed(0x17e)][_0x4747ed(0x1a1)](_0x91956d['endArrow']):null;}[_0x665fdc(0x16b)](_0xd8ed4){const _0x19b7c6=_0x665fdc;return(0x0,e['isConnectorShape'])(_0xd8ed4)?super[_0x19b7c6(0x16b)](_0xd8ed4):(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x19b7c6(0x18a)]['shapeId']+_0x19b7c6(0x18e)),this);}['setShapeData'](_0x9a72e){const _0x55340a=_0x665fdc;return _0x9a72e[_0x55340a(0x160)]!==void 0x0&&!(0x0,e['isConnectorShape'])(_0x9a72e[_0x55340a(0x160)])?(console[_0x55340a(0x1f5)](_0x55340a(0x146)+this[_0x55340a(0x18a)][_0x55340a(0x1d3)]+_0x55340a(0x167)),this):super[_0x55340a(0x15c)](_0x9a72e);}['bindStart'](_0x136318,_0x101a7c){const _0x4760ae=_0x665fdc;return this['_bind'](_0x4760ae(0x129),_0x136318,_0x101a7c),this;}['bindEnd'](_0x4a6899,_0x4313c6){const _0x59e3ec=_0x665fdc;return this[_0x59e3ec(0x1b5)](_0x59e3ec(0x1ef),_0x4a6899,_0x4313c6),this;}['unbindStart'](){const _0x54d74d=_0x665fdc;return this['_mutateConnector'](_0x54d74d(0x13d),_0x3f71cf=>_0x3f71cf[_0x54d74d(0x155)](this[_0x54d74d(0x18a)])),this;}['unbindEnd'](){const _0x49123b=_0x665fdc;return this[_0x49123b(0x150)](_0x49123b(0x170),_0x377227=>_0x377227[_0x49123b(0x1c3)](this[_0x49123b(0x18a)])),this;}['setStartPoint'](_0x4952df){const _0x3e5297=_0x665fdc;return u(_0x4952df,this[_0x3e5297(0x18a)]['shapeId'])&&this['_mutateConnector'](_0x3e5297(0x1a7),_0x1edc61=>_0x1edc61[_0x3e5297(0x1ac)](this[_0x3e5297(0x18a)],_0x4952df)),this;}[_0x665fdc(0x12a)](_0x4cfc17){const _0xc39510=_0x665fdc;return u(_0x4cfc17,this['_shapeRef'][_0xc39510(0x1d3)])&&this[_0xc39510(0x150)](_0xc39510(0x1c2),_0x1c9c85=>_0x1c9c85['setEndPoint'](this['_shapeRef'],_0x4cfc17)),this;}[_0x665fdc(0x1dc)](_0x183031){const _0x21c998=_0x665fdc;return _0x183031[_0x21c998(0x17d)](_0x2c17fd=>u(_0x2c17fd,this['_shapeRef'][_0x21c998(0x1d3)]))&&this[_0x21c998(0x150)](_0x21c998(0x151),_0x59991d=>_0x59991d[_0x21c998(0x1dc)](this[_0x21c998(0x18a)],_0x183031)),this;}['setStartArrow'](_0x29913e,_0x5a5e92){const _0x213afb=_0x665fdc;return this[_0x213afb(0x150)]('set\x20start\x20arrow',_0x24a559=>_0x24a559[_0x213afb(0x1ba)](this[_0x213afb(0x18a)],_0x29913e,_0x5a5e92)),this;}[_0x665fdc(0x19e)](_0x33901e,_0x5ad24d){const _0x56de98=_0x665fdc;return this[_0x56de98(0x150)](_0x56de98(0x137),_0x55024f=>_0x55024f[_0x56de98(0x19e)](this[_0x56de98(0x18a)],_0x33901e,_0x5ad24d)),this;}['_getConnectorAdapter'](){const _0x35a2e3=_0x665fdc;return this[_0x35a2e3(0x1df)][_0x35a2e3(0x186)](e[_0x35a2e3(0x18f)]);}[_0x665fdc(0x15a)](){const _0x30118d=_0x665fdc;let _0x83c9a6=this[_0x30118d(0x145)]();if(!_0x83c9a6)return null;try{return _0x83c9a6['getConnector'](this[_0x30118d(0x18a)])||(console[_0x30118d(0x1f5)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x30118d(0x18a)][_0x30118d(0x1d3)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x13cebf){return console[_0x30118d(0x1f5)](_0x30118d(0x13a)+this[_0x30118d(0x18a)]['shapeId']+'\x22.',_0x13cebf),null;}}[_0x665fdc(0x1b5)](_0x347536,_0x37533b,_0x2c4139){const _0x4f246b=_0x665fdc;if(!_0x37533b||!Number[_0x4f246b(0x198)](_0x2c4139)||_0x2c4139<0x0)return console[_0x4f246b(0x1f5)](_0x4f246b(0x18c)+this[_0x4f246b(0x18a)][_0x4f246b(0x1d3)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x3cb5ea={'shapeId':_0x37533b,'cxnIndex':_0x2c4139};return this[_0x4f246b(0x150)]('bind\x20'+_0x347536,_0x4f97f9=>_0x347536===_0x4f246b(0x129)?_0x4f97f9[_0x4f246b(0x1ea)](this[_0x4f246b(0x18a)],_0x3cb5ea):_0x4f97f9[_0x4f246b(0x18b)](this[_0x4f246b(0x18a)],_0x3cb5ea));}[_0x665fdc(0x150)](_0x3964e,_0xc3efac){const _0x2c44be=_0x665fdc;let _0x563a35=this[_0x2c44be(0x145)]();if(!_0x563a35)return!0x1;try{let _0x4865f5=_0xc3efac(_0x563a35);return _0x4865f5||console[_0x2c44be(0x1f5)](_0x2c44be(0x183)+_0x3964e+_0x2c44be(0x1c0)+this[_0x2c44be(0x18a)][_0x2c44be(0x1d3)]+'\x22.'),_0x4865f5;}catch(_0x4ab440){return console[_0x2c44be(0x1f5)](_0x2c44be(0x183)+_0x3964e+_0x2c44be(0x1c0)+this['_shapeRef'][_0x2c44be(0x1d3)]+'\x22.',_0x4ab440),!0x1;}}};function u(_0x3b0909,_0x4a9a95){const _0x547a8a=_0x665fdc;return!Number[_0x547a8a(0x1b9)](_0x3b0909['x'])||!Number[_0x547a8a(0x1b9)](_0x3b0909['y'])?(console['warn'](_0x547a8a(0x18c)+_0x4a9a95+_0x547a8a(0x1eb)),!0x1):!0x0;}exports[_0x665fdc(0x14a)]=l,exports[_0x665fdc(0x13c)]=s,exports[_0x665fdc(0x1a5)]=o;
|
|
1
|
+
const _0x5b147c=_0x5cb5;(function(_0x3ff251,_0x71d267){const _0x1646b9=_0x5cb5,_0x173e55=_0x3ff251();while(!![]){try{const _0x216a02=-parseInt(_0x1646b9(0x1db))/0x1*(parseInt(_0x1646b9(0x1f0))/0x2)+parseInt(_0x1646b9(0x1fc))/0x3*(parseInt(_0x1646b9(0x223))/0x4)+-parseInt(_0x1646b9(0x230))/0x5+-parseInt(_0x1646b9(0x1a1))/0x6*(-parseInt(_0x1646b9(0x216))/0x7)+-parseInt(_0x1646b9(0x17e))/0x8*(parseInt(_0x1646b9(0x167))/0x9)+parseInt(_0x1646b9(0x209))/0xa*(parseInt(_0x1646b9(0x188))/0xb)+parseInt(_0x1646b9(0x201))/0xc;if(_0x216a02===_0x71d267)break;else _0x173e55['push'](_0x173e55['shift']());}catch(_0x606ec2){_0x173e55['push'](_0x173e55['shift']());}}}(_0x2159,0x7af90),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5b147c(0x181)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x5b147c(0x22a)]{get[_0x5b147c(0x1a3)](){const _0x3e22b9=_0x5b147c;return e[_0x3e22b9(0x1a3)];}get['ShapeFillEnum'](){const _0x327c0e=_0x5b147c;return e[_0x327c0e(0x1c8)];}get[_0x5b147c(0x1ac)](){const _0x269f61=_0x5b147c;return e[_0x269f61(0x1ac)];}get[_0x5b147c(0x228)](){return e['ImageFillModeEnum'];}get[_0x5b147c(0x1ab)](){const _0x25a11b=_0x5b147c;return e[_0x25a11b(0x17b)];}get['ShapeLineTypeEnum'](){const _0x328e90=_0x5b147c;return e[_0x328e90(0x233)];}get['ShapeLineDashEnum'](){return e['ShapeLineDashEnum'];}get[_0x5b147c(0x22b)](){const _0x4f1657=_0x5b147c;return e[_0x4f1657(0x22b)];}get[_0x5b147c(0x1b7)](){const _0x5f1439=_0x5b147c;return e[_0x5f1439(0x1b7)];}get[_0x5b147c(0x1a9)](){return e['ShapeOperatorEnum'];}get[_0x5b147c(0x15c)](){return e['ShapeArrowTypeEnum'];}get[_0x5b147c(0x182)](){return e['ShapeArrowSizeEnum'];}get['ShapeTextAutoFitType'](){const _0x319f23=_0x5b147c;return e[_0x319f23(0x1dd)];}get[_0x5b147c(0x1f7)](){const _0x36effe=_0x5b147c;return e[_0x36effe(0x1f7)];}get[_0x5b147c(0x1bd)](){const _0x146630=_0x5b147c;return e[_0x146630(0x1bd)];}};t['FEnum'][_0x5b147c(0x17d)](r);function i(_0x79143f){const _0x57760e=_0x5b147c;switch(_0x79143f){case e[_0x57760e(0x1ac)][_0x57760e(0x16e)]:return _0x57760e(0x1eb);case e[_0x57760e(0x1ac)][_0x57760e(0x22d)]:return _0x57760e(0x1f9);case e[_0x57760e(0x1ac)][_0x57760e(0x192)]:return'diamond';case e[_0x57760e(0x1ac)][_0x57760e(0x1a4)]:default:return'linear';}}function a(_0x1f6359){const _0x55d844=_0x5b147c;return _0x1f6359===e['ImageFillModeEnum'][_0x55d844(0x1ae)]?_0x55d844(0x1b2):'stretch';}var o=class{constructor(_0x5b543a,_0x3447c5){const _0x48fe42=_0x5b147c;this[_0x48fe42(0x1e0)]=_0x5b543a,this[_0x48fe42(0x179)]=_0x3447c5;}[_0x5b147c(0x178)](){const _0x1a7b19=_0x5b147c;var _0x1a11ff;return(0x0,e[_0x1a7b19(0x1e6)])((_0x1a11ff=this[_0x1a7b19(0x160)]())==null?void 0x0:_0x1a11ff[_0x1a7b19(0x176)]);}[_0x5b147c(0x1d6)](){var _0x1325a6,_0x209716;return(_0x1325a6=(_0x209716=this['getRichText']())==null?void 0x0:_0x209716['toPlainText']())==null?null:_0x1325a6;}[_0x5b147c(0x1f1)](_0x39f163){const _0x573304=_0x5b147c;return this[_0x573304(0x18c)](_0x212993=>({..._0x212993,'shapeText':(0x0,e[_0x573304(0x21c)])(_0x212993[_0x573304(0x176)],_0x39f163)})),this;}[_0x5b147c(0x219)](_0x137859){const _0x44a50e=_0x5b147c;return this[_0x44a50e(0x18c)](_0x35f22c=>({..._0x35f22c,'shapeText':(0x0,e['applyTextToShapeText'])(_0x35f22c[_0x44a50e(0x176)],_0x137859)})),this;}['setTextStyle'](_0x32e393){const _0x10edc6=_0x5b147c;return this[_0x10edc6(0x18c)](_0x29e73b=>({..._0x29e73b,'shapeText':(0x0,e[_0x10edc6(0x222)])(_0x29e73b['shapeText'],_0x32e393)})),this;}['setColor'](_0x2708b4,_0x230b89){const _0x2ff597=_0x5b147c;return this[_0x2ff597(0x1c1)]({'cl':{'rgb':_0x2708b4},'textFill':{'type':_0x2ff597(0x19d),'color':_0x2708b4,'opacity':_0x230b89}});}[_0x5b147c(0x1d2)](){const _0x258f83=_0x5b147c;return this[_0x258f83(0x1c1)]({'cl':{'rgb':_0x258f83(0x174)},'textFill':{'type':_0x258f83(0x1b4)}});}[_0x5b147c(0x218)](_0x5915d0,_0x8c358f,_0x297be3){const _0x28a371=_0x5b147c;return _0x8c358f[_0x28a371(0x1f2)]<0x2?(console['warn'](_0x28a371(0x1ef)),this):this[_0x28a371(0x1c1)]({'cl':{'rgb':_0x8c358f[0x0][_0x28a371(0x1e5)]},'textFill':{'type':_0x28a371(0x1d9),'gradient':{'type':i(_0x5915d0),'angle':_0x297be3,'stops':_0x8c358f['map'](({position:_0x2bde65,color:_0x342706,opacity:_0xb5785d})=>({'offset':_0x2bde65,'color':_0x342706,'opacity':_0xb5785d}))}}});}[_0x5b147c(0x199)](_0x388517,_0x3985c5=e['ImageSourceTypeEnum'][_0x5b147c(0x185)],_0x86c79={}){const _0x28efd3=_0x5b147c;return this[_0x28efd3(0x1c1)]({'textFill':{'type':_0x28efd3(0x200),'picture':{'source':_0x388517,'sourceType':_0x3985c5,'opacity':_0x86c79[_0x28efd3(0x1a0)],'mode':a(_0x86c79[_0x28efd3(0x196)]),'scaleX':_0x86c79[_0x28efd3(0x1d5)],'scaleY':_0x86c79[_0x28efd3(0x1a7)],'offsetX':_0x86c79[_0x28efd3(0x221)],'offsetY':_0x86c79[_0x28efd3(0x1fa)]}}});}[_0x5b147c(0x1bc)](_0x1bff76){return this['setTextStyle']({'fs':_0x1bff76});}[_0x5b147c(0x204)](_0x4bce22){return this['setTextStyle']({'ff':_0x4bce22});}['setBold'](_0x922c0d){const _0x4fd5b5=_0x5b147c;return this['setTextStyle']({'bl':_0x922c0d?n['BooleanNumber'][_0x4fd5b5(0x168)]:n[_0x4fd5b5(0x162)]['FALSE']});}['setItalic'](_0x3638dd){const _0x3ebe37=_0x5b147c;return this[_0x3ebe37(0x1c1)]({'it':_0x3638dd?n[_0x3ebe37(0x162)][_0x3ebe37(0x168)]:n[_0x3ebe37(0x162)][_0x3ebe37(0x1c9)]});}[_0x5b147c(0x1cb)](_0x1f244e){const _0x22bcc4=_0x5b147c;return this[_0x22bcc4(0x1c1)]({'ul':{'s':_0x1f244e?n['BooleanNumber']['TRUE']:n[_0x22bcc4(0x162)][_0x22bcc4(0x1c9)]}});}[_0x5b147c(0x171)](_0xb54c6a){const _0x54de4b=_0x5b147c;return this[_0x54de4b(0x1c1)]({'st':{'s':_0xb54c6a?n['BooleanNumber']['TRUE']:n[_0x54de4b(0x162)][_0x54de4b(0x1c9)]}});}['setHorizontalAlign'](_0x6bad95){const _0x23bdfe=_0x5b147c;return this['_updateShapeData'](_0x3018db=>(0x0,e[_0x23bdfe(0x18a)])(_0x3018db,{'horizontalAlign':_0x6bad95})),this;}[_0x5b147c(0x21f)](_0x35f7d2){const _0x308a43=_0x5b147c;return this['_updateShapeData'](_0x1befa6=>(0x0,e[_0x308a43(0x18a)])(_0x1befa6,{'verticalAlign':_0x35f7d2})),this;}[_0x5b147c(0x1c5)](){const _0x54a8a1=_0x5b147c;let _0x3ae657=this['_getShapeData']();return _0x3ae657?(0x0,e[_0x54a8a1(0x1c2)])(_0x3ae657):null;}['setTextBoxOptions'](_0x3cc3d1){const _0xb565bf=_0x5b147c;return this[_0xb565bf(0x18c)](_0x486e25=>(0x0,e[_0xb565bf(0x190)])(_0x486e25,_0x3cc3d1)),this;}[_0x5b147c(0x191)](){const _0x341dac=_0x5b147c;return this[_0x341dac(0x179)]['get'](e['IShapeHostAdapterRegistry'])[_0x341dac(0x22e)](this[_0x341dac(0x1e0)][_0x341dac(0x1b6)]);}[_0x5b147c(0x160)](){const _0x74e654=_0x5b147c;let _0x10cf90=this[_0x74e654(0x191)]();if(!_0x10cf90)return null;try{var _0x503c3b;return((_0x503c3b=_0x10cf90[_0x74e654(0x202)](this[_0x74e654(0x1e0)]))==null?void 0x0:_0x503c3b['shapeData'])||(console['warn'](_0x74e654(0x17c)+this[_0x74e654(0x1e0)]['shapeId']+_0x74e654(0x15f)),null);}catch(_0x2d4e66){return console[_0x74e654(0x161)](_0x74e654(0x1d8)+this['_shapeRef'][_0x74e654(0x1e9)]+_0x74e654(0x18e),_0x2d4e66),null;}}['_updateShapeData'](_0x7c1f0a){const _0x1cffcd=_0x5b147c;let _0x4455fd=this['_getAdapter']();if(!_0x4455fd)return!0x1;try{var _0x53a014;let _0x3fea57=(_0x53a014=_0x4455fd[_0x1cffcd(0x202)](this[_0x1cffcd(0x1e0)]))==null?void 0x0:_0x53a014[_0x1cffcd(0x15e)];if(!_0x3fea57)return console['warn']('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x1cffcd(0x1e0)]['shapeId']+_0x1cffcd(0x15f)),!0x1;let _0x11d46a=_0x4455fd[_0x1cffcd(0x208)](this[_0x1cffcd(0x1e0)],{'shapeData':_0x7c1f0a(_0x3fea57)});return _0x11d46a||console[_0x1cffcd(0x161)](_0x1cffcd(0x21e)+this[_0x1cffcd(0x1e0)][_0x1cffcd(0x1e9)]+_0x1cffcd(0x18e)),_0x11d46a;}catch(_0x117b57){return console[_0x1cffcd(0x161)](_0x1cffcd(0x21e)+this[_0x1cffcd(0x1e0)][_0x1cffcd(0x1e9)]+_0x1cffcd(0x18e),_0x117b57),!0x1;}}},s=class extends t['FBase']{constructor(_0x3d84cd,_0x41f109){const _0xcc33f4=_0x5b147c;super(),this[_0xcc33f4(0x1e0)]=_0x3d84cd,this[_0xcc33f4(0x179)]=_0x41f109;}['isConnectorShape'](){return!0x1;}[_0x5b147c(0x1f6)](){const _0x3c4785=_0x5b147c;return this['_shapeRef'][_0x3c4785(0x1e9)];}[_0x5b147c(0x1ca)](){const _0x76eedf=_0x5b147c;var _0x533ceb;return(_0x533ceb=this[_0x76eedf(0x1ed)]())==null?void 0x0:_0x533ceb[_0x76eedf(0x1a8)];}['setName'](_0x13ae83){const _0x33d7b3=_0x5b147c;return this[_0x33d7b3(0x1fe)]({'name':_0x13ae83});}[_0x5b147c(0x226)](){const _0x1484ea=_0x5b147c;var _0x4b2706;return(_0x4b2706=this[_0x1484ea(0x1ed)]())==null?void 0x0:_0x4b2706['description'];}[_0x5b147c(0x18b)](_0x375a04){const _0x3659b7=_0x5b147c;return this[_0x3659b7(0x1fe)]({'description':_0x375a04});}[_0x5b147c(0x1b1)](){const _0xca16f4=_0x5b147c;return this[_0xca16f4(0x1e0)]['hostType'];}['getShapeType'](){const _0x32f196=_0x5b147c;var _0x3cb3e2,_0x2227f4;return(_0x3cb3e2=(_0x2227f4=this['_getSnapshot']())==null?void 0x0:_0x2227f4[_0x32f196(0x1c0)])==null?null:_0x3cb3e2;}[_0x5b147c(0x177)](){const _0x1b4793=_0x5b147c;let _0x22ca42=this[_0x1b4793(0x1ed)]();return _0x22ca42?n['Tools'][_0x1b4793(0x17a)](_0x22ca42[_0x1b4793(0x15e)]):null;}[_0x5b147c(0x1e7)](){const _0x3b44f3=_0x5b147c;let _0x3f6706=this[_0x3b44f3(0x1ed)]();return _0x3f6706?n['Tools'][_0x3b44f3(0x17a)](_0x3f6706):null;}['getTransform'](){const _0x4a59f5=_0x5b147c;let _0x32fe6e=this[_0x4a59f5(0x1ed)]();return _0x32fe6e?{..._0x32fe6e[_0x4a59f5(0x180)]}:null;}[_0x5b147c(0x16f)](){const _0x5aa750=_0x5b147c;var _0x4eac5b,_0x23176c;return(_0x4eac5b=(_0x23176c=this[_0x5aa750(0x1ed)]())==null?void 0x0:_0x23176c['visible'])==null?!0x1:_0x4eac5b;}[_0x5b147c(0x1a5)](_0x473c4a){const _0x4c7e1e=_0x5b147c;return this[_0x4c7e1e(0x1fe)]({'visible':_0x473c4a});}[_0x5b147c(0x1b5)](){const _0xd0a163=_0x5b147c;var _0x37b283,_0x2d5ae2;return(_0x37b283=(_0x2d5ae2=this[_0xd0a163(0x1ed)]())==null?void 0x0:_0x2d5ae2[_0xd0a163(0x187)])==null?!0x1:_0x37b283;}[_0x5b147c(0x1a6)](_0x43ab3f){return this['update']({'selectable':_0x43ab3f});}[_0x5b147c(0x1ba)](){const _0x13b28d=_0x5b147c;return this[_0x13b28d(0x179)][_0x13b28d(0x205)](o,this[_0x13b28d(0x1e0)],this[_0x13b28d(0x179)]);}[_0x5b147c(0x1c7)](){const _0x2d5ddc=_0x5b147c;let _0x2541e9=this[_0x2d5ddc(0x177)]();return(_0x2541e9==null?void 0x0:_0x2541e9[_0x2d5ddc(0x207)])===!0x0&&!!_0x2541e9['customGeometry'];}[_0x5b147c(0x16a)](){const _0x26e8c4=_0x5b147c;var _0x4d61d6,_0x4b1ce4;return(_0x4d61d6=(_0x4b1ce4=this['getShapeData']())==null?void 0x0:_0x4b1ce4[_0x26e8c4(0x1e1)])==null?null:_0x4d61d6;}[_0x5b147c(0x1e8)](_0x53cdfe){const _0x42d1f5=_0x5b147c;return this[_0x42d1f5(0x211)](_0x3d4858=>({..._0x3d4858,'shapeType':_0x53cdfe}),_0x53cdfe);}[_0x5b147c(0x1be)](_0x1288e4){const _0x5b3ac7=_0x5b147c;let _0x1401f3=n[_0x5b3ac7(0x16c)]['deepClone'](_0x1288e4);return this[_0x5b3ac7(0x1fe)]({'shapeType':_0x1401f3[_0x5b3ac7(0x1c0)],'shapeData':_0x1401f3});}[_0x5b147c(0x16b)](_0x57e149){const _0x1aad63=_0x5b147c;return this[_0x1aad63(0x1fe)]({'transform':_0x57e149});}[_0x5b147c(0x165)](_0x4135be,_0xeabc05){return this['setTransform']({'width':_0x4135be,'height':_0xeabc05});}[_0x5b147c(0x1c3)](_0x35883a){return this['setTransform']({'rotation':_0x35883a});}[_0x5b147c(0x229)](_0x20dbb8,_0x25b8c5){const _0x35d987=_0x5b147c;return this[_0x35d987(0x16b)]({'left':_0x20dbb8,'top':_0x25b8c5});}[_0x5b147c(0x22f)](_0x20e30c){const _0x4479e6=_0x5b147c;let _0x42918c=n[_0x4479e6(0x16c)][_0x4479e6(0x17a)](_0x20e30c);return this[_0x4479e6(0x211)](_0x52dd29=>({..._0x52dd29,'isCustom':!0x0,'customGeometry':_0x42918c}));}['getConnectionSites'](){const _0x4cb78=_0x5b147c;var _0xa82791,_0x2c9755;return(_0xa82791=(_0x2c9755=this[_0x4cb78(0x1bf)]())==null?void 0x0:_0x2c9755['getConnectionSiteList']()[_0x4cb78(0x172)](_0x861e62=>({..._0x861e62})))==null?[]:_0xa82791;}['getAdjustPoints'](){const _0x2043d1=_0x5b147c;var _0x38a650,_0x5ef3d3;return(_0x38a650=(_0x5ef3d3=this[_0x2043d1(0x1bf)]())==null?void 0x0:_0x5ef3d3[_0x2043d1(0x193)]()[_0x2043d1(0x172)](_0x78734f=>({..._0x78734f})))==null?[]:_0x38a650;}['getStartConnectInfo'](){const _0xa3154e=_0x5b147c;var _0x1b29d8;let _0x23e3d8=(_0x1b29d8=this['_getGeometryModel']())==null?void 0x0:_0x1b29d8[_0xa3154e(0x212)]();return _0x23e3d8?{..._0x23e3d8}:null;}[_0x5b147c(0x1dc)](){const _0xa54e5=_0x5b147c;var _0x1128e6;let _0x5b68e9=(_0x1128e6=this[_0xa54e5(0x1bf)]())==null?void 0x0:_0x1128e6[_0xa54e5(0x1dc)]();return _0x5b68e9?{..._0x5b68e9}:null;}[_0x5b147c(0x1ee)](_0x1d13e1,_0x13b3a6){const _0xbe142e=_0x5b147c;return this[_0xbe142e(0x211)](_0x47a6d3=>({..._0x47a6d3,'fill':{'fillType':e[_0xbe142e(0x1c8)][_0xbe142e(0x21a)],'color':_0x1d13e1,'opacity':_0x13b3a6}}));}[_0x5b147c(0x218)](_0x29cdcc,_0x24cb18,_0x1f9856){const _0xb24ade=_0x5b147c;return _0x24cb18['length']<0x2?(console[_0xb24ade(0x161)](_0xb24ade(0x214)),this):this[_0xb24ade(0x211)](_0x17c4c5=>({..._0x17c4c5,'fill':{'fillType':e[_0xb24ade(0x1c8)]['GradientFill'],'gradientType':_0x29cdcc,'gradientStops':n['Tools']['deepClone'](_0x24cb18),'gradientAngle':_0x1f9856}}));}['setImageFill'](_0x3d7f33,_0x2be368,_0x33b599={}){const _0x15c57f=_0x5b147c;return this[_0x15c57f(0x211)](_0x403d91=>({..._0x403d91,'fill':{...n[_0x15c57f(0x16c)][_0x15c57f(0x17a)](_0x33b599),'fillType':e[_0x15c57f(0x1c8)][_0x15c57f(0x1bb)],'fillImageSource':_0x3d7f33,'fillImageSourceType':_0x2be368}}));}[_0x5b147c(0x1d2)](){const _0x2d3c65=_0x5b147c;return this[_0x2d3c65(0x211)](_0x38467b=>({..._0x38467b,'fill':{'fillType':e[_0x2d3c65(0x1c8)]['NoFill']}}));}['setStroke'](_0x555da6){const _0x578efe=_0x5b147c;return this[_0x578efe(0x211)](_0x1403dc=>({..._0x1403dc,'stroke':n['Tools']['deepClone'](_0x555da6)}));}['setStrokeColor'](_0x32329c){const _0x1f7887=_0x5b147c;return this[_0x1f7887(0x1e4)](_0x561cb2=>({..._0x561cb2,'color':_0x32329c,'lineStrokeType':_0x561cb2[_0x1f7887(0x197)]===e[_0x1f7887(0x233)][_0x1f7887(0x194)]?e[_0x1f7887(0x233)][_0x1f7887(0x18f)]:_0x561cb2[_0x1f7887(0x197)]}));}[_0x5b147c(0x1af)](_0x3503b2){const _0x13a7b1=_0x5b147c;return this[_0x13a7b1(0x1e4)](_0x7606e=>({..._0x7606e,'width':_0x3503b2,'lineStrokeType':_0x7606e[_0x13a7b1(0x197)]===e['ShapeLineTypeEnum'][_0x13a7b1(0x194)]?e['ShapeLineTypeEnum']['SolidLine']:_0x7606e[_0x13a7b1(0x197)]}));}[_0x5b147c(0x231)](_0xd7458){const _0x400a6d=_0x5b147c;return this[_0x400a6d(0x1e4)](_0x5bc76a=>({..._0x5bc76a,'opacity':_0xd7458}));}[_0x5b147c(0x1cf)](_0x40353c){return this['_patchStroke'](_0x36c565=>({..._0x36c565,'dashType':_0x40353c}));}['setStrokeLineJoinType'](_0x1ba68e){const _0x5039d2=_0x5b147c;return this[_0x5039d2(0x1e4)](_0x295470=>({..._0x295470,'lineJoinType':_0x1ba68e}));}[_0x5b147c(0x1d0)](_0x5b5f51){const _0x2fc242=_0x5b147c;return this[_0x2fc242(0x1e4)](_0x1edbcf=>({..._0x1edbcf,'capType':_0x5b5f51}));}[_0x5b147c(0x210)](_0x1e7cb6){const _0x4cd018=_0x5b147c;return this[_0x4cd018(0x1e4)](_0x14b8f8=>({..._0x14b8f8,'lineStrokeType':_0x1e7cb6}));}['update'](_0x46cf37){const _0x262621=_0x5b147c;var _0x5d927e,_0x15ab7e,_0x5ec7c0;let _0x362c8b=_0x46cf37[_0x262621(0x15e)],_0x477e7c=_0x362c8b&&(_0x262621(0x19c)in _0x362c8b||'points'in _0x362c8b)?this[_0x262621(0x220)]():null,_0x5bd034=(_0x5d927e=(_0x15ab7e=_0x46cf37['shapeType'])==null?(_0x5ec7c0=_0x46cf37['shapeData'])==null?void 0x0:_0x5ec7c0[_0x262621(0x1c0)]:_0x15ab7e)==null?_0x477e7c:_0x5d927e,_0x5dfa88=c(_0x46cf37,_0x5bd034!==null&&(0x0,e[_0x262621(0x225)])(_0x5bd034));return _0x5dfa88?(console[_0x262621(0x161)](_0x262621(0x195)+_0x5dfa88),this):(this['_mutate'](_0x262621(0x1fe),_0x112fc3=>_0x112fc3['updateShape'](this['_shapeRef'],_0x46cf37)),this);}[_0x5b147c(0x17f)](){const _0xd10439=_0x5b147c;return this[_0xd10439(0x21d)](_0xd10439(0x17f),_0xada337=>_0xada337[_0xd10439(0x1d4)](this['_shapeRef']));}['bringToFront'](){const _0xf9f2ed=_0x5b147c;return this['_mutate'](_0xf9f2ed(0x1d3),_0x5e628b=>_0x5e628b[_0xf9f2ed(0x19b)](this[_0xf9f2ed(0x1e0)])),this;}[_0x5b147c(0x20e)](){const _0x2ada52=_0x5b147c;return this[_0x2ada52(0x21d)](_0x2ada52(0x164),_0x5ca584=>_0x5ca584[_0x2ada52(0x20e)](this['_shapeRef'])),this;}['sendBackward'](){const _0xb4d47f=_0x5b147c;return this[_0xb4d47f(0x21d)](_0xb4d47f(0x1ea),_0x16d322=>_0x16d322['sendBackward'](this[_0xb4d47f(0x1e0)])),this;}[_0x5b147c(0x1aa)](){const _0x215d88=_0x5b147c;return this[_0x215d88(0x21d)]('send\x20to\x20back',_0x41ee71=>_0x41ee71['sendToBack'](this[_0x215d88(0x1e0)])),this;}[_0x5b147c(0x191)](){const _0x442e7d=_0x5b147c;return this[_0x442e7d(0x179)][_0x442e7d(0x22e)](e[_0x442e7d(0x175)])[_0x442e7d(0x22e)](this[_0x442e7d(0x1e0)][_0x442e7d(0x1b6)]);}['_patchShapeData'](_0x68a03e,_0x5482d4){const _0x56ec02=_0x5b147c;let _0x4afab2=this[_0x56ec02(0x177)]();return _0x4afab2?this[_0x56ec02(0x1fe)]({'shapeType':_0x5482d4,'shapeData':_0x68a03e(_0x4afab2)}):this;}[_0x5b147c(0x1e4)](_0x2914e8){const _0x127349=_0x5b147c;return this[_0x127349(0x211)](_0x83e76d=>{const _0x1bbfab=_0x127349;var _0x30a545;return{..._0x83e76d,'stroke':_0x2914e8((_0x30a545=_0x83e76d[_0x1bbfab(0x1e2)])==null?{}:_0x30a545)};});}['_getSnapshot'](){const _0x183488=_0x5b147c;let _0xbc88a8=this[_0x183488(0x191)]();if(!_0xbc88a8)return null;try{return _0xbc88a8[_0x183488(0x202)](this[_0x183488(0x1e0)])||(console[_0x183488(0x161)](_0x183488(0x224)+this['_shapeRef'][_0x183488(0x1e9)]+_0x183488(0x15f)),null);}catch(_0x5dccd4){return console[_0x183488(0x161)](_0x183488(0x1a2)+this[_0x183488(0x1e0)][_0x183488(0x1e9)]+'\x22.',_0x5dccd4),null;}}[_0x5b147c(0x1bf)](){const _0x1d77b5=_0x5b147c;let _0x108dfc=this[_0x1d77b5(0x1ed)]();if(!_0x108dfc)return null;try{let _0xd98f18=new e[(_0x1d77b5(0x166))](_0x108dfc[_0x1d77b5(0x1c0)],_0x108dfc[_0x1d77b5(0x1e9)],_0x108dfc[_0x1d77b5(0x15e)]);return _0xd98f18[_0x1d77b5(0x22c)]({'width':_0x108dfc[_0x1d77b5(0x180)][_0x1d77b5(0x183)],'height':_0x108dfc['transform'][_0x1d77b5(0x20b)]}),_0xd98f18;}catch(_0x27ebc1){return console[_0x1d77b5(0x161)](_0x1d77b5(0x19f)+this[_0x1d77b5(0x1e0)][_0x1d77b5(0x1e9)]+'\x22.',_0x27ebc1),null;}}[_0x5b147c(0x21d)](_0x30986a,_0xc68c08){const _0x5271ae=_0x5b147c;let _0x4b679f=this[_0x5271ae(0x191)]();if(!_0x4b679f)return!0x1;try{let _0x4f3476=_0xc68c08(_0x4b679f);return _0x4f3476||console[_0x5271ae(0x161)](_0x5271ae(0x215)+_0x30986a+_0x5271ae(0x20a)+this['_shapeRef']['shapeId']+'\x22.'),_0x4f3476;}catch(_0x3d5aa6){return console[_0x5271ae(0x161)](_0x5271ae(0x215)+_0x30986a+_0x5271ae(0x20a)+this[_0x5271ae(0x1e0)][_0x5271ae(0x1e9)]+'\x22.',_0x3d5aa6),!0x1;}}};function c(_0x194592,_0x4c4eeb=!0x1){const _0xad7f8d=_0x5b147c;for(let _0x7f44a7 of[_0xad7f8d(0x213),_0xad7f8d(0x187)]){let _0x312379=_0x194592[_0x7f44a7];if(_0x312379!==void 0x0&&typeof _0x312379!=_0xad7f8d(0x1fb))return _0xad7f8d(0x1f3)+_0x7f44a7+_0xad7f8d(0x1d1);}let _0xb5d032=_0x194592['transform'];if(_0xb5d032){for(let _0x11bba5 of[_0xad7f8d(0x169),_0xad7f8d(0x19e),_0xad7f8d(0x183),_0xad7f8d(0x20b),_0xad7f8d(0x1da)]){let _0x2cd36a=_0xb5d032[_0x11bba5];if(_0x2cd36a!==void 0x0&&!Number[_0xad7f8d(0x1d7)](_0x2cd36a))return _0xad7f8d(0x1b3)+_0x11bba5+'\x22\x20must\x20be\x20finite.';}if(_0xb5d032[_0xad7f8d(0x183)]!==void 0x0&&_0xb5d032[_0xad7f8d(0x183)]<=0x0)return'Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.';if(_0xb5d032[_0xad7f8d(0x20b)]!==void 0x0&&_0xb5d032[_0xad7f8d(0x20b)]<=0x0)return _0xad7f8d(0x1e3);for(let _0x4ee16b of['flipX',_0xad7f8d(0x184)]){let _0x4aded8=_0xb5d032[_0x4ee16b];if(_0x4aded8!==void 0x0&&typeof _0x4aded8!=_0xad7f8d(0x1fb))return _0xad7f8d(0x1b3)+_0x4ee16b+_0xad7f8d(0x1d1);}}let _0x751014=_0x194592[_0xad7f8d(0x15e)];return!_0x4c4eeb&&_0x751014&&(_0xad7f8d(0x19c)in _0x751014||_0xad7f8d(0x1df)in _0x751014)?_0xad7f8d(0x163):null;}var l=class extends s{[_0x5b147c(0x225)](){return!0x0;}['getStartEndpoint'](){const _0x3de9db=_0x5b147c;let _0x2ac8dd=this['_getConnectorSnapshot']();return _0x2ac8dd?n[_0x3de9db(0x16c)][_0x3de9db(0x17a)](_0x2ac8dd[_0x3de9db(0x173)]):null;}[_0x5b147c(0x170)](){const _0x38d9a6=_0x5b147c;let _0x1bc673=this[_0x38d9a6(0x1ff)]();return _0x1bc673?n[_0x38d9a6(0x16c)][_0x38d9a6(0x17a)](_0x1bc673[_0x38d9a6(0x198)]):null;}[_0x5b147c(0x1de)](){const _0x2c5c87=_0x5b147c;let _0x309efe=this[_0x2c5c87(0x1ff)]();return _0x309efe?n[_0x2c5c87(0x16c)][_0x2c5c87(0x17a)](_0x309efe[_0x2c5c87(0x1b0)]):null;}[_0x5b147c(0x20d)](){const _0x3289be=_0x5b147c;let _0x18ac0f=this[_0x3289be(0x1ff)]();return _0x18ac0f?n[_0x3289be(0x16c)]['deepClone'](_0x18ac0f[_0x3289be(0x1ec)]):null;}[_0x5b147c(0x1b9)](){const _0x22e9a7=_0x5b147c;let _0x428269=this['_getConnectorSnapshot']();return _0x428269?n[_0x22e9a7(0x16c)][_0x22e9a7(0x17a)](_0x428269['endArrow']):null;}['setShapeType'](_0x332611){const _0x158267=_0x5b147c;return(0x0,e[_0x158267(0x225)])(_0x332611)?super[_0x158267(0x1e8)](_0x332611):(console[_0x158267(0x161)](_0x158267(0x15d)+this[_0x158267(0x1e0)]['shapeId']+_0x158267(0x1cc)),this);}[_0x5b147c(0x1be)](_0x48abee){const _0xe7abad=_0x5b147c;return _0x48abee[_0xe7abad(0x1c0)]!==void 0x0&&!(0x0,e[_0xe7abad(0x225)])(_0x48abee[_0xe7abad(0x1c0)])?(console[_0xe7abad(0x161)](_0xe7abad(0x15d)+this['_shapeRef'][_0xe7abad(0x1e9)]+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super['setShapeData'](_0x48abee);}[_0x5b147c(0x232)](_0x2fcd15,_0x9f69c2){const _0xa6f8db=_0x5b147c;return this[_0xa6f8db(0x20c)](_0xa6f8db(0x173),_0x2fcd15,_0x9f69c2),this;}[_0x5b147c(0x206)](_0x6510fc,_0x2ce698){const _0x1a8ff5=_0x5b147c;return this[_0x1a8ff5(0x20c)](_0x1a8ff5(0x198),_0x6510fc,_0x2ce698),this;}[_0x5b147c(0x1f4)](){const _0x5e7139=_0x5b147c;return this[_0x5e7139(0x1cd)](_0x5e7139(0x186),_0x17e8eb=>_0x17e8eb[_0x5e7139(0x1f4)](this[_0x5e7139(0x1e0)])),this;}['unbindEnd'](){const _0x40ac10=_0x5b147c;return this[_0x40ac10(0x1cd)](_0x40ac10(0x20f),_0x77cd8a=>_0x77cd8a['unbindEnd'](this[_0x40ac10(0x1e0)])),this;}['setStartPoint'](_0x24565a){const _0x3a824b=_0x5b147c;return u(_0x24565a,this[_0x3a824b(0x1e0)][_0x3a824b(0x1e9)])&&this[_0x3a824b(0x1cd)]('set\x20start\x20point',_0xcdd6f4=>_0xcdd6f4[_0x3a824b(0x1fd)](this[_0x3a824b(0x1e0)],_0x24565a)),this;}['setEndPoint'](_0x18383c){const _0xa4ed71=_0x5b147c;return u(_0x18383c,this[_0xa4ed71(0x1e0)]['shapeId'])&&this['_mutateConnector']('set\x20end\x20point',_0x10e748=>_0x10e748[_0xa4ed71(0x203)](this[_0xa4ed71(0x1e0)],_0x18383c)),this;}[_0x5b147c(0x1f8)](_0xb70169){const _0x56dda5=_0x5b147c;return _0xb70169['every'](_0x865c0e=>u(_0x865c0e,this[_0x56dda5(0x1e0)][_0x56dda5(0x1e9)]))&&this[_0x56dda5(0x1cd)]('set\x20route\x20points',_0x33faf8=>_0x33faf8[_0x56dda5(0x1f8)](this[_0x56dda5(0x1e0)],_0xb70169)),this;}[_0x5b147c(0x1ce)](_0x4cc210,_0x1542f9){const _0x27230a=_0x5b147c;return this['_mutateConnector'](_0x27230a(0x1b8),_0x1bf562=>_0x1bf562[_0x27230a(0x1ce)](this[_0x27230a(0x1e0)],_0x4cc210,_0x1542f9)),this;}['setEndArrow'](_0x2f4c59,_0x20b59e){const _0x1e30a7=_0x5b147c;return this['_mutateConnector'](_0x1e30a7(0x1ad),_0x3a7f6a=>_0x3a7f6a[_0x1e30a7(0x16d)](this[_0x1e30a7(0x1e0)],_0x2f4c59,_0x20b59e)),this;}[_0x5b147c(0x1c6)](){const _0x2c95a5=_0x5b147c;return this[_0x2c95a5(0x179)][_0x2c95a5(0x22e)](e[_0x2c95a5(0x1f5)]);}[_0x5b147c(0x1ff)](){const _0x29de85=_0x5b147c;let _0x4b21c8=this[_0x29de85(0x1c6)]();if(!_0x4b21c8)return null;try{return _0x4b21c8['getConnector'](this['_shapeRef'])||(console[_0x29de85(0x161)](_0x29de85(0x15d)+this['_shapeRef']['shapeId']+_0x29de85(0x15f)),null);}catch(_0x46e9da){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x29de85(0x1e0)][_0x29de85(0x1e9)]+'\x22.',_0x46e9da),null;}}[_0x5b147c(0x20c)](_0x45bcac,_0x559f1b,_0x4fb1a1){const _0x296bc2=_0x5b147c;if(!_0x559f1b||!Number['isInteger'](_0x4fb1a1)||_0x4fb1a1<0x0)return console[_0x296bc2(0x161)](_0x296bc2(0x217)+this[_0x296bc2(0x1e0)][_0x296bc2(0x1e9)]+_0x296bc2(0x189)),!0x1;let _0x46862b={'shapeId':_0x559f1b,'cxnIndex':_0x4fb1a1};return this['_mutateConnector']('bind\x20'+_0x45bcac,_0x3b1a76=>_0x45bcac==='start'?_0x3b1a76[_0x296bc2(0x232)](this[_0x296bc2(0x1e0)],_0x46862b):_0x3b1a76['bindEnd'](this[_0x296bc2(0x1e0)],_0x46862b));}[_0x5b147c(0x1cd)](_0x482aac,_0x1ebf62){const _0x5179d3=_0x5b147c;let _0x37f606=this['_getConnectorAdapter']();if(!_0x37f606)return!0x1;try{let _0x3082d3=_0x1ebf62(_0x37f606);return _0x3082d3||console[_0x5179d3(0x161)](_0x5179d3(0x215)+_0x482aac+_0x5179d3(0x227)+this[_0x5179d3(0x1e0)][_0x5179d3(0x1e9)]+'\x22.'),_0x3082d3;}catch(_0x9c2dd7){return console[_0x5179d3(0x161)](_0x5179d3(0x215)+_0x482aac+'\x20Connector\x20Shape\x20\x22'+this[_0x5179d3(0x1e0)]['shapeId']+'\x22.',_0x9c2dd7),!0x1;}}};function u(_0x58b46b,_0x52741e){const _0xc7481c=_0x5b147c;return!Number[_0xc7481c(0x1d7)](_0x58b46b['x'])||!Number[_0xc7481c(0x1d7)](_0x58b46b['y'])?(console['warn'](_0xc7481c(0x217)+_0x52741e+_0xc7481c(0x1c4)),!0x1):!0x0;}function _0x5cb5(_0x5366a1,_0x16eb95){_0x5366a1=_0x5366a1-0x15c;const _0x2159ac=_0x2159();let _0x5cb5c2=_0x2159ac[_0x5366a1];return _0x5cb5c2;}function _0x2159(){const _0x23491d=['getDrawingPoints','NoLine','[Shape\x20Facade]:\x20','mode','lineStrokeType','end','setImageFill','FShapeText','bringToFront','relation','solid','top','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','opacity','12dSLOfn','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeTypeEnum','Linear','setVisible','setSelectable','scaleY','name','ShapeOperatorEnum','sendToBack','ShapeImageSourceTypeEnum','ShapeGradientTypeEnum','set\x20end\x20arrow','Tile','setStrokeWidth','routePoints','getHostType','tile','Shape\x20transform\x20\x22','none','isSelectable','hostType','ShapeLineJoinEnum','set\x20start\x20arrow','getEndArrow','getText','PictureFill','setFontSize','ShapeTextWrapType','setShapeData','_getGeometryModel','shapeType','setTextStyle','resolveShapeTextBoxOptions','setRotation','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','getTextBoxOptions','_getConnectorAdapter','isCustomShape','ShapeFillEnum','FALSE','getName','setUnderline','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','_mutateConnector','setStartArrow','setStrokeLineDashType','setStrokeLineCapType','\x22\x20must\x20be\x20boolean.','setNoneFill','bring\x20to\x20front','removeShape','scaleX','getPlainText','isFinite','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','gradient','rotation','157LMeiIe','getEndConnectInfo','ShapeTextAutoFitType','getRoutePoints','points','_shapeRef','customGeometry','stroke','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','_patchStroke','color','shapeTextToRichTextValue','getSnapshot','setShapeType','shapeId','send\x20backward','radial','startArrow','_getSnapshot','setSolidFill','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','2628lBPnPC','setRichText','length','Shape\x20\x22','unbindStart','IConnectorShapeHostAdapter','getId','ShapeTextDirection','setRoutePoints','angular','offsetY','boolean','3ZiXbCy','setStartPoint','update','_getConnectorSnapshot','picture','20218260NVsCnP','getShape','setEndPoint','setFontFamily','createInstance','bindEnd','isCustom','updateShape','9060IUMRWG','\x20Shape\x20\x22','height','_bind','getStartArrow','bringForward','unbind\x20end','setStrokeLineType','_patchShapeData','getStartConnectInfo','visible','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','[Shape\x20Facade]:\x20Failed\x20to\x20','608888YaEmtI','[Shape\x20Facade]:\x20Connector\x20\x22','setGradientFill','setText','SolidFill','FConnectorShape','applyRichTextToShapeText','_mutate','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','setVerticalAlign','getShapeType','offsetX','applyShapeTextStyle','458632CoFQiD','[Shape\x20Facade]:\x20Shape\x20\x22','isConnectorShape','getDescription','\x20Connector\x20Shape\x20\x22','ShapeImageFillModeEnum','setAbsolutePosition','FEnum','ShapeLineCapEnum','updateContext','Angular','get','setCustomGeometry','2663265HJfzKw','setStrokeOpacity','bindStart','ShapeLineTypeEnum','ShapeArrowTypeEnum','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','shapeData','\x22\x20was\x20not\x20found.','_getShapeData','warn','BooleanNumber','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','bring\x20forward','setSize','ShapeModel','2988pEMAPZ','TRUE','left','getCustomGeometry','setTransform','Tools','setEndArrow','Radial','isVisible','getEndEndpoint','setStrikethrough','map','start','rgba(0,\x200,\x200,\x200)','IShapeHostAdapterRegistry','shapeText','getShapeData','getRichText','_injector','deepClone','ImageSourceTypeEnum','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','extend','20776gnIizo','remove','transform','Module','ShapeArrowSizeEnum','width','flipY','URL','unbind\x20start','selectable','1595saYrmq','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','applyShapeTextAlignment','setDescription','_updateShapeData','FShape','\x22\x20text.','SolidLine','applyShapeTextBoxOptions','_getAdapter','Diamond'];_0x2159=function(){return _0x23491d;};return _0x2159();}exports[_0x5b147c(0x21b)]=l,exports[_0x5b147c(0x18d)]=s,exports[_0x5b147c(0x19a)]=o;
|