@univerjs-pro/sheets-print 0.12.1-nightly.202511221011 → 0.12.2-experimental.20251129-0fa20cd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +38 -38
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x23e56b=_0x2c8a;(function(_0x236ddc,_0x51b701){const _0x306db0=_0x2c8a,_0x8f70fb=_0x236ddc();while(!![]){try{const _0x3e121c=-parseInt(_0x306db0(0x109))/0x1+parseInt(_0x306db0(0x185))/0x2+parseInt(_0x306db0(0x367))/0x3*(parseInt(_0x306db0(0x257))/0x4)+-parseInt(_0x306db0(0x2c1))/0x5*(-parseInt(_0x306db0(0x249))/0x6)+parseInt(_0x306db0(0x1c8))/0x7+parseInt(_0x306db0(0x125))/0x8*(parseInt(_0x306db0(0x192))/0x9)+-parseInt(_0x306db0(0x2cb))/0xa*(parseInt(_0x306db0(0x296))/0xb);if(_0x3e121c===_0x51b701)break;else _0x8f70fb['push'](_0x8f70fb['shift']());}catch(_0x463adf){_0x8f70fb['push'](_0x8f70fb['shift']());}}}(_0x4d6e,0x87f30));var et=Object['create'],pe=Object[_0x23e56b(0x380)],tt=Object[_0x23e56b(0x1dd)],nt=Object[_0x23e56b(0x21c)],it=Object[_0x23e56b(0xd2)],rt=Object[_0x23e56b(0x293)][_0x23e56b(0xff)],at=(_0x121850,_0x5ad64c,_0x2232fc)=>_0x5ad64c in _0x121850?pe(_0x121850,_0x5ad64c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2232fc}):_0x121850[_0x5ad64c]=_0x2232fc,ot=(_0x26fc98,_0x34e1da,_0x2c7211,_0x290fa5)=>{const _0x49fd51=_0x23e56b;if(_0x34e1da&&typeof _0x34e1da==_0x49fd51(0x2f7)||typeof _0x34e1da==_0x49fd51(0x121)){for(let _0x293f9f of nt(_0x34e1da))!rt[_0x49fd51(0x353)](_0x26fc98,_0x293f9f)&&_0x293f9f!==_0x2c7211&&pe(_0x26fc98,_0x293f9f,{'get':()=>_0x34e1da[_0x293f9f],'enumerable':!(_0x290fa5=tt(_0x34e1da,_0x293f9f))||_0x290fa5[_0x49fd51(0x10b)]});}return _0x26fc98;},st=(_0x1475a9,_0x472e91,_0x44db50)=>(_0x44db50=_0x1475a9!=null?et(it(_0x1475a9)):{},ot(_0x472e91||!_0x1475a9||!_0x1475a9[_0x23e56b(0x365)]?pe(_0x44db50,_0x23e56b(0x30f),{'value':_0x1475a9,'enumerable':!0x0}):_0x44db50,_0x1475a9)),R=(_0x497555,_0x4b27ea,_0x107803)=>at(_0x497555,typeof _0x4b27ea!='symbol'?_0x4b27ea+'':_0x4b27ea,_0x107803);Object[_0x23e56b(0x380)](exports,Symbol[_0x23e56b(0x386)],{'value':'Module'});const W=require('@univerjs-pro/license'),l=require('@univerjs/core'),$=require('@univerjs/sheets'),w=require('@univerjs/ui'),I=require('@univerjs-pro/print'),j=require('@univerjs/engine-render'),B=require('@univerjs/sheets-ui'),ie=require('rxjs'),o=require('react/jsx-runtime'),h=require('@univerjs/design'),C=require('react'),lt=require('@univerjs/docs'),Ie=require('@univerjs/docs-ui'),ct=require('@univerjs/network'),ut=_0x23e56b(0x183),dt=ut+_0x23e56b(0x2a7),Ne=Number[_0x23e56b(0x21f)](0x69218d7b),Te='UNIVER_SHEET_PERMISSION_ALERT_DIALOG_ID',ht=_0x23e56b(0x209);var O=(_0x21da8d=>(_0x21da8d['CurrentSheet']=_0x23e56b(0x325),_0x21da8d['workbook']=_0x23e56b(0x2d8),_0x21da8d['CurrentSelection']='CurrentSelection',_0x21da8d['AllSelection']=_0x23e56b(0x251),_0x21da8d))(O||{}),V=(_0x2ecce7=>(_0x2ecce7[_0x23e56b(0x3c9)]=_0x23e56b(0x3c9),_0x2ecce7[_0x23e56b(0x20c)]='WorkbookTitle',_0x2ecce7['WorksheetTitle']='WorksheetTitle',_0x2ecce7[_0x23e56b(0x1c7)]=_0x23e56b(0x1c7),_0x2ecce7[_0x23e56b(0x161)]=_0x23e56b(0x161),_0x2ecce7))(V||{}),G=(_0x3d0ffa=>(_0x3d0ffa[_0x23e56b(0x130)]=_0x23e56b(0x130),_0x3d0ffa[_0x23e56b(0x2d1)]=_0x23e56b(0x2d1),_0x3d0ffa))(G||{}),y=(_0x459932=>(_0x459932[_0x23e56b(0x20c)]=_0x23e56b(0x17f),_0x459932[_0x23e56b(0x148)]=_0x23e56b(0x10c),_0x459932[_0x23e56b(0x214)]=_0x23e56b(0x143),_0x459932['DateB']=_0x23e56b(0x34b),_0x459932[_0x23e56b(0x313)]=_0x23e56b(0x2db),_0x459932[_0x23e56b(0x3a1)]=_0x23e56b(0x33f),_0x459932[_0x23e56b(0x2d6)]=_0x23e56b(0x1a2),_0x459932[_0x23e56b(0x2ca)]=_0x23e56b(0x1b9),_0x459932[_0x23e56b(0x34a)]='@TimeB',_0x459932[_0x23e56b(0x18e)]=_0x23e56b(0x118),_0x459932[_0x23e56b(0x269)]=_0x23e56b(0x377),_0x459932[_0x23e56b(0x298)]=_0x23e56b(0x2d7),_0x459932[_0x23e56b(0x320)]=_0x23e56b(0x295),_0x459932[_0x23e56b(0x35f)]=_0x23e56b(0x3ae),_0x459932[_0x23e56b(0x2f2)]='@TotalSheetPage',_0x459932))(y||{});const ye={'topLeft':'','topCenter':'','topRight':'','bottomLeft':'','bottomCenter':'','bottomRight':''};var gt=Object[_0x23e56b(0x1dd)],pt=(_0x1cc96a,_0xc0af1f,_0x5201ff,_0xdb264e)=>{const _0x2eec3d=_0x23e56b;for(var _0x269859=_0xdb264e>0x1?void 0x0:_0xdb264e?gt(_0xc0af1f,_0x5201ff):_0xc0af1f,_0x50be86=_0x1cc96a[_0x2eec3d(0x238)]-0x1,_0x4bea5e;_0x50be86>=0x0;_0x50be86--)(_0x4bea5e=_0x1cc96a[_0x50be86])&&(_0x269859=_0x4bea5e(_0x269859)||_0x269859);return _0x269859;},oe=(_0x13b4e2,_0x2fcbcf)=>(_0x5c4d4e,_0x451932)=>_0x2fcbcf(_0x5c4d4e,_0x451932,_0x13b4e2);const ke=0x3,H=l[_0x23e56b(0x23a)](_0x23e56b(0x2d5)),vt=_0x4f6028=>Math[_0x23e56b(0x237)](_0x4f6028*0x64)/0x64,mt={'startColumn':0x0,'endColumn':0x0,'startRow':0x0,'endRow':0x0},je={'startColumn':-0x1,'startRow':-0x1,'xSplit':0x0,'ySplit':0x0};exports[_0x23e56b(0x38e)]=class{constructor(_0x3bb848,_0x1fa939,_0x13ce4c,_0x4a63d6){const _0x1c9513=_0x23e56b;R(this,_0x1c9513(0x149),{'area':O[_0x1c9513(0x325)],'subUnitIds':[],'paperSize':l[_0x1c9513(0x193)]['A4'],'direction':I['PrintDirection'][_0x1c9513(0x3b6)],'scale':I[_0x1c9513(0x1b1)][_0x1c9513(0x225)],'customScale':0x1,'freeze':[G['Row'],G[_0x1c9513(0x2d1)]],'margin':I[_0x1c9513(0x3bc)][_0x1c9513(0xdf)],'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0,'marginCustom':{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0}}),R(this,_0x1c9513(0x3ca),{'gridlines':!0x0,'hAlign':I[_0x1c9513(0x276)]['Middle'],'vAlign':I[_0x1c9513(0x276)]['Start'],'headerFooter':[],'headerFooterSetting':ye,'isCustomHeaderFooter':!0x1}),R(this,_0x1c9513(0x3c3),[]),R(this,_0x1c9513(0x32a),new ie[(_0x1c9513(0x290))](this[_0x1c9513(0x3c3)])),R(this,'_layoutConfig$',new ie['BehaviorSubject'](this[_0x1c9513(0x149)])),R(this,'_renderConfig$',new ie[(_0x1c9513(0x290))](this[_0x1c9513(0x3ca)])),R(this,'layoutConfig$',this['_layoutConfig$'][_0x1c9513(0x349)]()),R(this,_0x1c9513(0x361),this[_0x1c9513(0x1ee)][_0x1c9513(0x349)]()),R(this,'layoutInfos$',this['_layoutInfos$'][_0x1c9513(0x349)]()['pipe'](ie['debounceTime'](0x12c))),(this['_univerInstanceService']=_0x3bb848,this[_0x1c9513(0x27b)]=_0x1fa939,this[_0x1c9513(0x36e)]=_0x13ce4c,this[_0x1c9513(0x2dd)]=_0x4a63d6);}get[_0x23e56b(0x157)](){return this['_layoutInfos'];}get['renderConfig'](){const _0x21da1e=_0x23e56b;return this[_0x21da1e(0x3ca)];}get[_0x23e56b(0x17b)](){const _0x3dfb7f=_0x23e56b;return this[_0x3dfb7f(0x149)];}get[_0x23e56b(0x2ad)](){const _0x2cc3cc=_0x23e56b,{paperSize:_0x2b138b,direction:_0x5d0b1c,pageSizeCustom:_0x3cdf73}=this[_0x2cc3cc(0x149)];if(_0x3cdf73)return _0x3cdf73;const _0x286112=l[_0x2cc3cc(0x2f4)][_0x2b138b];return _0x5d0b1c===I[_0x2cc3cc(0x2fe)][_0x2cc3cc(0x3b6)]?{'w':_0x286112['width'],'h':_0x286112[_0x2cc3cc(0x3b9)]}:{'w':_0x286112[_0x2cc3cc(0x3b9)],'h':_0x286112[_0x2cc3cc(0x2ab)]};}get[_0x23e56b(0x2fa)](){const _0x367087=_0x23e56b;return this[_0x367087(0x149)][_0x367087(0x357)]===I['PrintPaperMargin'][_0x367087(0x29a)]?this[_0x367087(0x149)]['marginCustom']:I[_0x367087(0x2c2)][this['_layoutConfig'][_0x367087(0x357)]];}[_0x23e56b(0x348)](_0x208d9d){const _0x2d1d9b=_0x23e56b;this[_0x2d1d9b(0x149)]={...this['_layoutConfig'],..._0x208d9d},this[_0x2d1d9b(0x101)][_0x2d1d9b(0x1b5)](this[_0x2d1d9b(0x149)]),this[_0x2d1d9b(0x306)]();}['replaceLayoutConfig'](_0xb2d078){const _0x5c7b71=_0x23e56b;this[_0x5c7b71(0x149)]=_0xb2d078,this[_0x5c7b71(0x101)]['next'](this['_layoutConfig']),this[_0x5c7b71(0x306)]();}['updateRenderConfig'](_0x55e706){const _0x2ec446=_0x23e56b;this['_renderConfig']={...this['_renderConfig'],..._0x55e706},this[_0x2ec446(0x1ee)]['next'](this[_0x2ec446(0x3ca)]);}[_0x23e56b(0x350)](_0x502968){const _0x5dcbb9=_0x23e56b;this['_renderConfig']=_0x502968,this['_renderConfig$']['next'](this[_0x5dcbb9(0x3ca)]);}['reLayout'](){const _0x1738b3=_0x23e56b;this[_0x1738b3(0x3c3)]=this[_0x1738b3(0x165)](),this[_0x1738b3(0x32a)][_0x1738b3(0x1b5)](this[_0x1738b3(0x3c3)]);}[_0x23e56b(0x27a)](){const _0x5f0b42=_0x23e56b;this[_0x5f0b42(0x3c3)]=[],this[_0x5f0b42(0x32a)][_0x5f0b42(0x1b5)](this[_0x5f0b42(0x3c3)]),this[_0x5f0b42(0x149)]={...this['_layoutConfig'],'area':O[_0x5f0b42(0x325)],'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0},this[_0x5f0b42(0x101)]['next'](this[_0x5f0b42(0x149)]);}[_0x23e56b(0x165)](){const _0x6368fd=_0x23e56b,_0x38ec83=this[_0x6368fd(0x394)](),_0x38c493=[];return _0x38ec83[_0x6368fd(0x14f)](_0x30be15=>{const _0x5f21ad=_0x6368fd;if(_0x30be15){const _0x2d9608=this[_0x5f21ad(0x2e5)](_0x30be15);_0x2d9608&&_0x38c493[_0x5f21ad(0x292)](_0x2d9608);}}),_0x38c493;}['_calculateSheetRangeById'](_0x1ad695,_0x2eefde,_0x1ba8dc){const _0x5c3021=_0x23e56b;var _0x571be6,_0x23ba2d;const _0x38db1c=this[_0x5c3021(0x20a)][_0x5c3021(0x36d)](l[_0x5c3021(0x231)][_0x5c3021(0xd5)])['getSheetBySheetId'](_0x2eefde);if(!_0x38db1c)return;const _0x2fb148=_0x38db1c[_0x5c3021(0x1d0)](),_0x161594=_0x1ba8dc!=null?_0x1ba8dc:_0x38db1c[_0x5c3021(0x2cc)](),_0x5f1033=(_0x571be6=this[_0x5c3021(0x2dd)][_0x5c3021(0x26d)](_0x1ad695))==null?void 0x0:_0x571be6[_0x5c3021(0x37b)](B[_0x5c3021(0xf3)])[_0x5c3021(0x219)]({'sheetId':_0x2eefde});if(!_0x5f1033)return;_0x161594&&((_0x23ba2d=_0x5f1033==null?void 0x0:_0x5f1033[_0x5c3021(0x39d)])==null||_0x23ba2d[_0x5c3021(0x34c)]((_0x42b9d5,_0x1f141e,_0x279bfa)=>{const _0x33c349=_0x5c3021,{endColumn:_0x562d46}=_0x279bfa;_0x562d46>_0x161594[_0x33c349(0x2af)]&&(_0x161594[_0x33c349(0x2af)]=_0x562d46);}));const _0x414cb2=this[_0x5c3021(0x36e)][_0x5c3021(0x139)]['fetchThroughInterceptors'](this[_0x5c3021(0x36e)][_0x5c3021(0x139)][_0x5c3021(0x129)]()[_0x5c3021(0x18f)])(_0x161594,{'unitId':_0x1ad695,'subUnitId':_0x2eefde});return _0x414cb2?this[_0x5c3021(0x344)](_0x2eefde,{..._0x414cb2,'startColumn':Math[_0x5c3021(0x108)](_0x2fb148[_0x5c3021(0x393)]-_0x2fb148[_0x5c3021(0x22d)],0x0),'startRow':Math[_0x5c3021(0x108)](_0x2fb148[_0x5c3021(0x2e6)]-_0x2fb148[_0x5c3021(0x180)],0x0)}):null;}[_0x23e56b(0x29d)](_0x5ed912,_0x213bf4){const _0x18e865=_0x23e56b,_0x203538=this[_0x18e865(0x27b)][_0x18e865(0x205)](_0x5ed912)[_0x18e865(0x103)](_0x213bf4);return _0x203538?_0x203538['map'](_0x273fab=>this['_calculateFinalRange'](_0x213bf4,_0x273fab[_0x18e865(0x198)])):[];}[_0x23e56b(0x344)](_0x3d3ece,_0x2a2d03){const _0x11ee84=_0x23e56b,_0x304796=this[_0x11ee84(0x20a)][_0x11ee84(0x36d)](l[_0x11ee84(0x231)]['UNIVER_SHEET']),_0x4672e8=_0x304796[_0x11ee84(0x29f)](_0x3d3ece),_0x3de373=this[_0x11ee84(0x149)],_0x43acc9=_0x304796[_0x11ee84(0x171)](),_0x5dcab1=this[_0x11ee84(0x2ad)],{top:_0x43af,right:_0x505ed7,bottom:_0x52c3cd,left:_0x3fdedf}=this[_0x11ee84(0x2fa)];_0x5dcab1['h']-=_0x43af+_0x52c3cd,_0x5dcab1['w']-=_0x3fdedf+_0x505ed7;const _0x34c8f0=this['_renderManagerService'][_0x11ee84(0x26d)](_0x43acc9)[_0x11ee84(0x37b)](B[_0x11ee84(0xf3)]);if(_0x2a2d03[_0x11ee84(0x2e6)]>-0x1&&_0x2a2d03[_0x11ee84(0x393)]>-0x1){const _0x365421=_0x34c8f0['getOrCreateSkeleton']({'sheetId':_0x3d3ece});if(!_0x4672e8||!_0x365421)return null;let _0xd53c2e=_0x2a2d03['startRow'];const _0x2a47a6=_0x2a2d03['endRow'];let _0x53b3ca=_0x2a2d03[_0x11ee84(0x393)];const _0x357a0e=_0x2a2d03[_0x11ee84(0x2af)],_0xb4d6c7=_0x4672e8['getFreeze'](),_0x1771c1=vt(this[_0x11ee84(0x21b)](_0x365421,_0x2a2d03,_0xb4d6c7));let _0x30ff51=-0x1,_0x537b15=0x0,_0x2fbefc=-0x1,_0x1ca0c9=0x0;const _0x1c0fc2=_0x365421[_0x11ee84(0x1c3)],_0x4c3684=_0x365421[_0x11ee84(0x38c)];if(_0xb4d6c7[_0x11ee84(0x22d)]&&_0x3de373[_0x11ee84(0x2b6)][_0x11ee84(0xee)](G[_0x11ee84(0x2d1)])){if(_0x357a0e>=_0xb4d6c7[_0x11ee84(0x393)]){const _0x267de2=_0x1771c1*(_0x1c0fc2[_0xb4d6c7[_0x11ee84(0x393)]-0x1]-(_0x1c0fc2[_0xb4d6c7[_0x11ee84(0x393)]-_0xb4d6c7['xSplit']-0x1]||0x0));_0x267de2<_0x5dcab1['w']&&(_0x2fbefc=_0xb4d6c7['startColumn'],_0x1ca0c9=_0xb4d6c7['xSplit'],_0x5dcab1['w']-=_0x267de2);}else{const _0x2afb44=_0x357a0e+0x1,_0xe868bb=_0x357a0e+0x1-(_0xb4d6c7['startColumn']-_0xb4d6c7[_0x11ee84(0x22d)]),_0x312ad9=_0x1771c1*(_0x1c0fc2[_0x2fbefc-0x1]-(_0x1c0fc2[_0x2fbefc-_0x1ca0c9]-0x1||0x0));_0x312ad9<_0x5dcab1['w']&&(_0x2fbefc=_0x2afb44,_0x1ca0c9=_0xe868bb,_0x5dcab1['w']-=_0x312ad9);}}if(_0x53b3ca=Math[_0x11ee84(0x108)](_0x2fbefc,_0x53b3ca),_0xb4d6c7[_0x11ee84(0x180)]&&_0x3de373['freeze'][_0x11ee84(0xee)](G[_0x11ee84(0x130)])){if(_0x2a47a6>=_0xb4d6c7[_0x11ee84(0x2e6)]){const _0x51a617=_0x4c3684[_0xb4d6c7[_0x11ee84(0x2e6)]]-_0x4c3684[_0xb4d6c7[_0x11ee84(0x2e6)]-_0xb4d6c7[_0x11ee84(0x180)]];_0x51a617<_0x5dcab1['h']&&(_0x30ff51=_0xb4d6c7[_0x11ee84(0x2e6)],_0x537b15=_0xb4d6c7[_0x11ee84(0x180)],_0x5dcab1['h']-=_0x51a617);}else _0x30ff51=_0x2a47a6+0x1,_0x537b15=_0x2a47a6+0x1-(_0xb4d6c7[_0x11ee84(0x2e6)]-_0xb4d6c7[_0x11ee84(0x180)]),_0x5dcab1['h']=_0x5dcab1['h']-_0x4c3684[_0x30ff51]-_0x4c3684[_0x30ff51-_0x537b15];}return _0xd53c2e=Math['max'](_0x30ff51,_0xd53c2e),{'unitId':_0x43acc9,'subUnitId':_0x3d3ece,'range':{'startRow':_0xd53c2e,'endRow':_0x2a47a6,'startColumn':_0x53b3ca,'endColumn':_0x357a0e},'freeze':{'startRow':_0x30ff51,'startColumn':_0x2fbefc,'xSplit':_0x1ca0c9,'ySplit':_0x537b15},'contentSize':_0x5dcab1,'scale':_0x1771c1};}return{'unitId':_0x43acc9,'subUnitId':_0x3d3ece,'range':mt,'freeze':je,'contentSize':_0x5dcab1,'scale':0x1};}[_0x23e56b(0x21b)](_0x5e8314,_0x35bc1f,_0x153b78){const _0x558b9e=_0x23e56b,_0x153975=_0x5e8314[_0x558b9e(0x1c3)],_0x2f9101=_0x5e8314[_0x558b9e(0x38c)],{xSplit:_0x3fbd5d,ySplit:_0x29da4e,startColumn:_0x4697b3,startRow:_0x1ead35}=_0x153b78;let {startRow:_0x5b487b,startColumn:_0x4f0882}=_0x35bc1f;const {endColumn:_0x3d51a1,endRow:_0x295e52}=_0x35bc1f;_0x5b487b=_0x295e52<_0x1ead35?_0x5b487b:Math[_0x558b9e(0x108)](_0x1ead35,_0x5b487b),_0x4f0882=_0x3d51a1<_0x4697b3?_0x4f0882:Math[_0x558b9e(0x108)](_0x4697b3,_0x4f0882);const {scale:_0x83945e,customScale:_0x1c326a}=this[_0x558b9e(0x149)],_0x42b556=this[_0x558b9e(0x2ad)],_0x421788=this[_0x558b9e(0x2fa)],_0x13a373=_0x3fbd5d>0x0?(_0x153975[_0x4697b3-0x1]||0x0)-(_0x153975[_0x4697b3-_0x3fbd5d-0x1]||0x0):0x0,_0x442fc4=_0x29da4e>0x0?(_0x2f9101[_0x1ead35-0x1]||0x0)-(_0x2f9101[_0x1ead35-_0x29da4e-0x1]||0x0):0x0,_0x125b21=_0x2f9101[_0x295e52]-(_0x2f9101[_0x5b487b-0x1]||0x0),_0x26f7a0=_0x153975[_0x3d51a1]-(_0x153975[_0x4f0882-0x1]||0x0),_0x1f953c=_0x125b21+_0x442fc4,_0x8c00b1=_0x26f7a0+_0x13a373;switch(_0x83945e){case I['PrintScale'][_0x558b9e(0x29a)]:return _0x1c326a;case I['PrintScale']['FitWidth']:return Math[_0x558b9e(0x2a2)](0x1,(_0x42b556['w']-_0x421788['left']-_0x421788['right'])/_0x8c00b1);case I[_0x558b9e(0x1b1)]['FitHeight']:return Math[_0x558b9e(0x2a2)](0x1,(_0x42b556['h']-_0x421788['top']-_0x421788['bottom'])/_0x1f953c);case I[_0x558b9e(0x1b1)][_0x558b9e(0x188)]:return Math['min'](0x1,(_0x42b556['w']-_0x421788[_0x558b9e(0x2a9)]-_0x421788['right'])/_0x8c00b1,(_0x42b556['h']-_0x421788[_0x558b9e(0x184)]-_0x421788[_0x558b9e(0x186)])/_0x1f953c);default:return 0x1;}}[_0x23e56b(0x394)](){const _0x4bfad2=_0x23e56b;var _0x4c48a4;const {area:_0x54f55a,subUnitIds:_0x3d34a8}=this[_0x4bfad2(0x149)],_0x4e807e=this[_0x4bfad2(0x20a)][_0x4bfad2(0x36d)](l[_0x4bfad2(0x231)][_0x4bfad2(0xd5)]),_0x59fd08=_0x4e807e[_0x4bfad2(0x171)]();switch(_0x54f55a){case O[_0x4bfad2(0x325)]:{const _0x1602b0=(_0x4c48a4=_0x4e807e[_0x4bfad2(0x23b)]())==null?void 0x0:_0x4c48a4[_0x4bfad2(0x322)]();if(_0x1602b0!=null){const _0x586961=this['_calculateSheetRangeById'](_0x59fd08,_0x1602b0);if(_0x586961)return[_0x586961];const _0x32d419=this['_univerInstanceService']['getCurrentUnitOfType'](l[_0x4bfad2(0x231)][_0x4bfad2(0xd5)]),_0x52bc0c=_0x32d419[_0x4bfad2(0x23b)]();return _0x52bc0c?this[_0x4bfad2(0x29d)](_0x32d419[_0x4bfad2(0x171)](),_0x52bc0c[_0x4bfad2(0x322)]()):(console['warn'](_0x4bfad2(0x146)),[]);}return[];}case O[_0x4bfad2(0x261)]:{const _0x171403=this[_0x4bfad2(0x20a)]['getCurrentUnitOfType'](l[_0x4bfad2(0x231)][_0x4bfad2(0xd5)]),_0x555cb9=_0x171403[_0x4bfad2(0x23b)]();return _0x555cb9?this['_calculateCurrentSelectionRange'](_0x171403[_0x4bfad2(0x171)](),_0x555cb9[_0x4bfad2(0x322)]()):(console['warn'](_0x4bfad2(0x146)),[]);}case O[_0x4bfad2(0x251)]:return this['_univerInstanceService'][_0x4bfad2(0x36d)](l['UniverInstanceType'][_0x4bfad2(0xd5)])['getSheets']()[_0x4bfad2(0x15c)](_0x99000c=>this['_calculateCurrentSelectionRange'](_0x59fd08,_0x99000c[_0x4bfad2(0x322)]()))[_0x4bfad2(0x1a4)]();default:return(_0x3d34a8[_0x4bfad2(0x238)]?_0x3d34a8:_0x4e807e[_0x4bfad2(0x3c4)]()[_0x4bfad2(0x2f6)](_0x167bce=>!_0x167bce[_0x4bfad2(0x3c1)]())[_0x4bfad2(0x15c)](_0x26567d=>_0x26567d[_0x4bfad2(0x322)]()))['map'](_0x545ff4=>this[_0x4bfad2(0x37c)](_0x59fd08,typeof _0x545ff4==_0x4bfad2(0x1b3)?_0x545ff4:_0x545ff4['id'],typeof _0x545ff4==_0x4bfad2(0x1b3)?void 0x0:_0x545ff4[_0x4bfad2(0x198)]))[_0x4bfad2(0x2f6)](Boolean);}}[_0x23e56b(0x2e5)](_0x1b17ac){const _0x1abd3b=_0x23e56b,{subUnitId:_0x1fe1f4,range:_0x5285e5,freeze:_0x23e71d,unitId:_0xdd6c04,scale:_0x3f56c4,contentSize:_0xad8784}=_0x1b17ac,_0x59a9b7=this[_0x1abd3b(0x2dd)][_0x1abd3b(0x26d)](_0xdd6c04)['with'](B[_0x1abd3b(0xf3)])[_0x1abd3b(0x219)]({'sheetId':_0x1fe1f4});if(!_0x59a9b7)return;const {rowHeightAccumulation:_0x37e8dd,columnWidthAccumulation:_0x1b39cb}=_0x59a9b7,{w:_0x1814c1,h:_0x4e7ffe}=_0xad8784,{startRow:_0x2416a6,startColumn:_0x571682,endColumn:_0x2d77f0,endRow:_0x214280}=_0x5285e5,_0x5ea3f9=_0x4f1f41=>{const _0x132527=_0x1abd3b;let _0x1e0f48=_0x4f1f41;const _0x316f74=this[_0x132527(0x149)]['maxRowsEachPage']<=_0x23e71d[_0x132527(0x180)]?0x1/0x0:this[_0x132527(0x149)]['maxRowsEachPage']-0x1-_0x23e71d[_0x132527(0x180)]+_0x4f1f41,_0x54e47f=_0x4f1f41===0x0?0x0:_0x37e8dd[_0x4f1f41-0x1];for(;_0x1e0f48<_0x214280;){const _0xdcaf40=(_0x37e8dd[_0x1e0f48]-_0x54e47f)*_0x3f56c4,_0x32044c=(_0x37e8dd[_0x1e0f48+0x1]-_0x54e47f)*_0x3f56c4;if(_0x1e0f48++,_0xdcaf40>=_0x4e7ffe||_0xdcaf40<_0x4e7ffe&&_0x32044c>_0x4e7ffe)return{'startRow':_0x4f1f41,'endRow':Math[_0x132527(0x2a2)](_0x1e0f48-0x1,_0x316f74)};}return{'startRow':_0x4f1f41,'endRow':Math[_0x132527(0x2a2)](_0x1e0f48,_0x316f74)};},_0x5b1567=_0x548e3d=>{const _0x593f7d=_0x1abd3b;let _0x32df0c=_0x548e3d;const _0x7a688b=_0x548e3d===0x0?0x0:_0x1b39cb[_0x548e3d-0x1],_0x1cc14c=this[_0x593f7d(0x149)][_0x593f7d(0x167)]<=_0x23e71d[_0x593f7d(0x22d)]?0x1/0x0:this[_0x593f7d(0x149)][_0x593f7d(0x167)]-0x1-_0x23e71d['xSplit']+_0x548e3d;for(;_0x32df0c<_0x2d77f0;){const _0x4fbe88=(_0x1b39cb[_0x32df0c]-_0x7a688b)*_0x3f56c4,_0x3ed5a1=(_0x1b39cb[_0x32df0c+0x1]-_0x7a688b)*_0x3f56c4;if(_0x32df0c++,_0x4fbe88<_0x1814c1&&_0x3ed5a1>_0x1814c1||_0x4fbe88>=_0x1814c1)return{'startColumn':_0x548e3d,'endColumn':Math['min'](_0x32df0c-0x1,_0x1cc14c)};}return{'startColumn':_0x548e3d,'endColumn':Math[_0x593f7d(0x2a2)](_0x32df0c,_0x1cc14c)};},_0x1bf3d4=[];let _0x2659d0=_0x2416a6;for(;_0x2659d0<=_0x214280;){const _0x45da03=_0x5ea3f9(_0x2659d0);_0x1bf3d4[_0x1abd3b(0x292)](_0x45da03),_0x2659d0=_0x45da03[_0x1abd3b(0x1c4)]+0x1;}const _0x515559=[];let _0x4bd2d3=_0x571682;for(;_0x4bd2d3<=_0x2d77f0;){const _0x83025c=_0x5b1567(_0x4bd2d3);_0x515559[_0x1abd3b(0x292)](_0x83025c),_0x4bd2d3=_0x83025c['endColumn']+0x1;}const _0x29f291=[];for(let _0x1ded36=0x0;_0x1ded36<_0x1bf3d4['length'];_0x1ded36++)for(let _0x17ca6=0x0;_0x17ca6<_0x515559[_0x1abd3b(0x238)];_0x17ca6++)_0x29f291['push']({..._0x1bf3d4[_0x1ded36],..._0x515559[_0x17ca6]});return{'unitId':_0xdd6c04,'subUnitId':_0x1fe1f4,'pages':_0x29f291,'freeze':_0x23e71d,'scale':_0x3f56c4,'pageSize':this['paperSize'],'margin':this[_0x1abd3b(0x2fa)]};}},exports[_0x23e56b(0x38e)]=pt([oe(0x0,l['IUniverInstanceService']),oe(0x1,l[_0x23e56b(0x2a8)]($[_0x23e56b(0x19d)])),oe(0x2,l[_0x23e56b(0x2a8)](B[_0x23e56b(0x18d)])),oe(0x3,j[_0x23e56b(0x208)])],exports[_0x23e56b(0x38e)]);const Le={0x0:'Q',0x1:'L',0x2:'8',0x3:'c',0x4:'g',0x5:'N',0x6:'1',0x7:'9',0x8:'A',0x9:'p','P':'0','a':'2','f':'3','p':'4','D':'5','H':'6','N':'7','c':'a','X':'b','d':'d','Y':'e','E':'f','v':'h','T':'i','M':'j','l':'k','x':'l','C':'m','i':'n','y':'o','t':'q','K':'r','s':'s','S':'t','q':'u','Z':'v','h':'w','u':'x','L':'y','n':'z','F':'B','V':'C','g':'D','R':'E','Q':'F','r':'G','z':'H','b':'I','w':'J','o':'K','W':'M','U':'O','I':'P','e':'R','J':'S','j':'T','O':'U','B':'V','m':'W','G':'X','k':'Y','A':'Z'},De='Eqi3STyi\x20dY3KL9STyi(xT3YisY,\x209qXxT3oYL)\x20{\x20\x20\x20\x20SKL\x20{\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20xT3YisYbiEyIcKS8KKcL\x20=\x20xT3YisY.s9xTS(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20yKT4TiWYssc4Y\x20=\x20wJU5.9cKsY(cSyX(xT3YisYbiEyIcKS8KKcL[a]));\x20\x20\x20\x20\x20\x20\x20\x20TE\x20(!yKT4TiWYssc4Y.qd)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yKT4TiWYssc4Y.qd\x20=\x205qCXYK(xT3YisYbiEyIcKS8KKcL[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20TsmyKlYK\x20=\x20SL9YyE\x20myKlYKrxyXcxJ3y9Y\x20!==\x20\x27qidYETiYd\x27\x20&&\x20sYxE\x20TisSci3YyE\x20myKlYKrxyXcxJ3y9Y;\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20TsFKyhsYK\x20=\x20SL9YyE\x20hTidyh\x20!==\x20\x27qidYETiYd\x27\x20&&\x20SL9YyE\x20hTidyh.xy3cSTyi\x20!==\x20\x27qidYETiYd\x27;\x20\x20\x20\x20\x20\x20\x20\x203yisS\x203yiSYuS\x20=\x20TsmyKlYK\x20?\x20sYxE\x20:\x20(TsFKyhsYK\x20?\x20hTidyh\x20:\x204xyXcxjvTs);\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20CYssc4YmyKd\x20=\x203yiSYuS.__FcsYHp__.9cKsY(xT3YisYbiEyIcKS8KKcL[a]);\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20CYssc4Y\x20=\x203yiSYuS.__zYu__.sSKTi4TEL(CYssc4YmyKd);\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20sT4icSqKYmyKd\x20=\x203yiSYuS.__FcsYHp__.9cKsY(xT3YisYbiEyIcKS8KKcL[f]);\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20sT4icSqKY\x20=\x203yiSYuS.__zYu__.sSKTi4TEL(sT4icSqKYmyKd);\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20sT4iBcxTd\x20=\x203yiSYuS.__ZYKTEL__(sT4icSqKY,\x20CYssc4Y,\x209qXxT3oYL);\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20dyCcTi\x20=\x20yKT4TiWYssc4Y.dC;\x20\x20\x20\x20\x20\x20\x20\x20Eqi3STyi\x20TsgyCcTiWcS3vTi4(yIcSSYKi,\x20yzysS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203yisS\x209cSSYKi\x20=\x20yIcSSYKi.KY9xc3Y(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20vysS\x20=\x20yzysS.KY9xc3Y(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203yisS\x209cSSYKiIcKSs\x20=\x209cSSYKi.s9xTS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20vysSIcKSs\x20=\x20vysS.s9xTS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TE\x20(!9cSSYKi.Ti3xqdYs(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KYSqKi\x209cSSYKi\x20===\x20vysS;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TE\x20(9cSSYKiIcKSs.xYi4Sv\x20<\x20a\x20||\x209cSSYKiIcKSs[P]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KYSqKi\x20EcxsY;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203yisS\x209cSSYKiJqEETu\x20=\x209cSSYKiIcKSs.sxT3Y(6).MyTi(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20vysSJqEETu\x20=\x20vysSIcKSs.sxT3Y(-9cSSYKiIcKSs.xYi4Sv\x20+\x206).MyTi(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KYSqKi\x209cSSYKiJqEETu\x20===\x20vysSJqEETu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xYS\x20dyCcTiBcxTd\x20=\x20EcxsY;\x20\x20\x20\x20\x20\x20\x20\x20TE\x20(TsFKyhsYK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dyCcTiBcxTd\x20=\x20(dyCcTi\x20&&\x20dyCcTi.xYi4Sv)\x20?\x20dyCcTi.syCY((dCbSYC)\x20=>\x20TsgyCcTiWcS3vTi4(dCbSYC,\x20xy3cSTyi.vysSicCY))\x20:\x20SKqY;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TE\x20(xy3cSTyi.vysSicCY\x20===\x20\x27xy3cxvysS\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dyCcTiBcxTd\x20=\x20SKqY;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20YxsY\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dyCcTiBcxTd\x20=\x20SKqY;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203yisS\x20ZcxTd\x20=\x20sT4iBcxTd\x20&&\x20dyCcTiBcxTd;\x20\x20\x20\x20\x20\x20\x20\x20KYSqKi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZcxTd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CYssc4Y:\x20yKT4TiWYssc4Y,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x203cS3v\x20(YKKyK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20KYSqKi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZcxTd:\x20EcxsY,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CYssc4Y:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ft=(_0x1cd9a4,_0xff45f)=>{const _0x1f3caa=_0x23e56b;if(!_0x1cd9a4||!_0xff45f)return!0x0;const _0x1f82b3=W[_0x1f3caa(0x245)](De,Le),_0x5cc939=new Function(_0x1f3caa(0x38a)+_0x1f82b3)()(_0x1cd9a4,_0xff45f)[_0x1f3caa(0xd8)],_0x26e946=W[_0x1f3caa(0x2aa)](_0x5cc939,'sf',Ne);return!((_0x5cc939==null?void 0x0:_0x5cc939['rt'])===W['ReleaseType']['NO_COMMERCIAL']&&!_0x26e946);},_e=(_0x242c71,_0x751065,_0x2b8988)=>{const _0x5c2c40=_0x23e56b,_0x1c31b6={'page':_0x242c71,'isPro':!0x1,'timeValid':!0x1};if(!_0x751065||!_0x2b8988)return _0x1c31b6;const _0xcf5694=W[_0x5c2c40(0x245)](De,Le),_0x113a55=new Function(_0x5c2c40(0x38a)+_0xcf5694)()(_0x751065,_0x2b8988);if(_0x113a55['valid']){const _0x1a4fd1=_0x113a55[_0x5c2c40(0xd8)],_0x515b99=W[_0x5c2c40(0x2aa)](_0x1a4fd1,'sf',Ne);_0x1c31b6[_0x5c2c40(0x11b)]=_0x515b99,_0x1c31b6[_0x5c2c40(0x15a)]=_0x515b99;const _0x4b1453=0x0;_0x1c31b6['page']=W[_0x5c2c40(0x111)](_0x1a4fd1,_0x515b99,'mpn',_0x242c71,_0x242c71,_0x4b1453);}return _0x1c31b6;};function Fe(_0x5e81e4){const _0x21803c=_0x23e56b;var _0x2ba5ff;const _0x258523=(_0x2ba5ff=_0x5e81e4[_0x21803c(0x303)](l[_0x21803c(0x1d1)])[_0x21803c(0x1fb)](W[_0x21803c(0x201)]))!=null?_0x2ba5ff:{},{ls:_0x2fabce,pbk:_0xdd5919}=_0x258523;return _e(0x3,_0x2fabce,_0xdd5919)['isPro'];}function Z({ref:_0x1dd905,..._0x3f1c3c}){const _0x2f6d0a=_0x23e56b,{icon:_0x3170f0,id:_0x466184,className:_0x141127,extend:_0x5aff02,..._0x56fa6d}=_0x3f1c3c,_0x4c9b6f=(_0x2f6d0a(0x220)+_0x466184+'\x20'+(_0x141127||''))[_0x2f6d0a(0x3c7)](),_0x4a2315=C[_0x2f6d0a(0x369)]('_'+yt());return Ye(_0x3170f0,''+_0x466184,{'defIds':_0x3170f0['defIds'],'idSuffix':_0x4a2315[_0x2f6d0a(0x114)]},{'ref':_0x1dd905,'className':_0x4c9b6f,..._0x56fa6d},_0x5aff02);}function Ye(_0x56ca5b,_0x1d5902,_0x2e54bf,_0x41bc4f,_0x25a3fb){const _0x25b684=_0x23e56b;return C[_0x25b684(0x1b0)](_0x56ca5b[_0x25b684(0x13f)],{'key':_0x1d5902,...St(_0x56ca5b,_0x2e54bf,_0x25a3fb),..._0x41bc4f},(Ct(_0x56ca5b,_0x2e54bf)[_0x25b684(0x212)]||[])['map']((_0x55fcde,_0x55992e)=>Ye(_0x55fcde,_0x1d5902+'-'+_0x56ca5b[_0x25b684(0x13f)]+'-'+_0x55992e,_0x2e54bf,void 0x0,_0x25a3fb)));}function St(_0x5934b2,_0x5dd88d,_0x15bdcb){const _0x4aa048=_0x23e56b,_0x12fd81={..._0x5934b2[_0x4aa048(0x376)]};_0x15bdcb!=null&&_0x15bdcb[_0x4aa048(0x1bb)]&&_0x12fd81[_0x4aa048(0x397)]==='colorChannel1'&&(_0x12fd81[_0x4aa048(0x397)]=_0x15bdcb[_0x4aa048(0x1bb)]),_0x5934b2[_0x4aa048(0x13f)]===_0x4aa048(0x2fb)&&_0x12fd81['id']&&(_0x12fd81['id']=_0x12fd81['id']+_0x5dd88d['idSuffix']),Object[_0x4aa048(0x273)](_0x12fd81)[_0x4aa048(0x14f)](([_0x234967,_0x1246c3])=>{const _0x46854a=_0x4aa048;_0x234967===_0x46854a(0x2fb)&&typeof _0x1246c3==_0x46854a(0x1b3)&&(_0x12fd81[_0x234967]=_0x1246c3[_0x46854a(0x104)](/url\(#(.*)\)/,_0x46854a(0x287)+_0x5dd88d[_0x46854a(0x141)]+')'));});const {defIds:_0xed6a3a}=_0x5dd88d;return!_0xed6a3a||_0xed6a3a['length']===0x0||(_0x5934b2[_0x4aa048(0x13f)]===_0x4aa048(0x338)&&_0x12fd81[_0x4aa048(0x1bd)]&&(_0x12fd81[_0x4aa048(0x1bd)]=_0x12fd81[_0x4aa048(0x1bd)]+_0x5dd88d[_0x4aa048(0x141)]),Object[_0x4aa048(0x273)](_0x12fd81)[_0x4aa048(0x14f)](([_0xd48169,_0x4cb79c])=>{const _0x1b81c3=_0x4aa048;typeof _0x4cb79c==_0x1b81c3(0x1b3)&&(_0x12fd81[_0xd48169]=_0x4cb79c[_0x1b81c3(0x104)](/url\(#(.*)\)/,'url(#$1'+_0x5dd88d['idSuffix']+')'));})),_0x12fd81;}function Ct(_0x1c68b0,_0x3cbf0a){const _0x19a436=_0x23e56b;var _0x182e8b;const {defIds:_0x12d7c0}=_0x3cbf0a;return!_0x12d7c0||_0x12d7c0[_0x19a436(0x238)]===0x0?_0x1c68b0:_0x1c68b0[_0x19a436(0x13f)]===_0x19a436(0x299)&&((_0x182e8b=_0x1c68b0['children'])!=null&&_0x182e8b[_0x19a436(0x238)])?{..._0x1c68b0,'children':_0x1c68b0[_0x19a436(0x212)][_0x19a436(0x15c)](_0x7cd26f=>typeof _0x7cd26f[_0x19a436(0x376)]['id']==_0x19a436(0x1b3)&&_0x12d7c0&&_0x12d7c0[_0x19a436(0xee)](_0x7cd26f[_0x19a436(0x376)]['id'])?{..._0x7cd26f,'attrs':{..._0x7cd26f['attrs'],'id':_0x7cd26f['attrs']['id']+_0x3cbf0a[_0x19a436(0x141)]}}:_0x7cd26f)}:_0x1c68b0;}function yt(){const _0x58daf7=_0x23e56b;return Math['random']()[_0x58daf7(0x340)](0x24)['substring'](0x2,0x8);}Z['displayName']=_0x23e56b(0xef);const _t={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':_0x23e56b(0x2c7),'fill':_0x23e56b(0x2eb),'viewBox':_0x23e56b(0x14e),'width':_0x23e56b(0x39c),'height':_0x23e56b(0x39c)},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0x3b7)}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0x218)}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':'M8.87598\x209.16592C8.87598\x208.83455\x209.14461\x208.56592\x209.47598\x208.56592H11.476C11.8073\x208.56592\x2012.076\x208.83455\x2012.076\x209.16592C12.076\x209.49729\x2011.8073\x209.76592\x2011.476\x209.76592H9.47598C9.14461\x209.76592\x208.87598\x209.49729\x208.87598\x209.16592Z'}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':'currentColor','d':_0x23e56b(0xf4)}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':'currentColor','d':_0x23e56b(0x1e7),'fillRule':_0x23e56b(0x1c9),'clipRule':_0x23e56b(0x1c9)}}]},Oe=C[_0x23e56b(0x342)](function(_0xcc2825,_0xb45c4d){const _0x5afe06=_0x23e56b;return C[_0x5afe06(0x1b0)](Z,Object['assign']({},_0xcc2825,{'id':_0x5afe06(0x335),'ref':_0xb45c4d,'icon':_t}));});Oe[_0x23e56b(0x10a)]=_0x23e56b(0x266);const xt={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x23e56b(0x39c),'height':'1em'},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0x2ff)}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':'M8.14248\x200.899902C4.22126\x200.899902\x201.04248\x204.07868\x201.04248\x207.9999C1.04248\x2011.9211\x204.22126\x2015.0999\x208.14248\x2015.0999C12.0637\x2015.0999\x2015.2425\x2011.9211\x2015.2425\x207.9999C15.2425\x204.07868\x2012.0637\x200.899902\x208.14248\x200.899902ZM2.24248\x207.9999C2.24248\x204.74142\x204.884\x202.0999\x208.14248\x202.0999C11.401\x202.0999\x2014.0425\x204.74142\x2014.0425\x207.9999C14.0425\x2011.2584\x2011.401\x2013.8999\x208.14248\x2013.8999C4.884\x2013.8999\x202.24248\x2011.2584\x202.24248\x207.9999Z','fillRule':_0x23e56b(0x1c9),'clipRule':_0x23e56b(0x1c9)}}]},Ae=C[_0x23e56b(0x342)](function(_0x33b725,_0x3d5bbf){const _0x5e180b=_0x23e56b;return C[_0x5e180b(0x1b0)](Z,Object['assign']({},_0x33b725,{'id':_0x5e180b(0x3b0),'ref':_0x3d5bbf,'icon':xt}));});Ae[_0x23e56b(0x10a)]='ClockIcon';const bt={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23e56b(0x2eb),'viewBox':'0\x200\x2017\x2016','width':_0x23e56b(0x39c),'height':'1em'},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0x1a3),'fillRule':_0x23e56b(0x1c9),'clipRule':_0x23e56b(0x1c9)}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':'M10.3911\x203.84419C10.6254\x203.60988\x2011.0053\x203.60988\x2011.2396\x203.84419L11.8818\x204.48643V1.93496C11.8818\x201.60359\x2012.1505\x201.33496\x2012.4818\x201.33496C12.8132\x201.33496\x2013.0818\x201.60359\x2013.0818\x201.93496V4.48676L13.7244\x203.84419C13.9587\x203.60988\x2014.3386\x203.60988\x2014.5729\x203.84419C14.8072\x204.07851\x2014.8072\x204.45841\x2014.5729\x204.69272L12.9063\x206.35939C12.6719\x206.5937\x2012.292\x206.5937\x2012.0577\x206.35939L10.3911\x204.69272C10.1568\x204.45841\x2010.1568\x204.07851\x2010.3911\x203.84419Z'}}]},ze=C[_0x23e56b(0x342)](function(_0x2a4c7f,_0x479bac){const _0x22f9f8=_0x23e56b;return C[_0x22f9f8(0x1b0)](Z,Object[_0x22f9f8(0x395)]({},_0x2a4c7f,{'id':_0x22f9f8(0xd1),'ref':_0x479bac,'icon':bt}));});ze['displayName']=_0x23e56b(0xec);const wt={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':_0x23e56b(0x2c7),'fill':_0x23e56b(0x2eb),'viewBox':_0x23e56b(0x33a),'width':_0x23e56b(0x39c),'height':_0x23e56b(0x39c)},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':'currentColor','d':'M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','fillRule':_0x23e56b(0x1c9),'clipRule':_0x23e56b(0x1c9)}}]},xe=C[_0x23e56b(0x342)](function(_0x181269,_0x12e34e){const _0x47bdb1=_0x23e56b;return C[_0x47bdb1(0x1b0)](Z,Object[_0x47bdb1(0x395)]({},_0x181269,{'id':'more-down-icon','ref':_0x12e34e,'icon':wt}));});xe[_0x23e56b(0x10a)]=_0x23e56b(0x2d9);const It={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23e56b(0x2eb),'viewBox':_0x23e56b(0x33a),'width':'1em','height':_0x23e56b(0x39c)},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0xd7)}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':'M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','fillRule':'evenodd','clipRule':'evenodd'}}]},Ve=C['forwardRef'](function(_0x1dcb42,_0x15a4b1){const _0x5ba281=_0x23e56b;return C['createElement'](Z,Object[_0x5ba281(0x395)]({},_0x1dcb42,{'id':'print-icon','ref':_0x15a4b1,'icon':It}));});Ve['displayName']=_0x23e56b(0x12f);const Tt={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':_0x23e56b(0x2c7),'fill':_0x23e56b(0x2eb),'viewBox':_0x23e56b(0x33a),'width':_0x23e56b(0x39c),'height':_0x23e56b(0x39c)},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0x140),'fillRule':_0x23e56b(0x1c9),'clipRule':'evenodd'}},{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0x31d),'fillRule':'evenodd','clipRule':'evenodd'}}]},Ue=C[_0x23e56b(0x342)](function(_0x51eae9,_0x2e0120){const _0x336c78=_0x23e56b;return C[_0x336c78(0x1b0)](Z,Object[_0x336c78(0x395)]({},_0x51eae9,{'id':_0x336c78(0x1f5),'ref':_0x2e0120,'icon':Tt}));});Ue[_0x23e56b(0x10a)]=_0x23e56b(0x272);const Pt={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':_0x23e56b(0x2c7),'fill':_0x23e56b(0x2eb),'viewBox':_0x23e56b(0x14e),'width':'1em','height':_0x23e56b(0x39c)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x23e56b(0x2da)},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'d':_0x23e56b(0x1ad)}},{'tag':_0x23e56b(0x3a0),'attrs':{'d':'M10.2289\x206.40552C9.89754\x206.40552\x209.62891\x206.67415\x209.62891\x207.00552C9.62891\x207.33689\x209.89754\x207.60552\x2010.2289\x207.60552H12.2954V14.0055C12.2954\x2014.3369\x2012.564\x2014.6055\x2012.8954\x2014.6055C13.2268\x2014.6055\x2013.4954\x2014.3369\x2013.4954\x2014.0055V7.60552H15.5622C15.8936\x207.60552\x2016.1622\x207.33689\x2016.1622\x207.00552C16.1622\x206.67415\x2015.8936\x206.40552\x2015.5622\x206.40552H10.2289Z'}}]},{'tag':_0x23e56b(0x299),'attrs':{},'children':[{'tag':_0x23e56b(0x33d),'attrs':{'id':_0x23e56b(0x1a7)},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':_0x23e56b(0x387),'d':'M0\x200H16V16H0z','transform':_0x23e56b(0x1e8)}}]}]}],'defIds':[_0x23e56b(0x1a7)]},He=C[_0x23e56b(0x342)](function(_0x53212e,_0x221923){const _0x39f538=_0x23e56b;return C[_0x39f538(0x1b0)](Z,Object[_0x39f538(0x395)]({},_0x53212e,{'id':_0x39f538(0x1f2),'ref':_0x221923,'icon':Pt}));});function _0x4d6e(){const _0xfaa2e8=['_drawPrintGrid','5SpKroM','PaperMarginMap','Engine','unier-w-[761px]\x20univer-mx-auto\x20univer-my-4\x20univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-bg-white\x20univer-px-6\x20univer-py-7\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','endX','_initMenus','http://www.w3.org/2000/svg','BuildTextUtils','fillStyle','TimeA','20AEDfuw','getCellMatrixPrintRange','print.grid.title','has','print.size.a5','print.headerFooter.time','Column','DEFAULT_FONTFACE_PLANE','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-white\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-white','getInstance','univer-pro.sheet-print-manager.service','DateE','@Page','Workbook','MoreDownIcon','url(#text-icon_clip0_1293_26)','@DateC','Input','_renderManagerService','params','ILocalStorageService','sheet.operation.cancel-print','rect','_totalHeight','useMemo','pages','_calculateSheetPages','startRow','getDocumentDataModel','setContainer','permission.dialog.printErr','print.headerFooter.timeB','none','Middle','SUBITEMS','print.margin.bottom','print.area.title','getRangeImage','ZoomIncreaseIcon','SheetPageTotal','isCustomHeaderFooter','PAGE_SIZE','univer-my-4\x20univer-text-center','filter','object','borderClassName','getPermissionPoint','paperMargin','mask','getEditorId','container','PrintDirection','M8.24483\x204.80026C8.24487\x204.46889\x207.97627\x204.20023\x207.6449\x204.2002C7.31353\x204.20016\x207.04487\x204.46876\x207.04483\x204.80013L7.04443\x208.40306C7.04442\x208.56222\x207.10763\x208.71486\x207.22017\x208.82739L9.64664\x2011.2539C9.88095\x2011.4882\x2010.2608\x2011.4882\x2010.4952\x2011.2539C10.7295\x2011.0195\x2010.7295\x2010.6396\x2010.4952\x2010.4053L8.24446\x208.15463L8.24483\x204.80026Z','getCurrentUnitForType','print.headerFooter.display.sheetPage','print.scale.normal','get','primary','_printService','reLayout','Loading','PrintHeaderFooter','univer-relative\x20univer-box-border\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-overflow-hidden','ICommandService','print.orientation.portrait','VIEW_MAIN_TOP','print.header.total','CheckboxGroup','default','M7.5\x2014.1406C7.5\x2014.4168\x207.72386\x2014.6406\x208\x2014.6406C8.27614\x2014.6406\x208.5\x2014.4168\x208.5\x2014.1406V8.47424H14.1664C14.4425\x208.47424\x2014.6664\x208.25039\x2014.6664\x207.97424C14.6664\x207.6981\x2014.4425\x207.47424\x2014.1664\x207.47424H8.5V1.80786C8.5\x201.53172\x208.27614\x201.30786\x208\x201.30786C7.72386\x201.30786\x207.5\x201.53172\x207.5\x201.80786V7.47424H1.83362C1.55748\x207.47424\x201.33362\x207.6981\x201.33362\x207.97424C1.33362\x208.25038\x201.55748\x208.47424\x201.83362\x208.47424H7.5V14.1406Z','bottomRight','univer-relative\x20first:univer-mr-2','DateC','sheets-print.config','print.size.tabloid','univer-p-4','print.size.statement','syncExecuteCommand','PrintFreeze','resetCache','blur','UniverLicensePlugin','M1.90107\x200.578613C1.45925\x200.578613\x201.10107\x200.936785\x201.10107\x201.37861V11.8216C1.10107\x2013.8098\x202.71285\x2015.4216\x204.70107\x2015.4216H14.0987C14.5406\x2015.4216\x2014.8987\x2015.0634\x2014.8987\x2014.6216V4.17861C14.8987\x202.19039\x2013.287\x200.578613\x2011.2987\x200.578613H1.90107ZM2.30107\x2011.8216V1.77861H11.2987C12.6242\x201.77861\x2013.6987\x202.85313\x2013.6987\x204.17861V14.2216H4.70107C3.37559\x2014.2216\x202.30107\x2013.1471\x202.30107\x2011.8216Z','_componentManager','startX','SheetPage','univer-absolute\x20univer-bottom-4\x20univer-right-4\x20univer-z-[1000]','getSheetId','End','value','CurrentSheet','topRight','POSITIVE_INFINITY','_initShortcuts','reduce','_layoutInfos$','bottomLeft','createPrintStyle','13px\x20','print.headerFooter.display.timeD','onCommandExecuted','_previewScale','12px\x20','COMMAND','univer-flex\x20univer-w-full','print.limit.waterMark','calendar-icon','print.headerFooter.dateB','label','use','PRINT_GRID_SIDEBAR_COMPONENT','0\x200\x2016\x2016','getCollabEntity','print.size.b5','clipPath','noreferrer\x20noopener','@DateD','toString','getMenuHiddenObservable','forwardRef','_root','_calculateFinalRange','dispose','selection','Statement','updateLayoutConfig','asObservable','TimeB','@DateB','forValue','startIndex','_getTranslateOffset','fixLineWidthByScale','replaceRenderConfig','text','univer-space-y-2\x20univer-border-t\x20univer-pb-4','call','visible$','scale','print.selection.workbookUnit','margin','fontBoundingBoxDescent','CustomRangeType','Start','print.selection.allWorkbook','scaleY','registerShortcut','ISheetPrintManagerService','PageTotal','100%','renderConfig$','_subUnitId','_initConfigChangeListener','WorksheetCopyPermission','__esModule','scaleX','164202zKRhGs','print.formatting.skeleton','useRef','_visible$','_isPreview','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','getCurrentUnitOfType','_sheetPrintInterceptorService','_skeleton','print.selection.title','print.area.currentSheet','marginCustom','UserInfo','CancelSheetPrintOperation','page','attrs','@TimeD','univer-relative\x20univer-mx-2\x20univer-my-0\x20univer-flex-grow','print.size.legal','IMessageService','with','_calculateSheetRangeById','sheet.operation.print-open','PRINT_CANVAS_CLASS','Legal','defineProperty','endIndex','print.margin.left','univer-w-full','_initCommands','Spreadsheet','toStringTag','white','appendChild','_renderMainScene','return\x20','parentElement','rowHeightAccumulation','pageSize','SheetPrintManagerService','ISidebarService','DependentOn','actions','IUniverInstanceService','startColumn','_calculateSubSheetRange','assign','print.header.cancel','fill','customRanges','IPermissionService','_viewLeftTop','isLocalCheck','1em','overflowCache','PrintGridSidebar','print.size.executive','path','DateD','VIEW_MAIN','localeService','devicePixelRatio','executeCommand','print.headerFooter.dateC','setPreviewScale','Checkbox','sheet.menu.print','desc','RichTextBuilder','_spreadsheetObject','_container','@TotalPage','print.headerFooter.display.dateD','clock-icon','univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','_initialize','JSONX','body','Button','Portrait','M8.87598\x2011.8327C8.87598\x2011.5013\x209.14461\x2011.2327\x209.47598\x2011.2327H11.476C11.8073\x2011.2327\x2012.076\x2011.5013\x2012.076\x2011.8327C12.076\x2012.164\x2011.8073\x2012.4327\x2011.476\x2012.4327H9.47598C9.14461\x2012.4327\x208.87598\x2012.164\x208.87598\x2011.8327Z','fetchThroughInterceptors','height','print.margin.top','#E5E5E5','PrintPaperMargin','url','enforceWatermark','getCurrentLocale','print.margin.normal','isSheetHidden','@[]@','_layoutInfos','getSheets','print.headerFooter.display.sheet','subUnitId','trim','print.margin.wide','PageSize','_renderConfig','Image','download-image-icon','getPrototypeOf','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','updateRenderConfig','UNIVER_SHEET','print.orientation.landscape','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','message','getSheetCommandTarget','univer-flex-1\x20univer-overflow-y-auto','univer-text-gray-500','print.headerFooter.display.dateB','create','_viewTop','Normal','className','univer-p-3','print.screenshot.title','useState','print.headerFooter.dateD','__root','zoom-reduce-icon','print.freeze.row','print.scale.fitHeight','_effects','DisposableCollection','values','DownloadImageIcon','clipboard','includes','UniverIcon','Z_INDEX','touchDependencies','Plugin','SheetSkeletonManagerService','M4.80898\x208.56592C4.47761\x208.56592\x204.20898\x208.83455\x204.20898\x209.16592C4.20898\x209.49729\x204.47761\x209.76592\x204.80898\x209.76592H6.80898C7.14036\x209.76592\x207.40898\x209.49729\x207.40898\x209.16592C7.40898\x208.83455\x207.14036\x208.56592\x206.80898\x208.56592H4.80898Z','univer-box-border\x20univer-h-full\x20univer-w-[312px]\x20univer-flex-none\x20univer-bg-white\x20dark:!univer-bg-gray-900','Select','print.align.vertical.middle','sheet.operation.close-print-grid-sidebar','_renderHeaderFooterByCustom','SheetPrintOpenOperation','userInfo','Wide','IShortcutService','print.headerFooter.placeholder','hasOwnProperty','add','_layoutConfig$','print.headerFooter.display.dateC','getSelectionOfWorksheet','replace','print.margin.right','subUnitIds','workbook','max','170469VULHUj','displayName','enumerable','@WorksheetTitle','register','mually','univer-mb-2','MessageType','getSheetFeatureLimit','focus','image/png','current','print.headerFooter.dateE','FitHeight','error','@TimeC','onTransformChange$','sheet.operation.confirm-print','isPro','image','None','headerFooterSetting','_configService','PRINTING_DOM_COLLECT','function','number','round','_shortcutService','8AuuisA','print.limit.link','useVirtualList','FormLayout','getInterceptPoints','_totalWidth','_watermarkConfig','from','print.headerFooter.customHeadFooter','setForceDisableGridlines','PrintIcon','Row','_print','_unitId','useDependency','useEffect','SheetExtension','getName','setConfig','useEvent','interceptor','dataStream','scrollbarClassName','_scene','OPTIONAL','Radio','tag','M10.1562\x204.2458H4.24365V10.1583C4.24365\x2011.042\x204.96\x2011.7583\x205.84365\x2011.7583H11.7562V5.8458C11.7562\x204.96215\x2011.0398\x204.2458\x2010.1562\x204.2458ZM5.44365\x2010.1583V8.53174H7.3999V10.5583H5.84365C5.62274\x2010.5583\x205.44365\x2010.3792\x205.44365\x2010.1583ZM7.3999\x207.33174H5.44365V5.4458H7.3999V7.33174ZM8.5999\x2010.5583V8.53174H10.5562V10.5583H8.5999ZM8.5999\x207.33174H10.5562V5.8458C10.5562\x205.62489\x2010.3771\x205.4458\x2010.1562\x205.4458H8.5999V7.33174Z','idSuffix','relative','@DateA','getUniverSheetInstance','complete','No\x20active\x20sheet\x20found','UserManagerService','WorksheetTitle','_layoutConfig','No\x20workbook\x20found','close','Tabloid','hidden','0\x200\x2017\x2016','forEach','_dirty','right','printGridService','have\x20not\x20permission','print.area.maxColumnsEachPage','properties','print.formatting.waterMark','layoutInfos','univer-absolute\x20univer-left-0\x20univer-z-[1000]\x20univer-min-w-[200px]\x20univer-px-0\x20univer-py-2','sheetPageTotal','timeValid','_config','map','isPrinting','print.scale.title','generateRandomId','{limit}','Time','Error','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-white\x20univer-px-4\x20dark:!univer-bg-gray-900','Disposable','_calculate','print.margin.custom','maxColumnsEachPage','Dropdown','SpreadsheetExtensionRegistry','M1.33362\x207.97412C1.33362\x207.69798\x201.55748\x207.47412\x201.83362\x207.47412L14.1664\x207.47412C14.4425\x207.47412\x2014.6664\x207.69798\x2014.6664\x207.97412C14.6664\x208.25026\x2014.4425\x208.47412\x2014.1664\x208.47412L1.83362\x208.47412C1.55748\x208.47412\x201.33362\x208.25026\x201.33362\x207.97412Z','clearCanvas','getContext','submit','UniverSheetsPrintPlugin','resize','set','getUnitId','vAlign','draw','moveTo','__mode','KeyCode','onReady','beginPath','univer-mt-3','0\x200\x20','layoutConfig','_commandService','univer-h-full\x20univer-overflow-y-auto','enable','@WorkbookTitle','ySplit','merge','print.orientation.title','PRINT_PLUGIN_','top','451742lyUUHu','bottom','subscribe','FitPage','sheet.operation.screenshot','RibbonStartGroup','_sheetPrintManagerService','engine','SheetPrintInterceptorService','TimeC','PRINTING_RANGE','_accessor','_key','4592799fspTdE','PaperType','univer-relative\x20univer-box-border\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','disposeWithMe','univer-flex\x20univer-h-full\x20univer-flex-col','measureText','range','print.area.allSelection','LocaleService','print.size.a3','middle','SheetsSelectionsService','dayjs','uKey','makeForceDirty','univer-size-3\x20univer-text-gray-900\x20univer-transition-transform\x20dark:!univer-text-white','@DateE','M2.35381\x203.65517C2.35381\x202.88198\x202.98061\x202.25518\x203.75381\x202.25518H8.10381C8.43518\x202.25518\x208.70381\x201.98655\x208.70381\x201.65518C8.70381\x201.3238\x208.43518\x201.05518\x208.10381\x201.05518H3.75381C2.31787\x201.05518\x201.15381\x202.21923\x201.15381\x203.65517V12.3552C1.15381\x2013.7911\x202.31787\x2014.9552\x203.75381\x2014.9552H12.4538C13.8897\x2014.9552\x2015.0538\x2013.7911\x2015.0538\x2012.3552V8.00518C15.0538\x207.6738\x2014.7852\x207.40518\x2014.4538\x207.40518C14.1224\x207.40518\x2013.8538\x207.6738\x2013.8538\x208.00518V9.24469L12.3428\x208.11143C11.8294\x207.72642\x2011.1111\x207.77744\x2010.6573\x208.23119L9.11281\x209.77567L6.84342\x207.83047C6.34812\x207.40592\x205.61375\x207.41815\x205.13289\x207.85896L2.35381\x2010.4064V3.65517ZM2.35381\x2012.0343V12.3552C2.35381\x2013.1284\x202.98061\x2013.7552\x203.75381\x2013.7552H12.4538C13.227\x2013.7552\x2013.8538\x2013.1284\x2013.8538\x2012.3552V10.7447L11.6228\x209.07144C11.5871\x209.04469\x2011.5373\x209.04827\x2011.5058\x209.07971L10.0266\x2010.5589L11.2057\x2011.5696C11.4573\x2011.7853\x2011.4865\x2012.164\x2011.2708\x2012.4156C11.0552\x2012.6672\x2010.6764\x2012.6964\x2010.4248\x2012.4807L6.06245\x208.74157C6.02809\x208.71212\x205.97713\x208.71296\x205.94377\x208.74353L2.35381\x2012.0343Z','flat','ContextMenuPosition','OPERATION','text-icon_clip0_1293_26','visible','toLocaleDateString','_initCommandListener','WorkbookViewPermission','setLineDash','M2.22891\x202.07227C1.89754\x202.07227\x201.62891\x202.34089\x201.62891\x202.67227C1.62891\x203.00364\x201.89754\x203.27227\x202.22891\x203.27227H6.29541V14.0056C6.29541\x2014.337\x206.56404\x2014.6056\x206.89541\x2014.6056C7.22678\x2014.6056\x207.49541\x2014.337\x207.49541\x2014.0056V3.27227H11.5622C11.8936\x203.27227\x2012.1622\x203.00364\x2012.1622\x202.67227C12.1622\x202.34089\x2011.8936\x202.07227\x2011.5622\x202.07227H2.22891Z','getNoMergeCellPositionByIndexWithNoHeader','startY','createElement','PrintScale','direction','string','getCurrentRangeDisable$','next','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-900\x20dark:!univer-text-white','print.header.printing','sheet-permission-user-dialog','@TimeA','print.area.currentSelection','colorChannel1','print.headerFooter.sheet','xlink:href','strokeStyle','updateScrollVal','_injector','#1890ff','div','columnWidthAccumulation','endRow','_addViewport','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-white\x20univer-shadow\x20dark:!univer-bg-gray-900','Date','892318uvcqEC','evenodd','IEditorService','now','univer-absolute\x20univer-bottom-0\x20univer-left-0\x20univer-right-0\x20univer-top-0\x20univer-z-[100]\x20univer-flex\x20univer-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-white\x20dark:!univer-bg-gray-900','key','slice','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','getFreeze','IConfigService','show','print.headerFooter.editCustomHeadFooter','TextIcon','lineTo','_initRenderer','Tools','_viewMain','replaceAll','ContextMenuGroup','date','univer-text-base\x20univer-text-gray-900\x20dark:!univer-text-white','getOwnPropertyDescriptor','onafterprint','name','print.margin.title','RichTextEditingMutation','PrintArea','getCurrentLastSelection','_renderLimitWaterMark','fillText','print.headerFooter.timeC','M6.00615\x201.69985C6.00615\x201.36848\x205.73752\x201.09985\x205.40615\x201.09985C5.07478\x201.09985\x204.80615\x201.36848\x204.80615\x201.69985V2.34009H3.64248C2.20654\x202.34009\x201.04248\x203.50415\x201.04248\x204.94009V12.3C1.04248\x2013.7359\x202.20654\x2014.9\x203.64248\x2014.9H12.6425C14.0784\x2014.9\x2015.2425\x2013.7359\x2015.2425\x2012.3V4.94009C15.2425\x203.50415\x2014.0784\x202.34009\x2012.6425\x202.34009H11.4798V1.69985C11.4798\x201.36848\x2011.2112\x201.09985\x2010.8798\x201.09985C10.5484\x201.09985\x2010.2798\x201.36848\x2010.2798\x201.69985V2.34009H6.00615V1.69985ZM14.0425\x205.97021V4.94009C14.0425\x204.16689\x2013.4157\x203.54009\x2012.6425\x203.54009H11.4798V4.09985C11.4798\x204.43122\x2011.2112\x204.69985\x2010.8798\x204.69985C10.5484\x204.69985\x2010.2798\x204.43122\x2010.2798\x204.09985V3.54009H6.00615V4.09985C6.00615\x204.43122\x205.73752\x204.69985\x205.40615\x204.69985C5.07478\x204.69985\x204.80615\x204.43122\x204.80615\x204.09985V3.54009H3.64248C2.86928\x203.54009\x202.24248\x204.16689\x202.24248\x204.94009V5.97021H14.0425ZM2.24248\x207.17021H14.0425V12.3C14.0425\x2013.0731\x2013.4157\x2013.7\x2012.6425\x2013.7H3.64248C2.86928\x2013.7\x202.24248\x2013.0732\x202.24248\x2012.3V7.17021Z','translate(.9)','print.headerFooter.display.title','serialize','overflow','_globalZoneService','SheetPrintClientService','_renderConfig$','currentColor','lineWidth','format','text-icon','sheetPage','getFocusId','sheet-icon','setSelectionRanges','sheet.operation.open-print-grid-sidebar','univer-flex\x20univer-flex-1\x20univer-overflow-hidden','unitId','!univer-min-w-0\x20univer-flex-1','getConfig','_addComponent','bottomCenter','print.size.letter','topLeft','getData','LS_CONFIG_KEY','gridlines','print.headerFooter.title','data','getWorkbookSelections','fontBoundingBoxAscent','univer-pro.print-grid.service','IRenderManagerService','UNIVER_SHEET_PERMISSION_ALERT_DIALOG','_univerInstanceService','WorkbookCopyPermission','WorkbookTitle','print.area.limit','hide','registerCommand','univer-h-[200px]\x20univer-w-[var(--radix-popper-anchor-width)]\x20univer-overflow-y-auto','translateWithPrecision','children','_initPrintGridExtension','DateA','Folio','renderConfig','prepare','M4.80898\x2011.2327C4.47761\x2011.2327\x204.20898\x2011.5013\x204.20898\x2011.8327C4.20898\x2012.164\x204.47761\x2012.4327\x204.80898\x2012.4327H6.80898C7.14036\x2012.4327\x207.40898\x2012.164\x207.40898\x2011.8327C7.40898\x2011.5013\x207.14036\x2011.2327\x206.80898\x2011.2327H4.80898Z','getOrCreateSkeleton','PRINTING_COMPONENT_COLLECT','_calculatePrintScale','getOwnPropertyNames','print.freeze.column','root','parseInt','univerjs-icon\x20univerjs-icon-','restore','OTHERS','ConfirmSheetPrintOperation','jsx','Origin','borderBottomClassName','print.headerFooter.display.timeB','stroke','open','print.header.next','DateB','save','xSplit','print.headerFooter.timeA','ComponentManager','registerDependencies','UniverInstanceType','_initComponents','univer-absolute\x20univer-left-0\x20univer-z-[100]','updateConfig','CommandType','MENTION','floor','length','WorkbookPrintPermission','createIdentifier','getActiveSheet','print.size.a4','CTRL_COMMAND','Injector','getCurrentSelections','univer-ml-2\x20univer-text-base\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','print.headerFooter.display.pageTotal','worksheet','BUTTON','endY','unshiftString','sheet.operation.print','_renderHeaderFooter','RadioGroup','5251674QXdNuu','print.headerFooter.display.timeA','jsxs','print.menu','print.margin.narrow','printManagerService','render','univer-mr-2','AllSelection','VIEW_MAIN_LEFT_TOP','makeDirty','markDirty','_sheetPrintClientService','write','56jlztwx','SHEET_PRINT_PLUGIN','span','print.size.folio','print.scale.fitPage','resizeWhenFreezeChange','menu','vertical','print.align.vertical.start','clearMemory','CurrentSelection','onbeforeprint','isNaN','useObservable','PRINT_CONTAINER_CLASS','CalendarIcon','print.freeze.title','WorksheetViewPermission','TimeD','print.area.maxRowsEachPage','_engine','link','getRenderById','print.size.b4','univer-flex\x20univer-h-16\x20univer-items-center\x20univer-justify-between\x20univer-bg-white\x20univer-px-4\x20dark:!univer-bg-gray-900','univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-[1010]\x20univer-flex\x20univer-justify-center','getCanvas','SheetIcon','entries','toLocaleString','print.size.title','PrintAlign','then','CollaborationController','toDataURL','reset','_sheetsSelectionsSrv','font','UniverNetworkPlugin','Narrow','SHEET_VIEWPORT_KEY','print','print.align.vertical.end','config','awaitTime','IMenuManagerService','focus$','clsx','url(#$1','print.headerFooter.display.dateA','Viewport','split','print.align.horizontal.end','print.align.horizontal.start','IWatermarkTypeEnum','print.header.pages','removeChild','BehaviorSubject','print.formatting.title','push','prototype','find','@SheetPage','9778417rwceEY','sheet','Page','defs','Custom','layoutConfig$','type','_calculateCurrentSelectionRange','univer-ml-2\x20univer-text-lg\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','getSheetBySheetId','area','position','min','hAlign','rgba(0,0,0,0.3)','topCenter','addObject','PRINT_COMPONENT','Inject','left','isFeatureAuthorizedWithinTime','width','maxRowsEachPage','paperSize','Executive','endColumn','_targetRender','disable','print.headerFooter.dateA','setId','_menuManagerService','univer-flex\x20univer-gap-2','freeze','MenuItemType','IGlobalZoneService','style','univer-solid\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700','_viewLeft','Letter','svg','memo','IDialogService'];_0x4d6e=function(){return _0xfaa2e8;};return _0x4d6e();}He['displayName']=_0x23e56b(0x1d4);const Et={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23e56b(0x2eb),'viewBox':_0x23e56b(0x33a),'width':_0x23e56b(0x39c),'height':_0x23e56b(0x39c)},'children':[{'tag':'path','attrs':{'fill':_0x23e56b(0x1ef),'d':_0x23e56b(0x310)}}]},We=C[_0x23e56b(0x342)](function(_0x2f257f,_0x33b324){const _0x2ad4c3=_0x23e56b;return C['createElement'](Z,Object[_0x2ad4c3(0x395)]({},_0x2f257f,{'id':'zoom-increase-icon','ref':_0x33b324,'icon':Et}));});We[_0x23e56b(0x10a)]=_0x23e56b(0x2f1);const Mt={'tag':_0x23e56b(0x2bd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x23e56b(0x33a),'width':'1em','height':_0x23e56b(0x39c)},'children':[{'tag':_0x23e56b(0x3a0),'attrs':{'fill':'currentColor','d':_0x23e56b(0x16a),'fillRule':_0x23e56b(0x1c9),'clipRule':_0x23e56b(0x1c9)}}]},$e=C[_0x23e56b(0x342)](function(_0x2ec6b2,_0xc2f6dc){const _0x2d7191=_0x23e56b;return C['createElement'](Z,Object[_0x2d7191(0x395)]({},_0x2ec6b2,{'id':_0x2d7191(0xe6),'ref':_0xc2f6dc,'icon':Mt}));});$e[_0x23e56b(0x10a)]='ZoomReduceIcon';function Rt(_0x2fe832){const _0x23541f=_0x23e56b,[_0x50ceef,_0x31e5f4]=C[_0x23541f(0xe3)]();return C[_0x23541f(0x134)](()=>{const _0x7bc3f3=_0x23541f;_0x2fe832[_0x7bc3f3(0x277)](_0x161876=>{_0x31e5f4(()=>_0x161876);});},[]),_0x50ceef;}const Be=_0x23e56b(0x314),Pe={};function Ke(_0x4e7fba){const _0x5cd1b4=_0x23e56b,_0x56b682=_0x4e7fba[_0x5cd1b4(0x329)]((_0x19e7e8,_0x42cbf2)=>_0x19e7e8+_0x42cbf2[_0x5cd1b4(0x2e4)][_0x5cd1b4(0x238)],0x0),_0x2b46ee=new Map(),_0x2156af=new Map();_0x4e7fba['forEach'](_0x14ac9a=>{const _0x28cddc=_0x5cd1b4;var _0x974f53;const _0x43a190=_0x14ac9a['pages'][_0x28cddc(0x238)],_0xc74991=(_0x974f53=_0x2156af['get'](_0x14ac9a['subUnitId']))!=null?_0x974f53:0x0;_0x2156af[_0x28cddc(0x170)](_0x14ac9a['subUnitId'],_0x43a190+_0xc74991);});let _0x48f496=0x0;return _0x4e7fba['map'](_0x41d82b=>{const _0xa1d2f3=_0x5cd1b4;var _0xd64723;const _0x12fed3=_0x41d82b[_0xa1d2f3(0x2e4)][_0xa1d2f3(0x238)],_0x203392=(_0xd64723=_0x2b46ee[_0xa1d2f3(0x303)](_0x41d82b['subUnitId']))!=null?_0xd64723:0x0,_0x4e5841=_0x41d82b[_0xa1d2f3(0x2e4)]['map']((_0x4991d4,_0x380055)=>(_0x48f496++,{..._0x41d82b,'range':_0x4991d4,'page':_0x48f496,'pageTotal':_0x56b682,'sheetPageTotal':_0x2156af[_0xa1d2f3(0x303)](_0x41d82b[_0xa1d2f3(0x3c6)]),'sheetPage':_0x380055+0x1+_0x203392}));return _0x2b46ee[_0xa1d2f3(0x2ce)](_0x41d82b[_0xa1d2f3(0x3c6)])?_0x2b46ee[_0xa1d2f3(0x170)](_0x41d82b[_0xa1d2f3(0x3c6)],_0x2b46ee[_0xa1d2f3(0x303)](_0x41d82b[_0xa1d2f3(0x3c6)])+_0x12fed3):_0x2b46ee[_0xa1d2f3(0x170)](_0x41d82b[_0xa1d2f3(0x3c6)],_0x12fed3),_0x4e5841;})[_0x5cd1b4(0x1a4)]();}function z(_0x2b7766,_0x1e238b){const _0x169c49=_0x23e56b;switch(_0x2b7766){case y[_0x169c49(0x20c)]:return _0x1e238b[_0x169c49(0x107)][_0x169c49(0x1df)];case y[_0x169c49(0x148)]:return _0x1e238b[_0x169c49(0x242)][_0x169c49(0x136)]();case y[_0x169c49(0x298)]:return''+_0x1e238b[_0x169c49(0x375)];case y[_0x169c49(0x35f)]:return''+_0x1e238b['pageTotal'];case y['SheetPageTotal']:return''+_0x1e238b[_0x169c49(0x159)];case y[_0x169c49(0x320)]:return''+_0x1e238b['sheetPage'];case y[_0x169c49(0x214)]:return _0x1e238b['now'][_0x169c49(0x1f1)](_0x1e238b[_0x169c49(0x3a3)]['t'](_0x169c49(0x2b2)));case y[_0x169c49(0x22b)]:return _0x1e238b[_0x169c49(0x1cb)]['format'](_0x1e238b[_0x169c49(0x3a3)]['t'](_0x169c49(0x336)));case y[_0x169c49(0x313)]:return _0x1e238b['now'][_0x169c49(0x1f1)](_0x1e238b[_0x169c49(0x3a3)]['t'](_0x169c49(0x3a6)));case y[_0x169c49(0x3a1)]:return _0x1e238b['now'][_0x169c49(0x1f1)](_0x1e238b[_0x169c49(0x3a3)]['t'](_0x169c49(0xe4)));case y[_0x169c49(0x2d6)]:return _0x1e238b['now'][_0x169c49(0x1f1)](_0x1e238b[_0x169c49(0x3a3)]['t'](_0x169c49(0x115)));case y[_0x169c49(0x2ca)]:return _0x1e238b['now'][_0x169c49(0x1f1)](_0x1e238b[_0x169c49(0x3a3)]['t'](_0x169c49(0x22e)));case y[_0x169c49(0x34a)]:return _0x1e238b['now'][_0x169c49(0x1f1)](_0x1e238b[_0x169c49(0x3a3)]['t'](_0x169c49(0x2ea)));case y[_0x169c49(0x18e)]:return _0x1e238b[_0x169c49(0x1cb)]['format'](_0x1e238b['localeService']['t'](_0x169c49(0x1e6)));case y[_0x169c49(0x269)]:return _0x1e238b[_0x169c49(0x1cb)]['format'](_0x1e238b[_0x169c49(0x3a3)]['t']('print.headerFooter.timeD'));}}function _0x2c8a(_0x14173b,_0x2a8e16){const _0x4d6e89=_0x4d6e();return _0x2c8a=function(_0x2c8a3d,_0x41bd01){_0x2c8a3d=_0x2c8a3d-0xd0;let _0x7730ee=_0x4d6e89[_0x2c8a3d];return _0x7730ee;},_0x2c8a(_0x14173b,_0x2a8e16);}const Nt=Object[_0x23e56b(0xeb)](y);function Q(_0x3e50ed,_0x390d59){let _0x4ac35a=_0x3e50ed;return Nt['forEach'](_0x50095d=>{const _0x20c4a5=_0x2c8a;_0x4ac35a=_0x4ac35a[_0x20c4a5(0x1d9)](_0x50095d,z(_0x50095d,_0x390d59));}),_0x4ac35a;}const ve=_0x23e56b(0x3c2);function kt(_0x455010,_0x5bffff){const _0x35e4d5=_0x23e56b;let _0x5e1a09=_0x455010;_0x5bffff[_0x35e4d5(0x14f)](_0x5dc876=>{const _0x316a1d=_0x35e4d5;_0x5e1a09=_0x5e1a09[_0x316a1d(0x1d9)](_0x5dc876[_0x316a1d(0x324)],''+ve+_0x5dc876[_0x316a1d(0x337)]+ve);});const _0x468112=_0x5e1a09[_0x35e4d5(0x28a)](ve),_0x31207c=l['RichTextBuilder'][_0x35e4d5(0xdd)]();return _0x468112[_0x35e4d5(0x14f)]((_0xe3f51b,_0x2276cb)=>{const _0x342b6d=_0x35e4d5;if(_0xe3f51b){if(_0x2276cb%0x2===0x1){const _0x46f8d2=_0xe3f51b,_0x17eeb7={'id':'d','documentStyle':{},'drawings':{},'drawingsOrder':[],'body':{'dataStream':_0xe3f51b,'customBlocks':[],'customRanges':[{'startIndex':0x0,'endIndex':_0xe3f51b['length']-0x1,'rangeId':l[_0x342b6d(0x15f)](),'rangeType':l[_0x342b6d(0x359)][_0x342b6d(0x236)],'properties':{'value':_0x5bffff[_0x342b6d(0x294)](_0x4a4ee9=>_0x4a4ee9[_0x342b6d(0x337)]===_0x46f8d2)[_0x342b6d(0x324)]}}]}};_0x31207c['insertRichText'](_0x17eeb7);}else _0x31207c['insertText'](_0xe3f51b);}}),_0x31207c[_0x35e4d5(0x200)]();}function jt(_0x5348cf){const _0x36e8a1=_0x23e56b;var _0x38402c;if(!(_0x5348cf!=null&&_0x5348cf[_0x36e8a1(0x3b4)]))return'';const _0x48ed5a=l[_0x36e8a1(0x3ab)]['create'](l[_0x36e8a1(0x1d7)]['deepClone'](_0x5348cf));for(;(_0x38402c=_0x48ed5a[_0x36e8a1(0x200)]()[_0x36e8a1(0x3b4)][_0x36e8a1(0x398)])!=null&&_0x38402c[_0x36e8a1(0x238)];){const _0x3b17e8=_0x48ed5a[_0x36e8a1(0x200)]()[_0x36e8a1(0x3b4)][_0x36e8a1(0x398)][0x0];if(!_0x3b17e8)break;_0x48ed5a['delete'](_0x3b17e8[_0x36e8a1(0x34d)],_0x3b17e8[_0x36e8a1(0x381)]+0x1-_0x3b17e8[_0x36e8a1(0x34d)]),_0x48ed5a['insertText'](_0x3b17e8['startIndex'],_0x3b17e8[_0x36e8a1(0x155)][_0x36e8a1(0x324)]);}return _0x48ed5a[_0x36e8a1(0x200)]()['body'][_0x36e8a1(0x13a)];}const se=({icon:_0x279cd2,items:_0x22ee62,active:_0x3e9150,onChange:_0x4bd9c8,onHover:_0x3e09f0,popupDirection:_0x49538f=_0x23e56b(0x184)})=>o[_0x23e56b(0x24b)]('div',{'className':'univer-relative\x20univer-inline-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-900\x20hover:dark:!univer-bg-gray-700','onMouseEnter':()=>_0x3e09f0==null?void 0x0:_0x3e09f0(!0x0),'onMouseLeave':()=>_0x3e09f0==null?void 0x0:_0x3e09f0(!0x1),'children':[o[_0x23e56b(0x224)](_0x23e56b(0x1c2),{'className':_0x23e56b(0x1b6),'children':_0x279cd2}),o['jsx'](xe,{'className':_0x23e56b(0x1a1)}),_0x3e9150&&o[_0x23e56b(0x224)](_0x23e56b(0x1c2),{'style':{[_0x49538f]:_0x23e56b(0x360)},'className':_0x23e56b(0x158),'children':o[_0x23e56b(0x224)]('div',{'className':_0x23e56b(0x2ba),'children':_0x22ee62[_0x23e56b(0x15c)](_0x969ba6=>o[_0x23e56b(0x24b)](_0x23e56b(0x1c2),{'className':_0x23e56b(0x36c),'onClick':()=>{const _0x2229cc=_0x23e56b;_0x4bd9c8==null||_0x4bd9c8(_0x969ba6[_0x2229cc(0x324)]),_0x3e09f0==null||_0x3e09f0(!0x1);},'children':[o[_0x23e56b(0x224)](_0x23e56b(0x1c2),{'className':_0x23e56b(0x1dc),'children':_0x969ba6['label']}),o[_0x23e56b(0x224)]('div',{'className':_0x23e56b(0xd3),'children':_0x969ba6[_0x23e56b(0x3aa)]})]},_0x969ba6[_0x23e56b(0x324)]))})})]}),Lt=_0x2652ce=>{const _0x6f6cd4=_0x23e56b,{onSelect:_0x1be861,popupDirection:_0x24397d}=_0x2652ce,[_0xf78e2f,_0x241442]=C[_0x6f6cd4(0xe3)](),_0x59dd5b=w[_0x6f6cd4(0x133)](l[_0x6f6cd4(0x19a)]),_0x817e2f=_0x59dd5b['getCurrentLocale'](),_0x44d56e=w[_0x6f6cd4(0x133)](l[_0x6f6cd4(0x392)])[_0x6f6cd4(0x36d)](l[_0x6f6cd4(0x231)][_0x6f6cd4(0xd5)]),_0x259c1b=_0x44d56e[_0x6f6cd4(0x23b)](),_0x400840=C['useMemo'](()=>l[_0x6f6cd4(0x19e)](),[]),_0x38c488=C[_0x6f6cd4(0x2e3)](()=>[{'value':y[_0x6f6cd4(0x298)],'label':_0x59dd5b['t']('print.headerFooter.display.page'),'desc':z(y[_0x6f6cd4(0x298)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y['SheetPage'],'label':_0x59dd5b['t'](_0x6f6cd4(0x301)),'desc':z(y[_0x6f6cd4(0x320)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x35f)],'label':_0x59dd5b['t'](_0x6f6cd4(0x241)),'desc':z(y[_0x6f6cd4(0x35f)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x2f2)],'label':_0x59dd5b['t']('print.headerFooter.display.sheetPageTotal'),'desc':z(y[_0x6f6cd4(0x2f2)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})}],[_0x59dd5b,_0x817e2f]),_0x3c2f7d=C[_0x6f6cd4(0x2e3)](()=>[{'value':y[_0x6f6cd4(0x20c)],'label':_0x59dd5b['t']('print.headerFooter.display.title'),'desc':z(y[_0x6f6cd4(0x20c)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x148)],'label':_0x59dd5b['t'](_0x6f6cd4(0x3c5)),'desc':z(y[_0x6f6cd4(0x148)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})}],[_0x59dd5b,_0x817e2f]),_0x30d515=C[_0x6f6cd4(0x2e3)](()=>[{'value':y[_0x6f6cd4(0x214)],'label':_0x59dd5b['t']('print.headerFooter.display.dateA'),'desc':z(y[_0x6f6cd4(0x214)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x22b)],'label':_0x59dd5b['t'](_0x6f6cd4(0xdc)),'desc':z(y[_0x6f6cd4(0x22b)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x313)],'label':_0x59dd5b['t'](_0x6f6cd4(0x102)),'desc':z(y[_0x6f6cd4(0x313)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x3a1)],'label':_0x59dd5b['t'](_0x6f6cd4(0x3af)),'desc':z(y[_0x6f6cd4(0x3a1)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})}],[_0x59dd5b,_0x817e2f]),_0x126a10=C[_0x6f6cd4(0x2e3)](()=>[{'value':y[_0x6f6cd4(0x2ca)],'label':_0x59dd5b['t'](_0x6f6cd4(0x24a)),'desc':z(y[_0x6f6cd4(0x2ca)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y['TimeB'],'label':_0x59dd5b['t'](_0x6f6cd4(0x227)),'desc':z(y[_0x6f6cd4(0x34a)],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x18e)],'label':_0x59dd5b['t']('print.headerFooter.display.timeC'),'desc':z(y['TimeC'],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})},{'value':y[_0x6f6cd4(0x269)],'label':_0x59dd5b['t'](_0x6f6cd4(0x32e)),'desc':z(y['TimeD'],{'workbook':_0x44d56e,'worksheet':_0x259c1b,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x59dd5b,'now':_0x400840})}],[_0x59dd5b,_0x817e2f]);return o[_0x6f6cd4(0x24b)](_0x6f6cd4(0x1c2),{'className':h[_0x6f6cd4(0x286)]('univer-rounded-md\x20univer-bg-white\x20univer-p-1\x20univer-shadow\x20dark:!univer-bg-gray-900',h[_0x6f6cd4(0x2f8)]),'children':[o[_0x6f6cd4(0x224)](se,{'icon':o[_0x6f6cd4(0x224)](Ue,{}),'items':_0x38c488,'onHover':_0x46de01=>_0x241442(_0x46de01?_0x6f6cd4(0x297):''),'active':_0xf78e2f===_0x6f6cd4(0x297),'onChange':_0x1be861,'popupDirection':_0x24397d}),o[_0x6f6cd4(0x224)](se,{'icon':o[_0x6f6cd4(0x224)](He,{}),'items':_0x3c2f7d,'onHover':_0x384b01=>_0x241442(_0x384b01?_0x6f6cd4(0x351):''),'active':_0xf78e2f===_0x6f6cd4(0x351),'onChange':_0x1be861,'popupDirection':_0x24397d}),o[_0x6f6cd4(0x224)](se,{'icon':o[_0x6f6cd4(0x224)](Oe,{}),'items':_0x30d515,'onHover':_0x370c8d=>_0x241442(_0x370c8d?_0x6f6cd4(0x1db):''),'active':_0xf78e2f===_0x6f6cd4(0x1db),'onChange':_0x1be861,'popupDirection':_0x24397d}),o[_0x6f6cd4(0x224)](se,{'icon':o[_0x6f6cd4(0x224)](Ae,{}),'items':_0x126a10,'onHover':_0x201035=>_0x241442(_0x201035?'time':''),'active':_0xf78e2f==='time','onChange':_0x1be861,'popupDirection':_0x24397d})]});};function Dt({width:_0x50a95e=0x2b9,height:_0x4b6fa9=0x229,cols:_0x2fa364=0x8,rows:_0x3e7514=0x18,cellWidth:_0x17c465=0x57,cellHeight:_0xb23dd8=0x17,strokeColor:_0x2a8341=_0x23e56b(0x3bb)}){const _0x24fb81=_0x23e56b,_0x3f4010=C[_0x24fb81(0x2e3)](()=>{const _0x10c693=_0x24fb81,_0x55fd30=[];for(let _0x3f6fbc=0x0;_0x3f6fbc<_0x3e7514;_0x3f6fbc++)for(let _0x367a20=0x0;_0x367a20<_0x2fa364;_0x367a20++)_0x55fd30[_0x10c693(0x292)](o[_0x10c693(0x224)](_0x10c693(0x2e1),{'x':_0x367a20*_0x17c465+0.5,'y':_0x3f6fbc*_0xb23dd8+0.5,'width':_0x17c465,'height':_0xb23dd8,'stroke':_0x2a8341},_0x3f6fbc+'-'+_0x367a20));return _0x55fd30;},[_0x3e7514,_0x2fa364,_0x17c465,_0xb23dd8,_0x2a8341]);return o[_0x24fb81(0x224)](_0x24fb81(0x2bd),{'width':_0x50a95e,'height':_0x4b6fa9,'viewBox':_0x24fb81(0x17a)+_0x50a95e+'\x20'+_0x4b6fa9,'fill':_0x24fb81(0x2eb),'xmlns':_0x24fb81(0x2c7),'children':_0x3f4010});}const ee=_0x91b427=>{const _0x195360=_0x23e56b;var _0x39bf0e;const {value:_0x3eaed7,onChange:_0x704213,popupDirection:_0x682bcd=_0x195360(0x184)}=_0x91b427,_0x50a787=w[_0x195360(0x133)](l[_0x195360(0x19a)]),_0xb546a2=_0x50a787[_0x195360(0x3bf)](),_0x9ba2e8=w[_0x195360(0x133)](Ie[_0x195360(0x1ca)]),[_0x78fcd9,_0x2fad27]=C[_0x195360(0xe3)](!0x1),_0x5346e3=C['useRef'](null),_0x5af6f1=w[_0x195360(0x133)](l[_0x195360(0x30a)]),_0xfc444a=_0x9ba2e8[_0x195360(0x1f4)](),_0x56ba58=_0x5346e3[_0x195360(0x114)]&&_0xfc444a===((_0x39bf0e=_0x5346e3[_0x195360(0x114)])==null?void 0x0:_0x39bf0e[_0x195360(0x2fc)]());w[_0x195360(0x264)](_0x9ba2e8[_0x195360(0x285)]),w[_0x195360(0x264)](_0x9ba2e8['blur$']);const _0x445d94=C[_0x195360(0x2e3)](()=>[{'value':y[_0x195360(0x298)],'label':_0x50a787['t']('print.headerFooter.display.page')},{'value':y[_0x195360(0x320)],'label':_0x50a787['t']('print.headerFooter.display.sheetPage')},{'value':y[_0x195360(0x35f)],'label':_0x50a787['t'](_0x195360(0x241))},{'value':y[_0x195360(0x2f2)],'label':_0x50a787['t']('print.headerFooter.display.sheetPageTotal')}],[_0x50a787,_0xb546a2]),_0x4ae5d7=C[_0x195360(0x2e3)](()=>[{'value':y[_0x195360(0x20c)],'label':_0x50a787['t'](_0x195360(0x1e9))},{'value':y[_0x195360(0x148)],'label':_0x50a787['t'](_0x195360(0x3c5))}],[_0x50a787,_0xb546a2]),_0xc10e0=C[_0x195360(0x2e3)](()=>[{'value':y[_0x195360(0x214)],'label':_0x50a787['t'](_0x195360(0x288))},{'value':y[_0x195360(0x22b)],'label':_0x50a787['t'](_0x195360(0xdc))},{'value':y['DateC'],'label':_0x50a787['t'](_0x195360(0x102))},{'value':y[_0x195360(0x3a1)],'label':_0x50a787['t']('print.headerFooter.display.dateD')}],[_0x50a787,_0xb546a2]),_0x2a5b66=C['useMemo'](()=>[{'value':y[_0x195360(0x2ca)],'label':_0x50a787['t'](_0x195360(0x24a))},{'value':y[_0x195360(0x34a)],'label':_0x50a787['t'](_0x195360(0x227))},{'value':y[_0x195360(0x18e)],'label':_0x50a787['t']('print.headerFooter.display.timeC')},{'value':y[_0x195360(0x269)],'label':_0x50a787['t'](_0x195360(0x32e))}],[_0x50a787,_0xb546a2]),_0x1bcfce=C[_0x195360(0x2e3)](()=>[..._0x445d94,..._0x4ae5d7,..._0xc10e0,..._0x2a5b66],[_0x445d94,_0x4ae5d7,_0xc10e0,_0x2a5b66]),[_0x461276]=C[_0x195360(0xe3)](()=>kt(_0x3eaed7,_0x1bcfce));return o[_0x195360(0x24b)](_0x195360(0x1c2),{'className':_0x195360(0x378),'children':[o[_0x195360(0x224)](Ie['RichTextEditor'],{'editorRef':_0x5346e3,'initialValue':_0x461276,'onChange':_0x823f25=>{_0x704213==null||_0x704213(jt(_0x823f25));},'onFocusChange':_0x3018b9=>{_0x2fad27(!!_0x3018b9);},'onClickOutside':()=>{const _0x17ae47=_0x195360;var _0x55409a;(_0x55409a=_0x5346e3[_0x17ae47(0x114)])==null||_0x55409a[_0x17ae47(0x1f6)]([]),_0x9ba2e8[_0x17ae47(0x31b)]();},'placeholder':_0x50a787['t'](_0x195360(0xfe))}),o[_0x195360(0x224)](_0x195360(0x1c2),{'className':_0x195360(0x233),'style':{[_0x682bcd]:0x24},'children':_0x56ba58&&o[_0x195360(0x224)](Lt,{'popupDirection':_0x682bcd,'onSelect':async _0x7edf25=>{const _0x37fd09=_0x195360;var _0xce250b;const _0x3e9309=(_0xce250b=_0x5346e3[_0x37fd09(0x114)])==null?void 0x0:_0xce250b[_0x37fd09(0x2fc)]();if(!_0x5346e3['current'])return;const _0x32294e=_0x5346e3[_0x37fd09(0x114)]['getCursorPosition']();if(_0x32294e<0x0)return;const _0x5836d4=_0x1bcfce[_0x37fd09(0x294)](_0x15ff78=>_0x15ff78[_0x37fd09(0x324)]===_0x7edf25);if(!_0x5836d4)return;const _0x19267a={'dataStream':_0x5836d4[_0x37fd09(0x337)],'customRanges':[{'startIndex':0x0,'endIndex':_0x5836d4[_0x37fd09(0x337)]['length']-0x1,'rangeId':l[_0x37fd09(0x15f)](),'rangeType':l[_0x37fd09(0x359)][_0x37fd09(0x236)],'properties':{'value':_0x5836d4['value']},'wholeEntity':!0x0}]};await l[_0x37fd09(0x283)](0x0);const _0x23265b=l[_0x37fd09(0x2c8)][_0x37fd09(0x346)][_0x37fd09(0x104)]({'selection':{'startOffset':_0x32294e,'endOffset':_0x32294e,'collapsed':!0x0},'body':_0x19267a,'doc':_0x5346e3['current'][_0x37fd09(0x2e7)]()});if(!_0x23265b)return;const _0x5e740c={'id':lt[_0x37fd09(0x1e1)]['id'],'params':{'unitId':_0x3e9309,'actions':[],'textRanges':[{'startOffset':_0x32294e+_0x19267a['dataStream'][_0x37fd09(0x238)],'endOffset':_0x32294e+_0x19267a[_0x37fd09(0x13a)][_0x37fd09(0x238)],'collapsed':!0x0}],'trigger':_0x37fd09(0x10e)}},_0x4b95b1=l[_0x37fd09(0x3b3)][_0x37fd09(0x2d4)]();_0x5e740c[_0x37fd09(0x2de)][_0x37fd09(0x391)]=_0x4b95b1['editOp'](_0x23265b[_0x37fd09(0x1ea)]()),_0x5af6f1[_0x37fd09(0x318)](_0x5e740c['id'],_0x5e740c[_0x37fd09(0x2de)]),setTimeout(()=>{const _0x3c6e69=_0x37fd09;_0x9ba2e8[_0x3c6e69(0x112)](_0x3e9309);},0x0);}})})]});},Ft=_0x499ec6=>{const _0x1b0f25=_0x23e56b;var _0x4d0435;const {onClose:_0xd2ac04}=_0x499ec6,_0xc48d8c=w[_0x1b0f25(0x133)](H),_0x2ad282=(_0x4d0435=_0xc48d8c['renderConfig'][_0x1b0f25(0x11e)])!=null?_0x4d0435:ye,[_0x217d81,_0x5655f1]=C[_0x1b0f25(0xe3)](_0x2ad282[_0x1b0f25(0x1ff)]),[_0x24081c,_0x333f6a]=C[_0x1b0f25(0xe3)](_0x2ad282['topCenter']),[_0x1b12a9,_0x2b111c]=C[_0x1b0f25(0xe3)](_0x2ad282['topRight']),[_0x21ffac,_0x30f695]=C[_0x1b0f25(0xe3)](_0x2ad282['bottomLeft']),[_0x2a77dc,_0x7b8738]=C[_0x1b0f25(0xe3)](_0x2ad282[_0x1b0f25(0x1fd)]),[_0x460cd3,_0x5acc57]=C[_0x1b0f25(0xe3)](_0x2ad282[_0x1b0f25(0x311)]),_0x28b895=w[_0x1b0f25(0x133)](l['LocaleService']);return o[_0x1b0f25(0x24b)](_0x1b0f25(0x1c2),{'className':_0x1b0f25(0x1cc),'children':[o[_0x1b0f25(0x24b)](_0x1b0f25(0x1c2),{'className':h[_0x1b0f25(0x286)](_0x1b0f25(0x163),h[_0x1b0f25(0x226)]),'children':[o['jsx']('div',{'className':_0x1b0f25(0x29e),'children':_0x28b895['t'](_0x1b0f25(0x1d3))}),o['jsxs'](_0x1b0f25(0x1c2),{'className':_0x1b0f25(0x312),'children':[o[_0x1b0f25(0x224)](h[_0x1b0f25(0x3b5)],{'className':_0x1b0f25(0x250),'onClick':()=>{_0xd2ac04();},'children':_0x28b895['t'](_0x1b0f25(0x396))}),o['jsx'](h['Button'],{'variant':_0x1b0f25(0x304),'onClick':()=>{const _0x2de2cc=_0x1b0f25;_0xd2ac04(),_0xc48d8c[_0x2de2cc(0xd4)]({'headerFooterSetting':{'topLeft':_0x217d81,'topCenter':_0x24081c,'topRight':_0x1b12a9,'bottomLeft':_0x21ffac,'bottomCenter':_0x2a77dc,'bottomRight':_0x460cd3}});},'children':_0x28b895['t']('print.headerFooter.submit')})]})]}),o[_0x1b0f25(0x224)](_0x1b0f25(0x1c2),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','children':o['jsx'](_0x1b0f25(0x1c2),{'className':'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','children':o['jsxs'](_0x1b0f25(0x1c2),{'className':_0x1b0f25(0x2c4),'children':[o['jsxs'](_0x1b0f25(0x1c2),{'className':_0x1b0f25(0x333),'children':[o[_0x1b0f25(0x224)](ee,{'value':_0x217d81,'onChange':_0x3d0c98=>_0x5655f1(_0x3d0c98)}),o['jsx'](ee,{'value':_0x24081c,'onChange':_0xcf4ce4=>_0x333f6a(_0xcf4ce4)}),o[_0x1b0f25(0x224)](ee,{'value':_0x1b12a9,'onChange':_0x1f0f7a=>_0x2b111c(_0x1f0f7a)})]}),o[_0x1b0f25(0x224)](_0x1b0f25(0x1c2),{'className':'univer-mx-2\x20univer-my-5','children':o[_0x1b0f25(0x224)](Dt,{})}),o['jsxs'](_0x1b0f25(0x1c2),{'className':_0x1b0f25(0x333),'children':[o[_0x1b0f25(0x224)](ee,{'popupDirection':_0x1b0f25(0x186),'value':_0x21ffac,'onChange':_0x1206c8=>_0x30f695(_0x1206c8)}),o[_0x1b0f25(0x224)](ee,{'popupDirection':_0x1b0f25(0x186),'value':_0x2a77dc,'onChange':_0x431b8e=>_0x7b8738(_0x431b8e)}),o[_0x1b0f25(0x224)](ee,{'popupDirection':_0x1b0f25(0x186),'value':_0x460cd3,'onChange':_0x1d1442=>_0x5acc57(_0x1d1442)})]})]})})})]});};class fe extends l['Disposable']{constructor(_0x3de3c0,_0x4a74a4,_0x5950a7,_0x3e1f72=!0x0,_0x50384f=0x1){const _0x1a25f=_0x23e56b;super(),R(this,_0x1a25f(0x26b)),R(this,'_scene'),R(this,'_key'),R(this,_0x1a25f(0x132)),R(this,_0x1a25f(0x362)),R(this,'_viewMain'),R(this,'_viewLeft'),R(this,_0x1a25f(0xde)),R(this,_0x1a25f(0x39a)),R(this,_0x1a25f(0x3ad),document['createElement']('div')),R(this,_0x1a25f(0x343),document['createElement'](_0x1a25f(0x1c2))),R(this,_0x1a25f(0x36f)),R(this,_0x1a25f(0x20a)),R(this,'_dirty',!0x0),R(this,_0x1a25f(0x2b0)),R(this,_0x1a25f(0xe9),new l['DisposableCollection']()),R(this,_0x1a25f(0x3ac)),R(this,_0x1a25f(0x12a),0x0),R(this,'_totalHeight',0x0),(this['_accessor']=_0x3de3c0,this['_config']=_0x4a74a4,this['_renderConfig']=_0x5950a7,this['_isPreview']=_0x3e1f72,this[_0x1a25f(0x330)]=_0x50384f);const {unitId:_0x52d19b,subUnitId:_0x58bbfa}=this[_0x1a25f(0x15b)];this[_0x1a25f(0x132)]=_0x52d19b,this[_0x1a25f(0x362)]=_0x58bbfa,this[_0x1a25f(0x191)]=_0x52d19b+'_'+_0x58bbfa,this['_univerInstanceService']=this[_0x1a25f(0x190)][_0x1a25f(0x303)](l[_0x1a25f(0x392)]);const _0x308516=this[_0x1a25f(0x190)][_0x1a25f(0x303)](j['IRenderManagerService']);this['_targetRender']=_0x308516[_0x1a25f(0x26d)](_0x52d19b);const _0x2f79a9=this[_0x1a25f(0x2b0)][_0x1a25f(0x37b)](B[_0x1a25f(0xf3)])[_0x1a25f(0x219)]({'sheetId':_0x58bbfa});this[_0x1a25f(0x36f)]=_0x2f79a9,this[_0x1a25f(0x343)][_0x1a25f(0xe0)]=_0x1a25f(0xe5),this[_0x1a25f(0x1d6)]();}get[_0x23e56b(0x12b)](){const _0xf14898=_0x23e56b;return this[_0xf14898(0x3ca)]['watermark'];}get[_0x23e56b(0x1cd)](){const _0x585996=_0x23e56b;return this[_0x585996(0x191)];}get[_0x23e56b(0x18c)](){const _0x4ba396=_0x23e56b;return this[_0x4ba396(0x26b)];}get[_0x23e56b(0x2fd)](){return this['_container'];}get['root'](){const _0x56eb84=_0x23e56b;return this[_0x56eb84(0x343)];}get['renderConfig'](){const _0x21a15b=_0x23e56b;return this[_0x21a15b(0x3ca)];}set['renderConfig'](_0x10d4ab){const _0x3b065b=_0x23e56b;this[_0x3b065b(0x3ca)]=_0x10d4ab;}['dispose'](){const _0x402e76=_0x23e56b;var _0x3d8456;super['dispose'](),this['_effects']['dispose'](),(_0x3d8456=this[_0x402e76(0x3ad)][_0x402e76(0x38b)])==null||_0x3d8456[_0x402e76(0x28f)](this[_0x402e76(0x3ad)]);}get['paperSize'](){const _0x1371a6=_0x23e56b,{w:_0x52d8c1,h:_0x4f59ba}=this[_0x1371a6(0x15b)][_0x1371a6(0x38d)];return{'w':_0x52d8c1*this['_previewScale'],'h':_0x4f59ba*this['_previewScale']};}get['margin'](){const _0x3be0cf=_0x23e56b,_0x541fc8=this[_0x3be0cf(0x15b)][_0x3be0cf(0x357)];return{'top':_0x541fc8[_0x3be0cf(0x184)]*this[_0x3be0cf(0x330)],'bottom':_0x541fc8[_0x3be0cf(0x186)]*this[_0x3be0cf(0x330)],'left':_0x541fc8[_0x3be0cf(0x2a9)]*this[_0x3be0cf(0x330)],'right':_0x541fc8[_0x3be0cf(0x151)]*this[_0x3be0cf(0x330)]};}[_0x23e56b(0x1d6)](){const _0x1fa6d1=_0x23e56b,_0x98fb9c=this['paperSize'],_0xd2fbf6=this[_0x1fa6d1(0x15b)][_0x1fa6d1(0x355)]*this['_previewScale'],_0xa819ef=this['_isPreview']?Math[_0x1fa6d1(0x108)](0x1,window[_0x1fa6d1(0x3a4)]):0x1;this[_0x1fa6d1(0x26b)]=new j[(_0x1fa6d1(0x2c3))]('',{'elementWidth':_0x98fb9c['w'],'elementHeight':_0x98fb9c['h'],'dpr':_0xa819ef,'renderMode':j['CanvasRenderMode']['Printing']}),this[_0x1fa6d1(0x13c)]=new j['Scene'](this[_0x1fa6d1(0x191)],this[_0x1fa6d1(0x26b)]),this[_0x1fa6d1(0x13c)][_0x1fa6d1(0x355)](_0xd2fbf6,_0xd2fbf6),this[_0x1fa6d1(0x26b)][_0x1fa6d1(0x2e8)](this['_container'],this[_0x1fa6d1(0x36b)]),this['_engine']['getCanvas']()[_0x1fa6d1(0x16c)]()[_0x1fa6d1(0x2b3)](this[_0x1fa6d1(0x191)]+'_'+l[_0x1fa6d1(0x15f)](0x4)),this[_0x1fa6d1(0x1fc)](),this[_0x1fa6d1(0x1c5)](),this[_0x1fa6d1(0x195)]({'dispose':()=>{const _0x42420f=_0x1fa6d1;this[_0x42420f(0x26b)][_0x42420f(0x345)](),this[_0x42420f(0x13c)]['dispose'](),this[_0x42420f(0x260)]();}});}[_0x23e56b(0x260)](){const _0x48d986=_0x23e56b;this[_0x48d986(0x36f)][_0x48d986(0x31a)]();}[_0x23e56b(0x3a7)](_0x1e5977){const _0x199cd1=_0x23e56b;this[_0x199cd1(0x13c)]['scale'](this['_config'][_0x199cd1(0x355)]*_0x1e5977,this[_0x199cd1(0x15b)][_0x199cd1(0x355)]*_0x1e5977),this[_0x199cd1(0x330)]=_0x1e5977,this[_0x199cd1(0x254)](!0x0);}['updateConfig'](_0x32816b){const _0x2e91fe=_0x23e56b;this[_0x2e91fe(0x15b)]=_0x32816b,this['markDirty'](!0x0);}[_0x23e56b(0x254)](_0x51d4af){const _0x2419f4=_0x23e56b;this[_0x2419f4(0x150)]=_0x51d4af;}[_0x23e56b(0x1fc)](){const _0x57fd78=_0x23e56b,_0x123801=new j[(_0x57fd78(0x385))]('__SpreadsheetPrintRender__',this[_0x57fd78(0x36f)],!0x1);_0x123801[_0x57fd78(0x15d)]=!0x0,this[_0x57fd78(0x13c)][_0x57fd78(0x2a6)](_0x123801),this[_0x57fd78(0x3ac)]=_0x123801;const _0x57a1a8=this[_0x57fd78(0x190)][_0x57fd78(0x303)](B['SheetPrintInterceptorService']);_0x57a1a8['interceptor'][_0x57fd78(0x3b8)](_0x57a1a8[_0x57fd78(0x139)]['getInterceptPoints']()[_0x57fd78(0x21a)])(void 0x0,{'unitId':this[_0x57fd78(0x132)],'subUnitId':this[_0x57fd78(0x362)],'scene':this['_scene'],'engine':this[_0x57fd78(0x26b)],'root':this[_0x57fd78(0x343)],'worksheet':this[_0x57fd78(0x36f)]['worksheet'],'skeleton':this[_0x57fd78(0x36f)],'offset':this[_0x57fd78(0x34e)](),'spreadsheet':this['_spreadsheetObject']});}[_0x23e56b(0x1c5)](){const _0x216fb7=_0x23e56b;this[_0x216fb7(0x1d8)]=new j[(_0x216fb7(0x289))](j[_0x216fb7(0x27f)][_0x216fb7(0x3a2)],this[_0x216fb7(0x13c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x216fb7(0x2bb)]=new j[(_0x216fb7(0x289))](j[_0x216fb7(0x27f)]['VIEW_MAIN_LEFT'],this[_0x216fb7(0x13c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x216fb7(0xde)]=new j[(_0x216fb7(0x289))](j[_0x216fb7(0x27f)][_0x216fb7(0x30c)],this[_0x216fb7(0x13c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this['_viewLeftTop']=new j[(_0x216fb7(0x289))](j[_0x216fb7(0x27f)][_0x216fb7(0x252)],this[_0x216fb7(0x13c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['_resizeViewport'](){const _0x129423=_0x23e56b,{freeze:_0x12727a,range:_0x9a5087}=this[_0x129423(0x15b)],{xSplit:_0x11e0e5,ySplit:_0x56a173,startColumn:_0x4af4ad,startRow:_0x2855ef}=_0x12727a,{rowHeaderWidth:_0x27235a,columnHeaderHeight:_0x2e9dcb}=this['_skeleton'];this[_0x129423(0x13c)][_0x129423(0x355)](this[_0x129423(0x15b)][_0x129423(0x355)]*this[_0x129423(0x330)],this[_0x129423(0x15b)][_0x129423(0x355)]*this[_0x129423(0x330)]);const _0x36c135=this[_0x129423(0x36f)]['getNoMergeCellPositionByIndexWithNoHeader'](_0x2855ef-_0x56a173,_0x4af4ad-_0x11e0e5),_0x26ec1a=this[_0x129423(0x36f)]['getNoMergeCellPositionByIndexWithNoHeader'](_0x2855ef,_0x4af4ad),_0x5773c8=_0x11e0e5>0x0?_0x26ec1a[_0x129423(0x31f)]-_0x36c135[_0x129423(0x31f)]:0x0,_0x3e655e=_0x56a173>0x0?_0x26ec1a[_0x129423(0x1af)]-_0x36c135[_0x129423(0x1af)]:0x0,_0x12b2fe={'startX':_0x11e0e5>0x0?_0x36c135[_0x129423(0x31f)]:0x0,'endX':_0x11e0e5>0x0?_0x26ec1a[_0x129423(0x31f)]:0x0,'startY':_0x56a173>0x0?_0x36c135['startY']:0x0,'endY':_0x56a173>0x0?_0x26ec1a['startY']:0x0},_0x1ba09e=this[_0x129423(0x36f)]['getNoMergeCellPositionByIndexWithNoHeader'](_0x9a5087[_0x129423(0x2e6)],_0x9a5087[_0x129423(0x393)]),_0xb84431=this['_scene']['getPrecisionScale'](),_0x4b5f9f=_0x57df2b=>j[_0x129423(0x34f)](_0x57df2b,_0xb84431[_0x129423(0x366)]),_0x2dfcc8=_0x65ace5=>j[_0x129423(0x34f)](_0x65ace5,_0xb84431[_0x129423(0x35c)]),_0x1038e7=this[_0x129423(0x36f)][_0x129423(0x1ae)](_0x9a5087['endRow'],_0x9a5087[_0x129423(0x2af)]),_0x4fc79d=Math[_0x129423(0x108)](0x0,_0x4b5f9f(_0x1038e7[_0x129423(0x2c5)])-Math[_0x129423(0x108)](_0x1ba09e[_0x129423(0x31f)],_0x12b2fe[_0x129423(0x2c5)])),_0x5f25f9=Math[_0x129423(0x108)](0x0,_0x2dfcc8(_0x1038e7[_0x129423(0x244)])-_0x2dfcc8(Math[_0x129423(0x108)](_0x1ba09e[_0x129423(0x1af)],_0x12b2fe['endY']))),_0x4b5be1=0x1/Math['max'](_0xb84431['scaleX'],_0xb84431[_0x129423(0x35c)]),_0x4609d7=_0x5773c8+_0x4fc79d+_0x4b5be1,_0x131154=_0x3e655e+_0x5f25f9+_0x4b5be1;this[_0x129423(0x12a)]=_0x4609d7,this['_totalHeight']=_0x131154;const _0x3a24f7={'x':_0x5773c8,'y':_0x3e655e},_0x50d976=_0x4b5be1,_0x457919=_0x4b5be1,_0x358555={'x':_0x4b5f9f(_0x1038e7['endX'])-_0x4b5f9f(_0x4fc79d)-_0x4b5f9f(Math['max'](_0x1ba09e[_0x129423(0x31f)],_0x12b2fe[_0x129423(0x2c5)])),'y':_0x2dfcc8(_0x1038e7[_0x129423(0x244)])-_0x2dfcc8(_0x5f25f9)-_0x2dfcc8(Math['max'](_0x1ba09e[_0x129423(0x1af)],_0x12b2fe[_0x129423(0x244)]))};_0x11e0e5>0x0&&_0x56a173>0x0?(this[_0x129423(0x39a)][_0x129423(0x17e)](),this[_0x129423(0x39a)][_0x129423(0x25c)]({'top':0x0,'left':0x0,'height':_0x2dfcc8(_0x3a24f7['y']),'width':_0x4b5f9f(_0x3a24f7['x'])}),this[_0x129423(0x39a)][_0x129423(0x1bf)]({'viewportScrollX':_0x4b5f9f(_0x12b2fe['startX'])+_0x4b5f9f(_0x27235a),'viewportScrollY':_0x2dfcc8(_0x12b2fe[_0x129423(0x1af)])+_0x2dfcc8(_0x2e9dcb)})):this['_viewLeftTop'][_0x129423(0x2b1)](),_0x11e0e5>0x0?(this[_0x129423(0x2bb)]['enable'](),this[_0x129423(0x2bb)][_0x129423(0x25c)]({'top':_0x4b5f9f(_0x3a24f7['y']),'left':0x0,'height':_0x2dfcc8(_0x5f25f9)+_0x50d976+_0x358555['y'],'width':_0x4b5f9f(_0x3a24f7['x'])}),this[_0x129423(0x2bb)][_0x129423(0x1bf)]({'viewportScrollX':_0x4b5f9f(_0x12b2fe[_0x129423(0x31f)])+_0x4b5f9f(_0x27235a),'viewportScrollY':_0x2dfcc8(_0x1ba09e[_0x129423(0x1af)])+_0x2dfcc8(_0x2e9dcb)-_0x2dfcc8(_0x3a24f7['y'])})):this[_0x129423(0x2bb)][_0x129423(0x2b1)](),_0x56a173>0x0?(this[_0x129423(0xde)][_0x129423(0x17e)](),this['_viewTop'][_0x129423(0x25c)]({'top':0x0,'left':_0x4b5f9f(_0x3a24f7['x']),'height':_0x2dfcc8(_0x3a24f7['y']),'width':_0x4b5f9f(_0x4fc79d)+_0x457919+_0x358555['x']}),this[_0x129423(0xde)][_0x129423(0x1bf)]({'viewportScrollX':_0x4b5f9f(_0x1ba09e[_0x129423(0x31f)])+_0x4b5f9f(_0x27235a)-_0x4b5f9f(_0x3a24f7['x']),'viewportScrollY':_0x2dfcc8(_0x12b2fe[_0x129423(0x1af)])+_0x2dfcc8(_0x2e9dcb)})):this[_0x129423(0xde)][_0x129423(0x2b1)](),this[_0x129423(0x1d8)]['resizeWhenFreezeChange']({'top':_0x2dfcc8(_0x3a24f7['y']),'left':_0x4b5f9f(_0x3a24f7['x']),'height':_0x2dfcc8(_0x5f25f9)+_0x50d976+_0x358555['y'],'width':_0x4b5f9f(_0x4fc79d)+_0x457919+_0x358555['x']}),this[_0x129423(0x1d8)][_0x129423(0x1bf)]({'viewportScrollX':_0x4b5f9f(_0x1ba09e[_0x129423(0x31f)])+_0x4b5f9f(_0x27235a)-_0x4b5f9f(_0x3a24f7['x']),'viewportScrollY':_0x2dfcc8(_0x1ba09e['startY'])+_0x2dfcc8(_0x2e9dcb)-_0x2dfcc8(_0x3a24f7['y'])});}[_0x23e56b(0x34e)](){const _0x384b68=_0x23e56b,_0x432a88=this[_0x384b68(0x357)],{vAlign:_0x4e4109,hAlign:_0x48eb14}=this['_renderConfig'],_0x54fa8f=Math[_0x384b68(0x108)](this[_0x384b68(0x13c)][_0x384b68(0x366)],this[_0x384b68(0x13c)][_0x384b68(0x35c)]);let _0x2c1fd9;switch(_0x48eb14){case I[_0x384b68(0x276)][_0x384b68(0x35a)]:_0x2c1fd9=_0x432a88[_0x384b68(0x2a9)];break;case I[_0x384b68(0x276)][_0x384b68(0x323)]:_0x2c1fd9=this['paperSize']['w']-this['_totalWidth']*_0x54fa8f-_0x432a88[_0x384b68(0x151)];break;default:_0x2c1fd9=_0x432a88[_0x384b68(0x2a9)]+(this['paperSize']['w']-this['_totalWidth']*_0x54fa8f-_0x432a88[_0x384b68(0x2a9)]-_0x432a88['right'])/0x2;break;}let _0xf394d3;switch(_0x4e4109){case I['PrintAlign'][_0x384b68(0x35a)]:_0xf394d3=_0x432a88[_0x384b68(0x184)];break;case I[_0x384b68(0x276)][_0x384b68(0x323)]:_0xf394d3=this[_0x384b68(0x2ad)]['h']-this[_0x384b68(0x2e2)]*_0x54fa8f-_0x432a88[_0x384b68(0x186)];break;default:_0xf394d3=(this['paperSize']['h']-this[_0x384b68(0x2e2)]*_0x54fa8f-_0x432a88['top']-_0x432a88[_0x384b68(0x186)])/0x2+_0x432a88[_0x384b68(0x184)];break;}return{'offsetX':Math[_0x384b68(0x123)](_0x2c1fd9),'offsetY':Math[_0x384b68(0x123)](_0xf394d3),'scale':_0x54fa8f};}[_0x23e56b(0x217)](){const _0x2c7ad8=_0x23e56b;this['_resizeViewport'](),this['_effects']['dispose'](),this[_0x2c7ad8(0xe9)]=new l[(_0x2c7ad8(0xea))]();const _0x4a1453=this['_accessor'][_0x2c7ad8(0x303)](B[_0x2c7ad8(0x18d)]),{offsetX:_0x30b223,offsetY:_0x381799,scale:_0x44b9a0}=this[_0x2c7ad8(0x34e)](),_0x170032=_0x30b223,_0x4a78ec=_0x381799;this['_root']['style'][_0x2c7ad8(0x2a9)]=_0x170032+'px',this[_0x2c7ad8(0x343)][_0x2c7ad8(0x2b9)][_0x2c7ad8(0x184)]=_0x4a78ec+'px';const _0xd79356=this['_totalWidth']*_0x44b9a0,_0xe9f5d0=this[_0x2c7ad8(0x2e2)]*_0x44b9a0;this['_root'][_0x2c7ad8(0x2b9)]['width']=_0xd79356+'px',this[_0x2c7ad8(0x343)][_0x2c7ad8(0x2b9)]['height']=_0xe9f5d0+'px',this[_0x2c7ad8(0x343)][_0x2c7ad8(0x2b9)][_0x2c7ad8(0x2a1)]='absolute',this[_0x2c7ad8(0x343)][_0x2c7ad8(0x2b9)][_0x2c7ad8(0x1eb)]=_0x2c7ad8(0x14d),_0x4a1453[_0x2c7ad8(0x139)]['fetchThroughInterceptors'](_0x4a1453[_0x2c7ad8(0x139)][_0x2c7ad8(0x129)]()[_0x2c7ad8(0x120)])(this[_0x2c7ad8(0xe9)],{'unitId':this['_unitId'],'subUnitId':this[_0x2c7ad8(0x362)],'scene':this[_0x2c7ad8(0x13c)],'engine':this['_engine'],'root':this[_0x2c7ad8(0x343)],'worksheet':this[_0x2c7ad8(0x36f)][_0x2c7ad8(0x242)],'skeleton':this[_0x2c7ad8(0x36f)],'offset':this[_0x2c7ad8(0x34e)]()});}['_renderMainScene'](){const _0x47395e=_0x23e56b;this[_0x47395e(0x150)]&&this[_0x47395e(0x217)]();const _0x3970e1=this[_0x47395e(0x26b)]['getCanvas']()[_0x47395e(0x16c)](),{gridlines:_0x90de18}=this[_0x47395e(0x3ca)],{offsetX:_0x38b469,offsetY:_0x3b8a0d}=this[_0x47395e(0x34e)]();this[_0x47395e(0x3ac)][_0x47395e(0x12e)](!_0x90de18),this[_0x47395e(0x3ac)][_0x47395e(0x1a0)](),this[_0x47395e(0x13c)]['makeDirty'](),_0x3970e1[_0x47395e(0x22c)](),_0x3970e1[_0x47395e(0x211)](_0x38b469,_0x3b8a0d),this['_scene']['render'](),_0x3970e1[_0x47395e(0x221)]();}[_0x23e56b(0xf9)](_0x491eb9,_0x1a3ad9,_0x1feb32){const _0x440506=_0x23e56b,{w:_0x2a5148,h:_0x511041}=this[_0x440506(0x2ad)],_0x105d69=this[_0x440506(0x26b)][_0x440506(0x271)]()['getContext']();_0x105d69[_0x440506(0x22c)](),_0x105d69['font']=_0x440506(0x32d)+j[_0x440506(0x2d2)];const _0xdf4e87=0x13*this[_0x440506(0x330)],_0x2e0991=0x14*this['_previewScale'],_0x2986f9={'workbook':_0x1a3ad9,'worksheet':_0x1feb32,'now':l['dayjs'](),'localeService':this[_0x440506(0x190)][_0x440506(0x303)](l[_0x440506(0x19a)]),'page':this['_config']['page'],'pageTotal':this[_0x440506(0x15b)]['pageTotal'],'sheetPageTotal':this['_config'][_0x440506(0x159)],'sheetPage':this[_0x440506(0x15b)][_0x440506(0x1f3)]};if(_0x491eb9[_0x440506(0x1ff)]){const _0x32f4b4=Q(_0x491eb9[_0x440506(0x1ff)],_0x2986f9);_0x105d69['fillText'](_0x32f4b4,_0xdf4e87,_0x2e0991);}if(_0x491eb9['topCenter']){const _0x23e576=Q(_0x491eb9[_0x440506(0x2a5)],_0x2986f9),_0x54af7b=_0x105d69[_0x440506(0x197)](_0x23e576);_0x105d69['fillText'](_0x23e576,(_0x2a5148-_0x54af7b[_0x440506(0x2ab)])/0x2,_0x2e0991);}if(_0x491eb9[_0x440506(0x326)]){const _0x41fa87=Q(_0x491eb9['topRight'],_0x2986f9),_0x3952a0=_0x105d69[_0x440506(0x197)](_0x41fa87);_0x105d69[_0x440506(0x1e5)](_0x41fa87,_0x2a5148-_0x3952a0[_0x440506(0x2ab)]-_0xdf4e87,_0x2e0991);}if(_0x491eb9['bottomLeft']){const _0x4a9906=Q(_0x491eb9[_0x440506(0x32b)],_0x2986f9);_0x105d69[_0x440506(0x1e5)](_0x4a9906,_0xdf4e87,_0x511041-_0x2e0991);}if(_0x491eb9['bottomCenter']){const _0x42403c=Q(_0x491eb9[_0x440506(0x1fd)],_0x2986f9),_0x5bd86a=_0x105d69[_0x440506(0x197)](_0x42403c);_0x105d69[_0x440506(0x1e5)](_0x42403c,(_0x2a5148-_0x5bd86a['width'])/0x2,_0x511041-_0x2e0991);}if(_0x491eb9[_0x440506(0x311)]){const _0x12557b=Q(_0x491eb9['bottomRight'],_0x2986f9),_0x31facc=_0x105d69[_0x440506(0x197)](_0x12557b);_0x105d69['fillText'](_0x12557b,_0x2a5148-_0x31facc[_0x440506(0x2ab)]-_0xdf4e87,_0x511041-_0x2e0991);}_0x105d69[_0x440506(0x221)]();}['_renderHeaderFooter'](){const _0x484479=_0x23e56b,_0x581c45=this['_univerInstanceService'][_0x484479(0x144)](this['_config'][_0x484479(0x1f9)]),_0x16e996=_0x581c45==null?void 0x0:_0x581c45[_0x484479(0x29f)](this[_0x484479(0x15b)][_0x484479(0x3c6)]),{headerFooter:_0x10f7a0,isCustomHeaderFooter:_0x5600fc,headerFooterSetting:_0x17dca5}=this['_renderConfig'],{w:_0x3e4f2e,h:_0x765260}=this['paperSize'],_0x5569d6=this[_0x484479(0x26b)]['getCanvas']()[_0x484479(0x16c)]();if(!_0x581c45||!_0x16e996)return;if(_0x5600fc&&_0x17dca5){this['_renderHeaderFooterByCustom'](_0x17dca5,_0x581c45,_0x16e996);return;}_0x5569d6[_0x484479(0x22c)](),_0x5569d6[_0x484479(0x27c)]=_0x484479(0x32d)+j[_0x484479(0x2d2)];const _0xc9ad80=0x13*this['_previewScale'],_0x3c2229=0x14*this[_0x484479(0x330)];if(_0x10f7a0[_0x484479(0xee)](V['Date'])||_0x10f7a0[_0x484479(0xee)](V[_0x484479(0x161)])){let _0x3b7cba=new Date()[_0x484479(0x274)]();_0x10f7a0['includes'](V[_0x484479(0x1c7)])?_0x10f7a0[_0x484479(0xee)](V['Time'])||(_0x3b7cba=new Date()[_0x484479(0x1a9)]()):_0x3b7cba=new Date()['toLocaleTimeString'](),_0x5569d6[_0x484479(0x1e5)](_0x3b7cba,_0xc9ad80,_0x765260-_0x3c2229);}_0x10f7a0['forEach'](_0x597fdc=>{const _0x3ae710=_0x484479;switch(_0x597fdc){case V['WorkbookTitle']:{const _0x1a3622=_0x581c45['getName'](),_0x15dcba=_0x5569d6[_0x3ae710(0x197)](_0x1a3622),_0x2f56a6=_0x15dcba['fontBoundingBoxAscent']+_0x15dcba[_0x3ae710(0x358)];_0x5569d6[_0x3ae710(0x1e5)](_0x1a3622,_0xc9ad80,_0x3c2229+_0x2f56a6);break;}case V[_0x3ae710(0x148)]:{const _0x1f0468=_0x16e996['getName'](),_0x1f0f7d=_0x5569d6['measureText'](_0x1f0468),_0x200a16=_0x1f0f7d[_0x3ae710(0x206)]+_0x1f0f7d[_0x3ae710(0x358)];_0x5569d6['fillText'](_0x1f0468,_0x3e4f2e-(_0x1f0f7d[_0x3ae710(0x2ab)]+_0xc9ad80),_0x3c2229+_0x200a16);break;}case V[_0x3ae710(0x3c9)]:{const _0x504fac=''+this['_config'][_0x3ae710(0x375)],_0x21635d=_0x5569d6[_0x3ae710(0x197)](_0x504fac);_0x5569d6[_0x3ae710(0x1e5)](_0x504fac,_0x3e4f2e-(_0x21635d['width']+_0xc9ad80),_0x765260-_0x3c2229);break;}}}),_0x5569d6[_0x484479(0x221)]();}[_0x23e56b(0x1e4)](){const _0x20df9c=_0x23e56b,_0x215749=this[_0x20df9c(0x190)]['get'](l[_0x20df9c(0x19a)]),_0x335b9f=this[_0x20df9c(0x26b)][_0x20df9c(0x271)]()['getContext']();_0x335b9f[_0x20df9c(0x22c)]();const _0x143edb=0x14*this['_previewScale'];_0x335b9f[_0x20df9c(0x2c9)]=_0x20df9c(0x2a4),_0x335b9f['font']=_0x20df9c(0x331)+j[_0x20df9c(0x2d2)];const _0x2ac476=_0x335b9f['measureText'](_0x215749['t'](_0x20df9c(0x334))),_0x17e97d=(this[_0x20df9c(0x2ad)]['w']-_0x2ac476['width'])/0x2,_0x4c5f5a=_0x2ac476[_0x20df9c(0x206)]+_0x2ac476[_0x20df9c(0x358)];_0x335b9f['fillText'](_0x215749['t'](_0x20df9c(0x334)),_0x17e97d,_0x143edb+_0x4c5f5a),_0x335b9f[_0x20df9c(0x1e5)](_0x215749['t'](_0x20df9c(0x334)),_0x17e97d,this[_0x20df9c(0x2ad)]['h']-_0x143edb),_0x335b9f[_0x20df9c(0x221)]();}['render'](){const _0x411e21=_0x23e56b;this[_0x411e21(0x26b)][_0x411e21(0x16b)](),this[_0x411e21(0x389)](),this[_0x411e21(0x247)](),this[_0x411e21(0x12b)]&&j['renderWatermark'](this[_0x411e21(0x26b)]['getCanvas']()[_0x411e21(0x16c)](),this['_watermarkConfig'],this[_0x411e21(0x12b)][_0x411e21(0x11c)],this[_0x411e21(0x190)][_0x411e21(0x303)](l[_0x411e21(0x147)])['getCurrentUser']());}['renderOnReady'](){const _0x5e0ce4=_0x23e56b,_0x1224fe=this[_0x5e0ce4(0x18c)][_0x5e0ce4(0x119)]['subscribeEvent'](()=>{const _0x28a50b=_0x5e0ce4;this[_0x28a50b(0x24f)]();});this[_0x5e0ce4(0x195)](_0x1224fe);}['getImage'](){const _0x3f6682=_0x23e56b;return this[_0x3f6682(0x26b)][_0x3f6682(0x271)]()[_0x3f6682(0x279)]('image/png',0x1);}}const Ge=0x31a,me=(_0x1e4703,_0x415794)=>{const _0x4718e7=_0x23e56b,_0x4764e6=C[_0x4718e7(0x369)](!0x1);C[_0x4718e7(0x134)](()=>{const _0x4804af=_0x4718e7;if(_0x4764e6[_0x4804af(0x114)])return _0x1e4703();_0x4764e6[_0x4804af(0x114)]=!0x0;},_0x415794);},Yt=C[_0x23e56b(0x342)]((_0x3de3e5,_0x49cbb5)=>{const _0xe92ec4=_0x23e56b,{config:_0x4ef192,previewScale:_0x41ab12}=_0x3de3e5,_0x3fdcc9=w[_0xe92ec4(0x133)](H),_0x143498=w[_0xe92ec4(0x133)](l['Injector']),_0x5c3aab=C[_0xe92ec4(0x369)](null),_0x398409=_0x3fdcc9['paperSize'],_0x379f1b=w[_0xe92ec4(0x264)](_0x3fdcc9[_0xe92ec4(0x361)],_0x3fdcc9[_0xe92ec4(0x216)]),_0x4869bf=w[_0xe92ec4(0x264)](_0x3fdcc9[_0xe92ec4(0x29b)],_0x3fdcc9[_0xe92ec4(0x17b)]),_0x1828af=Math['round'](_0x41ab12*(Ge/_0x398409['w'])*0xa)/0xa,[_0x2411ac]=C[_0xe92ec4(0xe3)](()=>new fe(_0x143498,_0x4ef192,_0x379f1b,!0x0,_0x1828af));return C[_0xe92ec4(0x134)](()=>(_0x5c3aab[_0xe92ec4(0x114)]&&(_0x2411ac[_0xe92ec4(0x2fd)]['style'][_0xe92ec4(0x2ab)]=_0xe92ec4(0x360),_0x2411ac['container'][_0xe92ec4(0x2b9)]['height']=_0xe92ec4(0x360),_0x2411ac['container'][_0xe92ec4(0x2b9)][_0xe92ec4(0x2a1)]=_0xe92ec4(0x142),_0x5c3aab[_0xe92ec4(0x114)][_0xe92ec4(0x388)](_0x2411ac[_0xe92ec4(0x2fd)]),_0x2411ac[_0xe92ec4(0x2fd)]['appendChild'](_0x2411ac[_0xe92ec4(0x21e)])),_0x2411ac[_0xe92ec4(0x24f)](),_0x2411ac['renderOnReady'](),()=>{const _0xd7e391=_0xe92ec4;var _0x4052c0;_0x2411ac['dispose'](),(_0x4052c0=_0x5c3aab[_0xd7e391(0x114)])==null||_0x4052c0[_0xd7e391(0x28f)](_0x2411ac[_0xd7e391(0x2fd)]);}),[_0x2411ac]),me(()=>{const _0x428961=_0xe92ec4;_0x2411ac[_0x428961(0x216)]=_0x379f1b,_0x2411ac[_0x428961(0x24f)]();},[_0x379f1b]),me(()=>{const _0x4f20ab=_0xe92ec4;_0x2411ac[_0x4f20ab(0x3a7)](_0x1828af),_0x2411ac[_0x4f20ab(0x18c)][_0x4f20ab(0x16f)](),_0x2411ac[_0x4f20ab(0x24f)]();},[_0x1828af]),me(()=>{const _0x542403=_0xe92ec4;_0x2411ac[_0x542403(0x234)](_0x4ef192),_0x2411ac[_0x542403(0x24f)]();},[_0x4ef192[_0xe92ec4(0x2b6)][_0xe92ec4(0x2e6)],_0x4ef192[_0xe92ec4(0x2b6)][_0xe92ec4(0x393)],_0x4ef192['freeze'][_0xe92ec4(0x22d)],_0x4ef192['freeze']['ySplit'],_0x4ef192['range'][_0xe92ec4(0x2e6)],_0x4ef192[_0xe92ec4(0x198)]['endRow'],_0x4ef192[_0xe92ec4(0x198)][_0xe92ec4(0x393)],_0x4ef192[_0xe92ec4(0x198)][_0xe92ec4(0x2af)],_0x4ef192[_0xe92ec4(0x355)],_0x4869bf[_0xe92ec4(0x357)]]),o[_0xe92ec4(0x224)]('div',{'ref':_0x49cbb5,'children':o[_0xe92ec4(0x224)](_0xe92ec4(0x1c2),{'ref':_0x5c3aab,'className':'univer-relative\x20univer-mx-auto\x20univer-mt-7\x20univer-flex-none\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','style':{'width':_0x398409['w']*_0x1828af,'height':_0x398409['h']*_0x1828af}})});}),Ot=C[_0x23e56b(0x2be)](({onShowFooterHeaderEditor:_0x3d4ee5})=>{const _0x1b699a=_0x23e56b;var _0x343c57,_0x56ef46,_0x277839,_0x53297e,_0x10d245,_0x27eeb0;const _0x44db28=w[_0x1b699a(0x133)](H),_0x33636e=w[_0x1b699a(0x264)](_0x44db28[_0x1b699a(0x29b)],_0x44db28[_0x1b699a(0x17b)]),_0x52c52c=w[_0x1b699a(0x264)](_0x44db28[_0x1b699a(0x361)],_0x44db28[_0x1b699a(0x216)]),_0x26a4f1=w[_0x1b699a(0x133)](l[_0x1b699a(0x19a)]),_0xdaa5d=w[_0x1b699a(0x133)](l[_0x1b699a(0x392)]),_0x5790ea=w[_0x1b699a(0x133)](l[_0x1b699a(0x2df)]),[_0x2cf016,_0x5d9df5]=C['useState'](null),_0x53b8bd=(_0x56ef46=(_0x343c57=w[_0x1b699a(0x133)](l[_0x1b699a(0x1d1)])[_0x1b699a(0x1fb)](Be))==null?void 0x0:_0x343c57[_0x1b699a(0x3be)])!=null?_0x56ef46:!0x1;C[_0x1b699a(0x134)](()=>{_0x5790ea['getItem'](j['UNIVER_WATERMARK_STORAGE_KEY'])['then'](_0x4c448f=>{const _0x1d3eb3=_0x2c8a;let _0x552d1a,_0x502dbc;(_0x4c448f==null?void 0x0:_0x4c448f[_0x1d3eb3(0x29c)])===j[_0x1d3eb3(0x28d)][_0x1d3eb3(0xd0)]&&_0x4c448f[_0x1d3eb3(0x282)]['image']&&(_0x552d1a=new Image(),_0x552d1a['src']=_0x4c448f[_0x1d3eb3(0x282)][_0x1d3eb3(0x11c)][_0x1d3eb3(0x3bd)]),(_0x4c448f==null?void 0x0:_0x4c448f[_0x1d3eb3(0x29c)])===j[_0x1d3eb3(0x28d)][_0x1d3eb3(0x373)]&&(_0x4c448f!=null&&_0x4c448f[_0x1d3eb3(0x282)]['userInfo'])&&(_0x502dbc=_0x4c448f['config'][_0x1d3eb3(0xfb)]);const _0x463412=_0x4c448f?{..._0x4c448f,'user':_0x502dbc,'image':_0x552d1a}:null;_0x5d9df5(_0x463412),_0x53b8bd&&(_0x52c52c['watermark']=_0x463412);});},[]);const _0xba0142=_0xdaa5d[_0x1b699a(0x36d)](l['UniverInstanceType'][_0x1b699a(0xd5)]),_0x4bf7a2=_0xba0142[_0x1b699a(0x3c4)]()['filter'](_0x342907=>!_0x342907[_0x1b699a(0x3c1)]()),_0x21fe14=_0xba0142['getActiveSheet']();if(!_0x21fe14)return console[_0x1b699a(0x117)](_0x1b699a(0x146)),null;const _0x597428=(_0x3367b6,_0x52f5cb)=>{const _0x162f12=_0x1b699a,_0x50a627=Math['max'](0x0,_0x52f5cb||0x0),_0x42ce2d=_0x33636e[_0x162f12(0x372)]||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x44db28[_0x162f12(0x348)]({'marginCustom':{..._0x42ce2d,[_0x3367b6]:_0x50a627}});},_0x31733b=_0x21fe14[_0x1b699a(0x1d0)](),_0x441ace=_0x33636e[_0x1b699a(0x2a0)]!==O[_0x1b699a(0x107)]&&_0x31733b[_0x1b699a(0x22d)]<=0x0,_0x3ba46a=_0x33636e['area']!==O[_0x1b699a(0x107)]&&_0x31733b[_0x1b699a(0x180)]<=0x0;return o[_0x1b699a(0x224)](_0x1b699a(0x1c2),{'className':h['clsx'](_0x1b699a(0x17d),h[_0x1b699a(0x13b)]),'children':o[_0x1b699a(0x24b)](_0x1b699a(0x1c2),{'className':_0x1b699a(0x316),'children':[o[_0x1b699a(0x224)](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t']('print.area.title'),'children':o[_0x1b699a(0x224)](h['Select'],{'className':_0x1b699a(0x383),'value':''+_0x33636e[_0x1b699a(0x2a0)],'onChange':_0x2b70f7=>{const _0x577dd7=_0x1b699a;_0x2b70f7===O[_0x577dd7(0x107)]?_0x44db28[_0x577dd7(0x348)]({'area':_0x2b70f7,'subUnitIds':_0x4bf7a2[_0x577dd7(0x15c)](_0x241a51=>_0x241a51[_0x577dd7(0x322)]())}):_0x44db28[_0x577dd7(0x348)]({'area':_0x2b70f7});},'options':[{'label':_0x26a4f1['t'](_0x1b699a(0x371)),'value':O[_0x1b699a(0x325)]},{'label':_0x26a4f1['t']('print.area.workbook'),'value':O[_0x1b699a(0x107)]},{'label':_0x26a4f1['t'](_0x1b699a(0x1ba)),'value':O['CurrentSelection']},{'label':_0x26a4f1['t'](_0x1b699a(0x199)),'value':O[_0x1b699a(0x251)]}]})}),_0x33636e[_0x1b699a(0x2a0)]===O[_0x1b699a(0x107)]?o[_0x1b699a(0x224)](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t'](_0x1b699a(0x370)),'children':o[_0x1b699a(0x224)](h[_0x1b699a(0x168)],{'overlay':o[_0x1b699a(0x224)](_0x1b699a(0x1c2),{'className':h[_0x1b699a(0x286)](_0x1b699a(0x210),h[_0x1b699a(0x13b)]),'children':o[_0x1b699a(0x224)](h[_0x1b699a(0x30e)],{'direction':_0x1b699a(0x25e),'className':_0x1b699a(0xe1),'value':_0x33636e[_0x1b699a(0x106)][_0x1b699a(0x15c)](_0x3193e8=>typeof _0x3193e8==_0x1b699a(0x1b3)?_0x3193e8:_0x3193e8['id']),'onChange':_0x1794b2=>{const _0x44bdae=_0x1b699a,_0x4a0afc=new Set(_0x1794b2);if(_0x4a0afc['size']===0x0)_0x44db28[_0x44bdae(0x348)]({'subUnitIds':_0x4bf7a2[_0x44bdae(0x15c)](_0x154631=>_0x154631[_0x44bdae(0x322)]())});else{const _0x73842a=[];_0x4bf7a2[_0x44bdae(0x14f)](_0x75fa57=>{const _0x3f4bf5=_0x44bdae,_0x5c99b7=_0x75fa57[_0x3f4bf5(0x322)]();_0x4a0afc[_0x3f4bf5(0x2ce)](_0x5c99b7)&&_0x73842a[_0x3f4bf5(0x292)](_0x5c99b7);}),_0x44db28['updateLayoutConfig']({'subUnitIds':_0x73842a});}},'children':_0x4bf7a2[_0x1b699a(0x15c)](_0x1f9916=>o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'value':_0x1f9916[_0x1b699a(0x322)](),'children':_0x1f9916[_0x1b699a(0x136)]()},_0x1f9916[_0x1b699a(0x322)]()))})}),'children':o['jsxs'](_0x1b699a(0x1c2),{'className':h[_0x1b699a(0x286)](_0x1b699a(0x2d3),h['borderClassName']),'children':[o[_0x1b699a(0x224)](_0x1b699a(0x259),{'className':_0x1b699a(0xdb),'children':_0x33636e['subUnitIds'][_0x1b699a(0x238)]===_0x4bf7a2[_0x1b699a(0x238)]||_0x33636e[_0x1b699a(0x106)][_0x1b699a(0x238)]===0x0?_0x26a4f1['t'](_0x1b699a(0x35b)):''+_0x33636e[_0x1b699a(0x106)]['length']+_0x26a4f1['t'](_0x1b699a(0x356))}),o[_0x1b699a(0x224)](xe,{})]})})}):null,o[_0x1b699a(0x224)](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t'](_0x1b699a(0x275)),'children':o[_0x1b699a(0x224)](h[_0x1b699a(0xf6)],{'className':'univer-w-full','value':_0x33636e['paperSize'],'options':[{'label':_0x26a4f1['t'](_0x1b699a(0x1fe)),'value':l[_0x1b699a(0x193)][_0x1b699a(0x2bc)]},{'label':_0x26a4f1['t'](_0x1b699a(0x315)),'value':l[_0x1b699a(0x193)]['Tabloid']},{'label':_0x26a4f1['t'](_0x1b699a(0x379)),'value':l[_0x1b699a(0x193)][_0x1b699a(0x37f)]},{'label':_0x26a4f1['t']('print.size.statement'),'value':l[_0x1b699a(0x193)][_0x1b699a(0x347)]},{'label':_0x26a4f1['t']('print.size.executive'),'value':l[_0x1b699a(0x193)][_0x1b699a(0x2ae)]},{'label':_0x26a4f1['t'](_0x1b699a(0x25a)),'value':l[_0x1b699a(0x193)]['Folio']},{'label':_0x26a4f1['t'](_0x1b699a(0x19b)),'value':l[_0x1b699a(0x193)]['A3']},{'label':_0x26a4f1['t']('print.size.a4'),'value':l['PaperType']['A4']},{'label':_0x26a4f1['t'](_0x1b699a(0x2cf)),'value':l[_0x1b699a(0x193)]['A5']},{'label':_0x26a4f1['t'](_0x1b699a(0x26e)),'value':l[_0x1b699a(0x193)]['B4']},{'label':_0x26a4f1['t']('print.size.b5'),'value':l[_0x1b699a(0x193)]['B5']}],'onChange':_0x431270=>{const _0x50163d=_0x1b699a;_0x44db28[_0x50163d(0x348)]({'paperSize':_0x431270});}})}),o[_0x1b699a(0x224)](h['FormLayout'],{'label':_0x26a4f1['t']('print.margin.title'),'children':o[_0x1b699a(0x224)](h['Select'],{'className':_0x1b699a(0x383),'value':_0x33636e['margin'],'options':[{'label':_0x26a4f1['t'](_0x1b699a(0x3c0)),'value':I[_0x1b699a(0x3bc)][_0x1b699a(0xdf)]},{'label':_0x26a4f1['t']('print.margin.narrow'),'value':I[_0x1b699a(0x3bc)][_0x1b699a(0x27e)]},{'label':_0x26a4f1['t'](_0x1b699a(0x3c8)),'value':I[_0x1b699a(0x3bc)][_0x1b699a(0xfc)]},{'label':_0x26a4f1['t'](_0x1b699a(0x166)),'value':I['PrintPaperMargin']['Custom']}],'onChange':_0x378cb0=>{const _0x48f08b=_0x1b699a,_0x21b790=I[_0x48f08b(0x2c2)][_0x33636e[_0x48f08b(0x357)]];_0x44db28[_0x48f08b(0x348)]({'margin':_0x378cb0,'marginCustom':_0x378cb0===I[_0x48f08b(0x3bc)][_0x48f08b(0x29a)]?_0x21b790:I[_0x48f08b(0x2c2)][_0x378cb0]});}})}),_0x33636e[_0x1b699a(0x357)]===I[_0x1b699a(0x3bc)]['Custom']&&o['jsx'](h['FormLayout'],{'children':o[_0x1b699a(0x24b)](_0x1b699a(0x1c2),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[o[_0x1b699a(0x24b)](_0x1b699a(0x1c2),{'children':[o['jsx']('label',{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x26a4f1['t'](_0x1b699a(0x3ba))}),o['jsx'](h[_0x1b699a(0x2dc)],{'type':_0x1b699a(0x122),'value':String(((_0x277839=_0x33636e['marginCustom'])==null?void 0x0:_0x277839[_0x1b699a(0x184)])||0x0),'onChange':_0x50a64b=>_0x597428(_0x1b699a(0x184),Number(_0x50a64b))})]}),o[_0x1b699a(0x24b)](_0x1b699a(0x1c2),{'children':[o['jsx'](_0x1b699a(0x337),{'className':_0x1b699a(0x3b1),'children':_0x26a4f1['t'](_0x1b699a(0x2ee))}),o[_0x1b699a(0x224)](h[_0x1b699a(0x2dc)],{'type':_0x1b699a(0x122),'value':String(((_0x53297e=_0x33636e[_0x1b699a(0x372)])==null?void 0x0:_0x53297e['bottom'])||0x0),'onChange':_0x366649=>_0x597428(_0x1b699a(0x186),Number(_0x366649))})]}),o[_0x1b699a(0x24b)](_0x1b699a(0x1c2),{'children':[o[_0x1b699a(0x224)](_0x1b699a(0x337),{'className':_0x1b699a(0x3b1),'children':_0x26a4f1['t']('print.margin.left')}),o[_0x1b699a(0x224)](h[_0x1b699a(0x2dc)],{'type':_0x1b699a(0x122),'value':String(((_0x10d245=_0x33636e[_0x1b699a(0x372)])==null?void 0x0:_0x10d245[_0x1b699a(0x2a9)])||0x0),'onChange':_0x16de60=>_0x597428(_0x1b699a(0x2a9),Number(_0x16de60))})]}),o[_0x1b699a(0x24b)]('div',{'children':[o['jsx']('label',{'className':_0x1b699a(0x3b1),'children':_0x26a4f1['t'](_0x1b699a(0x105))}),o['jsx'](h[_0x1b699a(0x2dc)],{'type':_0x1b699a(0x122),'value':String(((_0x27eeb0=_0x33636e[_0x1b699a(0x372)])==null?void 0x0:_0x27eeb0[_0x1b699a(0x151)])||0x0),'onChange':_0x2d0f03=>_0x597428('right',Number(_0x2d0f03))})]})]})}),o['jsx'](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t'](_0x1b699a(0x182)),'children':o[_0x1b699a(0x24b)](h[_0x1b699a(0x248)],{'value':_0x33636e[_0x1b699a(0x1b2)],'onChange':_0x24b9f0=>{const _0x42eb34=_0x1b699a;_0x44db28[_0x42eb34(0x348)]({'direction':_0x24b9f0});},'children':[o[_0x1b699a(0x224)](h['Radio'],{'value':I['PrintDirection'][_0x1b699a(0x3b6)],'children':_0x26a4f1['t'](_0x1b699a(0x30b))}),o[_0x1b699a(0x224)](h[_0x1b699a(0x13e)],{'value':I[_0x1b699a(0x2fe)]['Landscape'],'children':_0x26a4f1['t'](_0x1b699a(0xd6))})]})}),o['jsx'](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t'](_0x1b699a(0x15e)),'children':o['jsx'](h[_0x1b699a(0xf6)],{'className':_0x1b699a(0x383),'value':_0x33636e['scale'],'options':[{'label':_0x26a4f1['t'](_0x1b699a(0x302)),'value':I[_0x1b699a(0x1b1)][_0x1b699a(0x225)]},{'label':_0x26a4f1['t']('print.scale.fitWidth'),'value':I['PrintScale']['FitWidth']},{'label':_0x26a4f1['t'](_0x1b699a(0xe8)),'value':I[_0x1b699a(0x1b1)][_0x1b699a(0x116)]},{'label':_0x26a4f1['t'](_0x1b699a(0x25b)),'value':I[_0x1b699a(0x1b1)]['FitPage']}],'onChange':_0x21e0a1=>{_0x44db28['updateLayoutConfig']({'scale':_0x21e0a1});}})}),o[_0x1b699a(0x24b)](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t'](_0x1b699a(0x291)),'children':[o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'checked':_0x52c52c[_0x1b699a(0x202)],'onChange':_0x13bb93=>{_0x44db28['updateRenderConfig']({'gridlines':_0x13bb93});},'children':_0x26a4f1['t'](_0x1b699a(0x368))}),_0x2cf016&&!_0x53b8bd?o['jsx'](_0x1b699a(0x1c2),{'className':_0x1b699a(0x179),'children':o['jsx'](h[_0x1b699a(0x3a8)],{'checked':!!_0x52c52c['watermark'],'onChange':async _0x144df6=>{const _0x435799=_0x1b699a;_0x144df6?_0x44db28[_0x435799(0xd4)]({'watermark':_0x2cf016}):_0x44db28[_0x435799(0xd4)]({'watermark':void 0x0});},'children':_0x26a4f1['t'](_0x1b699a(0x156))})}):null]}),o[_0x1b699a(0x224)](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t']('print.align.title'),'children':o[_0x1b699a(0x24b)]('div',{'className':_0x1b699a(0x2b5),'children':[o[_0x1b699a(0x224)](h['Select'],{'className':_0x1b699a(0x1fa),'value':_0x52c52c[_0x1b699a(0x2a3)],'options':[{'label':_0x26a4f1['t']('print.align.horizontal.middle'),'value':I[_0x1b699a(0x276)][_0x1b699a(0x2ec)]},{'label':_0x26a4f1['t'](_0x1b699a(0x28c)),'value':I[_0x1b699a(0x276)][_0x1b699a(0x35a)]},{'label':_0x26a4f1['t'](_0x1b699a(0x28b)),'value':I[_0x1b699a(0x276)]['End']}],'onChange':_0x2da663=>{_0x44db28['updateRenderConfig']({'hAlign':_0x2da663});}}),o[_0x1b699a(0x224)](h['Select'],{'className':_0x1b699a(0x1fa),'value':_0x52c52c[_0x1b699a(0x172)],'options':[{'label':_0x26a4f1['t'](_0x1b699a(0x25f)),'value':I[_0x1b699a(0x276)][_0x1b699a(0x35a)]},{'label':_0x26a4f1['t'](_0x1b699a(0x281)),'value':I['PrintAlign']['End']},{'label':_0x26a4f1['t'](_0x1b699a(0xf7)),'value':I[_0x1b699a(0x276)][_0x1b699a(0x2ec)]}],'onChange':_0x50e90e=>{const _0x3fdab9=_0x1b699a;_0x44db28[_0x3fdab9(0xd4)]({'vAlign':_0x50e90e});}})]})}),o[_0x1b699a(0x24b)](h[_0x1b699a(0x128)],{'collapsable':!0x0,'label':_0x26a4f1['t'](_0x1b699a(0x203)),'children':[o[_0x1b699a(0x24b)](h[_0x1b699a(0x30e)],{'direction':_0x1b699a(0x25e),'disabled':_0x52c52c[_0x1b699a(0x2f3)],'value':_0x52c52c['headerFooter'],'onChange':_0x25a486=>{const _0x4ee834=_0x1b699a;_0x44db28[_0x4ee834(0xd4)]({'headerFooter':_0x25a486});},'children':[o['jsx'](h[_0x1b699a(0x3a8)],{'value':V[_0x1b699a(0x3c9)],'children':_0x26a4f1['t']('print.headerFooter.page')}),o['jsx'](h[_0x1b699a(0x3a8)],{'value':V[_0x1b699a(0x20c)],'children':_0x26a4f1['t']('print.headerFooter.workbook')}),o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'value':V[_0x1b699a(0x148)],'children':_0x26a4f1['t'](_0x1b699a(0x1bc))}),o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'value':V[_0x1b699a(0x1c7)],'children':_0x26a4f1['t']('print.headerFooter.date')}),o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'value':V[_0x1b699a(0x161)],'children':_0x26a4f1['t'](_0x1b699a(0x2d0))})]}),o[_0x1b699a(0x224)](h['FormLayout'],{'className':_0x1b699a(0x179),'label':o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'checked':_0x52c52c[_0x1b699a(0x2f3)],'onChange':()=>{const _0x7630ca=_0x1b699a;_0x44db28['updateRenderConfig']({'isCustomHeaderFooter':!_0x52c52c[_0x7630ca(0x2f3)]});},'children':_0x26a4f1['t'](_0x1b699a(0x12d))}),'children':_0x52c52c[_0x1b699a(0x2f3)]?o['jsx'](h[_0x1b699a(0x3b5)],{'className':'univer-my-1\x20univer-p-0','size':'small','variant':_0x1b699a(0x26c),'onClick':()=>{_0x3d4ee5();},'children':_0x26a4f1['t'](_0x1b699a(0x1d3))}):null})]}),o[_0x1b699a(0x224)](h[_0x1b699a(0x128)],{'collapsable':!0x0,'label':_0x26a4f1['t'](_0x1b699a(0x267)),'children':o[_0x1b699a(0x24b)](h[_0x1b699a(0x30e)],{'direction':_0x1b699a(0x25e),'value':_0x33636e[_0x1b699a(0x2b6)],'onChange':_0x480a93=>{const _0x199910=_0x1b699a;_0x44db28[_0x199910(0x348)]({'freeze':_0x480a93});},'children':[o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'disabled':_0x3ba46a,'value':G[_0x1b699a(0x130)],'children':_0x26a4f1['t'](_0x1b699a(0xe7))}),o[_0x1b699a(0x224)](h[_0x1b699a(0x3a8)],{'disabled':_0x441ace,'value':G[_0x1b699a(0x2d1)],'children':_0x26a4f1['t'](_0x1b699a(0x21d))})]})}),o[_0x1b699a(0x24b)](h[_0x1b699a(0x128)],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0x26a4f1['t'](_0x1b699a(0x20d)),'children':[o[_0x1b699a(0x224)](h['FormLayout'],{'className':_0x1b699a(0x10f),'label':_0x26a4f1['t'](_0x1b699a(0x26a)),'children':o[_0x1b699a(0x224)](h[_0x1b699a(0x2dc)],{'value':_0x33636e[_0x1b699a(0x2ac)]===0x1/0x0?'':''+_0x33636e[_0x1b699a(0x2ac)],'onChange':_0x129d26=>{const _0x26c30c=_0x1b699a;_0x44db28[_0x26c30c(0x348)]({'maxRowsEachPage':!_0x129d26||Number[_0x26c30c(0x263)](Number(_0x129d26))?0x1/0x0:Number(_0x129d26)});}})}),o[_0x1b699a(0x224)](h[_0x1b699a(0x128)],{'label':_0x26a4f1['t'](_0x1b699a(0x154)),'children':o['jsx'](h[_0x1b699a(0x2dc)],{'value':_0x33636e[_0x1b699a(0x167)]===0x1/0x0?'':''+_0x33636e[_0x1b699a(0x167)],'onChange':_0x5f4874=>{const _0x360ef9=_0x1b699a;_0x44db28[_0x360ef9(0x348)]({'maxColumnsEachPage':!_0x5f4874||Number[_0x360ef9(0x263)](Number(_0x5f4874))?0x1/0x0:Number(_0x5f4874)});}})})]})]})});}),Ee=0.1,At=0.5,zt=0x2,Vt=()=>{const _0x3feb61=_0x23e56b;var _0xf8f741;const [_0x1e237f,_0x261808]=C[_0x3feb61(0xe3)](!0x1),_0x44b2e3=w[_0x3feb61(0x133)](H),_0x3be91b=w['useDependency'](l[_0x3feb61(0x30a)]),_0x5a09a1=w[_0x3feb61(0x264)](_0x44b2e3['layoutInfos$'],[]),[_0x9933ca,_0x3ce76b]=C[_0x3feb61(0xe3)](0x1),[_0xd1556f,_0x43fb22]=C[_0x3feb61(0xe3)](!0x1),_0x47dfe6=C[_0x3feb61(0x369)](0x0),_0x1222b3=w[_0x3feb61(0x133)](l['IUniverInstanceService']),_0x29235a=w['useDependency'](l[_0x3feb61(0x19a)]),_0x58c006=w['useDependency'](l[_0x3feb61(0x23e)]),_0x157570=(_0xf8f741=w['useDependency'](l[_0x3feb61(0x1d1)])[_0x3feb61(0x1fb)](W['LS_CONFIG_KEY']))!=null?_0xf8f741:{},{ls:_0x141e27,pbk:_0x5f0cb3}=_0x157570,{limit:_0x47fc5b,isPro:_0x3c8d11}=C[_0x3feb61(0x2e3)](()=>{const {page:_0x435c70,isPro:_0x5e34f2}=_e(ke,_0x141e27,_0x5f0cb3);return{'limit':_0x435c70,'isPro':_0x5e34f2};},[_0x141e27,_0x5f0cb3]),_0x37edbc=C['useRef'](void 0x0),_0x5e3f41=w[_0x3feb61(0x133)](w['IMessageService']),_0xe02bb5=Rt(import('@univerjs-pro/collaboration-client')[_0x3feb61(0x277)](_0x1abddf=>_0x1abddf[_0x3feb61(0x278)],()=>{}));C[_0x3feb61(0x134)](()=>{const _0x44b231=_0x3feb61;var _0x3a9d03;if(!_0xe02bb5)return;const _0x5f2acd=_0x1222b3[_0x44b231(0x36d)](l[_0x44b231(0x231)]['UNIVER_SHEET'])[_0x44b231(0x171)](),_0x3f8116=_0x58c006[_0x44b231(0x303)](_0xe02bb5,l['Quantity'][_0x44b231(0x13d)]),_0x1c77d2=(_0x3a9d03=_0x3f8116==null?void 0x0:_0x3f8116[_0x44b231(0x33b)](_0x5f2acd))==null?void 0x0:_0x3a9d03['pauseCollaboration']();return()=>{const _0x1deb34=_0x44b231;_0x1c77d2==null||_0x1c77d2[_0x1deb34(0x345)]();};},[_0xe02bb5,_0x58c006,_0x1222b3]);const _0x3b12c6=C[_0x3feb61(0x2e3)](()=>(_0x47dfe6[_0x3feb61(0x114)]++,Ke(_0x5a09a1)),[_0x5a09a1]),_0x291bd4=C[_0x3feb61(0x2e3)](()=>_0x3b12c6['slice'](0x0,_0x47fc5b),[_0x3b12c6,_0x47fc5b]),_0x586c45=_0x44b2e3[_0x3feb61(0x2ad)],_0x3fc0e7=Math[_0x3feb61(0x123)](_0x9933ca*(Ge/_0x586c45['w'])*0xa)/0xa,[_0x543da1,{wrapperStyle:_0x3edea5,containerProps:_0x4045a9}]=w[_0x3feb61(0x127)](_0x291bd4,{'containerTarget':_0x37edbc,'itemHeight':_0x586c45['h']*_0x3fc0e7+0x1c,'overscan':0x5}),_0x417acd=()=>{const _0x49f370=_0x3feb61;_0x3be91b[_0x49f370(0x3a5)](ce['id']);},_0x2d7782=()=>{const _0x5ba859=_0x3feb61;_0x43fb22(!0x0),_0x5e3f41[_0x5ba859(0x1d2)]({'content':_0x29235a['t'](_0x5ba859(0x1b7)),'type':h[_0x5ba859(0x110)][_0x5ba859(0x307)]}),setTimeout(()=>{const _0x44480c=_0x5ba859;_0x3be91b[_0x44480c(0x3a5)](te['id']);},0x12c);},_0xf88f53=w[_0x3feb61(0x138)](()=>{_0x261808(!0x0);});return o['jsxs']('div',{'className':_0x3feb61(0x309),'children':[_0x1e237f&&o[_0x3feb61(0x224)](Ft,{'onClose':()=>_0x261808(!0x1)}),_0xd1556f&&o[_0x3feb61(0x224)](_0x3feb61(0x1c2),{'className':_0x3feb61(0x270)}),o[_0x3feb61(0x24b)](_0x3feb61(0x1c2),{'className':h['clsx'](_0x3feb61(0x26f),h[_0x3feb61(0x226)]),'children':[o['jsxs']('div',{'className':_0x3feb61(0x240),'children':[_0x29235a['t'](_0x3feb61(0x30d)),_0x291bd4[_0x3feb61(0x238)],_0x29235a['t'](_0x3feb61(0x28e))]}),o[_0x3feb61(0x24b)]('div',{'className':'univer-flex\x20univer-gap-2','children':[o[_0x3feb61(0x224)](h['Button'],{'onClick':_0x417acd,'children':_0x29235a['t'](_0x3feb61(0x396))}),o[_0x3feb61(0x224)](h['Button'],{'variant':_0x3feb61(0x304),'onClick':_0x2d7782,'children':_0x29235a['t'](_0x3feb61(0x22a))})]})]}),o['jsxs'](_0x3feb61(0x1c2),{'className':_0x3feb61(0x1f8),'children':[o[_0x3feb61(0x24b)](_0x3feb61(0x1c2),{'className':_0x3feb61(0x194),'children':[o[_0x3feb61(0x224)](_0x3feb61(0x1c2),{'ref':_0x37edbc,'className':h[_0x3feb61(0x286)]('univer-flex-1\x20univer-overflow-auto',h['scrollbarClassName']),..._0x4045a9,'children':o['jsx'](_0x3feb61(0x1c2),{'style':_0x3edea5,'children':_0x543da1[_0x3feb61(0x15c)](_0x1aee98=>o[_0x3feb61(0x224)](Yt,{'config':_0x1aee98[_0x3feb61(0x204)],'page':_0x1aee98['data'][_0x3feb61(0x375)],'previewScale':_0x9933ca},_0x47dfe6[_0x3feb61(0x114)]+'-'+_0x1aee98[_0x3feb61(0x204)][_0x3feb61(0x38d)]['h']+'-'+_0x1aee98[_0x3feb61(0x204)][_0x3feb61(0x38d)]['w']+'-'+_0x1aee98['data'][_0x3feb61(0x1f9)]+'-'+_0x1aee98[_0x3feb61(0x204)][_0x3feb61(0x3c6)]+'-'+_0x1aee98['index']))},_0x47dfe6[_0x3feb61(0x114)])}),!_0x3c8d11&&o[_0x3feb61(0x224)](_0x3feb61(0x1c2),{'className':_0x3feb61(0x2f5),'children':o[_0x3feb61(0x224)]('a',{'href':_0x29235a['t'](_0x3feb61(0x126)),'target':'_blank','rel':_0x3feb61(0x33e),'children':_0x29235a['t']('print.limit.page')[_0x3feb61(0x104)](_0x3feb61(0x160),''+_0x47fc5b)})}),!_0x1e237f&&o[_0x3feb61(0x24b)](_0x3feb61(0x1c2),{'className':_0x3feb61(0x321),'children':[o[_0x3feb61(0x224)](_0x3feb61(0x1c2),{'className':_0x3feb61(0x1c6),'onClick':()=>{const _0x3b01be=_0x3feb61;_0x3ce76b(Math[_0x3b01be(0x2a2)](_0x9933ca+Ee,zt));},'children':o['jsx'](We,{})}),o[_0x3feb61(0x224)]('div',{'className':_0x3feb61(0x1c6),'onClick':()=>{const _0x93dec=_0x3feb61;_0x3ce76b(Math[_0x93dec(0x108)](_0x9933ca-Ee,At));},'children':o['jsx']($e,{})})]})]}),o[_0x3feb61(0x224)]('div',{'className':_0x3feb61(0xf5),'children':o[_0x3feb61(0x224)](Ot,{'onShowFooterHeaderEditor':_0xf88f53})})]})]});},J={'id':_0x23e56b(0x37d),'type':l['CommandType'][_0x23e56b(0x1a6)],'handler':_0x46086d=>{const _0x4c9761=_0x23e56b;var _0x4968e9,_0x1aeae0;const _0x47a20e=_0x46086d['get'](w['IGlobalZoneService']),_0x2335b5=_0x46086d['get'](l[_0x4c9761(0x399)]),_0x129f56=_0x46086d[_0x4c9761(0x303)](l[_0x4c9761(0x19a)]),_0x3f7751=_0x46086d[_0x4c9761(0x303)](l[_0x4c9761(0x392)]),_0x2c38b5=_0x46086d['get'](w[_0x4c9761(0x2bf)]),_0x11fbf1=(_0x4968e9=_0x46086d[_0x4c9761(0x303)](l[_0x4c9761(0x1d1)])['getConfig'](W[_0x4c9761(0x201)]))!=null?_0x4968e9:{},{ls:_0x52b9dc,pbk:_0x43bc75}=_0x11fbf1;if(!ft(_0x52b9dc,_0x43bc75))return!0x1;_0x47a20e[_0x4c9761(0x170)](dt,Vt);const _0x14da46=_0x3f7751[_0x4c9761(0x36d)](l[_0x4c9761(0x231)][_0x4c9761(0xd5)])[_0x4c9761(0x171)]();if(!((_0x1aeae0=_0x2335b5[_0x4c9761(0x2f9)](new $[(_0x4c9761(0x239))](_0x14da46)['id']))!=null?_0x1aeae0:!0x1)){const _0x1480fa={'id':Te,'title':{'title':''},'children':{'label':ht,'errorMsg':_0x129f56['t'](_0x4c9761(0x2e9))},'width':0x140,'destroyOnClose':!0x0,'onClose':()=>_0x2c38b5[_0x4c9761(0x14b)](Te),'className':_0x4c9761(0x1b8)};throw _0x2c38b5['open'](_0x1480fa),new Error(_0x4c9761(0x153));}return _0x47a20e[_0x4c9761(0x229)](),!0x0;}},ce={'type':l[_0x23e56b(0x235)][_0x23e56b(0x1a6)],'id':_0x23e56b(0x2e0),'handler'(_0x114fe0){const _0x5a9618=_0x23e56b,_0x200dba=_0x114fe0[_0x5a9618(0x303)](w['IGlobalZoneService']),_0x56b65b=_0x114fe0[_0x5a9618(0x303)](H);return _0x200dba[_0x5a9618(0x14b)](),_0x56b65b[_0x5a9618(0x27a)](),!0x0;}},te={'type':l[_0x23e56b(0x235)][_0x23e56b(0x1a6)],'id':_0x23e56b(0x11a),'handler'(){return!0x0;}},Se={'id':_0x23e56b(0x246),'type':l['CommandType'][_0x23e56b(0x332)],'handler'(_0x2eb9b3,_0x485489){const _0x582f92=_0x23e56b;if(!_0x485489)return!0x1;const _0x4b6546=_0x2eb9b3['get'](l[_0x582f92(0x30a)]),_0x1ecf6d=_0x2eb9b3[_0x582f92(0x303)](H);return _0x1ecf6d['replaceLayoutConfig'](_0x485489[_0x582f92(0x17b)]),_0x1ecf6d['replaceRenderConfig'](_0x485489['renderConfig']),_0x4b6546[_0x582f92(0x318)](te['id']);}};var Ut=Object[_0x23e56b(0x1dd)],Ht=(_0x58aae7,_0x4fe0f6,_0x14a7bf,_0x59d1fa)=>{const _0x269fad=_0x23e56b;for(var _0x24f754=_0x59d1fa>0x1?void 0x0:_0x59d1fa?Ut(_0x4fe0f6,_0x14a7bf):_0x4fe0f6,_0x37ad9b=_0x58aae7[_0x269fad(0x238)]-0x1,_0x791ba1;_0x37ad9b>=0x0;_0x37ad9b--)(_0x791ba1=_0x58aae7[_0x37ad9b])&&(_0x24f754=_0x791ba1(_0x24f754)||_0x24f754);return _0x24f754;},le=(_0xc8b61c,_0x2447a5)=>(_0xa98ac0,_0x554c9a)=>_0x2447a5(_0xa98ac0,_0x554c9a,_0xc8b61c);let Me=0x0;exports[_0x23e56b(0x1ed)]=class{constructor(_0x239b8a,_0x583820,_0x213f92,_0x45a0b0){const _0x1da241=_0x23e56b;this[_0x1da241(0x1c0)]=_0x239b8a,this[_0x1da241(0x1ec)]=_0x583820,this[_0x1da241(0x18b)]=_0x213f92,this[_0x1da241(0x2dd)]=_0x45a0b0;}async[_0x23e56b(0x280)](_0x354e18,_0x123096){const _0x5db1c1=_0x23e56b;var _0xc09fe9;let _0x3a9695=Ke(_0x354e18);const _0x2295d7=(_0xc09fe9=this[_0x5db1c1(0x1c0)][_0x5db1c1(0x303)](l[_0x5db1c1(0x1d1)])[_0x5db1c1(0x1fb)](W[_0x5db1c1(0x201)]))!=null?_0xc09fe9:{},{ls:_0x48da4c,pbk:_0x27fe62}=_0x2295d7,_0x9d8ea9=W[_0x5db1c1(0x39b)]()?Number[_0x5db1c1(0x327)]:_e(ke,_0x48da4c,_0x27fe62)[_0x5db1c1(0x375)];_0x3a9695=_0x3a9695[_0x5db1c1(0x1ce)](0x0,_0x9d8ea9);const _0x26b4f8=document[_0x5db1c1(0x1b0)](_0x5db1c1(0x1c2));_0x26b4f8[_0x5db1c1(0xe0)]=I['PRINT_CONTAINER_CLASS'];let _0x376733=_0x3a9695[_0x5db1c1(0x15c)](_0x17333b=>{const _0x48e985=_0x5db1c1,_0x427f72=new fe(this[_0x48e985(0x1c0)],_0x17333b,_0x123096,!0x1);return _0x427f72[_0x48e985(0x2fd)][_0x48e985(0xe0)]=I['PRINT_CANVAS_CLASS'],_0x427f72;});_0x376733['forEach'](_0x1146f8=>{const _0x13edb6=_0x5db1c1;_0x26b4f8[_0x13edb6(0x388)](_0x1146f8[_0x13edb6(0x2fd)]),_0x1146f8[_0x13edb6(0x2fd)][_0x13edb6(0x388)](_0x1146f8[_0x13edb6(0x21e)]),_0x1146f8[_0x13edb6(0x217)](),_0x1146f8['markDirty'](!0x1);});const _0x40b962=this[_0x5db1c1(0x18b)][_0x5db1c1(0x17b)],_0x768aa1=l[_0x5db1c1(0x2f4)][_0x40b962[_0x5db1c1(0x2ad)]],_0x5e985a=I[_0x5db1c1(0x32c)](_0x768aa1[_0x5db1c1(0x2ab)],_0x768aa1['height'],_0x40b962['direction']);return document[_0x5db1c1(0x3b4)][_0x5db1c1(0x388)](_0x5e985a),document[_0x5db1c1(0x3b4)][_0x5db1c1(0x388)](_0x26b4f8),new Promise(_0x57a25b=>{setTimeout(()=>{const _0x58590d=_0x2c8a;window[_0x58590d(0x262)]=()=>{_0x376733['forEach'](_0x400f88=>{const _0x5744e8=_0x2c8a;_0x400f88[_0x5744e8(0x24f)](),_0x400f88[_0x5744e8(0x260)]();});},window[_0x58590d(0x1de)]=()=>{const _0x246693=_0x58590d;_0x376733[_0x246693(0x14f)](_0x193e9d=>{const _0x534aa6=_0x246693;_0x193e9d[_0x534aa6(0x345)]();}),document[_0x246693(0x3b4)][_0x246693(0x28f)](_0x26b4f8),document[_0x246693(0x3b4)][_0x246693(0x28f)](_0x5e985a),this['_globalZoneService'][_0x246693(0x14b)](),this['_sheetPrintManagerService'][_0x246693(0x27a)](),_0x376733=[],_0x57a25b(!0x0);},window[_0x58590d(0x280)]();},0x64);});}[_0x23e56b(0x2f0)](_0x248827,_0x5377a3,_0x48449c){const _0x21f105=_0x23e56b;if(!Fe(this[_0x21f105(0x1c0)])){const _0xf64464=(Date[_0x21f105(0x1cb)]()-Me)/0x3e8;if(Me=Date[_0x21f105(0x1cb)](),_0xf64464<=0x1e)return!0x1;}const _0x4b604a=this[_0x21f105(0x2dd)]['getRenderById'](_0x248827);if(!_0x4b604a)return!0x1;const _0xa8ba5f=_0x4b604a[_0x21f105(0x37b)](B['SheetSkeletonManagerService'])[_0x21f105(0x219)]({'sheetId':_0x5377a3});if(!_0xa8ba5f)return!0x1;const _0x226fbc=_0xa8ba5f[_0x21f105(0x1c3)][_0x48449c[_0x21f105(0x2af)]]-(_0xa8ba5f['columnWidthAccumulation'][_0x48449c[_0x21f105(0x393)]-0x1]||0x0),_0x5762f1=_0xa8ba5f[_0x21f105(0x38c)][_0x48449c[_0x21f105(0x1c4)]]-(_0xa8ba5f[_0x21f105(0x38c)][_0x48449c[_0x21f105(0x2e6)]-0x1]||0x0),_0x26a141=1.5,_0x210a2a=new fe(this['_injector'],{'unitId':_0x248827,'subUnitId':_0x5377a3,'range':_0x48449c,'freeze':je,'scale':_0x26a141,'page':0x1,'pageSize':{'w':_0x226fbc*_0x26a141+0x1,'h':_0x5762f1*_0x26a141+0x1},'margin':I[_0x21f105(0x2c2)][I[_0x21f105(0x3bc)][_0x21f105(0x11d)]],'pageTotal':0x1,'sheetPageTotal':0x1,'sheetPage':0x1},{'gridlines':!0x0,'hAlign':I[_0x21f105(0x276)][_0x21f105(0x2ec)],'vAlign':I['PrintAlign'][_0x21f105(0x2ec)],'headerFooter':[],'headerFooterSetting':ye,'isCustomHeaderFooter':!0x1},!0x1),_0x2312c5=document[_0x21f105(0x1b0)]('div');_0x2312c5['className']=I[_0x21f105(0x265)],_0x210a2a['container'][_0x21f105(0xe0)]=I[_0x21f105(0x37e)],_0x2312c5[_0x21f105(0x388)](_0x210a2a['container']),document[_0x21f105(0x3b4)]['appendChild'](_0x2312c5),_0x210a2a[_0x21f105(0x217)](),_0x210a2a[_0x21f105(0x24f)]();const _0x7c3f8b=_0x210a2a['getImage']();return _0x210a2a[_0x21f105(0x345)](),document[_0x21f105(0x3b4)][_0x21f105(0x28f)](_0x2312c5),_0x7c3f8b;}},exports['SheetPrintClientService']=Ht([le(0x0,l['Inject'](l[_0x23e56b(0x23e)])),le(0x1,w[_0x23e56b(0x2b8)]),le(0x2,H),le(0x3,j[_0x23e56b(0x208)])],exports[_0x23e56b(0x1ed)]);function Wt(_0x266f8c,_0xc2b126){const _0x1a770f=_0x23e56b,_0x21bef8=atob(_0x266f8c['split'](',')[0x1]),_0x341953=new ArrayBuffer(_0x21bef8[_0x1a770f(0x238)]),_0x1923b7=new Uint8Array(_0x341953);for(let _0x287763=0x0;_0x287763<_0x21bef8[_0x1a770f(0x238)];_0x287763++)_0x1923b7[_0x287763]=_0x21bef8['charCodeAt'](_0x287763);return new Blob([_0x341953],{'type':_0xc2b126});}const he={'type':l[_0x23e56b(0x235)][_0x23e56b(0x1a6)],'id':_0x23e56b(0x189),async 'handler'(_0x4bf631){const _0xb5e59b=_0x23e56b;var _0xf3bac0;const _0x2672f2=_0x4bf631[_0xb5e59b(0x303)]($['SheetsSelectionsService']),_0xb10084=(_0xf3bac0=_0x2672f2[_0xb5e59b(0x23f)]())==null?void 0x0:_0xf3bac0[0x0],_0x219865=_0x4bf631[_0xb5e59b(0x303)](exports[_0xb5e59b(0x1ed)]),_0x43af2b=_0x2672f2[_0xb5e59b(0x1e3)](),_0x39a675=_0x4bf631[_0xb5e59b(0x303)](w[_0xb5e59b(0x37a)]),_0x5b55fa=_0x4bf631[_0xb5e59b(0x303)](l[_0xb5e59b(0x392)]),_0x83344d=_0x4bf631[_0xb5e59b(0x303)](l[_0xb5e59b(0x19a)]);if(!_0xb10084||!_0x43af2b)return!0x1;const _0x4b9611=$[_0xb5e59b(0xd9)](_0x5b55fa);if(!_0x4b9611)return!0x1;const {unitId:_0x2786b0,subUnitId:_0x518df5}=_0x4b9611,_0x29bb52=_0x219865[_0xb5e59b(0x2f0)](_0x2786b0,_0x518df5,_0xb10084[_0xb5e59b(0x198)]);if(!_0x29bb52)return!0x1;try{return await navigator[_0xb5e59b(0xed)][_0xb5e59b(0x256)]([new ClipboardItem({'image/png':Wt(_0x29bb52,_0xb5e59b(0x113))})]),_0x39a675[_0xb5e59b(0x1d2)]({'type':h[_0xb5e59b(0x110)]['Success'],'content':_0x83344d['t']('print.screenshot.success')}),!0x0;}catch{return _0x39a675[_0xb5e59b(0x1d2)]({'type':h[_0xb5e59b(0x110)][_0xb5e59b(0x162)],'content':_0x83344d['t']('print.screenshot.fail')}),!0x1;}}},$t=_0x23e56b(0x258),re=l[_0x23e56b(0x23a)](_0x23e56b(0x207));class Bt extends l['Disposable']{constructor(){const _0x3c14ad=_0x23e56b;super(...arguments),R(this,_0x3c14ad(0x36a),new ie[(_0x3c14ad(0x290))](!0x1)),R(this,'visible$',this[_0x3c14ad(0x36a)]);}get[_0x23e56b(0x1a8)](){const _0x33a27a=_0x23e56b;return this[_0x33a27a(0x36a)][_0x33a27a(0x324)];}['show'](){const _0x1a95c0=_0x23e56b;this[_0x1a95c0(0x36a)][_0x1a95c0(0x1b5)](!0x0);}[_0x23e56b(0x20e)](){const _0xfcc90a=_0x23e56b;this[_0xfcc90a(0x36a)][_0xfcc90a(0x1b5)](!0x1);}[_0x23e56b(0x345)](){const _0x2acb14=_0x23e56b;super[_0x2acb14(0x345)](),this[_0x2acb14(0x36a)][_0x2acb14(0x145)]();}}const Ze=_0x23e56b(0x339),ue={'id':_0x23e56b(0x1f7),'type':l['CommandType'][_0x23e56b(0x1a6)],'handler':_0x14b7fb=>{const _0x51d134=_0x23e56b,_0x44395d=_0x14b7fb[_0x51d134(0x303)](w[_0x51d134(0x38f)]),_0x103376=_0x14b7fb[_0x51d134(0x303)](re),_0x64034e=_0x14b7fb[_0x51d134(0x303)](H),_0x2ce777=_0x14b7fb['get'](l[_0x51d134(0x19a)]);return _0x64034e[_0x51d134(0x306)](),_0x103376['show'](),_0x44395d['open']({'header':{'title':_0x2ce777['t'](_0x51d134(0x2cd))},'children':{'label':Ze},'onClose':()=>{},'width':0x138}),!0x0;}},Ce={'id':_0x23e56b(0xf8),'type':l[_0x23e56b(0x235)][_0x23e56b(0x1a6)],'handler':_0x32e072=>{const _0x34d453=_0x23e56b,_0x2f2191=_0x32e072[_0x34d453(0x303)](w[_0x34d453(0x38f)]);return _0x32e072['get'](re)[_0x34d453(0x20e)](),_0x2f2191['close'](),!0x0;}},Xe=C[_0x23e56b(0x2be)](()=>{const _0x10394f=_0x23e56b;var _0x22712a,_0x37f320,_0x2c43c7,_0x50fe7a;const _0x2d2ee7=w['useDependency'](H),_0x2b3c6c=w[_0x10394f(0x133)](l['ICommandService']),_0x3b5477=w[_0x10394f(0x264)](_0x2d2ee7[_0x10394f(0x29b)],_0x2d2ee7[_0x10394f(0x17b)]),_0x512c4d=w['useDependency'](l[_0x10394f(0x19a)]),_0x420e9f=w[_0x10394f(0x133)](l[_0x10394f(0x392)])[_0x10394f(0x36d)](l['UniverInstanceType'][_0x10394f(0xd5)]);if(!_0x420e9f)return console[_0x10394f(0x117)](_0x10394f(0x14a)),null;const _0x560b26=_0x420e9f[_0x10394f(0x23b)]();if(!_0x560b26)return console[_0x10394f(0x117)](_0x10394f(0x146)),null;const _0x2a082a=(_0x474373,_0x20021c)=>{const _0x26507e=_0x10394f,_0x42bf8e=Math[_0x26507e(0x108)](0x0,_0x20021c||0x0),_0x598c5d=_0x3b5477['marginCustom']||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x2d2ee7[_0x26507e(0x348)]({'marginCustom':{..._0x598c5d,[_0x474373]:_0x42bf8e}});},_0x39d7fb=_0x560b26[_0x10394f(0x1d0)](),_0x120e31=_0x39d7fb[_0x10394f(0x22d)]<=0x0,_0x46a674=_0x39d7fb[_0x10394f(0x180)]<=0x0,_0xbe31e6=()=>{const _0x38533b=_0x10394f;_0x2b3c6c[_0x38533b(0x3a5)](Ce['id']);},_0x2369d9=()=>{_0x2b3c6c['executeCommand'](J['id']),_0xbe31e6();};return o[_0x10394f(0x24b)](_0x10394f(0x1c2),{'className':h[_0x10394f(0x286)](_0x10394f(0x196),h['scrollbarClassName']),'children':[o['jsxs']('div',{'className':_0x10394f(0xda),'children':[o['jsx'](h[_0x10394f(0x128)],{'label':_0x512c4d['t'](_0x10394f(0x2ef)),'children':o[_0x10394f(0x224)](h['Select'],{'className':_0x10394f(0x383),'value':''+_0x3b5477[_0x10394f(0x2a0)],'onChange':_0x41a305=>{_0x2d2ee7['updateLayoutConfig']({'area':_0x41a305});},'options':[{'label':_0x512c4d['t']('print.area.currentSheet'),'value':O['CurrentSheet']},{'label':_0x512c4d['t'](_0x10394f(0x1ba)),'value':O[_0x10394f(0x261)]}]})}),o[_0x10394f(0x224)](h[_0x10394f(0x128)],{'label':_0x512c4d['t']('print.size.title'),'children':o[_0x10394f(0x224)](h[_0x10394f(0xf6)],{'className':_0x10394f(0x383),'value':_0x3b5477[_0x10394f(0x2ad)],'options':[{'label':_0x512c4d['t'](_0x10394f(0x1fe)),'value':l[_0x10394f(0x193)][_0x10394f(0x2bc)]},{'label':_0x512c4d['t'](_0x10394f(0x315)),'value':l[_0x10394f(0x193)][_0x10394f(0x14c)]},{'label':_0x512c4d['t'](_0x10394f(0x379)),'value':l[_0x10394f(0x193)][_0x10394f(0x37f)]},{'label':_0x512c4d['t'](_0x10394f(0x317)),'value':l['PaperType']['Statement']},{'label':_0x512c4d['t'](_0x10394f(0x39f)),'value':l[_0x10394f(0x193)][_0x10394f(0x2ae)]},{'label':_0x512c4d['t']('print.size.folio'),'value':l['PaperType'][_0x10394f(0x215)]},{'label':_0x512c4d['t'](_0x10394f(0x19b)),'value':l[_0x10394f(0x193)]['A3']},{'label':_0x512c4d['t'](_0x10394f(0x23c)),'value':l[_0x10394f(0x193)]['A4']},{'label':_0x512c4d['t'](_0x10394f(0x2cf)),'value':l['PaperType']['A5']},{'label':_0x512c4d['t'](_0x10394f(0x26e)),'value':l[_0x10394f(0x193)]['B4']},{'label':_0x512c4d['t'](_0x10394f(0x33c)),'value':l[_0x10394f(0x193)]['B5']}],'onChange':_0x193f8=>{const _0x518847=_0x10394f;_0x2d2ee7[_0x518847(0x348)]({'paperSize':_0x193f8});}})}),o['jsx'](h['FormLayout'],{'label':_0x512c4d['t'](_0x10394f(0x1e0)),'children':o[_0x10394f(0x224)](h['Select'],{'className':'univer-w-full','value':_0x3b5477[_0x10394f(0x357)],'options':[{'label':_0x512c4d['t'](_0x10394f(0x3c0)),'value':I[_0x10394f(0x3bc)]['Normal']},{'label':_0x512c4d['t'](_0x10394f(0x24d)),'value':I[_0x10394f(0x3bc)][_0x10394f(0x27e)]},{'label':_0x512c4d['t']('print.margin.wide'),'value':I[_0x10394f(0x3bc)][_0x10394f(0xfc)]},{'label':_0x512c4d['t'](_0x10394f(0x166)),'value':I[_0x10394f(0x3bc)][_0x10394f(0x29a)]}],'onChange':_0x3e7fdc=>{const _0x30870c=_0x10394f,_0x25f217=I[_0x30870c(0x2c2)][_0x3b5477[_0x30870c(0x357)]];_0x2d2ee7[_0x30870c(0x348)]({'margin':_0x3e7fdc,'marginCustom':_0x3e7fdc===I[_0x30870c(0x3bc)]['Custom']?_0x25f217:I[_0x30870c(0x2c2)][_0x3e7fdc]});}})}),_0x3b5477[_0x10394f(0x357)]===I[_0x10394f(0x3bc)][_0x10394f(0x29a)]&&o['jsx'](h[_0x10394f(0x128)],{'children':o['jsxs'](_0x10394f(0x1c2),{'className':_0x10394f(0x1cf),'children':[o['jsxs']('div',{'children':[o[_0x10394f(0x224)](_0x10394f(0x337),{'className':_0x10394f(0x3b1),'children':_0x512c4d['t'](_0x10394f(0x3ba))}),o['jsx'](h['Input'],{'type':'number','value':String(((_0x22712a=_0x3b5477['marginCustom'])==null?void 0x0:_0x22712a[_0x10394f(0x184)])||0x0),'onChange':_0x24f50b=>_0x2a082a('top',Number(_0x24f50b))})]}),o[_0x10394f(0x24b)](_0x10394f(0x1c2),{'children':[o['jsx'](_0x10394f(0x337),{'className':_0x10394f(0x3b1),'children':_0x512c4d['t'](_0x10394f(0x2ee))}),o[_0x10394f(0x224)](h[_0x10394f(0x2dc)],{'type':'number','value':String(((_0x37f320=_0x3b5477['marginCustom'])==null?void 0x0:_0x37f320[_0x10394f(0x186)])||0x0),'onChange':_0x1ae72b=>_0x2a082a(_0x10394f(0x186),Number(_0x1ae72b))})]}),o[_0x10394f(0x24b)](_0x10394f(0x1c2),{'children':[o['jsx'](_0x10394f(0x337),{'className':'univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','children':_0x512c4d['t'](_0x10394f(0x382))}),o['jsx'](h['Input'],{'type':_0x10394f(0x122),'value':String(((_0x2c43c7=_0x3b5477[_0x10394f(0x372)])==null?void 0x0:_0x2c43c7[_0x10394f(0x2a9)])||0x0),'onChange':_0x47d9ae=>_0x2a082a('left',Number(_0x47d9ae))})]}),o['jsxs'](_0x10394f(0x1c2),{'children':[o[_0x10394f(0x224)](_0x10394f(0x337),{'className':_0x10394f(0x3b1),'children':_0x512c4d['t'](_0x10394f(0x105))}),o[_0x10394f(0x224)](h[_0x10394f(0x2dc)],{'type':_0x10394f(0x122),'value':String(((_0x50fe7a=_0x3b5477[_0x10394f(0x372)])==null?void 0x0:_0x50fe7a[_0x10394f(0x151)])||0x0),'onChange':_0xd36ce6=>_0x2a082a(_0x10394f(0x151),Number(_0xd36ce6))})]})]})}),o[_0x10394f(0x224)](h['FormLayout'],{'label':_0x512c4d['t'](_0x10394f(0x182)),'children':o[_0x10394f(0x24b)](h[_0x10394f(0x248)],{'value':_0x3b5477[_0x10394f(0x1b2)],'onChange':_0x24a71f=>{const _0x2a59f9=_0x10394f;_0x2d2ee7[_0x2a59f9(0x348)]({'direction':_0x24a71f});},'children':[o[_0x10394f(0x224)](h[_0x10394f(0x13e)],{'value':I['PrintDirection'][_0x10394f(0x3b6)],'children':_0x512c4d['t']('print.orientation.portrait')}),o[_0x10394f(0x224)](h['Radio'],{'value':I[_0x10394f(0x2fe)]['Landscape'],'children':_0x512c4d['t'](_0x10394f(0xd6))})]})}),o[_0x10394f(0x224)](h[_0x10394f(0x128)],{'collapsable':!0x0,'label':_0x512c4d['t'](_0x10394f(0x267)),'children':o[_0x10394f(0x24b)](h['CheckboxGroup'],{'direction':'vertical','value':_0x3b5477[_0x10394f(0x2b6)],'onChange':_0x576198=>{_0x2d2ee7['updateLayoutConfig']({'freeze':_0x576198});},'children':[o[_0x10394f(0x224)](h[_0x10394f(0x3a8)],{'disabled':_0x46a674,'value':G[_0x10394f(0x130)],'children':_0x512c4d['t'](_0x10394f(0xe7))}),o['jsx'](h[_0x10394f(0x3a8)],{'disabled':_0x120e31,'value':G['Column'],'children':_0x512c4d['t'](_0x10394f(0x21d))})]})}),o['jsxs'](h[_0x10394f(0x128)],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0x512c4d['t'](_0x10394f(0x20d)),'children':[o[_0x10394f(0x224)](h[_0x10394f(0x128)],{'className':_0x10394f(0x10f),'label':_0x512c4d['t'](_0x10394f(0x26a)),'children':o[_0x10394f(0x224)](h[_0x10394f(0x2dc)],{'value':_0x3b5477['maxRowsEachPage']===0x1/0x0?'':''+_0x3b5477[_0x10394f(0x2ac)],'onChange':_0x53b506=>{const _0x3aebdc=_0x10394f;_0x2d2ee7[_0x3aebdc(0x348)]({'maxRowsEachPage':!_0x53b506||Number[_0x3aebdc(0x263)](Number(_0x53b506))?0x1/0x0:Number(_0x53b506)});}})}),o['jsx'](h['FormLayout'],{'label':_0x512c4d['t'](_0x10394f(0x154)),'children':o[_0x10394f(0x224)](h[_0x10394f(0x2dc)],{'value':_0x3b5477[_0x10394f(0x167)]===0x1/0x0?'':''+_0x3b5477[_0x10394f(0x167)],'onChange':_0x3fb895=>{_0x2d2ee7['updateLayoutConfig']({'maxColumnsEachPage':!_0x3fb895||Number['isNaN'](Number(_0x3fb895))?0x1/0x0:Number(_0x3fb895)});}})})]})]}),o['jsxs']('div',{'className':_0x10394f(0x352),'children':[o[_0x10394f(0x224)](h[_0x10394f(0x3b5)],{'type':_0x10394f(0x16d),'variant':_0x10394f(0x304),'size':_0x10394f(0x19c),'className':_0x10394f(0x383),'onClick':_0x2369d9,'children':_0x512c4d['t']('print.menu')}),o['jsx'](h[_0x10394f(0x3b5)],{'type':'button','size':'middle','className':_0x10394f(0x383),'onClick':_0xbe31e6,'children':_0x512c4d['t']('print.grid.closeAndHide')})]})]});});Xe[_0x23e56b(0x10a)]=_0x23e56b(0x39e);const Kt='PrintGridExtension',Gt=0x3d,Zt=_0x23e56b(0x1c1),Xt=0x2,qt=[0x6,0x4],q=class q extends j[_0x23e56b(0x135)]{constructor(){const _0x3e4027=_0x23e56b;super(...arguments),R(this,_0x3e4027(0x19f),Kt),R(this,_0x3e4027(0xf0),Gt);}[_0x23e56b(0x173)](_0x45db15,_0x16e2b0,_0x25fafa,_0x47ae67){const _0x2d7f53=_0x23e56b;if(_0x45db15[_0x2d7f53(0x175)]==='printing'||!q['printGridService']||!q[_0x2d7f53(0x24e)]||!q[_0x2d7f53(0x152)][_0x2d7f53(0x1a8)])return;const {worksheet:_0x47c0d7}=_0x25fafa;if(!_0x47c0d7)return;const _0x58e1aa=q['printManagerService'][_0x2d7f53(0x157)],_0x59563f=_0x47c0d7[_0x2d7f53(0x322)](),_0x29515c=_0x58e1aa[_0x2d7f53(0x294)](_0x1faa1d=>_0x1faa1d['subUnitId']===_0x59563f);_0x29515c&&this['_drawPrintGrid'](_0x45db15,_0x25fafa,_0x29515c);}[_0x23e56b(0x2c0)](_0x27080f,_0x3727b8,_0x3aae36){const _0x2d5a32=_0x23e56b,{pages:_0x322367}=_0x3aae36,{rowHeightAccumulation:_0x55578d,columnWidthAccumulation:_0x32730a}=_0x3727b8;_0x27080f[_0x2d5a32(0x22c)](),_0x27080f[_0x2d5a32(0x1be)]=Zt,_0x27080f[_0x2d5a32(0x1f0)]=Xt,_0x27080f[_0x2d5a32(0x1ac)](qt);const _0x49210a=new Set(),_0x3330b0=new Set();_0x322367[_0x2d5a32(0x14f)](_0x51be89=>{const _0x26928e=_0x2d5a32,{startRow:_0x523375,endRow:_0x5d85f3,startColumn:_0x347c09,endColumn:_0x1567ab}=_0x51be89,_0x1fb6a8=_0x523375===0x0?0x0:_0x55578d[_0x523375-0x1],_0x18a3f8=_0x55578d[_0x5d85f3],_0x2cbaa0=_0x347c09===0x0?0x0:_0x32730a[_0x347c09-0x1],_0x2525a1=_0x32730a[_0x1567ab];_0x49210a['add'](_0x1fb6a8),_0x49210a['add'](_0x18a3f8),_0x3330b0[_0x26928e(0x100)](_0x2cbaa0),_0x3330b0[_0x26928e(0x100)](_0x2525a1);});const _0x1e4d49=Math[_0x2d5a32(0x2a2)](...Array[_0x2d5a32(0x12c)](_0x3330b0)),_0x27a9cb=Math[_0x2d5a32(0x108)](...Array[_0x2d5a32(0x12c)](_0x3330b0)),_0x2cc0b0=Math[_0x2d5a32(0x2a2)](...Array[_0x2d5a32(0x12c)](_0x49210a)),_0xc6fe18=Math[_0x2d5a32(0x108)](...Array[_0x2d5a32(0x12c)](_0x49210a));_0x49210a['forEach'](_0x48e07f=>{const _0x574946=_0x2d5a32;_0x27080f[_0x574946(0x178)](),_0x27080f[_0x574946(0x174)](_0x1e4d49,_0x48e07f),_0x27080f[_0x574946(0x1d5)](_0x27a9cb,_0x48e07f),_0x27080f[_0x574946(0x228)]();}),_0x3330b0[_0x2d5a32(0x14f)](_0xd37c68=>{const _0xd3d88f=_0x2d5a32;_0x27080f['beginPath'](),_0x27080f['moveTo'](_0xd37c68,_0x2cc0b0),_0x27080f[_0xd3d88f(0x1d5)](_0xd37c68,_0xc6fe18),_0x27080f['stroke']();}),_0x27080f[_0x2d5a32(0x221)]();}};R(q,_0x23e56b(0x152),null),R(q,_0x23e56b(0x24e),null);let ae=q;j[_0x23e56b(0x169)][_0x23e56b(0x100)](ae);const qe=_0x23e56b(0x3a9);function Jt(_0x22118b){const _0x245de9=_0x23e56b;return{'id':qe,'type':w[_0x245de9(0x2b7)][_0x245de9(0x2ed)],'icon':_0x245de9(0x12f),'tooltip':_0x245de9(0x24c),'hidden$':w[_0x245de9(0x341)](_0x22118b,l[_0x245de9(0x231)][_0x245de9(0xd5)]),'disabled$':B[_0x245de9(0x1b4)](_0x22118b,{'workbookTypes':[$[_0x245de9(0x239)]]})};}function Qt(_0x4a4c5b){const _0x2edfaf=_0x23e56b;return{'id':J['id'],'type':w[_0x2edfaf(0x2b7)][_0x2edfaf(0x243)],'title':_0x2edfaf(0x24c)};}function en(_0x5b424f){const _0xedc303=_0x23e56b;return{'id':he['id'],'type':w[_0xedc303(0x2b7)]['BUTTON'],'title':_0xedc303(0xe2),'icon':'DownloadImageIcon','tooltip':'print.screenshot.title','hidden$':w[_0xedc303(0x341)](_0x5b424f,l[_0xedc303(0x231)]['UNIVER_SHEET']),'disabled$':B['getCurrentRangeDisable$'](_0x5b424f,{'workbookTypes':[$[_0xedc303(0x239)],$[_0xedc303(0x20b)],$[_0xedc303(0x1ab)]],'worksheetTypes':[$[_0xedc303(0x364)],$[_0xedc303(0x268)]],'rangeTypes':[$['RangeProtectionPermissionViewPoint']]})};}function tn(_0x306614){const _0x57346a=_0x23e56b;return{'id':ue['id'],'type':w[_0x57346a(0x2b7)][_0x57346a(0x243)],'title':_0x57346a(0x2cd)};}const nn={[w[_0x23e56b(0x18a)][_0x23e56b(0x222)]]:{[qe]:{'order':0.1,'menuItemFactory':Jt,[J['id']]:{'order':0x0,'menuItemFactory':Qt},[ue['id']]:{'order':0x1,'menuItemFactory':tn}}},[w[_0x23e56b(0x1a5)]['MAIN_AREA']]:{[w[_0x23e56b(0x1da)]['OTHERS']]:{[he['id']]:{'order':2.1,'menuItemFactory':en}}}},rn={'id':J['id'],'binding':w[_0x23e56b(0x176)]['P']|w['MetaKeys'][_0x23e56b(0x23d)],'preconditions':B['whenSheetEditorFocused']};var an=Object[_0x23e56b(0x1dd)],on=(_0x8a1a8,_0x4da1e5,_0x529010,_0x29687e)=>{const _0x186e8a=_0x23e56b;for(var _0x8d3e91=_0x29687e>0x1?void 0x0:_0x29687e?an(_0x4da1e5,_0x529010):_0x4da1e5,_0x160a9a=_0x8a1a8[_0x186e8a(0x238)]-0x1,_0x1e69d3;_0x160a9a>=0x0;_0x160a9a--)(_0x1e69d3=_0x8a1a8[_0x160a9a])&&(_0x8d3e91=_0x1e69d3(_0x8d3e91)||_0x8d3e91);return _0x8d3e91;},K=(_0x1cd0f1,_0x3de23f)=>(_0x39b795,_0x5bf3a5)=>_0x3de23f(_0x39b795,_0x5bf3a5,_0x1cd0f1);let de=class extends l[_0x23e56b(0x164)]{constructor(_0x5d303f,_0x4100ad,_0x26ae78,_0x58093e,_0x346c89,_0x20d9ab,_0x3fd20e,_0x29e9,_0x3dd478,_0x273b9f){const _0x16885b=_0x23e56b;super(),this[_0x16885b(0x305)]=_0x5d303f,this[_0x16885b(0x17c)]=_0x4100ad,this[_0x16885b(0x18b)]=_0x26ae78,this[_0x16885b(0x255)]=_0x58093e,this[_0x16885b(0x31e)]=_0x346c89,this[_0x16885b(0x2b4)]=_0x20d9ab,this[_0x16885b(0x124)]=_0x3fd20e,this['_injector']=_0x29e9,this['_univerInstanceService']=_0x3dd478,this['_renderManagerService']=_0x273b9f,this[_0x16885b(0x3b2)]();}[_0x23e56b(0x3b2)](){const _0x561eb0=_0x23e56b;this[_0x561eb0(0x384)](),this['_initComponents'](),this[_0x561eb0(0x2c6)](),this[_0x561eb0(0x328)](),this[_0x561eb0(0x1aa)](),this[_0x561eb0(0x363)](),this[_0x561eb0(0x213)](),this['_initMutationListener']();}[_0x23e56b(0x384)](){const _0x5f32a1=_0x23e56b;[J,ce,te,he,Se,ue,Ce][_0x5f32a1(0x14f)](_0x12d492=>this['_commandService'][_0x5f32a1(0x20f)](_0x12d492));}[_0x23e56b(0x232)](){const _0x2709bb=_0x23e56b;[[_0x2709bb(0x12f),Ve],[_0x2709bb(0xec),ze]]['forEach'](([_0x183416,_0x304fe5])=>{const _0x300b7e=_0x2709bb;this[_0x300b7e(0x31e)][_0x300b7e(0x10d)](_0x183416,_0x304fe5);}),this[_0x2709bb(0x31e)][_0x2709bb(0x10d)](Ze,Xe);}[_0x23e56b(0x328)](){const _0x808f88=_0x23e56b;[rn][_0x808f88(0x14f)](_0x4399d8=>{const _0x6b3468=_0x808f88;this[_0x6b3468(0x124)][_0x6b3468(0x35d)](_0x4399d8);});}[_0x23e56b(0x2c6)](){const _0x240621=_0x23e56b;this[_0x240621(0x2b4)]['mergeMenu'](nn);}['_initConfigChangeListener'](){const _0x4a1b60=_0x23e56b;this[_0x4a1b60(0x195)](this[_0x4a1b60(0x305)][_0x4a1b60(0x354)][_0x4a1b60(0x187)](_0x47fa07=>{const _0x232eeb=_0x4a1b60;_0x47fa07&&this['_sheetPrintManagerService'][_0x232eeb(0x306)]();}));}[_0x23e56b(0x131)](){const _0x346c06=_0x23e56b,_0x27359c=this[_0x346c06(0x18b)][_0x346c06(0x157)],_0x1369f7=this[_0x346c06(0x18b)]['renderConfig'];return this[_0x346c06(0x255)][_0x346c06(0x280)](_0x27359c,_0x1369f7);}[_0x23e56b(0x1aa)](){const _0x3a505a=_0x23e56b;this[_0x3a505a(0x195)](this[_0x3a505a(0x17c)]['onCommandExecuted'](_0x2877dc=>{const _0x5f275c=_0x3a505a;_0x2877dc['id']===te['id']&&this[_0x5f275c(0x131)]();}));}[_0x23e56b(0x213)](){const _0x298aad=_0x23e56b,_0x39f587=this[_0x298aad(0x1c0)][_0x298aad(0x303)](re),_0x394fec=this[_0x298aad(0x1c0)][_0x298aad(0x303)](H);ae[_0x298aad(0x152)]=_0x39f587,ae[_0x298aad(0x24e)]=_0x394fec;}['_initMutationListener'](){const _0x5fff58=_0x23e56b,_0x23c9de=this[_0x5fff58(0x1c0)][_0x5fff58(0x303)](re);this[_0x5fff58(0x195)](_0x23c9de[_0x5fff58(0x354)][_0x5fff58(0x187)](()=>{const _0x11224f=_0x5fff58;var _0x85f41b;const _0x2552eb=this[_0x11224f(0x20a)][_0x11224f(0x300)](0x2);if(_0x2552eb){const _0x1b4d2f=_0x2552eb['getUnitId'](),_0x256e5e=this[_0x11224f(0x2dd)]['getRenderById'](_0x1b4d2f);_0x256e5e&&((_0x85f41b=_0x256e5e['mainComponent'])==null||_0x85f41b['makeDirty']());}})),this[_0x5fff58(0x195)](this['_sheetPrintManagerService']['layoutConfig$']['subscribe'](()=>{const _0x44b211=_0x5fff58;var _0x47312d;if(!_0x23c9de[_0x44b211(0x1a8)])return;this['_sheetPrintManagerService']['reLayout']();const _0x12edab=this[_0x44b211(0x20a)][_0x44b211(0x300)](0x2);if(_0x12edab){const _0x4e4a19=_0x12edab[_0x44b211(0x171)](),_0xe90866=this[_0x44b211(0x2dd)]['getRenderById'](_0x4e4a19);_0xe90866&&((_0x47312d=_0xe90866['mainComponent'])==null||_0x47312d['makeDirty']());}})),this[_0x5fff58(0x195)](this[_0x5fff58(0x17c)][_0x5fff58(0x32f)](_0x2571e4=>{const _0x5b5b16=_0x5fff58;var _0x7bc678;if(!_0x23c9de['visible']||[J['id'],ce['id'],te['id'],Se['id'],ue['id'],Ce['id']][_0x5b5b16(0xee)](_0x2571e4['id']))return;this[_0x5b5b16(0x18b)][_0x5b5b16(0x306)]();const _0x939c6c=this[_0x5b5b16(0x20a)][_0x5b5b16(0x300)](0x2);if(_0x939c6c){const _0x1487c3=_0x939c6c[_0x5b5b16(0x171)](),_0x18037a=this['_renderManagerService'][_0x5b5b16(0x26d)](_0x1487c3);_0x18037a&&((_0x7bc678=_0x18037a['mainComponent'])==null||_0x7bc678[_0x5b5b16(0x253)]());}}));}};de=on([K(0x0,w[_0x23e56b(0x2b8)]),K(0x1,l['ICommandService']),K(0x2,H),K(0x3,l['Inject'](exports['SheetPrintClientService'])),K(0x4,l[_0x23e56b(0x2a8)](w[_0x23e56b(0x22f)])),K(0x5,w[_0x23e56b(0x284)]),K(0x6,w[_0x23e56b(0xfd)]),K(0x7,l['Inject'](l[_0x23e56b(0x23e)])),K(0x8,l[_0x23e56b(0x392)]),K(0x9,j['IRenderManagerService'])],de);var sn=Object['defineProperty'],ln=Object[_0x23e56b(0x1dd)],cn=(_0x991840,_0x478a29,_0x15936f)=>_0x478a29 in _0x991840?sn(_0x991840,_0x478a29,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15936f}):_0x991840[_0x478a29]=_0x15936f,un=(_0x4cd6e4,_0xd0bd4e,_0x1d1dbf,_0x5d1c24)=>{const _0x28c269=_0x23e56b;for(var _0x5a56c1=_0x5d1c24>0x1?void 0x0:_0x5d1c24?ln(_0xd0bd4e,_0x1d1dbf):_0xd0bd4e,_0x899e29=_0x4cd6e4[_0x28c269(0x238)]-0x1,_0x34fb8b;_0x899e29>=0x0;_0x899e29--)(_0x34fb8b=_0x4cd6e4[_0x899e29])&&(_0x5a56c1=_0x34fb8b(_0x5a56c1)||_0x5a56c1);return _0x5a56c1;},Re=(_0x1774db,_0x14e96a)=>(_0x5b4686,_0x52ddff)=>_0x14e96a(_0x5b4686,_0x52ddff,_0x1774db),Je=(_0x94e6c8,_0xb47beb,_0x2ffbea)=>cn(_0x94e6c8,typeof _0xb47beb!='symbol'?_0xb47beb+'':_0xb47beb,_0x2ffbea);exports[_0x23e56b(0x16e)]=class extends l[_0x23e56b(0xf2)]{constructor(_0x12a334=Pe,_0x5dabb1,_0x2fa0b3){const _0x4913a2=_0x23e56b;super(),this['_config']=_0x12a334,this[_0x4913a2(0x1c0)]=_0x5dabb1,this[_0x4913a2(0x11f)]=_0x2fa0b3;const {menu:_0x4e2a22,..._0x3a4a7e}=l[_0x4913a2(0x181)]({},Pe,this[_0x4913a2(0x15b)]);_0x4e2a22&&this['_configService'][_0x4913a2(0x137)](_0x4913a2(0x25d),_0x4e2a22,{'merge':!0x0}),this['_configService'][_0x4913a2(0x137)](Be,_0x3a4a7e);}[_0x23e56b(0x177)](){const _0x79f151=_0x23e56b;l[_0x79f151(0x230)](this[_0x79f151(0x1c0)],[[H,{'useClass':exports['SheetPrintManagerService']}],[re,{'useClass':Bt}],[exports[_0x79f151(0x1ed)]],[de]]),l[_0x79f151(0xf1)](this[_0x79f151(0x1c0)],[[de]]);}},Je(exports[_0x23e56b(0x16e)],'pluginName',$t),Je(exports['UniverSheetsPrintPlugin'],_0x23e56b(0x29c),l[_0x23e56b(0x231)][_0x23e56b(0xd5)]),exports[_0x23e56b(0x16e)]=un([l[_0x23e56b(0x390)](ct[_0x23e56b(0x27d)],W[_0x23e56b(0x31c)]),Re(0x1,l['Inject'](l[_0x23e56b(0x23e)])),Re(0x2,l['IConfigService'])],exports[_0x23e56b(0x16e)]),exports[_0x23e56b(0x374)]=ce,exports[_0x23e56b(0x223)]=te,exports[_0x23e56b(0x35e)]=H,exports[_0x23e56b(0x1e2)]=O,exports[_0x23e56b(0x319)]=G,exports[_0x23e56b(0x308)]=V,exports['PrintHeaderFooterSymbol']=y,exports[_0x23e56b(0xfa)]=J,exports['SheetPrintOperation']=Se,exports['SheetScreenShotOperation']=he,exports['hasPrintFacadePermission']=Fe;
|
|
1
|
+
'use strict';const _0x5aa627=_0xa739;(function(_0x546be2,_0x47ef32){const _0x22a914=_0xa739,_0x332b88=_0x546be2();while(!![]){try{const _0x4e1052=-parseInt(_0x22a914(0x345))/0x1+-parseInt(_0x22a914(0x1eb))/0x2+parseInt(_0x22a914(0x27e))/0x3+parseInt(_0x22a914(0x18e))/0x4+parseInt(_0x22a914(0x2d1))/0x5*(-parseInt(_0x22a914(0x1bb))/0x6)+parseInt(_0x22a914(0x111))/0x7*(-parseInt(_0x22a914(0x14d))/0x8)+parseInt(_0x22a914(0x318))/0x9;if(_0x4e1052===_0x47ef32)break;else _0x332b88['push'](_0x332b88['shift']());}catch(_0x3bb4d2){_0x332b88['push'](_0x332b88['shift']());}}}(_0x4ff9,0x63227));var et=Object[_0x5aa627(0xea)],pe=Object['defineProperty'],tt=Object[_0x5aa627(0x8a)],nt=Object[_0x5aa627(0x176)],rt=Object['getPrototypeOf'],it=Object[_0x5aa627(0x303)]['hasOwnProperty'],at=(_0x24aec7,_0x1df433,_0x3c2856)=>_0x1df433 in _0x24aec7?pe(_0x24aec7,_0x1df433,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c2856}):_0x24aec7[_0x1df433]=_0x3c2856,ot=(_0x5f4d9d,_0x526bde,_0x34bbcb,_0x45cb7b)=>{const _0x3eaf6c=_0x5aa627;if(_0x526bde&&typeof _0x526bde=='object'||typeof _0x526bde==_0x3eaf6c(0x98)){for(let _0x30760b of nt(_0x526bde))!it['call'](_0x5f4d9d,_0x30760b)&&_0x30760b!==_0x34bbcb&&pe(_0x5f4d9d,_0x30760b,{'get':()=>_0x526bde[_0x30760b],'enumerable':!(_0x45cb7b=tt(_0x526bde,_0x30760b))||_0x45cb7b[_0x3eaf6c(0x1f7)]});}return _0x5f4d9d;},st=(_0x2c928c,_0xc18fcd,_0x26637d)=>(_0x26637d=_0x2c928c!=null?et(rt(_0x2c928c)):{},ot(_0xc18fcd||!_0x2c928c||!_0x2c928c[_0x5aa627(0x123)]?pe(_0x26637d,_0x5aa627(0x216),{'value':_0x2c928c,'enumerable':!0x0}):_0x26637d,_0x2c928c)),k=(_0x1c1025,_0x5c9326,_0x4ff7b3)=>at(_0x1c1025,typeof _0x5c9326!=_0x5aa627(0x14b)?_0x5c9326+'':_0x5c9326,_0x4ff7b3);Object[_0x5aa627(0x1df)](exports,Symbol[_0x5aa627(0x23a)],{'value':_0x5aa627(0x1a3)});const H=require('@univerjs-pro/license'),l=require('@univerjs/core'),W=require('@univerjs/sheets'),y=require('@univerjs/ui'),I=require('@univerjs-pro/print'),L=require('@univerjs/engine-render'),$=require('@univerjs/sheets-ui'),re=require('rxjs'),o=require('react/jsx-runtime'),h=require('@univerjs/design'),S=require('react'),lt=require('@univerjs/docs'),Ie=require('@univerjs/docs-ui'),ct=require('@univerjs/network'),ut='PRINT_PLUGIN_',dt=ut+'PRINT_COMPONENT',Me=Number[_0x5aa627(0x1c5)](0x692ab718),Pe='UNIVER_SHEET_PERMISSION_ALERT_DIALOG_ID',ht=_0x5aa627(0x28b);var F=(_0x886fd9=>(_0x886fd9[_0x5aa627(0xc5)]=_0x5aa627(0xc5),_0x886fd9['workbook']=_0x5aa627(0xc9),_0x886fd9[_0x5aa627(0x344)]=_0x5aa627(0x344),_0x886fd9[_0x5aa627(0x206)]=_0x5aa627(0x206),_0x886fd9))(F||{}),U=(_0x1e185d=>(_0x1e185d[_0x5aa627(0x2d6)]=_0x5aa627(0x2d6),_0x1e185d['WorkbookTitle']=_0x5aa627(0x17b),_0x1e185d[_0x5aa627(0x84)]='WorksheetTitle',_0x1e185d['Date']=_0x5aa627(0x95),_0x1e185d[_0x5aa627(0x2f0)]='Time',_0x1e185d))(U||{}),G=(_0x31bba6=>(_0x31bba6[_0x5aa627(0x188)]=_0x5aa627(0x188),_0x31bba6['Column']=_0x5aa627(0xa8),_0x31bba6))(G||{}),b=(_0x1bcc39=>(_0x1bcc39[_0x5aa627(0x17b)]='@WorkbookTitle',_0x1bcc39[_0x5aa627(0x84)]=_0x5aa627(0x1d7),_0x1bcc39[_0x5aa627(0x161)]='@DateA',_0x1bcc39[_0x5aa627(0xfd)]=_0x5aa627(0x109),_0x1bcc39[_0x5aa627(0x2f3)]=_0x5aa627(0x11e),_0x1bcc39['DateD']=_0x5aa627(0xbc),_0x1bcc39[_0x5aa627(0xab)]=_0x5aa627(0xdb),_0x1bcc39['TimeA']=_0x5aa627(0xa3),_0x1bcc39[_0x5aa627(0x2dd)]=_0x5aa627(0x235),_0x1bcc39[_0x5aa627(0xe4)]='@TimeC',_0x1bcc39[_0x5aa627(0xfc)]='@TimeD',_0x1bcc39['Page']=_0x5aa627(0x35f),_0x1bcc39[_0x5aa627(0x209)]=_0x5aa627(0x2bb),_0x1bcc39[_0x5aa627(0x8e)]='@TotalPage',_0x1bcc39[_0x5aa627(0x1a0)]='@TotalSheetPage',_0x1bcc39))(b||{});const be={'topLeft':'','topCenter':'','topRight':'','bottomLeft':'','bottomCenter':'','bottomRight':''};var gt=Object[_0x5aa627(0x8a)],pt=(_0x23831a,_0x66695f,_0x544a63,_0x3e55bb)=>{const _0x2e473f=_0x5aa627;for(var _0x110062=_0x3e55bb>0x1?void 0x0:_0x3e55bb?gt(_0x66695f,_0x544a63):_0x66695f,_0x5ca836=_0x23831a[_0x2e473f(0x1ba)]-0x1,_0x4b17f3;_0x5ca836>=0x0;_0x5ca836--)(_0x4b17f3=_0x23831a[_0x5ca836])&&(_0x110062=_0x4b17f3(_0x110062)||_0x110062);return _0x110062;},oe=(_0x4603eb,_0x1f22d8)=>(_0x42784a,_0xb6ca76)=>_0x1f22d8(_0x42784a,_0xb6ca76,_0x4603eb);const Ee=0x3,V=l['createIdentifier'](_0x5aa627(0x208)),vt=_0xe68d2a=>Math[_0x5aa627(0x21a)](_0xe68d2a*0x64)/0x64,ft={'startColumn':0x0,'endColumn':0x0,'startRow':0x0,'endRow':0x0},Le={'startColumn':-0x1,'startRow':-0x1,'xSplit':0x0,'ySplit':0x0};exports[_0x5aa627(0x25f)]=class{constructor(_0x4b01df,_0x5ef02a,_0x4fea19,_0x5aa8f5){const _0x41ee68=_0x5aa627;k(this,'_layoutConfig',{'area':F['CurrentSheet'],'subUnitIds':[],'paperSize':l['PaperType']['A4'],'direction':I[_0x41ee68(0x18d)]['Portrait'],'scale':I['PrintScale'][_0x41ee68(0x2ee)],'customScale':0x1,'freeze':[G[_0x41ee68(0x188)],G[_0x41ee68(0xa8)]],'margin':I[_0x41ee68(0x274)][_0x41ee68(0x1a7)],'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0,'marginCustom':{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0}}),k(this,'_renderConfig',{'gridlines':!0x0,'hAlign':I[_0x41ee68(0x19c)][_0x41ee68(0x226)],'vAlign':I['PrintAlign'][_0x41ee68(0x232)],'headerFooter':[],'headerFooterSetting':be,'isCustomHeaderFooter':!0x1}),k(this,_0x41ee68(0x23c),[]),k(this,_0x41ee68(0x34b),new re[(_0x41ee68(0x34c))](this[_0x41ee68(0x23c)])),k(this,_0x41ee68(0x35a),new re[(_0x41ee68(0x34c))](this[_0x41ee68(0x15e)])),k(this,_0x41ee68(0x15b),new re[(_0x41ee68(0x34c))](this[_0x41ee68(0x36f)])),k(this,'layoutConfig$',this[_0x41ee68(0x35a)][_0x41ee68(0x2db)]()),k(this,_0x41ee68(0x183),this[_0x41ee68(0x15b)]['asObservable']()),k(this,_0x41ee68(0x1a6),this[_0x41ee68(0x34b)][_0x41ee68(0x2db)]()[_0x41ee68(0x1ab)](re[_0x41ee68(0x1ac)](0x12c))),(this[_0x41ee68(0x15d)]=_0x4b01df,this['_sheetsSelectionsSrv']=_0x5ef02a,this[_0x41ee68(0x287)]=_0x4fea19,this['_renderManagerService']=_0x5aa8f5);}get[_0x5aa627(0x1c2)](){const _0x407674=_0x5aa627;return this[_0x407674(0x23c)];}get['renderConfig'](){const _0xb146ad=_0x5aa627;return this[_0xb146ad(0x36f)];}get[_0x5aa627(0xbb)](){const _0x148fb9=_0x5aa627;return this[_0x148fb9(0x15e)];}get[_0x5aa627(0x31a)](){const _0x858fb8=_0x5aa627,{paperSize:_0x2a42b0,direction:_0x7bac12,pageSizeCustom:_0x1e063f}=this[_0x858fb8(0x15e)];if(_0x1e063f)return _0x1e063f;const _0x595078=l[_0x858fb8(0x299)][_0x2a42b0];return _0x7bac12===I[_0x858fb8(0x18d)]['Portrait']?{'w':_0x595078[_0x858fb8(0x2a0)],'h':_0x595078[_0x858fb8(0x278)]}:{'w':_0x595078[_0x858fb8(0x278)],'h':_0x595078[_0x858fb8(0x2a0)]};}get[_0x5aa627(0x242)](){const _0x6d9648=_0x5aa627;return this[_0x6d9648(0x15e)][_0x6d9648(0x2e2)]===I[_0x6d9648(0x274)][_0x6d9648(0x1ea)]?this[_0x6d9648(0x15e)][_0x6d9648(0x2ad)]:I[_0x6d9648(0x267)][this[_0x6d9648(0x15e)][_0x6d9648(0x2e2)]];}['updateLayoutConfig'](_0x46a8d4){const _0x16a3f5=_0x5aa627;this[_0x16a3f5(0x15e)]={...this[_0x16a3f5(0x15e)],..._0x46a8d4},this[_0x16a3f5(0x35a)][_0x16a3f5(0xac)](this['_layoutConfig']),this[_0x16a3f5(0x21d)]();}[_0x5aa627(0x175)](_0x1ec99c){const _0x390265=_0x5aa627;this[_0x390265(0x15e)]=_0x1ec99c,this[_0x390265(0x35a)]['next'](this[_0x390265(0x15e)]),this[_0x390265(0x21d)]();}[_0x5aa627(0x113)](_0x2fe987){const _0x418ef2=_0x5aa627;this[_0x418ef2(0x36f)]={...this[_0x418ef2(0x36f)],..._0x2fe987},this[_0x418ef2(0x15b)][_0x418ef2(0xac)](this[_0x418ef2(0x36f)]);}[_0x5aa627(0x8d)](_0x30b66a){const _0x2d3178=_0x5aa627;this[_0x2d3178(0x36f)]=_0x30b66a,this[_0x2d3178(0x15b)][_0x2d3178(0xac)](this['_renderConfig']);}[_0x5aa627(0x21d)](){const _0x4975c2=_0x5aa627;this[_0x4975c2(0x23c)]=this['_calculate'](),this[_0x4975c2(0x34b)][_0x4975c2(0xac)](this[_0x4975c2(0x23c)]);}[_0x5aa627(0x1d3)](){const _0x3fc0da=_0x5aa627;this[_0x3fc0da(0x23c)]=[],this['_layoutInfos$'][_0x3fc0da(0xac)](this['_layoutInfos']),this['_layoutConfig']={...this[_0x3fc0da(0x15e)],'area':F[_0x3fc0da(0xc5)],'maxRowsEachPage':0x1/0x0,'maxColumnsEachPage':0x1/0x0},this['_layoutConfig$'][_0x3fc0da(0xac)](this[_0x3fc0da(0x15e)]);}[_0x5aa627(0x96)](){const _0x5db814=_0x5aa627,_0x5a3d56=this[_0x5db814(0x36e)](),_0x25ed44=[];return _0x5a3d56[_0x5db814(0x2c4)](_0x55498a=>{const _0x14acd6=_0x5db814;if(_0x55498a){const _0x1b03db=this[_0x14acd6(0x273)](_0x55498a);_0x1b03db&&_0x25ed44[_0x14acd6(0x2bd)](_0x1b03db);}}),_0x25ed44;}['_calculateSheetRangeById'](_0x54fdb4,_0x2e80ea,_0x1100f1){const _0x42cd38=_0x5aa627;var _0x43d226,_0x3601fc;const _0x34a31a=this[_0x42cd38(0x15d)][_0x42cd38(0x2fe)](l[_0x42cd38(0x1d0)][_0x42cd38(0x1a2)])[_0x42cd38(0x103)](_0x2e80ea);if(!_0x34a31a)return;const _0x2f7cfc=_0x34a31a[_0x42cd38(0x2b8)](),_0x12f729=_0x1100f1!=null?_0x1100f1:_0x34a31a[_0x42cd38(0x174)](),_0xf5ef86=(_0x43d226=this[_0x42cd38(0xcb)]['getRenderById'](_0x54fdb4))==null?void 0x0:_0x43d226['with']($[_0x42cd38(0x2fa)])[_0x42cd38(0xa5)]({'sheetId':_0x2e80ea});if(!_0xf5ef86)return;_0x12f729&&((_0x3601fc=_0xf5ef86==null?void 0x0:_0xf5ef86[_0x42cd38(0x2f1)])==null||_0x3601fc['forValue']((_0x52af80,_0x1ccadb,_0x88237a)=>{const _0x347e53=_0x42cd38,{endColumn:_0x3d2d3d}=_0x88237a;_0x3d2d3d>_0x12f729[_0x347e53(0x24d)]&&(_0x12f729[_0x347e53(0x24d)]=_0x3d2d3d);}));const _0x4d2c2b=this['_sheetPrintInterceptorService'][_0x42cd38(0x203)][_0x42cd38(0x163)](this['_sheetPrintInterceptorService'][_0x42cd38(0x203)][_0x42cd38(0x30f)]()[_0x42cd38(0x158)])(_0x12f729,{'unitId':_0x54fdb4,'subUnitId':_0x2e80ea});return _0x4d2c2b?this['_calculateFinalRange'](_0x2e80ea,{..._0x4d2c2b,'startColumn':Math[_0x42cd38(0x297)](_0x2f7cfc['startColumn']-_0x2f7cfc[_0x42cd38(0x2dc)],0x0),'startRow':Math['max'](_0x2f7cfc[_0x42cd38(0x1cf)]-_0x2f7cfc[_0x42cd38(0xd9)],0x0)}):null;}[_0x5aa627(0x351)](_0xb7a04a,_0x295a1f){const _0x1fd076=_0x5aa627,_0x31761c=this[_0x1fd076(0x187)][_0x1fd076(0x9a)](_0xb7a04a)[_0x1fd076(0x11f)](_0x295a1f);return _0x31761c?_0x31761c['map'](_0x2764d9=>this[_0x1fd076(0x146)](_0x295a1f,_0x2764d9[_0x1fd076(0x1e8)])):[];}[_0x5aa627(0x146)](_0x4d79b2,_0x5c55c2){const _0x14f969=_0x5aa627,_0x2183fa=this[_0x14f969(0x15d)][_0x14f969(0x2fe)](l[_0x14f969(0x1d0)][_0x14f969(0x1a2)]),_0x27820d=_0x2183fa['getSheetBySheetId'](_0x4d79b2),_0x34ce79=this['_layoutConfig'],_0x2d2a1a=_0x2183fa[_0x14f969(0x1d2)](),_0x18d74c=this['paperSize'],{top:_0x43ea90,right:_0x4415f6,bottom:_0x3128f3,left:_0xb29af}=this['paperMargin'];_0x18d74c['h']-=_0x43ea90+_0x3128f3,_0x18d74c['w']-=_0xb29af+_0x4415f6;const _0x5b6183=this[_0x14f969(0xcb)][_0x14f969(0x225)](_0x2d2a1a)[_0x14f969(0x28c)]($[_0x14f969(0x2fa)]);if(_0x5c55c2[_0x14f969(0x1cf)]>-0x1&&_0x5c55c2[_0x14f969(0x26b)]>-0x1){const _0x733791=_0x5b6183[_0x14f969(0xa5)]({'sheetId':_0x4d79b2});if(!_0x27820d||!_0x733791)return null;let _0x59e6d0=_0x5c55c2['startRow'];const _0x4f9b0f=_0x5c55c2[_0x14f969(0x32a)];let _0x223a87=_0x5c55c2['startColumn'];const _0x5ea994=_0x5c55c2[_0x14f969(0x24d)],_0x1e9375=_0x27820d[_0x14f969(0x2b8)](),_0xab5cfd=vt(this[_0x14f969(0xe5)](_0x733791,_0x5c55c2,_0x1e9375));let _0x4d8081=-0x1,_0x1aa016=0x0,_0x1b2a0a=-0x1,_0x1528d7=0x0;const _0x52610a=_0x733791[_0x14f969(0xf8)],_0x79bbd4=_0x733791['rowHeightAccumulation'];if(_0x1e9375[_0x14f969(0x2dc)]&&_0x34ce79[_0x14f969(0x1d6)][_0x14f969(0x155)](G[_0x14f969(0xa8)])){if(_0x5ea994>=_0x1e9375[_0x14f969(0x26b)]){const _0x1ee8d7=_0xab5cfd*(_0x52610a[_0x1e9375[_0x14f969(0x26b)]-0x1]-(_0x52610a[_0x1e9375[_0x14f969(0x26b)]-_0x1e9375[_0x14f969(0x2dc)]-0x1]||0x0));_0x1ee8d7<_0x18d74c['w']&&(_0x1b2a0a=_0x1e9375['startColumn'],_0x1528d7=_0x1e9375[_0x14f969(0x2dc)],_0x18d74c['w']-=_0x1ee8d7);}else{const _0x4b3614=_0x5ea994+0x1,_0x4f7fee=_0x5ea994+0x1-(_0x1e9375['startColumn']-_0x1e9375[_0x14f969(0x2dc)]),_0x3d1b5e=_0xab5cfd*(_0x52610a[_0x1b2a0a-0x1]-(_0x52610a[_0x1b2a0a-_0x1528d7]-0x1||0x0));_0x3d1b5e<_0x18d74c['w']&&(_0x1b2a0a=_0x4b3614,_0x1528d7=_0x4f7fee,_0x18d74c['w']-=_0x3d1b5e);}}if(_0x223a87=Math[_0x14f969(0x297)](_0x1b2a0a,_0x223a87),_0x1e9375[_0x14f969(0xd9)]&&_0x34ce79['freeze']['includes'](G['Row'])){if(_0x4f9b0f>=_0x1e9375[_0x14f969(0x1cf)]){const _0x2cfde4=_0x79bbd4[_0x1e9375[_0x14f969(0x1cf)]]-_0x79bbd4[_0x1e9375[_0x14f969(0x1cf)]-_0x1e9375['ySplit']];_0x2cfde4<_0x18d74c['h']&&(_0x4d8081=_0x1e9375[_0x14f969(0x1cf)],_0x1aa016=_0x1e9375['ySplit'],_0x18d74c['h']-=_0x2cfde4);}else _0x4d8081=_0x4f9b0f+0x1,_0x1aa016=_0x4f9b0f+0x1-(_0x1e9375['startRow']-_0x1e9375[_0x14f969(0xd9)]),_0x18d74c['h']=_0x18d74c['h']-_0x79bbd4[_0x4d8081]-_0x79bbd4[_0x4d8081-_0x1aa016];}return _0x59e6d0=Math[_0x14f969(0x297)](_0x4d8081,_0x59e6d0),{'unitId':_0x2d2a1a,'subUnitId':_0x4d79b2,'range':{'startRow':_0x59e6d0,'endRow':_0x4f9b0f,'startColumn':_0x223a87,'endColumn':_0x5ea994},'freeze':{'startRow':_0x4d8081,'startColumn':_0x1b2a0a,'xSplit':_0x1528d7,'ySplit':_0x1aa016},'contentSize':_0x18d74c,'scale':_0xab5cfd};}return{'unitId':_0x2d2a1a,'subUnitId':_0x4d79b2,'range':ft,'freeze':Le,'contentSize':_0x18d74c,'scale':0x1};}[_0x5aa627(0xe5)](_0x189c7b,_0x3aa634,_0x4b3b4d){const _0x19d281=_0x5aa627,_0x17bcbd=_0x189c7b[_0x19d281(0xf8)],_0x6214da=_0x189c7b['rowHeightAccumulation'],{xSplit:_0xda1f46,ySplit:_0xa8acd6,startColumn:_0x38a1b5,startRow:_0x1d4c76}=_0x4b3b4d;let {startRow:_0x14c7ce,startColumn:_0x587519}=_0x3aa634;const {endColumn:_0x3a88ac,endRow:_0x2d99fe}=_0x3aa634;_0x14c7ce=_0x2d99fe<_0x1d4c76?_0x14c7ce:Math[_0x19d281(0x297)](_0x1d4c76,_0x14c7ce),_0x587519=_0x3a88ac<_0x38a1b5?_0x587519:Math[_0x19d281(0x297)](_0x38a1b5,_0x587519);const {scale:_0x1fd67c,customScale:_0x156f7f}=this[_0x19d281(0x15e)],_0x18ce23=this[_0x19d281(0x31a)],_0x114e0e=this['paperMargin'],_0x5b0c93=_0xda1f46>0x0?(_0x17bcbd[_0x38a1b5-0x1]||0x0)-(_0x17bcbd[_0x38a1b5-_0xda1f46-0x1]||0x0):0x0,_0x55cb34=_0xa8acd6>0x0?(_0x6214da[_0x1d4c76-0x1]||0x0)-(_0x6214da[_0x1d4c76-_0xa8acd6-0x1]||0x0):0x0,_0x129590=_0x6214da[_0x2d99fe]-(_0x6214da[_0x14c7ce-0x1]||0x0),_0x2c2558=_0x17bcbd[_0x3a88ac]-(_0x17bcbd[_0x587519-0x1]||0x0),_0xf0a670=_0x129590+_0x55cb34,_0x165eb5=_0x2c2558+_0x5b0c93;switch(_0x1fd67c){case I[_0x19d281(0x22c)]['Custom']:return _0x156f7f;case I['PrintScale'][_0x19d281(0x337)]:return Math['min'](0x1,(_0x18ce23['w']-_0x114e0e[_0x19d281(0x329)]-_0x114e0e[_0x19d281(0x30d)])/_0x165eb5);case I[_0x19d281(0x22c)][_0x19d281(0x247)]:return Math[_0x19d281(0x360)](0x1,(_0x18ce23['h']-_0x114e0e[_0x19d281(0x18a)]-_0x114e0e['bottom'])/_0xf0a670);case I[_0x19d281(0x22c)]['FitPage']:return Math['min'](0x1,(_0x18ce23['w']-_0x114e0e[_0x19d281(0x329)]-_0x114e0e[_0x19d281(0x30d)])/_0x165eb5,(_0x18ce23['h']-_0x114e0e['top']-_0x114e0e[_0x19d281(0x9e)])/_0xf0a670);default:return 0x1;}}[_0x5aa627(0x36e)](){const _0x144907=_0x5aa627;var _0x56a85a;const {area:_0x55948c,subUnitIds:_0xf14bed}=this[_0x144907(0x15e)],_0x59f20e=this[_0x144907(0x15d)][_0x144907(0x2fe)](l[_0x144907(0x1d0)]['UNIVER_SHEET']),_0x1986ac=_0x59f20e[_0x144907(0x1d2)]();switch(_0x55948c){case F['CurrentSheet']:{const _0x56f022=(_0x56a85a=_0x59f20e['getActiveSheet']())==null?void 0x0:_0x56a85a[_0x144907(0x25b)]();if(_0x56f022!=null){const _0x3cdb40=this[_0x144907(0x143)](_0x1986ac,_0x56f022);if(_0x3cdb40)return[_0x3cdb40];const _0x7b3f64=this[_0x144907(0x15d)]['getCurrentUnitOfType'](l[_0x144907(0x1d0)][_0x144907(0x1a2)]),_0x3a56fe=_0x7b3f64[_0x144907(0xa0)]();return _0x3a56fe?this[_0x144907(0x351)](_0x7b3f64[_0x144907(0x1d2)](),_0x3a56fe[_0x144907(0x25b)]()):(console[_0x144907(0x151)](_0x144907(0x217)),[]);}return[];}case F[_0x144907(0x344)]:{const _0x1618b1=this[_0x144907(0x15d)][_0x144907(0x2fe)](l[_0x144907(0x1d0)]['UNIVER_SHEET']),_0x2931ef=_0x1618b1[_0x144907(0xa0)]();return _0x2931ef?this['_calculateCurrentSelectionRange'](_0x1618b1[_0x144907(0x1d2)](),_0x2931ef[_0x144907(0x25b)]()):(console[_0x144907(0x151)](_0x144907(0x217)),[]);}case F[_0x144907(0x206)]:return this[_0x144907(0x15d)][_0x144907(0x2fe)](l['UniverInstanceType'][_0x144907(0x1a2)])[_0x144907(0x255)]()[_0x144907(0x138)](_0x465078=>this[_0x144907(0x351)](_0x1986ac,_0x465078[_0x144907(0x25b)]()))[_0x144907(0x350)]();default:return(_0xf14bed[_0x144907(0x1ba)]?_0xf14bed:_0x59f20e[_0x144907(0x255)]()[_0x144907(0x1e0)](_0x37b90d=>!_0x37b90d[_0x144907(0xe2)]())['map'](_0x348792=>_0x348792[_0x144907(0x25b)]()))[_0x144907(0x138)](_0x1f1e73=>this[_0x144907(0x143)](_0x1986ac,typeof _0x1f1e73==_0x144907(0x150)?_0x1f1e73:_0x1f1e73['id'],typeof _0x1f1e73==_0x144907(0x150)?void 0x0:_0x1f1e73['range']))[_0x144907(0x1e0)](Boolean);}}[_0x5aa627(0x273)](_0x5daf0b){const _0x43b049=_0x5aa627,{subUnitId:_0x3f36fc,range:_0x1cd584,freeze:_0xb8ce53,unitId:_0x43fe87,scale:_0x15afe6,contentSize:_0x4f88bd}=_0x5daf0b,_0x4313b0=this[_0x43b049(0xcb)]['getRenderById'](_0x43fe87)[_0x43b049(0x28c)]($['SheetSkeletonManagerService'])['getOrCreateSkeleton']({'sheetId':_0x3f36fc});if(!_0x4313b0)return;const {rowHeightAccumulation:_0x486810,columnWidthAccumulation:_0x53f105}=_0x4313b0,{w:_0x457346,h:_0x443664}=_0x4f88bd,{startRow:_0x342f29,startColumn:_0x2b2bb2,endColumn:_0x9bda13,endRow:_0xf1bb00}=_0x1cd584,_0x39eb66=_0x1d390c=>{const _0x378255=_0x43b049;let _0x2b22f4=_0x1d390c;const _0x290dc1=this['_layoutConfig'][_0x378255(0x135)]<=_0xb8ce53[_0x378255(0xd9)]?0x1/0x0:this[_0x378255(0x15e)][_0x378255(0x135)]-0x1-_0xb8ce53[_0x378255(0xd9)]+_0x1d390c,_0x948a4a=_0x1d390c===0x0?0x0:_0x486810[_0x1d390c-0x1];for(;_0x2b22f4<_0xf1bb00;){const _0x2c10a8=(_0x486810[_0x2b22f4]-_0x948a4a)*_0x15afe6,_0x43e488=(_0x486810[_0x2b22f4+0x1]-_0x948a4a)*_0x15afe6;if(_0x2b22f4++,_0x2c10a8>=_0x443664||_0x2c10a8<_0x443664&&_0x43e488>_0x443664)return{'startRow':_0x1d390c,'endRow':Math[_0x378255(0x360)](_0x2b22f4-0x1,_0x290dc1)};}return{'startRow':_0x1d390c,'endRow':Math['min'](_0x2b22f4,_0x290dc1)};},_0x8ffbae=_0x578e70=>{const _0x1b8056=_0x43b049;let _0x8151b3=_0x578e70;const _0x6bcab8=_0x578e70===0x0?0x0:_0x53f105[_0x578e70-0x1],_0x1fabf3=this[_0x1b8056(0x15e)][_0x1b8056(0x17e)]<=_0xb8ce53['xSplit']?0x1/0x0:this['_layoutConfig']['maxColumnsEachPage']-0x1-_0xb8ce53[_0x1b8056(0x2dc)]+_0x578e70;for(;_0x8151b3<_0x9bda13;){const _0x148832=(_0x53f105[_0x8151b3]-_0x6bcab8)*_0x15afe6,_0x496da6=(_0x53f105[_0x8151b3+0x1]-_0x6bcab8)*_0x15afe6;if(_0x8151b3++,_0x148832<_0x457346&&_0x496da6>_0x457346||_0x148832>=_0x457346)return{'startColumn':_0x578e70,'endColumn':Math[_0x1b8056(0x360)](_0x8151b3-0x1,_0x1fabf3)};}return{'startColumn':_0x578e70,'endColumn':Math[_0x1b8056(0x360)](_0x8151b3,_0x1fabf3)};},_0x385cd8=[];let _0x1d71dc=_0x342f29;for(;_0x1d71dc<=_0xf1bb00;){const _0x314767=_0x39eb66(_0x1d71dc);_0x385cd8['push'](_0x314767),_0x1d71dc=_0x314767[_0x43b049(0x32a)]+0x1;}const _0x1fbe49=[];let _0x57012e=_0x2b2bb2;for(;_0x57012e<=_0x9bda13;){const _0x378424=_0x8ffbae(_0x57012e);_0x1fbe49['push'](_0x378424),_0x57012e=_0x378424[_0x43b049(0x24d)]+0x1;}const _0x48da37=[];for(let _0x533d7b=0x0;_0x533d7b<_0x385cd8['length'];_0x533d7b++)for(let _0x12eb40=0x0;_0x12eb40<_0x1fbe49[_0x43b049(0x1ba)];_0x12eb40++)_0x48da37[_0x43b049(0x2bd)]({..._0x385cd8[_0x533d7b],..._0x1fbe49[_0x12eb40]});return{'unitId':_0x43fe87,'subUnitId':_0x3f36fc,'pages':_0x48da37,'freeze':_0xb8ce53,'scale':_0x15afe6,'pageSize':this[_0x43b049(0x31a)],'margin':this['paperMargin']};}},exports[_0x5aa627(0x25f)]=pt([oe(0x0,l[_0x5aa627(0xb0)]),oe(0x1,l[_0x5aa627(0x35c)](W[_0x5aa627(0x356)])),oe(0x2,l[_0x5aa627(0x35c)]($[_0x5aa627(0x21c)])),oe(0x3,L[_0x5aa627(0x192)])],exports[_0x5aa627(0x25f)]);const je={0x0:'2',0x1:'3',0x2:'l',0x3:'m',0x4:'y',0x5:'E',0x6:'C',0x7:'V',0x8:'F',0x9:'o','u':'0','K':'1','w':'4','l':'5','m':'6','M':'7','P':'8','F':'9','N':'a','W':'b','b':'c','X':'d','R':'e','x':'f','k':'g','S':'h','f':'i','V':'j','a':'k','B':'n','c':'p','I':'q','Y':'r','d':'s','p':'t','L':'u','i':'v','h':'w','n':'x','g':'z','t':'A','J':'B','H':'D','C':'G','o':'H','U':'I','E':'J','D':'K','v':'L','y':'M','j':'N','O':'O','r':'P','e':'Q','s':'R','G':'S','Z':'T','Q':'U','z':'W','q':'X','A':'Y','T':'Z'},Be='xLBbpf9B\x20XRbY4cpf9B(2fbRBdR,\x20cLW2fbDR4)\x20{\x20\x20\x20\x20pY4\x20{\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x202fbRBdRUBx9rNYptYYN4\x20=\x202fbRBdR.dc2fp(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x209YfkfByRddNkR\x20=\x20EGOj.cNYdR(Np9W(2fbRBdRUBx9rNYptYYN4[0]));\x20\x20\x20\x20\x20\x20\x20\x20fx\x20(!9YfkfByRddNkR.LX)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209YfkfByRddNkR.LX\x20=\x20jL3WRY(2fbRBdRUBx9rNYptYYN4[w]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20fdz9YaRY\x20=\x20p4cR9x\x20z9YaRYC29WN2Gb9cR\x20!==\x20\x27LBXRxfBRX\x27\x20&&\x20dR2x\x20fBdpNBbR9x\x20z9YaRYC29WN2Gb9cR;\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20fdJY9hdRY\x20=\x20p4cR9x\x20hfBX9h\x20!==\x20\x27LBXRxfBRX\x27\x20&&\x20p4cR9x\x20hfBX9h.29bNpf9B\x20!==\x20\x27LBXRxfBRX\x27;\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20b9BpRnp\x20=\x20fdz9YaRY\x20?\x20dR2x\x20:\x20(fdJY9hdRY\x20?\x20hfBX9h\x20:\x20k29WN2ZSfd);\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x203RddNkRz9YX\x20=\x20b9BpRnp.__JNdRmw__.cNYdR(2fbRBdRUBx9rNYptYYN4[0]);\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x203RddNkR\x20=\x20b9BpRnp.__oRn__.dpYfBkfx4(3RddNkRz9YX);\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20dfkBNpLYRz9YX\x20=\x20b9BpRnp.__JNdRmw__.cNYdR(2fbRBdRUBx9rNYptYYN4[1]);\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20dfkBNpLYR\x20=\x20b9BpRnp.__oRn__.dpYfBkfx4(dfkBNpLYRz9YX);\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20dfkB7N2fX\x20=\x20b9BpRnp.__iRYfx4__(dfkBNpLYR,\x203RddNkR,\x20cLW2fbDR4);\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20X93NfB\x20=\x209YfkfByRddNkR.X3;\x20\x20\x20\x20\x20\x20\x20\x20xLBbpf9B\x20fdH93NfByNpbSfBk(9rNppRYB,\x209o9dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20cNppRYB\x20=\x209rNppRYB.YRc2NbR(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20S9dp\x20=\x209o9dp.YRc2NbR(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20cNppRYBrNYpd\x20=\x20cNppRYB.dc2fp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20S9dprNYpd\x20=\x20S9dp.dc2fp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fx\x20(!cNppRYB.fBb2LXRd(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YRpLYB\x20cNppRYB\x20===\x20S9dp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fx\x20(cNppRYBrNYpd.2RBkpS\x20<\x200\x20||\x20cNppRYBrNYpd[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YRpLYB\x20xN2dR;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20cNppRYBGLxxfn\x20=\x20cNppRYBrNYpd.d2fbR(K).V9fB(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20S9dpGLxxfn\x20=\x20S9dprNYpd.d2fbR(-cNppRYBrNYpd.2RBkpS\x20+\x20K).V9fB(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YRpLYB\x20cNppRYBGLxxfn\x20===\x20S9dpGLxxfn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202Rp\x20X93NfB7N2fX\x20=\x20xN2dR;\x20\x20\x20\x20\x20\x20\x20\x20fx\x20(fdJY9hdRY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X93NfB7N2fX\x20=\x20(X93NfB\x20&&\x20X93NfB.2RBkpS)\x20?\x20X93NfB.d93R((X3UpR3)\x20=>\x20fdH93NfByNpbSfBk(X3UpR3,\x2029bNpf9B.S9dpBN3R))\x20:\x20pYLR;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fx\x20(29bNpf9B.S9dpBN3R\x20===\x20\x2729bN2S9dp\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X93NfB7N2fX\x20=\x20pYLR;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20R2dR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X93NfB7N2fX\x20=\x20pYLR;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20b9Bdp\x20iN2fX\x20=\x20dfkB7N2fX\x20&&\x20X93NfB7N2fX;\x20\x20\x20\x20\x20\x20\x20\x20YRpLYB\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iN2fX,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203RddNkR:\x209YfkfByRddNkR,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20bNpbS\x20(RYY9Y)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YRpLYB\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iN2fX:\x20xN2dR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203RddNkR:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',mt=(_0x21ccb7,_0x382ad8)=>{const _0x568df2=_0x5aa627;if(!_0x21ccb7||!_0x382ad8)return!0x0;const _0x2dc7f6=H['unshiftString'](Be,je),_0x5c85d4=new Function(_0x568df2(0x342)+_0x2dc7f6)()(_0x21ccb7,_0x382ad8)['message'],_0x5cee81=H[_0x568df2(0x25d)](_0x5c85d4,'sf',Me);return!((_0x5c85d4==null?void 0x0:_0x5c85d4['rt'])===H['ReleaseType'][_0x568df2(0x238)]&&!_0x5cee81);},_e=(_0x5c7ef9,_0x441b45,_0x35eed0)=>{const _0x26a5a3=_0x5aa627,_0x53bb93={'page':_0x5c7ef9,'isPro':!0x1,'timeValid':!0x1};if(!_0x441b45||!_0x35eed0)return _0x53bb93;const _0x3922d3=H[_0x26a5a3(0xe8)](Be,je),_0x3f0083=new Function(_0x26a5a3(0x342)+_0x3922d3)()(_0x441b45,_0x35eed0);if(_0x3f0083[_0x26a5a3(0x304)]){const _0x6144a9=_0x3f0083[_0x26a5a3(0xbd)],_0x2600f7=H[_0x26a5a3(0x25d)](_0x6144a9,'sf',Me);_0x53bb93[_0x26a5a3(0x34d)]=_0x2600f7,_0x53bb93[_0x26a5a3(0x371)]=_0x2600f7;const _0x32fb5b=0x0;_0x53bb93[_0x26a5a3(0x2ca)]=H[_0x26a5a3(0x1d1)](_0x6144a9,_0x2600f7,_0x26a5a3(0x25e),_0x5c7ef9,_0x5c7ef9,_0x32fb5b);}return _0x53bb93;};function De(_0x4a6dd2){const _0x41661a=_0x5aa627;var _0x1b85b8;const _0x29034b=(_0x1b85b8=_0x4a6dd2[_0x41661a(0x11d)](l[_0x41661a(0x14a)])['getConfig'](H[_0x41661a(0x130)]))!=null?_0x1b85b8:{},{ls:_0x25bddf,pbk:_0x1c3eff}=_0x29034b;return _e(0x3,_0x25bddf,_0x1c3eff)['isPro'];}function _0xa739(_0x10ab42,_0x17b78c){const _0x4ff904=_0x4ff9();return _0xa739=function(_0xa73925,_0x14588a){_0xa73925=_0xa73925-0x84;let _0x51c78c=_0x4ff904[_0xa73925];return _0x51c78c;},_0xa739(_0x10ab42,_0x17b78c);}function Z({ref:_0x3ab44b,..._0x27260e}){const _0x854abc=_0x5aa627,{icon:_0x183bd7,id:_0x3f7df8,className:_0x40ce9f,extend:_0x259f06,..._0x4fdf15}=_0x27260e,_0x1a70eb=(_0x854abc(0x2ae)+_0x3f7df8+'\x20'+(_0x40ce9f||''))[_0x854abc(0x200)](),_0x39edff=S[_0x854abc(0x1c0)]('_'+bt());return Oe(_0x183bd7,''+_0x3f7df8,{'defIds':_0x183bd7[_0x854abc(0x2cc)],'idSuffix':_0x39edff[_0x854abc(0x1d5)]},{'ref':_0x3ab44b,'className':_0x1a70eb,..._0x4fdf15},_0x259f06);}function Oe(_0x405743,_0x3ed1b9,_0x1bcb4e,_0x50117f,_0x45eeb0){const _0x1680d0=_0x5aa627;return S[_0x1680d0(0x8f)](_0x405743['tag'],{'key':_0x3ed1b9,...Ct(_0x405743,_0x1bcb4e,_0x45eeb0),..._0x50117f},(St(_0x405743,_0x1bcb4e)[_0x1680d0(0x309)]||[])[_0x1680d0(0x138)]((_0x4e8625,_0x588523)=>Oe(_0x4e8625,_0x3ed1b9+'-'+_0x405743['tag']+'-'+_0x588523,_0x1bcb4e,void 0x0,_0x45eeb0)));}function _0x4ff9(){const _0x16ad3c=['getPrecisionScale','print.headerFooter.display.dateA','overflow','PrintHeaderFooter','render','random','print.headerFooter.display.sheetPageTotal','_globalZoneService','Quantity','left','endRow','_container','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-white\x20univer-shadow\x20dark:!univer-bg-gray-900','getImage','_initComponents','text-icon_clip0_1293_26','useEffect','VIEW_MAIN_LEFT_TOP','onbeforeprint','_totalHeight','_componentManager','removeChild','deepClone','FitWidth','getEditorId','createPrintStyle','univer-my-4\x20univer-text-center','getConfig','print.align.vertical.middle','clock-icon','colorChannel1','RadioGroup','SheetExtension','enforceWatermark','return\x20','layoutConfig$','CurrentSelection','528298KERVrF','PaperType','print.limit.link','print.margin.title','getCurrentUser','univer-p-4','_layoutInfos$','BehaviorSubject','isPro','print.scale.fitWidth','print.grid.title','flat','_calculateCurrentSelectionRange','zoom-reduce-icon','print.selection.allWorkbook','save','fixLineWidthByScale','SheetsSelectionsService','univer-ml-2\x20univer-text-lg\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','1em','image','_layoutConfig$','primary','Inject','Statement','onReady','@Page','min','_renderMainScene','IMenuManagerService','round','SheetPrintOperation','JSONX','_renderHeaderFooterByCustom','univer-mr-2','univer-relative\x20univer-box-border\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','className','print.size.a3','customRanges','pauseCollaboration','scaleY','_calculateSubSheetRange','_renderConfig','SpreadsheetExtensionRegistry','timeValid','touchDependencies','None','open','enable','univer-space-y-2\x20univer-border-t\x20univer-pb-4','print','univer-flex\x20univer-gap-2','topCenter','univer-mt-3','Loading','jsxs','translateWithPrecision','WorkbookViewPermission','markDirty','subscribe','isCustomHeaderFooter','print.headerFooter.display.timeC','add','evenodd','desc','WorksheetTitle','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-overflow-hidden','OPERATION','useState','uKey','univer-relative\x20univer-mx-2\x20univer-my-0\x20univer-flex-grow','getOwnPropertyDescriptor','focus$','serialize','replaceRenderConfig','PageTotal','createElement','permission.dialog.printErr','DisposableCollection','_initConfigChangeListener','univer-text-base\x20univer-text-gray-900\x20dark:!univer-text-white','bottomLeft','Date','_calculate','dispose','function','sheet.operation.close-print-grid-sidebar','getWorkbookSelections','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','DependentOn','WorkbookPrintPermission','bottom','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-white\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-white','getActiveSheet','univer-my-1\x20univer-p-0','Radio','@TimeA','config','getOrCreateSkeleton','memo','path','Column','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','WorksheetCopyPermission','DateE','next','sheetPage','date','number','IUniverInstanceService','_isPreview','workbook','link','univer-absolute\x20univer-bottom-0\x20univer-left-0\x20univer-right-0\x20univer-top-0\x20univer-z-[100]\x20univer-flex\x20univer-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-white\x20dark:!univer-bg-gray-900','print.headerFooter.display.sheet','RichTextBuilder','print.align.vertical.end','getContext','End','none','layoutConfig','@DateD','message','currentColor','lineTo','FitPage','middle','rowHeightAccumulation','univer-p-3','M1.90107\x200.578613C1.45925\x200.578613\x201.10107\x200.936785\x201.10107\x201.37861V11.8216C1.10107\x2013.8098\x202.71285\x2015.4216\x204.70107\x2015.4216H14.0987C14.5406\x2015.4216\x2014.8987\x2015.0634\x2014.8987\x2014.6216V4.17861C14.8987\x202.19039\x2013.287\x200.578613\x2011.2987\x200.578613H1.90107ZM2.30107\x2011.8216V1.77861H11.2987C12.6242\x201.77861\x2013.6987\x202.85313\x2013.6987\x204.17861V14.2216H4.70107C3.37559\x2014.2216\x202.30107\x2013.1471\x202.30107\x2011.8216Z','CurrentSheet','PrintIcon','useDependency','getPermissionPoint','Workbook','style','_renderManagerService','clearCanvas','blur$','topRight','registerShortcut','useObservable','_unitId','0\x200\x2016\x2016','getFocusId','Checkbox','print.header.printing','mainComponent','measureText','font','ySplit','_printService','@DateE','beginPath','_initCommands','print.margin.right','PRINT_CONTAINER_CLASS','SheetPrintClientService','onafterprint','isSheetHidden','data','TimeC','_calculatePrintScale','_getTranslateOffset','stroke','unshiftString','print.screenshot.fail','create','unitId','LocaleService','MenuItemType','ZoomIncreaseIcon','bottomRight','univer-mx-2\x20univer-my-5','pageTotal','_scene','borderBottomClassName','print.screenshot.title','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-white\x20univer-px-4\x20dark:!univer-bg-gray-900','univer-h-[200px]\x20univer-w-[var(--radix-popper-anchor-width)]\x20univer-overflow-y-auto','sheet-permission-user-dialog','columnWidthAccumulation','scrollbarClassName','CommandType','12px\x20','TimeD','DateB','print.scale.normal','print.headerFooter.display.timeA','updateConfig','univer-relative\x20first:univer-mr-2','subUnitId','getSheetBySheetId','Disposable','print.headerFooter.display.dateC','Portrait','userInfo','_initialize','@DateB','_renderHeaderFooter','SHEET_VIEWPORT_KEY','text-icon','hide','find','ICommandService','print.header.cancel','555443TaLrNV','print.freeze.row','updateRenderConfig','print.margin.top','visible','UniverSheetsPrintPlugin','print.headerFooter.display.dateD','print.size.a5','print.headerFooter.time','print.headerFooter.page','univer-text-gray-500','univer-flex\x20univer-w-full','get','@DateC','getSelectionOfWorksheet','Letter','ZoomReduceIcon','params','__esModule','WorksheetViewPermission','DateD','Injector','M4.80898\x208.56592C4.47761\x208.56592\x204.20898\x208.83455\x204.20898\x209.16592C4.20898\x209.49729\x204.47761\x209.76592\x204.80898\x209.76592H6.80898C7.14036\x209.76592\x207.40898\x209.49729\x207.40898\x209.16592C7.40898\x208.83455\x207.14036\x208.56592\x206.80898\x208.56592H4.80898Z','setSelectionRanges','clsx','bottomCenter','clearMemory','M10.1562\x204.2458H4.24365V10.1583C4.24365\x2011.042\x204.96\x2011.7583\x205.84365\x2011.7583H11.7562V5.8458C11.7562\x204.96215\x2011.0398\x204.2458\x2010.1562\x204.2458ZM5.44365\x2010.1583V8.53174H7.3999V10.5583H5.84365C5.62274\x2010.5583\x205.44365\x2010.3792\x205.44365\x2010.1583ZM7.3999\x207.33174H5.44365V5.4458H7.3999V7.33174ZM8.5999\x2010.5583V8.53174H10.5562V10.5583H8.5999ZM8.5999\x207.33174H10.5562V5.8458C10.5562\x205.62489\x2010.3771\x205.4458\x2010.1562\x205.4458H8.5999V7.33174Z','Spreadsheet','setConfig','print.menu','LS_CONFIG_KEY','print.headerFooter.dateA','DownloadImageIcon','root','_key','maxRowsEachPage','UniverNetworkPlugin','_initRenderer','map','print.header.pages','clipboard','print.freeze.column','register','RangeProtectionPermissionViewPoint','appendChild','have\x20not\x20permission','rgba(0,0,0,0.3)','getNoMergeCellPositionByIndexWithNoHeader','OTHERS','_calculateSheetRangeById','format','M1.33362\x207.97412C1.33362\x207.69798\x201.55748\x207.47412\x201.83362\x207.47412L14.1664\x207.47412C14.4425\x207.47412\x2014.6664\x207.69798\x2014.6664\x207.97412C14.6664\x208.25026\x2014.4425\x208.47412\x2014.1664\x208.47412L1.83362\x208.47412C1.55748\x208.47412\x201.33362\x208.25026\x201.33362\x207.97412Z','_calculateFinalRange','ConfirmSheetPrintOperation','merge','Executive','IConfigService','symbol','getMenuHiddenObservable','72zuTqms','src','__root','string','warn','print.area.allSelection','draw','sheetPageTotal','includes','displayName','getCurrentRangeDisable$','PRINTING_RANGE','mually','PrintArea','_renderConfig$','registerCommand','_univerInstanceService','_layoutConfig','useMemo','TimeA','DateA','Input','fetchThroughInterceptors','SheetPrintOpenOperation','print.selection.workbookUnit','_engine','div','VIEW_MAIN_LEFT','univer-absolute\x20univer-bottom-4\x20univer-right-4\x20univer-z-[1000]','FormLayout','print.scale.fitHeight','area','more-down-icon','No\x20workbook\x20found','print.headerFooter.timeC','headerFooter','endX','print-icon','fontBoundingBoxAscent','getCellMatrixPrintRange','replaceLayoutConfig','getOwnPropertyNames','vAlign','from','useVirtualList','whenSheetEditorFocused','WorkbookTitle','makeDirty','print.headerFooter.dateD','maxColumnsEachPage','print.size.b5','_initMutationListener','_renderLimitWaterMark','DEFAULT_FONTFACE_PLANE','renderConfig$','IDialogService','forwardRef','univer-size-3\x20univer-text-gray-900\x20univer-transition-transform\x20dark:!univer-text-white','_sheetsSelectionsSrv','Row','UserInfo','top','M2.35381\x203.65517C2.35381\x202.88198\x202.98061\x202.25518\x203.75381\x202.25518H8.10381C8.43518\x202.25518\x208.70381\x201.98655\x208.70381\x201.65518C8.70381\x201.3238\x208.43518\x201.05518\x208.10381\x201.05518H3.75381C2.31787\x201.05518\x201.15381\x202.21923\x201.15381\x203.65517V12.3552C1.15381\x2013.7911\x202.31787\x2014.9552\x203.75381\x2014.9552H12.4538C13.8897\x2014.9552\x2015.0538\x2013.7911\x2015.0538\x2012.3552V8.00518C15.0538\x207.6738\x2014.7852\x207.40518\x2014.4538\x207.40518C14.1224\x207.40518\x2013.8538\x207.6738\x2013.8538\x208.00518V9.24469L12.3428\x208.11143C11.8294\x207.72642\x2011.1111\x207.77744\x2010.6573\x208.23119L9.11281\x209.77567L6.84342\x207.83047C6.34812\x207.40592\x205.61375\x207.41815\x205.13289\x207.85896L2.35381\x2010.4064V3.65517ZM2.35381\x2012.0343V12.3552C2.35381\x2013.1284\x202.98061\x2013.7552\x203.75381\x2013.7552H12.4538C13.227\x2013.7552\x2013.8538\x2013.1284\x2013.8538\x2012.3552V10.7447L11.6228\x209.07144C11.5871\x209.04469\x2011.5373\x209.04827\x2011.5058\x209.07971L10.0266\x2010.5589L11.2057\x2011.5696C11.4573\x2011.7853\x2011.4865\x2012.164\x2011.2708\x2012.4156C11.0552\x2012.6672\x2010.6764\x2012.6964\x2010.4248\x2012.4807L6.06245\x208.74157C6.02809\x208.71212\x205.97713\x208.71296\x205.94377\x208.74353L2.35381\x2012.0343Z','makeForceDirty','PrintDirection','868452JcuVgj','printGridService','ContextMenuPosition','IShortcutService','IRenderManagerService','Tabloid','#E5E5E5','Landscape','BUTTON','replaceAll','Legal','Select','dayjs','fillText','PrintAlign','IGlobalZoneService','mask','_drawPrintGrid','SheetPageTotal','PRINT_CANVAS_CLASS','UNIVER_SHEET','Module','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CanvasRenderMode','layoutInfos$','Normal','xlink:href','tag','print.headerFooter.timeB','pipe','debounceTime','__SpreadsheetPrintRender__','print.size.a4','PrintFreeze','close','print.area.currentSheet','CheckboxGroup','print.headerFooter.editCustomHeadFooter','type','print.headerFooter.customHeadFooter','WorkbookCopyPermission','assign','use','container','length','2533026VltBHD','worksheet','pages','reduce','charCodeAt','useRef','100%','layoutInfos','scale','setForceDisableGridlines','parseInt','SUBITEMS','_sheetPrintClientService','13px\x20','IWatermarkTypeEnum','addObject','_initCommandListener','insertText','printManagerService','_viewLeft','startRow','UniverInstanceType','getSheetFeatureLimit','getUnitId','reset','hasPrintFacadePermission','current','freeze','@WorksheetTitle','print.orientation.landscape','print.header.total','resizeWhenFreezeChange','getInstance','startX','index','subscribeEvent','defineProperty','filter','_initShortcuts','univer-flex\x20univer-flex-1\x20univer-overflow-hidden','print.headerFooter.placeholder','endIndex','MENTION','Plugin','key','range','PRINTING_DOM_COLLECT','Custom','1223080MiXjBB','print.selection.title','univer-flex\x20univer-h-full\x20univer-flex-col','TextIcon','CancelSheetPrintOperation','VIEW_MAIN_TOP','startIndex','print.align.horizontal.middle','_addViewport','print.headerFooter.title','print.size.executive','ILocalStorageService','enumerable','print.headerFooter.display.title','body','print.headerFooter.display.page','borderClassName','print.size.tabloid','ISheetPrintManagerService','vertical','show','trim','_menuManagerService','M8.14248\x200.899902C4.22126\x200.899902\x201.04248\x204.07868\x201.04248\x207.9999C1.04248\x2011.9211\x204.22126\x2015.0999\x208.14248\x2015.0999C12.0637\x2015.0999\x2015.2425\x2011.9211\x2015.2425\x207.9999C15.2425\x204.07868\x2012.0637\x200.899902\x208.14248\x200.899902ZM2.24248\x207.9999C2.24248\x204.74142\x204.884\x202.0999\x208.14248\x202.0999C11.401\x202.0999\x2014.0425\x204.74142\x2014.0425\x207.9999C14.0425\x2011.2584\x2011.401\x2013.8999\x208.14248\x2013.8999C4.884\x2013.8999\x202.24248\x2011.2584\x202.24248\x207.9999Z','interceptor','ISidebarService','print.margin.narrow','AllSelection','_effects','univer-pro.sheet-print-manager.service','SheetPage','getCanvas','_totalWidth','_root','print.headerFooter.display.pageTotal','CustomRangeType','_sheetPrintManagerService','print.size.letter','_viewMain','url(#$1','label','name','PRINT_GRID_SIDEBAR_COMPONENT','default','No\x20active\x20sheet\x20found','print.margin.wide','getCollabEntity','floor','isLocalCheck','SheetPrintInterceptorService','reLayout','_blank','Z_INDEX','sheet','values','dataStream','UserManagerService','substring','getRenderById','Middle','_viewTop','IPermissionService','IMessageService','CTRL_COMMAND','MAIN_AREA','PrintScale','hAlign','resize','disposeWithMe','fill','selection','Start','then','updateLayoutConfig','@TimeB','getName','insertRichText','NO_COMMERCIAL','CollaborationController','toStringTag','print.margin.left','_layoutInfos','Button','mergeMenu','createIdentifier','Wide','0\x200\x2017\x2016','paperMargin','Printing','scaleX','Page','UNIVER_WATERMARK_STORAGE_KEY','FitHeight','getCurrentLastSelection','print.area.limit','_targetRender','isPrinting','print.headerFooter.dateC','endColumn','_spreadsheetObject','M8.24483\x204.80026C8.24487\x204.46889\x207.97627\x204.20023\x207.6449\x204.2002C7.31353\x204.20016\x207.04487\x204.46876\x207.04483\x204.80013L7.04443\x208.40306C7.04442\x208.56222\x207.10763\x208.71486\x207.22017\x208.82739L9.64664\x2011.2539C9.88095\x2011.4882\x2010.2608\x2011.4882\x2010.4952\x2011.2539C10.7295\x2011.0195\x2010.7295\x2010.6396\x2010.4952\x2010.4053L8.24446\x208.15463L8.24483\x204.80026Z','RibbonStartGroup','print.headerFooter.display.dateB','position','Viewport','localeService','getSheets','setPreviewScale','SheetIcon','Scene','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','prepare','getSheetId','restore','isFeatureAuthorizedWithinTime','mpn','SheetPrintManagerService','visible$','editOp','0\x200\x20','resetCache','print.area.currentSelection','PRINTING_COMPONENT_COLLECT','__mode','PaperMarginMap','M6.00615\x201.69985C6.00615\x201.36848\x205.73752\x201.09985\x205.40615\x201.09985C5.07478\x201.09985\x204.80615\x201.36848\x204.80615\x201.69985V2.34009H3.64248C2.20654\x202.34009\x201.04248\x203.50415\x201.04248\x204.94009V12.3C1.04248\x2013.7359\x202.20654\x2014.9\x203.64248\x2014.9H12.6425C14.0784\x2014.9\x2015.2425\x2013.7359\x2015.2425\x2012.3V4.94009C15.2425\x203.50415\x2014.0784\x202.34009\x2012.6425\x202.34009H11.4798V1.69985C11.4798\x201.36848\x2011.2112\x201.09985\x2010.8798\x201.09985C10.5484\x201.09985\x2010.2798\x201.36848\x2010.2798\x201.69985V2.34009H6.00615V1.69985ZM14.0425\x205.97021V4.94009C14.0425\x204.16689\x2013.4157\x203.54009\x2012.6425\x203.54009H11.4798V4.09985C11.4798\x204.43122\x2011.2112\x204.69985\x2010.8798\x204.69985C10.5484\x204.69985\x2010.2798\x204.43122\x2010.2798\x204.09985V3.54009H6.00615V4.09985C6.00615\x204.43122\x205.73752\x204.69985\x205.40615\x204.69985C5.07478\x204.69985\x204.80615\x204.43122\x204.80615\x204.09985V3.54009H3.64248C2.86928\x203.54009\x202.24248\x204.16689\x202.24248\x204.94009V5.97021H14.0425ZM2.24248\x207.17021H14.0425V12.3C14.0425\x2013.0731\x2013.4157\x2013.7\x2012.6425\x2013.7H3.64248C2.86928\x2013.7\x202.24248\x2013.0732\x202.24248\x2012.3V7.17021Z','watermark','print.orientation.title','startColumn','print.area.maxColumnsEachPage','error','print.limit.waterMark','print.headerFooter.workbook','print.limit.page','print.headerFooter.dateE','getRangeImage','_calculateSheetPages','PrintPaperMargin','now','sheet.operation.screenshot','print.area.workbook','height','sheet.menu.print','value','univer-w-full','print.headerFooter.sheet','Engine','779979GmyoKb','pageSize','M4.80898\x2011.2327C4.47761\x2011.2327\x204.20898\x2011.5013\x204.20898\x2011.8327C4.20898\x2012.164\x204.47761\x2012.4327\x204.80898\x2012.4327H6.80898C7.14036\x2012.4327\x207.40898\x2012.164\x207.40898\x2011.8327C7.40898\x2011.5013\x207.14036\x2011.2327\x206.80898\x2011.2327H4.80898Z','slice','univer-h-full\x20univer-overflow-y-auto','attrs','sheet-icon','zoom-increase-icon','Dropdown','_sheetPrintInterceptorService','print.margin.normal','POSITIVE_INFINITY','_previewScale','UNIVER_SHEET_PERMISSION_ALERT_DIALOG','with','_addComponent','SHEET_PRINT_PLUGIN','rect','print.size.title','print.area.title','print.headerFooter.display.sheetPage','_accessor','COMMAND','time','lineWidth','max','moveTo','PAGE_SIZE','_viewLeftTop','direction','isNaN','Folio','KeyCode','updateScrollVal','width','univer-relative\x20univer-inline-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-900\x20hover:dark:!univer-bg-gray-700','_dirty','print.headerFooter.timeA','getCurrentUnitForType','_visible$','has','univer-absolute\x20univer-left-0\x20univer-z-[100]','devicePixelRatio','print.size.folio','print.headerFooter.submit','http://www.w3.org/2000/svg','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-900\x20dark:!univer-text-white','marginCustom','univerjs-icon\x20univerjs-icon-','Error','_initMenus','print.headerFooter.display.timeD','MessageType','jsx','topLeft','executeCommand','Image','startY','getFreeze','M10.3911\x203.84419C10.6254\x203.60988\x2011.0053\x203.60988\x2011.2396\x203.84419L11.8818\x204.48643V1.93496C11.8818\x201.60359\x2012.1505\x201.33496\x2012.4818\x201.33496C12.8132\x201.33496\x2013.0818\x201.60359\x2013.0818\x201.93496V4.48676L13.7244\x203.84419C13.9587\x203.60988\x2014.3386\x203.60988\x2014.5729\x203.84419C14.8072\x204.07851\x2014.8072\x204.45841\x2014.5729\x204.69272L12.9063\x206.35939C12.6719\x206.5937\x2012.292\x206.5937\x2012.0577\x206.35939L10.3911\x204.69272C10.1568\x204.45841\x2010.1568\x204.07851\x2010.3911\x203.84419Z','RichTextEditingMutation','@SheetPage','disable','push','Narrow','useEvent','clipPath','Tools','univer-mb-1\x20univer-block\x20univer-text-xs\x20univer-text-gray-500','print.area.maxRowsEachPage','forEach','print.size.b4','print.headerFooter.display.timeB','replace','actions','print.margin.custom','page','print.size.legal','defIds','ClockIcon','endY','strokeStyle','noreferrer\x20noopener','5BckTHP','onCommandExecuted','renderOnReady','entries','complete','PageSize','_config','gridlines','delete','print.headerFooter.timeD','asObservable','xSplit','TimeB','sheet.operation.cancel-print','_shortcutService','focus','text','margin','hidden','BuildTextUtils','print.formatting.title','print.grid.closeAndHide','_skeleton','PrintHeaderFooterSymbol','renderWatermark','calendar-icon','svg','!univer-min-w-0\x20univer-flex-1','printing','Origin','engine','Time','overflowCache','print.align.horizontal.start','DateC','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','_resizeViewport','_subUnitId','fillStyle','_watermarkConfig','RichTextEditor','SheetSkeletonManagerService','toLocaleString','univer-flex\x20univer-h-16\x20univer-items-center\x20univer-justify-between\x20univer-bg-white\x20univer-px-4\x20dark:!univer-bg-gray-900','M7.5\x2014.1406C7.5\x2014.4168\x207.72386\x2014.6406\x208\x2014.6406C8.27614\x2014.6406\x208.5\x2014.4168\x208.5\x2014.1406V8.47424H14.1664C14.4425\x208.47424\x2014.6664\x208.25039\x2014.6664\x207.97424C14.6664\x207.6981\x2014.4425\x207.47424\x2014.1664\x207.47424H8.5V1.80786C8.5\x201.53172\x208.27614\x201.30786\x208\x201.30786C7.72386\x201.30786\x207.5\x201.53172\x207.5\x201.80786V7.47424H1.83362C1.55748\x207.47424\x201.33362\x207.6981\x201.33362\x207.97424C1.33362\x208.25038\x201.55748\x208.47424\x201.83362\x208.47424H7.5V14.1406Z','getCurrentUnitOfType','getItem','blur','toDataURL','getData','prototype','valid','toString','set','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','UniverIcon','children','MetaKeys','split','button','right','renderConfig','getInterceptPoints','size','generateRandomId','url(#text-icon_clip0_1293_26)','_commandService','_injector','subUnitIds','_configService','univer-relative\x20univer-box-border\x20univer-flex\x20univer-size-full\x20univer-flex-col\x20univer-overflow-hidden','19845891pOmYtV','write','paperSize','fontBoundingBoxDescent','univer-rounded-md\x20univer-bg-white\x20univer-p-1\x20univer-shadow\x20dark:!univer-bg-gray-900','print.orientation.portrait','idSuffix','_print'];_0x4ff9=function(){return _0x16ad3c;};return _0x4ff9();}function Ct(_0x2594f8,_0x17c7e1,_0x14b427){const _0x29b2e7=_0x5aa627,_0x42394e={..._0x2594f8[_0x29b2e7(0x283)]};_0x14b427!=null&&_0x14b427['colorChannel1']&&_0x42394e[_0x29b2e7(0x230)]==='colorChannel1'&&(_0x42394e[_0x29b2e7(0x230)]=_0x14b427[_0x29b2e7(0x33e)]),_0x2594f8[_0x29b2e7(0x1a9)]==='mask'&&_0x42394e['id']&&(_0x42394e['id']=_0x42394e['id']+_0x17c7e1[_0x29b2e7(0x31e)]),Object['entries'](_0x42394e)['forEach'](([_0x2eb838,_0xe2e196])=>{const _0x15ac43=_0x29b2e7;_0x2eb838===_0x15ac43(0x19e)&&typeof _0xe2e196=='string'&&(_0x42394e[_0x2eb838]=_0xe2e196[_0x15ac43(0x2c7)](/url\(#(.*)\)/,'url(#$1'+_0x17c7e1[_0x15ac43(0x31e)]+')'));});const {defIds:_0x2ce795}=_0x17c7e1;return!_0x2ce795||_0x2ce795[_0x29b2e7(0x1ba)]===0x0||(_0x2594f8[_0x29b2e7(0x1a9)]===_0x29b2e7(0x1b8)&&_0x42394e[_0x29b2e7(0x1a8)]&&(_0x42394e[_0x29b2e7(0x1a8)]=_0x42394e['xlink:href']+_0x17c7e1[_0x29b2e7(0x31e)]),Object[_0x29b2e7(0x2d4)](_0x42394e)[_0x29b2e7(0x2c4)](([_0x4ae941,_0x69f2ca])=>{const _0x18049f=_0x29b2e7;typeof _0x69f2ca=='string'&&(_0x42394e[_0x4ae941]=_0x69f2ca[_0x18049f(0x2c7)](/url\(#(.*)\)/,_0x18049f(0x212)+_0x17c7e1[_0x18049f(0x31e)]+')'));})),_0x42394e;}function St(_0x3a9594,_0x9396d0){const _0x425242=_0x5aa627;var _0x437810;const {defIds:_0x1ea33a}=_0x9396d0;return!_0x1ea33a||_0x1ea33a['length']===0x0?_0x3a9594:_0x3a9594[_0x425242(0x1a9)]==='defs'&&((_0x437810=_0x3a9594[_0x425242(0x309)])!=null&&_0x437810[_0x425242(0x1ba)])?{..._0x3a9594,'children':_0x3a9594[_0x425242(0x309)][_0x425242(0x138)](_0x517c04=>typeof _0x517c04[_0x425242(0x283)]['id']==_0x425242(0x150)&&_0x1ea33a&&_0x1ea33a[_0x425242(0x155)](_0x517c04[_0x425242(0x283)]['id'])?{..._0x517c04,'attrs':{..._0x517c04[_0x425242(0x283)],'id':_0x517c04[_0x425242(0x283)]['id']+_0x9396d0['idSuffix']}}:_0x517c04)}:_0x3a9594;}function bt(){const _0x12cea2=_0x5aa627;return Math[_0x12cea2(0x325)]()[_0x12cea2(0x305)](0x24)[_0x12cea2(0x224)](0x2,0x8);}Z[_0x5aa627(0x156)]=_0x5aa627(0x308);const _t={'tag':'svg','attrs':{'xmlns':_0x5aa627(0x2ab),'fill':_0x5aa627(0xba),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5aa627(0x358)},'children':[{'tag':'path','attrs':{'fill':_0x5aa627(0xbe),'d':'M8.87598\x2011.8327C8.87598\x2011.5013\x209.14461\x2011.2327\x209.47598\x2011.2327H11.476C11.8073\x2011.2327\x2012.076\x2011.5013\x2012.076\x2011.8327C12.076\x2012.164\x2011.8073\x2012.4327\x2011.476\x2012.4327H9.47598C9.14461\x2012.4327\x208.87598\x2012.164\x208.87598\x2011.8327Z'}},{'tag':'path','attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x280)}},{'tag':'path','attrs':{'fill':_0x5aa627(0xbe),'d':'M8.87598\x209.16592C8.87598\x208.83455\x209.14461\x208.56592\x209.47598\x208.56592H11.476C11.8073\x208.56592\x2012.076\x208.83455\x2012.076\x209.16592C12.076\x209.49729\x2011.8073\x209.76592\x2011.476\x209.76592H9.47598C9.14461\x209.76592\x208.87598\x209.49729\x208.87598\x209.16592Z'}},{'tag':_0x5aa627(0xa7),'attrs':{'fill':'currentColor','d':_0x5aa627(0x127)}},{'tag':'path','attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x268),'fillRule':_0x5aa627(0x384),'clipRule':_0x5aa627(0x384)}}]},Fe=S[_0x5aa627(0x185)](function(_0x5e8fca,_0x4f1866){const _0x1c3057=_0x5aa627;return S[_0x1c3057(0x8f)](Z,Object[_0x1c3057(0x1b7)]({},_0x5e8fca,{'id':_0x1c3057(0x2ea),'ref':_0x4f1866,'icon':_t}));});Fe[_0x5aa627(0x156)]='CalendarIcon';const xt={'tag':_0x5aa627(0x2eb),'attrs':{'xmlns':_0x5aa627(0x2ab),'fill':_0x5aa627(0xba),'viewBox':_0x5aa627(0x241),'width':_0x5aa627(0x358),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x24f)}},{'tag':_0x5aa627(0xa7),'attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x202),'fillRule':_0x5aa627(0x384),'clipRule':_0x5aa627(0x384)}}]},ze=S['forwardRef'](function(_0x500e93,_0x2447e5){const _0x145153=_0x5aa627;return S[_0x145153(0x8f)](Z,Object[_0x145153(0x1b7)]({},_0x500e93,{'id':_0x145153(0x33d),'ref':_0x2447e5,'icon':xt}));});ze['displayName']=_0x5aa627(0x2cd);const wt={'tag':_0x5aa627(0x2eb),'attrs':{'xmlns':_0x5aa627(0x2ab),'fill':_0x5aa627(0xba),'viewBox':_0x5aa627(0x241),'width':'1em','height':_0x5aa627(0x358)},'children':[{'tag':_0x5aa627(0xa7),'attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x18b),'fillRule':_0x5aa627(0x384),'clipRule':_0x5aa627(0x384)}},{'tag':_0x5aa627(0xa7),'attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x2b9)}}]},Ae=S[_0x5aa627(0x185)](function(_0x1e376e,_0x450d06){const _0x1c0cac=_0x5aa627;return S[_0x1c0cac(0x8f)](Z,Object['assign']({},_0x1e376e,{'id':'download-image-icon','ref':_0x450d06,'icon':wt}));});Ae[_0x5aa627(0x156)]=_0x5aa627(0x132);const yt={'tag':_0x5aa627(0x2eb),'attrs':{'xmlns':_0x5aa627(0x2ab),'fill':'none','viewBox':_0x5aa627(0xd2),'width':_0x5aa627(0x358),'height':_0x5aa627(0x358)},'children':[{'tag':_0x5aa627(0xa7),'attrs':{'fill':_0x5aa627(0xbe),'d':'M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','fillRule':_0x5aa627(0x384),'clipRule':_0x5aa627(0x384)}}]},xe=S[_0x5aa627(0x185)](function(_0x2a3630,_0x5cf9bb){const _0x219e29=_0x5aa627;return S[_0x219e29(0x8f)](Z,Object['assign']({},_0x2a3630,{'id':_0x219e29(0x16d),'ref':_0x5cf9bb,'icon':yt}));});xe[_0x5aa627(0x156)]='MoreDownIcon';const It={'tag':_0x5aa627(0x2eb),'attrs':{'xmlns':_0x5aa627(0x2ab),'fill':_0x5aa627(0xba),'viewBox':_0x5aa627(0xd2),'width':_0x5aa627(0x358),'height':_0x5aa627(0x358)},'children':[{'tag':_0x5aa627(0xa7),'attrs':{'fill':'currentColor','d':_0x5aa627(0xa9)}},{'tag':_0x5aa627(0xa7),'attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x307),'fillRule':_0x5aa627(0x384),'clipRule':'evenodd'}}]},Ue=S[_0x5aa627(0x185)](function(_0x434b46,_0x59173b){const _0x47cd85=_0x5aa627;return S['createElement'](Z,Object[_0x47cd85(0x1b7)]({},_0x434b46,{'id':_0x47cd85(0x172),'ref':_0x59173b,'icon':It}));});Ue['displayName']=_0x5aa627(0xc6);const Pt={'tag':_0x5aa627(0x2eb),'attrs':{'xmlns':_0x5aa627(0x2ab),'fill':_0x5aa627(0xba),'viewBox':_0x5aa627(0xd2),'width':_0x5aa627(0x358),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x12c),'fillRule':_0x5aa627(0x384),'clipRule':_0x5aa627(0x384)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5aa627(0xc4),'fillRule':_0x5aa627(0x384),'clipRule':_0x5aa627(0x384)}}]},Ye=S[_0x5aa627(0x185)](function(_0x5dc290,_0x17d2fe){const _0x5c22ba=_0x5aa627;return S[_0x5c22ba(0x8f)](Z,Object[_0x5c22ba(0x1b7)]({},_0x5dc290,{'id':_0x5c22ba(0x284),'ref':_0x17d2fe,'icon':Pt}));});Ye['displayName']=_0x5aa627(0x257);const Rt={'tag':'svg','attrs':{'xmlns':_0x5aa627(0x2ab),'fill':'none','viewBox':_0x5aa627(0x241),'width':_0x5aa627(0x358),'height':_0x5aa627(0x358)},'children':[{'tag':'g','attrs':{'fill':_0x5aa627(0xbe),'clipPath':_0x5aa627(0x312)},'children':[{'tag':_0x5aa627(0xa7),'attrs':{'d':'M2.22891\x202.07227C1.89754\x202.07227\x201.62891\x202.34089\x201.62891\x202.67227C1.62891\x203.00364\x201.89754\x203.27227\x202.22891\x203.27227H6.29541V14.0056C6.29541\x2014.337\x206.56404\x2014.6056\x206.89541\x2014.6056C7.22678\x2014.6056\x207.49541\x2014.337\x207.49541\x2014.0056V3.27227H11.5622C11.8936\x203.27227\x2012.1622\x203.00364\x2012.1622\x202.67227C12.1622\x202.34089\x2011.8936\x202.07227\x2011.5622\x202.07227H2.22891Z'}},{'tag':_0x5aa627(0xa7),'attrs':{'d':'M10.2289\x206.40552C9.89754\x206.40552\x209.62891\x206.67415\x209.62891\x207.00552C9.62891\x207.33689\x209.89754\x207.60552\x2010.2289\x207.60552H12.2954V14.0055C12.2954\x2014.3369\x2012.564\x2014.6055\x2012.8954\x2014.6055C13.2268\x2014.6055\x2013.4954\x2014.3369\x2013.4954\x2014.0055V7.60552H15.5622C15.8936\x207.60552\x2016.1622\x207.33689\x2016.1622\x207.00552C16.1622\x206.67415\x2015.8936\x206.40552\x2015.5622\x206.40552H10.2289Z'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5aa627(0x2c0),'attrs':{'id':_0x5aa627(0x32f)},'children':[{'tag':_0x5aa627(0xa7),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.9)'}}]}]}],'defIds':[_0x5aa627(0x32f)]},Ve=S[_0x5aa627(0x185)](function(_0x86b609,_0xe3e9c5){const _0x45741b=_0x5aa627;return S[_0x45741b(0x8f)](Z,Object[_0x45741b(0x1b7)]({},_0x86b609,{'id':_0x45741b(0x10c),'ref':_0xe3e9c5,'icon':Rt}));});Ve[_0x5aa627(0x156)]=_0x5aa627(0x1ee);const Tt={'tag':_0x5aa627(0x2eb),'attrs':{'xmlns':_0x5aa627(0x2ab),'fill':_0x5aa627(0xba),'viewBox':'0\x200\x2016\x2016','width':_0x5aa627(0x358),'height':_0x5aa627(0x358)},'children':[{'tag':_0x5aa627(0xa7),'attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x2fd)}}]},He=S[_0x5aa627(0x185)](function(_0x25a93e,_0x344961){const _0x2e3f6e=_0x5aa627;return S['createElement'](Z,Object[_0x2e3f6e(0x1b7)]({},_0x25a93e,{'id':_0x2e3f6e(0x285),'ref':_0x344961,'icon':Tt}));});He[_0x5aa627(0x156)]=_0x5aa627(0xee);const Nt={'tag':_0x5aa627(0x2eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x5aa627(0xd2),'width':_0x5aa627(0x358),'height':_0x5aa627(0x358)},'children':[{'tag':_0x5aa627(0xa7),'attrs':{'fill':_0x5aa627(0xbe),'d':_0x5aa627(0x145),'fillRule':_0x5aa627(0x384),'clipRule':_0x5aa627(0x384)}}]},We=S[_0x5aa627(0x185)](function(_0x48177d,_0x325a75){const _0x1d06d3=_0x5aa627;return S[_0x1d06d3(0x8f)](Z,Object[_0x1d06d3(0x1b7)]({},_0x48177d,{'id':_0x1d06d3(0x352),'ref':_0x325a75,'icon':Nt}));});We[_0x5aa627(0x156)]=_0x5aa627(0x121);function kt(_0x392e99){const _0x38d361=_0x5aa627,[_0x533104,_0xb2d6f3]=S[_0x38d361(0x87)]();return S[_0x38d361(0x330)](()=>{_0x392e99['then'](_0x18aa39=>{_0xb2d6f3(()=>_0x18aa39);});},[]),_0x533104;}const $e='sheets-print.config',Re={};function Xe(_0x5617e0){const _0x2c520e=_0x5aa627,_0x33f7f0=_0x5617e0[_0x2c520e(0x1be)]((_0x5dd99f,_0x32ba96)=>_0x5dd99f+_0x32ba96[_0x2c520e(0x1bd)][_0x2c520e(0x1ba)],0x0),_0x59a257=new Map(),_0x356937=new Map();_0x5617e0[_0x2c520e(0x2c4)](_0x290df2=>{const _0x31b399=_0x2c520e;var _0x5bb6fc;const _0x4631c0=_0x290df2[_0x31b399(0x1bd)][_0x31b399(0x1ba)],_0x526cca=(_0x5bb6fc=_0x356937[_0x31b399(0x11d)](_0x290df2['subUnitId']))!=null?_0x5bb6fc:0x0;_0x356937['set'](_0x290df2[_0x31b399(0x102)],_0x4631c0+_0x526cca);});let _0x426f31=0x0;return _0x5617e0[_0x2c520e(0x138)](_0x46a4f6=>{const _0x4006ff=_0x2c520e;var _0x2efd88;const _0x4221a9=_0x46a4f6[_0x4006ff(0x1bd)][_0x4006ff(0x1ba)],_0x58e61d=(_0x2efd88=_0x59a257[_0x4006ff(0x11d)](_0x46a4f6[_0x4006ff(0x102)]))!=null?_0x2efd88:0x0,_0x17c62b=_0x46a4f6[_0x4006ff(0x1bd)][_0x4006ff(0x138)]((_0x35f241,_0x133600)=>(_0x426f31++,{..._0x46a4f6,'range':_0x35f241,'page':_0x426f31,'pageTotal':_0x33f7f0,'sheetPageTotal':_0x356937[_0x4006ff(0x11d)](_0x46a4f6['subUnitId']),'sheetPage':_0x133600+0x1+_0x58e61d}));return _0x59a257[_0x4006ff(0x2a6)](_0x46a4f6[_0x4006ff(0x102)])?_0x59a257[_0x4006ff(0x306)](_0x46a4f6['subUnitId'],_0x59a257['get'](_0x46a4f6[_0x4006ff(0x102)])+_0x4221a9):_0x59a257[_0x4006ff(0x306)](_0x46a4f6['subUnitId'],_0x4221a9),_0x17c62b;})[_0x2c520e(0x350)]();}function A(_0x559506,_0x43094b){const _0x16f2ac=_0x5aa627;switch(_0x559506){case b[_0x16f2ac(0x17b)]:return _0x43094b['workbook'][_0x16f2ac(0x214)];case b[_0x16f2ac(0x84)]:return _0x43094b['worksheet'][_0x16f2ac(0x236)]();case b['Page']:return''+_0x43094b[_0x16f2ac(0x2ca)];case b[_0x16f2ac(0x8e)]:return''+_0x43094b[_0x16f2ac(0xf1)];case b[_0x16f2ac(0x1a0)]:return''+_0x43094b['sheetPageTotal'];case b[_0x16f2ac(0x209)]:return''+_0x43094b['sheetPage'];case b[_0x16f2ac(0x161)]:return _0x43094b[_0x16f2ac(0x275)][_0x16f2ac(0x144)](_0x43094b['localeService']['t'](_0x16f2ac(0x131)));case b[_0x16f2ac(0xfd)]:return _0x43094b['now']['format'](_0x43094b[_0x16f2ac(0x254)]['t']('print.headerFooter.dateB'));case b[_0x16f2ac(0x2f3)]:return _0x43094b['now'][_0x16f2ac(0x144)](_0x43094b[_0x16f2ac(0x254)]['t'](_0x16f2ac(0x24c)));case b[_0x16f2ac(0x125)]:return _0x43094b[_0x16f2ac(0x275)][_0x16f2ac(0x144)](_0x43094b[_0x16f2ac(0x254)]['t'](_0x16f2ac(0x17d)));case b['DateE']:return _0x43094b[_0x16f2ac(0x275)][_0x16f2ac(0x144)](_0x43094b[_0x16f2ac(0x254)]['t'](_0x16f2ac(0x271)));case b[_0x16f2ac(0x160)]:return _0x43094b[_0x16f2ac(0x275)][_0x16f2ac(0x144)](_0x43094b[_0x16f2ac(0x254)]['t'](_0x16f2ac(0x2a3)));case b[_0x16f2ac(0x2dd)]:return _0x43094b[_0x16f2ac(0x275)][_0x16f2ac(0x144)](_0x43094b['localeService']['t'](_0x16f2ac(0x1aa)));case b[_0x16f2ac(0xe4)]:return _0x43094b[_0x16f2ac(0x275)]['format'](_0x43094b[_0x16f2ac(0x254)]['t'](_0x16f2ac(0x16f)));case b[_0x16f2ac(0xfc)]:return _0x43094b[_0x16f2ac(0x275)][_0x16f2ac(0x144)](_0x43094b[_0x16f2ac(0x254)]['t'](_0x16f2ac(0x2da)));}}const Mt=Object[_0x5aa627(0x221)](b);function Q(_0x49ecd7,_0x18627f){const _0x3c72e0=_0x5aa627;let _0x369a99=_0x49ecd7;return Mt[_0x3c72e0(0x2c4)](_0x130399=>{const _0x3a6626=_0x3c72e0;_0x369a99=_0x369a99[_0x3a6626(0x197)](_0x130399,A(_0x130399,_0x18627f));}),_0x369a99;}const ve='@[]@';function Et(_0x3adb61,_0x397904){const _0x1e75da=_0x5aa627;let _0x24bd1b=_0x3adb61;_0x397904[_0x1e75da(0x2c4)](_0x4de767=>{const _0x235cf8=_0x1e75da;_0x24bd1b=_0x24bd1b['replaceAll'](_0x4de767[_0x235cf8(0x27a)],''+ve+_0x4de767['label']+ve);});const _0xf3b1b=_0x24bd1b[_0x1e75da(0x30b)](ve),_0x27ea47=l['RichTextBuilder']['create']();return _0xf3b1b[_0x1e75da(0x2c4)]((_0x1ec721,_0x31ca90)=>{const _0x54b14d=_0x1e75da;if(_0x1ec721){if(_0x31ca90%0x2===0x1){const _0x29d4f9=_0x1ec721,_0x185331={'id':'d','documentStyle':{},'drawings':{},'drawingsOrder':[],'body':{'dataStream':_0x1ec721,'customBlocks':[],'customRanges':[{'startIndex':0x0,'endIndex':_0x1ec721['length']-0x1,'rangeId':l['generateRandomId'](),'rangeType':l[_0x54b14d(0x20e)][_0x54b14d(0x1e5)],'properties':{'value':_0x397904[_0x54b14d(0x10e)](_0xce98c0=>_0xce98c0[_0x54b14d(0x213)]===_0x29d4f9)[_0x54b14d(0x27a)]}}]}};_0x27ea47[_0x54b14d(0x237)](_0x185331);}else _0x27ea47[_0x54b14d(0x1cc)](_0x1ec721);}}),_0x27ea47['getData']();}function Lt(_0x1a3066){const _0x66734a=_0x5aa627;var _0x557546;if(!(_0x1a3066!=null&&_0x1a3066['body']))return'';const _0x514c3e=l[_0x66734a(0xb6)]['create'](l[_0x66734a(0x2c1)][_0x66734a(0x336)](_0x1a3066));for(;(_0x557546=_0x514c3e[_0x66734a(0x302)]()[_0x66734a(0x1f9)][_0x66734a(0x36b)])!=null&&_0x557546[_0x66734a(0x1ba)];){const _0x451596=_0x514c3e[_0x66734a(0x302)]()[_0x66734a(0x1f9)][_0x66734a(0x36b)][0x0];if(!_0x451596)break;_0x514c3e[_0x66734a(0x2d9)](_0x451596[_0x66734a(0x1f1)],_0x451596[_0x66734a(0x1e4)]+0x1-_0x451596[_0x66734a(0x1f1)]),_0x514c3e['insertText'](_0x451596[_0x66734a(0x1f1)],_0x451596['properties'][_0x66734a(0x27a)]);}return _0x514c3e[_0x66734a(0x302)]()[_0x66734a(0x1f9)][_0x66734a(0x222)];}const se=({icon:_0x3891fc,items:_0x594d0f,active:_0x45fba0,onChange:_0x1583c,onHover:_0x34fe7e,popupDirection:_0x589756='top'})=>o[_0x5aa627(0x37c)](_0x5aa627(0x167),{'className':_0x5aa627(0x2a1),'onMouseEnter':()=>_0x34fe7e==null?void 0x0:_0x34fe7e(!0x0),'onMouseLeave':()=>_0x34fe7e==null?void 0x0:_0x34fe7e(!0x1),'children':[o['jsx']('div',{'className':_0x5aa627(0x2ac),'children':_0x3891fc}),o[_0x5aa627(0x2b3)](xe,{'className':_0x5aa627(0x186)}),_0x45fba0&&o[_0x5aa627(0x2b3)]('div',{'style':{[_0x589756]:_0x5aa627(0x1c1)},'className':'univer-absolute\x20univer-left-0\x20univer-z-[1000]\x20univer-min-w-[200px]\x20univer-px-0\x20univer-py-2','children':o[_0x5aa627(0x2b3)](_0x5aa627(0x167),{'className':'univer-solid\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700','children':_0x594d0f[_0x5aa627(0x138)](_0x1320da=>o['jsxs'](_0x5aa627(0x167),{'className':_0x5aa627(0x9b),'onClick':()=>{const _0x258093=_0x5aa627;_0x1583c==null||_0x1583c(_0x1320da[_0x258093(0x27a)]),_0x34fe7e==null||_0x34fe7e(!0x1);},'children':[o[_0x5aa627(0x2b3)](_0x5aa627(0x167),{'className':_0x5aa627(0x93),'children':_0x1320da[_0x5aa627(0x213)]}),o[_0x5aa627(0x2b3)](_0x5aa627(0x167),{'className':_0x5aa627(0x1a4),'children':_0x1320da[_0x5aa627(0x385)]})]},_0x1320da[_0x5aa627(0x27a)]))})})]}),jt=_0x4c768a=>{const _0x2d4fb0=_0x5aa627,{onSelect:_0x3859a6,popupDirection:_0x5cb014}=_0x4c768a,[_0x53869f,_0x4589fe]=S[_0x2d4fb0(0x87)](),_0x17dd63=y['useDependency'](l[_0x2d4fb0(0xec)]),_0x5a5730=_0x17dd63['getCurrentLocale'](),_0x53c819=y[_0x2d4fb0(0xc7)](l['IUniverInstanceService'])[_0x2d4fb0(0x2fe)](l['UniverInstanceType']['UNIVER_SHEET']),_0x180381=_0x53c819['getActiveSheet'](),_0x18b169=S[_0x2d4fb0(0x15f)](()=>l['dayjs'](),[]),_0x266efe=S[_0x2d4fb0(0x15f)](()=>[{'value':b[_0x2d4fb0(0x245)],'label':_0x17dd63['t'](_0x2d4fb0(0x1fa)),'desc':A(b['Page'],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0x209)],'label':_0x17dd63['t'](_0x2d4fb0(0x292)),'desc':A(b['SheetPage'],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0x8e)],'label':_0x17dd63['t'](_0x2d4fb0(0x20d)),'desc':A(b['PageTotal'],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0x1a0)],'label':_0x17dd63['t'](_0x2d4fb0(0x326)),'desc':A(b[_0x2d4fb0(0x1a0)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})}],[_0x17dd63,_0x5a5730]),_0x36b57b=S[_0x2d4fb0(0x15f)](()=>[{'value':b[_0x2d4fb0(0x17b)],'label':_0x17dd63['t'](_0x2d4fb0(0x1f8)),'desc':A(b[_0x2d4fb0(0x17b)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0x84)],'label':_0x17dd63['t'](_0x2d4fb0(0xb5)),'desc':A(b[_0x2d4fb0(0x84)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})}],[_0x17dd63,_0x5a5730]),_0x4da89b=S['useMemo'](()=>[{'value':b[_0x2d4fb0(0x161)],'label':_0x17dd63['t'](_0x2d4fb0(0x321)),'desc':A(b[_0x2d4fb0(0x161)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b['DateB'],'label':_0x17dd63['t'](_0x2d4fb0(0x251)),'desc':A(b[_0x2d4fb0(0xfd)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0x2f3)],'label':_0x17dd63['t'](_0x2d4fb0(0x105)),'desc':A(b[_0x2d4fb0(0x2f3)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0x125)],'label':_0x17dd63['t'](_0x2d4fb0(0x117)),'desc':A(b['DateD'],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})}],[_0x17dd63,_0x5a5730]),_0x157a05=S['useMemo'](()=>[{'value':b['TimeA'],'label':_0x17dd63['t']('print.headerFooter.display.timeA'),'desc':A(b['TimeA'],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0x2dd)],'label':_0x17dd63['t'](_0x2d4fb0(0x2c6)),'desc':A(b[_0x2d4fb0(0x2dd)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b['TimeC'],'label':_0x17dd63['t']('print.headerFooter.display.timeC'),'desc':A(b[_0x2d4fb0(0xe4)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})},{'value':b[_0x2d4fb0(0xfc)],'label':_0x17dd63['t'](_0x2d4fb0(0x2b1)),'desc':A(b[_0x2d4fb0(0xfc)],{'workbook':_0x53c819,'worksheet':_0x180381,'page':0x1,'sheetPage':0x1,'pageTotal':0x63,'sheetPageTotal':0x63,'localeService':_0x17dd63,'now':_0x18b169})}],[_0x17dd63,_0x5a5730]);return o[_0x2d4fb0(0x37c)](_0x2d4fb0(0x167),{'className':h[_0x2d4fb0(0x129)](_0x2d4fb0(0x31c),h['borderClassName']),'children':[o[_0x2d4fb0(0x2b3)](se,{'icon':o[_0x2d4fb0(0x2b3)](Ye,{}),'items':_0x266efe,'onHover':_0x338806=>_0x4589fe(_0x338806?_0x2d4fb0(0x220):''),'active':_0x53869f===_0x2d4fb0(0x220),'onChange':_0x3859a6,'popupDirection':_0x5cb014}),o[_0x2d4fb0(0x2b3)](se,{'icon':o[_0x2d4fb0(0x2b3)](Ve,{}),'items':_0x36b57b,'onHover':_0x2bb7fa=>_0x4589fe(_0x2bb7fa?_0x2d4fb0(0x2e1):''),'active':_0x53869f===_0x2d4fb0(0x2e1),'onChange':_0x3859a6,'popupDirection':_0x5cb014}),o[_0x2d4fb0(0x2b3)](se,{'icon':o[_0x2d4fb0(0x2b3)](Fe,{}),'items':_0x4da89b,'onHover':_0x51b060=>_0x4589fe(_0x51b060?_0x2d4fb0(0xae):''),'active':_0x53869f===_0x2d4fb0(0xae),'onChange':_0x3859a6,'popupDirection':_0x5cb014}),o[_0x2d4fb0(0x2b3)](se,{'icon':o['jsx'](ze,{}),'items':_0x157a05,'onHover':_0x5c0a33=>_0x4589fe(_0x5c0a33?_0x2d4fb0(0x295):''),'active':_0x53869f===_0x2d4fb0(0x295),'onChange':_0x3859a6,'popupDirection':_0x5cb014})]});};function Bt({width:_0x2e2ff1=0x2b9,height:_0x23973b=0x229,cols:_0x342bdd=0x8,rows:_0x356267=0x18,cellWidth:_0x2e0394=0x57,cellHeight:_0x4156ee=0x17,strokeColor:_0x25fb51=_0x5aa627(0x194)}){const _0x59f44a=_0x5aa627,_0x316452=S['useMemo'](()=>{const _0x4dc9cf=_0xa739,_0x385bf5=[];for(let _0x41e6e5=0x0;_0x41e6e5<_0x356267;_0x41e6e5++)for(let _0x38c072=0x0;_0x38c072<_0x342bdd;_0x38c072++)_0x385bf5[_0x4dc9cf(0x2bd)](o['jsx'](_0x4dc9cf(0x28f),{'x':_0x38c072*_0x2e0394+0.5,'y':_0x41e6e5*_0x4156ee+0.5,'width':_0x2e0394,'height':_0x4156ee,'stroke':_0x25fb51},_0x41e6e5+'-'+_0x38c072));return _0x385bf5;},[_0x356267,_0x342bdd,_0x2e0394,_0x4156ee,_0x25fb51]);return o['jsx'](_0x59f44a(0x2eb),{'width':_0x2e2ff1,'height':_0x23973b,'viewBox':_0x59f44a(0x262)+_0x2e2ff1+'\x20'+_0x23973b,'fill':_0x59f44a(0xba),'xmlns':_0x59f44a(0x2ab),'children':_0x316452});}const ee=_0x1d5daa=>{const _0x14b232=_0x5aa627;var _0x45240c;const {value:_0x44ab84,onChange:_0x52b74f,popupDirection:_0x3d2e53='top'}=_0x1d5daa,_0x508409=y[_0x14b232(0xc7)](l[_0x14b232(0xec)]),_0x1c9fa7=_0x508409['getCurrentLocale'](),_0x5c49ed=y[_0x14b232(0xc7)](Ie['IEditorService']),[_0x29d10e,_0x5aa2c8]=S[_0x14b232(0x87)](!0x1),_0xfc8950=S[_0x14b232(0x1c0)](null),_0x88d069=y[_0x14b232(0xc7)](l[_0x14b232(0x10f)]),_0x48160c=_0x5c49ed[_0x14b232(0xd3)](),_0x1d5332=_0xfc8950[_0x14b232(0x1d5)]&&_0x48160c===((_0x45240c=_0xfc8950['current'])==null?void 0x0:_0x45240c[_0x14b232(0x338)]());y['useObservable'](_0x5c49ed[_0x14b232(0x8b)]),y[_0x14b232(0xd0)](_0x5c49ed[_0x14b232(0xcd)]);const _0x41f004=S['useMemo'](()=>[{'value':b[_0x14b232(0x245)],'label':_0x508409['t'](_0x14b232(0x1fa))},{'value':b['SheetPage'],'label':_0x508409['t'](_0x14b232(0x292))},{'value':b[_0x14b232(0x8e)],'label':_0x508409['t']('print.headerFooter.display.pageTotal')},{'value':b[_0x14b232(0x1a0)],'label':_0x508409['t'](_0x14b232(0x326))}],[_0x508409,_0x1c9fa7]),_0x5cce11=S[_0x14b232(0x15f)](()=>[{'value':b['WorkbookTitle'],'label':_0x508409['t'](_0x14b232(0x1f8))},{'value':b[_0x14b232(0x84)],'label':_0x508409['t'](_0x14b232(0xb5))}],[_0x508409,_0x1c9fa7]),_0x38f419=S[_0x14b232(0x15f)](()=>[{'value':b['DateA'],'label':_0x508409['t'](_0x14b232(0x321))},{'value':b['DateB'],'label':_0x508409['t'](_0x14b232(0x251))},{'value':b[_0x14b232(0x2f3)],'label':_0x508409['t'](_0x14b232(0x105))},{'value':b[_0x14b232(0x125)],'label':_0x508409['t'](_0x14b232(0x117))}],[_0x508409,_0x1c9fa7]),_0x135623=S[_0x14b232(0x15f)](()=>[{'value':b[_0x14b232(0x160)],'label':_0x508409['t'](_0x14b232(0xff))},{'value':b[_0x14b232(0x2dd)],'label':_0x508409['t'](_0x14b232(0x2c6))},{'value':b[_0x14b232(0xe4)],'label':_0x508409['t'](_0x14b232(0x382))},{'value':b['TimeD'],'label':_0x508409['t'](_0x14b232(0x2b1))}],[_0x508409,_0x1c9fa7]),_0x1adba8=S[_0x14b232(0x15f)](()=>[..._0x41f004,..._0x5cce11,..._0x38f419,..._0x135623],[_0x41f004,_0x5cce11,_0x38f419,_0x135623]),[_0x4a5c94]=S[_0x14b232(0x87)](()=>Et(_0x44ab84,_0x1adba8));return o[_0x14b232(0x37c)](_0x14b232(0x167),{'className':_0x14b232(0x89),'children':[o[_0x14b232(0x2b3)](Ie[_0x14b232(0x2f9)],{'editorRef':_0xfc8950,'initialValue':_0x4a5c94,'onChange':_0xc4a287=>{_0x52b74f==null||_0x52b74f(Lt(_0xc4a287));},'onFocusChange':_0x212db7=>{_0x5aa2c8(!!_0x212db7);},'onClickOutside':()=>{const _0x553ad8=_0x14b232;var _0x16c0fc;(_0x16c0fc=_0xfc8950[_0x553ad8(0x1d5)])==null||_0x16c0fc[_0x553ad8(0x128)]([]),_0x5c49ed[_0x553ad8(0x300)]();},'placeholder':_0x508409['t'](_0x14b232(0x1e3))}),o[_0x14b232(0x2b3)]('div',{'className':_0x14b232(0x2a7),'style':{[_0x3d2e53]:0x24},'children':_0x1d5332&&o[_0x14b232(0x2b3)](jt,{'popupDirection':_0x3d2e53,'onSelect':async _0xadd57d=>{const _0x3c756e=_0x14b232;var _0x1652dc;const _0x12388b=(_0x1652dc=_0xfc8950[_0x3c756e(0x1d5)])==null?void 0x0:_0x1652dc[_0x3c756e(0x338)]();if(!_0xfc8950['current'])return;const _0x20e445=_0xfc8950[_0x3c756e(0x1d5)]['getCursorPosition']();if(_0x20e445<0x0)return;const _0x37e999=_0x1adba8['find'](_0x1fcefa=>_0x1fcefa[_0x3c756e(0x27a)]===_0xadd57d);if(!_0x37e999)return;const _0x13a666={'dataStream':_0x37e999[_0x3c756e(0x213)],'customRanges':[{'startIndex':0x0,'endIndex':_0x37e999[_0x3c756e(0x213)]['length']-0x1,'rangeId':l[_0x3c756e(0x311)](),'rangeType':l[_0x3c756e(0x20e)]['MENTION'],'properties':{'value':_0x37e999[_0x3c756e(0x27a)]},'wholeEntity':!0x0}]};await l['awaitTime'](0x0);const _0x2cff81=l[_0x3c756e(0x2e4)][_0x3c756e(0x231)][_0x3c756e(0x2c7)]({'selection':{'startOffset':_0x20e445,'endOffset':_0x20e445,'collapsed':!0x0},'body':_0x13a666,'doc':_0xfc8950[_0x3c756e(0x1d5)]['getDocumentDataModel']()});if(!_0x2cff81)return;const _0x2aea98={'id':lt[_0x3c756e(0x2ba)]['id'],'params':{'unitId':_0x12388b,'actions':[],'textRanges':[{'startOffset':_0x20e445+_0x13a666[_0x3c756e(0x222)][_0x3c756e(0x1ba)],'endOffset':_0x20e445+_0x13a666[_0x3c756e(0x222)][_0x3c756e(0x1ba)],'collapsed':!0x0}],'trigger':_0x3c756e(0x159)}},_0x3bd003=l[_0x3c756e(0x365)][_0x3c756e(0x1db)]();_0x2aea98[_0x3c756e(0x122)][_0x3c756e(0x2c8)]=_0x3bd003[_0x3c756e(0x261)](_0x2cff81[_0x3c756e(0x8c)]()),_0x88d069['syncExecuteCommand'](_0x2aea98['id'],_0x2aea98[_0x3c756e(0x122)]),setTimeout(()=>{const _0x48869c=_0x3c756e;_0x5c49ed[_0x48869c(0x2e0)](_0x12388b);},0x0);}})})]});},Dt=_0x373b03=>{const _0x47255f=_0x5aa627;var _0x105d1e;const {onClose:_0x1cd646}=_0x373b03,_0x3da87f=y[_0x47255f(0xc7)](V),_0x4f2595=(_0x105d1e=_0x3da87f[_0x47255f(0x30e)]['headerFooterSetting'])!=null?_0x105d1e:be,[_0x34f1e0,_0x1400c8]=S[_0x47255f(0x87)](_0x4f2595['topLeft']),[_0x580385,_0x5237c7]=S['useState'](_0x4f2595['topCenter']),[_0x3d64e2,_0x3dfbaa]=S['useState'](_0x4f2595[_0x47255f(0xce)]),[_0x267ecc,_0x209121]=S[_0x47255f(0x87)](_0x4f2595[_0x47255f(0x94)]),[_0xdd14ac,_0x39a2d5]=S['useState'](_0x4f2595[_0x47255f(0x12a)]),[_0x533120,_0x46ae4c]=S[_0x47255f(0x87)](_0x4f2595[_0x47255f(0xef)]),_0x5777d4=y[_0x47255f(0xc7)](l[_0x47255f(0xec)]);return o['jsxs'](_0x47255f(0x167),{'className':_0x47255f(0xb4),'children':[o['jsxs'](_0x47255f(0x167),{'className':h[_0x47255f(0x129)](_0x47255f(0xf5),h[_0x47255f(0xf3)]),'children':[o[_0x47255f(0x2b3)]('div',{'className':_0x47255f(0x357),'children':_0x5777d4['t'](_0x47255f(0x1b3))}),o[_0x47255f(0x37c)](_0x47255f(0x167),{'className':_0x47255f(0x101),'children':[o[_0x47255f(0x2b3)](h[_0x47255f(0x23d)],{'className':_0x47255f(0x367),'onClick':()=>{_0x1cd646();},'children':_0x5777d4['t'](_0x47255f(0x110))}),o[_0x47255f(0x2b3)](h['Button'],{'variant':_0x47255f(0x35b),'onClick':()=>{_0x1cd646(),_0x3da87f['updateRenderConfig']({'headerFooterSetting':{'topLeft':_0x34f1e0,'topCenter':_0x580385,'topRight':_0x3d64e2,'bottomLeft':_0x267ecc,'bottomCenter':_0xdd14ac,'bottomRight':_0x533120}});},'children':_0x5777d4['t'](_0x47255f(0x2aa))})]})]}),o[_0x47255f(0x2b3)]('div',{'className':_0x47255f(0x85),'children':o[_0x47255f(0x2b3)](_0x47255f(0x167),{'className':_0x47255f(0x259),'children':o[_0x47255f(0x37c)](_0x47255f(0x167),{'className':'unier-w-[761px]\x20univer-mx-auto\x20univer-my-4\x20univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-bg-white\x20univer-px-6\x20univer-py-7\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','children':[o[_0x47255f(0x37c)](_0x47255f(0x167),{'className':_0x47255f(0x11c),'children':[o['jsx'](ee,{'value':_0x34f1e0,'onChange':_0x3d9377=>_0x1400c8(_0x3d9377)}),o['jsx'](ee,{'value':_0x580385,'onChange':_0x4906a0=>_0x5237c7(_0x4906a0)}),o['jsx'](ee,{'value':_0x3d64e2,'onChange':_0x51239c=>_0x3dfbaa(_0x51239c)})]}),o[_0x47255f(0x2b3)](_0x47255f(0x167),{'className':_0x47255f(0xf0),'children':o['jsx'](Bt,{})}),o[_0x47255f(0x37c)](_0x47255f(0x167),{'className':_0x47255f(0x11c),'children':[o['jsx'](ee,{'popupDirection':_0x47255f(0x9e),'value':_0x267ecc,'onChange':_0x439ed3=>_0x209121(_0x439ed3)}),o[_0x47255f(0x2b3)](ee,{'popupDirection':_0x47255f(0x9e),'value':_0xdd14ac,'onChange':_0x107a3e=>_0x39a2d5(_0x107a3e)}),o[_0x47255f(0x2b3)](ee,{'popupDirection':'bottom','value':_0x533120,'onChange':_0x4f22b1=>_0x46ae4c(_0x4f22b1)})]})]})})})]});};class me extends l['Disposable']{constructor(_0x259d3b,_0x5bacb9,_0x23a81d,_0x43f077=!0x0,_0x241eb5=0x1){const _0x59dbb8=_0x5aa627;super(),k(this,'_engine'),k(this,_0x59dbb8(0xf2)),k(this,'_key'),k(this,_0x59dbb8(0xd1)),k(this,_0x59dbb8(0x2f6)),k(this,_0x59dbb8(0x211)),k(this,_0x59dbb8(0x1ce)),k(this,_0x59dbb8(0x227)),k(this,_0x59dbb8(0x29a)),k(this,_0x59dbb8(0x32b),document[_0x59dbb8(0x8f)](_0x59dbb8(0x167))),k(this,_0x59dbb8(0x20c),document[_0x59dbb8(0x8f)](_0x59dbb8(0x167))),k(this,'_skeleton'),k(this,_0x59dbb8(0x15d)),k(this,_0x59dbb8(0x2a2),!0x0),k(this,_0x59dbb8(0x24a)),k(this,_0x59dbb8(0x207),new l[(_0x59dbb8(0x91))]()),k(this,_0x59dbb8(0x24e)),k(this,_0x59dbb8(0x20b),0x0),k(this,'_totalHeight',0x0),(this[_0x59dbb8(0x293)]=_0x259d3b,this[_0x59dbb8(0x2d7)]=_0x5bacb9,this[_0x59dbb8(0x36f)]=_0x23a81d,this['_isPreview']=_0x43f077,this[_0x59dbb8(0x28a)]=_0x241eb5);const {unitId:_0x413f92,subUnitId:_0xba205e}=this[_0x59dbb8(0x2d7)];this[_0x59dbb8(0xd1)]=_0x413f92,this[_0x59dbb8(0x2f6)]=_0xba205e,this[_0x59dbb8(0x134)]=_0x413f92+'_'+_0xba205e,this['_univerInstanceService']=this[_0x59dbb8(0x293)]['get'](l[_0x59dbb8(0xb0)]);const _0x37a160=this[_0x59dbb8(0x293)][_0x59dbb8(0x11d)](L[_0x59dbb8(0x192)]);this[_0x59dbb8(0x24a)]=_0x37a160['getRenderById'](_0x413f92);const _0x313971=this[_0x59dbb8(0x24a)]['with']($[_0x59dbb8(0x2fa)])['getOrCreateSkeleton']({'sheetId':_0xba205e});this[_0x59dbb8(0x2e7)]=_0x313971,this[_0x59dbb8(0x20c)]['className']=_0x59dbb8(0x14f),this[_0x59dbb8(0x137)]();}get[_0x5aa627(0x2f8)](){const _0x2f9749=_0x5aa627;return this[_0x2f9749(0x36f)][_0x2f9749(0x269)];}get[_0x5aa627(0x1e7)](){return this['_key'];}get[_0x5aa627(0x2ef)](){const _0x147745=_0x5aa627;return this[_0x147745(0x166)];}get[_0x5aa627(0x1b9)](){const _0x598d72=_0x5aa627;return this[_0x598d72(0x32b)];}get[_0x5aa627(0x133)](){const _0xfcf9a3=_0x5aa627;return this[_0xfcf9a3(0x20c)];}get[_0x5aa627(0x30e)](){const _0x60de72=_0x5aa627;return this[_0x60de72(0x36f)];}set[_0x5aa627(0x30e)](_0x737334){const _0x419a8f=_0x5aa627;this[_0x419a8f(0x36f)]=_0x737334;}[_0x5aa627(0x97)](){const _0x20fa38=_0x5aa627;var _0x373262;super[_0x20fa38(0x97)](),this['_effects'][_0x20fa38(0x97)](),(_0x373262=this[_0x20fa38(0x32b)]['parentElement'])==null||_0x373262[_0x20fa38(0x335)](this[_0x20fa38(0x32b)]);}get['paperSize'](){const _0x2d0f8a=_0x5aa627,{w:_0x42fa92,h:_0x3229c1}=this[_0x2d0f8a(0x2d7)]['pageSize'];return{'w':_0x42fa92*this[_0x2d0f8a(0x28a)],'h':_0x3229c1*this[_0x2d0f8a(0x28a)]};}get[_0x5aa627(0x2e2)](){const _0x2be369=_0x5aa627,_0x1c2f0f=this[_0x2be369(0x2d7)][_0x2be369(0x2e2)];return{'top':_0x1c2f0f[_0x2be369(0x18a)]*this[_0x2be369(0x28a)],'bottom':_0x1c2f0f[_0x2be369(0x9e)]*this[_0x2be369(0x28a)],'left':_0x1c2f0f[_0x2be369(0x329)]*this['_previewScale'],'right':_0x1c2f0f[_0x2be369(0x30d)]*this[_0x2be369(0x28a)]};}[_0x5aa627(0x137)](){const _0x1a41ca=_0x5aa627,_0x57a1ba=this[_0x1a41ca(0x31a)],_0x5dbe9f=this[_0x1a41ca(0x2d7)][_0x1a41ca(0x1c3)]*this[_0x1a41ca(0x28a)],_0x2e1ae0=this[_0x1a41ca(0xb1)]?Math[_0x1a41ca(0x297)](0x1,window[_0x1a41ca(0x2a8)]):0x1;this[_0x1a41ca(0x166)]=new L[(_0x1a41ca(0x27d))]('',{'elementWidth':_0x57a1ba['w'],'elementHeight':_0x57a1ba['h'],'dpr':_0x2e1ae0,'renderMode':L[_0x1a41ca(0x1a5)][_0x1a41ca(0x243)]}),this[_0x1a41ca(0xf2)]=new L[(_0x1a41ca(0x258))](this[_0x1a41ca(0x134)],this[_0x1a41ca(0x166)]),this[_0x1a41ca(0xf2)][_0x1a41ca(0x1c3)](_0x5dbe9f,_0x5dbe9f),this[_0x1a41ca(0x166)]['setContainer'](this['_container'],this[_0x1a41ca(0xb1)]),this[_0x1a41ca(0x166)][_0x1a41ca(0x20a)]()['getContext']()['setId'](this[_0x1a41ca(0x134)]+'_'+l[_0x1a41ca(0x311)](0x4)),this[_0x1a41ca(0x28d)](),this['_addViewport'](),this[_0x1a41ca(0x22f)]({'dispose':()=>{const _0x3eae8c=_0x1a41ca;this[_0x3eae8c(0x166)][_0x3eae8c(0x97)](),this[_0x3eae8c(0xf2)]['dispose'](),this[_0x3eae8c(0x12b)]();}});}['clearMemory'](){const _0x1f06a9=_0x5aa627;this[_0x1f06a9(0x2e7)][_0x1f06a9(0x263)]();}[_0x5aa627(0x256)](_0x5590eb){const _0x292d32=_0x5aa627;this[_0x292d32(0xf2)][_0x292d32(0x1c3)](this[_0x292d32(0x2d7)][_0x292d32(0x1c3)]*_0x5590eb,this[_0x292d32(0x2d7)][_0x292d32(0x1c3)]*_0x5590eb),this['_previewScale']=_0x5590eb,this[_0x292d32(0x37f)](!0x0);}[_0x5aa627(0x100)](_0x312f98){const _0x29c2b2=_0x5aa627;this['_config']=_0x312f98,this[_0x29c2b2(0x37f)](!0x0);}[_0x5aa627(0x37f)](_0x22c92f){this['_dirty']=_0x22c92f;}[_0x5aa627(0x28d)](){const _0x30ccc2=_0x5aa627,_0x1ec965=new L[(_0x30ccc2(0x12d))](_0x30ccc2(0x1ad),this['_skeleton'],!0x1);_0x1ec965[_0x30ccc2(0x24b)]=!0x0,this[_0x30ccc2(0xf2)][_0x30ccc2(0x1ca)](_0x1ec965),this[_0x30ccc2(0x24e)]=_0x1ec965;const _0x48e345=this['_accessor']['get']($[_0x30ccc2(0x21c)]);_0x48e345[_0x30ccc2(0x203)]['fetchThroughInterceptors'](_0x48e345['interceptor'][_0x30ccc2(0x30f)]()[_0x30ccc2(0x265)])(void 0x0,{'unitId':this[_0x30ccc2(0xd1)],'subUnitId':this['_subUnitId'],'scene':this[_0x30ccc2(0xf2)],'engine':this[_0x30ccc2(0x166)],'root':this['_root'],'worksheet':this[_0x30ccc2(0x2e7)][_0x30ccc2(0x1bc)],'skeleton':this[_0x30ccc2(0x2e7)],'offset':this['_getTranslateOffset'](),'spreadsheet':this[_0x30ccc2(0x24e)]});}[_0x5aa627(0x1f3)](){const _0x2f6d64=_0x5aa627;this[_0x2f6d64(0x211)]=new L[(_0x2f6d64(0x253))](L['SHEET_VIEWPORT_KEY']['VIEW_MAIN'],this[_0x2f6d64(0xf2)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x2f6d64(0x1ce)]=new L[(_0x2f6d64(0x253))](L[_0x2f6d64(0x10b)][_0x2f6d64(0x168)],this[_0x2f6d64(0xf2)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this['_viewTop']=new L[(_0x2f6d64(0x253))](L[_0x2f6d64(0x10b)][_0x2f6d64(0x1f0)],this[_0x2f6d64(0xf2)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0}),this[_0x2f6d64(0x29a)]=new L[(_0x2f6d64(0x253))](L[_0x2f6d64(0x10b)][_0x2f6d64(0x331)],this[_0x2f6d64(0xf2)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x5aa627(0x2f5)](){const _0x4b41d4=_0x5aa627,{freeze:_0x21f1f2,range:_0x589853}=this[_0x4b41d4(0x2d7)],{xSplit:_0x5b83a9,ySplit:_0x4248e7,startColumn:_0x2c7439,startRow:_0x11df95}=_0x21f1f2,{rowHeaderWidth:_0x564c4e,columnHeaderHeight:_0x33af09}=this[_0x4b41d4(0x2e7)];this[_0x4b41d4(0xf2)][_0x4b41d4(0x1c3)](this[_0x4b41d4(0x2d7)][_0x4b41d4(0x1c3)]*this['_previewScale'],this[_0x4b41d4(0x2d7)][_0x4b41d4(0x1c3)]*this[_0x4b41d4(0x28a)]);const _0x2fa384=this[_0x4b41d4(0x2e7)][_0x4b41d4(0x141)](_0x11df95-_0x4248e7,_0x2c7439-_0x5b83a9),_0x1bc193=this[_0x4b41d4(0x2e7)]['getNoMergeCellPositionByIndexWithNoHeader'](_0x11df95,_0x2c7439),_0xf73aea=_0x5b83a9>0x0?_0x1bc193[_0x4b41d4(0x1dc)]-_0x2fa384[_0x4b41d4(0x1dc)]:0x0,_0x2b357e=_0x4248e7>0x0?_0x1bc193[_0x4b41d4(0x2b7)]-_0x2fa384[_0x4b41d4(0x2b7)]:0x0,_0x4ac0ee={'startX':_0x5b83a9>0x0?_0x2fa384[_0x4b41d4(0x1dc)]:0x0,'endX':_0x5b83a9>0x0?_0x1bc193[_0x4b41d4(0x1dc)]:0x0,'startY':_0x4248e7>0x0?_0x2fa384[_0x4b41d4(0x2b7)]:0x0,'endY':_0x4248e7>0x0?_0x1bc193[_0x4b41d4(0x2b7)]:0x0},_0x157cea=this[_0x4b41d4(0x2e7)][_0x4b41d4(0x141)](_0x589853[_0x4b41d4(0x1cf)],_0x589853[_0x4b41d4(0x26b)]),_0x43e32b=this[_0x4b41d4(0xf2)][_0x4b41d4(0x320)](),_0x1c2326=_0x5bd3ff=>L[_0x4b41d4(0x355)](_0x5bd3ff,_0x43e32b[_0x4b41d4(0x244)]),_0x2a1708=_0x25e515=>L[_0x4b41d4(0x355)](_0x25e515,_0x43e32b[_0x4b41d4(0x36d)]),_0x387c8f=this['_skeleton'][_0x4b41d4(0x141)](_0x589853[_0x4b41d4(0x32a)],_0x589853[_0x4b41d4(0x24d)]),_0x8250b1=Math[_0x4b41d4(0x297)](0x0,_0x1c2326(_0x387c8f[_0x4b41d4(0x171)])-Math[_0x4b41d4(0x297)](_0x157cea[_0x4b41d4(0x1dc)],_0x4ac0ee[_0x4b41d4(0x171)])),_0x28b557=Math[_0x4b41d4(0x297)](0x0,_0x2a1708(_0x387c8f['endY'])-_0x2a1708(Math[_0x4b41d4(0x297)](_0x157cea['startY'],_0x4ac0ee[_0x4b41d4(0x2ce)]))),_0x4e44d4=0x1/Math['max'](_0x43e32b['scaleX'],_0x43e32b[_0x4b41d4(0x36d)]),_0xf0a73b=_0xf73aea+_0x8250b1+_0x4e44d4,_0x4ceee1=_0x2b357e+_0x28b557+_0x4e44d4;this[_0x4b41d4(0x20b)]=_0xf0a73b,this[_0x4b41d4(0x333)]=_0x4ceee1;const _0x31b77e={'x':_0xf73aea,'y':_0x2b357e},_0x33b92a=_0x4e44d4,_0x1e12e6=_0x4e44d4,_0x50c2b7={'x':_0x1c2326(_0x387c8f[_0x4b41d4(0x171)])-_0x1c2326(_0x8250b1)-_0x1c2326(Math[_0x4b41d4(0x297)](_0x157cea[_0x4b41d4(0x1dc)],_0x4ac0ee['endX'])),'y':_0x2a1708(_0x387c8f[_0x4b41d4(0x2ce)])-_0x2a1708(_0x28b557)-_0x2a1708(Math[_0x4b41d4(0x297)](_0x157cea[_0x4b41d4(0x2b7)],_0x4ac0ee[_0x4b41d4(0x2ce)]))};_0x5b83a9>0x0&&_0x4248e7>0x0?(this['_viewLeftTop'][_0x4b41d4(0x375)](),this[_0x4b41d4(0x29a)][_0x4b41d4(0x1da)]({'top':0x0,'left':0x0,'height':_0x2a1708(_0x31b77e['y']),'width':_0x1c2326(_0x31b77e['x'])}),this['_viewLeftTop']['updateScrollVal']({'viewportScrollX':_0x1c2326(_0x4ac0ee[_0x4b41d4(0x1dc)])+_0x1c2326(_0x564c4e),'viewportScrollY':_0x2a1708(_0x4ac0ee[_0x4b41d4(0x2b7)])+_0x2a1708(_0x33af09)})):this[_0x4b41d4(0x29a)][_0x4b41d4(0x2bc)](),_0x5b83a9>0x0?(this[_0x4b41d4(0x1ce)][_0x4b41d4(0x375)](),this[_0x4b41d4(0x1ce)][_0x4b41d4(0x1da)]({'top':_0x1c2326(_0x31b77e['y']),'left':0x0,'height':_0x2a1708(_0x28b557)+_0x33b92a+_0x50c2b7['y'],'width':_0x1c2326(_0x31b77e['x'])}),this['_viewLeft'][_0x4b41d4(0x29f)]({'viewportScrollX':_0x1c2326(_0x4ac0ee[_0x4b41d4(0x1dc)])+_0x1c2326(_0x564c4e),'viewportScrollY':_0x2a1708(_0x157cea[_0x4b41d4(0x2b7)])+_0x2a1708(_0x33af09)-_0x2a1708(_0x31b77e['y'])})):this[_0x4b41d4(0x1ce)]['disable'](),_0x4248e7>0x0?(this[_0x4b41d4(0x227)][_0x4b41d4(0x375)](),this[_0x4b41d4(0x227)][_0x4b41d4(0x1da)]({'top':0x0,'left':_0x1c2326(_0x31b77e['x']),'height':_0x2a1708(_0x31b77e['y']),'width':_0x1c2326(_0x8250b1)+_0x1e12e6+_0x50c2b7['x']}),this['_viewTop']['updateScrollVal']({'viewportScrollX':_0x1c2326(_0x157cea[_0x4b41d4(0x1dc)])+_0x1c2326(_0x564c4e)-_0x1c2326(_0x31b77e['x']),'viewportScrollY':_0x2a1708(_0x4ac0ee[_0x4b41d4(0x2b7)])+_0x2a1708(_0x33af09)})):this[_0x4b41d4(0x227)][_0x4b41d4(0x2bc)](),this[_0x4b41d4(0x211)][_0x4b41d4(0x1da)]({'top':_0x2a1708(_0x31b77e['y']),'left':_0x1c2326(_0x31b77e['x']),'height':_0x2a1708(_0x28b557)+_0x33b92a+_0x50c2b7['y'],'width':_0x1c2326(_0x8250b1)+_0x1e12e6+_0x50c2b7['x']}),this['_viewMain'][_0x4b41d4(0x29f)]({'viewportScrollX':_0x1c2326(_0x157cea['startX'])+_0x1c2326(_0x564c4e)-_0x1c2326(_0x31b77e['x']),'viewportScrollY':_0x2a1708(_0x157cea[_0x4b41d4(0x2b7)])+_0x2a1708(_0x33af09)-_0x2a1708(_0x31b77e['y'])});}[_0x5aa627(0xe6)](){const _0x1f72c3=_0x5aa627,_0x138039=this[_0x1f72c3(0x2e2)],{vAlign:_0x4480ab,hAlign:_0x43f3a3}=this[_0x1f72c3(0x36f)],_0xbdf1a9=Math[_0x1f72c3(0x297)](this['_scene'][_0x1f72c3(0x244)],this[_0x1f72c3(0xf2)][_0x1f72c3(0x36d)]);let _0x1395ac;switch(_0x43f3a3){case I['PrintAlign'][_0x1f72c3(0x232)]:_0x1395ac=_0x138039['left'];break;case I[_0x1f72c3(0x19c)]['End']:_0x1395ac=this[_0x1f72c3(0x31a)]['w']-this[_0x1f72c3(0x20b)]*_0xbdf1a9-_0x138039['right'];break;default:_0x1395ac=_0x138039[_0x1f72c3(0x329)]+(this[_0x1f72c3(0x31a)]['w']-this[_0x1f72c3(0x20b)]*_0xbdf1a9-_0x138039[_0x1f72c3(0x329)]-_0x138039[_0x1f72c3(0x30d)])/0x2;break;}let _0x137ead;switch(_0x4480ab){case I['PrintAlign'][_0x1f72c3(0x232)]:_0x137ead=_0x138039[_0x1f72c3(0x18a)];break;case I['PrintAlign'][_0x1f72c3(0xb9)]:_0x137ead=this['paperSize']['h']-this[_0x1f72c3(0x333)]*_0xbdf1a9-_0x138039[_0x1f72c3(0x9e)];break;default:_0x137ead=(this['paperSize']['h']-this[_0x1f72c3(0x333)]*_0xbdf1a9-_0x138039[_0x1f72c3(0x18a)]-_0x138039[_0x1f72c3(0x9e)])/0x2+_0x138039['top'];break;}return{'offsetX':Math[_0x1f72c3(0x363)](_0x1395ac),'offsetY':Math[_0x1f72c3(0x363)](_0x137ead),'scale':_0xbdf1a9};}[_0x5aa627(0x25a)](){const _0x2653cf=_0x5aa627;this[_0x2653cf(0x2f5)](),this['_effects']['dispose'](),this['_effects']=new l['DisposableCollection']();const _0x144e97=this[_0x2653cf(0x293)][_0x2653cf(0x11d)]($[_0x2653cf(0x21c)]),{offsetX:_0x11532d,offsetY:_0x626d63,scale:_0x2b3dd4}=this[_0x2653cf(0xe6)](),_0x4f47aa=_0x11532d,_0x5749f0=_0x626d63;this[_0x2653cf(0x20c)][_0x2653cf(0xca)][_0x2653cf(0x329)]=_0x4f47aa+'px',this['_root'][_0x2653cf(0xca)]['top']=_0x5749f0+'px';const _0x43fce0=this[_0x2653cf(0x20b)]*_0x2b3dd4,_0x38c9e0=this[_0x2653cf(0x333)]*_0x2b3dd4;this['_root'][_0x2653cf(0xca)]['width']=_0x43fce0+'px',this['_root'][_0x2653cf(0xca)][_0x2653cf(0x278)]=_0x38c9e0+'px',this[_0x2653cf(0x20c)][_0x2653cf(0xca)][_0x2653cf(0x252)]='absolute',this[_0x2653cf(0x20c)][_0x2653cf(0xca)][_0x2653cf(0x322)]=_0x2653cf(0x2e3),_0x144e97[_0x2653cf(0x203)][_0x2653cf(0x163)](_0x144e97[_0x2653cf(0x203)][_0x2653cf(0x30f)]()[_0x2653cf(0x1e9)])(this[_0x2653cf(0x207)],{'unitId':this[_0x2653cf(0xd1)],'subUnitId':this[_0x2653cf(0x2f6)],'scene':this[_0x2653cf(0xf2)],'engine':this[_0x2653cf(0x166)],'root':this[_0x2653cf(0x20c)],'worksheet':this[_0x2653cf(0x2e7)][_0x2653cf(0x1bc)],'skeleton':this['_skeleton'],'offset':this['_getTranslateOffset']()});}['_renderMainScene'](){const _0x2adec9=_0x5aa627;this[_0x2adec9(0x2a2)]&&this[_0x2adec9(0x25a)]();const _0x3686a3=this[_0x2adec9(0x166)][_0x2adec9(0x20a)]()[_0x2adec9(0xb8)](),{gridlines:_0x3c183d}=this[_0x2adec9(0x36f)],{offsetX:_0x1b56fb,offsetY:_0x4de23b}=this[_0x2adec9(0xe6)]();this['_spreadsheetObject'][_0x2adec9(0x1c4)](!_0x3c183d),this[_0x2adec9(0x24e)][_0x2adec9(0x18c)](),this['_scene'][_0x2adec9(0x17c)](),_0x3686a3[_0x2adec9(0x354)](),_0x3686a3[_0x2adec9(0x37d)](_0x1b56fb,_0x4de23b),this[_0x2adec9(0xf2)][_0x2adec9(0x324)](),_0x3686a3['restore']();}[_0x5aa627(0x366)](_0x5a221a,_0x567961,_0x486b85){const _0x3eb7fc=_0x5aa627,{w:_0x1a18cf,h:_0x1cf5df}=this[_0x3eb7fc(0x31a)],_0x578e35=this['_engine'][_0x3eb7fc(0x20a)]()[_0x3eb7fc(0xb8)]();_0x578e35['save'](),_0x578e35[_0x3eb7fc(0xd8)]=_0x3eb7fc(0x1c8)+L[_0x3eb7fc(0x182)];const _0x3b0f40=0x13*this[_0x3eb7fc(0x28a)],_0x15cf7d=0x14*this[_0x3eb7fc(0x28a)],_0x365534={'workbook':_0x567961,'worksheet':_0x486b85,'now':l[_0x3eb7fc(0x19a)](),'localeService':this['_accessor'][_0x3eb7fc(0x11d)](l[_0x3eb7fc(0xec)]),'page':this[_0x3eb7fc(0x2d7)][_0x3eb7fc(0x2ca)],'pageTotal':this[_0x3eb7fc(0x2d7)]['pageTotal'],'sheetPageTotal':this[_0x3eb7fc(0x2d7)][_0x3eb7fc(0x154)],'sheetPage':this[_0x3eb7fc(0x2d7)][_0x3eb7fc(0xad)]};if(_0x5a221a[_0x3eb7fc(0x2b4)]){const _0x171ebf=Q(_0x5a221a[_0x3eb7fc(0x2b4)],_0x365534);_0x578e35[_0x3eb7fc(0x19b)](_0x171ebf,_0x3b0f40,_0x15cf7d);}if(_0x5a221a[_0x3eb7fc(0x379)]){const _0x22da67=Q(_0x5a221a[_0x3eb7fc(0x379)],_0x365534),_0x1a278b=_0x578e35[_0x3eb7fc(0xd7)](_0x22da67);_0x578e35['fillText'](_0x22da67,(_0x1a18cf-_0x1a278b[_0x3eb7fc(0x2a0)])/0x2,_0x15cf7d);}if(_0x5a221a[_0x3eb7fc(0xce)]){const _0x20ebc0=Q(_0x5a221a[_0x3eb7fc(0xce)],_0x365534),_0x34f85a=_0x578e35['measureText'](_0x20ebc0);_0x578e35[_0x3eb7fc(0x19b)](_0x20ebc0,_0x1a18cf-_0x34f85a[_0x3eb7fc(0x2a0)]-_0x3b0f40,_0x15cf7d);}if(_0x5a221a[_0x3eb7fc(0x94)]){const _0x2a0d37=Q(_0x5a221a[_0x3eb7fc(0x94)],_0x365534);_0x578e35[_0x3eb7fc(0x19b)](_0x2a0d37,_0x3b0f40,_0x1cf5df-_0x15cf7d);}if(_0x5a221a[_0x3eb7fc(0x12a)]){const _0x3ffa49=Q(_0x5a221a['bottomCenter'],_0x365534),_0x2442b=_0x578e35[_0x3eb7fc(0xd7)](_0x3ffa49);_0x578e35[_0x3eb7fc(0x19b)](_0x3ffa49,(_0x1a18cf-_0x2442b[_0x3eb7fc(0x2a0)])/0x2,_0x1cf5df-_0x15cf7d);}if(_0x5a221a[_0x3eb7fc(0xef)]){const _0x280924=Q(_0x5a221a[_0x3eb7fc(0xef)],_0x365534),_0xcb5e7c=_0x578e35['measureText'](_0x280924);_0x578e35[_0x3eb7fc(0x19b)](_0x280924,_0x1a18cf-_0xcb5e7c['width']-_0x3b0f40,_0x1cf5df-_0x15cf7d);}_0x578e35[_0x3eb7fc(0x25c)]();}[_0x5aa627(0x10a)](){const _0x288f2b=_0x5aa627,_0x2555c3=this[_0x288f2b(0x15d)]['getUniverSheetInstance'](this[_0x288f2b(0x2d7)]['unitId']),_0x582743=_0x2555c3==null?void 0x0:_0x2555c3[_0x288f2b(0x103)](this[_0x288f2b(0x2d7)]['subUnitId']),{headerFooter:_0x19a3a1,isCustomHeaderFooter:_0x3f54d3,headerFooterSetting:_0x2feba1}=this['_renderConfig'],{w:_0x5036b8,h:_0x295312}=this[_0x288f2b(0x31a)],_0xc4be80=this['_engine'][_0x288f2b(0x20a)]()[_0x288f2b(0xb8)]();if(!_0x2555c3||!_0x582743)return;if(_0x3f54d3&&_0x2feba1){this['_renderHeaderFooterByCustom'](_0x2feba1,_0x2555c3,_0x582743);return;}_0xc4be80['save'](),_0xc4be80['font']=_0x288f2b(0x1c8)+L[_0x288f2b(0x182)];const _0x2fbc81=0x13*this[_0x288f2b(0x28a)],_0x3f72d5=0x14*this[_0x288f2b(0x28a)];if(_0x19a3a1[_0x288f2b(0x155)](U['Date'])||_0x19a3a1['includes'](U['Time'])){let _0x5e8f20=new Date()[_0x288f2b(0x2fb)]();_0x19a3a1['includes'](U[_0x288f2b(0x95)])?_0x19a3a1[_0x288f2b(0x155)](U[_0x288f2b(0x2f0)])||(_0x5e8f20=new Date()['toLocaleDateString']()):_0x5e8f20=new Date()['toLocaleTimeString'](),_0xc4be80[_0x288f2b(0x19b)](_0x5e8f20,_0x2fbc81,_0x295312-_0x3f72d5);}_0x19a3a1[_0x288f2b(0x2c4)](_0x5e3369=>{const _0x12864d=_0x288f2b;switch(_0x5e3369){case U[_0x12864d(0x17b)]:{const _0x19942b=_0x2555c3[_0x12864d(0x236)](),_0x29593b=_0xc4be80['measureText'](_0x19942b),_0x342e82=_0x29593b[_0x12864d(0x173)]+_0x29593b[_0x12864d(0x31b)];_0xc4be80[_0x12864d(0x19b)](_0x19942b,_0x2fbc81,_0x3f72d5+_0x342e82);break;}case U['WorksheetTitle']:{const _0x4bb4bc=_0x582743[_0x12864d(0x236)](),_0x5099b1=_0xc4be80[_0x12864d(0xd7)](_0x4bb4bc),_0x149091=_0x5099b1['fontBoundingBoxAscent']+_0x5099b1[_0x12864d(0x31b)];_0xc4be80[_0x12864d(0x19b)](_0x4bb4bc,_0x5036b8-(_0x5099b1[_0x12864d(0x2a0)]+_0x2fbc81),_0x3f72d5+_0x149091);break;}case U[_0x12864d(0x2d6)]:{const _0x4643f5=''+this[_0x12864d(0x2d7)]['page'],_0x2eff27=_0xc4be80[_0x12864d(0xd7)](_0x4643f5);_0xc4be80[_0x12864d(0x19b)](_0x4643f5,_0x5036b8-(_0x2eff27['width']+_0x2fbc81),_0x295312-_0x3f72d5);break;}}}),_0xc4be80['restore']();}[_0x5aa627(0x181)](){const _0x3da73f=_0x5aa627,_0x160233=this['_accessor'][_0x3da73f(0x11d)](l[_0x3da73f(0xec)]),_0x126dd8=this[_0x3da73f(0x166)][_0x3da73f(0x20a)]()[_0x3da73f(0xb8)]();_0x126dd8[_0x3da73f(0x354)]();const _0x4140ca=0x14*this[_0x3da73f(0x28a)];_0x126dd8[_0x3da73f(0x2f7)]=_0x3da73f(0x140),_0x126dd8[_0x3da73f(0xd8)]=_0x3da73f(0xfb)+L[_0x3da73f(0x182)];const _0x269159=_0x126dd8[_0x3da73f(0xd7)](_0x160233['t'](_0x3da73f(0x26e))),_0x3ea45f=(this[_0x3da73f(0x31a)]['w']-_0x269159[_0x3da73f(0x2a0)])/0x2,_0xfbeb0e=_0x269159[_0x3da73f(0x173)]+_0x269159[_0x3da73f(0x31b)];_0x126dd8['fillText'](_0x160233['t'](_0x3da73f(0x26e)),_0x3ea45f,_0x4140ca+_0xfbeb0e),_0x126dd8[_0x3da73f(0x19b)](_0x160233['t']('print.limit.waterMark'),_0x3ea45f,this[_0x3da73f(0x31a)]['h']-_0x4140ca),_0x126dd8['restore']();}[_0x5aa627(0x324)](){const _0x3907c9=_0x5aa627;this['_engine'][_0x3907c9(0xcc)](),this[_0x3907c9(0x361)](),this[_0x3907c9(0x10a)](),this[_0x3907c9(0x2f8)]&&L[_0x3907c9(0x2e9)](this['_engine'][_0x3907c9(0x20a)]()[_0x3907c9(0xb8)](),this['_watermarkConfig'],this[_0x3907c9(0x2f8)][_0x3907c9(0x359)],this[_0x3907c9(0x293)][_0x3907c9(0x11d)](l[_0x3907c9(0x223)])[_0x3907c9(0x349)]());}['renderOnReady'](){const _0x25a318=_0x5aa627,_0xe83260=this['engine']['onTransformChange$'][_0x25a318(0x1de)](()=>{const _0x594996=_0x25a318;this[_0x594996(0x324)]();});this[_0x25a318(0x22f)](_0xe83260);}[_0x5aa627(0x32d)](){const _0x1baf74=_0x5aa627;return this[_0x1baf74(0x166)][_0x1baf74(0x20a)]()[_0x1baf74(0x301)]('image/png',0x1);}}const Ge=0x31a,fe=(_0x2bd800,_0x192b2d)=>{const _0xa1c001=_0x5aa627,_0x3d8c84=S['useRef'](!0x1);S[_0xa1c001(0x330)](()=>{const _0x32047a=_0xa1c001;if(_0x3d8c84['current'])return _0x2bd800();_0x3d8c84[_0x32047a(0x1d5)]=!0x0;},_0x192b2d);},Ot=S[_0x5aa627(0x185)]((_0xab879c,_0x51d9bd)=>{const _0x258b1d=_0x5aa627,{config:_0x14fb7f,previewScale:_0x1d75e3}=_0xab879c,_0x14589f=y[_0x258b1d(0xc7)](V),_0x39d1c4=y[_0x258b1d(0xc7)](l['Injector']),_0x8b484d=S[_0x258b1d(0x1c0)](null),_0x431ad8=_0x14589f[_0x258b1d(0x31a)],_0x142bd1=y[_0x258b1d(0xd0)](_0x14589f[_0x258b1d(0x183)],_0x14589f['renderConfig']),_0x2eb9c7=y[_0x258b1d(0xd0)](_0x14589f[_0x258b1d(0x343)],_0x14589f[_0x258b1d(0xbb)]),_0xd5f4ca=Math[_0x258b1d(0x363)](_0x1d75e3*(Ge/_0x431ad8['w'])*0xa)/0xa,[_0x4f73df]=S['useState'](()=>new me(_0x39d1c4,_0x14fb7f,_0x142bd1,!0x0,_0xd5f4ca));return S[_0x258b1d(0x330)](()=>(_0x8b484d['current']&&(_0x4f73df[_0x258b1d(0x1b9)][_0x258b1d(0xca)]['width']=_0x258b1d(0x1c1),_0x4f73df[_0x258b1d(0x1b9)][_0x258b1d(0xca)]['height']='100%',_0x4f73df[_0x258b1d(0x1b9)][_0x258b1d(0xca)][_0x258b1d(0x252)]='relative',_0x8b484d[_0x258b1d(0x1d5)][_0x258b1d(0x13e)](_0x4f73df[_0x258b1d(0x1b9)]),_0x4f73df[_0x258b1d(0x1b9)]['appendChild'](_0x4f73df[_0x258b1d(0x133)])),_0x4f73df[_0x258b1d(0x324)](),_0x4f73df[_0x258b1d(0x2d3)](),()=>{const _0x3bb088=_0x258b1d;var _0x50cb9b;_0x4f73df[_0x3bb088(0x97)](),(_0x50cb9b=_0x8b484d[_0x3bb088(0x1d5)])==null||_0x50cb9b[_0x3bb088(0x335)](_0x4f73df[_0x3bb088(0x1b9)]);}),[_0x4f73df]),fe(()=>{const _0x39f545=_0x258b1d;_0x4f73df[_0x39f545(0x30e)]=_0x142bd1,_0x4f73df[_0x39f545(0x324)]();},[_0x142bd1]),fe(()=>{const _0x3013db=_0x258b1d;_0x4f73df[_0x3013db(0x256)](_0xd5f4ca),_0x4f73df[_0x3013db(0x2ef)][_0x3013db(0x22e)](),_0x4f73df[_0x3013db(0x324)]();},[_0xd5f4ca]),fe(()=>{const _0x5d4f00=_0x258b1d;_0x4f73df[_0x5d4f00(0x100)](_0x14fb7f),_0x4f73df[_0x5d4f00(0x324)]();},[_0x14fb7f[_0x258b1d(0x1d6)][_0x258b1d(0x1cf)],_0x14fb7f['freeze'][_0x258b1d(0x26b)],_0x14fb7f[_0x258b1d(0x1d6)]['xSplit'],_0x14fb7f[_0x258b1d(0x1d6)]['ySplit'],_0x14fb7f['range'][_0x258b1d(0x1cf)],_0x14fb7f[_0x258b1d(0x1e8)][_0x258b1d(0x32a)],_0x14fb7f[_0x258b1d(0x1e8)][_0x258b1d(0x26b)],_0x14fb7f[_0x258b1d(0x1e8)]['endColumn'],_0x14fb7f['scale'],_0x2eb9c7[_0x258b1d(0x2e2)]]),o[_0x258b1d(0x2b3)](_0x258b1d(0x167),{'ref':_0x51d9bd,'children':o[_0x258b1d(0x2b3)]('div',{'ref':_0x8b484d,'className':'univer-relative\x20univer-mx-auto\x20univer-mt-7\x20univer-flex-none\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','style':{'width':_0x431ad8['w']*_0xd5f4ca,'height':_0x431ad8['h']*_0xd5f4ca}})});}),Ft=S[_0x5aa627(0xa6)](({onShowFooterHeaderEditor:_0x4b7fdf})=>{const _0x102067=_0x5aa627;var _0x42b1f7,_0x5657d0,_0x5f5bf7,_0x1d67cb,_0x2ba1bc,_0x186ac8;const _0x2f68bb=y[_0x102067(0xc7)](V),_0x5c3d5e=y[_0x102067(0xd0)](_0x2f68bb[_0x102067(0x343)],_0x2f68bb[_0x102067(0xbb)]),_0x435ad5=y[_0x102067(0xd0)](_0x2f68bb[_0x102067(0x183)],_0x2f68bb[_0x102067(0x30e)]),_0x4ab80c=y[_0x102067(0xc7)](l[_0x102067(0xec)]),_0x198aeb=y[_0x102067(0xc7)](l['IUniverInstanceService']),_0x378c98=y[_0x102067(0xc7)](l[_0x102067(0x1f6)]),[_0x13c62d,_0x111dd0]=S[_0x102067(0x87)](null),_0x41b32f=(_0x5657d0=(_0x42b1f7=y['useDependency'](l[_0x102067(0x14a)])[_0x102067(0x33b)]($e))==null?void 0x0:_0x42b1f7[_0x102067(0x341)])!=null?_0x5657d0:!0x1;S[_0x102067(0x330)](()=>{const _0x110a54=_0x102067;_0x378c98[_0x110a54(0x2ff)](L[_0x110a54(0x246)])[_0x110a54(0x233)](_0x4fe75d=>{const _0xf8c81c=_0x110a54;let _0x353ec7,_0x349930;(_0x4fe75d==null?void 0x0:_0x4fe75d['type'])===L['IWatermarkTypeEnum'][_0xf8c81c(0x2b6)]&&_0x4fe75d[_0xf8c81c(0xa4)]['image']&&(_0x353ec7=new Image(),_0x353ec7[_0xf8c81c(0x14e)]=_0x4fe75d[_0xf8c81c(0xa4)]['image']['url']),(_0x4fe75d==null?void 0x0:_0x4fe75d['type'])===L[_0xf8c81c(0x1c9)][_0xf8c81c(0x189)]&&(_0x4fe75d!=null&&_0x4fe75d[_0xf8c81c(0xa4)][_0xf8c81c(0x107)])&&(_0x349930=_0x4fe75d[_0xf8c81c(0xa4)][_0xf8c81c(0x107)]);const _0x552791=_0x4fe75d?{..._0x4fe75d,'user':_0x349930,'image':_0x353ec7}:null;_0x111dd0(_0x552791),_0x41b32f&&(_0x435ad5['watermark']=_0x552791);});},[]);const _0x333463=_0x198aeb[_0x102067(0x2fe)](l[_0x102067(0x1d0)][_0x102067(0x1a2)]),_0x43f9f7=_0x333463[_0x102067(0x255)]()['filter'](_0x30dc15=>!_0x30dc15[_0x102067(0xe2)]()),_0x4db105=_0x333463[_0x102067(0xa0)]();if(!_0x4db105)return console['error'](_0x102067(0x217)),null;const _0x507896=(_0x17b216,_0x20f71e)=>{const _0x228115=_0x102067,_0x347c33=Math[_0x228115(0x297)](0x0,_0x20f71e||0x0),_0x1ce645=_0x5c3d5e[_0x228115(0x2ad)]||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x2f68bb[_0x228115(0x234)]({'marginCustom':{..._0x1ce645,[_0x17b216]:_0x347c33}});},_0x16f020=_0x4db105[_0x102067(0x2b8)](),_0x41e352=_0x5c3d5e[_0x102067(0x16c)]!==F[_0x102067(0xb2)]&&_0x16f020[_0x102067(0x2dc)]<=0x0,_0xd4720d=_0x5c3d5e[_0x102067(0x16c)]!==F['workbook']&&_0x16f020[_0x102067(0xd9)]<=0x0;return o['jsx'](_0x102067(0x167),{'className':h['clsx'](_0x102067(0x282),h[_0x102067(0xf9)]),'children':o['jsxs'](_0x102067(0x167),{'className':_0x102067(0x34a),'children':[o['jsx'](h[_0x102067(0x16a)],{'label':_0x4ab80c['t'](_0x102067(0x291)),'children':o[_0x102067(0x2b3)](h[_0x102067(0x199)],{'className':_0x102067(0x27b),'value':''+_0x5c3d5e[_0x102067(0x16c)],'onChange':_0xf50de4=>{const _0x268f28=_0x102067;_0xf50de4===F[_0x268f28(0xb2)]?_0x2f68bb['updateLayoutConfig']({'area':_0xf50de4,'subUnitIds':_0x43f9f7[_0x268f28(0x138)](_0x477f19=>_0x477f19[_0x268f28(0x25b)]())}):_0x2f68bb[_0x268f28(0x234)]({'area':_0xf50de4});},'options':[{'label':_0x4ab80c['t'](_0x102067(0x1b1)),'value':F[_0x102067(0xc5)]},{'label':_0x4ab80c['t'](_0x102067(0x277)),'value':F[_0x102067(0xb2)]},{'label':_0x4ab80c['t'](_0x102067(0x264)),'value':F['CurrentSelection']},{'label':_0x4ab80c['t'](_0x102067(0x152)),'value':F['AllSelection']}]})}),_0x5c3d5e['area']===F[_0x102067(0xb2)]?o['jsx'](h[_0x102067(0x16a)],{'label':_0x4ab80c['t'](_0x102067(0x1ec)),'children':o['jsx'](h[_0x102067(0x286)],{'overlay':o[_0x102067(0x2b3)](_0x102067(0x167),{'className':h[_0x102067(0x129)](_0x102067(0xf6),h[_0x102067(0xf9)]),'children':o[_0x102067(0x2b3)](h[_0x102067(0x1b2)],{'direction':_0x102067(0x1fe),'className':_0x102067(0xc3),'value':_0x5c3d5e[_0x102067(0x315)][_0x102067(0x138)](_0x473dbe=>typeof _0x473dbe==_0x102067(0x150)?_0x473dbe:_0x473dbe['id']),'onChange':_0x62dc0f=>{const _0x4be6d4=_0x102067,_0x46fc4a=new Set(_0x62dc0f);if(_0x46fc4a[_0x4be6d4(0x310)]===0x0)_0x2f68bb[_0x4be6d4(0x234)]({'subUnitIds':_0x43f9f7[_0x4be6d4(0x138)](_0x23633f=>_0x23633f[_0x4be6d4(0x25b)]())});else{const _0x1346a4=[];_0x43f9f7['forEach'](_0x47b1a9=>{const _0x2ebfd1=_0x4be6d4,_0x2a5805=_0x47b1a9[_0x2ebfd1(0x25b)]();_0x46fc4a['has'](_0x2a5805)&&_0x1346a4[_0x2ebfd1(0x2bd)](_0x2a5805);}),_0x2f68bb[_0x4be6d4(0x234)]({'subUnitIds':_0x1346a4});}},'children':_0x43f9f7[_0x102067(0x138)](_0x1d7ae0=>o[_0x102067(0x2b3)](h['Checkbox'],{'value':_0x1d7ae0[_0x102067(0x25b)](),'children':_0x1d7ae0['getName']()},_0x1d7ae0[_0x102067(0x25b)]()))})}),'children':o[_0x102067(0x37c)](_0x102067(0x167),{'className':h[_0x102067(0x129)](_0x102067(0x9f),h[_0x102067(0x1fb)]),'children':[o[_0x102067(0x2b3)]('span',{'className':_0x102067(0x11b),'children':_0x5c3d5e[_0x102067(0x315)][_0x102067(0x1ba)]===_0x43f9f7['length']||_0x5c3d5e['subUnitIds']['length']===0x0?_0x4ab80c['t'](_0x102067(0x353)):''+_0x5c3d5e[_0x102067(0x315)][_0x102067(0x1ba)]+_0x4ab80c['t'](_0x102067(0x165))}),o[_0x102067(0x2b3)](xe,{})]})})}):null,o[_0x102067(0x2b3)](h[_0x102067(0x16a)],{'label':_0x4ab80c['t']('print.size.title'),'children':o[_0x102067(0x2b3)](h[_0x102067(0x199)],{'className':'univer-w-full','value':_0x5c3d5e[_0x102067(0x31a)],'options':[{'label':_0x4ab80c['t']('print.size.letter'),'value':l[_0x102067(0x346)][_0x102067(0x120)]},{'label':_0x4ab80c['t']('print.size.tabloid'),'value':l['PaperType']['Tabloid']},{'label':_0x4ab80c['t']('print.size.legal'),'value':l[_0x102067(0x346)]['Legal']},{'label':_0x4ab80c['t']('print.size.statement'),'value':l['PaperType'][_0x102067(0x35d)]},{'label':_0x4ab80c['t'](_0x102067(0x1f5)),'value':l[_0x102067(0x346)]['Executive']},{'label':_0x4ab80c['t'](_0x102067(0x2a9)),'value':l[_0x102067(0x346)][_0x102067(0x29d)]},{'label':_0x4ab80c['t'](_0x102067(0x36a)),'value':l[_0x102067(0x346)]['A3']},{'label':_0x4ab80c['t']('print.size.a4'),'value':l['PaperType']['A4']},{'label':_0x4ab80c['t'](_0x102067(0x118)),'value':l['PaperType']['A5']},{'label':_0x4ab80c['t'](_0x102067(0x2c5)),'value':l['PaperType']['B4']},{'label':_0x4ab80c['t'](_0x102067(0x17f)),'value':l['PaperType']['B5']}],'onChange':_0x5439ef=>{const _0xf10125=_0x102067;_0x2f68bb[_0xf10125(0x234)]({'paperSize':_0x5439ef});}})}),o['jsx'](h[_0x102067(0x16a)],{'label':_0x4ab80c['t'](_0x102067(0x348)),'children':o[_0x102067(0x2b3)](h[_0x102067(0x199)],{'className':'univer-w-full','value':_0x5c3d5e[_0x102067(0x2e2)],'options':[{'label':_0x4ab80c['t'](_0x102067(0x288)),'value':I[_0x102067(0x274)][_0x102067(0x1a7)]},{'label':_0x4ab80c['t'](_0x102067(0x205)),'value':I[_0x102067(0x274)][_0x102067(0x2be)]},{'label':_0x4ab80c['t'](_0x102067(0x218)),'value':I['PrintPaperMargin'][_0x102067(0x240)]},{'label':_0x4ab80c['t'](_0x102067(0x2c9)),'value':I[_0x102067(0x274)][_0x102067(0x1ea)]}],'onChange':_0x392fd7=>{const _0x4c1005=_0x102067,_0x146d06=I[_0x4c1005(0x267)][_0x5c3d5e[_0x4c1005(0x2e2)]];_0x2f68bb[_0x4c1005(0x234)]({'margin':_0x392fd7,'marginCustom':_0x392fd7===I[_0x4c1005(0x274)]['Custom']?_0x146d06:I[_0x4c1005(0x267)][_0x392fd7]});}})}),_0x5c3d5e[_0x102067(0x2e2)]===I['PrintPaperMargin'][_0x102067(0x1ea)]&&o[_0x102067(0x2b3)](h[_0x102067(0x16a)],{'children':o['jsxs'](_0x102067(0x167),{'className':_0x102067(0x2f4),'children':[o[_0x102067(0x37c)]('div',{'children':[o['jsx'](_0x102067(0x213),{'className':_0x102067(0x2c2),'children':_0x4ab80c['t'](_0x102067(0x114))}),o[_0x102067(0x2b3)](h[_0x102067(0x162)],{'type':_0x102067(0xaf),'value':String(((_0x5f5bf7=_0x5c3d5e['marginCustom'])==null?void 0x0:_0x5f5bf7[_0x102067(0x18a)])||0x0),'onChange':_0x5d1d1f=>_0x507896(_0x102067(0x18a),Number(_0x5d1d1f))})]}),o[_0x102067(0x37c)](_0x102067(0x167),{'children':[o[_0x102067(0x2b3)](_0x102067(0x213),{'className':_0x102067(0x2c2),'children':_0x4ab80c['t']('print.margin.bottom')}),o[_0x102067(0x2b3)](h[_0x102067(0x162)],{'type':_0x102067(0xaf),'value':String(((_0x1d67cb=_0x5c3d5e['marginCustom'])==null?void 0x0:_0x1d67cb[_0x102067(0x9e)])||0x0),'onChange':_0x4ce369=>_0x507896('bottom',Number(_0x4ce369))})]}),o[_0x102067(0x37c)]('div',{'children':[o[_0x102067(0x2b3)](_0x102067(0x213),{'className':_0x102067(0x2c2),'children':_0x4ab80c['t'](_0x102067(0x23b))}),o[_0x102067(0x2b3)](h[_0x102067(0x162)],{'type':_0x102067(0xaf),'value':String(((_0x2ba1bc=_0x5c3d5e['marginCustom'])==null?void 0x0:_0x2ba1bc[_0x102067(0x329)])||0x0),'onChange':_0x4d799a=>_0x507896(_0x102067(0x329),Number(_0x4d799a))})]}),o['jsxs']('div',{'children':[o[_0x102067(0x2b3)](_0x102067(0x213),{'className':_0x102067(0x2c2),'children':_0x4ab80c['t'](_0x102067(0xde))}),o['jsx'](h['Input'],{'type':'number','value':String(((_0x186ac8=_0x5c3d5e[_0x102067(0x2ad)])==null?void 0x0:_0x186ac8[_0x102067(0x30d)])||0x0),'onChange':_0xd7b6ed=>_0x507896(_0x102067(0x30d),Number(_0xd7b6ed))})]})]})}),o['jsx'](h[_0x102067(0x16a)],{'label':_0x4ab80c['t'](_0x102067(0x26a)),'children':o[_0x102067(0x37c)](h[_0x102067(0x33f)],{'value':_0x5c3d5e[_0x102067(0x29b)],'onChange':_0x4f556b=>{const _0xbc60f7=_0x102067;_0x2f68bb[_0xbc60f7(0x234)]({'direction':_0x4f556b});},'children':[o['jsx'](h[_0x102067(0xa2)],{'value':I[_0x102067(0x18d)][_0x102067(0x106)],'children':_0x4ab80c['t'](_0x102067(0x31d))}),o['jsx'](h[_0x102067(0xa2)],{'value':I[_0x102067(0x18d)][_0x102067(0x195)],'children':_0x4ab80c['t'](_0x102067(0x1d8))})]})}),o[_0x102067(0x2b3)](h['FormLayout'],{'label':_0x4ab80c['t']('print.scale.title'),'children':o[_0x102067(0x2b3)](h['Select'],{'className':_0x102067(0x27b),'value':_0x5c3d5e[_0x102067(0x1c3)],'options':[{'label':_0x4ab80c['t'](_0x102067(0xfe)),'value':I['PrintScale'][_0x102067(0x2ee)]},{'label':_0x4ab80c['t'](_0x102067(0x34e)),'value':I['PrintScale'][_0x102067(0x337)]},{'label':_0x4ab80c['t'](_0x102067(0x16b)),'value':I[_0x102067(0x22c)][_0x102067(0x247)]},{'label':_0x4ab80c['t']('print.scale.fitPage'),'value':I[_0x102067(0x22c)][_0x102067(0xc0)]}],'onChange':_0x3f7603=>{const _0x1fee0c=_0x102067;_0x2f68bb[_0x1fee0c(0x234)]({'scale':_0x3f7603});}})}),o[_0x102067(0x37c)](h[_0x102067(0x16a)],{'label':_0x4ab80c['t'](_0x102067(0x2e5)),'children':[o[_0x102067(0x2b3)](h[_0x102067(0xd4)],{'checked':_0x435ad5[_0x102067(0x2d8)],'onChange':_0x5115a3=>{const _0x593e07=_0x102067;_0x2f68bb[_0x593e07(0x113)]({'gridlines':_0x5115a3});},'children':_0x4ab80c['t']('print.formatting.skeleton')}),_0x13c62d&&!_0x41b32f?o[_0x102067(0x2b3)](_0x102067(0x167),{'className':_0x102067(0x37a),'children':o['jsx'](h['Checkbox'],{'checked':!!_0x435ad5['watermark'],'onChange':async _0x3e6623=>{const _0x327188=_0x102067;_0x3e6623?_0x2f68bb['updateRenderConfig']({'watermark':_0x13c62d}):_0x2f68bb[_0x327188(0x113)]({'watermark':void 0x0});},'children':_0x4ab80c['t']('print.formatting.waterMark')})}):null]}),o[_0x102067(0x2b3)](h[_0x102067(0x16a)],{'label':_0x4ab80c['t']('print.align.title'),'children':o[_0x102067(0x37c)](_0x102067(0x167),{'className':_0x102067(0x378),'children':[o[_0x102067(0x2b3)](h[_0x102067(0x199)],{'className':_0x102067(0x2ec),'value':_0x435ad5[_0x102067(0x22d)],'options':[{'label':_0x4ab80c['t'](_0x102067(0x1f2)),'value':I[_0x102067(0x19c)]['Middle']},{'label':_0x4ab80c['t'](_0x102067(0x2f2)),'value':I['PrintAlign'][_0x102067(0x232)]},{'label':_0x4ab80c['t']('print.align.horizontal.end'),'value':I[_0x102067(0x19c)][_0x102067(0xb9)]}],'onChange':_0x396f6b=>{const _0x30cc57=_0x102067;_0x2f68bb[_0x30cc57(0x113)]({'hAlign':_0x396f6b});}}),o[_0x102067(0x2b3)](h['Select'],{'className':_0x102067(0x2ec),'value':_0x435ad5[_0x102067(0x177)],'options':[{'label':_0x4ab80c['t']('print.align.vertical.start'),'value':I[_0x102067(0x19c)][_0x102067(0x232)]},{'label':_0x4ab80c['t'](_0x102067(0xb7)),'value':I[_0x102067(0x19c)]['End']},{'label':_0x4ab80c['t'](_0x102067(0x33c)),'value':I[_0x102067(0x19c)][_0x102067(0x226)]}],'onChange':_0x1bb049=>{_0x2f68bb['updateRenderConfig']({'vAlign':_0x1bb049});}})]})}),o[_0x102067(0x37c)](h[_0x102067(0x16a)],{'collapsable':!0x0,'label':_0x4ab80c['t'](_0x102067(0x1f4)),'children':[o['jsxs'](h[_0x102067(0x1b2)],{'direction':_0x102067(0x1fe),'disabled':_0x435ad5[_0x102067(0x381)],'value':_0x435ad5[_0x102067(0x170)],'onChange':_0x2c5ded=>{const _0x4a8ec2=_0x102067;_0x2f68bb[_0x4a8ec2(0x113)]({'headerFooter':_0x2c5ded});},'children':[o[_0x102067(0x2b3)](h[_0x102067(0xd4)],{'value':U[_0x102067(0x2d6)],'children':_0x4ab80c['t'](_0x102067(0x11a))}),o[_0x102067(0x2b3)](h[_0x102067(0xd4)],{'value':U[_0x102067(0x17b)],'children':_0x4ab80c['t'](_0x102067(0x26f))}),o[_0x102067(0x2b3)](h['Checkbox'],{'value':U[_0x102067(0x84)],'children':_0x4ab80c['t'](_0x102067(0x27c))}),o['jsx'](h[_0x102067(0xd4)],{'value':U[_0x102067(0x95)],'children':_0x4ab80c['t']('print.headerFooter.date')}),o[_0x102067(0x2b3)](h[_0x102067(0xd4)],{'value':U[_0x102067(0x2f0)],'children':_0x4ab80c['t'](_0x102067(0x119))})]}),o[_0x102067(0x2b3)](h['FormLayout'],{'className':_0x102067(0x37a),'label':o[_0x102067(0x2b3)](h[_0x102067(0xd4)],{'checked':_0x435ad5['isCustomHeaderFooter'],'onChange':()=>{const _0x103749=_0x102067;_0x2f68bb[_0x103749(0x113)]({'isCustomHeaderFooter':!_0x435ad5[_0x103749(0x381)]});},'children':_0x4ab80c['t'](_0x102067(0x1b5))}),'children':_0x435ad5[_0x102067(0x381)]?o[_0x102067(0x2b3)](h['Button'],{'className':_0x102067(0xa1),'size':'small','variant':_0x102067(0xb3),'onClick':()=>{_0x4b7fdf();},'children':_0x4ab80c['t']('print.headerFooter.editCustomHeadFooter')}):null})]}),o['jsx'](h[_0x102067(0x16a)],{'collapsable':!0x0,'label':_0x4ab80c['t']('print.freeze.title'),'children':o['jsxs'](h[_0x102067(0x1b2)],{'direction':_0x102067(0x1fe),'value':_0x5c3d5e['freeze'],'onChange':_0x22fcac=>{_0x2f68bb['updateLayoutConfig']({'freeze':_0x22fcac});},'children':[o[_0x102067(0x2b3)](h['Checkbox'],{'disabled':_0xd4720d,'value':G[_0x102067(0x188)],'children':_0x4ab80c['t'](_0x102067(0x112))}),o[_0x102067(0x2b3)](h[_0x102067(0xd4)],{'disabled':_0x41e352,'value':G[_0x102067(0xa8)],'children':_0x4ab80c['t'](_0x102067(0x13b))})]})}),o[_0x102067(0x37c)](h[_0x102067(0x16a)],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0x4ab80c['t'](_0x102067(0x249)),'children':[o[_0x102067(0x2b3)](h[_0x102067(0x16a)],{'className':'univer-mb-2','label':_0x4ab80c['t'](_0x102067(0x2c3)),'children':o[_0x102067(0x2b3)](h[_0x102067(0x162)],{'value':_0x5c3d5e[_0x102067(0x135)]===0x1/0x0?'':''+_0x5c3d5e['maxRowsEachPage'],'onChange':_0x5e68fc=>{const _0x2a8158=_0x102067;_0x2f68bb[_0x2a8158(0x234)]({'maxRowsEachPage':!_0x5e68fc||Number[_0x2a8158(0x29c)](Number(_0x5e68fc))?0x1/0x0:Number(_0x5e68fc)});}})}),o[_0x102067(0x2b3)](h[_0x102067(0x16a)],{'label':_0x4ab80c['t'](_0x102067(0x26c)),'children':o[_0x102067(0x2b3)](h['Input'],{'value':_0x5c3d5e[_0x102067(0x17e)]===0x1/0x0?'':''+_0x5c3d5e[_0x102067(0x17e)],'onChange':_0x174276=>{const _0x2a0aeb=_0x102067;_0x2f68bb[_0x2a0aeb(0x234)]({'maxColumnsEachPage':!_0x174276||Number[_0x2a0aeb(0x29c)](Number(_0x174276))?0x1/0x0:Number(_0x174276)});}})})]})]})});}),Te=0.1,zt=0.5,At=0x2,Ut=()=>{const _0xde5c13=_0x5aa627;var _0x38ab24;const [_0x2d01d1,_0x1d2fae]=S[_0xde5c13(0x87)](!0x1),_0x5b0e73=y[_0xde5c13(0xc7)](V),_0x4fa1f2=y[_0xde5c13(0xc7)](l['ICommandService']),_0x326d8a=y['useObservable'](_0x5b0e73[_0xde5c13(0x1a6)],[]),[_0x35a071,_0x30d1ba]=S[_0xde5c13(0x87)](0x1),[_0x21230b,_0xce1b95]=S[_0xde5c13(0x87)](!0x1),_0x3e9c6e=S[_0xde5c13(0x1c0)](0x0),_0x445ff9=y[_0xde5c13(0xc7)](l['IUniverInstanceService']),_0x1c63e6=y[_0xde5c13(0xc7)](l[_0xde5c13(0xec)]),_0x9e5662=y[_0xde5c13(0xc7)](l[_0xde5c13(0x126)]),_0x31d114=(_0x38ab24=y['useDependency'](l[_0xde5c13(0x14a)])[_0xde5c13(0x33b)](H[_0xde5c13(0x130)]))!=null?_0x38ab24:{},{ls:_0x4c90db,pbk:_0x400c0a}=_0x31d114,{limit:_0x19d5c4,isPro:_0x3a1d42}=S[_0xde5c13(0x15f)](()=>{const {page:_0x23bf63,isPro:_0x1329d6}=_e(Ee,_0x4c90db,_0x400c0a);return{'limit':_0x23bf63,'isPro':_0x1329d6};},[_0x4c90db,_0x400c0a]),_0x165759=S['useRef'](void 0x0),_0x7c530=y[_0xde5c13(0xc7)](y[_0xde5c13(0x229)]),_0x2fef0e=kt(import('@univerjs-pro/collaboration-client')[_0xde5c13(0x233)](_0x23f2ff=>_0x23f2ff[_0xde5c13(0x239)],()=>{}));S[_0xde5c13(0x330)](()=>{const _0x293da6=_0xde5c13;var _0xdae180;if(!_0x2fef0e)return;const _0x1db81e=_0x445ff9[_0x293da6(0x2fe)](l[_0x293da6(0x1d0)][_0x293da6(0x1a2)])[_0x293da6(0x1d2)](),_0x3530bf=_0x9e5662[_0x293da6(0x11d)](_0x2fef0e,l[_0x293da6(0x328)]['OPTIONAL']),_0x1462ec=(_0xdae180=_0x3530bf==null?void 0x0:_0x3530bf[_0x293da6(0x219)](_0x1db81e))==null?void 0x0:_0xdae180[_0x293da6(0x36c)]();return()=>{const _0x7b296c=_0x293da6;_0x1462ec==null||_0x1462ec[_0x7b296c(0x97)]();};},[_0x2fef0e,_0x9e5662,_0x445ff9]);const _0x142490=S['useMemo'](()=>(_0x3e9c6e[_0xde5c13(0x1d5)]++,Xe(_0x326d8a)),[_0x326d8a]),_0x1accdc=S[_0xde5c13(0x15f)](()=>_0x142490[_0xde5c13(0x281)](0x0,_0x19d5c4),[_0x142490,_0x19d5c4]),_0xdc9e49=_0x5b0e73[_0xde5c13(0x31a)],_0x550481=Math['round'](_0x35a071*(Ge/_0xdc9e49['w'])*0xa)/0xa,[_0x4056dc,{wrapperStyle:_0x1eda26,containerProps:_0x5d4e89}]=y[_0xde5c13(0x179)](_0x1accdc,{'containerTarget':_0x165759,'itemHeight':_0xdc9e49['h']*_0x550481+0x1c,'overscan':0x5}),_0x35cac1=()=>{_0x4fa1f2['executeCommand'](ce['id']);},_0x2dc3c6=()=>{const _0x19a516=_0xde5c13;_0xce1b95(!0x0),_0x7c530[_0x19a516(0x1ff)]({'content':_0x1c63e6['t'](_0x19a516(0xd5)),'type':h[_0x19a516(0x2b2)][_0x19a516(0x37b)]}),setTimeout(()=>{_0x4fa1f2['executeCommand'](te['id']);},0x12c);},_0x37e282=y[_0xde5c13(0x2bf)](()=>{_0x1d2fae(!0x0);});return o[_0xde5c13(0x37c)](_0xde5c13(0x167),{'className':_0xde5c13(0x317),'children':[_0x2d01d1&&o[_0xde5c13(0x2b3)](Dt,{'onClose':()=>_0x1d2fae(!0x1)}),_0x21230b&&o[_0xde5c13(0x2b3)](_0xde5c13(0x167),{'className':'univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-[1010]\x20univer-flex\x20univer-justify-center'}),o[_0xde5c13(0x37c)](_0xde5c13(0x167),{'className':h['clsx'](_0xde5c13(0x2fc),h['borderBottomClassName']),'children':[o[_0xde5c13(0x37c)](_0xde5c13(0x167),{'className':'univer-ml-2\x20univer-text-base\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':[_0x1c63e6['t'](_0xde5c13(0x1d9)),_0x1accdc[_0xde5c13(0x1ba)],_0x1c63e6['t'](_0xde5c13(0x139))]}),o[_0xde5c13(0x37c)]('div',{'className':_0xde5c13(0x378),'children':[o[_0xde5c13(0x2b3)](h[_0xde5c13(0x23d)],{'onClick':_0x35cac1,'children':_0x1c63e6['t'](_0xde5c13(0x110))}),o[_0xde5c13(0x2b3)](h[_0xde5c13(0x23d)],{'variant':_0xde5c13(0x35b),'onClick':_0x2dc3c6,'children':_0x1c63e6['t']('print.header.next')})]})]}),o[_0xde5c13(0x37c)](_0xde5c13(0x167),{'className':_0xde5c13(0x1e2),'children':[o[_0xde5c13(0x37c)](_0xde5c13(0x167),{'className':_0xde5c13(0x368),'children':[o[_0xde5c13(0x2b3)](_0xde5c13(0x167),{'ref':_0x165759,'className':h[_0xde5c13(0x129)]('univer-flex-1\x20univer-overflow-auto',h['scrollbarClassName']),..._0x5d4e89,'children':o[_0xde5c13(0x2b3)](_0xde5c13(0x167),{'style':_0x1eda26,'children':_0x4056dc[_0xde5c13(0x138)](_0x5d485b=>o[_0xde5c13(0x2b3)](Ot,{'config':_0x5d485b[_0xde5c13(0xe3)],'page':_0x5d485b[_0xde5c13(0xe3)][_0xde5c13(0x2ca)],'previewScale':_0x35a071},_0x3e9c6e['current']+'-'+_0x5d485b['data'][_0xde5c13(0x27f)]['h']+'-'+_0x5d485b[_0xde5c13(0xe3)][_0xde5c13(0x27f)]['w']+'-'+_0x5d485b[_0xde5c13(0xe3)][_0xde5c13(0xeb)]+'-'+_0x5d485b[_0xde5c13(0xe3)][_0xde5c13(0x102)]+'-'+_0x5d485b[_0xde5c13(0x1dd)]))},_0x3e9c6e[_0xde5c13(0x1d5)])}),!_0x3a1d42&&o[_0xde5c13(0x2b3)](_0xde5c13(0x167),{'className':_0xde5c13(0x33a),'children':o[_0xde5c13(0x2b3)]('a',{'href':_0x1c63e6['t'](_0xde5c13(0x347)),'target':_0xde5c13(0x21e),'rel':_0xde5c13(0x2d0),'children':_0x1c63e6['t'](_0xde5c13(0x270))[_0xde5c13(0x2c7)]('{limit}',''+_0x19d5c4)})}),!_0x2d01d1&&o['jsxs']('div',{'className':_0xde5c13(0x169),'children':[o['jsx']('div',{'className':_0xde5c13(0x32c),'onClick':()=>{const _0x42db0d=_0xde5c13;_0x30d1ba(Math[_0x42db0d(0x360)](_0x35a071+Te,At));},'children':o[_0xde5c13(0x2b3)](He,{})}),o[_0xde5c13(0x2b3)](_0xde5c13(0x167),{'className':_0xde5c13(0x32c),'onClick':()=>{_0x30d1ba(Math['max'](_0x35a071-Te,zt));},'children':o['jsx'](We,{})})]})]}),o[_0xde5c13(0x2b3)]('div',{'className':'univer-box-border\x20univer-h-full\x20univer-w-[312px]\x20univer-flex-none\x20univer-bg-white\x20dark:!univer-bg-gray-900','children':o[_0xde5c13(0x2b3)](Ft,{'onShowFooterHeaderEditor':_0x37e282})})]})]});},J={'id':'sheet.operation.print-open','type':l['CommandType'][_0x5aa627(0x86)],'handler':_0xa6bee8=>{const _0xdca692=_0x5aa627;var _0x3f5572,_0x1a71a6;const _0x5f3d35=_0xa6bee8[_0xdca692(0x11d)](y[_0xdca692(0x19d)]),_0x421058=_0xa6bee8['get'](l[_0xdca692(0x228)]),_0x16a2dd=_0xa6bee8[_0xdca692(0x11d)](l[_0xdca692(0xec)]),_0x2e2c44=_0xa6bee8[_0xdca692(0x11d)](l[_0xdca692(0xb0)]),_0x2db444=_0xa6bee8[_0xdca692(0x11d)](y[_0xdca692(0x184)]),_0x6b6ddd=(_0x3f5572=_0xa6bee8[_0xdca692(0x11d)](l['IConfigService'])['getConfig'](H[_0xdca692(0x130)]))!=null?_0x3f5572:{},{ls:_0x120873,pbk:_0x212834}=_0x6b6ddd;if(!mt(_0x120873,_0x212834))return!0x1;_0x5f3d35[_0xdca692(0x306)](dt,Ut);const _0x5bf5be=_0x2e2c44[_0xdca692(0x2fe)](l[_0xdca692(0x1d0)]['UNIVER_SHEET'])['getUnitId']();if(!((_0x1a71a6=_0x421058[_0xdca692(0xc8)](new W[(_0xdca692(0x9d))](_0x5bf5be)['id']))!=null?_0x1a71a6:!0x1)){const _0x523e25={'id':Pe,'title':{'title':''},'children':{'label':ht,'errorMsg':_0x16a2dd['t'](_0xdca692(0x90))},'width':0x140,'destroyOnClose':!0x0,'onClose':()=>_0x2db444['close'](Pe),'className':_0xdca692(0xf7)};throw _0x2db444[_0xdca692(0x374)](_0x523e25),new Error(_0xdca692(0x13f));}return _0x5f3d35['open'](),!0x0;}},ce={'type':l['CommandType'][_0x5aa627(0x86)],'id':_0x5aa627(0x2de),'handler'(_0x3a3ab5){const _0x3af3a8=_0x5aa627,_0x1a5397=_0x3a3ab5['get'](y['IGlobalZoneService']),_0x37ed77=_0x3a3ab5['get'](V);return _0x1a5397[_0x3af3a8(0x1b0)](),_0x37ed77['reset'](),!0x0;}},te={'type':l[_0x5aa627(0xfa)][_0x5aa627(0x86)],'id':'sheet.operation.confirm-print','handler'(){return!0x0;}},Ce={'id':'sheet.operation.print','type':l[_0x5aa627(0xfa)][_0x5aa627(0x294)],'handler'(_0x4616ef,_0x10de20){const _0x2fb0f9=_0x5aa627;if(!_0x10de20)return!0x1;const _0x449d80=_0x4616ef[_0x2fb0f9(0x11d)](l[_0x2fb0f9(0x10f)]),_0x484bc3=_0x4616ef[_0x2fb0f9(0x11d)](V);return _0x484bc3[_0x2fb0f9(0x175)](_0x10de20[_0x2fb0f9(0xbb)]),_0x484bc3[_0x2fb0f9(0x8d)](_0x10de20[_0x2fb0f9(0x30e)]),_0x449d80['syncExecuteCommand'](te['id']);}};var Yt=Object[_0x5aa627(0x8a)],Vt=(_0x512f58,_0x154f66,_0x392778,_0x6ded93)=>{const _0x4a7e5e=_0x5aa627;for(var _0xc40dbf=_0x6ded93>0x1?void 0x0:_0x6ded93?Yt(_0x154f66,_0x392778):_0x154f66,_0x3fd77b=_0x512f58[_0x4a7e5e(0x1ba)]-0x1,_0x13c84e;_0x3fd77b>=0x0;_0x3fd77b--)(_0x13c84e=_0x512f58[_0x3fd77b])&&(_0xc40dbf=_0x13c84e(_0xc40dbf)||_0xc40dbf);return _0xc40dbf;},le=(_0x2d6757,_0x4e85a7)=>(_0x5cf205,_0x3b6b60)=>_0x4e85a7(_0x5cf205,_0x3b6b60,_0x2d6757);let Ne=0x0;exports[_0x5aa627(0xe0)]=class{constructor(_0x17f393,_0x54b50d,_0x199a2d,_0x228482){const _0x129be2=_0x5aa627;this[_0x129be2(0x314)]=_0x17f393,this['_globalZoneService']=_0x54b50d,this['_sheetPrintManagerService']=_0x199a2d,this[_0x129be2(0xcb)]=_0x228482;}async[_0x5aa627(0x377)](_0x2f2744,_0x5662d4){const _0x1b9c3d=_0x5aa627;var _0x40e106;let _0x170a8f=Xe(_0x2f2744);const _0x1cbc66=(_0x40e106=this[_0x1b9c3d(0x314)][_0x1b9c3d(0x11d)](l[_0x1b9c3d(0x14a)])['getConfig'](H[_0x1b9c3d(0x130)]))!=null?_0x40e106:{},{ls:_0x5bcbff,pbk:_0x3c2308}=_0x1cbc66,_0x19a18a=H[_0x1b9c3d(0x21b)]()?Number[_0x1b9c3d(0x289)]:_e(Ee,_0x5bcbff,_0x3c2308)[_0x1b9c3d(0x2ca)];_0x170a8f=_0x170a8f[_0x1b9c3d(0x281)](0x0,_0x19a18a);const _0x44c231=document[_0x1b9c3d(0x8f)](_0x1b9c3d(0x167));_0x44c231[_0x1b9c3d(0x369)]=I[_0x1b9c3d(0xdf)];let _0x22b278=_0x170a8f[_0x1b9c3d(0x138)](_0x5cc3f4=>{const _0x3abd4d=_0x1b9c3d,_0x4bad16=new me(this[_0x3abd4d(0x314)],_0x5cc3f4,_0x5662d4,!0x1);return _0x4bad16[_0x3abd4d(0x1b9)]['className']=I[_0x3abd4d(0x1a1)],_0x4bad16;});_0x22b278['forEach'](_0x28e917=>{const _0x41d630=_0x1b9c3d;_0x44c231['appendChild'](_0x28e917['container']),_0x28e917[_0x41d630(0x1b9)][_0x41d630(0x13e)](_0x28e917[_0x41d630(0x133)]),_0x28e917[_0x41d630(0x25a)](),_0x28e917['markDirty'](!0x1);});const _0x472579=this[_0x1b9c3d(0x20f)][_0x1b9c3d(0xbb)],_0xcf31ea=l[_0x1b9c3d(0x299)][_0x472579[_0x1b9c3d(0x31a)]],_0x3cd85c=I[_0x1b9c3d(0x339)](_0xcf31ea[_0x1b9c3d(0x2a0)],_0xcf31ea[_0x1b9c3d(0x278)],_0x472579[_0x1b9c3d(0x29b)]);return document[_0x1b9c3d(0x1f9)][_0x1b9c3d(0x13e)](_0x3cd85c),document[_0x1b9c3d(0x1f9)][_0x1b9c3d(0x13e)](_0x44c231),new Promise(_0x34c40d=>{setTimeout(()=>{const _0x1772fa=_0xa739;window[_0x1772fa(0x332)]=()=>{const _0x557591=_0x1772fa;_0x22b278[_0x557591(0x2c4)](_0x2e3cb0=>{const _0x541886=_0x557591;_0x2e3cb0[_0x541886(0x324)](),_0x2e3cb0[_0x541886(0x12b)]();});},window[_0x1772fa(0xe1)]=()=>{const _0x1dbf28=_0x1772fa;_0x22b278['forEach'](_0x29ef1d=>{_0x29ef1d['dispose']();}),document[_0x1dbf28(0x1f9)][_0x1dbf28(0x335)](_0x44c231),document[_0x1dbf28(0x1f9)]['removeChild'](_0x3cd85c),this[_0x1dbf28(0x327)][_0x1dbf28(0x1b0)](),this[_0x1dbf28(0x20f)][_0x1dbf28(0x1d3)](),_0x22b278=[],_0x34c40d(!0x0);},window[_0x1772fa(0x377)]();},0x64);});}[_0x5aa627(0x272)](_0x274649,_0x518e39,_0x7dddc5){const _0xac9aca=_0x5aa627;if(!De(this[_0xac9aca(0x314)])){const _0x540559=(Date[_0xac9aca(0x275)]()-Ne)/0x3e8;if(Ne=Date[_0xac9aca(0x275)](),_0x540559<=0x1e)return!0x1;}const _0xffef4c=this['_renderManagerService']['getRenderById'](_0x274649);if(!_0xffef4c)return!0x1;const _0xa516f8=_0xffef4c['with']($['SheetSkeletonManagerService'])['getOrCreateSkeleton']({'sheetId':_0x518e39});if(!_0xa516f8)return!0x1;const _0x2680ba=_0xa516f8[_0xac9aca(0xf8)][_0x7dddc5['endColumn']]-(_0xa516f8[_0xac9aca(0xf8)][_0x7dddc5[_0xac9aca(0x26b)]-0x1]||0x0),_0x676608=_0xa516f8[_0xac9aca(0xc2)][_0x7dddc5[_0xac9aca(0x32a)]]-(_0xa516f8[_0xac9aca(0xc2)][_0x7dddc5[_0xac9aca(0x1cf)]-0x1]||0x0),_0x52082e=1.5,_0x2d98d4=new me(this['_injector'],{'unitId':_0x274649,'subUnitId':_0x518e39,'range':_0x7dddc5,'freeze':Le,'scale':_0x52082e,'page':0x1,'pageSize':{'w':_0x2680ba*_0x52082e+0x1,'h':_0x676608*_0x52082e+0x1},'margin':I[_0xac9aca(0x267)][I[_0xac9aca(0x274)][_0xac9aca(0x373)]],'pageTotal':0x1,'sheetPageTotal':0x1,'sheetPage':0x1},{'gridlines':!0x0,'hAlign':I[_0xac9aca(0x19c)]['Middle'],'vAlign':I[_0xac9aca(0x19c)][_0xac9aca(0x226)],'headerFooter':[],'headerFooterSetting':be,'isCustomHeaderFooter':!0x1},!0x1),_0x1b1265=document[_0xac9aca(0x8f)]('div');_0x1b1265[_0xac9aca(0x369)]=I[_0xac9aca(0xdf)],_0x2d98d4[_0xac9aca(0x1b9)][_0xac9aca(0x369)]=I['PRINT_CANVAS_CLASS'],_0x1b1265[_0xac9aca(0x13e)](_0x2d98d4[_0xac9aca(0x1b9)]),document[_0xac9aca(0x1f9)][_0xac9aca(0x13e)](_0x1b1265),_0x2d98d4[_0xac9aca(0x25a)](),_0x2d98d4[_0xac9aca(0x324)]();const _0x2ef006=_0x2d98d4[_0xac9aca(0x32d)]();return _0x2d98d4['dispose'](),document['body'][_0xac9aca(0x335)](_0x1b1265),_0x2ef006;}},exports[_0x5aa627(0xe0)]=Vt([le(0x0,l[_0x5aa627(0x35c)](l['Injector'])),le(0x1,y[_0x5aa627(0x19d)]),le(0x2,V),le(0x3,L[_0x5aa627(0x192)])],exports[_0x5aa627(0xe0)]);function Ht(_0x877dd6,_0x160fa6){const _0x25642f=_0x5aa627,_0x3bac39=atob(_0x877dd6['split'](',')[0x1]),_0x23bd13=new ArrayBuffer(_0x3bac39['length']),_0x4f2fb7=new Uint8Array(_0x23bd13);for(let _0xa0120d=0x0;_0xa0120d<_0x3bac39[_0x25642f(0x1ba)];_0xa0120d++)_0x4f2fb7[_0xa0120d]=_0x3bac39[_0x25642f(0x1bf)](_0xa0120d);return new Blob([_0x23bd13],{'type':_0x160fa6});}const he={'type':l[_0x5aa627(0xfa)][_0x5aa627(0x86)],'id':_0x5aa627(0x276),async 'handler'(_0x357b02){const _0x3de16c=_0x5aa627;var _0x171157;const _0x159798=_0x357b02['get'](W[_0x3de16c(0x356)]),_0x1c0b70=(_0x171157=_0x159798['getCurrentSelections']())==null?void 0x0:_0x171157[0x0],_0x1b30f1=_0x357b02[_0x3de16c(0x11d)](exports[_0x3de16c(0xe0)]),_0x4b4d66=_0x159798[_0x3de16c(0x248)](),_0x395208=_0x357b02[_0x3de16c(0x11d)](y['IMessageService']),_0x3f8071=_0x357b02['get'](l['IUniverInstanceService']),_0x555b98=_0x357b02[_0x3de16c(0x11d)](l['LocaleService']);if(!_0x1c0b70||!_0x4b4d66)return!0x1;const _0x29b696=W['getSheetCommandTarget'](_0x3f8071);if(!_0x29b696)return!0x1;const {unitId:_0x4e70b7,subUnitId:_0x35e5f7}=_0x29b696,_0x2b7c11=_0x1b30f1[_0x3de16c(0x272)](_0x4e70b7,_0x35e5f7,_0x1c0b70[_0x3de16c(0x1e8)]);if(!_0x2b7c11)return!0x1;try{return await navigator[_0x3de16c(0x13a)][_0x3de16c(0x319)]([new ClipboardItem({'image/png':Ht(_0x2b7c11,'image/png')})]),_0x395208[_0x3de16c(0x1ff)]({'type':h[_0x3de16c(0x2b2)]['Success'],'content':_0x555b98['t']('print.screenshot.success')}),!0x0;}catch{return _0x395208[_0x3de16c(0x1ff)]({'type':h[_0x3de16c(0x2b2)][_0x3de16c(0x2af)],'content':_0x555b98['t'](_0x3de16c(0xe9))}),!0x1;}}},Wt=_0x5aa627(0x28e),ie=l[_0x5aa627(0x23f)]('univer-pro.print-grid.service');class $t extends l[_0x5aa627(0x104)]{constructor(){const _0x5d2935=_0x5aa627;super(...arguments),k(this,_0x5d2935(0x2a5),new re[(_0x5d2935(0x34c))](!0x1)),k(this,'visible$',this[_0x5d2935(0x2a5)]);}get[_0x5aa627(0x115)](){const _0x5e9cb=_0x5aa627;return this['_visible$'][_0x5e9cb(0x27a)];}['show'](){this['_visible$']['next'](!0x0);}[_0x5aa627(0x10d)](){const _0x2ffaae=_0x5aa627;this[_0x2ffaae(0x2a5)][_0x2ffaae(0xac)](!0x1);}['dispose'](){const _0x17cf72=_0x5aa627;super[_0x17cf72(0x97)](),this[_0x17cf72(0x2a5)][_0x17cf72(0x2d5)]();}}const Ze=_0x5aa627(0x215),ue={'id':'sheet.operation.open-print-grid-sidebar','type':l[_0x5aa627(0xfa)][_0x5aa627(0x86)],'handler':_0x1bfad1=>{const _0x35026e=_0x5aa627,_0x44e6b4=_0x1bfad1[_0x35026e(0x11d)](y[_0x35026e(0x204)]),_0x315218=_0x1bfad1['get'](ie),_0x383820=_0x1bfad1[_0x35026e(0x11d)](V),_0x3eacff=_0x1bfad1[_0x35026e(0x11d)](l[_0x35026e(0xec)]);return _0x383820[_0x35026e(0x21d)](),_0x315218['show'](),_0x44e6b4[_0x35026e(0x374)]({'header':{'title':_0x3eacff['t'](_0x35026e(0x34f))},'children':{'label':Ze},'onClose':()=>{},'width':0x138}),!0x0;}},Se={'id':_0x5aa627(0x99),'type':l['CommandType'][_0x5aa627(0x86)],'handler':_0x1a6e30=>{const _0x4a1508=_0x5aa627,_0x41edcc=_0x1a6e30[_0x4a1508(0x11d)](y[_0x4a1508(0x204)]);return _0x1a6e30[_0x4a1508(0x11d)](ie)['hide'](),_0x41edcc['close'](),!0x0;}},Ke=S[_0x5aa627(0xa6)](()=>{const _0x40ac6c=_0x5aa627;var _0x5acc6c,_0x3dbe73,_0x437f3e,_0x26291d;const _0x536048=y[_0x40ac6c(0xc7)](V),_0x2f46ec=y[_0x40ac6c(0xc7)](l['ICommandService']),_0x261a35=y[_0x40ac6c(0xd0)](_0x536048[_0x40ac6c(0x343)],_0x536048[_0x40ac6c(0xbb)]),_0xbe2a70=y['useDependency'](l['LocaleService']),_0x2afdf3=y[_0x40ac6c(0xc7)](l['IUniverInstanceService'])['getCurrentUnitOfType'](l[_0x40ac6c(0x1d0)][_0x40ac6c(0x1a2)]);if(!_0x2afdf3)return console[_0x40ac6c(0x26d)](_0x40ac6c(0x16e)),null;const _0x822846=_0x2afdf3[_0x40ac6c(0xa0)]();if(!_0x822846)return console[_0x40ac6c(0x26d)](_0x40ac6c(0x217)),null;const _0x13a87d=(_0x3b7234,_0x2100bb)=>{const _0x56f65b=_0x40ac6c,_0x285e0c=Math[_0x56f65b(0x297)](0x0,_0x2100bb||0x0),_0x42ad42=_0x261a35[_0x56f65b(0x2ad)]||{'top':0x0,'left':0x0,'right':0x0,'bottom':0x0};_0x536048[_0x56f65b(0x234)]({'marginCustom':{..._0x42ad42,[_0x3b7234]:_0x285e0c}});},_0xe3e288=_0x822846[_0x40ac6c(0x2b8)](),_0x295471=_0xe3e288[_0x40ac6c(0x2dc)]<=0x0,_0x58a878=_0xe3e288[_0x40ac6c(0xd9)]<=0x0,_0xbb27a4=()=>{_0x2f46ec['executeCommand'](Se['id']);},_0x1ac5ad=()=>{const _0x1aff23=_0x40ac6c;_0x2f46ec[_0x1aff23(0x2b5)](J['id']),_0xbb27a4();};return o[_0x40ac6c(0x37c)](_0x40ac6c(0x167),{'className':h[_0x40ac6c(0x129)](_0x40ac6c(0x1ed),h['scrollbarClassName']),'children':[o[_0x40ac6c(0x37c)](_0x40ac6c(0x167),{'className':'univer-flex-1\x20univer-overflow-y-auto','children':[o['jsx'](h[_0x40ac6c(0x16a)],{'label':_0xbe2a70['t'](_0x40ac6c(0x291)),'children':o[_0x40ac6c(0x2b3)](h[_0x40ac6c(0x199)],{'className':_0x40ac6c(0x27b),'value':''+_0x261a35[_0x40ac6c(0x16c)],'onChange':_0x1e01dc=>{const _0x39adaa=_0x40ac6c;_0x536048[_0x39adaa(0x234)]({'area':_0x1e01dc});},'options':[{'label':_0xbe2a70['t'](_0x40ac6c(0x1b1)),'value':F[_0x40ac6c(0xc5)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x264)),'value':F[_0x40ac6c(0x344)]}]})}),o[_0x40ac6c(0x2b3)](h['FormLayout'],{'label':_0xbe2a70['t'](_0x40ac6c(0x290)),'children':o[_0x40ac6c(0x2b3)](h[_0x40ac6c(0x199)],{'className':'univer-w-full','value':_0x261a35['paperSize'],'options':[{'label':_0xbe2a70['t'](_0x40ac6c(0x210)),'value':l[_0x40ac6c(0x346)][_0x40ac6c(0x120)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x1fc)),'value':l['PaperType'][_0x40ac6c(0x193)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x2cb)),'value':l['PaperType'][_0x40ac6c(0x198)]},{'label':_0xbe2a70['t']('print.size.statement'),'value':l[_0x40ac6c(0x346)][_0x40ac6c(0x35d)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x1f5)),'value':l['PaperType'][_0x40ac6c(0x149)]},{'label':_0xbe2a70['t']('print.size.folio'),'value':l['PaperType'][_0x40ac6c(0x29d)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x36a)),'value':l[_0x40ac6c(0x346)]['A3']},{'label':_0xbe2a70['t'](_0x40ac6c(0x1ae)),'value':l['PaperType']['A4']},{'label':_0xbe2a70['t']('print.size.a5'),'value':l[_0x40ac6c(0x346)]['A5']},{'label':_0xbe2a70['t']('print.size.b4'),'value':l[_0x40ac6c(0x346)]['B4']},{'label':_0xbe2a70['t'](_0x40ac6c(0x17f)),'value':l[_0x40ac6c(0x346)]['B5']}],'onChange':_0x332747=>{const _0x42e168=_0x40ac6c;_0x536048[_0x42e168(0x234)]({'paperSize':_0x332747});}})}),o['jsx'](h[_0x40ac6c(0x16a)],{'label':_0xbe2a70['t'](_0x40ac6c(0x348)),'children':o[_0x40ac6c(0x2b3)](h[_0x40ac6c(0x199)],{'className':'univer-w-full','value':_0x261a35['margin'],'options':[{'label':_0xbe2a70['t'](_0x40ac6c(0x288)),'value':I[_0x40ac6c(0x274)][_0x40ac6c(0x1a7)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x205)),'value':I[_0x40ac6c(0x274)][_0x40ac6c(0x2be)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x218)),'value':I[_0x40ac6c(0x274)][_0x40ac6c(0x240)]},{'label':_0xbe2a70['t'](_0x40ac6c(0x2c9)),'value':I['PrintPaperMargin']['Custom']}],'onChange':_0x6a551e=>{const _0x55331f=_0x40ac6c,_0x886b44=I['PaperMarginMap'][_0x261a35[_0x55331f(0x2e2)]];_0x536048[_0x55331f(0x234)]({'margin':_0x6a551e,'marginCustom':_0x6a551e===I[_0x55331f(0x274)]['Custom']?_0x886b44:I[_0x55331f(0x267)][_0x6a551e]});}})}),_0x261a35['margin']===I[_0x40ac6c(0x274)]['Custom']&&o[_0x40ac6c(0x2b3)](h['FormLayout'],{'children':o[_0x40ac6c(0x37c)](_0x40ac6c(0x167),{'className':_0x40ac6c(0x2f4),'children':[o[_0x40ac6c(0x37c)](_0x40ac6c(0x167),{'children':[o[_0x40ac6c(0x2b3)]('label',{'className':_0x40ac6c(0x2c2),'children':_0xbe2a70['t']('print.margin.top')}),o[_0x40ac6c(0x2b3)](h['Input'],{'type':_0x40ac6c(0xaf),'value':String(((_0x5acc6c=_0x261a35[_0x40ac6c(0x2ad)])==null?void 0x0:_0x5acc6c['top'])||0x0),'onChange':_0x1ffa09=>_0x13a87d(_0x40ac6c(0x18a),Number(_0x1ffa09))})]}),o['jsxs']('div',{'children':[o[_0x40ac6c(0x2b3)](_0x40ac6c(0x213),{'className':_0x40ac6c(0x2c2),'children':_0xbe2a70['t']('print.margin.bottom')}),o['jsx'](h[_0x40ac6c(0x162)],{'type':_0x40ac6c(0xaf),'value':String(((_0x3dbe73=_0x261a35[_0x40ac6c(0x2ad)])==null?void 0x0:_0x3dbe73[_0x40ac6c(0x9e)])||0x0),'onChange':_0xc76be0=>_0x13a87d(_0x40ac6c(0x9e),Number(_0xc76be0))})]}),o[_0x40ac6c(0x37c)]('div',{'children':[o[_0x40ac6c(0x2b3)](_0x40ac6c(0x213),{'className':_0x40ac6c(0x2c2),'children':_0xbe2a70['t'](_0x40ac6c(0x23b))}),o[_0x40ac6c(0x2b3)](h['Input'],{'type':_0x40ac6c(0xaf),'value':String(((_0x437f3e=_0x261a35['marginCustom'])==null?void 0x0:_0x437f3e['left'])||0x0),'onChange':_0x3ae42e=>_0x13a87d(_0x40ac6c(0x329),Number(_0x3ae42e))})]}),o['jsxs']('div',{'children':[o[_0x40ac6c(0x2b3)](_0x40ac6c(0x213),{'className':_0x40ac6c(0x2c2),'children':_0xbe2a70['t']('print.margin.right')}),o[_0x40ac6c(0x2b3)](h['Input'],{'type':_0x40ac6c(0xaf),'value':String(((_0x26291d=_0x261a35[_0x40ac6c(0x2ad)])==null?void 0x0:_0x26291d[_0x40ac6c(0x30d)])||0x0),'onChange':_0x27bd23=>_0x13a87d(_0x40ac6c(0x30d),Number(_0x27bd23))})]})]})}),o[_0x40ac6c(0x2b3)](h[_0x40ac6c(0x16a)],{'label':_0xbe2a70['t'](_0x40ac6c(0x26a)),'children':o['jsxs'](h[_0x40ac6c(0x33f)],{'value':_0x261a35['direction'],'onChange':_0x552d6c=>{const _0x101a83=_0x40ac6c;_0x536048[_0x101a83(0x234)]({'direction':_0x552d6c});},'children':[o[_0x40ac6c(0x2b3)](h['Radio'],{'value':I[_0x40ac6c(0x18d)][_0x40ac6c(0x106)],'children':_0xbe2a70['t'](_0x40ac6c(0x31d))}),o['jsx'](h['Radio'],{'value':I[_0x40ac6c(0x18d)][_0x40ac6c(0x195)],'children':_0xbe2a70['t']('print.orientation.landscape')})]})}),o[_0x40ac6c(0x2b3)](h[_0x40ac6c(0x16a)],{'collapsable':!0x0,'label':_0xbe2a70['t']('print.freeze.title'),'children':o['jsxs'](h[_0x40ac6c(0x1b2)],{'direction':'vertical','value':_0x261a35[_0x40ac6c(0x1d6)],'onChange':_0x2d857b=>{const _0x296e48=_0x40ac6c;_0x536048[_0x296e48(0x234)]({'freeze':_0x2d857b});},'children':[o[_0x40ac6c(0x2b3)](h['Checkbox'],{'disabled':_0x58a878,'value':G['Row'],'children':_0xbe2a70['t'](_0x40ac6c(0x112))}),o[_0x40ac6c(0x2b3)](h[_0x40ac6c(0xd4)],{'disabled':_0x295471,'value':G['Column'],'children':_0xbe2a70['t'](_0x40ac6c(0x13b))})]})}),o[_0x40ac6c(0x37c)](h[_0x40ac6c(0x16a)],{'collapsable':!0x0,'defaultCollapsed':!0x0,'label':_0xbe2a70['t'](_0x40ac6c(0x249)),'children':[o[_0x40ac6c(0x2b3)](h['FormLayout'],{'className':'univer-mb-2','label':_0xbe2a70['t'](_0x40ac6c(0x2c3)),'children':o[_0x40ac6c(0x2b3)](h['Input'],{'value':_0x261a35[_0x40ac6c(0x135)]===0x1/0x0?'':''+_0x261a35[_0x40ac6c(0x135)],'onChange':_0x523053=>{const _0x291f9d=_0x40ac6c;_0x536048[_0x291f9d(0x234)]({'maxRowsEachPage':!_0x523053||Number[_0x291f9d(0x29c)](Number(_0x523053))?0x1/0x0:Number(_0x523053)});}})}),o['jsx'](h[_0x40ac6c(0x16a)],{'label':_0xbe2a70['t']('print.area.maxColumnsEachPage'),'children':o[_0x40ac6c(0x2b3)](h['Input'],{'value':_0x261a35['maxColumnsEachPage']===0x1/0x0?'':''+_0x261a35[_0x40ac6c(0x17e)],'onChange':_0x2abf3a=>{const _0x5b8e8c=_0x40ac6c;_0x536048['updateLayoutConfig']({'maxColumnsEachPage':!_0x2abf3a||Number[_0x5b8e8c(0x29c)](Number(_0x2abf3a))?0x1/0x0:Number(_0x2abf3a)});}})})]})]}),o['jsxs']('div',{'className':_0x40ac6c(0x376),'children':[o['jsx'](h[_0x40ac6c(0x23d)],{'type':'submit','variant':_0x40ac6c(0x35b),'size':'middle','className':_0x40ac6c(0x27b),'onClick':_0x1ac5ad,'children':_0xbe2a70['t'](_0x40ac6c(0x12f))}),o['jsx'](h[_0x40ac6c(0x23d)],{'type':_0x40ac6c(0x30c),'size':_0x40ac6c(0xc1),'className':_0x40ac6c(0x27b),'onClick':_0xbb27a4,'children':_0xbe2a70['t'](_0x40ac6c(0x2e6))})]})]});});Ke[_0x5aa627(0x156)]='PrintGridSidebar';const Xt='PrintGridExtension',Gt=0x3d,Zt='#1890ff',Kt=0x2,qt=[0x6,0x4],q=class q extends L[_0x5aa627(0x340)]{constructor(){const _0x7643f1=_0x5aa627;super(...arguments),k(this,_0x7643f1(0x88),Xt),k(this,_0x7643f1(0x21f),Gt);}[_0x5aa627(0x153)](_0x556b57,_0x3b380e,_0x5f30ee,_0x43ff9e){const _0x524cea=_0x5aa627;if(_0x556b57[_0x524cea(0x266)]===_0x524cea(0x2ed)||!q['printGridService']||!q[_0x524cea(0x1cd)]||!q['printGridService'][_0x524cea(0x115)])return;const {worksheet:_0x173116}=_0x5f30ee;if(!_0x173116)return;const _0x1ffccb=q[_0x524cea(0x1cd)]['layoutInfos'],_0x2528c7=_0x173116['getSheetId'](),_0x5e00ed=_0x1ffccb[_0x524cea(0x10e)](_0x20aaca=>_0x20aaca[_0x524cea(0x102)]===_0x2528c7);_0x5e00ed&&this[_0x524cea(0x19f)](_0x556b57,_0x5f30ee,_0x5e00ed);}[_0x5aa627(0x19f)](_0x16a976,_0x4be30e,_0x5d86c6){const _0x4b2f1b=_0x5aa627,{pages:_0x5344c2}=_0x5d86c6,{rowHeightAccumulation:_0x339d7a,columnWidthAccumulation:_0x1557b9}=_0x4be30e;_0x16a976[_0x4b2f1b(0x354)](),_0x16a976[_0x4b2f1b(0x2cf)]=Zt,_0x16a976[_0x4b2f1b(0x296)]=Kt,_0x16a976['setLineDash'](qt);const _0x33ceed=new Set(),_0x209823=new Set();_0x5344c2['forEach'](_0xc4e5d3=>{const _0x1c3174=_0x4b2f1b,{startRow:_0x307707,endRow:_0xf89163,startColumn:_0x381137,endColumn:_0x135a48}=_0xc4e5d3,_0x1ed163=_0x307707===0x0?0x0:_0x339d7a[_0x307707-0x1],_0xde233f=_0x339d7a[_0xf89163],_0x5b5c5a=_0x381137===0x0?0x0:_0x1557b9[_0x381137-0x1],_0x13c85a=_0x1557b9[_0x135a48];_0x33ceed[_0x1c3174(0x383)](_0x1ed163),_0x33ceed[_0x1c3174(0x383)](_0xde233f),_0x209823[_0x1c3174(0x383)](_0x5b5c5a),_0x209823['add'](_0x13c85a);});const _0x46a25b=Math[_0x4b2f1b(0x360)](...Array['from'](_0x209823)),_0x3d7055=Math[_0x4b2f1b(0x297)](...Array[_0x4b2f1b(0x178)](_0x209823)),_0x430412=Math['min'](...Array[_0x4b2f1b(0x178)](_0x33ceed)),_0x53ea28=Math[_0x4b2f1b(0x297)](...Array[_0x4b2f1b(0x178)](_0x33ceed));_0x33ceed[_0x4b2f1b(0x2c4)](_0x15d8e8=>{const _0x5c206d=_0x4b2f1b;_0x16a976['beginPath'](),_0x16a976['moveTo'](_0x46a25b,_0x15d8e8),_0x16a976[_0x5c206d(0xbf)](_0x3d7055,_0x15d8e8),_0x16a976[_0x5c206d(0xe7)]();}),_0x209823[_0x4b2f1b(0x2c4)](_0x4ff1c5=>{const _0x58087e=_0x4b2f1b;_0x16a976[_0x58087e(0xdc)](),_0x16a976[_0x58087e(0x298)](_0x4ff1c5,_0x430412),_0x16a976[_0x58087e(0xbf)](_0x4ff1c5,_0x53ea28),_0x16a976[_0x58087e(0xe7)]();}),_0x16a976[_0x4b2f1b(0x25c)]();}};k(q,_0x5aa627(0x18f),null),k(q,_0x5aa627(0x1cd),null);let ae=q;L[_0x5aa627(0x370)][_0x5aa627(0x383)](ae);const qe=_0x5aa627(0x279);function Jt(_0xfeb476){const _0x41e356=_0x5aa627;return{'id':qe,'type':y[_0x41e356(0xed)][_0x41e356(0x1c6)],'icon':_0x41e356(0xc6),'tooltip':_0x41e356(0x12f),'hidden$':y[_0x41e356(0x14c)](_0xfeb476,l[_0x41e356(0x1d0)][_0x41e356(0x1a2)]),'disabled$':$[_0x41e356(0x157)](_0xfeb476,{'workbookTypes':[W[_0x41e356(0x9d)]]})};}function Qt(_0x56606e){const _0x12ffad=_0x5aa627;return{'id':J['id'],'type':y[_0x12ffad(0xed)][_0x12ffad(0x196)],'title':_0x12ffad(0x12f)};}function en(_0x12988c){const _0x456e53=_0x5aa627;return{'id':he['id'],'type':y['MenuItemType'][_0x456e53(0x196)],'title':'print.screenshot.title','icon':_0x456e53(0x132),'tooltip':_0x456e53(0xf4),'hidden$':y[_0x456e53(0x14c)](_0x12988c,l[_0x456e53(0x1d0)]['UNIVER_SHEET']),'disabled$':$[_0x456e53(0x157)](_0x12988c,{'workbookTypes':[W[_0x456e53(0x9d)],W[_0x456e53(0x1b6)],W[_0x456e53(0x37e)]],'worksheetTypes':[W[_0x456e53(0xaa)],W[_0x456e53(0x124)]],'rangeTypes':[W[_0x456e53(0x13d)]]})};}function tn(_0x48272a){const _0x156f6d=_0x5aa627;return{'id':ue['id'],'type':y[_0x156f6d(0xed)][_0x156f6d(0x196)],'title':'print.grid.title'};}const nn={[y[_0x5aa627(0x250)][_0x5aa627(0x142)]]:{[qe]:{'order':0.1,'menuItemFactory':Jt,[J['id']]:{'order':0x0,'menuItemFactory':Qt},[ue['id']]:{'order':0x1,'menuItemFactory':tn}}},[y[_0x5aa627(0x190)][_0x5aa627(0x22b)]]:{[y['ContextMenuGroup']['OTHERS']]:{[he['id']]:{'order':2.1,'menuItemFactory':en}}}},rn={'id':J['id'],'binding':y[_0x5aa627(0x29e)]['P']|y[_0x5aa627(0x30a)][_0x5aa627(0x22a)],'preconditions':$[_0x5aa627(0x17a)]};var an=Object['getOwnPropertyDescriptor'],on=(_0x506ae3,_0x347d86,_0x4c3585,_0x309183)=>{const _0xdb7ef6=_0x5aa627;for(var _0x482f04=_0x309183>0x1?void 0x0:_0x309183?an(_0x347d86,_0x4c3585):_0x347d86,_0x2d5ee0=_0x506ae3[_0xdb7ef6(0x1ba)]-0x1,_0x446f93;_0x2d5ee0>=0x0;_0x2d5ee0--)(_0x446f93=_0x506ae3[_0x2d5ee0])&&(_0x482f04=_0x446f93(_0x482f04)||_0x482f04);return _0x482f04;},X=(_0x5a7977,_0x43a5d6)=>(_0x284c47,_0x1f50c8)=>_0x43a5d6(_0x284c47,_0x1f50c8,_0x5a7977);let de=class extends l[_0x5aa627(0x104)]{constructor(_0x4700ce,_0x17c4ae,_0x4386c2,_0x155dfd,_0x1c32f6,_0x181fef,_0x16ae44,_0x22a8fd,_0x1c0168,_0x592872){const _0xdaf4da=_0x5aa627;super(),this['_printService']=_0x4700ce,this[_0xdaf4da(0x313)]=_0x17c4ae,this[_0xdaf4da(0x20f)]=_0x4386c2,this[_0xdaf4da(0x1c7)]=_0x155dfd,this[_0xdaf4da(0x334)]=_0x1c32f6,this[_0xdaf4da(0x201)]=_0x181fef,this[_0xdaf4da(0x2df)]=_0x16ae44,this[_0xdaf4da(0x314)]=_0x22a8fd,this[_0xdaf4da(0x15d)]=_0x1c0168,this[_0xdaf4da(0xcb)]=_0x592872,this[_0xdaf4da(0x108)]();}[_0x5aa627(0x108)](){const _0xe798cc=_0x5aa627;this[_0xe798cc(0xdd)](),this[_0xe798cc(0x32e)](),this[_0xe798cc(0x2b0)](),this[_0xe798cc(0x1e1)](),this['_initCommandListener'](),this[_0xe798cc(0x92)](),this['_initPrintGridExtension'](),this[_0xe798cc(0x180)]();}[_0x5aa627(0xdd)](){const _0x1a46df=_0x5aa627;[J,ce,te,he,Ce,ue,Se][_0x1a46df(0x2c4)](_0x267367=>this[_0x1a46df(0x313)][_0x1a46df(0x15c)](_0x267367));}['_initComponents'](){const _0x1278f8=_0x5aa627;[[_0x1278f8(0xc6),Ue],[_0x1278f8(0x132),Ae]][_0x1278f8(0x2c4)](([_0x2aedc3,_0x42153d])=>{const _0x1665d3=_0x1278f8;this[_0x1665d3(0x334)][_0x1665d3(0x13c)](_0x2aedc3,_0x42153d);}),this['_componentManager'][_0x1278f8(0x13c)](Ze,Ke);}['_initShortcuts'](){const _0x4af44a=_0x5aa627;[rn][_0x4af44a(0x2c4)](_0x481aab=>{const _0x638c05=_0x4af44a;this[_0x638c05(0x2df)][_0x638c05(0xcf)](_0x481aab);});}[_0x5aa627(0x2b0)](){const _0x5b34b2=_0x5aa627;this[_0x5b34b2(0x201)][_0x5b34b2(0x23e)](nn);}[_0x5aa627(0x92)](){const _0x1cffcd=_0x5aa627;this[_0x1cffcd(0x22f)](this[_0x1cffcd(0xda)][_0x1cffcd(0x260)][_0x1cffcd(0x380)](_0x2ff79d=>{_0x2ff79d&&this['_sheetPrintManagerService']['reLayout']();}));}[_0x5aa627(0x31f)](){const _0x434b70=_0x5aa627,_0xb19686=this['_sheetPrintManagerService']['layoutInfos'],_0x31297e=this[_0x434b70(0x20f)][_0x434b70(0x30e)];return this[_0x434b70(0x1c7)][_0x434b70(0x377)](_0xb19686,_0x31297e);}[_0x5aa627(0x1cb)](){const _0x590a09=_0x5aa627;this[_0x590a09(0x22f)](this[_0x590a09(0x313)][_0x590a09(0x2d2)](_0x630756=>{const _0x4c54c2=_0x590a09;_0x630756['id']===te['id']&&this[_0x4c54c2(0x31f)]();}));}['_initPrintGridExtension'](){const _0x1b2b1a=_0x5aa627,_0x5ad30e=this[_0x1b2b1a(0x314)][_0x1b2b1a(0x11d)](ie),_0x36e947=this['_injector'][_0x1b2b1a(0x11d)](V);ae['printGridService']=_0x5ad30e,ae[_0x1b2b1a(0x1cd)]=_0x36e947;}[_0x5aa627(0x180)](){const _0x363c03=_0x5aa627,_0x38dc11=this[_0x363c03(0x314)][_0x363c03(0x11d)](ie);this[_0x363c03(0x22f)](_0x38dc11[_0x363c03(0x260)]['subscribe'](()=>{const _0x1babaf=_0x363c03;var _0x157c53;const _0x3e6dc1=this[_0x1babaf(0x15d)][_0x1babaf(0x2a4)](0x2);if(_0x3e6dc1){const _0x41cd05=_0x3e6dc1[_0x1babaf(0x1d2)](),_0x25a4be=this[_0x1babaf(0xcb)][_0x1babaf(0x225)](_0x41cd05);_0x25a4be&&((_0x157c53=_0x25a4be['mainComponent'])==null||_0x157c53['makeDirty']());}})),this[_0x363c03(0x22f)](this[_0x363c03(0x20f)][_0x363c03(0x343)][_0x363c03(0x380)](()=>{const _0xd57797=_0x363c03;var _0x5ac738;if(!_0x38dc11[_0xd57797(0x115)])return;this['_sheetPrintManagerService']['reLayout']();const _0x226f7e=this['_univerInstanceService'][_0xd57797(0x2a4)](0x2);if(_0x226f7e){const _0x164a1c=_0x226f7e['getUnitId'](),_0x147ac9=this[_0xd57797(0xcb)][_0xd57797(0x225)](_0x164a1c);_0x147ac9&&((_0x5ac738=_0x147ac9['mainComponent'])==null||_0x5ac738['makeDirty']());}})),this[_0x363c03(0x22f)](this['_commandService'][_0x363c03(0x2d2)](_0x4af384=>{const _0x2923ef=_0x363c03;var _0x583efb;if(!_0x38dc11[_0x2923ef(0x115)]||[J['id'],ce['id'],te['id'],Ce['id'],ue['id'],Se['id']][_0x2923ef(0x155)](_0x4af384['id']))return;this[_0x2923ef(0x20f)][_0x2923ef(0x21d)]();const _0x1e3de7=this[_0x2923ef(0x15d)][_0x2923ef(0x2a4)](0x2);if(_0x1e3de7){const _0x146f56=_0x1e3de7[_0x2923ef(0x1d2)](),_0x5c5ccd=this[_0x2923ef(0xcb)][_0x2923ef(0x225)](_0x146f56);_0x5c5ccd&&((_0x583efb=_0x5c5ccd[_0x2923ef(0xd6)])==null||_0x583efb[_0x2923ef(0x17c)]());}}));}};de=on([X(0x0,y['IGlobalZoneService']),X(0x1,l[_0x5aa627(0x10f)]),X(0x2,V),X(0x3,l[_0x5aa627(0x35c)](exports['SheetPrintClientService'])),X(0x4,l[_0x5aa627(0x35c)](y['ComponentManager'])),X(0x5,y[_0x5aa627(0x362)]),X(0x6,y[_0x5aa627(0x191)]),X(0x7,l[_0x5aa627(0x35c)](l['Injector'])),X(0x8,l[_0x5aa627(0xb0)]),X(0x9,L[_0x5aa627(0x192)])],de);var sn=Object[_0x5aa627(0x1df)],ln=Object[_0x5aa627(0x8a)],cn=(_0x310988,_0x20968e,_0xb302b5)=>_0x20968e in _0x310988?sn(_0x310988,_0x20968e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb302b5}):_0x310988[_0x20968e]=_0xb302b5,un=(_0xf6382f,_0x21261e,_0x43c457,_0x588dba)=>{const _0x4de2fe=_0x5aa627;for(var _0x582dec=_0x588dba>0x1?void 0x0:_0x588dba?ln(_0x21261e,_0x43c457):_0x21261e,_0x5d931c=_0xf6382f[_0x4de2fe(0x1ba)]-0x1,_0x39d985;_0x5d931c>=0x0;_0x5d931c--)(_0x39d985=_0xf6382f[_0x5d931c])&&(_0x582dec=_0x39d985(_0x582dec)||_0x582dec);return _0x582dec;},ke=(_0x4ce572,_0x57565a)=>(_0x4bebec,_0x1ce51d)=>_0x57565a(_0x4bebec,_0x1ce51d,_0x4ce572),Je=(_0x2dceec,_0x19ceb4,_0x250624)=>cn(_0x2dceec,typeof _0x19ceb4!=_0x5aa627(0x14b)?_0x19ceb4+'':_0x19ceb4,_0x250624);exports['UniverSheetsPrintPlugin']=class extends l[_0x5aa627(0x1e6)]{constructor(_0x3a3286=Re,_0x4977f7,_0xd1484f){const _0x1cbb5e=_0x5aa627;super(),this[_0x1cbb5e(0x2d7)]=_0x3a3286,this['_injector']=_0x4977f7,this[_0x1cbb5e(0x316)]=_0xd1484f;const {menu:_0x43ab8f,..._0x44c7bd}=l[_0x1cbb5e(0x148)]({},Re,this['_config']);_0x43ab8f&&this[_0x1cbb5e(0x316)][_0x1cbb5e(0x12e)]('menu',_0x43ab8f,{'merge':!0x0}),this[_0x1cbb5e(0x316)][_0x1cbb5e(0x12e)]($e,_0x44c7bd);}[_0x5aa627(0x35e)](){const _0x46a234=_0x5aa627;l['registerDependencies'](this[_0x46a234(0x314)],[[V,{'useClass':exports['SheetPrintManagerService']}],[ie,{'useClass':$t}],[exports['SheetPrintClientService']],[de]]),l[_0x46a234(0x372)](this[_0x46a234(0x314)],[[de]]);}},Je(exports[_0x5aa627(0x116)],'pluginName',Wt),Je(exports[_0x5aa627(0x116)],_0x5aa627(0x1b4),l[_0x5aa627(0x1d0)][_0x5aa627(0x1a2)]),exports[_0x5aa627(0x116)]=un([l[_0x5aa627(0x9c)](ct[_0x5aa627(0x136)],H['UniverLicensePlugin']),ke(0x1,l['Inject'](l[_0x5aa627(0x126)])),ke(0x2,l['IConfigService'])],exports[_0x5aa627(0x116)]),exports[_0x5aa627(0x1ef)]=ce,exports[_0x5aa627(0x147)]=te,exports[_0x5aa627(0x1fd)]=V,exports[_0x5aa627(0x15a)]=F,exports[_0x5aa627(0x1af)]=G,exports[_0x5aa627(0x323)]=U,exports[_0x5aa627(0x2e8)]=b,exports[_0x5aa627(0x164)]=J,exports[_0x5aa627(0x364)]=Ce,exports['SheetScreenShotOperation']=he,exports[_0x5aa627(0x1d4)]=De;
|