@univerjs-pro/docs-print 1.0.0-alpha.0 → 1.0.0-insiders.20260629-12f2e44
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x162d46=_0x362e;(function(_0x11cb40,_0x36fd4f){const _0xf88fe5=_0x362e,_0x129057=_0x11cb40();while(!![]){try{const _0x24c482=parseInt(_0xf88fe5(0x17b))/0x1+parseInt(_0xf88fe5(0x15b))/0x2+-parseInt(_0xf88fe5(0x1b8))/0x3*(-parseInt(_0xf88fe5(0x190))/0x4)+-parseInt(_0xf88fe5(0x1c4))/0x5*(parseInt(_0xf88fe5(0x1ce))/0x6)+parseInt(_0xf88fe5(0x141))/0x7*(parseInt(_0xf88fe5(0x1d0))/0x8)+-parseInt(_0xf88fe5(0x187))/0x9+-parseInt(_0xf88fe5(0x15c))/0xa;if(_0x24c482===_0x36fd4f)break;else _0x129057['push'](_0x129057['shift']());}catch(_0x50b782){_0x129057['push'](_0x129057['shift']());}}}(_0x5969,0xc6c67),Object[_0x162d46(0x1b9)](exports,Symbol['toStringTag'],{'value':_0x162d46(0x18c)}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/network'),s=require('@univerjs/icons'),c=require('@univerjs/ui');function l(_0xa51009){'@babel/helpers - typeof';const _0x57c594=_0x162d46;return l=typeof Symbol==_0x57c594(0x159)&&typeof Symbol[_0x57c594(0x160)]==_0x57c594(0x1b4)?function(_0x4b9d39){return typeof _0x4b9d39;}:function(_0x4032ea){const _0x23df40=_0x57c594;return _0x4032ea&&typeof Symbol==_0x23df40(0x159)&&_0x4032ea[_0x23df40(0x1bd)]===Symbol&&_0x4032ea!==Symbol['prototype']?_0x23df40(0x1b4):typeof _0x4032ea;},l(_0xa51009);}function _0x5969(){const _0x583c09=['_paperSize','makeForceDirty','_documents','object','OTHERS','getMenuHiddenObservable','Viewport','pageWidth','getOffsetConfig','VIEW_MAIN','length','menu','UniverInstanceType','render','0px','docs-print.menu','getLicenseInfo','interceptor','type','getDocFeatureLimit','isLocalCheck','symbol','DocumentDataModel\x20is\x20not\x20found','updateScrollVal','_offsetConfig','3xmCGyb','defineProperty','_addComponent','getCanvas','_config','constructor','getInterceptPoints','PRINTING_DOM_COLLECT','forEach','fill','removeChild','mergeMenu','5EhBTfS','getUnitId','_page','Inject','IUniverInstanceService','CommandType','registerDependencies','valid','get','style','401118DphSFn','UniverDocsPrintPlugin','8PoVihM','setContainer','_calculateLayout','DocumentFlavor','fetchThroughInterceptors','pages','getUnit','100%','merge','_container','_initMenus','_iconManager','Plugin','Injector','Pages\x20are\x20not\x20found','makeDirty','onStarting','ICommandService','documentFlavor','print','height','_effects','DOCS_PRINT_PLUGIN_CONFIG_KEY','_key','container','setId','syncExecuteCommand','DocSkeletonManagerService','onReady','isFeatureAuthorizedWithinTime','Portrait','UNIVER_DOC','_renderManagerService','@univerjs-pro/docs-print','11130133CazEjF','UniverNetworkPlugin','DocPrintOperation','getOwnPropertyDescriptor','IMenuManagerService','_skeletonData','disposeWithMe','map','DocPrintInterceptorService','_configService','call','mainComponent','PrintIcon','page','getSkeletonData','div','className','Disposable','_addViewport','isPro','_currentRender','dispose','_unitId','IRenderManagerService','function','PrintDirection','552722DARBRI','19949100LBSOil','IConfigService','onafterprint','root','iterator','restore','SwitchDocModeCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','VIEWPORT_KEY','decorate','position','_initCommands','UniverLicensePlugin','_menuManagerService','_registerIcons','RibbonStartGroup','translate','pageHeight','createElement','Printing','appendChild','_commandService','scale','OPERATION','getSkeleton','width','top','1.0.0-alpha.0','DependentOn','Engine','pluginName','1142380jmZPEH','BUTTON','_viewMain','Render\x20is\x20not\x20found','docs.operation.print','with','min','right','_initRenderer','PRINTING_COMPONENT_COLLECT','Scene','Skeleton\x20data\x20is\x20not\x20found','8985312Nyaibw','getConfig','getCurrentUnitOfType','string','_univerInstanceService','Module','left','getRenderById','DisposableCollection','3462216qfGTNf','prepare','_root','__DocPrintRender__','_injector','setConfig','PRINT_CANVAS_CLASS','Documents','_scene','body','CanvasRenderMode','_engine','generateRandomId','bottom','_skeleton'];_0x5969=function(){return _0x583c09;};return _0x5969();}function u(_0x48b0af,_0x5157c0){const _0x4687f4=_0x162d46;if(l(_0x48b0af)!=_0x4687f4(0x1a2)||!_0x48b0af)return _0x48b0af;var _0x471d2c=_0x48b0af[Symbol['toPrimitive']];if(_0x471d2c!==void 0x0){var _0x3a8c9e=_0x471d2c[_0x4687f4(0x14b)](_0x48b0af,_0x5157c0||'default');if(l(_0x3a8c9e)!='object')return _0x3a8c9e;throw TypeError(_0x4687f4(0x163));}return(_0x5157c0===_0x4687f4(0x18a)?String:Number)(_0x48b0af);}function d(_0x64d2e1){var _0x2dc8ce=u(_0x64d2e1,'string');return l(_0x2dc8ce)=='symbol'?_0x2dc8ce:_0x2dc8ce+'';}function f(_0x5fb29f,_0x1181a1,_0x449e40){const _0x28a0a7=_0x162d46;return(_0x1181a1=d(_0x1181a1))in _0x5fb29f?Object[_0x28a0a7(0x1b9)](_0x5fb29f,_0x1181a1,{'value':_0x449e40,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5fb29f[_0x1181a1]=_0x449e40,_0x5fb29f;}var p=class extends e['Disposable']{get['container'](){const _0x40456a=_0x162d46;return this[_0x40456a(0x1d9)];}get[_0x162d46(0x15f)](){const _0xb6d222=_0x162d46;return this[_0xb6d222(0x192)];}get[_0x162d46(0x155)](){const _0x550193=_0x162d46;let _0x31a84e=this[_0x550193(0x194)]['get'](n[_0x550193(0x158)])[_0x550193(0x18e)](this[_0x550193(0x157)]);if(!_0x31a84e)throw Error(_0x550193(0x17e));return _0x31a84e;}get[_0x162d46(0x19e)](){const _0x4b86b8=_0x162d46;return this[_0x4b86b8(0x155)][_0x4b86b8(0x180)](a['DocSkeletonManagerService'])[_0x4b86b8(0x174)]();}get[_0x162d46(0x146)](){const _0x194821=_0x162d46;let _0x36cb3e=this[_0x194821(0x19e)][_0x194821(0x14f)]();if(!_0x36cb3e)throw Error(_0x194821(0x186));return _0x36cb3e;}get[_0x162d46(0x19f)](){const _0x341025=_0x162d46;let _0x30f126=this[_0x341025(0x146)][_0x341025(0x1d5)][0x0];return{'width':_0x30f126['pageWidth'],'height':_0x30f126[_0x341025(0x16d)]};}constructor(_0x3fbb3e,_0xf6fc0,_0x14e26a,_0x59a8a7){const _0xf70c1e=_0x162d46;super(),this['_injector']=_0x3fbb3e,this[_0xf70c1e(0x1c6)]=_0xf6fc0,this[_0xf70c1e(0x157)]=_0x14e26a,this[_0xf70c1e(0x1b7)]=_0x59a8a7,f(this,_0xf70c1e(0x1d9),document[_0xf70c1e(0x16e)](_0xf70c1e(0x150))),f(this,_0xf70c1e(0x192),document[_0xf70c1e(0x16e)](_0xf70c1e(0x150))),f(this,'_engine',void 0x0),f(this,_0xf70c1e(0x198),void 0x0),f(this,_0xf70c1e(0x136),void 0x0),f(this,'_documents',void 0x0),f(this,_0xf70c1e(0x17d),void 0x0),f(this,_0xf70c1e(0x1e5),new e[(_0xf70c1e(0x18f))]()),this[_0xf70c1e(0x136)]=(0x0,e[_0xf70c1e(0x19c)])(0x4),this[_0xf70c1e(0x183)](),this['disposeWithMe']({'dispose':()=>{const _0x35fca1=_0xf70c1e;this['_engine'][_0x35fca1(0x156)](),this['_scene'][_0x35fca1(0x156)](),this['_effects'][_0x35fca1(0x156)]();}});}[_0x162d46(0x1d2)](){const _0x5b92f2=_0x162d46;let {docsTop:_0x10d2d8,docsLeft:_0x348592}=this[_0x5b92f2(0x1a1)][_0x5b92f2(0x1a7)](),_0x1a5adf=this['_paperSize'][_0x5b92f2(0x1e4)],_0x55af64=this[_0x5b92f2(0x19f)][_0x5b92f2(0x175)];return{'top':_0x10d2d8+(_0x10d2d8+_0x1a5adf)*this['_page'],'bottom':_0x10d2d8+(_0x10d2d8+_0x1a5adf)*(this[_0x5b92f2(0x1c6)]+0x1),'left':_0x348592,'right':_0x348592+_0x55af64};}[_0x162d46(0x183)](){const _0x27474a=_0x162d46;this[_0x27474a(0x19b)]=new n[(_0x27474a(0x179))]('',{'elementWidth':this[_0x27474a(0x19f)][_0x27474a(0x175)],'elementHeight':this[_0x27474a(0x19f)][_0x27474a(0x1e4)],'dpr':0x1,'renderMode':n[_0x27474a(0x19a)][_0x27474a(0x16f)]}),this[_0x27474a(0x198)]=new n[(_0x27474a(0x185))](this[_0x27474a(0x136)],this[_0x27474a(0x19b)]),this['_scene'][_0x27474a(0x172)](0x1,0x1),this[_0x27474a(0x19b)][_0x27474a(0x1d1)](this[_0x27474a(0x1d9)],!0x1),this[_0x27474a(0x19b)][_0x27474a(0x1bb)]()['getContext']()[_0x27474a(0x138)](this['_key']+'_'+(0x0,e[_0x27474a(0x19c)])(0x4)),this[_0x27474a(0x1ba)](),this[_0x27474a(0x153)]();}['_addComponent'](){const _0xc7c348=_0x162d46;let {pageMarginLeft:_0x3e2e4a,pageMarginTop:_0x40e4b6,docsLeft:_0xa884eb,docsTop:_0xb5a2f1}=this['_offsetConfig'],_0x56debb={'pageMarginLeft':_0x3e2e4a,'pageMarginTop':_0x40e4b6},_0x66d431=new n[(_0xc7c348(0x197))](_0xc7c348(0x193),this[_0xc7c348(0x19e)],_0x56debb);_0x66d431[_0xc7c348(0x16c)](_0xa884eb,_0xb5a2f1),this['_scene']['addObject'](_0x66d431),this['_documents']=_0x66d431;let _0x34fce0=this['_injector'][_0xc7c348(0x1cc)](t[_0xc7c348(0x149)]);_0x34fce0[_0xc7c348(0x1b0)][_0xc7c348(0x1d4)](_0x34fce0['interceptor'][_0xc7c348(0x1be)]()[_0xc7c348(0x184)])(void 0x0,{'unitId':this[_0xc7c348(0x157)],'scene':this[_0xc7c348(0x198)],'engine':this[_0xc7c348(0x19b)],'root':this[_0xc7c348(0x192)],'documents':this['_documents'],'skeleton':this['_skeleton']});}[_0x162d46(0x153)](){const _0x4abaf5=_0x162d46;this[_0x4abaf5(0x17d)]=new n[(_0x4abaf5(0x1a5))](t[_0x4abaf5(0x164)][_0x4abaf5(0x1a8)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x162d46(0x191)](){const _0x1abd15=_0x162d46;let _0x3d6084=this[_0x1abd15(0x1d2)]();this['_viewMain'][_0x1abd15(0x1b6)]({'viewportScrollX':_0x3d6084['left'],'viewportScrollY':_0x3d6084['top']}),this[_0x1abd15(0x192)]['style'][_0x1abd15(0x166)]='absolute',this[_0x1abd15(0x192)][_0x1abd15(0x1cd)][_0x1abd15(0x176)]='0px',this[_0x1abd15(0x192)][_0x1abd15(0x1cd)]['left']=_0x1abd15(0x1ad),this[_0x1abd15(0x192)][_0x1abd15(0x1cd)][_0x1abd15(0x175)]='100%',this['_root'][_0x1abd15(0x1cd)][_0x1abd15(0x1e4)]=_0x1abd15(0x1d7),this[_0x1abd15(0x1e5)]=new e[(_0x1abd15(0x18f))]();let _0x5de23=this[_0x1abd15(0x194)][_0x1abd15(0x1cc)](t[_0x1abd15(0x149)]);_0x5de23[_0x1abd15(0x1b0)][_0x1abd15(0x1d4)](_0x5de23['interceptor'][_0x1abd15(0x1be)]()[_0x1abd15(0x1bf)])(this[_0x1abd15(0x1e5)],{'unitId':this[_0x1abd15(0x157)],'scene':this[_0x1abd15(0x198)],'engine':this['_engine'],'root':this[_0x1abd15(0x192)],'skeleton':this['_skeleton'],'offset':{'x':_0x3d6084[_0x1abd15(0x18d)],'y':_0x3d6084['top']},'bound':{'top':_0x3d6084['top'],'left':_0x3d6084[_0x1abd15(0x18d)],'right':_0x3d6084[_0x1abd15(0x182)],'bottom':_0x3d6084[_0x1abd15(0x19d)]}});}[_0x162d46(0x1ac)](){const _0x4939d9=_0x162d46;let _0x2e8af2=this[_0x4939d9(0x19b)][_0x4939d9(0x1bb)]()['getContext']();this['_documents'][_0x4939d9(0x1a0)](),this['_scene'][_0x4939d9(0x1df)](),_0x2e8af2['save'](),this[_0x4939d9(0x198)][_0x4939d9(0x1ac)](),_0x2e8af2[_0x4939d9(0x161)]();}};function m(_0x5cd816,_0x559f38){return function(_0x248505,_0x15059c){_0x559f38(_0x248505,_0x15059c,_0x5cd816);};}function h(_0x18c30c,_0x59a315,_0x2c02e6,_0x402275){const _0x38241a=_0x162d46;var _0x2fc30d=arguments[_0x38241a(0x1a9)],_0x11c345=_0x2fc30d<0x3?_0x59a315:_0x402275===null?_0x402275=Object[_0x38241a(0x144)](_0x59a315,_0x2c02e6):_0x402275,_0x3194eb;if(typeof Reflect=='object'&&typeof Reflect[_0x38241a(0x165)]==_0x38241a(0x159))_0x11c345=Reflect[_0x38241a(0x165)](_0x18c30c,_0x59a315,_0x2c02e6,_0x402275);else{for(var _0x388507=_0x18c30c[_0x38241a(0x1a9)]-0x1;_0x388507>=0x0;_0x388507--)(_0x3194eb=_0x18c30c[_0x388507])&&(_0x11c345=(_0x2fc30d<0x3?_0x3194eb(_0x11c345):_0x2fc30d>0x3?_0x3194eb(_0x59a315,_0x2c02e6,_0x11c345):_0x3194eb(_0x59a315,_0x2c02e6))||_0x11c345);}return _0x2fc30d>0x3&&_0x11c345&&Object[_0x38241a(0x1b9)](_0x59a315,_0x2c02e6,_0x11c345),_0x11c345;}const g=Number['parseInt'](0x6a3b85bc),_=(_0x3d0157,_0x511f6f,_0x244264)=>{const _0x1c025d=_0x162d46;let _0x55e815={'page':_0x3d0157,'isPro':!0x1,'timeValid':!0x1};if(!_0x511f6f||!_0x244264)return _0x55e815;let _0x4d3814=(0x0,r[_0x1c025d(0x1af)])(_0x511f6f,_0x244264);if(_0x4d3814[_0x1c025d(0x1cb)]){let _0x4334f7=_0x4d3814['message'],_0xd47603=(0x0,r[_0x1c025d(0x13c)])(_0x4334f7,'df',g);_0x55e815[_0x1c025d(0x154)]=_0xd47603,_0x55e815['timeValid']=_0xd47603,_0x55e815['page']=(0x0,r[_0x1c025d(0x1b2)])(_0x4334f7,_0xd47603,'mpn',_0x3d0157,_0x3d0157,0x0);}return _0x55e815;};function _0x362e(_0x26ea3d,_0x5811e4){_0x26ea3d=_0x26ea3d-0x136;const _0x5969e1=_0x5969();let _0x362e2c=_0x5969e1[_0x26ea3d];return _0x362e2c;}let v=class extends e[_0x162d46(0x152)]{constructor(_0x2a49bb,_0x37364d,_0xccc8f4,_0x2921a2){const _0x2f3143=_0x162d46;super(),this[_0x2f3143(0x18b)]=_0x2a49bb,this[_0x2f3143(0x13f)]=_0x37364d,this['_injector']=_0xccc8f4,this[_0x2f3143(0x14a)]=_0x2921a2;}[_0x162d46(0x1e3)](_0x311880){const _0x22fb84=_0x162d46;var _0x38ee96,_0x32503a;let {ls:_0x560cef,pbk:_0x2dfbbe}=(_0x38ee96=this[_0x22fb84(0x14a)][_0x22fb84(0x188)](r['LS_CONFIG_KEY']))==null?{}:_0x38ee96,_0x559568=(0x0,r[_0x22fb84(0x1b3)])()?0x1/0x0:_(0x1,_0x560cef,_0x2dfbbe)[_0x22fb84(0x14e)];if(!this['_univerInstanceService'][_0x22fb84(0x1d6)](_0x311880,e['UniverInstanceType']['UNIVER_DOC']))throw Error(_0x22fb84(0x1b5));let _0x5bae83=this[_0x22fb84(0x13f)][_0x22fb84(0x18e)](_0x311880);if(!_0x5bae83)throw Error('Render\x20is\x20not\x20found');let _0x18b59b=(_0x32503a=_0x5bae83['with'](a[_0x22fb84(0x13a)])[_0x22fb84(0x174)]()[_0x22fb84(0x14f)]())==null?void 0x0:_0x32503a['pages'];if(!_0x18b59b)throw Error(_0x22fb84(0x1de));let _0x1fb80b={'width':_0x18b59b[0x0][_0x22fb84(0x1a6)],'height':_0x18b59b[0x0]['pageHeight']},_0x36dcc6=_0x18b59b[_0x22fb84(0x1a9)],_0x4aaa82=Math[_0x22fb84(0x181)](_0x559568,_0x36dcc6),_0x4843ab=_0x5bae83[_0x22fb84(0x14c)][_0x22fb84(0x1a7)](),_0x1190e2=document[_0x22fb84(0x16e)]('div');_0x1190e2[_0x22fb84(0x151)]=i['PRINT_CONTAINER_CLASS'];let _0xf494fb=Array(_0x4aaa82)[_0x22fb84(0x1c1)](null)[_0x22fb84(0x148)]((_0x26da39,_0x10787c)=>{const _0x2f7350=_0x22fb84;let _0x495468=new p(this[_0x2f7350(0x194)],_0x10787c,_0x311880,_0x4843ab);return _0x495468[_0x2f7350(0x137)][_0x2f7350(0x151)]=i[_0x2f7350(0x196)],_0x495468;});_0xf494fb[_0x22fb84(0x1c0)](_0x4dd08e=>{const _0xd16114=_0x22fb84;_0x1190e2[_0xd16114(0x170)](_0x4dd08e['container']),_0x4dd08e['container']['appendChild'](_0x4dd08e[_0xd16114(0x15f)]),_0x4dd08e[_0xd16114(0x191)]();});let _0x2aaafc=(0x0,i['createPrintStyle'])(_0x1fb80b[_0x22fb84(0x175)],_0x1fb80b[_0x22fb84(0x1e4)],i[_0x22fb84(0x15a)][_0x22fb84(0x13d)]);return document[_0x22fb84(0x199)][_0x22fb84(0x170)](_0x2aaafc),document[_0x22fb84(0x199)]['appendChild'](_0x1190e2),new Promise(_0x1db196=>{setTimeout(()=>{const _0x3ffeae=_0x362e;window['onbeforeprint']=()=>{const _0x946554=_0x362e;_0xf494fb[_0x946554(0x1c0)](_0xa6cb48=>{const _0x46d46f=_0x946554;_0xa6cb48[_0x46d46f(0x1ac)]();});},window[_0x3ffeae(0x15e)]=()=>{const _0x5ccc87=_0x3ffeae;_0xf494fb[_0x5ccc87(0x1c0)](_0x1c50b1=>{const _0x554b36=_0x5ccc87;_0x1c50b1[_0x554b36(0x156)]();}),document[_0x5ccc87(0x199)][_0x5ccc87(0x1c2)](_0x1190e2),document['body'][_0x5ccc87(0x1c2)](_0x2aaafc),_0x1db196(!0x0);},window[_0x3ffeae(0x1e3)]();},0x64);});}};v=h([m(0x0,e[_0x162d46(0x1c8)]),m(0x1,n['IRenderManagerService']),m(0x2,(0x0,e[_0x162d46(0x1c7)])(e[_0x162d46(0x1dd)])),m(0x3,e[_0x162d46(0x15d)])],v);const y={'id':_0x162d46(0x17f),'type':e[_0x162d46(0x1c9)][_0x162d46(0x173)],'handler':async _0x1b0f95=>{const _0xc45562=_0x162d46;let _0x4b1e8a=_0x1b0f95[_0xc45562(0x1cc)](e[_0xc45562(0x1c8)]),_0x25265f=_0x1b0f95[_0xc45562(0x1cc)](v),_0x328774=_0x1b0f95[_0xc45562(0x1cc)](n[_0xc45562(0x158)]),_0xa31896=_0x1b0f95[_0xc45562(0x1cc)](e['ICommandService']),_0x584fee=_0x4b1e8a[_0xc45562(0x189)](e[_0xc45562(0x1ab)][_0xc45562(0x13e)]);if(!_0x584fee)return!0x1;if(!_0x328774[_0xc45562(0x18e)](_0x584fee[_0xc45562(0x1c5)]()))throw Error('Render\x20is\x20not\x20found');let _0x2392f2=_0x584fee['getDocumentStyle']()[_0xc45562(0x1e2)];return _0x2392f2!==e[_0xc45562(0x1d3)]['TRADITIONAL']&&_0xa31896[_0xc45562(0x139)](t[_0xc45562(0x162)]['id']),await _0x25265f['print'](_0x584fee[_0xc45562(0x1c5)]()),_0x2392f2!==e[_0xc45562(0x1d3)]['TRADITIONAL']&&_0xa31896[_0xc45562(0x139)](t['SwitchDocModeCommand']['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S=_0x162d46(0x140),C=_0x162d46(0x177);let w=class extends e[_0x162d46(0x152)]{constructor(_0x353558){const _0x42d76f=_0x162d46;super(),this[_0x42d76f(0x1db)]=_0x353558,this[_0x42d76f(0x16a)]();}[_0x162d46(0x16a)](){const _0x74438a=_0x162d46;this[_0x74438a(0x147)](this[_0x74438a(0x1db)]['register']({'PrintIcon':s[_0x74438a(0x14d)]}));}};w=h([m(0x0,(0x0,e['Inject'])(c['IconManager']))],w);function T(_0x30f64d){const _0x49cb96=_0x162d46;return{'id':y['id'],'type':c['MenuItemType'][_0x49cb96(0x17c)],'title':_0x49cb96(0x1ae),'icon':_0x49cb96(0x14d),'tooltip':_0x49cb96(0x1ae),'hidden$':(0x0,c[_0x49cb96(0x1a4)])(_0x30f64d,e[_0x49cb96(0x1ab)]['UNIVER_DOC'])};}const E={[c[_0x162d46(0x16b)][_0x162d46(0x1a3)]]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e[_0x162d46(0x152)]{constructor(_0x9b9181,_0x36aec3){const _0x269acb=_0x162d46;super(),this[_0x269acb(0x171)]=_0x9b9181,this[_0x269acb(0x169)]=_0x36aec3,this[_0x269acb(0x1da)](),this[_0x269acb(0x167)]();}['_initMenus'](){const _0x204c9d=_0x162d46;this[_0x204c9d(0x169)][_0x204c9d(0x1c3)](E);}[_0x162d46(0x167)](){const _0x127a3e=_0x162d46;this[_0x127a3e(0x147)](this[_0x127a3e(0x171)]['registerCommand'](y));}};D=h([m(0x0,e[_0x162d46(0x1e1)]),m(0x1,c[_0x162d46(0x145)])],D);let O=class extends e[_0x162d46(0x1dc)]{constructor(_0x4da9c6=x,_0x29b6fe,_0x3a0c7d){const _0x41c7da=_0x162d46;super(),this[_0x41c7da(0x1bc)]=_0x4da9c6,this[_0x41c7da(0x194)]=_0x29b6fe,this[_0x41c7da(0x14a)]=_0x3a0c7d;let {menu:_0x19e1f6,..._0x953d60}=(0x0,e[_0x41c7da(0x1d8)])({},x,this[_0x41c7da(0x1bc)]);_0x19e1f6&&this[_0x41c7da(0x14a)][_0x41c7da(0x195)](_0x41c7da(0x1aa),_0x19e1f6,{'merge':!0x0}),this[_0x41c7da(0x14a)][_0x41c7da(0x195)](b,_0x953d60);}[_0x162d46(0x1e0)](){const _0x59b886=_0x162d46;this[_0x59b886(0x194)]['add']([w]),this['_injector'][_0x59b886(0x1cc)](w),(0x0,e[_0x59b886(0x1ca)])(this['_injector'],[[v],[D]]);}[_0x162d46(0x13b)](){const _0x3fd1d4=_0x162d46;this[_0x3fd1d4(0x194)][_0x3fd1d4(0x1cc)](D);}};f(O,_0x162d46(0x17a),'UNIVER_DOCS_PRINT'),f(O,'packageName',S),f(O,'version',C),f(O,_0x162d46(0x1b1),e['UniverInstanceType'][_0x162d46(0x13e)]),O=h([(0x0,e[_0x162d46(0x178)])(o[_0x162d46(0x142)],r[_0x162d46(0x168)]),m(0x1,(0x0,e['Inject'])(e[_0x162d46(0x1dd)])),m(0x2,e[_0x162d46(0x15d)])],O),exports[_0x162d46(0x1e6)]=b,exports[_0x162d46(0x143)]=y,Object[_0x162d46(0x1b9)](exports,_0x162d46(0x1cf),{'enumerable':!0x0,'get':function(){return O;}});
|
|
1
|
+
const _0x55f313=_0x4fb7;(function(_0x354cee,_0x26ff82){const _0x458c85=_0x4fb7,_0x230ed2=_0x354cee();while(!![]){try{const _0x487421=parseInt(_0x458c85(0x264))/0x1*(parseInt(_0x458c85(0x255))/0x2)+-parseInt(_0x458c85(0x1ee))/0x3+-parseInt(_0x458c85(0x21e))/0x4*(parseInt(_0x458c85(0x1e5))/0x5)+parseInt(_0x458c85(0x1f2))/0x6+parseInt(_0x458c85(0x1df))/0x7+-parseInt(_0x458c85(0x256))/0x8*(-parseInt(_0x458c85(0x210))/0x9)+-parseInt(_0x458c85(0x1fe))/0xa;if(_0x487421===_0x26ff82)break;else _0x230ed2['push'](_0x230ed2['shift']());}catch(_0x2ef28c){_0x230ed2['push'](_0x230ed2['shift']());}}}(_0x3791,0x3947c),Object['defineProperty'](exports,Symbol[_0x55f313(0x1dc)],{'value':_0x55f313(0x26a)}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/network'),s=require('@univerjs/icons'),c=require('@univerjs/ui');function l(_0x24faf7){'@babel/helpers - typeof';const _0x56c65f=_0x55f313;return l=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x56c65f(0x206)?function(_0x36e1ac){return typeof _0x36e1ac;}:function(_0x44c895){const _0x45fa75=_0x56c65f;return _0x44c895&&typeof Symbol==_0x45fa75(0x267)&&_0x44c895[_0x45fa75(0x20f)]===Symbol&&_0x44c895!==Symbol['prototype']?_0x45fa75(0x206):typeof _0x44c895;},l(_0x24faf7);}function u(_0x19b532,_0x4a9382){const _0x49b8c0=_0x55f313;if(l(_0x19b532)!=_0x49b8c0(0x203)||!_0x19b532)return _0x19b532;var _0x2dc566=_0x19b532[Symbol['toPrimitive']];if(_0x2dc566!==void 0x0){var _0x5556be=_0x2dc566['call'](_0x19b532,_0x4a9382||_0x49b8c0(0x23c));if(l(_0x5556be)!='object')return _0x5556be;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4a9382===_0x49b8c0(0x24e)?String:Number)(_0x19b532);}function d(_0xf89908){const _0x210ae0=_0x55f313;var _0x23130a=u(_0xf89908,_0x210ae0(0x24e));return l(_0x23130a)=='symbol'?_0x23130a:_0x23130a+'';}function f(_0x4bd280,_0x20ca14,_0x556128){return(_0x20ca14=d(_0x20ca14))in _0x4bd280?Object['defineProperty'](_0x4bd280,_0x20ca14,{'value':_0x556128,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4bd280[_0x20ca14]=_0x556128,_0x4bd280;}var p=class extends e[_0x55f313(0x252)]{get[_0x55f313(0x1fa)](){const _0x55d063=_0x55f313;return this[_0x55d063(0x285)];}get[_0x55f313(0x260)](){const _0x222e3b=_0x55f313;return this[_0x222e3b(0x227)];}get['_currentRender'](){const _0x23a307=_0x55f313;let _0xafced6=this['_injector'][_0x23a307(0x1e0)](n['IRenderManagerService'])[_0x23a307(0x214)](this[_0x23a307(0x259)]);if(!_0xafced6)throw Error(_0x23a307(0x1ef));return _0xafced6;}get['_skeleton'](){const _0x276595=_0x55f313;return this['_currentRender'][_0x276595(0x1f6)](a[_0x276595(0x22d)])[_0x276595(0x24b)]();}get[_0x55f313(0x280)](){const _0x3bb4b1=_0x55f313;let _0x281f76=this[_0x3bb4b1(0x275)][_0x3bb4b1(0x25a)]();if(!_0x281f76)throw Error(_0x3bb4b1(0x228));return _0x281f76;}get['_paperSize'](){const _0x22903f=_0x55f313;let _0x3a0ef8=this[_0x22903f(0x280)][_0x22903f(0x208)][0x0];return{'width':_0x3a0ef8[_0x22903f(0x268)],'height':_0x3a0ef8[_0x22903f(0x204)]};}constructor(_0x5138d8,_0x21529a,_0x3b0b00,_0x29ee2b){const _0x3c198d=_0x55f313;super(),this['_injector']=_0x5138d8,this[_0x3c198d(0x1e9)]=_0x21529a,this['_unitId']=_0x3b0b00,this['_offsetConfig']=_0x29ee2b,f(this,_0x3c198d(0x285),document[_0x3c198d(0x21a)](_0x3c198d(0x27f))),f(this,'_root',document[_0x3c198d(0x21a)](_0x3c198d(0x27f))),f(this,_0x3c198d(0x238),void 0x0),f(this,_0x3c198d(0x257),void 0x0),f(this,_0x3c198d(0x25c),void 0x0),f(this,_0x3c198d(0x261),void 0x0),f(this,'_viewMain',void 0x0),f(this,'_effects',new e[(_0x3c198d(0x1e6))]()),this['_key']=(0x0,e[_0x3c198d(0x278)])(0x4),this[_0x3c198d(0x27c)](),this[_0x3c198d(0x22e)]({'dispose':()=>{const _0x464ea5=_0x3c198d;this[_0x464ea5(0x238)][_0x464ea5(0x245)](),this['_scene'][_0x464ea5(0x245)](),this[_0x464ea5(0x274)][_0x464ea5(0x245)]();}});}[_0x55f313(0x1f7)](){const _0x4a180c=_0x55f313;let {docsTop:_0x10c8be,docsLeft:_0x1f7615}=this[_0x4a180c(0x261)][_0x4a180c(0x1e2)](),_0xb278f4=this[_0x4a180c(0x209)][_0x4a180c(0x234)],_0x2e8b2f=this[_0x4a180c(0x209)]['width'];return{'top':_0x10c8be+(_0x10c8be+_0xb278f4)*this[_0x4a180c(0x1e9)],'bottom':_0x10c8be+(_0x10c8be+_0xb278f4)*(this[_0x4a180c(0x1e9)]+0x1),'left':_0x1f7615,'right':_0x1f7615+_0x2e8b2f};}[_0x55f313(0x27c)](){const _0x5d6473=_0x55f313;this[_0x5d6473(0x238)]=new n[(_0x5d6473(0x239))]('',{'elementWidth':this['_paperSize'][_0x5d6473(0x258)],'elementHeight':this[_0x5d6473(0x209)][_0x5d6473(0x234)],'dpr':0x1,'renderMode':n[_0x5d6473(0x1ec)][_0x5d6473(0x251)]}),this['_scene']=new n[(_0x5d6473(0x223))](this['_key'],this[_0x5d6473(0x238)]),this[_0x5d6473(0x257)][_0x5d6473(0x22a)](0x1,0x1),this[_0x5d6473(0x238)][_0x5d6473(0x277)](this[_0x5d6473(0x285)],!0x1),this['_engine'][_0x5d6473(0x1e1)]()['getContext']()[_0x5d6473(0x20e)](this['_key']+'_'+(0x0,e[_0x5d6473(0x278)])(0x4)),this[_0x5d6473(0x23d)](),this[_0x5d6473(0x1da)]();}[_0x55f313(0x23d)](){const _0x22ca14=_0x55f313;let {pageMarginLeft:_0x590477,pageMarginTop:_0x366eea,docsLeft:_0x18ebc8,docsTop:_0x163d48}=this['_offsetConfig'],_0x406b5a={'pageMarginLeft':_0x590477,'pageMarginTop':_0x366eea},_0x12ca43=new n[(_0x22ca14(0x23b))](_0x22ca14(0x27b),this['_skeleton'],_0x406b5a);_0x12ca43[_0x22ca14(0x242)](_0x18ebc8,_0x163d48),this['_scene'][_0x22ca14(0x226)](_0x12ca43),this['_documents']=_0x12ca43;let _0x121bed=this[_0x22ca14(0x27e)]['get'](t[_0x22ca14(0x1e8)]);_0x121bed['interceptor'][_0x22ca14(0x24f)](_0x121bed[_0x22ca14(0x26f)]['getInterceptPoints']()[_0x22ca14(0x217)])(void 0x0,{'unitId':this[_0x22ca14(0x259)],'scene':this[_0x22ca14(0x257)],'engine':this['_engine'],'root':this[_0x22ca14(0x227)],'documents':this['_documents'],'skeleton':this[_0x22ca14(0x275)]});}['_addViewport'](){const _0x5490bc=_0x55f313;this[_0x5490bc(0x20c)]=new n[(_0x5490bc(0x1e3))](t[_0x5490bc(0x272)][_0x5490bc(0x23a)],this[_0x5490bc(0x257)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x5791fb=_0x55f313;let _0x225b20=this[_0x5791fb(0x1f7)]();this[_0x5791fb(0x20c)][_0x5791fb(0x1d9)]({'viewportScrollX':_0x225b20['left'],'viewportScrollY':_0x225b20[_0x5791fb(0x22f)]}),this[_0x5791fb(0x227)][_0x5791fb(0x21c)][_0x5791fb(0x218)]=_0x5791fb(0x23e),this[_0x5791fb(0x227)][_0x5791fb(0x21c)][_0x5791fb(0x22f)]='0px',this[_0x5791fb(0x227)][_0x5791fb(0x21c)][_0x5791fb(0x233)]='0px',this['_root'][_0x5791fb(0x21c)][_0x5791fb(0x258)]=_0x5791fb(0x26c),this[_0x5791fb(0x227)][_0x5791fb(0x21c)][_0x5791fb(0x234)]=_0x5791fb(0x26c),this[_0x5791fb(0x274)]=new e[(_0x5791fb(0x1e6))]();let _0x3a6226=this['_injector'][_0x5791fb(0x1e0)](t[_0x5791fb(0x1e8)]);_0x3a6226['interceptor'][_0x5791fb(0x24f)](_0x3a6226[_0x5791fb(0x26f)][_0x5791fb(0x240)]()['PRINTING_DOM_COLLECT'])(this[_0x5791fb(0x274)],{'unitId':this[_0x5791fb(0x259)],'scene':this[_0x5791fb(0x257)],'engine':this[_0x5791fb(0x238)],'root':this[_0x5791fb(0x227)],'skeleton':this[_0x5791fb(0x275)],'offset':{'x':_0x225b20[_0x5791fb(0x233)],'y':_0x225b20['top']},'bound':{'top':_0x225b20['top'],'left':_0x225b20[_0x5791fb(0x233)],'right':_0x225b20[_0x5791fb(0x25d)],'bottom':_0x225b20[_0x5791fb(0x232)]}});}[_0x55f313(0x1f5)](){const _0x51ab70=_0x55f313;let _0xc25712=this[_0x51ab70(0x238)][_0x51ab70(0x1e1)]()[_0x51ab70(0x236)]();this[_0x51ab70(0x261)][_0x51ab70(0x253)](),this[_0x51ab70(0x257)][_0x51ab70(0x26e)](),_0xc25712['save'](),this[_0x51ab70(0x257)]['render'](),_0xc25712[_0x51ab70(0x24d)]();}};function m(_0x55ee4b,_0x381b83){return function(_0x2fa0dd,_0x12ef17){_0x381b83(_0x2fa0dd,_0x12ef17,_0x55ee4b);};}function _0x3791(){const _0x1e1368=['getCanvas','getOffsetConfig','Viewport','getCurrentUnitOfType','335cEtjut','DisposableCollection','message','DocPrintInterceptorService','_page','UNIVER_DOCS_PRINT','IMenuManagerService','CanvasRenderMode','IUniverInstanceService','626712yOuhks','Render\x20is\x20not\x20found','UniverNetworkPlugin','pluginName','1618374wtAEwM','_commandService','register','render','with','_calculateLayout','_initCommands','removeChild','container','DependentOn','getUnit','onStarting','3665540BOZLCw','Inject','_registerIcons','syncExecuteCommand','DocumentDataModel\x20is\x20not\x20found','object','pageHeight','getMenuHiddenObservable','symbol','page','pages','_paperSize','onReady','PrintIcon','_viewMain','_iconManager','setId','constructor','5139imIzLs','docs.operation.print','DocumentFlavor','UniverInstanceType','getRenderById','appendChild','_configService','PRINTING_COMPONENT_COLLECT','position','defineProperty','createElement','prepare','style','CommandType','24444UCYkXi','_menuManagerService','UniverLicensePlugin','menu','_univerInstanceService','Scene','RibbonStartGroup','forEach','addObject','_root','Skeleton\x20data\x20is\x20not\x20found','getUnitId','scale','onafterprint','mpn','DocSkeletonManagerService','disposeWithMe','top','body','merge','bottom','left','height','isLocalCheck','getContext','_initMenus','_engine','Engine','VIEW_MAIN','Documents','default','_addComponent','absolute','1.0.0-insiders.20260629-12f2e44','getInterceptPoints','UniverDocsPrintPlugin','translate','_renderManagerService','setConfig','dispose','getLicenseInfo','length','packageName','isPro','fill','getSkeleton','registerDependencies','restore','string','fetchThroughInterceptors','parseInt','Printing','Disposable','makeForceDirty','UNIVER_DOC','6RDJojU','4952ReETqe','_scene','width','_unitId','getSkeletonData','valid','_key','right','IRenderManagerService','Plugin','root','_documents','isFeatureAuthorizedWithinTime','DocPrintOperation','93937KLLoBA','ICommandService','docs-print.menu','function','pageWidth','TRADITIONAL','Module','getOwnPropertyDescriptor','100%','Portrait','makeDirty','interceptor','mainComponent','IConfigService','VIEWPORT_KEY','getDocFeatureLimit','_effects','_skeleton','registerCommand','setContainer','generateRandomId','min','createPrintStyle','__DocPrintRender__','_initRenderer','SwitchDocModeCommand','_injector','div','_skeletonData','Injector','PRINT_CONTAINER_CLASS','_config','type','_container','getConfig','updateScrollVal','_addViewport','onbeforeprint','toStringTag','print','className','2201682JWGsoE','get'];_0x3791=function(){return _0x1e1368;};return _0x3791();}function _0x4fb7(_0x5621b9,_0x3318ae){_0x5621b9=_0x5621b9-0x1d8;const _0x3791ed=_0x3791();let _0x4fb783=_0x3791ed[_0x5621b9];return _0x4fb783;}function h(_0x140393,_0x4aae12,_0x3fd891,_0x2c4901){const _0x1a40f6=_0x55f313;var _0x59999f=arguments[_0x1a40f6(0x247)],_0xc96452=_0x59999f<0x3?_0x4aae12:_0x2c4901===null?_0x2c4901=Object[_0x1a40f6(0x26b)](_0x4aae12,_0x3fd891):_0x2c4901,_0x442003;if(typeof Reflect==_0x1a40f6(0x203)&&typeof Reflect['decorate']==_0x1a40f6(0x267))_0xc96452=Reflect['decorate'](_0x140393,_0x4aae12,_0x3fd891,_0x2c4901);else{for(var _0x462edd=_0x140393[_0x1a40f6(0x247)]-0x1;_0x462edd>=0x0;_0x462edd--)(_0x442003=_0x140393[_0x462edd])&&(_0xc96452=(_0x59999f<0x3?_0x442003(_0xc96452):_0x59999f>0x3?_0x442003(_0x4aae12,_0x3fd891,_0xc96452):_0x442003(_0x4aae12,_0x3fd891))||_0xc96452);}return _0x59999f>0x3&&_0xc96452&&Object[_0x1a40f6(0x219)](_0x4aae12,_0x3fd891,_0xc96452),_0xc96452;}const g=Number[_0x55f313(0x250)](0x6a4255de),_=(_0xc311f6,_0x1d17ea,_0x4076bf)=>{const _0x477fd2=_0x55f313;let _0x5911fc={'page':_0xc311f6,'isPro':!0x1,'timeValid':!0x1};if(!_0x1d17ea||!_0x4076bf)return _0x5911fc;let _0x260a5b=(0x0,r[_0x477fd2(0x246)])(_0x1d17ea,_0x4076bf);if(_0x260a5b[_0x477fd2(0x25b)]){let _0x13c706=_0x260a5b[_0x477fd2(0x1e7)],_0x5103c3=(0x0,r[_0x477fd2(0x262)])(_0x13c706,'df',g);_0x5911fc[_0x477fd2(0x249)]=_0x5103c3,_0x5911fc['timeValid']=_0x5103c3,_0x5911fc[_0x477fd2(0x207)]=(0x0,r[_0x477fd2(0x273)])(_0x13c706,_0x5103c3,_0x477fd2(0x22c),_0xc311f6,_0xc311f6,0x0);}return _0x5911fc;};let v=class extends e[_0x55f313(0x252)]{constructor(_0x348f1b,_0xd96db2,_0x348a43,_0x2f5a52){const _0x4061ce=_0x55f313;super(),this[_0x4061ce(0x222)]=_0x348f1b,this['_renderManagerService']=_0xd96db2,this[_0x4061ce(0x27e)]=_0x348a43,this[_0x4061ce(0x216)]=_0x2f5a52;}[_0x55f313(0x1dd)](_0x513988){const _0x578ddf=_0x55f313;var _0x5448c4,_0x152d4d;let {ls:_0x159ec6,pbk:_0x44cdb1}=(_0x5448c4=this[_0x578ddf(0x216)][_0x578ddf(0x1d8)](r['LS_CONFIG_KEY']))==null?{}:_0x5448c4,_0x14e328=(0x0,r[_0x578ddf(0x235)])()?0x1/0x0:_(0x1,_0x159ec6,_0x44cdb1)['page'];if(!this['_univerInstanceService'][_0x578ddf(0x1fc)](_0x513988,e[_0x578ddf(0x213)][_0x578ddf(0x254)]))throw Error(_0x578ddf(0x202));let _0x49c676=this[_0x578ddf(0x243)][_0x578ddf(0x214)](_0x513988);if(!_0x49c676)throw Error(_0x578ddf(0x1ef));let _0x525ff5=(_0x152d4d=_0x49c676[_0x578ddf(0x1f6)](a[_0x578ddf(0x22d)])[_0x578ddf(0x24b)]()[_0x578ddf(0x25a)]())==null?void 0x0:_0x152d4d[_0x578ddf(0x208)];if(!_0x525ff5)throw Error('Pages\x20are\x20not\x20found');let _0x13a840={'width':_0x525ff5[0x0][_0x578ddf(0x268)],'height':_0x525ff5[0x0][_0x578ddf(0x204)]},_0x3dc831=_0x525ff5[_0x578ddf(0x247)],_0xb82b64=Math[_0x578ddf(0x279)](_0x14e328,_0x3dc831),_0x3fc9bc=_0x49c676[_0x578ddf(0x270)][_0x578ddf(0x1e2)](),_0x23af8a=document[_0x578ddf(0x21a)](_0x578ddf(0x27f));_0x23af8a['className']=i[_0x578ddf(0x282)];let _0x27f005=Array(_0xb82b64)[_0x578ddf(0x24a)](null)['map']((_0x70ca3c,_0x19ee65)=>{const _0x50f5bf=_0x578ddf;let _0x267ef9=new p(this[_0x50f5bf(0x27e)],_0x19ee65,_0x513988,_0x3fc9bc);return _0x267ef9['container'][_0x50f5bf(0x1de)]=i['PRINT_CANVAS_CLASS'],_0x267ef9;});_0x27f005[_0x578ddf(0x225)](_0x42c9aa=>{const _0x2b8b21=_0x578ddf;_0x23af8a[_0x2b8b21(0x215)](_0x42c9aa[_0x2b8b21(0x1fa)]),_0x42c9aa[_0x2b8b21(0x1fa)][_0x2b8b21(0x215)](_0x42c9aa[_0x2b8b21(0x260)]),_0x42c9aa[_0x2b8b21(0x21b)]();});let _0x39c7bd=(0x0,i[_0x578ddf(0x27a)])(_0x13a840[_0x578ddf(0x258)],_0x13a840['height'],i['PrintDirection'][_0x578ddf(0x26d)]);return document[_0x578ddf(0x230)][_0x578ddf(0x215)](_0x39c7bd),document[_0x578ddf(0x230)][_0x578ddf(0x215)](_0x23af8a),new Promise(_0x2e5e03=>{setTimeout(()=>{const _0x3edeae=_0x4fb7;window[_0x3edeae(0x1db)]=()=>{const _0x45ff59=_0x3edeae;_0x27f005[_0x45ff59(0x225)](_0x2dda3b=>{_0x2dda3b['render']();});},window[_0x3edeae(0x22b)]=()=>{const _0x56056b=_0x3edeae;_0x27f005['forEach'](_0x4bdeb=>{const _0x1927af=_0x4fb7;_0x4bdeb[_0x1927af(0x245)]();}),document[_0x56056b(0x230)][_0x56056b(0x1f9)](_0x23af8a),document[_0x56056b(0x230)][_0x56056b(0x1f9)](_0x39c7bd),_0x2e5e03(!0x0);},window[_0x3edeae(0x1dd)]();},0x64);});}};v=h([m(0x0,e[_0x55f313(0x1ed)]),m(0x1,n[_0x55f313(0x25e)]),m(0x2,(0x0,e[_0x55f313(0x1ff)])(e[_0x55f313(0x281)])),m(0x3,e[_0x55f313(0x271)])],v);const y={'id':_0x55f313(0x211),'type':e[_0x55f313(0x21d)]['OPERATION'],'handler':async _0x57dd1c=>{const _0x5aa2ff=_0x55f313;let _0x1d196c=_0x57dd1c[_0x5aa2ff(0x1e0)](e[_0x5aa2ff(0x1ed)]),_0x194bbc=_0x57dd1c[_0x5aa2ff(0x1e0)](v),_0x140bd7=_0x57dd1c[_0x5aa2ff(0x1e0)](n[_0x5aa2ff(0x25e)]),_0x48b7fd=_0x57dd1c['get'](e[_0x5aa2ff(0x265)]),_0x3343f9=_0x1d196c[_0x5aa2ff(0x1e4)](e[_0x5aa2ff(0x213)]['UNIVER_DOC']);if(!_0x3343f9)return!0x1;if(!_0x140bd7[_0x5aa2ff(0x214)](_0x3343f9[_0x5aa2ff(0x229)]()))throw Error(_0x5aa2ff(0x1ef));let _0x1c38cd=_0x3343f9['getDocumentStyle']()['documentFlavor'];return _0x1c38cd!==e[_0x5aa2ff(0x212)][_0x5aa2ff(0x269)]&&_0x48b7fd['syncExecuteCommand'](t[_0x5aa2ff(0x27d)]['id']),await _0x194bbc[_0x5aa2ff(0x1dd)](_0x3343f9[_0x5aa2ff(0x229)]()),_0x1c38cd!==e[_0x5aa2ff(0x212)][_0x5aa2ff(0x269)]&&_0x48b7fd[_0x5aa2ff(0x201)](t[_0x5aa2ff(0x27d)]['id']),!0x0;}},b=_0x55f313(0x1ea),x={};var S='@univerjs-pro/docs-print',C=_0x55f313(0x23f);let w=class extends e[_0x55f313(0x252)]{constructor(_0x100a63){const _0x4a4cf7=_0x55f313;super(),this[_0x4a4cf7(0x20d)]=_0x100a63,this[_0x4a4cf7(0x200)]();}['_registerIcons'](){const _0x885020=_0x55f313;this[_0x885020(0x22e)](this['_iconManager'][_0x885020(0x1f4)]({'PrintIcon':s['PrintIcon']}));}};w=h([m(0x0,(0x0,e[_0x55f313(0x1ff)])(c['IconManager']))],w);function T(_0x52dac0){const _0x106378=_0x55f313;return{'id':y['id'],'type':c['MenuItemType']['BUTTON'],'title':_0x106378(0x266),'icon':_0x106378(0x20b),'tooltip':_0x106378(0x266),'hidden$':(0x0,c[_0x106378(0x205)])(_0x52dac0,e[_0x106378(0x213)][_0x106378(0x254)])};}const E={[c[_0x55f313(0x224)]['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e['Disposable']{constructor(_0x11e699,_0x564c45){const _0x592d1d=_0x55f313;super(),this[_0x592d1d(0x1f3)]=_0x11e699,this['_menuManagerService']=_0x564c45,this['_initMenus'](),this[_0x592d1d(0x1f8)]();}[_0x55f313(0x237)](){const _0x42eb7d=_0x55f313;this[_0x42eb7d(0x21f)]['mergeMenu'](E);}[_0x55f313(0x1f8)](){const _0x58037c=_0x55f313;this[_0x58037c(0x22e)](this[_0x58037c(0x1f3)][_0x58037c(0x276)](y));}};D=h([m(0x0,e['ICommandService']),m(0x1,c[_0x55f313(0x1eb)])],D);let O=class extends e[_0x55f313(0x25f)]{constructor(_0x997cc=x,_0x5e6148,_0xf4cb51){const _0x1c1887=_0x55f313;super(),this[_0x1c1887(0x283)]=_0x997cc,this[_0x1c1887(0x27e)]=_0x5e6148,this['_configService']=_0xf4cb51;let {menu:_0x269e38,..._0x172072}=(0x0,e[_0x1c1887(0x231)])({},x,this['_config']);_0x269e38&&this['_configService'][_0x1c1887(0x244)](_0x1c1887(0x221),_0x269e38,{'merge':!0x0}),this[_0x1c1887(0x216)]['setConfig'](b,_0x172072);}[_0x55f313(0x1fd)](){const _0x211f72=_0x55f313;this[_0x211f72(0x27e)]['add']([w]),this[_0x211f72(0x27e)][_0x211f72(0x1e0)](w),(0x0,e[_0x211f72(0x24c)])(this[_0x211f72(0x27e)],[[v],[D]]);}[_0x55f313(0x20a)](){const _0x309dd0=_0x55f313;this['_injector'][_0x309dd0(0x1e0)](D);}};f(O,_0x55f313(0x1f1),'UNIVER_DOCS_PRINT'),f(O,_0x55f313(0x248),S),f(O,'version',C),f(O,_0x55f313(0x284),e['UniverInstanceType'][_0x55f313(0x254)]),O=h([(0x0,e[_0x55f313(0x1fb)])(o[_0x55f313(0x1f0)],r[_0x55f313(0x220)]),m(0x1,(0x0,e[_0x55f313(0x1ff)])(e['Injector'])),m(0x2,e['IConfigService'])],O),exports['DOCS_PRINT_PLUGIN_CONFIG_KEY']=b,exports[_0x55f313(0x263)]=y,Object[_0x55f313(0x219)](exports,_0x55f313(0x241),{'enumerable':!0x0,'get':function(){return O;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2e73(){const _0x1afeae=['10384255cTbYfw','256112hBBdqy','4434846HxHarA','8617650GPHTlJ','261EUwCGr','4117KLwuFI','exports','7083080PnVfTU','طباعة','358jQBNHx','5061150vtfBUh'];_0x2e73=function(){return _0x1afeae;};return _0x2e73();}function _0xc93e(_0xd5c8c2,_0x19e3b4){_0xd5c8c2=_0xd5c8c2-0x17d;const _0x2e731f=_0x2e73();let _0xc93e98=_0x2e731f[_0xd5c8c2];return _0xc93e98;}const _0x18eb4a=_0xc93e;(function(_0xeb6ba7,_0x25b862){const _0x2b50ca=_0xc93e,_0x1e2ede=_0xeb6ba7();while(!![]){try{const _0x2e621c=-parseInt(_0x2b50ca(0x180))/0x1*(parseInt(_0x2b50ca(0x184))/0x2)+-parseInt(_0x2b50ca(0x17d))/0x3+-parseInt(_0x2b50ca(0x182))/0x4+parseInt(_0x2b50ca(0x17e))/0x5+parseInt(_0x2b50ca(0x185))/0x6+parseInt(_0x2b50ca(0x186))/0x7+-parseInt(_0x2b50ca(0x187))/0x8*(-parseInt(_0x2b50ca(0x17f))/0x9);if(_0x2e621c===_0x25b862)break;else _0x1e2ede['push'](_0x1e2ede['shift']());}catch(_0x806fb2){_0x1e2ede['push'](_0x1e2ede['shift']());}}}(_0x2e73,0xf26a3));const e={'docs-print':{'menu':_0x18eb4a(0x183)}};module[_0x18eb4a(0x181)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1e6ad7=_0xc1cc;(function(_0x4eba64,_0x37ccc6){const _0x56954c=_0xc1cc,_0x5de0b9=_0x4eba64();while(!![]){try{const _0x483e30=parseInt(_0x56954c(0x1ca))/0x1+parseInt(_0x56954c(0x1cb))/0x2+-parseInt(_0x56954c(0x1d5))/0x3+parseInt(_0x56954c(0x1cc))/0x4+parseInt(_0x56954c(0x1d2))/0x5*(-parseInt(_0x56954c(0x1d3))/0x6)+parseInt(_0x56954c(0x1d4))/0x7*(parseInt(_0x56954c(0x1d0))/0x8)+parseInt(_0x56954c(0x1cf))/0x9*(-parseInt(_0x56954c(0x1ce))/0xa);if(_0x483e30===_0x37ccc6)break;else _0x5de0b9['push'](_0x5de0b9['shift']());}catch(_0xc5fcc3){_0x5de0b9['push'](_0x5de0b9['shift']());}}}(_0x3935,0x1c9c8));function _0x3935(){const _0x1fee7d=['886312CUbMTi','exports','10jBuLwN','182421nSJrnY','2344RjniaV','Imprimir','672355pzyaNq','6NNOzGw','14WVYMnp','420747CkBwnd','166213kKxduO','47608NAhfGF'];_0x3935=function(){return _0x1fee7d;};return _0x3935();}function _0xc1cc(_0xd22e00,_0x29258e){_0xd22e00=_0xd22e00-0x1ca;const _0x39355c=_0x3935();let _0xc1cc73=_0x39355c[_0xd22e00];return _0xc1cc73;}const e={'docs-print':{'menu':_0x1e6ad7(0x1d1)}};module[_0x1e6ad7(0x1cd)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2f80(){const _0x406f85=['1419360zvIkpW','2URhfTV','18391707CGKSXU','782394hzcSeU','182352GkWTCd','1438626FiIReb','4379862GBDsno','Drucken','4784416VmMsuK','14DOEqSn'];_0x2f80=function(){return _0x406f85;};return _0x2f80();}function _0x4ae8(_0x3add84,_0x10bd13){_0x3add84=_0x3add84-0x185;const _0x2f80e1=_0x2f80();let _0x4ae829=_0x2f80e1[_0x3add84];return _0x4ae829;}const _0x393047=_0x4ae8;(function(_0x6e0557,_0x3741b3){const _0x14a2f7=_0x4ae8,_0x304f32=_0x6e0557();while(!![]){try{const _0x1b04b3=parseInt(_0x14a2f7(0x18a))/0x1+-parseInt(_0x14a2f7(0x186))/0x2*(-parseInt(_0x14a2f7(0x18b))/0x3)+-parseInt(_0x14a2f7(0x189))/0x4+parseInt(_0x14a2f7(0x185))/0x5+-parseInt(_0x14a2f7(0x188))/0x6*(-parseInt(_0x14a2f7(0x18e))/0x7)+-parseInt(_0x14a2f7(0x18d))/0x8+-parseInt(_0x14a2f7(0x187))/0x9;if(_0x1b04b3===_0x3741b3)break;else _0x304f32['push'](_0x304f32['shift']());}catch(_0x1fc25a){_0x304f32['push'](_0x304f32['shift']());}}}(_0x2f80,0xb8977));const e={'docs-print':{'menu':_0x393047(0x18c)}};module['exports']=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x19982a=_0x31c4;function _0x31c4(_0x296f1b,_0x283a94){_0x296f1b=_0x296f1b-0x1bd;const _0x4b9897=_0x4b98();let _0x31c47b=_0x4b9897[_0x296f1b];return _0x31c47b;}(function(_0x283d65,_0x15a2eb){const _0x4ff81b=_0x31c4,_0x585fa1=_0x283d65();while(!![]){try{const _0x2a5886=parseInt(_0x4ff81b(0x1c0))/0x1*(-parseInt(_0x4ff81b(0x1c5))/0x2)+-parseInt(_0x4ff81b(0x1c6))/0x3+parseInt(_0x4ff81b(0x1bf))/0x4*(-parseInt(_0x4ff81b(0x1c3))/0x5)+-parseInt(_0x4ff81b(0x1c4))/0x6*(parseInt(_0x4ff81b(0x1bd))/0x7)+-parseInt(_0x4ff81b(0x1be))/0x8*(parseInt(_0x4ff81b(0x1c2))/0x9)+-parseInt(_0x4ff81b(0x1c1))/0xa+parseInt(_0x4ff81b(0x1c7))/0xb;if(_0x2a5886===_0x15a2eb)break;else _0x585fa1['push'](_0x585fa1['shift']());}catch(_0x3c3015){_0x585fa1['push'](_0x585fa1['shift']());}}}(_0x4b98,0x623f8));const e={'docs-print':{'menu':'Print'}};module[_0x19982a(0x1c8)]=e;function _0x4b98(){const _0x46b347=['94884nieprd','1535373sgkYtZ','32859398bZLSCh','exports','147588tKQNRC','3068888QRneOZ','4vzcYqr','3YDTGcW','1656930jVmDcR','18OtZgMs','1088270POIjeu','222ynYLtU'];_0x4b98=function(){return _0x46b347;};return _0x4b98();}
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xc7e8b7=_0x2840;(function(_0x5b9b15,_0x57308f){const _0x8cac91=_0x2840,_0x59e2db=_0x5b9b15();while(!![]){try{const _0xf733a1=parseInt(_0x8cac91(0x81))/0x1*(parseInt(_0x8cac91(0x8a))/0x2)+-parseInt(_0x8cac91(0x85))/0x3+parseInt(_0x8cac91(0x87))/0x4*(parseInt(_0x8cac91(0x80))/0x5)+parseInt(_0x8cac91(0x89))/0x6+parseInt(_0x8cac91(0x8b))/0x7*(parseInt(_0x8cac91(0x88))/0x8)+parseInt(_0x8cac91(0x84))/0x9*(parseInt(_0x8cac91(0x82))/0xa)+-parseInt(_0x8cac91(0x8c))/0xb;if(_0xf733a1===_0x57308f)break;else _0x59e2db['push'](_0x59e2db['shift']());}catch(_0xf04d6e){_0x59e2db['push'](_0x59e2db['shift']());}}}(_0x20dd,0x87e8b));function _0x2840(_0x5f087a,_0x51fe42){_0x5f087a=_0x5f087a-0x80;const _0x20dd60=_0x20dd();let _0x28401e=_0x20dd60[_0x5f087a];return _0x28401e;}const e={'docs-print':{'menu':_0xc7e8b7(0x86)}};function _0x20dd(){const _0x13e7d5=['2CthKLI','7RJKWkn','19484124rmGPFr','5sEXwcl','607138kPOmBd','3760qbjCFC','exports','10566JuqvCt','1701882yJUdHy','Imprimir','2033516rCxEcb','2974136sKeZos','5799318aJAyme'];_0x20dd=function(){return _0x13e7d5;};return _0x20dd();}module[_0xc7e8b7(0x83)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2f64a6=_0x36cf;function _0x40cf(){const _0x2d1297=['چاپ','5326240sMqiYD','3092684umKAEU','5bVemJS','659634GuXPor','8926agSwhY','9VpNkBJ','4346741hQyHeu','695973aNjBqJ','25624490lRgIAh','186WnZrjw'];_0x40cf=function(){return _0x2d1297;};return _0x40cf();}function _0x36cf(_0x95402c,_0x42988d){_0x95402c=_0x95402c-0x18d;const _0x40cfd1=_0x40cf();let _0x36cfa4=_0x40cfd1[_0x95402c];return _0x36cfa4;}(function(_0x27005b,_0x5d3310){const _0x3285db=_0x36cf,_0x1cf56f=_0x27005b();while(!![]){try{const _0x26d2f6=-parseInt(_0x3285db(0x18f))/0x1*(parseInt(_0x3285db(0x194))/0x2)+-parseInt(_0x3285db(0x192))/0x3+parseInt(_0x3285db(0x197))/0x4*(-parseInt(_0x3285db(0x18d))/0x5)+-parseInt(_0x3285db(0x18e))/0x6+parseInt(_0x3285db(0x191))/0x7+-parseInt(_0x3285db(0x196))/0x8+-parseInt(_0x3285db(0x190))/0x9*(-parseInt(_0x3285db(0x193))/0xa);if(_0x26d2f6===_0x5d3310)break;else _0x1cf56f['push'](_0x1cf56f['shift']());}catch(_0x8d1e8e){_0x1cf56f['push'](_0x1cf56f['shift']());}}}(_0x40cf,0x8bbfd));const e={'docs-print':{'menu':_0x2f64a6(0x195)}};module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x372ae9=_0x39ac;function _0x39ac(_0x5da110,_0x5a4ca1){_0x5da110=_0x5da110-0x8c;const _0x4aebfe=_0x4aeb();let _0x39acef=_0x4aebfe[_0x5da110];return _0x39acef;}function _0x4aeb(){const _0x56029a=['176zYaQqg','Imprimer','1039528ljmDAW','2592264QqBlGs','174483PPuAtn','29985549zCjnkI','1583052BYeNXu','exports','1312787mgdNcX','3IreeZO','1NMfQGv','3102070AeMCTV','10LCMGhE'];_0x4aeb=function(){return _0x56029a;};return _0x4aeb();}(function(_0x2c2d4a,_0x487de3){const _0x472a05=_0x39ac,_0x3ba041=_0x2c2d4a();while(!![]){try{const _0x2be3be=parseInt(_0x472a05(0x93))/0x1*(-parseInt(_0x472a05(0x98))/0x2)+-parseInt(_0x472a05(0x92))/0x3*(parseInt(_0x472a05(0x8c))/0x4)+-parseInt(_0x472a05(0x94))/0x5+-parseInt(_0x472a05(0x8f))/0x6+parseInt(_0x472a05(0x91))/0x7+-parseInt(_0x472a05(0x96))/0x8*(parseInt(_0x472a05(0x8d))/0x9)+parseInt(_0x472a05(0x95))/0xa*(parseInt(_0x472a05(0x8e))/0xb);if(_0x2be3be===_0x487de3)break;else _0x3ba041['push'](_0x3ba041['shift']());}catch(_0xc8bdf9){_0x3ba041['push'](_0x3ba041['shift']());}}}(_0x4aeb,0x6a2d4));const e={'docs-print':{'menu':_0x372ae9(0x97)}};module[_0x372ae9(0x90)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2676(){const _0x4965f5=['13314QAXipR','10ccOMxZ','8276510mQKHTq','2GhoEct','1430604IVBygX','2422030GsDNyL','45536mmfwyq','exports','628pHQXRT','132913HqCstj','1765206TSDbdi','770rqQvFS','Cetak'];_0x2676=function(){return _0x4965f5;};return _0x2676();}const _0x2299ca=_0x41de;(function(_0x494b69,_0x30875a){const _0x26109f=_0x41de,_0x4978e5=_0x494b69();while(!![]){try{const _0x2205e5=parseInt(_0x26109f(0x1a2))/0x1*(parseInt(_0x26109f(0x1a9))/0x2)+parseInt(_0x26109f(0x1a6))/0x3*(parseInt(_0x26109f(0x1a1))/0x4)+-parseInt(_0x26109f(0x19e))/0x5+parseInt(_0x26109f(0x1a3))/0x6+parseInt(_0x26109f(0x1a4))/0x7*(parseInt(_0x26109f(0x19f))/0x8)+-parseInt(_0x26109f(0x19d))/0x9*(parseInt(_0x26109f(0x1a7))/0xa)+-parseInt(_0x26109f(0x1a8))/0xb;if(_0x2205e5===_0x30875a)break;else _0x4978e5['push'](_0x4978e5['shift']());}catch(_0x4100e5){_0x4978e5['push'](_0x4978e5['shift']());}}}(_0x2676,0x567b4));const e={'docs-print':{'menu':_0x2299ca(0x1a5)}};function _0x41de(_0x5c1377,_0x564df2){_0x5c1377=_0x5c1377-0x19d;const _0x2676f0=_0x2676();let _0x41de5e=_0x2676f0[_0x5c1377];return _0x41de5e;}module[_0x2299ca(0x1a0)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xa9cb(_0x5ae8f6,_0x2b77b8){_0x5ae8f6=_0x5ae8f6-0x180;const _0x4f6094=_0x4f60();let _0xa9cbe1=_0x4f6094[_0x5ae8f6];return _0xa9cbe1;}const _0xe6a442=_0xa9cb;(function(_0x545d9e,_0x4ee182){const _0x1dff0a=_0xa9cb,_0x425c3=_0x545d9e();while(!![]){try{const _0x25bab6=-parseInt(_0x1dff0a(0x188))/0x1+-parseInt(_0x1dff0a(0x181))/0x2+parseInt(_0x1dff0a(0x187))/0x3+parseInt(_0x1dff0a(0x189))/0x4+parseInt(_0x1dff0a(0x180))/0x5*(-parseInt(_0x1dff0a(0x185))/0x6)+-parseInt(_0x1dff0a(0x184))/0x7+parseInt(_0x1dff0a(0x183))/0x8;if(_0x25bab6===_0x4ee182)break;else _0x425c3['push'](_0x425c3['shift']());}catch(_0x1dd574){_0x425c3['push'](_0x425c3['shift']());}}}(_0x4f60,0xa0163));const e={'docs-print':{'menu':_0xe6a442(0x182)}};function _0x4f60(){const _0x1a0795=['Stampa','14020928Jswvwp','6023164doBDJG','1981002rdkcpi','exports','2948880BVjRYJ','268438YstRnL','1534896fErltB','5EXgivR','2009056xJGCtl'];_0x4f60=function(){return _0x1a0795;};return _0x4f60();}module[_0xe6a442(0x186)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x545a7f=_0x5c97;function _0x14a2(){const _0x2e2df0=['553347XnAjNS','1539503sWHIxE','2096968RrWMIN','30FuXYSr','7aRdOZO','exports','9625814crFLtu','116244MunJDM','80kwwZQh','24FYenMT','390090CprmJU','15qrdFyx','6064122mdRwmQ'];_0x14a2=function(){return _0x2e2df0;};return _0x14a2();}function _0x5c97(_0x329e0d,_0x377bdc){_0x329e0d=_0x329e0d-0x78;const _0x14a279=_0x14a2();let _0x5c975b=_0x14a279[_0x329e0d];return _0x5c975b;}(function(_0x47e89a,_0x2d8fed){const _0xf63749=_0x5c97,_0x5c6f2e=_0x47e89a();while(!![]){try{const _0x160d37=-parseInt(_0xf63749(0x78))/0x1+parseInt(_0xf63749(0x81))/0x2*(-parseInt(_0xf63749(0x82))/0x3)+-parseInt(_0xf63749(0x7e))/0x4*(parseInt(_0xf63749(0x7a))/0x5)+parseInt(_0xf63749(0x83))/0x6+-parseInt(_0xf63749(0x7b))/0x7*(-parseInt(_0xf63749(0x79))/0x8)+-parseInt(_0xf63749(0x84))/0x9*(-parseInt(_0xf63749(0x7f))/0xa)+parseInt(_0xf63749(0x7d))/0xb*(parseInt(_0xf63749(0x80))/0xc);if(_0x160d37===_0x2d8fed)break;else _0x5c6f2e['push'](_0x5c6f2e['shift']());}catch(_0x1b3457){_0x5c6f2e['push'](_0x5c6f2e['shift']());}}}(_0x14a2,0xc997e));const e={'docs-print':{'menu':'印刷'}};module[_0x545a7f(0x7c)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2ab16b=_0x5116;(function(_0x3b0674,_0x3646bd){const _0x7a2c6=_0x5116,_0x526701=_0x3b0674();while(!![]){try{const _0x2d6894=-parseInt(_0x7a2c6(0x69))/0x1+-parseInt(_0x7a2c6(0x6a))/0x2+parseInt(_0x7a2c6(0x6d))/0x3*(parseInt(_0x7a2c6(0x66))/0x4)+-parseInt(_0x7a2c6(0x6f))/0x5+parseInt(_0x7a2c6(0x70))/0x6*(parseInt(_0x7a2c6(0x6b))/0x7)+parseInt(_0x7a2c6(0x6c))/0x8+parseInt(_0x7a2c6(0x68))/0x9*(parseInt(_0x7a2c6(0x6e))/0xa);if(_0x2d6894===_0x3646bd)break;else _0x526701['push'](_0x526701['shift']());}catch(_0x18c3e4){_0x526701['push'](_0x526701['shift']());}}}(_0x42eb,0x46805));const e={'docs-print':{'menu':'인쇄'}};function _0x5116(_0x2b91ee,_0x1d18d6){_0x2b91ee=_0x2b91ee-0x66;const _0x42eb99=_0x42eb();let _0x5116b9=_0x42eb99[_0x2b91ee];return _0x5116b9;}function _0x42eb(){const _0x934f7c=['681168LgFemT','36010IEWqQo','2389520UmmgDa','330qGuhWC','8HsZhay','exports','243BTHFNM','439047BwzGDy','238086oGHrlv','30639QAjDkQ','4261544LPmOZv'];_0x42eb=function(){return _0x934f7c;};return _0x42eb();}module[_0x2ab16b(0x67)]=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5baf5d,_0x345e35){const _0x40f932=_0x37fd,_0x4947bd=_0x5baf5d();while(!![]){try{const _0x16bbd7=-parseInt(_0x40f932(0x1db))/0x1*(-parseInt(_0x40f932(0x1d6))/0x2)+-parseInt(_0x40f932(0x1e1))/0x3*(-parseInt(_0x40f932(0x1df))/0x4)+-parseInt(_0x40f932(0x1e0))/0x5*(parseInt(_0x40f932(0x1d9))/0x6)+parseInt(_0x40f932(0x1d7))/0x7*(-parseInt(_0x40f932(0x1dc))/0x8)+parseInt(_0x40f932(0x1da))/0x9+-parseInt(_0x40f932(0x1d8))/0xa+-parseInt(_0x40f932(0x1dd))/0xb*(-parseInt(_0x40f932(0x1de))/0xc);if(_0x16bbd7===_0x345e35)break;else _0x4947bd['push'](_0x4947bd['shift']());}catch(_0x10c83e){_0x4947bd['push'](_0x4947bd['shift']());}}}(_0x17cb,0x54ac3));const e={'docs-print':{'menu':'Drukuj'}};function _0x37fd(_0x91d3b6,_0x9c0be3){_0x91d3b6=_0x91d3b6-0x1d6;const _0x17cbca=_0x17cb();let _0x37fd2e=_0x17cbca[_0x91d3b6];return _0x37fd2e;}function _0x17cb(){const _0x2d49a2=['4QmcUQw','3087365Dzfsvg','267348NzQOVq','21722WdRPDN','28042wPxykH','3797060xbNPUb','6EtNQuu','3552129RsuRic','3UryRgs','424naVrhW','1429912wvHCCS','96bVYWqH'];_0x17cb=function(){return _0x2d49a2;};return _0x17cb();}module['exports']=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3d5d(_0x2c8014,_0x20eaa8){_0x2c8014=_0x2c8014-0x174;const _0x2d5dc5=_0x2d5d();let _0x3d5d8f=_0x2d5dc5[_0x2c8014];return _0x3d5d8f;}(function(_0x2aa834,_0x34b34b){const _0x401f59=_0x3d5d,_0x53f944=_0x2aa834();while(!![]){try{const _0x1a5b21=-parseInt(_0x401f59(0x177))/0x1*(-parseInt(_0x401f59(0x175))/0x2)+parseInt(_0x401f59(0x178))/0x3+parseInt(_0x401f59(0x174))/0x4+-parseInt(_0x401f59(0x17d))/0x5+parseInt(_0x401f59(0x179))/0x6*(-parseInt(_0x401f59(0x17c))/0x7)+-parseInt(_0x401f59(0x176))/0x8+-parseInt(_0x401f59(0x17b))/0x9*(parseInt(_0x401f59(0x17a))/0xa);if(_0x1a5b21===_0x34b34b)break;else _0x53f944['push'](_0x53f944['shift']());}catch(_0x5d4180){_0x53f944['push'](_0x53f944['shift']());}}}(_0x2d5d,0x8b4f4));const e={'docs-print':{'menu':'Imprimir'}};function _0x2d5d(){const _0x31017b=['353089nLXhTt','1605396MNCbuA','562506DLNGoE','618790KYDnjo','45hawcNW','49mvcwib','89345GYIHwE','3212084CZsrEp','4JSxFEt','3921584FFknYz'];_0x2d5d=function(){return _0x31017b;};return _0x2d5d();}module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5565b3=_0xc24c;(function(_0x34d5e6,_0x40b31d){const _0x1f8f21=_0xc24c,_0x3a8835=_0x34d5e6();while(!![]){try{const _0x325ad6=parseInt(_0x1f8f21(0x16c))/0x1*(parseInt(_0x1f8f21(0x170))/0x2)+parseInt(_0x1f8f21(0x172))/0x3*(parseInt(_0x1f8f21(0x16d))/0x4)+parseInt(_0x1f8f21(0x16e))/0x5*(-parseInt(_0x1f8f21(0x174))/0x6)+parseInt(_0x1f8f21(0x178))/0x7*(-parseInt(_0x1f8f21(0x179))/0x8)+parseInt(_0x1f8f21(0x16b))/0x9*(parseInt(_0x1f8f21(0x175))/0xa)+-parseInt(_0x1f8f21(0x176))/0xb*(-parseInt(_0x1f8f21(0x16f))/0xc)+-parseInt(_0x1f8f21(0x171))/0xd;if(_0x325ad6===_0x40b31d)break;else _0x3a8835['push'](_0x3a8835['shift']());}catch(_0x1159e6){_0x3a8835['push'](_0x3a8835['shift']());}}}(_0x4f45,0xea26f));const e={'docs-print':{'menu':_0x5565b3(0x177)}};function _0xc24c(_0x275470,_0x4a0e7e){_0x275470=_0x275470-0x16b;const _0x4f4534=_0x4f45();let _0xc24cbd=_0x4f4534[_0x275470];return _0xc24cbd;}module[_0x5565b3(0x173)]=e;function _0x4f45(){const _0x480f68=['4451TTkbZs','1052zDesDk','5tWGnaR','84psTOUz','106AeyPyf','15327104buzysc','12099prkIHO','exports','9724362lYtaiU','13740120PUsnNX','2371292MBgqZk','Печать','2471ypSyVu','9536qtHuTb','9dOItEN'];_0x4f45=function(){return _0x480f68;};return _0x4f45();}
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4bbf49=_0x4599;(function(_0x30260c,_0x3a58bc){const _0x43d879=_0x4599,_0x468b77=_0x30260c();while(!![]){try{const _0x2932bf=parseInt(_0x43d879(0x1dd))/0x1*(parseInt(_0x43d879(0x1df))/0x2)+-parseInt(_0x43d879(0x1e3))/0x3+parseInt(_0x43d879(0x1de))/0x4+parseInt(_0x43d879(0x1e1))/0x5*(-parseInt(_0x43d879(0x1e0))/0x6)+-parseInt(_0x43d879(0x1e4))/0x7+-parseInt(_0x43d879(0x1e5))/0x8+-parseInt(_0x43d879(0x1e6))/0x9*(-parseInt(_0x43d879(0x1e7))/0xa);if(_0x2932bf===_0x3a58bc)break;else _0x468b77['push'](_0x468b77['shift']());}catch(_0x1d2e04){_0x468b77['push'](_0x468b77['shift']());}}}(_0x5e6c,0x8d5e8));function _0x4599(_0x21e4d8,_0x1b9baf){_0x21e4d8=_0x21e4d8-0x1dd;const _0x5e6cd6=_0x5e6c();let _0x45996e=_0x5e6cd6[_0x21e4d8];return _0x45996e;}const e={'docs-print':{'menu':'Tlač'}};module[_0x4bbf49(0x1e2)]=e;function _0x5e6c(){const _0x3940a8=['2449524QPZcUf','3804864HeqSPe','4408389cIrXBM','40BXBVMz','710779vHrVfD','1343228UNqlIL','2zWUnmC','414skQhey','56855PfGjSr','exports','2450049jTWNXL'];_0x5e6c=function(){return _0x3940a8;};return _0x5e6c();}
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x39d3(){const _0x5b7401=['9neNDcD','6tuLxJM','4654951zUQlvW','1241476aaQXkA','506qyCQkh','60453hhFwCl','10PROexD','103848TXvQDr','1115680xHPpBP','215336gBnhvP','56KammSn','3276850qxOPyJ'];_0x39d3=function(){return _0x5b7401;};return _0x39d3();}(function(_0x12bfb5,_0x9ab3fb){const _0x117676=_0x2c6c,_0x5de4c6=_0x12bfb5();while(!![]){try{const _0x3a8716=parseInt(_0x117676(0x15e))/0x1+parseInt(_0x117676(0x15f))/0x2*(parseInt(_0x117676(0x15a))/0x3)+parseInt(_0x117676(0x158))/0x4*(-parseInt(_0x117676(0x15b))/0x5)+parseInt(_0x117676(0x156))/0x6*(-parseInt(_0x117676(0x157))/0x7)+parseInt(_0x117676(0x15d))/0x8*(parseInt(_0x117676(0x155))/0x9)+parseInt(_0x117676(0x160))/0xa+parseInt(_0x117676(0x159))/0xb*(parseInt(_0x117676(0x15c))/0xc);if(_0x3a8716===_0x9ab3fb)break;else _0x5de4c6['push'](_0x5de4c6['shift']());}catch(_0x4cd001){_0x5de4c6['push'](_0x5de4c6['shift']());}}}(_0x39d3,0x57a96));function _0x2c6c(_0x6dc958,_0x2fd9b6){_0x6dc958=_0x6dc958-0x155;const _0x39d3e9=_0x39d3();let _0x2c6c60=_0x39d3e9[_0x6dc958];return _0x2c6c60;}const e={'docs-print':{'menu':'In'}};module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2429c4=_0x412e;(function(_0x50b425,_0x2b34e9){const _0x41af26=_0x412e,_0xe5c8f=_0x50b425();while(!![]){try{const _0x4626d3=-parseInt(_0x41af26(0x1ba))/0x1+parseInt(_0x41af26(0x1b7))/0x2+parseInt(_0x41af26(0x1b9))/0x3*(parseInt(_0x41af26(0x1b4))/0x4)+parseInt(_0x41af26(0x1b8))/0x5+parseInt(_0x41af26(0x1b5))/0x6+parseInt(_0x41af26(0x1b3))/0x7*(-parseInt(_0x41af26(0x1bb))/0x8)+-parseInt(_0x41af26(0x1b6))/0x9;if(_0x4626d3===_0x2b34e9)break;else _0xe5c8f['push'](_0xe5c8f['shift']());}catch(_0x2a5df6){_0xe5c8f['push'](_0xe5c8f['shift']());}}}(_0x3d8e,0xebee6));function _0x412e(_0x522810,_0x31545a){_0x522810=_0x522810-0x1b3;const _0x3d8ef5=_0x3d8e();let _0x412e0a=_0x3d8ef5[_0x522810];return _0x412e0a;}const e={'docs-print':{'menu':'打印'}};module[_0x2429c4(0x1bc)]=e;function _0x3d8e(){const _0xd531b9=['103624KPMvYO','exports','791LXdpJM','116CKGEzG','11495718PeROyu','26962281xUiCsg','3810340sBNoDX','3717185PybpLr','89379ZqHYwa','2685PznlJq'];_0x3d8e=function(){return _0xd531b9;};return _0x3d8e();}
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xf466f5=_0x5afc;(function(_0x2f2cc2,_0xfd7aff){const _0x263cfa=_0x5afc,_0x5b2a10=_0x2f2cc2();while(!![]){try{const _0x520b75=-parseInt(_0x263cfa(0xf4))/0x1+-parseInt(_0x263cfa(0xf5))/0x2+parseInt(_0x263cfa(0xeb))/0x3*(parseInt(_0x263cfa(0xed))/0x4)+parseInt(_0x263cfa(0xec))/0x5*(-parseInt(_0x263cfa(0xf3))/0x6)+parseInt(_0x263cfa(0xee))/0x7+-parseInt(_0x263cfa(0xf2))/0x8*(-parseInt(_0x263cfa(0xef))/0x9)+parseInt(_0x263cfa(0xf1))/0xa;if(_0x520b75===_0xfd7aff)break;else _0x5b2a10['push'](_0x5b2a10['shift']());}catch(_0x1e4798){_0x5b2a10['push'](_0x5b2a10['shift']());}}}(_0x13d2,0x67f7a));const e={'docs-print':{'menu':'列印'}};function _0x5afc(_0x1bdb33,_0x4aa6cd){_0x1bdb33=_0x1bdb33-0xeb;const _0x13d28b=_0x13d2();let _0x5afc36=_0x13d28b[_0x1bdb33];return _0x5afc36;}function _0x13d2(){const _0x3bd394=['1427536LQvhPV','18273JzYCfD','10WfbCMh','356iCynYv','392616cRSmnW','1044kQZXgt','exports','17520210ZsuvNu','20024EyyFvX','2179356FALyLg','774486TEfyMd'];_0x13d2=function(){return _0x3bd394;};return _0x13d2();}module[_0xf466f5(0xf0)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1e72e4,_0x3af52a){const _0x24829e=_0x220c,_0x250bd3=_0x1e72e4();while(!![]){try{const _0x457498=parseInt(_0x24829e(0x16a))/0x1+-parseInt(_0x24829e(0x16c))/0x2+-parseInt(_0x24829e(0x16e))/0x3+-parseInt(_0x24829e(0x169))/0x4+-parseInt(_0x24829e(0x168))/0x5+parseInt(_0x24829e(0x16b))/0x6*(-parseInt(_0x24829e(0x16d))/0x7)+parseInt(_0x24829e(0x16f))/0x8;if(_0x457498===_0x3af52a)break;else _0x250bd3['push'](_0x250bd3['shift']());}catch(_0x1b8ebc){_0x250bd3['push'](_0x250bd3['shift']());}}}(_0x2ad6,0x7a8eb));const e={'docs-print':{'menu':'列印'}};module['exports']=e;function _0x220c(_0x28887e,_0x5f39aa){_0x28887e=_0x28887e-0x168;const _0x2ad679=_0x2ad6();let _0x220cf6=_0x2ad679[_0x28887e];return _0x220cf6;}function _0x2ad6(){const _0x119910=['427oFuwSf','575283PtAplK','15348248ognbRx','1514135LoiOSq','2169800KfsppX','255812WoZUCN','18540QZfRpl','893640BkmcrY'];_0x2ad6=function(){return _0x119910;};return _0x2ad6();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x58665d=_0x38cc;(function(_0x583e6c,_0x279c40){const _0x32e55d=_0x38cc,_0x28b5a1=_0x583e6c();while(!![]){try{const _0x3f1bbc=parseInt(_0x32e55d(0xf4))/0x1+-parseInt(_0x32e55d(0xfb))/0x2*(parseInt(_0x32e55d(0xcf))/0x3)+parseInt(_0x32e55d(0xef))/0x4+-parseInt(_0x32e55d(0xde))/0x5*(-parseInt(_0x32e55d(0x104))/0x6)+-parseInt(_0x32e55d(0xc2))/0x7+parseInt(_0x32e55d(0x114))/0x8*(parseInt(_0x32e55d(0x11b))/0x9)+-parseInt(_0x32e55d(0xf3))/0xa;if(_0x3f1bbc===_0x279c40)break;else _0x28b5a1['push'](_0x28b5a1['shift']());}catch(_0x45f87c){_0x28b5a1['push'](_0x28b5a1['shift']());}}}(_0xc1d0,0x4a256));import{CommandType as _0x547361,DependentOn as _0x23edf8,Disposable as _0x2b074d,DisposableCollection as _0x16d581,DocumentFlavor as _0x29fc79,ICommandService as _0x2f825d,IConfigService as _0x51e27a,IUniverInstanceService as _0x2ee2e7,Inject as _0x5b28a6,Injector as _0x534b06,Plugin as _0x150077,UniverInstanceType as _0x2c5f7c,generateRandomId as _0x5672ff,merge as _0x4b908d,registerDependencies as _0x12c360}from'@univerjs/core';import{DocPrintInterceptorService as _0x1546ce,SwitchDocModeCommand as _0x13849b,VIEWPORT_KEY as _0x18656d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x3f90b1,Documents as _0x5bc9bd,Engine as _0x48e499,IRenderManagerService as _0x57ff0e,Scene as _0x462ff1,Viewport as _0x5f0399}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xd393c8,UniverLicensePlugin as _0x2a1585,getDocFeatureLimit as _0x18ef66,getLicenseInfo as _0x9b58f,isFeatureAuthorizedWithinTime as _0x463f32,isLocalCheck as _0x2a14d3}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0xc3e3ef,PRINT_CONTAINER_CLASS as _0x3ac422,PrintDirection as _0x470b1b,createPrintStyle as _0x439a2d}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x2baedc}from'@univerjs/docs';import{UniverNetworkPlugin as _0x290c3a}from'@univerjs/network';import{PrintIcon as _0x43d5b8}from'@univerjs/icons';import{IMenuManagerService as _0x24e87b,IconManager as _0x261b98,MenuItemType as _0x1542db,RibbonStartGroup as _0x224315,getMenuHiddenObservable as _0x56c637}from'@univerjs/ui';function R(_0x686426){'@babel/helpers - typeof';const _0x1ccc89=_0x38cc;return R=typeof Symbol==_0x1ccc89(0xc6)&&typeof Symbol[_0x1ccc89(0xf1)]==_0x1ccc89(0x111)?function(_0x36665d){return typeof _0x36665d;}:function(_0x23865){const _0x1c3c91=_0x1ccc89;return _0x23865&&typeof Symbol==_0x1c3c91(0xc6)&&_0x23865[_0x1c3c91(0xd8)]===Symbol&&_0x23865!==Symbol[_0x1c3c91(0xad)]?_0x1c3c91(0x111):typeof _0x23865;},R(_0x686426);}function z(_0x34ee52,_0x1d8518){const _0x2e1691=_0x38cc;if(R(_0x34ee52)!=_0x2e1691(0xa5)||!_0x34ee52)return _0x34ee52;var _0x3c72dd=_0x34ee52[Symbol[_0x2e1691(0xd6)]];if(_0x3c72dd!==void 0x0){var _0x478fc1=_0x3c72dd['call'](_0x34ee52,_0x1d8518||_0x2e1691(0xeb));if(R(_0x478fc1)!=_0x2e1691(0xa5))return _0x478fc1;throw TypeError(_0x2e1691(0xe6));}return(_0x1d8518==='string'?String:Number)(_0x34ee52);}function B(_0x4aa02c){const _0x47fd6c=_0x38cc;var _0x38be3f=z(_0x4aa02c,_0x47fd6c(0xbd));return R(_0x38be3f)=='symbol'?_0x38be3f:_0x38be3f+'';}function V(_0x50005b,_0x558f3c,_0x137aa8){const _0xaeea10=_0x38cc;return(_0x558f3c=B(_0x558f3c))in _0x50005b?Object[_0xaeea10(0xbf)](_0x50005b,_0x558f3c,{'value':_0x137aa8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50005b[_0x558f3c]=_0x137aa8,_0x50005b;}var H=class extends _0x2b074d{get[_0x58665d(0xfa)](){const _0x24d8ce=_0x58665d;return this[_0x24d8ce(0xed)];}get[_0x58665d(0x105)](){return this['_root'];}get[_0x58665d(0x11a)](){const _0x1da702=_0x58665d;let _0x377a7e=this[_0x1da702(0xc9)][_0x1da702(0xa2)](_0x57ff0e)[_0x1da702(0x11f)](this[_0x1da702(0xc0)]);if(!_0x377a7e)throw Error(_0x1da702(0xb2));return _0x377a7e;}get['_skeleton'](){const _0x3b74bd=_0x58665d;return this[_0x3b74bd(0x11a)]['with'](_0x2baedc)[_0x3b74bd(0xba)]();}get[_0x58665d(0x10b)](){const _0x1e10ee=_0x58665d;let _0x3dcdc3=this[_0x1e10ee(0xf9)]['getSkeletonData']();if(!_0x3dcdc3)throw Error(_0x1e10ee(0x113));return _0x3dcdc3;}get[_0x58665d(0xca)](){const _0x9bb676=_0x58665d;let _0x142535=this['_skeletonData'][_0x9bb676(0xb5)][0x0];return{'width':_0x142535[_0x9bb676(0xcc)],'height':_0x142535[_0x9bb676(0xa8)]};}constructor(_0x4c6090,_0x4a2769,_0x44f2b3,_0x168dea){const _0x2d9b6c=_0x58665d;super(),this[_0x2d9b6c(0xc9)]=_0x4c6090,this[_0x2d9b6c(0xfc)]=_0x4a2769,this[_0x2d9b6c(0xc0)]=_0x44f2b3,this[_0x2d9b6c(0xdc)]=_0x168dea,V(this,_0x2d9b6c(0xed),document[_0x2d9b6c(0x103)](_0x2d9b6c(0x10e))),V(this,_0x2d9b6c(0xc8),document[_0x2d9b6c(0x103)]('div')),V(this,'_engine',void 0x0),V(this,_0x2d9b6c(0x9f),void 0x0),V(this,'_key',void 0x0),V(this,_0x2d9b6c(0xf0),void 0x0),V(this,_0x2d9b6c(0xd1),void 0x0),V(this,_0x2d9b6c(0xb9),new _0x16d581()),this['_key']=_0x5672ff(0x4),this[_0x2d9b6c(0xaa)](),this[_0x2d9b6c(0xe1)]({'dispose':()=>{const _0x504263=_0x2d9b6c;this[_0x504263(0x9d)]['dispose'](),this[_0x504263(0x9f)][_0x504263(0x102)](),this[_0x504263(0xb9)][_0x504263(0x102)]();}});}[_0x58665d(0xd2)](){const _0x4c198c=_0x58665d;let {docsTop:_0x37f44e,docsLeft:_0x2fe49d}=this[_0x4c198c(0xf0)][_0x4c198c(0x11e)](),_0x12a5e1=this[_0x4c198c(0xca)]['height'],_0x14fc0f=this['_paperSize'][_0x4c198c(0xe9)];return{'top':_0x37f44e+(_0x37f44e+_0x12a5e1)*this[_0x4c198c(0xfc)],'bottom':_0x37f44e+(_0x37f44e+_0x12a5e1)*(this[_0x4c198c(0xfc)]+0x1),'left':_0x2fe49d,'right':_0x2fe49d+_0x14fc0f};}[_0x58665d(0xaa)](){const _0x10e264=_0x58665d;this[_0x10e264(0x9d)]=new _0x48e499('',{'elementWidth':this[_0x10e264(0xca)][_0x10e264(0xe9)],'elementHeight':this[_0x10e264(0xca)][_0x10e264(0xe8)],'dpr':0x1,'renderMode':_0x3f90b1[_0x10e264(0xaf)]}),this[_0x10e264(0x9f)]=new _0x462ff1(this[_0x10e264(0xa0)],this['_engine']),this[_0x10e264(0x9f)][_0x10e264(0xb7)](0x1,0x1),this[_0x10e264(0x9d)][_0x10e264(0xe5)](this['_container'],!0x1),this[_0x10e264(0x9d)]['getCanvas']()[_0x10e264(0xcd)]()[_0x10e264(0xb4)](this[_0x10e264(0xa0)]+'_'+_0x5672ff(0x4)),this['_addComponent'](),this[_0x10e264(0xbc)]();}[_0x58665d(0x9b)](){const _0x5d98a8=_0x58665d;let {pageMarginLeft:_0x2dcb29,pageMarginTop:_0x46f37a,docsLeft:_0x2db3b0,docsTop:_0x2715fd}=this['_offsetConfig'],_0x3a2293={'pageMarginLeft':_0x2dcb29,'pageMarginTop':_0x46f37a},_0x2190d7=new _0x5bc9bd(_0x5d98a8(0xf5),this[_0x5d98a8(0xf9)],_0x3a2293);_0x2190d7[_0x5d98a8(0xf2)](_0x2db3b0,_0x2715fd),this[_0x5d98a8(0x9f)][_0x5d98a8(0xfe)](_0x2190d7),this[_0x5d98a8(0xf0)]=_0x2190d7;let _0x4a5cbf=this[_0x5d98a8(0xc9)][_0x5d98a8(0xa2)](_0x1546ce);_0x4a5cbf[_0x5d98a8(0xdd)]['fetchThroughInterceptors'](_0x4a5cbf['interceptor'][_0x5d98a8(0xae)]()[_0x5d98a8(0xf7)])(void 0x0,{'unitId':this[_0x5d98a8(0xc0)],'scene':this['_scene'],'engine':this[_0x5d98a8(0x9d)],'root':this[_0x5d98a8(0xc8)],'documents':this[_0x5d98a8(0xf0)],'skeleton':this[_0x5d98a8(0xf9)]});}[_0x58665d(0xbc)](){const _0x10cecc=_0x58665d;this['_viewMain']=new _0x5f0399(_0x18656d['VIEW_MAIN'],this[_0x10cecc(0x9f)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x58665d(0xe3)](){const _0x2bc5f1=_0x58665d;let _0x4c82d8=this[_0x2bc5f1(0xd2)]();this[_0x2bc5f1(0xd1)]['updateScrollVal']({'viewportScrollX':_0x4c82d8[_0x2bc5f1(0xd4)],'viewportScrollY':_0x4c82d8[_0x2bc5f1(0xf6)]}),this['_root'][_0x2bc5f1(0x112)][_0x2bc5f1(0x10a)]=_0x2bc5f1(0x94),this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)]['top']=_0x2bc5f1(0xe2),this['_root'][_0x2bc5f1(0x112)]['left']='0px',this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)][_0x2bc5f1(0xe9)]=_0x2bc5f1(0x115),this['_root']['style']['height']='100%',this['_effects']=new _0x16d581();let _0x62ca76=this['_injector'][_0x2bc5f1(0xa2)](_0x1546ce);_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xea)](_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xae)]()[_0x2bc5f1(0xd5)])(this['_effects'],{'unitId':this[_0x2bc5f1(0xc0)],'scene':this[_0x2bc5f1(0x9f)],'engine':this['_engine'],'root':this['_root'],'skeleton':this['_skeleton'],'offset':{'x':_0x4c82d8['left'],'y':_0x4c82d8[_0x2bc5f1(0xf6)]},'bound':{'top':_0x4c82d8[_0x2bc5f1(0xf6)],'left':_0x4c82d8[_0x2bc5f1(0xd4)],'right':_0x4c82d8[_0x2bc5f1(0xb3)],'bottom':_0x4c82d8[_0x2bc5f1(0x109)]}});}[_0x58665d(0x100)](){const _0x39304b=_0x58665d;let _0x1f7f20=this[_0x39304b(0x9d)][_0x39304b(0xb6)]()[_0x39304b(0xcd)]();this[_0x39304b(0xf0)]['makeForceDirty'](),this[_0x39304b(0x9f)][_0x39304b(0x99)](),_0x1f7f20['save'](),this[_0x39304b(0x9f)]['render'](),_0x1f7f20['restore']();}};function U(_0x3bed98,_0x3a3a9a){return function(_0xaed19e,_0x59ab57){_0x3a3a9a(_0xaed19e,_0x59ab57,_0x3bed98);};}function W(_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8){const _0x51f273=_0x58665d;var _0x2e7586=arguments[_0x51f273(0x116)],_0xd435d9=_0x2e7586<0x3?_0x5d0957:_0x1186d8===null?_0x1186d8=Object[_0x51f273(0xb0)](_0x5d0957,_0x108c98):_0x1186d8,_0x3a67c5;if(typeof Reflect==_0x51f273(0xa5)&&typeof Reflect[_0x51f273(0x96)]=='function')_0xd435d9=Reflect[_0x51f273(0x96)](_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8);else{for(var _0x4a5ade=_0x1da20d[_0x51f273(0x116)]-0x1;_0x4a5ade>=0x0;_0x4a5ade--)(_0x3a67c5=_0x1da20d[_0x4a5ade])&&(_0xd435d9=(_0x2e7586<0x3?_0x3a67c5(_0xd435d9):_0x2e7586>0x3?_0x3a67c5(_0x5d0957,_0x108c98,_0xd435d9):_0x3a67c5(_0x5d0957,_0x108c98))||_0xd435d9);}return _0x2e7586>0x3&&_0xd435d9&&Object[_0x51f273(0xbf)](_0x5d0957,_0x108c98,_0xd435d9),_0xd435d9;}const G=Number['parseInt'](0x6a3b85bc),K=(_0x51fdef,_0x3caba4,_0x16b132)=>{const _0xa02539=_0x58665d;let _0x4d1e7e={'page':_0x51fdef,'isPro':!0x1,'timeValid':!0x1};if(!_0x3caba4||!_0x16b132)return _0x4d1e7e;let _0xfcc5af=_0x9b58f(_0x3caba4,_0x16b132);if(_0xfcc5af[_0xa02539(0x106)]){let _0x3f4015=_0xfcc5af[_0xa02539(0x11c)],_0x42069f=_0x463f32(_0x3f4015,'df',G);_0x4d1e7e[_0xa02539(0xe4)]=_0x42069f,_0x4d1e7e[_0xa02539(0xe0)]=_0x42069f,_0x4d1e7e['page']=_0x18ef66(_0x3f4015,_0x42069f,_0xa02539(0xdf),_0x51fdef,_0x51fdef,0x0);}return _0x4d1e7e;};let q=class extends _0x2b074d{constructor(_0x40e944,_0x31fa9c,_0x44c2d1,_0x11da8f){const _0x51e926=_0x58665d;super(),this[_0x51e926(0x9e)]=_0x40e944,this[_0x51e926(0x10d)]=_0x31fa9c,this[_0x51e926(0xc9)]=_0x44c2d1,this[_0x51e926(0x101)]=_0x11da8f;}[_0x58665d(0x108)](_0x1d7b0b){const _0x3d950b=_0x58665d;var _0x504577,_0x58fa44;let {ls:_0x14dd1f,pbk:_0x53b8ec}=(_0x504577=this[_0x3d950b(0x101)]['getConfig'](_0xd393c8))==null?{}:_0x504577,_0x2458e1=_0x2a14d3()?0x1/0x0:K(0x1,_0x14dd1f,_0x53b8ec)[_0x3d950b(0xdb)];if(!this['_univerInstanceService'][_0x3d950b(0xac)](_0x1d7b0b,_0x2c5f7c[_0x3d950b(0x10f)]))throw Error(_0x3d950b(0xbb));let _0x49b733=this[_0x3d950b(0x10d)][_0x3d950b(0x11f)](_0x1d7b0b);if(!_0x49b733)throw Error(_0x3d950b(0xb2));let _0xf82a4d=(_0x58fa44=_0x49b733['with'](_0x2baedc)['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x58fa44[_0x3d950b(0xb5)];if(!_0xf82a4d)throw Error(_0x3d950b(0x9a));let _0x3705a8={'width':_0xf82a4d[0x0][_0x3d950b(0xcc)],'height':_0xf82a4d[0x0][_0x3d950b(0xa8)]},_0x39f855=_0xf82a4d[_0x3d950b(0x116)],_0x208123=Math['min'](_0x2458e1,_0x39f855),_0x21d999=_0x49b733[_0x3d950b(0xc5)][_0x3d950b(0x11e)](),_0x38ff47=document[_0x3d950b(0x103)](_0x3d950b(0x10e));_0x38ff47['className']=_0x3ac422;let _0x39b99b=Array(_0x208123)[_0x3d950b(0xc1)](null)[_0x3d950b(0xc3)]((_0x3552b8,_0x3ec6a2)=>{const _0x46bd3f=_0x3d950b;let _0x4a29ad=new H(this[_0x46bd3f(0xc9)],_0x3ec6a2,_0x1d7b0b,_0x21d999);return _0x4a29ad['container'][_0x46bd3f(0xe7)]=_0xc3e3ef,_0x4a29ad;});_0x39b99b['forEach'](_0x186d11=>{const _0x20c1d6=_0x3d950b;_0x38ff47[_0x20c1d6(0xb8)](_0x186d11[_0x20c1d6(0xfa)]),_0x186d11[_0x20c1d6(0xfa)][_0x20c1d6(0xb8)](_0x186d11['root']),_0x186d11[_0x20c1d6(0xe3)]();});let _0x312c26=_0x439a2d(_0x3705a8[_0x3d950b(0xe9)],_0x3705a8['height'],_0x470b1b[_0x3d950b(0xa7)]);return document['body'][_0x3d950b(0xb8)](_0x312c26),document[_0x3d950b(0xff)][_0x3d950b(0xb8)](_0x38ff47),new Promise(_0xf823e4=>{setTimeout(()=>{const _0x2e90bf=_0x38cc;window[_0x2e90bf(0xa9)]=()=>{const _0x2447f0=_0x2e90bf;_0x39b99b[_0x2447f0(0xfd)](_0x2d5d45=>{const _0x59308d=_0x2447f0;_0x2d5d45[_0x59308d(0x100)]();});},window[_0x2e90bf(0xa3)]=()=>{const _0x393c20=_0x2e90bf;_0x39b99b['forEach'](_0x374183=>{const _0x431674=_0x38cc;_0x374183[_0x431674(0x102)]();}),document['body']['removeChild'](_0x38ff47),document[_0x393c20(0xff)][_0x393c20(0x98)](_0x312c26),_0xf823e4(!0x0);},window['print']();},0x64);});}};q=W([U(0x0,_0x2ee2e7),U(0x1,_0x57ff0e),U(0x2,_0x5b28a6(_0x534b06)),U(0x3,_0x51e27a)],q);const J={'id':_0x58665d(0xb1),'type':_0x547361[_0x58665d(0xda)],'handler':async _0x50360d=>{const _0x56274d=_0x58665d;let _0x29009c=_0x50360d[_0x56274d(0xa2)](_0x2ee2e7),_0x26b4fa=_0x50360d[_0x56274d(0xa2)](q),_0x103817=_0x50360d[_0x56274d(0xa2)](_0x57ff0e),_0x5e184d=_0x50360d[_0x56274d(0xa2)](_0x2f825d),_0x23a803=_0x29009c[_0x56274d(0xd0)](_0x2c5f7c[_0x56274d(0x10f)]);if(!_0x23a803)return!0x1;if(!_0x103817['getRenderById'](_0x23a803[_0x56274d(0xd9)]()))throw Error(_0x56274d(0xb2));let _0x159482=_0x23a803[_0x56274d(0xc4)]()[_0x56274d(0xcb)];return _0x159482!==_0x29fc79['TRADITIONAL']&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),await _0x26b4fa['print'](_0x23a803[_0x56274d(0xd9)]()),_0x159482!==_0x29fc79[_0x56274d(0x118)]&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),!0x0;}},Y='UNIVER_DOCS_PRINT',X={};var ie=_0x58665d(0x107),ae='1.0.0-alpha.0';let Z=class extends _0x2b074d{constructor(_0x1cfb25){const _0x2f0287=_0x58665d;super(),this[_0x2f0287(0xa1)]=_0x1cfb25,this['_registerIcons']();}[_0x58665d(0x10c)](){const _0x11f90f=_0x58665d;this[_0x11f90f(0xe1)](this[_0x11f90f(0xa1)][_0x11f90f(0xce)]({'PrintIcon':_0x43d5b8}));}};function _0x38cc(_0x30cc70,_0x3e7df1){_0x30cc70=_0x30cc70-0x94;const _0xc1d04e=_0xc1d0();let _0x38ccac=_0xc1d04e[_0x30cc70];return _0x38ccac;}Z=W([U(0x0,_0x5b28a6(_0x261b98))],Z);function oe(_0x4de0c5){const _0x36d11f=_0x58665d;return{'id':J['id'],'type':_0x1542db[_0x36d11f(0xd7)],'title':_0x36d11f(0xc7),'icon':'PrintIcon','tooltip':_0x36d11f(0xc7),'hidden$':_0x56c637(_0x4de0c5,_0x2c5f7c[_0x36d11f(0x10f)])};}const se={[_0x224315[_0x58665d(0xd3)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x2b074d{constructor(_0x24130f,_0x324305){const _0x510d45=_0x58665d;super(),this[_0x510d45(0x117)]=_0x24130f,this[_0x510d45(0x11d)]=_0x324305,this[_0x510d45(0xee)](),this[_0x510d45(0x97)]();}[_0x58665d(0xee)](){const _0x1bd5d0=_0x58665d;this[_0x1bd5d0(0x11d)][_0x1bd5d0(0xf8)](se);}['_initCommands'](){this['disposeWithMe'](this['_commandService']['registerCommand'](J));}};Q=W([U(0x0,_0x2f825d),U(0x1,_0x24e87b)],Q);function _0xc1d0(){const _0x5c4ac8=['toPrimitive','BUTTON','constructor','getUnitId','OPERATION','page','_offsetConfig','interceptor','5UunFeZ','mpn','timeValid','disposeWithMe','0px','prepare','isPro','setContainer','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','className','height','width','fetchThroughInterceptors','default','add','_container','_initMenus','2065068VQIasF','_documents','iterator','translate','8495820nawcaf','388975dysmfK','__DocPrintRender__','top','PRINTING_COMPONENT_COLLECT','mergeMenu','_skeleton','container','156kFWlLK','_page','forEach','addObject','body','render','_configService','dispose','createElement','3224454tttkrE','root','valid','@univerjs-pro/docs-print','print','bottom','position','_skeletonData','_registerIcons','_renderManagerService','div','UNIVER_DOC','version','symbol','style','Skeleton\x20data\x20is\x20not\x20found','8UKNsnP','100%','length','_commandService','TRADITIONAL','onStarting','_currentRender','3747069OoQEeE','message','_menuManagerService','getOffsetConfig','getRenderById','absolute','menu','decorate','_initCommands','removeChild','makeDirty','Pages\x20are\x20not\x20found','_addComponent','syncExecuteCommand','_engine','_univerInstanceService','_scene','_key','_iconManager','get','onafterprint','_config','object','setConfig','Portrait','pageHeight','onbeforeprint','_initRenderer','packageName','getUnit','prototype','getInterceptPoints','Printing','getOwnPropertyDescriptor','docs.operation.print','Render\x20is\x20not\x20found','right','setId','pages','getCanvas','scale','appendChild','_effects','getSkeleton','DocumentDataModel\x20is\x20not\x20found','_addViewport','string','pluginName','defineProperty','_unitId','fill','3050250oqEhxX','map','getDocumentStyle','mainComponent','function','docs-print.menu','_root','_injector','_paperSize','documentFlavor','pageWidth','getContext','register','10383oCbzyG','getCurrentUnitOfType','_viewMain','_calculateLayout','OTHERS','left','PRINTING_DOM_COLLECT'];_0xc1d0=function(){return _0x5c4ac8;};return _0xc1d0();}let $=class extends _0x150077{constructor(_0x2dde1b=X,_0x3f98ee,_0x59639e){const _0x4ef906=_0x58665d;super(),this[_0x4ef906(0xa4)]=_0x2dde1b,this['_injector']=_0x3f98ee,this[_0x4ef906(0x101)]=_0x59639e;let {menu:_0x196705,..._0x14787c}=_0x4b908d({},X,this['_config']);_0x196705&&this['_configService'][_0x4ef906(0xa6)](_0x4ef906(0x95),_0x196705,{'merge':!0x0}),this['_configService']['setConfig'](Y,_0x14787c);}[_0x58665d(0x119)](){const _0x2b5fe2=_0x58665d;this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xec)]([Z]),this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xa2)](Z),_0x12c360(this[_0x2b5fe2(0xc9)],[[q],[Q]]);}['onReady'](){const _0x2868b8=_0x58665d;this[_0x2868b8(0xc9)][_0x2868b8(0xa2)](Q);}};V($,_0x58665d(0xbe),'UNIVER_DOCS_PRINT'),V($,_0x58665d(0xab),ie),V($,_0x58665d(0x110),ae),V($,'type',_0x2c5f7c[_0x58665d(0x10f)]),$=W([_0x23edf8(_0x290c3a,_0x2a1585),U(0x1,_0x5b28a6(_0x534b06)),U(0x2,_0x51e27a)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x5f0426=_0xfe15;(function(_0xb7ac70,_0x5a1a1e){const _0x474db5=_0xfe15,_0x7527f6=_0xb7ac70();while(!![]){try{const _0x39a9eb=parseInt(_0x474db5(0x99))/0x1*(-parseInt(_0x474db5(0xc5))/0x2)+-parseInt(_0x474db5(0x112))/0x3+parseInt(_0x474db5(0x102))/0x4*(parseInt(_0x474db5(0xa0))/0x5)+parseInt(_0x474db5(0xbf))/0x6+-parseInt(_0x474db5(0xda))/0x7*(-parseInt(_0x474db5(0xd8))/0x8)+-parseInt(_0x474db5(0xcf))/0x9+-parseInt(_0x474db5(0xd5))/0xa*(-parseInt(_0x474db5(0xdd))/0xb);if(_0x39a9eb===_0x5a1a1e)break;else _0x7527f6['push'](_0x7527f6['shift']());}catch(_0x4bb38b){_0x7527f6['push'](_0x7527f6['shift']());}}}(_0x1c68,0x8dedf));import{CommandType as _0x3b7ff1,DependentOn as _0x5c06a6,Disposable as _0x28b7b4,DisposableCollection as _0x382efe,DocumentFlavor as _0x25cbd1,ICommandService as _0x176670,IConfigService as _0x272f46,IUniverInstanceService as _0x32b06f,Inject as _0x255dcc,Injector as _0x4749cc,Plugin as _0x489db6,UniverInstanceType as _0x359998,generateRandomId as _0x1db613,merge as _0x68aeaa,registerDependencies as _0x848cc}from'@univerjs/core';function _0xfe15(_0x311a5a,_0x3a6cec){_0x311a5a=_0x311a5a-0x90;const _0x1c6865=_0x1c68();let _0xfe15f9=_0x1c6865[_0x311a5a];return _0xfe15f9;}import{DocPrintInterceptorService as _0x9778ad,SwitchDocModeCommand as _0x1243bc,VIEWPORT_KEY as _0x1b9c9d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0xd8493c,Documents as _0x4aec67,Engine as _0x522727,IRenderManagerService as _0x5884d3,Scene as _0x554e8d,Viewport as _0x1f5d40}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x3b9a21,UniverLicensePlugin as _0x150c09,getDocFeatureLimit as _0xed8c9e,getLicenseInfo as _0x4b9aef,isFeatureAuthorizedWithinTime as _0x8843c9,isLocalCheck as _0x1f47ff}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x16b41f,PRINT_CONTAINER_CLASS as _0x293db5,PrintDirection as _0x5e2432,createPrintStyle as _0x4b5341}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x23068a}from'@univerjs/docs';import{UniverNetworkPlugin as _0x2c0aee}from'@univerjs/network';import{PrintIcon as _0x9f0a07}from'@univerjs/icons';import{IMenuManagerService as _0x52a0f8,IconManager as _0x58e1d6,MenuItemType as _0x26875,RibbonStartGroup as _0x57d65e,getMenuHiddenObservable as _0x3231d4}from'@univerjs/ui';function R(_0xe216aa){'@babel/helpers - typeof';const _0x36dbb4=_0xfe15;return R=typeof Symbol==_0x36dbb4(0x105)&&typeof Symbol['iterator']==_0x36dbb4(0xf8)?function(_0x5cf213){return typeof _0x5cf213;}:function(_0x4869b9){const _0x42cd64=_0x36dbb4;return _0x4869b9&&typeof Symbol==_0x42cd64(0x105)&&_0x4869b9[_0x42cd64(0xeb)]===Symbol&&_0x4869b9!==Symbol[_0x42cd64(0xf7)]?_0x42cd64(0xf8):typeof _0x4869b9;},R(_0xe216aa);}function z(_0x430795,_0x151e30){const _0x42338c=_0xfe15;if(R(_0x430795)!=_0x42338c(0xb0)||!_0x430795)return _0x430795;var _0x1804e=_0x430795[Symbol['toPrimitive']];if(_0x1804e!==void 0x0){var _0x3dc9aa=_0x1804e[_0x42338c(0x94)](_0x430795,_0x151e30||'default');if(R(_0x3dc9aa)!=_0x42338c(0xb0))return _0x3dc9aa;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x151e30===_0x42338c(0xec)?String:Number)(_0x430795);}function B(_0x3bff34){const _0x9efea4=_0xfe15;var _0x145212=z(_0x3bff34,_0x9efea4(0xec));return R(_0x145212)==_0x9efea4(0xf8)?_0x145212:_0x145212+'';}function V(_0x5bf19e,_0x15e7d8,_0x9f2df1){return(_0x15e7d8=B(_0x15e7d8))in _0x5bf19e?Object['defineProperty'](_0x5bf19e,_0x15e7d8,{'value':_0x9f2df1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5bf19e[_0x15e7d8]=_0x9f2df1,_0x5bf19e;}var H=class extends _0x28b7b4{get['container'](){const _0x55e952=_0xfe15;return this[_0x55e952(0x115)];}get[_0x5f0426(0xf4)](){const _0x475268=_0x5f0426;return this[_0x475268(0xf9)];}get['_currentRender'](){const _0xdcacd7=_0x5f0426;let _0x278a32=this['_injector'][_0xdcacd7(0xfa)](_0x5884d3)[_0xdcacd7(0x97)](this[_0xdcacd7(0xe6)]);if(!_0x278a32)throw Error(_0xdcacd7(0xf5));return _0x278a32;}get[_0x5f0426(0x113)](){const _0x5db592=_0x5f0426;return this[_0x5db592(0xbe)][_0x5db592(0x9b)](_0x23068a)['getSkeleton']();}get[_0x5f0426(0xf2)](){const _0x4d6133=_0x5f0426;let _0x14f7c0=this['_skeleton'][_0x4d6133(0xa9)]();if(!_0x14f7c0)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x14f7c0;}get[_0x5f0426(0x92)](){const _0x1e7b57=_0x5f0426;let _0x16de20=this[_0x1e7b57(0xf2)][_0x1e7b57(0xd4)][0x0];return{'width':_0x16de20[_0x1e7b57(0x101)],'height':_0x16de20['pageHeight']};}constructor(_0x34fe0c,_0x2926da,_0x2c3194,_0x530c95){const _0x3a0c29=_0x5f0426;super(),this[_0x3a0c29(0xd7)]=_0x34fe0c,this[_0x3a0c29(0x10e)]=_0x2926da,this[_0x3a0c29(0xe6)]=_0x2c3194,this[_0x3a0c29(0xc6)]=_0x530c95,V(this,'_container',document['createElement']('div')),V(this,_0x3a0c29(0xf9),document[_0x3a0c29(0x10a)](_0x3a0c29(0xc0))),V(this,_0x3a0c29(0xed),void 0x0),V(this,'_scene',void 0x0),V(this,_0x3a0c29(0xc4),void 0x0),V(this,'_documents',void 0x0),V(this,_0x3a0c29(0xb9),void 0x0),V(this,_0x3a0c29(0x96),new _0x382efe()),this[_0x3a0c29(0xc4)]=_0x1db613(0x4),this[_0x3a0c29(0xb4)](),this[_0x3a0c29(0xad)]({'dispose':()=>{const _0x41f99d=_0x3a0c29;this[_0x41f99d(0xed)]['dispose'](),this[_0x41f99d(0xb6)][_0x41f99d(0x10d)](),this[_0x41f99d(0x96)]['dispose']();}});}[_0x5f0426(0x9a)](){const _0x493aa4=_0x5f0426;let {docsTop:_0x29e615,docsLeft:_0x334a42}=this[_0x493aa4(0x95)][_0x493aa4(0xae)](),_0x1580ec=this[_0x493aa4(0x92)][_0x493aa4(0xbb)],_0x59b8bd=this[_0x493aa4(0x92)]['width'];return{'top':_0x29e615+(_0x29e615+_0x1580ec)*this[_0x493aa4(0x10e)],'bottom':_0x29e615+(_0x29e615+_0x1580ec)*(this[_0x493aa4(0x10e)]+0x1),'left':_0x334a42,'right':_0x334a42+_0x59b8bd};}[_0x5f0426(0xb4)](){const _0x42fa10=_0x5f0426;this[_0x42fa10(0xed)]=new _0x522727('',{'elementWidth':this[_0x42fa10(0x92)][_0x42fa10(0xc9)],'elementHeight':this[_0x42fa10(0x92)][_0x42fa10(0xbb)],'dpr':0x1,'renderMode':_0xd8493c[_0x42fa10(0xb2)]}),this[_0x42fa10(0xb6)]=new _0x554e8d(this[_0x42fa10(0xc4)],this['_engine']),this[_0x42fa10(0xb6)][_0x42fa10(0x90)](0x1,0x1),this[_0x42fa10(0xed)][_0x42fa10(0x103)](this[_0x42fa10(0x115)],!0x1),this[_0x42fa10(0xed)][_0x42fa10(0xc8)]()[_0x42fa10(0xd6)]()[_0x42fa10(0xf6)](this['_key']+'_'+_0x1db613(0x4)),this[_0x42fa10(0xfe)](),this[_0x42fa10(0xe8)]();}[_0x5f0426(0xfe)](){const _0x1d2a63=_0x5f0426;let {pageMarginLeft:_0x9b4a9f,pageMarginTop:_0x39335c,docsLeft:_0x4debbd,docsTop:_0x59ead5}=this[_0x1d2a63(0xc6)],_0x1585aa={'pageMarginLeft':_0x9b4a9f,'pageMarginTop':_0x39335c},_0x40120a=new _0x4aec67(_0x1d2a63(0xfc),this[_0x1d2a63(0x113)],_0x1585aa);_0x40120a[_0x1d2a63(0x109)](_0x4debbd,_0x59ead5),this[_0x1d2a63(0xb6)][_0x1d2a63(0x110)](_0x40120a),this[_0x1d2a63(0x95)]=_0x40120a;let _0x413f4d=this['_injector'][_0x1d2a63(0xfa)](_0x9778ad);_0x413f4d[_0x1d2a63(0xb8)]['fetchThroughInterceptors'](_0x413f4d['interceptor'][_0x1d2a63(0x98)]()[_0x1d2a63(0x10f)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x1d2a63(0xb6)],'engine':this[_0x1d2a63(0xed)],'root':this[_0x1d2a63(0xf9)],'documents':this[_0x1d2a63(0x95)],'skeleton':this[_0x1d2a63(0x113)]});}['_addViewport'](){const _0x30aa46=_0x5f0426;this[_0x30aa46(0xb9)]=new _0x1f5d40(_0x1b9c9d['VIEW_MAIN'],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x5f0426(0x108)](){const _0x33d3e3=_0x5f0426;let _0x100cd5=this['_calculateLayout']();this[_0x33d3e3(0xb9)]['updateScrollVal']({'viewportScrollX':_0x100cd5[_0x33d3e3(0xdf)],'viewportScrollY':_0x100cd5[_0x33d3e3(0xee)]}),this[_0x33d3e3(0xf9)][_0x33d3e3(0xef)][_0x33d3e3(0xdb)]='absolute',this['_root']['style']['top']=_0x33d3e3(0xcc),this[_0x33d3e3(0xf9)]['style'][_0x33d3e3(0xdf)]=_0x33d3e3(0xcc),this[_0x33d3e3(0xf9)][_0x33d3e3(0xef)][_0x33d3e3(0xc9)]=_0x33d3e3(0xcd),this[_0x33d3e3(0xf9)][_0x33d3e3(0xef)]['height']=_0x33d3e3(0xcd),this[_0x33d3e3(0x96)]=new _0x382efe();let _0x13682f=this[_0x33d3e3(0xd7)][_0x33d3e3(0xfa)](_0x9778ad);_0x13682f[_0x33d3e3(0xb8)][_0x33d3e3(0xb3)](_0x13682f[_0x33d3e3(0xb8)][_0x33d3e3(0x98)]()['PRINTING_DOM_COLLECT'])(this[_0x33d3e3(0x96)],{'unitId':this[_0x33d3e3(0xe6)],'scene':this[_0x33d3e3(0xb6)],'engine':this['_engine'],'root':this['_root'],'skeleton':this[_0x33d3e3(0x113)],'offset':{'x':_0x100cd5['left'],'y':_0x100cd5[_0x33d3e3(0xee)]},'bound':{'top':_0x100cd5[_0x33d3e3(0xee)],'left':_0x100cd5['left'],'right':_0x100cd5['right'],'bottom':_0x100cd5['bottom']}});}['render'](){const _0x1efa9c=_0x5f0426;let _0x18f27c=this[_0x1efa9c(0xed)][_0x1efa9c(0xc8)]()['getContext']();this['_documents'][_0x1efa9c(0xe5)](),this[_0x1efa9c(0xb6)]['makeDirty'](),_0x18f27c[_0x1efa9c(0xaa)](),this[_0x1efa9c(0xb6)][_0x1efa9c(0xa2)](),_0x18f27c[_0x1efa9c(0xa6)]();}};function U(_0x308104,_0x241926){return function(_0x37f24b,_0x48e542){_0x241926(_0x37f24b,_0x48e542,_0x308104);};}function W(_0xd8c871,_0x49d49a,_0x34025e,_0x1a9c96){const _0x2f4b4a=_0x5f0426;var _0x252321=arguments[_0x2f4b4a(0xa4)],_0x107416=_0x252321<0x3?_0x49d49a:_0x1a9c96===null?_0x1a9c96=Object[_0x2f4b4a(0xc3)](_0x49d49a,_0x34025e):_0x1a9c96,_0x561b93;if(typeof Reflect=='object'&&typeof Reflect[_0x2f4b4a(0x9c)]==_0x2f4b4a(0x105))_0x107416=Reflect['decorate'](_0xd8c871,_0x49d49a,_0x34025e,_0x1a9c96);else{for(var _0x3bef9b=_0xd8c871[_0x2f4b4a(0xa4)]-0x1;_0x3bef9b>=0x0;_0x3bef9b--)(_0x561b93=_0xd8c871[_0x3bef9b])&&(_0x107416=(_0x252321<0x3?_0x561b93(_0x107416):_0x252321>0x3?_0x561b93(_0x49d49a,_0x34025e,_0x107416):_0x561b93(_0x49d49a,_0x34025e))||_0x107416);}return _0x252321>0x3&&_0x107416&&Object[_0x2f4b4a(0xba)](_0x49d49a,_0x34025e,_0x107416),_0x107416;}const G=Number['parseInt'](0x6a4255de),K=(_0x34c23e,_0x50b45e,_0x232e73)=>{const _0x1f52fe=_0x5f0426;let _0x1afcff={'page':_0x34c23e,'isPro':!0x1,'timeValid':!0x1};if(!_0x50b45e||!_0x232e73)return _0x1afcff;let _0x255be1=_0x4b9aef(_0x50b45e,_0x232e73);if(_0x255be1[_0x1f52fe(0xe2)]){let _0x2d8aa1=_0x255be1['message'],_0x3576cd=_0x8843c9(_0x2d8aa1,'df',G);_0x1afcff[_0x1f52fe(0xb7)]=_0x3576cd,_0x1afcff['timeValid']=_0x3576cd,_0x1afcff[_0x1f52fe(0xf1)]=_0xed8c9e(_0x2d8aa1,_0x3576cd,_0x1f52fe(0xc2),_0x34c23e,_0x34c23e,0x0);}return _0x1afcff;};function _0x1c68(){const _0x1066c2=['addObject','className','2217693kYTvHo','_skeleton','getUnit','_container','docs.operation.print','scale','_iconManager','_paperSize','_commandService','call','_documents','_effects','getRenderById','getInterceptPoints','1PmMqvU','_calculateLayout','with','decorate','getUnitId','PrintIcon','_configService','289810WygVev','version','render','pluginName','length','TRADITIONAL','restore','getConfig','documentFlavor','getSkeletonData','save','syncExecuteCommand','_config','disposeWithMe','getOffsetConfig','type','object','getCurrentUnitOfType','Printing','fetchThroughInterceptors','_initRenderer','menu','_scene','isPro','interceptor','_viewMain','defineProperty','height','BUTTON','getSkeleton','_currentRender','831834TkmjLE','div','OTHERS','mpn','getOwnPropertyDescriptor','_key','726202CysWWV','_offsetConfig','registerCommand','getCanvas','width','_menuManagerService','setConfig','0px','100%','forEach','9548352IFdFOY','appendChild','body','UNIVER_DOC','@univerjs-pro/docs-print','pages','25364470dppwQs','getContext','_injector','40FBNWex','_initMenus','16177DlGOzQ','position','_registerIcons','11eEznuq','onStarting','left','mainComponent','_initCommands','valid','packageName','Pages\x20are\x20not\x20found','makeForceDirty','_unitId','docs-print.menu','_addViewport','onafterprint','OPERATION','constructor','string','_engine','top','style','mergeMenu','page','_skeletonData','pageHeight','root','Render\x20is\x20not\x20found','setId','prototype','symbol','_root','get','min','__DocPrintRender__','print','_addComponent','UNIVER_DOCS_PRINT','_renderManagerService','pageWidth','4rzyKye','setContainer','removeChild','function','getDocumentStyle','add','prepare','translate','createElement','_univerInstanceService','container','dispose','_page','PRINTING_COMPONENT_COLLECT'];_0x1c68=function(){return _0x1066c2;};return _0x1c68();}let q=class extends _0x28b7b4{constructor(_0x5f51e6,_0xfb9712,_0x100fb0,_0x2e534b){const _0xb6c5b3=_0x5f0426;super(),this[_0xb6c5b3(0x10b)]=_0x5f51e6,this[_0xb6c5b3(0x100)]=_0xfb9712,this['_injector']=_0x100fb0,this[_0xb6c5b3(0x9f)]=_0x2e534b;}[_0x5f0426(0xfd)](_0x480770){const _0x2cdd2b=_0x5f0426;var _0x3c4105,_0x5b7475;let {ls:_0x48ad47,pbk:_0x408ec1}=(_0x3c4105=this[_0x2cdd2b(0x9f)][_0x2cdd2b(0xa7)](_0x3b9a21))==null?{}:_0x3c4105,_0x18ba6c=_0x1f47ff()?0x1/0x0:K(0x1,_0x48ad47,_0x408ec1)['page'];if(!this[_0x2cdd2b(0x10b)][_0x2cdd2b(0x114)](_0x480770,_0x359998[_0x2cdd2b(0xd2)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x4bacec=this['_renderManagerService'][_0x2cdd2b(0x97)](_0x480770);if(!_0x4bacec)throw Error(_0x2cdd2b(0xf5));let _0x1f1aee=(_0x5b7475=_0x4bacec[_0x2cdd2b(0x9b)](_0x23068a)[_0x2cdd2b(0xbd)]()[_0x2cdd2b(0xa9)]())==null?void 0x0:_0x5b7475[_0x2cdd2b(0xd4)];if(!_0x1f1aee)throw Error(_0x2cdd2b(0xe4));let _0x1c434f={'width':_0x1f1aee[0x0][_0x2cdd2b(0x101)],'height':_0x1f1aee[0x0][_0x2cdd2b(0xf3)]},_0x4cf996=_0x1f1aee[_0x2cdd2b(0xa4)],_0x379899=Math[_0x2cdd2b(0xfb)](_0x18ba6c,_0x4cf996),_0x47e14a=_0x4bacec[_0x2cdd2b(0xe0)][_0x2cdd2b(0xae)](),_0x20ddfa=document[_0x2cdd2b(0x10a)](_0x2cdd2b(0xc0));_0x20ddfa[_0x2cdd2b(0x111)]=_0x293db5;let _0x3f533e=Array(_0x379899)['fill'](null)['map']((_0x1aee13,_0x2e2d6e)=>{const _0x2da76c=_0x2cdd2b;let _0x57b3f3=new H(this[_0x2da76c(0xd7)],_0x2e2d6e,_0x480770,_0x47e14a);return _0x57b3f3[_0x2da76c(0x10c)][_0x2da76c(0x111)]=_0x16b41f,_0x57b3f3;});_0x3f533e[_0x2cdd2b(0xce)](_0x54726a=>{const _0x4adfe0=_0x2cdd2b;_0x20ddfa['appendChild'](_0x54726a[_0x4adfe0(0x10c)]),_0x54726a[_0x4adfe0(0x10c)][_0x4adfe0(0xd0)](_0x54726a[_0x4adfe0(0xf4)]),_0x54726a[_0x4adfe0(0x108)]();});let _0x2e139a=_0x4b5341(_0x1c434f[_0x2cdd2b(0xc9)],_0x1c434f['height'],_0x5e2432['Portrait']);return document[_0x2cdd2b(0xd1)][_0x2cdd2b(0xd0)](_0x2e139a),document[_0x2cdd2b(0xd1)]['appendChild'](_0x20ddfa),new Promise(_0x4eeba7=>{setTimeout(()=>{const _0x3e1269=_0xfe15;window['onbeforeprint']=()=>{const _0x3e1d24=_0xfe15;_0x3f533e[_0x3e1d24(0xce)](_0x4a99f5=>{_0x4a99f5['render']();});},window[_0x3e1269(0xe9)]=()=>{const _0x3231bc=_0x3e1269;_0x3f533e[_0x3231bc(0xce)](_0x3e9e4d=>{_0x3e9e4d['dispose']();}),document[_0x3231bc(0xd1)][_0x3231bc(0x104)](_0x20ddfa),document[_0x3231bc(0xd1)][_0x3231bc(0x104)](_0x2e139a),_0x4eeba7(!0x0);},window[_0x3e1269(0xfd)]();},0x64);});}};q=W([U(0x0,_0x32b06f),U(0x1,_0x5884d3),U(0x2,_0x255dcc(_0x4749cc)),U(0x3,_0x272f46)],q);const J={'id':_0x5f0426(0x116),'type':_0x3b7ff1[_0x5f0426(0xea)],'handler':async _0x1a268b=>{const _0x9ce3b1=_0x5f0426;let _0x5b82e5=_0x1a268b[_0x9ce3b1(0xfa)](_0x32b06f),_0x22e45b=_0x1a268b[_0x9ce3b1(0xfa)](q),_0x54e0a4=_0x1a268b[_0x9ce3b1(0xfa)](_0x5884d3),_0x271b4c=_0x1a268b['get'](_0x176670),_0x2d8092=_0x5b82e5[_0x9ce3b1(0xb1)](_0x359998['UNIVER_DOC']);if(!_0x2d8092)return!0x1;if(!_0x54e0a4[_0x9ce3b1(0x97)](_0x2d8092[_0x9ce3b1(0x9d)]()))throw Error(_0x9ce3b1(0xf5));let _0x217bdd=_0x2d8092[_0x9ce3b1(0x106)]()[_0x9ce3b1(0xa8)];return _0x217bdd!==_0x25cbd1[_0x9ce3b1(0xa5)]&&_0x271b4c[_0x9ce3b1(0xab)](_0x1243bc['id']),await _0x22e45b[_0x9ce3b1(0xfd)](_0x2d8092[_0x9ce3b1(0x9d)]()),_0x217bdd!==_0x25cbd1[_0x9ce3b1(0xa5)]&&_0x271b4c[_0x9ce3b1(0xab)](_0x1243bc['id']),!0x0;}},Y=_0x5f0426(0xff),X={};var ie=_0x5f0426(0xd3),ae='1.0.0-insiders.20260629-12f2e44';let Z=class extends _0x28b7b4{constructor(_0x5f1c63){const _0xaa80e6=_0x5f0426;super(),this[_0xaa80e6(0x91)]=_0x5f1c63,this[_0xaa80e6(0xdc)]();}[_0x5f0426(0xdc)](){const _0x4ea14e=_0x5f0426;this[_0x4ea14e(0xad)](this[_0x4ea14e(0x91)]['register']({'PrintIcon':_0x9f0a07}));}};Z=W([U(0x0,_0x255dcc(_0x58e1d6))],Z);function oe(_0x524f66){const _0x4c7b12=_0x5f0426;return{'id':J['id'],'type':_0x26875[_0x4c7b12(0xbc)],'title':_0x4c7b12(0xe7),'icon':_0x4c7b12(0x9e),'tooltip':_0x4c7b12(0xe7),'hidden$':_0x3231d4(_0x524f66,_0x359998[_0x4c7b12(0xd2)])};}const se={[_0x57d65e[_0x5f0426(0xc1)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x28b7b4{constructor(_0x36db9f,_0x4eb89a){const _0x222ad6=_0x5f0426;super(),this[_0x222ad6(0x93)]=_0x36db9f,this[_0x222ad6(0xca)]=_0x4eb89a,this[_0x222ad6(0xd9)](),this[_0x222ad6(0xe1)]();}[_0x5f0426(0xd9)](){const _0x655c6a=_0x5f0426;this[_0x655c6a(0xca)][_0x655c6a(0xf0)](se);}[_0x5f0426(0xe1)](){const _0x10b4b9=_0x5f0426;this[_0x10b4b9(0xad)](this[_0x10b4b9(0x93)][_0x10b4b9(0xc7)](J));}};Q=W([U(0x0,_0x176670),U(0x1,_0x52a0f8)],Q);let $=class extends _0x489db6{constructor(_0x3a20f4=X,_0x4740dd,_0x5c3e34){const _0xda0a64=_0x5f0426;super(),this[_0xda0a64(0xac)]=_0x3a20f4,this['_injector']=_0x4740dd,this[_0xda0a64(0x9f)]=_0x5c3e34;let {menu:_0x1001bd,..._0x3b2799}=_0x68aeaa({},X,this[_0xda0a64(0xac)]);_0x1001bd&&this['_configService'][_0xda0a64(0xcb)](_0xda0a64(0xb5),_0x1001bd,{'merge':!0x0}),this[_0xda0a64(0x9f)][_0xda0a64(0xcb)](Y,_0x3b2799);}[_0x5f0426(0xde)](){const _0x55e5ac=_0x5f0426;this['_injector'][_0x55e5ac(0x107)]([Z]),this['_injector'][_0x55e5ac(0xfa)](Z),_0x848cc(this[_0x55e5ac(0xd7)],[[q],[Q]]);}['onReady'](){const _0x1762ac=_0x5f0426;this[_0x1762ac(0xd7)][_0x1762ac(0xfa)](Q);}};V($,_0x5f0426(0xa3),_0x5f0426(0xff)),V($,_0x5f0426(0xe3),ie),V($,_0x5f0426(0xa1),ae),V($,_0x5f0426(0xaf),_0x359998[_0x5f0426(0xd2)]),$=W([_0x5c06a6(_0x2c0aee,_0x150c09),U(0x1,_0x255dcc(_0x4749cc)),U(0x2,_0x272f46)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3a96(_0x4238ae,_0x268e2a){_0x4238ae=_0x4238ae-0x9d;const _0x58d74c=_0x58d7();let _0x3a965f=_0x58d74c[_0x4238ae];return _0x3a965f;}const _0x337a37=_0x3a96;(function(_0x24fdcd,_0x3f5fed){const _0x2ac3f1=_0x3a96,_0x169225=_0x24fdcd();while(!![]){try{const _0x443636=parseInt(_0x2ac3f1(0xa2))/0x1+-parseInt(_0x2ac3f1(0x9d))/0x2+parseInt(_0x2ac3f1(0xa6))/0x3+parseInt(_0x2ac3f1(0x9f))/0x4+-parseInt(_0x2ac3f1(0x9e))/0x5+parseInt(_0x2ac3f1(0xa3))/0x6*(-parseInt(_0x2ac3f1(0xa4))/0x7)+-parseInt(_0x2ac3f1(0xa1))/0x8*(-parseInt(_0x2ac3f1(0xa5))/0x9);if(_0x443636===_0x3f5fed)break;else _0x169225['push'](_0x169225['shift']());}catch(_0x1a6714){_0x169225['push'](_0x169225['shift']());}}}(_0x58d7,0xde519));const e={'docs-print':{'menu':_0x337a37(0xa0)}};function _0x58d7(){const _0x5c986b=['42084Orijlf','3205851XphydB','2363992iVfOJU','8165415KEYxPy','1550840SGaWaL','طباعة','2800NUepew','828079FeBLpz','30HoDXoL','273434jkCAAu'];_0x58d7=function(){return _0x5c986b;};return _0x58d7();}export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x32a1(_0x26d218,_0x53b008){_0x26d218=_0x26d218-0xd4;const _0x40a49e=_0x40a4();let _0x32a12b=_0x40a49e[_0x26d218];return _0x32a12b;}const _0x5d26ef=_0x32a1;(function(_0x5b0aa9,_0x9e4f6d){const _0xd9af12=_0x32a1,_0x280558=_0x5b0aa9();while(!![]){try{const _0x451ca1=-parseInt(_0xd9af12(0xd7))/0x1+-parseInt(_0xd9af12(0xd8))/0x2*(parseInt(_0xd9af12(0xdb))/0x3)+parseInt(_0xd9af12(0xdd))/0x4*(-parseInt(_0xd9af12(0xd4))/0x5)+parseInt(_0xd9af12(0xd9))/0x6*(-parseInt(_0xd9af12(0xd6))/0x7)+-parseInt(_0xd9af12(0xda))/0x8*(-parseInt(_0xd9af12(0xdf))/0x9)+-parseInt(_0xd9af12(0xdc))/0xa*(parseInt(_0xd9af12(0xde))/0xb)+parseInt(_0xd9af12(0xe0))/0xc;if(_0x451ca1===_0x9e4f6d)break;else _0x280558['push'](_0x280558['shift']());}catch(_0x1b3104){_0x280558['push'](_0x280558['shift']());}}}(_0x40a4,0xcb518));const e={'docs-print':{'menu':_0x5d26ef(0xd5)}};export{e as default};function _0x40a4(){const _0x65c0da=['43901268NDXaWG','5ccpRxO','Imprimir','49NMIAvh','214211ZHzwvk','4XboZVs','635658dfRglD','8RvZbPC','15045yezNCW','20ZpblWR','1135292Bppgps','8816159EBTKMw','242604KWwkvH'];_0x40a4=function(){return _0x65c0da;};return _0x40a4();}
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x48a3c8,_0x3a9d3c){const _0x2288d0=_0x5fdf,_0x5449b2=_0x48a3c8();while(!![]){try{const _0x3944b4=parseInt(_0x2288d0(0xd4))/0x1+parseInt(_0x2288d0(0xd2))/0x2+parseInt(_0x2288d0(0xd7))/0x3+-parseInt(_0x2288d0(0xd6))/0x4+-parseInt(_0x2288d0(0xd9))/0x5*(-parseInt(_0x2288d0(0xd3))/0x6)+parseInt(_0x2288d0(0xd8))/0x7+-parseInt(_0x2288d0(0xd5))/0x8;if(_0x3944b4===_0x3a9d3c)break;else _0x5449b2['push'](_0x5449b2['shift']());}catch(_0x3276f4){_0x5449b2['push'](_0x5449b2['shift']());}}}(_0x16f7,0x649a0));function _0x5fdf(_0xe5dd0a,_0x329238){_0xe5dd0a=_0xe5dd0a-0xd2;const _0x16f799=_0x16f7();let _0x5fdf18=_0x16f799[_0xe5dd0a];return _0x5fdf18;}const e={'docs-print':{'menu':'Drucken'}};export{e as default};function _0x16f7(){const _0x181a1b=['3176789KEHXCF','13625jrjXXr','587022IShEyQ','1530TtibEq','418919cMJskb','10600704kWmNEP','2885612abjlQd','1792269qPXoKP'];_0x16f7=function(){return _0x181a1b;};return _0x16f7();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x49cc(){const _0x7cc322=['3261807TWpbzN','16108BxweDx','5YrniFT','1040352ujRsyz','97589ZrvPxE','1117440tIGfKb','300GmUGVW','6kdiTgI','2367799mobsAi','192203ilzDLw','Print','230ZhkaLj'];_0x49cc=function(){return _0x7cc322;};return _0x49cc();}function _0x6024(_0x420223,_0x4910d6){_0x420223=_0x420223-0x1b6;const _0x49cccd=_0x49cc();let _0x602481=_0x49cccd[_0x420223];return _0x602481;}const _0xd8d8e3=_0x6024;(function(_0x2e975a,_0x1a78f6){const _0x3c11d6=_0x6024,_0x2c1ba3=_0x2e975a();while(!![]){try{const _0xc3a9cc=-parseInt(_0x3c11d6(0x1b8))/0x1*(-parseInt(_0x3c11d6(0x1bb))/0x2)+parseInt(_0x3c11d6(0x1ba))/0x3*(parseInt(_0x3c11d6(0x1c1))/0x4)+-parseInt(_0x3c11d6(0x1b6))/0x5*(parseInt(_0x3c11d6(0x1b9))/0x6)+-parseInt(_0x3c11d6(0x1bc))/0x7+parseInt(_0x3c11d6(0x1b7))/0x8+parseInt(_0x3c11d6(0x1c0))/0x9+parseInt(_0x3c11d6(0x1bf))/0xa*(-parseInt(_0x3c11d6(0x1bd))/0xb);if(_0xc3a9cc===_0x1a78f6)break;else _0x2c1ba3['push'](_0x2c1ba3['shift']());}catch(_0x59ef13){_0x2c1ba3['push'](_0x2c1ba3['shift']());}}}(_0x49cc,0x3fdb6));const e={'docs-print':{'menu':_0xd8d8e3(0x1be)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4e60(_0xfe245d,_0x3ec996){_0xfe245d=_0xfe245d-0x15b;const _0xeaf6c0=_0xeaf6();let _0x4e605b=_0xeaf6c0[_0xfe245d];return _0x4e605b;}const _0x3445e3=_0x4e60;function _0xeaf6(){const _0x5be04e=['12804525OYhrCa','395548nRHIHL','870172LpmJhi','835656qkjdvR','2120vmikNR','10KQujrr','Imprimir','33691wQNPGO','11284933AjXUrK','1262022QnbNMQ','25XrtFcV','3ISkVFy','42nMLvwK'];_0xeaf6=function(){return _0x5be04e;};return _0xeaf6();}(function(_0x58e1d6,_0x330a1f){const _0x4a1492=_0x4e60,_0x4cade9=_0x58e1d6();while(!![]){try{const _0x22a3d6=-parseInt(_0x4a1492(0x166))/0x1*(parseInt(_0x4a1492(0x15d))/0x2)+-parseInt(_0x4a1492(0x167))/0x3*(-parseInt(_0x4a1492(0x15c))/0x4)+-parseInt(_0x4a1492(0x165))/0x5*(parseInt(_0x4a1492(0x164))/0x6)+parseInt(_0x4a1492(0x162))/0x7*(parseInt(_0x4a1492(0x15f))/0x8)+parseInt(_0x4a1492(0x15b))/0x9+-parseInt(_0x4a1492(0x160))/0xa*(parseInt(_0x4a1492(0x163))/0xb)+parseInt(_0x4a1492(0x15e))/0xc;if(_0x22a3d6===_0x330a1f)break;else _0x4cade9['push'](_0x4cade9['shift']());}catch(_0x20f5a8){_0x4cade9['push'](_0x4cade9['shift']());}}}(_0xeaf6,0xbbd64));const e={'docs-print':{'menu':_0x3445e3(0x161)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x365265=_0x341d;function _0x341d(_0x3002ce,_0x56756e){_0x3002ce=_0x3002ce-0x168;const _0x51e381=_0x51e3();let _0x341d97=_0x51e381[_0x3002ce];return _0x341d97;}(function(_0x33c086,_0x5bb870){const _0x1b7618=_0x341d,_0x47a360=_0x33c086();while(!![]){try{const _0x2043f2=parseInt(_0x1b7618(0x169))/0x1+parseInt(_0x1b7618(0x173))/0x2*(parseInt(_0x1b7618(0x16e))/0x3)+parseInt(_0x1b7618(0x16a))/0x4*(-parseInt(_0x1b7618(0x168))/0x5)+parseInt(_0x1b7618(0x16b))/0x6*(parseInt(_0x1b7618(0x16d))/0x7)+parseInt(_0x1b7618(0x172))/0x8*(parseInt(_0x1b7618(0x171))/0x9)+parseInt(_0x1b7618(0x16f))/0xa*(-parseInt(_0x1b7618(0x170))/0xb)+-parseInt(_0x1b7618(0x16c))/0xc;if(_0x2043f2===_0x5bb870)break;else _0x47a360['push'](_0x47a360['shift']());}catch(_0x26c7ca){_0x47a360['push'](_0x47a360['shift']());}}}(_0x51e3,0x5072c));function _0x51e3(){const _0x3eff24=['383810EkgYgy','2430IweSxo','470huUWMA','14509yXKquW','837KxFNsa','46048qAGceJ','194dZaLkA','چاپ','28660JXZtNh','478172WfKwJe','96vQYfAI','24kmghxo','9387516RmEDry'];_0x51e3=function(){return _0x3eff24;};return _0x51e3();}const e={'docs-print':{'menu':_0x365265(0x174)}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x38a326,_0x2eaf13){const _0x397b11=_0x554a,_0x2b7fa7=_0x38a326();while(!![]){try{const _0x1a80e1=parseInt(_0x397b11(0xf8))/0x1+-parseInt(_0x397b11(0xff))/0x2+-parseInt(_0x397b11(0xfd))/0x3+-parseInt(_0x397b11(0xfb))/0x4*(parseInt(_0x397b11(0xfe))/0x5)+-parseInt(_0x397b11(0x100))/0x6+-parseInt(_0x397b11(0xfc))/0x7+parseInt(_0x397b11(0xfa))/0x8*(parseInt(_0x397b11(0xf9))/0x9);if(_0x1a80e1===_0x2eaf13)break;else _0x2b7fa7['push'](_0x2b7fa7['shift']());}catch(_0x5aa805){_0x2b7fa7['push'](_0x2b7fa7['shift']());}}}(_0x599d,0x27110));function _0x554a(_0x4a6f0d,_0x331372){_0x4a6f0d=_0x4a6f0d-0xf8;const _0x599d36=_0x599d();let _0x554af9=_0x599d36[_0x4a6f0d];return _0x554af9;}const e={'docs-print':{'menu':'Imprimer'}};function _0x599d(){const _0x1b0ae6=['23055hrjHef','593688Txxhnw','1043358IUDrId','244524XvIayk','9ivUutU','5414648NbsmLi','8XDWjGN','429968ZSRcdf','659868nDpNEh'];_0x599d=function(){return _0x1b0ae6;};return _0x599d();}export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3f41(_0x5089ba,_0x2aa490){_0x5089ba=_0x5089ba-0xf4;const _0x18b34e=_0x18b3();let _0x3f41b8=_0x18b34e[_0x5089ba];return _0x3f41b8;}(function(_0x3fa278,_0x4d7bbe){const _0x35d9ea=_0x3f41,_0x5a8746=_0x3fa278();while(!![]){try{const _0x1e01da=parseInt(_0x35d9ea(0xfc))/0x1+-parseInt(_0x35d9ea(0xf6))/0x2+-parseInt(_0x35d9ea(0xfa))/0x3*(-parseInt(_0x35d9ea(0xf4))/0x4)+-parseInt(_0x35d9ea(0xfb))/0x5+-parseInt(_0x35d9ea(0xfe))/0x6*(-parseInt(_0x35d9ea(0xfd))/0x7)+parseInt(_0x35d9ea(0xf5))/0x8*(parseInt(_0x35d9ea(0xf9))/0x9)+parseInt(_0x35d9ea(0xf7))/0xa*(parseInt(_0x35d9ea(0xf8))/0xb);if(_0x1e01da===_0x4d7bbe)break;else _0x5a8746['push'](_0x5a8746['shift']());}catch(_0x5535f2){_0x5a8746['push'](_0x5a8746['shift']());}}}(_0x18b3,0xc5ebc));const e={'docs-print':{'menu':'Cetak'}};export{e as default};function _0x18b3(){const _0x2cc440=['47745HaZlPS','483OtTncv','6198eyjcRE','5756wJiwUg','11576cXyfjB','2819620PYbDMw','10kLEENv','6061198DTupyg','7749XNhdVR','1623DeGlgu','2369560wBNzyR'];_0x18b3=function(){return _0x2cc440;};return _0x18b3();}
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3f10(_0x13c689,_0x18bca2){_0x13c689=_0x13c689-0x17e;const _0x9d9ae0=_0x9d9a();let _0x3f10d7=_0x9d9ae0[_0x13c689];return _0x3f10d7;}const _0x3fa829=_0x3f10;(function(_0x3255e4,_0x3a82c6){const _0xd37b5a=_0x3f10,_0x13e2e3=_0x3255e4();while(!![]){try{const _0x4587f7=-parseInt(_0xd37b5a(0x188))/0x1*(-parseInt(_0xd37b5a(0x181))/0x2)+parseInt(_0xd37b5a(0x187))/0x3+parseInt(_0xd37b5a(0x180))/0x4+parseInt(_0xd37b5a(0x186))/0x5*(parseInt(_0xd37b5a(0x17e))/0x6)+-parseInt(_0xd37b5a(0x183))/0x7+parseInt(_0xd37b5a(0x185))/0x8*(-parseInt(_0xd37b5a(0x17f))/0x9)+-parseInt(_0xd37b5a(0x184))/0xa;if(_0x4587f7===_0x3a82c6)break;else _0x13e2e3['push'](_0x13e2e3['shift']());}catch(_0x2fe958){_0x13e2e3['push'](_0x13e2e3['shift']());}}}(_0x9d9a,0x7140e));const e={'docs-print':{'menu':_0x3fa829(0x182)}};export{e as default};function _0x9d9a(){const _0x52c074=['1014321oMkOxN','1XSKACU','3530526hfuepm','2043kJLJpN','1183588svYMrr','1181258BGWVZa','Stampa','3152205YBffct','6155570WpCKDN','9984wYWkcr','5YmEebj'];_0x9d9a=function(){return _0x52c074;};return _0x9d9a();}
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x24e9(_0x5bdc52,_0x396c8e){_0x5bdc52=_0x5bdc52-0x196;const _0x191652=_0x1916();let _0x24e921=_0x191652[_0x5bdc52];return _0x24e921;}(function(_0x2e55e1,_0x334b6e){const _0x1bbc10=_0x24e9,_0x14551f=_0x2e55e1();while(!![]){try{const _0x5ba148=-parseInt(_0x1bbc10(0x19b))/0x1*(parseInt(_0x1bbc10(0x1a0))/0x2)+parseInt(_0x1bbc10(0x19e))/0x3+parseInt(_0x1bbc10(0x19f))/0x4*(parseInt(_0x1bbc10(0x19d))/0x5)+-parseInt(_0x1bbc10(0x196))/0x6*(-parseInt(_0x1bbc10(0x19a))/0x7)+parseInt(_0x1bbc10(0x198))/0x8+parseInt(_0x1bbc10(0x197))/0x9+-parseInt(_0x1bbc10(0x19c))/0xa*(parseInt(_0x1bbc10(0x199))/0xb);if(_0x5ba148===_0x334b6e)break;else _0x14551f['push'](_0x14551f['shift']());}catch(_0x417f65){_0x14551f['push'](_0x14551f['shift']());}}}(_0x1916,0x68025));const e={'docs-print':{'menu':'印刷'}};function _0x1916(){const _0x6adcff=['3475vTwtQQ','215250olZICM','3424CHsxuo','548UtqLgm','12720rDTAsL','7078815AcUiqL','974120KNxKwO','114301JRHFjz','49KlHvfs','1479svKYbR','730pIcgbp'];_0x1916=function(){return _0x6adcff;};return _0x1916();}export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xe3ccfa,_0x59038b){const _0x1a947a=_0x3ac6,_0x30ab6f=_0xe3ccfa();while(!![]){try{const _0x154c35=-parseInt(_0x1a947a(0xcb))/0x1+-parseInt(_0x1a947a(0xca))/0x2*(parseInt(_0x1a947a(0xcd))/0x3)+parseInt(_0x1a947a(0xcc))/0x4+parseInt(_0x1a947a(0xc8))/0x5+parseInt(_0x1a947a(0xc7))/0x6*(-parseInt(_0x1a947a(0xc5))/0x7)+-parseInt(_0x1a947a(0xc4))/0x8+parseInt(_0x1a947a(0xc6))/0x9*(parseInt(_0x1a947a(0xc9))/0xa);if(_0x154c35===_0x59038b)break;else _0x30ab6f['push'](_0x30ab6f['shift']());}catch(_0x26b7f5){_0x30ab6f['push'](_0x30ab6f['shift']());}}}(_0x44ab,0xc2797));function _0x44ab(){const _0x503a8a=['2riTPZQ','537132dPBleU','5116348whXxEO','1565412nwJDIc','8449336XnZPFs','224MuVGWK','63idkbZl','13374PtXJDo','2699440YvBlyw','1662890McQzmN'];_0x44ab=function(){return _0x503a8a;};return _0x44ab();}function _0x3ac6(_0x2ec2e2,_0x272281){_0x2ec2e2=_0x2ec2e2-0xc4;const _0x44ab9d=_0x44ab();let _0x3ac608=_0x44ab9d[_0x2ec2e2];return _0x3ac608;}const e={'docs-print':{'menu':'인쇄'}};export{e as default};
|