@univerjs-pro/shape-editor-ui 1.0.0-alpha.8 → 1.0.0-beta.0

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.
Files changed (103) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +2 -11
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/components/fill-style-tabs-editor/FillStyleTabsEditor.d.ts +2 -0
  63. package/lib/types/index.d.ts +12 -3
  64. package/lib/types/utils/drawing-type-name.d.ts +3 -0
  65. package/lib/types/views/shape-floating-toolbar/ShapeFillControls.d.ts +12 -0
  66. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +5 -127
  67. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbarPrimitives.d.ts +39 -0
  68. package/lib/types/views/shape-floating-toolbar/ShapeStrokeControls.d.ts +36 -0
  69. package/lib/types/views/shape-floating-toolbar/ShapeTextControls.d.ts +30 -0
  70. package/lib/types/views/shape-floating-toolbar/floating-toolbar-interaction.d.ts +4 -0
  71. package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-constants.d.ts +11 -0
  72. package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-types.d.ts +12 -0
  73. package/lib/types/views/shape-text-editor/ShapeTextEditor.d.ts +2 -193
  74. package/lib/types/views/shape-text-editor/ShapeTextEditorSurface.d.ts +16 -0
  75. package/lib/types/views/shape-text-editor/ShapeTextPositionWrapper.d.ts +1 -0
  76. package/lib/types/views/shape-text-editor/shape-text-document.d.ts +17 -2
  77. package/lib/types/views/shape-text-editor/shape-text-keyboard.d.ts +27 -0
  78. package/lib/types/views/shape-text-editor/shape-text-layout.d.ts +190 -1
  79. package/lib/types/views/shape-text-editor/types.d.ts +1 -1
  80. package/lib/umd/index.js +1 -1
  81. package/lib/umd/locale/ar-SA.js +1 -1
  82. package/lib/umd/locale/ca-ES.js +1 -1
  83. package/lib/umd/locale/de-DE.js +1 -1
  84. package/lib/umd/locale/en-US.js +1 -1
  85. package/lib/umd/locale/es-ES.js +1 -1
  86. package/lib/umd/locale/fa-IR.js +1 -1
  87. package/lib/umd/locale/fr-FR.js +1 -1
  88. package/lib/umd/locale/id-ID.js +1 -1
  89. package/lib/umd/locale/it-IT.js +1 -1
  90. package/lib/umd/locale/ja-JP.js +1 -1
  91. package/lib/umd/locale/ko-KR.js +1 -1
  92. package/lib/umd/locale/pl-PL.js +1 -1
  93. package/lib/umd/locale/pt-BR.js +1 -1
  94. package/lib/umd/locale/ru-RU.js +1 -1
  95. package/lib/umd/locale/sk-SK.js +1 -1
  96. package/lib/umd/locale/vi-VN.js +1 -1
  97. package/lib/umd/locale/zh-CN.js +1 -1
  98. package/lib/umd/locale/zh-HK.js +1 -1
  99. package/lib/umd/locale/zh-TW.js +1 -1
  100. package/package.json +25 -25
  101. package/lib/cjs/formula-shape-en-us-B0fVf3OO.js +0 -1
  102. package/lib/es/formula-shape-en-us-BbvC914f.js +0 -1
  103. package/lib/formula-shape-en-us-BbvC914f.js +0 -1
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2d565c=_0x1c0f;(function(_0x44be82,_0x11fe20){const _0x304d18=_0x1c0f,_0x6bceb7=_0x44be82();while(!![]){try{const _0x563c0e=parseInt(_0x304d18(0x443))/0x1+-parseInt(_0x304d18(0x21a))/0x2+parseInt(_0x304d18(0x70b))/0x3*(-parseInt(_0x304d18(0x686))/0x4)+parseInt(_0x304d18(0x473))/0x5*(-parseInt(_0x304d18(0x20d))/0x6)+-parseInt(_0x304d18(0x470))/0x7*(parseInt(_0x304d18(0x3c9))/0x8)+-parseInt(_0x304d18(0x7af))/0x9*(-parseInt(_0x304d18(0x715))/0xa)+-parseInt(_0x304d18(0x4b6))/0xb*(-parseInt(_0x304d18(0x1ad))/0xc);if(_0x563c0e===_0x11fe20)break;else _0x6bceb7['push'](_0x6bceb7['shift']());}catch(_0xc5b620){_0x6bceb7['push'](_0x6bceb7['shift']());}}}(_0x4abb,0xd7e1d),Object[_0x2d565c(0x32f)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs-pro/license'),a=require('@univerjs-pro/shape-editor'),o=require('@univerjs/core'),s=require('@univerjs/ui'),c=require('@univerjs-pro/bases'),l=require('@univerjs-pro/bases-ui'),u=require('@univerjs-pro/collaboration-client'),d=require('@univerjs-pro/engine-formula'),f=require('@univerjs/docs'),p=require('@univerjs/docs-ui'),m=require('@univerjs/engine-formula'),h=require('@univerjs/engine-render'),g=require('@univerjs/rpc'),_=require('@univerjs/sheets'),v=require('@univerjs/sheets-formula'),y=require('@univerjs/sheets-formula-ui'),b=require('@univerjs/sheets-ui'),x=require('@univerjs/drawing'),S=require('@univerjs-pro/engine-shape'),C=require('@univerjs/sheets-numfmt');const w={'none':_0x2d565c(0x591),'solid':_0x2d565c(0x6b5),'gradient':'gradient','picture':_0x2d565c(0x2a5)},T={'type':_0x2d565c(0x40a),'angle':0x0,'stops':[{'color':_0x2d565c(0x770),'offset':0x0},{'color':'#000000','offset':0x64}]};function E(_0x57ffef){const _0xe160fe=_0x2d565c;var _0x2301ed,_0x104f79,_0x49bedb,_0xcbd90,_0x5656ff;let {className:_0x2dea3b,compact:_0x1ff8ab=!0x0,disabled:_0x59d855=!0x1,direction:_0x1b9885,value:_0x14a1d9,typeValues:_0x55c63b=w,color:_0x38b4a0=_0xe160fe(0x770),transparency:_0x20b07e=0x0,gradientValue:_0x14c8fe=T,labels:_0x6cebb1,tabLabels:_0x2393f9,noFillEditor:_0x598e70,pictureFillEditor:_0x5a413e,renderColorIcon:_0x263a28,keepColorPickerOpenOnChange:_0x73059=!0x1,onChange:_0x28c82c,onColorChange:_0xc4d390,onTransparencyChange:_0x569af2,onGradientChange:_0x578b8a}=_0x57ffef,[_0x4a5ba2,_0x3a38ce]=(0x0,n[_0xe160fe(0x311)])(!0x1),_0x898e7c=[{'label':(_0x2301ed=_0x2393f9==null?void 0x0:_0x2393f9[_0xe160fe(0x5ff)])==null?_0x6cebb1[_0xe160fe(0x5ff)]:_0x2301ed,'value':_0x55c63b[_0xe160fe(0x591)]},{'label':(_0x104f79=_0x2393f9==null?void 0x0:_0x2393f9['solidFill'])==null?_0x6cebb1[_0xe160fe(0x4f7)]:_0x104f79,'value':_0x55c63b['solid']},{'label':(_0x49bedb=_0x2393f9==null?void 0x0:_0x2393f9[_0xe160fe(0x4c3)])==null?_0x6cebb1['gradientFill']:_0x49bedb,'value':_0x55c63b[_0xe160fe(0x3a0)]},{'label':(_0xcbd90=_0x2393f9==null?void 0x0:_0x2393f9['pictureFill'])==null?_0x6cebb1['pictureFill']:_0xcbd90,'value':_0x55c63b[_0xe160fe(0x2a5)]}];return(0x0,r[_0xe160fe(0x18b)])(_0xe160fe(0x610),{'dir':_0x1b9885,'className':(0x0,e[_0xe160fe(0x724)])(_0xe160fe(0x68a),_0x1ff8ab?_0xe160fe(0x3e4):_0xe160fe(0x749),_0x2dea3b),'children':[(0x0,r['jsx'])(e['Segmented'],{'className':(0x0,e[_0xe160fe(0x724)])(_0xe160fe(0x51b),_0x1ff8ab&&'univer-text-xs',_0x59d855&&_0xe160fe(0x28c)),'items':_0x898e7c,'value':_0x14a1d9,'onChange':_0x2757f1=>{_0x59d855||_0x28c82c==null||_0x28c82c(_0x2757f1);}}),_0x14a1d9===_0x55c63b[_0xe160fe(0x591)]&&_0x598e70,_0x14a1d9===_0x55c63b[_0xe160fe(0x6b5)]&&(0x0,r[_0xe160fe(0x18b)])(_0xe160fe(0x610),{'className':(0x0,e[_0xe160fe(0x724)])(_0xe160fe(0x601),_0x1ff8ab?_0xe160fe(0x606):_0xe160fe(0x3e4)),'children':[(0x0,r[_0xe160fe(0x18b)])('div',{'className':_0xe160fe(0x1e2),'children':[(0x0,r[_0xe160fe(0x631)])(_0xe160fe(0x3b4),{'className':_0xe160fe(0xdc),'children':_0x6cebb1['color']}),(0x0,r[_0xe160fe(0x631)])(e[_0xe160fe(0x1ff)],{'disabled':_0x59d855,'overlay':(0x0,r[_0xe160fe(0x631)])('div',{'className':_0xe160fe(0x5b4),'dir':_0x1b9885,'children':(0x0,r[_0xe160fe(0x631)])(e['ColorPicker'],{'value':_0x38b4a0,'onChange':_0x25a8e7=>{_0xc4d390==null||_0xc4d390(_0x25a8e7),_0x73059||_0x3a38ce(!0x1);}})}),'open':_0x4a5ba2,'onOpenChange':_0x3a38ce,'children':(0x0,r['jsxs'])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(_0x5656ff=_0x263a28==null?void 0x0:_0x263a28(_0x38b4a0))==null?(0x0,r[_0xe160fe(0x631)])(t[_0xe160fe(0x3ea)],{'className':_0xe160fe(0x4ef),'extend':{'colorChannel1':_0x38b4a0}}):_0x5656ff,(0x0,r[_0xe160fe(0x631)])(t[_0xe160fe(0x6c2)],{'className':(0x0,e[_0xe160fe(0x724)])(_0xe160fe(0x2e6),{'univer-rotate-180':_0x4a5ba2})})]})})]}),(0x0,r[_0xe160fe(0x18b)])(_0xe160fe(0x610),{'className':_0xe160fe(0x1e2),'children':[(0x0,r[_0xe160fe(0x631)])(_0xe160fe(0x3b4),{'className':_0xe160fe(0xdc),'children':_0x6cebb1[_0xe160fe(0x111)]}),(0x0,r[_0xe160fe(0x631)])(_0xe160fe(0x610),{'className':_0xe160fe(0xd2),'children':(0x0,r[_0xe160fe(0x631)])(e[_0xe160fe(0x2e9)],{'className':_0xe160fe(0x608),'value':_0x20b07e,'disabled':_0x59d855,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x296032=>_0x296032+'%','parser':_0xcdd26c=>(_0xcdd26c==null?void 0x0:_0xcdd26c[_0xe160fe(0x3f8)]('%',''))||'','onChange':_0x5268dd=>_0x569af2==null?void 0x0:_0x569af2(_0x5268dd==null?0x0:_0x5268dd)})})]})]}),_0x14a1d9===_0x55c63b[_0xe160fe(0x3a0)]&&(0x0,r[_0xe160fe(0x631)])(e[_0xe160fe(0x27a)],{'className':_0xe160fe(0x249),'compact':_0x1ff8ab,'value':_0x14c8fe,'onChange':_0x578b8a}),_0x14a1d9===_0x55c63b['picture']&&_0x5a413e]});}const D=_0x2d565c(0x475),O={};var k=_0x2d565c(0x49f),A=_0x2d565c(0x7bb);function j(_0x5cb7a7,_0x29c993){return function(_0x421989,_0x13da4f){_0x29c993(_0x421989,_0x13da4f,_0x5cb7a7);};}function M(_0x144c31,_0x49296a,_0x244259,_0xedddbe){const _0x17ba01=_0x2d565c;var _0x3311ce=arguments[_0x17ba01(0x435)],_0x5a4750=_0x3311ce<0x3?_0x49296a:_0xedddbe===null?_0xedddbe=Object[_0x17ba01(0x5ef)](_0x49296a,_0x244259):_0xedddbe,_0x5e85d9;if(typeof Reflect==_0x17ba01(0x4a1)&&typeof Reflect[_0x17ba01(0x396)]==_0x17ba01(0x23e))_0x5a4750=Reflect[_0x17ba01(0x396)](_0x144c31,_0x49296a,_0x244259,_0xedddbe);else{for(var _0x487dba=_0x144c31[_0x17ba01(0x435)]-0x1;_0x487dba>=0x0;_0x487dba--)(_0x5e85d9=_0x144c31[_0x487dba])&&(_0x5a4750=(_0x3311ce<0x3?_0x5e85d9(_0x5a4750):_0x3311ce>0x3?_0x5e85d9(_0x49296a,_0x244259,_0x5a4750):_0x5e85d9(_0x49296a,_0x244259))||_0x5a4750);}return _0x3311ce>0x3&&_0x5a4750&&Object[_0x17ba01(0x32f)](_0x49296a,_0x244259,_0x5a4750),_0x5a4750;}const N={'ShapeAccentBorderCallout1Icon':t[_0x2d565c(0x291)],'ShapeAccentBorderCallout2Icon':t['ShapeAccentBorderCallout2Icon'],'ShapeAccentBorderCallout3Icon':t['ShapeAccentBorderCallout3Icon'],'ShapeAccentCallout1Icon':t[_0x2d565c(0x210)],'ShapeAccentCallout2Icon':t[_0x2d565c(0x5be)],'ShapeAccentCallout3Icon':t['ShapeAccentCallout3Icon'],'ShapeActionButtonBackPreviousIcon':t[_0x2d565c(0x556)],'ShapeActionButtonBeginningIcon':t[_0x2d565c(0x136)],'ShapeActionButtonBlankIcon':t['ShapeActionButtonBlankIcon'],'ShapeActionButtonDocumentIcon':t[_0x2d565c(0x6d1)],'ShapeActionButtonEndIcon':t[_0x2d565c(0x67d)],'ShapeActionButtonForwardNextIcon':t[_0x2d565c(0x593)],'ShapeActionButtonHelpIcon':t[_0x2d565c(0x4f5)],'ShapeActionButtonHomeIcon':t[_0x2d565c(0x5d9)],'ShapeActionButtonInformationIcon':t['ShapeActionButtonInformationIcon'],'ShapeActionButtonMovieIcon':t[_0x2d565c(0x772)],'ShapeActionButtonReturnIcon':t[_0x2d565c(0x522)],'ShapeActionButtonSoundIcon':t['ShapeActionButtonSoundIcon'],'ShapeArcIcon':t[_0x2d565c(0x700)],'ShapeBentArrowIcon':t['ShapeBentArrowIcon'],'ShapeBentConnector3Arrow1Icon':t[_0x2d565c(0x53e)],'ShapeBentConnector3Arrow2Icon':t[_0x2d565c(0x7b4)],'ShapeBentConnector3Icon':t['ShapeBentConnector3Icon'],'ShapeBentUpArrowIcon':t[_0x2d565c(0x68c)],'ShapeBevelIcon':t['ShapeBevelIcon'],'ShapeBlockArcIcon':t['ShapeBlockArcIcon'],'ShapeBorderCallout1Icon':t['ShapeBorderCallout1Icon'],'ShapeBorderCallout2Icon':t[_0x2d565c(0x6ac)],'ShapeBorderCallout3Icon':t[_0x2d565c(0x2a7)],'ShapeBracePairIcon':t[_0x2d565c(0x536)],'ShapeBracketPairIcon':t[_0x2d565c(0x5df)],'ShapeCallout1Icon':t[_0x2d565c(0x12b)],'ShapeCallout2Icon':t['ShapeCallout2Icon'],'ShapeCallout3Icon':t[_0x2d565c(0x484)],'ShapeCanIcon':t[_0x2d565c(0x3a7)],'ShapeChartPlusIcon':t[_0x2d565c(0x5f9)],'ShapeChartStarIcon':t[_0x2d565c(0x3ec)],'ShapeChartXIcon':t[_0x2d565c(0x5cf)],'ShapeChevronIcon':t[_0x2d565c(0x76e)],'ShapeChordIcon':t[_0x2d565c(0x794)],'ShapeCircularArrowIcon':t['ShapeCircularArrowIcon'],'ShapeCloudCalloutIcon':t[_0x2d565c(0x303)],'ShapeCloudIcon':t[_0x2d565c(0x564)],'ShapeCornerIcon':t['ShapeCornerIcon'],'ShapeCornerTabsIcon':t['ShapeCornerTabsIcon'],'ShapeCubeIcon':t[_0x2d565c(0x33b)],'ShapeCurvedConnector3Arrow1Icon':t['ShapeCurvedConnector3Arrow1Icon'],'ShapeCurvedConnector3Arrow2Icon':t['ShapeCurvedConnector3Arrow2Icon'],'ShapeCurvedConnector3Icon':t['ShapeCurvedConnector3Icon'],'ShapeCurvedDownArrowIcon':t[_0x2d565c(0x769)],'ShapeCurvedLeftArrowIcon':t[_0x2d565c(0x315)],'ShapeCurvedRightArrowIcon':t[_0x2d565c(0x322)],'ShapeCurvedUpArrowIcon':t[_0x2d565c(0x4bd)],'ShapeDecagonIcon':t[_0x2d565c(0x30b)],'ShapeDiagStripeIcon':t[_0x2d565c(0x69e)],'ShapeDiamondIcon':t[_0x2d565c(0x5e5)],'ShapeDodecagonIcon':t['ShapeDodecagonIcon'],'ShapeDonutIcon':t[_0x2d565c(0x4b2)],'ShapeDoubleWaveIcon':t[_0x2d565c(0x62b)],'ShapeDownArrowCalloutIcon':t[_0x2d565c(0x64a)],'ShapeDownArrowIcon':t[_0x2d565c(0x47b)],'ShapeEllipseIcon':t[_0x2d565c(0x4e7)],'ShapeEllipseRibbon2Icon':t[_0x2d565c(0xcf)],'ShapeEllipseRibbonIcon':t[_0x2d565c(0x19d)],'ShapeFlowChartAlternateProcessIcon':t[_0x2d565c(0x663)],'ShapeFlowChartCollateIcon':t['ShapeFlowChartCollateIcon'],'ShapeFlowChartConnectorIcon':t['ShapeFlowChartConnectorIcon'],'ShapeFlowChartDecisionIcon':t[_0x2d565c(0x417)],'ShapeFlowChartDelayIcon':t[_0x2d565c(0x181)],'ShapeFlowChartDisplayIcon':t['ShapeFlowChartDisplayIcon'],'ShapeFlowChartDocumentIcon':t[_0x2d565c(0x404)],'ShapeFlowChartExtractIcon':t[_0x2d565c(0xcc)],'ShapeFlowChartInputOutputIcon':t[_0x2d565c(0x366)],'ShapeFlowChartInternalStorageIcon':t['ShapeFlowChartInternalStorageIcon'],'ShapeFlowChartMagneticDiskIcon':t[_0x2d565c(0x28a)],'ShapeFlowChartMagneticDrumIcon':t['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':t['ShapeFlowChartMagneticTapeIcon'],'ShapeFlowChartManualInputIcon':t[_0x2d565c(0x333)],'ShapeFlowChartManualOperationIcon':t[_0x2d565c(0x2b8)],'ShapeFlowChartMergeIcon':t[_0x2d565c(0x5c6)],'ShapeFlowChartMultidocumentIcon':t[_0x2d565c(0x2a4)],'ShapeFlowChartOfflineStorageIcon':t['ShapeFlowChartOfflineStorageIcon'],'ShapeFlowChartOffpageConnectorIcon':t['ShapeFlowChartOffpageConnectorIcon'],'ShapeFlowChartOnlineStorageIcon':t['ShapeFlowChartOnlineStorageIcon'],'ShapeFlowChartOrIcon':t[_0x2d565c(0x737)],'ShapeFlowChartPredefinedProcessIcon':t['ShapeFlowChartPredefinedProcessIcon'],'ShapeFlowChartPreparationIcon':t['ShapeFlowChartPreparationIcon'],'ShapeFlowChartProcessIcon':t[_0x2d565c(0x165)],'ShapeFlowChartPunchedCardIcon':t[_0x2d565c(0x214)],'ShapeFlowChartPunchedTapeIcon':t[_0x2d565c(0x61f)],'ShapeFlowChartSortIcon':t['ShapeFlowChartSortIcon'],'ShapeFlowChartSummingJunctionIcon':t[_0x2d565c(0x1c2)],'ShapeFlowChartTerminatorIcon':t[_0x2d565c(0x486)],'ShapeFolderCornerIcon':t[_0x2d565c(0x27c)],'ShapeFrameIcon':t[_0x2d565c(0x220)],'ShapeFunnelIcon':t[_0x2d565c(0x2c6)],'ShapeGear6Icon':t[_0x2d565c(0x264)],'ShapeGear9Icon':t[_0x2d565c(0x33a)],'ShapeHalfFrameIcon':t[_0x2d565c(0x332)],'ShapeHeartIcon':t[_0x2d565c(0xf5)],'ShapeHeptagonIcon':t['ShapeHeptagonIcon'],'ShapeHexagonIcon':t[_0x2d565c(0x4cd)],'ShapeHomePlateIcon':t[_0x2d565c(0x717)],'ShapeHorizontalScrollIcon':t['ShapeHorizontalScrollIcon'],'ShapeIcon':t[_0x2d565c(0x756)],'ShapeIrregularSeal1Icon':t[_0x2d565c(0x3f0)],'ShapeIrregularSeal2Icon':t[_0x2d565c(0x2cc)],'ShapeLeftArrowCalloutIcon':t[_0x2d565c(0x572)],'ShapeLeftArrowIcon':t[_0x2d565c(0x5f4)],'ShapeLeftBraceIcon':t['ShapeLeftBraceIcon'],'ShapeLeftBracketIcon':t[_0x2d565c(0xf1)],'ShapeLeftCircularArrowIcon':t[_0x2d565c(0x716)],'ShapeLeftRightArrowCalloutIcon':t['ShapeLeftRightArrowCalloutIcon'],'ShapeLeftRightArrowIcon':t[_0x2d565c(0x5e4)],'ShapeLeftRightCircularArrowIcon':t[_0x2d565c(0x52a)],'ShapeLeftRightRibbonIcon':t[_0x2d565c(0x42f)],'ShapeLeftRightUpArrowIcon':t[_0x2d565c(0x3ba)],'ShapeLeftUpArrowIcon':t[_0x2d565c(0x34b)],'ShapeLightningBoltIcon':t[_0x2d565c(0x584)],'ShapeLineIcon':t[_0x2d565c(0x277)],'ShapeLineInvIcon':t['ShapeLineInvIcon'],'ShapeMathDivideIcon':t[_0x2d565c(0x6fc)],'ShapeMathEqualIcon':t[_0x2d565c(0x759)],'ShapeMathMinusIcon':t[_0x2d565c(0x752)],'ShapeMathMultiplyIcon':t[_0x2d565c(0x441)],'ShapeMathNotEqualIcon':t['ShapeMathNotEqualIcon'],'ShapeMathPlusIcon':t['ShapeMathPlusIcon'],'ShapeMoonIcon':t['ShapeMoonIcon'],'ShapeNoSmokingIcon':t[_0x2d565c(0x239)],'ShapeNonIsoscelesTrapezoidIcon':t['ShapeNonIsoscelesTrapezoidIcon'],'ShapeNotchedRightArrowIcon':t['ShapeNotchedRightArrowIcon'],'ShapeOctagonIcon':t[_0x2d565c(0x487)],'ShapeParallelogramIcon':t[_0x2d565c(0x24e)],'ShapePentagonIcon':t[_0x2d565c(0x431)],'ShapePieIcon':t[_0x2d565c(0x43b)],'ShapePieWedgeIcon':t[_0x2d565c(0x160)],'ShapePlaqueIcon':t[_0x2d565c(0x330)],'ShapePlaqueTabsIcon':t[_0x2d565c(0x605)],'ShapePlusIcon':t[_0x2d565c(0x31c)],'ShapeQuadArrowCalloutIcon':t[_0x2d565c(0x697)],'ShapeQuadArrowIcon':t[_0x2d565c(0x6b3)],'ShapeRectIcon':t[_0x2d565c(0x399)],'ShapeRectTextboxHorizontalIcon':t['ShapeRectTextboxHorizontalIcon'],'ShapeRectTextboxVerticalIcon':t[_0x2d565c(0x2d3)],'ShapeRibbon2Icon':t[_0x2d565c(0x55f)],'ShapeRibbonIcon':t[_0x2d565c(0x5b6)],'ShapeRightArrowCalloutIcon':t[_0x2d565c(0x222)],'ShapeRightArrowIcon':t[_0x2d565c(0x6dd)],'ShapeRightBraceIcon':t[_0x2d565c(0xcd)],'ShapeRightBracketIcon':t['ShapeRightBracketIcon'],'ShapeRound1RectIcon':t[_0x2d565c(0x67b)],'ShapeRound2DiagRectIcon':t[_0x2d565c(0x688)],'ShapeRound2SameRectIcon':t[_0x2d565c(0x231)],'ShapeRoundRectIcon':t[_0x2d565c(0x636)],'ShapeRtTriangleIcon':t[_0x2d565c(0x56a)],'ShapeSmileyFaceIcon':t[_0x2d565c(0x278)],'ShapeSnip1RectIcon':t['ShapeSnip1RectIcon'],'ShapeSnip2DiagRectIcon':t[_0x2d565c(0x5c1)],'ShapeSnip2SameRectIcon':t[_0x2d565c(0x78b)],'ShapeSnipRoundRectIcon':t[_0x2d565c(0x1bd)],'ShapeSquareTabsIcon':t[_0x2d565c(0x223)],'ShapeStar10Icon':t[_0x2d565c(0x68d)],'ShapeStar12Icon':t['ShapeStar12Icon'],'ShapeStar16Icon':t[_0x2d565c(0x128)],'ShapeStar24Icon':t[_0x2d565c(0x774)],'ShapeStar32Icon':t[_0x2d565c(0x2c3)],'ShapeStar4Icon':t[_0x2d565c(0x665)],'ShapeStar5Icon':t[_0x2d565c(0x2de)],'ShapeStar6Icon':t['ShapeStar6Icon'],'ShapeStar7Icon':t[_0x2d565c(0x726)],'ShapeStar8Icon':t['ShapeStar8Icon'],'ShapeStraightConnector1Icon':t[_0x2d565c(0x3be)],'ShapeStraightConnector2Icon':t[_0x2d565c(0x67e)],'ShapeStripedRightArrowIcon':t['ShapeStripedRightArrowIcon'],'ShapeSunIcon':t[_0x2d565c(0x384)],'ShapeSwooshArrowIcon':t[_0x2d565c(0x219)],'ShapeTeardropIcon':t[_0x2d565c(0x2ad)],'ShapeTrapezoidIcon':t[_0x2d565c(0x71f)],'ShapeTriangleIcon':t['ShapeTriangleIcon'],'ShapeUpArrowCalloutIcon':t[_0x2d565c(0x7b8)],'ShapeUpArrowIcon':t[_0x2d565c(0x3b8)],'ShapeUpDownArrowCalloutIcon':t['ShapeUpDownArrowCalloutIcon'],'ShapeUpDownArrowIcon':t[_0x2d565c(0x406)],'ShapeUturnArrowIcon':t[_0x2d565c(0x670)],'ShapeVerticalScrollIcon':t[_0x2d565c(0x638)],'ShapeWaveIcon':t[_0x2d565c(0x477)],'ShapeWedgeEllipseCalloutIcon':t['ShapeWedgeEllipseCalloutIcon'],'ShapeWedgeRectCalloutIcon':t[_0x2d565c(0x3bb)],'ShapeWedgeRoundRectCalloutIcon':t['ShapeWedgeRoundRectCalloutIcon']};let P=class extends o[_0x2d565c(0x650)]{constructor(_0x2edf6b){const _0x58c3c3=_0x2d565c;super(),this[_0x58c3c3(0x125)]=_0x2edf6b,this['_registerIcons']();}[_0x2d565c(0x4d1)](){const _0x4d6184=_0x2d565c;this['disposeWithMe'](this[_0x4d6184(0x125)][_0x4d6184(0x5fe)](N));}};P=M([j(0x0,(0x0,o['Inject'])(s[_0x2d565c(0x582)]))],P);function F(_0xfe21dc){const _0x2989bc=_0x2d565c;let {host:_0x38867f,range:_0x3304fa,workbook:_0x3bd7f1,worksheet:_0x53e853}=_0xfe21dc,_0xff196d=_0x3bd7f1[_0x2989bc(0x2df)]();return(0x0,d[_0x2989bc(0x558)])({'hostUnitId':_0x38867f['unitId'],'unit':{'formulaQualifier':_0x3bd7f1[_0x2989bc(0x54b)],'unitId':_0xff196d},'target':{'kind':d[_0x2989bc(0x3d2)][_0x2989bc(0x65f)],'sheetName':_0x53e853['getName'](),'range':_0x3304fa}});}function I(_0x3d3704){const _0x462408=_0x2d565c;var _0x20ded2;let {fieldIds:_0x22420e,hostUnitId:_0x5150eb,snapshot:_0x3fa97d,sourceUnitId:_0x34162a,tableId:_0x51c63a}=_0x3d3704,_0x9bf681=_0x3fa97d[_0x462408(0x233)][_0x51c63a],_0x580ccd=_0x22420e['map'](_0x5ec0f6=>_0x9bf681==null?void 0x0:_0x9bf681[_0x462408(0x496)][_0x5ec0f6])[_0x462408(0x1fe)](_0x35f59a=>_0x35f59a!=null);return!_0x9bf681||_0x580ccd['length']===0x0?null:(0x0,d[_0x462408(0x558)])({'hostUnitId':_0x5150eb,'unit':{'formulaQualifier':_0x3fa97d[_0x462408(0x54b)],'unitId':_0x34162a},'target':{'kind':d['FormulaReferenceType'][_0x462408(0x62c)],'tableName':_0x9bf681['name'],'columnName':_0x580ccd[0x0][_0x462408(0x54b)],'endColumnName':(_0x20ded2=_0x580ccd['at'](-0x1))==null?void 0x0:_0x20ded2[_0x462408(0x54b)]}});}function L(_0x54c98f){'@babel/helpers - typeof';const _0x1db61d=_0x2d565c;return L=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x1db61d(0x21e)?function(_0x51b05d){return typeof _0x51b05d;}:function(_0x5801d4){const _0x1652ad=_0x1db61d;return _0x5801d4&&typeof Symbol==_0x1652ad(0x23e)&&_0x5801d4[_0x1652ad(0x611)]===Symbol&&_0x5801d4!==Symbol[_0x1652ad(0x3a3)]?'symbol':typeof _0x5801d4;},L(_0x54c98f);}function R(_0x2358c0,_0x4f4731){const _0x13017e=_0x2d565c;if(L(_0x2358c0)!=_0x13017e(0x4a1)||!_0x2358c0)return _0x2358c0;var _0x392c77=_0x2358c0[Symbol[_0x13017e(0x63f)]];if(_0x392c77!==void 0x0){var _0x28eed1=_0x392c77[_0x13017e(0x6a0)](_0x2358c0,_0x4f4731||_0x13017e(0x79a));if(L(_0x28eed1)!=_0x13017e(0x4a1))return _0x28eed1;throw TypeError(_0x13017e(0x2b9));}return(_0x4f4731===_0x13017e(0x6f0)?String:Number)(_0x2358c0);}function ee(_0x2c24ff){const _0x404435=_0x2d565c;var _0x246deb=R(_0x2c24ff,'string');return L(_0x246deb)==_0x404435(0x21e)?_0x246deb:_0x246deb+'';}function z(_0x44886b,_0x40e58b,_0x2c49f0){const _0x5f0f58=_0x2d565c;return(_0x40e58b=ee(_0x40e58b))in _0x44886b?Object[_0x5f0f58(0x32f)](_0x44886b,_0x40e58b,{'value':_0x2c49f0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x44886b[_0x40e58b]=_0x2c49f0,_0x44886b;}var B=class{[_0x2d565c(0x37b)](){const _0x318211=_0x2d565c;return Promise[_0x318211(0x760)](null);}};const te=[[o[_0x2d565c(0x3ca)],null],[o[_0x2d565c(0x7cb)],null],[o[_0x2d565c(0x41c)],null]],V=[[o['IAuthzIoService'],{'useClass':o[_0x2d565c(0x260)]}],[o[_0x2d565c(0x41c)],{'useClass':o[_0x2d565c(0x680)]}]];let H=class extends o[_0x2d565c(0x650)]{constructor(_0x37d470,_0x457cc8,_0x13d3d2,_0x437866){const _0x311c44=_0x2d565c;super(),this[_0x311c44(0x4a4)]=_0x37d470,this['_instanceService']=_0x457cc8,this[_0x311c44(0x183)]=_0x13d3d2,this[_0x311c44(0x348)]=_0x437866,z(this,_0x311c44(0x42d),null),z(this,'_activeUnitId',null),z(this,_0x311c44(0x31b),null),z(this,_0x311c44(0x17d),0x0),z(this,_0x311c44(0x2ac),new o[(_0x311c44(0x285))]()),z(this,_0x311c44(0x1c0),null),z(this,'_host',null),z(this,'_resource',null),z(this,_0x311c44(0x62e),null),z(this,_0x311c44(0x252),null),z(this,_0x311c44(0x1a2),null),z(this,'_visibleReferenceIndexes',[]),z(this,_0x311c44(0x36f),!0x1),z(this,_0x311c44(0x5a6),!0x1),z(this,_0x311c44(0x1a0),null),z(this,'_selectionChangingDisposable',null),z(this,_0x311c44(0x52f),new o[(_0x311c44(0x285))]()),z(this,_0x311c44(0x73c),!0x1),z(this,_0x311c44(0x5a9),0x0);}async['listUnits'](){const _0x1e71f8=_0x2d565c;var _0x433f1a;let _0xf855b9=this[_0x1e71f8(0x79e)](),_0x99c940=(_0x433f1a=this[_0x1e71f8(0x4a4)][_0x1e71f8(0x5b7)](_0x1e71f8(0x475)))==null?void 0x0:_0x433f1a[_0x1e71f8(0x23f)];if(!_0x99c940)return _0xf855b9;try{let _0x3cb2f9=await _0x99c940[_0x1e71f8(0x753)](),_0x46861a=new Set(_0xf855b9[_0x1e71f8(0x5a7)](_0x478abb=>_0x478abb['unitId']));return[..._0xf855b9,..._0x3cb2f9['filter'](_0x165fe7=>!_0x46861a[_0x1e71f8(0x5e6)](_0x165fe7['unitId']))];}catch{return _0xf855b9;}}[_0x2d565c(0x2f6)](_0x1f6e0a){const _0x57a360=_0x2d565c;this[_0x57a360(0x5a9)]+=0x1,!(this[_0x57a360(0x31b)]===_0x1f6e0a&&this['_univer'])&&(this[_0x57a360(0x370)](),this['_container']=_0x1f6e0a,this[_0x57a360(0x42d)]=this[_0x57a360(0xf0)](_0x1f6e0a),this[_0x57a360(0x1a0)]=_0x29849a=>{const _0x222dfa=_0x57a360;this[_0x222dfa(0x5a6)]=_0x29849a[_0x222dfa(0x626)]||_0x29849a[_0x222dfa(0x362)];},_0x1f6e0a[_0x57a360(0x171)]('pointerdown',this[_0x57a360(0x1a0)],!0x0));}async['switchUnit'](_0x2cef87,_0x4fe4ce,_0x13c858){const _0x1aab68=_0x2d565c;var _0x4effae;let _0x4bbace=++this['_generation'],_0x103f88=this[_0x1aab68(0x42d)];if(!_0x103f88)return null;let _0x396038=_0x103f88[_0x1aab68(0x118)]()['get'](o[_0x1aab68(0x28e)]);this[_0x1aab68(0x2ac)]['dispose'](),this[_0x1aab68(0x2ac)]=new o[(_0x1aab68(0x285))](),(_0x4effae=this[_0x1aab68(0x440)])==null||_0x4effae[_0x1aab68(0x5a0)](),this[_0x1aab68(0x440)]=null,this[_0x1aab68(0x52f)]['dispose'](),this[_0x1aab68(0x52f)]=new o[(_0x1aab68(0x285))](),this[_0x1aab68(0x168)]=_0x4fe4ce,this[_0x1aab68(0x24c)]=_0x2cef87,this[_0x1aab68(0x62e)]=_0x13c858,this[_0x1aab68(0x252)]=null,this[_0x1aab68(0x1a2)]=null,this[_0x1aab68(0x727)]=[],this['_isDraggingFormulaSelection']=!0x1,this['_activeUnitId']&&(_0x396038[_0x1aab68(0x6cd)](this['_activeUnitId']),this[_0x1aab68(0x4e1)]=null);let _0x25c894;if(_0x2cef87[_0x1aab68(0x49a)]===o[_0x1aab68(0x6d2)][_0x1aab68(0x236)]){let _0x17dee5=o[_0x1aab68(0x2ba)]['deepClone'](await _0x2cef87[_0x1aab68(0x7c9)]());if(_0x4bbace!==this['_generation']||_0x103f88!==this[_0x1aab68(0x42d)])return null;_0x25c894=_0x103f88[_0x1aab68(0x29c)](_0x2cef87['type'],_0x17dee5);}else{let _0xb44652=o[_0x1aab68(0x2ba)]['deepClone'](await _0x2cef87[_0x1aab68(0x7c9)]());if(_0x4bbace!==this['_generation']||_0x103f88!==this['_univer'])return null;this['_makeBaseSnapshotReadOnly'](_0xb44652),_0xb44652['id']=_0x1aab68(0x594)+_0x2cef87[_0x1aab68(0x2ab)],_0x25c894=_0x103f88[_0x1aab68(0x29c)](_0x2cef87['type'],_0xb44652),this['_setBasePermissionsReadOnly'](_0x103f88,_0x25c894);}return this[_0x1aab68(0x4e1)]=_0x25c894[_0x1aab68(0x2df)](),_0x396038[_0x1aab68(0x224)](_0x25c894[_0x1aab68(0x2df)]()),_0x396038[_0x1aab68(0x706)](_0x25c894[_0x1aab68(0x2df)]()),_0x25c894 instanceof o['Workbook']?(this[_0x1aab68(0x252)]=_0x25c894,this[_0x1aab68(0x494)](_0x103f88,_0x25c894,_0x4fe4ce)):(this[_0x1aab68(0x1a2)]=_0x25c894,this[_0x1aab68(0x323)](_0x103f88,_0x25c894)),this[_0x1aab68(0x1b5)](),_0x25c894;}['_makeBaseSnapshotReadOnly'](_0x4e6796){const _0x4b701c=_0x2d565c;Object[_0x4b701c(0x339)](_0x4e6796[_0x4b701c(0x233)])[_0x4b701c(0x29b)](_0x358b56=>{const _0x278fc9=_0x4b701c;Object['values'](_0x358b56[_0x278fc9(0x496)])[_0x278fc9(0x29b)](_0x447fe4=>{_0x447fe4['readonly']=!0x0;});});}[_0x2d565c(0x274)](_0x1ab29f,_0x454c2b){const _0x8ea8f3=_0x2d565c;let _0x3fd2a6=_0x1ab29f[_0x8ea8f3(0x118)]()[_0x8ea8f3(0x2a0)](c[_0x8ea8f3(0x773)]),_0x2be395=_0x454c2b['getSnapshot']();_0x3fd2a6['setBasePermission'](_0x454c2b[_0x8ea8f3(0x2df)](),{'createTable':!0x1}),Object['values'](_0x2be395[_0x8ea8f3(0x233)])[_0x8ea8f3(0x29b)](_0x4a5e6b=>{const _0x37c12c=_0x8ea8f3;_0x3fd2a6[_0x37c12c(0x1b1)](_0x4a5e6b['id'],{'createField':!0x1,'createRecord':!0x1,'delete':!0x1,'manageView':!0x1}),Object[_0x37c12c(0x339)](_0x4a5e6b[_0x37c12c(0x496)])[_0x37c12c(0x29b)](_0x2a4f29=>{const _0x3883bb=_0x37c12c;_0x3fd2a6[_0x3883bb(0x7b0)](_0x4a5e6b['id'],_0x2a4f29['id'],{'edit':!0x1,'delete':!0x1,'editCell':!0x1});}),Object[_0x37c12c(0x339)](_0x4a5e6b['records'])[_0x37c12c(0x29b)](_0x380cca=>{const _0x50bcf0=_0x37c12c;_0x3fd2a6[_0x50bcf0(0x23b)](_0x4a5e6b['id'],_0x380cca['id'],{'delete':!0x1,'editCell':!0x1});});});}[_0x2d565c(0x382)](_0x1221bf){const _0x4cdecf=_0x2d565c;this['_formulaContext']=_0x1221bf,this[_0x4cdecf(0x73c)]||this[_0x4cdecf(0x1b5)]();}[_0x2d565c(0x173)](){const _0x3913dc=_0x2d565c;this[_0x3913dc(0x5a9)]+=0x1,this[_0x3913dc(0x370)]();}[_0x2d565c(0x659)](){const _0x4eba27=_0x2d565c;let _0x46ca3d=++this[_0x4eba27(0x5a9)];globalThis[_0x4eba27(0x38b)](()=>{const _0x22e62a=_0x4eba27;_0x46ca3d===this[_0x22e62a(0x5a9)]&&this[_0x22e62a(0x370)]();},0x0);}[_0x2d565c(0x370)](){const _0x362d9c=_0x2d565c;var _0x5cc794,_0x3ffdc5;this[_0x362d9c(0x17d)]+=0x1,this[_0x362d9c(0x2ac)]['dispose'](),this[_0x362d9c(0x2ac)]=new o[(_0x362d9c(0x285))](),(_0x5cc794=this['_selectionChangingDisposable'])==null||_0x5cc794[_0x362d9c(0x5a0)](),this[_0x362d9c(0x440)]=null,this[_0x362d9c(0x52f)]['dispose'](),this[_0x362d9c(0x52f)]=new o['DisposableCollection'](),this[_0x362d9c(0x31b)]&&this[_0x362d9c(0x1a0)]&&this[_0x362d9c(0x31b)][_0x362d9c(0x16e)](_0x362d9c(0x21c),this[_0x362d9c(0x1a0)],!0x0),(_0x3ffdc5=this[_0x362d9c(0x42d)])==null||_0x3ffdc5[_0x362d9c(0x5a0)](),this[_0x362d9c(0x42d)]=null,this[_0x362d9c(0x4e1)]=null,this[_0x362d9c(0x31b)]=null,this['_pointerListener']=null,this['_formulaContext']=null,this[_0x362d9c(0x168)]=null,this['_resource']=null,this['_onSelectReferences']=null,this[_0x362d9c(0x252)]=null,this[_0x362d9c(0x1a2)]=null,this['_visibleReferenceIndexes']=[],this[_0x362d9c(0x73c)]=!0x1;}['dispose'](){const _0x1f4bc3=_0x2d565c;this[_0x1f4bc3(0x5a9)]+=0x1,this['_closeNow'](),super['dispose']();}[_0x2d565c(0xf0)](_0x133923){const _0x12ba6c=_0x2d565c;let _0x18de19=this['_configService']['getConfig'](D),_0x767a8a=_0x18de19==null?void 0x0:_0x18de19[_0x12ba6c(0x4dd)],_0x5a5539=this[_0x12ba6c(0x183)][_0x12ba6c(0x1db)](),_0x2903ec=this[_0x12ba6c(0x183)][_0x12ba6c(0x7bd)](),_0x4ad871=new o[(_0x12ba6c(0x37c))]({'locale':_0x5a5539,..._0x2903ec?{'locales':{[_0x5a5539]:_0x2903ec}}:null,'direction':this[_0x12ba6c(0x183)][_0x12ba6c(0x1f0)](),'theme':this[_0x12ba6c(0x348)][_0x12ba6c(0x250)](),'darkMode':this['_themeService'][_0x12ba6c(0x41f)],'override':te}),_0x1b48f4=this[_0x12ba6c(0x4a4)][_0x12ba6c(0x5b7)](i[_0x12ba6c(0x669)]);return _0x1b48f4&&_0x4ad871['registerPlugin'](i['UniverLicensePlugin'],{'license':_0x1b48f4['ls']}),_0x767a8a&&_0x4ad871[_0x12ba6c(0x482)](g[_0x12ba6c(0x5ba)],{'workerURL':_0x767a8a}),_0x4ad871['registerPlugin'](h[_0x12ba6c(0x4d8)]),_0x4ad871[_0x12ba6c(0x482)](s[_0x12ba6c(0x158)],{'container':_0x133923,'contextMenu':!0x1,'disableAutoFocus':!0x0,'footer':!0x0,'header':!0x1,'headerMenu':!0x1,'toolbar':!0x1}),_0x4ad871['registerPlugin'](d[_0x12ba6c(0x2bf)],{'notExecuteFormula':!!_0x767a8a}),_0x4ad871['registerPlugin'](f[_0x12ba6c(0x489)]),_0x4ad871[_0x12ba6c(0x482)](p[_0x12ba6c(0x46a)]),_0x4ad871[_0x12ba6c(0x482)](_[_0x12ba6c(0x2e3)]),_0x4ad871['registerPlugin'](v['UniverSheetsFormulaPlugin']),_0x4ad871['registerPlugin'](b[_0x12ba6c(0x4cb)],{'disableAutoFocus':!0x0,'disableEdit':!0x0,'footer':{'addSheetButtonConfig':{'show':!0x1},'menus':!0x1,'sheetBar':!0x0,'statisticBar':!0x1,'zoomSlider':!0x1},'formulaBar':!0x1}),_0x4ad871[_0x12ba6c(0x482)](y[_0x12ba6c(0x66f)],{'functionScreenTips':!0x1,'menu':{}}),_0x4ad871[_0x12ba6c(0x482)](u[_0x12ba6c(0x1fd)],{'socketService':B,'enableCollaboration':!0x1,'override':V}),_0x4ad871['registerPlugin'](c[_0x12ba6c(0x499)]),_0x4ad871['registerPlugin'](l[_0x12ba6c(0x437)],{'disableEdit':!0x0,'override':[[l[_0x12ba6c(0x162)],{'useValue':(0x0,l[_0x12ba6c(0x45d)])(_0x133923)}]],'workbench':{'collaborationStatus':!0x1,'footer':!0x1,'fallbackToFirstUnit':!0x0,'global':!0x1,'header':!0x1,'headerMenu':!0x1,'leftSidebar':!0x0,'mobile':!0x1,'rightSidebar':!0x1,'route':!0x1}}),_0x4ad871;}['_observeSheetSelection'](_0x467fe6,_0xbfe6b3,_0x3739dc){const _0x17a779=_0x2d565c;let _0x3b7b8d=_0x467fe6['__getInjector']()[_0x17a779(0x2a0)](h[_0x17a779(0x3e3)]),_0x48a953=()=>{const _0x18aa18=_0x17a779;var _0x111b37,_0x9d365e;let _0x27e398=(_0x111b37=_0x3b7b8d[_0x18aa18(0x19b)](_0xbfe6b3[_0x18aa18(0x2df)]()))==null?void 0x0:_0x111b37['with'](y['RefSelectionsRenderService']);_0x27e398&&((_0x9d365e=this[_0x18aa18(0x440)])==null||_0x9d365e[_0x18aa18(0x5a0)](),this[_0x18aa18(0x440)]=_0x27e398['enableSelectionChanging'](),this[_0x18aa18(0x2ac)][_0x18aa18(0xb9)](_0x27e398[_0x18aa18(0x467)][_0x18aa18(0x600)](_0xb2fdf=>{const _0x3db94c=_0x18aa18;this[_0x3db94c(0x44b)](_0xbfe6b3,_0x3739dc,_0xb2fdf),this[_0x3db94c(0x5a6)]=!0x1;})),this[_0x18aa18(0x1b5)]());};_0x48a953(),this[_0x17a779(0x2ac)][_0x17a779(0xb9)](_0x3b7b8d[_0x17a779(0x316)]['subscribe'](_0x18da6a=>{const _0xab0528=_0x17a779;_0x18da6a[_0xab0528(0x2ab)]===_0xbfe6b3[_0xab0528(0x2df)]()&&_0x48a953();})),this[_0x17a779(0x2ac)][_0x17a779(0xb9)](_0xbfe6b3['activeSheet$'][_0x17a779(0x600)](()=>{const _0xf418d7=_0x17a779;queueMicrotask(()=>this[_0xf418d7(0x1b5)]());}));}[_0x2d565c(0x323)](_0x4d5c4b,_0x1d58df){const _0x23812f=_0x2d565c;var _0x4b15a4,_0xec03a4,_0x328f42,_0xd0f6fd;let _0x1c3984=_0x4d5c4b['__getInjector']()[_0x23812f(0x2a0)](l[_0x23812f(0x265)]),_0x9e5f24=_0x4d5c4b[_0x23812f(0x118)]()[_0x23812f(0x2a0)](c[_0x23812f(0x3b0)]),_0x36322a=_0x1d58df['getSnapshot'](),_0x486fab=(_0x4b15a4=_0x36322a[_0x23812f(0x275)][0x0])==null?Object['keys'](_0x36322a[_0x23812f(0x233)])[0x0]:_0x4b15a4,_0xe95c34=_0x486fab?_0x36322a['tables'][_0x486fab]:void 0x0,_0x1ae26a=(_0xec03a4=_0xe95c34==null||(_0x328f42=_0xe95c34[_0x23812f(0x512)])==null?void 0x0:_0x328f42[0x0])==null?Object[_0x23812f(0xc8)]((_0xd0f6fd=_0xe95c34==null?void 0x0:_0xe95c34[_0x23812f(0x633)])==null?{}:_0xd0f6fd)[0x0]:_0xec03a4;_0x486fab&&_0x1c3984[_0x23812f(0xce)](_0x486fab),_0x1ae26a&&_0x1c3984['activateView'](_0x1ae26a),this[_0x23812f(0x2ac)][_0x23812f(0xb9)](_0x1c3984['state$'][_0x23812f(0x600)](_0x27e4f3=>{const _0x37ea21=_0x23812f;this[_0x37ea21(0x602)](_0x27e4f3,_0x1d58df,_0x9e5f24);}));}[_0x2d565c(0x602)](_0x47cb7d,_0x4606eb,_0x55747d){const _0x1f48fd=_0x2d565c;var _0xc32a2d,_0x1af886,_0x110fcf,_0x3e59e2,_0xf56f03,_0x2a9b7c;let _0x3a156f=this[_0x1f48fd(0x412)]();if(!_0x3a156f)return;let {host:_0x3f1e19,resource:_0x129e18}=_0x3a156f,_0x377bb3=(_0xc32a2d=(_0x1af886=_0x47cb7d[_0x1f48fd(0x6c6)])==null?void 0x0:_0x1af886[_0x1f48fd(0x21f)])==null?_0x47cb7d[_0x1f48fd(0x310)]:_0xc32a2d,_0x18f23a=_0x377bb3?_0x4606eb[_0x1f48fd(0x7b3)]()[_0x1f48fd(0x233)][_0x377bb3]:void 0x0,_0x4d4ec6=(_0x110fcf=(_0x3e59e2=_0x47cb7d[_0x1f48fd(0x6c6)])==null?void 0x0:_0x3e59e2[_0x1f48fd(0x354)])==null?_0x47cb7d[_0x1f48fd(0x629)]:_0x110fcf;if(!_0x377bb3||!_0x4d4ec6||!_0x18f23a||!_0x47cb7d['selection'])return;let _0x49abf9=_0x55747d['getProjection'](_0x4606eb[_0x1f48fd(0x7b3)](),_0x377bb3,_0x4d4ec6),_0x2f1db8=(0x0,l[_0x1f48fd(0x3da)])(_0x47cb7d[_0x1f48fd(0x6c6)],_0x49abf9),_0xcfd25f=_0x2f1db8&&I({'fieldIds':_0x2f1db8['fieldIds'],'hostUnitId':_0x3f1e19['unitId'],'snapshot':_0x4606eb[_0x1f48fd(0x7b3)](),'sourceUnitId':_0x129e18[_0x1f48fd(0x2ab)],'tableId':_0x377bb3});if(!_0xcfd25f)return;let _0x278bb8=this[_0x1f48fd(0x5a6)]&&this['_visibleReferenceIndexes']['length']>0x0,_0x3887a0=(_0xf56f03=this[_0x1f48fd(0x1c0)])==null||(_0xf56f03=_0xf56f03[_0x1f48fd(0xbf)][_0x1f48fd(0x1f1)](_0x4d2d9f=>_0x4d2d9f['index']===this[_0x1f48fd(0x727)][0x0]))==null?void 0x0:_0xf56f03[_0x1f48fd(0x788)];(_0x2a9b7c=this[_0x1f48fd(0x62e)])==null||_0x2a9b7c[_0x1f48fd(0x6a0)](this,{'references':_0x278bb8&&_0x3887a0?[_0x3887a0,_0xcfd25f]:[_0xcfd25f],'visibleReferenceIndexes':this['_visibleReferenceIndexes'],'isCtrlAddMode':_0x278bb8,'externalReference':this['_createExternalReference'](_0x3f1e19,_0x129e18)}),this[_0x1f48fd(0x5a6)]=!0x1;}['_getBaseReferenceSource'](){const _0x159f0d=_0x2d565c;return this['_host']&&this[_0x159f0d(0x24c)]&&!this[_0x159f0d(0x36f)]&&this[_0x159f0d(0x532)]()?{'host':this[_0x159f0d(0x168)],'resource':this['_resource']}:null;}[_0x2d565c(0x44b)](_0x3922cc,_0x60c8b1,_0x19406e){const _0x168057=_0x2d565c;var _0x37c439;if(!this[_0x168057(0x532)]())return;let _0x51e376=_0x3922cc[_0x168057(0x163)]();if(!_0x51e376)return;let _0x437c8a=_0x19406e[_0x168057(0x5a7)](_0x3062b6=>F({'host':_0x60c8b1,'range':_0x3062b6[_0x168057(0x1f4)],'workbook':_0x3922cc,'worksheet':_0x51e376}));(_0x37c439=this[_0x168057(0x62e)])==null||_0x37c439[_0x168057(0x6a0)](this,{'references':_0x437c8a,'visibleReferenceIndexes':this[_0x168057(0x727)],'isCtrlAddMode':this['_pointerCtrlKey']&&_0x437c8a[_0x168057(0x435)]>this[_0x168057(0x727)][_0x168057(0x435)],'externalReference':this[_0x168057(0x24c)]?this['_createExternalReference'](_0x60c8b1,this[_0x168057(0x24c)]):void 0x0});}[_0x2d565c(0x1b5)](){const _0x1d1381=_0x2d565c;this['_activeWorkbook']?this[_0x1d1381(0x48c)](this[_0x1d1381(0x252)]):this[_0x1d1381(0x1a2)]&&this['_refreshBaseFormulaSelection'](this[_0x1d1381(0x1a2)]);}['_refreshSheetFormulaSelections'](_0x22f05c){const _0x39684a=_0x2d565c;var _0x8f0cf0;let _0x477f8c=this[_0x39684a(0x42d)],_0x5ce767=this[_0x39684a(0x1c0)],_0x342fff=this['_host'],_0x342b6a=this['_resource'],_0x1c40d6=_0x22f05c[_0x39684a(0x163)]();if(!_0x477f8c||!_0x5ce767||!_0x342fff||!_0x342b6a||!_0x1c40d6)return;let _0xdd0b5e=_0x477f8c[_0x39684a(0x118)](),_0x1ac43a=(_0x8f0cf0=_0xdd0b5e[_0x39684a(0x2a0)](h[_0x39684a(0x3e3)])[_0x39684a(0x19b)](_0x22f05c[_0x39684a(0x2df)]()))==null?void 0x0:_0x8f0cf0[_0x39684a(0x45e)](y[_0x39684a(0x525)]);if(!_0x1ac43a)return;let _0x39e787=[],_0x379188=[];for(let _0x45d749 of _0x5ce767[_0x39684a(0xbf)]){if(_0x45d749['nodeType']!==m['sequenceNodeType'][_0x39684a(0x120)])continue;let _0x203617=(0x0,m['deserializeRangeWithSheet'])(_0x45d749[_0x39684a(0x788)]);if(!this[_0x39684a(0x5bd)](_0x203617[_0x39684a(0x2ab)],_0x203617[_0x39684a(0xbd)],_0x22f05c,_0x1c40d6[_0x39684a(0x4cc)](),_0x342fff))continue;let _0x423f4a=(0x0,_['setEndForRange'])(_0x203617[_0x39684a(0x567)],_0x1c40d6['getRowCount'](),_0x1c40d6[_0x39684a(0x335)]());_0x423f4a[_0x39684a(0x2ab)]=_0x22f05c[_0x39684a(0x2df)](),_0x423f4a['sheetId']=_0x1c40d6['getSheetId'](),_0x39e787[_0x39684a(0x40b)]({'range':_0x423f4a,'primary':null,'style':(0x0,y['genFormulaRefSelectionStyle'])(this['_themeService'],_0x45d749[_0x39684a(0x1de)],_0x45d749[_0x39684a(0x2fd)]['toString']())}),_0x379188[_0x39684a(0x40b)](_0x45d749['index']);}this['_visibleReferenceIndexes']=_0x379188;let _0x4be683=this[_0x39684a(0x12c)]();_0xdd0b5e['get'](o[_0x39684a(0x5e2)])['setContextValue'](_[_0x39684a(0x615)],_0x4be683!=null&&_0x4be683[_0x39684a(0x62f)]!==_0x39684a(0x591)),_0xdd0b5e['get'](_['IRefSelectionsService'])[_0x39684a(0x4b4)](_0x22f05c[_0x39684a(0x2df)](),_0x1c40d6['getSheetId'](),_0x39e787);let _0x34a09e=_0x4be683?_0x379188[_0x39684a(0x242)](_0x4be683[_0x39684a(0x2cb)]):-0x1;if(_0x34a09e>=0x0?_0x1ac43a[_0x39684a(0x587)](_0x34a09e):_0x39e787[_0x39684a(0x435)]?_0x1ac43a[_0x39684a(0x587)](_0x39e787[_0x39684a(0x435)]-0x1):_0x1ac43a[_0x39684a(0x497)](),_0x1ac43a[_0x39684a(0x237)]((_0x4be683==null?void 0x0:_0x4be683[_0x39684a(0x62f)])===_0x39684a(0xb9)),(_0x4be683==null?void 0x0:_0x4be683[_0x39684a(0x62f)])===_0x39684a(0x591)){var _0x3baf41;(_0x3baf41=this['_selectionChangingDisposable'])==null||_0x3baf41[_0x39684a(0x5a0)](),this[_0x39684a(0x440)]=null,_0x1ac43a['disableSelectionChanging']();}else this['_selectionChangingDisposable']||(this[_0x39684a(0x440)]=_0x1ac43a['enableSelectionChanging']());queueMicrotask(()=>this[_0x39684a(0x71a)](_0x1ac43a,_0x22f05c,_0x342fff));}['_refreshBaseFormulaSelection'](_0x2df20d){const _0x4ca60d=_0x2d565c;var _0x3eae4e,_0x584c48,_0x517092;let _0x16aa6a=this['_formulaContext'],_0x48f58a=this[_0x4ca60d(0x24c)],_0x3e6e02=this['_univer'];if(!_0x16aa6a||!_0x48f58a||!_0x3e6e02)return;let _0x31b8e7=_0x3e6e02[_0x4ca60d(0x118)]()[_0x4ca60d(0x2a0)](l[_0x4ca60d(0x265)]),_0x5900c2=_0x31b8e7[_0x4ca60d(0x7b1)](),_0x3af4a0=_0x2df20d[_0x4ca60d(0x7b3)](),_0x56d0e4=_0x5900c2['activeTableId'],_0x34c949=_0x5900c2['activeViewId'],_0x4918d3=_0x56d0e4?_0x3af4a0[_0x4ca60d(0x233)][_0x56d0e4]:void 0x0;if(!_0x56d0e4||!_0x34c949||!_0x4918d3)return;let _0x415248=_0x16aa6a['refSelections'][_0x4ca60d(0x1fe)](_0x32872b=>{const _0x267527=_0x4ca60d;var _0x116aba;if(_0x32872b[_0x267527(0x577)]!==m[_0x267527(0x39f)][_0x267527(0x6bb)])return!0x1;let _0x22baff=(0x0,m['splitTableStructuredRef'])(_0x32872b[_0x267527(0x788)]);return this[_0x267527(0x367)](_0x22baff[_0x267527(0x667)],_0x48f58a,_0x48f58a['unitId']===((_0x116aba=this[_0x267527(0x168)])==null?void 0x0:_0x116aba[_0x267527(0x2ab)]))&&_0x22baff[_0x267527(0x682)]===_0x4918d3[_0x267527(0x54b)];}),_0x1c73d0=this[_0x4ca60d(0x12c)](),_0x4d10bf=(_0x3eae4e=_0x415248[_0x4ca60d(0x1f1)](_0x17526a=>_0x17526a[_0x4ca60d(0x3e8)]===(_0x1c73d0==null?void 0x0:_0x1c73d0[_0x4ca60d(0x2cb)])))==null?_0x415248[0x0]:_0x3eae4e;if(this[_0x4ca60d(0x727)]=_0x4d10bf?[_0x4d10bf['index']]:[],!_0x4d10bf)return;let {columnStruct:_0x4b0581}=(0x0,m[_0x4ca60d(0x2e2)])(_0x4d10bf['token']),_0x2b6826=Array[_0x4ca60d(0x4b8)](_0x4b0581[_0x4ca60d(0x47f)](/\[([^\[\]#][^\]]*)\]/g),_0x3a5327=>_0x3a5327[0x1]),_0x182851=Object[_0x4ca60d(0x339)](_0x4918d3[_0x4ca60d(0x496)])[_0x4ca60d(0x1f1)](_0x5d0a4d=>_0x5d0a4d[_0x4ca60d(0x54b)]===_0x2b6826[0x0]),_0x185904=Object[_0x4ca60d(0x339)](_0x4918d3['fields'])[_0x4ca60d(0x1f1)](_0x589c6a=>_0x589c6a['name']===_0x2b6826['at'](-0x1)),_0x385377=_0x3e6e02[_0x4ca60d(0x118)]()['get'](c[_0x4ca60d(0x3b0)])[_0x4ca60d(0x66d)](_0x3af4a0,_0x56d0e4,_0x34c949);if(!_0x182851||!_0x185904||_0x385377[_0x4ca60d(0x49a)]!==_0x4ca60d(0x1fa))return;let _0x32a699=(_0x584c48=_0x385377[_0x4ca60d(0x771)][0x0])==null?void 0x0:_0x584c48[_0x4ca60d(0x1f5)],_0x23ecd2=(_0x517092=_0x385377['rows']['at'](-0x1))==null?void 0x0:_0x517092['recordId'];if(!_0x32a699||!_0x23ecd2)return;let _0x58aa4d={'type':_0x4ca60d(0x510),'tableId':_0x56d0e4,'viewId':_0x34c949,'recordId':_0x32a699,'fieldId':_0x182851['id'],'mode':_0x4ca60d(0x14e),'anchorRecordId':_0x32a699,'focusRecordId':_0x23ecd2,'anchorFieldId':_0x182851['id'],'focusFieldId':_0x185904['id'],'showBorder':!0x0};this['_isApplyingBaseHighlight']=!0x0,_0x31b8e7[_0x4ca60d(0x6ec)](_0x58aa4d),this['_isApplyingBaseHighlight']=!0x1;}[_0x2d565c(0x71a)](_0x2e46ee,_0xcbc691,_0x4f3be2){const _0x322607=_0x2d565c;this[_0x322607(0x52f)][_0x322607(0x5a0)](),this[_0x322607(0x52f)]=new o['DisposableCollection'](),_0x2e46ee[_0x322607(0xf7)]()[_0x322607(0x29b)]((_0x2b7f0b,_0x48e79a)=>{const _0x3e989b=_0x322607;let _0x6ca41d=_0x431329=>{const _0x514164=_0x1c0f;var _0x333bf1;this[_0x514164(0x73c)]=!0x0;let _0x34932c=_0xcbc691[_0x514164(0x163)]();if(!_0x34932c)return;let _0x1a388b=_0x2e46ee[_0x514164(0x4ca)]()[_0x514164(0x5a7)]((_0x3728b3,_0x3ec4bf)=>F({'host':_0x4f3be2,'range':_0x3ec4bf===_0x48e79a?_0x431329:_0x3728b3[_0x514164(0x1f4)],'workbook':_0xcbc691,'worksheet':_0x34932c}));(_0x333bf1=this[_0x514164(0x62e)])==null||_0x333bf1[_0x514164(0x6a0)](this,{'references':_0x1a388b,'visibleReferenceIndexes':this[_0x514164(0x727)],'activeReferenceIndex':this[_0x514164(0x727)][_0x48e79a],'isCtrlAddMode':!0x1,'externalReference':this[_0x514164(0x24c)]?this[_0x514164(0x642)](_0x4f3be2,this['_resource']):void 0x0});};this[_0x3e989b(0x52f)][_0x3e989b(0xb9)](_0x2b7f0b[_0x3e989b(0x245)][_0x3e989b(0x600)](_0x6ca41d)),this[_0x3e989b(0x52f)]['add'](_0x2b7f0b[_0x3e989b(0x226)][_0x3e989b(0x600)](_0x6ca41d)),this[_0x3e989b(0x52f)][_0x3e989b(0xb9)](_0x2b7f0b[_0x3e989b(0x6f1)][_0x3e989b(0x600)](_0x946b66=>{const _0x28ed02=_0x3e989b;_0x946b66&&_0x6ca41d(_0x946b66),this[_0x28ed02(0x73c)]=!0x1;})),this[_0x3e989b(0x52f)][_0x3e989b(0xb9)](_0x2b7f0b[_0x3e989b(0x467)]['subscribe'](_0x3b81da=>{const _0xc6453=_0x3e989b;_0x6ca41d(_0x3b81da),this[_0xc6453(0x73c)]=!0x1;}));});}['_getEditingContext'](){const _0x5a2947=_0x2d565c;let _0x5be376=this['_formulaContext'];if(!_0x5be376)return null;let _0x571167=+!!_0x5be376[_0x5a2947(0x658)][_0x5a2947(0x732)]('='),_0x98b167=_0x5be376[_0x5a2947(0x658)][_0x5a2947(0x172)](_0x571167),_0x383f4b=Math[_0x5a2947(0x141)](0x0,_0x5be376[_0x5a2947(0x228)]-_0x571167),_0x19e249=Math[_0x5a2947(0x141)](_0x383f4b,_0x5be376[_0x5a2947(0x641)]-_0x571167),_0xaa2cb6=_0x5be376[_0x5a2947(0xbf)][_0x5a2947(0x1f1)](_0x15dda1=>_0x19e249>_0x383f4b?_0x15dda1[_0x5a2947(0x4d9)]<_0x19e249&&_0x15dda1['endIndex']+0x1>_0x383f4b:_0x383f4b>_0x15dda1['startIndex']&&_0x383f4b<=_0x15dda1[_0x5a2947(0x6e4)]+0x1);return _0xaa2cb6?{'mode':_0x5a2947(0x3f8),'nodeIndex':_0xaa2cb6[_0x5a2947(0x2fd)],'referenceIndex':_0xaa2cb6[_0x5a2947(0x3e8)],'offset':_0x383f4b}:(0x0,m[_0x5a2947(0x4f8)])({'formulaText':_0x98b167,'sequenceNodes':_0x5be376['sequenceNodes'],'offset':_0x383f4b,'selectionStart':_0x383f4b,'selectionEnd':_0x19e249});}['_canSelectFormulaReference'](){const _0x269e05=_0x2d565c;let _0x2e6af4=this[_0x269e05(0x12c)]();return _0x2e6af4!=null&&_0x2e6af4[_0x269e05(0x62f)]!==_0x269e05(0x591);}[_0x2d565c(0x5bd)](_0x17373f,_0x36202c,_0x2fed17,_0x1e8d05,_0x205986){const _0x39ce99=_0x2d565c;var _0x1f0bf9;let _0x174643=this[_0x39ce99(0x24c)];return!_0x174643||!this[_0x39ce99(0x367)](_0x17373f,_0x174643,_0x2fed17[_0x39ce99(0x2df)]()===_0x205986[_0x39ce99(0x2ab)])?!0x1:_0x36202c?_0x36202c===_0x1e8d05:_0x2fed17['getUnitId']()===_0x205986['unitId']&&((_0x1f0bf9=_0x2fed17[_0x39ce99(0x163)]())==null?void 0x0:_0x1f0bf9['getSheetId']())===_0x205986[_0x39ce99(0x57b)];}[_0x2d565c(0x367)](_0x58cb86,_0x13e455,_0x214fe9){const _0x2d5197=_0x2d565c;if(!_0x58cb86)return _0x214fe9;let _0x3230a9=_0x58cb86[_0x2d5197(0x50f)]();return _0x3230a9===_0x13e455[_0x2d5197(0x2ab)]['toLocaleLowerCase']()||_0x3230a9===_0x13e455[_0x2d5197(0x54b)][_0x2d5197(0x50f)]();}['_createExternalReference'](_0x54948f,_0x324ae0){const _0x3ebcc4=_0x2d565c;if(_0x324ae0['unitId']!==_0x54948f[_0x3ebcc4(0x2ab)])return{'qualifier':_0x324ae0[_0x3ebcc4(0x54b)],'sourceUnitId':_0x324ae0['unitId'],'sourceUnitType':_0x324ae0['type']};}['_listLoadedUnits'](){const _0x2ec22c=_0x2d565c;let _0x10341f=this[_0x2ec22c(0x66c)]['getAllUnitsForType'](o['UniverInstanceType'][_0x2ec22c(0x236)])[_0x2ec22c(0x5a7)](_0x5c3b5b=>({'unitId':_0x5c3b5b['getUnitId'](),'name':_0x5c3b5b[_0x2ec22c(0x54b)],'type':o[_0x2ec22c(0x6d2)][_0x2ec22c(0x236)],'loadSnapshot':async()=>_0x5c3b5b[_0x2ec22c(0x7b3)]()})),_0x3cd340=this['_instanceService']['getAllUnitsForType'](o[_0x2ec22c(0x6d2)]['UNIVER_BASE'])[_0x2ec22c(0x5a7)](_0x40bf83=>({'unitId':_0x40bf83[_0x2ec22c(0x2df)](),'name':_0x40bf83[_0x2ec22c(0x7b3)]()[_0x2ec22c(0x54b)],'type':o[_0x2ec22c(0x6d2)][_0x2ec22c(0x72f)],'loadSnapshot':async()=>_0x40bf83[_0x2ec22c(0x7b3)]()}));return[..._0x10341f,..._0x3cd340];}};H=M([j(0x0,o['IConfigService']),j(0x1,o[_0x2d565c(0x28e)]),j(0x2,(0x0,o[_0x2d565c(0x6f4)])(o[_0x2d565c(0xe5)])),j(0x3,(0x0,o['Inject'])(o['ThemeService']))],H);let U=class extends o[_0x2d565c(0x15c)]{constructor(_0x2de08a=O,_0xb3e44e,_0x57cd8e){const _0x3860c5=_0x2d565c;super(),this[_0x3860c5(0x2f9)]=_0x2de08a,this[_0x3860c5(0x7a2)]=_0xb3e44e,this[_0x3860c5(0x4a4)]=_0x57cd8e;let {..._0x316cb0}=(0x0,o[_0x3860c5(0x164)])({},O,this[_0x3860c5(0x4a4)][_0x3860c5(0x5b7)](D),this['_config']);this['_configService'][_0x3860c5(0x471)](D,_0x316cb0);}[_0x2d565c(0x57e)](){const _0x215321=_0x2d565c;this['_injector'][_0x215321(0xb9)]([H]),this[_0x215321(0x7a2)]['add']([P]),this[_0x215321(0x7a2)][_0x215321(0x2a0)](P);}};function _0x1c0f(_0x20f2ea,_0xc88931){_0x20f2ea=_0x20f2ea-0xb8;const _0x4abbb9=_0x4abb();let _0x1c0f22=_0x4abbb9[_0x20f2ea];return _0x1c0f22;}z(U,'type',o['UniverInstanceType'][_0x2d565c(0x654)]),z(U,_0x2d565c(0x562),_0x2d565c(0x1c9)),z(U,_0x2d565c(0x2cd),k),z(U,_0x2d565c(0xd0),A),U=M([(0x0,o[_0x2d565c(0x2a9)])(i[_0x2d565c(0x73b)],s[_0x2d565c(0x158)],a[_0x2d565c(0x35d)]),j(0x1,(0x0,o[_0x2d565c(0x6f4)])(o[_0x2d565c(0x3fb)])),j(0x2,o[_0x2d565c(0x3e9)])],U);function ne(_0x357a83){const _0x30de1b=_0x2d565c;var _0x1bc2ea;let _0x593928=+!!_0x357a83['formula'][_0x30de1b(0x732)]('='),_0x2cbfbd=_0x357a83[_0x30de1b(0x658)][_0x30de1b(0x172)](_0x593928),_0x27073b=Math[_0x30de1b(0x141)](0x0,_0x357a83[_0x30de1b(0x228)]-_0x593928),_0x4d025e=Math[_0x30de1b(0x141)](_0x27073b,_0x357a83[_0x30de1b(0x641)]-_0x593928),_0x29ee2d=(_0x1bc2ea=_0x357a83[_0x30de1b(0x25c)])==null?G(_0x357a83[_0x30de1b(0x581)]):_0x1bc2ea,_0xd02963=ae(_0x29ee2d,_0x27073b,_0x4d025e),_0x4ba926=_0x357a83[_0x30de1b(0x6ee)][_0x30de1b(0x122)]==null?void 0x0:_0x29ee2d[_0x30de1b(0x1f1)](_0x46e500=>_0x46e500[_0x30de1b(0x3e8)]===_0x357a83[_0x30de1b(0x6ee)][_0x30de1b(0x122)]),_0x5e6a29=_0x4ba926==null?_0xd02963:_0x4ba926,_0x358574=_0x5e6a29?{'mode':_0x30de1b(0x3f8),'referenceIndex':_0x5e6a29[_0x30de1b(0x3e8)],'offset':_0x27073b}:(0x0,m[_0x30de1b(0x4f8)])({'formulaText':_0x2cbfbd,'sequenceNodes':_0x357a83[_0x30de1b(0x581)],'offset':_0x27073b,'selectionStart':_0x27073b,'selectionEnd':_0x4d025e});if(_0x358574[_0x30de1b(0x62f)]===_0x30de1b(0x591)||_0x357a83[_0x30de1b(0x6ee)][_0x30de1b(0x5de)][_0x30de1b(0x435)]===0x0)return null;let _0x1a38ca=_0x357a83[_0x30de1b(0x6ee)]['visibleReferenceIndexes'][_0x30de1b(0x435)],_0x7a5f6b=_0x357a83[_0x30de1b(0x6ee)][_0x30de1b(0x5de)][_0x30de1b(0x435)]>_0x1a38ca,_0x376be9=_0x7a5f6b?_0x357a83[_0x30de1b(0x6ee)][_0x30de1b(0x5de)]['at'](-0x1):void 0x0;if(_0x358574['mode']==='add'){let _0x5d6f88=_0x376be9==null?_0x357a83[_0x30de1b(0x6ee)][_0x30de1b(0x5de)]['at'](-0x1):_0x376be9;return _0x5d6f88?ie(''+_0x2cbfbd[_0x30de1b(0x172)](0x0,_0x27073b)+_0x5d6f88+_0x2cbfbd['slice'](_0x4d025e),_0x593928+_0x27073b+_0x5d6f88[_0x30de1b(0x435)]):null;}return W({'additionalReference':_0x376be9,'change':_0x357a83['change'],'formulaText':_0x2cbfbd,'hasAdditionalReference':_0x7a5f6b,'leadingCharacterLength':_0x593928,'referenceIndex':_0x358574[_0x30de1b(0x2cb)],'referenceSelections':_0x29ee2d});}function re(_0x37cf24){const _0x2a477c=_0x2d565c;let _0x576c64=_0x37cf24[_0x2a477c(0x167)]();return _0x576c64&&!_0x576c64[_0x2a477c(0x732)]('=')?'='+_0x576c64:_0x576c64;}function ie(_0x4023cd,_0x16083f){return{'formula':'='+_0x4023cd,'selectionStart':_0x16083f,'selectionEnd':_0x16083f};}function ae(_0x1873d5,_0x3efcf1,_0x5dea5d){const _0x38878b=_0x2d565c;return _0x1873d5[_0x38878b(0x1f1)](_0x39b24e=>_0x5dea5d>_0x3efcf1?_0x39b24e[_0x38878b(0x4d9)]<_0x5dea5d&&_0x39b24e[_0x38878b(0x6e4)]+0x1>_0x3efcf1:_0x3efcf1>_0x39b24e[_0x38878b(0x4d9)]&&_0x3efcf1<=_0x39b24e['endIndex']+0x1);}function W(_0x14045b){const _0x4ca208=_0x2d565c;let _0x532668=new Map(),_0x35905d=_0x14045b['hasAdditionalReference']?_0x14045b[_0x4ca208(0x6ee)][_0x4ca208(0x5de)][_0x4ca208(0x172)](0x0,-0x1):_0x14045b[_0x4ca208(0x6ee)][_0x4ca208(0x5de)];_0x14045b[_0x4ca208(0x6ee)][_0x4ca208(0x124)]['forEach']((_0x1e275f,_0x1c8a9d)=>{const _0x52980a=_0x4ca208;let _0x1a6668=_0x35905d[_0x1c8a9d];_0x1a6668&&_0x532668[_0x52980a(0x66a)](_0x1e275f,_0x1a6668);});let _0x581fb2=_0x532668[_0x4ca208(0x2a0)](_0x14045b[_0x4ca208(0x2cb)]);if(_0x14045b[_0x4ca208(0x6ee)][_0x4ca208(0x560)]&&_0x14045b[_0x4ca208(0x4c8)]){var _0x27b804,_0x55a319;let _0x34dd8e=(_0x27b804=(_0x55a319=_0x14045b['referenceSelections'][_0x4ca208(0x1f1)](_0xb23137=>_0xb23137[_0x4ca208(0x3e8)]===_0x14045b[_0x4ca208(0x2cb)]))==null?void 0x0:_0x55a319[_0x4ca208(0x788)])==null?'':_0x27b804;_0x532668['set'](_0x14045b[_0x4ca208(0x2cb)],(_0x581fb2==null?_0x34dd8e:_0x581fb2)+','+_0x14045b[_0x4ca208(0x4c8)]);}let _0x3e9b90='',_0x3e1236=0x0,_0x41e9e0=_0x14045b[_0x4ca208(0x2ee)];for(let _0x1b77f3 of _0x14045b[_0x4ca208(0x25c)]){var _0x2887c3;_0x3e9b90+=_0x14045b['formulaText']['slice'](_0x3e1236,_0x1b77f3['startIndex']),_0x3e9b90+=(_0x2887c3=_0x532668['get'](_0x1b77f3[_0x4ca208(0x3e8)]))==null?_0x1b77f3[_0x4ca208(0x788)]:_0x2887c3,_0x3e1236=_0x1b77f3[_0x4ca208(0x6e4)]+0x1,_0x1b77f3['index']===_0x14045b[_0x4ca208(0x2cb)]&&(_0x41e9e0=_0x14045b[_0x4ca208(0x2ee)]+_0x3e9b90[_0x4ca208(0x435)]);}return _0x3e9b90+=_0x14045b[_0x4ca208(0x2e7)][_0x4ca208(0x172)](_0x3e1236),ie(_0x3e9b90,_0x41e9e0);}function G(_0xdabf22){const _0x404ad0=_0x2d565c;let _0x1efe15=[],_0x449b8b=-0x1;return _0xdabf22[_0x404ad0(0x29b)]((_0x17d6cc,_0x4ba68d)=>{const _0x579cef=_0x404ad0;typeof _0x17d6cc!=_0x579cef(0x6f0)&&oe(_0x17d6cc['nodeType'])&&(_0x449b8b+=0x1,_0x1efe15[_0x579cef(0x40b)]({'refIndex':_0x4ba68d,'themeColor':'','token':_0x17d6cc['token'],'nodeType':_0x17d6cc['nodeType'],'startIndex':_0x17d6cc[_0x579cef(0x4d9)],'endIndex':_0x17d6cc[_0x579cef(0x6e4)],'index':_0x449b8b}));}),_0x1efe15;}function oe(_0x51ddf2){const _0x4b555a=_0x2d565c;return _0x51ddf2===m[_0x4b555a(0x39f)][_0x4b555a(0x120)]||_0x51ddf2===m['sequenceNodeType'][_0x4b555a(0x6bb)];}function K(_0x32274a){const _0x344d5f=_0x2d565c;return!!_0x32274a&&typeof _0x32274a==_0x344d5f(0x4a1)&&typeof _0x32274a[_0x344d5f(0x617)]==_0x344d5f(0x6f0);}function q(_0x27e585,_0x2925a2){const _0x3b22bd=_0x2d565c;var _0x1eefd5,_0x288c42,_0x399206,_0x35854a,_0x45bb9f,_0x125461,_0x270dcc;let _0x51c820=(_0x1eefd5=_0x27e585[_0x3b22bd(0x19b)](_0x2925a2[_0x3b22bd(0x2ab)]))==null?void 0x0:_0x1eefd5[_0x3b22bd(0x3ae)];if(!_0x51c820)return!0x1;let _0x41de13=(0x0,x[_0x3b22bd(0x25f)])(_0x2925a2),_0xae7a13=(_0x288c42=(_0x399206=_0x51c820[_0x3b22bd(0x241)])==null?void 0x0:_0x399206[_0x3b22bd(0x6a0)](_0x51c820,_0x41de13))==null?(_0x35854a=_0x51c820[_0x3b22bd(0x7bc)])==null?void 0x0:_0x35854a['call'](_0x51c820,_0x41de13):_0x288c42;return K(_0xae7a13)?((_0x45bb9f=_0x51c820[_0x3b22bd(0x197)])==null||(_0x270dcc=(_0x125461=_0x45bb9f['call'](_0x51c820))[_0x3b22bd(0x145)])==null||_0x270dcc[_0x3b22bd(0x6a0)](_0x125461,_0xae7a13),!0x0):!0x1;}function se(_0x39784c,_0x17f9d5){const _0x2a5df4=_0x2d565c;var _0x2e4973,_0x2c3ac4;let _0x23e1bd=(_0x2e4973=_0x39784c[_0x2a5df4(0x19b)](_0x17f9d5))==null||(_0x2e4973=_0x2e4973[_0x2a5df4(0x3ae)])==null||(_0x2c3ac4=_0x2e4973['getTransformer'])==null?void 0x0:_0x2c3ac4['call'](_0x2e4973);return _0x23e1bd!=null&&_0x23e1bd['clearSelectedObjects']?(_0x23e1bd[_0x2a5df4(0x432)](),!0x0):!0x1;}const J={'borderEnabled':!0x0,'borderStroke':_0x2d565c(0x552),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0x2d565c(0x770),'anchorStroke':_0x2d565c(0x552),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':_0x2d565c(0x1d7),'rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':_0x2d565c(0x369),'rotateLineEnabled':!0x1,'rotateFill':'#ffffff','rotateStroke':_0x2d565c(0x552),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':'#4086f4','rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};function Y(_0x591d2c){const _0x49caf0=_0x2d565c;var _0x3eb7fd,_0x5d9b75,_0x1a8c9c;if(!(_0x591d2c!=null&&_0x591d2c['doc']))return null;let _0x2697dd=(_0x3eb7fd=_0x591d2c['doc'][_0x49caf0(0x53d)])==null?void 0x0:_0x3eb7fd[_0x49caf0(0x5d4)];return{..._0x591d2c,'ha':(_0x5d9b75=_0x591d2c['ha'])==null?_0x2697dd==null?void 0x0:_0x2697dd[_0x49caf0(0x31e)]:_0x5d9b75,'va':(_0x1a8c9c=_0x591d2c['va'])==null?_0x2697dd==null?void 0x0:_0x2697dd[_0x49caf0(0x5a2)]:_0x1a8c9c,'doc':_0x591d2c[_0x49caf0(0x217)]};}function ce(_0x171a7c){const _0x201fc3=_0x2d565c;let _0x243b0e=_0x171a7c[_0x201fc3(0x4ad)];return _0x243b0e&&'dataModel'in _0x243b0e&&_0x243b0e[_0x201fc3(0x18c)]?Y(_0x243b0e['dataModel']):null;}function X(_0x18e7d9){const _0x5ea58f=_0x2d565c;var _0x70e91b,_0x19aed9,_0x102572,_0x5081b0;let _0xc5f42=(_0x70e91b=ce(_0x18e7d9))==null?void 0x0:_0x70e91b[_0x5ea58f(0x217)],_0x258d0c=(_0x19aed9=_0xc5f42==null||(_0x102572=_0xc5f42[_0x5ea58f(0x2c5)])==null||(_0x102572=_0x102572['textRuns'])==null||(_0x102572=_0x102572[0x0])==null?void 0x0:_0x102572['ts'])==null?{}:_0x19aed9;return{..._0xc5f42==null||(_0x5081b0=_0xc5f42[_0x5ea58f(0x53d)])==null?void 0x0:_0x5081b0[_0x5ea58f(0x294)],..._0x258d0c};}const le=[{'label':_0x2d565c(0x694),'pattern':_0x2d565c(0x341)},{'label':_0x2d565c(0x2d6),'pattern':_0x2d565c(0x6df)},{'label':_0x2d565c(0x720),'pattern':'yyyy\x22年\x22MM\x22月\x22dd\x22日\x22'},{'label':_0x2d565c(0x255),'pattern':'MM-dd'},{'label':_0x2d565c(0x6e2),'pattern':_0x2d565c(0x48f)},{'label':'13:30:30','pattern':_0x2d565c(0x3dd)},{'label':'13:30','pattern':'h:mm'},{'label':_0x2d565c(0x755),'pattern':_0x2d565c(0x627)},{'label':_0x2d565c(0x426),'pattern':'A/P\x20h:mm'},{'label':_0x2d565c(0x675),'pattern':_0x2d565c(0x54c)},{'label':_0x2d565c(0x452),'pattern':_0x2d565c(0x251)}],ue=[{'label':_0x2d565c(0x6db),'pattern':_0x2d565c(0x6da),'color':void 0x0},{'label':_0x2d565c(0x6db),'pattern':_0x2d565c(0x312),'color':_0x2d565c(0x1f8)},{'label':_0x2d565c(0x43c),'pattern':_0x2d565c(0x6aa),'color':void 0x0},{'label':'1,234.56','pattern':_0x2d565c(0x400),'color':_0x2d565c(0x1f8)},{'label':_0x2d565c(0x515),'pattern':_0x2d565c(0x159),'color':void 0x0},{'label':_0x2d565c(0x515),'pattern':_0x2d565c(0x14b),'color':'red'}],de=[{'label':_0x1723a3=>_0x1723a3+'1,235','pattern':_0x50a244=>'\x22'+_0x50a244+_0x2d565c(0x4e9)+_0x50a244+'\x22#,##0.00','color':void 0x0},{'label':_0xf3c22e=>_0xf3c22e+_0x2d565c(0x7a5),'pattern':_0x3d2be3=>'\x22'+_0x3d2be3+_0x2d565c(0x6e0)+_0x3d2be3+_0x2d565c(0x2c4),'color':_0x2d565c(0x1f8)},{'label':_0x3aceba=>'('+_0x3aceba+_0x2d565c(0x4e5),'pattern':_0x2927c6=>'\x22'+_0x2927c6+_0x2d565c(0x6f6)+_0x2927c6+_0x2d565c(0x557),'color':void 0x0},{'label':_0x558bbb=>'('+_0x558bbb+_0x2d565c(0x4e5),'pattern':_0x5e70a6=>'\x22'+_0x5e70a6+_0x2d565c(0x59b)+_0x5e70a6+_0x2d565c(0x557),'color':_0x2d565c(0x1f8)},{'label':_0x30acf9=>'-'+_0x30acf9+_0x2d565c(0x7a5),'pattern':_0x1e15dc=>'\x22'+_0x1e15dc+_0x2d565c(0x13a)+_0x1e15dc+_0x2d565c(0x2c4),'color':void 0x0},{'label':_0x15bdbc=>'-'+_0x15bdbc+'1,235','pattern':_0x2e7be6=>'\x22'+_0x2e7be6+'\x22#,##0.00_);[Red]-\x22'+_0x2e7be6+'\x22#,##0.00','color':_0x2d565c(0x1f8)}];function fe(_0x2befb6){const _0x39677c=_0x2d565c;return o[_0x39677c(0x5ab)][_0x39677c(0x1f1)](_0xc08e3f=>_0x2befb6[_0x39677c(0x6b1)](_0xc08e3f));}function Z(_0x4a31ea,_0x3c7e95=0x0){const _0x36748a=_0x2d565c;var _0x3e44d7;return _0x4a31ea?(_0x3e44d7=o['numfmt'][_0x36748a(0xe8)](_0x4a31ea)[_0x36748a(0x22f)])==null?_0x3c7e95:_0x3e44d7:_0x3c7e95;}function pe(_0xac5c78){const _0x163c42=_0x2d565c;return Array(Math[_0x163c42(0x2ce)](Math[_0x163c42(0x141)](0x0,Number(_0xac5c78)),0x1e))[_0x163c42(0xfd)](0x0)[_0x163c42(0x54a)]('');}function Q(_0x206617,_0x3811b7){const _0x657b7e=_0x2d565c;return _0x206617[_0x657b7e(0x491)](';')[_0x657b7e(0x5a7)](_0xdec25=>/\.0?/['test'](_0xdec25)?_0xdec25['replace'](/\.0*/g,''+(_0x3811b7>0x0?'.':'')+pe(Number(_0x3811b7||0x0))):/0([^0]?)|0$/[_0x657b7e(0x3fc)](_0xdec25)?_0xdec25['replace'](/0([^0]+)|0$/,'0'+(_0x3811b7>0x0?'.':'')+pe(Number(_0x3811b7||0x0))+'$1'):_0xdec25)[_0x657b7e(0x54a)](';');}function me(_0x479dfb){const _0x20ee76=_0x2d565c;return de[_0x20ee76(0x5a7)](_0x1ba214=>({'label':_0x1ba214[_0x20ee76(0x553)](_0x479dfb),'value':_0x1ba214['pattern'](_0x479dfb),'color':_0x1ba214[_0x20ee76(0x7b7)]}));}function he(){const _0x1f5ec8=_0x2d565c;return le[_0x1f5ec8(0x5a7)](_0x4584b4=>({'label':_0x4584b4[_0x1f5ec8(0x553)],'value':_0x4584b4['pattern']}));}function ge(){const _0x319d51=_0x2d565c;return ue[_0x319d51(0x5a7)](_0x3f418e=>({'label':_0x3f418e[_0x319d51(0x553)],'value':_0x3f418e[_0x319d51(0x71b)],'color':_0x3f418e[_0x319d51(0x7b7)]}));}function _e(_0x207133){return 0x1-(0x1-_0x207133)**0x3;}function ve(_0x5533f4){const _0x136fd5=_0x2d565c;var _0x3719e3,_0x2da540;let _0x4f0a05=_0x5533f4==null||(_0x3719e3=_0x5533f4[_0x136fd5(0x299)])==null?void 0x0:_0x3719e3['v'];return(_0x5533f4==null||(_0x2da540=_0x5533f4[_0x136fd5(0x299)])==null?void 0x0:_0x2da540['t'])===o[_0x136fd5(0x5b0)][_0x136fd5(0x5aa)]&&typeof _0x4f0a05==_0x136fd5(0x2bd)&&Number[_0x136fd5(0x49d)](_0x4f0a05)?_0x4f0a05:void 0x0;}function ye(_0x37e502){const _0x3c6836=_0x2d565c;var _0x1b5e76;return _0x37e502!=null&&(((_0x1b5e76=_0x37e502[_0x3c6836(0x299)])==null?void 0x0:_0x1b5e76['v'])!=null||_0x37e502[_0x3c6836(0x78a)][_0x3c6836(0x435)]>0x0);}function be(_0x547a2e,_0x5c9381){const _0x5a888f=_0x2d565c;var _0x91625e,_0x4261e5;if(!_0x547a2e||!_0x5c9381)return _0x547a2e===_0x5c9381;let _0x1a4e2a=(_0x91625e=_0x547a2e[_0x5a888f(0x299)])==null?void 0x0:_0x91625e['v'],_0x421535=(_0x4261e5=_0x5c9381['cell'])==null?void 0x0:_0x4261e5['v'];if(_0x1a4e2a!=null||_0x421535!=null){var _0x305837,_0x23940d;return _0x1a4e2a===_0x421535&&((_0x305837=_0x547a2e[_0x5a888f(0x299)])==null?void 0x0:_0x305837['t'])===((_0x23940d=_0x5c9381[_0x5a888f(0x299)])==null?void 0x0:_0x23940d['t']);}return _0x547a2e['text']===_0x5c9381[_0x5a888f(0x78a)];}function xe(_0x4a5543,_0x569517){const _0x5c8421=_0x2d565c;var _0x42b7f3;return{..._0x4a5543,'text':o['numfmt'][_0x5c8421(0x6a1)](_0x4a5543[_0x5c8421(0x71b)],_0x569517,{'throws':!0x1}),'color':(_0x42b7f3=o[_0x5c8421(0x17e)][_0x5c8421(0x4d6)](_0x4a5543[_0x5c8421(0x71b)],_0x569517,{'throws':!0x1}))==null?void 0x0:_0x42b7f3[_0x5c8421(0x194)](),'cell':_0x4a5543[_0x5c8421(0x299)]?{..._0x4a5543['cell'],'v':_0x569517,'t':o[_0x5c8421(0x5b0)]['NUMBER']}:void 0x0};}function Se(_0x58e054){const _0x22b0ed=_0x2d565c;return ve(_0x58e054)===void 0x0?{..._0x58e054,'text':'','cell':_0x58e054[_0x22b0ed(0x299)]?{..._0x58e054['cell'],'v':'','t':o[_0x22b0ed(0x5b0)]['STRING']}:void 0x0}:xe(_0x58e054,0x0);}function Ce(_0x44e536,_0x1048c3,_0x4fdb79){const _0x23e106=_0x2d565c;let _0x320ed7=Math['min'](0x1,Math[_0x23e106(0x141)](0x0,_0x4fdb79));if(!_0x1048c3||_0x320ed7>=0x1)return[{'key':'current','offsetY':0x0,'opacity':0x1,'presentation':_0x1048c3}];let _0x594f75=_0x44e536==null?Se(_0x1048c3):_0x44e536,_0x57f71a=ve(_0x594f75),_0x39a0cf=ve(_0x1048c3);if(_0x57f71a!==void 0x0&&_0x39a0cf!==void 0x0){let _0x2725db=_e(_0x320ed7);return[{'key':'current','offsetY':0x0,'opacity':0x1,'presentation':xe(_0x1048c3,_0x57f71a+(_0x39a0cf-_0x57f71a)*_0x2725db)}];}let _0x5a590d=_e(_0x320ed7);return[{'key':_0x23e106(0x4eb),'offsetY':-0x8*_0x5a590d,'opacity':0x1-_0x5a590d,'presentation':_0x594f75},{'key':'current','offsetY':0x8*(0x1-_0x5a590d),'opacity':_0x5a590d,'presentation':_0x1048c3}];}function we(){const _0x58a608=_0x2d565c;return typeof performance>'u'?Date[_0x58a608(0x198)]():performance['now']();}var Te=class{constructor(_0xcafbe,_0x185a5f=()=>{}){const _0x20d041=_0x2d565c;this[_0x20d041(0x729)]=_0xcafbe,this[_0x20d041(0x42e)]=_0x185a5f,z(this,'_current',void 0x0),z(this,_0x20d041(0x3ee),void 0x0),z(this,_0x20d041(0x503),void 0x0),z(this,_0x20d041(0x768),0x1),z(this,_0x20d041(0x5e3),0x0),z(this,_0x20d041(0x179),void 0x0),z(this,'_tick',_0x1c7285=>{const _0x30e875=_0x20d041;let _0x7549b6=typeof _0x1c7285==_0x30e875(0x2bd)?_0x1c7285:we();this['_progress']=Math[_0x30e875(0x2ce)](0x1,(_0x7549b6-this[_0x30e875(0x5e3)])/0x168),this[_0x30e875(0x729)](),this[_0x30e875(0x768)]<0x1?this['_frameId']=(0x0,h[_0x30e875(0x1ec)])(this[_0x30e875(0x573)]):(this['_frameId']=void 0x0,this[_0x30e875(0x3ee)]=void 0x0,this[_0x30e875(0x42e)]());});}[_0x2d565c(0x517)](_0x3b3151,_0x461467=!0x0){const _0x21850f=_0x2d565c;var _0xd58ace,_0x96a345;let _0x1a3628=ye(this[_0x21850f(0x19c)]),_0x2a911d=_0x1a3628?this[_0x21850f(0x19c)]:this[_0x21850f(0x503)];if(_0x461467&&ye(_0x2a911d)&&ye(_0x3b3151)&&be(_0x2a911d,_0x3b3151)){this[_0x21850f(0x19c)]=_0x3b3151,this[_0x21850f(0x503)]=_0x3b3151,_0x1a3628||(this[_0x21850f(0x3ee)]=void 0x0,this[_0x21850f(0x768)]=0x1);return;}let _0x1ca42c=(_0xd58ace=(_0x96a345=this['getLayers']()['at'](-0x1))==null?void 0x0:_0x96a345[_0x21850f(0x18e)])==null?this[_0x21850f(0x19c)]:_0xd58ace,_0x3fa660=ye(_0x1ca42c)?_0x1ca42c:this['_lastResolved'];if(ye(_0x1ca42c)&&(this[_0x21850f(0x503)]=_0x1ca42c),this[_0x21850f(0x1bf)](),this[_0x21850f(0x19c)]=_0x3b3151,!_0x461467||!ye(_0x3b3151)){this['_previous']=void 0x0,this['_progress']=0x1,ye(_0x3b3151)&&(this[_0x21850f(0x503)]=_0x3b3151);return;}this[_0x21850f(0x3ee)]=_0x3fa660,this[_0x21850f(0x503)]=_0x3b3151,this[_0x21850f(0x768)]=0x0,this[_0x21850f(0x5e3)]=we(),this[_0x21850f(0x179)]=(0x0,h[_0x21850f(0x1ec)])(this[_0x21850f(0x573)]);}[_0x2d565c(0x4b7)](){const _0xcb6247=_0x2d565c;return Ce(this[_0xcb6247(0x3ee)],this[_0xcb6247(0x19c)],this[_0xcb6247(0x768)]);}[_0x2d565c(0x410)](){const _0x45ea9a=_0x2d565c;let _0x50c43b=ye(this[_0x45ea9a(0x19c)])?this[_0x45ea9a(0x19c)]:void 0x0;if(!_0x50c43b)return[];let _0x1b946f=this[_0x45ea9a(0x768)]<0x1&&ye(this[_0x45ea9a(0x3ee)])?this[_0x45ea9a(0x3ee)]:void 0x0;return _0x1b946f?[_0x1b946f,_0x50c43b]:[_0x50c43b];}['dispose'](){const _0x3280ec=_0x2d565c;this[_0x3280ec(0x1bf)](),this[_0x3280ec(0x19c)]=void 0x0,this[_0x3280ec(0x3ee)]=void 0x0,this[_0x3280ec(0x503)]=void 0x0;}[_0x2d565c(0x1bf)](){const _0x566e82=_0x2d565c;this[_0x566e82(0x179)]!==void 0x0&&((0x0,h[_0x566e82(0x12f)])(this[_0x566e82(0x179)]),this['_frameId']=void 0x0);}};function Ee(_0x465175,_0x31a36d,_0x1e8239){const _0x54b884=_0x2d565c;let _0x37d28f=_0x31a36d[_0x54b884(0x4b7)]();if(_0x37d28f['length']===0x1&&_0x37d28f[0x0][_0x54b884(0x203)]===0x1&&_0x37d28f[0x0][_0x54b884(0x340)]===0x0){let [_0x39c292]=_0x37d28f;_0x1e8239(_0x465175,_0x39c292[_0x54b884(0x18e)],_0x39c292[_0x54b884(0x490)]);return;}_0x37d28f[_0x54b884(0x29b)](_0x4cb2d0=>{const _0x4abd85=_0x54b884;_0x4cb2d0[_0x4abd85(0x203)]<=0x0||(_0x465175[_0x4abd85(0x3c5)](),_0x465175[_0x4abd85(0xcb)]*=_0x4cb2d0[_0x4abd85(0x203)],_0x465175[_0x4abd85(0x588)](0x0,_0x4cb2d0[_0x4abd85(0x340)]),_0x1e8239(_0x465175,_0x4cb2d0[_0x4abd85(0x18e)],_0x4cb2d0['key']),_0x465175['restore']());});}function De(_0x2b9853,_0x43a6a2){return _0x2b9853?{..._0x2b9853,'shapeText':_0x43a6a2}:{'shapeText':_0x43a6a2};}function Oe(_0x32e7aa){const _0x4a3cf3=_0x2d565c;var _0x58b136;if(!_0x32e7aa||!(_0x4a3cf3(0x18c)in _0x32e7aa))return;let _0x2fb9fa=_0x32e7aa['dataModel'];if(!_0x2fb9fa||typeof _0x2fb9fa!=_0x4a3cf3(0x4a1)||!(_0x4a3cf3(0x217)in _0x2fb9fa))return;let _0x4f1c9b=_0x2fb9fa[_0x4a3cf3(0x217)];if(ke(_0x4f1c9b))return(_0x58b136=_0x4f1c9b[_0x4a3cf3(0x53d)])==null||(_0x58b136=_0x58b136[_0x4a3cf3(0x5d4)])==null?void 0x0:_0x58b136[_0x4a3cf3(0x1ed)];}function ke(_0x50a7b2){const _0x5b3356=_0x2d565c;return typeof _0x50a7b2==_0x5b3356(0x4a1)&&!!_0x50a7b2&&'id'in _0x50a7b2;}function Ae(_0x935716,_0x100a84=o['WrapStrategy'][_0x2d565c(0x5f7)]){const _0x401183=_0x2d565c;var _0x1ee384;let _0x3d8874=_0x935716[_0x401183(0x4ad)];return(_0x3d8874==null?void 0x0:_0x3d8874[_0x401183(0x43a)])===S[_0x401183(0x444)][_0x401183(0x458)]?o[_0x401183(0x106)][_0x401183(0x6a3)]:(_0x3d8874==null?void 0x0:_0x3d8874[_0x401183(0x43a)])===S[_0x401183(0x444)][_0x401183(0x592)]?o[_0x401183(0x106)]['WRAP']:(_0x1ee384=Oe(_0x3d8874))==null?_0x100a84:_0x1ee384;}function je(_0x3cd9d3,_0x15c9e1){const _0x1cd982=_0x2d565c;return(0x0,S['resolveShapeTextBodyBehavior'])(_0x3cd9d3)[_0x1cd982(0x43a)]!==S['ShapeTextWrapType'][_0x1cd982(0x458)]&&(_0x15c9e1==null?Ae(_0x3cd9d3):_0x15c9e1)!==o[_0x1cd982(0x106)][_0x1cd982(0x2a1)];}function Me(_0x59b717){const _0x4d25cc=_0x2d565c;let _0x3b975a=(0x0,S[_0x4d25cc(0x3d5)])(_0x59b717);return _0x3b975a[_0x4d25cc(0x530)]===S[_0x4d25cc(0x571)][_0x4d25cc(0x671)]&&_0x3b975a['textWrap']===S['ShapeTextWrapType'][_0x4d25cc(0x458)];}function Ne(_0xf1c633){const _0x106e88=_0x2d565c;var _0x48cfb4;return((_0x48cfb4=_0xf1c633[_0x106e88(0x4ad)])==null?void 0x0:_0x48cfb4['isHorizontal'])===!0x1?_0x106e88(0x54e):_0x106e88(0x2d1);}function Pe(_0x5a1793,_0x11cd0e={}){const _0x26b16a=_0x2d565c;return _0x11cd0e[_0x26b16a(0x10f)]===!0x0?!0x0:_0x5a1793?(0x0,S[_0x26b16a(0x3d5)])(_0x5a1793)[_0x26b16a(0x17f)]:!0x1;}function Fe(_0x397020){const _0x171ad2=_0x2d565c;var _0x265cf1;if(!Me(_0x397020[_0x171ad2(0x506)]))return null;let _0x2f74bb=Array['isArray'](_0x397020['documentData'])?_0x397020['documentData']:[_0x397020[_0x171ad2(0x5c8)]];if(_0x2f74bb[_0x171ad2(0x435)]===0x0)return null;let _0x190392=Math[_0x171ad2(0x141)](..._0x2f74bb[_0x171ad2(0x5a7)](_0x12e264=>(0x0,h[_0x171ad2(0x5f1)])(_0x12e264)));if(!Number['isFinite'](_0x190392))return null;let _0x347ec5=Ne(_0x397020[_0x171ad2(0x506)]),_0x169643=_0x347ec5===_0x171ad2(0x2d1)?_0x397020[_0x171ad2(0x746)][_0x171ad2(0x2d1)]:_0x397020[_0x171ad2(0x746)][_0x171ad2(0x54e)],_0x409d89=Math['max'](0x1,_0x190392+((_0x265cf1=_0x397020['widthBuffer'])==null?0x2:_0x265cf1))-_0x169643;return Math[_0x171ad2(0x589)](_0x409d89)<=0.5?null:_0x347ec5===_0x171ad2(0x2d1)?{'width':Math[_0x171ad2(0x141)](0x1,_0x397020[_0x171ad2(0x2d1)]+_0x409d89),'height':_0x397020[_0x171ad2(0x54e)]}:{'width':_0x397020[_0x171ad2(0x2d1)],'height':Math['max'](0x1,_0x397020[_0x171ad2(0x54e)]+_0x409d89)};}function Ie(_0x58bc66,_0x5bec66=0x2){const _0x4b2e92=_0x2d565c;return Q(_0x4b2e92(0x3c0)+_0x58bc66+'\x22*\x20#,##0.00_)',_0x5bec66);}function Le(_0x55835e,_0xe1f034=0x2){const _0x3a1222=_0x2d565c;var _0x16f0eb,_0x49d618;let _0x3819d6=me(_0x55835e);return Q((_0x16f0eb=(_0x49d618=_0x3819d6[_0x3a1222(0x1f1)](_0x1ca3e3=>_0x1ca3e3[_0x3a1222(0x7b7)]===_0x3a1222(0x1f8)))==null?void 0x0:_0x49d618[_0x3a1222(0x456)])==null?_0x3819d6[0x0][_0x3a1222(0x456)]:_0x16f0eb,_0xe1f034);}function Re(_0x150ab7){const _0x244a8b=_0x2d565c;return[{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x3c7),'pattern':o[_0x244a8b(0x664)]},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x78a),'pattern':o[_0x244a8b(0x6d7)]},{'kind':_0x244a8b(0x5bc),'key':_0x244a8b(0x5cc)},{'kind':'format','key':_0x244a8b(0x2bd),'pattern':'0'},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x12d),'pattern':_0x244a8b(0x397)},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x5a8),'pattern':'0.00E+00'},{'kind':'separator','key':_0x244a8b(0x2bd)},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x2a3),'pattern':Ie(_0x150ab7)},{'kind':'format','key':_0x244a8b(0x3f6),'pattern':_0x244a8b(0x2a8)},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x77b),'pattern':Le(_0x150ab7)},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x1a3),'pattern':'\x22'+_0x150ab7+_0x244a8b(0x647)+_0x150ab7+_0x244a8b(0x115)},{'kind':_0x244a8b(0x5bc),'key':_0x244a8b(0x77b)},{'kind':'format','key':_0x244a8b(0x7cd),'pattern':_0x244a8b(0x14a)},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x4c6),'pattern':'am/pm\x20h\x22:\x22mm\x22:\x22ss'},{'kind':_0x244a8b(0x6a1),'key':_0x244a8b(0x652),'pattern':_0x244a8b(0x533)},{'kind':'format','key':_0x244a8b(0x569),'pattern':'h:mm:ss'},{'kind':_0x244a8b(0x5bc),'key':_0x244a8b(0x7cd)},{'kind':_0x244a8b(0x32d)}];}function ze(_0x311b5c){const _0x51abb8=_0x2d565c;if((0x0,o[_0x51abb8(0x5fb)])(_0x311b5c))return _0x51abb8(0x3c7);let _0x49fddc=fe(_0x311b5c);if(_0x49fddc&&_0x311b5c[_0x51abb8(0x732)]('_('))return'accounting';let _0x246515=o['numfmt'][_0x51abb8(0xe8)](_0x311b5c);return he()[_0x51abb8(0x1ee)](_0x460fb5=>_0x460fb5['value']===_0x311b5c)||['date',_0x51abb8(0x509),_0x51abb8(0x4c6)][_0x51abb8(0x6b1)](_0x246515['type'])?_0x51abb8(0x7cd):ge()[_0x51abb8(0x1ee)](_0xfa38f6=>(0x0,o[_0x51abb8(0x30e)])(_0xfa38f6[_0x51abb8(0x456)],_0x311b5c))?'number':_0x49fddc?_0x51abb8(0x77b):'custom';}function Be(_0x1a2bed,_0x55fc4a){const _0x4b134a=_0x2d565c;switch(_0x1a2bed){case _0x4b134a(0x3c7):return o['DEFAULT_NUMBER_FORMAT'];case'accounting':return Ie(_0x55fc4a);case _0x4b134a(0x77b):return Le(_0x55fc4a);case'date':return he()[0x0][_0x4b134a(0x456)];case _0x4b134a(0x2bd):return ge()[0x0]['value'];default:return o['DEFAULT_NUMBER_FORMAT'];}}function Ve(_0x324018){const _0x3adcbb=_0x2d565c;return _0x324018===_0x3adcbb(0x3c7)||_0x324018==='accounting'||_0x324018==='currency'||_0x324018===_0x3adcbb(0x7cd)||_0x324018===_0x3adcbb(0x2bd)||_0x324018===_0x3adcbb(0x1b2);}function He(_0x533c12){const _0x13b896=_0x2d565c;return o[_0x13b896(0x17e)]['format'](_0x533c12||o[_0x13b896(0x664)],0x4c4,{'throws':!0x1});}function Ue(_0x3b17b7){const _0xddd1f8=_0x2d565c;let _0x292cea=(0x0,s[_0xddd1f8(0x2b3)])(o['LocaleService']),_0x21cebc=(0x0,C[_0xddd1f8(0x53f)])(_0x292cea[_0xddd1f8(0x1db)]());return(0x0,r[_0xddd1f8(0x631)])(We,{'children':(0x0,n[_0xddd1f8(0x1f6)])(()=>Re(_0x21cebc),[_0x21cebc])[_0xddd1f8(0x5a7)](_0x24a83c=>_0x24a83c[_0xddd1f8(0x63e)]===_0xddd1f8(0x5bc)?(0x0,r[_0xddd1f8(0x631)])(e[_0xddd1f8(0x268)],{'className':'univer-my-1'},_0xddd1f8(0x212)+_0x24a83c[_0xddd1f8(0x490)]):(0x0,r[_0xddd1f8(0x18b)])(_0xddd1f8(0x54f),{'type':'button','className':_0xddd1f8(0xff),'onClick':()=>_0x24a83c['kind']==='more'?_0x3b17b7[_0xddd1f8(0x7b6)]():_0x3b17b7[_0xddd1f8(0xe0)](_0x24a83c[_0xddd1f8(0x71b)]),'children':[(0x0,r[_0xddd1f8(0x631)])(_0xddd1f8(0x3b4),{'children':_0x24a83c[_0xddd1f8(0x63e)]==='more'?_0x292cea['t'](_0xddd1f8(0xd9)):_0x292cea['t'](_0xddd1f8(0x1ca)+_0x24a83c[_0xddd1f8(0x490)])}),_0x24a83c['kind']==='format'&&(0x0,r[_0xddd1f8(0x631)])(_0xddd1f8(0x3b4),{'className':_0xddd1f8(0x26b),'children':He(_0x24a83c['pattern'])})]},_0x24a83c['kind']===_0xddd1f8(0x32d)?'more':_0x24a83c[_0xddd1f8(0x490)]))});}function We(_0x2c4e81){const _0x3d731d=_0x2d565c;return(0x0,r[_0x3d731d(0x631)])(_0x3d731d(0x610),{'className':_0x3d731d(0x121),'children':_0x2c4e81[_0x3d731d(0x101)]});}function Ge(_0x3eeb79){const _0x3a14e5=_0x2d565c;return(0x0,r['jsx'])(_0x3a14e5(0x610),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-text-gray-200','children':_0x3eeb79[_0x3a14e5(0x101)]});}function Ke(_0x59415c){const _0x2c9db2=_0x2d565c;return(0x0,r[_0x2c9db2(0x631)])(_0x2c9db2(0x610),{'className':'univer-mt-4\x20univer-shrink-0\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':_0x59415c[_0x2c9db2(0x101)]});}function qe(_0x363745){const _0x452902=_0x2d565c;let _0x466ef8=(0x0,s[_0x452902(0x2b3)])(o[_0x452902(0xe5)]),[_0x27ea61,_0x311203]=(0x0,n[_0x452902(0x311)])(()=>Z(_0x363745['pattern'],0x2)),[_0x3b2340,_0x26182d]=(0x0,n['useState'])(()=>{const _0x29c822=_0x452902;var _0x5e4bde;return(_0x5e4bde=fe(_0x363745['pattern']))==null?_0x363745[_0x29c822(0xfe)]:_0x5e4bde;}),_0x323cd1=(0x0,n['useMemo'])(()=>o[_0x452902(0x5ab)]['map'](_0x40016c=>({'label':_0x40016c,'value':_0x40016c})),[]),_0x2aa8c7=(_0x484cc9,_0x57a132)=>{const _0x5f222c=_0x452902;_0x363745[_0x5f222c(0xe1)](Ie(_0x57a132,_0x484cc9));};return(0x0,r[_0x452902(0x18b)])(_0x452902(0x610),{'className':_0x452902(0x56f),'children':[(0x0,r[_0x452902(0x18b)])(_0x452902(0x610),{'className':'univer-flex\x20univer-gap-4','children':[(0x0,r[_0x452902(0x18b)])(_0x452902(0x610),{'className':_0x452902(0x309),'children':[(0x0,r['jsx'])(Ge,{'children':_0x466ef8['t'](_0x452902(0x698))}),(0x0,r[_0x452902(0x631)])(e[_0x452902(0x2e9)],{'className':_0x452902(0x608),'value':_0x27ea61,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x20ecb6=>{let _0xf2a848=_0x20ecb6==null?0x0:_0x20ecb6;_0x311203(_0xf2a848),_0x2aa8c7(_0xf2a848,_0x3b2340);}})]}),(0x0,r['jsxs'])(_0x452902(0x610),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,r['jsx'])(Ge,{'children':_0x466ef8['t']('shape-editor-ui.formulaBinding.currencySymbol')}),(0x0,r[_0x452902(0x631)])(e['Select'],{'className':'univer-w-full','value':_0x3b2340,'options':_0x323cd1,'onChange':_0x26875b=>{_0x26182d(_0x26875b),_0x2aa8c7(_0x27ea61,_0x26875b);}})]})]}),(0x0,r[_0x452902(0x631)])(Ke,{'children':_0x466ef8['t'](_0x452902(0x41b))})]});}function Je(_0x2575e3){const _0x3f8c95=_0x2d565c;let _0x8c64be=(0x0,s[_0x3f8c95(0x2b3)])(o[_0x3f8c95(0xe5)]),[_0x46d021,_0x4c4b48]=(0x0,n['useState'])(()=>Z(_0x2575e3[_0x3f8c95(0x71b)],0x2)),[_0x4dd60e,_0x5eef83]=(0x0,n['useState'])(()=>{const _0x2eca1a=_0x3f8c95;var _0x1b8c0b;return(_0x1b8c0b=fe(_0x2575e3[_0x2eca1a(0x71b)]))==null?_0x2575e3[_0x2eca1a(0xfe)]:_0x1b8c0b;}),_0x36f241=(0x0,n['useMemo'])(()=>o[_0x3f8c95(0x5ab)][_0x3f8c95(0x5a7)](_0x41d7af=>({'label':_0x41d7af,'value':_0x41d7af})),[]),_0x59ec14=(0x0,n[_0x3f8c95(0x1f6)])(()=>me(_0x4dd60e),[_0x4dd60e]),[_0x373f55,_0x11aad9]=(0x0,n[_0x3f8c95(0x311)])(()=>{const _0x2557a4=_0x3f8c95;var _0x5f5427,_0x18b50b;return(_0x5f5427=(_0x18b50b=_0x59ec14[_0x2557a4(0x1f1)](_0x501296=>(0x0,o[_0x2557a4(0x30e)])(_0x501296[_0x2557a4(0x456)],_0x2575e3[_0x2557a4(0x71b)])))==null?void 0x0:_0x18b50b['value'])==null?_0x59ec14[0x0][_0x2557a4(0x456)]:_0x5f5427;}),_0x3bf1f7=(_0x98268,_0x371a4f)=>{const _0x26a7c6=_0x3f8c95;_0x2575e3[_0x26a7c6(0xe1)](Q(_0x98268,_0x371a4f));};return(0x0,r[_0x3f8c95(0x18b)])(_0x3f8c95(0x610),{'className':_0x3f8c95(0x6cc),'children':[(0x0,r['jsxs'])(_0x3f8c95(0x610),{'className':_0x3f8c95(0x1d4),'children':[(0x0,r['jsxs'])(_0x3f8c95(0x610),{'className':_0x3f8c95(0x309),'children':[(0x0,r['jsx'])(Ge,{'children':_0x8c64be['t'](_0x3f8c95(0x698))}),(0x0,r[_0x3f8c95(0x631)])(e['InputNumber'],{'className':_0x3f8c95(0x608),'value':_0x46d021,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x33dca1=>{let _0x355a65=_0x33dca1==null?0x0:_0x33dca1;_0x4c4b48(_0x355a65),_0x3bf1f7(_0x373f55,_0x355a65);}})]}),(0x0,r[_0x3f8c95(0x18b)])(_0x3f8c95(0x610),{'className':_0x3f8c95(0x309),'children':[(0x0,r[_0x3f8c95(0x631)])(Ge,{'children':_0x8c64be['t'](_0x3f8c95(0x3c6))}),(0x0,r[_0x3f8c95(0x631)])(e[_0x3f8c95(0x100)],{'className':_0x3f8c95(0x608),'value':_0x4dd60e,'options':_0x36f241,'onChange':_0x2d6d3f=>{const _0x56528f=_0x3f8c95;_0x5eef83(_0x2d6d3f);let _0x49d5a2=me(_0x2d6d3f)[0x0][_0x56528f(0x456)];_0x11aad9(_0x49d5a2),_0x3bf1f7(_0x49d5a2,_0x46d021);}})]})]}),(0x0,r[_0x3f8c95(0x18b)])('div',{'className':_0x3f8c95(0x3b2),'children':[(0x0,r[_0x3f8c95(0x631)])(Ge,{'children':_0x8c64be['t'](_0x3f8c95(0x326))}),(0x0,r[_0x3f8c95(0x631)])(e['SelectList'],{'className':_0x3f8c95(0x775)+e[_0x3f8c95(0x736)]+_0x3f8c95(0x6fb),'value':_0x373f55,'options':_0x59ec14,'onChange':_0x5f1d94=>{const _0x1166fa=_0x3f8c95;typeof _0x5f1d94==_0x1166fa(0x6f0)&&(_0x11aad9(_0x5f1d94),_0x3bf1f7(_0x5f1d94,_0x46d021));}})]}),(0x0,r[_0x3f8c95(0x631)])(Ke,{'children':_0x8c64be['t'](_0x3f8c95(0xf4))})]});}function Ye(_0x123caf){const _0x996d18=_0x2d565c;let _0x265b97=(0x0,s[_0x996d18(0x2b3)])(o[_0x996d18(0xe5)]),_0x321e16=(0x0,n[_0x996d18(0x1f6)])(()=>he(),[]),[_0x1bff72,_0x4d6c35]=(0x0,n[_0x996d18(0x311)])(()=>_0x321e16['some'](_0x355729=>_0x355729[_0x996d18(0x456)]===_0x123caf[_0x996d18(0x71b)])?_0x123caf[_0x996d18(0x71b)]:_0x321e16[0x0][_0x996d18(0x456)]);return(0x0,r[_0x996d18(0x18b)])(_0x996d18(0x610),{'className':_0x996d18(0x6cc),'children':[(0x0,r[_0x996d18(0x631)])(Ge,{'children':_0x265b97['t']('shape-editor-ui.formulaBinding.dateType')}),(0x0,r['jsx'])(e[_0x996d18(0x2f1)],{'className':_0x996d18(0x534)+e['scrollbarClassName']+_0x996d18(0x4f0),'value':_0x1bff72,'options':_0x321e16,'onChange':_0xda636f=>{const _0x3c67a5=_0x996d18;typeof _0xda636f==_0x3c67a5(0x6f0)&&(_0x4d6c35(_0xda636f),_0x123caf[_0x3c67a5(0xe1)](_0xda636f));}}),(0x0,r[_0x996d18(0x631)])(Ke,{'children':_0x265b97['t']('shape-editor-ui.formulaBinding.dateDescription')})]});}function Xe(_0x314493){const _0x15a562=_0x2d565c;let _0xaefd65=(0x0,s[_0x15a562(0x2b3)])(o[_0x15a562(0xe5)]),_0x4bbdc0=(0x0,n['useMemo'])(()=>ge(),[]),[_0x2916f0,_0x43fba9]=(0x0,n[_0x15a562(0x311)])(()=>Z(_0x314493[_0x15a562(0x71b)],0x0)),[_0x12f810,_0x1f4394]=(0x0,n[_0x15a562(0x311)])(()=>{const _0x38666e=_0x15a562;var _0x3606bf,_0x2288d9;return(_0x3606bf=(_0x2288d9=_0x4bbdc0[_0x38666e(0x1f1)](_0x37cfe8=>(0x0,o[_0x38666e(0x30e)])(_0x37cfe8[_0x38666e(0x456)],_0x314493[_0x38666e(0x71b)])))==null?void 0x0:_0x2288d9['value'])==null?_0x4bbdc0[0x0]['value']:_0x3606bf;});return(0x0,r[_0x15a562(0x18b)])(_0x15a562(0x610),{'className':'univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col\x20univer-pt-4','children':[(0x0,r[_0x15a562(0x631)])(Ge,{'children':_0xaefd65['t'](_0x15a562(0x698))}),(0x0,r['jsx'])(e[_0x15a562(0x2e9)],{'className':_0x15a562(0x608),'value':_0x2916f0,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x530d48=>{const _0x50924f=_0x15a562;let _0x3af307=_0x530d48==null?0x0:_0x530d48;_0x43fba9(_0x3af307),_0x314493[_0x50924f(0xe1)](Q(_0x12f810,_0x3af307));}}),(0x0,r[_0x15a562(0x18b)])('div',{'className':_0x15a562(0x3b2),'children':[(0x0,r['jsx'])(Ge,{'children':_0xaefd65['t']('shape-editor-ui.formulaBinding.negativeNumberType')}),(0x0,r[_0x15a562(0x631)])(e[_0x15a562(0x2f1)],{'className':_0x15a562(0x775)+e[_0x15a562(0x736)]+_0x15a562(0x6fb),'value':_0x12f810,'options':_0x4bbdc0,'onChange':_0x2c1ca7=>{const _0x21db25=_0x15a562;typeof _0x2c1ca7==_0x21db25(0x6f0)&&(_0x1f4394(_0x2c1ca7),_0x43fba9(Z(_0x2c1ca7,0x0)),_0x314493[_0x21db25(0xe1)](_0x2c1ca7));}})]}),(0x0,r[_0x15a562(0x631)])(Ke,{'children':_0xaefd65['t'](_0x15a562(0x2cf))})]});}function Ze(_0x327084){const _0x4fcd5e=_0x2d565c;let _0x267854=(0x0,s[_0x4fcd5e(0x2b3)])(o[_0x4fcd5e(0xe5)]),[_0x3aeddd,_0x580a26]=(0x0,n['useState'])(_0x327084[_0x4fcd5e(0x71b)]),_0x26963c=(0x0,n[_0x4fcd5e(0x1f6)])(()=>{const _0x154bb6=_0x4fcd5e;let _0x4655c9=[...me(_0x327084['currencySymbol'])[_0x154bb6(0x5a7)](_0x307179=>_0x307179[_0x154bb6(0x456)]),...he()[_0x154bb6(0x5a7)](_0x3d4c13=>_0x3d4c13[_0x154bb6(0x456)]),...ge()[_0x154bb6(0x5a7)](_0x195d27=>_0x195d27[_0x154bb6(0x456)])];return[...new Set([_0x327084[_0x154bb6(0x71b)],..._0x4655c9][_0x154bb6(0x1fe)](Boolean))]['map'](_0x13e39a=>({'label':_0x13e39a,'value':_0x13e39a}));},[_0x327084['currencySymbol'],_0x327084[_0x4fcd5e(0x71b)]]);return(0x0,r[_0x4fcd5e(0x18b)])('div',{'className':_0x4fcd5e(0x6cc),'children':[(0x0,r['jsx'])(Ge,{'children':_0x267854['t']('shape-editor-ui.formulaBinding.formats.custom')}),(0x0,r[_0x4fcd5e(0x631)])(e[_0x4fcd5e(0xc0)],{'className':_0x4fcd5e(0x608),'value':_0x3aeddd,'placeholder':_0x267854['t'](_0x4fcd5e(0x2f7)),'onChange':_0x57a033=>{const _0x1c71b5=_0x4fcd5e;_0x580a26(_0x57a033),_0x327084[_0x1c71b5(0xe1)](_0x57a033);}}),(0x0,r[_0x4fcd5e(0x631)])(e[_0x4fcd5e(0x2f1)],{'className':_0x4fcd5e(0x534)+e[_0x4fcd5e(0x736)]+_0x4fcd5e(0x705),'value':_0x3aeddd,'options':_0x26963c,'onChange':_0x54f08f=>{const _0x184874=_0x4fcd5e;typeof _0x54f08f==_0x184874(0x6f0)&&(_0x580a26(_0x54f08f),_0x327084[_0x184874(0xe1)](_0x54f08f));}}),(0x0,r[_0x4fcd5e(0x631)])(Ke,{'children':_0x267854['t'](_0x4fcd5e(0x505))})]});}function Qe(_0x57e630){const _0x3372d4=_0x2d565c;let _0x65d070=(0x0,s['useDependency'])(o[_0x3372d4(0xe5)]);switch(_0x57e630[_0x3372d4(0x49a)]){case _0x3372d4(0x3c7):return(0x0,r[_0x3372d4(0x631)])(Ke,{'children':_0x65d070['t'](_0x3372d4(0xdd))});case'accounting':return(0x0,r[_0x3372d4(0x631)])(qe,{..._0x57e630});case _0x3372d4(0x77b):return(0x0,r['jsx'])(Je,{..._0x57e630});case _0x3372d4(0x7cd):return(0x0,r[_0x3372d4(0x631)])(Ye,{..._0x57e630});case _0x3372d4(0x2bd):return(0x0,r[_0x3372d4(0x631)])(Xe,{..._0x57e630});default:return(0x0,r['jsx'])(Ze,{..._0x57e630});}}function $e(_0x21cbd9){const _0x69741b=_0x2d565c;let _0x45905d=(0x0,s['useDependency'])(o[_0x69741b(0xe5)]),_0x47d6dc=(0x0,C[_0x69741b(0x53f)])(_0x45905d['getCurrentLocale']()),[_0x218394,_0x10a56d]=(0x0,n['useState'])(()=>ze(_0x21cbd9[_0x69741b(0x71b)])),[_0x360aab,_0xd21822]=(0x0,n[_0x69741b(0x311)])(_0x21cbd9['pattern']),_0x4e6a20=(0x0,n[_0x69741b(0x1f6)])(()=>[{'label':_0x45905d['t'](_0x69741b(0x639)),'value':_0x69741b(0x3c7)},{'label':_0x45905d['t'](_0x69741b(0x692)),'value':_0x69741b(0x2a3)},{'label':_0x45905d['t'](_0x69741b(0x75d)),'value':_0x69741b(0x77b)},{'label':_0x45905d['t'](_0x69741b(0x704)),'value':'date'},{'label':_0x45905d['t'](_0x69741b(0x202)),'value':_0x69741b(0x2bd)},{'label':_0x45905d['t'](_0x69741b(0x3d1)),'value':'custom'}],[_0x45905d]);return(0x0,r[_0x69741b(0x631)])(e[_0x69741b(0xec)],{'open':_0x21cbd9[_0x69741b(0x11e)],'width':0x1a4,'title':_0x45905d['t']('shape-editor-ui.formulaBinding.numberFormat'),'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'onClose':_0x21cbd9[_0x69741b(0x3cd)],'footer':(0x0,r[_0x69741b(0x18b)])(_0x69741b(0x610),{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[(0x0,r['jsx'])(e[_0x69741b(0x7a4)],{'onClick':_0x21cbd9[_0x69741b(0x3cd)],'children':_0x45905d['t'](_0x69741b(0x244))}),(0x0,r[_0x69741b(0x631)])(e['Button'],{'variant':_0x69741b(0x2e8),'onClick':()=>_0x21cbd9[_0x69741b(0x3bf)](_0x360aab),'children':_0x45905d['t']('shape-editor-ui.formulaBinding.confirm')})]}),'children':(0x0,r[_0x69741b(0x18b)])(_0x69741b(0x610),{'className':_0x69741b(0x5e9),'children':[(0x0,r['jsx'])(Ge,{'children':_0x45905d['t'](_0x69741b(0x781))}),(0x0,r[_0x69741b(0x631)])(e[_0x69741b(0x100)],{'className':_0x69741b(0x608),'value':_0x218394,'options':_0x4e6a20,'onChange':_0x18dc3f=>{Ve(_0x18dc3f)&&(_0x10a56d(_0x18dc3f),_0xd21822(Be(_0x18dc3f,_0x47d6dc)));}}),(0x0,r[_0x69741b(0x631)])(_0x69741b(0x610),{'className':_0x69741b(0x789),'children':(0x0,r[_0x69741b(0x631)])(Qe,{'type':_0x218394,'pattern':_0x360aab,'currencySymbol':_0x47d6dc,'onChange':_0xd21822},_0x218394)}),(0x0,r[_0x69741b(0x18b)])(_0x69741b(0x610),{'className':'univer-mt-3\x20univer-shrink-0\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-3\x20dark:!univer-bg-gray-800','children':[(0x0,r[_0x69741b(0x631)])(_0x69741b(0x610),{'className':_0x69741b(0x4aa),'children':_0x45905d['t'](_0x69741b(0xe2))}),(0x0,r[_0x69741b(0x631)])(_0x69741b(0x610),{'className':_0x69741b(0x361),'children':He(_0x360aab)})]})]})});}function et(_0x3d0fd3){const _0x58736a=_0x2d565c;var _0x1afede,_0x24123d,_0xab8994,_0x27eb4e,_0xae721a;let {onClose:_0x1d8ef9,onConfirm:_0x3a7ffc}=_0x3d0fd3,_0x117da3=(0x0,s[_0x58736a(0x2b3)])(o['LocaleService']),_0x50f300=(0x0,s[_0x58736a(0x2b3)])(H),_0x531414=(0x0,s[_0x58736a(0x2b3)])(d[_0x58736a(0x26c)]),_0x5141b7=(0x0,s[_0x58736a(0x2b3)])(m['IDescriptionService']),_0x2ef759=(0x0,s[_0x58736a(0x2b3)])(m[_0x58736a(0x147)]),_0x4f7638=(0x0,s[_0x58736a(0x2b3)])(o['ThemeService']),[_0xc0a84c,_0x430a6d]=(0x0,n[_0x58736a(0x311)])(_0x3d0fd3['value'][_0x58736a(0x658)]),[_0x4a568e,_0x162342]=(0x0,n[_0x58736a(0x311)])((_0x1afede=(_0x24123d=_0x3d0fd3[_0x58736a(0x456)][_0x58736a(0x6e1)])==null?void 0x0:_0x24123d['pattern'])==null?o[_0x58736a(0x664)]:_0x1afede),[_0x5407f7,_0x417dfe]=(0x0,n['useState'])(!0x1),[_0x3c2e13,_0x51ba5d]=(0x0,n['useState'])(!0x1),[_0x39e372,_0x4d65ee]=(0x0,n[_0x58736a(0x311)])(''),[_0x407994,_0x5eee0f]=(0x0,n['useState'])([]),[_0xee27ce,_0x147211]=(0x0,n[_0x58736a(0x311)])(null),[_0x215670,_0xd2de95]=(0x0,n['useState'])(''),[_0x463f53,_0x32c13b]=(0x0,n[_0x58736a(0x311)])({'start':_0x3d0fd3[_0x58736a(0x456)][_0x58736a(0x658)][_0x58736a(0x435)],'end':_0x3d0fd3['value'][_0x58736a(0x658)]['length']}),_0x44149a=(0x0,n['useRef'])(null),_0x5269eb=(0x0,n['useRef'])(null),_0x4f3e1b=(0x0,n['useRef'])(_0xc0a84c);_0x4f3e1b[_0x58736a(0x70e)]=_0xc0a84c;let _0x171773=(0x0,n['useRef'])(_0x463f53);_0x171773[_0x58736a(0x70e)]=_0x463f53;let _0x1af9f5=(0x0,n[_0x58736a(0x32a)])([]),_0x2ac4bb=(0x0,n[_0x58736a(0x32a)])(new Map()),_0x3b9388=(0x0,n[_0x58736a(0x637)])(()=>{const _0x2b991d=_0x58736a;_0x50f300[_0x2b991d(0x173)](),_0x1d8ef9();},[_0x1d8ef9,_0x50f300]),_0x3f5b2b=(0x0,n[_0x58736a(0x637)])(()=>{const _0x4423f1=_0x58736a;var _0x822bf5;let _0x23523c=re(_0x4f3e1b[_0x4423f1(0x70e)]),_0x37cbdc=(0x0,d[_0x4423f1(0x621)])({'qualifiers':(0x0,d[_0x4423f1(0x4fa)])((_0x822bf5=_0x2ef759[_0x4423f1(0x170)](_0x23523c[_0x4423f1(0x732)]('=')?_0x23523c[_0x4423f1(0x172)](0x1):_0x23523c))==null?[]:_0x822bf5),'explicitReferences':Array[_0x4423f1(0x4b8)](_0x2ac4bb[_0x4423f1(0x70e)][_0x4423f1(0x339)]()),'resolveBinding':_0x2703cb=>_0x531414[_0x4423f1(0x1c6)](_0x3d0fd3[_0x4423f1(0x546)][_0x4423f1(0x2ab)],_0x2703cb)});if(_0x37cbdc[_0x4423f1(0x15a)]!==_0x4423f1(0x2b5)){_0xd2de95(_0x117da3['t'](_0x4423f1(0x74f),_0x37cbdc[_0x4423f1(0x3e6)]));return;}_0x50f300['close'](),_0x3a7ffc({'formula':_0x23523c,'numberFormat':{'pattern':_0x4a568e},'externalReferences':_0x37cbdc[_0x4423f1(0x5de)]});},[_0x531414,_0x2ef759,_0x117da3,_0x4a568e,_0x3a7ffc,_0x3d0fd3[_0x58736a(0x546)]['unitId'],_0x50f300]),_0x15d0da=(_0xab8994=_0x407994[_0x58736a(0x1f1)](_0x586500=>_0x586500[_0x58736a(0x2ab)]===_0x39e372))==null?_0x407994[0x0]:_0xab8994,_0x88b275=(0x0,n[_0x58736a(0x637)])(_0x19d714=>{const _0xa43218=_0x58736a;var _0x43a99a;let _0x4c5052=_0x4f3e1b[_0xa43218(0x70e)],_0x5f547d=_0x171773[_0xa43218(0x70e)],_0x36dbbe=ne({'formula':_0x4c5052,'sequenceNodes':(_0x43a99a=_0x2ef759[_0xa43218(0x170)](_0x4c5052['startsWith']('=')?_0x4c5052['slice'](0x1):_0x4c5052))==null?[]:_0x43a99a,'referenceSelections':_0x1af9f5[_0xa43218(0x70e)],'selectionStart':_0x5f547d[_0xa43218(0x76f)],'selectionEnd':_0x5f547d[_0xa43218(0x7c4)],'change':_0x19d714});if(!_0x36dbbe)return;_0x19d714[_0xa43218(0x785)]&&_0x2ac4bb['current'][_0xa43218(0x66a)]((0x0,d['normalizeHostExternalReferenceQualifier'])(_0x19d714[_0xa43218(0x785)][_0xa43218(0x3e6)]),_0x19d714[_0xa43218(0x785)]),_0xd2de95(''),_0x430a6d(_0x36dbbe[_0xa43218(0x658)]);let _0x500062={'start':_0x36dbbe[_0xa43218(0x228)],'end':_0x36dbbe[_0xa43218(0x641)]};_0x32c13b(_0x500062),_0x171773[_0xa43218(0x70e)]=_0x500062,requestAnimationFrame(()=>{const _0x4a146a=_0xa43218;var _0x1a0a9c,_0x55e6de;(_0x1a0a9c=_0x44149a['current'])==null||_0x1a0a9c[_0x4a146a(0x30c)](_0x36dbbe[_0x4a146a(0x228)],_0x36dbbe['selectionEnd']),(_0x55e6de=_0x44149a['current'])==null||_0x55e6de['focus']();});},[_0x2ef759]);(0x0,n['useEffect'])(()=>{const _0x1dc36e=_0x58736a;if(!_0x3d0fd3[_0x1dc36e(0x11e)]){_0x50f300[_0x1dc36e(0x659)]();return;}let _0xfcd40a=!0x1;return _0x50f300[_0x1dc36e(0x753)]()[_0x1dc36e(0x39c)](_0x1c6ea4=>{const _0xf21de4=_0x1dc36e;var _0x2b7da4,_0x26f3a1;if(_0xfcd40a)return;_0x5eee0f(_0x1c6ea4);let _0x38b055=(_0x2b7da4=_0x1c6ea4[_0xf21de4(0x1f1)](_0xe23f71=>_0xe23f71[_0xf21de4(0x2ab)]===_0x3d0fd3['host'][_0xf21de4(0x2ab)]))==null?_0x1c6ea4[0x0]:_0x2b7da4;_0x4d65ee((_0x26f3a1=_0x38b055==null?void 0x0:_0x38b055[_0xf21de4(0x2ab)])==null?'':_0x26f3a1);})[_0x1dc36e(0x314)](()=>{_0xfcd40a||_0x5eee0f([]);}),()=>{const _0x3df9ec=_0x1dc36e;_0xfcd40a=!0x0,_0x50f300[_0x3df9ec(0x659)]();};},[_0x3d0fd3[_0x58736a(0x546)]['unitId'],_0x3d0fd3['open'],_0x50f300]),(0x0,n[_0x58736a(0x1a6)])(()=>{const _0x343725=_0x58736a;!_0x3d0fd3[_0x343725(0x11e)]||!_0x15d0da||!_0xee27ce||(_0x50f300[_0x343725(0x2f6)](_0xee27ce),_0x50f300[_0x343725(0x2e1)](_0x15d0da,_0x3d0fd3[_0x343725(0x546)],_0x88b275)['catch'](()=>void 0x0));},[_0x88b275,_0x3d0fd3[_0x58736a(0x546)],_0x3d0fd3[_0x58736a(0x11e)],_0x15d0da,_0x50f300,_0xee27ce]);let _0x4f9404=(0x0,n[_0x58736a(0x1f6)])(()=>{const _0x73dc69=_0x58736a;var _0x497a91;return(_0x497a91=_0x2ef759[_0x73dc69(0x170)](_0xc0a84c['startsWith']('=')?_0xc0a84c['slice'](0x1):_0xc0a84c))==null?[]:_0x497a91;},[_0xc0a84c,_0x2ef759]),_0x31e6d5=(_0x27eb4e=(_0xae721a=_0xc0a84c[_0x58736a(0x779)](/[A-Za-z.]+$/))==null?void 0x0:_0xae721a[0x0])==null?'':_0x27eb4e,_0x41398d=_0x31e6d5?(0x0,m[_0x58736a(0x3f5)])(_0x5141b7,_0x31e6d5,0x8):[],_0x2456f4=(0x0,n[_0x58736a(0x1f6)])(()=>({'formulaRefColors':Array[_0x58736a(0x4b8)]({'length':0xc},(_0x1ea38a,_0x475cff)=>{const _0x24df98=_0x58736a;let _0x3e5d18=_0x4f7638[_0x24df98(0xc4)](_0x24df98(0x4ed)+(_0x475cff+0x1));return _0x4f7638[_0x24df98(0x127)](_0x3e5d18)?_0x4f7638[_0x24df98(0xc4)](_0x3e5d18):_0x3e5d18;}),'numberColor':_0x4f7638[_0x58736a(0xc4)](_0x58736a(0x104)),'stringColor':_0x4f7638[_0x58736a(0xc4)](_0x58736a(0x66b)),'plainTextColor':_0x4f7638[_0x58736a(0xc4)](_0x58736a(0x403))}),[_0x4f7638]),_0x28a2f0=(0x0,m['buildFormulaTextRuns'])(_0x5141b7,_0x2456f4,_0x4f9404,{'includeTableReferences':!0x0});_0x1af9f5[_0x58736a(0x70e)]=_0x28a2f0[_0x58736a(0xbf)];let _0x3d6f54=tt(_0xc0a84c[_0x58736a(0x732)]('=')?_0xc0a84c[_0x58736a(0x172)](0x1):_0xc0a84c,_0x28a2f0[_0x58736a(0x719)],_0x2456f4[_0x58736a(0xc7)]);(0x0,n['useEffect'])(()=>{const _0x38df8a=_0x58736a;_0x3d0fd3[_0x38df8a(0x11e)]&&_0x50f300[_0x38df8a(0x382)]({'formula':_0xc0a84c,'sequenceNodes':_0x4f9404,'refSelections':_0x28a2f0[_0x38df8a(0xbf)],'selectionStart':_0x463f53[_0x38df8a(0x76f)],'selectionEnd':_0x463f53['end']});},[_0xc0a84c,_0x4f9404,_0x463f53[_0x58736a(0x7c4)],_0x463f53[_0x58736a(0x76f)],_0x28a2f0[_0x58736a(0xbf)],_0x3d0fd3[_0x58736a(0x11e)],_0x50f300]);let _0x57c9cc=_0x179bb8=>{const _0x2429a9=_0x58736a;let _0x1ecad1=_0x179bb8[_0x2429a9(0x15d)];_0x32c13b({'start':_0x1ecad1[_0x2429a9(0x228)],'end':_0x1ecad1[_0x2429a9(0x641)]});};return(0x0,r['jsxs'])(r[_0x58736a(0x527)],{'children':[(0x0,r[_0x58736a(0x631)])(e[_0x58736a(0xec)],{'open':_0x3d0fd3[_0x58736a(0x11e)],'width':'min(1440px,\x20calc(100vw\x20-\x2032px))','title':_0x117da3['t'](_0x58736a(0x1c8)),'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'onClose':_0x3b9388,'footer':(0x0,r[_0x58736a(0x18b)])(_0x58736a(0x610),{'className':_0x58736a(0x6ab),'children':[(0x0,r[_0x58736a(0x18b)])(_0x58736a(0x610),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x3d0fd3[_0x58736a(0x6fe)],(0x0,r[_0x58736a(0x631)])(e[_0x58736a(0x1ff)],{'open':_0x5407f7,'onOpenChange':_0x417dfe,'overlay':(0x0,r[_0x58736a(0x631)])(Ue,{'onSelect':_0x4e7f9f=>{_0x162342(_0x4e7f9f),_0x417dfe(!0x1);},'onMore':()=>{_0x417dfe(!0x1),_0x51ba5d(!0x0);}}),'children':(0x0,r[_0x58736a(0x18b)])(e[_0x58736a(0x7a4)],{'children':[(0x0,r[_0x58736a(0x631)])(t[_0x58736a(0x2f4)],{}),_0x117da3['t'](_0x58736a(0x1f3))]})})]}),(0x0,r[_0x58736a(0x18b)])(_0x58736a(0x610),{'className':_0x58736a(0x353),'children':[(0x0,r[_0x58736a(0x631)])(e[_0x58736a(0x7a4)],{'onClick':_0x3b9388,'children':_0x117da3['t'](_0x58736a(0x244))}),(0x0,r[_0x58736a(0x631)])(e['Button'],{'variant':_0x58736a(0x2e8),'onClick':_0x3f5b2b,'children':_0x117da3['t'](_0x58736a(0x3c8))})]})]}),'children':(0x0,r[_0x58736a(0x18b)])('div',{'className':_0x58736a(0x63a),'children':[(0x0,r[_0x58736a(0x631)])(_0x58736a(0x2d5),{'className':_0x58736a(0x782),'children':_0x407994[_0x58736a(0x5a7)](_0x323fa2=>(0x0,r[_0x58736a(0x18b)])(_0x58736a(0x54f),{'type':'button','onClick':()=>_0x4d65ee(_0x323fa2[_0x58736a(0x2ab)]),'className':_0x58736a(0x728)+((_0x15d0da==null?void 0x0:_0x15d0da['unitId'])===_0x323fa2[_0x58736a(0x2ab)]?_0x58736a(0x622):_0x58736a(0x73a))+_0x58736a(0x683),'children':[(0x0,r['jsx'])(_0x58736a(0x610),{'className':'univer-truncate\x20univer-text-sm\x20univer-font-medium','children':_0x323fa2[_0x58736a(0x54b)]}),(0x0,r[_0x58736a(0x631)])('div',{'className':_0x58736a(0x4aa),'children':_0x323fa2[_0x58736a(0x49a)]===o[_0x58736a(0x6d2)][_0x58736a(0x236)]?_0x117da3['t'](_0x58736a(0x40f)):_0x117da3['t']('shape-editor-ui.formulaBinding.baseUnit')})]},_0x323fa2['unitId']))}),(0x0,r['jsxs'])('section',{'className':_0x58736a(0x41e),'children':[(0x0,r[_0x58736a(0x18b)])('div',{'className':_0x58736a(0x69a),'children':[(0x0,r[_0x58736a(0x18b)])('div',{'ref':_0x5269eb,'aria-hidden':!0x0,'className':_0x58736a(0x30a),'children':[_0xc0a84c[_0x58736a(0x732)]('=')&&(0x0,r[_0x58736a(0x631)])(_0x58736a(0x3b4),{'style':{'color':_0x2456f4[_0x58736a(0xc7)]},'children':'='}),_0x3d6f54[_0x58736a(0x5a7)](_0x41482d=>(0x0,r[_0x58736a(0x631)])(_0x58736a(0x3b4),{'style':{'color':_0x41482d['color']},'children':_0x41482d['text']},_0x41482d[_0x58736a(0x76f)]+'-'+_0x41482d[_0x58736a(0x7c4)]))]}),(0x0,r[_0x58736a(0x631)])(e[_0x58736a(0x10c)],{'ref':_0x44149a,'value':_0xc0a84c,'autoFocus':!0x0,'spellCheck':!0x1,'className':_0x58736a(0x63b),'style':{'caretColor':_0x2456f4[_0x58736a(0xc7)]},'onValueChange':_0xee16d0=>{_0xd2de95(''),_0x430a6d(_0xee16d0),requestAnimationFrame(()=>{const _0xf21673=_0x1c0f;let _0x52f764=_0x44149a[_0xf21673(0x70e)];_0x52f764&&_0x32c13b({'start':_0x52f764[_0xf21673(0x228)],'end':_0x52f764[_0xf21673(0x641)]});});},'onSelect':_0x57c9cc,'onClick':_0x57c9cc,'onKeyUp':_0x57c9cc,'onScroll':_0x5f23f8=>{const _0x5227a5=_0x58736a;_0x5269eb[_0x5227a5(0x70e)]&&(_0x5269eb[_0x5227a5(0x70e)][_0x5227a5(0x415)]=_0x5f23f8['currentTarget']['scrollTop'],_0x5269eb[_0x5227a5(0x70e)][_0x5227a5(0x154)]=_0x5f23f8[_0x5227a5(0x15d)][_0x5227a5(0x154)]);},'placeholder':_0x117da3['t'](_0x58736a(0x50c))}),_0x41398d[_0x58736a(0x435)]>0x0&&(0x0,r[_0x58736a(0x631)])('div',{'className':_0x58736a(0x126),'children':_0x41398d[_0x58736a(0x5a7)](_0x2a0356=>(0x0,r['jsxs'])('button',{'type':_0x58736a(0x54f),'className':'univer-flex\x20univer-w-full\x20univer-border-none\x20univer-bg-transparent\x20univer-p-2\x20univer-text-left\x20hover:univer-bg-gray-100','onClick':()=>{const _0x563dff=_0x58736a;_0x430a6d(''+_0xc0a84c[_0x563dff(0x172)](0x0,-_0x31e6d5[_0x563dff(0x435)])+_0x2a0356[_0x563dff(0x54b)]+'(');},'children':[(0x0,r[_0x58736a(0x631)])(_0x58736a(0x3b4),{'className':_0x58736a(0x176),'children':_0x2a0356['name']}),(0x0,r[_0x58736a(0x631)])('span',{'className':_0x58736a(0x357),'children':_0x2a0356[_0x58736a(0x6d6)]})]},_0x2a0356[_0x58736a(0x54b)]))})]}),_0x215670&&(0x0,r[_0x58736a(0x631)])(_0x58736a(0x610),{'role':_0x58736a(0x292),'className':_0x58736a(0x1d6),'children':_0x215670}),(0x0,r[_0x58736a(0x631)])(_0x58736a(0x610),{'ref':_0x147211,'className':_0x58736a(0x336)})]})]})}),_0x3c2e13&&(0x0,r['jsx'])($e,{'open':!0x0,'pattern':_0x4a568e,'onClose':()=>_0x51ba5d(!0x1),'onConfirm':_0x1b831f=>{_0x162342(_0x1b831f),_0x51ba5d(!0x1);}})]});}function tt(_0x2d32cc,_0x299669,_0x5babf6){const _0x1ae0ca=_0x2d565c;let _0x116de1=[],_0x53a074=0x0;for(let _0x3d95cc of _0x299669){var _0x38ddeb,_0x50a3e2;_0x3d95cc['st']>_0x53a074&&_0x116de1['push']({'start':_0x53a074,'end':_0x3d95cc['st'],'text':_0x2d32cc[_0x1ae0ca(0x172)](_0x53a074,_0x3d95cc['st']),'color':_0x5babf6}),_0x116de1[_0x1ae0ca(0x40b)]({'start':_0x3d95cc['st'],'end':_0x3d95cc['ed'],'text':_0x2d32cc['slice'](_0x3d95cc['st'],_0x3d95cc['ed']),'color':(_0x38ddeb=(_0x50a3e2=_0x3d95cc['ts'])==null||(_0x50a3e2=_0x50a3e2['cl'])==null?void 0x0:_0x50a3e2[_0x1ae0ca(0x27f)])==null?_0x5babf6:_0x38ddeb}),_0x53a074=_0x3d95cc['ed'];}return _0x53a074<_0x2d32cc[_0x1ae0ca(0x435)]&&_0x116de1[_0x1ae0ca(0x40b)]({'start':_0x53a074,'end':_0x2d32cc[_0x1ae0ca(0x435)],'text':_0x2d32cc['slice'](_0x53a074),'color':_0x5babf6}),_0x116de1;}const nt=_0x2d565c(0x327),rt=_0x2d565c(0x331),it=_0x2d565c(0x290),at=_0x2d565c(0x454),ot={'none':S[_0x2d565c(0x6e3)]['NoFill'],'solid':S[_0x2d565c(0x6e3)][_0x2d565c(0x34c)],'gradient':S[_0x2d565c(0x6e3)]['GradientFill'],'picture':S['ShapeFillEnum'][_0x2d565c(0x11f)]};function st(_0x248c1a){const _0x442f45=_0x2d565c;return _0x248c1a instanceof HTMLElement&&!!_0x248c1a[_0x442f45(0x10d)](_0x442f45(0x4b9));}function ct(_0x577945){const _0x598304=_0x2d565c;st(_0x577945[_0x598304(0xdb)])||_0x577945['preventDefault']();}function $(_0x169962){_0x169962['stopPropagation'](),ct(_0x169962);}function lt(_0x3678d7){const _0x3b9c30=_0x2d565c;let _0x3bb6ee=(0x0,n[_0x3b9c30(0x32a)])(!0x1),_0x5bbc66=(0x0,n['useRef'])(null);return{'handleOpenChange':_0x5efd37=>{const _0x2f8d75=_0x3b9c30;!_0x5efd37&&_0x3bb6ee[_0x2f8d75(0x70e)]||_0x3678d7(_0x5efd37);},'markInternalInteraction':()=>{const _0x1c0649=_0x3b9c30;_0x3bb6ee['current']=!0x0,_0x5bbc66['current']&&clearTimeout(_0x5bbc66[_0x1c0649(0x70e)]),_0x5bbc66[_0x1c0649(0x70e)]=setTimeout(()=>{const _0x4514d4=_0x1c0649;_0x3bb6ee['current']=!0x1,_0x5bbc66[_0x4514d4(0x70e)]=null;},0x1f4);}};}function ut(_0x3ef9f9){const _0x7118b1=_0x2d565c;let {children:_0x59a31e,className:_0x3a9060}=_0x3ef9f9;return(0x0,r[_0x7118b1(0x631)])(_0x7118b1(0x3b4),{'className':(0x0,e[_0x7118b1(0x724)])('univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-leading-none',_0x3a9060),'children':_0x59a31e});}function dt(_0x449ef9){const _0x2462b0=_0x2d565c;let {children:_0x5cbc2c}=_0x449ef9;return(0x0,r[_0x2462b0(0x631)])(_0x2462b0(0x610),{'className':_0x2462b0(0x254),'children':_0x5cbc2c});}function ft(_0x1f636d){const _0x4a7c46=_0x2d565c;let {children:_0x475624,className:_0xf9df6a,maxWidthClassName:_0x3671e5,onMouseDown:_0x26c858}=_0x1f636d;return(0x0,r['jsx'])(_0x4a7c46(0x610),{'onMouseDown':_0x4ee48a=>{const _0x389b05=_0x4a7c46;if(_0x26c858){_0x26c858(_0x4ee48a);return;}_0x4ee48a[_0x389b05(0x576)](),st(_0x4ee48a['target'])||_0x4ee48a[_0x389b05(0x3a1)]();},'className':(0x0,e['clsx'])('univer-box-border\x20univer-flex\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-bg-gray-900',e[_0x4a7c46(0x58d)],_0x3671e5==null?_0x4a7c46(0x427):_0x3671e5,_0xf9df6a),'children':_0x475624});}function pt(_0x4b1ffa){const _0x5d618d=_0x2d565c;let {title:_0xb00c86,active:_0x28b473,disabled:_0x5e0128,children:_0x38e6fd,className:_0x4b70b9,sizeClassName:_0x323677,tooltipVisible:_0x3b3f17,ariaExpanded:_0x5993f8,onClick:_0xc119cc,onMouseDown:_0x1db5f8,onPointerDown:_0x1a1baf}=_0x4b1ffa,_0x2a31b2=_0xb00c86==null?'':_0xb00c86;return(0x0,r['jsx'])(e[_0x5d618d(0x20e)],{'title':_0x2a31b2,'placement':_0x5d618d(0x369),'visible':_0x3b3f17,'children':(0x0,r['jsx'])(_0x5d618d(0x54f),{'type':_0x5d618d(0x54f),'aria-label':_0x2a31b2,'aria-expanded':_0x5993f8,'disabled':_0x5e0128,'onClick':_0xc119cc,'onMouseDown':_0x1db5f8,'onPointerDown':_0x1a1baf,'className':(0x0,e[_0x5d618d(0x724)])(_0x5d618d(0x156),_0x323677==null?'univer-h-6\x20univer-w-6':_0x323677,_0x4b70b9,{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x28b473}),'children':_0x38e6fd})});}function mt(_0x3f0468){const _0xd30216=_0x2d565c;let {title:_0x8e40b8,icon:_0x3af7b3,active:_0x4fef4e,className:_0x18a1bf,sizeClassName:_0x9576d2,onMouseDown:_0x43bf82,onPointerDown:_0x507de7}=_0x3f0468;return(0x0,r[_0xd30216(0x18b)])(pt,{'title':_0x8e40b8,'active':_0x4fef4e,'tooltipVisible':!_0x4fef4e&&void 0x0,'ariaExpanded':_0x4fef4e,'className':_0x18a1bf,'sizeClassName':_0x9576d2==null?_0xd30216(0x754):_0x9576d2,'onMouseDown':_0x43bf82,'onPointerDown':_0x507de7,'children':[_0x3af7b3,(0x0,r[_0xd30216(0x631)])(t['MoreDownIcon'],{'className':_0xd30216(0x66e)})]});}function ht(_0x5245fe){const _0x5c8108=_0x2d565c;let {value:_0x1e5bea,className:_0x13b7e2,onChange:_0x54753c,onAfterChange:_0x68dcfd}=_0x5245fe,_0x5e18cc=s['FONT_SIZE_LIST'][_0x5c8108(0x5a7)](_0x1890f8=>({'label':_0x1890f8['label'],'value':String(_0x1890f8[_0x5c8108(0x456)])}));return(0x0,r[_0x5c8108(0x631)])(e[_0x5c8108(0x100)],{'className':(0x0,e['clsx'])(_0x5c8108(0x52c),_0x13b7e2),'value':String(_0x1e5bea),'options':_0x5e18cc,'onChange':_0x27b6b4=>{const _0x51a725=_0x5c8108;let _0xf6e24f=Number(_0x27b6b4);Number[_0x51a725(0x4df)](_0xf6e24f)||_0x54753c(_0xf6e24f),_0x68dcfd==null||_0x68dcfd();}});}function gt(_0x1e527b){const _0x3cbbdc=_0x2d565c;let {title:_0x15d100,open:_0x244bea,disabled:_0x32c841,icon:_0x330f60,overlay:_0x40c7f9,popoverClassName:_0xa3cdf6,onApply:_0x2b3e5c,onOpenChange:_0xb7a891}=_0x1e527b,_0x4249d8='\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-items-center\x20univer-justify-center\x20univer-border-none\x20univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20';return(0x0,r[_0x3cbbdc(0x18b)])(_0x3cbbdc(0x610),{'className':'univer-flex\x20univer-h-6\x20univer-items-center','children':[(0x0,r['jsx'])(e[_0x3cbbdc(0x20e)],{'title':_0x15d100,'placement':_0x3cbbdc(0x369),'visible':!_0x244bea&&void 0x0,'children':(0x0,r[_0x3cbbdc(0x631)])(_0x3cbbdc(0x54f),{'type':_0x3cbbdc(0x54f),'aria-label':_0x15d100,'disabled':_0x32c841,'onClick':_0x2b3e5c,'className':(0x0,e[_0x3cbbdc(0x724)])(_0x4249d8,'univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none\x20rtl:univer-rounded-l-none\x20rtl:univer-rounded-r-md',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x244bea}),'children':_0x330f60})}),(0x0,r[_0x3cbbdc(0x631)])(e[_0x3cbbdc(0x1ff)],{'disabled':_0x32c841,'open':_0x244bea,'className':_0xa3cdf6,'onOpenChange':_0xb7a891,'overlay':_0x40c7f9,'children':(0x0,r[_0x3cbbdc(0x631)])(_0x3cbbdc(0x3b4),{'children':(0x0,r['jsx'])(e[_0x3cbbdc(0x20e)],{'title':_0x15d100,'placement':_0x3cbbdc(0x369),'visible':!_0x244bea&&void 0x0,'children':(0x0,r[_0x3cbbdc(0x631)])(_0x3cbbdc(0x54f),{'type':'button','aria-label':_0x15d100,'disabled':_0x32c841,'className':(0x0,e[_0x3cbbdc(0x724)])(_0x4249d8,_0x3cbbdc(0x4a2),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x244bea}),'children':(0x0,r[_0x3cbbdc(0x631)])(t['MoreDownIcon'],{'className':(0x0,e[_0x3cbbdc(0x724)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x244bea})})})})})})]});}function _t(_0xae5765){const _0x4de870=_0x2d565c;switch(_0xae5765){case S['ShapeLineDashEnum'][_0x4de870(0x646)]:case S[_0x4de870(0x306)]['SquareDot']:return _0x4de870(0x227);case S[_0x4de870(0x306)][_0x4de870(0x53b)]:return _0x4de870(0x3ef);case S[_0x4de870(0x306)]['DashDot']:return _0x4de870(0x25b);case S[_0x4de870(0x306)][_0x4de870(0x565)]:return'8\x202';case S['ShapeLineDashEnum']['LongDashDot']:return _0x4de870(0x4d5);case S[_0x4de870(0x306)]['LongDashDotDot']:return _0x4de870(0x4c7);case S['ShapeLineDashEnum'][_0x4de870(0x3e0)]:default:return;}}function vt(_0x4cd0ee){const _0x117ba2=_0x2d565c;let {lineStrokeType:_0x4ba867,dashType:_0x55c8ad,color:_0x267ca9=_0x117ba2(0x674),width:_0x48bd9f=0x2,className:_0x180ad0}=_0x4cd0ee;return _0x4ba867===S['ShapeLineTypeEnum'][_0x117ba2(0x321)]?(0x0,r[_0x117ba2(0x18b)])('span',{'className':(0x0,e[_0x117ba2(0x724)])('univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center',_0x180ad0),'children':[(0x0,r[_0x117ba2(0x631)])('span',{'className':_0x117ba2(0x5c4)}),(0x0,r[_0x117ba2(0x631)])(_0x117ba2(0x3b4),{'className':'univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500'})]}):(0x0,r[_0x117ba2(0x631)])(_0x117ba2(0x504),{'className':(0x0,e[_0x117ba2(0x724)])(_0x117ba2(0x221),_0x180ad0),'viewBox':_0x117ba2(0x2ec),'aria-hidden':_0x117ba2(0x11c),'children':(0x0,r[_0x117ba2(0x631)])(_0x117ba2(0x17c),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x267ca9,'strokeWidth':Math['max'](0x1,Math[_0x117ba2(0x2ce)](0x4,_0x48bd9f)),'strokeDasharray':_t(_0x55c8ad),'strokeLinecap':_0x55c8ad===S[_0x117ba2(0x306)]['RoundDot']?'round':_0x117ba2(0x449)})});}function yt(_0x29dd33){const _0x8b25ae=_0x2d565c;let {dashType:_0x9fb5,color:_0x5954b0,width:_0x516501}=_0x29dd33;return(0x0,r[_0x8b25ae(0x631)])(_0x8b25ae(0x3b4),{'className':_0x8b25ae(0x1e8),'children':(0x0,r['jsx'])(vt,{'dashType':_0x9fb5,'color':_0x5954b0,'width':_0x516501})});}const bt=[_0x2d565c(0x591),_0x2d565c(0x6b5),'dash'],xt={'min':0x1,'max':0xa,'step':0x1};function St(_0x150c91,_0x371ef2,_0x4c35ab){return{'nextShapeData':{'stroke':{..._0x150c91,..._0x371ef2,..._0x4c35ab}},'patch':{'stroke':_0x4c35ab}};}function Ct(_0x34c0b1){const _0x4c7428=_0x2d565c;let {labelKey:_0xde5fd8,value:_0x3c1bb9,min:_0x1d4f34,max:_0x40fbab,step:_0x586fdb,disabled:_0x3d4376,suffix:_0x357c24='',onChange:_0x1fa283}=_0x34c0b1;return(0x0,r[_0x4c7428(0x18b)])(_0x4c7428(0x610),{'className':_0x4c7428(0x1df),'children':[(0x0,r[_0x4c7428(0x18b)])('div',{'className':_0x4c7428(0x1e2),'children':[(0x0,r[_0x4c7428(0x631)])(_0x4c7428(0x3b4),{'className':'univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,s[_0x4c7428(0x2b3)])(o['LocaleService'])['t'](_0xde5fd8)}),(0x0,r['jsxs'])(_0x4c7428(0x3b4),{'className':'univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':[_0x3c1bb9,_0x357c24]})]}),(0x0,r[_0x4c7428(0x631)])(_0x4c7428(0xd5),{'type':_0x4c7428(0x567),'min':_0x1d4f34,'max':_0x40fbab,'step':_0x586fdb,'value':_0x3c1bb9,'disabled':_0x3d4376,'onChange':_0x57e08f=>_0x1fa283(Number(_0x57e08f[_0x4c7428(0xdb)][_0x4c7428(0x456)])),'className':_0x4c7428(0x691)})]});}function wt(_0x2f5ef0){const _0x511387=_0x2d565c;var _0x337082,_0x5b105c,_0x27d723,_0x5e1b71,_0x1c2688;let {title:_0x2b39db,shapeData:_0x3ffbb7,disabled:_0x3d3805,resetLabel:_0x5c709b='',modeOptions:_0x12d5e9=bt,showDashDropdown:_0x47956f=!0x0,fallbackColor:_0x1eb968=rt,widthRange:_0x760ba1=xt,onReset:_0x5cbb75,onRequestClose:_0x65e70,onUpdateShapeData:_0x1ddd39}=_0x2f5ef0,_0x32b701=(0x0,s[_0x511387(0x2b3)])(o[_0x511387(0xe5)]),_0x19a0be=(0x0,s[_0x511387(0xfb)])(_0x32b701[_0x511387(0x1e1)],_0x32b701['getDirection']()),[_0x403905,_0x47de54]=(0x0,n[_0x511387(0x311)])(!0x1),[_0x2f19bd,_0x3b1ec8]=(0x0,n['useState'])(!0x1),_0x81771f=_0x3ffbb7[_0x511387(0x710)],_0x48d285=(_0x337082=_0x81771f==null?void 0x0:_0x81771f['color'])==null?_0x1eb968:_0x337082,_0x2a30ed=Math[_0x511387(0x141)](_0x760ba1[_0x511387(0x2ce)],Math[_0x511387(0x2ce)](_0x760ba1[_0x511387(0x141)],Math[_0x511387(0x767)]((_0x5b105c=_0x81771f==null?void 0x0:_0x81771f['width'])==null?S[_0x511387(0x345)][_0x511387(0x28d)]:_0x5b105c))),_0x122065=Math[_0x511387(0x767)]((0x1-((_0x27d723=_0x81771f==null?void 0x0:_0x81771f['opacity'])==null?S[_0x511387(0x345)][_0x511387(0x132)]:_0x27d723))*0x64),_0x494617=(_0x5e1b71=_0x81771f==null?void 0x0:_0x81771f['dashType'])==null?S[_0x511387(0x345)]['lineDashType']:_0x5e1b71,_0x592a45=(_0x1c2688=_0x81771f==null?void 0x0:_0x81771f[_0x511387(0x218)])==null?S[_0x511387(0x345)][_0x511387(0x5d7)]:_0x1c2688,_0x49f3af=_0x592a45!==S[_0x511387(0x196)][_0x511387(0x321)]&&_0x494617!==S[_0x511387(0x306)][_0x511387(0x3e0)]&&_0x494617!==S['ShapeLineDashEnum']['Dash'],_0x3c386c=_0x592a45===S['ShapeLineTypeEnum'][_0x511387(0x321)]?_0x511387(0x591):_0x494617===S['ShapeLineDashEnum'][_0x511387(0x3e0)]?_0x511387(0x6b5):_0x494617===S[_0x511387(0x306)]['RoundDot']||_0x494617===S[_0x511387(0x306)][_0x511387(0x4b3)]?_0x511387(0x6b8):_0x494617===S[_0x511387(0x306)][_0x511387(0x53b)]?_0x511387(0x6c9):_0x511387(0x1b2),_0x2f61c9=[{'label':(0x0,r['jsx'])(yt,{'dashType':S['ShapeLineDashEnum']['Solid'],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S[_0x511387(0x306)][_0x511387(0x3e0)])},{'label':(0x0,r[_0x511387(0x631)])(yt,{'dashType':S['ShapeLineDashEnum'][_0x511387(0x646)],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S['ShapeLineDashEnum']['RoundDot'])},{'label':(0x0,r['jsx'])(yt,{'dashType':S[_0x511387(0x306)][_0x511387(0x4b3)],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S[_0x511387(0x306)][_0x511387(0x4b3)])},{'label':(0x0,r[_0x511387(0x631)])(yt,{'dashType':S[_0x511387(0x306)][_0x511387(0x53b)],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S['ShapeLineDashEnum'][_0x511387(0x53b)])},{'label':(0x0,r[_0x511387(0x631)])(yt,{'dashType':S['ShapeLineDashEnum'][_0x511387(0x51d)],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S[_0x511387(0x306)]['DashDot'])},{'label':(0x0,r[_0x511387(0x631)])(yt,{'dashType':S[_0x511387(0x306)][_0x511387(0x565)],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S[_0x511387(0x306)][_0x511387(0x565)])},{'label':(0x0,r[_0x511387(0x631)])(yt,{'dashType':S[_0x511387(0x306)][_0x511387(0x448)],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S[_0x511387(0x306)][_0x511387(0x448)])},{'label':(0x0,r[_0x511387(0x631)])(yt,{'dashType':S[_0x511387(0x306)][_0x511387(0x43d)],'color':_0x48d285,'width':_0x2a30ed}),'value':String(S['ShapeLineDashEnum'][_0x511387(0x43d)])}],_0x5e1da7={'none':_0x32b701['t']('shape-editor-ui.line.noLine'),'solid':_0x32b701['t'](_0x511387(0x3f2)),'dash':_0x32b701['t'](_0x511387(0x7c0)),'dot':_0x32b701['t']('shape-editor-ui.line.dashType.roundDot')};(0x0,n[_0x511387(0x1a6)])(()=>{const _0x3970e1=_0x511387;_0x592a45===S[_0x3970e1(0x196)][_0x3970e1(0x321)]&&_0x47de54(!0x1);},[_0x592a45]);let _0x491873=_0xb3b8db=>{const _0x322b2b=_0x511387;var _0xf5b0a7;let _0x3df4b2=St(_0x3ffbb7[_0x322b2b(0x710)],{'lineStrokeType':_0x592a45,'color':_0x48d285,'width':_0x2a30ed,'opacity':(_0xf5b0a7=_0x81771f==null?void 0x0:_0x81771f[_0x322b2b(0x203)])==null?S['ShapeDefaultConfig']['strokeOpacity']:_0xf5b0a7,'dashType':_0x494617},_0xb3b8db);_0x1ddd39({'oldShapeData':{'stroke':_0x3ffbb7['stroke']}},_0x3df4b2[_0x322b2b(0x51e)],_0x3df4b2[_0x322b2b(0x757)]);},_0x58d8e8=_0x506d6f=>{const _0x5b928b=_0x511387;if(_0x506d6f===_0x5b928b(0x591)){_0x491873({'lineStrokeType':S[_0x5b928b(0x196)][_0x5b928b(0x321)]});return;}_0x491873({'lineStrokeType':S[_0x5b928b(0x196)][_0x5b928b(0x623)],'dashType':_0x506d6f===_0x5b928b(0x6b5)?S[_0x5b928b(0x306)][_0x5b928b(0x3e0)]:_0x506d6f===_0x5b928b(0x6b8)?S[_0x5b928b(0x306)][_0x5b928b(0x646)]:S[_0x5b928b(0x306)][_0x5b928b(0x53b)]});};return(0x0,r[_0x511387(0x631)])(_0x511387(0x610),{'dir':_0x19a0be,'onPointerDown':$,'onPointerMove':()=>_0x3b1ec8(!0x0),'onMouseDown':$,'onClick':_0x57f1b7=>{const _0x4b7190=_0x511387;_0x57f1b7[_0x4b7190(0x576)](),(!(_0x57f1b7[_0x4b7190(0xdb)]instanceof HTMLElement)||!_0x57f1b7[_0x4b7190(0xdb)][_0x4b7190(0x10d)](_0x4b7190(0x3fd)))&&_0x47de54(!0x1);},'className':(0x0,e[_0x511387(0x724)])(_0x511387(0x2b2)),'children':(0x0,r[_0x511387(0x18b)])(_0x511387(0x610),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r[_0x511387(0x631)])(_0x511387(0x3b4),{'className':_0x511387(0x3ed),'children':_0x2b39db}),(0x0,r[_0x511387(0x18b)])('div',{'className':(0x0,e[_0x511387(0x724)])('univer-grid\x20univer-items-center\x20univer-gap-1',_0x47956f&&_0x12d5e9[_0x511387(0x6b1)]('dash')?_0x511387(0x618):_0x511387(0x3a2)),'children':[_0x12d5e9['map'](_0x58d6ce=>(0x0,r[_0x511387(0x631)])(e[_0x511387(0x20e)],{'title':_0x5e1da7[_0x58d6ce],'placement':'top','visible':_0x2f19bd?void 0x0:!0x1,'children':(0x0,r[_0x511387(0x631)])(_0x511387(0x54f),{'type':_0x511387(0x54f),'disabled':_0x3d3805,'aria-label':_0x5e1da7[_0x58d6ce],'onClick':()=>_0x58d8e8(_0x58d6ce),'className':(0x0,e[_0x511387(0x724)])(_0x511387(0x16d),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x3c386c===_0x58d6ce}),'children':(0x0,r[_0x511387(0x631)])(vt,{'lineStrokeType':_0x58d6ce===_0x511387(0x591)?S['ShapeLineTypeEnum'][_0x511387(0x321)]:S['ShapeLineTypeEnum']['SolidLine'],'dashType':_0x58d6ce===_0x511387(0x6c9)?S['ShapeLineDashEnum'][_0x511387(0x53b)]:_0x58d6ce==='dot'?S[_0x511387(0x306)][_0x511387(0x646)]:S['ShapeLineDashEnum'][_0x511387(0x3e0)],'color':_0x58d6ce==='none'?void 0x0:_0x48d285,'width':_0x58d6ce==='none'?0x2:_0x2a30ed})})},_0x58d6ce)),_0x47956f&&_0x12d5e9[_0x511387(0x6b1)](_0x511387(0x6c9))&&(0x0,r[_0x511387(0x631)])(e[_0x511387(0x1ff)],{'disabled':_0x3d3805||_0x592a45===S[_0x511387(0x196)]['NoLine'],'open':_0x403905,'onOpenChange':_0x47de54,'overlay':(0x0,r[_0x511387(0x631)])(_0x511387(0x610),{'dir':_0x19a0be,'data-u-comp':_0x511387(0x79c),'onPointerDown':$,'onMouseDown':$,'onClick':_0x404034=>_0x404034[_0x511387(0x576)](),'className':'univer-w-28\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':_0x2f61c9[_0x511387(0x5a7)](_0x250e35=>(0x0,r['jsx'])(_0x511387(0x54f),{'type':_0x511387(0x54f),'onClick':()=>{const _0x407f39=_0x511387;let _0x966811=Number(_0x250e35[_0x407f39(0x456)]);_0x491873({'lineStrokeType':S[_0x407f39(0x196)][_0x407f39(0x623)],'dashType':_0x966811}),_0x47de54(!0x1);},'className':(0x0,e['clsx'])(_0x511387(0x428),{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x250e35[_0x511387(0x456)]===String(_0x494617)}),'children':_0x250e35[_0x511387(0x553)]},_0x250e35[_0x511387(0x456)]))}),'children':(0x0,r[_0x511387(0x631)])(_0x511387(0x3b4),{'className':_0x511387(0x6c7),'data-u-comp':_0x511387(0x79c),'children':(0x0,r[_0x511387(0x631)])(e[_0x511387(0x20e)],{'title':_0x32b701['t'](_0x511387(0x7c0)),'placement':_0x511387(0x337),'visible':_0x2f19bd?void 0x0:!0x1,'children':(0x0,r[_0x511387(0x18b)])('button',{'type':_0x511387(0x54f),'role':'combobox','aria-expanded':_0x403905,'disabled':_0x3d3805||_0x592a45===S[_0x511387(0x196)][_0x511387(0x321)],'onClick':_0x465b5c=>{const _0x47c297=_0x511387;_0x465b5c[_0x47c297(0x576)](),_0x47de54(_0x64d9ee=>!_0x64d9ee);},'className':(0x0,e[_0x511387(0x724)])(_0x511387(0x175),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x49f3af}),'children':[(0x0,r['jsx'])(vt,{'dashType':S[_0x511387(0x306)][_0x511387(0x448)],'color':_0x48d285,'width':_0x2a30ed,'className':'univer-w-12'}),(0x0,r[_0x511387(0x631)])(t[_0x511387(0x6c2)],{'className':(0x0,e[_0x511387(0x724)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x403905})})]})})})})]}),(0x0,r[_0x511387(0x631)])(Ct,{'labelKey':'shape-editor-ui.line.width','value':_0x2a30ed,'min':_0x760ba1['min'],'max':_0x760ba1[_0x511387(0x141)],'step':_0x760ba1['step'],'disabled':_0x3d3805||_0x592a45===S[_0x511387(0x196)]['NoLine'],'onChange':_0xf625b9=>{const _0x5eb38b=_0x511387;_0x491873({'lineStrokeType':S[_0x5eb38b(0x196)]['SolidLine'],'width':_0xf625b9});}}),(0x0,r[_0x511387(0x631)])(e[_0x511387(0x268)],{}),_0x5cbb75&&(0x0,r['jsx'])('button',{'type':'button','disabled':_0x3d3805,'onClick':()=>{_0x5cbb75(),_0x65e70==null||_0x65e70();},'className':_0x511387(0x49c),'children':_0x5c709b}),(0x0,r[_0x511387(0x631)])(e[_0x511387(0x64c)],{'value':_0x48d285,'onChange':_0x265b8a=>{const _0x61102f=_0x511387;_0x491873({'lineStrokeType':S[_0x61102f(0x196)][_0x61102f(0x623)],'color':_0x265b8a});}}),(0x0,r[_0x511387(0x631)])(Ct,{'labelKey':_0x511387(0x6eb),'value':_0x122065,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x3d3805||_0x592a45===S[_0x511387(0x196)][_0x511387(0x321)],'onChange':_0x2731ce=>{const _0x204d42=_0x511387;_0x491873({'opacity':(0x64-Math[_0x204d42(0x141)](0x0,Math[_0x204d42(0x2ce)](0x64,_0x2731ce)))/0x64});}})]})});}function Tt(_0x4d890f){const _0x2aab9d=_0x2d565c;var _0xa280f7;let {title:_0x5f1edd,shapeData:_0x4c5992,open:_0x2153e3,disabled:_0x2f2326,resetLabel:_0x2cbac3,fallbackColor:_0x2a9458=rt,onReset:_0x91651c,onOpenChange:_0x36273a,onUpdateShapeData:_0xd613c7}=_0x4d890f,[_0x3d5f28,_0x3f8c65]=(0x0,n[_0x2aab9d(0x311)])(!0x1),_0x21e3ad=_0x2153e3==null?_0x3d5f28:_0x2153e3,_0x5ed8ce=_0x36273a==null?_0x3f8c65:_0x36273a,{handleOpenChange:_0x37f24e,markInternalInteraction:_0x3d194d}=lt(_0x5ed8ce),_0x47425a=_0x4c5992['stroke'],_0xf5a114=(_0xa280f7=_0x47425a==null?void 0x0:_0x47425a[_0x2aab9d(0x7b7)])==null?_0x2a9458:_0xa280f7;return(0x0,r['jsx'])(e[_0x2aab9d(0x1ff)],{'disabled':_0x2f2326,'open':_0x21e3ad,'onOpenChange':_0x37f24e,'overlay':(0x0,r['jsx'])(_0x2aab9d(0x610),{'onPointerDownCapture':_0x6b6e09=>{_0x3d194d(),ct(_0x6b6e09);},'onMouseDownCapture':_0x4ef27a=>{_0x3d194d(),ct(_0x4ef27a);},'children':(0x0,r[_0x2aab9d(0x631)])(wt,{'title':_0x5f1edd,'shapeData':_0x4c5992,'disabled':_0x2f2326,'resetLabel':_0x2cbac3,'fallbackColor':_0x2a9458,'onReset':_0x91651c,'onRequestClose':()=>_0x5ed8ce(!0x1),'onUpdateShapeData':_0xd613c7})}),'children':(0x0,r[_0x2aab9d(0x631)])(_0x2aab9d(0x3b4),{'children':(0x0,r[_0x2aab9d(0x631)])(e[_0x2aab9d(0x20e)],{'title':_0x5f1edd,'placement':_0x2aab9d(0x369),'visible':!_0x21e3ad&&void 0x0,'children':(0x0,r[_0x2aab9d(0x18b)])(_0x2aab9d(0x54f),{'type':_0x2aab9d(0x54f),'aria-label':_0x5f1edd,'disabled':_0x2f2326,'className':(0x0,e[_0x2aab9d(0x724)])('univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x21e3ad}),'children':[(0x0,r[_0x2aab9d(0x631)])(t[_0x2aab9d(0x6a2)],{'className':_0x2aab9d(0x673),'extend':{'colorChannel1':_0xf5a114}}),(0x0,r[_0x2aab9d(0x631)])(t[_0x2aab9d(0x6c2)],{'className':(0x0,e[_0x2aab9d(0x724)])(_0x2aab9d(0x48a),{'univer-rotate-180':_0x21e3ad})})]})})})});}function Et(_0x251458){const _0x38cfbf=_0x2d565c;var _0x10adb4,_0x227162;return(_0x10adb4=(_0x227162=_0x251458[_0x38cfbf(0xfd)])==null?void 0x0:_0x227162[_0x38cfbf(0x77c)])==null?S['ShapeDefaultConfig'][_0x38cfbf(0x77c)]:_0x10adb4;}function Dt(_0x2d9578){const _0x57db77=_0x2d565c;switch(_0x2d9578){case S[_0x57db77(0x45c)][_0x57db77(0x269)]:return _0x57db77(0x703);case S[_0x57db77(0x45c)]['Angular']:return _0x57db77(0x7be);case S['ShapeGradientTypeEnum'][_0x57db77(0x15b)]:return'diamond';case S[_0x57db77(0x45c)][_0x57db77(0x4a8)]:default:return'linear';}}function Ot(_0x3f304f){const _0x4a2550=_0x2d565c;switch(_0x3f304f){case'radial':return S['ShapeGradientTypeEnum'][_0x4a2550(0x269)];case _0x4a2550(0x7be):return S[_0x4a2550(0x45c)][_0x4a2550(0x7ad)];case _0x4a2550(0x208):return S['ShapeGradientTypeEnum'][_0x4a2550(0x15b)];default:return S[_0x4a2550(0x45c)]['Linear'];}}function kt(_0x50d98c,_0x294e1e,_0x35f476){const _0x2ca783=_0x2d565c;var _0x67f26b,_0x37283b;let _0x3f3c6e=_0x50d98c[_0x2ca783(0xfd)];return{'type':Dt((_0x67f26b=_0x3f3c6e==null?void 0x0:_0x3f3c6e['gradientType'])==null?S[_0x2ca783(0x345)][_0x2ca783(0x281)]:_0x67f26b),'angle':(_0x37283b=_0x3f3c6e==null?void 0x0:_0x3f3c6e[_0x2ca783(0x5c0)])==null?S[_0x2ca783(0x345)][_0x2ca783(0x5c0)]:_0x37283b,'stops':_0x3f3c6e!=null&&_0x3f3c6e[_0x2ca783(0x6ea)]&&_0x3f3c6e[_0x2ca783(0x6ea)][_0x2ca783(0x435)]>=0x2?_0x3f3c6e[_0x2ca783(0x6ea)][_0x2ca783(0x5a7)](_0x4a040d=>({'color':_0x4a040d['color'],'offset':_0x4a040d['position']*0x64,'opacity':_0x4a040d[_0x2ca783(0x203)]})):[{'color':_0x294e1e,'offset':0x0},{'color':_0x35f476,'offset':0x64}]};}function At(_0x37e925){const _0x3327dc=_0x2d565c;var _0x4e5352,_0x8ee0cd,_0x553a27;let {shapeData:_0x1669a8,disabled:_0x5bd3ec,onUpdateShapeData:_0x2d158e}=_0x37e925,_0x2f9d1=(0x0,s[_0x3327dc(0x2b3)])(o[_0x3327dc(0xe5)]),_0x1b8f32=(0x0,s['useDependency'])(o[_0x3327dc(0x5e2)]),_0x47a02f=(0x0,s['useDependency'])(o[_0x3327dc(0x21b)]),_0xdaf69f=(0x0,n['useRef'])(null),_0x54efb8=_0x1669a8[_0x3327dc(0xfd)],_0x1c8a6d=(_0x4e5352=(_0x8ee0cd=_0x54efb8==null?void 0x0:_0x54efb8[_0x3327dc(0x261)])==null?_0x54efb8==null?void 0x0:_0x54efb8[_0x3327dc(0x203)]:_0x8ee0cd)==null?0x1:_0x4e5352,_0x1a0678=Math['round']((0x1-_0x1c8a6d)*0x64),_0x30597d=_0x54efb8!=null&&_0x54efb8[_0x3327dc(0x5f0)]&&/^(?:data:|https?:)/['test'](_0x54efb8['fillImageSource'])?_0x54efb8[_0x3327dc(0x5f0)]:void 0x0,_0x5a5777=_0x18884a=>{const _0x2da4a4=_0x3327dc;var _0x3647c9;_0x2d158e({'oldShapeData':{'fill':_0x54efb8?{..._0x54efb8}:void 0x0}},{'fill':{..._0x54efb8,'fillType':S[_0x2da4a4(0x6e3)][_0x2da4a4(0x11f)],'imageFillMode':(_0x3647c9=_0x54efb8==null?void 0x0:_0x54efb8[_0x2da4a4(0x6af)])==null?S['ImageFillModeEnum'][_0x2da4a4(0x3c2)]:_0x3647c9,..._0x18884a}},{'fill':_0x18884a});};return(0x0,r[_0x3327dc(0x18b)])('div',{'className':_0x3327dc(0x44e),'children':[(0x0,r[_0x3327dc(0x18b)])('div',{'className':_0x3327dc(0x1e2),'children':[(0x0,r[_0x3327dc(0x631)])(_0x3327dc(0x3b4),{'className':_0x3327dc(0xdc),'children':_0x2f9d1['t'](_0x3327dc(0x308))}),(0x0,r[_0x3327dc(0x631)])('input',{'ref':_0xdaf69f,'type':_0x3327dc(0x421),'accept':_0x3327dc(0x17b),'className':_0x3327dc(0x6de),'onChange':async _0x21a911=>{const _0x57458f=_0x3327dc;var _0x2c5b3b;let _0x3c50e9=(_0x2c5b3b=_0x21a911[_0x57458f(0xdb)][_0x57458f(0x391)])==null?void 0x0:_0x2c5b3b[0x0];if(!_0x3c50e9)return;_0x21a911['target'][_0x57458f(0x456)]='';let _0x5bc5e9=await _0x47a02f[_0x57458f(0x36e)](_0x3c50e9);if(_0x5bc5e9==null)return;let {imageSourceType:_0x12d123,source:_0x1dc845,base64Cache:_0x49bed5}=_0x5bc5e9,{image:_0x247f3d}=await(0x0,x['getImageSize'])(_0x49bed5||'');_0x47a02f['addImageSourceCache'](_0x1dc845,_0x12d123,_0x247f3d),_0x5a5777({'fillImageSource':_0x1dc845,'fillImageSourceType':_0x12d123,'imageOpacity':_0x1c8a6d});}}),(0x0,r['jsx'])(_0x3327dc(0x54f),{'type':_0x3327dc(0x54f),'disabled':_0x5bd3ec,'onClick':()=>{const _0x2ae034=_0x3327dc;var _0x21ab4b;return(_0x21ab4b=_0xdaf69f[_0x2ae034(0x70e)])==null?void 0x0:_0x21ab4b[_0x2ae034(0x284)]();},'className':_0x3327dc(0x389),'children':_0x2f9d1['t'](_0x3327dc(0x59c))})]}),_0x30597d&&(0x0,r['jsx'])(_0x3327dc(0x392),{'src':_0x30597d,'alt':'','className':_0x3327dc(0x33f)}),(0x0,r[_0x3327dc(0x18b)])('div',{'className':_0x3327dc(0x1e2),'children':[(0x0,r[_0x3327dc(0x631)])('span',{'className':_0x3327dc(0xdc),'children':_0x2f9d1['t'](_0x3327dc(0x651))}),(0x0,r[_0x3327dc(0x631)])('div',{'className':'univer-w-20','children':(0x0,r[_0x3327dc(0x631)])(e[_0x3327dc(0x2e9)],{'className':_0x3327dc(0x608),'value':_0x1a0678,'disabled':_0x5bd3ec,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x465093=>_0x465093+'%','parser':_0x6a5b08=>(_0x6a5b08==null?void 0x0:_0x6a5b08[_0x3327dc(0x3f8)]('%',''))||'','onChange':_0x5a43ee=>{const _0x51d7e5=_0x3327dc;_0x5a5777({'imageOpacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x5a43ee==null?0x0:_0x5a43ee)))/0x64}),_0x1b8f32[_0x51d7e5(0x5d6)](o[_0x51d7e5(0x6d5)],!0x1);},'onFocus':()=>_0x1b8f32[_0x3327dc(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x1b8f32[_0x3327dc(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x3327dc(0x631)])(e['Checkbox'],{'checked':(_0x553a27=_0x54efb8==null?void 0x0:_0x54efb8[_0x3327dc(0x205)])!=null&&_0x553a27,'disabled':_0x5bd3ec,'onChange':_0x259696=>{_0x5a5777({'imageRotateWithShape':_0x259696});},'children':(0x0,r[_0x3327dc(0x631)])(_0x3327dc(0x3b4),{'className':_0x3327dc(0x66e),'children':_0x2f9d1['t']('shape-editor-ui.fill.picture.rotateWithShape')})})]});}function jt(_0x17c1dc){const _0x165216=_0x2d565c;var _0x1f31cb,_0x53e2d7;let {title:_0x1a1181,shapeData:_0x13f318,open:_0x56a8c9,disabled:_0x2723d7,fallbackColor:_0x85a319=nt,fallbackGradientEndColor:_0x22d7d7=_0x165216(0x44d),onOpenChange:_0xc7b45d,onUpdateShapeData:_0x3f1ecb}=_0x17c1dc,_0x5f45c0=(0x0,s[_0x165216(0x2b3)])(o['LocaleService']),[_0x42ed12,_0x290f7b]=(0x0,n[_0x165216(0x311)])(!0x1),_0x495210=_0x56a8c9==null?_0x42ed12:_0x56a8c9,{handleOpenChange:_0x2071b7,markInternalInteraction:_0x4e1986}=lt(_0xc7b45d==null?_0x290f7b:_0xc7b45d),_0x3fd689=_0x13f318['fill'],_0x5d3586=Et(_0x13f318),_0x58bf34=(_0x1f31cb=_0x3fd689==null?void 0x0:_0x3fd689['color'])==null?_0x85a319:_0x1f31cb,_0x5b0f89=(_0x1a73db,_0x5b7af9)=>{_0x3f1ecb({'oldShapeData':{'fill':_0x3fd689?{..._0x3fd689}:void 0x0}},{'fill':_0x1a73db},{'fill':_0x5b7af9});},_0x4f5cfd=()=>{const _0x34730f=_0x165216;let _0x348f3a=kt(_0x13f318,_0x58bf34,_0x22d7d7);return{..._0x3fd689,'fillType':S[_0x34730f(0x6e3)]['GradientFill'],'color':_0x58bf34,'gradientType':Ot(_0x348f3a[_0x34730f(0x49a)]),'gradientAngle':_0x348f3a[_0x34730f(0x796)],'gradientStops':_0x348f3a[_0x34730f(0x1be)]['map'](_0x282123=>({'position':_0x282123[_0x34730f(0x43e)]/0x64,'color':_0x282123[_0x34730f(0x7b7)],'opacity':_0x282123[_0x34730f(0x203)]}))};};return(0x0,r[_0x165216(0x631)])(e[_0x165216(0x1ff)],{'disabled':_0x2723d7,'open':_0x495210,'onOpenChange':_0x2071b7,'overlay':(0x0,r[_0x165216(0x631)])(_0x165216(0x610),{'onPointerDownCapture':_0x16a151=>{_0x4e1986(),ct(_0x16a151);},'onMouseDownCapture':_0x5cadd7=>{_0x4e1986(),ct(_0x5cadd7);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x1de147=>_0x1de147['stopPropagation'](),'className':(0x0,e[_0x165216(0x724)])(_0x165216(0x3d7),_0x165216(0x4e6)),'children':(0x0,r[_0x165216(0x631)])(E,{'compact':!0x0,'disabled':_0x2723d7,'direction':_0x5f45c0[_0x165216(0x1f0)](),'value':_0x5d3586,'typeValues':ot,'color':_0x58bf34,'transparency':Math[_0x165216(0x767)]((0x1-((_0x53e2d7=_0x3fd689==null?void 0x0:_0x3fd689[_0x165216(0x203)])==null?0x1:_0x53e2d7))*0x64),'gradientValue':kt(_0x13f318,_0x58bf34,_0x22d7d7),'labels':{'noFill':_0x5f45c0['t'](_0x165216(0x725)),'solidFill':_0x5f45c0['t'](_0x165216(0x472)),'gradientFill':_0x5f45c0['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x5f45c0['t'](_0x165216(0x545)),'color':_0x5f45c0['t'](_0x165216(0x1a9)),'transparency':_0x5f45c0['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x5f45c0['t'](_0x165216(0x725)),'solidFill':_0x5f45c0['t'](_0x165216(0x472)),'gradientFill':_0x5f45c0['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x5f45c0['t']('shape-editor-ui.fill.pictureFill')},'renderColorIcon':_0x4b8116=>(0x0,r['jsx'])(t[_0x165216(0x31f)],{'className':_0x165216(0x4ef),'extend':{'colorChannel1':_0x4b8116}}),'onChange':_0xcb8ea7=>{const _0x56164d=_0x165216;if(_0xcb8ea7===S[_0x56164d(0x6e3)][_0x56164d(0x2f5)])_0x5b0f89({..._0x3fd689,'fillType':S[_0x56164d(0x6e3)][_0x56164d(0x2f5)]},{'fillType':S['ShapeFillEnum'][_0x56164d(0x2f5)]});else{if(_0xcb8ea7===S[_0x56164d(0x6e3)]['SolidFill']){var _0xf32fd0;let _0xcb2786={'fillType':S[_0x56164d(0x6e3)][_0x56164d(0x34c)],'color':_0x58bf34,'opacity':(_0xf32fd0=_0x3fd689==null?void 0x0:_0x3fd689[_0x56164d(0x203)])==null?0x1:_0xf32fd0};_0x5b0f89({..._0x3fd689,..._0xcb2786},_0xcb2786);}else{if(_0xcb8ea7===S['ShapeFillEnum'][_0x56164d(0x51c)]){let _0x11f8a7=_0x4f5cfd();_0x5b0f89(_0x11f8a7,_0x11f8a7);}else{if(_0xcb8ea7===S[_0x56164d(0x6e3)]['PictureFill']){var _0x1eaa6b,_0x3e3f1b;let _0x228edb={'fillType':S['ShapeFillEnum']['PictureFill'],'color':_0x58bf34,'imageOpacity':(_0x1eaa6b=_0x3fd689==null?void 0x0:_0x3fd689['imageOpacity'])==null?0x1:_0x1eaa6b,'imageFillMode':(_0x3e3f1b=_0x3fd689==null?void 0x0:_0x3fd689['imageFillMode'])==null?S[_0x56164d(0x681)][_0x56164d(0x3c2)]:_0x3e3f1b};_0x5b0f89({..._0x3fd689,..._0x228edb},_0x228edb);}}}}},'onColorChange':_0x494ac1=>{const _0x411690=_0x165216;var _0x2d56c1;let _0x3b3b19={'fillType':S[_0x411690(0x6e3)][_0x411690(0x34c)],'color':_0x494ac1};_0x5b0f89({..._0x3fd689,..._0x3b3b19,'opacity':(_0x2d56c1=_0x3fd689==null?void 0x0:_0x3fd689['opacity'])==null?0x1:_0x2d56c1},_0x3b3b19);},'onTransparencyChange':_0x270173=>{const _0x3aa2a2=_0x165216;let _0x8b4125={'fillType':S[_0x3aa2a2(0x6e3)][_0x3aa2a2(0x34c)],'opacity':(0x64-Math['max'](0x0,Math[_0x3aa2a2(0x2ce)](0x64,_0x270173)))/0x64};_0x5b0f89({..._0x3fd689,'color':_0x58bf34,..._0x8b4125},_0x8b4125);},'onGradientChange':_0x230a76=>{const _0x3ae66b=_0x165216;let _0x301ef6={'fillType':S[_0x3ae66b(0x6e3)][_0x3ae66b(0x51c)],'gradientType':Ot(_0x230a76[_0x3ae66b(0x49a)]),'gradientAngle':_0x230a76[_0x3ae66b(0x796)],'gradientStops':_0x230a76['stops'][_0x3ae66b(0x5a7)](_0x330151=>({'position':_0x330151[_0x3ae66b(0x43e)]/0x64,'color':_0x330151[_0x3ae66b(0x7b7)],'opacity':_0x330151[_0x3ae66b(0x203)]}))};_0x5b0f89({..._0x3fd689,'color':_0x58bf34,..._0x301ef6},_0x301ef6);},'pictureFillEditor':(0x0,r[_0x165216(0x631)])(At,{'shapeData':_0x13f318,'disabled':_0x2723d7,'onUpdateShapeData':_0x3f1ecb})})}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r['jsx'])(e['Tooltip'],{'title':_0x1a1181,'placement':_0x165216(0x369),'visible':!_0x495210&&void 0x0,'children':(0x0,r[_0x165216(0x18b)])(_0x165216(0x54f),{'type':_0x165216(0x54f),'disabled':_0x2723d7,'className':(0x0,e[_0x165216(0x724)])(_0x165216(0x1a1),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x495210}),'children':[(0x0,r['jsx'])(t['ShapeBackgroundColorDoubleIcon'],{'className':_0x165216(0x673),'extend':{'colorChannel1':_0x5d3586===S[_0x165216(0x6e3)][_0x165216(0x2f5)]?'transparent':_0x58bf34}}),(0x0,r[_0x165216(0x631)])(t[_0x165216(0x6c2)],{'className':(0x0,e[_0x165216(0x724)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x495210})})]})})})});}function Mt(_0x3603a3){const _0x37e212=_0x2d565c;switch(_0x3603a3==null?void 0x0:_0x3603a3[_0x37e212(0x49a)]){case _0x37e212(0x591):return S[_0x37e212(0x6e3)][_0x37e212(0x2f5)];case _0x37e212(0x3a0):return S[_0x37e212(0x6e3)][_0x37e212(0x51c)];case _0x37e212(0x2a5):return S[_0x37e212(0x6e3)][_0x37e212(0x11f)];default:return S[_0x37e212(0x6e3)][_0x37e212(0x34c)];}}function Nt(_0x454f02,_0x40fcae){const _0x757d5a=_0x2d565c;var _0x369246,_0x49ef1f,_0x50dfd7,_0x1d4a2a,_0xe23876;return{'type':(_0x369246=_0x454f02==null||(_0x49ef1f=_0x454f02[_0x757d5a(0x3a0)])==null?void 0x0:_0x49ef1f[_0x757d5a(0x49a)])==null?_0x757d5a(0x40a):_0x369246,'angle':(_0x50dfd7=_0x454f02==null||(_0x1d4a2a=_0x454f02[_0x757d5a(0x3a0)])==null?void 0x0:_0x1d4a2a[_0x757d5a(0x796)])==null?0x0:_0x50dfd7,'stops':_0x454f02!=null&&(_0xe23876=_0x454f02[_0x757d5a(0x3a0)])!=null&&_0xe23876[_0x757d5a(0x1be)]&&_0x454f02[_0x757d5a(0x3a0)][_0x757d5a(0x1be)][_0x757d5a(0x435)]>=0x2?_0x454f02['gradient'][_0x757d5a(0x1be)][_0x757d5a(0x5a7)](_0x5bf813=>({'color':_0x5bf813[_0x757d5a(0x7b7)],'offset':_0x5bf813[_0x757d5a(0x43e)],'opacity':_0x5bf813[_0x757d5a(0x203)]})):[{'color':_0x40fcae,'offset':0x0},{'color':_0x757d5a(0x23c),'offset':0x64}]};}function Pt(_0x4f4d53,_0x49f0d8){const _0x13526e=_0x2d565c;var _0x110774,_0x370836,_0x44470c;return(_0x110774=_0x4f4d53[_0x13526e(0x609)])==null?{'type':'solid','color':(_0x370836=(_0x44470c=_0x4f4d53['cl'])==null?void 0x0:_0x44470c[_0x13526e(0x27f)])==null?_0x49f0d8:_0x370836,'opacity':0x1}:_0x110774;}function Ft(_0x59ca34,_0x371e32){const _0x517e98=_0x2d565c;var _0x50c702,_0x3d5830,_0x759c51;return(_0x50c702=(_0x3d5830=_0x59ca34[_0x517e98(0x7b7)])==null?(_0x759c51=_0x59ca34[_0x517e98(0x3a0)])==null||(_0x759c51=_0x759c51[_0x517e98(0x1be)])==null||(_0x759c51=_0x759c51[0x0])==null?void 0x0:_0x759c51[_0x517e98(0x7b7)]:_0x3d5830)==null?_0x371e32:_0x50c702;}function It(_0x2338cc){const _0x229224=_0x2d565c;var _0x4c9c23,_0x5f0dd8,_0x42df8c,_0x48f38d;let {fill:_0x33735e,disabled:_0x59bac3,onChange:_0x17c8ea}=_0x2338cc,_0x32d63b=(0x0,s[_0x229224(0x2b3)])(o['LocaleService']),_0x3b1a6d=(0x0,s['useDependency'])(o['IContextService']),_0x2b2fe5=(0x0,s['useDependency'])(o[_0x229224(0x21b)]),_0x3b4454=(0x0,n[_0x229224(0x32a)])(null),_0x5f3107=(_0x4c9c23=(_0x5f0dd8=(_0x42df8c=_0x33735e['picture'])==null?void 0x0:_0x42df8c[_0x229224(0x203)])==null?_0x33735e['opacity']:_0x5f0dd8)==null?0x1:_0x4c9c23,_0x48bb2b=Math[_0x229224(0x767)]((0x1-_0x5f3107)*0x64),_0x41b691=(_0x48f38d=_0x33735e[_0x229224(0x2a5)])!=null&&_0x48f38d[_0x229224(0x10e)]&&/^(?:data:|https?:)/['test'](_0x33735e[_0x229224(0x2a5)]['source'])?_0x33735e[_0x229224(0x2a5)][_0x229224(0x10e)]:void 0x0,_0x3f4e6c=_0xa10099=>{const _0x334a34=_0x229224;var _0x3a6924,_0x4221cb;_0x17c8ea({..._0x33735e,'type':_0x334a34(0x2a5),'picture':{..._0x33735e[_0x334a34(0x2a5)],'mode':(_0x3a6924=(_0x4221cb=_0x33735e['picture'])==null?void 0x0:_0x4221cb[_0x334a34(0x62f)])==null?_0x334a34(0x5c5):_0x3a6924,..._0xa10099}});};return(0x0,r['jsxs'])(_0x229224(0x610),{'className':_0x229224(0x44e),'children':[(0x0,r['jsxs'])(_0x229224(0x610),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x229224(0x631)])(_0x229224(0x3b4),{'className':_0x229224(0xdc),'children':_0x32d63b['t'](_0x229224(0x308))}),(0x0,r[_0x229224(0x631)])(_0x229224(0xd5),{'ref':_0x3b4454,'type':_0x229224(0x421),'accept':_0x229224(0x17b),'className':'univer-hidden','onChange':async _0x7d3787=>{const _0x2d3f9b=_0x229224;var _0x7ae406;let _0x1980d5=(_0x7ae406=_0x7d3787[_0x2d3f9b(0xdb)][_0x2d3f9b(0x391)])==null?void 0x0:_0x7ae406[0x0];if(!_0x1980d5)return;_0x7d3787[_0x2d3f9b(0xdb)][_0x2d3f9b(0x456)]='';let _0x64695d=await _0x2b2fe5['saveImage'](_0x1980d5);if(_0x64695d==null)return;let {imageSourceType:_0x1a8603,source:_0x2a6f1d,base64Cache:_0x364ca5}=_0x64695d;_0x3f4e6c({'source':_0x364ca5||_0x2a6f1d,'sourceType':_0x1a8603,'opacity':_0x5f3107});}}),(0x0,r[_0x229224(0x631)])(_0x229224(0x54f),{'type':'button','disabled':_0x59bac3,'onClick':()=>{const _0x21a469=_0x229224;var _0x21552c;return(_0x21552c=_0x3b4454[_0x21a469(0x70e)])==null?void 0x0:_0x21552c[_0x21a469(0x284)]();},'className':_0x229224(0x389),'children':_0x32d63b['t'](_0x229224(0x59c))})]}),_0x41b691&&(0x0,r[_0x229224(0x631)])(_0x229224(0x392),{'src':_0x41b691,'alt':'','className':_0x229224(0x33f)}),(0x0,r[_0x229224(0x18b)])(_0x229224(0x610),{'className':_0x229224(0x1e2),'children':[(0x0,r[_0x229224(0x631)])(_0x229224(0x3b4),{'className':_0x229224(0xdc),'children':_0x32d63b['t']('shape-editor-ui.fill.transparency')}),(0x0,r[_0x229224(0x631)])(_0x229224(0x610),{'className':_0x229224(0xd2),'children':(0x0,r[_0x229224(0x631)])(e[_0x229224(0x2e9)],{'className':'univer-w-full','value':_0x48bb2b,'disabled':_0x59bac3,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x53f0e6=>_0x53f0e6+'%','parser':_0x40387a=>(_0x40387a==null?void 0x0:_0x40387a['replace']('%',''))||'','onChange':_0x3bd194=>{const _0x1fecc5=_0x229224;_0x3f4e6c({'opacity':(0x64-Math[_0x1fecc5(0x141)](0x0,Math[_0x1fecc5(0x2ce)](0x64,_0x3bd194==null?0x0:_0x3bd194)))/0x64}),_0x3b1a6d[_0x1fecc5(0x5d6)](o[_0x1fecc5(0x6d5)],!0x1);},'onFocus':()=>_0x3b1a6d[_0x229224(0x5d6)](o[_0x229224(0x6d5)],!0x0),'onBlur':()=>_0x3b1a6d[_0x229224(0x5d6)](o[_0x229224(0x6d5)],!0x1)})})]})]});}function Lt(_0x4019d4){const _0x5a4955=_0x2d565c;var _0x29a185;let {title:_0x5510f4,textStyle:_0x771dd7,fallbackColor:_0x9e332b,onChange:_0x3c490b}=_0x4019d4,_0x58abce=(0x0,s[_0x5a4955(0x2b3)])(o['LocaleService']),[_0x92ba44,_0x3e5f51]=(0x0,n[_0x5a4955(0x311)])(!0x1),{handleOpenChange:_0x4b78be,markInternalInteraction:_0x59c976}=lt(_0x3e5f51),_0x409083=Pt(_0x771dd7,_0x9e332b),_0x3b1f3e=Mt(_0x409083),_0x1bee0e=Ft(_0x409083,_0x9e332b),_0xe41ba9=_0x344dcd=>{const _0x20039b=_0x5a4955;_0x3c490b({'cl':{'rgb':_0x344dcd[_0x20039b(0x49a)]===_0x20039b(0x591)?_0x20039b(0x1c7):Ft(_0x344dcd,_0x9e332b)},'textFill':_0x344dcd});},_0xd05f34=()=>{const _0x5ef68f=_0x5a4955;let _0x43e433=Nt(_0x409083,_0x1bee0e);return{..._0x409083,'type':'gradient','gradient':{'type':_0x43e433['type'],'angle':_0x43e433[_0x5ef68f(0x796)],'stops':_0x43e433[_0x5ef68f(0x1be)][_0x5ef68f(0x5a7)](_0x15c02a=>({'offset':_0x15c02a[_0x5ef68f(0x43e)],'color':_0x15c02a['color'],'opacity':_0x15c02a['opacity']}))}};};return(0x0,r[_0x5a4955(0x631)])(gt,{'title':_0x5510f4,'open':_0x92ba44,'icon':(0x0,r[_0x5a4955(0x631)])(t[_0x5a4955(0x371)],{'className':_0x5a4955(0x673),'extend':{'colorChannel1':_0x1bee0e}}),'onApply':()=>{const _0x4fe606=_0x5a4955;var _0x36b3fe;return _0xe41ba9({..._0x409083,'type':'solid','color':_0x1bee0e,'opacity':(_0x36b3fe=_0x409083[_0x4fe606(0x203)])==null?0x1:_0x36b3fe});},'onOpenChange':_0x4b78be,'overlay':(0x0,r[_0x5a4955(0x631)])('div',{'onPointerDownCapture':_0x340000=>{_0x59c976(),ct(_0x340000);},'onMouseDownCapture':_0x18cc03=>{_0x59c976(),ct(_0x18cc03);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x23580e=>_0x23580e[_0x5a4955(0x576)](),'className':(0x0,e[_0x5a4955(0x724)])(_0x5a4955(0x3d7),_0x5a4955(0x4e6)),'children':(0x0,r[_0x5a4955(0x631)])(E,{'compact':!0x0,'direction':_0x58abce[_0x5a4955(0x1f0)](),'value':_0x3b1f3e,'typeValues':ot,'color':_0x1bee0e,'transparency':Math[_0x5a4955(0x767)]((0x1-((_0x29a185=_0x409083[_0x5a4955(0x203)])==null?0x1:_0x29a185))*0x64),'gradientValue':Nt(_0x409083,_0x1bee0e),'labels':{'noFill':_0x58abce['t'](_0x5a4955(0x725)),'solidFill':_0x58abce['t'](_0x5a4955(0x472)),'gradientFill':_0x58abce['t'](_0x5a4955(0x1d0)),'pictureFill':_0x58abce['t'](_0x5a4955(0x545)),'color':_0x58abce['t']('shape-editor-ui.fill.color'),'transparency':_0x58abce['t'](_0x5a4955(0x651))},'tabLabels':{'noFill':_0x58abce['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x58abce['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x58abce['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x58abce['t']('shape-editor-ui.fill.pictureFill')},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x469bba=>{const _0x914281=_0x5a4955;if(_0x469bba===S[_0x914281(0x6e3)][_0x914281(0x2f5)])_0xe41ba9({..._0x409083,'type':'none'});else{if(_0x469bba===S['ShapeFillEnum'][_0x914281(0x34c)]){var _0x36c8a0;_0xe41ba9({..._0x409083,'type':_0x914281(0x6b5),'color':_0x1bee0e,'opacity':(_0x36c8a0=_0x409083[_0x914281(0x203)])==null?0x1:_0x36c8a0});}else{if(_0x469bba===S[_0x914281(0x6e3)][_0x914281(0x51c)])_0xe41ba9(_0xd05f34());else{if(_0x469bba===S[_0x914281(0x6e3)][_0x914281(0x11f)]){var _0x3b44fe,_0x4bd1dd,_0x576bfb,_0x486cc4;_0xe41ba9({..._0x409083,'type':'picture','color':_0x1bee0e,'picture':{..._0x409083[_0x914281(0x2a5)],'opacity':(_0x3b44fe=(_0x4bd1dd=_0x409083['picture'])==null?void 0x0:_0x4bd1dd[_0x914281(0x203)])==null?0x1:_0x3b44fe,'mode':(_0x576bfb=(_0x486cc4=_0x409083['picture'])==null?void 0x0:_0x486cc4[_0x914281(0x62f)])==null?_0x914281(0x5c5):_0x576bfb}});}}}}},'onColorChange':_0x868004=>{const _0x4b7f64=_0x5a4955;var _0x4744bb;_0xe41ba9({..._0x409083,'type':'solid','color':_0x868004,'opacity':(_0x4744bb=_0x409083[_0x4b7f64(0x203)])==null?0x1:_0x4744bb});},'onTransparencyChange':_0x6c76b4=>{const _0x91d751=_0x5a4955;_0xe41ba9({..._0x409083,'type':'solid','color':_0x1bee0e,'opacity':(0x64-Math[_0x91d751(0x141)](0x0,Math[_0x91d751(0x2ce)](0x64,_0x6c76b4)))/0x64});},'onGradientChange':_0x253b10=>{const _0x481bdf=_0x5a4955;_0xe41ba9({..._0x409083,'type':_0x481bdf(0x3a0),'gradient':{'type':_0x253b10[_0x481bdf(0x49a)],'angle':_0x253b10[_0x481bdf(0x796)],'stops':_0x253b10[_0x481bdf(0x1be)][_0x481bdf(0x5a7)](_0x4025f9=>({'offset':_0x4025f9[_0x481bdf(0x43e)],'color':_0x4025f9['color'],'opacity':_0x4025f9[_0x481bdf(0x203)]}))}});},'pictureFillEditor':(0x0,r[_0x5a4955(0x631)])(It,{'fill':_0x409083,'onChange':_0xe41ba9})})})});}function Rt(_0x2a6271){const _0x52f528=_0x2d565c;let {title:_0x35ca52,color:_0x43d203,onApply:_0x364767,onReset:_0x5945ac,onChange:_0x6921a0}=_0x2a6271,_0x46364c=(0x0,s['useDependency'])(o[_0x52f528(0xe5)]),[_0x59c568,_0x3d4e46]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0xaf279f,markInternalInteraction:_0x2e3b58}=lt(_0x3d4e46);return(0x0,r[_0x52f528(0x631)])(gt,{'title':_0x35ca52,'open':_0x59c568,'icon':(0x0,r[_0x52f528(0x631)])(t[_0x52f528(0x3ea)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x43d203}}),'onApply':_0x364767,'onOpenChange':_0xaf279f,'popoverClassName':_0x52f528(0x6e9),'overlay':(0x0,r[_0x52f528(0x18b)])(_0x52f528(0x610),{'onPointerDownCapture':_0x5b7851=>{_0x2e3b58(),ct(_0x5b7851);},'onMouseDownCapture':_0x129c3f=>{_0x2e3b58(),ct(_0x129c3f);},'onPointerDown':$,'onMouseDown':$,'onClick':_0xed5efd=>_0xed5efd['stopPropagation'](),'className':_0x52f528(0x18f),'children':[_0x5945ac&&(0x0,r[_0x52f528(0x631)])(_0x52f528(0x54f),{'type':_0x52f528(0x54f),'onClick':()=>{_0x5945ac(),_0x3d4e46(!0x1);},'className':_0x52f528(0x5b8),'children':_0x46364c['t'](_0x52f528(0x297))}),(0x0,r['jsx'])(e[_0x52f528(0x64c)],{'value':_0x43d203,'onChange':_0x529406=>{_0x6921a0(_0x529406),_0x3d4e46(!0x1);}})]})});}function zt(_0x14a8a2){const _0x5c28c3=_0x2d565c;let {title:_0x38f72a,fontFamily:_0x1f161f,textStyle:_0x120872,horizontalAlign:_0x5af484,verticalAlign:_0x2ec214,horizontalAlignOptions:_0x14133b,verticalAlignOptions:_0x568a14,onUpdateText:_0xf12e74}=_0x14a8a2,_0x55787a=(0x0,s[_0x5c28c3(0x2b3)])(o[_0x5c28c3(0xe5)]),[_0x58964e,_0x10865a]=(0x0,n[_0x5c28c3(0x311)])(!0x1),[_0xb38f0b,_0x469a0b]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x22a3ef,markInternalInteraction:_0x37fe24}=lt(_0x10865a),_0x1fbbd5=_0x211d37=>{_0x211d37&&_0x469a0b(!0x1),_0x22a3ef(_0x211d37);},_0xd47ebc=[{'key':_0x5c28c3(0x5f6),'title':_0x55787a['t'](_0x5c28c3(0x712)),'active':_0x120872['isBold'],'icon':(0x0,r['jsx'])(t[_0x5c28c3(0x643)],{}),'onClick':()=>_0xf12e74({'textStyle':{'bl':_0x120872['isBold']?o[_0x5c28c3(0x283)][_0x5c28c3(0x566)]:o[_0x5c28c3(0x283)]['TRUE']}})},{'key':_0x5c28c3(0x4af),'title':_0x55787a['t']('shape-editor-ui.toolbar.italic'),'active':_0x120872[_0x5c28c3(0x2c9)],'icon':(0x0,r[_0x5c28c3(0x631)])(t[_0x5c28c3(0x735)],{}),'onClick':()=>_0xf12e74({'textStyle':{'it':_0x120872[_0x5c28c3(0x2c9)]?o[_0x5c28c3(0x283)][_0x5c28c3(0x566)]:o['BooleanNumber']['TRUE']}})},{'key':'underline','title':_0x55787a['t'](_0x5c28c3(0x1bb)),'active':_0x120872[_0x5c28c3(0x50b)],'icon':(0x0,r[_0x5c28c3(0x631)])(t[_0x5c28c3(0x2d0)],{}),'onClick':()=>_0xf12e74({'textStyle':{'ul':{'s':_0x120872[_0x5c28c3(0x50b)]?o[_0x5c28c3(0x283)][_0x5c28c3(0x566)]:o[_0x5c28c3(0x283)]['TRUE']}}})},{'key':_0x5c28c3(0x551),'title':_0x55787a['t'](_0x5c28c3(0x4f4)),'active':_0x120872[_0x5c28c3(0x1f2)],'icon':(0x0,r['jsx'])(t['StrikethroughIcon'],{}),'onClick':()=>_0xf12e74({'textStyle':{'st':{'s':_0x120872['isStrike']?o[_0x5c28c3(0x283)]['FALSE']:o[_0x5c28c3(0x283)][_0x5c28c3(0x180)]}}})}],_0x2df6d0=_0x3df284=>(0x0,r[_0x5c28c3(0x631)])(e[_0x5c28c3(0x20e)],{'title':_0x3df284[_0x5c28c3(0x76c)],'placement':_0x5c28c3(0x337),'visible':_0xb38f0b?void 0x0:!0x1,'children':(0x0,r[_0x5c28c3(0x631)])(_0x5c28c3(0x54f),{'type':_0x5c28c3(0x54f),'aria-label':_0x3df284['title'],'onClick':_0x3df284['onClick'],'className':(0x0,e[_0x5c28c3(0x724)])('univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x3df284[_0x5c28c3(0x293)]}),'children':_0x3df284['icon']})},String(_0x3df284['key']));return(0x0,r[_0x5c28c3(0x631)])(e[_0x5c28c3(0x1ff)],{'open':_0x58964e,'onOpenChange':_0x1fbbd5,'overlay':(0x0,r[_0x5c28c3(0x631)])(_0x5c28c3(0x610),{'onPointerDownCapture':_0x513146=>{_0x37fe24(),ct(_0x513146);},'onMouseDownCapture':_0x2e765b=>{_0x37fe24(),ct(_0x2e765b);},'onPointerDown':$,'onPointerMove':()=>_0x469a0b(!0x0),'onMouseDown':$,'onClick':_0x51ad9e=>_0x51ad9e[_0x5c28c3(0x576)](),'className':(0x0,e[_0x5c28c3(0x724)])(_0x5c28c3(0x3a6),_0x5c28c3(0x1b9)),'children':(0x0,r[_0x5c28c3(0x18b)])(_0x5c28c3(0x610),{'className':_0x5c28c3(0x1df),'children':[(0x0,r[_0x5c28c3(0x631)])(s[_0x5c28c3(0x39d)],{'className':'univer-box-border\x20univer-w-full','inputClassName':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-w-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[&_input]:univer-box-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[&_input]:univer-w-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[&_input]:univer-p-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','popupDataComponent':'shape-floating-toolbar-font-family-menu','title':_0x1f161f,'value':_0x1f161f,'onChange':_0x4ebd50=>_0xf12e74({'textStyle':{'ff':_0x4ebd50}}),'onMouseDown':$,'onPointerDown':$}),(0x0,r[_0x5c28c3(0x631)])(e[_0x5c28c3(0x268)],{}),(0x0,r['jsx'])(_0x5c28c3(0x610),{'className':_0x5c28c3(0x72b),'children':_0xd47ebc[_0x5c28c3(0x5a7)](_0x2df6d0)}),(0x0,r[_0x5c28c3(0x631)])(e[_0x5c28c3(0x268)],{}),(0x0,r[_0x5c28c3(0x631)])(_0x5c28c3(0x610),{'data-u-comp':_0x5c28c3(0x318),'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x14133b[_0x5c28c3(0x5a7)](_0x291513=>_0x2df6d0({'key':_0x291513[_0x5c28c3(0x456)],'title':_0x291513[_0x5c28c3(0x553)],'active':_0x291513[_0x5c28c3(0x456)]===_0x5af484,'icon':_0x291513['icon'],'onClick':()=>_0xf12e74({'horizontalAlign':_0x291513[_0x5c28c3(0x456)]})}))}),(0x0,r[_0x5c28c3(0x631)])(_0x5c28c3(0x610),{'data-u-comp':'typography-vertical-align-row','className':_0x5c28c3(0x72b),'children':_0x568a14[_0x5c28c3(0x5a7)](_0x108c3f=>_0x2df6d0({'key':_0x108c3f['value'],'title':_0x108c3f['label'],'active':_0x108c3f['value']===_0x2ec214,'icon':_0x108c3f[_0x5c28c3(0x434)],'onClick':()=>_0xf12e74({'verticalAlign':_0x108c3f[_0x5c28c3(0x456)]})}))})]})}),'children':(0x0,r[_0x5c28c3(0x631)])(_0x5c28c3(0x3b4),{'children':(0x0,r[_0x5c28c3(0x631)])(e['Tooltip'],{'title':_0x38f72a,'placement':_0x5c28c3(0x369),'visible':!_0x58964e&&void 0x0,'children':(0x0,r['jsxs'])(_0x5c28c3(0x54f),{'type':_0x5c28c3(0x54f),'aria-label':_0x38f72a,'className':(0x0,e[_0x5c28c3(0x724)])(_0x5c28c3(0x13c),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x58964e}),'children':[(0x0,r[_0x5c28c3(0x631)])(t[_0x5c28c3(0x3cb)],{'className':_0x5c28c3(0x673)}),(0x0,r['jsx'])(t[_0x5c28c3(0x6c2)],{'className':(0x0,e['clsx'])(_0x5c28c3(0x48a),{'univer-rotate-180':_0x58964e})})]})})})});}function Bt(_0x1c4044){const _0x4507cd=_0x2d565c;let {title:_0x49a607,children:_0x3c71f8,className:_0x337f01,minWidthClassName:_0x237d0c}=_0x1c4044,_0xa0f519=(0x0,s[_0x4507cd(0x2b3)])(o[_0x4507cd(0xe5)]);return(0x0,r[_0x4507cd(0x18b)])(_0x4507cd(0x610),{'dir':(0x0,s[_0x4507cd(0xfb)])(_0xa0f519['direction$'],_0xa0f519[_0x4507cd(0x1f0)]()),'data-u-comp':'shape-floating-toolbar-menu-panel','onPointerDownCapture':ct,'onMouseDownCapture':ct,'onPointerDown':$,'onMouseDown':$,'onClick':_0x476d53=>_0x476d53['stopPropagation'](),'className':(0x0,e[_0x4507cd(0x724)])('univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',_0x237d0c==null?_0x4507cd(0x7a9):_0x237d0c,_0x337f01),'children':[_0x49a607&&(0x0,r[_0x4507cd(0x631)])(_0x4507cd(0x610),{'className':_0x4507cd(0x6d8),'children':_0x49a607}),_0x3c71f8]});}function Vt(_0x68b141){const _0x4c3e68=_0x2d565c;let {label:_0x286c2b,labelKey:_0x171bd8,shortcut:_0x2bb3af,disabled:_0x2f7572,danger:_0x340e6a,onClick:_0x343562}=_0x68b141,_0x1b0a90=(0x0,s[_0x4c3e68(0x2b3)])(o[_0x4c3e68(0xe5)]),_0x1e5623=_0x171bd8?_0x1b0a90['t'](_0x171bd8):_0x286c2b==null?'':_0x286c2b;return(0x0,r['jsx'])(_0x4c3e68(0x3b4),{'className':_0x4c3e68(0x6c7),'children':(0x0,r['jsxs'])(_0x4c3e68(0x54f),{'type':_0x4c3e68(0x54f),'aria-label':_0x1e5623,'disabled':_0x2f7572,'onClick':_0x722ed7=>{const _0x3da81a=_0x4c3e68;_0x722ed7[_0x3da81a(0x576)](),_0x343562();},'className':(0x0,e[_0x4c3e68(0x724)])(_0x4c3e68(0x635),{'univer-text-red-500\x20hover:univer-bg-red-50\x20dark:!univer-text-red-400\x20dark:hover:univer-bg-red-950':_0x340e6a}),'children':[(0x0,r[_0x4c3e68(0x631)])(_0x4c3e68(0x3b4),{'className':_0x4c3e68(0x358),'children':_0x1e5623}),_0x2bb3af&&(0x0,r[_0x4c3e68(0x631)])(_0x4c3e68(0x3b4),{'className':_0x4c3e68(0xba),'children':_0x2bb3af})]})});}function Ht(_0x5c9cae){const _0x3879fd=_0x2d565c;var _0x2aab51;let {title:_0x3ad7fe,value:_0x495ba8,options:_0x548d29,onChange:_0x318c01}=_0x5c9cae,[_0x409db2,_0x42b548]=(0x0,n[_0x3879fd(0x311)])(!0x1),_0x5e8734=(_0x2aab51=_0x548d29['find'](_0x377638=>_0x377638['value']===_0x495ba8))==null?_0x548d29[0x0]:_0x2aab51;return _0x5e8734?(0x0,r[_0x3879fd(0x631)])(e[_0x3879fd(0x1ff)],{'open':_0x409db2,'onOpenChange':_0x42b548,'overlay':(0x0,r[_0x3879fd(0x631)])(_0x3879fd(0x610),{'className':_0x3879fd(0x6bc),'children':_0x548d29['map'](_0x51fbab=>(0x0,r[_0x3879fd(0x18b)])('button',{'type':_0x3879fd(0x54f),'aria-label':_0x51fbab[_0x3879fd(0x553)],'onClick':()=>{const _0x3ed1c1=_0x3879fd;_0x318c01(_0x51fbab[_0x3ed1c1(0x456)]),_0x42b548(!0x1);},'className':(0x0,e[_0x3879fd(0x724)])(_0x3879fd(0x607),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x51fbab['value']===_0x495ba8}),'children':[(0x0,r[_0x3879fd(0x631)])('span',{'className':_0x3879fd(0x1cf),'children':_0x51fbab[_0x3879fd(0x434)]}),(0x0,r['jsx'])('span',{'className':_0x3879fd(0x230),'children':_0x51fbab[_0x3879fd(0x553)]})]},_0x51fbab[_0x3879fd(0x456)]))}),'children':(0x0,r[_0x3879fd(0x631)])(_0x3879fd(0x3b4),{'children':(0x0,r[_0x3879fd(0x631)])(mt,{'title':_0x3ad7fe,'icon':_0x5e8734['icon'],'active':_0x409db2})})}):null;}function Ut(_0x2fa9bb){const _0x2c004a=_0x2d565c;let {action:_0x10303a}=_0x2fa9bb,_0x30435f=_0x10303a[_0x2c004a(0x49a)]===_0x2c004a(0x35b)?t[_0x2c004a(0x630)]:t[_0x2c004a(0x684)];return(0x0,r[_0x2c004a(0x631)])(pt,{'title':_0x10303a[_0x2c004a(0x553)],'onClick':_0x10303a[_0x2c004a(0x731)],'children':(0x0,r[_0x2c004a(0x631)])(_0x30435f,{})});}function Wt(_0x1b53f0){const _0x1536c8=_0x2d565c;let {actions:_0xe65298,deleteLabel:_0x3560bf,hideLabel:_0x54d50a,onDelete:_0x5cb520,onHide:_0xa642c9}=_0x1b53f0,_0xb5ad2e=(0x0,s[_0x1536c8(0x2b3)])(o[_0x1536c8(0xe5)]),[_0x5213ff,_0x384f87]=(0x0,n[_0x1536c8(0x311)])(!0x1),{handleOpenChange:_0x5a0e43,markInternalInteraction:_0x1bef7c}=lt(_0x384f87),_0x2a0e1a=_0xb5ad2e['t'](_0x1536c8(0x26e)),_0x1fb564=_0x112d4d=>{_0x384f87(!0x1),_0x112d4d();};return(0x0,r[_0x1536c8(0x631)])(e[_0x1536c8(0x1ff)],{'open':_0x5213ff,'onOpenChange':_0x5a0e43,'overlay':(0x0,r[_0x1536c8(0x631)])(_0x1536c8(0x610),{'onPointerDownCapture':_0x2ac374=>{_0x1bef7c(),ct(_0x2ac374);},'onMouseDownCapture':_0x2e1533=>{_0x1bef7c(),ct(_0x2e1533);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x16dd14=>_0x16dd14['stopPropagation'](),'className':_0x1536c8(0x47e),'children':(0x0,r[_0x1536c8(0x18b)])(Bt,{'className':_0x1536c8(0xca),'minWidthClassName':_0x1536c8(0x689),'children':[_0xe65298&&(0x0,r[_0x1536c8(0x18b)])(r[_0x1536c8(0x527)],{'children':[(0x0,r[_0x1536c8(0x631)])(Vt,{'label':_0xe65298[_0x1536c8(0x144)],'onClick':()=>_0x1fb564(_0xe65298[_0x1536c8(0x644)])}),(0x0,r[_0x1536c8(0x631)])(Vt,{'label':_0xe65298['forwardLabel'],'onClick':()=>_0x1fb564(_0xe65298[_0x1536c8(0x4be)])}),(0x0,r['jsx'])(Vt,{'label':_0xe65298[_0x1536c8(0x7ae)],'onClick':()=>_0x1fb564(_0xe65298[_0x1536c8(0xd8)])}),(0x0,r['jsx'])(Vt,{'label':_0xe65298['backLabel'],'onClick':()=>_0x1fb564(_0xe65298[_0x1536c8(0x6a4)])})]}),_0xe65298&&(0x0,r['jsx'])(e[_0x1536c8(0x268)],{'className':_0x1536c8(0x64f)}),(0x0,r[_0x1536c8(0x631)])(Vt,{'label':_0x54d50a,'onClick':()=>_0x1fb564(_0xa642c9)}),_0x5cb520&&(0x0,r['jsxs'])(r['Fragment'],{'children':[(0x0,r[_0x1536c8(0x631)])(e[_0x1536c8(0x268)],{'className':_0x1536c8(0x64f)}),(0x0,r['jsx'])(Vt,{'danger':!0x0,'label':_0x3560bf,'onClick':()=>_0x1fb564(_0x5cb520)})]})]})}),'children':(0x0,r['jsx'])(_0x1536c8(0x3b4),{'children':(0x0,r[_0x1536c8(0x631)])(pt,{'title':_0x2a0e1a,'active':_0x5213ff,'tooltipVisible':!_0x5213ff&&void 0x0,'ariaExpanded':_0x5213ff,'children':(0x0,r[_0x1536c8(0x631)])(t[_0x1536c8(0x61c)],{})})})});}function Gt(_0x232fbb){const _0x1259eb=_0x2d565c;var _0x3d83f4,_0x3bb218,_0x72b933,_0x34d0e0,_0x270e13,_0x1f65a1,_0x59c725,_0x16af30,_0xd7cf,_0x2f33e0,_0x3f2431,_0x3b864a;let {shapeData:_0x3d17be,shapeType:_0x599fcc,textStyle:_0x3fe96d,textModel:_0x594f74,wrappingStyle:_0x21b044,wrappingStyleOptions:_0x466e5c,enableShapeStrokeReset:_0x527807=!0x1,enableTextBackgroundReset:_0x1d0dc3=!0x1,enableTextControls:_0x294e3d=!0x0,defaultFillColor:_0x1bc0e0=nt,defaultGradientEndColor:_0x3b79b2=_0x1259eb(0x44d),defaultStrokeColor:_0x4e94be=rt,onUpdateShapeData:_0x3c2233,onUpdateText:_0x5b02bb,onUpdateWrappingStyle:_0x4e661e,groupAction:_0x505dd1,layerActions:_0x56458a,extensionGroups:_0x550a06,collapseLabel:_0x1842bc,expandLabel:_0x17fff6,deleteLabel:_0xe6d387,onOpenPanel:_0x122c7f,onDelete:_0x5af535}=_0x232fbb,_0xa49079=(0x0,s['useDependency'])(o[_0x1259eb(0xe5)]),_0x28436b=(0x0,s[_0x1259eb(0xfb)])(_0xa49079[_0x1259eb(0x1e1)],_0xa49079['getDirection']()),_0x1692ca=(0x0,s[_0x1259eb(0x2b3)])(o[_0x1259eb(0x5e2)]),_0x441321=(0x0,s[_0x1259eb(0x2b3)])(o[_0x1259eb(0x4d3)]),[_0x550eab,_0x1695c8]=(0x0,n[_0x1259eb(0x311)])(()=>_0x1692ca[_0x1259eb(0x1ac)](at)),[_0x3b0f85,_0x48f386]=(0x0,n[_0x1259eb(0x311)])(null),_0x49f22a=_0x421992=>{const _0x4092d8=_0x1259eb;_0x1695c8(_0x421992),_0x1692ca[_0x4092d8(0x5d6)](at,_0x421992);},_0x296322=(_0x1ea542,_0x546329)=>{_0x48f386(_0x2f0096=>_0x546329?_0x1ea542:_0x2f0096===_0x1ea542?null:_0x2f0096);},_0x47f672=!!_0x3d17be&&_0x599fcc!==void 0x0,_0x5b7421=_0x47f672&&_0x294e3d,_0x1918ff=!!_0x505dd1||!!_0x56458a,_0x4b61e2=(_0x550a06==null?[]:_0x550a06)[_0x1259eb(0x1fe)](_0x1323a7=>_0x1323a7['visible']!==!0x1)[_0x1259eb(0x5a7)](_0x8bffa9=>({..._0x8bffa9,'actions':_0x8bffa9[_0x1259eb(0x4c0)][_0x1259eb(0x1fe)](_0x487ec5=>_0x487ec5['visible']!==!0x1)}))['filter'](_0x4bd4a2=>_0x4bd4a2[_0x1259eb(0x4c0)][_0x1259eb(0x435)]>0x0),_0x22ce7b=_0x4b61e2[_0x1259eb(0x435)]>0x0,_0x12b582=_0x599fcc!==void 0x0&&(0x0,S[_0x1259eb(0x3c4)])(_0x599fcc),_0x5a84bd=(_0x3d83f4=(_0x3bb218=_0x3fe96d['cl'])==null?void 0x0:_0x3bb218[_0x1259eb(0x27f)])==null?it:_0x3d83f4,_0x11479=(_0x72b933=(_0x34d0e0=_0x3fe96d['bg'])==null?void 0x0:_0x34d0e0[_0x1259eb(0x27f)])==null?_0x441321[_0x1259eb(0xc4)](_0x1259eb(0x131)):_0x72b933,_0x5af9f1=(_0x270e13=_0x3fe96d['ff'])==null?_0x1259eb(0x3de):_0x270e13,_0x216ecb=(_0x1f65a1=_0x3fe96d['fs'])==null?0xe:_0x1f65a1,_0x4dbe29=_0x3fe96d['bl']===o[_0x1259eb(0x283)]['TRUE'],_0xfc0da1=_0x3fe96d['it']===o['BooleanNumber'][_0x1259eb(0x180)],_0x36bae1=((_0x59c725=_0x3fe96d['ul'])==null?void 0x0:_0x59c725['s'])===o[_0x1259eb(0x283)][_0x1259eb(0x180)],_0x49922e=((_0x16af30=_0x3fe96d['st'])==null?void 0x0:_0x16af30['s'])===o[_0x1259eb(0x283)][_0x1259eb(0x180)],_0x3bef78=(_0xd7cf=_0x594f74==null?void 0x0:_0x594f74['ha'])==null?o[_0x1259eb(0x766)][_0x1259eb(0x6f7)]:_0xd7cf,_0x4acd3e=(_0x2f33e0=_0x594f74==null?void 0x0:_0x594f74['va'])==null?o[_0x1259eb(0x37f)]['TOP']:_0x2f33e0,_0x9652e1=[{'label':_0xa49079['t']('shape-editor-ui.toolbar.alignLeft'),'value':o[_0x1259eb(0x766)]['LEFT'],'icon':(0x0,r['jsx'])(t['LeftJustifyingIcon'],{})},{'label':_0xa49079['t']('shape-editor-ui.toolbar.alignCenter'),'value':o[_0x1259eb(0x766)]['CENTER'],'icon':(0x0,r[_0x1259eb(0x631)])(t[_0x1259eb(0x5c9)],{})},{'label':_0xa49079['t'](_0x1259eb(0x380)),'value':o[_0x1259eb(0x766)][_0x1259eb(0x51f)],'icon':(0x0,r[_0x1259eb(0x631)])(t[_0x1259eb(0x459)],{})},{'label':_0xa49079['t']('shape-editor-ui.toolbar.alignJustify'),'value':o[_0x1259eb(0x766)][_0x1259eb(0x206)],'icon':(0x0,r['jsx'])(t['AlignTextBothIcon'],{})}],_0x59c7c8=[{'label':_0xa49079['t'](_0x1259eb(0x4db)),'value':o[_0x1259eb(0x37f)][_0x1259eb(0x4f9)],'icon':(0x0,r[_0x1259eb(0x631)])(t[_0x1259eb(0x325)],{})},{'label':_0xa49079['t'](_0x1259eb(0x1a4)),'value':o[_0x1259eb(0x37f)][_0x1259eb(0x38e)],'icon':(0x0,r[_0x1259eb(0x631)])(t[_0x1259eb(0x5ad)],{})},{'label':_0xa49079['t'](_0x1259eb(0x138)),'value':o[_0x1259eb(0x37f)][_0x1259eb(0x351)],'icon':(0x0,r[_0x1259eb(0x631)])(t[_0x1259eb(0x6b2)],{})}];return!_0x47f672&&!_0x1918ff&&!_0x22ce7b&&!_0x122c7f&&!_0x5af535?null:_0x550eab?(0x0,r[_0x1259eb(0x631)])(_0x1259eb(0x54f),{'type':_0x1259eb(0x54f),'dir':_0x28436b,'style':{'direction':_0x28436b},'data-u-comp':_0x1259eb(0x3f9),'aria-label':_0x17fff6==null?_0xa49079['t'](_0x1259eb(0x4a5)):_0x17fff6,'onMouseDown':$,'onClick':()=>_0x49f22a(!0x1),'className':_0x1259eb(0x1ae),'children':(0x0,r[_0x1259eb(0x631)])(_0x1259eb(0x3b4),{'className':_0x1259eb(0x56e),'children':(0x0,r[_0x1259eb(0x631)])(t[_0x1259eb(0x583)],{'className':_0x1259eb(0x129)})})}):(0x0,r[_0x1259eb(0x631)])(_0x1259eb(0x610),{'data-u-comp':_0x1259eb(0x68f),'dir':_0x28436b,'style':{'direction':_0x28436b},'className':_0x1259eb(0x166),'children':(0x0,r[_0x1259eb(0x18b)])(ft,{'children':[_0x47f672&&(0x0,r[_0x1259eb(0x18b)])(r[_0x1259eb(0x527)],{'children':[(0x0,r[_0x1259eb(0x18b)])(dt,{'children':[(0x0,r[_0x1259eb(0x631)])(jt,{'title':_0xa49079['t'](_0x1259eb(0x215)),'shapeData':_0x3d17be,'open':_0x3b0f85===_0x1259eb(0xfd),'disabled':_0x12b582,'fallbackColor':_0x1bc0e0,'fallbackGradientEndColor':_0x3b79b2,'onOpenChange':_0x49653d=>_0x296322('fill',_0x49653d),'onUpdateShapeData':_0x3c2233}),(0x0,r[_0x1259eb(0x631)])(Tt,{'title':_0xa49079['t']('shape-editor-ui.line.title'),'shapeData':_0x3d17be,'open':_0x3b0f85==='stroke','fallbackColor':_0x4e94be,'resetLabel':_0xa49079['t']('shape-editor-ui.toolbar.resetColor'),'onOpenChange':_0xe4e755=>_0x296322(_0x1259eb(0x710),_0xe4e755),'onReset':_0x527807?()=>{const _0x1a98bb=_0x1259eb;let _0x24f53b={'lineStrokeType':S['ShapeLineTypeEnum'][_0x1a98bb(0x321)]};_0x3c2233({'oldShapeData':{'stroke':_0x3d17be[_0x1a98bb(0x710)]}},{'stroke':{..._0x3d17be[_0x1a98bb(0x710)],..._0x24f53b}},{'stroke':_0x24f53b});}:void 0x0,'onUpdateShapeData':_0x3c2233})]}),_0x47f672&&_0x5b7421&&(0x0,r[_0x1259eb(0x18b)])(r[_0x1259eb(0x527)],{'children':[(0x0,r[_0x1259eb(0x631)])(e[_0x1259eb(0x268)],{'orientation':_0x1259eb(0x385)}),(0x0,r[_0x1259eb(0x18b)])(dt,{'children':[(0x0,r[_0x1259eb(0x631)])(ht,{'value':String(_0x216ecb),'onChange':_0xa3a0d=>{_0x5b02bb({'textStyle':{'fs':_0xa3a0d}});},'onAfterChange':()=>{const _0x34f772=_0x1259eb;_0x1692ca[_0x34f772(0x5d6)](o[_0x34f772(0x6d5)],!0x1);}}),(0x0,r[_0x1259eb(0x631)])(zt,{'title':_0xa49079['t'](_0x1259eb(0x1d8)),'fontFamily':_0x5af9f1,'textStyle':{'isBold':_0x4dbe29,'isItalic':_0xfc0da1,'isUnderline':_0x36bae1,'isStrike':_0x49922e},'horizontalAlign':_0x3bef78,'verticalAlign':_0x4acd3e,'horizontalAlignOptions':_0x9652e1,'verticalAlignOptions':_0x59c7c8,'onUpdateText':_0x5b02bb})]}),(0x0,r[_0x1259eb(0x631)])(e[_0x1259eb(0x268)],{'orientation':_0x1259eb(0x385)}),(0x0,r['jsxs'])(dt,{'children':[(0x0,r[_0x1259eb(0x631)])(Lt,{'title':_0xa49079['t'](_0x1259eb(0x498)),'textStyle':_0x3fe96d,'fallbackColor':_0x5a84bd,'onChange':_0x3f6a4f=>_0x5b02bb({'textStyle':_0x3f6a4f})}),(0x0,r[_0x1259eb(0x631)])(Rt,{'title':_0xa49079['t'](_0x1259eb(0x320)),'color':_0x11479,'onApply':()=>_0x5b02bb({'textStyle':{'bg':{'rgb':_0x11479}}}),'onReset':_0x1d0dc3?()=>_0x5b02bb({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x169ddb=>_0x5b02bb({'textStyle':{'bg':{'rgb':_0x169ddb}}})})]})]})]}),_0x47f672&&_0x21b044!==void 0x0&&_0x466e5c&&_0x4e661e&&(0x0,r[_0x1259eb(0x18b)])(r['Fragment'],{'children':[(0x0,r[_0x1259eb(0x631)])(e[_0x1259eb(0x268)],{'orientation':_0x1259eb(0x385)}),(0x0,r[_0x1259eb(0x631)])(dt,{'children':(0x0,r[_0x1259eb(0x631)])(Ht,{'title':(_0x3f2431=(_0x3b864a=_0x466e5c['find'](_0x3c8d19=>_0x3c8d19[_0x1259eb(0x456)]===_0x21b044))==null?void 0x0:_0x3b864a['label'])==null?_0xa49079['t'](_0x1259eb(0x7bf)):_0x3f2431,'value':_0x21b044,'options':_0x466e5c,'onChange':_0x4e661e})})]}),_0x505dd1&&(0x0,r[_0x1259eb(0x18b)])(r[_0x1259eb(0x527)],{'children':[(0x0,r[_0x1259eb(0x631)])(e['Separator'],{'orientation':'vertical'}),(0x0,r[_0x1259eb(0x631)])(dt,{'children':(0x0,r[_0x1259eb(0x631)])(Ut,{'action':_0x505dd1})})]}),(0x0,r['jsxs'])(r[_0x1259eb(0x527)],{'children':[(0x0,r['jsx'])(e[_0x1259eb(0x268)],{'orientation':_0x1259eb(0x385)}),(0x0,r['jsxs'])(dt,{'children':[_0x122c7f&&(0x0,r[_0x1259eb(0x631)])(pt,{'title':_0xa49079['t']('shape-editor-ui.openPanel'),'onClick':()=>{_0x122c7f();},'children':(0x0,r['jsx'])(t[_0x1259eb(0x4e8)],{})}),(0x0,r[_0x1259eb(0x631)])(Wt,{'actions':_0x56458a,'deleteLabel':_0xe6d387==null?_0xa49079['t'](_0x1259eb(0x7a0)):_0xe6d387,'hideLabel':_0x1842bc==null?_0xa49079['t'](_0x1259eb(0x780)):_0x1842bc,'onDelete':_0x5af535,'onHide':()=>_0x49f22a(!0x0)})]})]}),_0x4b61e2[_0x1259eb(0x5a7)](_0x5691bc=>(0x0,r['jsxs'])(n[_0x1259eb(0x527)],{'children':[(0x0,r[_0x1259eb(0x631)])(e[_0x1259eb(0x268)],{'orientation':_0x1259eb(0x385)}),(0x0,r[_0x1259eb(0x631)])(dt,{'children':_0x5691bc['actions'][_0x1259eb(0x5a7)](_0x4a98af=>{const _0x374466=_0x1259eb;var _0x2f70ba;return(0x0,r[_0x374466(0x631)])(n['Fragment'],{'children':(_0x2f70ba=_0x4a98af[_0x374466(0x616)])==null?(0x0,r['jsx'])(pt,{'title':_0x4a98af[_0x374466(0x553)],'active':_0x4a98af['active'],'disabled':_0x4a98af['disabled'],'onClick':_0x4a98af[_0x374466(0x731)],'children':_0x4a98af[_0x374466(0x434)]}):_0x2f70ba},_0x4a98af['key']);})})]},_0x5691bc[_0x1259eb(0x490)]))]})});}function Kt(_0x1904d0){const _0x1ac2cb=_0x2d565c;var _0x34f51f,_0x4b9a50,_0x373ece;let {hostType:_0x5ced17,shapeId:_0x562090,subUnitId:_0x13c7a9,unitId:_0x55d303}=_0x1904d0,_0x5a8d75=_0x55d303+'\x00'+_0x13c7a9+'\x00'+_0x562090,_0x215aed=(_0x34f51f=_0x1904d0[_0x1ac2cb(0x506)])==null?void 0x0:_0x34f51f[_0x1ac2cb(0x6b6)],_0x41cbb9=(0x0,s[_0x1ac2cb(0x2b3)])(o[_0x1ac2cb(0x538)]),_0x24e47b=(0x0,s[_0x1ac2cb(0x2b3)])(o[_0x1ac2cb(0xe5)]),_0xb469f7=(0x0,s[_0x1ac2cb(0x2b3)])(a['ShapeFormulaService']),[_0xf1f6bc,_0x195e6a]=(0x0,n['useState'])(),[_0x39a527,_0x2442ce]=(0x0,n[_0x1ac2cb(0x311)])(),[_0x586ff7,_0x5ed54c]=(0x0,n[_0x1ac2cb(0x311)])(),_0x1659a5=_0x5a8d75+'\x00'+((_0x215aed==null?void 0x0:_0x215aed[_0x1ac2cb(0x46f)])!==!0x1),[_0x3a17bc,_0x5967e9]=(0x0,n['useState'])({'enabled':(_0x215aed==null?void 0x0:_0x215aed['animationEnabled'])!==!0x1,'key':_0x1659a5}),_0x50fac=_0x3a17bc['key']===_0x1659a5?_0x3a17bc[_0x1ac2cb(0x6ae)]:(_0x215aed==null?void 0x0:_0x215aed[_0x1ac2cb(0x46f)])!==!0x1,_0x226da7=_0xf1f6bc===_0x5a8d75,_0x5acc47=_0x39a527===_0x5a8d75,_0x2d07d5=_0x586ff7===_0x5a8d75;if((0x0,n[_0x1ac2cb(0x1a6)])(()=>{const _0x41dabc=_0x1ac2cb;let _0x421a36={'hostType':_0x5ced17,'shapeId':_0x562090,'subUnitId':_0x13c7a9,'unitId':_0x55d303};_0x215aed?_0xb469f7[_0x41dabc(0x5fe)](_0x421a36,_0x215aed):_0xb469f7[_0x41dabc(0x5f2)](_0x421a36);},[_0x215aed,_0x5ced17,_0xb469f7,_0x562090,_0x13c7a9,_0x55d303]),!_0x215aed)return{'panel':null};let _0x2348bd=_0x845e60=>{const _0x598e2c=_0x1ac2cb;_0x1904d0[_0x598e2c(0x6b7)]({..._0x215aed,'numberFormat':{'pattern':_0x845e60}}),_0x2442ce(void 0x0),_0x5ed54c(void 0x0);};return{'extensionGroups':[{'key':_0x1ac2cb(0xef),'actions':[{'key':'formula-shape-fx','label':_0x24e47b['t'](_0x1ac2cb(0x708)),'icon':(0x0,r['jsx'])(t['FunctionIcon'],{}),'onClick':()=>_0x195e6a(_0x5a8d75)},{'key':'formula-shape-number-format','label':_0x24e47b['t'](_0x1ac2cb(0x661)),'icon':(0x0,r[_0x1ac2cb(0x631)])(t[_0x1ac2cb(0x2f4)],{}),'render':(0x0,r['jsx'])(e[_0x1ac2cb(0x1ff)],{'open':_0x5acc47,'onOpenChange':_0xbb5e28=>{_0x2442ce(_0xbb5e28?_0x5a8d75:void 0x0);},'overlay':(0x0,r[_0x1ac2cb(0x631)])(Ue,{'onSelect':_0x2348bd,'onMore':()=>{_0x2442ce(void 0x0),_0x5ed54c(_0x5a8d75);}}),'children':(0x0,r[_0x1ac2cb(0x631)])(_0x1ac2cb(0x3b4),{'children':(0x0,r[_0x1ac2cb(0x631)])(mt,{'title':_0x24e47b['t'](_0x1ac2cb(0x661)),'icon':(0x0,r[_0x1ac2cb(0x631)])(t['NumberIcon'],{}),'active':_0x5acc47})})})}]}],'panel':(0x0,r['jsxs'])(r[_0x1ac2cb(0x527)],{'children':[_0x226da7&&(0x0,r['jsx'])(et,{'open':!0x0,'host':{'unitId':_0x55d303,'subUnitId':_0x13c7a9},'value':{'formula':_0x215aed[_0x1ac2cb(0x658)],'numberFormat':_0x215aed[_0x1ac2cb(0x6e1)]},'footerLeading':(0x0,r[_0x1ac2cb(0x18b)])('label',{'className':_0x1ac2cb(0x784),'children':[(0x0,r[_0x1ac2cb(0x631)])(e[_0x1ac2cb(0x1d1)],{'defaultChecked':_0x50fac,'onChange':_0x4ce987=>_0x5967e9({'enabled':_0x4ce987,'key':_0x1659a5})},_0x5a8d75),(0x0,r[_0x1ac2cb(0x631)])(_0x1ac2cb(0x3b4),{'children':_0x24e47b['t'](_0x1ac2cb(0x1e7))})]}),'onClose':()=>_0x195e6a(void 0x0),'onConfirm':_0x538484=>{const _0x1dafa5=_0x1ac2cb;_0x41cbb9[_0x1dafa5(0x151)](d['UpsertHostExternalReferencesCommand']['id'],{'unitId':_0x55d303,'references':_0x538484[_0x1dafa5(0x29d)]})&&(_0x1904d0[_0x1dafa5(0x6b7)]({..._0x215aed,'formula':_0x538484[_0x1dafa5(0x658)],'numberFormat':_0x538484[_0x1dafa5(0x6e1)],'animationEnabled':_0x50fac}),_0x195e6a(void 0x0));}},_0x5a8d75),_0x2d07d5&&(0x0,r['jsx'])($e,{'open':!0x0,'pattern':(_0x4b9a50=(_0x373ece=_0x215aed[_0x1ac2cb(0x6e1)])==null?void 0x0:_0x373ece[_0x1ac2cb(0x71b)])==null?o[_0x1ac2cb(0x664)]:_0x4b9a50,'onClose':()=>_0x5ed54c(void 0x0),'onConfirm':_0x2348bd},_0x5a8d75)]})};}function qt(_0x329706){const _0x16f205=_0x2d565c;var _0x2d9888,_0x5a4379,_0x17122a,_0xc4a902,_0x162fcb,_0xd343d3,_0x29c576,_0x342292,_0x860c97,_0x24c212,_0x3e7fea,_0x3dba85,_0x3fb0bf;let {shapeData:_0x2dccdb,disableShapeOption:_0x58b96c,onUpdateShapeData:_0x4736f1,onUpdateShapeFillImage:_0x44f9be}=_0x329706,_0x58d0cd=(0x0,s['useDependency'])(o['LocaleService']),_0x123e01=(0x0,s['useDependency'])(o[_0x16f205(0x5e2)]),_0x10fa02=(0x0,s[_0x16f205(0x2b3)])(o[_0x16f205(0x21b)]),_0x363375=(0x0,n[_0x16f205(0x32a)])(null),_0x1bab16=_0x2dccdb[_0x16f205(0xfd)],_0x41f405=!!(_0x1bab16!=null&&_0x1bab16['fillImageSource']),[_0x319720,_0x5774b2]=(0x0,n[_0x16f205(0x311)])((_0x2d9888=_0x1bab16==null?void 0x0:_0x1bab16[_0x16f205(0x261)])==null?0x1:_0x2d9888),[_0x539f0c,_0x3b72b8]=(0x0,n['useState'])((_0x5a4379=_0x1bab16==null?void 0x0:_0x1bab16[_0x16f205(0x6af)])==null?S[_0x16f205(0x681)]['Stretch']:_0x5a4379),[_0x10014d,_0x1eadeb]=(0x0,n[_0x16f205(0x311)])((_0x17122a=_0x1bab16==null?void 0x0:_0x1bab16[_0x16f205(0x205)])!=null&&_0x17122a),[_0x1b8b9f,_0xb08433]=(0x0,n['useState'])((_0xc4a902=_0x1bab16==null||(_0x162fcb=_0x1bab16[_0x16f205(0x77e)])==null?void 0x0:_0x162fcb[_0x16f205(0x5c7)])==null?0x0:_0xc4a902),[_0x2d02fc,_0x4a00de]=(0x0,n[_0x16f205(0x311)])((_0xd343d3=_0x1bab16==null||(_0x29c576=_0x1bab16[_0x16f205(0x77e)])==null?void 0x0:_0x29c576['offsetY'])==null?0x0:_0xd343d3),[_0x3be408,_0x8443f3]=(0x0,n[_0x16f205(0x311)])((_0x342292=_0x1bab16==null||(_0x860c97=_0x1bab16[_0x16f205(0x77e)])==null?void 0x0:_0x860c97['scaleX'])==null?0x1:_0x342292),[_0x53fa6b,_0x4957c3]=(0x0,n[_0x16f205(0x311)])((_0x24c212=_0x1bab16==null||(_0x3e7fea=_0x1bab16[_0x16f205(0x77e)])==null?void 0x0:_0x3e7fea[_0x16f205(0x531)])==null?0x1:_0x24c212),[_0x5bad4a,_0x5332b9]=(0x0,n[_0x16f205(0x311)])((_0x3dba85=_0x1bab16==null||(_0x3fb0bf=_0x1bab16['imageTile'])==null?void 0x0:_0x3fb0bf[_0x16f205(0x3d9)])==null?'tl':_0x3dba85),_0x4d3faa=_0x539f0c===S[_0x16f205(0x681)][_0x16f205(0x31a)],_0x92765c=Math[_0x16f205(0x767)]((0x1-_0x319720)*0x64),_0x464de1=Math[_0x16f205(0x767)](_0x3be408*0x64),_0x535a8a=Math['round'](_0x53fa6b*0x64),_0x1dcb65=[{'label':_0x58d0cd['t'](_0x16f205(0x5d3)),'value':'tl'},{'label':_0x58d0cd['t']('shape-editor-ui.fill.picture.align.t'),'value':'t'},{'label':_0x58d0cd['t'](_0x16f205(0x798)),'value':'tr'},{'label':_0x58d0cd['t'](_0x16f205(0x750)),'value':'l'},{'label':_0x58d0cd['t'](_0x16f205(0x2d8)),'value':_0x16f205(0x6ad)},{'label':_0x58d0cd['t'](_0x16f205(0x65d)),'value':'r'},{'label':_0x58d0cd['t']('shape-editor-ui.fill.picture.align.bl'),'value':'bl'},{'label':_0x58d0cd['t']('shape-editor-ui.fill.picture.align.b'),'value':'b'},{'label':_0x58d0cd['t'](_0x16f205(0x544)),'value':'br'}],_0x204694=_0x2533ed=>{_0x4736f1({'oldShapeData':{'fill':_0x1bab16?{..._0x1bab16}:void 0x0}},{'fill':{..._0x1bab16,..._0x2533ed}});},_0x2a8c8f=_0x249b71=>{_0x204694({'imageTile':{..._0x1bab16==null?void 0x0:_0x1bab16['imageTile'],..._0x249b71}});},_0x52b662=()=>{const _0x40c090=_0x16f205;var _0x49ffda;return(_0x49ffda=_0x363375[_0x40c090(0x70e)])==null?void 0x0:_0x49ffda['click']();},_0x5896d9=async _0xbcc3c1=>{const _0x3366af=_0x16f205;var _0x3853f6;let _0x5853cc=(_0x3853f6=_0xbcc3c1[_0x3366af(0xdb)][_0x3366af(0x391)])==null?void 0x0:_0x3853f6[0x0];if(!_0x5853cc)return;_0xbcc3c1['target'][_0x3366af(0x456)]='';let _0xfe3263=await _0x10fa02[_0x3366af(0x36e)](_0x5853cc);if(_0xfe3263==null)return;let {imageSourceType:_0x5b1c56,source:_0x258779,base64Cache:_0x3456eb}=_0xfe3263,{image:_0x1208f4}=await(0x0,x[_0x3366af(0x56b)])(_0x3456eb||'');_0x10fa02[_0x3366af(0x3f4)](_0x258779,_0x5b1c56,_0x1208f4),_0x4736f1({'oldShapeData':{'fill':_0x1bab16?{..._0x1bab16}:void 0x0}},{'fill':{..._0x1bab16,'fillType':S[_0x3366af(0x6e3)]['PictureFill'],'fillImageSource':_0x258779,'fillImageSourceType':_0x5b1c56}}),_0x44f9be==null||_0x44f9be(_0x1208f4);},_0x1e161f=_0x16f205(0x13e),_0x13793a='univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3';return(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x16f205(0x379),'children':[(0x0,r[_0x16f205(0x18b)])('div',{'className':_0x16f205(0x44e),'children':[(0x0,r[_0x16f205(0x631)])(_0x16f205(0x3b4),{'className':_0x1e161f,'children':_0x58d0cd['t'](_0x16f205(0x308))}),(0x0,r[_0x16f205(0x18b)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,r[_0x16f205(0x631)])(_0x16f205(0xd5),{'ref':_0x363375,'type':_0x16f205(0x421),'accept':_0x16f205(0x17b),'className':_0x16f205(0x6de),'onChange':_0x5896d9}),(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x16f205(0x1e0),'children':[(0x0,r[_0x16f205(0x631)])('button',{'type':_0x16f205(0x54f),'disabled':_0x58b96c,'className':(0x0,e['clsx'])(e[_0x16f205(0x58d)],_0x16f205(0x107)),'onClick':_0x52b662,'children':(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x3b4),{'children':[_0x58d0cd['t']('shape-editor-ui.fill.picture.insert'),'\x20']})}),_0x41f405&&(0x0,r[_0x16f205(0x631)])(_0x16f205(0x610),{'className':(0x0,e['clsx'])(e['borderClassName'],_0x16f205(0x2c7)),'children':(0x0,r[_0x16f205(0x631)])(_0x16f205(0x392),{'src':_0x1bab16==null?void 0x0:_0x1bab16[_0x16f205(0x5f0)],'alt':'','className':_0x16f205(0x60d)})})]})]})]}),(0x0,r[_0x16f205(0x18b)])('div',{'className':_0x13793a,'children':[(0x0,r[_0x16f205(0x631)])(_0x16f205(0x3b4),{'className':_0x1e161f,'children':_0x58d0cd['t'](_0x16f205(0x651))}),(0x0,r[_0x16f205(0x631)])('div',{'className':_0x16f205(0xd2),'children':(0x0,r['jsx'])(e[_0x16f205(0x2e9)],{'className':'univer-w-full','value':_0x92765c,'disabled':_0x58b96c,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x344060=>_0x344060+'%','parser':_0x648084=>(_0x648084==null?void 0x0:_0x648084[_0x16f205(0x3f8)]('%',''))||'','onChange':_0x1c8ec9=>{const _0xf12507=_0x16f205;let _0x4fc12b=(0x64-Math[_0xf12507(0x141)](0x0,Math[_0xf12507(0x2ce)](0x64,_0x1c8ec9==null?0x0:_0x1c8ec9)))/0x64;_0x5774b2(_0x4fc12b),_0x204694({'imageOpacity':_0x4fc12b}),_0x123e01['setContextValue'](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x123e01['setContextValue'](o[_0x16f205(0x6d5)],!0x0),'onBlur':()=>_0x123e01[_0x16f205(0x5d6)](o[_0x16f205(0x6d5)],!0x1)})})]}),(0x0,r[_0x16f205(0x631)])(e[_0x16f205(0x62d)],{'checked':_0x4d3faa,'disabled':_0x58b96c,'onChange':_0x567889=>{const _0x105b9f=_0x16f205;let _0x16ed3f=_0x567889?S[_0x105b9f(0x681)][_0x105b9f(0x31a)]:S[_0x105b9f(0x681)][_0x105b9f(0x3c2)];_0x3b72b8(_0x16ed3f),_0x204694({'imageFillMode':_0x16ed3f});},'children':(0x0,r[_0x16f205(0x631)])('span',{'className':'univer-text-sm','children':_0x58d0cd['t']('shape-editor-ui.fill.picture.tileAsTexture')})}),_0x4d3faa&&(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x16f205(0x2d9),'children':[(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x13793a,'children':[(0x0,r['jsx'])('span',{'className':_0x1e161f,'children':_0x58d0cd['t'](_0x16f205(0x1ea))}),(0x0,r[_0x16f205(0x631)])(_0x16f205(0x610),{'className':_0x16f205(0xd2),'children':(0x0,r[_0x16f205(0x631)])(e['InputNumber'],{'className':_0x16f205(0x608),'value':_0x1b8b9f,'disabled':_0x58b96c,'step':0x1,'onChange':_0x1c79a4=>{_0x2a8c8f({'offsetX':_0x1c79a4==null?0x0:_0x1c79a4}),_0xb08433(_0x1c79a4==null?0x0:_0x1c79a4);},'onFocus':()=>_0x123e01[_0x16f205(0x5d6)](o[_0x16f205(0x6d5)],!0x0),'onBlur':()=>_0x123e01[_0x16f205(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x13793a,'children':[(0x0,r[_0x16f205(0x631)])(_0x16f205(0x3b4),{'className':_0x1e161f,'children':_0x58d0cd['t'](_0x16f205(0x7ab))}),(0x0,r[_0x16f205(0x631)])(_0x16f205(0x610),{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0x16f205(0x2e9)],{'className':_0x16f205(0x608),'value':_0x2d02fc,'disabled':_0x58b96c,'step':0x1,'onChange':_0x56cdcf=>{_0x2a8c8f({'offsetY':_0x56cdcf==null?0x0:_0x56cdcf}),_0x4a00de(_0x56cdcf==null?0x0:_0x56cdcf);},'onFocus':()=>_0x123e01[_0x16f205(0x5d6)](o[_0x16f205(0x6d5)],!0x0),'onBlur':()=>_0x123e01[_0x16f205(0x5d6)](o[_0x16f205(0x6d5)],!0x1)})})]}),(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x13793a,'children':[(0x0,r['jsx'])(_0x16f205(0x3b4),{'className':_0x1e161f,'children':_0x58d0cd['t']('shape-editor-ui.fill.picture.scaleX')}),(0x0,r[_0x16f205(0x631)])(_0x16f205(0x610),{'className':_0x16f205(0xd2),'children':(0x0,r[_0x16f205(0x631)])(e[_0x16f205(0x2e9)],{'className':_0x16f205(0x608),'value':_0x464de1,'disabled':_0x58b96c,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x4e5b37=>_0x4e5b37+'%','parser':_0x17aa9a=>(_0x17aa9a==null?void 0x0:_0x17aa9a[_0x16f205(0x3f8)]('%',''))||'','onChange':_0x5b67ea=>{const _0x5f3a41=_0x16f205;let _0x2b308a=Math[_0x5f3a41(0x141)](0.01,(_0x5b67ea==null?0x64:_0x5b67ea)/0x64);_0x8443f3(_0x2b308a),_0x2a8c8f({'scaleX':_0x2b308a}),_0x123e01['setContextValue'](o[_0x5f3a41(0x6d5)],!0x1);},'onFocus':()=>_0x123e01['setContextValue'](o[_0x16f205(0x6d5)],!0x0),'onBlur':()=>_0x123e01['setContextValue'](o[_0x16f205(0x6d5)],!0x1)})})]}),(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x13793a,'children':[(0x0,r['jsx'])('span',{'className':_0x1e161f,'children':_0x58d0cd['t']('shape-editor-ui.fill.picture.scaleY')}),(0x0,r[_0x16f205(0x631)])(_0x16f205(0x610),{'className':_0x16f205(0xd2),'children':(0x0,r[_0x16f205(0x631)])(e[_0x16f205(0x2e9)],{'className':_0x16f205(0x608),'value':_0x535a8a,'disabled':_0x58b96c,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0xc5b595=>_0xc5b595+'%','parser':_0x89e85=>(_0x89e85==null?void 0x0:_0x89e85[_0x16f205(0x3f8)]('%',''))||'','onChange':_0x7568ac=>{const _0x3a6da9=_0x16f205;let _0x20ce76=Math[_0x3a6da9(0x141)](0.01,(_0x7568ac==null?0x64:_0x7568ac)/0x64);_0x4957c3(_0x20ce76),_0x2a8c8f({'scaleY':_0x20ce76}),_0x123e01[_0x3a6da9(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x123e01['setContextValue'](o[_0x16f205(0x6d5)],!0x0),'onBlur':()=>_0x123e01[_0x16f205(0x5d6)](o[_0x16f205(0x6d5)],!0x1)})})]}),(0x0,r[_0x16f205(0x18b)])(_0x16f205(0x610),{'className':_0x13793a,'children':[(0x0,r[_0x16f205(0x631)])(_0x16f205(0x3b4),{'className':_0x1e161f,'children':_0x58d0cd['t'](_0x16f205(0x61d))}),(0x0,r[_0x16f205(0x631)])(_0x16f205(0x610),{'className':_0x16f205(0x1d5),'children':(0x0,r[_0x16f205(0x631)])(e[_0x16f205(0x100)],{'className':_0x16f205(0x608),'value':_0x5bad4a,'options':_0x1dcb65,'disabled':_0x58b96c,'onChange':_0x309b55=>{_0x5332b9(_0x309b55),_0x2a8c8f({'alignment':_0x309b55});}})})]})]}),(0x0,r[_0x16f205(0x631)])(e[_0x16f205(0x62d)],{'checked':_0x10014d,'disabled':_0x58b96c,'onChange':_0x92cbc1=>{_0x1eadeb(_0x92cbc1),_0x204694({'imageRotateWithShape':_0x92cbc1});},'children':(0x0,r[_0x16f205(0x631)])(_0x16f205(0x3b4),{'className':'univer-text-sm','children':_0x58d0cd['t'](_0x16f205(0x668))})})]});}function Jt(_0x3795ac){const _0x452d74=_0x2d565c;var _0x558eb4,_0xc0a4c;return(_0x558eb4=(_0xc0a4c=_0x3795ac[_0x452d74(0xfd)])==null?void 0x0:_0xc0a4c[_0x452d74(0x77c)])==null?S[_0x452d74(0x345)][_0x452d74(0x77c)]:_0x558eb4;}function Yt(_0x2af32d){const _0x4bb876=_0x2d565c;var _0x1fa193,_0x42bfde,_0x299593,_0x4d8b9d;let _0x3d719c=(0x0,s['useDependency'])(o[_0x4bb876(0xe5)]),_0x5cf7c7=(0x0,s[_0x4bb876(0x2b3)])(o[_0x4bb876(0x5e2)]),{shapeData:_0x51c945,isLineShape:_0x39393f,shapeId:_0xc11cc5,disableShapeOption:_0x3110d8,onUpdateShapeData:_0x3f2805,onUpdateShapeFillImage:_0x4cb715}=_0x2af32d,[_0x11f17f,_0x194a38]=(0x0,n['useState'])(()=>Jt(_0x51c945)),[_0x434d96,_0xe398f4]=(0x0,n[_0x4bb876(0x311)])((_0x1fa193=(_0x42bfde=_0x51c945[_0x4bb876(0xfd)])==null?void 0x0:_0x42bfde[_0x4bb876(0x7b7)])==null?S[_0x4bb876(0x345)][_0x4bb876(0xfd)]:_0x1fa193),[_0x42a4d6,_0x335882]=(0x0,n[_0x4bb876(0x311)])((_0x299593=(_0x4d8b9d=_0x51c945[_0x4bb876(0xfd)])==null?void 0x0:_0x4d8b9d['opacity'])==null?S['ShapeDefaultConfig']['fillOpacity']:_0x299593),[_0x377c67,_0x457149]=(0x0,n[_0x4bb876(0x311)])(!0x1);if(_0x39393f)return null;let _0xc7c54e=0x64-_0x42a4d6*0x64;return(0x0,r[_0x4bb876(0x18b)])(_0x4bb876(0x610),{'className':_0x4bb876(0x300),'children':[(0x0,r['jsxs'])(e['RadioGroup'],{'value':_0x11f17f,'disabled':_0x3110d8,'onChange':_0x4e1361=>{const _0x2e34cf=_0x4bb876;var _0x3c456d;_0x3f2805({'oldShapeData':{'fill':{'fillType':(_0x3c456d=_0x51c945[_0x2e34cf(0xfd)])==null?void 0x0:_0x3c456d['fillType']}}},{'fill':{'fillType':_0x4e1361}}),_0x194a38(_0x4e1361);},'direction':_0x4bb876(0x385),'children':[(0x0,r[_0x4bb876(0x631)])(e[_0x4bb876(0x1ce)],{'value':S[_0x4bb876(0x6e3)][_0x4bb876(0x2f5)],'children':(0x0,r[_0x4bb876(0x631)])('span',{'className':_0x4bb876(0x6b9),'children':_0x3d719c['t']('shape-editor-ui.fill.noFill')})}),(0x0,r[_0x4bb876(0x631)])(e[_0x4bb876(0x1ce)],{'value':S[_0x4bb876(0x6e3)][_0x4bb876(0x34c)],'children':(0x0,r['jsx'])(_0x4bb876(0x3b4),{'className':_0x4bb876(0x6b9),'children':_0x3d719c['t'](_0x4bb876(0x472))})}),(0x0,r[_0x4bb876(0x631)])(e[_0x4bb876(0x1ce)],{'value':S[_0x4bb876(0x6e3)][_0x4bb876(0x51c)],'children':(0x0,r[_0x4bb876(0x631)])(_0x4bb876(0x3b4),{'className':_0x4bb876(0x6b9),'children':_0x3d719c['t']('shape-editor-ui.fill.gradientFill')})}),(0x0,r[_0x4bb876(0x631)])(e['Radio'],{'value':S[_0x4bb876(0x6e3)]['PictureFill'],'children':(0x0,r[_0x4bb876(0x631)])(_0x4bb876(0x3b4),{'className':_0x4bb876(0x6b9),'children':_0x3d719c['t'](_0x4bb876(0x545))})})]}),_0x11f17f===S[_0x4bb876(0x6e3)][_0x4bb876(0x34c)]&&(0x0,r['jsxs'])(_0x4bb876(0x610),{'className':_0x4bb876(0x445),'children':[(0x0,r['jsxs'])(_0x4bb876(0x610),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x4bb876(0x631)])(_0x4bb876(0x3b4),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3d719c['t'](_0x4bb876(0x1a9))}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x3110d8,'overlay':(0x0,r['jsx'])(_0x4bb876(0x610),{'className':_0x4bb876(0x5b4),'children':(0x0,r[_0x4bb876(0x631)])(e[_0x4bb876(0x64c)],{'value':_0x434d96,'onChange':_0x28eebf=>{const _0x3d6ef0=_0x4bb876;var _0x5e525d;_0x3f2805({'oldShapeData':{'fill':{'color':(_0x5e525d=_0x51c945[_0x3d6ef0(0xfd)])==null?void 0x0:_0x5e525d[_0x3d6ef0(0x7b7)]}}},{'fill':{'color':_0x28eebf}}),_0xe398f4(_0x28eebf),_0x457149(!0x1);}})}),'open':_0x377c67,'onOpenChange':_0x457149,'children':(0x0,r[_0x4bb876(0x18b)])('a',{'className':_0x4bb876(0x1d9),'children':[(0x0,r['jsx'])(t[_0x4bb876(0x31f)],{'className':_0x4bb876(0x4ef),'extend':{'colorChannel1':_0x434d96}}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x4bb876(0x2e6),{'univer-rotate-180':_0x377c67})})]})})]}),(0x0,r[_0x4bb876(0x18b)])(_0x4bb876(0x610),{'className':_0x4bb876(0x1e2),'children':[(0x0,r['jsx'])('span',{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3d719c['t'](_0x4bb876(0x651))}),(0x0,r['jsx'])(_0x4bb876(0x610),{'className':_0x4bb876(0x1c3),'children':(0x0,r['jsx'])(_0x4bb876(0x610),{'className':_0x4bb876(0xd2),'children':(0x0,r[_0x4bb876(0x631)])(e[_0x4bb876(0x2e9)],{'className':_0x4bb876(0x608),'value':_0xc7c54e,'disabled':_0x3110d8,'min':0x0,'max':0x64,'step':0xa,'formatter':_0xa62bdd=>_0xa62bdd+'%','parser':_0x57cd1b=>(_0x57cd1b==null?void 0x0:_0x57cd1b[_0x4bb876(0x3f8)]('%',''))||'','onChange':_0x2e5268=>{const _0xf0ea82=_0x4bb876;let _0x68abc6=(0x64-Math[_0xf0ea82(0x141)](0x0,Math[_0xf0ea82(0x2ce)](0x64,_0x2e5268==null?0x0:_0x2e5268)))/0x64;_0x335882(_0x68abc6),_0x3f2805({'oldShapeData':{'fill':{..._0x51c945[_0xf0ea82(0xfd)],'fillType':_0x11f17f}}},{'fill':{..._0x51c945['fill'],'fillType':_0x11f17f,'opacity':_0x68abc6}}),_0x5cf7c7['setContextValue'](o[_0xf0ea82(0x6d5)],!0x1);},'onFocus':()=>_0x5cf7c7[_0x4bb876(0x5d6)](o[_0x4bb876(0x6d5)],!0x0),'onBlur':()=>{const _0x568265=_0x4bb876;_0x5cf7c7[_0x568265(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x11f17f===S[_0x4bb876(0x6e3)]['GradientFill']&&(0x0,r[_0x4bb876(0x631)])(Qt,{'shapeData':_0x51c945,'disableShapeOption':_0x3110d8,'onUpdate':_0x4774f4=>{const _0x1bd6d1=_0x4bb876;_0x3f2805({'oldShapeData':{'fill':{..._0x51c945['fill']}}},{'fill':{..._0x51c945[_0x1bd6d1(0xfd)],..._0x4774f4}});}}),_0x11f17f===S[_0x4bb876(0x6e3)][_0x4bb876(0x11f)]&&(0x0,r['jsx'])(qt,{'shapeId':_0xc11cc5,'shapeData':_0x51c945,'disableShapeOption':_0x3110d8,'onUpdateShapeData':_0x3f2805,'onUpdateShapeFillImage':_0x4cb715})]});}function Xt(_0x54f3b6){const _0x2e2c71=_0x2d565c;switch(_0x54f3b6){case S[_0x2e2c71(0x45c)][_0x2e2c71(0x4a8)]:return _0x2e2c71(0x40a);case S[_0x2e2c71(0x45c)][_0x2e2c71(0x269)]:return _0x2e2c71(0x703);case S[_0x2e2c71(0x45c)][_0x2e2c71(0x7ad)]:return _0x2e2c71(0x7be);case S[_0x2e2c71(0x45c)][_0x2e2c71(0x15b)]:return _0x2e2c71(0x208);default:return _0x2e2c71(0x40a);}}function Zt(_0xec8c5c){const _0x30ac30=_0x2d565c;switch(_0xec8c5c){case _0x30ac30(0x40a):return S[_0x30ac30(0x45c)][_0x30ac30(0x4a8)];case _0x30ac30(0x703):return S['ShapeGradientTypeEnum'][_0x30ac30(0x269)];case'angular':return S[_0x30ac30(0x45c)][_0x30ac30(0x7ad)];case _0x30ac30(0x208):return S[_0x30ac30(0x45c)]['Diamond'];default:return S[_0x30ac30(0x45c)][_0x30ac30(0x4a8)];}}function Qt(_0x54e1ae){const _0x31fdcd=_0x2d565c;let {shapeData:_0x248ac5,disableShapeOption:_0x368f53,onUpdate:_0x1c097b}=_0x54e1ae,_0x1d73a6=(0x0,n[_0x31fdcd(0x1f6)])(()=>{const _0x466110=_0x31fdcd;var _0x261315,_0xb6d6bb;let _0xe12533=_0x248ac5[_0x466110(0xfd)];return{'type':Xt((_0x261315=_0xe12533==null?void 0x0:_0xe12533[_0x466110(0x281)])==null?S[_0x466110(0x345)]['gradientType']:_0x261315),'angle':(_0xb6d6bb=_0xe12533==null?void 0x0:_0xe12533[_0x466110(0x5c0)])==null?S['ShapeDefaultConfig'][_0x466110(0x5c0)]:_0xb6d6bb,'stops':_0xe12533!=null&&_0xe12533[_0x466110(0x6ea)]&&_0xe12533[_0x466110(0x6ea)]['length']>=0x2?_0xe12533[_0x466110(0x6ea)][_0x466110(0x5a7)](_0x3c869d=>({'color':_0x3c869d[_0x466110(0x7b7)],'offset':_0x3c869d[_0x466110(0x112)]*0x64,'opacity':_0x3c869d[_0x466110(0x203)]})):[{'color':(_0xe12533==null?void 0x0:_0xe12533[_0x466110(0x7b7)])||S[_0x466110(0x345)]['fill'],'offset':0x0},{'color':S[_0x466110(0x345)]['gradientEndColor'],'offset':0x64}]};},[_0x248ac5[_0x31fdcd(0xfd)]]);return(0x0,r[_0x31fdcd(0x631)])(_0x31fdcd(0x610),{'className':_0x31fdcd(0x178),'children':(0x0,r[_0x31fdcd(0x631)])(e[_0x31fdcd(0x27a)],{'value':_0x1d73a6,'onChange':_0x5dd51d=>{const _0xd04dad=_0x31fdcd;let _0x5d7f68=Zt(_0x5dd51d[_0xd04dad(0x49a)]),_0x34b0fe=_0x5dd51d[_0xd04dad(0x796)],_0x4b005e=_0x5dd51d['stops'][_0xd04dad(0x5a7)](_0x3f339b=>({'color':_0x3f339b[_0xd04dad(0x7b7)],'position':_0x3f339b[_0xd04dad(0x43e)]/0x64,'opacity':_0x3f339b[_0xd04dad(0x203)]}));_0x1c097b({'gradientType':_0x5d7f68,'gradientAngle':_0x34b0fe,'gradientStops':_0x4b005e});}})});}function $t(_0x3c8227){const _0x51c45b=_0x2d565c;var _0x468129,_0x54bbab,_0x411c34,_0x54b3fd,_0x1e70bb,_0x171e7e,_0x1797ba,_0x1b572a,_0xb13bfb,_0x5482c4,_0x6a1a33,_0x326b2c,_0x1f8ca3,_0x5f4083,_0x3a282b,_0xa61ffe,_0x5d79df;let _0x44f761=(0x0,s['useDependency'])(o[_0x51c45b(0xe5)]),_0x576fbe=(0x0,s[_0x51c45b(0x2b3)])(o[_0x51c45b(0x5e2)]),{shapeData:_0xecd370,isLineShape:_0x39fca8,disableShapeOption:_0x498cdd,onUpdateShapeData:_0x543e3a,onUpdateLineShapeData:_0x1ea09a}=_0x3c8227,_0x3f6055=_0xecd370[_0x51c45b(0x710)],[_0x430241,_0x23012d]=(0x0,n[_0x51c45b(0x311)])((_0x468129=_0x3f6055==null?void 0x0:_0x3f6055[_0x51c45b(0x218)])==null?S[_0x51c45b(0x345)]['lineType']:_0x468129),[_0x6246b8,_0x43d4f7]=(0x0,n[_0x51c45b(0x311)])((_0x54bbab=_0x3f6055==null?void 0x0:_0x3f6055[_0x51c45b(0x7b7)])==null?S[_0x51c45b(0x345)][_0x51c45b(0x710)]:_0x54bbab),[_0x48059a,_0x37dfad]=(0x0,n[_0x51c45b(0x311)])((_0x411c34=_0x3f6055==null?void 0x0:_0x3f6055[_0x51c45b(0x203)])==null?S['ShapeDefaultConfig'][_0x51c45b(0x132)]:_0x411c34),[_0x46b341,_0x1d16d3]=(0x0,n[_0x51c45b(0x311)])((_0x54b3fd=_0x3f6055==null?void 0x0:_0x3f6055[_0x51c45b(0x2d1)])==null?S[_0x51c45b(0x345)]['strokeWidth']:_0x54b3fd),[_0x3c9a74,_0x2d27dc]=(0x0,n[_0x51c45b(0x311)])((_0x1e70bb=_0x3f6055==null?void 0x0:_0x3f6055['cornerRadius'])==null?S[_0x51c45b(0x345)]['cornerRadius']:_0x1e70bb),[_0x30c30f,_0xcd0a29]=(0x0,n[_0x51c45b(0x311)])((_0x171e7e=_0x3f6055==null?void 0x0:_0x3f6055['dashType'])==null?S[_0x51c45b(0x345)][_0x51c45b(0x360)]:_0x171e7e),[_0x2e4c21,_0x4c9be8]=(0x0,n[_0x51c45b(0x311)])((_0x1797ba=_0x3f6055==null?void 0x0:_0x3f6055[_0x51c45b(0x22d)])==null?S[_0x51c45b(0x345)][_0x51c45b(0x387)]:_0x1797ba),[_0x247e13,_0x20943d]=(0x0,n['useState'])((_0x1b572a=_0x3f6055==null?void 0x0:_0x3f6055[_0x51c45b(0x257)])==null?S['ShapeDefaultConfig'][_0x51c45b(0x257)]:_0x1b572a),[_0x3c627c,_0x5bda1d]=(0x0,n[_0x51c45b(0x311)])((_0xb13bfb=_0x3f6055==null?void 0x0:_0x3f6055[_0x51c45b(0xf2)])==null?S[_0x51c45b(0x345)]['sketchType']:_0xb13bfb),_0x2fe891=_0xecd370,[_0x334567,_0x363ee1]=(0x0,n[_0x51c45b(0x311)])((_0x5482c4=(_0x6a1a33=_0x2fe891['ln'])==null||(_0x6a1a33=_0x6a1a33[_0x51c45b(0x235)])==null?void 0x0:_0x6a1a33['type'])==null?S['ShapeArrowTypeEnum'][_0x51c45b(0x458)]:_0x5482c4),[_0x4fa681,_0x408a41]=(0x0,n[_0x51c45b(0x311)])((_0x326b2c=(_0x1f8ca3=_0x2fe891['ln'])==null||(_0x1f8ca3=_0x1f8ca3['startArrow'])==null?void 0x0:_0x1f8ca3[_0x51c45b(0x47d)])==null?S['ShapeArrowSizeEnum'][_0x51c45b(0x461)]:_0x326b2c),[_0x4912ae,_0x812ec4]=(0x0,n[_0x51c45b(0x311)])((_0x5f4083=(_0x3a282b=_0x2fe891['ln'])==null||(_0x3a282b=_0x3a282b['endArrow'])==null?void 0x0:_0x3a282b[_0x51c45b(0x49a)])==null?S[_0x51c45b(0xed)][_0x51c45b(0x458)]:_0x5f4083),[_0xca5523,_0x18ab3a]=(0x0,n[_0x51c45b(0x311)])((_0xa61ffe=(_0x5d79df=_0x2fe891['ln'])==null||(_0x5d79df=_0x5d79df['endArrow'])==null?void 0x0:_0x5d79df[_0x51c45b(0x47d)])==null?S[_0x51c45b(0x5fa)][_0x51c45b(0x461)]:_0xa61ffe),[_0xd3295f,_0x17dccb]=(0x0,n[_0x51c45b(0x311)])(!0x1),_0x123db9=0x64-_0x48059a*0x64,_0x494392=[{'label':_0x44f761['t']('shape-editor-ui.line.dashType.solid'),'value':String(S[_0x51c45b(0x306)][_0x51c45b(0x3e0)])},{'label':_0x44f761['t']('shape-editor-ui.line.dashType.roundDot'),'value':String(S[_0x51c45b(0x306)][_0x51c45b(0x646)])},{'label':_0x44f761['t'](_0x51c45b(0x34a)),'value':String(S[_0x51c45b(0x306)]['SquareDot'])},{'label':_0x44f761['t'](_0x51c45b(0x7c0)),'value':String(S[_0x51c45b(0x306)]['Dash'])},{'label':_0x44f761['t'](_0x51c45b(0x27b)),'value':String(S[_0x51c45b(0x306)][_0x51c45b(0x51d)])},{'label':_0x44f761['t'](_0x51c45b(0x7c8)),'value':String(S[_0x51c45b(0x306)][_0x51c45b(0x565)])},{'label':_0x44f761['t'](_0x51c45b(0x3e1)),'value':String(S[_0x51c45b(0x306)][_0x51c45b(0x448)])},{'label':_0x44f761['t']('shape-editor-ui.line.dashType.longDashDotDot'),'value':String(S['ShapeLineDashEnum'][_0x51c45b(0x43d)])}],_0x46666a=[{'label':_0x44f761['t'](_0x51c45b(0x33c)),'value':String(S['ShapeLineCapEnum'][_0x51c45b(0x62a)])},{'label':_0x44f761['t']('shape-editor-ui.line.capType.round'),'value':String(S[_0x51c45b(0x295)][_0x51c45b(0x597)])},{'label':_0x44f761['t'](_0x51c45b(0x7cc)),'value':String(S[_0x51c45b(0x295)]['Square'])}],_0x3ad87f=[{'label':_0x44f761['t'](_0x51c45b(0xd7)),'value':String(S[_0x51c45b(0x3b3)][_0x51c45b(0x458)])},{'label':_0x44f761['t'](_0x51c45b(0x734)),'value':String(S[_0x51c45b(0x3b3)]['Curved'])},{'label':_0x44f761['t'](_0x51c45b(0x25a)),'value':String(S[_0x51c45b(0x3b3)][_0x51c45b(0xf3)])},{'label':_0x44f761['t'](_0x51c45b(0x738)),'value':String(S['ShapeSketchTypeEnum'][_0x51c45b(0x5a1)])}],_0x3fe1f8=[{'label':_0x44f761['t'](_0x51c45b(0x614)),'value':String(S[_0x51c45b(0x347)][_0x51c45b(0x529)])},{'label':_0x44f761['t'](_0x51c45b(0x363)),'value':String(S['ShapeLineJoinEnum'][_0x51c45b(0x597)])},{'label':_0x44f761['t'](_0x51c45b(0x598)),'value':String(S['ShapeLineJoinEnum'][_0x51c45b(0x3ce)])}],_0x33f232=[{'label':_0x44f761['t'](_0x51c45b(0x762)),'value':String(S[_0x51c45b(0xed)][_0x51c45b(0x458)])},{'label':_0x44f761['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(S['ShapeArrowTypeEnum']['Arrow'])},{'label':_0x44f761['t']('shape-editor-ui.line.arrowType.openArrow'),'value':String(S['ShapeArrowTypeEnum'][_0x51c45b(0x27d)])},{'label':_0x44f761['t']('shape-editor-ui.line.arrowType.stealthArrow'),'value':String(S[_0x51c45b(0xed)][_0x51c45b(0x288)])},{'label':_0x44f761['t'](_0x51c45b(0x6bd)),'value':String(S[_0x51c45b(0xed)][_0x51c45b(0x3df)])},{'label':_0x44f761['t'](_0x51c45b(0x63d)),'value':String(S[_0x51c45b(0xed)][_0x51c45b(0x3e2)])}],_0x3c6b59=[{'label':_0x44f761['t'](_0x51c45b(0x77a)),'value':String(S[_0x51c45b(0x5fa)][_0x51c45b(0x1da)])},{'label':_0x44f761['t'](_0x51c45b(0x465)),'value':String(S[_0x51c45b(0x5fa)]['Medium'])},{'label':_0x44f761['t'](_0x51c45b(0x579)),'value':String(S[_0x51c45b(0x5fa)][_0x51c45b(0x6a5)])}];return(0x0,r['jsxs'])(_0x51c45b(0x610),{'className':_0x51c45b(0x300),'children':[(0x0,r['jsxs'])(e['RadioGroup'],{'value':String(_0x430241),'disabled':_0x498cdd,'onChange':_0x241f4d=>{const _0x2b3675=_0x51c45b;var _0x47d8b0;_0x23012d(Number(_0x241f4d)),_0x543e3a({'oldShapeData':{'stroke':{'lineStrokeType':(_0x47d8b0=_0xecd370[_0x2b3675(0x710)])==null?void 0x0:_0x47d8b0[_0x2b3675(0x218)]}}},{'stroke':{'lineStrokeType':Number(_0x241f4d)}});},'direction':_0x51c45b(0x385),'children':[(0x0,r[_0x51c45b(0x631)])(e['Radio'],{'value':String(S[_0x51c45b(0x196)][_0x51c45b(0x321)]),'children':(0x0,r[_0x51c45b(0x631)])('span',{'className':_0x51c45b(0x6b9),'children':_0x44f761['t'](_0x51c45b(0x139))})}),(0x0,r[_0x51c45b(0x631)])(e[_0x51c45b(0x1ce)],{'value':String(S[_0x51c45b(0x196)][_0x51c45b(0x623)]),'children':(0x0,r['jsx'])('span',{'className':_0x51c45b(0x6b9),'children':_0x44f761['t'](_0x51c45b(0x3f2))})})]}),_0x430241!==S[_0x51c45b(0x196)]['NoLine']&&(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x445),'children':[(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x72b),'children':[(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t'](_0x51c45b(0x286))}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x498cdd,'overlay':(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0x5b4),'children':(0x0,r[_0x51c45b(0x631)])(e[_0x51c45b(0x64c)],{'value':_0x6246b8,'onChange':_0x34f364=>{const _0x4807b8=_0x51c45b;var _0x31eca4;_0x543e3a({'oldShapeData':{'stroke':{'color':(_0x31eca4=_0xecd370['stroke'])==null?void 0x0:_0x31eca4[_0x4807b8(0x7b7)]}}},{'stroke':{'color':_0x34f364}}),_0x43d4f7(_0x34f364),_0x17dccb(!0x1);}})}),'open':_0xd3295f,'onOpenChange':_0x17dccb,'children':(0x0,r['jsxs'])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(0x0,r['jsx'])(t['ShapeStrokeColorDoubleIcon'],{'className':_0x51c45b(0x4ef),'extend':{'colorChannel1':_0x6246b8}}),(0x0,r[_0x51c45b(0x631)])(t[_0x51c45b(0x6c2)],{'className':(0x0,e['clsx'])(_0x51c45b(0x2e6),{'univer-rotate-180':_0xd3295f})})]})})]}),(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1e2),'children':[(0x0,r[_0x51c45b(0x631)])('span',{'className':_0x51c45b(0x13e),'children':_0x44f761['t']('shape-editor-ui.line.transparency')}),(0x0,r['jsx'])(_0x51c45b(0x610),{'className':_0x51c45b(0x1e2),'children':(0x0,r['jsx'])(_0x51c45b(0x610),{'className':_0x51c45b(0x5a3),'children':(0x0,r[_0x51c45b(0x631)])(e[_0x51c45b(0x2e9)],{'className':_0x51c45b(0x608),'value':_0x123db9,'disabled':_0x498cdd,'min':0x0,'max':0x64,'formatter':_0x699e60=>_0x699e60+'%','parser':_0x216afb=>(_0x216afb==null?void 0x0:_0x216afb[_0x51c45b(0x3f8)]('%',''))||'','onChange':_0x502c4e=>{const _0x157e5=_0x51c45b;var _0x1a7802;let _0x58673d=(0x64-Math[_0x157e5(0x141)](0x0,Math[_0x157e5(0x2ce)](0x64,_0x502c4e==null?0x0:_0x502c4e)))/0x64;_0x37dfad(_0x58673d),_0x543e3a({'oldShapeData':{'stroke':{'opacity':(_0x1a7802=_0xecd370[_0x157e5(0x710)])==null?void 0x0:_0x1a7802[_0x157e5(0x203)]}}},{'stroke':{'opacity':_0x58673d}}),_0x576fbe[_0x157e5(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x576fbe[_0x51c45b(0x5d6)](o[_0x51c45b(0x6d5)],!0x0),'onBlur':_0xb9c656=>{const _0x3a719e=_0x51c45b;_0x576fbe[_0x3a719e(0x5d6)](o[_0x3a719e(0x6d5)],!0x1);}})})})]}),(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1e2),'children':[(0x0,r['jsx'])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t'](_0x51c45b(0x192))}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0xd2),'children':(0x0,r[_0x51c45b(0x631)])(e[_0x51c45b(0x2e9)],{'className':_0x51c45b(0x608),'disabled':_0x498cdd,'value':_0x46b341,'min':0.25,'max':0x64,'step':0.25,'onChange':_0x5b0350=>{const _0x1a1040=_0x51c45b;if(!Number[_0x1a1040(0x4df)](_0x5b0350)&&_0x5b0350!==null){var _0x161bca;_0x543e3a({'oldShapeData':{'stroke':{'width':(_0x161bca=_0xecd370['stroke'])==null?void 0x0:_0x161bca[_0x1a1040(0x2d1)]}}},{'stroke':{'width':_0x5b0350}});}_0x576fbe[_0x1a1040(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x576fbe[_0x51c45b(0x5d6)](o[_0x51c45b(0x6d5)],!0x0),'onBlur':_0x4cfcc2=>{const _0x33d80d=_0x51c45b;_0x576fbe[_0x33d80d(0x5d6)](o[_0x33d80d(0x6d5)],!0x1);}})})]}),_0x39fca8&&(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1e2),'children':[(0x0,r[_0x51c45b(0x631)])('span',{'className':_0x51c45b(0x1b3),'children':_0x44f761['t'](_0x51c45b(0x26f))}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0xd2),'children':(0x0,r[_0x51c45b(0x631)])(e[_0x51c45b(0x2e9)],{'className':'univer-w-full','disabled':_0x498cdd,'value':_0x3c9a74,'min':0x0,'step':0x1,'onChange':_0x9f3409=>{const _0x5ecfd3=_0x51c45b;var _0xdf644;let _0x58aee3=Math[_0x5ecfd3(0x141)](0x0,_0x9f3409==null?0x0:_0x9f3409);_0x2d27dc(_0x58aee3),_0x543e3a({'oldShapeData':{'stroke':{'cornerRadius':(_0xdf644=_0xecd370[_0x5ecfd3(0x710)])==null?void 0x0:_0xdf644[_0x5ecfd3(0x439)]}}},{'stroke':{'cornerRadius':_0x58aee3}}),_0x576fbe[_0x5ecfd3(0x5d6)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x576fbe['setContextValue'](o[_0x51c45b(0x6d5)],!0x0),'onBlur':()=>{const _0x1d26e1=_0x51c45b;_0x576fbe[_0x1d26e1(0x5d6)](o[_0x1d26e1(0x6d5)],!0x1);}})})]}),(0x0,r[_0x51c45b(0x18b)])('div',{'className':_0x51c45b(0x72b),'children':[(0x0,r['jsx'])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t']('shape-editor-ui.line.dashType.title')}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1d5),'children':(0x0,r[_0x51c45b(0x631)])(e[_0x51c45b(0x100)],{'className':_0x51c45b(0x608),'value':String(_0x30c30f),'options':_0x494392,'disabled':_0x498cdd,'onChange':_0x5607cb=>{const _0x4bc514=_0x51c45b;var _0x1c72e9;_0xcd0a29(Number(_0x5607cb)),_0x543e3a({'oldShapeData':{'stroke':{'dashType':(_0x1c72e9=_0xecd370['stroke'])==null?void 0x0:_0x1c72e9[_0x4bc514(0x22b)]}}},{'stroke':{'dashType':Number(_0x5607cb)}});}})})]}),(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x72b),'children':[(0x0,r[_0x51c45b(0x631)])('span',{'className':_0x51c45b(0x1b3),'children':_0x44f761['t'](_0x51c45b(0x29e))}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':'univer-w-28','children':(0x0,r[_0x51c45b(0x631)])(e['Select'],{'className':'univer-w-full','value':String(_0x2e4c21),'options':_0x46666a,'disabled':_0x498cdd,'onChange':_0x59a9c3=>{const _0x5ec2fd=_0x51c45b;var _0x42b610;_0x4c9be8(Number(_0x59a9c3)),_0x543e3a({'oldShapeData':{'stroke':{'capType':(_0x42b610=_0xecd370[_0x5ec2fd(0x710)])==null?void 0x0:_0x42b610[_0x5ec2fd(0x22d)]}}},{'stroke':{'capType':Number(_0x59a9c3)}});}})})]}),(0x0,r[_0x51c45b(0x18b)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t']('shape-editor-ui.line.joinType.title')}),(0x0,r['jsx'])(_0x51c45b(0x610),{'className':_0x51c45b(0x1d5),'children':(0x0,r['jsx'])(e[_0x51c45b(0x100)],{'className':_0x51c45b(0x608),'value':String(_0x247e13),'options':_0x3fe1f8,'disabled':_0x498cdd,'onChange':_0x37855f=>{const _0x2f568d=_0x51c45b;var _0x369317;_0x20943d(Number(_0x37855f)),_0x543e3a({'oldShapeData':{'stroke':{'lineJoinType':(_0x369317=_0xecd370[_0x2f568d(0x710)])==null?void 0x0:_0x369317[_0x2f568d(0x257)]}}},{'stroke':{'lineJoinType':Number(_0x37855f)}});}})})]}),!_0x39fca8&&(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x72b),'children':[(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t'](_0x51c45b(0x2f8))}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1d5),'children':(0x0,r[_0x51c45b(0x631)])(e['Select'],{'className':_0x51c45b(0x608),'value':String(_0x3c627c),'options':_0x3ad87f,'disabled':_0x498cdd,'onChange':_0x363348=>{const _0x4550c1=_0x51c45b;var _0x20a10f;_0x5bda1d(Number(_0x363348)),_0x543e3a({'oldShapeData':{'stroke':{'sketchType':(_0x20a10f=_0xecd370[_0x4550c1(0x710)])==null?void 0x0:_0x20a10f[_0x4550c1(0xf2)]}}},{'stroke':{'sketchType':Number(_0x363348)}});}})})]}),_0x39fca8&&(0x0,r[_0x51c45b(0x18b)])(r[_0x51c45b(0x527)],{'children':[(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x72b),'children':[(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t'](_0x51c45b(0x4ac))}),(0x0,r['jsx'])(_0x51c45b(0x610),{'className':_0x51c45b(0x1d5),'children':(0x0,r['jsx'])(e['Select'],{'className':_0x51c45b(0x608),'value':String(_0x334567),'options':_0x33f232,'onChange':_0x9d3d6e=>{var _0x1161da;_0x363ee1(Number(_0x9d3d6e));let _0x39f822={'ln':{'startArrow':{'type':(_0x1161da=_0xecd370['ln'])==null||(_0x1161da=_0x1161da['startArrow'])==null?void 0x0:_0x1161da['type']}}};_0x1ea09a==null||_0x1ea09a({'oldShapeData':_0x39f822},{'ln':{'startArrow':{'type':Number(_0x9d3d6e)}}});}})})]}),(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':_0x51c45b(0x72b),'children':[(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t']('shape-editor-ui.line.beginArrowSize')}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1d5),'children':(0x0,r[_0x51c45b(0x631)])(e[_0x51c45b(0x100)],{'className':_0x51c45b(0x608),'value':String(_0x4fa681),'options':_0x3c6b59,'onChange':_0x375b4a=>{const _0x2c9e34=_0x51c45b;var _0x389bff;_0x408a41(Number(_0x375b4a));let _0x1c9b59={'ln':{'startArrow':{'size':(_0x389bff=_0xecd370['ln'])==null||(_0x389bff=_0x389bff[_0x2c9e34(0x235)])==null?void 0x0:_0x389bff[_0x2c9e34(0x47d)]}}};_0x1ea09a==null||_0x1ea09a({'oldShapeData':_0x1c9b59},{'ln':{'startArrow':{'size':Number(_0x375b4a)}}});}})})]}),(0x0,r['jsxs'])(_0x51c45b(0x610),{'className':_0x51c45b(0x72b),'children':[(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x3b4),{'className':_0x51c45b(0x1b3),'children':_0x44f761['t']('shape-editor-ui.line.endArrowType')}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1d5),'children':(0x0,r[_0x51c45b(0x631)])(e['Select'],{'className':_0x51c45b(0x608),'value':String(_0x4912ae),'options':_0x33f232,'onChange':_0x46f0b=>{const _0xe0a7b=_0x51c45b;var _0x5e7f0d;_0x812ec4(Number(_0x46f0b));let _0x4515b4={'ln':{'endArrow':{'type':(_0x5e7f0d=_0xecd370['ln'])==null||(_0x5e7f0d=_0x5e7f0d['endArrow'])==null?void 0x0:_0x5e7f0d[_0xe0a7b(0x49a)]}}};_0x1ea09a==null||_0x1ea09a({'oldShapeData':_0x4515b4},{'ln':{'endArrow':{'type':Number(_0x46f0b)}}});}})})]}),(0x0,r[_0x51c45b(0x18b)])(_0x51c45b(0x610),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x51c45b(0x631)])('span',{'className':_0x51c45b(0x1b3),'children':_0x44f761['t'](_0x51c45b(0x17a))}),(0x0,r[_0x51c45b(0x631)])(_0x51c45b(0x610),{'className':_0x51c45b(0x1d5),'children':(0x0,r[_0x51c45b(0x631)])(e['Select'],{'className':'univer-w-full','value':String(_0xca5523),'options':_0x3c6b59,'onChange':_0x22837b=>{const _0x321868=_0x51c45b;var _0x52d21f;_0x18ab3a(Number(_0x22837b));let _0x241b34={'ln':{'endArrow':{'size':(_0x52d21f=_0xecd370['ln'])==null||(_0x52d21f=_0x52d21f[_0x321868(0x57f)])==null?void 0x0:_0x52d21f['size']}}};_0x1ea09a==null||_0x1ea09a({'oldShapeData':_0x241b34},{'ln':{'endArrow':{'size':Number(_0x22837b)}}});}})})]})]})]})]});}function en(_0x41dfb9){const _0xdb531e=_0x2d565c;return Math[_0xdb531e(0x767)](_0x41dfb9*0xa)/0xa;}function tn(_0x54badc){const _0x2135c6=_0x2d565c;var _0xc25b49,_0xcc063d,_0x25cfba,_0x92dfa0,_0x4675d7;let _0x5b4935=_0x54badc[_0x2135c6(0x4ad)],_0x287d27=_0x5b4935&&_0x2135c6(0x18c)in _0x5b4935?(_0xc25b49=_0x5b4935[_0x2135c6(0x18c)])==null?void 0x0:_0xc25b49[_0x2135c6(0x217)]:void 0x0,_0x533f22=_0x287d27==null||(_0xcc063d=_0x287d27[_0x2135c6(0x2c5)])==null||(_0xcc063d=_0xcc063d['sectionBreaks'])==null||(_0xcc063d=_0xcc063d[_0x2135c6(0x1f1)](_0x5a03d9=>{const _0xa53713=_0x2135c6;var _0x220e72,_0x898542;return((_0x220e72=(_0x898542=_0x5a03d9[_0xa53713(0x751)])==null?void 0x0:_0x898542[_0xa53713(0x435)])==null?0x0:_0x220e72)>0x0;}))==null?void 0x0:_0xcc063d[_0x2135c6(0x751)];return{'count':Math[_0x2135c6(0x141)](0x1,(_0x25cfba=_0x533f22==null?void 0x0:_0x533f22[_0x2135c6(0x435)])==null?0x1:_0x25cfba),'spacing':en((_0x92dfa0=_0x533f22==null||(_0x4675d7=_0x533f22[0x0])==null?void 0x0:_0x4675d7[_0x2135c6(0x190)])==null?0x0:_0x92dfa0)};}function nn(_0x1326fc,_0x486b2d){const _0x550156=_0x2d565c;var _0xc894ed,_0x28fcbc;let _0x1a8586=_0x1326fc['shapeText'],_0xb368f=_0x1a8586&&'dataModel'in _0x1a8586?_0x1a8586[_0x550156(0x18c)]:void 0x0,_0x347644=_0x1a8586&&_0x550156(0x78a)in _0x1a8586?(_0xc894ed=_0x1a8586['text'])==null?'':_0xc894ed:'',_0x17a61c=(_0x28fcbc=_0xb368f==null?void 0x0:_0xb368f[_0x550156(0x217)])==null?{'id':(0x0,o[_0x550156(0x2e5)])(0x6),'body':{'dataStream':_0x347644+'\x0d\x0a'},'documentStyle':{}}:_0x28fcbc,_0x1e7b96=o['RichTextBuilder'][_0x550156(0x2d2)](o[_0x550156(0x2ba)][_0x550156(0x1ba)](_0x17a61c))[_0x550156(0x478)]({'count':Math['max'](0x1,Math[_0x550156(0x767)](_0x486b2d[_0x550156(0x4fe)])),'spacing':Math[_0x550156(0x141)](0x0,_0x486b2d[_0x550156(0x5a5)])})['getData']();return{..._0x1326fc,'shapeText':{..._0x1a8586==null?{'isHorizontal':!0x0}:_0x1a8586,'text':_0x347644,'dataModel':{..._0xb368f==null?{}:_0xb368f,'doc':_0x1e7b96}}};}function rn(_0x4da1cd){const _0x525d57=_0x2d565c;let {shapeData:_0x5ecdd5,disableShapeOption:_0x567a47,onUpdateShapeData:_0x326b11}=_0x4da1cd,_0x3b6ff7=(0x0,s[_0x525d57(0x2b3)])(o[_0x525d57(0xe5)]),_0x179f5b=(0x0,S['resolveShapeTextBoxOptions'])(_0x5ecdd5),[_0x4bdd77,_0x1cf6b0]=(0x0,n['useState'])(_0x179f5b[_0x525d57(0x68e)]),[_0xf24489,_0x3446c5]=(0x0,n['useState'])(_0x179f5b['autoFitType']),[_0x5b5472,_0x359025]=(0x0,n['useState'])(_0x179f5b[_0x525d57(0x43a)]),[_0x5397c7,_0x3e8256]=(0x0,n[_0x525d57(0x311)])(()=>({'left':en(_0x179f5b[_0x525d57(0x2b1)]['left']),'right':en(_0x179f5b[_0x525d57(0x2b1)][_0x525d57(0x764)]),'top':en(_0x179f5b[_0x525d57(0x2b1)][_0x525d57(0x337)]),'bottom':en(_0x179f5b['padding'][_0x525d57(0x369)])})),[_0x3ff477,_0x544a38]=(0x0,n['useState'])(()=>tn(_0x5ecdd5)),_0x267e9d=_0x43e9f4=>{const _0x48d4dc=_0x525d57;_0x326b11({'oldShapeData':_0x5ecdd5},(0x0,S[_0x48d4dc(0x5cb)])(_0x5ecdd5,_0x43e9f4));},_0x26e4a2=_0x5ba6b6=>{_0x3e8256(_0x5ba6b6),_0x267e9d({'padding':_0x5ba6b6});},_0xa118ec=_0x18e7a8=>{_0x544a38(_0x18e7a8),_0x326b11({'oldShapeData':_0x5ecdd5},nn(_0x5ecdd5,_0x18e7a8));},_0x4d89b0=[{'label':_0x3b6ff7['t'](_0x525d57(0x24a)),'value':S[_0x525d57(0x657)][_0x525d57(0x619)]},{'label':_0x3b6ff7['t'](_0x525d57(0x687)),'value':S['ShapeTextDirection'][_0x525d57(0x6f5)]}],_0x569c25=[{'label':_0x3b6ff7['t'](_0x525d57(0x777)),'value':S[_0x525d57(0x571)][_0x525d57(0x24d)]},{'label':_0x3b6ff7['t'](_0x525d57(0x298)),'value':S[_0x525d57(0x571)]['NormAutoFit']},{'label':_0x3b6ff7['t'](_0x525d57(0x596)),'value':S[_0x525d57(0x571)]['SpAutoFit']}];return(0x0,r[_0x525d57(0x18b)])(_0x525d57(0xc2),{'className':_0x525d57(0x395),'children':[(0x0,r[_0x525d57(0x18b)])(_0x525d57(0x553),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x525d57(0x631)])('span',{'className':_0x525d57(0x3d4),'children':_0x3b6ff7['t'](_0x525d57(0x628))}),(0x0,r[_0x525d57(0x631)])(e[_0x525d57(0x100)],{'className':_0x525d57(0x2da),'disabled':_0x567a47,'value':_0x4bdd77,'options':_0x4d89b0,'onChange':_0x32887b=>{let _0x21ff8d=_0x32887b;_0x1cf6b0(_0x21ff8d),_0x267e9d({'textDirection':_0x21ff8d});}})]}),(0x0,r[_0x525d57(0x18b)])(_0x525d57(0x553),{'className':_0x525d57(0x1e2),'children':[(0x0,r[_0x525d57(0x631)])(_0x525d57(0x3b4),{'className':_0x525d57(0x3d4),'children':_0x3b6ff7['t'](_0x525d57(0x38a))}),(0x0,r[_0x525d57(0x631)])(e['Select'],{'className':'univer-w-32','disabled':_0x567a47,'value':_0xf24489,'options':_0x569c25,'onChange':_0x33dc38=>{let _0xf4014a=_0x33dc38;_0x3446c5(_0xf4014a),_0x267e9d({'autoFitType':_0xf4014a});}})]}),(0x0,r[_0x525d57(0x631)])(e[_0x525d57(0x62d)],{'disabled':_0x567a47,'checked':_0x5b5472===S[_0x525d57(0x444)][_0x525d57(0x592)],'onChange':_0x3a6966=>{const _0x50ee83=_0x525d57;let _0xa5dccd=_0x3a6966?S[_0x50ee83(0x444)][_0x50ee83(0x592)]:S[_0x50ee83(0x444)][_0x50ee83(0x458)];_0x359025(_0xa5dccd),_0x267e9d({'textWrap':_0xa5dccd});},'children':(0x0,r[_0x525d57(0x631)])('span',{'className':_0x525d57(0x677),'children':_0x3b6ff7['t'](_0x525d57(0x58b))})}),(0x0,r['jsxs'])('section',{'className':'univer-grid\x20univer-gap-2','children':[(0x0,r['jsx'])(_0x525d57(0x1fc),{'className':_0x525d57(0x7c7),'children':_0x3b6ff7['t'](_0x525d57(0x4f2))}),(0x0,r[_0x525d57(0x631)])(_0x525d57(0x610),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','children':[_0x525d57(0x266),_0x525d57(0x764),_0x525d57(0x337),_0x525d57(0x369)][_0x525d57(0x5a7)](_0xa84f87=>(0x0,r[_0x525d57(0x18b)])(_0x525d57(0x553),{'children':[(0x0,r[_0x525d57(0x631)])(_0x525d57(0x3b4),{'className':'univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x3b6ff7['t']('shape-editor-ui.textBox.padding'+_0xa84f87[0x0][_0x525d57(0x3cf)]()+_0xa84f87[_0x525d57(0x172)](0x1))}),(0x0,r[_0x525d57(0x631)])(e[_0x525d57(0x2e9)],{'disabled':_0x567a47,'min':0x0,'precision':0x1,'value':_0x5397c7[_0xa84f87],'onChange':_0x559d6b=>{const _0x2d1557=_0x525d57;_0x559d6b!=null&&_0x26e4a2({..._0x5397c7,[_0xa84f87]:Math[_0x2d1557(0x141)](0x0,_0x559d6b)});}})]},_0xa84f87))})]}),(0x0,r[_0x525d57(0x18b)])(_0x525d57(0xc2),{'className':_0x525d57(0x65a),'children':[(0x0,r[_0x525d57(0x631)])('header',{'className':_0x525d57(0x7c7),'children':_0x3b6ff7['t'](_0x525d57(0x5e0))}),(0x0,r[_0x525d57(0x18b)])(_0x525d57(0x610),{'className':_0x525d57(0xeb),'children':[(0x0,r[_0x525d57(0x18b)])(_0x525d57(0x553),{'children':[(0x0,r[_0x525d57(0x631)])('span',{'className':_0x525d57(0x508),'children':_0x3b6ff7['t'](_0x525d57(0x137))}),(0x0,r[_0x525d57(0x631)])(e[_0x525d57(0x2e9)],{'disabled':_0x567a47,'min':0x1,'precision':0x0,'value':_0x3ff477[_0x525d57(0x4fe)],'onChange':_0x1d8409=>{const _0xc83bd6=_0x525d57;_0x1d8409!=null&&_0xa118ec({..._0x3ff477,'count':Math['max'](0x1,Math[_0xc83bd6(0x767)](_0x1d8409))});}})]}),(0x0,r['jsxs'])('label',{'children':[(0x0,r[_0x525d57(0x631)])('span',{'className':_0x525d57(0x508),'children':_0x3b6ff7['t'](_0x525d57(0x418))}),(0x0,r[_0x525d57(0x631)])(e[_0x525d57(0x2e9)],{'disabled':_0x567a47,'min':0x0,'precision':0x1,'value':_0x3ff477['spacing'],'onChange':_0x24036c=>{const _0x14279a=_0x525d57;_0x24036c!=null&&_0xa118ec({..._0x3ff477,'spacing':Math[_0x14279a(0x141)](0x0,_0x24036c)});}})]})]})]})]});}function an(_0x46e48e){const _0x7ba72d=_0x2d565c;let {shapeData:_0xae1fd7,shapeId:_0x5427bb,shapeType:_0x5f5b20,disableShapeOption:_0x10d54e,positionEditor:_0x23f2a2,onUpdateShapeData:_0x4bb19a,onUpdateLineShapeData:_0x500a28,onUpdateShapeFillImage:_0xe18284}=_0x46e48e,_0x155f4a=(0x0,s[_0x7ba72d(0x2b3)])(o['LocaleService']),_0x760d2a=(0x0,S[_0x7ba72d(0x3c4)])(_0x5f5b20),[_0x5299a1,_0x1b37ea]=(0x0,n['useState'])(0x0),_0x462849=[{'label':(0x0,r['jsx'])(_0x7ba72d(0x610),{'children':_0x155f4a['t']('shape-editor-ui.fill.title')}),'children':(0x0,r['jsx'])(_0x7ba72d(0xc2),{'className':_0x7ba72d(0x45a),'children':(0x0,r[_0x7ba72d(0x631)])(Yt,{'shapeId':_0x5427bb,'shapeData':_0xae1fd7,'isLineShape':_0x760d2a,'disableShapeOption':_0x10d54e,'onUpdateShapeData':_0x4bb19a,'onUpdateShapeFillImage':_0xe18284})})},{'label':(0x0,r[_0x7ba72d(0x631)])(_0x7ba72d(0x610),{'children':_0x155f4a['t'](_0x7ba72d(0x317))}),'children':(0x0,r['jsx'])(_0x7ba72d(0xc2),{'className':_0x7ba72d(0x45a),'children':(0x0,r['jsx'])($t,{'shapeId':_0x5427bb,'shapeData':_0xae1fd7,'isLineShape':_0x760d2a,'disableShapeOption':_0x10d54e,'onUpdateShapeData':_0x4bb19a,'onUpdateLineShapeData':_0x500a28})})},{'label':(0x0,r[_0x7ba72d(0x631)])(_0x7ba72d(0x610),{'children':_0x155f4a['t'](_0x7ba72d(0x6ef))}),'children':(0x0,r['jsx'])(_0x7ba72d(0xc2),{'className':_0x7ba72d(0x45a),'children':(0x0,r[_0x7ba72d(0x631)])(rn,{'shapeId':_0x5427bb,'shapeData':_0xae1fd7,'disableShapeOption':_0x10d54e,'onUpdateShapeData':_0x4bb19a,'onUpdateLineShapeData':_0x500a28})})}];return(0x0,r[_0x7ba72d(0x18b)])(_0x7ba72d(0x610),{'className':'univer-size-full','children':[(0x0,r[_0x7ba72d(0x18b)])(_0x7ba72d(0x610),{'className':_0x7ba72d(0x14d),'children':[(0x0,r[_0x7ba72d(0x18b)])(_0x7ba72d(0x610),{'className':(0x0,e[_0x7ba72d(0x724)])(_0x7ba72d(0x5c3),_0x5299a1===0x0?_0x7ba72d(0x289):_0x7ba72d(0x55d)),'onClick':()=>_0x1b37ea(0x0),'children':[_0x155f4a['t'](_0x7ba72d(0x149)),(0x0,r[_0x7ba72d(0x631)])(_0x7ba72d(0x610),{'className':(0x0,e['clsx'])(_0x7ba72d(0x10a),{'univer-bg-primary-600':_0x5299a1===0x0,'univer-bg-transparent':_0x5299a1!==0x0})})]}),(0x0,r['jsxs'])(_0x7ba72d(0x610),{'className':(0x0,e['clsx'])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',{'univer-text-primary-600':_0x5299a1===0x1,'univer-text-gray-500':_0x5299a1!==0x1}),'onClick':()=>_0x1b37ea(0x1),'children':[_0x155f4a['t']('shape-editor-ui.shapePosition'),(0x0,r['jsx'])(_0x7ba72d(0x610),{'className':(0x0,e[_0x7ba72d(0x724)])(_0x7ba72d(0xf8),{'univer-bg-primary-600':_0x5299a1===0x1,'univer-bg-transparent':_0x5299a1!==0x1})})]})]}),(0x0,r[_0x7ba72d(0x631)])(_0x7ba72d(0x610),{'className':_0x7ba72d(0x4d0),'children':_0x5299a1===0x0?(0x0,r[_0x7ba72d(0x631)])(e['Accordion'],{'items':_0x462849}):_0x23f2a2})]});}function on(_0x333c0b,_0x467084){const _0x1cca1d=_0x2d565c;typeof(_0x333c0b==null?void 0x0:_0x333c0b['fs'])==_0x1cca1d(0x2bd)&&Number['isFinite'](_0x333c0b['fs'])&&(_0x333c0b['fs']*=_0x467084);}function sn(_0x33d5ed,_0x40c78b){const _0x13e851=_0x2d565c;if(!_0x40c78b)return;let _0x26d6bd=_0x40c78b[_0x13e851(0x530)]===S[_0x13e851(0x571)]['NormAutoFit']&&typeof _0x40c78b[_0x13e851(0x69f)]==_0x13e851(0x2bd)&&Number['isFinite'](_0x40c78b['fontScale'])&&_0x40c78b['fontScale']>0x0?_0x40c78b[_0x13e851(0x69f)]/0x186a0:0x1;if(_0x26d6bd!==0x1){var _0x33b0d5,_0x489e5e,_0x3d9372,_0x7c0a23;_0x33d5ed[_0x13e851(0x53d)]&&(_0x33d5ed[_0x13e851(0x53d)]={..._0x33d5ed[_0x13e851(0x53d)],'textStyle':wn(_0x33d5ed[_0x13e851(0x53d)]['textStyle'])}),(_0x33b0d5=_0x33d5ed[_0x13e851(0x2c5)])!=null&&_0x33b0d5[_0x13e851(0x719)]&&(_0x33d5ed[_0x13e851(0x2c5)][_0x13e851(0x719)]=_0x33d5ed[_0x13e851(0x2c5)][_0x13e851(0x719)][_0x13e851(0x5a7)](_0x214008=>({..._0x214008,'ts':wn(_0x214008['ts'])}))),on((_0x489e5e=_0x33d5ed['documentStyle'])==null?void 0x0:_0x489e5e['textStyle'],_0x26d6bd),(_0x3d9372=_0x33d5ed[_0x13e851(0x2c5)])==null||(_0x3d9372=_0x3d9372[_0x13e851(0x719)])==null||_0x3d9372[_0x13e851(0x29b)](_0x46a2f2=>on(_0x46a2f2['ts'],_0x26d6bd)),(_0x7c0a23=_0x33d5ed[_0x13e851(0x2c5)])==null||(_0x7c0a23=_0x7c0a23[_0x13e851(0x2ae)])==null||_0x7c0a23[_0x13e851(0x29b)](_0x4033cd=>{const _0x784c34=_0x13e851;var _0x8afb29;on((_0x8afb29=_0x4033cd[_0x784c34(0x653)])==null?void 0x0:_0x8afb29['textStyle'],_0x26d6bd);});}let _0x1d0e82=_0x40c78b['autoFitType']===S[_0x13e851(0x571)][_0x13e851(0x632)]&&typeof _0x40c78b[_0x13e851(0x1b4)]==_0x13e851(0x2bd)&&Number['isFinite'](_0x40c78b[_0x13e851(0x1b4)])&&_0x40c78b[_0x13e851(0x1b4)]<0x186a0?Math[_0x13e851(0x141)](0x0,_0x40c78b['lineSpaceReduction'])/0x186a0:0x0;if(_0x1d0e82>0x0){var _0x4a0e68;(_0x4a0e68=_0x33d5ed['body'])==null||(_0x4a0e68=_0x4a0e68[_0x13e851(0x2ae)])==null||_0x4a0e68[_0x13e851(0x29b)](_0x182daa=>{const _0x2ce5a0=_0x13e851;var _0x497b13;_0x182daa['paragraphStyle']!=null||(_0x182daa[_0x2ce5a0(0x653)]={}),_0x182daa['paragraphStyle'][_0x2ce5a0(0x528)]=((_0x497b13=_0x182daa[_0x2ce5a0(0x653)][_0x2ce5a0(0x528)])==null?0x1:_0x497b13)*(0x1-_0x1d0e82);});}}function cn(_0x3fe382,_0x195261){const _0x1aae04=_0x2d565c;if((_0x195261==null?void 0x0:_0x195261[_0x1aae04(0x530)])!==S[_0x1aae04(0x571)][_0x1aae04(0x632)])return;let _0x14db0a=typeof _0x195261[_0x1aae04(0x69f)]==_0x1aae04(0x2bd)&&Number['isFinite'](_0x195261[_0x1aae04(0x69f)])&&_0x195261['fontScale']>0x0?_0x195261['fontScale']/0x186a0:0x1;if(_0x14db0a!==0x1){var _0x400d56,_0x41aaef,_0x2445d2;on((_0x400d56=_0x3fe382[_0x1aae04(0x53d)])==null?void 0x0:_0x400d56[_0x1aae04(0x294)],0x1/_0x14db0a),(_0x41aaef=_0x3fe382[_0x1aae04(0x2c5)])==null||(_0x41aaef=_0x41aaef['textRuns'])==null||_0x41aaef[_0x1aae04(0x29b)](_0x1c921d=>on(_0x1c921d['ts'],0x1/_0x14db0a)),(_0x2445d2=_0x3fe382['body'])==null||(_0x2445d2=_0x2445d2[_0x1aae04(0x2ae)])==null||_0x2445d2[_0x1aae04(0x29b)](_0x3175bd=>{const _0x36fad2=_0x1aae04;var _0x53efd5;on((_0x53efd5=_0x3175bd['paragraphStyle'])==null?void 0x0:_0x53efd5[_0x36fad2(0x294)],0x1/_0x14db0a);});}let _0x3cc332=0x1-(typeof _0x195261[_0x1aae04(0x1b4)]=='number'&&Number[_0x1aae04(0x49d)](_0x195261[_0x1aae04(0x1b4)])&&_0x195261[_0x1aae04(0x1b4)]<0x186a0?Math['max'](0x0,_0x195261['lineSpaceReduction'])/0x186a0:0x0);if(_0x3cc332>0x0&&_0x3cc332!==0x1){var _0x380ff9;(_0x380ff9=_0x3fe382[_0x1aae04(0x2c5)])==null||(_0x380ff9=_0x380ff9[_0x1aae04(0x2ae)])==null||_0x380ff9['forEach'](_0x4c3062=>{const _0x3aafb2=_0x1aae04;var _0x34f307;let _0x8a4120=(_0x34f307=_0x4c3062[_0x3aafb2(0x653)])==null?void 0x0:_0x34f307[_0x3aafb2(0x528)];typeof _0x8a4120==_0x3aafb2(0x2bd)&&Number['isFinite'](_0x8a4120)&&(_0x4c3062['paragraphStyle'][_0x3aafb2(0x528)]=_0x8a4120/_0x3cc332);});}}function ln(_0x22c8fb,_0xcfd2bd=_0x2d565c(0xda)){const _0xaceb40=_0x2d565c;var _0x50ce67;let _0x3dd074=((_0x50ce67=_0x22c8fb[_0xaceb40(0x78a)])==null?'':_0x50ce67)[_0xaceb40(0x3f8)](/\r\n/g,'\x0a')[_0xaceb40(0x3f8)](/\r/g,'\x0a')['split']('\x0a'),_0x426b6c=_0x3dd074[_0xaceb40(0x54a)]('\x0d')+'\x0d\x0a',_0x440156=Math[_0xaceb40(0x141)](0x0,_0x426b6c[_0xaceb40(0x435)]-0x2),_0x4c5c7b=new Set(),_0x17da5a=un(_0x22c8fb),_0x13a6a7=dn(_0x22c8fb),_0x42b5a7=fn(_0x22c8fb),_0x435956=0x0;return{'id':_0xcfd2bd,'body':{'dataStream':_0x426b6c,'paragraphs':_0x3dd074[_0xaceb40(0x5a7)](_0x2bf7cc=>{const _0x3596de=_0xaceb40;let _0x1ebfc1=_0x435956+_0x2bf7cc[_0x3596de(0x435)];return _0x435956+=_0x2bf7cc[_0x3596de(0x435)]+0x1,{'startIndex':_0x1ebfc1,'paragraphId':(0x0,o['createParagraphId'])(_0x4c5c7b),'paragraphStyle':{'horizontalAlign':_0x13a6a7,'textStyle':_0x17da5a}};}),'textRuns':[{'st':0x0,'ed':Math['max'](0x1,_0x440156),'ts':_0x17da5a}]},'documentStyle':{'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'marginTop':0x0,'textStyle':_0x17da5a,'renderConfig':{'horizontalAlign':_0x13a6a7,'verticalAlign':_0x42b5a7}}};}function un(_0x517516){const _0xf64f75=_0x2d565c;return{..._0x517516[_0xf64f75(0x32c)]?{'ff':_0x517516[_0xf64f75(0x32c)]}:{},..._0x517516['fontSize']===void 0x0?{}:{'fs':_0x517516['fontSize']},..._0x517516[_0xf64f75(0x7b7)]?{'cl':{'rgb':_0x517516[_0xf64f75(0x7b7)]}}:{},..._0x517516[_0xf64f75(0x5f6)]===void 0x0?{}:{'bl':_0x517516[_0xf64f75(0x5f6)]?o[_0xf64f75(0x283)][_0xf64f75(0x180)]:o[_0xf64f75(0x283)][_0xf64f75(0x566)]},..._0x517516[_0xf64f75(0x4af)]===void 0x0?{}:{'it':_0x517516['italic']?o[_0xf64f75(0x283)]['TRUE']:o['BooleanNumber']['FALSE']},..._0x517516[_0xf64f75(0x423)]===void 0x0?{}:{'ul':{'s':_0x517516[_0xf64f75(0x423)]?o['BooleanNumber'][_0xf64f75(0x180)]:o[_0xf64f75(0x283)][_0xf64f75(0x566)]}}};}function dn(_0x30b6a0){const _0x24709d=_0x2d565c;let _0x9e5145=_0x30b6a0['horizontalAlign'];return _0x9e5145===_0x24709d(0x6a6)?o[_0x24709d(0x766)]['CENTER']:_0x9e5145==='right'?o[_0x24709d(0x766)][_0x24709d(0x51f)]:o[_0x24709d(0x766)]['LEFT'];}function fn(_0x42553d){const _0x3ee096=_0x2d565c;let _0x264b30=_0x42553d[_0x3ee096(0x5a2)];return _0x264b30===_0x3ee096(0x548)?o['VerticalAlign'][_0x3ee096(0x38e)]:_0x264b30===_0x3ee096(0x369)?o[_0x3ee096(0x37f)][_0x3ee096(0x351)]:o[_0x3ee096(0x37f)][_0x3ee096(0x4f9)];}function pn(_0xfe3c8){const _0x2fda07=_0x2d565c;var _0x21e9c3;let _0x29b997=(_0x21e9c3=_0xfe3c8[_0x2fda07(0x2c5)])==null?void 0x0:_0x21e9c3[_0x2fda07(0x2ae)],_0x25ee73,_0x3ce5f3=!0x1;if(!_0x29b997)return{'hasParagraphAlign':_0x3ce5f3,'isMixed':!0x1};for(let _0x1d69a7 of _0x29b997){var _0x368504;let _0x4af4e6=(_0x368504=_0x1d69a7[_0x2fda07(0x653)])==null?void 0x0:_0x368504[_0x2fda07(0x31e)];if(_0x4af4e6!==void 0x0){if(!_0x3ce5f3){_0x25ee73=_0x4af4e6,_0x3ce5f3=!0x0;continue;}if(_0x25ee73!==_0x4af4e6)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x25ee73,'hasParagraphAlign':_0x3ce5f3,'isMixed':!0x1};}function mn(_0x40df3d,_0x92c280={}){const _0x230973=_0x2d565c;var _0x479e64,_0x182bee,_0x5e7379;let _0x13fb7b=(_0x479e64=_0x40df3d['documentStyle'])==null?void 0x0:_0x479e64['renderConfig'],_0x57e64c=pn(_0x40df3d);return{'horizontalAlign':_0x57e64c[_0x230973(0x49e)]?_0x57e64c[_0x230973(0x71c)]?void 0x0:_0x57e64c[_0x230973(0x31e)]:(_0x182bee=_0x13fb7b==null?void 0x0:_0x13fb7b['horizontalAlign'])==null?_0x92c280['horizontalAlign']:_0x182bee,'verticalAlign':(_0x5e7379=_0x13fb7b==null?void 0x0:_0x13fb7b['verticalAlign'])==null?_0x92c280['verticalAlign']:_0x5e7379};}function hn(_0x51c7d0,_0x51fb22){const _0x4ecc29=_0x2d565c;var _0x294f94;let _0x2a2b9c=(_0x294f94=_0x51c7d0[_0x4ecc29(0x53d)])==null?{}:_0x294f94,_0x4de645={..._0x2a2b9c[_0x4ecc29(0x5d4)]};if(_0x51fb22['verticalAlign']!==void 0x0&&(_0x4de645[_0x4ecc29(0x5a2)]=_0x51fb22['verticalAlign']),_0x51fb22[_0x4ecc29(0x31e)]!==void 0x0){var _0x1c146b;_0x4de645['horizontalAlign']=_0x51fb22['horizontalAlign'];let _0x215b83=(_0x1c146b=_0x51c7d0[_0x4ecc29(0x2c5)])==null?void 0x0:_0x1c146b['paragraphs'];if(_0x215b83){for(let _0x5e3327 of _0x215b83)_0x5e3327[_0x4ecc29(0x653)]={..._0x5e3327[_0x4ecc29(0x653)],'horizontalAlign':_0x51fb22[_0x4ecc29(0x31e)]};}}_0x51c7d0[_0x4ecc29(0x53d)]={..._0x2a2b9c,'renderConfig':Object[_0x4ecc29(0xc8)](_0x4de645)[_0x4ecc29(0x435)]>0x0?_0x4de645:void 0x0};}function gn(_0x344820){const _0x5dcd14=_0x2d565c;var _0x1fb577,_0x4c0bbe,_0x2837bd,_0x44f0bb;let _0x29dc28=(_0x1fb577=(_0x4c0bbe=_0x344820[_0x5dcd14(0x2c5)])==null||(_0x4c0bbe=_0x4c0bbe[_0x5dcd14(0x733)])==null?void 0x0:_0x4c0bbe[_0x5dcd14(0x435)])==null?0x0:_0x1fb577,_0x25e6f9=(_0x2837bd=_0x344820['body'])==null?void 0x0:_0x2837bd[_0x5dcd14(0x4ce)];if(_0x25e6f9!=null&&_0x25e6f9[_0x5dcd14(0x435)])for(let _0xb1f0c2 of _0x25e6f9){var _0x1c6bcd;_0xb1f0c2[_0x5dcd14(0x328)]=(_0x1c6bcd=_0xb1f0c2[_0x5dcd14(0x328)])==null?o[_0x5dcd14(0x1dc)][_0x5dcd14(0x56c)]:_0x1c6bcd;}else _0x344820[_0x5dcd14(0x2c5)]&&(_0x344820['body'][_0x5dcd14(0x4ce)]=[{'sectionId':(0x0,o['createSectionId'])(new Set()),'startIndex':Math[_0x5dcd14(0x141)](0x0,_0x29dc28-0x1),'gridType':o[_0x5dcd14(0x1dc)][_0x5dcd14(0x56c)]}]);let _0x186744=(_0x44f0bb=_0x344820[_0x5dcd14(0x2c5)])==null?void 0x0:_0x44f0bb[_0x5dcd14(0x2ae)];if(_0x186744)for(let _0x5cd818 of _0x186744){var _0x42e79e,_0x168439,_0x1c20ad,_0x581f17,_0x4a18dc,_0x17942c,_0xf926af,_0x44f2d2;_0x5cd818[_0x5dcd14(0x653)]={..._0x5cd818[_0x5dcd14(0x653)],'lineSpacing':(_0x42e79e=(_0x168439=_0x5cd818[_0x5dcd14(0x653)])==null?void 0x0:_0x168439[_0x5dcd14(0x528)])==null?0x1:_0x42e79e,'snapToGrid':(_0x1c20ad=(_0x581f17=_0x5cd818['paragraphStyle'])==null?void 0x0:_0x581f17[_0x5dcd14(0x797)])==null?o['BooleanNumber'][_0x5dcd14(0x566)]:_0x1c20ad,'spaceAbove':(_0x4a18dc=(_0x17942c=_0x5cd818[_0x5dcd14(0x653)])==null?void 0x0:_0x17942c[_0x5dcd14(0x425)])==null?{'v':0x0}:_0x4a18dc,'spaceBelow':(_0xf926af=(_0x44f2d2=_0x5cd818['paragraphStyle'])==null?void 0x0:_0x44f2d2['spaceBelow'])==null?{'v':0x0}:_0xf926af};}}function _n(_0x4cc9f5,_0x54cb09,_0x2d187=new Set()){const _0x10c812=_0x2d565c;var _0x16408e;let _0x4ada5c=(_0x16408e=_0x4cc9f5[_0x10c812(0x2c5)])==null?void 0x0:_0x16408e[_0x10c812(0x4ce)];if(!(!(_0x4ada5c!=null&&_0x4ada5c['length'])||!_0x54cb09))for(let _0x4141db of _0x4ada5c){let _0x215c92={..._0x54cb09,..._0x4141db['renderConfig']},_0x111f12=_0x54cb09;for(let _0x39f008 of _0x2d187)Object[_0x10c812(0x3a3)]['hasOwnProperty'][_0x10c812(0x6a0)](_0x111f12,_0x39f008)&&(_0x215c92[_0x39f008]=_0x111f12[_0x39f008]);_0x4141db['renderConfig']={..._0x215c92};}}function vn(_0x44cbb1){const _0x3dad42=_0x2d565c;var _0x337e95;let _0x2e0f67=(_0x337e95=_0x44cbb1[_0x3dad42(0x2c5)])==null?void 0x0:_0x337e95[_0x3dad42(0x4ce)];if(_0x2e0f67!=null&&_0x2e0f67[_0x3dad42(0x435)])for(let _0x5b68d8 of _0x2e0f67){if(!_0x5b68d8[_0x3dad42(0x5d4)])continue;let _0x411c28={..._0x5b68d8[_0x3dad42(0x5d4)]};delete _0x411c28[_0x3dad42(0x699)],delete _0x411c28[_0x3dad42(0x457)],delete _0x411c28[_0x3dad42(0x1ed)],delete _0x411c28[_0x3dad42(0x31e)],delete _0x411c28[_0x3dad42(0x5a2)],delete _0x411c28['shapeTextOpticalVerticalAlign'],_0x5b68d8[_0x3dad42(0x5d4)]=Object[_0x3dad42(0xc8)](_0x411c28)[_0x3dad42(0x435)]>0x0?_0x411c28:void 0x0;}}function yn(_0x160371){const _0x3765af=_0x2d565c;var _0x1f8651;let _0x207242=_0x160371[_0x3765af(0x2c5)],_0x33a466=_0x207242==null?void 0x0:_0x207242['paragraphs'],_0x2d7e15=_0x207242==null?void 0x0:_0x207242[_0x3765af(0x733)];if(!_0x207242||!_0x2d7e15)return;let _0x35abc0=[];for(let _0x1b1e72=0x0;_0x1b1e72<_0x2d7e15[_0x3765af(0x435)];_0x1b1e72++)_0x2d7e15[_0x1b1e72]==='\x0d'&&_0x35abc0[_0x3765af(0x40b)](_0x1b1e72);if(!_0x35abc0[_0x3765af(0x435)])return;let _0x23653f=new Set((_0x1f8651=_0x33a466==null?void 0x0:_0x33a466[_0x3765af(0x5a7)](_0x8076d2=>_0x8076d2[_0x3765af(0x259)])[_0x3765af(0x1fe)](Boolean))==null?[]:_0x1f8651),_0x563242=new Set(),_0x2e2192=_0x35abc0['map'](_0x1fb8db=>{const _0x4f1281=_0x3765af;var _0xbc4a72;let _0x26a8af=(_0xbc4a72=_0x33a466==null?void 0x0:_0x33a466[_0x4f1281(0x407)]((_0x3f23e4,_0x2c95b0)=>!_0x563242['has'](_0x2c95b0)&&_0x3f23e4[_0x4f1281(0x4d9)]===_0x1fb8db))==null?-0x1:_0xbc4a72;if(!(_0x26a8af<0x0))return _0x563242[_0x4f1281(0xb9)](_0x26a8af),_0x33a466==null?void 0x0:_0x33a466[_0x26a8af];}),_0x312e89=0x0;_0x207242['paragraphs']=_0x2e2192[_0x3765af(0x5a7)]((_0x1cba21,_0x68bc56)=>{const _0x240bb3=_0x3765af;var _0x317012,_0x3d7e0a;let _0x20c2fd=_0x1cba21;for(;!_0x20c2fd&&_0x312e89<((_0x317012=_0x33a466==null?void 0x0:_0x33a466[_0x240bb3(0x435)])==null?0x0:_0x317012);){let _0x25590e=_0x312e89++;_0x563242['has'](_0x25590e)||(_0x563242['add'](_0x25590e),_0x20c2fd=_0x33a466==null?void 0x0:_0x33a466[_0x25590e]);}return{..._0x20c2fd,'startIndex':_0x35abc0[_0x68bc56],'paragraphId':(_0x3d7e0a=_0x20c2fd==null?void 0x0:_0x20c2fd[_0x240bb3(0x259)])==null?(0x0,o['createParagraphId'])(_0x23653f):_0x3d7e0a};});}function _0x4abb(){const _0x19d84a=['viewportHeight','RightBrace','#,##0.00_);#,##0.00','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','ShapeBorderCallout2Icon','ctr','enabled','imageFillMode','FormulaShapeAnimationController','includes','AlignBottomIcon','ShapeQuadArrowIcon','Snip2SameRect','solid','formulaBinding','onUpdateBinding','dot','univer-text-sm','shape.type.curved-up-arrow','TABLE','univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','shape-editor-ui.line.arrowType.diamondArrow','updateHostHeight','AlignLeftCommand','shape.type.star5','documentMarginTop','MoreDownIcon','other','SquareTabs','verticalOffset','selection','univer-block\x20univer-w-full','useFormulaShapeToolbar','dash','shape.type.callout1','Star10','univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col\x20univer-pt-4','disposeUnit','shape.type.left-right-arrow','_initSelectionChange','Cube','ShapeActionButtonDocumentIcon','UniverInstanceType','SetInlineFormatTextBackgroundColorCommand','RichTextEditingMutation','FOCUSING_PANEL_EDITOR','desc','DEFAULT_TEXT_FORMAT_EXCEL','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','abd','#,##0_);(#,##0)','(1,235)','docs-quote.command.insert','ShapeRightArrowIcon','univer-hidden','yyyy/MM/dd','\x22#,##0.00_);[Red]\x22','numberFormat','8月5日','ShapeFillEnum','endIndex','H3Icon','deepCompare','shape.type.rect','resolveFormulaShapeAutoFitSize','univer-rounded-lg\x20univer-p-3\x20!univer-shadow-none','gradientStops','shape-editor-ui.line.transparency','setSelection','executeCommand','change','shape-editor-ui.textBox.title','string','selectionScaled$','pageMarginLeft','updateDocumentDataMargin','Inject','Vert','\x22#,##0.00_);(\x22','LEFT','shape.type.star10','ShapeFloatingToolbarIcon','relatedTarget','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeMathDivideIcon','univer-text-base','footerLeading','drawFormulaShapeAnimationLayers','ShapeArcIcon','getEditingContentStyle','CircularArrow','radial','shape-editor-ui.formulaBinding.formats.date','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mt-2\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','focusUnit','startOffset','shape-editor-ui.formulaShape.editFormula','Callout','AlignCenterCommand','9KNPJjV','UnorderIcon','shape.type.rt-triangle','current','CloudCallout','stroke','clientX','shape-editor-ui.toolbar.bold','ShapeRectTextboxHorizontalIcon','editorSurfaceWidth','1390xWjXUO','ShapeLeftCircularArrowIcon','ShapeHomePlateIcon','shape.type.flow-chart-delay','textRuns','_bindFormulaSelectionControls','pattern','isMixed','getAncestorScale','shape.type.bent-connector3','ShapeTrapezoidIcon','1930年08月05日','DiagStripe','onSelectionStart$','DownArrowCallout','clsx','shape-editor-ui.fill.noFill','ShapeStar7Icon','_visibleReferenceIndexes','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-w-full\x20univer-rounded\x20univer-border-none\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-left\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_makeDirty','blockArrow','univer-flex\x20univer-items-center\x20univer-justify-between','ESC','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','Plus','UNIVER_BASE','Chord','onClick','startsWith','dataStream','shape-editor-ui.line.sketchType.curved','ItalicIcon','scrollbarClassName','ShapeFlowChartOrIcon','shape-editor-ui.line.sketchType.handDrawn','Plaque','univer-bg-transparent','UniverLicensePlugin','_isDraggingFormulaSelection','shape.type.action-button-back-previous','KeyCode','FlowchartProcess','shape-editor-ui.textEditor.paragraphType.quote','ascent','ShapeStrokePanelButton','shape.type.cloud','shape.type.callout3','LeftRightRibbon','textRect','shape.type.star12','SetInlineFormatUnderlineCommand','univer-gap-4','viewportScrollY','startNodePosition','normalizeShapeTextModel','UpDownArrow','LeftArrowCallout','shape-editor-ui.formulaBinding.unresolvedReference','shape-editor-ui.fill.picture.align.l','columnProperties','ShapeMathMinusIcon','listUnits','univer-h-6\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','下午01:30','ShapeIcon','patch','renderedContentWidth','ShapeMathEqualIcon','shape.type.flow-chart-collate','shape.type.straight-connector2','aba','shape-editor-ui.formulaBinding.formats.currency','getShapeData','FlowchartDocument','resolve','shape.type.math-plus','shape-editor-ui.line.arrowType.none','Line','right','shape.type.snip1-rect','HorizontalAlign','round','_progress','ShapeCurvedDownArrowIcon','EllipseRibbon2','HEADING_1','title','resolveShapeTextNoWrapLayout','ShapeChevronIcon','start','#ffffff','rows','ShapeActionButtonMovieIcon','IBasePermissionService','ShapeStar24Icon','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','buttons','shape-editor-ui.textBox.autoFitNone','requestAnimationFrame','match','shape-editor-ui.line.arrowSize.small','currency','fillType','RedoCommand','imageTile','zeroWidthParagraphBreak','shape-editor-ui.toolbar.hideMenu','shape-editor-ui.formulaBinding.formatTypes','univer-w-52\x20univer-shrink-0\x20univer-overflow-y-auto\x20univer-border-r\x20univer-border-gray-200\x20univer-pr-3','ResetInlineFormatTextBackgroundColorCommand','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm','externalReference','shape.type.chart-x','DocSelectionManagerService','token','univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-overflow-hidden','text','ShapeSnip2SameRectIcon','MathDivide','shape.type.bevel','shape.type.corner-tabs','placeholderWidth','ShapeFloatingToolbarFontSizeSelect','getActiveTextRange','ActionButtonReturn','shape.type.star16','ShapeChordIcon','ShapePickerDropdown','angle','snapToGrid','shape-editor-ui.fill.picture.align.tr','isPrimary','default','resolveShapeTextEditorTextRect','shape-stroke-dash-dropdown','shape.type.flow-chart-sort','_listLoadedUnits','leftTop','shape-editor-ui.deleteShape','ShapeStar6Icon','_injector','resolveShapeTextDocumentRenderLayout','Button','1,235','deferHostSizeUpdateDuringEditing','shape.type.accent-callout3','shape.type.chord','univer-min-w-[240px]','univer-w-auto','shape-editor-ui.fill.picture.offsetY','starAndBanner','Angular','backwardLabel','48303Ektsvm','setFieldPermission','getState','FlowchartPredefinedProcess','getSnapshot','ShapeBentConnector3Arrow2Icon','shape.type.flow-chart-summing-junction','onMore','color','ShapeUpArrowCalloutIcon','shape.type.right-arrow-callout','shape.type.flow-chart-magnetic-drum','1.0.0-alpha.8','getObject','getLocales','angular','shape-editor-ui.textWrap.inline','shape-editor-ui.line.dashType.dash','shape.type.flow-chart-document','Octagon','crossAxisLength','end','BentUpArrow','shapeTextOpticalVerticalAlign','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.dashType.longDash','loadSnapshot','RoundRect','IUndoRedoService','shape-editor-ui.line.capType.square','date','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','blur','add','univer-ml-auto\x20univer-whitespace-nowrap\x20univer-text-xs\x20univer-leading-none\x20univer-text-gray-400\x20rtl:univer-ml-0\x20rtl:univer-mr-auto\x20dark:!univer-text-gray-500','main','FormulaBindingNumberFormatDialog','sheetName','rowStartY','refSelections','Input','ShapeLeftRightArrowCalloutIcon','section','shape.type.trapezoid','getColorFromTheme','engine','StrikethroughIcon','plainTextColor','keys','BACKSPACE','!univer-p-1','globalAlpha','ShapeFlowChartExtractIcon','ShapeRightBraceIcon','activateTable','ShapeEllipseRibbon2Icon','version','HomePlate','univer-w-20','LeftRightArrowCallout','worksheet','input','ShapeActionButtonInformationIcon','shape-editor-ui.line.sketchType.none','onBackward','shape-editor-ui.formulaBinding.formats.more','shape-text-document','target','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.formulaBinding.generalDescription','LeftRightArrow','opticalVerticalOffset','onSelect','onChange','shape-editor-ui.formulaBinding.preview','editorWidth','shape.type.snip2-diag-rect','LocaleService','shape.type.irregular-seal1','callout','getFormatInfo','univer-pointer-events-none\x20univer-absolute\x20univer-select-none\x20univer-whitespace-nowrap\x20univer-text-gray-400','shape.type.border-callout1','univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','Dialog','ShapeArrowTypeEnum','flowchart','formula-shape','_createUniver','ShapeLeftBracketIcon','sketchType','Freehand','shape-editor-ui.formulaBinding.currencyDescription','ShapeHeartIcon','shapeId','getSelectionControls','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','ChartPlus','ShapeFlowChartInternalStorageIcon','useObservable','shape.type.down-arrow','fill','currencySymbol','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-6\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-800\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','Select','children','shape.type.accent-border-callout3','Hexagon','blue.700','BlockArc','WrapStrategy','univer-rounded\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:hover:!univer-bg-gray-700','#9ca3af','FlowchartInternalStorage','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','pressure','Textarea','closest','source','textLike','RightBracket','transparency','position','applyShapeTextAlignment','setFormulaBindingPatternDecimal','\x22#,##0','Parallelogram','ShapeLineEditor','__getInjector','LeftRightCircularArrow','getSkeletonData','onSavingEditorData$','true','root','open','PictureFill','REFERENCE','univer-w-[280px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-1.5\x20univer-shadow-lg\x20dark:!univer-bg-gray-800','activeReferenceIndex','resolveShapeTextDocumentPageHeight','visibleReferenceIndexes','_iconManager','univer-absolute\x20univer-top-full\x20univer-z-10\x20univer-mt-1\x20univer-w-72\x20univer-rounded\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg','isValidThemeColor','ShapeStar16Icon','univer-size-2\x20-univer-rotate-90','Round1Rect','ShapeCallout1Icon','_getEditingContext','percentage','getTextRanges','cancelRequestFrame','QuadArrowCallout','primary.600','strokeOpacity','Cloud','colStartX','ShapeCurvedConnector3Icon','ShapeActionButtonBeginningIcon','shape-editor-ui.textBox.columnCount','shape-editor-ui.align.bottom','shape-editor-ui.line.noLine','\x22#,##0.00_);-\x22','SmileyFace','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','mainComponent','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape.type.flow-chart-preparation','MathMultiply','max','shape.type.arc','SetInlineFormatSubscriptCommand','frontLabel','activeAnObject','shape.type.flow-chart-magnetic-disk','LexerTreeBuilder','shape.type.cloud-callout','shape-editor-ui.shapeStyle','yyyy-mm-dd;@','#,##0.00_);[Red]-#,##0.00','shape.type.pentagon','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','column','SetInlineFormatBoldCommand','top-center','syncExecuteCommand','getUnit','shape.type.action-button-home','scrollLeft','memo','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-xl\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','OrderListCommand','UniverUIPlugin','#,##0.00_);-#,##0.00','status','Diamond','Plugin','currentTarget','ShapeCurvedConnector3Arrow2Icon','AccentCallout3','ShapePieWedgeIcon','shape.type.brace-pair','IBaseCanvasRootResolverService','getActiveSheet','merge','ShapeFlowChartProcessIcon','univer-inline-flex','trim','_host','FlowchartPunchedTape','ShapeNotchedRightArrowIcon','shape.type.funnel','shape.type.heptagon','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','removeEventListener','shape.type.flow-chart-decision','sequenceNodesBuilder','addEventListener','slice','close','editorHeight','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-1\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','univer-font-medium','shape-editor-ui.textEditor.paragraphType.bulletList','univer-pt-2','_frameId','shape-editor-ui.line.endArrowSize','image/*','line','_generation','numfmt','isTextBox','TRUE','ShapeFlowChartDelayIcon','transparent','_localeService','OVERRIDE_NATIVE','bodyBehavior','shape.type.frame','allowHostSizeShrink','shape.type.block-arc','shape.type.action-button-help','actualWidth','jsxs','dataModel','NamedStyleType','presentation','univer-w-[244px]','paddingEnd','viewportScrollX','shape-editor-ui.line.width','DocSelectionRenderService','toString','shape.type.ribbon','ShapeLineTypeEnum','getTransformerByCreate','now','shape.type.quad-arrow','shape.type.wave','getRenderUnitById','_current','ShapeEllipseRibbonIcon','shape.type.ellipse-ribbon','ShapeAccentBorderCallout3Icon','_pointerListener','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','_activeBase','roundingCurrency','shape-editor-ui.align.middle','widthBuffer','useEffect','fontSize','NotchedRightArrow','shape-editor-ui.fill.color','shape.type.sun','FlowchartOffPageConnector','getContextValue','12osIgtg','univer-flex\x20univer-h-4\x20univer-w-12\x20-univer-translate-y-1\x20univer-items-center\x20univer-justify-center\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-opacity-50\x20univer-transition\x20univer-duration-150\x20hover:univer-text-gray-700\x20hover:univer-opacity-100\x20focus-visible:univer-opacity-100\x20dark:!univer-text-gray-300','resolveFormulaBindingNumberFormatType','shape.type.curved-connector3-arrow1','setTablePermission','custom','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','lineSpaceReduction','_refreshFormulaSelections','shape.type.straight-connector1','MathMinus','ShapeMathPlusIcon','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','deepClone','shape-editor-ui.toolbar.underline','Heart','ShapeSnipRoundRectIcon','stops','_cancelFrame','_formulaContext','resetInitialWidth','ShapeFlowChartSummingJunctionIcon','univer-flex\x20univer-items-center\x20univer-gap-3','shouldAllowShapeTextEditorHostSizeShrink','Triangle','resolveBinding','rgba(0,\x200,\x200,\x200)','shape-editor-ui.formulaBinding.panelTitle','SHAPE_EDITOR_UI_PLUGIN','shape-editor-ui.formulaBinding.formats.','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','shape.type.right-brace','pointercancel','Radio','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','shape-editor-ui.fill.gradientFill','Switch','shape.type.round-rect','Pie','univer-flex\x20univer-gap-4','univer-w-28','univer-text-sm\x20univer-text-red-600','canva','shape-editor-ui.toolbar.typography','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','Small','getCurrentLocale','GridType','[data-u-comp=\x22shape-text-editor-content\x22]','themeColor','univer-flex\x20univer-flex-col\x20univer-gap-1.5','group\x20univer-relative\x20univer-inline-block','direction$','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','pageHeight','shouldClipShapeTextDocument','StraightConnector1','getFormulaBindingCurrencyFormatOptions','shape-editor-ui.formulaShape.animation','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','FlowchartManualInput','shape-editor-ui.fill.picture.offsetX','updateHostSize','requestNewFrame','wrapStrategy','some','CodeIcon','getDirection','find','isStrike','shape-editor-ui.formulaBinding.numberFormat','rangeWithCoord','recordId','useMemo','SetInlineFormatTextFillCommand','red','FlowchartConnector','grid','BaselineOffset','header','UniverCollaborationClientPlugin','filter','Dropdown','domX','Callout1','shape-editor-ui.formulaBinding.formats.thousandSeparator','opacity','UniverShapeEditorUIPlugin','imageRotateWithShape','JUSTIFIED','unsubscribe','diamond','shape.type.flow-chart-connector','Teardrop','ALT','shape.type.chevron','4576890RbIlPB','Tooltip','pageMarginTop','ShapeAccentCallout1Icon','focus','separator-','shape.type.left-circular-arrow','ShapeFlowChartPunchedCardIcon','shape-editor-ui.fill.title','isShapeTextEditorDocumentEmpty','doc','lineStrokeType','ShapeSwooshArrowIcon','2691596ghFyJG','IImageIoService','pointerdown','BorderCallout2','symbol','tableId','ShapeFrameIcon','univer-h-5\x20univer-w-12','ShapeRightArrowCalloutIcon','ShapeSquareTabsIcon','setCurrentUnitForType','shape.type.star24','selectionMoving$','1\x203','selectionStart','univer-mb-2','ShapeStar12Icon','dashType','shape.type.curved-connector3-arrow2','capType','H2Icon','maxDecimals','univer-flex-1','ShapeRound2SameRectIcon','ShapeFlowChartOfflineStorageIcon','tables','shape-editor-ui.textEditor.paragraphType.code','startArrow','UNIVER_SHEET','setSkipLastEnabled','isShapeTextOpticalVerticalAlignEnabled','ShapeNoSmokingIcon','shape-text-editor-position-wrapper','setRecordPermission','#8B5CF6','textRanges','function','formulaUnitProvider','ActionButtonBlank','getObjectIncludeInGroup','indexOf','self','shape-editor-ui.formulaBinding.cancel','selectionScaling$','H1Icon','UturnArrow','BorderCallout1','univer-shadow-none','shape-editor-ui.textBox.textDirectionHorizontal','shape.type.action-button-blank','_resource','NoAutoFit','ShapeParallelogramIcon','commit','getCurrentTheme','MM-dd\x20A/P\x20hh:mm','_activeWorkbook','ShapeBlockArcIcon','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','08-05','contains','lineJoinType','shape.type.gear6','paragraphId','shape-editor-ui.line.sketchType.freehand','4\x202\x201\x202','referenceSelections','shape.type.flow-chart-internal-storage','completeEditing','getDrawingShapeKeyByDrawingSearch','AuthzIoLocalService','imageOpacity','endOffset','\x0a\x20\x20\x20\x20\x20\x20univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1\x20univer-shadow-sm\x0a\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20','ShapeGear6Icon','IBaseUIStateService','left','CurvedUpArrow','Separator','Radial','shape.type.plus','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','HostExternalReferenceModel','ShapeFlowChartConnectorIcon','shape-editor-ui.toolbar.more','shape-editor-ui.line.cornerRadius','editorTop','ShapeFlowChartMagneticDrumIcon','marginBottom','shape.type.swoosh-arrow','_setBasePermissionsReadOnly','tableOrder','CornerTabs','ShapeLineIcon','ShapeSmileyFaceIcon','Can','GradientColorPicker','shape-editor-ui.line.dashType.dashDot','ShapeFolderCornerIcon','OpenArrow','getViewport','rgb','DoubleWave','gradientType','components','BooleanNumber','click','DisposableCollection','shape-editor-ui.line.color','ShapeCallout2Icon','StealthArrow','univer-text-primary-600','ShapeFlowChartMagneticDiskIcon','shape.type.flow-chart-offpage-connector','univer-pointer-events-none\x20univer-opacity-60','strokeWidth','IUniverInstanceService','RightTriangle','#111827','ShapeAccentBorderCallout1Icon','alert','active','textStyle','ShapeLineCapEnum','shape-editor-ui.toolbar.subscript','shape-editor-ui.toolbar.resetColor','shape-editor-ui.textBox.autoFitShrink','cell','shape.type.curved-down-arrow','forEach','createUnit','externalReferences','shape-editor-ui.line.capType.title','cancelEditing','get','OVERFLOW','ChartStar','accounting','ShapeFlowChartMultidocumentIcon','picture','ActionButtonSound','ShapeBorderCallout3Icon','#,##0.00;[Red]#,##0.00','DependentOn','ShapeFillEditor','unitId','_selectionDisposables','ShapeTeardropIcon','paragraphs','shape.type.flow-chart-input-output','shape.type.parallelogram','padding','univer-w-[280px]\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','useDependency','autoFitNoWrap','resolved','Star16','LightningBolt','ShapeFlowChartManualOperationIcon','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Tools','FormulaBindingUnitViewerService','univer-absolute','number','textSelectionInner$','UniverProFormulaEnginePlugin','Dodecagon','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','LeftCircularArrow','ShapeStar32Icon','\x22#,##0.00','body','ShapeFunnelIcon','univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-bg-white\x20univer-shadow-md\x20group-hover:univer-block\x20dark:!univer-bg-gray-800','MathNotEqual','isItalic','getAbsolutePosition','referenceIndex','ShapeIrregularSeal2Icon','packageName','min','shape-editor-ui.formulaBinding.numberDescription','UnderlineIcon','width','create','ShapeRectTextboxVerticalIcon','normalizeFormulaBindingFormula','aside','1930/08/05','parseFloat','shape-editor-ui.fill.picture.align.ctr','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x20dark:!univer-border-l-gray-600','univer-w-32','shape.type.irregular-seal2','hasCommand','auto','ShapeStar5Icon','getUnitId','updateShapeText','switchUnit','splitTableStructuredRef','UniverSheetsPlugin','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-min-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x0a\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1\x20univer-text-sm\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','generateRandomId','univer-text-gray-600\x20univer-transition-transform','formulaText','primary','InputNumber','entries','HEADING_2','0\x200\x2048\x2020','updateDocumentRenderConfig','leadingCharacterLength','getSelfOrHeaderFooterModel','_floatMenu','SelectList','shape.type.action-button-sound','shape-editor-ui.textEditor.paragraphType.checkList','NumberIcon','NoFill','mount','shape-editor-ui.formulaBinding.customFormatPlaceholder','shape-editor-ui.line.sketchType.title','_config','shape.type.moon','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','_docSelectionManagerService','refIndex','shape.type.vertical-scroll','shape.type.action-button-end','univer-flex\x20univer-flex-col\x20univer-gap-3','IEditorService','dsc','ShapeCloudCalloutIcon','onTransformChange$','_hideFloatMenu','ShapeLineDashEnum','ShapeBentConnector3Icon','shape-editor-ui.fill.picture.source','univer-min-w-0\x20univer-flex-1','univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-words\x20univer-rounded-md\x20univer-p-2\x20univer-font-mono\x20univer-text-base\x20univer-leading-6','ShapeDecagonIcon','setSelectionRange','shape.type.half-frame','isPatternEqualWithoutDecimal','resolveShapeTextBoxResizePolicy','activeTableId','useState','#,##0_);[Red](#,##0)','isHorizontal','catch','ShapeCurvedLeftArrowIcon','created$','shape-editor-ui.line.title','typography-horizontal-align-row','ShapeWedgeRoundRectCalloutIcon','Tile','_container','ShapePlusIcon','docStateChangeParams$','horizontalAlign','ShapeBackgroundColorDoubleIcon','shape-editor-ui.toolbar.textBackgroundColor','NoLine','ShapeCurvedRightArrowIcon','_observeBaseSelection','getFormulaBindingDecimalFromPattern','AlignTopIcon','shape-editor-ui.formulaBinding.negativeNumberType','#3B82F6','gridType','shape.type.action-button-forward-next','useRef','shape.type.math-multiply','fontFamily','more','RightArrow','defineProperty','ShapePlaqueIcon','#2563EB','ShapeHalfFrameIcon','ShapeFlowChartManualInputIcon','shape.type.math-divide','getColumnCount','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-rounded\x20univer-border\x20univer-border-gray-200','top','ShapeFloatingToolbarMenuPanel','values','ShapeGear9Icon','ShapeCubeIcon','shape-editor-ui.line.capType.flat','FlowchartCollate','ShapeLeftBraceIcon','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','offsetY','yyyy-MM-dd','clearUndoRedoHistory','LeftArrow','BentConnector3','ShapeDefaultConfig','SetInlineFormatSuperscriptCommand','ShapeLineJoinEnum','_themeService','StripedRightArrow','shape-editor-ui.line.dashType.squareDot','ShapeLeftUpArrowIcon','SolidFill','FoldedCorner','getSkeleton','commandId','stripShapeTextPlainMarker','BOTTOM','shape.type.line','univer-flex\x20univer-gap-2','viewId','Ribbon2','getBoundingClientRect','univer-ml-2\x20univer-truncate\x20univer-text-gray-500','univer-leading-none','SnipRoundRect','PlaqueTabs','group','nextWidth','UniverShapeEditorPlugin','shape.type.down-arrow-callout','Trapezoid','lineDashType','univer-mt-1\x20univer-text-sm\x20univer-font-medium','metaKey','shape-editor-ui.line.joinType.round','measurePageWidth','ShapeHeptagonIcon','ShapeFlowChartInputOutputIcon','_matchesUnitQualifier','commitOnEnter','bottom','SwooshArrow','Font\x20family','ActionButtonBeginning','Digit7','saveImage','_isApplyingBaseHighlight','_closeNow','FontColorDoubleIcon','shape.type.diamond','_context','clearActiveDrawingObjects','shape-editor-ui.textEditor.paragraphType.heading2','DocParagraphTypeDropdown','HalfFrame','attachPopupToRange','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','createSocket','Univer','rectangle','getDocRanges','VerticalAlign','shape-editor-ui.toolbar.alignRight','OrderIcon','updateFormulaContext','twist','ShapeSunIcon','vertical','PERIOD','lineCapType','shape.type.flow-chart-offline-storage','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','shape-editor-ui.textBox.autoFit','setTimeout','_docCanvasPopManagerService','editorLeft','MIDDLE','resolveShapeTextEditorFlowAxis','\x0a\x20\x20\x20\x20\x20\x20!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x0a\x20\x20\x20\x20\x20\x20!univer-bg-transparent\x20!univer-px-1.5\x0a\x20\x20\x20\x20','files','img','pointerType','HEADING_3','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-text-sm','decorate','0.00%','NonIsoscelesTrapezoid','ShapeRectIcon','Other','FlowchartExtract','then','FontFamilyDropdown','getCanvasElement','sequenceNodeType','gradient','preventDefault','univer-grid-cols-3','prototype','getTextModel','updateDocumentStyle','univer-w-[168px]','ShapeCanIcon','flowAxis','shape.type.pie','asc','equationShape','FlowchartPunchedCard','shouldAutoFitShapeTextEditorNoWrap','scene','shape.type.flow-chart-alternate-process','IBaseProjectionService','[data-u-comp=\x22rect-popup\x22]','univer-mt-4\x20univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col','ShapeSketchTypeEnum','span','LeftBrace','EquationShape','univer-max-h-[75vh]\x20univer-overflow-y-auto','ShapeUpArrowIcon','shape.type.callout2','ShapeLeftRightUpArrowIcon','ShapeWedgeRectCalloutIcon','sections','MathEqual','ShapeStraightConnector1Icon','onConfirm','_(\x22','univer-relative\x20univer-size-full\x20univer-overflow-visible','Stretch','textSelection$','isConnectorShape','save','shape-editor-ui.formulaBinding.currencySymbol','general','shape-editor-ui.formulaBinding.confirm','8iinlat','IAuthzIoService','TypographyIcon','shape-editor-ui.toolbar.italic','onClose','Bevel','toUpperCase','ActionButtonHome','shape-editor-ui.formulaBinding.formats.custom','FormulaReferenceType','getSelectionRanges','dark:!univer-text-gray-200','resolveShapeTextBodyBehavior','IrregularSeal1','univer-w-[260px]','Star6','alignment','resolveBaseGridSelectionRange','LineInv','shape-editor-ui.textEditor.paragraphType.normal','h:mm:ss','monospace','DiamondArrow','Solid','shape-editor-ui.line.dashType.longDashDot','OvalArrow','IRenderManagerService','univer-gap-3','shapeModel','qualifier','DEFAULT_STYLES','index','IConfigService','PaintBucketDoubleIcon','horizontalAnchor','ShapeChartStarIcon','univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','_previous','4\x202','ShapeIrregularSeal1Icon','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','shape-editor-ui.line.solidLine','FlowchartTerminator','addImageSourceCache','searchFormulaFunctions','financial','RightArrowCallout','replace','shape-floating-toolbar-collapsed','univer-size-full','Injector','test','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','shape.type.chart-star','shape.type.flow-chart-manual-input','#,##0.00_);[Red]#,##0.00','ShapeTextBoxEditor','viewportKeys','black','ShapeFlowChartDocumentIcon','cancel','ShapeUpDownArrowIcon','findIndex','FlowchartDelay','clientY','linear','push','isArray','scaleX','ShapeBevelIcon','shape-editor-ui.formulaBinding.sheetUnit','getAutoFitPresentations','plainShapeTextToDocumentData','_getBaseReferenceSource','ShapeStrokePanelContent','shape.type.star6','scrollTop','getFormulaBindingNumberFormatOptions','ShapeFlowChartDecisionIcon','shape-editor-ui.textBox.columnSpacing','ceil','shape.type.action-button-return','shape-editor-ui.formulaBinding.accountingDescription','IMentionIOService','basicShape','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-flex-col\x20univer-gap-3','darkMode','shape.type.ribbon2','file','content','underline','baselineHeight','spaceAbove','下午1:30','univer-max-w-[min(760px,calc(100vw-32px))]','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','UNSPECIFIED','screenY','ActionButtonMovie','_univer','_onAnimationCompleted','ShapeLeftRightRibbonIcon','FlowchartOr','ShapePentagonIcon','clearSelectedObjects','mouseup','icon','length','shape.type.plaque','UniverBasesUIPlugin','Frame','cornerRadius','textWrap','ShapePieIcon','1,234.56','LongDashDotDot','offset','subscribeEvent','_selectionChangingDisposable','ShapeMathMultiplyIcon','CTRL_COMMAND','980496ubGisz','ShapeTextWrapType','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','currentFontSize','FormulaBindingEditorDialog','LongDashDot','butt','lines','_emitSheetSelectionChange','hostRect','#000000','univer-flex\x20univer-flex-col\x20univer-gap-2','univer-w-[320px]\x20univer-p-2','ShapeStar8Icon','BasicShape','08-05\x20下午\x2001:30','disposeWithMe','SHAPE_FLOATING_TOOLBAR_HIDDEN','FlowchartPreparation','value','vertexAngle','None','RightJustifyingIcon','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','contentHeight','ShapeGradientTypeEnum','createScopedBaseCanvasRootResolverService','with','shape.type.folder-corner','ShapeBorderCallout1Icon','Medium','calculate','shape.type.gear9','flatMap','shape-editor-ui.line.arrowSize.medium','QuadArrow','selectionMoveEnd$','ShapeWedgeEllipseCalloutIcon','UNIVER_DOC','UniverDocsUIPlugin','shape.type.pie-wedge','Funnel','BracketPair','getHostTransform','animationEnabled','10326169nOHkWp','setConfig','shape-editor-ui.fill.solidFill','5ERjLpu','BorderCallout3','shape-editor-ui.config','shape.type.accent-callout1','ShapeWaveIcon','columns','prepareShapeTextDocumentData','FONT_SIZE_LIST','ShapeDownArrowIcon','ShapeTriangleIcon','size','univer-w-44','matchAll','editorUnitId','shape.type.left-right-up-arrow','registerPlugin','AccentBorderCallout2','ShapeCallout3Icon','shape.type.double-wave','ShapeFlowChartTerminatorIcon','ShapeOctagonIcon','onCommandExecuted','UniverDocsPlugin','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','Star5','_refreshSheetFormulaSelections','style','ShapeHorizontalScrollIcon','M\x22月\x22d\x22日\x22','key','split','Snip2DiagRect','shape.type.cube','_observeSheetSelection','MetaKeys','fields','resetActiveSelectionIndex','shape-editor-ui.toolbar.textColor','UniverBasesPlugin','type','ENTER','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','isFinite','hasParagraphAlign','@univerjs-pro/shape-editor-ui','Donut','object','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20rtl:univer-rounded-l-md\x20rtl:univer-rounded-r-none','shape.type.round2-same-rect','_configService','shape-editor-ui.toolbar.expandShapeToolbar','FlowChartInputOutput','SHAPE_EDITOR_TRANSFORMER_CONFIG','Linear','FormulaBindingNumberFormatMenu','univer-text-xs\x20univer-text-gray-500','CheckListCommand','shape-editor-ui.line.beginArrowType','shapeText','SetParagraphNamedStyleCommand','italic','shape-editor-ui.toolbar.superscript','pointerId','ShapeDonutIcon','SquareDot','setSelections','sessionKey','43080191GHQBEp','getLayers','from','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','fromEntries','shape.type.lightning-bolt','resolveShapeTextDocumentAlignment','ShapeCurvedUpArrowIcon','onForward','resolveShapeTextVerticalOffset','actions','CurvedConnector3','ShapeFlowChartSortIcon','gradientFill','FlowchartAlternateProcess','Gear9','time','8\x202\x201\x202\x201\x202','additionalReference','allowShrink','getSelectionDataWithStyle','UniverSheetsUIPlugin','getName','ShapeHexagonIcon','sectionBreaks','SUPERSCRIPT','univer-flex-1\x20univer-overflow-auto','_registerIcons','ShapeSnip1RectIcon','ThemeService','paddingTop','8\x202\x201\x202','formatColor','shape.type.snip-round-rect','UniverRenderEnginePlugin','startIndex','ShapeCornerTabsIcon','shape-editor-ui.align.top','FlowchartOnlineStorage','formulaViewerWorkerURL','Star7','isNaN','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','_activeUnitId','TodoListDoubleIcon','setZoomRatio','shape.type.striped-right-arrow','1,235)','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','ShapeEllipseIcon','DocSettingIcon','\x22#,##0.00_);\x22','FlowchartDecision','previous','buildShapeTextDataUpdate','loop-color.','setSelectionRanges','univer-text-xl\x20univer-text-gray-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','shapeTypeOptions','shape-editor-ui.textBox.padding','shape.type.hexagon','shape-editor-ui.toolbar.strikethrough','ShapeActionButtonHelpIcon','activateDrawingObject','solidFill','resolveFormulaReferenceEditingContext','TOP','collectFormulaExternalReferenceQualifiers','shape.type.math-not-equal','DocSelectAllCommand','CENTER','count','doc-paragraph-type-dropdown-popup','ActionButtonDocument','shape.type.action-button-movie','tolerance','_lastResolved','svg','shape-editor-ui.formulaBinding.customFormatDescription','shapeData','onShapeClick','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','datetime','shape.type.bent-connector3-arrow2','isUnderline','shape-editor-ui.formulaBinding.formulaPlaceholder','AccentCallout2','ShapeFlowChartOnlineStorageIcon','toLocaleLowerCase','grid-cell','univer-min-w-44\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','viewOrder','flipY','getEmbedBoundaryOwner','-1,234.56','BulletListCommand','setPresentation','naturalCrossSize','useKeyboardEvent','useLeftAndRightArrow','univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden','GradientFill','DashDot','nextShapeData','RIGHT','bBox','LeftUpArrow','ShapeActionButtonReturnIcon','ShapeStripedRightArrowIcon','ActionButtonEnd','RefSelectionsRenderService','Corner','Fragment','lineSpacing','Miter','ShapeLeftRightCircularArrowIcon','FlowChartOfflineStorage','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','ShapeTypeEnum','Star8','_controlDisposables','autoFitType','scaleY','_canSelectFormulaReference','yyyy-m-d\x20am/pm\x20h:mm','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','TextFillButton','ShapeBracePairIcon','shape.type.action-button-information','ICommandService','ShapeCornerIcon','DocSkeletonManagerService','Dash','shape.type.up-down-arrow','documentStyle','ShapeBentConnector3Arrow1Icon','getCurrencySymbolByLocale','shape.type.ellipse','glyphGroup','isRichText','UpDownArrowCallout','shape-editor-ui.fill.picture.align.br','shape-editor-ui.fill.pictureFill','host','getDrawingTransform','middle','Rect','join','name','A/P\x20h:mm:ss','FlowchartDisplay','height','button','shape.type.rect-textbox-horizontal','strikethrough','#4086f4','label','textRectWidth','screenX','ShapeActionButtonBackPreviousIcon','\x22#,##0.00)','buildFormulaReference','TextTypeIcon','shape-editor-ui.textEditor.paragraphType.heading1','setDocumentData','marginTop','univer-text-gray-500','HEADING_5','ShapeRibbon2Icon','isCtrlAddMode','altKey','pluginName','measuredContentWidth','ShapeCloudIcon','LongDash','FALSE','range','H4Icon','durationTime','ShapeRtTriangleIcon','getImageSize','DEFAULT','COMMA','univer-box-border\x20univer-flex\x20univer-h-2\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','univer-pt-4','shape.type.flow-chart-or','ShapeTextAutoFitType','ShapeLeftArrowCalloutIcon','_tick','transform','shape.type.line-inv','stopPropagation','nodeType','shape.type.flow-chart-predefined-process','shape-editor-ui.line.arrowSize.large','getActualSize','subUnitId','isSync','DownArrow','onStarting','endArrow','measureDocumentUnbreakableTextWidth','sequenceNodes','IconManager','MoreRightIcon','ShapeLightningBoltIcon','shape.type.left-arrow-callout','ShapeTextFloatMenuRenderControllerBase','setActiveSelectionIndex','translate','abs','BracePair','shape-editor-ui.textBox.wrapText','WedgeEllipseCallout','borderClassName','shape.type.wedge-rect-callout','ShapeImageFillEditor','shape.type.flow-chart-manual-operation','none','Square','ShapeActionButtonForwardNextIcon','__formula_binding_viewer_base__','shape.type.border-callout3','shape-editor-ui.textBox.autoFitResize','Round','shape-editor-ui.line.joinType.bevel','maxAutoFitWidth','ShapeUpDownArrowCalloutIcon','\x22#,##0.00_);[Red](\x22','shape-editor-ui.fill.picture.insert','setEditing','getShapeTextRect','_docSelectionRenderService','dispose','HandDrawn','verticalAlign','univer-w-20\x20univer-flex-1','Sun','spacing','_pointerCtrlKey','map','scientific','_closeRequest','NUMBER','currencySymbols','shape.type.curved-connector3','VerticalCenterIcon','Snip1Rect','previewHostSize','CellValueType','ShapeFlowChartOffpageConnectorIcon','NativeTextEditorShortcutBehavior','card','univer-rounded-lg\x20univer-p-3','getCurrentUnitOfType','ShapeRibbonIcon','getConfig','univer-mb-2\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','IrregularSeal2','UniverRPCMainThreadPlugin','shape-text-editor-content','separator','_matchesSheetReference','ShapeAccentCallout2Icon','StarAndBanner','gradientAngle','ShapeSnip2DiagRectIcon','shape-text-placeholder','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300','stretch','ShapeFlowChartMergeIcon','offsetX','documentData','HorizontallyIcon','shape.type.action-button-beginning','applyShapeTextBoxOptions','basic','makeDirty','Moon','ShapeChartXIcon','ShapePickerPanel','isActive','getDocumentDataModel','shape-editor-ui.fill.picture.align.tl','renderConfig','shape.type.action-button-document','setContextValue','lineType','shape.type.bracket-pair','ShapeActionButtonHomeIcon','shape.type.right-bracket','VERTICAL_ROTATE_ANGLE','SetInlineFormatItalicCommand','contentVerticalOffset','references','ShapeBracketPairIcon','shape-editor-ui.textBox.columns','collapsed','IContextService','_startedAt','ShapeLeftRightArrowIcon','ShapeDiamondIcon','has','domY','ActionButtonHelp','univer-flex\x20univer-h-[500px]\x20univer-min-h-0\x20univer-flex-col\x20univer-overflow-hidden','pointerup','divides','shape.type.right-arrow','baselineWidth','createParagraphId','getOwnPropertyDescriptor','fillImageSource','measureDocumentNoWrapTextWidth','unregister','shape.type.wedge-ellipse-callout','ShapeLeftArrowIcon','Digit8','bold','WRAP','pointerEvents','ShapeChartPlusIcon','ShapeArrowSizeEnum','isDefaultFormat','shape-editor-ui.textEditor.paragraphType.callout','SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','register','noFill','subscribe','univer-flex\x20univer-flex-col','_handleBaseSelectionChange','nativeEvent','ActionButtonInformation','ShapePlaqueTabsIcon','univer-gap-2','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','univer-w-full','textFill','shape.type.ellipse-ribbon2','[data-u-command=\x22','shape.type.square-tabs','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','shape.type.non-isosceles-trapezoid','getShapeModel','div','constructor','FlowchartSort','shape.type.accent-border-callout2','shape-editor-ui.line.joinType.miter','REF_SELECTIONS_ENABLED','render','oKey','univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]','Horz','shape.type.left-up-arrow','shape.type.math-equal','MoreHorizontalIcon','shape-editor-ui.fill.picture.alignment','shape.type.bent-up-arrow','ShapeFlowChartPunchedTapeIcon','ShapeTextFloatToolbar','resolveHostFormulaExternalReferences','univer-bg-primary-50\x20univer-text-primary-700','SolidLine','ShapeCurvedConnector3Arrow1Icon','UndoCommand','ctrlKey','A/P\x20hh:mm','shape-editor-ui.textBox.textDirection','activeViewId','Flat','ShapeDoubleWaveIcon','TABLE_COLUMN','Checkbox','_onSelectReferences','mode','GroupIcon','jsx','NormAutoFit','views','Arc','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-8\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20rtl:univer-text-right\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeRoundRectIcon','useCallback','ShapeVerticalScrollIcon','shape-editor-ui.formulaBinding.formats.general','univer-flex\x20univer-h-[min(780px,calc(100vh-180px))]\x20univer-min-h-[560px]\x20univer-gap-4','univer-absolute\x20univer-inset-0\x20univer-h-full\x20univer-resize-none\x20!univer-bg-transparent\x20univer-font-mono\x20univer-leading-6\x20!univer-text-transparent','getFormulaBindingCurrencyType','shape-editor-ui.line.arrowType.ovalArrow','kind','toPrimitive','pages','selectionEnd','_createExternalReference','BoldIcon','onFront','ShapeFloatingToolbarDropdownTrigger','RoundDot','\x22#,##0;[Red]\x22','FlowchartMagneticDrum','LeftBracket','ShapeDownArrowCalloutIcon','endNodePosition','ColorPicker','shape.type.left-brace','shape.type.curved-left-arrow','univer-my-1','Disposable','shape-editor-ui.fill.transparency','dateTime','paragraphStyle','UNIVER_UNKNOWN','BentArrow','shape.type.flow-chart-punched-tape','ShapeTextDirection','formula','scheduleClose','univer-grid\x20univer-gap-2','paddingBottom','shape.type.flow-chart-display','shape-editor-ui.fill.picture.align.r','Chevron','SHEET_RANGE','SetInlineFormatFontSizeCommand','shape-editor-ui.formulaShape.numberFormat','shape.type.round2-diag-rect','ShapeFlowChartAlternateProcessIcon','DEFAULT_NUMBER_FORMAT','ShapeStar4Icon','ShapeTextEditorContainer','unitQualifier','shape-editor-ui.fill.picture.rotateWithShape','LS_CONFIG_KEY','set','jiqing.800','_instanceService','getProjection','univer-text-xs','UniverSheetsFormulaUIPlugin','ShapeUturnArrowIcon','SpAutoFit','shapeKey','univer-text-xl','currentColor','下午1:30:30','useEditor','univer-text-sm\x20dark:!univer-text-gray-200','shiftKey','namedStyleType','SubscriptIcon','ShapeRound1RectIcon','visible','ShapeActionButtonEndIcon','ShapeStraightConnector2Icon','getShapeTextData','MentionIOLocalService','ImageFillModeEnum','tableName','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UngroupIcon','shape-editor-ui.textEditor.paragraphType.heading5','1566476nCJLGa','shape-editor-ui.textBox.textDirectionVertical','ShapeRound2DiagRectIcon','univer-min-w-44','univer-flex\x20univer-min-w-0\x20univer-flex-col','shape.type.rect-textbox-vertical','ShapeBentUpArrowIcon','ShapeStar10Icon','textDirection','shape-floating-toolbar','AlignJustifyCommand','accent-primary-600\x20univer-h-1.5\x20univer-w-full\x20univer-cursor-pointer\x20univer-appearance-none\x20univer-rounded-full\x20univer-bg-gray-200\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-bg-gray-700\x20[&::-webkit-slider-thumb]:univer-size-3.5\x20[&::-webkit-slider-thumb]:univer-appearance-none\x20[&::-webkit-slider-thumb]:univer-rounded-full\x20[&::-webkit-slider-thumb]:univer-bg-primary-600\x20[&::-webkit-slider-thumb]:univer-shadow-sm','shape-editor-ui.formulaBinding.formats.accounting','shape.type.quad-arrow-callout','1930-08-05','getTextStyle','shape.type.horizontal-scroll','ShapeQuadArrowCalloutIcon','shape-editor-ui.formulaBinding.decimalPlaces','centerAngle','univer-relative\x20univer-h-28\x20univer-shrink-0','SHIFT','ShapeAccentCallout3Icon','NORMAL_TEXT','ShapeDiagStripeIcon','fontScale','call','format','ShapeStrokeColorDoubleIcon','CLIP','onBack','Large','center','shape.type.up-arrow'];_0x4abb=function(){return _0x19d84a;};return _0x4abb();}function bn(_0x5c0329,_0x548090){const _0x3d0ec9=_0x2d565c;var _0x6ab3b8,_0x350e9c,_0x5c4f17,_0x1667e5,_0x281ecc,_0x1ae2de,_0x4405de,_0x62f4e7,_0x16f494;let {isHorizontal:_0x2cbf5d,textRect:_0x30e97c}=_0x548090,_0x59d6fd=_0x2cbf5d?_0x30e97c['width']:_0x30e97c[_0x3d0ec9(0x54e)],_0x5ecef8=xn(_0x5c0329,_0x2cbf5d?_0x30e97c[_0x3d0ec9(0x54e)]:_0x30e97c[_0x3d0ec9(0x2d1)]),_0x28ef60=Cn(_0x5c0329);sn(_0x28ef60,_0x548090['bodyBehavior']);let _0x5fdeba=(_0x6ab3b8=_0x28ef60['documentStyle'])==null?{}:_0x6ab3b8,_0x11b077={..._0x5fdeba[_0x3d0ec9(0x5d4)],'wrapStrategy':(_0x350e9c=(_0x5c4f17=_0x548090[_0x3d0ec9(0x1ed)])==null?(_0x1667e5=_0x5fdeba[_0x3d0ec9(0x5d4)])==null?void 0x0:_0x1667e5[_0x3d0ec9(0x1ed)]:_0x5c4f17)==null?o[_0x3d0ec9(0x106)][_0x3d0ec9(0x5f7)]:_0x350e9c,'zeroWidthParagraphBreak':(_0x281ecc=(_0x1ae2de=_0x5fdeba['renderConfig'])==null?void 0x0:_0x1ae2de[_0x3d0ec9(0x77f)])==null?o[_0x3d0ec9(0x283)][_0x3d0ec9(0x180)]:_0x281ecc,'shapeTextOpticalVerticalAlign':_0x2cbf5d?o[_0x3d0ec9(0x283)][_0x3d0ec9(0x566)]:o[_0x3d0ec9(0x283)]['TRUE']};_0x2cbf5d?(delete _0x11b077[_0x3d0ec9(0x699)],delete _0x11b077[_0x3d0ec9(0x457)]):(_0x11b077['centerAngle']=h[_0x3d0ec9(0x5db)],_0x11b077[_0x3d0ec9(0x457)]=h['VERTICAL_ROTATE_ANGLE']),_0x28ef60[_0x3d0ec9(0x53d)]={..._0x5fdeba,'documentFlavor':o['DocumentFlavor'][_0x3d0ec9(0x42a)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x59d6fd,'height':_0x5ecef8},'renderConfig':_0x11b077},yn(_0x28ef60),gn(_0x28ef60);let _0x107e67=mn(_0x28ef60,_0x548090);return hn(_0x28ef60,{'horizontalAlign':_0x107e67[_0x3d0ec9(0x31e)],'verticalAlign':(_0x4405de=_0x548090[_0x3d0ec9(0x5a2)])==null?_0x107e67[_0x3d0ec9(0x5a2)]:_0x4405de}),(_0x62f4e7=_0x28ef60['documentStyle'])==null||(_0x62f4e7=_0x62f4e7[_0x3d0ec9(0x5d4)])==null||delete _0x62f4e7['horizontalAlign'],_n(_0x28ef60,(_0x16f494=_0x28ef60[_0x3d0ec9(0x53d)])==null?void 0x0:_0x16f494['renderConfig'],new Set([_0x3d0ec9(0x7c6),_0x3d0ec9(0x5a2),_0x3d0ec9(0x1ed)])),_0x28ef60;}function xn(_0x11eaa9,_0x5f4578){const _0x39f94a=_0x2d565c;var _0x317bb1,_0xdc1f71;return(_0x317bb1=(_0xdc1f71=_0x11eaa9[_0x39f94a(0x2c5)])==null||(_0xdc1f71=_0xdc1f71[_0x39f94a(0x4ce)])==null?void 0x0:_0xdc1f71[_0x39f94a(0x1ee)](_0x46e2f5=>{const _0x57ff70=_0x39f94a;var _0x4e9d66,_0x1e17a1;return((_0x4e9d66=(_0x1e17a1=_0x46e2f5[_0x57ff70(0x751)])==null?void 0x0:_0x1e17a1['length'])==null?0x0:_0x4e9d66)>0x1;}))!=null&&_0x317bb1?Math[_0x39f94a(0x141)](0x1,_0x5f4578):0x1/0x0;}function Sn(_0x52a70a,_0x3b3397={}){const _0x1acb2a=_0x2d565c;var _0x6d1794,_0x2e0e76,_0x5a6c1c;let _0x3ce434=Cn(_0x52a70a);cn(_0x3ce434,_0x3b3397[_0x1acb2a(0x185)]);let _0x49b09f=(_0x6d1794=_0x3ce434[_0x1acb2a(0x53d)])==null?{}:_0x6d1794,_0x2cb849={..._0x49b09f['renderConfig']},_0x364063=mn(_0x3ce434,_0x3b3397),_0xc9899=(_0x2e0e76=_0x3b3397['horizontalAlign'])==null?_0x364063['horizontalAlign']:_0x2e0e76,_0x324ad0=(_0x5a6c1c=_0x3b3397[_0x1acb2a(0x5a2)])==null?_0x364063['verticalAlign']:_0x5a6c1c;delete _0x2cb849[_0x1acb2a(0x699)],delete _0x2cb849['vertexAngle'],delete _0x2cb849[_0x1acb2a(0x1ed)];let _0x48a0a4=_0x2cb849['shapeTextOpticalVerticalAlign'];return(_0x48a0a4===o['BooleanNumber'][_0x1acb2a(0x180)]||_0x48a0a4===!0x0||_0x48a0a4===o[_0x1acb2a(0x283)][_0x1acb2a(0x566)]||_0x48a0a4===!0x1)&&delete _0x2cb849[_0x1acb2a(0x7c6)],_0x3ce434[_0x1acb2a(0x53d)]={..._0x49b09f,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x1acb2a(0xc8)](_0x2cb849)['length']>0x0?_0x2cb849:void 0x0},hn(_0x3ce434,{'horizontalAlign':_0xc9899,'verticalAlign':_0x324ad0}),vn(_0x3ce434),_0x3ce434;}function Cn(_0x5df211){const _0x5e9e95=_0x2d565c;var _0x4cfcb1,_0x26faee;return{..._0x5df211,'body':_0x5df211[_0x5e9e95(0x2c5)]?{..._0x5df211[_0x5e9e95(0x2c5)],'paragraphs':(_0x4cfcb1=_0x5df211['body']['paragraphs'])==null?void 0x0:_0x4cfcb1[_0x5e9e95(0x5a7)](_0x3f043e=>({..._0x3f043e,'paragraphStyle':wn(_0x3f043e['paragraphStyle'])})),'sectionBreaks':(_0x26faee=_0x5df211[_0x5e9e95(0x2c5)][_0x5e9e95(0x4ce)])==null?void 0x0:_0x26faee[_0x5e9e95(0x5a7)](_0xc1aa6c=>({..._0xc1aa6c,'renderConfig':wn(_0xc1aa6c[_0x5e9e95(0x5d4)])}))}:_0x5df211[_0x5e9e95(0x2c5)],'documentStyle':_0x5df211[_0x5e9e95(0x53d)]?{..._0x5df211['documentStyle'],'renderConfig':wn(_0x5df211[_0x5e9e95(0x53d)][_0x5e9e95(0x5d4)])}:_0x5df211['documentStyle']};}function wn(_0x156763){const _0x203012=_0x2d565c;return Array[_0x203012(0x40c)](_0x156763)?_0x156763[_0x203012(0x5a7)](_0x2eea7a=>wn(_0x2eea7a)):!_0x156763||typeof _0x156763!=_0x203012(0x4a1)?_0x156763:Object[_0x203012(0x4ba)](Object[_0x203012(0x2ea)](_0x156763)[_0x203012(0x5a7)](([_0x35521b,_0x46bb89])=>[_0x35521b,wn(_0x46bb89)]));}function Tn(_0x4adb2c){let {isRichText:_0x53b0a,..._0x43485f}=_0x4adb2c==null?{}:_0x4adb2c;return _0x43485f;}function En(_0x485921){const _0x536f75=_0x2d565c;return _0x485921[_0x536f75(0x3f8)](/\r\n/g,'\x0a')[_0x536f75(0x3f8)](/\r/g,'\x0a');}function Dn(_0x4da52a){const _0xb78e06=_0x2d565c;if(_0x4da52a&&_0xb78e06(0x78a)in _0x4da52a&&typeof _0x4da52a[_0xb78e06(0x78a)]==_0xb78e06(0x6f0))return _0x4da52a['text'];}function On(_0x129ee0){const _0x5d9389=_0x2d565c;if(!_0x129ee0||!(_0x5d9389(0x542)in _0x129ee0)||_0x129ee0[_0x5d9389(0x542)]!==!0x1)return;let _0x1dc5e4=_0x129ee0;return{..._0x129ee0['fontFamily']?{'ff':_0x129ee0['fontFamily']}:{},..._0x129ee0[_0x5d9389(0x1a7)]===void 0x0?{}:{'fs':_0x129ee0[_0x5d9389(0x1a7)]},..._0x129ee0[_0x5d9389(0x7b7)]?{'cl':{'rgb':_0x129ee0[_0x5d9389(0x7b7)]}}:{},..._0x129ee0[_0x5d9389(0x5f6)]===void 0x0?{}:{'bl':_0x129ee0[_0x5d9389(0x5f6)]?o[_0x5d9389(0x283)][_0x5d9389(0x180)]:o[_0x5d9389(0x283)][_0x5d9389(0x566)]},..._0x129ee0[_0x5d9389(0x4af)]===void 0x0?{}:{'it':_0x129ee0['italic']?o[_0x5d9389(0x283)]['TRUE']:o['BooleanNumber'][_0x5d9389(0x566)]},..._0x129ee0[_0x5d9389(0x423)]===void 0x0?{}:{'ul':{'s':_0x129ee0[_0x5d9389(0x423)]?o[_0x5d9389(0x283)][_0x5d9389(0x180)]:o[_0x5d9389(0x283)]['FALSE']}},..._0x1dc5e4[_0x5d9389(0x551)]===void 0x0?{}:{'st':{'s':_0x1dc5e4[_0x5d9389(0x551)]?o[_0x5d9389(0x283)][_0x5d9389(0x180)]:o['BooleanNumber'][_0x5d9389(0x566)]}},..._0x1dc5e4[_0x5d9389(0x609)]===void 0x0?{}:{'textFill':_0x1dc5e4['textFill']}};}function kn(_0x545e8,_0x4f323b=o[_0x2d565c(0x766)][_0x2d565c(0x6f7)],_0x20cb9c=''){const _0x495138=_0x2d565c;let _0xc4936d=En(_0x20cb9c)[_0x495138(0x491)]('\x0a'),_0x3dafb4=_0xc4936d[_0x495138(0x54a)]('\x0d')+'\x0d\x0a',_0x4c6e6c=Math[_0x495138(0x141)](0x0,_0x3dafb4[_0x495138(0x435)]-0x2),_0x3178aa=new Set(),_0x27143b=0x0,_0x3bf391=_0xc4936d['map'](_0x222c8f=>{const _0x45452e=_0x495138;let _0x3993df={'startIndex':_0x27143b+_0x222c8f[_0x45452e(0x435)],'paragraphId':(0x0,o[_0x45452e(0x5ee)])(_0x3178aa),'paragraphStyle':{'horizontalAlign':_0x4f323b}};return _0x27143b+=_0x222c8f['length']+0x1,_0x3993df;});return{'id':'shape-text','body':{'dataStream':_0x3dafb4,'textRuns':_0x545e8?[{'st':0x0,'ed':Math[_0x495138(0x141)](0x1,_0x4c6e6c),'ts':{..._0x545e8}}]:[],'paragraphs':_0x3bf391},'documentStyle':{'textStyle':_0x545e8?{..._0x545e8}:void 0x0}};}function An(_0x12f0f2,_0x3fb9cd){const _0x5ec394=_0x2d565c;var _0x2acc12,_0x4b0b19,_0x34d4a9;let _0x8c1498=_0x12f0f2[_0x5ec394(0x4ad)],_0x2e3561=Y(_0x8c1498&&'dataModel'in _0x8c1498?_0x8c1498[_0x5ec394(0x18c)]:void 0x0),_0x416080=(_0x2acc12=(_0x4b0b19=_0x3fb9cd[_0x5ec394(0x31e)])==null?_0x2e3561==null?void 0x0:_0x2e3561['ha']:_0x4b0b19)==null?o[_0x5ec394(0x766)]['LEFT']:_0x2acc12,_0x6988ca={...On(_0x8c1498),..._0x3fb9cd['textStyle']},_0x452ad6=Object[_0x5ec394(0xc8)](_0x6988ca)[_0x5ec394(0x435)]>0x0;if(_0x2e3561!=null&&_0x2e3561['doc']){var _0x1cef67,_0x130b0a;return{'va':(_0x1cef67=_0x2e3561['va'])==null?o[_0x5ec394(0x37f)][_0x5ec394(0x4f9)]:_0x1cef67,'ha':(_0x130b0a=_0x2e3561['ha'])==null?o[_0x5ec394(0x766)][_0x5ec394(0x6f7)]:_0x130b0a,'doc':Cn(_0x2e3561[_0x5ec394(0x217)])};}return{'va':o['VerticalAlign'][_0x5ec394(0x4f9)],'ha':_0x416080,'doc':kn(_0x452ad6?_0x6988ca:void 0x0,_0x416080,(_0x34d4a9=Dn(_0x8c1498))==null?'':_0x34d4a9)};}function jn(_0x1b5b37,_0x359efe){const _0x288710=_0x2d565c;var _0x4c6bd4,_0x307736,_0x4ef9b2;let _0x7d4d9=_0x1b5b37['shapeText'],_0x16ac25=Tn(_0x7d4d9),_0x53a6dc=_0x7d4d9&&_0x288710(0x18c)in _0x7d4d9&&_0x7d4d9[_0x288710(0x18c)]&&typeof _0x7d4d9[_0x288710(0x18c)]==_0x288710(0x4a1)?_0x7d4d9[_0x288710(0x18c)]:{},_0x155038=Dn(_0x7d4d9),_0xdc823e=An(_0x1b5b37,_0x359efe),_0x13e74e=(_0x4c6bd4=_0x359efe[_0x288710(0x31e)])==null?_0xdc823e['ha']:_0x4c6bd4,_0xc312b4=(_0x307736=_0x359efe[_0x288710(0x5a2)])==null?_0xdc823e['va']:_0x307736,_0x327300=_0xdc823e['doc'];if(_0x359efe[_0x288710(0x294)]&&_0x327300){var _0x2150bb,_0x3a4dac;_0x327300[_0x288710(0x53d)]={..._0x327300[_0x288710(0x53d)],'textStyle':{...(_0x2150bb=_0x327300[_0x288710(0x53d)])==null?void 0x0:_0x2150bb['textStyle'],..._0x359efe['textStyle']}};let _0x39faf2=(_0x3a4dac=_0x327300[_0x288710(0x2c5)])==null?void 0x0:_0x3a4dac['textRuns'];if(_0x39faf2){for(let _0x25b7d6 of _0x39faf2)_0x25b7d6['ts']={..._0x25b7d6['ts'],..._0x359efe[_0x288710(0x294)]};}}return(0x0,S[_0x288710(0x113)])({'shapeText':{..._0x16ac25,'isHorizontal':(_0x4ef9b2=_0x7d4d9==null?void 0x0:_0x7d4d9[_0x288710(0x313)])==null||_0x4ef9b2,..._0x155038===void 0x0?{}:{'text':_0x155038},'dataModel':{..._0x53a6dc,'va':_0xc312b4,'ha':_0x13e74e,'doc':_0x327300}}},{..._0x359efe['horizontalAlign']===void 0x0?null:{'horizontalAlign':_0x13e74e},..._0x359efe['verticalAlign']===void 0x0?null:{'verticalAlign':_0xc312b4}});}let Mn=function(_0x580fe9){const _0x3fadc9=_0x2d565c;return _0x580fe9[_0x3fadc9(0x763)]=_0x3fadc9(0x17c),_0x580fe9['Rectangle']='rectangle',_0x580fe9[_0x3fadc9(0x451)]=_0x3fadc9(0x41d),_0x580fe9['BlockArrow']='blockArrow',_0x580fe9[_0x3fadc9(0x3b6)]=_0x3fadc9(0x3ab),_0x580fe9['Flowchart']=_0x3fadc9(0xee),_0x580fe9[_0x3fadc9(0x5bf)]=_0x3fadc9(0x7ac),_0x580fe9[_0x3fadc9(0x709)]='callout',_0x580fe9[_0x3fadc9(0x39a)]=_0x3fadc9(0x6c3),_0x580fe9;}({});const Nn=[{'group':'line','type':S['ShapeTypeEnum'][_0x2d565c(0x763)],'icon':_0x2d565c(0x277),'name':_0x2d565c(0x352)},{'group':_0x2d565c(0x17c),'type':S['ShapeTypeEnum'][_0x2d565c(0x1e5)],'icon':_0x2d565c(0x3be),'name':_0x2d565c(0x1b6),'endArrow':!0x0},{'group':_0x2d565c(0x17c),'type':S['ShapeTypeEnum'][_0x2d565c(0x1e5)],'icon':'ShapeStraightConnector2Icon','name':_0x2d565c(0x75b),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x2d565c(0x17c),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x344)],'icon':_0x2d565c(0x307),'name':_0x2d565c(0x71e)},{'group':_0x2d565c(0x17c),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x344)],'icon':_0x2d565c(0x53e),'name':'shape.type.bent-connector3-arrow1','endArrow':!0x0},{'group':_0x2d565c(0x17c),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x344)],'icon':'ShapeBentConnector3Arrow2Icon','name':_0x2d565c(0x50a),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x2d565c(0x17c),'type':S['ShapeTypeEnum'][_0x2d565c(0x4c1)],'icon':_0x2d565c(0x135),'name':_0x2d565c(0x5ac)},{'group':'line','type':S[_0x2d565c(0x52d)][_0x2d565c(0x4c1)],'icon':_0x2d565c(0x624),'name':_0x2d565c(0x1b0),'endArrow':!0x0},{'group':_0x2d565c(0x17c),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x4c1)],'icon':_0x2d565c(0x15e),'name':_0x2d565c(0x22c),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':S[_0x2d565c(0x52d)][_0x2d565c(0x549)],'icon':_0x2d565c(0x399),'name':_0x2d565c(0x6e7)},{'group':_0x2d565c(0x37d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x7ca)],'icon':_0x2d565c(0x636),'name':_0x2d565c(0x1d2)},{'group':_0x2d565c(0x37d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x5ae)],'icon':_0x2d565c(0x4d2),'name':_0x2d565c(0x765)},{'group':_0x2d565c(0x37d),'type':S['ShapeTypeEnum'][_0x2d565c(0x6b4)],'icon':'ShapeSnip2SameRectIcon','name':'shape.type.snip2-same-rect'},{'group':_0x2d565c(0x37d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x492)],'icon':'ShapeSnip2DiagRectIcon','name':_0x2d565c(0xe4)},{'group':_0x2d565c(0x37d),'type':S['ShapeTypeEnum'][_0x2d565c(0x359)],'icon':_0x2d565c(0x1bd),'name':_0x2d565c(0x4d7)},{'group':'rectangle','type':S[_0x2d565c(0x52d)][_0x2d565c(0x12a)],'icon':_0x2d565c(0x67b),'name':'shape.type.round1-rect'},{'group':_0x2d565c(0x37d),'type':S[_0x2d565c(0x52d)]['Round2SameRect'],'icon':_0x2d565c(0x231),'name':_0x2d565c(0x4a3)},{'group':_0x2d565c(0x37d),'type':S[_0x2d565c(0x52d)]['Round2DiagRect'],'icon':_0x2d565c(0x688),'name':_0x2d565c(0x662)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x549)],'icon':_0x2d565c(0x713),'name':_0x2d565c(0x550),'horizontal':!0x0},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x549)],'icon':_0x2d565c(0x2d3),'name':_0x2d565c(0x68b),'vertical':!0x0},{'group':'basicShape','type':S[_0x2d565c(0x52d)]['Ellipse'],'icon':_0x2d565c(0x4e7),'name':_0x2d565c(0x540)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x1c5)],'icon':_0x2d565c(0x47c),'name':'shape.type.triangle'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x28f)],'icon':_0x2d565c(0x56a),'name':_0x2d565c(0x70d)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x116)],'icon':_0x2d565c(0x24e),'name':_0x2d565c(0x2b0)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x35f)],'icon':_0x2d565c(0x71f),'name':_0x2d565c(0xc3)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x15b)],'icon':_0x2d565c(0x5e5),'name':_0x2d565c(0x372)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)]['Pentagon'],'icon':'ShapePentagonIcon','name':_0x2d565c(0x14c)},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x103)],'icon':_0x2d565c(0x4cd),'name':_0x2d565c(0x4f3)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)]['Heptagon'],'icon':_0x2d565c(0x365),'name':_0x2d565c(0x16c)},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x7c2)],'icon':_0x2d565c(0x487),'name':'shape.type.octagon'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)]['Decagon'],'icon':_0x2d565c(0x30b),'name':'shape.type.decagon'},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x2c0)],'icon':'ShapeDodecagonIcon','name':'shape.type.dodecagon'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x1d3)],'icon':_0x2d565c(0x43b),'name':_0x2d565c(0x3a9)},{'group':_0x2d565c(0x41d),'type':S['ShapeTypeEnum'][_0x2d565c(0x730)],'icon':'ShapeChordIcon','name':_0x2d565c(0x7a8)},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x20a)],'icon':_0x2d565c(0x2ad),'name':'shape.type.teardrop'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x438)],'icon':_0x2d565c(0x220),'name':_0x2d565c(0x186)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x377)],'icon':'ShapeHalfFrameIcon','name':_0x2d565c(0x30d)},{'group':_0x2d565c(0x41d),'type':S['ShapeTypeEnum'][_0x2d565c(0x526)],'icon':_0x2d565c(0x539),'name':'shape.type.corner'},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x721)],'icon':_0x2d565c(0x69e),'name':'shape.type.diag-stripe'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x72e)],'icon':_0x2d565c(0x31c),'name':_0x2d565c(0x26a)},{'group':_0x2d565c(0x41d),'type':S['ShapeTypeEnum'][_0x2d565c(0x739)],'icon':_0x2d565c(0x330),'name':_0x2d565c(0x436)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0x2d565c(0x279)],'icon':_0x2d565c(0x3a7),'name':'shape.type.can'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x6d0)],'icon':'ShapeCubeIcon','name':_0x2d565c(0x493)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x3ce)],'icon':_0x2d565c(0x40e),'name':_0x2d565c(0x78d)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0x2d565c(0x4a0)],'icon':_0x2d565c(0x4b2),'name':'shape.type.donut'},{'group':'basicShape','type':S['ShapeTypeEnum']['NoSmoking'],'icon':'ShapeNoSmokingIcon','name':'shape.type.no-smoking'},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x105)],'icon':_0x2d565c(0x253),'name':_0x2d565c(0x188)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x34d)],'icon':_0x2d565c(0x27c),'name':_0x2d565c(0x45f)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x13b)],'icon':'ShapeSmileyFaceIcon','name':'shape.type.smiley-face'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x1bc)],'icon':'ShapeHeartIcon','name':'shape.type.heart'},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x2b7)],'icon':_0x2d565c(0x584),'name':_0x2d565c(0x4bb)},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x5a4)],'icon':'ShapeSunIcon','name':_0x2d565c(0x1aa)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x5ce)],'icon':'ShapeMoonIcon','name':_0x2d565c(0x2fa)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x133)],'icon':_0x2d565c(0x564),'name':_0x2d565c(0x743)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0x2d565c(0x634)],'icon':_0x2d565c(0x700),'name':_0x2d565c(0x142)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x46d)],'icon':'ShapeBracketPairIcon','name':_0x2d565c(0x5d8)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x58a)],'icon':_0x2d565c(0x536),'name':_0x2d565c(0x161)},{'group':'basicShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x649)],'icon':_0x2d565c(0xf1),'name':'shape.type.left-bracket'},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x110)],'icon':'ShapeRightBracketIcon','name':_0x2d565c(0x5da)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x3b5)],'icon':_0x2d565c(0x33e),'name':_0x2d565c(0x64d)},{'group':_0x2d565c(0x41d),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x6a9)],'icon':'ShapeRightBraceIcon','name':_0x2d565c(0x1cc)},{'group':'blockArrow','type':S[_0x2d565c(0x52d)][_0x2d565c(0x32e)],'icon':'ShapeRightArrowIcon','name':_0x2d565c(0x5ec)},{'group':'blockArrow','type':S['ShapeTypeEnum'][_0x2d565c(0x343)],'icon':'ShapeLeftArrowIcon','name':'shape.type.left-arrow'},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)]['UpArrow'],'icon':_0x2d565c(0x3b8),'name':_0x2d565c(0x6a7)},{'group':'blockArrow','type':S[_0x2d565c(0x52d)][_0x2d565c(0x57d)],'icon':_0x2d565c(0x47b),'name':_0x2d565c(0xfc)},{'group':_0x2d565c(0x72a),'type':S['ShapeTypeEnum'][_0x2d565c(0xde)],'icon':_0x2d565c(0x5e4),'name':_0x2d565c(0x6ce)},{'group':_0x2d565c(0x72a),'type':S['ShapeTypeEnum'][_0x2d565c(0x74d)],'icon':_0x2d565c(0x406),'name':_0x2d565c(0x53c)},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x466)],'icon':_0x2d565c(0x6b3),'name':_0x2d565c(0x199)},{'group':_0x2d565c(0x72a),'type':S['ShapeTypeEnum']['LeftRightUpArrow'],'icon':_0x2d565c(0x3ba),'name':_0x2d565c(0x481)},{'group':'blockArrow','type':S[_0x2d565c(0x52d)][_0x2d565c(0x655)],'icon':'ShapeBentArrowIcon','name':'shape.type.bent-arrow'},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x247)],'icon':_0x2d565c(0x670),'name':'shape.type.uturn-arrow'},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x521)],'icon':_0x2d565c(0x34b),'name':_0x2d565c(0x61a)},{'group':'blockArrow','type':S['ShapeTypeEnum'][_0x2d565c(0x7c5)],'icon':_0x2d565c(0x68c),'name':_0x2d565c(0x61e)},{'group':_0x2d565c(0x72a),'type':S['ShapeTypeEnum']['CurvedRightArrow'],'icon':_0x2d565c(0x322),'name':'shape.type.curved-right-arrow'},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)]['CurvedLeftArrow'],'icon':'ShapeCurvedLeftArrowIcon','name':_0x2d565c(0x64e)},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x267)],'icon':_0x2d565c(0x4bd),'name':_0x2d565c(0x6ba)},{'group':'blockArrow','type':S[_0x2d565c(0x52d)]['CurvedDownArrow'],'icon':_0x2d565c(0x769),'name':_0x2d565c(0x29a)},{'group':'blockArrow','type':S['ShapeTypeEnum'][_0x2d565c(0x349)],'icon':_0x2d565c(0x523),'name':_0x2d565c(0x4e4)},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x1a8)],'icon':_0x2d565c(0x16a),'name':'shape.type.notched-right-arrow'},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0xd1)],'icon':_0x2d565c(0x717),'name':'shape.type.home-plate'},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x65e)],'icon':'ShapeChevronIcon','name':_0x2d565c(0x20c)},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x3f7)],'icon':_0x2d565c(0x222),'name':_0x2d565c(0x7b9)},{'group':_0x2d565c(0x72a),'type':S['ShapeTypeEnum'][_0x2d565c(0x723)],'icon':_0x2d565c(0x64a),'name':_0x2d565c(0x35e)},{'group':'blockArrow','type':S[_0x2d565c(0x52d)][_0x2d565c(0x74e)],'icon':_0x2d565c(0x572),'name':_0x2d565c(0x585)},{'group':'blockArrow','type':S['ShapeTypeEnum']['UpArrowCallout'],'icon':_0x2d565c(0x7b8),'name':'shape.type.up-arrow-callout'},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0xd3)],'icon':_0x2d565c(0xc1),'name':'shape.type.left-right-arrow-callout'},{'group':'blockArrow','type':S['ShapeTypeEnum'][_0x2d565c(0x130)],'icon':_0x2d565c(0x697),'name':_0x2d565c(0x693)},{'group':_0x2d565c(0x72a),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x702)],'icon':'ShapeCircularArrowIcon','name':'shape.type.circular-arrow'},{'group':_0x2d565c(0x3ab),'type':S[_0x2d565c(0x52d)]['MathPlus'],'icon':_0x2d565c(0x1b8),'name':_0x2d565c(0x761)},{'group':_0x2d565c(0x3ab),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x1b7)],'icon':_0x2d565c(0x752),'name':'shape.type.math-minus'},{'group':_0x2d565c(0x3ab),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x140)],'icon':_0x2d565c(0x441),'name':_0x2d565c(0x32b)},{'group':_0x2d565c(0x3ab),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x78c)],'icon':'ShapeMathDivideIcon','name':_0x2d565c(0x334)},{'group':'equationShape','type':S[_0x2d565c(0x52d)][_0x2d565c(0x3bd)],'icon':_0x2d565c(0x759),'name':_0x2d565c(0x61b)},{'group':_0x2d565c(0x3ab),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x2c8)],'icon':'ShapeMathNotEqualIcon','name':_0x2d565c(0x4fb)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x73f)],'icon':_0x2d565c(0x165),'name':'shape.type.flow-chart-process'},{'group':_0x2d565c(0xee),'type':S['ShapeTypeEnum'][_0x2d565c(0x4c4)],'icon':'ShapeFlowChartAlternateProcessIcon','name':_0x2d565c(0x3af)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x4ea)],'icon':_0x2d565c(0x417),'name':_0x2d565c(0x16f)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x4a6)],'icon':'ShapeFlowChartInputOutputIcon','name':_0x2d565c(0x2af)},{'group':_0x2d565c(0xee),'type':S['ShapeTypeEnum'][_0x2d565c(0x7b2)],'icon':'ShapeFlowChartPredefinedProcessIcon','name':_0x2d565c(0x578)},{'group':'flowchart','type':S['ShapeTypeEnum'][_0x2d565c(0x109)],'icon':_0x2d565c(0xfa),'name':_0x2d565c(0x25d)},{'group':'flowchart','type':S[_0x2d565c(0x52d)][_0x2d565c(0x75f)],'icon':_0x2d565c(0x404),'name':_0x2d565c(0x7c1)},{'group':'flowchart','type':S[_0x2d565c(0x52d)]['FlowchartMultiDocument'],'icon':_0x2d565c(0x2a4),'name':'shape.type.flow-chart-multidocument'},{'group':'flowchart','type':S[_0x2d565c(0x52d)][_0x2d565c(0x3f3)],'icon':_0x2d565c(0x486),'name':'shape.type.flow-chart-terminator'},{'group':'flowchart','type':S[_0x2d565c(0x52d)][_0x2d565c(0x455)],'icon':'ShapeFlowChartPreparationIcon','name':_0x2d565c(0x13f)},{'group':_0x2d565c(0xee),'type':S['ShapeTypeEnum'][_0x2d565c(0x1e9)],'icon':'ShapeFlowChartManualInputIcon','name':_0x2d565c(0x3ff)},{'group':_0x2d565c(0xee),'type':S['ShapeTypeEnum']['FlowchartManualOperation'],'icon':_0x2d565c(0x2b8),'name':_0x2d565c(0x590)},{'group':'flowchart','type':S[_0x2d565c(0x52d)][_0x2d565c(0x1f9)],'icon':_0x2d565c(0x26d),'name':_0x2d565c(0x209)},{'group':_0x2d565c(0xee),'type':S['ShapeTypeEnum'][_0x2d565c(0x1ab)],'icon':_0x2d565c(0x5b1),'name':_0x2d565c(0x28b)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x3ac)],'icon':_0x2d565c(0x214),'name':'shape.type.flow-chart-punched-card'},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x169)],'icon':_0x2d565c(0x61f),'name':_0x2d565c(0x656)},{'group':'flowchart','type':S['ShapeTypeEnum']['FlowchartSummingJunction'],'icon':_0x2d565c(0x1c2),'name':_0x2d565c(0x7b5)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x430)],'icon':_0x2d565c(0x737),'name':_0x2d565c(0x570)},{'group':'flowchart','type':S[_0x2d565c(0x52d)][_0x2d565c(0x33d)],'icon':'ShapeFlowChartCollateIcon','name':_0x2d565c(0x75a)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x612)],'icon':_0x2d565c(0x4c2),'name':_0x2d565c(0x79d)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x39b)],'icon':_0x2d565c(0xcc),'name':'shape.type.flow-chart-extract'},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)]['FlowchartMerge'],'icon':_0x2d565c(0x5c6),'name':'shape.type.flow-chart-merge'},{'group':'flowchart','type':S[_0x2d565c(0x52d)][_0x2d565c(0x4dc)],'icon':_0x2d565c(0x50e),'name':'shape.type.flow-chart-online-storage'},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x408)],'icon':_0x2d565c(0x181),'name':_0x2d565c(0x718)},{'group':_0x2d565c(0xee),'type':S['ShapeTypeEnum']['FlowchartMagneticTape'],'icon':'ShapeFlowChartMagneticTapeIcon','name':'shape.type.flow-chart-magnetic-tape'},{'group':'flowchart','type':S['ShapeTypeEnum']['FlowchartMagneticDisk'],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x2d565c(0x146)},{'group':_0x2d565c(0xee),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x648)],'icon':_0x2d565c(0x271),'name':_0x2d565c(0x7ba)},{'group':_0x2d565c(0xee),'type':S['ShapeTypeEnum'][_0x2d565c(0x54d)],'icon':'ShapeFlowChartDisplayIcon','name':_0x2d565c(0x65c)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x3d6)],'icon':_0x2d565c(0x3f0),'name':_0x2d565c(0xe6)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x5b9)],'icon':'ShapeIrregularSeal2Icon','name':_0x2d565c(0x2db)},{'group':'starAndBanner','type':S['ShapeTypeEnum']['Star4'],'icon':'ShapeStar4Icon','name':'shape.type.star4'},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x48b)],'icon':_0x2d565c(0x2de),'name':_0x2d565c(0x6c0)},{'group':_0x2d565c(0x7ac),'type':S['ShapeTypeEnum'][_0x2d565c(0x3d8)],'icon':_0x2d565c(0x7a1),'name':_0x2d565c(0x414)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x4de)],'icon':_0x2d565c(0x726),'name':'shape.type.star7'},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x52e)],'icon':_0x2d565c(0x450),'name':'shape.type.star8'},{'group':_0x2d565c(0x7ac),'type':S['ShapeTypeEnum'][_0x2d565c(0x6cb)],'icon':_0x2d565c(0x68d),'name':_0x2d565c(0x6f8)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)]['Star12'],'icon':_0x2d565c(0x22a),'name':_0x2d565c(0x747)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x2b6)],'icon':_0x2d565c(0x128),'name':_0x2d565c(0x793)},{'group':'starAndBanner','type':S[_0x2d565c(0x52d)]['Star24'],'icon':'ShapeStar24Icon','name':_0x2d565c(0x225)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)]['Star32'],'icon':_0x2d565c(0x2c3),'name':'shape.type.star32'},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x355)],'icon':_0x2d565c(0x55f),'name':_0x2d565c(0x420)},{'group':'starAndBanner','type':S['ShapeTypeEnum']['Ribbon'],'icon':'ShapeRibbonIcon','name':_0x2d565c(0x195)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x76a)],'icon':_0x2d565c(0xcf),'name':_0x2d565c(0x60a)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)]['EllipseRibbon'],'icon':_0x2d565c(0x19d),'name':_0x2d565c(0x19e)},{'group':_0x2d565c(0x7ac),'type':S['ShapeTypeEnum']['VerticalScroll'],'icon':_0x2d565c(0x638),'name':_0x2d565c(0x2fe)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)]['HorizontalScroll'],'icon':_0x2d565c(0x48e),'name':_0x2d565c(0x696)},{'group':_0x2d565c(0x7ac),'type':S[_0x2d565c(0x52d)]['Wave'],'icon':_0x2d565c(0x477),'name':_0x2d565c(0x19a)},{'group':_0x2d565c(0x7ac),'type':S['ShapeTypeEnum'][_0x2d565c(0x280)],'icon':_0x2d565c(0x62b),'name':_0x2d565c(0x485)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)]['WedgeRectCallout'],'icon':_0x2d565c(0x3bb),'name':_0x2d565c(0x58e)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)]['WedgeRoundRectCallout'],'icon':_0x2d565c(0x319),'name':'shape.type.wedge-round-rect-callout'},{'group':_0x2d565c(0xe7),'type':S['ShapeTypeEnum'][_0x2d565c(0x58c)],'icon':_0x2d565c(0x468),'name':_0x2d565c(0x5f3)},{'group':_0x2d565c(0xe7),'type':S['ShapeTypeEnum'][_0x2d565c(0x70f)],'icon':_0x2d565c(0x303),'name':_0x2d565c(0x148)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x248)],'icon':_0x2d565c(0x460),'name':_0x2d565c(0xea)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x21d)],'icon':_0x2d565c(0x6ac),'name':'shape.type.border-callout2'},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x474)],'icon':_0x2d565c(0x2a7),'name':_0x2d565c(0x595)},{'group':_0x2d565c(0xe7),'type':S['ShapeTypeEnum']['AccentCallout1'],'icon':_0x2d565c(0x210),'name':_0x2d565c(0x476)},{'group':'callout','type':S[_0x2d565c(0x52d)][_0x2d565c(0x50d)],'icon':_0x2d565c(0x5be),'name':'shape.type.accent-callout2'},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x15f)],'icon':_0x2d565c(0x69c),'name':_0x2d565c(0x7a7)},{'group':'callout','type':S['ShapeTypeEnum'][_0x2d565c(0x201)],'icon':_0x2d565c(0x12b),'name':_0x2d565c(0x6ca)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)]['Callout2'],'icon':_0x2d565c(0x287),'name':_0x2d565c(0x3b9)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)]['Callout3'],'icon':_0x2d565c(0x484),'name':_0x2d565c(0x744)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)]['AccentBorderCallout1'],'icon':_0x2d565c(0x291),'name':'shape.type.accent-border-callout1'},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x483)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x2d565c(0x613)},{'group':_0x2d565c(0xe7),'type':S[_0x2d565c(0x52d)]['AccentBorderCallout3'],'icon':_0x2d565c(0x19f),'name':_0x2d565c(0x102)},{'group':_0x2d565c(0x6c3),'type':S['ShapeTypeEnum'][_0x2d565c(0x2c2)],'icon':_0x2d565c(0x716),'name':_0x2d565c(0x213)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x119)],'icon':_0x2d565c(0x52a),'name':'shape.type.left-right-circular-arrow'},{'group':'other','type':S['ShapeTypeEnum'][_0x2d565c(0x36a)],'icon':_0x2d565c(0x219),'name':_0x2d565c(0x273)},{'group':'other','type':S[_0x2d565c(0x52d)][_0x2d565c(0x745)],'icon':_0x2d565c(0x42f),'name':'shape.type.left-right-ribbon'},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)]['PieWedge'],'icon':_0x2d565c(0x160),'name':_0x2d565c(0x46b)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x46c)],'icon':_0x2d565c(0x2c6),'name':_0x2d565c(0x16b)},{'group':'other','type':S[_0x2d565c(0x52d)]['Gear6'],'icon':_0x2d565c(0x264),'name':_0x2d565c(0x258)},{'group':'other','type':S[_0x2d565c(0x52d)][_0x2d565c(0x4c5)],'icon':_0x2d565c(0x33a),'name':_0x2d565c(0x463)},{'group':'other','type':S[_0x2d565c(0x52d)][_0x2d565c(0x276)],'icon':_0x2d565c(0x4da),'name':_0x2d565c(0x78e)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)]['ActionButtonBackPrevious'],'icon':'ShapeActionButtonBackPreviousIcon','name':_0x2d565c(0x73d)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)]['ActionButtonForwardNext'],'icon':_0x2d565c(0x593),'name':_0x2d565c(0x329)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x36c)],'icon':_0x2d565c(0x136),'name':_0x2d565c(0x5ca)},{'group':'other','type':S['ShapeTypeEnum'][_0x2d565c(0x524)],'icon':_0x2d565c(0x67d),'name':_0x2d565c(0x2ff)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x3d0)],'icon':_0x2d565c(0x5d9),'name':_0x2d565c(0x153)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x604)],'icon':_0x2d565c(0xd6),'name':_0x2d565c(0x537)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x792)],'icon':_0x2d565c(0x522),'name':_0x2d565c(0x41a)},{'group':_0x2d565c(0x6c3),'type':S['ShapeTypeEnum'][_0x2d565c(0x42c)],'icon':_0x2d565c(0x772),'name':_0x2d565c(0x501)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x500)],'icon':_0x2d565c(0x6d1),'name':_0x2d565c(0x5d5)},{'group':'other','type':S[_0x2d565c(0x52d)][_0x2d565c(0x2a6)],'icon':'ShapeActionButtonSoundIcon','name':_0x2d565c(0x2f2)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x5e8)],'icon':_0x2d565c(0x4f5),'name':_0x2d565c(0x189)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x240)],'icon':'ShapeActionButtonBlankIcon','name':_0x2d565c(0x24b)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0xf9)],'icon':_0x2d565c(0x5f9),'name':'shape.type.chart-plus'},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x2a2)],'icon':_0x2d565c(0x3ec),'name':_0x2d565c(0x3fe)},{'group':'other','type':S['ShapeTypeEnum']['ChartX'],'icon':_0x2d565c(0x5cf),'name':_0x2d565c(0x786)},{'group':'other','type':S['ShapeTypeEnum'][_0x2d565c(0x52b)],'icon':_0x2d565c(0x232),'name':_0x2d565c(0x388)},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x3db)],'icon':'ShapeLineInvIcon','name':_0x2d565c(0x575)},{'group':_0x2d565c(0x6c3),'type':S['ShapeTypeEnum'][_0x2d565c(0x35a)],'icon':_0x2d565c(0x605),'name':'shape.type.plaque-tabs'},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x6c4)],'icon':'ShapeSquareTabsIcon','name':_0x2d565c(0x60c)},{'group':_0x2d565c(0x6c3),'type':S['ShapeTypeEnum'][_0x2d565c(0x543)],'icon':_0x2d565c(0x59a),'name':'shape.type.up-down-arrow-callout'},{'group':_0x2d565c(0x6c3),'type':S[_0x2d565c(0x52d)][_0x2d565c(0x398)],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':_0x2d565c(0x60e)}];function Pn(_0x15e2a0=Nn,_0x590703=[]){const _0x4ca452=_0x2d565c;return _0x15e2a0['reduce']((_0x5b3ada,_0xc8d436)=>_0x590703[_0x4ca452(0x6b1)](_0xc8d436['group'])?_0x5b3ada:(_0x5b3ada[_0xc8d436[_0x4ca452(0x35b)]]||(_0x5b3ada[_0xc8d436[_0x4ca452(0x35b)]]=[]),_0x5b3ada[_0xc8d436[_0x4ca452(0x35b)]]['push'](_0xc8d436),_0x5b3ada),{});}function Fn(_0x5965ec){const _0x3a9db1=_0x2d565c;let {excludeGroups:_0x3eb121,onShapeClick:_0x4f1f13,options:_0x529a6e=Nn,scrollContainer:_0x1e4628='self',variant:_0x28e287='plain'}=_0x5965ec,_0x1f11c7=(0x0,s['useDependency'])(s['IconManager']),_0x3cdb2d=(0x0,s[_0x3a9db1(0x2b3)])(o[_0x3a9db1(0xe5)]),_0xa28d40=Pn(_0x529a6e,_0x3eb121);return(0x0,r[_0x3a9db1(0x631)])(_0x3a9db1(0x610),{'className':(0x0,e[_0x3a9db1(0x724)])(_0x3a9db1(0x44f),_0x1e4628===_0x3a9db1(0x243)&&_0x3a9db1(0x3b7),_0x28e287===_0x3a9db1(0x5b3)&&_0x3a9db1(0x429)),'children':Object[_0x3a9db1(0x2ea)](_0xa28d40)[_0x3a9db1(0x5a7)](([_0x43954a,_0x14abac])=>(0x0,r[_0x3a9db1(0x18b)])(_0x3a9db1(0x610),{'className':_0x3a9db1(0x229),'children':[(0x0,r[_0x3a9db1(0x631)])(_0x3a9db1(0x610),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x3cdb2d['t']('shape-editor-ui.shape.group.'+_0x43954a)}),(0x0,r[_0x3a9db1(0x631)])(_0x3a9db1(0x610),{'className':_0x3a9db1(0x37a),'children':_0x14abac==null?void 0x0:_0x14abac[_0x3a9db1(0x5a7)](_0x487857=>{const _0x356fb8=_0x3a9db1;let _0x5d1278=_0x1f11c7[_0x356fb8(0x2a0)](_0x487857[_0x356fb8(0x434)]);return(0x0,r[_0x356fb8(0x631)])(_0x356fb8(0x54f),{'type':_0x356fb8(0x54f),'title':_0x3cdb2d['t']('shape-editor-ui.'+_0x487857[_0x356fb8(0x54b)]),'onClick':()=>_0x4f1f13(_0x487857),'className':_0x356fb8(0x4e0),'children':_0x5d1278&&(0x0,r[_0x356fb8(0x631)])(_0x5d1278,{'className':_0x356fb8(0x3fa)})},_0x487857['name']);})})]},_0x43954a))});}function In(_0x58425b){const _0x1d03d9=_0x2d565c;let {excludeGroups:_0x11e12c,onShapeClick:_0x248661,options:_0x379c27,scrollContainer:_0x550481,variant:_0xc9ac48}=_0x58425b;return(0x0,r[_0x1d03d9(0x631)])(Fn,{'excludeGroups':_0x11e12c,'onShapeClick':_0x248661,'options':_0x379c27,'scrollContainer':_0x550481,'variant':_0xc9ac48});}function Ln(_0x2000e6){const _0x3a3583=_0x2d565c;let {buttonLabel:_0x3a4f8d,side:_0x35f477=_0x3a3583(0x266),..._0x5e864d}=_0x2000e6,_0x4aeec6=(0x0,s[_0x3a3583(0x2b3)])(o['LocaleService']),[_0x341de6,_0x25db16]=(0x0,n[_0x3a3583(0x311)])(!0x1);return(0x0,r['jsx'])(e[_0x3a3583(0x1ff)],{'side':_0x35f477,'open':_0x341de6,'onOpenChange':_0x25db16,'overlay':(0x0,r[_0x3a3583(0x631)])(In,{..._0x5e864d,'onShapeClick':_0x325fb3=>{const _0x4efdb6=_0x3a3583;_0x5e864d[_0x4efdb6(0x507)](_0x325fb3),_0x25db16(!0x1);}}),'children':(0x0,r[_0x3a3583(0x631)])(e['Button'],{'children':_0x4aeec6['t'](_0x3a4f8d)})});}const Rn=_0x2d565c(0x6dc);function zn(_0x2155da){const _0x237bb9=_0x2d565c;var _0x3f1e88,_0x39e00c;let {buttonClassName:_0x14a7e2,className:_0x4399d2,popupDataComponent:_0x36dff6=_0x237bb9(0x4ff),title:_0x192308,onAfterCommand:_0x103542,onBeforeCommand:_0x8a06f3,onMouseDown:_0x132177}=_0x2155da,_0x113970=(0x0,s[_0x237bb9(0x2b3)])(o[_0x237bb9(0x538)]),_0x4f0e92=(0x0,s['useDependency'])(f[_0x237bb9(0x787)]),_0x13ab17=(0x0,s[_0x237bb9(0x2b3)])(o[_0x237bb9(0xe5)]),_0x12b8aa=(0x0,s[_0x237bb9(0x2b3)])(o['IUniverInstanceService']),[_0x4e3e03,_0x36042f]=(0x0,n[_0x237bb9(0x311)])(!0x1),[_0x13e3e1,_0x2c2c03]=(0x0,n['useState'])(o[_0x237bb9(0x18d)][_0x237bb9(0x69d)]),_0x3156c0=()=>{const _0x1a37a7=_0x237bb9;var _0x1e37d1,_0x3f60f9;let _0x5e2faa=Wn(_0x12b8aa['getCurrentUnitOfType'](o[_0x1a37a7(0x6d2)][_0x1a37a7(0x469)]),Un(_0x4f0e92));_0x2c2c03((_0x1e37d1=_0x5e2faa==null||(_0x3f60f9=_0x5e2faa[_0x1a37a7(0x653)])==null?void 0x0:_0x3f60f9[_0x1a37a7(0x679)])==null?o['NamedStyleType']['NORMAL_TEXT']:_0x1e37d1);};(0x0,n[_0x237bb9(0x1a6)])(()=>{const _0xd830a0=_0x237bb9;_0x3156c0();let _0x393a24=_0x113970[_0xd830a0(0x488)](_0x2315a5=>{const _0x537adb=_0xd830a0;(_0x2315a5['id']===f[_0x537adb(0x6d4)]['id']||_0x2315a5['id']===f['SetTextSelectionsOperation']['id']||_0x2315a5['id']===p[_0x537adb(0x4ae)]['id']||_0x2315a5['id']===p[_0x537adb(0x157)]['id']||_0x2315a5['id']===p['BulletListCommand']['id']||_0x2315a5['id']===p[_0x537adb(0x4ab)]['id'])&&_0x3156c0();}),_0x21e1ae=_0x4f0e92[_0xd830a0(0x3c3)][_0xd830a0(0x600)](_0x3156c0);return()=>{const _0x468f31=_0xd830a0;_0x393a24[_0x468f31(0x5a0)](),_0x21e1ae[_0x468f31(0x207)]();};},[_0x113970,_0x4f0e92,_0x12b8aa]);let _0xfb8a66=(0x0,n[_0x237bb9(0x1f6)])(()=>Bn(_0x113970)['map'](_0x44ea5d=>({..._0x44ea5d,'label':_0x13ab17['t'](_0x44ea5d['label'])})),[_0x113970,_0x13ab17]),_0x2fa79f=(_0x3f1e88=_0xfb8a66[_0x237bb9(0x1f1)](_0x2409e0=>_0x2409e0[_0x237bb9(0x679)]===_0x13e3e1))==null?_0xfb8a66[0x0]:_0x3f1e88,_0x7c8bc5=_0x35494d=>{const _0x47c37a=_0x237bb9;let _0x535a75=_0x12b8aa[_0x47c37a(0x5b5)](o['UniverInstanceType'][_0x47c37a(0x469)]),_0x5efa64=Un(_0x4f0e92);_0x8a06f3==null||_0x8a06f3(),_0x35494d[_0x47c37a(0x679)]===void 0x0?_0x35494d[_0x47c37a(0x34f)]===p[_0x47c37a(0x157)]['id']||_0x35494d[_0x47c37a(0x34f)]===p[_0x47c37a(0x516)]['id']||_0x35494d['commandId']===p[_0x47c37a(0x4ab)]['id']?_0x113970['executeCommand'](_0x35494d[_0x47c37a(0x34f)]):_0x35494d[_0x47c37a(0x34f)]&&_0x113970[_0x47c37a(0x6ed)](_0x35494d[_0x47c37a(0x34f)],{'unitId':_0x535a75==null?void 0x0:_0x535a75['getUnitId'](),'startOffset':_0x5efa64==null?void 0x0:_0x5efa64[_0x47c37a(0x707)],'endOffset':_0x5efa64==null?void 0x0:_0x5efa64[_0x47c37a(0x262)]}):_0x113970[_0x47c37a(0x6ed)](p[_0x47c37a(0x4ae)]['id'],{'value':_0x35494d[_0x47c37a(0x679)]}),_0x36042f(!0x1),window[_0x47c37a(0x778)](()=>{_0x3156c0(),_0x103542==null||_0x103542();});};return(0x0,r[_0x237bb9(0x631)])(e['Dropdown'],{'open':_0x4e3e03,'onOpenChange':_0x36042f,'overlay':(0x0,r[_0x237bb9(0x631)])(_0x237bb9(0x610),{'className':(0x0,e['clsx'])(_0x237bb9(0x511),_0x4399d2),'data-u-comp':_0x36dff6,'data-u-editor-interaction-boundary':'true','onMouseDown':_0x35e45f=>_0x35e45f[_0x237bb9(0x3a1)](),'children':_0xfb8a66[_0x237bb9(0x5a7)](_0x4bd730=>(0x0,r['jsxs'])(_0x237bb9(0x54f),{'type':_0x237bb9(0x54f),'className':(0x0,e[_0x237bb9(0x724)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x4bd730[_0x237bb9(0x456)]===(_0x2fa79f==null?void 0x0:_0x2fa79f[_0x237bb9(0x456)])}),'onClick':()=>_0x7c8bc5(_0x4bd730),'onMouseDown':_0x39c9d0=>_0x39c9d0['preventDefault'](),'children':[(0x0,r['jsx'])('span',{'className':_0x237bb9(0x1cf),'children':_0x4bd730[_0x237bb9(0x434)]}),(0x0,r[_0x237bb9(0x631)])(_0x237bb9(0x3b4),{'className':_0x237bb9(0x230),'children':_0x4bd730[_0x237bb9(0x553)]})]},_0x4bd730[_0x237bb9(0x456)]))}),'children':(0x0,r[_0x237bb9(0x631)])('span',{'children':(0x0,r['jsx'])(e[_0x237bb9(0x20e)],{'title':_0x192308,'placement':_0x237bb9(0x369),'children':(0x0,r[_0x237bb9(0x18b)])(_0x237bb9(0x54f),{'type':_0x237bb9(0x54f),'aria-expanded':_0x4e3e03,'aria-label':_0x192308,'title':_0x192308,'data-u-editor-interaction-boundary':_0x237bb9(0x11c),'className':(0x0,e[_0x237bb9(0x724)])('univer-flex\x20univer-h-7\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',_0x14a7e2,{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4e3e03}),'onMouseDown':_0x132177==null?_0x27f8e2=>_0x27f8e2[_0x237bb9(0x3a1)]():_0x132177,'children':[(0x0,r['jsx'])(_0x237bb9(0x3b4),{'className':_0x237bb9(0x1cf),'children':(_0x39e00c=_0x2fa79f==null?void 0x0:_0x2fa79f[_0x237bb9(0x434)])==null?(0x0,r['jsx'])(t[_0x237bb9(0x559)],{}):_0x39e00c}),(0x0,r[_0x237bb9(0x631)])(t[_0x237bb9(0x6c2)],{'className':_0x237bb9(0x66e)})]})})})});}function Bn(_0x9092){const _0x5013ae=_0x2d565c;let _0x4c2d28=[Vn(o[_0x5013ae(0x18d)]['NORMAL_TEXT'],(0x0,r[_0x5013ae(0x631)])(t[_0x5013ae(0x559)],{}),_0x5013ae(0x3dc)),Vn(o['NamedStyleType'][_0x5013ae(0x76b)],(0x0,r[_0x5013ae(0x631)])(t[_0x5013ae(0x246)],{}),_0x5013ae(0x55a)),Vn(o[_0x5013ae(0x18d)][_0x5013ae(0x2eb)],(0x0,r['jsx'])(t[_0x5013ae(0x22e)],{}),_0x5013ae(0x375)),Vn(o[_0x5013ae(0x18d)][_0x5013ae(0x394)],(0x0,r[_0x5013ae(0x631)])(t[_0x5013ae(0x6e5)],{}),'shape-editor-ui.textEditor.paragraphType.heading3'),Vn(o[_0x5013ae(0x18d)]['HEADING_4'],(0x0,r[_0x5013ae(0x631)])(t[_0x5013ae(0x568)],{}),'shape-editor-ui.textEditor.paragraphType.heading4'),Vn(o['NamedStyleType'][_0x5013ae(0x55e)],(0x0,r[_0x5013ae(0x631)])(t['H5Icon'],{}),_0x5013ae(0x685)),Hn(p[_0x5013ae(0x157)]['id'],(0x0,r[_0x5013ae(0x631)])(t[_0x5013ae(0x381)],{}),'shape-editor-ui.textEditor.paragraphType.orderedList'),Hn(p['BulletListCommand']['id'],(0x0,r['jsx'])(t[_0x5013ae(0x70c)],{}),_0x5013ae(0x177)),Hn(p[_0x5013ae(0x4ab)]['id'],(0x0,r[_0x5013ae(0x631)])(t[_0x5013ae(0x4e2)],{}),_0x5013ae(0x2f3))],_0x182e4f=[Hn(Rn,(0x0,r[_0x5013ae(0x631)])('span',{'className':_0x5013ae(0x6fd),'children':'\x22'}),_0x5013ae(0x740)),Hn('docs-code.command.insert',(0x0,r[_0x5013ae(0x631)])(t[_0x5013ae(0x1ef)],{}),_0x5013ae(0x234)),Hn('docs-callout.command.insert',(0x0,r[_0x5013ae(0x631)])(t['ShapeCallout1Icon'],{}),_0x5013ae(0x5fc))][_0x5013ae(0x1fe)](_0x3c64ea=>_0x9092[_0x5013ae(0x2dc)](_0x3c64ea['commandId']));return[..._0x4c2d28,..._0x182e4f];}function Vn(_0x44df84,_0x4d82f1,_0x175e5c){return{'icon':_0x4d82f1,'label':_0x175e5c,'namedStyleType':_0x44df84,'value':'heading:'+_0x44df84};}function Hn(_0x39831c,_0x43a419,_0x205057){return{'commandId':_0x39831c,'icon':_0x43a419,'label':_0x205057,'value':'command:'+_0x39831c};}function Un(_0x97df53){const _0x442420=_0x2d565c;var _0x6bbc22,_0x3d8da6,_0x1cac46,_0x2991be;let _0x44fa6b=(_0x6bbc22=_0x97df53[_0x442420(0x791)])==null?void 0x0:_0x6bbc22[_0x442420(0x6a0)](_0x97df53);if(_0x44fa6b)return _0x44fa6b;let _0x44a08f=(_0x3d8da6=_0x97df53['getTextRanges']())==null?[]:_0x3d8da6;return(_0x1cac46=(_0x2991be=_0x44a08f[_0x442420(0x1f1)](_0x39a18b=>_0x39a18b[_0x442420(0x5d1)]))==null?_0x44a08f[0x0]:_0x2991be)==null?null:_0x1cac46;}function Wn(_0x10a5d6,_0x479e40){const _0x535d4b=_0x2d565c;var _0x57853c,_0x58e2d2,_0x51bbcc,_0x181c7c;let _0x5b76ba=_0x10a5d6==null||(_0x57853c=_0x10a5d6[_0x535d4b(0x2ef)](_0x479e40==null?void 0x0:_0x479e40['segmentId']))==null?void 0x0:_0x57853c['getBody'](),_0x51eb30=(_0x58e2d2=_0x5b76ba==null?void 0x0:_0x5b76ba[_0x535d4b(0x2ae)])==null?[]:_0x58e2d2,_0x40dcf4=(_0x51bbcc=_0x479e40==null?void 0x0:_0x479e40[_0x535d4b(0x707)])==null?0x0:_0x51bbcc;return(_0x181c7c=_0x51eb30[_0x535d4b(0x1f1)](_0x1a0e57=>_0x1a0e57[_0x535d4b(0x4d9)]>=_0x40dcf4))==null?_0x51eb30[_0x51eb30[_0x535d4b(0x435)]-0x1]:_0x181c7c;}function Gn(_0x18935b,_0x1aee53){const _0x281c43=_0x2d565c;if(_0x18935b==null||_0x1aee53==null)return!0x1;let {glyph:_0xd02e63,..._0x1a2f2a}=_0x18935b,{glyph:_0x273aa9,..._0x5f549d}=_0x1aee53;return(0x0,o[_0x281c43(0x6e6)])(_0x1a2f2a,_0x5f549d);}var Kn=class extends o['Disposable']{constructor(_0x25c465,_0xaf1424,_0x4934b5,_0x416f9a,_0x206187){const _0x33b80c=_0x2d565c;super(),this['_context']=_0x25c465,this[_0x33b80c(0x2fc)]=_0xaf1424,this[_0x33b80c(0x38c)]=_0x4934b5,this[_0x33b80c(0x59f)]=_0x416f9a,this['_config']=_0x206187,z(this,'_floatMenu',null),this['_context'][_0x33b80c(0x2ab)]===this['_config'][_0x33b80c(0x480)]&&(this[_0x33b80c(0x6cf)](),this[_0x33b80c(0x453)](()=>this[_0x33b80c(0x305)]()));}[_0x2d565c(0x6cf)](){const _0x375215=_0x2d565c;this[_0x375215(0x453)](this[_0x375215(0x59f)][_0x375215(0x722)][_0x375215(0x600)](()=>{const _0x5dfc26=_0x375215;this[_0x5dfc26(0x305)]();})),this[_0x375215(0x453)](this[_0x375215(0x2fc)][_0x375215(0x3c3)][_0x375215(0x600)](_0x37d41e=>{const _0x4d12a4=_0x375215;var _0x57d3b2,_0x5ea473;let {unitId:_0x202093,textRanges:_0xdd6f97}=_0x37d41e;if(_0x202093!==this[_0x4d12a4(0x373)][_0x4d12a4(0x2ab)])return;let _0x512cc8=_0xdd6f97['find'](_0x24846e=>!_0x24846e[_0x4d12a4(0x5e1)]);if(!_0x512cc8){this[_0x4d12a4(0x305)]();return;}(_0x512cc8[_0x4d12a4(0x707)]!==((_0x57d3b2=this['_floatMenu'])==null?void 0x0:_0x57d3b2[_0x4d12a4(0x76f)])||_0x512cc8[_0x4d12a4(0x262)]!==((_0x5ea473=this[_0x4d12a4(0x2f0)])==null?void 0x0:_0x5ea473[_0x4d12a4(0x7c4)]))&&(this[_0x4d12a4(0x305)](),this['_showFloatMenu'](_0x202093,_0x512cc8));}));}[_0x2d565c(0x305)](){const _0x568124=_0x2d565c;var _0x1c38a2;(_0x1c38a2=this[_0x568124(0x2f0)])==null||_0x1c38a2['disposable'][_0x568124(0x5a0)](),this[_0x568124(0x2f0)]=null;}['_showFloatMenu'](_0x501f1a,_0x5f0d24){const _0x3d221e=_0x2d565c;this[_0x3d221e(0x2f0)]={'disposable':this[_0x3d221e(0x38c)][_0x3d221e(0x378)](_0x5f0d24,{'componentKey':this['_config']['componentKey'],'direction':_0x5f0d24['direction']==='backward'||Gn(_0x5f0d24[_0x3d221e(0x74b)],_0x5f0d24[_0x3d221e(0x64b)])?_0x3d221e(0x150):'bottom-center','offset':[0x0,0x4]},_0x501f1a),'start':_0x5f0d24[_0x3d221e(0x707)],'end':_0x5f0d24[_0x3d221e(0x262)]};}};function qn(_0x56a6f5){const _0x57a4d3=_0x2d565c;return Number[_0x57a4d3(0x49d)](_0x56a6f5)&&_0x56a6f5>0x0?_0x56a6f5:0x0;}function Jn(_0x31210b){const _0x50ae85=_0x2d565c;return _0x31210b===!0x0||_0x31210b===o[_0x50ae85(0x283)][_0x50ae85(0x180)];}function Yn(_0x15f71e){const _0x266b1a=_0x2d565c;return typeof(_0x15f71e==null?void 0x0:_0x15f71e[_0x266b1a(0x422)])=='string'&&_0x15f71e[_0x266b1a(0x422)]['trim']()['length']>0x0;}function Xn(_0x37eac7,_0x2e9104){const _0x759d0e=_0x2d565c;var _0x42a209,_0x4042c6,_0x4dd4a7,_0x2d98d8,_0x3b1517,_0x28905d;let _0x10b2fc=_0x37eac7==null?void 0x0:_0x37eac7[_0x759d0e(0x520)],_0x1c02a7=(_0x42a209=(_0x4042c6=(_0x4dd4a7=_0x10b2fc==null?void 0x0:_0x10b2fc[_0x759d0e(0x75c)])==null?_0x10b2fc==null?void 0x0:_0x10b2fc['ba']:_0x4dd4a7)==null?_0x2e9104[_0x759d0e(0x3aa)]:_0x4042c6)==null?0x0:_0x42a209,_0x249f1d=(_0x2d98d8=(_0x3b1517=(_0x28905d=_0x10b2fc==null?void 0x0:_0x10b2fc[_0x759d0e(0x6d9)])==null?_0x10b2fc==null?void 0x0:_0x10b2fc['bd']:_0x28905d)==null?_0x2e9104['dsc']:_0x3b1517)==null?0x0:_0x2d98d8;return _0x1c02a7===0x0&&_0x249f1d===0x0?null:{'ascent':_0x1c02a7,'descent':_0x249f1d};}function Zn(_0x2a1810){const _0x5d4b66=_0x2d565c;let _0x34943e=qn(_0x2a1810[_0x5d4b66(0x6a8)])-qn(_0x2a1810[_0x5d4b66(0x45b)]);return _0x2a1810[_0x5d4b66(0x5a2)]===o[_0x5d4b66(0x37f)][_0x5d4b66(0x38e)]?_0x34943e/0x2:_0x2a1810[_0x5d4b66(0x5a2)]===o[_0x5d4b66(0x37f)][_0x5d4b66(0x351)]?_0x34943e:0x0;}function Qn(_0x112b95){const _0x375383=_0x2d565c;let _0x2cbd45=qn(_0x112b95[_0x375383(0x6a8)]),_0x313551=Math[_0x375383(0x141)](_0x2cbd45,qn(_0x112b95[_0x375383(0x45b)])),_0x40f330=_0x112b95[_0x375383(0x6c5)],_0x196416=_0x112b95[_0x375383(0xdf)],_0x35fc21=Number[_0x375383(0x49d)](_0x40f330)?_0x40f330:Zn(_0x112b95),_0x52f312=Math['min'](0x0,_0x35fc21),_0x434f51=_0x52f312+(Number[_0x375383(0x49d)](_0x196416)?_0x196416:0x0),_0x120c4b=_0x434f51<0x0?_0x434f51:0x0;return{'clipHeight':_0x313551-_0x120c4b,'clipTop':_0x120c4b,'contentHeight':_0x313551,'contentVerticalOffset':_0x52f312,'marginTop':Math['max'](0x0,_0x35fc21),'verticalOffset':_0x35fc21};}function $n(_0x5b22fc,_0x17f8ef=0x1){const _0x56279e=_0x2d565c;var _0x51e02c;let _0x1595e3=_0x5b22fc[_0x56279e(0x11a)](),_0x30b45e=0x1/0x0,_0x32c129=-0x1/0x0,_0x19645b=0x0;for(let _0x267be6 of(_0x51e02c=_0x1595e3==null?void 0x0:_0x1595e3['pages'])==null?[]:_0x51e02c){var _0x206491,_0x2e8f17,_0x566333;let _0x2ab069=(_0x206491=_0x267be6[_0x56279e(0x55c)])==null?0x0:_0x206491;for(let _0x11c01d of(_0x2e8f17=_0x267be6[_0x56279e(0x3bc)])==null?[]:_0x2e8f17){var _0x4517a4,_0x3d5a04;let _0x3ad8c9=(_0x4517a4=_0x11c01d[_0x56279e(0x337)])==null?0x0:_0x4517a4;for(let _0x422a2b of(_0x3d5a04=_0x11c01d[_0x56279e(0x478)])==null?[]:_0x3d5a04){var _0x3ac43b;for(let _0x285d37 of(_0x3ac43b=_0x422a2b[_0x56279e(0x44a)])==null?[]:_0x3ac43b){var _0x5a1ffd,_0x4ab941,_0x170113,_0x4e36de,_0xd9aab,_0x48289a,_0x20c024,_0x13eb8e,_0x4cffd0,_0x231fb6;let _0x4cbb2c=_0x19645b+_0x2ab069+_0x3ad8c9+((_0x5a1ffd=_0x285d37[_0x56279e(0x337)])==null?0x0:_0x5a1ffd),_0x2abebb=((_0x4ab941=_0x285d37[_0x56279e(0x55c)])==null?0x0:_0x4ab941)+((_0x170113=_0x285d37[_0x56279e(0x4d4)])==null?0x0:_0x170113)+((_0x4e36de=_0x285d37[_0x56279e(0x45b)])==null?((_0xd9aab=_0x285d37[_0x56279e(0x3aa)])==null?0x0:_0xd9aab)+((_0x48289a=_0x285d37[_0x56279e(0x302)])==null?0x0:_0x48289a):_0x4e36de)+((_0x20c024=_0x285d37[_0x56279e(0x65b)])==null?0x0:_0x20c024)+((_0x13eb8e=_0x285d37[_0x56279e(0x272)])==null?0x0:_0x13eb8e),_0x1ef9dd=Math['max'](0x0,...((_0x4cffd0=_0x285d37[_0x56279e(0x5eb)])==null?[]:_0x4cffd0)[_0x56279e(0x464)](_0x1a5ee9=>{const _0x2440f2=_0x56279e;var _0x46e245;return(_0x46e245=_0x1a5ee9[_0x2440f2(0x541)])==null?[]:_0x46e245;})[_0x56279e(0x5a7)](_0x3bf791=>{let _0x253af1=Xn(_0x3bf791,_0x285d37);return _0x253af1?_0x253af1['ascent']+_0x253af1['descent']:0x0;})),_0x12b45f=Math['max']((_0x231fb6=_0x285d37['lineHeight'])==null?0x0:_0x231fb6,_0x2abebb,_0x1ef9dd);_0x12b45f>0x0&&(_0x30b45e=Math[_0x56279e(0x2ce)](_0x30b45e,_0x4cbb2c),_0x32c129=Math[_0x56279e(0x141)](_0x32c129,_0x4cbb2c+_0x12b45f));}}}_0x19645b+=(_0x566333=_0x267be6[_0x56279e(0x54e)])==null?0x0:_0x566333;}let _0x482fc4=_0x32c129-_0x30b45e;return Number['isFinite'](_0x482fc4)&&_0x482fc4>0x0?_0x482fc4:Math[_0x56279e(0x141)](0x1,_0x17f8ef);}function er(_0x5d0c12,_0x3a8892,_0x1a19cf){const _0x22cfd8=_0x2d565c;var _0x3ea176;if(_0x1a19cf===void 0x0||_0x1a19cf===o[_0x22cfd8(0x37f)][_0x22cfd8(0x42a)])return 0x0;let _0x4bdcab=_0x5d0c12[_0x22cfd8(0x11a)]();if(!(_0x4bdcab!=null&&(_0x3ea176=_0x4bdcab[_0x22cfd8(0x640)])!=null&&_0x3ea176[_0x22cfd8(0x435)]))return 0x0;let _0x35d8e1=0x1/0x0,_0x58a156=-0x1/0x0,_0x5154c4=0x0;for(let _0x398a9e of _0x4bdcab[_0x22cfd8(0x640)]){var _0xbac5fe,_0x3e5841;let _0x258b8a=(_0xbac5fe=_0x398a9e[_0x22cfd8(0x55c)])==null?0x0:_0xbac5fe;for(let _0x44c86f of(_0x3e5841=_0x398a9e['sections'])==null?[]:_0x3e5841){var _0x226482,_0x46d910;let _0x55421b=(_0x226482=_0x44c86f['top'])==null?0x0:_0x226482;for(let _0x2fb761 of(_0x46d910=_0x44c86f[_0x22cfd8(0x478)])==null?[]:_0x46d910){var _0x199088;for(let _0x4686cd of(_0x199088=_0x2fb761['lines'])==null?[]:_0x199088){var _0x22ff30,_0x5a3444,_0x5b8d18,_0x5e1768,_0x3a1cdc;let _0x1fb011=_0x5154c4+_0x258b8a+_0x55421b+((_0x22ff30=_0x4686cd['top'])==null?0x0:_0x22ff30)+((_0x5a3444=_0x4686cd['marginTop'])==null?0x0:_0x5a3444)+((_0x5b8d18=_0x4686cd['paddingTop'])==null?0x0:_0x5b8d18)+((_0x5e1768=_0x4686cd[_0x22cfd8(0x3aa)])==null?0x0:_0x5e1768);for(let _0x52ee94 of(_0x3a1cdc=_0x4686cd[_0x22cfd8(0x5eb)])==null?[]:_0x3a1cdc){var _0x17f8e8;for(let _0x234475 of(_0x17f8e8=_0x52ee94[_0x22cfd8(0x541)])==null?[]:_0x17f8e8){if(!Yn(_0x234475))continue;let _0x364b2d=Xn(_0x234475,_0x4686cd);_0x364b2d&&(_0x35d8e1=Math[_0x22cfd8(0x2ce)](_0x35d8e1,_0x1fb011-_0x364b2d[_0x22cfd8(0x741)]),_0x58a156=Math['max'](_0x58a156,_0x1fb011+_0x364b2d['descent']));}}}}}let _0xf7e25=Number[_0x22cfd8(0x49d)](_0x398a9e['pageHeight'])?_0x398a9e['pageHeight']:_0x398a9e['height'];_0x5154c4+=_0xf7e25==null?0x0:_0xf7e25;}return!Number[_0x22cfd8(0x49d)](_0x35d8e1)||!Number[_0x22cfd8(0x49d)](_0x58a156)?0x0:_0x1a19cf===o[_0x22cfd8(0x37f)]['BOTTOM']?_0x3a8892-_0x58a156:_0x1a19cf===o['VerticalAlign'][_0x22cfd8(0x38e)]?_0x3a8892/0x2-(_0x35d8e1+_0x58a156)/0x2:_0x1a19cf===o[_0x22cfd8(0x37f)][_0x22cfd8(0x4f9)]?-_0x35d8e1:0x0;}function tr(_0x3745a8){const _0x12e109=_0x2d565c;return _0x3745a8===o[_0x12e109(0x766)]['CENTER'];}function nr(_0x477db1){const _0x177bf7=_0x2d565c;return _0x477db1===o[_0x177bf7(0x766)][_0x177bf7(0x51f)];}function rr(_0x289809,_0x591468){const _0x5328ea=_0x2d565c;var _0x1933e6,_0x5f5925,_0x232633,_0xe6177b;if(!_0x289809)return{'align':_0x591468,'width':0x0};let _0x1d380c=(_0x1933e6=(_0x5f5925=_0x289809[_0x5328ea(0x2c5)])==null?void 0x0:_0x5f5925[_0x5328ea(0x733)])==null?'':_0x1933e6,_0x323a37=(_0x232633=(_0xe6177b=_0x289809[_0x5328ea(0x2c5)])==null?void 0x0:_0xe6177b[_0x5328ea(0x2ae)])==null?[]:_0x232633;if(_0x323a37[_0x5328ea(0x435)]===0x0)return{'align':_0x591468,'width':(0x0,h['measureDocumentNoWrapTextWidth'])(_0x289809)};let _0x1a6a39=0x0,_0x58e9dd={'align':_0x591468,'width':0x0};return _0x323a37[_0x5328ea(0x29b)](_0xfcff77=>{const _0x40fffb=_0x5328ea;var _0x127cfc;let _0x16c90c=Math[_0x40fffb(0x141)](_0x1a6a39,Math[_0x40fffb(0x2ce)](_0x1d380c['length'],(_0x127cfc=_0xfcff77[_0x40fffb(0x4d9)])==null?_0x1a6a39:_0x127cfc)),_0x33c0fa=(0x0,h['measureDocumentNoWrapTextRangeWidth'])(_0x289809,_0x1a6a39,_0x16c90c);if(_0x33c0fa>_0x58e9dd[_0x40fffb(0x2d1)]){var _0x45e41a,_0x48d5d5;_0x58e9dd={'align':(_0x45e41a=(_0x48d5d5=_0xfcff77[_0x40fffb(0x653)])==null?void 0x0:_0x48d5d5[_0x40fffb(0x31e)])==null?_0x591468:_0x45e41a,'width':_0x33c0fa};}_0x1a6a39=Math['min'](_0x1d380c[_0x40fffb(0x435)],_0x16c90c+0x1);}),_0x58e9dd;}function ir(_0x1dc34d,_0x4ec18e,_0x453264){const _0x584319=_0x2d565c;var _0x37e826,_0x38da97;if(_0x4ec18e!==void 0x0)return _0x453264==null?_0x4ec18e:_0x453264;let _0x1c0009=((_0x37e826=_0x1dc34d==null||(_0x38da97=_0x1dc34d['body'])==null?void 0x0:_0x38da97[_0x584319(0x2ae)])==null?[]:_0x37e826)[_0x584319(0x5a7)](_0x19c912=>{const _0x410c74=_0x584319;var _0x46f278;return(_0x46f278=_0x19c912[_0x410c74(0x653)])==null?void 0x0:_0x46f278['horizontalAlign'];})[_0x584319(0x1fe)](_0xa936bc=>_0xa936bc!==void 0x0);return _0x1c0009[_0x584319(0x6b1)](o[_0x584319(0x766)][_0x584319(0x4fd)])?o[_0x584319(0x766)][_0x584319(0x4fd)]:_0x1c0009[_0x584319(0x6b1)](o[_0x584319(0x766)]['RIGHT'])?o['HorizontalAlign']['RIGHT']:o[_0x584319(0x766)][_0x584319(0x6f7)];}function ar(_0x45a505){const _0x3526ad=_0x2d565c;var _0x304119;let {documentData:_0x440518,horizontalAlign:_0x3d66f2,horizontalAnchor:_0x9cf7f7,isHorizontal:_0x3b1113,textRect:_0x335987,textWrap:_0x2e9cc1}=_0x45a505;if(_0x3b1113===!0x1||_0x335987[_0x3526ad(0x2d1)]<=0x0)return{'contentWidth':_0x335987['width'],'measureAsNoWrap':!0x1,'textRect':_0x335987};let _0x5b6fd0=Number[_0x3526ad(0x49d)](_0x45a505['widthBuffer'])?Math[_0x3526ad(0x141)](0x0,(_0x304119=_0x45a505[_0x3526ad(0x1a5)])==null?0x0:_0x304119):0x0,_0x5ee23b=rr(_0x440518,_0x3d66f2),_0x1485c9=_0x5ee23b[_0x3526ad(0x2d1)]+_0x5b6fd0;if(_0x9cf7f7===_0x3526ad(0x6a6)&&_0x1485c9>0x0&&_0x1485c9<_0x335987['width'])return{'contentWidth':_0x1485c9,'measureAsNoWrap':_0x2e9cc1===S['ShapeTextWrapType'][_0x3526ad(0x458)],'textRect':{..._0x335987,'left':_0x335987['left']+(_0x335987[_0x3526ad(0x2d1)]-_0x1485c9)/0x2,'width':_0x1485c9}};let _0xd69f6e=_0x2e9cc1===S['ShapeTextWrapType'][_0x3526ad(0x458)],_0x44fa7b=(_0xd69f6e?_0x1485c9-_0x5b6fd0:(0x0,h[_0x3526ad(0x580)])(_0x440518))+_0x5b6fd0,_0x89e934=Math[_0x3526ad(0x141)](_0x335987['width'],_0x44fa7b);if(_0x89e934===_0x335987['width'])return{'contentWidth':_0x89e934,'measureAsNoWrap':_0xd69f6e,'textRect':_0x335987};let _0x2cc1dc=_0x89e934-_0x335987['width'],_0x3d89c4=_0xd69f6e?ir(_0x440518,_0x3d66f2,_0x5ee23b['align']):_0x3d66f2,_0x34e492=nr(_0x3d89c4)?_0x335987[_0x3526ad(0x266)]-_0x2cc1dc:tr(_0x3d89c4)?_0x335987['left']-_0x2cc1dc/0x2:_0x335987[_0x3526ad(0x266)];return{'contentWidth':_0x89e934,'measureAsNoWrap':_0xd69f6e,'textRect':{..._0x335987,'left':_0x34e492,'width':_0x89e934}};}function or(_0x15e880){const _0x4f1209=_0x2d565c;var _0x2aa6bc,_0x5ea0a0;return((_0x2aa6bc=_0x15e880==null||(_0x5ea0a0=_0x15e880[_0x4f1209(0x2c5)])==null?void 0x0:_0x5ea0a0[_0x4f1209(0x733)])==null?'':_0x2aa6bc)['replace'](/[\r\n]/g,'')[_0x4f1209(0x435)]===0x0;}function sr(_0x46b0b0){const _0x491de0=_0x2d565c;var _0x25f3a6,_0x3ee50e;let {documentData:_0x29f25e,isTextBox:_0x19b640,placeholder:_0x4cd1bc,showPlaceholder:_0x1fb1bb=!0x0,text:_0x31951f=''}=_0x46b0b0;if(!_0x1fb1bb||!_0x19b640||!_0x4cd1bc||_0x31951f[_0x491de0(0x435)]>0x0||!or(_0x29f25e))return;let _0x8e2db5=_0x29f25e==null||(_0x25f3a6=_0x29f25e[_0x491de0(0x53d)])==null?void 0x0:_0x25f3a6['textStyle'];return{..._0x29f25e,'id':(_0x3ee50e=_0x29f25e==null?void 0x0:_0x29f25e['id'])==null?_0x491de0(0x5c2):_0x3ee50e,'body':{'dataStream':_0x4cd1bc+'\x0d\x0a','paragraphs':[{'startIndex':_0x4cd1bc[_0x491de0(0x435)],'paragraphId':(0x0,o[_0x491de0(0x5ee)])(new Set())}],'textRuns':[{'st':0x0,'ed':_0x4cd1bc['length'],'ts':{..._0x8e2db5,'cl':{'rgb':_0x491de0(0x108)}}}]},'documentStyle':{..._0x29f25e==null?void 0x0:_0x29f25e['documentStyle']}};}const cr=0.001;function lr(_0x542675,_0x24f9d9,_0x3c2cc8,_0x6c4b5a){const _0x2d1726=_0x2d565c;return Math[_0x2d1726(0x589)](_0x3c2cc8-_0x542675)>cr?_0x542675+_0x24f9d9-_0x6c4b5a:_0x542675;}function ur(_0x30b483){const _0xb48c5a=_0x2d565c;let {initialRect:_0x37c089,requestedRect:_0x1d803f,shapeData:_0x4049a4}=_0x30b483,_0x520f83=_0x4049a4[_0xb48c5a(0x4ad)];if(_0x4049a4[_0xb48c5a(0x17f)]!==!0x0||!_0x520f83)return null;let _0x3df945=_0x520f83[_0xb48c5a(0x313)]!==!0x1,_0x1d677b=Math[_0xb48c5a(0x589)]((_0x3df945?_0x1d803f[_0xb48c5a(0x2d1)]:_0x1d803f[_0xb48c5a(0x54e)])-(_0x3df945?_0x37c089[_0xb48c5a(0x2d1)]:_0x37c089['height']))>cr,_0x3a8a39=Math['abs']((_0x3df945?_0x1d803f[_0xb48c5a(0x54e)]:_0x1d803f[_0xb48c5a(0x2d1)])-(_0x3df945?_0x37c089[_0xb48c5a(0x54e)]:_0x37c089[_0xb48c5a(0x2d1)]))>cr;if(!_0x1d677b&&!_0x3a8a39)return null;let _0x125383=_0x3df945?_0x37c089['height']:_0x37c089[_0xb48c5a(0x2d1)],_0x3d484d=Number[_0xb48c5a(0x49d)](_0x30b483['naturalCrossSize'])&&_0x30b483[_0xb48c5a(0x518)]>0x0?_0x30b483[_0xb48c5a(0x518)]:_0x125383;return{'rect':_0x3df945?{'left':_0x1d677b?_0x1d803f[_0xb48c5a(0x266)]:_0x37c089[_0xb48c5a(0x266)],'top':lr(_0x37c089[_0xb48c5a(0x337)],_0x37c089[_0xb48c5a(0x54e)],_0x1d803f[_0xb48c5a(0x337)],_0x3d484d),'width':_0x1d677b?_0x1d803f[_0xb48c5a(0x2d1)]:_0x37c089['width'],'height':_0x3d484d}:{'left':lr(_0x37c089['left'],_0x37c089[_0xb48c5a(0x2d1)],_0x1d803f[_0xb48c5a(0x266)],_0x3d484d),'top':_0x1d677b?_0x1d803f[_0xb48c5a(0x337)]:_0x37c089[_0xb48c5a(0x337)],'width':_0x3d484d,'height':_0x1d677b?_0x1d803f['height']:_0x37c089['height']},'shapeData':_0x1d677b?{..._0x4049a4,'shapeText':{..._0x520f83,'autoFitType':S[_0xb48c5a(0x571)][_0xb48c5a(0x671)],'textWrap':S[_0xb48c5a(0x444)][_0xb48c5a(0x592)]}}:_0x4049a4};}function dr(_0x3656cb,_0x1a747c){const _0x2035ed=_0x2d565c;return Math[_0x2035ed(0x141)](Number['isFinite'](_0x3656cb)?Math['max'](0x1,_0x3656cb):0x1,Number[_0x2035ed(0x49d)](_0x1a747c)?Math['max'](0x1,_0x1a747c):0x1);}function fr(_0x3fd9b5){const _0x3c14c3=_0x2d565c;try{var _0x56feec;let _0x55dee1=_0x3fd9b5==null||(_0x56feec=_0x3fd9b5[_0x3c14c3(0x2ca)]())==null?void 0x0:_0x56feec['height'];return Number['isFinite'](_0x55dee1)?_0x55dee1:void 0x0;}catch{return;}}function pr(_0x509c41,_0x1eb5e3){const _0x414f37=_0x2d565c;var _0xc18108,_0xe0e2a0;return Math[_0x414f37(0x589)](_0x509c41[_0x414f37(0x6c1)]-_0x1eb5e3['documentMarginTop'])<=0.001&&Math[_0x414f37(0x589)](_0x509c41[_0x414f37(0x38d)]-_0x1eb5e3[_0x414f37(0x38d)])<=0.001&&Math[_0x414f37(0x589)](_0x509c41[_0x414f37(0x270)]-_0x1eb5e3[_0x414f37(0x270)])<=0.001&&Math['abs'](_0x509c41['editorWidth']-_0x1eb5e3[_0x414f37(0xe3)])<=0.001&&Math[_0x414f37(0x589)](_0x509c41[_0x414f37(0x174)]-_0x1eb5e3[_0x414f37(0x174)])<=0.001&&Math[_0x414f37(0x589)](((_0xc18108=_0x509c41[_0x414f37(0x714)])==null?_0x509c41[_0x414f37(0xe3)]:_0xc18108)-((_0xe0e2a0=_0x1eb5e3[_0x414f37(0x714)])==null?_0x1eb5e3[_0x414f37(0xe3)]:_0xe0e2a0))<=0.001;}function mr(_0x35f573,_0x23b655){const _0x5147a7=_0x2d565c;return _0x35f573&&!!(_0x23b655!=null&&_0x23b655[_0x5147a7(0x435)]);}function hr(_0x29d154){const _0x488baf=_0x2d565c;var _0x2ffc1;let _0x2ef22c=(0x0,s[_0x488baf(0x2b3)])(h[_0x488baf(0x3e3)])[_0x488baf(0x19b)](_0x29d154),_0x1231ce=_0x2ef22c==null?void 0x0:_0x2ef22c[_0x488baf(0x45e)](p['DocSelectionRenderService']),_0x192244=(0x0,s[_0x488baf(0xfb)])(_0x1231ce==null?void 0x0:_0x1231ce[_0x488baf(0x2be)]);return mr((_0x2ffc1=_0x1231ce==null?void 0x0:_0x1231ce['isFocusing'])!=null&&_0x2ffc1,_0x192244==null?void 0x0:_0x192244[_0x488baf(0x23d)]);}const gr=0xfa0;function _r(_0x3eb9f8,_0x5c89d2){const _0x1be562=_0x2d565c;var _0x527f1e,_0x136ed9;let _0x16b9e7=s[_0x1be562(0x47a)][_0x1be562(0x5a7)](_0x4f21ca=>Number(_0x4f21ca[_0x1be562(0x456)]))['filter'](_0x4d2fce=>Number[_0x1be562(0x49d)](_0x4d2fce)&&_0x4d2fce>0x0)['sort']((_0x4cccd3,_0x394c4c)=>_0x4cccd3-_0x394c4c),_0x511921=Number['isFinite'](_0x3eb9f8)?_0x3eb9f8:0xe;if(_0x5c89d2>0x0){var _0xacea23,_0x27318f;return(_0xacea23=(_0x27318f=_0x16b9e7[_0x1be562(0x1f1)](_0x54d754=>_0x54d754>_0x511921))==null?_0x16b9e7[_0x16b9e7[_0x1be562(0x435)]-0x1]:_0x27318f)==null?_0x511921:_0xacea23;}return(_0x527f1e=(_0x136ed9=[..._0x16b9e7]['reverse']()[_0x1be562(0x1f1)](_0x290a4c=>_0x290a4c<_0x511921))==null?_0x16b9e7[0x0]:_0x136ed9)==null?_0x511921:_0x527f1e;}function vr(_0x1c4f70){const _0x5ee5d5=_0x2d565c;let {editorUnitId:_0x323cf9,editingParams:_0x27fd5c}=_0x1c4f70;return _0x27fd5c?[_0x323cf9,_0x27fd5c['unitId'],_0x27fd5c[_0x5ee5d5(0x57b)],_0x27fd5c[_0x5ee5d5(0xf6)],_0x27fd5c[_0x5ee5d5(0x672)]][_0x5ee5d5(0x54a)]('|'):null;}function yr(_0x3b7cb4,_0x13442d){const _0x1ea611=_0x2d565c;if(!_0x3b7cb4)return!0x0;if(_0x3b7cb4 instanceof Node&&_0x13442d!=null&&_0x13442d[_0x1ea611(0x256)](_0x3b7cb4))return!0x1;if(_0x3b7cb4 instanceof Element){if(_0x3b7cb4['closest'](_0x1ea611(0x3b1)))return!0x1;let _0x3c9568=_0x3b7cb4[_0x1ea611(0x10d)](_0x1ea611(0x60b)+p['OrderListCommand']['id']+'\x22],\x20[data-u-command=\x22'+p[_0x1ea611(0x516)]['id']+'\x22]'),_0x2cf09e=_0x3b7cb4[_0x1ea611(0x10d)]('[data-u-editor-interaction-boundary=\x22true\x22]');if(_0x3c9568||_0x2cf09e){let _0x5ddeeb=(0x0,s[_0x1ea611(0x514)])(_0x13442d),_0xfff104=(0x0,s[_0x1ea611(0x514)])(_0x3b7cb4);return _0x5ddeeb||_0xfff104?_0x5ddeeb!==_0xfff104:!0x1;}return!0x0;}return!0x0;}function br(_0x1101f1){const _0x281bfd=_0x2d565c;return _0x1101f1[_0x281bfd(0x3e5)][_0x281bfd(0x59e)](_0x1101f1[_0x281bfd(0x44c)]);}function xr(_0x5a2f78){const _0x7552d7=_0x2d565c;var _0x55a064,_0x56cff5;let _0x139a3e=Tn(_0x5a2f78[_0x7552d7(0x4ad)]);return{..._0x139a3e,'isHorizontal':(_0x55a064=(_0x56cff5=_0x5a2f78[_0x7552d7(0x313)])==null?_0x139a3e[_0x7552d7(0x313)]:_0x56cff5)==null||_0x55a064,'dataModel':_0x5a2f78[_0x7552d7(0x18c)]};}function Sr(_0x5a412f,_0x2b3c2a){return{'id':_0x5a412f,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,o['createParagraphId'])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x2b3c2a,'height':0x1/0x0}}};}function Cr(_0x4e847d){const _0x5f31df=_0x2d565c;let _0x5eb9c5=Number['isFinite'](_0x4e847d[_0x5f31df(0x78f)])?Math['max'](0x0,_0x4e847d['placeholderWidth']):0x0,_0x4b1b24=Math[_0x5f31df(0x141)](0x78,Math[_0x5f31df(0x419)](_0x5eb9c5+0x10));return _0x4e847d[_0x5f31df(0x313)]?{'width':_0x4b1b24,'height':0x28}:{'width':0x28,'height':_0x4b1b24};}function wr(_0x4e115c,_0x376964){const _0x4b6730=_0x2d565c;return(0x0,h['measureDocumentNoWrapTextWidth'])({..._0x4e115c,'body':{'dataStream':_0x376964+'\x0d\x0a','paragraphs':[{'startIndex':_0x376964[_0x4b6730(0x435)],'paragraphId':(0x0,o[_0x4b6730(0x5ee)])(new Set())}],'textRuns':[]}});}function Tr(_0x2727e3){const _0x4d8fdf=_0x2d565c;let _0x3f8e1b=Number['isFinite'](_0x2727e3[_0x4d8fdf(0x554)])&&_0x2727e3['textRectWidth']>0x0?_0x2727e3[_0x4d8fdf(0x554)]:0x1;if(!_0x2727e3['autoFitNoWrap'])return _0x3f8e1b;let _0x1ec7f9=_0x2727e3[_0x4d8fdf(0x599)];return Math[_0x4d8fdf(0x141)](_0x3f8e1b,Number['isFinite'](_0x1ec7f9)&&_0x1ec7f9!==void 0x0&&_0x1ec7f9>0x0?Math[_0x4d8fdf(0x141)](_0x1ec7f9,gr):gr);}function Er(_0x36bb16){const _0x2c4135=_0x2d565c;return(0x0,h[_0x2c4135(0x5f1)])(_0x36bb16);}function Dr(_0x2d6771){const _0x2009fa=_0x2d565c;let _0x4a4ef7=Number[_0x2009fa(0x49d)](_0x2d6771['textRectWidth'])&&_0x2d6771[_0x2009fa(0x554)]>0x0?_0x2d6771[_0x2009fa(0x554)]:0x1;if(!_0x2d6771[_0x2009fa(0x2b4)])return _0x4a4ef7;let _0x452c5a=Number[_0x2009fa(0x49d)](_0x2d6771[_0x2009fa(0x18a)])&&_0x2d6771[_0x2009fa(0x18a)]>0x0?_0x2d6771[_0x2009fa(0x18a)]:0x0,_0x56f384=Number['isFinite'](_0x2d6771[_0x2009fa(0x563)])&&_0x2d6771['measuredContentWidth']!==void 0x0&&_0x2d6771[_0x2009fa(0x563)]>0x0?_0x2d6771['measuredContentWidth']:void 0x0,_0x5182db=_0x452c5a+0x2;return Math[_0x2009fa(0x141)](_0x4a4ef7,_0x56f384==null?_0x5182db:_0x56f384);}function Or(_0x171aad){const _0x2d495a=_0x2d565c;if(!_0x171aad[_0x2d495a(0x2b4)])return _0x171aad['renderedContentWidth'];let _0x4b95c9=Number[_0x2d495a(0x49d)](_0x171aad[_0x2d495a(0x563)])&&_0x171aad[_0x2d495a(0x563)]!==void 0x0&&_0x171aad['measuredContentWidth']>0x0?_0x171aad[_0x2d495a(0x563)]:void 0x0;return _0x171aad[_0x2d495a(0x4c9)]&&_0x4b95c9!==void 0x0?_0x4b95c9:_0x171aad['renderedContentWidth'];}function kr(_0x32fcb7){const _0xa4efa2=_0x2d565c;let _0x5339a8=Number[_0xa4efa2(0x49d)](_0x32fcb7[_0xa4efa2(0x554)])&&_0x32fcb7[_0xa4efa2(0x554)]>0x0?_0x32fcb7[_0xa4efa2(0x554)]:0x1;if(!_0x32fcb7[_0xa4efa2(0x2b4)])return _0x5339a8;let _0x232855=Number[_0xa4efa2(0x49d)](_0x32fcb7[_0xa4efa2(0x758)])&&_0x32fcb7[_0xa4efa2(0x758)]>0x0?_0x32fcb7['renderedContentWidth']:_0x5339a8;return Math[_0xa4efa2(0x141)](_0x5339a8,_0x232855);}function Ar(_0x96e903){const _0x158662=_0x2d565c;let _0x41b9be=Number[_0x158662(0x49d)](_0x96e903['editorWidth'])&&_0x96e903[_0x158662(0xe3)]>0x0?_0x96e903[_0x158662(0xe3)]:0x1;if(!_0x96e903[_0x158662(0x2b4)])return _0x41b9be;let _0x3230f9=Number[_0x158662(0x49d)](_0x96e903[_0x158662(0x40d)])&&_0x96e903['scaleX']>0x0?_0x96e903[_0x158662(0x40d)]:0x1,_0xa7822e=Number['isFinite'](_0x96e903[_0x158662(0x364)])&&_0x96e903[_0x158662(0x364)]>0x0?_0x96e903[_0x158662(0x364)]:_0x41b9be/_0x3230f9;return Math[_0x158662(0x141)](_0x41b9be,_0xa7822e*_0x3230f9);}function jr(_0x147d01){const _0x34dced=_0x2d565c;var _0x2a1696;let _0x205051=(_0x2a1696=_0x147d01[_0x34dced(0x502)])==null?0x1:_0x2a1696;return Math['abs'](_0x147d01[_0x34dced(0x35c)]-_0x147d01[_0x34dced(0x5ed)])>_0x205051||Math[_0x34dced(0x589)](_0x147d01['nextHeight']-_0x147d01[_0x34dced(0x424)])>_0x205051;}function Mr(_0x5802ba){const _0x593f63=_0x2d565c;var _0x3a1467,_0x13f454;let {adapter:_0x14eb35,editingParams:_0x3df118}=_0x5802ba;return!_0x14eb35[_0x593f63(0x1eb)]||!_0x3df118?!0x1:(_0x3a1467=(_0x13f454=_0x14eb35[_0x593f63(0x187)])==null?void 0x0:_0x13f454[_0x593f63(0x6a0)](_0x14eb35,_0x3df118))==null||_0x3a1467;}function Nr(_0x309fe7){const _0x174e10=_0x2d565c;var _0xd664c0;let {adapter:_0x12873c,editingParams:_0x3c3c56}=_0x309fe7;return _0x3c3c56?((_0xd664c0=_0x12873c[_0x174e10(0x7a6)])==null?void 0x0:_0xd664c0[_0x174e10(0x6a0)](_0x12873c,_0x3c3c56))===!0x0:!0x1;}function Pr(_0x266ccf){const _0xa2abba=_0x2d565c;return _0x266ccf['opticalVerticalAlign']?o['VerticalAlign'][_0xa2abba(0x4f9)]:_0x266ccf[_0xa2abba(0x5a2)];}function Fr(_0x137308){const _0x5f3fbe=_0x2d565c;let {actualHeight:_0x1cf7b5,contentWidth:_0x134770,opticalVerticalOffset:_0x1bcc94,scaleX:_0x3740af,scaleY:_0x589cc8,textRect:_0x1e328c,verticalAlign:_0x3dd8d9}=_0x137308,_0x4bb302=Qn({'contentHeight':_0x1cf7b5,'verticalAlign':_0x3dd8d9,'verticalOffset':_0x1bcc94,'viewportHeight':Math['max'](0x1,_0x1e328c[_0x5f3fbe(0x54e)])}),_0x584874=_0x4bb302[_0x5f3fbe(0x45b)],_0x544342=Math[_0x5f3fbe(0x141)](0x1,_0x1e328c['width'],_0x134770==null?_0x1e328c[_0x5f3fbe(0x2d1)]:_0x134770);return{'documentMarginTop':_0x4bb302[_0x5f3fbe(0x55c)],'editorLeft':Math['max'](0x0,_0x1e328c[_0x5f3fbe(0x266)])*_0x3740af,'editorTop':(Math[_0x5f3fbe(0x141)](0x0,_0x1e328c[_0x5f3fbe(0x337)])+_0x4bb302[_0x5f3fbe(0x5dd)])*_0x589cc8,'editorWidth':_0x544342*_0x3740af,'editorHeight':_0x584874*_0x589cc8,'pageHeight':_0x584874};}function Ir(_0x1cbf7f){const _0x3763fd=_0x2d565c;var _0x54e506;let _0x1086d4=_0x1cbf7f[_0x3763fd(0x31e)]===o['HorizontalAlign']['CENTER']?'center':_0x1cbf7f[_0x3763fd(0x31e)]===o[_0x3763fd(0x766)][_0x3763fd(0x51f)]?_0x3763fd(0x764):_0x3763fd(0x266);return{'left':_0x1cbf7f[_0x3763fd(0x38d)],'top':_0x1cbf7f[_0x3763fd(0x270)]+_0x1cbf7f[_0x3763fd(0x6c1)],'width':(_0x54e506=_0x1cbf7f['editorSurfaceWidth'])==null?_0x1cbf7f[_0x3763fd(0xe3)]:_0x54e506,'textAlign':_0x1086d4};}function Lr(_0x20eb6b){const _0x2a5ded=_0x2d565c;let {allowShrink:_0x593a43=!0x1,hostWidth:_0x3023fc,hostHeight:_0x1e4696,textRect:_0x15f5c6,contentWidth:_0x302fc1,contentHeight:_0x2091a2}=_0x20eb6b,_0x38b122=Number['isFinite'](_0x3023fc)&&_0x3023fc>0x0?_0x3023fc:0x1,_0x5df74a=Number[_0x2a5ded(0x49d)](_0x1e4696)&&_0x1e4696>0x0?_0x1e4696:0x1,_0x534149=Math[_0x2a5ded(0x141)](0x0,_0x15f5c6[_0x2a5ded(0x266)]),_0xbe272c=Math[_0x2a5ded(0x141)](0x0,_0x15f5c6['top']),_0xa8e564=Math[_0x2a5ded(0x141)](0x1,_0x15f5c6[_0x2a5ded(0x2d1)]),_0x31a6da=Math['max'](0x1,_0x15f5c6[_0x2a5ded(0x54e)]),_0x23776e=Math['max'](0x0,_0x38b122-_0x534149-_0xa8e564),_0xa7e7c5=Math[_0x2a5ded(0x141)](0x0,_0x5df74a-_0xbe272c-_0x31a6da),_0x1afdc0=Math[_0x2a5ded(0x141)](0x1,_0x593a43?_0x302fc1:Math['max'](_0xa8e564,_0x302fc1)),_0x52b68d=Math[_0x2a5ded(0x141)](0x1,_0x593a43?_0x2091a2:Math[_0x2a5ded(0x141)](_0x31a6da,_0x2091a2)),_0x28230f=Math[_0x2a5ded(0x419)](_0x534149+_0x1afdc0+_0x23776e),_0x53fbce=Math[_0x2a5ded(0x419)](_0xbe272c+_0x52b68d+_0xa7e7c5);return{'width':_0x593a43?_0x28230f:Math[_0x2a5ded(0x141)](_0x38b122,_0x28230f),'height':_0x593a43?_0x53fbce:Math[_0x2a5ded(0x141)](_0x5df74a,_0x53fbce)};}function Rr(_0x199358){const _0x5eaf36=_0x2d565c;let _0x432359=Math[_0x5eaf36(0x141)](0x1,_0x199358['flowAxisLength']),_0x199d64=Math[_0x5eaf36(0x141)](0x1,_0x199358[_0x5eaf36(0x7c3)]);return _0x199358[_0x5eaf36(0x3a8)]==='width'?{'width':_0x432359,'height':_0x199d64}:{'width':_0x199d64,'height':_0x432359};}function zr(_0x3895ca,_0x45645a,_0x23b97d,_0x56e773){const _0x3a4a12=_0x2d565c;return{'top':_0x56e773===void 0x0?0x0:_0x45645a,'left':_0x23b97d===void 0x0?0x0:_0x3895ca,'width':_0x23b97d==null?_0x3895ca:_0x23b97d,'height':_0x56e773==null?_0x45645a:_0x56e773,'borderColor':'transparent','outlineColor':'transparent','backgroundColor':_0x3a4a12(0x182)};}function Br(_0x1fb83e,_0x2800b9){const _0x8839a7=_0x2d565c;var _0x259ce0;if(!_0x1fb83e)return;_0x1fb83e['style'][_0x8839a7(0x266)]=_0x2800b9[_0x8839a7(0x38d)]+'px',_0x1fb83e[_0x8839a7(0x48d)][_0x8839a7(0x337)]=_0x2800b9[_0x8839a7(0x270)]+'px';let _0x37b9ec=(_0x259ce0=_0x2800b9[_0x8839a7(0x714)])==null?_0x2800b9['editorWidth']:_0x259ce0;_0x1fb83e[_0x8839a7(0x48d)][_0x8839a7(0x2d1)]=_0x37b9ec+'px',_0x1fb83e['style'][_0x8839a7(0x54e)]=Math[_0x8839a7(0x141)](0x1,_0x2800b9[_0x8839a7(0x174)])+'px';}function Vr(_0x25d5ab,..._0x5197b7){const _0x295bec=_0x2d565c;_0x25d5ab[_0x295bec(0x55b)](..._0x5197b7),_0x25d5ab[_0x295bec(0x342)]();}function Hr(_0x41a805){const _0x57cb2f=_0x2d565c;return _0x41a805[_0x57cb2f(0x5d2)]()?_0x41a805['getDocumentData']():null;}function Ur(_0x2540a1){const _0x19da9f=_0x2d565c;var _0x5300ac,_0x41f197;let _0x4f1e43=_0x2540a1==null||(_0x5300ac=_0x2540a1[_0x19da9f(0xc5)])==null||(_0x41f197=_0x5300ac[_0x19da9f(0x39e)])==null?void 0x0:_0x41f197[_0x19da9f(0x6a0)](_0x5300ac);_0x4f1e43&&(_0x4f1e43['style']['backgroundColor']='transparent');}function Wr(_0x101cfd){const _0x2583e0=_0x2d565c;var _0x1828d0,_0x384943;let _0x4ec190=_0x5695b9=>{const _0x2affb3=_0x1c0f;if(!_0x5695b9||typeof _0x5695b9!=_0x2affb3(0x4a1))return;let _0x31d8e2=_0x5695b9;_0x31d8e2[_0x2affb3(0x6f2)]!==void 0x0&&(_0x31d8e2[_0x2affb3(0x6f2)]=0x0),_0x31d8e2[_0x2affb3(0x20f)]!==void 0x0&&(_0x31d8e2['pageMarginTop']=0x0);};_0x4ec190(_0x101cfd==null?void 0x0:_0x101cfd[_0x2583e0(0x13d)]),_0x101cfd==null||(_0x1828d0=_0x101cfd[_0x2583e0(0x282)])==null||(_0x384943=_0x1828d0['forEach'])==null||_0x384943['call'](_0x1828d0,_0x4ec190);}function Gr(_0x5b965f){const _0xf3c7dd=_0x2d565c;var _0x43425a,_0x134ab2,_0x2e6ad8,_0x3e5eef;_0x5b965f==null||(_0x43425a=_0x5b965f[_0xf3c7dd(0x13d)])==null||(_0x134ab2=_0x43425a[_0xf3c7dd(0x5cd)])==null||_0x134ab2[_0xf3c7dd(0x6a0)](_0x43425a,!0x0);let _0x2dad9b=_0x5b965f==null?void 0x0:_0x5b965f[_0xf3c7dd(0x3ae)];_0x2dad9b==null||(_0x2e6ad8=_0x2dad9b['makeDirty'])==null||_0x2e6ad8['call'](_0x2dad9b,!0x0),_0x2dad9b==null||(_0x3e5eef=_0x2dad9b[_0xf3c7dd(0x616)])==null||_0x3e5eef[_0xf3c7dd(0x6a0)](_0x2dad9b);}function Kr(_0x355e5c,_0x3cf19b,_0x2f77da={}){const _0x517fb1=_0x2d565c;let _0x114f2e=s['MetaKeys'][_0x517fb1(0x442)],_0x16b53f=s[_0x517fb1(0x495)][_0x517fb1(0x442)]|s[_0x517fb1(0x495)][_0x517fb1(0x69b)];return{'keyCodes':[..._0x2f77da['commitOnEnter']?[{'keyCode':s[_0x517fb1(0x73e)][_0x517fb1(0x49b)]},{'keyCode':s[_0x517fb1(0x73e)][_0x517fb1(0x49b)],'metaKey':s[_0x517fb1(0x495)][_0x517fb1(0x69b)]},{'keyCode':s['KeyCode'][_0x517fb1(0x49b)],'metaKey':_0x114f2e}]:[{'keyCode':s[_0x517fb1(0x73e)]['ENTER']}],{'keyCode':s['KeyCode'][_0x517fb1(0x72c)]},{'keyCode':s[_0x517fb1(0x73e)][_0x517fb1(0xc9)]},{'keyCode':s[_0x517fb1(0x73e)]['DELETE']},{'keyCode':s[_0x517fb1(0x73e)]['A'],'metaKey':_0x114f2e,'nativeTextEditorBehavior':s[_0x517fb1(0x5b2)][_0x517fb1(0x184)]},{'keyCode':s['KeyCode']['B'],'metaKey':_0x114f2e},{'keyCode':s['KeyCode']['I'],'metaKey':_0x114f2e},{'keyCode':s[_0x517fb1(0x73e)]['U'],'metaKey':_0x114f2e},{'keyCode':s[_0x517fb1(0x73e)]['X'],'metaKey':_0x16b53f},{'keyCode':s[_0x517fb1(0x73e)][_0x517fb1(0x56d)],'metaKey':_0x114f2e},{'keyCode':s[_0x517fb1(0x73e)]['PERIOD'],'metaKey':_0x114f2e},{'keyCode':s['KeyCode'][_0x517fb1(0x386)],'metaKey':s[_0x517fb1(0x495)][_0x517fb1(0x20b)]|s[_0x517fb1(0x495)][_0x517fb1(0x69b)]},{'keyCode':s[_0x517fb1(0x73e)]['COMMA'],'metaKey':s['MetaKeys'][_0x517fb1(0x20b)]|s[_0x517fb1(0x495)]['SHIFT']},{'keyCode':s[_0x517fb1(0x73e)]['K'],'metaKey':_0x114f2e},{'keyCode':s[_0x517fb1(0x73e)]['L'],'metaKey':_0x16b53f},{'keyCode':s[_0x517fb1(0x73e)]['R'],'metaKey':_0x16b53f},{'keyCode':s[_0x517fb1(0x73e)]['E'],'metaKey':_0x16b53f},{'keyCode':s[_0x517fb1(0x73e)]['J'],'metaKey':_0x16b53f},{'keyCode':s[_0x517fb1(0x73e)][_0x517fb1(0x386)],'metaKey':_0x16b53f},{'keyCode':s['KeyCode']['Digit7'],'metaKey':_0x16b53f},{'keyCode':s[_0x517fb1(0x73e)]['Digit8'],'metaKey':_0x16b53f},{'keyCode':s[_0x517fb1(0x73e)]['Z'],'metaKey':_0x114f2e},{'keyCode':s[_0x517fb1(0x73e)]['Y'],'metaKey':_0x114f2e},{'keyCode':s['KeyCode']['Z'],'metaKey':_0x16b53f}],'handler':(_0x457183,_0x5b6749)=>{const _0x23d3bd=_0x517fb1;switch(_0x457183+':'+(_0x5b6749==null?0x0:_0x5b6749)){case s[_0x23d3bd(0x73e)]['ESC']+':0':var _0x3b8203;(_0x3b8203=_0x2f77da[_0x23d3bd(0x405)])==null||_0x3b8203[_0x23d3bd(0x6a0)](_0x2f77da);break;case s[_0x23d3bd(0x73e)][_0x23d3bd(0x49b)]+':0':if(_0x2f77da[_0x23d3bd(0x368)]){var _0x55af8a;(_0x55af8a=_0x2f77da[_0x23d3bd(0x24f)])==null||_0x55af8a[_0x23d3bd(0x6a0)](_0x2f77da);}else _0x355e5c[_0x23d3bd(0x6ed)](p['BreakLineCommand']['id']);break;case s[_0x23d3bd(0x73e)][_0x23d3bd(0x49b)]+':'+s[_0x23d3bd(0x495)][_0x23d3bd(0x69b)]:case s[_0x23d3bd(0x73e)]['ENTER']+':'+_0x114f2e:_0x355e5c[_0x23d3bd(0x6ed)](p['BreakLineCommand']['id']);break;case s['KeyCode'][_0x23d3bd(0xc9)]+':0':_0x355e5c['executeCommand'](p['DeleteLeftCommand']['id']);break;case s[_0x23d3bd(0x73e)]['DELETE']+':0':_0x355e5c[_0x23d3bd(0x6ed)](p['DeleteRightCommand']['id']);break;case s[_0x23d3bd(0x73e)]['A']+':'+_0x114f2e:_0x355e5c['executeCommand'](p[_0x23d3bd(0x4fc)]['id']);break;case s[_0x23d3bd(0x73e)]['B']+':'+_0x114f2e:_0x355e5c[_0x23d3bd(0x6ed)](p['SetInlineFormatBoldCommand']['id']);break;case s[_0x23d3bd(0x73e)]['I']+':'+_0x114f2e:_0x355e5c[_0x23d3bd(0x6ed)](p['SetInlineFormatItalicCommand']['id']);break;case s[_0x23d3bd(0x73e)]['U']+':'+_0x114f2e:_0x355e5c['executeCommand'](p['SetInlineFormatUnderlineCommand']['id']);break;case s[_0x23d3bd(0x73e)]['X']+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](p['SetInlineFormatStrikethroughCommand']['id']);break;case s[_0x23d3bd(0x73e)]['COMMA']+':'+_0x114f2e:_0x355e5c[_0x23d3bd(0x6ed)](p['SetInlineFormatSubscriptCommand']['id']);break;case s[_0x23d3bd(0x73e)]['PERIOD']+':'+_0x114f2e:_0x355e5c[_0x23d3bd(0x6ed)](p['SetInlineFormatSuperscriptCommand']['id']);break;case s['KeyCode'][_0x23d3bd(0x386)]+':'+(s[_0x23d3bd(0x495)]['ALT']|s[_0x23d3bd(0x495)][_0x23d3bd(0x69b)]):_0x355e5c[_0x23d3bd(0x6ed)](p[_0x23d3bd(0x660)]['id'],{'value':_r(_0x2f77da[_0x23d3bd(0x446)],0x1)});break;case s[_0x23d3bd(0x73e)][_0x23d3bd(0x56d)]+':'+(s[_0x23d3bd(0x495)][_0x23d3bd(0x20b)]|s['MetaKeys'][_0x23d3bd(0x69b)]):_0x355e5c[_0x23d3bd(0x6ed)](p[_0x23d3bd(0x660)]['id'],{'value':_r(_0x2f77da[_0x23d3bd(0x446)],-0x1)});break;case s[_0x23d3bd(0x73e)]['K']+':'+_0x114f2e:_0x355e5c[_0x23d3bd(0x6ed)]('doc.operation.show-hyper-link-edit-popup');break;case s[_0x23d3bd(0x73e)]['L']+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](p[_0x23d3bd(0x6bf)]['id']);break;case s['KeyCode']['R']+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](p['AlignRightCommand']['id']);break;case s[_0x23d3bd(0x73e)]['E']+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](p[_0x23d3bd(0x70a)]['id']);break;case s[_0x23d3bd(0x73e)]['J']+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](p[_0x23d3bd(0x690)]['id']);break;case s[_0x23d3bd(0x73e)][_0x23d3bd(0x386)]+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](Rn);break;case s['KeyCode'][_0x23d3bd(0x36d)]+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](p[_0x23d3bd(0x157)]['id']);break;case s['KeyCode'][_0x23d3bd(0x5f5)]+':'+_0x16b53f:_0x355e5c[_0x23d3bd(0x6ed)](p[_0x23d3bd(0x516)]['id']);break;case s[_0x23d3bd(0x73e)]['Z']+':'+_0x114f2e:_0x3cf19b?_0x3cf19b(o[_0x23d3bd(0x625)]['id']):_0x355e5c[_0x23d3bd(0x6ed)](o[_0x23d3bd(0x625)]['id']);break;case s[_0x23d3bd(0x73e)]['Y']+':'+_0x114f2e:case s[_0x23d3bd(0x73e)]['Z']+':'+_0x16b53f:_0x3cf19b?_0x3cf19b(o[_0x23d3bd(0x77d)]['id']):_0x355e5c[_0x23d3bd(0x6ed)](o[_0x23d3bd(0x77d)]['id']);break;}}};}const qr=function(_0x3a8e40){const _0xac21ba=_0x2d565c;var _0x3692fc,_0x251cf6,_0x56e7ba;let {adapter:_0xa0a24f,containerWidth:_0x51cdec,containerHeight:_0x32734a,editingParams:_0xad7f5f,editingService:_0x850bff,editorUnitId:_0x394fa8,scaleX:_0x446c25,scaleY:_0x35cdb2,verticalAlignCommandId:_0x4fd768}=_0x3a8e40,_0x5d0edd=_0x446c25||0x1,_0x1702aa=_0x35cdb2||0x1,_0x279e52=(0x0,s['useDependency'])(p[_0xac21ba(0x301)]),_0x340d85=(0x0,s[_0xac21ba(0x2b3)])(h[_0xac21ba(0x3e3)]),_0x226572=(0x0,s['useDependency'])(o['IUniverInstanceService']),_0x59b452=(0x0,s['useDependency'])(o[_0xac21ba(0x538)]),_0x52e7b7=(0x0,s[_0xac21ba(0x2b3)])(f['DocStateEmitService']),_0x3d9558=(0x0,s[_0xac21ba(0x2b3)])(o['LocaleService']),_0x22df15=(0x0,n[_0xac21ba(0x1f6)])(()=>_0x3d9558['t']('shape-editor-ui.textEditor.placeholder'),[(0x0,s[_0xac21ba(0xfb)])(()=>_0x3d9558['currentLocale$'],_0x3d9558[_0xac21ba(0x1db)](),!0x1,[_0x3d9558]),_0x3d9558]),_0x405b61=(0x0,s[_0xac21ba(0xfb)])(_0x850bff[_0xac21ba(0x11b)]),_0x323ca=(0x0,n[_0xac21ba(0x32a)])(!0x1),_0x366e95=(0x0,n[_0xac21ba(0x32a)])(null),_0xeca0d0=(0x0,n[_0xac21ba(0x32a)])(null),_0x465be7=(0x0,n[_0xac21ba(0x32a)])(null),_0x2c1c41=(0x0,n[_0xac21ba(0x32a)])(null),_0x50a595=(0x0,n[_0xac21ba(0x32a)])(null),_0x417d29=(0x0,n[_0xac21ba(0x32a)])(null),_0x3c27dd=(0x0,n['useRef'])(null),_0x3e873b=(0x0,n['useRef'])({'width':0x0,'height':0x0}),_0x2e15c8=(0x0,n[_0xac21ba(0x32a)])(null),_0x1d4250=(0x0,n[_0xac21ba(0x32a)])(()=>{}),_0x45aa9d=(0x0,n[_0xac21ba(0x32a)])(()=>{}),_0x56466f=(0x0,n[_0xac21ba(0x32a)])(()=>{}),[_0x1e234e,_0x3b36d1]=(0x0,n[_0xac21ba(0x311)])({'documentMarginTop':0x0,'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x51cdec,'editorHeight':_0x32734a});_0x323ca[_0xac21ba(0x70e)]=!!_0x405b61;let _0x52c24b=(0x0,n[_0xac21ba(0x637)])(_0x4837b1=>{Br(_0xeca0d0['current'],_0x4837b1),queueMicrotask(()=>{_0x3b36d1(_0x597b7c=>pr(_0x597b7c,_0x4837b1)?_0x597b7c:_0x4837b1);});},[]),_0xa3fda1=(0x0,n[_0xac21ba(0x637)])(()=>_0x226572[_0xac21ba(0x152)](_0x394fa8,o[_0xac21ba(0x6d2)][_0xac21ba(0x469)]),[_0x394fa8,_0x226572]),_0xf76ec1=(0x0,n[_0xac21ba(0x637)])(()=>{const _0x44326d=_0xac21ba;var _0xfac1bc;let _0x4094b7=_0x5d0edd,_0x2522a1=_0x1702aa;if(!_0xad7f5f)return{'scaleAdjust':0x1,'renderScaleX':_0x4094b7,'renderScaleY':_0x2522a1};let _0x3cf119=_0x340d85['getRenderUnitById'](_0xad7f5f[_0x44326d(0x2ab)]),_0x283015=_0x3cf119==null?void 0x0:_0x3cf119[_0x44326d(0x3ae)][_0x44326d(0x71d)](),_0x455ad0=_0x3cf119==null?void 0x0:_0x3cf119[_0x44326d(0xc5)][_0x44326d(0x39e)](),_0x9749e0=_0x455ad0?Number[_0x44326d(0x2d7)](_0x455ad0['style'][_0x44326d(0x2d1)]||''):0x0,_0x320ac1=(_0xfac1bc=_0x455ad0==null?void 0x0:_0x455ad0[_0x44326d(0x356)]()[_0x44326d(0x2d1)])==null?0x0:_0xfac1bc,_0x27dd5c=_0x9749e0>0x0&&_0x320ac1>0x0?_0x320ac1/_0x9749e0:0x1;return{'scaleAdjust':Number['isFinite'](_0x27dd5c)&&_0x27dd5c>0x0?_0x27dd5c:0x1,'renderScaleX':(_0x283015==null?void 0x0:_0x283015['scaleX'])||_0x4094b7,'renderScaleY':(_0x283015==null?void 0x0:_0x283015[_0x44326d(0x531)])||_0x2522a1};},[_0x5d0edd,_0x1702aa,_0xad7f5f,_0x340d85]),_0xcf62c0=(0x0,n[_0xac21ba(0x637)])(()=>{const _0x2e7f92=_0xac21ba;if(!_0xad7f5f)return{'left':0x0,'top':0x0,'width':_0x51cdec/_0x5d0edd,'height':_0x32734a/_0x1702aa};let {unitId:_0x1e405b,subUnitId:_0x2e9f34,shapeId:_0x8a4183}=_0xad7f5f,_0xbe8feb=_0xa0a24f[_0x2e7f92(0x60f)](_0x1e405b,_0x2e9f34,_0x8a4183);return _0xbe8feb?br({'hostRect':{'left':0x0,'top':0x0,'width':_0x51cdec/_0x5d0edd,'height':_0x32734a/_0x1702aa},'shapeModel':_0xbe8feb}):{'left':0x0,'top':0x0,'width':_0x51cdec/_0x5d0edd,'height':_0x32734a/_0x1702aa};},[_0xa0a24f,_0xad7f5f,_0x51cdec,_0x32734a,_0x5d0edd,_0x1702aa]),_0x423802=(0x0,n[_0xac21ba(0x637)])(()=>{const _0x5af088=_0xac21ba;var _0x4c0dd7,_0xb6d064;if(!_0xad7f5f)return null;let {unitId:_0x21d5af,subUnitId:_0x3de950,shapeId:_0x2d6f59}=_0xad7f5f,_0x2d25cd=_0xa0a24f[_0x5af088(0x60f)](_0x21d5af,_0x3de950,_0x2d6f59);if(!_0x2d25cd)return null;let _0xa0e796=(_0x4c0dd7=_0xa0a24f[_0x5af088(0x75e)])==null?void 0x0:_0x4c0dd7[_0x5af088(0x6a0)](_0xa0a24f,_0x21d5af,_0x3de950,_0x2d6f59),_0x492829=_0x2d25cd[_0x5af088(0x67f)]();if(!_0x492829)return null;let _0x98c741=De(_0xa0e796,_0x492829),_0x27434b=(_0xb6d064=_0xa0a24f[_0x5af088(0x547)](_0x21d5af,_0x3de950,_0x2d6f59))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0xb6d064,_0x4432eb={'left':0x0,'top':0x0,'width':_0x51cdec/_0x5d0edd,'height':_0x32734a/_0x1702aa},_0xeb1c49=_0x2d25cd[_0x5af088(0x59e)](_0x4432eb),_0x4292a0,_0x4a8609=o[_0x5af088(0x37f)]['TOP'],_0x53aeda=o['HorizontalAlign'][_0x5af088(0x6f7)];if(_0x5af088(0x18c)in _0x492829&&_0x492829['dataModel']){var _0x3ec121,_0x255cc8,_0x5f0605,_0x1e1141,_0x470503,_0x59ab8d;let _0x36f01b=Y(_0x492829[_0x5af088(0x18c)]);_0x36f01b!=null&&_0x36f01b['doc']&&(_0x4292a0=_0x36f01b[_0x5af088(0x217)]),_0x4a8609=(_0x3ec121=(_0x255cc8=_0x36f01b==null?void 0x0:_0x36f01b['va'])==null?_0x4292a0==null||(_0x5f0605=_0x4292a0['documentStyle'])==null||(_0x5f0605=_0x5f0605['renderConfig'])==null?void 0x0:_0x5f0605[_0x5af088(0x5a2)]:_0x255cc8)==null?o['VerticalAlign'][_0x5af088(0x4f9)]:_0x3ec121,_0x53aeda=(_0x1e1141=(_0x470503=_0x36f01b==null?void 0x0:_0x36f01b['ha'])==null?_0x4292a0==null||(_0x59ab8d=_0x4292a0['documentStyle'])==null||(_0x59ab8d=_0x59ab8d['renderConfig'])==null?void 0x0:_0x59ab8d[_0x5af088(0x31e)]:_0x470503)==null?o[_0x5af088(0x766)][_0x5af088(0x6f7)]:_0x1e1141;}let _0x35e72f=(0x0,S['resolveShapeTextBodyBehavior'])(_0x98c741),_0x3c1c9b=_0x35e72f[_0x5af088(0x3eb)]===_0x5af088(0x6a6)?ar({'documentData':_0x4292a0,'horizontalAlign':_0x53aeda,'horizontalAnchor':_0x35e72f[_0x5af088(0x3eb)],'isHorizontal':_0x492829[_0x5af088(0x313)],'textRect':_0xeb1c49,'textWrap':_0x35e72f[_0x5af088(0x43a)],'widthBuffer':0x2})['textRect']:_0xeb1c49;return{'shapeText':_0x492829,'bodyBehavior':_0x35e72f,'doc':_0x4292a0,'verticalAlign':_0x4a8609,'horizontalAlign':_0x53aeda,'wrapStrategy':Ae(_0x98c741),'autoFitNoWrap':Me(_0x98c741),'textRect':_0x3c1c9b,'transform':_0x27434b,'isHorizontal':_0x492829[_0x5af088(0x313)],'isTextBox':_0x98c741['isTextBox']===!0x0};},[_0xa0a24f,_0xad7f5f,_0x51cdec,_0x32734a,_0x5d0edd,_0x1702aa]),_0x92d276=(0x0,n['useMemo'])(()=>{const _0x177765=_0xac21ba;let _0x469fdc=_0x423802();if(_0x469fdc!=null&&_0x469fdc[_0x177765(0x217)])return bn(_0x469fdc[_0x177765(0x217)],{'bodyBehavior':_0x469fdc[_0x177765(0x185)],'isHorizontal':_0x469fdc[_0x177765(0x313)],'textRect':_0x469fdc[_0x177765(0x746)],'verticalAlign':_0x469fdc['verticalAlign'],'horizontalAlign':_0x469fdc[_0x177765(0x31e)],'wrapStrategy':_0x469fdc[_0x177765(0x1ed)]});let _0x506d47=Sr(_0x394fa8,_0x51cdec/_0x5d0edd);return _0x469fdc?bn(_0x506d47,{'bodyBehavior':_0x469fdc[_0x177765(0x185)],'isHorizontal':_0x469fdc[_0x177765(0x313)],'textRect':_0x469fdc['textRect'],'verticalAlign':_0x469fdc[_0x177765(0x5a2)],'horizontalAlign':_0x469fdc['horizontalAlign'],'wrapStrategy':_0x469fdc[_0x177765(0x1ed)]}):_0x506d47;},[_0x423802,_0x51cdec,_0x5d0edd]),[_0x548e52,_0x2cfdbd]=(0x0,n[_0xac21ba(0x311)])(()=>or(_0x92d276)),_0x4cac80=(0x0,p[_0xac21ba(0x676)])({'editorId':_0x394fa8,'initialValue':_0x92d276,'container':_0xeca0d0,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0xac21ba(0x182)},'isSingle':!0x1});(0x0,n[_0xac21ba(0x1a6)])(()=>{const _0x467c48=_0xac21ba;if(!_0x4cac80)return;let _0x1b454d=_0x340d85[_0x467c48(0x19b)](_0x394fa8);Ur(_0x1b454d),Wr(_0x1b454d);},[_0x4cac80,_0x394fa8,_0x340d85]);let _0x4ed5e5=hr(_0x394fa8),_0x48ec5e=_0xad7f5f?(_0x3692fc=(_0x251cf6=_0xa0a24f['commitOnEnter'])==null?void 0x0:_0x251cf6['call'](_0xa0a24f,_0xad7f5f))!=null&&_0x3692fc:!0x1,_0x43ec0e=(_0x56e7ba=_0x92d276[_0xac21ba(0x53d)])==null||(_0x56e7ba=_0x56e7ba['textStyle'])==null?void 0x0:_0x56e7ba['fs'];(0x0,p[_0xac21ba(0x519)])(_0x4ed5e5,(0x0,n[_0xac21ba(0x1f6)])(()=>Kr(_0x59b452,_0x55701f=>{(0x0,p['executeEditorUndoRedoCommand'])({'commandId':_0x55701f,'commandService':_0x59b452,'editorUnitId':_0x394fa8,'univerInstanceService':_0x226572});},{'commitOnEnter':_0x48ec5e,'cancel':()=>{const _0x4fe103=_0xac21ba;if(_0x850bff[_0x4fe103(0x29f)]){_0x850bff[_0x4fe103(0x29f)]();return;}_0x850bff[_0x4fe103(0x59d)](null);},'commit':()=>{const _0x26028b=_0xac21ba;if(_0x850bff[_0x26028b(0x25e)]){_0x850bff[_0x26028b(0x25e)]();return;}_0x850bff[_0x26028b(0x59d)](null);},'currentFontSize':_0x43ec0e}),[_0x59b452,_0x48ec5e,_0x43ec0e,_0x850bff,_0x394fa8,_0x226572]),_0x4cac80),(0x0,p[_0xac21ba(0x51a)])(_0x4ed5e5,!0x1,_0x4cac80),(0x0,n[_0xac21ba(0x1a6)])(()=>{const _0x545854=_0xac21ba;if(!(_0xad7f5f!=null&&_0xad7f5f['visible']))return;let _0x2c3634=_0x527a8f=>{const _0x37fbb5=_0x1c0f;if(_0x527a8f[_0x37fbb5(0x54f)]===0x0&&yr(_0x527a8f[_0x37fbb5(0xdb)],_0x366e95[_0x37fbb5(0x70e)])){if(_0x850bff[_0x37fbb5(0x25e)]){_0x850bff[_0x37fbb5(0x25e)](_0x527a8f);return;}_0x850bff['setEditing'](null);}};return document[_0x545854(0x171)](_0x545854(0x21c),_0x2c3634,!0x0),()=>{const _0xf7d0b0=_0x545854;document['removeEventListener'](_0xf7d0b0(0x21c),_0x2c3634,!0x0);};},[_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x67c)],_0x850bff]),(0x0,n[_0xac21ba(0x1a6)])(()=>{_0x3e873b['current']=_0xad7f5f?{'width':_0x51cdec/_0x5d0edd,'height':_0x32734a/_0x1702aa}:{'width':0x0,'height':0x0};},[_0x51cdec,_0x32734a,_0x5d0edd,_0x1702aa,_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x2ab)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x57b)],_0xad7f5f==null?void 0x0:_0xad7f5f['shapeId']]),(0x0,n[_0xac21ba(0x1a6)])(()=>{const _0x345371=_0xac21ba;_0x2e15c8[_0x345371(0x70e)]=null;},[_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x2ab)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x57b)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0xf6)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x672)]]);let _0x3c1d6d=(0x0,n[_0xac21ba(0x637)])(()=>{const _0x5102a2=_0xac21ba;let _0x5e8df9=_0x2e15c8[_0x5102a2(0x70e)];if(_0x5e8df9)return _0x2e15c8[_0x5102a2(0x70e)]=null,_0x3e873b[_0x5102a2(0x70e)]={'width':_0x5e8df9[_0x5102a2(0x2d1)],'height':_0x5e8df9[_0x5102a2(0x54e)]},_0x5e8df9;},[]),_0x2510f9=(0x0,n[_0xac21ba(0x637)])((_0x4b7739=!0x0,_0x17ff3a=!0x1)=>{const _0x57ceed=_0xac21ba;var _0x4cdbee,_0x24b46b,_0x2a28c1;if(!_0x4cac80)return;let _0x1ae100=_0x4cac80[_0x57ceed(0x3d3)]()[_0x57ceed(0x1f1)](_0x5bfe6d=>_0x5bfe6d['collapsed']),_0x224e78=((_0x4cdbee=(_0x24b46b=_0x4cac80['getDocumentData']()[_0x57ceed(0x2c5)])==null?void 0x0:_0x24b46b[_0x57ceed(0x733)][_0x57ceed(0x435)])==null?0x2:_0x4cdbee)-0x2,_0x38ff27=(_0x2a28c1=_0x1ae100==null?void 0x0:_0x1ae100['startOffset'])==null?_0x4b7739?_0x224e78:null:_0x2a28c1;_0x38ff27!==null&&_0x4cac80[_0x57ceed(0x4ee)]([{'startOffset':_0x38ff27,'endOffset':_0x38ff27}],_0x17ff3a);},[_0x4cac80]);_0x45aa9d['current']=_0x2510f9;let _0x94d161=(0x0,n['useCallback'])(()=>{const _0x46a3c1=_0xac21ba;_0x50a595[_0x46a3c1(0x70e)]!==null&&(cancelAnimationFrame(_0x50a595[_0x46a3c1(0x70e)]),_0x50a595[_0x46a3c1(0x70e)]=null),_0x50a595[_0x46a3c1(0x70e)]=requestAnimationFrame(()=>{const _0x1b5a48=_0x46a3c1;_0x50a595[_0x1b5a48(0x70e)]=null,_0x45aa9d[_0x1b5a48(0x70e)](!0x0,!0x0);});},[]),_0x80d464=(0x0,n[_0xac21ba(0x637)])(()=>{const _0x46f941=_0xac21ba;_0x417d29[_0x46f941(0x70e)]!==null&&(cancelAnimationFrame(_0x417d29[_0x46f941(0x70e)]),_0x417d29[_0x46f941(0x70e)]=null),_0x3c27dd['current']!==null&&(window['clearTimeout'](_0x3c27dd[_0x46f941(0x70e)]),_0x3c27dd['current']=null);},[]),_0x2136a2=(0x0,n[_0xac21ba(0x637)])(()=>{const _0x2c5912=_0xac21ba;var _0x7aed81,_0x4f1969,_0x34e66b,_0x23fd29,_0x1199b3,_0x59949b,_0x2ac3ab,_0x3460ab,_0x14c3f5;if(!_0x4cac80)return;let _0x1ba5f3=_0x340d85['getRenderUnitById'](_0x394fa8);Wr(_0x1ba5f3);let _0x5e6d11=_0x1ba5f3==null?void 0x0:_0x1ba5f3[_0x2c5912(0x45e)](f[_0x2c5912(0x53a)]);if(!_0x5e6d11)return;let _0x2207da=_0x5e6d11[_0x2c5912(0x34e)](),_0x1d5de0=_0xa3fda1(),{renderScaleX:_0x3d09be,renderScaleY:_0x86d503,scaleAdjust:_0x4dc1ce}=_0xf76ec1(),_0x40d57e=_0x423802(),_0x538aac=(_0x7aed81=_0x40d57e==null?void 0x0:_0x40d57e[_0x2c5912(0x5a2)])==null?o[_0x2c5912(0x37f)][_0x2c5912(0x4f9)]:_0x7aed81,_0x370c08=(_0x4f1969=_0x40d57e==null?void 0x0:_0x40d57e[_0x2c5912(0x31e)])==null?o[_0x2c5912(0x766)]['LEFT']:_0x4f1969,_0x1e467b=(_0x34e66b=_0x40d57e==null?void 0x0:_0x40d57e[_0x2c5912(0x1ed)])==null?o['WrapStrategy'][_0x2c5912(0x5f7)]:_0x34e66b,_0x595131=(_0x23fd29=_0x40d57e==null?void 0x0:_0x40d57e[_0x2c5912(0x2b4)])!=null&&_0x23fd29,_0xdb9e1c=(_0x1199b3=_0xcf62c0())==null?{'left':0x0,'top':0x0,'width':_0x51cdec/_0x5d0edd,'height':_0x32734a/_0x1702aa}:_0x1199b3,_0xeb0016=Ne({'shapeText':_0x40d57e==null?void 0x0:_0x40d57e[_0x2c5912(0x4ad)]}),_0x20809d=_0x1d5de0==null?void 0x0:_0x1d5de0[_0x2c5912(0x7b3)](),_0x1da6db=or(_0x20809d),_0x4e7b1a=_0xeb0016==='width'?_0xdb9e1c['width']:_0xdb9e1c['height'],_0x45f5fd=_0x595131?Er(_0x20809d)+0x2:_0x4e7b1a,_0x22f71b=Tr({'autoFitNoWrap':_0x595131,'maxAutoFitWidth':_0x45f5fd,'textRectWidth':_0x4e7b1a}),_0x419676=!0x1;if(_0x1d5de0){var _0xdf620a;_0x419676=Jn((_0xdf620a=_0x1d5de0[_0x2c5912(0x7b3)]()[_0x2c5912(0x53d)])==null||(_0xdf620a=_0xdf620a[_0x2c5912(0x5d4)])==null?void 0x0:_0xdf620a[_0x2c5912(0x7c6)]),_0x1d5de0[_0x2c5912(0x4e3)](Math[_0x2c5912(0x141)](_0x3d09be,_0x86d503)),_0x1d5de0['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x22f71b,'height':0x1/0x0}}),_0x1d5de0[_0x2c5912(0x2ed)]({'verticalAlign':Pr({'opticalVerticalAlign':_0x419676,'verticalAlign':_0x538aac}),'horizontalAlign':_0x370c08,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x1e467b}),_0x1d5de0['updateDocumentDataMargin']({'t':0x0});}(_0x59949b=_0x2207da[_0x2c5912(0x1c1)])==null||_0x59949b['call'](_0x2207da),_0x2207da[_0x2c5912(0x462)]();let {actualWidth:_0x3e6ee9,actualHeight:_0x2227a1}=_0x2207da[_0x2c5912(0x57a)](),_0x338f82=fr(_0x1ba5f3==null||(_0x2ac3ab=_0x1ba5f3[_0x2c5912(0x45e)](p[_0x2c5912(0x193)]))==null?void 0x0:_0x2ac3ab[_0x2c5912(0x791)]()),_0xce7ae0=dr($n(_0x2207da,_0x2227a1),_0x338f82),_0x2890f9=_0x419676?er(_0x2207da,_0xdb9e1c[_0x2c5912(0x54e)],_0x538aac):void 0x0,_0x2c0212=Dr({'actualWidth':_0x3e6ee9,'autoFitNoWrap':_0x595131,'measuredContentWidth':_0x45f5fd,'textRectWidth':_0x4e7b1a}),_0x101c1e=Mr({'adapter':_0xa0a24f,'editingParams':_0xad7f5f}),_0x2a9bb5=Rr({'flowAxis':_0xeb0016,'flowAxisLength':Or({'actualWidth':_0x3e6ee9,'allowShrink':_0x101c1e,'autoFitNoWrap':_0x595131,'measuredContentWidth':_0x45f5fd,'renderedContentWidth':_0x2c0212}),'crossAxisLength':_0xce7ae0}),_0x622ca9=Fr({'actualHeight':_0xce7ae0,'contentWidth':_0x2c0212,'opticalVerticalOffset':_0x2890f9,'scaleX':_0x5d0edd,'scaleY':_0x1702aa,'textRect':_0xdb9e1c,'verticalAlign':_0x538aac}),_0x5a3d1e=_0x51cdec/_0x5d0edd,_0x2898ac=_0x32734a/_0x1702aa,_0x522a0e=Lr({'hostWidth':_0x5a3d1e,'hostHeight':_0x2898ac,'textRect':_0xdb9e1c,'contentWidth':_0x2a9bb5[_0x2c5912(0x2d1)],'contentHeight':_0x2a9bb5[_0x2c5912(0x54e)],'allowShrink':_0x101c1e}),_0x16ecaf=_0x40d57e!=null&&_0x40d57e[_0x2c5912(0x17f)]&&_0x1da6db?Cr({'isHorizontal':_0x40d57e['isHorizontal'],'placeholderWidth':wr(_0x20809d==null?_0x92d276:_0x20809d,_0x22df15)}):null,_0x25f1cc=Math[_0x2c5912(0x419)](Math[_0x2c5912(0x141)](_0x522a0e[_0x2c5912(0x2d1)],(_0x3460ab=_0x16ecaf==null?void 0x0:_0x16ecaf[_0x2c5912(0x2d1)])==null?0x0:_0x3460ab)),_0x1484cf=Math[_0x2c5912(0x419)](Math[_0x2c5912(0x141)](_0x522a0e['height'],(_0x14c3f5=_0x16ecaf==null?void 0x0:_0x16ecaf[_0x2c5912(0x54e)])==null?0x0:_0x14c3f5)),_0x3b940b=_0x3e873b['current'],_0x48d8d9=jr({'nextWidth':_0x25f1cc,'nextHeight':_0x1484cf,'baselineWidth':_0x5a3d1e,'baselineHeight':_0x2898ac}),_0x389a40=jr({'nextWidth':_0x25f1cc,'nextHeight':_0x1484cf,'baselineWidth':_0x3b940b[_0x2c5912(0x2d1)],'baselineHeight':_0x3b940b['height']}),_0x5b3cff=_0xad7f5f&&_0xa0a24f[_0x2c5912(0x1eb)]&&_0x48d8d9&&_0x389a40,_0x5309ae=Nr({'adapter':_0xa0a24f,'editingParams':_0xad7f5f}),_0x5b7c30=jr({'nextWidth':_0x5a3d1e,'nextHeight':_0x1484cf,'baselineWidth':_0x5a3d1e,'baselineHeight':_0x2898ac}),_0x1ce043=jr({'nextWidth':_0x5a3d1e,'nextHeight':_0x1484cf,'baselineWidth':_0x5a3d1e,'baselineHeight':_0x3b940b['height']}),_0x568972=_0xad7f5f&&_0xa0a24f[_0x2c5912(0x6be)]&&_0x1484cf>_0x2898ac&&_0x1484cf>_0x3b940b['height']&&_0x5b7c30&&_0x1ce043,_0x2b8a52=Ar({'autoFitNoWrap':_0x595131,'editorWidth':_0x622ca9['editorWidth'],'measurePageWidth':_0x22f71b,'renderedContentWidth':_0x2c0212,'scaleX':_0x5d0edd});if(_0x52c24b({'documentMarginTop':_0x622ca9[_0x2c5912(0x6c1)]*_0x1702aa,'editorLeft':_0x622ca9[_0x2c5912(0x38d)],'editorTop':_0x622ca9[_0x2c5912(0x270)],'editorWidth':_0x622ca9[_0x2c5912(0xe3)],'editorHeight':_0x622ca9[_0x2c5912(0x174)],'editorSurfaceWidth':_0x2b8a52}),_0x1d5de0){let _0x4b8580=kr({'autoFitNoWrap':_0x595131,'measurePageWidth':_0x22f71b,'renderedContentWidth':_0x2c0212,'textRectWidth':_0x4e7b1a});_0x1d5de0[_0x2c5912(0x3a5)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x4b8580,'height':_0x622ca9[_0x2c5912(0x1e3)]}}),_0x1d5de0[_0x2c5912(0x6f3)]({'t':_0x622ca9['documentMarginTop']}),_0x2207da[_0x2c5912(0x462)]();}if(_0x1ba5f3){_0x622ca9[_0x2c5912(0xe3)];let _0x38f05c=_0x622ca9[_0x2c5912(0x174)];_0x1ba5f3[_0x2c5912(0x3ae)]['transformByState']({'width':_0x2b8a52*_0x4dc1ce/_0x3d09be,'height':_0x38f05c*_0x4dc1ce/_0x86d503,'scaleX':_0x3d09be*_0x4dc1ce,'scaleY':_0x86d503*_0x4dc1ce}),_0x1ba5f3['mainComponent']&&_0x1ba5f3[_0x2c5912(0x13d)]['resize'](_0x2b8a52*_0x4dc1ce/_0x3d09be,_0x38f05c*_0x4dc1ce/_0x86d503),Gr(_0x1ba5f3);}if(_0x5309ae&&_0xad7f5f&&_0xa0a24f[_0x2c5912(0x1eb)]){var _0x4b901c;let _0x395551={'unitId':_0xad7f5f[_0x2c5912(0x2ab)],'subUnitId':_0xad7f5f['subUnitId'],'shapeId':_0xad7f5f['shapeId'],'width':_0x25f1cc,'height':_0x1484cf};_0x2e15c8[_0x2c5912(0x70e)]=_0x395551,(_0x4b901c=_0xa0a24f[_0x2c5912(0x5af)])==null||_0x4b901c[_0x2c5912(0x6a0)](_0xa0a24f,_0x395551);}if(_0x5b3cff&&_0xad7f5f&&_0xa0a24f['updateHostSize']){if(_0x5309ae)return;_0x2e15c8[_0x2c5912(0x70e)]=null,_0x3e873b[_0x2c5912(0x70e)]={'width':_0x25f1cc,'height':_0x1484cf},_0xa0a24f[_0x2c5912(0x1eb)]({'unitId':_0xad7f5f[_0x2c5912(0x2ab)],'subUnitId':_0xad7f5f['subUnitId'],'shapeId':_0xad7f5f[_0x2c5912(0xf6)],'width':_0x25f1cc,'height':_0x1484cf}),_0x94d161();}else{if(_0x568972&&_0xad7f5f&&_0xa0a24f[_0x2c5912(0x6be)]){if(_0x5309ae)return;_0x2e15c8[_0x2c5912(0x70e)]=null,_0x3e873b[_0x2c5912(0x70e)]={'width':_0x5a3d1e,'height':_0x1484cf},_0xa0a24f[_0x2c5912(0x6be)]({'unitId':_0xad7f5f['unitId'],'subUnitId':_0xad7f5f[_0x2c5912(0x57b)],'shapeId':_0xad7f5f[_0x2c5912(0xf6)],'height':_0x1484cf}),_0x94d161();}}},[_0x4cac80,_0xa0a24f,_0xad7f5f,_0x340d85,_0xa3fda1,_0xf76ec1,_0x423802,_0xcf62c0,_0x51cdec,_0x32734a,_0x5d0edd,_0x1702aa,_0x92d276,_0x22df15,_0x94d161,_0x52c24b]);_0x1d4250['current']=_0x2136a2;let _0x596bb3=(0x0,n[_0xac21ba(0x637)])((_0x55a046=!0x1)=>{const _0x4f498a=_0xac21ba;_0x80d464(),_0x417d29[_0x4f498a(0x70e)]=requestAnimationFrame(()=>{const _0x300e0b=_0x4f498a;_0x2136a2(),_0x55a046&&_0x2510f9(!0x1),_0x417d29[_0x300e0b(0x70e)]=null,_0x3c27dd['current']=window[_0x300e0b(0x38b)](()=>{const _0x25cbe4=_0x300e0b;_0x2136a2(),_0x55a046&&_0x2510f9(!0x1),_0x3c27dd[_0x25cbe4(0x70e)]=null;},0x14);});},[_0x2136a2,_0x80d464,_0x2510f9]);_0x56466f[_0xac21ba(0x70e)]=_0x596bb3,(0x0,n[_0xac21ba(0x1a6)])(()=>{const _0x89d5d5=_0xac21ba;if(!(_0xad7f5f!=null&&_0xad7f5f[_0x89d5d5(0x67c)])||!_0x4cac80)return;let _0x5071ce=!0x1,_0x229d83=_0x52e7b7[_0x89d5d5(0x31d)][_0x89d5d5(0x600)](_0x246ec6=>{const _0x185ae8=_0x89d5d5;if(!_0x5071ce){_0x5071ce=!0x0;return;}!_0x246ec6||_0x246ec6[_0x185ae8(0x2ab)]!==_0x394fa8||_0x246ec6[_0x185ae8(0x57c)]||(_0x2cfdbd(or(Hr(_0x4cac80))),_0x56466f[_0x185ae8(0x70e)](!0x1));});return()=>{const _0x3fbc12=_0x89d5d5;_0x229d83[_0x3fbc12(0x207)]();};},[_0x52e7b7,_0x4cac80,_0x394fa8,_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0xf6)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x672)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x57b)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x2ab)],_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x67c)]]);let _0x5861f0=(0x0,n['useCallback'])(()=>{const _0x2bdb9d=_0xac21ba;_0x80d464(),_0x1d4250[_0x2bdb9d(0x70e)]();},[_0x80d464]);(0x0,n['useEffect'])(()=>{const _0x43c0c1=_0xac21ba;if(!_0x4cac80||!_0xad7f5f)return;let {shapeId:_0x293dc7,unitId:_0x31b062}=_0xad7f5f;if(_0x405b61){var _0x1436c6,_0x1cc3f0,_0x47de2a,_0x140d45,_0x97c5a4,_0x29a6d5,_0x27a858,_0x263658;let _0x2a57aa=_0x423802(),_0x5f8fba=Hr(_0x4cac80);if(!_0x5f8fba)return;let _0x1a8aae=(_0x1436c6=(_0x1cc3f0=_0x2a57aa==null?void 0x0:_0x2a57aa['verticalAlign'])==null?(_0x47de2a=_0x465be7['current'])==null?void 0x0:_0x47de2a['va']:_0x1cc3f0)==null?o[_0x43c0c1(0x37f)]['TOP']:_0x1436c6,{horizontalAlign:_0x529e55,verticalAlign:_0x448dc8}=mn(_0x5f8fba,{'verticalAlign':_0x1a8aae,'horizontalAlign':(_0x140d45=(_0x97c5a4=_0x2a57aa==null?void 0x0:_0x2a57aa[_0x43c0c1(0x31e)])==null?(_0x29a6d5=_0x465be7['current'])==null?void 0x0:_0x29a6d5['ha']:_0x97c5a4)==null?o[_0x43c0c1(0x766)]['LEFT']:_0x140d45}),_0x250a6f=Jn((_0x27a858=_0x5f8fba[_0x43c0c1(0x53d)])==null||(_0x27a858=_0x27a858[_0x43c0c1(0x5d4)])==null?void 0x0:_0x27a858[_0x43c0c1(0x7c6)])?_0x1a8aae:_0x448dc8,_0x410257={'va':_0x250a6f,'ha':_0x529e55,'doc':Sn(_0x5f8fba,{'bodyBehavior':_0x2a57aa==null?void 0x0:_0x2a57aa[_0x43c0c1(0x185)],'verticalAlign':_0x250a6f,'horizontalAlign':_0x529e55})};_0x5861f0();let _0x889150=_0x3c1d6d();_0xa0a24f[_0x43c0c1(0x2e0)]({'unitId':_0x31b062,'subUnitId':_0xad7f5f[_0x43c0c1(0x57b)],'shapeId':_0x293dc7,'shapeText':xr({'shapeText':_0x2a57aa==null?void 0x0:_0x2a57aa[_0x43c0c1(0x4ad)],'isHorizontal':_0x2a57aa==null?void 0x0:_0x2a57aa['isHorizontal'],'dataModel':_0x410257}),'oldShapeText':xr({'shapeText':_0x2a57aa==null?void 0x0:_0x2a57aa[_0x43c0c1(0x4ad)],'isHorizontal':_0x2a57aa==null?void 0x0:_0x2a57aa[_0x43c0c1(0x313)],'dataModel':(_0x263658=_0x465be7['current'])==null?void 0x0:_0x263658}),..._0x889150?{'hostSize':_0x889150}:null}),_0x850bff[_0x43c0c1(0x59d)](null);return;}let _0x177746=_0x423802();if(_0x177746!=null&&_0x177746[_0x43c0c1(0x217)]){_0x465be7[_0x43c0c1(0x70e)]={'va':_0x177746[_0x43c0c1(0x5a2)],'ha':_0x177746['horizontalAlign'],'doc':Cn(_0x177746[_0x43c0c1(0x217)])};let _0x20cd41=bn(_0x177746[_0x43c0c1(0x217)],{'bodyBehavior':_0x177746[_0x43c0c1(0x185)],'isHorizontal':_0x177746[_0x43c0c1(0x313)],'textRect':_0x177746[_0x43c0c1(0x746)],'verticalAlign':_0x177746[_0x43c0c1(0x5a2)],'horizontalAlign':_0x177746['horizontalAlign'],'wrapStrategy':_0x177746[_0x43c0c1(0x1ed)]});return Vr(_0x4cac80,_0x20cd41,null),_0x2cfdbd(or(_0x20cd41)),()=>{const _0x3c0ec8=_0x43c0c1;var _0x4c5ce1,_0x310bbb,_0xe8700a,_0x2435c4,_0x496a28,_0x56c424,_0x2e8aa7,_0x1b5e13;if(_0x323ca[_0x3c0ec8(0x70e)])return;let _0x4005a4=_0x423802(),_0x2ebaf9=Hr(_0x4cac80);if(!_0x2ebaf9)return;let _0x2b232b=(_0x4c5ce1=(_0x310bbb=_0x4005a4==null?void 0x0:_0x4005a4[_0x3c0ec8(0x5a2)])==null?(_0xe8700a=_0x465be7['current'])==null?void 0x0:_0xe8700a['va']:_0x310bbb)==null?o['VerticalAlign'][_0x3c0ec8(0x4f9)]:_0x4c5ce1,{horizontalAlign:_0x4a73b6,verticalAlign:_0x17003d}=mn(_0x2ebaf9,{'verticalAlign':_0x2b232b,'horizontalAlign':(_0x2435c4=(_0x496a28=_0x4005a4==null?void 0x0:_0x4005a4[_0x3c0ec8(0x31e)])==null?(_0x56c424=_0x465be7[_0x3c0ec8(0x70e)])==null?void 0x0:_0x56c424['ha']:_0x496a28)==null?o[_0x3c0ec8(0x766)][_0x3c0ec8(0x6f7)]:_0x2435c4}),_0x1b6c45=Jn((_0x2e8aa7=_0x2ebaf9['documentStyle'])==null||(_0x2e8aa7=_0x2e8aa7[_0x3c0ec8(0x5d4)])==null?void 0x0:_0x2e8aa7[_0x3c0ec8(0x7c6)])?_0x2b232b:_0x17003d,_0x461fd8={'va':_0x1b6c45,'ha':_0x4a73b6,'doc':Sn(_0x2ebaf9,{'bodyBehavior':_0x4005a4==null?void 0x0:_0x4005a4[_0x3c0ec8(0x185)],'verticalAlign':_0x1b6c45,'horizontalAlign':_0x4a73b6})};_0x5861f0();let _0x42aa29=_0x3c1d6d();_0xa0a24f['updateShapeText']({'unitId':_0x31b062,'subUnitId':_0xad7f5f[_0x3c0ec8(0x57b)],'shapeId':_0x293dc7,'shapeText':xr({'shapeText':_0x4005a4==null?void 0x0:_0x4005a4[_0x3c0ec8(0x4ad)],'isHorizontal':_0x4005a4==null?void 0x0:_0x4005a4[_0x3c0ec8(0x313)],'dataModel':_0x461fd8}),'oldShapeText':xr({'shapeText':_0x4005a4==null?void 0x0:_0x4005a4['shapeText'],'isHorizontal':_0x4005a4==null?void 0x0:_0x4005a4[_0x3c0ec8(0x313)],'dataModel':(_0x1b5e13=_0x465be7[_0x3c0ec8(0x70e)])==null?void 0x0:_0x1b5e13}),..._0x42aa29?{'hostSize':_0x42aa29}:null});};}else Vr(_0x4cac80,_0x92d276,null),_0x2cfdbd(or(_0x92d276));},[_0x4cac80,_0xad7f5f,_0x405b61]);let _0x36ee5e=vr({'editorUnitId':_0x394fa8,'editingParams':_0xad7f5f});(0x0,n[_0xac21ba(0x1a6)])(()=>{const _0x282c3e=_0xac21ba;if(!(!_0x4cac80||!_0x36ee5e||!(_0xad7f5f!=null&&_0xad7f5f['visible'])))return _0x279e52[_0x282c3e(0xb8)](!0x0),_0x1d4250[_0x282c3e(0x70e)](),_0x2c1c41[_0x282c3e(0x70e)]=requestAnimationFrame(()=>{const _0x4c9526=_0x282c3e;_0x279e52[_0x4c9526(0x211)](_0x394fa8),_0x45aa9d['current'](!0x0,!0x0),_0x4cac80[_0x4c9526(0x211)](),_0x56466f[_0x4c9526(0x70e)](),_0x2c1c41[_0x4c9526(0x70e)]=null;}),()=>{const _0x50f6a1=_0x282c3e;_0x2c1c41[_0x50f6a1(0x70e)]!==null&&(cancelAnimationFrame(_0x2c1c41[_0x50f6a1(0x70e)]),_0x2c1c41[_0x50f6a1(0x70e)]=null),_0x50a595[_0x50f6a1(0x70e)]!==null&&(cancelAnimationFrame(_0x50a595[_0x50f6a1(0x70e)]),_0x50a595[_0x50f6a1(0x70e)]=null),_0x80d464(),_0x279e52[_0x50f6a1(0xb8)](!0x0);};},[_0x4cac80,_0x279e52,_0x394fa8,_0x36ee5e,_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x67c)],_0x80d464]),(0x0,n[_0xac21ba(0x1a6)])(()=>{const _0x1a51ca=_0xac21ba;if(!_0x4cac80)return;let _0x55f05c=_0x59b452[_0x1a51ca(0x488)](_0x2232bc=>{const _0x400941=_0x1a51ca;_0x2232bc['id']===f[_0x400941(0x6d4)]['id']&&_0x2232bc['params']['unitId']===_0x394fa8&&_0xad7f5f&&(_0xad7f5f['visible']?(_0x2136a2(),_0x596bb3()):_0x850bff['setEditing']({..._0xad7f5f,'visible':!0x0})),_0x4fd768&&_0x2232bc['id']===_0x4fd768&&_0x596bb3(!0x0);});return()=>{_0x55f05c['dispose']();};},[_0x4cac80,_0x2136a2,_0xad7f5f,_0x596bb3,_0x850bff,_0x394fa8,_0x4fd768]),(0x0,n[_0xac21ba(0x1a6)])(()=>(_0x2136a2(),_0x596bb3(),()=>{_0x80d464();}),[_0x2136a2,_0x596bb3,_0x80d464]);let _0x505cc=(0x0,n[_0xac21ba(0x1f6)])(()=>{const _0x360ef0=_0xac21ba;var _0x4af334,_0x1f6cea;let _0x57cf42=(_0x4af334=_0x1e234e[_0x360ef0(0x714)])==null?_0x1e234e['editorWidth']:_0x4af334;return{...zr(_0x1e234e[_0x360ef0(0x38d)],_0x1e234e[_0x360ef0(0x270)],_0x57cf42,Math['max'](0x1,_0x1e234e[_0x360ef0(0x174)])),..._0xad7f5f?(_0x1f6cea=_0xa0a24f[_0x360ef0(0x701)])==null?void 0x0:_0x1f6cea[_0x360ef0(0x6a0)](_0xa0a24f,_0xad7f5f):void 0x0};},[_0xa0a24f,_0xad7f5f,_0x1e234e[_0xac21ba(0x174)],_0x1e234e[_0xac21ba(0x38d)],_0x1e234e[_0xac21ba(0x714)],_0x1e234e[_0xac21ba(0x270)],_0x1e234e['editorWidth']]),_0xb773cf=(0x0,n['useMemo'])(()=>{const _0xf5fac7=_0xac21ba;let _0x212937=_0x423802(),_0x240cea=_0x212937==null?void 0x0:_0x212937[_0xf5fac7(0x574)];return _0x240cea&&_0x240cea||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x423802]),_0x3ae150=(0x0,n[_0xac21ba(0x1f6)])(()=>{const _0xa3f861=_0xac21ba;var _0x579cd3,_0x42e3b0;return Ir({'documentMarginTop':_0x1e234e[_0xa3f861(0x6c1)],'editorLeft':_0x1e234e['editorLeft'],'editorSurfaceWidth':_0x1e234e[_0xa3f861(0x714)],'editorTop':_0x1e234e[_0xa3f861(0x270)],'editorWidth':_0x1e234e[_0xa3f861(0xe3)],'horizontalAlign':(_0x579cd3=(_0x42e3b0=_0x423802())==null?void 0x0:_0x42e3b0['horizontalAlign'])==null?o['HorizontalAlign'][_0xa3f861(0x6f7)]:_0x579cd3});},[_0x423802,_0x1e234e]);return(0x0,r[_0xac21ba(0x18b)])(_0xac21ba(0x610),{'ref':_0x366e95,'data-u-comp':'shape-text-editor','className':_0xac21ba(0x3c1),'style':{'transform':'rotate('+_0xb773cf[_0xac21ba(0x796)]+'deg)\x20scaleY('+(_0xb773cf[_0xac21ba(0x513)]?-0x1:0x1)+')'},'children':[(0x0,r[_0xac21ba(0x631)])(_0xac21ba(0x610),{'ref':_0xeca0d0,'className':_0xac21ba(0x2bc),'data-u-comp':_0xac21ba(0x5bb),'style':_0x505cc,'data-editorid':_0x394fa8}),(_0xad7f5f==null?void 0x0:_0xad7f5f[_0xac21ba(0x67c)])&&_0x548e52&&(0x0,r['jsx'])(_0xac21ba(0x610),{'aria-hidden':_0xac21ba(0x11c),'className':_0xac21ba(0xe9),'data-u-comp':'shape-text-editor-placeholder','style':{..._0x3ae150,'fontSize':_0x43ec0e==null?0xe:_0x43ec0e,'lineHeight':1.5},'children':_0x22df15})]});};function Jr(_0x36e785,_0x509b7e){const _0x1416ca=_0x2d565c;return Math[_0x1416ca(0x589)](_0x36e785-_0x509b7e)<=0.001;}function Yr(_0x5ea04c,_0x2c2df3){const _0x198131=_0x2d565c;return Jr(_0x5ea04c[_0x198131(0x266)],_0x2c2df3[_0x198131(0x266)])&&Jr(_0x5ea04c[_0x198131(0x337)],_0x2c2df3[_0x198131(0x337)])&&Jr(_0x5ea04c['width'],_0x2c2df3['width'])&&Jr(_0x5ea04c['height'],_0x2c2df3[_0x198131(0x54e)])&&Jr(_0x5ea04c[_0x198131(0x796)],_0x2c2df3[_0x198131(0x796)])&&Jr(_0x5ea04c['scaleX'],_0x2c2df3['scaleX'])&&Jr(_0x5ea04c['scaleY'],_0x2c2df3[_0x198131(0x531)]);}function Xr(_0x1d3e49,_0x50d3b1){const _0x159112=_0x2d565c;return _0x50d3b1?{..._0x1d3e49,'left':_0x1d3e49['left']+_0x50d3b1[_0x159112(0x266)],'top':_0x1d3e49[_0x159112(0x337)]+_0x50d3b1['top']}:_0x1d3e49;}const Zr={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Qr(_0x4b022f,_0x3ac5cf,_0x2c733a,_0x4e4902,_0x2e8e4d){const _0xb85d84=_0x2d565c;let {scaleX:_0x20b12c,scaleY:_0x6bbc7a}=_0x2c733a[_0xb85d84(0x71d)](),{startColumn:_0x4fd571,startRow:_0x238645,xSplit:_0x3c7c0c,ySplit:_0x33ed62}=_0x4e4902[_0xb85d84(0xd4)]['getFreeze'](),_0x4536a9=_0x2c733a[_0xb85d84(0x27e)](_0x2e8e4d[_0xb85d84(0xbb)]),_0x3cf9ab=_0x2c733a[_0xb85d84(0x27e)](_0x2e8e4d['leftTop']),_0x18667d=_0x2c733a[_0xb85d84(0x27e)](_0x2e8e4d[_0xb85d84(0x337)]),_0x50140b=_0x2c733a['getViewport'](_0x2e8e4d[_0xb85d84(0x266)]),{rowHeaderWidth:_0x497d1c,columnHeaderHeight:_0x4100c4}=_0x4e4902,_0x17e713=_0x4e4902[_0xb85d84(0xbe)](_0x238645)+_0x4100c4,_0xa6322d=_0x4e4902['colStartX'](_0x4fd571)+_0x497d1c,_0x1a70cf=_0x4e4902[_0xb85d84(0xbe)](_0x238645-_0x33ed62)+_0x4100c4,_0x506352=_0x4e4902[_0xb85d84(0x134)](_0x4fd571-_0x3c7c0c)+_0x497d1c,_0x42a6b0=[],_0x5dd1fb=(_0x1dafd2,_0x4bdc94,_0x226bb8)=>{if(!_0x1dafd2)return null;let {viewportScrollX:_0x3cdc1a,viewportScrollY:_0x2fc49f}=_0x1dafd2,_0x5f41fc,_0x4e1fc5;return _0x5f41fc=_0x4bdc94?(_0x4b022f-(_0x506352-_0x497d1c))*_0x20b12c:(_0x4b022f-_0x3cdc1a)*_0x20b12c,_0x4e1fc5=_0x226bb8?(_0x3ac5cf-(_0x1a70cf-_0x4100c4))*_0x6bbc7a:(_0x3ac5cf-_0x2fc49f)*_0x6bbc7a,{'domX':_0x5f41fc,'domY':_0x4e1fc5};},_0x16ad6f=_0x4b022f<_0xa6322d&&_0x3c7c0c>0x0,_0x78554c=_0x3ac5cf<_0x17e713&&_0x33ed62>0x0,_0x2c41d7=_0x4b022f>=_0xa6322d||_0x3c7c0c===0x0,_0x201970=_0x3ac5cf>=_0x17e713||_0x33ed62===0x0;if(_0x16ad6f&&_0x78554c&&_0x3cf9ab){let _0x1126e2=_0x5dd1fb(_0x3cf9ab,!0x0,!0x0);_0x1126e2&&_0x42a6b0[_0xb85d84(0x40b)](_0x1126e2);}if(_0x78554c&&_0x2c41d7&&_0x18667d){let _0x32bbf6=_0x5dd1fb(_0x18667d,!0x1,!0x0);_0x32bbf6&&_0x42a6b0[_0xb85d84(0x40b)](_0x32bbf6);}if(_0x16ad6f&&_0x201970&&_0x50140b){let _0x40c2ab=_0x5dd1fb(_0x50140b,!0x0,!0x1);_0x40c2ab&&_0x42a6b0[_0xb85d84(0x40b)](_0x40c2ab);}if(_0x2c41d7&&_0x201970&&_0x4536a9){let _0x1a781d=_0x5dd1fb(_0x4536a9,!0x1,!0x1);_0x1a781d&&_0x42a6b0[_0xb85d84(0x40b)](_0x1a781d);}if(_0x42a6b0[_0xb85d84(0x435)]===0x0){var _0x1ddaf1,_0x2844c8;return{'domX':(_0x4b022f-((_0x1ddaf1=_0x4536a9==null?void 0x0:_0x4536a9['viewportScrollX'])==null?0x0:_0x1ddaf1))*_0x20b12c,'domY':(_0x3ac5cf-((_0x2844c8=_0x4536a9==null?void 0x0:_0x4536a9['viewportScrollY'])==null?0x0:_0x2844c8))*_0x6bbc7a};}let _0x27819f=_0x42a6b0[0x0]['domX'],_0x23bb21=_0x42a6b0[0x0]['domY'];for(let _0x2cc4b3 of _0x42a6b0)_0x2cc4b3[_0xb85d84(0x200)]>_0x27819f&&(_0x27819f=_0x2cc4b3[_0xb85d84(0x200)]),_0x2cc4b3[_0xb85d84(0x5e7)]>_0x23bb21&&(_0x23bb21=_0x2cc4b3[_0xb85d84(0x5e7)]);return{'domX':_0x27819f,'domY':_0x23bb21};}function $r(_0xf9e1a1,_0xff5d8,_0x5d5315,_0x320ffb,_0x245541,_0x3de24d,_0x24a8e7,_0x8dffea){const _0x10a1f0=_0x2d565c;let {scaleX:_0x4ac4e0,scaleY:_0x41a043}=_0x3de24d[_0x10a1f0(0x71d)]();if(!_0x8dffea||!_0x24a8e7[_0x10a1f0(0x79f)]||!_0x24a8e7[_0x10a1f0(0x337)]||!_0x24a8e7[_0x10a1f0(0x266)]){var _0x20b787,_0x457254;let _0x5f00ab=_0x3de24d[_0x10a1f0(0x27e)](_0x24a8e7['main']),_0x135179=(_0x20b787=_0x5f00ab==null?void 0x0:_0x5f00ab[_0x10a1f0(0x191)])==null?0x0:_0x20b787,_0x8cfa3b=(_0x457254=_0x5f00ab==null?void 0x0:_0x5f00ab[_0x10a1f0(0x74a)])==null?0x0:_0x457254;return{'left':(_0xf9e1a1-_0x135179)*_0x4ac4e0,'top':(_0xff5d8-_0x8cfa3b)*_0x41a043,'width':_0x5d5315*_0x4ac4e0,'height':_0x320ffb*_0x41a043,'angle':_0x245541,'scaleX':_0x4ac4e0,'scaleY':_0x41a043};}let {domX:_0x3b381f,domY:_0x729c8f}=Qr(_0xf9e1a1,_0xff5d8,_0x3de24d,_0x8dffea,_0x24a8e7);return{'left':_0x3b381f,'top':_0x729c8f,'width':_0x5d5315*_0x4ac4e0,'height':_0x320ffb*_0x41a043,'angle':_0x245541,'scaleX':_0x4ac4e0,'scaleY':_0x41a043};}function ei(_0x39c802){const _0xaa2d09=_0x2d565c;let {editingParams:_0x400f7c,scene:_0xe535d6,skeleton:_0x229cb0,viewportKeys:_0x391b9a,getShapeTransform:_0x3ca501,getPositionOffset:_0x1d50e6}=_0x39c802,[_0x44de54,_0x1da760]=(0x0,n['useState'])(Zr),_0x45d04b=(0x0,n['useRef'])(_0x44de54);_0x45d04b['current']=_0x44de54;let _0x3e494e=(0x0,n[_0xaa2d09(0x637)])(()=>{const _0x179359=_0xaa2d09;var _0x45f45d;if(!_0x400f7c||!_0xe535d6){Yr(_0x45d04b[_0x179359(0x70e)],Zr)||_0x1da760(Zr);return;}let _0x6afc=_0x3ca501();if(!_0x6afc){Yr(_0x45d04b[_0x179359(0x70e)],Zr)||_0x1da760(Zr);return;}let {left:_0x32f24e,top:_0x17562a,width:_0x45c567,height:_0x343c66,angle:_0x57eea3}=_0x6afc;if(!_0x400f7c[_0x179359(0x67c)]){let {scaleX:_0x53cb3a,scaleY:_0x641297}=_0xe535d6[_0x179359(0x71d)](),_0x2c1a62={'left':-0x270f,'top':-0x270f,'width':_0x45c567*_0x53cb3a,'height':_0x343c66*_0x641297,'angle':0x0,'scaleX':_0x53cb3a,'scaleY':_0x641297};_0x1da760(_0x3486b1=>Yr(_0x3486b1,_0x2c1a62)?_0x3486b1:_0x2c1a62);return;}let _0x4ed715=Xr($r(_0x32f24e,_0x17562a,_0x45c567,_0x343c66,_0x57eea3,_0xe535d6,_0x391b9a,_0x229cb0),(_0x45f45d=_0x1d50e6==null?void 0x0:_0x1d50e6())==null?null:_0x45f45d);_0x1da760(_0x13ded5=>Yr(_0x13ded5,_0x4ed715)?_0x13ded5:_0x4ed715);},[_0x400f7c,_0xe535d6,_0x229cb0,_0x391b9a,_0x3ca501,_0x1d50e6]);return(0x0,n['useEffect'])(()=>{_0x3e494e();},[_0x400f7c,_0x3e494e]),{'position':_0x44de54,'updatePosition':_0x3e494e};}function ti(_0x257818,_0x4761b4){const _0x3e830a=_0x2d565c;return!!(_0x257818!=null&&_0x257818[_0x3e830a(0x67c)])&&(_0x4761b4[_0x3e830a(0x266)]!==-0x270f||_0x4761b4['top']!==-0x270f);}function ni(_0xfd75db){const _0x3b0510=_0x2d565c;if(!_0xfd75db||typeof _0xfd75db!=_0x3b0510(0x4a1))return!0x1;let _0x4dc07c=_0xfd75db;return typeof _0x4dc07c[_0x3b0510(0x266)]==_0x3b0510(0x2bd)&&typeof _0x4dc07c['top']==_0x3b0510(0x2bd)&&typeof _0x4dc07c[_0x3b0510(0x2d1)]==_0x3b0510(0x2bd)&&typeof _0x4dc07c[_0x3b0510(0x54e)]==_0x3b0510(0x2bd);}function ri(_0x288088,_0x2eb402){const _0x533530=_0x2d565c;var _0xde8b71,_0x47248f;let _0x183d9d=(_0xde8b71=_0x288088[_0x533530(0x7bc)](_0x2eb402))==null?(_0x47248f=_0x288088[_0x533530(0x241)])==null?void 0x0:_0x47248f[_0x533530(0x6a0)](_0x288088,_0x2eb402):_0xde8b71;return ni(_0x183d9d)?_0x183d9d:null;}function ii(_0x3b09ea,_0x14a8ea){const _0x273585=_0x2d565c;return _0x3b09ea['clientX']>=_0x14a8ea[_0x273585(0x266)]&&_0x3b09ea[_0x273585(0x711)]<=_0x14a8ea['right']&&_0x3b09ea[_0x273585(0x409)]>=_0x14a8ea[_0x273585(0x337)]&&_0x3b09ea[_0x273585(0x409)]<=_0x14a8ea[_0x273585(0x369)];}function ai(_0x4bdc71,_0x1aeecc){const _0x5e604b=_0x2d565c;if(!(_0x4bdc71 instanceof Node))return!0x1;let _0x12f35f=_0x1aeecc==null?void 0x0:_0x1aeecc['querySelector'](_0x5e604b(0x1dd));return!!(_0x12f35f!=null&&_0x12f35f[_0x5e604b(0x256)](_0x4bdc71));}function oi(_0x32ce7e){const _0x10a85a=_0x2d565c;let _0x5525a1=_0x32ce7e[_0x10a85a(0x603)],_0x3b4eac={'bubbles':!0x0,'cancelable':!0x0,'composed':!0x0,'view':window,'detail':_0x5525a1['detail'],'screenX':_0x5525a1[_0x10a85a(0x555)],'screenY':_0x5525a1[_0x10a85a(0x42b)],'clientX':_0x5525a1[_0x10a85a(0x711)],'clientY':_0x5525a1['clientY'],'ctrlKey':_0x5525a1[_0x10a85a(0x626)],'shiftKey':_0x5525a1[_0x10a85a(0x678)],'altKey':_0x5525a1[_0x10a85a(0x561)],'metaKey':_0x5525a1['metaKey'],'button':_0x5525a1['button'],'buttons':_0x5525a1[_0x10a85a(0x776)],'relatedTarget':_0x5525a1[_0x10a85a(0x6fa)]};return typeof PointerEvent<'u'&&_0x5525a1 instanceof PointerEvent?new PointerEvent(_0x5525a1[_0x10a85a(0x49a)],{..._0x3b4eac,'pointerId':_0x5525a1[_0x10a85a(0x4b1)],'width':_0x5525a1[_0x10a85a(0x2d1)],'height':_0x5525a1[_0x10a85a(0x54e)],'pressure':_0x5525a1[_0x10a85a(0x10b)],'tangentialPressure':_0x5525a1['tangentialPressure'],'tiltX':_0x5525a1['tiltX'],'tiltY':_0x5525a1['tiltY'],'twist':_0x5525a1[_0x10a85a(0x383)],'pointerType':_0x5525a1[_0x10a85a(0x393)],'isPrimary':_0x5525a1[_0x10a85a(0x799)]}):new MouseEvent(_0x5525a1['type'],_0x3b4eac);}function si(_0x1ee1ca){const _0x5c08e5=_0x2d565c;let _0x3a91f3=_0x1ee1ca[_0x5c08e5(0x48d)]['pointerEvents'],_0x3fd532=!0x1,_0x22080b=null,_0x2c3106=()=>{const _0x21aeb5=_0x5c08e5;_0x3fd532||(_0x3fd532=!0x0,_0x1ee1ca[_0x21aeb5(0x48d)][_0x21aeb5(0x5f8)]=_0x3a91f3,document['removeEventListener'](_0x21aeb5(0x5ea),_0x2c3106,!0x0),document['removeEventListener']('pointercancel',_0x2c3106,!0x0),document[_0x21aeb5(0x16e)](_0x21aeb5(0x433),_0x2c3106,!0x0),document['removeEventListener'](_0x21aeb5(0x284),_0x2c3106,!0x0),_0x22080b!==null&&window['clearTimeout'](_0x22080b));};return _0x1ee1ca['style'][_0x5c08e5(0x5f8)]=_0x5c08e5(0x591),document['addEventListener']('pointerup',_0x2c3106,!0x0),document[_0x5c08e5(0x171)](_0x5c08e5(0x1cd),_0x2c3106,!0x0),document['addEventListener'](_0x5c08e5(0x433),_0x2c3106,!0x0),document[_0x5c08e5(0x171)](_0x5c08e5(0x284),_0x2c3106,!0x0),_0x22080b=window['setTimeout'](_0x2c3106,0x3e8),_0x2c3106;}function ci(_0x4c10f7,_0x528728){const _0x745ba0=_0x2d565c;let _0x281967=si(_0x528728),_0x2f8d56=document['elementFromPoint'](_0x4c10f7[_0x745ba0(0x711)],_0x4c10f7[_0x745ba0(0x409)]);return!_0x2f8d56||_0x2f8d56===_0x528728||_0x528728[_0x745ba0(0x256)](_0x2f8d56)?(_0x281967(),!0x1):(_0x4c10f7[_0x745ba0(0x3a1)](),_0x4c10f7['stopPropagation'](),_0x2f8d56['dispatchEvent'](oi(_0x4c10f7)),!0x0);}function li(_0x5e30f7){const _0x6ba108=_0x2d565c;var _0x5a0e6f;let {editingParams:_0xb65fd1,positionOptions:_0x4a528e,renderUnit:_0x34a7ba,scene:_0x3adbe7}=_0x5e30f7;if(!_0xb65fd1)return null;let _0x5f1d9f=_0x34a7ba?(_0x5a0e6f=_0x4a528e[_0x6ba108(0x46e)])==null?void 0x0:_0x5a0e6f[_0x6ba108(0x6a0)](_0x4a528e,_0x34a7ba,_0xb65fd1):null;if(ni(_0x5f1d9f)){var _0xdf2b21;return{'left':_0x5f1d9f[_0x6ba108(0x266)],'top':_0x5f1d9f[_0x6ba108(0x337)],'width':_0x5f1d9f[_0x6ba108(0x2d1)],'height':_0x5f1d9f[_0x6ba108(0x54e)],'angle':(_0xdf2b21=_0x5f1d9f[_0x6ba108(0x796)])==null?0x0:_0xdf2b21};}return _0x3adbe7?ri(_0x3adbe7,_0xb65fd1['shapeKey']):null;}const ui=(0x0,n[_0x2d565c(0x155)])(_0x56d81f=>{const _0x14c3c5=_0x2d565c;let {children:_0x1c4a26,editingParams:_0x242a21,positionOptions:_0x5757de,onPositionUpdate:_0x1adbfb}=_0x56d81f,_0x321ab5=(0x0,n['useRef'])(null),_0x1729e8=(0x0,s[_0x14c3c5(0x2b3)])(h[_0x14c3c5(0x3e3)]),_0x13a1e9=(0x0,n[_0x14c3c5(0x1f6)])(()=>_0x242a21?_0x1729e8[_0x14c3c5(0x19b)](_0x242a21[_0x14c3c5(0x2ab)]):null,[_0x242a21,_0x1729e8]),_0x4d79b5=(0x0,n[_0x14c3c5(0x1f6)])(()=>{const _0x4aa3e9=_0x14c3c5;var _0x4fdb51;return(_0x4fdb51=_0x13a1e9==null?void 0x0:_0x13a1e9[_0x4aa3e9(0x3ae)])==null?null:_0x4fdb51;},[_0x13a1e9]),_0x49e6b3=(0x0,n[_0x14c3c5(0x1f6)])(()=>!_0x242a21||!_0x13a1e9||!_0x5757de['getSkeleton']?null:_0x5757de[_0x14c3c5(0x34e)](_0x13a1e9,_0x242a21),[_0x242a21,_0x5757de,_0x13a1e9]),_0x11ace7=(0x0,n['useCallback'])(()=>{const _0x2145f3=_0x14c3c5;var _0x4998bc;let _0x156b43=li({'editingParams':_0x242a21,'positionOptions':_0x5757de,'renderUnit':_0x13a1e9,'scene':_0x4d79b5});return _0x156b43?{'left':_0x156b43[_0x2145f3(0x266)],'top':_0x156b43[_0x2145f3(0x337)],'width':_0x156b43[_0x2145f3(0x2d1)],'height':_0x156b43['height'],'angle':(_0x4998bc=_0x156b43[_0x2145f3(0x796)])==null?0x0:_0x4998bc}:null;},[_0x242a21,_0x5757de,_0x13a1e9,_0x4d79b5]),_0x5899ca=(0x0,n[_0x14c3c5(0x637)])(()=>{const _0x170c82=_0x14c3c5;var _0x1f2376,_0x1ff693;return!_0x242a21||!_0x13a1e9||(_0x1f2376=(_0x1ff693=_0x5757de['getPositionOffset'])==null?void 0x0:_0x1ff693[_0x170c82(0x6a0)](_0x5757de,_0x13a1e9,_0x242a21))==null?null:_0x1f2376;},[_0x242a21,_0x5757de,_0x13a1e9]),{position:_0x3ffe4e,updatePosition:_0x4905f1}=ei({'editingParams':_0x242a21,'scene':_0x4d79b5,'skeleton':_0x49e6b3,'viewportKeys':_0x5757de[_0x14c3c5(0x402)],'getShapeTransform':_0x11ace7,'getPositionOffset':_0x5899ca}),_0x303e40=(0x0,n['useCallback'])(()=>{const _0x207a59=_0x14c3c5;let _0x54fdc2=_0x321ab5[_0x207a59(0x70e)];_0x54fdc2&&(_0x54fdc2['style']['left']=_0x3ffe4e[_0x207a59(0x266)]+'px',_0x54fdc2['style'][_0x207a59(0x337)]=_0x3ffe4e[_0x207a59(0x337)]+'px',_0x54fdc2[_0x207a59(0x48d)][_0x207a59(0x2d1)]=_0x3ffe4e[_0x207a59(0x2d1)]+'px',_0x54fdc2[_0x207a59(0x48d)]['height']=_0x3ffe4e[_0x207a59(0x54e)]+'px');},[_0x3ffe4e]);(0x0,n[_0x14c3c5(0x1a6)])(()=>{const _0x41e828=_0x14c3c5;_0x303e40(),ti(_0x242a21,_0x3ffe4e)&&(_0x1adbfb==null||_0x1adbfb({'width':_0x3ffe4e['width'],'height':_0x3ffe4e[_0x41e828(0x54e)],'scaleX':_0x3ffe4e[_0x41e828(0x40d)],'scaleY':_0x3ffe4e[_0x41e828(0x531)]}));},[_0x242a21,_0x3ffe4e,_0x303e40,_0x1adbfb]),(0x0,n['useEffect'])(()=>{const _0x23cd9b=_0x14c3c5;if(!_0x4d79b5)return;let _0x1c9149=_0x4d79b5[_0x23cd9b(0x27e)](_0x5757de[_0x23cd9b(0x402)][_0x23cd9b(0xbb)]);if(!_0x1c9149)return;let _0x1cfd21=_0x1c9149['onScrollAfter$'][_0x23cd9b(0x43f)](()=>{_0x4905f1();});return()=>{const _0x589a31=_0x23cd9b;_0x1cfd21[_0x589a31(0x207)]();};},[_0x5757de[_0x14c3c5(0x402)]['main'],_0x4d79b5,_0x4905f1]),(0x0,n[_0x14c3c5(0x1a6)])(()=>{const _0x3a555e=_0x14c3c5;var _0x23d9bf,_0x559258;let _0x1e09cc=_0x13a1e9==null||(_0x23d9bf=_0x13a1e9[_0x3a555e(0xc5)])==null||(_0x23d9bf=_0x23d9bf['onTransformChange$'])==null?void 0x0:_0x23d9bf[_0x3a555e(0x43f)](()=>{_0x4905f1();}),_0x29906c=_0x4d79b5==null||(_0x559258=_0x4d79b5['onTransformChange$'])==null?void 0x0:_0x559258['subscribeEvent'](()=>{_0x4905f1();});return()=>{const _0x197555=_0x3a555e;_0x1e09cc==null||_0x1e09cc[_0x197555(0x207)](),_0x29906c==null||_0x29906c[_0x197555(0x207)]();};},[_0x13a1e9,_0x4d79b5,_0x4905f1]),(0x0,n['useEffect'])(()=>{const _0x24cff6=_0x14c3c5;if(!_0x242a21||!_0x4d79b5)return;let _0x463312=ri(_0x4d79b5,_0x242a21[_0x24cff6(0x672)]);if(_0x463312!=null&&_0x463312[_0x24cff6(0x304)]){let _0xf94ae4=_0x463312[_0x24cff6(0x304)]['subscribeEvent'](()=>{_0x4905f1();});return()=>{const _0x2cbc78=_0x24cff6;_0xf94ae4[_0x2cbc78(0x207)]();};}},[_0x242a21,_0x4d79b5,_0x4905f1]);let _0x181ff4=(0x0,n['useMemo'])(()=>({'left':_0x3ffe4e[_0x14c3c5(0x266)],'top':_0x3ffe4e[_0x14c3c5(0x337)],'width':_0x3ffe4e[_0x14c3c5(0x2d1)],'height':_0x3ffe4e[_0x14c3c5(0x54e)],'pointerEvents':_0x242a21!=null&&_0x242a21[_0x14c3c5(0x67c)]?_0x14c3c5(0x2dd):_0x14c3c5(0x591)}),[_0x3ffe4e,_0x242a21==null?void 0x0:_0x242a21[_0x14c3c5(0x67c)]]),_0x57c45f=(0x0,n['useCallback'])(_0x4ac00b=>{const _0x359b7c=_0x14c3c5;let _0x579594=_0x321ab5[_0x359b7c(0x70e)];if(!_0x579594||!(_0x242a21!=null&&_0x242a21[_0x359b7c(0x67c)]))return;let _0x71c721=_0x4ac00b[_0x359b7c(0xdb)];!(_0x71c721 instanceof Node)||!_0x579594['contains'](_0x71c721)||ai(_0x71c721,_0x579594)||ii(_0x4ac00b['nativeEvent'],_0x579594[_0x359b7c(0x356)]())||ci(_0x4ac00b,_0x579594);},[_0x242a21==null?void 0x0:_0x242a21['visible']]);return(0x0,r[_0x14c3c5(0x631)])(_0x14c3c5(0x610),{'ref':_0x321ab5,'data-u-comp':_0x14c3c5(0x23a),'className':'univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','style':_0x181ff4,'onPointerDownCapture':_0x57c45f,'onMouseDownCapture':_0x57c45f,'onClickCapture':_0x57c45f,'children':_0x1c4a26});});function di(_0x5b3993,_0xc0bd2c){const _0x33a5c4=_0x2d565c;return Math['abs'](_0x5b3993[_0x33a5c4(0x2d1)]-_0xc0bd2c[_0x33a5c4(0x2d1)])<=0.001&&Math[_0x33a5c4(0x589)](_0x5b3993[_0x33a5c4(0x54e)]-_0xc0bd2c['height'])<=0.001&&Math[_0x33a5c4(0x589)](_0x5b3993[_0x33a5c4(0x40d)]-_0xc0bd2c[_0x33a5c4(0x40d)])<=0.001&&Math[_0x33a5c4(0x589)](_0x5b3993[_0x33a5c4(0x531)]-_0xc0bd2c[_0x33a5c4(0x531)])<=0.001;}const fi=(0x0,n[_0x2d565c(0x155)])(_0x37c9de=>{const _0x2a23b2=_0x2d565c;let {adapter:_0x5946bc,editorUnitId:_0x5f344e,editingService:_0xbc9958,positionOptions:_0x5b15c1,verticalAlignCommandId:_0xaf2518}=_0x37c9de,_0x584ffd=(0x0,s[_0x2a23b2(0xfb)])(_0xbc9958['editingParams$']),_0x9e262e=(0x0,s[_0x2a23b2(0xfb)])(_0xbc9958['onSavingEditorData$']),_0x4859ab=vr({'editorUnitId':_0x5f344e,'editingParams':_0x584ffd}),_0x344f30=(0x0,n[_0x2a23b2(0x32a)])(!0x1),_0x50160a=(0x0,n[_0x2a23b2(0x32a)])(0x0),_0x1d0bb9=(_0x584ffd==null?void 0x0:_0x584ffd['visible'])===!0x0;_0x1d0bb9&&!_0x344f30[_0x2a23b2(0x70e)]&&(_0x50160a[_0x2a23b2(0x70e)]+=0x1),_0x344f30[_0x2a23b2(0x70e)]=_0x1d0bb9;let _0x1fc137=_0x4859ab?_0x4859ab+'|'+_0x50160a['current']:null,[_0x2ff873,_0x6fb926]=(0x0,n[_0x2a23b2(0x311)])(null),_0xa55a25=(0x0,n[_0x2a23b2(0x637)])(_0xfdcf79=>{const _0x1ff253=_0x2a23b2;if(!_0x1fc137)return;let _0x18763e={'width':_0xfdcf79[_0x1ff253(0x2d1)],'height':_0xfdcf79[_0x1ff253(0x54e)],'scaleX':_0xfdcf79[_0x1ff253(0x40d)],'scaleY':_0xfdcf79[_0x1ff253(0x531)]};_0x6fb926(_0x57545c=>(_0x57545c==null?void 0x0:_0x57545c[_0x1ff253(0x4b5)])===_0x1fc137&&di(_0x57545c['size'],_0x18763e)?_0x57545c:{'sessionKey':_0x1fc137,'size':_0x18763e});},[_0x1fc137]);if(!_0x584ffd||!_0x584ffd['visible']&&!_0x9e262e)return null;let _0x1e396c=(_0x2ff873==null?void 0x0:_0x2ff873[_0x2a23b2(0x4b5)])===_0x1fc137?_0x2ff873[_0x2a23b2(0x47d)]:null;return(0x0,r['jsx'])(ui,{'editingParams':_0x584ffd,'positionOptions':_0x5b15c1,'onPositionUpdate':_0xa55a25,'children':_0x1e396c?(0x0,r['jsx'])(qr,{'adapter':_0x5946bc,'containerWidth':_0x1e396c['width'],'containerHeight':_0x1e396c[_0x2a23b2(0x54e)],'editingParams':_0x584ffd,'editingService':_0xbc9958,'editorUnitId':_0x5f344e,'scaleX':_0x1e396c['scaleX'],'scaleY':_0x1e396c[_0x2a23b2(0x531)],'verticalAlignCommandId':_0xaf2518}):null},_0x1fc137);}),pi=s[_0x2d565c(0x47a)]['map'](_0xe0e379=>({'label':_0xe0e379[_0x2d565c(0x553)],'value':String(_0xe0e379['value'])})),mi=[p['SetInlineFormatTextFillCommand']['id'],p[_0x2d565c(0x6d3)]['id'],p[_0x2d565c(0x783)]['id'],p['SetInlineFormatFontFamilyCommand']['id'],p[_0x2d565c(0x660)]['id'],p[_0x2d565c(0x14f)]['id'],p[_0x2d565c(0x5dc)]['id'],p[_0x2d565c(0x748)]['id'],p['SetInlineFormatStrikethroughCommand']['id'],p[_0x2d565c(0x143)]['id'],p[_0x2d565c(0x346)]['id'],f[_0x2d565c(0x6d4)]['id'],f['SetTextSelectionsOperation']['id']],hi={'root':_0x2d565c(0x263),'group':_0x2d565c(0x72d),'button':_0x2d565c(0x2e4),'select':_0x2d565c(0x390)};function gi(_0x2baf1c){const _0x301e78=_0x2d565c;return _0x2baf1c instanceof HTMLElement&&!!_0x2baf1c[_0x301e78(0x10d)](_0x301e78(0x4b9));}function _i(_0x4bee86){const _0x1f359e=_0x2d565c;return!!(_0x4bee86&&typeof _0x4bee86==_0x1f359e(0x4a1)&&_0x4bee86['s']===o[_0x1f359e(0x283)][_0x1f359e(0x180)]);}function vi(_0x1cb7f0){const _0x1db1b2=_0x2d565c;let {children:_0x4c79a1}=_0x1cb7f0;return(0x0,r[_0x1db1b2(0x631)])('div',{'className':hi[_0x1db1b2(0x35b)],'children':_0x4c79a1});}function yi(_0x586e57){const _0x15545c=_0x2d565c;let {title:_0x153167,active:_0x32dae7,children:_0x156358,onClick:_0x28e68e}=_0x586e57;return(0x0,r['jsx'])(e['Tooltip'],{'title':_0x153167,'placement':_0x15545c(0x369),'children':(0x0,r[_0x15545c(0x631)])('button',{'type':_0x15545c(0x54f),'className':(0x0,e['clsx'])(hi[_0x15545c(0x54f)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x32dae7}),'onClick':_0x28e68e,'children':_0x156358})});}function bi(){const _0x5df155=_0x2d565c;var _0x1b855a,_0x1ae81d,_0x231559,_0x3e2fa2,_0x19e027,_0x57ab57;let _0x52a1bf=(0x0,s[_0x5df155(0x2b3)])(o[_0x5df155(0x538)]),_0xbaeb50=(0x0,s['useDependency'])(o['LocaleService']),_0x3eb522=(0x0,s[_0x5df155(0x2b3)])(f[_0x5df155(0x787)]),_0x220d44=(0x0,s['useDependency'])(o[_0x5df155(0x28e)]),_0x105267=(0x0,s[_0x5df155(0x2b3)])(o[_0x5df155(0x4d3)]),[_0x1a5567,_0x1e03fe]=(0x0,n[_0x5df155(0x311)])({'cl':{'rgb':it}});(0x0,n[_0x5df155(0x1a6)])(()=>{const _0x46e28b=_0x5df155;let _0x4a67b7=()=>{const _0x55eb9e=_0x1c0f;var _0x19ac5a,_0x5d9ca4,_0x25a94c,_0x28c842,_0x214a6e,_0x278d16,_0x5bab94;let _0x4f0701=(_0x19ac5a=_0x3eb522[_0x55eb9e(0x12e)]())==null?[]:_0x19ac5a,_0x42755d=_0x4f0701[_0x55eb9e(0x435)]>0x0?_0x4f0701[_0x55eb9e(0x1fe)](_0x2cf972=>_0x2cf972[_0x55eb9e(0x707)]!=null&&_0x2cf972[_0x55eb9e(0x262)]!=null):_0x3eb522[_0x55eb9e(0x37e)](),_0x182ceb=(_0x5d9ca4=_0x42755d[_0x55eb9e(0x1f1)](_0x282a5a=>_0x282a5a[_0x55eb9e(0x5d1)]))==null?_0x42755d[0x0]:_0x5d9ca4;if(!_0x182ceb){_0x1e03fe({'cl':{'rgb':it}});return;}let _0x89cc67=_0x220d44[_0x55eb9e(0x5b5)](o['UniverInstanceType']['UNIVER_DOC']);if(!_0x89cc67){_0x1e03fe({'cl':{'rgb':it}});return;}let _0x470b8e=(_0x25a94c=_0x89cc67['getSelfOrHeaderFooterModel'](_0x182ceb['segmentId']))==null?void 0x0:_0x25a94c['getBody']();if(!_0x470b8e){_0x1e03fe({'cl':{'rgb':it}});return;}let _0x54eb9f=(_0x28c842=_0x89cc67['getSnapshot']()[_0x55eb9e(0x53d)])==null?void 0x0:_0x28c842[_0x55eb9e(0x294)];_0x1e03fe((0x0,p['getStyleInTextRange'])(_0x470b8e,_0x182ceb,{..._0x54eb9f,'ff':(_0x214a6e=_0x54eb9f==null?void 0x0:_0x54eb9f['ff'])==null?o[_0x55eb9e(0x3e7)]['ff']:_0x214a6e,'fs':(_0x278d16=_0x54eb9f==null?void 0x0:_0x54eb9f['fs'])==null?o[_0x55eb9e(0x3e7)]['fs']:_0x278d16,'cl':(_0x5bab94=_0x54eb9f==null?void 0x0:_0x54eb9f['cl'])==null?{'rgb':it}:_0x5bab94}));};_0x4a67b7();let _0x16c97e=_0x52a1bf[_0x46e28b(0x488)](_0x575f5b=>{const _0x9145d4=_0x46e28b;mi[_0x9145d4(0x6b1)](_0x575f5b['id'])&&_0x4a67b7();}),_0x3aaf1c=_0x3eb522[_0x46e28b(0x3c3)][_0x46e28b(0x600)](_0x4a67b7);return()=>{const _0x14d7e7=_0x46e28b;_0x16c97e[_0x14d7e7(0x5a0)](),_0x3aaf1c['unsubscribe']();};},[_0x52a1bf,_0x3eb522,_0x220d44]);let _0x22216d=(_0x453dd9,_0x26a946)=>{const _0xfdebb1=_0x5df155;_0x52a1bf[_0xfdebb1(0x6ed)](_0x453dd9,_0x26a946===void 0x0?void 0x0:{'value':_0x26a946});},_0x2dd04b=(_0x1b855a=_0x1a5567['ff'])==null?o['DEFAULT_STYLES']['ff']:_0x1b855a,_0x595d45=(_0x1ae81d=_0x1a5567['fs'])==null?o[_0x5df155(0x3e7)]['fs']:_0x1ae81d,_0x2105a8=_0x1a5567['bl']===o[_0x5df155(0x283)]['TRUE'],_0x384ad5=_0x1a5567['it']===o[_0x5df155(0x283)]['TRUE'],_0xd143ca=_i(_0x1a5567['ul']),_0x2d06b7=_i(_0x1a5567['st']),_0x2597cf=_0x1a5567['va']===o[_0x5df155(0x1fb)]['SUBSCRIPT'],_0x457bdd=_0x1a5567['va']===o[_0x5df155(0x1fb)][_0x5df155(0x4cf)],_0xaafa4=(_0x231559=(_0x3e2fa2=_0x1a5567['bg'])==null?void 0x0:_0x3e2fa2[_0x5df155(0x27f)])==null?_0x105267[_0x5df155(0xc4)](_0x5df155(0x131)):_0x231559;return(0x0,r[_0x5df155(0x18b)])(_0x5df155(0x610),{'onMouseDown':_0x16e5ba=>{const _0x5c91fb=_0x5df155;_0x16e5ba[_0x5c91fb(0x576)](),gi(_0x16e5ba[_0x5c91fb(0xdb)])||_0x16e5ba[_0x5c91fb(0x3a1)]();},'className':(0x0,e[_0x5df155(0x724)])(hi[_0x5df155(0x11d)],e[_0x5df155(0x58d)]),'children':[(0x0,r[_0x5df155(0x631)])(vi,{'children':(0x0,r[_0x5df155(0x631)])(zn,{})}),(0x0,r[_0x5df155(0x631)])(e[_0x5df155(0x268)],{'orientation':_0x5df155(0x385)}),(0x0,r['jsxs'])(vi,{'children':[(0x0,r[_0x5df155(0x631)])(s['FontFamilyDropdown'],{'ariaLabel':_0x5df155(0x36b),'className':_0x5df155(0x1d5),'inputClassName':_0x5df155(0x7aa),'title':_0x2dd04b,'value':_0x2dd04b,'onChange':_0x1f8b8a=>_0x22216d(p['SetInlineFormatFontFamilyCommand']['id'],_0x1f8b8a),'onMouseDown':_0x54167b=>{const _0x1dcffd=_0x5df155;_0x54167b[_0x1dcffd(0x576)]();},'onPointerDown':_0x45e357=>{const _0x27c5c7=_0x5df155;_0x45e357[_0x27c5c7(0x576)]();}}),(0x0,r['jsx'])(e[_0x5df155(0x100)],{'className':(0x0,e[_0x5df155(0x724)])(hi['select'],'univer-w-14'),'value':String(_0x595d45),'options':pi,'onChange':_0x5b7360=>{const _0x5828a1=_0x5df155;let _0x4ca20e=Number(_0x5b7360);Number[_0x5828a1(0x4df)](_0x4ca20e)||_0x22216d(p[_0x5828a1(0x660)]['id'],_0x4ca20e);}})]}),(0x0,r[_0x5df155(0x631)])(e[_0x5df155(0x268)],{'orientation':'vertical'}),(0x0,r['jsxs'])(vi,{'children':[(0x0,r[_0x5df155(0x631)])(yi,{'title':_0xbaeb50['t'](_0x5df155(0x712)),'active':_0x2105a8,'onClick':()=>_0x22216d(p['SetInlineFormatBoldCommand']['id']),'children':(0x0,r[_0x5df155(0x631)])(t['BoldIcon'],{})}),(0x0,r[_0x5df155(0x631)])(yi,{'title':_0xbaeb50['t'](_0x5df155(0x3cc)),'active':_0x384ad5,'onClick':()=>_0x22216d(p[_0x5df155(0x5dc)]['id']),'children':(0x0,r[_0x5df155(0x631)])(t['ItalicIcon'],{})}),(0x0,r[_0x5df155(0x631)])(yi,{'title':_0xbaeb50['t']('shape-editor-ui.toolbar.underline'),'active':_0xd143ca,'onClick':()=>_0x22216d(p[_0x5df155(0x748)]['id']),'children':(0x0,r['jsx'])(t[_0x5df155(0x2d0)],{})}),(0x0,r['jsx'])(yi,{'title':_0xbaeb50['t'](_0x5df155(0x4f4)),'active':_0x2d06b7,'onClick':()=>_0x22216d(p['SetInlineFormatStrikethroughCommand']['id']),'children':(0x0,r[_0x5df155(0x631)])(t[_0x5df155(0xc6)],{})})]}),(0x0,r[_0x5df155(0x631)])(e[_0x5df155(0x268)],{'orientation':'vertical'}),(0x0,r[_0x5df155(0x18b)])(vi,{'children':[(0x0,r['jsx'])(yi,{'title':_0xbaeb50['t'](_0x5df155(0x296)),'active':_0x2597cf,'onClick':()=>_0x22216d(p[_0x5df155(0x143)]['id']),'children':(0x0,r[_0x5df155(0x631)])(t[_0x5df155(0x67a)],{})}),(0x0,r[_0x5df155(0x631)])(yi,{'title':_0xbaeb50['t'](_0x5df155(0x4b0)),'active':_0x457bdd,'onClick':()=>_0x22216d(p[_0x5df155(0x346)]['id']),'children':(0x0,r['jsx'])(t['SuperscriptIcon'],{})})]}),(0x0,r['jsx'])(e[_0x5df155(0x268)],{'orientation':_0x5df155(0x385)}),(0x0,r['jsxs'])(vi,{'children':[(0x0,r[_0x5df155(0x631)])(Lt,{'title':_0xbaeb50['t'](_0x5df155(0x498)),'textStyle':_0x1a5567,'fallbackColor':(_0x19e027=(_0x57ab57=_0x1a5567['cl'])==null?void 0x0:_0x57ab57[_0x5df155(0x27f)])==null?it:_0x19e027,'onChange':_0x31c50f=>{const _0x272226=_0x5df155;_0x52a1bf[_0x272226(0x6ed)](p[_0x272226(0x1f7)]['id'],{'value':_0x31c50f}),_0x1e03fe(_0x12ac42=>({..._0x12ac42,..._0x31c50f}));}}),(0x0,r[_0x5df155(0x631)])(Rt,{'title':_0xbaeb50['t'](_0x5df155(0x320)),'color':_0xaafa4,'onApply':()=>_0x22216d(p['SetInlineFormatTextBackgroundColorCommand']['id'],_0xaafa4),'onReset':()=>{const _0x4e955b=_0x5df155;_0x52a1bf[_0x4e955b(0x6ed)](p[_0x4e955b(0x783)]['id']),_0x1e03fe(_0x54d0ee=>({..._0x54d0ee,'bg':{'rgb':null}}));},'onChange':_0x583b9e=>{_0x22216d(p['SetInlineFormatTextBackgroundColorCommand']['id'],_0x583b9e),_0x1e03fe(_0x497756=>({..._0x497756,'bg':{'rgb':_0x583b9e}}));}})]})]});}exports[_0x2d565c(0x376)]=zn,exports['FillStyleTabsEditor']=E,exports[_0x2d565c(0x447)]=et,exports[_0x2d565c(0xbc)]=$e,exports[_0x2d565c(0x4a9)]=Ue,Object[_0x2d565c(0x32f)](exports,_0x2d565c(0x2bb),{'enumerable':!0x0,'get':function(){return H;}}),exports[_0x2d565c(0x6b0)]=Te,exports[_0x2d565c(0x4a7)]=J,exports['SHAPE_EDITOR_UI_PLUGIN_CONFIG_KEY']=D,exports[_0x2d565c(0x1cb)]=rt,exports[_0x2d565c(0x2c1)]=_0x2d565c(0x770),exports[_0x2d565c(0x7ce)]=it,exports[_0x2d565c(0x5fd)]=0x10,exports[_0x2d565c(0x2fb)]=Rn,exports[_0x2d565c(0x3f1)]=0x10,exports['ShapeEditPanel']=an,exports['ShapeFillButton']=jt,exports[_0x2d565c(0x2aa)]=Yt,exports['ShapeFloatingToolbar']=Gt,exports['ShapeFloatingToolbarContent']=ft,exports[_0x2d565c(0x645)]=mt,exports[_0x2d565c(0x790)]=ht,exports[_0x2d565c(0x6f9)]=ut,exports['ShapeFloatingToolbarMenuItem']=Vt,exports[_0x2d565c(0x338)]=Bt,exports['ShapeGroupEnum']=Mn,exports[_0x2d565c(0x58f)]=qt,exports[_0x2d565c(0x117)]=$t,exports[_0x2d565c(0x795)]=Ln,exports[_0x2d565c(0x5d0)]=In,exports[_0x2d565c(0x742)]=Tt,exports[_0x2d565c(0x413)]=wt,exports[_0x2d565c(0x401)]=rn,exports[_0x2d565c(0x666)]=fi,exports[_0x2d565c(0x586)]=Kn,exports[_0x2d565c(0x620)]=bi,exports[_0x2d565c(0x535)]=Lt,exports['TypographyPanelButton']=zt,Object[_0x2d565c(0x32f)](exports,_0x2d565c(0x204),{'enumerable':!0x0,'get':function(){return U;}}),exports[_0x2d565c(0x4f6)]=q,exports['applyFormulaBindingReferenceSelection']=ne,exports[_0x2d565c(0x4ec)]=jn,exports[_0x2d565c(0x374)]=se,exports['createFormulaBindingNumberFormatMenuEntries']=Re,exports['createShapeTextPlaceholderDocumentData']=sr,exports[_0x2d565c(0x6ff)]=Ee,exports[_0x2d565c(0x1e6)]=me,exports[_0x2d565c(0x63c)]=fe,exports['getFormulaBindingDateFormatOptions']=he,exports[_0x2d565c(0x324)]=Z,exports[_0x2d565c(0x416)]=ge,exports['getInitialShapeFillType']=Jt,exports['getShapeTextOpticalVerticalOffset']=er,exports[_0x2d565c(0x3a4)]=ce,exports[_0x2d565c(0x695)]=X,exports[_0x2d565c(0x216)]=or,exports[_0x2d565c(0x238)]=Jn,exports[_0x2d565c(0x2d4)]=re,exports[_0x2d565c(0x74c)]=Y,exports[_0x2d565c(0x411)]=ln,exports[_0x2d565c(0x479)]=bn,exports[_0x2d565c(0x1af)]=ze,exports[_0x2d565c(0x6e8)]=Fe,exports[_0x2d565c(0x30f)]=ur,exports[_0x2d565c(0x4bc)]=mn,exports[_0x2d565c(0x123)]=xn,exports[_0x2d565c(0x7a3)]=Qn,exports['resolveShapeTextEditorBehaviorShapeData']=De,exports[_0x2d565c(0x38f)]=Ne,exports[_0x2d565c(0x79b)]=br,exports['resolveShapeTextEditorWrapStrategy']=Ae,exports[_0x2d565c(0x76d)]=ar,exports[_0x2d565c(0x4bf)]=Zn,exports[_0x2d565c(0x114)]=Q,exports[_0x2d565c(0x4f1)]=Nn,exports[_0x2d565c(0x1c4)]=Pe,exports[_0x2d565c(0x3ad)]=Me,exports[_0x2d565c(0x1e4)]=je,exports['stripShapeTextDocumentLayout']=Sn,exports[_0x2d565c(0x350)]=Tn,exports[_0x2d565c(0x6c8)]=Kt;
1
+ const _0xdb1731=_0x38c7;(function(_0x35ba8e,_0x2feda0){const _0x493837=_0x38c7,_0x1f19fb=_0x35ba8e();while(!![]){try{const _0x4cc1da=parseInt(_0x493837(0x457))/0x1+parseInt(_0x493837(0x670))/0x2*(parseInt(_0x493837(0x2ab))/0x3)+-parseInt(_0x493837(0x200))/0x4+-parseInt(_0x493837(0x1b7))/0x5*(parseInt(_0x493837(0x4d5))/0x6)+-parseInt(_0x493837(0x414))/0x7*(parseInt(_0x493837(0x3c1))/0x8)+-parseInt(_0x493837(0x609))/0x9+parseInt(_0x493837(0x2b4))/0xa*(parseInt(_0x493837(0x10d))/0xb);if(_0x4cc1da===_0x2feda0)break;else _0x1f19fb['push'](_0x1f19fb['shift']());}catch(_0xc7104c){_0x1f19fb['push'](_0x1f19fb['shift']());}}}(_0x163c,0x2cb1b),Object[_0xdb1731(0x231)](exports,Symbol['toStringTag'],{'value':_0xdb1731(0x7cf)}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs-pro/license'),a=require('@univerjs-pro/shape-editor'),o=require('@univerjs/core'),s=require('@univerjs/ui'),c=require('@univerjs-pro/bases'),l=require('@univerjs-pro/bases-ui'),u=require('@univerjs-pro/collaboration-client'),d=require('@univerjs-pro/engine-formula'),f=require('@univerjs/docs'),p=require('@univerjs/docs-ui'),m=require('@univerjs/engine-formula'),h=require('@univerjs/engine-render'),g=require('@univerjs/rpc'),_=require('@univerjs/sheets'),v=require('@univerjs/sheets-formula'),y=require('@univerjs/sheets-formula-ui'),b=require('@univerjs/sheets-ui'),x=require('@univerjs/drawing'),S=require('@univerjs-pro/engine-shape'),C=require('@univerjs/sheets-numfmt');const w={'none':'none','solid':'solid','gradient':'gradient','picture':_0xdb1731(0x38d)},T={'type':_0xdb1731(0x2d6),'angle':0x0,'stops':[{'color':_0xdb1731(0x14b),'offset':0x0},{'color':_0xdb1731(0x344),'offset':0x64}]};function E(_0x393d88){const _0x4d8e0b=_0xdb1731;let {className:_0x4b12b5,compact:_0x41b392=!0x0,disabled:_0x103e81=!0x1,direction:_0x12ddbe,value:_0x1410c0,typeValues:_0x436a42=w,color:_0x113ad6=_0x4d8e0b(0x14b),transparency:_0x4a25cb=0x0,gradientValue:_0x54827a=T,labels:_0x27048b,tabLabels:_0x51f0b4,noFillEditor:_0x508f67,pictureFillEditor:_0x2f4abd,renderColorIcon:_0x10e932,editorInteractionBoundary:_0xfe0435=!0x1,keepColorPickerOpenOnChange:_0x24088e=!0x1,onChange:_0x734d3a,onColorChange:_0x2e23d4,onTransparencyChange:_0x17bfbc,onGradientChange:_0x46e569}=_0x393d88,[_0x57ce01,_0x4f6c92]=(0x0,n[_0x4d8e0b(0x48e)])(!0x1),_0x321fe3=[{'label':(_0x51f0b4==null?void 0x0:_0x51f0b4[_0x4d8e0b(0x3c7)])??_0x27048b[_0x4d8e0b(0x3c7)],'value':_0x436a42[_0x4d8e0b(0x79d)]},{'label':(_0x51f0b4==null?void 0x0:_0x51f0b4[_0x4d8e0b(0x55c)])??_0x27048b[_0x4d8e0b(0x55c)],'value':_0x436a42[_0x4d8e0b(0x655)]},{'label':(_0x51f0b4==null?void 0x0:_0x51f0b4[_0x4d8e0b(0x6f4)])??_0x27048b[_0x4d8e0b(0x6f4)],'value':_0x436a42[_0x4d8e0b(0x669)]},{'label':(_0x51f0b4==null?void 0x0:_0x51f0b4['pictureFill'])??_0x27048b[_0x4d8e0b(0x546)],'value':_0x436a42['picture']}];return(0x0,r[_0x4d8e0b(0x565)])(_0x4d8e0b(0x73f),{'dir':_0x12ddbe,'className':(0x0,e[_0x4d8e0b(0x221)])('univer-flex\x20univer-min-w-0\x20univer-flex-col',_0x41b392?_0x4d8e0b(0x379):_0x4d8e0b(0x31f),_0x4b12b5),'children':[(0x0,r[_0x4d8e0b(0x6c7)])(e[_0x4d8e0b(0x374)],{'className':(0x0,e['clsx'])('univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden',_0x41b392&&_0x4d8e0b(0x6b2),_0x103e81&&_0x4d8e0b(0x1cd)),'items':_0x321fe3,'value':_0x1410c0,'onChange':_0x3fa349=>{_0x103e81||_0x734d3a==null||_0x734d3a(_0x3fa349);}}),_0x1410c0===_0x436a42['none']&&_0x508f67,_0x1410c0===_0x436a42[_0x4d8e0b(0x655)]&&(0x0,r[_0x4d8e0b(0x565)])(_0x4d8e0b(0x73f),{'className':(0x0,e['clsx'])(_0x4d8e0b(0x129),_0x41b392?_0x4d8e0b(0x2da):_0x4d8e0b(0x379)),'children':[(0x0,r['jsxs'])(_0x4d8e0b(0x73f),{'className':_0x4d8e0b(0xdd),'children':[(0x0,r[_0x4d8e0b(0x6c7)])(_0x4d8e0b(0x733),{'className':_0x4d8e0b(0x2e6),'children':_0x27048b['color']}),(0x0,r[_0x4d8e0b(0x6c7)])(e[_0x4d8e0b(0x462)],{'disabled':_0x103e81,'overlay':(0x0,r['jsx'])(_0x4d8e0b(0x73f),{'className':_0x4d8e0b(0x178),'data-u-editor-interaction-boundary':_0xfe0435||void 0x0,'dir':_0x12ddbe,'children':(0x0,r[_0x4d8e0b(0x6c7)])(e[_0x4d8e0b(0x2d0)],{'value':_0x113ad6,'onChange':_0x396821=>{_0x2e23d4==null||_0x2e23d4(_0x396821),_0x24088e||_0x4f6c92(!0x1);}})}),'open':_0x57ce01,'onOpenChange':_0x4f6c92,'children':(0x0,r['jsxs'])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(_0x10e932==null?void 0x0:_0x10e932(_0x113ad6))??(0x0,r[_0x4d8e0b(0x6c7)])(t[_0x4d8e0b(0x442)],{'className':_0x4d8e0b(0x27b),'extend':{'colorChannel1':_0x113ad6}}),(0x0,r[_0x4d8e0b(0x6c7)])(t['MoreDownIcon'],{'className':(0x0,e[_0x4d8e0b(0x221)])(_0x4d8e0b(0x2f9),{'univer-rotate-180':_0x57ce01})})]})})]}),(0x0,r[_0x4d8e0b(0x565)])(_0x4d8e0b(0x73f),{'className':_0x4d8e0b(0xdd),'children':[(0x0,r[_0x4d8e0b(0x6c7)])(_0x4d8e0b(0x733),{'className':_0x4d8e0b(0x2e6),'children':_0x27048b[_0x4d8e0b(0x6c2)]}),(0x0,r[_0x4d8e0b(0x6c7)])(_0x4d8e0b(0x73f),{'className':_0x4d8e0b(0x6f0),'children':(0x0,r[_0x4d8e0b(0x6c7)])(e[_0x4d8e0b(0x663)],{'className':_0x4d8e0b(0x2ac),'value':_0x4a25cb,'disabled':_0x103e81,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5c21bd=>_0x5c21bd+'%','parser':_0x44abf0=>(_0x44abf0==null?void 0x0:_0x44abf0['replace']('%',''))||'','onChange':_0x3ad8f0=>_0x17bfbc==null?void 0x0:_0x17bfbc(_0x3ad8f0??0x0)})})]})]}),_0x1410c0===_0x436a42['gradient']&&(0x0,r[_0x4d8e0b(0x6c7)])(e[_0x4d8e0b(0x7df)],{'className':'univer-shadow-none','compact':_0x41b392,'value':_0x54827a,'onChange':_0x46e569}),_0x1410c0===_0x436a42[_0x4d8e0b(0x38d)]&&_0x2f4abd]});}const D=_0xdb1731(0x5b3),O={};var k=_0xdb1731(0x488),A=_0xdb1731(0x557);function j(_0x30654a,_0x2f2a06){return function(_0x46c293,_0xa6100d){_0x2f2a06(_0x46c293,_0xa6100d,_0x30654a);};}function M(_0xa16ee3,_0x46f224,_0x4766f3,_0x1b3b6e){const _0x3ed710=_0xdb1731;var _0x3099cd=arguments['length'],_0xb96fc4=_0x3099cd<0x3?_0x46f224:_0x1b3b6e===null?_0x1b3b6e=Object[_0x3ed710(0x1aa)](_0x46f224,_0x4766f3):_0x1b3b6e,_0x5e5325;if(typeof Reflect=='object'&&typeof Reflect[_0x3ed710(0x1d8)]==_0x3ed710(0x179))_0xb96fc4=Reflect['decorate'](_0xa16ee3,_0x46f224,_0x4766f3,_0x1b3b6e);else{for(var _0x1b5a4b=_0xa16ee3[_0x3ed710(0x6e2)]-0x1;_0x1b5a4b>=0x0;_0x1b5a4b--)(_0x5e5325=_0xa16ee3[_0x1b5a4b])&&(_0xb96fc4=(_0x3099cd<0x3?_0x5e5325(_0xb96fc4):_0x3099cd>0x3?_0x5e5325(_0x46f224,_0x4766f3,_0xb96fc4):_0x5e5325(_0x46f224,_0x4766f3))||_0xb96fc4);}return _0x3099cd>0x3&&_0xb96fc4&&Object[_0x3ed710(0x231)](_0x46f224,_0x4766f3,_0xb96fc4),_0xb96fc4;}const N={'ShapeAccentBorderCallout1Icon':t[_0xdb1731(0x7b7)],'ShapeAccentBorderCallout2Icon':t[_0xdb1731(0x721)],'ShapeAccentBorderCallout3Icon':t['ShapeAccentBorderCallout3Icon'],'ShapeAccentCallout1Icon':t[_0xdb1731(0x3a7)],'ShapeAccentCallout2Icon':t[_0xdb1731(0x5cc)],'ShapeAccentCallout3Icon':t['ShapeAccentCallout3Icon'],'ShapeActionButtonBackPreviousIcon':t[_0xdb1731(0x4a6)],'ShapeActionButtonBeginningIcon':t[_0xdb1731(0x575)],'ShapeActionButtonBlankIcon':t['ShapeActionButtonBlankIcon'],'ShapeActionButtonDocumentIcon':t[_0xdb1731(0x327)],'ShapeActionButtonEndIcon':t[_0xdb1731(0x115)],'ShapeActionButtonForwardNextIcon':t['ShapeActionButtonForwardNextIcon'],'ShapeActionButtonHelpIcon':t['ShapeActionButtonHelpIcon'],'ShapeActionButtonHomeIcon':t[_0xdb1731(0x295)],'ShapeActionButtonInformationIcon':t['ShapeActionButtonInformationIcon'],'ShapeActionButtonMovieIcon':t[_0xdb1731(0x312)],'ShapeActionButtonReturnIcon':t['ShapeActionButtonReturnIcon'],'ShapeActionButtonSoundIcon':t[_0xdb1731(0x581)],'ShapeArcIcon':t['ShapeArcIcon'],'ShapeBentArrowIcon':t[_0xdb1731(0x126)],'ShapeBentConnector3Arrow1Icon':t[_0xdb1731(0x5f6)],'ShapeBentConnector3Arrow2Icon':t[_0xdb1731(0x5c5)],'ShapeBentConnector3Icon':t[_0xdb1731(0x6a4)],'ShapeBentUpArrowIcon':t[_0xdb1731(0x4f5)],'ShapeBevelIcon':t[_0xdb1731(0x741)],'ShapeBlockArcIcon':t[_0xdb1731(0x22c)],'ShapeBorderCallout1Icon':t[_0xdb1731(0x16c)],'ShapeBorderCallout2Icon':t[_0xdb1731(0x562)],'ShapeBorderCallout3Icon':t[_0xdb1731(0x3e1)],'ShapeBracePairIcon':t[_0xdb1731(0x4b7)],'ShapeBracketPairIcon':t[_0xdb1731(0x7cb)],'ShapeCallout1Icon':t[_0xdb1731(0x4c6)],'ShapeCallout2Icon':t[_0xdb1731(0x78a)],'ShapeCallout3Icon':t[_0xdb1731(0x1e6)],'ShapeCanIcon':t['ShapeCanIcon'],'ShapeChartPlusIcon':t['ShapeChartPlusIcon'],'ShapeChartStarIcon':t[_0xdb1731(0x40f)],'ShapeChartXIcon':t[_0xdb1731(0x406)],'ShapeChevronIcon':t[_0xdb1731(0x24f)],'ShapeChordIcon':t['ShapeChordIcon'],'ShapeCircularArrowIcon':t[_0xdb1731(0x297)],'ShapeCloudCalloutIcon':t[_0xdb1731(0x77a)],'ShapeCloudIcon':t[_0xdb1731(0x6e3)],'ShapeCornerIcon':t[_0xdb1731(0x1ad)],'ShapeCornerTabsIcon':t[_0xdb1731(0x4c2)],'ShapeCubeIcon':t['ShapeCubeIcon'],'ShapeCurvedConnector3Arrow1Icon':t[_0xdb1731(0x2d2)],'ShapeCurvedConnector3Arrow2Icon':t[_0xdb1731(0x33e)],'ShapeCurvedConnector3Icon':t[_0xdb1731(0x165)],'ShapeCurvedDownArrowIcon':t[_0xdb1731(0x5d4)],'ShapeCurvedLeftArrowIcon':t['ShapeCurvedLeftArrowIcon'],'ShapeCurvedRightArrowIcon':t[_0xdb1731(0x5e6)],'ShapeCurvedUpArrowIcon':t[_0xdb1731(0x3b9)],'ShapeDecagonIcon':t[_0xdb1731(0x273)],'ShapeDiagStripeIcon':t['ShapeDiagStripeIcon'],'ShapeDiamondIcon':t['ShapeDiamondIcon'],'ShapeDodecagonIcon':t[_0xdb1731(0x629)],'ShapeDonutIcon':t['ShapeDonutIcon'],'ShapeDoubleWaveIcon':t[_0xdb1731(0x554)],'ShapeDownArrowCalloutIcon':t['ShapeDownArrowCalloutIcon'],'ShapeDownArrowIcon':t['ShapeDownArrowIcon'],'ShapeEllipseIcon':t['ShapeEllipseIcon'],'ShapeEllipseRibbon2Icon':t['ShapeEllipseRibbon2Icon'],'ShapeEllipseRibbonIcon':t[_0xdb1731(0x15d)],'ShapeFlowChartAlternateProcessIcon':t['ShapeFlowChartAlternateProcessIcon'],'ShapeFlowChartCollateIcon':t[_0xdb1731(0x3d4)],'ShapeFlowChartConnectorIcon':t[_0xdb1731(0x114)],'ShapeFlowChartDecisionIcon':t['ShapeFlowChartDecisionIcon'],'ShapeFlowChartDelayIcon':t[_0xdb1731(0x303)],'ShapeFlowChartDisplayIcon':t[_0xdb1731(0x6f1)],'ShapeFlowChartDocumentIcon':t[_0xdb1731(0x3d1)],'ShapeFlowChartExtractIcon':t[_0xdb1731(0x66d)],'ShapeFlowChartInputOutputIcon':t[_0xdb1731(0x6f9)],'ShapeFlowChartInternalStorageIcon':t[_0xdb1731(0x6b1)],'ShapeFlowChartMagneticDiskIcon':t[_0xdb1731(0x681)],'ShapeFlowChartMagneticDrumIcon':t['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':t[_0xdb1731(0x6fd)],'ShapeFlowChartManualInputIcon':t[_0xdb1731(0x62d)],'ShapeFlowChartManualOperationIcon':t[_0xdb1731(0x764)],'ShapeFlowChartMergeIcon':t[_0xdb1731(0x1a6)],'ShapeFlowChartMultidocumentIcon':t[_0xdb1731(0x235)],'ShapeFlowChartOfflineStorageIcon':t[_0xdb1731(0x50d)],'ShapeFlowChartOffpageConnectorIcon':t[_0xdb1731(0x1da)],'ShapeFlowChartOnlineStorageIcon':t['ShapeFlowChartOnlineStorageIcon'],'ShapeFlowChartOrIcon':t['ShapeFlowChartOrIcon'],'ShapeFlowChartPredefinedProcessIcon':t[_0xdb1731(0x453)],'ShapeFlowChartPreparationIcon':t[_0xdb1731(0x3d3)],'ShapeFlowChartProcessIcon':t[_0xdb1731(0xf0)],'ShapeFlowChartPunchedCardIcon':t[_0xdb1731(0x3b7)],'ShapeFlowChartPunchedTapeIcon':t[_0xdb1731(0x53c)],'ShapeFlowChartSortIcon':t[_0xdb1731(0xc7)],'ShapeFlowChartSummingJunctionIcon':t[_0xdb1731(0x441)],'ShapeFlowChartTerminatorIcon':t[_0xdb1731(0x2a3)],'ShapeFolderCornerIcon':t[_0xdb1731(0x55d)],'ShapeFrameIcon':t[_0xdb1731(0x127)],'ShapeFunnelIcon':t['ShapeFunnelIcon'],'ShapeGear6Icon':t[_0xdb1731(0x1cf)],'ShapeGear9Icon':t[_0xdb1731(0x5b6)],'ShapeHalfFrameIcon':t[_0xdb1731(0x100)],'ShapeHeartIcon':t[_0xdb1731(0x560)],'ShapeHeptagonIcon':t[_0xdb1731(0x758)],'ShapeHexagonIcon':t['ShapeHexagonIcon'],'ShapeHomePlateIcon':t[_0xdb1731(0x268)],'ShapeHorizontalScrollIcon':t[_0xdb1731(0xe4)],'ShapeIcon':t[_0xdb1731(0x17b)],'ShapeIrregularSeal1Icon':t[_0xdb1731(0x787)],'ShapeIrregularSeal2Icon':t[_0xdb1731(0x717)],'ShapeLeftArrowCalloutIcon':t[_0xdb1731(0xc0)],'ShapeLeftArrowIcon':t[_0xdb1731(0x345)],'ShapeLeftBraceIcon':t[_0xdb1731(0x483)],'ShapeLeftBracketIcon':t[_0xdb1731(0x333)],'ShapeLeftCircularArrowIcon':t[_0xdb1731(0x51e)],'ShapeLeftRightArrowCalloutIcon':t[_0xdb1731(0x46a)],'ShapeLeftRightArrowIcon':t[_0xdb1731(0x610)],'ShapeLeftRightCircularArrowIcon':t[_0xdb1731(0x5bb)],'ShapeLeftRightRibbonIcon':t['ShapeLeftRightRibbonIcon'],'ShapeLeftRightUpArrowIcon':t['ShapeLeftRightUpArrowIcon'],'ShapeLeftUpArrowIcon':t[_0xdb1731(0x31c)],'ShapeLightningBoltIcon':t[_0xdb1731(0x112)],'ShapeLineIcon':t[_0xdb1731(0x4d8)],'ShapeLineInvIcon':t[_0xdb1731(0x2b2)],'ShapeMathDivideIcon':t[_0xdb1731(0x744)],'ShapeMathEqualIcon':t[_0xdb1731(0x679)],'ShapeMathMinusIcon':t[_0xdb1731(0x24b)],'ShapeMathMultiplyIcon':t[_0xdb1731(0x44e)],'ShapeMathNotEqualIcon':t['ShapeMathNotEqualIcon'],'ShapeMathPlusIcon':t[_0xdb1731(0x7a8)],'ShapeMoonIcon':t[_0xdb1731(0x582)],'ShapeNoSmokingIcon':t['ShapeNoSmokingIcon'],'ShapeNonIsoscelesTrapezoidIcon':t[_0xdb1731(0x734)],'ShapeNotchedRightArrowIcon':t[_0xdb1731(0x20b)],'ShapeOctagonIcon':t[_0xdb1731(0x4ed)],'ShapeParallelogramIcon':t['ShapeParallelogramIcon'],'ShapePentagonIcon':t[_0xdb1731(0x584)],'ShapePieIcon':t['ShapePieIcon'],'ShapePieWedgeIcon':t[_0xdb1731(0x718)],'ShapePlaqueIcon':t['ShapePlaqueIcon'],'ShapePlaqueTabsIcon':t[_0xdb1731(0x568)],'ShapePlusIcon':t[_0xdb1731(0x351)],'ShapeQuadArrowCalloutIcon':t[_0xdb1731(0x72d)],'ShapeQuadArrowIcon':t['ShapeQuadArrowIcon'],'ShapeRectIcon':t[_0xdb1731(0x601)],'ShapeRectTextboxHorizontalIcon':t[_0xdb1731(0x255)],'ShapeRectTextboxVerticalIcon':t[_0xdb1731(0x2ef)],'ShapeRibbon2Icon':t[_0xdb1731(0x578)],'ShapeRibbonIcon':t[_0xdb1731(0x6e5)],'ShapeRightArrowCalloutIcon':t[_0xdb1731(0x5d7)],'ShapeRightArrowIcon':t[_0xdb1731(0x4a4)],'ShapeRightBraceIcon':t[_0xdb1731(0x431)],'ShapeRightBracketIcon':t[_0xdb1731(0x5b5)],'ShapeRound1RectIcon':t[_0xdb1731(0x180)],'ShapeRound2DiagRectIcon':t[_0xdb1731(0x139)],'ShapeRound2SameRectIcon':t[_0xdb1731(0x1ac)],'ShapeRoundRectIcon':t['ShapeRoundRectIcon'],'ShapeRtTriangleIcon':t[_0xdb1731(0x6a0)],'ShapeSmileyFaceIcon':t[_0xdb1731(0x74f)],'ShapeSnip1RectIcon':t[_0xdb1731(0x777)],'ShapeSnip2DiagRectIcon':t[_0xdb1731(0x2d1)],'ShapeSnip2SameRectIcon':t[_0xdb1731(0x709)],'ShapeSnipRoundRectIcon':t[_0xdb1731(0x12e)],'ShapeSquareTabsIcon':t['ShapeSquareTabsIcon'],'ShapeStar10Icon':t[_0xdb1731(0x6cf)],'ShapeStar12Icon':t[_0xdb1731(0x1fa)],'ShapeStar16Icon':t['ShapeStar16Icon'],'ShapeStar24Icon':t[_0xdb1731(0x711)],'ShapeStar32Icon':t[_0xdb1731(0x1f2)],'ShapeStar4Icon':t[_0xdb1731(0x57e)],'ShapeStar5Icon':t[_0xdb1731(0x548)],'ShapeStar6Icon':t[_0xdb1731(0x4de)],'ShapeStar7Icon':t[_0xdb1731(0x7dc)],'ShapeStar8Icon':t[_0xdb1731(0x78d)],'ShapeStraightConnector1Icon':t[_0xdb1731(0x1df)],'ShapeStraightConnector2Icon':t['ShapeStraightConnector2Icon'],'ShapeStripedRightArrowIcon':t[_0xdb1731(0x14c)],'ShapeSunIcon':t['ShapeSunIcon'],'ShapeSwooshArrowIcon':t['ShapeSwooshArrowIcon'],'ShapeTeardropIcon':t[_0xdb1731(0x40b)],'ShapeTrapezoidIcon':t[_0xdb1731(0x364)],'ShapeTriangleIcon':t[_0xdb1731(0x11a)],'ShapeUpArrowCalloutIcon':t[_0xdb1731(0x607)],'ShapeUpArrowIcon':t[_0xdb1731(0x20f)],'ShapeUpDownArrowCalloutIcon':t[_0xdb1731(0x691)],'ShapeUpDownArrowIcon':t[_0xdb1731(0x45c)],'ShapeUturnArrowIcon':t[_0xdb1731(0x162)],'ShapeVerticalScrollIcon':t['ShapeVerticalScrollIcon'],'ShapeWaveIcon':t['ShapeWaveIcon'],'ShapeWedgeEllipseCalloutIcon':t[_0xdb1731(0x290)],'ShapeWedgeRectCalloutIcon':t[_0xdb1731(0x34b)],'ShapeWedgeRoundRectCalloutIcon':t[_0xdb1731(0x296)]};let P=class extends o[_0xdb1731(0x39c)]{constructor(_0x319bbd){const _0xe17cc1=_0xdb1731;super(),this['_iconManager']=_0x319bbd,this[_0xe17cc1(0x630)]();}[_0xdb1731(0x630)](){const _0x418c55=_0xdb1731;this[_0x418c55(0x577)](this['_iconManager'][_0x418c55(0x1b3)](N));}};P=M([j(0x0,(0x0,o[_0xdb1731(0x388)])(s[_0xdb1731(0x600)]))],P);function F(_0x255202){const _0x1f9b43=_0xdb1731;let {host:_0x2a8d12,range:_0x20f46c,workbook:_0x448937,worksheet:_0x21c668}=_0x255202,_0x2f0770=_0x448937[_0x1f9b43(0x678)]();return(0x0,d[_0x1f9b43(0x175)])({'hostUnitId':_0x2a8d12[_0x1f9b43(0xc9)],'unit':{'formulaQualifier':_0x448937[_0x1f9b43(0x6a8)],'unitId':_0x2f0770},'target':{'kind':d[_0x1f9b43(0x21e)][_0x1f9b43(0x377)],'sheetName':_0x21c668[_0x1f9b43(0x471)](),'range':_0x20f46c}});}function I(_0x492a71){const _0x484d6f=_0xdb1731;var _0x1c343c;let {fieldIds:_0x11071a,hostUnitId:_0xd09e88,snapshot:_0x9805f2,sourceUnitId:_0x5c97bb,tableId:_0x44a1f7}=_0x492a71,_0x526732=_0x9805f2['tables'][_0x44a1f7],_0x199cb6=_0x11071a[_0x484d6f(0x50f)](_0x40762c=>_0x526732==null?void 0x0:_0x526732[_0x484d6f(0x3e6)][_0x40762c])[_0x484d6f(0xc4)](_0x2db4c9=>_0x2db4c9!=null);return!_0x526732||_0x199cb6[_0x484d6f(0x6e2)]===0x0?null:(0x0,d[_0x484d6f(0x175)])({'hostUnitId':_0xd09e88,'unit':{'formulaQualifier':_0x9805f2[_0x484d6f(0x6a8)],'unitId':_0x5c97bb},'target':{'kind':d[_0x484d6f(0x21e)]['TABLE_COLUMN'],'tableName':_0x526732[_0x484d6f(0x6a8)],'columnName':_0x199cb6[0x0][_0x484d6f(0x6a8)],'endColumnName':(_0x1c343c=_0x199cb6[_0x199cb6[_0x484d6f(0x6e2)]-0x1])==null?void 0x0:_0x1c343c[_0x484d6f(0x6a8)]}});}function L(_0x355c06){'@babel/helpers - typeof';const _0x665311=_0xdb1731;return L=typeof Symbol==_0x665311(0x179)&&typeof Symbol['iterator']==_0x665311(0x1af)?function(_0x479405){return typeof _0x479405;}:function(_0x3c6599){const _0x467081=_0x665311;return _0x3c6599&&typeof Symbol==_0x467081(0x179)&&_0x3c6599[_0x467081(0x4d7)]===Symbol&&_0x3c6599!==Symbol['prototype']?_0x467081(0x1af):typeof _0x3c6599;},L(_0x355c06);}function R(_0x1cda35,_0x2ac588){const _0x2e0818=_0xdb1731;if(L(_0x1cda35)!=_0x2e0818(0x4fa)||!_0x1cda35)return _0x1cda35;var _0x5acb09=_0x1cda35[Symbol[_0x2e0818(0x74e)]];if(_0x5acb09!==void 0x0){var _0x4c5d73=_0x5acb09[_0x2e0818(0x4cb)](_0x1cda35,_0x2ac588||_0x2e0818(0x687));if(L(_0x4c5d73)!=_0x2e0818(0x4fa))return _0x4c5d73;throw TypeError(_0x2e0818(0x36b));}return(_0x2ac588===_0x2e0818(0x435)?String:Number)(_0x1cda35);}function z(_0x37362f){const _0x5f43bd=_0xdb1731;var _0x49e126=R(_0x37362f,_0x5f43bd(0x435));return L(_0x49e126)=='symbol'?_0x49e126:_0x49e126+'';}function B(_0x53dc63,_0x5f16fd,_0x16bdde){const _0x4abc98=_0xdb1731;return(_0x5f16fd=z(_0x5f16fd))in _0x53dc63?Object[_0x4abc98(0x231)](_0x53dc63,_0x5f16fd,{'value':_0x16bdde,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x53dc63[_0x5f16fd]=_0x16bdde,_0x53dc63;}var ee=class{[_0xdb1731(0x403)](){const _0x503c84=_0xdb1731;return Promise[_0x503c84(0x4df)](null);}};const V=[[o[_0xdb1731(0x3d2)],null],[o[_0xdb1731(0x182)],null],[o[_0xdb1731(0x58f)],null]],te=[[o[_0xdb1731(0x3d2)],{'useClass':o[_0xdb1731(0x402)]}],[o['IMentionIOService'],{'useClass':o[_0xdb1731(0x485)]}]];let H=class extends o[_0xdb1731(0x39c)]{constructor(_0x658fc6,_0x4baa9b,_0x689ec5,_0x3e22ee){const _0x41be83=_0xdb1731;super(),this[_0x41be83(0x35c)]=_0x658fc6,this[_0x41be83(0x382)]=_0x4baa9b,this[_0x41be83(0x294)]=_0x689ec5,this[_0x41be83(0x68b)]=_0x3e22ee,B(this,'_univer',null),B(this,_0x41be83(0x25c),null),B(this,_0x41be83(0x3fd),null),B(this,_0x41be83(0x795),0x0),B(this,_0x41be83(0x35a),new o[(_0x41be83(0x6b0))]()),B(this,_0x41be83(0x334),null),B(this,'_host',null),B(this,'_resource',null),B(this,_0x41be83(0x365),null),B(this,_0x41be83(0x6b5),null),B(this,_0x41be83(0x779),null),B(this,'_visibleReferenceIndexes',[]),B(this,_0x41be83(0x1bb),!0x1),B(this,_0x41be83(0x763),!0x1),B(this,'_pointerListener',null),B(this,'_selectionChangingDisposable',null),B(this,_0x41be83(0x79f),new o['DisposableCollection']()),B(this,_0x41be83(0x69e),!0x1),B(this,_0x41be83(0x5fd),0x0);}async[_0xdb1731(0x1e9)](){const _0x5d6b88=_0xdb1731;var _0x4a7329;let _0x375ace=this[_0x5d6b88(0x433)](),_0x437f5d=(_0x4a7329=this[_0x5d6b88(0x35c)][_0x5d6b88(0x3c0)](_0x5d6b88(0x5b3)))==null?void 0x0:_0x4a7329[_0x5d6b88(0x73a)];if(!_0x437f5d)return _0x375ace;try{let _0x4f945f=await _0x437f5d[_0x5d6b88(0x1e9)](),_0x45aa34=new Set(_0x375ace['map'](_0x250527=>_0x250527[_0x5d6b88(0xc9)]));return[..._0x375ace,..._0x4f945f[_0x5d6b88(0xc4)](_0x39d890=>!_0x45aa34[_0x5d6b88(0x72a)](_0x39d890[_0x5d6b88(0xc9)]))];}catch{return _0x375ace;}}['mount'](_0x16657f){const _0x3a0331=_0xdb1731;this[_0x3a0331(0x5fd)]+=0x1,!(this[_0x3a0331(0x3fd)]===_0x16657f&&this['_univer'])&&(this[_0x3a0331(0x67d)](),this[_0x3a0331(0x3fd)]=_0x16657f,this[_0x3a0331(0x416)]=this[_0x3a0331(0x5f3)](_0x16657f),this['_pointerListener']=_0x48a743=>{const _0x307eed=_0x3a0331;this['_pointerCtrlKey']=_0x48a743[_0x307eed(0x176)]||_0x48a743['metaKey'];},_0x16657f[_0x3a0331(0x6f6)](_0x3a0331(0x427),this[_0x3a0331(0x2a4)],!0x0));}async['switchUnit'](_0x126e55,_0x301c6f,_0x5a2ab8){const _0x5458d3=_0xdb1731;var _0x32dc37;let _0x3d2fcb=++this[_0x5458d3(0x795)],_0x3591ff=this[_0x5458d3(0x416)];if(!_0x3591ff)return null;let _0x1d23ca=_0x3591ff[_0x5458d3(0x6ea)]()[_0x5458d3(0x378)](o['IUniverInstanceService']);this[_0x5458d3(0x35a)]['dispose'](),this[_0x5458d3(0x35a)]=new o['DisposableCollection'](),(_0x32dc37=this[_0x5458d3(0x113)])==null||_0x32dc37['dispose'](),this[_0x5458d3(0x113)]=null,this[_0x5458d3(0x79f)][_0x5458d3(0x6a5)](),this[_0x5458d3(0x79f)]=new o[(_0x5458d3(0x6b0))](),this[_0x5458d3(0x183)]=_0x301c6f,this[_0x5458d3(0x244)]=_0x126e55,this[_0x5458d3(0x365)]=_0x5a2ab8,this[_0x5458d3(0x6b5)]=null,this['_activeBase']=null,this[_0x5458d3(0x2c9)]=[],this['_isDraggingFormulaSelection']=!0x1,this['_activeUnitId']&&=(_0x1d23ca[_0x5458d3(0x156)](this['_activeUnitId']),null);let _0x256ea5;if(_0x126e55[_0x5458d3(0x5dd)]===o['UniverInstanceType'][_0x5458d3(0x6f3)]){let _0x1bfb36=o[_0x5458d3(0x1ca)][_0x5458d3(0x2e0)](await _0x126e55[_0x5458d3(0x450)]());if(_0x3d2fcb!==this[_0x5458d3(0x795)]||_0x3591ff!==this['_univer'])return null;_0x256ea5=_0x3591ff['createUnit'](_0x126e55[_0x5458d3(0x5dd)],_0x1bfb36);}else{let _0x3bfd2e=o[_0x5458d3(0x1ca)][_0x5458d3(0x2e0)](await _0x126e55[_0x5458d3(0x450)]());if(_0x3d2fcb!==this[_0x5458d3(0x795)]||_0x3591ff!==this['_univer'])return null;this[_0x5458d3(0x59f)](_0x3bfd2e),_0x3bfd2e['id']=_0x5458d3(0x4f0)+_0x126e55['unitId'],_0x256ea5=_0x3591ff['createUnit'](_0x126e55['type'],_0x3bfd2e),this[_0x5458d3(0x1a1)](_0x3591ff,_0x256ea5);}return this[_0x5458d3(0x25c)]=_0x256ea5[_0x5458d3(0x678)](),_0x1d23ca[_0x5458d3(0x11f)](_0x256ea5[_0x5458d3(0x678)]()),_0x1d23ca[_0x5458d3(0x48f)](_0x256ea5[_0x5458d3(0x678)]()),_0x256ea5 instanceof o[_0x5458d3(0x286)]?(this[_0x5458d3(0x6b5)]=_0x256ea5,this[_0x5458d3(0x79e)](_0x3591ff,_0x256ea5,_0x301c6f)):(this['_activeBase']=_0x256ea5,this[_0x5458d3(0x448)](_0x3591ff,_0x256ea5)),this[_0x5458d3(0x5cd)](),_0x256ea5;}['_makeBaseSnapshotReadOnly'](_0x50a8c0){const _0x11c4a4=_0xdb1731;Object[_0x11c4a4(0x314)](_0x50a8c0['tables'])[_0x11c4a4(0x520)](_0x489723=>{const _0x1d0d36=_0x11c4a4;Object['values'](_0x489723[_0x1d0d36(0x3e6)])[_0x1d0d36(0x520)](_0x4f154f=>{const _0x1a5ce7=_0x1d0d36;_0x4f154f[_0x1a5ce7(0x107)]=!0x0;});});}[_0xdb1731(0x1a1)](_0x5be100,_0x183627){const _0x14a7dd=_0xdb1731;let _0x515a1f=_0x5be100[_0x14a7dd(0x6ea)]()[_0x14a7dd(0x378)](c[_0x14a7dd(0x5a1)]),_0x2b5d39=_0x183627[_0x14a7dd(0x52f)]();_0x515a1f[_0x14a7dd(0x1f1)](_0x183627[_0x14a7dd(0x678)](),{'createTable':!0x1}),Object[_0x14a7dd(0x314)](_0x2b5d39[_0x14a7dd(0x2a5)])[_0x14a7dd(0x520)](_0x335709=>{const _0x31266f=_0x14a7dd;_0x515a1f['setTablePermission'](_0x335709['id'],{'createField':!0x1,'createRecord':!0x1,'delete':!0x1,'manageView':!0x1}),Object['values'](_0x335709['fields'])[_0x31266f(0x520)](_0x1f6d21=>{_0x515a1f['setFieldPermission'](_0x335709['id'],_0x1f6d21['id'],{'edit':!0x1,'delete':!0x1,'editCell':!0x1});}),Object['values'](_0x335709['records'])[_0x31266f(0x520)](_0x47b11b=>{const _0x55b46b=_0x31266f;_0x515a1f[_0x55b46b(0x4f2)](_0x335709['id'],_0x47b11b['id'],{'delete':!0x1,'editCell':!0x1});});});}[_0xdb1731(0x6e4)](_0x2264a7){const _0x587ff4=_0xdb1731;this['_formulaContext']=_0x2264a7,this[_0x587ff4(0x69e)]||this[_0x587ff4(0x5cd)]();}[_0xdb1731(0x624)](){const _0x41de3f=_0xdb1731;this[_0x41de3f(0x5fd)]+=0x1,this[_0x41de3f(0x67d)]();}[_0xdb1731(0x253)](){const _0x20d9df=_0xdb1731;let _0x38aa76=++this[_0x20d9df(0x5fd)];globalThis[_0x20d9df(0x239)](()=>{const _0x2d5c82=_0x20d9df;_0x38aa76===this['_closeRequest']&&this[_0x2d5c82(0x67d)]();},0x0);}[_0xdb1731(0x67d)](){const _0x326c94=_0xdb1731;var _0x38a410,_0x35968d;this['_generation']+=0x1,this[_0x326c94(0x35a)][_0x326c94(0x6a5)](),this['_selectionDisposables']=new o[(_0x326c94(0x6b0))](),(_0x38a410=this[_0x326c94(0x113)])==null||_0x38a410[_0x326c94(0x6a5)](),this[_0x326c94(0x113)]=null,this[_0x326c94(0x79f)][_0x326c94(0x6a5)](),this['_controlDisposables']=new o[(_0x326c94(0x6b0))](),this[_0x326c94(0x3fd)]&&this['_pointerListener']&&this['_container']['removeEventListener'](_0x326c94(0x427),this[_0x326c94(0x2a4)],!0x0),(_0x35968d=this['_univer'])==null||_0x35968d[_0x326c94(0x6a5)](),this[_0x326c94(0x416)]=null,this['_activeUnitId']=null,this['_container']=null,this['_pointerListener']=null,this['_formulaContext']=null,this[_0x326c94(0x183)]=null,this[_0x326c94(0x244)]=null,this[_0x326c94(0x365)]=null,this[_0x326c94(0x6b5)]=null,this[_0x326c94(0x779)]=null,this[_0x326c94(0x2c9)]=[],this[_0x326c94(0x69e)]=!0x1;}['dispose'](){const _0x4a1dfc=_0xdb1731;this[_0x4a1dfc(0x5fd)]+=0x1,this[_0x4a1dfc(0x67d)](),super['dispose']();}['_createUniver'](_0x37861c){const _0x2232a9=_0xdb1731;let _0x15907d=this['_configService'][_0x2232a9(0x3c0)](D),_0x540549=_0x15907d==null?void 0x0:_0x15907d[_0x2232a9(0x5c7)],_0x3da19e=this[_0x2232a9(0x294)]['getCurrentLocale'](),_0x27e778=this['_localeService'][_0x2232a9(0x4dd)](),_0x4be215=new o[(_0x2232a9(0x4ff))]({'locale':_0x3da19e,..._0x27e778?{'locales':{[_0x3da19e]:_0x27e778}}:null,'direction':this[_0x2232a9(0x294)][_0x2232a9(0x572)](),'theme':this[_0x2232a9(0x68b)]['getCurrentTheme'](),'darkMode':this[_0x2232a9(0x68b)]['darkMode'],'override':V}),_0x1e1579=this['_configService'][_0x2232a9(0x3c0)](i[_0x2232a9(0x5b7)]);return _0x1e1579&&_0x4be215[_0x2232a9(0x1c2)](i[_0x2232a9(0x491)],{'license':_0x1e1579['ls']}),_0x540549&&_0x4be215[_0x2232a9(0x1c2)](g[_0x2232a9(0x45a)],{'workerURL':_0x540549}),_0x4be215[_0x2232a9(0x1c2)](h[_0x2232a9(0x287)]),_0x4be215[_0x2232a9(0x1c2)](s[_0x2232a9(0x367)],{'container':_0x37861c,'contextMenu':!0x1,'disableAutoFocus':!0x0,'footer':!0x0,'header':!0x1,'headerMenu':!0x1,'toolbar':!0x1}),_0x4be215['registerPlugin'](d[_0x2232a9(0x104)],{'notExecuteFormula':!!_0x540549}),_0x4be215['registerPlugin'](f[_0x2232a9(0x375)]),_0x4be215[_0x2232a9(0x1c2)](p['UniverDocsUIPlugin']),_0x4be215[_0x2232a9(0x1c2)](_[_0x2232a9(0xfa)]),_0x4be215['registerPlugin'](v[_0x2232a9(0x6ca)]),_0x4be215['registerPlugin'](b[_0x2232a9(0x3f3)],{'disableAutoFocus':!0x0,'disableEdit':!0x0,'footer':{'addSheetButtonConfig':{'show':!0x1},'menus':!0x1,'sheetBar':!0x0,'statisticBar':!0x1,'zoomSlider':!0x1},'formulaBar':!0x1}),_0x4be215['registerPlugin'](y[_0x2232a9(0x35d)],{'functionScreenTips':!0x1,'menu':{}}),_0x4be215[_0x2232a9(0x1c2)](u[_0x2232a9(0x51c)],{'socketService':ee,'enableCollaboration':!0x1,'override':te}),_0x4be215[_0x2232a9(0x1c2)](c[_0x2232a9(0x522)]),_0x4be215[_0x2232a9(0x1c2)](l['UniverBasesUIPlugin'],{'disableEdit':!0x0,'override':[[l['IBaseCanvasRootResolverService'],{'useValue':(0x0,l['createScopedBaseCanvasRootResolverService'])(_0x37861c)}]],'workbench':{'collaborationStatus':!0x1,'footer':!0x1,'fallbackToFirstUnit':!0x0,'global':!0x1,'header':!0x1,'headerMenu':!0x1,'leftSidebar':!0x0,'mobile':!0x1,'rightSidebar':!0x1,'route':!0x1}}),_0x4be215;}[_0xdb1731(0x79e)](_0x3e3f53,_0x164dcc,_0xe9034c){const _0x58f87f=_0xdb1731;let _0x1ebe8c=_0x3e3f53[_0x58f87f(0x6ea)]()[_0x58f87f(0x378)](h['IRenderManagerService']),_0x2c375f=()=>{const _0x4d4f80=_0x58f87f;var _0x380b9c,_0x51bd61;let _0x30a891=(_0x380b9c=_0x1ebe8c[_0x4d4f80(0x1f8)](_0x164dcc[_0x4d4f80(0x678)]()))==null?void 0x0:_0x380b9c[_0x4d4f80(0x784)](y[_0x4d4f80(0x222)]);_0x30a891&&((_0x51bd61=this[_0x4d4f80(0x113)])==null||_0x51bd61[_0x4d4f80(0x6a5)](),this['_selectionChangingDisposable']=_0x30a891[_0x4d4f80(0x791)](),this[_0x4d4f80(0x35a)][_0x4d4f80(0x37f)](_0x30a891[_0x4d4f80(0x5ed)][_0x4d4f80(0x1c8)](_0x128276=>{const _0x44fd35=_0x4d4f80;this['_emitSheetSelectionChange'](_0x164dcc,_0xe9034c,_0x128276),this[_0x44fd35(0x763)]=!0x1;})),this[_0x4d4f80(0x5cd)]());};_0x2c375f(),this['_selectionDisposables'][_0x58f87f(0x37f)](_0x1ebe8c[_0x58f87f(0x65a)][_0x58f87f(0x1c8)](_0x45327c=>{const _0x1bd9d5=_0x58f87f;_0x45327c[_0x1bd9d5(0xc9)]===_0x164dcc[_0x1bd9d5(0x678)]()&&_0x2c375f();})),this['_selectionDisposables'][_0x58f87f(0x37f)](_0x164dcc['activeSheet$'][_0x58f87f(0x1c8)](()=>{const _0xa78f87=_0x58f87f;queueMicrotask(()=>this[_0xa78f87(0x5cd)]());}));}[_0xdb1731(0x448)](_0x2d2f39,_0x4d424b){const _0x250786=_0xdb1731;var _0x5d5282;let _0x18f32b=_0x2d2f39[_0x250786(0x6ea)]()['get'](l[_0x250786(0x1ff)]),_0x582eb5=_0x2d2f39[_0x250786(0x6ea)]()['get'](c[_0x250786(0x4fb)]),_0x4628b0=_0x4d424b[_0x250786(0x52f)](),_0x2bc804=_0x4628b0['tableOrder'][0x0]??Object['keys'](_0x4628b0['tables'])[0x0],_0x4846e6=_0x2bc804?_0x4628b0['tables'][_0x2bc804]:void 0x0,_0x5cb3d8=(_0x4846e6==null||(_0x5d5282=_0x4846e6[_0x250786(0x64a)])==null?void 0x0:_0x5d5282[0x0])??Object[_0x250786(0x30b)]((_0x4846e6==null?void 0x0:_0x4846e6[_0x250786(0x422)])??{})[0x0];_0x2bc804&&_0x18f32b[_0x250786(0x212)](_0x2bc804),_0x5cb3d8&&_0x18f32b['activateView'](_0x5cb3d8),this[_0x250786(0x35a)][_0x250786(0x37f)](_0x18f32b[_0x250786(0x2c1)]['subscribe'](_0x48e753=>{const _0x3b88da=_0x250786;this[_0x3b88da(0x311)](_0x48e753,_0x4d424b,_0x582eb5);}));}['_handleBaseSelectionChange'](_0x19e7f0,_0x480da7,_0x15b488){const _0x28681a=_0xdb1731;var _0x1c7020,_0x4f1de3,_0x153ae9,_0x3fecd6;let _0x4173ee=this[_0x28681a(0xfd)]();if(!_0x4173ee)return;let {host:_0x59e38d,resource:_0x36591b}=_0x4173ee,_0x4721c4=((_0x1c7020=_0x19e7f0['selection'])==null?void 0x0:_0x1c7020['tableId'])??_0x19e7f0[_0x28681a(0x4f1)],_0x271e74=_0x4721c4?_0x480da7[_0x28681a(0x52f)]()['tables'][_0x4721c4]:void 0x0,_0x277a0f=((_0x4f1de3=_0x19e7f0[_0x28681a(0x39e)])==null?void 0x0:_0x4f1de3[_0x28681a(0x5bc)])??_0x19e7f0[_0x28681a(0x354)];if(!_0x4721c4||!_0x277a0f||!_0x271e74||!_0x19e7f0[_0x28681a(0x39e)])return;let _0x3fbe32=_0x15b488[_0x28681a(0xcb)](_0x480da7[_0x28681a(0x52f)](),_0x4721c4,_0x277a0f),_0x18af32=(0x0,l['resolveBaseGridSelectionRange'])(_0x19e7f0[_0x28681a(0x39e)],_0x3fbe32),_0x2ba020=_0x18af32&&I({'fieldIds':_0x18af32[_0x28681a(0x271)],'hostUnitId':_0x59e38d['unitId'],'snapshot':_0x480da7[_0x28681a(0x52f)](),'sourceUnitId':_0x36591b[_0x28681a(0xc9)],'tableId':_0x4721c4});if(!_0x2ba020)return;let _0xf0baa=this[_0x28681a(0x763)]&&this[_0x28681a(0x2c9)][_0x28681a(0x6e2)]>0x0,_0x4b545b=(_0x153ae9=this[_0x28681a(0x334)])==null||(_0x153ae9=_0x153ae9[_0x28681a(0x168)][_0x28681a(0x608)](_0x423c44=>_0x423c44[_0x28681a(0x157)]===this[_0x28681a(0x2c9)][0x0]))==null?void 0x0:_0x153ae9['token'];(_0x3fecd6=this[_0x28681a(0x365)])==null||_0x3fecd6['call'](this,{'references':_0xf0baa&&_0x4b545b?[_0x4b545b,_0x2ba020]:[_0x2ba020],'visibleReferenceIndexes':this[_0x28681a(0x2c9)],'isCtrlAddMode':_0xf0baa,'externalReference':this[_0x28681a(0x699)](_0x59e38d,_0x36591b)}),this[_0x28681a(0x763)]=!0x1;}[_0xdb1731(0xfd)](){const _0xe0c7b1=_0xdb1731;return this[_0xe0c7b1(0x183)]&&this[_0xe0c7b1(0x244)]&&!this['_isApplyingBaseHighlight']&&this['_canSelectFormulaReference']()?{'host':this['_host'],'resource':this[_0xe0c7b1(0x244)]}:null;}['_emitSheetSelectionChange'](_0xebd5f,_0x519977,_0x47e471){const _0x5d148d=_0xdb1731;var _0xc73d51;if(!this['_canSelectFormulaReference']())return;let _0x36ba9e=_0xebd5f[_0x5d148d(0x730)]();if(!_0x36ba9e)return;let _0x5114f4=_0x47e471[_0x5d148d(0x50f)](_0x44a16f=>F({'host':_0x519977,'range':_0x44a16f['rangeWithCoord'],'workbook':_0xebd5f,'worksheet':_0x36ba9e}));(_0xc73d51=this['_onSelectReferences'])==null||_0xc73d51[_0x5d148d(0x4cb)](this,{'references':_0x5114f4,'visibleReferenceIndexes':this[_0x5d148d(0x2c9)],'isCtrlAddMode':this[_0x5d148d(0x763)]&&_0x5114f4[_0x5d148d(0x6e2)]>this[_0x5d148d(0x2c9)][_0x5d148d(0x6e2)],'externalReference':this[_0x5d148d(0x244)]?this[_0x5d148d(0x699)](_0x519977,this['_resource']):void 0x0});}['_refreshFormulaSelections'](){const _0x3cb1a8=_0xdb1731;this['_activeWorkbook']?this['_refreshSheetFormulaSelections'](this[_0x3cb1a8(0x6b5)]):this[_0x3cb1a8(0x779)]&&this[_0x3cb1a8(0x278)](this[_0x3cb1a8(0x779)]);}['_refreshSheetFormulaSelections'](_0x4b3cf8){const _0x57518a=_0xdb1731;var _0x5b8a1a;let _0x5f207b=this['_univer'],_0x26f5af=this['_formulaContext'],_0x409eb6=this[_0x57518a(0x183)],_0x12e79c=this['_resource'],_0x52722e=_0x4b3cf8[_0x57518a(0x730)]();if(!_0x5f207b||!_0x26f5af||!_0x409eb6||!_0x12e79c||!_0x52722e)return;let _0x4add1c=_0x5f207b['__getInjector'](),_0x15bd32=(_0x5b8a1a=_0x4add1c[_0x57518a(0x378)](h[_0x57518a(0x775)])[_0x57518a(0x1f8)](_0x4b3cf8[_0x57518a(0x678)]()))==null?void 0x0:_0x5b8a1a['with'](y['RefSelectionsRenderService']);if(!_0x15bd32)return;let _0x270336=[],_0x2ee0e3=[];for(let _0x54d816 of _0x26f5af['refSelections']){if(_0x54d816[_0x57518a(0x395)]!==m[_0x57518a(0x46d)]['REFERENCE'])continue;let _0x4ed150=(0x0,m[_0x57518a(0x69d)])(_0x54d816[_0x57518a(0x75b)]);if(!this['_matchesSheetReference'](_0x4ed150[_0x57518a(0xc9)],_0x4ed150[_0x57518a(0x535)],_0x4b3cf8,_0x52722e['getName'](),_0x409eb6))continue;let _0x42ab79=(0x0,_[_0x57518a(0x3b4)])(_0x4ed150[_0x57518a(0x55a)],_0x52722e[_0x57518a(0x783)](),_0x52722e['getColumnCount']());_0x42ab79[_0x57518a(0xc9)]=_0x4b3cf8['getUnitId'](),_0x42ab79['sheetId']=_0x52722e[_0x57518a(0x20d)](),_0x270336[_0x57518a(0x37a)]({'range':_0x42ab79,'primary':null,'style':(0x0,y[_0x57518a(0x424)])(this[_0x57518a(0x68b)],_0x54d816[_0x57518a(0x71d)],_0x54d816['refIndex'][_0x57518a(0x57c)]())}),_0x2ee0e3['push'](_0x54d816['index']);}this['_visibleReferenceIndexes']=_0x2ee0e3;let _0x1d970f=this[_0x57518a(0x71e)]();_0x4add1c[_0x57518a(0x378)](o[_0x57518a(0x738)])[_0x57518a(0x376)](_[_0x57518a(0x37d)],_0x1d970f!=null&&_0x1d970f[_0x57518a(0x2c4)]!==_0x57518a(0x79d)),_0x4add1c[_0x57518a(0x378)](_[_0x57518a(0x611)])[_0x57518a(0x5f9)](_0x4b3cf8[_0x57518a(0x678)](),_0x52722e[_0x57518a(0x20d)](),_0x270336);let _0x490f20=_0x1d970f?_0x2ee0e3['indexOf'](_0x1d970f[_0x57518a(0x61e)]):-0x1;if(_0x490f20>=0x0?_0x15bd32[_0x57518a(0xea)](_0x490f20):_0x270336[_0x57518a(0x6e2)]?_0x15bd32[_0x57518a(0xea)](_0x270336[_0x57518a(0x6e2)]-0x1):_0x15bd32[_0x57518a(0x153)](),_0x15bd32[_0x57518a(0x76a)]((_0x1d970f==null?void 0x0:_0x1d970f[_0x57518a(0x2c4)])===_0x57518a(0x37f)),(_0x1d970f==null?void 0x0:_0x1d970f['mode'])==='none'){var _0x1e3219;(_0x1e3219=this[_0x57518a(0x113)])==null||_0x1e3219[_0x57518a(0x6a5)](),this['_selectionChangingDisposable']=null,_0x15bd32['disableSelectionChanging']();}else this[_0x57518a(0x113)]||=_0x15bd32[_0x57518a(0x791)]();queueMicrotask(()=>this[_0x57518a(0xcd)](_0x15bd32,_0x4b3cf8,_0x409eb6));}[_0xdb1731(0x278)](_0x29ca75){const _0x4db656=_0xdb1731;var _0x3be209,_0x458eca;let _0x43d7f8=this[_0x4db656(0x334)],_0x5b8d5e=this[_0x4db656(0x244)],_0x452749=this[_0x4db656(0x416)];if(!_0x43d7f8||!_0x5b8d5e||!_0x452749)return;let _0x223cf0=_0x452749[_0x4db656(0x6ea)]()[_0x4db656(0x378)](l[_0x4db656(0x1ff)]),_0x3183be=_0x223cf0[_0x4db656(0x3a1)](),_0x601cac=_0x29ca75['getSnapshot'](),_0x51daba=_0x3183be['activeTableId'],_0x5f2686=_0x3183be[_0x4db656(0x354)],_0x5082fd=_0x51daba?_0x601cac[_0x4db656(0x2a5)][_0x51daba]:void 0x0;if(!_0x51daba||!_0x5f2686||!_0x5082fd)return;let _0x44ebe2=_0x43d7f8[_0x4db656(0x168)]['filter'](_0x48a283=>{const _0x56abaa=_0x4db656;var _0x1432f3;if(_0x48a283[_0x56abaa(0x395)]!==m[_0x56abaa(0x46d)][_0x56abaa(0x638)])return!0x1;let _0x1281ed=(0x0,m[_0x56abaa(0x3eb)])(_0x48a283[_0x56abaa(0x75b)]);return this[_0x56abaa(0x637)](_0x1281ed[_0x56abaa(0x309)],_0x5b8d5e,_0x5b8d5e[_0x56abaa(0xc9)]===((_0x1432f3=this[_0x56abaa(0x183)])==null?void 0x0:_0x1432f3[_0x56abaa(0xc9)]))&&_0x1281ed[_0x56abaa(0x220)]===_0x5082fd['name'];}),_0x1cb74c=this[_0x4db656(0x71e)](),_0xeedcf2=_0x44ebe2[_0x4db656(0x608)](_0x222259=>_0x222259[_0x4db656(0x157)]===(_0x1cb74c==null?void 0x0:_0x1cb74c[_0x4db656(0x61e)]))??_0x44ebe2[0x0];if(this['_visibleReferenceIndexes']=_0xeedcf2?[_0xeedcf2[_0x4db656(0x157)]]:[],!_0xeedcf2)return;let {columnStruct:_0x297ef5}=(0x0,m[_0x4db656(0x3eb)])(_0xeedcf2[_0x4db656(0x75b)]),_0x598ff8=Array[_0x4db656(0x551)](_0x297ef5[_0x4db656(0x465)](/\[([^\[\]#][^\]]*)\]/g),_0x454706=>_0x454706[0x1]),_0x26020a=Object[_0x4db656(0x314)](_0x5082fd['fields'])[_0x4db656(0x608)](_0x4e1dd8=>_0x4e1dd8[_0x4db656(0x6a8)]===_0x598ff8[0x0]),_0x20026b=Object[_0x4db656(0x314)](_0x5082fd[_0x4db656(0x3e6)])[_0x4db656(0x608)](_0x4eafca=>_0x4eafca[_0x4db656(0x6a8)]===_0x598ff8[_0x598ff8['length']-0x1]),_0x2ec1b9=_0x452749['__getInjector']()[_0x4db656(0x378)](c[_0x4db656(0x4fb)])['getProjection'](_0x601cac,_0x51daba,_0x5f2686);if(!_0x26020a||!_0x20026b||_0x2ec1b9[_0x4db656(0x5dd)]!==_0x4db656(0x404))return;let _0x351565=(_0x3be209=_0x2ec1b9[_0x4db656(0x12c)][0x0])==null?void 0x0:_0x3be209['recordId'],_0x364054=(_0x458eca=_0x2ec1b9[_0x4db656(0x12c)][_0x2ec1b9['rows'][_0x4db656(0x6e2)]-0x1])==null?void 0x0:_0x458eca[_0x4db656(0x6cb)];if(!_0x351565||!_0x364054)return;let _0x358c04={'type':'grid-cell','tableId':_0x51daba,'viewId':_0x5f2686,'recordId':_0x351565,'fieldId':_0x26020a['id'],'mode':'column','anchorRecordId':_0x351565,'focusRecordId':_0x364054,'anchorFieldId':_0x26020a['id'],'focusFieldId':_0x20026b['id'],'showBorder':!0x0};this[_0x4db656(0x1bb)]=!0x0,_0x223cf0[_0x4db656(0x747)](_0x358c04),this[_0x4db656(0x1bb)]=!0x1;}['_bindFormulaSelectionControls'](_0x52ee50,_0x3f704d,_0x4b7ca3){const _0xd7cea9=_0xdb1731;this[_0xd7cea9(0x79f)][_0xd7cea9(0x6a5)](),this[_0xd7cea9(0x79f)]=new o[(_0xd7cea9(0x6b0))](),_0x52ee50[_0xd7cea9(0x392)]()[_0xd7cea9(0x520)]((_0xc68918,_0xe5c7a4)=>{const _0x466114=_0xd7cea9;let _0xf78f4a=_0x177029=>{const _0x1de731=_0x38c7;var _0xbbc420;this[_0x1de731(0x69e)]=!0x0;let _0x144980=_0x3f704d[_0x1de731(0x730)]();if(!_0x144980)return;let _0x4fe576=_0x52ee50[_0x1de731(0x2f5)]()[_0x1de731(0x50f)]((_0x3cdb14,_0x4b572d)=>F({'host':_0x4b7ca3,'range':_0x4b572d===_0xe5c7a4?_0x177029:_0x3cdb14[_0x1de731(0x1dd)],'workbook':_0x3f704d,'worksheet':_0x144980}));(_0xbbc420=this[_0x1de731(0x365)])==null||_0xbbc420[_0x1de731(0x4cb)](this,{'references':_0x4fe576,'visibleReferenceIndexes':this[_0x1de731(0x2c9)],'activeReferenceIndex':this[_0x1de731(0x2c9)][_0xe5c7a4],'isCtrlAddMode':!0x1,'externalReference':this[_0x1de731(0x244)]?this['_createExternalReference'](_0x4b7ca3,this[_0x1de731(0x244)]):void 0x0});};this[_0x466114(0x79f)][_0x466114(0x37f)](_0xc68918['selectionScaling$']['subscribe'](_0xf78f4a)),this[_0x466114(0x79f)][_0x466114(0x37f)](_0xc68918[_0x466114(0x4cf)]['subscribe'](_0xf78f4a)),this['_controlDisposables'][_0x466114(0x37f)](_0xc68918['selectionScaled$'][_0x466114(0x1c8)](_0xff013c=>{_0xff013c&&_0xf78f4a(_0xff013c),this['_isDraggingFormulaSelection']=!0x1;})),this[_0x466114(0x79f)][_0x466114(0x37f)](_0xc68918[_0x466114(0x5ed)][_0x466114(0x1c8)](_0x1d80f0=>{const _0x41a320=_0x466114;_0xf78f4a(_0x1d80f0),this[_0x41a320(0x69e)]=!0x1;}));});}[_0xdb1731(0x71e)](){const _0xb5cb03=_0xdb1731;let _0x538ec5=this[_0xb5cb03(0x334)];if(!_0x538ec5)return null;let _0x44ed27=+!!_0x538ec5[_0xb5cb03(0x473)]['startsWith']('='),_0x2fba0a=_0x538ec5[_0xb5cb03(0x473)][_0xb5cb03(0x209)](_0x44ed27),_0x554e48=Math[_0xb5cb03(0x292)](0x0,_0x538ec5[_0xb5cb03(0x6ae)]-_0x44ed27),_0x526f5c=Math[_0xb5cb03(0x292)](_0x554e48,_0x538ec5[_0xb5cb03(0x380)]-_0x44ed27),_0x1a3172=_0x538ec5[_0xb5cb03(0x168)]['find'](_0x54d4dd=>_0x526f5c>_0x554e48?_0x54d4dd[_0xb5cb03(0x39f)]<_0x526f5c&&_0x54d4dd[_0xb5cb03(0x366)]+0x1>_0x554e48:_0x554e48>_0x54d4dd[_0xb5cb03(0x39f)]&&_0x554e48<=_0x54d4dd[_0xb5cb03(0x366)]+0x1);return _0x1a3172?{'mode':_0xb5cb03(0x496),'nodeIndex':_0x1a3172['refIndex'],'referenceIndex':_0x1a3172['index'],'offset':_0x554e48}:(0x0,m[_0xb5cb03(0x5aa)])({'formulaText':_0x2fba0a,'sequenceNodes':_0x538ec5[_0xb5cb03(0x484)],'offset':_0x554e48,'selectionStart':_0x554e48,'selectionEnd':_0x526f5c});}[_0xdb1731(0x1fc)](){const _0x2d5a86=_0xdb1731;let _0x26503c=this[_0x2d5a86(0x71e)]();return _0x26503c!=null&&_0x26503c[_0x2d5a86(0x2c4)]!==_0x2d5a86(0x79d);}['_matchesSheetReference'](_0x16e021,_0x59e5ab,_0x40163b,_0x11064c,_0x2fa006){const _0x536f61=_0xdb1731;var _0x9a658d;let _0x1a773b=this['_resource'];return!_0x1a773b||!this['_matchesUnitQualifier'](_0x16e021,_0x1a773b,_0x40163b[_0x536f61(0x678)]()===_0x2fa006[_0x536f61(0xc9)])?!0x1:_0x59e5ab?_0x59e5ab===_0x11064c:_0x40163b[_0x536f61(0x678)]()===_0x2fa006[_0x536f61(0xc9)]&&((_0x9a658d=_0x40163b[_0x536f61(0x730)]())==null?void 0x0:_0x9a658d['getSheetId']())===_0x2fa006['subUnitId'];}[_0xdb1731(0x637)](_0x218e17,_0x10f050,_0x51200e){const _0xdc32c7=_0xdb1731;if(!_0x218e17)return _0x51200e;let _0x400068=_0x218e17[_0xdc32c7(0x269)]();return _0x400068===_0x10f050[_0xdc32c7(0xc9)][_0xdc32c7(0x269)]()||_0x400068===_0x10f050[_0xdc32c7(0x6a8)][_0xdc32c7(0x269)]();}[_0xdb1731(0x699)](_0x47a05c,_0x58d75e){const _0x67163=_0xdb1731;if(_0x58d75e[_0x67163(0xc9)]!==_0x47a05c[_0x67163(0xc9)])return{'qualifier':_0x58d75e[_0x67163(0x6a8)],'sourceUnitId':_0x58d75e[_0x67163(0xc9)],'sourceUnitType':_0x58d75e[_0x67163(0x5dd)]};}[_0xdb1731(0x433)](){const _0x2aee7=_0xdb1731;let _0x375fa8=this[_0x2aee7(0x382)][_0x2aee7(0x4d1)](o[_0x2aee7(0xc6)][_0x2aee7(0x6f3)])[_0x2aee7(0x50f)](_0x10a629=>({'unitId':_0x10a629[_0x2aee7(0x678)](),'name':_0x10a629['name'],'type':o[_0x2aee7(0xc6)]['UNIVER_SHEET'],'loadSnapshot':async()=>_0x10a629[_0x2aee7(0x52f)]()})),_0xa9cc93=this[_0x2aee7(0x382)][_0x2aee7(0x4d1)](o[_0x2aee7(0xc6)][_0x2aee7(0x6f2)])[_0x2aee7(0x50f)](_0x74a933=>({'unitId':_0x74a933[_0x2aee7(0x678)](),'name':_0x74a933[_0x2aee7(0x52f)]()[_0x2aee7(0x6a8)],'type':o[_0x2aee7(0xc6)][_0x2aee7(0x6f2)],'loadSnapshot':async()=>_0x74a933[_0x2aee7(0x52f)]()}));return[..._0x375fa8,..._0xa9cc93];}};H=M([j(0x0,o[_0xdb1731(0x307)]),j(0x1,o[_0xdb1731(0x6b6)]),j(0x2,(0x0,o[_0xdb1731(0x388)])(o[_0xdb1731(0x432)])),j(0x3,(0x0,o[_0xdb1731(0x388)])(o[_0xdb1731(0x30d)]))],H);let U=class extends o[_0xdb1731(0x18b)]{constructor(_0x52b7bb=O,_0x35937a,_0x29043b){const _0x57a239=_0xdb1731;super(),this[_0x57a239(0x7b6)]=_0x52b7bb,this['_injector']=_0x35937a,this[_0x57a239(0x35c)]=_0x29043b;let {..._0x5c7b54}=(0x0,o[_0x57a239(0x7ac)])({},O,this[_0x57a239(0x35c)][_0x57a239(0x3c0)](D),this[_0x57a239(0x7b6)]);this[_0x57a239(0x35c)]['setConfig'](D,_0x5c7b54);}[_0xdb1731(0x418)](){const _0x168bd1=_0xdb1731;this[_0x168bd1(0x2fd)]['add']([H]),this['_injector'][_0x168bd1(0x37f)]([P]),this[_0x168bd1(0x2fd)][_0x168bd1(0x378)](P);}};B(U,_0xdb1731(0x5dd),o[_0xdb1731(0xc6)][_0xdb1731(0x748)]),B(U,'pluginName',_0xdb1731(0x536)),B(U,_0xdb1731(0x497),k),B(U,_0xdb1731(0x2b9),A),U=M([(0x0,o[_0xdb1731(0x2e3)])(i[_0xdb1731(0x491)],a['UniverShapeEditorPlugin']),j(0x1,(0x0,o[_0xdb1731(0x388)])(o[_0xdb1731(0x6bd)])),j(0x2,o[_0xdb1731(0x307)])],U);function ne(_0x1b347e){const _0x5e2c3e=_0xdb1731;let _0x8ef25a=+!!_0x1b347e['formula'][_0x5e2c3e(0xe3)]('='),_0x30bd3d=_0x1b347e['formula'][_0x5e2c3e(0x209)](_0x8ef25a),_0x37d69f=Math['max'](0x0,_0x1b347e['selectionStart']-_0x8ef25a),_0x10583a=Math['max'](_0x37d69f,_0x1b347e[_0x5e2c3e(0x380)]-_0x8ef25a),_0x43d0d3=_0x1b347e['referenceSelections']??q(_0x1b347e[_0x5e2c3e(0x484)]),_0x46ea1d=G(_0x43d0d3,_0x37d69f,_0x10583a),_0x43ef72=(_0x1b347e[_0x5e2c3e(0x43a)]['activeReferenceIndex']==null?void 0x0:_0x43d0d3[_0x5e2c3e(0x608)](_0x12d9e5=>_0x12d9e5[_0x5e2c3e(0x157)]===_0x1b347e[_0x5e2c3e(0x43a)][_0x5e2c3e(0x3f9)]))??_0x46ea1d,_0x6a7ac9=_0x43ef72?{'mode':_0x5e2c3e(0x496),'referenceIndex':_0x43ef72['index'],'offset':_0x37d69f}:(0x0,m[_0x5e2c3e(0x5aa)])({'formulaText':_0x30bd3d,'sequenceNodes':_0x1b347e[_0x5e2c3e(0x484)],'offset':_0x37d69f,'selectionStart':_0x37d69f,'selectionEnd':_0x10583a});if(_0x6a7ac9[_0x5e2c3e(0x2c4)]===_0x5e2c3e(0x79d)||_0x1b347e['change'][_0x5e2c3e(0x6d5)][_0x5e2c3e(0x6e2)]===0x0)return null;let _0x13b9e7=_0x1b347e[_0x5e2c3e(0x43a)][_0x5e2c3e(0x202)][_0x5e2c3e(0x6e2)],_0x56d0c9=_0x1b347e[_0x5e2c3e(0x43a)][_0x5e2c3e(0x6d5)][_0x5e2c3e(0x6e2)]>_0x13b9e7,_0x55546a=_0x56d0c9?_0x1b347e[_0x5e2c3e(0x43a)][_0x5e2c3e(0x6d5)][_0x1b347e['change'][_0x5e2c3e(0x6d5)][_0x5e2c3e(0x6e2)]-0x1]:void 0x0;if(_0x6a7ac9[_0x5e2c3e(0x2c4)]===_0x5e2c3e(0x37f)){let _0x1bdad3=_0x55546a??_0x1b347e[_0x5e2c3e(0x43a)][_0x5e2c3e(0x6d5)][_0x1b347e[_0x5e2c3e(0x43a)][_0x5e2c3e(0x6d5)][_0x5e2c3e(0x6e2)]-0x1];return _0x1bdad3?W(''+_0x30bd3d[_0x5e2c3e(0x209)](0x0,_0x37d69f)+_0x1bdad3+_0x30bd3d['slice'](_0x10583a),_0x8ef25a+_0x37d69f+_0x1bdad3[_0x5e2c3e(0x6e2)]):null;}return K({'additionalReference':_0x55546a,'change':_0x1b347e[_0x5e2c3e(0x43a)],'formulaText':_0x30bd3d,'hasAdditionalReference':_0x56d0c9,'leadingCharacterLength':_0x8ef25a,'referenceIndex':_0x6a7ac9[_0x5e2c3e(0x61e)],'referenceSelections':_0x43d0d3});}function re(_0x51bb3a){const _0x1f5af7=_0xdb1731;let _0x471a2b=_0x51bb3a[_0x1f5af7(0x337)]();return _0x471a2b&&!_0x471a2b[_0x1f5af7(0xe3)]('=')?'='+_0x471a2b:_0x471a2b;}function W(_0x2258b4,_0x1471e2){return{'formula':'='+_0x2258b4,'selectionStart':_0x1471e2,'selectionEnd':_0x1471e2};}function G(_0x5b21f7,_0xe035b1,_0x19adfe){const _0x116619=_0xdb1731;return _0x5b21f7[_0x116619(0x608)](_0x404c11=>_0x19adfe>_0xe035b1?_0x404c11[_0x116619(0x39f)]<_0x19adfe&&_0x404c11['endIndex']+0x1>_0xe035b1:_0xe035b1>_0x404c11['startIndex']&&_0xe035b1<=_0x404c11[_0x116619(0x366)]+0x1);}function K(_0x4c343c){const _0x47db75=_0xdb1731;let _0x15bcf4=new Map(),_0x1f331e=_0x4c343c[_0x47db75(0x325)]?_0x4c343c['change'][_0x47db75(0x6d5)][_0x47db75(0x209)](0x0,-0x1):_0x4c343c[_0x47db75(0x43a)][_0x47db75(0x6d5)];_0x4c343c[_0x47db75(0x43a)]['visibleReferenceIndexes'][_0x47db75(0x520)]((_0x2380c6,_0x30b0a9)=>{let _0x42cfdf=_0x1f331e[_0x30b0a9];_0x42cfdf&&_0x15bcf4['set'](_0x2380c6,_0x42cfdf);});let _0x136193=_0x15bcf4[_0x47db75(0x378)](_0x4c343c[_0x47db75(0x61e)]);if(_0x4c343c[_0x47db75(0x43a)][_0x47db75(0x357)]&&_0x4c343c[_0x47db75(0x636)]){var _0x531987;let _0x13609a=((_0x531987=_0x4c343c['referenceSelections'][_0x47db75(0x608)](_0x9cc3f0=>_0x9cc3f0[_0x47db75(0x157)]===_0x4c343c[_0x47db75(0x61e)]))==null?void 0x0:_0x531987[_0x47db75(0x75b)])??'';_0x15bcf4['set'](_0x4c343c[_0x47db75(0x61e)],(_0x136193??_0x13609a)+','+_0x4c343c[_0x47db75(0x636)]);}let _0x2ff431='',_0x174732=0x0,_0x5ca49f=_0x4c343c[_0x47db75(0x769)];for(let _0x5c9fe4 of _0x4c343c[_0x47db75(0x6d6)])_0x2ff431+=_0x4c343c['formulaText'][_0x47db75(0x209)](_0x174732,_0x5c9fe4['startIndex']),_0x2ff431+=_0x15bcf4[_0x47db75(0x378)](_0x5c9fe4[_0x47db75(0x157)])??_0x5c9fe4[_0x47db75(0x75b)],_0x174732=_0x5c9fe4[_0x47db75(0x366)]+0x1,_0x5c9fe4[_0x47db75(0x157)]===_0x4c343c[_0x47db75(0x61e)]&&(_0x5ca49f=_0x4c343c[_0x47db75(0x769)]+_0x2ff431[_0x47db75(0x6e2)]);return _0x2ff431+=_0x4c343c['formulaText'][_0x47db75(0x209)](_0x174732),W(_0x2ff431,_0x5ca49f);}function q(_0x3f1ef3){let _0x236208=[],_0xbbbf27=-0x1;return _0x3f1ef3['forEach']((_0x4a86ff,_0x5ece36)=>{const _0x793c23=_0x38c7;typeof _0x4a86ff!=_0x793c23(0x435)&&ie(_0x4a86ff[_0x793c23(0x395)])&&(_0xbbbf27+=0x1,_0x236208[_0x793c23(0x37a)]({'refIndex':_0x5ece36,'themeColor':'','token':_0x4a86ff[_0x793c23(0x75b)],'nodeType':_0x4a86ff[_0x793c23(0x395)],'startIndex':_0x4a86ff[_0x793c23(0x39f)],'endIndex':_0x4a86ff[_0x793c23(0x366)],'index':_0xbbbf27}));}),_0x236208;}function ie(_0x6ea077){const _0x585d28=_0xdb1731;return _0x6ea077===m['sequenceNodeType'][_0x585d28(0x1ab)]||_0x6ea077===m['sequenceNodeType']['TABLE'];}function J(_0x1bc6ea){const _0x343a0d=_0xdb1731;return!!_0x1bc6ea&&typeof _0x1bc6ea==_0x343a0d(0x4fa)&&typeof _0x1bc6ea[_0x343a0d(0x7a7)]==_0x343a0d(0x435);}function Y(_0x59f398,_0x54417a){const _0x1ba3a2=_0xdb1731;var _0x3fde39,_0x4e27ba,_0x218ea1,_0x3b5f62,_0x3f459d,_0x301556;let _0x25932c=(_0x3fde39=_0x59f398['getRenderUnitById'](_0x54417a['unitId']))==null?void 0x0:_0x3fde39['scene'];if(!_0x25932c)return!0x1;let _0x492ad7=(0x0,x[_0x1ba3a2(0x500)])(_0x54417a),_0x207a8e=((_0x4e27ba=_0x25932c[_0x1ba3a2(0x360)])==null?void 0x0:_0x4e27ba[_0x1ba3a2(0x4cb)](_0x25932c,_0x492ad7))??((_0x218ea1=_0x25932c['getObject'])==null?void 0x0:_0x218ea1['call'](_0x25932c,_0x492ad7));return J(_0x207a8e)?((_0x3b5f62=_0x25932c['getTransformerByCreate'])==null||(_0x301556=(_0x3f459d=_0x3b5f62[_0x1ba3a2(0x4cb)](_0x25932c))['activeAnObject'])==null||_0x301556['call'](_0x3f459d,_0x207a8e),!0x0):!0x1;}function ae(_0x50cd15,_0x43fc3b){const _0x528800=_0xdb1731;var _0x6d002a,_0x404f8a;let _0x34cb53=(_0x6d002a=_0x50cd15[_0x528800(0x1f8)](_0x43fc3b))==null||(_0x6d002a=_0x6d002a[_0x528800(0x390)])==null||(_0x404f8a=_0x6d002a[_0x528800(0x7a5)])==null?void 0x0:_0x404f8a[_0x528800(0x4cb)](_0x6d002a);return _0x34cb53!=null&&_0x34cb53[_0x528800(0x49f)]?(_0x34cb53['clearSelectedObjects'](),!0x0):!0x1;}function oe(_0x1a10c0){const _0x1bbbae=_0xdb1731;switch(_0x1a10c0){case o[_0x1bbbae(0x109)][_0x1bbbae(0x33d)]:return _0x1bbbae(0x119);case o[_0x1bbbae(0x109)][_0x1bbbae(0x4f7)]:return _0x1bbbae(0xca);case o['DrawingTypeEnum'][_0x1bbbae(0x3e8)]:return _0x1bbbae(0x13a);case o['DrawingTypeEnum'][_0x1bbbae(0x150)]:return'smartArt';case o[_0x1bbbae(0x109)][_0x1bbbae(0x2db)]:return _0x1bbbae(0x52d);case o['DrawingTypeEnum'][_0x1bbbae(0x76b)]:return _0x1bbbae(0x108);case o[_0x1bbbae(0x109)]['DRAWING_UNIT']:return _0x1bbbae(0x355);case o[_0x1bbbae(0x109)]['DRAWING_DOM']:return _0x1bbbae(0x76d);case o[_0x1bbbae(0x109)][_0x1bbbae(0x70d)]:return _0x1bbbae(0x722);default:return _0x1bbbae(0x4fa);}}const se={'borderEnabled':!0x0,'borderStroke':_0xdb1731(0x32d),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0xdb1731(0x14b),'anchorStroke':'#4086f4','anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':_0xdb1731(0x2f3),'rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':'bottom','rotateLineEnabled':!0x1,'rotateFill':_0xdb1731(0x14b),'rotateStroke':'#4086f4','rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':_0xdb1731(0x32d),'rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};function X(_0x237ccc){const _0x37e09d=_0xdb1731;var _0xc1ec05;if(!(_0x237ccc!=null&&_0x237ccc[_0x37e09d(0x527)]))return null;let _0xea1495=(_0xc1ec05=_0x237ccc[_0x37e09d(0x527)][_0x37e09d(0x613)])==null?void 0x0:_0xc1ec05[_0x37e09d(0x6a6)];return{..._0x237ccc,'ha':_0x237ccc['ha']??(_0xea1495==null?void 0x0:_0xea1495[_0x37e09d(0x15f)]),'va':_0x237ccc['va']??(_0xea1495==null?void 0x0:_0xea1495[_0x37e09d(0x1d3)]),'doc':_0x237ccc[_0x37e09d(0x527)]};}function ce(_0x939302){const _0x3ca69b=_0xdb1731;let _0x6cb6b5=_0x939302['shapeText'];return _0x6cb6b5&&_0x3ca69b(0x2d7)in _0x6cb6b5&&_0x6cb6b5[_0x3ca69b(0x2d7)]?X(_0x6cb6b5[_0x3ca69b(0x2d7)]):null;}function le(_0x7f5b56){const _0x405d23=_0xdb1731;var _0x3b98ec,_0x53906c,_0x234f87;let _0x1d0bc2=(_0x3b98ec=ce(_0x7f5b56))==null?void 0x0:_0x3b98ec[_0x405d23(0x527)],_0x374f32=(_0x1d0bc2==null||(_0x53906c=_0x1d0bc2['body'])==null||(_0x53906c=_0x53906c[_0x405d23(0x5db)])==null||(_0x53906c=_0x53906c[0x0])==null?void 0x0:_0x53906c['ts'])??{};return{..._0x1d0bc2==null||(_0x234f87=_0x1d0bc2[_0x405d23(0x613)])==null?void 0x0:_0x234f87[_0x405d23(0x2c3)],..._0x374f32};}const ue=[{'label':_0xdb1731(0x1c3),'pattern':'yyyy-MM-dd'},{'label':'1930/08/05','pattern':_0xdb1731(0x73c)},{'label':_0xdb1731(0x472),'pattern':_0xdb1731(0x632)},{'label':_0xdb1731(0x1fd),'pattern':_0xdb1731(0x700)},{'label':_0xdb1731(0x1c1),'pattern':_0xdb1731(0x617)},{'label':_0xdb1731(0x49b),'pattern':_0xdb1731(0x44c)},{'label':_0xdb1731(0x54b),'pattern':_0xdb1731(0x53b)},{'label':_0xdb1731(0x155),'pattern':_0xdb1731(0x749)},{'label':_0xdb1731(0x3f8),'pattern':_0xdb1731(0x53f)},{'label':_0xdb1731(0x513),'pattern':_0xdb1731(0x74b)},{'label':_0xdb1731(0x5e0),'pattern':'MM-dd\x20A/P\x20hh:mm'}],de=[{'label':_0xdb1731(0x2aa),'pattern':_0xdb1731(0x5f4),'color':void 0x0},{'label':'(1,235)','pattern':_0xdb1731(0x34f),'color':_0xdb1731(0x50c)},{'label':_0xdb1731(0x644),'pattern':'#,##0.00_);#,##0.00','color':void 0x0},{'label':'1,234.56','pattern':_0xdb1731(0x4a8),'color':_0xdb1731(0x50c)},{'label':_0xdb1731(0x78f),'pattern':_0xdb1731(0x32f),'color':void 0x0},{'label':_0xdb1731(0x78f),'pattern':_0xdb1731(0x2bf),'color':_0xdb1731(0x50c)}],fe=[{'label':_0xd2792c=>_0xd2792c+_0xdb1731(0x188),'pattern':_0x5f521c=>'\x22'+_0x5f521c+'\x22#,##0.00_);\x22'+_0x5f521c+'\x22#,##0.00','color':void 0x0},{'label':_0x33c5cb=>_0x33c5cb+'1,235','pattern':_0x4565d4=>'\x22'+_0x4565d4+_0xdb1731(0x558)+_0x4565d4+_0xdb1731(0x74a),'color':_0xdb1731(0x50c)},{'label':_0xdef7b4=>'('+_0xdef7b4+_0xdb1731(0x6d9),'pattern':_0x35ba35=>'\x22'+_0x35ba35+_0xdb1731(0x249)+_0x35ba35+'\x22#,##0.00)','color':void 0x0},{'label':_0x16def0=>'('+_0x16def0+_0xdb1731(0x6d9),'pattern':_0x58fe87=>'\x22'+_0x58fe87+_0xdb1731(0x538)+_0x58fe87+_0xdb1731(0x291),'color':'red'},{'label':_0x2b2bed=>'-'+_0x2b2bed+_0xdb1731(0x188),'pattern':_0x1d14ce=>'\x22'+_0x1d14ce+_0xdb1731(0x32c)+_0x1d14ce+'\x22#,##0.00','color':void 0x0},{'label':_0x26d2b0=>'-'+_0x26d2b0+_0xdb1731(0x188),'pattern':_0x5020b6=>'\x22'+_0x5020b6+_0xdb1731(0x7d6)+_0x5020b6+_0xdb1731(0x74a),'color':_0xdb1731(0x50c)}];function pe(_0x1740bb){const _0xb275ce=_0xdb1731;return o[_0xb275ce(0x3bd)]['find'](_0x57c444=>_0x1740bb[_0xb275ce(0x2ed)](_0x57c444));}function Z(_0x675a20,_0x266245=0x0){const _0x1dd4b7=_0xdb1731;return _0x675a20?o[_0x1dd4b7(0x1ee)][_0x1dd4b7(0x723)](_0x675a20)['maxDecimals']??_0x266245:_0x266245;}function me(_0x2d52ec){const _0x467b1b=_0xdb1731;return Array(Math[_0x467b1b(0x3a3)](Math[_0x467b1b(0x292)](0x0,Number(_0x2d52ec)),0x1e))[_0x467b1b(0x620)](0x0)[_0x467b1b(0x2df)]('');}function he(_0x5a6f38,_0x373be0){const _0x36a5c3=_0xdb1731;return _0x5a6f38[_0x36a5c3(0x288)](';')['map'](_0x2736f2=>/\.0?/[_0x36a5c3(0x563)](_0x2736f2)?_0x2736f2[_0x36a5c3(0x496)](/\.0*/g,''+(_0x373be0>0x0?'.':'')+me(Number(_0x373be0||0x0))):/0([^0]?)|0$/[_0x36a5c3(0x563)](_0x2736f2)?_0x2736f2[_0x36a5c3(0x496)](/0([^0]+)|0$/,'0'+(_0x373be0>0x0?'.':'')+me(Number(_0x373be0||0x0))+'$1'):_0x2736f2)[_0x36a5c3(0x2df)](';');}function ge(_0x4f551e){const _0x5d6ccf=_0xdb1731;return fe[_0x5d6ccf(0x50f)](_0x2a4496=>({'label':_0x2a4496[_0x5d6ccf(0x60e)](_0x4f551e),'value':_0x2a4496[_0x5d6ccf(0x3ee)](_0x4f551e),'color':_0x2a4496['color']}));}function _e(){const _0x39f92e=_0xdb1731;return ue[_0x39f92e(0x50f)](_0x888167=>({'label':_0x888167['label'],'value':_0x888167['pattern']}));}function ve(){const _0x44fc72=_0xdb1731;return de[_0x44fc72(0x50f)](_0xd40af6=>({'label':_0xd40af6['label'],'value':_0xd40af6[_0x44fc72(0x3ee)],'color':_0xd40af6[_0x44fc72(0x591)]}));}function ye(_0x209683){return 0x1-(0x1-_0x209683)**0x3;}function be(_0x3073a1){const _0x1ba2a7=_0xdb1731;var _0xf22672,_0x2e77b2;let _0x4e2db6=_0x3073a1==null||(_0xf22672=_0x3073a1['cell'])==null?void 0x0:_0xf22672['v'];return(_0x3073a1==null||(_0x2e77b2=_0x3073a1[_0x1ba2a7(0xef)])==null?void 0x0:_0x2e77b2['t'])===o[_0x1ba2a7(0x154)]['NUMBER']&&typeof _0x4e2db6==_0x1ba2a7(0x1cb)&&Number[_0x1ba2a7(0x322)](_0x4e2db6)?_0x4e2db6:void 0x0;}function xe(_0x32923d){const _0x3a3216=_0xdb1731;var _0x34630e;return _0x32923d!=null&&(((_0x34630e=_0x32923d['cell'])==null?void 0x0:_0x34630e['v'])!=null||_0x32923d[_0x3a3216(0x39b)]['length']>0x0);}function Se(_0x1c3aac,_0x2373d6){const _0x21e49d=_0xdb1731;var _0x5a551c,_0x45a170;if(!_0x1c3aac||!_0x2373d6)return _0x1c3aac===_0x2373d6;let _0x1c0fdc=(_0x5a551c=_0x1c3aac['cell'])==null?void 0x0:_0x5a551c['v'],_0x4bf2cd=(_0x45a170=_0x2373d6['cell'])==null?void 0x0:_0x45a170['v'];if(_0x1c0fdc!=null||_0x4bf2cd!=null){var _0x5f57c4,_0x533d02;return _0x1c0fdc===_0x4bf2cd&&((_0x5f57c4=_0x1c3aac[_0x21e49d(0xef)])==null?void 0x0:_0x5f57c4['t'])===((_0x533d02=_0x2373d6['cell'])==null?void 0x0:_0x533d02['t']);}return _0x1c3aac['text']===_0x2373d6[_0x21e49d(0x39b)];}function Ce(_0x3d7e71,_0x1671ab){const _0x59c175=_0xdb1731;var _0x377a40;return{..._0x3d7e71,'text':o[_0x59c175(0x1ee)]['format'](_0x3d7e71[_0x59c175(0x3ee)],_0x1671ab,{'throws':!0x1}),'color':(_0x377a40=o['numfmt'][_0x59c175(0x48b)](_0x3d7e71[_0x59c175(0x3ee)],_0x1671ab,{'throws':!0x1}))==null?void 0x0:_0x377a40[_0x59c175(0x57c)](),'cell':_0x3d7e71['cell']?{..._0x3d7e71[_0x59c175(0xef)],'v':_0x1671ab,'t':o[_0x59c175(0x154)][_0x59c175(0x24c)]}:void 0x0};}function we(_0x458373){const _0x3fe267=_0xdb1731;return be(_0x458373)===void 0x0?{..._0x458373,'text':'','cell':_0x458373[_0x3fe267(0xef)]?{..._0x458373[_0x3fe267(0xef)],'v':'','t':o[_0x3fe267(0x154)][_0x3fe267(0xfc)]}:void 0x0}:Ce(_0x458373,0x0);}function Te(_0x23e13d,_0x5affc5,_0x2ab6d6){const _0x5d26c8=_0xdb1731;let _0x23253a=Math['min'](0x1,Math[_0x5d26c8(0x292)](0x0,_0x2ab6d6));if(!_0x5affc5||_0x23253a>=0x1)return[{'key':_0x5d26c8(0x1b2),'offsetY':0x0,'opacity':0x1,'presentation':_0x5affc5}];let _0x19ca61=_0x23e13d??we(_0x5affc5),_0x437df0=be(_0x19ca61),_0x4134c9=be(_0x5affc5);if(_0x437df0!==void 0x0&&_0x4134c9!==void 0x0){let _0x426977=ye(_0x23253a);return[{'key':_0x5d26c8(0x1b2),'offsetY':0x0,'opacity':0x1,'presentation':Ce(_0x5affc5,_0x437df0+(_0x4134c9-_0x437df0)*_0x426977)}];}let _0x100b38=ye(_0x23253a);return[{'key':_0x5d26c8(0x50b),'offsetY':-0x8*_0x100b38,'opacity':0x1-_0x100b38,'presentation':_0x19ca61},{'key':_0x5d26c8(0x1b2),'offsetY':0x8*(0x1-_0x100b38),'opacity':_0x100b38,'presentation':_0x5affc5}];}function Ee(){return typeof performance>'u'?Date['now']():performance['now']();}var De=class{constructor(_0x9cbc2f,_0x1af7be=()=>{}){const _0x8ec757=_0xdb1731;this[_0x8ec757(0x10e)]=_0x9cbc2f,this[_0x8ec757(0x2f1)]=_0x1af7be,B(this,_0x8ec757(0x47c),void 0x0),B(this,_0x8ec757(0x505),void 0x0),B(this,_0x8ec757(0x75d),void 0x0),B(this,_0x8ec757(0x4c1),0x1),B(this,'_startedAt',0x0),B(this,_0x8ec757(0x623),void 0x0),B(this,_0x8ec757(0x58e),_0x11c0dd=>{const _0x38451e=_0x8ec757;let _0x5926bb=typeof _0x11c0dd==_0x38451e(0x1cb)?_0x11c0dd:Ee();this[_0x38451e(0x4c1)]=Math['min'](0x1,(_0x5926bb-this[_0x38451e(0x523)])/0x168),this[_0x38451e(0x10e)](),this[_0x38451e(0x4c1)]<0x1?this[_0x38451e(0x623)]=(0x0,h['requestNewFrame'])(this['_tick']):(this[_0x38451e(0x623)]=void 0x0,this['_previous']=void 0x0,this[_0x38451e(0x2f1)]());});}[_0xdb1731(0x7e0)](_0x1dcc8f,_0x1eadc7=!0x0){const _0x1ae68a=_0xdb1731;var _0x6b2647;let _0xa6733b=xe(this[_0x1ae68a(0x47c)]),_0x555dbb=_0xa6733b?this[_0x1ae68a(0x47c)]:this[_0x1ae68a(0x75d)];if(_0x1eadc7&&xe(_0x555dbb)&&xe(_0x1dcc8f)&&Se(_0x555dbb,_0x1dcc8f)){this[_0x1ae68a(0x47c)]=_0x1dcc8f,this['_lastResolved']=_0x1dcc8f,_0xa6733b||(this[_0x1ae68a(0x505)]=void 0x0,this[_0x1ae68a(0x4c1)]=0x1);return;}let _0x164c75=((_0x6b2647=this[_0x1ae68a(0xdf)]()[_0x1ae68a(0x209)](-0x1)[0x0])==null?void 0x0:_0x6b2647['presentation'])??this['_current'],_0x2c2037=xe(_0x164c75)?_0x164c75:this[_0x1ae68a(0x75d)];if(xe(_0x164c75)&&(this[_0x1ae68a(0x75d)]=_0x164c75),this[_0x1ae68a(0x4f3)](),this[_0x1ae68a(0x47c)]=_0x1dcc8f,!_0x1eadc7||!xe(_0x1dcc8f)){this[_0x1ae68a(0x505)]=void 0x0,this[_0x1ae68a(0x4c1)]=0x1,xe(_0x1dcc8f)&&(this[_0x1ae68a(0x75d)]=_0x1dcc8f);return;}this[_0x1ae68a(0x505)]=_0x2c2037,this[_0x1ae68a(0x75d)]=_0x1dcc8f,this[_0x1ae68a(0x4c1)]=0x0,this[_0x1ae68a(0x523)]=Ee(),this[_0x1ae68a(0x623)]=(0x0,h['requestNewFrame'])(this['_tick']);}[_0xdb1731(0xdf)](){const _0x285ee3=_0xdb1731;return Te(this[_0x285ee3(0x505)],this[_0x285ee3(0x47c)],this['_progress']);}[_0xdb1731(0x57b)](){const _0x27e90e=_0xdb1731;let _0xd97a58=xe(this[_0x27e90e(0x47c)])?this['_current']:void 0x0;if(!_0xd97a58)return[];let _0x17013d=this[_0x27e90e(0x4c1)]<0x1&&xe(this[_0x27e90e(0x505)])?this[_0x27e90e(0x505)]:void 0x0;return _0x17013d?[_0x17013d,_0xd97a58]:[_0xd97a58];}['dispose'](){const _0x484538=_0xdb1731;this['_cancelFrame'](),this[_0x484538(0x47c)]=void 0x0,this['_previous']=void 0x0,this['_lastResolved']=void 0x0;}['_cancelFrame'](){const _0x36b69d=_0xdb1731;this['_frameId']!==void 0x0&&((0x0,h[_0x36b69d(0x5ee)])(this['_frameId']),this[_0x36b69d(0x623)]=void 0x0);}};function Oe(_0xb6c542,_0xc284eb,_0x4df4ae){const _0x1e22e9=_0xdb1731;let _0x5a1c9d=_0xc284eb[_0x1e22e9(0xdf)]();if(_0x5a1c9d['length']===0x1&&_0x5a1c9d[0x0][_0x1e22e9(0x6c0)]===0x1&&_0x5a1c9d[0x0][_0x1e22e9(0x6ac)]===0x0){let [_0x5b3f33]=_0x5a1c9d;_0x4df4ae(_0xb6c542,_0x5b3f33['presentation'],_0x5b3f33['key']);return;}_0x5a1c9d['forEach'](_0xd9b7ac=>{const _0x1e7d7d=_0x1e22e9;_0xd9b7ac['opacity']<=0x0||(_0xb6c542[_0x1e7d7d(0x5c3)](),_0xb6c542[_0x1e7d7d(0x2ce)]*=_0xd9b7ac[_0x1e7d7d(0x6c0)],_0xb6c542[_0x1e7d7d(0x335)](0x0,_0xd9b7ac['offsetY']),_0x4df4ae(_0xb6c542,_0xd9b7ac[_0x1e7d7d(0x386)],_0xd9b7ac[_0x1e7d7d(0x65e)]),_0xb6c542[_0x1e7d7d(0x4b2)]());});}function ke(_0x559b64,_0x460431){return _0x559b64?{..._0x559b64,'shapeText':_0x460431}:{'shapeText':_0x460431};}function Ae(_0xb79187){const _0x16b17a=_0xdb1731;var _0x4df6db;if(!_0xb79187||!(_0x16b17a(0x2d7)in _0xb79187))return;let _0xa7c1ea=_0xb79187[_0x16b17a(0x2d7)];if(!_0xa7c1ea||typeof _0xa7c1ea!=_0x16b17a(0x4fa)||!(_0x16b17a(0x527)in _0xa7c1ea))return;let _0x275887=_0xa7c1ea[_0x16b17a(0x527)];if(je(_0x275887))return(_0x4df6db=_0x275887[_0x16b17a(0x613)])==null||(_0x4df6db=_0x4df6db[_0x16b17a(0x6a6)])==null?void 0x0:_0x4df6db['wrapStrategy'];}function je(_0x484067){const _0x252b5a=_0xdb1731;return typeof _0x484067==_0x252b5a(0x4fa)&&!!_0x484067&&'id'in _0x484067;}function Me(_0x582103,_0x404867=o[_0xdb1731(0x6a7)][_0xdb1731(0x387)]){const _0x419042=_0xdb1731;let _0x1c54af=_0x582103[_0x419042(0x668)];return(_0x1c54af==null?void 0x0:_0x1c54af[_0x419042(0xf8)])===S[_0x419042(0x671)]['None']?o[_0x419042(0x6a7)][_0x419042(0x4d3)]:(_0x1c54af==null?void 0x0:_0x1c54af[_0x419042(0xf8)])===S[_0x419042(0x671)]['Square']?o['WrapStrategy'][_0x419042(0x387)]:Ae(_0x1c54af)??_0x404867;}function Ne(_0x332ed6,_0x10166d){const _0x503dd7=_0xdb1731;let _0x1c38d0=(0x0,S[_0x503dd7(0x143)])(_0x332ed6);return _0x1c38d0[_0x503dd7(0xf8)]===S['ShapeTextWrapType'][_0x503dd7(0x423)]||_0x1c38d0['autoFitType']===S['ShapeTextAutoFitType'][_0x503dd7(0x122)]?!0x1:(_0x10166d??Me(_0x332ed6))!==o[_0x503dd7(0x6a7)][_0x503dd7(0xbf)];}function Pe(_0x5b32f2){const _0xbb9b11=_0xdb1731;let _0xb780d=(0x0,S[_0xbb9b11(0x143)])(_0x5b32f2);return _0xb780d[_0xbb9b11(0x174)]===S[_0xbb9b11(0x110)][_0xbb9b11(0x7a4)]&&_0xb780d['textWrap']===S[_0xbb9b11(0x671)][_0xbb9b11(0x423)];}function Fe(_0x151f19){const _0x257e39=_0xdb1731;var _0x2fee8b;return((_0x2fee8b=_0x151f19[_0x257e39(0x668)])==null?void 0x0:_0x2fee8b[_0x257e39(0x223)])===!0x1?_0x257e39(0x1a8):_0x257e39(0x514);}function Ie(_0x164972,_0x5f5d8a={}){const _0x32adfc=_0xdb1731;return _0x5f5d8a[_0x32adfc(0x2c7)]===!0x0?!0x0:_0x164972?(0x0,S['resolveShapeTextBodyBehavior'])(_0x164972)['isTextBox']:!0x1;}function Le(_0x224dd6){const _0x37da13=_0xdb1731;if(!Pe(_0x224dd6[_0x37da13(0x1de)]))return null;let _0x3469ed=Array[_0x37da13(0x343)](_0x224dd6['documentData'])?_0x224dd6[_0x37da13(0x3cf)]:[_0x224dd6[_0x37da13(0x3cf)]];if(_0x3469ed[_0x37da13(0x6e2)]===0x0)return null;let _0x202d49=Math[_0x37da13(0x292)](..._0x3469ed['map'](_0x2c509b=>(0x0,h[_0x37da13(0x6d1)])(_0x2c509b)));if(!Number[_0x37da13(0x322)](_0x202d49))return null;let _0x357804=Fe(_0x224dd6['shapeData']),_0x277f30=_0x357804===_0x37da13(0x514)?_0x224dd6[_0x37da13(0x7bb)][_0x37da13(0x514)]:_0x224dd6[_0x37da13(0x7bb)]['height'],_0x2473f4=Math['max'](0x1,_0x202d49+(_0x224dd6[_0x37da13(0x429)]??0x2))-_0x277f30;return Math[_0x37da13(0x2e2)](_0x2473f4)<=0.5?null:_0x357804===_0x37da13(0x514)?{'width':Math['max'](0x1,_0x224dd6['width']+_0x2473f4),'height':_0x224dd6[_0x37da13(0x1a8)]}:{'width':_0x224dd6[_0x37da13(0x514)],'height':Math[_0x37da13(0x292)](0x1,_0x224dd6['height']+_0x2473f4)};}function Re(_0x1501fc,_0x44706e=0x2){return he('_(\x22'+_0x1501fc+'\x22*\x20#,##0.00_)',_0x44706e);}function ze(_0x33532e,_0x135594=0x2){const _0x228a9d=_0xdb1731;var _0xc1b715;let _0x1c4a5d=ge(_0x33532e);return he(((_0xc1b715=_0x1c4a5d[_0x228a9d(0x608)](_0x5345a2=>_0x5345a2[_0x228a9d(0x591)]===_0x228a9d(0x50c)))==null?void 0x0:_0xc1b715[_0x228a9d(0x7e2)])??_0x1c4a5d[0x0][_0x228a9d(0x7e2)],_0x135594);}function Be(_0x28fb0a){const _0x1b853a=_0xdb1731;return[{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x6cd),'pattern':o[_0x1b853a(0xfb)]},{'kind':_0x1b853a(0x682),'key':'text','pattern':o['DEFAULT_TEXT_FORMAT_EXCEL']},{'kind':_0x1b853a(0x18f),'key':_0x1b853a(0x2a2)},{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x1cb),'pattern':'0'},{'kind':'format','key':_0x1b853a(0x586),'pattern':_0x1b853a(0x1ba)},{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x350),'pattern':'0.00E+00'},{'kind':_0x1b853a(0x18f),'key':_0x1b853a(0x1cb)},{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x315),'pattern':Re(_0x28fb0a)},{'kind':'format','key':_0x1b853a(0x3c8),'pattern':'#,##0.00;[Red]#,##0.00'},{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x308),'pattern':ze(_0x28fb0a)},{'kind':'format','key':_0x1b853a(0x6be),'pattern':'\x22'+_0x28fb0a+_0x1b853a(0x299)+_0x28fb0a+'\x22#,##0'},{'kind':_0x1b853a(0x18f),'key':_0x1b853a(0x308)},{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x517),'pattern':_0x1b853a(0x57d)},{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x1f0),'pattern':_0x1b853a(0x51a)},{'kind':_0x1b853a(0x682),'key':'dateTime','pattern':'yyyy-m-d\x20am/pm\x20h:mm'},{'kind':_0x1b853a(0x682),'key':_0x1b853a(0x23d),'pattern':_0x1b853a(0x44c)},{'kind':'separator','key':_0x1b853a(0x517)},{'kind':_0x1b853a(0x68a)}];}function Ve(_0x49ace2){const _0x47df70=_0xdb1731;if((0x0,o[_0x47df70(0x7c1)])(_0x49ace2))return _0x47df70(0x6cd);let _0x2a2666=pe(_0x49ace2);if(_0x2a2666&&_0x49ace2[_0x47df70(0xe3)]('_('))return _0x47df70(0x315);let _0x302eda=o[_0x47df70(0x1ee)][_0x47df70(0x723)](_0x49ace2);return _e()[_0x47df70(0x4e7)](_0x2c9501=>_0x2c9501[_0x47df70(0x7e2)]===_0x49ace2)||[_0x47df70(0x517),_0x47df70(0x27a),'time'][_0x47df70(0x2ed)](_0x302eda[_0x47df70(0x5dd)])?_0x47df70(0x517):ve()['some'](_0x470486=>(0x0,o['isPatternEqualWithoutDecimal'])(_0x470486[_0x47df70(0x7e2)],_0x49ace2))?'number':_0x2a2666?_0x47df70(0x308):_0x47df70(0xf3);}function He(_0x17e82f,_0x531a7a){const _0x35c0b2=_0xdb1731;switch(_0x17e82f){case _0x35c0b2(0x6cd):return o[_0x35c0b2(0xfb)];case'accounting':return Re(_0x531a7a);case _0x35c0b2(0x308):return ze(_0x531a7a);case _0x35c0b2(0x517):return _e()[0x0]['value'];case'number':return ve()[0x0][_0x35c0b2(0x7e2)];default:return o[_0x35c0b2(0xfb)];}}function Ue(_0x4b4a2c){const _0x565927=_0xdb1731;return _0x4b4a2c===_0x565927(0x6cd)||_0x4b4a2c===_0x565927(0x315)||_0x4b4a2c==='currency'||_0x4b4a2c===_0x565927(0x517)||_0x4b4a2c==='number'||_0x4b4a2c===_0x565927(0xf3);}function We(_0x533be9){const _0x182b1a=_0xdb1731;return o[_0x182b1a(0x1ee)][_0x182b1a(0x682)](_0x533be9||o[_0x182b1a(0xfb)],0x4c4,{'throws':!0x1});}function Ge(_0x5320ce){const _0x218c75=_0xdb1731;let _0x1e4d0d=(0x0,s[_0x218c75(0x14e)])(o[_0x218c75(0x432)]),_0x396967=(0x0,C[_0x218c75(0x54e)])(_0x1e4d0d[_0x218c75(0x436)]());return(0x0,r[_0x218c75(0x6c7)])(Ke,{'children':(0x0,n[_0x218c75(0x3b8)])(()=>Be(_0x396967),[_0x396967])[_0x218c75(0x50f)](_0x550d3b=>_0x550d3b[_0x218c75(0x53d)]===_0x218c75(0x18f)?(0x0,r[_0x218c75(0x6c7)])(e[_0x218c75(0x169)],{'className':_0x218c75(0x489)},_0x218c75(0x776)+_0x550d3b['key']):(0x0,r['jsxs'])(_0x218c75(0x4c8),{'type':_0x218c75(0x4c8),'className':_0x218c75(0x6fc),'onClick':()=>_0x550d3b[_0x218c75(0x53d)]===_0x218c75(0x68a)?_0x5320ce[_0x218c75(0x569)]():_0x5320ce[_0x218c75(0x6da)](_0x550d3b[_0x218c75(0x3ee)]),'children':[(0x0,r[_0x218c75(0x6c7)])(_0x218c75(0x733),{'children':_0x550d3b['kind']===_0x218c75(0x68a)?_0x1e4d0d['t'](_0x218c75(0x7a1)):_0x1e4d0d['t'](_0x218c75(0x3a0)+_0x550d3b[_0x218c75(0x65e)])}),_0x550d3b['kind']==='format'&&(0x0,r['jsx'])('span',{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':We(_0x550d3b['pattern'])})]},_0x550d3b[_0x218c75(0x53d)]==='more'?_0x218c75(0x68a):_0x550d3b['key']))});}function Ke(_0x25c4e4){const _0x367a62=_0xdb1731;return(0x0,r['jsx'])('div',{'className':_0x367a62(0x443),'children':_0x25c4e4[_0x367a62(0x790)]});}function qe(_0x420c59){const _0x5cf1a4=_0xdb1731;return(0x0,r['jsx'])(_0x5cf1a4(0x73f),{'className':_0x5cf1a4(0x780),'children':_0x420c59[_0x5cf1a4(0x790)]});}function Je(_0x4b13e4){const _0x8fa24b=_0xdb1731;return(0x0,r[_0x8fa24b(0x6c7)])(_0x8fa24b(0x73f),{'className':_0x8fa24b(0x5cf),'children':_0x4b13e4[_0x8fa24b(0x790)]});}function Ye(_0x1ce6a1){const _0x178319=_0xdb1731;let _0x5dfff9=(0x0,s['useDependency'])(o[_0x178319(0x432)]),[_0x22899c,_0x5ab26c]=(0x0,n[_0x178319(0x48e)])(()=>Z(_0x1ce6a1[_0x178319(0x3ee)],0x2)),[_0x5777d1,_0x1df5d2]=(0x0,n[_0x178319(0x48e)])(()=>pe(_0x1ce6a1[_0x178319(0x3ee)])??_0x1ce6a1['currencySymbol']),_0x2b22d7=(0x0,n[_0x178319(0x3b8)])(()=>o['currencySymbols'][_0x178319(0x50f)](_0x37a836=>({'label':_0x37a836,'value':_0x37a836})),[]),_0x47c590=(_0x5cba1e,_0x2188a7)=>{const _0x4f9475=_0x178319;_0x1ce6a1[_0x4f9475(0x330)](Re(_0x2188a7,_0x5cba1e));};return(0x0,r[_0x178319(0x565)])(_0x178319(0x73f),{'className':_0x178319(0x1b0),'children':[(0x0,r[_0x178319(0x565)])(_0x178319(0x73f),{'className':_0x178319(0x49a),'children':[(0x0,r['jsxs'])(_0x178319(0x73f),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,r[_0x178319(0x6c7)])(qe,{'children':_0x5dfff9['t'](_0x178319(0x356))}),(0x0,r[_0x178319(0x6c7)])(e[_0x178319(0x663)],{'className':'univer-w-full','value':_0x22899c,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x545052=>{let _0x77429e=_0x545052??0x0;_0x5ab26c(_0x77429e),_0x47c590(_0x77429e,_0x5777d1);}})]}),(0x0,r[_0x178319(0x565)])(_0x178319(0x73f),{'className':_0x178319(0x242),'children':[(0x0,r['jsx'])(qe,{'children':_0x5dfff9['t'](_0x178319(0x29e))}),(0x0,r[_0x178319(0x6c7)])(e['Select'],{'className':_0x178319(0x2ac),'value':_0x5777d1,'options':_0x2b22d7,'onChange':_0x25ffa4=>{_0x1df5d2(_0x25ffa4),_0x47c590(_0x22899c,_0x25ffa4);}})]})]}),(0x0,r[_0x178319(0x6c7)])(Je,{'children':_0x5dfff9['t']('shape-editor-ui.formulaBinding.accountingDescription')})]});}function Xe(_0x38341d){const _0x4cdf39=_0xdb1731;let _0x1593b1=(0x0,s[_0x4cdf39(0x14e)])(o[_0x4cdf39(0x432)]),[_0x47bf59,_0x2642bd]=(0x0,n[_0x4cdf39(0x48e)])(()=>Z(_0x38341d['pattern'],0x2)),[_0x3498f6,_0x8cc053]=(0x0,n[_0x4cdf39(0x48e)])(()=>pe(_0x38341d['pattern'])??_0x38341d['currencySymbol']),_0x351ab1=(0x0,n[_0x4cdf39(0x3b8)])(()=>o['currencySymbols'][_0x4cdf39(0x50f)](_0x471deb=>({'label':_0x471deb,'value':_0x471deb})),[]),_0x492e36=(0x0,n['useMemo'])(()=>ge(_0x3498f6),[_0x3498f6]),[_0x458fa6,_0x144313]=(0x0,n[_0x4cdf39(0x48e)])(()=>{const _0x240fe0=_0x4cdf39;var _0x57aac9;return((_0x57aac9=_0x492e36['find'](_0x367a6f=>(0x0,o[_0x240fe0(0x177)])(_0x367a6f[_0x240fe0(0x7e2)],_0x38341d['pattern'])))==null?void 0x0:_0x57aac9[_0x240fe0(0x7e2)])??_0x492e36[0x0][_0x240fe0(0x7e2)];}),_0xeadb6e=(_0x3caca7,_0x57add0)=>{const _0x31722d=_0x4cdf39;_0x38341d[_0x31722d(0x330)](he(_0x3caca7,_0x57add0));};return(0x0,r['jsxs'])(_0x4cdf39(0x73f),{'className':_0x4cdf39(0x394),'children':[(0x0,r[_0x4cdf39(0x565)])(_0x4cdf39(0x73f),{'className':_0x4cdf39(0x49a),'children':[(0x0,r['jsxs'])(_0x4cdf39(0x73f),{'className':_0x4cdf39(0x242),'children':[(0x0,r['jsx'])(qe,{'children':_0x1593b1['t'](_0x4cdf39(0x356))}),(0x0,r[_0x4cdf39(0x6c7)])(e[_0x4cdf39(0x663)],{'className':'univer-w-full','value':_0x47bf59,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x53b06e=>{let _0xd85375=_0x53b06e??0x0;_0x2642bd(_0xd85375),_0xeadb6e(_0x458fa6,_0xd85375);}})]}),(0x0,r[_0x4cdf39(0x565)])('div',{'className':_0x4cdf39(0x242),'children':[(0x0,r[_0x4cdf39(0x6c7)])(qe,{'children':_0x1593b1['t'](_0x4cdf39(0x29e))}),(0x0,r[_0x4cdf39(0x6c7)])(e['Select'],{'className':_0x4cdf39(0x2ac),'value':_0x3498f6,'options':_0x351ab1,'onChange':_0x350597=>{_0x8cc053(_0x350597);let _0x2afe16=ge(_0x350597)[0x0]['value'];_0x144313(_0x2afe16),_0xeadb6e(_0x2afe16,_0x47bf59);}})]})]}),(0x0,r[_0x4cdf39(0x565)])(_0x4cdf39(0x73f),{'className':_0x4cdf39(0x612),'children':[(0x0,r[_0x4cdf39(0x6c7)])(qe,{'children':_0x1593b1['t']('shape-editor-ui.formulaBinding.negativeNumberType')}),(0x0,r[_0x4cdf39(0x6c7)])(e['SelectList'],{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+e[_0x4cdf39(0x27d)]+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','value':_0x458fa6,'options':_0x492e36,'onChange':_0x4d7ab3=>{const _0x3434d6=_0x4cdf39;typeof _0x4d7ab3==_0x3434d6(0x435)&&(_0x144313(_0x4d7ab3),_0xeadb6e(_0x4d7ab3,_0x47bf59));}})]}),(0x0,r[_0x4cdf39(0x6c7)])(Je,{'children':_0x1593b1['t']('shape-editor-ui.formulaBinding.currencyDescription')})]});}function Ze(_0x51941c){const _0xf3619b=_0xdb1731;let _0x1f94d2=(0x0,s[_0xf3619b(0x14e)])(o[_0xf3619b(0x432)]),_0x540ff8=(0x0,n[_0xf3619b(0x3b8)])(()=>_e(),[]),[_0x1095ba,_0x25b826]=(0x0,n[_0xf3619b(0x48e)])(()=>_0x540ff8[_0xf3619b(0x4e7)](_0x35d6ef=>_0x35d6ef[_0xf3619b(0x7e2)]===_0x51941c['pattern'])?_0x51941c[_0xf3619b(0x3ee)]:_0x540ff8[0x0][_0xf3619b(0x7e2)]);return(0x0,r[_0xf3619b(0x565)])(_0xf3619b(0x73f),{'className':_0xf3619b(0x394),'children':[(0x0,r['jsx'])(qe,{'children':_0x1f94d2['t'](_0xf3619b(0x241))}),(0x0,r['jsx'])(e['SelectList'],{'className':_0xf3619b(0x270)+e[_0xf3619b(0x27d)]+_0xf3619b(0x751),'value':_0x1095ba,'options':_0x540ff8,'onChange':_0x498b34=>{const _0x2414ce=_0xf3619b;typeof _0x498b34==_0x2414ce(0x435)&&(_0x25b826(_0x498b34),_0x51941c[_0x2414ce(0x330)](_0x498b34));}}),(0x0,r[_0xf3619b(0x6c7)])(Je,{'children':_0x1f94d2['t']('shape-editor-ui.formulaBinding.dateDescription')})]});}function Qe(_0x186303){const _0x43ff7a=_0xdb1731;let _0x479211=(0x0,s[_0x43ff7a(0x14e)])(o[_0x43ff7a(0x432)]),_0x5b2a89=(0x0,n[_0x43ff7a(0x3b8)])(()=>ve(),[]),[_0x2773e7,_0x44ffc0]=(0x0,n[_0x43ff7a(0x48e)])(()=>Z(_0x186303[_0x43ff7a(0x3ee)],0x0)),[_0x5876e3,_0x23832d]=(0x0,n[_0x43ff7a(0x48e)])(()=>{const _0x3dbc57=_0x43ff7a;var _0xbc6ef0;return((_0xbc6ef0=_0x5b2a89[_0x3dbc57(0x608)](_0x26be87=>(0x0,o['isPatternEqualWithoutDecimal'])(_0x26be87[_0x3dbc57(0x7e2)],_0x186303[_0x3dbc57(0x3ee)])))==null?void 0x0:_0xbc6ef0[_0x3dbc57(0x7e2)])??_0x5b2a89[0x0][_0x3dbc57(0x7e2)];});return(0x0,r[_0x43ff7a(0x565)])(_0x43ff7a(0x73f),{'className':_0x43ff7a(0x394),'children':[(0x0,r[_0x43ff7a(0x6c7)])(qe,{'children':_0x479211['t'](_0x43ff7a(0x356))}),(0x0,r[_0x43ff7a(0x6c7)])(e[_0x43ff7a(0x663)],{'className':_0x43ff7a(0x2ac),'value':_0x2773e7,'min':0x0,'max':0x14,'precision':0x0,'onChange':_0x197c2b=>{const _0x1523a4=_0x43ff7a;let _0x140cae=_0x197c2b??0x0;_0x44ffc0(_0x140cae),_0x186303[_0x1523a4(0x330)](he(_0x5876e3,_0x140cae));}}),(0x0,r['jsxs'])(_0x43ff7a(0x73f),{'className':_0x43ff7a(0x612),'children':[(0x0,r[_0x43ff7a(0x6c7)])(qe,{'children':_0x479211['t'](_0x43ff7a(0x60d))}),(0x0,r[_0x43ff7a(0x6c7)])(e['SelectList'],{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+e[_0x43ff7a(0x27d)]+_0x43ff7a(0x7a6),'value':_0x5876e3,'options':_0x5b2a89,'onChange':_0x366132=>{const _0x22f56b=_0x43ff7a;typeof _0x366132==_0x22f56b(0x435)&&(_0x23832d(_0x366132),_0x44ffc0(Z(_0x366132,0x0)),_0x186303[_0x22f56b(0x330)](_0x366132));}})]}),(0x0,r[_0x43ff7a(0x6c7)])(Je,{'children':_0x479211['t'](_0x43ff7a(0x40d))})]});}function $e(_0x31b479){const _0x5799cf=_0xdb1731;let _0x3ce6ec=(0x0,s[_0x5799cf(0x14e)])(o[_0x5799cf(0x432)]),[_0x1b54ab,_0x470d7d]=(0x0,n[_0x5799cf(0x48e)])(_0x31b479[_0x5799cf(0x3ee)]),_0x2702d6=(0x0,n['useMemo'])(()=>{const _0x118a66=_0x5799cf;let _0x277551=[...ge(_0x31b479['currencySymbol'])['map'](_0x592da5=>_0x592da5[_0x118a66(0x7e2)]),..._e()[_0x118a66(0x50f)](_0x514c3a=>_0x514c3a[_0x118a66(0x7e2)]),...ve()[_0x118a66(0x50f)](_0xf4163c=>_0xf4163c[_0x118a66(0x7e2)])];return[...new Set([_0x31b479[_0x118a66(0x3ee)],..._0x277551][_0x118a66(0xc4)](Boolean))][_0x118a66(0x50f)](_0x3266b4=>({'label':_0x3266b4,'value':_0x3266b4}));},[_0x31b479[_0x5799cf(0x712)],_0x31b479[_0x5799cf(0x3ee)]]);return(0x0,r[_0x5799cf(0x565)])('div',{'className':_0x5799cf(0x394),'children':[(0x0,r[_0x5799cf(0x6c7)])(qe,{'children':_0x3ce6ec['t'](_0x5799cf(0x4c4))}),(0x0,r[_0x5799cf(0x6c7)])(e[_0x5799cf(0x60f)],{'className':_0x5799cf(0x2ac),'value':_0x1b54ab,'placeholder':_0x3ce6ec['t'](_0x5799cf(0x5d8)),'onChange':_0x55159e=>{const _0x54f550=_0x5799cf;_0x470d7d(_0x55159e),_0x31b479[_0x54f550(0x330)](_0x55159e);}}),(0x0,r[_0x5799cf(0x6c7)])(e[_0x5799cf(0x729)],{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+e[_0x5799cf(0x27d)]+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mt-2\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','value':_0x1b54ab,'options':_0x2702d6,'onChange':_0x5aaf0a=>{const _0x5d694f=_0x5799cf;typeof _0x5aaf0a==_0x5d694f(0x435)&&(_0x470d7d(_0x5aaf0a),_0x31b479[_0x5d694f(0x330)](_0x5aaf0a));}}),(0x0,r[_0x5799cf(0x6c7)])(Je,{'children':_0x3ce6ec['t'](_0x5799cf(0x58a))})]});}function et(_0x412baf){const _0x180451=_0xdb1731;let _0x417062=(0x0,s['useDependency'])(o['LocaleService']);switch(_0x412baf[_0x180451(0x5dd)]){case _0x180451(0x6cd):return(0x0,r[_0x180451(0x6c7)])(Je,{'children':_0x417062['t'](_0x180451(0x5b1))});case _0x180451(0x315):return(0x0,r[_0x180451(0x6c7)])(Ye,{..._0x412baf});case _0x180451(0x308):return(0x0,r[_0x180451(0x6c7)])(Xe,{..._0x412baf});case _0x180451(0x517):return(0x0,r[_0x180451(0x6c7)])(Ze,{..._0x412baf});case'number':return(0x0,r[_0x180451(0x6c7)])(Qe,{..._0x412baf});default:return(0x0,r[_0x180451(0x6c7)])($e,{..._0x412baf});}}function tt(_0x245f5b){const _0x35b40d=_0xdb1731;let _0xe8b880=(0x0,s['useDependency'])(o['LocaleService']),_0x4d2a8f=(0x0,C[_0x35b40d(0x54e)])(_0xe8b880[_0x35b40d(0x436)]()),[_0x118c37,_0x5925db]=(0x0,n[_0x35b40d(0x48e)])(()=>Ve(_0x245f5b['pattern'])),[_0x50edfe,_0x2ce058]=(0x0,n[_0x35b40d(0x48e)])(_0x245f5b[_0x35b40d(0x3ee)]),_0x2cdda0=(0x0,n['useMemo'])(()=>[{'label':_0xe8b880['t'](_0x35b40d(0x701)),'value':_0x35b40d(0x6cd)},{'label':_0xe8b880['t'](_0x35b40d(0x68d)),'value':_0x35b40d(0x315)},{'label':_0xe8b880['t']('shape-editor-ui.formulaBinding.formats.currency'),'value':_0x35b40d(0x308)},{'label':_0xe8b880['t'](_0x35b40d(0x36f)),'value':'date'},{'label':_0xe8b880['t'](_0x35b40d(0x703)),'value':_0x35b40d(0x1cb)},{'label':_0xe8b880['t'](_0x35b40d(0x4c4)),'value':_0x35b40d(0xf3)}],[_0xe8b880]);return(0x0,r[_0x35b40d(0x6c7)])(e[_0x35b40d(0x6c8)],{'open':_0x245f5b[_0x35b40d(0x593)],'width':0x1a4,'title':_0xe8b880['t'](_0x35b40d(0x71b)),'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'onClose':_0x245f5b[_0x35b40d(0x452)],'footer':(0x0,r[_0x35b40d(0x565)])(_0x35b40d(0x73f),{'className':_0x35b40d(0x321),'children':[(0x0,r[_0x35b40d(0x6c7)])(e['Button'],{'onClick':_0x245f5b[_0x35b40d(0x452)],'children':_0xe8b880['t'](_0x35b40d(0x5ca))}),(0x0,r[_0x35b40d(0x6c7)])(e[_0x35b40d(0x519)],{'variant':_0x35b40d(0x3cc),'onClick':()=>_0x245f5b['onConfirm'](_0x50edfe),'children':_0xe8b880['t'](_0x35b40d(0x22d))})]}),'children':(0x0,r[_0x35b40d(0x565)])(_0x35b40d(0x73f),{'className':_0x35b40d(0x667),'children':[(0x0,r[_0x35b40d(0x6c7)])(qe,{'children':_0xe8b880['t'](_0x35b40d(0xe9))}),(0x0,r['jsx'])(e[_0x35b40d(0x460)],{'className':_0x35b40d(0x2ac),'value':_0x118c37,'options':_0x2cdda0,'onChange':_0x200488=>{Ue(_0x200488)&&(_0x5925db(_0x200488),_0x2ce058(He(_0x200488,_0x4d2a8f)));}}),(0x0,r[_0x35b40d(0x6c7)])(_0x35b40d(0x73f),{'className':_0x35b40d(0x1db),'children':(0x0,r[_0x35b40d(0x6c7)])(et,{'type':_0x118c37,'pattern':_0x50edfe,'currencySymbol':_0x4d2a8f,'onChange':_0x2ce058},_0x118c37)}),(0x0,r[_0x35b40d(0x565)])(_0x35b40d(0x73f),{'className':_0x35b40d(0x4e1),'children':[(0x0,r['jsx'])(_0x35b40d(0x73f),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0xe8b880['t']('shape-editor-ui.formulaBinding.preview')}),(0x0,r[_0x35b40d(0x6c7)])(_0x35b40d(0x73f),{'className':'univer-mt-1\x20univer-text-sm\x20univer-font-medium','children':We(_0x50edfe)})]})]})});}function nt(_0x1a0083){const _0x3b3d62=_0xdb1731;var _0x1e38ec,_0x279c40;let {onClose:_0xe91457,onConfirm:_0xd1a11f}=_0x1a0083,_0x36c54f=(0x0,s['useDependency'])(o[_0x3b3d62(0x432)]),_0x85c03e=(0x0,s['useDependency'])(H),_0x3fde1f=(0x0,s[_0x3b3d62(0x14e)])(d[_0x3b3d62(0x618)]),_0x1884e1=(0x0,s[_0x3b3d62(0x14e)])(m[_0x3b3d62(0x40a)]),_0x2eb057=(0x0,s[_0x3b3d62(0x14e)])(m[_0x3b3d62(0x45f)]),_0x4e8bb7=(0x0,s['useDependency'])(o[_0x3b3d62(0x30d)]),[_0x27e949,_0x42d6c4]=(0x0,n['useState'])(_0x1a0083[_0x3b3d62(0x7e2)][_0x3b3d62(0x473)]),[_0x234d26,_0x544b55]=(0x0,n['useState'])(((_0x1e38ec=_0x1a0083[_0x3b3d62(0x7e2)][_0x3b3d62(0x102)])==null?void 0x0:_0x1e38ec[_0x3b3d62(0x3ee)])??o['DEFAULT_NUMBER_FORMAT']),[_0x2d64ff,_0x5c81e6]=(0x0,n[_0x3b3d62(0x48e)])(!0x1),[_0xd7e263,_0x497f81]=(0x0,n[_0x3b3d62(0x48e)])(!0x1),[_0x1f2d20,_0x10e165]=(0x0,n[_0x3b3d62(0x48e)])(''),[_0x14e3e8,_0x45f5fa]=(0x0,n[_0x3b3d62(0x48e)])([]),[_0x335eab,_0x39b17c]=(0x0,n[_0x3b3d62(0x48e)])(null),[_0x574326,_0x4ea355]=(0x0,n['useState'])(''),[_0x366406,_0x5b93f3]=(0x0,n['useState'])({'start':_0x1a0083[_0x3b3d62(0x7e2)]['formula']['length'],'end':_0x1a0083[_0x3b3d62(0x7e2)][_0x3b3d62(0x473)][_0x3b3d62(0x6e2)]}),_0x118cb0=(0x0,n['useRef'])(null),_0x23541a=(0x0,n[_0x3b3d62(0x5d5)])(null),_0x2327c9=(0x0,n[_0x3b3d62(0x5d5)])(_0x27e949);_0x2327c9[_0x3b3d62(0x1b2)]=_0x27e949;let _0x4ef88d=(0x0,n[_0x3b3d62(0x5d5)])(_0x366406);_0x4ef88d[_0x3b3d62(0x1b2)]=_0x366406;let _0x9f21b9=(0x0,n[_0x3b3d62(0x5d5)])([]),_0x3b4039=(0x0,n[_0x3b3d62(0x5d5)])(new Map()),_0x2be6fe=(0x0,n[_0x3b3d62(0x51b)])(()=>{_0x85c03e['close'](),_0xe91457();},[_0xe91457,_0x85c03e]),_0x4d0650=(0x0,n[_0x3b3d62(0x51b)])(()=>{const _0x37083e=_0x3b3d62;let _0x2977a9=re(_0x2327c9['current']),_0x5e2ef3=(0x0,d[_0x37083e(0x7e4)])({'qualifiers':(0x0,d['collectFormulaExternalReferenceQualifiers'])(_0x2eb057[_0x37083e(0x7c5)](_0x2977a9[_0x37083e(0xe3)]('=')?_0x2977a9[_0x37083e(0x209)](0x1):_0x2977a9)??[]),'explicitReferences':Array['from'](_0x3b4039[_0x37083e(0x1b2)][_0x37083e(0x314)]()),'resolveBinding':_0x3f84ac=>_0x3fde1f[_0x37083e(0x1a2)](_0x1a0083[_0x37083e(0x64c)][_0x37083e(0xc9)],_0x3f84ac)});if(_0x5e2ef3['status']!==_0x37083e(0xe6)){_0x4ea355(_0x36c54f['t'](_0x37083e(0x103),_0x5e2ef3[_0x37083e(0x6cc)]));return;}_0x85c03e['close'](),_0xd1a11f({'formula':_0x2977a9,'numberFormat':{'pattern':_0x234d26},'externalReferences':_0x5e2ef3[_0x37083e(0x6d5)]});},[_0x3fde1f,_0x2eb057,_0x36c54f,_0x234d26,_0xd1a11f,_0x1a0083[_0x3b3d62(0x64c)][_0x3b3d62(0xc9)],_0x85c03e]),_0x1726a7=_0x14e3e8[_0x3b3d62(0x608)](_0x578eea=>_0x578eea[_0x3b3d62(0xc9)]===_0x1f2d20)??_0x14e3e8[0x0],_0x3f831a=(0x0,n[_0x3b3d62(0x51b)])(_0x1f58f8=>{const _0xa092c8=_0x3b3d62;let _0x58a8aa=_0x2327c9[_0xa092c8(0x1b2)],_0x341d17=_0x4ef88d[_0xa092c8(0x1b2)],_0x179065=ne({'formula':_0x58a8aa,'sequenceNodes':_0x2eb057[_0xa092c8(0x7c5)](_0x58a8aa[_0xa092c8(0xe3)]('=')?_0x58a8aa[_0xa092c8(0x209)](0x1):_0x58a8aa)??[],'referenceSelections':_0x9f21b9[_0xa092c8(0x1b2)],'selectionStart':_0x341d17[_0xa092c8(0x78e)],'selectionEnd':_0x341d17[_0xa092c8(0x1bf)],'change':_0x1f58f8});if(!_0x179065)return;_0x1f58f8['externalReference']&&_0x3b4039[_0xa092c8(0x1b2)][_0xa092c8(0x77c)]((0x0,d[_0xa092c8(0x446)])(_0x1f58f8[_0xa092c8(0x6b3)]['qualifier']),_0x1f58f8[_0xa092c8(0x6b3)]),_0x4ea355(''),_0x42d6c4(_0x179065[_0xa092c8(0x473)]);let _0x4fa68a={'start':_0x179065[_0xa092c8(0x6ae)],'end':_0x179065[_0xa092c8(0x380)]};_0x5b93f3(_0x4fa68a),_0x4ef88d[_0xa092c8(0x1b2)]=_0x4fa68a,requestAnimationFrame(()=>{const _0x505f36=_0xa092c8;var _0x165c69,_0x132ffb;(_0x165c69=_0x118cb0[_0x505f36(0x1b2)])==null||_0x165c69['setSelectionRange'](_0x179065[_0x505f36(0x6ae)],_0x179065[_0x505f36(0x380)]),(_0x132ffb=_0x118cb0[_0x505f36(0x1b2)])==null||_0x132ffb[_0x505f36(0x1b4)]();});},[_0x2eb057]);(0x0,n['useEffect'])(()=>{const _0x3f84ba=_0x3b3d62;if(!_0x1a0083[_0x3f84ba(0x593)]){_0x85c03e[_0x3f84ba(0x253)]();return;}let _0x1ef300=!0x1;return _0x85c03e[_0x3f84ba(0x1e9)]()['then'](_0x2ec04e=>{const _0x115ad8=_0x3f84ba;if(_0x1ef300)return;_0x45f5fa(_0x2ec04e);let _0x3bf0b5=_0x2ec04e[_0x115ad8(0x608)](_0x24d339=>_0x24d339[_0x115ad8(0xc9)]===_0x1a0083[_0x115ad8(0x64c)]['unitId'])??_0x2ec04e[0x0];_0x10e165((_0x3bf0b5==null?void 0x0:_0x3bf0b5[_0x115ad8(0xc9)])??'');})['catch'](()=>{_0x1ef300||_0x45f5fa([]);}),()=>{_0x1ef300=!0x0,_0x85c03e['scheduleClose']();};},[_0x1a0083[_0x3b3d62(0x64c)][_0x3b3d62(0xc9)],_0x1a0083[_0x3b3d62(0x593)],_0x85c03e]),(0x0,n['useEffect'])(()=>{const _0x5a1f73=_0x3b3d62;!_0x1a0083['open']||!_0x1726a7||!_0x335eab||(_0x85c03e[_0x5a1f73(0x588)](_0x335eab),_0x85c03e[_0x5a1f73(0x3f4)](_0x1726a7,_0x1a0083[_0x5a1f73(0x64c)],_0x3f831a)[_0x5a1f73(0x32b)](()=>void 0x0));},[_0x3f831a,_0x1a0083[_0x3b3d62(0x64c)],_0x1a0083[_0x3b3d62(0x593)],_0x1726a7,_0x85c03e,_0x335eab]);let _0x2b2fa9=(0x0,n['useMemo'])(()=>_0x2eb057[_0x3b3d62(0x7c5)](_0x27e949[_0x3b3d62(0xe3)]('=')?_0x27e949[_0x3b3d62(0x209)](0x1):_0x27e949)??[],[_0x27e949,_0x2eb057]),_0x56c6f5=((_0x279c40=_0x27e949['match'](/[A-Za-z.]+$/))==null?void 0x0:_0x279c40[0x0])??'',_0x1147aa=_0x56c6f5?(0x0,m[_0x3b3d62(0x149)])(_0x1884e1,_0x56c6f5,0x8):[],_0x360c20=(0x0,n[_0x3b3d62(0x3b8)])(()=>({'formulaRefColors':Array['from']({'length':0xc},(_0x36bf23,_0x481b94)=>{const _0x4e077a=_0x3b3d62;let _0x28e8dc=_0x4e8bb7['getColorFromTheme'](_0x4e077a(0x6b4)+(_0x481b94+0x1));return _0x4e8bb7[_0x4e077a(0x65c)](_0x28e8dc)?_0x4e8bb7['getColorFromTheme'](_0x28e8dc):_0x28e8dc;}),'numberColor':_0x4e8bb7[_0x3b3d62(0xf2)](_0x3b3d62(0x19d)),'stringColor':_0x4e8bb7['getColorFromTheme'](_0x3b3d62(0x60c)),'plainTextColor':_0x4e8bb7[_0x3b3d62(0xf2)](_0x3b3d62(0x1bc))}),[_0x4e8bb7]),_0xed85ab=(0x0,m['buildFormulaTextRuns'])(_0x1884e1,_0x360c20,_0x2b2fa9,{'includeTableReferences':!0x0});_0x9f21b9[_0x3b3d62(0x1b2)]=_0xed85ab['refSelections'];let _0x129280=rt(_0x27e949[_0x3b3d62(0xe3)]('=')?_0x27e949['slice'](0x1):_0x27e949,_0xed85ab[_0x3b3d62(0x5db)],_0x360c20['plainTextColor']);(0x0,n[_0x3b3d62(0x310)])(()=>{const _0x1153d8=_0x3b3d62;_0x1a0083[_0x1153d8(0x593)]&&_0x85c03e[_0x1153d8(0x6e4)]({'formula':_0x27e949,'sequenceNodes':_0x2b2fa9,'refSelections':_0xed85ab[_0x1153d8(0x168)],'selectionStart':_0x366406[_0x1153d8(0x78e)],'selectionEnd':_0x366406[_0x1153d8(0x1bf)]});},[_0x27e949,_0x2b2fa9,_0x366406[_0x3b3d62(0x1bf)],_0x366406[_0x3b3d62(0x78e)],_0xed85ab[_0x3b3d62(0x168)],_0x1a0083['open'],_0x85c03e]);let _0x1f6926=_0x89a36d=>{const _0xf6f0ef=_0x3b3d62;let _0xa11edd=_0x89a36d[_0xf6f0ef(0x305)];_0x5b93f3({'start':_0xa11edd[_0xf6f0ef(0x6ae)],'end':_0xa11edd[_0xf6f0ef(0x380)]});};return(0x0,r[_0x3b3d62(0x565)])(r[_0x3b3d62(0x372)],{'children':[(0x0,r['jsx'])(e[_0x3b3d62(0x6c8)],{'open':_0x1a0083['open'],'width':'min(1440px,\x20calc(100vw\x20-\x2032px))','title':_0x36c54f['t'](_0x3b3d62(0x698)),'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'onClose':_0x2be6fe,'footer':(0x0,r[_0x3b3d62(0x565)])(_0x3b3d62(0x73f),{'className':_0x3b3d62(0x628),'children':[(0x0,r[_0x3b3d62(0x565)])('div',{'className':_0x3b3d62(0x20e),'children':[_0x1a0083['footerLeading'],(0x0,r[_0x3b3d62(0x6c7)])(e[_0x3b3d62(0x462)],{'open':_0x2d64ff,'onOpenChange':_0x5c81e6,'overlay':(0x0,r[_0x3b3d62(0x6c7)])(Ge,{'onSelect':_0x48cc39=>{_0x544b55(_0x48cc39),_0x5c81e6(!0x1);},'onMore':()=>{_0x5c81e6(!0x1),_0x497f81(!0x0);}}),'children':(0x0,r[_0x3b3d62(0x565)])(e['Button'],{'children':[(0x0,r['jsx'])(t[_0x3b3d62(0x5b0)],{}),_0x36c54f['t'](_0x3b3d62(0x71b))]})})]}),(0x0,r[_0x3b3d62(0x565)])(_0x3b3d62(0x73f),{'className':_0x3b3d62(0x760),'children':[(0x0,r[_0x3b3d62(0x6c7)])(e[_0x3b3d62(0x519)],{'onClick':_0x2be6fe,'children':_0x36c54f['t'](_0x3b3d62(0x5ca))}),(0x0,r[_0x3b3d62(0x6c7)])(e[_0x3b3d62(0x519)],{'variant':'primary','onClick':_0x4d0650,'children':_0x36c54f['t'](_0x3b3d62(0x22d))})]})]}),'children':(0x0,r[_0x3b3d62(0x565)])(_0x3b3d62(0x73f),{'className':_0x3b3d62(0x5ec),'children':[(0x0,r[_0x3b3d62(0x6c7)])(_0x3b3d62(0x68e),{'className':_0x3b3d62(0x793),'children':_0x14e3e8[_0x3b3d62(0x50f)](_0x5cecf7=>(0x0,r[_0x3b3d62(0x565)])('button',{'type':_0x3b3d62(0x4c8),'onClick':()=>_0x10e165(_0x5cecf7['unitId']),'className':_0x3b3d62(0x5d9)+((_0x1726a7==null?void 0x0:_0x1726a7[_0x3b3d62(0xc9)])===_0x5cecf7[_0x3b3d62(0xc9)]?_0x3b3d62(0x67e):_0x3b3d62(0x5b4))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,r[_0x3b3d62(0x6c7)])(_0x3b3d62(0x73f),{'className':'univer-truncate\x20univer-text-sm\x20univer-font-medium','children':_0x5cecf7[_0x3b3d62(0x6a8)]}),(0x0,r[_0x3b3d62(0x6c7)])(_0x3b3d62(0x73f),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5cecf7[_0x3b3d62(0x5dd)]===o[_0x3b3d62(0xc6)][_0x3b3d62(0x6f3)]?_0x36c54f['t'](_0x3b3d62(0x5ce)):_0x36c54f['t'](_0x3b3d62(0x41b))})]},_0x5cecf7[_0x3b3d62(0xc9)]))}),(0x0,r['jsxs'])(_0x3b3d62(0x409),{'className':_0x3b3d62(0x690),'children':[(0x0,r[_0x3b3d62(0x565)])('div',{'className':_0x3b3d62(0x228),'children':[(0x0,r[_0x3b3d62(0x565)])(_0x3b3d62(0x73f),{'ref':_0x23541a,'aria-hidden':!0x0,'className':_0x3b3d62(0x3c2),'children':[_0x27e949[_0x3b3d62(0xe3)]('=')&&(0x0,r[_0x3b3d62(0x6c7)])(_0x3b3d62(0x733),{'style':{'color':_0x360c20[_0x3b3d62(0x1d2)]},'children':'='}),_0x129280['map'](_0xd5e1a1=>(0x0,r[_0x3b3d62(0x6c7)])('span',{'style':{'color':_0xd5e1a1[_0x3b3d62(0x591)]},'children':_0xd5e1a1[_0x3b3d62(0x39b)]},_0xd5e1a1[_0x3b3d62(0x78e)]+'-'+_0xd5e1a1[_0x3b3d62(0x1bf)]))]}),(0x0,r[_0x3b3d62(0x6c7)])(e[_0x3b3d62(0x6f5)],{'ref':_0x118cb0,'value':_0x27e949,'autoFocus':!0x0,'spellCheck':!0x1,'className':_0x3b3d62(0xf9),'style':{'caretColor':_0x360c20[_0x3b3d62(0x1d2)]},'onValueChange':_0x1b3395=>{_0x4ea355(''),_0x42d6c4(_0x1b3395),requestAnimationFrame(()=>{const _0xc0f336=_0x38c7;let _0x13de0f=_0x118cb0[_0xc0f336(0x1b2)];_0x13de0f&&_0x5b93f3({'start':_0x13de0f['selectionStart'],'end':_0x13de0f[_0xc0f336(0x380)]});});},'onSelect':_0x1f6926,'onClick':_0x1f6926,'onKeyUp':_0x1f6926,'onScroll':_0x351888=>{const _0x2f5522=_0x3b3d62;_0x23541a['current']&&(_0x23541a[_0x2f5522(0x1b2)][_0x2f5522(0x2dc)]=_0x351888['currentTarget'][_0x2f5522(0x2dc)],_0x23541a[_0x2f5522(0x1b2)][_0x2f5522(0x41e)]=_0x351888[_0x2f5522(0x305)][_0x2f5522(0x41e)]);},'placeholder':_0x36c54f['t']('shape-editor-ui.formulaBinding.formulaPlaceholder')}),_0x1147aa[_0x3b3d62(0x6e2)]>0x0&&(0x0,r['jsx'])(_0x3b3d62(0x73f),{'className':_0x3b3d62(0x55b),'children':_0x1147aa['map'](_0x193d1a=>(0x0,r[_0x3b3d62(0x565)])(_0x3b3d62(0x4c8),{'type':_0x3b3d62(0x4c8),'className':_0x3b3d62(0x714),'onClick':()=>{const _0x16febf=_0x3b3d62;_0x42d6c4(''+_0x27e949[_0x16febf(0x209)](0x0,-_0x56c6f5[_0x16febf(0x6e2)])+_0x193d1a['name']+'(');},'children':[(0x0,r[_0x3b3d62(0x6c7)])(_0x3b3d62(0x733),{'className':_0x3b3d62(0x217),'children':_0x193d1a[_0x3b3d62(0x6a8)]}),(0x0,r[_0x3b3d62(0x6c7)])(_0x3b3d62(0x733),{'className':'univer-ml-2\x20univer-truncate\x20univer-text-gray-500','children':_0x193d1a['desc']})]},_0x193d1a[_0x3b3d62(0x6a8)]))})]}),_0x574326&&(0x0,r[_0x3b3d62(0x6c7)])(_0x3b3d62(0x73f),{'role':'alert','className':_0x3b3d62(0x7ca),'children':_0x574326}),(0x0,r['jsx'])(_0x3b3d62(0x73f),{'ref':_0x39b17c,'className':_0x3b3d62(0x7bc)})]})]})}),_0xd7e263&&(0x0,r[_0x3b3d62(0x6c7)])(tt,{'open':!0x0,'pattern':_0x234d26,'onClose':()=>_0x497f81(!0x1),'onConfirm':_0x5be5f9=>{_0x544b55(_0x5be5f9),_0x497f81(!0x1);}})]});}function rt(_0x302bc1,_0x3b2355,_0x27bf12){const _0x1341b9=_0xdb1731;let _0x3fb4f8=[],_0x40c6e2=0x0;for(let _0x434154 of _0x3b2355){var _0x39e49a;_0x434154['st']>_0x40c6e2&&_0x3fb4f8[_0x1341b9(0x37a)]({'start':_0x40c6e2,'end':_0x434154['st'],'text':_0x302bc1[_0x1341b9(0x209)](_0x40c6e2,_0x434154['st']),'color':_0x27bf12}),_0x3fb4f8[_0x1341b9(0x37a)]({'start':_0x434154['st'],'end':_0x434154['ed'],'text':_0x302bc1[_0x1341b9(0x209)](_0x434154['st'],_0x434154['ed']),'color':((_0x39e49a=_0x434154['ts'])==null||(_0x39e49a=_0x39e49a['cl'])==null?void 0x0:_0x39e49a[_0x1341b9(0x6d8)])??_0x27bf12}),_0x40c6e2=_0x434154['ed'];}return _0x40c6e2<_0x302bc1[_0x1341b9(0x6e2)]&&_0x3fb4f8[_0x1341b9(0x37a)]({'start':_0x40c6e2,'end':_0x302bc1[_0x1341b9(0x6e2)],'text':_0x302bc1[_0x1341b9(0x209)](_0x40c6e2),'color':_0x27bf12}),_0x3fb4f8;}function it(_0x35bd3a){const _0x415dbb=_0xdb1731;return _0x35bd3a instanceof HTMLElement&&_0x35bd3a[_0x415dbb(0x70b)]('input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select')!==null;}function Q(_0x1fc396){const _0x15020d=_0xdb1731;it(_0x1fc396[_0x15020d(0x5a0)])||_0x1fc396[_0x15020d(0x1c6)]();}function $(_0x22eeb7){const _0x3ad63d=_0xdb1731;_0x22eeb7[_0x3ad63d(0x3dd)](),Q(_0x22eeb7);}function at(_0x2c4d07){const _0xd793ae=_0xdb1731;let {children:_0x2c8180,className:_0x4d41f4}=_0x2c4d07;return(0x0,r[_0xd793ae(0x6c7)])(_0xd793ae(0x733),{'className':(0x0,e['clsx'])(_0xd793ae(0x754),_0x4d41f4),'children':_0x2c8180});}function ot(_0x262cf3){const _0x5cb2fe=_0xdb1731;let {children:_0x1669ef,className:_0x1a2593,maxWidthClassName:_0x4cf59c,onMouseDown:_0x5e375d}=_0x262cf3;return(0x0,r[_0x5cb2fe(0x6c7)])(_0x5cb2fe(0x73f),{'onMouseDown':_0xc0d5c=>{const _0x4e645c=_0x5cb2fe;if(_0x5e375d){_0x5e375d(_0xc0d5c);return;}_0xc0d5c[_0x4e645c(0x3dd)](),it(_0xc0d5c[_0x4e645c(0x5a0)])||_0xc0d5c[_0x4e645c(0x1c6)]();},'className':(0x0,e[_0x5cb2fe(0x221)])(_0x5cb2fe(0x3ea),e[_0x5cb2fe(0x16d)],_0x4cf59c??_0x5cb2fe(0x419),_0x1a2593),'children':_0x1669ef});}function st(_0x4ce261){const _0x287f2f=_0xdb1731;let {title:_0xc24308,active:_0x32e3c2,disabled:_0x5d4531,children:_0x53609f,className:_0x1f17fe,sizeClassName:_0x594334,tooltipVisible:_0x2cf0ad,ariaExpanded:_0x287bdb,onClick:_0x139c13,onMouseDown:_0xc36b2b,onPointerDown:_0x3c6e7b}=_0x4ce261,_0x461dac=_0xc24308??'';return(0x0,r[_0x287f2f(0x6c7)])(e['Tooltip'],{'title':_0x461dac,'placement':'bottom','visible':_0x2cf0ad,'children':(0x0,r[_0x287f2f(0x6c7)])('button',{'type':'button','aria-label':_0x461dac,'aria-expanded':_0x287bdb,'disabled':_0x5d4531,'onClick':_0x139c13,'onMouseDown':_0xc36b2b,'onPointerDown':_0x3c6e7b,'className':(0x0,e[_0x287f2f(0x221)])('univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-xl\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',_0x594334??_0x287f2f(0x1e3),_0x1f17fe,{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x32e3c2}),'children':_0x53609f})});}function ct(_0x5ee50d){const _0x5b80b0=_0xdb1731;let {title:_0xb72bb,icon:_0x47868b,active:_0x53f5a3,className:_0x4cb05f,sizeClassName:_0x1ef1c9,onMouseDown:_0x3f2ec7,onPointerDown:_0x4c4c4a}=_0x5ee50d;return(0x0,r[_0x5b80b0(0x565)])(st,{'title':_0xb72bb,'active':_0x53f5a3,'tooltipVisible':!_0x53f5a3&&void 0x0,'ariaExpanded':_0x53f5a3,'className':_0x4cb05f,'sizeClassName':_0x1ef1c9??_0x5b80b0(0x51d),'onMouseDown':_0x3f2ec7,'onPointerDown':_0x4c4c4a,'children':[_0x47868b,(0x0,r[_0x5b80b0(0x6c7)])(t['MoreDownIcon'],{'className':_0x5b80b0(0x6b2)})]});}function lt(_0x455956){const _0x41e35a=_0xdb1731;let {value:_0x2db5cb,className:_0x20ec7d,onChange:_0x49b9e6,onAfterChange:_0x9ac7eb}=_0x455956,_0x18ec64=s['FONT_SIZE_LIST']['map'](_0x32e86b=>({'label':_0x32e86b['label'],'value':String(_0x32e86b['value'])}));return(0x0,r[_0x41e35a(0x6c7)])(e[_0x41e35a(0x460)],{'className':(0x0,e[_0x41e35a(0x221)])(_0x41e35a(0xe2),_0x20ec7d),'value':String(_0x2db5cb),'options':_0x18ec64,'onChange':_0xf496c6=>{const _0x953913=_0x41e35a;let _0x518ad7=Number(_0xf496c6);Number[_0x953913(0x4ab)](_0x518ad7)||_0x49b9e6(_0x518ad7),_0x9ac7eb==null||_0x9ac7eb();}});}function ut(_0x4fb78f){const _0xf3d22b=_0xdb1731;var _0x5e3de4,_0x45620e;let {hostType:_0x42e125,shapeId:_0x4fc450,subUnitId:_0x20b7bb,unitId:_0x5ba5c2}=_0x4fb78f,_0x54f2ab=_0x5ba5c2+'\x00'+_0x20b7bb+'\x00'+_0x4fc450,_0x2eae4f=(_0x5e3de4=_0x4fb78f[_0xf3d22b(0x1de)])==null?void 0x0:_0x5e3de4['formulaBinding'],_0x482246=(0x0,s[_0xf3d22b(0x14e)])(o[_0xf3d22b(0x773)]),_0x21a382=(0x0,s[_0xf3d22b(0x14e)])(o[_0xf3d22b(0x432)]),_0x350272=(0x0,s[_0xf3d22b(0x14e)])(a[_0xf3d22b(0x2e4)]),[_0x4547b5,_0x267249]=(0x0,n['useState'])(),[_0xfdc772,_0x5a5f63]=(0x0,n[_0xf3d22b(0x48e)])(),[_0x34ca9f,_0x573810]=(0x0,n[_0xf3d22b(0x48e)])(),_0x6c78d2=_0x54f2ab+'\x00'+((_0x2eae4f==null?void 0x0:_0x2eae4f[_0xf3d22b(0x3d5)])!==!0x1),[_0xe7fbd4,_0x2cc367]=(0x0,n[_0xf3d22b(0x48e)])({'enabled':(_0x2eae4f==null?void 0x0:_0x2eae4f[_0xf3d22b(0x3d5)])!==!0x1,'key':_0x6c78d2}),_0x5b9379=_0xe7fbd4[_0xf3d22b(0x65e)]===_0x6c78d2?_0xe7fbd4[_0xf3d22b(0x336)]:(_0x2eae4f==null?void 0x0:_0x2eae4f[_0xf3d22b(0x3d5)])!==!0x1,_0x2a2c15=_0x4547b5===_0x54f2ab,_0x5dff05=_0xfdc772===_0x54f2ab,_0x2c327c=_0x34ca9f===_0x54f2ab;if((0x0,n[_0xf3d22b(0x310)])(()=>{const _0x3042fd=_0xf3d22b;let _0x222a60={'hostType':_0x42e125,'shapeId':_0x4fc450,'subUnitId':_0x20b7bb,'unitId':_0x5ba5c2};_0x2eae4f?_0x350272[_0x3042fd(0x1b3)](_0x222a60,_0x2eae4f):_0x350272[_0x3042fd(0x191)](_0x222a60);},[_0x2eae4f,_0x42e125,_0x350272,_0x4fc450,_0x20b7bb,_0x5ba5c2]),!_0x2eae4f)return{'panel':null};let _0x2c142c=_0x5598d2=>{const _0x20a530=_0xf3d22b;_0x4fb78f[_0x20a530(0x7ba)]({..._0x2eae4f,'numberFormat':{'pattern':_0x5598d2}}),_0x5a5f63(void 0x0),_0x573810(void 0x0);};return{'extensionGroups':[{'key':_0xf3d22b(0x302),'actions':[{'key':'formula-shape-fx','label':_0x21a382['t'](_0xf3d22b(0x32e)),'icon':(0x0,r['jsx'])(t[_0xf3d22b(0x6e6)],{}),'onClick':()=>_0x267249(_0x54f2ab)},{'key':_0xf3d22b(0x724),'label':_0x21a382['t'](_0xf3d22b(0x770)),'icon':(0x0,r[_0xf3d22b(0x6c7)])(t[_0xf3d22b(0x5b0)],{}),'render':(0x0,r[_0xf3d22b(0x6c7)])(e[_0xf3d22b(0x462)],{'open':_0x5dff05,'onOpenChange':_0x1adba2=>{_0x5a5f63(_0x1adba2?_0x54f2ab:void 0x0);},'overlay':(0x0,r['jsx'])(Ge,{'onSelect':_0x2c142c,'onMore':()=>{_0x5a5f63(void 0x0),_0x573810(_0x54f2ab);}}),'children':(0x0,r[_0xf3d22b(0x6c7)])(_0xf3d22b(0x733),{'children':(0x0,r[_0xf3d22b(0x6c7)])(ct,{'title':_0x21a382['t'](_0xf3d22b(0x770)),'icon':(0x0,r[_0xf3d22b(0x6c7)])(t[_0xf3d22b(0x5b0)],{}),'active':_0x5dff05})})})}]}],'panel':(0x0,r['jsxs'])(r['Fragment'],{'children':[_0x2a2c15&&(0x0,r[_0xf3d22b(0x6c7)])(nt,{'open':!0x0,'host':{'unitId':_0x5ba5c2,'subUnitId':_0x20b7bb},'value':{'formula':_0x2eae4f[_0xf3d22b(0x473)],'numberFormat':_0x2eae4f[_0xf3d22b(0x102)]},'footerLeading':(0x0,r[_0xf3d22b(0x565)])(_0xf3d22b(0x60e),{'className':_0xf3d22b(0x5f2),'children':[(0x0,r['jsx'])(e[_0xf3d22b(0x25d)],{'defaultChecked':_0x5b9379,'onChange':_0x1b9b90=>_0x2cc367({'enabled':_0x1b9b90,'key':_0x6c78d2})},_0x54f2ab),(0x0,r['jsx'])('span',{'children':_0x21a382['t']('shape-editor-ui.formulaShape.animation')})]}),'onClose':()=>_0x267249(void 0x0),'onConfirm':_0x30fa21=>{const _0x5cdc1e=_0xf3d22b;_0x482246[_0x5cdc1e(0x280)](d[_0x5cdc1e(0x47d)]['id'],{'unitId':_0x5ba5c2,'references':_0x30fa21[_0x5cdc1e(0x4e8)]})&&(_0x4fb78f['onUpdateBinding']({..._0x2eae4f,'formula':_0x30fa21['formula'],'numberFormat':_0x30fa21[_0x5cdc1e(0x102)],'animationEnabled':_0x5b9379}),_0x267249(void 0x0));}},_0x54f2ab),_0x2c327c&&(0x0,r[_0xf3d22b(0x6c7)])(tt,{'open':!0x0,'pattern':((_0x45620e=_0x2eae4f[_0xf3d22b(0x102)])==null?void 0x0:_0x45620e[_0xf3d22b(0x3ee)])??o['DEFAULT_NUMBER_FORMAT'],'onClose':()=>_0x573810(void 0x0),'onConfirm':_0x2c142c},_0x54f2ab)]})};}function dt(_0x41bee0){const _0x509969=_0xdb1731;var _0x1f5789,_0x45acfb,_0x29652e,_0xcb08ba,_0x9fa106;let {shapeData:_0x296ec9,disableShapeOption:_0x3b4f43,onUpdateShapeData:_0x443698,onUpdateShapeFillImage:_0x25c4bc}=_0x41bee0,_0x14cabd=(0x0,s[_0x509969(0x14e)])(o['LocaleService']),_0x289519=(0x0,s[_0x509969(0x14e)])(o[_0x509969(0x738)]),_0x4b0d6f=(0x0,s[_0x509969(0x14e)])(o[_0x509969(0x56e)]),_0x5ed465=(0x0,n[_0x509969(0x5d5)])(null),_0x3ac7c4=_0x296ec9['fill'],_0x32ad20=!!(_0x3ac7c4!=null&&_0x3ac7c4[_0x509969(0x642)]),[_0x5b3aba,_0x5dcf73]=(0x0,n[_0x509969(0x48e)])((_0x3ac7c4==null?void 0x0:_0x3ac7c4[_0x509969(0x1c7)])??0x1),[_0x31c74a,_0x2e044e]=(0x0,n[_0x509969(0x48e)])((_0x3ac7c4==null?void 0x0:_0x3ac7c4['imageFillMode'])??S[_0x509969(0x13d)]['Stretch']),[_0x133ec8,_0x146e8e]=(0x0,n[_0x509969(0x48e)])((_0x3ac7c4==null?void 0x0:_0x3ac7c4['imageRotateWithShape'])??!0x1),[_0x5076e7,_0x26fd4d]=(0x0,n['useState'])((_0x3ac7c4==null||(_0x1f5789=_0x3ac7c4[_0x509969(0x5bf)])==null?void 0x0:_0x1f5789['offsetX'])??0x0),[_0x2215ca,_0x390b27]=(0x0,n[_0x509969(0x48e)])((_0x3ac7c4==null||(_0x45acfb=_0x3ac7c4[_0x509969(0x5bf)])==null?void 0x0:_0x45acfb[_0x509969(0x6ac)])??0x0),[_0xd91754,_0x3d0e0b]=(0x0,n['useState'])((_0x3ac7c4==null||(_0x29652e=_0x3ac7c4[_0x509969(0x5bf)])==null?void 0x0:_0x29652e[_0x509969(0x2f7)])??0x1),[_0x124174,_0x5781cb]=(0x0,n[_0x509969(0x48e)])((_0x3ac7c4==null||(_0xcb08ba=_0x3ac7c4[_0x509969(0x5bf)])==null?void 0x0:_0xcb08ba[_0x509969(0x135)])??0x1),[_0x1883de,_0x5ebd49]=(0x0,n[_0x509969(0x48e)])((_0x3ac7c4==null||(_0x9fa106=_0x3ac7c4['imageTile'])==null?void 0x0:_0x9fa106['alignment'])??'tl'),_0x56d669=_0x31c74a===S[_0x509969(0x13d)]['Tile'],_0x477bf0=Math[_0x509969(0x573)]((0x1-_0x5b3aba)*0x64),_0x4d5ee2=Math[_0x509969(0x573)](_0xd91754*0x64),_0x2e67ed=Math[_0x509969(0x573)](_0x124174*0x64),_0x2b92fa=[{'label':_0x14cabd['t'](_0x509969(0x3fc)),'value':'tl'},{'label':_0x14cabd['t'](_0x509969(0x5d1)),'value':'t'},{'label':_0x14cabd['t']('shape-editor-ui.fill.picture.align.tr'),'value':'tr'},{'label':_0x14cabd['t'](_0x509969(0x21d)),'value':'l'},{'label':_0x14cabd['t'](_0x509969(0x451)),'value':_0x509969(0x693)},{'label':_0x14cabd['t']('shape-editor-ui.fill.picture.align.r'),'value':'r'},{'label':_0x14cabd['t'](_0x509969(0x5a5)),'value':'bl'},{'label':_0x14cabd['t']('shape-editor-ui.fill.picture.align.b'),'value':'b'},{'label':_0x14cabd['t']('shape-editor-ui.fill.picture.align.br'),'value':'br'}],_0x5afac5=_0xeae461=>{_0x443698({'oldShapeData':{'fill':_0x3ac7c4?{..._0x3ac7c4}:void 0x0}},{'fill':{..._0x3ac7c4,..._0xeae461}});},_0x295ca1=_0x1d50a3=>{_0x5afac5({'imageTile':{..._0x3ac7c4==null?void 0x0:_0x3ac7c4['imageTile'],..._0x1d50a3}});},_0x1433a1=()=>{const _0x58a3f4=_0x509969;var _0x462779;return(_0x462779=_0x5ed465[_0x58a3f4(0x1b2)])==null?void 0x0:_0x462779[_0x58a3f4(0x331)]();},_0x414be0=async _0x1e362d=>{const _0x3905f3=_0x509969;var _0x197b1c;let _0x259d0f=(_0x197b1c=_0x1e362d[_0x3905f3(0x5a0)][_0x3905f3(0x277)])==null?void 0x0:_0x197b1c[0x0];if(!_0x259d0f)return;_0x1e362d['target'][_0x3905f3(0x7e2)]='';let _0x3bdeff=await _0x4b0d6f[_0x3905f3(0x262)](_0x259d0f);if(_0x3bdeff==null)return;let {imageSourceType:_0x274edf,source:_0x1378e6,base64Cache:_0x46a630}=_0x3bdeff,{image:_0x4bb262}=await(0x0,x['getImageSize'])(_0x46a630||'');_0x4b0d6f[_0x3905f3(0x4e0)](_0x1378e6,_0x274edf,_0x4bb262),_0x443698({'oldShapeData':{'fill':_0x3ac7c4?{..._0x3ac7c4}:void 0x0}},{'fill':{..._0x3ac7c4,'fillType':S['ShapeFillEnum'][_0x3905f3(0x10f)],'fillImageSource':_0x1378e6,'fillImageSourceType':_0x274edf}}),_0x25c4bc==null||_0x25c4bc(_0x4bb262);},_0x8664c3=_0x509969(0xcc),_0x58de2a=_0x509969(0xdd);return(0x0,r[_0x509969(0x565)])(_0x509969(0x73f),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','children':[(0x0,r[_0x509969(0x565)])('div',{'className':_0x509969(0x4a1),'children':[(0x0,r[_0x509969(0x6c7)])(_0x509969(0x733),{'className':_0x8664c3,'children':_0x14cabd['t']('shape-editor-ui.fill.picture.source')}),(0x0,r['jsxs'])('div',{'className':_0x509969(0x210),'children':[(0x0,r[_0x509969(0x6c7)])(_0x509969(0x61f),{'ref':_0x5ed465,'type':_0x509969(0x5b2),'accept':'image/*','className':_0x509969(0x2bc),'onChange':_0x414be0}),(0x0,r['jsxs'])('div',{'className':_0x509969(0x4e3),'children':[(0x0,r[_0x509969(0x6c7)])('button',{'type':'button','disabled':_0x3b4f43,'className':(0x0,e[_0x509969(0x221)])(e[_0x509969(0x16d)],'univer-rounded\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:hover:!univer-bg-gray-700'),'onClick':_0x1433a1,'children':(0x0,r['jsxs'])('span',{'children':[_0x14cabd['t'](_0x509969(0x7b8)),'\x20']})}),_0x32ad20&&(0x0,r['jsx'])('div',{'className':(0x0,e[_0x509969(0x221)])(e['borderClassName'],_0x509969(0x4c0)),'children':(0x0,r['jsx'])(_0x509969(0x61b),{'src':_0x3ac7c4==null?void 0x0:_0x3ac7c4['fillImageSource'],'alt':'','className':_0x509969(0x1d6)})})]})]})]}),(0x0,r[_0x509969(0x565)])('div',{'className':_0x58de2a,'children':[(0x0,r['jsx'])('span',{'className':_0x8664c3,'children':_0x14cabd['t'](_0x509969(0x26d))}),(0x0,r[_0x509969(0x6c7)])('div',{'className':'univer-w-20','children':(0x0,r[_0x509969(0x6c7)])(e[_0x509969(0x663)],{'className':_0x509969(0x2ac),'value':_0x477bf0,'disabled':_0x3b4f43,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x527c89=>_0x527c89+'%','parser':_0x39fcf4=>(_0x39fcf4==null?void 0x0:_0x39fcf4[_0x509969(0x496)]('%',''))||'','onChange':_0x259fea=>{const _0x3b0d2e=_0x509969;let _0x3bb1fd=(0x64-Math[_0x3b0d2e(0x292)](0x0,Math[_0x3b0d2e(0x3a3)](0x64,_0x259fea??0x0)))/0x64;_0x5dcf73(_0x3bb1fd),_0x5afac5({'imageOpacity':_0x3bb1fd}),_0x289519[_0x3b0d2e(0x376)](o[_0x3b0d2e(0x400)],!0x1);},'onFocus':()=>_0x289519[_0x509969(0x376)](o[_0x509969(0x400)],!0x0),'onBlur':()=>_0x289519[_0x509969(0x376)](o[_0x509969(0x400)],!0x1)})})]}),(0x0,r[_0x509969(0x6c7)])(e['Checkbox'],{'checked':_0x56d669,'disabled':_0x3b4f43,'onChange':_0x459cc6=>{const _0x2fd4d5=_0x509969;let _0x5285a4=_0x459cc6?S['ImageFillModeEnum'][_0x2fd4d5(0x393)]:S[_0x2fd4d5(0x13d)][_0x2fd4d5(0x5eb)];_0x2e044e(_0x5285a4),_0x5afac5({'imageFillMode':_0x5285a4});},'children':(0x0,r[_0x509969(0x6c7)])(_0x509969(0x733),{'className':_0x509969(0x550),'children':_0x14cabd['t'](_0x509969(0x349))})}),_0x56d669&&(0x0,r[_0x509969(0x565)])(_0x509969(0x73f),{'className':_0x509969(0x5ab),'children':[(0x0,r[_0x509969(0x565)])(_0x509969(0x73f),{'className':_0x58de2a,'children':[(0x0,r[_0x509969(0x6c7)])(_0x509969(0x733),{'className':_0x8664c3,'children':_0x14cabd['t'](_0x509969(0x589))}),(0x0,r[_0x509969(0x6c7)])('div',{'className':_0x509969(0x6f0),'children':(0x0,r[_0x509969(0x6c7)])(e[_0x509969(0x663)],{'className':_0x509969(0x2ac),'value':_0x5076e7,'disabled':_0x3b4f43,'step':0x1,'onChange':_0x16401f=>{_0x295ca1({'offsetX':_0x16401f??0x0}),_0x26fd4d(_0x16401f??0x0);},'onFocus':()=>_0x289519['setContextValue'](o[_0x509969(0x400)],!0x0),'onBlur':()=>_0x289519[_0x509969(0x376)](o[_0x509969(0x400)],!0x1)})})]}),(0x0,r['jsxs'])(_0x509969(0x73f),{'className':_0x58de2a,'children':[(0x0,r[_0x509969(0x6c7)])(_0x509969(0x733),{'className':_0x8664c3,'children':_0x14cabd['t']('shape-editor-ui.fill.picture.offsetY')}),(0x0,r[_0x509969(0x6c7)])(_0x509969(0x73f),{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0x509969(0x663)],{'className':_0x509969(0x2ac),'value':_0x2215ca,'disabled':_0x3b4f43,'step':0x1,'onChange':_0x2f085d=>{_0x295ca1({'offsetY':_0x2f085d??0x0}),_0x390b27(_0x2f085d??0x0);},'onFocus':()=>_0x289519[_0x509969(0x376)](o[_0x509969(0x400)],!0x0),'onBlur':()=>_0x289519['setContextValue'](o[_0x509969(0x400)],!0x1)})})]}),(0x0,r[_0x509969(0x565)])(_0x509969(0x73f),{'className':_0x58de2a,'children':[(0x0,r[_0x509969(0x6c7)])(_0x509969(0x733),{'className':_0x8664c3,'children':_0x14cabd['t'](_0x509969(0x164))}),(0x0,r['jsx'])(_0x509969(0x73f),{'className':_0x509969(0x6f0),'children':(0x0,r[_0x509969(0x6c7)])(e[_0x509969(0x663)],{'className':_0x509969(0x2ac),'value':_0x4d5ee2,'disabled':_0x3b4f43,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x46a780=>_0x46a780+'%','parser':_0x2178f7=>(_0x2178f7==null?void 0x0:_0x2178f7[_0x509969(0x496)]('%',''))||'','onChange':_0x1592a6=>{const _0x4eed2c=_0x509969;let _0x53aa84=Math[_0x4eed2c(0x292)](0.01,(_0x1592a6??0x64)/0x64);_0x3d0e0b(_0x53aa84),_0x295ca1({'scaleX':_0x53aa84}),_0x289519[_0x4eed2c(0x376)](o[_0x4eed2c(0x400)],!0x1);},'onFocus':()=>_0x289519[_0x509969(0x376)](o[_0x509969(0x400)],!0x0),'onBlur':()=>_0x289519[_0x509969(0x376)](o[_0x509969(0x400)],!0x1)})})]}),(0x0,r[_0x509969(0x565)])(_0x509969(0x73f),{'className':_0x58de2a,'children':[(0x0,r[_0x509969(0x6c7)])('span',{'className':_0x8664c3,'children':_0x14cabd['t']('shape-editor-ui.fill.picture.scaleY')}),(0x0,r[_0x509969(0x6c7)])(_0x509969(0x73f),{'className':_0x509969(0x6f0),'children':(0x0,r[_0x509969(0x6c7)])(e[_0x509969(0x663)],{'className':_0x509969(0x2ac),'value':_0x2e67ed,'disabled':_0x3b4f43,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x4191b2=>_0x4191b2+'%','parser':_0x37bec3=>(_0x37bec3==null?void 0x0:_0x37bec3['replace']('%',''))||'','onChange':_0x2bbe3c=>{const _0x486406=_0x509969;let _0x599757=Math[_0x486406(0x292)](0.01,(_0x2bbe3c??0x64)/0x64);_0x5781cb(_0x599757),_0x295ca1({'scaleY':_0x599757}),_0x289519['setContextValue'](o[_0x486406(0x400)],!0x1);},'onFocus':()=>_0x289519[_0x509969(0x376)](o[_0x509969(0x400)],!0x0),'onBlur':()=>_0x289519['setContextValue'](o[_0x509969(0x400)],!0x1)})})]}),(0x0,r[_0x509969(0x565)])('div',{'className':_0x58de2a,'children':[(0x0,r[_0x509969(0x6c7)])('span',{'className':_0x8664c3,'children':_0x14cabd['t']('shape-editor-ui.fill.picture.alignment')}),(0x0,r[_0x509969(0x6c7)])(_0x509969(0x73f),{'className':_0x509969(0x4f9),'children':(0x0,r[_0x509969(0x6c7)])(e[_0x509969(0x460)],{'className':_0x509969(0x2ac),'value':_0x1883de,'options':_0x2b92fa,'disabled':_0x3b4f43,'onChange':_0x415b4d=>{_0x5ebd49(_0x415b4d),_0x295ca1({'alignment':_0x415b4d});}})})]})]}),(0x0,r['jsx'])(e['Checkbox'],{'checked':_0x133ec8,'disabled':_0x3b4f43,'onChange':_0x2b7271=>{_0x146e8e(_0x2b7271),_0x5afac5({'imageRotateWithShape':_0x2b7271});},'children':(0x0,r[_0x509969(0x6c7)])(_0x509969(0x733),{'className':_0x509969(0x550),'children':_0x14cabd['t'](_0x509969(0x76f))})})]});}function ft(_0x4b16a8){const _0x43186d=_0xdb1731;var _0x435ffd;return((_0x435ffd=_0x4b16a8['fill'])==null?void 0x0:_0x435ffd['fillType'])??S[_0x43186d(0x30c)][_0x43186d(0x13e)];}function pt(_0x37d47d){const _0x2e0256=_0xdb1731;var _0x1ffbea,_0x7b9774;let _0x4632fb=(0x0,s['useDependency'])(o[_0x2e0256(0x432)]),_0x3f8755=(0x0,s[_0x2e0256(0x14e)])(o[_0x2e0256(0x738)]),{shapeData:_0x6876fb,isLineShape:_0x211d9a,shapeId:_0x5b12bf,disableShapeOption:_0x3a8908,onUpdateShapeData:_0x59b288,onUpdateShapeFillImage:_0x605ac4}=_0x37d47d,[_0xe734c3,_0x4ed284]=(0x0,n[_0x2e0256(0x48e)])(()=>ft(_0x6876fb)),[_0x52c9b3,_0x19bc09]=(0x0,n[_0x2e0256(0x48e)])(((_0x1ffbea=_0x6876fb['fill'])==null?void 0x0:_0x1ffbea[_0x2e0256(0x591)])??S[_0x2e0256(0x30c)][_0x2e0256(0x620)]),[_0x79ddfe,_0x535bf3]=(0x0,n[_0x2e0256(0x48e)])(((_0x7b9774=_0x6876fb[_0x2e0256(0x620)])==null?void 0x0:_0x7b9774[_0x2e0256(0x6c0)])??S['ShapeDefaultConfig'][_0x2e0256(0x12f)]),[_0x18eec2,_0x1a0d9d]=(0x0,n[_0x2e0256(0x48e)])(!0x1);if(_0x211d9a)return null;let _0x3ccc0d=0x64-_0x79ddfe*0x64;return(0x0,r['jsxs'])('div',{'className':_0x2e0256(0x4ae),'children':[(0x0,r['jsxs'])(e[_0x2e0256(0x54c)],{'value':_0xe734c3,'disabled':_0x3a8908,'onChange':_0x294cbc=>{const _0x20191a=_0x2e0256;var _0x41d83a;_0x59b288({'oldShapeData':{'fill':{'fillType':(_0x41d83a=_0x6876fb[_0x20191a(0x620)])==null?void 0x0:_0x41d83a[_0x20191a(0x13e)]}}},{'fill':{'fillType':_0x294cbc}}),_0x4ed284(_0x294cbc);},'direction':_0x2e0256(0x67b),'children':[(0x0,r['jsx'])(e[_0x2e0256(0x198)],{'value':S['ShapeFillEnum'][_0x2e0256(0x36e)],'children':(0x0,r['jsx'])('span',{'className':_0x2e0256(0x550),'children':_0x4632fb['t'](_0x2e0256(0x622))})}),(0x0,r[_0x2e0256(0x6c7)])(e[_0x2e0256(0x198)],{'value':S[_0x2e0256(0x3ff)][_0x2e0256(0x732)],'children':(0x0,r[_0x2e0256(0x6c7)])(_0x2e0256(0x733),{'className':'univer-text-sm','children':_0x4632fb['t']('shape-editor-ui.fill.solidFill')})}),(0x0,r[_0x2e0256(0x6c7)])(e[_0x2e0256(0x198)],{'value':S[_0x2e0256(0x3ff)][_0x2e0256(0x75a)],'children':(0x0,r[_0x2e0256(0x6c7)])(_0x2e0256(0x733),{'className':_0x2e0256(0x550),'children':_0x4632fb['t'](_0x2e0256(0x10c))})}),(0x0,r[_0x2e0256(0x6c7)])(e[_0x2e0256(0x198)],{'value':S[_0x2e0256(0x3ff)][_0x2e0256(0x10f)],'children':(0x0,r[_0x2e0256(0x6c7)])(_0x2e0256(0x733),{'className':_0x2e0256(0x550),'children':_0x4632fb['t'](_0x2e0256(0x605))})})]}),_0xe734c3===S[_0x2e0256(0x3ff)][_0x2e0256(0x732)]&&(0x0,r[_0x2e0256(0x565)])('div',{'className':_0x2e0256(0x511),'children':[(0x0,r['jsxs'])(_0x2e0256(0x73f),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x2e0256(0x733),{'className':_0x2e0256(0x799),'children':_0x4632fb['t'](_0x2e0256(0x55f))}),(0x0,r['jsx'])(e[_0x2e0256(0x462)],{'disabled':_0x3a8908,'overlay':(0x0,r[_0x2e0256(0x6c7)])(_0x2e0256(0x73f),{'className':_0x2e0256(0x178),'children':(0x0,r['jsx'])(e['ColorPicker'],{'value':_0x52c9b3,'onChange':_0x459f05=>{const _0x3dd80c=_0x2e0256;var _0x466b14;_0x59b288({'oldShapeData':{'fill':{'color':(_0x466b14=_0x6876fb[_0x3dd80c(0x620)])==null?void 0x0:_0x466b14['color']}}},{'fill':{'color':_0x459f05}}),_0x19bc09(_0x459f05),_0x1a0d9d(!0x1);}})}),'open':_0x18eec2,'onOpenChange':_0x1a0d9d,'children':(0x0,r[_0x2e0256(0x565)])('a',{'className':_0x2e0256(0x306),'children':[(0x0,r['jsx'])(t[_0x2e0256(0x3da)],{'className':_0x2e0256(0x27b),'extend':{'colorChannel1':_0x52c9b3}}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x2e0256(0x221)])(_0x2e0256(0x2f9),{'univer-rotate-180':_0x18eec2})})]})})]}),(0x0,r['jsxs'])('div',{'className':_0x2e0256(0xdd),'children':[(0x0,r[_0x2e0256(0x6c7)])(_0x2e0256(0x733),{'className':_0x2e0256(0xcc),'children':_0x4632fb['t'](_0x2e0256(0x26d))}),(0x0,r['jsx'])(_0x2e0256(0x73f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':(0x0,r[_0x2e0256(0x6c7)])(_0x2e0256(0x73f),{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0x2e0256(0x663)],{'className':'univer-w-full','value':_0x3ccc0d,'disabled':_0x3a8908,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5c1820=>_0x5c1820+'%','parser':_0x2273db=>(_0x2273db==null?void 0x0:_0x2273db['replace']('%',''))||'','onChange':_0x28d4bc=>{const _0x2923e7=_0x2e0256;let _0x17995e=(0x64-Math[_0x2923e7(0x292)](0x0,Math[_0x2923e7(0x3a3)](0x64,_0x28d4bc??0x0)))/0x64;_0x535bf3(_0x17995e),_0x59b288({'oldShapeData':{'fill':{..._0x6876fb[_0x2923e7(0x620)],'fillType':_0xe734c3}}},{'fill':{..._0x6876fb[_0x2923e7(0x620)],'fillType':_0xe734c3,'opacity':_0x17995e}}),_0x3f8755[_0x2923e7(0x376)](o[_0x2923e7(0x400)],!0x1);},'onFocus':()=>_0x3f8755[_0x2e0256(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x74cb97=_0x2e0256;_0x3f8755[_0x74cb97(0x376)](o[_0x74cb97(0x400)],!0x1);}})})})]})]}),_0xe734c3===S[_0x2e0256(0x3ff)][_0x2e0256(0x75a)]&&(0x0,r['jsx'])(gt,{'shapeData':_0x6876fb,'disableShapeOption':_0x3a8908,'onUpdate':_0x254d65=>{const _0x51c167=_0x2e0256;_0x59b288({'oldShapeData':{'fill':{..._0x6876fb[_0x51c167(0x620)]}}},{'fill':{..._0x6876fb[_0x51c167(0x620)],..._0x254d65}});}}),_0xe734c3===S['ShapeFillEnum'][_0x2e0256(0x10f)]&&(0x0,r['jsx'])(dt,{'shapeId':_0x5b12bf,'shapeData':_0x6876fb,'disableShapeOption':_0x3a8908,'onUpdateShapeData':_0x59b288,'onUpdateShapeFillImage':_0x605ac4})]});}function mt(_0x57ab60){const _0x11b1db=_0xdb1731;switch(_0x57ab60){case S['ShapeGradientTypeEnum'][_0x11b1db(0x2a6)]:return'linear';case S[_0x11b1db(0x17c)][_0x11b1db(0x5f7)]:return _0x11b1db(0x498);case S['ShapeGradientTypeEnum'][_0x11b1db(0x43b)]:return _0x11b1db(0x4bd);case S[_0x11b1db(0x17c)][_0x11b1db(0x736)]:return _0x11b1db(0x23c);default:return'linear';}}function ht(_0x53fcb1){const _0x4ca9c4=_0xdb1731;switch(_0x53fcb1){case'linear':return S['ShapeGradientTypeEnum']['Linear'];case'radial':return S[_0x4ca9c4(0x17c)][_0x4ca9c4(0x5f7)];case _0x4ca9c4(0x4bd):return S['ShapeGradientTypeEnum'][_0x4ca9c4(0x43b)];case'diamond':return S[_0x4ca9c4(0x17c)][_0x4ca9c4(0x736)];default:return S[_0x4ca9c4(0x17c)][_0x4ca9c4(0x2a6)];}}function gt(_0x3e9180){const _0x5d44a1=_0xdb1731;let {shapeData:_0x4d5817,disableShapeOption:_0x2bb877,onUpdate:_0x4ca52e}=_0x3e9180,_0x38b2d0=(0x0,n[_0x5d44a1(0x3b8)])(()=>{const _0x2d2321=_0x5d44a1;let _0x3c6de8=_0x4d5817[_0x2d2321(0x620)];return{'type':mt((_0x3c6de8==null?void 0x0:_0x3c6de8['gradientType'])??S['ShapeDefaultConfig'][_0x2d2321(0x12b)]),'angle':(_0x3c6de8==null?void 0x0:_0x3c6de8[_0x2d2321(0x63a)])??S['ShapeDefaultConfig'][_0x2d2321(0x63a)],'stops':_0x3c6de8!=null&&_0x3c6de8[_0x2d2321(0x11e)]&&_0x3c6de8[_0x2d2321(0x11e)]['length']>=0x2?_0x3c6de8[_0x2d2321(0x11e)]['map'](_0xda08f0=>({'color':_0xda08f0[_0x2d2321(0x591)],'offset':_0xda08f0[_0x2d2321(0x1e0)]*0x64,'opacity':_0xda08f0[_0x2d2321(0x6c0)]})):[{'color':(_0x3c6de8==null?void 0x0:_0x3c6de8[_0x2d2321(0x591)])||S['ShapeDefaultConfig'][_0x2d2321(0x620)],'offset':0x0},{'color':S[_0x2d2321(0x30c)][_0x2d2321(0x260)],'offset':0x64}]};},[_0x4d5817[_0x5d44a1(0x620)]]);return(0x0,r[_0x5d44a1(0x6c7)])(_0x5d44a1(0x73f),{'className':_0x5d44a1(0x105),'children':(0x0,r[_0x5d44a1(0x6c7)])(e[_0x5d44a1(0x7df)],{'value':_0x38b2d0,'onChange':_0x2592e4=>{const _0x4af621=_0x5d44a1;let _0x47be89=ht(_0x2592e4['type']),_0x5f1df4=_0x2592e4['angle'],_0x32ecda=_0x2592e4[_0x4af621(0x6c3)][_0x4af621(0x50f)](_0x15afe3=>({'color':_0x15afe3['color'],'position':_0x15afe3['offset']/0x64,'opacity':_0x15afe3[_0x4af621(0x6c0)]}));_0x4ca52e({'gradientType':_0x47be89,'gradientAngle':_0x5f1df4,'gradientStops':_0x32ecda});}})});}function _t(_0x13c4d1){const _0xcdcea6=_0xdb1731;var _0x31f268,_0x429c8a,_0xf2ec6b,_0x3b46f4;let _0xdd9bed=(0x0,s[_0xcdcea6(0x14e)])(o[_0xcdcea6(0x432)]),_0x333336=(0x0,s[_0xcdcea6(0x14e)])(o[_0xcdcea6(0x738)]),{shapeData:_0x27e962,isLineShape:_0x1892fa,disableShapeOption:_0x4b1b99,onUpdateShapeData:_0x98aef8,onUpdateLineShapeData:_0x4415b6}=_0x13c4d1,_0x472c81=_0x27e962[_0xcdcea6(0x45b)],[_0x4a8f6d,_0x2ae88c]=(0x0,n['useState'])((_0x472c81==null?void 0x0:_0x472c81[_0xcdcea6(0x2dd)])??S[_0xcdcea6(0x30c)]['lineType']),[_0x401d65,_0x239099]=(0x0,n['useState'])((_0x472c81==null?void 0x0:_0x472c81['color'])??S[_0xcdcea6(0x30c)][_0xcdcea6(0x45b)]),[_0x584b03,_0x12ad43]=(0x0,n[_0xcdcea6(0x48e)])((_0x472c81==null?void 0x0:_0x472c81[_0xcdcea6(0x6c0)])??S[_0xcdcea6(0x30c)]['strokeOpacity']),[_0xfeab84,_0x2b8709]=(0x0,n['useState'])((_0x472c81==null?void 0x0:_0x472c81[_0xcdcea6(0x514)])??S['ShapeDefaultConfig'][_0xcdcea6(0x552)]),[_0x4cbf45,_0x273cd5]=(0x0,n[_0xcdcea6(0x48e)])((_0x472c81==null?void 0x0:_0x472c81['cornerRadius'])??S[_0xcdcea6(0x30c)][_0xcdcea6(0x43f)]),[_0x40e996,_0x512aec]=(0x0,n['useState'])((_0x472c81==null?void 0x0:_0x472c81['dashType'])??S['ShapeDefaultConfig'][_0xcdcea6(0x21b)]),[_0x1313cf,_0x43582a]=(0x0,n[_0xcdcea6(0x48e)])((_0x472c81==null?void 0x0:_0x472c81[_0xcdcea6(0x549)])??S['ShapeDefaultConfig']['lineCapType']),[_0x4d8d03,_0x2f3950]=(0x0,n[_0xcdcea6(0x48e)])((_0x472c81==null?void 0x0:_0x472c81[_0xcdcea6(0x3bb)])??S[_0xcdcea6(0x30c)]['lineJoinType']),[_0x5a0d76,_0x5560bf]=(0x0,n[_0xcdcea6(0x48e)])((_0x472c81==null?void 0x0:_0x472c81[_0xcdcea6(0x662)])??S[_0xcdcea6(0x30c)][_0xcdcea6(0x662)]),_0x4c3c8a=_0x27e962,[_0x557ab2,_0x487ad1]=(0x0,n['useState'])(((_0x31f268=_0x4c3c8a['ln'])==null||(_0x31f268=_0x31f268[_0xcdcea6(0x170)])==null?void 0x0:_0x31f268[_0xcdcea6(0x5dd)])??S[_0xcdcea6(0x36c)][_0xcdcea6(0x423)]),[_0x5d9e2c,_0x1186b6]=(0x0,n[_0xcdcea6(0x48e)])(((_0x429c8a=_0x4c3c8a['ln'])==null||(_0x429c8a=_0x429c8a[_0xcdcea6(0x170)])==null?void 0x0:_0x429c8a[_0xcdcea6(0x52e)])??S[_0xcdcea6(0x6ba)][_0xcdcea6(0x6c1)]),[_0x44a386,_0x18e03f]=(0x0,n[_0xcdcea6(0x48e)])(((_0xf2ec6b=_0x4c3c8a['ln'])==null||(_0xf2ec6b=_0xf2ec6b[_0xcdcea6(0x677)])==null?void 0x0:_0xf2ec6b[_0xcdcea6(0x5dd)])??S['ShapeArrowTypeEnum'][_0xcdcea6(0x423)]),[_0x1cc5f5,_0x1800a3]=(0x0,n[_0xcdcea6(0x48e)])(((_0x3b46f4=_0x4c3c8a['ln'])==null||(_0x3b46f4=_0x3b46f4[_0xcdcea6(0x677)])==null?void 0x0:_0x3b46f4['size'])??S[_0xcdcea6(0x6ba)]['Medium']),[_0x1982c0,_0x599d5b]=(0x0,n[_0xcdcea6(0x48e)])(!0x1),_0x3b5903=0x64-_0x584b03*0x64,_0x4d75cc=[{'label':_0xdd9bed['t']('shape-editor-ui.line.dashType.solid'),'value':String(S['ShapeLineDashEnum'][_0xcdcea6(0x158)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x240)),'value':String(S[_0xcdcea6(0x120)][_0xcdcea6(0x75e)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x3fb)),'value':String(S[_0xcdcea6(0x120)][_0xcdcea6(0x17d)])},{'label':_0xdd9bed['t']('shape-editor-ui.line.dashType.dash'),'value':String(S[_0xcdcea6(0x120)][_0xcdcea6(0x2cb)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x797)),'value':String(S[_0xcdcea6(0x120)][_0xcdcea6(0x657)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x283)),'value':String(S['ShapeLineDashEnum']['LongDash'])},{'label':_0xdd9bed['t'](_0xcdcea6(0x213)),'value':String(S[_0xcdcea6(0x120)][_0xcdcea6(0x266)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x7c8)),'value':String(S['ShapeLineDashEnum'][_0xcdcea6(0x3fe)])}],_0x9cafe7=[{'label':_0xdd9bed['t'](_0xcdcea6(0x25a)),'value':String(S[_0xcdcea6(0x479)][_0xcdcea6(0x7bf)])},{'label':_0xdd9bed['t']('shape-editor-ui.line.capType.round'),'value':String(S['ShapeLineCapEnum']['Round'])},{'label':_0xdd9bed['t'](_0xcdcea6(0x224)),'value':String(S[_0xcdcea6(0x479)]['Square'])}],_0x1e3e4f=[{'label':_0xdd9bed['t'](_0xcdcea6(0x2be)),'value':String(S[_0xcdcea6(0x476)][_0xcdcea6(0x423)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x171)),'value':String(S[_0xcdcea6(0x476)][_0xcdcea6(0x621)])},{'label':_0xdd9bed['t']('shape-editor-ui.line.sketchType.freehand'),'value':String(S[_0xcdcea6(0x476)]['Freehand'])},{'label':_0xdd9bed['t'](_0xcdcea6(0x70e)),'value':String(S[_0xcdcea6(0x476)][_0xcdcea6(0x469)])}],_0x253aef=[{'label':_0xdd9bed['t'](_0xcdcea6(0x2f2)),'value':String(S['ShapeLineJoinEnum']['Miter'])},{'label':_0xdd9bed['t'](_0xcdcea6(0x304)),'value':String(S['ShapeLineJoinEnum']['Round'])},{'label':_0xdd9bed['t'](_0xcdcea6(0x6e0)),'value':String(S['ShapeLineJoinEnum'][_0xcdcea6(0x66a)])}],_0x4ba004=[{'label':_0xdd9bed['t'](_0xcdcea6(0x63f)),'value':String(S[_0xcdcea6(0x36c)][_0xcdcea6(0x423)])},{'label':_0xdd9bed['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(S[_0xcdcea6(0x36c)][_0xcdcea6(0x515)])},{'label':_0xdd9bed['t'](_0xcdcea6(0xeb)),'value':String(S['ShapeArrowTypeEnum'][_0xcdcea6(0x1d1)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x256)),'value':String(S['ShapeArrowTypeEnum']['StealthArrow'])},{'label':_0xdd9bed['t'](_0xcdcea6(0x4c3)),'value':String(S['ShapeArrowTypeEnum'][_0xcdcea6(0x4c9)])},{'label':_0xdd9bed['t'](_0xcdcea6(0x727)),'value':String(S['ShapeArrowTypeEnum'][_0xcdcea6(0x329)])}],_0x585c77=[{'label':_0xdd9bed['t'](_0xcdcea6(0x31a)),'value':String(S[_0xcdcea6(0x6ba)][_0xcdcea6(0x7c4)])},{'label':_0xdd9bed['t'](_0xcdcea6(0xf7)),'value':String(S['ShapeArrowSizeEnum']['Medium'])},{'label':_0xdd9bed['t'](_0xcdcea6(0x146)),'value':String(S[_0xcdcea6(0x6ba)]['Large'])}];return(0x0,r[_0xcdcea6(0x565)])('div',{'className':_0xcdcea6(0x4ae),'children':[(0x0,r['jsxs'])(e[_0xcdcea6(0x54c)],{'value':String(_0x4a8f6d),'disabled':_0x4b1b99,'onChange':_0x28619c=>{const _0x2a2219=_0xcdcea6;var _0x5c7176;_0x2ae88c(Number(_0x28619c)),_0x98aef8({'oldShapeData':{'stroke':{'lineStrokeType':(_0x5c7176=_0x27e962[_0x2a2219(0x45b)])==null?void 0x0:_0x5c7176[_0x2a2219(0x2dd)]}}},{'stroke':{'lineStrokeType':Number(_0x28619c)}});},'direction':'vertical','children':[(0x0,r[_0xcdcea6(0x6c7)])(e[_0xcdcea6(0x198)],{'value':String(S[_0xcdcea6(0x3d7)]['NoLine']),'children':(0x0,r['jsx'])('span',{'className':_0xcdcea6(0x550),'children':_0xdd9bed['t'](_0xcdcea6(0x7b9))})}),(0x0,r[_0xcdcea6(0x6c7)])(e[_0xcdcea6(0x198)],{'value':String(S[_0xcdcea6(0x3d7)]['SolidLine']),'children':(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x550),'children':_0xdd9bed['t']('shape-editor-ui.line.solidLine')})})]}),_0x4a8f6d!==S['ShapeLineTypeEnum'][_0xcdcea6(0x518)]&&(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x511),'children':[(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x230),'children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t'](_0xcdcea6(0x684))}),(0x0,r[_0xcdcea6(0x6c7)])(e[_0xcdcea6(0x462)],{'disabled':_0x4b1b99,'overlay':(0x0,r['jsx'])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x178),'children':(0x0,r[_0xcdcea6(0x6c7)])(e[_0xcdcea6(0x2d0)],{'value':_0x401d65,'onChange':_0x438ff4=>{const _0x1070ae=_0xcdcea6;var _0x48fa97;_0x98aef8({'oldShapeData':{'stroke':{'color':(_0x48fa97=_0x27e962['stroke'])==null?void 0x0:_0x48fa97[_0x1070ae(0x591)]}}},{'stroke':{'color':_0x438ff4}}),_0x239099(_0x438ff4),_0x599d5b(!0x1);}})}),'open':_0x1982c0,'onOpenChange':_0x599d5b,'children':(0x0,r['jsxs'])('a',{'className':_0xcdcea6(0x306),'children':[(0x0,r[_0xcdcea6(0x6c7)])(t[_0xcdcea6(0x44b)],{'className':_0xcdcea6(0x27b),'extend':{'colorChannel1':_0x401d65}}),(0x0,r[_0xcdcea6(0x6c7)])(t[_0xcdcea6(0x7c6)],{'className':(0x0,e['clsx'])(_0xcdcea6(0x2f9),{'univer-rotate-180':_0x1982c0})})]})})]}),(0x0,r[_0xcdcea6(0x565)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0xcc),'children':_0xdd9bed['t'](_0xcdcea6(0x757))}),(0x0,r['jsx'])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0xdd),'children':(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x540),'children':(0x0,r[_0xcdcea6(0x6c7)])(e['InputNumber'],{'className':_0xcdcea6(0x2ac),'value':_0x3b5903,'disabled':_0x4b1b99,'min':0x0,'max':0x64,'formatter':_0x31e1eb=>_0x31e1eb+'%','parser':_0x1ce50d=>(_0x1ce50d==null?void 0x0:_0x1ce50d[_0xcdcea6(0x496)]('%',''))||'','onChange':_0x204ff8=>{const _0x31d48f=_0xcdcea6;var _0x4144ab;let _0x2cd577=(0x64-Math[_0x31d48f(0x292)](0x0,Math['min'](0x64,_0x204ff8??0x0)))/0x64;_0x12ad43(_0x2cd577),_0x98aef8({'oldShapeData':{'stroke':{'opacity':(_0x4144ab=_0x27e962[_0x31d48f(0x45b)])==null?void 0x0:_0x4144ab['opacity']}}},{'stroke':{'opacity':_0x2cd577}}),_0x333336['setContextValue'](o[_0x31d48f(0x400)],!0x1);},'onFocus':()=>_0x333336['setContextValue'](o[_0xcdcea6(0x400)],!0x0),'onBlur':_0x42446c=>{const _0x29a4f5=_0xcdcea6;_0x333336['setContextValue'](o[_0x29a4f5(0x400)],!0x1);}})})})]}),(0x0,r[_0xcdcea6(0x565)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t'](_0xcdcea6(0x635))}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x6f0),'children':(0x0,r['jsx'])(e[_0xcdcea6(0x663)],{'className':'univer-w-full','disabled':_0x4b1b99,'value':_0xfeab84,'min':0.25,'max':0x64,'step':0.25,'onChange':_0x3f5874=>{const _0x115809=_0xcdcea6;if(!Number[_0x115809(0x4ab)](_0x3f5874)&&_0x3f5874!==null){var _0x42996e;_0x98aef8({'oldShapeData':{'stroke':{'width':(_0x42996e=_0x27e962[_0x115809(0x45b)])==null?void 0x0:_0x42996e[_0x115809(0x514)]}}},{'stroke':{'width':_0x3f5874}});}_0x333336[_0x115809(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x333336[_0xcdcea6(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x427241=>{const _0x359516=_0xcdcea6;_0x333336[_0x359516(0x376)](o[_0x359516(0x400)],!0x1);}})})]}),_0x1892fa&&(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0xdd),'children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t'](_0xcdcea6(0x487))}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x6f0),'children':(0x0,r[_0xcdcea6(0x6c7)])(e[_0xcdcea6(0x663)],{'className':_0xcdcea6(0x2ac),'disabled':_0x4b1b99,'value':_0x4cbf45,'min':0x0,'step':0x1,'onChange':_0x5a0069=>{const _0x19816e=_0xcdcea6;var _0x458c75;let _0x497526=Math[_0x19816e(0x292)](0x0,_0x5a0069??0x0);_0x273cd5(_0x497526),_0x98aef8({'oldShapeData':{'stroke':{'cornerRadius':(_0x458c75=_0x27e962[_0x19816e(0x45b)])==null?void 0x0:_0x458c75[_0x19816e(0x43f)]}}},{'stroke':{'cornerRadius':_0x497526}}),_0x333336[_0x19816e(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x333336[_0xcdcea6(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x18cb08=_0xcdcea6;_0x333336[_0x18cb08(0x376)](o[_0x18cb08(0x400)],!0x1);}})})]}),(0x0,r[_0xcdcea6(0x565)])('div',{'className':_0xcdcea6(0x230),'children':[(0x0,r['jsx'])('span',{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t'](_0xcdcea6(0x408))}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x4f9),'children':(0x0,r['jsx'])(e[_0xcdcea6(0x460)],{'className':_0xcdcea6(0x2ac),'value':String(_0x40e996),'options':_0x4d75cc,'disabled':_0x4b1b99,'onChange':_0x1c1396=>{const _0xbb3bc7=_0xcdcea6;var _0x64aec9;_0x512aec(Number(_0x1c1396)),_0x98aef8({'oldShapeData':{'stroke':{'dashType':(_0x64aec9=_0x27e962[_0xbb3bc7(0x45b)])==null?void 0x0:_0x64aec9[_0xbb3bc7(0x22a)]}}},{'stroke':{'dashType':Number(_0x1c1396)}});}})})]}),(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x230),'children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t'](_0xcdcea6(0x38f))}),(0x0,r['jsx'])(_0xcdcea6(0x73f),{'className':'univer-w-28','children':(0x0,r[_0xcdcea6(0x6c7)])(e['Select'],{'className':_0xcdcea6(0x2ac),'value':String(_0x1313cf),'options':_0x9cafe7,'disabled':_0x4b1b99,'onChange':_0x1afecd=>{const _0x237d44=_0xcdcea6;var _0x4113d3;_0x43582a(Number(_0x1afecd)),_0x98aef8({'oldShapeData':{'stroke':{'capType':(_0x4113d3=_0x27e962['stroke'])==null?void 0x0:_0x4113d3[_0x237d44(0x549)]}}},{'stroke':{'capType':Number(_0x1afecd)}});}})})]}),(0x0,r['jsxs'])(_0xcdcea6(0x73f),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t'](_0xcdcea6(0x316))}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x4f9),'children':(0x0,r['jsx'])(e[_0xcdcea6(0x460)],{'className':_0xcdcea6(0x2ac),'value':String(_0x4d8d03),'options':_0x253aef,'disabled':_0x4b1b99,'onChange':_0x455346=>{var _0x460cbf;_0x2f3950(Number(_0x455346)),_0x98aef8({'oldShapeData':{'stroke':{'lineJoinType':(_0x460cbf=_0x27e962['stroke'])==null?void 0x0:_0x460cbf['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x455346)}});}})})]}),!_0x1892fa&&(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x230),'children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xdd9bed['t']('shape-editor-ui.line.sketchType.title')}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x4f9),'children':(0x0,r[_0xcdcea6(0x6c7)])(e['Select'],{'className':_0xcdcea6(0x2ac),'value':String(_0x5a0d76),'options':_0x1e3e4f,'disabled':_0x4b1b99,'onChange':_0x5811c8=>{const _0x292507=_0xcdcea6;var _0x3bc391;_0x5560bf(Number(_0x5811c8)),_0x98aef8({'oldShapeData':{'stroke':{'sketchType':(_0x3bc391=_0x27e962[_0x292507(0x45b)])==null?void 0x0:_0x3bc391[_0x292507(0x662)]}}},{'stroke':{'sketchType':Number(_0x5811c8)}});}})})]}),_0x1892fa&&(0x0,r[_0xcdcea6(0x565)])(r[_0xcdcea6(0x372)],{'children':[(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x230),'children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t'](_0xcdcea6(0x60b))}),(0x0,r['jsx'])('div',{'className':_0xcdcea6(0x4f9),'children':(0x0,r['jsx'])(e['Select'],{'className':_0xcdcea6(0x2ac),'value':String(_0x557ab2),'options':_0x4ba004,'onChange':_0xd8818f=>{var _0x18fc16;_0x487ad1(Number(_0xd8818f));let _0x197cdc={'ln':{'startArrow':{'type':(_0x18fc16=_0x27e962['ln'])==null||(_0x18fc16=_0x18fc16['startArrow'])==null?void 0x0:_0x18fc16['type']}}};_0x4415b6==null||_0x4415b6({'oldShapeData':_0x197cdc},{'ln':{'startArrow':{'type':Number(_0xd8818f)}}});}})})]}),(0x0,r['jsxs'])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x230),'children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':_0xcdcea6(0x799),'children':_0xdd9bed['t']('shape-editor-ui.line.beginArrowSize')}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':'univer-w-28','children':(0x0,r['jsx'])(e[_0xcdcea6(0x460)],{'className':_0xcdcea6(0x2ac),'value':String(_0x5d9e2c),'options':_0x585c77,'onChange':_0x37fec8=>{const _0x2d645f=_0xcdcea6;var _0x539e79;_0x1186b6(Number(_0x37fec8));let _0x333f0c={'ln':{'startArrow':{'size':(_0x539e79=_0x27e962['ln'])==null||(_0x539e79=_0x539e79[_0x2d645f(0x170)])==null?void 0x0:_0x539e79[_0x2d645f(0x52e)]}}};_0x4415b6==null||_0x4415b6({'oldShapeData':_0x333f0c},{'ln':{'startArrow':{'size':Number(_0x37fec8)}}});}})})]}),(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x230),'children':[(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x733),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xdd9bed['t'](_0xcdcea6(0x486))}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x4f9),'children':(0x0,r[_0xcdcea6(0x6c7)])(e[_0xcdcea6(0x460)],{'className':'univer-w-full','value':String(_0x44a386),'options':_0x4ba004,'onChange':_0x1ae877=>{const _0x5387aa=_0xcdcea6;var _0x2c0301;_0x18e03f(Number(_0x1ae877));let _0x2a3b27={'ln':{'endArrow':{'type':(_0x2c0301=_0x27e962['ln'])==null||(_0x2c0301=_0x2c0301[_0x5387aa(0x677)])==null?void 0x0:_0x2c0301['type']}}};_0x4415b6==null||_0x4415b6({'oldShapeData':_0x2a3b27},{'ln':{'endArrow':{'type':Number(_0x1ae877)}}});}})})]}),(0x0,r[_0xcdcea6(0x565)])(_0xcdcea6(0x73f),{'className':_0xcdcea6(0x230),'children':[(0x0,r[_0xcdcea6(0x6c7)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xdd9bed['t'](_0xcdcea6(0x19f))}),(0x0,r[_0xcdcea6(0x6c7)])(_0xcdcea6(0x73f),{'className':'univer-w-28','children':(0x0,r[_0xcdcea6(0x6c7)])(e[_0xcdcea6(0x460)],{'className':_0xcdcea6(0x2ac),'value':String(_0x1cc5f5),'options':_0x585c77,'onChange':_0x37e8ab=>{const _0x359ebd=_0xcdcea6;var _0x3ff74a;_0x1800a3(Number(_0x37e8ab));let _0x108319={'ln':{'endArrow':{'size':(_0x3ff74a=_0x27e962['ln'])==null||(_0x3ff74a=_0x3ff74a[_0x359ebd(0x677)])==null?void 0x0:_0x3ff74a[_0x359ebd(0x52e)]}}};_0x4415b6==null||_0x4415b6({'oldShapeData':_0x108319},{'ln':{'endArrow':{'size':Number(_0x37e8ab)}}});}})})]})]})]})]});}function vt(_0x171e4e){return Math['round'](_0x171e4e*0xa)/0xa;}function yt(_0x557bcd){const _0x28cd13=_0xdb1731;var _0x130558,_0x489c58,_0xa7852;let _0xabca55=_0x557bcd[_0x28cd13(0x668)],_0x5ebd25=_0xabca55&&'dataModel'in _0xabca55?(_0x130558=_0xabca55[_0x28cd13(0x2d7)])==null?void 0x0:_0x130558[_0x28cd13(0x527)]:void 0x0,_0x38336d=_0x5ebd25==null||(_0x489c58=_0x5ebd25[_0x28cd13(0x7e5)])==null||(_0x489c58=_0x489c58['sectionBreaks'])==null||(_0x489c58=_0x489c58[_0x28cd13(0x608)](_0x1158c9=>{const _0x51ae7b=_0x28cd13;var _0x2b54a1;return(((_0x2b54a1=_0x1158c9[_0x51ae7b(0x69b)])==null?void 0x0:_0x2b54a1[_0x51ae7b(0x6e2)])??0x0)>0x0;}))==null?void 0x0:_0x489c58['columnProperties'];return{'count':Math['max'](0x1,(_0x38336d==null?void 0x0:_0x38336d[_0x28cd13(0x6e2)])??0x1),'spacing':vt((_0x38336d==null||(_0xa7852=_0x38336d[0x0])==null?void 0x0:_0xa7852[_0x28cd13(0x5ac)])??0x0)};}function bt(_0x4258e2,_0x125e2c){const _0x528649=_0xdb1731;let _0x3c9644=_0x4258e2[_0x528649(0x668)],_0x49b6d0=_0x3c9644&&_0x528649(0x2d7)in _0x3c9644?_0x3c9644['dataModel']:void 0x0,_0x42fa48=_0x3c9644&&'text'in _0x3c9644?_0x3c9644[_0x528649(0x39b)]??'':'',_0x2054fa=(_0x49b6d0==null?void 0x0:_0x49b6d0[_0x528649(0x527)])??{'id':(0x0,o['generateRandomId'])(0x6),'body':{'dataStream':_0x42fa48+'\x0d\x0a'},'documentStyle':{}},_0x5f32ce=o[_0x528649(0x369)][_0x528649(0x7dd)](o[_0x528649(0x1ca)][_0x528649(0x2e0)](_0x2054fa))['columns']({'count':Math[_0x528649(0x292)](0x1,Math[_0x528649(0x573)](_0x125e2c['count'])),'spacing':Math[_0x528649(0x292)](0x0,_0x125e2c[_0x528649(0x148)])})[_0x528649(0x167)]();return{..._0x4258e2,'shapeText':{..._0x3c9644??{'isHorizontal':!0x0},'text':_0x42fa48,'dataModel':{..._0x49b6d0??{},'doc':_0x5f32ce}}};}function xt(_0x204cb0){const _0x255ae8=_0xdb1731;let {shapeData:_0x53cb06,disableShapeOption:_0x149b70,onUpdateShapeData:_0x4ca091}=_0x204cb0,_0x308690=(0x0,s[_0x255ae8(0x14e)])(o[_0x255ae8(0x432)]),_0x52c2e9=(0x0,S[_0x255ae8(0x626)])(_0x53cb06),[_0x24860e,_0x4059f8]=(0x0,n[_0x255ae8(0x48e)])(_0x52c2e9[_0x255ae8(0x245)]),[_0x29f030,_0x5dc941]=(0x0,n[_0x255ae8(0x48e)])(_0x52c2e9[_0x255ae8(0x174)]),[_0x1d4cfc,_0x2c2098]=(0x0,n[_0x255ae8(0x48e)])(_0x52c2e9['textWrap']),[_0xf5d2e5,_0x28676d]=(0x0,n[_0x255ae8(0x48e)])(()=>({'left':vt(_0x52c2e9[_0x255ae8(0x328)][_0x255ae8(0x7af)]),'right':vt(_0x52c2e9[_0x255ae8(0x328)][_0x255ae8(0x78c)]),'top':vt(_0x52c2e9['padding']['top']),'bottom':vt(_0x52c2e9[_0x255ae8(0x328)][_0x255ae8(0x3f5)])})),[_0x4bf3fe,_0x3c6c21]=(0x0,n[_0x255ae8(0x48e)])(()=>yt(_0x53cb06)),_0x44e7d8=_0x1abdba=>{const _0xc57ce6=_0x255ae8;_0x4ca091({'oldShapeData':_0x53cb06},(0x0,S[_0xc57ce6(0x616)])(_0x53cb06,_0x1abdba));},_0x2d53a7=_0xe52026=>{_0x28676d(_0xe52026),_0x44e7d8({'padding':_0xe52026});},_0x4362c7=_0x1f16a7=>{_0x3c6c21(_0x1f16a7),_0x4ca091({'oldShapeData':_0x53cb06},bt(_0x53cb06,_0x1f16a7));},_0x2d18ba=[{'label':_0x308690['t'](_0x255ae8(0x13c)),'value':S[_0x255ae8(0x672)][_0x255ae8(0x570)]},{'label':_0x308690['t'](_0x255ae8(0x38c)),'value':S[_0x255ae8(0x672)][_0x255ae8(0x33f)]}],_0x3dbd8c=[{'label':_0x308690['t']('shape-editor-ui.textBox.autoFitNone'),'value':S[_0x255ae8(0x110)][_0x255ae8(0x122)]},{'label':_0x308690['t']('shape-editor-ui.textBox.autoFitShrink'),'value':S[_0x255ae8(0x110)][_0x255ae8(0x719)]},{'label':_0x308690['t']('shape-editor-ui.textBox.autoFitResize'),'value':S['ShapeTextAutoFitType'][_0x255ae8(0x7a4)]}];return(0x0,r['jsxs'])(_0x255ae8(0x409),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-text-sm','children':[(0x0,r['jsxs'])(_0x255ae8(0x60e),{'className':_0x255ae8(0xdd),'children':[(0x0,r['jsx'])(_0x255ae8(0x733),{'className':_0x255ae8(0x3ed),'children':_0x308690['t'](_0x255ae8(0x7b5))}),(0x0,r[_0x255ae8(0x6c7)])(e[_0x255ae8(0x460)],{'className':_0x255ae8(0x187),'disabled':_0x149b70,'value':_0x24860e,'options':_0x2d18ba,'onChange':_0x28d6f5=>{let _0x3f2fef=_0x28d6f5;_0x4059f8(_0x3f2fef),_0x44e7d8({'textDirection':_0x3f2fef});}})]}),(0x0,r[_0x255ae8(0x565)])(_0x255ae8(0x60e),{'className':_0x255ae8(0xdd),'children':[(0x0,r[_0x255ae8(0x6c7)])(_0x255ae8(0x733),{'className':_0x255ae8(0x3ed),'children':_0x308690['t'](_0x255ae8(0xe5))}),(0x0,r[_0x255ae8(0x6c7)])(e[_0x255ae8(0x460)],{'className':'univer-w-32','disabled':_0x149b70,'value':_0x29f030,'options':_0x3dbd8c,'onChange':_0x2ccfa0=>{let _0xc19ad2=_0x2ccfa0;_0x5dc941(_0xc19ad2),_0x44e7d8({'autoFitType':_0xc19ad2});}})]}),(0x0,r[_0x255ae8(0x6c7)])(e[_0x255ae8(0x54d)],{'disabled':_0x149b70,'checked':_0x1d4cfc===S['ShapeTextWrapType'][_0x255ae8(0x5a8)],'onChange':_0x4af259=>{const _0x4cb0c5=_0x255ae8;let _0x643676=_0x4af259?S[_0x4cb0c5(0x671)]['Square']:S[_0x4cb0c5(0x671)][_0x4cb0c5(0x423)];_0x2c2098(_0x643676),_0x44e7d8({'textWrap':_0x643676});},'children':(0x0,r[_0x255ae8(0x6c7)])(_0x255ae8(0x733),{'className':_0x255ae8(0x41f),'children':_0x308690['t'](_0x255ae8(0x2ff))})}),(0x0,r[_0x255ae8(0x565)])(_0x255ae8(0x409),{'className':'univer-grid\x20univer-gap-2','children':[(0x0,r[_0x255ae8(0x6c7)])(_0x255ae8(0x4e9),{'className':_0x255ae8(0x18e),'children':_0x308690['t'](_0x255ae8(0x370))}),(0x0,r['jsx'])(_0x255ae8(0x73f),{'className':_0x255ae8(0x6a2),'children':['left',_0x255ae8(0x78c),_0x255ae8(0x606),_0x255ae8(0x3f5)][_0x255ae8(0x50f)](_0x364265=>(0x0,r[_0x255ae8(0x565)])('label',{'children':[(0x0,r[_0x255ae8(0x6c7)])(_0x255ae8(0x733),{'className':_0x255ae8(0x275),'children':_0x308690['t'](_0x255ae8(0x370)+_0x364265[0x0]['toUpperCase']()+_0x364265[_0x255ae8(0x209)](0x1))}),(0x0,r[_0x255ae8(0x6c7)])(e[_0x255ae8(0x663)],{'disabled':_0x149b70,'min':0x0,'precision':0x1,'value':_0xf5d2e5[_0x364265],'onChange':_0x5f5c32=>{const _0x14e4aa=_0x255ae8;_0x5f5c32!=null&&_0x2d53a7({..._0xf5d2e5,[_0x364265]:Math[_0x14e4aa(0x292)](0x0,_0x5f5c32)});}})]},_0x364265))})]}),(0x0,r[_0x255ae8(0x565)])(_0x255ae8(0x409),{'className':_0x255ae8(0x4ce),'children':[(0x0,r[_0x255ae8(0x6c7)])(_0x255ae8(0x4e9),{'className':_0x255ae8(0x18e),'children':_0x308690['t'](_0x255ae8(0x689))}),(0x0,r[_0x255ae8(0x565)])('div',{'className':_0x255ae8(0x6a2),'children':[(0x0,r[_0x255ae8(0x565)])(_0x255ae8(0x60e),{'children':[(0x0,r['jsx'])('span',{'className':_0x255ae8(0x275),'children':_0x308690['t'](_0x255ae8(0x587))}),(0x0,r['jsx'])(e[_0x255ae8(0x663)],{'disabled':_0x149b70,'min':0x1,'precision':0x0,'value':_0x4bf3fe[_0x255ae8(0x101)],'onChange':_0x3fbff1=>{const _0x3176c3=_0x255ae8;_0x3fbff1!=null&&_0x4362c7({..._0x4bf3fe,'count':Math[_0x3176c3(0x292)](0x1,Math[_0x3176c3(0x573)](_0x3fbff1))});}})]}),(0x0,r['jsxs'])('label',{'children':[(0x0,r[_0x255ae8(0x6c7)])(_0x255ae8(0x733),{'className':'univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x308690['t'](_0x255ae8(0x1d5))}),(0x0,r['jsx'])(e[_0x255ae8(0x663)],{'disabled':_0x149b70,'min':0x0,'precision':0x1,'value':_0x4bf3fe[_0x255ae8(0x148)],'onChange':_0x499acf=>{const _0x5d0441=_0x255ae8;_0x499acf!=null&&_0x4362c7({..._0x4bf3fe,'spacing':Math[_0x5d0441(0x292)](0x0,_0x499acf)});}})]})]})]})]});}function St(_0x4a0f8d){const _0x3b7dee=_0xdb1731;let {shapeData:_0x4ac7ed,shapeId:_0x19f931,shapeType:_0x50c1bd,disableShapeOption:_0x40020b,positionEditor:_0x195c4a,onUpdateShapeData:_0x5d9ac4,onUpdateLineShapeData:_0x18644e,onUpdateShapeFillImage:_0x376e67}=_0x4a0f8d,_0x4d8c1f=(0x0,s[_0x3b7dee(0x14e)])(o[_0x3b7dee(0x432)]),_0x5084a4=(0x0,S[_0x3b7dee(0x166)])(_0x50c1bd),[_0x56dbd5,_0x5667b4]=(0x0,n['useState'])(0x0),_0x8222ba=[{'label':(0x0,r['jsx'])(_0x3b7dee(0x73f),{'children':_0x4d8c1f['t']('shape-editor-ui.fill.title')}),'children':(0x0,r[_0x3b7dee(0x6c7)])(_0x3b7dee(0x409),{'className':_0x3b7dee(0x7b1),'children':(0x0,r[_0x3b7dee(0x6c7)])(pt,{'shapeId':_0x19f931,'shapeData':_0x4ac7ed,'isLineShape':_0x5084a4,'disableShapeOption':_0x40020b,'onUpdateShapeData':_0x5d9ac4,'onUpdateShapeFillImage':_0x376e67})})},{'label':(0x0,r[_0x3b7dee(0x6c7)])(_0x3b7dee(0x73f),{'children':_0x4d8c1f['t'](_0x3b7dee(0x42d))}),'children':(0x0,r[_0x3b7dee(0x6c7)])(_0x3b7dee(0x409),{'className':_0x3b7dee(0x7b1),'children':(0x0,r[_0x3b7dee(0x6c7)])(_t,{'shapeId':_0x19f931,'shapeData':_0x4ac7ed,'isLineShape':_0x5084a4,'disableShapeOption':_0x40020b,'onUpdateShapeData':_0x5d9ac4,'onUpdateLineShapeData':_0x18644e})})},{'label':(0x0,r[_0x3b7dee(0x6c7)])(_0x3b7dee(0x73f),{'children':_0x4d8c1f['t'](_0x3b7dee(0x385))}),'children':(0x0,r['jsx'])(_0x3b7dee(0x409),{'className':_0x3b7dee(0x7b1),'children':(0x0,r['jsx'])(xt,{'shapeId':_0x19f931,'shapeData':_0x4ac7ed,'disableShapeOption':_0x40020b,'onUpdateShapeData':_0x5d9ac4,'onUpdateLineShapeData':_0x18644e})})}];return(0x0,r['jsxs'])('div',{'className':_0x3b7dee(0x1b5),'children':[(0x0,r['jsxs'])('div',{'className':_0x3b7dee(0x67c),'children':[(0x0,r[_0x3b7dee(0x565)])('div',{'className':(0x0,e[_0x3b7dee(0x221)])(_0x3b7dee(0x633),_0x56dbd5===0x0?_0x3b7dee(0x4b9):'univer-text-gray-500'),'onClick':()=>_0x5667b4(0x0),'children':[_0x4d8c1f['t']('shape-editor-ui.shapeStyle'),(0x0,r[_0x3b7dee(0x6c7)])(_0x3b7dee(0x73f),{'className':(0x0,e['clsx'])(_0x3b7dee(0x1fb),{'univer-bg-primary-600':_0x56dbd5===0x0,'univer-bg-transparent':_0x56dbd5!==0x0})})]}),(0x0,r[_0x3b7dee(0x565)])(_0x3b7dee(0x73f),{'className':(0x0,e[_0x3b7dee(0x221)])(_0x3b7dee(0x633),{'univer-text-primary-600':_0x56dbd5===0x1,'univer-text-gray-500':_0x56dbd5!==0x1}),'onClick':()=>_0x5667b4(0x1),'children':[_0x4d8c1f['t'](_0x3b7dee(0x33b)),(0x0,r[_0x3b7dee(0x6c7)])(_0x3b7dee(0x73f),{'className':(0x0,e['clsx'])(_0x3b7dee(0x529),{'univer-bg-primary-600':_0x56dbd5===0x1,'univer-bg-transparent':_0x56dbd5!==0x1})})]})]}),(0x0,r[_0x3b7dee(0x6c7)])('div',{'className':_0x3b7dee(0x340),'children':_0x56dbd5===0x0?(0x0,r['jsx'])(e[_0x3b7dee(0x3f7)],{'items':_0x8222ba}):_0x195c4a})]});}const Ct=_0xdb1731(0x555),wt=_0xdb1731(0x789),Tt=_0xdb1731(0x1b8),Et={'none':S[_0xdb1731(0x3ff)][_0xdb1731(0x36e)],'solid':S[_0xdb1731(0x3ff)][_0xdb1731(0x732)],'gradient':S[_0xdb1731(0x3ff)][_0xdb1731(0x75a)],'picture':S[_0xdb1731(0x3ff)][_0xdb1731(0x10f)]};function Dt(_0x2ae486){let {isRichText:_0x4ee7f9,..._0x36fb16}=_0x2ae486??{};return _0x36fb16;}function Ot(_0x7ff926,_0x544771){typeof(_0x7ff926==null?void 0x0:_0x7ff926['fs'])=='number'&&Number['isFinite'](_0x7ff926['fs'])&&(_0x7ff926['fs']*=_0x544771);}function kt(_0x3c5ae9,_0x4b4241){const _0x9739ee=_0xdb1731;if(!_0x4b4241)return;let _0x4c0f03=_0x4b4241[_0x9739ee(0x174)]===S[_0x9739ee(0x110)]['NormAutoFit']&&typeof _0x4b4241[_0x9739ee(0x7d1)]==_0x9739ee(0x1cb)&&Number[_0x9739ee(0x322)](_0x4b4241[_0x9739ee(0x7d1)])&&_0x4b4241[_0x9739ee(0x7d1)]>0x0?_0x4b4241[_0x9739ee(0x7d1)]/0x186a0:0x1;if(_0x4c0f03!==0x1){var _0x18c53a,_0x38d161,_0x3e55c3,_0x66fd57;_0x3c5ae9[_0x9739ee(0x613)]&&={..._0x3c5ae9[_0x9739ee(0x613)],'textStyle':Kt(_0x3c5ae9[_0x9739ee(0x613)][_0x9739ee(0x2c3)])},(_0x18c53a=_0x3c5ae9[_0x9739ee(0x7e5)])!=null&&_0x18c53a[_0x9739ee(0x5db)]&&(_0x3c5ae9[_0x9739ee(0x7e5)]['textRuns']=_0x3c5ae9[_0x9739ee(0x7e5)][_0x9739ee(0x5db)][_0x9739ee(0x50f)](_0x2ba8f1=>({..._0x2ba8f1,'ts':Kt(_0x2ba8f1['ts'])}))),Ot((_0x38d161=_0x3c5ae9[_0x9739ee(0x613)])==null?void 0x0:_0x38d161['textStyle'],_0x4c0f03),(_0x3e55c3=_0x3c5ae9['body'])==null||(_0x3e55c3=_0x3e55c3[_0x9739ee(0x5db)])==null||_0x3e55c3[_0x9739ee(0x520)](_0xf48871=>Ot(_0xf48871['ts'],_0x4c0f03)),(_0x66fd57=_0x3c5ae9[_0x9739ee(0x7e5)])==null||(_0x66fd57=_0x66fd57[_0x9739ee(0x72e)])==null||_0x66fd57[_0x9739ee(0x520)](_0x22843b=>{const _0x55c412=_0x9739ee;var _0x197868;Ot((_0x197868=_0x22843b['paragraphStyle'])==null?void 0x0:_0x197868[_0x55c412(0x2c3)],_0x4c0f03);});}let _0x3318cc=_0x4b4241[_0x9739ee(0x174)]===S[_0x9739ee(0x110)][_0x9739ee(0x719)]&&typeof _0x4b4241[_0x9739ee(0x4da)]==_0x9739ee(0x1cb)&&Number[_0x9739ee(0x322)](_0x4b4241[_0x9739ee(0x4da)])&&_0x4b4241[_0x9739ee(0x4da)]<0x186a0?Math[_0x9739ee(0x292)](0x0,_0x4b4241[_0x9739ee(0x4da)])/0x186a0:0x0;if(_0x3318cc>0x0){var _0x2547f8;(_0x2547f8=_0x3c5ae9[_0x9739ee(0x7e5)])==null||(_0x2547f8=_0x2547f8[_0x9739ee(0x72e)])==null||_0x2547f8[_0x9739ee(0x520)](_0x36fec9=>{const _0x3b5f09=_0x9739ee;_0x36fec9[_0x3b5f09(0x2e9)]??={},_0x36fec9[_0x3b5f09(0x2e9)]['lineSpacing']=(_0x36fec9['paragraphStyle'][_0x3b5f09(0xfe)]??0x1)*(0x1-_0x3318cc);});}}function At(_0x3d8a21,_0x181d8b){const _0x14de67=_0xdb1731;if((_0x181d8b==null?void 0x0:_0x181d8b['autoFitType'])!==S[_0x14de67(0x110)][_0x14de67(0x719)])return;let _0x4195d7=typeof _0x181d8b[_0x14de67(0x7d1)]=='number'&&Number['isFinite'](_0x181d8b[_0x14de67(0x7d1)])&&_0x181d8b[_0x14de67(0x7d1)]>0x0?_0x181d8b[_0x14de67(0x7d1)]/0x186a0:0x1;if(_0x4195d7!==0x1){var _0x4e2721,_0x33240f,_0x3c57ac;Ot((_0x4e2721=_0x3d8a21['documentStyle'])==null?void 0x0:_0x4e2721['textStyle'],0x1/_0x4195d7),(_0x33240f=_0x3d8a21[_0x14de67(0x7e5)])==null||(_0x33240f=_0x33240f[_0x14de67(0x5db)])==null||_0x33240f['forEach'](_0x302fa2=>Ot(_0x302fa2['ts'],0x1/_0x4195d7)),(_0x3c57ac=_0x3d8a21['body'])==null||(_0x3c57ac=_0x3c57ac[_0x14de67(0x72e)])==null||_0x3c57ac[_0x14de67(0x520)](_0x1f4c01=>{const _0x4b4f44=_0x14de67;var _0x86e107;Ot((_0x86e107=_0x1f4c01[_0x4b4f44(0x2e9)])==null?void 0x0:_0x86e107[_0x4b4f44(0x2c3)],0x1/_0x4195d7);});}let _0x3edb40=0x1-(typeof _0x181d8b['lineSpaceReduction']==_0x14de67(0x1cb)&&Number[_0x14de67(0x322)](_0x181d8b[_0x14de67(0x4da)])&&_0x181d8b[_0x14de67(0x4da)]<0x186a0?Math[_0x14de67(0x292)](0x0,_0x181d8b[_0x14de67(0x4da)])/0x186a0:0x0);if(_0x3edb40>0x0&&_0x3edb40!==0x1){var _0x113e83;(_0x113e83=_0x3d8a21[_0x14de67(0x7e5)])==null||(_0x113e83=_0x113e83[_0x14de67(0x72e)])==null||_0x113e83[_0x14de67(0x520)](_0x3f7e60=>{const _0xead9f6=_0x14de67;var _0x5edb73;let _0x269deb=(_0x5edb73=_0x3f7e60[_0xead9f6(0x2e9)])==null?void 0x0:_0x5edb73[_0xead9f6(0xfe)];typeof _0x269deb=='number'&&Number['isFinite'](_0x269deb)&&(_0x3f7e60[_0xead9f6(0x2e9)][_0xead9f6(0xfe)]=_0x269deb/_0x3edb40);});}}function jt(_0x545655,_0x4464ec='shape-text-document'){const _0x3626c4=_0xdb1731;let _0x13dfd1=(_0x545655[_0x3626c4(0x39b)]??'')['replace'](/\r\n/g,'\x0a')['replace'](/\r/g,'\x0a')[_0x3626c4(0x288)]('\x0a'),_0x3e8f3b=_0x13dfd1['join']('\x0d')+'\x0d\x0a',_0x5e8207=Math[_0x3626c4(0x292)](0x0,_0x3e8f3b[_0x3626c4(0x6e2)]-0x2),_0x3dbd89=new Set(),_0x313d46=Mt(_0x545655),_0x301d86=Nt(_0x545655),_0x1ca153=Pt(_0x545655),_0x387473=0x0;return{'id':_0x4464ec,'body':{'dataStream':_0x3e8f3b,'paragraphs':_0x13dfd1[_0x3626c4(0x50f)](_0x499058=>{const _0x180aaa=_0x3626c4;let _0x4b54ca=_0x387473+_0x499058[_0x180aaa(0x6e2)];return _0x387473+=_0x499058[_0x180aaa(0x6e2)]+0x1,{'startIndex':_0x4b54ca,'paragraphId':(0x0,o[_0x180aaa(0x786)])(_0x3dbd89),'paragraphStyle':{'horizontalAlign':_0x301d86,'textStyle':_0x313d46}};}),'textRuns':[{'st':0x0,'ed':Math[_0x3626c4(0x292)](0x1,_0x5e8207),'ts':_0x313d46}]},'documentStyle':{'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'marginTop':0x0,'textStyle':_0x313d46,'renderConfig':{'horizontalAlign':_0x301d86,'verticalAlign':_0x1ca153}}};}function Mt(_0x2a55dc){const _0x428ae6=_0xdb1731;return{..._0x2a55dc[_0x428ae6(0x458)]?{'ff':_0x2a55dc[_0x428ae6(0x458)]}:{},..._0x2a55dc[_0x428ae6(0x47a)]===void 0x0?{}:{'fs':_0x2a55dc[_0x428ae6(0x47a)]},..._0x2a55dc[_0x428ae6(0x591)]?{'cl':{'rgb':_0x2a55dc[_0x428ae6(0x591)]}}:{},..._0x2a55dc[_0x428ae6(0x5e3)]===void 0x0?{}:{'bl':_0x2a55dc[_0x428ae6(0x5e3)]?o[_0x428ae6(0x6b7)][_0x428ae6(0x159)]:o[_0x428ae6(0x6b7)][_0x428ae6(0x56d)]},..._0x2a55dc['italic']===void 0x0?{}:{'it':_0x2a55dc[_0x428ae6(0x4b5)]?o['BooleanNumber'][_0x428ae6(0x159)]:o[_0x428ae6(0x6b7)][_0x428ae6(0x56d)]},..._0x2a55dc[_0x428ae6(0x508)]===void 0x0?{}:{'ul':{'s':_0x2a55dc['underline']?o[_0x428ae6(0x6b7)][_0x428ae6(0x159)]:o[_0x428ae6(0x6b7)][_0x428ae6(0x56d)]}}};}function Nt(_0x54634f){const _0x5d8f77=_0xdb1731;let _0x56ec50=_0x54634f[_0x5d8f77(0x15f)];return _0x56ec50==='center'?o['HorizontalAlign'][_0x5d8f77(0x73d)]:_0x56ec50===_0x5d8f77(0x78c)?o[_0x5d8f77(0x75f)][_0x5d8f77(0x26e)]:o[_0x5d8f77(0x75f)][_0x5d8f77(0x3ca)];}function Pt(_0x45e6e7){const _0x1c1b92=_0xdb1731;let _0x19adb1=_0x45e6e7[_0x1c1b92(0x1d3)];return _0x19adb1===_0x1c1b92(0x2e5)?o[_0x1c1b92(0x60a)][_0x1c1b92(0x34e)]:_0x19adb1==='bottom'?o[_0x1c1b92(0x60a)][_0x1c1b92(0x1d9)]:o['VerticalAlign'][_0x1c1b92(0x463)];}function Ft(_0x7c14d0){const _0x3c72e6=_0xdb1731;var _0x4b0dda;let _0x116d07=(_0x4b0dda=_0x7c14d0[_0x3c72e6(0x7e5)])==null?void 0x0:_0x4b0dda[_0x3c72e6(0x72e)],_0x15d93e,_0x59499e=!0x1;if(!_0x116d07)return{'hasParagraphAlign':_0x59499e,'isMixed':!0x1};for(let _0x4c9d5 of _0x116d07){var _0x5e84b1;let _0x5dfd00=(_0x5e84b1=_0x4c9d5[_0x3c72e6(0x2e9)])==null?void 0x0:_0x5e84b1['horizontalAlign'];if(_0x5dfd00!==void 0x0){if(!_0x59499e){_0x15d93e=_0x5dfd00,_0x59499e=!0x0;continue;}if(_0x15d93e!==_0x5dfd00)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x15d93e,'hasParagraphAlign':_0x59499e,'isMixed':!0x1};}function It(_0x48c7fe,_0x6c9a1f={}){const _0x41b2be=_0xdb1731;var _0xb4c6cb;let _0x28dadd=(_0xb4c6cb=_0x48c7fe['documentStyle'])==null?void 0x0:_0xb4c6cb[_0x41b2be(0x6a6)],_0x25833f=Ft(_0x48c7fe);return{'horizontalAlign':_0x25833f[_0x41b2be(0x44a)]?_0x25833f[_0x41b2be(0x412)]?void 0x0:_0x25833f[_0x41b2be(0x15f)]:(_0x28dadd==null?void 0x0:_0x28dadd[_0x41b2be(0x15f)])??_0x6c9a1f[_0x41b2be(0x15f)],'verticalAlign':(_0x28dadd==null?void 0x0:_0x28dadd[_0x41b2be(0x1d3)])??_0x6c9a1f['verticalAlign']};}function Lt(_0x37516d,_0x4f4b19){const _0x3156da=_0xdb1731;let _0x4c2c4f=_0x37516d[_0x3156da(0x613)]??{},_0x23386c={..._0x4c2c4f[_0x3156da(0x6a6)]};if(_0x4f4b19[_0x3156da(0x1d3)]!==void 0x0&&(_0x23386c[_0x3156da(0x1d3)]=_0x4f4b19[_0x3156da(0x1d3)]),_0x4f4b19[_0x3156da(0x15f)]!==void 0x0){var _0x2eaa66;_0x23386c[_0x3156da(0x15f)]=_0x4f4b19['horizontalAlign'];let _0x4d2e24=(_0x2eaa66=_0x37516d[_0x3156da(0x7e5)])==null?void 0x0:_0x2eaa66[_0x3156da(0x72e)];if(_0x4d2e24){for(let _0x3292d4 of _0x4d2e24)_0x3292d4[_0x3156da(0x2e9)]={..._0x3292d4[_0x3156da(0x2e9)],'horizontalAlign':_0x4f4b19[_0x3156da(0x15f)]};}}_0x37516d[_0x3156da(0x613)]={..._0x4c2c4f,'renderConfig':Object[_0x3156da(0x30b)](_0x23386c)['length']>0x0?_0x23386c:void 0x0};}function Rt(_0x4cdc18){const _0x19122d=_0xdb1731;var _0x5751f0,_0x4f66a5,_0x19d2fb;let _0x28772a=((_0x5751f0=_0x4cdc18[_0x19122d(0x7e5)])==null||(_0x5751f0=_0x5751f0['dataStream'])==null?void 0x0:_0x5751f0[_0x19122d(0x6e2)])??0x0,_0x1d2fa7=(_0x4f66a5=_0x4cdc18[_0x19122d(0x7e5)])==null?void 0x0:_0x4f66a5[_0x19122d(0x4ac)];if(_0x1d2fa7!=null&&_0x1d2fa7[_0x19122d(0x6e2)]){for(let _0x5d772c of _0x1d2fa7)_0x5d772c[_0x19122d(0x6bc)]=_0x5d772c[_0x19122d(0x6bc)]??o[_0x19122d(0x52b)]['DEFAULT'];}else _0x4cdc18[_0x19122d(0x7e5)]&&(_0x4cdc18[_0x19122d(0x7e5)]['sectionBreaks']=[{'sectionId':(0x0,o['createSectionId'])(new Set()),'startIndex':Math[_0x19122d(0x292)](0x0,_0x28772a-0x1),'gridType':o[_0x19122d(0x52b)][_0x19122d(0x7d3)]}]);let _0x497532=(_0x19d2fb=_0x4cdc18[_0x19122d(0x7e5)])==null?void 0x0:_0x19d2fb[_0x19122d(0x72e)];if(_0x497532)for(let _0x581c82 of _0x497532){var _0x501132,_0x5b0789,_0x4a7885,_0xd73873;_0x581c82[_0x19122d(0x2e9)]={..._0x581c82['paragraphStyle'],'lineSpacing':((_0x501132=_0x581c82[_0x19122d(0x2e9)])==null?void 0x0:_0x501132[_0x19122d(0xfe)])??0x1,'snapToGrid':((_0x5b0789=_0x581c82[_0x19122d(0x2e9)])==null?void 0x0:_0x5b0789[_0x19122d(0x6b9)])??o[_0x19122d(0x6b7)][_0x19122d(0x56d)],'spaceAbove':((_0x4a7885=_0x581c82['paragraphStyle'])==null?void 0x0:_0x4a7885[_0x19122d(0x2f6)])??{'v':0x0},'spaceBelow':((_0xd73873=_0x581c82[_0x19122d(0x2e9)])==null?void 0x0:_0xd73873[_0x19122d(0x61c)])??{'v':0x0}};}}function zt(_0x21c95a,_0x330005,_0x56c763=new Set()){const _0x241c82=_0xdb1731;var _0x456c24;let _0x572d7a=(_0x456c24=_0x21c95a[_0x241c82(0x7e5)])==null?void 0x0:_0x456c24[_0x241c82(0x4ac)];if(!(!(_0x572d7a!=null&&_0x572d7a[_0x241c82(0x6e2)])||!_0x330005))for(let _0x4def35 of _0x572d7a){let _0x5ac3eb={..._0x330005,..._0x4def35[_0x241c82(0x6a6)]},_0x3e7fb7=_0x330005;for(let _0x591599 of _0x56c763)Object['prototype'][_0x241c82(0x79a)][_0x241c82(0x4cb)](_0x3e7fb7,_0x591599)&&(_0x5ac3eb[_0x591599]=_0x3e7fb7[_0x591599]);_0x4def35[_0x241c82(0x6a6)]={..._0x5ac3eb};}}function Bt(_0x5bb728){const _0x4b57e7=_0xdb1731;var _0x4e2c20;let _0x51af5c=(_0x4e2c20=_0x5bb728[_0x4b57e7(0x7e5)])==null?void 0x0:_0x4e2c20[_0x4b57e7(0x4ac)];if(_0x51af5c!=null&&_0x51af5c[_0x4b57e7(0x6e2)])for(let _0x40f9d4 of _0x51af5c){if(!_0x40f9d4[_0x4b57e7(0x6a6)])continue;let _0x1a2264={..._0x40f9d4['renderConfig']};delete _0x1a2264['centerAngle'],delete _0x1a2264[_0x4b57e7(0x4bf)],delete _0x1a2264[_0x4b57e7(0x2f8)],delete _0x1a2264[_0x4b57e7(0x15f)],delete _0x1a2264[_0x4b57e7(0x1d3)],delete _0x1a2264[_0x4b57e7(0xf4)],_0x40f9d4[_0x4b57e7(0x6a6)]=Object[_0x4b57e7(0x30b)](_0x1a2264)[_0x4b57e7(0x6e2)]>0x0?_0x1a2264:void 0x0;}}function Vt(_0x2cbd64){const _0x397601=_0xdb1731;let _0x13a4cc=_0x2cbd64['body'],_0x5f3dfd=_0x13a4cc==null?void 0x0:_0x13a4cc[_0x397601(0x72e)],_0x4060c3=_0x13a4cc==null?void 0x0:_0x13a4cc[_0x397601(0x2e8)];if(!_0x13a4cc||!_0x4060c3)return;let _0xdaa285=[];for(let _0x50b94d=0x0;_0x50b94d<_0x4060c3[_0x397601(0x6e2)];_0x50b94d++)_0x4060c3[_0x50b94d]==='\x0d'&&_0xdaa285[_0x397601(0x37a)](_0x50b94d);if(!_0xdaa285[_0x397601(0x6e2)])return;let _0x37b261=new Set((_0x5f3dfd==null?void 0x0:_0x5f3dfd[_0x397601(0x50f)](_0x2dc48c=>_0x2dc48c[_0x397601(0x41a)])[_0x397601(0xc4)](Boolean))??[]),_0x1c35b8=new Set(),_0x41e273=_0xdaa285['map'](_0x2bc407=>{const _0x1f0cc3=_0x397601;let _0x58f60a=(_0x5f3dfd==null?void 0x0:_0x5f3dfd[_0x1f0cc3(0x746)]((_0x2838c7,_0x4106d6)=>!_0x1c35b8[_0x1f0cc3(0x72a)](_0x4106d6)&&_0x2838c7['startIndex']===_0x2bc407))??-0x1;if(!(_0x58f60a<0x0))return _0x1c35b8[_0x1f0cc3(0x37f)](_0x58f60a),_0x5f3dfd==null?void 0x0:_0x5f3dfd[_0x58f60a];}),_0x35c1e5=0x0;_0x13a4cc['paragraphs']=_0x41e273[_0x397601(0x50f)]((_0x14a6eb,_0x5ad5dc)=>{const _0x77ea8e=_0x397601;let _0x45961f=_0x14a6eb;for(;!_0x45961f&&_0x35c1e5<((_0x5f3dfd==null?void 0x0:_0x5f3dfd[_0x77ea8e(0x6e2)])??0x0);){let _0x44392c=_0x35c1e5++;_0x1c35b8[_0x77ea8e(0x72a)](_0x44392c)||(_0x1c35b8[_0x77ea8e(0x37f)](_0x44392c),_0x45961f=_0x5f3dfd==null?void 0x0:_0x5f3dfd[_0x44392c]);}return{..._0x45961f,'startIndex':_0xdaa285[_0x5ad5dc],'paragraphId':(_0x45961f==null?void 0x0:_0x45961f['paragraphId'])??(0x0,o[_0x77ea8e(0x786)])(_0x37b261)};});}function Ht(_0x1b600c,_0x2e0e2f){const _0x53e006=_0xdb1731;var _0x3b6d71,_0x53893e,_0x2c9149,_0x238a07;let {isHorizontal:_0x46ebca,textRect:_0x182b6f}=_0x2e0e2f,_0x44c4af=_0x46ebca?_0x182b6f[_0x53e006(0x514)]:_0x182b6f['height'],_0x9d17a5=Ut(_0x1b600c,_0x46ebca?_0x182b6f[_0x53e006(0x1a8)]:_0x182b6f[_0x53e006(0x514)]),_0x4dadb7=Gt(_0x1b600c);kt(_0x4dadb7,_0x2e0e2f['bodyBehavior']);let _0x9181ac=_0x4dadb7[_0x53e006(0x613)]??{},_0x4a2d54={..._0x9181ac[_0x53e006(0x6a6)],'wrapStrategy':_0x2e0e2f[_0x53e006(0x2f8)]??((_0x3b6d71=_0x9181ac[_0x53e006(0x6a6)])==null?void 0x0:_0x3b6d71[_0x53e006(0x2f8)])??o[_0x53e006(0x6a7)][_0x53e006(0x387)],'zeroWidthParagraphBreak':((_0x53893e=_0x9181ac[_0x53e006(0x6a6)])==null?void 0x0:_0x53893e[_0x53e006(0x7a9)])??o[_0x53e006(0x6b7)]['TRUE'],'shapeTextOpticalVerticalAlign':_0x46ebca?o['BooleanNumber'][_0x53e006(0x56d)]:o['BooleanNumber'][_0x53e006(0x159)]};_0x46ebca?(delete _0x4a2d54[_0x53e006(0x57f)],delete _0x4a2d54[_0x53e006(0x4bf)]):(_0x4a2d54['centerAngle']=h[_0x53e006(0x6e7)],_0x4a2d54[_0x53e006(0x4bf)]=h[_0x53e006(0x6e7)]),_0x4dadb7[_0x53e006(0x613)]={..._0x9181ac,'documentFlavor':o[_0x53e006(0x6d0)][_0x53e006(0x695)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x44c4af,'height':_0x9d17a5},'renderConfig':_0x4a2d54},Vt(_0x4dadb7),Rt(_0x4dadb7);let _0x32b7e2=It(_0x4dadb7,_0x2e0e2f);return Lt(_0x4dadb7,{'horizontalAlign':_0x32b7e2[_0x53e006(0x15f)],'verticalAlign':_0x2e0e2f[_0x53e006(0x1d3)]??_0x32b7e2[_0x53e006(0x1d3)]}),(_0x2c9149=_0x4dadb7['documentStyle'])==null||(_0x2c9149=_0x2c9149[_0x53e006(0x6a6)])==null||delete _0x2c9149[_0x53e006(0x15f)],zt(_0x4dadb7,(_0x238a07=_0x4dadb7[_0x53e006(0x613)])==null?void 0x0:_0x238a07[_0x53e006(0x6a6)],new Set(['shapeTextOpticalVerticalAlign',_0x53e006(0x1d3),_0x53e006(0x2f8)])),_0x4dadb7;}function Ut(_0x4d373f,_0x4b0e5f){const _0x2fa5b1=_0xdb1731;var _0x2fdd56;return((_0x2fdd56=_0x4d373f[_0x2fa5b1(0x7e5)])==null||(_0x2fdd56=_0x2fdd56[_0x2fa5b1(0x4ac)])==null?void 0x0:_0x2fdd56[_0x2fa5b1(0x4e7)](_0x441596=>{const _0x281a0b=_0x2fa5b1;var _0x329347;return(((_0x329347=_0x441596[_0x281a0b(0x69b)])==null?void 0x0:_0x329347['length'])??0x0)>0x1;}))??!0x1?Math[_0x2fa5b1(0x292)](0x1,_0x4b0e5f):0x1/0x0;}function Wt(_0x4bc4ab,_0x1fdcb6={}){const _0x27ee66=_0xdb1731;let _0x36dec8=Gt(_0x4bc4ab);At(_0x36dec8,_0x1fdcb6['bodyBehavior']);let _0x4c0342=_0x36dec8[_0x27ee66(0x613)]??{},_0x30168d={..._0x4c0342[_0x27ee66(0x6a6)]},_0x5e256e=It(_0x36dec8,_0x1fdcb6),_0x2382eb=_0x1fdcb6[_0x27ee66(0x15f)]??_0x5e256e[_0x27ee66(0x15f)],_0x58666c=_0x1fdcb6['verticalAlign']??_0x5e256e['verticalAlign'];delete _0x30168d[_0x27ee66(0x57f)],delete _0x30168d[_0x27ee66(0x4bf)],delete _0x30168d[_0x27ee66(0x2f8)];let _0x11549e=_0x30168d[_0x27ee66(0xf4)];return(_0x11549e===o[_0x27ee66(0x6b7)]['TRUE']||_0x11549e===!0x0||_0x11549e===o[_0x27ee66(0x6b7)][_0x27ee66(0x56d)]||_0x11549e===!0x1)&&delete _0x30168d[_0x27ee66(0xf4)],_0x36dec8['documentStyle']={..._0x4c0342,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x27ee66(0x30b)](_0x30168d)[_0x27ee66(0x6e2)]>0x0?_0x30168d:void 0x0},Lt(_0x36dec8,{'horizontalAlign':_0x2382eb,'verticalAlign':_0x58666c}),Bt(_0x36dec8),_0x36dec8;}function Gt(_0x5d6a3d){const _0x2caa09=_0xdb1731;var _0x55182f,_0x2e147e;return{..._0x5d6a3d,'body':_0x5d6a3d[_0x2caa09(0x7e5)]?{..._0x5d6a3d[_0x2caa09(0x7e5)],'paragraphs':(_0x55182f=_0x5d6a3d[_0x2caa09(0x7e5)]['paragraphs'])==null?void 0x0:_0x55182f['map'](_0x5bae8c=>({..._0x5bae8c,'paragraphStyle':Kt(_0x5bae8c[_0x2caa09(0x2e9)])})),'sectionBreaks':(_0x2e147e=_0x5d6a3d[_0x2caa09(0x7e5)][_0x2caa09(0x4ac)])==null?void 0x0:_0x2e147e['map'](_0x52b731=>({..._0x52b731,'renderConfig':Kt(_0x52b731[_0x2caa09(0x6a6)])}))}:_0x5d6a3d[_0x2caa09(0x7e5)],'documentStyle':_0x5d6a3d[_0x2caa09(0x613)]?{..._0x5d6a3d[_0x2caa09(0x613)],'renderConfig':Kt(_0x5d6a3d[_0x2caa09(0x613)]['renderConfig'])}:_0x5d6a3d[_0x2caa09(0x613)]};}function Kt(_0x187b5c){const _0x51f3fc=_0xdb1731;return Array[_0x51f3fc(0x343)](_0x187b5c)?_0x187b5c[_0x51f3fc(0x50f)](_0x28a6c1=>Kt(_0x28a6c1)):!_0x187b5c||typeof _0x187b5c!=_0x51f3fc(0x4fa)?_0x187b5c:Object[_0x51f3fc(0x673)](Object['entries'](_0x187b5c)[_0x51f3fc(0x50f)](([_0x307cd6,_0x10f172])=>[_0x307cd6,Kt(_0x10f172)]));}function qt(_0x56310d){const _0x3eaa07=_0xdb1731;let _0x1ca119=Dt(_0x56310d[_0x3eaa07(0x668)]);return{..._0x1ca119,'isHorizontal':_0x56310d[_0x3eaa07(0x223)]??_0x1ca119[_0x3eaa07(0x223)]??!0x0,'dataModel':_0x56310d[_0x3eaa07(0x2d7)]};}function Jt(_0x31297b,_0x25d75c){return{'id':_0x31297b,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,o['createParagraphId'])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x25d75c,'height':0x1/0x0}}};}function Yt(_0x525097){const _0x6a0ae5=_0xdb1731;let {editorUnitId:_0x48c15b,pageWidth:_0x16c46b,shapeData:_0x53efcc}=_0x525097,_0x299604=(_0x53efcc==null?void 0x0:_0x53efcc[_0x6a0ae5(0x527)])??Jt(_0x48c15b,_0x16c46b);return _0x53efcc?Ht(_0x299604,{'bodyBehavior':_0x53efcc[_0x6a0ae5(0x6bb)],'isHorizontal':_0x53efcc[_0x6a0ae5(0x223)],'textRect':_0x53efcc['textRect'],'verticalAlign':_0x53efcc[_0x6a0ae5(0x1d3)],'horizontalAlign':_0x53efcc[_0x6a0ae5(0x15f)],'wrapStrategy':_0x53efcc[_0x6a0ae5(0x2f8)]}):_0x299604;}function Xt(_0x2dd14a,..._0x5af6ab){const _0x7bc0cb=_0xdb1731;_0x2dd14a[_0x7bc0cb(0x25b)](..._0x5af6ab),_0x2dd14a['clearUndoRedoHistory']();}function Zt(_0x227928){const _0x2d3c61=_0xdb1731;return _0x227928[_0x2d3c61(0xc2)]()?_0x227928[_0x2d3c61(0x4b0)]():null;}function Qt(_0x3e7467){const _0x15e8b0=_0xdb1731;return _0x3e7467[_0x15e8b0(0x496)](/\r\n/g,'\x0a')[_0x15e8b0(0x496)](/\r/g,'\x0a');}function $t(_0x20926e){const _0x459a32=_0xdb1731;if(_0x20926e&&_0x459a32(0x39b)in _0x20926e&&typeof _0x20926e[_0x459a32(0x39b)]==_0x459a32(0x435))return _0x20926e[_0x459a32(0x39b)];}function en(_0x21f75a){const _0x5ca466=_0xdb1731;if(!_0x21f75a||!('isRichText'in _0x21f75a)||_0x21f75a[_0x5ca466(0x680)]!==!0x1)return;let _0x7addde=_0x21f75a;return{..._0x21f75a[_0x5ca466(0x458)]?{'ff':_0x21f75a[_0x5ca466(0x458)]}:{},..._0x21f75a[_0x5ca466(0x47a)]===void 0x0?{}:{'fs':_0x21f75a['fontSize']},..._0x21f75a[_0x5ca466(0x591)]?{'cl':{'rgb':_0x21f75a[_0x5ca466(0x591)]}}:{},..._0x21f75a[_0x5ca466(0x5e3)]===void 0x0?{}:{'bl':_0x21f75a[_0x5ca466(0x5e3)]?o['BooleanNumber']['TRUE']:o[_0x5ca466(0x6b7)]['FALSE']},..._0x21f75a[_0x5ca466(0x4b5)]===void 0x0?{}:{'it':_0x21f75a[_0x5ca466(0x4b5)]?o[_0x5ca466(0x6b7)][_0x5ca466(0x159)]:o[_0x5ca466(0x6b7)]['FALSE']},..._0x21f75a['underline']===void 0x0?{}:{'ul':{'s':_0x21f75a[_0x5ca466(0x508)]?o['BooleanNumber'][_0x5ca466(0x159)]:o[_0x5ca466(0x6b7)][_0x5ca466(0x56d)]}},..._0x7addde[_0x5ca466(0x1fe)]===void 0x0?{}:{'st':{'s':_0x7addde[_0x5ca466(0x1fe)]?o[_0x5ca466(0x6b7)][_0x5ca466(0x159)]:o[_0x5ca466(0x6b7)][_0x5ca466(0x56d)]}},..._0x7addde[_0x5ca466(0x124)]===void 0x0?{}:{'textFill':_0x7addde['textFill']}};}function tn(_0x44fdc2,_0x14502e=o['HorizontalAlign'][_0xdb1731(0x3ca)],_0x2b338a=''){const _0xe30135=_0xdb1731;let _0x15ae42=Qt(_0x2b338a)[_0xe30135(0x288)]('\x0a'),_0x3eef46=_0x15ae42['join']('\x0d')+'\x0d\x0a',_0x32bdb1=Math[_0xe30135(0x292)](0x0,_0x3eef46[_0xe30135(0x6e2)]-0x2),_0x585e63=new Set(),_0xc64258=0x0,_0x4e0b4b=_0x15ae42[_0xe30135(0x50f)](_0x5e0357=>{const _0xe04ebc=_0xe30135;let _0x2aa19c={'startIndex':_0xc64258+_0x5e0357[_0xe04ebc(0x6e2)],'paragraphId':(0x0,o[_0xe04ebc(0x786)])(_0x585e63),'paragraphStyle':{'horizontalAlign':_0x14502e}};return _0xc64258+=_0x5e0357[_0xe04ebc(0x6e2)]+0x1,_0x2aa19c;});return{'id':'shape-text','body':{'dataStream':_0x3eef46,'textRuns':_0x44fdc2?[{'st':0x0,'ed':Math[_0xe30135(0x292)](0x1,_0x32bdb1),'ts':{..._0x44fdc2}}]:[],'paragraphs':_0x4e0b4b},'documentStyle':{'textStyle':_0x44fdc2?{..._0x44fdc2}:void 0x0}};}function nn(_0x283cde,_0x5476a5){const _0x901f0d=_0xdb1731;let _0x2b4f63=_0x283cde['shapeText'],_0x1c1bb8=X(_0x2b4f63&&_0x901f0d(0x2d7)in _0x2b4f63?_0x2b4f63[_0x901f0d(0x2d7)]:void 0x0),_0x4cb735=_0x5476a5[_0x901f0d(0x15f)]??(_0x1c1bb8==null?void 0x0:_0x1c1bb8['ha'])??o['HorizontalAlign']['LEFT'],_0x396d45={...en(_0x2b4f63),..._0x5476a5[_0x901f0d(0x2c3)]},_0x1a2f87=Object['keys'](_0x396d45)[_0x901f0d(0x6e2)]>0x0;return _0x1c1bb8!=null&&_0x1c1bb8['doc']?{'va':_0x1c1bb8['va']??o[_0x901f0d(0x60a)][_0x901f0d(0x463)],'ha':_0x1c1bb8['ha']??o[_0x901f0d(0x75f)]['LEFT'],'doc':Gt(_0x1c1bb8[_0x901f0d(0x527)])}:{'va':o[_0x901f0d(0x60a)][_0x901f0d(0x463)],'ha':_0x4cb735,'doc':tn(_0x1a2f87?_0x396d45:void 0x0,_0x4cb735,$t(_0x2b4f63)??'')};}function rn(_0x3ea9bd,_0x4c7efb){const _0x253d97=_0xdb1731;let _0x1c9f9b=_0x3ea9bd[_0x253d97(0x668)],_0x54d149=Dt(_0x1c9f9b),_0x5e9900=_0x1c9f9b&&_0x253d97(0x2d7)in _0x1c9f9b&&_0x1c9f9b['dataModel']&&typeof _0x1c9f9b[_0x253d97(0x2d7)]==_0x253d97(0x4fa)?_0x1c9f9b[_0x253d97(0x2d7)]:{},_0x3fc391=$t(_0x1c9f9b),_0x155dc8=nn(_0x3ea9bd,_0x4c7efb),_0x58e9c8=_0x4c7efb[_0x253d97(0x15f)]??_0x155dc8['ha'],_0x673e0c=_0x4c7efb[_0x253d97(0x1d3)]??_0x155dc8['va'],_0x5f50f3=_0x155dc8[_0x253d97(0x527)];if(_0x4c7efb[_0x253d97(0x2c3)]&&_0x5f50f3){var _0x1126be,_0x3ad59d;_0x5f50f3['documentStyle']={..._0x5f50f3['documentStyle'],'textStyle':{...(_0x1126be=_0x5f50f3[_0x253d97(0x613)])==null?void 0x0:_0x1126be[_0x253d97(0x2c3)],..._0x4c7efb[_0x253d97(0x2c3)]}};let _0x3922bd=(_0x3ad59d=_0x5f50f3[_0x253d97(0x7e5)])==null?void 0x0:_0x3ad59d[_0x253d97(0x5db)];if(_0x3922bd){for(let _0x2e0f4f of _0x3922bd)_0x2e0f4f['ts']={..._0x2e0f4f['ts'],..._0x4c7efb[_0x253d97(0x2c3)]};}}return(0x0,S[_0x253d97(0x728)])({'shapeText':{..._0x54d149,'isHorizontal':(_0x1c9f9b==null?void 0x0:_0x1c9f9b['isHorizontal'])??!0x0,..._0x3fc391===void 0x0?{}:{'text':_0x3fc391},'dataModel':{..._0x5e9900,'va':_0x673e0c,'ha':_0x58e9c8,'doc':_0x5f50f3}}},{..._0x4c7efb[_0x253d97(0x15f)]===void 0x0?null:{'horizontalAlign':_0x58e9c8},..._0x4c7efb['verticalAlign']===void 0x0?null:{'verticalAlign':_0x673e0c}});}function an(_0x1657b2){const _0x25939c=_0xdb1731;var _0xe9acf2;return((_0xe9acf2=_0x1657b2[_0x25939c(0x620)])==null?void 0x0:_0xe9acf2['fillType'])??S[_0x25939c(0x30c)]['fillType'];}function on(_0x32639e){const _0x544139=_0xdb1731;switch(_0x32639e){case S[_0x544139(0x17c)][_0x544139(0x5f7)]:return _0x544139(0x498);case S[_0x544139(0x17c)][_0x544139(0x43b)]:return _0x544139(0x4bd);case S[_0x544139(0x17c)][_0x544139(0x736)]:return _0x544139(0x23c);case S[_0x544139(0x17c)][_0x544139(0x2a6)]:default:return'linear';}}function sn(_0x2a6a83){const _0x2d44ae=_0xdb1731;switch(_0x2a6a83){case _0x2d44ae(0x498):return S['ShapeGradientTypeEnum']['Radial'];case'angular':return S[_0x2d44ae(0x17c)]['Angular'];case _0x2d44ae(0x23c):return S['ShapeGradientTypeEnum'][_0x2d44ae(0x736)];default:return S['ShapeGradientTypeEnum'][_0x2d44ae(0x2a6)];}}function cn(_0xd36337,_0x44ceb6,_0x5cd971){const _0x2e84ce=_0xdb1731;let _0x4d07f7=_0xd36337[_0x2e84ce(0x620)];return{'type':on((_0x4d07f7==null?void 0x0:_0x4d07f7[_0x2e84ce(0x12b)])??S['ShapeDefaultConfig'][_0x2e84ce(0x12b)]),'angle':(_0x4d07f7==null?void 0x0:_0x4d07f7[_0x2e84ce(0x63a)])??S['ShapeDefaultConfig']['gradientAngle'],'stops':_0x4d07f7!=null&&_0x4d07f7[_0x2e84ce(0x11e)]&&_0x4d07f7[_0x2e84ce(0x11e)]['length']>=0x2?_0x4d07f7[_0x2e84ce(0x11e)][_0x2e84ce(0x50f)](_0x3e623e=>({'color':_0x3e623e[_0x2e84ce(0x591)],'offset':_0x3e623e[_0x2e84ce(0x1e0)]*0x64,'opacity':_0x3e623e[_0x2e84ce(0x6c0)]})):[{'color':_0x44ceb6,'offset':0x0},{'color':_0x5cd971,'offset':0x64}]};}function ln(_0x198c0b){const _0x2e7a32=_0xdb1731;let {shapeData:_0xdea492,disabled:_0x1be909,onUpdateShapeData:_0x308e08}=_0x198c0b,_0x46d25d=(0x0,s[_0x2e7a32(0x14e)])(o[_0x2e7a32(0x432)]),_0x505851=(0x0,s[_0x2e7a32(0x14e)])(o['IContextService']),_0x234aa2=(0x0,s[_0x2e7a32(0x14e)])(o[_0x2e7a32(0x56e)]),_0x1ac395=(0x0,n['useRef'])(null),_0x4e57f0=_0xdea492[_0x2e7a32(0x620)],_0x3f1628=(_0x4e57f0==null?void 0x0:_0x4e57f0['imageOpacity'])??(_0x4e57f0==null?void 0x0:_0x4e57f0[_0x2e7a32(0x6c0)])??0x1,_0x5518c4=Math[_0x2e7a32(0x573)]((0x1-_0x3f1628)*0x64),_0x118515=_0x4e57f0!=null&&_0x4e57f0[_0x2e7a32(0x642)]&&/^(?:data:|https?:)/[_0x2e7a32(0x563)](_0x4e57f0['fillImageSource'])?_0x4e57f0[_0x2e7a32(0x642)]:void 0x0,_0xebe53=_0x246f4a=>{const _0xbf7689=_0x2e7a32;_0x308e08({'oldShapeData':{'fill':_0x4e57f0?{..._0x4e57f0}:void 0x0}},{'fill':{..._0x4e57f0,'fillType':S[_0xbf7689(0x3ff)][_0xbf7689(0x10f)],'imageFillMode':(_0x4e57f0==null?void 0x0:_0x4e57f0['imageFillMode'])??S[_0xbf7689(0x13d)]['Stretch'],..._0x246f4a}},{'fill':_0x246f4a});};return(0x0,r[_0x2e7a32(0x565)])(_0x2e7a32(0x73f),{'className':_0x2e7a32(0x4a1),'children':[(0x0,r['jsxs'])(_0x2e7a32(0x73f),{'className':_0x2e7a32(0xdd),'children':[(0x0,r[_0x2e7a32(0x6c7)])(_0x2e7a32(0x733),{'className':_0x2e7a32(0x2e6),'children':_0x46d25d['t'](_0x2e7a32(0x13b))}),(0x0,r[_0x2e7a32(0x6c7)])('input',{'ref':_0x1ac395,'type':'file','accept':_0x2e7a32(0x324),'className':_0x2e7a32(0x2bc),'onChange':async _0x10ca15=>{const _0x1dc9a5=_0x2e7a32;var _0x760b9f;let _0x237e9e=(_0x760b9f=_0x10ca15['target']['files'])==null?void 0x0:_0x760b9f[0x0];if(!_0x237e9e)return;_0x10ca15['target'][_0x1dc9a5(0x7e2)]='';let _0x1008f2=await _0x234aa2[_0x1dc9a5(0x262)](_0x237e9e);if(_0x1008f2==null)return;let {imageSourceType:_0x32353d,source:_0x2ab3e9,base64Cache:_0x496981}=_0x1008f2,{image:_0x1966f4}=await(0x0,x[_0x1dc9a5(0x257)])(_0x496981||'');_0x234aa2['addImageSourceCache'](_0x2ab3e9,_0x32353d,_0x1966f4),_0xebe53({'fillImageSource':_0x2ab3e9,'fillImageSourceType':_0x32353d,'imageOpacity':_0x3f1628});}}),(0x0,r[_0x2e7a32(0x6c7)])(_0x2e7a32(0x4c8),{'type':'button','disabled':_0x1be909,'onClick':()=>{const _0x8905b5=_0x2e7a32;var _0x52b788;return(_0x52b788=_0x1ac395[_0x8905b5(0x1b2)])==null?void 0x0:_0x52b788[_0x8905b5(0x331)]();},'className':'univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':_0x46d25d['t']('shape-editor-ui.fill.picture.insert')})]}),_0x118515&&(0x0,r[_0x2e7a32(0x6c7)])(_0x2e7a32(0x61b),{'src':_0x118515,'alt':'','className':_0x2e7a32(0x29d)}),(0x0,r['jsxs'])(_0x2e7a32(0x73f),{'className':_0x2e7a32(0xdd),'children':[(0x0,r[_0x2e7a32(0x6c7)])(_0x2e7a32(0x733),{'className':_0x2e7a32(0x2e6),'children':_0x46d25d['t'](_0x2e7a32(0x26d))}),(0x0,r[_0x2e7a32(0x6c7)])(_0x2e7a32(0x73f),{'className':'univer-w-20','children':(0x0,r[_0x2e7a32(0x6c7)])(e['InputNumber'],{'className':_0x2e7a32(0x2ac),'value':_0x5518c4,'disabled':_0x1be909,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x6b474a=>_0x6b474a+'%','parser':_0x4e0776=>(_0x4e0776==null?void 0x0:_0x4e0776[_0x2e7a32(0x496)]('%',''))||'','onChange':_0x28497a=>{const _0x4e5dd4=_0x2e7a32;_0xebe53({'imageOpacity':(0x64-Math[_0x4e5dd4(0x292)](0x0,Math['min'](0x64,_0x28497a??0x0)))/0x64}),_0x505851['setContextValue'](o[_0x4e5dd4(0x400)],!0x1);},'onFocus':()=>_0x505851[_0x2e7a32(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x505851[_0x2e7a32(0x376)](o[_0x2e7a32(0x400)],!0x1)})})]}),(0x0,r[_0x2e7a32(0x6c7)])(e[_0x2e7a32(0x54d)],{'checked':(_0x4e57f0==null?void 0x0:_0x4e57f0[_0x2e7a32(0x27f)])??!0x1,'disabled':_0x1be909,'onChange':_0xbfc9e0=>{_0xebe53({'imageRotateWithShape':_0xbfc9e0});},'children':(0x0,r[_0x2e7a32(0x6c7)])(_0x2e7a32(0x733),{'className':_0x2e7a32(0x6b2),'children':_0x46d25d['t'](_0x2e7a32(0x76f))})})]});}function un(_0x29e035){const _0xa2949d=_0xdb1731;let {title:_0x13e9f4,shapeData:_0x44ef66,open:_0x52ea1e,disabled:_0x5a2c0e,fallbackColor:_0x16959f=Ct,fallbackGradientEndColor:_0xfe28b6=_0xa2949d(0x344),onOpenChange:_0x3bd9c9,onUpdateShapeData:_0x44608b}=_0x29e035,_0x3f3236=(0x0,s[_0xa2949d(0x14e)])(o[_0xa2949d(0x432)]),[_0x1f24a7,_0x1db023]=(0x0,n[_0xa2949d(0x48e)])(!0x1),_0x339fca=_0x52ea1e??_0x1f24a7,_0x39f2b9=_0x3bd9c9??_0x1db023,_0x53ce90=(0x0,n[_0xa2949d(0x5d5)])(!0x1),_0x33fe0f=(0x0,n[_0xa2949d(0x5d5)])(null),_0xbaeb0=()=>{const _0x1e7d52=_0xa2949d;_0x53ce90[_0x1e7d52(0x1b2)]=!0x0,_0x33fe0f[_0x1e7d52(0x1b2)]&&clearTimeout(_0x33fe0f['current']),_0x33fe0f[_0x1e7d52(0x1b2)]=setTimeout(()=>{const _0x390528=_0x1e7d52;_0x53ce90[_0x390528(0x1b2)]=!0x1,_0x33fe0f[_0x390528(0x1b2)]=null;},0x1f4);},_0x3f8621=_0xca4972=>{const _0x5150cc=_0xa2949d;!_0xca4972&&_0x53ce90[_0x5150cc(0x1b2)]||_0x39f2b9(_0xca4972);},_0x4ab2de=_0x44ef66[_0xa2949d(0x620)],_0x27ed3d=an(_0x44ef66),_0x3f0223=(_0x4ab2de==null?void 0x0:_0x4ab2de[_0xa2949d(0x591)])??_0x16959f,_0x57ae8e=(_0x34ac4b,_0x48e72c)=>{_0x44608b({'oldShapeData':{'fill':_0x4ab2de?{..._0x4ab2de}:void 0x0}},{'fill':_0x34ac4b},{'fill':_0x48e72c});},_0x1b4100=()=>{const _0x5dbac0=_0xa2949d;let _0x31bd68=cn(_0x44ef66,_0x3f0223,_0xfe28b6);return{..._0x4ab2de,'fillType':S[_0x5dbac0(0x3ff)][_0x5dbac0(0x75a)],'color':_0x3f0223,'gradientType':sn(_0x31bd68[_0x5dbac0(0x5dd)]),'gradientAngle':_0x31bd68['angle'],'gradientStops':_0x31bd68['stops']['map'](_0xc4de09=>({'position':_0xc4de09[_0x5dbac0(0x319)]/0x64,'color':_0xc4de09[_0x5dbac0(0x591)],'opacity':_0xc4de09[_0x5dbac0(0x6c0)]}))};};return(0x0,r[_0xa2949d(0x6c7)])(e['Dropdown'],{'disabled':_0x5a2c0e,'open':_0x339fca,'onOpenChange':_0x3f8621,'overlay':(0x0,r[_0xa2949d(0x6c7)])(_0xa2949d(0x73f),{'onPointerDownCapture':_0x5c91fc=>{_0xbaeb0(),Q(_0x5c91fc);},'onMouseDownCapture':_0x55796f=>{_0xbaeb0(),Q(_0x55796f);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x128161=>_0x128161['stopPropagation'](),'className':(0x0,e[_0xa2949d(0x221)])(_0xa2949d(0x71f),'univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900'),'children':(0x0,r['jsx'])(E,{'compact':!0x0,'disabled':_0x5a2c0e,'direction':_0x3f3236[_0xa2949d(0x572)](),'value':_0x27ed3d,'typeValues':Et,'color':_0x3f0223,'transparency':Math[_0xa2949d(0x573)]((0x1-((_0x4ab2de==null?void 0x0:_0x4ab2de[_0xa2949d(0x6c0)])??0x1))*0x64),'gradientValue':cn(_0x44ef66,_0x3f0223,_0xfe28b6),'labels':{'noFill':_0x3f3236['t'](_0xa2949d(0x622)),'solidFill':_0x3f3236['t'](_0xa2949d(0x1c4)),'gradientFill':_0x3f3236['t'](_0xa2949d(0x10c)),'pictureFill':_0x3f3236['t']('shape-editor-ui.fill.pictureFill'),'color':_0x3f3236['t'](_0xa2949d(0x55f)),'transparency':_0x3f3236['t'](_0xa2949d(0x26d))},'tabLabels':{'noFill':_0x3f3236['t'](_0xa2949d(0x622)),'solidFill':_0x3f3236['t'](_0xa2949d(0x1c4)),'gradientFill':_0x3f3236['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x3f3236['t'](_0xa2949d(0x605))},'renderColorIcon':_0x1756a2=>(0x0,r[_0xa2949d(0x6c7)])(t[_0xa2949d(0x3da)],{'className':_0xa2949d(0x27b),'extend':{'colorChannel1':_0x1756a2}}),'onChange':_0x2f7aad=>{const _0x276e2c=_0xa2949d;if(_0x2f7aad===S[_0x276e2c(0x3ff)]['NoFill'])_0x57ae8e({..._0x4ab2de,'fillType':S['ShapeFillEnum'][_0x276e2c(0x36e)]},{'fillType':S[_0x276e2c(0x3ff)][_0x276e2c(0x36e)]});else{if(_0x2f7aad===S[_0x276e2c(0x3ff)][_0x276e2c(0x732)]){let _0x19d7ee={'fillType':S[_0x276e2c(0x3ff)][_0x276e2c(0x732)],'color':_0x3f0223,'opacity':(_0x4ab2de==null?void 0x0:_0x4ab2de[_0x276e2c(0x6c0)])??0x1};_0x57ae8e({..._0x4ab2de,..._0x19d7ee},_0x19d7ee);}else{if(_0x2f7aad===S['ShapeFillEnum'][_0x276e2c(0x75a)]){let _0x55f048=_0x1b4100();_0x57ae8e(_0x55f048,_0x55f048);}else{if(_0x2f7aad===S[_0x276e2c(0x3ff)][_0x276e2c(0x10f)]){let _0x14fde5={'fillType':S[_0x276e2c(0x3ff)][_0x276e2c(0x10f)],'color':_0x3f0223,'imageOpacity':(_0x4ab2de==null?void 0x0:_0x4ab2de[_0x276e2c(0x1c7)])??0x1,'imageFillMode':(_0x4ab2de==null?void 0x0:_0x4ab2de[_0x276e2c(0x371)])??S[_0x276e2c(0x13d)][_0x276e2c(0x5eb)]};_0x57ae8e({..._0x4ab2de,..._0x14fde5},_0x14fde5);}}}}},'onColorChange':_0x239092=>{const _0x47d311=_0xa2949d;let _0x1e0c82={'fillType':S[_0x47d311(0x3ff)]['SolidFill'],'color':_0x239092};_0x57ae8e({..._0x4ab2de,..._0x1e0c82,'opacity':(_0x4ab2de==null?void 0x0:_0x4ab2de[_0x47d311(0x6c0)])??0x1},_0x1e0c82);},'onTransparencyChange':_0x49b4c4=>{const _0x55514a=_0xa2949d;let _0x4b763d={'fillType':S[_0x55514a(0x3ff)][_0x55514a(0x732)],'opacity':(0x64-Math[_0x55514a(0x292)](0x0,Math[_0x55514a(0x3a3)](0x64,_0x49b4c4)))/0x64};_0x57ae8e({..._0x4ab2de,'color':_0x3f0223,..._0x4b763d},_0x4b763d);},'onGradientChange':_0x284674=>{const _0x1b4be7=_0xa2949d;let _0x2fd92e={'fillType':S[_0x1b4be7(0x3ff)][_0x1b4be7(0x75a)],'gradientType':sn(_0x284674[_0x1b4be7(0x5dd)]),'gradientAngle':_0x284674[_0x1b4be7(0x30e)],'gradientStops':_0x284674[_0x1b4be7(0x6c3)][_0x1b4be7(0x50f)](_0x362003=>({'position':_0x362003[_0x1b4be7(0x319)]/0x64,'color':_0x362003[_0x1b4be7(0x591)],'opacity':_0x362003[_0x1b4be7(0x6c0)]}))};_0x57ae8e({..._0x4ab2de,'color':_0x3f0223,..._0x2fd92e},_0x2fd92e);},'pictureFillEditor':(0x0,r[_0xa2949d(0x6c7)])(ln,{'shapeData':_0x44ef66,'disabled':_0x5a2c0e,'onUpdateShapeData':_0x44608b})})}),'children':(0x0,r[_0xa2949d(0x6c7)])(_0xa2949d(0x733),{'children':(0x0,r['jsx'])(e[_0xa2949d(0x128)],{'title':_0x13e9f4,'placement':_0xa2949d(0x3f5),'visible':!_0x339fca&&void 0x0,'children':(0x0,r[_0xa2949d(0x565)])(_0xa2949d(0x4c8),{'type':_0xa2949d(0x4c8),'disabled':_0x5a2c0e,'className':(0x0,e['clsx'])(_0xa2949d(0x6af),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x339fca}),'children':[(0x0,r[_0xa2949d(0x6c7)])(t[_0xa2949d(0x3da)],{'className':_0xa2949d(0x45e),'extend':{'colorChannel1':_0x27ed3d===S[_0xa2949d(0x3ff)][_0xa2949d(0x36e)]?_0xa2949d(0x68f):_0x3f0223}}),(0x0,r['jsx'])(t[_0xa2949d(0x7c6)],{'className':(0x0,e[_0xa2949d(0x221)])(_0xa2949d(0x1dc),{'univer-rotate-180':_0x339fca})})]})})})});}function dn(_0x56421e){const _0x2a4b28=_0xdb1731;switch(_0x56421e){case S[_0x2a4b28(0x120)][_0x2a4b28(0x75e)]:case S['ShapeLineDashEnum']['SquareDot']:return'1\x203';case S[_0x2a4b28(0x120)][_0x2a4b28(0x2cb)]:return _0x2a4b28(0x5c8);case S[_0x2a4b28(0x120)][_0x2a4b28(0x657)]:return'4\x202\x201\x202';case S['ShapeLineDashEnum'][_0x2a4b28(0x2a9)]:return'8\x202';case S[_0x2a4b28(0x120)][_0x2a4b28(0x266)]:return _0x2a4b28(0x7de);case S['ShapeLineDashEnum']['LongDashDotDot']:return'8\x202\x201\x202\x201\x202';case S['ShapeLineDashEnum'][_0x2a4b28(0x158)]:default:return;}}function fn(_0x4427fb){const _0x9a0473=_0xdb1731;let {lineStrokeType:_0x54270f,dashType:_0x2c19d6,color:_0x4f87d1=_0x9a0473(0x625),width:_0x41ad17=0x2,className:_0x53401b}=_0x4427fb;return _0x54270f===S[_0x9a0473(0x3d7)][_0x9a0473(0x518)]?(0x0,r[_0x9a0473(0x565)])('span',{'className':(0x0,e['clsx'])(_0x9a0473(0x2e7),_0x53401b),'children':[(0x0,r[_0x9a0473(0x6c7)])(_0x9a0473(0x733),{'className':'univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300'}),(0x0,r['jsx'])(_0x9a0473(0x733),{'className':_0x9a0473(0x52a)})]}):(0x0,r[_0x9a0473(0x6c7)])(_0x9a0473(0x526),{'className':(0x0,e[_0x9a0473(0x221)])('univer-h-5\x20univer-w-12',_0x53401b),'viewBox':_0x9a0473(0x1a9),'aria-hidden':'true','children':(0x0,r[_0x9a0473(0x6c7)])(_0x9a0473(0x598),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x4f87d1,'strokeWidth':Math['max'](0x1,Math[_0x9a0473(0x3a3)](0x4,_0x41ad17)),'strokeDasharray':dn(_0x2c19d6),'strokeLinecap':_0x2c19d6===S[_0x9a0473(0x120)][_0x9a0473(0x75e)]?_0x9a0473(0x573):'butt'})});}function pn(_0x37b965){const _0x51abcf=_0xdb1731;let {dashType:_0x34f19a,color:_0x3fd800,width:_0xf08ccb}=_0x37b965;return(0x0,r[_0x51abcf(0x6c7)])(_0x51abcf(0x733),{'className':_0x51abcf(0x320),'children':(0x0,r['jsx'])(fn,{'dashType':_0x34f19a,'color':_0x3fd800,'width':_0xf08ccb})});}const mn=['none',_0xdb1731(0x655),_0xdb1731(0x46c)],hn={'min':0x1,'max':0xa,'step':0x1};function gn(_0x7125ff,_0x161717,_0xdf4b49){return{'nextShapeData':{'stroke':{..._0x7125ff,..._0x161717,..._0xdf4b49}},'patch':{'stroke':_0xdf4b49}};}function _n(_0x305749){const _0x2b40d2=_0xdb1731;let {label:_0x23ed68,value:_0xf97a22,min:_0x32018b,max:_0x7c70e,step:_0x7723d2,disabled:_0x399356,suffix:_0x459d6b='',onChange:_0xe86451}=_0x305749;return(0x0,r[_0x2b40d2(0x565)])(_0x2b40d2(0x73f),{'className':_0x2b40d2(0x23b),'children':[(0x0,r[_0x2b40d2(0x565)])('div',{'className':_0x2b40d2(0xdd),'children':[(0x0,r[_0x2b40d2(0x6c7)])(_0x2b40d2(0x733),{'className':'univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x23ed68}),(0x0,r['jsxs'])(_0x2b40d2(0x733),{'className':_0x2b40d2(0x125),'children':[_0xf97a22,_0x459d6b]})]}),(0x0,r['jsx'])(_0x2b40d2(0x61f),{'type':_0x2b40d2(0x55a),'min':_0x32018b,'max':_0x7c70e,'step':_0x7723d2,'value':_0xf97a22,'disabled':_0x399356,'onChange':_0x28aab4=>_0xe86451(Number(_0x28aab4[_0x2b40d2(0x5a0)][_0x2b40d2(0x7e2)])),'className':_0x2b40d2(0x37e)})]});}function vn(_0x93eb67){const _0x4ace82=_0xdb1731;let {title:_0x99ee5c,shapeData:_0x5be53b,disabled:_0x4c196b,resetLabel:_0x5e9827='',modeOptions:_0x10c80e=mn,showDashDropdown:_0x152182=!0x0,fallbackColor:_0x8bcd0=wt,widthRange:_0x2523de=hn,onReset:_0x36321,onRequestClose:_0xd5dff8,onUpdateShapeData:_0x252953}=_0x93eb67,_0x135089=(0x0,s[_0x4ace82(0x14e)])(o[_0x4ace82(0x432)]),_0xa08099=(0x0,s[_0x4ace82(0x474)])(_0x135089[_0x4ace82(0x3c3)],_0x135089[_0x4ace82(0x572)]()),[_0x45c7c4,_0x5eec4c]=(0x0,n['useState'])(!0x1),[_0x1cbfbd,_0x4c8ded]=(0x0,n[_0x4ace82(0x48e)])(!0x1),_0x121b0d=_0x5be53b['stroke'],_0x173f68=(_0x121b0d==null?void 0x0:_0x121b0d['color'])??_0x8bcd0,_0x58240a=Math[_0x4ace82(0x292)](_0x2523de[_0x4ace82(0x3a3)],Math['min'](_0x2523de[_0x4ace82(0x292)],Math[_0x4ace82(0x573)]((_0x121b0d==null?void 0x0:_0x121b0d[_0x4ace82(0x514)])??S[_0x4ace82(0x30c)]['strokeWidth']))),_0x340070=Math['round']((0x1-((_0x121b0d==null?void 0x0:_0x121b0d[_0x4ace82(0x6c0)])??S['ShapeDefaultConfig'][_0x4ace82(0x34c)]))*0x64),_0x3a4f95=(_0x121b0d==null?void 0x0:_0x121b0d['dashType'])??S[_0x4ace82(0x30c)][_0x4ace82(0x21b)],_0x1b1a8=(_0x121b0d==null?void 0x0:_0x121b0d[_0x4ace82(0x2dd)])??S['ShapeDefaultConfig'][_0x4ace82(0x49c)],_0x2ad05f=_0x1b1a8!==S[_0x4ace82(0x3d7)][_0x4ace82(0x518)]&&_0x3a4f95!==S[_0x4ace82(0x120)]['Solid']&&_0x3a4f95!==S[_0x4ace82(0x120)][_0x4ace82(0x2cb)],_0x1709dd=_0x1b1a8===S[_0x4ace82(0x3d7)][_0x4ace82(0x518)]?_0x4ace82(0x79d):_0x3a4f95===S['ShapeLineDashEnum'][_0x4ace82(0x158)]?_0x4ace82(0x655):_0x3a4f95===S[_0x4ace82(0x120)]['RoundDot']||_0x3a4f95===S[_0x4ace82(0x120)]['SquareDot']?_0x4ace82(0x5ba):_0x3a4f95===S[_0x4ace82(0x120)][_0x4ace82(0x2cb)]?_0x4ace82(0x46c):_0x4ace82(0xf3),_0x483df6=[{'label':(0x0,r[_0x4ace82(0x6c7)])(pn,{'dashType':S[_0x4ace82(0x120)]['Solid'],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)][_0x4ace82(0x158)])},{'label':(0x0,r[_0x4ace82(0x6c7)])(pn,{'dashType':S[_0x4ace82(0x120)]['RoundDot'],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)][_0x4ace82(0x75e)])},{'label':(0x0,r['jsx'])(pn,{'dashType':S[_0x4ace82(0x120)]['SquareDot'],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)]['SquareDot'])},{'label':(0x0,r[_0x4ace82(0x6c7)])(pn,{'dashType':S[_0x4ace82(0x120)][_0x4ace82(0x2cb)],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)]['Dash'])},{'label':(0x0,r[_0x4ace82(0x6c7)])(pn,{'dashType':S[_0x4ace82(0x120)][_0x4ace82(0x657)],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)][_0x4ace82(0x657)])},{'label':(0x0,r['jsx'])(pn,{'dashType':S['ShapeLineDashEnum'][_0x4ace82(0x2a9)],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)][_0x4ace82(0x2a9)])},{'label':(0x0,r[_0x4ace82(0x6c7)])(pn,{'dashType':S['ShapeLineDashEnum'][_0x4ace82(0x266)],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)]['LongDashDot'])},{'label':(0x0,r[_0x4ace82(0x6c7)])(pn,{'dashType':S[_0x4ace82(0x120)][_0x4ace82(0x3fe)],'color':_0x173f68,'width':_0x58240a}),'value':String(S[_0x4ace82(0x120)][_0x4ace82(0x3fe)])}],_0x95f99b={'none':_0x135089['t']('shape-editor-ui.line.noLine'),'solid':_0x135089['t'](_0x4ace82(0x6db)),'dash':_0x135089['t'](_0x4ace82(0x50e)),'dot':_0x135089['t'](_0x4ace82(0x240))},_0x151b8c=_0x44c371=>{const _0x211fe3=_0x4ace82;let _0x4b9bd2=gn(_0x5be53b[_0x211fe3(0x45b)],{'lineStrokeType':_0x1b1a8,'color':_0x173f68,'width':_0x58240a,'opacity':(_0x121b0d==null?void 0x0:_0x121b0d[_0x211fe3(0x6c0)])??S[_0x211fe3(0x30c)][_0x211fe3(0x34c)],'dashType':_0x3a4f95},_0x44c371);_0x252953({'oldShapeData':{'stroke':_0x5be53b[_0x211fe3(0x45b)]}},_0x4b9bd2['nextShapeData'],_0x4b9bd2['patch']);},_0x3a808c=_0xa91d68=>{const _0x3e09a7=_0x4ace82;if(_0xa91d68===_0x3e09a7(0x79d)){_0x5eec4c(!0x1),_0x151b8c({'lineStrokeType':S['ShapeLineTypeEnum']['NoLine']});return;}_0x151b8c({'lineStrokeType':S[_0x3e09a7(0x3d7)][_0x3e09a7(0x4aa)],'dashType':_0xa91d68==='solid'?S[_0x3e09a7(0x120)]['Solid']:_0xa91d68===_0x3e09a7(0x5ba)?S['ShapeLineDashEnum'][_0x3e09a7(0x75e)]:S[_0x3e09a7(0x120)][_0x3e09a7(0x2cb)]});};return(0x0,r[_0x4ace82(0x6c7)])(_0x4ace82(0x73f),{'dir':_0xa08099,'onPointerDown':$,'onPointerMove':()=>_0x4c8ded(!0x0),'onMouseDown':$,'onClick':_0x48ce42=>{const _0x5942f7=_0x4ace82;_0x48ce42[_0x5942f7(0x3dd)](),(!(_0x48ce42[_0x5942f7(0x5a0)]instanceof HTMLElement)||!_0x48ce42[_0x5942f7(0x5a0)][_0x5942f7(0x70b)](_0x5942f7(0x686)))&&_0x5eec4c(!0x1);},'className':(0x0,e['clsx'])(_0x4ace82(0x6de)),'children':(0x0,r[_0x4ace82(0x565)])(_0x4ace82(0x73f),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r[_0x4ace82(0x6c7)])(_0x4ace82(0x733),{'className':_0x4ace82(0x6ad),'children':_0x99ee5c}),(0x0,r[_0x4ace82(0x565)])(_0x4ace82(0x73f),{'className':(0x0,e[_0x4ace82(0x221)])(_0x4ace82(0x232),_0x152182&&_0x10c80e[_0x4ace82(0x2ed)](_0x4ace82(0x46c))?_0x4ace82(0x362):_0x4ace82(0x660)),'children':[_0x10c80e['map'](_0x3c7a5c=>(0x0,r[_0x4ace82(0x6c7)])(e[_0x4ace82(0x128)],{'title':_0x95f99b[_0x3c7a5c],'placement':_0x4ace82(0x606),'visible':_0x1cbfbd?void 0x0:!0x1,'children':(0x0,r[_0x4ace82(0x6c7)])(_0x4ace82(0x4c8),{'type':_0x4ace82(0x4c8),'disabled':_0x4c196b,'aria-label':_0x95f99b[_0x3c7a5c],'onClick':()=>_0x3a808c(_0x3c7a5c),'className':(0x0,e[_0x4ace82(0x221)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x1709dd===_0x3c7a5c}),'children':(0x0,r[_0x4ace82(0x6c7)])(fn,{'lineStrokeType':_0x3c7a5c===_0x4ace82(0x79d)?S['ShapeLineTypeEnum'][_0x4ace82(0x518)]:S[_0x4ace82(0x3d7)]['SolidLine'],'dashType':_0x3c7a5c===_0x4ace82(0x46c)?S[_0x4ace82(0x120)][_0x4ace82(0x2cb)]:_0x3c7a5c===_0x4ace82(0x5ba)?S[_0x4ace82(0x120)][_0x4ace82(0x75e)]:S[_0x4ace82(0x120)]['Solid'],'color':_0x3c7a5c===_0x4ace82(0x79d)?void 0x0:_0x173f68,'width':_0x3c7a5c==='none'?0x2:_0x58240a})})},_0x3c7a5c)),_0x152182&&_0x10c80e[_0x4ace82(0x2ed)](_0x4ace82(0x46c))&&(0x0,r[_0x4ace82(0x6c7)])(e[_0x4ace82(0x462)],{'disabled':_0x4c196b||_0x1b1a8===S[_0x4ace82(0x3d7)][_0x4ace82(0x518)],'open':_0x45c7c4,'onOpenChange':_0x5eec4c,'overlay':(0x0,r[_0x4ace82(0x6c7)])(_0x4ace82(0x73f),{'dir':_0xa08099,'data-u-comp':'shape-stroke-dash-dropdown','onPointerDown':$,'onMouseDown':$,'onClick':_0x23ec10=>_0x23ec10[_0x4ace82(0x3dd)](),'className':_0x4ace82(0x3f2),'children':_0x483df6[_0x4ace82(0x50f)](_0x4a80b2=>(0x0,r[_0x4ace82(0x6c7)])(_0x4ace82(0x4c8),{'type':_0x4ace82(0x4c8),'onClick':()=>{const _0x28be6b=_0x4ace82;let _0x325097=Number(_0x4a80b2['value']);_0x151b8c({'lineStrokeType':S['ShapeLineTypeEnum'][_0x28be6b(0x4aa)],'dashType':_0x325097}),_0x5eec4c(!0x1);},'className':(0x0,e['clsx'])(_0x4ace82(0x317),{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x4a80b2[_0x4ace82(0x7e2)]===String(_0x3a4f95)}),'children':_0x4a80b2[_0x4ace82(0x60e)]},_0x4a80b2[_0x4ace82(0x7e2)]))}),'children':(0x0,r['jsx'])(_0x4ace82(0x733),{'className':_0x4ace82(0xec),'data-u-comp':_0x4ace82(0x437),'children':(0x0,r[_0x4ace82(0x6c7)])(e['Tooltip'],{'title':_0x135089['t'](_0x4ace82(0x50e)),'placement':_0x4ace82(0x606),'visible':_0x1cbfbd?void 0x0:!0x1,'children':(0x0,r[_0x4ace82(0x565)])('button',{'type':_0x4ace82(0x4c8),'role':'combobox','aria-expanded':_0x45c7c4,'disabled':_0x4c196b||_0x1b1a8===S['ShapeLineTypeEnum'][_0x4ace82(0x518)],'onClick':_0x4fea98=>{const _0x33a89c=_0x4ace82;_0x4fea98[_0x33a89c(0x3dd)](),_0x5eec4c(_0x15c7c2=>!_0x15c7c2);},'className':(0x0,e[_0x4ace82(0x221)])(_0x4ace82(0x6eb),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x2ad05f}),'children':[(0x0,r[_0x4ace82(0x6c7)])(fn,{'dashType':S['ShapeLineDashEnum']['LongDashDot'],'color':_0x173f68,'width':_0x58240a,'className':_0x4ace82(0x47b)}),(0x0,r['jsx'])(t[_0x4ace82(0x7c6)],{'className':(0x0,e[_0x4ace82(0x221)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x45c7c4})})]})})})})]}),(0x0,r[_0x4ace82(0x6c7)])(_n,{'label':_0x135089['t'](_0x4ace82(0x635)),'value':_0x58240a,'min':_0x2523de['min'],'max':_0x2523de[_0x4ace82(0x292)],'step':_0x2523de['step'],'disabled':_0x4c196b||_0x1b1a8===S['ShapeLineTypeEnum'][_0x4ace82(0x518)],'onChange':_0x370e51=>{const _0x280f4c=_0x4ace82;_0x151b8c({'lineStrokeType':S['ShapeLineTypeEnum'][_0x280f4c(0x4aa)],'width':_0x370e51});}}),(0x0,r[_0x4ace82(0x6c7)])(e[_0x4ace82(0x169)],{}),_0x36321&&(0x0,r['jsx'])(_0x4ace82(0x4c8),{'type':_0x4ace82(0x4c8),'disabled':_0x4c196b,'onClick':()=>{_0x36321(),_0xd5dff8==null||_0xd5dff8();},'className':_0x4ace82(0x326),'children':_0x5e9827}),(0x0,r[_0x4ace82(0x6c7)])(e[_0x4ace82(0x2d0)],{'value':_0x173f68,'onChange':_0x3d5a00=>{const _0x2b4702=_0x4ace82;_0x151b8c({'lineStrokeType':S[_0x2b4702(0x3d7)][_0x2b4702(0x4aa)],'color':_0x3d5a00});}}),(0x0,r[_0x4ace82(0x6c7)])(_n,{'label':_0x135089['t'](_0x4ace82(0x757)),'value':_0x340070,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x4c196b||_0x1b1a8===S[_0x4ace82(0x3d7)][_0x4ace82(0x518)],'onChange':_0x171d72=>{const _0x13f854=_0x4ace82;_0x151b8c({'opacity':(0x64-Math[_0x13f854(0x292)](0x0,Math[_0x13f854(0x3a3)](0x64,_0x171d72)))/0x64});}})]})});}function yn(_0x3425e5){const _0x4be4a2=_0xdb1731;let {title:_0x13f0ef,shapeData:_0x2e397f,open:_0x5efb83,disabled:_0x2adb7e,resetLabel:_0x216a6d,fallbackColor:_0x171be9=wt,onReset:_0xbabeb9,onOpenChange:_0x194af8,onUpdateShapeData:_0x22e58d}=_0x3425e5,[_0x4cb06a,_0x1a56a5]=(0x0,n[_0x4be4a2(0x48e)])(!0x1),_0x44dd1f=_0x5efb83??_0x4cb06a,_0x6faa9b=_0x194af8??_0x1a56a5,_0x399afb=(0x0,n[_0x4be4a2(0x5d5)])(!0x1),_0x31d1a7=(0x0,n[_0x4be4a2(0x5d5)])(null),_0x11a367=()=>{const _0x2fee5f=_0x4be4a2;_0x399afb['current']=!0x0,_0x31d1a7[_0x2fee5f(0x1b2)]&&clearTimeout(_0x31d1a7[_0x2fee5f(0x1b2)]),_0x31d1a7[_0x2fee5f(0x1b2)]=setTimeout(()=>{const _0x47cc2c=_0x2fee5f;_0x399afb[_0x47cc2c(0x1b2)]=!0x1,_0x31d1a7['current']=null;},0x1f4);},_0x1c43e3=_0x53c35d=>{const _0xb0cd07=_0x4be4a2;!_0x53c35d&&_0x399afb[_0xb0cd07(0x1b2)]||_0x6faa9b(_0x53c35d);},_0x5c870a=_0x2e397f[_0x4be4a2(0x45b)],_0x5f4522=(_0x5c870a==null?void 0x0:_0x5c870a['color'])??_0x171be9;return(0x0,r[_0x4be4a2(0x6c7)])(e[_0x4be4a2(0x462)],{'disabled':_0x2adb7e,'open':_0x44dd1f,'onOpenChange':_0x1c43e3,'overlay':(0x0,r[_0x4be4a2(0x6c7)])(_0x4be4a2(0x73f),{'onPointerDownCapture':_0x5c3270=>{_0x11a367(),Q(_0x5c3270);},'onMouseDownCapture':_0xed8b7=>{_0x11a367(),Q(_0xed8b7);},'children':(0x0,r[_0x4be4a2(0x6c7)])(vn,{'title':_0x13f0ef,'shapeData':_0x2e397f,'disabled':_0x2adb7e,'resetLabel':_0x216a6d,'fallbackColor':_0x171be9,'onReset':_0xbabeb9,'onRequestClose':()=>_0x6faa9b(!0x1),'onUpdateShapeData':_0x22e58d})}),'children':(0x0,r[_0x4be4a2(0x6c7)])(_0x4be4a2(0x733),{'children':(0x0,r[_0x4be4a2(0x6c7)])(e[_0x4be4a2(0x128)],{'title':_0x13f0ef,'placement':_0x4be4a2(0x3f5),'visible':!_0x44dd1f&&void 0x0,'children':(0x0,r[_0x4be4a2(0x565)])(_0x4be4a2(0x4c8),{'type':_0x4be4a2(0x4c8),'aria-label':_0x13f0ef,'disabled':_0x2adb7e,'className':(0x0,e['clsx'])(_0x4be4a2(0x6af),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x44dd1f}),'children':[(0x0,r[_0x4be4a2(0x6c7)])(t['ShapeStrokeColorDoubleIcon'],{'className':_0x4be4a2(0x45e),'extend':{'colorChannel1':_0x5f4522}}),(0x0,r[_0x4be4a2(0x6c7)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x4be4a2(0x1dc),{'univer-rotate-180':_0x44dd1f})})]})})})});}function bn(_0xe7b818){const _0x19940b=_0xdb1731;let {title:_0x3fdf90,open:_0x41a916,disabled:_0x2c4ff,icon:_0x27500,overlay:_0x37490c,popoverClassName:_0x4fa6b9,onApply:_0x50b9b7,onOpenChange:_0x45a6a3}=_0xe7b818,_0x558a7d=_0x19940b(0x31d);return(0x0,r[_0x19940b(0x565)])(_0x19940b(0x73f),{'className':_0x19940b(0x73b),'children':[(0x0,r[_0x19940b(0x6c7)])(e['Tooltip'],{'title':_0x3fdf90,'placement':_0x19940b(0x3f5),'visible':!_0x41a916&&void 0x0,'children':(0x0,r[_0x19940b(0x6c7)])(_0x19940b(0x4c8),{'type':_0x19940b(0x4c8),'aria-label':_0x3fdf90,'disabled':_0x2c4ff,'onClick':_0x50b9b7,'className':(0x0,e['clsx'])(_0x558a7d,_0x19940b(0x706),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x41a916}),'children':_0x27500})}),(0x0,r[_0x19940b(0x6c7)])(e[_0x19940b(0x462)],{'disabled':_0x2c4ff,'open':_0x41a916,'className':_0x4fa6b9,'onOpenChange':_0x45a6a3,'overlay':_0x37490c,'children':(0x0,r[_0x19940b(0x6c7)])(_0x19940b(0x733),{'children':(0x0,r['jsx'])(e[_0x19940b(0x128)],{'title':_0x3fdf90,'placement':_0x19940b(0x3f5),'visible':!_0x41a916&&void 0x0,'children':(0x0,r[_0x19940b(0x6c7)])(_0x19940b(0x4c8),{'type':_0x19940b(0x4c8),'aria-label':_0x3fdf90,'disabled':_0x2c4ff,'className':(0x0,e[_0x19940b(0x221)])(_0x558a7d,_0x19940b(0x34d),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x41a916}),'children':(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x19940b(0x221)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x41a916})})})})})})]});}function xn(_0x22bb0a){const _0x1374a2=_0xdb1731;switch(_0x22bb0a==null?void 0x0:_0x22bb0a[_0x1374a2(0x5dd)]){case _0x1374a2(0x79d):return S[_0x1374a2(0x3ff)][_0x1374a2(0x36e)];case'gradient':return S['ShapeFillEnum'][_0x1374a2(0x75a)];case'picture':return S['ShapeFillEnum'][_0x1374a2(0x10f)];default:return S[_0x1374a2(0x3ff)]['SolidFill'];}}function Sn(_0x5c2248,_0x7d8e53){const _0x36cc8f=_0xdb1731;var _0x1d79f8,_0x4d50f9,_0x492c23;return{'type':(_0x5c2248==null||(_0x1d79f8=_0x5c2248['gradient'])==null?void 0x0:_0x1d79f8['type'])??'linear','angle':(_0x5c2248==null||(_0x4d50f9=_0x5c2248[_0x36cc8f(0x669)])==null?void 0x0:_0x4d50f9[_0x36cc8f(0x30e)])??0x0,'stops':_0x5c2248!=null&&(_0x492c23=_0x5c2248['gradient'])!=null&&_0x492c23[_0x36cc8f(0x6c3)]&&_0x5c2248[_0x36cc8f(0x669)][_0x36cc8f(0x6c3)]['length']>=0x2?_0x5c2248[_0x36cc8f(0x669)][_0x36cc8f(0x6c3)][_0x36cc8f(0x50f)](_0x3bdcca=>({'color':_0x3bdcca[_0x36cc8f(0x591)],'offset':_0x3bdcca[_0x36cc8f(0x319)],'opacity':_0x3bdcca[_0x36cc8f(0x6c0)]})):[{'color':_0x7d8e53,'offset':0x0},{'color':_0x36cc8f(0xda),'offset':0x64}]};}function Cn(_0x387013,_0x560abb){const _0x10bdee=_0xdb1731;var _0x45b287;return _0x387013[_0x10bdee(0x124)]??{'type':'solid','color':((_0x45b287=_0x387013['cl'])==null?void 0x0:_0x45b287[_0x10bdee(0x6d8)])??_0x560abb,'opacity':0x1};}function wn(_0x2f5354,_0x2fe887){const _0x25d07d=_0xdb1731;var _0xbc68da;return _0x2f5354[_0x25d07d(0x591)]??((_0xbc68da=_0x2f5354[_0x25d07d(0x669)])==null||(_0xbc68da=_0xbc68da['stops'])==null||(_0xbc68da=_0xbc68da[0x0])==null?void 0x0:_0xbc68da[_0x25d07d(0x591)])??_0x2fe887;}function Tn(_0x22f9d1){const _0x5bd3c1=_0xdb1731;var _0x6c06ae,_0x1912a8;let {fill:_0x4a4779,disabled:_0x1e724f,onChange:_0x12b8d1}=_0x22f9d1,_0x14db35=(0x0,s[_0x5bd3c1(0x14e)])(o[_0x5bd3c1(0x432)]),_0x167ab1=(0x0,s[_0x5bd3c1(0x14e)])(o[_0x5bd3c1(0x738)]),_0x50ba7b=(0x0,s[_0x5bd3c1(0x14e)])(o['IImageIoService']),_0x21b728=(0x0,n[_0x5bd3c1(0x5d5)])(null),_0x558b26=((_0x6c06ae=_0x4a4779[_0x5bd3c1(0x38d)])==null?void 0x0:_0x6c06ae[_0x5bd3c1(0x6c0)])??_0x4a4779[_0x5bd3c1(0x6c0)]??0x1,_0x15b0d7=Math[_0x5bd3c1(0x573)]((0x1-_0x558b26)*0x64),_0x24b38f=(_0x1912a8=_0x4a4779[_0x5bd3c1(0x38d)])!=null&&_0x1912a8['source']&&/^(?:data:|https?:)/[_0x5bd3c1(0x563)](_0x4a4779[_0x5bd3c1(0x38d)][_0x5bd3c1(0x44f)])?_0x4a4779['picture'][_0x5bd3c1(0x44f)]:void 0x0,_0x95c2d=_0x8b5cbd=>{const _0x2df589=_0x5bd3c1;var _0x550cbb;_0x12b8d1({..._0x4a4779,'type':_0x2df589(0x38d),'picture':{..._0x4a4779[_0x2df589(0x38d)],'mode':((_0x550cbb=_0x4a4779[_0x2df589(0x38d)])==null?void 0x0:_0x550cbb[_0x2df589(0x2c4)])??'stretch',..._0x8b5cbd}});};return(0x0,r[_0x5bd3c1(0x565)])(_0x5bd3c1(0x73f),{'className':_0x5bd3c1(0x4a1),'children':[(0x0,r[_0x5bd3c1(0x565)])(_0x5bd3c1(0x73f),{'className':_0x5bd3c1(0xdd),'children':[(0x0,r[_0x5bd3c1(0x6c7)])(_0x5bd3c1(0x733),{'className':_0x5bd3c1(0x2e6),'children':_0x14db35['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0x5bd3c1(0x6c7)])(_0x5bd3c1(0x61f),{'ref':_0x21b728,'type':'file','accept':'image/*','className':_0x5bd3c1(0x2bc),'onChange':async _0x5d08a7=>{const _0x32f72e=_0x5bd3c1;var _0xdc9330;let _0x4634b1=(_0xdc9330=_0x5d08a7[_0x32f72e(0x5a0)][_0x32f72e(0x277)])==null?void 0x0:_0xdc9330[0x0];if(!_0x4634b1)return;_0x5d08a7[_0x32f72e(0x5a0)][_0x32f72e(0x7e2)]='';let _0x17be39=await _0x50ba7b['saveImage'](_0x4634b1);if(_0x17be39==null)return;let {imageSourceType:_0x1b997b,source:_0x344a8e,base64Cache:_0x318435}=_0x17be39;_0x95c2d({'source':_0x318435||_0x344a8e,'sourceType':_0x1b997b,'opacity':_0x558b26});}}),(0x0,r['jsx'])(_0x5bd3c1(0x4c8),{'type':_0x5bd3c1(0x4c8),'disabled':_0x1e724f,'onClick':()=>{const _0x370451=_0x5bd3c1;var _0x4ac8c9;return(_0x4ac8c9=_0x21b728[_0x370451(0x1b2)])==null?void 0x0:_0x4ac8c9['click']();},'className':_0x5bd3c1(0x4cd),'children':_0x14db35['t'](_0x5bd3c1(0x7b8))})]}),_0x24b38f&&(0x0,r['jsx'])(_0x5bd3c1(0x61b),{'src':_0x24b38f,'alt':'','className':_0x5bd3c1(0x29d)}),(0x0,r['jsxs'])(_0x5bd3c1(0x73f),{'className':_0x5bd3c1(0xdd),'children':[(0x0,r[_0x5bd3c1(0x6c7)])(_0x5bd3c1(0x733),{'className':_0x5bd3c1(0x2e6),'children':_0x14db35['t']('shape-editor-ui.fill.transparency')}),(0x0,r[_0x5bd3c1(0x6c7)])('div',{'className':_0x5bd3c1(0x6f0),'children':(0x0,r['jsx'])(e[_0x5bd3c1(0x663)],{'className':'univer-w-full','value':_0x15b0d7,'disabled':_0x1e724f,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x148fb9=>_0x148fb9+'%','parser':_0x1ef071=>(_0x1ef071==null?void 0x0:_0x1ef071[_0x5bd3c1(0x496)]('%',''))||'','onChange':_0x2f2dd7=>{const _0x2f12a3=_0x5bd3c1;_0x95c2d({'opacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x2f2dd7??0x0)))/0x64}),_0x167ab1[_0x2f12a3(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x167ab1[_0x5bd3c1(0x376)](o['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x167ab1[_0x5bd3c1(0x376)](o[_0x5bd3c1(0x400)],!0x1)})})]})]});}function En(_0x51b3bb){const _0x18a59d=_0xdb1731;let {title:_0x5b7c19,textStyle:_0x124cba,fallbackColor:_0x56a31a,onChange:_0x5687c7}=_0x51b3bb,_0xd5eed6=(0x0,s[_0x18a59d(0x14e)])(o[_0x18a59d(0x432)]),[_0x41419d,_0x473237]=(0x0,n['useState'])(!0x1),_0x28e88f=(0x0,n['useRef'])(!0x1),_0x5f0cf5=(0x0,n[_0x18a59d(0x5d5)])(null),_0x1c86f0=()=>{const _0x5dae74=_0x18a59d;_0x28e88f['current']=!0x0,_0x5f0cf5[_0x5dae74(0x1b2)]&&clearTimeout(_0x5f0cf5[_0x5dae74(0x1b2)]),_0x5f0cf5['current']=setTimeout(()=>{const _0x2f80b3=_0x5dae74;_0x28e88f[_0x2f80b3(0x1b2)]=!0x1,_0x5f0cf5[_0x2f80b3(0x1b2)]=null;},0x1f4);},_0x2c205d=_0x53c808=>{const _0x5bdf7f=_0x18a59d;!_0x53c808&&_0x28e88f[_0x5bdf7f(0x1b2)]||_0x473237(_0x53c808);},_0x47c55f=Cn(_0x124cba,_0x56a31a),_0x7ba7d3=xn(_0x47c55f),_0x227907=wn(_0x47c55f,_0x56a31a),_0x989196=_0x163bec=>{const _0x41395e=_0x18a59d;_0x5687c7({'cl':{'rgb':_0x163bec[_0x41395e(0x5dd)]===_0x41395e(0x79d)?_0x41395e(0x656):wn(_0x163bec,_0x56a31a)},'textFill':_0x163bec});},_0x27e277=()=>{const _0x40bd62=_0x18a59d;let _0x37a0c5=Sn(_0x47c55f,_0x227907);return{..._0x47c55f,'type':_0x40bd62(0x669),'gradient':{'type':_0x37a0c5['type'],'angle':_0x37a0c5[_0x40bd62(0x30e)],'stops':_0x37a0c5[_0x40bd62(0x6c3)][_0x40bd62(0x50f)](_0x58d4db=>({'offset':_0x58d4db[_0x40bd62(0x319)],'color':_0x58d4db[_0x40bd62(0x591)],'opacity':_0x58d4db['opacity']}))}};};return(0x0,r[_0x18a59d(0x6c7)])(bn,{'title':_0x5b7c19,'open':_0x41419d,'icon':(0x0,r[_0x18a59d(0x6c7)])(t[_0x18a59d(0x69f)],{'className':_0x18a59d(0x45e),'extend':{'colorChannel1':_0x227907}}),'onApply':()=>_0x989196({..._0x47c55f,'type':_0x18a59d(0x655),'color':_0x227907,'opacity':_0x47c55f[_0x18a59d(0x6c0)]??0x1}),'onOpenChange':_0x2c205d,'overlay':(0x0,r[_0x18a59d(0x6c7)])('div',{'data-u-editor-interaction-boundary':'true','onPointerDownCapture':_0x18ca9d=>{_0x1c86f0(),Q(_0x18ca9d);},'onMouseDownCapture':_0x348596=>{_0x1c86f0(),Q(_0x348596);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x4e5d7f=>_0x4e5d7f[_0x18a59d(0x3dd)](),'className':(0x0,e[_0x18a59d(0x221)])('univer-w-[260px]',_0x18a59d(0x196)),'children':(0x0,r[_0x18a59d(0x6c7)])(E,{'compact':!0x0,'direction':_0xd5eed6[_0x18a59d(0x572)](),'editorInteractionBoundary':!0x0,'value':_0x7ba7d3,'typeValues':Et,'color':_0x227907,'transparency':Math[_0x18a59d(0x573)]((0x1-(_0x47c55f[_0x18a59d(0x6c0)]??0x1))*0x64),'gradientValue':Sn(_0x47c55f,_0x227907),'labels':{'noFill':_0xd5eed6['t']('shape-editor-ui.fill.noFill'),'solidFill':_0xd5eed6['t'](_0x18a59d(0x1c4)),'gradientFill':_0xd5eed6['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0xd5eed6['t'](_0x18a59d(0x605)),'color':_0xd5eed6['t'](_0x18a59d(0x55f)),'transparency':_0xd5eed6['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0xd5eed6['t'](_0x18a59d(0x622)),'solidFill':_0xd5eed6['t'](_0x18a59d(0x1c4)),'gradientFill':_0xd5eed6['t'](_0x18a59d(0x10c)),'pictureFill':_0xd5eed6['t']('shape-editor-ui.fill.pictureFill')},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x46c196=>{const _0x2c4940=_0x18a59d;if(_0x46c196===S[_0x2c4940(0x3ff)][_0x2c4940(0x36e)])_0x989196({..._0x47c55f,'type':'none'});else{if(_0x46c196===S[_0x2c4940(0x3ff)]['SolidFill'])_0x989196({..._0x47c55f,'type':_0x2c4940(0x655),'color':_0x227907,'opacity':_0x47c55f['opacity']??0x1});else{if(_0x46c196===S['ShapeFillEnum'][_0x2c4940(0x75a)])_0x989196(_0x27e277());else{if(_0x46c196===S['ShapeFillEnum'][_0x2c4940(0x10f)]){var _0x552841,_0x273cf8;_0x989196({..._0x47c55f,'type':'picture','color':_0x227907,'picture':{..._0x47c55f[_0x2c4940(0x38d)],'opacity':((_0x552841=_0x47c55f[_0x2c4940(0x38d)])==null?void 0x0:_0x552841['opacity'])??0x1,'mode':((_0x273cf8=_0x47c55f['picture'])==null?void 0x0:_0x273cf8[_0x2c4940(0x2c4)])??_0x2c4940(0x238)}});}}}}},'onColorChange':_0x34ca17=>{const _0x14e008=_0x18a59d;_0x989196({..._0x47c55f,'type':'solid','color':_0x34ca17,'opacity':_0x47c55f[_0x14e008(0x6c0)]??0x1});},'onTransparencyChange':_0x1624d0=>{const _0x3325c8=_0x18a59d;_0x989196({..._0x47c55f,'type':_0x3325c8(0x655),'color':_0x227907,'opacity':(0x64-Math[_0x3325c8(0x292)](0x0,Math[_0x3325c8(0x3a3)](0x64,_0x1624d0)))/0x64});},'onGradientChange':_0x3d4a12=>{const _0x231683=_0x18a59d;_0x989196({..._0x47c55f,'type':_0x231683(0x669),'gradient':{'type':_0x3d4a12['type'],'angle':_0x3d4a12[_0x231683(0x30e)],'stops':_0x3d4a12[_0x231683(0x6c3)]['map'](_0x5f5ade=>({'offset':_0x5f5ade[_0x231683(0x319)],'color':_0x5f5ade[_0x231683(0x591)],'opacity':_0x5f5ade[_0x231683(0x6c0)]}))}});},'pictureFillEditor':(0x0,r[_0x18a59d(0x6c7)])(Tn,{'fill':_0x47c55f,'onChange':_0x989196})})})});}function Dn(_0x1cf376){const _0x4588d2=_0xdb1731;let {title:_0xc6747d,color:_0x1e6487,onApply:_0x2f42d9,onReset:_0x104eab,onChange:_0x5110e}=_0x1cf376,_0x26080d=(0x0,s[_0x4588d2(0x14e)])(o[_0x4588d2(0x432)]),[_0xb08392,_0xf8d267]=(0x0,n[_0x4588d2(0x48e)])(!0x1),_0x4d9d13=(0x0,n[_0x4588d2(0x5d5)])(!0x1),_0x305253=(0x0,n[_0x4588d2(0x5d5)])(null),_0xa01110=()=>{const _0xc7b6dc=_0x4588d2;_0x4d9d13[_0xc7b6dc(0x1b2)]=!0x0,_0x305253[_0xc7b6dc(0x1b2)]&&clearTimeout(_0x305253[_0xc7b6dc(0x1b2)]),_0x305253[_0xc7b6dc(0x1b2)]=setTimeout(()=>{const _0x290d85=_0xc7b6dc;_0x4d9d13[_0x290d85(0x1b2)]=!0x1,_0x305253[_0x290d85(0x1b2)]=null;},0x1f4);};return(0x0,r[_0x4588d2(0x6c7)])(bn,{'title':_0xc6747d,'open':_0xb08392,'icon':(0x0,r[_0x4588d2(0x6c7)])(t[_0x4588d2(0x442)],{'className':_0x4588d2(0x45e),'extend':{'colorChannel1':_0x1e6487}}),'onApply':_0x2f42d9,'onOpenChange':_0x27b262=>{const _0x1ff37c=_0x4588d2;!_0x27b262&&_0x4d9d13[_0x1ff37c(0x1b2)]||_0xf8d267(_0x27b262);},'popoverClassName':_0x4588d2(0x696),'overlay':(0x0,r[_0x4588d2(0x565)])(_0x4588d2(0x73f),{'data-u-editor-interaction-boundary':_0x4588d2(0x208),'onPointerDownCapture':_0x5c5f1d=>{_0xa01110(),Q(_0x5c5f1d);},'onMouseDownCapture':_0x2cbadf=>{_0xa01110(),Q(_0x2cbadf);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x5b062e=>_0x5b062e[_0x4588d2(0x3dd)](),'className':'univer-w-[244px]','children':[_0x104eab&&(0x0,r[_0x4588d2(0x6c7)])(_0x4588d2(0x4c8),{'type':'button','onClick':()=>{_0x104eab(),_0xf8d267(!0x1);},'className':_0x4588d2(0x65b),'children':_0x26080d['t'](_0x4588d2(0x38b))}),(0x0,r[_0x4588d2(0x6c7)])(e[_0x4588d2(0x2d0)],{'value':_0x1e6487,'onChange':_0xf86c1e=>{_0x5110e(_0xf86c1e),_0xf8d267(!0x1);}})]})});}function On(_0x5022d5){const _0x4345a6=_0xdb1731;let {title:_0x32b186,fontFamily:_0x19af37,textStyle:_0xa34aaf,horizontalAlign:_0x145ed5,verticalAlign:_0x49d16a,horizontalAlignOptions:_0x4babde,verticalAlignOptions:_0xe55815,onUpdateText:_0x4d0c99}=_0x5022d5,_0x533ca0=(0x0,s[_0x4345a6(0x14e)])(o[_0x4345a6(0x432)]),[_0x5b4c91,_0x2cfdef]=(0x0,n[_0x4345a6(0x48e)])(!0x1),[_0xd4d702,_0x38e8bc]=(0x0,n[_0x4345a6(0x48e)])(!0x1),_0x49abc6=(0x0,n[_0x4345a6(0x5d5)])(!0x1),_0x3898d7=(0x0,n[_0x4345a6(0x5d5)])(null),_0x214a8f=()=>{const _0x256478=_0x4345a6;_0x49abc6[_0x256478(0x1b2)]=!0x0,_0x3898d7[_0x256478(0x1b2)]&&clearTimeout(_0x3898d7[_0x256478(0x1b2)]),_0x3898d7[_0x256478(0x1b2)]=setTimeout(()=>{_0x49abc6['current']=!0x1,_0x3898d7['current']=null;},0x1f4);},_0x1ae784=_0x258832=>{const _0x559d9e=_0x4345a6;!_0x258832&&_0x49abc6[_0x559d9e(0x1b2)]||_0x2cfdef(_0x258832);},_0x86b464=_0x3dbc01=>{_0x3dbc01&&_0x38e8bc(!0x1),_0x1ae784(_0x3dbc01);},_0x2afa6f=[{'key':_0x4345a6(0x5e3),'title':_0x533ca0['t'](_0x4345a6(0x30a)),'active':_0xa34aaf[_0x4345a6(0x211)],'icon':(0x0,r[_0x4345a6(0x6c7)])(t[_0x4345a6(0x482)],{}),'onClick':()=>_0x4d0c99({'textStyle':{'bl':_0xa34aaf[_0x4345a6(0x211)]?o[_0x4345a6(0x6b7)]['FALSE']:o['BooleanNumber'][_0x4345a6(0x159)]}})},{'key':_0x4345a6(0x4b5),'title':_0x533ca0['t'](_0x4345a6(0x3e3)),'active':_0xa34aaf[_0x4345a6(0x3b0)],'icon':(0x0,r['jsx'])(t[_0x4345a6(0x2d5)],{}),'onClick':()=>_0x4d0c99({'textStyle':{'it':_0xa34aaf['isItalic']?o[_0x4345a6(0x6b7)]['FALSE']:o['BooleanNumber'][_0x4345a6(0x159)]}})},{'key':_0x4345a6(0x508),'title':_0x533ca0['t'](_0x4345a6(0x389)),'active':_0xa34aaf[_0x4345a6(0x704)],'icon':(0x0,r[_0x4345a6(0x6c7)])(t[_0x4345a6(0x64b)],{}),'onClick':()=>_0x4d0c99({'textStyle':{'ul':{'s':_0xa34aaf['isUnderline']?o[_0x4345a6(0x6b7)][_0x4345a6(0x56d)]:o[_0x4345a6(0x6b7)][_0x4345a6(0x159)]}}})},{'key':_0x4345a6(0x1fe),'title':_0x533ca0['t'](_0x4345a6(0x12d)),'active':_0xa34aaf['isStrike'],'icon':(0x0,r['jsx'])(t['StrikethroughIcon'],{}),'onClick':()=>_0x4d0c99({'textStyle':{'st':{'s':_0xa34aaf[_0x4345a6(0x2af)]?o['BooleanNumber']['FALSE']:o[_0x4345a6(0x6b7)][_0x4345a6(0x159)]}}})}],_0xc2a924=_0x30c3e4=>(0x0,r[_0x4345a6(0x6c7)])(e[_0x4345a6(0x128)],{'title':_0x30c3e4['title'],'placement':'top','visible':_0xd4d702?void 0x0:!0x1,'children':(0x0,r[_0x4345a6(0x6c7)])('button',{'type':_0x4345a6(0x4c8),'aria-label':_0x30c3e4[_0x4345a6(0x6dc)],'onClick':_0x30c3e4[_0x4345a6(0x75c)],'className':(0x0,e[_0x4345a6(0x221)])('univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x30c3e4[_0x4345a6(0x13f)]}),'children':_0x30c3e4[_0x4345a6(0x713)]})},String(_0x30c3e4[_0x4345a6(0x65e)]));return(0x0,r[_0x4345a6(0x6c7)])(e['Dropdown'],{'open':_0x5b4c91,'onOpenChange':_0x86b464,'overlay':(0x0,r[_0x4345a6(0x6c7)])(_0x4345a6(0x73f),{'onPointerDownCapture':_0x1bd368=>{_0x214a8f(),Q(_0x1bd368);},'onMouseDownCapture':_0x14c3b5=>{_0x214a8f(),Q(_0x14c3b5);},'onPointerDown':$,'onPointerMove':()=>_0x38e8bc(!0x0),'onMouseDown':$,'onClick':_0x34f142=>_0x34f142[_0x4345a6(0x3dd)](),'className':(0x0,e[_0x4345a6(0x221)])('univer-w-[168px]',_0x4345a6(0x5c0)),'children':(0x0,r['jsxs'])(_0x4345a6(0x73f),{'className':_0x4345a6(0x23b),'children':[(0x0,r['jsx'])(s[_0x4345a6(0x1a0)],{'className':'univer-box-border\x20univer-w-full','inputClassName':_0x4345a6(0x70c),'popupDataComponent':_0x4345a6(0x23e),'title':_0x19af37,'value':_0x19af37,'onChange':_0x4414b0=>_0x4d0c99({'textStyle':{'ff':_0x4414b0}}),'onMouseDown':$,'onPointerDown':$}),(0x0,r[_0x4345a6(0x6c7)])(e[_0x4345a6(0x169)],{}),(0x0,r[_0x4345a6(0x6c7)])(_0x4345a6(0x73f),{'className':_0x4345a6(0x230),'children':_0x2afa6f[_0x4345a6(0x50f)](_0xc2a924)}),(0x0,r[_0x4345a6(0x6c7)])(e['Separator'],{}),(0x0,r[_0x4345a6(0x6c7)])('div',{'data-u-comp':_0x4345a6(0x206),'className':_0x4345a6(0x230),'children':_0x4babde[_0x4345a6(0x50f)](_0x3c4fad=>_0xc2a924({'key':_0x3c4fad['value'],'title':_0x3c4fad[_0x4345a6(0x60e)],'active':_0x3c4fad[_0x4345a6(0x7e2)]===_0x145ed5,'icon':_0x3c4fad['icon'],'onClick':()=>_0x4d0c99({'horizontalAlign':_0x3c4fad[_0x4345a6(0x7e2)]})}))}),(0x0,r[_0x4345a6(0x6c7)])('div',{'data-u-comp':'typography-vertical-align-row','className':_0x4345a6(0x230),'children':_0xe55815['map'](_0xa863b0=>_0xc2a924({'key':_0xa863b0['value'],'title':_0xa863b0[_0x4345a6(0x60e)],'active':_0xa863b0[_0x4345a6(0x7e2)]===_0x49d16a,'icon':_0xa863b0[_0x4345a6(0x713)],'onClick':()=>_0x4d0c99({'verticalAlign':_0xa863b0[_0x4345a6(0x7e2)]})}))})]})}),'children':(0x0,r[_0x4345a6(0x6c7)])('span',{'children':(0x0,r[_0x4345a6(0x6c7)])(e['Tooltip'],{'title':_0x32b186,'placement':_0x4345a6(0x3f5),'visible':!_0x5b4c91&&void 0x0,'children':(0x0,r[_0x4345a6(0x565)])(_0x4345a6(0x4c8),{'type':_0x4345a6(0x4c8),'aria-label':_0x32b186,'className':(0x0,e[_0x4345a6(0x221)])(_0x4345a6(0x1d7),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5b4c91}),'children':[(0x0,r[_0x4345a6(0x6c7)])(t[_0x4345a6(0x22e)],{'className':_0x4345a6(0x45e)}),(0x0,r[_0x4345a6(0x6c7)])(t[_0x4345a6(0x7c6)],{'className':(0x0,e[_0x4345a6(0x221)])(_0x4345a6(0x1dc),{'univer-rotate-180':_0x5b4c91})})]})})})});}const kn=_0xdb1731(0x28e);function An(_0x56f5a0){const _0x339901=_0xdb1731;let {children:_0xe4a795}=_0x56f5a0;return(0x0,r[_0x339901(0x6c7)])('div',{'className':_0x339901(0x2ea),'children':_0xe4a795});}function jn(_0x5c4b80){const _0x440c47=_0xdb1731;let {title:_0x67f19b,children:_0x2926f8,className:_0x3643bc,minWidthClassName:_0x3dfdab}=_0x5c4b80,_0x2af56b=(0x0,s[_0x440c47(0x14e)])(o[_0x440c47(0x432)]);return(0x0,r[_0x440c47(0x565)])('div',{'dir':(0x0,s[_0x440c47(0x474)])(_0x2af56b[_0x440c47(0x3c3)],_0x2af56b[_0x440c47(0x572)]()),'data-u-comp':'shape-floating-toolbar-menu-panel','onPointerDownCapture':Q,'onMouseDownCapture':Q,'onPointerDown':$,'onMouseDown':$,'onClick':_0x174102=>_0x174102[_0x440c47(0x3dd)](),'className':(0x0,e[_0x440c47(0x221)])(_0x440c47(0x361),_0x3dfdab??_0x440c47(0x5ea),_0x3643bc),'children':[_0x67f19b&&(0x0,r[_0x440c47(0x6c7)])(_0x440c47(0x73f),{'className':_0x440c47(0x6c5),'children':_0x67f19b}),_0x2926f8]});}function Mn(_0x18b12a){const _0x491ffa=_0xdb1731;let {label:_0x3de3f4,shortcut:_0x3c6733,disabled:_0x35935f,danger:_0x13b2fc,onClick:_0x34697a}=_0x18b12a;return(0x0,r[_0x491ffa(0x6c7)])('span',{'className':_0x491ffa(0xec),'children':(0x0,r[_0x491ffa(0x565)])(_0x491ffa(0x4c8),{'type':'button','aria-label':_0x3de3f4,'disabled':_0x35935f,'onClick':_0x2d8d08=>{const _0x6b97a2=_0x491ffa;_0x2d8d08[_0x6b97a2(0x3dd)](),_0x34697a();},'className':(0x0,e[_0x491ffa(0x221)])(_0x491ffa(0x259),{'univer-text-red-500\x20hover:univer-bg-red-50\x20dark:!univer-text-red-400\x20dark:hover:univer-bg-red-950':_0x13b2fc}),'children':[(0x0,r[_0x491ffa(0x6c7)])('span',{'className':_0x491ffa(0x24e),'children':_0x3de3f4}),_0x3c6733&&(0x0,r[_0x491ffa(0x6c7)])(_0x491ffa(0x733),{'className':_0x491ffa(0x5be),'children':_0x3c6733})]})});}function Nn(_0x5b5f07){const _0x4f3b14=_0xdb1731;let {title:_0xe02831,value:_0x14d3dd,options:_0x5ec03a,onChange:_0x13aa5a}=_0x5b5f07,[_0x2aa3e4,_0x4eaf51]=(0x0,n[_0x4f3b14(0x48e)])(!0x1),_0x42f0f2=_0x5ec03a[_0x4f3b14(0x608)](_0x4acc8e=>_0x4acc8e[_0x4f3b14(0x7e2)]===_0x14d3dd)??_0x5ec03a[0x0];return _0x42f0f2?(0x0,r[_0x4f3b14(0x6c7)])(e['Dropdown'],{'open':_0x2aa3e4,'onOpenChange':_0x4eaf51,'overlay':(0x0,r[_0x4f3b14(0x6c7)])(_0x4f3b14(0x73f),{'className':_0x4f3b14(0x6ef),'children':_0x5ec03a[_0x4f3b14(0x50f)](_0x239cf0=>(0x0,r[_0x4f3b14(0x565)])(_0x4f3b14(0x4c8),{'type':_0x4f3b14(0x4c8),'aria-label':_0x239cf0[_0x4f3b14(0x60e)],'onClick':()=>{const _0x22855e=_0x4f3b14;_0x13aa5a(_0x239cf0[_0x22855e(0x7e2)]),_0x4eaf51(!0x1);},'className':(0x0,e['clsx'])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x239cf0[_0x4f3b14(0x7e2)]===_0x14d3dd}),'children':[(0x0,r['jsx'])(_0x4f3b14(0x733),{'className':_0x4f3b14(0x7b4),'children':_0x239cf0[_0x4f3b14(0x713)]}),(0x0,r['jsx'])(_0x4f3b14(0x733),{'className':_0x4f3b14(0x65d),'children':_0x239cf0['label']})]},_0x239cf0[_0x4f3b14(0x7e2)]))}),'children':(0x0,r[_0x4f3b14(0x6c7)])(_0x4f3b14(0x733),{'children':(0x0,r[_0x4f3b14(0x6c7)])(ct,{'title':_0xe02831,'icon':_0x42f0f2[_0x4f3b14(0x713)],'active':_0x2aa3e4})})}):null;}function Pn(_0x423dce){const _0x951e4c=_0xdb1731;let {action:_0x3c543c}=_0x423dce,_0xb4e581=_0x3c543c[_0x951e4c(0x5dd)]===_0x951e4c(0x108)?t[_0x951e4c(0x541)]:t[_0x951e4c(0x449)];return(0x0,r['jsx'])(st,{'title':_0x3c543c[_0x951e4c(0x60e)],'onClick':_0x3c543c[_0x951e4c(0x75c)],'children':(0x0,r[_0x951e4c(0x6c7)])(_0xb4e581,{})});}function Fn(_0x3e28ab){const _0xa8b727=_0xdb1731;let {actions:_0x4d4731,deleteLabel:_0x161305,hideLabel:_0x322701,onDelete:_0x3342b2,onHide:_0x599f3c}=_0x3e28ab,_0x3c4c86=(0x0,s[_0xa8b727(0x14e)])(o['LocaleService']),[_0x778ed7,_0xb8a43]=(0x0,n[_0xa8b727(0x48e)])(!0x1),_0x24cdbe=(0x0,n[_0xa8b727(0x5d5)])(!0x1),_0xc7f091=(0x0,n[_0xa8b727(0x5d5)])(null),_0x4c3ac5=()=>{const _0x2a7aee=_0xa8b727;_0x24cdbe[_0x2a7aee(0x1b2)]=!0x0,_0xc7f091[_0x2a7aee(0x1b2)]&&clearTimeout(_0xc7f091[_0x2a7aee(0x1b2)]),_0xc7f091[_0x2a7aee(0x1b2)]=setTimeout(()=>{const _0x2bbbc9=_0x2a7aee;_0x24cdbe[_0x2bbbc9(0x1b2)]=!0x1,_0xc7f091[_0x2bbbc9(0x1b2)]=null;},0x1f4);},_0x1756e3=_0xcc7c8=>{const _0x2b5384=_0xa8b727;!_0xcc7c8&&_0x24cdbe[_0x2b5384(0x1b2)]||_0xb8a43(_0xcc7c8);},_0x103fea=_0x3c4c86['t'](_0xa8b727(0x631)),_0x309cdc=_0x37e1b3=>{_0xb8a43(!0x1),_0x37e1b3();};return(0x0,r[_0xa8b727(0x6c7)])(e['Dropdown'],{'open':_0x778ed7,'onOpenChange':_0x1756e3,'overlay':(0x0,r['jsx'])(_0xa8b727(0x73f),{'onPointerDownCapture':_0x549edb=>{_0x4c3ac5(),Q(_0x549edb);},'onMouseDownCapture':_0x4b1b91=>{_0x4c3ac5(),Q(_0x4b1b91);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x38015c=>_0x38015c[_0xa8b727(0x3dd)](),'className':_0xa8b727(0x1d0),'children':(0x0,r['jsxs'])(jn,{'className':_0xa8b727(0x237),'minWidthClassName':_0xa8b727(0x21a),'children':[_0x4d4731&&(0x0,r[_0xa8b727(0x565)])(r[_0xa8b727(0x372)],{'children':[(0x0,r[_0xa8b727(0x6c7)])(Mn,{'label':_0x4d4731['frontLabel'],'onClick':()=>_0x309cdc(_0x4d4731[_0xa8b727(0x5b8)])}),(0x0,r[_0xa8b727(0x6c7)])(Mn,{'label':_0x4d4731[_0xa8b727(0x2b7)],'onClick':()=>_0x309cdc(_0x4d4731['onForward'])}),(0x0,r[_0xa8b727(0x6c7)])(Mn,{'label':_0x4d4731[_0xa8b727(0x765)],'onClick':()=>_0x309cdc(_0x4d4731['onBackward'])}),(0x0,r[_0xa8b727(0x6c7)])(Mn,{'label':_0x4d4731[_0xa8b727(0x35f)],'onClick':()=>_0x309cdc(_0x4d4731[_0xa8b727(0x14a)])})]}),_0x4d4731&&(0x0,r['jsx'])(e[_0xa8b727(0x169)],{'className':_0xa8b727(0x489)}),(0x0,r[_0xa8b727(0x6c7)])(Mn,{'label':_0x322701,'onClick':()=>_0x309cdc(_0x599f3c)}),_0x3342b2&&(0x0,r[_0xa8b727(0x565)])(r[_0xa8b727(0x372)],{'children':[(0x0,r[_0xa8b727(0x6c7)])(e['Separator'],{'className':_0xa8b727(0x489)}),(0x0,r['jsx'])(Mn,{'danger':!0x0,'label':_0x161305,'onClick':()=>_0x309cdc(_0x3342b2)})]})]})}),'children':(0x0,r[_0xa8b727(0x6c7)])(_0xa8b727(0x733),{'children':(0x0,r[_0xa8b727(0x6c7)])(st,{'title':_0x103fea,'active':_0x778ed7,'tooltipVisible':!_0x778ed7&&void 0x0,'ariaExpanded':_0x778ed7,'children':(0x0,r[_0xa8b727(0x6c7)])(t[_0xa8b727(0x342)],{})})})});}function In(_0xd472c3){const _0x28a655=_0xdb1731;var _0x22ef06,_0x23e20d,_0x559902,_0xfec908,_0x46088f;let {shapeData:_0x8b2a80,shapeType:_0x5194a9,textStyle:_0x34c630,textModel:_0xbffd57,wrappingStyle:_0x291c33,wrappingStyleOptions:_0x18d0bc,enableShapeStrokeReset:_0x2ecb07=!0x1,enableTextBackgroundReset:_0x46872b=!0x1,enableTextControls:_0x35f38c=!0x0,defaultFillColor:_0xb07bb2=Ct,defaultGradientEndColor:_0xea71ab=_0x28a655(0x344),defaultStrokeColor:_0x3bf193=wt,onUpdateShapeData:_0x309044,onUpdateText:_0x244752,onUpdateWrappingStyle:_0x39dd5f,groupAction:_0x5070d9,layerActions:_0x4248d6,extensionGroups:_0x433fb,collapseLabel:_0x364c7b,expandLabel:_0x5a8128,deleteLabel:_0x57d1e6,onOpenPanel:_0x59bdab,onDelete:_0x544261}=_0xd472c3,_0x5846f8=(0x0,s[_0x28a655(0x14e)])(o[_0x28a655(0x432)]),_0x3c9534=(0x0,s[_0x28a655(0x474)])(_0x5846f8[_0x28a655(0x3c3)],_0x5846f8[_0x28a655(0x572)]()),_0x39ff2c=(0x0,s[_0x28a655(0x14e)])(o[_0x28a655(0x738)]),_0x2412e7=(0x0,s['useDependency'])(o[_0x28a655(0x30d)]),[_0x575ca8,_0x2431f0]=(0x0,n[_0x28a655(0x48e)])(()=>_0x39ff2c[_0x28a655(0xe0)](kn)),[_0x2977d6,_0x2840cd]=(0x0,n['useState'])(null),_0x420c9a=_0x1a9aa6=>{const _0x74f2e1=_0x28a655;_0x2431f0(_0x1a9aa6),_0x39ff2c[_0x74f2e1(0x376)](kn,_0x1a9aa6);},_0x272d62=(_0x28c0da,_0x5c8a50)=>{_0x2840cd(_0x15ef53=>_0x5c8a50?_0x28c0da:_0x15ef53===_0x28c0da?null:_0x15ef53);},_0x199bf0=!!_0x8b2a80&&_0x5194a9!==void 0x0,_0x12c7f2=_0x199bf0&&_0x35f38c,_0x50fd60=!!_0x5070d9||!!_0x4248d6,_0x8e7a8e=(_0x433fb??[])['filter'](_0x41a27c=>_0x41a27c['visible']!==!0x1)[_0x28a655(0x50f)](_0x36daa0=>({..._0x36daa0,'actions':_0x36daa0[_0x28a655(0x3fa)][_0x28a655(0xc4)](_0x48c46b=>_0x48c46b['visible']!==!0x1)}))[_0x28a655(0xc4)](_0x3d012f=>_0x3d012f[_0x28a655(0x3fa)]['length']>0x0),_0x2a952b=_0x8e7a8e[_0x28a655(0x6e2)]>0x0,_0x2cfe9a=_0x5194a9!==void 0x0&&(0x0,S[_0x28a655(0x166)])(_0x5194a9),_0x5eef80=((_0x22ef06=_0x34c630['cl'])==null?void 0x0:_0x22ef06['rgb'])??'#111827',_0x4d05fc=((_0x23e20d=_0x34c630['bg'])==null?void 0x0:_0x23e20d[_0x28a655(0x6d8)])??_0x2412e7[_0x28a655(0xf2)](_0x28a655(0x276)),_0x5c20a9=_0x34c630['ff']??_0x28a655(0x17a),_0x157eec=_0x34c630['fs']??0xe,_0x37f204=_0x34c630['bl']===o[_0x28a655(0x6b7)][_0x28a655(0x159)],_0x2878e9=_0x34c630['it']===o[_0x28a655(0x6b7)][_0x28a655(0x159)],_0x4eca19=((_0x559902=_0x34c630['ul'])==null?void 0x0:_0x559902['s'])===o['BooleanNumber'][_0x28a655(0x159)],_0x4b99d3=((_0xfec908=_0x34c630['st'])==null?void 0x0:_0xfec908['s'])===o[_0x28a655(0x6b7)][_0x28a655(0x159)],_0x523ae5=(_0xbffd57==null?void 0x0:_0xbffd57['ha'])??o[_0x28a655(0x75f)][_0x28a655(0x3ca)],_0xc6a69f=(_0xbffd57==null?void 0x0:_0xbffd57['va'])??o[_0x28a655(0x60a)][_0x28a655(0x463)],_0x113f34=[{'label':_0x5846f8['t'](_0x28a655(0x553)),'value':o['HorizontalAlign']['LEFT'],'icon':(0x0,r[_0x28a655(0x6c7)])(t[_0x28a655(0x147)],{})},{'label':_0x5846f8['t'](_0x28a655(0x602)),'value':o[_0x28a655(0x75f)][_0x28a655(0x73d)],'icon':(0x0,r[_0x28a655(0x6c7)])(t[_0x28a655(0x248)],{})},{'label':_0x5846f8['t']('shape-editor-ui.toolbar.alignRight'),'value':o[_0x28a655(0x75f)]['RIGHT'],'icon':(0x0,r[_0x28a655(0x6c7)])(t[_0x28a655(0x54f)],{})},{'label':_0x5846f8['t'](_0x28a655(0x6aa)),'value':o[_0x28a655(0x75f)]['JUSTIFIED'],'icon':(0x0,r[_0x28a655(0x6c7)])(t[_0x28a655(0x716)],{})}],_0x420767=[{'label':_0x5846f8['t'](_0x28a655(0x2d8)),'value':o[_0x28a655(0x60a)][_0x28a655(0x463)],'icon':(0x0,r[_0x28a655(0x6c7)])(t[_0x28a655(0x79b)],{})},{'label':_0x5846f8['t'](_0x28a655(0x285)),'value':o[_0x28a655(0x60a)][_0x28a655(0x34e)],'icon':(0x0,r['jsx'])(t['VerticalCenterIcon'],{})},{'label':_0x5846f8['t'](_0x28a655(0x3bc)),'value':o[_0x28a655(0x60a)]['BOTTOM'],'icon':(0x0,r['jsx'])(t[_0x28a655(0x615)],{})}];return!_0x199bf0&&!_0x50fd60&&!_0x2a952b&&!_0x59bdab&&!_0x544261?null:_0x575ca8?(0x0,r['jsx'])(_0x28a655(0x4c8),{'type':'button','dir':_0x3c9534,'style':{'direction':_0x3c9534},'data-u-comp':_0x28a655(0x313),'aria-label':_0x5a8128??_0x5846f8['t']('shape-editor-ui.toolbar.expandShapeToolbar'),'onMouseDown':$,'onClick':()=>_0x420c9a(!0x1),'className':_0x28a655(0x4fc),'children':(0x0,r[_0x28a655(0x6c7)])(_0x28a655(0x733),{'className':_0x28a655(0x227),'children':(0x0,r['jsx'])(t[_0x28a655(0x318)],{'className':_0x28a655(0x62b)})})}):(0x0,r['jsx'])(_0x28a655(0x73f),{'data-u-comp':'shape-floating-toolbar','dir':_0x3c9534,'style':{'direction':_0x3c9534},'className':_0x28a655(0x768),'children':(0x0,r['jsxs'])(ot,{'children':[_0x199bf0&&(0x0,r['jsxs'])(r[_0x28a655(0x372)],{'children':[(0x0,r[_0x28a655(0x565)])(An,{'children':[(0x0,r[_0x28a655(0x6c7)])(un,{'title':_0x5846f8['t'](_0x28a655(0x4bc)),'shapeData':_0x8b2a80,'open':_0x2977d6==='fill','disabled':_0x2cfe9a,'fallbackColor':_0xb07bb2,'fallbackGradientEndColor':_0xea71ab,'onOpenChange':_0x45472f=>_0x272d62('fill',_0x45472f),'onUpdateShapeData':_0x309044}),(0x0,r['jsx'])(yn,{'title':_0x5846f8['t']('shape-editor-ui.line.title'),'shapeData':_0x8b2a80,'open':_0x2977d6===_0x28a655(0x45b),'fallbackColor':_0x3bf193,'resetLabel':_0x5846f8['t'](_0x28a655(0x38b)),'onOpenChange':_0x5e1cea=>_0x272d62(_0x28a655(0x45b),_0x5e1cea),'onReset':_0x2ecb07?()=>{const _0x17d9b7=_0x28a655;let _0x1ef40a={'lineStrokeType':S[_0x17d9b7(0x3d7)][_0x17d9b7(0x518)]};_0x309044({'oldShapeData':{'stroke':_0x8b2a80[_0x17d9b7(0x45b)]}},{'stroke':{..._0x8b2a80['stroke'],..._0x1ef40a}},{'stroke':_0x1ef40a});}:void 0x0,'onUpdateShapeData':_0x309044})]}),_0x199bf0&&_0x12c7f2&&(0x0,r[_0x28a655(0x565)])(r['Fragment'],{'children':[(0x0,r[_0x28a655(0x6c7)])(e[_0x28a655(0x169)],{'orientation':_0x28a655(0x67b)}),(0x0,r[_0x28a655(0x565)])(An,{'children':[(0x0,r[_0x28a655(0x6c7)])(lt,{'value':String(_0x157eec),'onChange':_0x325d2d=>{_0x244752({'textStyle':{'fs':_0x325d2d}});},'onAfterChange':()=>{const _0x275ee7=_0x28a655;_0x39ff2c[_0x275ee7(0x376)](o[_0x275ee7(0x400)],!0x1);}}),(0x0,r[_0x28a655(0x6c7)])(On,{'title':_0x5846f8['t'](_0x28a655(0x26c)),'fontFamily':_0x5c20a9,'textStyle':{'isBold':_0x37f204,'isItalic':_0x2878e9,'isUnderline':_0x4eca19,'isStrike':_0x4b99d3},'horizontalAlign':_0x523ae5,'verticalAlign':_0xc6a69f,'horizontalAlignOptions':_0x113f34,'verticalAlignOptions':_0x420767,'onUpdateText':_0x244752})]}),(0x0,r[_0x28a655(0x6c7)])(e[_0x28a655(0x169)],{'orientation':_0x28a655(0x67b)}),(0x0,r[_0x28a655(0x565)])(An,{'children':[(0x0,r['jsx'])(En,{'title':_0x5846f8['t'](_0x28a655(0x78b)),'textStyle':_0x34c630,'fallbackColor':_0x5eef80,'onChange':_0x7b2e82=>_0x244752({'textStyle':_0x7b2e82})}),(0x0,r[_0x28a655(0x6c7)])(Dn,{'title':_0x5846f8['t'](_0x28a655(0x502)),'color':_0x4d05fc,'onApply':()=>_0x244752({'textStyle':{'bg':{'rgb':_0x4d05fc}}}),'onReset':_0x46872b?()=>_0x244752({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x1c2e3d=>_0x244752({'textStyle':{'bg':{'rgb':_0x1c2e3d}}})})]})]})]}),_0x199bf0&&_0x291c33!==void 0x0&&_0x18d0bc&&_0x39dd5f&&(0x0,r[_0x28a655(0x565)])(r['Fragment'],{'children':[(0x0,r[_0x28a655(0x6c7)])(e['Separator'],{'orientation':_0x28a655(0x67b)}),(0x0,r['jsx'])(An,{'children':(0x0,r[_0x28a655(0x6c7)])(Nn,{'title':((_0x46088f=_0x18d0bc[_0x28a655(0x608)](_0x2ad036=>_0x2ad036[_0x28a655(0x7e2)]===_0x291c33))==null?void 0x0:_0x46088f[_0x28a655(0x60e)])??_0x5846f8['t'](_0x28a655(0x77f)),'value':_0x291c33,'options':_0x18d0bc,'onChange':_0x39dd5f})})]}),_0x5070d9&&(0x0,r[_0x28a655(0x565)])(r[_0x28a655(0x372)],{'children':[(0x0,r['jsx'])(e['Separator'],{'orientation':'vertical'}),(0x0,r['jsx'])(An,{'children':(0x0,r['jsx'])(Pn,{'action':_0x5070d9})})]}),(0x0,r[_0x28a655(0x565)])(r[_0x28a655(0x372)],{'children':[(0x0,r['jsx'])(e[_0x28a655(0x169)],{'orientation':'vertical'}),(0x0,r[_0x28a655(0x565)])(An,{'children':[_0x59bdab&&(0x0,r[_0x28a655(0x6c7)])(st,{'title':_0x5846f8['t'](_0x28a655(0x480)),'onClick':()=>{_0x59bdab();},'children':(0x0,r[_0x28a655(0x6c7)])(t[_0x28a655(0x761)],{})}),(0x0,r[_0x28a655(0x6c7)])(Fn,{'actions':_0x4248d6,'deleteLabel':_0x57d1e6??_0x5846f8['t'](_0x28a655(0x639)),'hideLabel':_0x364c7b??_0x5846f8['t']('shape-editor-ui.toolbar.hideMenu'),'onDelete':_0x544261,'onHide':()=>_0x420c9a(!0x0)})]})]}),_0x8e7a8e['map'](_0x28e1fd=>(0x0,r[_0x28a655(0x565)])(n[_0x28a655(0x372)],{'children':[(0x0,r[_0x28a655(0x6c7)])(e[_0x28a655(0x169)],{'orientation':_0x28a655(0x67b)}),(0x0,r[_0x28a655(0x6c7)])(An,{'children':_0x28e1fd[_0x28a655(0x3fa)][_0x28a655(0x50f)](_0x3c46e4=>(0x0,r['jsx'])(n[_0x28a655(0x372)],{'children':_0x3c46e4[_0x28a655(0x172)]??(0x0,r[_0x28a655(0x6c7)])(st,{'title':_0x3c46e4[_0x28a655(0x60e)],'active':_0x3c46e4['active'],'disabled':_0x3c46e4[_0x28a655(0x542)],'onClick':_0x3c46e4[_0x28a655(0x75c)],'children':_0x3c46e4['icon']})},_0x3c46e4['key']))})]},_0x28e1fd['key']))]})});}let Ln=function(_0x22797f){const _0x597eb0=_0xdb1731;return _0x22797f[_0x597eb0(0x41d)]=_0x597eb0(0x598),_0x22797f[_0x597eb0(0x193)]=_0x597eb0(0x1b6),_0x22797f[_0x597eb0(0x301)]=_0x597eb0(0x5af),_0x22797f['BlockArrow']=_0x597eb0(0xe7),_0x22797f['EquationShape']=_0x597eb0(0x405),_0x22797f[_0x597eb0(0x2fb)]=_0x597eb0(0x42c),_0x22797f[_0x597eb0(0x559)]='starAndBanner',_0x22797f['Callout']='callout',_0x22797f['Other']=_0x597eb0(0x675),_0x22797f;}({});const Rn=[{'group':_0xdb1731(0x598),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x41d)],'icon':_0xdb1731(0x4d8),'name':_0xdb1731(0x58b)},{'group':_0xdb1731(0x598),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5ef)],'icon':_0xdb1731(0x1df),'name':_0xdb1731(0x592),'endArrow':!0x0},{'group':_0xdb1731(0x598),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5ef)],'icon':_0xdb1731(0x62f),'name':_0xdb1731(0x4dc),'endArrow':!0x0,'startArrow':!0x0},{'group':_0xdb1731(0x598),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5fa)],'icon':_0xdb1731(0x6a4),'name':_0xdb1731(0x31e)},{'group':_0xdb1731(0x598),'type':S['ShapeTypeEnum'][_0xdb1731(0x5fa)],'icon':_0xdb1731(0x5f6),'name':_0xdb1731(0x39a),'endArrow':!0x0},{'group':_0xdb1731(0x598),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5fa)],'icon':'ShapeBentConnector3Arrow2Icon','name':_0xdb1731(0x67a),'endArrow':!0x0,'startArrow':!0x0},{'group':_0xdb1731(0x598),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x29b)],'icon':_0xdb1731(0x165),'name':_0xdb1731(0x6d2)},{'group':_0xdb1731(0x598),'type':S['ShapeTypeEnum'][_0xdb1731(0x29b)],'icon':_0xdb1731(0x2d2),'name':_0xdb1731(0x5da),'endArrow':!0x0},{'group':_0xdb1731(0x598),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x29b)],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0xdb1731(0x2c2),'endArrow':!0x0,'startArrow':!0x0},{'group':_0xdb1731(0x1b6),'type':S['ShapeTypeEnum']['Rect'],'icon':'ShapeRectIcon','name':_0xdb1731(0x16e)},{'group':_0xdb1731(0x1b6),'type':S[_0xdb1731(0x1f6)]['RoundRect'],'icon':'ShapeRoundRectIcon','name':'shape.type.round-rect'},{'group':_0xdb1731(0x1b6),'type':S[_0xdb1731(0x1f6)]['Snip1Rect'],'icon':_0xdb1731(0x777),'name':_0xdb1731(0x6bf)},{'group':_0xdb1731(0x1b6),'type':S['ShapeTypeEnum'][_0xdb1731(0x62a)],'icon':_0xdb1731(0x709),'name':'shape.type.snip2-same-rect'},{'group':_0xdb1731(0x1b6),'type':S[_0xdb1731(0x1f6)]['Snip2DiagRect'],'icon':_0xdb1731(0x2d1),'name':'shape.type.snip2-diag-rect'},{'group':_0xdb1731(0x1b6),'type':S[_0xdb1731(0x1f6)]['SnipRoundRect'],'icon':_0xdb1731(0x12e),'name':_0xdb1731(0x7c2)},{'group':_0xdb1731(0x1b6),'type':S[_0xdb1731(0x1f6)]['Round1Rect'],'icon':'ShapeRound1RectIcon','name':_0xdb1731(0x272)},{'group':_0xdb1731(0x1b6),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x40c)],'icon':_0xdb1731(0x1ac),'name':'shape.type.round2-same-rect'},{'group':'rectangle','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x3ba)],'icon':_0xdb1731(0x139),'name':'shape.type.round2-diag-rect'},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0xe8)],'icon':_0xdb1731(0x255),'name':_0xdb1731(0x359),'horizontal':!0x0},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0xe8)],'icon':_0xdb1731(0x2ef),'name':_0xdb1731(0x4fe),'vertical':!0x0},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x688)],'icon':_0xdb1731(0x161),'name':'shape.type.ellipse'},{'group':_0xdb1731(0x5af),'type':S['ShapeTypeEnum']['Triangle'],'icon':_0xdb1731(0x11a),'name':_0xdb1731(0x466)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x6f8)],'icon':'ShapeRtTriangleIcon','name':_0xdb1731(0x48c)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)]['Parallelogram'],'icon':'ShapeParallelogramIcon','name':_0xdb1731(0x4be)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0xdb1731(0x56b)],'icon':_0xdb1731(0x364),'name':_0xdb1731(0x21c)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)]['Diamond'],'icon':_0xdb1731(0x4a0),'name':_0xdb1731(0x1bd)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x77b)],'icon':_0xdb1731(0x584),'name':_0xdb1731(0x5a4)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0xdb1731(0x641)],'icon':_0xdb1731(0x792),'name':_0xdb1731(0x7d0)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x6ab)],'icon':'ShapeHeptagonIcon','name':_0xdb1731(0x29c)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)]['Octagon'],'icon':'ShapeOctagonIcon','name':_0xdb1731(0x62c)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x6c6)],'icon':'ShapeDecagonIcon','name':_0xdb1731(0x121)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5df)],'icon':_0xdb1731(0x629),'name':_0xdb1731(0x347)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0xdb1731(0x6ed)],'icon':_0xdb1731(0x664),'name':'shape.type.pie'},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x576)],'icon':_0xdb1731(0x144),'name':_0xdb1731(0x73e)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x596)],'icon':'ShapeTeardropIcon','name':'shape.type.teardrop'},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x6dd)],'icon':_0xdb1731(0x127),'name':_0xdb1731(0x300)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x76e)],'icon':'ShapeHalfFrameIcon','name':_0xdb1731(0x4f4)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0xdb1731(0x413)],'icon':_0xdb1731(0x1ad),'name':'shape.type.corner'},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x1a4)],'icon':'ShapeDiagStripeIcon','name':_0xdb1731(0x381)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x205)],'icon':'ShapePlusIcon','name':_0xdb1731(0x36d)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x38a)],'icon':_0xdb1731(0x3dc),'name':_0xdb1731(0x3a8)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)]['Can'],'icon':_0xdb1731(0x503),'name':_0xdb1731(0x7b3)},{'group':'basicShape','type':S['ShapeTypeEnum'][_0xdb1731(0x2f0)],'icon':_0xdb1731(0x490),'name':'shape.type.cube'},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x66a)],'icon':_0xdb1731(0x741),'name':_0xdb1731(0x539)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x7e7)],'icon':_0xdb1731(0x7a2),'name':_0xdb1731(0x254)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x63d)],'icon':_0xdb1731(0x7ad),'name':'shape.type.no-smoking'},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5ad)],'icon':_0xdb1731(0x22c),'name':_0xdb1731(0xe1)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x533)],'icon':_0xdb1731(0x55d),'name':_0xdb1731(0x543)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x7e6)],'icon':'ShapeSmileyFaceIcon','name':_0xdb1731(0x597)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)]['Heart'],'icon':_0xdb1731(0x560),'name':'shape.type.heart'},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x391)],'icon':'ShapeLightningBoltIcon','name':_0xdb1731(0x229)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x7a0)],'icon':_0xdb1731(0xc8),'name':_0xdb1731(0x140)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)]['Moon'],'icon':_0xdb1731(0x582),'name':_0xdb1731(0x493)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x66e)],'icon':_0xdb1731(0x6e3),'name':_0xdb1731(0x51f)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x531)],'icon':_0xdb1731(0x2bd),'name':_0xdb1731(0x6e1)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x778)],'icon':_0xdb1731(0x7cb),'name':'shape.type.bracket-pair'},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x2ee)],'icon':'ShapeBracePairIcon','name':_0xdb1731(0x6df)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)]['LeftBracket'],'icon':'ShapeLeftBracketIcon','name':_0xdb1731(0x11b)},{'group':'basicShape','type':S[_0xdb1731(0x1f6)][_0xdb1731(0xd4)],'icon':_0xdb1731(0x5b5),'name':_0xdb1731(0x79c)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x444)],'icon':_0xdb1731(0x483),'name':_0xdb1731(0x37c)},{'group':_0xdb1731(0x5af),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x7da)],'icon':_0xdb1731(0x431),'name':'shape.type.right-brace'},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)]['RightArrow'],'icon':'ShapeRightArrowIcon','name':'shape.type.right-arrow'},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x53e)],'icon':_0xdb1731(0x345),'name':_0xdb1731(0x199)},{'group':'blockArrow','type':S['ShapeTypeEnum'][_0xdb1731(0x428)],'icon':_0xdb1731(0x20f),'name':_0xdb1731(0x561)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x401)],'icon':_0xdb1731(0x2eb),'name':_0xdb1731(0x499)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)]['LeftRightArrow'],'icon':'ShapeLeftRightArrowIcon','name':_0xdb1731(0x38e)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x547)],'icon':'ShapeUpDownArrowIcon','name':_0xdb1731(0xd6)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)]['QuadArrow'],'icon':_0xdb1731(0x794),'name':'shape.type.quad-arrow'},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x467)],'icon':_0xdb1731(0x3ac),'name':'shape.type.left-right-up-arrow'},{'group':'blockArrow','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x705)],'icon':'ShapeBentArrowIcon','name':_0xdb1731(0x63e)},{'group':_0xdb1731(0xe7),'type':S['ShapeTypeEnum'][_0xdb1731(0x3ef)],'icon':'ShapeUturnArrowIcon','name':_0xdb1731(0x2b1)},{'group':'blockArrow','type':S[_0xdb1731(0x1f6)]['LeftUpArrow'],'icon':_0xdb1731(0x31c),'name':_0xdb1731(0x15b)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x516)],'icon':'ShapeBentUpArrowIcon','name':_0xdb1731(0x759)},{'group':_0xdb1731(0xe7),'type':S['ShapeTypeEnum'][_0xdb1731(0x7b0)],'icon':_0xdb1731(0x5e6),'name':'shape.type.curved-right-arrow'},{'group':'blockArrow','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x459)],'icon':_0xdb1731(0x745),'name':_0xdb1731(0x243)},{'group':'blockArrow','type':S['ShapeTypeEnum'][_0xdb1731(0x71c)],'icon':'ShapeCurvedUpArrowIcon','name':'shape.type.curved-up-arrow'},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x7cd)],'icon':_0xdb1731(0x5d4),'name':'shape.type.curved-down-arrow'},{'group':_0xdb1731(0xe7),'type':S['ShapeTypeEnum'][_0xdb1731(0x1ce)],'icon':_0xdb1731(0x14c),'name':_0xdb1731(0x181)},{'group':_0xdb1731(0xe7),'type':S['ShapeTypeEnum'][_0xdb1731(0x1f4)],'icon':'ShapeNotchedRightArrowIcon','name':_0xdb1731(0x160)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x6d3)],'icon':_0xdb1731(0x268),'name':_0xdb1731(0x396)},{'group':'blockArrow','type':S['ShapeTypeEnum'][_0xdb1731(0x3d0)],'icon':_0xdb1731(0x24f),'name':_0xdb1731(0xee)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x58c)],'icon':_0xdb1731(0x5d7),'name':_0xdb1731(0x6a3)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)]['DownArrowCallout'],'icon':_0xdb1731(0x74c),'name':_0xdb1731(0x265)},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)]['LeftArrowCallout'],'icon':_0xdb1731(0xc0),'name':'shape.type.left-arrow-callout'},{'group':'blockArrow','type':S['ShapeTypeEnum']['UpArrowCallout'],'icon':_0xdb1731(0x607),'name':_0xdb1731(0x15e)},{'group':_0xdb1731(0xe7),'type':S['ShapeTypeEnum'][_0xdb1731(0x28b)],'icon':'ShapeLeftRightArrowCalloutIcon','name':'shape.type.left-right-arrow-callout'},{'group':_0xdb1731(0xe7),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x477)],'icon':'ShapeQuadArrowCalloutIcon','name':'shape.type.quad-arrow-callout'},{'group':_0xdb1731(0xe7),'type':S['ShapeTypeEnum']['CircularArrow'],'icon':'ShapeCircularArrowIcon','name':_0xdb1731(0x207)},{'group':'equationShape','type':S[_0xdb1731(0x1f6)]['MathPlus'],'icon':_0xdb1731(0x7a8),'name':_0xdb1731(0x774)},{'group':_0xdb1731(0x405),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5c9)],'icon':'ShapeMathMinusIcon','name':'shape.type.math-minus'},{'group':'equationShape','type':S[_0xdb1731(0x1f6)]['MathMultiply'],'icon':_0xdb1731(0x44e),'name':_0xdb1731(0x646)},{'group':_0xdb1731(0x405),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x3a9)],'icon':'ShapeMathDivideIcon','name':_0xdb1731(0x7ae)},{'group':_0xdb1731(0x405),'type':S['ShapeTypeEnum'][_0xdb1731(0x53a)],'icon':_0xdb1731(0x679),'name':_0xdb1731(0x252)},{'group':_0xdb1731(0x405),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x70f)],'icon':_0xdb1731(0x64e),'name':_0xdb1731(0x3de)},{'group':_0xdb1731(0x42c),'type':S['ShapeTypeEnum'][_0xdb1731(0x6c4)],'icon':_0xdb1731(0xf0),'name':_0xdb1731(0x7d9)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0xd2)],'icon':_0xdb1731(0x4fd),'name':_0xdb1731(0x30f)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x32a)],'icon':_0xdb1731(0x201),'name':_0xdb1731(0x640)},{'group':_0xdb1731(0x42c),'type':S['ShapeTypeEnum'][_0xdb1731(0x4e5)],'icon':_0xdb1731(0x6f9),'name':'shape.type.flow-chart-input-output'},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)]['FlowchartPredefinedProcess'],'icon':_0xdb1731(0x453),'name':_0xdb1731(0x76c)},{'group':_0xdb1731(0x42c),'type':S['ShapeTypeEnum'][_0xdb1731(0x614)],'icon':_0xdb1731(0x6b1),'name':_0xdb1731(0x3e0)},{'group':'flowchart','type':S['ShapeTypeEnum']['FlowchartDocument'],'icon':_0xdb1731(0x3d1),'name':'shape.type.flow-chart-document'},{'group':_0xdb1731(0x42c),'type':S['ShapeTypeEnum']['FlowchartMultiDocument'],'icon':_0xdb1731(0x235),'name':'shape.type.flow-chart-multidocument'},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x397)],'icon':_0xdb1731(0x2a3),'name':_0xdb1731(0x7a3)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)]['FlowchartPreparation'],'icon':_0xdb1731(0x3d3),'name':_0xdb1731(0x332)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)]['FlowchartManualInput'],'icon':_0xdb1731(0x62d),'name':_0xdb1731(0x246)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5e7)],'icon':_0xdb1731(0x764),'name':'shape.type.flow-chart-manual-operation'},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)]['FlowchartConnector'],'icon':_0xdb1731(0x114),'name':_0xdb1731(0x45d)},{'group':'flowchart','type':S['ShapeTypeEnum'][_0xdb1731(0x1d4)],'icon':_0xdb1731(0x1da),'name':_0xdb1731(0x1b1)},{'group':_0xdb1731(0x42c),'type':S['ShapeTypeEnum']['FlowchartPunchedCard'],'icon':_0xdb1731(0x3b7),'name':_0xdb1731(0x72f)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5c2)],'icon':_0xdb1731(0x53c),'name':_0xdb1731(0x1cc)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)]['FlowchartSummingJunction'],'icon':_0xdb1731(0x441),'name':_0xdb1731(0x27c)},{'group':'flowchart','type':S[_0xdb1731(0x1f6)]['FlowchartOr'],'icon':_0xdb1731(0x5c4),'name':_0xdb1731(0x25e)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)]['FlowchartCollate'],'icon':_0xdb1731(0x3d4),'name':_0xdb1731(0x648)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x3ec)],'icon':_0xdb1731(0xc7),'name':_0xdb1731(0x634)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)]['FlowchartExtract'],'icon':_0xdb1731(0x66d),'name':_0xdb1731(0x2b5)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x4d9)],'icon':_0xdb1731(0x1a6),'name':_0xdb1731(0x5f5)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x4f8)],'icon':_0xdb1731(0x18d),'name':'shape.type.flow-chart-online-storage'},{'group':'flowchart','type':S[_0xdb1731(0x1f6)]['FlowchartDelay'],'icon':_0xdb1731(0x303),'name':_0xdb1731(0x571)},{'group':_0xdb1731(0x42c),'type':S['ShapeTypeEnum'][_0xdb1731(0x2cc)],'icon':_0xdb1731(0x6fd),'name':_0xdb1731(0x3e2)},{'group':_0xdb1731(0x42c),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x7aa)],'icon':_0xdb1731(0x681),'name':_0xdb1731(0x6ee)},{'group':'flowchart','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x643)],'icon':_0xdb1731(0x6e9),'name':_0xdb1731(0x1e5)},{'group':'flowchart','type':S['ShapeTypeEnum'][_0xdb1731(0x3e5)],'icon':_0xdb1731(0x6f1),'name':_0xdb1731(0x7db)},{'group':'starAndBanner','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x1ed)],'icon':'ShapeIrregularSeal1Icon','name':_0xdb1731(0x506)},{'group':'starAndBanner','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x6d7)],'icon':'ShapeIrregularSeal2Icon','name':_0xdb1731(0x456)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x72c)],'icon':_0xdb1731(0x57e),'name':_0xdb1731(0x7ab)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)]['Star5'],'icon':_0xdb1731(0x548),'name':_0xdb1731(0x4e4)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x261)],'icon':_0xdb1731(0x4de),'name':'shape.type.star6'},{'group':_0xdb1731(0x48a),'type':S['ShapeTypeEnum'][_0xdb1731(0x603)],'icon':_0xdb1731(0x7dc),'name':_0xdb1731(0xdc)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x4b1)],'icon':_0xdb1731(0x78d),'name':'shape.type.star8'},{'group':'starAndBanner','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x2f4)],'icon':_0xdb1731(0x6cf),'name':'shape.type.star10'},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x69c)],'icon':_0xdb1731(0x1fa),'name':_0xdb1731(0x71a)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x3aa)],'icon':'ShapeStar16Icon','name':'shape.type.star16'},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x130)],'icon':_0xdb1731(0x711),'name':_0xdb1731(0x4c7)},{'group':_0xdb1731(0x48a),'type':S['ShapeTypeEnum'][_0xdb1731(0x55e)],'icon':_0xdb1731(0x1f2),'name':_0xdb1731(0x341)},{'group':'starAndBanner','type':S[_0xdb1731(0x1f6)]['Ribbon2'],'icon':_0xdb1731(0x578),'name':_0xdb1731(0x5e1)},{'group':_0xdb1731(0x48a),'type':S['ShapeTypeEnum'][_0xdb1731(0x15a)],'icon':_0xdb1731(0x6e5),'name':_0xdb1731(0x524)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x510)],'icon':'ShapeEllipseRibbon2Icon','name':_0xdb1731(0x43e)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x4db)],'icon':_0xdb1731(0x15d),'name':'shape.type.ellipse-ribbon'},{'group':'starAndBanner','type':S['ShapeTypeEnum'][_0xdb1731(0x3af)],'icon':_0xdb1731(0x77d),'name':_0xdb1731(0x46f)},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x4a3)],'icon':_0xdb1731(0xe4),'name':_0xdb1731(0x57a)},{'group':'starAndBanner','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x28f)],'icon':_0xdb1731(0x138),'name':'shape.type.wave'},{'group':_0xdb1731(0x48a),'type':S[_0xdb1731(0x1f6)]['DoubleWave'],'icon':_0xdb1731(0x554),'name':_0xdb1731(0x752)},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x16f)],'icon':_0xdb1731(0x34b),'name':_0xdb1731(0x373)},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x233)],'icon':_0xdb1731(0x296),'name':'shape.type.wedge-round-rect-callout'},{'group':'callout','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x3c4)],'icon':_0xdb1731(0x290),'name':_0xdb1731(0x323)},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x3ce)],'icon':_0xdb1731(0x77a),'name':_0xdb1731(0x564)},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)]['BorderCallout1'],'icon':'ShapeBorderCallout1Icon','name':'shape.type.border-callout1'},{'group':_0xdb1731(0x263),'type':S['ShapeTypeEnum']['BorderCallout2'],'icon':'ShapeBorderCallout2Icon','name':_0xdb1731(0x594)},{'group':'callout','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x726)],'icon':'ShapeBorderCallout3Icon','name':_0xdb1731(0x219)},{'group':_0xdb1731(0x263),'type':S['ShapeTypeEnum'][_0xdb1731(0x43d)],'icon':_0xdb1731(0x3a7),'name':_0xdb1731(0x494)},{'group':_0xdb1731(0x263),'type':S['ShapeTypeEnum'][_0xdb1731(0x647)],'icon':_0xdb1731(0x5cc),'name':'shape.type.accent-callout2'},{'group':'callout','type':S[_0xdb1731(0x1f6)]['AccentCallout3'],'icon':_0xdb1731(0x2d9),'name':'shape.type.accent-callout3'},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x56a)],'icon':_0xdb1731(0x4c6),'name':_0xdb1731(0x40e)},{'group':'callout','type':S['ShapeTypeEnum'][_0xdb1731(0x2de)],'icon':_0xdb1731(0x78a),'name':_0xdb1731(0x3a6)},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x501)],'icon':_0xdb1731(0x1e6),'name':_0xdb1731(0x492)},{'group':_0xdb1731(0x263),'type':S['ShapeTypeEnum'][_0xdb1731(0x163)],'icon':'ShapeAccentBorderCallout1Icon','name':'shape.type.accent-border-callout1'},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x4ef)],'icon':_0xdb1731(0x721),'name':_0xdb1731(0x434)},{'group':_0xdb1731(0x263),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x66f)],'icon':'ShapeAccentBorderCallout3Icon','name':_0xdb1731(0x4c5)},{'group':_0xdb1731(0x675),'type':S['ShapeTypeEnum'][_0xdb1731(0x1ea)],'icon':_0xdb1731(0x51e),'name':_0xdb1731(0x1a5)},{'group':'other','type':S['ShapeTypeEnum'][_0xdb1731(0x134)],'icon':'ShapeLeftRightCircularArrowIcon','name':'shape.type.left-right-circular-arrow'},{'group':_0xdb1731(0x675),'type':S['ShapeTypeEnum'][_0xdb1731(0x604)],'icon':_0xdb1731(0x742),'name':_0xdb1731(0x4b4)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x4e2)],'icon':_0xdb1731(0x17e),'name':_0xdb1731(0x293)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x358)],'icon':_0xdb1731(0x718),'name':_0xdb1731(0x743)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x195)],'icon':_0xdb1731(0x29f),'name':_0xdb1731(0x203)},{'group':'other','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x64f)],'icon':_0xdb1731(0x1cf),'name':_0xdb1731(0x7c3)},{'group':'other','type':S['ShapeTypeEnum']['Gear9'],'icon':'ShapeGear9Icon','name':_0xdb1731(0x136)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)]['CornerTabs'],'icon':'ShapeCornerTabsIcon','name':_0xdb1731(0x42a)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x2fc)],'icon':_0xdb1731(0x4a6),'name':_0xdb1731(0x5cb)},{'group':'other','type':S['ShapeTypeEnum'][_0xdb1731(0x410)],'icon':'ShapeActionButtonForwardNextIcon','name':_0xdb1731(0x399)},{'group':_0xdb1731(0x675),'type':S['ShapeTypeEnum'][_0xdb1731(0x439)],'icon':_0xdb1731(0x575),'name':'shape.type.action-button-beginning'},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x7d8)],'icon':'ShapeActionButtonEndIcon','name':_0xdb1731(0x35b)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x1b9)],'icon':_0xdb1731(0x295),'name':_0xdb1731(0x585)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x3be)],'icon':_0xdb1731(0x5c6),'name':_0xdb1731(0x59a)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0xf5)],'icon':'ShapeActionButtonReturnIcon','name':_0xdb1731(0x3e9)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x440)],'icon':_0xdb1731(0x312),'name':_0xdb1731(0x537)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x59c)],'icon':_0xdb1731(0x327),'name':'shape.type.action-button-document'},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x131)],'icon':_0xdb1731(0x581),'name':_0xdb1731(0x3b6)},{'group':_0xdb1731(0x675),'type':S['ShapeTypeEnum'][_0xdb1731(0x4af)],'icon':_0xdb1731(0x3df),'name':_0xdb1731(0x468)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x5a7)],'icon':_0xdb1731(0x579),'name':_0xdb1731(0x31b)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x796)],'icon':_0xdb1731(0x737),'name':'shape.type.chart-plus'},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x767)],'icon':'ShapeChartStarIcon','name':'shape.type.chart-star'},{'group':'other','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x72b)],'icon':_0xdb1731(0x406),'name':'shape.type.chart-x'},{'group':_0xdb1731(0x675),'type':S['ShapeTypeEnum'][_0xdb1731(0x528)],'icon':_0xdb1731(0x50d),'name':'shape.type.flow-chart-offline-storage'},{'group':'other','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x530)],'icon':'ShapeLineInvIcon','name':_0xdb1731(0x1ec)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)][_0xdb1731(0x692)],'icon':_0xdb1731(0x568),'name':_0xdb1731(0x1e1)},{'group':_0xdb1731(0x675),'type':S[_0xdb1731(0x1f6)]['SquareTabs'],'icon':'ShapeSquareTabsIcon','name':_0xdb1731(0x5f0)},{'group':'other','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x470)],'icon':_0xdb1731(0x691),'name':'shape.type.up-down-arrow-callout'},{'group':'other','type':S[_0xdb1731(0x1f6)][_0xdb1731(0x42b)],'icon':_0xdb1731(0x734),'name':_0xdb1731(0x4ea)}];function zn(_0x53c156=Rn,_0x3e0b3e=[]){const _0xf8c12a=_0xdb1731;return _0x53c156[_0xf8c12a(0xc5)]((_0x2229a7,_0x4d5edc)=>_0x3e0b3e[_0xf8c12a(0x2ed)](_0x4d5edc[_0xf8c12a(0x108)])?_0x2229a7:(_0x2229a7[_0x4d5edc['group']]||(_0x2229a7[_0x4d5edc[_0xf8c12a(0x108)]]=[]),_0x2229a7[_0x4d5edc[_0xf8c12a(0x108)]][_0xf8c12a(0x37a)](_0x4d5edc),_0x2229a7),{});}function Bn(_0x594554){const _0x3f6a63=_0xdb1731;let {excludeGroups:_0x539001,onShapeClick:_0x8b5a0b,options:_0x10124a=Rn,scrollContainer:_0x469fce='self',variant:_0x2ababf='plain'}=_0x594554,_0x2ca994=(0x0,s['useDependency'])(s[_0x3f6a63(0x600)]),_0x57ebec=(0x0,s[_0x3f6a63(0x14e)])(o['LocaleService']),_0x36abe4=zn(_0x10124a,_0x539001);return(0x0,r['jsx'])(_0x3f6a63(0x73f),{'className':(0x0,e['clsx'])(_0x3f6a63(0x44d),_0x469fce==='self'&&_0x3f6a63(0x111),_0x2ababf==='card'&&_0x3f6a63(0x5fc)),'children':Object[_0x3f6a63(0x415)](_0x36abe4)['map'](([_0x3d9d14,_0x5cf266])=>(0x0,r[_0x3f6a63(0x565)])(_0x3f6a63(0x73f),{'className':_0x3f6a63(0x10a),'children':[(0x0,r[_0x3f6a63(0x6c7)])(_0x3f6a63(0x73f),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x57ebec['t'](_0x3f6a63(0x49e)+_0x3d9d14)}),(0x0,r[_0x3f6a63(0x6c7)])(_0x3f6a63(0x73f),{'className':_0x3f6a63(0x6fe),'children':_0x5cf266==null?void 0x0:_0x5cf266[_0x3f6a63(0x50f)](_0x3207fe=>{const _0x390542=_0x3f6a63;let _0x3ad354=_0x2ca994[_0x390542(0x378)](_0x3207fe[_0x390542(0x713)]);return(0x0,r[_0x390542(0x6c7)])(_0x390542(0x4c8),{'type':_0x390542(0x4c8),'title':_0x57ebec['t'](_0x390542(0x26f)+_0x3207fe[_0x390542(0x6a8)]),'onClick':()=>_0x8b5a0b(_0x3207fe),'className':_0x390542(0x117),'children':_0x3ad354&&(0x0,r[_0x390542(0x6c7)])(_0x3ad354,{'className':_0x390542(0x1b5)})},_0x3207fe['name']);})})]},_0x3d9d14))});}function Vn(_0x11ba6a){const _0x2a1d65=_0xdb1731;let {excludeGroups:_0x3f4ec9,onShapeClick:_0x137d57,options:_0x22b4ab,scrollContainer:_0x4a91be,variant:_0x449bdc}=_0x11ba6a;return(0x0,r[_0x2a1d65(0x6c7)])(Bn,{'excludeGroups':_0x3f4ec9,'onShapeClick':_0x137d57,'options':_0x22b4ab,'scrollContainer':_0x4a91be,'variant':_0x449bdc});}function Hn(_0x468d22){const _0x1967a2=_0xdb1731;let {buttonLabel:_0xa4c61b,side:_0x48853c=_0x1967a2(0x7af),..._0x8735e2}=_0x468d22,_0x56274a=(0x0,s['useDependency'])(o[_0x1967a2(0x432)]),[_0x36fa6b,_0x2d9d18]=(0x0,n[_0x1967a2(0x48e)])(!0x1);return(0x0,r[_0x1967a2(0x6c7)])(e[_0x1967a2(0x462)],{'side':_0x48853c,'open':_0x36fa6b,'onOpenChange':_0x2d9d18,'overlay':(0x0,r['jsx'])(Vn,{..._0x8735e2,'onShapeClick':_0x2d49e0=>{const _0x44c904=_0x1967a2;_0x8735e2[_0x44c904(0x4b6)](_0x2d49e0),_0x2d9d18(!0x1);}}),'children':(0x0,r[_0x1967a2(0x6c7)])(e['Button'],{'children':_0x56274a['t'](_0xa4c61b)})});}const Un=_0xdb1731(0x674);function Wn(_0x330355){const _0x49eb20=_0xdb1731;let {buttonClassName:_0x4bd674,className:_0x1452d6,popupDataComponent:_0x46c550='doc-paragraph-type-dropdown-popup',title:_0x56824b,onAfterCommand:_0xe9b6f4,onBeforeCommand:_0x6fae52,onMouseDown:_0x35d31b}=_0x330355,_0x33e263=(0x0,s[_0x49eb20(0x14e)])(o[_0x49eb20(0x773)]),_0x40c6e6=(0x0,s[_0x49eb20(0x14e)])(f[_0x49eb20(0x5a3)]),_0x59daee=(0x0,s[_0x49eb20(0x14e)])(o[_0x49eb20(0x432)]),_0x14b56f=(0x0,s['useDependency'])(o['IUniverInstanceService']),[_0x246663,_0x5a34fe]=(0x0,n[_0x49eb20(0x48e)])(!0x1),[_0x46cf64,_0x12a7a9]=(0x0,n[_0x49eb20(0x48e)])(o[_0x49eb20(0x1a3)]['NORMAL_TEXT']),_0x273c04=()=>{const _0x5ba0aa=_0x49eb20;var _0x46eade;let _0x2a9631=Yn(_0x14b56f[_0x5ba0aa(0x15c)](o[_0x5ba0aa(0xc6)][_0x5ba0aa(0x5ff)]),Jn(_0x40c6e6));_0x12a7a9((_0x2a9631==null||(_0x46eade=_0x2a9631[_0x5ba0aa(0x2e9)])==null?void 0x0:_0x46eade['namedStyleType'])??o[_0x5ba0aa(0x1a3)][_0x5ba0aa(0x504)]);};(0x0,n['useEffect'])(()=>{const _0x32f314=_0x49eb20;_0x273c04();let _0x4823a6=_0x33e263[_0x32f314(0x2a7)](_0x178813=>{const _0x3b2390=_0x32f314;(_0x178813['id']===f[_0x3b2390(0x338)]['id']||_0x178813['id']===f[_0x3b2390(0x2ad)]['id']||_0x178813['id']===p['SetParagraphNamedStyleCommand']['id']||_0x178813['id']===p[_0x3b2390(0x137)]['id']||_0x178813['id']===p[_0x3b2390(0x2e1)]['id']||_0x178813['id']===p[_0x3b2390(0x4ca)]['id'])&&_0x273c04();}),_0x24e3c8=_0x40c6e6[_0x32f314(0x7c9)][_0x32f314(0x1c8)](_0x273c04);return()=>{const _0x33a3c3=_0x32f314;_0x4823a6[_0x33a3c3(0x6a5)](),_0x24e3c8[_0x33a3c3(0x5ae)]();};},[_0x33e263,_0x40c6e6,_0x14b56f]);let _0x4f0c73=(0x0,n[_0x49eb20(0x3b8)])(()=>Gn(_0x33e263)[_0x49eb20(0x50f)](_0x4ff89a=>({..._0x4ff89a,'label':_0x59daee['t'](_0x4ff89a['label'])})),[_0x33e263,_0x59daee]),_0x184510=_0x4f0c73['find'](_0x11781a=>_0x11781a['namedStyleType']===_0x46cf64)??_0x4f0c73[0x0],_0x21f747=_0x339ac8=>{const _0x267bf6=_0x49eb20;let _0x4cc656=_0x14b56f[_0x267bf6(0x15c)](o[_0x267bf6(0xc6)][_0x267bf6(0x5ff)]),_0x5834d5=Jn(_0x40c6e6);_0x6fae52==null||_0x6fae52(),_0x339ac8[_0x267bf6(0x7c0)]===void 0x0?_0x339ac8[_0x267bf6(0x5a6)]===p[_0x267bf6(0x137)]['id']||_0x339ac8[_0x267bf6(0x5a6)]===p[_0x267bf6(0x2e1)]['id']||_0x339ac8[_0x267bf6(0x5a6)]===p[_0x267bf6(0x4ca)]['id']?_0x33e263[_0x267bf6(0x599)](_0x339ac8[_0x267bf6(0x5a6)]):_0x339ac8[_0x267bf6(0x5a6)]&&_0x33e263[_0x267bf6(0x599)](_0x339ac8[_0x267bf6(0x5a6)],{'unitId':_0x4cc656==null?void 0x0:_0x4cc656[_0x267bf6(0x678)](),'startOffset':_0x5834d5==null?void 0x0:_0x5834d5[_0x267bf6(0x194)],'endOffset':_0x5834d5==null?void 0x0:_0x5834d5[_0x267bf6(0x2b0)]}):_0x33e263[_0x267bf6(0x599)](p['SetParagraphNamedStyleCommand']['id'],{'value':_0x339ac8[_0x267bf6(0x7c0)]}),_0x5a34fe(!0x1),window[_0x267bf6(0x4ba)](()=>{_0x273c04(),_0xe9b6f4==null||_0xe9b6f4();});};return(0x0,r['jsx'])(e[_0x49eb20(0x462)],{'open':_0x246663,'onOpenChange':_0x5a34fe,'overlay':(0x0,r[_0x49eb20(0x6c7)])(_0x49eb20(0x73f),{'className':(0x0,e[_0x49eb20(0x221)])(_0x49eb20(0x430),_0x1452d6),'data-u-comp':_0x46c550,'data-u-editor-interaction-boundary':_0x49eb20(0x208),'onMouseDown':_0x3eca3c=>_0x3eca3c['preventDefault'](),'children':_0x4f0c73['map'](_0x384168=>(0x0,r[_0x49eb20(0x565)])(_0x49eb20(0x4c8),{'type':_0x49eb20(0x4c8),'className':(0x0,e[_0x49eb20(0x221)])(_0x49eb20(0xd7),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x384168[_0x49eb20(0x7e2)]===(_0x184510==null?void 0x0:_0x184510[_0x49eb20(0x7e2)])}),'onClick':()=>_0x21f747(_0x384168),'onMouseDown':_0x4e7cc2=>_0x4e7cc2[_0x49eb20(0x1c6)](),'children':[(0x0,r[_0x49eb20(0x6c7)])(_0x49eb20(0x733),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x384168['icon']}),(0x0,r['jsx'])(_0x49eb20(0x733),{'className':'univer-flex-1','children':_0x384168[_0x49eb20(0x60e)]})]},_0x384168[_0x49eb20(0x7e2)]))}),'children':(0x0,r[_0x49eb20(0x6c7)])(_0x49eb20(0x733),{'children':(0x0,r[_0x49eb20(0x6c7)])(e['Tooltip'],{'title':_0x56824b,'placement':_0x49eb20(0x3f5),'children':(0x0,r['jsxs'])('button',{'type':_0x49eb20(0x4c8),'aria-expanded':_0x246663,'aria-label':_0x56824b,'title':_0x56824b,'data-u-editor-interaction-boundary':_0x49eb20(0x208),'className':(0x0,e[_0x49eb20(0x221)])(_0x49eb20(0x7cc),_0x4bd674,{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x246663}),'onMouseDown':_0x35d31b??(_0x29b1aa=>_0x29b1aa[_0x49eb20(0x1c6)]()),'children':[(0x0,r[_0x49eb20(0x6c7)])(_0x49eb20(0x733),{'className':_0x49eb20(0x7b4),'children':(_0x184510==null?void 0x0:_0x184510['icon'])??(0x0,r[_0x49eb20(0x6c7)])(t[_0x49eb20(0x123)],{})}),(0x0,r['jsx'])(t[_0x49eb20(0x7c6)],{'className':_0x49eb20(0x6b2)})]})})})});}function _0x163c(){const _0x2f038=['shape-editor-ui.line.color','pageMarginTop','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','default','Ellipse','shape-editor-ui.textBox.columns','more','_themeService','pointerEvents','shape-editor-ui.formulaBinding.formats.accounting','aside','transparent','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-flex-col\x20univer-gap-3','ShapeUpDownArrowCalloutIcon','PlaqueTabs','ctr','leftTop','UNSPECIFIED','univer-rounded-lg\x20univer-p-3\x20!univer-shadow-none','updateHostSize','shape-editor-ui.formulaBinding.panelTitle','_createExternalReference','FormulaBindingEditorDialog','columnProperties','Star12','deserializeRangeWithSheet','_isDraggingFormulaSelection','FontColorDoubleIcon','ShapeRtTriangleIcon','glyphGroup','univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','shape.type.right-arrow-callout','ShapeBentConnector3Icon','dispose','renderConfig','WrapStrategy','name','keepFloatingToolbarPanelInteraction','shape-editor-ui.toolbar.alignJustify','Heptagon','offsetY','univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','selectionStart','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','DisposableCollection','ShapeFlowChartInternalStorageIcon','univer-text-xs','externalReference','loop-color.','_activeWorkbook','IUniverInstanceService','BooleanNumber','crossAxisLength','snapToGrid','ShapeArrowSizeEnum','bodyBehavior','gridType','Injector','roundingCurrency','shape.type.snip1-rect','opacity','Medium','transparency','stops','FlowchartProcess','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','Decagon','jsx','Dialog','clearActiveDrawingObjects','UniverSheetsFormulaPlugin','recordId','qualifier','general','paddingTop','ShapeStar10Icon','DocumentFlavor','measureDocumentNoWrapTextWidth','shape.type.curved-connector3','HomePlate','univer-w-auto','references','referenceSelections','IrregularSeal2','rgb','1,235)','onSelect','shape-editor-ui.line.solidLine','title','Frame','univer-w-[280px]\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','shape.type.brace-pair','shape-editor-ui.line.joinType.bevel','shape.type.arc','length','ShapeCloudIcon','updateFormulaContext','ShapeRibbonIcon','FunctionIcon','VERTICAL_ROTATE_ANGLE','updateDocumentStyle','ShapeFlowChartMagneticDrumIcon','__getInjector','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-1\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','H3Icon','Pie','shape.type.flow-chart-magnetic-disk','univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','univer-w-20','ShapeFlowChartDisplayIcon','UNIVER_BASE','UNIVER_SHEET','gradientFill','Textarea','addEventListener','abd','RightTriangle','ShapeFlowChartInputOutputIcon','ENTER','TypographyPanelButton','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-6\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-800\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeFlowChartMagneticTapeIcon','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','docs-code.command.insert','MM-dd','shape-editor-ui.formulaBinding.formats.general','screenY','shape-editor-ui.formulaBinding.formats.thousandSeparator','isUnderline','BentArrow','univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none\x20rtl:univer-rounded-l-none\x20rtl:univer-rounded-r-md','univer-relative\x20univer-size-full\x20univer-overflow-visible','visible','ShapeSnip2SameRectIcon','getUnit','closest','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-w-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[&_input]:univer-box-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[&_input]:univer-w-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[&_input]:univer-p-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','DRAWING_SHAPE','shape-editor-ui.line.sketchType.handDrawn','MathNotEqual','onTransformChange$','ShapeStar24Icon','currencySymbol','icon','univer-flex\x20univer-w-full\x20univer-border-none\x20univer-bg-transparent\x20univer-p-2\x20univer-text-left\x20hover:univer-bg-gray-100','ShapePickerPanel','AlignTextBothIcon','ShapeIrregularSeal2Icon','ShapePieWedgeIcon','NormAutoFit','shape.type.star12','shape-editor-ui.formulaBinding.numberFormat','CurvedUpArrow','themeColor','_getEditingContext','univer-w-[260px]','tiltX','ShapeAccentBorderCallout2Icon','shape','getFormatInfo','formula-shape-number-format','onSelectionStart$','BorderCallout3','shape-editor-ui.line.arrowType.ovalArrow','applyShapeTextAlignment','SelectList','has','ChartX','Star4','ShapeQuadArrowCalloutIcon','paragraphs','shape.type.flow-chart-punched-card','getActiveSheet','SUPERSCRIPT','SolidFill','span','ShapeNonIsoscelesTrapezoidIcon','docs-callout.command.insert','Diamond','ShapeChartPlusIcon','IContextService','contentVerticalOffset','formulaUnitProvider','univer-flex\x20univer-h-6\x20univer-items-center','yyyy/MM/dd','CENTER','shape.type.chord','div','OVERRIDE_NATIVE','ShapeBevelIcon','ShapeSwooshArrowIcon','shape.type.pie-wedge','ShapeMathDivideIcon','ShapeCurvedLeftArrowIcon','findIndex','setSelection','UNIVER_UNKNOWN','A/P\x20hh:mm','\x22#,##0.00','A/P\x20h:mm:ss','ShapeDownArrowCalloutIcon','shape-editor-ui.textEditor.paragraphType.quote','toPrimitive','ShapeSmileyFaceIcon','commitOnEnter','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','shape.type.double-wave','reverse','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-leading-none','actualWidth','SuperscriptIcon','shape-editor-ui.line.transparency','ShapeHeptagonIcon','shape.type.bent-up-arrow','GradientFill','token','onClick','_lastResolved','RoundDot','HorizontalAlign','univer-flex\x20univer-gap-2','DocSettingIcon','UnorderIcon','_pointerCtrlKey','ShapeFlowChartManualOperationIcon','backwardLabel','resolveShapeTextDocumentAlignment','ChartStar','univer-inline-flex','leadingCharacterLength','setSkipLastEnabled','DRAWING_GROUP','shape.type.flow-chart-predefined-process','dom','HalfFrame','shape-editor-ui.fill.picture.rotateWithShape','shape-editor-ui.formulaShape.numberFormat','removeEventListener','completeEditing','ICommandService','shape.type.math-plus','IRenderManagerService','separator-','ShapeSnip1RectIcon','BracketPair','_activeBase','ShapeCloudCalloutIcon','Pentagon','set','ShapeVerticalScrollIcon','auto','shape-editor-ui.textWrap.inline','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-text-gray-200','stripShapeTextDocumentLayout','opticalVerticalOffset','getRowCount','with','createShapeTextPlaceholderDocumentData','createParagraphId','ShapeIrregularSeal1Icon','components','#2563EB','ShapeCallout2Icon','shape-editor-ui.toolbar.textColor','right','ShapeStar8Icon','start','-1,234.56','children','enableSelectionChanging','ShapeHexagonIcon','univer-w-52\x20univer-shrink-0\x20univer-overflow-y-auto\x20univer-border-r\x20univer-border-gray-200\x20univer-pr-3','ShapeQuadArrowIcon','_generation','ChartPlus','shape-editor-ui.line.dashType.dashDot','naturalCrossSize','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','hasOwnProperty','AlignTopIcon','shape.type.right-bracket','none','_observeSheetSelection','_controlDisposables','Sun','shape-editor-ui.formulaBinding.formats.more','ShapeDonutIcon','shape.type.flow-chart-terminator','SpAutoFit','getTransformer','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20!univer-max-h-none\x20univer-min-h-0\x20univer-flex-1\x20univer-rounded-lg\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','oKey','ShapeMathPlusIcon','zeroWidthParagraphBreak','FlowchartMagneticDisk','shape.type.star4','merge','ShapeNoSmokingIcon','shape.type.math-divide','left','CurvedRightArrow','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','hasCommand','shape.type.can','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','shape-editor-ui.textBox.textDirection','_config','ShapeAccentBorderCallout1Icon','shape-editor-ui.fill.picture.insert','shape-editor-ui.line.noLine','onUpdateBinding','textRect','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-rounded\x20univer-border\x20univer-border-gray-200','CTRL_COMMAND','baselineHeight','Flat','namedStyleType','isDefaultFormat','shape.type.snip-round-rect','shape.type.gear6','Small','sequenceNodesBuilder','MoreDownIcon','onScrollAfter$','shape-editor-ui.line.dashType.longDashDotDot','textSelection$','univer-text-sm\x20univer-text-red-600','ShapeBracketPairIcon','univer-flex\x20univer-h-7\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','CurvedDownArrow','altKey','Module','shape.type.hexagon','fontScale','measurePageWidth','DEFAULT','currentFontSize','startNodePosition','\x22#,##0.00_);[Red]-\x22','_docSelectionRenderService','ActionButtonEnd','shape.type.flow-chart-process','RightBrace','shape.type.flow-chart-display','ShapeStar7Icon','create','8\x202\x201\x202','GradientColorPicker','setPresentation','contentHeight','value','shape-editor-ui.textEditor.paragraphType.heading5','resolveHostFormulaExternalReferences','body','SmileyFace','Donut','OVERFLOW','ShapeLeftArrowCalloutIcon','isShapeTextOpticalVerticalAlignEnabled','getDocumentDataModel','[data-u-command=\x22','filter','reduce','UniverInstanceType','ShapeFlowChartSortIcon','ShapeSunIcon','unitId','chart','getProjection','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_bindFormulaSelectionControls','_hideFloatMenu','getSkeletonData','\x0a\x20\x20\x20\x20\x20\x20univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1\x20univer-shadow-sm\x0a\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20','pointerup','FlowchartAlternateProcess','normalizeShapeTextModel','RightBracket','shapeTypeOptions','shape.type.up-down-arrow','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','lineHeight','shapeId','#8B5CF6','editorWidth','shape.type.star7','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','RedoCommand','getLayers','getContextValue','shape.type.block-arc','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','startsWith','ShapeHorizontalScrollIcon','shape-editor-ui.textBox.autoFit','resolved','blockArrow','Rect','shape-editor-ui.formulaBinding.formatTypes','setActiveSelectionIndex','shape-editor-ui.line.arrowType.openArrow','univer-block\x20univer-w-full','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-min-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x0a\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1\x20univer-text-sm\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','shape.type.chevron','cell','ShapeFlowChartProcessIcon','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','getColorFromTheme','custom','shapeTextOpticalVerticalAlign','ActionButtonReturn','worksheet','shape-editor-ui.line.arrowSize.medium','textWrap','univer-absolute\x20univer-inset-0\x20univer-h-full\x20univer-resize-none\x20!univer-bg-transparent\x20univer-font-mono\x20univer-leading-6\x20!univer-text-transparent','UniverSheetsPlugin','DEFAULT_NUMBER_FORMAT','STRING','_getBaseReferenceSource','lineSpacing','IEditorService','ShapeHalfFrameIcon','count','numberFormat','shape-editor-ui.formulaBinding.unresolvedReference','UniverProFormulaEnginePlugin','univer-pt-2','viewportScrollY','readonly','group','DrawingTypeEnum','univer-mb-2','SetInlineFormatItalicCommand','shape-editor-ui.fill.gradientFill','1916090PHKISC','_makeDirty','PictureFill','ShapeTextAutoFitType','univer-max-h-[75vh]\x20univer-overflow-y-auto','ShapeLightningBoltIcon','_selectionChangingDisposable','ShapeFlowChartConnectorIcon','ShapeActionButtonEndIcon','editorSurfaceWidth','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','tangentialPressure','image','ShapeTriangleIcon','shape.type.left-bracket','ShapeImageFillEditor','getDrawingTransform','gradientStops','setCurrentUnitForType','ShapeLineDashEnum','shape.type.decagon','NoAutoFit','TextTypeIcon','textFill','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','ShapeBentArrowIcon','ShapeFrameIcon','Tooltip','univer-flex\x20univer-flex-col','deg)\x20scaleY(','gradientType','rows','shape-editor-ui.toolbar.strikethrough','ShapeSnipRoundRectIcon','fillOpacity','Star24','ActionButtonSound','shape-text-editor-content','Font\x20family','LeftRightCircularArrow','scaleY','shape.type.gear9','OrderListCommand','ShapeWaveIcon','ShapeRound2DiagRectIcon','table','shape-editor-ui.fill.picture.source','shape-editor-ui.textBox.textDirectionHorizontal','ImageFillModeEnum','fillType','active','shape.type.sun','style','_docCanvasPopManagerService','resolveShapeTextBodyBehavior','ShapeChordIcon','paddingBottom','shape-editor-ui.line.arrowSize.large','LeftJustifyingIcon','spacing','searchFormulaFunctions','onBack','#ffffff','ShapeStripedRightArrowIcon','FormulaShapeAnimationController','useDependency','SetInlineFormatUnderlineCommand','DRAWING_SMART_ART','content','metaKey','resetActiveSelectionIndex','CellValueType','下午01:30','disposeUnit','index','Solid','TRUE','Ribbon','shape.type.left-up-arrow','getCurrentUnitOfType','ShapeEllipseRibbonIcon','shape.type.up-arrow-callout','horizontalAlign','shape.type.notched-right-arrow','ShapeEllipseIcon','ShapeUturnArrowIcon','AccentBorderCallout1','shape-editor-ui.fill.picture.scaleX','ShapeCurvedConnector3Icon','isConnectorShape','getData','refSelections','Separator','indentStart','univer-w-14','ShapeBorderCallout1Icon','borderClassName','shape.type.rect','WedgeRectCallout','startArrow','shape-editor-ui.line.sketchType.curved','render','getBody','autoFitType','buildFormulaReference','ctrlKey','isPatternEqualWithoutDecimal','univer-rounded-lg\x20univer-p-3','function','monospace','ShapeIcon','ShapeGradientTypeEnum','SquareDot','ShapeLeftRightRibbonIcon','engine','ShapeRound1RectIcon','shape.type.striped-right-arrow','IUndoRedoService','_host','HEADING_3','getFormulaBindingDateFormatOptions','sort','univer-w-32','1,235','SetInlineFormatTextFillCommand','getHostTransform','Plugin','normalizeFormulaBindingFormula','ShapeFlowChartOnlineStorageIcon','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','separator','getPositionOffset','unregister','_initSelectionChange','Rectangle','startOffset','Funnel','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','[data-u-editor-interaction-boundary=\x22true\x22]','Radio','shape.type.left-arrow','SetInlineFormatFontSizeCommand','COMMA','pageHeight','blue.700','BaselineOffset','shape-editor-ui.line.endArrowSize','FontFamilyDropdown','_setBasePermissionsReadOnly','resolveBinding','NamedStyleType','DiagStripe','shape.type.left-circular-arrow','ShapeFlowChartMergeIcon','DocSelectionRenderService','height','0\x200\x2048\x2020','getOwnPropertyDescriptor','REFERENCE','ShapeRound2SameRectIcon','ShapeCornerIcon','setFormulaBindingPatternDecimal','symbol','univer-pt-4','shape.type.flow-chart-offpage-connector','current','register','focus','univer-size-full','rectangle','5AlzAwg','#111827','ActionButtonHome','0.00%','_isApplyingBaseHighlight','black','shape.type.diamond','pages','end','measureDocumentWrappedTextWidth','8月5日','registerPlugin','1930-08-05','shape-editor-ui.fill.solidFill','SHIFT','preventDefault','imageOpacity','subscribe','clearTimeout','Tools','number','shape.type.flow-chart-punched-tape','univer-pointer-events-none\x20univer-opacity-60','StripedRightArrow','ShapeGear6Icon','univer-w-44','OpenArrow','plainTextColor','verticalAlign','FlowchartOffPageConnector','shape-editor-ui.textBox.columnSpacing','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','decorate','BOTTOM','ShapeFlowChartOffpageConnectorIcon','univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-overflow-hidden','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','rangeWithCoord','shapeData','ShapeStraightConnector1Icon','position','shape.type.plaque-tabs','shouldClipShapeTextDocument','univer-h-6\x20univer-w-6','shape-text-editor','shape.type.flow-chart-magnetic-drum','ShapeCallout3Icon','elementFromPoint','getShapeModel','listUnits','LeftCircularArrow','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','shape.type.line-inv','IrregularSeal1','numfmt','SHAPE_FLOATING_TOOLBAR_DEFAULT_FILL_COLOR','time','setBasePermission','ShapeStar32Icon','relatedTarget','NotchedRightArrow','getBoundingClientRect','ShapeTypeEnum','\x0a\x20\x20\x20\x20\x20\x20!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x0a\x20\x20\x20\x20\x20\x20!univer-bg-transparent\x20!univer-px-1.5\x0a\x20\x20\x20\x20','getRenderUnitById','autoFitNoWrap','ShapeStar12Icon','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','_canSelectFormulaReference','08-05','strikethrough','IBaseUIStateService','1032304wklvXM','ShapeFlowChartDecisionIcon','visibleReferenceIndexes','shape.type.funnel','H4Icon','Plus','typography-horizontal-align-row','shape.type.circular-arrow','true','slice','useLeftAndRightArrow','ShapeNotchedRightArrowIcon','ShapeTextBoxEditor','getSheetId','univer-flex\x20univer-items-center\x20univer-gap-3','ShapeUpArrowIcon','univer-flex\x20univer-items-center\x20univer-gap-2','isBold','activateTable','shape-editor-ui.line.dashType.longDashDot','marginTop','drawFormulaShapeAnimationLayers','calculate','univer-font-medium','center','shape.type.border-callout3','univer-min-w-44','lineDashType','shape.type.trapezoid','shape-editor-ui.fill.picture.align.l','FormulaReferenceType','ShapeFloatingToolbarContent','tableName','clsx','RefSelectionsRenderService','isHorizontal','shape-editor-ui.line.capType.square','ShapeGroupEnum','SHAPE_EDITOR_TRANSFORMER_CONFIG','univer-box-border\x20univer-flex\x20univer-h-2\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','univer-relative\x20univer-h-28\x20univer-shrink-0','shape.type.lightning-bolt','dashType','command:','ShapeBlockArcIcon','shape-editor-ui.formulaBinding.confirm','TypographyIcon','SetInlineFormatStrikethroughCommand','univer-flex\x20univer-items-center\x20univer-justify-between','defineProperty','univer-grid\x20univer-items-center\x20univer-gap-1','WedgeRoundRectCallout','columns','ShapeFlowChartMultidocumentIcon','ancestorScale','!univer-p-1','stretch','setTimeout','flowAxis','univer-flex\x20univer-flex-col\x20univer-gap-1.5','diamond','durationTime','shape-floating-toolbar-font-family-menu','getFormulaBindingCurrencyType','shape-editor-ui.line.dashType.roundDot','shape-editor-ui.formulaBinding.dateType','univer-min-w-0\x20univer-flex-1','shape.type.curved-left-arrow','_resource','textDirection','shape.type.flow-chart-manual-input','#9ca3af','HorizontallyIcon','\x22#,##0.00_);(\x22','viewportKeys','ShapeMathMinusIcon','NUMBER','shape-editor-ui.textEditor.paragraphType.checkList','univer-leading-none','ShapeChevronIcon','resolveShapeTextNoWrapLayout','editingParams$','shape.type.math-equal','scheduleClose','shape.type.donut','ShapeRectTextboxHorizontalIcon','shape-editor-ui.line.arrowType.stealthArrow','getImageSize','subUnitId','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-8\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20rtl:univer-text-right\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','shape-editor-ui.line.capType.flat','setDocumentData','_activeUnitId','Switch','shape.type.flow-chart-or','viewportScrollX','gradientEndColor','Star6','saveImage','callout','ceil','shape.type.down-arrow-callout','LongDashDot','top-center','ShapeHomePlateIcon','toLocaleLowerCase','PERIOD','resize','shape-editor-ui.toolbar.typography','shape-editor-ui.fill.transparency','RIGHT','shape-editor-ui.','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','fieldIds','shape.type.round1-rect','ShapeDecagonIcon','documentMarginTop','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','primary.600','files','_refreshBaseFormulaSelection','updateDocumentDataMargin','datetime','univer-text-xl\x20univer-text-gray-500','shape.type.flow-chart-summing-junction','scrollbarClassName','offsetParent','imageRotateWithShape','syncExecuteCommand','hanging','pageMarginLeft','shape-editor-ui.line.dashType.longDash','cancelEditing','shape-editor-ui.align.middle','Workbook','UniverRenderEnginePlugin','split','nextHeight','getAbsolutePosition','LeftRightArrowCallout','currentLocale$','transformByState','SHAPE_FLOATING_TOOLBAR_HIDDEN','Wave','ShapeWedgeEllipseCalloutIcon','\x22#,##0.00)','max','shape.type.left-right-ribbon','_localeService','ShapeActionButtonHomeIcon','ShapeWedgeRoundRectCalloutIcon','ShapeCircularArrowIcon','SUBSCRIPT','\x22#,##0;[Red]\x22','canvasClientWidth','CurvedConnector3','shape.type.heptagon','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','shape-editor-ui.formulaBinding.currencySymbol','ShapeFunnelIcon','isTextBox','buildShapeStrokeDataUpdate','basic','ShapeFlowChartTerminatorIcon','_pointerListener','tables','Linear','onCommandExecuted','univer-pointer-events-none\x20univer-absolute\x20univer-select-none\x20univer-whitespace-nowrap\x20univer-text-gray-400','LongDash','(1,235)','69WzmGhi','univer-w-full','SetTextSelectionsOperation','doc.operation.show-hyper-link-edit-popup','isStrike','endOffset','shape.type.uturn-arrow','ShapeLineInvIcon','textRanges','50bPPckq','shape.type.flow-chart-extract','DocSelectAllCommand','forwardLabel','H2Icon','version','getActualSize','ShapeFloatingToolbarFontSizeSelect','univer-hidden','ShapeArcIcon','shape-editor-ui.line.sketchType.none','#,##0.00_);[Red]-#,##0.00','resolveShapeTextDocumentPageHeight','state$','shape.type.curved-connector3-arrow2','textStyle','mode','univer-text-base','getInitialShapeFillType','textLike','TodoListDoubleIcon','_visibleReferenceIndexes','TextBackgroundColorButton','Dash','FlowchartMagneticTape','dsc','globalAlpha','backward','ColorPicker','ShapeSnip2DiagRectIcon','ShapeCurvedConnector3Arrow1Icon','shape-editor-ui.toolbar.subscript','domY','ItalicIcon','linear','dataModel','shape-editor-ui.align.top','ShapeAccentCallout3Icon','univer-gap-2','DRAWING_VIDEO','scrollTop','lineStrokeType','Callout2','join','deepClone','BulletListCommand','abs','DependentOn','ShapeFormulaService','middle','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center','dataStream','paragraphStyle','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','ShapeDownArrowIcon','shapeModel','includes','BracePair','ShapeRectTextboxVerticalIcon','Cube','_onAnimationCompleted','shape-editor-ui.line.joinType.miter','canva','Star10','getSelectionDataWithStyle','spaceAbove','scaleX','wrapStrategy','univer-text-gray-600\x20univer-transition-transform','getSkeleton','Flowchart','ActionButtonBackPrevious','_injector','SetInlineFormatSubscriptCommand','shape-editor-ui.textBox.wrapText','shape.type.frame','BasicShape','formula-shape','ShapeFlowChartDelayIcon','shape-editor-ui.line.joinType.round','currentTarget','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','IConfigService','currency','unitQualifier','shape-editor-ui.toolbar.bold','keys','ShapeDefaultConfig','ThemeService','angle','shape.type.flow-chart-alternate-process','useEffect','_handleBaseSelectionChange','ShapeActionButtonMovieIcon','shape-floating-toolbar-collapsed','values','accounting','shape-editor-ui.line.joinType.title','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','MoreRightIcon','offset','shape-editor-ui.line.arrowSize.small','shape.type.action-button-blank','ShapeLeftUpArrowIcon','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-items-center\x20univer-justify-center\x20univer-border-none\x20univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','shape.type.bent-connector3','univer-gap-4','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','univer-flex\x20univer-justify-end\x20univer-gap-2','isFinite','shape.type.wedge-ellipse-callout','image/*','hasAdditionalReference','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeActionButtonDocumentIcon','padding','OvalArrow','FlowchartDecision','catch','\x22#,##0.00_);-\x22','#4086f4','shape-editor-ui.formulaShape.editFormula','#,##0.00_);-#,##0.00','onChange','click','shape.type.flow-chart-preparation','ShapeLeftBracketIcon','_formulaContext','translate','enabled','trim','RichTextEditingMutation','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','buttons','shape-editor-ui.shapePosition','shape-editor-ui.textEditor.paragraphType.callout','DRAWING_IMAGE','ShapeCurvedConnector3Arrow2Icon','Vert','univer-flex-1\x20univer-overflow-auto','shape.type.star32','MoreHorizontalIcon','isArray','#000000','ShapeLeftArrowIcon','placeholderWidth','shape.type.dodecagon','CodeIcon','shape-editor-ui.fill.picture.tileAsTexture','shiftKey','ShapeWedgeRectCalloutIcon','strokeOpacity','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20rtl:univer-rounded-l-md\x20rtl:univer-rounded-r-none','MIDDLE','#,##0_);[Red](#,##0)','scientific','ShapePlusIcon','colStartX','getTextRanges','activeViewId','unit','shape-editor-ui.formulaBinding.decimalPlaces','isCtrlAddMode','PieWedge','shape.type.rect-textbox-horizontal','_selectionDisposables','shape.type.action-button-end','_configService','UniverSheetsFormulaUIPlugin','KeyCode','backLabel','getObjectIncludeInGroup','univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]','endNodePosition','ShapeTrapezoidIcon','_onSelectReferences','endIndex','UniverUIPlugin','isShapeTextEditorDocumentEmpty','RichTextBuilder','rowStartY','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ShapeArrowTypeEnum','shape.type.plus','NoFill','shape-editor-ui.formulaBinding.formats.date','shape-editor-ui.textBox.padding','imageFillMode','Fragment','shape.type.wedge-rect-callout','Segmented','UniverDocsPlugin','setContextValue','SHEET_RANGE','get','univer-gap-3','push','editorUnitId','shape.type.left-brace','REF_SELECTIONS_ENABLED','accent-primary-600\x20univer-h-1.5\x20univer-w-full\x20univer-cursor-pointer\x20univer-appearance-none\x20univer-rounded-full\x20univer-bg-gray-200\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-bg-gray-700\x20[&::-webkit-slider-thumb]:univer-size-3.5\x20[&::-webkit-slider-thumb]:univer-appearance-none\x20[&::-webkit-slider-thumb]:univer-rounded-full\x20[&::-webkit-slider-thumb]:univer-bg-primary-600\x20[&::-webkit-slider-thumb]:univer-shadow-sm','add','selectionEnd','shape.type.diag-stripe','_instanceService','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','shouldAutoFitShapeTextEditorNoWrap','shape-editor-ui.textBox.title','presentation','WRAP','Inject','shape-editor-ui.toolbar.underline','Plaque','shape-editor-ui.toolbar.resetColor','shape-editor-ui.textBox.textDirectionVertical','picture','shape.type.left-right-arrow','shape-editor-ui.line.capType.title','scene','LightningBolt','getSelectionControls','Tile','univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col\x20univer-pt-4','nodeType','shape.type.home-plate','FlowchartTerminator','aba','shape.type.action-button-forward-next','shape.type.bent-connector3-arrow1','text','Disposable','clientX','selection','startIndex','shape-editor-ui.formulaBinding.formats.','getState','setZoomRatio','min','measuredContentWidth','tiltY','shape.type.callout2','ShapeAccentCallout1Icon','shape.type.plaque','MathDivide','Star16','declaredCanvasWidth','ShapeLeftRightUpArrowIcon','getEmbedBoundaryOwner','textSelectionInner$','VerticalScroll','isItalic','heading:','ShapeFloatingToolbarIcon','OrderIcon','setEndForRange','ShapeEditPanel','shape.type.action-button-sound','ShapeFlowChartPunchedCardIcon','useMemo','ShapeCurvedUpArrowIcon','Round2DiagRect','lineJoinType','shape-editor-ui.align.bottom','currencySymbols','ActionButtonInformation','ShapeTextFloatMenuRenderControllerBase','getConfig','8LFgYMY','univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-words\x20univer-rounded-md\x20univer-p-2\x20univer-font-mono\x20univer-text-base\x20univer-leading-6','direction$','WedgeEllipseCallout','ResetInlineFormatTextBackgroundColorCommand','shape-editor-ui.textEditor.placeholder','noFill','financial','textRectWidth','LEFT','ShapeFloatingToolbarDropdownTrigger','primary','FormulaBindingNumberFormatDialog','CloudCallout','documentData','Chevron','ShapeFlowChartDocumentIcon','IAuthzIoService','ShapeFlowChartPreparationIcon','ShapeFlowChartCollateIcon','animationEnabled','editorLeft','ShapeLineTypeEnum','SetInlineFormatBoldCommand','pointercancel','ShapeBackgroundColorDoubleIcon','subscribeEvent','ShapePlaqueIcon','stopPropagation','shape.type.math-not-equal','ShapeActionButtonHelpIcon','shape.type.flow-chart-internal-storage','ShapeBorderCallout3Icon','shape.type.flow-chart-magnetic-tape','shape-editor-ui.toolbar.italic','sections','FlowchartDisplay','fields','nativeEvent','DRAWING_TABLE','shape.type.action-button-return','univer-box-border\x20univer-flex\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-bg-gray-900','splitTableStructuredRef','FlowchartSort','dark:!univer-text-gray-200','pattern','UturnArrow','lines','descent','univer-w-28\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','UniverSheetsUIPlugin','switchUnit','bottom','resolveFormulaShapeAutoFitSize','Accordion','下午1:30','activeReferenceIndex','actions','shape-editor-ui.line.dashType.squareDot','shape-editor-ui.fill.picture.align.tl','_container','LongDashDotDot','ShapeFillEnum','FOCUSING_PANEL_EDITOR','DownArrow','AuthzIoLocalService','createSocket','grid','equationShape','ShapeChartXIcon','segmentId','shape-editor-ui.line.dashType.title','section','IDescriptionService','ShapeTeardropIcon','Round2SameRect','shape-editor-ui.formulaBinding.numberDescription','shape.type.callout1','ShapeChartStarIcon','ActionButtonForwardNext','viewportHeight','isMixed','Corner','2306843oQUknR','entries','_univer','editorTop','onStarting','univer-max-w-[min(760px,calc(100vw-32px))]','paragraphId','shape-editor-ui.formulaBinding.baseUnit','applyFormulaBindingReferenceSelection','Line','scrollLeft','univer-text-sm\x20dark:!univer-text-gray-200','AlignLeftCommand','setEditing','views','None','genFormulaRefSelectionStyle','stripShapeTextPlainMarker','shapeKey','pointerdown','UpArrow','widthBuffer','shape.type.corner-tabs','NonIsoscelesTrapezoid','flowchart','shape-editor-ui.line.title','_showFloatMenu','parseFloat','univer-min-w-44\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','ShapeRightBraceIcon','LocaleService','_listLoadedUnits','shape.type.accent-border-callout2','string','getCurrentLocale','shape-stroke-dash-dropdown','indentFirstLine','ActionButtonBeginning','change','Angular','shape-editor-ui.textEditor.paragraphType.normal','AccentCallout1','shape.type.ellipse-ribbon2','cornerRadius','ActionButtonMovie','ShapeFlowChartSummingJunctionIcon','PaintBucketDoubleIcon','univer-w-[280px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-1.5\x20univer-shadow-lg\x20dark:!univer-bg-gray-800','LeftBrace','ALT','normalizeHostExternalReferenceQualifier','getNumberUnitValue','_observeBaseSelection','UngroupIcon','hasParagraphAlign','ShapeStrokeColorDoubleIcon','h:mm:ss','univer-w-[320px]\x20univer-p-2','ShapeMathMultiplyIcon','source','loadSnapshot','shape-editor-ui.fill.picture.align.ctr','onClose','ShapeFlowChartPredefinedProcessIcon','flipY','asc','shape.type.irregular-seal2','238666fGRMpK','fontFamily','CurvedLeftArrow','UniverRPCMainThreadPlugin','stroke','ShapeUpDownArrowIcon','shape.type.flow-chart-connector','univer-text-xl','LexerTreeBuilder','Select','resolveShapeTextEditorBehaviorShapeData','Dropdown','TOP','shape-text-placeholder','matchAll','shape.type.triangle','LeftRightUpArrow','shape.type.action-button-help','HandDrawn','ShapeLeftRightArrowCalloutIcon','horizontalAnchor','dash','sequenceNodeType','UndoCommand','shape.type.vertical-scroll','UpDownArrowCallout','getName','1930年08月05日','formula','useObservable','ShapeFillButton','ShapeSketchTypeEnum','QuadArrowCallout','SetInlineFormatTextBackgroundColorCommand','ShapeLineCapEnum','fontSize','univer-w-12','_current','UpsertHostExternalReferencesCommand','allowShrink','contains','shape-editor-ui.openPanel','getCanvasElement','BoldIcon','ShapeLeftBraceIcon','sequenceNodes','MentionIOLocalService','shape-editor-ui.line.endArrowType','shape-editor-ui.line.cornerRadius','@univerjs-pro/shape-editor-ui','univer-my-1','starAndBanner','formatColor','shape.type.rt-triangle','getFreeze','useState','focusUnit','ShapeCubeIcon','UniverLicensePlugin','shape.type.callout3','shape.type.moon','shape.type.accent-callout1','getFormulaBindingNumberFormatOptions','replace','packageName','radial','shape.type.down-arrow','univer-flex\x20univer-gap-4','13:30:30','lineType','shouldAllowShapeTextEditorHostSizeShrink','shape-editor-ui.shape.group.','clearSelectedObjects','ShapeDiamondIcon','univer-flex\x20univer-flex-col\x20univer-gap-2','shape-editor-ui.textEditor.paragraphType.code','HorizontalScroll','ShapeRightArrowIcon','resolveShapeTextEditorWrapStrategy','ShapeActionButtonBackPreviousIcon','previewHostSize','#,##0.00_);[Red]#,##0.00','pressure','SolidLine','isNaN','sectionBreaks','align','univer-flex\x20univer-flex-col\x20univer-gap-3','ActionButtonHelp','getDocumentData','Star8','restore','getDrawingTypeNameKey','shape.type.swoosh-arrow','italic','onShapeClick','ShapeBracePairIcon','SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','univer-text-primary-600','requestAnimationFrame','DocSkeletonManagerService','shape-editor-ui.fill.title','angular','shape.type.parallelogram','vertexAngle','univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-bg-white\x20univer-shadow-md\x20group-hover:univer-block\x20dark:!univer-bg-gray-800','_progress','ShapeCornerTabsIcon','shape-editor-ui.line.arrowType.diamondArrow','shape-editor-ui.formulaBinding.formats.custom','shape.type.accent-border-callout3','ShapeCallout1Icon','shape.type.star24','button','DiamondArrow','CheckListCommand','call','plainShapeTextToDocumentData','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','univer-grid\x20univer-gap-2','selectionMoving$','makeDirty','getAllUnitsForType','opticalVerticalAlign','CLIP','detail','1105386LcrgVq','ShapeStrokePanelContent','constructor','ShapeLineIcon','FlowchartMerge','lineSpaceReduction','EllipseRibbon','shape.type.straight-connector2','getLocales','ShapeStar6Icon','resolve','addImageSourceCache','univer-mt-3\x20univer-shrink-0\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-3\x20dark:!univer-bg-gray-800','LeftRightRibbon','group\x20univer-relative\x20univer-inline-block','shape.type.star5','FlowChartInputOutput','resolveShapeTextEditorTextRect','some','externalReferences','header','shape.type.non-isosceles-trapezoid','getFormulaBindingCurrencyFormatOptions','getDocRanges','ShapeOctagonIcon','bottom-center','AccentBorderCallout2','__formula_binding_viewer_base__','activeTableId','setRecordPermission','_cancelFrame','shape.type.half-frame','ShapeBentUpArrowIcon','divides','DRAWING_CHART','FlowchartOnlineStorage','univer-w-28','object','IBaseProjectionService','univer-flex\x20univer-h-4\x20univer-w-12\x20-univer-translate-y-1\x20univer-items-center\x20univer-justify-center\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-opacity-50\x20univer-transition\x20univer-duration-150\x20hover:univer-text-gray-700\x20hover:univer-opacity-100\x20focus-visible:univer-opacity-100\x20dark:!univer-text-gray-300','ShapeFlowChartAlternateProcessIcon','shape.type.rect-textbox-vertical','Univer','getDrawingShapeKeyByDrawingSearch','Callout3','shape-editor-ui.toolbar.textBackgroundColor','ShapeCanIcon','NORMAL_TEXT','_previous','shape.type.irregular-seal1','ShapeTextFloatToolbar','underline','_context','allowHostSizeShrink','previous','red','ShapeFlowChartOfflineStorageIcon','shape-editor-ui.line.dashType.dash','map','EllipseRibbon2','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','AlignJustifyCommand','下午1:30:30','width','Arrow','BentUpArrow','date','NoLine','Button','am/pm\x20h\x22:\x22mm\x22:\x22ss','useCallback','UniverCollaborationClientPlugin','univer-h-6\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','ShapeLeftCircularArrowIcon','shape.type.cloud','forEach','getStyleInTextRange','UniverBasesPlugin','_startedAt','shape.type.ribbon','SubscriptIcon','svg','doc','FlowChartOfflineStorage','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500','GridType','disposable','video','size','getSnapshot','LineInv','Arc','getFormulaBindingDecimalFromPattern','FoldedCorner','Digit7','sheetName','SHAPE_EDITOR_UI_PLUGIN','shape.type.action-button-movie','\x22#,##0.00_);[Red](\x22','shape.type.bevel','MathEqual','h:mm','ShapeFlowChartPunchedTapeIcon','kind','LeftArrow','A/P\x20h:mm','univer-w-20\x20univer-flex-1','GroupIcon','disabled','shape.type.folder-corner','SHAPE_EDITOR_UI_PLUGIN_CONFIG_KEY','ShapeFloatingToolbarMenuPanel','pictureFill','UpDownArrow','ShapeStar5Icon','capType','activateDrawingObject','13:30','RadioGroup','Checkbox','getCurrencySymbolByLocale','RightJustifyingIcon','univer-text-sm','from','strokeWidth','shape-editor-ui.toolbar.alignLeft','ShapeDoubleWaveIcon','#3B82F6','getSelfOrHeaderFooterModel','1.0.0-beta.0','\x22#,##0.00_);[Red]\x22','StarAndBanner','range','univer-absolute\x20univer-top-full\x20univer-z-10\x20univer-mt-1\x20univer-w-72\x20univer-rounded\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg','solidFill','ShapeFolderCornerIcon','Star32','shape-editor-ui.fill.color','ShapeHeartIcon','shape.type.up-arrow','ShapeBorderCallout2Icon','test','shape.type.cloud-callout','jsxs','transform','BreakLineCommand','ShapePlaqueTabsIcon','onMore','Callout1','Trapezoid','ShapeTextEditorContainer','FALSE','IImageIoService','FONT_SIZE_LIST','Horz','shape.type.flow-chart-delay','getDirection','round','domX','ShapeActionButtonBeginningIcon','Chord','disposeWithMe','ShapeRibbon2Icon','ShapeActionButtonBlankIcon','shape.type.horizontal-scroll','getAutoFitPresentations','toString','yyyy-mm-dd;@','ShapeStar4Icon','centerAngle','AlignRightCommand','ShapeActionButtonSoundIcon','ShapeMoonIcon','NativeTextEditorShortcutBehavior','ShapePentagonIcon','shape.type.action-button-home','percentage','shape-editor-ui.textBox.columnCount','mount','shape-editor-ui.fill.picture.offsetX','shape-editor-ui.formulaBinding.customFormatDescription','shape.type.line','RightArrowCallout','getAncestorScale','_tick','IMentionIOService','shape-editor-ui.textEditor.paragraphType.heading4','color','shape.type.straight-connector1','open','shape.type.border-callout2','BACKSPACE','Teardrop','shape.type.smiley-face','line','executeCommand','shape.type.action-button-information','ascent','ActionButtonDocument','deepCompare','dispatchEvent','_makeBaseSnapshotReadOnly','target','IBasePermissionService','ShapeFillEditor','DocSelectionManagerService','shape.type.pentagon','shape-editor-ui.fill.picture.align.bl','commandId','ActionButtonBlank','Square','getShapeTextData','resolveFormulaReferenceEditingContext','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x20dark:!univer-border-l-gray-600','paddingEnd','BlockArc','unsubscribe','basicShape','NumberIcon','shape-editor-ui.formulaBinding.generalDescription','file','shape-editor-ui.config','univer-bg-transparent','ShapeRightBracketIcon','ShapeGear9Icon','LS_CONFIG_KEY','onFront','ESC','dot','ShapeLeftRightCircularArrowIcon','viewId','mouseup','univer-ml-auto\x20univer-whitespace-nowrap\x20univer-text-xs\x20univer-leading-none\x20univer-text-gray-400\x20rtl:univer-ml-0\x20rtl:univer-mr-auto\x20dark:!univer-text-gray-500','imageTile','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','clientY','FlowchartPunchedTape','save','ShapeFlowChartOrIcon','ShapeBentConnector3Arrow2Icon','ShapeActionButtonInformationIcon','formulaViewerWorkerURL','4\x202','MathMinus','shape-editor-ui.formulaBinding.cancel','shape.type.action-button-back-previous','ShapeAccentCallout2Icon','_refreshFormulaSelections','shape-editor-ui.formulaBinding.sheetUnit','univer-mt-4\x20univer-shrink-0\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','onSavingEditorData$','shape-editor-ui.fill.picture.align.t','editorHeight','getTextStyle','ShapeCurvedDownArrowIcon','useRef','getShapeTextRect','ShapeRightArrowCalloutIcon','shape-editor-ui.formulaBinding.customFormatPlaceholder','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-w-full\x20univer-rounded\x20univer-border-none\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-left\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','shape.type.curved-connector3-arrow1','textRuns','getSelectionRanges','type','DELETE','Dodecagon','08-05\x20下午\x2001:30','shape.type.ribbon2','_docSelectionManagerService','bold','collapsed','getActiveTextRange','ShapeCurvedRightArrowIcon','FlowchartManualOperation','resolveShapeTextBoxResizePolicy','memo','univer-min-w-[240px]','Stretch','univer-flex\x20univer-h-[min(780px,calc(100vh-180px))]\x20univer-min-h-[560px]\x20univer-gap-4','selectionMoveEnd$','cancelRequestFrame','StraightConnector1','shape.type.square-tabs','direction','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm','_createUniver','#,##0_);(#,##0)','shape.type.flow-chart-merge','ShapeBentConnector3Arrow1Icon','Radial','isSync','setSelections','BentConnector3','main','univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_closeRequest','useEditor','UNIVER_DOC','IconManager','ShapeRectIcon','shape-editor-ui.toolbar.alignCenter','Star7','SwooshArrow','shape-editor-ui.fill.pictureFill','top','ShapeUpArrowCalloutIcon','find','2035179twCWJj','VerticalAlign','shape-editor-ui.line.beginArrowType','jiqing.800','shape-editor-ui.formulaBinding.negativeNumberType','label','Input','ShapeLeftRightArrowIcon','IRefSelectionsService','univer-mt-4\x20univer-flex\x20univer-min-h-0\x20univer-flex-1\x20univer-flex-col','documentStyle','FlowchartInternalStorage','AlignBottomIcon','applyShapeTextBoxOptions','M\x22月\x22d\x22日\x22','HostExternalReferenceModel','updateHostHeight','[data-u-comp=\x22shape-text-editor-content\x22]','img','spaceBelow','H1Icon','referenceIndex','input','fill','Curved','shape-editor-ui.fill.noFill','_frameId','close','currentColor','resolveShapeTextBoxOptions','TextFillButton','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','ShapeDodecagonIcon','Snip2SameRect','univer-size-2\x20-univer-rotate-90','shape.type.octagon','ShapeFlowChartManualInputIcon','select','ShapeStraightConnector2Icon','_registerIcons','shape-editor-ui.toolbar.more','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','shape.type.flow-chart-sort','shape-editor-ui.line.width','additionalReference','_matchesUnitQualifier','TABLE','shape-editor-ui.deleteShape','gradientAngle','shape-editor-ui.textEditor.paragraphType.bulletList','setSelectionRanges','NoSmoking','shape.type.bent-arrow','shape-editor-ui.line.arrowType.none','shape.type.flow-chart-decision','Hexagon','fillImageSource','FlowchartMagneticDrum','1,234.56','marginBottom','shape.type.math-multiply','AccentCallout2','shape.type.flow-chart-collate','sessionKey','viewOrder','UnderlineIcon','host','getViewport','ShapeMathNotEqualIcon','Gear6','isActive','_floatMenu','MetaKeys','\x22],\x20[data-u-command=\x22','shape-editor-ui.textEditor.paragraphType.heading3','solid','rgba(0,\x200,\x200,\x200)','DashDot','verticalOffset','SetInlineFormatSuperscriptCommand','created$','univer-mb-2\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','isValidThemeColor','univer-flex-1','key','docStateChangeParams$','univer-grid-cols-3','renderedContentWidth','sketchType','InputNumber','ShapePieIcon','getShapeTextOpticalVerticalOffset','bBox','univer-flex\x20univer-h-[500px]\x20univer-min-h-0\x20univer-flex-col\x20univer-overflow-hidden','shapeText','gradient','Bevel','updateShapeText','SetInlineFormatFontFamilyCommand','ShapeFlowChartExtractIcon','Cloud','AccentBorderCallout3','6212NCKYtO','ShapeTextWrapType','ShapeTextDirection','fromEntries','docs-quote.command.insert','other','DEFAULT_STYLES','endArrow','getUnitId','ShapeMathEqualIcon','shape.type.bent-connector3-arrow2','vertical','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','_closeNow','univer-bg-primary-50\x20univer-text-primary-700','useFormulaShapeToolbar','isRichText','ShapeFlowChartMagneticDiskIcon','format','maxAutoFitWidth'];_0x163c=function(){return _0x2f038;};return _0x163c();}function Gn(_0x1b2382){const _0x526522=_0xdb1731;let _0x3598b8=[Kn(o[_0x526522(0x1a3)]['NORMAL_TEXT'],(0x0,r[_0x526522(0x6c7)])(t[_0x526522(0x123)],{}),_0x526522(0x43c)),Kn(o[_0x526522(0x1a3)]['HEADING_1'],(0x0,r[_0x526522(0x6c7)])(t[_0x526522(0x61d)],{}),'shape-editor-ui.textEditor.paragraphType.heading1'),Kn(o['NamedStyleType']['HEADING_2'],(0x0,r['jsx'])(t[_0x526522(0x2b8)],{}),'shape-editor-ui.textEditor.paragraphType.heading2'),Kn(o[_0x526522(0x1a3)][_0x526522(0x184)],(0x0,r['jsx'])(t[_0x526522(0x6ec)],{}),_0x526522(0x654)),Kn(o[_0x526522(0x1a3)]['HEADING_4'],(0x0,r[_0x526522(0x6c7)])(t[_0x526522(0x204)],{}),_0x526522(0x590)),Kn(o[_0x526522(0x1a3)]['HEADING_5'],(0x0,r[_0x526522(0x6c7)])(t['H5Icon'],{}),_0x526522(0x7e3)),qn(p[_0x526522(0x137)]['id'],(0x0,r[_0x526522(0x6c7)])(t[_0x526522(0x3b3)],{}),'shape-editor-ui.textEditor.paragraphType.orderedList'),qn(p[_0x526522(0x2e1)]['id'],(0x0,r['jsx'])(t[_0x526522(0x762)],{}),_0x526522(0x63b)),qn(p[_0x526522(0x4ca)]['id'],(0x0,r[_0x526522(0x6c7)])(t[_0x526522(0x2c8)],{}),_0x526522(0x24d))],_0x5684b4=[qn(Un,(0x0,r[_0x526522(0x6c7)])(_0x526522(0x733),{'className':_0x526522(0x2c5),'children':'\x22'}),_0x526522(0x74d)),qn(_0x526522(0x6ff),(0x0,r[_0x526522(0x6c7)])(t[_0x526522(0x348)],{}),_0x526522(0x4a2)),qn(_0x526522(0x735),(0x0,r[_0x526522(0x6c7)])(t['ShapeCallout1Icon'],{}),_0x526522(0x33c))]['filter'](_0x22fd04=>_0x1b2382[_0x526522(0x7b2)](_0x22fd04[_0x526522(0x5a6)]));return[..._0x3598b8,..._0x5684b4];}function Kn(_0x14746,_0x34d8c9,_0x45237f){const _0x5f3f1b=_0xdb1731;return{'icon':_0x34d8c9,'label':_0x45237f,'namedStyleType':_0x14746,'value':_0x5f3f1b(0x3b1)+_0x14746};}function qn(_0x29ebfb,_0x52686,_0x2ab154){const _0x25aad9=_0xdb1731;return{'commandId':_0x29ebfb,'icon':_0x52686,'label':_0x2ab154,'value':_0x25aad9(0x22b)+_0x29ebfb};}function Jn(_0x451d43){const _0x4984df=_0xdb1731;var _0x11ab7e;let _0x5e8843=(_0x11ab7e=_0x451d43[_0x4984df(0x5e5)])==null?void 0x0:_0x11ab7e[_0x4984df(0x4cb)](_0x451d43);if(_0x5e8843)return _0x5e8843;let _0xaf62a7=_0x451d43[_0x4984df(0x353)]()??[];return _0xaf62a7[_0x4984df(0x608)](_0x4a4f0f=>_0x4a4f0f['isActive'])??_0xaf62a7[0x0]??null;}function Yn(_0xd6ab8c,_0x3f89ee){const _0x183026=_0xdb1731;var _0x3591b8;let _0x21bfbd=_0xd6ab8c==null||(_0x3591b8=_0xd6ab8c[_0x183026(0x556)](_0x3f89ee==null?void 0x0:_0x3f89ee[_0x183026(0x407)]))==null?void 0x0:_0x3591b8[_0x183026(0x173)](),_0x2fead0=(_0x21bfbd==null?void 0x0:_0x21bfbd['paragraphs'])??[],_0x1bbddd=(_0x3f89ee==null?void 0x0:_0x3f89ee['startOffset'])??0x0;return _0x2fead0[_0x183026(0x608)](_0x1b9496=>_0x1b9496[_0x183026(0x39f)]>=_0x1bbddd)??_0x2fead0[_0x2fead0[_0x183026(0x6e2)]-0x1];}function Xn(_0x1144b8,_0x28327e){const _0x134a5f=_0xdb1731;if(_0x1144b8==null||_0x28327e==null)return!0x1;let {glyph:_0x1bc2bf,..._0x55e6c3}=_0x1144b8,{glyph:_0x2fc8a0,..._0x1ef80d}=_0x28327e;return(0x0,o[_0x134a5f(0x59d)])(_0x55e6c3,_0x1ef80d);}var Zn=class extends o[_0xdb1731(0x39c)]{constructor(_0x550cf7,_0x15e3cc,_0x2ba871,_0x26fa2e,_0x50c7e0){const _0x536b09=_0xdb1731;super(),this[_0x536b09(0x509)]=_0x550cf7,this[_0x536b09(0x5e2)]=_0x15e3cc,this[_0x536b09(0x142)]=_0x2ba871,this[_0x536b09(0x7d7)]=_0x26fa2e,this['_config']=_0x50c7e0,B(this,_0x536b09(0x651),null),this[_0x536b09(0x509)][_0x536b09(0xc9)]===this[_0x536b09(0x7b6)][_0x536b09(0x37b)]&&(this['_initSelectionChange'](),this[_0x536b09(0x577)](()=>this[_0x536b09(0xce)]()));}[_0xdb1731(0x192)](){const _0x486bce=_0xdb1731;this[_0x486bce(0x577)](this['_docSelectionRenderService'][_0x486bce(0x725)][_0x486bce(0x1c8)](()=>{const _0x3915d1=_0x486bce;this[_0x3915d1(0xce)]();})),this['disposeWithMe'](this[_0x486bce(0x5e2)][_0x486bce(0x7c9)][_0x486bce(0x1c8)](_0x2990c4=>{const _0x552d14=_0x486bce;var _0x35c47e,_0x54423b;let {unitId:_0x5c9490,textRanges:_0x5551c5}=_0x2990c4;if(_0x5c9490!==this[_0x552d14(0x509)][_0x552d14(0xc9)])return;let _0x30a958=_0x5551c5['find'](_0x569a56=>!_0x569a56[_0x552d14(0x5e4)]);if(!_0x30a958){this[_0x552d14(0xce)]();return;}(_0x30a958[_0x552d14(0x194)]!==((_0x35c47e=this['_floatMenu'])==null?void 0x0:_0x35c47e[_0x552d14(0x78e)])||_0x30a958[_0x552d14(0x2b0)]!==((_0x54423b=this[_0x552d14(0x651)])==null?void 0x0:_0x54423b[_0x552d14(0x1bf)]))&&(this[_0x552d14(0xce)](),this['_showFloatMenu'](_0x5c9490,_0x30a958));}));}[_0xdb1731(0xce)](){const _0x379dc0=_0xdb1731;var _0x239a9f;(_0x239a9f=this[_0x379dc0(0x651)])==null||_0x239a9f[_0x379dc0(0x52c)]['dispose'](),this[_0x379dc0(0x651)]=null;}[_0xdb1731(0x42e)](_0x47094a,_0x40afe0){const _0x4bc98b=_0xdb1731;this[_0x4bc98b(0x651)]={'disposable':this['_docCanvasPopManagerService']['attachPopupToRange'](_0x40afe0,{'componentKey':this[_0x4bc98b(0x7b6)]['componentKey'],'direction':_0x40afe0[_0x4bc98b(0x5f1)]===_0x4bc98b(0x2cf)||Xn(_0x40afe0[_0x4bc98b(0x7d5)],_0x40afe0[_0x4bc98b(0x363)])?_0x4bc98b(0x267):_0x4bc98b(0x4ee),'offset':[0x0,0x4]},_0x47094a),'start':_0x40afe0['startOffset'],'end':_0x40afe0[_0x4bc98b(0x2b0)]};}};function Qn(_0x5563ac,_0x58fc5f){const _0x5ecd85=_0xdb1731;return typeof _0x5563ac==_0x5ecd85(0x1cb)&&Number['isFinite'](_0x5563ac)?_0x5563ac:_0x58fc5f;}function $n(_0x43d40c,_0x14c24e){const _0x22bbbf=_0xdb1731;let _0xf450c7=Qn(_0x43d40c[_0x22bbbf(0x514)],_0x14c24e[_0x22bbbf(0x514)]),_0x2c876e=Qn(_0x43d40c['height'],_0x14c24e[_0x22bbbf(0x1a8)]);return{'left':Qn(_0x43d40c[_0x22bbbf(0x7af)],0x0),'top':Qn(_0x43d40c[_0x22bbbf(0x606)],0x0),'width':_0xf450c7>0x0?_0xf450c7:Math['max'](0x1,_0x14c24e[_0x22bbbf(0x514)]),'height':_0x2c876e>0x0?_0x2c876e:Math['max'](0x1,_0x14c24e[_0x22bbbf(0x1a8)])};}function er(_0x14ecaa){return Number['isFinite'](_0x14ecaa)&&_0x14ecaa>0x0?_0x14ecaa:0x0;}function tr(_0x3f7d39){const _0x5837d8=_0xdb1731;return _0x3f7d39===!0x0||_0x3f7d39===o[_0x5837d8(0x6b7)][_0x5837d8(0x159)];}function nr(_0x3d2017){const _0x5c57d4=_0xdb1731;return typeof(_0x3d2017==null?void 0x0:_0x3d2017[_0x5c57d4(0x151)])==_0x5c57d4(0x435)&&_0x3d2017['content'][_0x5c57d4(0x337)]()[_0x5c57d4(0x6e2)]>0x0;}function rr(_0x438924,_0xa642eb){const _0x2674d4=_0xdb1731;let _0x34bad3=_0x438924==null?void 0x0:_0x438924[_0x2674d4(0x666)],_0x4dc61e=(_0x34bad3==null?void 0x0:_0x34bad3[_0x2674d4(0x398)])??(_0x34bad3==null?void 0x0:_0x34bad3['ba'])??_0xa642eb['asc']??0x0,_0x1a54f2=(_0x34bad3==null?void 0x0:_0x34bad3[_0x2674d4(0x6f7)])??(_0x34bad3==null?void 0x0:_0x34bad3['bd'])??_0xa642eb[_0x2674d4(0x2cd)]??0x0;return _0x4dc61e===0x0&&_0x1a54f2===0x0?null:{'ascent':_0x4dc61e,'descent':_0x1a54f2};}function ir(_0x38dfc2){const _0x5ccc6a=_0xdb1731;let _0x5e568d=_0x38dfc2[_0x5ccc6a(0xcf)](),_0x216d5f=0x1/0x0,_0x2e353c=-0x1/0x0,_0x2c109f=0x0;for(let _0x2bf608 of(_0x5e568d==null?void 0x0:_0x5e568d[_0x5ccc6a(0x1be)])??[]){let _0x100fe8=_0x2bf608[_0x5ccc6a(0x214)]??0x0;for(let _0x29e460 of _0x2bf608['sections']??[]){let _0x43bdf8=_0x29e460[_0x5ccc6a(0x606)]??0x0;for(let _0x9c4fd0 of _0x29e460[_0x5ccc6a(0x234)]??[])for(let _0x285206 of _0x9c4fd0[_0x5ccc6a(0x3f0)]??[]){let _0x32c8c2=_0x2c109f+_0x100fe8+_0x43bdf8+(_0x285206['top']??0x0)+(_0x285206[_0x5ccc6a(0x214)]??0x0)+(_0x285206[_0x5ccc6a(0x6ce)]??0x0)+(_0x285206[_0x5ccc6a(0x455)]??0x0);for(let _0x42bcfd of _0x285206[_0x5ccc6a(0x4f6)]??[])for(let _0xdbb618 of _0x42bcfd[_0x5ccc6a(0x6a1)]??[]){if(!nr(_0xdbb618))continue;let _0x5cd473=rr(_0xdbb618,_0x285206);_0x5cd473&&(_0x216d5f=Math[_0x5ccc6a(0x3a3)](_0x216d5f,_0x32c8c2-_0x5cd473[_0x5ccc6a(0x59b)]),_0x2e353c=Math[_0x5ccc6a(0x292)](_0x2e353c,_0x32c8c2+_0x5cd473['descent']));}}}let _0x27213a=Number[_0x5ccc6a(0x322)](_0x2bf608[_0x5ccc6a(0x19c)])?_0x2bf608['pageHeight']:_0x2bf608['height'];_0x2c109f+=_0x27213a??0x0;}return Number['isFinite'](_0x216d5f)&&Number[_0x5ccc6a(0x322)](_0x2e353c)&&_0x2e353c>_0x216d5f?{'top':_0x216d5f,'bottom':_0x2e353c}:null;}function ar(_0x579e77){const _0x3a63ce=_0xdb1731;let _0x4c5d2e=ir(_0x579e77);return _0x4c5d2e?_0x4c5d2e[_0x3a63ce(0x3f5)]-_0x4c5d2e[_0x3a63ce(0x606)]:void 0x0;}function or(_0x3fd967){const _0x141dde=_0xdb1731;let _0x6f28be=er(_0x3fd967['viewportHeight'])-er(_0x3fd967[_0x141dde(0x7e1)]);return _0x3fd967[_0x141dde(0x1d3)]===o['VerticalAlign']['MIDDLE']?_0x6f28be/0x2:_0x3fd967[_0x141dde(0x1d3)]===o['VerticalAlign']['BOTTOM']?_0x6f28be:0x0;}function sr(_0x16db48){const _0x5cc823=_0xdb1731;let _0x13d851=er(_0x16db48[_0x5cc823(0x411)]),_0x1a6c1a=Math[_0x5cc823(0x292)](_0x13d851,er(_0x16db48[_0x5cc823(0x7e1)])),_0x205028=_0x16db48[_0x5cc823(0x658)],_0x63bdbb=_0x16db48[_0x5cc823(0x782)],_0x4eaf3b=Number[_0x5cc823(0x322)](_0x205028)?_0x205028:or(_0x16db48),_0x434ed9=Math['min'](0x0,_0x4eaf3b),_0x1ca48e=_0x434ed9+(Number[_0x5cc823(0x322)](_0x63bdbb)?_0x63bdbb:0x0),_0x2e5684=_0x1ca48e<0x0?_0x1ca48e:0x0;return{'clipHeight':_0x1a6c1a-_0x2e5684,'clipTop':_0x2e5684,'contentHeight':_0x1a6c1a,'contentVerticalOffset':_0x434ed9,'marginTop':Math[_0x5cc823(0x292)](0x0,_0x4eaf3b),'verticalOffset':_0x4eaf3b};}function cr(_0x46e8db,_0x591ca9=0x1){const _0x61ef26=_0xdb1731;let _0x2da21c=_0x46e8db[_0x61ef26(0xcf)](),_0x453a7a=0x1/0x0,_0x3443ff=-0x1/0x0,_0x21ae0e=0x0;for(let _0x3de3a8 of(_0x2da21c==null?void 0x0:_0x2da21c[_0x61ef26(0x1be)])??[]){let _0x3f582a=_0x3de3a8[_0x61ef26(0x214)]??0x0;for(let _0xd3ee49 of _0x3de3a8[_0x61ef26(0x3e4)]??[]){let _0x5efe12=_0xd3ee49[_0x61ef26(0x606)]??0x0;for(let _0x4da66f of _0xd3ee49[_0x61ef26(0x234)]??[])for(let _0x2d5a44 of _0x4da66f[_0x61ef26(0x3f0)]??[]){let _0x193b4b=_0x21ae0e+_0x3f582a+_0x5efe12+(_0x2d5a44[_0x61ef26(0x606)]??0x0),_0x3145f2=(_0x2d5a44[_0x61ef26(0x214)]??0x0)+(_0x2d5a44['paddingTop']??0x0)+(_0x2d5a44[_0x61ef26(0x7e1)]??(_0x2d5a44[_0x61ef26(0x455)]??0x0)+(_0x2d5a44[_0x61ef26(0x2cd)]??0x0))+(_0x2d5a44[_0x61ef26(0x145)]??0x0)+(_0x2d5a44[_0x61ef26(0x645)]??0x0),_0x2b15a4=Math[_0x61ef26(0x292)](0x0,...(_0x2d5a44[_0x61ef26(0x4f6)]??[])['flatMap'](_0x4d6bc5=>_0x4d6bc5[_0x61ef26(0x6a1)]??[])['map'](_0x51a129=>{const _0x6dce50=_0x61ef26;let _0x212cde=rr(_0x51a129,_0x2d5a44);return _0x212cde?_0x212cde[_0x6dce50(0x59b)]+_0x212cde[_0x6dce50(0x3f1)]:0x0;})),_0x4d1797=Math[_0x61ef26(0x292)](_0x2d5a44[_0x61ef26(0xd8)]??0x0,_0x3145f2,_0x2b15a4);_0x4d1797>0x0&&(_0x453a7a=Math[_0x61ef26(0x3a3)](_0x453a7a,_0x193b4b),_0x3443ff=Math['max'](_0x3443ff,_0x193b4b+_0x4d1797));}}_0x21ae0e+=_0x3de3a8[_0x61ef26(0x1a8)]??0x0;}let _0x289d05=_0x3443ff-_0x453a7a;return Number[_0x61ef26(0x322)](_0x289d05)&&_0x289d05>0x0?_0x289d05:Math[_0x61ef26(0x292)](0x1,_0x591ca9);}function lr(_0x8f5967,_0x3da9f5,_0x39a802){const _0x295bb4=_0xdb1731;if(_0x39a802===void 0x0||_0x39a802===o[_0x295bb4(0x60a)][_0x295bb4(0x695)])return 0x0;let _0x47234c=ir(_0x8f5967);return _0x47234c?_0x39a802===o[_0x295bb4(0x60a)]['BOTTOM']?_0x3da9f5-_0x47234c[_0x295bb4(0x3f5)]:_0x39a802===o[_0x295bb4(0x60a)]['MIDDLE']?_0x3da9f5/0x2-(_0x47234c[_0x295bb4(0x606)]+_0x47234c[_0x295bb4(0x3f5)])/0x2:_0x39a802===o[_0x295bb4(0x60a)][_0x295bb4(0x463)]?-_0x47234c['top']:0x0:0x0;}function ur(_0x1e7ad0,_0x1b70d1){const _0x37ac64=_0xdb1731;return Math[_0x37ac64(0x292)](Number[_0x37ac64(0x322)](_0x1e7ad0)?Math[_0x37ac64(0x292)](0x1,_0x1e7ad0):0x1,Number[_0x37ac64(0x322)](_0x1b70d1)?Math[_0x37ac64(0x292)](0x1,_0x1b70d1):0x1);}function dr(_0x3defdb){const _0x8c051a=_0xdb1731;try{var _0x2c4e18;let _0x4cc486=_0x3defdb==null||(_0x2c4e18=_0x3defdb[_0x8c051a(0x28a)]())==null?void 0x0:_0x2c4e18[_0x8c051a(0x1a8)];return Number[_0x8c051a(0x322)](_0x4cc486)?_0x4cc486:void 0x0;}catch{return;}}function fr(_0x54c302,_0x29f5bf){const _0x48f1e1=_0xdb1731;return Math['abs'](_0x54c302['documentMarginTop']-_0x29f5bf[_0x48f1e1(0x274)])<=0.001&&Math['abs'](_0x54c302['editorLeft']-_0x29f5bf[_0x48f1e1(0x3d6)])<=0.001&&Math[_0x48f1e1(0x2e2)](_0x54c302[_0x48f1e1(0x417)]-_0x29f5bf['editorTop'])<=0.001&&Math['abs'](_0x54c302[_0x48f1e1(0xdb)]-_0x29f5bf[_0x48f1e1(0xdb)])<=0.001&&Math[_0x48f1e1(0x2e2)](_0x54c302[_0x48f1e1(0x5d2)]-_0x29f5bf['editorHeight'])<=0.001&&Math[_0x48f1e1(0x2e2)]((_0x54c302['editorSurfaceWidth']??_0x54c302[_0x48f1e1(0xdb)])-(_0x29f5bf[_0x48f1e1(0x116)]??_0x29f5bf[_0x48f1e1(0xdb)]))<=0.001;}const pr=0xfa0;function mr(_0x5fa617){const _0x398e06=_0xdb1731;return _0x5fa617[_0x398e06(0x2ec)][_0x398e06(0x5d6)](_0x5fa617['hostRect']);}function hr(_0x7bb45d){const _0x4a10d7=_0xdb1731;var _0xddc7ed,_0x1b7a29;let _0x37e759=_0x7bb45d['declaredCanvasWidth']>0x0&&_0x7bb45d[_0x4a10d7(0x29a)]>0x0?_0x7bb45d[_0x4a10d7(0x29a)]/_0x7bb45d[_0x4a10d7(0x3ab)]:0x1;return{'scaleAdjust':Number[_0x4a10d7(0x322)](_0x37e759)&&_0x37e759>0x0?_0x37e759:0x1,'renderScaleX':((_0xddc7ed=_0x7bb45d[_0x4a10d7(0x236)])==null?void 0x0:_0xddc7ed[_0x4a10d7(0x2f7)])||_0x7bb45d['fallbackScaleX'],'renderScaleY':((_0x1b7a29=_0x7bb45d[_0x4a10d7(0x236)])==null?void 0x0:_0x1b7a29['scaleY'])||_0x7bb45d['fallbackScaleY']};}function gr(_0xca5792){const _0x5248fd=_0xdb1731;let _0x5d2b98=Number[_0x5248fd(0x322)](_0xca5792[_0x5248fd(0x346)])?Math[_0x5248fd(0x292)](0x0,_0xca5792[_0x5248fd(0x346)]):0x0,_0x2e5d9c=Math['max'](0x78,Math[_0x5248fd(0x264)](_0x5d2b98+0x10));return _0xca5792[_0x5248fd(0x223)]?{'width':_0x2e5d9c,'height':0x28}:{'width':0x28,'height':_0x2e5d9c};}function _r(_0x8cfb,_0x3531bb){const _0xe8edb1=_0xdb1731;return(0x0,h[_0xe8edb1(0x6d1)])({..._0x8cfb,'body':{'dataStream':_0x3531bb+'\x0d\x0a','paragraphs':[{'startIndex':_0x3531bb[_0xe8edb1(0x6e2)],'paragraphId':(0x0,o['createParagraphId'])(new Set())}],'textRuns':[]}});}function vr(_0x1c2cc7){const _0x2b0c7c=_0xdb1731;let _0xa4283e=Number['isFinite'](_0x1c2cc7[_0x2b0c7c(0x3c9)])&&_0x1c2cc7[_0x2b0c7c(0x3c9)]>0x0?_0x1c2cc7[_0x2b0c7c(0x3c9)]:0x1;if(!_0x1c2cc7['autoFitNoWrap'])return _0xa4283e;let _0x341c49=_0x1c2cc7[_0x2b0c7c(0x683)];return Math[_0x2b0c7c(0x292)](_0xa4283e,Number[_0x2b0c7c(0x322)](_0x341c49)&&_0x341c49!==void 0x0&&_0x341c49>0x0?Math['max'](_0x341c49,pr):pr);}function yr(_0x180903){const _0x6fcba5=_0xdb1731;return(0x0,h[_0x6fcba5(0x6d1)])(_0x180903);}function br(_0x55f8e2){const _0x38a321=_0xdb1731;let _0x401cfd=Number[_0x38a321(0x322)](_0x55f8e2['textRectWidth'])&&_0x55f8e2[_0x38a321(0x3c9)]>0x0?_0x55f8e2[_0x38a321(0x3c9)]:0x1;if(!_0x55f8e2[_0x38a321(0x1f9)])return _0x401cfd;let _0x45583b=Number['isFinite'](_0x55f8e2[_0x38a321(0x755)])&&_0x55f8e2['actualWidth']>0x0?_0x55f8e2[_0x38a321(0x755)]:0x0,_0x5202cd=Number[_0x38a321(0x322)](_0x55f8e2['measuredContentWidth'])&&_0x55f8e2['measuredContentWidth']!==void 0x0&&_0x55f8e2[_0x38a321(0x3a4)]>0x0?_0x55f8e2['measuredContentWidth']:void 0x0,_0x3b581b=_0x45583b+0x2;return Math[_0x38a321(0x292)](_0x401cfd,_0x5202cd??_0x3b581b);}function xr(_0x1fb538){const _0x27114d=_0xdb1731;if(!_0x1fb538[_0x27114d(0x1f9)])return _0x1fb538[_0x27114d(0x661)];let _0x16d617=Number[_0x27114d(0x322)](_0x1fb538['measuredContentWidth'])&&_0x1fb538[_0x27114d(0x3a4)]!==void 0x0&&_0x1fb538['measuredContentWidth']>0x0?_0x1fb538['measuredContentWidth']:void 0x0;return _0x1fb538[_0x27114d(0x47e)]&&_0x16d617!==void 0x0?_0x16d617:_0x1fb538['renderedContentWidth'];}function Sr(_0x6de5d0){const _0xfd69e4=_0xdb1731;let _0xab00bc=Number[_0xfd69e4(0x322)](_0x6de5d0[_0xfd69e4(0x3c9)])&&_0x6de5d0[_0xfd69e4(0x3c9)]>0x0?_0x6de5d0[_0xfd69e4(0x3c9)]:0x1;if(!_0x6de5d0[_0xfd69e4(0x1f9)])return _0xab00bc;let _0x21b961=Number[_0xfd69e4(0x322)](_0x6de5d0['renderedContentWidth'])&&_0x6de5d0[_0xfd69e4(0x661)]>0x0?_0x6de5d0[_0xfd69e4(0x661)]:_0xab00bc;return Math[_0xfd69e4(0x292)](_0xab00bc,_0x21b961);}function Cr(_0x4c4a26){const _0x3ba318=_0xdb1731;let _0x3c4a4b=Number['isFinite'](_0x4c4a26[_0x3ba318(0xdb)])&&_0x4c4a26[_0x3ba318(0xdb)]>0x0?_0x4c4a26[_0x3ba318(0xdb)]:0x1;if(!_0x4c4a26[_0x3ba318(0x1f9)])return _0x3c4a4b;let _0x1aa493=Number['isFinite'](_0x4c4a26[_0x3ba318(0x2f7)])&&_0x4c4a26['scaleX']>0x0?_0x4c4a26[_0x3ba318(0x2f7)]:0x1,_0x3aabcd=Number[_0x3ba318(0x322)](_0x4c4a26['measurePageWidth'])&&_0x4c4a26[_0x3ba318(0x7d2)]>0x0?_0x4c4a26['measurePageWidth']:_0x3c4a4b/_0x1aa493;return Math[_0x3ba318(0x292)](_0x3c4a4b,_0x3aabcd*_0x1aa493);}function wr(_0x5a4bb3){const _0x460291=_0xdb1731;let _0x476653=_0x5a4bb3['tolerance']??0x1;return Math[_0x460291(0x2e2)](_0x5a4bb3['nextWidth']-_0x5a4bb3['baselineWidth'])>_0x476653||Math[_0x460291(0x2e2)](_0x5a4bb3[_0x460291(0x289)]-_0x5a4bb3[_0x460291(0x7be)])>_0x476653;}function Tr(_0x93f028){const _0xff2664=_0xdb1731;var _0x1535de;let {adapter:_0x945672,editingParams:_0x21dddd}=_0x93f028;return!_0x945672['updateHostSize']||!_0x21dddd?!0x1:((_0x1535de=_0x945672[_0xff2664(0x50a)])==null?void 0x0:_0x1535de['call'](_0x945672,_0x21dddd))??!0x0;}function Er(_0x5bc7c6){const _0x526214=_0xdb1731;var _0x3ad96c;let {adapter:_0x3951ef,editingParams:_0x1fc76c}=_0x5bc7c6;return _0x1fc76c?((_0x3ad96c=_0x3951ef['deferHostSizeUpdateDuringEditing'])==null?void 0x0:_0x3ad96c[_0x526214(0x4cb)](_0x3951ef,_0x1fc76c))===!0x0:!0x1;}function Dr(_0x3c21b6){const _0x4de337=_0xdb1731;return _0x3c21b6[_0x4de337(0x4d2)]?o['VerticalAlign'][_0x4de337(0x463)]:_0x3c21b6[_0x4de337(0x1d3)];}function Or(_0x123bfa){const _0xc6430f=_0xdb1731;let {actualHeight:_0x4fbf7a,contentWidth:_0x32fd6a,opticalVerticalOffset:_0x1e29e5,scaleX:_0x4e9b39,scaleY:_0x22d85d,textRect:_0x1d9145,verticalAlign:_0x3b4c83}=_0x123bfa,_0x142839=sr({'contentHeight':_0x4fbf7a,'verticalAlign':_0x3b4c83,'verticalOffset':_0x1e29e5,'viewportHeight':Math[_0xc6430f(0x292)](0x1,_0x1d9145['height'])}),_0x374dac=_0x142839[_0xc6430f(0x7e1)],_0x46115c=Math[_0xc6430f(0x292)](0x1,_0x1d9145['width'],_0x32fd6a??_0x1d9145[_0xc6430f(0x514)]);return{'documentMarginTop':_0x142839['marginTop'],'editorLeft':Math[_0xc6430f(0x292)](0x0,_0x1d9145[_0xc6430f(0x7af)])*_0x4e9b39,'editorTop':(Math['max'](0x0,_0x1d9145['top'])+_0x142839[_0xc6430f(0x739)])*_0x22d85d,'editorWidth':_0x46115c*_0x4e9b39,'editorHeight':_0x374dac*_0x22d85d,'pageHeight':_0x374dac};}function kr(_0x1ab7fe){const _0x357c01=_0xdb1731;let _0x325a8b=_0x1ab7fe[_0x357c01(0x15f)]===o['HorizontalAlign'][_0x357c01(0x73d)]?_0x357c01(0x218):_0x1ab7fe[_0x357c01(0x15f)]===o[_0x357c01(0x75f)][_0x357c01(0x26e)]?_0x357c01(0x78c):_0x357c01(0x7af);return{'left':_0x1ab7fe[_0x357c01(0x3d6)],'top':_0x1ab7fe['editorTop']+_0x1ab7fe['documentMarginTop'],'width':_0x1ab7fe['editorSurfaceWidth']??_0x1ab7fe[_0x357c01(0xdb)],'textAlign':_0x325a8b};}function Ar(_0x33685f){const _0x43af83=_0xdb1731;let {allowShrink:_0x510f93=!0x1,hostWidth:_0x5dc5e1,hostHeight:_0x2ae69f,textRect:_0x4764df,contentWidth:_0x48344a,contentHeight:_0x10bbc0}=_0x33685f,_0x45e7d4=Number[_0x43af83(0x322)](_0x5dc5e1)&&_0x5dc5e1>0x0?_0x5dc5e1:0x1,_0x469fdf=Number[_0x43af83(0x322)](_0x2ae69f)&&_0x2ae69f>0x0?_0x2ae69f:0x1,_0x2090b5=Math[_0x43af83(0x292)](0x0,_0x4764df[_0x43af83(0x7af)]),_0x3faca2=Math['max'](0x0,_0x4764df[_0x43af83(0x606)]),_0xa6ba17=Math['max'](0x1,_0x4764df[_0x43af83(0x514)]),_0x217e54=Math['max'](0x1,_0x4764df[_0x43af83(0x1a8)]),_0x3dbb77=Math[_0x43af83(0x292)](0x0,_0x45e7d4-_0x2090b5-_0xa6ba17),_0x31f215=Math[_0x43af83(0x292)](0x0,_0x469fdf-_0x3faca2-_0x217e54),_0xb70904=Math['max'](0x1,_0x510f93?_0x48344a:Math[_0x43af83(0x292)](_0xa6ba17,_0x48344a)),_0x15e7b4=Math['max'](0x1,_0x510f93?_0x10bbc0:Math[_0x43af83(0x292)](_0x217e54,_0x10bbc0)),_0x5b7dae=Math[_0x43af83(0x264)](_0x2090b5+_0xb70904+_0x3dbb77),_0x19be0d=Math[_0x43af83(0x264)](_0x3faca2+_0x15e7b4+_0x31f215);return{'width':_0x510f93?_0x5b7dae:Math[_0x43af83(0x292)](_0x45e7d4,_0x5b7dae),'height':_0x510f93?_0x19be0d:Math['max'](_0x469fdf,_0x19be0d)};}function jr(_0x2143cc){const _0x13e976=_0xdb1731;let _0x414459=Math[_0x13e976(0x292)](0x1,_0x2143cc['flowAxisLength']),_0x11db42=Math[_0x13e976(0x292)](0x1,_0x2143cc[_0x13e976(0x6b8)]);return _0x2143cc[_0x13e976(0x23a)]==='width'?{'width':_0x414459,'height':_0x11db42}:{'width':_0x11db42,'height':_0x414459};}function Mr(_0x23bbac,_0x302434,_0x4965b3,_0x6b2430){const _0x5db185=_0xdb1731;return{'top':_0x6b2430===void 0x0?0x0:_0x302434,'left':_0x4965b3===void 0x0?0x0:_0x23bbac,'width':_0x4965b3??_0x23bbac,'height':_0x6b2430??_0x302434,'borderColor':_0x5db185(0x68f),'outlineColor':_0x5db185(0x68f),'backgroundColor':_0x5db185(0x68f)};}function Nr(_0x40f870,_0x301d8a){const _0x3739f5=_0xdb1731;if(!_0x40f870)return;_0x40f870['style'][_0x3739f5(0x7af)]=_0x301d8a[_0x3739f5(0x3d6)]+'px',_0x40f870[_0x3739f5(0x141)][_0x3739f5(0x606)]=_0x301d8a['editorTop']+'px';let _0x2d35b8=_0x301d8a[_0x3739f5(0x116)]??_0x301d8a[_0x3739f5(0xdb)];_0x40f870[_0x3739f5(0x141)][_0x3739f5(0x514)]=_0x2d35b8+'px',_0x40f870[_0x3739f5(0x141)][_0x3739f5(0x1a8)]=Math[_0x3739f5(0x292)](0x1,_0x301d8a[_0x3739f5(0x5d2)])+'px';}function Pr(_0x3110f7){const _0xfbf72d=_0xdb1731;var _0x26b452,_0x3277d1;let _0x2316e7=_0x3110f7==null||(_0x26b452=_0x3110f7['engine'])==null||(_0x3277d1=_0x26b452['getCanvasElement'])==null?void 0x0:_0x3277d1[_0xfbf72d(0x4cb)](_0x26b452);_0x2316e7&&(_0x2316e7[_0xfbf72d(0x141)]['backgroundColor']='transparent');}function Fr(_0x38d8f7){const _0x24f05b=_0xdb1731;var _0x5ab2dc,_0x1ba682;let _0x3f174b=_0x424964=>{const _0xe2417c=_0x38c7;if(!_0x424964||typeof _0x424964!=_0xe2417c(0x4fa))return;let _0x15248f=_0x424964;_0x15248f[_0xe2417c(0x282)]!==void 0x0&&(_0x15248f[_0xe2417c(0x282)]=0x0),_0x15248f[_0xe2417c(0x685)]!==void 0x0&&(_0x15248f[_0xe2417c(0x685)]=0x0);};_0x3f174b(_0x38d8f7==null?void 0x0:_0x38d8f7['mainComponent']),_0x38d8f7==null||(_0x5ab2dc=_0x38d8f7[_0x24f05b(0x788)])==null||(_0x1ba682=_0x5ab2dc['forEach'])==null||_0x1ba682[_0x24f05b(0x4cb)](_0x5ab2dc,_0x3f174b);}function Ir(_0x443422){const _0x326313=_0xdb1731;var _0x37eecb,_0x1c2710,_0x4bfbcc,_0x1beaa4;_0x443422==null||(_0x37eecb=_0x443422['mainComponent'])==null||(_0x1c2710=_0x37eecb[_0x326313(0x4d0)])==null||_0x1c2710[_0x326313(0x4cb)](_0x37eecb,!0x0);let _0x448476=_0x443422==null?void 0x0:_0x443422[_0x326313(0x390)];_0x448476==null||(_0x4bfbcc=_0x448476[_0x326313(0x4d0)])==null||_0x4bfbcc[_0x326313(0x4cb)](_0x448476,!0x0),_0x448476==null||(_0x1beaa4=_0x448476[_0x326313(0x172)])==null||_0x1beaa4[_0x326313(0x4cb)](_0x448476);}function Lr(_0x5af111){const _0x5dea07=_0xdb1731;return _0x5af111===o['HorizontalAlign'][_0x5dea07(0x73d)];}function Rr(_0x1a48df){const _0x42e8e0=_0xdb1731;return _0x1a48df===o[_0x42e8e0(0x75f)][_0x42e8e0(0x26e)];}function zr(_0x2d3c8f){const _0x9e31f3=_0xdb1731;let _0x1ca1ac=(0x0,h[_0x9e31f3(0x447)])(_0x2d3c8f==null?void 0x0:_0x2d3c8f[_0x9e31f3(0x16a)],0x0),_0x51a742=(0x0,h[_0x9e31f3(0x447)])(_0x2d3c8f==null?void 0x0:_0x2d3c8f[_0x9e31f3(0x281)],0x0),_0x425eb4=(0x0,h[_0x9e31f3(0x447)])(_0x2d3c8f==null?void 0x0:_0x2d3c8f[_0x9e31f3(0x438)],0x0);return Math[_0x9e31f3(0x292)](0x0,_0x1ca1ac+_0x51a742,_0x1ca1ac+_0x425eb4);}function Br(_0x36aa4e,_0x35feef,_0x315309){const _0x52b49e=_0xdb1731;var _0xf2c237,_0x44bf44;if(!_0x36aa4e)return{'align':_0x35feef,'width':0x0};let _0x15ad5f=((_0xf2c237=_0x36aa4e[_0x52b49e(0x7e5)])==null?void 0x0:_0xf2c237[_0x52b49e(0x2e8)])??'',_0x3aa17d=((_0x44bf44=_0x36aa4e[_0x52b49e(0x7e5)])==null?void 0x0:_0x44bf44[_0x52b49e(0x72e)])??[];if(_0x3aa17d['length']===0x0)return{'align':_0x35feef,'width':(0x0,h[_0x52b49e(0x6d1)])(_0x36aa4e)};let _0x407769=0x0,_0x29777f={'align':_0x35feef,'width':0x0};return _0x3aa17d[_0x52b49e(0x520)](_0x4e20ec=>{const _0x2d223f=_0x52b49e;let _0x3262b6=Math[_0x2d223f(0x292)](_0x407769,Math[_0x2d223f(0x3a3)](_0x15ad5f[_0x2d223f(0x6e2)],_0x4e20ec['startIndex']??_0x407769)),_0x46f8fa=(0x0,h['measureDocumentNoWrapTextRangeWidth'])(_0x36aa4e,_0x407769,_0x3262b6)+(_0x315309?zr(_0x4e20ec[_0x2d223f(0x2e9)]):0x0);if(_0x46f8fa>_0x29777f[_0x2d223f(0x514)]){var _0x522343;_0x29777f={'align':((_0x522343=_0x4e20ec[_0x2d223f(0x2e9)])==null?void 0x0:_0x522343[_0x2d223f(0x15f)])??_0x35feef,'width':_0x46f8fa};}_0x407769=Math[_0x2d223f(0x3a3)](_0x15ad5f['length'],_0x3262b6+0x1);}),_0x29777f;}function Vr(_0xc02010,_0x574150,_0x4e97f0){const _0x311c95=_0xdb1731;var _0x2df388;if(_0x574150!==void 0x0)return _0x4e97f0??_0x574150;let _0x5aca69=((_0xc02010==null||(_0x2df388=_0xc02010['body'])==null?void 0x0:_0x2df388[_0x311c95(0x72e)])??[])['map'](_0x46f977=>{var _0x1a1d2b;return(_0x1a1d2b=_0x46f977['paragraphStyle'])==null?void 0x0:_0x1a1d2b['horizontalAlign'];})[_0x311c95(0xc4)](_0x51af22=>_0x51af22!==void 0x0);return _0x5aca69[_0x311c95(0x2ed)](o[_0x311c95(0x75f)][_0x311c95(0x73d)])?o['HorizontalAlign']['CENTER']:_0x5aca69['includes'](o['HorizontalAlign'][_0x311c95(0x26e)])?o[_0x311c95(0x75f)][_0x311c95(0x26e)]:o[_0x311c95(0x75f)][_0x311c95(0x3ca)];}function _0x38c7(_0xa39d47,_0x93aec6){_0xa39d47=_0xa39d47-0xbf;const _0x163c70=_0x163c();let _0x38c768=_0x163c70[_0xa39d47];return _0x38c768;}function Hr(_0x18c412){const _0x1f4d1a=_0xdb1731;let {documentData:_0x23d549,horizontalAlign:_0x1e6862,horizontalAnchor:_0x10e40e,isHorizontal:_0x25a9e7,textRect:_0x2a1fb3,textWrap:_0x455bb5}=_0x18c412;if(_0x25a9e7===!0x1||_0x2a1fb3['width']<=0x0)return{'contentWidth':_0x2a1fb3['width'],'measureAsNoWrap':!0x1,'textRect':_0x2a1fb3};let _0x4bbd97=Number[_0x1f4d1a(0x322)](_0x18c412['widthBuffer'])?Math[_0x1f4d1a(0x292)](0x0,_0x18c412[_0x1f4d1a(0x429)]??0x0):0x0,_0x1f4f74=_0x455bb5===S['ShapeTextWrapType']['None'],_0x506a23=Br(_0x23d549,_0x1e6862,_0x1f4f74),_0x5c2c9e=_0x506a23['width']+_0x4bbd97,_0x23a575=_0x10e40e===_0x1f4d1a(0x218)&&_0x455bb5!==S[_0x1f4d1a(0x671)][_0x1f4d1a(0x423)]&&_0x5c2c9e>=_0x2a1fb3[_0x1f4d1a(0x514)]?(0x0,h[_0x1f4d1a(0x1c0)])(_0x23d549,Math[_0x1f4d1a(0x292)](0x0,_0x2a1fb3['width']-_0x4bbd97))+_0x4bbd97:_0x5c2c9e;if(_0x10e40e===_0x1f4d1a(0x218)&&_0x23a575>0x0&&_0x23a575<_0x2a1fb3[_0x1f4d1a(0x514)])return{'contentWidth':_0x23a575,'measureAsNoWrap':_0x455bb5===S[_0x1f4d1a(0x671)][_0x1f4d1a(0x423)],'textRect':{..._0x2a1fb3,'left':_0x2a1fb3[_0x1f4d1a(0x7af)]+(_0x2a1fb3[_0x1f4d1a(0x514)]-_0x23a575)/0x2,'width':_0x23a575}};let _0x1b8d30=_0x1f4f74?_0x5c2c9e:_0x2a1fb3[_0x1f4d1a(0x514)],_0x50e6b2=Math['max'](_0x2a1fb3['width'],_0x1b8d30);if(_0x50e6b2===_0x2a1fb3[_0x1f4d1a(0x514)])return{'contentWidth':_0x50e6b2,'measureAsNoWrap':_0x1f4f74,'textRect':_0x2a1fb3};let _0x7ccb12=_0x50e6b2-_0x2a1fb3['width'],_0x46d909=_0x1f4f74?Vr(_0x23d549,_0x1e6862,_0x506a23[_0x1f4d1a(0x4ad)]):_0x1e6862,_0x3e2378=Rr(_0x46d909)?_0x2a1fb3[_0x1f4d1a(0x7af)]-_0x7ccb12:Lr(_0x46d909)?_0x2a1fb3[_0x1f4d1a(0x7af)]-_0x7ccb12/0x2:_0x2a1fb3[_0x1f4d1a(0x7af)];return{'contentWidth':_0x50e6b2,'measureAsNoWrap':_0x1f4f74,'textRect':{..._0x2a1fb3,'left':_0x3e2378,'width':_0x50e6b2}};}function Ur(_0x4d264c){const _0x4098f3=_0xdb1731;var _0x22433d;return((_0x4d264c==null||(_0x22433d=_0x4d264c[_0x4098f3(0x7e5)])==null?void 0x0:_0x22433d[_0x4098f3(0x2e8)])??'')['replace'](/[\r\n]/g,'')['length']===0x0;}function Wr(_0x169972){const _0x349744=_0xdb1731;var _0xcdf22d;let {documentData:_0xb1f621,isTextBox:_0x5ba12a,placeholder:_0x2a09a8,showPlaceholder:_0x367be3=!0x0,text:_0x333025=''}=_0x169972;if(!_0x367be3||!_0x5ba12a||!_0x2a09a8||_0x333025[_0x349744(0x6e2)]>0x0||!Ur(_0xb1f621))return;let _0x6e073=_0xb1f621==null||(_0xcdf22d=_0xb1f621['documentStyle'])==null?void 0x0:_0xcdf22d['textStyle'];return{..._0xb1f621,'id':(_0xb1f621==null?void 0x0:_0xb1f621['id'])??_0x349744(0x464),'body':{'dataStream':_0x2a09a8+'\x0d\x0a','paragraphs':[{'startIndex':_0x2a09a8['length'],'paragraphId':(0x0,o[_0x349744(0x786)])(new Set())}],'textRuns':[{'st':0x0,'ed':_0x2a09a8['length'],'ts':{..._0x6e073,'cl':{'rgb':_0x349744(0x247)}}}]},'documentStyle':{..._0xb1f621==null?void 0x0:_0xb1f621[_0x349744(0x613)]}};}const Gr=0.001;function Kr(_0xee30b3,_0x181d1b,_0x28223c,_0x464261){const _0x1457e1=_0xdb1731;return Math[_0x1457e1(0x2e2)](_0x28223c-_0xee30b3)>Gr?_0xee30b3+_0x181d1b-_0x464261:_0xee30b3;}function qr(_0x4a662d){const _0x5bc83d=_0xdb1731;let {initialRect:_0x44945b,requestedRect:_0x404f9d,shapeData:_0x134f46}=_0x4a662d,_0x41c0a9=_0x134f46['shapeText'];if(_0x134f46['isTextBox']!==!0x0||!_0x41c0a9)return null;let _0x474ed9=_0x41c0a9[_0x5bc83d(0x223)]!==!0x1,_0x263e51=Math['abs']((_0x474ed9?_0x404f9d[_0x5bc83d(0x514)]:_0x404f9d[_0x5bc83d(0x1a8)])-(_0x474ed9?_0x44945b[_0x5bc83d(0x514)]:_0x44945b['height']))>Gr,_0x9fbe4b=Math[_0x5bc83d(0x2e2)]((_0x474ed9?_0x404f9d[_0x5bc83d(0x1a8)]:_0x404f9d[_0x5bc83d(0x514)])-(_0x474ed9?_0x44945b[_0x5bc83d(0x1a8)]:_0x44945b['width']))>Gr;if(!_0x263e51&&!_0x9fbe4b)return null;let _0xaf1ced=_0x474ed9?_0x44945b['height']:_0x44945b[_0x5bc83d(0x514)],_0x5d5fe5=Number[_0x5bc83d(0x322)](_0x4a662d['naturalCrossSize'])&&_0x4a662d['naturalCrossSize']>0x0?_0x4a662d[_0x5bc83d(0x798)]:_0xaf1ced;return{'rect':_0x474ed9?{'left':_0x263e51?_0x404f9d[_0x5bc83d(0x7af)]:_0x44945b[_0x5bc83d(0x7af)],'top':Kr(_0x44945b[_0x5bc83d(0x606)],_0x44945b[_0x5bc83d(0x1a8)],_0x404f9d[_0x5bc83d(0x606)],_0x5d5fe5),'width':_0x263e51?_0x404f9d['width']:_0x44945b[_0x5bc83d(0x514)],'height':_0x5d5fe5}:{'left':Kr(_0x44945b[_0x5bc83d(0x7af)],_0x44945b[_0x5bc83d(0x514)],_0x404f9d[_0x5bc83d(0x7af)],_0x5d5fe5),'top':_0x263e51?_0x404f9d[_0x5bc83d(0x606)]:_0x44945b[_0x5bc83d(0x606)],'width':_0x5d5fe5,'height':_0x263e51?_0x404f9d['height']:_0x44945b[_0x5bc83d(0x1a8)]},'shapeData':_0x263e51?{..._0x134f46,'shapeText':{..._0x41c0a9,'autoFitType':S['ShapeTextAutoFitType'][_0x5bc83d(0x7a4)],'textWrap':S[_0x5bc83d(0x671)][_0x5bc83d(0x5a8)]}}:_0x134f46};}function Jr(_0x32e346,_0x22a2e2){const _0x1afee3=_0xdb1731;return _0x32e346&&!!(_0x22a2e2!=null&&_0x22a2e2[_0x1afee3(0x6e2)]);}function Yr(_0x5e95e6,_0x575cd0){const _0x24d6a6=_0xdb1731;let _0x3696d4=s['FONT_SIZE_LIST']['map'](_0x3c90da=>Number(_0x3c90da['value']))[_0x24d6a6(0xc4)](_0x1bd361=>Number[_0x24d6a6(0x322)](_0x1bd361)&&_0x1bd361>0x0)[_0x24d6a6(0x186)]((_0x1530ab,_0x18d811)=>_0x1530ab-_0x18d811),_0x2cfd60=Number['isFinite'](_0x5e95e6)?_0x5e95e6:0xe;return _0x575cd0>0x0?_0x3696d4['find'](_0x3d1414=>_0x3d1414>_0x2cfd60)??_0x3696d4[_0x3696d4[_0x24d6a6(0x6e2)]-0x1]??_0x2cfd60:[..._0x3696d4][_0x24d6a6(0x753)]()[_0x24d6a6(0x608)](_0x364ddb=>_0x364ddb<_0x2cfd60)??_0x3696d4[0x0]??_0x2cfd60;}function Xr(_0x2ab658){const _0x17666b=_0xdb1731;let {editorUnitId:_0xfa2919,editingParams:_0x156ee1}=_0x2ab658;return _0x156ee1?[_0xfa2919,_0x156ee1['unitId'],_0x156ee1[_0x17666b(0x258)],_0x156ee1['shapeId'],_0x156ee1[_0x17666b(0x426)]]['join']('|'):null;}function Zr(_0x3c563f,_0x509e4f){const _0x7cab8c=_0xdb1731;if(!_0x3c563f)return!0x0;if(_0x3c563f instanceof Node&&_0x509e4f!=null&&_0x509e4f[_0x7cab8c(0x47f)](_0x3c563f))return!0x1;if(_0x3c563f instanceof Element){if(_0x3c563f[_0x7cab8c(0x70b)]('[data-u-comp=\x22rect-popup\x22]'))return!0x1;let _0x4b38ef=_0x3c563f[_0x7cab8c(0x70b)](_0x7cab8c(0xc3)+p[_0x7cab8c(0x137)]['id']+_0x7cab8c(0x653)+p[_0x7cab8c(0x2e1)]['id']+'\x22]'),_0x2ab6f8=_0x3c563f[_0x7cab8c(0x70b)](_0x7cab8c(0x197));if(_0x4b38ef||_0x2ab6f8){let _0x323dea=(0x0,s[_0x7cab8c(0x3ad)])(_0x509e4f),_0x4aaae2=(0x0,s[_0x7cab8c(0x3ad)])(_0x3c563f);return _0x323dea||_0x4aaae2?_0x323dea!==_0x4aaae2:!0x1;}return!0x0;}return!0x0;}function Qr(_0x4b5992,_0xaf1544,_0x225f96={}){const _0x30ce34=_0xdb1731;let _0x1b5bba=s['MetaKeys']['CTRL_COMMAND'],_0x1e55db=s[_0x30ce34(0x652)][_0x30ce34(0x7bd)]|s[_0x30ce34(0x652)][_0x30ce34(0x1c5)];return{'keyCodes':[..._0x225f96[_0x30ce34(0x750)]?[{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x6fa)]},{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x6fa)],'metaKey':s[_0x30ce34(0x652)][_0x30ce34(0x1c5)]},{'keyCode':s['KeyCode'][_0x30ce34(0x6fa)],'metaKey':_0x1b5bba}]:[{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x6fa)]}],{'keyCode':s['KeyCode'][_0x30ce34(0x5b9)]},{'keyCode':s['KeyCode'][_0x30ce34(0x595)]},{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x5de)]},{'keyCode':s[_0x30ce34(0x35e)]['A'],'metaKey':_0x1b5bba,'nativeTextEditorBehavior':s[_0x30ce34(0x583)][_0x30ce34(0x740)]},{'keyCode':s[_0x30ce34(0x35e)]['B'],'metaKey':_0x1b5bba},{'keyCode':s[_0x30ce34(0x35e)]['I'],'metaKey':_0x1b5bba},{'keyCode':s['KeyCode']['U'],'metaKey':_0x1b5bba},{'keyCode':s[_0x30ce34(0x35e)]['X'],'metaKey':_0x1e55db},{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x19b)],'metaKey':_0x1b5bba},{'keyCode':s[_0x30ce34(0x35e)]['PERIOD'],'metaKey':_0x1b5bba},{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x26a)],'metaKey':s['MetaKeys'][_0x30ce34(0x445)]|s[_0x30ce34(0x652)]['SHIFT']},{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x19b)],'metaKey':s[_0x30ce34(0x652)]['ALT']|s['MetaKeys'][_0x30ce34(0x1c5)]},{'keyCode':s[_0x30ce34(0x35e)]['K'],'metaKey':_0x1b5bba},{'keyCode':s[_0x30ce34(0x35e)]['L'],'metaKey':_0x1e55db},{'keyCode':s[_0x30ce34(0x35e)]['R'],'metaKey':_0x1e55db},{'keyCode':s[_0x30ce34(0x35e)]['E'],'metaKey':_0x1e55db},{'keyCode':s[_0x30ce34(0x35e)]['J'],'metaKey':_0x1e55db},{'keyCode':s[_0x30ce34(0x35e)][_0x30ce34(0x26a)],'metaKey':_0x1e55db},{'keyCode':s['KeyCode'][_0x30ce34(0x534)],'metaKey':_0x1e55db},{'keyCode':s[_0x30ce34(0x35e)]['Digit8'],'metaKey':_0x1e55db},{'keyCode':s[_0x30ce34(0x35e)]['Z'],'metaKey':_0x1b5bba},{'keyCode':s['KeyCode']['Y'],'metaKey':_0x1b5bba},{'keyCode':s[_0x30ce34(0x35e)]['Z'],'metaKey':_0x1e55db}],'handler':(_0x52e11f,_0x2770ce)=>{const _0x349357=_0x30ce34;switch(_0x52e11f+':'+(_0x2770ce??0x0)){case s[_0x349357(0x35e)][_0x349357(0x5b9)]+':0':var _0x1dc766;(_0x1dc766=_0x225f96['cancel'])==null||_0x1dc766[_0x349357(0x4cb)](_0x225f96);break;case s[_0x349357(0x35e)][_0x349357(0x6fa)]+':0':if(_0x225f96[_0x349357(0x750)]){var _0x1dd8b6;(_0x1dd8b6=_0x225f96['commit'])==null||_0x1dd8b6[_0x349357(0x4cb)](_0x225f96);}else _0x4b5992['executeCommand'](p[_0x349357(0x567)]['id']);break;case s[_0x349357(0x35e)][_0x349357(0x6fa)]+':'+s['MetaKeys']['SHIFT']:case s[_0x349357(0x35e)][_0x349357(0x6fa)]+':'+_0x1b5bba:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x567)]['id']);break;case s['KeyCode']['BACKSPACE']+':0':_0x4b5992[_0x349357(0x599)](p['DeleteLeftCommand']['id']);break;case s[_0x349357(0x35e)]['DELETE']+':0':_0x4b5992[_0x349357(0x599)](p['DeleteRightCommand']['id']);break;case s['KeyCode']['A']+':'+_0x1b5bba:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x2b6)]['id']);break;case s[_0x349357(0x35e)]['B']+':'+_0x1b5bba:_0x4b5992['executeCommand'](p[_0x349357(0x3d8)]['id']);break;case s[_0x349357(0x35e)]['I']+':'+_0x1b5bba:_0x4b5992['executeCommand'](p[_0x349357(0x10b)]['id']);break;case s[_0x349357(0x35e)]['U']+':'+_0x1b5bba:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x14f)]['id']);break;case s[_0x349357(0x35e)]['X']+':'+_0x1e55db:_0x4b5992['executeCommand'](p[_0x349357(0x22f)]['id']);break;case s[_0x349357(0x35e)]['COMMA']+':'+_0x1b5bba:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x2fe)]['id']);break;case s[_0x349357(0x35e)][_0x349357(0x26a)]+':'+_0x1b5bba:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x659)]['id']);break;case s[_0x349357(0x35e)][_0x349357(0x26a)]+':'+(s[_0x349357(0x652)]['ALT']|s[_0x349357(0x652)][_0x349357(0x1c5)]):_0x4b5992[_0x349357(0x599)](p[_0x349357(0x19a)]['id'],{'value':Yr(_0x225f96[_0x349357(0x7d4)],0x1)});break;case s[_0x349357(0x35e)][_0x349357(0x19b)]+':'+(s['MetaKeys']['ALT']|s[_0x349357(0x652)][_0x349357(0x1c5)]):_0x4b5992[_0x349357(0x599)](p[_0x349357(0x19a)]['id'],{'value':Yr(_0x225f96['currentFontSize'],-0x1)});break;case s[_0x349357(0x35e)]['K']+':'+_0x1b5bba:_0x4b5992[_0x349357(0x599)](_0x349357(0x2ae));break;case s[_0x349357(0x35e)]['L']+':'+_0x1e55db:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x420)]['id']);break;case s['KeyCode']['R']+':'+_0x1e55db:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x580)]['id']);break;case s[_0x349357(0x35e)]['E']+':'+_0x1e55db:_0x4b5992['executeCommand'](p['AlignCenterCommand']['id']);break;case s[_0x349357(0x35e)]['J']+':'+_0x1e55db:_0x4b5992['executeCommand'](p[_0x349357(0x512)]['id']);break;case s[_0x349357(0x35e)][_0x349357(0x26a)]+':'+_0x1e55db:_0x4b5992['executeCommand'](Un);break;case s['KeyCode'][_0x349357(0x534)]+':'+_0x1e55db:_0x4b5992['executeCommand'](p[_0x349357(0x137)]['id']);break;case s['KeyCode']['Digit8']+':'+_0x1e55db:_0x4b5992[_0x349357(0x599)](p[_0x349357(0x2e1)]['id']);break;case s[_0x349357(0x35e)]['Z']+':'+_0x1b5bba:_0xaf1544?_0xaf1544(o['UndoCommand']['id']):_0x4b5992[_0x349357(0x599)](o[_0x349357(0x46e)]['id']);break;case s['KeyCode']['Y']+':'+_0x1b5bba:case s[_0x349357(0x35e)]['Z']+':'+_0x1e55db:_0xaf1544?_0xaf1544(o['RedoCommand']['id']):_0x4b5992[_0x349357(0x599)](o[_0x349357(0xde)]['id']);break;}}};}function $r(_0x2e86a9){const _0x5ca454=_0xdb1731;let {containerRef:_0xf7282c,editingContentStyle:_0x3ac5e4,editorContainerRef:_0x2846e9,editorUnitId:_0x256c60,fontSize:_0x416830,horizontalAlign:_0xfb5690,layout:_0x250d69,placeholder:_0x2c868c,showPlaceholder:_0x4d869c,transform:_0x31b8a8}=_0x2e86a9,_0x1bf1a0=(0x0,n[_0x5ca454(0x3b8)])(()=>{const _0x5c00fa=_0x5ca454;let _0x37e58e=_0x250d69[_0x5c00fa(0x116)]??_0x250d69[_0x5c00fa(0xdb)];return{...Mr(_0x250d69[_0x5c00fa(0x3d6)],_0x250d69['editorTop'],_0x37e58e,Math[_0x5c00fa(0x292)](0x1,_0x250d69[_0x5c00fa(0x5d2)])),..._0x3ac5e4};},[_0x3ac5e4,_0x250d69]),_0x3e55ef=(0x0,n[_0x5ca454(0x3b8)])(()=>kr({'documentMarginTop':_0x250d69[_0x5ca454(0x274)],'editorLeft':_0x250d69[_0x5ca454(0x3d6)],'editorSurfaceWidth':_0x250d69['editorSurfaceWidth'],'editorTop':_0x250d69[_0x5ca454(0x417)],'editorWidth':_0x250d69[_0x5ca454(0xdb)],'horizontalAlign':_0xfb5690}),[_0xfb5690,_0x250d69]);return(0x0,r[_0x5ca454(0x565)])(_0x5ca454(0x73f),{'ref':_0xf7282c,'data-u-comp':_0x5ca454(0x1e4),'className':_0x5ca454(0x707),'style':{'transform':'rotate('+_0x31b8a8[_0x5ca454(0x30e)]+_0x5ca454(0x12a)+(_0x31b8a8[_0x5ca454(0x454)]?-0x1:0x1)+')'},'children':[(0x0,r[_0x5ca454(0x6c7)])('div',{'ref':_0x2846e9,'className':'univer-absolute','data-u-comp':_0x5ca454(0x132),'style':_0x1bf1a0,'data-editorid':_0x256c60}),_0x4d869c&&(0x0,r[_0x5ca454(0x6c7)])(_0x5ca454(0x73f),{'aria-hidden':_0x5ca454(0x208),'className':_0x5ca454(0x2a8),'data-u-comp':'shape-text-editor-placeholder','style':{..._0x3e55ef,'fontSize':_0x416830,'lineHeight':1.5},'children':_0x2c868c})]});}const ei=function(_0x50ea5b){const _0x458c7d=_0xdb1731;var _0x465b76,_0x53417b,_0x4b9a17;let {adapter:_0x22793a,containerWidth:_0x471457,containerHeight:_0x25331c,editingParams:_0x2e93ab,editingService:_0x5bff93,editorUnitId:_0x879aaf,scaleX:_0x150d41,scaleY:_0x32d1ad,verticalAlignCommandId:_0x4188e9}=_0x50ea5b,_0x3bafab=_0x150d41||0x1,_0xbd1d38=_0x32d1ad||0x1,_0x5e4502=(0x0,s['useDependency'])(p[_0x458c7d(0xff)]),_0xbbef44=(0x0,s[_0x458c7d(0x14e)])(h[_0x458c7d(0x775)]),_0x380168=(0x0,s[_0x458c7d(0x14e)])(o[_0x458c7d(0x6b6)]),_0x3732b6=(0x0,s[_0x458c7d(0x14e)])(o[_0x458c7d(0x773)]),_0x53fcce=(0x0,s['useDependency'])(o['LocaleService']),_0x29ce94=(0x0,s[_0x458c7d(0x14e)])(f['DocStateEmitService']),_0x276912=(0x0,s[_0x458c7d(0x474)])(_0x5bff93[_0x458c7d(0x5d0)]);(0x0,s[_0x458c7d(0x474)])(()=>_0x53fcce[_0x458c7d(0x28c)],_0x53fcce['getCurrentLocale'](),!0x1,[_0x53fcce]);let _0x1d07df=_0x53fcce['t'](_0x458c7d(0x3c6)),_0x274ae7=(0x0,n[_0x458c7d(0x5d5)])(!0x1),_0x6fcff=(0x0,n[_0x458c7d(0x5d5)])(null),_0x452e75=(0x0,n[_0x458c7d(0x5d5)])(null),_0x7243f2=(0x0,n[_0x458c7d(0x5d5)])(null),_0x60a9bf=(0x0,n[_0x458c7d(0x5d5)])(null),_0x49cd0b=(0x0,n[_0x458c7d(0x5d5)])(null),_0x1623ec=(0x0,n['useRef'])(null),_0x397c03=(0x0,n[_0x458c7d(0x5d5)])(null),_0x2811c8=(0x0,n[_0x458c7d(0x5d5)])({'width':0x0,'height':0x0}),_0x5665b0=(0x0,n[_0x458c7d(0x5d5)])(null),_0x53ee56=(0x0,n[_0x458c7d(0x5d5)])(()=>{}),_0x3f5cab=(0x0,n['useRef'])(()=>{}),_0x279b53=(0x0,n['useRef'])(()=>{}),[_0x26c8d5,_0x147877]=(0x0,n['useState'])({'documentMarginTop':0x0,'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x471457,'editorHeight':_0x25331c});_0x274ae7['current']=!!_0x276912;let _0x389482=(0x0,n[_0x458c7d(0x51b)])(_0x5a067e=>{const _0x3ec1b3=_0x458c7d;Nr(_0x452e75[_0x3ec1b3(0x1b2)],_0x5a067e),queueMicrotask(()=>{_0x147877(_0x2107ca=>fr(_0x2107ca,_0x5a067e)?_0x2107ca:_0x5a067e);});},[]),_0x418fc0=(0x0,n[_0x458c7d(0x51b)])(()=>_0x380168[_0x458c7d(0x70a)](_0x879aaf,o[_0x458c7d(0xc6)]['UNIVER_DOC']),[_0x879aaf,_0x380168]),_0x111ecd=(0x0,n[_0x458c7d(0x51b)])(()=>{const _0x54844c=_0x458c7d;let _0x293589=_0x3bafab,_0x30f4dd=_0xbd1d38;if(!_0x2e93ab)return{'scaleAdjust':0x1,'renderScaleX':_0x293589,'renderScaleY':_0x30f4dd};let _0xe5ab31=_0xbbef44[_0x54844c(0x1f8)](_0x2e93ab[_0x54844c(0xc9)]),_0x2bb7cf=_0xe5ab31==null?void 0x0:_0xe5ab31[_0x54844c(0x17f)][_0x54844c(0x481)]();return hr({'ancestorScale':_0xe5ab31==null?void 0x0:_0xe5ab31[_0x54844c(0x390)][_0x54844c(0x58d)](),'canvasClientWidth':(_0x2bb7cf==null?void 0x0:_0x2bb7cf['getBoundingClientRect']()[_0x54844c(0x514)])??0x0,'declaredCanvasWidth':_0x2bb7cf?Number[_0x54844c(0x42f)](_0x2bb7cf[_0x54844c(0x141)][_0x54844c(0x514)]||''):0x0,'fallbackScaleX':_0x293589,'fallbackScaleY':_0x30f4dd});},[_0x3bafab,_0xbd1d38,_0x2e93ab,_0xbbef44]),_0x1bd5f1=(0x0,n[_0x458c7d(0x51b)])(()=>{if(!_0x2e93ab)return{'left':0x0,'top':0x0,'width':_0x471457/_0x3bafab,'height':_0x25331c/_0xbd1d38};let {unitId:_0x3a9071,subUnitId:_0x2affb9,shapeId:_0x33369b}=_0x2e93ab,_0x5355a1=_0x22793a['getShapeModel'](_0x3a9071,_0x2affb9,_0x33369b);return _0x5355a1?mr({'hostRect':{'left':0x0,'top':0x0,'width':_0x471457/_0x3bafab,'height':_0x25331c/_0xbd1d38},'shapeModel':_0x5355a1}):{'left':0x0,'top':0x0,'width':_0x471457/_0x3bafab,'height':_0x25331c/_0xbd1d38};},[_0x22793a,_0x2e93ab,_0x471457,_0x25331c,_0x3bafab,_0xbd1d38]),_0x158e84=(0x0,n[_0x458c7d(0x51b)])(()=>{const _0x97b6e2=_0x458c7d;var _0x581a9c;if(!_0x2e93ab)return null;let {unitId:_0x15b816,subUnitId:_0x31879c,shapeId:_0x576d5c}=_0x2e93ab,_0x282c79=_0x22793a[_0x97b6e2(0x1e8)](_0x15b816,_0x31879c,_0x576d5c);if(!_0x282c79)return null;let _0x1d1e8a=(_0x581a9c=_0x22793a['getShapeData'])==null?void 0x0:_0x581a9c[_0x97b6e2(0x4cb)](_0x22793a,_0x15b816,_0x31879c,_0x576d5c),_0x2d39d0=_0x282c79[_0x97b6e2(0x5a9)]();if(!_0x2d39d0)return null;let _0x2109ad=ke(_0x1d1e8a,_0x2d39d0),_0x11c2d2=_0x22793a[_0x97b6e2(0x11d)](_0x15b816,_0x31879c,_0x576d5c)??{'angle':0x0,'flipX':!0x1,'flipY':!0x1},_0x3271ed=_0x1bd5f1(),_0x4d9019,_0x184d82=o[_0x97b6e2(0x60a)][_0x97b6e2(0x463)],_0x4993e7=o[_0x97b6e2(0x75f)][_0x97b6e2(0x3ca)];if('dataModel'in _0x2d39d0&&_0x2d39d0[_0x97b6e2(0x2d7)]){var _0x12c6e0,_0x34493d;let _0x396eaf=X(_0x2d39d0[_0x97b6e2(0x2d7)]);_0x396eaf!=null&&_0x396eaf[_0x97b6e2(0x527)]&&(_0x4d9019=_0x396eaf[_0x97b6e2(0x527)]),_0x184d82=(_0x396eaf==null?void 0x0:_0x396eaf['va'])??(_0x4d9019==null||(_0x12c6e0=_0x4d9019['documentStyle'])==null||(_0x12c6e0=_0x12c6e0['renderConfig'])==null?void 0x0:_0x12c6e0[_0x97b6e2(0x1d3)])??o[_0x97b6e2(0x60a)][_0x97b6e2(0x463)],_0x4993e7=(_0x396eaf==null?void 0x0:_0x396eaf['ha'])??(_0x4d9019==null||(_0x34493d=_0x4d9019[_0x97b6e2(0x613)])==null||(_0x34493d=_0x34493d[_0x97b6e2(0x6a6)])==null?void 0x0:_0x34493d[_0x97b6e2(0x15f)])??o[_0x97b6e2(0x75f)][_0x97b6e2(0x3ca)];}let _0x5d0084=(0x0,S[_0x97b6e2(0x143)])(_0x2109ad),_0xb293c6=_0x5d0084[_0x97b6e2(0x46b)]===_0x97b6e2(0x218)?Hr({'documentData':_0x4d9019,'horizontalAlign':_0x4993e7,'horizontalAnchor':_0x5d0084[_0x97b6e2(0x46b)],'isHorizontal':_0x2d39d0[_0x97b6e2(0x223)],'textRect':_0x3271ed,'textWrap':_0x5d0084[_0x97b6e2(0xf8)],'widthBuffer':0x2})['textRect']:_0x3271ed;return{'shapeText':_0x2d39d0,'bodyBehavior':_0x5d0084,'doc':_0x4d9019,'verticalAlign':_0x184d82,'horizontalAlign':_0x4993e7,'wrapStrategy':Me(_0x2109ad),'autoFitNoWrap':Pe(_0x2109ad),'textRect':_0xb293c6,'transform':_0x11c2d2,'isHorizontal':_0x2d39d0[_0x97b6e2(0x223)],'isTextBox':_0x2109ad['isTextBox']===!0x0};},[_0x22793a,_0x2e93ab,_0x471457,_0x25331c,_0x3bafab,_0xbd1d38]),_0x46684a=(0x0,n[_0x458c7d(0x3b8)])(()=>Yt({'editorUnitId':_0x879aaf,'pageWidth':_0x471457/_0x3bafab,'shapeData':_0x158e84()}),[_0x158e84,_0x471457,_0x3bafab,_0x879aaf]),[_0x1c7dc8,_0x2aaae3]=(0x0,n['useState'])(()=>Ur(_0x46684a)),_0x41a5e8=(0x0,p[_0x458c7d(0x5fe)])({'editorId':_0x879aaf,'initialValue':_0x46684a,'container':_0x452e75,'preserveHostFocus':!0x0,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,n[_0x458c7d(0x310)])(()=>{const _0x2fd17c=_0x458c7d;if(!_0x41a5e8)return;let _0x422059=_0xbbef44[_0x2fd17c(0x1f8)](_0x879aaf);Pr(_0x422059),Fr(_0x422059);},[_0x41a5e8,_0x879aaf,_0xbbef44]);let _0x5a7d30=_0xbbef44['getRenderUnitById'](_0x879aaf),_0x45b3bf=_0x5a7d30==null?void 0x0:_0x5a7d30['with'](p[_0x458c7d(0x1a7)]),_0x454dbf=(0x0,s[_0x458c7d(0x474)])(_0x45b3bf==null?void 0x0:_0x45b3bf[_0x458c7d(0x3ae)]),_0x1d580f=Jr((_0x45b3bf==null?void 0x0:_0x45b3bf['isFocusing'])??!0x1,_0x454dbf==null?void 0x0:_0x454dbf[_0x458c7d(0x2b3)]),_0x23d15a=_0x2e93ab?((_0x465b76=_0x22793a[_0x458c7d(0x750)])==null?void 0x0:_0x465b76['call'](_0x22793a,_0x2e93ab))??!0x1:!0x1,_0x4740f0=(_0x53417b=_0x46684a[_0x458c7d(0x613)])==null||(_0x53417b=_0x53417b[_0x458c7d(0x2c3)])==null?void 0x0:_0x53417b['fs'];(0x0,p['useKeyboardEvent'])(_0x1d580f,(0x0,n[_0x458c7d(0x3b8)])(()=>Qr(_0x3732b6,_0x17a1cc=>{(0x0,p['executeEditorUndoRedoCommand'])({'commandId':_0x17a1cc,'commandService':_0x3732b6,'editorUnitId':_0x879aaf,'univerInstanceService':_0x380168});},{'commitOnEnter':_0x23d15a,'cancel':()=>{const _0xbbcff3=_0x458c7d;if(_0x5bff93[_0xbbcff3(0x284)]){_0x5bff93[_0xbbcff3(0x284)]();return;}_0x5bff93['setEditing'](null);},'commit':()=>{const _0x5d02cf=_0x458c7d;if(_0x5bff93['completeEditing']){_0x5bff93[_0x5d02cf(0x772)]();return;}_0x5bff93[_0x5d02cf(0x421)](null);},'currentFontSize':_0x4740f0}),[_0x3732b6,_0x23d15a,_0x4740f0,_0x5bff93,_0x879aaf,_0x380168]),_0x41a5e8),(0x0,p[_0x458c7d(0x20a)])(_0x1d580f,!0x1,_0x41a5e8),(0x0,n[_0x458c7d(0x310)])(()=>{const _0x15a45e=_0x458c7d;if(!(_0x2e93ab!=null&&_0x2e93ab[_0x15a45e(0x708)]))return;let _0x1e42eb=_0x590f35=>{const _0xf4d45b=_0x15a45e;if(_0x590f35[_0xf4d45b(0x4c8)]===0x0&&Zr(_0x590f35['target'],_0x6fcff[_0xf4d45b(0x1b2)])){if(_0x5bff93['completeEditing']){_0x5bff93[_0xf4d45b(0x772)](_0x590f35);return;}_0x5bff93[_0xf4d45b(0x421)](null);}};return document[_0x15a45e(0x6f6)](_0x15a45e(0x427),_0x1e42eb,!0x0),()=>{const _0xe012a6=_0x15a45e;document[_0xe012a6(0x771)](_0xe012a6(0x427),_0x1e42eb,!0x0);};},[_0x2e93ab==null?void 0x0:_0x2e93ab[_0x458c7d(0x708)],_0x5bff93]),(0x0,n[_0x458c7d(0x310)])(()=>{_0x2811c8['current']=_0x2e93ab?{'width':_0x471457/_0x3bafab,'height':_0x25331c/_0xbd1d38}:{'width':0x0,'height':0x0};},[_0x471457,_0x25331c,_0x3bafab,_0xbd1d38,_0x2e93ab]),(0x0,n[_0x458c7d(0x310)])(()=>{_0x5665b0['current']=null;},[_0x2e93ab==null?void 0x0:_0x2e93ab['unitId'],_0x2e93ab==null?void 0x0:_0x2e93ab[_0x458c7d(0x258)],_0x2e93ab==null?void 0x0:_0x2e93ab[_0x458c7d(0xd9)],_0x2e93ab==null?void 0x0:_0x2e93ab['shapeKey']]);let _0x247c8f=(0x0,n[_0x458c7d(0x51b)])(()=>{const _0x4ed5fa=_0x458c7d;let _0x308f67=_0x5665b0[_0x4ed5fa(0x1b2)];if(_0x308f67)return _0x5665b0['current']=null,_0x2811c8['current']={'width':_0x308f67[_0x4ed5fa(0x514)],'height':_0x308f67[_0x4ed5fa(0x1a8)]},_0x308f67;},[]),_0x3d09a5=(0x0,n[_0x458c7d(0x51b)])((_0x39deb3=!0x0,_0x121cd4=!0x1)=>{const _0x319ce8=_0x458c7d;var _0x39b6fb;if(!_0x41a5e8)return;let _0x291527=_0x41a5e8[_0x319ce8(0x5dc)]()[_0x319ce8(0x608)](_0x364db6=>_0x364db6[_0x319ce8(0x5e4)]),_0x2ac127=(((_0x39b6fb=_0x41a5e8[_0x319ce8(0x4b0)]()[_0x319ce8(0x7e5)])==null?void 0x0:_0x39b6fb['dataStream'][_0x319ce8(0x6e2)])??0x2)-0x2,_0x53592d=(_0x291527==null?void 0x0:_0x291527[_0x319ce8(0x194)])??(_0x39deb3?_0x2ac127:null);_0x53592d!==null&&_0x41a5e8[_0x319ce8(0x63c)]([{'startOffset':_0x53592d,'endOffset':_0x53592d}],_0x121cd4);},[_0x41a5e8]);_0x3f5cab[_0x458c7d(0x1b2)]=_0x3d09a5;let _0x2c9be7=(0x0,n[_0x458c7d(0x51b)])(()=>{const _0x414e65=_0x458c7d;_0x49cd0b['current']!==null&&(cancelAnimationFrame(_0x49cd0b[_0x414e65(0x1b2)]),_0x49cd0b[_0x414e65(0x1b2)]=null),_0x49cd0b[_0x414e65(0x1b2)]=requestAnimationFrame(()=>{const _0xf5436b=_0x414e65;_0x49cd0b[_0xf5436b(0x1b2)]=null,_0x3f5cab[_0xf5436b(0x1b2)](!0x0,!0x0);});},[]),_0x33e959=(0x0,n[_0x458c7d(0x51b)])(()=>{const _0xb73974=_0x458c7d;_0x1623ec[_0xb73974(0x1b2)]!==null&&(cancelAnimationFrame(_0x1623ec[_0xb73974(0x1b2)]),_0x1623ec[_0xb73974(0x1b2)]=null),_0x397c03[_0xb73974(0x1b2)]!==null&&(window[_0xb73974(0x1c9)](_0x397c03[_0xb73974(0x1b2)]),_0x397c03[_0xb73974(0x1b2)]=null);},[]),_0x8fe139=(0x0,n[_0x458c7d(0x51b)])(()=>{const _0x50811d=_0x458c7d;var _0x5605ad,_0xf709bc;if(!_0x41a5e8)return;let _0x1d23d6=_0xbbef44['getRenderUnitById'](_0x879aaf);Fr(_0x1d23d6);let _0x5e5e35=_0x1d23d6==null?void 0x0:_0x1d23d6[_0x50811d(0x784)](f[_0x50811d(0x4bb)]);if(!_0x5e5e35)return;let _0x4306c5=_0x5e5e35[_0x50811d(0x2fa)](),_0x344528=_0x418fc0(),{renderScaleX:_0x5ae54e,renderScaleY:_0x63a38a,scaleAdjust:_0x234a7d}=_0x111ecd(),_0x58299c=_0x158e84(),_0x52761b=(_0x58299c==null?void 0x0:_0x58299c[_0x50811d(0x1d3)])??o[_0x50811d(0x60a)][_0x50811d(0x463)],_0x2d9408=(_0x58299c==null?void 0x0:_0x58299c[_0x50811d(0x15f)])??o[_0x50811d(0x75f)][_0x50811d(0x3ca)],_0x4e1408=(_0x58299c==null?void 0x0:_0x58299c[_0x50811d(0x2f8)])??o['WrapStrategy']['WRAP'],_0x546436=(_0x58299c==null?void 0x0:_0x58299c['autoFitNoWrap'])??!0x1,_0x515de7=_0x1bd5f1()??{'left':0x0,'top':0x0,'width':_0x471457/_0x3bafab,'height':_0x25331c/_0xbd1d38},_0x4665ef=Fe({'shapeText':_0x58299c==null?void 0x0:_0x58299c[_0x50811d(0x668)]}),_0x2557db=_0x344528==null?void 0x0:_0x344528['getSnapshot'](),_0xe45afc=Ur(_0x2557db),_0xf332a4=_0x4665ef==='width'?_0x515de7[_0x50811d(0x514)]:_0x515de7[_0x50811d(0x1a8)],_0x544077=_0x546436?yr(_0x2557db)+0x2:_0xf332a4,_0x5e5ab3=vr({'autoFitNoWrap':_0x546436,'maxAutoFitWidth':_0x544077,'textRectWidth':_0xf332a4}),_0x3153ba=!0x1;if(_0x344528){var _0x1571d5;_0x3153ba=tr((_0x1571d5=_0x344528[_0x50811d(0x52f)]()[_0x50811d(0x613)])==null||(_0x1571d5=_0x1571d5[_0x50811d(0x6a6)])==null?void 0x0:_0x1571d5[_0x50811d(0xf4)]),_0x344528[_0x50811d(0x3a2)](Math[_0x50811d(0x292)](_0x5ae54e,_0x63a38a)),_0x344528[_0x50811d(0x6e8)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x5e5ab3,'height':0x1/0x0}}),_0x344528['updateDocumentRenderConfig']({'verticalAlign':Dr({'opticalVerticalAlign':_0x3153ba,'verticalAlign':_0x52761b}),'horizontalAlign':_0x2d9408,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x4e1408}),_0x344528['updateDocumentDataMargin']({'t':0x0});}(_0x5605ad=_0x4306c5['resetInitialWidth'])==null||_0x5605ad[_0x50811d(0x4cb)](_0x4306c5),_0x4306c5[_0x50811d(0x216)]();let {actualWidth:_0x1e4800,actualHeight:_0xd8b796}=_0x4306c5[_0x50811d(0x2ba)](),_0x36dc9a=dr(_0x1d23d6==null||(_0xf709bc=_0x1d23d6[_0x50811d(0x784)](p[_0x50811d(0x1a7)]))==null?void 0x0:_0xf709bc[_0x50811d(0x5e5)]()),_0x50802a=ur(cr(_0x4306c5,_0xd8b796),_0x36dc9a),_0x9c68a9=_0x3153ba?lr(_0x4306c5,_0x515de7['height'],_0x52761b):void 0x0,_0x557572=br({'actualWidth':_0x1e4800,'autoFitNoWrap':_0x546436,'measuredContentWidth':_0x544077,'textRectWidth':_0xf332a4}),_0x43f3d4=Tr({'adapter':_0x22793a,'editingParams':_0x2e93ab}),_0x5644de=jr({'flowAxis':_0x4665ef,'flowAxisLength':xr({'actualWidth':_0x1e4800,'allowShrink':_0x43f3d4,'autoFitNoWrap':_0x546436,'measuredContentWidth':_0x544077,'renderedContentWidth':_0x557572}),'crossAxisLength':_0x50802a}),_0x5d8ac2=Or({'actualHeight':_0x50802a,'contentWidth':_0x557572,'opticalVerticalOffset':_0x9c68a9,'scaleX':_0x3bafab,'scaleY':_0xbd1d38,'textRect':_0x515de7,'verticalAlign':_0x52761b}),_0x38e55a=_0x471457/_0x3bafab,_0x615fd6=_0x25331c/_0xbd1d38,_0x1ad744=Ar({'hostWidth':_0x38e55a,'hostHeight':_0x615fd6,'textRect':_0x515de7,'contentWidth':_0x5644de[_0x50811d(0x514)],'contentHeight':_0x5644de['height'],'allowShrink':_0x43f3d4}),_0x243b25=_0x58299c!=null&&_0x58299c[_0x50811d(0x2a0)]&&_0xe45afc?gr({'isHorizontal':_0x58299c[_0x50811d(0x223)],'placeholderWidth':_r(_0x2557db??_0x46684a,_0x1d07df)}):null,_0x1bc85f=Math[_0x50811d(0x264)](Math['max'](_0x1ad744[_0x50811d(0x514)],(_0x243b25==null?void 0x0:_0x243b25[_0x50811d(0x514)])??0x0)),_0x130711=Math['ceil'](Math[_0x50811d(0x292)](_0x1ad744[_0x50811d(0x1a8)],(_0x243b25==null?void 0x0:_0x243b25['height'])??0x0)),_0x1ca45d=_0x2811c8['current'],_0x51e692=wr({'nextWidth':_0x1bc85f,'nextHeight':_0x130711,'baselineWidth':_0x38e55a,'baselineHeight':_0x615fd6}),_0x419719=wr({'nextWidth':_0x1bc85f,'nextHeight':_0x130711,'baselineWidth':_0x1ca45d['width'],'baselineHeight':_0x1ca45d[_0x50811d(0x1a8)]}),_0x1b3147=_0x2e93ab&&_0x22793a[_0x50811d(0x697)]&&_0x51e692&&_0x419719,_0x2987da=Er({'adapter':_0x22793a,'editingParams':_0x2e93ab}),_0x50ef75=wr({'nextWidth':_0x38e55a,'nextHeight':_0x130711,'baselineWidth':_0x38e55a,'baselineHeight':_0x615fd6}),_0x5042be=wr({'nextWidth':_0x38e55a,'nextHeight':_0x130711,'baselineWidth':_0x38e55a,'baselineHeight':_0x1ca45d['height']}),_0x1b7ad3=_0x2e93ab&&_0x22793a['updateHostHeight']&&_0x130711>_0x615fd6&&_0x130711>_0x1ca45d[_0x50811d(0x1a8)]&&_0x50ef75&&_0x5042be,_0x2c5147=Cr({'autoFitNoWrap':_0x546436,'editorWidth':_0x5d8ac2[_0x50811d(0xdb)],'measurePageWidth':_0x5e5ab3,'renderedContentWidth':_0x557572,'scaleX':_0x3bafab});if(_0x389482({'documentMarginTop':_0x5d8ac2['documentMarginTop']*_0xbd1d38,'editorLeft':_0x5d8ac2[_0x50811d(0x3d6)],'editorTop':_0x5d8ac2['editorTop'],'editorWidth':_0x5d8ac2[_0x50811d(0xdb)],'editorHeight':_0x5d8ac2[_0x50811d(0x5d2)],'editorSurfaceWidth':_0x2c5147}),_0x344528){let _0x40e70a=Sr({'autoFitNoWrap':_0x546436,'measurePageWidth':_0x5e5ab3,'renderedContentWidth':_0x557572,'textRectWidth':_0xf332a4});_0x344528['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x40e70a,'height':_0x5d8ac2[_0x50811d(0x19c)]}}),_0x344528[_0x50811d(0x279)]({'t':_0x5d8ac2['documentMarginTop']}),_0x4306c5[_0x50811d(0x216)]();}if(_0x1d23d6){let _0x35018e=_0x5d8ac2[_0x50811d(0x5d2)];_0x1d23d6[_0x50811d(0x390)][_0x50811d(0x28d)]({'width':_0x2c5147*_0x234a7d/_0x5ae54e,'height':_0x35018e*_0x234a7d/_0x63a38a,'scaleX':_0x5ae54e*_0x234a7d,'scaleY':_0x63a38a*_0x234a7d}),_0x1d23d6['mainComponent']&&_0x1d23d6['mainComponent'][_0x50811d(0x26b)](_0x2c5147*_0x234a7d/_0x5ae54e,_0x35018e*_0x234a7d/_0x63a38a),Ir(_0x1d23d6);}if(_0x2987da&&_0x2e93ab&&_0x22793a[_0x50811d(0x697)]){var _0x1f7dd4;let _0x829645={'unitId':_0x2e93ab[_0x50811d(0xc9)],'subUnitId':_0x2e93ab['subUnitId'],'shapeId':_0x2e93ab['shapeId'],'width':_0x1bc85f,'height':_0x130711};_0x5665b0[_0x50811d(0x1b2)]=_0x829645,(_0x1f7dd4=_0x22793a[_0x50811d(0x4a7)])==null||_0x1f7dd4[_0x50811d(0x4cb)](_0x22793a,_0x829645);}if(_0x1b3147&&_0x2e93ab&&_0x22793a['updateHostSize']){if(_0x2987da)return;_0x5665b0[_0x50811d(0x1b2)]=null,_0x2811c8[_0x50811d(0x1b2)]={'width':_0x1bc85f,'height':_0x130711},_0x22793a[_0x50811d(0x697)]({'unitId':_0x2e93ab[_0x50811d(0xc9)],'subUnitId':_0x2e93ab[_0x50811d(0x258)],'shapeId':_0x2e93ab['shapeId'],'width':_0x1bc85f,'height':_0x130711}),_0x2c9be7();}else{if(_0x1b7ad3&&_0x2e93ab&&_0x22793a[_0x50811d(0x619)]){if(_0x2987da)return;_0x5665b0[_0x50811d(0x1b2)]=null,_0x2811c8[_0x50811d(0x1b2)]={'width':_0x38e55a,'height':_0x130711},_0x22793a['updateHostHeight']({'unitId':_0x2e93ab[_0x50811d(0xc9)],'subUnitId':_0x2e93ab[_0x50811d(0x258)],'shapeId':_0x2e93ab[_0x50811d(0xd9)],'height':_0x130711}),_0x2c9be7();}}},[_0x41a5e8,_0x22793a,_0x2e93ab,_0xbbef44,_0x418fc0,_0x111ecd,_0x158e84,_0x1bd5f1,_0x471457,_0x25331c,_0x3bafab,_0xbd1d38,_0x879aaf,_0x46684a,_0x1d07df,_0x2c9be7,_0x389482]);_0x53ee56[_0x458c7d(0x1b2)]=_0x8fe139;let _0x40f8fb=(0x0,n[_0x458c7d(0x51b)])((_0x57603c=!0x1)=>{const _0x567fdd=_0x458c7d;_0x33e959(),_0x1623ec[_0x567fdd(0x1b2)]=requestAnimationFrame(()=>{_0x8fe139(),_0x57603c&&_0x3d09a5(!0x1),_0x1623ec['current']=null,_0x397c03['current']=window['setTimeout'](()=>{_0x8fe139(),_0x57603c&&_0x3d09a5(!0x1),_0x397c03['current']=null;},0x14);});},[_0x8fe139,_0x33e959,_0x3d09a5]);_0x279b53['current']=_0x40f8fb,(0x0,n[_0x458c7d(0x310)])(()=>{const _0x26d34b=_0x458c7d;if(!(_0x2e93ab!=null&&_0x2e93ab['visible'])||!_0x41a5e8)return;let _0xd6d5e=!0x1,_0x5051a0=_0x29ce94[_0x26d34b(0x65f)]['subscribe'](_0x47f47f=>{const _0x16feb6=_0x26d34b;if(!_0xd6d5e){_0xd6d5e=!0x0;return;}!_0x47f47f||_0x47f47f[_0x16feb6(0xc9)]!==_0x879aaf||_0x47f47f[_0x16feb6(0x5f8)]||(_0x2aaae3(Ur(Zt(_0x41a5e8))),_0x279b53[_0x16feb6(0x1b2)](!0x1));});return()=>{const _0x234f9d=_0x26d34b;_0x5051a0[_0x234f9d(0x5ae)]();};},[_0x29ce94,_0x41a5e8,_0x879aaf,_0x2e93ab==null?void 0x0:_0x2e93ab[_0x458c7d(0xd9)],_0x2e93ab==null?void 0x0:_0x2e93ab[_0x458c7d(0x426)],_0x2e93ab==null?void 0x0:_0x2e93ab['subUnitId'],_0x2e93ab==null?void 0x0:_0x2e93ab['unitId'],_0x2e93ab==null?void 0x0:_0x2e93ab[_0x458c7d(0x708)]]);let _0x515ab3=(0x0,n[_0x458c7d(0x51b)])(()=>{const _0xa560d0=_0x458c7d;_0x33e959(),_0x53ee56[_0xa560d0(0x1b2)]();},[_0x33e959]),_0x5de68a=(0x0,n['useCallback'])(_0x3e687f=>{const _0x2e38b1=_0x458c7d;var _0x6c79c4,_0x4ae6bf,_0x2320ad;if(!_0x41a5e8)return!0x1;let _0x3e281a=_0x158e84(),_0x318cbe=Zt(_0x41a5e8);if(!_0x318cbe)return!0x1;let _0x258ea6=(_0x3e281a==null?void 0x0:_0x3e281a['verticalAlign'])??((_0x6c79c4=_0x7243f2['current'])==null?void 0x0:_0x6c79c4['va'])??o['VerticalAlign'][_0x2e38b1(0x463)],{horizontalAlign:_0x1e5414,verticalAlign:_0x3bc334}=It(_0x318cbe,{'verticalAlign':_0x258ea6,'horizontalAlign':(_0x3e281a==null?void 0x0:_0x3e281a['horizontalAlign'])??((_0x4ae6bf=_0x7243f2[_0x2e38b1(0x1b2)])==null?void 0x0:_0x4ae6bf['ha'])??o[_0x2e38b1(0x75f)][_0x2e38b1(0x3ca)]}),_0x8eea26=tr((_0x2320ad=_0x318cbe[_0x2e38b1(0x613)])==null||(_0x2320ad=_0x2320ad[_0x2e38b1(0x6a6)])==null?void 0x0:_0x2320ad[_0x2e38b1(0xf4)])?_0x258ea6:_0x3bc334,_0x5b9b44={'va':_0x8eea26,'ha':_0x1e5414,'doc':Wt(_0x318cbe,{'bodyBehavior':_0x3e281a==null?void 0x0:_0x3e281a[_0x2e38b1(0x6bb)],'verticalAlign':_0x8eea26,'horizontalAlign':_0x1e5414})};_0x515ab3();let _0x46e9c8=_0x247c8f();return _0x22793a[_0x2e38b1(0x66b)]({'unitId':_0x3e687f[_0x2e38b1(0xc9)],'subUnitId':_0x3e687f[_0x2e38b1(0x258)],'shapeId':_0x3e687f[_0x2e38b1(0xd9)],'shapeText':qt({'shapeText':_0x3e281a==null?void 0x0:_0x3e281a[_0x2e38b1(0x668)],'isHorizontal':_0x3e281a==null?void 0x0:_0x3e281a[_0x2e38b1(0x223)],'dataModel':_0x5b9b44}),'oldShapeText':qt({'shapeText':_0x3e281a==null?void 0x0:_0x3e281a['shapeText'],'isHorizontal':_0x3e281a==null?void 0x0:_0x3e281a['isHorizontal'],'dataModel':_0x7243f2[_0x2e38b1(0x1b2)]??void 0x0}),..._0x46e9c8?{'hostSize':_0x46e9c8}:null}),!0x0;},[_0x22793a,_0x41a5e8,_0x158e84,_0x515ab3,_0x247c8f]);(0x0,n[_0x458c7d(0x310)])(()=>{const _0x2da2ff=_0x458c7d;if(!_0x41a5e8||!_0x2e93ab)return;if(_0x276912){_0x5de68a(_0x2e93ab)&&_0x5bff93['setEditing'](null);return;}let _0xec5864=_0x158e84();if(_0xec5864!=null&&_0xec5864[_0x2da2ff(0x527)]){_0x7243f2[_0x2da2ff(0x1b2)]={'va':_0xec5864[_0x2da2ff(0x1d3)],'ha':_0xec5864[_0x2da2ff(0x15f)],'doc':Gt(_0xec5864[_0x2da2ff(0x527)])};let _0x6a643=Ht(_0xec5864[_0x2da2ff(0x527)],{'bodyBehavior':_0xec5864[_0x2da2ff(0x6bb)],'isHorizontal':_0xec5864[_0x2da2ff(0x223)],'textRect':_0xec5864[_0x2da2ff(0x7bb)],'verticalAlign':_0xec5864['verticalAlign'],'horizontalAlign':_0xec5864[_0x2da2ff(0x15f)],'wrapStrategy':_0xec5864[_0x2da2ff(0x2f8)]});return Xt(_0x41a5e8,_0x6a643,null),queueMicrotask(()=>_0x2aaae3(Ur(_0x6a643))),()=>{const _0x2ed806=_0x2da2ff;_0x274ae7[_0x2ed806(0x1b2)]||_0x5de68a(_0x2e93ab);};}else Xt(_0x41a5e8,_0x46684a,null),queueMicrotask(()=>_0x2aaae3(Ur(_0x46684a)));},[_0x5de68a,_0x41a5e8,_0x2e93ab,_0x5bff93,_0x158e84,_0x46684a,_0x276912]);let _0x30ed74=Xr({'editorUnitId':_0x879aaf,'editingParams':_0x2e93ab});(0x0,n['useEffect'])(()=>{const _0x19334a=_0x458c7d;if(!(!_0x41a5e8||!_0x30ed74||!(_0x2e93ab!=null&&_0x2e93ab[_0x19334a(0x708)])))return _0x5e4502['blur'](!0x0),_0x53ee56[_0x19334a(0x1b2)](),_0x60a9bf['current']=requestAnimationFrame(()=>{const _0x5a67e5=_0x19334a;_0x5e4502['focus'](_0x879aaf),_0x3f5cab['current'](!0x0,!0x0),_0x41a5e8[_0x5a67e5(0x1b4)](),_0x279b53[_0x5a67e5(0x1b2)](),_0x60a9bf[_0x5a67e5(0x1b2)]=null;}),()=>{const _0x5e3cfd=_0x19334a;_0x60a9bf[_0x5e3cfd(0x1b2)]!==null&&(cancelAnimationFrame(_0x60a9bf[_0x5e3cfd(0x1b2)]),_0x60a9bf[_0x5e3cfd(0x1b2)]=null),_0x49cd0b[_0x5e3cfd(0x1b2)]!==null&&(cancelAnimationFrame(_0x49cd0b[_0x5e3cfd(0x1b2)]),_0x49cd0b[_0x5e3cfd(0x1b2)]=null),_0x33e959(),_0x5e4502['blur'](!0x0);};},[_0x41a5e8,_0x5e4502,_0x879aaf,_0x30ed74,_0x2e93ab==null?void 0x0:_0x2e93ab[_0x458c7d(0x708)],_0x33e959]),(0x0,n[_0x458c7d(0x310)])(()=>{const _0x591bd0=_0x458c7d;if(!_0x41a5e8)return;let _0x59f7cd=_0x3732b6[_0x591bd0(0x2a7)](_0x79356e=>{const _0x5b1602=_0x591bd0;_0x79356e['id']===f[_0x5b1602(0x338)]['id']&&_0x79356e['params'][_0x5b1602(0xc9)]===_0x879aaf&&_0x2e93ab&&(_0x2e93ab['visible']?(_0x8fe139(),_0x40f8fb()):_0x5bff93['setEditing']({..._0x2e93ab,'visible':!0x0})),_0x4188e9&&_0x79356e['id']===_0x4188e9&&_0x40f8fb(!0x0);});return()=>{const _0x4a0684=_0x591bd0;_0x59f7cd[_0x4a0684(0x6a5)]();};},[_0x8fe139,_0x3732b6,_0x2e93ab,_0x5bff93,_0x41a5e8,_0x879aaf,_0x40f8fb,_0x4188e9]),(0x0,n[_0x458c7d(0x310)])(()=>(_0x40f8fb(),()=>{_0x33e959();}),[_0x40f8fb,_0x33e959]);let _0x52c8f1=_0x158e84();return(0x0,r[_0x458c7d(0x6c7)])($r,{'containerRef':_0x6fcff,'editingContentStyle':_0x2e93ab?(_0x4b9a17=_0x22793a['getEditingContentStyle'])==null?void 0x0:_0x4b9a17[_0x458c7d(0x4cb)](_0x22793a,_0x2e93ab):void 0x0,'editorContainerRef':_0x452e75,'editorUnitId':_0x879aaf,'fontSize':_0x4740f0??0xe,'horizontalAlign':(_0x52c8f1==null?void 0x0:_0x52c8f1[_0x458c7d(0x15f)])??o[_0x458c7d(0x75f)][_0x458c7d(0x3ca)],'layout':_0x26c8d5,'placeholder':_0x1d07df,'showPlaceholder':!!(_0x2e93ab!=null&&_0x2e93ab[_0x458c7d(0x708)]&&_0x1c7dc8),'transform':(_0x52c8f1==null?void 0x0:_0x52c8f1[_0x458c7d(0x566)])??{'angle':0x0,'flipX':!0x1,'flipY':!0x1}});};function ti(_0x46dc58,_0x233437){const _0x27d31c=_0xdb1731;return Math[_0x27d31c(0x2e2)](_0x46dc58-_0x233437)<=0.001;}function ni(_0x4dd022,_0x1c4528){const _0x145d5c=_0xdb1731;return ti(_0x4dd022[_0x145d5c(0x7af)],_0x1c4528[_0x145d5c(0x7af)])&&ti(_0x4dd022[_0x145d5c(0x606)],_0x1c4528['top'])&&ti(_0x4dd022['width'],_0x1c4528[_0x145d5c(0x514)])&&ti(_0x4dd022[_0x145d5c(0x1a8)],_0x1c4528[_0x145d5c(0x1a8)])&&ti(_0x4dd022[_0x145d5c(0x30e)],_0x1c4528['angle'])&&ti(_0x4dd022[_0x145d5c(0x2f7)],_0x1c4528[_0x145d5c(0x2f7)])&&ti(_0x4dd022['scaleY'],_0x1c4528[_0x145d5c(0x135)]);}function ri(_0x2c26bd,_0x32607f){const _0x5a46e3=_0xdb1731;return _0x32607f?{..._0x2c26bd,'left':_0x2c26bd[_0x5a46e3(0x7af)]+_0x32607f['left'],'top':_0x2c26bd[_0x5a46e3(0x606)]+_0x32607f[_0x5a46e3(0x606)]}:_0x2c26bd;}const ii={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function ai(_0x5b1de4,_0x558058,_0x328c6e,_0x4b1ae1,_0x1c32e6){const _0x5da6a6=_0xdb1731;let {scaleX:_0x22efe5,scaleY:_0xd7c307}=_0x328c6e[_0x5da6a6(0x58d)](),{startColumn:_0x3852f3,startRow:_0x131635,xSplit:_0x55e440,ySplit:_0x1a1571}=_0x4b1ae1[_0x5da6a6(0xf6)][_0x5da6a6(0x48d)](),_0x14cdb3=_0x328c6e[_0x5da6a6(0x64d)](_0x1c32e6['main']),_0x58eb3b=_0x328c6e[_0x5da6a6(0x64d)](_0x1c32e6[_0x5da6a6(0x694)]),_0x11ba36=_0x328c6e['getViewport'](_0x1c32e6['top']),_0x17cd53=_0x328c6e[_0x5da6a6(0x64d)](_0x1c32e6['left']),{rowHeaderWidth:_0x3043a8,columnHeaderHeight:_0x30f96a}=_0x4b1ae1,_0x1b5fe7=_0x4b1ae1[_0x5da6a6(0x36a)](_0x131635)+_0x30f96a,_0x530c08=_0x4b1ae1[_0x5da6a6(0x352)](_0x3852f3)+_0x3043a8,_0x5e05d0=_0x4b1ae1[_0x5da6a6(0x36a)](_0x131635-_0x1a1571)+_0x30f96a,_0x5cacf1=_0x4b1ae1['colStartX'](_0x3852f3-_0x55e440)+_0x3043a8,_0x2ffed8=[],_0x2d09e8=(_0x26259d,_0x22594d,_0x40aefb)=>{if(!_0x26259d)return null;let {viewportScrollX:_0x3f55c5,viewportScrollY:_0x7e1516}=_0x26259d,_0x167f25,_0x88a44d;return _0x167f25=_0x22594d?(_0x5b1de4-(_0x5cacf1-_0x3043a8))*_0x22efe5:(_0x5b1de4-_0x3f55c5)*_0x22efe5,_0x88a44d=_0x40aefb?(_0x558058-(_0x5e05d0-_0x30f96a))*_0xd7c307:(_0x558058-_0x7e1516)*_0xd7c307,{'domX':_0x167f25,'domY':_0x88a44d};},_0x4bdaa6=_0x5b1de4<_0x530c08&&_0x55e440>0x0,_0x3518f6=_0x558058<_0x1b5fe7&&_0x1a1571>0x0,_0x2eab20=_0x5b1de4>=_0x530c08||_0x55e440===0x0,_0x2d3fe3=_0x558058>=_0x1b5fe7||_0x1a1571===0x0;if(_0x4bdaa6&&_0x3518f6&&_0x58eb3b){let _0x3b1977=_0x2d09e8(_0x58eb3b,!0x0,!0x0);_0x3b1977&&_0x2ffed8[_0x5da6a6(0x37a)](_0x3b1977);}if(_0x3518f6&&_0x2eab20&&_0x11ba36){let _0x254b4a=_0x2d09e8(_0x11ba36,!0x1,!0x0);_0x254b4a&&_0x2ffed8[_0x5da6a6(0x37a)](_0x254b4a);}if(_0x4bdaa6&&_0x2d3fe3&&_0x17cd53){let _0x3830e2=_0x2d09e8(_0x17cd53,!0x0,!0x1);_0x3830e2&&_0x2ffed8[_0x5da6a6(0x37a)](_0x3830e2);}if(_0x2eab20&&_0x2d3fe3&&_0x14cdb3){let _0x17d0cd=_0x2d09e8(_0x14cdb3,!0x1,!0x1);_0x17d0cd&&_0x2ffed8[_0x5da6a6(0x37a)](_0x17d0cd);}if(_0x2ffed8[_0x5da6a6(0x6e2)]===0x0)return{'domX':(_0x5b1de4-((_0x14cdb3==null?void 0x0:_0x14cdb3[_0x5da6a6(0x25f)])??0x0))*_0x22efe5,'domY':(_0x558058-((_0x14cdb3==null?void 0x0:_0x14cdb3[_0x5da6a6(0x106)])??0x0))*_0xd7c307};let _0x3edf42=_0x2ffed8[0x0]['domX'],_0x59591a=_0x2ffed8[0x0][_0x5da6a6(0x2d4)];for(let _0x5afada of _0x2ffed8)_0x5afada['domX']>_0x3edf42&&(_0x3edf42=_0x5afada[_0x5da6a6(0x574)]),_0x5afada['domY']>_0x59591a&&(_0x59591a=_0x5afada[_0x5da6a6(0x2d4)]);return{'domX':_0x3edf42,'domY':_0x59591a};}function oi(_0x449b41,_0x205d0e,_0x72d2be,_0x5d896d,_0x4f0dcb,_0x4ae08f,_0x23fffb,_0x15bcbb){const _0x2e25ff=_0xdb1731;let {scaleX:_0x24052d,scaleY:_0x21970c}=_0x4ae08f[_0x2e25ff(0x58d)]();if(!_0x15bcbb||!_0x23fffb['leftTop']||!_0x23fffb[_0x2e25ff(0x606)]||!_0x23fffb['left']){let _0x14b43b=_0x4ae08f[_0x2e25ff(0x64d)](_0x23fffb[_0x2e25ff(0x5fb)]),_0x58c3b4=(_0x14b43b==null?void 0x0:_0x14b43b[_0x2e25ff(0x25f)])??0x0,_0x41fdb9=(_0x14b43b==null?void 0x0:_0x14b43b[_0x2e25ff(0x106)])??0x0;return{'left':(_0x449b41-_0x58c3b4)*_0x24052d,'top':(_0x205d0e-_0x41fdb9)*_0x21970c,'width':_0x72d2be*_0x24052d,'height':_0x5d896d*_0x21970c,'angle':_0x4f0dcb,'scaleX':_0x24052d,'scaleY':_0x21970c};}let {domX:_0x5864f5,domY:_0x365dfb}=ai(_0x449b41,_0x205d0e,_0x4ae08f,_0x15bcbb,_0x23fffb);return{'left':_0x5864f5,'top':_0x365dfb,'width':_0x72d2be*_0x24052d,'height':_0x5d896d*_0x21970c,'angle':_0x4f0dcb,'scaleX':_0x24052d,'scaleY':_0x21970c};}function si(_0x5451f1){const _0x39340d=_0xdb1731;let {editingParams:_0xdca809,scene:_0x3c259a,skeleton:_0x585a99,viewportKeys:_0x41dcc7,getShapeTransform:_0x222bab,getPositionOffset:_0x52cb45}=_0x5451f1,[_0x567e10,_0x9779ee]=(0x0,n[_0x39340d(0x48e)])(ii),_0x3dae15=(0x0,n[_0x39340d(0x5d5)])(_0x567e10);_0x3dae15[_0x39340d(0x1b2)]=_0x567e10;let _0x237d1d=(0x0,n[_0x39340d(0x51b)])(()=>{const _0x4fca27=_0x39340d;if(!_0xdca809||!_0x3c259a){ni(_0x3dae15['current'],ii)||_0x9779ee(ii);return;}let _0x9ce6dc=_0x222bab();if(!_0x9ce6dc){ni(_0x3dae15[_0x4fca27(0x1b2)],ii)||_0x9779ee(ii);return;}let {left:_0x5ea043,top:_0xe3b898,width:_0x3b1f14,height:_0x34bb4b,angle:_0x5f1c57}=_0x9ce6dc;if(!_0xdca809[_0x4fca27(0x708)]){let {scaleX:_0x58bbe6,scaleY:_0x87cafd}=_0x3c259a[_0x4fca27(0x58d)](),_0x2e7de0={'left':-0x270f,'top':-0x270f,'width':_0x3b1f14*_0x58bbe6,'height':_0x34bb4b*_0x87cafd,'angle':0x0,'scaleX':_0x58bbe6,'scaleY':_0x87cafd};_0x9779ee(_0x455c1d=>ni(_0x455c1d,_0x2e7de0)?_0x455c1d:_0x2e7de0);return;}let _0x389d1d=ri(oi(_0x5ea043,_0xe3b898,_0x3b1f14,_0x34bb4b,_0x5f1c57,_0x3c259a,_0x41dcc7,_0x585a99),(_0x52cb45==null?void 0x0:_0x52cb45())??null);_0x9779ee(_0x4cdb22=>ni(_0x4cdb22,_0x389d1d)?_0x4cdb22:_0x389d1d);},[_0xdca809,_0x3c259a,_0x585a99,_0x41dcc7,_0x222bab,_0x52cb45]);return(0x0,n[_0x39340d(0x310)])(()=>{_0x237d1d();},[_0xdca809,_0x237d1d]),{'position':_0x567e10,'updatePosition':_0x237d1d};}function ci(_0x3c38b6,_0x34d775){const _0x14390a=_0xdb1731;return!!(_0x3c38b6!=null&&_0x3c38b6['visible'])&&(_0x34d775[_0x14390a(0x7af)]!==-0x270f||_0x34d775['top']!==-0x270f);}function li(_0x25c1ad){const _0x170c1e=_0xdb1731;if(!_0x25c1ad||typeof _0x25c1ad!=_0x170c1e(0x4fa))return!0x1;let _0x3d5bd0=_0x25c1ad;return typeof _0x3d5bd0['left']==_0x170c1e(0x1cb)&&typeof _0x3d5bd0[_0x170c1e(0x606)]==_0x170c1e(0x1cb)&&typeof _0x3d5bd0[_0x170c1e(0x514)]==_0x170c1e(0x1cb)&&typeof _0x3d5bd0[_0x170c1e(0x1a8)]==_0x170c1e(0x1cb);}function ui(_0x3db8b0,_0x47a763){const _0x2562a4=_0xdb1731;var _0x1c1cb9;let _0x4949c9=_0x3db8b0['getObject'](_0x47a763)??((_0x1c1cb9=_0x3db8b0[_0x2562a4(0x360)])==null?void 0x0:_0x1c1cb9[_0x2562a4(0x4cb)](_0x3db8b0,_0x47a763));return li(_0x4949c9)?_0x4949c9:null;}function di(_0x5f58bb,_0x3ae8e6){const _0x3843d6=_0xdb1731;return _0x5f58bb[_0x3843d6(0x39d)]>=_0x3ae8e6[_0x3843d6(0x7af)]&&_0x5f58bb[_0x3843d6(0x39d)]<=_0x3ae8e6[_0x3843d6(0x78c)]&&_0x5f58bb[_0x3843d6(0x5c1)]>=_0x3ae8e6[_0x3843d6(0x606)]&&_0x5f58bb[_0x3843d6(0x5c1)]<=_0x3ae8e6[_0x3843d6(0x3f5)];}function fi(_0x55468e,_0x18bc64){const _0x121ac3=_0xdb1731;if(!(_0x55468e instanceof Node))return!0x1;let _0x986d96=_0x18bc64==null?void 0x0:_0x18bc64['querySelector'](_0x121ac3(0x61a));return!!(_0x986d96!=null&&_0x986d96[_0x121ac3(0x47f)](_0x55468e));}function pi(_0x268671){const _0x4600d4=_0xdb1731;let _0x1ec7bc=_0x268671[_0x4600d4(0x3e7)],_0x9ad54={'bubbles':!0x0,'cancelable':!0x0,'composed':!0x0,'view':window,'detail':_0x1ec7bc[_0x4600d4(0x4d4)],'screenX':_0x1ec7bc['screenX'],'screenY':_0x1ec7bc[_0x4600d4(0x702)],'clientX':_0x1ec7bc[_0x4600d4(0x39d)],'clientY':_0x1ec7bc[_0x4600d4(0x5c1)],'ctrlKey':_0x1ec7bc[_0x4600d4(0x176)],'shiftKey':_0x1ec7bc[_0x4600d4(0x34a)],'altKey':_0x1ec7bc[_0x4600d4(0x7ce)],'metaKey':_0x1ec7bc[_0x4600d4(0x152)],'button':_0x1ec7bc[_0x4600d4(0x4c8)],'buttons':_0x1ec7bc[_0x4600d4(0x33a)],'relatedTarget':_0x1ec7bc[_0x4600d4(0x1f3)]};return typeof PointerEvent<'u'&&_0x1ec7bc instanceof PointerEvent?new PointerEvent(_0x1ec7bc[_0x4600d4(0x5dd)],{..._0x9ad54,'pointerId':_0x1ec7bc['pointerId'],'width':_0x1ec7bc[_0x4600d4(0x514)],'height':_0x1ec7bc[_0x4600d4(0x1a8)],'pressure':_0x1ec7bc[_0x4600d4(0x4a9)],'tangentialPressure':_0x1ec7bc[_0x4600d4(0x118)],'tiltX':_0x1ec7bc[_0x4600d4(0x720)],'tiltY':_0x1ec7bc[_0x4600d4(0x3a5)],'twist':_0x1ec7bc['twist'],'pointerType':_0x1ec7bc['pointerType'],'isPrimary':_0x1ec7bc['isPrimary']}):new MouseEvent(_0x1ec7bc[_0x4600d4(0x5dd)],_0x9ad54);}function mi(_0x180744){const _0x40a003=_0xdb1731;let _0x5cdda6=_0x180744[_0x40a003(0x141)][_0x40a003(0x68c)],_0x4ee55c=!0x1,_0x1db72e=null,_0x1cdc96=()=>{const _0x105945=_0x40a003;_0x4ee55c||(_0x4ee55c=!0x0,_0x180744[_0x105945(0x141)][_0x105945(0x68c)]=_0x5cdda6,document[_0x105945(0x771)](_0x105945(0xd1),_0x1cdc96,!0x0),document[_0x105945(0x771)]('pointercancel',_0x1cdc96,!0x0),document[_0x105945(0x771)](_0x105945(0x5bd),_0x1cdc96,!0x0),document[_0x105945(0x771)]('click',_0x1cdc96,!0x0),_0x1db72e!==null&&window[_0x105945(0x1c9)](_0x1db72e));};return _0x180744[_0x40a003(0x141)][_0x40a003(0x68c)]=_0x40a003(0x79d),document[_0x40a003(0x6f6)](_0x40a003(0xd1),_0x1cdc96,!0x0),document[_0x40a003(0x6f6)](_0x40a003(0x3d9),_0x1cdc96,!0x0),document[_0x40a003(0x6f6)]('mouseup',_0x1cdc96,!0x0),document[_0x40a003(0x6f6)]('click',_0x1cdc96,!0x0),_0x1db72e=window[_0x40a003(0x239)](_0x1cdc96,0x3e8),_0x1cdc96;}function hi(_0x359064,_0xd379){const _0x95a4ae=_0xdb1731;let _0x205818=mi(_0xd379),_0x15cb72=document[_0x95a4ae(0x1e7)](_0x359064['clientX'],_0x359064[_0x95a4ae(0x5c1)]);return!_0x15cb72||_0x15cb72===_0xd379||_0xd379['contains'](_0x15cb72)?(_0x205818(),!0x1):(_0x359064[_0x95a4ae(0x1c6)](),_0x359064[_0x95a4ae(0x3dd)](),_0x15cb72[_0x95a4ae(0x59e)](pi(_0x359064)),!0x0);}function gi(_0x3cecbb){const _0x36a4f9=_0xdb1731;var _0x379398;let {editingParams:_0x50aaa5,positionOptions:_0x4c37d0,renderUnit:_0x2f7b81,scene:_0x4ea48b}=_0x3cecbb;if(!_0x50aaa5)return null;let _0xbe5423=_0x2f7b81?(_0x379398=_0x4c37d0[_0x36a4f9(0x18a)])==null?void 0x0:_0x379398[_0x36a4f9(0x4cb)](_0x4c37d0,_0x2f7b81,_0x50aaa5):null;return li(_0xbe5423)?{'left':_0xbe5423[_0x36a4f9(0x7af)],'top':_0xbe5423[_0x36a4f9(0x606)],'width':_0xbe5423[_0x36a4f9(0x514)],'height':_0xbe5423[_0x36a4f9(0x1a8)],'angle':_0xbe5423[_0x36a4f9(0x30e)]??0x0}:_0x4ea48b?ui(_0x4ea48b,_0x50aaa5[_0x36a4f9(0x426)]):null;}function _i(_0x2752b4){const _0x55e269=_0xdb1731;return(_0x2752b4==null?void 0x0:_0x2752b4[_0x55e269(0x27e)])??null;}const vi=(0x0,n['memo'])(_0x3c0498=>{const _0x3a6fee=_0xdb1731;let {children:_0x59a28a,editingParams:_0x2488d5,positionOptions:_0x3dcd13,onPositionUpdate:_0x2c9e2b}=_0x3c0498,_0x4ec17c=(0x0,n[_0x3a6fee(0x5d5)])(null),_0x530d6f=(0x0,s['useDependency'])(h[_0x3a6fee(0x775)]),_0x116bde=(0x0,n[_0x3a6fee(0x3b8)])(()=>_0x2488d5?_0x530d6f[_0x3a6fee(0x1f8)](_0x2488d5[_0x3a6fee(0xc9)]):null,[_0x2488d5,_0x530d6f]),_0x5b9333=(0x0,n[_0x3a6fee(0x3b8)])(()=>(_0x116bde==null?void 0x0:_0x116bde[_0x3a6fee(0x390)])??null,[_0x116bde]),_0x373805=(0x0,n[_0x3a6fee(0x3b8)])(()=>!_0x2488d5||!_0x116bde||!_0x3dcd13[_0x3a6fee(0x2fa)]?null:_0x3dcd13[_0x3a6fee(0x2fa)](_0x116bde,_0x2488d5),[_0x2488d5,_0x3dcd13,_0x116bde]),_0x411e67=(0x0,n[_0x3a6fee(0x51b)])(()=>{const _0x2262c8=_0x3a6fee;let _0x43bf64=gi({'editingParams':_0x2488d5,'positionOptions':_0x3dcd13,'renderUnit':_0x116bde,'scene':_0x5b9333});return _0x43bf64?{'left':_0x43bf64[_0x2262c8(0x7af)],'top':_0x43bf64['top'],'width':_0x43bf64['width'],'height':_0x43bf64['height'],'angle':_0x43bf64['angle']??0x0}:null;},[_0x2488d5,_0x3dcd13,_0x116bde,_0x5b9333]),_0xd2ea9a=(0x0,n[_0x3a6fee(0x51b)])(()=>{const _0x42fb7a=_0x3a6fee;var _0x4b3914;return!_0x2488d5||!_0x116bde?null:((_0x4b3914=_0x3dcd13[_0x42fb7a(0x190)])==null?void 0x0:_0x4b3914[_0x42fb7a(0x4cb)](_0x3dcd13,_0x116bde,_0x2488d5,_i(_0x4ec17c[_0x42fb7a(0x1b2)])))??null;},[_0x2488d5,_0x3dcd13,_0x116bde]),{position:_0x508b64,updatePosition:_0x7cec2b}=si({'editingParams':_0x2488d5,'scene':_0x5b9333,'skeleton':_0x373805,'viewportKeys':_0x3dcd13['viewportKeys'],'getShapeTransform':_0x411e67,'getPositionOffset':_0xd2ea9a}),_0x150123=(0x0,n[_0x3a6fee(0x51b)])(()=>{const _0x565aa0=_0x3a6fee;let _0x5bebfd=_0x4ec17c[_0x565aa0(0x1b2)];_0x5bebfd&&(_0x5bebfd[_0x565aa0(0x141)][_0x565aa0(0x7af)]=_0x508b64[_0x565aa0(0x7af)]+'px',_0x5bebfd[_0x565aa0(0x141)][_0x565aa0(0x606)]=_0x508b64[_0x565aa0(0x606)]+'px',_0x5bebfd[_0x565aa0(0x141)]['width']=_0x508b64[_0x565aa0(0x514)]+'px',_0x5bebfd[_0x565aa0(0x141)][_0x565aa0(0x1a8)]=_0x508b64[_0x565aa0(0x1a8)]+'px');},[_0x508b64]);(0x0,n[_0x3a6fee(0x310)])(()=>{const _0x3d3ac3=_0x3a6fee;_0x150123(),ci(_0x2488d5,_0x508b64)&&(_0x2c9e2b==null||_0x2c9e2b({'width':_0x508b64[_0x3d3ac3(0x514)],'height':_0x508b64['height'],'scaleX':_0x508b64['scaleX'],'scaleY':_0x508b64[_0x3d3ac3(0x135)]}));},[_0x2488d5,_0x508b64,_0x150123,_0x2c9e2b]),(0x0,n[_0x3a6fee(0x310)])(()=>{const _0x336fe3=_0x3a6fee;if(!_0x5b9333)return;let _0x224039=_0x5b9333[_0x336fe3(0x64d)](_0x3dcd13[_0x336fe3(0x24a)][_0x336fe3(0x5fb)]);if(!_0x224039)return;let _0x37324b=_0x224039[_0x336fe3(0x7c7)]['subscribeEvent'](()=>{_0x7cec2b();});return()=>{const _0xe665b=_0x336fe3;_0x37324b[_0xe665b(0x5ae)]();};},[_0x3dcd13[_0x3a6fee(0x24a)]['main'],_0x5b9333,_0x7cec2b]),(0x0,n[_0x3a6fee(0x310)])(()=>{const _0x1cc737=_0x3a6fee;var _0x34f012,_0x458423;let _0x4a5ac8=_0x116bde==null||(_0x34f012=_0x116bde[_0x1cc737(0x17f)])==null||(_0x34f012=_0x34f012[_0x1cc737(0x710)])==null?void 0x0:_0x34f012['subscribeEvent'](()=>{_0x7cec2b();}),_0x27889f=_0x5b9333==null||(_0x458423=_0x5b9333[_0x1cc737(0x710)])==null?void 0x0:_0x458423['subscribeEvent'](()=>{_0x7cec2b();});return()=>{const _0xbd5dbe=_0x1cc737;_0x4a5ac8==null||_0x4a5ac8[_0xbd5dbe(0x5ae)](),_0x27889f==null||_0x27889f[_0xbd5dbe(0x5ae)]();};},[_0x116bde,_0x5b9333,_0x7cec2b]),(0x0,n[_0x3a6fee(0x310)])(()=>{const _0x335f5d=_0x3a6fee;if(!_0x2488d5||!_0x5b9333)return;let _0x2632fa=ui(_0x5b9333,_0x2488d5['shapeKey']);if(_0x2632fa!=null&&_0x2632fa[_0x335f5d(0x710)]){let _0x127892=_0x2632fa[_0x335f5d(0x710)][_0x335f5d(0x3db)](()=>{_0x7cec2b();});return()=>{_0x127892['unsubscribe']();};}},[_0x2488d5,_0x5b9333,_0x7cec2b]);let _0x3e006a=(0x0,n[_0x3a6fee(0x3b8)])(()=>({'left':_0x508b64[_0x3a6fee(0x7af)],'top':_0x508b64[_0x3a6fee(0x606)],'width':_0x508b64['width'],'height':_0x508b64[_0x3a6fee(0x1a8)],'pointerEvents':_0x2488d5!=null&&_0x2488d5[_0x3a6fee(0x708)]?_0x3a6fee(0x77e):_0x3a6fee(0x79d)}),[_0x508b64,_0x2488d5==null?void 0x0:_0x2488d5[_0x3a6fee(0x708)]]),_0x2688ac=(0x0,n[_0x3a6fee(0x51b)])(_0x11a680=>{const _0xe7cbd4=_0x3a6fee;let _0x47a8ea=_0x4ec17c[_0xe7cbd4(0x1b2)];if(!_0x47a8ea||!(_0x2488d5!=null&&_0x2488d5[_0xe7cbd4(0x708)]))return;let _0x1fa482=_0x11a680[_0xe7cbd4(0x5a0)];!(_0x1fa482 instanceof Node)||!_0x47a8ea['contains'](_0x1fa482)||fi(_0x1fa482,_0x47a8ea)||di(_0x11a680[_0xe7cbd4(0x3e7)],_0x47a8ea[_0xe7cbd4(0x1f5)]())||hi(_0x11a680,_0x47a8ea);},[_0x2488d5==null?void 0x0:_0x2488d5['visible']]);return(0x0,r[_0x3a6fee(0x6c7)])('div',{'ref':_0x4ec17c,'data-u-comp':'shape-text-editor-position-wrapper','className':_0x3a6fee(0x1eb),'style':_0x3e006a,'onPointerDownCapture':_0x2688ac,'onMouseDownCapture':_0x2688ac,'onClickCapture':_0x2688ac,'children':_0x59a28a});});function yi(_0x53d2fb,_0x23fcd2){const _0x53fa39=_0xdb1731;return Math[_0x53fa39(0x2e2)](_0x53d2fb[_0x53fa39(0x514)]-_0x23fcd2[_0x53fa39(0x514)])<=0.001&&Math[_0x53fa39(0x2e2)](_0x53d2fb[_0x53fa39(0x1a8)]-_0x23fcd2[_0x53fa39(0x1a8)])<=0.001&&Math[_0x53fa39(0x2e2)](_0x53d2fb[_0x53fa39(0x2f7)]-_0x23fcd2[_0x53fa39(0x2f7)])<=0.001&&Math[_0x53fa39(0x2e2)](_0x53d2fb[_0x53fa39(0x135)]-_0x23fcd2['scaleY'])<=0.001;}const bi=(0x0,n[_0xdb1731(0x5e9)])(_0x5dc11c=>{const _0x578360=_0xdb1731;let {adapter:_0x27d48e,editorUnitId:_0x2ba440,editingService:_0x3393dc,positionOptions:_0x3f66b3,verticalAlignCommandId:_0x2141e2}=_0x5dc11c,_0x3299d6=(0x0,s['useObservable'])(_0x3393dc[_0x578360(0x251)]),_0x4ab451=(0x0,s[_0x578360(0x474)])(_0x3393dc['onSavingEditorData$']),_0x41d62e=Xr({'editorUnitId':_0x2ba440,'editingParams':_0x3299d6}),_0x384085=(0x0,n[_0x578360(0x5d5)])(!0x1),_0x1ba508=(0x0,n[_0x578360(0x5d5)])(0x0),_0x55042d=(_0x3299d6==null?void 0x0:_0x3299d6[_0x578360(0x708)])===!0x0;_0x55042d&&!_0x384085[_0x578360(0x1b2)]&&(_0x1ba508['current']+=0x1),_0x384085[_0x578360(0x1b2)]=_0x55042d;let _0x46cd8c=_0x41d62e?_0x41d62e+'|'+_0x1ba508[_0x578360(0x1b2)]:null,[_0x1a8aa6,_0x2daf22]=(0x0,n['useState'])(null),_0x15e2b5=(0x0,n[_0x578360(0x51b)])(_0xbdf9dc=>{const _0x30af62=_0x578360;if(!_0x46cd8c)return;let _0x15cece={'width':_0xbdf9dc[_0x30af62(0x514)],'height':_0xbdf9dc[_0x30af62(0x1a8)],'scaleX':_0xbdf9dc['scaleX'],'scaleY':_0xbdf9dc[_0x30af62(0x135)]};_0x2daf22(_0x24a141=>(_0x24a141==null?void 0x0:_0x24a141[_0x30af62(0x649)])===_0x46cd8c&&yi(_0x24a141['size'],_0x15cece)?_0x24a141:{'sessionKey':_0x46cd8c,'size':_0x15cece});},[_0x46cd8c]);if(!_0x3299d6||!_0x3299d6[_0x578360(0x708)]&&!_0x4ab451)return null;let _0xcf82dc=(_0x1a8aa6==null?void 0x0:_0x1a8aa6['sessionKey'])===_0x46cd8c?_0x1a8aa6['size']:null;return(0x0,r[_0x578360(0x6c7)])(vi,{'editingParams':_0x3299d6,'positionOptions':_0x3f66b3,'onPositionUpdate':_0x15e2b5,'children':_0xcf82dc?(0x0,r[_0x578360(0x6c7)])(ei,{'adapter':_0x27d48e,'containerWidth':_0xcf82dc[_0x578360(0x514)],'containerHeight':_0xcf82dc[_0x578360(0x1a8)],'editingParams':_0x3299d6,'editingService':_0x3393dc,'editorUnitId':_0x2ba440,'scaleX':_0xcf82dc[_0x578360(0x2f7)],'scaleY':_0xcf82dc['scaleY'],'verticalAlignCommandId':_0x2141e2}):null},_0x46cd8c);}),xi=s[_0xdb1731(0x56f)]['map'](_0x184260=>({'label':_0x184260[_0xdb1731(0x60e)],'value':String(_0x184260[_0xdb1731(0x7e2)])})),Si=[p[_0xdb1731(0x189)]['id'],p[_0xdb1731(0x478)]['id'],p[_0xdb1731(0x3c5)]['id'],p[_0xdb1731(0x66c)]['id'],p[_0xdb1731(0x19a)]['id'],p[_0xdb1731(0x3d8)]['id'],p[_0xdb1731(0x10b)]['id'],p[_0xdb1731(0x14f)]['id'],p['SetInlineFormatStrikethroughCommand']['id'],p[_0xdb1731(0x2fe)]['id'],p[_0xdb1731(0x659)]['id'],f[_0xdb1731(0x338)]['id'],f['SetTextSelectionsOperation']['id']],Ci={'root':_0xdb1731(0xd0),'group':'univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','button':_0xdb1731(0xed),'select':_0xdb1731(0x1f7)};function wi(_0x27ce88){const _0xa46b74=_0xdb1731;return!!(_0x27ce88&&typeof _0x27ce88=='object'&&_0x27ce88['s']===o[_0xa46b74(0x6b7)][_0xa46b74(0x159)]);}function Ti(_0x38ec6a){const _0x2b6ba8=_0xdb1731;let {children:_0x2de90e}=_0x38ec6a;return(0x0,r['jsx'])(_0x2b6ba8(0x73f),{'className':Ci[_0x2b6ba8(0x108)],'children':_0x2de90e});}function Ei(_0x3ab5d1){const _0xaa287d=_0xdb1731;let {title:_0x58d306,active:_0x18c89f,children:_0x559ae2,onClick:_0x27d037}=_0x3ab5d1;return(0x0,r['jsx'])(e['Tooltip'],{'title':_0x58d306,'placement':_0xaa287d(0x3f5),'children':(0x0,r[_0xaa287d(0x6c7)])(_0xaa287d(0x4c8),{'type':_0xaa287d(0x4c8),'className':(0x0,e['clsx'])(Ci[_0xaa287d(0x4c8)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x18c89f}),'onClick':_0x27d037,'children':_0x559ae2})});}function Di(){const _0x5ee92f=_0xdb1731;var _0x4b947a,_0x5b74fe;let _0x2ccb39=(0x0,s[_0x5ee92f(0x14e)])(o[_0x5ee92f(0x773)]),_0xba7209=(0x0,s['useDependency'])(o[_0x5ee92f(0x432)]),_0x18740e=(0x0,s[_0x5ee92f(0x14e)])(f['DocSelectionManagerService']),_0x3b062d=(0x0,s[_0x5ee92f(0x14e)])(o['IUniverInstanceService']),_0x1f1249=(0x0,s[_0x5ee92f(0x14e)])(o[_0x5ee92f(0x30d)]),_0x3135d7=(0x0,n[_0x5ee92f(0x51b)])(()=>{const _0x12b261=_0x5ee92f;var _0x170c7e,_0x2c87c3;let _0x3997f8=_0x18740e['getTextRanges']()??[],_0x516f87=_0x3997f8[_0x12b261(0x6e2)]>0x0?_0x3997f8['filter'](_0x10fac0=>_0x10fac0[_0x12b261(0x194)]!=null&&_0x10fac0[_0x12b261(0x2b0)]!=null):_0x18740e[_0x12b261(0x4ec)](),_0x16a9ba=_0x516f87[_0x12b261(0x608)](_0x1fe45e=>_0x1fe45e[_0x12b261(0x650)])??_0x516f87[0x0];if(!_0x16a9ba)return{'cl':{'rgb':Tt}};let _0xe3e6ce=_0x3b062d[_0x12b261(0x15c)](o['UniverInstanceType'][_0x12b261(0x5ff)]);if(!_0xe3e6ce)return{'cl':{'rgb':Tt}};let _0x577e06=(_0x170c7e=_0xe3e6ce[_0x12b261(0x556)](_0x16a9ba[_0x12b261(0x407)]))==null?void 0x0:_0x170c7e[_0x12b261(0x173)]();if(!_0x577e06)return{'cl':{'rgb':Tt}};let _0x3c3c2f=(_0x2c87c3=_0xe3e6ce[_0x12b261(0x52f)]()[_0x12b261(0x613)])==null?void 0x0:_0x2c87c3['textStyle'];return(0x0,p[_0x12b261(0x521)])(_0x577e06,_0x16a9ba,{..._0x3c3c2f,'ff':(_0x3c3c2f==null?void 0x0:_0x3c3c2f['ff'])??o[_0x12b261(0x676)]['ff'],'fs':(_0x3c3c2f==null?void 0x0:_0x3c3c2f['fs'])??o[_0x12b261(0x676)]['fs'],'cl':(_0x3c3c2f==null?void 0x0:_0x3c3c2f['cl'])??{'rgb':'#111827'}});},[_0x18740e,_0x3b062d]),[_0x4ef0e5,_0x517e42]=(0x0,n[_0x5ee92f(0x48e)])(_0x3135d7);(0x0,n['useEffect'])(()=>{const _0x2f4185=_0x5ee92f;let _0xe6187d=()=>_0x517e42(_0x3135d7()),_0x16621f=_0x2ccb39['onCommandExecuted'](_0x357447=>{const _0x3a9793=_0x38c7;Si[_0x3a9793(0x2ed)](_0x357447['id'])&&_0xe6187d();}),_0x41a558=_0x18740e[_0x2f4185(0x7c9)][_0x2f4185(0x1c8)](_0xe6187d);return()=>{const _0x49c0c1=_0x2f4185;_0x16621f[_0x49c0c1(0x6a5)](),_0x41a558[_0x49c0c1(0x5ae)]();};},[_0x2ccb39,_0x18740e,_0x3135d7]);let _0x538dd6=(_0x22b54a,_0x40d2fe)=>{const _0x589a8e=_0x5ee92f;_0x2ccb39[_0x589a8e(0x599)](_0x22b54a,_0x40d2fe===void 0x0?void 0x0:{'value':_0x40d2fe});},_0x23d878=_0x4ef0e5['ff']??o[_0x5ee92f(0x676)]['ff'],_0x5f5ad3=_0x4ef0e5['fs']??o[_0x5ee92f(0x676)]['fs'],_0x44d4d6=_0x4ef0e5['bl']===o[_0x5ee92f(0x6b7)][_0x5ee92f(0x159)],_0x89e397=_0x4ef0e5['it']===o[_0x5ee92f(0x6b7)]['TRUE'],_0x102080=wi(_0x4ef0e5['ul']),_0x3147e4=wi(_0x4ef0e5['st']),_0x3c557b=_0x4ef0e5['va']===o[_0x5ee92f(0x19e)][_0x5ee92f(0x298)],_0x20bedb=_0x4ef0e5['va']===o[_0x5ee92f(0x19e)][_0x5ee92f(0x731)],_0xe6365=((_0x4b947a=_0x4ef0e5['bg'])==null?void 0x0:_0x4b947a['rgb'])??_0x1f1249['getColorFromTheme'](_0x5ee92f(0x276));return(0x0,r[_0x5ee92f(0x565)])(_0x5ee92f(0x73f),{'onMouseDown':_0x1abfd6=>{const _0x3355bb=_0x5ee92f;_0x1abfd6[_0x3355bb(0x3dd)](),it(_0x1abfd6[_0x3355bb(0x5a0)])||_0x1abfd6['preventDefault']();},'className':(0x0,e['clsx'])(Ci['root'],e[_0x5ee92f(0x16d)]),'children':[(0x0,r[_0x5ee92f(0x6c7)])(Ti,{'children':(0x0,r[_0x5ee92f(0x6c7)])(Wn,{})}),(0x0,r[_0x5ee92f(0x6c7)])(e[_0x5ee92f(0x169)],{'orientation':'vertical'}),(0x0,r['jsxs'])(Ti,{'children':[(0x0,r[_0x5ee92f(0x6c7)])(s[_0x5ee92f(0x1a0)],{'ariaLabel':_0x5ee92f(0x133),'className':_0x5ee92f(0x4f9),'inputClassName':_0x5ee92f(0x6d4),'title':_0x23d878,'value':_0x23d878,'onChange':_0x5ee70a=>_0x538dd6(p[_0x5ee92f(0x66c)]['id'],_0x5ee70a),'onMouseDown':_0x1b626a=>{const _0x54441c=_0x5ee92f;_0x1b626a[_0x54441c(0x3dd)]();},'onPointerDown':_0x2d6265=>{const _0x797b55=_0x5ee92f;_0x2d6265[_0x797b55(0x3dd)]();}}),(0x0,r[_0x5ee92f(0x6c7)])(e[_0x5ee92f(0x460)],{'className':(0x0,e[_0x5ee92f(0x221)])(Ci[_0x5ee92f(0x62e)],_0x5ee92f(0x16b)),'value':String(_0x5f5ad3),'options':xi,'onChange':_0x49884a=>{const _0x57d063=_0x5ee92f;let _0x3ed381=Number(_0x49884a);Number[_0x57d063(0x4ab)](_0x3ed381)||_0x538dd6(p[_0x57d063(0x19a)]['id'],_0x3ed381);}})]}),(0x0,r[_0x5ee92f(0x6c7)])(e[_0x5ee92f(0x169)],{'orientation':_0x5ee92f(0x67b)}),(0x0,r[_0x5ee92f(0x565)])(Ti,{'children':[(0x0,r['jsx'])(Ei,{'title':_0xba7209['t']('shape-editor-ui.toolbar.bold'),'active':_0x44d4d6,'onClick':()=>_0x538dd6(p[_0x5ee92f(0x3d8)]['id']),'children':(0x0,r['jsx'])(t['BoldIcon'],{})}),(0x0,r[_0x5ee92f(0x6c7)])(Ei,{'title':_0xba7209['t'](_0x5ee92f(0x3e3)),'active':_0x89e397,'onClick':()=>_0x538dd6(p[_0x5ee92f(0x10b)]['id']),'children':(0x0,r[_0x5ee92f(0x6c7)])(t[_0x5ee92f(0x2d5)],{})}),(0x0,r[_0x5ee92f(0x6c7)])(Ei,{'title':_0xba7209['t'](_0x5ee92f(0x389)),'active':_0x102080,'onClick':()=>_0x538dd6(p[_0x5ee92f(0x14f)]['id']),'children':(0x0,r[_0x5ee92f(0x6c7)])(t[_0x5ee92f(0x64b)],{})}),(0x0,r[_0x5ee92f(0x6c7)])(Ei,{'title':_0xba7209['t']('shape-editor-ui.toolbar.strikethrough'),'active':_0x3147e4,'onClick':()=>_0x538dd6(p[_0x5ee92f(0x22f)]['id']),'children':(0x0,r[_0x5ee92f(0x6c7)])(t['StrikethroughIcon'],{})})]}),(0x0,r['jsx'])(e[_0x5ee92f(0x169)],{'orientation':_0x5ee92f(0x67b)}),(0x0,r[_0x5ee92f(0x565)])(Ti,{'children':[(0x0,r[_0x5ee92f(0x6c7)])(Ei,{'title':_0xba7209['t'](_0x5ee92f(0x2d3)),'active':_0x3c557b,'onClick':()=>_0x538dd6(p[_0x5ee92f(0x2fe)]['id']),'children':(0x0,r[_0x5ee92f(0x6c7)])(t[_0x5ee92f(0x525)],{})}),(0x0,r[_0x5ee92f(0x6c7)])(Ei,{'title':_0xba7209['t']('shape-editor-ui.toolbar.superscript'),'active':_0x20bedb,'onClick':()=>_0x538dd6(p[_0x5ee92f(0x659)]['id']),'children':(0x0,r[_0x5ee92f(0x6c7)])(t[_0x5ee92f(0x756)],{})})]}),(0x0,r[_0x5ee92f(0x6c7)])(e['Separator'],{'orientation':'vertical'}),(0x0,r['jsxs'])(Ti,{'children':[(0x0,r[_0x5ee92f(0x6c7)])(En,{'title':_0xba7209['t'](_0x5ee92f(0x78b)),'textStyle':_0x4ef0e5,'fallbackColor':((_0x5b74fe=_0x4ef0e5['cl'])==null?void 0x0:_0x5b74fe[_0x5ee92f(0x6d8)])??_0x5ee92f(0x1b8),'onChange':_0x10b66c=>{_0x2ccb39['executeCommand'](p['SetInlineFormatTextFillCommand']['id'],{'value':_0x10b66c}),_0x517e42(_0x49bdfa=>({..._0x49bdfa,..._0x10b66c}));}}),(0x0,r['jsx'])(Dn,{'title':_0xba7209['t'](_0x5ee92f(0x502)),'color':_0xe6365,'onApply':()=>_0x538dd6(p['SetInlineFormatTextBackgroundColorCommand']['id'],_0xe6365),'onReset':()=>{const _0xf65fce=_0x5ee92f;_0x2ccb39[_0xf65fce(0x599)](p[_0xf65fce(0x3c5)]['id']),_0x517e42(_0x3b1dd6=>({..._0x3b1dd6,'bg':{'rgb':null}}));},'onChange':_0x14a74b=>{const _0x53f5ae=_0x5ee92f;_0x538dd6(p[_0x53f5ae(0x478)]['id'],_0x14a74b),_0x517e42(_0x4e213=>({..._0x4e213,'bg':{'rgb':_0x14a74b}}));}})]})]});}exports['DocParagraphTypeDropdown']=Wn,exports['FillStyleTabsEditor']=E,exports[_0xdb1731(0x69a)]=nt,exports[_0xdb1731(0x3cd)]=tt,exports['FormulaBindingNumberFormatMenu']=Ge,Object[_0xdb1731(0x231)](exports,'FormulaBindingUnitViewerService',{'enumerable':!0x0,'get':function(){return H;}}),exports[_0xdb1731(0x14d)]=De,exports[_0xdb1731(0x226)]=se,exports[_0xdb1731(0x544)]=D,exports[_0xdb1731(0x1ef)]=Ct,exports[_0xdb1731(0xf1)]=wt,exports[_0xdb1731(0x383)]=_0xdb1731(0x14b),exports[_0xdb1731(0x339)]=Tt,exports[_0xdb1731(0x4b8)]=0x10,exports['SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID']=Un,exports['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']=0x10,exports[_0xdb1731(0x3b5)]=St,exports[_0xdb1731(0x475)]=un,exports[_0xdb1731(0x5a2)]=pt,exports['ShapeFloatingToolbar']=In,exports[_0xdb1731(0x21f)]=ot,exports[_0xdb1731(0x3cb)]=ct,exports[_0xdb1731(0x2bb)]=lt,exports[_0xdb1731(0x3b2)]=at,exports['ShapeFloatingToolbarMenuItem']=Mn,exports[_0xdb1731(0x545)]=jn,exports[_0xdb1731(0x225)]=Ln,exports[_0xdb1731(0x11c)]=dt,exports['ShapeLineEditor']=_t,exports['ShapePickerDropdown']=Hn,exports[_0xdb1731(0x715)]=Vn,exports['ShapeStrokePanelButton']=yn,exports[_0xdb1731(0x4d6)]=vn,exports[_0xdb1731(0x20c)]=xt,exports[_0xdb1731(0x56c)]=bi,exports[_0xdb1731(0x3bf)]=Zn,exports[_0xdb1731(0x507)]=Di,exports[_0xdb1731(0x2ca)]=Dn,exports[_0xdb1731(0x627)]=En,exports[_0xdb1731(0x6fb)]=On,Object[_0xdb1731(0x231)](exports,'UniverShapeEditorUIPlugin',{'enumerable':!0x0,'get':function(){return U;}}),exports[_0xdb1731(0x54a)]=Y,exports[_0xdb1731(0x41c)]=ne,exports[_0xdb1731(0x2a1)]=gn,exports['buildShapeTextDataUpdate']=rn,exports[_0xdb1731(0x6c9)]=ae,exports['createFormulaBindingNumberFormatMenuEntries']=Be,exports[_0xdb1731(0x785)]=Wr,exports[_0xdb1731(0x215)]=Oe,exports[_0xdb1731(0x4b3)]=oe,exports[_0xdb1731(0x4eb)]=ge,exports[_0xdb1731(0x23f)]=pe,exports[_0xdb1731(0x185)]=_e,exports[_0xdb1731(0x532)]=Z,exports[_0xdb1731(0x495)]=ve,exports[_0xdb1731(0x2c6)]=ft,exports[_0xdb1731(0x665)]=lr,exports['getShapeTextVisibleInkHeight']=ar,exports['getTextModel']=ce,exports[_0xdb1731(0x5d3)]=le,exports[_0xdb1731(0x368)]=Ur,exports[_0xdb1731(0xc1)]=tr,exports[_0xdb1731(0x6a9)]=$,exports[_0xdb1731(0x18c)]=re,exports[_0xdb1731(0xd3)]=X,exports['normalizeShapeTextRect']=$n,exports[_0xdb1731(0x4cc)]=jt,exports['prepareShapeTextDocumentData']=Ht,exports['resolveFormulaBindingNumberFormatType']=Ve,exports[_0xdb1731(0x3f6)]=Le,exports[_0xdb1731(0x5e8)]=qr,exports[_0xdb1731(0x766)]=It,exports[_0xdb1731(0x2c0)]=Ut,exports['resolveShapeTextDocumentRenderLayout']=sr,exports[_0xdb1731(0x461)]=ke,exports['resolveShapeTextEditorFlowAxis']=Fe,exports[_0xdb1731(0x4e6)]=mr,exports[_0xdb1731(0x4a5)]=Me,exports[_0xdb1731(0x250)]=Hr,exports['resolveShapeTextVerticalOffset']=or,exports[_0xdb1731(0x1ae)]=he,exports[_0xdb1731(0xd5)]=Rn,exports[_0xdb1731(0x49d)]=Ie,exports[_0xdb1731(0x384)]=Pe,exports[_0xdb1731(0x1e2)]=Ne,exports[_0xdb1731(0x781)]=Wt,exports[_0xdb1731(0x425)]=Dt,exports[_0xdb1731(0x67f)]=ut;