@univerjs-pro/sheets-print 1.0.3 → 1.0.4

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 (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +13 -13
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3bd298=_0x181a;(function(_0x14ee86,_0x1c8699){const _0x5f1635=_0x181a,_0x1246ad=_0x14ee86();while(!![]){try{const _0x1173b0=-parseInt(_0x5f1635(0x31a))/0x1+-parseInt(_0x5f1635(0x2e6))/0x2*(parseInt(_0x5f1635(0x385))/0x3)+parseInt(_0x5f1635(0x2bf))/0x4+-parseInt(_0x5f1635(0x27c))/0x5*(-parseInt(_0x5f1635(0x301))/0x6)+parseInt(_0x5f1635(0x158))/0x7*(-parseInt(_0x5f1635(0x17c))/0x8)+parseInt(_0x5f1635(0x29f))/0x9+parseInt(_0x5f1635(0x208))/0xa*(parseInt(_0x5f1635(0x17d))/0xb);if(_0x1173b0===_0x1c8699)break;else _0x1246ad['push'](_0x1246ad['shift']());}catch(_0x9fd2fe){_0x1246ad['push'](_0x1246ad['shift']());}}}(_0x57bb,0xd8fbb),Object[_0x3bd298(0x3c0)](exports,Symbol[_0x3bd298(0x32b)],{'value':_0x3bd298(0xbe)}));let e=require('@univerjs-pro/license'),t=require('@univerjs-pro/print'),n=require('@univerjs/core'),r=require('@univerjs/sheets'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/engine-render'),s=require('@univerjs/sheets-ui'),c=require('@univerjs/design'),l=require('@univerjs/icons'),u=require('react'),d=require('react/jsx-runtime'),f=require('@univerjs/docs'),p=require('@univerjs/docs-ui');const m=Number[_0x3bd298(0x36f)](0x6abb7c7e),h=_0x3bd298(0x105);function g(_0x5566b7){'@babel/helpers - typeof';const _0x2613ee=_0x3bd298;return g=typeof Symbol==_0x2613ee(0x22b)&&typeof Symbol[_0x2613ee(0x2c4)]=='symbol'?function(_0x96d6ea){return typeof _0x96d6ea;}:function(_0x227413){const _0x599e9f=_0x2613ee;return _0x227413&&typeof Symbol==_0x599e9f(0x22b)&&_0x227413['constructor']===Symbol&&_0x227413!==Symbol[_0x599e9f(0x372)]?_0x599e9f(0xe1):typeof _0x227413;},g(_0x5566b7);}function _(_0x25776c,_0x6710c8){const _0x211cf6=_0x3bd298;if(g(_0x25776c)!=_0x211cf6(0x3b6)||!_0x25776c)return _0x25776c;var _0x15d1ac=_0x25776c[Symbol[_0x211cf6(0x269)]];if(_0x15d1ac!==void 0x0){var _0x5d2f98=_0x15d1ac[_0x211cf6(0x354)](_0x25776c,_0x6710c8||_0x211cf6(0x13a));if(g(_0x5d2f98)!=_0x211cf6(0x3b6))return _0x5d2f98;throw TypeError(_0x211cf6(0x20a));}return(_0x6710c8===_0x211cf6(0x2ae)?String:Number)(_0x25776c);}function v(_0x6f10a0){const _0x3f8cbd=_0x3bd298;var _0x11da48=_(_0x6f10a0,_0x3f8cbd(0x2ae));return g(_0x11da48)==_0x3f8cbd(0xe1)?_0x11da48:_0x11da48+'';}function y(_0x12444b,_0x21f471,_0x309c0e){const _0xc7b9d7=_0x3bd298;return(_0x21f471=v(_0x21f471))in _0x12444b?Object[_0xc7b9d7(0x3c0)](_0x12444b,_0x21f471,{'value':_0x309c0e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x12444b[_0x21f471]=_0x309c0e,_0x12444b;}const b=(0x0,n[_0x3bd298(0xb4)])(_0x3bd298(0x1cf));var x=class extends n[_0x3bd298(0x1a7)]{constructor(..._0x517e87){const _0x4d8fe6=_0x3bd298;super(..._0x517e87),y(this,_0x4d8fe6(0xb6),new a[(_0x4d8fe6(0x24f))](!0x1)),y(this,_0x4d8fe6(0xdb),new a[(_0x4d8fe6(0x24f))](!0x1));}get[_0x3bd298(0x1a5)](){const _0xcc747=_0x3bd298;return this[_0xcc747(0xb6)][_0xcc747(0x108)]();}get[_0x3bd298(0x160)](){const _0x5cf06c=_0x3bd298;return this[_0x5cf06c(0xdb)][_0x5cf06c(0x108)]();}[_0x3bd298(0x35b)](){const _0x629bfe=_0x3bd298;this[_0x629bfe(0xb6)][_0x629bfe(0x1cd)](!0x0);}[_0x3bd298(0x125)](){const _0x2c48ba=_0x3bd298;this[_0x2c48ba(0xb6)][_0x2c48ba(0x1cd)](!0x1);}[_0x3bd298(0xd7)](_0x145edd){const _0x3bd4b0=_0x3bd298;this[_0x3bd4b0(0xdb)][_0x3bd4b0(0x1cd)](_0x145edd);}[_0x3bd298(0x3bb)](){const _0x3f2a90=_0x3bd298;this['visible$'][_0x3f2a90(0x2a0)](),this[_0x3f2a90(0xdb)][_0x3f2a90(0x2a0)](),super[_0x3f2a90(0x3bb)]();}};let S=function(_0x430af3){const _0x411c92=_0x3bd298;return _0x430af3['CurrentSheet']=_0x411c92(0x374),_0x430af3[_0x411c92(0x25d)]='Workbook',_0x430af3[_0x411c92(0x174)]=_0x411c92(0x174),_0x430af3['AllSelection']='AllSelection',_0x430af3;}({}),C=function(_0x360e3e){const _0x10ef37=_0x3bd298;return _0x360e3e[_0x10ef37(0x336)]='PageSize',_0x360e3e[_0x10ef37(0x183)]=_0x10ef37(0x183),_0x360e3e[_0x10ef37(0x334)]=_0x10ef37(0x334),_0x360e3e[_0x10ef37(0x19e)]=_0x10ef37(0x19e),_0x360e3e[_0x10ef37(0xec)]=_0x10ef37(0xec),_0x360e3e;}({}),w=function(_0xe1ce3d){const _0x4af4d1=_0x3bd298;return _0xe1ce3d[_0x4af4d1(0x1fc)]=_0x4af4d1(0x1fc),_0xe1ce3d['Column']=_0x4af4d1(0xe5),_0xe1ce3d;}({}),T=function(_0x150720){const _0x1c3e6d=_0x3bd298;return _0x150720[_0x1c3e6d(0x183)]=_0x1c3e6d(0x28a),_0x150720[_0x1c3e6d(0x334)]=_0x1c3e6d(0x392),_0x150720[_0x1c3e6d(0x1de)]=_0x1c3e6d(0xe0),_0x150720['DateB']=_0x1c3e6d(0x303),_0x150720[_0x1c3e6d(0x22f)]=_0x1c3e6d(0x3b8),_0x150720[_0x1c3e6d(0x386)]=_0x1c3e6d(0x273),_0x150720[_0x1c3e6d(0x262)]=_0x1c3e6d(0x388),_0x150720[_0x1c3e6d(0x21d)]='@TimeA',_0x150720[_0x1c3e6d(0x1b0)]='@TimeB',_0x150720[_0x1c3e6d(0x37a)]='@TimeC',_0x150720[_0x1c3e6d(0x12c)]=_0x1c3e6d(0x300),_0x150720['Page']=_0x1c3e6d(0x251),_0x150720[_0x1c3e6d(0x315)]=_0x1c3e6d(0x346),_0x150720[_0x1c3e6d(0x378)]='@TotalPage',_0x150720[_0x1c3e6d(0x29a)]='@TotalSheetPage',_0x150720;}({});const E={'topLeft':'','topCenter':'','topRight':'','bottomLeft':'','bottomCenter':'','bottomRight':''};function D(_0x245ce4,_0x3d4183){return function(_0x56ec00,_0x1f4d66){_0x3d4183(_0x56ec00,_0x1f4d66,_0x245ce4);};}function O(_0x603b01,_0x2c2a90,_0x1b4866,_0x3b3e61){const _0x15da67=_0x3bd298;var _0x54a499=arguments[_0x15da67(0x213)],_0x3c9a51=_0x54a499<0x3?_0x2c2a90:_0x3b3e61===null?_0x3b3e61=Object[_0x15da67(0x2d6)](_0x2c2a90,_0x1b4866):_0x3b3e61,_0x59e2c3;if(typeof Reflect==_0x15da67(0x3b6)&&typeof Reflect[_0x15da67(0x2d0)]=='function')_0x3c9a51=Reflect[_0x15da67(0x2d0)](_0x603b01,_0x2c2a90,_0x1b4866,_0x3b3e61);else{for(var _0x16d625=_0x603b01[_0x15da67(0x213)]-0x1;_0x16d625>=0x0;_0x16d625--)(_0x59e2c3=_0x603b01[_0x16d625])&&(_0x3c9a51=(_0x54a499<0x3?_0x59e2c3(_0x3c9a51):_0x54a499>0x3?_0x59e2c3(_0x2c2a90,_0x1b4866,_0x3c9a51):_0x59e2c3(_0x2c2a90,_0x1b4866))||_0x3c9a51);}return _0x54a499>0x3&&_0x3c9a51&&Object['defineProperty'](_0x2c2a90,_0x1b4866,_0x3c9a51),_0x3c9a51;}const k=(0x0,n[_0x3bd298(0xb4)])(_0x3bd298(0x16e)),A=_0x3eb949=>Math[_0x3bd298(0x185)](_0x3eb949*0x64)/0x64,j={'startColumn':0x0,'endColumn':0x0,'startRow':0x0,'endRow':0x0},M={'startColumn':-0x1,'startRow':-0x1,'xSplit':0x0,'ySplit':0x0};let N=class{constructor(_0x4e488f,_0x33ce36,_0x62b1b0,_0x261cec){const _0x3096cd=_0x3bd298;this[_0x3096cd(0xd1)]=_0x4e488f,this[_0x3096cd(0x34a)]=_0x33ce36,this[_0x3096cd(0xcd)]=_0x62b1b0,this[_0x3096cd(0x229)]=_0x261cec,y(this,_0x3096cd(0x2c3),{'area':_0x3096cd(0x374),'subUnitIds':[],'paperSize':n['PaperType']['A4'],'direction':t[_0x3096cd(0x36e)]['Portrait'],'scale':t['PrintScale']['Origin'],'customScale':0x1,'freeze':[_0x3096cd(0x1fc),_0x3096cd(0xe5)],'margin':t[_0x3096cd(0x34c)][_0x3096cd(0x216)],'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0,'marginCustom':{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0}}),y(this,_0x3096cd(0x3a9),{'gridlines':!0x0,'hAlign':t[_0x3096cd(0x1a2)]['Middle'],'vAlign':t[_0x3096cd(0x1a2)][_0x3096cd(0x1f8)],'headerFooter':[],'headerFooterSetting':E,'isCustomHeaderFooter':!0x1}),y(this,'_layoutInfos',[]),y(this,_0x3096cd(0x2dc),new a['BehaviorSubject'](this[_0x3096cd(0x19f)])),y(this,_0x3096cd(0xd5),new a['BehaviorSubject'](this[_0x3096cd(0x2c3)])),y(this,'_renderConfig$',new a[(_0x3096cd(0x24f))](this[_0x3096cd(0x3a9)])),y(this,_0x3096cd(0xce),null),y(this,_0x3096cd(0x10f),this['_layoutConfig$'][_0x3096cd(0x1ad)]()),y(this,_0x3096cd(0x263),this[_0x3096cd(0x1d5)][_0x3096cd(0x1ad)]()),y(this,_0x3096cd(0x35e),this['_layoutInfos$'][_0x3096cd(0x1ad)]()['pipe']((0x0,a[_0x3096cd(0x1b3)])(0x12c)));}get['layoutInfos'](){const _0x24930f=_0x3bd298;return this[_0x24930f(0x19f)];}get[_0x3bd298(0xf7)](){const _0x1a1a6f=_0x3bd298;return this[_0x1a1a6f(0x3a9)];}get['layoutConfig'](){return this['_layoutConfig'];}get[_0x3bd298(0x257)](){const _0x33c684=_0x3bd298;let {paperSize:_0x5b8c29,direction:_0x2f9db5,pageSizeCustom:_0x51a104}=this['_layoutConfig'];if(_0x51a104)return _0x51a104;let _0x4002c3=n['PAGE_SIZE'][_0x5b8c29];return _0x2f9db5===t[_0x33c684(0x36e)][_0x33c684(0x1e3)]?{'w':_0x4002c3[_0x33c684(0x298)],'h':_0x4002c3[_0x33c684(0x3b9)]}:{'w':_0x4002c3[_0x33c684(0x3b9)],'h':_0x4002c3[_0x33c684(0x298)]};}get['paperMargin'](){const _0x3f39e7=_0x3bd298;return this[_0x3f39e7(0x2c3)]['margin']===t[_0x3f39e7(0x34c)]['Custom']?this['_layoutConfig']['marginCustom']:t[_0x3f39e7(0x2f8)][this[_0x3f39e7(0x2c3)]['margin']];}['updateLayoutConfig'](_0x3ea92c){const _0xefcbf9=_0x3bd298;this[_0xefcbf9(0x2c3)]={...this['_layoutConfig'],..._0x3ea92c},this[_0xefcbf9(0xd5)][_0xefcbf9(0x1cd)](this[_0xefcbf9(0x2c3)]),this[_0xefcbf9(0x360)]();}['replaceLayoutConfig'](_0x1db341){const _0x2f9198=_0x3bd298;this[_0x2f9198(0x2c3)]=_0x1db341,this[_0x2f9198(0xd5)]['next'](this[_0x2f9198(0x2c3)]),this[_0x2f9198(0x360)]();}[_0x3bd298(0x309)](_0x61d9b6){const _0x1106f9=_0x3bd298;this[_0x1106f9(0x3a9)]={...this[_0x1106f9(0x3a9)],..._0x61d9b6},this[_0x1106f9(0x1d5)][_0x1106f9(0x1cd)](this['_renderConfig']);}[_0x3bd298(0x22c)](_0x23671e){const _0x2db684=_0x3bd298;this[_0x2db684(0x3a9)]=_0x23671e,this[_0x2db684(0x1d5)][_0x2db684(0x1cd)](this[_0x2db684(0x3a9)]);}[_0x3bd298(0x360)](){const _0x3b95c8=_0x3bd298;this['_layoutInfos']=this['_calculate'](),this[_0x3b95c8(0x2dc)]['next'](this[_0x3b95c8(0x19f)]);}['reset'](){const _0x1f77c3=_0x3bd298;this[_0x1f77c3(0x19f)]=[],this[_0x1f77c3(0x2dc)][_0x1f77c3(0x1cd)](this[_0x1f77c3(0x19f)]),this['_layoutConfig']={...this['_layoutConfig'],'area':_0x1f77c3(0x374),'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0},this['_layoutConfig$'][_0x1f77c3(0x1cd)](this['_layoutConfig']);}[_0x3bd298(0x18b)](_0x15eef5){const _0x471ce5=_0x3bd298;var _0x3f5de4;(_0x3f5de4=this[_0x471ce5(0xce)])==null||_0x3f5de4[_0x471ce5(0x3bb)](),this[_0x471ce5(0xce)]=_0x15eef5;}[_0x3bd298(0x21c)](){const _0xf83964=_0x3bd298;var _0x5ce85d;(_0x5ce85d=this['_printViewDisposable'])==null||_0x5ce85d[_0xf83964(0x3bb)](),this['_printViewDisposable']=null;}[_0x3bd298(0xb2)](){const _0x3bb5e5=_0x3bd298;let _0x2c8230=this[_0x3bb5e5(0x2eb)](),_0x249179=[];return _0x2c8230[_0x3bb5e5(0x2a5)](_0x2aa729=>{const _0x33dfad=_0x3bb5e5;if(_0x2aa729){let _0x4e2287=this[_0x33dfad(0x395)](_0x2aa729);_0x4e2287&&_0x249179[_0x33dfad(0x181)](_0x4e2287);}}),_0x249179;}['_calculateSheetRangeById'](_0x442a06,_0x4b8d2e,_0x1807da){const _0x27ab31=_0x3bd298;var _0x325486;let _0x5b284f=this[_0x27ab31(0xd1)][_0x27ab31(0x35d)](n[_0x27ab31(0x394)]['UNIVER_SHEET'])[_0x27ab31(0x172)](_0x4b8d2e);if(!_0x5b284f)return;let _0x394705=_0x5b284f[_0x27ab31(0x359)](),_0xb796b6=_0x1807da??_0x5b284f[_0x27ab31(0x166)](),_0x45c1a6=(_0x325486=this['_renderManagerService'][_0x27ab31(0x389)](_0x442a06))==null?void 0x0:_0x325486[_0x27ab31(0x3a1)](s[_0x27ab31(0x352)])[_0x27ab31(0x2d3)](_0x4b8d2e);if(!_0x45c1a6)return;if(_0xb796b6){var _0x456203;_0x45c1a6==null||(_0x456203=_0x45c1a6[_0x27ab31(0x348)])==null||_0x456203[_0x27ab31(0x1ed)]((_0xbd37b1,_0x90f743,_0x4fff2c)=>{const _0x1539a4=_0x27ab31;let {endColumn:_0x48a5c9}=_0x4fff2c;_0x48a5c9>_0xb796b6[_0x1539a4(0x2c9)]&&(_0xb796b6[_0x1539a4(0x2c9)]=_0x48a5c9);});}let _0x36ab08=this[_0x27ab31(0xcd)][_0x27ab31(0x36b)][_0x27ab31(0x39f)](this['_sheetPrintInterceptorService'][_0x27ab31(0x36b)][_0x27ab31(0x138)]()[_0x27ab31(0x1e5)])(_0xb796b6,{'unitId':_0x442a06,'subUnitId':_0x4b8d2e});return _0x36ab08?this[_0x27ab31(0x2f2)](_0x4b8d2e,{..._0x36ab08,'startColumn':Math[_0x27ab31(0x2e1)](_0x394705[_0x27ab31(0x13f)]-_0x394705[_0x27ab31(0x2e3)],0x0),'startRow':Math[_0x27ab31(0x2e1)](_0x394705[_0x27ab31(0x2ee)]-_0x394705['ySplit'],0x0)}):null;}[_0x3bd298(0x107)](_0x317e9a,_0x2c8756){const _0x1b5f36=_0x3bd298;let _0x248864=this['_sheetsSelectionsSrv'][_0x1b5f36(0x214)](_0x317e9a)[_0x1b5f36(0x20e)](_0x2c8756);return _0x248864?_0x248864[_0x1b5f36(0xc1)](_0x4c50c4=>this[_0x1b5f36(0x2f2)](_0x2c8756,_0x4c50c4[_0x1b5f36(0x10a)])):[];}['_calculateFinalRange'](_0x5efbb6,_0x3cdb83){const _0x1ba027=_0x3bd298;let _0x1c045b=this['_univerInstanceService'][_0x1ba027(0x35d)](n[_0x1ba027(0x394)][_0x1ba027(0x103)]),_0x38624d=_0x1c045b[_0x1ba027(0x172)](_0x5efbb6),_0x494898=this[_0x1ba027(0x2c3)],_0xa03cbd=_0x1c045b[_0x1ba027(0xb5)](),_0x439995=this[_0x1ba027(0x257)],{top:_0xc713be,right:_0x39da46,bottom:_0x49784c,left:_0x2cf77b}=this[_0x1ba027(0xef)];_0x439995['h']-=_0xc713be+_0x49784c,_0x439995['w']-=_0x2cf77b+_0x39da46;let _0x130253=this[_0x1ba027(0x229)][_0x1ba027(0x389)](_0xa03cbd)[_0x1ba027(0x3a1)](s[_0x1ba027(0x352)]);if(_0x3cdb83['startRow']>-0x1&&_0x3cdb83[_0x1ba027(0x13f)]>-0x1){let _0x4f5382=_0x130253[_0x1ba027(0x2d3)](_0x5efbb6);if(!_0x38624d||!_0x4f5382)return null;let _0x492884=_0x3cdb83[_0x1ba027(0x2ee)],_0x2bbb51=_0x3cdb83[_0x1ba027(0x1ab)],_0xb354b9=_0x3cdb83[_0x1ba027(0x13f)],_0x265893=_0x3cdb83['endColumn'],_0x572a5c=_0x38624d[_0x1ba027(0x359)](),_0x5a6fe4=A(this[_0x1ba027(0x2ad)](_0x4f5382,_0x3cdb83,_0x572a5c)),_0x3c2d1b=-0x1,_0x3bb70f=0x0,_0x4aa3da=-0x1,_0x10fb0b=0x0,_0x38b838=_0x4f5382[_0x1ba027(0x377)],_0x4cf702=_0x4f5382[_0x1ba027(0x312)];if(_0x572a5c[_0x1ba027(0x2e3)]&&_0x494898[_0x1ba027(0x326)][_0x1ba027(0x286)](_0x1ba027(0xe5))){if(_0x265893>=_0x572a5c['startColumn']){let _0x259c02=_0x5a6fe4*(_0x38b838[_0x572a5c['startColumn']-0x1]-(_0x38b838[_0x572a5c[_0x1ba027(0x13f)]-_0x572a5c['xSplit']-0x1]||0x0));_0x259c02<_0x439995['w']&&(_0x4aa3da=_0x572a5c[_0x1ba027(0x13f)],_0x10fb0b=_0x572a5c[_0x1ba027(0x2e3)],_0x439995['w']-=_0x259c02);}else{let _0x5feec0=_0x265893+0x1,_0x29df27=_0x265893+0x1-(_0x572a5c['startColumn']-_0x572a5c[_0x1ba027(0x2e3)]),_0x2b0cad=_0x5a6fe4*(_0x38b838[_0x4aa3da-0x1]-(_0x38b838[_0x4aa3da-_0x10fb0b]-0x1||0x0));_0x2b0cad<_0x439995['w']&&(_0x4aa3da=_0x5feec0,_0x10fb0b=_0x29df27,_0x439995['w']-=_0x2b0cad);}}if(_0xb354b9=Math[_0x1ba027(0x2e1)](_0x4aa3da,_0xb354b9),_0x572a5c[_0x1ba027(0x14b)]&&_0x494898[_0x1ba027(0x326)][_0x1ba027(0x286)](_0x1ba027(0x1fc))){if(_0x2bbb51>=_0x572a5c[_0x1ba027(0x2ee)]){let _0x148750=_0x4cf702[_0x572a5c[_0x1ba027(0x2ee)]]-_0x4cf702[_0x572a5c[_0x1ba027(0x2ee)]-_0x572a5c[_0x1ba027(0x14b)]];_0x148750<_0x439995['h']&&(_0x3c2d1b=_0x572a5c[_0x1ba027(0x2ee)],_0x3bb70f=_0x572a5c[_0x1ba027(0x14b)],_0x439995['h']-=_0x148750);}else _0x3c2d1b=_0x2bbb51+0x1,_0x3bb70f=_0x2bbb51+0x1-(_0x572a5c[_0x1ba027(0x2ee)]-_0x572a5c[_0x1ba027(0x14b)]),_0x439995['h']=_0x439995['h']-_0x4cf702[_0x3c2d1b]-_0x4cf702[_0x3c2d1b-_0x3bb70f];}return _0x492884=Math['max'](_0x3c2d1b,_0x492884),{'unitId':_0xa03cbd,'subUnitId':_0x5efbb6,'range':{'startRow':_0x492884,'endRow':_0x2bbb51,'startColumn':_0xb354b9,'endColumn':_0x265893},'freeze':{'startRow':_0x3c2d1b,'startColumn':_0x4aa3da,'xSplit':_0x10fb0b,'ySplit':_0x3bb70f},'contentSize':_0x439995,'scale':_0x5a6fe4};}return{'unitId':_0xa03cbd,'subUnitId':_0x5efbb6,'range':j,'freeze':M,'contentSize':_0x439995,'scale':0x1};}[_0x3bd298(0x2ad)](_0x1b211b,_0x2e7b2a,_0x21f21f){const _0x19e6b1=_0x3bd298;let _0x10bd04=_0x1b211b[_0x19e6b1(0x377)],_0x45ec09=_0x1b211b['rowHeightAccumulation'],{xSplit:_0x1e7df1,ySplit:_0x286444,startColumn:_0x4e765f,startRow:_0x4afdad}=_0x21f21f,{startRow:_0x1ec719,startColumn:_0x5483dd}=_0x2e7b2a,{endColumn:_0xd7824,endRow:_0x24c312}=_0x2e7b2a;_0x1ec719=_0x24c312<_0x4afdad?_0x1ec719:Math[_0x19e6b1(0x2e1)](_0x4afdad,_0x1ec719),_0x5483dd=_0xd7824<_0x4e765f?_0x5483dd:Math[_0x19e6b1(0x2e1)](_0x4e765f,_0x5483dd);let {scale:_0x35a0b0,customScale:_0x55b5cf}=this[_0x19e6b1(0x2c3)],_0x4d17a2=this['paperSize'],_0x48c8ed=this[_0x19e6b1(0xef)],_0x294061=_0x1e7df1>0x0?(_0x10bd04[_0x4e765f-0x1]||0x0)-(_0x10bd04[_0x4e765f-_0x1e7df1-0x1]||0x0):0x0,_0x580587=_0x286444>0x0?(_0x45ec09[_0x4afdad-0x1]||0x0)-(_0x45ec09[_0x4afdad-_0x286444-0x1]||0x0):0x0,_0x2bf06d=_0x45ec09[_0x24c312]-(_0x45ec09[_0x1ec719-0x1]||0x0),_0x3c0df5=_0x10bd04[_0xd7824]-(_0x10bd04[_0x5483dd-0x1]||0x0),_0x339d4f=_0x2bf06d+_0x580587,_0x85bb42=_0x3c0df5+_0x294061;switch(_0x35a0b0){case t[_0x19e6b1(0x11e)][_0x19e6b1(0x177)]:return _0x55b5cf;case t['PrintScale'][_0x19e6b1(0x167)]:return Math[_0x19e6b1(0x111)](0x1,(_0x4d17a2['w']-_0x48c8ed[_0x19e6b1(0x122)]-_0x48c8ed[_0x19e6b1(0x150)])/_0x85bb42);case t[_0x19e6b1(0x11e)]['FitHeight']:return Math['min'](0x1,(_0x4d17a2['h']-_0x48c8ed['top']-_0x48c8ed['bottom'])/_0x339d4f);case t[_0x19e6b1(0x11e)][_0x19e6b1(0xb3)]:return Math[_0x19e6b1(0x111)](0x1,(_0x4d17a2['w']-_0x48c8ed[_0x19e6b1(0x122)]-_0x48c8ed[_0x19e6b1(0x150)])/_0x85bb42,(_0x4d17a2['h']-_0x48c8ed['top']-_0x48c8ed[_0x19e6b1(0x217)])/_0x339d4f);default:return 0x1;}}['_calculateSubSheetRange'](){const _0x57497d=_0x3bd298;let {area:_0x3f50d5,subUnitIds:_0x5d57d1}=this[_0x57497d(0x2c3)],_0x5d2427=this[_0x57497d(0xd1)]['getCurrentUnitOfType'](n['UniverInstanceType']['UNIVER_SHEET']),_0x352456=_0x5d2427[_0x57497d(0xb5)]();switch(_0x3f50d5){case'CurrentSheet':{var _0x41219d;let _0x2400af=(_0x41219d=_0x5d2427[_0x57497d(0x1fb)]())==null?void 0x0:_0x41219d['getSheetId']();if(_0x2400af!=null){let _0x226279=this['_calculateSheetRangeById'](_0x352456,_0x2400af);if(_0x226279)return[_0x226279];let _0x440c89=this[_0x57497d(0xd1)][_0x57497d(0x35d)](n[_0x57497d(0x394)][_0x57497d(0x103)]),_0x4e4fe0=_0x440c89[_0x57497d(0x1fb)]();return _0x4e4fe0?this[_0x57497d(0x107)](_0x440c89[_0x57497d(0xb5)](),_0x4e4fe0[_0x57497d(0x2ff)]()):(console[_0x57497d(0x1dc)]('No\x20active\x20sheet\x20found'),[]);}return[];}case _0x57497d(0x174):{let _0x3a686b=this[_0x57497d(0xd1)][_0x57497d(0x35d)](n['UniverInstanceType'][_0x57497d(0x103)]),_0x5cc960=_0x3a686b[_0x57497d(0x1fb)]();return _0x5cc960?this[_0x57497d(0x107)](_0x3a686b[_0x57497d(0xb5)](),_0x5cc960[_0x57497d(0x2ff)]()):(console[_0x57497d(0x1dc)](_0x57497d(0x28f)),[]);}case _0x57497d(0x2ed):return this[_0x57497d(0xd1)][_0x57497d(0x35d)](n[_0x57497d(0x394)][_0x57497d(0x103)])['getSheets']()['map'](_0x30f286=>this[_0x57497d(0x107)](_0x352456,_0x30f286[_0x57497d(0x2ff)]()))['flat']();default:return(_0x5d57d1[_0x57497d(0x213)]?_0x5d57d1:_0x5d2427['getSheets']()[_0x57497d(0xcb)](_0x361f2f=>!_0x361f2f[_0x57497d(0x12a)]())[_0x57497d(0xc1)](_0x331fba=>_0x331fba[_0x57497d(0x2ff)]()))[_0x57497d(0xc1)](_0x5f4f47=>this[_0x57497d(0x11d)](_0x352456,typeof _0x5f4f47==_0x57497d(0x2ae)?_0x5f4f47:_0x5f4f47['id'],typeof _0x5f4f47==_0x57497d(0x2ae)?void 0x0:_0x5f4f47[_0x57497d(0x10a)]))[_0x57497d(0xcb)](Boolean);}}[_0x3bd298(0x395)](_0x478e9c){const _0x21e0a6=_0x3bd298;let {subUnitId:_0x57a8cc,range:_0x145ff5,freeze:_0x27ed25,unitId:_0x345638,scale:_0x2bad2c,contentSize:_0x3ac0b9}=_0x478e9c,_0x4c2137=this[_0x21e0a6(0x229)]['getRenderUnitById'](_0x345638)[_0x21e0a6(0x3a1)](s[_0x21e0a6(0x352)])[_0x21e0a6(0x2d3)](_0x57a8cc);if(!_0x4c2137)return;let {rowHeightAccumulation:_0x5418f1,columnWidthAccumulation:_0x269b65}=_0x4c2137,{w:_0x35cc43,h:_0x17b1e4}=_0x3ac0b9,{startRow:_0x37c0a1,startColumn:_0x13c530,endColumn:_0x31ca9f,endRow:_0x2a543d}=_0x145ff5,_0x4ff2d7=_0x236a2d=>{const _0x574fe1=_0x21e0a6;let _0x21faa8=_0x236a2d,_0x27aa18=this[_0x574fe1(0x2c3)][_0x574fe1(0x2f6)]<=_0x27ed25[_0x574fe1(0x14b)]?0x1/0x0:this[_0x574fe1(0x2c3)]['maxRowsEachPage']-0x1-_0x27ed25[_0x574fe1(0x14b)]+_0x236a2d,_0x9664a4=_0x236a2d===0x0?0x0:_0x5418f1[_0x236a2d-0x1];for(;_0x21faa8<_0x2a543d;){let _0x5db2d3=(_0x5418f1[_0x21faa8]-_0x9664a4)*_0x2bad2c,_0x599d7e=(_0x5418f1[_0x21faa8+0x1]-_0x9664a4)*_0x2bad2c;if(_0x21faa8++,_0x5db2d3>=_0x17b1e4||_0x5db2d3<_0x17b1e4&&_0x599d7e>_0x17b1e4)return{'startRow':_0x236a2d,'endRow':Math['min'](_0x21faa8-0x1,_0x27aa18)};}return{'startRow':_0x236a2d,'endRow':Math[_0x574fe1(0x111)](_0x21faa8,_0x27aa18)};},_0x389598=_0x4f9d84=>{const _0x5464cf=_0x21e0a6;let _0x4f3bc8=_0x4f9d84,_0x5d013d=_0x4f9d84===0x0?0x0:_0x269b65[_0x4f9d84-0x1],_0x4c4a5c=this[_0x5464cf(0x2c3)][_0x5464cf(0x1d6)]<=_0x27ed25[_0x5464cf(0x2e3)]?0x1/0x0:this['_layoutConfig'][_0x5464cf(0x1d6)]-0x1-_0x27ed25['xSplit']+_0x4f9d84;for(;_0x4f3bc8<_0x31ca9f;){let _0x346daf=(_0x269b65[_0x4f3bc8]-_0x5d013d)*_0x2bad2c,_0x159666=(_0x269b65[_0x4f3bc8+0x1]-_0x5d013d)*_0x2bad2c;if(_0x4f3bc8++,_0x346daf<_0x35cc43&&_0x159666>_0x35cc43||_0x346daf>=_0x35cc43)return{'startColumn':_0x4f9d84,'endColumn':Math[_0x5464cf(0x111)](_0x4f3bc8-0x1,_0x4c4a5c)};}return{'startColumn':_0x4f9d84,'endColumn':Math[_0x5464cf(0x111)](_0x4f3bc8,_0x4c4a5c)};},_0x3ba82b=[],_0x3df3b6=_0x37c0a1;for(;_0x3df3b6<=_0x2a543d;){let _0x3c8518=_0x4ff2d7(_0x3df3b6);_0x3ba82b[_0x21e0a6(0x181)](_0x3c8518),_0x3df3b6=_0x3c8518[_0x21e0a6(0x1ab)]+0x1;}let _0x1939a3=[],_0x1be89f=_0x13c530;for(;_0x1be89f<=_0x31ca9f;){let _0x1a8fc5=_0x389598(_0x1be89f);_0x1939a3[_0x21e0a6(0x181)](_0x1a8fc5),_0x1be89f=_0x1a8fc5[_0x21e0a6(0x2c9)]+0x1;}let _0x38cf00=[];for(let _0x440a93=0x0;_0x440a93<_0x3ba82b[_0x21e0a6(0x213)];_0x440a93++)for(let _0x4cc12d=0x0;_0x4cc12d<_0x1939a3[_0x21e0a6(0x213)];_0x4cc12d++)_0x38cf00[_0x21e0a6(0x181)]({..._0x3ba82b[_0x440a93],..._0x1939a3[_0x4cc12d]});return{'unitId':_0x345638,'subUnitId':_0x57a8cc,'pages':_0x38cf00,'freeze':_0x27ed25,'scale':_0x2bad2c,'pageSize':this[_0x21e0a6(0x257)],'margin':this[_0x21e0a6(0xef)]};}};N=O([D(0x0,n['IUniverInstanceService']),D(0x1,(0x0,n[_0x3bd298(0xff)])(r[_0x3bd298(0x323)])),D(0x2,(0x0,n[_0x3bd298(0xff)])(s[_0x3bd298(0x14c)])),D(0x3,o[_0x3bd298(0x2f7)])],N);const P=(_0x169f92,_0x1e7ee1)=>{const _0x554240=_0x3bd298;if(!_0x169f92||!_0x1e7ee1)return!0x0;let _0x2a86c0=(0x0,e[_0x554240(0x383)])(_0x169f92,_0x1e7ee1)[_0x554240(0xda)],_0x50d769=(0x0,e[_0x554240(0x123)])(_0x2a86c0,'sf',m);return!((_0x2a86c0==null?void 0x0:_0x2a86c0['rt'])===e[_0x554240(0x137)][_0x554240(0x2cd)]&&!_0x50d769);},ee=(_0x555045,_0x28e09b,_0x123e8e)=>{const _0x550a4c=_0x3bd298;let _0x20597e={'page':_0x555045,'isPro':!0x1,'timeValid':!0x1};if(!_0x28e09b||!_0x123e8e)return _0x20597e;let _0x54b599=(0x0,e[_0x550a4c(0x383)])(_0x28e09b,_0x123e8e);if(_0x54b599[_0x550a4c(0x38b)]){let _0x161bdf=_0x54b599[_0x550a4c(0xda)],_0x34116e=(0x0,e[_0x550a4c(0x123)])(_0x161bdf,'sf',m);_0x20597e[_0x550a4c(0x2aa)]=_0x34116e,_0x20597e[_0x550a4c(0x26f)]=_0x34116e,_0x20597e[_0x550a4c(0x391)]=(0x0,e[_0x550a4c(0x342)])(_0x161bdf,_0x34116e,'mpn',_0x555045,_0x555045,0x0);}return _0x20597e;};function F(_0x17cece){const _0x5b3eba=_0x3bd298;let {ls:_0xf03de4,pbk:_0x3acdbb}=_0x17cece[_0x5b3eba(0x24d)](n[_0x5b3eba(0x28b)])[_0x5b3eba(0x264)](e['LS_CONFIG_KEY'])??{};return ee(0x3,_0xf03de4,_0x3acdbb)[_0x5b3eba(0x2aa)];}const I={'id':_0x3bd298(0x29b),'type':n[_0x3bd298(0x3b3)][_0x3bd298(0x2ba)],'handler':async _0x5b4e3d=>{const _0x26b85b=_0x3bd298;let _0x1a9494=_0x5b4e3d[_0x26b85b(0x24d)](b),_0x5746c5=_0x5b4e3d[_0x26b85b(0x24d)](n[_0x26b85b(0x36d)]),_0x49b7c0=_0x5b4e3d[_0x26b85b(0x24d)](n[_0x26b85b(0x14a)]),_0x4bae28=_0x5b4e3d[_0x26b85b(0x24d)](n[_0x26b85b(0x36c)]),_0x7c0cb8=_0x5b4e3d['get'](i[_0x26b85b(0x116)]),{ls:_0x271844,pbk:_0x339833}=_0x5b4e3d['get'](n['IConfigService'])[_0x26b85b(0x264)](e[_0x26b85b(0x285)])??{};if(!P(_0x271844,_0x339833))return!0x1;let _0x328291=_0x4bae28[_0x26b85b(0x35d)](n[_0x26b85b(0x394)][_0x26b85b(0x103)])[_0x26b85b(0xb5)]();if(!(_0x5746c5[_0x26b85b(0xc8)](new r[(_0x26b85b(0x339))](_0x328291)['id'])??!0x1)){let _0x44e949={'id':h,'title':{'title':''},'children':{'label':_0x26b85b(0x165),'errorMsg':_0x49b7c0['t'](_0x26b85b(0x30e))},'width':0x140,'onClose':()=>_0x7c0cb8[_0x26b85b(0x125)](h),'className':_0x26b85b(0x13e)};throw _0x7c0cb8[_0x26b85b(0x35b)](_0x44e949),Error(_0x26b85b(0x2fe));}_0x1a9494['setPreparing'](!0x0),_0x1a9494['open']();try{return await _0x5b4e3d[_0x26b85b(0x24d)](t[_0x26b85b(0xe9)])[_0x26b85b(0x39b)]({'unitId':_0x328291,'unitType':n[_0x26b85b(0x394)][_0x26b85b(0x103)],'dpr':0x1}),!0x0;}catch(_0xdb3b66){throw _0x1a9494[_0x26b85b(0x125)](),_0xdb3b66;}finally{_0x1a9494[_0x26b85b(0xd7)](!0x1);}}},L={'type':n[_0x3bd298(0x3b3)][_0x3bd298(0x2ba)],'id':_0x3bd298(0x252),'handler'(_0x20b782){const _0x520446=_0x3bd298;let _0x549a5e=_0x20b782['get'](b),_0x4c3e18=_0x20b782[_0x520446(0x24d)](k);return _0x549a5e[_0x520446(0x125)](),_0x4c3e18['reset'](),!0x0;}},R={'type':n[_0x3bd298(0x3b3)][_0x3bd298(0x2ba)],'id':_0x3bd298(0x31f),'handler'(){return!0x0;}},z={'id':_0x3bd298(0x2b0),'type':n[_0x3bd298(0x3b3)]['COMMAND'],'handler'(_0x522073,_0x33693f){const _0x317d52=_0x3bd298;if(!_0x33693f)return!0x1;let _0x2a58d6=_0x522073[_0x317d52(0x24d)](n[_0x317d52(0x25c)]),_0x32ba83=_0x522073[_0x317d52(0x24d)](k);return _0x32ba83[_0x317d52(0x344)](_0x33693f[_0x317d52(0x23a)]),_0x32ba83[_0x317d52(0x22c)](_0x33693f[_0x317d52(0xf7)]),_0x2a58d6['syncExecuteCommand'](R['id']);}};function B(_0x41d9ba,_0x1093dc){const _0x597944=_0x3bd298;switch(_0x41d9ba){case _0x597944(0x28a):return _0x1093dc[_0x597944(0x25d)][_0x597944(0x12b)];case _0x597944(0x392):return _0x1093dc[_0x597944(0x1d8)][_0x597944(0x17a)]();case'@Page':return''+_0x1093dc[_0x597944(0x391)];case _0x597944(0x15a):return''+_0x1093dc['pageTotal'];case _0x597944(0x279):return''+_0x1093dc[_0x597944(0x316)];case _0x597944(0x346):return''+_0x1093dc[_0x597944(0x154)];case _0x597944(0xe0):return _0x1093dc[_0x597944(0x28c)]['format'](_0x1093dc[_0x597944(0x259)]['t'](_0x597944(0x349)));case _0x597944(0x303):return _0x1093dc[_0x597944(0x28c)][_0x597944(0x206)](_0x1093dc[_0x597944(0x259)]['t'](_0x597944(0x295)));case _0x597944(0x3b8):return _0x1093dc['now'][_0x597944(0x206)](_0x1093dc[_0x597944(0x259)]['t'](_0x597944(0x244)));case _0x597944(0x273):return _0x1093dc[_0x597944(0x28c)][_0x597944(0x206)](_0x1093dc[_0x597944(0x259)]['t'](_0x597944(0x186)));case _0x597944(0x388):return _0x1093dc[_0x597944(0x28c)][_0x597944(0x206)](_0x1093dc[_0x597944(0x259)]['t'](_0x597944(0x151)));case'@TimeA':return _0x1093dc[_0x597944(0x28c)][_0x597944(0x206)](_0x1093dc['localeService']['t'](_0x597944(0x212)));case _0x597944(0x237):return _0x1093dc[_0x597944(0x28c)][_0x597944(0x206)](_0x1093dc[_0x597944(0x259)]['t'](_0x597944(0xdc)));case _0x597944(0x10c):return _0x1093dc[_0x597944(0x28c)]['format'](_0x1093dc[_0x597944(0x259)]['t']('sheets-print.headerFooter.timeC'));case _0x597944(0x300):return _0x1093dc[_0x597944(0x28c)][_0x597944(0x206)](_0x1093dc[_0x597944(0x259)]['t'](_0x597944(0x179)));}}const te=Object[_0x3bd298(0x26a)](T);function V(_0x20ba2b,_0x390e31){let _0x47ea6f=_0x20ba2b;return te['forEach'](_0x24c9e0=>{const _0x59fdce=_0x181a;_0x47ea6f=_0x47ea6f[_0x59fdce(0x121)](_0x24c9e0,B(_0x24c9e0,_0x390e31));}),_0x47ea6f;}const H=_0x3bd298(0x190);function ne(_0x327cd8,_0x5174d9){const _0x50ad98=_0x3bd298;let _0xefb251=_0x327cd8;_0x5174d9[_0x50ad98(0x2a5)](_0x445eb0=>{const _0x44afa4=_0x50ad98;_0xefb251=_0xefb251['replaceAll'](_0x445eb0[_0x44afa4(0x397)],''+H+_0x445eb0['label']+H);});let _0x1f6732=_0xefb251[_0x50ad98(0x3c3)](H),_0x565aed=n[_0x50ad98(0x1f2)][_0x50ad98(0xd0)]();return _0x1f6732['forEach']((_0x30ce33,_0x273556)=>{const _0xeae20f=_0x50ad98;if(_0x30ce33){if(_0x273556%0x2==0x1){let _0xc0de6d=_0x30ce33,_0x2da8ea={'id':'d','documentStyle':{},'drawings':{},'drawingsOrder':[],'body':{'dataStream':_0x30ce33,'customBlocks':[],'customRanges':[{'startIndex':0x0,'endIndex':_0x30ce33[_0xeae20f(0x213)]-0x1,'rangeId':(0x0,n[_0xeae20f(0x2df)])(),'rangeType':n[_0xeae20f(0x358)]['MENTION'],'properties':{'value':_0x5174d9['find'](_0x3e17ef=>_0x3e17ef[_0xeae20f(0x140)]===_0xc0de6d)[_0xeae20f(0x397)]}}]}};_0x565aed[_0xeae20f(0x231)](_0x2da8ea);}else _0x565aed[_0xeae20f(0x364)](_0x30ce33);}}),_0x565aed['getData']();}function re(_0x16bb2d){const _0x46b991=_0x3bd298;var _0x258814;if(!(_0x16bb2d!=null&&_0x16bb2d[_0x46b991(0x1b2)]))return'';let _0x4d8aca=n[_0x46b991(0x1f2)][_0x46b991(0xd0)](n[_0x46b991(0x276)][_0x46b991(0x38e)](_0x16bb2d));for(;(_0x258814=_0x4d8aca['getData']()['body'][_0x46b991(0x347)])!=null&&_0x258814[_0x46b991(0x213)];){let _0x2fa905=_0x4d8aca[_0x46b991(0x23f)]()['body']['customRanges'][0x0];if(!_0x2fa905)break;_0x4d8aca[_0x46b991(0x1eb)](_0x2fa905['startIndex'],_0x2fa905[_0x46b991(0x1a0)]+0x1-_0x2fa905['startIndex']),_0x4d8aca[_0x46b991(0x364)](_0x2fa905[_0x46b991(0x17f)],_0x2fa905[_0x46b991(0x17b)]['value']);}return _0x4d8aca['getData']()[_0x46b991(0x1b2)][_0x46b991(0x126)];}function ie(_0xb6e427,_0x453910){const _0x5b7336=_0x3bd298;_0xb6e427[_0x5b7336(0x28e)]()[_0x5b7336(0x2a5)](_0x54edf0=>{const _0x173a73=_0x5b7336;var _0x596805;let _0x5cb952=(_0x596805=_0x54edf0[_0x173a73(0x351)])==null?void 0x0:_0x596805[_0x173a73(0x354)](_0x54edf0);_0x5cb952&&_0x453910[_0x173a73(0x10b)](_0x5cb952);});}var ae=class extends n[_0x3bd298(0x1a7)]{get[_0x3bd298(0x304)](){const _0x4677c7=_0x3bd298;return this[_0x4677c7(0x3a9)][_0x4677c7(0x1f1)];}get['key'](){const _0xd059aa=_0x3bd298;return this[_0xd059aa(0x163)];}get[_0x3bd298(0x1ec)](){const _0x2e2459=_0x3bd298;return this[_0x2e2459(0x2ea)];}get[_0x3bd298(0x2da)](){const _0x379f9b=_0x3bd298;return this[_0x379f9b(0x266)];}get[_0x3bd298(0x343)](){const _0x261527=_0x3bd298;return this[_0x261527(0x1cc)];}get['renderConfig'](){const _0x7c0153=_0x3bd298;return this[_0x7c0153(0x3a9)];}set[_0x3bd298(0xf7)](_0x1a884c){this['_renderConfig']=_0x1a884c;}constructor(_0x447b14,_0xf2b42f,_0x1e4ec1,_0x27f7d2=!0x0,_0x48b97a=0x1){const _0x4e4aed=_0x3bd298;super(),this[_0x4e4aed(0x130)]=_0x447b14,this[_0x4e4aed(0xca)]=_0xf2b42f,this[_0x4e4aed(0x3a9)]=_0x1e4ec1,this[_0x4e4aed(0x203)]=_0x27f7d2,this['_previewScale']=_0x48b97a,y(this,_0x4e4aed(0x2ea),void 0x0),y(this,_0x4e4aed(0x37c),void 0x0),y(this,_0x4e4aed(0x163),void 0x0),y(this,_0x4e4aed(0x195),void 0x0),y(this,_0x4e4aed(0x254),void 0x0),y(this,_0x4e4aed(0xbb),void 0x0),y(this,'_viewLeft',void 0x0),y(this,_0x4e4aed(0x1e6),void 0x0),y(this,'_viewLeftTop',void 0x0),y(this,'_viewRowBottom',null),y(this,_0x4e4aed(0xc7),null),y(this,_0x4e4aed(0x266),document[_0x4e4aed(0x1c4)](_0x4e4aed(0xbd))),y(this,_0x4e4aed(0x1cc),document[_0x4e4aed(0x1c4)](_0x4e4aed(0xbd))),y(this,_0x4e4aed(0x1ff),void 0x0),y(this,_0x4e4aed(0xd1),void 0x0),y(this,_0x4e4aed(0x320),!0x0),y(this,_0x4e4aed(0x20b),void 0x0),y(this,_0x4e4aed(0x3b4),new n[(_0x4e4aed(0x24c))]()),y(this,_0x4e4aed(0xe7),new s['SheetPrintingResourceCollector']()),y(this,_0x4e4aed(0x333),void 0x0),y(this,_0x4e4aed(0x26b),0x0),y(this,_0x4e4aed(0x30d),0x0);let {unitId:_0x17de9f,subUnitId:_0x57b45a}=this['_config'];this[_0x4e4aed(0x195)]=_0x17de9f,this['_subUnitId']=_0x57b45a,this[_0x4e4aed(0x163)]=_0x17de9f+'_'+_0x57b45a,this[_0x4e4aed(0xd1)]=this[_0x4e4aed(0x130)][_0x4e4aed(0x24d)](n[_0x4e4aed(0x36c)]);let _0x238acb=this[_0x4e4aed(0x130)][_0x4e4aed(0x24d)](o[_0x4e4aed(0x2f7)]);this[_0x4e4aed(0x20b)]=_0x238acb['getRenderUnitById'](_0x17de9f);let _0x5a4f8d=this['_targetRender'][_0x4e4aed(0x3a1)](s[_0x4e4aed(0x352)])[_0x4e4aed(0x2d3)](_0x57b45a);this[_0x4e4aed(0x1ff)]=_0x5a4f8d,this[_0x4e4aed(0x1cc)][_0x4e4aed(0x3ad)]=_0x4e4aed(0x324),this[_0x4e4aed(0x1f4)]();}['dispose'](){const _0x27cec7=_0x3bd298;var _0x437d20;super[_0x27cec7(0x3bb)](),this[_0x27cec7(0x3b4)][_0x27cec7(0x3bb)](),(_0x437d20=this['_container'][_0x27cec7(0x11a)])==null||_0x437d20[_0x27cec7(0x159)](this[_0x27cec7(0x266)]);}get[_0x3bd298(0x257)](){const _0x268097=_0x3bd298;let {w:_0x2c408e,h:_0x2bc7fc}=this[_0x268097(0xca)][_0x268097(0x16f)];return{'w':_0x2c408e*this[_0x268097(0x396)],'h':_0x2bc7fc*this[_0x268097(0x396)]};}get[_0x3bd298(0x1ea)](){const _0x2bdf90=_0x3bd298;let _0x3d9247=this[_0x2bdf90(0xca)][_0x2bdf90(0x1ea)];return{'top':_0x3d9247[_0x2bdf90(0x3a2)]*this[_0x2bdf90(0x396)],'bottom':_0x3d9247['bottom']*this[_0x2bdf90(0x396)],'left':_0x3d9247['left']*this[_0x2bdf90(0x396)],'right':_0x3d9247[_0x2bdf90(0x150)]*this['_previewScale']};}['_initRenderer'](){const _0x3264d1=_0x3bd298;let _0x53a173=this['paperSize'],_0x515049=this[_0x3264d1(0xca)][_0x3264d1(0x35c)]*this['_previewScale'],_0x4163e8=this[_0x3264d1(0x203)]?Math[_0x3264d1(0x2e1)](0x1,window[_0x3264d1(0x1a4)]):0x1;this[_0x3264d1(0x2ea)]=new o[(_0x3264d1(0x29d))]('',{'elementWidth':_0x53a173['w'],'elementHeight':_0x53a173['h'],'dpr':_0x4163e8,'renderMode':o['CanvasRenderMode'][_0x3264d1(0x24a)]}),this['_scene']=new o[(_0x3264d1(0x1c5))](this[_0x3264d1(0x163)],this[_0x3264d1(0x2ea)]),this[_0x3264d1(0x37c)][_0x3264d1(0x35c)](_0x515049,_0x515049),this['_engine'][_0x3264d1(0x184)](this[_0x3264d1(0x266)],this[_0x3264d1(0x203)]),this[_0x3264d1(0x2ea)][_0x3264d1(0x368)]()['getContext']()['setId'](this[_0x3264d1(0x163)]+'_'+(0x0,n[_0x3264d1(0x2df)])(0x4)),this[_0x3264d1(0x1e9)](),this[_0x3264d1(0x281)](),this[_0x3264d1(0x1d1)]({'dispose':()=>{const _0x5903e3=_0x3264d1;this['_engine']['dispose'](),this[_0x5903e3(0x37c)][_0x5903e3(0x3bb)](),this['clearMemory']();}});}[_0x3bd298(0x282)](){const _0x191a9c=_0x3bd298;this['_skeleton'][_0x191a9c(0x168)]();}[_0x3bd298(0x3b0)](_0x41be1a){const _0x4b2c51=_0x3bd298;this[_0x4b2c51(0x37c)][_0x4b2c51(0x35c)](this[_0x4b2c51(0xca)][_0x4b2c51(0x35c)]*_0x41be1a,this[_0x4b2c51(0xca)][_0x4b2c51(0x35c)]*_0x41be1a),this['_previewScale']=_0x41be1a,this[_0x4b2c51(0x371)](!0x0);}[_0x3bd298(0x2c1)](_0x3127b5){const _0x20b7ca=_0x3bd298;this[_0x20b7ca(0xca)]=_0x3127b5,this[_0x20b7ca(0x371)](!0x0);}['markDirty'](_0x356746){const _0x479437=_0x3bd298;this[_0x479437(0x320)]=_0x356746;}[_0x3bd298(0x1e9)](){const _0x145a66=_0x3bd298;var _0x3406aa;let _0x502040=new o['Spreadsheet'](_0x145a66(0x191),this['_skeleton'],!0x1);_0x502040[_0x145a66(0x31d)]=!0x0;let _0x55760d=(_0x3406aa=this[_0x145a66(0x20b)])==null?void 0x0:_0x3406aa[_0x145a66(0x1c6)];if(_0x55760d&&ie(_0x55760d,_0x502040),this['_scene']['addObject'](_0x502040),this['_spreadsheetObject']=_0x502040,this[_0x145a66(0xca)][_0x145a66(0x308)]){let _0x5f44a5=new o[(_0x145a66(0x223))](_0x145a66(0x10d),this[_0x145a66(0x1ff)]),_0x1877fa=new o['SpreadsheetColumnHeader'](_0x145a66(0x23e),this['_skeleton']);this['_scene'][_0x145a66(0x1cb)]([_0x5f44a5,_0x1877fa],0x1);}let _0x586919=this[_0x145a66(0x130)][_0x145a66(0x24d)](s[_0x145a66(0x14c)]);_0x586919[_0x145a66(0x36b)]['fetchThroughInterceptors'](_0x586919[_0x145a66(0x36b)][_0x145a66(0x138)]()[_0x145a66(0x2cc)])(void 0x0,{'unitId':this[_0x145a66(0x195)],'subUnitId':this[_0x145a66(0x254)],'scene':this[_0x145a66(0x37c)],'engine':this[_0x145a66(0x2ea)],'root':this[_0x145a66(0x1cc)],'worksheet':this[_0x145a66(0x1ff)][_0x145a66(0x1d8)],'skeleton':this[_0x145a66(0x1ff)],'range':this[_0x145a66(0xca)][_0x145a66(0x10a)],'offset':this[_0x145a66(0x2db)](),'spreadsheet':this[_0x145a66(0x333)],'resourceCollector':this[_0x145a66(0xe7)]});}['_addViewport'](){const _0x535333=_0x3bd298;this[_0x535333(0xbb)]=new o[(_0x535333(0x1e0))](o[_0x535333(0x2be)][_0x535333(0x205)],this[_0x535333(0x37c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x535333(0x1f6)]=new o[(_0x535333(0x1e0))](o[_0x535333(0x2be)][_0x535333(0x2a3)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x535333(0x1e6)]=new o[(_0x535333(0x1e0))](o[_0x535333(0x2be)][_0x535333(0x288)],this[_0x535333(0x37c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x535333(0x280)]=new o[(_0x535333(0x1e0))](o[_0x535333(0x2be)][_0x535333(0x294)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this['_config'][_0x535333(0x308)]&&(this[_0x535333(0x31b)]=new o[(_0x535333(0x1e0))](o['SHEET_VIEWPORT_KEY'][_0x535333(0x22a)],this[_0x535333(0x37c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x535333(0xc7)]=new o[(_0x535333(0x1e0))](o[_0x535333(0x2be)][_0x535333(0xba)],this[_0x535333(0x37c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}));}[_0x3bd298(0x164)](){const _0x5df228=_0x3bd298;let {freeze:_0x18a546,range:_0x29ca42}=this[_0x5df228(0xca)],{xSplit:_0x811dcd,ySplit:_0x93609a,startColumn:_0x3156a9,startRow:_0x25802b}=_0x18a546,{rowHeaderWidth:_0x250e6b,columnHeaderHeight:_0x5cd266}=this[_0x5df228(0x1ff)];this[_0x5df228(0x37c)]['scale'](this[_0x5df228(0xca)][_0x5df228(0x35c)]*this['_previewScale'],this[_0x5df228(0xca)]['scale']*this[_0x5df228(0x396)]);let _0x5e2f7b=this[_0x5df228(0x1ff)][_0x5df228(0x2b8)](_0x25802b-_0x93609a,_0x3156a9-_0x811dcd,!0x1),_0x57b8ea=this[_0x5df228(0x1ff)]['getNoMergeCellWithCoordByIndex'](_0x25802b,_0x3156a9,!0x1),_0x3a0086=_0x811dcd>0x0?_0x57b8ea[_0x5df228(0x2fd)]-_0x5e2f7b[_0x5df228(0x2fd)]:0x0,_0x33c166=_0x93609a>0x0?_0x57b8ea[_0x5df228(0xe4)]-_0x5e2f7b[_0x5df228(0xe4)]:0x0,_0x13457a={'startX':_0x811dcd>0x0?_0x5e2f7b[_0x5df228(0x2fd)]:0x0,'endX':_0x811dcd>0x0?_0x57b8ea[_0x5df228(0x2fd)]:0x0,'startY':_0x93609a>0x0?_0x5e2f7b[_0x5df228(0xe4)]:0x0,'endY':_0x93609a>0x0?_0x57b8ea[_0x5df228(0xe4)]:0x0},_0x4c8fe2=this['_skeleton']['getNoMergeCellWithCoordByIndex'](_0x29ca42['startRow'],_0x29ca42[_0x5df228(0x13f)],!0x1),_0x30ab60=this[_0x5df228(0x37c)][_0x5df228(0x2de)](),_0x31bf91=_0x473e35=>(0x0,o[_0x5df228(0x11f)])(_0x473e35,_0x30ab60[_0x5df228(0x2c0)]),_0x273f30=_0x80dac3=>(0x0,o[_0x5df228(0x11f)])(_0x80dac3,_0x30ab60[_0x5df228(0x3c6)]),_0x22c291=this[_0x5df228(0x1ff)][_0x5df228(0x2b8)](_0x29ca42['endRow'],_0x29ca42[_0x5df228(0x2c9)],!0x1),_0x42e4ea=Math[_0x5df228(0x2e1)](0x0,_0x31bf91(_0x22c291[_0x5df228(0x218)])-Math[_0x5df228(0x2e1)](_0x4c8fe2[_0x5df228(0x2fd)],_0x13457a['endX'])),_0x126236=Math[_0x5df228(0x2e1)](0x0,_0x273f30(_0x22c291['endY'])-_0x273f30(Math[_0x5df228(0x2e1)](_0x4c8fe2['startY'],_0x13457a[_0x5df228(0x2f9)]))),_0x23bce7=0x1/Math[_0x5df228(0x2e1)](_0x30ab60[_0x5df228(0x2c0)],_0x30ab60[_0x5df228(0x3c6)]),_0x165858=this[_0x5df228(0xca)][_0x5df228(0x308)]?_0x250e6b:0x0,_0x3ed141=this['_config'][_0x5df228(0x308)]?_0x5cd266:0x0,_0x45081a=_0x165858+_0x3a0086+_0x42e4ea+_0x23bce7,_0x1ad78f=_0x3ed141+_0x33c166+_0x126236+_0x23bce7;this[_0x5df228(0x26b)]=_0x45081a,this['_totalHeight']=_0x1ad78f;let _0x1f232c={'x':_0x3a0086,'y':_0x33c166},_0x46486d=_0x23bce7,_0x5ebb20=_0x23bce7,_0x2e693f={'x':_0x31bf91(_0x22c291['endX'])-_0x31bf91(_0x42e4ea)-_0x31bf91(Math[_0x5df228(0x2e1)](_0x4c8fe2[_0x5df228(0x2fd)],_0x13457a[_0x5df228(0x218)])),'y':_0x273f30(_0x22c291['endY'])-_0x273f30(_0x126236)-_0x273f30(Math[_0x5df228(0x2e1)](_0x4c8fe2[_0x5df228(0xe4)],_0x13457a[_0x5df228(0x2f9)]))};if(_0x811dcd>0x0&&_0x93609a>0x0?(this[_0x5df228(0x280)]['enable'](),this[_0x5df228(0x280)][_0x5df228(0x328)]({'top':0x0,'left':0x0,'height':_0x273f30(_0x1f232c['y']),'width':_0x31bf91(_0x1f232c['x'])}),this[_0x5df228(0x280)][_0x5df228(0x3b7)]({'viewportScrollX':_0x31bf91(_0x13457a['startX'])+_0x31bf91(_0x250e6b),'viewportScrollY':_0x273f30(_0x13457a[_0x5df228(0xe4)])+_0x273f30(_0x5cd266)})):this[_0x5df228(0x280)]['disable'](),_0x811dcd>0x0?(this[_0x5df228(0x1f6)][_0x5df228(0x2b9)](),this[_0x5df228(0x1f6)][_0x5df228(0x328)]({'top':_0x31bf91(_0x1f232c['y']),'left':0x0,'height':_0x273f30(_0x126236)+_0x46486d+_0x2e693f['y'],'width':_0x31bf91(_0x1f232c['x'])}),this[_0x5df228(0x1f6)][_0x5df228(0x3b7)]({'viewportScrollX':_0x31bf91(_0x13457a[_0x5df228(0x2fd)])+_0x31bf91(_0x250e6b),'viewportScrollY':_0x273f30(_0x4c8fe2[_0x5df228(0xe4)])+_0x273f30(_0x5cd266)-_0x273f30(_0x1f232c['y'])})):this['_viewLeft']['disable'](),_0x93609a>0x0?(this[_0x5df228(0x1e6)][_0x5df228(0x2b9)](),this['_viewTop'][_0x5df228(0x328)]({'top':0x0,'left':_0x31bf91(_0x1f232c['x']),'height':_0x273f30(_0x1f232c['y']),'width':_0x31bf91(_0x42e4ea)+_0x5ebb20+_0x2e693f['x']}),this[_0x5df228(0x1e6)]['updateScrollVal']({'viewportScrollX':_0x31bf91(_0x4c8fe2[_0x5df228(0x2fd)])+_0x31bf91(_0x250e6b)-_0x31bf91(_0x1f232c['x']),'viewportScrollY':_0x273f30(_0x13457a[_0x5df228(0xe4)])+_0x273f30(_0x5cd266)})):this[_0x5df228(0x1e6)][_0x5df228(0x370)](),this['_config']['includeHeaderDimensions']){let _0x22333c=_0x31bf91(_0x250e6b),_0x1b422b=_0x273f30(_0x5cd266),_0x2c0274=_0x31bf91(_0x42e4ea)+_0x5ebb20+_0x2e693f['x'],_0xcc158d=_0x273f30(_0x126236)+_0x46486d+_0x2e693f['y'];this[_0x5df228(0xbb)][_0x5df228(0x328)]({'top':_0x1b422b,'left':_0x22333c,'height':_0xcc158d,'width':_0x2c0274}),this['_viewMain'][_0x5df228(0x3b7)]({'viewportScrollX':_0x31bf91(_0x4c8fe2[_0x5df228(0x2fd)]),'viewportScrollY':_0x273f30(_0x4c8fe2[_0x5df228(0xe4)])}),this[_0x5df228(0x31b)]&&this['_viewColumnRight']&&(this['_viewColumnRight'][_0x5df228(0x2b9)](),this[_0x5df228(0xc7)][_0x5df228(0x328)]({'top':0x0,'left':_0x22333c,'height':_0x1b422b,'width':_0x2c0274}),this[_0x5df228(0xc7)][_0x5df228(0x3b7)]({'viewportScrollX':_0x31bf91(_0x4c8fe2[_0x5df228(0x2fd)]),'viewportScrollY':0x0}),this[_0x5df228(0x31b)]['enable'](),this[_0x5df228(0x31b)][_0x5df228(0x328)]({'top':_0x1b422b,'left':0x0,'height':_0xcc158d,'width':_0x22333c}),this[_0x5df228(0x31b)]['updateScrollVal']({'viewportScrollX':0x0,'viewportScrollY':_0x273f30(_0x4c8fe2[_0x5df228(0xe4)])}));}else this[_0x5df228(0xbb)][_0x5df228(0x328)]({'top':_0x273f30(_0x1f232c['y']),'left':_0x31bf91(_0x1f232c['x']),'height':_0x273f30(_0x126236)+_0x46486d+_0x2e693f['y'],'width':_0x31bf91(_0x42e4ea)+_0x5ebb20+_0x2e693f['x']}),this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x31bf91(_0x4c8fe2[_0x5df228(0x2fd)])+_0x31bf91(_0x250e6b)-_0x31bf91(_0x1f232c['x']),'viewportScrollY':_0x273f30(_0x4c8fe2['startY'])+_0x273f30(_0x5cd266)-_0x273f30(_0x1f232c['y'])});}['_getTranslateOffset'](){const _0x57de43=_0x3bd298;let _0x5831f7=this[_0x57de43(0x1ea)],{vAlign:_0x3f8fc9,hAlign:_0x1ddc66}=this[_0x57de43(0x3a9)],_0x92fe81=Math['max'](this[_0x57de43(0x37c)][_0x57de43(0x2c0)],this['_scene'][_0x57de43(0x3c6)]),_0x3074ec;switch(_0x1ddc66){case t['PrintAlign'][_0x57de43(0x1f8)]:_0x3074ec=_0x5831f7[_0x57de43(0x122)];break;case t['PrintAlign']['End']:_0x3074ec=this['paperSize']['w']-this[_0x57de43(0x26b)]*_0x92fe81-_0x5831f7[_0x57de43(0x150)];break;default:_0x3074ec=_0x5831f7[_0x57de43(0x122)]+(this[_0x57de43(0x257)]['w']-this['_totalWidth']*_0x92fe81-_0x5831f7[_0x57de43(0x122)]-_0x5831f7[_0x57de43(0x150)])/0x2;}let _0xf8632f;switch(_0x3f8fc9){case t[_0x57de43(0x1a2)][_0x57de43(0x1f8)]:_0xf8632f=_0x5831f7[_0x57de43(0x3a2)];break;case t[_0x57de43(0x1a2)][_0x57de43(0x379)]:_0xf8632f=this[_0x57de43(0x257)]['h']-this[_0x57de43(0x30d)]*_0x92fe81-_0x5831f7[_0x57de43(0x217)];break;default:_0xf8632f=(this['paperSize']['h']-this[_0x57de43(0x30d)]*_0x92fe81-_0x5831f7[_0x57de43(0x3a2)]-_0x5831f7[_0x57de43(0x217)])/0x2+_0x5831f7[_0x57de43(0x3a2)];}return{'offsetX':Math['round'](_0x3074ec),'offsetY':Math[_0x57de43(0x149)](_0xf8632f),'scale':_0x92fe81};}[_0x3bd298(0x39b)](){const _0x2009f2=_0x3bd298;this[_0x2009f2(0x164)](),this['_effects'][_0x2009f2(0x3bb)](),this[_0x2009f2(0x3b4)]=new n[(_0x2009f2(0x24c))]();let _0x3198f8=this[_0x2009f2(0x130)][_0x2009f2(0x24d)](s[_0x2009f2(0x14c)]),{offsetX:_0x44b91f,offsetY:_0x11b6eb,scale:_0x14ef79}=this[_0x2009f2(0x2db)](),_0x1a6ee8=_0x44b91f,_0x1f76bb=_0x11b6eb;this[_0x2009f2(0x1cc)]['style'][_0x2009f2(0x122)]=_0x1a6ee8+'px',this['_root']['style'][_0x2009f2(0x3a2)]=_0x1f76bb+'px';let _0x5c614c=this[_0x2009f2(0x26b)]*_0x14ef79,_0x3f4d2e=this[_0x2009f2(0x30d)]*_0x14ef79;this['_root'][_0x2009f2(0x271)][_0x2009f2(0x298)]=_0x5c614c+'px',this['_root'][_0x2009f2(0x271)][_0x2009f2(0x3b9)]=_0x3f4d2e+'px',this[_0x2009f2(0x1cc)][_0x2009f2(0x271)][_0x2009f2(0x32c)]='absolute',this[_0x2009f2(0x1cc)][_0x2009f2(0x271)][_0x2009f2(0x1e7)]=_0x2009f2(0x1f7),_0x3198f8['interceptor'][_0x2009f2(0x39f)](_0x3198f8[_0x2009f2(0x36b)]['getInterceptPoints']()[_0x2009f2(0x2fb)])(this[_0x2009f2(0x3b4)],{'unitId':this[_0x2009f2(0x195)],'subUnitId':this[_0x2009f2(0x254)],'scene':this[_0x2009f2(0x37c)],'engine':this[_0x2009f2(0x2ea)],'root':this[_0x2009f2(0x1cc)],'worksheet':this[_0x2009f2(0x1ff)][_0x2009f2(0x1d8)],'skeleton':this[_0x2009f2(0x1ff)],'range':this[_0x2009f2(0xca)][_0x2009f2(0x10a)],'offset':this['_getTranslateOffset'](),'resourceCollector':this['_resourceCollector']});}['_renderMainScene'](){const _0x145d90=_0x3bd298;this[_0x145d90(0x320)]&&this['prepare']();let _0x22a505=this[_0x145d90(0x2ea)]['getCanvas']()[_0x145d90(0x221)](),{gridlines:_0x2cc518}=this[_0x145d90(0x3a9)],{offsetX:_0x994af2,offsetY:_0x24a9bc}=this['_getTranslateOffset']();this[_0x145d90(0x333)][_0x145d90(0x356)](!_0x2cc518),this[_0x145d90(0x333)][_0x145d90(0xfc)](),this['_scene']['makeDirty'](),_0x22a505[_0x145d90(0x2a1)](),_0x22a505['translateWithPrecision'](_0x994af2,_0x24a9bc),this[_0x145d90(0x37c)]['render'](),_0x22a505[_0x145d90(0x17e)]();}['_renderHeaderFooterByCustom'](_0x2662b2,_0x44898f,_0xdc288){const _0x228e9d=_0x3bd298;let {w:_0x9c09e1,h:_0x3c4f99}=this[_0x228e9d(0x257)],_0x1e4e77=this['_engine'][_0x228e9d(0x368)]()[_0x228e9d(0x221)]();_0x1e4e77['save'](),_0x1e4e77['font']=_0x228e9d(0x2e5)+o['DEFAULT_FONTFACE_PLANE'];let _0x6aa214=0x13*this[_0x228e9d(0x396)],_0x1e3377=0x14*this[_0x228e9d(0x396)],_0x2c6c59={'workbook':_0x44898f,'worksheet':_0xdc288,'now':(0x0,n['dateKit'])(),'localeService':this[_0x228e9d(0x130)]['get'](n[_0x228e9d(0x14a)]),'page':this[_0x228e9d(0xca)][_0x228e9d(0x391)],'pageTotal':this['_config']['pageTotal'],'sheetPageTotal':this[_0x228e9d(0xca)]['sheetPageTotal'],'sheetPage':this[_0x228e9d(0xca)]['sheetPage']};if(_0x2662b2[_0x228e9d(0x147)]){let _0x10ab09=V(_0x2662b2[_0x228e9d(0x147)],_0x2c6c59);_0x1e4e77[_0x228e9d(0x267)](_0x10ab09,_0x6aa214,_0x1e3377);}if(_0x2662b2['topCenter']){let _0x5dda46=V(_0x2662b2['topCenter'],_0x2c6c59),_0x5cd424=_0x1e4e77[_0x228e9d(0x18e)](_0x5dda46);_0x1e4e77[_0x228e9d(0x267)](_0x5dda46,(_0x9c09e1-_0x5cd424[_0x228e9d(0x298)])/0x2,_0x1e3377);}if(_0x2662b2[_0x228e9d(0x1fd)]){let _0x4c49ac=V(_0x2662b2[_0x228e9d(0x1fd)],_0x2c6c59),_0x389728=_0x1e4e77[_0x228e9d(0x18e)](_0x4c49ac);_0x1e4e77[_0x228e9d(0x267)](_0x4c49ac,_0x9c09e1-_0x389728[_0x228e9d(0x298)]-_0x6aa214,_0x1e3377);}if(_0x2662b2[_0x228e9d(0x3a5)]){let _0x130a95=V(_0x2662b2[_0x228e9d(0x3a5)],_0x2c6c59);_0x1e4e77[_0x228e9d(0x267)](_0x130a95,_0x6aa214,_0x3c4f99-_0x1e3377);}if(_0x2662b2[_0x228e9d(0x131)]){let _0x3fb16f=V(_0x2662b2[_0x228e9d(0x131)],_0x2c6c59),_0x1a7959=_0x1e4e77[_0x228e9d(0x18e)](_0x3fb16f);_0x1e4e77['fillText'](_0x3fb16f,(_0x9c09e1-_0x1a7959[_0x228e9d(0x298)])/0x2,_0x3c4f99-_0x1e3377);}if(_0x2662b2[_0x228e9d(0x236)]){let _0x57b6d6=V(_0x2662b2[_0x228e9d(0x236)],_0x2c6c59),_0x2cdeda=_0x1e4e77[_0x228e9d(0x18e)](_0x57b6d6);_0x1e4e77[_0x228e9d(0x267)](_0x57b6d6,_0x9c09e1-_0x2cdeda[_0x228e9d(0x298)]-_0x6aa214,_0x3c4f99-_0x1e3377);}_0x1e4e77[_0x228e9d(0x17e)]();}['_renderHeaderFooter'](){const _0x592bf0=_0x3bd298;let _0x4aec6d=this[_0x592bf0(0xd1)][_0x592bf0(0x240)](this[_0x592bf0(0xca)]['unitId'],n[_0x592bf0(0x394)]['UNIVER_SHEET']),_0x3454b0=_0x4aec6d==null?void 0x0:_0x4aec6d['getSheetBySheetId'](this[_0x592bf0(0xca)][_0x592bf0(0x1af)]),{headerFooter:_0x1b1526,isCustomHeaderFooter:_0x226015,headerFooterSetting:_0x1b7b43}=this['_renderConfig'],{w:_0x235e62,h:_0x2246fa}=this[_0x592bf0(0x257)],_0x1384e2=this[_0x592bf0(0x2ea)][_0x592bf0(0x368)]()[_0x592bf0(0x221)]();if(!_0x4aec6d||!_0x3454b0)return;if(_0x226015&&_0x1b7b43){this[_0x592bf0(0x19a)](_0x1b7b43,_0x4aec6d,_0x3454b0);return;}_0x1384e2['save'](),_0x1384e2[_0x592bf0(0x2b3)]=_0x592bf0(0x2e5)+o[_0x592bf0(0x243)];let _0x4b5975=0x13*this[_0x592bf0(0x396)],_0x66310d=0x14*this['_previewScale'];if(_0x1b1526[_0x592bf0(0x286)]('Date')||_0x1b1526['includes'](_0x592bf0(0xec))){let _0x5139e3=new Date()['toLocaleString']();_0x1b1526['includes'](_0x592bf0(0x19e))?_0x1b1526[_0x592bf0(0x286)](_0x592bf0(0xec))||(_0x5139e3=new Date()[_0x592bf0(0x2a9)]()):_0x5139e3=new Date()[_0x592bf0(0xf1)](),_0x1384e2['fillText'](_0x5139e3,_0x4b5975,_0x2246fa-_0x66310d);}_0x1b1526[_0x592bf0(0x2a5)](_0x1a80f8=>{const _0x5c0214=_0x592bf0;switch(_0x1a80f8){case _0x5c0214(0x183):{let _0x4db17d=_0x4aec6d[_0x5c0214(0x12b)],_0x723745=_0x1384e2[_0x5c0214(0x18e)](_0x4db17d),_0x1ba697=_0x723745[_0x5c0214(0x284)]+_0x723745[_0x5c0214(0x3ae)];_0x1384e2['fillText'](_0x4db17d,_0x4b5975,_0x66310d+_0x1ba697);break;}case _0x5c0214(0x334):{let _0x36d608=_0x3454b0[_0x5c0214(0x17a)](),_0x18f0c9=_0x1384e2[_0x5c0214(0x18e)](_0x36d608),_0x3919e9=_0x18f0c9[_0x5c0214(0x284)]+_0x18f0c9[_0x5c0214(0x3ae)];_0x1384e2[_0x5c0214(0x267)](_0x36d608,_0x235e62-(_0x18f0c9[_0x5c0214(0x298)]+_0x4b5975),_0x66310d+_0x3919e9);break;}case'PageSize':{let _0x21e582=''+this[_0x5c0214(0xca)]['page'],_0x479965=_0x1384e2[_0x5c0214(0x18e)](_0x21e582);_0x1384e2[_0x5c0214(0x267)](_0x21e582,_0x235e62-(_0x479965[_0x5c0214(0x298)]+_0x4b5975),_0x2246fa-_0x66310d);break;}}}),_0x1384e2['restore']();}['_renderLimitWaterMark'](){const _0x50d341=_0x3bd298;let _0x537662=this[_0x50d341(0x130)][_0x50d341(0x24d)](n[_0x50d341(0x14a)]),_0x3fd8cb=this['_engine'][_0x50d341(0x368)]()[_0x50d341(0x221)]();_0x3fd8cb[_0x50d341(0x2a1)]();let _0x5ce6cb=0x14*this[_0x50d341(0x396)];_0x3fd8cb['fillStyle']=_0x50d341(0x381),_0x3fd8cb['font']=_0x50d341(0x227)+o[_0x50d341(0x243)];let _0x1b30a5=_0x3fd8cb['measureText'](_0x537662['t']('sheets-print.limit.waterMark')),_0x2c1e05=(this[_0x50d341(0x257)]['w']-_0x1b30a5[_0x50d341(0x298)])/0x2,_0x1363bf=_0x1b30a5[_0x50d341(0x284)]+_0x1b30a5['fontBoundingBoxDescent'];_0x3fd8cb[_0x50d341(0x267)](_0x537662['t']('sheets-print.limit.waterMark'),_0x2c1e05,_0x5ce6cb+_0x1363bf),_0x3fd8cb['fillText'](_0x537662['t']('sheets-print.limit.waterMark'),_0x2c1e05,this[_0x50d341(0x257)]['h']-_0x5ce6cb),_0x3fd8cb[_0x50d341(0x17e)]();}[_0x3bd298(0x37f)](){const _0x29dd13=_0x3bd298;this[_0x29dd13(0x2ea)][_0x29dd13(0x21f)](),this[_0x29dd13(0x292)](),this[_0x29dd13(0x1d0)](),this[_0x29dd13(0x304)]&&(0x0,o[_0x29dd13(0x261)])(this['_engine'][_0x29dd13(0x368)]()['getContext'](),this[_0x29dd13(0x304)],this[_0x29dd13(0x304)][_0x29dd13(0x3ac)],this[_0x29dd13(0x130)]['get'](n['UserManagerService'])[_0x29dd13(0x36a)]());}['renderOnReady'](){const _0x370685=_0x3bd298;let _0x5549b7=this['engine'][_0x370685(0x219)][_0x370685(0x16c)](()=>{const _0x4c69cc=_0x370685;this[_0x4c69cc(0x37f)]();});this[_0x370685(0x1d1)](_0x5549b7),this[_0x370685(0xbc)]()[_0x370685(0x16b)](()=>this[_0x370685(0x37f)]());}[_0x3bd298(0xbc)](_0x3bf655){const _0x54b012=_0x3bd298;return this[_0x54b012(0xe7)][_0x54b012(0x1db)](_0x3bf655);}['getImage'](){const _0x5da361=_0x3bd298;return this['_engine'][_0x5da361(0x368)]()[_0x5da361(0x1df)](_0x5da361(0xb7),0x1);}};function oe(_0x31153a){const _0x936be1=_0x3bd298;let _0x5989b2=_0x31153a['reduce']((_0x44b0cc,_0x180034)=>_0x44b0cc+_0x180034[_0x936be1(0x2d5)][_0x936be1(0x213)],0x0),_0x47f6e6=new Map(),_0xa767de=new Map();_0x31153a[_0x936be1(0x2a5)](_0x1dcfb0=>{const _0x2ee55d=_0x936be1;let _0x5567ab=_0x1dcfb0[_0x2ee55d(0x2d5)]['length'],_0x201b28=_0xa767de[_0x2ee55d(0x24d)](_0x1dcfb0[_0x2ee55d(0x1af)])??0x0;_0xa767de[_0x2ee55d(0x272)](_0x1dcfb0['subUnitId'],_0x5567ab+_0x201b28);});let _0x4175c6=0x0;return _0x31153a[_0x936be1(0xc1)](_0x365825=>{const _0x3fdeb2=_0x936be1;let _0x4a7ce9=_0x365825[_0x3fdeb2(0x2d5)][_0x3fdeb2(0x213)],_0x37399d=_0x47f6e6[_0x3fdeb2(0x24d)](_0x365825[_0x3fdeb2(0x1af)])??0x0,_0xd6bb88=_0x365825['pages'][_0x3fdeb2(0xc1)]((_0x47fbe5,_0x320312)=>(_0x4175c6++,{..._0x365825,'range':_0x47fbe5,'page':_0x4175c6,'pageTotal':_0x5989b2,'sheetPageTotal':_0xa767de[_0x3fdeb2(0x24d)](_0x365825[_0x3fdeb2(0x1af)]),'sheetPage':_0x320312+0x1+_0x37399d}));return _0x47f6e6[_0x3fdeb2(0x178)](_0x365825[_0x3fdeb2(0x1af)])?_0x47f6e6[_0x3fdeb2(0x272)](_0x365825['subUnitId'],_0x47f6e6[_0x3fdeb2(0x24d)](_0x365825['subUnitId'])+_0x4a7ce9):_0x47f6e6[_0x3fdeb2(0x272)](_0x365825['subUnitId'],_0x4a7ce9),_0xd6bb88;})[_0x936be1(0x289)]();}let se=0x0,U=class{constructor(_0x3ccde0,_0x2b5d42,_0x24a8c1,_0x2f4c69,_0x49af85,_0x127947,_0x3ca287){const _0x61464c=_0x3bd298;this[_0x61464c(0xb8)]=_0x3ccde0,this[_0x61464c(0x10e)]=_0x2b5d42,this[_0x61464c(0x255)]=_0x24a8c1,this['_renderManagerService']=_0x2f4c69,this[_0x61464c(0x21b)]=_0x49af85,this[_0x61464c(0x1e8)]=_0x127947,this[_0x61464c(0x161)]=_0x3ca287;}async[_0x3bd298(0x2bd)](_0x5bf885,_0x57e79a){const _0x1c350e=_0x3bd298;await Promise[_0x1c350e(0x141)](Array[_0x1c350e(0x3a0)](new Set(_0x5bf885[_0x1c350e(0xc1)](_0x11f255=>_0x11f255[_0x1c350e(0x390)])),_0x5ec4d5=>this[_0x1c350e(0x161)][_0x1c350e(0x39b)]({'unitId':_0x5ec4d5,'unitType':n[_0x1c350e(0x394)][_0x1c350e(0x103)],'dpr':0x1})));let _0x17c2a8=oe(_0x5bf885),{ls:_0x322a9d,pbk:_0x469ca5}=this[_0x1c350e(0x1e8)][_0x1c350e(0x264)](e['LS_CONFIG_KEY'])??{},_0x33c333=(0x0,e[_0x1c350e(0x38c)])()?0x1/0x0:ee(0x3,_0x322a9d,_0x469ca5)['page'];_0x17c2a8=_0x17c2a8['slice'](0x0,_0x33c333);let _0x3fd04e=document['createElement']('div');_0x3fd04e[_0x1c350e(0x3ad)]=t[_0x1c350e(0x1ae)];let _0x15fba5=_0x17c2a8[_0x1c350e(0xc1)](_0x2d08ec=>{const _0x424142=_0x1c350e;let _0x3c2831=new ae(this['_injector'],_0x2d08ec,_0x57e79a,!0x1);return _0x3c2831[_0x424142(0x2da)][_0x424142(0x3ad)]=t[_0x424142(0x310)],_0x3c2831;});_0x15fba5[_0x1c350e(0x2a5)](_0x5318ce=>{const _0x2d0732=_0x1c350e;_0x3fd04e['appendChild'](_0x5318ce[_0x2d0732(0x2da)]),_0x5318ce[_0x2d0732(0x2da)]['appendChild'](_0x5318ce[_0x2d0732(0x343)]),_0x5318ce[_0x2d0732(0x39b)](),_0x5318ce[_0x2d0732(0x371)](!0x1);});let _0x592722=this[_0x1c350e(0x255)][_0x1c350e(0x23a)],_0xb7e17b=n[_0x1c350e(0xc9)][_0x592722[_0x1c350e(0x257)]],_0x4dd95c=(0x0,t['createPrintStyle'])(_0xb7e17b['width'],_0xb7e17b[_0x1c350e(0x3b9)],_0x592722[_0x1c350e(0x362)]);return document[_0x1c350e(0x1b2)][_0x1c350e(0x278)](_0x4dd95c),document[_0x1c350e(0x1b2)][_0x1c350e(0x278)](_0x3fd04e),await Promise[_0x1c350e(0x141)](_0x15fba5[_0x1c350e(0xc1)](_0x1d0d72=>_0x1d0d72[_0x1c350e(0xbc)]())),new Promise(_0x2efc0c=>{const _0x51242f=_0x1c350e;window[_0x51242f(0xe2)]=()=>{const _0x3e962b=_0x51242f;_0x15fba5[_0x3e962b(0x2a5)](_0x9ae230=>{const _0x476698=_0x3e962b;_0x9ae230[_0x476698(0x37f)](),_0x9ae230['clearMemory']();});},window[_0x51242f(0x329)]=()=>{const _0x2d3ad1=_0x51242f;_0x15fba5['forEach'](_0x225c02=>{const _0x196d3b=_0x181a;_0x225c02[_0x196d3b(0x3bb)]();}),document[_0x2d3ad1(0x1b2)][_0x2d3ad1(0x159)](_0x3fd04e),document[_0x2d3ad1(0x1b2)][_0x2d3ad1(0x159)](_0x4dd95c),this[_0x2d3ad1(0x10e)][_0x2d3ad1(0x125)](),this[_0x2d3ad1(0x255)][_0x2d3ad1(0x2f4)](),this[_0x2d3ad1(0x21b)][_0x2d3ad1(0x260)](),_0x15fba5=[],_0x2efc0c(!0x0);},window[_0x51242f(0x2bd)]();});}['getRangeImage'](_0x2d664f,_0x1c34b0,_0x1b8135,_0x4ac8a9){const _0x86774=_0x3bd298;if(!F(this[_0x86774(0xb8)])){let _0x54baa6=(Date[_0x86774(0x28c)]()-se)/0x3e8;if(se=Date['now'](),_0x54baa6<=0x1e)return!0x1;}let _0x3b2a89=this[_0x86774(0x229)]['getRenderUnitById'](_0x2d664f);if(!_0x3b2a89)return!0x1;let _0x20855e=_0x3b2a89[_0x86774(0x3a1)](s[_0x86774(0x352)])[_0x86774(0x2d3)](_0x1c34b0);if(!_0x20855e)return!0x1;let _0x443e68=_0x20855e['columnWidthAccumulation'][_0x1b8135[_0x86774(0x2c9)]]-(_0x20855e[_0x86774(0x377)][_0x1b8135[_0x86774(0x13f)]-0x1]||0x0),_0x40e2ad=_0x20855e[_0x86774(0x312)][_0x1b8135[_0x86774(0x1ab)]]-(_0x20855e[_0x86774(0x312)][_0x1b8135[_0x86774(0x2ee)]-0x1]||0x0),_0x4f8508=_0x20855e[_0x86774(0x2e7)],_0x732cf5=_0x20855e[_0x86774(0x20f)],_0x3d4af7=1.5,_0x65619b=new ae(this[_0x86774(0xb8)],{'unitId':_0x2d664f,'subUnitId':_0x1c34b0,'range':_0x1b8135,'freeze':M,'scale':_0x3d4af7,'page':0x1,'pageSize':_0x4ac8a9?{'w':(_0x443e68+_0x732cf5)*_0x3d4af7+0x1,'h':(_0x40e2ad+_0x4f8508)*_0x3d4af7+0x1}:{'w':_0x443e68*_0x3d4af7+0x1,'h':_0x40e2ad*_0x3d4af7+0x1},'margin':t['PaperMarginMap'][t['PrintPaperMargin'][_0x86774(0x268)]],'pageTotal':0x1,'sheetPageTotal':0x1,'sheetPage':0x1,'includeHeaderDimensions':_0x4ac8a9??!0x1},{'gridlines':!0x0,'hAlign':t[_0x86774(0x1a2)]['Middle'],'vAlign':t[_0x86774(0x1a2)][_0x86774(0x287)],'headerFooter':[],'headerFooterSetting':E,'isCustomHeaderFooter':!0x1},!0x1),_0xd1726c=document['createElement'](_0x86774(0xbd));_0xd1726c['className']=t[_0x86774(0x1ae)],_0x65619b['container'][_0x86774(0x3ad)]=t[_0x86774(0x310)],_0xd1726c[_0x86774(0x278)](_0x65619b[_0x86774(0x2da)]),document[_0x86774(0x1b2)][_0x86774(0x278)](_0xd1726c),_0x65619b[_0x86774(0x39b)](),_0x65619b[_0x86774(0x37f)]();let _0x1e9471=_0x65619b[_0x86774(0x270)]();return _0x65619b[_0x86774(0x3bb)](),document[_0x86774(0x1b2)][_0x86774(0x159)](_0xd1726c),_0x1e9471;}};U=O([D(0x0,(0x0,n[_0x3bd298(0xff)])(n[_0x3bd298(0x274)])),D(0x1,b),D(0x2,k),D(0x3,o[_0x3bd298(0x2f7)]),D(0x4,i[_0x3bd298(0x341)]),D(0x5,n[_0x3bd298(0x28b)]),D(0x6,t['IPrintPreparationService'])],U);function ce(_0x59f675,_0x5ce57f){const _0x55e4ea=_0x3bd298;let _0x8bc8d8=atob(_0x59f675[_0x55e4ea(0x3c3)](',')[0x1]),_0x529926=new ArrayBuffer(_0x8bc8d8[_0x55e4ea(0x213)]),_0xb7c41e=new Uint8Array(_0x529926);for(let _0x9fbc9a=0x0;_0x9fbc9a<_0x8bc8d8[_0x55e4ea(0x213)];_0x9fbc9a++)_0xb7c41e[_0x9fbc9a]=_0x8bc8d8['charCodeAt'](_0x9fbc9a);return new Blob([_0x529926],{'type':_0x5ce57f});}const le={'type':n['CommandType'][_0x3bd298(0x2ba)],'id':_0x3bd298(0x18c),async 'handler'(_0x5ba3c4){const _0x3b75d3=_0x3bd298;var _0x567831;let _0x2b014b=_0x5ba3c4[_0x3b75d3(0x24d)](r['SheetsSelectionsService']),_0x272c6b=(_0x567831=_0x2b014b[_0x3b75d3(0x33c)]())==null?void 0x0:_0x567831[0x0],_0x456074=_0x5ba3c4[_0x3b75d3(0x24d)](U),_0x1f3b45=_0x2b014b[_0x3b75d3(0x32d)](),_0x2bf7a7=_0x5ba3c4[_0x3b75d3(0x24d)](i['IMessageService']),_0x196795=_0x5ba3c4[_0x3b75d3(0x24d)](n['IUniverInstanceService']),_0x3f9a21=_0x5ba3c4[_0x3b75d3(0x24d)](n[_0x3b75d3(0x14a)]);if(!_0x272c6b||!_0x1f3b45)return!0x1;let _0x21e004=(0x0,r['getSheetCommandTarget'])(_0x196795);if(!_0x21e004)return!0x1;let {unitId:_0x4d75fd,subUnitId:_0x2b2ee8}=_0x21e004,_0x2fa964=_0x456074[_0x3b75d3(0x194)](_0x4d75fd,_0x2b2ee8,_0x272c6b[_0x3b75d3(0x10a)]);if(!_0x2fa964)return!0x1;try{return await navigator[_0x3b75d3(0x182)][_0x3b75d3(0x124)]([new ClipboardItem({'image/png':ce(_0x2fa964,_0x3b75d3(0xb7))})]),_0x2bf7a7['show']({'type':c[_0x3b75d3(0xc0)][_0x3b75d3(0x3c7)],'content':_0x3f9a21['t'](_0x3b75d3(0x30b))}),!0x0;}catch{return _0x2bf7a7[_0x3b75d3(0x1b4)]({'type':c[_0x3b75d3(0xc0)]['Error'],'content':_0x3f9a21['t']('sheets-print.screenshot.fail')}),!0x1;}}},W=(0x0,n[_0x3bd298(0xb4)])('univer-pro.print-grid.service');var ue=class extends n[_0x3bd298(0x1a7)]{constructor(..._0x32751a){const _0x150318=_0x3bd298;super(..._0x32751a),y(this,_0x150318(0x119),new a['BehaviorSubject'](!0x1)),y(this,_0x150318(0xb6),this[_0x150318(0x119)]);}get[_0x3bd298(0x1a5)](){const _0x1e5a1c=_0x3bd298;return this['_visible$'][_0x1e5a1c(0x397)];}[_0x3bd298(0x1b4)](){const _0x2b7bad=_0x3bd298;this[_0x2b7bad(0x119)][_0x2b7bad(0x1cd)](!0x0);}['hide'](){const _0x5c70aa=_0x3bd298;this[_0x5c70aa(0x119)][_0x5c70aa(0x1cd)](!0x1);}['dispose'](){const _0x17069a=_0x3bd298;super[_0x17069a(0x3bb)](),this['_visible$'][_0x17069a(0x2a0)]();}};const de='PRINT_GRID_SIDEBAR_COMPONENT',G={'id':'sheet.operation.open-print-grid-sidebar','type':n['CommandType'][_0x3bd298(0x2ba)],'handler':_0x482eb4=>{const _0x98ee6e=_0x3bd298;let _0x59c570=_0x482eb4[_0x98ee6e(0x24d)](i[_0x98ee6e(0x2bb)]),_0x51c1ec=_0x482eb4[_0x98ee6e(0x24d)](W),_0x3e59d1=_0x482eb4[_0x98ee6e(0x24d)](k),_0x346025=_0x482eb4[_0x98ee6e(0x24d)](n['LocaleService']);return _0x3e59d1[_0x98ee6e(0x360)](),_0x51c1ec[_0x98ee6e(0x1b4)](),_0x59c570[_0x98ee6e(0x35b)]({'header':{'title':_0x346025['t']('sheets-print.grid.title')},'children':{'label':de},'onClose':()=>{},'width':0x138}),!0x0;}},fe={'id':_0x3bd298(0xc4),'type':n[_0x3bd298(0x3b3)][_0x3bd298(0x2ba)],'handler':_0xfb8ffd=>{const _0x28da23=_0x3bd298;let _0x2b3468=_0xfb8ffd[_0x28da23(0x24d)](i[_0x28da23(0x2bb)]);return _0xfb8ffd[_0x28da23(0x24d)](W)[_0x28da23(0x204)](),_0x2b3468[_0x28da23(0x125)](),!0x0;}},pe=_0x3bd298(0x2d1);function me(_0x164d19){const _0x4ee491=_0x3bd298;return{'id':pe,'type':i[_0x4ee491(0x146)][_0x4ee491(0x239)],'icon':_0x4ee491(0x313),'tooltip':_0x4ee491(0xc6),'hidden$':(0x0,i[_0x4ee491(0x2bc)])(_0x164d19,n[_0x4ee491(0x394)][_0x4ee491(0x103)]),'disabled$':(0x0,s[_0x4ee491(0x3c1)])(_0x164d19,{'workbookTypes':[r[_0x4ee491(0x339)]]})};}function he(){const _0x7fab0b=_0x3bd298;return{'id':I['id'],'type':i['MenuItemType']['BUTTON'],'title':'sheets-print.menu','icon':_0x7fab0b(0x313)};}function ge(_0x4e8270){const _0x22202c=_0x3bd298;return{'id':le['id'],'type':i[_0x22202c(0x146)][_0x22202c(0x16a)],'title':'sheets-print.screenshot.title','icon':_0x22202c(0x148),'tooltip':_0x22202c(0x1d4),'hidden$':(0x0,i['getMenuHiddenObservable'])(_0x4e8270,n[_0x22202c(0x394)][_0x22202c(0x103)]),'disabled$':(0x0,s['getCurrentRangeDisable$'])(_0x4e8270,{'workbookTypes':[r[_0x22202c(0x339)],r[_0x22202c(0x249)],r['WorkbookViewPermission']],'worksheetTypes':[r[_0x22202c(0x2fc)],r['WorksheetViewPermission']],'rangeTypes':[r[_0x22202c(0x11c)]]})};}function _e(){const _0x23fff9=_0x3bd298;return{'id':G['id'],'type':i[_0x23fff9(0x146)][_0x23fff9(0x16a)],'title':'sheets-print.grid.title','icon':_0x23fff9(0x1a6)};}const ve={[i[_0x3bd298(0x1fe)]['OTHERS']]:{[pe]:{'order':0.01,'gridLayout':{'row':0x1,'column':0x3,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':me,[I['id']]:{'order':0x0,'menuItemFactory':he},[G['id']]:{'order':0x1,'menuItemFactory':_e}}},[i['ContextMenuPosition'][_0x3bd298(0x24e)]]:{[i['ContextMenuGroup'][_0x3bd298(0x1bc)]]:{[le['id']]:{'order':2.1,'menuItemFactory':ge}}}};var ye=_0x3bd298(0x22e),be=_0x3bd298(0x3bd);const xe=_0x3bd298(0x350),Se='sheets-print.config',K={};let q=class extends n[_0x3bd298(0x1a7)]{constructor(_0x45b2a7){const _0x88ee89=_0x3bd298;super(),this['disposeWithMe'](_0x45b2a7['register']({'PrintIcon':l[_0x88ee89(0x313)]}));}};q=O([D(0x0,(0x0,n[_0x3bd298(0xff)])(i[_0x3bd298(0x345)]))],q);const Ce={[i['RibbonStartGroup']['OTHERS']]:{[I['id']]:{'order':0.01,'menuItemFactory':he}}};function we(_0x1ce806){const _0x146293=_0x3bd298;let [_0x228630,_0x27b551]=(0x0,u[_0x146293(0x332)])();return(0x0,u['useEffect'])(()=>{const _0x130f1b=_0x146293;_0x1ce806[_0x130f1b(0x16b)](_0x28cee6=>{_0x27b551(()=>_0x28cee6);});},[]),_0x228630;}const Te=(_0x4ef327,_0xc08220)=>{const _0x45139e=_0x3bd298;let _0x493dbe=(0x0,u['useRef'])(!0x1);(0x0,u[_0x45139e(0x120)])(()=>{const _0x1fd513=_0x45139e;if(_0x493dbe[_0x1fd513(0x15f)])return _0x4ef327();_0x493dbe[_0x1fd513(0x15f)]=!0x0;},_0xc08220);},Ee=(0x0,u[_0x3bd298(0x353)])((_0x2b4499,_0x109679)=>{const _0x1b7bf9=_0x3bd298;let {config:_0x301b73,previewScale:_0x5be028}=_0x2b4499,_0x434e7e=(0x0,i[_0x1b7bf9(0x128)])(k),_0x17422a=(0x0,i[_0x1b7bf9(0x128)])(n['Injector']),_0x1ee213=(0x0,u[_0x1b7bf9(0x34e)])(null),_0x11550d=_0x434e7e[_0x1b7bf9(0x257)],_0x4c7fe9=(0x0,i[_0x1b7bf9(0x3a6)])(_0x434e7e['renderConfig$'],_0x434e7e[_0x1b7bf9(0xf7)]),_0x53a3d3=(0x0,i[_0x1b7bf9(0x3a6)])(_0x434e7e[_0x1b7bf9(0x10f)],_0x434e7e['layoutConfig']),_0x2d9ac4=Math[_0x1b7bf9(0x149)](_0x5be028*(0x31a/_0x11550d['w'])*0xa)/0xa,[_0x13ad5e]=(0x0,u[_0x1b7bf9(0x332)])(()=>new ae(_0x17422a,_0x301b73,_0x4c7fe9,!0x0,_0x2d9ac4));return(0x0,u[_0x1b7bf9(0x120)])(()=>(_0x1ee213[_0x1b7bf9(0x15f)]&&(_0x13ad5e[_0x1b7bf9(0x2da)][_0x1b7bf9(0x271)]['width']=_0x1b7bf9(0x133),_0x13ad5e[_0x1b7bf9(0x2da)][_0x1b7bf9(0x271)][_0x1b7bf9(0x3b9)]=_0x1b7bf9(0x133),_0x13ad5e['container'][_0x1b7bf9(0x271)][_0x1b7bf9(0x32c)]=_0x1b7bf9(0x291),_0x1ee213[_0x1b7bf9(0x15f)]['appendChild'](_0x13ad5e[_0x1b7bf9(0x2da)]),_0x13ad5e['container'][_0x1b7bf9(0x278)](_0x13ad5e[_0x1b7bf9(0x343)])),_0x13ad5e[_0x1b7bf9(0x37f)](),_0x13ad5e[_0x1b7bf9(0xd2)](),()=>{const _0x111bd0=_0x1b7bf9;var _0x4c428f;queueMicrotask(()=>_0x13ad5e[_0x111bd0(0x3bb)]()),(_0x4c428f=_0x1ee213['current'])==null||_0x4c428f['removeChild'](_0x13ad5e[_0x111bd0(0x2da)]);}),[_0x13ad5e]),Te(()=>{const _0x1525a9=_0x1b7bf9;_0x13ad5e[_0x1525a9(0xf7)]=_0x4c7fe9,_0x13ad5e[_0x1525a9(0x37f)]();},[_0x4c7fe9]),Te(()=>{const _0x118980=_0x1b7bf9;_0x13ad5e[_0x118980(0x3b0)](_0x2d9ac4),_0x13ad5e['engine'][_0x118980(0x1d7)](),_0x13ad5e[_0x118980(0x37f)]();},[_0x2d9ac4]),Te(()=>{const _0x270183=_0x1b7bf9;_0x13ad5e[_0x270183(0x2c1)](_0x301b73),_0x13ad5e['render']();},[_0x301b73[_0x1b7bf9(0x326)][_0x1b7bf9(0x2ee)],_0x301b73[_0x1b7bf9(0x326)][_0x1b7bf9(0x13f)],_0x301b73['freeze'][_0x1b7bf9(0x2e3)],_0x301b73[_0x1b7bf9(0x326)][_0x1b7bf9(0x14b)],_0x301b73[_0x1b7bf9(0x10a)][_0x1b7bf9(0x2ee)],_0x301b73['range']['endRow'],_0x301b73[_0x1b7bf9(0x10a)][_0x1b7bf9(0x13f)],_0x301b73[_0x1b7bf9(0x10a)][_0x1b7bf9(0x2c9)],_0x301b73[_0x1b7bf9(0x35c)],_0x53a3d3[_0x1b7bf9(0x1ea)]]),(0x0,d['jsx'])(_0x1b7bf9(0xbd),{'ref':_0x109679,'children':(0x0,d[_0x1b7bf9(0x382)])('div',{'ref':_0x1ee213,'className':_0x1b7bf9(0x1fa),'style':{'width':_0x11550d['w']*_0x2d9ac4,'height':_0x11550d['h']*_0x2d9ac4}})});});function De(_0x1632f9){const _0x27bc41=_0x3bd298;let {open:_0x2e72e0,onClose:_0x50452e}=_0x1632f9,_0x1a6f2b=(0x0,i[_0x27bc41(0x128)])(n[_0x27bc41(0x14a)]),_0x1cd740=(0x0,i['useDependency'])(k),[_0x88d996,_0x13c148]=(0x0,u['useState'])(()=>({..._0x1cd740['renderConfig'][_0x27bc41(0x26e)]??E})),_0x1915db=(_0x2eb566,_0x1a5d9a)=>{_0x13c148(_0x56844f=>({..._0x56844f,[_0x2eb566]:_0x1a5d9a}));};return(0x0,d['jsx'])(c[_0x27bc41(0x3c4)],{'open':_0x2e72e0,'title':_0x1a6f2b['t'](_0x27bc41(0x290)),'showCancel':!0x0,'showOk':!0x0,'onCancel':_0x50452e,'onClose':_0x50452e,'onOk':()=>{const _0x117140=_0x27bc41;_0x1cd740[_0x117140(0x309)]({'headerFooterSetting':_0x88d996}),_0x50452e();},'children':(0x0,d['jsxs'])(_0x27bc41(0xbd),{'className':'univer-grid\x20univer-max-h-[60vh]\x20univer-gap-4\x20univer-overflow-y-auto','children':[(0x0,d[_0x27bc41(0x2d8)])(_0x27bc41(0x318),{'className':_0x27bc41(0x110),'children':[(0x0,d[_0x27bc41(0x382)])(_0x27bc41(0xbd),{'className':_0x27bc41(0x2ca),'children':_0x1a6f2b['t']('sheets-print.headerFooter.header')}),(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0x37e)],{'label':_0x1a6f2b['t'](_0x27bc41(0x2fa)),'children':(0x0,d['jsx'])(c[_0x27bc41(0xc5)],{'value':_0x88d996[_0x27bc41(0x147)],'onChange':_0x35fb07=>_0x1915db('topLeft',_0x35fb07)})}),(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0x37e)],{'label':_0x1a6f2b['t'](_0x27bc41(0x2d7)),'children':(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0xc5)],{'value':_0x88d996['topCenter'],'onChange':_0x14743f=>_0x1915db(_0x27bc41(0x2c2),_0x14743f)})}),(0x0,d['jsx'])(c['FormLayout'],{'label':_0x1a6f2b['t'](_0x27bc41(0x1c1)),'children':(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0xc5)],{'value':_0x88d996[_0x27bc41(0x1fd)],'onChange':_0x3b23ef=>_0x1915db(_0x27bc41(0x1fd),_0x3b23ef)})})]}),(0x0,d[_0x27bc41(0x2d8)])(_0x27bc41(0x318),{'className':_0x27bc41(0x110),'children':[(0x0,d[_0x27bc41(0x382)])('div',{'className':_0x27bc41(0x2ca),'children':_0x1a6f2b['t'](_0x27bc41(0x307))}),(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0x37e)],{'label':_0x1a6f2b['t']('sheets-print.headerFooter.left'),'children':(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0xc5)],{'value':_0x88d996['bottomLeft'],'onChange':_0x511288=>_0x1915db('bottomLeft',_0x511288)})}),(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0x37e)],{'label':_0x1a6f2b['t'](_0x27bc41(0x2d7)),'children':(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0xc5)],{'value':_0x88d996[_0x27bc41(0x131)],'onChange':_0x362ff4=>_0x1915db(_0x27bc41(0x131),_0x362ff4)})}),(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0x37e)],{'label':_0x1a6f2b['t'](_0x27bc41(0x1c1)),'children':(0x0,d[_0x27bc41(0x382)])(c[_0x27bc41(0xc5)],{'value':_0x88d996[_0x27bc41(0x236)],'onChange':_0x460043=>_0x1915db('bottomRight',_0x460043)})})]})]})});}const Oe=(0x0,u[_0x3bd298(0x241)])(_0x20f04b=>{const _0x22946a=_0x3bd298;var _0x326132,_0x5b259d,_0x1de9b4,_0x31d8fc,_0x88e8a8;let {onShowFooterHeaderEditor:_0x549343,DropdownComponent:_0x3a07dd=c[_0x22946a(0x192)],SelectComponent:_0x4790d4=c[_0x22946a(0x175)]}=_0x20f04b,_0x23bc99=(0x0,i['useDependency'])(k),_0x2994e1=(0x0,i[_0x22946a(0x3a6)])(_0x23bc99[_0x22946a(0x10f)],_0x23bc99[_0x22946a(0x23a)]),_0x523217=(0x0,i[_0x22946a(0x3a6)])(_0x23bc99['renderConfig$'],_0x23bc99['renderConfig']),_0x20bbcb=(0x0,i[_0x22946a(0x128)])(n[_0x22946a(0x14a)]),_0x3e3cf1=(0x0,i[_0x22946a(0x128)])(n[_0x22946a(0x36c)]),_0x38470f=(0x0,i[_0x22946a(0x128)])(n['ILocalStorageService']),[_0x9a71a8,_0x482527]=(0x0,u[_0x22946a(0x332)])(null),_0xbbbf48=((_0x326132=(0x0,i[_0x22946a(0x128)])(n[_0x22946a(0x28b)])[_0x22946a(0x264)]('sheets-print.config'))==null?void 0x0:_0x326132['enforceWatermark'])??!0x1;(0x0,u[_0x22946a(0x120)])(()=>{const _0x44d305=_0x22946a;let _0x4c9be0=!0x1;return _0x38470f[_0x44d305(0x15d)](o[_0x44d305(0x398)])[_0x44d305(0x16b)](_0xbf398a=>{const _0x27a7c9=_0x44d305;if(_0x4c9be0)return;let _0x59109e,_0x33ee3e;(_0xbf398a==null?void 0x0:_0xbf398a[_0x27a7c9(0x170)])===o[_0x27a7c9(0x3bf)]['Image']&&_0xbf398a['config'][_0x27a7c9(0x3ac)]&&(_0x59109e=new Image(),_0x59109e[_0x27a7c9(0x27e)]=_0xbf398a['config'][_0x27a7c9(0x3ac)]['url']),(_0xbf398a==null?void 0x0:_0xbf398a[_0x27a7c9(0x170)])===o['IWatermarkTypeEnum'][_0x27a7c9(0x2cb)]&&_0xbf398a!=null&&_0xbf398a[_0x27a7c9(0x2ec)][_0x27a7c9(0x1ba)]&&(_0x33ee3e=_0xbf398a[_0x27a7c9(0x2ec)][_0x27a7c9(0x1ba)]);let _0x41ac89=_0xbf398a?{..._0xbf398a,'user':_0x33ee3e,'image':_0x59109e}:null;_0x482527(_0x41ac89),_0xbbbf48&&_0x23bc99[_0x27a7c9(0x309)]({'watermark':_0x41ac89});}),()=>{_0x4c9be0=!0x0;};},[_0xbbbf48,_0x38470f,_0x23bc99]);let _0x484bc5=_0x3e3cf1[_0x22946a(0x35d)](n[_0x22946a(0x394)][_0x22946a(0x103)]),_0x16c3ef=_0x484bc5[_0x22946a(0x153)]()[_0x22946a(0xcb)](_0x1a9850=>!_0x1a9850['isSheetHidden']()),_0x3c9869=_0x484bc5[_0x22946a(0x1fb)]();if(!_0x3c9869)return console[_0x22946a(0x2dd)](_0x22946a(0x28f)),null;let _0x50dda1=(_0x1d0898,_0x27fd8d)=>{const _0x43ad73=_0x22946a;let _0x480758=Math[_0x43ad73(0x2e1)](0x0,_0x27fd8d||0x0),_0xa2d354=_0x2994e1['marginCustom']||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x23bc99[_0x43ad73(0x15e)]({'marginCustom':{..._0xa2d354,[_0x1d0898]:_0x480758}});},_0x4ad3da=_0x3c9869[_0x22946a(0x359)](),_0x5437b9=_0x2994e1[_0x22946a(0x248)]!==_0x22946a(0x187)&&_0x4ad3da[_0x22946a(0x2e3)]<=0x0,_0x56c9f5=_0x2994e1['area']!==_0x22946a(0x187)&&_0x4ad3da[_0x22946a(0x14b)]<=0x0;return(0x0,d[_0x22946a(0x382)])(_0x22946a(0xbd),{'className':(0x0,c['clsx'])('univer-h-full\x20univer-overflow-y-auto',c[_0x22946a(0x3af)]),'children':(0x0,d[_0x22946a(0x2d8)])(_0x22946a(0xbd),{'className':_0x22946a(0x1c7),'children':[(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x37e)],{'label':_0x20bbcb['t'](_0x22946a(0x156)),'children':(0x0,d[_0x22946a(0x382)])(_0x4790d4,{'className':'univer-w-full','value':''+_0x2994e1[_0x22946a(0x248)],'onChange':_0x4d2ed2=>{const _0x5d440a=_0x22946a;_0x4d2ed2==='Workbook'?_0x23bc99['updateLayoutConfig']({'area':_0x4d2ed2,'subUnitIds':_0x16c3ef['map'](_0x583453=>_0x583453[_0x5d440a(0x2ff)]())}):_0x23bc99[_0x5d440a(0x15e)]({'area':_0x4d2ed2});},'options':[{'label':_0x20bbcb['t'](_0x22946a(0x325)),'value':_0x22946a(0x374)},{'label':_0x20bbcb['t'](_0x22946a(0xf3)),'value':'Workbook'},{'label':_0x20bbcb['t'](_0x22946a(0x1f3)),'value':_0x22946a(0x174)},{'label':_0x20bbcb['t'](_0x22946a(0x297)),'value':_0x22946a(0x2ed)}]})}),_0x2994e1[_0x22946a(0x248)]===_0x22946a(0x187)?(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x37e)],{'label':_0x20bbcb['t'](_0x22946a(0x129)),'children':(0x0,d['jsx'])(_0x3a07dd,{'overlay':(0x0,d['jsx'])(_0x22946a(0xbd),{'className':(0x0,c['clsx'])(_0x22946a(0xf2),c[_0x22946a(0x3af)]),'children':(0x0,d['jsx'])(c[_0x22946a(0x22d)],{'direction':_0x22946a(0x275),'className':'univer-p-3','value':_0x2994e1[_0x22946a(0x34b)][_0x22946a(0xc1)](_0x429741=>typeof _0x429741==_0x22946a(0x2ae)?_0x429741:_0x429741['id']),'onChange':_0x330681=>{const _0x39a90a=_0x22946a;let _0x548775=new Set(_0x330681);if(_0x548775['size']===0x0)_0x23bc99[_0x39a90a(0x15e)]({'subUnitIds':_0x16c3ef[_0x39a90a(0xc1)](_0x1f64ea=>_0x1f64ea[_0x39a90a(0x2ff)]())});else{let _0x36c2a6=[];_0x16c3ef['forEach'](_0x11008c=>{const _0x2dedda=_0x39a90a;let _0x2dfa04=_0x11008c['getSheetId']();_0x548775[_0x2dedda(0x178)](_0x2dfa04)&&_0x36c2a6[_0x2dedda(0x181)](_0x2dfa04);}),_0x23bc99['updateLayoutConfig']({'subUnitIds':_0x36c2a6});}},'children':_0x16c3ef[_0x22946a(0xc1)](_0x38d686=>(0x0,d[_0x22946a(0x382)])(c['Checkbox'],{'value':_0x38d686[_0x22946a(0x2ff)](),'children':_0x38d686[_0x22946a(0x17a)]()},_0x38d686[_0x22946a(0x2ff)]()))})}),'children':(0x0,d[_0x22946a(0x2d8)])(_0x22946a(0xbd),{'className':(0x0,c[_0x22946a(0x26d)])(_0x22946a(0x232),c[_0x22946a(0x173)]),'children':[(0x0,d['jsx'])('span',{'className':'univer-text-gray-500','children':_0x2994e1[_0x22946a(0x34b)][_0x22946a(0x213)]===_0x16c3ef[_0x22946a(0x213)]||_0x2994e1['subUnitIds']['length']===0x0?_0x20bbcb['t'](_0x22946a(0x2f3)):''+_0x2994e1[_0x22946a(0x34b)]['length']+_0x20bbcb['t']('sheets-print.selection.workbookUnit')}),(0x0,d[_0x22946a(0x382)])(l[_0x22946a(0x1c8)],{})]})})}):null,(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x37e)],{'label':_0x20bbcb['t'](_0x22946a(0x104)),'children':(0x0,d[_0x22946a(0x382)])(_0x4790d4,{'className':_0x22946a(0x2f5),'value':_0x2994e1[_0x22946a(0x257)],'options':[{'label':_0x20bbcb['t'](_0x22946a(0x29c)),'value':n[_0x22946a(0x2e2)][_0x22946a(0x15b)]},{'label':_0x20bbcb['t']('sheets-print.size.tabloid'),'value':n['PaperType']['Tabloid']},{'label':_0x20bbcb['t'](_0x22946a(0x2ab)),'value':n[_0x22946a(0x2e2)]['Legal']},{'label':_0x20bbcb['t'](_0x22946a(0x115)),'value':n[_0x22946a(0x2e2)][_0x22946a(0x242)]},{'label':_0x20bbcb['t'](_0x22946a(0xdf)),'value':n[_0x22946a(0x2e2)][_0x22946a(0x209)]},{'label':_0x20bbcb['t'](_0x22946a(0x235)),'value':n[_0x22946a(0x2e2)][_0x22946a(0x21e)]},{'label':_0x20bbcb['t']('sheets-print.size.a3'),'value':n[_0x22946a(0x2e2)]['A3']},{'label':_0x20bbcb['t'](_0x22946a(0xfe)),'value':n[_0x22946a(0x2e2)]['A4']},{'label':_0x20bbcb['t'](_0x22946a(0x2b7)),'value':n['PaperType']['A5']},{'label':_0x20bbcb['t'](_0x22946a(0x3b2)),'value':n[_0x22946a(0x2e2)]['B4']},{'label':_0x20bbcb['t'](_0x22946a(0x1c9)),'value':n[_0x22946a(0x2e2)]['B5']}],'onChange':_0x379868=>{const _0x32ed43=_0x22946a;_0x23bc99[_0x32ed43(0x15e)]({'paperSize':_0x379868});}})}),(0x0,d['jsx'])(c[_0x22946a(0x37e)],{'label':_0x20bbcb['t'](_0x22946a(0x1ce)),'children':(0x0,d[_0x22946a(0x382)])(_0x4790d4,{'className':_0x22946a(0x2f5),'value':_0x2994e1[_0x22946a(0x1ea)],'options':[{'label':_0x20bbcb['t'](_0x22946a(0x1b6)),'value':t[_0x22946a(0x34c)][_0x22946a(0x216)]},{'label':_0x20bbcb['t'](_0x22946a(0x3c2)),'value':t[_0x22946a(0x34c)][_0x22946a(0x1b1)]},{'label':_0x20bbcb['t'](_0x22946a(0x211)),'value':t[_0x22946a(0x34c)][_0x22946a(0x1bb)]},{'label':_0x20bbcb['t'](_0x22946a(0x321)),'value':t[_0x22946a(0x34c)][_0x22946a(0x177)]}],'onChange':_0x30ceef=>{const _0x3474d4=_0x22946a;let _0x2aa055=t[_0x3474d4(0x2f8)][_0x2994e1[_0x3474d4(0x1ea)]];_0x23bc99['updateLayoutConfig']({'margin':_0x30ceef,'marginCustom':_0x30ceef===t[_0x3474d4(0x34c)][_0x3474d4(0x177)]?_0x2aa055:t[_0x3474d4(0x2f8)][_0x30ceef]});}})}),_0x2994e1[_0x22946a(0x1ea)]===t['PrintPaperMargin']['Custom']&&(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x37e)],{'children':(0x0,d[_0x22946a(0x2d8)])(_0x22946a(0xbd),{'className':_0x22946a(0x337),'children':[(0x0,d['jsxs'])('div',{'children':[(0x0,d[_0x22946a(0x382)])(_0x22946a(0x140),{'className':_0x22946a(0x230),'children':_0x20bbcb['t']('sheets-print.margin.top')}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0xc5)],{'type':'number','value':String(((_0x5b259d=_0x2994e1['marginCustom'])==null?void 0x0:_0x5b259d[_0x22946a(0x3a2)])||0x0),'onChange':_0x2aa881=>_0x50dda1(_0x22946a(0x3a2),Number(_0x2aa881))})]}),(0x0,d[_0x22946a(0x2d8)])(_0x22946a(0xbd),{'children':[(0x0,d[_0x22946a(0x382)])('label',{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x20bbcb['t'](_0x22946a(0x32e))}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0xc5)],{'type':_0x22946a(0x13d),'value':String(((_0x1de9b4=_0x2994e1[_0x22946a(0x2d2)])==null?void 0x0:_0x1de9b4[_0x22946a(0x217)])||0x0),'onChange':_0x1d2e0b=>_0x50dda1(_0x22946a(0x217),Number(_0x1d2e0b))})]}),(0x0,d[_0x22946a(0x2d8)])(_0x22946a(0xbd),{'children':[(0x0,d[_0x22946a(0x382)])(_0x22946a(0x140),{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x20bbcb['t']('sheets-print.margin.left')}),(0x0,d['jsx'])(c['Input'],{'type':_0x22946a(0x13d),'value':String(((_0x31d8fc=_0x2994e1['marginCustom'])==null?void 0x0:_0x31d8fc[_0x22946a(0x122)])||0x0),'onChange':_0x348693=>_0x50dda1('left',Number(_0x348693))})]}),(0x0,d['jsxs'])(_0x22946a(0xbd),{'children':[(0x0,d[_0x22946a(0x382)])(_0x22946a(0x140),{'className':_0x22946a(0x230),'children':_0x20bbcb['t']('sheets-print.margin.right')}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0xc5)],{'type':_0x22946a(0x13d),'value':String(((_0x88e8a8=_0x2994e1[_0x22946a(0x2d2)])==null?void 0x0:_0x88e8a8[_0x22946a(0x150)])||0x0),'onChange':_0x4650fe=>_0x50dda1('right',Number(_0x4650fe))})]})]})}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x37e)],{'label':_0x20bbcb['t'](_0x22946a(0x1a8)),'children':(0x0,d[_0x22946a(0x2d8)])(c[_0x22946a(0x112)],{'value':_0x2994e1[_0x22946a(0x362)],'onChange':_0x5e80f6=>{const _0x4dfdea=_0x22946a;_0x23bc99[_0x4dfdea(0x15e)]({'direction':_0x5e80f6});},'children':[(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x27a)],{'value':t[_0x22946a(0x36e)][_0x22946a(0x1e3)],'children':_0x20bbcb['t']('sheets-print.orientation.portrait')}),(0x0,d[_0x22946a(0x382)])(c['Radio'],{'value':t[_0x22946a(0x36e)][_0x22946a(0x2c5)],'children':_0x20bbcb['t'](_0x22946a(0x39d))})]})}),(0x0,d[_0x22946a(0x382)])(c['FormLayout'],{'label':_0x20bbcb['t']('sheets-print.scale.title'),'children':(0x0,d[_0x22946a(0x382)])(_0x4790d4,{'className':_0x22946a(0x2f5),'value':_0x2994e1[_0x22946a(0x35c)],'options':[{'label':_0x20bbcb['t']('sheets-print.scale.normal'),'value':t[_0x22946a(0x11e)][_0x22946a(0x1b8)]},{'label':_0x20bbcb['t'](_0x22946a(0x250)),'value':t[_0x22946a(0x11e)][_0x22946a(0x167)]},{'label':_0x20bbcb['t'](_0x22946a(0x25b)),'value':t[_0x22946a(0x11e)][_0x22946a(0x277)]},{'label':_0x20bbcb['t']('sheets-print.scale.fitPage'),'value':t[_0x22946a(0x11e)]['FitPage']}],'onChange':_0x28755f=>{const _0x4badea=_0x22946a;_0x23bc99[_0x4badea(0x15e)]({'scale':_0x28755f});}})}),(0x0,d['jsxs'])(c['FormLayout'],{'label':_0x20bbcb['t']('sheets-print.formatting.title'),'children':[(0x0,d['jsx'])(c[_0x22946a(0x373)],{'checked':_0x523217[_0x22946a(0x265)],'onChange':_0x5ca2d5=>{const _0x59826c=_0x22946a;_0x23bc99[_0x59826c(0x309)]({'gridlines':_0x5ca2d5});},'children':_0x20bbcb['t'](_0x22946a(0x387))}),_0x9a71a8&&!_0xbbbf48?(0x0,d[_0x22946a(0x382)])(_0x22946a(0xbd),{'className':'univer-mt-3','children':(0x0,d[_0x22946a(0x382)])(c['Checkbox'],{'checked':!!_0x523217[_0x22946a(0x1f1)],'onChange':async _0x2003d2=>{const _0x573f6e=_0x22946a;_0x2003d2?_0x23bc99[_0x573f6e(0x309)]({'watermark':_0x9a71a8}):_0x23bc99[_0x573f6e(0x309)]({'watermark':void 0x0});},'children':_0x20bbcb['t'](_0x22946a(0x3ba))})}):null]}),(0x0,d['jsx'])(c[_0x22946a(0x37e)],{'label':_0x20bbcb['t']('sheets-print.align.title'),'children':(0x0,d['jsxs'])(_0x22946a(0xbd),{'className':_0x22946a(0xeb),'children':[(0x0,d[_0x22946a(0x382)])(_0x4790d4,{'className':_0x22946a(0x26c),'value':_0x523217[_0x22946a(0x2a4)],'options':[{'label':_0x20bbcb['t'](_0x22946a(0x2f0)),'value':t[_0x22946a(0x1a2)][_0x22946a(0x287)]},{'label':_0x20bbcb['t']('sheets-print.align.horizontal.start'),'value':t[_0x22946a(0x1a2)]['Start']},{'label':_0x20bbcb['t'](_0x22946a(0x33b)),'value':t[_0x22946a(0x1a2)][_0x22946a(0x379)]}],'onChange':_0xb8f845=>{_0x23bc99['updateRenderConfig']({'hAlign':_0xb8f845});}}),(0x0,d[_0x22946a(0x382)])(_0x4790d4,{'className':_0x22946a(0x26c),'value':_0x523217[_0x22946a(0xc2)],'options':[{'label':_0x20bbcb['t']('sheets-print.align.vertical.start'),'value':t[_0x22946a(0x1a2)][_0x22946a(0x1f8)]},{'label':_0x20bbcb['t']('sheets-print.align.vertical.end'),'value':t['PrintAlign'][_0x22946a(0x379)]},{'label':_0x20bbcb['t'](_0x22946a(0x14e)),'value':t['PrintAlign']['Middle']}],'onChange':_0x3f2b66=>{const _0x925e14=_0x22946a;_0x23bc99[_0x925e14(0x309)]({'vAlign':_0x3f2b66});}})]})}),(0x0,d[_0x22946a(0x2d8)])(c[_0x22946a(0x37e)],{'collapsable':!0x0,'label':_0x20bbcb['t'](_0x22946a(0x27b)),'children':[(0x0,d[_0x22946a(0x2d8)])(c[_0x22946a(0x22d)],{'direction':_0x22946a(0x275),'disabled':_0x523217[_0x22946a(0xfb)],'value':_0x523217['headerFooter'],'onChange':_0x5371fc=>{const _0x1718cf=_0x22946a;_0x23bc99[_0x1718cf(0x309)]({'headerFooter':_0x5371fc});},'children':[(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x373)],{'value':'PageSize','children':_0x20bbcb['t'](_0x22946a(0x2b1))}),(0x0,d['jsx'])(c[_0x22946a(0x373)],{'value':_0x22946a(0x183),'children':_0x20bbcb['t'](_0x22946a(0x380))}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x373)],{'value':_0x22946a(0x334),'children':_0x20bbcb['t'](_0x22946a(0x169))}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x373)],{'value':_0x22946a(0x19e),'children':_0x20bbcb['t'](_0x22946a(0x2a2))}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x373)],{'value':_0x22946a(0xec),'children':_0x20bbcb['t']('sheets-print.headerFooter.time')})]}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x37e)],{'className':_0x22946a(0x39a),'label':(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x373)],{'checked':_0x523217['isCustomHeaderFooter'],'onChange':()=>{const _0x1c9858=_0x22946a;_0x23bc99[_0x1c9858(0x309)]({'isCustomHeaderFooter':!_0x523217[_0x1c9858(0xfb)]});},'children':_0x20bbcb['t']('sheets-print.headerFooter.customHeadFooter')}),'children':_0x523217[_0x22946a(0xfb)]?(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x2a6)],{'className':'univer-my-1\x20univer-p-0','size':'small','variant':_0x22946a(0x1aa),'onClick':()=>{_0x549343();},'children':_0x20bbcb['t']('sheets-print.headerFooter.editCustomHeadFooter')}):null})]}),(0x0,d['jsx'])(c[_0x22946a(0x37e)],{'collapsable':!0x0,'label':_0x20bbcb['t'](_0x22946a(0x355)),'children':(0x0,d[_0x22946a(0x2d8)])(c[_0x22946a(0x22d)],{'direction':_0x22946a(0x275),'value':_0x2994e1[_0x22946a(0x326)],'onChange':_0x3a01e6=>{const _0x1b2566=_0x22946a;_0x23bc99[_0x1b2566(0x15e)]({'freeze':_0x3a01e6});},'children':[(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x373)],{'disabled':_0x56c9f5,'value':'Row','children':_0x20bbcb['t'](_0x22946a(0x11b))}),(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x373)],{'disabled':_0x5437b9,'value':_0x22946a(0xe5),'children':_0x20bbcb['t'](_0x22946a(0x30c))})]})}),(0x0,d[_0x22946a(0x2d8)])(c[_0x22946a(0x37e)],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0x20bbcb['t'](_0x22946a(0x283)),'children':[(0x0,d[_0x22946a(0x382)])(c[_0x22946a(0x37e)],{'className':_0x22946a(0x1b9),'label':_0x20bbcb['t'](_0x22946a(0x1e4)),'children':(0x0,d[_0x22946a(0x382)])(c['Input'],{'value':_0x2994e1[_0x22946a(0x2f6)]===0x1/0x0?'':''+_0x2994e1[_0x22946a(0x2f6)],'onChange':_0x26d6f5=>{_0x23bc99['updateLayoutConfig']({'maxRowsEachPage':!_0x26d6f5||Number['isNaN'](Number(_0x26d6f5))?0x1/0x0:Number(_0x26d6f5)});}})}),(0x0,d[_0x22946a(0x382)])(c['FormLayout'],{'label':_0x20bbcb['t'](_0x22946a(0x1f9)),'children':(0x0,d[_0x22946a(0x382)])(c['Input'],{'value':_0x2994e1['maxColumnsEachPage']===0x1/0x0?'':''+_0x2994e1[_0x22946a(0x1d6)],'onChange':_0x148146=>{const _0x185ca2=_0x22946a;_0x23bc99[_0x185ca2(0x15e)]({'maxColumnsEachPage':!_0x148146||Number['isNaN'](Number(_0x148146))?0x1/0x0:Number(_0x148146)});}})})]})]})});});function ke(_0x1d477c){const _0x5569bd=_0x3bd298;return(0x0,d[_0x5569bd(0x382)])(Oe,{..._0x1d477c,'DropdownComponent':c[_0x5569bd(0xd8)],'SelectComponent':c[_0x5569bd(0x376)]});}function Ae(){const _0x47b70e=_0x3bd298;let [_0x13ff91,_0x3661b3]=(0x0,u['useState'])(!0x1),[_0x40606b,_0x1b5198]=(0x0,u[_0x47b70e(0x332)])(!0x1),[_0x10f9b5,_0x47d770]=(0x0,u[_0x47b70e(0x332)])(!0x1),[_0x224b07,_0x1f7c08]=(0x0,u[_0x47b70e(0x332)])(()=>window[_0x47b70e(0x25f)]),_0x488030=(0x0,i[_0x47b70e(0x128)])(k),_0x10f90a=(0x0,i[_0x47b70e(0x128)])(n[_0x47b70e(0x25c)]),_0x37a546=(0x0,i[_0x47b70e(0x3a6)])(_0x488030['layoutInfos$'],[]),_0x326700=(0x0,i[_0x47b70e(0x128)])(b),_0xdf2f4d=(0x0,i[_0x47b70e(0x3a6)])(_0x326700[_0x47b70e(0xdb)],_0x326700[_0x47b70e(0x160)]),_0x41cbf6=(0x0,i[_0x47b70e(0x128)])(n[_0x47b70e(0x36c)]),_0x49117f=(0x0,i[_0x47b70e(0x128)])(n['LocaleService']),_0x2bcf79=(0x0,i['useDependency'])(n[_0x47b70e(0x274)]),_0x5ca59d=(0x0,i[_0x47b70e(0x128)])(n[_0x47b70e(0x28b)]),_0xe21f9d=(0x0,i['useDependency'])(i[_0x47b70e(0x341)]),_0x3b6b65=(0x0,u['useRef'])(null),{ls:_0x240a4a,pbk:_0x4a6f30}=_0x5ca59d['getConfig'](e[_0x47b70e(0x285)])??{},{limit:_0x48dad6,isPro:_0xf71d22}=(0x0,u[_0x47b70e(0x3ab)])(()=>{let {page:_0x5b16ae,isPro:_0xe48fca}=ee(0x3,_0x240a4a,_0x4a6f30);return{'limit':_0x5b16ae,'isPro':_0xe48fca};},[_0x240a4a,_0x4a6f30]),_0x1455fd=we(import(`@univerjs-pro/collaboration-client`).then(_0x3de3f4=>_0x3de3f4['CollaborationController'],()=>void 0x0));(0x0,u['useEffect'])(()=>{const _0x557882=_0x47b70e;let _0x353de5=()=>_0x1f7c08(window[_0x557882(0x25f)]);return window['addEventListener'](_0x557882(0x1d7),_0x353de5),()=>window['removeEventListener'](_0x557882(0x1d7),_0x353de5);},[]),(0x0,u[_0x47b70e(0x120)])(()=>{const _0x48dffa=_0x47b70e;var _0x43e930;if(!_0x1455fd)return;let _0x25b1c0=_0x41cbf6[_0x48dffa(0x35d)](n['UniverInstanceType']['UNIVER_SHEET']);if(!_0x25b1c0)return;let _0x4dd5ef=_0x2bcf79[_0x48dffa(0x24d)](_0x1455fd,n[_0x48dffa(0x302)][_0x48dffa(0xb9)]),_0x386311=_0x4dd5ef==null||(_0x43e930=_0x4dd5ef[_0x48dffa(0x155)](_0x25b1c0[_0x48dffa(0xb5)]()))==null?void 0x0:_0x43e930[_0x48dffa(0x200)]();return()=>_0x386311==null?void 0x0:_0x386311[_0x48dffa(0x3bb)]();},[_0x1455fd,_0x2bcf79,_0x41cbf6]);let _0x2ad6e3=(0x0,u['useMemo'])(()=>oe(_0x37a546)[_0x47b70e(0x233)](0x0,_0x48dad6),[_0x48dad6,_0x37a546]),_0x3786f6=_0x488030[_0x47b70e(0x257)],_0x5e3d30=Math[_0x47b70e(0x111)](0x31a,Math[_0x47b70e(0x2e1)](0x1,_0x224b07-0x20))/0x31a,_0x5b95e7=Math[_0x47b70e(0x149)](_0x5e3d30*(0x31a/_0x3786f6['w'])*0xa)/0xa,[_0xd20426,{wrapperStyle:_0x4c936c,containerProps:_0x42317f}]=(0x0,i['useVirtualList'])(_0x2ad6e3,{'containerTarget':_0x3b6b65,'itemHeight':_0x3786f6['h']*_0x5b95e7+0x1c,'overscan':0x3}),_0x403837=async()=>{await _0x10f90a['executeCommand'](L['id']);},_0x3fb90d=async()=>{const _0x26e8bf=_0x47b70e;_0x47d770(!0x0),_0xe21f9d[_0x26e8bf(0x1b4)]({'content':_0x49117f['t']('sheets-print.header.printing'),'type':c[_0x26e8bf(0xc0)][_0x26e8bf(0x31e)]}),await(0x0,n[_0x26e8bf(0x25a)])(0x12c),await _0x10f90a[_0x26e8bf(0x32a)](R['id']);};return(0x0,d[_0x47b70e(0x2d8)])('div',{'data-u-comp':_0x47b70e(0x18f),'className':_0x47b70e(0xf6),'children':[(0x0,d[_0x47b70e(0x382)])(_0x47b70e(0xcc),{'className':_0x47b70e(0xee),'children':(0x0,d[_0x47b70e(0x2d8)])('span',{'className':'univer-text-sm\x20univer-font-medium','children':[_0x49117f['t'](_0x47b70e(0x1a9)),_0x2ad6e3[_0x47b70e(0x213)],_0x49117f['t'](_0x47b70e(0x20d))]})}),(0x0,d[_0x47b70e(0x382)])(_0x47b70e(0xbd),{'ref':_0x3b6b65,'className':(0x0,c[_0x47b70e(0x26d)])(_0x47b70e(0x29e),c[_0x47b70e(0x3af)]),'aria-busy':_0xdf2f4d,..._0x42317f,'children':_0xdf2f4d?(0x0,d['jsx'])(_0x47b70e(0xbd),{'className':_0x47b70e(0x384),'role':_0x47b70e(0x1d2),'aria-label':_0x49117f['t']('sheets-print.header.printing'),'children':(0x0,d[_0x47b70e(0x382)])(l[_0x47b70e(0xf4)],{'className':_0x47b70e(0x365),'aria-hidden':_0x47b70e(0x25e)})}):(0x0,d[_0x47b70e(0x382)])(_0x47b70e(0xbd),{'style':_0x4c936c,'children':_0xd20426[_0x47b70e(0xc1)](_0x621901=>(0x0,d[_0x47b70e(0x382)])(Ee,{'config':_0x621901[_0x47b70e(0xd4)],'page':_0x621901[_0x47b70e(0xd4)][_0x47b70e(0x391)],'previewScale':_0x5e3d30},_0x621901['data'][_0x47b70e(0x390)]+':'+_0x621901[_0x47b70e(0xd4)]['subUnitId']+':'+_0x621901[_0x47b70e(0xd4)][_0x47b70e(0x391)]+':'+_0x621901[_0x47b70e(0xd4)]['range'][_0x47b70e(0x2ee)]+':'+_0x621901[_0x47b70e(0xd4)][_0x47b70e(0x10a)][_0x47b70e(0x13f)]+':'+_0x621901[_0x47b70e(0xd4)][_0x47b70e(0x10a)]['endRow']+':'+_0x621901[_0x47b70e(0xd4)][_0x47b70e(0x10a)][_0x47b70e(0x2c9)]))})}),!_0xdf2f4d&&!_0xf71d22&&(0x0,d[_0x47b70e(0x382)])('a',{'className':_0x47b70e(0x127),'href':_0x49117f['t'](_0x47b70e(0x2ac)),'target':_0x47b70e(0x12e),'rel':_0x47b70e(0x23c),'children':_0x49117f['t']('sheets-print.limit.page')[_0x47b70e(0x114)]('{limit}',''+_0x48dad6)}),(0x0,d[_0x47b70e(0x2d8)])('footer',{'className':(0x0,c[_0x47b70e(0x26d)])(_0x47b70e(0x238),c[_0x47b70e(0x3c5)]),'children':[(0x0,d[_0x47b70e(0x382)])(c['Button'],{'className':_0x47b70e(0x136),'onClick':_0x403837,'children':_0x49117f['t'](_0x47b70e(0xc3))}),(0x0,d[_0x47b70e(0x382)])(c[_0x47b70e(0x2a6)],{'className':'univer-flex-1','onClick':()=>_0x3661b3(!0x0),'children':_0x49117f['t'](_0x47b70e(0x1c2))}),(0x0,d[_0x47b70e(0x382)])(c[_0x47b70e(0x2a6)],{'className':_0x47b70e(0x136),'variant':_0x47b70e(0x199),'disabled':_0xdf2f4d||_0x10f9b5,'onClick':_0x3fb90d,'children':_0x49117f['t'](_0x47b70e(0x1ac))})]}),(0x0,d['jsx'])(c['MobileDialog'],{'open':_0x13ff91,'title':_0x49117f['t'](_0x47b70e(0x1c2)),'onClose':()=>_0x3661b3(!0x1),'children':(0x0,d[_0x47b70e(0x382)])(ke,{'onShowFooterHeaderEditor':()=>{_0x3661b3(!0x1),_0x1b5198(!0x0);}})}),_0x40606b&&(0x0,d[_0x47b70e(0x382)])(De,{'open':!0x0,'onClose':()=>{_0x1b5198(!0x1),_0x3661b3(!0x0);}})]});}function je(){const _0x487372=_0x3bd298;let _0xf84a59=(0x0,i[_0x487372(0x128)])(b);return(0x0,i['useObservable'])(_0xf84a59[_0x487372(0xb6)],_0xf84a59[_0x487372(0x1a5)])?(0x0,d[_0x487372(0x382)])(Ae,{}):null;}function _0x181a(_0x2ef6e7,_0xb70a65){_0x2ef6e7=_0x2ef6e7-0xb2;const _0x57bb72=_0x57bb();let _0x181aae=_0x57bb72[_0x2ef6e7];return _0x181aae;}let J=class extends n[_0x3bd298(0x1a7)]{constructor(_0x2586df,_0x5ea920,_0x50449e,_0x5dbc5f,_0x5d1dfa,_0x545065,_0x153651,_0x2ac980){const _0x5ddf19=_0x3bd298;super(),this['_printDialogService']=_0x2586df,this[_0x5ddf19(0x1ee)]=_0x5ea920,this[_0x5ddf19(0x255)]=_0x50449e,this[_0x5ddf19(0x311)]=_0x5dbc5f,this[_0x5ddf19(0xe6)]=_0x5d1dfa,this[_0x5ddf19(0xb8)]=_0x545065,this[_0x5ddf19(0x306)]=_0x153651,this[_0x5ddf19(0x24b)]=_0x2ac980,this['_initCommands'](),this['_initUIParts'](),this['_initMenus'](),this[_0x5ddf19(0x1bd)](),this['_initCommandListener']();}['_initCommands'](){const _0x1ad8c1=_0x3bd298;[I,L,R,z]['forEach'](_0x4b5e86=>this[_0x1ad8c1(0x1d1)](this[_0x1ad8c1(0x1ee)]['registerCommand'](_0x4b5e86)));}[_0x3bd298(0x15c)](){const _0x5bf86e=_0x3bd298;this[_0x5bf86e(0x1d1)](this[_0x5bf86e(0x306)]['registerComponent'](i[_0x5bf86e(0x3b1)]['GLOBAL'],()=>(0x0,i[_0x5bf86e(0x18d)])(je,this[_0x5bf86e(0xb8)])));}[_0x3bd298(0x2f1)](){const _0xc933d6=_0x3bd298;this[_0xc933d6(0xe6)][_0xc933d6(0x16d)](Ce);}[_0x3bd298(0x1bd)](){const _0x3c7305=_0x3bd298;this[_0x3c7305(0x1d1)](this[_0x3c7305(0x10e)]['visible$'][_0x3c7305(0x293)](_0x4a3895=>{const _0x2c6110=_0x3c7305;_0x4a3895&&this[_0x2c6110(0x255)][_0x2c6110(0x360)]();}));}[_0x3bd298(0x2ef)](){const _0x1e026a=_0x3bd298;this[_0x1e026a(0x1d1)](this[_0x1e026a(0x1ee)][_0x1e026a(0x215)](_0x151913=>{const _0x266466=_0x1e026a;_0x151913['id']===R['id']&&this[_0x266466(0x311)][_0x266466(0x2bd)](this[_0x266466(0x255)][_0x266466(0x3a8)],this['_sheetPrintManagerService'][_0x266466(0xf7)])[_0x266466(0x27d)](_0x39978d=>this['_logService'][_0x266466(0x2dd)](_0x266466(0x101),_0x266466(0x340),_0x39978d));}));}};function _0x57bb(){const _0x248969=['PRINT_CANVAS_CLASS','_sheetPrintClientService','rowHeightAccumulation','PrintIcon','{limit}','SheetPage','sheetPageTotal','registerShortcut','section','desc','1480364DvuHoR','_viewRowBottom','_initShortcuts','isPrinting','Loading','sheet.operation.confirm-print','_dirty','sheets-print.margin.custom','sheets-print.headerFooter.display.title','SheetsSelectionsService','__root','sheets-print.area.currentSheet','freeze','univer-flex\x20univer-flex-1\x20univer-overflow-hidden','resizeWhenFreezeChange','onafterprint','executeCommand','toStringTag','position','getCurrentLastSelection','sheets-print.margin.bottom','setLineDash','Legal','submit','useState','_spreadsheetObject','WorksheetTitle','CalendarIcon','PageSize','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','PrintPreparationService','WorkbookPrintPermission','_context','sheets-print.align.horizontal.end','getCurrentSelections','PrintGridExtension','univer-my-4\x20univer-text-center','version','Failed\x20to\x20print\x20sheets.','IMessageService','getSheetFeatureLimit','root','replaceLayoutConfig','IconManager','@SheetPage','customRanges','overflowCache','sheets-print.headerFooter.dateA','_sheetsSelectionsSrv','subUnitIds','PrintPaperMargin','syncExecuteCommand','useRef','univer-absolute\x20univer-bottom-4\x20univer-right-4\x20univer-z-[1000]','SHEET_PRINT_PLUGIN','copyForPrinting','SheetSkeletonManagerService','forwardRef','call','sheets-print.freeze.title','setForceDisableGridlines','univer-mx-2\x20univer-my-5','CustomRangeType','getFreeze','sheets-print.headerFooter.display.dateA','open','scale','getCurrentUnitOfType','layoutInfos$','focus','reLayout','SheetPrintCanvasView','direction','IShortcutService','insertText','univer-size-8\x20univer-animate-spin\x20univer-text-gray-500','getDocumentDataModel','beginPath','getCanvas','univer-absolute\x20univer-inset-0\x20univer-z-[100]\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','getCurrentUser','interceptor','IUniverInstanceService','IPermissionService','PrintDirection','parseInt','disable','markDirty','prototype','Checkbox','CurrentSheet','UniverMobileUIPlugin','MobileSelect','columnWidthAccumulation','PageTotal','End','TimeC','hasPrintFacadePermission','_scene','sheets-print.headerFooter.display.sheetPageTotal','FormLayout','render','sheets-print.headerFooter.workbook','rgba(0,0,0,0.3)','jsx','getLicenseInfo','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center','15dfwPAu','DateD','sheets-print.formatting.skeleton','@DateE','getRenderUnitById','@TimeA','valid','isLocalCheck','editOp','deepClone','text','unitId','page','@WorksheetTitle','ConfirmSheetPrintOperation','UniverInstanceType','_calculateSheetPages','_previewScale','value','UNIVER_WATERMARK_STORAGE_KEY','stroke','univer-mt-3','prepare','_registerComponents','sheets-print.orientation.landscape','_iconManager','fetchThroughInterceptors','from','with','top','touchDependencies','sheets-print.header.printing','bottomLeft','useObservable','whenSheetEditorFocused','layoutInfos','_renderConfig','sheets-print.grid.closeAndHide','useMemo','image','className','fontBoundingBoxDescent','scrollbarClassName','setPreviewScale','BuiltInUIPart','sheets-print.size.b4','CommandType','_effects','CollaborationController','object','updateScrollVal','@DateC','height','sheets-print.formatting.waterMark','dispose','sheets-print.headerFooter.placeholder','1.0.3','univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-[1010]\x20univer-flex\x20univer-justify-center','IWatermarkTypeEnum','defineProperty','getCurrentRangeDisable$','sheets-print.margin.narrow','split','MobileDialog','borderTopClassName','scaleY','Success','_calculate','FitPage','createIdentifier','getUnitId','visible$','image/png','_injector','OPTIONAL','VIEW_COLUMN_RIGHT','_viewMain','waitForReady','div','Module','SheetPrintOpenOperation','MessageType','map','vAlign','sheets-print.header.cancel','sheet.operation.close-print-grid-sidebar','Input','sheets-print.menu','_viewColumnRight','getPermissionPoint','PAGE_SIZE','_config','filter','header','_sheetPrintInterceptorService','_printViewDisposable','SheetPrintClientService','create','_univerInstanceService','renderOnReady','_print','data','_layoutConfig$','__mode','setPreparing','MobileDropdown','_printGridService','message','preparing$','sheets-print.headerFooter.timeB','sheets-print.margin.left','SheetsPrintMenuSchema','sheets-print.size.executive','@DateA','symbol','onbeforeprint','sheets-print.headerFooter.display.timeC','startY','Column','_menuManagerService','_resourceCollector','Plugin','IPrintPreparationService','packageName','univer-flex\x20univer-gap-2','Time','univer-relative\x20univer-inline-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-900\x20hover:dark:!univer-bg-gray-700','univer-flex\x20univer-h-12\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-bg-gray-0\x20univer-px-4\x20dark:!univer-bg-gray-900','paperMargin','sheets-print.margin.right','toLocaleTimeString','univer-h-[200px]\x20univer-w-[--radix-popper-anchor-width]\x20univer-overflow-y-auto','sheets-print.area.workbook','LoadingMultiIcon','UniverSheetsPrintMobileUIPlugin','univer-absolute\x20univer-inset-0\x20univer-z-[100]\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-bg-gray-100\x20dark:!univer-bg-gray-900','renderConfig','time','univer-relative\x20univer-box-border\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','_initCommands','isCustomHeaderFooter','makeForceDirty','_initMutationListener','sheets-print.size.a4','Inject','Tabloid','[MobileSheetPrintController]','UniverSheetsPlugin','UNIVER_SHEET','sheets-print.size.title','UNIVER_SHEET_PERMISSION_ALERT_DIALOG_ID','onReady','_calculateCurrentSelectionRange','getValue','IUIPartsService','range','register','@TimeC','__RowHeaderPrint__','_printDialogService','layoutConfig$','univer-grid\x20univer-gap-2','min','RadioGroup','univer-absolute\x20univer-left-0\x20univer-z-[1000]\x20univer-min-w-[200px]\x20univer-px-0\x20univer-py-2','replace','sheets-print.size.statement','IDialogService','univer-flex\x20univer-w-full','univer-size-3\x20univer-text-gray-900\x20univer-transition-transform\x20dark:!univer-text-gray-0','_visible$','parentElement','sheets-print.freeze.row','RangeProtectionPermissionViewPoint','_calculateSheetRangeById','PrintScale','fixLineWidthByScale','useEffect','replaceAll','left','isFeatureAuthorizedWithinTime','write','close','dataStream','univer-block\x20univer-shrink-0\x20univer-px-4\x20univer-py-2\x20univer-text-center\x20univer-text-xs','useDependency','sheets-print.selection.title','isSheetHidden','name','TimeD','sheets-print.headerFooter.display.sheetPage','_blank','uKey','_accessor','bottomCenter','registerRenderModule','100%','sheets-print.headerFooter.display.timeD','JSONX','univer-flex-1','ReleaseType','getInterceptPoints','univer-z-[100]\x20univer-mt-2\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-gray-0\x20univer-shadow\x20dark:!univer-bg-gray-900','default','univer-relative\x20univer-mx-2\x20univer-my-0\x20univer-flex-grow','#E5E5E5','number','sheet-permission-user-dialog','startColumn','label','all','sheets-print.headerFooter.display.page','ISheetPrintManagerService','lineTo','UniverSheetsMobileUIPlugin','MenuItemType','topLeft','DownloadImageIcon','round','LocaleService','ySplit','SheetPrintInterceptorService','menu','sheets-print.align.vertical.middle','find','right','sheets-print.headerFooter.dateE','lineWidth','getSheets','sheetPage','getCollabEntity','sheets-print.area.title','SheetExtension','343ADFCJi','removeChild','@TotalPage','Letter','_initUIParts','getItem','updateLayoutConfig','current','preparing','_printPreparationService','isNaN','_key','_resizeViewport','UNIVER_SHEET_PERMISSION_ALERT_DIALOG','getCellMatrixPrintRange','FitWidth','resetCache','sheets-print.headerFooter.sheet','BUTTON','then','subscribeEvent','mergeMenu','univer-pro.sheet-print-manager.service','pageSize','type','getEditorId','getSheetBySheetId','borderClassName','CurrentSelection','Select','http://www.w3.org/2000/svg','Custom','has','sheets-print.headerFooter.timeD','getName','properties','58296lxphVS','22WoKBgS','restore','startIndex','defaultHeaderFooter','push','clipboard','WorkbookTitle','mount','floor','sheets-print.headerFooter.dateD','Workbook','registerDependencies','date','registerCommand','setPrintViewDisposable','sheet.operation.screenshot','connectInjector','measureText','mobile-sheet-print-view','@[]@','__SpreadsheetPrintRender__','Dropdown','sheets-print.size.a3','getRangeImage','_unitId','ILogService','moveTo','univer-text-base\x20univer-text-gray-900\x20dark:!univer-text-gray-0','primary','_renderHeaderFooterByCustom','sheets-print.headerFooter.submit','makeDirty','UniverSheetsPrintPlugin','Date','_layoutInfos','endIndex','getCursorPosition','PrintAlign','RichTextEditor','devicePixelRatio','visible','DocSettingIcon','Disposable','sheets-print.orientation.title','sheets-print.header.total','link','endRow','sheets-print.header.next','asObservable','PRINT_CONTAINER_CLASS','subUnitId','TimeB','Narrow','body','debounceTime','show','sheets-print.margin.top','sheets-print.margin.normal','merge','Origin','univer-mb-2','userInfo','Wide','OTHERS','_initConfigChangeListener','unier-w-[761px]\x20univer-mx-auto\x20univer-my-4\x20univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-bg-gray-0\x20univer-px-6\x20univer-py-7\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','sheets-print.headerFooter.display.pageTotal','univer-rounded-md\x20univer-bg-gray-0\x20univer-p-1\x20univer-shadow\x20dark:!univer-bg-gray-900','sheets-print.headerFooter.right','sheets-print.title','ComponentManager','createElement','Scene','mainComponent','univer-p-4','MoreDownIcon','sheets-print.size.b5','borderBottomClassName','addObjects','_root','next','sheets-print.margin.title','univer-pro.sheet-print-dialog.service','_renderHeaderFooter','disposeWithMe','status','strokeStyle','sheets-print.screenshot.title','_renderConfig$','maxColumnsEachPage','resize','worksheet','params','sheets-print.headerFooter.display.dateD','wait','warn','PrintArea','DateA','toDataURL','Viewport','setConfig','UniverLicensePlugin','Portrait','sheets-print.area.maxRowsEachPage','PRINTING_RANGE','_viewTop','overflow','_configService','_addComponent','margin','delete','engine','forValue','_commandService','ClockIcon','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-900\x20dark:!univer-text-gray-0','watermark','RichTextBuilder','sheets-print.area.currentSelection','_initRenderer','SheetIcon','_viewLeft','hidden','Start','sheets-print.area.maxColumnsEachPage','univer-relative\x20univer-mx-auto\x20univer-mt-7\x20univer-flex-none\x20univer-bg-gray-0\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','getActiveSheet','Row','topRight','RibbonStartGroup','_skeleton','pauseCollaboration','sheets-print.headerFooter.display.timeA','#1890ff','_isPreview','hide','VIEW_MAIN','format','_registerIcons','10030840WkmJRY','Executive','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_targetRender','IEditorService','sheets-print.header.pages','getSelectionsOfWorksheet','rowHeaderWidth','sheets-print.headerFooter.display.dateB','sheets-print.margin.wide','sheets-print.headerFooter.timeA','length','getWorkbookSelections','onCommandExecuted','Normal','bottom','endX','onTransformChange$','sheets-print.headerFooter.display.sheet','_messageService','disposePrintView','TimeA','Folio','clearCanvas','pluginName','getContext','univer-flex\x20univer-h-16\x20univer-items-center\x20univer-justify-between\x20univer-bg-gray-0\x20univer-px-4\x20dark:!univer-bg-gray-900','SpreadsheetRowHeader','UniverRenderEnginePlugin','_drawPrintGrid','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','12px\x20','getInstance','_renderManagerService','VIEW_ROW_BOTTOM','function','replaceRenderConfig','CheckboxGroup','@univerjs-pro/sheets-print','DateC','univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','insertRichText','univer-box-border\x20univer-inline-flex\x20univer-h-8\x20univer-w-full\x20univer-min-w-36\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-between\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-2.5\x20univer-text-sm\x20univer-transition-colors\x20univer-duration-200\x20hover:univer-border-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','slice','univer-space-y-2\x20univer-border-t\x20univer-pb-4','sheets-print.size.folio','bottomRight','@TimeB','univer-flex\x20univer-shrink-0\x20univer-gap-3\x20univer-bg-gray-0\x20univer-p-4\x20dark:!univer-bg-gray-900','SUBITEMS','layoutConfig','setSelectionRanges','noreferrer\x20noopener','add','__ColumnHeaderPrint__','getData','getUnit','memo','Statement','DEFAULT_FONTFACE_PLANE','sheets-print.headerFooter.dateC','univer-relative\x20univer-box-border\x20univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center\x20univer-overflow-hidden\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','_componentManager','IncreaseIcon','area','WorkbookCopyPermission','Printing','_logService','DisposableCollection','get','MAIN_AREA','BehaviorSubject','sheets-print.scale.fitWidth','@Page','sheet.operation.cancel-print','useVirtualList','_subUnitId','_sheetPrintManagerService','DependentOn','paperSize','univer-flex-1\x20univer-overflow-y-auto','localeService','awaitTime','sheets-print.scale.fitHeight','ICommandService','workbook','true','innerWidth','removeAll','renderWatermark','DateE','renderConfig$','getConfig','gridlines','_container','fillText','None','toPrimitive','values','_totalWidth','!univer-min-w-0\x20univer-flex-1','clsx','headerFooterSetting','timeValid','getImage','style','set','@DateD','Injector','vertical','Tools','FitHeight','appendChild','@TotalSheetPage','Radio','sheets-print.headerFooter.title','163895unxmbI','catch','src','univer-flex\x20univer-h-full\x20univer-flex-col','_viewLeftTop','_addViewport','clearMemory','sheets-print.area.limit','fontBoundingBoxAscent','LS_CONFIG_KEY','includes','Middle','VIEW_MAIN_TOP','flat','@WorkbookTitle','IConfigService','now','serialize','getExtensionsByOrder','No\x20active\x20sheet\x20found','sheets-print.headerFooter.editCustomHeadFooter','relative','_renderMainScene','subscribe','VIEW_MAIN_LEFT_TOP','sheets-print.headerFooter.dateB','_printManagerService','sheets-print.area.allSelection','width','selection','SheetPageTotal','sheet.operation.print-open','sheets-print.size.letter','Engine','univer-flex-1\x20univer-overflow-auto','1016928WEyEGY','complete','save','sheets-print.headerFooter.date','VIEW_MAIN_LEFT','hAlign','forEach','Button','0\x200\x20','KeyCode','toLocaleDateString','isPro','sheets-print.size.legal','sheets-print.limit.link','_calculatePrintScale','string','BuildTextUtils','sheet.operation.print','sheets-print.headerFooter.page','PrintHeaderFooter','font','printing','CancelSheetPrintOperation','GLOBAL','sheets-print.size.a5','getNoMergeCellWithCoordByIndex','enable','OPERATION','ISidebarService','getMenuHiddenObservable','print','SHEET_VIEWPORT_KEY','5418784LFBqzE','scaleX','updateConfig','topCenter','_layoutConfig','iterator','Landscape','univer-mr-2','sheets-print.headerFooter.display.timeB','univer-ml-2\x20univer-text-lg\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','endColumn','univer-text-sm\x20univer-font-medium','UserInfo','PRINTING_COMPONENT_COLLECT','NO_COMMERCIAL','draw','IMenuManagerService','decorate','sheet.menu.print','marginCustom','ensureSkeleton','No\x20workbook\x20found','pages','getOwnPropertyDescriptor','sheets-print.headerFooter.center','jsxs','univer-flex\x20univer-cursor-pointer\x20univer-flex-row\x20univer-items-center\x20univer-justify-between\x20univer-rounded-md\x20univer-px-2\x20univer-py-1.5\x20hover:univer-rounded\x20hover:univer-bg-gray-300','container','_getTranslateOffset','_layoutInfos$','error','getPrecisionScale','generateRandomId','useEvent','max','PaperType','xSplit','sheets-print.size.tabloid','13px\x20','312178GWLMdv','columnHeaderHeight','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','CTRL_COMMAND','_engine','_calculateSubSheetRange','config','AllSelection','startRow','_initCommandListener','sheets-print.align.horizontal.middle','_initMenus','_calculateFinalRange','sheets-print.selection.allWorkbook','reset','univer-w-full','maxRowsEachPage','IRenderManagerService','PaperMarginMap','endY','sheets-print.headerFooter.left','PRINTING_DOM_COLLECT','WorksheetCopyPermission','startX','have\x20not\x20permission','getSheetId','@TimeD','6UBNcQW','Quantity','@DateB','_watermarkConfig','_shortcutService','_uiPartsService','sheets-print.headerFooter.footer','includeHeaderDimensions','updateRenderConfig','univer-box-border\x20univer-flex\x20univer-h-16\x20univer-w-full\x20univer-flex-none\x20univer-flex-row\x20univer-items-center\x20univer-justify-between\x20univer-bg-gray-0\x20univer-px-4\x20dark:!univer-bg-gray-900','sheets-print.screenshot.success','sheets-print.freeze.column','_totalHeight','sheets-print.permission.printErr','sheets-print.limit.page'];_0x57bb=function(){return _0x248969;};return _0x57bb();}J=O([D(0x0,b),D(0x1,n[_0x3bd298(0x25c)]),D(0x2,k),D(0x3,(0x0,n[_0x3bd298(0xff)])(U)),D(0x4,i[_0x3bd298(0x2cf)]),D(0x5,(0x0,n['Inject'])(n[_0x3bd298(0x274)])),D(0x6,i[_0x3bd298(0x109)]),D(0x7,n[_0x3bd298(0x196)])],J);let Y=class extends n['Plugin']{constructor(_0x412b74=K,_0x2f380c,_0x44e5b3){const _0x17ccd7=_0x3bd298;super(),this[_0x17ccd7(0xca)]=_0x412b74,this['_injector']=_0x2f380c,this[_0x17ccd7(0x1e8)]=_0x44e5b3;let {menu:_0x620940,..._0x211763}=(0x0,n[_0x17ccd7(0x1b7)])({},K,this['_config']);_0x620940&&this[_0x17ccd7(0x1e8)][_0x17ccd7(0x1e1)](_0x17ccd7(0x14d),_0x620940,{'merge':!0x0}),this[_0x17ccd7(0x1e8)][_0x17ccd7(0x1e1)](Se,_0x211763);}[_0x3bd298(0x106)](){const _0x5dd112=_0x3bd298;this[_0x5dd112(0xb8)][_0x5dd112(0x178)](t['IPrintPreparationService'])||this['_injector'][_0x5dd112(0x23d)]([t[_0x5dd112(0xe9)],{'useClass':t['PrintPreparationService']}]),(0x0,n[_0x5dd112(0x188)])(this[_0x5dd112(0xb8)],[[k,{'useClass':N}],[b,{'useClass':x}],[U],[q],[J]]),(0x0,n[_0x5dd112(0x3a3)])(this[_0x5dd112(0xb8)],[[q],[J]]);}};y(Y,_0x3bd298(0x220),xe),y(Y,_0x3bd298(0xea),ye),y(Y,_0x3bd298(0x33f),be),y(Y,_0x3bd298(0x170),n[_0x3bd298(0x394)][_0x3bd298(0x103)]),Y=O([(0x0,n[_0x3bd298(0x256)])(e[_0x3bd298(0x1e2)],o[_0x3bd298(0x224)],r[_0x3bd298(0x102)],s[_0x3bd298(0x145)],i[_0x3bd298(0x375)]),D(0x1,(0x0,n[_0x3bd298(0xff)])(n[_0x3bd298(0x274)])),D(0x2,n[_0x3bd298(0x28b)])],Y);const Me=(0x0,u[_0x3bd298(0x241)])(function(){const _0x479e72=_0x3bd298;var _0x388f77,_0x1b3a4a,_0x56c6dc,_0x2fbe2f;let _0x34f813=(0x0,i[_0x479e72(0x128)])(k),_0x12a115=(0x0,i[_0x479e72(0x128)])(n['ICommandService']),_0x25b6e5=(0x0,i[_0x479e72(0x3a6)])(_0x34f813[_0x479e72(0x10f)],_0x34f813[_0x479e72(0x23a)]),_0x261064=(0x0,i[_0x479e72(0x128)])(n[_0x479e72(0x14a)]),_0x37024a=(0x0,i[_0x479e72(0x128)])(n[_0x479e72(0x36c)])[_0x479e72(0x35d)](n[_0x479e72(0x394)][_0x479e72(0x103)]);if(!_0x37024a)return console[_0x479e72(0x2dd)](_0x479e72(0x2d4)),null;let _0x54c01a=_0x37024a[_0x479e72(0x1fb)]();if(!_0x54c01a)return console['error'](_0x479e72(0x28f)),null;let _0x45c3ee=(_0x5d9951,_0x57b1fa)=>{const _0x50f1d2=_0x479e72;let _0x5a1bd6=Math['max'](0x0,_0x57b1fa||0x0),_0x185a99=_0x25b6e5[_0x50f1d2(0x2d2)]||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x34f813[_0x50f1d2(0x15e)]({'marginCustom':{..._0x185a99,[_0x5d9951]:_0x5a1bd6}});},_0x295604=_0x54c01a[_0x479e72(0x359)](),_0x53b97c=_0x295604[_0x479e72(0x2e3)]<=0x0,_0x5860be=_0x295604[_0x479e72(0x14b)]<=0x0,_0x52f069=()=>{const _0xe1058c=_0x479e72;_0x12a115[_0xe1058c(0x32a)](fe['id']);};return(0x0,d[_0x479e72(0x2d8)])(_0x479e72(0xbd),{'className':(0x0,c[_0x479e72(0x26d)])(_0x479e72(0x27f),c[_0x479e72(0x3af)]),'children':[(0x0,d['jsxs'])('div',{'className':_0x479e72(0x258),'children':[(0x0,d[_0x479e72(0x382)])(c['FormLayout'],{'label':_0x261064['t'](_0x479e72(0x156)),'children':(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x175)],{'className':_0x479e72(0x2f5),'value':''+_0x25b6e5[_0x479e72(0x248)],'onChange':_0x22e50d=>{const _0x433f10=_0x479e72;_0x34f813[_0x433f10(0x15e)]({'area':_0x22e50d});},'options':[{'label':_0x261064['t'](_0x479e72(0x325)),'value':_0x479e72(0x374)},{'label':_0x261064['t'](_0x479e72(0x1f3)),'value':_0x479e72(0x174)}]})}),(0x0,d['jsx'])(c[_0x479e72(0x37e)],{'label':_0x261064['t'](_0x479e72(0x104)),'children':(0x0,d['jsx'])(c['Select'],{'className':_0x479e72(0x2f5),'value':_0x25b6e5[_0x479e72(0x257)],'options':[{'label':_0x261064['t'](_0x479e72(0x29c)),'value':n[_0x479e72(0x2e2)][_0x479e72(0x15b)]},{'label':_0x261064['t'](_0x479e72(0x2e4)),'value':n[_0x479e72(0x2e2)][_0x479e72(0x100)]},{'label':_0x261064['t']('sheets-print.size.legal'),'value':n[_0x479e72(0x2e2)][_0x479e72(0x330)]},{'label':_0x261064['t'](_0x479e72(0x115)),'value':n[_0x479e72(0x2e2)]['Statement']},{'label':_0x261064['t'](_0x479e72(0xdf)),'value':n[_0x479e72(0x2e2)][_0x479e72(0x209)]},{'label':_0x261064['t'](_0x479e72(0x235)),'value':n[_0x479e72(0x2e2)][_0x479e72(0x21e)]},{'label':_0x261064['t'](_0x479e72(0x193)),'value':n['PaperType']['A3']},{'label':_0x261064['t'](_0x479e72(0xfe)),'value':n['PaperType']['A4']},{'label':_0x261064['t']('sheets-print.size.a5'),'value':n[_0x479e72(0x2e2)]['A5']},{'label':_0x261064['t'](_0x479e72(0x3b2)),'value':n[_0x479e72(0x2e2)]['B4']},{'label':_0x261064['t'](_0x479e72(0x1c9)),'value':n[_0x479e72(0x2e2)]['B5']}],'onChange':_0x8d4ae1=>{const _0x30b885=_0x479e72;_0x34f813[_0x30b885(0x15e)]({'paperSize':_0x8d4ae1});}})}),(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x37e)],{'label':_0x261064['t'](_0x479e72(0x1ce)),'children':(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x175)],{'className':_0x479e72(0x2f5),'value':_0x25b6e5[_0x479e72(0x1ea)],'options':[{'label':_0x261064['t'](_0x479e72(0x1b6)),'value':t['PrintPaperMargin'][_0x479e72(0x216)]},{'label':_0x261064['t'](_0x479e72(0x3c2)),'value':t[_0x479e72(0x34c)][_0x479e72(0x1b1)]},{'label':_0x261064['t']('sheets-print.margin.wide'),'value':t[_0x479e72(0x34c)]['Wide']},{'label':_0x261064['t'](_0x479e72(0x321)),'value':t['PrintPaperMargin'][_0x479e72(0x177)]}],'onChange':_0x28ab7d=>{const _0x41f7b8=_0x479e72;let _0x3b0d41=t[_0x41f7b8(0x2f8)][_0x25b6e5['margin']];_0x34f813[_0x41f7b8(0x15e)]({'margin':_0x28ab7d,'marginCustom':_0x28ab7d===t[_0x41f7b8(0x34c)][_0x41f7b8(0x177)]?_0x3b0d41:t[_0x41f7b8(0x2f8)][_0x28ab7d]});}})}),_0x25b6e5[_0x479e72(0x1ea)]===t[_0x479e72(0x34c)]['Custom']&&(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x37e)],{'children':(0x0,d[_0x479e72(0x2d8)])('div',{'className':_0x479e72(0x337),'children':[(0x0,d['jsxs'])(_0x479e72(0xbd),{'children':[(0x0,d[_0x479e72(0x382)])('label',{'className':_0x479e72(0x230),'children':_0x261064['t'](_0x479e72(0x1b5))}),(0x0,d[_0x479e72(0x382)])(c['Input'],{'type':_0x479e72(0x13d),'value':String(((_0x388f77=_0x25b6e5['marginCustom'])==null?void 0x0:_0x388f77['top'])||0x0),'onChange':_0x20a1cf=>_0x45c3ee(_0x479e72(0x3a2),Number(_0x20a1cf))})]}),(0x0,d[_0x479e72(0x2d8)])(_0x479e72(0xbd),{'children':[(0x0,d['jsx'])(_0x479e72(0x140),{'className':_0x479e72(0x230),'children':_0x261064['t'](_0x479e72(0x32e))}),(0x0,d[_0x479e72(0x382)])(c['Input'],{'type':_0x479e72(0x13d),'value':String(((_0x1b3a4a=_0x25b6e5[_0x479e72(0x2d2)])==null?void 0x0:_0x1b3a4a[_0x479e72(0x217)])||0x0),'onChange':_0xd0dc45=>_0x45c3ee(_0x479e72(0x217),Number(_0xd0dc45))})]}),(0x0,d['jsxs'])(_0x479e72(0xbd),{'children':[(0x0,d['jsx'])(_0x479e72(0x140),{'className':_0x479e72(0x230),'children':_0x261064['t'](_0x479e72(0xdd))}),(0x0,d['jsx'])(c[_0x479e72(0xc5)],{'type':'number','value':String(((_0x56c6dc=_0x25b6e5[_0x479e72(0x2d2)])==null?void 0x0:_0x56c6dc[_0x479e72(0x122)])||0x0),'onChange':_0x1952ca=>_0x45c3ee(_0x479e72(0x122),Number(_0x1952ca))})]}),(0x0,d[_0x479e72(0x2d8)])('div',{'children':[(0x0,d[_0x479e72(0x382)])('label',{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x261064['t'](_0x479e72(0xf0))}),(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0xc5)],{'type':_0x479e72(0x13d),'value':String(((_0x2fbe2f=_0x25b6e5[_0x479e72(0x2d2)])==null?void 0x0:_0x2fbe2f[_0x479e72(0x150)])||0x0),'onChange':_0x5a50fd=>_0x45c3ee(_0x479e72(0x150),Number(_0x5a50fd))})]})]})}),(0x0,d[_0x479e72(0x382)])(c['FormLayout'],{'label':_0x261064['t'](_0x479e72(0x1a8)),'children':(0x0,d['jsxs'])(c['RadioGroup'],{'value':_0x25b6e5['direction'],'onChange':_0x328758=>{_0x34f813['updateLayoutConfig']({'direction':_0x328758});},'children':[(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x27a)],{'value':t['PrintDirection'][_0x479e72(0x1e3)],'children':_0x261064['t']('sheets-print.orientation.portrait')}),(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x27a)],{'value':t[_0x479e72(0x36e)]['Landscape'],'children':_0x261064['t'](_0x479e72(0x39d))})]})}),(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x37e)],{'collapsable':!0x0,'label':_0x261064['t'](_0x479e72(0x355)),'children':(0x0,d[_0x479e72(0x2d8)])(c[_0x479e72(0x22d)],{'direction':_0x479e72(0x275),'value':_0x25b6e5[_0x479e72(0x326)],'onChange':_0x43b3c4=>{const _0x423505=_0x479e72;_0x34f813[_0x423505(0x15e)]({'freeze':_0x43b3c4});},'children':[(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x373)],{'disabled':_0x5860be,'value':'Row','children':_0x261064['t']('sheets-print.freeze.row')}),(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x373)],{'disabled':_0x53b97c,'value':_0x479e72(0xe5),'children':_0x261064['t'](_0x479e72(0x30c))})]})}),(0x0,d['jsxs'])(c['FormLayout'],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0x261064['t'](_0x479e72(0x283)),'children':[(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x37e)],{'className':_0x479e72(0x1b9),'label':_0x261064['t'](_0x479e72(0x1e4)),'children':(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0xc5)],{'value':_0x25b6e5['maxRowsEachPage']===0x1/0x0?'':''+_0x25b6e5['maxRowsEachPage'],'onChange':_0xce4ce6=>{const _0x6cbe33=_0x479e72;_0x34f813[_0x6cbe33(0x15e)]({'maxRowsEachPage':!_0xce4ce6||Number[_0x6cbe33(0x162)](Number(_0xce4ce6))?0x1/0x0:Number(_0xce4ce6)});}})}),(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x37e)],{'label':_0x261064['t'](_0x479e72(0x1f9)),'children':(0x0,d['jsx'])(c['Input'],{'value':_0x25b6e5[_0x479e72(0x1d6)]===0x1/0x0?'':''+_0x25b6e5[_0x479e72(0x1d6)],'onChange':_0x1cb65b=>{const _0x5f58ab=_0x479e72;_0x34f813[_0x5f58ab(0x15e)]({'maxColumnsEachPage':!_0x1cb65b||Number[_0x5f58ab(0x162)](Number(_0x1cb65b))?0x1/0x0:Number(_0x1cb65b)});}})})]})]}),(0x0,d[_0x479e72(0x2d8)])(_0x479e72(0xbd),{'className':_0x479e72(0x234),'children':[(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x2a6)],{'type':_0x479e72(0x331),'variant':_0x479e72(0x199),'className':_0x479e72(0x2f5),'onClick':()=>{const _0x37e2a4=_0x479e72;_0x12a115[_0x37e2a4(0x32a)](I['id']),_0x52f069();},'children':_0x261064['t']('sheets-print.menu')}),(0x0,d[_0x479e72(0x382)])(c[_0x479e72(0x2a6)],{'type':'button','className':_0x479e72(0x2f5),'onClick':_0x52f069,'children':_0x261064['t'](_0x479e72(0x3aa))})]})]});});let X=class extends n[_0x3bd298(0x1a7)]{constructor(_0x17100d,_0x431e54){const _0xe1a39f=_0x3bd298;super(),this[_0xe1a39f(0x246)]=_0x17100d,this[_0xe1a39f(0x39e)]=_0x431e54,this[_0xe1a39f(0x207)](),this[_0xe1a39f(0x39c)]();}[_0x3bd298(0x207)](){const _0x571a74=_0x3bd298;this[_0x571a74(0x1d1)](this[_0x571a74(0x39e)]['register']({'DocSettingIcon':l[_0x571a74(0x1a6)],'PrintIcon':l[_0x571a74(0x313)]}));}[_0x3bd298(0x39c)](){const _0x1476ac=_0x3bd298;this['_componentManager'][_0x1476ac(0x10b)](de,Me);}};X=O([D(0x0,(0x0,n[_0x3bd298(0xff)])(i[_0x3bd298(0x1c3)])),D(0x1,(0x0,n['Inject'])(i[_0x3bd298(0x345)]))],X);const Ne=[0x6,0x4];var Pe=class extends o[_0x3bd298(0x157)]{constructor(_0x266962,_0x42ceb9){const _0x46388b=_0x3bd298;super(),this[_0x46388b(0xd9)]=_0x266962,this['_printManagerService']=_0x42ceb9,y(this,_0x46388b(0x12f),_0x46388b(0x33d)),y(this,'Z_INDEX',0x3d);}[_0x3bd298(0x2ce)](_0x577f4e,_0x449126,_0x414b25,_0x47e5ae){const _0x54ebc0=_0x3bd298;if(_0x577f4e[_0x54ebc0(0xd6)]===_0x54ebc0(0x2b4)||!this[_0x54ebc0(0xd9)][_0x54ebc0(0x1a5)])return;let {worksheet:_0x55e954}=_0x414b25;if(!_0x55e954)return;let _0x50923a=this[_0x54ebc0(0x296)]['layoutInfos'],_0x1a6b77=_0x55e954[_0x54ebc0(0xb5)](),_0x228746=_0x55e954['getSheetId'](),_0x1d1159=_0x50923a[_0x54ebc0(0x14f)](_0x1654c3=>_0x1654c3[_0x54ebc0(0x390)]===_0x1a6b77&&_0x1654c3[_0x54ebc0(0x1af)]===_0x228746);_0x1d1159&&this[_0x54ebc0(0x225)](_0x577f4e,_0x414b25,_0x1d1159);}[_0x3bd298(0x225)](_0x57a3a8,_0x435898,_0x59e2f3){const _0x430110=_0x3bd298;let {pages:_0x250553}=_0x59e2f3,{rowHeightAccumulation:_0x151806,columnWidthAccumulation:_0x3aa824}=_0x435898;_0x57a3a8[_0x430110(0x2a1)](),_0x57a3a8[_0x430110(0x1d3)]=_0x430110(0x202),_0x57a3a8[_0x430110(0x152)]=0x2,_0x57a3a8[_0x430110(0x32f)](Ne);let _0xb974a0=new Set(),_0x134f03=new Set();_0x250553[_0x430110(0x2a5)](_0x14458a=>{const _0x11fd18=_0x430110;let {startRow:_0x39bdce,endRow:_0x44d3ad,startColumn:_0x22bdb3,endColumn:_0x4dad3f}=_0x14458a,_0x28d1ec=_0x39bdce===0x0?0x0:_0x151806[_0x39bdce-0x1],_0x3dea7f=_0x151806[_0x44d3ad],_0x57f6c8=_0x22bdb3===0x0?0x0:_0x3aa824[_0x22bdb3-0x1],_0x22a838=_0x3aa824[_0x4dad3f];_0xb974a0['add'](_0x28d1ec),_0xb974a0[_0x11fd18(0x23d)](_0x3dea7f),_0x134f03[_0x11fd18(0x23d)](_0x57f6c8),_0x134f03[_0x11fd18(0x23d)](_0x22a838);});let _0x38b1d2=Math[_0x430110(0x111)](...Array[_0x430110(0x3a0)](_0x134f03)),_0x2a4fe1=Math[_0x430110(0x2e1)](...Array[_0x430110(0x3a0)](_0x134f03)),_0xbb8de3=Math[_0x430110(0x111)](...Array[_0x430110(0x3a0)](_0xb974a0)),_0x51f903=Math[_0x430110(0x2e1)](...Array[_0x430110(0x3a0)](_0xb974a0));_0xb974a0['forEach'](_0x386c71=>{const _0x3395b3=_0x430110;_0x57a3a8[_0x3395b3(0x367)](),_0x57a3a8[_0x3395b3(0x197)](_0x38b1d2,_0x386c71),_0x57a3a8[_0x3395b3(0x144)](_0x2a4fe1,_0x386c71),_0x57a3a8[_0x3395b3(0x399)]();}),_0x134f03[_0x430110(0x2a5)](_0x408a54=>{const _0x4f28db=_0x430110;_0x57a3a8[_0x4f28db(0x367)](),_0x57a3a8['moveTo'](_0x408a54,_0xbb8de3),_0x57a3a8['lineTo'](_0x408a54,_0x51f903),_0x57a3a8[_0x4f28db(0x399)]();}),_0x57a3a8[_0x430110(0x17e)]();}};let Fe=class extends n['Disposable']{constructor(_0x432ae9,_0x5cf815,_0x5730ce){const _0x4a4a3e=_0x3bd298;super(),this[_0x4a4a3e(0x33a)]=_0x432ae9;let _0x1e8a6d=this[_0x4a4a3e(0x33a)][_0x4a4a3e(0x1c6)];this['disposeWithMe'](_0x1e8a6d[_0x4a4a3e(0x10b)](new Pe(_0x5cf815,_0x5730ce)));}};Fe=O([D(0x1,W),D(0x2,k)],Fe);const Z=({icon:_0x33e885,items:_0xad837e,active:_0x115ed8,onChange:_0x399da6,onHover:_0x27a2bb,popupDirection:_0x46bb0a=_0x3bd298(0x3a2)})=>(0x0,d[_0x3bd298(0x2d8)])('div',{'className':_0x3bd298(0xed),'onMouseEnter':()=>_0x27a2bb==null?void 0x0:_0x27a2bb(!0x0),'onMouseLeave':()=>_0x27a2bb==null?void 0x0:_0x27a2bb(!0x1),'children':[(0x0,d[_0x3bd298(0x382)])('div',{'className':_0x3bd298(0x1f0),'children':_0x33e885}),(0x0,d[_0x3bd298(0x382)])(l[_0x3bd298(0x1c8)],{'className':_0x3bd298(0x118)}),_0x115ed8&&(0x0,d[_0x3bd298(0x382)])(_0x3bd298(0xbd),{'style':{[_0x46bb0a]:'100%'},'className':_0x3bd298(0x113),'children':(0x0,d[_0x3bd298(0x382)])(_0x3bd298(0xbd),{'className':'univer-solid\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700','children':_0xad837e['map'](_0x273e51=>(0x0,d[_0x3bd298(0x2d8)])(_0x3bd298(0xbd),{'className':_0x3bd298(0x2d9),'onClick':()=>{_0x399da6==null||_0x399da6(_0x273e51['value']),_0x27a2bb==null||_0x27a2bb(!0x1);},'children':[(0x0,d[_0x3bd298(0x382)])(_0x3bd298(0xbd),{'className':_0x3bd298(0x198),'children':_0x273e51[_0x3bd298(0x140)]}),(0x0,d[_0x3bd298(0x382)])(_0x3bd298(0xbd),{'className':_0x3bd298(0x226),'children':_0x273e51[_0x3bd298(0x319)]})]},_0x273e51[_0x3bd298(0x397)]))})})]}),Ie=_0x56e5f6=>{const _0x520ad7=_0x3bd298;let {onSelect:_0x3160b6,popupDirection:_0x577158}=_0x56e5f6,[_0x19cbcc,_0x5f43fa]=(0x0,u['useState'])(),_0x389205=(0x0,i['useDependency'])(n[_0x520ad7(0x14a)]),_0x291700=(0x0,i[_0x520ad7(0x128)])(n['IUniverInstanceService'])['getCurrentUnitOfType'](n[_0x520ad7(0x394)][_0x520ad7(0x103)]),_0xa43a85=_0x291700['getActiveSheet'](),_0x20d1e0=(0x0,u[_0x520ad7(0x3ab)])(()=>(0x0,n['dateKit'])(),[]),_0x3ae61e=(0x0,u['useMemo'])(()=>[{'value':'@Page','label':_0x389205['t'](_0x520ad7(0x142)),'desc':B(_0x520ad7(0x251),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':_0x520ad7(0x346),'label':_0x389205['t'](_0x520ad7(0x12d)),'desc':B(_0x520ad7(0x346),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':'@TotalPage','label':_0x389205['t'](_0x520ad7(0x1bf)),'desc':B('@TotalPage',{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':_0x520ad7(0x279),'label':_0x389205['t'](_0x520ad7(0x37d)),'desc':B(_0x520ad7(0x279),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})}],[_0x389205]),_0x14fe9a=(0x0,u['useMemo'])(()=>[{'value':_0x520ad7(0x28a),'label':_0x389205['t'](_0x520ad7(0x322)),'desc':B(_0x520ad7(0x28a),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':_0x520ad7(0x392),'label':_0x389205['t']('sheets-print.headerFooter.display.sheet'),'desc':B('@WorksheetTitle',{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})}],[_0x389205]),_0x9b6152=(0x0,u[_0x520ad7(0x3ab)])(()=>[{'value':_0x520ad7(0xe0),'label':_0x389205['t']('sheets-print.headerFooter.display.dateA'),'desc':B('@DateA',{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':_0x520ad7(0x303),'label':_0x389205['t'](_0x520ad7(0x210)),'desc':B(_0x520ad7(0x303),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':_0x520ad7(0x3b8),'label':_0x389205['t']('sheets-print.headerFooter.display.dateC'),'desc':B(_0x520ad7(0x3b8),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':'@DateD','label':_0x389205['t'](_0x520ad7(0x1da)),'desc':B(_0x520ad7(0x273),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})}],[_0x389205]),_0x21f712=(0x0,u[_0x520ad7(0x3ab)])(()=>[{'value':_0x520ad7(0x38a),'label':_0x389205['t'](_0x520ad7(0x201)),'desc':B(_0x520ad7(0x38a),{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':'@TimeB','label':_0x389205['t'](_0x520ad7(0x2c7)),'desc':B('@TimeB',{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':_0x520ad7(0x10c),'label':_0x389205['t'](_0x520ad7(0xe3)),'desc':B('@TimeC',{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})},{'value':_0x520ad7(0x300),'label':_0x389205['t'](_0x520ad7(0x134)),'desc':B('@TimeD',{'workbook':_0x291700,'worksheet':_0xa43a85,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x389205,'now':_0x20d1e0})}],[_0x389205]);return(0x0,d[_0x520ad7(0x2d8)])(_0x520ad7(0xbd),{'className':(0x0,c['clsx'])(_0x520ad7(0x1c0),c[_0x520ad7(0x173)]),'children':[(0x0,d[_0x520ad7(0x382)])(Z,{'icon':(0x0,d['jsx'])(l[_0x520ad7(0x1f5)],{}),'items':_0x3ae61e,'onHover':_0x1dcfe3=>_0x5f43fa(_0x1dcfe3?'sheet':''),'active':_0x19cbcc==='sheet','onChange':_0x3160b6,'popupDirection':_0x577158}),(0x0,d[_0x520ad7(0x382)])(Z,{'icon':(0x0,d[_0x520ad7(0x382)])(l['TextIcon'],{}),'items':_0x14fe9a,'onHover':_0x17aec1=>_0x5f43fa(_0x17aec1?'text':''),'active':_0x19cbcc===_0x520ad7(0x38f),'onChange':_0x3160b6,'popupDirection':_0x577158}),(0x0,d[_0x520ad7(0x382)])(Z,{'icon':(0x0,d['jsx'])(l[_0x520ad7(0x335)],{}),'items':_0x9b6152,'onHover':_0x1c4607=>_0x5f43fa(_0x1c4607?_0x520ad7(0x189):''),'active':_0x19cbcc===_0x520ad7(0x189),'onChange':_0x3160b6,'popupDirection':_0x577158}),(0x0,d[_0x520ad7(0x382)])(Z,{'icon':(0x0,d[_0x520ad7(0x382)])(l[_0x520ad7(0x1ef)],{}),'items':_0x21f712,'onHover':_0x3cae5c=>_0x5f43fa(_0x3cae5c?_0x520ad7(0xf8):''),'active':_0x19cbcc===_0x520ad7(0xf8),'onChange':_0x3160b6,'popupDirection':_0x577158})]});};function Le({width:_0x2fc606=0x2b9,height:_0x55f037=0x229,cols:_0x1d14eb=0x8,rows:_0x281c9f=0x18,cellWidth:_0x47922b=0x57,cellHeight:_0x253f0d=0x17,strokeColor:_0x382020=_0x3bd298(0x13c)}){const _0x1de3f5=_0x3bd298;let _0x383efd=(0x0,u['useMemo'])(()=>{const _0x243546=_0x181a;let _0x1001d9=[];for(let _0x5e198e=0x0;_0x5e198e<_0x281c9f;_0x5e198e++)for(let _0x23a338=0x0;_0x23a338<_0x1d14eb;_0x23a338++)_0x1001d9[_0x243546(0x181)]((0x0,d['jsx'])('rect',{'x':_0x23a338*_0x47922b+0.5,'y':_0x5e198e*_0x253f0d+0.5,'width':_0x47922b,'height':_0x253f0d,'stroke':_0x382020},_0x5e198e+'-'+_0x23a338));return _0x1001d9;},[_0x281c9f,_0x1d14eb,_0x47922b,_0x253f0d,_0x382020]);return(0x0,d[_0x1de3f5(0x382)])('svg',{'width':_0x2fc606,'height':_0x55f037,'viewBox':_0x1de3f5(0x2a7)+_0x2fc606+'\x20'+_0x55f037,'fill':'none','xmlns':_0x1de3f5(0x176),'children':_0x383efd});}const Q=_0xcb2329=>{const _0x5f2777=_0x3bd298;let {value:_0x14ab74,onChange:_0x2337fc,popupDirection:_0x55d5fd='top'}=_0xcb2329,_0x3cc9a8=(0x0,i[_0x5f2777(0x128)])(n[_0x5f2777(0x14a)]),_0x2a2395=(0x0,i[_0x5f2777(0x128)])(p[_0x5f2777(0x20c)]),[_0x1d03de,_0x21936c]=(0x0,u[_0x5f2777(0x332)])(!0x1),_0x4ad29a=(0x0,u['useRef'])(null),_0x16d098=(0x0,i['useDependency'])(n[_0x5f2777(0x25c)]),_0x204b50=[{'value':'@Page','label':_0x3cc9a8['t'](_0x5f2777(0x142))},{'value':_0x5f2777(0x346),'label':_0x3cc9a8['t'](_0x5f2777(0x12d))},{'value':_0x5f2777(0x15a),'label':_0x3cc9a8['t'](_0x5f2777(0x1bf))},{'value':_0x5f2777(0x279),'label':_0x3cc9a8['t'](_0x5f2777(0x37d))}],_0x19afc9=[{'value':_0x5f2777(0x28a),'label':_0x3cc9a8['t'](_0x5f2777(0x322))},{'value':_0x5f2777(0x392),'label':_0x3cc9a8['t'](_0x5f2777(0x21a))}],_0x4021bb=[{'value':'@DateA','label':_0x3cc9a8['t'](_0x5f2777(0x35a))},{'value':'@DateB','label':_0x3cc9a8['t'](_0x5f2777(0x210))},{'value':_0x5f2777(0x3b8),'label':_0x3cc9a8['t']('sheets-print.headerFooter.display.dateC')},{'value':_0x5f2777(0x273),'label':_0x3cc9a8['t'](_0x5f2777(0x1da))}],_0x4d4f00=[{'value':_0x5f2777(0x38a),'label':_0x3cc9a8['t'](_0x5f2777(0x201))},{'value':'@TimeB','label':_0x3cc9a8['t']('sheets-print.headerFooter.display.timeB')},{'value':'@TimeC','label':_0x3cc9a8['t']('sheets-print.headerFooter.display.timeC')},{'value':_0x5f2777(0x300),'label':_0x3cc9a8['t'](_0x5f2777(0x134))}],_0x5ee8ef=[..._0x204b50,..._0x19afc9,..._0x4021bb,..._0x4d4f00],[_0x4e14ce]=(0x0,u[_0x5f2777(0x332)])(()=>ne(_0x14ab74,_0x5ee8ef));return(0x0,d[_0x5f2777(0x2d8)])(_0x5f2777(0xbd),{'className':_0x5f2777(0x13b),'children':[(0x0,d[_0x5f2777(0x382)])(p[_0x5f2777(0x1a3)],{'editorRef':_0x4ad29a,'initialValue':_0x4e14ce,'onChange':_0x1799f7=>{_0x2337fc==null||_0x2337fc(re(_0x1799f7));},'onFocusChange':_0x5f33f2=>{_0x21936c(_0x5f33f2);},'onClickOutside':()=>{const _0x46e677=_0x5f2777;var _0xd312e7;(_0xd312e7=_0x4ad29a['current'])==null||_0xd312e7[_0x46e677(0x23b)]([]),_0x2a2395['blur']();},'placeholder':_0x3cc9a8['t'](_0x5f2777(0x3bc))}),(0x0,d[_0x5f2777(0x382)])('div',{'className':'univer-absolute\x20univer-left-0\x20univer-z-[100]','style':{[_0x55d5fd]:0x24},'children':_0x1d03de&&(0x0,d[_0x5f2777(0x382)])(Ie,{'popupDirection':_0x55d5fd,'onSelect':async _0x19bcb5=>{const _0x20d6b4=_0x5f2777;var _0x2b3f81;let _0x13922e=(_0x2b3f81=_0x4ad29a[_0x20d6b4(0x15f)])==null?void 0x0:_0x2b3f81[_0x20d6b4(0x171)]();if(!_0x4ad29a[_0x20d6b4(0x15f)])return;let _0x3462c7=_0x4ad29a[_0x20d6b4(0x15f)][_0x20d6b4(0x1a1)]();if(_0x3462c7<0x0)return;let _0x8c77f3=_0x5ee8ef[_0x20d6b4(0x14f)](_0x2287a1=>_0x2287a1['value']===_0x19bcb5);if(!_0x8c77f3)return;let _0x9ad6a={'dataStream':_0x8c77f3[_0x20d6b4(0x140)],'customRanges':[{'startIndex':0x0,'endIndex':_0x8c77f3[_0x20d6b4(0x140)]['length']-0x1,'rangeId':(0x0,n['generateRandomId'])(),'rangeType':n[_0x20d6b4(0x358)]['MENTION'],'properties':{'value':_0x8c77f3[_0x20d6b4(0x397)]},'wholeEntity':!0x0}]};await(0x0,n[_0x20d6b4(0x25a)])(0x0);let _0x2a0555=n[_0x20d6b4(0x2af)][_0x20d6b4(0x299)]['replace']({'selection':{'startOffset':_0x3462c7,'endOffset':_0x3462c7,'collapsed':!0x0},'body':_0x9ad6a,'doc':_0x4ad29a[_0x20d6b4(0x15f)][_0x20d6b4(0x366)]()});if(!_0x2a0555)return;let _0x3c1717={'id':f['RichTextEditingMutation']['id'],'params':{'unitId':_0x13922e,'actions':[],'textRanges':[{'startOffset':_0x3462c7+_0x9ad6a[_0x20d6b4(0x126)][_0x20d6b4(0x213)],'endOffset':_0x3462c7+_0x9ad6a['dataStream'][_0x20d6b4(0x213)],'collapsed':!0x0}],'trigger':'mually'}},_0x35d8f7=n[_0x20d6b4(0x135)][_0x20d6b4(0x228)]();_0x3c1717[_0x20d6b4(0x1d9)]['actions']=_0x35d8f7[_0x20d6b4(0x38d)](_0x2a0555[_0x20d6b4(0x28d)]()),_0x16d098[_0x20d6b4(0x34d)](_0x3c1717['id'],_0x3c1717[_0x20d6b4(0x1d9)]),setTimeout(()=>{const _0x1e96fd=_0x20d6b4;_0x2a2395[_0x1e96fd(0x35f)](_0x13922e);},0x0);}})})]});},Re=_0x486b09=>{const _0x29f37c=_0x3bd298;let {onClose:_0xb42bdd}=_0x486b09,_0x46abf4=(0x0,i[_0x29f37c(0x128)])(k),_0x38e4ac=_0x46abf4[_0x29f37c(0xf7)][_0x29f37c(0x26e)]??E,[_0x3e14af,_0xd92203]=(0x0,u[_0x29f37c(0x332)])(_0x38e4ac['topLeft']),[_0x344ca9,_0x491e92]=(0x0,u[_0x29f37c(0x332)])(_0x38e4ac[_0x29f37c(0x2c2)]),[_0x42b59,_0x4b4d2c]=(0x0,u[_0x29f37c(0x332)])(_0x38e4ac[_0x29f37c(0x1fd)]),[_0x14f175,_0x1d6ba9]=(0x0,u[_0x29f37c(0x332)])(_0x38e4ac[_0x29f37c(0x3a5)]),[_0x5f9803,_0x5796dc]=(0x0,u[_0x29f37c(0x332)])(_0x38e4ac[_0x29f37c(0x131)]),[_0x159292,_0x460420]=(0x0,u[_0x29f37c(0x332)])(_0x38e4ac[_0x29f37c(0x236)]),_0x1d1b28=(0x0,i[_0x29f37c(0x128)])(n['LocaleService']);return(0x0,d[_0x29f37c(0x2d8)])('div',{'className':_0x29f37c(0x369),'children':[(0x0,d[_0x29f37c(0x2d8)])(_0x29f37c(0xbd),{'className':(0x0,c[_0x29f37c(0x26d)])(_0x29f37c(0x30a),c[_0x29f37c(0x1ca)]),'children':[(0x0,d[_0x29f37c(0x382)])(_0x29f37c(0xbd),{'className':_0x29f37c(0x2c8),'children':_0x1d1b28['t'](_0x29f37c(0x290))}),(0x0,d[_0x29f37c(0x2d8)])(_0x29f37c(0xbd),{'className':'univer-relative\x20first:univer-mr-2','children':[(0x0,d['jsx'])(c[_0x29f37c(0x2a6)],{'className':_0x29f37c(0x2c6),'onClick':()=>{_0xb42bdd();},'children':_0x1d1b28['t'](_0x29f37c(0xc3))}),(0x0,d['jsx'])(c[_0x29f37c(0x2a6)],{'variant':_0x29f37c(0x199),'onClick':()=>{_0xb42bdd(),_0x46abf4['updateRenderConfig']({'headerFooterSetting':{'topLeft':_0x3e14af,'topCenter':_0x344ca9,'topRight':_0x42b59,'bottomLeft':_0x14f175,'bottomCenter':_0x5f9803,'bottomRight':_0x159292}});},'children':_0x1d1b28['t'](_0x29f37c(0x19b))})]})]}),(0x0,d[_0x29f37c(0x382)])(_0x29f37c(0xbd),{'className':_0x29f37c(0x2e8),'children':(0x0,d[_0x29f37c(0x382)])(_0x29f37c(0xbd),{'className':_0x29f37c(0x245),'children':(0x0,d[_0x29f37c(0x2d8)])('div',{'className':_0x29f37c(0x1be),'children':[(0x0,d['jsxs'])('div',{'className':'univer-flex\x20univer-w-full','children':[(0x0,d[_0x29f37c(0x382)])(Q,{'value':_0x3e14af,'onChange':_0x392fef=>_0xd92203(_0x392fef)}),(0x0,d[_0x29f37c(0x382)])(Q,{'value':_0x344ca9,'onChange':_0x5979b2=>_0x491e92(_0x5979b2)}),(0x0,d['jsx'])(Q,{'value':_0x42b59,'onChange':_0x22d2f9=>_0x4b4d2c(_0x22d2f9)})]}),(0x0,d[_0x29f37c(0x382)])('div',{'className':_0x29f37c(0x357),'children':(0x0,d[_0x29f37c(0x382)])(Le,{})}),(0x0,d['jsxs'])('div',{'className':_0x29f37c(0x117),'children':[(0x0,d[_0x29f37c(0x382)])(Q,{'popupDirection':_0x29f37c(0x217),'value':_0x14f175,'onChange':_0x2a166c=>_0x1d6ba9(_0x2a166c)}),(0x0,d['jsx'])(Q,{'popupDirection':_0x29f37c(0x217),'value':_0x5f9803,'onChange':_0x3bea00=>_0x5796dc(_0x3bea00)}),(0x0,d[_0x29f37c(0x382)])(Q,{'popupDirection':_0x29f37c(0x217),'value':_0x159292,'onChange':_0x57303f=>_0x460420(_0x57303f)})]})]})})})]});},ze=0.1,Be=()=>{const _0x1ef742=_0x3bd298;let [_0x33a365,_0xc24653]=(0x0,u[_0x1ef742(0x332)])(!0x1),_0x24133d=(0x0,i['useDependency'])(k),_0x9e43f9=(0x0,i['useDependency'])(n[_0x1ef742(0x25c)]),_0xfd74e5=(0x0,i[_0x1ef742(0x3a6)])(_0x24133d[_0x1ef742(0x35e)],[]),[_0x229d39,_0x2beb53]=(0x0,u['useState'])(0x1),[_0x3f8b7a,_0x24c225]=(0x0,u['useState'])(!0x1),_0x309c75=(0x0,i[_0x1ef742(0x128)])(b),_0x203b51=(0x0,i[_0x1ef742(0x3a6)])(_0x309c75[_0x1ef742(0xdb)],_0x309c75[_0x1ef742(0x160)]),_0x2c06cd=(0x0,i['useDependency'])(n[_0x1ef742(0x36c)]),_0x450520=(0x0,i[_0x1ef742(0x128)])(n[_0x1ef742(0x14a)]),_0x33eca4=(0x0,i[_0x1ef742(0x128)])(n[_0x1ef742(0x274)]),{ls:_0x4cb395,pbk:_0x4ef8eb}=(0x0,i[_0x1ef742(0x128)])(n['IConfigService'])[_0x1ef742(0x264)](e[_0x1ef742(0x285)])??{},{limit:_0x7104be,isPro:_0x4fd1d2}=(0x0,u[_0x1ef742(0x3ab)])(()=>{let {page:_0x573661,isPro:_0xff76a1}=ee(0x3,_0x4cb395,_0x4ef8eb);return{'limit':_0x573661,'isPro':_0xff76a1};},[_0x4cb395,_0x4ef8eb]),_0x42ee48=(0x0,u[_0x1ef742(0x34e)])(null),_0x4c7dc5=(0x0,i[_0x1ef742(0x128)])(i[_0x1ef742(0x341)]),_0x2bdb1b=we(import(`@univerjs-pro/collaboration-client`).then(_0x1ce72c=>_0x1ce72c[_0x1ef742(0x3b5)],()=>void 0x0));(0x0,u[_0x1ef742(0x120)])(()=>{const _0x2127e6=_0x1ef742;var _0x4e31b8;if(!_0x2bdb1b)return;let _0x3f7b3f=_0x2c06cd['getCurrentUnitOfType'](n[_0x2127e6(0x394)]['UNIVER_SHEET']);if(!_0x3f7b3f)return;let _0x1cf0bc=_0x3f7b3f['getUnitId'](),_0x1be72f=_0x33eca4['get'](_0x2bdb1b,n[_0x2127e6(0x302)][_0x2127e6(0xb9)]),_0x36407=_0x1be72f==null||(_0x4e31b8=_0x1be72f[_0x2127e6(0x155)](_0x1cf0bc))==null?void 0x0:_0x4e31b8[_0x2127e6(0x200)]();return()=>{_0x36407==null||_0x36407['dispose']();};},[_0x2bdb1b,_0x33eca4,_0x2c06cd]);let _0x5689bd=(0x0,u[_0x1ef742(0x3ab)])(()=>oe(_0xfd74e5),[_0xfd74e5]),_0x3daf41=(0x0,u[_0x1ef742(0x3ab)])(()=>_0x5689bd[_0x1ef742(0x233)](0x0,_0x7104be),[_0x5689bd,_0x7104be]),_0x2a9c0d=_0x24133d[_0x1ef742(0x257)],_0x2e820d=Math['round'](_0x229d39*(0x31a/_0x2a9c0d['w'])*0xa)/0xa,[_0x136f4a,{wrapperStyle:_0x45a6c3,containerProps:_0xff5ffe}]=(0x0,i[_0x1ef742(0x253)])(_0x3daf41,{'containerTarget':_0x42ee48,'itemHeight':_0x2a9c0d['h']*_0x2e820d+0x1c,'overscan':0x5}),_0x29428d=()=>{const _0x54f118=_0x1ef742;_0x9e43f9[_0x54f118(0x32a)](L['id']);},_0x403d4e=()=>{const _0x19b3d7=_0x1ef742;_0x24c225(!0x0),_0x4c7dc5[_0x19b3d7(0x1b4)]({'content':_0x450520['t'](_0x19b3d7(0x3a4)),'type':c[_0x19b3d7(0xc0)][_0x19b3d7(0x31e)]}),setTimeout(()=>{_0x9e43f9['executeCommand'](R['id']);},0x12c);},_0x24b302=(0x0,i[_0x1ef742(0x2e0)])(()=>{_0xc24653(!0x0);});return(0x0,d['jsxs'])(_0x1ef742(0xbd),{'className':'univer-absolute\x20univer-inset-0\x20univer-z-[100]\x20univer-box-border\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-100\x20dark:!univer-bg-gray-900','children':[_0x33a365&&(0x0,d[_0x1ef742(0x382)])(Re,{'onClose':()=>_0xc24653(!0x1)}),_0x3f8b7a&&(0x0,d[_0x1ef742(0x382)])(_0x1ef742(0xbd),{'className':_0x1ef742(0x3be)}),(0x0,d[_0x1ef742(0x2d8)])(_0x1ef742(0xbd),{'className':(0x0,c[_0x1ef742(0x26d)])(_0x1ef742(0x222),c[_0x1ef742(0x1ca)]),'children':[(0x0,d[_0x1ef742(0x2d8)])(_0x1ef742(0xbd),{'className':'univer-ml-2\x20univer-text-base\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':[_0x450520['t'](_0x1ef742(0x1a9)),_0x3daf41[_0x1ef742(0x213)],_0x450520['t'](_0x1ef742(0x20d))]}),(0x0,d[_0x1ef742(0x2d8)])(_0x1ef742(0xbd),{'className':_0x1ef742(0xeb),'children':[(0x0,d[_0x1ef742(0x382)])(c[_0x1ef742(0x2a6)],{'onClick':_0x29428d,'children':_0x450520['t'](_0x1ef742(0xc3))}),(0x0,d[_0x1ef742(0x382)])(c[_0x1ef742(0x2a6)],{'variant':_0x1ef742(0x199),'disabled':_0x203b51,'onClick':_0x403d4e,'children':_0x450520['t']('sheets-print.header.next')})]})]}),(0x0,d[_0x1ef742(0x2d8)])(_0x1ef742(0xbd),{'className':_0x1ef742(0x327),'children':[(0x0,d[_0x1ef742(0x2d8)])(_0x1ef742(0xbd),{'className':_0x1ef742(0xf9),'children':[(0x0,d[_0x1ef742(0x382)])('div',{'ref':_0x42ee48,'className':(0x0,c[_0x1ef742(0x26d)])(_0x1ef742(0x29e),c[_0x1ef742(0x3af)]),'aria-busy':_0x203b51,..._0xff5ffe,'children':_0x203b51?(0x0,d[_0x1ef742(0x382)])(_0x1ef742(0xbd),{'className':_0x1ef742(0x384),'role':_0x1ef742(0x1d2),'aria-label':_0x450520['t']('sheets-print.header.printing'),'children':(0x0,d['jsx'])(l[_0x1ef742(0xf4)],{'className':_0x1ef742(0x365),'aria-hidden':_0x1ef742(0x25e)})}):(0x0,d[_0x1ef742(0x382)])(_0x1ef742(0xbd),{'style':_0x45a6c3,'children':_0x136f4a['map'](_0x34ce50=>(0x0,d[_0x1ef742(0x382)])(Ee,{'config':_0x34ce50['data'],'page':_0x34ce50[_0x1ef742(0xd4)]['page'],'previewScale':_0x229d39},_0x34ce50['data'][_0x1ef742(0x390)]+':'+_0x34ce50[_0x1ef742(0xd4)][_0x1ef742(0x1af)]+':'+_0x34ce50[_0x1ef742(0xd4)]['page']+':'+_0x34ce50[_0x1ef742(0xd4)][_0x1ef742(0x10a)][_0x1ef742(0x2ee)]+':'+_0x34ce50['data'][_0x1ef742(0x10a)][_0x1ef742(0x13f)]+':'+_0x34ce50['data'][_0x1ef742(0x10a)][_0x1ef742(0x1ab)]+':'+_0x34ce50['data']['range'][_0x1ef742(0x2c9)]))})}),!_0x203b51&&!_0x4fd1d2&&(0x0,d[_0x1ef742(0x382)])(_0x1ef742(0xbd),{'className':_0x1ef742(0x33e),'children':(0x0,d['jsx'])('a',{'href':_0x450520['t']('sheets-print.limit.link'),'target':'_blank','rel':_0x1ef742(0x23c),'children':_0x450520['t'](_0x1ef742(0x30f))['replace'](_0x1ef742(0x314),''+_0x7104be)})}),!_0x203b51&&!_0x33a365&&(0x0,d[_0x1ef742(0x2d8)])(_0x1ef742(0xbd),{'className':_0x1ef742(0x34f),'children':[(0x0,d[_0x1ef742(0x382)])(_0x1ef742(0xbd),{'className':_0x1ef742(0x139),'onClick':()=>{_0x2beb53(Math['min'](_0x229d39+ze,0x2));},'children':(0x0,d[_0x1ef742(0x382)])(l[_0x1ef742(0x247)],{})}),(0x0,d[_0x1ef742(0x382)])(_0x1ef742(0xbd),{'className':_0x1ef742(0x139),'onClick':()=>{const _0x4cdb81=_0x1ef742;_0x2beb53(Math[_0x4cdb81(0x2e1)](_0x229d39-ze,0.5));},'children':(0x0,d[_0x1ef742(0x382)])(l['ReduceIcon'],{})})]})]}),(0x0,d[_0x1ef742(0x382)])('div',{'className':'univer-box-border\x20univer-h-full\x20univer-w-[312px]\x20univer-flex-none\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':(0x0,d['jsx'])(Oe,{'onShowFooterHeaderEditor':_0x24b302})})]})]});},Ve=()=>{const _0x2bf927=_0x3bd298;let _0x26a877=(0x0,i[_0x2bf927(0x128)])(b);return(0x0,i[_0x2bf927(0x3a6)])(_0x26a877[_0x2bf927(0xb6)],_0x26a877[_0x2bf927(0x1a5)])?(0x0,d[_0x2bf927(0x382)])(Be,{}):null;},He={'id':I['id'],'binding':i[_0x3bd298(0x2a8)]['P']|i['MetaKeys'][_0x3bd298(0x2e9)],'preconditions':s[_0x3bd298(0x3a7)]};let Ue=class extends n[_0x3bd298(0x1a7)]{constructor(_0x33844b,_0x35add6,_0x514c21,_0x36a215,_0x499f3a,_0x176298,_0x9f9657,_0x43f80b,_0x29d7f0,_0x3e0d02){const _0x22760c=_0x3bd298;super(),this[_0x22760c(0x10e)]=_0x33844b,this['_commandService']=_0x35add6,this['_sheetPrintManagerService']=_0x514c21,this[_0x22760c(0x311)]=_0x36a215,this[_0x22760c(0xe6)]=_0x499f3a,this['_shortcutService']=_0x176298,this[_0x22760c(0xb8)]=_0x9f9657,this['_univerInstanceService']=_0x43f80b,this[_0x22760c(0x229)]=_0x29d7f0,this[_0x22760c(0x306)]=_0x3e0d02,this[_0x22760c(0xfa)](),this[_0x22760c(0x15c)](),this[_0x22760c(0x2f1)](),this['_initShortcuts'](),this[_0x22760c(0x2ef)](),this['_initConfigChangeListener'](),this[_0x22760c(0xfd)]();}['_initCommands'](){const _0x1a7c67=_0x3bd298;[I,L,R,le,z,G,fe][_0x1a7c67(0x2a5)](_0x3e741f=>this[_0x1a7c67(0x1ee)][_0x1a7c67(0x18a)](_0x3e741f));}['_initUIParts'](){const _0x5c8168=_0x3bd298;this[_0x5c8168(0x1d1)](this[_0x5c8168(0x306)]['registerComponent'](i[_0x5c8168(0x3b1)][_0x5c8168(0x2b6)],()=>(0x0,i[_0x5c8168(0x18d)])(Ve,this[_0x5c8168(0xb8)])));}[_0x3bd298(0x31c)](){const _0x44dcf5=_0x3bd298;[He][_0x44dcf5(0x2a5)](_0x36392b=>{const _0xfe9cab=_0x44dcf5;this[_0xfe9cab(0x305)][_0xfe9cab(0x317)](_0x36392b);});}[_0x3bd298(0x2f1)](){const _0x191476=_0x3bd298;this[_0x191476(0xe6)][_0x191476(0x16d)](ve);}[_0x3bd298(0x1bd)](){const _0x290300=_0x3bd298;this[_0x290300(0x1d1)](this['_printDialogService'][_0x290300(0xb6)][_0x290300(0x293)](_0x36cc74=>{const _0x14c5cf=_0x290300;_0x36cc74&&this[_0x14c5cf(0x255)][_0x14c5cf(0x360)]();}));}['_print'](){const _0x38c69f=_0x3bd298;let _0xb06b74=this['_sheetPrintManagerService'][_0x38c69f(0x3a8)],_0x2fe466=this[_0x38c69f(0x255)][_0x38c69f(0xf7)];return this[_0x38c69f(0x311)]['print'](_0xb06b74,_0x2fe466);}[_0x3bd298(0x2ef)](){const _0x4cc818=_0x3bd298;this[_0x4cc818(0x1d1)](this[_0x4cc818(0x1ee)][_0x4cc818(0x215)](_0x12be94=>{const _0x265ac7=_0x4cc818;_0x12be94['id']===R['id']&&this[_0x265ac7(0xd3)]();}));}['_initMutationListener'](){const _0x4e889f=_0x3bd298;let _0x4ed12d=this[_0x4e889f(0xb8)]['get'](W);this[_0x4e889f(0x1d1)](_0x4ed12d[_0x4e889f(0xb6)][_0x4e889f(0x293)](()=>{const _0x43ce22=_0x4e889f;let _0x224003=this[_0x43ce22(0xd1)][_0x43ce22(0x35d)](0x2);if(_0x224003){let _0x110f09=_0x224003[_0x43ce22(0xb5)](),_0xfe040e=this[_0x43ce22(0x229)][_0x43ce22(0x389)](_0x110f09);if(_0xfe040e){var _0x14eb1b;(_0x14eb1b=_0xfe040e[_0x43ce22(0x1c6)])==null||_0x14eb1b[_0x43ce22(0x19c)]();}}})),this[_0x4e889f(0x1d1)](this[_0x4e889f(0x255)][_0x4e889f(0x10f)][_0x4e889f(0x293)](()=>{const _0x443a24=_0x4e889f;if(!_0x4ed12d[_0x443a24(0x1a5)])return;this[_0x443a24(0x255)]['reLayout']();let _0xdc66a0=this[_0x443a24(0xd1)][_0x443a24(0x35d)](0x2);if(_0xdc66a0){let _0x2fdacb=_0xdc66a0[_0x443a24(0xb5)](),_0x5863e2=this[_0x443a24(0x229)][_0x443a24(0x389)](_0x2fdacb);if(_0x5863e2){var _0x3e0a58;(_0x3e0a58=_0x5863e2[_0x443a24(0x1c6)])==null||_0x3e0a58['makeDirty']();}}})),this['disposeWithMe'](this[_0x4e889f(0x1ee)]['onCommandExecuted'](_0x463b7d=>{const _0x3cb40b=_0x4e889f;if(!_0x4ed12d[_0x3cb40b(0x1a5)]||[I['id'],L['id'],R['id'],z['id'],G['id'],fe['id']]['includes'](_0x463b7d['id']))return;this[_0x3cb40b(0x255)][_0x3cb40b(0x360)]();let _0x4e01bd=this[_0x3cb40b(0xd1)][_0x3cb40b(0x35d)](0x2);if(_0x4e01bd){let _0x2ab6af=_0x4e01bd[_0x3cb40b(0xb5)](),_0x3554fa=this[_0x3cb40b(0x229)][_0x3cb40b(0x389)](_0x2ab6af);if(_0x3554fa){var _0x103e66;(_0x103e66=_0x3554fa[_0x3cb40b(0x1c6)])==null||_0x103e66[_0x3cb40b(0x19c)]();}}}));}};Ue=O([D(0x0,b),D(0x1,n[_0x3bd298(0x25c)]),D(0x2,k),D(0x3,(0x0,n[_0x3bd298(0xff)])(U)),D(0x4,i[_0x3bd298(0x2cf)]),D(0x5,i[_0x3bd298(0x363)]),D(0x6,(0x0,n[_0x3bd298(0xff)])(n[_0x3bd298(0x274)])),D(0x7,n[_0x3bd298(0x36c)]),D(0x8,o[_0x3bd298(0x2f7)]),D(0x9,i[_0x3bd298(0x109)])],Ue);let $=class extends n[_0x3bd298(0xe8)]{constructor(_0x58be3a=K,_0x1ee3d8,_0x32be95,_0x5535b2){const _0x3f4d76=_0x3bd298;super(),this['_config']=_0x58be3a,this[_0x3f4d76(0xb8)]=_0x1ee3d8,this['_configService']=_0x32be95,this['_renderManagerService']=_0x5535b2;let {menu:_0x22de88,..._0x1d1e50}=(0x0,n[_0x3f4d76(0x1b7)])({},K,this[_0x3f4d76(0xca)]);_0x22de88&&this[_0x3f4d76(0x1e8)]['setConfig'](_0x3f4d76(0x14d),_0x22de88,{'merge':!0x0}),this['_configService'][_0x3f4d76(0x1e1)](Se,_0x1d1e50);}[_0x3bd298(0x106)](){const _0x24507a=_0x3bd298;this[_0x24507a(0xb8)][_0x24507a(0x178)](t[_0x24507a(0xe9)])||this['_injector'][_0x24507a(0x23d)]([t[_0x24507a(0xe9)],{'useClass':t[_0x24507a(0x338)]}]),(0x0,n[_0x24507a(0x188)])(this[_0x24507a(0xb8)],[[k,{'useClass':N}],[b,{'useClass':x}],[W,{'useClass':ue}],[U],[X],[Ue]]),this[_0x24507a(0x1d1)](this[_0x24507a(0x229)][_0x24507a(0x132)](n[_0x24507a(0x394)][_0x24507a(0x103)],[Fe])),(0x0,n['touchDependencies'])(this[_0x24507a(0xb8)],[[X],[Ue]]);}};y($,_0x3bd298(0x220),xe),y($,'packageName',ye),y($,_0x3bd298(0x33f),be),y($,_0x3bd298(0x170),n['UniverInstanceType'][_0x3bd298(0x103)]),$=O([(0x0,n[_0x3bd298(0x256)])(e[_0x3bd298(0x1e2)],o['UniverRenderEnginePlugin'],r[_0x3bd298(0x102)],s['UniverSheetsUIPlugin']),D(0x1,(0x0,n['Inject'])(n[_0x3bd298(0x274)])),D(0x2,n[_0x3bd298(0x28b)]),D(0x3,o[_0x3bd298(0x2f7)])],$),exports[_0x3bd298(0x2b5)]=L,exports[_0x3bd298(0x393)]=R,exports[_0x3bd298(0x143)]=k,exports[_0x3bd298(0x1dd)]=S,exports['PrintFreeze']=w,exports[_0x3bd298(0x2b2)]=C,exports['PrintHeaderFooterSymbol']=T,exports[_0x3bd298(0x361)]=ae,Object[_0x3bd298(0x3c0)](exports,_0x3bd298(0xcf),{'enumerable':!0x0,'get':function(){return U;}}),exports[_0x3bd298(0xbf)]=I,exports['SheetScreenShotOperation']=le,exports[_0x3bd298(0xde)]=ve,Object['defineProperty'](exports,_0x3bd298(0xf5),{'enumerable':!0x0,'get':function(){return Y;}}),Object[_0x3bd298(0x3c0)](exports,_0x3bd298(0x19d),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x3bd298(0x180)]=E,exports[_0x3bd298(0x37b)]=F;
1
+ const _0xcf15a3=_0x4541;(function(_0x417290,_0x4280f5){const _0x5977df=_0x4541,_0x5eb74c=_0x417290();while(!![]){try{const _0x58dffe=parseInt(_0x5977df(0x1c1))/0x1*(-parseInt(_0x5977df(0x44a))/0x2)+parseInt(_0x5977df(0x2ec))/0x3+parseInt(_0x5977df(0x3a8))/0x4+parseInt(_0x5977df(0x218))/0x5*(-parseInt(_0x5977df(0x44b))/0x6)+-parseInt(_0x5977df(0x166))/0x7+-parseInt(_0x5977df(0x2db))/0x8+parseInt(_0x5977df(0x419))/0x9*(parseInt(_0x5977df(0x23f))/0xa);if(_0x58dffe===_0x4280f5)break;else _0x5eb74c['push'](_0x5eb74c['shift']());}catch(_0x113fae){_0x5eb74c['push'](_0x5eb74c['shift']());}}}(_0x39c9,0xbe987),Object[_0xcf15a3(0x32c)](exports,Symbol['toStringTag'],{'value':_0xcf15a3(0x1d3)}));let e=require('@univerjs-pro/license'),t=require('@univerjs-pro/print'),n=require('@univerjs/core'),r=require('@univerjs/sheets'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/engine-render'),s=require('@univerjs/sheets-ui'),c=require('@univerjs/design'),l=require('@univerjs/icons'),u=require('react'),d=require('react/jsx-runtime'),f=require('@univerjs/docs'),p=require('@univerjs/docs-ui');const m=Number['parseInt'](0x6aca2769),h=_0xcf15a3(0x153);function g(_0x28da7b){'@babel/helpers - typeof';const _0x20a60a=_0xcf15a3;return g=typeof Symbol==_0x20a60a(0x386)&&typeof Symbol[_0x20a60a(0x262)]=='symbol'?function(_0x47e4d8){return typeof _0x47e4d8;}:function(_0x4a9137){const _0x28868e=_0x20a60a;return _0x4a9137&&typeof Symbol=='function'&&_0x4a9137['constructor']===Symbol&&_0x4a9137!==Symbol[_0x28868e(0x2d0)]?_0x28868e(0x321):typeof _0x4a9137;},g(_0x28da7b);}function _(_0x3c8e3a,_0x11135d){const _0x498403=_0xcf15a3;if(g(_0x3c8e3a)!=_0x498403(0x287)||!_0x3c8e3a)return _0x3c8e3a;var _0x4976af=_0x3c8e3a[Symbol['toPrimitive']];if(_0x4976af!==void 0x0){var _0x2d50cf=_0x4976af['call'](_0x3c8e3a,_0x11135d||_0x498403(0x440));if(g(_0x2d50cf)!=_0x498403(0x287))return _0x2d50cf;throw TypeError(_0x498403(0x3d9));}return(_0x11135d===_0x498403(0x2fc)?String:Number)(_0x3c8e3a);}function v(_0x522a43){const _0x273cb2=_0xcf15a3;var _0x250cc5=_(_0x522a43,_0x273cb2(0x2fc));return g(_0x250cc5)==_0x273cb2(0x321)?_0x250cc5:_0x250cc5+'';}function y(_0x8e2614,_0x26efd8,_0x14d6e3){const _0x229b0b=_0xcf15a3;return(_0x26efd8=v(_0x26efd8))in _0x8e2614?Object[_0x229b0b(0x32c)](_0x8e2614,_0x26efd8,{'value':_0x14d6e3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x8e2614[_0x26efd8]=_0x14d6e3,_0x8e2614;}const b=(0x0,n['createIdentifier'])('univer-pro.sheet-print-dialog.service');var x=class extends n[_0xcf15a3(0x455)]{constructor(..._0x3ef210){const _0x234a53=_0xcf15a3;super(..._0x3ef210),y(this,_0x234a53(0x3f8),new a[(_0x234a53(0x3b9))](!0x1)),y(this,_0x234a53(0x152),new a['BehaviorSubject'](!0x1));}get['visible'](){const _0x576674=_0xcf15a3;return this[_0x576674(0x3f8)][_0x576674(0x2ac)]();}get[_0xcf15a3(0x376)](){const _0x407a74=_0xcf15a3;return this[_0x407a74(0x152)][_0x407a74(0x2ac)]();}[_0xcf15a3(0x1a5)](){const _0x15cb57=_0xcf15a3;this[_0x15cb57(0x3f8)][_0x15cb57(0x448)](!0x0);}['close'](){const _0x360871=_0xcf15a3;this['visible$'][_0x360871(0x448)](!0x1);}[_0xcf15a3(0x250)](_0x3023ff){const _0x57e0af=_0xcf15a3;this[_0x57e0af(0x152)][_0x57e0af(0x448)](_0x3023ff);}[_0xcf15a3(0x196)](){const _0x174e11=_0xcf15a3;this['visible$'][_0x174e11(0x1c2)](),this[_0x174e11(0x152)][_0x174e11(0x1c2)](),super[_0x174e11(0x196)]();}};let S=function(_0x3d0f65){const _0x2fca11=_0xcf15a3;return _0x3d0f65[_0x2fca11(0x398)]='CurrentSheet',_0x3d0f65['workbook']=_0x2fca11(0x2a5),_0x3d0f65[_0x2fca11(0x374)]=_0x2fca11(0x374),_0x3d0f65[_0x2fca11(0x38c)]=_0x2fca11(0x38c),_0x3d0f65;}({}),C=function(_0x5a5300){const _0x219e19=_0xcf15a3;return _0x5a5300[_0x219e19(0x2de)]='PageSize',_0x5a5300[_0x219e19(0x422)]=_0x219e19(0x422),_0x5a5300['WorksheetTitle']=_0x219e19(0x416),_0x5a5300[_0x219e19(0x3fb)]=_0x219e19(0x3fb),_0x5a5300[_0x219e19(0x1fb)]=_0x219e19(0x1fb),_0x5a5300;}({}),w=function(_0x5cc28f){const _0x35ce34=_0xcf15a3;return _0x5cc28f['Row']=_0x35ce34(0x227),_0x5cc28f[_0x35ce34(0x149)]=_0x35ce34(0x149),_0x5cc28f;}({}),T=function(_0x5d36fc){const _0x232e5e=_0xcf15a3;return _0x5d36fc['WorkbookTitle']=_0x232e5e(0x3a6),_0x5d36fc[_0x232e5e(0x416)]=_0x232e5e(0x3fe),_0x5d36fc[_0x232e5e(0x30b)]=_0x232e5e(0x3b7),_0x5d36fc[_0x232e5e(0x404)]=_0x232e5e(0x410),_0x5d36fc[_0x232e5e(0x3d3)]='@DateC',_0x5d36fc['DateD']='@DateD',_0x5d36fc[_0x232e5e(0x412)]=_0x232e5e(0x320),_0x5d36fc[_0x232e5e(0x3ef)]=_0x232e5e(0x34b),_0x5d36fc['TimeB']=_0x232e5e(0x24d),_0x5d36fc[_0x232e5e(0x392)]=_0x232e5e(0x3e0),_0x5d36fc[_0x232e5e(0x2cf)]=_0x232e5e(0x35a),_0x5d36fc['Page']='@Page',_0x5d36fc[_0x232e5e(0x2e9)]=_0x232e5e(0x348),_0x5d36fc[_0x232e5e(0x20d)]=_0x232e5e(0x296),_0x5d36fc[_0x232e5e(0x35b)]='@TotalSheetPage',_0x5d36fc;}({});const E={'topLeft':'','topCenter':'','topRight':'','bottomLeft':'','bottomCenter':'','bottomRight':''};function D(_0x38586a,_0x511a77){return function(_0x258ce7,_0x2ee138){_0x511a77(_0x258ce7,_0x2ee138,_0x38586a);};}function O(_0x399347,_0x312442,_0x7c18cc,_0x423833){const _0x2b79e8=_0xcf15a3;var _0x4484bb=arguments[_0x2b79e8(0x21f)],_0x5efa2d=_0x4484bb<0x3?_0x312442:_0x423833===null?_0x423833=Object[_0x2b79e8(0x44f)](_0x312442,_0x7c18cc):_0x423833,_0x5cf6da;if(typeof Reflect=='object'&&typeof Reflect[_0x2b79e8(0x2ba)]=='function')_0x5efa2d=Reflect[_0x2b79e8(0x2ba)](_0x399347,_0x312442,_0x7c18cc,_0x423833);else{for(var _0x44c762=_0x399347[_0x2b79e8(0x21f)]-0x1;_0x44c762>=0x0;_0x44c762--)(_0x5cf6da=_0x399347[_0x44c762])&&(_0x5efa2d=(_0x4484bb<0x3?_0x5cf6da(_0x5efa2d):_0x4484bb>0x3?_0x5cf6da(_0x312442,_0x7c18cc,_0x5efa2d):_0x5cf6da(_0x312442,_0x7c18cc))||_0x5efa2d);}return _0x4484bb>0x3&&_0x5efa2d&&Object['defineProperty'](_0x312442,_0x7c18cc,_0x5efa2d),_0x5efa2d;}const k=(0x0,n['createIdentifier'])(_0xcf15a3(0x341)),A=_0xe3ac0c=>Math[_0xcf15a3(0x16d)](_0xe3ac0c*0x64)/0x64,j={'startColumn':0x0,'endColumn':0x0,'startRow':0x0,'endRow':0x0},M={'startColumn':-0x1,'startRow':-0x1,'xSplit':0x0,'ySplit':0x0};let N=class{constructor(_0x3926d7,_0x3a21de,_0x188674,_0x4cdb73){const _0x3d1a04=_0xcf15a3;this[_0x3d1a04(0x3a7)]=_0x3926d7,this[_0x3d1a04(0x25e)]=_0x3a21de,this[_0x3d1a04(0x3ec)]=_0x188674,this['_renderManagerService']=_0x4cdb73,y(this,'_layoutConfig',{'area':_0x3d1a04(0x398),'subUnitIds':[],'paperSize':n[_0x3d1a04(0x1b9)]['A4'],'direction':t['PrintDirection'][_0x3d1a04(0x256)],'scale':t[_0x3d1a04(0x334)][_0x3d1a04(0x29f)],'customScale':0x1,'freeze':['Row',_0x3d1a04(0x149)],'margin':t['PrintPaperMargin'][_0x3d1a04(0x41c)],'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0,'marginCustom':{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0}}),y(this,_0x3d1a04(0x210),{'gridlines':!0x0,'hAlign':t[_0x3d1a04(0x390)]['Middle'],'vAlign':t['PrintAlign']['Start'],'headerFooter':[],'headerFooterSetting':E,'isCustomHeaderFooter':!0x1}),y(this,_0x3d1a04(0x3da),[]),y(this,_0x3d1a04(0x1af),new a['BehaviorSubject'](this['_layoutInfos'])),y(this,_0x3d1a04(0x215),new a[(_0x3d1a04(0x3b9))](this[_0x3d1a04(0x2b6)])),y(this,_0x3d1a04(0x267),new a[(_0x3d1a04(0x3b9))](this['_renderConfig'])),y(this,_0x3d1a04(0x1a8),null),y(this,_0x3d1a04(0x209),this[_0x3d1a04(0x215)][_0x3d1a04(0x2d7)]()),y(this,'renderConfig$',this[_0x3d1a04(0x267)][_0x3d1a04(0x2d7)]()),y(this,_0x3d1a04(0x188),this[_0x3d1a04(0x1af)]['asObservable']()['pipe']((0x0,a[_0x3d1a04(0x313)])(0x12c)));}get[_0xcf15a3(0x36e)](){return this['_layoutInfos'];}get[_0xcf15a3(0x175)](){const _0x56b2d1=_0xcf15a3;return this[_0x56b2d1(0x210)];}get[_0xcf15a3(0x16e)](){const _0x3e9d95=_0xcf15a3;return this[_0x3e9d95(0x2b6)];}get[_0xcf15a3(0x1bb)](){const _0x5c2455=_0xcf15a3;let {paperSize:_0x2b0ca6,direction:_0xbde915,pageSizeCustom:_0x5a6101}=this['_layoutConfig'];if(_0x5a6101)return _0x5a6101;let _0x49abaf=n[_0x5c2455(0x156)][_0x2b0ca6];return _0xbde915===t[_0x5c2455(0x1ab)][_0x5c2455(0x256)]?{'w':_0x49abaf[_0x5c2455(0x2dc)],'h':_0x49abaf['height']}:{'w':_0x49abaf[_0x5c2455(0x1ea)],'h':_0x49abaf[_0x5c2455(0x2dc)]};}get[_0xcf15a3(0x295)](){const _0x43e013=_0xcf15a3;return this[_0x43e013(0x2b6)][_0x43e013(0x231)]===t[_0x43e013(0x3ed)]['Custom']?this[_0x43e013(0x2b6)][_0x43e013(0x151)]:t['PaperMarginMap'][this[_0x43e013(0x2b6)][_0x43e013(0x231)]];}[_0xcf15a3(0x310)](_0x3990e9){const _0x3a63bd=_0xcf15a3;this[_0x3a63bd(0x2b6)]={...this['_layoutConfig'],..._0x3990e9},this[_0x3a63bd(0x215)]['next'](this['_layoutConfig']),this[_0x3a63bd(0x389)]();}[_0xcf15a3(0x30a)](_0x24ac43){const _0x9b020c=_0xcf15a3;this['_layoutConfig']=_0x24ac43,this[_0x9b020c(0x215)][_0x9b020c(0x448)](this['_layoutConfig']),this[_0x9b020c(0x389)]();}[_0xcf15a3(0x172)](_0x3fb4d0){const _0x2535b5=_0xcf15a3;this[_0x2535b5(0x210)]={...this[_0x2535b5(0x210)],..._0x3fb4d0},this[_0x2535b5(0x267)][_0x2535b5(0x448)](this[_0x2535b5(0x210)]);}[_0xcf15a3(0x2ef)](_0x58392c){const _0x3df096=_0xcf15a3;this['_renderConfig']=_0x58392c,this['_renderConfig$'][_0x3df096(0x448)](this[_0x3df096(0x210)]);}['reLayout'](){const _0xdbd3e9=_0xcf15a3;this[_0xdbd3e9(0x3da)]=this[_0xdbd3e9(0x34d)](),this[_0xdbd3e9(0x1af)][_0xdbd3e9(0x448)](this[_0xdbd3e9(0x3da)]);}['reset'](){const _0x193e9f=_0xcf15a3;this['_layoutInfos']=[],this[_0x193e9f(0x1af)][_0x193e9f(0x448)](this[_0x193e9f(0x3da)]),this[_0x193e9f(0x2b6)]={...this[_0x193e9f(0x2b6)],'area':_0x193e9f(0x398),'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0},this[_0x193e9f(0x215)][_0x193e9f(0x448)](this[_0x193e9f(0x2b6)]);}[_0xcf15a3(0x3aa)](_0x48f74){const _0x85f4b6=_0xcf15a3;var _0x2d59b9;(_0x2d59b9=this[_0x85f4b6(0x1a8)])==null||_0x2d59b9[_0x85f4b6(0x196)](),this[_0x85f4b6(0x1a8)]=_0x48f74;}[_0xcf15a3(0x3e2)](){const _0x160c43=_0xcf15a3;var _0x35fd90;(_0x35fd90=this[_0x160c43(0x1a8)])==null||_0x35fd90['dispose'](),this[_0x160c43(0x1a8)]=null;}[_0xcf15a3(0x34d)](){const _0x5252cc=_0xcf15a3;let _0x56ce38=this[_0x5252cc(0x2d3)](),_0x88ae5=[];return _0x56ce38[_0x5252cc(0x22f)](_0x1e800e=>{const _0x1d3a9c=_0x5252cc;if(_0x1e800e){let _0x133e3d=this['_calculateSheetPages'](_0x1e800e);_0x133e3d&&_0x88ae5[_0x1d3a9c(0x425)](_0x133e3d);}}),_0x88ae5;}[_0xcf15a3(0x265)](_0x2c237d,_0x47d07b,_0x2a8086){const _0x34c168=_0xcf15a3;var _0xe3152e;let _0x5c3a32=this['_univerInstanceService'][_0x34c168(0x39d)](n[_0x34c168(0x39b)][_0x34c168(0x28d)])[_0x34c168(0x3ac)](_0x47d07b);if(!_0x5c3a32)return;let _0x4d927f=_0x5c3a32[_0x34c168(0x45c)](),_0x1d907b=_0x2a8086??_0x5c3a32[_0x34c168(0x1de)](),_0x2a1eae=(_0xe3152e=this[_0x34c168(0x40b)][_0x34c168(0x18e)](_0x2c237d))==null?void 0x0:_0xe3152e['with'](s[_0x34c168(0x31b)])[_0x34c168(0x25a)](_0x47d07b);if(!_0x2a1eae)return;if(_0x1d907b){var _0x377767;_0x2a1eae==null||(_0x377767=_0x2a1eae[_0x34c168(0x456)])==null||_0x377767[_0x34c168(0x42a)]((_0x4c2df1,_0x4f31e0,_0x2be337)=>{const _0x569f6d=_0x34c168;let {endColumn:_0x4e3b42}=_0x2be337;_0x4e3b42>_0x1d907b[_0x569f6d(0x2aa)]&&(_0x1d907b[_0x569f6d(0x2aa)]=_0x4e3b42);});}let _0x3a5627=this[_0x34c168(0x3ec)][_0x34c168(0x1cc)][_0x34c168(0x283)](this[_0x34c168(0x3ec)]['interceptor'][_0x34c168(0x2e4)]()[_0x34c168(0x33d)])(_0x1d907b,{'unitId':_0x2c237d,'subUnitId':_0x47d07b});return _0x3a5627?this[_0x34c168(0x1ec)](_0x47d07b,{..._0x3a5627,'startColumn':Math[_0x34c168(0x282)](_0x4d927f[_0x34c168(0x405)]-_0x4d927f[_0x34c168(0x237)],0x0),'startRow':Math['max'](_0x4d927f[_0x34c168(0x33a)]-_0x4d927f[_0x34c168(0x181)],0x0)}):null;}['_calculateCurrentSelectionRange'](_0x2c9e04,_0x6e9887){const _0x43afb4=_0xcf15a3;let _0x17807f=this[_0x43afb4(0x25e)][_0x43afb4(0x44c)](_0x2c9e04)['getSelectionsOfWorksheet'](_0x6e9887);return _0x17807f?_0x17807f[_0x43afb4(0x1d5)](_0x2c101b=>this[_0x43afb4(0x1ec)](_0x6e9887,_0x2c101b[_0x43afb4(0x3e1)])):[];}['_calculateFinalRange'](_0x2f9fa9,_0x352f50){const _0x5a8f1c=_0xcf15a3;let _0x2a1024=this[_0x5a8f1c(0x3a7)][_0x5a8f1c(0x39d)](n[_0x5a8f1c(0x39b)][_0x5a8f1c(0x28d)]),_0x1d4023=_0x2a1024[_0x5a8f1c(0x3ac)](_0x2f9fa9),_0x1535e8=this[_0x5a8f1c(0x2b6)],_0x29926f=_0x2a1024[_0x5a8f1c(0x312)](),_0xb298ad=this['paperSize'],{top:_0x779526,right:_0x4ef08e,bottom:_0x1cc208,left:_0x2f4f92}=this[_0x5a8f1c(0x295)];_0xb298ad['h']-=_0x779526+_0x1cc208,_0xb298ad['w']-=_0x2f4f92+_0x4ef08e;let _0x3a4bdf=this['_renderManagerService'][_0x5a8f1c(0x18e)](_0x29926f)[_0x5a8f1c(0x14b)](s[_0x5a8f1c(0x31b)]);if(_0x352f50[_0x5a8f1c(0x33a)]>-0x1&&_0x352f50[_0x5a8f1c(0x405)]>-0x1){let _0x14f264=_0x3a4bdf[_0x5a8f1c(0x25a)](_0x2f9fa9);if(!_0x1d4023||!_0x14f264)return null;let _0x2c6d2e=_0x352f50['startRow'],_0x30c855=_0x352f50[_0x5a8f1c(0x254)],_0x3cbd8b=_0x352f50[_0x5a8f1c(0x405)],_0x94145c=_0x352f50[_0x5a8f1c(0x2aa)],_0x485c6b=_0x1d4023[_0x5a8f1c(0x45c)](),_0x2515bd=A(this['_calculatePrintScale'](_0x14f264,_0x352f50,_0x485c6b)),_0x1f0456=-0x1,_0x4127f3=0x0,_0x4b6ba2=-0x1,_0x3d7eb1=0x0,_0x1addb7=_0x14f264[_0x5a8f1c(0x3bd)],_0xf9293=_0x14f264[_0x5a8f1c(0x2b5)];if(_0x485c6b['xSplit']&&_0x1535e8[_0x5a8f1c(0x38d)]['includes'](_0x5a8f1c(0x149))){if(_0x94145c>=_0x485c6b[_0x5a8f1c(0x405)]){let _0x1d8bfb=_0x2515bd*(_0x1addb7[_0x485c6b[_0x5a8f1c(0x405)]-0x1]-(_0x1addb7[_0x485c6b[_0x5a8f1c(0x405)]-_0x485c6b[_0x5a8f1c(0x237)]-0x1]||0x0));_0x1d8bfb<_0xb298ad['w']&&(_0x4b6ba2=_0x485c6b[_0x5a8f1c(0x405)],_0x3d7eb1=_0x485c6b[_0x5a8f1c(0x237)],_0xb298ad['w']-=_0x1d8bfb);}else{let _0x537a42=_0x94145c+0x1,_0x5a8552=_0x94145c+0x1-(_0x485c6b['startColumn']-_0x485c6b[_0x5a8f1c(0x237)]),_0x1bae32=_0x2515bd*(_0x1addb7[_0x4b6ba2-0x1]-(_0x1addb7[_0x4b6ba2-_0x3d7eb1]-0x1||0x0));_0x1bae32<_0xb298ad['w']&&(_0x4b6ba2=_0x537a42,_0x3d7eb1=_0x5a8552,_0xb298ad['w']-=_0x1bae32);}}if(_0x3cbd8b=Math['max'](_0x4b6ba2,_0x3cbd8b),_0x485c6b[_0x5a8f1c(0x181)]&&_0x1535e8[_0x5a8f1c(0x38d)][_0x5a8f1c(0x1c4)](_0x5a8f1c(0x227))){if(_0x30c855>=_0x485c6b[_0x5a8f1c(0x33a)]){let _0x193cdc=_0xf9293[_0x485c6b[_0x5a8f1c(0x33a)]]-_0xf9293[_0x485c6b[_0x5a8f1c(0x33a)]-_0x485c6b['ySplit']];_0x193cdc<_0xb298ad['h']&&(_0x1f0456=_0x485c6b[_0x5a8f1c(0x33a)],_0x4127f3=_0x485c6b[_0x5a8f1c(0x181)],_0xb298ad['h']-=_0x193cdc);}else _0x1f0456=_0x30c855+0x1,_0x4127f3=_0x30c855+0x1-(_0x485c6b['startRow']-_0x485c6b[_0x5a8f1c(0x181)]),_0xb298ad['h']=_0xb298ad['h']-_0xf9293[_0x1f0456]-_0xf9293[_0x1f0456-_0x4127f3];}return _0x2c6d2e=Math[_0x5a8f1c(0x282)](_0x1f0456,_0x2c6d2e),{'unitId':_0x29926f,'subUnitId':_0x2f9fa9,'range':{'startRow':_0x2c6d2e,'endRow':_0x30c855,'startColumn':_0x3cbd8b,'endColumn':_0x94145c},'freeze':{'startRow':_0x1f0456,'startColumn':_0x4b6ba2,'xSplit':_0x3d7eb1,'ySplit':_0x4127f3},'contentSize':_0xb298ad,'scale':_0x2515bd};}return{'unitId':_0x29926f,'subUnitId':_0x2f9fa9,'range':j,'freeze':M,'contentSize':_0xb298ad,'scale':0x1};}[_0xcf15a3(0x2e1)](_0x2c468d,_0x278ea1,_0xbd11d9){const _0x46404e=_0xcf15a3;let _0x3f5bb2=_0x2c468d[_0x46404e(0x3bd)],_0x545072=_0x2c468d[_0x46404e(0x2b5)],{xSplit:_0x917028,ySplit:_0x140fed,startColumn:_0x44f110,startRow:_0x595624}=_0xbd11d9,{startRow:_0x54c123,startColumn:_0x3318cf}=_0x278ea1,{endColumn:_0x52dd6f,endRow:_0x282727}=_0x278ea1;_0x54c123=_0x282727<_0x595624?_0x54c123:Math[_0x46404e(0x282)](_0x595624,_0x54c123),_0x3318cf=_0x52dd6f<_0x44f110?_0x3318cf:Math[_0x46404e(0x282)](_0x44f110,_0x3318cf);let {scale:_0x6190be,customScale:_0xa67a21}=this[_0x46404e(0x2b6)],_0x42e8af=this[_0x46404e(0x1bb)],_0x10bb46=this[_0x46404e(0x295)],_0x56f460=_0x917028>0x0?(_0x3f5bb2[_0x44f110-0x1]||0x0)-(_0x3f5bb2[_0x44f110-_0x917028-0x1]||0x0):0x0,_0x3d9f67=_0x140fed>0x0?(_0x545072[_0x595624-0x1]||0x0)-(_0x545072[_0x595624-_0x140fed-0x1]||0x0):0x0,_0x1dfefa=_0x545072[_0x282727]-(_0x545072[_0x54c123-0x1]||0x0),_0x3dda88=_0x3f5bb2[_0x52dd6f]-(_0x3f5bb2[_0x3318cf-0x1]||0x0),_0x3d3630=_0x1dfefa+_0x3d9f67,_0x42fd2f=_0x3dda88+_0x56f460;switch(_0x6190be){case t['PrintScale'][_0x46404e(0x22e)]:return _0xa67a21;case t[_0x46404e(0x334)][_0x46404e(0x420)]:return Math[_0x46404e(0x3e7)](0x1,(_0x42e8af['w']-_0x10bb46['left']-_0x10bb46['right'])/_0x42fd2f);case t['PrintScale']['FitHeight']:return Math['min'](0x1,(_0x42e8af['h']-_0x10bb46[_0x46404e(0x2bb)]-_0x10bb46[_0x46404e(0x1f1)])/_0x3d3630);case t['PrintScale'][_0x46404e(0x1b3)]:return Math['min'](0x1,(_0x42e8af['w']-_0x10bb46[_0x46404e(0x14e)]-_0x10bb46[_0x46404e(0x3fa)])/_0x42fd2f,(_0x42e8af['h']-_0x10bb46[_0x46404e(0x2bb)]-_0x10bb46[_0x46404e(0x1f1)])/_0x3d3630);default:return 0x1;}}[_0xcf15a3(0x2d3)](){const _0x1483d9=_0xcf15a3;let {area:_0x1ee66a,subUnitIds:_0x343807}=this[_0x1483d9(0x2b6)],_0x49f3d8=this[_0x1483d9(0x3a7)][_0x1483d9(0x39d)](n[_0x1483d9(0x39b)][_0x1483d9(0x28d)]),_0x3b0c9b=_0x49f3d8[_0x1483d9(0x312)]();switch(_0x1ee66a){case _0x1483d9(0x398):{var _0x4050bb;let _0x2e46d2=(_0x4050bb=_0x49f3d8[_0x1483d9(0x434)]())==null?void 0x0:_0x4050bb['getSheetId']();if(_0x2e46d2!=null){let _0x21f5b1=this['_calculateSheetRangeById'](_0x3b0c9b,_0x2e46d2);if(_0x21f5b1)return[_0x21f5b1];let _0x37e89a=this[_0x1483d9(0x3a7)][_0x1483d9(0x39d)](n[_0x1483d9(0x39b)][_0x1483d9(0x28d)]),_0x5f2a5b=_0x37e89a[_0x1483d9(0x434)]();return _0x5f2a5b?this[_0x1483d9(0x14f)](_0x37e89a['getUnitId'](),_0x5f2a5b[_0x1483d9(0x224)]()):(console[_0x1483d9(0x435)](_0x1483d9(0x15a)),[]);}return[];}case _0x1483d9(0x374):{let _0x2243ed=this[_0x1483d9(0x3a7)][_0x1483d9(0x39d)](n[_0x1483d9(0x39b)][_0x1483d9(0x28d)]),_0x95fd7a=_0x2243ed[_0x1483d9(0x434)]();return _0x95fd7a?this[_0x1483d9(0x14f)](_0x2243ed[_0x1483d9(0x312)](),_0x95fd7a[_0x1483d9(0x224)]()):(console[_0x1483d9(0x435)]('No\x20active\x20sheet\x20found'),[]);}case _0x1483d9(0x38c):return this[_0x1483d9(0x3a7)][_0x1483d9(0x39d)](n[_0x1483d9(0x39b)][_0x1483d9(0x28d)])[_0x1483d9(0x240)]()['map'](_0x3e2ba0=>this['_calculateCurrentSelectionRange'](_0x3b0c9b,_0x3e2ba0[_0x1483d9(0x224)]()))[_0x1483d9(0x230)]();default:return(_0x343807['length']?_0x343807:_0x49f3d8[_0x1483d9(0x240)]()[_0x1483d9(0x299)](_0x3e084a=>!_0x3e084a[_0x1483d9(0x3ee)]())[_0x1483d9(0x1d5)](_0x2d13a1=>_0x2d13a1[_0x1483d9(0x224)]()))['map'](_0x3e13a1=>this[_0x1483d9(0x265)](_0x3b0c9b,typeof _0x3e13a1==_0x1483d9(0x2fc)?_0x3e13a1:_0x3e13a1['id'],typeof _0x3e13a1==_0x1483d9(0x2fc)?void 0x0:_0x3e13a1[_0x1483d9(0x3e1)]))[_0x1483d9(0x299)](Boolean);}}['_calculateSheetPages'](_0x30cd3c){const _0xcfe92b=_0xcf15a3;let {subUnitId:_0x1434a8,range:_0x6ddca2,freeze:_0x3ae2c2,unitId:_0x4dd05c,scale:_0x4a5c75,contentSize:_0x40d5f7}=_0x30cd3c,_0x2c1ab2=this[_0xcfe92b(0x40b)][_0xcfe92b(0x18e)](_0x4dd05c)[_0xcfe92b(0x14b)](s[_0xcfe92b(0x31b)])['ensureSkeleton'](_0x1434a8);if(!_0x2c1ab2)return;let {rowHeightAccumulation:_0x432a62,columnWidthAccumulation:_0x56bbe7}=_0x2c1ab2,{w:_0x3952de,h:_0x128229}=_0x40d5f7,{startRow:_0x383cef,startColumn:_0x5ebd6c,endColumn:_0xb6ca39,endRow:_0x211424}=_0x6ddca2,_0x56d39f=_0x5ed685=>{const _0x4cd9b1=_0xcfe92b;let _0x4a07bf=_0x5ed685,_0x4f8c81=this['_layoutConfig'][_0x4cd9b1(0x2be)]<=_0x3ae2c2[_0x4cd9b1(0x181)]?0x1/0x0:this[_0x4cd9b1(0x2b6)][_0x4cd9b1(0x2be)]-0x1-_0x3ae2c2[_0x4cd9b1(0x181)]+_0x5ed685,_0x4bff9c=_0x5ed685===0x0?0x0:_0x432a62[_0x5ed685-0x1];for(;_0x4a07bf<_0x211424;){let _0x49242e=(_0x432a62[_0x4a07bf]-_0x4bff9c)*_0x4a5c75,_0x5e071c=(_0x432a62[_0x4a07bf+0x1]-_0x4bff9c)*_0x4a5c75;if(_0x4a07bf++,_0x49242e>=_0x128229||_0x49242e<_0x128229&&_0x5e071c>_0x128229)return{'startRow':_0x5ed685,'endRow':Math[_0x4cd9b1(0x3e7)](_0x4a07bf-0x1,_0x4f8c81)};}return{'startRow':_0x5ed685,'endRow':Math[_0x4cd9b1(0x3e7)](_0x4a07bf,_0x4f8c81)};},_0x465e60=_0x100ed6=>{const _0x5a1607=_0xcfe92b;let _0x460fb2=_0x100ed6,_0x20ca82=_0x100ed6===0x0?0x0:_0x56bbe7[_0x100ed6-0x1],_0x4f779e=this['_layoutConfig']['maxColumnsEachPage']<=_0x3ae2c2['xSplit']?0x1/0x0:this[_0x5a1607(0x2b6)]['maxColumnsEachPage']-0x1-_0x3ae2c2[_0x5a1607(0x237)]+_0x100ed6;for(;_0x460fb2<_0xb6ca39;){let _0x18f7b9=(_0x56bbe7[_0x460fb2]-_0x20ca82)*_0x4a5c75,_0x4581e9=(_0x56bbe7[_0x460fb2+0x1]-_0x20ca82)*_0x4a5c75;if(_0x460fb2++,_0x18f7b9<_0x3952de&&_0x4581e9>_0x3952de||_0x18f7b9>=_0x3952de)return{'startColumn':_0x100ed6,'endColumn':Math['min'](_0x460fb2-0x1,_0x4f779e)};}return{'startColumn':_0x100ed6,'endColumn':Math['min'](_0x460fb2,_0x4f779e)};},_0x2f995b=[],_0x51aefd=_0x383cef;for(;_0x51aefd<=_0x211424;){let _0x55ab3d=_0x56d39f(_0x51aefd);_0x2f995b['push'](_0x55ab3d),_0x51aefd=_0x55ab3d[_0xcfe92b(0x254)]+0x1;}let _0x553b97=[],_0x1719ed=_0x5ebd6c;for(;_0x1719ed<=_0xb6ca39;){let _0x5062b6=_0x465e60(_0x1719ed);_0x553b97['push'](_0x5062b6),_0x1719ed=_0x5062b6['endColumn']+0x1;}let _0x17adc9=[];for(let _0x5353ee=0x0;_0x5353ee<_0x2f995b['length'];_0x5353ee++)for(let _0xdbd5d=0x0;_0xdbd5d<_0x553b97[_0xcfe92b(0x21f)];_0xdbd5d++)_0x17adc9[_0xcfe92b(0x425)]({..._0x2f995b[_0x5353ee],..._0x553b97[_0xdbd5d]});return{'unitId':_0x4dd05c,'subUnitId':_0x1434a8,'pages':_0x17adc9,'freeze':_0x3ae2c2,'scale':_0x4a5c75,'pageSize':this[_0xcfe92b(0x1bb)],'margin':this[_0xcfe92b(0x295)]};}};function _0x39c9(){const _0x4b99a5=['SheetIcon','sheets-print.align.vertical.end','_blank','reduce','univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','sheets-print.headerFooter.display.dateC','layoutInfos','text','toLocaleTimeString','_targetRender','CTRL_COMMAND','link','CurrentSelection','PrintFreeze','preparing','UniverSheetsPrintPlugin','LoadingMultiIcon','PRINTING_DOM_COLLECT','setId','area','MobileSelect','SheetPrintOpenOperation','sheets-print.formatting.skeleton','close','sheets-print.align.vertical.start','jsx','sheets-print.margin.top','LocaleService','submit','sheets-print.orientation.portrait','function','sheets-print.selection.title','univer-relative\x20univer-mx-2\x20univer-my-0\x20univer-flex-grow','reLayout','No\x20workbook\x20found','sheets-print.size.letter','AllSelection','freeze','lineTo','sheets-print.margin.left','PrintAlign','sheet','TimeC','CollaborationController','univer-flex\x20univer-cursor-pointer\x20univer-flex-row\x20univer-items-center\x20univer-justify-between\x20univer-rounded-md\x20univer-px-2\x20univer-py-1.5\x20hover:univer-rounded\x20hover:univer-bg-gray-300','__root','useEvent','sheets-print.scale.fitHeight','CurrentSheet','font','merge','UniverInstanceType','registerCommand','getCurrentUnitOfType','value','_renderMainScene','_subUnitId','editOp','SheetPrintInterceptorService','replaceAll','Scene','sheets-print.area.limit','@WorkbookTitle','_univerInstanceService','5313592EChHVq','type','setPrintViewDisposable','_context','getSheetBySheetId','prepare','sheets-print.size.title','draw','sheets-print.align.vertical.middle','_messageService','sheets-print.formatting.waterMark','univer-relative\x20univer-mx-auto\x20univer-mt-7\x20univer-flex-none\x20univer-bg-gray-0\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','startIndex','_resourceCollector','_initMenus','@DateA','sheets-print.freeze.column','BehaviorSubject','Image','registerDependencies','_engine','columnWidthAccumulation','univer-size-8\x20univer-animate-spin\x20univer-text-gray-500','SpreadsheetColumnHeader','lineWidth','Checkbox','Tabloid','_registerIcons','SHEET_PRINT_PLUGIN','sheets-print.headerFooter.display.dateB','message','mount','getSheetFeatureLimit','IPermissionService','rowHeaderWidth','univer-box-border\x20univer-inline-flex\x20univer-h-8\x20univer-w-full\x20univer-min-w-36\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-between\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-2.5\x20univer-text-sm\x20univer-transition-colors\x20univer-duration-200\x20hover:univer-border-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','IUIPartsService','_initShortcuts','_printManagerService','univer-text-sm\x20univer-font-medium','_renderHeaderFooterByCustom','add','VIEW_MAIN_TOP','DateC','sheets-print.align.horizontal.middle','UserManagerService','split','_config','src','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_layoutInfos','borderTopClassName','hidden','sheets-print.margin.wide','Executive','getCurrentRangeDisable$','@TimeC','range','disposePrintView','CancelSheetPrintOperation','devicePixelRatio','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Landscape','min','Narrow','12px\x20','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','blur','_sheetPrintInterceptorService','PrintPaperMargin','isSheetHidden','TimeA','OPERATION','_viewLeftTop','localeService','sheets-print.scale.fitPage','sheets-print.permission.printErr','noreferrer\x20noopener','univer-space-y-2\x20univer-border-t\x20univer-pb-4','WorkbookPrintPermission','visible$','Radio','right','Date','univer-flex\x20univer-h-16\x20univer-items-center\x20univer-justify-between\x20univer-bg-gray-0\x20univer-px-4\x20dark:!univer-bg-gray-900','IWatermarkTypeEnum','@WorksheetTitle','borderBottomClassName','univer-absolute\x20univer-left-0\x20univer-z-[1000]\x20univer-min-w-[200px]\x20univer-px-0\x20univer-py-2','root','save','_componentManager','DateB','startColumn','@DateC','visible','then','getItem','has','_renderManagerService','univer-absolute\x20univer-bottom-4\x20univer-right-4\x20univer-z-[1000]','renderConfig$','univer-ml-2\x20univer-text-base\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','find','@DateB','bottomCenter','DateE','_shortcutService','small','1.0.4','WorksheetTitle','headerFooterSetting','mergeMenu','141579AIJkNX','vertical','sheets-print.freeze.row','Normal','sheets-print.headerFooter.left','NO_COMMERCIAL','_viewColumnRight','FitWidth','url','WorkbookTitle','from','_visible$','push','topCenter','RichTextBuilder','sheets-print.size.statement','catch','forValue','getRangeImage','useObservable','MoreDownIcon','IPrintPreparationService','setPreviewScale','replace','MenuItemType','renderOnReady','body','getActiveSheet','warn','enable','sheets-print.margin.narrow','Inject','hasPrintFacadePermission','UniverSheetsUIPlugin','CustomRangeType','ReleaseType','ContextMenuPosition','header','UNIVER_WATERMARK_STORAGE_KEY','default','Legal','PrintHeaderFooter','strokeStyle','includeHeaderDimensions','MobileDialog','ConfirmSheetPrintOperation','univer-flex\x20univer-w-full','next','fillText','3740YdWSAP','6ZtSfyg','getWorkbookSelections','LS_CONFIG_KEY','TextIcon','getOwnPropertyDescriptor','container','connectInjector','register','userInfo','ILocalStorageService','Disposable','overflowCache','MessageType','data','univer-h-[200px]\x20univer-w-[--radix-popper-anchor-width]\x20univer-overflow-y-auto','sheets-print.formatting.title','pluginName','getFreeze','Column','sheets-print.headerFooter.right','with','sheets-print.margin.right','status','left','_calculateCurrentSelectionRange','VIEW_MAIN_LEFT_TOP','marginCustom','preparing$','UNIVER_SHEET_PERMISSION_ALERT_DIALOG_ID','UniverMobileUIPlugin','_injector','PAGE_SIZE','PrintIcon','makeDirty','_isPreview','No\x20active\x20sheet\x20found','round','_drawPrintGrid','sheets-print.freeze.title','{limit}','call','sheet.operation.open-print-grid-sidebar','sheets-print.headerFooter.dateD','sheets-print.size.a4','univer-mb-2','_viewRowBottom','_initUIParts','8838858Lcieal','UNIVER_SHEET_PERMISSION_ALERT_DIALOG','_menuManagerService','isFeatureAuthorizedWithinTime','error','@TotalSheetPage','all','floor','layoutConfig','ISheetPrintManagerService','OTHERS','none','updateRenderConfig','Failed\x20to\x20print\x20sheets.','sheets-print.size.folio','renderConfig','sheets-print.header.next','sheets-print.headerFooter.display.timeD','sheets-print.headerFooter.display.dateA','workbook','useDependency','__mode','13px\x20','gridlines','VIEW_ROW_BOTTOM','className','Button','ySplit','sheets-print.grid.title','values','updateConfig','KeyCode','sheet.operation.close-print-grid-sidebar','_skeleton','layoutInfos$','Input','label','packageName','univer-grid\x20univer-gap-2','sheets-print.headerFooter.sheet','getRenderUnitById','_unitId','getCollabEntity','sheets-print.headerFooter.dateC','univer-block\x20univer-shrink-0\x20univer-px-4\x20univer-py-2\x20univer-text-center\x20univer-text-xs','disposeWithMe','sheets-print.scale.normal','sheets-print.headerFooter.display.timeB','dispose','_print','sheets-print.header.total','subscribe','univer-text-base\x20univer-text-gray-900\x20dark:!univer-text-gray-0','IEditorService','sheets-print.orientation.title','_iconManager','sheets-print.scale.title','measureText','_viewTop','sheets-print.headerFooter.dateB','SheetsSelectionsService','fontBoundingBoxDescent','section','open','Middle','useRef','_printViewDisposable','getCanvas','_initRenderer','PrintDirection','number','_initMutationListener','univer-rounded-md\x20univer-bg-gray-0\x20univer-p-1\x20univer-shadow\x20dark:!univer-bg-gray-900','_layoutInfos$','resizeWhenFreezeChange','getExtensionsByOrder','waitForReady','FitPage','delete','have\x20not\x20permission','properties','sheets-print.headerFooter.display.pageTotal','engine','PaperType','_totalHeight','paperSize','IShortcutService','reset','ContextMenuGroup','setLineDash','getData','494uOZbdz','complete','univer-grid\x20univer-max-h-[60vh]\x20univer-gap-4\x20univer-overflow-y-auto','includes','ILogService','renderWatermark','univer-relative\x20univer-box-border\x20univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center\x20univer-overflow-hidden\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','endIndex','sheets-print.headerFooter.timeA','univer-mt-3','awaitTime','interceptor','RichTextEditingMutation','_watermarkConfig','univer-solid\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700','_resizeViewport','params','univer-w-full','Module','RangeProtectionPermissionViewPoint','map','univer-size-3\x20univer-text-gray-900\x20univer-transition-transform\x20dark:!univer-text-gray-0','registerShortcut','direction','image/png','100%','sheets-print.align.horizontal.end','useEffect','useMemo','getCellMatrixPrintRange','_root','hide','subUnitId','SUBITEMS','appendChild','columnHeaderHeight','SHEET_VIEWPORT_KEY','addObjects','sheets-print.size.a5','sheets-print.area.maxColumnsEachPage','selection','height','!univer-min-w-0\x20univer-flex-1','_calculateFinalRange','_logService','IconManager','FormLayout','page','bottom','univer-mr-2','univer-relative\x20univer-inline-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-900\x20hover:dark:!univer-bg-gray-700','show','dateKit','sheets-print.headerFooter.dateE','@univerjs-pro/sheets-print','MobileDropdown','topLeft','univer-box-border\x20univer-flex\x20univer-h-16\x20univer-w-full\x20univer-flex-none\x20univer-flex-row\x20univer-items-center\x20univer-justify-between\x20univer-bg-gray-0\x20univer-px-4\x20dark:!univer-bg-gray-900','Time','setSelectionRanges','univer-text-gray-500','Quantity','desc','onTransformChange$','sheets-print.title','CheckboxGroup','sheets-print.headerFooter.date','Letter','onReady','IRenderManagerService','isLocalCheck','pauseCollaboration','layoutConfig$','bottomLeft','ISidebarService','@DateD','PageTotal','clsx','_uiPartsService','_renderConfig','sheetPage','rgba(0,0,0,0.3)','format','UniverSheetsPlugin','_layoutConfig$','Error','addEventListener','1961170jJTuBV','sheets-print.size.tabloid','sheets-print.screenshot.title','endX','SheetPrintCanvasView','#1890ff','_effects','length','SheetPrintClientService','_container','getNoMergeCellWithCoordByIndex','watermark','getSheetId','SheetScreenShotOperation','_registerComponents','Row','DownloadImageIcon','config','_initConfigChangeListener','BuildTextUtils','univer-flex\x20univer-gap-2','borderClassName','Custom','forEach','flat','margin','fixLineWidthByScale','sheets-print.headerFooter.display.timeC','printing','scrollbarClassName','updateScrollVal','xSplit','wait','sheets-print.size.executive','generateRandomId','primary','uKey','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-900\x20dark:!univer-text-gray-0','unier-w-[761px]\x20univer-mx-auto\x20univer-my-4\x20univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-bg-gray-0\x20univer-px-6\x20univer-py-7\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','1560VMfJEt','getSheets','_sheetPrintManagerService','fontBoundingBoxAscent','sheets-print.headerFooter.workbook','sheet.operation.print-open','sheets-print.selection.workbookUnit','getConfig','IncreaseIcon','Start','innerWidth','sheets-print.size.legal','sheets-print.headerFooter.customHeadFooter','createElement','@TimeB','_initCommands','markDirty','setPreparing','_accessor','timeValid','position','endRow','PRINT_CANVAS_CLASS','Portrait','touchDependencies','menu','scaleY','ensureSkeleton','sheets-print.limit.page','now','JSONX','_sheetsSelectionsSrv','None','subscribeEvent','sheets-print.headerFooter.display.sheetPage','iterator','_spreadsheetObject','#E5E5E5','_calculateSheetRangeById','toLocaleString','_renderConfig$','create','getName','univer-flex\x20univer-h-12\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-bg-gray-0\x20univer-px-4\x20dark:!univer-bg-gray-900','onCommandExecuted','pages','useVirtualList','hAlign','_previewScale','_key','time','sheet.operation.confirm-print','_commandService','maxColumnsEachPage','sheets-print.area.title','version','memo','serialize','key','getCurrentSelections','Printing','render','sheets-print.header.cancel','sheets-print.margin.normal','@Page','sheets-print.margin.title','setConfig','max','fetchThroughInterceptors','set','sheets-print.header.pages','worksheet','object','univer-absolute\x20univer-left-0\x20univer-z-[100]','sheets-print.headerFooter.display.title','_getTranslateOffset','PrintGridExtension','pageSize','UNIVER_SHEET','@[]@','Dropdown','getContext','Folio','PRINT_CONTAINER_CLASS','forwardRef','sheets-print.headerFooter.timeC','paperMargin','@TotalPage','resize','sheets-print.margin.custom','filter','getInstance','sheets-print.limit.waterMark','Success','clearMemory','univer-absolute\x20univer-inset-0\x20univer-z-[100]\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-bg-gray-100\x20dark:!univer-bg-gray-900','Origin','sheets-print.headerFooter.display.sheet','sheet.operation.cancel-print','focus','enforceWatermark','copyForPrinting','Workbook','slice','SheetPrintingResourceCollector','sheets-print.area.currentSelection','syncExecuteCommand','endColumn','parentElement','getValue','_renderLimitWaterMark','Spreadsheet','sheets-print.headerFooter.page','MetaKeys','sheets-print.menu','resetCache','UniverRenderEnginePlugin','jsxs','rowHeightAccumulation','_layoutConfig','scaleX','_scene','customRanges','decorate','top','Viewport','DocSettingIcon','maxRowsEachPage','getImage','sheets-print.screenshot.success','isNaN','BuiltInUIPart','clipboard','whenSheetEditorFocused','disable','CommandType','ICommandService','DisposableCollection','_dirty','MENTION','date','_renderHeaderFooter','ReduceIcon','sheets-print.margin.bottom','TimeD','prototype','span','sheets-print.orientation.landscape','_calculateSubSheetRange','startY','mainComponent','IUniverInstanceService','asObservable','image','sheets-print.area.currentSheet','sheets-print.align.horizontal.start','6430464UmcpUf','width','univer-h-full\x20univer-overflow-y-auto','PageSize','PRINT_GRID_SIDEBAR_COMPONENT','DEFAULT_FONTFACE_PLANE','_calculatePrintScale','_printPreparationService','write','getInterceptPoints','sheets-print.headerFooter.display.page','_viewLeft','OPTIONAL','univer-flex-1','SheetPage','mobile-sheet-print-view','mually','1142283yOVJfc','startX','univer-p-3','replaceRenderConfig','getCursorPosition','getCurrentUser','dataStream','sheets-print.headerFooter.display.dateD','scale','removeChild','useState','div','moveTo','univer-flex\x20univer-h-full\x20univer-flex-col','UniverLicensePlugin','unitId','string','getLicenseInfo','_totalWidth','sheets-print.headerFooter.footer','_viewMain','_addComponent','_addViewport','sheets-print.align.title','bottomRight','sheets-print.size.a3','button','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','clearCanvas','style','replaceLayoutConfig','DateA','Engine','sheets-print.size.b5','sheets-print.screenshot.fail','SpreadsheetRowHeader','updateLayoutConfig','createIdentifier','getUnitId','debounceTime','subUnitIds','GLOBAL','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center','sheets-print.headerFooter.header','sheets-print.headerFooter.timeD','univer-absolute\x20univer-inset-0\x20univer-z-[100]\x20univer-box-border\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-100\x20dark:!univer-bg-gray-900','Z_INDEX','SheetSkeletonManagerService','PrintPreparationService','RibbonStartGroup','DependentOn','sheets-print.scale.fitWidth','@DateE','symbol','sheets-print.headerFooter.center','IMessageService','univer-relative\x20first:univer-mr-2','_initCommandListener','onbeforeprint','Select','overflow','COMMAND','isPro','beginPath','defineProperty','univer-flex-1\x20univer-overflow-auto','sheets-print.headerFooter.title','getPrecisionScale','size','IConfigService','getDocumentDataModel','pageTotal','PrintScale','get','endY','true','Loading','sheets-print.headerFooter.display.timeA','startRow','_sheetPrintClientService','univer-flex\x20univer-flex-1\x20univer-overflow-hidden','PRINTING_RANGE','current','sheets-print.area.maxRowsEachPage','Injector','univer-pro.sheet-print-manager.service','univer-mx-2\x20univer-my-5','univer-my-1\x20univer-p-0','insertText','vAlign','sheets-print.size.b4','mpn','@SheetPage','sheets-print.headerFooter.display.sheetPageTotal','__RowHeaderPrint__','@TimeA','print','_calculate','executeCommand','getCurrentLastSelection','Plugin','_printDialogService','isCustomHeaderFooter','SheetExtension','UserInfo','sheets-print.headerFooter.submit','PaperMarginMap','sheets-print.headerFooter.timeB','topRight','ComponentManager','@TimeD','SheetPageTotal','End','_configService','registerComponent','restore','BUTTON','actions','absolute','sheets-print.header.printing','UniverSheetsPrintMobileUIPlugin','sheets-print.headerFooter.editCustomHeadFooter','Tools','sheets-print.headerFooter.placeholder'];_0x39c9=function(){return _0x4b99a5;};return _0x39c9();}N=O([D(0x0,n['IUniverInstanceService']),D(0x1,(0x0,n['Inject'])(r['SheetsSelectionsService'])),D(0x2,(0x0,n[_0xcf15a3(0x438)])(s[_0xcf15a3(0x3a2)])),D(0x3,o[_0xcf15a3(0x206)])],N);function _0x4541(_0x5b712a,_0x540c08){_0x5b712a=_0x5b712a-0x149;const _0x39c94b=_0x39c9();let _0x4541ff=_0x39c94b[_0x5b712a];return _0x4541ff;}const P=(_0x5cff28,_0x3154de)=>{const _0x3db825=_0xcf15a3;if(!_0x5cff28||!_0x3154de)return!0x0;let _0x3b9d53=(0x0,e[_0x3db825(0x2fd)])(_0x5cff28,_0x3154de)[_0x3db825(0x3c6)],_0x3e7428=(0x0,e[_0x3db825(0x169)])(_0x3b9d53,'sf',m);return!((_0x3b9d53==null?void 0x0:_0x3b9d53['rt'])===e[_0x3db825(0x43c)][_0x3db825(0x41e)]&&!_0x3e7428);},ee=(_0x58873c,_0x4466b4,_0x2486b2)=>{const _0x4f1073=_0xcf15a3;let _0x32e151={'page':_0x58873c,'isPro':!0x1,'timeValid':!0x1};if(!_0x4466b4||!_0x2486b2)return _0x32e151;let _0x110bb2=(0x0,e[_0x4f1073(0x2fd)])(_0x4466b4,_0x2486b2);if(_0x110bb2['valid']){let _0x494037=_0x110bb2[_0x4f1073(0x3c6)],_0x39d301=(0x0,e[_0x4f1073(0x169)])(_0x494037,'sf',m);_0x32e151[_0x4f1073(0x32a)]=_0x39d301,_0x32e151[_0x4f1073(0x252)]=_0x39d301,_0x32e151[_0x4f1073(0x1f0)]=(0x0,e[_0x4f1073(0x3c8)])(_0x494037,_0x39d301,_0x4f1073(0x347),_0x58873c,_0x58873c,0x0);}return _0x32e151;};function F(_0x32f92f){const _0x49b51d=_0xcf15a3;let {ls:_0x59fecb,pbk:_0x3872f5}=_0x32f92f[_0x49b51d(0x335)](n['IConfigService'])[_0x49b51d(0x246)](e[_0x49b51d(0x44d)])??{};return ee(0x3,_0x59fecb,_0x3872f5)[_0x49b51d(0x32a)];}const I={'id':_0xcf15a3(0x244),'type':n[_0xcf15a3(0x2c6)]['OPERATION'],'handler':async _0x5997d2=>{const _0x5a41dc=_0xcf15a3;let _0x4ac77d=_0x5997d2[_0x5a41dc(0x335)](b),_0x29ceb7=_0x5997d2['get'](n[_0x5a41dc(0x3c9)]),_0x1e3c79=_0x5997d2['get'](n[_0x5a41dc(0x383)]),_0x49f99e=_0x5997d2[_0x5a41dc(0x335)](n[_0x5a41dc(0x2d6)]),_0x776e9b=_0x5997d2[_0x5a41dc(0x335)](i['IDialogService']),{ls:_0x4a551e,pbk:_0x416429}=_0x5997d2[_0x5a41dc(0x335)](n[_0x5a41dc(0x331)])['getConfig'](e['LS_CONFIG_KEY'])??{};if(!P(_0x4a551e,_0x416429))return!0x1;let _0x1f39e7=_0x49f99e[_0x5a41dc(0x39d)](n[_0x5a41dc(0x39b)][_0x5a41dc(0x28d)])[_0x5a41dc(0x312)]();if(!(_0x29ceb7['getPermissionPoint'](new r[(_0x5a41dc(0x3f7))](_0x1f39e7)['id'])??!0x1)){let _0x11ce00={'id':h,'title':{'title':''},'children':{'label':_0x5a41dc(0x167),'errorMsg':_0x1e3c79['t'](_0x5a41dc(0x3f4))},'width':0x140,'onClose':()=>_0x776e9b[_0x5a41dc(0x37f)](h),'className':'sheet-permission-user-dialog'};throw _0x776e9b[_0x5a41dc(0x1a5)](_0x11ce00),Error(_0x5a41dc(0x1b5));}_0x4ac77d['setPreparing'](!0x0),_0x4ac77d[_0x5a41dc(0x1a5)]();try{return await _0x5997d2['get'](t[_0x5a41dc(0x42e)])[_0x5a41dc(0x3ad)]({'unitId':_0x1f39e7,'unitType':n['UniverInstanceType'][_0x5a41dc(0x28d)],'dpr':0x1}),!0x0;}catch(_0x4bd7a4){throw _0x4ac77d[_0x5a41dc(0x37f)](),_0x4bd7a4;}finally{_0x4ac77d['setPreparing'](!0x1);}}},L={'type':n[_0xcf15a3(0x2c6)][_0xcf15a3(0x3f0)],'id':_0xcf15a3(0x2a1),'handler'(_0x58fc0d){const _0x16ff54=_0xcf15a3;let _0x443005=_0x58fc0d[_0x16ff54(0x335)](b),_0x217e2c=_0x58fc0d[_0x16ff54(0x335)](k);return _0x443005[_0x16ff54(0x37f)](),_0x217e2c[_0x16ff54(0x1bd)](),!0x0;}},R={'type':n[_0xcf15a3(0x2c6)][_0xcf15a3(0x3f0)],'id':_0xcf15a3(0x272),'handler'(){return!0x0;}},z={'id':'sheet.operation.print','type':n[_0xcf15a3(0x2c6)][_0xcf15a3(0x329)],'handler'(_0x30b199,_0x19c58f){const _0x60dabb=_0xcf15a3;if(!_0x19c58f)return!0x1;let _0x423650=_0x30b199[_0x60dabb(0x335)](n[_0x60dabb(0x2c7)]),_0x2f94fb=_0x30b199[_0x60dabb(0x335)](k);return _0x2f94fb['replaceLayoutConfig'](_0x19c58f[_0x60dabb(0x16e)]),_0x2f94fb[_0x60dabb(0x2ef)](_0x19c58f['renderConfig']),_0x423650['syncExecuteCommand'](R['id']);}};function B(_0x1074dd,_0x4eb7f1){const _0x3d0915=_0xcf15a3;switch(_0x1074dd){case'@WorkbookTitle':return _0x4eb7f1[_0x3d0915(0x179)]['name'];case _0x3d0915(0x3fe):return _0x4eb7f1[_0x3d0915(0x286)][_0x3d0915(0x269)]();case _0x3d0915(0x27f):return''+_0x4eb7f1['page'];case _0x3d0915(0x296):return''+_0x4eb7f1[_0x3d0915(0x333)];case _0x3d0915(0x16b):return''+_0x4eb7f1['sheetPageTotal'];case _0x3d0915(0x348):return''+_0x4eb7f1[_0x3d0915(0x211)];case _0x3d0915(0x3b7):return _0x4eb7f1['now']['format'](_0x4eb7f1[_0x3d0915(0x3f2)]['t']('sheets-print.headerFooter.dateA'));case _0x3d0915(0x410):return _0x4eb7f1[_0x3d0915(0x25c)]['format'](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x1a1)));case'@DateC':return _0x4eb7f1[_0x3d0915(0x25c)][_0x3d0915(0x213)](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x191)));case _0x3d0915(0x20c):return _0x4eb7f1[_0x3d0915(0x25c)][_0x3d0915(0x213)](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x161)));case _0x3d0915(0x320):return _0x4eb7f1[_0x3d0915(0x25c)][_0x3d0915(0x213)](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x1f6)));case _0x3d0915(0x34b):return _0x4eb7f1[_0x3d0915(0x25c)]['format'](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x1c9)));case _0x3d0915(0x24d):return _0x4eb7f1['now'][_0x3d0915(0x213)](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x357)));case _0x3d0915(0x3e0):return _0x4eb7f1[_0x3d0915(0x25c)][_0x3d0915(0x213)](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x294)));case _0x3d0915(0x35a):return _0x4eb7f1['now'][_0x3d0915(0x213)](_0x4eb7f1[_0x3d0915(0x3f2)]['t'](_0x3d0915(0x318)));}}const te=Object[_0xcf15a3(0x183)](T);function V(_0x15bf06,_0x29bec6){const _0x537c73=_0xcf15a3;let _0x3abca8=_0x15bf06;return te[_0x537c73(0x22f)](_0x3a9d8f=>{_0x3abca8=_0x3abca8['replaceAll'](_0x3a9d8f,B(_0x3a9d8f,_0x29bec6));}),_0x3abca8;}const H=_0xcf15a3(0x28e);function ne(_0x135bc1,_0x3ad03c){const _0x465149=_0xcf15a3;let _0x5efa06=_0x135bc1;_0x3ad03c['forEach'](_0x16c7bb=>{const _0x2c1459=_0x4541;_0x5efa06=_0x5efa06[_0x2c1459(0x3a3)](_0x16c7bb[_0x2c1459(0x39e)],''+H+_0x16c7bb[_0x2c1459(0x18a)]+H);});let _0x24856e=_0x5efa06[_0x465149(0x3d6)](H),_0x3be260=n[_0x465149(0x427)][_0x465149(0x268)]();return _0x24856e[_0x465149(0x22f)]((_0xb2dbe3,_0x5e8099)=>{const _0x563e0e=_0x465149;if(_0xb2dbe3){if(_0x5e8099%0x2==0x1){let _0x14db37=_0xb2dbe3,_0x14c5fd={'id':'d','documentStyle':{},'drawings':{},'drawingsOrder':[],'body':{'dataStream':_0xb2dbe3,'customBlocks':[],'customRanges':[{'startIndex':0x0,'endIndex':_0xb2dbe3['length']-0x1,'rangeId':(0x0,n[_0x563e0e(0x23a)])(),'rangeType':n[_0x563e0e(0x43b)][_0x563e0e(0x2ca)],'properties':{'value':_0x3ad03c[_0x563e0e(0x40f)](_0x1c8539=>_0x1c8539[_0x563e0e(0x18a)]===_0x14db37)[_0x563e0e(0x39e)]}}]}};_0x3be260['insertRichText'](_0x14c5fd);}else _0x3be260[_0x563e0e(0x344)](_0xb2dbe3);}}),_0x3be260[_0x465149(0x1c0)]();}function re(_0x27d29e){const _0x20973a=_0xcf15a3;var _0x5793cf;if(!(_0x27d29e!=null&&_0x27d29e[_0x20973a(0x433)]))return'';let _0x21f07e=n['RichTextBuilder'][_0x20973a(0x268)](n[_0x20973a(0x366)]['deepClone'](_0x27d29e));for(;(_0x5793cf=_0x21f07e[_0x20973a(0x1c0)]()[_0x20973a(0x433)][_0x20973a(0x2b9)])!=null&&_0x5793cf[_0x20973a(0x21f)];){let _0x3772e1=_0x21f07e[_0x20973a(0x1c0)]()[_0x20973a(0x433)][_0x20973a(0x2b9)][0x0];if(!_0x3772e1)break;_0x21f07e[_0x20973a(0x1b4)](_0x3772e1[_0x20973a(0x3b4)],_0x3772e1[_0x20973a(0x1c8)]+0x1-_0x3772e1['startIndex']),_0x21f07e[_0x20973a(0x344)](_0x3772e1[_0x20973a(0x3b4)],_0x3772e1[_0x20973a(0x1b6)][_0x20973a(0x39e)]);}return _0x21f07e[_0x20973a(0x1c0)]()[_0x20973a(0x433)][_0x20973a(0x2f2)];}function ie(_0x268e3b,_0x23b6a5){const _0x4b933d=_0xcf15a3;_0x268e3b[_0x4b933d(0x1b1)]()['forEach'](_0x317b9a=>{const _0x4a3b2d=_0x4b933d;var _0x403e7b;let _0xd6ddb3=(_0x403e7b=_0x317b9a[_0x4a3b2d(0x2a4)])==null?void 0x0:_0x403e7b[_0x4a3b2d(0x15f)](_0x317b9a);_0xd6ddb3&&_0x23b6a5['register'](_0xd6ddb3);});}var ae=class extends n[_0xcf15a3(0x455)]{get[_0xcf15a3(0x1ce)](){return this['_renderConfig']['watermark'];}get[_0xcf15a3(0x279)](){const _0x3d7010=_0xcf15a3;return this[_0x3d7010(0x270)];}get[_0xcf15a3(0x1b8)](){const _0x357e75=_0xcf15a3;return this[_0x357e75(0x3bc)];}get['container'](){const _0x2eeaaa=_0xcf15a3;return this[_0x2eeaaa(0x221)];}get[_0xcf15a3(0x401)](){const _0xc41b97=_0xcf15a3;return this[_0xc41b97(0x1df)];}get[_0xcf15a3(0x175)](){const _0x5b5712=_0xcf15a3;return this[_0x5b5712(0x210)];}set[_0xcf15a3(0x175)](_0x1965c3){const _0x4d7fda=_0xcf15a3;this[_0x4d7fda(0x210)]=_0x1965c3;}constructor(_0x3e0d41,_0x5e377e,_0x117382,_0x2bd6bf=!0x0,_0x43558a=0x1){const _0x599235=_0xcf15a3;super(),this[_0x599235(0x251)]=_0x3e0d41,this['_config']=_0x5e377e,this['_renderConfig']=_0x117382,this['_isPreview']=_0x2bd6bf,this[_0x599235(0x26f)]=_0x43558a,y(this,_0x599235(0x3bc),void 0x0),y(this,_0x599235(0x2b8),void 0x0),y(this,'_key',void 0x0),y(this,'_unitId',void 0x0),y(this,'_subUnitId',void 0x0),y(this,_0x599235(0x300),void 0x0),y(this,_0x599235(0x2e6),void 0x0),y(this,_0x599235(0x1a0),void 0x0),y(this,'_viewLeftTop',void 0x0),y(this,_0x599235(0x164),null),y(this,_0x599235(0x41f),null),y(this,_0x599235(0x221),document[_0x599235(0x24c)]('div')),y(this,'_root',document[_0x599235(0x24c)](_0x599235(0x2f7))),y(this,_0x599235(0x187),void 0x0),y(this,_0x599235(0x3a7),void 0x0),y(this,'_dirty',!0x0),y(this,'_targetRender',void 0x0),y(this,_0x599235(0x21e),new n[(_0x599235(0x2c8))]()),y(this,_0x599235(0x3b5),new s[(_0x599235(0x2a7))]()),y(this,_0x599235(0x263),void 0x0),y(this,'_totalWidth',0x0),y(this,_0x599235(0x1ba),0x0);let {unitId:_0x15a62b,subUnitId:_0x3cb5ec}=this[_0x599235(0x3d7)];this[_0x599235(0x18f)]=_0x15a62b,this[_0x599235(0x3a0)]=_0x3cb5ec,this[_0x599235(0x270)]=_0x15a62b+'_'+_0x3cb5ec,this[_0x599235(0x3a7)]=this[_0x599235(0x251)][_0x599235(0x335)](n[_0x599235(0x2d6)]);let _0xd9d79a=this[_0x599235(0x251)][_0x599235(0x335)](o[_0x599235(0x206)]);this[_0x599235(0x371)]=_0xd9d79a[_0x599235(0x18e)](_0x15a62b);let _0x39d31e=this[_0x599235(0x371)]['with'](s['SheetSkeletonManagerService'])[_0x599235(0x25a)](_0x3cb5ec);this[_0x599235(0x187)]=_0x39d31e,this[_0x599235(0x1df)][_0x599235(0x17f)]=_0x599235(0x395),this['_initRenderer']();}[_0xcf15a3(0x196)](){const _0x278512=_0xcf15a3;var _0xbb9f70;super[_0x278512(0x196)](),this[_0x278512(0x21e)][_0x278512(0x196)](),(_0xbb9f70=this[_0x278512(0x221)][_0x278512(0x2ab)])==null||_0xbb9f70[_0x278512(0x2f5)](this[_0x278512(0x221)]);}get[_0xcf15a3(0x1bb)](){const _0x555e8b=_0xcf15a3;let {w:_0x444013,h:_0x541801}=this[_0x555e8b(0x3d7)][_0x555e8b(0x28c)];return{'w':_0x444013*this[_0x555e8b(0x26f)],'h':_0x541801*this[_0x555e8b(0x26f)]};}get[_0xcf15a3(0x231)](){const _0x5abe75=_0xcf15a3;let _0x4d9ac4=this[_0x5abe75(0x3d7)][_0x5abe75(0x231)];return{'top':_0x4d9ac4[_0x5abe75(0x2bb)]*this[_0x5abe75(0x26f)],'bottom':_0x4d9ac4['bottom']*this['_previewScale'],'left':_0x4d9ac4['left']*this[_0x5abe75(0x26f)],'right':_0x4d9ac4[_0x5abe75(0x3fa)]*this[_0x5abe75(0x26f)]};}[_0xcf15a3(0x1aa)](){const _0x6cafc7=_0xcf15a3;let _0x34d3c7=this[_0x6cafc7(0x1bb)],_0x3ae358=this['_config'][_0x6cafc7(0x2f4)]*this[_0x6cafc7(0x26f)],_0x325eb9=this[_0x6cafc7(0x159)]?Math[_0x6cafc7(0x282)](0x1,window[_0x6cafc7(0x3e4)]):0x1;this['_engine']=new o[(_0x6cafc7(0x30c))]('',{'elementWidth':_0x34d3c7['w'],'elementHeight':_0x34d3c7['h'],'dpr':_0x325eb9,'renderMode':o['CanvasRenderMode'][_0x6cafc7(0x27b)]}),this['_scene']=new o[(_0x6cafc7(0x3a4))](this[_0x6cafc7(0x270)],this[_0x6cafc7(0x3bc)]),this['_scene'][_0x6cafc7(0x2f4)](_0x3ae358,_0x3ae358),this['_engine'][_0x6cafc7(0x3c7)](this[_0x6cafc7(0x221)],this[_0x6cafc7(0x159)]),this['_engine']['getCanvas']()[_0x6cafc7(0x290)]()[_0x6cafc7(0x37a)](this[_0x6cafc7(0x270)]+'_'+(0x0,n['generateRandomId'])(0x4)),this[_0x6cafc7(0x301)](),this[_0x6cafc7(0x302)](),this[_0x6cafc7(0x193)]({'dispose':()=>{const _0x233b17=_0x6cafc7;this['_engine'][_0x233b17(0x196)](),this[_0x233b17(0x2b8)][_0x233b17(0x196)](),this[_0x233b17(0x29d)]();}});}['clearMemory'](){const _0x4d5209=_0xcf15a3;this[_0x4d5209(0x187)][_0x4d5209(0x2b2)]();}[_0xcf15a3(0x42f)](_0x4a27a8){const _0x1fd361=_0xcf15a3;this[_0x1fd361(0x2b8)][_0x1fd361(0x2f4)](this[_0x1fd361(0x3d7)]['scale']*_0x4a27a8,this['_config']['scale']*_0x4a27a8),this[_0x1fd361(0x26f)]=_0x4a27a8,this[_0x1fd361(0x24f)](!0x0);}[_0xcf15a3(0x184)](_0xc9d73){const _0x518b43=_0xcf15a3;this['_config']=_0xc9d73,this[_0x518b43(0x24f)](!0x0);}[_0xcf15a3(0x24f)](_0x518908){this['_dirty']=_0x518908;}['_addComponent'](){const _0x42e3aa=_0xcf15a3;var _0x20218e;let _0x29b6da=new o[(_0x42e3aa(0x2ae))]('__SpreadsheetPrintRender__',this[_0x42e3aa(0x187)],!0x1);_0x29b6da['isPrinting']=!0x0;let _0x2c7062=(_0x20218e=this[_0x42e3aa(0x371)])==null?void 0x0:_0x20218e[_0x42e3aa(0x2d5)];if(_0x2c7062&&ie(_0x2c7062,_0x29b6da),this[_0x42e3aa(0x2b8)]['addObject'](_0x29b6da),this['_spreadsheetObject']=_0x29b6da,this[_0x42e3aa(0x3d7)]['includeHeaderDimensions']){let _0x576785=new o[(_0x42e3aa(0x30f))](_0x42e3aa(0x34a),this[_0x42e3aa(0x187)]),_0x13deb1=new o[(_0x42e3aa(0x3bf))]('__ColumnHeaderPrint__',this[_0x42e3aa(0x187)]);this[_0x42e3aa(0x2b8)][_0x42e3aa(0x1e6)]([_0x576785,_0x13deb1],0x1);}let _0x3d1e1e=this[_0x42e3aa(0x251)]['get'](s['SheetPrintInterceptorService']);_0x3d1e1e[_0x42e3aa(0x1cc)]['fetchThroughInterceptors'](_0x3d1e1e['interceptor'][_0x42e3aa(0x2e4)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'subUnitId':this[_0x42e3aa(0x3a0)],'scene':this[_0x42e3aa(0x2b8)],'engine':this[_0x42e3aa(0x3bc)],'root':this[_0x42e3aa(0x1df)],'worksheet':this[_0x42e3aa(0x187)][_0x42e3aa(0x286)],'skeleton':this[_0x42e3aa(0x187)],'range':this[_0x42e3aa(0x3d7)][_0x42e3aa(0x3e1)],'offset':this[_0x42e3aa(0x28a)](),'spreadsheet':this[_0x42e3aa(0x263)],'resourceCollector':this[_0x42e3aa(0x3b5)]});}[_0xcf15a3(0x302)](){const _0x14319e=_0xcf15a3;this['_viewMain']=new o[(_0x14319e(0x2bc))](o[_0x14319e(0x1e5)]['VIEW_MAIN'],this[_0x14319e(0x2b8)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x14319e(0x2e6)]=new o[(_0x14319e(0x2bc))](o['SHEET_VIEWPORT_KEY']['VIEW_MAIN_LEFT'],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x14319e(0x1a0)]=new o[(_0x14319e(0x2bc))](o[_0x14319e(0x1e5)][_0x14319e(0x3d2)],this[_0x14319e(0x2b8)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x14319e(0x3f1)]=new o['Viewport'](o[_0x14319e(0x1e5)][_0x14319e(0x150)],this[_0x14319e(0x2b8)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x14319e(0x3d7)]['includeHeaderDimensions']&&(this['_viewRowBottom']=new o[(_0x14319e(0x2bc))](o['SHEET_VIEWPORT_KEY'][_0x14319e(0x17e)],this[_0x14319e(0x2b8)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x14319e(0x41f)]=new o[(_0x14319e(0x2bc))](o[_0x14319e(0x1e5)]['VIEW_COLUMN_RIGHT'],this[_0x14319e(0x2b8)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}));}[_0xcf15a3(0x1d0)](){const _0xe2acf2=_0xcf15a3;let {freeze:_0x9ea6f8,range:_0x154749}=this[_0xe2acf2(0x3d7)],{xSplit:_0x383acc,ySplit:_0x31096a,startColumn:_0x2fda61,startRow:_0x33c867}=_0x9ea6f8,{rowHeaderWidth:_0x15a0b0,columnHeaderHeight:_0x2b821e}=this[_0xe2acf2(0x187)];this[_0xe2acf2(0x2b8)]['scale'](this[_0xe2acf2(0x3d7)][_0xe2acf2(0x2f4)]*this[_0xe2acf2(0x26f)],this[_0xe2acf2(0x3d7)][_0xe2acf2(0x2f4)]*this['_previewScale']);let _0x3ed173=this[_0xe2acf2(0x187)][_0xe2acf2(0x222)](_0x33c867-_0x31096a,_0x2fda61-_0x383acc,!0x1),_0x43c9f8=this[_0xe2acf2(0x187)][_0xe2acf2(0x222)](_0x33c867,_0x2fda61,!0x1),_0x19fd3b=_0x383acc>0x0?_0x43c9f8['startX']-_0x3ed173[_0xe2acf2(0x2ed)]:0x0,_0x53b451=_0x31096a>0x0?_0x43c9f8[_0xe2acf2(0x2d4)]-_0x3ed173[_0xe2acf2(0x2d4)]:0x0,_0x5890bc={'startX':_0x383acc>0x0?_0x3ed173[_0xe2acf2(0x2ed)]:0x0,'endX':_0x383acc>0x0?_0x43c9f8[_0xe2acf2(0x2ed)]:0x0,'startY':_0x31096a>0x0?_0x3ed173[_0xe2acf2(0x2d4)]:0x0,'endY':_0x31096a>0x0?_0x43c9f8[_0xe2acf2(0x2d4)]:0x0},_0x49e864=this[_0xe2acf2(0x187)][_0xe2acf2(0x222)](_0x154749[_0xe2acf2(0x33a)],_0x154749['startColumn'],!0x1),_0x221d86=this[_0xe2acf2(0x2b8)][_0xe2acf2(0x32f)](),_0x41ec70=_0x61040d=>(0x0,o[_0xe2acf2(0x232)])(_0x61040d,_0x221d86[_0xe2acf2(0x2b7)]),_0x81e222=_0x328675=>(0x0,o[_0xe2acf2(0x232)])(_0x328675,_0x221d86[_0xe2acf2(0x259)]),_0x480058=this[_0xe2acf2(0x187)][_0xe2acf2(0x222)](_0x154749['endRow'],_0x154749[_0xe2acf2(0x2aa)],!0x1),_0x189737=Math[_0xe2acf2(0x282)](0x0,_0x41ec70(_0x480058[_0xe2acf2(0x21b)])-Math[_0xe2acf2(0x282)](_0x49e864[_0xe2acf2(0x2ed)],_0x5890bc['endX'])),_0xccbac2=Math[_0xe2acf2(0x282)](0x0,_0x81e222(_0x480058['endY'])-_0x81e222(Math[_0xe2acf2(0x282)](_0x49e864[_0xe2acf2(0x2d4)],_0x5890bc[_0xe2acf2(0x336)]))),_0x4ac4d7=0x1/Math[_0xe2acf2(0x282)](_0x221d86['scaleX'],_0x221d86[_0xe2acf2(0x259)]),_0x58aed4=this[_0xe2acf2(0x3d7)]['includeHeaderDimensions']?_0x15a0b0:0x0,_0x5d2369=this[_0xe2acf2(0x3d7)][_0xe2acf2(0x444)]?_0x2b821e:0x0,_0x20d99d=_0x58aed4+_0x19fd3b+_0x189737+_0x4ac4d7,_0x30a5a3=_0x5d2369+_0x53b451+_0xccbac2+_0x4ac4d7;this[_0xe2acf2(0x2fe)]=_0x20d99d,this[_0xe2acf2(0x1ba)]=_0x30a5a3;let _0x31c7fd={'x':_0x19fd3b,'y':_0x53b451},_0xbbe47a=_0x4ac4d7,_0x1faf36=_0x4ac4d7,_0x30e1a9={'x':_0x41ec70(_0x480058['endX'])-_0x41ec70(_0x189737)-_0x41ec70(Math['max'](_0x49e864[_0xe2acf2(0x2ed)],_0x5890bc['endX'])),'y':_0x81e222(_0x480058[_0xe2acf2(0x336)])-_0x81e222(_0xccbac2)-_0x81e222(Math[_0xe2acf2(0x282)](_0x49e864[_0xe2acf2(0x2d4)],_0x5890bc[_0xe2acf2(0x336)]))};if(_0x383acc>0x0&&_0x31096a>0x0?(this['_viewLeftTop'][_0xe2acf2(0x436)](),this[_0xe2acf2(0x3f1)][_0xe2acf2(0x1b0)]({'top':0x0,'left':0x0,'height':_0x81e222(_0x31c7fd['y']),'width':_0x41ec70(_0x31c7fd['x'])}),this[_0xe2acf2(0x3f1)]['updateScrollVal']({'viewportScrollX':_0x41ec70(_0x5890bc[_0xe2acf2(0x2ed)])+_0x41ec70(_0x15a0b0),'viewportScrollY':_0x81e222(_0x5890bc['startY'])+_0x81e222(_0x2b821e)})):this['_viewLeftTop'][_0xe2acf2(0x2c5)](),_0x383acc>0x0?(this[_0xe2acf2(0x2e6)][_0xe2acf2(0x436)](),this['_viewLeft'][_0xe2acf2(0x1b0)]({'top':_0x41ec70(_0x31c7fd['y']),'left':0x0,'height':_0x81e222(_0xccbac2)+_0xbbe47a+_0x30e1a9['y'],'width':_0x41ec70(_0x31c7fd['x'])}),this['_viewLeft'][_0xe2acf2(0x236)]({'viewportScrollX':_0x41ec70(_0x5890bc[_0xe2acf2(0x2ed)])+_0x41ec70(_0x15a0b0),'viewportScrollY':_0x81e222(_0x49e864[_0xe2acf2(0x2d4)])+_0x81e222(_0x2b821e)-_0x81e222(_0x31c7fd['y'])})):this['_viewLeft'][_0xe2acf2(0x2c5)](),_0x31096a>0x0?(this['_viewTop']['enable'](),this[_0xe2acf2(0x1a0)][_0xe2acf2(0x1b0)]({'top':0x0,'left':_0x41ec70(_0x31c7fd['x']),'height':_0x81e222(_0x31c7fd['y']),'width':_0x41ec70(_0x189737)+_0x1faf36+_0x30e1a9['x']}),this[_0xe2acf2(0x1a0)][_0xe2acf2(0x236)]({'viewportScrollX':_0x41ec70(_0x49e864[_0xe2acf2(0x2ed)])+_0x41ec70(_0x15a0b0)-_0x41ec70(_0x31c7fd['x']),'viewportScrollY':_0x81e222(_0x5890bc['startY'])+_0x81e222(_0x2b821e)})):this[_0xe2acf2(0x1a0)][_0xe2acf2(0x2c5)](),this[_0xe2acf2(0x3d7)][_0xe2acf2(0x444)]){let _0x451265=_0x41ec70(_0x15a0b0),_0x503e37=_0x81e222(_0x2b821e),_0x514573=_0x41ec70(_0x189737)+_0x1faf36+_0x30e1a9['x'],_0x31f889=_0x81e222(_0xccbac2)+_0xbbe47a+_0x30e1a9['y'];this[_0xe2acf2(0x300)][_0xe2acf2(0x1b0)]({'top':_0x503e37,'left':_0x451265,'height':_0x31f889,'width':_0x514573}),this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x41ec70(_0x49e864[_0xe2acf2(0x2ed)]),'viewportScrollY':_0x81e222(_0x49e864['startY'])}),this['_viewRowBottom']&&this[_0xe2acf2(0x41f)]&&(this[_0xe2acf2(0x41f)][_0xe2acf2(0x436)](),this['_viewColumnRight'][_0xe2acf2(0x1b0)]({'top':0x0,'left':_0x451265,'height':_0x503e37,'width':_0x514573}),this[_0xe2acf2(0x41f)][_0xe2acf2(0x236)]({'viewportScrollX':_0x41ec70(_0x49e864['startX']),'viewportScrollY':0x0}),this[_0xe2acf2(0x164)][_0xe2acf2(0x436)](),this[_0xe2acf2(0x164)]['resizeWhenFreezeChange']({'top':_0x503e37,'left':0x0,'height':_0x31f889,'width':_0x451265}),this[_0xe2acf2(0x164)]['updateScrollVal']({'viewportScrollX':0x0,'viewportScrollY':_0x81e222(_0x49e864[_0xe2acf2(0x2d4)])}));}else this[_0xe2acf2(0x300)][_0xe2acf2(0x1b0)]({'top':_0x81e222(_0x31c7fd['y']),'left':_0x41ec70(_0x31c7fd['x']),'height':_0x81e222(_0xccbac2)+_0xbbe47a+_0x30e1a9['y'],'width':_0x41ec70(_0x189737)+_0x1faf36+_0x30e1a9['x']}),this[_0xe2acf2(0x300)]['updateScrollVal']({'viewportScrollX':_0x41ec70(_0x49e864[_0xe2acf2(0x2ed)])+_0x41ec70(_0x15a0b0)-_0x41ec70(_0x31c7fd['x']),'viewportScrollY':_0x81e222(_0x49e864[_0xe2acf2(0x2d4)])+_0x81e222(_0x2b821e)-_0x81e222(_0x31c7fd['y'])});}[_0xcf15a3(0x28a)](){const _0x46de30=_0xcf15a3;let _0x43d872=this[_0x46de30(0x231)],{vAlign:_0x370837,hAlign:_0xca702a}=this[_0x46de30(0x210)],_0x5dff96=Math[_0x46de30(0x282)](this[_0x46de30(0x2b8)]['scaleX'],this[_0x46de30(0x2b8)][_0x46de30(0x259)]),_0x2ed4e0;switch(_0xca702a){case t[_0x46de30(0x390)][_0x46de30(0x248)]:_0x2ed4e0=_0x43d872[_0x46de30(0x14e)];break;case t[_0x46de30(0x390)]['End']:_0x2ed4e0=this['paperSize']['w']-this[_0x46de30(0x2fe)]*_0x5dff96-_0x43d872[_0x46de30(0x3fa)];break;default:_0x2ed4e0=_0x43d872[_0x46de30(0x14e)]+(this[_0x46de30(0x1bb)]['w']-this[_0x46de30(0x2fe)]*_0x5dff96-_0x43d872[_0x46de30(0x14e)]-_0x43d872['right'])/0x2;}let _0x508927;switch(_0x370837){case t[_0x46de30(0x390)][_0x46de30(0x248)]:_0x508927=_0x43d872[_0x46de30(0x2bb)];break;case t[_0x46de30(0x390)]['End']:_0x508927=this['paperSize']['h']-this[_0x46de30(0x1ba)]*_0x5dff96-_0x43d872[_0x46de30(0x1f1)];break;default:_0x508927=(this[_0x46de30(0x1bb)]['h']-this[_0x46de30(0x1ba)]*_0x5dff96-_0x43d872[_0x46de30(0x2bb)]-_0x43d872[_0x46de30(0x1f1)])/0x2+_0x43d872['top'];}return{'offsetX':Math[_0x46de30(0x15b)](_0x2ed4e0),'offsetY':Math[_0x46de30(0x15b)](_0x508927),'scale':_0x5dff96};}[_0xcf15a3(0x3ad)](){const _0x35d8cb=_0xcf15a3;this['_resizeViewport'](),this['_effects'][_0x35d8cb(0x196)](),this[_0x35d8cb(0x21e)]=new n[(_0x35d8cb(0x2c8))]();let _0x11d2b1=this[_0x35d8cb(0x251)][_0x35d8cb(0x335)](s['SheetPrintInterceptorService']),{offsetX:_0x2a856e,offsetY:_0x5144b1,scale:_0x6266a}=this[_0x35d8cb(0x28a)](),_0x174ab2=_0x2a856e,_0x51e8ba=_0x5144b1;this[_0x35d8cb(0x1df)][_0x35d8cb(0x309)][_0x35d8cb(0x14e)]=_0x174ab2+'px',this['_root'][_0x35d8cb(0x309)][_0x35d8cb(0x2bb)]=_0x51e8ba+'px';let _0x4b7a64=this[_0x35d8cb(0x2fe)]*_0x6266a,_0x28285a=this[_0x35d8cb(0x1ba)]*_0x6266a;this[_0x35d8cb(0x1df)]['style'][_0x35d8cb(0x2dc)]=_0x4b7a64+'px',this['_root'][_0x35d8cb(0x309)][_0x35d8cb(0x1ea)]=_0x28285a+'px',this[_0x35d8cb(0x1df)]['style'][_0x35d8cb(0x253)]=_0x35d8cb(0x362),this['_root'][_0x35d8cb(0x309)][_0x35d8cb(0x328)]=_0x35d8cb(0x3dc),_0x11d2b1[_0x35d8cb(0x1cc)]['fetchThroughInterceptors'](_0x11d2b1['interceptor'][_0x35d8cb(0x2e4)]()[_0x35d8cb(0x379)])(this[_0x35d8cb(0x21e)],{'unitId':this['_unitId'],'subUnitId':this[_0x35d8cb(0x3a0)],'scene':this['_scene'],'engine':this[_0x35d8cb(0x3bc)],'root':this['_root'],'worksheet':this[_0x35d8cb(0x187)][_0x35d8cb(0x286)],'skeleton':this[_0x35d8cb(0x187)],'range':this[_0x35d8cb(0x3d7)][_0x35d8cb(0x3e1)],'offset':this[_0x35d8cb(0x28a)](),'resourceCollector':this[_0x35d8cb(0x3b5)]});}[_0xcf15a3(0x39f)](){const _0x51af9e=_0xcf15a3;this[_0x51af9e(0x2c9)]&&this['prepare']();let _0x3e870a=this[_0x51af9e(0x3bc)][_0x51af9e(0x1a9)]()['getContext'](),{gridlines:_0x2c4a59}=this[_0x51af9e(0x210)],{offsetX:_0x23552c,offsetY:_0x3d40fa}=this[_0x51af9e(0x28a)]();this[_0x51af9e(0x263)]['setForceDisableGridlines'](!_0x2c4a59),this[_0x51af9e(0x263)]['makeForceDirty'](),this[_0x51af9e(0x2b8)][_0x51af9e(0x158)](),_0x3e870a[_0x51af9e(0x402)](),_0x3e870a['translateWithPrecision'](_0x23552c,_0x3d40fa),this[_0x51af9e(0x2b8)][_0x51af9e(0x27c)](),_0x3e870a[_0x51af9e(0x35f)]();}[_0xcf15a3(0x3d0)](_0x21c6f5,_0x374096,_0x28fa71){const _0x15802f=_0xcf15a3;let {w:_0x5c66a7,h:_0x869562}=this['paperSize'],_0x49c0a3=this['_engine'][_0x15802f(0x1a9)]()[_0x15802f(0x290)]();_0x49c0a3['save'](),_0x49c0a3['font']=_0x15802f(0x17c)+o['DEFAULT_FONTFACE_PLANE'];let _0x313ac5=0x13*this[_0x15802f(0x26f)],_0x56e768=0x14*this[_0x15802f(0x26f)],_0x4c07e6={'workbook':_0x374096,'worksheet':_0x28fa71,'now':(0x0,n['dateKit'])(),'localeService':this[_0x15802f(0x251)][_0x15802f(0x335)](n[_0x15802f(0x383)]),'page':this[_0x15802f(0x3d7)][_0x15802f(0x1f0)],'pageTotal':this[_0x15802f(0x3d7)][_0x15802f(0x333)],'sheetPageTotal':this[_0x15802f(0x3d7)]['sheetPageTotal'],'sheetPage':this[_0x15802f(0x3d7)][_0x15802f(0x211)]};if(_0x21c6f5[_0x15802f(0x1f9)]){let _0x5ce00f=V(_0x21c6f5['topLeft'],_0x4c07e6);_0x49c0a3[_0x15802f(0x449)](_0x5ce00f,_0x313ac5,_0x56e768);}if(_0x21c6f5[_0x15802f(0x426)]){let _0x43a36c=V(_0x21c6f5[_0x15802f(0x426)],_0x4c07e6),_0x279abb=_0x49c0a3[_0x15802f(0x19f)](_0x43a36c);_0x49c0a3[_0x15802f(0x449)](_0x43a36c,(_0x5c66a7-_0x279abb[_0x15802f(0x2dc)])/0x2,_0x56e768);}if(_0x21c6f5[_0x15802f(0x358)]){let _0x6265fd=V(_0x21c6f5['topRight'],_0x4c07e6),_0x515188=_0x49c0a3['measureText'](_0x6265fd);_0x49c0a3[_0x15802f(0x449)](_0x6265fd,_0x5c66a7-_0x515188[_0x15802f(0x2dc)]-_0x313ac5,_0x56e768);}if(_0x21c6f5[_0x15802f(0x20a)]){let _0x5041ef=V(_0x21c6f5[_0x15802f(0x20a)],_0x4c07e6);_0x49c0a3[_0x15802f(0x449)](_0x5041ef,_0x313ac5,_0x869562-_0x56e768);}if(_0x21c6f5[_0x15802f(0x411)]){let _0x56a0d1=V(_0x21c6f5[_0x15802f(0x411)],_0x4c07e6),_0x5870d2=_0x49c0a3[_0x15802f(0x19f)](_0x56a0d1);_0x49c0a3[_0x15802f(0x449)](_0x56a0d1,(_0x5c66a7-_0x5870d2[_0x15802f(0x2dc)])/0x2,_0x869562-_0x56e768);}if(_0x21c6f5['bottomRight']){let _0x1af4cc=V(_0x21c6f5[_0x15802f(0x304)],_0x4c07e6),_0x56f377=_0x49c0a3['measureText'](_0x1af4cc);_0x49c0a3[_0x15802f(0x449)](_0x1af4cc,_0x5c66a7-_0x56f377[_0x15802f(0x2dc)]-_0x313ac5,_0x869562-_0x56e768);}_0x49c0a3[_0x15802f(0x35f)]();}[_0xcf15a3(0x2cc)](){const _0xd28a10=_0xcf15a3;let _0x3bcf39=this['_univerInstanceService']['getUnit'](this[_0xd28a10(0x3d7)][_0xd28a10(0x2fb)],n[_0xd28a10(0x39b)][_0xd28a10(0x28d)]),_0xb82814=_0x3bcf39==null?void 0x0:_0x3bcf39[_0xd28a10(0x3ac)](this[_0xd28a10(0x3d7)][_0xd28a10(0x1e1)]),{headerFooter:_0x1d8f03,isCustomHeaderFooter:_0x306079,headerFooterSetting:_0x244435}=this[_0xd28a10(0x210)],{w:_0x3f972f,h:_0x3c5eb0}=this[_0xd28a10(0x1bb)],_0x51a44e=this['_engine'][_0xd28a10(0x1a9)]()[_0xd28a10(0x290)]();if(!_0x3bcf39||!_0xb82814)return;if(_0x306079&&_0x244435){this[_0xd28a10(0x3d0)](_0x244435,_0x3bcf39,_0xb82814);return;}_0x51a44e[_0xd28a10(0x402)](),_0x51a44e[_0xd28a10(0x399)]=_0xd28a10(0x17c)+o['DEFAULT_FONTFACE_PLANE'];let _0x18f709=0x13*this['_previewScale'],_0x51210c=0x14*this[_0xd28a10(0x26f)];if(_0x1d8f03['includes'](_0xd28a10(0x3fb))||_0x1d8f03['includes'](_0xd28a10(0x1fb))){let _0x41b72b=new Date()[_0xd28a10(0x266)]();_0x1d8f03['includes'](_0xd28a10(0x3fb))?_0x1d8f03[_0xd28a10(0x1c4)]('Time')||(_0x41b72b=new Date()['toLocaleDateString']()):_0x41b72b=new Date()[_0xd28a10(0x370)](),_0x51a44e[_0xd28a10(0x449)](_0x41b72b,_0x18f709,_0x3c5eb0-_0x51210c);}_0x1d8f03[_0xd28a10(0x22f)](_0x26f9f4=>{const _0x2a4328=_0xd28a10;switch(_0x26f9f4){case _0x2a4328(0x422):{let _0x58b0bc=_0x3bcf39['name'],_0x1fda09=_0x51a44e[_0x2a4328(0x19f)](_0x58b0bc),_0x34f342=_0x1fda09[_0x2a4328(0x242)]+_0x1fda09['fontBoundingBoxDescent'];_0x51a44e['fillText'](_0x58b0bc,_0x18f709,_0x51210c+_0x34f342);break;}case _0x2a4328(0x416):{let _0x92b4a0=_0xb82814[_0x2a4328(0x269)](),_0x565702=_0x51a44e['measureText'](_0x92b4a0),_0x1e6aa2=_0x565702[_0x2a4328(0x242)]+_0x565702[_0x2a4328(0x1a3)];_0x51a44e['fillText'](_0x92b4a0,_0x3f972f-(_0x565702[_0x2a4328(0x2dc)]+_0x18f709),_0x51210c+_0x1e6aa2);break;}case'PageSize':{let _0x1e2e32=''+this['_config']['page'],_0x23b7c2=_0x51a44e[_0x2a4328(0x19f)](_0x1e2e32);_0x51a44e[_0x2a4328(0x449)](_0x1e2e32,_0x3f972f-(_0x23b7c2['width']+_0x18f709),_0x3c5eb0-_0x51210c);break;}}}),_0x51a44e[_0xd28a10(0x35f)]();}[_0xcf15a3(0x2ad)](){const _0x39b3b7=_0xcf15a3;let _0x9f091d=this[_0x39b3b7(0x251)][_0x39b3b7(0x335)](n['LocaleService']),_0x3ab5d9=this['_engine'][_0x39b3b7(0x1a9)]()['getContext']();_0x3ab5d9[_0x39b3b7(0x402)]();let _0x5b6506=0x14*this[_0x39b3b7(0x26f)];_0x3ab5d9['fillStyle']=_0x39b3b7(0x212),_0x3ab5d9['font']=_0x39b3b7(0x3e9)+o[_0x39b3b7(0x2e0)];let _0x465dc5=_0x3ab5d9['measureText'](_0x9f091d['t'](_0x39b3b7(0x29b))),_0x336d1d=(this[_0x39b3b7(0x1bb)]['w']-_0x465dc5['width'])/0x2,_0x1f7e89=_0x465dc5[_0x39b3b7(0x242)]+_0x465dc5[_0x39b3b7(0x1a3)];_0x3ab5d9['fillText'](_0x9f091d['t'](_0x39b3b7(0x29b)),_0x336d1d,_0x5b6506+_0x1f7e89),_0x3ab5d9[_0x39b3b7(0x449)](_0x9f091d['t']('sheets-print.limit.waterMark'),_0x336d1d,this[_0x39b3b7(0x1bb)]['h']-_0x5b6506),_0x3ab5d9[_0x39b3b7(0x35f)]();}[_0xcf15a3(0x27c)](){const _0x3b05be=_0xcf15a3;this[_0x3b05be(0x3bc)][_0x3b05be(0x308)](),this[_0x3b05be(0x39f)](),this['_renderHeaderFooter'](),this['_watermarkConfig']&&(0x0,o[_0x3b05be(0x1c6)])(this[_0x3b05be(0x3bc)][_0x3b05be(0x1a9)]()['getContext'](),this['_watermarkConfig'],this['_watermarkConfig'][_0x3b05be(0x2d8)],this[_0x3b05be(0x251)][_0x3b05be(0x335)](n[_0x3b05be(0x3d5)])[_0x3b05be(0x2f1)]());}['renderOnReady'](){const _0x4b065d=_0xcf15a3;let _0x14c6b4=this[_0x4b065d(0x1b8)][_0x4b065d(0x200)][_0x4b065d(0x260)](()=>{const _0x316588=_0x4b065d;this[_0x316588(0x27c)]();});this[_0x4b065d(0x193)](_0x14c6b4),this['waitForReady']()['then'](()=>this[_0x4b065d(0x27c)]());}['waitForReady'](_0x3a0bd4){const _0x23b5d1=_0xcf15a3;return this[_0x23b5d1(0x3b5)][_0x23b5d1(0x238)](_0x3a0bd4);}['getImage'](){const _0x12d790=_0xcf15a3;return this[_0x12d790(0x3bc)][_0x12d790(0x1a9)]()['toDataURL'](_0x12d790(0x1d9),0x1);}};function oe(_0x3e14aa){const _0x5ab6dc=_0xcf15a3;let _0x531f96=_0x3e14aa[_0x5ab6dc(0x36b)]((_0x2f96d0,_0x139df1)=>_0x2f96d0+_0x139df1['pages'][_0x5ab6dc(0x21f)],0x0),_0x539b93=new Map(),_0x32fc05=new Map();_0x3e14aa[_0x5ab6dc(0x22f)](_0x50872e=>{const _0x1a8ca9=_0x5ab6dc;let _0xc9ae65=_0x50872e[_0x1a8ca9(0x26c)][_0x1a8ca9(0x21f)],_0x40ecae=_0x32fc05[_0x1a8ca9(0x335)](_0x50872e[_0x1a8ca9(0x1e1)])??0x0;_0x32fc05[_0x1a8ca9(0x284)](_0x50872e[_0x1a8ca9(0x1e1)],_0xc9ae65+_0x40ecae);});let _0x4ae3ee=0x0;return _0x3e14aa[_0x5ab6dc(0x1d5)](_0x334b5e=>{const _0xe3f6f2=_0x5ab6dc;let _0x123f10=_0x334b5e[_0xe3f6f2(0x26c)]['length'],_0x49527a=_0x539b93['get'](_0x334b5e['subUnitId'])??0x0,_0x44d57a=_0x334b5e[_0xe3f6f2(0x26c)][_0xe3f6f2(0x1d5)]((_0x2d7605,_0x289ea4)=>(_0x4ae3ee++,{..._0x334b5e,'range':_0x2d7605,'page':_0x4ae3ee,'pageTotal':_0x531f96,'sheetPageTotal':_0x32fc05[_0xe3f6f2(0x335)](_0x334b5e[_0xe3f6f2(0x1e1)]),'sheetPage':_0x289ea4+0x1+_0x49527a}));return _0x539b93[_0xe3f6f2(0x40a)](_0x334b5e[_0xe3f6f2(0x1e1)])?_0x539b93[_0xe3f6f2(0x284)](_0x334b5e['subUnitId'],_0x539b93[_0xe3f6f2(0x335)](_0x334b5e[_0xe3f6f2(0x1e1)])+_0x123f10):_0x539b93[_0xe3f6f2(0x284)](_0x334b5e['subUnitId'],_0x123f10),_0x44d57a;})['flat']();}let se=0x0,U=class{constructor(_0x342ad6,_0x474591,_0x939a43,_0x199c6f,_0x5d4597,_0x35aa8d,_0xf322c){const _0x334f88=_0xcf15a3;this[_0x334f88(0x155)]=_0x342ad6,this[_0x334f88(0x351)]=_0x474591,this['_sheetPrintManagerService']=_0x939a43,this[_0x334f88(0x40b)]=_0x199c6f,this[_0x334f88(0x3b1)]=_0x5d4597,this[_0x334f88(0x35d)]=_0x35aa8d,this[_0x334f88(0x2e2)]=_0xf322c;}async[_0xcf15a3(0x34c)](_0x42bf25,_0x5c7ee1){const _0x499530=_0xcf15a3;await Promise[_0x499530(0x16c)](Array[_0x499530(0x423)](new Set(_0x42bf25['map'](_0x4dae21=>_0x4dae21[_0x499530(0x2fb)])),_0x423d67=>this[_0x499530(0x2e2)][_0x499530(0x3ad)]({'unitId':_0x423d67,'unitType':n[_0x499530(0x39b)][_0x499530(0x28d)],'dpr':0x1})));let _0x4bca69=oe(_0x42bf25),{ls:_0x2cc043,pbk:_0x3abc50}=this[_0x499530(0x35d)]['getConfig'](e['LS_CONFIG_KEY'])??{},_0x30a32b=(0x0,e[_0x499530(0x207)])()?0x1/0x0:ee(0x3,_0x2cc043,_0x3abc50)['page'];_0x4bca69=_0x4bca69['slice'](0x0,_0x30a32b);let _0x5bc2d8=document[_0x499530(0x24c)](_0x499530(0x2f7));_0x5bc2d8[_0x499530(0x17f)]=t[_0x499530(0x292)];let _0x58b0e2=_0x4bca69['map'](_0x522337=>{const _0x3aafa4=_0x499530;let _0x20fa54=new ae(this[_0x3aafa4(0x155)],_0x522337,_0x5c7ee1,!0x1);return _0x20fa54[_0x3aafa4(0x450)][_0x3aafa4(0x17f)]=t[_0x3aafa4(0x255)],_0x20fa54;});_0x58b0e2[_0x499530(0x22f)](_0x374b2c=>{const _0x88f11e=_0x499530;_0x5bc2d8[_0x88f11e(0x1e3)](_0x374b2c[_0x88f11e(0x450)]),_0x374b2c[_0x88f11e(0x450)]['appendChild'](_0x374b2c[_0x88f11e(0x401)]),_0x374b2c['prepare'](),_0x374b2c[_0x88f11e(0x24f)](!0x1);});let _0x280e9c=this['_sheetPrintManagerService']['layoutConfig'],_0x46ff4c=n[_0x499530(0x156)][_0x280e9c[_0x499530(0x1bb)]],_0x32cc9f=(0x0,t['createPrintStyle'])(_0x46ff4c['width'],_0x46ff4c[_0x499530(0x1ea)],_0x280e9c[_0x499530(0x1d8)]);return document[_0x499530(0x433)]['appendChild'](_0x32cc9f),document[_0x499530(0x433)][_0x499530(0x1e3)](_0x5bc2d8),await Promise[_0x499530(0x16c)](_0x58b0e2['map'](_0x2c8fce=>_0x2c8fce[_0x499530(0x1b2)]())),new Promise(_0x3c9102=>{const _0x3a182c=_0x499530;window[_0x3a182c(0x326)]=()=>{const _0x3ccc29=_0x3a182c;_0x58b0e2[_0x3ccc29(0x22f)](_0x424469=>{const _0x30bd62=_0x3ccc29;_0x424469[_0x30bd62(0x27c)](),_0x424469[_0x30bd62(0x29d)]();});},window['onafterprint']=()=>{const _0x595725=_0x3a182c;_0x58b0e2[_0x595725(0x22f)](_0x28f8a7=>{_0x28f8a7['dispose']();}),document[_0x595725(0x433)][_0x595725(0x2f5)](_0x5bc2d8),document[_0x595725(0x433)][_0x595725(0x2f5)](_0x32cc9f),this[_0x595725(0x351)][_0x595725(0x37f)](),this[_0x595725(0x241)][_0x595725(0x1bd)](),this[_0x595725(0x3b1)]['removeAll'](),_0x58b0e2=[],_0x3c9102(!0x0);},window['print']();});}['getRangeImage'](_0x575a3a,_0x59cf51,_0xed1574,_0x1d583e){const _0x9e6ad3=_0xcf15a3;if(!F(this['_injector'])){let _0x438aa9=(Date[_0x9e6ad3(0x25c)]()-se)/0x3e8;if(se=Date[_0x9e6ad3(0x25c)](),_0x438aa9<=0x1e)return!0x1;}let _0x5dc0df=this[_0x9e6ad3(0x40b)][_0x9e6ad3(0x18e)](_0x575a3a);if(!_0x5dc0df)return!0x1;let _0x26f65f=_0x5dc0df[_0x9e6ad3(0x14b)](s[_0x9e6ad3(0x31b)])['ensureSkeleton'](_0x59cf51);if(!_0x26f65f)return!0x1;let _0x358ef7=_0x26f65f[_0x9e6ad3(0x3bd)][_0xed1574[_0x9e6ad3(0x2aa)]]-(_0x26f65f['columnWidthAccumulation'][_0xed1574[_0x9e6ad3(0x405)]-0x1]||0x0),_0xc4713f=_0x26f65f[_0x9e6ad3(0x2b5)][_0xed1574[_0x9e6ad3(0x254)]]-(_0x26f65f[_0x9e6ad3(0x2b5)][_0xed1574[_0x9e6ad3(0x33a)]-0x1]||0x0),_0x527660=_0x26f65f[_0x9e6ad3(0x1e4)],_0x24d1f4=_0x26f65f[_0x9e6ad3(0x3ca)],_0x4d9fce=1.5,_0x502508=new ae(this[_0x9e6ad3(0x155)],{'unitId':_0x575a3a,'subUnitId':_0x59cf51,'range':_0xed1574,'freeze':M,'scale':_0x4d9fce,'page':0x1,'pageSize':_0x1d583e?{'w':(_0x358ef7+_0x24d1f4)*_0x4d9fce+0x1,'h':(_0xc4713f+_0x527660)*_0x4d9fce+0x1}:{'w':_0x358ef7*_0x4d9fce+0x1,'h':_0xc4713f*_0x4d9fce+0x1},'margin':t[_0x9e6ad3(0x356)][t[_0x9e6ad3(0x3ed)][_0x9e6ad3(0x25f)]],'pageTotal':0x1,'sheetPageTotal':0x1,'sheetPage':0x1,'includeHeaderDimensions':_0x1d583e??!0x1},{'gridlines':!0x0,'hAlign':t['PrintAlign'][_0x9e6ad3(0x1a6)],'vAlign':t[_0x9e6ad3(0x390)][_0x9e6ad3(0x1a6)],'headerFooter':[],'headerFooterSetting':E,'isCustomHeaderFooter':!0x1},!0x1),_0x104802=document[_0x9e6ad3(0x24c)](_0x9e6ad3(0x2f7));_0x104802['className']=t[_0x9e6ad3(0x292)],_0x502508[_0x9e6ad3(0x450)]['className']=t['PRINT_CANVAS_CLASS'],_0x104802['appendChild'](_0x502508[_0x9e6ad3(0x450)]),document[_0x9e6ad3(0x433)][_0x9e6ad3(0x1e3)](_0x104802),_0x502508[_0x9e6ad3(0x3ad)](),_0x502508['render']();let _0x2738be=_0x502508[_0x9e6ad3(0x2bf)]();return _0x502508[_0x9e6ad3(0x196)](),document[_0x9e6ad3(0x433)][_0x9e6ad3(0x2f5)](_0x104802),_0x2738be;}};U=O([D(0x0,(0x0,n['Inject'])(n[_0xcf15a3(0x340)])),D(0x1,b),D(0x2,k),D(0x3,o[_0xcf15a3(0x206)]),D(0x4,i['IMessageService']),D(0x5,n[_0xcf15a3(0x331)]),D(0x6,t[_0xcf15a3(0x42e)])],U);function ce(_0x39534c,_0x3838eb){const _0x162910=_0xcf15a3;let _0x489fbc=atob(_0x39534c[_0x162910(0x3d6)](',')[0x1]),_0x2c6676=new ArrayBuffer(_0x489fbc[_0x162910(0x21f)]),_0x1265ef=new Uint8Array(_0x2c6676);for(let _0x1558b1=0x0;_0x1558b1<_0x489fbc['length'];_0x1558b1++)_0x1265ef[_0x1558b1]=_0x489fbc['charCodeAt'](_0x1558b1);return new Blob([_0x2c6676],{'type':_0x3838eb});}const le={'type':n[_0xcf15a3(0x2c6)]['OPERATION'],'id':'sheet.operation.screenshot',async 'handler'(_0x157cee){const _0x592ab6=_0xcf15a3;var _0x46e8ca;let _0x51ccc4=_0x157cee['get'](r[_0x592ab6(0x1a2)]),_0x1b539d=(_0x46e8ca=_0x51ccc4[_0x592ab6(0x27a)]())==null?void 0x0:_0x46e8ca[0x0],_0x410b95=_0x157cee['get'](U),_0x594ea3=_0x51ccc4[_0x592ab6(0x34f)](),_0x83bbb8=_0x157cee[_0x592ab6(0x335)](i[_0x592ab6(0x323)]),_0x14e2ea=_0x157cee[_0x592ab6(0x335)](n[_0x592ab6(0x2d6)]),_0x555dd2=_0x157cee['get'](n[_0x592ab6(0x383)]);if(!_0x1b539d||!_0x594ea3)return!0x1;let _0x4d2274=(0x0,r['getSheetCommandTarget'])(_0x14e2ea);if(!_0x4d2274)return!0x1;let {unitId:_0x321480,subUnitId:_0x580f2f}=_0x4d2274,_0xaf9f82=_0x410b95[_0x592ab6(0x42b)](_0x321480,_0x580f2f,_0x1b539d[_0x592ab6(0x3e1)]);if(!_0xaf9f82)return!0x1;try{return await navigator[_0x592ab6(0x2c3)][_0x592ab6(0x2e3)]([new ClipboardItem({'image/png':ce(_0xaf9f82,_0x592ab6(0x1d9))})]),_0x83bbb8['show']({'type':c[_0x592ab6(0x457)][_0x592ab6(0x29c)],'content':_0x555dd2['t'](_0x592ab6(0x2c0))}),!0x0;}catch{return _0x83bbb8[_0x592ab6(0x1f4)]({'type':c[_0x592ab6(0x457)][_0x592ab6(0x216)],'content':_0x555dd2['t'](_0x592ab6(0x30e))}),!0x1;}}},W=(0x0,n[_0xcf15a3(0x311)])('univer-pro.print-grid.service');var ue=class extends n[_0xcf15a3(0x455)]{constructor(..._0x3589d5){const _0x5785b9=_0xcf15a3;super(..._0x3589d5),y(this,_0x5785b9(0x424),new a[(_0x5785b9(0x3b9))](!0x1)),y(this,_0x5785b9(0x3f8),this[_0x5785b9(0x424)]);}get['visible'](){const _0x14c905=_0xcf15a3;return this[_0x14c905(0x424)][_0x14c905(0x39e)];}[_0xcf15a3(0x1f4)](){const _0x39546b=_0xcf15a3;this[_0x39546b(0x424)][_0x39546b(0x448)](!0x0);}[_0xcf15a3(0x1e0)](){const _0x265439=_0xcf15a3;this[_0x265439(0x424)][_0x265439(0x448)](!0x1);}[_0xcf15a3(0x196)](){const _0x322a67=_0xcf15a3;super[_0x322a67(0x196)](),this[_0x322a67(0x424)][_0x322a67(0x1c2)]();}};const de=_0xcf15a3(0x2df),G={'id':_0xcf15a3(0x160),'type':n[_0xcf15a3(0x2c6)][_0xcf15a3(0x3f0)],'handler':_0x57babd=>{const _0x13f0bf=_0xcf15a3;let _0x3e78a0=_0x57babd[_0x13f0bf(0x335)](i[_0x13f0bf(0x20b)]),_0x262e5d=_0x57babd[_0x13f0bf(0x335)](W),_0x4d9861=_0x57babd[_0x13f0bf(0x335)](k),_0x9ba4c6=_0x57babd['get'](n[_0x13f0bf(0x383)]);return _0x4d9861[_0x13f0bf(0x389)](),_0x262e5d[_0x13f0bf(0x1f4)](),_0x3e78a0[_0x13f0bf(0x1a5)]({'header':{'title':_0x9ba4c6['t'](_0x13f0bf(0x182))},'children':{'label':de},'onClose':()=>{},'width':0x138}),!0x0;}},fe={'id':_0xcf15a3(0x186),'type':n[_0xcf15a3(0x2c6)]['OPERATION'],'handler':_0xc3787e=>{const _0x496e6e=_0xcf15a3;let _0x53f460=_0xc3787e[_0x496e6e(0x335)](i['ISidebarService']);return _0xc3787e[_0x496e6e(0x335)](W)['hide'](),_0x53f460['close'](),!0x0;}},pe='sheet.menu.print';function me(_0xd521c4){const _0x43a09b=_0xcf15a3;return{'id':pe,'type':i[_0x43a09b(0x431)][_0x43a09b(0x1e2)],'icon':_0x43a09b(0x157),'tooltip':_0x43a09b(0x2b1),'hidden$':(0x0,i['getMenuHiddenObservable'])(_0xd521c4,n['UniverInstanceType'][_0x43a09b(0x28d)]),'disabled$':(0x0,s[_0x43a09b(0x3df)])(_0xd521c4,{'workbookTypes':[r['WorkbookPrintPermission']]})};}function he(){const _0x2cecdf=_0xcf15a3;return{'id':I['id'],'type':i['MenuItemType'][_0x2cecdf(0x360)],'title':_0x2cecdf(0x2b1),'icon':'PrintIcon'};}function ge(_0x325a0b){const _0x277f1b=_0xcf15a3;return{'id':le['id'],'type':i[_0x277f1b(0x431)][_0x277f1b(0x360)],'title':'sheets-print.screenshot.title','icon':_0x277f1b(0x228),'tooltip':_0x277f1b(0x21a),'hidden$':(0x0,i['getMenuHiddenObservable'])(_0x325a0b,n['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,s[_0x277f1b(0x3df)])(_0x325a0b,{'workbookTypes':[r[_0x277f1b(0x3f7)],r['WorkbookCopyPermission'],r['WorkbookViewPermission']],'worksheetTypes':[r['WorksheetCopyPermission'],r['WorksheetViewPermission']],'rangeTypes':[r[_0x277f1b(0x1d4)]]})};}function _e(){const _0x2bd93d=_0xcf15a3;return{'id':G['id'],'type':i[_0x2bd93d(0x431)][_0x2bd93d(0x360)],'title':_0x2bd93d(0x182),'icon':_0x2bd93d(0x2bd)};}const ve={[i[_0xcf15a3(0x31d)][_0xcf15a3(0x170)]]:{[pe]:{'order':0.01,'gridLayout':{'row':0x1,'column':0x3,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':me,[I['id']]:{'order':0x0,'menuItemFactory':he},[G['id']]:{'order':0x1,'menuItemFactory':_e}}},[i[_0xcf15a3(0x43d)]['MAIN_AREA']]:{[i[_0xcf15a3(0x1be)]['OTHERS']]:{[le['id']]:{'order':2.1,'menuItemFactory':ge}}}};var ye=_0xcf15a3(0x1f7),be=_0xcf15a3(0x415);const xe=_0xcf15a3(0x3c4),Se='sheets-print.config',K={};let q=class extends n[_0xcf15a3(0x455)]{constructor(_0x38e672){const _0x1acc66=_0xcf15a3;super(),this[_0x1acc66(0x193)](_0x38e672[_0x1acc66(0x452)]({'PrintIcon':l[_0x1acc66(0x157)]}));}};q=O([D(0x0,(0x0,n[_0xcf15a3(0x438)])(i[_0xcf15a3(0x1ee)]))],q);const Ce={[i[_0xcf15a3(0x31d)][_0xcf15a3(0x170)]]:{[I['id']]:{'order':0.01,'menuItemFactory':he}}};function we(_0x6b258d){const _0x8fb16f=_0xcf15a3;let [_0x4b0d5e,_0x1846e3]=(0x0,u['useState'])();return(0x0,u[_0x8fb16f(0x1dc)])(()=>{const _0x342868=_0x8fb16f;_0x6b258d[_0x342868(0x408)](_0x3389ad=>{_0x1846e3(()=>_0x3389ad);});},[]),_0x4b0d5e;}const Te=(_0x2578b8,_0x516f19)=>{const _0x52430c=_0xcf15a3;let _0xaecfb8=(0x0,u[_0x52430c(0x1a7)])(!0x1);(0x0,u[_0x52430c(0x1dc)])(()=>{const _0x53a886=_0x52430c;if(_0xaecfb8['current'])return _0x2578b8();_0xaecfb8[_0x53a886(0x33e)]=!0x0;},_0x516f19);},Ee=(0x0,u[_0xcf15a3(0x293)])((_0x424db9,_0x3a40b9)=>{const _0x4ce65f=_0xcf15a3;let {config:_0x2c7eac,previewScale:_0x316986}=_0x424db9,_0x4a4dc0=(0x0,i[_0x4ce65f(0x17a)])(k),_0x1a5b40=(0x0,i[_0x4ce65f(0x17a)])(n[_0x4ce65f(0x340)]),_0x26a9a3=(0x0,u[_0x4ce65f(0x1a7)])(null),_0x232576=_0x4a4dc0[_0x4ce65f(0x1bb)],_0x5d235b=(0x0,i[_0x4ce65f(0x42c)])(_0x4a4dc0['renderConfig$'],_0x4a4dc0[_0x4ce65f(0x175)]),_0x49873f=(0x0,i['useObservable'])(_0x4a4dc0['layoutConfig$'],_0x4a4dc0[_0x4ce65f(0x16e)]),_0x514e4f=Math[_0x4ce65f(0x15b)](_0x316986*(0x31a/_0x232576['w'])*0xa)/0xa,[_0x190912]=(0x0,u[_0x4ce65f(0x2f6)])(()=>new ae(_0x1a5b40,_0x2c7eac,_0x5d235b,!0x0,_0x514e4f));return(0x0,u[_0x4ce65f(0x1dc)])(()=>(_0x26a9a3[_0x4ce65f(0x33e)]&&(_0x190912[_0x4ce65f(0x450)][_0x4ce65f(0x309)][_0x4ce65f(0x2dc)]=_0x4ce65f(0x1da),_0x190912['container'][_0x4ce65f(0x309)][_0x4ce65f(0x1ea)]=_0x4ce65f(0x1da),_0x190912['container'][_0x4ce65f(0x309)][_0x4ce65f(0x253)]='relative',_0x26a9a3[_0x4ce65f(0x33e)][_0x4ce65f(0x1e3)](_0x190912[_0x4ce65f(0x450)]),_0x190912[_0x4ce65f(0x450)][_0x4ce65f(0x1e3)](_0x190912[_0x4ce65f(0x401)])),_0x190912[_0x4ce65f(0x27c)](),_0x190912[_0x4ce65f(0x432)](),()=>{const _0x68d2e5=_0x4ce65f;var _0x468341;queueMicrotask(()=>_0x190912[_0x68d2e5(0x196)]()),(_0x468341=_0x26a9a3[_0x68d2e5(0x33e)])==null||_0x468341[_0x68d2e5(0x2f5)](_0x190912['container']);}),[_0x190912]),Te(()=>{const _0x46fbc4=_0x4ce65f;_0x190912['renderConfig']=_0x5d235b,_0x190912[_0x46fbc4(0x27c)]();},[_0x5d235b]),Te(()=>{const _0x23f62f=_0x4ce65f;_0x190912['setPreviewScale'](_0x514e4f),_0x190912[_0x23f62f(0x1b8)]['resize'](),_0x190912[_0x23f62f(0x27c)]();},[_0x514e4f]),Te(()=>{const _0x3a66dc=_0x4ce65f;_0x190912[_0x3a66dc(0x184)](_0x2c7eac),_0x190912['render']();},[_0x2c7eac[_0x4ce65f(0x38d)][_0x4ce65f(0x33a)],_0x2c7eac[_0x4ce65f(0x38d)][_0x4ce65f(0x405)],_0x2c7eac[_0x4ce65f(0x38d)][_0x4ce65f(0x237)],_0x2c7eac[_0x4ce65f(0x38d)]['ySplit'],_0x2c7eac[_0x4ce65f(0x3e1)][_0x4ce65f(0x33a)],_0x2c7eac[_0x4ce65f(0x3e1)][_0x4ce65f(0x254)],_0x2c7eac[_0x4ce65f(0x3e1)][_0x4ce65f(0x405)],_0x2c7eac[_0x4ce65f(0x3e1)][_0x4ce65f(0x2aa)],_0x2c7eac['scale'],_0x49873f[_0x4ce65f(0x231)]]),(0x0,d[_0x4ce65f(0x381)])(_0x4ce65f(0x2f7),{'ref':_0x3a40b9,'children':(0x0,d[_0x4ce65f(0x381)])('div',{'ref':_0x26a9a3,'className':_0x4ce65f(0x3b3),'style':{'width':_0x232576['w']*_0x514e4f,'height':_0x232576['h']*_0x514e4f}})});});function De(_0x537dd8){const _0x33c4e7=_0xcf15a3;let {open:_0x33eae0,onClose:_0xd8bae6}=_0x537dd8,_0x3ce8c1=(0x0,i[_0x33c4e7(0x17a)])(n[_0x33c4e7(0x383)]),_0x2b1508=(0x0,i['useDependency'])(k),[_0x34d069,_0x340162]=(0x0,u[_0x33c4e7(0x2f6)])(()=>({..._0x2b1508[_0x33c4e7(0x175)]['headerFooterSetting']??E})),_0x55bd55=(_0x1330dd,_0x27edc3)=>{_0x340162(_0x432aff=>({..._0x432aff,[_0x1330dd]:_0x27edc3}));};return(0x0,d[_0x33c4e7(0x381)])(c[_0x33c4e7(0x445)],{'open':_0x33eae0,'title':_0x3ce8c1['t'](_0x33c4e7(0x365)),'showCancel':!0x0,'showOk':!0x0,'onCancel':_0xd8bae6,'onClose':_0xd8bae6,'onOk':()=>{const _0x43db47=_0x33c4e7;_0x2b1508[_0x43db47(0x172)]({'headerFooterSetting':_0x34d069}),_0xd8bae6();},'children':(0x0,d[_0x33c4e7(0x2b4)])('div',{'className':_0x33c4e7(0x1c3),'children':[(0x0,d[_0x33c4e7(0x2b4)])(_0x33c4e7(0x1a4),{'className':_0x33c4e7(0x18c),'children':[(0x0,d[_0x33c4e7(0x381)])(_0x33c4e7(0x2f7),{'className':_0x33c4e7(0x3cf),'children':_0x3ce8c1['t'](_0x33c4e7(0x317))}),(0x0,d[_0x33c4e7(0x381)])(c['FormLayout'],{'label':_0x3ce8c1['t'](_0x33c4e7(0x41d)),'children':(0x0,d['jsx'])(c[_0x33c4e7(0x189)],{'value':_0x34d069['topLeft'],'onChange':_0x391d02=>_0x55bd55(_0x33c4e7(0x1f9),_0x391d02)})}),(0x0,d[_0x33c4e7(0x381)])(c[_0x33c4e7(0x1ef)],{'label':_0x3ce8c1['t'](_0x33c4e7(0x322)),'children':(0x0,d[_0x33c4e7(0x381)])(c[_0x33c4e7(0x189)],{'value':_0x34d069[_0x33c4e7(0x426)],'onChange':_0x27d29d=>_0x55bd55(_0x33c4e7(0x426),_0x27d29d)})}),(0x0,d[_0x33c4e7(0x381)])(c[_0x33c4e7(0x1ef)],{'label':_0x3ce8c1['t'](_0x33c4e7(0x14a)),'children':(0x0,d[_0x33c4e7(0x381)])(c['Input'],{'value':_0x34d069[_0x33c4e7(0x358)],'onChange':_0x4f5556=>_0x55bd55('topRight',_0x4f5556)})})]}),(0x0,d[_0x33c4e7(0x2b4)])('section',{'className':'univer-grid\x20univer-gap-2','children':[(0x0,d[_0x33c4e7(0x381)])(_0x33c4e7(0x2f7),{'className':_0x33c4e7(0x3cf),'children':_0x3ce8c1['t'](_0x33c4e7(0x2ff))}),(0x0,d[_0x33c4e7(0x381)])(c[_0x33c4e7(0x1ef)],{'label':_0x3ce8c1['t'](_0x33c4e7(0x41d)),'children':(0x0,d[_0x33c4e7(0x381)])(c[_0x33c4e7(0x189)],{'value':_0x34d069[_0x33c4e7(0x20a)],'onChange':_0x12f875=>_0x55bd55(_0x33c4e7(0x20a),_0x12f875)})}),(0x0,d['jsx'])(c[_0x33c4e7(0x1ef)],{'label':_0x3ce8c1['t'](_0x33c4e7(0x322)),'children':(0x0,d['jsx'])(c[_0x33c4e7(0x189)],{'value':_0x34d069[_0x33c4e7(0x411)],'onChange':_0x53af14=>_0x55bd55('bottomCenter',_0x53af14)})}),(0x0,d[_0x33c4e7(0x381)])(c['FormLayout'],{'label':_0x3ce8c1['t'](_0x33c4e7(0x14a)),'children':(0x0,d['jsx'])(c[_0x33c4e7(0x189)],{'value':_0x34d069[_0x33c4e7(0x304)],'onChange':_0x2a8854=>_0x55bd55(_0x33c4e7(0x304),_0x2a8854)})})]})]})});}const Oe=(0x0,u[_0xcf15a3(0x277)])(_0x4ab202=>{const _0xd0e9d8=_0xcf15a3;var _0x28d4e5,_0x3aeb06,_0x359675,_0x14889f,_0x4f59c0;let {onShowFooterHeaderEditor:_0x1ffe89,DropdownComponent:_0x227225=c[_0xd0e9d8(0x28f)],SelectComponent:_0x2c9296=c[_0xd0e9d8(0x327)]}=_0x4ab202,_0x6437ba=(0x0,i['useDependency'])(k),_0x59c676=(0x0,i[_0xd0e9d8(0x42c)])(_0x6437ba['layoutConfig$'],_0x6437ba[_0xd0e9d8(0x16e)]),_0x55af95=(0x0,i[_0xd0e9d8(0x42c)])(_0x6437ba[_0xd0e9d8(0x40d)],_0x6437ba[_0xd0e9d8(0x175)]),_0x349fc9=(0x0,i['useDependency'])(n[_0xd0e9d8(0x383)]),_0x22447f=(0x0,i[_0xd0e9d8(0x17a)])(n[_0xd0e9d8(0x2d6)]),_0x26edbd=(0x0,i[_0xd0e9d8(0x17a)])(n[_0xd0e9d8(0x454)]),[_0x1c538b,_0x2214bc]=(0x0,u[_0xd0e9d8(0x2f6)])(null),_0x5ddaf2=((_0x28d4e5=(0x0,i[_0xd0e9d8(0x17a)])(n[_0xd0e9d8(0x331)])[_0xd0e9d8(0x246)]('sheets-print.config'))==null?void 0x0:_0x28d4e5[_0xd0e9d8(0x2a3)])??!0x1;(0x0,u[_0xd0e9d8(0x1dc)])(()=>{const _0x2dd957=_0xd0e9d8;let _0x56f089=!0x1;return _0x26edbd[_0x2dd957(0x409)](o[_0x2dd957(0x43f)])[_0x2dd957(0x408)](_0x49c3f7=>{const _0x363c99=_0x2dd957;if(_0x56f089)return;let _0x36598e,_0x3506d8;(_0x49c3f7==null?void 0x0:_0x49c3f7['type'])===o[_0x363c99(0x3fd)][_0x363c99(0x3ba)]&&_0x49c3f7[_0x363c99(0x229)][_0x363c99(0x2d8)]&&(_0x36598e=new Image(),_0x36598e[_0x363c99(0x3d8)]=_0x49c3f7[_0x363c99(0x229)][_0x363c99(0x2d8)][_0x363c99(0x421)]),(_0x49c3f7==null?void 0x0:_0x49c3f7[_0x363c99(0x3a9)])===o[_0x363c99(0x3fd)][_0x363c99(0x354)]&&_0x49c3f7!=null&&_0x49c3f7[_0x363c99(0x229)][_0x363c99(0x453)]&&(_0x3506d8=_0x49c3f7[_0x363c99(0x229)][_0x363c99(0x453)]);let _0x2bec40=_0x49c3f7?{..._0x49c3f7,'user':_0x3506d8,'image':_0x36598e}:null;_0x2214bc(_0x2bec40),_0x5ddaf2&&_0x6437ba[_0x363c99(0x172)]({'watermark':_0x2bec40});}),()=>{_0x56f089=!0x0;};},[_0x5ddaf2,_0x26edbd,_0x6437ba]);let _0x2d9042=_0x22447f[_0xd0e9d8(0x39d)](n['UniverInstanceType'][_0xd0e9d8(0x28d)]),_0x202f72=_0x2d9042['getSheets']()[_0xd0e9d8(0x299)](_0x519913=>!_0x519913['isSheetHidden']()),_0x148176=_0x2d9042['getActiveSheet']();if(!_0x148176)return console[_0xd0e9d8(0x16a)](_0xd0e9d8(0x15a)),null;let _0x541419=(_0x1cddf0,_0x9f2762)=>{const _0x1fda00=_0xd0e9d8;let _0xbc5b4c=Math[_0x1fda00(0x282)](0x0,_0x9f2762||0x0),_0x3f7ad5=_0x59c676[_0x1fda00(0x151)]||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x6437ba[_0x1fda00(0x310)]({'marginCustom':{..._0x3f7ad5,[_0x1cddf0]:_0xbc5b4c}});},_0x145f13=_0x148176[_0xd0e9d8(0x45c)](),_0x3566bf=_0x59c676[_0xd0e9d8(0x37b)]!==_0xd0e9d8(0x2a5)&&_0x145f13['xSplit']<=0x0,_0x3ff8d8=_0x59c676['area']!==_0xd0e9d8(0x2a5)&&_0x145f13[_0xd0e9d8(0x181)]<=0x0;return(0x0,d['jsx'])(_0xd0e9d8(0x2f7),{'className':(0x0,c[_0xd0e9d8(0x20e)])(_0xd0e9d8(0x2dd),c['scrollbarClassName']),'children':(0x0,d[_0xd0e9d8(0x2b4)])(_0xd0e9d8(0x2f7),{'className':'univer-p-4','children':[(0x0,d[_0xd0e9d8(0x381)])(c['FormLayout'],{'label':_0x349fc9['t'](_0xd0e9d8(0x275)),'children':(0x0,d[_0xd0e9d8(0x381)])(_0x2c9296,{'className':_0xd0e9d8(0x1d2),'value':''+_0x59c676[_0xd0e9d8(0x37b)],'onChange':_0x1b1b56=>{const _0xde8663=_0xd0e9d8;_0x1b1b56==='Workbook'?_0x6437ba[_0xde8663(0x310)]({'area':_0x1b1b56,'subUnitIds':_0x202f72['map'](_0xd1dfaf=>_0xd1dfaf['getSheetId']())}):_0x6437ba[_0xde8663(0x310)]({'area':_0x1b1b56});},'options':[{'label':_0x349fc9['t'](_0xd0e9d8(0x2d9)),'value':_0xd0e9d8(0x398)},{'label':_0x349fc9['t']('sheets-print.area.workbook'),'value':'Workbook'},{'label':_0x349fc9['t'](_0xd0e9d8(0x2a8)),'value':'CurrentSelection'},{'label':_0x349fc9['t']('sheets-print.area.allSelection'),'value':_0xd0e9d8(0x38c)}]})}),_0x59c676[_0xd0e9d8(0x37b)]===_0xd0e9d8(0x2a5)?(0x0,d['jsx'])(c['FormLayout'],{'label':_0x349fc9['t'](_0xd0e9d8(0x387)),'children':(0x0,d[_0xd0e9d8(0x381)])(_0x227225,{'overlay':(0x0,d[_0xd0e9d8(0x381)])(_0xd0e9d8(0x2f7),{'className':(0x0,c[_0xd0e9d8(0x20e)])(_0xd0e9d8(0x459),c['scrollbarClassName']),'children':(0x0,d[_0xd0e9d8(0x381)])(c['CheckboxGroup'],{'direction':_0xd0e9d8(0x41a),'className':_0xd0e9d8(0x2ee),'value':_0x59c676[_0xd0e9d8(0x314)][_0xd0e9d8(0x1d5)](_0x4cb853=>typeof _0x4cb853==_0xd0e9d8(0x2fc)?_0x4cb853:_0x4cb853['id']),'onChange':_0x233a88=>{const _0x33a158=_0xd0e9d8;let _0x2ffde9=new Set(_0x233a88);if(_0x2ffde9[_0x33a158(0x330)]===0x0)_0x6437ba['updateLayoutConfig']({'subUnitIds':_0x202f72[_0x33a158(0x1d5)](_0x2deb71=>_0x2deb71[_0x33a158(0x224)]())});else{let _0x36a538=[];_0x202f72[_0x33a158(0x22f)](_0x4f0733=>{const _0x48a071=_0x33a158;let _0x483419=_0x4f0733[_0x48a071(0x224)]();_0x2ffde9[_0x48a071(0x40a)](_0x483419)&&_0x36a538['push'](_0x483419);}),_0x6437ba['updateLayoutConfig']({'subUnitIds':_0x36a538});}},'children':_0x202f72[_0xd0e9d8(0x1d5)](_0x8b3e5c=>(0x0,d[_0xd0e9d8(0x381)])(c['Checkbox'],{'value':_0x8b3e5c['getSheetId'](),'children':_0x8b3e5c[_0xd0e9d8(0x269)]()},_0x8b3e5c[_0xd0e9d8(0x224)]()))})}),'children':(0x0,d[_0xd0e9d8(0x2b4)])(_0xd0e9d8(0x2f7),{'className':(0x0,c[_0xd0e9d8(0x20e)])(_0xd0e9d8(0x3cb),c['borderClassName']),'children':[(0x0,d['jsx'])(_0xd0e9d8(0x2d1),{'className':_0xd0e9d8(0x1fd),'children':_0x59c676[_0xd0e9d8(0x314)][_0xd0e9d8(0x21f)]===_0x202f72[_0xd0e9d8(0x21f)]||_0x59c676[_0xd0e9d8(0x314)][_0xd0e9d8(0x21f)]===0x0?_0x349fc9['t']('sheets-print.selection.allWorkbook'):''+_0x59c676[_0xd0e9d8(0x314)][_0xd0e9d8(0x21f)]+_0x349fc9['t'](_0xd0e9d8(0x245))}),(0x0,d['jsx'])(l[_0xd0e9d8(0x42d)],{})]})})}):null,(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'label':_0x349fc9['t'](_0xd0e9d8(0x3ae)),'children':(0x0,d[_0xd0e9d8(0x381)])(_0x2c9296,{'className':_0xd0e9d8(0x1d2),'value':_0x59c676[_0xd0e9d8(0x1bb)],'options':[{'label':_0x349fc9['t'](_0xd0e9d8(0x38b)),'value':n[_0xd0e9d8(0x1b9)][_0xd0e9d8(0x204)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x219)),'value':n[_0xd0e9d8(0x1b9)][_0xd0e9d8(0x3c2)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x24a)),'value':n[_0xd0e9d8(0x1b9)]['Legal']},{'label':_0x349fc9['t'](_0xd0e9d8(0x428)),'value':n['PaperType']['Statement']},{'label':_0x349fc9['t']('sheets-print.size.executive'),'value':n['PaperType'][_0xd0e9d8(0x3de)]},{'label':_0x349fc9['t']('sheets-print.size.folio'),'value':n[_0xd0e9d8(0x1b9)]['Folio']},{'label':_0x349fc9['t'](_0xd0e9d8(0x305)),'value':n['PaperType']['A3']},{'label':_0x349fc9['t']('sheets-print.size.a4'),'value':n[_0xd0e9d8(0x1b9)]['A4']},{'label':_0x349fc9['t']('sheets-print.size.a5'),'value':n[_0xd0e9d8(0x1b9)]['A5']},{'label':_0x349fc9['t'](_0xd0e9d8(0x346)),'value':n[_0xd0e9d8(0x1b9)]['B4']},{'label':_0x349fc9['t'](_0xd0e9d8(0x30d)),'value':n[_0xd0e9d8(0x1b9)]['B5']}],'onChange':_0x3b9830=>{const _0x2a0357=_0xd0e9d8;_0x6437ba[_0x2a0357(0x310)]({'paperSize':_0x3b9830});}})}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'label':_0x349fc9['t'](_0xd0e9d8(0x280)),'children':(0x0,d[_0xd0e9d8(0x381)])(_0x2c9296,{'className':_0xd0e9d8(0x1d2),'value':_0x59c676[_0xd0e9d8(0x231)],'options':[{'label':_0x349fc9['t']('sheets-print.margin.normal'),'value':t[_0xd0e9d8(0x3ed)]['Normal']},{'label':_0x349fc9['t'](_0xd0e9d8(0x437)),'value':t[_0xd0e9d8(0x3ed)][_0xd0e9d8(0x3e8)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x3dd)),'value':t['PrintPaperMargin']['Wide']},{'label':_0x349fc9['t'](_0xd0e9d8(0x298)),'value':t['PrintPaperMargin'][_0xd0e9d8(0x22e)]}],'onChange':_0x35436e=>{const _0xe346ef=_0xd0e9d8;let _0x1e9b13=t['PaperMarginMap'][_0x59c676[_0xe346ef(0x231)]];_0x6437ba[_0xe346ef(0x310)]({'margin':_0x35436e,'marginCustom':_0x35436e===t[_0xe346ef(0x3ed)][_0xe346ef(0x22e)]?_0x1e9b13:t[_0xe346ef(0x356)][_0x35436e]});}})}),_0x59c676['margin']===t[_0xd0e9d8(0x3ed)][_0xd0e9d8(0x22e)]&&(0x0,d[_0xd0e9d8(0x381)])(c['FormLayout'],{'children':(0x0,d['jsxs'])(_0xd0e9d8(0x2f7),{'className':_0xd0e9d8(0x307),'children':[(0x0,d['jsxs'])(_0xd0e9d8(0x2f7),{'children':[(0x0,d[_0xd0e9d8(0x381)])(_0xd0e9d8(0x18a),{'className':_0xd0e9d8(0x36c),'children':_0x349fc9['t']('sheets-print.margin.top')}),(0x0,d['jsx'])(c[_0xd0e9d8(0x189)],{'type':_0xd0e9d8(0x1ac),'value':String(((_0x3aeb06=_0x59c676[_0xd0e9d8(0x151)])==null?void 0x0:_0x3aeb06['top'])||0x0),'onChange':_0x53f577=>_0x541419(_0xd0e9d8(0x2bb),Number(_0x53f577))})]}),(0x0,d[_0xd0e9d8(0x2b4)])('div',{'children':[(0x0,d[_0xd0e9d8(0x381)])('label',{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x349fc9['t'](_0xd0e9d8(0x2ce))}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x189)],{'type':_0xd0e9d8(0x1ac),'value':String(((_0x359675=_0x59c676[_0xd0e9d8(0x151)])==null?void 0x0:_0x359675[_0xd0e9d8(0x1f1)])||0x0),'onChange':_0x2128d3=>_0x541419(_0xd0e9d8(0x1f1),Number(_0x2128d3))})]}),(0x0,d['jsxs'])(_0xd0e9d8(0x2f7),{'children':[(0x0,d['jsx'])(_0xd0e9d8(0x18a),{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x349fc9['t'](_0xd0e9d8(0x38f))}),(0x0,d['jsx'])(c[_0xd0e9d8(0x189)],{'type':'number','value':String(((_0x14889f=_0x59c676[_0xd0e9d8(0x151)])==null?void 0x0:_0x14889f[_0xd0e9d8(0x14e)])||0x0),'onChange':_0x5eb5e1=>_0x541419(_0xd0e9d8(0x14e),Number(_0x5eb5e1))})]}),(0x0,d[_0xd0e9d8(0x2b4)])(_0xd0e9d8(0x2f7),{'children':[(0x0,d[_0xd0e9d8(0x381)])(_0xd0e9d8(0x18a),{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x349fc9['t']('sheets-print.margin.right')}),(0x0,d['jsx'])(c['Input'],{'type':'number','value':String(((_0x4f59c0=_0x59c676['marginCustom'])==null?void 0x0:_0x4f59c0['right'])||0x0),'onChange':_0x5cc55a=>_0x541419('right',Number(_0x5cc55a))})]})]})}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'label':_0x349fc9['t'](_0xd0e9d8(0x19c)),'children':(0x0,d[_0xd0e9d8(0x2b4)])(c['RadioGroup'],{'value':_0x59c676[_0xd0e9d8(0x1d8)],'onChange':_0x4f6149=>{_0x6437ba['updateLayoutConfig']({'direction':_0x4f6149});},'children':[(0x0,d[_0xd0e9d8(0x381)])(c['Radio'],{'value':t[_0xd0e9d8(0x1ab)][_0xd0e9d8(0x256)],'children':_0x349fc9['t'](_0xd0e9d8(0x385))}),(0x0,d['jsx'])(c['Radio'],{'value':t['PrintDirection'][_0xd0e9d8(0x3e6)],'children':_0x349fc9['t']('sheets-print.orientation.landscape')})]})}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'label':_0x349fc9['t'](_0xd0e9d8(0x19e)),'children':(0x0,d[_0xd0e9d8(0x381)])(_0x2c9296,{'className':_0xd0e9d8(0x1d2),'value':_0x59c676[_0xd0e9d8(0x2f4)],'options':[{'label':_0x349fc9['t'](_0xd0e9d8(0x194)),'value':t['PrintScale'][_0xd0e9d8(0x29f)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x31f)),'value':t[_0xd0e9d8(0x334)][_0xd0e9d8(0x420)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x397)),'value':t[_0xd0e9d8(0x334)]['FitHeight']},{'label':_0x349fc9['t'](_0xd0e9d8(0x3f3)),'value':t['PrintScale'][_0xd0e9d8(0x1b3)]}],'onChange':_0x50cc56=>{const _0x3b0cbf=_0xd0e9d8;_0x6437ba[_0x3b0cbf(0x310)]({'scale':_0x50cc56});}})}),(0x0,d['jsxs'])(c[_0xd0e9d8(0x1ef)],{'label':_0x349fc9['t'](_0xd0e9d8(0x45a)),'children':[(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x3c1)],{'checked':_0x55af95[_0xd0e9d8(0x17d)],'onChange':_0x1a7454=>{const _0x26f48a=_0xd0e9d8;_0x6437ba[_0x26f48a(0x172)]({'gridlines':_0x1a7454});},'children':_0x349fc9['t'](_0xd0e9d8(0x37e))}),_0x1c538b&&!_0x5ddaf2?(0x0,d[_0xd0e9d8(0x381)])(_0xd0e9d8(0x2f7),{'className':_0xd0e9d8(0x1ca),'children':(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x3c1)],{'checked':!!_0x55af95[_0xd0e9d8(0x223)],'onChange':async _0x2bca46=>{const _0x5c2e7f=_0xd0e9d8;_0x2bca46?_0x6437ba['updateRenderConfig']({'watermark':_0x1c538b}):_0x6437ba[_0x5c2e7f(0x172)]({'watermark':void 0x0});},'children':_0x349fc9['t'](_0xd0e9d8(0x3b2))})}):null]}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'label':_0x349fc9['t'](_0xd0e9d8(0x303)),'children':(0x0,d[_0xd0e9d8(0x2b4)])(_0xd0e9d8(0x2f7),{'className':'univer-flex\x20univer-gap-2','children':[(0x0,d[_0xd0e9d8(0x381)])(_0x2c9296,{'className':_0xd0e9d8(0x1eb),'value':_0x55af95[_0xd0e9d8(0x26e)],'options':[{'label':_0x349fc9['t'](_0xd0e9d8(0x3d4)),'value':t[_0xd0e9d8(0x390)][_0xd0e9d8(0x1a6)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x2da)),'value':t[_0xd0e9d8(0x390)][_0xd0e9d8(0x248)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x1db)),'value':t[_0xd0e9d8(0x390)][_0xd0e9d8(0x35c)]}],'onChange':_0x32bf38=>{const _0x39b7c2=_0xd0e9d8;_0x6437ba[_0x39b7c2(0x172)]({'hAlign':_0x32bf38});}}),(0x0,d[_0xd0e9d8(0x381)])(_0x2c9296,{'className':_0xd0e9d8(0x1eb),'value':_0x55af95[_0xd0e9d8(0x345)],'options':[{'label':_0x349fc9['t'](_0xd0e9d8(0x380)),'value':t[_0xd0e9d8(0x390)][_0xd0e9d8(0x248)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x369)),'value':t['PrintAlign'][_0xd0e9d8(0x35c)]},{'label':_0x349fc9['t'](_0xd0e9d8(0x3b0)),'value':t['PrintAlign']['Middle']}],'onChange':_0x386986=>{const _0x10da1f=_0xd0e9d8;_0x6437ba[_0x10da1f(0x172)]({'vAlign':_0x386986});}})]})}),(0x0,d['jsxs'])(c[_0xd0e9d8(0x1ef)],{'collapsable':!0x0,'label':_0x349fc9['t'](_0xd0e9d8(0x32e)),'children':[(0x0,d['jsxs'])(c[_0xd0e9d8(0x202)],{'direction':_0xd0e9d8(0x41a),'disabled':_0x55af95[_0xd0e9d8(0x352)],'value':_0x55af95['headerFooter'],'onChange':_0x2c8d4f=>{const _0x5cda6b=_0xd0e9d8;_0x6437ba[_0x5cda6b(0x172)]({'headerFooter':_0x2c8d4f});},'children':[(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x3c1)],{'value':_0xd0e9d8(0x2de),'children':_0x349fc9['t'](_0xd0e9d8(0x2af))}),(0x0,d['jsx'])(c[_0xd0e9d8(0x3c1)],{'value':'WorkbookTitle','children':_0x349fc9['t'](_0xd0e9d8(0x243))}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x3c1)],{'value':_0xd0e9d8(0x416),'children':_0x349fc9['t'](_0xd0e9d8(0x18d))}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x3c1)],{'value':_0xd0e9d8(0x3fb),'children':_0x349fc9['t'](_0xd0e9d8(0x203))}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x3c1)],{'value':_0xd0e9d8(0x1fb),'children':_0x349fc9['t']('sheets-print.headerFooter.time')})]}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'className':_0xd0e9d8(0x1ca),'label':(0x0,d['jsx'])(c[_0xd0e9d8(0x3c1)],{'checked':_0x55af95['isCustomHeaderFooter'],'onChange':()=>{const _0x3edbef=_0xd0e9d8;_0x6437ba['updateRenderConfig']({'isCustomHeaderFooter':!_0x55af95[_0x3edbef(0x352)]});},'children':_0x349fc9['t'](_0xd0e9d8(0x24b))}),'children':_0x55af95[_0xd0e9d8(0x352)]?(0x0,d['jsx'])(c[_0xd0e9d8(0x180)],{'className':_0xd0e9d8(0x343),'size':_0xd0e9d8(0x414),'variant':_0xd0e9d8(0x373),'onClick':()=>{_0x1ffe89();},'children':_0x349fc9['t'](_0xd0e9d8(0x365))}):null})]}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'collapsable':!0x0,'label':_0x349fc9['t'](_0xd0e9d8(0x15d)),'children':(0x0,d[_0xd0e9d8(0x2b4)])(c[_0xd0e9d8(0x202)],{'direction':_0xd0e9d8(0x41a),'value':_0x59c676['freeze'],'onChange':_0x4e6e68=>{const _0x445541=_0xd0e9d8;_0x6437ba[_0x445541(0x310)]({'freeze':_0x4e6e68});},'children':[(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x3c1)],{'disabled':_0x3ff8d8,'value':_0xd0e9d8(0x227),'children':_0x349fc9['t'](_0xd0e9d8(0x41b))}),(0x0,d[_0xd0e9d8(0x381)])(c['Checkbox'],{'disabled':_0x3566bf,'value':_0xd0e9d8(0x149),'children':_0x349fc9['t'](_0xd0e9d8(0x3b8))})]})}),(0x0,d[_0xd0e9d8(0x2b4)])(c['FormLayout'],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0x349fc9['t'](_0xd0e9d8(0x3a5)),'children':[(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'className':_0xd0e9d8(0x163),'label':_0x349fc9['t'](_0xd0e9d8(0x33f)),'children':(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x189)],{'value':_0x59c676[_0xd0e9d8(0x2be)]===0x1/0x0?'':''+_0x59c676['maxRowsEachPage'],'onChange':_0x2391fd=>{const _0x38867a=_0xd0e9d8;_0x6437ba[_0x38867a(0x310)]({'maxRowsEachPage':!_0x2391fd||Number['isNaN'](Number(_0x2391fd))?0x1/0x0:Number(_0x2391fd)});}})}),(0x0,d[_0xd0e9d8(0x381)])(c[_0xd0e9d8(0x1ef)],{'label':_0x349fc9['t'](_0xd0e9d8(0x1e8)),'children':(0x0,d[_0xd0e9d8(0x381)])(c['Input'],{'value':_0x59c676['maxColumnsEachPage']===0x1/0x0?'':''+_0x59c676['maxColumnsEachPage'],'onChange':_0x58c7ca=>{const _0x508105=_0xd0e9d8;_0x6437ba[_0x508105(0x310)]({'maxColumnsEachPage':!_0x58c7ca||Number[_0x508105(0x2c1)](Number(_0x58c7ca))?0x1/0x0:Number(_0x58c7ca)});}})})]})]})});});function ke(_0xc86c0e){const _0x44042d=_0xcf15a3;return(0x0,d[_0x44042d(0x381)])(Oe,{..._0xc86c0e,'DropdownComponent':c[_0x44042d(0x1f8)],'SelectComponent':c[_0x44042d(0x37c)]});}function Ae(){const _0x2477dc=_0xcf15a3;let [_0x41a781,_0x3d55bc]=(0x0,u[_0x2477dc(0x2f6)])(!0x1),[_0x47dde8,_0x4c23bd]=(0x0,u[_0x2477dc(0x2f6)])(!0x1),[_0x1ee410,_0x240789]=(0x0,u[_0x2477dc(0x2f6)])(!0x1),[_0x21a773,_0x6b047d]=(0x0,u[_0x2477dc(0x2f6)])(()=>window[_0x2477dc(0x249)]),_0x4b4ac6=(0x0,i['useDependency'])(k),_0x5b9e4c=(0x0,i['useDependency'])(n[_0x2477dc(0x2c7)]),_0xa71f98=(0x0,i[_0x2477dc(0x42c)])(_0x4b4ac6[_0x2477dc(0x188)],[]),_0x4747a7=(0x0,i[_0x2477dc(0x17a)])(b),_0x5d810b=(0x0,i['useObservable'])(_0x4747a7[_0x2477dc(0x152)],_0x4747a7[_0x2477dc(0x376)]),_0x2c38e2=(0x0,i[_0x2477dc(0x17a)])(n[_0x2477dc(0x2d6)]),_0x57bce7=(0x0,i[_0x2477dc(0x17a)])(n['LocaleService']),_0x363bf3=(0x0,i[_0x2477dc(0x17a)])(n[_0x2477dc(0x340)]),_0x3f47c4=(0x0,i[_0x2477dc(0x17a)])(n[_0x2477dc(0x331)]),_0x47e530=(0x0,i[_0x2477dc(0x17a)])(i['IMessageService']),_0x2410eb=(0x0,u[_0x2477dc(0x1a7)])(null),{ls:_0x2df427,pbk:_0x18a6ad}=_0x3f47c4[_0x2477dc(0x246)](e['LS_CONFIG_KEY'])??{},{limit:_0x3b160b,isPro:_0x182ce9}=(0x0,u[_0x2477dc(0x1dd)])(()=>{let {page:_0xb2a47e,isPro:_0x56ec65}=ee(0x3,_0x2df427,_0x18a6ad);return{'limit':_0xb2a47e,'isPro':_0x56ec65};},[_0x2df427,_0x18a6ad]),_0x1807c9=we(import(`@univerjs-pro/collaboration-client`).then(_0x17647a=>_0x17647a[_0x2477dc(0x393)],()=>void 0x0));(0x0,u['useEffect'])(()=>{const _0x245820=_0x2477dc;let _0x30cf24=()=>_0x6b047d(window[_0x245820(0x249)]);return window[_0x245820(0x217)](_0x245820(0x297),_0x30cf24),()=>window['removeEventListener'](_0x245820(0x297),_0x30cf24);},[]),(0x0,u['useEffect'])(()=>{const _0x429964=_0x2477dc;var _0x2924bb;if(!_0x1807c9)return;let _0xbface4=_0x2c38e2[_0x429964(0x39d)](n['UniverInstanceType'][_0x429964(0x28d)]);if(!_0xbface4)return;let _0x5bcd64=_0x363bf3[_0x429964(0x335)](_0x1807c9,n[_0x429964(0x1fe)][_0x429964(0x2e7)]),_0x3cbc1b=_0x5bcd64==null||(_0x2924bb=_0x5bcd64[_0x429964(0x190)](_0xbface4[_0x429964(0x312)]()))==null?void 0x0:_0x2924bb[_0x429964(0x208)]();return()=>_0x3cbc1b==null?void 0x0:_0x3cbc1b[_0x429964(0x196)]();},[_0x1807c9,_0x363bf3,_0x2c38e2]);let _0x2e22c6=(0x0,u[_0x2477dc(0x1dd)])(()=>oe(_0xa71f98)[_0x2477dc(0x2a6)](0x0,_0x3b160b),[_0x3b160b,_0xa71f98]),_0x32f63f=_0x4b4ac6[_0x2477dc(0x1bb)],_0x2afc87=Math['min'](0x31a,Math[_0x2477dc(0x282)](0x1,_0x21a773-0x20))/0x31a,_0x4b8ac7=Math[_0x2477dc(0x15b)](_0x2afc87*(0x31a/_0x32f63f['w'])*0xa)/0xa,[_0x20adb0,{wrapperStyle:_0x208a87,containerProps:_0xfd5755}]=(0x0,i['useVirtualList'])(_0x2e22c6,{'containerTarget':_0x2410eb,'itemHeight':_0x32f63f['h']*_0x4b8ac7+0x1c,'overscan':0x3}),_0x5e4401=async()=>{const _0x4a3242=_0x2477dc;await _0x5b9e4c[_0x4a3242(0x34e)](L['id']);},_0x2261f6=async()=>{const _0x1022db=_0x2477dc;_0x240789(!0x0),_0x47e530['show']({'content':_0x57bce7['t'](_0x1022db(0x363)),'type':c['MessageType'][_0x1022db(0x338)]}),await(0x0,n['awaitTime'])(0x12c),await _0x5b9e4c[_0x1022db(0x34e)](R['id']);};return(0x0,d[_0x2477dc(0x2b4)])('div',{'data-u-comp':_0x2477dc(0x2ea),'className':_0x2477dc(0x29e),'children':[(0x0,d[_0x2477dc(0x381)])(_0x2477dc(0x43e),{'className':_0x2477dc(0x26a),'children':(0x0,d['jsxs'])('span',{'className':'univer-text-sm\x20univer-font-medium','children':[_0x57bce7['t']('sheets-print.header.total'),_0x2e22c6[_0x2477dc(0x21f)],_0x57bce7['t'](_0x2477dc(0x285))]})}),(0x0,d['jsx'])('div',{'ref':_0x2410eb,'className':(0x0,c['clsx'])(_0x2477dc(0x32d),c['scrollbarClassName']),'aria-busy':_0x5d810b,..._0xfd5755,'children':_0x5d810b?(0x0,d[_0x2477dc(0x381)])(_0x2477dc(0x2f7),{'className':_0x2477dc(0x316),'role':_0x2477dc(0x14d),'aria-label':_0x57bce7['t'](_0x2477dc(0x363)),'children':(0x0,d[_0x2477dc(0x381)])(l[_0x2477dc(0x378)],{'className':_0x2477dc(0x3be),'aria-hidden':_0x2477dc(0x337)})}):(0x0,d[_0x2477dc(0x381)])(_0x2477dc(0x2f7),{'style':_0x208a87,'children':_0x20adb0[_0x2477dc(0x1d5)](_0x36db6c=>(0x0,d['jsx'])(Ee,{'config':_0x36db6c[_0x2477dc(0x458)],'page':_0x36db6c[_0x2477dc(0x458)][_0x2477dc(0x1f0)],'previewScale':_0x2afc87},_0x36db6c[_0x2477dc(0x458)][_0x2477dc(0x2fb)]+':'+_0x36db6c[_0x2477dc(0x458)][_0x2477dc(0x1e1)]+':'+_0x36db6c[_0x2477dc(0x458)][_0x2477dc(0x1f0)]+':'+_0x36db6c[_0x2477dc(0x458)]['range']['startRow']+':'+_0x36db6c[_0x2477dc(0x458)]['range'][_0x2477dc(0x405)]+':'+_0x36db6c['data']['range'][_0x2477dc(0x254)]+':'+_0x36db6c[_0x2477dc(0x458)][_0x2477dc(0x3e1)][_0x2477dc(0x2aa)]))})}),!_0x5d810b&&!_0x182ce9&&(0x0,d['jsx'])('a',{'className':_0x2477dc(0x192),'href':_0x57bce7['t']('sheets-print.limit.link'),'target':_0x2477dc(0x36a),'rel':'noreferrer\x20noopener','children':_0x57bce7['t']('sheets-print.limit.page')[_0x2477dc(0x430)](_0x2477dc(0x15e),''+_0x3b160b)}),(0x0,d['jsxs'])('footer',{'className':(0x0,c[_0x2477dc(0x20e)])('univer-flex\x20univer-shrink-0\x20univer-gap-3\x20univer-bg-gray-0\x20univer-p-4\x20dark:!univer-bg-gray-900',c[_0x2477dc(0x3db)]),'children':[(0x0,d[_0x2477dc(0x381)])(c['Button'],{'className':_0x2477dc(0x2e8),'onClick':_0x5e4401,'children':_0x57bce7['t']('sheets-print.header.cancel')}),(0x0,d['jsx'])(c['Button'],{'className':_0x2477dc(0x2e8),'onClick':()=>_0x3d55bc(!0x0),'children':_0x57bce7['t'](_0x2477dc(0x201))}),(0x0,d['jsx'])(c[_0x2477dc(0x180)],{'className':_0x2477dc(0x2e8),'variant':'primary','disabled':_0x5d810b||_0x1ee410,'onClick':_0x2261f6,'children':_0x57bce7['t']('sheets-print.header.next')})]}),(0x0,d[_0x2477dc(0x381)])(c[_0x2477dc(0x445)],{'open':_0x41a781,'title':_0x57bce7['t'](_0x2477dc(0x201)),'onClose':()=>_0x3d55bc(!0x1),'children':(0x0,d[_0x2477dc(0x381)])(ke,{'onShowFooterHeaderEditor':()=>{_0x3d55bc(!0x1),_0x4c23bd(!0x0);}})}),_0x47dde8&&(0x0,d[_0x2477dc(0x381)])(De,{'open':!0x0,'onClose':()=>{_0x4c23bd(!0x1),_0x3d55bc(!0x0);}})]});}function je(){const _0x44a09f=_0xcf15a3;let _0x1dfefe=(0x0,i[_0x44a09f(0x17a)])(b);return(0x0,i[_0x44a09f(0x42c)])(_0x1dfefe[_0x44a09f(0x3f8)],_0x1dfefe[_0x44a09f(0x407)])?(0x0,d['jsx'])(Ae,{}):null;}let J=class extends n['Disposable']{constructor(_0x5e7010,_0x96e7f9,_0x58369f,_0x18981e,_0x565bd2,_0x4e2476,_0x3c5373,_0x2bcdda){const _0x54f585=_0xcf15a3;super(),this['_printDialogService']=_0x5e7010,this[_0x54f585(0x273)]=_0x96e7f9,this[_0x54f585(0x241)]=_0x58369f,this['_sheetPrintClientService']=_0x18981e,this['_menuManagerService']=_0x565bd2,this[_0x54f585(0x155)]=_0x4e2476,this[_0x54f585(0x20f)]=_0x3c5373,this[_0x54f585(0x1ed)]=_0x2bcdda,this[_0x54f585(0x24e)](),this[_0x54f585(0x165)](),this[_0x54f585(0x3b6)](),this[_0x54f585(0x22a)](),this['_initCommandListener']();}[_0xcf15a3(0x24e)](){const _0x134278=_0xcf15a3;[I,L,R,z][_0x134278(0x22f)](_0x4a6057=>this[_0x134278(0x193)](this[_0x134278(0x273)][_0x134278(0x39c)](_0x4a6057)));}[_0xcf15a3(0x165)](){const _0x17bc0b=_0xcf15a3;this['disposeWithMe'](this[_0x17bc0b(0x20f)][_0x17bc0b(0x35e)](i[_0x17bc0b(0x2c2)][_0x17bc0b(0x315)],()=>(0x0,i[_0x17bc0b(0x451)])(je,this[_0x17bc0b(0x155)])));}['_initMenus'](){const _0x396a7e=_0xcf15a3;this[_0x396a7e(0x168)][_0x396a7e(0x418)](Ce);}['_initConfigChangeListener'](){const _0x17fc2b=_0xcf15a3;this[_0x17fc2b(0x193)](this[_0x17fc2b(0x351)][_0x17fc2b(0x3f8)][_0x17fc2b(0x199)](_0x1f6fb6=>{const _0x357b91=_0x17fc2b;_0x1f6fb6&&this[_0x357b91(0x241)]['reLayout']();}));}[_0xcf15a3(0x325)](){const _0x196c51=_0xcf15a3;this[_0x196c51(0x193)](this[_0x196c51(0x273)][_0x196c51(0x26b)](_0x18f389=>{const _0x3277b4=_0x196c51;_0x18f389['id']===R['id']&&this[_0x3277b4(0x33b)][_0x3277b4(0x34c)](this[_0x3277b4(0x241)][_0x3277b4(0x36e)],this['_sheetPrintManagerService'][_0x3277b4(0x175)])[_0x3277b4(0x429)](_0x3ad055=>this[_0x3277b4(0x1ed)]['error']('[MobileSheetPrintController]',_0x3277b4(0x173),_0x3ad055));}));}};J=O([D(0x0,b),D(0x1,n['ICommandService']),D(0x2,k),D(0x3,(0x0,n[_0xcf15a3(0x438)])(U)),D(0x4,i['IMenuManagerService']),D(0x5,(0x0,n['Inject'])(n[_0xcf15a3(0x340)])),D(0x6,i[_0xcf15a3(0x3cc)]),D(0x7,n[_0xcf15a3(0x1c5)])],J);let Y=class extends n[_0xcf15a3(0x350)]{constructor(_0x4ef149=K,_0x80ba9,_0x4cc5f9){const _0x5e2f59=_0xcf15a3;super(),this[_0x5e2f59(0x3d7)]=_0x4ef149,this[_0x5e2f59(0x155)]=_0x80ba9,this[_0x5e2f59(0x35d)]=_0x4cc5f9;let {menu:_0xaf2844,..._0x3e2a81}=(0x0,n[_0x5e2f59(0x39a)])({},K,this[_0x5e2f59(0x3d7)]);_0xaf2844&&this[_0x5e2f59(0x35d)][_0x5e2f59(0x281)](_0x5e2f59(0x258),_0xaf2844,{'merge':!0x0}),this[_0x5e2f59(0x35d)]['setConfig'](Se,_0x3e2a81);}['onReady'](){const _0x1ad32b=_0xcf15a3;this['_injector'][_0x1ad32b(0x40a)](t[_0x1ad32b(0x42e)])||this[_0x1ad32b(0x155)][_0x1ad32b(0x3d1)]([t[_0x1ad32b(0x42e)],{'useClass':t[_0x1ad32b(0x31c)]}]),(0x0,n[_0x1ad32b(0x3bb)])(this['_injector'],[[k,{'useClass':N}],[b,{'useClass':x}],[U],[q],[J]]),(0x0,n[_0x1ad32b(0x257)])(this[_0x1ad32b(0x155)],[[q],[J]]);}};y(Y,'pluginName',xe),y(Y,_0xcf15a3(0x18b),ye),y(Y,_0xcf15a3(0x276),be),y(Y,_0xcf15a3(0x3a9),n[_0xcf15a3(0x39b)][_0xcf15a3(0x28d)]),Y=O([(0x0,n['DependentOn'])(e['UniverLicensePlugin'],o[_0xcf15a3(0x2b3)],r['UniverSheetsPlugin'],s['UniverSheetsMobileUIPlugin'],i[_0xcf15a3(0x154)]),D(0x1,(0x0,n[_0xcf15a3(0x438)])(n['Injector'])),D(0x2,n[_0xcf15a3(0x331)])],Y);const Me=(0x0,u[_0xcf15a3(0x277)])(function(){const _0x2ebee1=_0xcf15a3;var _0x1cba0a,_0x1d5b4e,_0x9067a9,_0x3384ab;let _0x3fd6bb=(0x0,i[_0x2ebee1(0x17a)])(k),_0x33adce=(0x0,i['useDependency'])(n[_0x2ebee1(0x2c7)]),_0x2aab4a=(0x0,i['useObservable'])(_0x3fd6bb['layoutConfig$'],_0x3fd6bb[_0x2ebee1(0x16e)]),_0xb80d2=(0x0,i[_0x2ebee1(0x17a)])(n['LocaleService']),_0x50f5a6=(0x0,i[_0x2ebee1(0x17a)])(n[_0x2ebee1(0x2d6)])[_0x2ebee1(0x39d)](n['UniverInstanceType']['UNIVER_SHEET']);if(!_0x50f5a6)return console[_0x2ebee1(0x16a)](_0x2ebee1(0x38a)),null;let _0xb793e4=_0x50f5a6['getActiveSheet']();if(!_0xb793e4)return console[_0x2ebee1(0x16a)](_0x2ebee1(0x15a)),null;let _0x316e63=(_0x407d16,_0x2601c4)=>{const _0x34846b=_0x2ebee1;let _0x44c02a=Math[_0x34846b(0x282)](0x0,_0x2601c4||0x0),_0x255f8d=_0x2aab4a[_0x34846b(0x151)]||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x3fd6bb[_0x34846b(0x310)]({'marginCustom':{..._0x255f8d,[_0x407d16]:_0x44c02a}});},_0x2f0c91=_0xb793e4[_0x2ebee1(0x45c)](),_0x1a17ae=_0x2f0c91[_0x2ebee1(0x237)]<=0x0,_0x2714cd=_0x2f0c91[_0x2ebee1(0x181)]<=0x0,_0x3a62a5=()=>{const _0x3a5af4=_0x2ebee1;_0x33adce[_0x3a5af4(0x34e)](fe['id']);};return(0x0,d[_0x2ebee1(0x2b4)])('div',{'className':(0x0,c['clsx'])(_0x2ebee1(0x2f9),c[_0x2ebee1(0x235)]),'children':[(0x0,d[_0x2ebee1(0x2b4)])(_0x2ebee1(0x2f7),{'className':'univer-flex-1\x20univer-overflow-y-auto','children':[(0x0,d['jsx'])(c[_0x2ebee1(0x1ef)],{'label':_0xb80d2['t']('sheets-print.area.title'),'children':(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x327)],{'className':_0x2ebee1(0x1d2),'value':''+_0x2aab4a['area'],'onChange':_0x5aea53=>{_0x3fd6bb['updateLayoutConfig']({'area':_0x5aea53});},'options':[{'label':_0xb80d2['t']('sheets-print.area.currentSheet'),'value':'CurrentSheet'},{'label':_0xb80d2['t'](_0x2ebee1(0x2a8)),'value':_0x2ebee1(0x374)}]})}),(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x1ef)],{'label':_0xb80d2['t']('sheets-print.size.title'),'children':(0x0,d[_0x2ebee1(0x381)])(c['Select'],{'className':_0x2ebee1(0x1d2),'value':_0x2aab4a[_0x2ebee1(0x1bb)],'options':[{'label':_0xb80d2['t'](_0x2ebee1(0x38b)),'value':n[_0x2ebee1(0x1b9)][_0x2ebee1(0x204)]},{'label':_0xb80d2['t']('sheets-print.size.tabloid'),'value':n[_0x2ebee1(0x1b9)][_0x2ebee1(0x3c2)]},{'label':_0xb80d2['t']('sheets-print.size.legal'),'value':n[_0x2ebee1(0x1b9)][_0x2ebee1(0x441)]},{'label':_0xb80d2['t'](_0x2ebee1(0x428)),'value':n[_0x2ebee1(0x1b9)]['Statement']},{'label':_0xb80d2['t'](_0x2ebee1(0x239)),'value':n['PaperType'][_0x2ebee1(0x3de)]},{'label':_0xb80d2['t'](_0x2ebee1(0x174)),'value':n['PaperType'][_0x2ebee1(0x291)]},{'label':_0xb80d2['t'](_0x2ebee1(0x305)),'value':n[_0x2ebee1(0x1b9)]['A3']},{'label':_0xb80d2['t'](_0x2ebee1(0x162)),'value':n[_0x2ebee1(0x1b9)]['A4']},{'label':_0xb80d2['t'](_0x2ebee1(0x1e7)),'value':n[_0x2ebee1(0x1b9)]['A5']},{'label':_0xb80d2['t'](_0x2ebee1(0x346)),'value':n['PaperType']['B4']},{'label':_0xb80d2['t'](_0x2ebee1(0x30d)),'value':n[_0x2ebee1(0x1b9)]['B5']}],'onChange':_0x260064=>{const _0x9badf1=_0x2ebee1;_0x3fd6bb[_0x9badf1(0x310)]({'paperSize':_0x260064});}})}),(0x0,d['jsx'])(c['FormLayout'],{'label':_0xb80d2['t'](_0x2ebee1(0x280)),'children':(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x327)],{'className':'univer-w-full','value':_0x2aab4a[_0x2ebee1(0x231)],'options':[{'label':_0xb80d2['t'](_0x2ebee1(0x27e)),'value':t[_0x2ebee1(0x3ed)][_0x2ebee1(0x41c)]},{'label':_0xb80d2['t'](_0x2ebee1(0x437)),'value':t[_0x2ebee1(0x3ed)]['Narrow']},{'label':_0xb80d2['t'](_0x2ebee1(0x3dd)),'value':t[_0x2ebee1(0x3ed)]['Wide']},{'label':_0xb80d2['t'](_0x2ebee1(0x298)),'value':t['PrintPaperMargin'][_0x2ebee1(0x22e)]}],'onChange':_0x286638=>{const _0x4ad03d=_0x2ebee1;let _0x300829=t[_0x4ad03d(0x356)][_0x2aab4a[_0x4ad03d(0x231)]];_0x3fd6bb[_0x4ad03d(0x310)]({'margin':_0x286638,'marginCustom':_0x286638===t['PrintPaperMargin'][_0x4ad03d(0x22e)]?_0x300829:t[_0x4ad03d(0x356)][_0x286638]});}})}),_0x2aab4a[_0x2ebee1(0x231)]===t[_0x2ebee1(0x3ed)][_0x2ebee1(0x22e)]&&(0x0,d['jsx'])(c[_0x2ebee1(0x1ef)],{'children':(0x0,d[_0x2ebee1(0x2b4)])(_0x2ebee1(0x2f7),{'className':_0x2ebee1(0x307),'children':[(0x0,d['jsxs'])(_0x2ebee1(0x2f7),{'children':[(0x0,d[_0x2ebee1(0x381)])('label',{'className':_0x2ebee1(0x36c),'children':_0xb80d2['t'](_0x2ebee1(0x382))}),(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x189)],{'type':'number','value':String(((_0x1cba0a=_0x2aab4a[_0x2ebee1(0x151)])==null?void 0x0:_0x1cba0a[_0x2ebee1(0x2bb)])||0x0),'onChange':_0x9baedb=>_0x316e63(_0x2ebee1(0x2bb),Number(_0x9baedb))})]}),(0x0,d[_0x2ebee1(0x2b4)])(_0x2ebee1(0x2f7),{'children':[(0x0,d[_0x2ebee1(0x381)])(_0x2ebee1(0x18a),{'className':_0x2ebee1(0x36c),'children':_0xb80d2['t'](_0x2ebee1(0x2ce))}),(0x0,d[_0x2ebee1(0x381)])(c['Input'],{'type':_0x2ebee1(0x1ac),'value':String(((_0x1d5b4e=_0x2aab4a[_0x2ebee1(0x151)])==null?void 0x0:_0x1d5b4e[_0x2ebee1(0x1f1)])||0x0),'onChange':_0x5b38cf=>_0x316e63(_0x2ebee1(0x1f1),Number(_0x5b38cf))})]}),(0x0,d[_0x2ebee1(0x2b4)])('div',{'children':[(0x0,d['jsx'])('label',{'className':_0x2ebee1(0x36c),'children':_0xb80d2['t'](_0x2ebee1(0x38f))}),(0x0,d['jsx'])(c[_0x2ebee1(0x189)],{'type':'number','value':String(((_0x9067a9=_0x2aab4a['marginCustom'])==null?void 0x0:_0x9067a9[_0x2ebee1(0x14e)])||0x0),'onChange':_0x58a5f5=>_0x316e63(_0x2ebee1(0x14e),Number(_0x58a5f5))})]}),(0x0,d['jsxs'])(_0x2ebee1(0x2f7),{'children':[(0x0,d[_0x2ebee1(0x381)])(_0x2ebee1(0x18a),{'className':_0x2ebee1(0x36c),'children':_0xb80d2['t'](_0x2ebee1(0x14c))}),(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x189)],{'type':'number','value':String(((_0x3384ab=_0x2aab4a['marginCustom'])==null?void 0x0:_0x3384ab[_0x2ebee1(0x3fa)])||0x0),'onChange':_0x429296=>_0x316e63(_0x2ebee1(0x3fa),Number(_0x429296))})]})]})}),(0x0,d[_0x2ebee1(0x381)])(c['FormLayout'],{'label':_0xb80d2['t'](_0x2ebee1(0x19c)),'children':(0x0,d[_0x2ebee1(0x2b4)])(c['RadioGroup'],{'value':_0x2aab4a['direction'],'onChange':_0x3e62a4=>{const _0x54a09a=_0x2ebee1;_0x3fd6bb[_0x54a09a(0x310)]({'direction':_0x3e62a4});},'children':[(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x3f9)],{'value':t['PrintDirection'][_0x2ebee1(0x256)],'children':_0xb80d2['t']('sheets-print.orientation.portrait')}),(0x0,d[_0x2ebee1(0x381)])(c['Radio'],{'value':t[_0x2ebee1(0x1ab)][_0x2ebee1(0x3e6)],'children':_0xb80d2['t'](_0x2ebee1(0x2d2))})]})}),(0x0,d[_0x2ebee1(0x381)])(c['FormLayout'],{'collapsable':!0x0,'label':_0xb80d2['t'](_0x2ebee1(0x15d)),'children':(0x0,d[_0x2ebee1(0x2b4)])(c['CheckboxGroup'],{'direction':'vertical','value':_0x2aab4a[_0x2ebee1(0x38d)],'onChange':_0x498dcb=>{const _0x316eec=_0x2ebee1;_0x3fd6bb[_0x316eec(0x310)]({'freeze':_0x498dcb});},'children':[(0x0,d['jsx'])(c['Checkbox'],{'disabled':_0x2714cd,'value':_0x2ebee1(0x227),'children':_0xb80d2['t'](_0x2ebee1(0x41b))}),(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x3c1)],{'disabled':_0x1a17ae,'value':_0x2ebee1(0x149),'children':_0xb80d2['t'](_0x2ebee1(0x3b8))})]})}),(0x0,d['jsxs'])(c[_0x2ebee1(0x1ef)],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0xb80d2['t'](_0x2ebee1(0x3a5)),'children':[(0x0,d['jsx'])(c[_0x2ebee1(0x1ef)],{'className':_0x2ebee1(0x163),'label':_0xb80d2['t'](_0x2ebee1(0x33f)),'children':(0x0,d[_0x2ebee1(0x381)])(c[_0x2ebee1(0x189)],{'value':_0x2aab4a[_0x2ebee1(0x2be)]===0x1/0x0?'':''+_0x2aab4a[_0x2ebee1(0x2be)],'onChange':_0x2fe135=>{const _0x22fac3=_0x2ebee1;_0x3fd6bb[_0x22fac3(0x310)]({'maxRowsEachPage':!_0x2fe135||Number[_0x22fac3(0x2c1)](Number(_0x2fe135))?0x1/0x0:Number(_0x2fe135)});}})}),(0x0,d['jsx'])(c[_0x2ebee1(0x1ef)],{'label':_0xb80d2['t'](_0x2ebee1(0x1e8)),'children':(0x0,d['jsx'])(c[_0x2ebee1(0x189)],{'value':_0x2aab4a[_0x2ebee1(0x274)]===0x1/0x0?'':''+_0x2aab4a[_0x2ebee1(0x274)],'onChange':_0x3f9ec2=>{const _0x153c4a=_0x2ebee1;_0x3fd6bb[_0x153c4a(0x310)]({'maxColumnsEachPage':!_0x3f9ec2||Number[_0x153c4a(0x2c1)](Number(_0x3f9ec2))?0x1/0x0:Number(_0x3f9ec2)});}})})]})]}),(0x0,d[_0x2ebee1(0x2b4)])('div',{'className':_0x2ebee1(0x3f6),'children':[(0x0,d[_0x2ebee1(0x381)])(c['Button'],{'type':_0x2ebee1(0x384),'variant':_0x2ebee1(0x23b),'className':_0x2ebee1(0x1d2),'onClick':()=>{_0x33adce['executeCommand'](I['id']),_0x3a62a5();},'children':_0xb80d2['t'](_0x2ebee1(0x2b1))}),(0x0,d['jsx'])(c[_0x2ebee1(0x180)],{'type':_0x2ebee1(0x306),'className':'univer-w-full','onClick':_0x3a62a5,'children':_0xb80d2['t']('sheets-print.grid.closeAndHide')})]})]});});let X=class extends n[_0xcf15a3(0x455)]{constructor(_0x9232e0,_0x435c03){const _0x189328=_0xcf15a3;super(),this[_0x189328(0x403)]=_0x9232e0,this['_iconManager']=_0x435c03,this[_0x189328(0x3c3)](),this[_0x189328(0x226)]();}['_registerIcons'](){const _0x259359=_0xcf15a3;this[_0x259359(0x193)](this[_0x259359(0x19d)][_0x259359(0x452)]({'DocSettingIcon':l[_0x259359(0x2bd)],'PrintIcon':l['PrintIcon']}));}[_0xcf15a3(0x226)](){this['_componentManager']['register'](de,Me);}};X=O([D(0x0,(0x0,n[_0xcf15a3(0x438)])(i[_0xcf15a3(0x359)])),D(0x1,(0x0,n[_0xcf15a3(0x438)])(i[_0xcf15a3(0x1ee)]))],X);const Ne=[0x6,0x4];var Pe=class extends o[_0xcf15a3(0x353)]{constructor(_0xd4914e,_0x561771){const _0x4f2939=_0xcf15a3;super(),this['_printGridService']=_0xd4914e,this[_0x4f2939(0x3ce)]=_0x561771,y(this,_0x4f2939(0x23c),_0x4f2939(0x28b)),y(this,_0x4f2939(0x31a),0x3d);}[_0xcf15a3(0x3af)](_0x5ec26d,_0x152602,_0xdad7b7,_0x319146){const _0x1575e2=_0xcf15a3;if(_0x5ec26d[_0x1575e2(0x17b)]===_0x1575e2(0x234)||!this['_printGridService']['visible'])return;let {worksheet:_0x59cf69}=_0xdad7b7;if(!_0x59cf69)return;let _0x114b0b=this[_0x1575e2(0x3ce)][_0x1575e2(0x36e)],_0x10d539=_0x59cf69[_0x1575e2(0x312)](),_0xb12ee6=_0x59cf69[_0x1575e2(0x224)](),_0x173a93=_0x114b0b['find'](_0x2844f2=>_0x2844f2['unitId']===_0x10d539&&_0x2844f2['subUnitId']===_0xb12ee6);_0x173a93&&this[_0x1575e2(0x15c)](_0x5ec26d,_0xdad7b7,_0x173a93);}['_drawPrintGrid'](_0x5f02b3,_0x1eabc2,_0x42766d){const _0x335228=_0xcf15a3;let {pages:_0x420dfa}=_0x42766d,{rowHeightAccumulation:_0xa2fc90,columnWidthAccumulation:_0x24123d}=_0x1eabc2;_0x5f02b3['save'](),_0x5f02b3[_0x335228(0x443)]=_0x335228(0x21d),_0x5f02b3[_0x335228(0x3c0)]=0x2,_0x5f02b3[_0x335228(0x1bf)](Ne);let _0x530c7e=new Set(),_0x261ed2=new Set();_0x420dfa[_0x335228(0x22f)](_0x594023=>{const _0x2603b0=_0x335228;let {startRow:_0x4945d3,endRow:_0x1f639a,startColumn:_0x1eaf85,endColumn:_0x3deff5}=_0x594023,_0x2b3dc5=_0x4945d3===0x0?0x0:_0xa2fc90[_0x4945d3-0x1],_0x5121ae=_0xa2fc90[_0x1f639a],_0x504006=_0x1eaf85===0x0?0x0:_0x24123d[_0x1eaf85-0x1],_0x8d9312=_0x24123d[_0x3deff5];_0x530c7e[_0x2603b0(0x3d1)](_0x2b3dc5),_0x530c7e[_0x2603b0(0x3d1)](_0x5121ae),_0x261ed2['add'](_0x504006),_0x261ed2['add'](_0x8d9312);});let _0x211ad9=Math[_0x335228(0x3e7)](...Array[_0x335228(0x423)](_0x261ed2)),_0x292dd5=Math[_0x335228(0x282)](...Array[_0x335228(0x423)](_0x261ed2)),_0x190dd7=Math[_0x335228(0x3e7)](...Array[_0x335228(0x423)](_0x530c7e)),_0x2e0e4a=Math[_0x335228(0x282)](...Array[_0x335228(0x423)](_0x530c7e));_0x530c7e['forEach'](_0x4835bc=>{const _0x16f41d=_0x335228;_0x5f02b3[_0x16f41d(0x32b)](),_0x5f02b3[_0x16f41d(0x2f8)](_0x211ad9,_0x4835bc),_0x5f02b3[_0x16f41d(0x38e)](_0x292dd5,_0x4835bc),_0x5f02b3['stroke']();}),_0x261ed2[_0x335228(0x22f)](_0x1c8746=>{const _0x156e8b=_0x335228;_0x5f02b3['beginPath'](),_0x5f02b3[_0x156e8b(0x2f8)](_0x1c8746,_0x190dd7),_0x5f02b3[_0x156e8b(0x38e)](_0x1c8746,_0x2e0e4a),_0x5f02b3['stroke']();}),_0x5f02b3['restore']();}};let Fe=class extends n[_0xcf15a3(0x455)]{constructor(_0x4a688c,_0x302c67,_0xf86f04){const _0x477252=_0xcf15a3;super(),this[_0x477252(0x3ab)]=_0x4a688c;let _0x506392=this['_context'][_0x477252(0x2d5)];this[_0x477252(0x193)](_0x506392[_0x477252(0x452)](new Pe(_0x302c67,_0xf86f04)));}};Fe=O([D(0x1,W),D(0x2,k)],Fe);const Z=({icon:_0x4a420a,items:_0x2fc0f1,active:_0x29411f,onChange:_0xb1e857,onHover:_0x413d53,popupDirection:_0x322e72='top'})=>(0x0,d['jsxs'])(_0xcf15a3(0x2f7),{'className':_0xcf15a3(0x1f3),'onMouseEnter':()=>_0x413d53==null?void 0x0:_0x413d53(!0x0),'onMouseLeave':()=>_0x413d53==null?void 0x0:_0x413d53(!0x1),'children':[(0x0,d['jsx'])(_0xcf15a3(0x2f7),{'className':_0xcf15a3(0x23d),'children':_0x4a420a}),(0x0,d[_0xcf15a3(0x381)])(l[_0xcf15a3(0x42d)],{'className':_0xcf15a3(0x1d6)}),_0x29411f&&(0x0,d['jsx'])(_0xcf15a3(0x2f7),{'style':{[_0x322e72]:_0xcf15a3(0x1da)},'className':_0xcf15a3(0x400),'children':(0x0,d['jsx'])(_0xcf15a3(0x2f7),{'className':_0xcf15a3(0x1cf),'children':_0x2fc0f1[_0xcf15a3(0x1d5)](_0x3a2c16=>(0x0,d[_0xcf15a3(0x2b4)])('div',{'className':_0xcf15a3(0x394),'onClick':()=>{_0xb1e857==null||_0xb1e857(_0x3a2c16['value']),_0x413d53==null||_0x413d53(!0x1);},'children':[(0x0,d[_0xcf15a3(0x381)])(_0xcf15a3(0x2f7),{'className':_0xcf15a3(0x19a),'children':_0x3a2c16[_0xcf15a3(0x18a)]}),(0x0,d[_0xcf15a3(0x381)])(_0xcf15a3(0x2f7),{'className':_0xcf15a3(0x3e5),'children':_0x3a2c16[_0xcf15a3(0x1ff)]})]},_0x3a2c16[_0xcf15a3(0x39e)]))})})]}),Ie=_0x27870c=>{const _0x899c02=_0xcf15a3;let {onSelect:_0x3ff9ce,popupDirection:_0x4fcc33}=_0x27870c,[_0x44a061,_0x57e270]=(0x0,u[_0x899c02(0x2f6)])(),_0x359908=(0x0,i[_0x899c02(0x17a)])(n[_0x899c02(0x383)]),_0x43805c=(0x0,i[_0x899c02(0x17a)])(n[_0x899c02(0x2d6)])[_0x899c02(0x39d)](n[_0x899c02(0x39b)][_0x899c02(0x28d)]),_0x473ed8=_0x43805c[_0x899c02(0x434)](),_0xf7ceaa=(0x0,u[_0x899c02(0x1dd)])(()=>(0x0,n[_0x899c02(0x1f5)])(),[]),_0x1c7965=(0x0,u[_0x899c02(0x1dd)])(()=>[{'value':_0x899c02(0x27f),'label':_0x359908['t']('sheets-print.headerFooter.display.page'),'desc':B('@Page',{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':'@SheetPage','label':_0x359908['t']('sheets-print.headerFooter.display.sheetPage'),'desc':B(_0x899c02(0x348),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':_0x899c02(0x296),'label':_0x359908['t'](_0x899c02(0x1b7)),'desc':B('@TotalPage',{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':_0x899c02(0x16b),'label':_0x359908['t'](_0x899c02(0x349)),'desc':B('@TotalSheetPage',{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})}],[_0x359908]),_0x165e26=(0x0,u[_0x899c02(0x1dd)])(()=>[{'value':'@WorkbookTitle','label':_0x359908['t'](_0x899c02(0x289)),'desc':B('@WorkbookTitle',{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':'@WorksheetTitle','label':_0x359908['t'](_0x899c02(0x2a0)),'desc':B('@WorksheetTitle',{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})}],[_0x359908]),_0x37bcee=(0x0,u[_0x899c02(0x1dd)])(()=>[{'value':'@DateA','label':_0x359908['t'](_0x899c02(0x178)),'desc':B(_0x899c02(0x3b7),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':_0x899c02(0x410),'label':_0x359908['t']('sheets-print.headerFooter.display.dateB'),'desc':B(_0x899c02(0x410),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':'@DateC','label':_0x359908['t'](_0x899c02(0x36d)),'desc':B(_0x899c02(0x406),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':_0x899c02(0x20c),'label':_0x359908['t']('sheets-print.headerFooter.display.dateD'),'desc':B(_0x899c02(0x20c),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})}],[_0x359908]),_0x1246d7=(0x0,u[_0x899c02(0x1dd)])(()=>[{'value':_0x899c02(0x34b),'label':_0x359908['t'](_0x899c02(0x339)),'desc':B(_0x899c02(0x34b),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':_0x899c02(0x24d),'label':_0x359908['t'](_0x899c02(0x195)),'desc':B(_0x899c02(0x24d),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':_0x899c02(0x3e0),'label':_0x359908['t'](_0x899c02(0x233)),'desc':B(_0x899c02(0x3e0),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})},{'value':_0x899c02(0x35a),'label':_0x359908['t'](_0x899c02(0x177)),'desc':B(_0x899c02(0x35a),{'workbook':_0x43805c,'worksheet':_0x473ed8,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x359908,'now':_0xf7ceaa})}],[_0x359908]);return(0x0,d[_0x899c02(0x2b4)])(_0x899c02(0x2f7),{'className':(0x0,c[_0x899c02(0x20e)])(_0x899c02(0x1ae),c[_0x899c02(0x22d)]),'children':[(0x0,d['jsx'])(Z,{'icon':(0x0,d[_0x899c02(0x381)])(l[_0x899c02(0x368)],{}),'items':_0x1c7965,'onHover':_0x1c48e7=>_0x57e270(_0x1c48e7?_0x899c02(0x391):''),'active':_0x44a061===_0x899c02(0x391),'onChange':_0x3ff9ce,'popupDirection':_0x4fcc33}),(0x0,d['jsx'])(Z,{'icon':(0x0,d[_0x899c02(0x381)])(l[_0x899c02(0x44e)],{}),'items':_0x165e26,'onHover':_0x55883e=>_0x57e270(_0x55883e?_0x899c02(0x36f):''),'active':_0x44a061===_0x899c02(0x36f),'onChange':_0x3ff9ce,'popupDirection':_0x4fcc33}),(0x0,d['jsx'])(Z,{'icon':(0x0,d['jsx'])(l['CalendarIcon'],{}),'items':_0x37bcee,'onHover':_0x282885=>_0x57e270(_0x282885?_0x899c02(0x2cb):''),'active':_0x44a061===_0x899c02(0x2cb),'onChange':_0x3ff9ce,'popupDirection':_0x4fcc33}),(0x0,d[_0x899c02(0x381)])(Z,{'icon':(0x0,d[_0x899c02(0x381)])(l['ClockIcon'],{}),'items':_0x1246d7,'onHover':_0x4d3daf=>_0x57e270(_0x4d3daf?'time':''),'active':_0x44a061===_0x899c02(0x271),'onChange':_0x3ff9ce,'popupDirection':_0x4fcc33})]});};function Le({width:_0x450ad2=0x2b9,height:_0x4c1b45=0x229,cols:_0x1bf041=0x8,rows:_0x23ed3f=0x18,cellWidth:_0x392f3d=0x57,cellHeight:_0x20a3b7=0x17,strokeColor:_0x5738f6=_0xcf15a3(0x264)}){const _0x28dc7e=_0xcf15a3;let _0x48561d=(0x0,u[_0x28dc7e(0x1dd)])(()=>{const _0x228c8f=_0x28dc7e;let _0x2b5c9b=[];for(let _0x4da217=0x0;_0x4da217<_0x23ed3f;_0x4da217++)for(let _0x3d2cf1=0x0;_0x3d2cf1<_0x1bf041;_0x3d2cf1++)_0x2b5c9b[_0x228c8f(0x425)]((0x0,d[_0x228c8f(0x381)])('rect',{'x':_0x3d2cf1*_0x392f3d+0.5,'y':_0x4da217*_0x20a3b7+0.5,'width':_0x392f3d,'height':_0x20a3b7,'stroke':_0x5738f6},_0x4da217+'-'+_0x3d2cf1));return _0x2b5c9b;},[_0x23ed3f,_0x1bf041,_0x392f3d,_0x20a3b7,_0x5738f6]);return(0x0,d[_0x28dc7e(0x381)])('svg',{'width':_0x450ad2,'height':_0x4c1b45,'viewBox':'0\x200\x20'+_0x450ad2+'\x20'+_0x4c1b45,'fill':_0x28dc7e(0x171),'xmlns':'http://www.w3.org/2000/svg','children':_0x48561d});}const Q=_0x392d70=>{const _0xb319fe=_0xcf15a3;let {value:_0x10f901,onChange:_0x519aea,popupDirection:_0x121f18='top'}=_0x392d70,_0x3da9f2=(0x0,i[_0xb319fe(0x17a)])(n[_0xb319fe(0x383)]),_0x1307f0=(0x0,i[_0xb319fe(0x17a)])(p[_0xb319fe(0x19b)]),[_0x135cac,_0x52e464]=(0x0,u[_0xb319fe(0x2f6)])(!0x1),_0x212a27=(0x0,u['useRef'])(null),_0x163866=(0x0,i[_0xb319fe(0x17a)])(n[_0xb319fe(0x2c7)]),_0x4bdd19=[{'value':_0xb319fe(0x27f),'label':_0x3da9f2['t'](_0xb319fe(0x2e5))},{'value':_0xb319fe(0x348),'label':_0x3da9f2['t'](_0xb319fe(0x261))},{'value':_0xb319fe(0x296),'label':_0x3da9f2['t'](_0xb319fe(0x1b7))},{'value':_0xb319fe(0x16b),'label':_0x3da9f2['t'](_0xb319fe(0x349))}],_0x55efff=[{'value':_0xb319fe(0x3a6),'label':_0x3da9f2['t'](_0xb319fe(0x289))},{'value':'@WorksheetTitle','label':_0x3da9f2['t'](_0xb319fe(0x2a0))}],_0x319f9d=[{'value':'@DateA','label':_0x3da9f2['t'](_0xb319fe(0x178))},{'value':'@DateB','label':_0x3da9f2['t'](_0xb319fe(0x3c5))},{'value':_0xb319fe(0x406),'label':_0x3da9f2['t'](_0xb319fe(0x36d))},{'value':_0xb319fe(0x20c),'label':_0x3da9f2['t'](_0xb319fe(0x2f3))}],_0x772712=[{'value':_0xb319fe(0x34b),'label':_0x3da9f2['t'](_0xb319fe(0x339))},{'value':_0xb319fe(0x24d),'label':_0x3da9f2['t'](_0xb319fe(0x195))},{'value':_0xb319fe(0x3e0),'label':_0x3da9f2['t']('sheets-print.headerFooter.display.timeC')},{'value':_0xb319fe(0x35a),'label':_0x3da9f2['t']('sheets-print.headerFooter.display.timeD')}],_0x51fe81=[..._0x4bdd19,..._0x55efff,..._0x319f9d,..._0x772712],[_0x219a33]=(0x0,u[_0xb319fe(0x2f6)])(()=>ne(_0x10f901,_0x51fe81));return(0x0,d[_0xb319fe(0x2b4)])(_0xb319fe(0x2f7),{'className':_0xb319fe(0x388),'children':[(0x0,d[_0xb319fe(0x381)])(p['RichTextEditor'],{'editorRef':_0x212a27,'initialValue':_0x219a33,'onChange':_0x3d8fba=>{_0x519aea==null||_0x519aea(re(_0x3d8fba));},'onFocusChange':_0x22bcc8=>{_0x52e464(_0x22bcc8);},'onClickOutside':()=>{const _0x50a9f9=_0xb319fe;var _0x4301a5;(_0x4301a5=_0x212a27[_0x50a9f9(0x33e)])==null||_0x4301a5[_0x50a9f9(0x1fc)]([]),_0x1307f0[_0x50a9f9(0x3eb)]();},'placeholder':_0x3da9f2['t'](_0xb319fe(0x367))}),(0x0,d[_0xb319fe(0x381)])(_0xb319fe(0x2f7),{'className':_0xb319fe(0x288),'style':{[_0x121f18]:0x24},'children':_0x135cac&&(0x0,d[_0xb319fe(0x381)])(Ie,{'popupDirection':_0x121f18,'onSelect':async _0xc77c04=>{const _0x5ae622=_0xb319fe;var _0x2cb300;let _0x5d1160=(_0x2cb300=_0x212a27[_0x5ae622(0x33e)])==null?void 0x0:_0x2cb300['getEditorId']();if(!_0x212a27['current'])return;let _0x2dd474=_0x212a27[_0x5ae622(0x33e)][_0x5ae622(0x2f0)]();if(_0x2dd474<0x0)return;let _0x5ad6ea=_0x51fe81[_0x5ae622(0x40f)](_0x15cb1b=>_0x15cb1b[_0x5ae622(0x39e)]===_0xc77c04);if(!_0x5ad6ea)return;let _0x497c06={'dataStream':_0x5ad6ea['label'],'customRanges':[{'startIndex':0x0,'endIndex':_0x5ad6ea[_0x5ae622(0x18a)][_0x5ae622(0x21f)]-0x1,'rangeId':(0x0,n['generateRandomId'])(),'rangeType':n[_0x5ae622(0x43b)][_0x5ae622(0x2ca)],'properties':{'value':_0x5ad6ea[_0x5ae622(0x39e)]},'wholeEntity':!0x0}]};await(0x0,n[_0x5ae622(0x1cb)])(0x0);let _0x3a65c3=n[_0x5ae622(0x22b)][_0x5ae622(0x1e9)][_0x5ae622(0x430)]({'selection':{'startOffset':_0x2dd474,'endOffset':_0x2dd474,'collapsed':!0x0},'body':_0x497c06,'doc':_0x212a27['current'][_0x5ae622(0x332)]()});if(!_0x3a65c3)return;let _0x17e2a7={'id':f[_0x5ae622(0x1cd)]['id'],'params':{'unitId':_0x5d1160,'actions':[],'textRanges':[{'startOffset':_0x2dd474+_0x497c06[_0x5ae622(0x2f2)][_0x5ae622(0x21f)],'endOffset':_0x2dd474+_0x497c06[_0x5ae622(0x2f2)][_0x5ae622(0x21f)],'collapsed':!0x0}],'trigger':_0x5ae622(0x2eb)}},_0x20ebae=n[_0x5ae622(0x25d)][_0x5ae622(0x29a)]();_0x17e2a7[_0x5ae622(0x1d1)][_0x5ae622(0x361)]=_0x20ebae[_0x5ae622(0x3a1)](_0x3a65c3[_0x5ae622(0x278)]()),_0x163866[_0x5ae622(0x2a9)](_0x17e2a7['id'],_0x17e2a7[_0x5ae622(0x1d1)]),setTimeout(()=>{const _0x16ff6c=_0x5ae622;_0x1307f0[_0x16ff6c(0x2a2)](_0x5d1160);},0x0);}})})]});},Re=_0x271ebc=>{const _0x94b871=_0xcf15a3;let {onClose:_0x4b3dfb}=_0x271ebc,_0x1a7fce=(0x0,i[_0x94b871(0x17a)])(k),_0x47ebfc=_0x1a7fce[_0x94b871(0x175)][_0x94b871(0x417)]??E,[_0x158b29,_0x59a2d2]=(0x0,u[_0x94b871(0x2f6)])(_0x47ebfc[_0x94b871(0x1f9)]),[_0x302b87,_0x400383]=(0x0,u[_0x94b871(0x2f6)])(_0x47ebfc[_0x94b871(0x426)]),[_0x199c20,_0x103d4b]=(0x0,u[_0x94b871(0x2f6)])(_0x47ebfc['topRight']),[_0x5e1e5,_0x5d13f3]=(0x0,u[_0x94b871(0x2f6)])(_0x47ebfc[_0x94b871(0x20a)]),[_0x24de1b,_0x39badf]=(0x0,u['useState'])(_0x47ebfc[_0x94b871(0x411)]),[_0x448f61,_0x5b6a55]=(0x0,u[_0x94b871(0x2f6)])(_0x47ebfc[_0x94b871(0x304)]),_0x549113=(0x0,i[_0x94b871(0x17a)])(n[_0x94b871(0x383)]);return(0x0,d[_0x94b871(0x2b4)])(_0x94b871(0x2f7),{'className':'univer-absolute\x20univer-inset-0\x20univer-z-[100]\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':[(0x0,d['jsxs'])(_0x94b871(0x2f7),{'className':(0x0,c[_0x94b871(0x20e)])(_0x94b871(0x1fa),c[_0x94b871(0x3ff)]),'children':[(0x0,d[_0x94b871(0x381)])(_0x94b871(0x2f7),{'className':'univer-ml-2\x20univer-text-lg\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x549113['t'](_0x94b871(0x365))}),(0x0,d[_0x94b871(0x2b4)])('div',{'className':_0x94b871(0x324),'children':[(0x0,d['jsx'])(c[_0x94b871(0x180)],{'className':_0x94b871(0x1f2),'onClick':()=>{_0x4b3dfb();},'children':_0x549113['t'](_0x94b871(0x27d))}),(0x0,d['jsx'])(c['Button'],{'variant':'primary','onClick':()=>{const _0x2120a9=_0x94b871;_0x4b3dfb(),_0x1a7fce[_0x2120a9(0x172)]({'headerFooterSetting':{'topLeft':_0x158b29,'topCenter':_0x302b87,'topRight':_0x199c20,'bottomLeft':_0x5e1e5,'bottomCenter':_0x24de1b,'bottomRight':_0x448f61}});},'children':_0x549113['t'](_0x94b871(0x355))})]})]}),(0x0,d[_0x94b871(0x381)])(_0x94b871(0x2f7),{'className':_0x94b871(0x3ea),'children':(0x0,d['jsx'])(_0x94b871(0x2f7),{'className':_0x94b871(0x1c7),'children':(0x0,d['jsxs'])(_0x94b871(0x2f7),{'className':_0x94b871(0x23e),'children':[(0x0,d['jsxs'])(_0x94b871(0x2f7),{'className':'univer-flex\x20univer-w-full','children':[(0x0,d['jsx'])(Q,{'value':_0x158b29,'onChange':_0x453c76=>_0x59a2d2(_0x453c76)}),(0x0,d[_0x94b871(0x381)])(Q,{'value':_0x302b87,'onChange':_0x5e5b05=>_0x400383(_0x5e5b05)}),(0x0,d[_0x94b871(0x381)])(Q,{'value':_0x199c20,'onChange':_0x24cb13=>_0x103d4b(_0x24cb13)})]}),(0x0,d['jsx'])(_0x94b871(0x2f7),{'className':_0x94b871(0x342),'children':(0x0,d[_0x94b871(0x381)])(Le,{})}),(0x0,d['jsxs'])(_0x94b871(0x2f7),{'className':_0x94b871(0x447),'children':[(0x0,d['jsx'])(Q,{'popupDirection':_0x94b871(0x1f1),'value':_0x5e1e5,'onChange':_0x155807=>_0x5d13f3(_0x155807)}),(0x0,d['jsx'])(Q,{'popupDirection':_0x94b871(0x1f1),'value':_0x24de1b,'onChange':_0xb29def=>_0x39badf(_0xb29def)}),(0x0,d[_0x94b871(0x381)])(Q,{'popupDirection':_0x94b871(0x1f1),'value':_0x448f61,'onChange':_0x586b0e=>_0x5b6a55(_0x586b0e)})]})]})})})]});},ze=0.1,Be=()=>{const _0x2f256d=_0xcf15a3;let [_0x4c5431,_0x37cf04]=(0x0,u[_0x2f256d(0x2f6)])(!0x1),_0x2ad849=(0x0,i['useDependency'])(k),_0x37c292=(0x0,i[_0x2f256d(0x17a)])(n[_0x2f256d(0x2c7)]),_0x31dcc2=(0x0,i[_0x2f256d(0x42c)])(_0x2ad849[_0x2f256d(0x188)],[]),[_0x5b0494,_0x1afcf7]=(0x0,u[_0x2f256d(0x2f6)])(0x1),[_0x32cf30,_0x3dc0a4]=(0x0,u[_0x2f256d(0x2f6)])(!0x1),_0x9cb865=(0x0,i[_0x2f256d(0x17a)])(b),_0x3553c6=(0x0,i[_0x2f256d(0x42c)])(_0x9cb865['preparing$'],_0x9cb865[_0x2f256d(0x376)]),_0x34641d=(0x0,i[_0x2f256d(0x17a)])(n[_0x2f256d(0x2d6)]),_0x118ddf=(0x0,i[_0x2f256d(0x17a)])(n[_0x2f256d(0x383)]),_0x42191a=(0x0,i[_0x2f256d(0x17a)])(n[_0x2f256d(0x340)]),{ls:_0x29f5ea,pbk:_0x36361e}=(0x0,i[_0x2f256d(0x17a)])(n[_0x2f256d(0x331)])[_0x2f256d(0x246)](e[_0x2f256d(0x44d)])??{},{limit:_0x27a9e0,isPro:_0x3d642c}=(0x0,u[_0x2f256d(0x1dd)])(()=>{let {page:_0x23ef78,isPro:_0x39f58d}=ee(0x3,_0x29f5ea,_0x36361e);return{'limit':_0x23ef78,'isPro':_0x39f58d};},[_0x29f5ea,_0x36361e]),_0x9971cb=(0x0,u[_0x2f256d(0x1a7)])(null),_0x3edb42=(0x0,i[_0x2f256d(0x17a)])(i['IMessageService']),_0x432a06=we(import(`@univerjs-pro/collaboration-client`).then(_0x1966a6=>_0x1966a6[_0x2f256d(0x393)],()=>void 0x0));(0x0,u[_0x2f256d(0x1dc)])(()=>{const _0x5590d2=_0x2f256d;var _0x3631b9;if(!_0x432a06)return;let _0x4fbed8=_0x34641d['getCurrentUnitOfType'](n[_0x5590d2(0x39b)][_0x5590d2(0x28d)]);if(!_0x4fbed8)return;let _0x49f9e1=_0x4fbed8[_0x5590d2(0x312)](),_0x8dff69=_0x42191a[_0x5590d2(0x335)](_0x432a06,n[_0x5590d2(0x1fe)][_0x5590d2(0x2e7)]),_0x3d3912=_0x8dff69==null||(_0x3631b9=_0x8dff69['getCollabEntity'](_0x49f9e1))==null?void 0x0:_0x3631b9[_0x5590d2(0x208)]();return()=>{const _0x419d7c=_0x5590d2;_0x3d3912==null||_0x3d3912[_0x419d7c(0x196)]();};},[_0x432a06,_0x42191a,_0x34641d]);let _0x1e782b=(0x0,u[_0x2f256d(0x1dd)])(()=>oe(_0x31dcc2),[_0x31dcc2]),_0x24eb77=(0x0,u[_0x2f256d(0x1dd)])(()=>_0x1e782b[_0x2f256d(0x2a6)](0x0,_0x27a9e0),[_0x1e782b,_0x27a9e0]),_0x1f4429=_0x2ad849[_0x2f256d(0x1bb)],_0x396e0d=Math['round'](_0x5b0494*(0x31a/_0x1f4429['w'])*0xa)/0xa,[_0x34aa3c,{wrapperStyle:_0x5161b1,containerProps:_0xf5280a}]=(0x0,i[_0x2f256d(0x26d)])(_0x24eb77,{'containerTarget':_0x9971cb,'itemHeight':_0x1f4429['h']*_0x396e0d+0x1c,'overscan':0x5}),_0x4bd116=()=>{const _0xe31555=_0x2f256d;_0x37c292[_0xe31555(0x34e)](L['id']);},_0x5d4565=()=>{const _0x2c1d9f=_0x2f256d;_0x3dc0a4(!0x0),_0x3edb42['show']({'content':_0x118ddf['t'](_0x2c1d9f(0x363)),'type':c[_0x2c1d9f(0x457)][_0x2c1d9f(0x338)]}),setTimeout(()=>{const _0x24b727=_0x2c1d9f;_0x37c292[_0x24b727(0x34e)](R['id']);},0x12c);},_0x25e514=(0x0,i[_0x2f256d(0x396)])(()=>{_0x37cf04(!0x0);});return(0x0,d[_0x2f256d(0x2b4)])(_0x2f256d(0x2f7),{'className':_0x2f256d(0x319),'children':[_0x4c5431&&(0x0,d[_0x2f256d(0x381)])(Re,{'onClose':()=>_0x37cf04(!0x1)}),_0x32cf30&&(0x0,d[_0x2f256d(0x381)])('div',{'className':'univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-[1010]\x20univer-flex\x20univer-justify-center'}),(0x0,d[_0x2f256d(0x2b4)])(_0x2f256d(0x2f7),{'className':(0x0,c[_0x2f256d(0x20e)])(_0x2f256d(0x3fc),c['borderBottomClassName']),'children':[(0x0,d[_0x2f256d(0x2b4)])('div',{'className':_0x2f256d(0x40e),'children':[_0x118ddf['t'](_0x2f256d(0x198)),_0x24eb77[_0x2f256d(0x21f)],_0x118ddf['t'](_0x2f256d(0x285))]}),(0x0,d[_0x2f256d(0x2b4)])(_0x2f256d(0x2f7),{'className':_0x2f256d(0x22c),'children':[(0x0,d['jsx'])(c[_0x2f256d(0x180)],{'onClick':_0x4bd116,'children':_0x118ddf['t'](_0x2f256d(0x27d))}),(0x0,d['jsx'])(c[_0x2f256d(0x180)],{'variant':_0x2f256d(0x23b),'disabled':_0x3553c6,'onClick':_0x5d4565,'children':_0x118ddf['t'](_0x2f256d(0x176))})]})]}),(0x0,d[_0x2f256d(0x2b4)])(_0x2f256d(0x2f7),{'className':_0x2f256d(0x33c),'children':[(0x0,d[_0x2f256d(0x2b4)])(_0x2f256d(0x2f7),{'className':'univer-relative\x20univer-box-border\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','children':[(0x0,d[_0x2f256d(0x381)])('div',{'ref':_0x9971cb,'className':(0x0,c[_0x2f256d(0x20e)])(_0x2f256d(0x32d),c[_0x2f256d(0x235)]),'aria-busy':_0x3553c6,..._0xf5280a,'children':_0x3553c6?(0x0,d[_0x2f256d(0x381)])(_0x2f256d(0x2f7),{'className':_0x2f256d(0x316),'role':_0x2f256d(0x14d),'aria-label':_0x118ddf['t'](_0x2f256d(0x363)),'children':(0x0,d[_0x2f256d(0x381)])(l[_0x2f256d(0x378)],{'className':_0x2f256d(0x3be),'aria-hidden':_0x2f256d(0x337)})}):(0x0,d[_0x2f256d(0x381)])(_0x2f256d(0x2f7),{'style':_0x5161b1,'children':_0x34aa3c[_0x2f256d(0x1d5)](_0x295449=>(0x0,d['jsx'])(Ee,{'config':_0x295449[_0x2f256d(0x458)],'page':_0x295449['data'][_0x2f256d(0x1f0)],'previewScale':_0x5b0494},_0x295449[_0x2f256d(0x458)][_0x2f256d(0x2fb)]+':'+_0x295449[_0x2f256d(0x458)][_0x2f256d(0x1e1)]+':'+_0x295449[_0x2f256d(0x458)][_0x2f256d(0x1f0)]+':'+_0x295449['data']['range'][_0x2f256d(0x33a)]+':'+_0x295449[_0x2f256d(0x458)][_0x2f256d(0x3e1)][_0x2f256d(0x405)]+':'+_0x295449['data'][_0x2f256d(0x3e1)][_0x2f256d(0x254)]+':'+_0x295449[_0x2f256d(0x458)][_0x2f256d(0x3e1)][_0x2f256d(0x2aa)]))})}),!_0x3553c6&&!_0x3d642c&&(0x0,d[_0x2f256d(0x381)])(_0x2f256d(0x2f7),{'className':'univer-my-4\x20univer-text-center','children':(0x0,d[_0x2f256d(0x381)])('a',{'href':_0x118ddf['t']('sheets-print.limit.link'),'target':'_blank','rel':_0x2f256d(0x3f5),'children':_0x118ddf['t'](_0x2f256d(0x25b))[_0x2f256d(0x430)](_0x2f256d(0x15e),''+_0x27a9e0)})}),!_0x3553c6&&!_0x4c5431&&(0x0,d[_0x2f256d(0x2b4)])('div',{'className':_0x2f256d(0x40c),'children':[(0x0,d['jsx'])(_0x2f256d(0x2f7),{'className':'univer-z-[100]\x20univer-mt-2\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-gray-0\x20univer-shadow\x20dark:!univer-bg-gray-900','onClick':()=>{_0x1afcf7(Math['min'](_0x5b0494+ze,0x2));},'children':(0x0,d[_0x2f256d(0x381)])(l[_0x2f256d(0x247)],{})}),(0x0,d[_0x2f256d(0x381)])(_0x2f256d(0x2f7),{'className':'univer-z-[100]\x20univer-mt-2\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-gray-0\x20univer-shadow\x20dark:!univer-bg-gray-900','onClick':()=>{_0x1afcf7(Math['max'](_0x5b0494-ze,0.5));},'children':(0x0,d[_0x2f256d(0x381)])(l[_0x2f256d(0x2cd)],{})})]})]}),(0x0,d[_0x2f256d(0x381)])(_0x2f256d(0x2f7),{'className':'univer-box-border\x20univer-h-full\x20univer-w-[312px]\x20univer-flex-none\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':(0x0,d[_0x2f256d(0x381)])(Oe,{'onShowFooterHeaderEditor':_0x25e514})})]})]});},Ve=()=>{const _0x22bf73=_0xcf15a3;let _0xf51a82=(0x0,i[_0x22bf73(0x17a)])(b);return(0x0,i[_0x22bf73(0x42c)])(_0xf51a82['visible$'],_0xf51a82[_0x22bf73(0x407)])?(0x0,d[_0x22bf73(0x381)])(Be,{}):null;},He={'id':I['id'],'binding':i[_0xcf15a3(0x185)]['P']|i[_0xcf15a3(0x2b0)][_0xcf15a3(0x372)],'preconditions':s[_0xcf15a3(0x2c4)]};let Ue=class extends n['Disposable']{constructor(_0x1bffbe,_0x3afe08,_0x9f4c22,_0x5be639,_0x34f1e0,_0x24a5b3,_0x4b642e,_0xb3e699,_0x2a6661,_0x78634a){const _0x673bc=_0xcf15a3;super(),this[_0x673bc(0x351)]=_0x1bffbe,this[_0x673bc(0x273)]=_0x3afe08,this[_0x673bc(0x241)]=_0x9f4c22,this['_sheetPrintClientService']=_0x5be639,this[_0x673bc(0x168)]=_0x34f1e0,this[_0x673bc(0x413)]=_0x24a5b3,this[_0x673bc(0x155)]=_0x4b642e,this['_univerInstanceService']=_0xb3e699,this[_0x673bc(0x40b)]=_0x2a6661,this[_0x673bc(0x20f)]=_0x78634a,this[_0x673bc(0x24e)](),this[_0x673bc(0x165)](),this[_0x673bc(0x3b6)](),this[_0x673bc(0x3cd)](),this[_0x673bc(0x325)](),this[_0x673bc(0x22a)](),this[_0x673bc(0x1ad)]();}[_0xcf15a3(0x24e)](){const _0x58c068=_0xcf15a3;[I,L,R,le,z,G,fe][_0x58c068(0x22f)](_0x5bd86d=>this[_0x58c068(0x273)][_0x58c068(0x39c)](_0x5bd86d));}[_0xcf15a3(0x165)](){const _0x2fe429=_0xcf15a3;this[_0x2fe429(0x193)](this[_0x2fe429(0x20f)][_0x2fe429(0x35e)](i[_0x2fe429(0x2c2)][_0x2fe429(0x315)],()=>(0x0,i[_0x2fe429(0x451)])(Ve,this[_0x2fe429(0x155)])));}[_0xcf15a3(0x3cd)](){const _0x85a4e8=_0xcf15a3;[He][_0x85a4e8(0x22f)](_0x1fe2b5=>{const _0x18410e=_0x85a4e8;this[_0x18410e(0x413)][_0x18410e(0x1d7)](_0x1fe2b5);});}[_0xcf15a3(0x3b6)](){const _0x111e9d=_0xcf15a3;this[_0x111e9d(0x168)][_0x111e9d(0x418)](ve);}[_0xcf15a3(0x22a)](){const _0x4bb708=_0xcf15a3;this['disposeWithMe'](this[_0x4bb708(0x351)][_0x4bb708(0x3f8)][_0x4bb708(0x199)](_0x30226e=>{const _0x5cddc6=_0x4bb708;_0x30226e&&this[_0x5cddc6(0x241)][_0x5cddc6(0x389)]();}));}[_0xcf15a3(0x197)](){const _0x368377=_0xcf15a3;let _0x5a769f=this[_0x368377(0x241)][_0x368377(0x36e)],_0x1db140=this[_0x368377(0x241)][_0x368377(0x175)];return this[_0x368377(0x33b)][_0x368377(0x34c)](_0x5a769f,_0x1db140);}[_0xcf15a3(0x325)](){const _0x4280f7=_0xcf15a3;this['disposeWithMe'](this['_commandService'][_0x4280f7(0x26b)](_0x3b5679=>{const _0x4befaa=_0x4280f7;_0x3b5679['id']===R['id']&&this[_0x4befaa(0x197)]();}));}[_0xcf15a3(0x1ad)](){const _0x597536=_0xcf15a3;let _0x1ffb7c=this['_injector']['get'](W);this[_0x597536(0x193)](_0x1ffb7c[_0x597536(0x3f8)][_0x597536(0x199)](()=>{const _0x2b8d22=_0x597536;let _0x539928=this[_0x2b8d22(0x3a7)][_0x2b8d22(0x39d)](0x2);if(_0x539928){let _0x2e616d=_0x539928[_0x2b8d22(0x312)](),_0x528e9e=this[_0x2b8d22(0x40b)]['getRenderUnitById'](_0x2e616d);if(_0x528e9e){var _0x43dbaf;(_0x43dbaf=_0x528e9e['mainComponent'])==null||_0x43dbaf['makeDirty']();}}})),this[_0x597536(0x193)](this[_0x597536(0x241)][_0x597536(0x209)][_0x597536(0x199)](()=>{const _0x520bb8=_0x597536;if(!_0x1ffb7c[_0x520bb8(0x407)])return;this['_sheetPrintManagerService']['reLayout']();let _0x58ca9d=this[_0x520bb8(0x3a7)][_0x520bb8(0x39d)](0x2);if(_0x58ca9d){let _0x64f85c=_0x58ca9d['getUnitId'](),_0x3eff2c=this[_0x520bb8(0x40b)]['getRenderUnitById'](_0x64f85c);if(_0x3eff2c){var _0x441a2c;(_0x441a2c=_0x3eff2c[_0x520bb8(0x2d5)])==null||_0x441a2c[_0x520bb8(0x158)]();}}})),this[_0x597536(0x193)](this[_0x597536(0x273)]['onCommandExecuted'](_0x249015=>{const _0x4bb5cb=_0x597536;if(!_0x1ffb7c[_0x4bb5cb(0x407)]||[I['id'],L['id'],R['id'],z['id'],G['id'],fe['id']][_0x4bb5cb(0x1c4)](_0x249015['id']))return;this[_0x4bb5cb(0x241)][_0x4bb5cb(0x389)]();let _0x56d3fb=this[_0x4bb5cb(0x3a7)][_0x4bb5cb(0x39d)](0x2);if(_0x56d3fb){let _0x355b16=_0x56d3fb[_0x4bb5cb(0x312)](),_0x150a20=this[_0x4bb5cb(0x40b)][_0x4bb5cb(0x18e)](_0x355b16);if(_0x150a20){var _0x5ce005;(_0x5ce005=_0x150a20[_0x4bb5cb(0x2d5)])==null||_0x5ce005[_0x4bb5cb(0x158)]();}}}));}};Ue=O([D(0x0,b),D(0x1,n['ICommandService']),D(0x2,k),D(0x3,(0x0,n['Inject'])(U)),D(0x4,i['IMenuManagerService']),D(0x5,i[_0xcf15a3(0x1bc)]),D(0x6,(0x0,n[_0xcf15a3(0x438)])(n[_0xcf15a3(0x340)])),D(0x7,n['IUniverInstanceService']),D(0x8,o['IRenderManagerService']),D(0x9,i['IUIPartsService'])],Ue);let $=class extends n['Plugin']{constructor(_0x47963b=K,_0x5e94b9,_0x4c4965,_0x41a5eb){const _0x334987=_0xcf15a3;super(),this['_config']=_0x47963b,this[_0x334987(0x155)]=_0x5e94b9,this[_0x334987(0x35d)]=_0x4c4965,this[_0x334987(0x40b)]=_0x41a5eb;let {menu:_0x2f5877,..._0x579291}=(0x0,n[_0x334987(0x39a)])({},K,this['_config']);_0x2f5877&&this[_0x334987(0x35d)][_0x334987(0x281)](_0x334987(0x258),_0x2f5877,{'merge':!0x0}),this[_0x334987(0x35d)][_0x334987(0x281)](Se,_0x579291);}[_0xcf15a3(0x205)](){const _0x3f3b72=_0xcf15a3;this[_0x3f3b72(0x155)][_0x3f3b72(0x40a)](t[_0x3f3b72(0x42e)])||this[_0x3f3b72(0x155)][_0x3f3b72(0x3d1)]([t[_0x3f3b72(0x42e)],{'useClass':t[_0x3f3b72(0x31c)]}]),(0x0,n[_0x3f3b72(0x3bb)])(this[_0x3f3b72(0x155)],[[k,{'useClass':N}],[b,{'useClass':x}],[W,{'useClass':ue}],[U],[X],[Ue]]),this[_0x3f3b72(0x193)](this['_renderManagerService']['registerRenderModule'](n[_0x3f3b72(0x39b)][_0x3f3b72(0x28d)],[Fe])),(0x0,n[_0x3f3b72(0x257)])(this['_injector'],[[X],[Ue]]);}};y($,_0xcf15a3(0x45b),xe),y($,'packageName',ye),y($,_0xcf15a3(0x276),be),y($,_0xcf15a3(0x3a9),n[_0xcf15a3(0x39b)][_0xcf15a3(0x28d)]),$=O([(0x0,n[_0xcf15a3(0x31e)])(e[_0xcf15a3(0x2fa)],o['UniverRenderEnginePlugin'],r[_0xcf15a3(0x214)],s[_0xcf15a3(0x43a)]),D(0x1,(0x0,n['Inject'])(n['Injector'])),D(0x2,n[_0xcf15a3(0x331)]),D(0x3,o['IRenderManagerService'])],$),exports[_0xcf15a3(0x3e3)]=L,exports[_0xcf15a3(0x446)]=R,exports[_0xcf15a3(0x16f)]=k,exports['PrintArea']=S,exports[_0xcf15a3(0x375)]=w,exports[_0xcf15a3(0x442)]=C,exports['PrintHeaderFooterSymbol']=T,exports[_0xcf15a3(0x21c)]=ae,Object['defineProperty'](exports,_0xcf15a3(0x220),{'enumerable':!0x0,'get':function(){return U;}}),exports[_0xcf15a3(0x37d)]=I,exports[_0xcf15a3(0x225)]=le,exports['SheetsPrintMenuSchema']=ve,Object[_0xcf15a3(0x32c)](exports,_0xcf15a3(0x364),{'enumerable':!0x0,'get':function(){return Y;}}),Object[_0xcf15a3(0x32c)](exports,_0xcf15a3(0x377),{'enumerable':!0x0,'get':function(){return $;}}),exports['defaultHeaderFooter']=E,exports[_0xcf15a3(0x439)]=F;