@univerjs-pro/docs-print 0.25.1 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/components.controller.d.ts +7 -0
- package/lib/types/controllers/menu.d.ts +2 -1
- package/lib/types/controllers/{docs-print-ui.controller.d.ts → ui.controller.d.ts} +2 -4
- package/lib/types/index.d.ts +2 -2
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/doc-print.service.d.ts +1 -3
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x48e728=_0x5f3a;(function(_0x992b2a,_0x2c5b27){const _0x5b4f37=_0x5f3a,_0xf640c1=_0x992b2a();while(!![]){try{const _0x262be5=-parseInt(_0x5b4f37(0x109))/0x1*(-parseInt(_0x5b4f37(0x122))/0x2)+parseInt(_0x5b4f37(0x103))/0x3+-parseInt(_0x5b4f37(0x13d))/0x4*(-parseInt(_0x5b4f37(0x142))/0x5)+-parseInt(_0x5b4f37(0xec))/0x6*(-parseInt(_0x5b4f37(0x129))/0x7)+parseInt(_0x5b4f37(0xd8))/0x8*(parseInt(_0x5b4f37(0xee))/0x9)+-parseInt(_0x5b4f37(0x156))/0xa+-parseInt(_0x5b4f37(0x137))/0xb;if(_0x262be5===_0x2c5b27)break;else _0xf640c1['push'](_0xf640c1['shift']());}catch(_0x4edfb0){_0xf640c1['push'](_0xf640c1['shift']());}}}(_0x3800,0x8ee32),Object[_0x48e728(0x153)](exports,Symbol[_0x48e728(0x14a)],{'value':_0x48e728(0x15e)}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/ui'),s=require('@univerjs/network'),c=require('@univerjs/icons');function l(_0x1adfb6){'@babel/helpers - typeof';const _0x1cef02=_0x48e728;return l=typeof Symbol==_0x1cef02(0xf8)&&typeof Symbol['iterator']==_0x1cef02(0xed)?function(_0x1011e9){return typeof _0x1011e9;}:function(_0x5281f4){const _0x4ca16c=_0x1cef02;return _0x5281f4&&typeof Symbol==_0x4ca16c(0xf8)&&_0x5281f4[_0x4ca16c(0x178)]===Symbol&&_0x5281f4!==Symbol['prototype']?_0x4ca16c(0xed):typeof _0x5281f4;},l(_0x1adfb6);}function u(_0x451d08,_0x163be5){const _0x2c7039=_0x48e728;if(l(_0x451d08)!=_0x2c7039(0x112)||!_0x451d08)return _0x451d08;var _0x4ca17d=_0x451d08[Symbol[_0x2c7039(0x10f)]];if(_0x4ca17d!==void 0x0){var _0x220f90=_0x4ca17d[_0x2c7039(0xfc)](_0x451d08,_0x163be5||_0x2c7039(0x157));if(l(_0x220f90)!=_0x2c7039(0x112))return _0x220f90;throw TypeError(_0x2c7039(0x12e));}return(_0x163be5===_0x2c7039(0xd4)?String:Number)(_0x451d08);}function _0x5f3a(_0xdbcbb7,_0x1f77bd){_0xdbcbb7=_0xdbcbb7-0xce;const _0x3800ce=_0x3800();let _0x5f3af5=_0x3800ce[_0xdbcbb7];return _0x5f3af5;}function d(_0x517805){const _0x5ccd13=_0x48e728;var _0x54a4f6=u(_0x517805,_0x5ccd13(0xd4));return l(_0x54a4f6)==_0x5ccd13(0xed)?_0x54a4f6:_0x54a4f6+'';}function f(_0xfdd7ba,_0x2576c3,_0x37900e){const _0x127e9f=_0x48e728;return(_0x2576c3=d(_0x2576c3))in _0xfdd7ba?Object[_0x127e9f(0x153)](_0xfdd7ba,_0x2576c3,{'value':_0x37900e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xfdd7ba[_0x2576c3]=_0x37900e,_0xfdd7ba;}var p=class extends e[_0x48e728(0x16d)]{get['container'](){const _0x27c8de=_0x48e728;return this[_0x27c8de(0x14e)];}get[_0x48e728(0x167)](){const _0x3c0d24=_0x48e728;return this[_0x3c0d24(0x12b)];}get[_0x48e728(0xdf)](){const _0x13a2e4=_0x48e728;let _0x10e68f=this[_0x13a2e4(0x16e)][_0x13a2e4(0xeb)](n['IRenderManagerService'])[_0x13a2e4(0x11b)](this['_unitId']);if(!_0x10e68f)throw Error(_0x13a2e4(0x169));return _0x10e68f;}get['_skeleton'](){const _0x56f660=_0x48e728;return this['_currentRender'][_0x56f660(0x134)](a[_0x56f660(0xdb)])[_0x56f660(0x170)]();}get[_0x48e728(0x128)](){const _0x3fcff5=_0x48e728;let _0x391838=this[_0x3fcff5(0x149)][_0x3fcff5(0x10c)]();if(!_0x391838)throw Error(_0x3fcff5(0x141));return _0x391838;}get[_0x48e728(0x161)](){const _0x1fd000=_0x48e728;let _0x4a0d0b=this[_0x1fd000(0x128)][_0x1fd000(0xfd)][0x0];return{'width':_0x4a0d0b[_0x1fd000(0x125)],'height':_0x4a0d0b[_0x1fd000(0x171)]};}constructor(_0x5ce29a,_0x147b96,_0x7931bf,_0x1f49fd){const _0x177b71=_0x48e728;super(),this['_injector']=_0x5ce29a,this[_0x177b71(0xf1)]=_0x147b96,this['_unitId']=_0x7931bf,this['_offsetConfig']=_0x1f49fd,f(this,'_container',document[_0x177b71(0x108)](_0x177b71(0x133))),f(this,_0x177b71(0x12b),document[_0x177b71(0x108)](_0x177b71(0x133))),f(this,_0x177b71(0x110),void 0x0),f(this,_0x177b71(0x16b),void 0x0),f(this,_0x177b71(0x159),void 0x0),f(this,_0x177b71(0x12c),void 0x0),f(this,_0x177b71(0xf0),void 0x0),f(this,_0x177b71(0x176),new e['DisposableCollection']()),this['_key']=(0x0,e[_0x177b71(0x14d)])(0x4),this['_initRenderer'](),this[_0x177b71(0x151)]({'dispose':()=>{const _0x4594e9=_0x177b71;this[_0x4594e9(0x110)][_0x4594e9(0x177)](),this[_0x4594e9(0x16b)]['dispose'](),this[_0x4594e9(0x176)]['dispose']();}});}[_0x48e728(0x16a)](){const _0xc6a332=_0x48e728;let {docsTop:_0x5e7e97,docsLeft:_0x343609}=this[_0xc6a332(0x12c)][_0xc6a332(0x143)](),_0x58d739=this[_0xc6a332(0x161)][_0xc6a332(0xfe)],_0x1ec80b=this[_0xc6a332(0x161)]['width'];return{'top':_0x5e7e97+(_0x5e7e97+_0x58d739)*this[_0xc6a332(0xf1)],'bottom':_0x5e7e97+(_0x5e7e97+_0x58d739)*(this[_0xc6a332(0xf1)]+0x1),'left':_0x343609,'right':_0x343609+_0x1ec80b};}['_initRenderer'](){const _0x33dd37=_0x48e728;this[_0x33dd37(0x110)]=new n[(_0x33dd37(0x145))]('',{'elementWidth':this[_0x33dd37(0x161)]['width'],'elementHeight':this[_0x33dd37(0x161)][_0x33dd37(0xfe)],'dpr':0x1,'renderMode':n[_0x33dd37(0xf4)][_0x33dd37(0x164)]}),this[_0x33dd37(0x16b)]=new n['Scene'](this[_0x33dd37(0x159)],this[_0x33dd37(0x110)]),this[_0x33dd37(0x16b)][_0x33dd37(0xde)](0x1,0x1),this[_0x33dd37(0x110)][_0x33dd37(0x10a)](this[_0x33dd37(0x14e)],!0x1),this['_engine'][_0x33dd37(0xf9)]()[_0x33dd37(0xe1)]()['setId'](this[_0x33dd37(0x159)]+'_'+(0x0,e['generateRandomId'])(0x4)),this[_0x33dd37(0xce)](),this[_0x33dd37(0xd6)]();}[_0x48e728(0xce)](){const _0x2eb7de=_0x48e728;let {pageMarginLeft:_0x349473,pageMarginTop:_0x5fd2cc,docsLeft:_0x2d1008,docsTop:_0x3da068}=this[_0x2eb7de(0xfa)],_0x148090={'pageMarginLeft':_0x349473,'pageMarginTop':_0x5fd2cc},_0x49cd19=new n[(_0x2eb7de(0x11d))](_0x2eb7de(0x130),this[_0x2eb7de(0x149)],_0x148090);_0x49cd19[_0x2eb7de(0x15b)](_0x2d1008,_0x3da068),this[_0x2eb7de(0x16b)][_0x2eb7de(0x118)](_0x49cd19),this['_documents']=_0x49cd19;let _0x50fcd6=this['_injector'][_0x2eb7de(0xeb)](t[_0x2eb7de(0x13c)]);_0x50fcd6[_0x2eb7de(0x14f)][_0x2eb7de(0x11a)](_0x50fcd6[_0x2eb7de(0x14f)][_0x2eb7de(0xd7)]()[_0x2eb7de(0x140)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x2eb7de(0x16b)],'engine':this['_engine'],'root':this[_0x2eb7de(0x12b)],'documents':this[_0x2eb7de(0x12c)],'skeleton':this[_0x2eb7de(0x149)]});}['_addViewport'](){const _0x20ff16=_0x48e728;this[_0x20ff16(0xf0)]=new n[(_0x20ff16(0x172))](t[_0x20ff16(0x14b)][_0x20ff16(0xd3)],this[_0x20ff16(0x16b)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x48e728(0x10d)](){const _0x33aafc=_0x48e728;let _0x4d1dc1=this[_0x33aafc(0x16a)]();this[_0x33aafc(0xf0)][_0x33aafc(0x12f)]({'viewportScrollX':_0x4d1dc1['left'],'viewportScrollY':_0x4d1dc1[_0x33aafc(0x155)]}),this['_root']['style'][_0x33aafc(0xe9)]=_0x33aafc(0x163),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0x155)]=_0x33aafc(0xe6),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0x173)]=_0x33aafc(0xe6),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0x127)]=_0x33aafc(0xf7),this[_0x33aafc(0x12b)][_0x33aafc(0x111)][_0x33aafc(0xfe)]=_0x33aafc(0xf7),this['_effects']=new e['DisposableCollection']();let _0x2e79f6=this[_0x33aafc(0x16e)][_0x33aafc(0xeb)](t[_0x33aafc(0x13c)]);_0x2e79f6[_0x33aafc(0x14f)][_0x33aafc(0x11a)](_0x2e79f6[_0x33aafc(0x14f)][_0x33aafc(0xd7)]()[_0x33aafc(0x10e)])(this[_0x33aafc(0x176)],{'unitId':this[_0x33aafc(0x12d)],'scene':this[_0x33aafc(0x16b)],'engine':this[_0x33aafc(0x110)],'root':this[_0x33aafc(0x12b)],'skeleton':this['_skeleton'],'offset':{'x':_0x4d1dc1['left'],'y':_0x4d1dc1[_0x33aafc(0x155)]},'bound':{'top':_0x4d1dc1[_0x33aafc(0x155)],'left':_0x4d1dc1[_0x33aafc(0x173)],'right':_0x4d1dc1['right'],'bottom':_0x4d1dc1['bottom']}});}['render'](){const _0x462280=_0x48e728;let _0x113819=this['_engine'][_0x462280(0xf9)]()[_0x462280(0xe1)]();this[_0x462280(0x12c)][_0x462280(0x11f)](),this[_0x462280(0x16b)]['makeDirty'](),_0x113819[_0x462280(0x100)](),this[_0x462280(0x16b)][_0x462280(0xcf)](),_0x113819['restore']();}};function m(_0xd3a63d,_0x4326dd){return function(_0xcf2903,_0x5aecc7){_0x4326dd(_0xcf2903,_0x5aecc7,_0xd3a63d);};}function h(_0x2d01f1,_0x84dac9,_0x5e5a5e,_0x5caa32){const _0x40e42f=_0x48e728;var _0x1d7fd3=arguments[_0x40e42f(0x132)],_0x3bd024=_0x1d7fd3<0x3?_0x84dac9:_0x5caa32===null?_0x5caa32=Object['getOwnPropertyDescriptor'](_0x84dac9,_0x5e5a5e):_0x5caa32,_0x31b5fa;if(typeof Reflect=='object'&&typeof Reflect[_0x40e42f(0xd1)]==_0x40e42f(0xf8))_0x3bd024=Reflect[_0x40e42f(0xd1)](_0x2d01f1,_0x84dac9,_0x5e5a5e,_0x5caa32);else{for(var _0xeadaa0=_0x2d01f1['length']-0x1;_0xeadaa0>=0x0;_0xeadaa0--)(_0x31b5fa=_0x2d01f1[_0xeadaa0])&&(_0x3bd024=(_0x1d7fd3<0x3?_0x31b5fa(_0x3bd024):_0x1d7fd3>0x3?_0x31b5fa(_0x84dac9,_0x5e5a5e,_0x3bd024):_0x31b5fa(_0x84dac9,_0x5e5a5e))||_0x3bd024);}return _0x1d7fd3>0x3&&_0x3bd024&&Object[_0x40e42f(0x153)](_0x84dac9,_0x5e5a5e,_0x3bd024),_0x3bd024;}const g=Number[_0x48e728(0x16f)](0x6a3f47b8),_=(_0x5558ee,_0x360df3,_0x14a481)=>{const _0x49e5b2=_0x48e728;let _0x5d528b={'page':_0x5558ee,'isPro':!0x1,'timeValid':!0x1};if(!_0x360df3||!_0x14a481)return _0x5d528b;let _0x2d43b1=(0x0,r[_0x49e5b2(0x119)])(_0x360df3,_0x14a481);if(_0x2d43b1['valid']){let _0x16b0fe=_0x2d43b1[_0x49e5b2(0xe7)],_0x29b22b=(0x0,r['isFeatureAuthorizedWithinTime'])(_0x16b0fe,'df',g);_0x5d528b[_0x49e5b2(0x121)]=_0x29b22b,_0x5d528b[_0x49e5b2(0x175)]=_0x29b22b,_0x5d528b[_0x49e5b2(0x16c)]=(0x0,r[_0x49e5b2(0xda)])(_0x16b0fe,_0x29b22b,_0x49e5b2(0x174),_0x5558ee,_0x5558ee,0x0);}return _0x5d528b;};let v=class extends e[_0x48e728(0x16d)]{constructor(_0x567d05,_0x5a306e,_0x5749f6,_0x4b1bfd,_0x2252d2){const _0x31363b=_0x48e728;super(),this[_0x31363b(0x116)]=_0x567d05,this[_0x31363b(0xf2)]=_0x5a306e,this[_0x31363b(0x16e)]=_0x5749f6,this[_0x31363b(0x113)]=_0x4b1bfd,this['_globalZoneService']=_0x2252d2;}[_0x48e728(0x13b)](_0x4bfdcf){const _0x33c250=_0x48e728;var _0x6e5287,_0x19bb62;let {ls:_0x484db8,pbk:_0x45f4f6}=(_0x6e5287=this[_0x33c250(0x113)][_0x33c250(0x12a)](r['LS_CONFIG_KEY']))==null?{}:_0x6e5287,_0x4633de=(0x0,r[_0x33c250(0x154)])()?0x1/0x0:_(0x1,_0x484db8,_0x45f4f6)['page'];if(!this[_0x33c250(0x116)][_0x33c250(0x144)](_0x4bfdcf,e['UniverInstanceType'][_0x33c250(0x15c)]))throw Error(_0x33c250(0x117));let _0x4932e4=this['_renderManagerService']['getRenderById'](_0x4bfdcf);if(!_0x4932e4)throw Error(_0x33c250(0x169));let _0x34f240=(_0x19bb62=_0x4932e4[_0x33c250(0x134)](a['DocSkeletonManagerService'])[_0x33c250(0x170)]()[_0x33c250(0x10c)]())==null?void 0x0:_0x19bb62[_0x33c250(0xfd)];if(!_0x34f240)throw Error(_0x33c250(0x11c));let _0x5d6044={'width':_0x34f240[0x0][_0x33c250(0x125)],'height':_0x34f240[0x0][_0x33c250(0x171)]},_0x530056=_0x34f240[_0x33c250(0x132)],_0x3ddf3f=Math[_0x33c250(0x166)](_0x4633de,_0x530056),_0xacf7dc=_0x4932e4[_0x33c250(0x115)][_0x33c250(0x143)](),_0x1139ea=document['createElement']('div');_0x1139ea[_0x33c250(0xe0)]=i[_0x33c250(0xff)];let _0xf26111=Array(_0x3ddf3f)[_0x33c250(0x168)](null)[_0x33c250(0x131)]((_0x3c8e24,_0x1b01ca)=>{const _0x446ceb=_0x33c250;let _0x525e00=new p(this[_0x446ceb(0x16e)],_0x1b01ca,_0x4bfdcf,_0xacf7dc);return _0x525e00[_0x446ceb(0x101)][_0x446ceb(0xe0)]=i['PRINT_CANVAS_CLASS'],_0x525e00;});_0xf26111[_0x33c250(0xe3)](_0x55dc8b=>{const _0x4f2005=_0x33c250;_0x1139ea[_0x4f2005(0x135)](_0x55dc8b['container']),_0x55dc8b[_0x4f2005(0x101)]['appendChild'](_0x55dc8b['root']),_0x55dc8b['prepare']();});let _0x1de35c=(0x0,i[_0x33c250(0x114)])(_0x5d6044['width'],_0x5d6044['height'],i['PrintDirection']['Portrait']);return document[_0x33c250(0xea)][_0x33c250(0x135)](_0x1de35c),document[_0x33c250(0xea)][_0x33c250(0x135)](_0x1139ea),new Promise(_0x23b736=>{setTimeout(()=>{const _0x4c577b=_0x5f3a;window['onbeforeprint']=()=>{const _0x64816f=_0x5f3a;_0xf26111[_0x64816f(0xe3)](_0x2943c6=>{const _0xa35861=_0x64816f;_0x2943c6[_0xa35861(0xcf)]();});},window[_0x4c577b(0x152)]=()=>{const _0x5383df=_0x4c577b;_0xf26111['forEach'](_0x2a1c69=>{const _0x3de836=_0x5f3a;_0x2a1c69[_0x3de836(0x177)]();}),document[_0x5383df(0xea)][_0x5383df(0xf6)](_0x1139ea),document[_0x5383df(0xea)][_0x5383df(0xf6)](_0x1de35c),this[_0x5383df(0xdd)][_0x5383df(0x165)](),_0x23b736(!0x0);},window[_0x4c577b(0x13b)]();},0x64);});}};v=h([m(0x0,e[_0x48e728(0xd9)]),m(0x1,n['IRenderManagerService']),m(0x2,(0x0,e['Inject'])(e['Injector'])),m(0x3,e[_0x48e728(0x124)]),m(0x4,o[_0x48e728(0x139)])],v);const y={'id':'docs.operation.print','type':e['CommandType'][_0x48e728(0xd0)],'handler':async _0x464430=>{const _0x6d4001=_0x48e728;let _0x518d2c=_0x464430[_0x6d4001(0xeb)](e[_0x6d4001(0xd9)]),_0xc38dec=_0x464430['get'](v),_0x3fb8ef=_0x464430['get'](n[_0x6d4001(0x15d)]),_0x2ee167=_0x464430[_0x6d4001(0xeb)](e['ICommandService']),_0x5a783d=_0x518d2c['getCurrentUnitOfType'](e['UniverInstanceType']['UNIVER_DOC']);if(!_0x5a783d)return!0x1;if(!_0x3fb8ef[_0x6d4001(0x11b)](_0x5a783d[_0x6d4001(0xd5)]()))throw Error(_0x6d4001(0x169));let _0x3814eb=_0x5a783d['getDocumentStyle']()['documentFlavor'];return _0x3814eb!==e[_0x6d4001(0x123)][_0x6d4001(0xe4)]&&_0x2ee167['syncExecuteCommand'](t[_0x6d4001(0x105)]['id']),await _0xc38dec[_0x6d4001(0x13b)](_0x5a783d[_0x6d4001(0xd5)]()),_0x3814eb!==e[_0x6d4001(0x123)][_0x6d4001(0xe4)]&&_0x2ee167[_0x6d4001(0x148)](t[_0x6d4001(0x105)]['id']),!0x0;}},b=_0x48e728(0xe5),x={};var S=_0x48e728(0x136),C=_0x48e728(0x147);function w(_0x59f5c4){const _0x2390e0=_0x48e728;return{'id':y['id'],'type':o['MenuItemType'][_0x2390e0(0x11e)],'title':_0x2390e0(0x162),'icon':'PrintIcon','tooltip':_0x2390e0(0x162),'hidden$':(0x0,o[_0x2390e0(0xf3)])(_0x59f5c4,e['UniverInstanceType'][_0x2390e0(0x15c)])};}const T={[o[_0x48e728(0x15a)][_0x48e728(0x160)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};function _0x3800(){const _0x10f8fa=['PrintIcon','generateRandomId','_container','interceptor','DocPrintOperation','disposeWithMe','onafterprint','defineProperty','isLocalCheck','top','7961970EEVHzn','default','registerDependencies','_key','RibbonStartGroup','translate','UNIVER_DOC','IRenderManagerService','Module','_componentManager','OTHERS','_paperSize','docs-print.menu','absolute','Printing','close','min','root','fill','Render\x20is\x20not\x20found','_calculateLayout','_scene','page','Disposable','_injector','parseInt','getSkeleton','pageHeight','Viewport','left','mpn','timeValid','_effects','dispose','constructor','_addComponent','render','OPERATION','decorate','registerCommand','VIEW_MAIN','string','getUnitId','_addViewport','getInterceptPoints','488hSJKKl','IUniverInstanceService','getDocFeatureLimit','DocSkeletonManagerService','packageName','_globalZoneService','scale','_currentRender','className','getContext','UniverNetworkPlugin','forEach','TRADITIONAL','UNIVER_DOCS_PRINT','0px','message','ICommandService','position','body','get','261588GCNuxp','symbol','151326agHLpp','Inject','_viewMain','_page','_renderManagerService','getMenuHiddenObservable','CanvasRenderMode','_initComponents','removeChild','100%','function','getCanvas','_offsetConfig','setConfig','call','pages','height','PRINT_CONTAINER_CLASS','save','container','type','130038YGwcOZ','UniverLicensePlugin','SwitchDocModeCommand','ComponentManager','_initMenus','createElement','16hwzdco','setContainer','IMenuManagerService','getSkeletonData','prepare','PRINTING_DOM_COLLECT','toPrimitive','_engine','style','object','_configService','createPrintStyle','mainComponent','_univerInstanceService','DocumentDataModel\x20is\x20not\x20found','addObject','getLicenseInfo','fetchThroughInterceptors','getRenderById','Pages\x20are\x20not\x20found','Documents','BUTTON','makeForceDirty','UniverDocsPrintPlugin','isPro','19268YrYTRr','DocumentFlavor','IConfigService','pageWidth','menu','width','_skeletonData','161paABMj','getConfig','_root','_documents','_unitId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','updateScrollVal','__DocPrintRender__','map','length','div','with','appendChild','@univerjs-pro/docs-print','20495871BhdgTu','register','IZenZoneService','_config','print','DocPrintInterceptorService','8hctVXi','_commandService','_menuManagerService','PRINTING_COMPONENT_COLLECT','Skeleton\x20data\x20is\x20not\x20found','2547065LinymG','getOffsetConfig','getUnit','Engine','mergeMenu','0.25.1','syncExecuteCommand','_skeleton','toStringTag','VIEWPORT_KEY'];_0x3800=function(){return _0x10f8fa;};return _0x3800();}let E=class extends e['Disposable']{constructor(_0x347671,_0x19aa23,_0x284128){const _0x358b76=_0x48e728;super(),this['_commandService']=_0x347671,this['_menuManagerService']=_0x19aa23,this[_0x358b76(0x15f)]=_0x284128,this[_0x358b76(0x107)](),this['_initCommands'](),this['_initComponents']();}[_0x48e728(0x107)](){const _0x1f5da5=_0x48e728;this[_0x1f5da5(0x13f)][_0x1f5da5(0x146)](T);}['_initCommands'](){const _0x3cda53=_0x48e728;this[_0x3cda53(0x151)](this[_0x3cda53(0x13e)][_0x3cda53(0xd2)](y));}[_0x48e728(0xf5)](){const _0x734ecb=_0x48e728;[['PrintIcon',c[_0x734ecb(0x14c)]]][_0x734ecb(0xe3)](([_0x2c8d1b,_0x59b014])=>{const _0x3d1b4e=_0x734ecb;this['_componentManager'][_0x3d1b4e(0x138)](_0x2c8d1b,_0x59b014);});}};E=h([m(0x0,e[_0x48e728(0xe8)]),m(0x1,o[_0x48e728(0x10b)]),m(0x2,(0x0,e[_0x48e728(0xef)])(o[_0x48e728(0x106)]))],E);let D=class extends e['Plugin']{constructor(_0x58dc71=x,_0x2252e5,_0x3ec5d1){const _0x81b069=_0x48e728;super(),this['_config']=_0x58dc71,this[_0x81b069(0x16e)]=_0x2252e5,this[_0x81b069(0x113)]=_0x3ec5d1;let {menu:_0x2a52f6,..._0x3adc1b}=(0x0,e['merge'])({},x,this[_0x81b069(0x13a)]);_0x2a52f6&&this['_configService'][_0x81b069(0xfb)](_0x81b069(0x126),_0x2a52f6,{'merge':!0x0}),this[_0x81b069(0x113)][_0x81b069(0xfb)](b,_0x3adc1b);}['onStarting'](){const _0x14cd5c=_0x48e728;(0x0,e[_0x14cd5c(0x158)])(this[_0x14cd5c(0x16e)],[[v],[E]]);}['onReady'](){const _0x41ed08=_0x48e728;this[_0x41ed08(0x16e)][_0x41ed08(0xeb)](E);}};f(D,'pluginName','UNIVER_DOCS_PRINT'),f(D,_0x48e728(0xdc),S),f(D,'version',C),f(D,_0x48e728(0x102),e['UniverInstanceType'][_0x48e728(0x15c)]),D=h([(0x0,e['DependentOn'])(s[_0x48e728(0xe2)],r[_0x48e728(0x104)]),m(0x1,(0x0,e[_0x48e728(0xef)])(e['Injector'])),m(0x2,e[_0x48e728(0x124)])],D),exports['DOCS_PRINT_PLUGIN_CONFIG_KEY']=b,exports[_0x48e728(0x150)]=y,Object[_0x48e728(0x153)](exports,_0x48e728(0x120),{'enumerable':!0x0,'get':function(){return D;}});
|
|
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();}
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2cc191=_0x2972;(function(_0x385dff,_0x461ab9){const _0x4b5225=_0x2972,_0x4e0bcd=_0x385dff();while(!![]){try{const _0x1668c6=parseInt(_0x4b5225(0x8a))/0x1+-parseInt(_0x4b5225(0x88))/0x2+-parseInt(_0x4b5225(0x85))/0x3+parseInt(_0x4b5225(0x82))/0x4+parseInt(_0x4b5225(0x86))/0x5*(-parseInt(_0x4b5225(0x83))/0x6)+-parseInt(_0x4b5225(0x89))/0x7*(-parseInt(_0x4b5225(0x87))/0x8)+parseInt(_0x4b5225(0x7f))/0x9*(parseInt(_0x4b5225(0x80))/0xa);if(_0x1668c6===_0x461ab9)break;else _0x4e0bcd['push'](_0x4e0bcd['shift']());}catch(_0x1f0b95){_0x4e0bcd['push'](_0x4e0bcd['shift']());}}}(_0x4b12,0xb6acf));function _0x4b12(){const _0x14b2ac=['طباعة','1804248dZdobP','1267734knKrXZ','exports','677754VOOHPv','35GSJwzP','8DAnjgV','645196ZsuhGv','2796283cSgYSz','842850jXxMwR','17001THHuaA','5730xGJvZN'];_0x4b12=function(){return _0x14b2ac;};return _0x4b12();}function _0x2972(_0x53dd57,_0xf8d749){_0x53dd57=_0x53dd57-0x7f;const _0x4b12e3=_0x4b12();let _0x29727a=_0x4b12e3[_0x53dd57];return _0x29727a;}const e={'docs-print':{'menu':_0x2cc191(0x81)}};module[_0x2cc191(0x84)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4cdda0=_0x2b3a;function _0x2b3a(_0x66f957,_0x31a6a4){_0x66f957=_0x66f957-0x11f;const _0x1fe79f=_0x1fe7();let _0x2b3ab6=_0x1fe79f[_0x66f957];return _0x2b3ab6;}(function(_0xa2e6af,_0x3537bb){const _0x14a185=_0x2b3a,_0x3ffd9d=_0xa2e6af();while(!![]){try{const _0x20e2e6=parseInt(_0x14a185(0x124))/0x1+-parseInt(_0x14a185(0x11f))/0x2+-parseInt(_0x14a185(0x121))/0x3+parseInt(_0x14a185(0x122))/0x4+-parseInt(_0x14a185(0x123))/0x5+-parseInt(_0x14a185(0x120))/0x6+parseInt(_0x14a185(0x126))/0x7;if(_0x20e2e6===_0x3537bb)break;else _0x3ffd9d['push'](_0x3ffd9d['shift']());}catch(_0x557947){_0x3ffd9d['push'](_0x3ffd9d['shift']());}}}(_0x1fe7,0x3a55d));function _0x1fe7(){const _0x14af5b=['169043axucgn','Imprimir','3366622TmNxHG','379776IvmEoH','2196816ijVyFl','295971oIFVlU','1494092XFrYEO','649450TzNSdr'];_0x1fe7=function(){return _0x14af5b;};return _0x1fe7();}const e={'docs-print':{'menu':_0x4cdda0(0x125)}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3102(_0xf0c72c,_0x22fca8){_0xf0c72c=_0xf0c72c-0x181;const _0x68791d=_0x6879();let _0x3102d8=_0x68791d[_0xf0c72c];return _0x3102d8;}function _0x6879(){const _0x17c513=['904sELIiU','1082530GUCoYV','9206qluMjc','47529mXCJfH','exports','31339vkiNUT','1210TNouZL','18505068LVoBWA','6yFGxmB','11XbTgaw','9qtvNtr','2421496iPZMYX','716672eJLXnT'];_0x6879=function(){return _0x17c513;};return _0x6879();}const _0x398b82=_0x3102;(function(_0x1fe8a3,_0x169e41){const _0xf109c0=_0x3102,_0x1166e5=_0x1fe8a3();while(!![]){try{const _0x9e4f89=-parseInt(_0xf109c0(0x181))/0x1*(parseInt(_0xf109c0(0x187))/0x2)+parseInt(_0xf109c0(0x182))/0x3*(-parseInt(_0xf109c0(0x184))/0x4)+-parseInt(_0xf109c0(0x186))/0x5*(parseInt(_0xf109c0(0x18d))/0x6)+-parseInt(_0xf109c0(0x18a))/0x7*(-parseInt(_0xf109c0(0x185))/0x8)+-parseInt(_0xf109c0(0x188))/0x9*(parseInt(_0xf109c0(0x18b))/0xa)+-parseInt(_0xf109c0(0x183))/0xb+parseInt(_0xf109c0(0x18c))/0xc;if(_0x9e4f89===_0x169e41)break;else _0x1166e5['push'](_0x1166e5['shift']());}catch(_0x1e6a8d){_0x1166e5['push'](_0x1166e5['shift']());}}}(_0x6879,0x5dcd2));const e={'docs-print':{'menu':'Drucken'}};module[_0x398b82(0x189)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x27d600=_0x51c3;(function(_0x35cd1f,_0x3cd38d){const _0x4500ce=_0x51c3,_0x41ec0a=_0x35cd1f();while(!![]){try{const _0x45640c=-parseInt(_0x4500ce(0xed))/0x1+parseInt(_0x4500ce(0xe8))/0x2+-parseInt(_0x4500ce(0xea))/0x3+parseInt(_0x4500ce(0xe7))/0x4+-parseInt(_0x4500ce(0xe6))/0x5+parseInt(_0x4500ce(0xe9))/0x6+parseInt(_0x4500ce(0xec))/0x7;if(_0x45640c===_0x3cd38d)break;else _0x41ec0a['push'](_0x41ec0a['shift']());}catch(_0x3d7ed7){_0x41ec0a['push'](_0x41ec0a['shift']());}}}(_0x2972,0x8f06a));function _0x2972(){const _0x5536a7=['3381248HVbhdi','274732REBJdc','1435782YTVflL','800328ZihXzs','exports','7461944RleAGi','1023434YVLbIk','Print','2059615iZIFSK'];_0x2972=function(){return _0x5536a7;};return _0x2972();}const e={'docs-print':{'menu':_0x27d600(0xee)}};function _0x51c3(_0x59cefb,_0x213e34){_0x59cefb=_0x59cefb-0xe6;const _0x297261=_0x2972();let _0x51c3ed=_0x297261[_0x59cefb];return _0x51c3ed;}module[_0x27d600(0xeb)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5b994e=_0x579a;(function(_0x5814ea,_0x544be7){const _0x2d8ad7=_0x579a,_0x1b8c64=_0x5814ea();while(!![]){try{const _0x47d28a=parseInt(_0x2d8ad7(0x184))/0x1*(parseInt(_0x2d8ad7(0x180))/0x2)+parseInt(_0x2d8ad7(0x18c))/0x3*(-parseInt(_0x2d8ad7(0x188))/0x4)+-parseInt(_0x2d8ad7(0x18a))/0x5+-parseInt(_0x2d8ad7(0x183))/0x6*(-parseInt(_0x2d8ad7(0x185))/0x7)+parseInt(_0x2d8ad7(0x182))/0x8*(parseInt(_0x2d8ad7(0x18b))/0x9)+-parseInt(_0x2d8ad7(0x187))/0xa*(-parseInt(_0x2d8ad7(0x189))/0xb)+parseInt(_0x2d8ad7(0x18d))/0xc;if(_0x47d28a===_0x544be7)break;else _0x1b8c64['push'](_0x1b8c64['shift']());}catch(_0x116451){_0x1b8c64['push'](_0x1b8c64['shift']());}}}(_0x5530,0x93576));const e={'docs-print':{'menu':_0x5b994e(0x186)}};function _0x579a(_0x1799b7,_0x28a454){_0x1799b7=_0x1799b7-0x180;const _0x553090=_0x5530();let _0x579a29=_0x553090[_0x1799b7];return _0x579a29;}function _0x5530(){const _0x34d3ff=['5838240jKTNlB','148042ljOYrX','exports','104pgUBNs','30kgeLXb','12HbUqRe','854pEARLI','Imprimir','10NTSfTc','251308dQcPao','2461921kdxWJB','2579250uivNpu','450729fVXCdz','54lTQMRW'];_0x5530=function(){return _0x34d3ff;};return _0x5530();}module[_0x5b994e(0x181)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x59b7(){const _0x34f315=['exports','118756PGXtxR','3222yZaWbf','چاپ','154vqrQJH','1215357YPqfVV','215sjoqyV','46700xxqrIn','4076720UzSZtP','823VizdHQ','927024gPIpZD','3502FmJayh','366EmOTZV','121562PKNpbI'];_0x59b7=function(){return _0x34f315;};return _0x59b7();}const _0x4fbd88=_0x5e86;function _0x5e86(_0x27a2de,_0x3f9aab){_0x27a2de=_0x27a2de-0x1ca;const _0x59b776=_0x59b7();let _0x5e867e=_0x59b776[_0x27a2de];return _0x5e867e;}(function(_0x1bb6d9,_0x2af0f0){const _0x4ca4a8=_0x5e86,_0x54fc16=_0x1bb6d9();while(!![]){try{const _0x405f11=parseInt(_0x4ca4a8(0x1d5))/0x1*(parseInt(_0x4ca4a8(0x1d7))/0x2)+parseInt(_0x4ca4a8(0x1d1))/0x3+-parseInt(_0x4ca4a8(0x1cd))/0x4*(-parseInt(_0x4ca4a8(0x1d2))/0x5)+parseInt(_0x4ca4a8(0x1ca))/0x6*(-parseInt(_0x4ca4a8(0x1cb))/0x7)+-parseInt(_0x4ca4a8(0x1d4))/0x8+parseInt(_0x4ca4a8(0x1ce))/0x9*(-parseInt(_0x4ca4a8(0x1d3))/0xa)+-parseInt(_0x4ca4a8(0x1d0))/0xb*(-parseInt(_0x4ca4a8(0x1d6))/0xc);if(_0x405f11===_0x2af0f0)break;else _0x54fc16['push'](_0x54fc16['shift']());}catch(_0x1f9629){_0x54fc16['push'](_0x54fc16['shift']());}}}(_0x59b7,0xeb3f3));const e={'docs-print':{'menu':_0x4fbd88(0x1cf)}};module[_0x4fbd88(0x1cc)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2c2ebd=_0x29db;(function(_0x5e14ca,_0x26750c){const _0x31f55a=_0x29db,_0x24af42=_0x5e14ca();while(!![]){try{const _0x85f683=parseInt(_0x31f55a(0x127))/0x1*(parseInt(_0x31f55a(0x129))/0x2)+parseInt(_0x31f55a(0x12b))/0x3*(parseInt(_0x31f55a(0x12f))/0x4)+-parseInt(_0x31f55a(0x12e))/0x5*(parseInt(_0x31f55a(0x131))/0x6)+parseInt(_0x31f55a(0x12a))/0x7+-parseInt(_0x31f55a(0x124))/0x8+parseInt(_0x31f55a(0x125))/0x9*(parseInt(_0x31f55a(0x12d))/0xa)+-parseInt(_0x31f55a(0x128))/0xb*(parseInt(_0x31f55a(0x126))/0xc);if(_0x85f683===_0x26750c)break;else _0x24af42['push'](_0x24af42['shift']());}catch(_0x1cd5d6){_0x24af42['push'](_0x24af42['shift']());}}}(_0x5399,0xf3a39));const e={'docs-print':{'menu':_0x2c2ebd(0x130)}};function _0x29db(_0x3e7b0d,_0x143dfe){_0x3e7b0d=_0x3e7b0d-0x124;const _0x53993e=_0x5399();let _0x29db9b=_0x53993e[_0x3e7b0d];return _0x29db9b;}module[_0x2c2ebd(0x12c)]=e;function _0x5399(){const _0xc538be=['3983128GPHkco','Imprimer','3402ZzQvjV','15357248FzyHwE','2880099WBukHr','12gfxlsW','20364dClEJK','9944968MkGpOE','16FHzdrs','11089652UYQQJf','3HbDtVE','exports','40WUVqzy','1775tyRRRC'];_0x5399=function(){return _0xc538be;};return _0x5399();}
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xc93da8,_0x77515b){const _0x5be013=_0x2c7f,_0x482a98=_0xc93da8();while(!![]){try{const _0x552b30=-parseInt(_0x5be013(0x168))/0x1*(parseInt(_0x5be013(0x16a))/0x2)+-parseInt(_0x5be013(0x164))/0x3+parseInt(_0x5be013(0x16c))/0x4*(-parseInt(_0x5be013(0x167))/0x5)+-parseInt(_0x5be013(0x165))/0x6+-parseInt(_0x5be013(0x166))/0x7+parseInt(_0x5be013(0x16b))/0x8*(parseInt(_0x5be013(0x169))/0x9)+parseInt(_0x5be013(0x163))/0xa;if(_0x552b30===_0x77515b)break;else _0x482a98['push'](_0x482a98['shift']());}catch(_0x5c668c){_0x482a98['push'](_0x482a98['shift']());}}}(_0xd70f,0x78ba4));const e={'docs-print':{'menu':'Cetak'}};function _0xd70f(){const _0x174807=['378483uZfAaO','5096184ELyMlJ','3353343vRqFsA','75dJmMmG','743957tAPImY','6120747rBGSXA','2JllyHB','8PAuXKL','220204fGUWTz','28387130qWnscy'];_0xd70f=function(){return _0x174807;};return _0xd70f();}function _0x2c7f(_0x69c594,_0x16b36e){_0x69c594=_0x69c594-0x163;const _0xd70f91=_0xd70f();let _0x2c7ff3=_0xd70f91[_0x69c594];return _0x2c7ff3;}module['exports']=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xc7c459=_0x3393;function _0x65c2(){const _0x171300=['50uyWBBz','253244qFLKjI','Stampa','exports','2547ODMAVZ','33056MDFGCr','7562268fNDgJx','1926yTBbqM','2028609JeROmH','886rBFVUO','21236680mEkgsR','6813485UNVVAO'];_0x65c2=function(){return _0x171300;};return _0x65c2();}(function(_0x292cf4,_0x4695c6){const _0x4d355f=_0x3393,_0x1b4c4a=_0x292cf4();while(!![]){try{const _0x971245=-parseInt(_0x4d355f(0xef))/0x1*(-parseInt(_0x4d355f(0xe8))/0x2)+parseInt(_0x4d355f(0xe7))/0x3+-parseInt(_0x4d355f(0xec))/0x4*(-parseInt(_0x4d355f(0xeb))/0x5)+-parseInt(_0x4d355f(0xf1))/0x6+parseInt(_0x4d355f(0xea))/0x7+parseInt(_0x4d355f(0xf0))/0x8*(parseInt(_0x4d355f(0xf2))/0x9)+-parseInt(_0x4d355f(0xe9))/0xa;if(_0x971245===_0x4695c6)break;else _0x1b4c4a['push'](_0x1b4c4a['shift']());}catch(_0x10c4ba){_0x1b4c4a['push'](_0x1b4c4a['shift']());}}}(_0x65c2,0xde757));const e={'docs-print':{'menu':_0xc7c459(0xed)}};function _0x3393(_0x1b7759,_0x571e69){_0x1b7759=_0x1b7759-0xe7;const _0x65c2c9=_0x65c2();let _0x3393f6=_0x65c2c9[_0x1b7759];return _0x3393f6;}module[_0xc7c459(0xee)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5cba61,_0x48825a){const _0x8c9879=_0x4745,_0xcbcf01=_0x5cba61();while(!![]){try{const _0xbf1aa1=-parseInt(_0x8c9879(0xa5))/0x1*(-parseInt(_0x8c9879(0xa4))/0x2)+parseInt(_0x8c9879(0xa6))/0x3*(parseInt(_0x8c9879(0xa2))/0x4)+-parseInt(_0x8c9879(0xab))/0x5*(parseInt(_0x8c9879(0xa0))/0x6)+parseInt(_0x8c9879(0xa1))/0x7*(parseInt(_0x8c9879(0xa7))/0x8)+parseInt(_0x8c9879(0xaa))/0x9*(-parseInt(_0x8c9879(0xa3))/0xa)+parseInt(_0x8c9879(0xa9))/0xb+-parseInt(_0x8c9879(0xa8))/0xc;if(_0xbf1aa1===_0x48825a)break;else _0xcbcf01['push'](_0xcbcf01['shift']());}catch(_0x4882ea){_0xcbcf01['push'](_0xcbcf01['shift']());}}}(_0x23ab,0xa3b8e));const e={'docs-print':{'menu':'印刷'}};function _0x4745(_0x419b9f,_0x5dc9df){_0x419b9f=_0x419b9f-0xa0;const _0x23aba8=_0x23ab();let _0x474563=_0x23aba8[_0x419b9f];return _0x474563;}function _0x23ab(){const _0x5fbffd=['775906mYWYyZ','9mlmbdy','10208392UnqAZw','27798036gWKaOh','4676474adUAeJ','99OsHYIz','15270pDRJXk','1038cqtplY','7kSzRNu','1635356olRyyh','171050Ktinsd','2sGTUcb'];_0x23ab=function(){return _0x5fbffd;};return _0x23ab();}module['exports']=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x549b(_0xff805c,_0x134bd4){_0xff805c=_0xff805c-0x18d;const _0x1e308b=_0x1e30();let _0x549b06=_0x1e308b[_0xff805c];return _0x549b06;}const _0x2a27d0=_0x549b;(function(_0x33b836,_0x3a4eac){const _0x4fde31=_0x549b,_0x18cf52=_0x33b836();while(!![]){try{const _0x2d5266=parseInt(_0x4fde31(0x196))/0x1*(-parseInt(_0x4fde31(0x18e))/0x2)+parseInt(_0x4fde31(0x194))/0x3*(-parseInt(_0x4fde31(0x199))/0x4)+parseInt(_0x4fde31(0x18f))/0x5+-parseInt(_0x4fde31(0x192))/0x6*(-parseInt(_0x4fde31(0x198))/0x7)+parseInt(_0x4fde31(0x191))/0x8+parseInt(_0x4fde31(0x195))/0x9*(-parseInt(_0x4fde31(0x18d))/0xa)+-parseInt(_0x4fde31(0x190))/0xb*(-parseInt(_0x4fde31(0x197))/0xc);if(_0x2d5266===_0x3a4eac)break;else _0x18cf52['push'](_0x18cf52['shift']());}catch(_0x47a0e0){_0x18cf52['push'](_0x18cf52['shift']());}}}(_0x1e30,0xbb2c6));const e={'docs-print':{'menu':'인쇄'}};module[_0x2a27d0(0x193)]=e;function _0x1e30(){const _0x30a3fc=['1097544grQhik','222vqkWPD','exports','9gbVInD','36XYVssI','43vmaDKq','2022888UFAVxE','29533ODqMCs','1583532VPcbaD','1928110VwbjwK','18694SgpXNZ','684980sflCEU','176CuvNVO'];_0x1e30=function(){return _0x30a3fc;};return _0x1e30();}
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1b27fc,_0x480b95){const _0x10c93b=_0x2f35,_0x4b2041=_0x1b27fc();while(!![]){try{const _0x2f013e=-parseInt(_0x10c93b(0x15a))/0x1+-parseInt(_0x10c93b(0x158))/0x2+parseInt(_0x10c93b(0x159))/0x3*(-parseInt(_0x10c93b(0x15b))/0x4)+parseInt(_0x10c93b(0x15f))/0x5*(-parseInt(_0x10c93b(0x15e))/0x6)+parseInt(_0x10c93b(0x155))/0x7*(parseInt(_0x10c93b(0x15c))/0x8)+parseInt(_0x10c93b(0x15d))/0x9+-parseInt(_0x10c93b(0x157))/0xa*(-parseInt(_0x10c93b(0x156))/0xb);if(_0x2f013e===_0x480b95)break;else _0x4b2041['push'](_0x4b2041['shift']());}catch(_0xcb4a41){_0x4b2041['push'](_0x4b2041['shift']());}}}(_0x12b7,0x4430d));function _0x2f35(_0xe4a2ad,_0x52f724){_0xe4a2ad=_0xe4a2ad-0x155;const _0x12b74e=_0x12b7();let _0x2f359c=_0x12b74e[_0xe4a2ad];return _0x2f359c;}function _0x12b7(){const _0x58f345=['342jMCNBg','33765CIUTLc','2753121pHpcuz','11jZzzRJ','8803990uAZddG','518986YwPsBE','9GhhZmZ','225136wDAjYj','660988yhLSXo','8hUvJKg','3338082cnqkkD'];_0x12b7=function(){return _0x58f345;};return _0x12b7();}const e={'docs-print':{'menu':'Drukuj'}};module['exports']=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xfb0e0f=_0x243e;(function(_0xbb169,_0x49f947){const _0x585c8d=_0x243e,_0x56b3b4=_0xbb169();while(!![]){try{const _0x35f404=parseInt(_0x585c8d(0x143))/0x1+parseInt(_0x585c8d(0x145))/0x2*(-parseInt(_0x585c8d(0x147))/0x3)+-parseInt(_0x585c8d(0x146))/0x4+parseInt(_0x585c8d(0x13f))/0x5*(parseInt(_0x585c8d(0x142))/0x6)+-parseInt(_0x585c8d(0x148))/0x7+-parseInt(_0x585c8d(0x13e))/0x8*(-parseInt(_0x585c8d(0x149))/0x9)+parseInt(_0x585c8d(0x141))/0xa*(parseInt(_0x585c8d(0x144))/0xb);if(_0x35f404===_0x49f947)break;else _0x56b3b4['push'](_0x56b3b4['shift']());}catch(_0xf7f742){_0x56b3b4['push'](_0x56b3b4['shift']());}}}(_0x22a8,0x42d3b));function _0x22a8(){const _0x52b4c5=['1499001GpBYcl','153dStiHG','exports','145888oyZXjk','72595VCMVmQ','Imprimir','50Cgspnk','18EisYnZ','227930OcSEpN','1174261ayjYZJ','3902awZdwg','1081420FYGGcc','549yexdYj'];_0x22a8=function(){return _0x52b4c5;};return _0x22a8();}const e={'docs-print':{'menu':_0xfb0e0f(0x140)}};function _0x243e(_0x51acc2,_0x2e477a){_0x51acc2=_0x51acc2-0x13e;const _0x22a845=_0x22a8();let _0x243edd=_0x22a845[_0x51acc2];return _0x243edd;}module[_0xfb0e0f(0x14a)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xbb4b5a=_0x36aa;(function(_0x472e01,_0x23574f){const _0x2d2371=_0x36aa,_0xe8c403=_0x472e01();while(!![]){try{const _0x42450d=parseInt(_0x2d2371(0xca))/0x1+parseInt(_0x2d2371(0xc6))/0x2*(-parseInt(_0x2d2371(0xcf))/0x3)+-parseInt(_0x2d2371(0xd1))/0x4+parseInt(_0x2d2371(0xc9))/0x5*(-parseInt(_0x2d2371(0xcc))/0x6)+-parseInt(_0x2d2371(0xce))/0x7*(parseInt(_0x2d2371(0xcd))/0x8)+parseInt(_0x2d2371(0xcb))/0x9*(-parseInt(_0x2d2371(0xc7))/0xa)+-parseInt(_0x2d2371(0xd2))/0xb*(-parseInt(_0x2d2371(0xc8))/0xc);if(_0x42450d===_0x23574f)break;else _0xe8c403['push'](_0xe8c403['shift']());}catch(_0x461d8e){_0xe8c403['push'](_0xe8c403['shift']());}}}(_0xf6de,0x4e2e4));function _0x36aa(_0x542bee,_0x5088f5){_0x542bee=_0x542bee-0xc6;const _0xf6de82=_0xf6de();let _0x36aaf0=_0xf6de82[_0x542bee];return _0x36aaf0;}const e={'docs-print':{'menu':'Печать'}};function _0xf6de(){const _0x15b6f9=['1573490xVTMUf','9032328jNsoBc','55XnfJYx','171735ZwCEDf','9phljFm','82986tpjbxo','1184zCzyQR','28497tUrPDl','1077QEQKHO','exports','218656cugLZc','22slOCEK','2174uFAcwc'];_0xf6de=function(){return _0x15b6f9;};return _0xf6de();}module[_0xbb4b5a(0xd0)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x536a0e=_0x336e;(function(_0xe300cd,_0x7a0fb0){const _0x211c7c=_0x336e,_0x34f4e5=_0xe300cd();while(!![]){try{const _0x1999db=parseInt(_0x211c7c(0x1cf))/0x1*(parseInt(_0x211c7c(0x1c5))/0x2)+parseInt(_0x211c7c(0x1cd))/0x3*(-parseInt(_0x211c7c(0x1c7))/0x4)+parseInt(_0x211c7c(0x1c6))/0x5+parseInt(_0x211c7c(0x1d0))/0x6*(-parseInt(_0x211c7c(0x1c8))/0x7)+-parseInt(_0x211c7c(0x1ce))/0x8+parseInt(_0x211c7c(0x1cb))/0x9+-parseInt(_0x211c7c(0x1ca))/0xa*(-parseInt(_0x211c7c(0x1cc))/0xb);if(_0x1999db===_0x7a0fb0)break;else _0x34f4e5['push'](_0x34f4e5['shift']());}catch(_0x59ccd0){_0x34f4e5['push'](_0x34f4e5['shift']());}}}(_0x1753,0xb0876));function _0x1753(){const _0x544de5=['598564jzydXX','63077YujUYo','exports','20UgIeaA','3865257aeFoie','472879kHMcGi','15GqRgkA','318328GAfPaj','21NskUuS','282EibPNh','37218etUrTd','5141675fwHnFv'];_0x1753=function(){return _0x544de5;};return _0x1753();}const e={'docs-print':{'menu':'Tlač'}};function _0x336e(_0x46e550,_0x4b5cf4){_0x46e550=_0x46e550-0x1c5;const _0x1753d0=_0x1753();let _0x336e4a=_0x1753d0[_0x46e550];return _0x336e4a;}module[_0x536a0e(0x1c9)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1e6d(_0x48e66a,_0x1c1982){_0x48e66a=_0x48e66a-0x96;const _0x598ae4=_0x598a();let _0x1e6d62=_0x598ae4[_0x48e66a];return _0x1e6d62;}function _0x598a(){const _0x59de7d=['813623GXyNht','10kQUJav','6197640kcchLQ','194853UfDSER','1325bOISQo','2KschzM','2074702UBLkUd','1590KLThwf','771892TtHJGb','2788848RBjdMV','4Acjzmu'];_0x598a=function(){return _0x59de7d;};return _0x598a();}(function(_0x58e6b5,_0x33857f){const _0x436788=_0x1e6d,_0x2f27b3=_0x58e6b5();while(!![]){try{const _0x5c699c=-parseInt(_0x436788(0x9b))/0x1*(-parseInt(_0x436788(0xa0))/0x2)+-parseInt(_0x436788(0x9e))/0x3*(parseInt(_0x436788(0x9a))/0x4)+parseInt(_0x436788(0x9f))/0x5*(-parseInt(_0x436788(0x97))/0x6)+parseInt(_0x436788(0x96))/0x7+-parseInt(_0x436788(0x9d))/0x8+-parseInt(_0x436788(0x99))/0x9*(-parseInt(_0x436788(0x9c))/0xa)+-parseInt(_0x436788(0x98))/0xb;if(_0x5c699c===_0x33857f)break;else _0x2f27b3['push'](_0x2f27b3['shift']());}catch(_0x254e58){_0x2f27b3['push'](_0x2f27b3['shift']());}}}(_0x598a,0x6b614));const e={'docs-print':{'menu':'In'}};module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2eab(){const _0x1e0355=['9060UoccwF','14524lqCWuD','2172545vfKHRx','2036741ndjRet','23937KKSozf','9CVqaoJ','4547930pVGuqq','8yqyOZf','162ONvRkw','8338HCRmyF','exports','2eggPDC','1191480Wssxaw'];_0x2eab=function(){return _0x1e0355;};return _0x2eab();}const _0x5beb8c=_0x33ab;function _0x33ab(_0x3e5425,_0x5586f1){_0x3e5425=_0x3e5425-0x195;const _0x2eabf2=_0x2eab();let _0x33ab1f=_0x2eabf2[_0x3e5425];return _0x33ab1f;}(function(_0x5cfbd6,_0x2b8a84){const _0x3f2e0e=_0x33ab,_0x347230=_0x5cfbd6();while(!![]){try{const _0x41f94a=parseInt(_0x3f2e0e(0x19a))/0x1*(parseInt(_0x3f2e0e(0x1a1))/0x2)+parseInt(_0x3f2e0e(0x19e))/0x3*(-parseInt(_0x3f2e0e(0x197))/0x4)+parseInt(_0x3f2e0e(0x198))/0x5+parseInt(_0x3f2e0e(0x195))/0x6+parseInt(_0x3f2e0e(0x199))/0x7*(-parseInt(_0x3f2e0e(0x19d))/0x8)+parseInt(_0x3f2e0e(0x19b))/0x9*(-parseInt(_0x3f2e0e(0x19c))/0xa)+parseInt(_0x3f2e0e(0x19f))/0xb*(parseInt(_0x3f2e0e(0x196))/0xc);if(_0x41f94a===_0x2b8a84)break;else _0x347230['push'](_0x347230['shift']());}catch(_0xe3e4e){_0x347230['push'](_0x347230['shift']());}}}(_0x2eab,0x462fe));const e={'docs-print':{'menu':'打印'}};module[_0x5beb8c(0x1a0)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x32ab3d=_0x5bac;(function(_0xac762,_0x1e54d8){const _0xb79356=_0x5bac,_0xff955d=_0xac762();while(!![]){try{const _0x4f3ed2=-parseInt(_0xb79356(0x6c))/0x1+-parseInt(_0xb79356(0x73))/0x2*(-parseInt(_0xb79356(0x6d))/0x3)+parseInt(_0xb79356(0x6a))/0x4+parseInt(_0xb79356(0x71))/0x5*(parseInt(_0xb79356(0x72))/0x6)+-parseInt(_0xb79356(0x70))/0x7+parseInt(_0xb79356(0x6b))/0x8+parseInt(_0xb79356(0x6f))/0x9;if(_0x4f3ed2===_0x1e54d8)break;else _0xff955d['push'](_0xff955d['shift']());}catch(_0x42d8db){_0xff955d['push'](_0xff955d['shift']());}}}(_0x4f88,0x80cc5));const e={'docs-print':{'menu':'列印'}};function _0x4f88(){const _0x10e38f=['3AjVPjO','exports','1464786EJwltK','6006966nfVLXw','72655LjvunX','126jRPVkm','1265642QCsGSa','1045008kPGIqe','498616yKdAbQ','38610VaNnkx'];_0x4f88=function(){return _0x10e38f;};return _0x4f88();}function _0x5bac(_0x47ad4f,_0x30c426){_0x47ad4f=_0x47ad4f-0x6a;const _0x4f88c9=_0x4f88();let _0x5bac78=_0x4f88c9[_0x47ad4f];return _0x5bac78;}module[_0x32ab3d(0x6e)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x10d2fc,_0x3ce793){const _0x5a2b0c=_0x55ec,_0x1b2da0=_0x10d2fc();while(!![]){try{const _0x24bd8e=parseInt(_0x5a2b0c(0x188))/0x1*(parseInt(_0x5a2b0c(0x18d))/0x2)+parseInt(_0x5a2b0c(0x18f))/0x3+parseInt(_0x5a2b0c(0x18c))/0x4+-parseInt(_0x5a2b0c(0x18e))/0x5*(parseInt(_0x5a2b0c(0x186))/0x6)+-parseInt(_0x5a2b0c(0x18a))/0x7*(-parseInt(_0x5a2b0c(0x189))/0x8)+-parseInt(_0x5a2b0c(0x187))/0x9+-parseInt(_0x5a2b0c(0x18b))/0xa*(parseInt(_0x5a2b0c(0x190))/0xb);if(_0x24bd8e===_0x3ce793)break;else _0x1b2da0['push'](_0x1b2da0['shift']());}catch(_0x17bfdd){_0x1b2da0['push'](_0x1b2da0['shift']());}}}(_0xddd0,0xb16f2));function _0x55ec(_0x1ce52e,_0x51dbc1){_0x1ce52e=_0x1ce52e-0x186;const _0xddd034=_0xddd0();let _0x55ecfd=_0xddd034[_0x1ce52e];return _0x55ecfd;}function _0xddd0(){const _0xcfe036=['72ZbENaL','984396LEydMg','14810RUfzmD','3405116DPilzJ','1659820GmSOKX','835ZHsYpc','2107968PyoutZ','5797sHHsmD','30090aFvogv','11742615DSPWfH','1vVGtVF'];_0xddd0=function(){return _0xcfe036;};return _0xddd0();}const e={'docs-print':{'menu':'列印'}};module['exports']=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1b0ac2=_0x1779;(function(_0x12fd61,_0x36d959){const _0x588e7b=_0x1779,_0x46d43d=_0x12fd61();while(!![]){try{const _0x9652d7=parseInt(_0x588e7b(0xe0))/0x1*(parseInt(_0x588e7b(0x131))/0x2)+parseInt(_0x588e7b(0x103))/0x3+parseInt(_0x588e7b(0x161))/0x4+-parseInt(_0x588e7b(0x111))/0x5+parseInt(_0x588e7b(0x13c))/0x6*(-parseInt(_0x588e7b(0x113))/0x7)+-parseInt(_0x588e7b(0x106))/0x8+parseInt(_0x588e7b(0xe7))/0x9;if(_0x9652d7===_0x36d959)break;else _0x46d43d['push'](_0x46d43d['shift']());}catch(_0x28a5a3){_0x46d43d['push'](_0x46d43d['shift']());}}}(_0xcbe7,0x47a11));import{CommandType as _0x5a2bb9,DependentOn as _0x1878f4,Disposable as _0x2a8ed5,DisposableCollection as _0x4ea5cd,DocumentFlavor as _0x41af37,ICommandService as _0x3adff6,IConfigService as _0x57aade,IUniverInstanceService as _0x5f0603,Inject as _0x4ac6e8,Injector as _0x383d30,Plugin as _0x20c864,UniverInstanceType as _0x2f5e76,generateRandomId as _0x281fb5,merge as _0x456651,registerDependencies as _0x20b2ec}from'@univerjs/core';import{DocPrintInterceptorService as _0x383a74,SwitchDocModeCommand as _0x1d0cd8,VIEWPORT_KEY as _0x4bcc55}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x5224c7,Documents as _0x5ae250,Engine as _0x88e73b,IRenderManagerService as _0x4e423a,Scene as _0x5567f9,Viewport as _0x3e51b9}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x310d17,UniverLicensePlugin as _0x3bf46a,getDocFeatureLimit as _0x19c9f5,getLicenseInfo as _0x32d39e,isFeatureAuthorizedWithinTime as _0x2274b0,isLocalCheck as _0x11528e}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x4f72b5,PRINT_CONTAINER_CLASS as _0x2adc8e,PrintDirection as _0x33af48,createPrintStyle as _0x3b5d66}from'@univerjs-pro/print';function _0x1779(_0x15bad5,_0x3a620d){_0x15bad5=_0x15bad5-0xdf;const _0xcbe712=_0xcbe7();let _0x17793a=_0xcbe712[_0x15bad5];return _0x17793a;}import{DocSkeletonManagerService as _0x14eeea}from'@univerjs/docs';import{ComponentManager as _0x5c2494,IMenuManagerService as _0x1a6f2d,IZenZoneService as _0x3727ff,MenuItemType as _0x1375ae,RibbonStartGroup as _0x5a41bb,getMenuHiddenObservable as _0x1981c6}from'@univerjs/ui';import{UniverNetworkPlugin as _0x11c794}from'@univerjs/network';import{PrintIcon as _0x5ec4b1}from'@univerjs/icons';function z(_0x4de08d){'@babel/helpers - typeof';const _0x172f1a=_0x1779;return z=typeof Symbol==_0x172f1a(0xe6)&&typeof Symbol['iterator']==_0x172f1a(0x148)?function(_0x2f5893){return typeof _0x2f5893;}:function(_0x24410b){const _0x34645a=_0x172f1a;return _0x24410b&&typeof Symbol==_0x34645a(0xe6)&&_0x24410b[_0x34645a(0x14b)]===Symbol&&_0x24410b!==Symbol[_0x34645a(0xe8)]?_0x34645a(0x148):typeof _0x24410b;},z(_0x4de08d);}function B(_0x1a74ca,_0x210b9e){const _0x5a95bd=_0x1779;if(z(_0x1a74ca)!=_0x5a95bd(0x13e)||!_0x1a74ca)return _0x1a74ca;var _0x1ca0bb=_0x1a74ca[Symbol[_0x5a95bd(0x145)]];if(_0x1ca0bb!==void 0x0){var _0x4e3411=_0x1ca0bb[_0x5a95bd(0x140)](_0x1a74ca,_0x210b9e||_0x5a95bd(0x10f));if(z(_0x4e3411)!=_0x5a95bd(0x13e))return _0x4e3411;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x210b9e===_0x5a95bd(0x108)?String:Number)(_0x1a74ca);}function V(_0xf06c){const _0x1304c4=_0x1779;var _0x5ae3c4=B(_0xf06c,'string');return z(_0x5ae3c4)==_0x1304c4(0x148)?_0x5ae3c4:_0x5ae3c4+'';}function H(_0x5eb226,_0x2c8bff,_0x478a72){return(_0x2c8bff=V(_0x2c8bff))in _0x5eb226?Object['defineProperty'](_0x5eb226,_0x2c8bff,{'value':_0x478a72,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5eb226[_0x2c8bff]=_0x478a72,_0x5eb226;}var U=class extends _0x2a8ed5{get[_0x1b0ac2(0x101)](){const _0x3df165=_0x1b0ac2;return this[_0x3df165(0x109)];}get['root'](){const _0x20402b=_0x1b0ac2;return this[_0x20402b(0xe4)];}get[_0x1b0ac2(0x157)](){const _0x54005c=_0x1b0ac2;let _0x5f3cf6=this[_0x54005c(0xdf)][_0x54005c(0x14a)](_0x4e423a)[_0x54005c(0x124)](this[_0x54005c(0x122)]);if(!_0x5f3cf6)throw Error(_0x54005c(0x112));return _0x5f3cf6;}get[_0x1b0ac2(0x14c)](){const _0x4af4da=_0x1b0ac2;return this[_0x4af4da(0x157)]['with'](_0x14eeea)['getSkeleton']();}get[_0x1b0ac2(0x139)](){const _0x4b629f=_0x1b0ac2;let _0x29e949=this[_0x4b629f(0x14c)][_0x4b629f(0xe9)]();if(!_0x29e949)throw Error(_0x4b629f(0x165));return _0x29e949;}get[_0x1b0ac2(0x129)](){const _0x5c8df2=_0x1b0ac2;let _0x4f692a=this[_0x5c8df2(0x139)][_0x5c8df2(0x14e)][0x0];return{'width':_0x4f692a[_0x5c8df2(0xfb)],'height':_0x4f692a['pageHeight']};}constructor(_0x53f63e,_0x4e7538,_0x25ada8,_0x2e0dad){const _0x248ae0=_0x1b0ac2;super(),this['_injector']=_0x53f63e,this[_0x248ae0(0xf3)]=_0x4e7538,this[_0x248ae0(0x122)]=_0x25ada8,this[_0x248ae0(0x11d)]=_0x2e0dad,H(this,_0x248ae0(0x109),document['createElement'](_0x248ae0(0x12d))),H(this,_0x248ae0(0xe4),document[_0x248ae0(0x162)](_0x248ae0(0x12d))),H(this,_0x248ae0(0xf0),void 0x0),H(this,_0x248ae0(0xf9),void 0x0),H(this,_0x248ae0(0xe3),void 0x0),H(this,_0x248ae0(0x15a),void 0x0),H(this,'_viewMain',void 0x0),H(this,_0x248ae0(0x13a),new _0x4ea5cd()),this[_0x248ae0(0xe3)]=_0x281fb5(0x4),this[_0x248ae0(0x100)](),this[_0x248ae0(0xed)]({'dispose':()=>{const _0x4f0366=_0x248ae0;this[_0x4f0366(0xf0)]['dispose'](),this[_0x4f0366(0xf9)][_0x4f0366(0x14d)](),this['_effects'][_0x4f0366(0x14d)]();}});}[_0x1b0ac2(0x117)](){const _0x41e9a1=_0x1b0ac2;let {docsTop:_0xd279d2,docsLeft:_0x108154}=this['_documents'][_0x41e9a1(0x11b)](),_0x2e28f0=this['_paperSize'][_0x41e9a1(0x12b)],_0x3c0c73=this[_0x41e9a1(0x129)][_0x41e9a1(0x14f)];return{'top':_0xd279d2+(_0xd279d2+_0x2e28f0)*this[_0x41e9a1(0xf3)],'bottom':_0xd279d2+(_0xd279d2+_0x2e28f0)*(this[_0x41e9a1(0xf3)]+0x1),'left':_0x108154,'right':_0x108154+_0x3c0c73};}[_0x1b0ac2(0x100)](){const _0x526916=_0x1b0ac2;this[_0x526916(0xf0)]=new _0x88e73b('',{'elementWidth':this['_paperSize'][_0x526916(0x14f)],'elementHeight':this[_0x526916(0x129)]['height'],'dpr':0x1,'renderMode':_0x5224c7[_0x526916(0xf2)]}),this['_scene']=new _0x5567f9(this[_0x526916(0xe3)],this[_0x526916(0xf0)]),this[_0x526916(0xf9)][_0x526916(0x136)](0x1,0x1),this[_0x526916(0xf0)][_0x526916(0xe1)](this[_0x526916(0x109)],!0x1),this[_0x526916(0xf0)]['getCanvas']()[_0x526916(0x118)]()[_0x526916(0x13d)](this['_key']+'_'+_0x281fb5(0x4)),this[_0x526916(0x149)](),this[_0x526916(0x10d)]();}[_0x1b0ac2(0x149)](){const _0x5c5b13=_0x1b0ac2;let {pageMarginLeft:_0x5ad756,pageMarginTop:_0x5e0a08,docsLeft:_0x274f63,docsTop:_0x4fb2e2}=this[_0x5c5b13(0x11d)],_0x11eb60={'pageMarginLeft':_0x5ad756,'pageMarginTop':_0x5e0a08},_0xed22b3=new _0x5ae250('__DocPrintRender__',this[_0x5c5b13(0x14c)],_0x11eb60);_0xed22b3[_0x5c5b13(0x11a)](_0x274f63,_0x4fb2e2),this[_0x5c5b13(0xf9)][_0x5c5b13(0x110)](_0xed22b3),this['_documents']=_0xed22b3;let _0x29b526=this[_0x5c5b13(0xdf)][_0x5c5b13(0x14a)](_0x383a74);_0x29b526[_0x5c5b13(0x105)][_0x5c5b13(0x116)](_0x29b526[_0x5c5b13(0x105)]['getInterceptPoints']()[_0x5c5b13(0x15d)])(void 0x0,{'unitId':this[_0x5c5b13(0x122)],'scene':this[_0x5c5b13(0xf9)],'engine':this[_0x5c5b13(0xf0)],'root':this[_0x5c5b13(0xe4)],'documents':this[_0x5c5b13(0x15a)],'skeleton':this[_0x5c5b13(0x14c)]});}['_addViewport'](){const _0x745870=_0x1b0ac2;this[_0x745870(0x137)]=new _0x3e51b9(_0x4bcc55['VIEW_MAIN'],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1b0ac2(0x11c)](){const _0x26f2f7=_0x1b0ac2;let _0x43cab4=this[_0x26f2f7(0x117)]();this[_0x26f2f7(0x137)][_0x26f2f7(0x104)]({'viewportScrollX':_0x43cab4[_0x26f2f7(0x12f)],'viewportScrollY':_0x43cab4['top']}),this[_0x26f2f7(0xe4)][_0x26f2f7(0x133)][_0x26f2f7(0x151)]='absolute',this[_0x26f2f7(0xe4)][_0x26f2f7(0x133)][_0x26f2f7(0x11f)]='0px',this[_0x26f2f7(0xe4)]['style']['left']=_0x26f2f7(0x132),this['_root'][_0x26f2f7(0x133)][_0x26f2f7(0x14f)]=_0x26f2f7(0x154),this[_0x26f2f7(0xe4)]['style'][_0x26f2f7(0x12b)]=_0x26f2f7(0x154),this[_0x26f2f7(0x13a)]=new _0x4ea5cd();let _0x1147df=this[_0x26f2f7(0xdf)]['get'](_0x383a74);_0x1147df[_0x26f2f7(0x105)][_0x26f2f7(0x116)](_0x1147df['interceptor']['getInterceptPoints']()[_0x26f2f7(0x146)])(this[_0x26f2f7(0x13a)],{'unitId':this['_unitId'],'scene':this[_0x26f2f7(0xf9)],'engine':this[_0x26f2f7(0xf0)],'root':this[_0x26f2f7(0xe4)],'skeleton':this[_0x26f2f7(0x14c)],'offset':{'x':_0x43cab4[_0x26f2f7(0x12f)],'y':_0x43cab4['top']},'bound':{'top':_0x43cab4[_0x26f2f7(0x11f)],'left':_0x43cab4[_0x26f2f7(0x12f)],'right':_0x43cab4[_0x26f2f7(0x10a)],'bottom':_0x43cab4[_0x26f2f7(0x119)]}});}[_0x1b0ac2(0x152)](){const _0x494dac=_0x1b0ac2;let _0x31b314=this[_0x494dac(0xf0)]['getCanvas']()['getContext']();this[_0x494dac(0x15a)][_0x494dac(0x10e)](),this[_0x494dac(0xf9)][_0x494dac(0xfa)](),_0x31b314['save'](),this['_scene'][_0x494dac(0x152)](),_0x31b314['restore']();}};function W(_0x55a2e5,_0x9479d2){return function(_0x5835e4,_0x511a56){_0x9479d2(_0x5835e4,_0x511a56,_0x55a2e5);};}function G(_0x16a413,_0x3d6d39,_0x5118db,_0x4988a0){const _0x30a204=_0x1b0ac2;var _0x2d46b7=arguments['length'],_0x5f12ea=_0x2d46b7<0x3?_0x3d6d39:_0x4988a0===null?_0x4988a0=Object['getOwnPropertyDescriptor'](_0x3d6d39,_0x5118db):_0x4988a0,_0x313b86;if(typeof Reflect==_0x30a204(0x13e)&&typeof Reflect['decorate']==_0x30a204(0xe6))_0x5f12ea=Reflect['decorate'](_0x16a413,_0x3d6d39,_0x5118db,_0x4988a0);else{for(var _0x4da45a=_0x16a413['length']-0x1;_0x4da45a>=0x0;_0x4da45a--)(_0x313b86=_0x16a413[_0x4da45a])&&(_0x5f12ea=(_0x2d46b7<0x3?_0x313b86(_0x5f12ea):_0x2d46b7>0x3?_0x313b86(_0x3d6d39,_0x5118db,_0x5f12ea):_0x313b86(_0x3d6d39,_0x5118db))||_0x5f12ea);}return _0x2d46b7>0x3&&_0x5f12ea&&Object[_0x30a204(0x164)](_0x3d6d39,_0x5118db,_0x5f12ea),_0x5f12ea;}const K=Number[_0x1b0ac2(0xfd)](0x6a3f47b8),q=(_0xebf74d,_0x3a8cc1,_0x351250)=>{const _0x36259a=_0x1b0ac2;let _0x1685bc={'page':_0xebf74d,'isPro':!0x1,'timeValid':!0x1};if(!_0x3a8cc1||!_0x351250)return _0x1685bc;let _0x1a796d=_0x32d39e(_0x3a8cc1,_0x351250);if(_0x1a796d[_0x36259a(0x10c)]){let _0x37412d=_0x1a796d[_0x36259a(0x127)],_0x202539=_0x2274b0(_0x37412d,'df',K);_0x1685bc['isPro']=_0x202539,_0x1685bc[_0x36259a(0x150)]=_0x202539,_0x1685bc[_0x36259a(0x12c)]=_0x19c9f5(_0x37412d,_0x202539,_0x36259a(0xe2),_0xebf74d,_0xebf74d,0x0);}return _0x1685bc;};let J=class extends _0x2a8ed5{constructor(_0x3924c8,_0x510cd4,_0x1e0ece,_0x4396d9,_0x586984){const _0x5b5461=_0x1b0ac2;super(),this['_univerInstanceService']=_0x3924c8,this[_0x5b5461(0xef)]=_0x510cd4,this[_0x5b5461(0xdf)]=_0x1e0ece,this[_0x5b5461(0x134)]=_0x4396d9,this['_globalZoneService']=_0x586984;}[_0x1b0ac2(0x13b)](_0x4e1ede){const _0x52e003=_0x1b0ac2;var _0x21b4af,_0x10dd3f;let {ls:_0x54421c,pbk:_0x47668f}=(_0x21b4af=this[_0x52e003(0x134)][_0x52e003(0xe5)](_0x310d17))==null?{}:_0x21b4af,_0x2f70da=_0x11528e()?0x1/0x0:q(0x1,_0x54421c,_0x47668f)[_0x52e003(0x12c)];if(!this[_0x52e003(0x153)][_0x52e003(0x125)](_0x4e1ede,_0x2f5e76[_0x52e003(0x123)]))throw Error(_0x52e003(0x126));let _0x253b48=this[_0x52e003(0xef)]['getRenderById'](_0x4e1ede);if(!_0x253b48)throw Error('Render\x20is\x20not\x20found');let _0x2ccf07=(_0x10dd3f=_0x253b48[_0x52e003(0xf7)](_0x14eeea)[_0x52e003(0x141)]()[_0x52e003(0xe9)]())==null?void 0x0:_0x10dd3f['pages'];if(!_0x2ccf07)throw Error(_0x52e003(0x115));let _0x8296d3={'width':_0x2ccf07[0x0][_0x52e003(0xfb)],'height':_0x2ccf07[0x0]['pageHeight']},_0x5efeaa=_0x2ccf07[_0x52e003(0x12e)],_0xc6707e=Math[_0x52e003(0x11e)](_0x2f70da,_0x5efeaa),_0x130685=_0x253b48[_0x52e003(0xeb)][_0x52e003(0x11b)](),_0x7b440b=document[_0x52e003(0x162)](_0x52e003(0x12d));_0x7b440b[_0x52e003(0x15c)]=_0x2adc8e;let _0x1f321f=Array(_0xc6707e)['fill'](null)['map']((_0x5a6a7f,_0x8b7118)=>{const _0x438f21=_0x52e003;let _0x2315a4=new U(this['_injector'],_0x8b7118,_0x4e1ede,_0x130685);return _0x2315a4[_0x438f21(0x101)][_0x438f21(0x15c)]=_0x4f72b5,_0x2315a4;});_0x1f321f[_0x52e003(0x15f)](_0x4b3db1=>{const _0xa8c7d0=_0x52e003;_0x7b440b['appendChild'](_0x4b3db1['container']),_0x4b3db1[_0xa8c7d0(0x101)][_0xa8c7d0(0x144)](_0x4b3db1[_0xa8c7d0(0x102)]),_0x4b3db1['prepare']();});let _0x1b982d=_0x3b5d66(_0x8296d3['width'],_0x8296d3['height'],_0x33af48[_0x52e003(0x147)]);return document['body']['appendChild'](_0x1b982d),document[_0x52e003(0xf5)]['appendChild'](_0x7b440b),new Promise(_0x14d697=>{setTimeout(()=>{const _0x78e371=_0x1779;window[_0x78e371(0xea)]=()=>{const _0x5cb346=_0x78e371;_0x1f321f[_0x5cb346(0x15f)](_0x2433db=>{_0x2433db['render']();});},window[_0x78e371(0x130)]=()=>{const _0x3f194e=_0x78e371;_0x1f321f['forEach'](_0xda4645=>{_0xda4645['dispose']();}),document[_0x3f194e(0xf5)]['removeChild'](_0x7b440b),document[_0x3f194e(0xf5)][_0x3f194e(0x121)](_0x1b982d),this[_0x3f194e(0x155)]['close'](),_0x14d697(!0x0);},window['print']();},0x64);});}};J=G([W(0x0,_0x5f0603),W(0x1,_0x4e423a),W(0x2,_0x4ac6e8(_0x383d30)),W(0x3,_0x57aade),W(0x4,_0x3727ff)],J);const Y={'id':'docs.operation.print','type':_0x5a2bb9[_0x1b0ac2(0x107)],'handler':async _0x2c5982=>{const _0x48411a=_0x1b0ac2;let _0x430e06=_0x2c5982[_0x48411a(0x14a)](_0x5f0603),_0x28c7e8=_0x2c5982['get'](J),_0x489569=_0x2c5982[_0x48411a(0x14a)](_0x4e423a),_0x2c71e0=_0x2c5982[_0x48411a(0x14a)](_0x3adff6),_0x230607=_0x430e06['getCurrentUnitOfType'](_0x2f5e76[_0x48411a(0x123)]);if(!_0x230607)return!0x1;if(!_0x489569[_0x48411a(0x124)](_0x230607['getUnitId']()))throw Error(_0x48411a(0x112));let _0x27c6b5=_0x230607['getDocumentStyle']()[_0x48411a(0x163)];return _0x27c6b5!==_0x41af37[_0x48411a(0x135)]&&_0x2c71e0[_0x48411a(0x159)](_0x1d0cd8['id']),await _0x28c7e8[_0x48411a(0x13b)](_0x230607[_0x48411a(0xf6)]()),_0x27c6b5!==_0x41af37[_0x48411a(0x135)]&&_0x2c71e0['syncExecuteCommand'](_0x1d0cd8['id']),!0x0;}},X=_0x1b0ac2(0xff),Z={};var ie=_0x1b0ac2(0xf1),ae=_0x1b0ac2(0x12a);function oe(_0xce114){const _0x2c8c00=_0x1b0ac2;return{'id':Y['id'],'type':_0x1375ae[_0x2c8c00(0x13f)],'title':_0x2c8c00(0xf4),'icon':_0x2c8c00(0x160),'tooltip':_0x2c8c00(0xf4),'hidden$':_0x1981c6(_0xce114,_0x2f5e76[_0x2c8c00(0x123)])};}const se={[_0x5a41bb[_0x1b0ac2(0xfe)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};function _0xcbe7(){const _0x44d733=['interceptor','2445512mPtaYQ','OPERATION','string','_container','right','version','valid','_addViewport','makeForceDirty','default','addObject','2499170BIIpAk','Render\x20is\x20not\x20found','21yvnntU','_initMenus','Pages\x20are\x20not\x20found','fetchThroughInterceptors','_calculateLayout','getContext','bottom','translate','getOffsetConfig','prepare','_offsetConfig','min','top','_config','removeChild','_unitId','UNIVER_DOC','getRenderById','getUnit','DocumentDataModel\x20is\x20not\x20found','message','type','_paperSize','0.25.1','height','page','div','length','left','onafterprint','522RuvGeh','0px','style','_configService','TRADITIONAL','scale','_viewMain','_initComponents','_skeletonData','_effects','print','986622xSlcPt','setId','object','BUTTON','call','getSkeleton','_initCommands','_componentManager','appendChild','toPrimitive','PRINTING_DOM_COLLECT','Portrait','symbol','_addComponent','get','constructor','_skeleton','dispose','pages','width','timeValid','position','render','_univerInstanceService','100%','_globalZoneService','_commandService','_currentRender','onReady','syncExecuteCommand','_documents','menu','className','PRINTING_COMPONENT_COLLECT','setConfig','forEach','PrintIcon','1624992SOTrWM','createElement','documentFlavor','defineProperty','Skeleton\x20data\x20is\x20not\x20found','_injector','1044zHokVk','setContainer','mpn','_key','_root','getConfig','function','3744747nsMzLL','prototype','getSkeletonData','onbeforeprint','mainComponent','registerCommand','disposeWithMe','register','_renderManagerService','_engine','@univerjs-pro/docs-print','Printing','_page','docs-print.menu','body','getUnitId','with','pluginName','_scene','makeDirty','pageWidth','_menuManagerService','parseInt','OTHERS','UNIVER_DOCS_PRINT','_initRenderer','container','root','1492236JhciKi','updateScrollVal'];_0xcbe7=function(){return _0x44d733;};return _0xcbe7();}let Q=class extends _0x2a8ed5{constructor(_0x4382ee,_0x1b247e,_0xadba49){const _0x10e424=_0x1b0ac2;super(),this[_0x10e424(0x156)]=_0x4382ee,this[_0x10e424(0xfc)]=_0x1b247e,this[_0x10e424(0x143)]=_0xadba49,this[_0x10e424(0x114)](),this['_initCommands'](),this[_0x10e424(0x138)]();}[_0x1b0ac2(0x114)](){this['_menuManagerService']['mergeMenu'](se);}[_0x1b0ac2(0x142)](){const _0x3970db=_0x1b0ac2;this['disposeWithMe'](this[_0x3970db(0x156)][_0x3970db(0xec)](Y));}[_0x1b0ac2(0x138)](){const _0xf38f50=_0x1b0ac2;[['PrintIcon',_0x5ec4b1]][_0xf38f50(0x15f)](([_0x2da1de,_0x3440b4])=>{const _0x22dee5=_0xf38f50;this['_componentManager'][_0x22dee5(0xee)](_0x2da1de,_0x3440b4);});}};Q=G([W(0x0,_0x3adff6),W(0x1,_0x1a6f2d),W(0x2,_0x4ac6e8(_0x5c2494))],Q);let $=class extends _0x20c864{constructor(_0x5c2f77=Z,_0x5c32dc,_0x72e400){const _0x2407ea=_0x1b0ac2;super(),this[_0x2407ea(0x120)]=_0x5c2f77,this['_injector']=_0x5c32dc,this[_0x2407ea(0x134)]=_0x72e400;let {menu:_0x2c3da4,..._0x58238d}=_0x456651({},Z,this['_config']);_0x2c3da4&&this['_configService']['setConfig'](_0x2407ea(0x15b),_0x2c3da4,{'merge':!0x0}),this[_0x2407ea(0x134)][_0x2407ea(0x15e)](X,_0x58238d);}['onStarting'](){_0x20b2ec(this['_injector'],[[J],[Q]]);}[_0x1b0ac2(0x158)](){const _0x372d2b=_0x1b0ac2;this[_0x372d2b(0xdf)][_0x372d2b(0x14a)](Q);}};H($,_0x1b0ac2(0xf8),_0x1b0ac2(0xff)),H($,'packageName',ie),H($,_0x1b0ac2(0x10b),ae),H($,_0x1b0ac2(0x128),_0x2f5e76[_0x1b0ac2(0x123)]),$=G([_0x1878f4(_0x11c794,_0x3bf46a),W(0x1,_0x4ac6e8(_0x383d30)),W(0x2,_0x57aade)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
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};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xf93196=_0x5912;function _0x5912(_0x5cf64a,_0x2dfa50){_0x5cf64a=_0x5cf64a-0x12f;const _0x5358fb=_0x5358();let _0x5912c2=_0x5358fb[_0x5cf64a];return _0x5912c2;}(function(_0x2ea8d8,_0x1efb5b){const _0x1d3c5c=_0x5912,_0x65ea1e=_0x2ea8d8();while(!![]){try{const _0x4de64c=-parseInt(_0x1d3c5c(0x139))/0x1*(-parseInt(_0x1d3c5c(0x12f))/0x2)+-parseInt(_0x1d3c5c(0x137))/0x3*(-parseInt(_0x1d3c5c(0x136))/0x4)+-parseInt(_0x1d3c5c(0x134))/0x5+parseInt(_0x1d3c5c(0x131))/0x6*(parseInt(_0x1d3c5c(0x130))/0x7)+parseInt(_0x1d3c5c(0x138))/0x8+parseInt(_0x1d3c5c(0x135))/0x9+parseInt(_0x1d3c5c(0x133))/0xa*(-parseInt(_0x1d3c5c(0x13a))/0xb);if(_0x4de64c===_0x1efb5b)break;else _0x65ea1e['push'](_0x65ea1e['shift']());}catch(_0x46aafd){_0x65ea1e['push'](_0x65ea1e['shift']());}}}(_0x5358,0x1e65a));const e={'docs-print':{'menu':_0xf93196(0x132)}};function _0x5358(){const _0x5c091a=['طباعة','60sxptoR','92770XnqmNW','1156797fzCqCU','10592yvSwON','114ooKzeY','604512WmWPrx','44869FzaEqJ','910668iJpGdV','6lsvTtk','273OsLkmh','30840APTzeC'];_0x5358=function(){return _0x5c091a;};return _0x5358();}export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3d7c(){const _0xf7a804=['6DCufxQ','277802PlPjdc','10420927vYtYQg','714574wTPpkU','944540ZlJUYr','9cCZtAn','10RIMVjD','554535JymlMq','411682Ttdiyp','1750041zfBuOm','32CkLpHQ','Imprimir'];_0x3d7c=function(){return _0xf7a804;};return _0x3d7c();}const _0x34a29c=_0x5639;(function(_0x1c9862,_0x5bdc4c){const _0xef6522=_0x5639,_0x55a548=_0x1c9862();while(!![]){try{const _0x298056=parseInt(_0xef6522(0xae))/0x1+parseInt(_0xef6522(0xb3))/0x2*(-parseInt(_0xef6522(0xab))/0x3)+-parseInt(_0xef6522(0xaa))/0x4+-parseInt(_0xef6522(0xad))/0x5*(-parseInt(_0xef6522(0xb2))/0x6)+parseInt(_0xef6522(0xa9))/0x7*(-parseInt(_0xef6522(0xb0))/0x8)+-parseInt(_0xef6522(0xaf))/0x9*(parseInt(_0xef6522(0xac))/0xa)+parseInt(_0xef6522(0xb4))/0xb;if(_0x298056===_0x5bdc4c)break;else _0x55a548['push'](_0x55a548['shift']());}catch(_0x557ff4){_0x55a548['push'](_0x55a548['shift']());}}}(_0x3d7c,0x3453b));const e={'docs-print':{'menu':_0x34a29c(0xb1)}};function _0x5639(_0x52cb3c,_0x12c9b5){_0x52cb3c=_0x52cb3c-0xa9;const _0x3d7c70=_0x3d7c();let _0x5639cb=_0x3d7c70[_0x52cb3c];return _0x5639cb;}export{e as default};
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5d06df=_0x1677;(function(_0x440f5d,_0x2d7af2){const _0x15194e=_0x1677,_0xeb573=_0x440f5d();while(!![]){try{const _0x183069=-parseInt(_0x15194e(0x141))/0x1+-parseInt(_0x15194e(0x142))/0x2*(parseInt(_0x15194e(0x145))/0x3)+parseInt(_0x15194e(0x143))/0x4+-parseInt(_0x15194e(0x148))/0x5*(-parseInt(_0x15194e(0x146))/0x6)+parseInt(_0x15194e(0x147))/0x7+parseInt(_0x15194e(0x13e))/0x8*(parseInt(_0x15194e(0x140))/0x9)+-parseInt(_0x15194e(0x149))/0xa*(parseInt(_0x15194e(0x144))/0xb);if(_0x183069===_0x2d7af2)break;else _0xeb573['push'](_0xeb573['shift']());}catch(_0x358690){_0xeb573['push'](_0xeb573['shift']());}}}(_0x66e5,0xced7d));const e={'docs-print':{'menu':_0x5d06df(0x13f)}};export{e as default};function _0x1677(_0x168198,_0x273c34){_0x168198=_0x168198-0x13e;const _0x66e567=_0x66e5();let _0x167773=_0x66e567[_0x168198];return _0x167773;}function _0x66e5(){const _0x3f08b4=['1155YZTWva','6lucdwk','20058VHrVii','1811432Rziivz','970VvQpoI','101810NoOjtg','2344zkaJiM','Drucken','27585xZgbmI','372398rwNnIa','1037206uIoWSX','6081900FfHtuB'];_0x66e5=function(){return _0x3f08b4;};return _0x66e5();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1b52(){const _0xb6ca5e=['Print','8221782cNwIep','4887050FImQmB','2403NBGbqi','2260ukRyFZ','2472996NMJxYo','4126947AtRBVe','10208UUznQG','40912zBUQco','785952zIEJwf','10Hbaatd','2vNxBPV'];_0x1b52=function(){return _0xb6ca5e;};return _0x1b52();}const _0x1ccc02=_0x34fa;(function(_0x19e64b,_0x8c4157){const _0x161b3a=_0x34fa,_0x1c5e4d=_0x19e64b();while(!![]){try{const _0x55264e=-parseInt(_0x161b3a(0x19a))/0x1+parseInt(_0x161b3a(0x19c))/0x2*(parseInt(_0x161b3a(0x197))/0x3)+-parseInt(_0x161b3a(0x196))/0x4*(-parseInt(_0x161b3a(0x19b))/0x5)+-parseInt(_0x161b3a(0x192))/0x6+-parseInt(_0x161b3a(0x193))/0x7+parseInt(_0x161b3a(0x199))/0x8*(parseInt(_0x161b3a(0x194))/0x9)+-parseInt(_0x161b3a(0x195))/0xa*(parseInt(_0x161b3a(0x198))/0xb);if(_0x55264e===_0x8c4157)break;else _0x1c5e4d['push'](_0x1c5e4d['shift']());}catch(_0x18045f){_0x1c5e4d['push'](_0x1c5e4d['shift']());}}}(_0x1b52,0xdf032));function _0x34fa(_0x309634,_0x18714a){_0x309634=_0x309634-0x191;const _0x1b526b=_0x1b52();let _0x34fac2=_0x1b526b[_0x309634];return _0x34fac2;}const e={'docs-print':{'menu':_0x1ccc02(0x191)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x45553f=_0x4a4a;function _0x4a4a(_0x3e56a0,_0x154fc3){_0x3e56a0=_0x3e56a0-0xe8;const _0x4ff820=_0x4ff8();let _0x4a4a17=_0x4ff820[_0x3e56a0];return _0x4a4a17;}function _0x4ff8(){const _0x5cda5d=['4232793OInIvR','12925566xSdWYI','974470hWtWJj','4jqPcEV','Imprimir','13213520LZpTAd','2895045tFjBSX','6iUfyLN','9979809jebhDs','3472892BwCJbq'];_0x4ff8=function(){return _0x5cda5d;};return _0x4ff8();}(function(_0x51344b,_0x4b8dbd){const _0x18dc7e=_0x4a4a,_0x2fbe64=_0x51344b();while(!![]){try{const _0x1c181d=-parseInt(_0x18dc7e(0xe8))/0x1+-parseInt(_0x18dc7e(0xef))/0x2+-parseInt(_0x18dc7e(0xf0))/0x3*(-parseInt(_0x18dc7e(0xe9))/0x4)+parseInt(_0x18dc7e(0xec))/0x5+-parseInt(_0x18dc7e(0xed))/0x6*(parseInt(_0x18dc7e(0xee))/0x7)+parseInt(_0x18dc7e(0xeb))/0x8+parseInt(_0x18dc7e(0xf1))/0x9;if(_0x1c181d===_0x4b8dbd)break;else _0x2fbe64['push'](_0x2fbe64['shift']());}catch(_0x356e86){_0x2fbe64['push'](_0x2fbe64['shift']());}}}(_0x4ff8,0xe5c91));const e={'docs-print':{'menu':_0x45553f(0xea)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3a93(_0x5375b0,_0x2c4957){_0x5375b0=_0x5375b0-0xd4;const _0x4d639f=_0x4d63();let _0x3a936f=_0x4d639f[_0x5375b0];return _0x3a936f;}(function(_0x3f9b91,_0x41f97f){const _0x170043=_0x3a93,_0x235fa0=_0x3f9b91();while(!![]){try{const _0x2fca42=-parseInt(_0x170043(0xe0))/0x1*(parseInt(_0x170043(0xdc))/0x2)+parseInt(_0x170043(0xd9))/0x3*(-parseInt(_0x170043(0xd4))/0x4)+parseInt(_0x170043(0xd6))/0x5*(-parseInt(_0x170043(0xde))/0x6)+-parseInt(_0x170043(0xd7))/0x7*(parseInt(_0x170043(0xd8))/0x8)+-parseInt(_0x170043(0xdd))/0x9*(-parseInt(_0x170043(0xdf))/0xa)+parseInt(_0x170043(0xdb))/0xb*(-parseInt(_0x170043(0xda))/0xc)+parseInt(_0x170043(0xd5))/0xd;if(_0x2fca42===_0x41f97f)break;else _0x235fa0['push'](_0x235fa0['shift']());}catch(_0x5cdda9){_0x235fa0['push'](_0x235fa0['shift']());}}}(_0x4d63,0x72790));const e={'docs-print':{'menu':'چاپ'}};export{e as default};function _0x4d63(){const _0x3167c1=['3320280ToANnY','880744oOdTAt','108312nsjNzl','39854022IADUWG','130535iDVUOJ','469iYMTPN','52888WHEamF','27bBWGWZ','3939420VEYnvj','22TgEdYp','2DNEnvR','9xlfqgq','162HNqnLm'];_0x4d63=function(){return _0x3167c1;};return _0x4d63();}
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x130e(){const _0x5ee854=['110sPjumj','2146215xSfjsu','13573tZZMak','2176XNfFce','2388714UwoUTO','3308388ijkgCY','3BuQtgD','10559142hpYPky','764548rcDeAu','766667zQOijw','Imprimer','1MzfMNP'];_0x130e=function(){return _0x5ee854;};return _0x130e();}const _0x505496=_0x50fd;function _0x50fd(_0x24388a,_0x1c79d4){_0x24388a=_0x24388a-0x15b;const _0x130ef6=_0x130e();let _0x50fd7a=_0x130ef6[_0x24388a];return _0x50fd7a;}(function(_0x3665d4,_0x123d57){const _0x1a5780=_0x50fd,_0x18c55a=_0x3665d4();while(!![]){try{const _0x163734=-parseInt(_0x1a5780(0x164))/0x1*(-parseInt(_0x1a5780(0x161))/0x2)+-parseInt(_0x1a5780(0x15f))/0x3*(-parseInt(_0x1a5780(0x15e))/0x4)+parseInt(_0x1a5780(0x166))/0x5+parseInt(_0x1a5780(0x15d))/0x6+-parseInt(_0x1a5780(0x15b))/0x7*(-parseInt(_0x1a5780(0x15c))/0x8)+-parseInt(_0x1a5780(0x160))/0x9+parseInt(_0x1a5780(0x165))/0xa*(-parseInt(_0x1a5780(0x162))/0xb);if(_0x163734===_0x123d57)break;else _0x18c55a['push'](_0x18c55a['shift']());}catch(_0x32b130){_0x18c55a['push'](_0x18c55a['shift']());}}}(_0x130e,0x9866c));const e={'docs-print':{'menu':_0x505496(0x163)}};export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x75c3(){const _0x54f14b=['4633145CWuXLS','2765424KGSZEa','1103462ccPkpO','1180kZgNcW','70DvBgoZ','980264UHLwqC','7uyHMNQ','1857AQNyOK','1354653bkWkmR','330144giXVOF'];_0x75c3=function(){return _0x54f14b;};return _0x75c3();}function _0xf06f(_0x21e3b7,_0x51343b){_0x21e3b7=_0x21e3b7-0x1e9;const _0x75c39e=_0x75c3();let _0xf06fec=_0x75c39e[_0x21e3b7];return _0xf06fec;}(function(_0x3ed205,_0x433308){const _0x2e46ce=_0xf06f,_0x509bfa=_0x3ed205();while(!![]){try{const _0x1589a3=parseInt(_0x2e46ce(0x1eb))/0x1+parseInt(_0x2e46ce(0x1f2))/0x2+-parseInt(_0x2e46ce(0x1ed))/0x3*(parseInt(_0x2e46ce(0x1e9))/0x4)+parseInt(_0x2e46ce(0x1f0))/0x5+parseInt(_0x2e46ce(0x1ef))/0x6+-parseInt(_0x2e46ce(0x1ec))/0x7*(parseInt(_0x2e46ce(0x1f1))/0x8)+-parseInt(_0x2e46ce(0x1ee))/0x9*(parseInt(_0x2e46ce(0x1ea))/0xa);if(_0x1589a3===_0x433308)break;else _0x509bfa['push'](_0x509bfa['shift']());}catch(_0x5e28cb){_0x509bfa['push'](_0x509bfa['shift']());}}}(_0x75c3,0xe37a2));const e={'docs-print':{'menu':'Cetak'}};export{e as default};
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xe4ef38=_0x17b4;(function(_0x5a21dd,_0x4e6c){const _0x249fe1=_0x17b4,_0x518533=_0x5a21dd();while(!![]){try{const _0x28ce74=parseInt(_0x249fe1(0x103))/0x1+-parseInt(_0x249fe1(0x10b))/0x2*(parseInt(_0x249fe1(0x101))/0x3)+-parseInt(_0x249fe1(0x102))/0x4+-parseInt(_0x249fe1(0x10a))/0x5*(parseInt(_0x249fe1(0x104))/0x6)+-parseInt(_0x249fe1(0x107))/0x7+parseInt(_0x249fe1(0x10c))/0x8*(-parseInt(_0x249fe1(0x105))/0x9)+-parseInt(_0x249fe1(0x108))/0xa*(-parseInt(_0x249fe1(0x106))/0xb);if(_0x28ce74===_0x4e6c)break;else _0x518533['push'](_0x518533['shift']());}catch(_0x33c8c7){_0x518533['push'](_0x518533['shift']());}}}(_0x5761,0xbd765));function _0x5761(){const _0x570119=['1381162dhRbRZ','54ybtddE','1332nNfhDn','1773222hAnAKh','5382566gFdlgA','140vCMCTg','Stampa','107230DRSgXb','858842MXZpcL','18520efSCjZ','3RfPEGa','4511840UDRytN'];_0x5761=function(){return _0x570119;};return _0x5761();}const e={'docs-print':{'menu':_0xe4ef38(0x109)}};function _0x17b4(_0x1509b4,_0x3e7c96){_0x1509b4=_0x1509b4-0x101;const _0x576179=_0x5761();let _0x17b449=_0x576179[_0x1509b4];return _0x17b449;}export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x430c59,_0x53c091){const _0x350374=_0x201b,_0x3d3b19=_0x430c59();while(!![]){try{const _0x2bd3e6=parseInt(_0x350374(0x184))/0x1+parseInt(_0x350374(0x17e))/0x2*(-parseInt(_0x350374(0x17f))/0x3)+parseInt(_0x350374(0x183))/0x4+-parseInt(_0x350374(0x181))/0x5+-parseInt(_0x350374(0x180))/0x6+-parseInt(_0x350374(0x17d))/0x7*(-parseInt(_0x350374(0x182))/0x8)+-parseInt(_0x350374(0x17c))/0x9;if(_0x2bd3e6===_0x53c091)break;else _0x3d3b19['push'](_0x3d3b19['shift']());}catch(_0x106da6){_0x3d3b19['push'](_0x3d3b19['shift']());}}}(_0x597a,0xb69d1));function _0x597a(){const _0xaf0ec7=['4074282TUgHbB','1231785QPLxds','1355696qiGPmS','2683700mdgiJJ','1272788qKCJBu','11598714DUMPbr','49PHTBEf','335624bHZtzm','3qNThSW'];_0x597a=function(){return _0xaf0ec7;};return _0x597a();}const e={'docs-print':{'menu':'印刷'}};function _0x201b(_0x1ab6b8,_0x2aed84){_0x1ab6b8=_0x1ab6b8-0x17c;const _0x597a02=_0x597a();let _0x201bab=_0x597a02[_0x1ab6b8];return _0x201bab;}export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2986(){const _0x5e3ad2=['2043147QhxxDd','42VEtyEU','12613704eRATOZ','756171xyngrZ','536278YcnFHO','743444CHntAL','5981570iNtBQm','566645TwIwXa'];_0x2986=function(){return _0x5e3ad2;};return _0x2986();}(function(_0x228107,_0x57e1f6){const _0x21c712=_0x298c,_0x40e501=_0x228107();while(!![]){try{const _0x28f510=parseInt(_0x21c712(0x158))/0x1+parseInt(_0x21c712(0x151))/0x2+-parseInt(_0x21c712(0x155))/0x3+parseInt(_0x21c712(0x152))/0x4+-parseInt(_0x21c712(0x154))/0x5*(-parseInt(_0x21c712(0x156))/0x6)+parseInt(_0x21c712(0x153))/0x7+-parseInt(_0x21c712(0x157))/0x8;if(_0x28f510===_0x57e1f6)break;else _0x40e501['push'](_0x40e501['shift']());}catch(_0x12b170){_0x40e501['push'](_0x40e501['shift']());}}}(_0x2986,0x9289e));const e={'docs-print':{'menu':'인쇄'}};function _0x298c(_0x1610e9,_0x176d88){_0x1610e9=_0x1610e9-0x151;const _0x29866f=_0x2986();let _0x298c63=_0x29866f[_0x1610e9];return _0x298c63;}export{e as default};
|