@univerjs-pro/docs-print 0.21.0 → 0.21.1
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/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/sk-SK.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/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/sk-SK.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/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/sk-SK.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/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/sk-SK.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 +10 -10
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xe4be79=_0x4b6b;(function(_0x41cfc7,_0x1710eb){const _0x572738=_0x4b6b,_0x37f823=_0x41cfc7();while(!![]){try{const _0x7e6927=-parseInt(_0x572738(0x1bc))/0x1*(-parseInt(_0x572738(0x1be))/0x2)+-parseInt(_0x572738(0x1fa))/0x3*(parseInt(_0x572738(0x1bb))/0x4)+parseInt(_0x572738(0x1ea))/0x5*(parseInt(_0x572738(0x1c6))/0x6)+parseInt(_0x572738(0x219))/0x7*(-parseInt(_0x572738(0x1e0))/0x8)+parseInt(_0x572738(0x1d1))/0x9*(parseInt(_0x572738(0x203))/0xa)+parseInt(_0x572738(0x215))/0xb+parseInt(_0x572738(0x1ab))/0xc;if(_0x7e6927===_0x1710eb)break;else _0x37f823['push'](_0x37f823['shift']());}catch(_0x98679c){_0x37f823['push'](_0x37f823['shift']());}}}(_0x23f4,0xb5604));import{CommandType,DependentOn,Disposable,DisposableCollection,DocumentFlavor,ICommandService,IConfigService,IUniverInstanceService,Inject,Injector,Plugin,UniverInstanceType,generateRandomId,merge,registerDependencies}from'@univerjs/core';import{DocPrintInterceptorService,SwitchDocModeCommand,VIEWPORT_KEY}from'@univerjs/docs-ui';import{CanvasRenderMode,Documents,Engine,IRenderManagerService,Scene,Viewport}from'@univerjs/engine-render';function _0x23f4(){const _0x45658f=['decorate','_initCommands','VIEW_MAIN','onbeforeprint','default','bottom','_documents','object','length','restore','mergeMenu','parseInt','makeDirty','pages','updateScrollVal','Portrait','string','className','UNIVER_DOCS_PRINT','root','1673232YaTeQL','createElement','DocumentDataModel\x20is\x20not\x20found','_addComponent','fetchThroughInterceptors','close','_key','_currentRender','OPERATION','syncExecuteCommand','defineProperty','translate','100%','makeForceDirty','timeValid','version','20XiHGJs','1CaNmng','prepare','272698eZudcw','getInterceptPoints','onafterprint','getCurrentUnitOfType','documentFlavor','_page','page','dispose','12SkgRah','onStarting','getSkeletonData','_unitId','get','BUTTON','_config','right','constructor','setId','with','90EqJGHr','body','_injector','interceptor','OTHERS','_addViewport','getOwnPropertyDescriptor','message','menu','Skeleton\x20data\x20is\x20not\x20found','PrintIcon','call','_calculateLayout','style','_paperSize','3208waDBon','getUnitId','_container','_initMenus','isPro','getSkeleton','position','Pages\x20are\x20not\x20found','appendChild','width','1790855jlfijM','scale','_configService','getRenderById','docs.operation.print','absolute','getDocumentStyle','setContainer','_initRenderer','top','register','getUnit','_menuManagerService','removeChild','getCanvas','_commandService','737889zWRQjw','fill','POSITIVE_INFINITY','min','div','packageName','_root','_effects','getContext','1178990wXjaQn','container','Render\x20is\x20not\x20found','onReady','_engine','symbol','mainComponent','map','left','getOffsetConfig','function','prototype','registerCommand','_skeletonData','getConfig','UNIVER_DOC','_skeleton','disposeWithMe','5567881pwOrbX','render','_scene','forEach','12299yabyDf','_renderManagerService','print.menu','addObject','Printing','valid','mpn','_viewMain','_offsetConfig','_initComponents','__DocPrintRender__','print','pageHeight','0px','height','_componentManager'];_0x23f4=function(){return _0x45658f;};return _0x23f4();}import{LS_CONFIG_KEY,UniverLicensePlugin,getDocFeatureLimit,getLicenseInfo,isFeatureAuthorizedWithinTime,isLocalCheck}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PrintDirection,createPrintStyle}from'@univerjs-pro/print';import{DocSkeletonManagerService}from'@univerjs/docs';import{ComponentManager,IGlobalZoneService,IMenuManagerService,MenuItemType,RibbonStartGroup,getMenuHiddenObservable}from'@univerjs/ui';import{UniverNetworkPlugin}from'@univerjs/network';import{PrintIcon}from'@univerjs/icons';function _typeof(_0x4d45bb){'@babel/helpers - typeof';const _0x3742bd=_0x4b6b;return _typeof=_0x3742bd(0x20d)==typeof Symbol&&_0x3742bd(0x208)==typeof Symbol['iterator']?function(_0x295df9){return typeof _0x295df9;}:function(_0x29e195){const _0x1fc0a0=_0x3742bd;return _0x29e195&&'function'==typeof Symbol&&_0x29e195[_0x1fc0a0(0x1ce)]===Symbol&&_0x29e195!==Symbol[_0x1fc0a0(0x20e)]?'symbol':typeof _0x29e195;},_typeof(_0x4d45bb);}function toPrimitive(_0x2c2f3c,_0xa034ff){const _0x569829=_0x4b6b;if('object'!=_typeof(_0x2c2f3c)||!_0x2c2f3c)return _0x2c2f3c;var _0x362594=_0x2c2f3c[Symbol['toPrimitive']];if(void 0x0!==_0x362594){var _0x1a22a8=_0x362594[_0x569829(0x1dc)](_0x2c2f3c,_0xa034ff||_0x569829(0x22d));if(_0x569829(0x230)!=_typeof(_0x1a22a8))return _0x1a22a8;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x569829(0x239)===_0xa034ff?String:Number)(_0x2c2f3c);}function toPropertyKey(_0x446019){const _0x3b90f6=_0x4b6b;var _0x3269fd=toPrimitive(_0x446019,'string');return _0x3b90f6(0x208)==_typeof(_0x3269fd)?_0x3269fd:_0x3269fd+'';}function _defineProperty(_0x4776dd,_0x5b3781,_0x25d978){const _0x4b0a44=_0x4b6b;return(_0x5b3781=toPropertyKey(_0x5b3781))in _0x4776dd?Object[_0x4b0a44(0x1b5)](_0x4776dd,_0x5b3781,{'value':_0x25d978,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4776dd[_0x5b3781]=_0x25d978,_0x4776dd;}var DocPrintPageCanvasView=class extends Disposable{get['container'](){const _0x599130=_0x4b6b;return this[_0x599130(0x1e2)];}get[_0xe4be79(0x1aa)](){const _0x1914df=_0xe4be79;return this[_0x1914df(0x200)];}get[_0xe4be79(0x1b2)](){const _0x598ffc=_0xe4be79,_0x1839b1=this[_0x598ffc(0x1d3)][_0x598ffc(0x1ca)](IRenderManagerService)['getRenderById'](this[_0x598ffc(0x1c9)]);if(!_0x1839b1)throw new Error(_0x598ffc(0x205));return _0x1839b1;}get['_skeleton'](){const _0x4528b2=_0xe4be79;return this[_0x4528b2(0x1b2)][_0x4528b2(0x1d0)](DocSkeletonManagerService)[_0x4528b2(0x1e5)]();}get[_0xe4be79(0x210)](){const _0x3ce5ee=_0xe4be79,_0x4842b2=this[_0x3ce5ee(0x213)][_0x3ce5ee(0x1c8)]();if(!_0x4842b2)throw new Error(_0x3ce5ee(0x1da));return _0x4842b2;}get[_0xe4be79(0x1df)](){const _0x34cd0b=_0xe4be79,_0xf0ef8=this[_0x34cd0b(0x210)][_0x34cd0b(0x236)][0x0];return{'width':_0xf0ef8['pageWidth'],'height':_0xf0ef8[_0x34cd0b(0x225)]};}constructor(_0x4dd9ce,_0x42cdc9,_0x3d4ee5,_0x3f449e){const _0x59315b=_0xe4be79;super(),this['_injector']=_0x4dd9ce,this[_0x59315b(0x1c3)]=_0x42cdc9,this[_0x59315b(0x1c9)]=_0x3d4ee5,this[_0x59315b(0x221)]=_0x3f449e,_defineProperty(this,'_container',document[_0x59315b(0x1ac)](_0x59315b(0x1fe))),_defineProperty(this,_0x59315b(0x200),document[_0x59315b(0x1ac)](_0x59315b(0x1fe))),_defineProperty(this,_0x59315b(0x207),void 0x0),_defineProperty(this,_0x59315b(0x217),void 0x0),_defineProperty(this,_0x59315b(0x1b1),void 0x0),_defineProperty(this,_0x59315b(0x22f),void 0x0),_defineProperty(this,_0x59315b(0x220),void 0x0),_defineProperty(this,_0x59315b(0x201),new DisposableCollection()),this[_0x59315b(0x1b1)]=generateRandomId(0x4),this[_0x59315b(0x1f2)](),this[_0x59315b(0x214)]({'dispose':()=>{const _0x354005=_0x59315b;this[_0x354005(0x207)][_0x354005(0x1c5)](),this[_0x354005(0x217)]['dispose'](),this[_0x354005(0x201)]['dispose']();}});}[_0xe4be79(0x1dd)](){const _0x131dc1=_0xe4be79,{docsTop:_0x16f4e0,docsLeft:_0x416ad0}=this[_0x131dc1(0x22f)]['getOffsetConfig'](),_0x3b073d=this[_0x131dc1(0x1df)][_0x131dc1(0x227)],_0x6683a2=this['_paperSize'][_0x131dc1(0x1e9)];return{'top':_0x16f4e0+(_0x16f4e0+_0x3b073d)*this[_0x131dc1(0x1c3)],'bottom':_0x16f4e0+(_0x16f4e0+_0x3b073d)*(this[_0x131dc1(0x1c3)]+0x1),'left':_0x416ad0,'right':_0x416ad0+_0x6683a2};}[_0xe4be79(0x1f2)](){const _0x3a02ad=_0xe4be79,_0x2698e1=0x1;this['_engine']=new Engine('',{'elementWidth':this[_0x3a02ad(0x1df)][_0x3a02ad(0x1e9)],'elementHeight':this[_0x3a02ad(0x1df)][_0x3a02ad(0x227)],'dpr':0x1,'renderMode':CanvasRenderMode[_0x3a02ad(0x21d)]}),this[_0x3a02ad(0x217)]=new Scene(this['_key'],this[_0x3a02ad(0x207)]),this[_0x3a02ad(0x217)][_0x3a02ad(0x1eb)](_0x2698e1,_0x2698e1),this[_0x3a02ad(0x207)][_0x3a02ad(0x1f1)](this[_0x3a02ad(0x1e2)],![]),this[_0x3a02ad(0x207)][_0x3a02ad(0x1f8)]()['getContext']()[_0x3a02ad(0x1cf)](this[_0x3a02ad(0x1b1)]+'_'+generateRandomId(0x4)),this[_0x3a02ad(0x1ae)](),this[_0x3a02ad(0x1d6)]();}['_addComponent'](){const _0x40fc31=_0xe4be79,{pageMarginLeft:_0x338edd,pageMarginTop:_0x5cd317,docsLeft:_0x4bfd59,docsTop:_0x3c687b}=this[_0x40fc31(0x221)],_0x2a0235={'pageMarginLeft':_0x338edd,'pageMarginTop':_0x5cd317},_0x47b193=new Documents(_0x40fc31(0x223),this[_0x40fc31(0x213)],_0x2a0235);_0x47b193[_0x40fc31(0x1b6)](_0x4bfd59,_0x3c687b),this[_0x40fc31(0x217)][_0x40fc31(0x21c)](_0x47b193),this['_documents']=_0x47b193;const _0x351bae=this[_0x40fc31(0x1d3)][_0x40fc31(0x1ca)](DocPrintInterceptorService);_0x351bae[_0x40fc31(0x1d4)][_0x40fc31(0x1af)](_0x351bae[_0x40fc31(0x1d4)][_0x40fc31(0x1bf)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x40fc31(0x1c9)],'scene':this[_0x40fc31(0x217)],'engine':this[_0x40fc31(0x207)],'root':this['_root'],'documents':this[_0x40fc31(0x22f)],'skeleton':this['_skeleton']});}[_0xe4be79(0x1d6)](){const _0x2a69b0=_0xe4be79;this[_0x2a69b0(0x220)]=new Viewport(VIEWPORT_KEY[_0x2a69b0(0x22b)],this['_scene'],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0xe4be79(0x1bd)](){const _0x2bccb0=_0xe4be79,_0x1d69e2=this[_0x2bccb0(0x1dd)]();this['_viewMain'][_0x2bccb0(0x237)]({'viewportScrollX':_0x1d69e2[_0x2bccb0(0x20b)],'viewportScrollY':_0x1d69e2['top']}),this[_0x2bccb0(0x200)]['style'][_0x2bccb0(0x1e6)]=_0x2bccb0(0x1ef),this[_0x2bccb0(0x200)]['style'][_0x2bccb0(0x1f3)]=_0x2bccb0(0x226),this['_root'][_0x2bccb0(0x1de)]['left']='0px',this[_0x2bccb0(0x200)][_0x2bccb0(0x1de)]['width']=_0x2bccb0(0x1b7),this[_0x2bccb0(0x200)][_0x2bccb0(0x1de)][_0x2bccb0(0x227)]=_0x2bccb0(0x1b7),this['_effects']=new DisposableCollection();const _0x4d36cb=this[_0x2bccb0(0x1d3)]['get'](DocPrintInterceptorService);_0x4d36cb['interceptor']['fetchThroughInterceptors'](_0x4d36cb[_0x2bccb0(0x1d4)][_0x2bccb0(0x1bf)]()['PRINTING_DOM_COLLECT'])(this[_0x2bccb0(0x201)],{'unitId':this[_0x2bccb0(0x1c9)],'scene':this[_0x2bccb0(0x217)],'engine':this['_engine'],'root':this[_0x2bccb0(0x200)],'skeleton':this[_0x2bccb0(0x213)],'offset':{'x':_0x1d69e2[_0x2bccb0(0x20b)],'y':_0x1d69e2[_0x2bccb0(0x1f3)]},'bound':{'top':_0x1d69e2['top'],'left':_0x1d69e2[_0x2bccb0(0x20b)],'right':_0x1d69e2[_0x2bccb0(0x1cd)],'bottom':_0x1d69e2[_0x2bccb0(0x22e)]}});}['render'](){const _0x19ae53=_0xe4be79,_0x5169ea=this[_0x19ae53(0x207)][_0x19ae53(0x1f8)]()[_0x19ae53(0x202)]();this[_0x19ae53(0x22f)][_0x19ae53(0x1b8)](),this[_0x19ae53(0x217)][_0x19ae53(0x235)](),_0x5169ea['save'](),this[_0x19ae53(0x217)][_0x19ae53(0x216)](),_0x5169ea[_0x19ae53(0x232)]();}};function __decorateParam(_0x39cc28,_0x455ddc){return function(_0x4a8898,_0x19d53e){_0x455ddc(_0x4a8898,_0x19d53e,_0x39cc28);};}function __decorate(_0xda613a,_0x48fbad,_0x1ff5d6,_0x583fc5){const _0x2b5d67=_0xe4be79;var _0x45c116=arguments[_0x2b5d67(0x231)],_0x249193=_0x45c116<0x3?_0x48fbad:_0x583fc5===null?_0x583fc5=Object[_0x2b5d67(0x1d7)](_0x48fbad,_0x1ff5d6):_0x583fc5,_0x31670c;if(typeof Reflect===_0x2b5d67(0x230)&&typeof Reflect['decorate']==='function')_0x249193=Reflect[_0x2b5d67(0x229)](_0xda613a,_0x48fbad,_0x1ff5d6,_0x583fc5);else{for(var _0x4803bb=_0xda613a['length']-0x1;_0x4803bb>=0x0;_0x4803bb--)if(_0x31670c=_0xda613a[_0x4803bb])_0x249193=(_0x45c116<0x3?_0x31670c(_0x249193):_0x45c116>0x3?_0x31670c(_0x48fbad,_0x1ff5d6,_0x249193):_0x31670c(_0x48fbad,_0x1ff5d6))||_0x249193;}return _0x45c116>0x3&&_0x249193&&Object[_0x2b5d67(0x1b5)](_0x48fbad,_0x1ff5d6,_0x249193),_0x249193;}const BUILD_TIMESTAMP=Number[_0xe4be79(0x234)](0x69e3503e),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x162664,_0x10e4be,_0x1009f5)=>{const _0x1eceab=_0xe4be79,_0x49f403={'page':_0x162664,'isPro':![],'timeValid':![]};if(!_0x10e4be||!_0x1009f5)return _0x49f403;const _0x3bd399=getLicenseInfo(_0x10e4be,_0x1009f5);if(_0x3bd399[_0x1eceab(0x21e)]){const _0x37d466=_0x3bd399[_0x1eceab(0x1d8)],_0x32b77c=isFeatureAuthorizedWithinTime(_0x37d466,'df',BUILD_TIMESTAMP);_0x49f403[_0x1eceab(0x1e4)]=_0x32b77c,_0x49f403[_0x1eceab(0x1b9)]=_0x32b77c,_0x49f403[_0x1eceab(0x1c4)]=getDocFeatureLimit(_0x37d466,_0x32b77c,_0x1eceab(0x21f),_0x162664,_0x162664,0x0);}return _0x49f403;};function _0x4b6b(_0x2608d7,_0x2f38cd){_0x2608d7=_0x2608d7-0x1a8;const _0x23f4fb=_0x23f4();let _0x4b6b9e=_0x23f4fb[_0x2608d7];return _0x4b6b9e;}let DocPrintService=class DocPrintService extends Disposable{constructor(_0x484d19,_0x4e601,_0x53c603,_0x26e1f2,_0x38a0bc){const _0x1b42b0=_0xe4be79;super(),this['_univerInstanceService']=_0x484d19,this[_0x1b42b0(0x21a)]=_0x4e601,this[_0x1b42b0(0x1d3)]=_0x53c603,this[_0x1b42b0(0x1ec)]=_0x26e1f2,this['_globalZoneService']=_0x38a0bc;}[_0xe4be79(0x224)](_0x58640e){const _0x59f6c4=_0xe4be79;var _0x201bea,_0x4a7896;const {ls:_0xc91cba,pbk:_0x254b09}=(_0x201bea=this[_0x59f6c4(0x1ec)][_0x59f6c4(0x211)](LS_CONFIG_KEY))!==null&&_0x201bea!==void 0x0?_0x201bea:{},_0x1deb15=isLocalCheck()?Number[_0x59f6c4(0x1fc)]:getPrintInfoByLicense(0x1,_0xc91cba,_0x254b09)[_0x59f6c4(0x1c4)];if(!this['_univerInstanceService'][_0x59f6c4(0x1f5)](_0x58640e,UniverInstanceType['UNIVER_DOC']))throw new Error(_0x59f6c4(0x1ad));const _0x12f8be=this['_renderManagerService'][_0x59f6c4(0x1ed)](_0x58640e);if(!_0x12f8be)throw new Error(_0x59f6c4(0x205));const _0x4884d6=(_0x4a7896=_0x12f8be[_0x59f6c4(0x1d0)](DocSkeletonManagerService)[_0x59f6c4(0x1e5)]()[_0x59f6c4(0x1c8)]())===null||_0x4a7896===void 0x0?void 0x0:_0x4a7896[_0x59f6c4(0x236)];if(!_0x4884d6)throw new Error(_0x59f6c4(0x1e7));const _0x59286d={'width':_0x4884d6[0x0]['pageWidth'],'height':_0x4884d6[0x0][_0x59f6c4(0x225)]},_0x2dfeee=_0x4884d6[_0x59f6c4(0x231)],_0x5130b2=Math[_0x59f6c4(0x1fd)](_0x1deb15,_0x2dfeee),_0x345dc0=_0x12f8be[_0x59f6c4(0x209)][_0x59f6c4(0x20c)](),_0x7212ab=document['createElement'](_0x59f6c4(0x1fe));_0x7212ab[_0x59f6c4(0x1a8)]=PRINT_CONTAINER_CLASS;const _0x50cea0=new Array(_0x5130b2)[_0x59f6c4(0x1fb)](null)[_0x59f6c4(0x20a)]((_0x198afe,_0x56dc75)=>{const _0x282629=_0x59f6c4,_0x1eeee4=new DocPrintPageCanvasView(this['_injector'],_0x56dc75,_0x58640e,_0x345dc0);return _0x1eeee4['container'][_0x282629(0x1a8)]=PRINT_CANVAS_CLASS,_0x1eeee4;});_0x50cea0[_0x59f6c4(0x218)](_0x18f6ac=>{const _0x1048ed=_0x59f6c4;_0x7212ab[_0x1048ed(0x1e8)](_0x18f6ac[_0x1048ed(0x204)]),_0x18f6ac[_0x1048ed(0x204)][_0x1048ed(0x1e8)](_0x18f6ac['root']),_0x18f6ac['prepare']();});const _0x15de0e=createPrintStyle(_0x59286d[_0x59f6c4(0x1e9)],_0x59286d[_0x59f6c4(0x227)],PrintDirection[_0x59f6c4(0x238)]);return document[_0x59f6c4(0x1d2)][_0x59f6c4(0x1e8)](_0x15de0e),document[_0x59f6c4(0x1d2)][_0x59f6c4(0x1e8)](_0x7212ab),new Promise(_0x3e922c=>{setTimeout(()=>{const _0x17408f=_0x4b6b;window[_0x17408f(0x22c)]=()=>{const _0x4c126a=_0x17408f;_0x50cea0[_0x4c126a(0x218)](_0x49e680=>{const _0x2e4bf3=_0x4c126a;_0x49e680[_0x2e4bf3(0x216)]();});},window[_0x17408f(0x1c0)]=()=>{const _0x2de881=_0x17408f;_0x50cea0['forEach'](_0x1084d2=>{_0x1084d2['dispose']();}),document[_0x2de881(0x1d2)][_0x2de881(0x1f7)](_0x7212ab),document[_0x2de881(0x1d2)]['removeChild'](_0x15de0e),this['_globalZoneService'][_0x2de881(0x1b0)](),_0x3e922c(!![]);},window[_0x17408f(0x224)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);const DocPrintOperation={'id':_0xe4be79(0x1ee),'type':CommandType[_0xe4be79(0x1b3)],'handler':async _0x325578=>{const _0x502e8d=_0xe4be79,_0x3a03e9=_0x325578[_0x502e8d(0x1ca)](IUniverInstanceService),_0x27010b=_0x325578['get'](DocPrintService),_0x17e7ce=_0x325578[_0x502e8d(0x1ca)](IRenderManagerService),_0x24163f=_0x325578[_0x502e8d(0x1ca)](ICommandService),_0x34f51a=_0x3a03e9[_0x502e8d(0x1c1)](UniverInstanceType[_0x502e8d(0x212)]);if(!_0x34f51a)return![];if(!_0x17e7ce[_0x502e8d(0x1ed)](_0x34f51a[_0x502e8d(0x1e1)]()))throw new Error(_0x502e8d(0x205));const _0x4d5953=_0x34f51a[_0x502e8d(0x1f0)]()[_0x502e8d(0x1c2)];if(_0x4d5953!==DocumentFlavor['TRADITIONAL'])_0x24163f[_0x502e8d(0x1b4)](SwitchDocModeCommand['id']);await _0x27010b[_0x502e8d(0x224)](_0x34f51a[_0x502e8d(0x1e1)]());if(_0x4d5953!==DocumentFlavor['TRADITIONAL'])_0x24163f['syncExecuteCommand'](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0xe4be79(0x1a9),defaultPluginConfig={};var name='@univerjs-pro/docs-print',version='0.21.0';const DOCS_PRINT_PLUGIN_NAME=_0xe4be79(0x1a9);function DocPrintMenuItemFactory(_0x226985){const _0x10d8fa=_0xe4be79;return{'id':DocPrintOperation['id'],'type':MenuItemType[_0x10d8fa(0x1cb)],'title':_0x10d8fa(0x21b),'icon':_0x10d8fa(0x1db),'tooltip':_0x10d8fa(0x21b),'hidden$':getMenuHiddenObservable(_0x226985,UniverInstanceType[_0x10d8fa(0x212)])};}const menuSchema={[RibbonStartGroup[_0xe4be79(0x1d5)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x22dc40,_0x237512,_0x50fb67){const _0x41b126=_0xe4be79;super(),this['_commandService']=_0x22dc40,this[_0x41b126(0x1f6)]=_0x237512,this['_componentManager']=_0x50fb67,this[_0x41b126(0x1e3)](),this[_0x41b126(0x22a)](),this['_initComponents']();}['_initMenus'](){const _0x3ed7d0=_0xe4be79;this['_menuManagerService'][_0x3ed7d0(0x233)](menuSchema);}[_0xe4be79(0x22a)](){const _0x370539=_0xe4be79;this[_0x370539(0x214)](this[_0x370539(0x1f9)][_0x370539(0x20f)](DocPrintOperation));}[_0xe4be79(0x222)](){const _0x20093d=_0xe4be79;[[_0x20093d(0x1db),PrintIcon]][_0x20093d(0x218)](([_0x396c03,_0x17d232])=>{const _0xec7ff5=_0x20093d;this[_0xec7ff5(0x228)][_0xec7ff5(0x1f4)](_0x396c03,_0x17d232);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x37790a=defaultPluginConfig,_0x439c1d,_0x584118){const _0x3ce840=_0xe4be79;super(),this[_0x3ce840(0x1cc)]=_0x37790a,this['_injector']=_0x439c1d,this[_0x3ce840(0x1ec)]=_0x584118;const {menu:_0x576848,..._0xc7fc13}=merge({},defaultPluginConfig,this[_0x3ce840(0x1cc)]);if(_0x576848)this['_configService']['setConfig'](_0x3ce840(0x1d9),_0x576848,{'merge':!![]});this['_configService']['setConfig'](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0xc7fc13);}[_0xe4be79(0x1c7)](){const _0x3fd2bc=_0xe4be79;registerDependencies(this[_0x3fd2bc(0x1d3)],[[DocPrintService],[DocsPrintUIController]]);}[_0xe4be79(0x206)](){const _0x5613ac=_0xe4be79;this[_0x5613ac(0x1d3)][_0x5613ac(0x1ca)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,'pluginName',DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0xe4be79(0x1ff),name),_defineProperty(UniverDocsPrintPlugin,_0xe4be79(0x1ba),version),_defineProperty(UniverDocsPrintPlugin,'type',UniverInstanceType[_0xe4be79(0x212)]),UniverDocsPrintPlugin=__decorate([DependentOn(UniverNetworkPlugin,UniverLicensePlugin),__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IConfigService)],UniverDocsPrintPlugin);export{DOCS_PRINT_PLUGIN_CONFIG_KEY,DocPrintOperation,UniverDocsPrintPlugin};
|
|
1
|
+
const _0x3b528b=_0x435b;(function(_0x4a70ed,_0x4352bb){const _0x32a9b5=_0x435b,_0x23d3b8=_0x4a70ed();while(!![]){try{const _0x313d12=parseInt(_0x32a9b5(0x185))/0x1*(-parseInt(_0x32a9b5(0x145))/0x2)+parseInt(_0x32a9b5(0x17b))/0x3+-parseInt(_0x32a9b5(0x144))/0x4*(-parseInt(_0x32a9b5(0x163))/0x5)+-parseInt(_0x32a9b5(0x190))/0x6+-parseInt(_0x32a9b5(0x167))/0x7*(-parseInt(_0x32a9b5(0x174))/0x8)+-parseInt(_0x32a9b5(0x16a))/0x9*(parseInt(_0x32a9b5(0x182))/0xa)+parseInt(_0x32a9b5(0x1d5))/0xb;if(_0x313d12===_0x4352bb)break;else _0x23d3b8['push'](_0x23d3b8['shift']());}catch(_0x130be5){_0x23d3b8['push'](_0x23d3b8['shift']());}}}(_0x3359,0x9a74f));import{CommandType,DependentOn,Disposable,DisposableCollection,DocumentFlavor,ICommandService,IConfigService,IUniverInstanceService,Inject,Injector,Plugin,UniverInstanceType,generateRandomId,merge,registerDependencies}from'@univerjs/core';import{DocPrintInterceptorService,SwitchDocModeCommand,VIEWPORT_KEY}from'@univerjs/docs-ui';import{CanvasRenderMode,Documents,Engine,IRenderManagerService,Scene,Viewport}from'@univerjs/engine-render';import{LS_CONFIG_KEY,UniverLicensePlugin,getDocFeatureLimit,getLicenseInfo,isFeatureAuthorizedWithinTime,isLocalCheck}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PrintDirection,createPrintStyle}from'@univerjs-pro/print';import{DocSkeletonManagerService}from'@univerjs/docs';import{ComponentManager,IGlobalZoneService,IMenuManagerService,MenuItemType,RibbonStartGroup,getMenuHiddenObservable}from'@univerjs/ui';function _0x435b(_0x5c9b99,_0x9482){_0x5c9b99=_0x5c9b99-0x144;const _0x33590e=_0x3359();let _0x435bc3=_0x33590e[_0x5c9b99];return _0x435bc3;}import{UniverNetworkPlugin}from'@univerjs/network';import{PrintIcon}from'@univerjs/icons';function _typeof(_0x11321b){'@babel/helpers - typeof';const _0xde7f13=_0x435b;return _typeof='function'==typeof Symbol&&_0xde7f13(0x1bb)==typeof Symbol[_0xde7f13(0x19e)]?function(_0x1c4449){return typeof _0x1c4449;}:function(_0x2f293a){const _0x2cc0ac=_0xde7f13;return _0x2f293a&&'function'==typeof Symbol&&_0x2f293a['constructor']===Symbol&&_0x2f293a!==Symbol[_0x2cc0ac(0x14f)]?'symbol':typeof _0x2f293a;},_typeof(_0x11321b);}function toPrimitive(_0x272269,_0x325ed9){const _0x4d9e62=_0x435b;if(_0x4d9e62(0x17c)!=_typeof(_0x272269)||!_0x272269)return _0x272269;var _0x14ae14=_0x272269[Symbol[_0x4d9e62(0x192)]];if(void 0x0!==_0x14ae14){var _0x3ecbf5=_0x14ae14[_0x4d9e62(0x15f)](_0x272269,_0x325ed9||_0x4d9e62(0x18f));if(_0x4d9e62(0x17c)!=_typeof(_0x3ecbf5))return _0x3ecbf5;throw new TypeError(_0x4d9e62(0x1a8));}return('string'===_0x325ed9?String:Number)(_0x272269);}function toPropertyKey(_0x266169){const _0x2ff23e=_0x435b;var _0x458905=toPrimitive(_0x266169,_0x2ff23e(0x1b2));return'symbol'==_typeof(_0x458905)?_0x458905:_0x458905+'';}function _defineProperty(_0x1c17b2,_0x60afae,_0x4898de){const _0x307d0d=_0x435b;return(_0x60afae=toPropertyKey(_0x60afae))in _0x1c17b2?Object[_0x307d0d(0x1b5)](_0x1c17b2,_0x60afae,{'value':_0x4898de,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1c17b2[_0x60afae]=_0x4898de,_0x1c17b2;}var DocPrintPageCanvasView=class extends Disposable{get[_0x3b528b(0x1d1)](){const _0x57aaff=_0x3b528b;return this[_0x57aaff(0x184)];}get[_0x3b528b(0x199)](){const _0xae9c=_0x3b528b;return this[_0xae9c(0x14b)];}get[_0x3b528b(0x14d)](){const _0xc07b7d=_0x3b528b,_0xb741ed=this[_0xc07b7d(0x1b6)][_0xc07b7d(0x146)](IRenderManagerService)[_0xc07b7d(0x187)](this[_0xc07b7d(0x19d)]);if(!_0xb741ed)throw new Error(_0xc07b7d(0x17d));return _0xb741ed;}get[_0x3b528b(0x1ae)](){const _0x1795f6=_0x3b528b;return this[_0x1795f6(0x14d)][_0x1795f6(0x1a0)](DocSkeletonManagerService)[_0x1795f6(0x158)]();}get[_0x3b528b(0x1bf)](){const _0x4dcc71=_0x3b528b,_0xa03d47=this[_0x4dcc71(0x1ae)]['getSkeletonData']();if(!_0xa03d47)throw new Error(_0x4dcc71(0x1c2));return _0xa03d47;}get[_0x3b528b(0x168)](){const _0x185de0=_0x3b528b,_0x4899be=this[_0x185de0(0x1bf)][_0x185de0(0x186)][0x0];return{'width':_0x4899be[_0x185de0(0x1cc)],'height':_0x4899be[_0x185de0(0x1d6)]};}constructor(_0x13d2a9,_0x2172f3,_0x367905,_0xee0475){const _0x3c8e5a=_0x3b528b;super(),this['_injector']=_0x13d2a9,this[_0x3c8e5a(0x17e)]=_0x2172f3,this[_0x3c8e5a(0x19d)]=_0x367905,this[_0x3c8e5a(0x151)]=_0xee0475,_defineProperty(this,_0x3c8e5a(0x184),document[_0x3c8e5a(0x176)]('div')),_defineProperty(this,_0x3c8e5a(0x14b),document['createElement'](_0x3c8e5a(0x149))),_defineProperty(this,'_engine',void 0x0),_defineProperty(this,_0x3c8e5a(0x153),void 0x0),_defineProperty(this,_0x3c8e5a(0x1b7),void 0x0),_defineProperty(this,_0x3c8e5a(0x177),void 0x0),_defineProperty(this,_0x3c8e5a(0x1a5),void 0x0),_defineProperty(this,_0x3c8e5a(0x1cf),new DisposableCollection()),this[_0x3c8e5a(0x1b7)]=generateRandomId(0x4),this[_0x3c8e5a(0x171)](),this[_0x3c8e5a(0x1a9)]({'dispose':()=>{const _0x2646ed=_0x3c8e5a;this['_engine'][_0x2646ed(0x16b)](),this[_0x2646ed(0x153)]['dispose'](),this[_0x2646ed(0x1cf)]['dispose']();}});}[_0x3b528b(0x15d)](){const _0x450c2a=_0x3b528b,{docsTop:_0x4a49bf,docsLeft:_0x4e2e52}=this['_documents'][_0x450c2a(0x19c)](),_0x2e726a=this[_0x450c2a(0x168)][_0x450c2a(0x1a7)],_0x5c0716=this[_0x450c2a(0x168)][_0x450c2a(0x175)];return{'top':_0x4a49bf+(_0x4a49bf+_0x2e726a)*this[_0x450c2a(0x17e)],'bottom':_0x4a49bf+(_0x4a49bf+_0x2e726a)*(this[_0x450c2a(0x17e)]+0x1),'left':_0x4e2e52,'right':_0x4e2e52+_0x5c0716};}[_0x3b528b(0x171)](){const _0x1b39be=_0x3b528b,_0x56ec2e=0x1;this['_engine']=new Engine('',{'elementWidth':this['_paperSize'][_0x1b39be(0x175)],'elementHeight':this[_0x1b39be(0x168)][_0x1b39be(0x1a7)],'dpr':0x1,'renderMode':CanvasRenderMode[_0x1b39be(0x15c)]}),this[_0x1b39be(0x153)]=new Scene(this[_0x1b39be(0x1b7)],this[_0x1b39be(0x164)]),this[_0x1b39be(0x153)]['scale'](_0x56ec2e,_0x56ec2e),this['_engine'][_0x1b39be(0x1a1)](this[_0x1b39be(0x184)],![]),this['_engine'][_0x1b39be(0x1d2)]()[_0x1b39be(0x1be)]()[_0x1b39be(0x1d4)](this[_0x1b39be(0x1b7)]+'_'+generateRandomId(0x4)),this[_0x1b39be(0x1d3)](),this[_0x1b39be(0x1c3)]();}[_0x3b528b(0x1d3)](){const _0x51447c=_0x3b528b,{pageMarginLeft:_0x38d6ae,pageMarginTop:_0x20a078,docsLeft:_0x546a7d,docsTop:_0x496863}=this['_offsetConfig'],_0x4e4924={'pageMarginLeft':_0x38d6ae,'pageMarginTop':_0x20a078},_0x52a074=new Documents(_0x51447c(0x18d),this[_0x51447c(0x1ae)],_0x4e4924);_0x52a074[_0x51447c(0x16d)](_0x546a7d,_0x496863),this[_0x51447c(0x153)][_0x51447c(0x172)](_0x52a074),this[_0x51447c(0x177)]=_0x52a074;const _0x2a4158=this[_0x51447c(0x1b6)][_0x51447c(0x146)](DocPrintInterceptorService);_0x2a4158[_0x51447c(0x1cb)][_0x51447c(0x1ab)](_0x2a4158['interceptor'][_0x51447c(0x152)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x51447c(0x153)],'engine':this['_engine'],'root':this[_0x51447c(0x14b)],'documents':this[_0x51447c(0x177)],'skeleton':this[_0x51447c(0x1ae)]});}['_addViewport'](){const _0x1e300a=_0x3b528b;this['_viewMain']=new Viewport(VIEWPORT_KEY['VIEW_MAIN'],this[_0x1e300a(0x153)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0x3b528b(0x173)](){const _0x56bea9=_0x3b528b,_0x575bc3=this[_0x56bea9(0x15d)]();this[_0x56bea9(0x1a5)][_0x56bea9(0x1c7)]({'viewportScrollX':_0x575bc3['left'],'viewportScrollY':_0x575bc3[_0x56bea9(0x1b8)]}),this[_0x56bea9(0x14b)]['style'][_0x56bea9(0x1b4)]=_0x56bea9(0x19f),this[_0x56bea9(0x14b)][_0x56bea9(0x178)][_0x56bea9(0x1b8)]=_0x56bea9(0x19b),this[_0x56bea9(0x14b)][_0x56bea9(0x178)][_0x56bea9(0x191)]=_0x56bea9(0x19b),this[_0x56bea9(0x14b)][_0x56bea9(0x178)]['width']=_0x56bea9(0x15a),this[_0x56bea9(0x14b)][_0x56bea9(0x178)][_0x56bea9(0x1a7)]=_0x56bea9(0x15a),this['_effects']=new DisposableCollection();const _0x4e7d64=this[_0x56bea9(0x1b6)][_0x56bea9(0x146)](DocPrintInterceptorService);_0x4e7d64[_0x56bea9(0x1cb)]['fetchThroughInterceptors'](_0x4e7d64['interceptor'][_0x56bea9(0x152)]()[_0x56bea9(0x166)])(this['_effects'],{'unitId':this[_0x56bea9(0x19d)],'scene':this[_0x56bea9(0x153)],'engine':this[_0x56bea9(0x164)],'root':this[_0x56bea9(0x14b)],'skeleton':this[_0x56bea9(0x1ae)],'offset':{'x':_0x575bc3[_0x56bea9(0x191)],'y':_0x575bc3['top']},'bound':{'top':_0x575bc3[_0x56bea9(0x1b8)],'left':_0x575bc3[_0x56bea9(0x191)],'right':_0x575bc3[_0x56bea9(0x1b3)],'bottom':_0x575bc3[_0x56bea9(0x198)]}});}[_0x3b528b(0x1a3)](){const _0x3bf207=_0x3b528b,_0x341e38=this[_0x3bf207(0x164)]['getCanvas']()['getContext']();this[_0x3bf207(0x177)][_0x3bf207(0x18e)](),this[_0x3bf207(0x153)][_0x3bf207(0x162)](),_0x341e38[_0x3bf207(0x18c)](),this[_0x3bf207(0x153)][_0x3bf207(0x1a3)](),_0x341e38[_0x3bf207(0x1c9)]();}};function __decorateParam(_0xbc416e,_0x2a55fa){return function(_0x35044e,_0x21a592){_0x2a55fa(_0x35044e,_0x21a592,_0xbc416e);};}function __decorate(_0x33b986,_0x4fd7c6,_0x2b2b2b,_0x3a0d69){const _0x10b43e=_0x3b528b;var _0x3f5737=arguments[_0x10b43e(0x165)],_0xd6702b=_0x3f5737<0x3?_0x4fd7c6:_0x3a0d69===null?_0x3a0d69=Object[_0x10b43e(0x194)](_0x4fd7c6,_0x2b2b2b):_0x3a0d69,_0x58a4db;if(typeof Reflect===_0x10b43e(0x17c)&&typeof Reflect[_0x10b43e(0x1bc)]===_0x10b43e(0x1ac))_0xd6702b=Reflect[_0x10b43e(0x1bc)](_0x33b986,_0x4fd7c6,_0x2b2b2b,_0x3a0d69);else{for(var _0x2bd6f8=_0x33b986['length']-0x1;_0x2bd6f8>=0x0;_0x2bd6f8--)if(_0x58a4db=_0x33b986[_0x2bd6f8])_0xd6702b=(_0x3f5737<0x3?_0x58a4db(_0xd6702b):_0x3f5737>0x3?_0x58a4db(_0x4fd7c6,_0x2b2b2b,_0xd6702b):_0x58a4db(_0x4fd7c6,_0x2b2b2b))||_0xd6702b;}return _0x3f5737>0x3&&_0xd6702b&&Object[_0x10b43e(0x1b5)](_0x4fd7c6,_0x2b2b2b,_0xd6702b),_0xd6702b;}const BUILD_TIMESTAMP=Number[_0x3b528b(0x1c1)](0x69ec6f48),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x1ff71e,_0x45afa8,_0x35cdc3)=>{const _0x192207=_0x3b528b,_0x4e73ff={'page':_0x1ff71e,'isPro':![],'timeValid':![]};if(!_0x45afa8||!_0x35cdc3)return _0x4e73ff;const _0x17b308=getLicenseInfo(_0x45afa8,_0x35cdc3);if(_0x17b308[_0x192207(0x16f)]){const _0x271e88=_0x17b308['message'],_0x2cf502=isFeatureAuthorizedWithinTime(_0x271e88,'df',BUILD_TIMESTAMP);_0x4e73ff[_0x192207(0x18a)]=_0x2cf502,_0x4e73ff[_0x192207(0x1ce)]=_0x2cf502,_0x4e73ff[_0x192207(0x157)]=getDocFeatureLimit(_0x271e88,_0x2cf502,_0x192207(0x17f),_0x1ff71e,_0x1ff71e,0x0);}return _0x4e73ff;};let DocPrintService=class DocPrintService extends Disposable{constructor(_0xcf97ac,_0x55f9ed,_0x660feb,_0x1d3234,_0xe164ec){const _0x5c1abf=_0x3b528b;super(),this[_0x5c1abf(0x1ad)]=_0xcf97ac,this[_0x5c1abf(0x1c4)]=_0x55f9ed,this['_injector']=_0x660feb,this[_0x5c1abf(0x19a)]=_0x1d3234,this[_0x5c1abf(0x1c6)]=_0xe164ec;}[_0x3b528b(0x1a2)](_0x3bcd95){const _0x5390d9=_0x3b528b;var _0x3e5375,_0x4fafbc;const {ls:_0x3546d5,pbk:_0x57810c}=(_0x3e5375=this['_configService'][_0x5390d9(0x189)](LS_CONFIG_KEY))!==null&&_0x3e5375!==void 0x0?_0x3e5375:{},_0x38dde8=isLocalCheck()?Number['POSITIVE_INFINITY']:getPrintInfoByLicense(0x1,_0x3546d5,_0x57810c)['page'];if(!this[_0x5390d9(0x1ad)]['getUnit'](_0x3bcd95,UniverInstanceType[_0x5390d9(0x161)]))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0x5e6e75=this[_0x5390d9(0x1c4)][_0x5390d9(0x187)](_0x3bcd95);if(!_0x5e6e75)throw new Error(_0x5390d9(0x17d));const _0x3a522a=(_0x4fafbc=_0x5e6e75[_0x5390d9(0x1a0)](DocSkeletonManagerService)[_0x5390d9(0x158)]()[_0x5390d9(0x14e)]())===null||_0x4fafbc===void 0x0?void 0x0:_0x4fafbc[_0x5390d9(0x186)];if(!_0x3a522a)throw new Error(_0x5390d9(0x170));const _0x8483f2={'width':_0x3a522a[0x0][_0x5390d9(0x1cc)],'height':_0x3a522a[0x0][_0x5390d9(0x1d6)]},_0x2dff45=_0x3a522a['length'],_0x365c1d=Math[_0x5390d9(0x147)](_0x38dde8,_0x2dff45),_0x410438=_0x5e6e75[_0x5390d9(0x159)][_0x5390d9(0x19c)](),_0x12a5e1=document[_0x5390d9(0x176)]('div');_0x12a5e1[_0x5390d9(0x16e)]=PRINT_CONTAINER_CLASS;const _0x54949a=new Array(_0x365c1d)[_0x5390d9(0x1d0)](null)[_0x5390d9(0x156)]((_0x5eb80c,_0x3ce3be)=>{const _0x30aca0=_0x5390d9,_0x2d5e88=new DocPrintPageCanvasView(this[_0x30aca0(0x1b6)],_0x3ce3be,_0x3bcd95,_0x410438);return _0x2d5e88[_0x30aca0(0x1d1)][_0x30aca0(0x16e)]=PRINT_CANVAS_CLASS,_0x2d5e88;});_0x54949a[_0x5390d9(0x14a)](_0x54cdf6=>{const _0x4c9da4=_0x5390d9;_0x12a5e1['appendChild'](_0x54cdf6['container']),_0x54cdf6[_0x4c9da4(0x1d1)]['appendChild'](_0x54cdf6[_0x4c9da4(0x199)]),_0x54cdf6[_0x4c9da4(0x173)]();});const _0x3395c6=createPrintStyle(_0x8483f2['width'],_0x8483f2[_0x5390d9(0x1a7)],PrintDirection[_0x5390d9(0x154)]);return document[_0x5390d9(0x17a)][_0x5390d9(0x160)](_0x3395c6),document[_0x5390d9(0x17a)][_0x5390d9(0x160)](_0x12a5e1),new Promise(_0x53251c=>{setTimeout(()=>{const _0x1e86ec=_0x435b;window[_0x1e86ec(0x179)]=()=>{const _0x47ea22=_0x1e86ec;_0x54949a[_0x47ea22(0x14a)](_0x362679=>{_0x362679['render']();});},window['onafterprint']=()=>{const _0x1b0894=_0x1e86ec;_0x54949a[_0x1b0894(0x14a)](_0x3887dd=>{_0x3887dd['dispose']();}),document[_0x1b0894(0x17a)][_0x1b0894(0x16c)](_0x12a5e1),document[_0x1b0894(0x17a)][_0x1b0894(0x16c)](_0x3395c6),this[_0x1b0894(0x1c6)][_0x1b0894(0x1ca)](),_0x53251c(!![]);},window['print']();},0x64);});}};function _0x3359(){const _0x5eff10=['setId','8825960pokIjG','pageHeight','2188oLxuvE','523346ETTmoN','get','min','_initCommands','div','forEach','_root','mergeMenu','_currentRender','getSkeletonData','prototype','version','_offsetConfig','getInterceptPoints','_scene','Portrait','register','map','page','getSkeleton','mainComponent','100%','_initMenus','Printing','_calculateLayout','OPERATION','call','appendChild','UNIVER_DOC','makeDirty','185Yfqziy','_engine','length','PRINTING_DOM_COLLECT','38472bQqEEg','_paperSize','packageName','5486985ipVwzb','dispose','removeChild','translate','className','valid','Pages\x20are\x20not\x20found','_initRenderer','addObject','prepare','1144xqNzmB','width','createElement','_documents','style','onbeforeprint','body','1957938vyIstb','object','Render\x20is\x20not\x20found','_page','mpn','_config','OTHERS','10jVINsR','0.21.1','_container','2ffRbVQ','pages','getRenderById','onReady','getConfig','isPro','getUnitId','save','__DocPrintRender__','makeForceDirty','default','2973042uJhDaH','left','toPrimitive','menu','getOwnPropertyDescriptor','syncExecuteCommand','UNIVER_DOCS_PRINT','_commandService','bottom','root','_configService','0px','getOffsetConfig','_unitId','iterator','absolute','with','setContainer','print','render','_initComponents','_viewMain','docs.operation.print','height','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','disposeWithMe','PrintIcon','fetchThroughInterceptors','function','_univerInstanceService','_skeleton','onStarting','_menuManagerService','registerCommand','string','right','position','defineProperty','_injector','_key','top','print.menu','setConfig','symbol','decorate','_componentManager','getContext','_skeletonData','pluginName','parseInt','Skeleton\x20data\x20is\x20not\x20found','_addViewport','_renderManagerService','getCurrentUnitOfType','_globalZoneService','updateScrollVal','documentFlavor','restore','close','interceptor','pageWidth','TRADITIONAL','timeValid','_effects','fill','container','getCanvas','_addComponent'];_0x3359=function(){return _0x5eff10;};return _0x3359();}DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);const DocPrintOperation={'id':_0x3b528b(0x1a6),'type':CommandType[_0x3b528b(0x15e)],'handler':async _0x258083=>{const _0x12318f=_0x3b528b,_0x20a288=_0x258083['get'](IUniverInstanceService),_0x27bb7a=_0x258083[_0x12318f(0x146)](DocPrintService),_0x3fb913=_0x258083[_0x12318f(0x146)](IRenderManagerService),_0x459e76=_0x258083[_0x12318f(0x146)](ICommandService),_0x1d1d27=_0x20a288[_0x12318f(0x1c5)](UniverInstanceType[_0x12318f(0x161)]);if(!_0x1d1d27)return![];if(!_0x3fb913['getRenderById'](_0x1d1d27[_0x12318f(0x18b)]()))throw new Error(_0x12318f(0x17d));const _0x385e81=_0x1d1d27['getDocumentStyle']()[_0x12318f(0x1c8)];if(_0x385e81!==DocumentFlavor[_0x12318f(0x1cd)])_0x459e76[_0x12318f(0x195)](SwitchDocModeCommand['id']);await _0x27bb7a[_0x12318f(0x1a2)](_0x1d1d27[_0x12318f(0x18b)]());if(_0x385e81!==DocumentFlavor[_0x12318f(0x1cd)])_0x459e76['syncExecuteCommand'](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0x3b528b(0x196),defaultPluginConfig={};var name='@univerjs-pro/docs-print',version=_0x3b528b(0x183);const DOCS_PRINT_PLUGIN_NAME=_0x3b528b(0x196);function DocPrintMenuItemFactory(_0xd65f7f){const _0x1cd895=_0x3b528b;return{'id':DocPrintOperation['id'],'type':MenuItemType['BUTTON'],'title':_0x1cd895(0x1b9),'icon':_0x1cd895(0x1aa),'tooltip':_0x1cd895(0x1b9),'hidden$':getMenuHiddenObservable(_0xd65f7f,UniverInstanceType[_0x1cd895(0x161)])};}const menuSchema={[RibbonStartGroup[_0x3b528b(0x181)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x42c705,_0x48a41c,_0x28a285){const _0x486133=_0x3b528b;super(),this['_commandService']=_0x42c705,this[_0x486133(0x1b0)]=_0x48a41c,this[_0x486133(0x1bd)]=_0x28a285,this[_0x486133(0x15b)](),this[_0x486133(0x148)](),this[_0x486133(0x1a4)]();}[_0x3b528b(0x15b)](){const _0x5a641b=_0x3b528b;this[_0x5a641b(0x1b0)][_0x5a641b(0x14c)](menuSchema);}[_0x3b528b(0x148)](){const _0x501c82=_0x3b528b;this[_0x501c82(0x1a9)](this[_0x501c82(0x197)][_0x501c82(0x1b1)](DocPrintOperation));}[_0x3b528b(0x1a4)](){const _0x14a585=_0x3b528b;[['PrintIcon',PrintIcon]][_0x14a585(0x14a)](([_0x118652,_0x20a98a])=>{const _0x882b52=_0x14a585;this[_0x882b52(0x1bd)][_0x882b52(0x155)](_0x118652,_0x20a98a);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x3e3a5a=defaultPluginConfig,_0x28d3d1,_0x3108c1){const _0x26c8e2=_0x3b528b;super(),this[_0x26c8e2(0x180)]=_0x3e3a5a,this[_0x26c8e2(0x1b6)]=_0x28d3d1,this['_configService']=_0x3108c1;const {menu:_0x5178a6,..._0x2878ba}=merge({},defaultPluginConfig,this[_0x26c8e2(0x180)]);if(_0x5178a6)this[_0x26c8e2(0x19a)][_0x26c8e2(0x1ba)](_0x26c8e2(0x193),_0x5178a6,{'merge':!![]});this['_configService'][_0x26c8e2(0x1ba)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x2878ba);}[_0x3b528b(0x1af)](){const _0x4badc8=_0x3b528b;registerDependencies(this[_0x4badc8(0x1b6)],[[DocPrintService],[DocsPrintUIController]]);}[_0x3b528b(0x188)](){const _0x2e9876=_0x3b528b;this['_injector'][_0x2e9876(0x146)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x3b528b(0x1c0),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x3b528b(0x169),name),_defineProperty(UniverDocsPrintPlugin,_0x3b528b(0x150),version),_defineProperty(UniverDocsPrintPlugin,'type',UniverInstanceType[_0x3b528b(0x161)]),UniverDocsPrintPlugin=__decorate([DependentOn(UniverNetworkPlugin,UniverLicensePlugin),__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IConfigService)],UniverDocsPrintPlugin);export{DOCS_PRINT_PLUGIN_CONFIG_KEY,DocPrintOperation,UniverDocsPrintPlugin};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x52c723=_0x166f;(function(_0x3184db,_0x1c6efc){const _0x58181f=_0x166f,_0x61c6cd=_0x3184db();while(!![]){try{const _0x465d9c=parseInt(_0x58181f(0x1ed))/0x1+-parseInt(_0x58181f(0x1f5))/0x2*(-parseInt(_0x58181f(0x1f0))/0x3)+parseInt(_0x58181f(0x1f2))/0x4+parseInt(_0x58181f(0x1ee))/0x5*(-parseInt(_0x58181f(0x1f3))/0x6)+parseInt(_0x58181f(0x1f4))/0x7*(parseInt(_0x58181f(0x1f6))/0x8)+parseInt(_0x58181f(0x1ef))/0x9+-parseInt(_0x58181f(0x1f1))/0xa*(parseInt(_0x58181f(0x1f7))/0xb);if(_0x465d9c===_0x1c6efc)break;else _0x61c6cd['push'](_0x61c6cd['shift']());}catch(_0x9cc436){_0x61c6cd['push'](_0x61c6cd['shift']());}}}(_0x50d2,0x862c1));function _0x50d2(){const _0x468a1a=['124048qvRajh','6000203mdFnjo','Print','369089XUxFbQ','10835jNbDlL','3449007jFIuza','14334QnRCtb','10aNvaOi','1775340mIPQej','2166wQbRtD','273pgkbXl','32wAThkT'];_0x50d2=function(){return _0x468a1a;};return _0x50d2();}const locale$1={'print':{'menu':_0x52c723(0x1f8)}},locale=locale$1;function _0x166f(_0x4b9c93,_0x263b56){_0x4b9c93=_0x4b9c93-0x1ed;const _0x50d2b1=_0x50d2();let _0x166fca=_0x50d2b1[_0x4b9c93];return _0x166fca;}export{locale as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x7448(){const _0x1afa7f=['25664BitonK','29514spqOqm','16OROnYm','69017IbRiZa','326116szvhoA','125byMYoa','18987uYclGq','Print','10105300EEiuPR','497OQEYaY','2095083gSwvCX'];_0x7448=function(){return _0x1afa7f;};return _0x7448();}function _0x2f09(_0x185c27,_0x58b527){_0x185c27=_0x185c27-0x99;const _0x7448d3=_0x7448();let _0x2f098e=_0x7448d3[_0x185c27];return _0x2f098e;}const _0x14fdf3=_0x2f09;(function(_0x30e260,_0x5260a3){const _0xb94cb4=_0x2f09,_0x19454a=_0x30e260();while(!![]){try{const _0x95e2e5=-parseInt(_0xb94cb4(0xa2))/0x1+-parseInt(_0xb94cb4(0xa3))/0x2+-parseInt(_0xb94cb4(0x9a))/0x3*(parseInt(_0xb94cb4(0xa1))/0x4)+parseInt(_0xb94cb4(0x99))/0x5*(-parseInt(_0xb94cb4(0xa0))/0x6)+parseInt(_0xb94cb4(0x9d))/0x7*(-parseInt(_0xb94cb4(0x9f))/0x8)+-parseInt(_0xb94cb4(0x9e))/0x9+parseInt(_0xb94cb4(0x9c))/0xa;if(_0x95e2e5===_0x5260a3)break;else _0x19454a['push'](_0x19454a['shift']());}catch(_0x40f585){_0x19454a['push'](_0x19454a['shift']());}}}(_0x7448,0x29689));const locale={'print':{'menu':_0x14fdf3(0x9b)}};export{locale as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2cd597=_0x22de;function _0x22de(_0x262705,_0x123660){_0x262705=_0x262705-0x64;const _0x24daf6=_0x24da();let _0x22de4f=_0x24daf6[_0x262705];return _0x22de4f;}(function(_0x8e1f46,_0x27b1dd){const _0x2a584b=_0x22de,_0x5ea09f=_0x8e1f46();while(!![]){try{const _0x4bffdf=parseInt(_0x2a584b(0x6c))/0x1*(-parseInt(_0x2a584b(0x6e))/0x2)+parseInt(_0x2a584b(0x64))/0x3*(parseInt(_0x2a584b(0x6a))/0x4)+parseInt(_0x2a584b(0x6d))/0x5+parseInt(_0x2a584b(0x66))/0x6+-parseInt(_0x2a584b(0x65))/0x7+-parseInt(_0x2a584b(0x6b))/0x8+parseInt(_0x2a584b(0x69))/0x9*(-parseInt(_0x2a584b(0x67))/0xa);if(_0x4bffdf===_0x27b1dd)break;else _0x5ea09f['push'](_0x5ea09f['shift']());}catch(_0x5dc494){_0x5ea09f['push'](_0x5ea09f['shift']());}}}(_0x24da,0x31aa9));const locale$1={'print':{'menu':_0x2cd597(0x68)}},locale=locale$1;function _0x24da(){const _0x306390=['225696sYVcYF','1141jaAImq','1994155bsYKcW','14vULHTz','3zzoVjL','861294oFiJoQ','1883934SJxcEi','5646870cbQLaU','Print','9bAMWCg','858164TtOxyD'];_0x24da=function(){return _0x306390;};return _0x24da();}export{locale as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5063(_0x44f5f8,_0x428d07){_0x44f5f8=_0x44f5f8-0xd1;const _0x6f28db=_0x6f28();let _0x506363=_0x6f28db[_0x44f5f8];return _0x506363;}(function(_0x182ee4,_0x3c592d){const _0xffafc0=_0x5063,_0x53c942=_0x182ee4();while(!![]){try{const _0x28cb7b=-parseInt(_0xffafc0(0xda))/0x1*(-parseInt(_0xffafc0(0xd6))/0x2)+parseInt(_0xffafc0(0xd3))/0x3+parseInt(_0xffafc0(0xd2))/0x4*(-parseInt(_0xffafc0(0xd4))/0x5)+-parseInt(_0xffafc0(0xd8))/0x6*(-parseInt(_0xffafc0(0xdb))/0x7)+-parseInt(_0xffafc0(0xd7))/0x8*(parseInt(_0xffafc0(0xd9))/0x9)+parseInt(_0xffafc0(0xd5))/0xa+-parseInt(_0xffafc0(0xd1))/0xb;if(_0x28cb7b===_0x3c592d)break;else _0x53c942['push'](_0x53c942['shift']());}catch(_0x296115){_0x53c942['push'](_0x53c942['shift']());}}}(_0x6f28,0x32d7a));const locale={'print':{'menu':'چاپ'}};export{locale as default};function _0x6f28(){const _0x24283e=['30ZuNVZn','2297450bFhpcC','28iytiUB','30360zOLOcW','4638csMVod','288OaeEjk','17824TqxuvA','3717jMSgFZ','6495346UETjvG','128764iVXsbC','670734neyPsQ'];_0x6f28=function(){return _0x24283e;};return _0x6f28();}
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x828f(){const _0x1c0e17=['2733008WjwPLW','33383PlytIs','1032219kCbFgX','848dngqtD','6405273rCQrrq','194890tSSsaH','50GHamNF','30oPWJWA','4020mVJrdv','1869508WzgQqh','Imprimer'];_0x828f=function(){return _0x1c0e17;};return _0x828f();}const _0x4d15fa=_0x4f02;function _0x4f02(_0x39d2d5,_0x5e3384){_0x39d2d5=_0x39d2d5-0x1b4;const _0x828fa4=_0x828f();let _0x4f02b4=_0x828fa4[_0x39d2d5];return _0x4f02b4;}(function(_0x380c83,_0x5dd69f){const _0x23e793=_0x4f02,_0x40c2e4=_0x380c83();while(!![]){try{const _0x3d5109=parseInt(_0x23e793(0x1b4))/0x1+parseInt(_0x23e793(0x1b6))/0x2*(parseInt(_0x23e793(0x1bb))/0x3)+-parseInt(_0x23e793(0x1bc))/0x4+parseInt(_0x23e793(0x1b8))/0x5*(-parseInt(_0x23e793(0x1ba))/0x6)+parseInt(_0x23e793(0x1b7))/0x7+parseInt(_0x23e793(0x1be))/0x8+parseInt(_0x23e793(0x1b5))/0x9*(-parseInt(_0x23e793(0x1b9))/0xa);if(_0x3d5109===_0x5dd69f)break;else _0x40c2e4['push'](_0x40c2e4['shift']());}catch(_0x506075){_0x40c2e4['push'](_0x40c2e4['shift']());}}}(_0x828f,0x97f96));const locale={'print':{'menu':_0x4d15fa(0x1bd)}};export{locale as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x397d(){const _0x41f4da=['2890145jHFtvi','2606928WDLIil','4wZFQmS','10880856UcHPpL','1359052TovZsH','15769210BqUPwE','7cwUVXy','1170dPdAJR','1374KhwFSP','7988136LBJjSr'];_0x397d=function(){return _0x41f4da;};return _0x397d();}function _0x58d4(_0x3e9592,_0x5d54c9){_0x3e9592=_0x3e9592-0x1b1;const _0x397daf=_0x397d();let _0x58d48c=_0x397daf[_0x3e9592];return _0x58d48c;}(function(_0x579378,_0x5a5f9b){const _0x2055f1=_0x58d4,_0x622160=_0x579378();while(!![]){try{const _0x76e542=-parseInt(_0x2055f1(0x1b8))/0x1+parseInt(_0x2055f1(0x1b1))/0x2*(-parseInt(_0x2055f1(0x1b2))/0x3)+-parseInt(_0x2055f1(0x1b6))/0x4*(-parseInt(_0x2055f1(0x1b4))/0x5)+parseInt(_0x2055f1(0x1b5))/0x6*(parseInt(_0x2055f1(0x1ba))/0x7)+parseInt(_0x2055f1(0x1b3))/0x8+-parseInt(_0x2055f1(0x1b7))/0x9+parseInt(_0x2055f1(0x1b9))/0xa;if(_0x76e542===_0x5a5f9b)break;else _0x622160['push'](_0x622160['shift']());}catch(_0x585724){_0x622160['push'](_0x622160['shift']());}}}(_0x397d,0xb7975));const locale={'print':{'menu':'印刷'}};export{locale as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5e1c12,_0x2c4396){const _0x4e5bd9=_0x1aca,_0xfa20e7=_0x5e1c12();while(!![]){try{const _0x6270bb=-parseInt(_0x4e5bd9(0x145))/0x1+-parseInt(_0x4e5bd9(0x146))/0x2*(-parseInt(_0x4e5bd9(0x144))/0x3)+parseInt(_0x4e5bd9(0x143))/0x4+-parseInt(_0x4e5bd9(0x141))/0x5*(-parseInt(_0x4e5bd9(0x142))/0x6)+-parseInt(_0x4e5bd9(0x140))/0x7+-parseInt(_0x4e5bd9(0x13f))/0x8+parseInt(_0x4e5bd9(0x13e))/0x9;if(_0x6270bb===_0x2c4396)break;else _0xfa20e7['push'](_0xfa20e7['shift']());}catch(_0x18373a){_0xfa20e7['push'](_0xfa20e7['shift']());}}}(_0x1e57,0xaa7ef));const locale={'print':{'menu':'인쇄'}};function _0x1e57(){const _0x494688=['9801312yHNnpc','6868757PdEiZa','70BeONbT','108456VjWMAi','4158784LZblDA','2147229LITxDm','1330279ydDXNR','2nsZyOM','20038878fpHCbE'];_0x1e57=function(){return _0x494688;};return _0x1e57();}function _0x1aca(_0x1e6c58,_0x5ef4c7){_0x1e6c58=_0x1e6c58-0x13e;const _0x1e5711=_0x1e57();let _0x1aca87=_0x1e5711[_0x1e6c58];return _0x1aca87;}export{locale as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2d9b(_0x1cd684,_0x325d53){_0x1cd684=_0x1cd684-0x1a6;const _0x3e4cdd=_0x3e4c();let _0x2d9bc1=_0x3e4cdd[_0x1cd684];return _0x2d9bc1;}const _0x3f7f4d=_0x2d9b;function _0x3e4c(){const _0x4c9dbb=['20uWeJHc','1764120JpTBGn','5841fOoMhW','Печать','76488EbbBer','4113qiynIB','7SlcMoW','14968lRFTxz','954696KFILDy','2fBFjVY','1986366vJYdEi','261160SgGpqg','1670860dgRfpy'];_0x3e4c=function(){return _0x4c9dbb;};return _0x3e4c();}(function(_0x26ebe8,_0x38c435){const _0xd7e144=_0x2d9b,_0x61b8b9=_0x26ebe8();while(!![]){try{const _0x447e77=parseInt(_0xd7e144(0x1aa))/0x1*(parseInt(_0xd7e144(0x1af))/0x2)+parseInt(_0xd7e144(0x1a9))/0x3+parseInt(_0xd7e144(0x1ad))/0x4*(parseInt(_0xd7e144(0x1ae))/0x5)+parseInt(_0xd7e144(0x1ab))/0x6*(-parseInt(_0xd7e144(0x1a7))/0x7)+-parseInt(_0xd7e144(0x1a8))/0x8*(-parseInt(_0xd7e144(0x1a6))/0x9)+parseInt(_0xd7e144(0x1ac))/0xa+-parseInt(_0xd7e144(0x1b0))/0xb*(parseInt(_0xd7e144(0x1b2))/0xc);if(_0x447e77===_0x38c435)break;else _0x61b8b9['push'](_0x61b8b9['shift']());}catch(_0x521610){_0x61b8b9['push'](_0x61b8b9['shift']());}}}(_0x3e4c,0xe04c0));const locale={'print':{'menu':_0x3f7f4d(0x1b1)}};export{locale as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1501e3=_0x2bce;function _0x2bce(_0x137804,_0xd47b93){_0x137804=_0x137804-0x116;const _0x157829=_0x1578();let _0x2bce04=_0x157829[_0x137804];return _0x2bce04;}(function(_0x9a8b4b,_0x3191f1){const _0x55daac=_0x2bce,_0x2a39c7=_0x9a8b4b();while(!![]){try{const _0x32c3d5=parseInt(_0x55daac(0x116))/0x1+parseInt(_0x55daac(0x11b))/0x2+parseInt(_0x55daac(0x119))/0x3+-parseInt(_0x55daac(0x11a))/0x4+-parseInt(_0x55daac(0x117))/0x5+parseInt(_0x55daac(0x11e))/0x6*(parseInt(_0x55daac(0x11c))/0x7)+parseInt(_0x55daac(0x11f))/0x8*(-parseInt(_0x55daac(0x118))/0x9);if(_0x32c3d5===_0x3191f1)break;else _0x2a39c7['push'](_0x2a39c7['shift']());}catch(_0x13c401){_0x2a39c7['push'](_0x2a39c7['shift']());}}}(_0x1578,0x58e67));const locale={'print':{'menu':_0x1501e3(0x11d)}};export{locale as default};function _0x1578(){const _0x92bb46=['1149168EtGYlk','421948fhebRK','374339lzVhTX','Tlač','6vXUJuX','16496MILmYe','497115mTbKRj','698285areVeS','99RSZkkf','156600udWdgZ'];_0x1578=function(){return _0x92bb46;};return _0x1578();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1edf(){const _0x4fc432=['8XXbQik','1404MKOjhf','29090oNmkPQ','1484245uxZWHe','114OLdtKr','279jOWNeY','386isrQzZ','88592EnENKA','104725PqLCcp','18282lJKIwa','6753iLPOpP','1465312fProjA'];_0x1edf=function(){return _0x4fc432;};return _0x1edf();}(function(_0x1d6a1a,_0xa70137){const _0x3fe52f=_0x11d3,_0xd811aa=_0x1d6a1a();while(!![]){try{const _0x4c33ea=parseInt(_0x3fe52f(0x184))/0x1+-parseInt(_0x3fe52f(0x183))/0x2*(-parseInt(_0x3fe52f(0x187))/0x3)+-parseInt(_0x3fe52f(0x188))/0x4+parseInt(_0x3fe52f(0x185))/0x5*(parseInt(_0x3fe52f(0x181))/0x6)+parseInt(_0x3fe52f(0x180))/0x7*(-parseInt(_0x3fe52f(0x189))/0x8)+-parseInt(_0x3fe52f(0x182))/0x9*(-parseInt(_0x3fe52f(0x18b))/0xa)+parseInt(_0x3fe52f(0x186))/0xb*(-parseInt(_0x3fe52f(0x18a))/0xc);if(_0x4c33ea===_0xa70137)break;else _0xd811aa['push'](_0xd811aa['shift']());}catch(_0x50c6c4){_0xd811aa['push'](_0xd811aa['shift']());}}}(_0x1edf,0x3a310));const locale={'print':{'menu':'In'}};function _0x11d3(_0x188c51,_0x414cd6){_0x188c51=_0x188c51-0x180;const _0x1edfba=_0x1edf();let _0x11d34d=_0x1edfba[_0x188c51];return _0x11d34d;}export{locale as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4314(){const _0x14802b=['385908LDgPPf','1053800AWBAVm','277773bmvxhs','186oIIwyX','10407KYHFjY','17611pllABG','2187423vgjfZn','8420VYvNAh','2268132VLTFDU','5oAnszs','45MLmbwC'];_0x4314=function(){return _0x14802b;};return _0x4314();}(function(_0x3bc999,_0x3191a9){const _0x5dd37c=_0x3c14,_0x266913=_0x3bc999();while(!![]){try{const _0x3ac553=-parseInt(_0x5dd37c(0x112))/0x1+parseInt(_0x5dd37c(0x113))/0x2*(-parseInt(_0x5dd37c(0x114))/0x3)+parseInt(_0x5dd37c(0x118))/0x4+parseInt(_0x5dd37c(0x10e))/0x5*(parseInt(_0x5dd37c(0x110))/0x6)+-parseInt(_0x5dd37c(0x116))/0x7+-parseInt(_0x5dd37c(0x111))/0x8*(parseInt(_0x5dd37c(0x10f))/0x9)+-parseInt(_0x5dd37c(0x117))/0xa*(-parseInt(_0x5dd37c(0x115))/0xb);if(_0x3ac553===_0x3191a9)break;else _0x266913['push'](_0x266913['shift']());}catch(_0x29b618){_0x266913['push'](_0x266913['shift']());}}}(_0x4314,0x63951));function _0x3c14(_0x92c7e1,_0x24059d){_0x92c7e1=_0x92c7e1-0x10e;const _0x4314cc=_0x4314();let _0x3c1407=_0x4314cc[_0x92c7e1];return _0x3c1407;}const locale={'print':{'menu':'打印'}};export{locale as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5c8455,_0x3476a1){const _0x218bbf=_0x209a,_0x42d61b=_0x5c8455();while(!![]){try{const _0x1fe4ff=parseInt(_0x218bbf(0x1e9))/0x1*(-parseInt(_0x218bbf(0x1e3))/0x2)+parseInt(_0x218bbf(0x1eb))/0x3*(parseInt(_0x218bbf(0x1e5))/0x4)+-parseInt(_0x218bbf(0x1e4))/0x5+-parseInt(_0x218bbf(0x1e7))/0x6*(parseInt(_0x218bbf(0x1ec))/0x7)+-parseInt(_0x218bbf(0x1e6))/0x8*(-parseInt(_0x218bbf(0x1e0))/0x9)+-parseInt(_0x218bbf(0x1e2))/0xa*(-parseInt(_0x218bbf(0x1ea))/0xb)+-parseInt(_0x218bbf(0x1e8))/0xc*(-parseInt(_0x218bbf(0x1e1))/0xd);if(_0x1fe4ff===_0x3476a1)break;else _0x42d61b['push'](_0x42d61b['shift']());}catch(_0x4dfca2){_0x42d61b['push'](_0x42d61b['shift']());}}}(_0x13e2,0x4c81e));function _0x13e2(){const _0x3bc684=['2971524irPYzk','3AfAaOv','11ofnPDP','3OUfvfb','3592505bJgneX','234qHxWUE','39NdVBaL','2878270tSAdwP','203380fqRnfn','678535aQSclv','11672yuYmxC','71920gDXlvR','6SEFyVV'];_0x13e2=function(){return _0x3bc684;};return _0x13e2();}function _0x209a(_0x2389a5,_0x48348c){_0x2389a5=_0x2389a5-0x1e0;const _0x13e209=_0x13e2();let _0x209a84=_0x13e209[_0x2389a5];return _0x209a84;}const locale={'print':{'menu':'列印'}};export{locale as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4f2b(_0x130bd0,_0xd2290){_0x130bd0=_0x130bd0-0xa4;const _0x54b830=_0x54b8();let _0x4f2b61=_0x54b830[_0x130bd0];return _0x4f2b61;}(function(_0x4cb086,_0x1ff979){const _0x22a15f=_0x4f2b,_0x247e46=_0x4cb086();while(!![]){try{const _0x1be923=parseInt(_0x22a15f(0xb3))/0x1*(-parseInt(_0x22a15f(0x12e))/0x2)+parseInt(_0x22a15f(0xd4))/0x3+-parseInt(_0x22a15f(0x105))/0x4+parseInt(_0x22a15f(0xf3))/0x5+parseInt(_0x22a15f(0x116))/0x6*(parseInt(_0x22a15f(0x178))/0x7)+parseInt(_0x22a15f(0xb5))/0x8*(parseInt(_0x22a15f(0x104))/0x9)+-parseInt(_0x22a15f(0xd8))/0xa*(parseInt(_0x22a15f(0x11b))/0xb);if(_0x1be923===_0x1ff979)break;else _0x247e46['push'](_0x247e46['shift']());}catch(_0x3ac64f){_0x247e46['push'](_0x247e46['shift']());}}}(_0x54b8,0x8ed61),function(_0x49aac6,_0xd100e3){const _0x1c2160=_0x4f2b;typeof exports==_0x1c2160(0x138)&&typeof module<'u'?_0xd100e3(exports,require(`@univerjs/core`),require(`@univerjs/docs-ui`),require(`@univerjs/engine-render`),require(`@univerjs-pro/license`),require(`@univerjs-pro/print`),require(`@univerjs/docs`),require(`@univerjs/ui`),require(`@univerjs/network`),require(`react`)):typeof define=='function'&&define[_0x1c2160(0xcc)]?define([_0x1c2160(0xfc),_0x1c2160(0x135),_0x1c2160(0x180),'@univerjs/engine-render',_0x1c2160(0xc4),_0x1c2160(0x11d),'@univerjs/docs',_0x1c2160(0x108),_0x1c2160(0xdd),_0x1c2160(0x181)],_0xd100e3):(_0x49aac6=typeof globalThis<'u'?globalThis:_0x49aac6||self,_0xd100e3(_0x49aac6[_0x1c2160(0x157)]={},_0x49aac6[_0x1c2160(0x13a)],_0x49aac6[_0x1c2160(0xe2)],_0x49aac6[_0x1c2160(0x141)],_0x49aac6[_0x1c2160(0x113)],_0x49aac6[_0x1c2160(0x13b)],_0x49aac6['UniverDocs'],_0x49aac6[_0x1c2160(0xf6)],_0x49aac6[_0x1c2160(0xe5)],_0x49aac6[_0x1c2160(0x110)]));}(this,function(_0x2b2c1d,_0x23addd,_0x3b8ca1,_0x1bfa1b,_0x254a49,_0x539cdc,_0x46afaf,_0x299073,_0x2e8374,_0x24c074){const _0x27feb1=_0x4f2b;Object[_0x27feb1(0x144)](_0x2b2c1d,Symbol[_0x27feb1(0x15d)],{'value':'Module'});function _0x3db6b7(_0x49444c){'@babel/helpers - typeof';const _0x1ba8c9=_0x27feb1;return _0x3db6b7=typeof Symbol==_0x1ba8c9(0x11f)&&typeof Symbol['iterator']==_0x1ba8c9(0x171)?function(_0x556309){return typeof _0x556309;}:function(_0x38f02d){const _0x1e7bed=_0x1ba8c9;return _0x38f02d&&typeof Symbol=='function'&&_0x38f02d[_0x1e7bed(0xfb)]===Symbol&&_0x38f02d!==Symbol[_0x1e7bed(0x10f)]?'symbol':typeof _0x38f02d;},_0x3db6b7(_0x49444c);}function _0x892889(_0x379026,_0x57b006){const _0x190a0f=_0x27feb1;if(_0x3db6b7(_0x379026)!=_0x190a0f(0x138)||!_0x379026)return _0x379026;var _0x374245=_0x379026[Symbol[_0x190a0f(0x14a)]];if(_0x374245!==void 0x0){var _0x7a4950=_0x374245[_0x190a0f(0x162)](_0x379026,_0x57b006||_0x190a0f(0x177));if(_0x3db6b7(_0x7a4950)!=_0x190a0f(0x138))return _0x7a4950;throw TypeError(_0x190a0f(0xc5));}return(_0x57b006==='string'?String:Number)(_0x379026);}function _0x361205(_0x4fe055){var _0x1fca1e=_0x892889(_0x4fe055,'string');return _0x3db6b7(_0x1fca1e)=='symbol'?_0x1fca1e:_0x1fca1e+'';}function _0x560c53(_0x27a842,_0x12c1f2,_0x4a8a09){const _0x22aa02=_0x27feb1;return(_0x12c1f2=_0x361205(_0x12c1f2))in _0x27a842?Object[_0x22aa02(0x144)](_0x27a842,_0x12c1f2,{'value':_0x4a8a09,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27a842[_0x12c1f2]=_0x4a8a09,_0x27a842;}var _0x1fc6c9=class extends _0x23addd[_0x27feb1(0xda)]{get[_0x27feb1(0x121)](){const _0x2ca5ad=_0x27feb1;return this[_0x2ca5ad(0x115)];}get['root'](){const _0x68126f=_0x27feb1;return this[_0x68126f(0x182)];}get[_0x27feb1(0x147)](){const _0x3377cd=_0x27feb1;let _0x5ba6c0=this['_injector'][_0x3377cd(0xc9)](_0x1bfa1b[_0x3377cd(0x15b)])[_0x3377cd(0x12a)](this[_0x3377cd(0x176)]);if(!_0x5ba6c0)throw Error(_0x3377cd(0x17c));return _0x5ba6c0;}get[_0x27feb1(0x139)](){const _0x533119=_0x27feb1;return this['_currentRender'][_0x533119(0xd1)](_0x46afaf[_0x533119(0xe1)])[_0x533119(0x153)]();}get[_0x27feb1(0x14f)](){const _0x543f96=_0x27feb1;let _0x16e01c=this[_0x543f96(0x139)]['getSkeletonData']();if(!_0x16e01c)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x16e01c;}get[_0x27feb1(0x179)](){const _0x26ae1f=_0x27feb1;let _0x18acb3=this['_skeletonData']['pages'][0x0];return{'width':_0x18acb3[_0x26ae1f(0x12c)],'height':_0x18acb3[_0x26ae1f(0x165)]};}constructor(_0x58236b,_0x27aad0,_0x310e0e,_0x432606){const _0x1a3dc4=_0x27feb1;super(),this[_0x1a3dc4(0x134)]=_0x58236b,this['_page']=_0x27aad0,this['_unitId']=_0x310e0e,this[_0x1a3dc4(0xb2)]=_0x432606,_0x560c53(this,_0x1a3dc4(0x115),document['createElement'](_0x1a3dc4(0x15e))),_0x560c53(this,_0x1a3dc4(0x182),document[_0x1a3dc4(0x127)]('div')),_0x560c53(this,_0x1a3dc4(0xd9),void 0x0),_0x560c53(this,_0x1a3dc4(0x136),void 0x0),_0x560c53(this,_0x1a3dc4(0x103),void 0x0),_0x560c53(this,_0x1a3dc4(0xd7),void 0x0),_0x560c53(this,'_viewMain',void 0x0),_0x560c53(this,_0x1a3dc4(0xe4),new _0x23addd[(_0x1a3dc4(0xdb))]()),this[_0x1a3dc4(0x103)]=(0x0,_0x23addd['generateRandomId'])(0x4),this[_0x1a3dc4(0x14b)](),this['disposeWithMe']({'dispose':()=>{const _0x38fbfe=_0x1a3dc4;this[_0x38fbfe(0xd9)][_0x38fbfe(0xbc)](),this['_scene'][_0x38fbfe(0xbc)](),this[_0x38fbfe(0xe4)]['dispose']();}});}[_0x27feb1(0xa9)](){const _0x5c97eb=_0x27feb1;let {docsTop:_0x523bd3,docsLeft:_0x4ab146}=this[_0x5c97eb(0xd7)]['getOffsetConfig'](),_0x3d0ee4=this['_paperSize'][_0x5c97eb(0x130)],_0x410e3b=this[_0x5c97eb(0x179)][_0x5c97eb(0x14d)];return{'top':_0x523bd3+(_0x523bd3+_0x3d0ee4)*this['_page'],'bottom':_0x523bd3+(_0x523bd3+_0x3d0ee4)*(this['_page']+0x1),'left':_0x4ab146,'right':_0x4ab146+_0x410e3b};}[_0x27feb1(0x14b)](){const _0x1abf39=_0x27feb1;this[_0x1abf39(0xd9)]=new _0x1bfa1b['Engine']('',{'elementWidth':this[_0x1abf39(0x179)][_0x1abf39(0x14d)],'elementHeight':this['_paperSize'][_0x1abf39(0x130)],'dpr':0x1,'renderMode':_0x1bfa1b['CanvasRenderMode'][_0x1abf39(0x15c)]}),this[_0x1abf39(0x136)]=new _0x1bfa1b[(_0x1abf39(0x159))](this[_0x1abf39(0x103)],this[_0x1abf39(0xd9)]),this['_scene'][_0x1abf39(0xaa)](0x1,0x1),this['_engine'][_0x1abf39(0xca)](this[_0x1abf39(0x115)],!0x1),this[_0x1abf39(0xd9)]['getCanvas']()['getContext']()['setId'](this['_key']+'_'+(0x0,_0x23addd[_0x1abf39(0x169)])(0x4)),this[_0x1abf39(0xbf)](),this[_0x1abf39(0xfa)]();}[_0x27feb1(0xbf)](){const _0x5936f5=_0x27feb1;let {pageMarginLeft:_0x597c1b,pageMarginTop:_0x36b6b6,docsLeft:_0x44086d,docsTop:_0x1d5298}=this['_offsetConfig'],_0xee51eb={'pageMarginLeft':_0x597c1b,'pageMarginTop':_0x36b6b6},_0x9064aa=new _0x1bfa1b[(_0x5936f5(0x10a))]('__DocPrintRender__',this['_skeleton'],_0xee51eb);_0x9064aa[_0x5936f5(0x131)](_0x44086d,_0x1d5298),this[_0x5936f5(0x136)]['addObject'](_0x9064aa),this[_0x5936f5(0xd7)]=_0x9064aa;let _0x790286=this['_injector'][_0x5936f5(0xc9)](_0x3b8ca1[_0x5936f5(0x124)]);_0x790286[_0x5936f5(0xec)]['fetchThroughInterceptors'](_0x790286['interceptor'][_0x5936f5(0xdc)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x5936f5(0x136)],'engine':this['_engine'],'root':this[_0x5936f5(0x182)],'documents':this[_0x5936f5(0xd7)],'skeleton':this[_0x5936f5(0x139)]});}[_0x27feb1(0xfa)](){const _0x1bd8fb=_0x27feb1;this[_0x1bd8fb(0xce)]=new _0x1bfa1b['Viewport'](_0x3b8ca1[_0x1bd8fb(0x117)][_0x1bd8fb(0xaf)],this[_0x1bd8fb(0x136)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x27feb1(0x120)](){const _0x55bc1f=_0x27feb1;let _0xc8c176=this[_0x55bc1f(0xa9)]();this[_0x55bc1f(0xce)]['updateScrollVal']({'viewportScrollX':_0xc8c176['left'],'viewportScrollY':_0xc8c176[_0x55bc1f(0x114)]}),this[_0x55bc1f(0x182)][_0x55bc1f(0x13c)]['position']=_0x55bc1f(0x11c),this[_0x55bc1f(0x182)][_0x55bc1f(0x13c)][_0x55bc1f(0x114)]=_0x55bc1f(0x13f),this['_root'][_0x55bc1f(0x13c)][_0x55bc1f(0xbd)]=_0x55bc1f(0x13f),this['_root'][_0x55bc1f(0x13c)][_0x55bc1f(0x14d)]='100%',this['_root'][_0x55bc1f(0x13c)][_0x55bc1f(0x130)]=_0x55bc1f(0x158),this[_0x55bc1f(0xe4)]=new _0x23addd[(_0x55bc1f(0xdb))]();let _0x2ee90c=this[_0x55bc1f(0x134)][_0x55bc1f(0xc9)](_0x3b8ca1[_0x55bc1f(0x124)]);_0x2ee90c[_0x55bc1f(0xec)][_0x55bc1f(0x132)](_0x2ee90c[_0x55bc1f(0xec)][_0x55bc1f(0xdc)]()[_0x55bc1f(0xc8)])(this[_0x55bc1f(0xe4)],{'unitId':this[_0x55bc1f(0x176)],'scene':this['_scene'],'engine':this['_engine'],'root':this['_root'],'skeleton':this[_0x55bc1f(0x139)],'offset':{'x':_0xc8c176[_0x55bc1f(0xbd)],'y':_0xc8c176[_0x55bc1f(0x114)]},'bound':{'top':_0xc8c176[_0x55bc1f(0x114)],'left':_0xc8c176[_0x55bc1f(0xbd)],'right':_0xc8c176[_0x55bc1f(0x16e)],'bottom':_0xc8c176[_0x55bc1f(0xdf)]}});}[_0x27feb1(0x160)](){const _0xdcab92=_0x27feb1;let _0x5ea6da=this[_0xdcab92(0xd9)][_0xdcab92(0xbe)]()['getContext']();this[_0xdcab92(0xd7)][_0xdcab92(0x146)](),this['_scene'][_0xdcab92(0xff)](),_0x5ea6da[_0xdcab92(0xcf)](),this[_0xdcab92(0x136)]['render'](),_0x5ea6da[_0xdcab92(0xc3)]();}};function _0x49c56f(_0x6e623d,_0x99d67b){return function(_0x242ad3,_0x498d16){_0x99d67b(_0x242ad3,_0x498d16,_0x6e623d);};}function _0x1ecdc6(_0x9ee96d,_0x261064,_0x214c10,_0x4ab98a){const _0x5a039b=_0x27feb1;var _0x121701=arguments[_0x5a039b(0xcb)],_0x41fdc5=_0x121701<0x3?_0x261064:_0x4ab98a===null?_0x4ab98a=Object['getOwnPropertyDescriptor'](_0x261064,_0x214c10):_0x4ab98a,_0x50567a;if(typeof Reflect==_0x5a039b(0x138)&&typeof Reflect[_0x5a039b(0xb7)]=='function')_0x41fdc5=Reflect['decorate'](_0x9ee96d,_0x261064,_0x214c10,_0x4ab98a);else{for(var _0x3a9702=_0x9ee96d[_0x5a039b(0xcb)]-0x1;_0x3a9702>=0x0;_0x3a9702--)(_0x50567a=_0x9ee96d[_0x3a9702])&&(_0x41fdc5=(_0x121701<0x3?_0x50567a(_0x41fdc5):_0x121701>0x3?_0x50567a(_0x261064,_0x214c10,_0x41fdc5):_0x50567a(_0x261064,_0x214c10))||_0x41fdc5);}return _0x121701>0x3&&_0x41fdc5&&Object[_0x5a039b(0x144)](_0x261064,_0x214c10,_0x41fdc5),_0x41fdc5;}let _0x55ad9c=Number[_0x27feb1(0xc0)](0x69e3503e),_0x3d48b8=(_0x4888f8,_0x33a9e8,_0x377cff)=>{const _0x528a59=_0x27feb1;let _0x2a1272={'page':_0x4888f8,'isPro':!0x1,'timeValid':!0x1};if(!_0x33a9e8||!_0x377cff)return _0x2a1272;let _0x596ea2=(0x0,_0x254a49[_0x528a59(0xed)])(_0x33a9e8,_0x377cff);if(_0x596ea2['valid']){let _0x485214=_0x596ea2[_0x528a59(0x16f)],_0x167c7a=(0x0,_0x254a49['isFeatureAuthorizedWithinTime'])(_0x485214,'df',_0x55ad9c);_0x2a1272['isPro']=_0x167c7a,_0x2a1272[_0x528a59(0x125)]=_0x167c7a,_0x2a1272['page']=(0x0,_0x254a49['getDocFeatureLimit'])(_0x485214,_0x167c7a,_0x528a59(0x109),_0x4888f8,_0x4888f8,0x0);}return _0x2a1272;},_0x527926=class extends _0x23addd[_0x27feb1(0xda)]{constructor(_0x3f782d,_0x4ad811,_0x52c77f,_0x25ebf8,_0x378dfb){const _0x1041c2=_0x27feb1;super(),this['_univerInstanceService']=_0x3f782d,this[_0x1041c2(0x101)]=_0x4ad811,this[_0x1041c2(0x134)]=_0x52c77f,this[_0x1041c2(0x14c)]=_0x25ebf8,this[_0x1041c2(0xae)]=_0x378dfb;}[_0x27feb1(0x175)](_0x1b8d6b){const _0xc5086c=_0x27feb1;var _0xf62f48,_0x3c1b07;let {ls:_0x526763,pbk:_0x33c8bd}=(_0xf62f48=this[_0xc5086c(0x14c)][_0xc5086c(0x122)](_0x254a49[_0xc5086c(0x112)]))==null?{}:_0xf62f48,_0x3dcedd=(0x0,_0x254a49[_0xc5086c(0x128)])()?0x1/0x0:_0x3d48b8(0x1,_0x526763,_0x33c8bd)[_0xc5086c(0x17f)];if(!this['_univerInstanceService'][_0xc5086c(0x16b)](_0x1b8d6b,_0x23addd[_0xc5086c(0x129)][_0xc5086c(0x137)]))throw Error(_0xc5086c(0x10e));let _0xa70c8b=this[_0xc5086c(0x101)][_0xc5086c(0x12a)](_0x1b8d6b);if(!_0xa70c8b)throw Error(_0xc5086c(0x17c));let _0x21400b=(_0x3c1b07=_0xa70c8b[_0xc5086c(0xd1)](_0x46afaf['DocSkeletonManagerService'])['getSkeleton']()[_0xc5086c(0x100)]())==null?void 0x0:_0x3c1b07[_0xc5086c(0xad)];if(!_0x21400b)throw Error('Pages\x20are\x20not\x20found');let _0x42ad47={'width':_0x21400b[0x0][_0xc5086c(0x12c)],'height':_0x21400b[0x0][_0xc5086c(0x165)]},_0x2bc85c=_0x21400b[_0xc5086c(0xcb)],_0x1a4ba5=Math[_0xc5086c(0xee)](_0x3dcedd,_0x2bc85c),_0x18a1f1=_0xa70c8b[_0xc5086c(0x150)]['getOffsetConfig'](),_0x403f0c=document[_0xc5086c(0x127)](_0xc5086c(0x15e));_0x403f0c['className']=_0x539cdc[_0xc5086c(0xf5)];let _0x35de2d=Array(_0x1a4ba5)['fill'](null)[_0xc5086c(0xf4)]((_0x878f73,_0x2e3a98)=>{const _0x1617fb=_0xc5086c;let _0x1e373=new _0x1fc6c9(this['_injector'],_0x2e3a98,_0x1b8d6b,_0x18a1f1);return _0x1e373[_0x1617fb(0x121)][_0x1617fb(0x152)]=_0x539cdc[_0x1617fb(0xea)],_0x1e373;});_0x35de2d[_0xc5086c(0x164)](_0x1e4233=>{const _0x290706=_0xc5086c;_0x403f0c['appendChild'](_0x1e4233[_0x290706(0x121)]),_0x1e4233[_0x290706(0x121)][_0x290706(0xf0)](_0x1e4233[_0x290706(0xe9)]),_0x1e4233[_0x290706(0x120)]();});let _0x49d872=(0x0,_0x539cdc['createPrintStyle'])(_0x42ad47['width'],_0x42ad47[_0xc5086c(0x130)],_0x539cdc['PrintDirection'][_0xc5086c(0x13e)]);return document[_0xc5086c(0xb0)][_0xc5086c(0xf0)](_0x49d872),document[_0xc5086c(0xb0)][_0xc5086c(0xf0)](_0x403f0c),new Promise(_0x2c1a1f=>{setTimeout(()=>{const _0x112a17=_0x4f2b;window[_0x112a17(0x173)]=()=>{const _0x38a508=_0x112a17;_0x35de2d[_0x38a508(0x164)](_0x22564a=>{const _0x200c51=_0x38a508;_0x22564a[_0x200c51(0x160)]();});},window[_0x112a17(0xd3)]=()=>{const _0x188dd0=_0x112a17;_0x35de2d[_0x188dd0(0x164)](_0x121a6d=>{const _0x2492ec=_0x188dd0;_0x121a6d[_0x2492ec(0xbc)]();}),document['body'][_0x188dd0(0xa7)](_0x403f0c),document[_0x188dd0(0xb0)][_0x188dd0(0xa7)](_0x49d872),this[_0x188dd0(0xae)][_0x188dd0(0xb4)](),_0x2c1a1f(!0x0);},window[_0x112a17(0x175)]();},0x64);});}};_0x527926=_0x1ecdc6([_0x49c56f(0x0,_0x23addd[_0x27feb1(0x174)]),_0x49c56f(0x1,_0x1bfa1b[_0x27feb1(0x15b)]),_0x49c56f(0x2,(0x0,_0x23addd[_0x27feb1(0xe3)])(_0x23addd[_0x27feb1(0x140)])),_0x49c56f(0x3,_0x23addd['IConfigService']),_0x49c56f(0x4,_0x299073[_0x27feb1(0x154)])],_0x527926);let _0x1951cd={'id':_0x27feb1(0x145),'type':_0x23addd[_0x27feb1(0x17a)]['OPERATION'],'handler':async _0x31bb25=>{const _0x3c463a=_0x27feb1;let _0x52750c=_0x31bb25[_0x3c463a(0xc9)](_0x23addd[_0x3c463a(0x174)]),_0x1304c3=_0x31bb25[_0x3c463a(0xc9)](_0x527926),_0x1c6a7c=_0x31bb25[_0x3c463a(0xc9)](_0x1bfa1b[_0x3c463a(0x15b)]),_0x3764b4=_0x31bb25[_0x3c463a(0xc9)](_0x23addd[_0x3c463a(0xc1)]),_0x57952d=_0x52750c[_0x3c463a(0x11a)](_0x23addd[_0x3c463a(0x129)][_0x3c463a(0x137)]);if(!_0x57952d)return!0x1;if(!_0x1c6a7c[_0x3c463a(0x12a)](_0x57952d[_0x3c463a(0xd6)]()))throw Error(_0x3c463a(0x17c));let _0x1cd640=_0x57952d[_0x3c463a(0x168)]()[_0x3c463a(0x16a)];return _0x1cd640!==_0x23addd[_0x3c463a(0xfd)][_0x3c463a(0x149)]&&_0x3764b4[_0x3c463a(0xb1)](_0x3b8ca1['SwitchDocModeCommand']['id']),await _0x1304c3[_0x3c463a(0x175)](_0x57952d[_0x3c463a(0xd6)]()),_0x1cd640!==_0x23addd['DocumentFlavor'][_0x3c463a(0x149)]&&_0x3764b4[_0x3c463a(0xb1)](_0x3b8ca1[_0x3c463a(0x16c)]['id']),!0x0;}},_0x48c8f1=_0x27feb1(0x172),_0x34cbb0={};var _0x309afb=_0x27feb1(0x17e),_0x22c947=_0x27feb1(0xe8);function _0x46e61f({ref:_0x158b93,..._0x346d5f}){const _0x16d251=_0x27feb1;let {icon:_0x31bc37,id:_0x40d5f5,className:_0x5aff94,extend:_0x1f82d1,..._0x32625d}=_0x346d5f,_0x47e07b=(_0x16d251(0x126)+_0x40d5f5+'\x20'+(_0x5aff94||''))[_0x16d251(0xc6)](),_0x2cb83f=(0x0,_0x24c074['useRef'])('_'+_0x4ec6d9());return _0x45a8a3(_0x31bc37,''+_0x40d5f5,{'defIds':_0x31bc37[_0x16d251(0xf2)],'idSuffix':_0x2cb83f[_0x16d251(0xf8)]},{'ref':_0x158b93,'className':_0x47e07b,..._0x32625d},_0x1f82d1);}function _0x45a8a3(_0x2243ce,_0x5f1fa6,_0x30e38c,_0x14d927,_0x5d3107){const _0x2538c2=_0x27feb1;return(0x0,_0x24c074['createElement'])(_0x2243ce[_0x2538c2(0xa5)],{'key':_0x5f1fa6,..._0x5149c6(_0x2243ce,_0x30e38c,_0x5d3107),..._0x14d927},(_0x39698f(_0x2243ce,_0x30e38c)[_0x2538c2(0x123)]||[])['map']((_0x345bb0,_0x768d11)=>_0x45a8a3(_0x345bb0,_0x5f1fa6+'-'+_0x2243ce[_0x2538c2(0xa5)]+'-'+_0x768d11,_0x30e38c,void 0x0,_0x5d3107)));}function _0x5149c6(_0x272732,_0x54e1ef,_0x1db5ce){const _0x11e454=_0x27feb1;let _0x2c3321={..._0x272732[_0x11e454(0x17b)]};_0x1db5ce!=null&&_0x1db5ce[_0x11e454(0x170)]&&_0x2c3321[_0x11e454(0xeb)]===_0x11e454(0x170)&&(_0x2c3321[_0x11e454(0xeb)]=_0x1db5ce[_0x11e454(0x170)]),_0x272732[_0x11e454(0xa5)]===_0x11e454(0xe7)&&_0x2c3321['id']&&(_0x2c3321['id']+=_0x54e1ef[_0x11e454(0xba)]),Object[_0x11e454(0x10b)](_0x2c3321)[_0x11e454(0x164)](([_0x45558f,_0x7718da])=>{const _0x5853f5=_0x11e454;_0x45558f===_0x5853f5(0xe7)&&typeof _0x7718da=='string'&&(_0x2c3321[_0x45558f]=_0x7718da[_0x5853f5(0x119)](/url\(#(.*)\)/,'url(#$1'+_0x54e1ef[_0x5853f5(0xba)]+')'));});let {defIds:_0x31b8b9}=_0x54e1ef;return!_0x31b8b9||_0x31b8b9[_0x11e454(0xcb)]===0x0?_0x2c3321:(_0x272732['tag']===_0x11e454(0x15a)&&_0x2c3321[_0x11e454(0x148)]&&(_0x2c3321[_0x11e454(0x148)]+=_0x54e1ef[_0x11e454(0xba)]),Object['entries'](_0x2c3321)[_0x11e454(0x164)](([_0x1a1148,_0x1d828d])=>{const _0x492b2e=_0x11e454;typeof _0x1d828d==_0x492b2e(0x12b)&&(_0x2c3321[_0x1a1148]=_0x1d828d['replace'](/url\(#(.*)\)/,_0x492b2e(0x167)+_0x54e1ef['idSuffix']+')'));}),_0x2c3321);}function _0x39698f(_0x3b845b,_0x52fac3){const _0xdbf223=_0x27feb1;var _0xf4ed61;let {defIds:_0x4c64fe}=_0x52fac3;return!_0x4c64fe||_0x4c64fe[_0xdbf223(0xcb)]===0x0?_0x3b845b:_0x3b845b['tag']===_0xdbf223(0x156)&&(_0xf4ed61=_0x3b845b[_0xdbf223(0x123)])!=null&&_0xf4ed61[_0xdbf223(0xcb)]?{..._0x3b845b,'children':_0x3b845b[_0xdbf223(0x123)][_0xdbf223(0xf4)](_0x430fc6=>typeof _0x430fc6[_0xdbf223(0x17b)]['id']==_0xdbf223(0x12b)&&_0x4c64fe&&_0x4c64fe['includes'](_0x430fc6['attrs']['id'])?{..._0x430fc6,'attrs':{..._0x430fc6['attrs'],'id':_0x430fc6[_0xdbf223(0x17b)]['id']+_0x52fac3[_0xdbf223(0xba)]}}:_0x430fc6)}:_0x3b845b;}function _0x4ec6d9(){const _0xa0f97=_0x27feb1;return Math[_0xa0f97(0xa8)]()[_0xa0f97(0x14e)](0x24)[_0xa0f97(0xb9)](0x2,0x8);}_0x46e61f[_0x27feb1(0xc7)]=_0x27feb1(0x17d);let _0x2e973f={'tag':_0x27feb1(0xd2),'attrs':{'xmlns':_0x27feb1(0xb8),'fill':_0x27feb1(0xf7),'viewBox':_0x27feb1(0xcd),'width':'1em','height':_0x27feb1(0x12d)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x27feb1(0x16d)}},{'tag':_0x27feb1(0xa6),'attrs':{'fill':_0x27feb1(0xb6),'d':_0x27feb1(0xfe),'fillRule':'evenodd','clipRule':_0x27feb1(0xe6)}}]},_0x374a1f=(0x0,_0x24c074[_0x27feb1(0x163)])(function(_0x1a78c4,_0x433b33){const _0x5b1481=_0x27feb1;return(0x0,_0x24c074[_0x5b1481(0x127)])(_0x46e61f,Object[_0x5b1481(0x11e)]({},_0x1a78c4,{'id':_0x5b1481(0xde),'ref':_0x433b33,'icon':_0x2e973f}));});_0x374a1f[_0x27feb1(0xc7)]=_0x27feb1(0xe0);function _0x28820f(_0xfe45f2){const _0x26b1b7=_0x27feb1;return{'id':_0x1951cd['id'],'type':_0x299073['MenuItemType']['BUTTON'],'title':'print.menu','icon':_0x26b1b7(0xe0),'tooltip':_0x26b1b7(0x143),'hidden$':(0x0,_0x299073[_0x26b1b7(0xac)])(_0xfe45f2,_0x23addd[_0x26b1b7(0x129)]['UNIVER_DOC'])};}let _0x45b29e={[_0x299073[_0x27feb1(0x111)][_0x27feb1(0xd0)]]:{[_0x1951cd['id']]:{'order':0.1,'menuItemFactory':_0x28820f}}},_0x358fed=class extends _0x23addd[_0x27feb1(0xda)]{constructor(_0x479ade,_0x41d625,_0xe5a5ce){const _0x28ec86=_0x27feb1;super(),this[_0x28ec86(0xd5)]=_0x479ade,this['_menuManagerService']=_0x41d625,this['_componentManager']=_0xe5a5ce,this[_0x28ec86(0x151)](),this['_initCommands'](),this[_0x28ec86(0x13d)]();}['_initMenus'](){const _0x1d9b1f=_0x27feb1;this[_0x1d9b1f(0x133)][_0x1d9b1f(0xf9)](_0x45b29e);}[_0x27feb1(0x106)](){const _0x29a1d8=_0x27feb1;this[_0x29a1d8(0x161)](this[_0x29a1d8(0xd5)][_0x29a1d8(0xa4)](_0x1951cd));}['_initComponents'](){const _0x5aceb7=_0x27feb1;[[_0x5aceb7(0xe0),_0x374a1f]][_0x5aceb7(0x164)](([_0x36f8cb,_0x218b07])=>{const _0x2db2f1=_0x5aceb7;this[_0x2db2f1(0x155)]['register'](_0x36f8cb,_0x218b07);});}};_0x358fed=_0x1ecdc6([_0x49c56f(0x0,_0x23addd[_0x27feb1(0xc1)]),_0x49c56f(0x1,_0x299073['IMenuManagerService']),_0x49c56f(0x2,(0x0,_0x23addd[_0x27feb1(0xe3)])(_0x299073[_0x27feb1(0x107)]))],_0x358fed);let _0x64a9a5=class extends _0x23addd['Plugin']{constructor(_0x4e4e4e=_0x34cbb0,_0x54e329,_0x48a85a){const _0x3be79a=_0x27feb1;super(),this[_0x3be79a(0x10d)]=_0x4e4e4e,this[_0x3be79a(0x134)]=_0x54e329,this[_0x3be79a(0x14c)]=_0x48a85a;let {menu:_0x434fff,..._0x4ac685}=(0x0,_0x23addd[_0x3be79a(0xbb)])({},_0x34cbb0,this['_config']);_0x434fff&&this[_0x3be79a(0x14c)][_0x3be79a(0x12f)](_0x3be79a(0xab),_0x434fff,{'merge':!0x0}),this[_0x3be79a(0x14c)][_0x3be79a(0x12f)](_0x48c8f1,_0x4ac685);}[_0x27feb1(0x118)](){const _0x53feb6=_0x27feb1;(0x0,_0x23addd[_0x53feb6(0x166)])(this['_injector'],[[_0x527926],[_0x358fed]]);}[_0x27feb1(0xc2)](){const _0x550239=_0x27feb1;this[_0x550239(0x134)][_0x550239(0xc9)](_0x358fed);}};_0x560c53(_0x64a9a5,'pluginName',_0x27feb1(0x172)),_0x560c53(_0x64a9a5,'packageName',_0x309afb),_0x560c53(_0x64a9a5,_0x27feb1(0x102),_0x22c947),_0x560c53(_0x64a9a5,_0x27feb1(0xef),_0x23addd[_0x27feb1(0x129)]['UNIVER_DOC']),_0x64a9a5=_0x1ecdc6([(0x0,_0x23addd[_0x27feb1(0xf1)])(_0x2e8374['UniverNetworkPlugin'],_0x254a49['UniverLicensePlugin']),_0x49c56f(0x1,(0x0,_0x23addd['Inject'])(_0x23addd[_0x27feb1(0x140)])),_0x49c56f(0x2,_0x23addd[_0x27feb1(0x10c)])],_0x64a9a5),_0x2b2c1d[_0x27feb1(0x142)]=_0x48c8f1,_0x2b2c1d['DocPrintOperation']=_0x1951cd,Object[_0x27feb1(0x144)](_0x2b2c1d,_0x27feb1(0x15f),{'enumerable':!0x0,'get':function(){return _0x64a9a5;}});}));function _0x54b8(){const _0x194ea0=['_skeletonData','mainComponent','_initMenus','className','getSkeleton','IGlobalZoneService','_componentManager','defs','UniverProDocsPrint','100%','Scene','use','IRenderManagerService','Printing','toStringTag','div','UniverDocsPrintPlugin','render','disposeWithMe','call','forwardRef','forEach','pageHeight','registerDependencies','url(#$1','getDocumentStyle','generateRandomId','documentFlavor','getUnit','SwitchDocModeCommand','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','right','message','colorChannel1','symbol','UNIVER_DOCS_PRINT','onbeforeprint','IUniverInstanceService','print','_unitId','default','891555JsxNif','_paperSize','CommandType','attrs','Render\x20is\x20not\x20found','UniverIcon','@univerjs-pro/docs-print','page','@univerjs/docs-ui','react','_root','registerCommand','tag','path','removeChild','random','_calculateLayout','scale','menu','getMenuHiddenObservable','pages','_globalZoneService','VIEW_MAIN','body','syncExecuteCommand','_offsetConfig','9813RQWGuy','close','16952WWFwFg','currentColor','decorate','http://www.w3.org/2000/svg','substring','idSuffix','merge','dispose','left','getCanvas','_addComponent','parseInt','ICommandService','onReady','restore','@univerjs-pro/license','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','trim','displayName','PRINTING_DOM_COLLECT','get','setContainer','length','amd','0\x200\x2016\x2016','_viewMain','save','OTHERS','with','svg','onafterprint','1564536ybPRim','_commandService','getUnitId','_documents','70CvPmIC','_engine','Disposable','DisposableCollection','getInterceptPoints','@univerjs/network','print-icon','bottom','PrintIcon','DocSkeletonManagerService','UniverDocsUi','Inject','_effects','UniverNetwork','evenodd','mask','0.21.0','root','PRINT_CANVAS_CLASS','fill','interceptor','getLicenseInfo','min','type','appendChild','DependentOn','defIds','578655vFbxap','map','PRINT_CONTAINER_CLASS','UniverUi','none','current','mergeMenu','_addViewport','constructor','exports','DocumentFlavor','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','makeDirty','getSkeletonData','_renderManagerService','version','_key','2736nPHqcZ','2015700LPrCxJ','_initCommands','ComponentManager','@univerjs/ui','mpn','Documents','entries','IConfigService','_config','DocumentDataModel\x20is\x20not\x20found','prototype','React','RibbonStartGroup','LS_CONFIG_KEY','UniverProLicense','top','_container','36ImdsTj','VIEWPORT_KEY','onStarting','replace','getCurrentUnitOfType','963556ZvRYfp','absolute','@univerjs-pro/print','assign','function','prepare','container','getConfig','children','DocPrintInterceptorService','timeValid','univerjs-icon\x20univerjs-icon-','createElement','isLocalCheck','UniverInstanceType','getRenderById','string','pageWidth','1em','70YpcQhm','setConfig','height','translate','fetchThroughInterceptors','_menuManagerService','_injector','@univerjs/core','_scene','UNIVER_DOC','object','_skeleton','UniverCore','UniverProPrint','style','_initComponents','Portrait','0px','Injector','UniverEngineRender','DOCS_PRINT_PLUGIN_CONFIG_KEY','print.menu','defineProperty','docs.operation.print','makeForceDirty','_currentRender','xlink:href','TRADITIONAL','toPrimitive','_initRenderer','_configService','width','toString'];_0x54b8=function(){return _0x194ea0;};return _0x54b8();}
|
|
1
|
+
(function(_0x5e2303,_0x2d4444){const _0x5f294f=_0xd3a1,_0x49251a=_0x5e2303();while(!![]){try{const _0x60c699=-parseInt(_0x5f294f(0xe9))/0x1+-parseInt(_0x5f294f(0x164))/0x2*(parseInt(_0x5f294f(0x9a))/0x3)+-parseInt(_0x5f294f(0x109))/0x4*(-parseInt(_0x5f294f(0x108))/0x5)+-parseInt(_0x5f294f(0xdb))/0x6+-parseInt(_0x5f294f(0x123))/0x7+parseInt(_0x5f294f(0x120))/0x8*(-parseInt(_0x5f294f(0xf9))/0x9)+parseInt(_0x5f294f(0x145))/0xa;if(_0x60c699===_0x2d4444)break;else _0x49251a['push'](_0x49251a['shift']());}catch(_0x231561){_0x49251a['push'](_0x49251a['shift']());}}}(_0x3457,0x20933),function(_0x50fea7,_0x81b227){const _0x1c9f36=_0xd3a1;typeof exports==_0x1c9f36(0xaa)&&typeof module<'u'?_0x81b227(exports,require(`@univerjs/core`),require(`@univerjs/docs-ui`),require(`@univerjs/engine-render`),require(`@univerjs-pro/license`),require(`@univerjs-pro/print`),require(`@univerjs/docs`),require(`@univerjs/ui`),require(`@univerjs/network`),require(`react`)):typeof define=='function'&&define[_0x1c9f36(0xd4)]?define(['exports',_0x1c9f36(0x99),_0x1c9f36(0xa7),'@univerjs/engine-render',_0x1c9f36(0x110),_0x1c9f36(0xaf),_0x1c9f36(0xb6),_0x1c9f36(0xb5),'@univerjs/network',_0x1c9f36(0xb7)],_0x81b227):(_0x50fea7=typeof globalThis<'u'?globalThis:_0x50fea7||self,_0x81b227(_0x50fea7[_0x1c9f36(0xf1)]={},_0x50fea7[_0x1c9f36(0x12d)],_0x50fea7['UniverDocsUi'],_0x50fea7[_0x1c9f36(0xf4)],_0x50fea7[_0x1c9f36(0xa0)],_0x50fea7[_0x1c9f36(0x104)],_0x50fea7[_0x1c9f36(0x98)],_0x50fea7[_0x1c9f36(0xfe)],_0x50fea7[_0x1c9f36(0xae)],_0x50fea7['React']));}(this,function(_0x2f4e02,_0x54a0e1,_0x2396d4,_0x2c1fbb,_0x5360b5,_0x2d750c,_0x263ad1,_0x42aa43,_0x3e1c96,_0xdf2de3){const _0x534636=_0xd3a1;Object[_0x534636(0xc6)](_0x2f4e02,Symbol[_0x534636(0x14c)],{'value':_0x534636(0x11e)});function _0x5a8460(_0x594627){'@babel/helpers - typeof';const _0x1a8fad=_0x534636;return _0x5a8460=typeof Symbol==_0x1a8fad(0x161)&&typeof Symbol[_0x1a8fad(0xbf)]==_0x1a8fad(0x122)?function(_0x18cddf){return typeof _0x18cddf;}:function(_0x5f5120){const _0x31cc39=_0x1a8fad;return _0x5f5120&&typeof Symbol==_0x31cc39(0x161)&&_0x5f5120['constructor']===Symbol&&_0x5f5120!==Symbol[_0x31cc39(0xa9)]?_0x31cc39(0x122):typeof _0x5f5120;},_0x5a8460(_0x594627);}function _0x180ca0(_0x1e0251,_0x5a59de){const _0x4c608a=_0x534636;if(_0x5a8460(_0x1e0251)!=_0x4c608a(0xaa)||!_0x1e0251)return _0x1e0251;var _0x5b5799=_0x1e0251[Symbol['toPrimitive']];if(_0x5b5799!==void 0x0){var _0x5c8b61=_0x5b5799[_0x4c608a(0x13d)](_0x1e0251,_0x5a59de||_0x4c608a(0xb1));if(_0x5a8460(_0x5c8b61)!='object')return _0x5c8b61;throw TypeError(_0x4c608a(0x13a));}return(_0x5a59de===_0x4c608a(0x10f)?String:Number)(_0x1e0251);}function _0xcabfb9(_0x34e536){const _0x43ec81=_0x534636;var _0x2a73e1=_0x180ca0(_0x34e536,_0x43ec81(0x10f));return _0x5a8460(_0x2a73e1)==_0x43ec81(0x122)?_0x2a73e1:_0x2a73e1+'';}function _0x4101b8(_0x479dc8,_0x43ee02,_0x2f3cad){const _0x31c72f=_0x534636;return(_0x43ee02=_0xcabfb9(_0x43ee02))in _0x479dc8?Object[_0x31c72f(0xc6)](_0x479dc8,_0x43ee02,{'value':_0x2f3cad,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x479dc8[_0x43ee02]=_0x2f3cad,_0x479dc8;}var _0x75a63e=class extends _0x54a0e1[_0x534636(0xfc)]{get[_0x534636(0x148)](){const _0xea94f6=_0x534636;return this[_0xea94f6(0xd8)];}get[_0x534636(0x143)](){return this['_root'];}get[_0x534636(0x15a)](){const _0x354233=_0x534636;let _0x4d4147=this[_0x354233(0xdd)][_0x354233(0xdf)](_0x2c1fbb['IRenderManagerService'])[_0x354233(0x156)](this[_0x354233(0x155)]);if(!_0x4d4147)throw Error('Render\x20is\x20not\x20found');return _0x4d4147;}get['_skeleton'](){const _0x150a50=_0x534636;return this[_0x150a50(0x15a)][_0x150a50(0x14e)](_0x263ad1[_0x150a50(0x152)])[_0x150a50(0x177)]();}get[_0x534636(0x131)](){const _0x21f90d=_0x534636;let _0x2599be=this[_0x21f90d(0x15b)][_0x21f90d(0x107)]();if(!_0x2599be)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x2599be;}get[_0x534636(0xb3)](){const _0x3c51b6=_0x534636;let _0x58f68c=this[_0x3c51b6(0x131)][_0x3c51b6(0x136)][0x0];return{'width':_0x58f68c['pageWidth'],'height':_0x58f68c['pageHeight']};}constructor(_0x4a9cde,_0x5535cc,_0x4981c7,_0x22239b){const _0x163902=_0x534636;super(),this[_0x163902(0xdd)]=_0x4a9cde,this[_0x163902(0xd3)]=_0x5535cc,this[_0x163902(0x155)]=_0x4981c7,this[_0x163902(0x9f)]=_0x22239b,_0x4101b8(this,_0x163902(0xd8),document[_0x163902(0xc5)](_0x163902(0xa3))),_0x4101b8(this,_0x163902(0x163),document[_0x163902(0xc5)](_0x163902(0xa3))),_0x4101b8(this,_0x163902(0x140),void 0x0),_0x4101b8(this,_0x163902(0xe1),void 0x0),_0x4101b8(this,_0x163902(0x165),void 0x0),_0x4101b8(this,_0x163902(0xfd),void 0x0),_0x4101b8(this,_0x163902(0xfa),void 0x0),_0x4101b8(this,'_effects',new _0x54a0e1[(_0x163902(0x157))]()),this[_0x163902(0x165)]=(0x0,_0x54a0e1[_0x163902(0x11c)])(0x4),this[_0x163902(0x158)](),this['disposeWithMe']({'dispose':()=>{const _0x414371=_0x163902;this[_0x414371(0x140)][_0x414371(0x16a)](),this[_0x414371(0xe1)][_0x414371(0x16a)](),this[_0x414371(0xa1)]['dispose']();}});}[_0x534636(0xeb)](){const _0x36609c=_0x534636;let {docsTop:_0x34c8e5,docsLeft:_0x4f76fa}=this[_0x36609c(0xfd)]['getOffsetConfig'](),_0x540d8a=this[_0x36609c(0xb3)][_0x36609c(0x15c)],_0x5724dd=this[_0x36609c(0xb3)][_0x36609c(0x172)];return{'top':_0x34c8e5+(_0x34c8e5+_0x540d8a)*this['_page'],'bottom':_0x34c8e5+(_0x34c8e5+_0x540d8a)*(this[_0x36609c(0xd3)]+0x1),'left':_0x4f76fa,'right':_0x4f76fa+_0x5724dd};}[_0x534636(0x158)](){const _0x522586=_0x534636;this[_0x522586(0x140)]=new _0x2c1fbb[(_0x522586(0x146))]('',{'elementWidth':this[_0x522586(0xb3)]['width'],'elementHeight':this[_0x522586(0xb3)][_0x522586(0x15c)],'dpr':0x1,'renderMode':_0x2c1fbb['CanvasRenderMode'][_0x522586(0xad)]}),this['_scene']=new _0x2c1fbb['Scene'](this[_0x522586(0x165)],this[_0x522586(0x140)]),this[_0x522586(0xe1)]['scale'](0x1,0x1),this[_0x522586(0x140)][_0x522586(0xf7)](this['_container'],!0x1),this['_engine'][_0x522586(0xe5)]()[_0x522586(0x167)]()[_0x522586(0x141)](this[_0x522586(0x165)]+'_'+(0x0,_0x54a0e1[_0x522586(0x11c)])(0x4)),this[_0x522586(0xbd)](),this[_0x522586(0x14a)]();}['_addComponent'](){const _0xfbfe45=_0x534636;let {pageMarginLeft:_0x3540dd,pageMarginTop:_0x1fed09,docsLeft:_0x1ddb08,docsTop:_0x20cd24}=this['_offsetConfig'],_0x2c762d={'pageMarginLeft':_0x3540dd,'pageMarginTop':_0x1fed09},_0x566fce=new _0x2c1fbb[(_0xfbfe45(0x135))](_0xfbfe45(0x16c),this[_0xfbfe45(0x15b)],_0x2c762d);_0x566fce[_0xfbfe45(0xdc)](_0x1ddb08,_0x20cd24),this[_0xfbfe45(0xe1)][_0xfbfe45(0x113)](_0x566fce),this[_0xfbfe45(0xfd)]=_0x566fce;let _0x35184a=this[_0xfbfe45(0xdd)][_0xfbfe45(0xdf)](_0x2396d4['DocPrintInterceptorService']);_0x35184a[_0xfbfe45(0xcf)][_0xfbfe45(0xe8)](_0x35184a[_0xfbfe45(0xcf)]['getInterceptPoints']()[_0xfbfe45(0xec)])(void 0x0,{'unitId':this[_0xfbfe45(0x155)],'scene':this[_0xfbfe45(0xe1)],'engine':this[_0xfbfe45(0x140)],'root':this[_0xfbfe45(0x163)],'documents':this[_0xfbfe45(0xfd)],'skeleton':this['_skeleton']});}[_0x534636(0x14a)](){const _0x514e46=_0x534636;this['_viewMain']=new _0x2c1fbb[(_0x514e46(0x10b))](_0x2396d4['VIEWPORT_KEY'][_0x514e46(0x9d)],this[_0x514e46(0xe1)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x534636(0xca)](){const _0x131b08=_0x534636;let _0x391138=this['_calculateLayout']();this[_0x131b08(0xfa)][_0x131b08(0x162)]({'viewportScrollX':_0x391138[_0x131b08(0xd9)],'viewportScrollY':_0x391138['top']}),this[_0x131b08(0x163)][_0x131b08(0x132)][_0x131b08(0x12c)]='absolute',this[_0x131b08(0x163)][_0x131b08(0x132)][_0x131b08(0xf6)]=_0x131b08(0x12b),this['_root']['style'][_0x131b08(0xd9)]=_0x131b08(0x12b),this[_0x131b08(0x163)][_0x131b08(0x132)]['width']=_0x131b08(0x15f),this[_0x131b08(0x163)][_0x131b08(0x132)][_0x131b08(0x15c)]='100%',this[_0x131b08(0xa1)]=new _0x54a0e1[(_0x131b08(0x157))]();let _0x3de7f0=this[_0x131b08(0xdd)][_0x131b08(0xdf)](_0x2396d4[_0x131b08(0xea)]);_0x3de7f0['interceptor']['fetchThroughInterceptors'](_0x3de7f0[_0x131b08(0xcf)][_0x131b08(0x15d)]()[_0x131b08(0xcb)])(this[_0x131b08(0xa1)],{'unitId':this[_0x131b08(0x155)],'scene':this[_0x131b08(0xe1)],'engine':this[_0x131b08(0x140)],'root':this[_0x131b08(0x163)],'skeleton':this[_0x131b08(0x15b)],'offset':{'x':_0x391138[_0x131b08(0xd9)],'y':_0x391138[_0x131b08(0xf6)]},'bound':{'top':_0x391138[_0x131b08(0xf6)],'left':_0x391138[_0x131b08(0xd9)],'right':_0x391138[_0x131b08(0x16d)],'bottom':_0x391138[_0x131b08(0x11b)]}});}[_0x534636(0xc7)](){const _0x148ce8=_0x534636;let _0x17d8d7=this[_0x148ce8(0x140)][_0x148ce8(0xe5)]()[_0x148ce8(0x167)]();this[_0x148ce8(0xfd)][_0x148ce8(0xcd)](),this[_0x148ce8(0xe1)][_0x148ce8(0x10e)](),_0x17d8d7['save'](),this[_0x148ce8(0xe1)][_0x148ce8(0xc7)](),_0x17d8d7[_0x148ce8(0x114)]();}};function _0x137e4d(_0xfe6fd5,_0x3e9745){return function(_0xaa593c,_0x2c794f){_0x3e9745(_0xaa593c,_0x2c794f,_0xfe6fd5);};}function _0x38448f(_0x2e1069,_0x52b9a7,_0x25db0c,_0x40e045){const _0x39d38e=_0x534636;var _0x4c466a=arguments[_0x39d38e(0x153)],_0x13524b=_0x4c466a<0x3?_0x52b9a7:_0x40e045===null?_0x40e045=Object['getOwnPropertyDescriptor'](_0x52b9a7,_0x25db0c):_0x40e045,_0x3a2d4e;if(typeof Reflect==_0x39d38e(0xaa)&&typeof Reflect[_0x39d38e(0x150)]==_0x39d38e(0x161))_0x13524b=Reflect[_0x39d38e(0x150)](_0x2e1069,_0x52b9a7,_0x25db0c,_0x40e045);else{for(var _0x1002dd=_0x2e1069[_0x39d38e(0x153)]-0x1;_0x1002dd>=0x0;_0x1002dd--)(_0x3a2d4e=_0x2e1069[_0x1002dd])&&(_0x13524b=(_0x4c466a<0x3?_0x3a2d4e(_0x13524b):_0x4c466a>0x3?_0x3a2d4e(_0x52b9a7,_0x25db0c,_0x13524b):_0x3a2d4e(_0x52b9a7,_0x25db0c))||_0x13524b);}return _0x4c466a>0x3&&_0x13524b&&Object[_0x39d38e(0xc6)](_0x52b9a7,_0x25db0c,_0x13524b),_0x13524b;}let _0x5c8c3a=Number[_0x534636(0x171)](0x69ec6f48),_0x16f1d0=(_0x4f1e38,_0x1a7d36,_0x4c0410)=>{const _0x3fb210=_0x534636;let _0x4b4781={'page':_0x4f1e38,'isPro':!0x1,'timeValid':!0x1};if(!_0x1a7d36||!_0x4c0410)return _0x4b4781;let _0x5182ab=(0x0,_0x5360b5[_0x3fb210(0xd2)])(_0x1a7d36,_0x4c0410);if(_0x5182ab[_0x3fb210(0x160)]){let _0x4c62d8=_0x5182ab[_0x3fb210(0x121)],_0x2a88c2=(0x0,_0x5360b5[_0x3fb210(0xe7)])(_0x4c62d8,'df',_0x5c8c3a);_0x4b4781[_0x3fb210(0xbb)]=_0x2a88c2,_0x4b4781[_0x3fb210(0xef)]=_0x2a88c2,_0x4b4781[_0x3fb210(0x9c)]=(0x0,_0x5360b5[_0x3fb210(0xd5)])(_0x4c62d8,_0x2a88c2,_0x3fb210(0x12e),_0x4f1e38,_0x4f1e38,0x0);}return _0x4b4781;},_0x3d4b26=class extends _0x54a0e1['Disposable']{constructor(_0x224f84,_0x324dc3,_0xf5c090,_0x957b04,_0x5bbfe5){const _0x99f71c=_0x534636;super(),this['_univerInstanceService']=_0x224f84,this[_0x99f71c(0xe3)]=_0x324dc3,this[_0x99f71c(0xdd)]=_0xf5c090,this[_0x99f71c(0x13c)]=_0x957b04,this[_0x99f71c(0xd6)]=_0x5bbfe5;}[_0x534636(0x13b)](_0x2af332){const _0x588135=_0x534636;var _0x801fd3,_0x291170;let {ls:_0x5255f2,pbk:_0x2be5c2}=(_0x801fd3=this[_0x588135(0x13c)]['getConfig'](_0x5360b5[_0x588135(0x174)]))==null?{}:_0x801fd3,_0x532d31=(0x0,_0x5360b5[_0x588135(0xe0)])()?0x1/0x0:_0x16f1d0(0x1,_0x5255f2,_0x2be5c2)['page'];if(!this[_0x588135(0x147)][_0x588135(0x105)](_0x2af332,_0x54a0e1['UniverInstanceType'][_0x588135(0x101)]))throw Error(_0x588135(0x14f));let _0x4d4734=this['_renderManagerService'][_0x588135(0x156)](_0x2af332);if(!_0x4d4734)throw Error(_0x588135(0xc2));let _0xf96f6e=(_0x291170=_0x4d4734[_0x588135(0x14e)](_0x263ad1[_0x588135(0x152)])['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x291170[_0x588135(0x136)];if(!_0xf96f6e)throw Error('Pages\x20are\x20not\x20found');let _0x468743={'width':_0xf96f6e[0x0][_0x588135(0xf8)],'height':_0xf96f6e[0x0][_0x588135(0x142)]},_0x16b26c=_0xf96f6e[_0x588135(0x153)],_0x25c21c=Math[_0x588135(0xe4)](_0x532d31,_0x16b26c),_0x421203=_0x4d4734[_0x588135(0x14d)][_0x588135(0x169)](),_0x1e24b9=document['createElement'](_0x588135(0xa3));_0x1e24b9['className']=_0x2d750c[_0x588135(0x14b)];let _0x1a6d20=Array(_0x25c21c)[_0x588135(0x112)](null)[_0x588135(0x127)]((_0xb01373,_0x5501e2)=>{const _0x33fa12=_0x588135;let _0x20faee=new _0x75a63e(this['_injector'],_0x5501e2,_0x2af332,_0x421203);return _0x20faee[_0x33fa12(0x148)][_0x33fa12(0xb8)]=_0x2d750c[_0x33fa12(0x10d)],_0x20faee;});_0x1a6d20[_0x588135(0xcc)](_0x58e7a8=>{const _0xc6d7aa=_0x588135;_0x1e24b9['appendChild'](_0x58e7a8[_0xc6d7aa(0x148)]),_0x58e7a8[_0xc6d7aa(0x148)][_0xc6d7aa(0xde)](_0x58e7a8[_0xc6d7aa(0x143)]),_0x58e7a8[_0xc6d7aa(0xca)]();});let _0x426122=(0x0,_0x2d750c[_0x588135(0x128)])(_0x468743['width'],_0x468743[_0x588135(0x15c)],_0x2d750c[_0x588135(0x144)][_0x588135(0x16e)]);return document['body']['appendChild'](_0x426122),document[_0x588135(0x134)][_0x588135(0xde)](_0x1e24b9),new Promise(_0x4bc2f3=>{setTimeout(()=>{const _0x4b6408=_0xd3a1;window[_0x4b6408(0xc8)]=()=>{const _0x4b5ff3=_0x4b6408;_0x1a6d20[_0x4b5ff3(0xcc)](_0x28f7fe=>{_0x28f7fe['render']();});},window['onafterprint']=()=>{const _0x1d76ba=_0x4b6408;_0x1a6d20[_0x1d76ba(0xcc)](_0x316703=>{const _0xd4aff9=_0x1d76ba;_0x316703[_0xd4aff9(0x16a)]();}),document[_0x1d76ba(0x134)]['removeChild'](_0x1e24b9),document[_0x1d76ba(0x134)][_0x1d76ba(0x176)](_0x426122),this[_0x1d76ba(0xd6)][_0x1d76ba(0xb9)](),_0x4bc2f3(!0x0);},window['print']();},0x64);});}};_0x3d4b26=_0x38448f([_0x137e4d(0x0,_0x54a0e1['IUniverInstanceService']),_0x137e4d(0x1,_0x2c1fbb['IRenderManagerService']),_0x137e4d(0x2,(0x0,_0x54a0e1[_0x534636(0xed)])(_0x54a0e1[_0x534636(0x149)])),_0x137e4d(0x3,_0x54a0e1[_0x534636(0x119)]),_0x137e4d(0x4,_0x42aa43[_0x534636(0xab)])],_0x3d4b26);let _0x3c90dc={'id':_0x534636(0x130),'type':_0x54a0e1[_0x534636(0x170)][_0x534636(0x175)],'handler':async _0x8e6bc0=>{const _0x2a62b6=_0x534636;let _0x490c24=_0x8e6bc0[_0x2a62b6(0xdf)](_0x54a0e1[_0x2a62b6(0xce)]),_0x3ef887=_0x8e6bc0[_0x2a62b6(0xdf)](_0x3d4b26),_0x454a69=_0x8e6bc0[_0x2a62b6(0xdf)](_0x2c1fbb[_0x2a62b6(0xa4)]),_0x2886f1=_0x8e6bc0['get'](_0x54a0e1[_0x2a62b6(0xe6)]),_0x1540b3=_0x490c24[_0x2a62b6(0x154)](_0x54a0e1[_0x2a62b6(0x11a)][_0x2a62b6(0x101)]);if(!_0x1540b3)return!0x1;if(!_0x454a69[_0x2a62b6(0x156)](_0x1540b3[_0x2a62b6(0x133)]()))throw Error(_0x2a62b6(0xc2));let _0x174969=_0x1540b3[_0x2a62b6(0xf5)]()['documentFlavor'];return _0x174969!==_0x54a0e1['DocumentFlavor']['TRADITIONAL']&&_0x2886f1[_0x2a62b6(0xa6)](_0x2396d4[_0x2a62b6(0xc9)]['id']),await _0x3ef887['print'](_0x1540b3['getUnitId']()),_0x174969!==_0x54a0e1['DocumentFlavor'][_0x2a62b6(0x16f)]&&_0x2886f1['syncExecuteCommand'](_0x2396d4[_0x2a62b6(0xc9)]['id']),!0x0;}},_0x3e4df3='UNIVER_DOCS_PRINT',_0x467a9d={};var _0x5a5682='@univerjs-pro/docs-print',_0x4f2b68=_0x534636(0xff);function _0x5aa4e0({ref:_0x4cb903,..._0x5b6f1a}){const _0x3827e8=_0x534636;let {icon:_0x5b4c3f,id:_0x314fef,className:_0x2f5026,extend:_0x161b98,..._0x31a378}=_0x5b6f1a,_0x1ec080=(_0x3827e8(0x166)+_0x314fef+'\x20'+(_0x2f5026||''))[_0x3827e8(0x125)](),_0x3a53d0=(0x0,_0xdf2de3['useRef'])('_'+_0x225568());return _0x2f48e5(_0x5b4c3f,''+_0x314fef,{'defIds':_0x5b4c3f[_0x3827e8(0x102)],'idSuffix':_0x3a53d0['current']},{'ref':_0x4cb903,'className':_0x1ec080,..._0x31a378},_0x161b98);}function _0x2f48e5(_0x4c9e6b,_0xcf55c6,_0xfe3086,_0x188410,_0x515178){const _0x514af2=_0x534636;return(0x0,_0xdf2de3[_0x514af2(0xc5)])(_0x4c9e6b[_0x514af2(0xe2)],{'key':_0xcf55c6,..._0x567cf2(_0x4c9e6b,_0xfe3086,_0x515178),..._0x188410},(_0x2092ce(_0x4c9e6b,_0xfe3086)['children']||[])[_0x514af2(0x127)]((_0x29478d,_0x21885b)=>_0x2f48e5(_0x29478d,_0xcf55c6+'-'+_0x4c9e6b['tag']+'-'+_0x21885b,_0xfe3086,void 0x0,_0x515178)));}function _0x567cf2(_0xb717c2,_0x45289f,_0x48ddc0){const _0x2fb675=_0x534636;let _0x1c3433={..._0xb717c2[_0x2fb675(0xda)]};_0x48ddc0!=null&&_0x48ddc0[_0x2fb675(0xf0)]&&_0x1c3433[_0x2fb675(0x112)]===_0x2fb675(0xf0)&&(_0x1c3433[_0x2fb675(0x112)]=_0x48ddc0[_0x2fb675(0xf0)]),_0xb717c2[_0x2fb675(0xe2)]===_0x2fb675(0x13e)&&_0x1c3433['id']&&(_0x1c3433['id']+=_0x45289f[_0x2fb675(0x116)]),Object[_0x2fb675(0xa5)](_0x1c3433)['forEach'](([_0x18991b,_0x222fc0])=>{const _0x2b4c2a=_0x2fb675;_0x18991b===_0x2b4c2a(0x13e)&&typeof _0x222fc0=='string'&&(_0x1c3433[_0x18991b]=_0x222fc0[_0x2b4c2a(0xc0)](/url\(#(.*)\)/,_0x2b4c2a(0x111)+_0x45289f[_0x2b4c2a(0x116)]+')'));});let {defIds:_0x1a259e}=_0x45289f;return!_0x1a259e||_0x1a259e['length']===0x0?_0x1c3433:(_0xb717c2[_0x2fb675(0xe2)]===_0x2fb675(0xd7)&&_0x1c3433['xlink:href']&&(_0x1c3433[_0x2fb675(0x13f)]+=_0x45289f[_0x2fb675(0x116)]),Object[_0x2fb675(0xa5)](_0x1c3433)[_0x2fb675(0xcc)](([_0x18255c,_0x551da1])=>{const _0x169b98=_0x2fb675;typeof _0x551da1==_0x169b98(0x10f)&&(_0x1c3433[_0x18255c]=_0x551da1[_0x169b98(0xc0)](/url\(#(.*)\)/,'url(#$1'+_0x45289f['idSuffix']+')'));}),_0x1c3433);}function _0x2092ce(_0x1da4b6,_0x246361){const _0x52983e=_0x534636;var _0x75be31;let {defIds:_0x39bac8}=_0x246361;return!_0x39bac8||_0x39bac8['length']===0x0?_0x1da4b6:_0x1da4b6[_0x52983e(0xe2)]===_0x52983e(0xa2)&&(_0x75be31=_0x1da4b6[_0x52983e(0xc4)])!=null&&_0x75be31[_0x52983e(0x153)]?{..._0x1da4b6,'children':_0x1da4b6['children'][_0x52983e(0x127)](_0x5dfce1=>typeof _0x5dfce1[_0x52983e(0xda)]['id']==_0x52983e(0x10f)&&_0x39bac8&&_0x39bac8[_0x52983e(0xb2)](_0x5dfce1[_0x52983e(0xda)]['id'])?{..._0x5dfce1,'attrs':{..._0x5dfce1['attrs'],'id':_0x5dfce1[_0x52983e(0xda)]['id']+_0x246361['idSuffix']}}:_0x5dfce1)}:_0x1da4b6;}function _0x225568(){const _0x147469=_0x534636;return Math[_0x147469(0x12a)]()['toString'](0x24)['substring'](0x2,0x8);}_0x5aa4e0['displayName']=_0x534636(0x168);let _0x2c3468={'tag':_0x534636(0x137),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x534636(0xd1),'viewBox':_0x534636(0xfb),'width':'1em','height':_0x534636(0x178)},'children':[{'tag':_0x534636(0x106),'attrs':{'fill':'currentColor','d':_0x534636(0x16b)}},{'tag':_0x534636(0x106),'attrs':{'fill':'currentColor','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':_0x534636(0x9e),'clipRule':_0x534636(0x9e)}}]},_0x215599=(0x0,_0xdf2de3[_0x534636(0xbe)])(function(_0x416e53,_0x456635){const _0x48eaa1=_0x534636;return(0x0,_0xdf2de3[_0x48eaa1(0xc5)])(_0x5aa4e0,Object[_0x48eaa1(0x100)]({},_0x416e53,{'id':_0x48eaa1(0x151),'ref':_0x456635,'icon':_0x2c3468}));});_0x215599[_0x534636(0xc1)]=_0x534636(0x11f);function _0x4237d1(_0x2a1064){const _0x20718d=_0x534636;return{'id':_0x3c90dc['id'],'type':_0x42aa43['MenuItemType'][_0x20718d(0x159)],'title':'print.menu','icon':_0x20718d(0x11f),'tooltip':_0x20718d(0xd0),'hidden$':(0x0,_0x42aa43[_0x20718d(0x126)])(_0x2a1064,_0x54a0e1['UniverInstanceType']['UNIVER_DOC'])};}let _0x9da14d={[_0x42aa43[_0x534636(0x118)]['OTHERS']]:{[_0x3c90dc['id']]:{'order':0.1,'menuItemFactory':_0x4237d1}}},_0x1f1639=class extends _0x54a0e1[_0x534636(0xfc)]{constructor(_0x59398d,_0x76c223,_0x5565d3){const _0x56c99e=_0x534636;super(),this[_0x56c99e(0x15e)]=_0x59398d,this[_0x56c99e(0x124)]=_0x76c223,this[_0x56c99e(0x9b)]=_0x5565d3,this[_0x56c99e(0xee)](),this[_0x56c99e(0xc3)](),this[_0x56c99e(0x10a)]();}[_0x534636(0xee)](){const _0x1c6bed=_0x534636;this[_0x1c6bed(0x124)][_0x1c6bed(0xf2)](_0x9da14d);}[_0x534636(0xc3)](){const _0x18f51a=_0x534636;this[_0x18f51a(0x10c)](this[_0x18f51a(0x15e)][_0x18f51a(0x138)](_0x3c90dc));}[_0x534636(0x10a)](){const _0x399991=_0x534636;[[_0x399991(0x11f),_0x215599]]['forEach'](([_0x594901,_0x5ae76d])=>{const _0x3fe99b=_0x399991;this[_0x3fe99b(0x9b)][_0x3fe99b(0xba)](_0x594901,_0x5ae76d);});}};_0x1f1639=_0x38448f([_0x137e4d(0x0,_0x54a0e1[_0x534636(0xe6)]),_0x137e4d(0x1,_0x42aa43[_0x534636(0xa8)]),_0x137e4d(0x2,(0x0,_0x54a0e1['Inject'])(_0x42aa43[_0x534636(0x139)]))],_0x1f1639);let _0x41f949=class extends _0x54a0e1[_0x534636(0xbc)]{constructor(_0x2e1bd8=_0x467a9d,_0x44cf1f,_0x5c0663){const _0x539160=_0x534636;super(),this[_0x539160(0xac)]=_0x2e1bd8,this[_0x539160(0xdd)]=_0x44cf1f,this[_0x539160(0x13c)]=_0x5c0663;let {menu:_0x5068d2,..._0x55c7c9}=(0x0,_0x54a0e1['merge'])({},_0x467a9d,this[_0x539160(0xac)]);_0x5068d2&&this[_0x539160(0x13c)][_0x539160(0x103)](_0x539160(0x117),_0x5068d2,{'merge':!0x0}),this[_0x539160(0x13c)]['setConfig'](_0x3e4df3,_0x55c7c9);}['onStarting'](){const _0x385ea1=_0x534636;(0x0,_0x54a0e1[_0x385ea1(0x12f)])(this[_0x385ea1(0xdd)],[[_0x3d4b26],[_0x1f1639]]);}[_0x534636(0x115)](){const _0x2f0d91=_0x534636;this[_0x2f0d91(0xdd)][_0x2f0d91(0xdf)](_0x1f1639);}};_0x4101b8(_0x41f949,'pluginName','UNIVER_DOCS_PRINT'),_0x4101b8(_0x41f949,'packageName',_0x5a5682),_0x4101b8(_0x41f949,'version',_0x4f2b68),_0x4101b8(_0x41f949,_0x534636(0x179),_0x54a0e1[_0x534636(0x11a)][_0x534636(0x101)]),_0x41f949=_0x38448f([(0x0,_0x54a0e1[_0x534636(0x129)])(_0x3e1c96[_0x534636(0xb0)],_0x5360b5[_0x534636(0xb4)]),_0x137e4d(0x1,(0x0,_0x54a0e1[_0x534636(0xed)])(_0x54a0e1[_0x534636(0x149)])),_0x137e4d(0x2,_0x54a0e1['IConfigService'])],_0x41f949),_0x2f4e02[_0x534636(0x173)]=_0x3e4df3,_0x2f4e02[_0x534636(0x11d)]=_0x3c90dc,Object[_0x534636(0xc6)](_0x2f4e02,_0x534636(0xf3),{'enumerable':!0x0,'get':function(){return _0x41f949;}});}));function _0xd3a1(_0x54af26,_0x93c443){_0x54af26=_0x54af26-0x98;const _0x3457ef=_0x3457();let _0xd3a1f9=_0x3457ef[_0x54af26];return _0xd3a1f9;}function _0x3457(){const _0x44b44b=['length','getCurrentUnitOfType','_unitId','getRenderById','DisposableCollection','_initRenderer','BUTTON','_currentRender','_skeleton','height','getInterceptPoints','_commandService','100%','valid','function','updateScrollVal','_root','242KhqMRY','_key','univerjs-icon\x20univerjs-icon-','getContext','UniverIcon','getOffsetConfig','dispose','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','__DocPrintRender__','right','Portrait','TRADITIONAL','CommandType','parseInt','width','DOCS_PRINT_PLUGIN_CONFIG_KEY','LS_CONFIG_KEY','OPERATION','removeChild','getSkeleton','1em','type','UniverDocs','@univerjs/core','999zOqNBv','_componentManager','page','VIEW_MAIN','evenodd','_offsetConfig','UniverProLicense','_effects','defs','div','IRenderManagerService','entries','syncExecuteCommand','@univerjs/docs-ui','IMenuManagerService','prototype','object','IGlobalZoneService','_config','Printing','UniverNetwork','@univerjs-pro/print','UniverNetworkPlugin','default','includes','_paperSize','UniverLicensePlugin','@univerjs/ui','@univerjs/docs','react','className','close','register','isPro','Plugin','_addComponent','forwardRef','iterator','replace','displayName','Render\x20is\x20not\x20found','_initCommands','children','createElement','defineProperty','render','onbeforeprint','SwitchDocModeCommand','prepare','PRINTING_DOM_COLLECT','forEach','makeForceDirty','IUniverInstanceService','interceptor','print.menu','none','getLicenseInfo','_page','amd','getDocFeatureLimit','_globalZoneService','use','_container','left','attrs','81498lkOdDk','translate','_injector','appendChild','get','isLocalCheck','_scene','tag','_renderManagerService','min','getCanvas','ICommandService','isFeatureAuthorizedWithinTime','fetchThroughInterceptors','173524vORAwj','DocPrintInterceptorService','_calculateLayout','PRINTING_COMPONENT_COLLECT','Inject','_initMenus','timeValid','colorChannel1','UniverProDocsPrint','mergeMenu','UniverDocsPrintPlugin','UniverEngineRender','getDocumentStyle','top','setContainer','pageWidth','37530eryxCW','_viewMain','0\x200\x2016\x2016','Disposable','_documents','UniverUi','0.21.1','assign','UNIVER_DOC','defIds','setConfig','UniverProPrint','getUnit','path','getSkeletonData','190HUySSK','24648sWMLvL','_initComponents','Viewport','disposeWithMe','PRINT_CANVAS_CLASS','makeDirty','string','@univerjs-pro/license','url(#$1','fill','addObject','restore','onReady','idSuffix','menu','RibbonStartGroup','IConfigService','UniverInstanceType','bottom','generateRandomId','DocPrintOperation','Module','PrintIcon','504ucQzfX','message','symbol','1229081HwCJiW','_menuManagerService','trim','getMenuHiddenObservable','map','createPrintStyle','DependentOn','random','0px','position','UniverCore','mpn','registerDependencies','docs.operation.print','_skeletonData','style','getUnitId','body','Documents','pages','svg','registerCommand','ComponentManager','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','print','_configService','call','mask','xlink:href','_engine','setId','pageHeight','root','PrintDirection','5649640qvQMOZ','Engine','_univerInstanceService','container','Injector','_addViewport','PRINT_CONTAINER_CLASS','toStringTag','mainComponent','with','DocumentDataModel\x20is\x20not\x20found','decorate','print-icon','DocSkeletonManagerService'];_0x3457=function(){return _0x44b44b;};return _0x3457();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4bc459,_0x1c75fd){var _0x383eda=_0x1b4f,_0x5a07bd=_0x4bc459();while(!![]){try{var _0x20edeb=-parseInt(_0x383eda(0x1cf))/0x1*(-parseInt(_0x383eda(0x1d1))/0x2)+-parseInt(_0x383eda(0x1d2))/0x3*(parseInt(_0x383eda(0x1c9))/0x4)+-parseInt(_0x383eda(0x1c5))/0x5+parseInt(_0x383eda(0x1d0))/0x6*(-parseInt(_0x383eda(0x1c6))/0x7)+-parseInt(_0x383eda(0x1c7))/0x8*(parseInt(_0x383eda(0x1c8))/0x9)+parseInt(_0x383eda(0x1cb))/0xa+-parseInt(_0x383eda(0x1c4))/0xb*(-parseInt(_0x383eda(0x1ca))/0xc);if(_0x20edeb===_0x1c75fd)break;else _0x5a07bd['push'](_0x5a07bd['shift']());}catch(_0x50bf98){_0x5a07bd['push'](_0x5a07bd['shift']());}}}(_0x4ce8,0x4d03d),function(_0x22cdb6,_0x48a087){var _0x40bd0b=_0x1b4f;typeof exports==_0x40bd0b(0x1cc)&&typeof module<'u'?module[_0x40bd0b(0x1ce)]=_0x48a087():typeof define==_0x40bd0b(0x1c3)&&define[_0x40bd0b(0x1c2)]?define([],_0x48a087):(_0x22cdb6=typeof globalThis<'u'?globalThis:_0x22cdb6||self,_0x22cdb6[_0x40bd0b(0x1cd)]=_0x48a087());}(this,function(){var _0x4ec061=_0x1b4f;return{'print':{'menu':_0x4ec061(0x1d3)}};}));function _0x1b4f(_0x406e79,_0x482a2c){_0x406e79=_0x406e79-0x1c2;var _0x4ce855=_0x4ce8();var _0x1b4f2f=_0x4ce855[_0x406e79];return _0x1b4f2f;}function _0x4ce8(){var _0x3e01ac=['3429PDRGOx','212CGXmDO','171624ywJUJp','1283140ctfOQq','object','UniverProDocsPrintCaES','exports','101YXoSlT','30234iJMcAA','1874OBflPQ','16239UtRgaX','Print','amd','function','748hWqkHt','267945xvJfdW','315NJVsPS','6568ywVlAR'];_0x4ce8=function(){return _0x3e01ac;};return _0x4ce8();}
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x7a7d(_0x14800f,_0x5758f6){_0x14800f=_0x14800f-0xca;var _0x552f8b=_0x552f();var _0x7a7d41=_0x552f8b[_0x14800f];return _0x7a7d41;}function _0x552f(){var _0xbb8b80=['24qVCfFv','1012PIjdtM','1336350GgyAoj','14268wbAwAd','34775JwkrDf','36968fDSLuf','567LnlJeA','UniverProDocsPrintEnUS','object','Print','22rkDUZG','108Cosvdz','6790421VFCoTA','33518WQPSPB','921IxZuWV','amd','function','1463635ciARrh','exports'];_0x552f=function(){return _0xbb8b80;};return _0x552f();}(function(_0x270c46,_0x559d4b){var _0x3493f4=_0x7a7d,_0x462a58=_0x270c46();while(!![]){try{var _0x2e4d6e=parseInt(_0x3493f4(0xce))/0x1*(parseInt(_0x3493f4(0xcb))/0x2)+-parseInt(_0x3493f4(0xcf))/0x3*(parseInt(_0x3493f4(0xd5))/0x4)+parseInt(_0x3493f4(0xd2))/0x5*(-parseInt(_0x3493f4(0xd4))/0x6)+-parseInt(_0x3493f4(0xda))/0x7*(parseInt(_0x3493f4(0xd9))/0x8)+parseInt(_0x3493f4(0xcc))/0x9*(-parseInt(_0x3493f4(0xd6))/0xa)+parseInt(_0x3493f4(0xcd))/0xb+-parseInt(_0x3493f4(0xd7))/0xc*(-parseInt(_0x3493f4(0xd8))/0xd);if(_0x2e4d6e===_0x559d4b)break;else _0x462a58['push'](_0x462a58['shift']());}catch(_0xb6ea56){_0x462a58['push'](_0x462a58['shift']());}}}(_0x552f,0xe5834),function(_0x1ad0c8,_0x577607){var _0x5c7a57=_0x7a7d;typeof exports==_0x5c7a57(0xdc)&&typeof module<'u'?module[_0x5c7a57(0xd3)]=_0x577607():typeof define==_0x5c7a57(0xd1)&&define[_0x5c7a57(0xd0)]?define([],_0x577607):(_0x1ad0c8=typeof globalThis<'u'?globalThis:_0x1ad0c8||self,_0x1ad0c8[_0x5c7a57(0xdb)]=_0x577607());}(this,function(){var _0x244ec3=_0x7a7d;return{'print':{'menu':_0x244ec3(0xca)}};}));
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x13af(_0x1ab8a7,_0x492c14){_0x1ab8a7=_0x1ab8a7-0x138;var _0x169abc=_0x169a();var _0x13afbc=_0x169abc[_0x1ab8a7];return _0x13afbc;}function _0x169a(){var _0x4d06c2=['612396yJSPBq','120vYJFWv','129393uKEJpe','567882CvMdoX','object','79602tLfdXe','amd','Print','4243434NeZmLF','831988IImtDn','function','exports','800510WAIudX'];_0x169a=function(){return _0x4d06c2;};return _0x169a();}(function(_0x18ca71,_0xd450f2){var _0x202646=_0x13af,_0x17bc73=_0x18ca71();while(!![]){try{var _0x157e43=-parseInt(_0x202646(0x139))/0x1+-parseInt(_0x202646(0x144))/0x2+-parseInt(_0x202646(0x13c))/0x3+parseInt(_0x202646(0x140))/0x4+parseInt(_0x202646(0x143))/0x5+-parseInt(_0x202646(0x13f))/0x6+-parseInt(_0x202646(0x13a))/0x7*(-parseInt(_0x202646(0x138))/0x8);if(_0x157e43===_0xd450f2)break;else _0x17bc73['push'](_0x17bc73['shift']());}catch(_0x3f9c1a){_0x17bc73['push'](_0x17bc73['shift']());}}}(_0x169a,0x65789),function(_0x4e18bd,_0x13abe3){var _0x2e5a33=_0x13af;typeof exports==_0x2e5a33(0x13b)&&typeof module<'u'?module[_0x2e5a33(0x142)]=_0x13abe3():typeof define==_0x2e5a33(0x141)&&define[_0x2e5a33(0x13d)]?define([],_0x13abe3):(_0x4e18bd=typeof globalThis<'u'?globalThis:_0x4e18bd||self,_0x4e18bd['UniverProDocsPrintEsES']=_0x13abe3());}(this,function(){var _0x7b0369=_0x13af;return{'print':{'menu':_0x7b0369(0x13e)}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3f18(_0x55cad3,_0x2db849){_0x55cad3=_0x55cad3-0x1d4;var _0x2fc03f=_0x2fc0();var _0x3f182c=_0x2fc03f[_0x55cad3];return _0x3f182c;}(function(_0xf5c7e5,_0x30a2dc){var _0x2c3d12=_0x3f18,_0x97b9cb=_0xf5c7e5();while(!![]){try{var _0x14b640=-parseInt(_0x2c3d12(0x1dd))/0x1*(parseInt(_0x2c3d12(0x1de))/0x2)+parseInt(_0x2c3d12(0x1d8))/0x3+parseInt(_0x2c3d12(0x1df))/0x4+-parseInt(_0x2c3d12(0x1d4))/0x5+parseInt(_0x2c3d12(0x1d5))/0x6*(parseInt(_0x2c3d12(0x1d6))/0x7)+parseInt(_0x2c3d12(0x1d9))/0x8+parseInt(_0x2c3d12(0x1e2))/0x9*(parseInt(_0x2c3d12(0x1e0))/0xa);if(_0x14b640===_0x30a2dc)break;else _0x97b9cb['push'](_0x97b9cb['shift']());}catch(_0x504221){_0x97b9cb['push'](_0x97b9cb['shift']());}}}(_0x2fc0,0xba1c2),function(_0x23717f,_0x4f69bb){var _0x319654=_0x3f18;typeof exports==_0x319654(0x1e1)&&typeof module<'u'?module[_0x319654(0x1dc)]=_0x4f69bb():typeof define==_0x319654(0x1d7)&&define['amd']?define([],_0x4f69bb):(_0x23717f=typeof globalThis<'u'?globalThis:_0x23717f||self,_0x23717f[_0x319654(0x1db)]=_0x4f69bb());}(this,function(){var _0x4cdf1b=_0x3f18;return{'print':{'menu':_0x4cdf1b(0x1da)}};}));function _0x2fc0(){var _0x40510e=['6514235prluXe','6TeDzDw','3572653SWQEil','function','2369700txlwQt','2144312BROHgK','چاپ','UniverProDocsPrintFaIR','exports','552502iUkHrs','2yzccPh','2808252ydOpjs','30aUEtXh','object','1041822DpXPez'];_0x2fc0=function(){return _0x40510e;};return _0x2fc0();}
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x347d(){var _0x29299c=['22TpbKfo','3584990wqteKo','748590kUUaiJ','96564Edrerv','UniverProDocsPrintFrFR','function','exports','326799JsMwYZ','1521NyOuIi','396605vZFUJs','object','12008NSRUex','2670339HZgIKZ','12plOnVl','2KLTKnQ'];_0x347d=function(){return _0x29299c;};return _0x347d();}function _0x38dc(_0x5c2a8e,_0x24cd0b){_0x5c2a8e=_0x5c2a8e-0x1c9;var _0x347d93=_0x347d();var _0x38dc41=_0x347d93[_0x5c2a8e];return _0x38dc41;}(function(_0x48aaea,_0x45dcf7){var _0x162c47=_0x38dc,_0x4cec8c=_0x48aaea();while(!![]){try{var _0x5afedf=parseInt(_0x162c47(0x1ca))/0x1*(parseInt(_0x162c47(0x1d1))/0x2)+parseInt(_0x162c47(0x1d4))/0x3+-parseInt(_0x162c47(0x1d0))/0x4*(-parseInt(_0x162c47(0x1cc))/0x5)+parseInt(_0x162c47(0x1d5))/0x6+parseInt(_0x162c47(0x1cf))/0x7+parseInt(_0x162c47(0x1ce))/0x8*(-parseInt(_0x162c47(0x1cb))/0x9)+-parseInt(_0x162c47(0x1d3))/0xa*(parseInt(_0x162c47(0x1d2))/0xb);if(_0x5afedf===_0x45dcf7)break;else _0x4cec8c['push'](_0x4cec8c['shift']());}catch(_0x2e256a){_0x4cec8c['push'](_0x4cec8c['shift']());}}}(_0x347d,0x3ae2c),function(_0x3cf70e,_0x1a3fc2){var _0x2c8d13=_0x38dc;typeof exports==_0x2c8d13(0x1cd)&&typeof module<'u'?module[_0x2c8d13(0x1c9)]=_0x1a3fc2():typeof define==_0x2c8d13(0x1d7)&&define['amd']?define([],_0x1a3fc2):(_0x3cf70e=typeof globalThis<'u'?globalThis:_0x3cf70e||self,_0x3cf70e[_0x2c8d13(0x1d6)]=_0x1a3fc2());}(this,function(){return{'print':{'menu':'Imprimer'}};}));
|
package/lib/umd/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3c10(){var _0x5827d0=['563592oPQsnX','308532SrzszT','781bqxxAs','49730nLHMNR','amd','362217TQhHrP','62030VrbWMa','UniverProDocsPrintJaJP','object','4698378CNkJdJ','748330fcGQTs','112BTphMO','24kRacls','180muswfn','function'];_0x3c10=function(){return _0x5827d0;};return _0x3c10();}function _0x33c1(_0xe00037,_0x49ac5e){_0xe00037=_0xe00037-0x1ac;var _0x3c10ce=_0x3c10();var _0x33c13b=_0x3c10ce[_0xe00037];return _0x33c13b;}(function(_0x19667c,_0x478894){var _0x4b9ed8=_0x33c1,_0x1c381b=_0x19667c();while(!![]){try{var _0x247007=parseInt(_0x4b9ed8(0x1b3))/0x1+parseInt(_0x4b9ed8(0x1ae))/0x2+-parseInt(_0x4b9ed8(0x1b8))/0x3*(-parseInt(_0x4b9ed8(0x1b0))/0x4)+parseInt(_0x4b9ed8(0x1b6))/0x5*(parseInt(_0x4b9ed8(0x1b1))/0x6)+parseInt(_0x4b9ed8(0x1b4))/0x7*(-parseInt(_0x4b9ed8(0x1af))/0x8)+-parseInt(_0x4b9ed8(0x1ad))/0x9+-parseInt(_0x4b9ed8(0x1b9))/0xa*(parseInt(_0x4b9ed8(0x1b5))/0xb);if(_0x247007===_0x478894)break;else _0x1c381b['push'](_0x1c381b['shift']());}catch(_0x1c2366){_0x1c381b['push'](_0x1c381b['shift']());}}}(_0x3c10,0x5d07c),function(_0x585b22,_0x26b0c5){var _0x8b0ee8=_0x33c1;typeof exports==_0x8b0ee8(0x1ac)&&typeof module<'u'?module['exports']=_0x26b0c5():typeof define==_0x8b0ee8(0x1b2)&&define[_0x8b0ee8(0x1b7)]?define([],_0x26b0c5):(_0x585b22=typeof globalThis<'u'?globalThis:_0x585b22||self,_0x585b22[_0x8b0ee8(0x1ba)]=_0x26b0c5());}(this,function(){return{'print':{'menu':'印刷'}};}));
|
package/lib/umd/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2860f8,_0xf3e119){var _0x210cd9=_0x4ddf,_0x1611f2=_0x2860f8();while(!![]){try{var _0x1dc2b6=-parseInt(_0x210cd9(0x68))/0x1*(-parseInt(_0x210cd9(0x73))/0x2)+-parseInt(_0x210cd9(0x66))/0x3*(parseInt(_0x210cd9(0x65))/0x4)+-parseInt(_0x210cd9(0x72))/0x5+parseInt(_0x210cd9(0x67))/0x6+parseInt(_0x210cd9(0x71))/0x7*(parseInt(_0x210cd9(0x6a))/0x8)+parseInt(_0x210cd9(0x6d))/0x9+-parseInt(_0x210cd9(0x70))/0xa*(parseInt(_0x210cd9(0x6f))/0xb);if(_0x1dc2b6===_0xf3e119)break;else _0x1611f2['push'](_0x1611f2['shift']());}catch(_0x5c44b4){_0x1611f2['push'](_0x1611f2['shift']());}}}(_0x4b1d,0x8eaa4),function(_0xe36cc4,_0x3a1e99){var _0x5b09de=_0x4ddf;typeof exports==_0x5b09de(0x6b)&&typeof module<'u'?module[_0x5b09de(0x69)]=_0x3a1e99():typeof define==_0x5b09de(0x74)&&define[_0x5b09de(0x6c)]?define([],_0x3a1e99):(_0xe36cc4=typeof globalThis<'u'?globalThis:_0xe36cc4||self,_0xe36cc4[_0x5b09de(0x6e)]=_0x3a1e99());}(this,function(){return{'print':{'menu':'인쇄'}};}));function _0x4ddf(_0x1b5b78,_0x2892b8){_0x1b5b78=_0x1b5b78-0x65;var _0x4b1d35=_0x4b1d();var _0x4ddf74=_0x4b1d35[_0x1b5b78];return _0x4ddf74;}function _0x4b1d(){var _0x1f82f2=['10303NaaUXP','exports','24udTPvJ','object','amd','4443885BJIiKB','UniverProDocsPrintKoKR','430969PuNWpj','110AygfTL','1768515GohjBC','2813100oYQVuO','10xoEwjz','function','44mGhkUv','154083VUHlbP','5038206AmcssV'];_0x4b1d=function(){return _0x1f82f2;};return _0x4b1d();}
|
package/lib/umd/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1bb7(_0x3f915c,_0x4a6901){_0x3f915c=_0x3f915c-0x175;var _0xb18bd5=_0xb18b();var _0x1bb73b=_0xb18bd5[_0x3f915c];return _0x1bb73b;}function _0xb18b(){var _0x3a3b22=['372415rrOWkv','exports','35593npHkUj','742623bBWetk','18RBABpJ','1188400HbbyRl','89480HEaagf','object','160702JUIamC','446991SuTptc','UniverProDocsPrintRuRU','Печать'];_0xb18b=function(){return _0x3a3b22;};return _0xb18b();}(function(_0x4d4ea5,_0x54298a){var _0x3b9de6=_0x1bb7,_0x4b924b=_0x4d4ea5();while(!![]){try{var _0xbedf3=parseInt(_0x3b9de6(0x177))/0x1+-parseInt(_0x3b9de6(0x17d))/0x2+parseInt(_0x3b9de6(0x17e))/0x3+-parseInt(_0x3b9de6(0x17b))/0x4+-parseInt(_0x3b9de6(0x175))/0x5+-parseInt(_0x3b9de6(0x179))/0x6*(-parseInt(_0x3b9de6(0x178))/0x7)+-parseInt(_0x3b9de6(0x17a))/0x8;if(_0xbedf3===_0x54298a)break;else _0x4b924b['push'](_0x4b924b['shift']());}catch(_0x3d23ae){_0x4b924b['push'](_0x4b924b['shift']());}}}(_0xb18b,0x2b3cf),function(_0x3059a1,_0x1ce2c5){var _0x37f7a3=_0x1bb7;typeof exports==_0x37f7a3(0x17c)&&typeof module<'u'?module[_0x37f7a3(0x176)]=_0x1ce2c5():typeof define=='function'&&define['amd']?define([],_0x1ce2c5):(_0x3059a1=typeof globalThis<'u'?globalThis:_0x3059a1||self,_0x3059a1[_0x37f7a3(0x17f)]=_0x1ce2c5());}(this,function(){var _0x282b78=_0x1bb7;return{'print':{'menu':_0x282b78(0x180)}};}));
|
package/lib/umd/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x244e46,_0x308aef){var _0x2c3238=_0x236e,_0x226ee9=_0x244e46();while(!![]){try{var _0x8d1ae8=parseInt(_0x2c3238(0x72))/0x1+parseInt(_0x2c3238(0x71))/0x2+parseInt(_0x2c3238(0x6b))/0x3*(-parseInt(_0x2c3238(0x6c))/0x4)+parseInt(_0x2c3238(0x6e))/0x5*(-parseInt(_0x2c3238(0x74))/0x6)+-parseInt(_0x2c3238(0x77))/0x7+parseInt(_0x2c3238(0x76))/0x8+-parseInt(_0x2c3238(0x73))/0x9*(-parseInt(_0x2c3238(0x6f))/0xa);if(_0x8d1ae8===_0x308aef)break;else _0x226ee9['push'](_0x226ee9['shift']());}catch(_0x51fae2){_0x226ee9['push'](_0x226ee9['shift']());}}}(_0x33b8,0x63faa),function(_0x25704c,_0xdd51d9){var _0xcc02a8=_0x236e;typeof exports==_0xcc02a8(0x6d)&&typeof module<'u'?module[_0xcc02a8(0x75)]=_0xdd51d9():typeof define=='function'&&define[_0xcc02a8(0x70)]?define([],_0xdd51d9):(_0x25704c=typeof globalThis<'u'?globalThis:_0x25704c||self,_0x25704c['UniverProDocsPrintSkSK']=_0xdd51d9());}(this,function(){return{'print':{'menu':'Tlač'}};}));function _0x236e(_0x5aa5d6,_0xc8498c){_0x5aa5d6=_0x5aa5d6-0x6b;var _0x33b881=_0x33b8();var _0x236e7c=_0x33b881[_0x5aa5d6];return _0x236e7c;}function _0x33b8(){var _0x5cae38=['18717cYGlyc','212TnKSpN','object','64195BvztUZ','4045270qeipbC','amd','1489856uRTlfV','160501UNHZZv','9OwnQka','198EwWoRE','exports','439192nMrvKs','1406909cvflCz'];_0x33b8=function(){return _0x5cae38;};return _0x33b8();}
|
package/lib/umd/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x27d4(_0x3d88bf,_0x20a80d){_0x3d88bf=_0x3d88bf-0xd1;var _0x162b03=_0x162b();var _0x27d420=_0x162b03[_0x3d88bf];return _0x27d420;}(function(_0x18fbca,_0xba2d74){var _0x35866c=_0x27d4,_0x1ef3c4=_0x18fbca();while(!![]){try{var _0x525ab0=parseInt(_0x35866c(0xd4))/0x1*(-parseInt(_0x35866c(0xd9))/0x2)+parseInt(_0x35866c(0xdd))/0x3+-parseInt(_0x35866c(0xd6))/0x4*(-parseInt(_0x35866c(0xdb))/0x5)+parseInt(_0x35866c(0xd2))/0x6*(-parseInt(_0x35866c(0xd5))/0x7)+-parseInt(_0x35866c(0xd7))/0x8*(-parseInt(_0x35866c(0xd8))/0x9)+parseInt(_0x35866c(0xdc))/0xa+parseInt(_0x35866c(0xda))/0xb;if(_0x525ab0===_0xba2d74)break;else _0x1ef3c4['push'](_0x1ef3c4['shift']());}catch(_0x55340e){_0x1ef3c4['push'](_0x1ef3c4['shift']());}}}(_0x162b,0xf1b76),function(_0x3979fc,_0x7c629a){var _0x37afd4=_0x27d4;typeof exports==_0x37afd4(0xde)&&typeof module<'u'?module[_0x37afd4(0xd1)]=_0x7c629a():typeof define=='function'&&define[_0x37afd4(0xd3)]?define([],_0x7c629a):(_0x3979fc=typeof globalThis<'u'?globalThis:_0x3979fc||self,_0x3979fc['UniverProDocsPrintViVN']=_0x7c629a());}(this,function(){return{'print':{'menu':'In'}};}));function _0x162b(){var _0x1ddecc=['339480gWbILf','4246821Gmommf','object','exports','66OuKvCW','amd','22299LmfFfU','100597sVDaee','1852UZqQSN','53744qQoRuV','234NSCEIf','94JYWkmR','266772VjCPmL','5915LBuXKC'];_0x162b=function(){return _0x1ddecc;};return _0x162b();}
|
package/lib/umd/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3204(_0xae76fc,_0x2628b0){_0xae76fc=_0xae76fc-0x114;var _0x1ab290=_0x1ab2();var _0x320465=_0x1ab290[_0xae76fc];return _0x320465;}function _0x1ab2(){var _0x2d346c=['16jLRbNW','1039591cNMCfo','exports','UniverProDocsPrintZhCN','432ZyWbrM','302554BqJzqy','1joLGcU','213190cnsXec','object','179070xaGYBd','17991lFXKDm','1184240VsAtNU','amd','654606ymnKeE'];_0x1ab2=function(){return _0x2d346c;};return _0x1ab2();}(function(_0x8db475,_0x3d88c6){var _0x4205cf=_0x3204,_0x517152=_0x8db475();while(!![]){try{var _0x2bb7cb=-parseInt(_0x4205cf(0x11b))/0x1*(parseInt(_0x4205cf(0x11a))/0x2)+-parseInt(_0x4205cf(0x11e))/0x3+parseInt(_0x4205cf(0x115))/0x4*(-parseInt(_0x4205cf(0x11c))/0x5)+parseInt(_0x4205cf(0x114))/0x6+parseInt(_0x4205cf(0x116))/0x7+-parseInt(_0x4205cf(0x119))/0x8*(-parseInt(_0x4205cf(0x11f))/0x9)+parseInt(_0x4205cf(0x120))/0xa;if(_0x2bb7cb===_0x3d88c6)break;else _0x517152['push'](_0x517152['shift']());}catch(_0x3ca8b3){_0x517152['push'](_0x517152['shift']());}}}(_0x1ab2,0x19041),function(_0x2d10bd,_0x3e3ed9){var _0x17e3a8=_0x3204;typeof exports==_0x17e3a8(0x11d)&&typeof module<'u'?module[_0x17e3a8(0x117)]=_0x3e3ed9():typeof define=='function'&&define[_0x17e3a8(0x121)]?define([],_0x3e3ed9):(_0x2d10bd=typeof globalThis<'u'?globalThis:_0x2d10bd||self,_0x2d10bd[_0x17e3a8(0x118)]=_0x3e3ed9());}(this,function(){return{'print':{'menu':'打印'}};}));
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x596e(_0x12232c,_0x52ca3a){_0x12232c=_0x12232c-0x1d6;var _0x1924eb=_0x1924();var _0x596e82=_0x1924eb[_0x12232c];return _0x596e82;}(function(_0x1a66d2,_0x4983e5){var _0x2e5aea=_0x596e,_0x5520ef=_0x1a66d2();while(!![]){try{var _0x4c1fc9=-parseInt(_0x2e5aea(0x1d6))/0x1+-parseInt(_0x2e5aea(0x1e1))/0x2+parseInt(_0x2e5aea(0x1de))/0x3+parseInt(_0x2e5aea(0x1df))/0x4+-parseInt(_0x2e5aea(0x1db))/0x5*(parseInt(_0x2e5aea(0x1d8))/0x6)+parseInt(_0x2e5aea(0x1e2))/0x7*(-parseInt(_0x2e5aea(0x1e0))/0x8)+parseInt(_0x2e5aea(0x1dd))/0x9;if(_0x4c1fc9===_0x4983e5)break;else _0x5520ef['push'](_0x5520ef['shift']());}catch(_0x18251b){_0x5520ef['push'](_0x5520ef['shift']());}}}(_0x1924,0x3e872),function(_0x563e2a,_0x302228){var _0x51c711=_0x596e;typeof exports=='object'&&typeof module<'u'?module[_0x51c711(0x1dc)]=_0x302228():typeof define==_0x51c711(0x1d9)&&define[_0x51c711(0x1d7)]?define([],_0x302228):(_0x563e2a=typeof globalThis<'u'?globalThis:_0x563e2a||self,_0x563e2a[_0x51c711(0x1da)]=_0x302228());}(this,function(){return{'print':{'menu':'列印'}};}));function _0x1924(){var _0x4fed5a=['function','UniverProDocsPrintZhTW','281280ioenmI','exports','7977618rgOnZx','601548fqrTXs','1145292JUYEJY','197032jVgBIO','662132uIYAnc','14YNGSpV','343011LaYoVo','amd','42hsWkXK'];_0x1924=function(){return _0x4fed5a;};return _0x1924();}
|