@univerjs-pro/docs-print 1.0.0-alpha.1 → 1.0.0-alpha.2
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/config/config.d.ts +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5c30d7=_0x4cb2;(function(_0x432499,_0x3c97ac){const _0x60b470=_0x4cb2,_0x1145cf=_0x432499();while(!![]){try{const _0x2f6371=-parseInt(_0x60b470(0x25a))/0x1+-parseInt(_0x60b470(0x1e7))/0x2*(parseInt(_0x60b470(0x24c))/0x3)+-parseInt(_0x60b470(0x1f8))/0x4+-parseInt(_0x60b470(0x200))/0x5*(-parseInt(_0x60b470(0x1bc))/0x6)+parseInt(_0x60b470(0x233))/0x7*(parseInt(_0x60b470(0x215))/0x8)+parseInt(_0x60b470(0x1e3))/0x9*(parseInt(_0x60b470(0x1f6))/0xa)+-parseInt(_0x60b470(0x1aa))/0xb*(-parseInt(_0x60b470(0x239))/0xc);if(_0x2f6371===_0x3c97ac)break;else _0x1145cf['push'](_0x1145cf['shift']());}catch(_0x24ba5d){_0x1145cf['push'](_0x1145cf['shift']());}}}(_0x2a73,0x29cbe),Object[_0x5c30d7(0x1a7)](exports,Symbol[_0x5c30d7(0x20c)],{'value':_0x5c30d7(0x225)}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/network'),s=require('@univerjs/icons'),c=require('@univerjs/ui');function l(_0x242bc2){'@babel/helpers - typeof';const _0x320bc8=_0x5c30d7;return l=typeof Symbol==_0x320bc8(0x22b)&&typeof Symbol[_0x320bc8(0x1ec)]==_0x320bc8(0x1b9)?function(_0x583546){return typeof _0x583546;}:function(_0x39d4d3){const _0x15f580=_0x320bc8;return _0x39d4d3&&typeof Symbol=='function'&&_0x39d4d3[_0x15f580(0x1da)]===Symbol&&_0x39d4d3!==Symbol[_0x15f580(0x1cf)]?_0x15f580(0x1b9):typeof _0x39d4d3;},l(_0x242bc2);}function u(_0x14eaa5,_0x1495ef){const _0x17787a=_0x5c30d7;if(l(_0x14eaa5)!=_0x17787a(0x1b5)||!_0x14eaa5)return _0x14eaa5;var _0x4ff402=_0x14eaa5[Symbol[_0x17787a(0x1ab)]];if(_0x4ff402!==void 0x0){var _0x10afc5=_0x4ff402[_0x17787a(0x20a)](_0x14eaa5,_0x1495ef||_0x17787a(0x1d5));if(l(_0x10afc5)!=_0x17787a(0x1b5))return _0x10afc5;throw TypeError(_0x17787a(0x241));}return(_0x1495ef===_0x17787a(0x1b3)?String:Number)(_0x14eaa5);}function d(_0x1a02a9){const _0x2b8abf=_0x5c30d7;var _0x53a1ab=u(_0x1a02a9,_0x2b8abf(0x1b3));return l(_0x53a1ab)==_0x2b8abf(0x1b9)?_0x53a1ab:_0x53a1ab+'';}function f(_0xdabd19,_0x4b1481,_0x5eadce){const _0x15db84=_0x5c30d7;return(_0x4b1481=d(_0x4b1481))in _0xdabd19?Object[_0x15db84(0x1a7)](_0xdabd19,_0x4b1481,{'value':_0x5eadce,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xdabd19[_0x4b1481]=_0x5eadce,_0xdabd19;}var p=class extends e[_0x5c30d7(0x1b0)]{get[_0x5c30d7(0x1cc)](){return this['_container'];}get[_0x5c30d7(0x1b7)](){const _0x573649=_0x5c30d7;return this[_0x573649(0x229)];}get[_0x5c30d7(0x1eb)](){const _0x3afd3a=_0x5c30d7;let _0x2d5353=this[_0x3afd3a(0x248)][_0x3afd3a(0x227)](n[_0x3afd3a(0x244)])['getRenderById'](this[_0x3afd3a(0x1d7)]);if(!_0x2d5353)throw Error(_0x3afd3a(0x1ba));return _0x2d5353;}get[_0x5c30d7(0x202)](){const _0x550246=_0x5c30d7;return this[_0x550246(0x1eb)][_0x550246(0x251)](a[_0x550246(0x1c7)])[_0x550246(0x1ce)]();}get[_0x5c30d7(0x1ef)](){const _0x62cefa=_0x5c30d7;let _0x8909de=this['_skeleton'][_0x62cefa(0x1df)]();if(!_0x8909de)throw Error(_0x62cefa(0x209));return _0x8909de;}get['_paperSize'](){const _0x4a02dc=_0x5c30d7;let _0x579f89=this['_skeletonData'][_0x4a02dc(0x1e9)][0x0];return{'width':_0x579f89['pageWidth'],'height':_0x579f89[_0x4a02dc(0x1ad)]};}constructor(_0x5c9e85,_0x8a1641,_0x261280,_0x2d5b19){const _0x49cc03=_0x5c30d7;super(),this[_0x49cc03(0x248)]=_0x5c9e85,this['_page']=_0x8a1641,this[_0x49cc03(0x1d7)]=_0x261280,this[_0x49cc03(0x22a)]=_0x2d5b19,f(this,_0x49cc03(0x23f),document[_0x49cc03(0x1d9)](_0x49cc03(0x220))),f(this,'_root',document[_0x49cc03(0x1d9)](_0x49cc03(0x220))),f(this,_0x49cc03(0x23c),void 0x0),f(this,'_scene',void 0x0),f(this,_0x49cc03(0x1bb),void 0x0),f(this,'_documents',void 0x0),f(this,_0x49cc03(0x242),void 0x0),f(this,_0x49cc03(0x234),new e[(_0x49cc03(0x1af))]()),this[_0x49cc03(0x1bb)]=(0x0,e['generateRandomId'])(0x4),this[_0x49cc03(0x22c)](),this[_0x49cc03(0x238)]({'dispose':()=>{const _0xa89bd9=_0x49cc03;this[_0xa89bd9(0x23c)][_0xa89bd9(0x1fd)](),this[_0xa89bd9(0x1a3)][_0xa89bd9(0x1fd)](),this[_0xa89bd9(0x234)][_0xa89bd9(0x1fd)]();}});}[_0x5c30d7(0x201)](){const _0x20f85e=_0x5c30d7;let {docsTop:_0x1adc1b,docsLeft:_0x421902}=this[_0x20f85e(0x1c6)][_0x20f85e(0x1de)](),_0x4cdd9a=this[_0x20f85e(0x1c5)][_0x20f85e(0x217)],_0x4dedc1=this[_0x20f85e(0x1c5)]['width'];return{'top':_0x1adc1b+(_0x1adc1b+_0x4cdd9a)*this['_page'],'bottom':_0x1adc1b+(_0x1adc1b+_0x4cdd9a)*(this[_0x20f85e(0x1f7)]+0x1),'left':_0x421902,'right':_0x421902+_0x4dedc1};}['_initRenderer'](){const _0x2737cc=_0x5c30d7;this['_engine']=new n[(_0x2737cc(0x1c1))]('',{'elementWidth':this[_0x2737cc(0x1c5)][_0x2737cc(0x212)],'elementHeight':this[_0x2737cc(0x1c5)][_0x2737cc(0x217)],'dpr':0x1,'renderMode':n[_0x2737cc(0x231)][_0x2737cc(0x1d8)]}),this[_0x2737cc(0x1a3)]=new n['Scene'](this[_0x2737cc(0x1bb)],this[_0x2737cc(0x23c)]),this['_scene'][_0x2737cc(0x1ac)](0x1,0x1),this['_engine'][_0x2737cc(0x1a4)](this[_0x2737cc(0x23f)],!0x1),this[_0x2737cc(0x23c)][_0x2737cc(0x1e8)]()[_0x2737cc(0x1f9)]()[_0x2737cc(0x1a8)](this[_0x2737cc(0x1bb)]+'_'+(0x0,e[_0x2737cc(0x208)])(0x4)),this[_0x2737cc(0x20e)](),this[_0x2737cc(0x226)]();}[_0x5c30d7(0x20e)](){const _0x41c406=_0x5c30d7;let {pageMarginLeft:_0x2fa6ee,pageMarginTop:_0x5ee78b,docsLeft:_0x3f242b,docsTop:_0x1a9e75}=this[_0x41c406(0x22a)],_0x36af2e={'pageMarginLeft':_0x2fa6ee,'pageMarginTop':_0x5ee78b},_0x4574a3=new n[(_0x41c406(0x1fe))](_0x41c406(0x21e),this[_0x41c406(0x202)],_0x36af2e);_0x4574a3['translate'](_0x3f242b,_0x1a9e75),this['_scene'][_0x41c406(0x1f5)](_0x4574a3),this[_0x41c406(0x1c6)]=_0x4574a3;let _0x41f0a4=this[_0x41c406(0x248)][_0x41c406(0x227)](t[_0x41c406(0x1ff)]);_0x41f0a4[_0x41c406(0x1f4)][_0x41c406(0x207)](_0x41f0a4[_0x41c406(0x1f4)][_0x41c406(0x23b)]()[_0x41c406(0x1b2)])(void 0x0,{'unitId':this[_0x41c406(0x1d7)],'scene':this[_0x41c406(0x1a3)],'engine':this[_0x41c406(0x23c)],'root':this['_root'],'documents':this[_0x41c406(0x1c6)],'skeleton':this[_0x41c406(0x202)]});}[_0x5c30d7(0x226)](){const _0x3a956c=_0x5c30d7;this[_0x3a956c(0x242)]=new n['Viewport'](t[_0x3a956c(0x1ca)][_0x3a956c(0x1d1)],this[_0x3a956c(0x1a3)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x5c8bf6=_0x5c30d7;let _0x1ca5a0=this[_0x5c8bf6(0x201)]();this[_0x5c8bf6(0x242)]['updateScrollVal']({'viewportScrollX':_0x1ca5a0[_0x5c8bf6(0x1cb)],'viewportScrollY':_0x1ca5a0[_0x5c8bf6(0x210)]}),this[_0x5c8bf6(0x229)]['style'][_0x5c8bf6(0x224)]=_0x5c8bf6(0x1bd),this[_0x5c8bf6(0x229)][_0x5c8bf6(0x240)]['top']=_0x5c8bf6(0x1c8),this[_0x5c8bf6(0x229)]['style'][_0x5c8bf6(0x1cb)]=_0x5c8bf6(0x1c8),this[_0x5c8bf6(0x229)]['style'][_0x5c8bf6(0x212)]='100%',this[_0x5c8bf6(0x229)]['style']['height']=_0x5c8bf6(0x1dc),this[_0x5c8bf6(0x234)]=new e[(_0x5c8bf6(0x1af))]();let _0x44a296=this[_0x5c8bf6(0x248)][_0x5c8bf6(0x227)](t['DocPrintInterceptorService']);_0x44a296[_0x5c8bf6(0x1f4)][_0x5c8bf6(0x207)](_0x44a296[_0x5c8bf6(0x1f4)][_0x5c8bf6(0x23b)]()[_0x5c8bf6(0x206)])(this['_effects'],{'unitId':this[_0x5c8bf6(0x1d7)],'scene':this['_scene'],'engine':this['_engine'],'root':this[_0x5c8bf6(0x229)],'skeleton':this['_skeleton'],'offset':{'x':_0x1ca5a0[_0x5c8bf6(0x1cb)],'y':_0x1ca5a0['top']},'bound':{'top':_0x1ca5a0[_0x5c8bf6(0x210)],'left':_0x1ca5a0[_0x5c8bf6(0x1cb)],'right':_0x1ca5a0[_0x5c8bf6(0x249)],'bottom':_0x1ca5a0[_0x5c8bf6(0x205)]}});}[_0x5c30d7(0x1ed)](){const _0x4aae79=_0x5c30d7;let _0xa8e96e=this[_0x4aae79(0x23c)][_0x4aae79(0x1e8)]()[_0x4aae79(0x1f9)]();this[_0x4aae79(0x1c6)]['makeForceDirty'](),this['_scene'][_0x4aae79(0x1fa)](),_0xa8e96e[_0x4aae79(0x214)](),this[_0x4aae79(0x1a3)]['render'](),_0xa8e96e[_0x4aae79(0x1e6)]();}};function m(_0x4f79d3,_0x107881){return function(_0x6a84e9,_0x1480c2){_0x107881(_0x6a84e9,_0x1480c2,_0x4f79d3);};}function _0x4cb2(_0x21039,_0x4c1179){_0x21039=_0x21039-0x1a3;const _0x2a7319=_0x2a73();let _0x4cb28a=_0x2a7319[_0x21039];return _0x4cb28a;}function h(_0x4f3a38,_0x5ded9a,_0x172e9b,_0xc0624){const _0xa6b4ea=_0x5c30d7;var _0x327b8c=arguments[_0xa6b4ea(0x23d)],_0x46b39e=_0x327b8c<0x3?_0x5ded9a:_0xc0624===null?_0xc0624=Object[_0xa6b4ea(0x246)](_0x5ded9a,_0x172e9b):_0xc0624,_0x1c9249;if(typeof Reflect==_0xa6b4ea(0x1b5)&&typeof Reflect[_0xa6b4ea(0x24d)]==_0xa6b4ea(0x22b))_0x46b39e=Reflect['decorate'](_0x4f3a38,_0x5ded9a,_0x172e9b,_0xc0624);else{for(var _0x27743f=_0x4f3a38[_0xa6b4ea(0x23d)]-0x1;_0x27743f>=0x0;_0x27743f--)(_0x1c9249=_0x4f3a38[_0x27743f])&&(_0x46b39e=(_0x327b8c<0x3?_0x1c9249(_0x46b39e):_0x327b8c>0x3?_0x1c9249(_0x5ded9a,_0x172e9b,_0x46b39e):_0x1c9249(_0x5ded9a,_0x172e9b))||_0x46b39e);}return _0x327b8c>0x3&&_0x46b39e&&Object[_0xa6b4ea(0x1a7)](_0x5ded9a,_0x172e9b,_0x46b39e),_0x46b39e;}const g=Number[_0x5c30d7(0x1a9)](0x6a3fb83b),_=(_0x76dbbe,_0x2a3bc4,_0x11d0a3)=>{const _0x7d9762=_0x5c30d7;let _0x25a3e9={'page':_0x76dbbe,'isPro':!0x1,'timeValid':!0x1};if(!_0x2a3bc4||!_0x11d0a3)return _0x25a3e9;let _0x8bc77a=(0x0,r[_0x7d9762(0x1d6)])(_0x2a3bc4,_0x11d0a3);if(_0x8bc77a[_0x7d9762(0x250)]){let _0x417d2b=_0x8bc77a[_0x7d9762(0x21b)],_0x4dd455=(0x0,r[_0x7d9762(0x22d)])(_0x417d2b,'df',g);_0x25a3e9['isPro']=_0x4dd455,_0x25a3e9[_0x7d9762(0x1f3)]=_0x4dd455,_0x25a3e9['page']=(0x0,r[_0x7d9762(0x221)])(_0x417d2b,_0x4dd455,_0x7d9762(0x1e4),_0x76dbbe,_0x76dbbe,0x0);}return _0x25a3e9;};let v=class extends e['Disposable']{constructor(_0x48de8c,_0xe60a00,_0x3e6c97,_0x538275){const _0x417219=_0x5c30d7;super(),this[_0x417219(0x1b6)]=_0x48de8c,this[_0x417219(0x1c0)]=_0xe60a00,this['_injector']=_0x3e6c97,this[_0x417219(0x24f)]=_0x538275;}[_0x5c30d7(0x1c4)](_0x41bce2){const _0xbeca23=_0x5c30d7;var _0x281dd8,_0x3b19a5;let {ls:_0x525d6e,pbk:_0x136943}=(_0x281dd8=this['_configService'][_0xbeca23(0x243)](r[_0xbeca23(0x223)]))==null?{}:_0x281dd8,_0x2f3e6d=(0x0,r[_0xbeca23(0x1b1)])()?0x1/0x0:_(0x1,_0x525d6e,_0x136943)[_0xbeca23(0x1a5)];if(!this[_0xbeca23(0x1b6)][_0xbeca23(0x1ee)](_0x41bce2,e[_0xbeca23(0x1ea)][_0xbeca23(0x228)]))throw Error(_0xbeca23(0x1d0));let _0x4cbf01=this['_renderManagerService'][_0xbeca23(0x213)](_0x41bce2);if(!_0x4cbf01)throw Error(_0xbeca23(0x1ba));let _0x25e0b7=(_0x3b19a5=_0x4cbf01['with'](a['DocSkeletonManagerService'])[_0xbeca23(0x1ce)]()[_0xbeca23(0x1df)]())==null?void 0x0:_0x3b19a5[_0xbeca23(0x1e9)];if(!_0x25e0b7)throw Error(_0xbeca23(0x24e));let _0x419147={'width':_0x25e0b7[0x0]['pageWidth'],'height':_0x25e0b7[0x0][_0xbeca23(0x1ad)]},_0xf981dc=_0x25e0b7[_0xbeca23(0x23d)],_0x23aae1=Math[_0xbeca23(0x1f2)](_0x2f3e6d,_0xf981dc),_0x100b81=_0x4cbf01['mainComponent'][_0xbeca23(0x1de)](),_0x3859ef=document[_0xbeca23(0x1d9)](_0xbeca23(0x220));_0x3859ef[_0xbeca23(0x235)]=i['PRINT_CONTAINER_CLASS'];let _0x45c0f4=Array(_0x23aae1)['fill'](null)['map']((_0x56cae5,_0x1cc8d2)=>{const _0x2a32e8=_0xbeca23;let _0x3e03b8=new p(this['_injector'],_0x1cc8d2,_0x41bce2,_0x100b81);return _0x3e03b8[_0x2a32e8(0x1cc)][_0x2a32e8(0x235)]=i[_0x2a32e8(0x218)],_0x3e03b8;});_0x45c0f4[_0xbeca23(0x211)](_0x25de2b=>{const _0x197deb=_0xbeca23;_0x3859ef[_0x197deb(0x222)](_0x25de2b[_0x197deb(0x1cc)]),_0x25de2b[_0x197deb(0x1cc)]['appendChild'](_0x25de2b[_0x197deb(0x1b7)]),_0x25de2b['prepare']();});let _0x2aa14f=(0x0,i['createPrintStyle'])(_0x419147[_0xbeca23(0x212)],_0x419147[_0xbeca23(0x217)],i['PrintDirection'][_0xbeca23(0x23e)]);return document[_0xbeca23(0x22e)][_0xbeca23(0x222)](_0x2aa14f),document['body'][_0xbeca23(0x222)](_0x3859ef),new Promise(_0x2bc805=>{setTimeout(()=>{const _0x1e4c87=_0x4cb2;window[_0x1e4c87(0x1cd)]=()=>{const _0x3298a9=_0x1e4c87;_0x45c0f4[_0x3298a9(0x211)](_0x129b1d=>{const _0x3c1c7f=_0x3298a9;_0x129b1d[_0x3c1c7f(0x1ed)]();});},window[_0x1e4c87(0x230)]=()=>{const _0x4e45a5=_0x1e4c87;_0x45c0f4[_0x4e45a5(0x211)](_0x2e05bf=>{const _0x839fd2=_0x4e45a5;_0x2e05bf[_0x839fd2(0x1fd)]();}),document[_0x4e45a5(0x22e)][_0x4e45a5(0x254)](_0x3859ef),document[_0x4e45a5(0x22e)]['removeChild'](_0x2aa14f),_0x2bc805(!0x0);},window[_0x1e4c87(0x1c4)]();},0x64);});}};v=h([m(0x0,e[_0x5c30d7(0x21a)]),m(0x1,n['IRenderManagerService']),m(0x2,(0x0,e[_0x5c30d7(0x21f)])(e[_0x5c30d7(0x21c)])),m(0x3,e[_0x5c30d7(0x1c9)])],v);const y={'id':_0x5c30d7(0x1f1),'type':e[_0x5c30d7(0x216)]['OPERATION'],'handler':async _0x102231=>{const _0x3da6f6=_0x5c30d7;let _0x5922ca=_0x102231[_0x3da6f6(0x227)](e['IUniverInstanceService']),_0x17a0bb=_0x102231[_0x3da6f6(0x227)](v),_0x460759=_0x102231[_0x3da6f6(0x227)](n['IRenderManagerService']),_0x3947cc=_0x102231[_0x3da6f6(0x227)](e['ICommandService']),_0x1b4875=_0x5922ca['getCurrentUnitOfType'](e[_0x3da6f6(0x1ea)][_0x3da6f6(0x228)]);if(!_0x1b4875)return!0x1;if(!_0x460759[_0x3da6f6(0x213)](_0x1b4875[_0x3da6f6(0x1dd)]()))throw Error(_0x3da6f6(0x1ba));let _0x5cdeca=_0x1b4875[_0x3da6f6(0x1c3)]()['documentFlavor'];return _0x5cdeca!==e[_0x3da6f6(0x20f)][_0x3da6f6(0x256)]&&_0x3947cc[_0x3da6f6(0x1b8)](t[_0x3da6f6(0x253)]['id']),await _0x17a0bb['print'](_0x1b4875['getUnitId']()),_0x5cdeca!==e[_0x3da6f6(0x20f)][_0x3da6f6(0x256)]&&_0x3947cc[_0x3da6f6(0x1b8)](t[_0x3da6f6(0x253)]['id']),!0x0;}},b=_0x5c30d7(0x203),x={};var S=_0x5c30d7(0x1e2),C=_0x5c30d7(0x257);let w=class extends e[_0x5c30d7(0x1b0)]{constructor(_0x2d2dcb){const _0x1ba992=_0x5c30d7;super(),this[_0x1ba992(0x23a)]=_0x2d2dcb,this[_0x1ba992(0x24b)]();}[_0x5c30d7(0x24b)](){const _0x1ebc77=_0x5c30d7;this['disposeWithMe'](this[_0x1ebc77(0x23a)][_0x1ebc77(0x1c2)]({'PrintIcon':s['PrintIcon']}));}};w=h([m(0x0,(0x0,e[_0x5c30d7(0x21f)])(c[_0x5c30d7(0x252)]))],w);function T(_0x3fe7dd){const _0x5715ee=_0x5c30d7;return{'id':y['id'],'type':c['MenuItemType']['BUTTON'],'title':_0x5715ee(0x1fb),'icon':_0x5715ee(0x259),'tooltip':_0x5715ee(0x1fb),'hidden$':(0x0,c[_0x5715ee(0x237)])(_0x3fe7dd,e[_0x5715ee(0x1ea)][_0x5715ee(0x228)])};}const E={[c[_0x5c30d7(0x219)][_0x5c30d7(0x1db)]]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e[_0x5c30d7(0x1b0)]{constructor(_0x52f0b6,_0x5163c8){const _0x63be01=_0x5c30d7;super(),this[_0x63be01(0x24a)]=_0x52f0b6,this[_0x63be01(0x1b4)]=_0x5163c8,this[_0x63be01(0x1e5)](),this['_initCommands']();}[_0x5c30d7(0x1e5)](){const _0x1d9258=_0x5c30d7;this[_0x1d9258(0x1b4)][_0x1d9258(0x1e0)](E);}[_0x5c30d7(0x258)](){const _0x225c00=_0x5c30d7;this[_0x225c00(0x238)](this[_0x225c00(0x24a)][_0x225c00(0x247)](y));}};D=h([m(0x0,e[_0x5c30d7(0x1d4)]),m(0x1,c[_0x5c30d7(0x1bf)])],D);let O=class extends e[_0x5c30d7(0x1ae)]{constructor(_0x20b6f1=x,_0x3f59a2,_0x106067){const _0x320bf8=_0x5c30d7;super(),this[_0x320bf8(0x204)]=_0x20b6f1,this['_injector']=_0x3f59a2,this[_0x320bf8(0x24f)]=_0x106067;let {menu:_0xf2b612,..._0x3d918f}=(0x0,e[_0x320bf8(0x1a6)])({},x,this['_config']);_0xf2b612&&this[_0x320bf8(0x24f)][_0x320bf8(0x1d3)](_0x320bf8(0x1d2),_0xf2b612,{'merge':!0x0}),this[_0x320bf8(0x24f)]['setConfig'](b,_0x3d918f);}[_0x5c30d7(0x1fc)](){const _0x562740=_0x5c30d7;this['_injector']['add']([w]),this[_0x562740(0x248)]['get'](w),(0x0,e[_0x562740(0x1e1)])(this[_0x562740(0x248)],[[v],[D]]);}[_0x5c30d7(0x232)](){const _0x4194f8=_0x5c30d7;this[_0x4194f8(0x248)]['get'](D);}};f(O,_0x5c30d7(0x20d),_0x5c30d7(0x203)),f(O,_0x5c30d7(0x22f),S),f(O,'version',C),f(O,_0x5c30d7(0x21d),e[_0x5c30d7(0x1ea)][_0x5c30d7(0x228)]),O=h([(0x0,e[_0x5c30d7(0x255)])(o[_0x5c30d7(0x236)],r[_0x5c30d7(0x1be)]),m(0x1,(0x0,e[_0x5c30d7(0x21f)])(e[_0x5c30d7(0x21c)])),m(0x2,e[_0x5c30d7(0x1c9)])],O),exports[_0x5c30d7(0x20b)]=b,exports[_0x5c30d7(0x245)]=y,Object[_0x5c30d7(0x1a7)](exports,_0x5c30d7(0x1f0),{'enumerable':!0x0,'get':function(){return O;}});function _0x2a73(){const _0x5c32e8=['_key','2994lSOXgt','absolute','UniverLicensePlugin','IMenuManagerService','_renderManagerService','Engine','register','getDocumentStyle','print','_paperSize','_documents','DocSkeletonManagerService','0px','IConfigService','VIEWPORT_KEY','left','container','onbeforeprint','getSkeleton','prototype','DocumentDataModel\x20is\x20not\x20found','VIEW_MAIN','menu','setConfig','ICommandService','default','getLicenseInfo','_unitId','Printing','createElement','constructor','OTHERS','100%','getUnitId','getOffsetConfig','getSkeletonData','mergeMenu','registerDependencies','@univerjs-pro/docs-print','595611xfwwKC','mpn','_initMenus','restore','2262IAIbqr','getCanvas','pages','UniverInstanceType','_currentRender','iterator','render','getUnit','_skeletonData','UniverDocsPrintPlugin','docs.operation.print','min','timeValid','interceptor','addObject','10DfAkOL','_page','226484VkWoal','getContext','makeDirty','docs-print.menu','onStarting','dispose','Documents','DocPrintInterceptorService','1940WuiCDU','_calculateLayout','_skeleton','UNIVER_DOCS_PRINT','_config','bottom','PRINTING_DOM_COLLECT','fetchThroughInterceptors','generateRandomId','Skeleton\x20data\x20is\x20not\x20found','call','DOCS_PRINT_PLUGIN_CONFIG_KEY','toStringTag','pluginName','_addComponent','DocumentFlavor','top','forEach','width','getRenderById','save','445576euTdel','CommandType','height','PRINT_CANVAS_CLASS','RibbonStartGroup','IUniverInstanceService','message','Injector','type','__DocPrintRender__','Inject','div','getDocFeatureLimit','appendChild','LS_CONFIG_KEY','position','Module','_addViewport','get','UNIVER_DOC','_root','_offsetConfig','function','_initRenderer','isFeatureAuthorizedWithinTime','body','packageName','onafterprint','CanvasRenderMode','onReady','7dCRUEP','_effects','className','UniverNetworkPlugin','getMenuHiddenObservable','disposeWithMe','2172AQxkLu','_iconManager','getInterceptPoints','_engine','length','Portrait','_container','style','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_viewMain','getConfig','IRenderManagerService','DocPrintOperation','getOwnPropertyDescriptor','registerCommand','_injector','right','_commandService','_registerIcons','831lKkxEn','decorate','Pages\x20are\x20not\x20found','_configService','valid','with','IconManager','SwitchDocModeCommand','removeChild','DependentOn','TRADITIONAL','1.0.0-alpha.1','_initCommands','PrintIcon','264349yXlcQI','_scene','setContainer','page','merge','defineProperty','setId','parseInt','29777szJCDS','toPrimitive','scale','pageHeight','Plugin','DisposableCollection','Disposable','isLocalCheck','PRINTING_COMPONENT_COLLECT','string','_menuManagerService','object','_univerInstanceService','root','syncExecuteCommand','symbol','Render\x20is\x20not\x20found'];_0x2a73=function(){return _0x5c32e8;};return _0x2a73();}
|
|
1
|
+
const _0x5e5926=_0x16f6;(function(_0x39a2ea,_0x5ae967){const _0x2a5c8d=_0x16f6,_0x41ed3e=_0x39a2ea();while(!![]){try{const _0x1f973b=-parseInt(_0x2a5c8d(0x26f))/0x1+parseInt(_0x2a5c8d(0x1f7))/0x2+parseInt(_0x2a5c8d(0x243))/0x3*(parseInt(_0x2a5c8d(0x1de))/0x4)+-parseInt(_0x2a5c8d(0x254))/0x5+parseInt(_0x2a5c8d(0x226))/0x6*(-parseInt(_0x2a5c8d(0x21f))/0x7)+-parseInt(_0x2a5c8d(0x259))/0x8*(parseInt(_0x2a5c8d(0x230))/0x9)+parseInt(_0x2a5c8d(0x278))/0xa*(parseInt(_0x2a5c8d(0x269))/0xb);if(_0x1f973b===_0x5ae967)break;else _0x41ed3e['push'](_0x41ed3e['shift']());}catch(_0xf8ab28){_0x41ed3e['push'](_0x41ed3e['shift']());}}}(_0xa226,0xeb361),Object['defineProperty'](exports,Symbol[_0x5e5926(0x24c)],{'value':_0x5e5926(0x21b)}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/network'),s=require('@univerjs/icons'),c=require('@univerjs/ui');function l(_0x11f908){'@babel/helpers - typeof';const _0x2e6845=_0x5e5926;return l=typeof Symbol==_0x2e6845(0x1ef)&&typeof Symbol[_0x2e6845(0x235)]=='symbol'?function(_0x48338e){return typeof _0x48338e;}:function(_0x2e704c){const _0x958979=_0x2e6845;return _0x2e704c&&typeof Symbol=='function'&&_0x2e704c[_0x958979(0x22f)]===Symbol&&_0x2e704c!==Symbol[_0x958979(0x1f6)]?_0x958979(0x21a):typeof _0x2e704c;},l(_0x11f908);}function u(_0x484232,_0x1e19b7){const _0x3fdbba=_0x5e5926;if(l(_0x484232)!=_0x3fdbba(0x25d)||!_0x484232)return _0x484232;var _0x18273f=_0x484232[Symbol[_0x3fdbba(0x246)]];if(_0x18273f!==void 0x0){var _0x14d612=_0x18273f[_0x3fdbba(0x23a)](_0x484232,_0x1e19b7||'default');if(l(_0x14d612)!='object')return _0x14d612;throw TypeError(_0x3fdbba(0x218));}return(_0x1e19b7==='string'?String:Number)(_0x484232);}function d(_0x44dccd){const _0x241268=_0x5e5926;var _0x3a16dd=u(_0x44dccd,_0x241268(0x1e2));return l(_0x3a16dd)==_0x241268(0x21a)?_0x3a16dd:_0x3a16dd+'';}function _0x16f6(_0xb7d782,_0x3a5e45){_0xb7d782=_0xb7d782-0x1cb;const _0xa22653=_0xa226();let _0x16f6e7=_0xa22653[_0xb7d782];return _0x16f6e7;}function f(_0x531138,_0x2caf10,_0x7b3a21){const _0x65f14b=_0x5e5926;return(_0x2caf10=d(_0x2caf10))in _0x531138?Object[_0x65f14b(0x25f)](_0x531138,_0x2caf10,{'value':_0x7b3a21,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x531138[_0x2caf10]=_0x7b3a21,_0x531138;}var p=class extends e[_0x5e5926(0x276)]{get[_0x5e5926(0x217)](){const _0x5efebe=_0x5e5926;return this[_0x5efebe(0x1d9)];}get[_0x5e5926(0x228)](){const _0x5e22f7=_0x5e5926;return this[_0x5e22f7(0x248)];}get['_currentRender'](){const _0x55f41a=_0x5e5926;let _0x19e93d=this[_0x55f41a(0x1e6)]['get'](n[_0x55f41a(0x23d)])[_0x55f41a(0x1e5)](this['_unitId']);if(!_0x19e93d)throw Error(_0x55f41a(0x1fa));return _0x19e93d;}get['_skeleton'](){const _0x9d24e6=_0x5e5926;return this['_currentRender']['with'](a[_0x9d24e6(0x1f5)])[_0x9d24e6(0x1e1)]();}get[_0x5e5926(0x27a)](){const _0x35f5be=_0x5e5926;let _0x368b3e=this[_0x35f5be(0x1d6)][_0x35f5be(0x264)]();if(!_0x368b3e)throw Error(_0x35f5be(0x1fb));return _0x368b3e;}get[_0x5e5926(0x24e)](){const _0x38c62b=_0x5e5926;let _0x31dacc=this[_0x38c62b(0x27a)][_0x38c62b(0x26c)][0x0];return{'width':_0x31dacc[_0x38c62b(0x20c)],'height':_0x31dacc[_0x38c62b(0x208)]};}constructor(_0x551292,_0x106711,_0xeffda7,_0x42ffc1){const _0x508b45=_0x5e5926;super(),this['_injector']=_0x551292,this[_0x508b45(0x1e4)]=_0x106711,this[_0x508b45(0x1fd)]=_0xeffda7,this[_0x508b45(0x1cb)]=_0x42ffc1,f(this,_0x508b45(0x1d9),document[_0x508b45(0x22c)](_0x508b45(0x1d1))),f(this,_0x508b45(0x248),document[_0x508b45(0x22c)]('div')),f(this,_0x508b45(0x242),void 0x0),f(this,_0x508b45(0x21d),void 0x0),f(this,_0x508b45(0x224),void 0x0),f(this,'_documents',void 0x0),f(this,_0x508b45(0x229),void 0x0),f(this,_0x508b45(0x262),new e[(_0x508b45(0x258))]()),this[_0x508b45(0x224)]=(0x0,e[_0x508b45(0x256)])(0x4),this[_0x508b45(0x223)](),this[_0x508b45(0x1d3)]({'dispose':()=>{const _0x272da8=_0x508b45;this[_0x272da8(0x242)][_0x272da8(0x225)](),this[_0x272da8(0x21d)]['dispose'](),this['_effects'][_0x272da8(0x225)]();}});}[_0x5e5926(0x1d7)](){const _0x50e3c7=_0x5e5926;let {docsTop:_0x1dede5,docsLeft:_0xc4cae}=this[_0x50e3c7(0x209)][_0x50e3c7(0x25c)](),_0x409f9b=this[_0x50e3c7(0x24e)]['height'],_0x3720e5=this[_0x50e3c7(0x24e)]['width'];return{'top':_0x1dede5+(_0x1dede5+_0x409f9b)*this[_0x50e3c7(0x1e4)],'bottom':_0x1dede5+(_0x1dede5+_0x409f9b)*(this[_0x50e3c7(0x1e4)]+0x1),'left':_0xc4cae,'right':_0xc4cae+_0x3720e5};}[_0x5e5926(0x223)](){const _0x389cb1=_0x5e5926;this[_0x389cb1(0x242)]=new n['Engine']('',{'elementWidth':this[_0x389cb1(0x24e)][_0x389cb1(0x26e)],'elementHeight':this[_0x389cb1(0x24e)][_0x389cb1(0x215)],'dpr':0x1,'renderMode':n['CanvasRenderMode'][_0x389cb1(0x268)]}),this[_0x389cb1(0x21d)]=new n[(_0x389cb1(0x263))](this[_0x389cb1(0x224)],this[_0x389cb1(0x242)]),this['_scene'][_0x389cb1(0x1f1)](0x1,0x1),this['_engine']['setContainer'](this[_0x389cb1(0x1d9)],!0x1),this[_0x389cb1(0x242)]['getCanvas']()[_0x389cb1(0x1e7)]()[_0x389cb1(0x22b)](this['_key']+'_'+(0x0,e[_0x389cb1(0x256)])(0x4)),this[_0x389cb1(0x1e0)](),this['_addViewport']();}['_addComponent'](){const _0x1fb3a3=_0x5e5926;let {pageMarginLeft:_0x56e371,pageMarginTop:_0x430ddc,docsLeft:_0x129400,docsTop:_0x528160}=this[_0x1fb3a3(0x1cb)],_0x166e15={'pageMarginLeft':_0x56e371,'pageMarginTop':_0x430ddc},_0x511f98=new n[(_0x1fb3a3(0x22a))]('__DocPrintRender__',this[_0x1fb3a3(0x1d6)],_0x166e15);_0x511f98[_0x1fb3a3(0x24a)](_0x129400,_0x528160),this[_0x1fb3a3(0x21d)][_0x1fb3a3(0x22e)](_0x511f98),this[_0x1fb3a3(0x209)]=_0x511f98;let _0x55daff=this['_injector'][_0x1fb3a3(0x211)](t[_0x1fb3a3(0x204)]);_0x55daff[_0x1fb3a3(0x22d)][_0x1fb3a3(0x255)](_0x55daff['interceptor'][_0x1fb3a3(0x222)]()[_0x1fb3a3(0x227)])(void 0x0,{'unitId':this[_0x1fb3a3(0x1fd)],'scene':this['_scene'],'engine':this[_0x1fb3a3(0x242)],'root':this[_0x1fb3a3(0x248)],'documents':this[_0x1fb3a3(0x209)],'skeleton':this[_0x1fb3a3(0x1d6)]});}[_0x5e5926(0x20a)](){const _0x52da5e=_0x5e5926;this[_0x52da5e(0x229)]=new n[(_0x52da5e(0x24b))](t[_0x52da5e(0x1cc)][_0x52da5e(0x267)],this[_0x52da5e(0x21d)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x5e5926(0x1cd)](){const _0x2d6e31=_0x5e5926;let _0x409dcf=this['_calculateLayout']();this[_0x2d6e31(0x229)][_0x2d6e31(0x1e9)]({'viewportScrollX':_0x409dcf[_0x2d6e31(0x233)],'viewportScrollY':_0x409dcf['top']}),this[_0x2d6e31(0x248)][_0x2d6e31(0x1cf)][_0x2d6e31(0x25a)]=_0x2d6e31(0x231),this[_0x2d6e31(0x248)][_0x2d6e31(0x1cf)]['top']=_0x2d6e31(0x26d),this[_0x2d6e31(0x248)][_0x2d6e31(0x1cf)][_0x2d6e31(0x233)]=_0x2d6e31(0x26d),this[_0x2d6e31(0x248)]['style']['width']=_0x2d6e31(0x238),this[_0x2d6e31(0x248)][_0x2d6e31(0x1cf)][_0x2d6e31(0x215)]='100%',this[_0x2d6e31(0x262)]=new e['DisposableCollection']();let _0x140ecf=this[_0x2d6e31(0x1e6)]['get'](t[_0x2d6e31(0x204)]);_0x140ecf[_0x2d6e31(0x22d)][_0x2d6e31(0x255)](_0x140ecf[_0x2d6e31(0x22d)][_0x2d6e31(0x222)]()[_0x2d6e31(0x272)])(this[_0x2d6e31(0x262)],{'unitId':this[_0x2d6e31(0x1fd)],'scene':this[_0x2d6e31(0x21d)],'engine':this[_0x2d6e31(0x242)],'root':this['_root'],'skeleton':this[_0x2d6e31(0x1d6)],'offset':{'x':_0x409dcf[_0x2d6e31(0x233)],'y':_0x409dcf['top']},'bound':{'top':_0x409dcf['top'],'left':_0x409dcf['left'],'right':_0x409dcf[_0x2d6e31(0x239)],'bottom':_0x409dcf[_0x2d6e31(0x1e3)]}});}['render'](){const _0x409072=_0x5e5926;let _0x2bb7fa=this[_0x409072(0x242)][_0x409072(0x212)]()['getContext']();this['_documents']['makeForceDirty'](),this[_0x409072(0x21d)][_0x409072(0x1df)](),_0x2bb7fa[_0x409072(0x24f)](),this[_0x409072(0x21d)][_0x409072(0x1fc)](),_0x2bb7fa[_0x409072(0x20f)]();}};function _0xa226(){const _0x829e13=['registerDependencies','_effects','Scene','getSkeletonData','getLicenseInfo','CommandType','VIEW_MAIN','Printing','1034vPJsnt','ICommandService','PRINT_CANVAS_CLASS','pages','0px','width','1055553GoDELk','pluginName','docs-print.menu','PRINTING_DOM_COLLECT','UniverLicensePlugin','DocumentDataModel\x20is\x20not\x20found','setConfig','Disposable','timeValid','264590PxgDKV','LS_CONFIG_KEY','_skeletonData','_offsetConfig','VIEWPORT_KEY','prepare','isLocalCheck','style','getUnitId','div','appendChild','disposeWithMe','UNIVER_DOC','docs.operation.print','_skeleton','_calculateLayout','onReady','_container','getDocFeatureLimit','min','RibbonStartGroup','_iconManager','148ZRdmVt','makeDirty','_addComponent','getSkeleton','string','bottom','_page','getRenderById','_injector','getContext','SwitchDocModeCommand','updateScrollVal','onbeforeprint','PRINT_CONTAINER_CLASS','documentFlavor','register','removeChild','function','UNIVER_DOCS_PRINT','scale','BUTTON','body','_configService','DocSkeletonManagerService','prototype','3714314VmyAIU','getUnit','with','Render\x20is\x20not\x20found','Skeleton\x20data\x20is\x20not\x20found','render','_unitId','Portrait','merge','valid','_renderManagerService','Plugin','_registerIcons','DocPrintInterceptorService','OPERATION','registerCommand','type','pageHeight','_documents','_addViewport','print','pageWidth','IConfigService','_initMenus','restore','Pages\x20are\x20not\x20found','get','getCanvas','PrintDirection','OTHERS','height','UniverInstanceType','container','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','length','symbol','Module','decorate','_scene','add','11756801sflXPX','getDocumentStyle','Injector','getInterceptPoints','_initRenderer','_key','dispose','6IZrnyZ','PRINTING_COMPONENT_COLLECT','root','_viewMain','Documents','setId','createElement','interceptor','addObject','constructor','75141RJSBrp','absolute','DOCS_PRINT_PLUGIN_CONFIG_KEY','left','syncExecuteCommand','iterator','_menuManagerService','onStarting','100%','right','call','Inject','message','IRenderManagerService','packageName','getCurrentUnitOfType','_univerInstanceService','className','_engine','23367MkyZuj','forEach','DocumentFlavor','toPrimitive','page','_root','createPrintStyle','translate','Viewport','toStringTag','mergeMenu','_paperSize','save','_initCommands','map','IUniverInstanceService','1.0.0-alpha.2','4127190ShRshZ','fetchThroughInterceptors','generateRandomId','TRADITIONAL','DisposableCollection','104LZGWlf','position','DependentOn','getOffsetConfig','object','isPro','defineProperty','_config'];_0xa226=function(){return _0x829e13;};return _0xa226();}function m(_0x399fdc,_0x298181){return function(_0x327932,_0x58b149){_0x298181(_0x327932,_0x58b149,_0x399fdc);};}function h(_0x31d418,_0x3633e6,_0x6c7353,_0x160803){const _0x180c24=_0x5e5926;var _0x5bcc9b=arguments[_0x180c24(0x219)],_0x1187bd=_0x5bcc9b<0x3?_0x3633e6:_0x160803===null?_0x160803=Object['getOwnPropertyDescriptor'](_0x3633e6,_0x6c7353):_0x160803,_0x5c0585;if(typeof Reflect==_0x180c24(0x25d)&&typeof Reflect[_0x180c24(0x21c)]==_0x180c24(0x1ef))_0x1187bd=Reflect[_0x180c24(0x21c)](_0x31d418,_0x3633e6,_0x6c7353,_0x160803);else{for(var _0x8cb622=_0x31d418['length']-0x1;_0x8cb622>=0x0;_0x8cb622--)(_0x5c0585=_0x31d418[_0x8cb622])&&(_0x1187bd=(_0x5bcc9b<0x3?_0x5c0585(_0x1187bd):_0x5bcc9b>0x3?_0x5c0585(_0x3633e6,_0x6c7353,_0x1187bd):_0x5c0585(_0x3633e6,_0x6c7353))||_0x1187bd);}return _0x5bcc9b>0x3&&_0x1187bd&&Object['defineProperty'](_0x3633e6,_0x6c7353,_0x1187bd),_0x1187bd;}const g=Number['parseInt'](0x6a48c922),_=(_0x13f1dc,_0x15ae00,_0x119c86)=>{const _0x309c2c=_0x5e5926;let _0x43bb71={'page':_0x13f1dc,'isPro':!0x1,'timeValid':!0x1};if(!_0x15ae00||!_0x119c86)return _0x43bb71;let _0x1464e1=(0x0,r[_0x309c2c(0x265)])(_0x15ae00,_0x119c86);if(_0x1464e1[_0x309c2c(0x200)]){let _0x197a97=_0x1464e1[_0x309c2c(0x23c)],_0x2978e9=(0x0,r['isFeatureAuthorizedWithinTime'])(_0x197a97,'df',g);_0x43bb71[_0x309c2c(0x25e)]=_0x2978e9,_0x43bb71[_0x309c2c(0x277)]=_0x2978e9,_0x43bb71[_0x309c2c(0x247)]=(0x0,r[_0x309c2c(0x1da)])(_0x197a97,_0x2978e9,'mpn',_0x13f1dc,_0x13f1dc,0x0);}return _0x43bb71;};let v=class extends e['Disposable']{constructor(_0x1df6e1,_0x404d6a,_0x109f9f,_0xbad888){const _0x101ab0=_0x5e5926;super(),this[_0x101ab0(0x240)]=_0x1df6e1,this[_0x101ab0(0x201)]=_0x404d6a,this[_0x101ab0(0x1e6)]=_0x109f9f,this['_configService']=_0xbad888;}[_0x5e5926(0x20b)](_0x2432dd){const _0x444f37=_0x5e5926;var _0x21580f,_0x404a3a;let {ls:_0x424ca6,pbk:_0x311315}=(_0x21580f=this[_0x444f37(0x1f4)]['getConfig'](r[_0x444f37(0x279)]))==null?{}:_0x21580f,_0x1584fc=(0x0,r[_0x444f37(0x1ce)])()?0x1/0x0:_(0x1,_0x424ca6,_0x311315)[_0x444f37(0x247)];if(!this[_0x444f37(0x240)][_0x444f37(0x1f8)](_0x2432dd,e['UniverInstanceType'][_0x444f37(0x1d4)]))throw Error(_0x444f37(0x274));let _0x3b44af=this['_renderManagerService'][_0x444f37(0x1e5)](_0x2432dd);if(!_0x3b44af)throw Error(_0x444f37(0x1fa));let _0x62b856=(_0x404a3a=_0x3b44af[_0x444f37(0x1f9)](a['DocSkeletonManagerService'])[_0x444f37(0x1e1)]()['getSkeletonData']())==null?void 0x0:_0x404a3a[_0x444f37(0x26c)];if(!_0x62b856)throw Error(_0x444f37(0x210));let _0x9d81c9={'width':_0x62b856[0x0][_0x444f37(0x20c)],'height':_0x62b856[0x0][_0x444f37(0x208)]},_0x421147=_0x62b856['length'],_0xbe6220=Math[_0x444f37(0x1db)](_0x1584fc,_0x421147),_0x2a136f=_0x3b44af['mainComponent'][_0x444f37(0x25c)](),_0x5b638a=document['createElement'](_0x444f37(0x1d1));_0x5b638a['className']=i[_0x444f37(0x1eb)];let _0x4fe4ad=Array(_0xbe6220)['fill'](null)[_0x444f37(0x251)]((_0x140a54,_0x724aca)=>{const _0x47abb7=_0x444f37;let _0x1b55c5=new p(this[_0x47abb7(0x1e6)],_0x724aca,_0x2432dd,_0x2a136f);return _0x1b55c5[_0x47abb7(0x217)][_0x47abb7(0x241)]=i[_0x47abb7(0x26b)],_0x1b55c5;});_0x4fe4ad[_0x444f37(0x244)](_0x5508bc=>{const _0x2c522b=_0x444f37;_0x5b638a['appendChild'](_0x5508bc[_0x2c522b(0x217)]),_0x5508bc[_0x2c522b(0x217)][_0x2c522b(0x1d2)](_0x5508bc[_0x2c522b(0x228)]),_0x5508bc[_0x2c522b(0x1cd)]();});let _0x5f4dcc=(0x0,i[_0x444f37(0x249)])(_0x9d81c9['width'],_0x9d81c9[_0x444f37(0x215)],i[_0x444f37(0x213)][_0x444f37(0x1fe)]);return document[_0x444f37(0x1f3)]['appendChild'](_0x5f4dcc),document[_0x444f37(0x1f3)]['appendChild'](_0x5b638a),new Promise(_0x20d61b=>{setTimeout(()=>{const _0x148139=_0x16f6;window[_0x148139(0x1ea)]=()=>{const _0x54f8ab=_0x148139;_0x4fe4ad[_0x54f8ab(0x244)](_0x12d7c0=>{_0x12d7c0['render']();});},window['onafterprint']=()=>{const _0x5a818f=_0x148139;_0x4fe4ad[_0x5a818f(0x244)](_0x1f40ce=>{_0x1f40ce['dispose']();}),document[_0x5a818f(0x1f3)][_0x5a818f(0x1ee)](_0x5b638a),document[_0x5a818f(0x1f3)]['removeChild'](_0x5f4dcc),_0x20d61b(!0x0);},window[_0x148139(0x20b)]();},0x64);});}};v=h([m(0x0,e[_0x5e5926(0x252)]),m(0x1,n[_0x5e5926(0x23d)]),m(0x2,(0x0,e[_0x5e5926(0x23b)])(e[_0x5e5926(0x221)])),m(0x3,e[_0x5e5926(0x20d)])],v);const y={'id':_0x5e5926(0x1d5),'type':e[_0x5e5926(0x266)][_0x5e5926(0x205)],'handler':async _0x2e5085=>{const _0x5ae28b=_0x5e5926;let _0x512730=_0x2e5085[_0x5ae28b(0x211)](e['IUniverInstanceService']),_0x1338e4=_0x2e5085['get'](v),_0x434ab0=_0x2e5085[_0x5ae28b(0x211)](n[_0x5ae28b(0x23d)]),_0x1bf4d6=_0x2e5085[_0x5ae28b(0x211)](e['ICommandService']),_0xfa6a3f=_0x512730[_0x5ae28b(0x23f)](e[_0x5ae28b(0x216)][_0x5ae28b(0x1d4)]);if(!_0xfa6a3f)return!0x1;if(!_0x434ab0['getRenderById'](_0xfa6a3f[_0x5ae28b(0x1d0)]()))throw Error(_0x5ae28b(0x1fa));let _0x4638ba=_0xfa6a3f[_0x5ae28b(0x220)]()[_0x5ae28b(0x1ec)];return _0x4638ba!==e[_0x5ae28b(0x245)][_0x5ae28b(0x257)]&&_0x1bf4d6[_0x5ae28b(0x234)](t[_0x5ae28b(0x1e8)]['id']),await _0x1338e4[_0x5ae28b(0x20b)](_0xfa6a3f[_0x5ae28b(0x1d0)]()),_0x4638ba!==e[_0x5ae28b(0x245)][_0x5ae28b(0x257)]&&_0x1bf4d6[_0x5ae28b(0x234)](t[_0x5ae28b(0x1e8)]['id']),!0x0;}},b=_0x5e5926(0x1f0),x={};var S='@univerjs-pro/docs-print',C=_0x5e5926(0x253);let w=class extends e[_0x5e5926(0x276)]{constructor(_0x33af29){const _0x2138b3=_0x5e5926;super(),this['_iconManager']=_0x33af29,this[_0x2138b3(0x203)]();}[_0x5e5926(0x203)](){const _0x10e499=_0x5e5926;this[_0x10e499(0x1d3)](this[_0x10e499(0x1dd)][_0x10e499(0x1ed)]({'PrintIcon':s['PrintIcon']}));}};w=h([m(0x0,(0x0,e[_0x5e5926(0x23b)])(c['IconManager']))],w);function T(_0x267ac4){const _0x2c863a=_0x5e5926;return{'id':y['id'],'type':c['MenuItemType'][_0x2c863a(0x1f2)],'title':_0x2c863a(0x271),'icon':'PrintIcon','tooltip':_0x2c863a(0x271),'hidden$':(0x0,c['getMenuHiddenObservable'])(_0x267ac4,e[_0x2c863a(0x216)][_0x2c863a(0x1d4)])};}const E={[c[_0x5e5926(0x1dc)][_0x5e5926(0x214)]]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e[_0x5e5926(0x276)]{constructor(_0x4c0986,_0x27239b){const _0x3bcd1a=_0x5e5926;super(),this['_commandService']=_0x4c0986,this[_0x3bcd1a(0x236)]=_0x27239b,this[_0x3bcd1a(0x20e)](),this['_initCommands']();}['_initMenus'](){const _0x390aab=_0x5e5926;this[_0x390aab(0x236)][_0x390aab(0x24d)](E);}[_0x5e5926(0x250)](){const _0x466f9c=_0x5e5926;this[_0x466f9c(0x1d3)](this['_commandService'][_0x466f9c(0x206)](y));}};D=h([m(0x0,e[_0x5e5926(0x26a)]),m(0x1,c['IMenuManagerService'])],D);let O=class extends e[_0x5e5926(0x202)]{constructor(_0x4b5e3c=x,_0x4ae318,_0x492ed3){const _0x11a3f3=_0x5e5926;super(),this[_0x11a3f3(0x260)]=_0x4b5e3c,this[_0x11a3f3(0x1e6)]=_0x4ae318,this[_0x11a3f3(0x1f4)]=_0x492ed3;let {menu:_0x3b64db,..._0x5f4f8b}=(0x0,e[_0x11a3f3(0x1ff)])({},x,this['_config']);_0x3b64db&&this[_0x11a3f3(0x1f4)][_0x11a3f3(0x275)]('menu',_0x3b64db,{'merge':!0x0}),this[_0x11a3f3(0x1f4)][_0x11a3f3(0x275)](b,_0x5f4f8b);}[_0x5e5926(0x237)](){const _0x1be9ad=_0x5e5926;this['_injector'][_0x1be9ad(0x21e)]([w]),this[_0x1be9ad(0x1e6)][_0x1be9ad(0x211)](w),(0x0,e[_0x1be9ad(0x261)])(this[_0x1be9ad(0x1e6)],[[v],[D]]);}[_0x5e5926(0x1d8)](){const _0x5167f6=_0x5e5926;this['_injector'][_0x5167f6(0x211)](D);}};f(O,_0x5e5926(0x270),_0x5e5926(0x1f0)),f(O,_0x5e5926(0x23e),S),f(O,'version',C),f(O,_0x5e5926(0x207),e['UniverInstanceType'][_0x5e5926(0x1d4)]),O=h([(0x0,e[_0x5e5926(0x25b)])(o['UniverNetworkPlugin'],r[_0x5e5926(0x273)]),m(0x1,(0x0,e[_0x5e5926(0x23b)])(e['Injector'])),m(0x2,e[_0x5e5926(0x20d)])],O),exports[_0x5e5926(0x232)]=b,exports['DocPrintOperation']=y,Object[_0x5e5926(0x25f)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return O;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1221(){const _0x548341=['225921mtlpfr','4616yOrqNx','70QVpJKa','6748eWDlCB','2995308VaUgBJ','2258498IcMxIi','173694ytxjpP','524688zAMrYU','375116qBMuCe','20OpcVsc','40RlrmRZ'];_0x1221=function(){return _0x548341;};return _0x1221();}function _0x5785(_0x5b24b4,_0x227233){_0x5b24b4=_0x5b24b4-0xc5;const _0x1221a6=_0x1221();let _0x578540=_0x1221a6[_0x5b24b4];return _0x578540;}(function(_0x51408e,_0x1a7d06){const _0x27eefd=_0x5785,_0xcd8d15=_0x51408e();while(!![]){try{const _0x106f72=parseInt(_0x27eefd(0xc8))/0x1+parseInt(_0x27eefd(0xc9))/0x2+-parseInt(_0x27eefd(0xcc))/0x3*(-parseInt(_0x27eefd(0xca))/0x4)+parseInt(_0x27eefd(0xcb))/0x5*(-parseInt(_0x27eefd(0xc7))/0x6)+parseInt(_0x27eefd(0xcf))/0x7*(parseInt(_0x27eefd(0xcd))/0x8)+parseInt(_0x27eefd(0xc5))/0x9+parseInt(_0x27eefd(0xce))/0xa*(-parseInt(_0x27eefd(0xc6))/0xb);if(_0x106f72===_0x1a7d06)break;else _0xcd8d15['push'](_0xcd8d15['shift']());}catch(_0x56b71f){_0xcd8d15['push'](_0xcd8d15['shift']());}}}(_0x1221,0x4b70b));const e={'docs-print':{'menu':'طباعة'}};module['exports']=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3d76(){const _0xdf8374=['1825184LtOVrm','5413925TrIgTh','15414080eMGyfU','534878ALiNzQ','6447616hzXeGh','exports','3vWEqWj','Imprimir','862080ARoPto','705038ilaIMT'];_0x3d76=function(){return _0xdf8374;};return _0x3d76();}const _0x486a9f=_0x41ae;(function(_0x51bb3c,_0x80d4b5){const _0x1d7024=_0x41ae,_0x57de64=_0x51bb3c();while(!![]){try{const _0x2ff77f=-parseInt(_0x1d7024(0x1d6))/0x1+parseInt(_0x1d7024(0x1dc))/0x2*(-parseInt(_0x1d7024(0x1d9))/0x3)+-parseInt(_0x1d7024(0x1dd))/0x4+-parseInt(_0x1d7024(0x1de))/0x5+parseInt(_0x1d7024(0x1db))/0x6+parseInt(_0x1d7024(0x1d7))/0x7+parseInt(_0x1d7024(0x1df))/0x8;if(_0x2ff77f===_0x80d4b5)break;else _0x57de64['push'](_0x57de64['shift']());}catch(_0x16ee08){_0x57de64['push'](_0x57de64['shift']());}}}(_0x3d76,0x89f3a));const e={'docs-print':{'menu':_0x486a9f(0x1da)}};function _0x41ae(_0x2790e9,_0x157fa0){_0x2790e9=_0x2790e9-0x1d6;const _0x3d76fb=_0x3d76();let _0x41ae88=_0x3d76fb[_0x2790e9];return _0x41ae88;}module[_0x486a9f(0x1d8)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x277f89=_0x4ede;(function(_0x7c2428,_0x5dab4f){const _0x34bee3=_0x4ede,_0x4802dc=_0x7c2428();while(!![]){try{const _0x59a27b=-parseInt(_0x34bee3(0x153))/0x1+parseInt(_0x34bee3(0x14c))/0x2+parseInt(_0x34bee3(0x150))/0x3+parseInt(_0x34bee3(0x152))/0x4*(-parseInt(_0x34bee3(0x155))/0x5)+parseInt(_0x34bee3(0x14e))/0x6*(parseInt(_0x34bee3(0x14d))/0x7)+parseInt(_0x34bee3(0x14f))/0x8+-parseInt(_0x34bee3(0x151))/0x9;if(_0x59a27b===_0x5dab4f)break;else _0x4802dc['push'](_0x4802dc['shift']());}catch(_0x241112){_0x4802dc['push'](_0x4802dc['shift']());}}}(_0x41ef,0x579df));const e={'docs-print':{'menu':_0x277f89(0x154)}};function _0x4ede(_0x59c4e7,_0x2de498){_0x59c4e7=_0x59c4e7-0x14b;const _0x41ef2e=_0x41ef();let _0x4edeb2=_0x41ef2e[_0x59c4e7];return _0x4edeb2;}function _0x41ef(){const _0x354f85=['509074ZhcgNh','70UMZhCr','49566BflExP','4247632ZTnZRm','1423581mZFtFR','2698947wzrCFP','36kDDPcA','396604RxPaZh','Drucken','159590UJYGIQ','exports'];_0x41ef=function(){return _0x354f85;};return _0x41ef();}module[_0x277f89(0x14b)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5b0a(_0x516465,_0x5cc1e1){_0x516465=_0x516465-0xe3;const _0x29d764=_0x29d7();let _0x5b0a7b=_0x29d764[_0x516465];return _0x5b0a7b;}const _0x150f73=_0x5b0a;(function(_0x2d951d,_0x29de3b){const _0x4b254f=_0x5b0a,_0x547ed3=_0x2d951d();while(!![]){try{const _0x39a4b2=-parseInt(_0x4b254f(0xea))/0x1+parseInt(_0x4b254f(0xe6))/0x2*(-parseInt(_0x4b254f(0xe9))/0x3)+parseInt(_0x4b254f(0xe8))/0x4*(parseInt(_0x4b254f(0xe5))/0x5)+parseInt(_0x4b254f(0xee))/0x6+parseInt(_0x4b254f(0xed))/0x7+parseInt(_0x4b254f(0xe3))/0x8*(parseInt(_0x4b254f(0xeb))/0x9)+parseInt(_0x4b254f(0xe4))/0xa*(-parseInt(_0x4b254f(0xe7))/0xb);if(_0x39a4b2===_0x29de3b)break;else _0x547ed3['push'](_0x547ed3['shift']());}catch(_0x13759a){_0x547ed3['push'](_0x547ed3['shift']());}}}(_0x29d7,0x8ed0d));const e={'docs-print':{'menu':_0x150f73(0xec)}};function _0x29d7(){const _0x5ada0f=['7089327sZbsAF','Print','6847491fWXQmr','493152sKWABg','8CMqaRN','1190410oUlHfy','10LRCvlM','1006698ZrQLAF','22PKSVPY','505524MatJhe','3zZMHLy','774466DabTQa'];_0x29d7=function(){return _0x5ada0f;};return _0x29d7();}module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x9f0856=_0x1dcd;function _0x1dcd(_0x5bfb0a,_0x453dbf){_0x5bfb0a=_0x5bfb0a-0xf9;const _0x333bd1=_0x333b();let _0x1dcdb5=_0x333bd1[_0x5bfb0a];return _0x1dcdb5;}function _0x333b(){const _0x372d52=['162jbWhLi','1717911vBrPnG','1474IwAfnE','106260ZIysNM','Imprimir','9QiKeXe','4MtyIen','4gNnJja','853545VWFYtr','296485euAfjv','3403320HHLCZv','exports','1492660kncsYr','932638MRiECk'];_0x333b=function(){return _0x372d52;};return _0x333b();}(function(_0x476698,_0x5cd86c){const _0x5dba9d=_0x1dcd,_0xc5d489=_0x476698();while(!![]){try{const _0x4e4838=-parseInt(_0x5dba9d(0x106))/0x1+parseInt(_0x5dba9d(0xff))/0x2*(parseInt(_0x5dba9d(0xfa))/0x3)+parseInt(_0x5dba9d(0x100))/0x4*(-parseInt(_0x5dba9d(0x101))/0x5)+-parseInt(_0x5dba9d(0xf9))/0x6*(-parseInt(_0x5dba9d(0x102))/0x7)+-parseInt(_0x5dba9d(0x103))/0x8*(-parseInt(_0x5dba9d(0xfe))/0x9)+parseInt(_0x5dba9d(0x105))/0xa+parseInt(_0x5dba9d(0xfb))/0xb*(-parseInt(_0x5dba9d(0xfc))/0xc);if(_0x4e4838===_0x5cd86c)break;else _0xc5d489['push'](_0xc5d489['shift']());}catch(_0x2ee86b){_0xc5d489['push'](_0xc5d489['shift']());}}}(_0x333b,0x8c0b7));const e={'docs-print':{'menu':_0x9f0856(0xfd)}};module[_0x9f0856(0x104)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2f81(){const _0x379678=['3114918kYmpxT','2257146ECrUDc','3rbTujb','585906rUDYxW','91047HSlsfA','772646onKLlK','91AOZFvf','1940KTvNCT','چاپ','3586944ExPUYi','660140CSmyWR','16GJCjIo'];_0x2f81=function(){return _0x379678;};return _0x2f81();}const _0x171996=_0x2000;(function(_0x12a090,_0x3b8dc0){const _0x6c8471=_0x2000,_0x3abf44=_0x12a090();while(!![]){try{const _0x2184f4=parseInt(_0x6c8471(0x134))/0x1*(-parseInt(_0x6c8471(0x137))/0x2)+-parseInt(_0x6c8471(0x132))/0x3+-parseInt(_0x6c8471(0x131))/0x4*(parseInt(_0x6c8471(0x13c))/0x5)+-parseInt(_0x6c8471(0x135))/0x6*(-parseInt(_0x6c8471(0x138))/0x7)+parseInt(_0x6c8471(0x13b))/0x8+parseInt(_0x6c8471(0x133))/0x9+parseInt(_0x6c8471(0x139))/0xa*(parseInt(_0x6c8471(0x136))/0xb);if(_0x2184f4===_0x3b8dc0)break;else _0x3abf44['push'](_0x3abf44['shift']());}catch(_0x14a1cc){_0x3abf44['push'](_0x3abf44['shift']());}}}(_0x2f81,0xcf450));const e={'docs-print':{'menu':_0x171996(0x13a)}};function _0x2000(_0x5967d8,_0x3c5281){_0x5967d8=_0x5967d8-0x131;const _0x2f8104=_0x2f81();let _0x2000af=_0x2f8104[_0x5967d8];return _0x2000af;}module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1c08(_0x2c6d8a,_0x3811a0){_0x2c6d8a=_0x2c6d8a-0xc5;const _0x25af28=_0x25af();let _0x1c0813=_0x25af28[_0x2c6d8a];return _0x1c0813;}const _0xc0beaa=_0x1c08;(function(_0x4b83f4,_0x3fc5af){const _0x194338=_0x1c08,_0x3ec061=_0x4b83f4();while(!![]){try{const _0x5f30ad=parseInt(_0x194338(0xc8))/0x1+-parseInt(_0x194338(0xcd))/0x2+-parseInt(_0x194338(0xc9))/0x3*(-parseInt(_0x194338(0xca))/0x4)+-parseInt(_0x194338(0xc7))/0x5*(-parseInt(_0x194338(0xd0))/0x6)+parseInt(_0x194338(0xc5))/0x7*(parseInt(_0x194338(0xcf))/0x8)+-parseInt(_0x194338(0xcb))/0x9+parseInt(_0x194338(0xce))/0xa*(-parseInt(_0x194338(0xd1))/0xb);if(_0x5f30ad===_0x3fc5af)break;else _0x3ec061['push'](_0x3ec061['shift']());}catch(_0x388a8e){_0x3ec061['push'](_0x3ec061['shift']());}}}(_0x25af,0xbe4d9));const e={'docs-print':{'menu':_0xc0beaa(0xc6)}};function _0x25af(){const _0x3c13c3=['Imprimer','5tLGgiu','1519214nJADOD','517347bmmtke','12JBmNFn','618363iohkpd','exports','864582nigWYb','3357790KgHPaL','8TxrqiD','5961174eQwtvN','88bxggGv','6556347lGYHtm'];_0x25af=function(){return _0x3c13c3;};return _0x25af();}module[_0xc0beaa(0xcc)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x23c5a1=_0x3925;(function(_0x3743f6,_0xbbc6c){const _0x5aa404=_0x3925,_0x2924b6=_0x3743f6();while(!![]){try{const _0x28f254=-parseInt(_0x5aa404(0x1a7))/0x1+-parseInt(_0x5aa404(0x1a4))/0x2+parseInt(_0x5aa404(0x1a0))/0x3*(parseInt(_0x5aa404(0x1a8))/0x4)+-parseInt(_0x5aa404(0x1a2))/0x5+parseInt(_0x5aa404(0x1a9))/0x6*(parseInt(_0x5aa404(0x1a1))/0x7)+-parseInt(_0x5aa404(0x1a5))/0x8+parseInt(_0x5aa404(0x1aa))/0x9;if(_0x28f254===_0xbbc6c)break;else _0x2924b6['push'](_0x2924b6['shift']());}catch(_0x47a834){_0x2924b6['push'](_0x2924b6['shift']());}}}(_0x4a34,0xbef14));function _0x4a34(){const _0x35a270=['9241240MVHkxF','Cetak','692801kEVWxa','52JOnRAE','6LAhCRF','14382306DOQapb','241008LcxAyp','9482599uqVcKh','1257115OgWkKg','exports','2231160SLxGcE'];_0x4a34=function(){return _0x35a270;};return _0x4a34();}function _0x3925(_0x2b4784,_0x3372e6){_0x2b4784=_0x2b4784-0x1a0;const _0x4a34e4=_0x4a34();let _0x3925ff=_0x4a34e4[_0x2b4784];return _0x3925ff;}const e={'docs-print':{'menu':_0x23c5a1(0x1a6)}};module[_0x23c5a1(0x1a3)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x19fc(_0x32cf7d,_0x52bac4){_0x32cf7d=_0x32cf7d-0x150;const _0x1b88df=_0x1b88();let _0x19fce3=_0x1b88df[_0x32cf7d];return _0x19fce3;}function _0x1b88(){const _0x132b83=['674506VhRoCV','3011816GivIRK','5JTJFDM','73252gpGfAz','4824946TBOpwQ','14665977aCKtyD','1097028FmOMvt','2437974JDrlcj','5obrMUT','Stampa'];_0x1b88=function(){return _0x132b83;};return _0x1b88();}const _0x52dd84=_0x19fc;(function(_0x1da728,_0xa6277f){const _0x9667d0=_0x19fc,_0x1ee890=_0x1da728();while(!![]){try{const _0x9802dc=parseInt(_0x9667d0(0x154))/0x1*(-parseInt(_0x9667d0(0x156))/0x2)+parseInt(_0x9667d0(0x153))/0x3+-parseInt(_0x9667d0(0x159))/0x4*(parseInt(_0x9667d0(0x158))/0x5)+-parseInt(_0x9667d0(0x152))/0x6+parseInt(_0x9667d0(0x150))/0x7+-parseInt(_0x9667d0(0x157))/0x8+parseInt(_0x9667d0(0x151))/0x9;if(_0x9802dc===_0xa6277f)break;else _0x1ee890['push'](_0x1ee890['shift']());}catch(_0x53ce52){_0x1ee890['push'](_0x1ee890['shift']());}}}(_0x1b88,0xd3d0c));const e={'docs-print':{'menu':_0x52dd84(0x155)}};module['exports']=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1c47(){const _0xc0ede5=['1755dkmtRj','exports','861844eQXUSU','148seQsao','22CZbllZ','53307ExyHXA','1768MELzpf','15DTQjTa','12axavJQ','17157012QYVfmF','1413870vXAiGR','83360ypBzsV','4093978HsrkWo'];_0x1c47=function(){return _0xc0ede5;};return _0x1c47();}const _0x403418=_0xf52a;(function(_0x861f56,_0x4b12cc){const _0x35c6bf=_0xf52a,_0x3552d0=_0x861f56();while(!![]){try{const _0x405df3=parseInt(_0x35c6bf(0xa8))/0x1+parseInt(_0x35c6bf(0xa1))/0x2*(-parseInt(_0x35c6bf(0xab))/0x3)+-parseInt(_0x35c6bf(0xa0))/0x4*(-parseInt(_0x35c6bf(0xa5))/0x5)+-parseInt(_0x35c6bf(0xa6))/0x6*(parseInt(_0x35c6bf(0xaa))/0x7)+-parseInt(_0x35c6bf(0xa4))/0x8*(-parseInt(_0x35c6bf(0xa3))/0x9)+parseInt(_0x35c6bf(0xa9))/0xa*(-parseInt(_0x35c6bf(0xa2))/0xb)+-parseInt(_0x35c6bf(0xa7))/0xc;if(_0x405df3===_0x4b12cc)break;else _0x3552d0['push'](_0x3552d0['shift']());}catch(_0x4a5aad){_0x3552d0['push'](_0x3552d0['shift']());}}}(_0x1c47,0xad4b7));const e={'docs-print':{'menu':'印刷'}};function _0xf52a(_0x2c62d6,_0x184338){_0x2c62d6=_0x2c62d6-0xa0;const _0x1c47bc=_0x1c47();let _0xf52a93=_0x1c47bc[_0x2c62d6];return _0xf52a93;}module[_0x403418(0xac)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3319(){const _0x420ea0=['1471992mAqyfd','737979UGGzRR','24595952VvPxEU','38588PBzUUO','12481049heddml','1286580WPdLlD','415spMwtD','2159238ojvhmZ','exports'];_0x3319=function(){return _0x420ea0;};return _0x3319();}const _0x22367f=_0x2f67;function _0x2f67(_0x1af784,_0x17fe9b){_0x1af784=_0x1af784-0x1c7;const _0x3319da=_0x3319();let _0x2f67b9=_0x3319da[_0x1af784];return _0x2f67b9;}(function(_0x50ed7f,_0x16b376){const _0xcc4124=_0x2f67,_0x36e08f=_0x50ed7f();while(!![]){try{const _0xece33e=-parseInt(_0xcc4124(0x1cb))/0x1+parseInt(_0xcc4124(0x1cf))/0x2+-parseInt(_0xcc4124(0x1c7))/0x3+parseInt(_0xcc4124(0x1c9))/0x4*(parseInt(_0xcc4124(0x1cc))/0x5)+-parseInt(_0xcc4124(0x1cd))/0x6+-parseInt(_0xcc4124(0x1ca))/0x7+parseInt(_0xcc4124(0x1c8))/0x8;if(_0xece33e===_0x16b376)break;else _0x36e08f['push'](_0x36e08f['shift']());}catch(_0x44eb0b){_0x36e08f['push'](_0x36e08f['shift']());}}}(_0x3319,0xe473a));const e={'docs-print':{'menu':'인쇄'}};module[_0x22367f(0x1ce)]=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x25aac7=_0xe419;(function(_0x27744d,_0xef9d87){const _0x263f10=_0xe419,_0x11ea9f=_0x27744d();while(!![]){try{const _0x334fb0=parseInt(_0x263f10(0x197))/0x1+parseInt(_0x263f10(0x19e))/0x2+parseInt(_0x263f10(0x1a1))/0x3*(-parseInt(_0x263f10(0x199))/0x4)+parseInt(_0x263f10(0x19d))/0x5*(-parseInt(_0x263f10(0x19b))/0x6)+-parseInt(_0x263f10(0x19f))/0x7*(parseInt(_0x263f10(0x198))/0x8)+parseInt(_0x263f10(0x19a))/0x9+-parseInt(_0x263f10(0x1a0))/0xa;if(_0x334fb0===_0xef9d87)break;else _0x11ea9f['push'](_0x11ea9f['shift']());}catch(_0x189339){_0x11ea9f['push'](_0x11ea9f['shift']());}}}(_0x1c5c,0x946db));function _0x1c5c(){const _0x56a524=['exports','856081zfqOsj','56JlgeHB','37100KAGoJH','10161522WxxLxY','18OSbAAu','Drukuj','1198355xGLTVq','609442uJYIVZ','28294pVcNGD','8140150IDohFF','39zqSClz'];_0x1c5c=function(){return _0x56a524;};return _0x1c5c();}const e={'docs-print':{'menu':_0x25aac7(0x19c)}};function _0xe419(_0x71771,_0x173745){_0x71771=_0x71771-0x196;const _0x1c5c01=_0x1c5c();let _0xe41912=_0x1c5c01[_0x71771];return _0xe41912;}module[_0x25aac7(0x196)]=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x43dc(_0x268e5e,_0x1344b6){_0x268e5e=_0x268e5e-0xc9;const _0x5c8515=_0x5c85();let _0x43dc6a=_0x5c8515[_0x268e5e];return _0x43dc6a;}function _0x5c85(){const _0x462e69=['74941eYeRkB','4120746tKueFM','Imprimir','7696510MfKTBv','48LICAFa','3214480aJMIKb','3PlIRHW','142058muUaRM','8eXVVva','exports','1989549DglsWn','384560xsRXWG'];_0x5c85=function(){return _0x462e69;};return _0x5c85();}const _0xa01a66=_0x43dc;(function(_0x45dfb6,_0x39b59e){const _0x4b9c90=_0x43dc,_0x5b56c7=_0x45dfb6();while(!![]){try{const _0x5ddb21=-parseInt(_0x4b9c90(0xcd))/0x1+parseInt(_0x4b9c90(0xd4))/0x2*(-parseInt(_0x4b9c90(0xd3))/0x3)+parseInt(_0x4b9c90(0xd2))/0x4+-parseInt(_0x4b9c90(0xcc))/0x5*(parseInt(_0x4b9c90(0xd1))/0x6)+-parseInt(_0x4b9c90(0xce))/0x7+parseInt(_0x4b9c90(0xc9))/0x8*(parseInt(_0x4b9c90(0xcb))/0x9)+parseInt(_0x4b9c90(0xd0))/0xa;if(_0x5ddb21===_0x39b59e)break;else _0x5b56c7['push'](_0x5b56c7['shift']());}catch(_0x37133d){_0x5b56c7['push'](_0x5b56c7['shift']());}}}(_0x5c85,0x6c7e4));const e={'docs-print':{'menu':_0xa01a66(0xcf)}};module[_0xa01a66(0xca)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x47ac(){const _0x3dc359=['656368bTCOsC','1710181KlGqGn','6027543eVssGB','4542KwQRZj','exports','1915haAJAq','844592KplfgS','5299hxvOdo','34BmKlQB','5404vZmliQ','70833ydxCJl','80iPhWaS'];_0x47ac=function(){return _0x3dc359;};return _0x47ac();}const _0x3654b0=_0x5524;(function(_0x3feacf,_0x573974){const _0x5e2318=_0x5524,_0x95aead=_0x3feacf();while(!![]){try{const _0x28c9d6=-parseInt(_0x5e2318(0x198))/0x1+-parseInt(_0x5e2318(0x1a0))/0x2*(-parseInt(_0x5e2318(0x196))/0x3)+-parseInt(_0x5e2318(0x195))/0x4*(-parseInt(_0x5e2318(0x19d))/0x5)+-parseInt(_0x5e2318(0x19b))/0x6*(parseInt(_0x5e2318(0x19f))/0x7)+parseInt(_0x5e2318(0x19e))/0x8+-parseInt(_0x5e2318(0x19a))/0x9+-parseInt(_0x5e2318(0x197))/0xa*(-parseInt(_0x5e2318(0x199))/0xb);if(_0x28c9d6===_0x573974)break;else _0x95aead['push'](_0x95aead['shift']());}catch(_0x4f17f1){_0x95aead['push'](_0x95aead['shift']());}}}(_0x47ac,0x5a17a));const e={'docs-print':{'menu':'Печать'}};function _0x5524(_0xe24b50,_0x2cc335){_0xe24b50=_0xe24b50-0x195;const _0x47aca6=_0x47ac();let _0x5524b3=_0x47aca6[_0xe24b50];return _0x5524b3;}module[_0x3654b0(0x19c)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ffd0e=_0x2ee1;(function(_0x3e5a78,_0x1b67c2){const _0x16f0dc=_0x2ee1,_0x118c70=_0x3e5a78();while(!![]){try{const _0x2f8be8=parseInt(_0x16f0dc(0x104))/0x1*(parseInt(_0x16f0dc(0x10c))/0x2)+parseInt(_0x16f0dc(0x101))/0x3*(parseInt(_0x16f0dc(0x109))/0x4)+parseInt(_0x16f0dc(0x10e))/0x5+parseInt(_0x16f0dc(0x102))/0x6*(-parseInt(_0x16f0dc(0x10d))/0x7)+-parseInt(_0x16f0dc(0x105))/0x8*(parseInt(_0x16f0dc(0x103))/0x9)+parseInt(_0x16f0dc(0x107))/0xa*(parseInt(_0x16f0dc(0x10a))/0xb)+-parseInt(_0x16f0dc(0x10b))/0xc;if(_0x2f8be8===_0x1b67c2)break;else _0x118c70['push'](_0x118c70['shift']());}catch(_0x29a9c3){_0x118c70['push'](_0x118c70['shift']());}}}(_0x6571,0x681d7));function _0x2ee1(_0x3ad707,_0x51b7b6){_0x3ad707=_0x3ad707-0x101;const _0x6571ef=_0x6571();let _0x2ee1c4=_0x6571ef[_0x3ad707];return _0x2ee1c4;}const e={'docs-print':{'menu':_0x4ffd0e(0x108)}};function _0x6571(){const _0x397678=['658tnXmwh','184696YfXzEj','exports','6976730xYFCcJ','Tlač','3122520QoHjcK','11XqFMES','10826124HCIuis','74puAXmM','1524789TdzXrO','1769925rmvSvR','3fYcNrD','12HrKcMZ','36vrAuIX'];_0x6571=function(){return _0x397678;};return _0x6571();}module[_0x4ffd0e(0x106)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x59dc24=_0x212b;function _0x212b(_0x491c89,_0x17e255){_0x491c89=_0x491c89-0xcf;const _0xaf533b=_0xaf53();let _0x212b50=_0xaf533b[_0x491c89];return _0x212b50;}(function(_0x4abfbd,_0x4fd961){const _0x536872=_0x212b,_0x576d23=_0x4abfbd();while(!![]){try{const _0x444e7d=-parseInt(_0x536872(0xd5))/0x1+-parseInt(_0x536872(0xd1))/0x2+-parseInt(_0x536872(0xd8))/0x3*(-parseInt(_0x536872(0xcf))/0x4)+parseInt(_0x536872(0xd2))/0x5*(parseInt(_0x536872(0xd6))/0x6)+parseInt(_0x536872(0xd4))/0x7+parseInt(_0x536872(0xd3))/0x8+-parseInt(_0x536872(0xd7))/0x9;if(_0x444e7d===_0x4fd961)break;else _0x576d23['push'](_0x576d23['shift']());}catch(_0x275b4b){_0x576d23['push'](_0x576d23['shift']());}}}(_0xaf53,0x5231d));function _0xaf53(){const _0x407a66=['3777390RxIiRB','12ogZYXz','302268ePLhJT','exports','1136426AkwLDp','721660EHBCZU','3409584FLrtdQ','3011764BmsGxL','122790TSbECg','12FcLNoQ'];_0xaf53=function(){return _0x407a66;};return _0xaf53();}const e={'docs-print':{'menu':'In'}};module[_0x59dc24(0xd0)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3a4f93=_0x3dfa;(function(_0x57770b,_0x112e34){const _0xd3a898=_0x3dfa,_0x93af82=_0x57770b();while(!![]){try{const _0x2f7fff=-parseInt(_0xd3a898(0xc8))/0x1*(-parseInt(_0xd3a898(0xcd))/0x2)+-parseInt(_0xd3a898(0xcb))/0x3*(parseInt(_0xd3a898(0xd2))/0x4)+-parseInt(_0xd3a898(0xcc))/0x5*(parseInt(_0xd3a898(0xc6))/0x6)+-parseInt(_0xd3a898(0xc7))/0x7+parseInt(_0xd3a898(0xc5))/0x8*(-parseInt(_0xd3a898(0xd1))/0x9)+-parseInt(_0xd3a898(0xce))/0xa*(-parseInt(_0xd3a898(0xca))/0xb)+-parseInt(_0xd3a898(0xc9))/0xc*(-parseInt(_0xd3a898(0xcf))/0xd);if(_0x2f7fff===_0x112e34)break;else _0x93af82['push'](_0x93af82['shift']());}catch(_0x1ec827){_0x93af82['push'](_0x93af82['shift']());}}}(_0x5643,0x1da9c));const e={'docs-print':{'menu':'打印'}};function _0x3dfa(_0x343176,_0x41be3c){_0x343176=_0x343176-0xc5;const _0x564351=_0x5643();let _0x3dfa3a=_0x564351[_0x343176];return _0x3dfa3a;}function _0x5643(){const _0x4fac0d=['39CjHQjZ','exports','162PoLwzt','5172hOtTTn','106648lSOQgP','510mEeMeN','720440unzEKC','2xfXkQJ','1254324Eivdwg','6556jnrdNX','180yVwiBV','1355XOelOG','30296hvEjtA','3710WUhDnp'];_0x5643=function(){return _0x4fac0d;};return _0x5643();}module[_0x3a4f93(0xd0)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4fa9cd=_0x3d2b;function _0x47ef(){const _0x40fe37=['875880pHLNxQ','34722jpGfuC','exports','424792rpcJaz','1884DKPmUC','5481BflNrV','9303416cfIYsb','450678AnWNBz','243983oWfFAR'];_0x47ef=function(){return _0x40fe37;};return _0x47ef();}function _0x3d2b(_0x3c98e4,_0x54f351){_0x3c98e4=_0x3c98e4-0xca;const _0x47ef99=_0x47ef();let _0x3d2b3a=_0x47ef99[_0x3c98e4];return _0x3d2b3a;}(function(_0x1f8d7a,_0x15f43b){const _0x4dfe53=_0x3d2b,_0x2803f0=_0x1f8d7a();while(!![]){try{const _0x4d63f1=-parseInt(_0x4dfe53(0xd1))/0x1+-parseInt(_0x4dfe53(0xd0))/0x2+-parseInt(_0x4dfe53(0xca))/0x3+-parseInt(_0x4dfe53(0xcc))/0x4+-parseInt(_0x4dfe53(0xd2))/0x5+parseInt(_0x4dfe53(0xcd))/0x6*(-parseInt(_0x4dfe53(0xce))/0x7)+parseInt(_0x4dfe53(0xcf))/0x8;if(_0x4d63f1===_0x15f43b)break;else _0x2803f0['push'](_0x2803f0['shift']());}catch(_0x2319ef){_0x2803f0['push'](_0x2803f0['shift']());}}}(_0x47ef,0x25cab));const e={'docs-print':{'menu':'列印'}};module[_0x4fa9cd(0xcb)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xbfef18,_0xc23f88){const _0x2d9111=_0x5b14,_0x29152c=_0xbfef18();while(!![]){try{const _0xb40770=-parseInt(_0x2d9111(0x19b))/0x1+parseInt(_0x2d9111(0x193))/0x2+parseInt(_0x2d9111(0x19a))/0x3*(parseInt(_0x2d9111(0x19c))/0x4)+-parseInt(_0x2d9111(0x197))/0x5*(parseInt(_0x2d9111(0x199))/0x6)+parseInt(_0x2d9111(0x195))/0x7+parseInt(_0x2d9111(0x196))/0x8*(-parseInt(_0x2d9111(0x192))/0x9)+parseInt(_0x2d9111(0x198))/0xa*(-parseInt(_0x2d9111(0x194))/0xb);if(_0xb40770===_0xc23f88)break;else _0x29152c['push'](_0x29152c['shift']());}catch(_0x926016){_0x29152c['push'](_0x29152c['shift']());}}}(_0x4fdb,0x8cefa));function _0x5b14(_0x202eb3,_0x30f722){_0x202eb3=_0x202eb3-0x192;const _0x4fdbf7=_0x4fdb();let _0x5b14cd=_0x4fdbf7[_0x202eb3];return _0x5b14cd;}const e={'docs-print':{'menu':'列印'}};module['exports']=e;function _0x4fdb(){const _0x3e33e3=['1696930aFwQcd','11150909taIKJs','7419034rmuryF','177768hFqHHy','10PHjEIM','10iuQYRb','464166ihWOki','27537FaKVPl','1091144cAtbyg','424JXdcwJ','18hACoOB'];_0x4fdb=function(){return _0x3e33e3;};return _0x4fdb();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x24eff4=_0x5223;(function(_0x1dedf0,_0x554fd7){const _0xbcd408=_0x5223,_0xdb6799=_0x1dedf0();while(!![]){try{const _0x2dae3d=-parseInt(_0xbcd408(0x120))/0x1*(parseInt(_0xbcd408(0x10f))/0x2)+-parseInt(_0xbcd408(0xa8))/0x3*(parseInt(_0xbcd408(0xf6))/0x4)+parseInt(_0xbcd408(0x10d))/0x5+-parseInt(_0xbcd408(0xa4))/0x6*(-parseInt(_0xbcd408(0xa7))/0x7)+-parseInt(_0xbcd408(0x105))/0x8*(parseInt(_0xbcd408(0xdc))/0x9)+parseInt(_0xbcd408(0xb9))/0xa+parseInt(_0xbcd408(0xec))/0xb;if(_0x2dae3d===_0x554fd7)break;else _0xdb6799['push'](_0xdb6799['shift']());}catch(_0x31cf3){_0xdb6799['push'](_0xdb6799['shift']());}}}(_0x50d4,0xde5a5));import{CommandType as _0x25541c,DependentOn as _0x3331bc,Disposable as _0x1432a9,DisposableCollection as _0x61a42a,DocumentFlavor as _0x1d43f3,ICommandService as _0x7f09c7,IConfigService as _0x445c20,IUniverInstanceService as _0x17c172,Inject as _0x108da3,Injector as _0x2a1f09,Plugin as _0x443640,UniverInstanceType as _0x63c0de,generateRandomId as _0x3334ea,merge as _0x51eea3,registerDependencies as _0x456e00}from'@univerjs/core';import{DocPrintInterceptorService as _0x29edf8,SwitchDocModeCommand as _0x2ead00,VIEWPORT_KEY as _0x53e730}from'@univerjs/docs-ui';import{CanvasRenderMode as _0xda7d2b,Documents as _0xbf8b06,Engine as _0x5e6635,IRenderManagerService as _0x2d2062,Scene as _0x10367e,Viewport as _0x85846d}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x596eb7,UniverLicensePlugin as _0x468070,getDocFeatureLimit as _0x1d8676,getLicenseInfo as _0x35b3e5,isFeatureAuthorizedWithinTime as _0x5ab22f,isLocalCheck as _0x312d6a}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x42e119,PRINT_CONTAINER_CLASS as _0x49f039,PrintDirection as _0x4acbb1,createPrintStyle as _0x2e347d}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x5aaec0}from'@univerjs/docs';import{UniverNetworkPlugin as _0xe1b8ac}from'@univerjs/network';import{PrintIcon as _0x1a0e81}from'@univerjs/icons';import{IMenuManagerService as _0x5a06ba,IconManager as _0x49e8b3,MenuItemType as _0x6dda1e,RibbonStartGroup as _0x373b0f,getMenuHiddenObservable as _0x517551}from'@univerjs/ui';function R(_0x17e648){'@babel/helpers - typeof';const _0x33d2f1=_0x5223;return R=typeof Symbol=='function'&&typeof Symbol[_0x33d2f1(0xd2)]==_0x33d2f1(0xb2)?function(_0x3b284d){return typeof _0x3b284d;}:function(_0x4792a3){const _0x4f0919=_0x33d2f1;return _0x4792a3&&typeof Symbol=='function'&&_0x4792a3[_0x4f0919(0xb6)]===Symbol&&_0x4792a3!==Symbol[_0x4f0919(0xc2)]?_0x4f0919(0xb2):typeof _0x4792a3;},R(_0x17e648);}function z(_0xf7edbc,_0x356c43){const _0x121767=_0x5223;if(R(_0xf7edbc)!='object'||!_0xf7edbc)return _0xf7edbc;var _0x44f40a=_0xf7edbc[Symbol['toPrimitive']];if(_0x44f40a!==void 0x0){var _0x317d63=_0x44f40a['call'](_0xf7edbc,_0x356c43||_0x121767(0xc7));if(R(_0x317d63)!=_0x121767(0x110))return _0x317d63;throw TypeError(_0x121767(0xda));}return(_0x356c43===_0x121767(0xf7)?String:Number)(_0xf7edbc);}function B(_0x5ad8a7){const _0x1b3166=_0x5223;var _0x598fae=z(_0x5ad8a7,_0x1b3166(0xf7));return R(_0x598fae)==_0x1b3166(0xb2)?_0x598fae:_0x598fae+'';}function V(_0x2734ef,_0x115367,_0x159a3b){const _0x22134e=_0x5223;return(_0x115367=B(_0x115367))in _0x2734ef?Object[_0x22134e(0xf9)](_0x2734ef,_0x115367,{'value':_0x159a3b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2734ef[_0x115367]=_0x159a3b,_0x2734ef;}var H=class extends _0x1432a9{get[_0x24eff4(0x109)](){const _0x146261=_0x24eff4;return this[_0x146261(0x11b)];}get['root'](){const _0x2bca00=_0x24eff4;return this[_0x2bca00(0xa0)];}get[_0x24eff4(0x102)](){const _0x3bc411=_0x24eff4;let _0x515b3b=this['_injector'][_0x3bc411(0x11f)](_0x2d2062)[_0x3bc411(0xf1)](this[_0x3bc411(0xe6)]);if(!_0x515b3b)throw Error(_0x3bc411(0xf2));return _0x515b3b;}get[_0x24eff4(0xee)](){const _0x4ae382=_0x24eff4;return this['_currentRender'][_0x4ae382(0xac)](_0x5aaec0)['getSkeleton']();}get[_0x24eff4(0x118)](){const _0x3fa205=_0x24eff4;let _0x3a75ac=this[_0x3fa205(0xee)][_0x3fa205(0xe5)]();if(!_0x3a75ac)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x3a75ac;}get['_paperSize'](){const _0x3d1180=_0x24eff4;let _0x4d0ab8=this[_0x3d1180(0x118)][_0x3d1180(0xb7)][0x0];return{'width':_0x4d0ab8[_0x3d1180(0x108)],'height':_0x4d0ab8[_0x3d1180(0xdb)]};}constructor(_0x21df18,_0x21c727,_0xe33cc5,_0x3f5aa6){const _0x514062=_0x24eff4;super(),this['_injector']=_0x21df18,this['_page']=_0x21c727,this[_0x514062(0xe6)]=_0xe33cc5,this[_0x514062(0xc6)]=_0x3f5aa6,V(this,_0x514062(0x11b),document['createElement']('div')),V(this,_0x514062(0xa0),document[_0x514062(0x104)]('div')),V(this,_0x514062(0xa9),void 0x0),V(this,_0x514062(0xcc),void 0x0),V(this,_0x514062(0xbb),void 0x0),V(this,_0x514062(0xd1),void 0x0),V(this,'_viewMain',void 0x0),V(this,_0x514062(0xd9),new _0x61a42a()),this['_key']=_0x3334ea(0x4),this[_0x514062(0xfd)](),this[_0x514062(0xab)]({'dispose':()=>{const _0x1eb092=_0x514062;this[_0x1eb092(0xa9)][_0x1eb092(0xbd)](),this[_0x1eb092(0xcc)]['dispose'](),this[_0x1eb092(0xd9)]['dispose']();}});}[_0x24eff4(0xcf)](){const _0x17d263=_0x24eff4;let {docsTop:_0x3f87f7,docsLeft:_0x2f8eea}=this[_0x17d263(0xd1)][_0x17d263(0xcd)](),_0x17ad82=this[_0x17d263(0xca)][_0x17d263(0xaa)],_0x35fee0=this[_0x17d263(0xca)]['width'];return{'top':_0x3f87f7+(_0x3f87f7+_0x17ad82)*this[_0x17d263(0x116)],'bottom':_0x3f87f7+(_0x3f87f7+_0x17ad82)*(this['_page']+0x1),'left':_0x2f8eea,'right':_0x2f8eea+_0x35fee0};}[_0x24eff4(0xfd)](){const _0x2fd08f=_0x24eff4;this[_0x2fd08f(0xa9)]=new _0x5e6635('',{'elementWidth':this[_0x2fd08f(0xca)][_0x2fd08f(0xb5)],'elementHeight':this['_paperSize'][_0x2fd08f(0xaa)],'dpr':0x1,'renderMode':_0xda7d2b[_0x2fd08f(0xe7)]}),this[_0x2fd08f(0xcc)]=new _0x10367e(this[_0x2fd08f(0xbb)],this[_0x2fd08f(0xa9)]),this[_0x2fd08f(0xcc)]['scale'](0x1,0x1),this['_engine']['setContainer'](this[_0x2fd08f(0x11b)],!0x1),this[_0x2fd08f(0xa9)]['getCanvas']()['getContext']()['setId'](this[_0x2fd08f(0xbb)]+'_'+_0x3334ea(0x4)),this[_0x2fd08f(0xaf)](),this[_0x2fd08f(0xa2)]();}['_addComponent'](){const _0x2c5e2c=_0x24eff4;let {pageMarginLeft:_0x3c439e,pageMarginTop:_0x2a0aca,docsLeft:_0x51683c,docsTop:_0x30391e}=this[_0x2c5e2c(0xc6)],_0x174666={'pageMarginLeft':_0x3c439e,'pageMarginTop':_0x2a0aca},_0x4d0938=new _0xbf8b06(_0x2c5e2c(0xce),this['_skeleton'],_0x174666);_0x4d0938['translate'](_0x51683c,_0x30391e),this[_0x2c5e2c(0xcc)][_0x2c5e2c(0xf4)](_0x4d0938),this[_0x2c5e2c(0xd1)]=_0x4d0938;let _0x51aa5d=this['_injector'][_0x2c5e2c(0x11f)](_0x29edf8);_0x51aa5d[_0x2c5e2c(0x117)][_0x2c5e2c(0xd0)](_0x51aa5d[_0x2c5e2c(0x117)][_0x2c5e2c(0xf0)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this[_0x2c5e2c(0xa9)],'root':this['_root'],'documents':this['_documents'],'skeleton':this[_0x2c5e2c(0xee)]});}[_0x24eff4(0xa2)](){const _0xd1ecb7=_0x24eff4;this['_viewMain']=new _0x85846d(_0x53e730[_0xd1ecb7(0xfb)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x24eff4(0xc0)](){const _0x31403b=_0x24eff4;let _0x1fee81=this[_0x31403b(0xcf)]();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x1fee81[_0x31403b(0x101)],'viewportScrollY':_0x1fee81[_0x31403b(0x103)]}),this[_0x31403b(0xa0)][_0x31403b(0x106)][_0x31403b(0xff)]=_0x31403b(0x11d),this[_0x31403b(0xa0)][_0x31403b(0x106)][_0x31403b(0x103)]='0px',this[_0x31403b(0xa0)]['style']['left']=_0x31403b(0xad),this[_0x31403b(0xa0)][_0x31403b(0x106)][_0x31403b(0xb5)]=_0x31403b(0xe1),this['_root'][_0x31403b(0x106)][_0x31403b(0xaa)]=_0x31403b(0xe1),this[_0x31403b(0xd9)]=new _0x61a42a();let _0xca3f93=this[_0x31403b(0xbf)][_0x31403b(0x11f)](_0x29edf8);_0xca3f93['interceptor'][_0x31403b(0xd0)](_0xca3f93['interceptor'][_0x31403b(0xf0)]()[_0x31403b(0x100)])(this[_0x31403b(0xd9)],{'unitId':this[_0x31403b(0xe6)],'scene':this[_0x31403b(0xcc)],'engine':this[_0x31403b(0xa9)],'root':this[_0x31403b(0xa0)],'skeleton':this['_skeleton'],'offset':{'x':_0x1fee81[_0x31403b(0x101)],'y':_0x1fee81[_0x31403b(0x103)]},'bound':{'top':_0x1fee81['top'],'left':_0x1fee81['left'],'right':_0x1fee81['right'],'bottom':_0x1fee81[_0x31403b(0xbc)]}});}[_0x24eff4(0x11a)](){const _0x41345d=_0x24eff4;let _0x28abb9=this['_engine'][_0x41345d(0x10e)]()['getContext']();this[_0x41345d(0xd1)][_0x41345d(0xc3)](),this['_scene'][_0x41345d(0xdd)](),_0x28abb9['save'](),this[_0x41345d(0xcc)]['render'](),_0x28abb9['restore']();}};function U(_0x548180,_0x2b783a){return function(_0x513004,_0x33b843){_0x2b783a(_0x513004,_0x33b843,_0x548180);};}function W(_0x17285a,_0x564fda,_0x310e36,_0x5350b2){const _0x364ecc=_0x24eff4;var _0x50d9ca=arguments[_0x364ecc(0x119)],_0x1e93c2=_0x50d9ca<0x3?_0x564fda:_0x5350b2===null?_0x5350b2=Object[_0x364ecc(0x107)](_0x564fda,_0x310e36):_0x5350b2,_0x34514a;if(typeof Reflect==_0x364ecc(0x110)&&typeof Reflect[_0x364ecc(0xb1)]==_0x364ecc(0xb0))_0x1e93c2=Reflect['decorate'](_0x17285a,_0x564fda,_0x310e36,_0x5350b2);else{for(var _0x3cd38f=_0x17285a[_0x364ecc(0x119)]-0x1;_0x3cd38f>=0x0;_0x3cd38f--)(_0x34514a=_0x17285a[_0x3cd38f])&&(_0x1e93c2=(_0x50d9ca<0x3?_0x34514a(_0x1e93c2):_0x50d9ca>0x3?_0x34514a(_0x564fda,_0x310e36,_0x1e93c2):_0x34514a(_0x564fda,_0x310e36))||_0x1e93c2);}return _0x50d9ca>0x3&&_0x1e93c2&&Object[_0x364ecc(0xf9)](_0x564fda,_0x310e36,_0x1e93c2),_0x1e93c2;}const G=Number['parseInt'](0x6a3fb83b),K=(_0x56df4f,_0x253d89,_0x157e96)=>{const _0x351042=_0x24eff4;let _0x40eb47={'page':_0x56df4f,'isPro':!0x1,'timeValid':!0x1};if(!_0x253d89||!_0x157e96)return _0x40eb47;let _0x2d0782=_0x35b3e5(_0x253d89,_0x157e96);if(_0x2d0782['valid']){let _0x3237be=_0x2d0782[_0x351042(0xf5)],_0xa3d908=_0x5ab22f(_0x3237be,'df',G);_0x40eb47[_0x351042(0xe3)]=_0xa3d908,_0x40eb47[_0x351042(0xb4)]=_0xa3d908,_0x40eb47[_0x351042(0xe9)]=_0x1d8676(_0x3237be,_0xa3d908,_0x351042(0xd8),_0x56df4f,_0x56df4f,0x0);}return _0x40eb47;};let q=class extends _0x1432a9{constructor(_0x3fc28c,_0x3848ff,_0x568d8d,_0x3f43a7){const _0x50e26f=_0x24eff4;super(),this['_univerInstanceService']=_0x3fc28c,this[_0x50e26f(0xb8)]=_0x3848ff,this['_injector']=_0x568d8d,this[_0x50e26f(0xfa)]=_0x3f43a7;}['print'](_0x4a0f9b){const _0x137818=_0x24eff4;var _0x56ae0c,_0x4ff1fb;let {ls:_0x18f0dc,pbk:_0x37aa0a}=(_0x56ae0c=this[_0x137818(0xfa)][_0x137818(0x121)](_0x596eb7))==null?{}:_0x56ae0c,_0x13b5ee=_0x312d6a()?0x1/0x0:K(0x1,_0x18f0dc,_0x37aa0a)[_0x137818(0xe9)];if(!this[_0x137818(0x113)][_0x137818(0xeb)](_0x4a0f9b,_0x63c0de['UNIVER_DOC']))throw Error(_0x137818(0xe0));let _0x271045=this[_0x137818(0xb8)]['getRenderById'](_0x4a0f9b);if(!_0x271045)throw Error(_0x137818(0xf2));let _0x5cc37f=(_0x4ff1fb=_0x271045[_0x137818(0xac)](_0x5aaec0)[_0x137818(0x9f)]()[_0x137818(0xe5)]())==null?void 0x0:_0x4ff1fb[_0x137818(0xb7)];if(!_0x5cc37f)throw Error(_0x137818(0x114));let _0x405780={'width':_0x5cc37f[0x0][_0x137818(0x108)],'height':_0x5cc37f[0x0][_0x137818(0xdb)]},_0x3fa3c3=_0x5cc37f[_0x137818(0x119)],_0x4a0aa9=Math[_0x137818(0xc4)](_0x13b5ee,_0x3fa3c3),_0x491c74=_0x271045['mainComponent'][_0x137818(0xcd)](),_0x3311ed=document[_0x137818(0x104)](_0x137818(0xd7));_0x3311ed[_0x137818(0xb3)]=_0x49f039;let _0xb35548=Array(_0x4a0aa9)[_0x137818(0x111)](null)['map']((_0x48c8ee,_0x9a2ce4)=>{const _0x4c4738=_0x137818;let _0x5a006c=new H(this[_0x4c4738(0xbf)],_0x9a2ce4,_0x4a0f9b,_0x491c74);return _0x5a006c['container'][_0x4c4738(0xb3)]=_0x42e119,_0x5a006c;});_0xb35548['forEach'](_0x154df1=>{const _0x2c491e=_0x137818;_0x3311ed[_0x2c491e(0xdf)](_0x154df1[_0x2c491e(0x109)]),_0x154df1[_0x2c491e(0x109)][_0x2c491e(0xdf)](_0x154df1[_0x2c491e(0x11e)]),_0x154df1[_0x2c491e(0xc0)]();});let _0x51df84=_0x2e347d(_0x405780[_0x137818(0xb5)],_0x405780[_0x137818(0xaa)],_0x4acbb1[_0x137818(0xa5)]);return document['body'][_0x137818(0xdf)](_0x51df84),document[_0x137818(0x115)]['appendChild'](_0x3311ed),new Promise(_0x21ca2b=>{setTimeout(()=>{const _0x232474=_0x5223;window['onbeforeprint']=()=>{const _0x1017a5=_0x5223;_0xb35548[_0x1017a5(0xf3)](_0x315f57=>{const _0x31d857=_0x1017a5;_0x315f57[_0x31d857(0x11a)]();});},window[_0x232474(0xa3)]=()=>{const _0x3a5d76=_0x232474;_0xb35548[_0x3a5d76(0xf3)](_0x2028e3=>{_0x2028e3['dispose']();}),document['body']['removeChild'](_0x3311ed),document[_0x3a5d76(0x115)][_0x3a5d76(0x9e)](_0x51df84),_0x21ca2b(!0x0);},window[_0x232474(0xe8)]();},0x64);});}};q=W([U(0x0,_0x17c172),U(0x1,_0x2d2062),U(0x2,_0x108da3(_0x2a1f09)),U(0x3,_0x445c20)],q);const J={'id':_0x24eff4(0xf8),'type':_0x25541c[_0x24eff4(0xc1)],'handler':async _0x435cde=>{const _0x50b2cc=_0x24eff4;let _0x31e378=_0x435cde[_0x50b2cc(0x11f)](_0x17c172),_0x95c118=_0x435cde[_0x50b2cc(0x11f)](q),_0x4a9da2=_0x435cde['get'](_0x2d2062),_0xcd2484=_0x435cde[_0x50b2cc(0x11f)](_0x7f09c7),_0x54ef08=_0x31e378[_0x50b2cc(0x10b)](_0x63c0de['UNIVER_DOC']);if(!_0x54ef08)return!0x1;if(!_0x4a9da2[_0x50b2cc(0xf1)](_0x54ef08[_0x50b2cc(0x112)]()))throw Error(_0x50b2cc(0xf2));let _0x12f7f7=_0x54ef08[_0x50b2cc(0xc5)]()['documentFlavor'];return _0x12f7f7!==_0x1d43f3[_0x50b2cc(0xc9)]&&_0xcd2484[_0x50b2cc(0x10a)](_0x2ead00['id']),await _0x95c118[_0x50b2cc(0xe8)](_0x54ef08[_0x50b2cc(0x112)]()),_0x12f7f7!==_0x1d43f3[_0x50b2cc(0xc9)]&&_0xcd2484[_0x50b2cc(0x10a)](_0x2ead00['id']),!0x0;}},Y=_0x24eff4(0xef),X={};var ie=_0x24eff4(0xd6),ae='1.0.0-alpha.1';let Z=class extends _0x1432a9{constructor(_0x151a1e){super(),this['_iconManager']=_0x151a1e,this['_registerIcons']();}[_0x24eff4(0xba)](){const _0x355b20=_0x24eff4;this[_0x355b20(0xab)](this[_0x355b20(0xe4)][_0x355b20(0xe2)]({'PrintIcon':_0x1a0e81}));}};Z=W([U(0x0,_0x108da3(_0x49e8b3))],Z);function _0x50d4(){const _0x36943e=['decorate','symbol','className','timeValid','width','constructor','pages','_renderManagerService','985470BzFlyA','_registerIcons','_key','bottom','dispose','docs-print.menu','_injector','prepare','OPERATION','prototype','makeForceDirty','min','getDocumentStyle','_offsetConfig','default','registerCommand','TRADITIONAL','_paperSize','version','_scene','getOffsetConfig','__DocPrintRender__','_calculateLayout','fetchThroughInterceptors','_documents','iterator','_menuManagerService','type','setConfig','@univerjs-pro/docs-print','div','mpn','_effects','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pageHeight','15678TpDKuz','makeDirty','OTHERS','appendChild','DocumentDataModel\x20is\x20not\x20found','100%','register','isPro','_iconManager','getSkeletonData','_unitId','Printing','print','page','_initMenus','getUnit','492756GOskny','UNIVER_DOC','_skeleton','UNIVER_DOCS_PRINT','getInterceptPoints','getRenderById','Render\x20is\x20not\x20found','forEach','addObject','message','4bfIytW','string','docs.operation.print','defineProperty','_configService','VIEW_MAIN','packageName','_initRenderer','BUTTON','position','PRINTING_DOM_COLLECT','left','_currentRender','top','createElement','6744igMhFy','style','getOwnPropertyDescriptor','pageWidth','container','syncExecuteCommand','getCurrentUnitOfType','menu','8349000awNlKS','getCanvas','10yKymuh','object','fill','getUnitId','_univerInstanceService','Pages\x20are\x20not\x20found','body','_page','interceptor','_skeletonData','length','render','_container','mergeMenu','absolute','root','get','142829CXOXSx','getConfig','removeChild','getSkeleton','_root','_initCommands','_addViewport','onafterprint','9995124ixsnaP','Portrait','PrintIcon','7lCHyhV','1156767hVLnHG','_engine','height','disposeWithMe','with','0px','_config','_addComponent','function'];_0x50d4=function(){return _0x36943e;};return _0x50d4();}function oe(_0x2426f5){const _0xadcc40=_0x24eff4;return{'id':J['id'],'type':_0x6dda1e[_0xadcc40(0xfe)],'title':_0xadcc40(0xbe),'icon':_0xadcc40(0xa6),'tooltip':'docs-print.menu','hidden$':_0x517551(_0x2426f5,_0x63c0de[_0xadcc40(0xed)])};}const se={[_0x373b0f[_0x24eff4(0xde)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x1432a9{constructor(_0x64cac3,_0x2dfed1){const _0x197603=_0x24eff4;super(),this['_commandService']=_0x64cac3,this[_0x197603(0xd3)]=_0x2dfed1,this[_0x197603(0xea)](),this[_0x197603(0xa1)]();}['_initMenus'](){const _0x1b8fea=_0x24eff4;this[_0x1b8fea(0xd3)][_0x1b8fea(0x11c)](se);}['_initCommands'](){const _0x5a92fe=_0x24eff4;this[_0x5a92fe(0xab)](this['_commandService'][_0x5a92fe(0xc8)](J));}};function _0x5223(_0x12711f,_0x268327){_0x12711f=_0x12711f-0x9e;const _0x50d471=_0x50d4();let _0x5223e9=_0x50d471[_0x12711f];return _0x5223e9;}Q=W([U(0x0,_0x7f09c7),U(0x1,_0x5a06ba)],Q);let $=class extends _0x443640{constructor(_0x58cb4b=X,_0x10fc44,_0x4b82cb){const _0x3b5c66=_0x24eff4;super(),this[_0x3b5c66(0xae)]=_0x58cb4b,this[_0x3b5c66(0xbf)]=_0x10fc44,this[_0x3b5c66(0xfa)]=_0x4b82cb;let {menu:_0x198ee4,..._0x5ccec3}=_0x51eea3({},X,this[_0x3b5c66(0xae)]);_0x198ee4&&this[_0x3b5c66(0xfa)]['setConfig'](_0x3b5c66(0x10c),_0x198ee4,{'merge':!0x0}),this['_configService'][_0x3b5c66(0xd5)](Y,_0x5ccec3);}['onStarting'](){const _0x43a527=_0x24eff4;this[_0x43a527(0xbf)]['add']([Z]),this[_0x43a527(0xbf)]['get'](Z),_0x456e00(this[_0x43a527(0xbf)],[[q],[Q]]);}['onReady'](){const _0x4d3bec=_0x24eff4;this[_0x4d3bec(0xbf)][_0x4d3bec(0x11f)](Q);}};V($,'pluginName',_0x24eff4(0xef)),V($,_0x24eff4(0xfc),ie),V($,_0x24eff4(0xcb),ae),V($,_0x24eff4(0xd4),_0x63c0de[_0x24eff4(0xed)]),$=W([_0x3331bc(_0xe1b8ac,_0x468070),U(0x1,_0x108da3(_0x2a1f09)),U(0x2,_0x445c20)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x17529a=_0x226d;(function(_0x20cd1f,_0x2b1dbb){const _0x48d32b=_0x226d,_0x5eb706=_0x20cd1f();while(!![]){try{const _0x139aac=parseInt(_0x48d32b(0x1e2))/0x1+parseInt(_0x48d32b(0x20a))/0x2+parseInt(_0x48d32b(0x1ad))/0x3+-parseInt(_0x48d32b(0x222))/0x4*(-parseInt(_0x48d32b(0x1f2))/0x5)+parseInt(_0x48d32b(0x1dc))/0x6+parseInt(_0x48d32b(0x1d0))/0x7*(parseInt(_0x48d32b(0x214))/0x8)+parseInt(_0x48d32b(0x1c6))/0x9*(-parseInt(_0x48d32b(0x1ec))/0xa);if(_0x139aac===_0x2b1dbb)break;else _0x5eb706['push'](_0x5eb706['shift']());}catch(_0x1ebb67){_0x5eb706['push'](_0x5eb706['shift']());}}}(_0x190f,0xd59db));import{CommandType as _0x42cae5,DependentOn as _0x2e2894,Disposable as _0x4809bf,DisposableCollection as _0x2a2d64,DocumentFlavor as _0x533b31,ICommandService as _0x27b3e8,IConfigService as _0x51be1e,IUniverInstanceService as _0x576729,Inject as _0x3a1dee,Injector as _0x4eed7d,Plugin as _0x527233,UniverInstanceType as _0x3ff930,generateRandomId as _0x5f6585,merge as _0x1fdbe1,registerDependencies as _0x3ba2a9}from'@univerjs/core';import{DocPrintInterceptorService as _0x538197,SwitchDocModeCommand as _0x46ac2d,VIEWPORT_KEY as _0x47686b}from'@univerjs/docs-ui';import{CanvasRenderMode as _0xaebd8b,Documents as _0x4d295c,Engine as _0x8181e9,IRenderManagerService as _0x2b308d,Scene as _0x4bb80b,Viewport as _0x15acbd}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x31e350,UniverLicensePlugin as _0x1dd4d5,getDocFeatureLimit as _0x5c0f8a,getLicenseInfo as _0x50ab0a,isFeatureAuthorizedWithinTime as _0x151d7,isLocalCheck as _0x3b1598}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x52c874,PRINT_CONTAINER_CLASS as _0x163024,PrintDirection as _0x1094a2,createPrintStyle as _0x6e7dd4}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x3fb6e4}from'@univerjs/docs';import{UniverNetworkPlugin as _0x1e7850}from'@univerjs/network';function _0x226d(_0x394fbf,_0x21ee54){_0x394fbf=_0x394fbf-0x1a4;const _0x190f3a=_0x190f();let _0x226df3=_0x190f3a[_0x394fbf];return _0x226df3;}import{PrintIcon as _0x213306}from'@univerjs/icons';import{IMenuManagerService as _0x51d9c0,IconManager as _0x18d9aa,MenuItemType as _0x4b936e,RibbonStartGroup as _0x19173f,getMenuHiddenObservable as _0x1a7516}from'@univerjs/ui';function R(_0x276dfe){'@babel/helpers - typeof';const _0x5e036e=_0x226d;return R=typeof Symbol=='function'&&typeof Symbol[_0x5e036e(0x1a7)]=='symbol'?function(_0x1d1290){return typeof _0x1d1290;}:function(_0x2cd4c7){const _0x1a4be8=_0x5e036e;return _0x2cd4c7&&typeof Symbol=='function'&&_0x2cd4c7[_0x1a4be8(0x1fa)]===Symbol&&_0x2cd4c7!==Symbol[_0x1a4be8(0x1f6)]?_0x1a4be8(0x20c):typeof _0x2cd4c7;},R(_0x276dfe);}function _0x190f(){const _0x71a860=['symbol','makeForceDirty','_registerIcons','div','default','onafterprint','_renderManagerService','_calculateLayout','136544rpLGqo','packageName','100%','_addViewport','_configService','string','documentFlavor','getSkeleton','_skeletonData','get','body','dispose','defineProperty','print','40vhEmOz','pageWidth','_container','TRADITIONAL','_initRenderer','bottom','register','min','iterator','fetchThroughInterceptors','mainComponent','_commandService','docs-print.menu','root','5017440uhlBQO','getConfig','_skeleton','PrintIcon','makeDirty','width','prepare','left','restore','getContext','pageHeight','getCurrentUnitOfType','1.0.0-alpha.2','Portrait','right','_engine','PRINTING_DOM_COLLECT','_unitId','_page','VIEW_MAIN','appendChild','disposeWithMe','className','_offsetConfig','_viewMain','449541CDGozN','_documents','_paperSize','_scene','UNIVER_DOCS_PRINT','createElement','height','_injector','getCanvas','docs.operation.print','707FHHHcG','setConfig','registerCommand','object','pages','with','scale','isPro','UNIVER_DOC','getOffsetConfig','onStarting','PRINTING_COMPONENT_COLLECT','436788LTBNuS','length','top','getUnit','_univerInstanceService','Render\x20is\x20not\x20found','140177ayNDQS','_effects','syncExecuteCommand','style','interceptor','_initMenus','_root','OTHERS','_menuManagerService','toPrimitive','910KEbxRm','position','mpn','addObject','absolute','render','513640hQQBVW','_key','add','type','prototype','getRenderById','timeValid','getUnitId','constructor','BUTTON','page','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','OPERATION','getSkeletonData','Printing','forEach','decorate','_addComponent','_config','container','menu','getInterceptPoints','version','mergeMenu','1567454XiSHnA','removeChild'];_0x190f=function(){return _0x71a860;};return _0x190f();}function z(_0x39352b,_0xbcb1c4){const _0x5348ff=_0x226d;if(R(_0x39352b)!=_0x5348ff(0x1d3)||!_0x39352b)return _0x39352b;var _0x3959d5=_0x39352b[Symbol[_0x5348ff(0x1eb)]];if(_0x3959d5!==void 0x0){var _0xd2e5f4=_0x3959d5['call'](_0x39352b,_0xbcb1c4||_0x5348ff(0x210));if(R(_0xd2e5f4)!=_0x5348ff(0x1d3))return _0xd2e5f4;throw TypeError(_0x5348ff(0x1fd));}return(_0xbcb1c4===_0x5348ff(0x219)?String:Number)(_0x39352b);}function B(_0x2c86a6){const _0xd94a6a=_0x226d;var _0x4b3ceb=z(_0x2c86a6,_0xd94a6a(0x219));return R(_0x4b3ceb)==_0xd94a6a(0x20c)?_0x4b3ceb:_0x4b3ceb+'';}function V(_0x308871,_0x4d808b,_0x486360){const _0x1a71d3=_0x226d;return(_0x4d808b=B(_0x4d808b))in _0x308871?Object[_0x1a71d3(0x220)](_0x308871,_0x4d808b,{'value':_0x486360,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x308871[_0x4d808b]=_0x486360,_0x308871;}var H=class extends _0x4809bf{get['container'](){const _0x153aa8=_0x226d;return this[_0x153aa8(0x224)];}get[_0x17529a(0x1ac)](){const _0x355cf7=_0x17529a;return this[_0x355cf7(0x1e8)];}get['_currentRender'](){const _0x18b3ab=_0x17529a;let _0x1cdcb0=this[_0x18b3ab(0x1cd)][_0x18b3ab(0x21d)](_0x2b308d)[_0x18b3ab(0x1f7)](this[_0x18b3ab(0x1be)]);if(!_0x1cdcb0)throw Error(_0x18b3ab(0x1e1));return _0x1cdcb0;}get['_skeleton'](){const _0x1792fb=_0x17529a;return this['_currentRender'][_0x1792fb(0x1d5)](_0x3fb6e4)[_0x1792fb(0x21b)]();}get[_0x17529a(0x21c)](){const _0x3b548a=_0x17529a;let _0x18bd47=this[_0x3b548a(0x1af)][_0x3b548a(0x1ff)]();if(!_0x18bd47)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x18bd47;}get[_0x17529a(0x1c8)](){const _0x3ffac2=_0x17529a;let _0x3ddf39=this['_skeletonData'][_0x3ffac2(0x1d4)][0x0];return{'width':_0x3ddf39[_0x3ffac2(0x223)],'height':_0x3ddf39[_0x3ffac2(0x1b7)]};}constructor(_0x401269,_0x3c1d90,_0x41c886,_0x386567){const _0x26cb07=_0x17529a;super(),this['_injector']=_0x401269,this[_0x26cb07(0x1bf)]=_0x3c1d90,this['_unitId']=_0x41c886,this[_0x26cb07(0x1c4)]=_0x386567,V(this,_0x26cb07(0x224),document[_0x26cb07(0x1cb)]('div')),V(this,_0x26cb07(0x1e8),document[_0x26cb07(0x1cb)](_0x26cb07(0x20f))),V(this,_0x26cb07(0x1bc),void 0x0),V(this,'_scene',void 0x0),V(this,'_key',void 0x0),V(this,'_documents',void 0x0),V(this,'_viewMain',void 0x0),V(this,_0x26cb07(0x1e3),new _0x2a2d64()),this['_key']=_0x5f6585(0x4),this[_0x26cb07(0x226)](),this[_0x26cb07(0x1c2)]({'dispose':()=>{const _0x11343d=_0x26cb07;this[_0x11343d(0x1bc)][_0x11343d(0x21f)](),this[_0x11343d(0x1c9)][_0x11343d(0x21f)](),this[_0x11343d(0x1e3)][_0x11343d(0x21f)]();}});}[_0x17529a(0x213)](){const _0x333951=_0x17529a;let {docsTop:_0x4b13cb,docsLeft:_0x5b8fc1}=this[_0x333951(0x1c7)][_0x333951(0x1d9)](),_0x328529=this['_paperSize'][_0x333951(0x1cc)],_0x5b1bce=this[_0x333951(0x1c8)][_0x333951(0x1b2)];return{'top':_0x4b13cb+(_0x4b13cb+_0x328529)*this[_0x333951(0x1bf)],'bottom':_0x4b13cb+(_0x4b13cb+_0x328529)*(this[_0x333951(0x1bf)]+0x1),'left':_0x5b8fc1,'right':_0x5b8fc1+_0x5b1bce};}['_initRenderer'](){const _0x16ff0e=_0x17529a;this[_0x16ff0e(0x1bc)]=new _0x8181e9('',{'elementWidth':this[_0x16ff0e(0x1c8)][_0x16ff0e(0x1b2)],'elementHeight':this['_paperSize'][_0x16ff0e(0x1cc)],'dpr':0x1,'renderMode':_0xaebd8b[_0x16ff0e(0x200)]}),this['_scene']=new _0x4bb80b(this[_0x16ff0e(0x1f3)],this['_engine']),this['_scene'][_0x16ff0e(0x1d6)](0x1,0x1),this[_0x16ff0e(0x1bc)]['setContainer'](this['_container'],!0x1),this[_0x16ff0e(0x1bc)][_0x16ff0e(0x1ce)]()[_0x16ff0e(0x1b6)]()['setId'](this[_0x16ff0e(0x1f3)]+'_'+_0x5f6585(0x4)),this[_0x16ff0e(0x203)](),this[_0x16ff0e(0x217)]();}['_addComponent'](){const _0x1208ff=_0x17529a;let {pageMarginLeft:_0x14cd77,pageMarginTop:_0x9ec294,docsLeft:_0x31ee7d,docsTop:_0x34070f}=this[_0x1208ff(0x1c4)],_0x32cb08={'pageMarginLeft':_0x14cd77,'pageMarginTop':_0x9ec294},_0x120ca3=new _0x4d295c('__DocPrintRender__',this[_0x1208ff(0x1af)],_0x32cb08);_0x120ca3['translate'](_0x31ee7d,_0x34070f),this[_0x1208ff(0x1c9)][_0x1208ff(0x1ef)](_0x120ca3),this[_0x1208ff(0x1c7)]=_0x120ca3;let _0xd95873=this['_injector'][_0x1208ff(0x21d)](_0x538197);_0xd95873[_0x1208ff(0x1e6)][_0x1208ff(0x1a8)](_0xd95873[_0x1208ff(0x1e6)]['getInterceptPoints']()[_0x1208ff(0x1db)])(void 0x0,{'unitId':this[_0x1208ff(0x1be)],'scene':this[_0x1208ff(0x1c9)],'engine':this[_0x1208ff(0x1bc)],'root':this['_root'],'documents':this[_0x1208ff(0x1c7)],'skeleton':this[_0x1208ff(0x1af)]});}[_0x17529a(0x217)](){const _0x37d28c=_0x17529a;this[_0x37d28c(0x1c5)]=new _0x15acbd(_0x47686b[_0x37d28c(0x1c0)],this[_0x37d28c(0x1c9)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x17529a(0x1b3)](){const _0xcd372d=_0x17529a;let _0x119dfb=this[_0xcd372d(0x213)]();this[_0xcd372d(0x1c5)]['updateScrollVal']({'viewportScrollX':_0x119dfb[_0xcd372d(0x1b4)],'viewportScrollY':_0x119dfb['top']}),this[_0xcd372d(0x1e8)]['style'][_0xcd372d(0x1ed)]=_0xcd372d(0x1f0),this[_0xcd372d(0x1e8)]['style'][_0xcd372d(0x1de)]='0px',this[_0xcd372d(0x1e8)]['style']['left']='0px',this[_0xcd372d(0x1e8)][_0xcd372d(0x1e5)][_0xcd372d(0x1b2)]=_0xcd372d(0x216),this[_0xcd372d(0x1e8)][_0xcd372d(0x1e5)][_0xcd372d(0x1cc)]='100%',this[_0xcd372d(0x1e3)]=new _0x2a2d64();let _0x21845b=this['_injector']['get'](_0x538197);_0x21845b[_0xcd372d(0x1e6)][_0xcd372d(0x1a8)](_0x21845b['interceptor'][_0xcd372d(0x207)]()[_0xcd372d(0x1bd)])(this[_0xcd372d(0x1e3)],{'unitId':this[_0xcd372d(0x1be)],'scene':this[_0xcd372d(0x1c9)],'engine':this[_0xcd372d(0x1bc)],'root':this[_0xcd372d(0x1e8)],'skeleton':this['_skeleton'],'offset':{'x':_0x119dfb[_0xcd372d(0x1b4)],'y':_0x119dfb[_0xcd372d(0x1de)]},'bound':{'top':_0x119dfb['top'],'left':_0x119dfb['left'],'right':_0x119dfb[_0xcd372d(0x1bb)],'bottom':_0x119dfb[_0xcd372d(0x1a4)]}});}['render'](){const _0x3201a9=_0x17529a;let _0x51d64b=this[_0x3201a9(0x1bc)][_0x3201a9(0x1ce)]()[_0x3201a9(0x1b6)]();this[_0x3201a9(0x1c7)][_0x3201a9(0x20d)](),this[_0x3201a9(0x1c9)][_0x3201a9(0x1b1)](),_0x51d64b['save'](),this['_scene'][_0x3201a9(0x1f1)](),_0x51d64b[_0x3201a9(0x1b5)]();}};function U(_0x59bdc6,_0x238354){return function(_0x4df6d0,_0x44c3f2){_0x238354(_0x4df6d0,_0x44c3f2,_0x59bdc6);};}function W(_0x32cfdf,_0xaace1b,_0x33584c,_0x386332){const _0xdfa705=_0x17529a;var _0x49689c=arguments[_0xdfa705(0x1dd)],_0x1aa9b7=_0x49689c<0x3?_0xaace1b:_0x386332===null?_0x386332=Object['getOwnPropertyDescriptor'](_0xaace1b,_0x33584c):_0x386332,_0x2e1910;if(typeof Reflect==_0xdfa705(0x1d3)&&typeof Reflect[_0xdfa705(0x202)]=='function')_0x1aa9b7=Reflect[_0xdfa705(0x202)](_0x32cfdf,_0xaace1b,_0x33584c,_0x386332);else{for(var _0x50a9e8=_0x32cfdf['length']-0x1;_0x50a9e8>=0x0;_0x50a9e8--)(_0x2e1910=_0x32cfdf[_0x50a9e8])&&(_0x1aa9b7=(_0x49689c<0x3?_0x2e1910(_0x1aa9b7):_0x49689c>0x3?_0x2e1910(_0xaace1b,_0x33584c,_0x1aa9b7):_0x2e1910(_0xaace1b,_0x33584c))||_0x1aa9b7);}return _0x49689c>0x3&&_0x1aa9b7&&Object[_0xdfa705(0x220)](_0xaace1b,_0x33584c,_0x1aa9b7),_0x1aa9b7;}const G=Number['parseInt'](0x6a48c922),K=(_0x221275,_0x14363d,_0x5b2672)=>{const _0x3eaaf9=_0x17529a;let _0x537b7d={'page':_0x221275,'isPro':!0x1,'timeValid':!0x1};if(!_0x14363d||!_0x5b2672)return _0x537b7d;let _0x416e4c=_0x50ab0a(_0x14363d,_0x5b2672);if(_0x416e4c['valid']){let _0x367e63=_0x416e4c['message'],_0x174776=_0x151d7(_0x367e63,'df',G);_0x537b7d[_0x3eaaf9(0x1d7)]=_0x174776,_0x537b7d[_0x3eaaf9(0x1f8)]=_0x174776,_0x537b7d['page']=_0x5c0f8a(_0x367e63,_0x174776,_0x3eaaf9(0x1ee),_0x221275,_0x221275,0x0);}return _0x537b7d;};let q=class extends _0x4809bf{constructor(_0x2962cd,_0x25975e,_0x28e7be,_0x16e83a){const _0x319222=_0x17529a;super(),this['_univerInstanceService']=_0x2962cd,this[_0x319222(0x212)]=_0x25975e,this[_0x319222(0x1cd)]=_0x28e7be,this[_0x319222(0x218)]=_0x16e83a;}[_0x17529a(0x221)](_0x157ece){const _0x133d57=_0x17529a;var _0x1cfd2b,_0x22b538;let {ls:_0x4dcfbf,pbk:_0xcae36a}=(_0x1cfd2b=this[_0x133d57(0x218)][_0x133d57(0x1ae)](_0x31e350))==null?{}:_0x1cfd2b,_0x28ef5c=_0x3b1598()?0x1/0x0:K(0x1,_0x4dcfbf,_0xcae36a)[_0x133d57(0x1fc)];if(!this[_0x133d57(0x1e0)][_0x133d57(0x1df)](_0x157ece,_0x3ff930[_0x133d57(0x1d8)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x3c0d3c=this['_renderManagerService'][_0x133d57(0x1f7)](_0x157ece);if(!_0x3c0d3c)throw Error(_0x133d57(0x1e1));let _0x474971=(_0x22b538=_0x3c0d3c[_0x133d57(0x1d5)](_0x3fb6e4)[_0x133d57(0x21b)]()[_0x133d57(0x1ff)]())==null?void 0x0:_0x22b538['pages'];if(!_0x474971)throw Error('Pages\x20are\x20not\x20found');let _0x3f2e1b={'width':_0x474971[0x0]['pageWidth'],'height':_0x474971[0x0][_0x133d57(0x1b7)]},_0x454a6f=_0x474971[_0x133d57(0x1dd)],_0x2aef10=Math[_0x133d57(0x1a6)](_0x28ef5c,_0x454a6f),_0x5a0a6a=_0x3c0d3c[_0x133d57(0x1a9)]['getOffsetConfig'](),_0x4c230a=document[_0x133d57(0x1cb)](_0x133d57(0x20f));_0x4c230a[_0x133d57(0x1c3)]=_0x163024;let _0x143560=Array(_0x2aef10)['fill'](null)['map']((_0x350e15,_0x124d24)=>{const _0x35e67f=_0x133d57;let _0x4ec963=new H(this[_0x35e67f(0x1cd)],_0x124d24,_0x157ece,_0x5a0a6a);return _0x4ec963[_0x35e67f(0x205)][_0x35e67f(0x1c3)]=_0x52c874,_0x4ec963;});_0x143560[_0x133d57(0x201)](_0x4d7b25=>{const _0x38bb1c=_0x133d57;_0x4c230a[_0x38bb1c(0x1c1)](_0x4d7b25[_0x38bb1c(0x205)]),_0x4d7b25[_0x38bb1c(0x205)][_0x38bb1c(0x1c1)](_0x4d7b25[_0x38bb1c(0x1ac)]),_0x4d7b25[_0x38bb1c(0x1b3)]();});let _0x5cab47=_0x6e7dd4(_0x3f2e1b[_0x133d57(0x1b2)],_0x3f2e1b[_0x133d57(0x1cc)],_0x1094a2[_0x133d57(0x1ba)]);return document['body'][_0x133d57(0x1c1)](_0x5cab47),document[_0x133d57(0x21e)][_0x133d57(0x1c1)](_0x4c230a),new Promise(_0x5aabf0=>{setTimeout(()=>{const _0x335d38=_0x226d;window['onbeforeprint']=()=>{const _0x4703ce=_0x226d;_0x143560[_0x4703ce(0x201)](_0x21bfcb=>{const _0x40224b=_0x4703ce;_0x21bfcb[_0x40224b(0x1f1)]();});},window[_0x335d38(0x211)]=()=>{const _0x3eb141=_0x335d38;_0x143560[_0x3eb141(0x201)](_0x4624df=>{_0x4624df['dispose']();}),document[_0x3eb141(0x21e)][_0x3eb141(0x20b)](_0x4c230a),document[_0x3eb141(0x21e)][_0x3eb141(0x20b)](_0x5cab47),_0x5aabf0(!0x0);},window[_0x335d38(0x221)]();},0x64);});}};q=W([U(0x0,_0x576729),U(0x1,_0x2b308d),U(0x2,_0x3a1dee(_0x4eed7d)),U(0x3,_0x51be1e)],q);const J={'id':_0x17529a(0x1cf),'type':_0x42cae5[_0x17529a(0x1fe)],'handler':async _0x1552c5=>{const _0x1e7b3e=_0x17529a;let _0x49d407=_0x1552c5[_0x1e7b3e(0x21d)](_0x576729),_0x2112f7=_0x1552c5[_0x1e7b3e(0x21d)](q),_0x4dedbf=_0x1552c5['get'](_0x2b308d),_0x170fbf=_0x1552c5[_0x1e7b3e(0x21d)](_0x27b3e8),_0xee166c=_0x49d407[_0x1e7b3e(0x1b8)](_0x3ff930[_0x1e7b3e(0x1d8)]);if(!_0xee166c)return!0x1;if(!_0x4dedbf[_0x1e7b3e(0x1f7)](_0xee166c[_0x1e7b3e(0x1f9)]()))throw Error(_0x1e7b3e(0x1e1));let _0x528105=_0xee166c['getDocumentStyle']()[_0x1e7b3e(0x21a)];return _0x528105!==_0x533b31['TRADITIONAL']&&_0x170fbf[_0x1e7b3e(0x1e4)](_0x46ac2d['id']),await _0x2112f7[_0x1e7b3e(0x221)](_0xee166c[_0x1e7b3e(0x1f9)]()),_0x528105!==_0x533b31[_0x1e7b3e(0x225)]&&_0x170fbf[_0x1e7b3e(0x1e4)](_0x46ac2d['id']),!0x0;}},Y=_0x17529a(0x1ca),X={};var ie='@univerjs-pro/docs-print',ae=_0x17529a(0x1b9);let Z=class extends _0x4809bf{constructor(_0xd6c12d){const _0xc74f79=_0x17529a;super(),this['_iconManager']=_0xd6c12d,this[_0xc74f79(0x20e)]();}['_registerIcons'](){const _0x16eb2f=_0x17529a;this[_0x16eb2f(0x1c2)](this['_iconManager'][_0x16eb2f(0x1a5)]({'PrintIcon':_0x213306}));}};Z=W([U(0x0,_0x3a1dee(_0x18d9aa))],Z);function oe(_0x18c976){const _0x4c89e6=_0x17529a;return{'id':J['id'],'type':_0x4b936e[_0x4c89e6(0x1fb)],'title':_0x4c89e6(0x1ab),'icon':_0x4c89e6(0x1b0),'tooltip':_0x4c89e6(0x1ab),'hidden$':_0x1a7516(_0x18c976,_0x3ff930[_0x4c89e6(0x1d8)])};}const se={[_0x19173f[_0x17529a(0x1e9)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4809bf{constructor(_0x3ebd45,_0x33737f){const _0x51670b=_0x17529a;super(),this['_commandService']=_0x3ebd45,this[_0x51670b(0x1ea)]=_0x33737f,this[_0x51670b(0x1e7)](),this['_initCommands']();}['_initMenus'](){const _0xb1349b=_0x17529a;this['_menuManagerService'][_0xb1349b(0x209)](se);}['_initCommands'](){const _0x4a7a90=_0x17529a;this[_0x4a7a90(0x1c2)](this[_0x4a7a90(0x1aa)][_0x4a7a90(0x1d2)](J));}};Q=W([U(0x0,_0x27b3e8),U(0x1,_0x51d9c0)],Q);let $=class extends _0x527233{constructor(_0x34c17c=X,_0x4ce847,_0x297329){const _0x466acd=_0x17529a;super(),this[_0x466acd(0x204)]=_0x34c17c,this['_injector']=_0x4ce847,this['_configService']=_0x297329;let {menu:_0x42e6de,..._0x336600}=_0x1fdbe1({},X,this[_0x466acd(0x204)]);_0x42e6de&&this[_0x466acd(0x218)][_0x466acd(0x1d1)](_0x466acd(0x206),_0x42e6de,{'merge':!0x0}),this[_0x466acd(0x218)][_0x466acd(0x1d1)](Y,_0x336600);}[_0x17529a(0x1da)](){const _0x140fdf=_0x17529a;this[_0x140fdf(0x1cd)][_0x140fdf(0x1f4)]([Z]),this[_0x140fdf(0x1cd)][_0x140fdf(0x21d)](Z),_0x3ba2a9(this[_0x140fdf(0x1cd)],[[q],[Q]]);}['onReady'](){const _0x5977d0=_0x17529a;this['_injector'][_0x5977d0(0x21d)](Q);}};V($,'pluginName',_0x17529a(0x1ca)),V($,_0x17529a(0x215),ie),V($,_0x17529a(0x208),ae),V($,_0x17529a(0x1f5),_0x3ff930[_0x17529a(0x1d8)]),$=W([_0x2e2894(_0x1e7850,_0x1dd4d5),U(0x1,_0x3a1dee(_0x4eed7d)),U(0x2,_0x51be1e)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3ebfc6=_0x27f4;(function(_0x3edbae,_0x197feb){const _0x155eb6=_0x27f4,_0x4c05c0=_0x3edbae();while(!![]){try{const _0x402643=parseInt(_0x155eb6(0x6e))/0x1+parseInt(_0x155eb6(0x6b))/0x2*(parseInt(_0x155eb6(0x6f))/0x3)+-parseInt(_0x155eb6(0x70))/0x4+parseInt(_0x155eb6(0x6c))/0x5*(-parseInt(_0x155eb6(0x6d))/0x6)+parseInt(_0x155eb6(0x67))/0x7+parseInt(_0x155eb6(0x69))/0x8*(-parseInt(_0x155eb6(0x68))/0x9)+parseInt(_0x155eb6(0x6a))/0xa;if(_0x402643===_0x197feb)break;else _0x4c05c0['push'](_0x4c05c0['shift']());}catch(_0x491c9c){_0x4c05c0['push'](_0x4c05c0['shift']());}}}(_0x24c4,0xacc2c));const e={'docs-print':{'menu':_0x3ebfc6(0x71)}};function _0x27f4(_0xca3d5d,_0xe28e3){_0xca3d5d=_0xca3d5d-0x67;const _0x24c450=_0x24c4();let _0x27f4b8=_0x24c450[_0xca3d5d];return _0x27f4b8;}function _0x24c4(){const _0x563565=['747704WUYdRI','15200380rKVqfT','280986nrNzWr','60080GxkSkA','174boXubd','218324LNjfOP','15ijRKeN','5318636KpQdOK','طباعة','9428083GaNgDL','135HaPnIn'];_0x24c4=function(){return _0x563565;};return _0x24c4();}export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4dea09=_0x380e;function _0x380e(_0x139816,_0x1a0d41){_0x139816=_0x139816-0x1f0;const _0x4f7418=_0x4f74();let _0x380e77=_0x4f7418[_0x139816];return _0x380e77;}(function(_0x37cccb,_0x12a37f){const _0x5d76f4=_0x380e,_0x59a363=_0x37cccb();while(!![]){try{const _0x490c49=parseInt(_0x5d76f4(0x1f7))/0x1*(-parseInt(_0x5d76f4(0x1fc))/0x2)+parseInt(_0x5d76f4(0x1f5))/0x3+parseInt(_0x5d76f4(0x1f6))/0x4*(parseInt(_0x5d76f4(0x1f1))/0x5)+-parseInt(_0x5d76f4(0x1f9))/0x6*(parseInt(_0x5d76f4(0x1fb))/0x7)+parseInt(_0x5d76f4(0x1fa))/0x8*(parseInt(_0x5d76f4(0x1f3))/0x9)+parseInt(_0x5d76f4(0x1f8))/0xa+-parseInt(_0x5d76f4(0x1f0))/0xb*(parseInt(_0x5d76f4(0x1f2))/0xc);if(_0x490c49===_0x12a37f)break;else _0x59a363['push'](_0x59a363['shift']());}catch(_0x17fb72){_0x59a363['push'](_0x59a363['shift']());}}}(_0x4f74,0x6ac21));const e={'docs-print':{'menu':_0x4dea09(0x1f4)}};export{e as default};function _0x4f74(){const _0x27a62c=['4SOMYal','2046uxphNh','6534840DmoBDt','24QYPQCv','3272EOTJlE','26579uQISsn','728gjrVSr','11HrgMYV','1309110qrCiJe','8875464hSzBjA','17163pRUQIQ','Imprimir','724698XAZBEs'];_0x4f74=function(){return _0x27a62c;};return _0x4f74();}
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x57a053=_0x40cc;(function(_0x17543b,_0x2ba218){const _0x5c5e2a=_0x40cc,_0x4bd51e=_0x17543b();while(!![]){try{const _0x5e14fe=parseInt(_0x5c5e2a(0x175))/0x1+parseInt(_0x5c5e2a(0x172))/0x2*(-parseInt(_0x5c5e2a(0x17a))/0x3)+-parseInt(_0x5c5e2a(0x174))/0x4+-parseInt(_0x5c5e2a(0x177))/0x5+-parseInt(_0x5c5e2a(0x178))/0x6+-parseInt(_0x5c5e2a(0x179))/0x7*(parseInt(_0x5c5e2a(0x173))/0x8)+-parseInt(_0x5c5e2a(0x17b))/0x9*(-parseInt(_0x5c5e2a(0x171))/0xa);if(_0x5e14fe===_0x2ba218)break;else _0x4bd51e['push'](_0x4bd51e['shift']());}catch(_0x60b766){_0x4bd51e['push'](_0x4bd51e['shift']());}}}(_0x2e5f,0x906f1));function _0x40cc(_0xf1acff,_0xa1f5e1){_0xf1acff=_0xf1acff-0x171;const _0x2e5f1c=_0x2e5f();let _0x40cc5f=_0x2e5f1c[_0xf1acff];return _0x40cc5f;}const e={'docs-print':{'menu':_0x57a053(0x176)}};function _0x2e5f(){const _0x459fd0=['64265pRvxXh','2210712woznVu','1787135JtBrWF','405249HgHBuh','3843VnKGrO','39010bBMgyJ','2SxiyAU','8WfhGOW','1371880gkTFoJ','40537yxytqN','Drucken'];_0x2e5f=function(){return _0x459fd0;};return _0x2e5f();}export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2c71af=_0x2372;function _0x15a7(){const _0x1f46c1=['8utWlSd','600158XkxzAe','238dwOBpU','154284JGSGse','86928XgcYTO','Print','11207853xezMXN','7179605vCCDiw','1174794sRDOOA','568113ArWnDA'];_0x15a7=function(){return _0x1f46c1;};return _0x15a7();}function _0x2372(_0x503357,_0x32b65f){_0x503357=_0x503357-0x8e;const _0x15a768=_0x15a7();let _0x237244=_0x15a768[_0x503357];return _0x237244;}(function(_0x53296a,_0x422ea1){const _0x35d847=_0x2372,_0x269971=_0x53296a();while(!![]){try{const _0x4b97cd=-parseInt(_0x35d847(0x92))/0x1+parseInt(_0x35d847(0x94))/0x2+parseInt(_0x35d847(0x91))/0x3+parseInt(_0x35d847(0x97))/0x4+-parseInt(_0x35d847(0x90))/0x5+-parseInt(_0x35d847(0x96))/0x6*(-parseInt(_0x35d847(0x95))/0x7)+parseInt(_0x35d847(0x93))/0x8*(parseInt(_0x35d847(0x8f))/0x9);if(_0x4b97cd===_0x422ea1)break;else _0x269971['push'](_0x269971['shift']());}catch(_0x35fc6d){_0x269971['push'](_0x269971['shift']());}}}(_0x15a7,0xca628));const e={'docs-print':{'menu':_0x2c71af(0x8e)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3f6937,_0x4a2c5b){const _0x304ea9=_0x2149,_0x4d2bb4=_0x3f6937();while(!![]){try{const _0x9af0a4=-parseInt(_0x304ea9(0x1e6))/0x1+-parseInt(_0x304ea9(0x1e5))/0x2*(parseInt(_0x304ea9(0x1eb))/0x3)+parseInt(_0x304ea9(0x1ec))/0x4*(-parseInt(_0x304ea9(0x1e7))/0x5)+-parseInt(_0x304ea9(0x1e3))/0x6+-parseInt(_0x304ea9(0x1e8))/0x7*(-parseInt(_0x304ea9(0x1e2))/0x8)+parseInt(_0x304ea9(0x1ea))/0x9*(parseInt(_0x304ea9(0x1e4))/0xa)+parseInt(_0x304ea9(0x1e9))/0xb;if(_0x9af0a4===_0x4a2c5b)break;else _0x4d2bb4['push'](_0x4d2bb4['shift']());}catch(_0x3396e0){_0x4d2bb4['push'](_0x4d2bb4['shift']());}}}(_0x10ef,0x89be2));function _0x2149(_0x47e050,_0x404353){_0x47e050=_0x47e050-0x1e2;const _0x10ef60=_0x10ef();let _0x21499e=_0x10ef60[_0x47e050];return _0x21499e;}function _0x10ef(){const _0x5593e7=['25JNmPFN','2954693oxeznw','15444297DpdRgZ','63hgDRVr','28902ICnOnK','253972ZtiaSu','16ZTJNyg','2027652JEbrRu','361310PYPdQv','130sJiJPT','655331QnPwyP'];_0x10ef=function(){return _0x5593e7;};return _0x10ef();}const e={'docs-print':{'menu':'Imprimir'}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x35ff(){const _0x33fea4=['658212Jjqseo','2182615tLnhpI','1122174fABysd','24366gNovth','469AJSzkF','9193464XzGBqy','4833ZzyiQA','115728KQgcld'];_0x35ff=function(){return _0x33fea4;};return _0x35ff();}function _0x478c(_0x5428d8,_0x4ac240){_0x5428d8=_0x5428d8-0x183;const _0x35ff91=_0x35ff();let _0x478c21=_0x35ff91[_0x5428d8];return _0x478c21;}(function(_0x353a8d,_0x4b1312){const _0x1d8292=_0x478c,_0x7b1189=_0x353a8d();while(!![]){try{const _0xc905f3=parseInt(_0x1d8292(0x189))/0x1+parseInt(_0x1d8292(0x183))/0x2+parseInt(_0x1d8292(0x185))/0x3+-parseInt(_0x1d8292(0x18a))/0x4+parseInt(_0x1d8292(0x184))/0x5+parseInt(_0x1d8292(0x186))/0x6*(parseInt(_0x1d8292(0x187))/0x7)+-parseInt(_0x1d8292(0x188))/0x8;if(_0xc905f3===_0x4b1312)break;else _0x7b1189['push'](_0x7b1189['shift']());}catch(_0x2ee427){_0x7b1189['push'](_0x7b1189['shift']());}}}(_0x35ff,0x3a39c));const e={'docs-print':{'menu':'چاپ'}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x48ee(_0x293694,_0x6fd5b){_0x293694=_0x293694-0x185;const _0x51d77b=_0x51d7();let _0x48ee10=_0x51d77b[_0x293694];return _0x48ee10;}function _0x51d7(){const _0x29d330=['15OperWX','Imprimer','661208jNOHUg','3034fzSZLP','88yzdlZR','1221101JLFlBp','185300GAGYTI','3KnOUfX','9NaQFdF','298206gDCttY','67630QVPGrZ','679344hqbdvI'];_0x51d7=function(){return _0x29d330;};return _0x51d7();}const _0x95fde3=_0x48ee;(function(_0x2ccb7d,_0x3f9c71){const _0x581811=_0x48ee,_0x5d4632=_0x2ccb7d();while(!![]){try{const _0x57b5f6=-parseInt(_0x581811(0x190))/0x1+-parseInt(_0x581811(0x189))/0x2*(-parseInt(_0x581811(0x18d))/0x3)+-parseInt(_0x581811(0x185))/0x4+-parseInt(_0x581811(0x186))/0x5*(-parseInt(_0x581811(0x18f))/0x6)+parseInt(_0x581811(0x18b))/0x7+-parseInt(_0x581811(0x188))/0x8*(parseInt(_0x581811(0x18e))/0x9)+parseInt(_0x581811(0x18c))/0xa*(parseInt(_0x581811(0x18a))/0xb);if(_0x57b5f6===_0x3f9c71)break;else _0x5d4632['push'](_0x5d4632['shift']());}catch(_0x572e1f){_0x5d4632['push'](_0x5d4632['shift']());}}}(_0x51d7,0x25662));const e={'docs-print':{'menu':_0x95fde3(0x187)}};export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x14263e,_0x1786db){const _0x2038c4=_0x38f8,_0x681a84=_0x14263e();while(!![]){try{const _0x116a1e=parseInt(_0x2038c4(0x13d))/0x1+-parseInt(_0x2038c4(0x143))/0x2*(-parseInt(_0x2038c4(0x141))/0x3)+parseInt(_0x2038c4(0x13c))/0x4*(parseInt(_0x2038c4(0x13b))/0x5)+parseInt(_0x2038c4(0x13f))/0x6*(-parseInt(_0x2038c4(0x142))/0x7)+-parseInt(_0x2038c4(0x145))/0x8+parseInt(_0x2038c4(0x13e))/0x9+-parseInt(_0x2038c4(0x140))/0xa*(parseInt(_0x2038c4(0x144))/0xb);if(_0x116a1e===_0x1786db)break;else _0x681a84['push'](_0x681a84['shift']());}catch(_0x132051){_0x681a84['push'](_0x681a84['shift']());}}}(_0x1a70,0x4ee1e));function _0x38f8(_0x44f94d,_0x3a6d1a){_0x44f94d=_0x44f94d-0x13b;const _0x1a700e=_0x1a70();let _0x38f843=_0x1a700e[_0x44f94d];return _0x38f843;}const e={'docs-print':{'menu':'Cetak'}};export{e as default};function _0x1a70(){const _0x9e3cb2=['2desRvC','22jdogtM','48800lsfSwp','1095UQTRYC','9324QNDIql','342162zfapFk','2275263ZkRhAm','3772086BZUBFS','2807290BUxuTJ','1241649bTJNNw','7eBIfdA'];_0x1a70=function(){return _0x9e3cb2;};return _0x1a70();}
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1dbce1=_0x645d;(function(_0x1d7f39,_0x1f15d1){const _0xf61668=_0x645d,_0x1f2fc5=_0x1d7f39();while(!![]){try{const _0x3b39b7=-parseInt(_0xf61668(0x144))/0x1*(parseInt(_0xf61668(0x141))/0x2)+-parseInt(_0xf61668(0x145))/0x3*(parseInt(_0xf61668(0x13a))/0x4)+parseInt(_0xf61668(0x13e))/0x5+parseInt(_0xf61668(0x146))/0x6+parseInt(_0xf61668(0x142))/0x7*(parseInt(_0xf61668(0x143))/0x8)+-parseInt(_0xf61668(0x13d))/0x9*(parseInt(_0xf61668(0x13b))/0xa)+parseInt(_0xf61668(0x140))/0xb*(parseInt(_0xf61668(0x13c))/0xc);if(_0x3b39b7===_0x1f15d1)break;else _0x1f2fc5['push'](_0x1f2fc5['shift']());}catch(_0x3785b9){_0x1f2fc5['push'](_0x1f2fc5['shift']());}}}(_0x33c8,0xe3a74));function _0x33c8(){const _0x127ce4=['1036cSMdhc','82968DvVPAh','1muMyLT','2824779GHdfXI','8723838UNijVc','4OFDKJb','870630CnzJtG','12QnPUGc','135nHhOcD','1030225QYwSMS','Stampa','2862959iUbYuV','550378tXbGGI'];_0x33c8=function(){return _0x127ce4;};return _0x33c8();}function _0x645d(_0x1eac9d,_0x3b9cff){_0x1eac9d=_0x1eac9d-0x13a;const _0x33c804=_0x33c8();let _0x645dad=_0x33c804[_0x1eac9d];return _0x645dad;}const e={'docs-print':{'menu':_0x1dbce1(0x13f)}};export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2a43d7,_0x38d0dd){const _0x426c09=_0x1ef2,_0xd99e32=_0x2a43d7();while(!![]){try{const _0x1ab548=parseInt(_0x426c09(0xa9))/0x1+-parseInt(_0x426c09(0xa4))/0x2+parseInt(_0x426c09(0xa2))/0x3*(parseInt(_0x426c09(0xa3))/0x4)+parseInt(_0x426c09(0xa5))/0x5+parseInt(_0x426c09(0xaa))/0x6+-parseInt(_0x426c09(0xa7))/0x7*(parseInt(_0x426c09(0xa6))/0x8)+parseInt(_0x426c09(0xa8))/0x9;if(_0x1ab548===_0x38d0dd)break;else _0xd99e32['push'](_0xd99e32['shift']());}catch(_0x45c3bd){_0xd99e32['push'](_0xd99e32['shift']());}}}(_0x439a,0x44e10));const e={'docs-print':{'menu':'印刷'}};function _0x1ef2(_0x16946a,_0x5b9015){_0x16946a=_0x16946a-0xa2;const _0x439afa=_0x439a();let _0x1ef208=_0x439afa[_0x16946a];return _0x1ef208;}function _0x439a(){const _0x25800d=['89117aVSXdj','2502981TupIlW','30473SrSFQR','69552PZaKJI','249TjkuaB','4072hJPrhI','524234eMfBcx','2034640TtGAgR','168lGRvGP'];_0x439a=function(){return _0x25800d;};return _0x439a();}export{e as default};
|