@univerjs-pro/docs-print 0.25.0-insiders.20260623-012b5a8 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/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/types/controllers/{ui.controller.d.ts → docs-print-ui.controller.d.ts} +4 -2
- package/lib/types/controllers/menu.d.ts +1 -2
- package/lib/types/index.d.ts +2 -2
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/doc-print.service.d.ts +3 -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 +12 -12
- package/lib/types/controllers/components.controller.d.ts +0 -7
- package/lib/types/locale/types.d.ts +0 -3
- /package/lib/types/{config/config.d.ts → controllers/config.schema.d.ts} +0 -0
- /package/lib/types/{menu/schema.d.ts → controllers/menu.schema.d.ts} +0 -0
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x16ab05=_0x1de9;(function(_0x18be60,_0x30eb59){const _0x52a450=_0x1de9,_0x51bd3b=_0x18be60();while(!![]){try{const _0x375d58=-parseInt(_0x52a450(0x252))/0x1*(parseInt(_0x52a450(0x241))/0x2)+parseInt(_0x52a450(0x249))/0x3+parseInt(_0x52a450(0x1ea))/0x4+-parseInt(_0x52a450(0x299))/0x5*(parseInt(_0x52a450(0x25a))/0x6)+parseInt(_0x52a450(0x24c))/0x7*(parseInt(_0x52a450(0x1f5))/0x8)+-parseInt(_0x52a450(0x244))/0x9*(parseInt(_0x52a450(0x1f1))/0xa)+parseInt(_0x52a450(0x278))/0xb;if(_0x375d58===_0x30eb59)break;else _0x51bd3b['push'](_0x51bd3b['shift']());}catch(_0x20d8e6){_0x51bd3b['push'](_0x51bd3b['shift']());}}}(_0x2edb,0x89977),Object[_0x16ab05(0x1fc)](exports,Symbol['toStringTag'],{'value':_0x16ab05(0x201)}));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 _0x1de9(_0xed869f,_0xf7abc8){_0xed869f=_0xed869f-0x1e6;const _0x2edb40=_0x2edb();let _0x1de992=_0x2edb40[_0xed869f];return _0x1de992;}function l(_0x544f35){'@babel/helpers - typeof';const _0x1bf523=_0x16ab05;return l=typeof Symbol==_0x1bf523(0x22e)&&typeof Symbol[_0x1bf523(0x28b)]==_0x1bf523(0x1f4)?function(_0x2a389c){return typeof _0x2a389c;}:function(_0x484446){const _0x31232e=_0x1bf523;return _0x484446&&typeof Symbol==_0x31232e(0x22e)&&_0x484446['constructor']===Symbol&&_0x484446!==Symbol[_0x31232e(0x282)]?_0x31232e(0x1f4):typeof _0x484446;},l(_0x544f35);}function u(_0x130e20,_0x52136c){const _0x47df67=_0x16ab05;if(l(_0x130e20)!=_0x47df67(0x263)||!_0x130e20)return _0x130e20;var _0x5396d2=_0x130e20[Symbol[_0x47df67(0x253)]];if(_0x5396d2!==void 0x0){var _0x2f9959=_0x5396d2[_0x47df67(0x224)](_0x130e20,_0x52136c||'default');if(l(_0x2f9959)!=_0x47df67(0x263))return _0x2f9959;throw TypeError(_0x47df67(0x1e9));}return(_0x52136c===_0x47df67(0x268)?String:Number)(_0x130e20);}function _0x2edb(){const _0x1a9191=['_key','PRINT_CANVAS_CLASS','Scene','TRADITIONAL','DocPrintInterceptorService','page','PRINTING_DOM_COLLECT','_container','render','PrintDirection','packageName','dispose','timeValid','RibbonStartGroup','register','getOwnPropertyDescriptor','_univerInstanceService','UNIVER_DOCS_PRINT','_unitId','call','with','Portrait','fetchThroughInterceptors','IconManager','UniverLicensePlugin','_currentRender','UniverNetworkPlugin','MenuItemType','map','function','style','version','container','mpn','disposeWithMe','DocumentFlavor','Engine','0.25.0-insiders.20260623-012b5a8','getSkeletonData','0px','forEach','isPro','onafterprint','setConfig','OPERATION','body','Pages\x20are\x20not\x20found','100%','2keRZEb','Printing','_root','18JaDosx','Inject','_skeleton','_page','PrintIcon','1181391HAOvwL','_iconManager','_renderManagerService','581SruqKj','makeDirty','createPrintStyle','DocPrintOperation','absolute','valid','468284UVollH','toPrimitive','IRenderManagerService','getUnit','_config','IUniverInstanceService','_initMenus','setId','5484WcffMN','right','_skeletonData','interceptor','getContext','Injector','OTHERS','pluginName','UniverDocsPrintPlugin','object','CommandType','VIEW_MAIN','Documents','pageWidth','string','onReady','pageHeight','getOffsetConfig','prepare','DocSkeletonManagerService','documentFlavor','removeChild','__DocPrintRender__','_initRenderer','menu','length','CanvasRenderMode','mergeMenu','setContainer','DOCS_PRINT_PLUGIN_CONFIG_KEY','11663982nRLbgz','Disposable','makeForceDirty','PRINTING_COMPONENT_COLLECT','_calculateLayout','UniverInstanceType','_addComponent','print','PRINT_CONTAINER_CLASS','add','prototype','_paperSize','save','restore','left','merge','createElement','getDocumentStyle','width','iterator','getSkeleton','BUTTON','root','getLicenseInfo','getCanvas','IConfigService','generateRandomId','LS_CONFIG_KEY','getRenderById','_offsetConfig','Plugin','get','Render\x20is\x20not\x20found','2430wDOrCg','syncExecuteCommand','DocumentDataModel\x20is\x20not\x20found','_effects','onbeforeprint','_scene','parseInt','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','644108megywR','_injector','IMenuManagerService','top','position','onStarting','ICommandService','735870XtWtMj','message','mainComponent','symbol','776lOHPBh','_documents','docs-print.menu','_initCommands','_commandService','getDocFeatureLimit','getMenuHiddenObservable','defineProperty','UNIVER_DOC','_viewMain','translate','registerCommand','Module','div','isFeatureAuthorizedWithinTime','Viewport','_engine','isLocalCheck','height','getUnitId','getConfig','registerDependencies','appendChild','className','_menuManagerService','_configService','_addViewport','min'];_0x2edb=function(){return _0x1a9191;};return _0x2edb();}function d(_0x454bc7){const _0x171197=_0x16ab05;var _0x432174=u(_0x454bc7,_0x171197(0x268));return l(_0x432174)==_0x171197(0x1f4)?_0x432174:_0x432174+'';}function f(_0x5618e3,_0x346894,_0x4e915f){const _0x2ff927=_0x16ab05;return(_0x346894=d(_0x346894))in _0x5618e3?Object[_0x2ff927(0x1fc)](_0x5618e3,_0x346894,{'value':_0x4e915f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5618e3[_0x346894]=_0x4e915f,_0x5618e3;}var p=class extends e[_0x16ab05(0x279)]{get[_0x16ab05(0x231)](){const _0x4bf6f4=_0x16ab05;return this[_0x4bf6f4(0x218)];}get[_0x16ab05(0x28e)](){const _0x52272f=_0x16ab05;return this[_0x52272f(0x243)];}get[_0x16ab05(0x22a)](){const _0x4e88d8=_0x16ab05;let _0x1fd322=this['_injector']['get'](n[_0x4e88d8(0x254)])[_0x4e88d8(0x294)](this[_0x4e88d8(0x223)]);if(!_0x1fd322)throw Error(_0x4e88d8(0x298));return _0x1fd322;}get[_0x16ab05(0x246)](){const _0x544b3c=_0x16ab05;return this['_currentRender'][_0x544b3c(0x225)](a['DocSkeletonManagerService'])[_0x544b3c(0x28c)]();}get[_0x16ab05(0x25c)](){const _0x4261fa=_0x16ab05;let _0xd17950=this['_skeleton'][_0x4261fa(0x237)]();if(!_0xd17950)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0xd17950;}get[_0x16ab05(0x283)](){const _0x5f375e=_0x16ab05;let _0x1b02b7=this[_0x5f375e(0x25c)]['pages'][0x0];return{'width':_0x1b02b7[_0x5f375e(0x267)],'height':_0x1b02b7[_0x5f375e(0x26a)]};}constructor(_0x35428a,_0x1b6582,_0x4b6fa8,_0x57eff0){const _0x12b0df=_0x16ab05;super(),this[_0x12b0df(0x1eb)]=_0x35428a,this[_0x12b0df(0x247)]=_0x1b6582,this['_unitId']=_0x4b6fa8,this[_0x12b0df(0x295)]=_0x57eff0,f(this,_0x12b0df(0x218),document[_0x12b0df(0x288)](_0x12b0df(0x202))),f(this,_0x12b0df(0x243),document[_0x12b0df(0x288)](_0x12b0df(0x202))),f(this,_0x12b0df(0x205),void 0x0),f(this,_0x12b0df(0x1e7),void 0x0),f(this,_0x12b0df(0x211),void 0x0),f(this,_0x12b0df(0x1f6),void 0x0),f(this,_0x12b0df(0x1fe),void 0x0),f(this,_0x12b0df(0x29c),new e['DisposableCollection']()),this[_0x12b0df(0x211)]=(0x0,e['generateRandomId'])(0x4),this[_0x12b0df(0x271)](),this[_0x12b0df(0x233)]({'dispose':()=>{const _0xee87cc=_0x12b0df;this[_0xee87cc(0x205)][_0xee87cc(0x21c)](),this[_0xee87cc(0x1e7)][_0xee87cc(0x21c)](),this[_0xee87cc(0x29c)][_0xee87cc(0x21c)]();}});}[_0x16ab05(0x27c)](){const _0x5042ee=_0x16ab05;let {docsTop:_0x12f59a,docsLeft:_0x32e41e}=this[_0x5042ee(0x1f6)][_0x5042ee(0x26b)](),_0x5308f7=this[_0x5042ee(0x283)][_0x5042ee(0x207)],_0x564918=this[_0x5042ee(0x283)]['width'];return{'top':_0x12f59a+(_0x12f59a+_0x5308f7)*this[_0x5042ee(0x247)],'bottom':_0x12f59a+(_0x12f59a+_0x5308f7)*(this[_0x5042ee(0x247)]+0x1),'left':_0x32e41e,'right':_0x32e41e+_0x564918};}[_0x16ab05(0x271)](){const _0x2e4ff2=_0x16ab05;this[_0x2e4ff2(0x205)]=new n[(_0x2e4ff2(0x235))]('',{'elementWidth':this['_paperSize'][_0x2e4ff2(0x28a)],'elementHeight':this[_0x2e4ff2(0x283)]['height'],'dpr':0x1,'renderMode':n[_0x2e4ff2(0x274)][_0x2e4ff2(0x242)]}),this[_0x2e4ff2(0x1e7)]=new n[(_0x2e4ff2(0x213))](this['_key'],this[_0x2e4ff2(0x205)]),this['_scene']['scale'](0x1,0x1),this[_0x2e4ff2(0x205)][_0x2e4ff2(0x276)](this[_0x2e4ff2(0x218)],!0x1),this[_0x2e4ff2(0x205)]['getCanvas']()[_0x2e4ff2(0x25e)]()[_0x2e4ff2(0x259)](this['_key']+'_'+(0x0,e[_0x2e4ff2(0x292)])(0x4)),this[_0x2e4ff2(0x27e)](),this[_0x2e4ff2(0x20f)]();}[_0x16ab05(0x27e)](){const _0x30d0bb=_0x16ab05;let {pageMarginLeft:_0x5917ea,pageMarginTop:_0x2b4d5e,docsLeft:_0x1fef97,docsTop:_0x58e5eb}=this[_0x30d0bb(0x295)],_0x1889ac={'pageMarginLeft':_0x5917ea,'pageMarginTop':_0x2b4d5e},_0x286c24=new n[(_0x30d0bb(0x266))](_0x30d0bb(0x270),this['_skeleton'],_0x1889ac);_0x286c24[_0x30d0bb(0x1ff)](_0x1fef97,_0x58e5eb),this[_0x30d0bb(0x1e7)]['addObject'](_0x286c24),this[_0x30d0bb(0x1f6)]=_0x286c24;let _0x48a224=this[_0x30d0bb(0x1eb)][_0x30d0bb(0x297)](t[_0x30d0bb(0x215)]);_0x48a224[_0x30d0bb(0x25d)][_0x30d0bb(0x227)](_0x48a224['interceptor']['getInterceptPoints']()[_0x30d0bb(0x27b)])(void 0x0,{'unitId':this[_0x30d0bb(0x223)],'scene':this[_0x30d0bb(0x1e7)],'engine':this['_engine'],'root':this[_0x30d0bb(0x243)],'documents':this[_0x30d0bb(0x1f6)],'skeleton':this[_0x30d0bb(0x246)]});}[_0x16ab05(0x20f)](){const _0x937f0b=_0x16ab05;this[_0x937f0b(0x1fe)]=new n[(_0x937f0b(0x204))](t['VIEWPORT_KEY'][_0x937f0b(0x265)],this[_0x937f0b(0x1e7)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x16ab05(0x26c)](){const _0x39cd9c=_0x16ab05;let _0x1e647c=this[_0x39cd9c(0x27c)]();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x1e647c[_0x39cd9c(0x286)],'viewportScrollY':_0x1e647c[_0x39cd9c(0x1ed)]}),this[_0x39cd9c(0x243)][_0x39cd9c(0x22f)][_0x39cd9c(0x1ee)]=_0x39cd9c(0x250),this['_root'][_0x39cd9c(0x22f)][_0x39cd9c(0x1ed)]=_0x39cd9c(0x238),this['_root'][_0x39cd9c(0x22f)]['left']='0px',this[_0x39cd9c(0x243)]['style'][_0x39cd9c(0x28a)]=_0x39cd9c(0x240),this[_0x39cd9c(0x243)]['style']['height']=_0x39cd9c(0x240),this[_0x39cd9c(0x29c)]=new e['DisposableCollection']();let _0x3f0837=this['_injector'][_0x39cd9c(0x297)](t['DocPrintInterceptorService']);_0x3f0837[_0x39cd9c(0x25d)][_0x39cd9c(0x227)](_0x3f0837[_0x39cd9c(0x25d)]['getInterceptPoints']()[_0x39cd9c(0x217)])(this[_0x39cd9c(0x29c)],{'unitId':this[_0x39cd9c(0x223)],'scene':this[_0x39cd9c(0x1e7)],'engine':this[_0x39cd9c(0x205)],'root':this[_0x39cd9c(0x243)],'skeleton':this[_0x39cd9c(0x246)],'offset':{'x':_0x1e647c[_0x39cd9c(0x286)],'y':_0x1e647c['top']},'bound':{'top':_0x1e647c[_0x39cd9c(0x1ed)],'left':_0x1e647c[_0x39cd9c(0x286)],'right':_0x1e647c[_0x39cd9c(0x25b)],'bottom':_0x1e647c['bottom']}});}[_0x16ab05(0x219)](){const _0x39db07=_0x16ab05;let _0x224902=this['_engine'][_0x39db07(0x290)]()[_0x39db07(0x25e)]();this[_0x39db07(0x1f6)][_0x39db07(0x27a)](),this[_0x39db07(0x1e7)][_0x39db07(0x24d)](),_0x224902[_0x39db07(0x284)](),this[_0x39db07(0x1e7)][_0x39db07(0x219)](),_0x224902[_0x39db07(0x285)]();}};function m(_0x5d4dc8,_0x56dde4){return function(_0x3fa50f,_0x4d3d8f){_0x56dde4(_0x3fa50f,_0x4d3d8f,_0x5d4dc8);};}function h(_0x26983a,_0x55c87d,_0x1840d4,_0x3d8c76){const _0x2021ff=_0x16ab05;var _0x3a2cb4=arguments[_0x2021ff(0x273)],_0x23ead6=_0x3a2cb4<0x3?_0x55c87d:_0x3d8c76===null?_0x3d8c76=Object[_0x2021ff(0x220)](_0x55c87d,_0x1840d4):_0x3d8c76,_0xb9e0aa;if(typeof Reflect==_0x2021ff(0x263)&&typeof Reflect['decorate']==_0x2021ff(0x22e))_0x23ead6=Reflect['decorate'](_0x26983a,_0x55c87d,_0x1840d4,_0x3d8c76);else{for(var _0x551c3c=_0x26983a[_0x2021ff(0x273)]-0x1;_0x551c3c>=0x0;_0x551c3c--)(_0xb9e0aa=_0x26983a[_0x551c3c])&&(_0x23ead6=(_0x3a2cb4<0x3?_0xb9e0aa(_0x23ead6):_0x3a2cb4>0x3?_0xb9e0aa(_0x55c87d,_0x1840d4,_0x23ead6):_0xb9e0aa(_0x55c87d,_0x1840d4))||_0x23ead6);}return _0x3a2cb4>0x3&&_0x23ead6&&Object[_0x2021ff(0x1fc)](_0x55c87d,_0x1840d4,_0x23ead6),_0x23ead6;}const g=Number[_0x16ab05(0x1e8)](0x6a3a8805),_=(_0x2de483,_0x30625c,_0x316a42)=>{const _0x26caaf=_0x16ab05;let _0x74ec92={'page':_0x2de483,'isPro':!0x1,'timeValid':!0x1};if(!_0x30625c||!_0x316a42)return _0x74ec92;let _0x56b5d8=(0x0,r[_0x26caaf(0x28f)])(_0x30625c,_0x316a42);if(_0x56b5d8[_0x26caaf(0x251)]){let _0x1e1d5e=_0x56b5d8[_0x26caaf(0x1f2)],_0x5792fd=(0x0,r[_0x26caaf(0x203)])(_0x1e1d5e,'df',g);_0x74ec92[_0x26caaf(0x23a)]=_0x5792fd,_0x74ec92[_0x26caaf(0x21d)]=_0x5792fd,_0x74ec92[_0x26caaf(0x216)]=(0x0,r[_0x26caaf(0x1fa)])(_0x1e1d5e,_0x5792fd,_0x26caaf(0x232),_0x2de483,_0x2de483,0x0);}return _0x74ec92;};let v=class extends e[_0x16ab05(0x279)]{constructor(_0x2724c7,_0x14143a,_0x38736b,_0x51a60b){const _0x2c5e74=_0x16ab05;super(),this[_0x2c5e74(0x221)]=_0x2724c7,this[_0x2c5e74(0x24b)]=_0x14143a,this[_0x2c5e74(0x1eb)]=_0x38736b,this[_0x2c5e74(0x20e)]=_0x51a60b;}[_0x16ab05(0x27f)](_0x49d187){const _0x40714b=_0x16ab05;var _0x28e07c,_0x4bb6f0;let {ls:_0xa1fbe9,pbk:_0x220baa}=(_0x28e07c=this[_0x40714b(0x20e)][_0x40714b(0x209)](r[_0x40714b(0x293)]))==null?{}:_0x28e07c,_0x849a77=(0x0,r[_0x40714b(0x206)])()?0x1/0x0:_(0x1,_0xa1fbe9,_0x220baa)[_0x40714b(0x216)];if(!this['_univerInstanceService'][_0x40714b(0x255)](_0x49d187,e[_0x40714b(0x27d)]['UNIVER_DOC']))throw Error(_0x40714b(0x29b));let _0x6b79cf=this[_0x40714b(0x24b)][_0x40714b(0x294)](_0x49d187);if(!_0x6b79cf)throw Error('Render\x20is\x20not\x20found');let _0x7f7c6c=(_0x4bb6f0=_0x6b79cf[_0x40714b(0x225)](a[_0x40714b(0x26d)])['getSkeleton']()[_0x40714b(0x237)]())==null?void 0x0:_0x4bb6f0['pages'];if(!_0x7f7c6c)throw Error(_0x40714b(0x23f));let _0x19aa8e={'width':_0x7f7c6c[0x0]['pageWidth'],'height':_0x7f7c6c[0x0]['pageHeight']},_0x872871=_0x7f7c6c[_0x40714b(0x273)],_0x1e2eff=Math[_0x40714b(0x210)](_0x849a77,_0x872871),_0x180343=_0x6b79cf[_0x40714b(0x1f3)][_0x40714b(0x26b)](),_0x5c3010=document[_0x40714b(0x288)](_0x40714b(0x202));_0x5c3010[_0x40714b(0x20c)]=i[_0x40714b(0x280)];let _0x16ec31=Array(_0x1e2eff)['fill'](null)[_0x40714b(0x22d)]((_0x2b2351,_0x4dda3c)=>{const _0x1f3e62=_0x40714b;let _0xda6702=new p(this[_0x1f3e62(0x1eb)],_0x4dda3c,_0x49d187,_0x180343);return _0xda6702['container']['className']=i[_0x1f3e62(0x212)],_0xda6702;});_0x16ec31[_0x40714b(0x239)](_0x4ed245=>{const _0x2d020d=_0x40714b;_0x5c3010['appendChild'](_0x4ed245[_0x2d020d(0x231)]),_0x4ed245[_0x2d020d(0x231)][_0x2d020d(0x20b)](_0x4ed245['root']),_0x4ed245[_0x2d020d(0x26c)]();});let _0x2a5a41=(0x0,i[_0x40714b(0x24e)])(_0x19aa8e[_0x40714b(0x28a)],_0x19aa8e[_0x40714b(0x207)],i[_0x40714b(0x21a)][_0x40714b(0x226)]);return document['body'][_0x40714b(0x20b)](_0x2a5a41),document['body']['appendChild'](_0x5c3010),new Promise(_0x587a4c=>{setTimeout(()=>{const _0x54bae0=_0x1de9;window[_0x54bae0(0x1e6)]=()=>{const _0x2d37e8=_0x54bae0;_0x16ec31[_0x2d37e8(0x239)](_0x16d29f=>{const _0x5d4249=_0x2d37e8;_0x16d29f[_0x5d4249(0x219)]();});},window[_0x54bae0(0x23b)]=()=>{const _0x5ec8e0=_0x54bae0;_0x16ec31[_0x5ec8e0(0x239)](_0x1cde7a=>{_0x1cde7a['dispose']();}),document[_0x5ec8e0(0x23e)][_0x5ec8e0(0x26f)](_0x5c3010),document[_0x5ec8e0(0x23e)]['removeChild'](_0x2a5a41),_0x587a4c(!0x0);},window[_0x54bae0(0x27f)]();},0x64);});}};v=h([m(0x0,e[_0x16ab05(0x257)]),m(0x1,n[_0x16ab05(0x254)]),m(0x2,(0x0,e[_0x16ab05(0x245)])(e[_0x16ab05(0x25f)])),m(0x3,e[_0x16ab05(0x291)])],v);const y={'id':'docs.operation.print','type':e[_0x16ab05(0x264)][_0x16ab05(0x23d)],'handler':async _0x522334=>{const _0x5287bb=_0x16ab05;let _0x909f78=_0x522334[_0x5287bb(0x297)](e[_0x5287bb(0x257)]),_0x545415=_0x522334['get'](v),_0x2491e1=_0x522334[_0x5287bb(0x297)](n[_0x5287bb(0x254)]),_0x5b2ecf=_0x522334[_0x5287bb(0x297)](e[_0x5287bb(0x1f0)]),_0x405a6c=_0x909f78['getCurrentUnitOfType'](e[_0x5287bb(0x27d)][_0x5287bb(0x1fd)]);if(!_0x405a6c)return!0x1;if(!_0x2491e1['getRenderById'](_0x405a6c[_0x5287bb(0x208)]()))throw Error(_0x5287bb(0x298));let _0x14a477=_0x405a6c[_0x5287bb(0x289)]()[_0x5287bb(0x26e)];return _0x14a477!==e[_0x5287bb(0x234)][_0x5287bb(0x214)]&&_0x5b2ecf[_0x5287bb(0x29a)](t['SwitchDocModeCommand']['id']),await _0x545415[_0x5287bb(0x27f)](_0x405a6c[_0x5287bb(0x208)]()),_0x14a477!==e[_0x5287bb(0x234)]['TRADITIONAL']&&_0x5b2ecf[_0x5287bb(0x29a)](t['SwitchDocModeCommand']['id']),!0x0;}},b=_0x16ab05(0x222),x={};var S='@univerjs-pro/docs-print',C=_0x16ab05(0x236);let w=class extends e[_0x16ab05(0x279)]{constructor(_0xbe0928){const _0x18bd3e=_0x16ab05;super(),this[_0x18bd3e(0x24a)]=_0xbe0928,this['_registerIcons']();}['_registerIcons'](){const _0x3b37a7=_0x16ab05;this['disposeWithMe'](this[_0x3b37a7(0x24a)][_0x3b37a7(0x21f)]({'PrintIcon':s[_0x3b37a7(0x248)]}));}};w=h([m(0x0,(0x0,e['Inject'])(c[_0x16ab05(0x228)]))],w);function T(_0x1e4f21){const _0x459185=_0x16ab05;return{'id':y['id'],'type':c[_0x459185(0x22c)][_0x459185(0x28d)],'title':_0x459185(0x1f7),'icon':'PrintIcon','tooltip':'docs-print.menu','hidden$':(0x0,c[_0x459185(0x1fb)])(_0x1e4f21,e[_0x459185(0x27d)][_0x459185(0x1fd)])};}const E={[c[_0x16ab05(0x21e)][_0x16ab05(0x260)]]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e[_0x16ab05(0x279)]{constructor(_0x2db965,_0x5476e1){const _0x5b3746=_0x16ab05;super(),this[_0x5b3746(0x1f9)]=_0x2db965,this['_menuManagerService']=_0x5476e1,this[_0x5b3746(0x258)](),this[_0x5b3746(0x1f8)]();}[_0x16ab05(0x258)](){const _0x172cda=_0x16ab05;this[_0x172cda(0x20d)][_0x172cda(0x275)](E);}[_0x16ab05(0x1f8)](){const _0x2e7b93=_0x16ab05;this['disposeWithMe'](this['_commandService'][_0x2e7b93(0x200)](y));}};D=h([m(0x0,e[_0x16ab05(0x1f0)]),m(0x1,c[_0x16ab05(0x1ec)])],D);let O=class extends e[_0x16ab05(0x296)]{constructor(_0x380b7c=x,_0x4f34dd,_0x1dc30a){const _0x59fa41=_0x16ab05;super(),this['_config']=_0x380b7c,this['_injector']=_0x4f34dd,this['_configService']=_0x1dc30a;let {menu:_0x9f1eab,..._0x5644d0}=(0x0,e[_0x59fa41(0x287)])({},x,this[_0x59fa41(0x256)]);_0x9f1eab&&this['_configService'][_0x59fa41(0x23c)](_0x59fa41(0x272),_0x9f1eab,{'merge':!0x0}),this['_configService'][_0x59fa41(0x23c)](b,_0x5644d0);}[_0x16ab05(0x1ef)](){const _0xc72770=_0x16ab05;this[_0xc72770(0x1eb)][_0xc72770(0x281)]([w]),this[_0xc72770(0x1eb)][_0xc72770(0x297)](w),(0x0,e[_0xc72770(0x20a)])(this[_0xc72770(0x1eb)],[[v],[D]]);}[_0x16ab05(0x269)](){const _0x2d33f7=_0x16ab05;this[_0x2d33f7(0x1eb)][_0x2d33f7(0x297)](D);}};f(O,_0x16ab05(0x261),_0x16ab05(0x222)),f(O,_0x16ab05(0x21b),S),f(O,_0x16ab05(0x230),C),f(O,'type',e['UniverInstanceType'][_0x16ab05(0x1fd)]),O=h([(0x0,e['DependentOn'])(o[_0x16ab05(0x22b)],r[_0x16ab05(0x229)]),m(0x1,(0x0,e[_0x16ab05(0x245)])(e['Injector'])),m(0x2,e['IConfigService'])],O),exports[_0x16ab05(0x277)]=b,exports[_0x16ab05(0x24f)]=y,Object['defineProperty'](exports,_0x16ab05(0x262),{'enumerable':!0x0,'get':function(){return O;}});
|
|
1
|
+
const _0x48e728=_0x5f3a;(function(_0x992b2a,_0x2c5b27){const _0x5b4f37=_0x5f3a,_0xf640c1=_0x992b2a();while(!![]){try{const _0x262be5=-parseInt(_0x5b4f37(0x109))/0x1*(-parseInt(_0x5b4f37(0x122))/0x2)+parseInt(_0x5b4f37(0x103))/0x3+-parseInt(_0x5b4f37(0x13d))/0x4*(-parseInt(_0x5b4f37(0x142))/0x5)+-parseInt(_0x5b4f37(0xec))/0x6*(-parseInt(_0x5b4f37(0x129))/0x7)+parseInt(_0x5b4f37(0xd8))/0x8*(parseInt(_0x5b4f37(0xee))/0x9)+-parseInt(_0x5b4f37(0x156))/0xa+-parseInt(_0x5b4f37(0x137))/0xb;if(_0x262be5===_0x2c5b27)break;else _0xf640c1['push'](_0xf640c1['shift']());}catch(_0x4edfb0){_0xf640c1['push'](_0xf640c1['shift']());}}}(_0x3800,0x8ee32),Object[_0x48e728(0x153)](exports,Symbol[_0x48e728(0x14a)],{'value':_0x48e728(0x15e)}));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/ui'),s=require('@univerjs/network'),c=require('@univerjs/icons');function l(_0x1adfb6){'@babel/helpers - typeof';const _0x1cef02=_0x48e728;return l=typeof Symbol==_0x1cef02(0xf8)&&typeof Symbol['iterator']==_0x1cef02(0xed)?function(_0x1011e9){return typeof _0x1011e9;}:function(_0x5281f4){const _0x4ca16c=_0x1cef02;return _0x5281f4&&typeof Symbol==_0x4ca16c(0xf8)&&_0x5281f4[_0x4ca16c(0x178)]===Symbol&&_0x5281f4!==Symbol['prototype']?_0x4ca16c(0xed):typeof _0x5281f4;},l(_0x1adfb6);}function u(_0x451d08,_0x163be5){const _0x2c7039=_0x48e728;if(l(_0x451d08)!=_0x2c7039(0x112)||!_0x451d08)return _0x451d08;var _0x4ca17d=_0x451d08[Symbol[_0x2c7039(0x10f)]];if(_0x4ca17d!==void 0x0){var _0x220f90=_0x4ca17d[_0x2c7039(0xfc)](_0x451d08,_0x163be5||_0x2c7039(0x157));if(l(_0x220f90)!=_0x2c7039(0x112))return _0x220f90;throw TypeError(_0x2c7039(0x12e));}return(_0x163be5===_0x2c7039(0xd4)?String:Number)(_0x451d08);}function _0x5f3a(_0xdbcbb7,_0x1f77bd){_0xdbcbb7=_0xdbcbb7-0xce;const _0x3800ce=_0x3800();let _0x5f3af5=_0x3800ce[_0xdbcbb7];return _0x5f3af5;}function d(_0x517805){const _0x5ccd13=_0x48e728;var _0x54a4f6=u(_0x517805,_0x5ccd13(0xd4));return l(_0x54a4f6)==_0x5ccd13(0xed)?_0x54a4f6:_0x54a4f6+'';}function f(_0xfdd7ba,_0x2576c3,_0x37900e){const _0x127e9f=_0x48e728;return(_0x2576c3=d(_0x2576c3))in _0xfdd7ba?Object[_0x127e9f(0x153)](_0xfdd7ba,_0x2576c3,{'value':_0x37900e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xfdd7ba[_0x2576c3]=_0x37900e,_0xfdd7ba;}var p=class extends e[_0x48e728(0x16d)]{get['container'](){const _0x27c8de=_0x48e728;return this[_0x27c8de(0x14e)];}get[_0x48e728(0x167)](){const _0x3c0d24=_0x48e728;return this[_0x3c0d24(0x12b)];}get[_0x48e728(0xdf)](){const _0x13a2e4=_0x48e728;let _0x10e68f=this[_0x13a2e4(0x16e)][_0x13a2e4(0xeb)](n['IRenderManagerService'])[_0x13a2e4(0x11b)](this['_unitId']);if(!_0x10e68f)throw Error(_0x13a2e4(0x169));return _0x10e68f;}get['_skeleton'](){const _0x56f660=_0x48e728;return this['_currentRender'][_0x56f660(0x134)](a[_0x56f660(0xdb)])[_0x56f660(0x170)]();}get[_0x48e728(0x128)](){const _0x3fcff5=_0x48e728;let _0x391838=this[_0x3fcff5(0x149)][_0x3fcff5(0x10c)]();if(!_0x391838)throw Error(_0x3fcff5(0x141));return _0x391838;}get[_0x48e728(0x161)](){const _0x1fd000=_0x48e728;let _0x4a0d0b=this[_0x1fd000(0x128)][_0x1fd000(0xfd)][0x0];return{'width':_0x4a0d0b[_0x1fd000(0x125)],'height':_0x4a0d0b[_0x1fd000(0x171)]};}constructor(_0x5ce29a,_0x147b96,_0x7931bf,_0x1f49fd){const _0x177b71=_0x48e728;super(),this['_injector']=_0x5ce29a,this[_0x177b71(0xf1)]=_0x147b96,this['_unitId']=_0x7931bf,this['_offsetConfig']=_0x1f49fd,f(this,'_container',document[_0x177b71(0x108)](_0x177b71(0x133))),f(this,_0x177b71(0x12b),document[_0x177b71(0x108)](_0x177b71(0x133))),f(this,_0x177b71(0x110),void 0x0),f(this,_0x177b71(0x16b),void 0x0),f(this,_0x177b71(0x159),void 0x0),f(this,_0x177b71(0x12c),void 0x0),f(this,_0x177b71(0xf0),void 0x0),f(this,_0x177b71(0x176),new e['DisposableCollection']()),this['_key']=(0x0,e[_0x177b71(0x14d)])(0x4),this['_initRenderer'](),this[_0x177b71(0x151)]({'dispose':()=>{const _0x4594e9=_0x177b71;this[_0x4594e9(0x110)][_0x4594e9(0x177)](),this[_0x4594e9(0x16b)]['dispose'](),this[_0x4594e9(0x176)]['dispose']();}});}[_0x48e728(0x16a)](){const _0xc6a332=_0x48e728;let {docsTop:_0x5e7e97,docsLeft:_0x343609}=this[_0xc6a332(0x12c)][_0xc6a332(0x143)](),_0x58d739=this[_0xc6a332(0x161)][_0xc6a332(0xfe)],_0x1ec80b=this[_0xc6a332(0x161)]['width'];return{'top':_0x5e7e97+(_0x5e7e97+_0x58d739)*this[_0xc6a332(0xf1)],'bottom':_0x5e7e97+(_0x5e7e97+_0x58d739)*(this[_0xc6a332(0xf1)]+0x1),'left':_0x343609,'right':_0x343609+_0x1ec80b};}['_initRenderer'](){const _0x33dd37=_0x48e728;this[_0x33dd37(0x110)]=new n[(_0x33dd37(0x145))]('',{'elementWidth':this[_0x33dd37(0x161)]['width'],'elementHeight':this[_0x33dd37(0x161)][_0x33dd37(0xfe)],'dpr':0x1,'renderMode':n[_0x33dd37(0xf4)][_0x33dd37(0x164)]}),this[_0x33dd37(0x16b)]=new n['Scene'](this[_0x33dd37(0x159)],this[_0x33dd37(0x110)]),this[_0x33dd37(0x16b)][_0x33dd37(0xde)](0x1,0x1),this[_0x33dd37(0x110)][_0x33dd37(0x10a)](this[_0x33dd37(0x14e)],!0x1),this['_engine'][_0x33dd37(0xf9)]()[_0x33dd37(0xe1)]()['setId'](this[_0x33dd37(0x159)]+'_'+(0x0,e['generateRandomId'])(0x4)),this[_0x33dd37(0xce)](),this[_0x33dd37(0xd6)]();}[_0x48e728(0xce)](){const _0x2eb7de=_0x48e728;let {pageMarginLeft:_0x349473,pageMarginTop:_0x5fd2cc,docsLeft:_0x2d1008,docsTop:_0x3da068}=this[_0x2eb7de(0xfa)],_0x148090={'pageMarginLeft':_0x349473,'pageMarginTop':_0x5fd2cc},_0x49cd19=new n[(_0x2eb7de(0x11d))](_0x2eb7de(0x130),this[_0x2eb7de(0x149)],_0x148090);_0x49cd19[_0x2eb7de(0x15b)](_0x2d1008,_0x3da068),this[_0x2eb7de(0x16b)][_0x2eb7de(0x118)](_0x49cd19),this['_documents']=_0x49cd19;let _0x50fcd6=this['_injector'][_0x2eb7de(0xeb)](t[_0x2eb7de(0x13c)]);_0x50fcd6[_0x2eb7de(0x14f)][_0x2eb7de(0x11a)](_0x50fcd6[_0x2eb7de(0x14f)][_0x2eb7de(0xd7)]()[_0x2eb7de(0x140)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x2eb7de(0x16b)],'engine':this['_engine'],'root':this[_0x2eb7de(0x12b)],'documents':this[_0x2eb7de(0x12c)],'skeleton':this[_0x2eb7de(0x149)]});}['_addViewport'](){const _0x20ff16=_0x48e728;this[_0x20ff16(0xf0)]=new n[(_0x20ff16(0x172))](t[_0x20ff16(0x14b)][_0x20ff16(0xd3)],this[_0x20ff16(0x16b)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x48e728(0x10d)](){const _0x33aafc=_0x48e728;let _0x4d1dc1=this[_0x33aafc(0x16a)]();this[_0x33aafc(0xf0)][_0x33aafc(0x12f)]({'viewportScrollX':_0x4d1dc1['left'],'viewportScrollY':_0x4d1dc1[_0x33aafc(0x155)]}),this['_root']['style'][_0x33aafc(0xe9)]=_0x33aafc(0x163),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0x155)]=_0x33aafc(0xe6),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0x173)]=_0x33aafc(0xe6),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0x127)]=_0x33aafc(0xf7),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0xfe)]=_0x33aafc(0xf7),this['_effects']=new e['DisposableCollection']();let _0x2e79f6=this[_0x33aafc(0x16e)][_0x33aafc(0xeb)](t[_0x33aafc(0x13c)]);_0x2e79f6[_0x33aafc(0x14f)][_0x33aafc(0x11a)](_0x2e79f6[_0x33aafc(0x14f)][_0x33aafc(0xd7)]()[_0x33aafc(0x10e)])(this[_0x33aafc(0x176)],{'unitId':this[_0x33aafc(0x12d)],'scene':this[_0x33aafc(0x16b)],'engine':this[_0x33aafc(0x110)],'root':this[_0x33aafc(0x12b)],'skeleton':this['_skeleton'],'offset':{'x':_0x4d1dc1['left'],'y':_0x4d1dc1[_0x33aafc(0x155)]},'bound':{'top':_0x4d1dc1[_0x33aafc(0x155)],'left':_0x4d1dc1[_0x33aafc(0x173)],'right':_0x4d1dc1['right'],'bottom':_0x4d1dc1['bottom']}});}['render'](){const _0x462280=_0x48e728;let _0x113819=this['_engine'][_0x462280(0xf9)]()[_0x462280(0xe1)]();this[_0x462280(0x12c)][_0x462280(0x11f)](),this[_0x462280(0x16b)]['makeDirty'](),_0x113819[_0x462280(0x100)](),this[_0x462280(0x16b)][_0x462280(0xcf)](),_0x113819['restore']();}};function m(_0xd3a63d,_0x4326dd){return function(_0xcf2903,_0x5aecc7){_0x4326dd(_0xcf2903,_0x5aecc7,_0xd3a63d);};}function h(_0x2d01f1,_0x84dac9,_0x5e5a5e,_0x5caa32){const _0x40e42f=_0x48e728;var _0x1d7fd3=arguments[_0x40e42f(0x132)],_0x3bd024=_0x1d7fd3<0x3?_0x84dac9:_0x5caa32===null?_0x5caa32=Object['getOwnPropertyDescriptor'](_0x84dac9,_0x5e5a5e):_0x5caa32,_0x31b5fa;if(typeof Reflect=='object'&&typeof Reflect[_0x40e42f(0xd1)]==_0x40e42f(0xf8))_0x3bd024=Reflect[_0x40e42f(0xd1)](_0x2d01f1,_0x84dac9,_0x5e5a5e,_0x5caa32);else{for(var _0xeadaa0=_0x2d01f1['length']-0x1;_0xeadaa0>=0x0;_0xeadaa0--)(_0x31b5fa=_0x2d01f1[_0xeadaa0])&&(_0x3bd024=(_0x1d7fd3<0x3?_0x31b5fa(_0x3bd024):_0x1d7fd3>0x3?_0x31b5fa(_0x84dac9,_0x5e5a5e,_0x3bd024):_0x31b5fa(_0x84dac9,_0x5e5a5e))||_0x3bd024);}return _0x1d7fd3>0x3&&_0x3bd024&&Object[_0x40e42f(0x153)](_0x84dac9,_0x5e5a5e,_0x3bd024),_0x3bd024;}const g=Number[_0x48e728(0x16f)](0x6a3f47b8),_=(_0x5558ee,_0x360df3,_0x14a481)=>{const _0x49e5b2=_0x48e728;let _0x5d528b={'page':_0x5558ee,'isPro':!0x1,'timeValid':!0x1};if(!_0x360df3||!_0x14a481)return _0x5d528b;let _0x2d43b1=(0x0,r[_0x49e5b2(0x119)])(_0x360df3,_0x14a481);if(_0x2d43b1['valid']){let _0x16b0fe=_0x2d43b1[_0x49e5b2(0xe7)],_0x29b22b=(0x0,r['isFeatureAuthorizedWithinTime'])(_0x16b0fe,'df',g);_0x5d528b[_0x49e5b2(0x121)]=_0x29b22b,_0x5d528b[_0x49e5b2(0x175)]=_0x29b22b,_0x5d528b[_0x49e5b2(0x16c)]=(0x0,r[_0x49e5b2(0xda)])(_0x16b0fe,_0x29b22b,_0x49e5b2(0x174),_0x5558ee,_0x5558ee,0x0);}return _0x5d528b;};let v=class extends e[_0x48e728(0x16d)]{constructor(_0x567d05,_0x5a306e,_0x5749f6,_0x4b1bfd,_0x2252d2){const _0x31363b=_0x48e728;super(),this[_0x31363b(0x116)]=_0x567d05,this[_0x31363b(0xf2)]=_0x5a306e,this[_0x31363b(0x16e)]=_0x5749f6,this[_0x31363b(0x113)]=_0x4b1bfd,this['_globalZoneService']=_0x2252d2;}[_0x48e728(0x13b)](_0x4bfdcf){const _0x33c250=_0x48e728;var _0x6e5287,_0x19bb62;let {ls:_0x484db8,pbk:_0x45f4f6}=(_0x6e5287=this[_0x33c250(0x113)][_0x33c250(0x12a)](r['LS_CONFIG_KEY']))==null?{}:_0x6e5287,_0x4633de=(0x0,r[_0x33c250(0x154)])()?0x1/0x0:_(0x1,_0x484db8,_0x45f4f6)['page'];if(!this[_0x33c250(0x116)][_0x33c250(0x144)](_0x4bfdcf,e['UniverInstanceType'][_0x33c250(0x15c)]))throw Error(_0x33c250(0x117));let _0x4932e4=this['_renderManagerService']['getRenderById'](_0x4bfdcf);if(!_0x4932e4)throw Error(_0x33c250(0x169));let _0x34f240=(_0x19bb62=_0x4932e4[_0x33c250(0x134)](a['DocSkeletonManagerService'])[_0x33c250(0x170)]()[_0x33c250(0x10c)]())==null?void 0x0:_0x19bb62[_0x33c250(0xfd)];if(!_0x34f240)throw Error(_0x33c250(0x11c));let _0x5d6044={'width':_0x34f240[0x0][_0x33c250(0x125)],'height':_0x34f240[0x0][_0x33c250(0x171)]},_0x530056=_0x34f240[_0x33c250(0x132)],_0x3ddf3f=Math[_0x33c250(0x166)](_0x4633de,_0x530056),_0xacf7dc=_0x4932e4[_0x33c250(0x115)][_0x33c250(0x143)](),_0x1139ea=document['createElement']('div');_0x1139ea[_0x33c250(0xe0)]=i[_0x33c250(0xff)];let _0xf26111=Array(_0x3ddf3f)[_0x33c250(0x168)](null)[_0x33c250(0x131)]((_0x3c8e24,_0x1b01ca)=>{const _0x446ceb=_0x33c250;let _0x525e00=new p(this[_0x446ceb(0x16e)],_0x1b01ca,_0x4bfdcf,_0xacf7dc);return _0x525e00[_0x446ceb(0x101)][_0x446ceb(0xe0)]=i['PRINT_CANVAS_CLASS'],_0x525e00;});_0xf26111[_0x33c250(0xe3)](_0x55dc8b=>{const _0x4f2005=_0x33c250;_0x1139ea[_0x4f2005(0x135)](_0x55dc8b['container']),_0x55dc8b[_0x4f2005(0x101)]['appendChild'](_0x55dc8b['root']),_0x55dc8b['prepare']();});let _0x1de35c=(0x0,i[_0x33c250(0x114)])(_0x5d6044['width'],_0x5d6044['height'],i['PrintDirection']['Portrait']);return document[_0x33c250(0xea)][_0x33c250(0x135)](_0x1de35c),document[_0x33c250(0xea)][_0x33c250(0x135)](_0x1139ea),new Promise(_0x23b736=>{setTimeout(()=>{const _0x4c577b=_0x5f3a;window['onbeforeprint']=()=>{const _0x64816f=_0x5f3a;_0xf26111[_0x64816f(0xe3)](_0x2943c6=>{const _0xa35861=_0x64816f;_0x2943c6[_0xa35861(0xcf)]();});},window[_0x4c577b(0x152)]=()=>{const _0x5383df=_0x4c577b;_0xf26111['forEach'](_0x2a1c69=>{const _0x3de836=_0x5f3a;_0x2a1c69[_0x3de836(0x177)]();}),document[_0x5383df(0xea)][_0x5383df(0xf6)](_0x1139ea),document[_0x5383df(0xea)][_0x5383df(0xf6)](_0x1de35c),this[_0x5383df(0xdd)][_0x5383df(0x165)](),_0x23b736(!0x0);},window[_0x4c577b(0x13b)]();},0x64);});}};v=h([m(0x0,e[_0x48e728(0xd9)]),m(0x1,n['IRenderManagerService']),m(0x2,(0x0,e['Inject'])(e['Injector'])),m(0x3,e[_0x48e728(0x124)]),m(0x4,o[_0x48e728(0x139)])],v);const y={'id':'docs.operation.print','type':e['CommandType'][_0x48e728(0xd0)],'handler':async _0x464430=>{const _0x6d4001=_0x48e728;let _0x518d2c=_0x464430[_0x6d4001(0xeb)](e[_0x6d4001(0xd9)]),_0xc38dec=_0x464430['get'](v),_0x3fb8ef=_0x464430['get'](n[_0x6d4001(0x15d)]),_0x2ee167=_0x464430[_0x6d4001(0xeb)](e['ICommandService']),_0x5a783d=_0x518d2c['getCurrentUnitOfType'](e['UniverInstanceType']['UNIVER_DOC']);if(!_0x5a783d)return!0x1;if(!_0x3fb8ef[_0x6d4001(0x11b)](_0x5a783d[_0x6d4001(0xd5)]()))throw Error(_0x6d4001(0x169));let _0x3814eb=_0x5a783d['getDocumentStyle']()['documentFlavor'];return _0x3814eb!==e[_0x6d4001(0x123)][_0x6d4001(0xe4)]&&_0x2ee167['syncExecuteCommand'](t[_0x6d4001(0x105)]['id']),await _0xc38dec[_0x6d4001(0x13b)](_0x5a783d[_0x6d4001(0xd5)]()),_0x3814eb!==e[_0x6d4001(0x123)][_0x6d4001(0xe4)]&&_0x2ee167[_0x6d4001(0x148)](t[_0x6d4001(0x105)]['id']),!0x0;}},b=_0x48e728(0xe5),x={};var S=_0x48e728(0x136),C=_0x48e728(0x147);function w(_0x59f5c4){const _0x2390e0=_0x48e728;return{'id':y['id'],'type':o['MenuItemType'][_0x2390e0(0x11e)],'title':_0x2390e0(0x162),'icon':'PrintIcon','tooltip':_0x2390e0(0x162),'hidden$':(0x0,o[_0x2390e0(0xf3)])(_0x59f5c4,e['UniverInstanceType'][_0x2390e0(0x15c)])};}const T={[o[_0x48e728(0x15a)][_0x48e728(0x160)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};function _0x3800(){const _0x10f8fa=['PrintIcon','generateRandomId','_container','interceptor','DocPrintOperation','disposeWithMe','onafterprint','defineProperty','isLocalCheck','top','7961970EEVHzn','default','registerDependencies','_key','RibbonStartGroup','translate','UNIVER_DOC','IRenderManagerService','Module','_componentManager','OTHERS','_paperSize','docs-print.menu','absolute','Printing','close','min','root','fill','Render\x20is\x20not\x20found','_calculateLayout','_scene','page','Disposable','_injector','parseInt','getSkeleton','pageHeight','Viewport','left','mpn','timeValid','_effects','dispose','constructor','_addComponent','render','OPERATION','decorate','registerCommand','VIEW_MAIN','string','getUnitId','_addViewport','getInterceptPoints','488hSJKKl','IUniverInstanceService','getDocFeatureLimit','DocSkeletonManagerService','packageName','_globalZoneService','scale','_currentRender','className','getContext','UniverNetworkPlugin','forEach','TRADITIONAL','UNIVER_DOCS_PRINT','0px','message','ICommandService','position','body','get','261588GCNuxp','symbol','151326agHLpp','Inject','_viewMain','_page','_renderManagerService','getMenuHiddenObservable','CanvasRenderMode','_initComponents','removeChild','100%','function','getCanvas','_offsetConfig','setConfig','call','pages','height','PRINT_CONTAINER_CLASS','save','container','type','130038YGwcOZ','UniverLicensePlugin','SwitchDocModeCommand','ComponentManager','_initMenus','createElement','16hwzdco','setContainer','IMenuManagerService','getSkeletonData','prepare','PRINTING_DOM_COLLECT','toPrimitive','_engine','style','object','_configService','createPrintStyle','mainComponent','_univerInstanceService','DocumentDataModel\x20is\x20not\x20found','addObject','getLicenseInfo','fetchThroughInterceptors','getRenderById','Pages\x20are\x20not\x20found','Documents','BUTTON','makeForceDirty','UniverDocsPrintPlugin','isPro','19268YrYTRr','DocumentFlavor','IConfigService','pageWidth','menu','width','_skeletonData','161paABMj','getConfig','_root','_documents','_unitId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','updateScrollVal','__DocPrintRender__','map','length','div','with','appendChild','@univerjs-pro/docs-print','20495871BhdgTu','register','IZenZoneService','_config','print','DocPrintInterceptorService','8hctVXi','_commandService','_menuManagerService','PRINTING_COMPONENT_COLLECT','Skeleton\x20data\x20is\x20not\x20found','2547065LinymG','getOffsetConfig','getUnit','Engine','mergeMenu','0.25.1','syncExecuteCommand','_skeleton','toStringTag','VIEWPORT_KEY'];_0x3800=function(){return _0x10f8fa;};return _0x3800();}let E=class extends e['Disposable']{constructor(_0x347671,_0x19aa23,_0x284128){const _0x358b76=_0x48e728;super(),this['_commandService']=_0x347671,this['_menuManagerService']=_0x19aa23,this[_0x358b76(0x15f)]=_0x284128,this[_0x358b76(0x107)](),this['_initCommands'](),this['_initComponents']();}[_0x48e728(0x107)](){const _0x1f5da5=_0x48e728;this[_0x1f5da5(0x13f)][_0x1f5da5(0x146)](T);}['_initCommands'](){const _0x3cda53=_0x48e728;this[_0x3cda53(0x151)](this[_0x3cda53(0x13e)][_0x3cda53(0xd2)](y));}[_0x48e728(0xf5)](){const _0x734ecb=_0x48e728;[['PrintIcon',c[_0x734ecb(0x14c)]]][_0x734ecb(0xe3)](([_0x2c8d1b,_0x59b014])=>{const _0x3d1b4e=_0x734ecb;this['_componentManager'][_0x3d1b4e(0x138)](_0x2c8d1b,_0x59b014);});}};E=h([m(0x0,e[_0x48e728(0xe8)]),m(0x1,o[_0x48e728(0x10b)]),m(0x2,(0x0,e[_0x48e728(0xef)])(o[_0x48e728(0x106)]))],E);let D=class extends e['Plugin']{constructor(_0x58dc71=x,_0x2252e5,_0x3ec5d1){const _0x81b069=_0x48e728;super(),this['_config']=_0x58dc71,this[_0x81b069(0x16e)]=_0x2252e5,this[_0x81b069(0x113)]=_0x3ec5d1;let {menu:_0x2a52f6,..._0x3adc1b}=(0x0,e['merge'])({},x,this[_0x81b069(0x13a)]);_0x2a52f6&&this['_configService'][_0x81b069(0xfb)](_0x81b069(0x126),_0x2a52f6,{'merge':!0x0}),this[_0x81b069(0x113)][_0x81b069(0xfb)](b,_0x3adc1b);}['onStarting'](){const _0x14cd5c=_0x48e728;(0x0,e[_0x14cd5c(0x158)])(this[_0x14cd5c(0x16e)],[[v],[E]]);}['onReady'](){const _0x41ed08=_0x48e728;this[_0x41ed08(0x16e)][_0x41ed08(0xeb)](E);}};f(D,'pluginName','UNIVER_DOCS_PRINT'),f(D,_0x48e728(0xdc),S),f(D,'version',C),f(D,_0x48e728(0x102),e['UniverInstanceType'][_0x48e728(0x15c)]),D=h([(0x0,e['DependentOn'])(s[_0x48e728(0xe2)],r[_0x48e728(0x104)]),m(0x1,(0x0,e[_0x48e728(0xef)])(e['Injector'])),m(0x2,e[_0x48e728(0x124)])],D),exports['DOCS_PRINT_PLUGIN_CONFIG_KEY']=b,exports[_0x48e728(0x150)]=y,Object[_0x48e728(0x153)](exports,_0x48e728(0x120),{'enumerable':!0x0,'get':function(){return D;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3ccc(_0x5a68b8,_0x37be6d){_0x5a68b8=_0x5a68b8-0x9a;const _0x2cf4f6=_0x2cf4();let _0x3ccc50=_0x2cf4f6[_0x5a68b8];return _0x3ccc50;}function _0x2cf4(){const _0x481962=['240844pvyMoE','11261889ZQmsGh','exports','296624ZoMEaf','1223395RpANIr','طباعة','4416272bukqFk','560368AmgzrO','3bAIMKe','12DdspYh','3017497AYAkPR'];_0x2cf4=function(){return _0x481962;};return _0x2cf4();}const _0x31926f=_0x3ccc;(function(_0x11ee10,_0x1aaa16){const _0x5185ec=_0x3ccc,_0x44ecd8=_0x11ee10();while(!![]){try{const _0xe0404c=-parseInt(_0x5185ec(0x9c))/0x1+-parseInt(_0x5185ec(0xa3))/0x2+-parseInt(_0x5185ec(0xa4))/0x3*(parseInt(_0x5185ec(0x9f))/0x4)+parseInt(_0x5185ec(0xa0))/0x5*(-parseInt(_0x5185ec(0x9a))/0x6)+-parseInt(_0x5185ec(0x9b))/0x7+parseInt(_0x5185ec(0xa2))/0x8+parseInt(_0x5185ec(0x9d))/0x9;if(_0xe0404c===_0x1aaa16)break;else _0x44ecd8['push'](_0x44ecd8['shift']());}catch(_0x520a16){_0x44ecd8['push'](_0x44ecd8['shift']());}}}(_0x2cf4,0x463fe));const e={'docs-print':{'menu':_0x31926f(0xa1)}};module[_0x31926f(0x9e)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3f38(){const _0x5724a1=['1OamQit','18801eRBvJh','4397372ofIdbp','12bzaMVs','629045PZNqqa','18qDYfHe','4430CDDuQU','1784481MEqoqK','2865797NOfMkf','1520894dXZhon','1127GuUPeF','52072IXXPik'];_0x3f38=function(){return _0x5724a1;};return _0x3f38();}function _0x26b8(_0x90b4db,_0x4b7da4){_0x90b4db=_0x90b4db-0x70;const _0x3f38d4=_0x3f38();let _0x26b84a=_0x3f38d4[_0x90b4db];return _0x26b84a;}(function(_0x5af77f,_0x18aa1f){const _0x55bec6=_0x26b8,_0x47f78b=_0x5af77f();while(!![]){try{const _0x1e2b98=parseInt(_0x55bec6(0x73))/0x1*(parseInt(_0x55bec6(0x70))/0x2)+parseInt(_0x55bec6(0x7a))/0x3+parseInt(_0x55bec6(0x75))/0x4+parseInt(_0x55bec6(0x77))/0x5*(parseInt(_0x55bec6(0x78))/0x6)+-parseInt(_0x55bec6(0x71))/0x7*(parseInt(_0x55bec6(0x72))/0x8)+-parseInt(_0x55bec6(0x74))/0x9*(parseInt(_0x55bec6(0x79))/0xa)+parseInt(_0x55bec6(0x7b))/0xb*(-parseInt(_0x55bec6(0x76))/0xc);if(_0x1e2b98===_0x18aa1f)break;else _0x47f78b['push'](_0x47f78b['shift']());}catch(_0x1be339){_0x47f78b['push'](_0x47f78b['shift']());}}}(_0x3f38,0x9207d));const e={'docs-print':{'menu':'Imprimir'}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4db05b,_0x280af5){const _0x106ba6=_0x1dfa,_0x5c3831=_0x4db05b();while(!![]){try{const _0x211340=-parseInt(_0x106ba6(0xc6))/0x1*(parseInt(_0x106ba6(0xc8))/0x2)+parseInt(_0x106ba6(0xca))/0x3+-parseInt(_0x106ba6(0xcb))/0x4*(-parseInt(_0x106ba6(0xc9))/0x5)+-parseInt(_0x106ba6(0xcc))/0x6+-parseInt(_0x106ba6(0xc7))/0x7*(-parseInt(_0x106ba6(0xcd))/0x8)+parseInt(_0x106ba6(0xce))/0x9+parseInt(_0x106ba6(0xc5))/0xa;if(_0x211340===_0x280af5)break;else _0x5c3831['push'](_0x5c3831['shift']());}catch(_0x57c584){_0x5c3831['push'](_0x5c3831['shift']());}}}(_0x24c4,0x3b1f3));const e={'docs-print':{'menu':'Drucken'}};module['exports']=e;function _0x1dfa(_0x302477,_0xfd9e04){_0x302477=_0x302477-0xc5;const _0x24c495=_0x24c4();let _0x1dfada=_0x24c495[_0x302477];return _0x1dfada;}function _0x24c4(){const _0x497459=['1575PtPQYB','1297947qMRZGW','1196rYNWoP','2731308lhvBmy','1016144NYdIzD','200466MtrjoE','3848170wtNSmg','2SaHhGj','7VtVIgH','363562fafLKX'];_0x24c4=function(){return _0x497459;};return _0x24c4();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x292c(_0x36ae58,_0x235f28){_0x36ae58=_0x36ae58-0xa1;const _0x268208=_0x2682();let _0x292ca1=_0x268208[_0x36ae58];return _0x292ca1;}function _0x2682(){const _0x3a6f96=['9645aTSkDl','9SuGjTt','39008220ZkrhMV','28UTHNiO','981872cjiCOa','Print','1089318tbSbYf','410oHeCPW','3827760tPdcRM','3993580DIzqhm','3875910wbcQwX'];_0x2682=function(){return _0x3a6f96;};return _0x2682();}const _0x2e9d4d=_0x292c;(function(_0x10c2b2,_0x4a0c13){const _0x51c9b9=_0x292c,_0x3a5ee1=_0x10c2b2();while(!![]){try{const _0x484e7e=-parseInt(_0x51c9b9(0xa5))/0x1+-parseInt(_0x51c9b9(0xa6))/0x2*(-parseInt(_0x51c9b9(0xaa))/0x3)+-parseInt(_0x51c9b9(0xa8))/0x4+-parseInt(_0x51c9b9(0xa9))/0x5+-parseInt(_0x51c9b9(0xa7))/0x6+-parseInt(_0x51c9b9(0xa2))/0x7*(parseInt(_0x51c9b9(0xa3))/0x8)+parseInt(_0x51c9b9(0xab))/0x9*(parseInt(_0x51c9b9(0xa1))/0xa);if(_0x484e7e===_0x4a0c13)break;else _0x3a5ee1['push'](_0x3a5ee1['shift']());}catch(_0x39537b){_0x3a5ee1['push'](_0x3a5ee1['shift']());}}}(_0x2682,0x8ab2a));const e={'docs-print':{'menu':_0x2e9d4d(0xa4)}};module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1400(){const _0x32f6ab=['1915630EkQuqD','Imprimir','1493842FIlvqX','5451318AkaXlX','83061QzdWip','545844lrPrrH','3NGdOkg','884740ZdbQiG','4314835AKiHcR','1048FBellP'];_0x1400=function(){return _0x32f6ab;};return _0x1400();}const _0x92c781=_0x4e61;(function(_0xdecf52,_0x18d14f){const _0x135e66=_0x4e61,_0x3008b9=_0xdecf52();while(!![]){try{const _0x59c176=parseInt(_0x135e66(0xc7))/0x1+-parseInt(_0x135e66(0xca))/0x2+-parseInt(_0x135e66(0xc6))/0x3*(parseInt(_0x135e66(0xc5))/0x4)+parseInt(_0x135e66(0xc8))/0x5+parseInt(_0x135e66(0xc3))/0x6+parseInt(_0x135e66(0xcc))/0x7+parseInt(_0x135e66(0xc9))/0x8*(-parseInt(_0x135e66(0xc4))/0x9);if(_0x59c176===_0x18d14f)break;else _0x3008b9['push'](_0x3008b9['shift']());}catch(_0x2a4db9){_0x3008b9['push'](_0x3008b9['shift']());}}}(_0x1400,0x8a477));function _0x4e61(_0x391b93,_0x5a27c7){_0x391b93=_0x391b93-0xc3;const _0x1400f0=_0x1400();let _0x4e612b=_0x1400f0[_0x391b93];return _0x4e612b;}const e={'docs-print':{'menu':_0x92c781(0xcb)}};module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2595(_0x148e67,_0x43816f){_0x148e67=_0x148e67-0x1ba;const _0x535aa9=_0x535a();let _0x25958e=_0x535aa9[_0x148e67];return _0x25958e;}const _0x3f4553=_0x2595;(function(_0x4d9cc2,_0x3cde0f){const _0x5e8596=_0x2595,_0x851d98=_0x4d9cc2();while(!![]){try{const _0x400850=parseInt(_0x5e8596(0x1c3))/0x1*(-parseInt(_0x5e8596(0x1bd))/0x2)+-parseInt(_0x5e8596(0x1be))/0x3*(-parseInt(_0x5e8596(0x1c2))/0x4)+parseInt(_0x5e8596(0x1bf))/0x5*(-parseInt(_0x5e8596(0x1c5))/0x6)+-parseInt(_0x5e8596(0x1c1))/0x7+parseInt(_0x5e8596(0x1c0))/0x8+-parseInt(_0x5e8596(0x1c6))/0x9*(parseInt(_0x5e8596(0x1c4))/0xa)+parseInt(_0x5e8596(0x1ba))/0xb;if(_0x400850===_0x3cde0f)break;else _0x851d98['push'](_0x851d98['shift']());}catch(_0x552ed7){_0x851d98['push'](_0x851d98['shift']());}}}(_0x535a,0x9c0ff));function _0x535a(){const _0x514257=['4EvnQDF','13885jpjRvF','549850YtglDO','1656678KHUslE','126qSTjnC','27877311cWjqhP','چاپ','exports','118WzQodR','1642707xQbVND','5wzlhPz','4069968RttoRj','7603869pSnPuG'];_0x535a=function(){return _0x514257;};return _0x535a();}const e={'docs-print':{'menu':_0x3f4553(0x1bb)}};module[_0x3f4553(0x1bc)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5409(_0x32f0ad,_0x18141d){_0x32f0ad=_0x32f0ad-0x1dc;const _0x1aac85=_0x1aac();let _0x54097d=_0x1aac85[_0x32f0ad];return _0x54097d;}const _0x2d61df=_0x5409;(function(_0x272189,_0x1ac9f2){const _0x5c729f=_0x5409,_0x56d8d7=_0x272189();while(!![]){try{const _0x4bafe5=-parseInt(_0x5c729f(0x1e6))/0x1+-parseInt(_0x5c729f(0x1e5))/0x2*(parseInt(_0x5c729f(0x1e2))/0x3)+-parseInt(_0x5c729f(0x1e1))/0x4*(parseInt(_0x5c729f(0x1dd))/0x5)+-parseInt(_0x5c729f(0x1df))/0x6+-parseInt(_0x5c729f(0x1e0))/0x7+-parseInt(_0x5c729f(0x1e3))/0x8+parseInt(_0x5c729f(0x1dc))/0x9;if(_0x4bafe5===_0x1ac9f2)break;else _0x56d8d7['push'](_0x56d8d7['shift']());}catch(_0x2e0402){_0x56d8d7['push'](_0x56d8d7['shift']());}}}(_0x1aac,0x589a1));function _0x1aac(){const _0x2c43e8=['Imprimer','2932194JCZVEP','3392837fnzPHC','4552wtzmhs','4299eGWTkn','2299840juMLtY','exports','758FqCnJF','639366lBnddu','31329810EcygfZ','2965Zzjvap'];_0x1aac=function(){return _0x2c43e8;};return _0x1aac();}const e={'docs-print':{'menu':_0x2d61df(0x1de)}};module[_0x2d61df(0x1e4)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2ac8a1=_0x18a7;function _0x18a7(_0x263bbc,_0xc14e8a){_0x263bbc=_0x263bbc-0x77;const _0x30df41=_0x30df();let _0x18a7e=_0x30df41[_0x263bbc];return _0x18a7e;}(function(_0x28b3b9,_0x170125){const _0x768d1b=_0x18a7,_0x5d6154=_0x28b3b9();while(!![]){try{const _0x32bac7=parseInt(_0x768d1b(0x80))/0x1*(-parseInt(_0x768d1b(0x7d))/0x2)+parseInt(_0x768d1b(0x7a))/0x3+-parseInt(_0x768d1b(0x7c))/0x4+-parseInt(_0x768d1b(0x79))/0x5+parseInt(_0x768d1b(0x7e))/0x6*(-parseInt(_0x768d1b(0x82))/0x7)+-parseInt(_0x768d1b(0x7b))/0x8+parseInt(_0x768d1b(0x81))/0x9*(parseInt(_0x768d1b(0x78))/0xa);if(_0x32bac7===_0x170125)break;else _0x5d6154['push'](_0x5d6154['shift']());}catch(_0x540c1f){_0x5d6154['push'](_0x5d6154['shift']());}}}(_0x30df,0x3008e));function _0x30df(){const _0xee9fea=['3rAhvNh','404748jSppuQ','2086189wcBEXZ','exports','180FyTJbH','527550SOPjZq','343176ZeLlJN','1154184JxABKv','357696gXqQUq','59936IIqBKe','6atlwBP','Cetak'];_0x30df=function(){return _0xee9fea;};return _0x30df();}const e={'docs-print':{'menu':_0x2ac8a1(0x7f)}};module[_0x2ac8a1(0x77)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1b68ef=_0x3bf9;function _0x3bf9(_0xa210c4,_0x4e0bf2){_0xa210c4=_0xa210c4-0x84;const _0x3fd9e0=_0x3fd9();let _0x3bf9b5=_0x3fd9e0[_0xa210c4];return _0x3bf9b5;}(function(_0x10dfaa,_0x30a4f7){const _0x274f10=_0x3bf9,_0x340934=_0x10dfaa();while(!![]){try{const _0x193820=parseInt(_0x274f10(0x88))/0x1*(parseInt(_0x274f10(0x8a))/0x2)+parseInt(_0x274f10(0x85))/0x3+-parseInt(_0x274f10(0x87))/0x4+-parseInt(_0x274f10(0x84))/0x5*(-parseInt(_0x274f10(0x89))/0x6)+parseInt(_0x274f10(0x8d))/0x7+-parseInt(_0x274f10(0x8c))/0x8*(-parseInt(_0x274f10(0x86))/0x9)+-parseInt(_0x274f10(0x8e))/0xa;if(_0x193820===_0x30a4f7)break;else _0x340934['push'](_0x340934['shift']());}catch(_0x31e7a3){_0x340934['push'](_0x340934['shift']());}}}(_0x3fd9,0x8a524));const e={'docs-print':{'menu':_0x1b68ef(0x8b)}};function _0x3fd9(){const _0x92df48=['Stampa','8DpaQYR','4023782hgSoUV','26494220UttOVN','115yaokzA','3074121eotxTM','6932259JAwKyX','1589628AtLUEN','1OVqrYo','75696IrDnaH','1906882NxViOJ'];_0x3fd9=function(){return _0x92df48;};return _0x3fd9();}module['exports']=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x50c801=_0x5a1c;(function(_0x1f2398,_0x3e31c8){const _0x4737e7=_0x5a1c,_0x42276d=_0x1f2398();while(!![]){try{const _0x40e2e7=parseInt(_0x4737e7(0xd5))/0x1*(-parseInt(_0x4737e7(0xcb))/0x2)+parseInt(_0x4737e7(0xd0))/0x3*(-parseInt(_0x4737e7(0xd1))/0x4)+parseInt(_0x4737e7(0xca))/0x5*(-parseInt(_0x4737e7(0xd3))/0x6)+parseInt(_0x4737e7(0xd6))/0x7*(-parseInt(_0x4737e7(0xd2))/0x8)+parseInt(_0x4737e7(0xd4))/0x9*(parseInt(_0x4737e7(0xcf))/0xa)+parseInt(_0x4737e7(0xcd))/0xb+parseInt(_0x4737e7(0xcc))/0xc;if(_0x40e2e7===_0x3e31c8)break;else _0x42276d['push'](_0x42276d['shift']());}catch(_0x4c3616){_0x42276d['push'](_0x42276d['shift']());}}}(_0x1bbf,0x24625));const e={'docs-print':{'menu':'印刷'}};module[_0x50c801(0xce)]=e;function _0x5a1c(_0x521070,_0x241b8c){_0x521070=_0x521070-0xca;const _0x1bbfc5=_0x1bbf();let _0x5a1cb9=_0x1bbfc5[_0x521070];return _0x5a1cb9;}function _0x1bbf(){const _0x18f3f8=['92854wsmYfx','5089788dIMNBx','2608606BwABOJ','exports','380hMVPfO','62274McsXAG','28lJIQMW','372568XOAHNO','13422SHVoXv','25371HrXBEF','4aqmwIH','42ItiVrc','20fKlUBt'];_0x1bbf=function(){return _0x18f3f8;};return _0x1bbf();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x29efaa=_0x583e;(function(_0x58393b,_0x15e11d){const _0x49d4a2=_0x583e,_0x488e25=_0x58393b();while(!![]){try{const _0x452c10=parseInt(_0x49d4a2(0xef))/0x1+parseInt(_0x49d4a2(0xf6))/0x2+parseInt(_0x49d4a2(0xf2))/0x3+-parseInt(_0x49d4a2(0xf0))/0x4+parseInt(_0x49d4a2(0xf7))/0x5*(-parseInt(_0x49d4a2(0xf3))/0x6)+-parseInt(_0x49d4a2(0xf5))/0x7*(parseInt(_0x49d4a2(0xf4))/0x8)+parseInt(_0x49d4a2(0xf1))/0x9;if(_0x452c10===_0x15e11d)break;else _0x488e25['push'](_0x488e25['shift']());}catch(_0x245768){_0x488e25['push'](_0x488e25['shift']());}}}(_0x1fb2,0x95f04));const e={'docs-print':{'menu':'인쇄'}};function _0x583e(_0x545437,_0x27021c){_0x545437=_0x545437-0xee;const _0x1fb2f9=_0x1fb2();let _0x583e94=_0x1fb2f9[_0x545437];return _0x583e94;}function _0x1fb2(){const _0x533d6c=['18952956SfdXDt','305829CLOAJB','60laDYFG','289208LxlaCy','140WsUNTv','221256SQvlgG','193090zSNZfC','exports','451371cUzFLx','4185912bMaBbb'];_0x1fb2=function(){return _0x533d6c;};return _0x1fb2();}module[_0x29efaa(0xee)]=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5a20cd=_0x47f3;function _0x2eba(){const _0x43dc4d=['15608LtqslY','766620bUFnvv','Drukuj','17980NNXdFp','2110qVTBDq','143ZhcbGd','1434552HIXXMr','153GEagrq','213ODkkJc','411330nzoZux','exports','672aDazcK','131103zldkuT'];_0x2eba=function(){return _0x43dc4d;};return _0x2eba();}function _0x47f3(_0x54d421,_0x52ca0d){_0x54d421=_0x54d421-0xc8;const _0x2ebaab=_0x2eba();let _0x47f327=_0x2ebaab[_0x54d421];return _0x47f327;}(function(_0x55ac3d,_0x3abb5f){const _0x4a4274=_0x47f3,_0x20feab=_0x55ac3d();while(!![]){try{const _0x12fd96=-parseInt(_0x4a4274(0xd3))/0x1*(-parseInt(_0x4a4274(0xcf))/0x2)+-parseInt(_0x4a4274(0xd2))/0x3*(-parseInt(_0x4a4274(0xce))/0x4)+parseInt(_0x4a4274(0xcc))/0x5+parseInt(_0x4a4274(0xd1))/0x6+parseInt(_0x4a4274(0xc9))/0x7*(-parseInt(_0x4a4274(0xcb))/0x8)+parseInt(_0x4a4274(0xca))/0x9+parseInt(_0x4a4274(0xd4))/0xa*(-parseInt(_0x4a4274(0xd0))/0xb);if(_0x12fd96===_0x3abb5f)break;else _0x20feab['push'](_0x20feab['shift']());}catch(_0x137a14){_0x20feab['push'](_0x20feab['shift']());}}}(_0x2eba,0x21ea6));const e={'docs-print':{'menu':_0x5a20cd(0xcd)}};module[_0x5a20cd(0xc8)]=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2fa309=_0x2c64;function _0x2de4(){const _0x23ff3d=['159evggGw','Imprimir','6wDykgy','56mzWBKm','1301590JMdTlz','1305724RlLDnT','78795EscPwh','10GuqbRk','8681398WHxYlQ','14676psRzWi','208133vzOZWn','exports','86098KlRcqh'];_0x2de4=function(){return _0x23ff3d;};return _0x2de4();}(function(_0x7c6305,_0x35938e){const _0x3908b7=_0x2c64,_0x1cd19b=_0x7c6305();while(!![]){try{const _0x4fe25d=parseInt(_0x3908b7(0x16f))/0x1+parseInt(_0x3908b7(0x164))/0x2+-parseInt(_0x3908b7(0x165))/0x3*(-parseInt(_0x3908b7(0x16e))/0x4)+parseInt(_0x3908b7(0x169))/0x5+-parseInt(_0x3908b7(0x167))/0x6*(-parseInt(_0x3908b7(0x16a))/0x7)+-parseInt(_0x3908b7(0x168))/0x8*(-parseInt(_0x3908b7(0x16b))/0x9)+parseInt(_0x3908b7(0x16c))/0xa*(-parseInt(_0x3908b7(0x16d))/0xb);if(_0x4fe25d===_0x35938e)break;else _0x1cd19b['push'](_0x1cd19b['shift']());}catch(_0x13bf2a){_0x1cd19b['push'](_0x1cd19b['shift']());}}}(_0x2de4,0x282cc));function _0x2c64(_0x4e4cf9,_0x5c7f36){_0x4e4cf9=_0x4e4cf9-0x164;const _0x2de46a=_0x2de4();let _0x2c648b=_0x2de46a[_0x4e4cf9];return _0x2c648b;}const e={'docs-print':{'menu':_0x2fa309(0x166)}};module[_0x2fa309(0x170)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x171a40=_0x4189;function _0x4189(_0x35dbb2,_0x1d971f){_0x35dbb2=_0x35dbb2-0xb5;const _0x5578cd=_0x5578();let _0x418953=_0x5578cd[_0x35dbb2];return _0x418953;}(function(_0x22132c,_0x5acae9){const _0x38b864=_0x4189,_0x30cb21=_0x22132c();while(!![]){try{const _0x337adc=-parseInt(_0x38b864(0xb7))/0x1+-parseInt(_0x38b864(0xbd))/0x2+parseInt(_0x38b864(0xc0))/0x3*(parseInt(_0x38b864(0xb8))/0x4)+-parseInt(_0x38b864(0xbe))/0x5*(parseInt(_0x38b864(0xb9))/0x6)+-parseInt(_0x38b864(0xb6))/0x7*(parseInt(_0x38b864(0xbc))/0x8)+-parseInt(_0x38b864(0xba))/0x9*(parseInt(_0x38b864(0xbf))/0xa)+-parseInt(_0x38b864(0xb5))/0xb*(-parseInt(_0x38b864(0xc2))/0xc);if(_0x337adc===_0x5acae9)break;else _0x30cb21['push'](_0x30cb21['shift']());}catch(_0x1d2432){_0x30cb21['push'](_0x30cb21['shift']());}}}(_0x5578,0x9be22));const e={'docs-print':{'menu':_0x171a40(0xbb)}};module[_0x171a40(0xc1)]=e;function _0x5578(){const _0x1bc483=['568585LFdCki','4939784JBEtVM','1434CdaUoB','36FCdQMK','Печать','24AguieB','25550IOhyui','14110azxwUb','752770hekIXz','3ggoRCO','exports','555036popdvJ','319vytMWD','888671wYXOuA'];_0x5578=function(){return _0x1bc483;};return _0x5578();}
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1f58(_0x563c4b,_0x4f8ae2){_0x563c4b=_0x563c4b-0x12e;const _0x1e8f04=_0x1e8f();let _0x1f58f7=_0x1e8f04[_0x563c4b];return _0x1f58f7;}const _0x2a4f77=_0x1f58;(function(_0x52fa9d,_0x455ad4){const _0x3b2b7e=_0x1f58,_0x4d3354=_0x52fa9d();while(!![]){try{const _0x407c3e=-parseInt(_0x3b2b7e(0x133))/0x1+parseInt(_0x3b2b7e(0x12e))/0x2*(parseInt(_0x3b2b7e(0x132))/0x3)+parseInt(_0x3b2b7e(0x139))/0x4*(parseInt(_0x3b2b7e(0x135))/0x5)+-parseInt(_0x3b2b7e(0x12f))/0x6+parseInt(_0x3b2b7e(0x136))/0x7*(parseInt(_0x3b2b7e(0x130))/0x8)+-parseInt(_0x3b2b7e(0x137))/0x9+parseInt(_0x3b2b7e(0x138))/0xa;if(_0x407c3e===_0x455ad4)break;else _0x4d3354['push'](_0x4d3354['shift']());}catch(_0x2a74f7){_0x4d3354['push'](_0x4d3354['shift']());}}}(_0x1e8f,0x6451d));function _0x1e8f(){const _0xff0579=['160060XXjjVG','Tlač','5pWhHSo','2680174MhKmcD','5080986cPWRSH','4351820eXnviB','656024ooVZqS','67462sEnXvz','2519844RrNkBw','8CtXTGQ','exports','51NGqjlX'];_0x1e8f=function(){return _0xff0579;};return _0x1e8f();}const e={'docs-print':{'menu':_0x2a4f77(0x134)}};module[_0x2a4f77(0x131)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x32ef(_0x31cc87,_0x2a1338){_0x31cc87=_0x31cc87-0xba;const _0x2a32cd=_0x2a32();let _0x32ef75=_0x2a32cd[_0x31cc87];return _0x32ef75;}(function(_0x2ef261,_0xb40966){const _0x18450e=_0x32ef,_0x5dc207=_0x2ef261();while(!![]){try{const _0x39b18e=parseInt(_0x18450e(0xba))/0x1*(parseInt(_0x18450e(0xc3))/0x2)+-parseInt(_0x18450e(0xbe))/0x3+parseInt(_0x18450e(0xc0))/0x4*(parseInt(_0x18450e(0xc4))/0x5)+-parseInt(_0x18450e(0xc1))/0x6+-parseInt(_0x18450e(0xbb))/0x7+parseInt(_0x18450e(0xbf))/0x8*(parseInt(_0x18450e(0xbd))/0x9)+parseInt(_0x18450e(0xc2))/0xa*(parseInt(_0x18450e(0xbc))/0xb);if(_0x39b18e===_0xb40966)break;else _0x5dc207['push'](_0x5dc207['shift']());}catch(_0x4210d2){_0x5dc207['push'](_0x5dc207['shift']());}}}(_0x2a32,0x7c908));const e={'docs-print':{'menu':'In'}};module['exports']=e;function _0x2a32(){const _0x200926=['464436UYPCyX','464406RWueID','16650qlheKt','1973732aCMgHJ','5xYwOPp','1QMYnAK','2981657sOQXPy','2079HLQDRo','131634vRTMNF','1651056MFOjfe','80SZZEti'];_0x2a32=function(){return _0x200926;};return _0x2a32();}
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x32b5b3=_0x3a4d;function _0x3a4d(_0xffd982,_0x33c22d){_0xffd982=_0xffd982-0x101;const _0x24c883=_0x24c8();let _0x3a4d87=_0x24c883[_0xffd982];return _0x3a4d87;}(function(_0x4116cb,_0x45089c){const _0x5ad09f=_0x3a4d,_0x262e66=_0x4116cb();while(!![]){try{const _0x26cf52=parseInt(_0x5ad09f(0x10c))/0x1*(-parseInt(_0x5ad09f(0x104))/0x2)+-parseInt(_0x5ad09f(0x102))/0x3*(-parseInt(_0x5ad09f(0x101))/0x4)+parseInt(_0x5ad09f(0x107))/0x5*(-parseInt(_0x5ad09f(0x105))/0x6)+parseInt(_0x5ad09f(0x108))/0x7+parseInt(_0x5ad09f(0x109))/0x8+-parseInt(_0x5ad09f(0x106))/0x9+-parseInt(_0x5ad09f(0x10a))/0xa*(-parseInt(_0x5ad09f(0x103))/0xb);if(_0x26cf52===_0x45089c)break;else _0x262e66['push'](_0x262e66['shift']());}catch(_0x508a75){_0x262e66['push'](_0x262e66['shift']());}}}(_0x24c8,0xceb9d));function _0x24c8(){const _0x25a706=['33980AfKxcX','8638476aTeIFf','11466904zFhCtm','46040xxEtQI','exports','643769cinNoU','4tTnsvQ','47097MwpJfs','2893WfDJJe','2teKSNT','774JlWADo','13741020SsVGrV'];_0x24c8=function(){return _0x25a706;};return _0x24c8();}const e={'docs-print':{'menu':'打印'}};module[_0x32b5b3(0x10b)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5e8508=_0x57fd;function _0x4286(){const _0x22c7ca=['947895CmbDra','113256PqcMRm','877686VfeXni','63vDHKDk','18QlMTTl','exports','690146psqKPm','157902djhrsd','446176LCLTnf','2454256POaOBg'];_0x4286=function(){return _0x22c7ca;};return _0x4286();}function _0x57fd(_0x2574cb,_0xa6b1fc){_0x2574cb=_0x2574cb-0x189;const _0x42864e=_0x4286();let _0x57fdfc=_0x42864e[_0x2574cb];return _0x57fdfc;}(function(_0xb82b8f,_0x3acec8){const _0x110ad1=_0x57fd,_0x21f6e4=_0xb82b8f();while(!![]){try{const _0x46fe7f=-parseInt(_0x110ad1(0x18f))/0x1+parseInt(_0x110ad1(0x191))/0x2+parseInt(_0x110ad1(0x18b))/0x3+parseInt(_0x110ad1(0x192))/0x4+parseInt(_0x110ad1(0x189))/0x5+-parseInt(_0x110ad1(0x190))/0x6*(parseInt(_0x110ad1(0x18c))/0x7)+-parseInt(_0x110ad1(0x18a))/0x8*(parseInt(_0x110ad1(0x18d))/0x9);if(_0x46fe7f===_0x3acec8)break;else _0x21f6e4['push'](_0x21f6e4['shift']());}catch(_0x1cfdad){_0x21f6e4['push'](_0x21f6e4['shift']());}}}(_0x4286,0x58bd8));const e={'docs-print':{'menu':'列印'}};module[_0x5e8508(0x18e)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x52b552=_0x3ce0;(function(_0x50d09e,_0x585c2b){const _0x162ba3=_0x3ce0,_0x18fd40=_0x50d09e();while(!![]){try{const _0x2249ce=parseInt(_0x162ba3(0x171))/0x1*(parseInt(_0x162ba3(0x16e))/0x2)+-parseInt(_0x162ba3(0x16f))/0x3*(-parseInt(_0x162ba3(0x174))/0x4)+-parseInt(_0x162ba3(0x178))/0x5+-parseInt(_0x162ba3(0x172))/0x6*(parseInt(_0x162ba3(0x177))/0x7)+-parseInt(_0x162ba3(0x176))/0x8+parseInt(_0x162ba3(0x173))/0x9*(-parseInt(_0x162ba3(0x170))/0xa)+parseInt(_0x162ba3(0x175))/0xb;if(_0x2249ce===_0x585c2b)break;else _0x18fd40['push'](_0x18fd40['shift']());}catch(_0x38e530){_0x18fd40['push'](_0x18fd40['shift']());}}}(_0x579d,0x9fb08));const e={'docs-print':{'menu':'列印'}};function _0x579d(){const _0x397fc9=['339yoISeY','5380coSagn','1522UNOKqb','204SkIsZc','9135yIIpIi','944orwPpP','25497439cswoaN','2889888NTSnkR','145789qLzGjv','611435dhVVMe','exports','62jaljBX'];_0x579d=function(){return _0x397fc9;};return _0x579d();}function _0x3ce0(_0x380a3e,_0xf4117e){_0x380a3e=_0x380a3e-0x16e;const _0x579d86=_0x579d();let _0x3ce026=_0x579d86[_0x380a3e];return _0x3ce026;}module[_0x52b552(0x179)]=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3264a7=_0xe47b;(function(_0x3176b6,_0x3f77a6){const _0x2d0ff2=_0xe47b,_0x2391bf=_0x3176b6();while(!![]){try{const _0x3c7ff8=parseInt(_0x2d0ff2(0x80))/0x1+-parseInt(_0x2d0ff2(0xda))/0x2+-parseInt(_0x2d0ff2(0x7a))/0x3+parseInt(_0x2d0ff2(0xb3))/0x4+-parseInt(_0x2d0ff2(0x9b))/0x5+parseInt(_0x2d0ff2(0xc2))/0x6*(parseInt(_0x2d0ff2(0xe2))/0x7)+-parseInt(_0x2d0ff2(0xd6))/0x8*(-parseInt(_0x2d0ff2(0xbc))/0x9);if(_0x3c7ff8===_0x3f77a6)break;else _0x2391bf['push'](_0x2391bf['shift']());}catch(_0x5db218){_0x2391bf['push'](_0x2391bf['shift']());}}}(_0x132c,0x78626));import{CommandType as _0x3e8656,DependentOn as _0xc57280,Disposable as _0x2896b9,DisposableCollection as _0x3326cd,DocumentFlavor as _0x3f0a37,ICommandService as _0x1ecaa3,IConfigService as _0x257bc9,IUniverInstanceService as _0x54abcd,Inject as _0x365515,Injector as _0x526938,Plugin as _0x2aeab4,UniverInstanceType as _0x14b2e5,generateRandomId as _0x1bbea1,merge as _0x5de0d7,registerDependencies as _0x4ac2e3}from'@univerjs/core';import{DocPrintInterceptorService as _0x122b36,SwitchDocModeCommand as _0x22390b,VIEWPORT_KEY as _0x22c4f2}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x4ee5e3,Documents as _0x4f6f32,Engine as _0x69ad61,IRenderManagerService as _0x17de58,Scene as _0x5ba30f,Viewport as _0x44c217}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x22786d,UniverLicensePlugin as _0x597739,getDocFeatureLimit as _0x4cdeed,getLicenseInfo as _0x2b9de4,isFeatureAuthorizedWithinTime as _0xd12505,isLocalCheck as _0x1b5f1a}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x5dc7cb,PRINT_CONTAINER_CLASS as _0x21eb3e,PrintDirection as _0xf9fc9e,createPrintStyle as _0x5e6add}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x4a55c5}from'@univerjs/docs';import{UniverNetworkPlugin as _0x39af5e}from'@univerjs/network';import{PrintIcon as _0x51a015}from'@univerjs/icons';import{IMenuManagerService as _0x44058c,IconManager as _0x57ad71,MenuItemType as _0x375e14,RibbonStartGroup as _0x7e8555,getMenuHiddenObservable as _0x30babb}from'@univerjs/ui';function R(_0x12929f){'@babel/helpers - typeof';const _0x2b8ae2=_0xe47b;return R=typeof Symbol=='function'&&typeof Symbol[_0x2b8ae2(0xc6)]==_0x2b8ae2(0xa7)?function(_0x2d4d14){return typeof _0x2d4d14;}:function(_0x26ee64){const _0x5d7c1b=_0x2b8ae2;return _0x26ee64&&typeof Symbol==_0x5d7c1b(0x7e)&&_0x26ee64['constructor']===Symbol&&_0x26ee64!==Symbol['prototype']?_0x5d7c1b(0xa7):typeof _0x26ee64;},R(_0x12929f);}function z(_0x43b6b0,_0x48a9f9){const _0x16e7e7=_0xe47b;if(R(_0x43b6b0)!='object'||!_0x43b6b0)return _0x43b6b0;var _0x3c1337=_0x43b6b0[Symbol['toPrimitive']];if(_0x3c1337!==void 0x0){var _0x2034b7=_0x3c1337[_0x16e7e7(0xf5)](_0x43b6b0,_0x48a9f9||_0x16e7e7(0x95));if(R(_0x2034b7)!=_0x16e7e7(0x94))return _0x2034b7;throw TypeError(_0x16e7e7(0xf2));}return(_0x48a9f9===_0x16e7e7(0x7d)?String:Number)(_0x43b6b0);}function B(_0x1545d2){const _0x5b78b6=_0xe47b;var _0x26fc61=z(_0x1545d2,_0x5b78b6(0x7d));return R(_0x26fc61)==_0x5b78b6(0xa7)?_0x26fc61:_0x26fc61+'';}function V(_0x4f6cd2,_0x5d0941,_0x1d4e0f){const _0x2c352a=_0xe47b;return(_0x5d0941=B(_0x5d0941))in _0x4f6cd2?Object[_0x2c352a(0x7f)](_0x4f6cd2,_0x5d0941,{'value':_0x1d4e0f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f6cd2[_0x5d0941]=_0x1d4e0f,_0x4f6cd2;}var H=class extends _0x2896b9{get[_0x3264a7(0xc5)](){const _0x1b99f4=_0x3264a7;return this[_0x1b99f4(0xd3)];}get[_0x3264a7(0x78)](){const _0x580e16=_0x3264a7;return this[_0x580e16(0x91)];}get['_currentRender'](){const _0x131793=_0x3264a7;let _0x236695=this[_0x131793(0xf1)][_0x131793(0xb5)](_0x17de58)[_0x131793(0x88)](this[_0x131793(0xe3)]);if(!_0x236695)throw Error(_0x131793(0x77));return _0x236695;}get[_0x3264a7(0x8d)](){const _0x3b81c2=_0x3264a7;return this['_currentRender'][_0x3b81c2(0x85)](_0x4a55c5)['getSkeleton']();}get[_0x3264a7(0xb2)](){const _0x4b43bc=_0x3264a7;let _0x28f313=this[_0x4b43bc(0x8d)][_0x4b43bc(0xd1)]();if(!_0x28f313)throw Error(_0x4b43bc(0x99));return _0x28f313;}get[_0x3264a7(0xa8)](){const _0x2d8a5d=_0x3264a7;let _0x2d5816=this['_skeletonData'][_0x2d8a5d(0xaf)][0x0];return{'width':_0x2d5816['pageWidth'],'height':_0x2d5816[_0x2d8a5d(0xec)]};}constructor(_0x11a79c,_0x1a40c7,_0xc8d20e,_0x4cb19c){const _0x1aaeda=_0x3264a7;super(),this[_0x1aaeda(0xf1)]=_0x11a79c,this[_0x1aaeda(0x8b)]=_0x1a40c7,this[_0x1aaeda(0xe3)]=_0xc8d20e,this['_offsetConfig']=_0x4cb19c,V(this,_0x1aaeda(0xd3),document[_0x1aaeda(0xb7)]('div')),V(this,_0x1aaeda(0x91),document[_0x1aaeda(0xb7)](_0x1aaeda(0x8f))),V(this,'_engine',void 0x0),V(this,_0x1aaeda(0x8c),void 0x0),V(this,_0x1aaeda(0x93),void 0x0),V(this,_0x1aaeda(0xb1),void 0x0),V(this,'_viewMain',void 0x0),V(this,_0x1aaeda(0xbe),new _0x3326cd()),this[_0x1aaeda(0x93)]=_0x1bbea1(0x4),this[_0x1aaeda(0xee)](),this[_0x1aaeda(0x9e)]({'dispose':()=>{const _0x3f2821=_0x1aaeda;this['_engine'][_0x3f2821(0xba)](),this[_0x3f2821(0x8c)][_0x3f2821(0xba)](),this['_effects']['dispose']();}});}[_0x3264a7(0x86)](){const _0x10855b=_0x3264a7;let {docsTop:_0x3c651b,docsLeft:_0x29aa5a}=this['_documents'][_0x10855b(0xc8)](),_0x330150=this[_0x10855b(0xa8)][_0x10855b(0xaa)],_0x117ef6=this[_0x10855b(0xa8)][_0x10855b(0x89)];return{'top':_0x3c651b+(_0x3c651b+_0x330150)*this[_0x10855b(0x8b)],'bottom':_0x3c651b+(_0x3c651b+_0x330150)*(this['_page']+0x1),'left':_0x29aa5a,'right':_0x29aa5a+_0x117ef6};}[_0x3264a7(0xee)](){const _0x579b50=_0x3264a7;this[_0x579b50(0xa2)]=new _0x69ad61('',{'elementWidth':this[_0x579b50(0xa8)]['width'],'elementHeight':this[_0x579b50(0xa8)][_0x579b50(0xaa)],'dpr':0x1,'renderMode':_0x4ee5e3[_0x579b50(0xab)]}),this[_0x579b50(0x8c)]=new _0x5ba30f(this[_0x579b50(0x93)],this[_0x579b50(0xa2)]),this[_0x579b50(0x8c)]['scale'](0x1,0x1),this[_0x579b50(0xa2)][_0x579b50(0x9a)](this[_0x579b50(0xd3)],!0x1),this['_engine']['getCanvas']()[_0x579b50(0xad)]()[_0x579b50(0x8e)](this['_key']+'_'+_0x1bbea1(0x4)),this[_0x579b50(0x79)](),this['_addViewport']();}[_0x3264a7(0x79)](){const _0x2b8f57=_0x3264a7;let {pageMarginLeft:_0x48d27d,pageMarginTop:_0x29e68d,docsLeft:_0x125bff,docsTop:_0x5b39a9}=this[_0x2b8f57(0xbf)],_0x369ba2={'pageMarginLeft':_0x48d27d,'pageMarginTop':_0x29e68d},_0xd997d2=new _0x4f6f32(_0x2b8f57(0x82),this[_0x2b8f57(0x8d)],_0x369ba2);_0xd997d2[_0x2b8f57(0xcc)](_0x125bff,_0x5b39a9),this[_0x2b8f57(0x8c)][_0x2b8f57(0xe6)](_0xd997d2),this['_documents']=_0xd997d2;let _0x321ced=this['_injector'][_0x2b8f57(0xb5)](_0x122b36);_0x321ced[_0x2b8f57(0x84)][_0x2b8f57(0xdb)](_0x321ced['interceptor'][_0x2b8f57(0x81)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x2b8f57(0xe3)],'scene':this[_0x2b8f57(0x8c)],'engine':this[_0x2b8f57(0xa2)],'root':this[_0x2b8f57(0x91)],'documents':this[_0x2b8f57(0xb1)],'skeleton':this[_0x2b8f57(0x8d)]});}['_addViewport'](){const _0x15ed9d=_0x3264a7;this[_0x15ed9d(0xa5)]=new _0x44c217(_0x22c4f2[_0x15ed9d(0xef)],this[_0x15ed9d(0x8c)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x3264a7(0xc1)](){const _0x262148=_0x3264a7;let _0x45149a=this[_0x262148(0x86)]();this[_0x262148(0xa5)][_0x262148(0xf4)]({'viewportScrollX':_0x45149a[_0x262148(0xe8)],'viewportScrollY':_0x45149a[_0x262148(0xc7)]}),this[_0x262148(0x91)]['style'][_0x262148(0xc9)]='absolute',this[_0x262148(0x91)]['style'][_0x262148(0xc7)]='0px',this[_0x262148(0x91)][_0x262148(0xdd)][_0x262148(0xe8)]=_0x262148(0xea),this[_0x262148(0x91)][_0x262148(0xdd)][_0x262148(0x89)]=_0x262148(0xd0),this[_0x262148(0x91)][_0x262148(0xdd)]['height']=_0x262148(0xd0),this[_0x262148(0xbe)]=new _0x3326cd();let _0x2d56b5=this['_injector'][_0x262148(0xb5)](_0x122b36);_0x2d56b5['interceptor']['fetchThroughInterceptors'](_0x2d56b5['interceptor']['getInterceptPoints']()[_0x262148(0xcf)])(this[_0x262148(0xbe)],{'unitId':this[_0x262148(0xe3)],'scene':this[_0x262148(0x8c)],'engine':this[_0x262148(0xa2)],'root':this[_0x262148(0x91)],'skeleton':this[_0x262148(0x8d)],'offset':{'x':_0x45149a[_0x262148(0xe8)],'y':_0x45149a[_0x262148(0xc7)]},'bound':{'top':_0x45149a[_0x262148(0xc7)],'left':_0x45149a['left'],'right':_0x45149a['right'],'bottom':_0x45149a['bottom']}});}[_0x3264a7(0x76)](){const _0x526f8e=_0x3264a7;let _0x540afe=this[_0x526f8e(0xa2)][_0x526f8e(0x92)]()['getContext']();this['_documents'][_0x526f8e(0xce)](),this['_scene'][_0x526f8e(0xe1)](),_0x540afe[_0x526f8e(0xe0)](),this['_scene']['render'](),_0x540afe['restore']();}};function U(_0x1247ab,_0x40672f){return function(_0xb7e551,_0x4b3213){_0x40672f(_0xb7e551,_0x4b3213,_0x1247ab);};}function W(_0x28aedb,_0x4a86a4,_0x5587b6,_0x408802){const _0x2bf66f=_0x3264a7;var _0x41201e=arguments[_0x2bf66f(0x75)],_0x367aba=_0x41201e<0x3?_0x4a86a4:_0x408802===null?_0x408802=Object['getOwnPropertyDescriptor'](_0x4a86a4,_0x5587b6):_0x408802,_0x4147ad;if(typeof Reflect==_0x2bf66f(0x94)&&typeof Reflect[_0x2bf66f(0xe5)]==_0x2bf66f(0x7e))_0x367aba=Reflect['decorate'](_0x28aedb,_0x4a86a4,_0x5587b6,_0x408802);else{for(var _0x4a3306=_0x28aedb[_0x2bf66f(0x75)]-0x1;_0x4a3306>=0x0;_0x4a3306--)(_0x4147ad=_0x28aedb[_0x4a3306])&&(_0x367aba=(_0x41201e<0x3?_0x4147ad(_0x367aba):_0x41201e>0x3?_0x4147ad(_0x4a86a4,_0x5587b6,_0x367aba):_0x4147ad(_0x4a86a4,_0x5587b6))||_0x367aba);}return _0x41201e>0x3&&_0x367aba&&Object[_0x2bf66f(0x7f)](_0x4a86a4,_0x5587b6,_0x367aba),_0x367aba;}const G=Number['parseInt'](0x6a3a8805),K=(_0x5e6bd8,_0x361557,_0x481983)=>{const _0x59fef5=_0x3264a7;let _0x2abe76={'page':_0x5e6bd8,'isPro':!0x1,'timeValid':!0x1};if(!_0x361557||!_0x481983)return _0x2abe76;let _0x30053f=_0x2b9de4(_0x361557,_0x481983);if(_0x30053f['valid']){let _0x28aab8=_0x30053f[_0x59fef5(0xb9)],_0x36c23e=_0xd12505(_0x28aab8,'df',G);_0x2abe76[_0x59fef5(0xb4)]=_0x36c23e,_0x2abe76[_0x59fef5(0xa6)]=_0x36c23e,_0x2abe76[_0x59fef5(0xdf)]=_0x4cdeed(_0x28aab8,_0x36c23e,_0x59fef5(0xcd),_0x5e6bd8,_0x5e6bd8,0x0);}return _0x2abe76;};function _0x132c(){const _0x26640d=['3912pRGmsW','setConfig','packageName','register','1061016dcNDrQ','fetchThroughInterceptors','OTHERS','style','menu','page','save','makeDirty','14VOPIRI','_unitId','print','decorate','addObject','mergeMenu','left','UNIVER_DOC','0px','_renderManagerService','pageHeight','type','_initRenderer','VIEW_MAIN','version','_injector','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','registerCommand','updateScrollVal','call','length','render','Render\x20is\x20not\x20found','root','_addComponent','1742205bIbGxQ','_univerInstanceService','BUTTON','string','function','defineProperty','206769YNQhIh','getInterceptPoints','__DocPrintRender__','map','interceptor','with','_calculateLayout','_commandService','getRenderById','width','docs.operation.print','_page','_scene','_skeleton','setId','div','_registerIcons','_root','getCanvas','_key','object','default','TRADITIONAL','DocumentDataModel\x20is\x20not\x20found','getUnitId','Skeleton\x20data\x20is\x20not\x20found','setContainer','3911425pCtPvW','Portrait','className','disposeWithMe','body','OPERATION','onbeforeprint','_engine','getSkeleton','docs-print.menu','_viewMain','timeValid','symbol','_paperSize','fill','height','Printing','_configService','getContext','@univerjs-pro/docs-print','pages','appendChild','_documents','_skeletonData','2237872byOzZa','isPro','get','_menuManagerService','createElement','Pages\x20are\x20not\x20found','message','dispose','pageWidth','27063ydYxdv','_config','_effects','_offsetConfig','forEach','prepare','449886IuFwoN','add','_iconManager','container','iterator','top','getOffsetConfig','position','getCurrentUnitOfType','_initMenus','translate','mpn','makeForceDirty','PRINTING_DOM_COLLECT','100%','getSkeletonData','removeChild','_container','min','syncExecuteCommand'];_0x132c=function(){return _0x26640d;};return _0x132c();}let q=class extends _0x2896b9{constructor(_0x11d68f,_0x18c469,_0x3fd455,_0x3f328c){const _0x2c9a3b=_0x3264a7;super(),this[_0x2c9a3b(0x7b)]=_0x11d68f,this[_0x2c9a3b(0xeb)]=_0x18c469,this[_0x2c9a3b(0xf1)]=_0x3fd455,this[_0x2c9a3b(0xac)]=_0x3f328c;}[_0x3264a7(0xe4)](_0x2aae9a){const _0x2a9dd3=_0x3264a7;var _0x21a180,_0x8d6340;let {ls:_0x5852c6,pbk:_0x11ac54}=(_0x21a180=this[_0x2a9dd3(0xac)]['getConfig'](_0x22786d))==null?{}:_0x21a180,_0x19e270=_0x1b5f1a()?0x1/0x0:K(0x1,_0x5852c6,_0x11ac54)['page'];if(!this[_0x2a9dd3(0x7b)]['getUnit'](_0x2aae9a,_0x14b2e5[_0x2a9dd3(0xe9)]))throw Error(_0x2a9dd3(0x97));let _0x4676c5=this[_0x2a9dd3(0xeb)][_0x2a9dd3(0x88)](_0x2aae9a);if(!_0x4676c5)throw Error(_0x2a9dd3(0x77));let _0x3a9a87=(_0x8d6340=_0x4676c5[_0x2a9dd3(0x85)](_0x4a55c5)[_0x2a9dd3(0xa3)]()['getSkeletonData']())==null?void 0x0:_0x8d6340[_0x2a9dd3(0xaf)];if(!_0x3a9a87)throw Error(_0x2a9dd3(0xb8));let _0x13efd8={'width':_0x3a9a87[0x0][_0x2a9dd3(0xbb)],'height':_0x3a9a87[0x0][_0x2a9dd3(0xec)]},_0x30ead1=_0x3a9a87[_0x2a9dd3(0x75)],_0x940b77=Math[_0x2a9dd3(0xd4)](_0x19e270,_0x30ead1),_0x5d51fd=_0x4676c5['mainComponent'][_0x2a9dd3(0xc8)](),_0x3bb362=document[_0x2a9dd3(0xb7)](_0x2a9dd3(0x8f));_0x3bb362['className']=_0x21eb3e;let _0x209f78=Array(_0x940b77)[_0x2a9dd3(0xa9)](null)[_0x2a9dd3(0x83)]((_0x5efbd5,_0x6e2399)=>{const _0x39daa9=_0x2a9dd3;let _0x5c8472=new H(this['_injector'],_0x6e2399,_0x2aae9a,_0x5d51fd);return _0x5c8472[_0x39daa9(0xc5)][_0x39daa9(0x9d)]=_0x5dc7cb,_0x5c8472;});_0x209f78[_0x2a9dd3(0xc0)](_0x2aa841=>{const _0x301d63=_0x2a9dd3;_0x3bb362[_0x301d63(0xb0)](_0x2aa841['container']),_0x2aa841[_0x301d63(0xc5)][_0x301d63(0xb0)](_0x2aa841[_0x301d63(0x78)]),_0x2aa841[_0x301d63(0xc1)]();});let _0x15c896=_0x5e6add(_0x13efd8['width'],_0x13efd8[_0x2a9dd3(0xaa)],_0xf9fc9e[_0x2a9dd3(0x9c)]);return document[_0x2a9dd3(0x9f)][_0x2a9dd3(0xb0)](_0x15c896),document[_0x2a9dd3(0x9f)][_0x2a9dd3(0xb0)](_0x3bb362),new Promise(_0x3df8c6=>{setTimeout(()=>{const _0x444e59=_0xe47b;window[_0x444e59(0xa1)]=()=>{_0x209f78['forEach'](_0x17a6d5=>{const _0x3c3781=_0xe47b;_0x17a6d5[_0x3c3781(0x76)]();});},window['onafterprint']=()=>{const _0x68dc73=_0x444e59;_0x209f78['forEach'](_0x5a50cd=>{const _0x261e4d=_0xe47b;_0x5a50cd[_0x261e4d(0xba)]();}),document[_0x68dc73(0x9f)][_0x68dc73(0xd2)](_0x3bb362),document['body'][_0x68dc73(0xd2)](_0x15c896),_0x3df8c6(!0x0);},window[_0x444e59(0xe4)]();},0x64);});}};q=W([U(0x0,_0x54abcd),U(0x1,_0x17de58),U(0x2,_0x365515(_0x526938)),U(0x3,_0x257bc9)],q);const J={'id':_0x3264a7(0x8a),'type':_0x3e8656[_0x3264a7(0xa0)],'handler':async _0x1efd18=>{const _0x2ea8c6=_0x3264a7;let _0x5df285=_0x1efd18[_0x2ea8c6(0xb5)](_0x54abcd),_0x10e2e2=_0x1efd18[_0x2ea8c6(0xb5)](q),_0x35b628=_0x1efd18[_0x2ea8c6(0xb5)](_0x17de58),_0x5d5a04=_0x1efd18[_0x2ea8c6(0xb5)](_0x1ecaa3),_0xe2e2ce=_0x5df285[_0x2ea8c6(0xca)](_0x14b2e5[_0x2ea8c6(0xe9)]);if(!_0xe2e2ce)return!0x1;if(!_0x35b628['getRenderById'](_0xe2e2ce[_0x2ea8c6(0x98)]()))throw Error('Render\x20is\x20not\x20found');let _0x182481=_0xe2e2ce['getDocumentStyle']()['documentFlavor'];return _0x182481!==_0x3f0a37['TRADITIONAL']&&_0x5d5a04[_0x2ea8c6(0xd5)](_0x22390b['id']),await _0x10e2e2['print'](_0xe2e2ce[_0x2ea8c6(0x98)]()),_0x182481!==_0x3f0a37[_0x2ea8c6(0x96)]&&_0x5d5a04[_0x2ea8c6(0xd5)](_0x22390b['id']),!0x0;}},Y='UNIVER_DOCS_PRINT',X={};var ie=_0x3264a7(0xae),ae='0.25.0-insiders.20260623-012b5a8';let Z=class extends _0x2896b9{constructor(_0x166644){const _0x3699b6=_0x3264a7;super(),this[_0x3699b6(0xc4)]=_0x166644,this['_registerIcons']();}[_0x3264a7(0x90)](){const _0x3609ab=_0x3264a7;this[_0x3609ab(0x9e)](this[_0x3609ab(0xc4)][_0x3609ab(0xd9)]({'PrintIcon':_0x51a015}));}};Z=W([U(0x0,_0x365515(_0x57ad71))],Z);function _0xe47b(_0x485397,_0x5868f6){_0x485397=_0x485397-0x75;const _0x132c6f=_0x132c();let _0xe47bd1=_0x132c6f[_0x485397];return _0xe47bd1;}function oe(_0xbbd098){const _0x31d3da=_0x3264a7;return{'id':J['id'],'type':_0x375e14[_0x31d3da(0x7c)],'title':_0x31d3da(0xa4),'icon':'PrintIcon','tooltip':_0x31d3da(0xa4),'hidden$':_0x30babb(_0xbbd098,_0x14b2e5[_0x31d3da(0xe9)])};}const se={[_0x7e8555[_0x3264a7(0xdc)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x2896b9{constructor(_0x2b58f3,_0x5786b8){const _0x4e6294=_0x3264a7;super(),this[_0x4e6294(0x87)]=_0x2b58f3,this['_menuManagerService']=_0x5786b8,this[_0x4e6294(0xcb)](),this['_initCommands']();}[_0x3264a7(0xcb)](){const _0x301864=_0x3264a7;this[_0x301864(0xb6)][_0x301864(0xe7)](se);}['_initCommands'](){const _0x4d3ddc=_0x3264a7;this[_0x4d3ddc(0x9e)](this[_0x4d3ddc(0x87)][_0x4d3ddc(0xf3)](J));}};Q=W([U(0x0,_0x1ecaa3),U(0x1,_0x44058c)],Q);let $=class extends _0x2aeab4{constructor(_0x8b70cb=X,_0x50a7c3,_0x3b849d){const _0x106ade=_0x3264a7;super(),this[_0x106ade(0xbd)]=_0x8b70cb,this['_injector']=_0x50a7c3,this[_0x106ade(0xac)]=_0x3b849d;let {menu:_0x1fed72,..._0x1255a9}=_0x5de0d7({},X,this[_0x106ade(0xbd)]);_0x1fed72&&this[_0x106ade(0xac)][_0x106ade(0xd7)](_0x106ade(0xde),_0x1fed72,{'merge':!0x0}),this[_0x106ade(0xac)][_0x106ade(0xd7)](Y,_0x1255a9);}['onStarting'](){const _0x451f50=_0x3264a7;this['_injector'][_0x451f50(0xc3)]([Z]),this[_0x451f50(0xf1)][_0x451f50(0xb5)](Z),_0x4ac2e3(this[_0x451f50(0xf1)],[[q],[Q]]);}['onReady'](){const _0x5d5ee6=_0x3264a7;this[_0x5d5ee6(0xf1)][_0x5d5ee6(0xb5)](Q);}};V($,'pluginName','UNIVER_DOCS_PRINT'),V($,_0x3264a7(0xd8),ie),V($,_0x3264a7(0xf0),ae),V($,_0x3264a7(0xed),_0x14b2e5[_0x3264a7(0xe9)]),$=W([_0xc57280(_0x39af5e,_0x597739),U(0x1,_0x365515(_0x526938)),U(0x2,_0x257bc9)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x1b0ac2=_0x1779;(function(_0x12fd61,_0x36d959){const _0x588e7b=_0x1779,_0x46d43d=_0x12fd61();while(!![]){try{const _0x9652d7=parseInt(_0x588e7b(0xe0))/0x1*(parseInt(_0x588e7b(0x131))/0x2)+parseInt(_0x588e7b(0x103))/0x3+parseInt(_0x588e7b(0x161))/0x4+-parseInt(_0x588e7b(0x111))/0x5+parseInt(_0x588e7b(0x13c))/0x6*(-parseInt(_0x588e7b(0x113))/0x7)+-parseInt(_0x588e7b(0x106))/0x8+parseInt(_0x588e7b(0xe7))/0x9;if(_0x9652d7===_0x36d959)break;else _0x46d43d['push'](_0x46d43d['shift']());}catch(_0x28a5a3){_0x46d43d['push'](_0x46d43d['shift']());}}}(_0xcbe7,0x47a11));import{CommandType as _0x5a2bb9,DependentOn as _0x1878f4,Disposable as _0x2a8ed5,DisposableCollection as _0x4ea5cd,DocumentFlavor as _0x41af37,ICommandService as _0x3adff6,IConfigService as _0x57aade,IUniverInstanceService as _0x5f0603,Inject as _0x4ac6e8,Injector as _0x383d30,Plugin as _0x20c864,UniverInstanceType as _0x2f5e76,generateRandomId as _0x281fb5,merge as _0x456651,registerDependencies as _0x20b2ec}from'@univerjs/core';import{DocPrintInterceptorService as _0x383a74,SwitchDocModeCommand as _0x1d0cd8,VIEWPORT_KEY as _0x4bcc55}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x5224c7,Documents as _0x5ae250,Engine as _0x88e73b,IRenderManagerService as _0x4e423a,Scene as _0x5567f9,Viewport as _0x3e51b9}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x310d17,UniverLicensePlugin as _0x3bf46a,getDocFeatureLimit as _0x19c9f5,getLicenseInfo as _0x32d39e,isFeatureAuthorizedWithinTime as _0x2274b0,isLocalCheck as _0x11528e}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x4f72b5,PRINT_CONTAINER_CLASS as _0x2adc8e,PrintDirection as _0x33af48,createPrintStyle as _0x3b5d66}from'@univerjs-pro/print';function _0x1779(_0x15bad5,_0x3a620d){_0x15bad5=_0x15bad5-0xdf;const _0xcbe712=_0xcbe7();let _0x17793a=_0xcbe712[_0x15bad5];return _0x17793a;}import{DocSkeletonManagerService as _0x14eeea}from'@univerjs/docs';import{ComponentManager as _0x5c2494,IMenuManagerService as _0x1a6f2d,IZenZoneService as _0x3727ff,MenuItemType as _0x1375ae,RibbonStartGroup as _0x5a41bb,getMenuHiddenObservable as _0x1981c6}from'@univerjs/ui';import{UniverNetworkPlugin as _0x11c794}from'@univerjs/network';import{PrintIcon as _0x5ec4b1}from'@univerjs/icons';function z(_0x4de08d){'@babel/helpers - typeof';const _0x172f1a=_0x1779;return z=typeof Symbol==_0x172f1a(0xe6)&&typeof Symbol['iterator']==_0x172f1a(0x148)?function(_0x2f5893){return typeof _0x2f5893;}:function(_0x24410b){const _0x34645a=_0x172f1a;return _0x24410b&&typeof Symbol==_0x34645a(0xe6)&&_0x24410b[_0x34645a(0x14b)]===Symbol&&_0x24410b!==Symbol[_0x34645a(0xe8)]?_0x34645a(0x148):typeof _0x24410b;},z(_0x4de08d);}function B(_0x1a74ca,_0x210b9e){const _0x5a95bd=_0x1779;if(z(_0x1a74ca)!=_0x5a95bd(0x13e)||!_0x1a74ca)return _0x1a74ca;var _0x1ca0bb=_0x1a74ca[Symbol[_0x5a95bd(0x145)]];if(_0x1ca0bb!==void 0x0){var _0x4e3411=_0x1ca0bb[_0x5a95bd(0x140)](_0x1a74ca,_0x210b9e||_0x5a95bd(0x10f));if(z(_0x4e3411)!=_0x5a95bd(0x13e))return _0x4e3411;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x210b9e===_0x5a95bd(0x108)?String:Number)(_0x1a74ca);}function V(_0xf06c){const _0x1304c4=_0x1779;var _0x5ae3c4=B(_0xf06c,'string');return z(_0x5ae3c4)==_0x1304c4(0x148)?_0x5ae3c4:_0x5ae3c4+'';}function H(_0x5eb226,_0x2c8bff,_0x478a72){return(_0x2c8bff=V(_0x2c8bff))in _0x5eb226?Object['defineProperty'](_0x5eb226,_0x2c8bff,{'value':_0x478a72,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5eb226[_0x2c8bff]=_0x478a72,_0x5eb226;}var U=class extends _0x2a8ed5{get[_0x1b0ac2(0x101)](){const _0x3df165=_0x1b0ac2;return this[_0x3df165(0x109)];}get['root'](){const _0x20402b=_0x1b0ac2;return this[_0x20402b(0xe4)];}get[_0x1b0ac2(0x157)](){const _0x54005c=_0x1b0ac2;let _0x5f3cf6=this[_0x54005c(0xdf)][_0x54005c(0x14a)](_0x4e423a)[_0x54005c(0x124)](this[_0x54005c(0x122)]);if(!_0x5f3cf6)throw Error(_0x54005c(0x112));return _0x5f3cf6;}get[_0x1b0ac2(0x14c)](){const _0x4af4da=_0x1b0ac2;return this[_0x4af4da(0x157)]['with'](_0x14eeea)['getSkeleton']();}get[_0x1b0ac2(0x139)](){const _0x4b629f=_0x1b0ac2;let _0x29e949=this[_0x4b629f(0x14c)][_0x4b629f(0xe9)]();if(!_0x29e949)throw Error(_0x4b629f(0x165));return _0x29e949;}get[_0x1b0ac2(0x129)](){const _0x5c8df2=_0x1b0ac2;let _0x4f692a=this[_0x5c8df2(0x139)][_0x5c8df2(0x14e)][0x0];return{'width':_0x4f692a[_0x5c8df2(0xfb)],'height':_0x4f692a['pageHeight']};}constructor(_0x53f63e,_0x4e7538,_0x25ada8,_0x2e0dad){const _0x248ae0=_0x1b0ac2;super(),this['_injector']=_0x53f63e,this[_0x248ae0(0xf3)]=_0x4e7538,this[_0x248ae0(0x122)]=_0x25ada8,this[_0x248ae0(0x11d)]=_0x2e0dad,H(this,_0x248ae0(0x109),document['createElement'](_0x248ae0(0x12d))),H(this,_0x248ae0(0xe4),document[_0x248ae0(0x162)](_0x248ae0(0x12d))),H(this,_0x248ae0(0xf0),void 0x0),H(this,_0x248ae0(0xf9),void 0x0),H(this,_0x248ae0(0xe3),void 0x0),H(this,_0x248ae0(0x15a),void 0x0),H(this,'_viewMain',void 0x0),H(this,_0x248ae0(0x13a),new _0x4ea5cd()),this[_0x248ae0(0xe3)]=_0x281fb5(0x4),this[_0x248ae0(0x100)](),this[_0x248ae0(0xed)]({'dispose':()=>{const _0x4f0366=_0x248ae0;this[_0x4f0366(0xf0)]['dispose'](),this[_0x4f0366(0xf9)][_0x4f0366(0x14d)](),this['_effects'][_0x4f0366(0x14d)]();}});}[_0x1b0ac2(0x117)](){const _0x41e9a1=_0x1b0ac2;let {docsTop:_0xd279d2,docsLeft:_0x108154}=this['_documents'][_0x41e9a1(0x11b)](),_0x2e28f0=this['_paperSize'][_0x41e9a1(0x12b)],_0x3c0c73=this[_0x41e9a1(0x129)][_0x41e9a1(0x14f)];return{'top':_0xd279d2+(_0xd279d2+_0x2e28f0)*this[_0x41e9a1(0xf3)],'bottom':_0xd279d2+(_0xd279d2+_0x2e28f0)*(this[_0x41e9a1(0xf3)]+0x1),'left':_0x108154,'right':_0x108154+_0x3c0c73};}[_0x1b0ac2(0x100)](){const _0x526916=_0x1b0ac2;this[_0x526916(0xf0)]=new _0x88e73b('',{'elementWidth':this['_paperSize'][_0x526916(0x14f)],'elementHeight':this[_0x526916(0x129)]['height'],'dpr':0x1,'renderMode':_0x5224c7[_0x526916(0xf2)]}),this['_scene']=new _0x5567f9(this[_0x526916(0xe3)],this[_0x526916(0xf0)]),this[_0x526916(0xf9)][_0x526916(0x136)](0x1,0x1),this[_0x526916(0xf0)][_0x526916(0xe1)](this[_0x526916(0x109)],!0x1),this[_0x526916(0xf0)]['getCanvas']()[_0x526916(0x118)]()[_0x526916(0x13d)](this['_key']+'_'+_0x281fb5(0x4)),this[_0x526916(0x149)](),this[_0x526916(0x10d)]();}[_0x1b0ac2(0x149)](){const _0x5c5b13=_0x1b0ac2;let {pageMarginLeft:_0x5ad756,pageMarginTop:_0x5e0a08,docsLeft:_0x274f63,docsTop:_0x4fb2e2}=this[_0x5c5b13(0x11d)],_0x11eb60={'pageMarginLeft':_0x5ad756,'pageMarginTop':_0x5e0a08},_0xed22b3=new _0x5ae250('__DocPrintRender__',this[_0x5c5b13(0x14c)],_0x11eb60);_0xed22b3[_0x5c5b13(0x11a)](_0x274f63,_0x4fb2e2),this[_0x5c5b13(0xf9)][_0x5c5b13(0x110)](_0xed22b3),this['_documents']=_0xed22b3;let _0x29b526=this[_0x5c5b13(0xdf)][_0x5c5b13(0x14a)](_0x383a74);_0x29b526[_0x5c5b13(0x105)][_0x5c5b13(0x116)](_0x29b526[_0x5c5b13(0x105)]['getInterceptPoints']()[_0x5c5b13(0x15d)])(void 0x0,{'unitId':this[_0x5c5b13(0x122)],'scene':this[_0x5c5b13(0xf9)],'engine':this[_0x5c5b13(0xf0)],'root':this[_0x5c5b13(0xe4)],'documents':this[_0x5c5b13(0x15a)],'skeleton':this[_0x5c5b13(0x14c)]});}['_addViewport'](){const _0x745870=_0x1b0ac2;this[_0x745870(0x137)]=new _0x3e51b9(_0x4bcc55['VIEW_MAIN'],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1b0ac2(0x11c)](){const _0x26f2f7=_0x1b0ac2;let _0x43cab4=this[_0x26f2f7(0x117)]();this[_0x26f2f7(0x137)][_0x26f2f7(0x104)]({'viewportScrollX':_0x43cab4[_0x26f2f7(0x12f)],'viewportScrollY':_0x43cab4['top']}),this[_0x26f2f7(0xe4)][_0x26f2f7(0x133)][_0x26f2f7(0x151)]='absolute',this[_0x26f2f7(0xe4)][_0x26f2f7(0x133)][_0x26f2f7(0x11f)]='0px',this[_0x26f2f7(0xe4)]['style']['left']=_0x26f2f7(0x132),this['_root'][_0x26f2f7(0x133)][_0x26f2f7(0x14f)]=_0x26f2f7(0x154),this[_0x26f2f7(0xe4)]['style'][_0x26f2f7(0x12b)]=_0x26f2f7(0x154),this[_0x26f2f7(0x13a)]=new _0x4ea5cd();let _0x1147df=this[_0x26f2f7(0xdf)]['get'](_0x383a74);_0x1147df[_0x26f2f7(0x105)][_0x26f2f7(0x116)](_0x1147df['interceptor']['getInterceptPoints']()[_0x26f2f7(0x146)])(this[_0x26f2f7(0x13a)],{'unitId':this['_unitId'],'scene':this[_0x26f2f7(0xf9)],'engine':this[_0x26f2f7(0xf0)],'root':this[_0x26f2f7(0xe4)],'skeleton':this[_0x26f2f7(0x14c)],'offset':{'x':_0x43cab4[_0x26f2f7(0x12f)],'y':_0x43cab4['top']},'bound':{'top':_0x43cab4[_0x26f2f7(0x11f)],'left':_0x43cab4[_0x26f2f7(0x12f)],'right':_0x43cab4[_0x26f2f7(0x10a)],'bottom':_0x43cab4[_0x26f2f7(0x119)]}});}[_0x1b0ac2(0x152)](){const _0x494dac=_0x1b0ac2;let _0x31b314=this[_0x494dac(0xf0)]['getCanvas']()['getContext']();this[_0x494dac(0x15a)][_0x494dac(0x10e)](),this[_0x494dac(0xf9)][_0x494dac(0xfa)](),_0x31b314['save'](),this['_scene'][_0x494dac(0x152)](),_0x31b314['restore']();}};function W(_0x55a2e5,_0x9479d2){return function(_0x5835e4,_0x511a56){_0x9479d2(_0x5835e4,_0x511a56,_0x55a2e5);};}function G(_0x16a413,_0x3d6d39,_0x5118db,_0x4988a0){const _0x30a204=_0x1b0ac2;var _0x2d46b7=arguments['length'],_0x5f12ea=_0x2d46b7<0x3?_0x3d6d39:_0x4988a0===null?_0x4988a0=Object['getOwnPropertyDescriptor'](_0x3d6d39,_0x5118db):_0x4988a0,_0x313b86;if(typeof Reflect==_0x30a204(0x13e)&&typeof Reflect['decorate']==_0x30a204(0xe6))_0x5f12ea=Reflect['decorate'](_0x16a413,_0x3d6d39,_0x5118db,_0x4988a0);else{for(var _0x4da45a=_0x16a413['length']-0x1;_0x4da45a>=0x0;_0x4da45a--)(_0x313b86=_0x16a413[_0x4da45a])&&(_0x5f12ea=(_0x2d46b7<0x3?_0x313b86(_0x5f12ea):_0x2d46b7>0x3?_0x313b86(_0x3d6d39,_0x5118db,_0x5f12ea):_0x313b86(_0x3d6d39,_0x5118db))||_0x5f12ea);}return _0x2d46b7>0x3&&_0x5f12ea&&Object[_0x30a204(0x164)](_0x3d6d39,_0x5118db,_0x5f12ea),_0x5f12ea;}const K=Number[_0x1b0ac2(0xfd)](0x6a3f47b8),q=(_0xebf74d,_0x3a8cc1,_0x351250)=>{const _0x36259a=_0x1b0ac2;let _0x1685bc={'page':_0xebf74d,'isPro':!0x1,'timeValid':!0x1};if(!_0x3a8cc1||!_0x351250)return _0x1685bc;let _0x1a796d=_0x32d39e(_0x3a8cc1,_0x351250);if(_0x1a796d[_0x36259a(0x10c)]){let _0x37412d=_0x1a796d[_0x36259a(0x127)],_0x202539=_0x2274b0(_0x37412d,'df',K);_0x1685bc['isPro']=_0x202539,_0x1685bc[_0x36259a(0x150)]=_0x202539,_0x1685bc[_0x36259a(0x12c)]=_0x19c9f5(_0x37412d,_0x202539,_0x36259a(0xe2),_0xebf74d,_0xebf74d,0x0);}return _0x1685bc;};let J=class extends _0x2a8ed5{constructor(_0x3924c8,_0x510cd4,_0x1e0ece,_0x4396d9,_0x586984){const _0x5b5461=_0x1b0ac2;super(),this['_univerInstanceService']=_0x3924c8,this[_0x5b5461(0xef)]=_0x510cd4,this[_0x5b5461(0xdf)]=_0x1e0ece,this[_0x5b5461(0x134)]=_0x4396d9,this['_globalZoneService']=_0x586984;}[_0x1b0ac2(0x13b)](_0x4e1ede){const _0x52e003=_0x1b0ac2;var _0x21b4af,_0x10dd3f;let {ls:_0x54421c,pbk:_0x47668f}=(_0x21b4af=this[_0x52e003(0x134)][_0x52e003(0xe5)](_0x310d17))==null?{}:_0x21b4af,_0x2f70da=_0x11528e()?0x1/0x0:q(0x1,_0x54421c,_0x47668f)[_0x52e003(0x12c)];if(!this[_0x52e003(0x153)][_0x52e003(0x125)](_0x4e1ede,_0x2f5e76[_0x52e003(0x123)]))throw Error(_0x52e003(0x126));let _0x253b48=this[_0x52e003(0xef)]['getRenderById'](_0x4e1ede);if(!_0x253b48)throw Error('Render\x20is\x20not\x20found');let _0x2ccf07=(_0x10dd3f=_0x253b48[_0x52e003(0xf7)](_0x14eeea)[_0x52e003(0x141)]()[_0x52e003(0xe9)]())==null?void 0x0:_0x10dd3f['pages'];if(!_0x2ccf07)throw Error(_0x52e003(0x115));let _0x8296d3={'width':_0x2ccf07[0x0][_0x52e003(0xfb)],'height':_0x2ccf07[0x0]['pageHeight']},_0x5efeaa=_0x2ccf07[_0x52e003(0x12e)],_0xc6707e=Math[_0x52e003(0x11e)](_0x2f70da,_0x5efeaa),_0x130685=_0x253b48[_0x52e003(0xeb)][_0x52e003(0x11b)](),_0x7b440b=document[_0x52e003(0x162)](_0x52e003(0x12d));_0x7b440b[_0x52e003(0x15c)]=_0x2adc8e;let _0x1f321f=Array(_0xc6707e)['fill'](null)['map']((_0x5a6a7f,_0x8b7118)=>{const _0x438f21=_0x52e003;let _0x2315a4=new U(this['_injector'],_0x8b7118,_0x4e1ede,_0x130685);return _0x2315a4[_0x438f21(0x101)][_0x438f21(0x15c)]=_0x4f72b5,_0x2315a4;});_0x1f321f[_0x52e003(0x15f)](_0x4b3db1=>{const _0xa8c7d0=_0x52e003;_0x7b440b['appendChild'](_0x4b3db1['container']),_0x4b3db1[_0xa8c7d0(0x101)][_0xa8c7d0(0x144)](_0x4b3db1[_0xa8c7d0(0x102)]),_0x4b3db1['prepare']();});let _0x1b982d=_0x3b5d66(_0x8296d3['width'],_0x8296d3['height'],_0x33af48[_0x52e003(0x147)]);return document['body']['appendChild'](_0x1b982d),document[_0x52e003(0xf5)]['appendChild'](_0x7b440b),new Promise(_0x14d697=>{setTimeout(()=>{const _0x78e371=_0x1779;window[_0x78e371(0xea)]=()=>{const _0x5cb346=_0x78e371;_0x1f321f[_0x5cb346(0x15f)](_0x2433db=>{_0x2433db['render']();});},window[_0x78e371(0x130)]=()=>{const _0x3f194e=_0x78e371;_0x1f321f['forEach'](_0xda4645=>{_0xda4645['dispose']();}),document[_0x3f194e(0xf5)]['removeChild'](_0x7b440b),document[_0x3f194e(0xf5)][_0x3f194e(0x121)](_0x1b982d),this[_0x3f194e(0x155)]['close'](),_0x14d697(!0x0);},window['print']();},0x64);});}};J=G([W(0x0,_0x5f0603),W(0x1,_0x4e423a),W(0x2,_0x4ac6e8(_0x383d30)),W(0x3,_0x57aade),W(0x4,_0x3727ff)],J);const Y={'id':'docs.operation.print','type':_0x5a2bb9[_0x1b0ac2(0x107)],'handler':async _0x2c5982=>{const _0x48411a=_0x1b0ac2;let _0x430e06=_0x2c5982[_0x48411a(0x14a)](_0x5f0603),_0x28c7e8=_0x2c5982['get'](J),_0x489569=_0x2c5982[_0x48411a(0x14a)](_0x4e423a),_0x2c71e0=_0x2c5982[_0x48411a(0x14a)](_0x3adff6),_0x230607=_0x430e06['getCurrentUnitOfType'](_0x2f5e76[_0x48411a(0x123)]);if(!_0x230607)return!0x1;if(!_0x489569[_0x48411a(0x124)](_0x230607['getUnitId']()))throw Error(_0x48411a(0x112));let _0x27c6b5=_0x230607['getDocumentStyle']()[_0x48411a(0x163)];return _0x27c6b5!==_0x41af37[_0x48411a(0x135)]&&_0x2c71e0[_0x48411a(0x159)](_0x1d0cd8['id']),await _0x28c7e8[_0x48411a(0x13b)](_0x230607[_0x48411a(0xf6)]()),_0x27c6b5!==_0x41af37[_0x48411a(0x135)]&&_0x2c71e0['syncExecuteCommand'](_0x1d0cd8['id']),!0x0;}},X=_0x1b0ac2(0xff),Z={};var ie=_0x1b0ac2(0xf1),ae=_0x1b0ac2(0x12a);function oe(_0xce114){const _0x2c8c00=_0x1b0ac2;return{'id':Y['id'],'type':_0x1375ae[_0x2c8c00(0x13f)],'title':_0x2c8c00(0xf4),'icon':_0x2c8c00(0x160),'tooltip':_0x2c8c00(0xf4),'hidden$':_0x1981c6(_0xce114,_0x2f5e76[_0x2c8c00(0x123)])};}const se={[_0x5a41bb[_0x1b0ac2(0xfe)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};function _0xcbe7(){const _0x44d733=['interceptor','2445512mPtaYQ','OPERATION','string','_container','right','version','valid','_addViewport','makeForceDirty','default','addObject','2499170BIIpAk','Render\x20is\x20not\x20found','21yvnntU','_initMenus','Pages\x20are\x20not\x20found','fetchThroughInterceptors','_calculateLayout','getContext','bottom','translate','getOffsetConfig','prepare','_offsetConfig','min','top','_config','removeChild','_unitId','UNIVER_DOC','getRenderById','getUnit','DocumentDataModel\x20is\x20not\x20found','message','type','_paperSize','0.25.1','height','page','div','length','left','onafterprint','522RuvGeh','0px','style','_configService','TRADITIONAL','scale','_viewMain','_initComponents','_skeletonData','_effects','print','986622xSlcPt','setId','object','BUTTON','call','getSkeleton','_initCommands','_componentManager','appendChild','toPrimitive','PRINTING_DOM_COLLECT','Portrait','symbol','_addComponent','get','constructor','_skeleton','dispose','pages','width','timeValid','position','render','_univerInstanceService','100%','_globalZoneService','_commandService','_currentRender','onReady','syncExecuteCommand','_documents','menu','className','PRINTING_COMPONENT_COLLECT','setConfig','forEach','PrintIcon','1624992SOTrWM','createElement','documentFlavor','defineProperty','Skeleton\x20data\x20is\x20not\x20found','_injector','1044zHokVk','setContainer','mpn','_key','_root','getConfig','function','3744747nsMzLL','prototype','getSkeletonData','onbeforeprint','mainComponent','registerCommand','disposeWithMe','register','_renderManagerService','_engine','@univerjs-pro/docs-print','Printing','_page','docs-print.menu','body','getUnitId','with','pluginName','_scene','makeDirty','pageWidth','_menuManagerService','parseInt','OTHERS','UNIVER_DOCS_PRINT','_initRenderer','container','root','1492236JhciKi','updateScrollVal'];_0xcbe7=function(){return _0x44d733;};return _0xcbe7();}let Q=class extends _0x2a8ed5{constructor(_0x4382ee,_0x1b247e,_0xadba49){const _0x10e424=_0x1b0ac2;super(),this[_0x10e424(0x156)]=_0x4382ee,this[_0x10e424(0xfc)]=_0x1b247e,this[_0x10e424(0x143)]=_0xadba49,this[_0x10e424(0x114)](),this['_initCommands'](),this[_0x10e424(0x138)]();}[_0x1b0ac2(0x114)](){this['_menuManagerService']['mergeMenu'](se);}[_0x1b0ac2(0x142)](){const _0x3970db=_0x1b0ac2;this['disposeWithMe'](this[_0x3970db(0x156)][_0x3970db(0xec)](Y));}[_0x1b0ac2(0x138)](){const _0xf38f50=_0x1b0ac2;[['PrintIcon',_0x5ec4b1]][_0xf38f50(0x15f)](([_0x2da1de,_0x3440b4])=>{const _0x22dee5=_0xf38f50;this['_componentManager'][_0x22dee5(0xee)](_0x2da1de,_0x3440b4);});}};Q=G([W(0x0,_0x3adff6),W(0x1,_0x1a6f2d),W(0x2,_0x4ac6e8(_0x5c2494))],Q);let $=class extends _0x20c864{constructor(_0x5c2f77=Z,_0x5c32dc,_0x72e400){const _0x2407ea=_0x1b0ac2;super(),this[_0x2407ea(0x120)]=_0x5c2f77,this['_injector']=_0x5c32dc,this[_0x2407ea(0x134)]=_0x72e400;let {menu:_0x2c3da4,..._0x58238d}=_0x456651({},Z,this['_config']);_0x2c3da4&&this['_configService']['setConfig'](_0x2407ea(0x15b),_0x2c3da4,{'merge':!0x0}),this[_0x2407ea(0x134)][_0x2407ea(0x15e)](X,_0x58238d);}['onStarting'](){_0x20b2ec(this['_injector'],[[J],[Q]]);}[_0x1b0ac2(0x158)](){const _0x372d2b=_0x1b0ac2;this[_0x372d2b(0xdf)][_0x372d2b(0x14a)](Q);}};H($,_0x1b0ac2(0xf8),_0x1b0ac2(0xff)),H($,'packageName',ie),H($,_0x1b0ac2(0x10b),ae),H($,_0x1b0ac2(0x128),_0x2f5e76[_0x1b0ac2(0x123)]),$=G([_0x1878f4(_0x11c794,_0x3bf46a),W(0x1,_0x4ac6e8(_0x383d30)),W(0x2,_0x57aade)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xca4b(){const _0x37f6bb=['3377940KXBrGX','7610GYudhQ','22827clRfYt','248FSPoBV','624LDVKtv','1145520yrCFhQ','536fegZGJ','طباعة','736878tQajJD','345813DMhGvZ','7647vYQyWO'];_0xca4b=function(){return _0x37f6bb;};return _0xca4b();}function _0x4833(_0x34c6f2,_0x23d285){_0x34c6f2=_0x34c6f2-0x7b;const _0xca4bee=_0xca4b();let _0x4833fc=_0xca4bee[_0x34c6f2];return _0x4833fc;}const _0x28602c=_0x4833;(function(_0x518319,_0x1e038d){const _0x5ae756=_0x4833,_0x3e9128=_0x518319();while(!![]){try{const _0xf3b06f=parseInt(_0x5ae756(0x81))/0x1+-parseInt(_0x5ae756(0x80))/0x2+parseInt(_0x5ae756(0x82))/0x3*(parseInt(_0x5ae756(0x7b))/0x4)+parseInt(_0x5ae756(0x84))/0x5*(parseInt(_0x5ae756(0x7c))/0x6)+parseInt(_0x5ae756(0x85))/0x7*(-parseInt(_0x5ae756(0x7e))/0x8)+-parseInt(_0x5ae756(0x7d))/0x9+parseInt(_0x5ae756(0x83))/0xa;if(_0xf3b06f===_0x1e038d)break;else _0x3e9128['push'](_0x3e9128['shift']());}catch(_0x3ae862){_0x3e9128['push'](_0x3e9128['shift']());}}}(_0xca4b,0x45c1f));const e={'docs-print':{'menu':_0x28602c(0x7f)}};export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x41952e=_0x7398;(function(_0x4dd291,_0x46ed07){const _0x18a0b1=_0x7398,_0x298fd3=_0x4dd291();while(!![]){try{const _0x229786=-parseInt(_0x18a0b1(0x1ca))/0x1+-parseInt(_0x18a0b1(0x1c3))/0x2*(-parseInt(_0x18a0b1(0x1c6))/0x3)+parseInt(_0x18a0b1(0x1c4))/0x4*(-parseInt(_0x18a0b1(0x1c7))/0x5)+parseInt(_0x18a0b1(0x1c8))/0x6*(parseInt(_0x18a0b1(0x1cc))/0x7)+-parseInt(_0x18a0b1(0x1c5))/0x8+parseInt(_0x18a0b1(0x1cb))/0x9*(-parseInt(_0x18a0b1(0x1c2))/0xa)+parseInt(_0x18a0b1(0x1c9))/0xb*(parseInt(_0x18a0b1(0x1c0))/0xc);if(_0x229786===_0x46ed07)break;else _0x298fd3['push'](_0x298fd3['shift']());}catch(_0x2e336){_0x298fd3['push'](_0x298fd3['shift']());}}}(_0x92d1,0xd5782));function _0x92d1(){const _0x3c6e17=['10558360azjsHp','53655VYGWbr','20kxKkfN','756138vVdPgv','55AcwgDU','745938ydejqz','15580017yAJgDT','42JkLORW','7151016EXnAlS','Imprimir','10aiKIOg','120dOYmyr','137612wdHONT'];_0x92d1=function(){return _0x3c6e17;};return _0x92d1();}function _0x7398(_0x1f86e4,_0x28d133){_0x1f86e4=_0x1f86e4-0x1c0;const _0x92d1c9=_0x92d1();let _0x7398eb=_0x92d1c9[_0x1f86e4];return _0x7398eb;}const e={'docs-print':{'menu':_0x41952e(0x1c1)}};export{e as default};
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4cf2(){const _0x4cd8a4=['10IJZEuY','15709779VPxzrr','1584488WMzzMO','415758ypMptl','374228RzsJCw','1660771bLDtll','22gdWaEs','62299Flbiqt','Drucken','1271360uUZgyW','21daqFvi'];_0x4cf2=function(){return _0x4cd8a4;};return _0x4cf2();}function _0xee8d(_0xd38f14,_0x56ad56){_0xd38f14=_0xd38f14-0x113;const _0x4cf2b3=_0x4cf2();let _0xee8d65=_0x4cf2b3[_0xd38f14];return _0xee8d65;}const _0x1c4937=_0xee8d;(function(_0x1bf2c5,_0x399fa5){const _0xa3b47a=_0xee8d,_0x21a8ac=_0x1bf2c5();while(!![]){try{const _0x2291fc=-parseInt(_0xa3b47a(0x113))/0x1*(-parseInt(_0xa3b47a(0x11d))/0x2)+parseInt(_0xa3b47a(0x116))/0x3*(parseInt(_0xa3b47a(0x11b))/0x4)+parseInt(_0xa3b47a(0x115))/0x5+parseInt(_0xa3b47a(0x11a))/0x6+parseInt(_0xa3b47a(0x11c))/0x7+parseInt(_0xa3b47a(0x119))/0x8+-parseInt(_0xa3b47a(0x118))/0x9*(parseInt(_0xa3b47a(0x117))/0xa);if(_0x2291fc===_0x399fa5)break;else _0x21a8ac['push'](_0x21a8ac['shift']());}catch(_0x2eae70){_0x21a8ac['push'](_0x21a8ac['shift']());}}}(_0x4cf2,0x56500));const e={'docs-print':{'menu':_0x1c4937(0x114)}};export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x15b0(_0x2c1095,_0x1719d7){_0x2c1095=_0x2c1095-0xa9;const _0x5141f1=_0x5141();let _0x15b018=_0x5141f1[_0x2c1095];return _0x15b018;}const _0x18beea=_0x15b0;(function(_0x3672f7,_0xf85b5){const _0x5275d1=_0x15b0,_0x56e20d=_0x3672f7();while(!![]){try{const _0x20d228=parseInt(_0x5275d1(0xac))/0x1+-parseInt(_0x5275d1(0xaa))/0x2+parseInt(_0x5275d1(0xaf))/0x3+parseInt(_0x5275d1(0xb3))/0x4*(-parseInt(_0x5275d1(0xa9))/0x5)+-parseInt(_0x5275d1(0xab))/0x6*(parseInt(_0x5275d1(0xb1))/0x7)+-parseInt(_0x5275d1(0xb0))/0x8+parseInt(_0x5275d1(0xb2))/0x9*(parseInt(_0x5275d1(0xae))/0xa);if(_0x20d228===_0xf85b5)break;else _0x56e20d['push'](_0x56e20d['shift']());}catch(_0x17ff1f){_0x56e20d['push'](_0x56e20d['shift']());}}}(_0x5141,0x6cc36));const e={'docs-print':{'menu':_0x18beea(0xad)}};export{e as default};function _0x5141(){const _0xbcd711=['42yNcORZ','24210jWBrQa','16oOMtBo','227845EoCrpS','805322ydyLWy','17058CvArtG','823391OwJnFP','Print','2370EFQsmP','362931MYQfbn','4275272IPRejS'];_0x5141=function(){return _0xbcd711;};return _0x5141();}
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5b4f(){const _0x5b6ced=['487296mWNBAJ','1067910qUNYqf','203887mVuvMQ','1586840reCogy','1309259CKGztE','8IsYzjv','12fjmdQr','2637590kDLkdU','Imprimir','11734479dpbjdl'];_0x5b4f=function(){return _0x5b6ced;};return _0x5b4f();}function _0x3f1a(_0x5940fe,_0x2c6728){_0x5940fe=_0x5940fe-0x71;const _0x5b4f01=_0x5b4f();let _0x3f1a5c=_0x5b4f01[_0x5940fe];return _0x3f1a5c;}const _0x430716=_0x3f1a;(function(_0x31be68,_0x8c2673){const _0x577838=_0x3f1a,_0x4bbcd0=_0x31be68();while(!![]){try{const _0x45d8eb=parseInt(_0x577838(0x78))/0x1+-parseInt(_0x577838(0x77))/0x2+-parseInt(_0x577838(0x76))/0x3+parseInt(_0x577838(0x79))/0x4+-parseInt(_0x577838(0x73))/0x5+-parseInt(_0x577838(0x72))/0x6*(parseInt(_0x577838(0x7a))/0x7)+parseInt(_0x577838(0x71))/0x8*(parseInt(_0x577838(0x75))/0x9);if(_0x45d8eb===_0x8c2673)break;else _0x4bbcd0['push'](_0x4bbcd0['shift']());}catch(_0xb2ac6){_0x4bbcd0['push'](_0x4bbcd0['shift']());}}}(_0x5b4f,0x4ad11));const e={'docs-print':{'menu':_0x430716(0x74)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x20fcf7=_0x20c9;function _0x20c9(_0x2d762d,_0x206321){_0x2d762d=_0x2d762d-0x1cd;const _0x1cc79f=_0x1cc7();let _0x20c99c=_0x1cc79f[_0x2d762d];return _0x20c99c;}function _0x1cc7(){const _0x1979ad=['6wSZelB','2THywzz','86590XqMHuW','867587kaGFOD','174TFxrnX','9uMQcEM','6334576gDjcEP','2852025xLzpMu','1027465cbYtFh','چاپ','59928SKSzlU','1119833fkePsv','84GJGMdN','869OtIBtO'];_0x1cc7=function(){return _0x1979ad;};return _0x1cc7();}(function(_0x1ca1a6,_0x32c97a){const _0x17c2cd=_0x20c9,_0x3b271d=_0x1ca1a6();while(!![]){try{const _0x286a0f=-parseInt(_0x17c2cd(0x1d6))/0x1*(-parseInt(_0x17c2cd(0x1cf))/0x2)+parseInt(_0x17c2cd(0x1d2))/0x3*(-parseInt(_0x17c2cd(0x1d8))/0x4)+-parseInt(_0x17c2cd(0x1d5))/0x5+parseInt(_0x17c2cd(0x1ce))/0x6*(parseInt(_0x17c2cd(0x1d1))/0x7)+parseInt(_0x17c2cd(0x1d4))/0x8*(parseInt(_0x17c2cd(0x1d3))/0x9)+parseInt(_0x17c2cd(0x1d0))/0xa*(parseInt(_0x17c2cd(0x1cd))/0xb)+parseInt(_0x17c2cd(0x1da))/0xc*(-parseInt(_0x17c2cd(0x1d9))/0xd);if(_0x286a0f===_0x32c97a)break;else _0x3b271d['push'](_0x3b271d['shift']());}catch(_0x458661){_0x3b271d['push'](_0x3b271d['shift']());}}}(_0x1cc7,0x8eced));const e={'docs-print':{'menu':_0x20fcf7(0x1d7)}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1068(){const _0x1761e0=['201qXecIw','5228825GqbFJw','66476uoFOZD','275176WQTzVf','558tBuzhO','Imprimer','194540HeOmSy','746151BoQnzQ','1354BKfjmQ','1076pAEweQ','2694048OyYits'];_0x1068=function(){return _0x1761e0;};return _0x1068();}function _0x4292(_0x384b32,_0x393b0e){_0x384b32=_0x384b32-0x6b;const _0x10688f=_0x1068();let _0x42928c=_0x10688f[_0x384b32];return _0x42928c;}const _0x2291ef=_0x4292;(function(_0x3b8f96,_0x5c8b42){const _0x557b91=_0x4292,_0x4e8396=_0x3b8f96();while(!![]){try{const _0x1d40ba=parseInt(_0x557b91(0x75))/0x1*(-parseInt(_0x557b91(0x6b))/0x2)+parseInt(_0x557b91(0x6d))/0x3*(parseInt(_0x557b91(0x6f))/0x4)+parseInt(_0x557b91(0x6e))/0x5+parseInt(_0x557b91(0x6c))/0x6+parseInt(_0x557b91(0x74))/0x7+-parseInt(_0x557b91(0x70))/0x8+-parseInt(_0x557b91(0x71))/0x9*(parseInt(_0x557b91(0x73))/0xa);if(_0x1d40ba===_0x5c8b42)break;else _0x4e8396['push'](_0x4e8396['shift']());}catch(_0x1340ba){_0x4e8396['push'](_0x4e8396['shift']());}}}(_0x1068,0xb6172));const e={'docs-print':{'menu':_0x2291ef(0x72)}};export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x48ca3e=_0x41c6;(function(_0x50e03c,_0x4c30ea){const _0x392480=_0x41c6,_0x1d5796=_0x50e03c();while(!![]){try{const _0x3071d5=parseInt(_0x392480(0x1de))/0x1*(parseInt(_0x392480(0x1e2))/0x2)+parseInt(_0x392480(0x1e7))/0x3+parseInt(_0x392480(0x1e3))/0x4+-parseInt(_0x392480(0x1df))/0x5+parseInt(_0x392480(0x1e0))/0x6*(parseInt(_0x392480(0x1e4))/0x7)+-parseInt(_0x392480(0x1e6))/0x8*(parseInt(_0x392480(0x1e1))/0x9)+-parseInt(_0x392480(0x1e5))/0xa;if(_0x3071d5===_0x4c30ea)break;else _0x1d5796['push'](_0x1d5796['shift']());}catch(_0x5c4a05){_0x1d5796['push'](_0x1d5796['shift']());}}}(_0x2538,0xd4f08));function _0x2538(){const _0x388469=['234272sWaDZv','665895xEQGaO','2119434EgzlYE','11399337gnBuPX','10jsKjsM','2971156SEKAyC','28WxQvhD','24429130iHTQiy','8OHBmpf','4163340FgYAJg','Cetak'];_0x2538=function(){return _0x388469;};return _0x2538();}function _0x41c6(_0x47ff86,_0x54a8cc){_0x47ff86=_0x47ff86-0x1dd;const _0x253845=_0x2538();let _0x41c6a4=_0x253845[_0x47ff86];return _0x41c6a4;}const e={'docs-print':{'menu':_0x48ca3e(0x1dd)}};export{e as default};
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x71a9(){const _0xaa180a=['4132040UzlxBG','880602ACLQqa','15CIQLjp','52361GJLzgk','4708214PZyzYU','46RgahOM','50293629UTxIZx','4091452volKoM','2766174wIYxbM','Stampa'];_0x71a9=function(){return _0xaa180a;};return _0x71a9();}const _0x448cd4=_0x39f9;(function(_0x372211,_0xf259ff){const _0x2bd6c5=_0x39f9,_0x36ad31=_0x372211();while(!![]){try{const _0x312ce3=parseInt(_0x2bd6c5(0x1ef))/0x1*(-parseInt(_0x2bd6c5(0x1f1))/0x2)+-parseInt(_0x2bd6c5(0x1ea))/0x3+-parseInt(_0x2bd6c5(0x1e9))/0x4+parseInt(_0x2bd6c5(0x1ee))/0x5*(-parseInt(_0x2bd6c5(0x1ed))/0x6)+-parseInt(_0x2bd6c5(0x1f0))/0x7+-parseInt(_0x2bd6c5(0x1ec))/0x8+parseInt(_0x2bd6c5(0x1e8))/0x9;if(_0x312ce3===_0xf259ff)break;else _0x36ad31['push'](_0x36ad31['shift']());}catch(_0x5df928){_0x36ad31['push'](_0x36ad31['shift']());}}}(_0x71a9,0xc5a4d));function _0x39f9(_0x281a62,_0x18d2e0){_0x281a62=_0x281a62-0x1e8;const _0x71a9ac=_0x71a9();let _0x39f941=_0x71a9ac[_0x281a62];return _0x39f941;}const e={'docs-print':{'menu':_0x448cd4(0x1eb)}};export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x39d2(_0x461c35,_0x526015){_0x461c35=_0x461c35-0x87;const _0x506eba=_0x506e();let _0x39d2c4=_0x506eba[_0x461c35];return _0x39d2c4;}(function(_0x2950e2,_0xe7a7fb){const _0x586cd6=_0x39d2,_0x4e47fd=_0x2950e2();while(!![]){try{const _0x5e42f4=-parseInt(_0x586cd6(0x8f))/0x1+-parseInt(_0x586cd6(0x87))/0x2*(-parseInt(_0x586cd6(0x88))/0x3)+-parseInt(_0x586cd6(0x91))/0x4*(parseInt(_0x586cd6(0x90))/0x5)+-parseInt(_0x586cd6(0x8d))/0x6+-parseInt(_0x586cd6(0x8b))/0x7*(-parseInt(_0x586cd6(0x8c))/0x8)+parseInt(_0x586cd6(0x89))/0x9+parseInt(_0x586cd6(0x8e))/0xa*(parseInt(_0x586cd6(0x8a))/0xb);if(_0x5e42f4===_0xe7a7fb)break;else _0x4e47fd['push'](_0x4e47fd['shift']());}catch(_0x15be3a){_0x4e47fd['push'](_0x4e47fd['shift']());}}}(_0x506e,0x773b1));const e={'docs-print':{'menu':'印刷'}};function _0x506e(){const _0x28721d=['124649SlFPrg','232XAaXjH','3692952xHVmEP','340ExTGnr','945213urVLdT','170wqvLYm','110444ZDdCnT','299542WvHodk','3FMEJpz','2433780OnWwjP','663641ghtHoL'];_0x506e=function(){return _0x28721d;};return _0x506e();}export{e as default};
|