@univerjs-pro/docs-print 0.20.0 → 0.20.1-insiders.20260418-3a69981
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x15f427=_0x273e;(function(_0x2111e9,_0x4ac7e3){const _0x4b4605=_0x273e,_0x537a67=_0x2111e9();while(!![]){try{const _0x430a4c=parseInt(_0x4b4605(0x259))/0x1*(parseInt(_0x4b4605(0x1e0))/0x2)+parseInt(_0x4b4605(0x1fd))/0x3+parseInt(_0x4b4605(0x1d6))/0x4*(-parseInt(_0x4b4605(0x1e7))/0x5)+-parseInt(_0x4b4605(0x1c6))/0x6*(-parseInt(_0x4b4605(0x252))/0x7)+parseInt(_0x4b4605(0x1b4))/0x8+-parseInt(_0x4b4605(0x236))/0x9*(-parseInt(_0x4b4605(0x24e))/0xa)+parseInt(_0x4b4605(0x24c))/0xb*(-parseInt(_0x4b4605(0x21f))/0xc);if(_0x430a4c===_0x4ac7e3)break;else _0x537a67['push'](_0x537a67['shift']());}catch(_0xeed0c8){_0x537a67['push'](_0x537a67['shift']());}}}(_0x4c18,0x8f746),Object[_0x15f427(0x1e9)](exports,Symbol[_0x15f427(0x1c9)],{'value':_0x15f427(0x212)}));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(_0x47bd49){'@babel/helpers - typeof';const _0x92ed70=_0x15f427;return l=typeof Symbol==_0x92ed70(0x1ba)&&typeof Symbol[_0x92ed70(0x20c)]=='symbol'?function(_0x3dce48){return typeof _0x3dce48;}:function(_0x13d4fa){const _0x2c61aa=_0x92ed70;return _0x13d4fa&&typeof Symbol==_0x2c61aa(0x1ba)&&_0x13d4fa[_0x2c61aa(0x23e)]===Symbol&&_0x13d4fa!==Symbol[_0x2c61aa(0x1f8)]?_0x2c61aa(0x1ef):typeof _0x13d4fa;},l(_0x47bd49);}function u(_0x2da2b0,_0x14a0f1){const _0x63c2cd=_0x15f427;if(l(_0x2da2b0)!='object'||!_0x2da2b0)return _0x2da2b0;var _0xb29868=_0x2da2b0[Symbol[_0x63c2cd(0x1c2)]];if(_0xb29868!==void 0x0){var _0x1fc767=_0xb29868[_0x63c2cd(0x21b)](_0x2da2b0,_0x14a0f1||_0x63c2cd(0x223));if(l(_0x1fc767)!='object')return _0x1fc767;throw TypeError(_0x63c2cd(0x203));}return(_0x14a0f1===_0x63c2cd(0x22f)?String:Number)(_0x2da2b0);}function d(_0x497c55){const _0x2c6bf0=_0x15f427;var _0x51a342=u(_0x497c55,_0x2c6bf0(0x22f));return l(_0x51a342)==_0x2c6bf0(0x1ef)?_0x51a342:_0x51a342+'';}function f(_0x431ae9,_0x3f30e9,_0x3f75b1){const _0x53e85e=_0x15f427;return(_0x3f30e9=d(_0x3f30e9))in _0x431ae9?Object[_0x53e85e(0x1e9)](_0x431ae9,_0x3f30e9,{'value':_0x3f75b1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x431ae9[_0x3f30e9]=_0x3f75b1,_0x431ae9;}var p=class extends e[_0x15f427(0x256)]{get[_0x15f427(0x1ea)](){return this['_container'];}get[_0x15f427(0x1cd)](){const _0x5e619b=_0x15f427;return this[_0x5e619b(0x1d8)];}get[_0x15f427(0x213)](){const _0x11dc04=_0x15f427;let _0x2ed12c=this[_0x11dc04(0x1b8)][_0x11dc04(0x1b9)](n[_0x11dc04(0x1f9)])[_0x11dc04(0x1dc)](this['_unitId']);if(!_0x2ed12c)throw Error(_0x11dc04(0x1dd));return _0x2ed12c;}get[_0x15f427(0x23a)](){const _0x436bc4=_0x15f427;return this['_currentRender'][_0x436bc4(0x1eb)](a[_0x436bc4(0x1c1)])[_0x436bc4(0x263)]();}get['_skeletonData'](){const _0x47c6f7=_0x15f427;let _0x51d75c=this[_0x47c6f7(0x23a)][_0x47c6f7(0x260)]();if(!_0x51d75c)throw Error(_0x47c6f7(0x248));return _0x51d75c;}get['_paperSize'](){const _0x17f23b=_0x15f427;let _0x477876=this[_0x17f23b(0x1e6)][_0x17f23b(0x220)][0x0];return{'width':_0x477876[_0x17f23b(0x22b)],'height':_0x477876[_0x17f23b(0x205)]};}constructor(_0x12d33f,_0x3947cf,_0x145536,_0x2569b0){const _0x15249a=_0x15f427;super(),this[_0x15249a(0x1b8)]=_0x12d33f,this['_page']=_0x3947cf,this['_unitId']=_0x145536,this['_offsetConfig']=_0x2569b0,f(this,'_container',document[_0x15249a(0x20b)](_0x15249a(0x250))),f(this,_0x15249a(0x1d8),document[_0x15249a(0x20b)]('div')),f(this,'_engine',void 0x0),f(this,_0x15249a(0x1ca),void 0x0),f(this,'_key',void 0x0),f(this,_0x15249a(0x1cf),void 0x0),f(this,'_viewMain',void 0x0),f(this,_0x15249a(0x201),new e['DisposableCollection']()),this[_0x15249a(0x257)]=(0x0,e[_0x15249a(0x1c3)])(0x4),this[_0x15249a(0x25c)](),this[_0x15249a(0x238)]({'dispose':()=>{const _0x8e06dc=_0x15249a;this[_0x8e06dc(0x258)][_0x8e06dc(0x246)](),this[_0x8e06dc(0x1ca)]['dispose'](),this[_0x8e06dc(0x201)][_0x8e06dc(0x246)]();}});}['_calculateLayout'](){const _0x301d97=_0x15f427;let {docsTop:_0x342464,docsLeft:_0x2e4c30}=this[_0x301d97(0x1cf)]['getOffsetConfig'](),_0x32edea=this[_0x301d97(0x1f0)][_0x301d97(0x232)],_0xeee004=this[_0x301d97(0x1f0)][_0x301d97(0x245)];return{'top':_0x342464+(_0x342464+_0x32edea)*this[_0x301d97(0x1e5)],'bottom':_0x342464+(_0x342464+_0x32edea)*(this[_0x301d97(0x1e5)]+0x1),'left':_0x2e4c30,'right':_0x2e4c30+_0xeee004};}['_initRenderer'](){const _0x5d203f=_0x15f427;this['_engine']=new n[(_0x5d203f(0x1cc))]('',{'elementWidth':this[_0x5d203f(0x1f0)][_0x5d203f(0x245)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n['CanvasRenderMode']['Printing']}),this[_0x5d203f(0x1ca)]=new n[(_0x5d203f(0x1da))](this[_0x5d203f(0x257)],this[_0x5d203f(0x258)]),this['_scene'][_0x5d203f(0x216)](0x1,0x1),this[_0x5d203f(0x258)][_0x5d203f(0x215)](this['_container'],!0x1),this[_0x5d203f(0x258)][_0x5d203f(0x247)]()['getContext']()[_0x5d203f(0x25f)](this[_0x5d203f(0x257)]+'_'+(0x0,e['generateRandomId'])(0x4)),this[_0x5d203f(0x1c0)](),this[_0x5d203f(0x1f7)]();}[_0x15f427(0x1c0)](){const _0x442153=_0x15f427;let {pageMarginLeft:_0xc26084,pageMarginTop:_0x2949c1,docsLeft:_0x35d5d7,docsTop:_0x54c553}=this[_0x442153(0x1d4)],_0x5c17a5={'pageMarginLeft':_0xc26084,'pageMarginTop':_0x2949c1},_0x29679a=new n[(_0x442153(0x231))](_0x442153(0x1d3),this[_0x442153(0x23a)],_0x5c17a5);_0x29679a[_0x442153(0x218)](_0x35d5d7,_0x54c553),this['_scene'][_0x442153(0x1b6)](_0x29679a),this[_0x442153(0x1cf)]=_0x29679a;let _0x485573=this['_injector']['get'](t['DocPrintInterceptorService']);_0x485573[_0x442153(0x234)][_0x442153(0x1c5)](_0x485573[_0x442153(0x234)][_0x442153(0x1d7)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x442153(0x210)],'scene':this[_0x442153(0x1ca)],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x442153(0x1cf)],'skeleton':this[_0x442153(0x23a)]});}[_0x15f427(0x1f7)](){const _0xe432ea=_0x15f427;this[_0xe432ea(0x1bb)]=new n[(_0xe432ea(0x1bc))](t['VIEWPORT_KEY'][_0xe432ea(0x20a)],this[_0xe432ea(0x1ca)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x15f427(0x1c7)](){const _0x55d243=_0x15f427;let _0x5054d2=this['_calculateLayout']();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x5054d2['left'],'viewportScrollY':_0x5054d2['top']}),this[_0x55d243(0x1d8)]['style'][_0x55d243(0x1f4)]=_0x55d243(0x25d),this['_root'][_0x55d243(0x24f)]['top']=_0x55d243(0x239),this[_0x55d243(0x1d8)][_0x55d243(0x24f)][_0x55d243(0x1b3)]=_0x55d243(0x239),this[_0x55d243(0x1d8)][_0x55d243(0x24f)][_0x55d243(0x245)]=_0x55d243(0x21d),this['_root'][_0x55d243(0x24f)][_0x55d243(0x232)]=_0x55d243(0x21d),this['_effects']=new e['DisposableCollection']();let _0x3ec16b=this[_0x55d243(0x1b8)][_0x55d243(0x1b9)](t[_0x55d243(0x206)]);_0x3ec16b[_0x55d243(0x234)][_0x55d243(0x1c5)](_0x3ec16b['interceptor'][_0x55d243(0x1d7)]()['PRINTING_DOM_COLLECT'])(this[_0x55d243(0x201)],{'unitId':this[_0x55d243(0x210)],'scene':this[_0x55d243(0x1ca)],'engine':this[_0x55d243(0x258)],'root':this[_0x55d243(0x1d8)],'skeleton':this[_0x55d243(0x23a)],'offset':{'x':_0x5054d2[_0x55d243(0x1b3)],'y':_0x5054d2[_0x55d243(0x1e3)]},'bound':{'top':_0x5054d2[_0x55d243(0x1e3)],'left':_0x5054d2[_0x55d243(0x1b3)],'right':_0x5054d2[_0x55d243(0x22e)],'bottom':_0x5054d2[_0x55d243(0x1d0)]}});}[_0x15f427(0x24b)](){const _0x5e03cb=_0x15f427;let _0x721079=this[_0x5e03cb(0x258)][_0x5e03cb(0x247)]()[_0x5e03cb(0x227)]();this[_0x5e03cb(0x1cf)][_0x5e03cb(0x251)](),this[_0x5e03cb(0x1ca)]['makeDirty'](),_0x721079[_0x5e03cb(0x21c)](),this['_scene']['render'](),_0x721079[_0x5e03cb(0x253)]();}};function m(_0x2ed748,_0x3f3291){return function(_0x1a563b,_0x370930){_0x3f3291(_0x1a563b,_0x370930,_0x2ed748);};}function h(_0x3edc62,_0x4b5855,_0x469d79,_0x29221e){const _0x1d4e1c=_0x15f427;var _0x4fc0cb=arguments[_0x1d4e1c(0x24a)],_0x308e21=_0x4fc0cb<0x3?_0x4b5855:_0x29221e===null?_0x29221e=Object[_0x1d4e1c(0x1bd)](_0x4b5855,_0x469d79):_0x29221e,_0x13a1f7;if(typeof Reflect==_0x1d4e1c(0x24d)&&typeof Reflect[_0x1d4e1c(0x1fc)]==_0x1d4e1c(0x1ba))_0x308e21=Reflect[_0x1d4e1c(0x1fc)](_0x3edc62,_0x4b5855,_0x469d79,_0x29221e);else{for(var _0x525586=_0x3edc62[_0x1d4e1c(0x24a)]-0x1;_0x525586>=0x0;_0x525586--)(_0x13a1f7=_0x3edc62[_0x525586])&&(_0x308e21=(_0x4fc0cb<0x3?_0x13a1f7(_0x308e21):_0x4fc0cb>0x3?_0x13a1f7(_0x4b5855,_0x469d79,_0x308e21):_0x13a1f7(_0x4b5855,_0x469d79))||_0x308e21);}return _0x4fc0cb>0x3&&_0x308e21&&Object['defineProperty'](_0x4b5855,_0x469d79,_0x308e21),_0x308e21;}const g=Number[_0x15f427(0x261)](0x69cf7334),_=(_0x446d40,_0x179330,_0x53fcf9)=>{const _0x4053c1=_0x15f427;let _0x19d98f={'page':_0x446d40,'isPro':!0x1,'timeValid':!0x1};if(!_0x179330||!_0x53fcf9)return _0x19d98f;let _0x54a6d9=(0x0,r[_0x4053c1(0x25a)])(_0x179330,_0x53fcf9);if(_0x54a6d9['valid']){let _0x112674=_0x54a6d9['message'],_0x4d7701=(0x0,r[_0x4053c1(0x264)])(_0x112674,'df',g);_0x19d98f[_0x4053c1(0x204)]=_0x4d7701,_0x19d98f[_0x4053c1(0x1f3)]=_0x4d7701,_0x19d98f[_0x4053c1(0x23c)]=(0x0,r[_0x4053c1(0x1c4)])(_0x112674,_0x4d7701,_0x4053c1(0x1f1),_0x446d40,_0x446d40,0x0);}return _0x19d98f;};let v=class extends e['Disposable']{constructor(_0x57f35f,_0x4d099b,_0x3a1ad1,_0x307348,_0x356881){const _0x2c6de5=_0x15f427;super(),this[_0x2c6de5(0x217)]=_0x57f35f,this[_0x2c6de5(0x209)]=_0x4d099b,this[_0x2c6de5(0x1b8)]=_0x3a1ad1,this[_0x2c6de5(0x233)]=_0x307348,this[_0x2c6de5(0x1e2)]=_0x356881;}[_0x15f427(0x22a)](_0x2f6894){const _0x336459=_0x15f427;var _0x2938bf,_0x3de2a0;let {ls:_0x15b260,pbk:_0x2f277c}=(_0x2938bf=this[_0x336459(0x233)][_0x336459(0x242)](r['LS_CONFIG_KEY']))==null?{}:_0x2938bf,_0x1e48aa=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0x15b260,_0x2f277c)[_0x336459(0x23c)];if(!this[_0x336459(0x217)][_0x336459(0x240)](_0x2f6894,e[_0x336459(0x1f5)][_0x336459(0x244)]))throw Error(_0x336459(0x20d));let _0x356ff5=this[_0x336459(0x209)][_0x336459(0x1dc)](_0x2f6894);if(!_0x356ff5)throw Error(_0x336459(0x1dd));let _0x3a19b7=(_0x3de2a0=_0x356ff5['with'](a[_0x336459(0x1c1)])['getSkeleton']()[_0x336459(0x260)]())==null?void 0x0:_0x3de2a0['pages'];if(!_0x3a19b7)throw Error(_0x336459(0x229));let _0x48ea8e={'width':_0x3a19b7[0x0][_0x336459(0x22b)],'height':_0x3a19b7[0x0][_0x336459(0x205)]},_0x239289=_0x3a19b7[_0x336459(0x24a)],_0x12ede2=Math[_0x336459(0x22d)](_0x1e48aa,_0x239289),_0x1133ee=_0x356ff5[_0x336459(0x1bf)][_0x336459(0x1f2)](),_0x454bbb=document['createElement'](_0x336459(0x250));_0x454bbb['className']=i[_0x336459(0x1d2)];let _0x12f8ad=Array(_0x12ede2)[_0x336459(0x1df)](null)[_0x336459(0x1fe)]((_0x569968,_0x46e3a3)=>{const _0x5574c9=_0x336459;let _0x8ae591=new p(this[_0x5574c9(0x1b8)],_0x46e3a3,_0x2f6894,_0x1133ee);return _0x8ae591[_0x5574c9(0x1ea)][_0x5574c9(0x1c8)]=i[_0x5574c9(0x21a)],_0x8ae591;});_0x12f8ad['forEach'](_0x55668a=>{const _0x312ced=_0x336459;_0x454bbb[_0x312ced(0x1fa)](_0x55668a['container']),_0x55668a[_0x312ced(0x1ea)][_0x312ced(0x1fa)](_0x55668a[_0x312ced(0x1cd)]),_0x55668a[_0x312ced(0x1c7)]();});let _0x4ffc92=(0x0,i[_0x336459(0x1be)])(_0x48ea8e[_0x336459(0x245)],_0x48ea8e[_0x336459(0x232)],i['PrintDirection'][_0x336459(0x23d)]);return document['body']['appendChild'](_0x4ffc92),document[_0x336459(0x1ec)][_0x336459(0x1fa)](_0x454bbb),new Promise(_0xf2fa75=>{setTimeout(()=>{const _0x2224d5=_0x273e;window[_0x2224d5(0x1f6)]=()=>{_0x12f8ad['forEach'](_0x1b6e40=>{const _0x581bb0=_0x273e;_0x1b6e40[_0x581bb0(0x24b)]();});},window[_0x2224d5(0x226)]=()=>{const _0x445679=_0x2224d5;_0x12f8ad[_0x445679(0x23f)](_0xe8e579=>{const _0x16c221=_0x445679;_0xe8e579[_0x16c221(0x246)]();}),document[_0x445679(0x1ec)][_0x445679(0x1e1)](_0x454bbb),document[_0x445679(0x1ec)][_0x445679(0x1e1)](_0x4ffc92),this[_0x445679(0x1e2)][_0x445679(0x214)](),_0xf2fa75(!0x0);},window[_0x2224d5(0x22a)]();},0x64);});}};v=h([m(0x0,e[_0x15f427(0x1fb)]),m(0x1,n[_0x15f427(0x1f9)]),m(0x2,(0x0,e[_0x15f427(0x221)])(e[_0x15f427(0x237)])),m(0x3,e[_0x15f427(0x1ff)]),m(0x4,o[_0x15f427(0x241)])],v);const y={'id':_0x15f427(0x219),'type':e[_0x15f427(0x230)][_0x15f427(0x23b)],'handler':async _0x25f7bf=>{const _0x416617=_0x15f427;let _0x52c909=_0x25f7bf[_0x416617(0x1b9)](e['IUniverInstanceService']),_0x1cd810=_0x25f7bf[_0x416617(0x1b9)](v),_0x3f8493=_0x25f7bf['get'](n[_0x416617(0x1f9)]),_0x528451=_0x25f7bf[_0x416617(0x1b9)](e[_0x416617(0x225)]),_0x877287=_0x52c909['getCurrentUnitOfType'](e[_0x416617(0x1f5)]['UNIVER_DOC']);if(!_0x877287)return!0x1;if(!_0x3f8493[_0x416617(0x1dc)](_0x877287['getUnitId']()))throw Error(_0x416617(0x1dd));let _0xfdae34=_0x877287['getDocumentStyle']()['documentFlavor'];return _0xfdae34!==e['DocumentFlavor']['TRADITIONAL']&&_0x528451[_0x416617(0x1db)](t[_0x416617(0x1de)]['id']),await _0x1cd810[_0x416617(0x22a)](_0x877287[_0x416617(0x1ce)]()),_0xfdae34!==e[_0x416617(0x254)][_0x416617(0x1ed)]&&_0x528451[_0x416617(0x1db)](t[_0x416617(0x1de)]['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S='@univerjs-pro/docs-print',C=_0x15f427(0x1d1);function w(_0x563d07){const _0x52828d=_0x15f427;return{'id':y['id'],'type':o[_0x52828d(0x243)]['BUTTON'],'title':'print.menu','icon':_0x52828d(0x228),'tooltip':'print.menu','hidden$':(0x0,o[_0x52828d(0x1d5)])(_0x563d07,e[_0x52828d(0x1f5)][_0x52828d(0x244)])};}const T={[o[_0x15f427(0x1cb)]['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x15f427(0x256)]{constructor(_0x546d99,_0x2c4089,_0x4655e6){const _0x372e2c=_0x15f427;super(),this[_0x372e2c(0x211)]=_0x546d99,this[_0x372e2c(0x1b7)]=_0x2c4089,this[_0x372e2c(0x224)]=_0x4655e6,this[_0x372e2c(0x255)](),this[_0x372e2c(0x200)](),this[_0x372e2c(0x25b)]();}[_0x15f427(0x255)](){const _0x20563a=_0x15f427;this[_0x20563a(0x1b7)][_0x20563a(0x20f)](T);}[_0x15f427(0x200)](){const _0x19feaf=_0x15f427;this[_0x19feaf(0x238)](this[_0x19feaf(0x211)]['registerCommand'](y));}['_initComponents'](){const _0x1fa269=_0x15f427;[[_0x1fa269(0x228),c[_0x1fa269(0x228)]]][_0x1fa269(0x23f)](([_0x49471c,_0x28607d])=>{const _0x85143d=_0x1fa269;this[_0x85143d(0x224)][_0x85143d(0x222)](_0x49471c,_0x28607d);});}};function _0x273e(_0x39a5d9,_0x6d6df2){_0x39a5d9=_0x39a5d9-0x1b3;const _0x4c1801=_0x4c18();let _0x273e0f=_0x4c1801[_0x39a5d9];return _0x273e0f;}function _0x4c18(){const _0x3b7cbf=['3130356USJIky','prepare','className','toStringTag','_scene','RibbonStartGroup','Engine','root','getUnitId','_documents','bottom','0.20.0','PRINT_CONTAINER_CLASS','__DocPrintRender__','_offsetConfig','getMenuHiddenObservable','16vKgkXr','getInterceptPoints','_root','merge','Scene','syncExecuteCommand','getRenderById','Render\x20is\x20not\x20found','SwitchDocModeCommand','fill','10GJawmP','removeChild','_globalZoneService','top','UNIVER_DOCS_PRINT','_page','_skeletonData','941985idMwSr','UniverNetworkPlugin','defineProperty','container','with','body','TRADITIONAL','menu','symbol','_paperSize','mpn','getOffsetConfig','timeValid','position','UniverInstanceType','onbeforeprint','_addViewport','prototype','IRenderManagerService','appendChild','IUniverInstanceService','decorate','3414657JFjsqq','map','IConfigService','_initCommands','_effects','packageName','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isPro','pageHeight','DocPrintInterceptorService','DependentOn','ComponentManager','_renderManagerService','VIEW_MAIN','createElement','iterator','DocumentDataModel\x20is\x20not\x20found','Plugin','mergeMenu','_unitId','_commandService','Module','_currentRender','close','setContainer','scale','_univerInstanceService','translate','docs.operation.print','PRINT_CANVAS_CLASS','call','save','100%','IMenuManagerService','5771412fjKdlb','pages','Inject','register','default','_componentManager','ICommandService','onafterprint','getContext','PrintIcon','Pages\x20are\x20not\x20found','print','pageWidth','pluginName','min','right','string','CommandType','Documents','height','_configService','interceptor','DOCS_PRINT_PLUGIN_CONFIG_KEY','1751157yywaKr','Injector','disposeWithMe','0px','_skeleton','OPERATION','page','Portrait','constructor','forEach','getUnit','IGlobalZoneService','getConfig','MenuItemType','UNIVER_DOC','width','dispose','getCanvas','Skeleton\x20data\x20is\x20not\x20found','_config','length','render','66qOjFfn','object','60hzqROr','style','div','makeForceDirty','7FTVkVt','restore','DocumentFlavor','_initMenus','Disposable','_key','_engine','136521bdkLTu','getLicenseInfo','_initComponents','_initRenderer','absolute','setConfig','setId','getSkeletonData','parseInt','onReady','getSkeleton','isFeatureAuthorizedWithinTime','left','5735168tAvyus','version','addObject','_menuManagerService','_injector','get','function','_viewMain','Viewport','getOwnPropertyDescriptor','createPrintStyle','mainComponent','_addComponent','DocSkeletonManagerService','toPrimitive','generateRandomId','getDocFeatureLimit','fetchThroughInterceptors'];_0x4c18=function(){return _0x3b7cbf;};return _0x4c18();}E=h([m(0x0,e[_0x15f427(0x225)]),m(0x1,o[_0x15f427(0x21e)]),m(0x2,(0x0,e['Inject'])(o[_0x15f427(0x208)]))],E);let D=class extends e[_0x15f427(0x20e)]{constructor(_0x4254ea=x,_0xb0dcab,_0xab47f5){const _0x368536=_0x15f427;super(),this[_0x368536(0x249)]=_0x4254ea,this[_0x368536(0x1b8)]=_0xb0dcab,this[_0x368536(0x233)]=_0xab47f5;let {menu:_0x31a131,..._0x5aaf40}=(0x0,e[_0x368536(0x1d9)])({},x,this['_config']);_0x31a131&&this[_0x368536(0x233)][_0x368536(0x25e)](_0x368536(0x1ee),_0x31a131,{'merge':!0x0}),this[_0x368536(0x233)][_0x368536(0x25e)](b,_0x5aaf40);}['onStarting'](){(0x0,e['registerDependencies'])(this['_injector'],[[v],[E]]);}[_0x15f427(0x262)](){const _0xb492b8=_0x15f427;this[_0xb492b8(0x1b8)][_0xb492b8(0x1b9)](E);}};f(D,_0x15f427(0x22c),_0x15f427(0x1e4)),f(D,_0x15f427(0x202),S),f(D,_0x15f427(0x1b5),C),f(D,'type',e[_0x15f427(0x1f5)]['UNIVER_DOC']),D=h([(0x0,e[_0x15f427(0x207)])(s[_0x15f427(0x1e8)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x15f427(0x221)])(e['Injector'])),m(0x2,e['IConfigService'])],D),exports[_0x15f427(0x235)]=b,exports['DocPrintOperation']=y,Object[_0x15f427(0x1e9)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
const _0x29cba2=_0xf9e4;(function(_0x278623,_0x37ee73){const _0x388a8b=_0xf9e4,_0x55ca82=_0x278623();while(!![]){try{const _0x445e08=-parseInt(_0x388a8b(0x1bd))/0x1*(parseInt(_0x388a8b(0x202))/0x2)+-parseInt(_0x388a8b(0x1d3))/0x3*(parseInt(_0x388a8b(0x1d5))/0x4)+-parseInt(_0x388a8b(0x1b0))/0x5+parseInt(_0x388a8b(0x1f1))/0x6*(-parseInt(_0x388a8b(0x175))/0x7)+parseInt(_0x388a8b(0x1ac))/0x8+parseInt(_0x388a8b(0x183))/0x9+-parseInt(_0x388a8b(0x1b9))/0xa*(-parseInt(_0x388a8b(0x176))/0xb);if(_0x445e08===_0x37ee73)break;else _0x55ca82['push'](_0x55ca82['shift']());}catch(_0x13a9bb){_0x55ca82['push'](_0x55ca82['shift']());}}}(_0x54be,0xd5f83),Object[_0x29cba2(0x19f)](exports,Symbol[_0x29cba2(0x1f3)],{'value':_0x29cba2(0x191)}));let _univerjs_core=require('@univerjs/core'),_univerjs_docs_ui=require('@univerjs/docs-ui'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_pro_print=require('@univerjs-pro/print'),_univerjs_docs=require('@univerjs/docs'),_univerjs_ui=require('@univerjs/ui'),_univerjs_network=require('@univerjs/network'),_univerjs_icons=require('@univerjs/icons');function _typeof(_0x4b109e){'@babel/helpers - typeof';const _0x2b84e4=_0x29cba2;return _typeof=_0x2b84e4(0x1e8)==typeof Symbol&&_0x2b84e4(0x1c1)==typeof Symbol[_0x2b84e4(0x16d)]?function(_0x396b04){return typeof _0x396b04;}:function(_0x91878b){const _0x4e8eca=_0x2b84e4;return _0x91878b&&_0x4e8eca(0x1e8)==typeof Symbol&&_0x91878b[_0x4e8eca(0x1f0)]===Symbol&&_0x91878b!==Symbol['prototype']?_0x4e8eca(0x1c1):typeof _0x91878b;},_typeof(_0x4b109e);}function toPrimitive(_0x4942d8,_0x17e106){const _0xbd7841=_0x29cba2;if(_0xbd7841(0x1ea)!=_typeof(_0x4942d8)||!_0x4942d8)return _0x4942d8;var _0x5f1227=_0x4942d8[Symbol['toPrimitive']];if(void 0x0!==_0x5f1227){var _0x43ca33=_0x5f1227[_0xbd7841(0x185)](_0x4942d8,_0x17e106||_0xbd7841(0x1c2));if(_0xbd7841(0x1ea)!=_typeof(_0x43ca33))return _0x43ca33;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xbd7841(0x192)===_0x17e106?String:Number)(_0x4942d8);}function _0x54be(){const _0x566aca=['POSITIVE_INFINITY','getInterceptPoints','render','menu','defineProperty','IUniverInstanceService','DependentOn','_componentManager','getConfig','UNIVER_DOCS_PRINT','with','getDocumentStyle','pageHeight','DocumentFlavor','_initComponents','_initCommands','getUnitId','756456PmUxqK','TRADITIONAL','close','get','944105YrnxCK','_initRenderer','top','UniverNetworkPlugin','_calculateLayout','DocPrintOperation','decorate','_menuManagerService','RibbonStartGroup','10TsCjlR','getSkeletonData','absolute','merge','746UGWrNj','MenuItemType','onReady','body','symbol','default','DocSkeletonManagerService','dispose','generateRandomId','CanvasRenderMode','OPERATION','_engine','Disposable','createElement','width','_skeleton','_container','onafterprint','Pages\x20are\x20not\x20found','Portrait','_injector','parseInt','1551603HDIJCC','mergeMenu','4pZRqAt','page','createPrintStyle','registerCommand','_configService','PrintIcon','pages','DOCS_PRINT_PLUGIN_CONFIG_KEY','fetchThroughInterceptors','_skeletonData','min','fill','DisposableCollection','Scene','timeValid','isLocalCheck','IRenderManagerService','_key','SwitchDocModeCommand','function','0px','object','root','_viewMain','ComponentManager','className','setId','constructor','30AopbKI','length','toStringTag','register','getContext','Plugin','translate','_currentRender','forEach','Engine','getRenderById','map','LS_CONFIG_KEY','syncExecuteCommand','interceptor','docs.operation.print','_renderManagerService','1304gyrYtm','IConfigService','__DocPrintRender__','documentFlavor','makeForceDirty','isPro','getSkeleton','@univerjs-pro/docs-print','BUTTON','_commandService','version','message','type','PRINTING_DOM_COLLECT','_addViewport','ICommandService','Skeleton\x20data\x20is\x20not\x20found','removeChild','_initMenus','left','setContainer','IMenuManagerService','getCurrentUnitOfType','UniverLicensePlugin','restore','_paperSize','container','DocumentDataModel\x20is\x20not\x20found','bottom','position','print.menu','iterator','div','updateScrollVal','UNIVER_DOC','_page','PRINT_CANVAS_CLASS','CommandType','style','1041439KyUfrQ','20531687EVLpca','_univerInstanceService','_config','VIEWPORT_KEY','100%','_documents','setConfig','_root','addObject','pageWidth','height','_scene','_addComponent','7664796JLbYFE','getDocFeatureLimit','call','onStarting','_unitId','prepare','Injector','getLicenseInfo','Inject','_offsetConfig','PRINTING_COMPONENT_COLLECT','UniverInstanceType','getOwnPropertyDescriptor','getOffsetConfig','Module','string','isFeatureAuthorizedWithinTime','save','print','Render\x20is\x20not\x20found','DocPrintInterceptorService','getCanvas','disposeWithMe','_effects'];_0x54be=function(){return _0x566aca;};return _0x54be();}function toPropertyKey(_0x17004b){const _0x4b6d4c=_0x29cba2;var _0x3724c3=toPrimitive(_0x17004b,_0x4b6d4c(0x192));return _0x4b6d4c(0x1c1)==_typeof(_0x3724c3)?_0x3724c3:_0x3724c3+'';}function _defineProperty(_0x3362ef,_0xdd8f64,_0x2cd538){const _0x374f12=_0x29cba2;return(_0xdd8f64=toPropertyKey(_0xdd8f64))in _0x3362ef?Object[_0x374f12(0x19f)](_0x3362ef,_0xdd8f64,{'value':_0x2cd538,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3362ef[_0xdd8f64]=_0x2cd538,_0x3362ef;}var DocPrintPageCanvasView=class extends _univerjs_core[_0x29cba2(0x1c9)]{get[_0x29cba2(0x168)](){const _0x5415c5=_0x29cba2;return this[_0x5415c5(0x1cd)];}get[_0x29cba2(0x1eb)](){const _0x567db3=_0x29cba2;return this[_0x567db3(0x17d)];}get[_0x29cba2(0x1f8)](){const _0x337ab6=_0x29cba2,_0x57bb3d=this[_0x337ab6(0x1d1)][_0x337ab6(0x1af)](_univerjs_engine_render[_0x337ab6(0x1e5)])[_0x337ab6(0x1fb)](this[_0x337ab6(0x187)]);if(!_0x57bb3d)throw new Error(_0x337ab6(0x196));return _0x57bb3d;}get[_0x29cba2(0x1cc)](){const _0x5c4146=_0x29cba2;return this[_0x5c4146(0x1f8)]['with'](_univerjs_docs[_0x5c4146(0x1c3)])['getSkeleton']();}get[_0x29cba2(0x1de)](){const _0x24062f=_0x29cba2,_0x2f2884=this[_0x24062f(0x1cc)][_0x24062f(0x1ba)]();if(!_0x2f2884)throw new Error(_0x24062f(0x15e));return _0x2f2884;}get[_0x29cba2(0x167)](){const _0x57c678=_0x29cba2,_0x3d4d26=this[_0x57c678(0x1de)]['pages'][0x0];return{'width':_0x3d4d26[_0x57c678(0x17f)],'height':_0x3d4d26[_0x57c678(0x1a7)]};}constructor(_0x35b176,_0x4327eb,_0x18498e,_0x1aadb3){const _0x1f3a9e=_0x29cba2;super(),this[_0x1f3a9e(0x1d1)]=_0x35b176,this['_page']=_0x4327eb,this[_0x1f3a9e(0x187)]=_0x18498e,this[_0x1f3a9e(0x18c)]=_0x1aadb3,_defineProperty(this,_0x1f3a9e(0x1cd),document[_0x1f3a9e(0x1ca)]('div')),_defineProperty(this,_0x1f3a9e(0x17d),document[_0x1f3a9e(0x1ca)](_0x1f3a9e(0x16e))),_defineProperty(this,_0x1f3a9e(0x1c8),void 0x0),_defineProperty(this,_0x1f3a9e(0x181),void 0x0),_defineProperty(this,_0x1f3a9e(0x1e6),void 0x0),_defineProperty(this,_0x1f3a9e(0x17b),void 0x0),_defineProperty(this,_0x1f3a9e(0x1ec),void 0x0),_defineProperty(this,_0x1f3a9e(0x19a),new _univerjs_core[(_0x1f3a9e(0x1e1))]()),this[_0x1f3a9e(0x1e6)]=(0x0,_univerjs_core[_0x1f3a9e(0x1c5)])(0x4),this[_0x1f3a9e(0x1b1)](),this['disposeWithMe']({'dispose':()=>{const _0x40bdf7=_0x1f3a9e;this[_0x40bdf7(0x1c8)][_0x40bdf7(0x1c4)](),this[_0x40bdf7(0x181)]['dispose'](),this[_0x40bdf7(0x19a)][_0x40bdf7(0x1c4)]();}});}[_0x29cba2(0x1b4)](){const _0x2fabf4=_0x29cba2,{docsTop:_0x4ba496,docsLeft:_0x55f7f0}=this[_0x2fabf4(0x17b)][_0x2fabf4(0x190)](),_0x1c2b98=this[_0x2fabf4(0x167)]['height'],_0x2cb2f9=this[_0x2fabf4(0x167)][_0x2fabf4(0x1cb)];return{'top':_0x4ba496+(_0x4ba496+_0x1c2b98)*this[_0x2fabf4(0x171)],'bottom':_0x4ba496+(_0x4ba496+_0x1c2b98)*(this[_0x2fabf4(0x171)]+0x1),'left':_0x55f7f0,'right':_0x55f7f0+_0x2cb2f9};}['_initRenderer'](){const _0x29ead3=_0x29cba2,_0x52c6c0=0x1;this[_0x29ead3(0x1c8)]=new _univerjs_engine_render[(_0x29ead3(0x1fa))]('',{'elementWidth':this['_paperSize'][_0x29ead3(0x1cb)],'elementHeight':this['_paperSize'][_0x29ead3(0x180)],'dpr':0x1,'renderMode':_univerjs_engine_render[_0x29ead3(0x1c6)]['Printing']}),this['_scene']=new _univerjs_engine_render[(_0x29ead3(0x1e2))](this[_0x29ead3(0x1e6)],this[_0x29ead3(0x1c8)]),this[_0x29ead3(0x181)]['scale'](_0x52c6c0,_0x52c6c0),this[_0x29ead3(0x1c8)][_0x29ead3(0x162)](this[_0x29ead3(0x1cd)],![]),this[_0x29ead3(0x1c8)][_0x29ead3(0x198)]()[_0x29ead3(0x1f5)]()[_0x29ead3(0x1ef)](this[_0x29ead3(0x1e6)]+'_'+(0x0,_univerjs_core[_0x29ead3(0x1c5)])(0x4)),this[_0x29ead3(0x182)](),this[_0x29ead3(0x210)]();}['_addComponent'](){const _0x5ce4c3=_0x29cba2,{pageMarginLeft:_0xad4d02,pageMarginTop:_0x1e077d,docsLeft:_0x10859d,docsTop:_0x2d9b66}=this[_0x5ce4c3(0x18c)],_0x36fda6={'pageMarginLeft':_0xad4d02,'pageMarginTop':_0x1e077d},_0x35fc62=new _univerjs_engine_render['Documents'](_0x5ce4c3(0x204),this['_skeleton'],_0x36fda6);_0x35fc62[_0x5ce4c3(0x1f7)](_0x10859d,_0x2d9b66),this[_0x5ce4c3(0x181)][_0x5ce4c3(0x17e)](_0x35fc62),this[_0x5ce4c3(0x17b)]=_0x35fc62;const _0x2b9d27=this['_injector'][_0x5ce4c3(0x1af)](_univerjs_docs_ui[_0x5ce4c3(0x197)]);_0x2b9d27[_0x5ce4c3(0x1ff)][_0x5ce4c3(0x1dd)](_0x2b9d27['interceptor'][_0x5ce4c3(0x19c)]()[_0x5ce4c3(0x18d)])(void 0x0,{'unitId':this[_0x5ce4c3(0x187)],'scene':this[_0x5ce4c3(0x181)],'engine':this[_0x5ce4c3(0x1c8)],'root':this[_0x5ce4c3(0x17d)],'documents':this[_0x5ce4c3(0x17b)],'skeleton':this['_skeleton']});}[_0x29cba2(0x210)](){const _0x5c9e1e=_0x29cba2;this[_0x5c9e1e(0x1ec)]=new _univerjs_engine_render['Viewport'](_univerjs_docs_ui[_0x5c9e1e(0x179)]['VIEW_MAIN'],this['_scene'],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0x29cba2(0x188)](){const _0x1b2583=_0x29cba2,_0x4fae53=this[_0x1b2583(0x1b4)]();this[_0x1b2583(0x1ec)][_0x1b2583(0x16f)]({'viewportScrollX':_0x4fae53[_0x1b2583(0x161)],'viewportScrollY':_0x4fae53[_0x1b2583(0x1b2)]}),this[_0x1b2583(0x17d)][_0x1b2583(0x174)][_0x1b2583(0x16b)]=_0x1b2583(0x1bb),this[_0x1b2583(0x17d)][_0x1b2583(0x174)][_0x1b2583(0x1b2)]=_0x1b2583(0x1e9),this[_0x1b2583(0x17d)][_0x1b2583(0x174)][_0x1b2583(0x161)]=_0x1b2583(0x1e9),this[_0x1b2583(0x17d)]['style'][_0x1b2583(0x1cb)]=_0x1b2583(0x17a),this['_root']['style'][_0x1b2583(0x180)]=_0x1b2583(0x17a),this['_effects']=new _univerjs_core[(_0x1b2583(0x1e1))]();const _0x43c691=this['_injector']['get'](_univerjs_docs_ui[_0x1b2583(0x197)]);_0x43c691[_0x1b2583(0x1ff)][_0x1b2583(0x1dd)](_0x43c691[_0x1b2583(0x1ff)]['getInterceptPoints']()[_0x1b2583(0x20f)])(this['_effects'],{'unitId':this[_0x1b2583(0x187)],'scene':this['_scene'],'engine':this[_0x1b2583(0x1c8)],'root':this[_0x1b2583(0x17d)],'skeleton':this[_0x1b2583(0x1cc)],'offset':{'x':_0x4fae53['left'],'y':_0x4fae53[_0x1b2583(0x1b2)]},'bound':{'top':_0x4fae53[_0x1b2583(0x1b2)],'left':_0x4fae53[_0x1b2583(0x161)],'right':_0x4fae53['right'],'bottom':_0x4fae53[_0x1b2583(0x16a)]}});}[_0x29cba2(0x19d)](){const _0x4c28f6=_0x29cba2,_0x17e417=this[_0x4c28f6(0x1c8)]['getCanvas']()[_0x4c28f6(0x1f5)]();this[_0x4c28f6(0x17b)][_0x4c28f6(0x206)](),this[_0x4c28f6(0x181)]['makeDirty'](),_0x17e417[_0x4c28f6(0x194)](),this[_0x4c28f6(0x181)][_0x4c28f6(0x19d)](),_0x17e417[_0x4c28f6(0x166)]();}};function __decorateParam(_0x4467ad,_0x123f72){return function(_0xa884c9,_0x28685f){_0x123f72(_0xa884c9,_0x28685f,_0x4467ad);};}function __decorate(_0xba71c2,_0x565bee,_0x5526d0,_0x49ec59){const _0x4a2828=_0x29cba2;var _0x4282bd=arguments['length'],_0x1a023a=_0x4282bd<0x3?_0x565bee:_0x49ec59===null?_0x49ec59=Object[_0x4a2828(0x18f)](_0x565bee,_0x5526d0):_0x49ec59,_0x408948;if(typeof Reflect===_0x4a2828(0x1ea)&&typeof Reflect[_0x4a2828(0x1b6)]==='function')_0x1a023a=Reflect[_0x4a2828(0x1b6)](_0xba71c2,_0x565bee,_0x5526d0,_0x49ec59);else{for(var _0x411124=_0xba71c2['length']-0x1;_0x411124>=0x0;_0x411124--)if(_0x408948=_0xba71c2[_0x411124])_0x1a023a=(_0x4282bd<0x3?_0x408948(_0x1a023a):_0x4282bd>0x3?_0x408948(_0x565bee,_0x5526d0,_0x1a023a):_0x408948(_0x565bee,_0x5526d0))||_0x1a023a;}return _0x4282bd>0x3&&_0x1a023a&&Object[_0x4a2828(0x19f)](_0x565bee,_0x5526d0,_0x1a023a),_0x1a023a;}const BUILD_TIMESTAMP=Number[_0x29cba2(0x1d2)](0x69e33d02),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x42d1ff,_0x354b37,_0x14c5de)=>{const _0xee5431=_0x29cba2,_0x564e47={'page':_0x42d1ff,'isPro':![],'timeValid':![]};if(!_0x354b37||!_0x14c5de)return _0x564e47;const _0x7553f8=(0x0,_univerjs_pro_license[_0xee5431(0x18a)])(_0x354b37,_0x14c5de);if(_0x7553f8['valid']){const _0x5b6386=_0x7553f8[_0xee5431(0x20d)],_0x2388bd=(0x0,_univerjs_pro_license[_0xee5431(0x193)])(_0x5b6386,'df',BUILD_TIMESTAMP);_0x564e47[_0xee5431(0x207)]=_0x2388bd,_0x564e47[_0xee5431(0x1e3)]=_0x2388bd,_0x564e47[_0xee5431(0x1d6)]=(0x0,_univerjs_pro_license[_0xee5431(0x184)])(_0x5b6386,_0x2388bd,'mpn',_0x42d1ff,_0x42d1ff,0x0);}return _0x564e47;};let DocPrintService=class DocPrintService extends _univerjs_core[_0x29cba2(0x1c9)]{constructor(_0x101e8e,_0x31d625,_0x140090,_0x13233b,_0x315ce4){const _0x29c1c0=_0x29cba2;super(),this[_0x29c1c0(0x177)]=_0x101e8e,this[_0x29c1c0(0x201)]=_0x31d625,this[_0x29c1c0(0x1d1)]=_0x140090,this[_0x29c1c0(0x1d9)]=_0x13233b,this['_globalZoneService']=_0x315ce4;}[_0x29cba2(0x195)](_0x537ac0){const _0x3497a5=_0x29cba2;var _0x30a8b0,_0x482ee2;const {ls:_0x4aa63f,pbk:_0x4f7064}=(_0x30a8b0=this[_0x3497a5(0x1d9)][_0x3497a5(0x1a3)](_univerjs_pro_license[_0x3497a5(0x1fd)]))!==null&&_0x30a8b0!==void 0x0?_0x30a8b0:{},_0xda49fb=(0x0,_univerjs_pro_license[_0x3497a5(0x1e4)])()?Number[_0x3497a5(0x19b)]:getPrintInfoByLicense(0x1,_0x4aa63f,_0x4f7064)[_0x3497a5(0x1d6)];if(!this[_0x3497a5(0x177)]['getUnit'](_0x537ac0,_univerjs_core[_0x3497a5(0x18e)][_0x3497a5(0x170)]))throw new Error(_0x3497a5(0x169));const _0x3dd4e4=this['_renderManagerService'][_0x3497a5(0x1fb)](_0x537ac0);if(!_0x3dd4e4)throw new Error(_0x3497a5(0x196));const _0x5b1609=(_0x482ee2=_0x3dd4e4[_0x3497a5(0x1a5)](_univerjs_docs['DocSkeletonManagerService'])[_0x3497a5(0x208)]()[_0x3497a5(0x1ba)]())===null||_0x482ee2===void 0x0?void 0x0:_0x482ee2[_0x3497a5(0x1db)];if(!_0x5b1609)throw new Error(_0x3497a5(0x1cf));const _0x591a8f={'width':_0x5b1609[0x0][_0x3497a5(0x17f)],'height':_0x5b1609[0x0][_0x3497a5(0x1a7)]},_0x4d7aec=_0x5b1609[_0x3497a5(0x1f2)],_0x1a2d0c=Math[_0x3497a5(0x1df)](_0xda49fb,_0x4d7aec),_0x493c01=_0x3dd4e4['mainComponent'][_0x3497a5(0x190)](),_0x53df40=document['createElement']('div');_0x53df40[_0x3497a5(0x1ee)]=_univerjs_pro_print['PRINT_CONTAINER_CLASS'];const _0x27b571=new Array(_0x1a2d0c)[_0x3497a5(0x1e0)](null)[_0x3497a5(0x1fc)]((_0x5db031,_0x4fbaac)=>{const _0xc20fae=_0x3497a5,_0x3fad43=new DocPrintPageCanvasView(this[_0xc20fae(0x1d1)],_0x4fbaac,_0x537ac0,_0x493c01);return _0x3fad43[_0xc20fae(0x168)]['className']=_univerjs_pro_print[_0xc20fae(0x172)],_0x3fad43;});_0x27b571[_0x3497a5(0x1f9)](_0x4c5835=>{const _0x33878c=_0x3497a5;_0x53df40['appendChild'](_0x4c5835[_0x33878c(0x168)]),_0x4c5835[_0x33878c(0x168)]['appendChild'](_0x4c5835[_0x33878c(0x1eb)]),_0x4c5835['prepare']();});const _0x12bef4=(0x0,_univerjs_pro_print[_0x3497a5(0x1d7)])(_0x591a8f[_0x3497a5(0x1cb)],_0x591a8f['height'],_univerjs_pro_print['PrintDirection'][_0x3497a5(0x1d0)]);return document[_0x3497a5(0x1c0)]['appendChild'](_0x12bef4),document['body']['appendChild'](_0x53df40),new Promise(_0x2fb1a9=>{setTimeout(()=>{const _0x35b072=_0xf9e4;window['onbeforeprint']=()=>{const _0x2ead61=_0xf9e4;_0x27b571[_0x2ead61(0x1f9)](_0x4c8fde=>{const _0x3f8dec=_0x2ead61;_0x4c8fde[_0x3f8dec(0x19d)]();});},window[_0x35b072(0x1ce)]=()=>{const _0xa92f61=_0x35b072;_0x27b571[_0xa92f61(0x1f9)](_0x39d2f8=>{const _0x5df9a8=_0xa92f61;_0x39d2f8[_0x5df9a8(0x1c4)]();}),document[_0xa92f61(0x1c0)][_0xa92f61(0x15f)](_0x53df40),document[_0xa92f61(0x1c0)][_0xa92f61(0x15f)](_0x12bef4),this['_globalZoneService'][_0xa92f61(0x1ae)](),_0x2fb1a9(!![]);},window[_0x35b072(0x195)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,_univerjs_core[_0x29cba2(0x1a0)]),__decorateParam(0x1,_univerjs_engine_render[_0x29cba2(0x1e5)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x29cba2(0x18b)])(_univerjs_core[_0x29cba2(0x189)])),__decorateParam(0x3,_univerjs_core[_0x29cba2(0x203)]),__decorateParam(0x4,_univerjs_ui['IGlobalZoneService'])],DocPrintService);const DocPrintOperation={'id':_0x29cba2(0x200),'type':_univerjs_core[_0x29cba2(0x173)][_0x29cba2(0x1c7)],'handler':async _0x4b630c=>{const _0x51ee8e=_0x29cba2,_0x3064d8=_0x4b630c[_0x51ee8e(0x1af)](_univerjs_core[_0x51ee8e(0x1a0)]),_0x168f8f=_0x4b630c[_0x51ee8e(0x1af)](DocPrintService),_0x1a85b4=_0x4b630c[_0x51ee8e(0x1af)](_univerjs_engine_render['IRenderManagerService']),_0x3cf625=_0x4b630c[_0x51ee8e(0x1af)](_univerjs_core[_0x51ee8e(0x15d)]),_0x3a912d=_0x3064d8[_0x51ee8e(0x164)](_univerjs_core[_0x51ee8e(0x18e)][_0x51ee8e(0x170)]);if(!_0x3a912d)return![];if(!_0x1a85b4[_0x51ee8e(0x1fb)](_0x3a912d['getUnitId']()))throw new Error(_0x51ee8e(0x196));const _0x269d00=_0x3a912d[_0x51ee8e(0x1a6)]()[_0x51ee8e(0x205)];if(_0x269d00!==_univerjs_core[_0x51ee8e(0x1a8)][_0x51ee8e(0x1ad)])_0x3cf625[_0x51ee8e(0x1fe)](_univerjs_docs_ui[_0x51ee8e(0x1e7)]['id']);await _0x168f8f['print'](_0x3a912d[_0x51ee8e(0x1ab)]());if(_0x269d00!==_univerjs_core[_0x51ee8e(0x1a8)]['TRADITIONAL'])_0x3cf625[_0x51ee8e(0x1fe)](_univerjs_docs_ui['SwitchDocModeCommand']['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0x29cba2(0x1a4),defaultPluginConfig={};function _0xf9e4(_0x27daf3,_0x38dbd3){_0x27daf3=_0x27daf3-0x15d;const _0x54befa=_0x54be();let _0xf9e411=_0x54befa[_0x27daf3];return _0xf9e411;}var name=_0x29cba2(0x209),version='0.20.1-insiders.20260418-3a69981';const DOCS_PRINT_PLUGIN_NAME=_0x29cba2(0x1a4);function DocPrintMenuItemFactory(_0x3d5738){const _0x3280cc=_0x29cba2;return{'id':DocPrintOperation['id'],'type':_univerjs_ui[_0x3280cc(0x1be)][_0x3280cc(0x20a)],'title':_0x3280cc(0x16c),'icon':_0x3280cc(0x1da),'tooltip':'print.menu','hidden$':(0x0,_univerjs_ui['getMenuHiddenObservable'])(_0x3d5738,_univerjs_core['UniverInstanceType'][_0x3280cc(0x170)])};}const menuSchema={[_univerjs_ui[_0x29cba2(0x1b8)]['OTHERS']]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends _univerjs_core[_0x29cba2(0x1c9)]{constructor(_0x4835f7,_0x4e06d9,_0x13ea49){const _0x3f0f60=_0x29cba2;super(),this[_0x3f0f60(0x20b)]=_0x4835f7,this[_0x3f0f60(0x1b7)]=_0x4e06d9,this[_0x3f0f60(0x1a2)]=_0x13ea49,this[_0x3f0f60(0x160)](),this[_0x3f0f60(0x1aa)](),this[_0x3f0f60(0x1a9)]();}['_initMenus'](){const _0x22d309=_0x29cba2;this['_menuManagerService'][_0x22d309(0x1d4)](menuSchema);}['_initCommands'](){const _0x5e2772=_0x29cba2;this[_0x5e2772(0x199)](this[_0x5e2772(0x20b)][_0x5e2772(0x1d8)](DocPrintOperation));}[_0x29cba2(0x1a9)](){const _0x5afb91=_0x29cba2;[[_0x5afb91(0x1da),_univerjs_icons['PrintIcon']]][_0x5afb91(0x1f9)](([_0x3c3ac0,_0x2c64d8])=>{const _0x4b727f=_0x5afb91;this[_0x4b727f(0x1a2)][_0x4b727f(0x1f4)](_0x3c3ac0,_0x2c64d8);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,_univerjs_core['ICommandService']),__decorateParam(0x1,_univerjs_ui[_0x29cba2(0x163)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x29cba2(0x18b)])(_univerjs_ui[_0x29cba2(0x1ed)]))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends _univerjs_core[_0x29cba2(0x1f6)]{constructor(_0x743a8b=defaultPluginConfig,_0x3dff46,_0x1684c4){const _0x52bd47=_0x29cba2;super(),this['_config']=_0x743a8b,this[_0x52bd47(0x1d1)]=_0x3dff46,this[_0x52bd47(0x1d9)]=_0x1684c4;const {menu:_0x4ed5c6,..._0x411457}=(0x0,_univerjs_core[_0x52bd47(0x1bc)])({},defaultPluginConfig,this[_0x52bd47(0x178)]);if(_0x4ed5c6)this[_0x52bd47(0x1d9)][_0x52bd47(0x17c)](_0x52bd47(0x19e),_0x4ed5c6,{'merge':!![]});this[_0x52bd47(0x1d9)][_0x52bd47(0x17c)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x411457);}[_0x29cba2(0x186)](){const _0x4ba592=_0x29cba2;(0x0,_univerjs_core['registerDependencies'])(this[_0x4ba592(0x1d1)],[[DocPrintService],[DocsPrintUIController]]);}[_0x29cba2(0x1bf)](){const _0x4d4f7b=_0x29cba2;this['_injector'][_0x4d4f7b(0x1af)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,'pluginName',DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,'packageName',name),_defineProperty(UniverDocsPrintPlugin,_0x29cba2(0x20c),version),_defineProperty(UniverDocsPrintPlugin,_0x29cba2(0x20e),_univerjs_core[_0x29cba2(0x18e)][_0x29cba2(0x170)]),UniverDocsPrintPlugin=__decorate([(0x0,_univerjs_core[_0x29cba2(0x1a1)])(_univerjs_network[_0x29cba2(0x1b3)],_univerjs_pro_license[_0x29cba2(0x165)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x29cba2(0x18b)])(_univerjs_core['Injector'])),__decorateParam(0x2,_univerjs_core[_0x29cba2(0x203)])],UniverDocsPrintPlugin),exports[_0x29cba2(0x1dc)]=DOCS_PRINT_PLUGIN_CONFIG_KEY,exports[_0x29cba2(0x1b5)]=DocPrintOperation,Object[_0x29cba2(0x19f)](exports,'UniverDocsPrintPlugin',{'enumerable':!![],'get':function(){return UniverDocsPrintPlugin;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x27a3f1,_0x41b0c8){const _0x36707e=_0x53f3,_0x21e2cb=_0x27a3f1();while(!![]){try{const _0x21d0a3=parseInt(_0x36707e(0x1ca))/0x1+-parseInt(_0x36707e(0x1cf))/0x2*(-parseInt(_0x36707e(0x1cc))/0x3)+parseInt(_0x36707e(0x1ce))/0x4*(parseInt(_0x36707e(0x1cb))/0x5)+parseInt(_0x36707e(0x1d0))/0x6*(-parseInt(_0x36707e(0x1c9))/0x7)+parseInt(_0x36707e(0x1c8))/0x8*(parseInt(_0x36707e(0x1cd))/0x9)+parseInt(_0x36707e(0x1d3))/0xa*(-parseInt(_0x36707e(0x1d2))/0xb)+-parseInt(_0x36707e(0x1d1))/0xc;if(_0x21d0a3===_0x41b0c8)break;else _0x21e2cb['push'](_0x21e2cb['shift']());}catch(_0x2ed057){_0x21e2cb['push'](_0x21e2cb['shift']());}}}(_0x1fe5,0x72abd));function _0x1fe5(){const _0x5a428b=['26bWdsfA','4605870DJjSSJ','10625160jaAYSC','29689ULJRjM','410zIgcEV','1590904pFSTOD','7pcCkRx','642087hRPOPl','2190AYtRwz','12849phRVYF','27ACWNnw','8576wZTAfn'];_0x1fe5=function(){return _0x5a428b;};return _0x1fe5();}const locale$1={'print':{'menu':'Print'}},locale=locale$1;function _0x53f3(_0x468af5,_0x1226ec){_0x468af5=_0x468af5-0x1c8;const _0x1fe5cf=_0x1fe5();let _0x53f3fd=_0x1fe5cf[_0x468af5];return _0x53f3fd;}module['exports']=locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5e7cab=_0x505a;(function(_0x418c2f,_0xd5ca8f){const _0x30ecf9=_0x505a,_0x598f80=_0x418c2f();while(!![]){try{const _0x31b1e3=parseInt(_0x30ecf9(0x120))/0x1+parseInt(_0x30ecf9(0x121))/0x2+parseInt(_0x30ecf9(0x11f))/0x3*(-parseInt(_0x30ecf9(0x124))/0x4)+-parseInt(_0x30ecf9(0x127))/0x5+parseInt(_0x30ecf9(0x126))/0x6+-parseInt(_0x30ecf9(0x123))/0x7+parseInt(_0x30ecf9(0x125))/0x8;if(_0x31b1e3===_0xd5ca8f)break;else _0x598f80['push'](_0x598f80['shift']());}catch(_0x40c43a){_0x598f80['push'](_0x598f80['shift']());}}}(_0x1eb1,0x40a99));const locale={'print':{'menu':_0x5e7cab(0x122)}};module[_0x5e7cab(0x11e)]=locale;function _0x505a(_0x29854f,_0x4634ad){_0x29854f=_0x29854f-0x11e;const _0x1eb1d3=_0x1eb1();let _0x505acf=_0x1eb1d3[_0x29854f];return _0x505acf;}function _0x1eb1(){const _0x2e178f=['Print','2516661ajeSqz','8ISLZDK','4679760ntEVKU','1357968UYXhgL','2228535QeJfRZ','exports','71034KMhbmh','300179yEjuXa','11932aYxDon'];_0x1eb1=function(){return _0x2e178f;};return _0x1eb1();}
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x217fda=_0x147f;function _0x147f(_0x1f7b8c,_0x489843){_0x1f7b8c=_0x1f7b8c-0x83;const _0x4ea3b7=_0x4ea3();let _0x147f43=_0x4ea3b7[_0x1f7b8c];return _0x147f43;}(function(_0x5df35c,_0x6f54e){const _0x4edcb0=_0x147f,_0xafe973=_0x5df35c();while(!![]){try{const _0x5cd7db=-parseInt(_0x4edcb0(0x8a))/0x1+-parseInt(_0x4edcb0(0x85))/0x2*(-parseInt(_0x4edcb0(0x8d))/0x3)+-parseInt(_0x4edcb0(0x83))/0x4*(parseInt(_0x4edcb0(0x8b))/0x5)+-parseInt(_0x4edcb0(0x88))/0x6+parseInt(_0x4edcb0(0x84))/0x7+-parseInt(_0x4edcb0(0x89))/0x8+parseInt(_0x4edcb0(0x8c))/0x9*(parseInt(_0x4edcb0(0x86))/0xa);if(_0x5cd7db===_0x6f54e)break;else _0xafe973['push'](_0xafe973['shift']());}catch(_0x4ee258){_0xafe973['push'](_0xafe973['shift']());}}}(_0x4ea3,0x3b633));const locale$1={'print':{'menu':'Print'}},locale=locale$1;function _0x4ea3(){const _0x242cd1=['exports','1892742dkcAdm','252544tCUKAj','224888XGmDfS','40535scRFtS','207BRFwVB','114651nqDUTi','4wGAvfW','1595622RQjHrT','22KEJJrI','76060egjWJT'];_0x4ea3=function(){return _0x242cd1;};return _0x4ea3();}module[_0x217fda(0x87)]=locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x595305,_0x486300){const _0x4435cb=_0x3cc2,_0x4db6aa=_0x595305();while(!![]){try{const _0x290f98=-parseInt(_0x4435cb(0xe6))/0x1*(-parseInt(_0x4435cb(0xec))/0x2)+parseInt(_0x4435cb(0xf0))/0x3*(-parseInt(_0x4435cb(0xe7))/0x4)+-parseInt(_0x4435cb(0xeb))/0x5*(-parseInt(_0x4435cb(0xed))/0x6)+parseInt(_0x4435cb(0xef))/0x7*(parseInt(_0x4435cb(0xe8))/0x8)+parseInt(_0x4435cb(0xe5))/0x9+-parseInt(_0x4435cb(0xee))/0xa*(parseInt(_0x4435cb(0xf1))/0xb)+parseInt(_0x4435cb(0xea))/0xc*(-parseInt(_0x4435cb(0xe9))/0xd);if(_0x290f98===_0x486300)break;else _0x4db6aa['push'](_0x4db6aa['shift']());}catch(_0x55a23c){_0x4db6aa['push'](_0x4db6aa['shift']());}}}(_0x38df,0x80fbe));const locale={'print':{'menu':'چاپ'}};function _0x3cc2(_0x573bff,_0x177f5c){_0x573bff=_0x573bff-0xe5;const _0x38dfd8=_0x38df();let _0x3cc262=_0x38dfd8[_0x573bff];return _0x3cc262;}function _0x38df(){const _0x29e0a9=['109NzLTdj','1241052pDxvbZ','266536ILSutr','10747321AWNZVO','12BCmBJN','5tMoyWc','13814eNyIwT','1631298djIaRa','10vfTHpu','133VtJsUA','3tPqvcf','4735896PzHfNv','3942585yQxKDw'];_0x38df=function(){return _0x29e0a9;};return _0x38df();}module['exports']=locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x22c696=_0x22d0;function _0x22d0(_0x2c9057,_0x4f14d2){_0x2c9057=_0x2c9057-0x9c;const _0xa69c6=_0xa69c();let _0x22d0b6=_0xa69c6[_0x2c9057];return _0x22d0b6;}function _0xa69c(){const _0x1276df=['245721rOSJOm','104bMCoiT','5GXznLb','43732818sAhoOj','exports','2780250BiHERC','4282926xPslaU','1667946fdyaYR','884853Nuuyjm','4660052vfnCvE'];_0xa69c=function(){return _0x1276df;};return _0xa69c();}(function(_0x479538,_0xf05d43){const _0x3e10b8=_0x22d0,_0x2d6aa5=_0x479538();while(!![]){try{const _0x58b346=-parseInt(_0x3e10b8(0x9d))/0x1+-parseInt(_0x3e10b8(0xa4))/0x2+-parseInt(_0x3e10b8(0xa5))/0x3+parseInt(_0x3e10b8(0x9e))/0x4*(-parseInt(_0x3e10b8(0xa1))/0x5)+parseInt(_0x3e10b8(0x9c))/0x6+-parseInt(_0x3e10b8(0x9f))/0x7*(-parseInt(_0x3e10b8(0xa0))/0x8)+parseInt(_0x3e10b8(0xa2))/0x9;if(_0x58b346===_0xf05d43)break;else _0x2d6aa5['push'](_0x2d6aa5['shift']());}catch(_0x58cd1d){_0x2d6aa5['push'](_0x2d6aa5['shift']());}}}(_0xa69c,0xb138b));const locale={'print':{'menu':'Imprimer'}};module[_0x22c696(0xa3)]=locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x254a46=_0x4ee8;function _0x4ee8(_0x484282,_0x416dd9){_0x484282=_0x484282-0x181;const _0x52ae1e=_0x52ae();let _0x4ee813=_0x52ae1e[_0x484282];return _0x4ee813;}(function(_0x414338,_0xb505df){const _0x1fb732=_0x4ee8,_0xb2910f=_0x414338();while(!![]){try{const _0x5a5799=parseInt(_0x1fb732(0x18c))/0x1*(-parseInt(_0x1fb732(0x187))/0x2)+-parseInt(_0x1fb732(0x188))/0x3*(-parseInt(_0x1fb732(0x18b))/0x4)+parseInt(_0x1fb732(0x185))/0x5+parseInt(_0x1fb732(0x186))/0x6*(-parseInt(_0x1fb732(0x18d))/0x7)+parseInt(_0x1fb732(0x183))/0x8*(parseInt(_0x1fb732(0x181))/0x9)+-parseInt(_0x1fb732(0x182))/0xa*(parseInt(_0x1fb732(0x184))/0xb)+parseInt(_0x1fb732(0x18a))/0xc;if(_0x5a5799===_0xb505df)break;else _0xb2910f['push'](_0xb2910f['shift']());}catch(_0x576968){_0xb2910f['push'](_0xb2910f['shift']());}}}(_0x52ae,0x32deb));const locale={'print':{'menu':'印刷'}};module[_0x254a46(0x189)]=locale;function _0x52ae(){const _0x1d8b93=['1028rIPcqH','113341WMQEVO','7NFebTv','3606453URKUbg','170EfzRwX','8bkXSRX','32362ZJwwYJ','149480zQTVzt','1215876twaTMJ','2PhqExi','1473sTZPkw','exports','210768JWDTvL'];_0x52ae=function(){return _0x1d8b93;};return _0x52ae();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x303cbd,_0x35516b){const _0x265682=_0xa0e3,_0x386200=_0x303cbd();while(!![]){try{const _0x5bfb8c=parseInt(_0x265682(0x17b))/0x1+parseInt(_0x265682(0x177))/0x2*(parseInt(_0x265682(0x179))/0x3)+-parseInt(_0x265682(0x17a))/0x4+-parseInt(_0x265682(0x178))/0x5+parseInt(_0x265682(0x17c))/0x6+parseInt(_0x265682(0x17d))/0x7+-parseInt(_0x265682(0x17e))/0x8;if(_0x5bfb8c===_0x35516b)break;else _0x386200['push'](_0x386200['shift']());}catch(_0x9f58ef){_0x386200['push'](_0x386200['shift']());}}}(_0x31d2,0x94abb));const locale={'print':{'menu':'인쇄'}};function _0xa0e3(_0x35f030,_0x55a84d){_0x35f030=_0x35f030-0x177;const _0x31d22a=_0x31d2();let _0xa0e3ed=_0x31d22a[_0x35f030];return _0xa0e3ed;}function _0x31d2(){const _0x1cf205=['462629facwcg','3639522VvpOGT','7232274TfJTUj','9629128kluUzk','2IvKDuc','2178365xfiUTQ','484050UPTnyn','61916QAAjkF'];_0x31d2=function(){return _0x1cf205;};return _0x31d2();}module['exports']=locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2d74d6=_0x19af;(function(_0x23da21,_0x277aa2){const _0xf93621=_0x19af,_0x55dcdf=_0x23da21();while(!![]){try{const _0x277cc4=parseInt(_0xf93621(0xf0))/0x1*(parseInt(_0xf93621(0xec))/0x2)+parseInt(_0xf93621(0xee))/0x3+-parseInt(_0xf93621(0xeb))/0x4+parseInt(_0xf93621(0xf1))/0x5*(parseInt(_0xf93621(0xe7))/0x6)+parseInt(_0xf93621(0xed))/0x7*(parseInt(_0xf93621(0xea))/0x8)+parseInt(_0xf93621(0xe8))/0x9*(parseInt(_0xf93621(0xe9))/0xa)+parseInt(_0xf93621(0xe6))/0xb*(-parseInt(_0xf93621(0xf3))/0xc);if(_0x277cc4===_0x277aa2)break;else _0x55dcdf['push'](_0x55dcdf['shift']());}catch(_0x70f4f3){_0x55dcdf['push'](_0x55dcdf['shift']());}}}(_0x3571,0xcb049));function _0x19af(_0xf6ec88,_0x1b9470){_0xf6ec88=_0xf6ec88-0xe6;const _0x357160=_0x3571();let _0x19afdb=_0x357160[_0xf6ec88];return _0x19afdb;}const locale={'print':{'menu':_0x2d74d6(0xef)}};function _0x3571(){const _0x36b4a0=['45830SrhcZQ','exports','12xRspun','31758221WHyqDr','408wGiLuX','9jTBhdy','5064450uiaiDb','16QbsZfH','4787008BAKPQT','917220lxaJpX','5720001kuJcyy','3702555ckfWsJ','Печать','2Wxulie'];_0x3571=function(){return _0x36b4a0;};return _0x3571();}module[_0x2d74d6(0xf2)]=locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xf442(){const _0x5d6c92=['2782734BxOExh','3890TCYMMx','415836lKNmKH','6vDQgPS','6118497jyjrfO','95909OBEefG','Tlač','86228hQYFpL','40wJmMXP','18657ipEwIM','1754878XMtFPL','exports','55spmQPO'];_0xf442=function(){return _0x5d6c92;};return _0xf442();}const _0x50f658=_0x3ba3;function _0x3ba3(_0x2c80c0,_0x25d8db){_0x2c80c0=_0x2c80c0-0x1be;const _0xf442cc=_0xf442();let _0x3ba3b3=_0xf442cc[_0x2c80c0];return _0x3ba3b3;}(function(_0x317471,_0x11d558){const _0x1e796c=_0x3ba3,_0x281d53=_0x317471();while(!![]){try{const _0x293024=parseInt(_0x1e796c(0x1c1))/0x1+parseInt(_0x1e796c(0x1c9))/0x2*(-parseInt(_0x1e796c(0x1c2))/0x3)+-parseInt(_0x1e796c(0x1c6))/0x4*(-parseInt(_0x1e796c(0x1be))/0x5)+-parseInt(_0x1e796c(0x1bf))/0x6+-parseInt(_0x1e796c(0x1c3))/0x7+parseInt(_0x1e796c(0x1c7))/0x8*(parseInt(_0x1e796c(0x1c8))/0x9)+-parseInt(_0x1e796c(0x1c0))/0xa*(-parseInt(_0x1e796c(0x1c4))/0xb);if(_0x293024===_0x11d558)break;else _0x281d53['push'](_0x281d53['shift']());}catch(_0x295f6d){_0x281d53['push'](_0x281d53['shift']());}}}(_0xf442,0xeaee9));const locale={'print':{'menu':_0x50f658(0x1c5)}};module[_0x50f658(0x1ca)]=locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x234a12,_0x48c0b0){const _0x3e9a15=_0x16bd,_0x37707a=_0x234a12();while(!![]){try{const _0x30093d=-parseInt(_0x3e9a15(0x16b))/0x1+parseInt(_0x3e9a15(0x165))/0x2*(parseInt(_0x3e9a15(0x16a))/0x3)+-parseInt(_0x3e9a15(0x16d))/0x4*(-parseInt(_0x3e9a15(0x16e))/0x5)+-parseInt(_0x3e9a15(0x166))/0x6*(-parseInt(_0x3e9a15(0x167))/0x7)+-parseInt(_0x3e9a15(0x168))/0x8+parseInt(_0x3e9a15(0x169))/0x9+parseInt(_0x3e9a15(0x16f))/0xa*(-parseInt(_0x3e9a15(0x16c))/0xb);if(_0x30093d===_0x48c0b0)break;else _0x37707a['push'](_0x37707a['shift']());}catch(_0x4f418f){_0x37707a['push'](_0x37707a['shift']());}}}(_0xdf3f,0x781d5));function _0xdf3f(){const _0xdc15f3=['1737664ifFPOl','8208936vtkwCp','291AGlQmT','214590BKAafz','369028LTwKAg','1082292ObFRZv','15KXnZoT','430DgDLTR','2500QnQxPa','1563834bBqegz','14HSGxKW'];_0xdf3f=function(){return _0xdc15f3;};return _0xdf3f();}function _0x16bd(_0x49d505,_0x35501e){_0x49d505=_0x49d505-0x165;const _0xdf3f94=_0xdf3f();let _0x16bd8d=_0xdf3f94[_0x49d505];return _0x16bd8d;}const locale={'print':{'menu':'In'}};module['exports']=locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4c4417,_0x5c73ad){const _0x270465=_0x5e79,_0x381fdc=_0x4c4417();while(!![]){try{const _0x1bf91d=-parseInt(_0x270465(0x67))/0x1+parseInt(_0x270465(0x6f))/0x2+-parseInt(_0x270465(0x69))/0x3*(-parseInt(_0x270465(0x6d))/0x4)+-parseInt(_0x270465(0x66))/0x5*(-parseInt(_0x270465(0x70))/0x6)+parseInt(_0x270465(0x6c))/0x7*(parseInt(_0x270465(0x6b))/0x8)+parseInt(_0x270465(0x6a))/0x9*(-parseInt(_0x270465(0x68))/0xa)+parseInt(_0x270465(0x6e))/0xb;if(_0x1bf91d===_0x5c73ad)break;else _0x381fdc['push'](_0x381fdc['shift']());}catch(_0xaba3fa){_0x381fdc['push'](_0x381fdc['shift']());}}}(_0x27e2,0x9589f));function _0x27e2(){const _0x5698b1=['153dJucpY','9lwUijf','2008ODrOUb','9667UIVnxw','65804sGJdBO','2765917nEQAFV','533674GVptQL','10776qjxUbL','1895zNqQrt','647322cfncOu','11247670LHHwzP'];_0x27e2=function(){return _0x5698b1;};return _0x27e2();}const locale={'print':{'menu':'打印'}};function _0x5e79(_0x25a4ea,_0x12f3e9){_0x25a4ea=_0x25a4ea-0x66;const _0x27e2d1=_0x27e2();let _0x5e79fc=_0x27e2d1[_0x25a4ea];return _0x5e79fc;}module['exports']=locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1fd8b2,_0x4829bc){const _0x4729f8=_0x114c,_0x272e5e=_0x1fd8b2();while(!![]){try{const _0x379cd8=parseInt(_0x4729f8(0xab))/0x1+parseInt(_0x4729f8(0xaf))/0x2*(-parseInt(_0x4729f8(0xb0))/0x3)+-parseInt(_0x4729f8(0xaa))/0x4*(parseInt(_0x4729f8(0xb3))/0x5)+-parseInt(_0x4729f8(0xad))/0x6+-parseInt(_0x4729f8(0xb4))/0x7+parseInt(_0x4729f8(0xac))/0x8*(-parseInt(_0x4729f8(0xae))/0x9)+-parseInt(_0x4729f8(0xb2))/0xa*(-parseInt(_0x4729f8(0xb1))/0xb);if(_0x379cd8===_0x4829bc)break;else _0x272e5e['push'](_0x272e5e['shift']());}catch(_0x4869fc){_0x272e5e['push'](_0x272e5e['shift']());}}}(_0x28e3,0xc1988));function _0x114c(_0x2dad13,_0x3421bb){_0x2dad13=_0x2dad13-0xaa;const _0x28e324=_0x28e3();let _0x114c44=_0x28e324[_0x2dad13];return _0x114c44;}const locale={'print':{'menu':'列印'}};function _0x28e3(){const _0x13e89b=['188Vqrrsi','1225967ZQnebN','8COckIy','1945200jVmFRQ','4071231JItJyQ','74474RlTaoc','87ZbQktj','1936CXSVWx','136460eKixOm','88625qCGFtp','1016316UpANOw'];_0x28e3=function(){return _0x13e89b;};return _0x28e3();}module['exports']=locale;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x46b457=_0x5349;(function(_0x1222a9,_0x1a6c4e){const _0x3e8529=_0x5349,_0x103f62=_0x1222a9();while(!![]){try{const _0x2d134f=parseInt(_0x3e8529(0x208))/0x1+-parseInt(_0x3e8529(0x1c6))/0x2+-parseInt(_0x3e8529(0x181))/0x3+parseInt(_0x3e8529(0x1ba))/0x4*(parseInt(_0x3e8529(0x1ad))/0x5)+-parseInt(_0x3e8529(0x1d1))/0x6*(parseInt(_0x3e8529(0x1f8))/0x7)+-parseInt(_0x3e8529(0x1b6))/0x8*(-parseInt(_0x3e8529(0x1e8))/0x9)+parseInt(_0x3e8529(0x1cc))/0xa;if(_0x2d134f===_0x1a6c4e)break;else _0x103f62['push'](_0x103f62['shift']());}catch(_0x2a3983){_0x103f62['push'](_0x103f62['shift']());}}}(_0x4761,0x2d38a));import{CommandType as _0x54e83d,DependentOn as _0x186296,Disposable as _0x5bf14f,DisposableCollection as _0x405cfb,DocumentFlavor as _0x5072de,ICommandService as _0x5c05c7,IConfigService as _0x5c58bc,IUniverInstanceService as _0x7a8986,Inject as _0x2651b8,Injector as _0x3a9be1,Plugin as _0x387c8c,UniverInstanceType as _0x7d6121,generateRandomId as _0x3ae56d,merge as _0x527a84,registerDependencies as _0x43423e}from'@univerjs/core';import{DocPrintInterceptorService as _0x3d18fe,SwitchDocModeCommand as _0xae403b,VIEWPORT_KEY as _0x19c3ab}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x4e2949,Documents as _0xa20200,Engine as _0x5a83e9,IRenderManagerService as _0x28af86,Scene as _0x5e6835,Viewport as _0xb0afc2}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xffccde,UniverLicensePlugin as _0x167a07,getDocFeatureLimit as _0x2c5d28,getLicenseInfo as _0x1026e1,isFeatureAuthorizedWithinTime as _0x376536,isLocalCheck as _0x264e4b}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x5b00e2,PRINT_CONTAINER_CLASS as _0x22981f,PrintDirection as _0x25448f,createPrintStyle as _0x4dea18}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x17a61d}from'@univerjs/docs';import{ComponentManager as _0x2e3a09,IGlobalZoneService as _0x3192bf,IMenuManagerService as _0x5bbb47,MenuItemType as _0x2da5bd,RibbonStartGroup as _0x337f28,getMenuHiddenObservable as _0x407750}from'@univerjs/ui';import{UniverNetworkPlugin as _0x339053}from'@univerjs/network';import{PrintIcon as _0x2f3c2f}from'@univerjs/icons';function z(_0x1040ef){'@babel/helpers - typeof';const _0x587c4a=_0x5349;return z=typeof Symbol==_0x587c4a(0x1da)&&typeof Symbol[_0x587c4a(0x1c9)]=='symbol'?function(_0x38eda3){return typeof _0x38eda3;}:function(_0x1fd935){const _0x2e2eb0=_0x587c4a;return _0x1fd935&&typeof Symbol==_0x2e2eb0(0x1da)&&_0x1fd935[_0x2e2eb0(0x192)]===Symbol&&_0x1fd935!==Symbol[_0x2e2eb0(0x203)]?_0x2e2eb0(0x1bf):typeof _0x1fd935;},z(_0x1040ef);}function B(_0x567583,_0x38b692){const _0x35d5e5=_0x5349;if(z(_0x567583)!=_0x35d5e5(0x1a8)||!_0x567583)return _0x567583;var _0x6fee5c=_0x567583[Symbol[_0x35d5e5(0x1dd)]];if(_0x6fee5c!==void 0x0){var _0x3e51c4=_0x6fee5c[_0x35d5e5(0x1d3)](_0x567583,_0x38b692||_0x35d5e5(0x1f9));if(z(_0x3e51c4)!=_0x35d5e5(0x1a8))return _0x3e51c4;throw TypeError(_0x35d5e5(0x1c8));}return(_0x38b692==='string'?String:Number)(_0x567583);}function V(_0x1337f6){const _0x18baea=_0x5349;var _0x4de246=B(_0x1337f6,_0x18baea(0x1fe));return z(_0x4de246)=='symbol'?_0x4de246:_0x4de246+'';}function H(_0x7d8c77,_0x4c30d5,_0x16dcec){const _0xfed9f2=_0x5349;return(_0x4c30d5=V(_0x4c30d5))in _0x7d8c77?Object[_0xfed9f2(0x19e)](_0x7d8c77,_0x4c30d5,{'value':_0x16dcec,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7d8c77[_0x4c30d5]=_0x16dcec,_0x7d8c77;}var U=class extends _0x5bf14f{get[_0x46b457(0x18e)](){const _0x2dd621=_0x46b457;return this[_0x2dd621(0x1cb)];}get[_0x46b457(0x1e9)](){const _0x28baf1=_0x46b457;return this[_0x28baf1(0x201)];}get[_0x46b457(0x1ce)](){const _0x34b9f4=_0x46b457;let _0xa6339=this[_0x34b9f4(0x190)][_0x34b9f4(0x1be)](_0x28af86)[_0x34b9f4(0x1e7)](this[_0x34b9f4(0x1d4)]);if(!_0xa6339)throw Error(_0x34b9f4(0x209));return _0xa6339;}get[_0x46b457(0x1c0)](){return this['_currentRender']['with'](_0x17a61d)['getSkeleton']();}get[_0x46b457(0x1a9)](){const _0x1fa9d7=_0x46b457;let _0x35ea14=this[_0x1fa9d7(0x1c0)][_0x1fa9d7(0x1ae)]();if(!_0x35ea14)throw Error(_0x1fa9d7(0x206));return _0x35ea14;}get['_paperSize'](){const _0x5f5cfd=_0x46b457;let _0x132c8c=this[_0x5f5cfd(0x1a9)][_0x5f5cfd(0x1d2)][0x0];return{'width':_0x132c8c['pageWidth'],'height':_0x132c8c['pageHeight']};}constructor(_0x33cda4,_0x3632b8,_0xf760de,_0x425c6f){const _0x4e51ba=_0x46b457;super(),this['_injector']=_0x33cda4,this[_0x4e51ba(0x1b7)]=_0x3632b8,this[_0x4e51ba(0x1d4)]=_0xf760de,this[_0x4e51ba(0x1d8)]=_0x425c6f,H(this,_0x4e51ba(0x1cb),document['createElement'](_0x4e51ba(0x1b2))),H(this,_0x4e51ba(0x201),document[_0x4e51ba(0x1d7)](_0x4e51ba(0x1b2))),H(this,_0x4e51ba(0x187),void 0x0),H(this,_0x4e51ba(0x1ca),void 0x0),H(this,'_key',void 0x0),H(this,_0x4e51ba(0x1b8),void 0x0),H(this,_0x4e51ba(0x17a),void 0x0),H(this,_0x4e51ba(0x1a0),new _0x405cfb()),this[_0x4e51ba(0x1ee)]=_0x3ae56d(0x4),this[_0x4e51ba(0x18b)](),this[_0x4e51ba(0x1fb)]({'dispose':()=>{const _0x520c0a=_0x4e51ba;this[_0x520c0a(0x187)][_0x520c0a(0x1a5)](),this['_scene'][_0x520c0a(0x1a5)](),this['_effects'][_0x520c0a(0x1a5)]();}});}[_0x46b457(0x1d9)](){const _0x21964b=_0x46b457;let {docsTop:_0x2a6670,docsLeft:_0x54409a}=this['_documents'][_0x21964b(0x205)](),_0x2698de=this[_0x21964b(0x1ac)][_0x21964b(0x1ec)],_0x255546=this[_0x21964b(0x1ac)][_0x21964b(0x18f)];return{'top':_0x2a6670+(_0x2a6670+_0x2698de)*this[_0x21964b(0x1b7)],'bottom':_0x2a6670+(_0x2a6670+_0x2698de)*(this[_0x21964b(0x1b7)]+0x1),'left':_0x54409a,'right':_0x54409a+_0x255546};}[_0x46b457(0x18b)](){const _0x3ae6e6=_0x46b457;this[_0x3ae6e6(0x187)]=new _0x5a83e9('',{'elementWidth':this[_0x3ae6e6(0x1ac)][_0x3ae6e6(0x18f)],'elementHeight':this[_0x3ae6e6(0x1ac)][_0x3ae6e6(0x1ec)],'dpr':0x1,'renderMode':_0x4e2949[_0x3ae6e6(0x1f0)]}),this['_scene']=new _0x5e6835(this['_key'],this[_0x3ae6e6(0x187)]),this[_0x3ae6e6(0x1ca)][_0x3ae6e6(0x1bc)](0x1,0x1),this[_0x3ae6e6(0x187)][_0x3ae6e6(0x1f4)](this['_container'],!0x1),this[_0x3ae6e6(0x187)][_0x3ae6e6(0x1f5)]()[_0x3ae6e6(0x1d0)]()['setId'](this[_0x3ae6e6(0x1ee)]+'_'+_0x3ae56d(0x4)),this[_0x3ae6e6(0x1f3)](),this[_0x3ae6e6(0x196)]();}[_0x46b457(0x1f3)](){const _0x5af620=_0x46b457;let {pageMarginLeft:_0x328305,pageMarginTop:_0x1b90ae,docsLeft:_0x4abc10,docsTop:_0x29f82a}=this[_0x5af620(0x1d8)],_0x973e86={'pageMarginLeft':_0x328305,'pageMarginTop':_0x1b90ae},_0x28c3d4=new _0xa20200(_0x5af620(0x1cd),this[_0x5af620(0x1c0)],_0x973e86);_0x28c3d4[_0x5af620(0x1eb)](_0x4abc10,_0x29f82a),this['_scene'][_0x5af620(0x17c)](_0x28c3d4),this[_0x5af620(0x1b8)]=_0x28c3d4;let _0x3444c4=this['_injector'][_0x5af620(0x1be)](_0x3d18fe);_0x3444c4[_0x5af620(0x1d6)][_0x5af620(0x1dc)](_0x3444c4[_0x5af620(0x1d6)][_0x5af620(0x1fd)]()[_0x5af620(0x195)])(void 0x0,{'unitId':this[_0x5af620(0x1d4)],'scene':this['_scene'],'engine':this[_0x5af620(0x187)],'root':this[_0x5af620(0x201)],'documents':this['_documents'],'skeleton':this[_0x5af620(0x1c0)]});}[_0x46b457(0x196)](){const _0x4abb26=_0x46b457;this[_0x4abb26(0x17a)]=new _0xb0afc2(_0x19c3ab[_0x4abb26(0x1af)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x46b457(0x198)](){const _0x3ff99e=_0x46b457;let _0x16325f=this[_0x3ff99e(0x1d9)]();this[_0x3ff99e(0x17a)][_0x3ff99e(0x200)]({'viewportScrollX':_0x16325f['left'],'viewportScrollY':_0x16325f['top']}),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)]['position']=_0x3ff99e(0x194),this[_0x3ff99e(0x201)]['style'][_0x3ff99e(0x1ff)]=_0x3ff99e(0x1f1),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)][_0x3ff99e(0x1a1)]=_0x3ff99e(0x1f1),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)][_0x3ff99e(0x18f)]=_0x3ff99e(0x180),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)]['height']=_0x3ff99e(0x180),this[_0x3ff99e(0x1a0)]=new _0x405cfb();let _0x4ce163=this[_0x3ff99e(0x190)][_0x3ff99e(0x1be)](_0x3d18fe);_0x4ce163[_0x3ff99e(0x1d6)][_0x3ff99e(0x1dc)](_0x4ce163[_0x3ff99e(0x1d6)][_0x3ff99e(0x1fd)]()['PRINTING_DOM_COLLECT'])(this[_0x3ff99e(0x1a0)],{'unitId':this[_0x3ff99e(0x1d4)],'scene':this['_scene'],'engine':this[_0x3ff99e(0x187)],'root':this[_0x3ff99e(0x201)],'skeleton':this[_0x3ff99e(0x1c0)],'offset':{'x':_0x16325f['left'],'y':_0x16325f[_0x3ff99e(0x1ff)]},'bound':{'top':_0x16325f['top'],'left':_0x16325f[_0x3ff99e(0x1a1)],'right':_0x16325f[_0x3ff99e(0x1b9)],'bottom':_0x16325f[_0x3ff99e(0x184)]}});}['render'](){const _0x2ae363=_0x46b457;let _0x424b0a=this[_0x2ae363(0x187)][_0x2ae363(0x1f5)]()['getContext']();this[_0x2ae363(0x1b8)][_0x2ae363(0x19a)](),this[_0x2ae363(0x1ca)][_0x2ae363(0x193)](),_0x424b0a[_0x2ae363(0x1ab)](),this[_0x2ae363(0x1ca)][_0x2ae363(0x1e2)](),_0x424b0a[_0x2ae363(0x1e3)]();}};function W(_0x20adb3,_0x4d1355){return function(_0x2c97d2,_0x1d33d8){_0x4d1355(_0x2c97d2,_0x1d33d8,_0x20adb3);};}function _0x5349(_0x559bb0,_0x268b36){_0x559bb0=_0x559bb0-0x17a;const _0x476112=_0x4761();let _0x53498f=_0x476112[_0x559bb0];return _0x53498f;}function G(_0x405dff,_0xdcb556,_0x56fdb8,_0x2ee406){const _0x2f91d3=_0x46b457;var _0x50f53b=arguments['length'],_0x471879=_0x50f53b<0x3?_0xdcb556:_0x2ee406===null?_0x2ee406=Object[_0x2f91d3(0x1b5)](_0xdcb556,_0x56fdb8):_0x2ee406,_0x41e035;if(typeof Reflect==_0x2f91d3(0x1a8)&&typeof Reflect['decorate']==_0x2f91d3(0x1da))_0x471879=Reflect[_0x2f91d3(0x1e5)](_0x405dff,_0xdcb556,_0x56fdb8,_0x2ee406);else{for(var _0x3d429c=_0x405dff['length']-0x1;_0x3d429c>=0x0;_0x3d429c--)(_0x41e035=_0x405dff[_0x3d429c])&&(_0x471879=(_0x50f53b<0x3?_0x41e035(_0x471879):_0x50f53b>0x3?_0x41e035(_0xdcb556,_0x56fdb8,_0x471879):_0x41e035(_0xdcb556,_0x56fdb8))||_0x471879);}return _0x50f53b>0x3&&_0x471879&&Object[_0x2f91d3(0x19e)](_0xdcb556,_0x56fdb8,_0x471879),_0x471879;}const K=Number[_0x46b457(0x204)](0x69cf7334),q=(_0x5a3ad9,_0x555fad,_0x4fab64)=>{const _0x781c3a=_0x46b457;let _0x4ea35d={'page':_0x5a3ad9,'isPro':!0x1,'timeValid':!0x1};if(!_0x555fad||!_0x4fab64)return _0x4ea35d;let _0x54a1eb=_0x1026e1(_0x555fad,_0x4fab64);if(_0x54a1eb['valid']){let _0x21916d=_0x54a1eb[_0x781c3a(0x1f6)],_0x5e1e39=_0x376536(_0x21916d,'df',K);_0x4ea35d[_0x781c3a(0x17d)]=_0x5e1e39,_0x4ea35d[_0x781c3a(0x183)]=_0x5e1e39,_0x4ea35d['page']=_0x2c5d28(_0x21916d,_0x5e1e39,_0x781c3a(0x188),_0x5a3ad9,_0x5a3ad9,0x0);}return _0x4ea35d;};let J=class extends _0x5bf14f{constructor(_0x563a2a,_0x296cc5,_0x455223,_0x23ed8b,_0x4d8d81){const _0x36ef73=_0x46b457;super(),this[_0x36ef73(0x1cf)]=_0x563a2a,this[_0x36ef73(0x1b4)]=_0x296cc5,this[_0x36ef73(0x190)]=_0x455223,this[_0x36ef73(0x1c4)]=_0x23ed8b,this[_0x36ef73(0x1b0)]=_0x4d8d81;}[_0x46b457(0x1a4)](_0x4f94ee){const _0x4e782c=_0x46b457;var _0x5b96e5,_0x3d21c4;let {ls:_0x337f70,pbk:_0x1ab2c5}=(_0x5b96e5=this[_0x4e782c(0x1c4)][_0x4e782c(0x186)](_0xffccde))==null?{}:_0x5b96e5,_0x28d80a=_0x264e4b()?0x1/0x0:q(0x1,_0x337f70,_0x1ab2c5)[_0x4e782c(0x19c)];if(!this[_0x4e782c(0x1cf)][_0x4e782c(0x1ea)](_0x4f94ee,_0x7d6121['UNIVER_DOC']))throw Error(_0x4e782c(0x1c3));let _0x183b89=this[_0x4e782c(0x1b4)][_0x4e782c(0x1e7)](_0x4f94ee);if(!_0x183b89)throw Error('Render\x20is\x20not\x20found');let _0xd7dd02=(_0x3d21c4=_0x183b89[_0x4e782c(0x1f7)](_0x17a61d)[_0x4e782c(0x18c)]()[_0x4e782c(0x1ae)]())==null?void 0x0:_0x3d21c4[_0x4e782c(0x1d2)];if(!_0xd7dd02)throw Error(_0x4e782c(0x1e6));let _0x36cc45={'width':_0xd7dd02[0x0][_0x4e782c(0x17e)],'height':_0xd7dd02[0x0][_0x4e782c(0x1c7)]},_0xacaa02=_0xd7dd02[_0x4e782c(0x191)],_0x2c1f62=Math['min'](_0x28d80a,_0xacaa02),_0x2c3f91=_0x183b89[_0x4e782c(0x1fc)]['getOffsetConfig'](),_0x53a5dc=document[_0x4e782c(0x1d7)](_0x4e782c(0x1b2));_0x53a5dc[_0x4e782c(0x1db)]=_0x22981f;let _0x567c2c=Array(_0x2c1f62)[_0x4e782c(0x19f)](null)['map']((_0x71bf3f,_0xebc5a8)=>{const _0xf59247=_0x4e782c;let _0x21dd49=new U(this[_0xf59247(0x190)],_0xebc5a8,_0x4f94ee,_0x2c3f91);return _0x21dd49[_0xf59247(0x18e)]['className']=_0x5b00e2,_0x21dd49;});_0x567c2c['forEach'](_0x1402b4=>{const _0x5990aa=_0x4e782c;_0x53a5dc[_0x5990aa(0x1a3)](_0x1402b4[_0x5990aa(0x18e)]),_0x1402b4[_0x5990aa(0x18e)]['appendChild'](_0x1402b4[_0x5990aa(0x1e9)]),_0x1402b4['prepare']();});let _0x8d885e=_0x4dea18(_0x36cc45[_0x4e782c(0x18f)],_0x36cc45[_0x4e782c(0x1ec)],_0x25448f['Portrait']);return document[_0x4e782c(0x189)][_0x4e782c(0x1a3)](_0x8d885e),document[_0x4e782c(0x189)][_0x4e782c(0x1a3)](_0x53a5dc),new Promise(_0x576ecc=>{setTimeout(()=>{const _0x2155dd=_0x5349;window[_0x2155dd(0x1ef)]=()=>{const _0x50b714=_0x2155dd;_0x567c2c[_0x50b714(0x19d)](_0x53d0ea=>{_0x53d0ea['render']();});},window[_0x2155dd(0x1c5)]=()=>{const _0x579494=_0x2155dd;_0x567c2c['forEach'](_0x2e19c2=>{const _0x27abda=_0x5349;_0x2e19c2[_0x27abda(0x1a5)]();}),document[_0x579494(0x189)][_0x579494(0x17f)](_0x53a5dc),document[_0x579494(0x189)][_0x579494(0x17f)](_0x8d885e),this[_0x579494(0x1b0)][_0x579494(0x1bd)](),_0x576ecc(!0x0);},window['print']();},0x64);});}};J=G([W(0x0,_0x7a8986),W(0x1,_0x28af86),W(0x2,_0x2651b8(_0x3a9be1)),W(0x3,_0x5c58bc),W(0x4,_0x3192bf)],J);const Y={'id':_0x46b457(0x1e1),'type':_0x54e83d[_0x46b457(0x18d)],'handler':async _0xc4b4f7=>{const _0x400993=_0x46b457;let _0x2d4410=_0xc4b4f7[_0x400993(0x1be)](_0x7a8986),_0x3e60cc=_0xc4b4f7[_0x400993(0x1be)](J),_0x3fc704=_0xc4b4f7['get'](_0x28af86),_0x3d7792=_0xc4b4f7[_0x400993(0x1be)](_0x5c05c7),_0x2018f5=_0x2d4410['getCurrentUnitOfType'](_0x7d6121[_0x400993(0x1aa)]);if(!_0x2018f5)return!0x1;if(!_0x3fc704['getRenderById'](_0x2018f5['getUnitId']()))throw Error(_0x400993(0x209));let _0x967ac2=_0x2018f5[_0x400993(0x1fa)]()[_0x400993(0x1de)];return _0x967ac2!==_0x5072de['TRADITIONAL']&&_0x3d7792[_0x400993(0x1a7)](_0xae403b['id']),await _0x3e60cc[_0x400993(0x1a4)](_0x2018f5['getUnitId']()),_0x967ac2!==_0x5072de[_0x400993(0x207)]&&_0x3d7792[_0x400993(0x1a7)](_0xae403b['id']),!0x0;}},X=_0x46b457(0x1f2),Z={};var ie='@univerjs-pro/docs-print',ae=_0x46b457(0x1a6);function oe(_0x1df24c){const _0x1ca251=_0x46b457;return{'id':Y['id'],'type':_0x2da5bd[_0x1ca251(0x19b)],'title':'print.menu','icon':_0x1ca251(0x1ed),'tooltip':_0x1ca251(0x1a2),'hidden$':_0x407750(_0x1df24c,_0x7d6121[_0x1ca251(0x1aa)])};}const se={[_0x337f28[_0x46b457(0x1e0)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x5bf14f{constructor(_0x184237,_0x23096c,_0x14931c){const _0x16cdc9=_0x46b457;super(),this['_commandService']=_0x184237,this[_0x16cdc9(0x1e4)]=_0x23096c,this[_0x16cdc9(0x1d5)]=_0x14931c,this['_initMenus'](),this[_0x16cdc9(0x202)](),this[_0x16cdc9(0x1bb)]();}[_0x46b457(0x1c2)](){const _0x2ad524=_0x46b457;this[_0x2ad524(0x1e4)]['mergeMenu'](se);}['_initCommands'](){const _0x1df59c=_0x46b457;this['disposeWithMe'](this[_0x1df59c(0x185)][_0x1df59c(0x1b1)](Y));}[_0x46b457(0x1bb)](){const _0x196f3f=_0x46b457;[[_0x196f3f(0x1ed),_0x2f3c2f]][_0x196f3f(0x19d)](([_0x1703eb,_0x38c6be])=>{const _0x4a6e9b=_0x196f3f;this[_0x4a6e9b(0x1d5)]['register'](_0x1703eb,_0x38c6be);});}};Q=G([W(0x0,_0x5c05c7),W(0x1,_0x5bbb47),W(0x2,_0x2651b8(_0x2e3a09))],Q);let $=class extends _0x387c8c{constructor(_0x5c6df5=Z,_0x212e29,_0x273ef4){const _0x52a58a=_0x46b457;super(),this[_0x52a58a(0x197)]=_0x5c6df5,this[_0x52a58a(0x190)]=_0x212e29,this[_0x52a58a(0x1c4)]=_0x273ef4;let {menu:_0xaad0b0,..._0x282083}=_0x527a84({},Z,this[_0x52a58a(0x197)]);_0xaad0b0&&this[_0x52a58a(0x1c4)]['setConfig']('menu',_0xaad0b0,{'merge':!0x0}),this[_0x52a58a(0x1c4)]['setConfig'](X,_0x282083);}[_0x46b457(0x1df)](){const _0x5a103d=_0x46b457;_0x43423e(this[_0x5a103d(0x190)],[[J],[Q]]);}[_0x46b457(0x17b)](){const _0x38d652=_0x46b457;this[_0x38d652(0x190)][_0x38d652(0x1be)](Q);}};H($,_0x46b457(0x1b3),_0x46b457(0x1f2)),H($,_0x46b457(0x18a),ie),H($,_0x46b457(0x1c1),ae),H($,_0x46b457(0x182),_0x7d6121[_0x46b457(0x1aa)]),$=G([_0x186296(_0x339053,_0x167a07),W(0x1,_0x2651b8(_0x3a9be1)),W(0x2,_0x5c58bc)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};function _0x4761(){const _0x1216fe=['getContext','510438BgmFaU','pages','call','_unitId','_componentManager','interceptor','createElement','_offsetConfig','_calculateLayout','function','className','fetchThroughInterceptors','toPrimitive','documentFlavor','onStarting','OTHERS','docs.operation.print','render','restore','_menuManagerService','decorate','Pages\x20are\x20not\x20found','getRenderById','971730LvIxBB','root','getUnit','translate','height','PrintIcon','_key','onbeforeprint','Printing','0px','UNIVER_DOCS_PRINT','_addComponent','setContainer','getCanvas','message','with','14VQrrJV','default','getDocumentStyle','disposeWithMe','mainComponent','getInterceptPoints','string','top','updateScrollVal','_root','_initCommands','prototype','parseInt','getOffsetConfig','Skeleton\x20data\x20is\x20not\x20found','TRADITIONAL','48872lyyJYA','Render\x20is\x20not\x20found','_viewMain','onReady','addObject','isPro','pageWidth','removeChild','100%','1078209bFhgCn','type','timeValid','bottom','_commandService','getConfig','_engine','mpn','body','packageName','_initRenderer','getSkeleton','OPERATION','container','width','_injector','length','constructor','makeDirty','absolute','PRINTING_COMPONENT_COLLECT','_addViewport','_config','prepare','style','makeForceDirty','BUTTON','page','forEach','defineProperty','fill','_effects','left','print.menu','appendChild','print','dispose','0.20.0','syncExecuteCommand','object','_skeletonData','UNIVER_DOC','save','_paperSize','200335WoJdYh','getSkeletonData','VIEW_MAIN','_globalZoneService','registerCommand','div','pluginName','_renderManagerService','getOwnPropertyDescriptor','16aBDKda','_page','_documents','right','4zeughC','_initComponents','scale','close','get','symbol','_skeleton','version','_initMenus','DocumentDataModel\x20is\x20not\x20found','_configService','onafterprint','287202BQWQDD','pageHeight','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','iterator','_scene','_container','5534970UuyMav','__DocPrintRender__','_currentRender','_univerInstanceService'];_0x4761=function(){return _0x1216fe;};return _0x4761();}
|
|
1
|
+
const _0x354769=_0x2e47;(function(_0x488f31,_0x1aaa91){const _0x5e9c06=_0x2e47,_0x196562=_0x488f31();while(!![]){try{const _0x17e945=parseInt(_0x5e9c06(0x25b))/0x1+parseInt(_0x5e9c06(0x1d8))/0x2*(parseInt(_0x5e9c06(0x206))/0x3)+-parseInt(_0x5e9c06(0x20d))/0x4*(parseInt(_0x5e9c06(0x1f1))/0x5)+-parseInt(_0x5e9c06(0x21e))/0x6*(parseInt(_0x5e9c06(0x21b))/0x7)+-parseInt(_0x5e9c06(0x252))/0x8*(-parseInt(_0x5e9c06(0x221))/0x9)+parseInt(_0x5e9c06(0x21f))/0xa+parseInt(_0x5e9c06(0x24f))/0xb;if(_0x17e945===_0x1aaa91)break;else _0x196562['push'](_0x196562['shift']());}catch(_0xbcdf15){_0x196562['push'](_0x196562['shift']());}}}(_0x5e59,0xc1b96));import{CommandType,DependentOn,Disposable,DisposableCollection,DocumentFlavor,ICommandService,IConfigService,IUniverInstanceService,Inject,Injector,Plugin,UniverInstanceType,generateRandomId,merge,registerDependencies}from'@univerjs/core';import{DocPrintInterceptorService,SwitchDocModeCommand,VIEWPORT_KEY}from'@univerjs/docs-ui';import{CanvasRenderMode,Documents,Engine,IRenderManagerService,Scene,Viewport}from'@univerjs/engine-render';import{LS_CONFIG_KEY,UniverLicensePlugin,getDocFeatureLimit,getLicenseInfo,isFeatureAuthorizedWithinTime,isLocalCheck}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PrintDirection,createPrintStyle}from'@univerjs-pro/print';import{DocSkeletonManagerService}from'@univerjs/docs';import{ComponentManager,IGlobalZoneService,IMenuManagerService,MenuItemType,RibbonStartGroup,getMenuHiddenObservable}from'@univerjs/ui';function _0x5e59(){const _0x39a09c=['timeValid','DocumentDataModel\x20is\x20not\x20found','save','187779LQtNuj','symbol','_commandService','forEach','root','type','fill','204988SKWngP','_viewMain','_configService','_globalZoneService','makeDirty','close','PrintIcon','_initComponents','call','message','makeForceDirty','createElement','object','getUnitId','15113APntBC','_currentRender','get','3282HStTzb','7437590YryaKy','height','864iQyzkk','left','page','0px','getUnit','0.20.1-insiders.20260418-3a69981','map','defineProperty','dispose','_effects','right','prototype','constructor','_initRenderer','_skeleton','onafterprint','_paperSize','fetchThroughInterceptors','_addComponent','getCurrentUnitOfType','_unitId','bottom','_calculateLayout','UNIVER_DOCS_PRINT','Printing','getDocumentStyle','_initCommands','restore','parseInt','position','_engine','pageHeight','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','onStarting','onReady','getConfig','addObject','_univerInstanceService','_config','pluginName','TRADITIONAL','_page','_componentManager','_renderManagerService','body','_root','2899787UNIFpB','container','print.menu','53640AKElLV','register','_injector','documentFlavor','@univerjs-pro/docs-print','OPERATION','Render\x20is\x20not\x20found','_offsetConfig','VIEW_MAIN','141495bKqxYW','OTHERS','getOffsetConfig','className','version','_initMenus','_scene','iterator','_addViewport','disposeWithMe','_container','14JbPPES','pages','scale','getSkeleton','prepare','removeChild','_menuManagerService','style','absolute','getRenderById','valid','default','toPrimitive','registerCommand','PRINTING_DOM_COLLECT','mpn','Portrait','pageWidth','width','getCanvas','packageName','menu','function','string','Skeleton\x20data\x20is\x20not\x20found','25iTWNjL','appendChild','getInterceptPoints','print','getOwnPropertyDescriptor','getContext','length','top','BUTTON','render','_documents','100%','with','interceptor','docs.operation.print','syncExecuteCommand','UNIVER_DOC','setConfig'];_0x5e59=function(){return _0x39a09c;};return _0x5e59();}import{UniverNetworkPlugin}from'@univerjs/network';import{PrintIcon}from'@univerjs/icons';function _typeof(_0x5a529a){'@babel/helpers - typeof';const _0x5258e7=_0x2e47;return _typeof=_0x5258e7(0x1ee)==typeof Symbol&&'symbol'==typeof Symbol[_0x5258e7(0x1d4)]?function(_0x1c7569){return typeof _0x1c7569;}:function(_0x5cd6d6){const _0x2a19ce=_0x5258e7;return _0x5cd6d6&&_0x2a19ce(0x1ee)==typeof Symbol&&_0x5cd6d6[_0x2a19ce(0x22d)]===Symbol&&_0x5cd6d6!==Symbol[_0x2a19ce(0x22c)]?_0x2a19ce(0x207):typeof _0x5cd6d6;},_typeof(_0x5a529a);}function toPrimitive(_0x178d2d,_0x253a5f){const _0x5a8abb=_0x2e47;if(_0x5a8abb(0x219)!=_typeof(_0x178d2d)||!_0x178d2d)return _0x178d2d;var _0x1723b0=_0x178d2d[Symbol[_0x5a8abb(0x1e4)]];if(void 0x0!==_0x1723b0){var _0x2eaec0=_0x1723b0[_0x5a8abb(0x215)](_0x178d2d,_0x253a5f||_0x5a8abb(0x1e3));if('object'!=_typeof(_0x2eaec0))return _0x2eaec0;throw new TypeError(_0x5a8abb(0x241));}return(_0x5a8abb(0x1ef)===_0x253a5f?String:Number)(_0x178d2d);}function _0x2e47(_0x22547d,_0x3e80c3){_0x22547d=_0x22547d-0x1d4;const _0x5e5980=_0x5e59();let _0x2e47c6=_0x5e5980[_0x22547d];return _0x2e47c6;}function toPropertyKey(_0x84b6f){const _0x2fef52=_0x2e47;var _0x22e5dd=toPrimitive(_0x84b6f,_0x2fef52(0x1ef));return _0x2fef52(0x207)==_typeof(_0x22e5dd)?_0x22e5dd:_0x22e5dd+'';}function _defineProperty(_0x53bd92,_0x282723,_0x2bc747){const _0x275286=_0x2e47;return(_0x282723=toPropertyKey(_0x282723))in _0x53bd92?Object[_0x275286(0x228)](_0x53bd92,_0x282723,{'value':_0x2bc747,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x53bd92[_0x282723]=_0x2bc747,_0x53bd92;}var DocPrintPageCanvasView=class extends Disposable{get[_0x354769(0x250)](){const _0x16ac77=_0x354769;return this[_0x16ac77(0x1d7)];}get['root'](){const _0x52fcfb=_0x354769;return this[_0x52fcfb(0x24e)];}get[_0x354769(0x21c)](){const _0x163fac=_0x354769,_0x3a9828=this[_0x163fac(0x254)][_0x163fac(0x21d)](IRenderManagerService)[_0x163fac(0x1e1)](this[_0x163fac(0x235)]);if(!_0x3a9828)throw new Error('Render\x20is\x20not\x20found');return _0x3a9828;}get['_skeleton'](){const _0x2c6917=_0x354769;return this[_0x2c6917(0x21c)][_0x2c6917(0x1fd)](DocSkeletonManagerService)[_0x2c6917(0x1db)]();}get['_skeletonData'](){const _0x2425e5=_0x354769,_0x3d28ad=this['_skeleton']['getSkeletonData']();if(!_0x3d28ad)throw new Error(_0x2425e5(0x1f0));return _0x3d28ad;}get['_paperSize'](){const _0x54ffdf=_0x354769,_0x4cf0bf=this['_skeletonData']['pages'][0x0];return{'width':_0x4cf0bf[_0x54ffdf(0x1e9)],'height':_0x4cf0bf[_0x54ffdf(0x240)]};}constructor(_0x33d769,_0x50fec0,_0x6ead0f,_0x4f8e88){const _0x3b86da=_0x354769;super(),this[_0x3b86da(0x254)]=_0x33d769,this[_0x3b86da(0x24a)]=_0x50fec0,this[_0x3b86da(0x235)]=_0x6ead0f,this['_offsetConfig']=_0x4f8e88,_defineProperty(this,_0x3b86da(0x1d7),document[_0x3b86da(0x218)]('div')),_defineProperty(this,_0x3b86da(0x24e),document['createElement']('div')),_defineProperty(this,_0x3b86da(0x23f),void 0x0),_defineProperty(this,'_scene',void 0x0),_defineProperty(this,'_key',void 0x0),_defineProperty(this,_0x3b86da(0x1fb),void 0x0),_defineProperty(this,_0x3b86da(0x20e),void 0x0),_defineProperty(this,_0x3b86da(0x22a),new DisposableCollection()),this['_key']=generateRandomId(0x4),this[_0x3b86da(0x22e)](),this[_0x3b86da(0x1d6)]({'dispose':()=>{const _0x4690f7=_0x3b86da;this[_0x4690f7(0x23f)][_0x4690f7(0x229)](),this[_0x4690f7(0x261)][_0x4690f7(0x229)](),this[_0x4690f7(0x22a)][_0x4690f7(0x229)]();}});}[_0x354769(0x237)](){const _0x14e933=_0x354769,{docsTop:_0x539603,docsLeft:_0x2c4fd6}=this[_0x14e933(0x1fb)][_0x14e933(0x25d)](),_0x57bbaa=this[_0x14e933(0x231)][_0x14e933(0x220)],_0x32c546=this[_0x14e933(0x231)][_0x14e933(0x1ea)];return{'top':_0x539603+(_0x539603+_0x57bbaa)*this[_0x14e933(0x24a)],'bottom':_0x539603+(_0x539603+_0x57bbaa)*(this[_0x14e933(0x24a)]+0x1),'left':_0x2c4fd6,'right':_0x2c4fd6+_0x32c546};}[_0x354769(0x22e)](){const _0x58066d=_0x354769,_0xb159c8=0x1;this[_0x58066d(0x23f)]=new Engine('',{'elementWidth':this[_0x58066d(0x231)][_0x58066d(0x1ea)],'elementHeight':this[_0x58066d(0x231)][_0x58066d(0x220)],'dpr':0x1,'renderMode':CanvasRenderMode[_0x58066d(0x239)]}),this[_0x58066d(0x261)]=new Scene(this['_key'],this[_0x58066d(0x23f)]),this[_0x58066d(0x261)][_0x58066d(0x1da)](_0xb159c8,_0xb159c8),this['_engine']['setContainer'](this['_container'],![]),this[_0x58066d(0x23f)][_0x58066d(0x1eb)]()[_0x58066d(0x1f6)]()['setId'](this['_key']+'_'+generateRandomId(0x4)),this['_addComponent'](),this[_0x58066d(0x1d5)]();}[_0x354769(0x233)](){const _0x3d3d76=_0x354769,{pageMarginLeft:_0x4e404e,pageMarginTop:_0x4f9d93,docsLeft:_0x1282c9,docsTop:_0x3a8e46}=this[_0x3d3d76(0x259)],_0x2b6998={'pageMarginLeft':_0x4e404e,'pageMarginTop':_0x4f9d93},_0x4c2df2=new Documents('__DocPrintRender__',this[_0x3d3d76(0x22f)],_0x2b6998);_0x4c2df2['translate'](_0x1282c9,_0x3a8e46),this[_0x3d3d76(0x261)][_0x3d3d76(0x245)](_0x4c2df2),this[_0x3d3d76(0x1fb)]=_0x4c2df2;const _0x52bf9e=this['_injector'][_0x3d3d76(0x21d)](DocPrintInterceptorService);_0x52bf9e[_0x3d3d76(0x1fe)]['fetchThroughInterceptors'](_0x52bf9e[_0x3d3d76(0x1fe)][_0x3d3d76(0x1f3)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x3d3d76(0x235)],'scene':this[_0x3d3d76(0x261)],'engine':this['_engine'],'root':this[_0x3d3d76(0x24e)],'documents':this[_0x3d3d76(0x1fb)],'skeleton':this[_0x3d3d76(0x22f)]});}[_0x354769(0x1d5)](){const _0x2a7564=_0x354769;this['_viewMain']=new Viewport(VIEWPORT_KEY[_0x2a7564(0x25a)],this[_0x2a7564(0x261)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0x354769(0x1dc)](){const _0x5901df=_0x354769,_0x539068=this[_0x5901df(0x237)]();this[_0x5901df(0x20e)]['updateScrollVal']({'viewportScrollX':_0x539068[_0x5901df(0x222)],'viewportScrollY':_0x539068[_0x5901df(0x1f8)]}),this[_0x5901df(0x24e)][_0x5901df(0x1df)][_0x5901df(0x23e)]=_0x5901df(0x1e0),this[_0x5901df(0x24e)]['style'][_0x5901df(0x1f8)]=_0x5901df(0x224),this[_0x5901df(0x24e)][_0x5901df(0x1df)][_0x5901df(0x222)]=_0x5901df(0x224),this[_0x5901df(0x24e)][_0x5901df(0x1df)][_0x5901df(0x1ea)]=_0x5901df(0x1fc),this['_root'][_0x5901df(0x1df)][_0x5901df(0x220)]=_0x5901df(0x1fc),this[_0x5901df(0x22a)]=new DisposableCollection();const _0x296285=this[_0x5901df(0x254)]['get'](DocPrintInterceptorService);_0x296285[_0x5901df(0x1fe)][_0x5901df(0x232)](_0x296285['interceptor'][_0x5901df(0x1f3)]()[_0x5901df(0x1e6)])(this[_0x5901df(0x22a)],{'unitId':this[_0x5901df(0x235)],'scene':this['_scene'],'engine':this[_0x5901df(0x23f)],'root':this[_0x5901df(0x24e)],'skeleton':this[_0x5901df(0x22f)],'offset':{'x':_0x539068[_0x5901df(0x222)],'y':_0x539068['top']},'bound':{'top':_0x539068['top'],'left':_0x539068[_0x5901df(0x222)],'right':_0x539068[_0x5901df(0x22b)],'bottom':_0x539068[_0x5901df(0x236)]}});}[_0x354769(0x1fa)](){const _0x4842d5=_0x354769,_0x295714=this[_0x4842d5(0x23f)][_0x4842d5(0x1eb)]()[_0x4842d5(0x1f6)]();this[_0x4842d5(0x1fb)][_0x4842d5(0x217)](),this[_0x4842d5(0x261)][_0x4842d5(0x211)](),_0x295714[_0x4842d5(0x205)](),this[_0x4842d5(0x261)][_0x4842d5(0x1fa)](),_0x295714[_0x4842d5(0x23c)]();}};function __decorateParam(_0x4df4e2,_0x278ce4){return function(_0x533e59,_0x548a56){_0x278ce4(_0x533e59,_0x548a56,_0x4df4e2);};}function __decorate(_0x256ae6,_0x453b9d,_0x1a612f,_0x3ceb93){const _0x493b3e=_0x354769;var _0x4bf8d6=arguments[_0x493b3e(0x1f7)],_0x354841=_0x4bf8d6<0x3?_0x453b9d:_0x3ceb93===null?_0x3ceb93=Object[_0x493b3e(0x1f5)](_0x453b9d,_0x1a612f):_0x3ceb93,_0x441453;if(typeof Reflect===_0x493b3e(0x219)&&typeof Reflect['decorate']===_0x493b3e(0x1ee))_0x354841=Reflect['decorate'](_0x256ae6,_0x453b9d,_0x1a612f,_0x3ceb93);else{for(var _0x47d75d=_0x256ae6['length']-0x1;_0x47d75d>=0x0;_0x47d75d--)if(_0x441453=_0x256ae6[_0x47d75d])_0x354841=(_0x4bf8d6<0x3?_0x441453(_0x354841):_0x4bf8d6>0x3?_0x441453(_0x453b9d,_0x1a612f,_0x354841):_0x441453(_0x453b9d,_0x1a612f))||_0x354841;}return _0x4bf8d6>0x3&&_0x354841&&Object[_0x493b3e(0x228)](_0x453b9d,_0x1a612f,_0x354841),_0x354841;}const BUILD_TIMESTAMP=Number[_0x354769(0x23d)](0x69e33d02),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x369122,_0xc8e8,_0x2f42bd)=>{const _0x46797c=_0x354769,_0x586b6b={'page':_0x369122,'isPro':![],'timeValid':![]};if(!_0xc8e8||!_0x2f42bd)return _0x586b6b;const _0x5787f9=getLicenseInfo(_0xc8e8,_0x2f42bd);if(_0x5787f9[_0x46797c(0x1e2)]){const _0x3c9cfa=_0x5787f9[_0x46797c(0x216)],_0x51a3b2=isFeatureAuthorizedWithinTime(_0x3c9cfa,'df',BUILD_TIMESTAMP);_0x586b6b['isPro']=_0x51a3b2,_0x586b6b[_0x46797c(0x203)]=_0x51a3b2,_0x586b6b[_0x46797c(0x223)]=getDocFeatureLimit(_0x3c9cfa,_0x51a3b2,_0x46797c(0x1e7),_0x369122,_0x369122,0x0);}return _0x586b6b;};let DocPrintService=class DocPrintService extends Disposable{constructor(_0x5e19c3,_0x23369f,_0x3fe530,_0x5b3877,_0xbdd1df){const _0x3b0321=_0x354769;super(),this[_0x3b0321(0x246)]=_0x5e19c3,this[_0x3b0321(0x24c)]=_0x23369f,this['_injector']=_0x3fe530,this[_0x3b0321(0x20f)]=_0x5b3877,this[_0x3b0321(0x210)]=_0xbdd1df;}[_0x354769(0x1f4)](_0x187a2d){const _0x24484b=_0x354769;var _0xce3b78,_0x4e3b6e;const {ls:_0x47b354,pbk:_0x1e765c}=(_0xce3b78=this[_0x24484b(0x20f)][_0x24484b(0x244)](LS_CONFIG_KEY))!==null&&_0xce3b78!==void 0x0?_0xce3b78:{},_0x2c62a8=isLocalCheck()?Number['POSITIVE_INFINITY']:getPrintInfoByLicense(0x1,_0x47b354,_0x1e765c)[_0x24484b(0x223)];if(!this[_0x24484b(0x246)][_0x24484b(0x225)](_0x187a2d,UniverInstanceType[_0x24484b(0x201)]))throw new Error(_0x24484b(0x204));const _0x370efd=this['_renderManagerService'][_0x24484b(0x1e1)](_0x187a2d);if(!_0x370efd)throw new Error('Render\x20is\x20not\x20found');const _0x37a430=(_0x4e3b6e=_0x370efd[_0x24484b(0x1fd)](DocSkeletonManagerService)['getSkeleton']()['getSkeletonData']())===null||_0x4e3b6e===void 0x0?void 0x0:_0x4e3b6e[_0x24484b(0x1d9)];if(!_0x37a430)throw new Error('Pages\x20are\x20not\x20found');const _0x8aac9a={'width':_0x37a430[0x0][_0x24484b(0x1e9)],'height':_0x37a430[0x0][_0x24484b(0x240)]},_0x4e44b5=_0x37a430[_0x24484b(0x1f7)],_0x277a37=Math['min'](_0x2c62a8,_0x4e44b5),_0x338b5d=_0x370efd['mainComponent'][_0x24484b(0x25d)](),_0x334f76=document[_0x24484b(0x218)]('div');_0x334f76[_0x24484b(0x25e)]=PRINT_CONTAINER_CLASS;const _0xd9ffd0=new Array(_0x277a37)[_0x24484b(0x20c)](null)[_0x24484b(0x227)]((_0x13a996,_0x165000)=>{const _0x142ccd=_0x24484b,_0x468b66=new DocPrintPageCanvasView(this[_0x142ccd(0x254)],_0x165000,_0x187a2d,_0x338b5d);return _0x468b66[_0x142ccd(0x250)][_0x142ccd(0x25e)]=PRINT_CANVAS_CLASS,_0x468b66;});_0xd9ffd0[_0x24484b(0x209)](_0x47713f=>{const _0x123515=_0x24484b;_0x334f76['appendChild'](_0x47713f[_0x123515(0x250)]),_0x47713f[_0x123515(0x250)]['appendChild'](_0x47713f[_0x123515(0x20a)]),_0x47713f[_0x123515(0x1dc)]();});const _0x54dcd5=createPrintStyle(_0x8aac9a['width'],_0x8aac9a[_0x24484b(0x220)],PrintDirection[_0x24484b(0x1e8)]);return document[_0x24484b(0x24d)][_0x24484b(0x1f2)](_0x54dcd5),document[_0x24484b(0x24d)][_0x24484b(0x1f2)](_0x334f76),new Promise(_0x3c2ac4=>{setTimeout(()=>{const _0x40313e=_0x2e47;window['onbeforeprint']=()=>{const _0x2801e8=_0x2e47;_0xd9ffd0[_0x2801e8(0x209)](_0x229546=>{const _0x226393=_0x2801e8;_0x229546[_0x226393(0x1fa)]();});},window[_0x40313e(0x230)]=()=>{const _0x157701=_0x40313e;_0xd9ffd0[_0x157701(0x209)](_0x87321c=>{const _0x2ff3db=_0x157701;_0x87321c[_0x2ff3db(0x229)]();}),document[_0x157701(0x24d)][_0x157701(0x1dd)](_0x334f76),document[_0x157701(0x24d)]['removeChild'](_0x54dcd5),this[_0x157701(0x210)][_0x157701(0x212)](),_0x3c2ac4(!![]);},window[_0x40313e(0x1f4)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);const DocPrintOperation={'id':_0x354769(0x1ff),'type':CommandType[_0x354769(0x257)],'handler':async _0x48898b=>{const _0x4ce1d7=_0x354769,_0x659695=_0x48898b['get'](IUniverInstanceService),_0x4dc719=_0x48898b[_0x4ce1d7(0x21d)](DocPrintService),_0x3937bc=_0x48898b['get'](IRenderManagerService),_0x47590a=_0x48898b[_0x4ce1d7(0x21d)](ICommandService),_0x35680b=_0x659695[_0x4ce1d7(0x234)](UniverInstanceType[_0x4ce1d7(0x201)]);if(!_0x35680b)return![];if(!_0x3937bc[_0x4ce1d7(0x1e1)](_0x35680b[_0x4ce1d7(0x21a)]()))throw new Error(_0x4ce1d7(0x258));const _0xb4223b=_0x35680b[_0x4ce1d7(0x23a)]()[_0x4ce1d7(0x255)];if(_0xb4223b!==DocumentFlavor['TRADITIONAL'])_0x47590a[_0x4ce1d7(0x200)](SwitchDocModeCommand['id']);await _0x4dc719['print'](_0x35680b[_0x4ce1d7(0x21a)]());if(_0xb4223b!==DocumentFlavor[_0x4ce1d7(0x249)])_0x47590a[_0x4ce1d7(0x200)](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0x354769(0x238),defaultPluginConfig={};var name=_0x354769(0x256),version=_0x354769(0x226);const DOCS_PRINT_PLUGIN_NAME=_0x354769(0x238);function DocPrintMenuItemFactory(_0x2ddadc){const _0x32e083=_0x354769;return{'id':DocPrintOperation['id'],'type':MenuItemType[_0x32e083(0x1f9)],'title':_0x32e083(0x251),'icon':_0x32e083(0x213),'tooltip':_0x32e083(0x251),'hidden$':getMenuHiddenObservable(_0x2ddadc,UniverInstanceType[_0x32e083(0x201)])};}const menuSchema={[RibbonStartGroup[_0x354769(0x25c)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x205f15,_0x4111a7,_0x7789e4){const _0x3302a7=_0x354769;super(),this[_0x3302a7(0x208)]=_0x205f15,this[_0x3302a7(0x1de)]=_0x4111a7,this[_0x3302a7(0x24b)]=_0x7789e4,this[_0x3302a7(0x260)](),this[_0x3302a7(0x23b)](),this['_initComponents']();}[_0x354769(0x260)](){this['_menuManagerService']['mergeMenu'](menuSchema);}[_0x354769(0x23b)](){const _0x3fb647=_0x354769;this[_0x3fb647(0x1d6)](this['_commandService'][_0x3fb647(0x1e5)](DocPrintOperation));}[_0x354769(0x214)](){[['PrintIcon',PrintIcon]]['forEach'](([_0x1ab348,_0x581785])=>{const _0x3af241=_0x2e47;this[_0x3af241(0x24b)][_0x3af241(0x253)](_0x1ab348,_0x581785);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x53f254=defaultPluginConfig,_0x58d281,_0x55c9da){const _0x2fb9b0=_0x354769;super(),this[_0x2fb9b0(0x247)]=_0x53f254,this['_injector']=_0x58d281,this['_configService']=_0x55c9da;const {menu:_0x2b683d,..._0x321d08}=merge({},defaultPluginConfig,this[_0x2fb9b0(0x247)]);if(_0x2b683d)this[_0x2fb9b0(0x20f)][_0x2fb9b0(0x202)](_0x2fb9b0(0x1ed),_0x2b683d,{'merge':!![]});this[_0x2fb9b0(0x20f)][_0x2fb9b0(0x202)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x321d08);}[_0x354769(0x242)](){const _0x16e286=_0x354769;registerDependencies(this[_0x16e286(0x254)],[[DocPrintService],[DocsPrintUIController]]);}[_0x354769(0x243)](){const _0x29325a=_0x354769;this[_0x29325a(0x254)][_0x29325a(0x21d)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x354769(0x248),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x354769(0x1ec),name),_defineProperty(UniverDocsPrintPlugin,_0x354769(0x25f),version),_defineProperty(UniverDocsPrintPlugin,_0x354769(0x20b),UniverInstanceType[_0x354769(0x201)]),UniverDocsPrintPlugin=__decorate([DependentOn(UniverNetworkPlugin,UniverLicensePlugin),__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IConfigService)],UniverDocsPrintPlugin);export{DOCS_PRINT_PLUGIN_CONFIG_KEY,DocPrintOperation,UniverDocsPrintPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x25f3(){const _0x2ff9ca=['310UIFwXE','3079912BAVNkQ','5788097LElSIE','Print','4193058SLucbh','1385015CpxYse','11985fWIsPG','7472160jJZNyM','7486680AqFYuD'];_0x25f3=function(){return _0x2ff9ca;};return _0x25f3();}const _0x257410=_0x3fa0;(function(_0x4ff708,_0xf88021){const _0x46beec=_0x3fa0,_0x5a76b4=_0x4ff708();while(!![]){try{const _0x4c6756=-parseInt(_0x46beec(0x76))/0x1+-parseInt(_0x46beec(0x7a))/0x2*(-parseInt(_0x46beec(0x77))/0x3)+-parseInt(_0x46beec(0x7b))/0x4+parseInt(_0x46beec(0x79))/0x5+parseInt(_0x46beec(0x75))/0x6+-parseInt(_0x46beec(0x7c))/0x7+parseInt(_0x46beec(0x78))/0x8;if(_0x4c6756===_0xf88021)break;else _0x5a76b4['push'](_0x5a76b4['shift']());}catch(_0x43eaf5){_0x5a76b4['push'](_0x5a76b4['shift']());}}}(_0x25f3,0xbb648));const locale$1={'print':{'menu':_0x257410(0x7d)}},locale=locale$1;function _0x3fa0(_0x2edb88,_0x1bb7d3){_0x2edb88=_0x2edb88-0x75;const _0x25f393=_0x25f3();let _0x3fa0ac=_0x25f393[_0x2edb88];return _0x3fa0ac;}export{locale as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5c75(){const _0x578286=['12AMHrSy','4224jFaTYS','4686860UQDaTG','Print','16623usRPTK','5696LBozwo','7jqKuxO','129zcWXyu','16212eOebXR','292124qZkdzU','924JGLbvo','307437CJCQeC','3633203vnVjPq','36730QGUXja'];_0x5c75=function(){return _0x578286;};return _0x5c75();}const _0x293f69=_0x5812;function _0x5812(_0x1b680c,_0x46ab82){_0x1b680c=_0x1b680c-0x9c;const _0x5c75ce=_0x5c75();let _0x5812f0=_0x5c75ce[_0x1b680c];return _0x5812f0;}(function(_0x11ea1b,_0x4a3453){const _0x2e9a08=_0x5812,_0x51babf=_0x11ea1b();while(!![]){try{const _0x26c3f5=-parseInt(_0x2e9a08(0xa6))/0x1*(-parseInt(_0x2e9a08(0xa9))/0x2)+-parseInt(_0x2e9a08(0xa7))/0x3*(parseInt(_0x2e9a08(0xa8))/0x4)+parseInt(_0x2e9a08(0xa2))/0x5+-parseInt(_0x2e9a08(0xa0))/0x6*(-parseInt(_0x2e9a08(0x9e))/0x7)+-parseInt(_0x2e9a08(0xa5))/0x8*(-parseInt(_0x2e9a08(0xa4))/0x9)+parseInt(_0x2e9a08(0x9f))/0xa*(-parseInt(_0x2e9a08(0xa1))/0xb)+parseInt(_0x2e9a08(0x9c))/0xc*(-parseInt(_0x2e9a08(0x9d))/0xd);if(_0x26c3f5===_0x4a3453)break;else _0x51babf['push'](_0x51babf['shift']());}catch(_0x469103){_0x51babf['push'](_0x51babf['shift']());}}}(_0x5c75,0xdd7ec));const locale={'print':{'menu':_0x293f69(0xa3)}};export{locale as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4319(_0x4df481,_0x458b86){_0x4df481=_0x4df481-0xa8;const _0x35e9b6=_0x35e9();let _0x43197d=_0x35e9b6[_0x4df481];return _0x43197d;}(function(_0x30da77,_0x22d010){const _0x1d2ac5=_0x4319,_0x5b249c=_0x30da77();while(!![]){try{const _0x591077=parseInt(_0x1d2ac5(0xaa))/0x1*(-parseInt(_0x1d2ac5(0xa9))/0x2)+-parseInt(_0x1d2ac5(0xaf))/0x3*(parseInt(_0x1d2ac5(0xa8))/0x4)+parseInt(_0x1d2ac5(0xac))/0x5*(-parseInt(_0x1d2ac5(0xad))/0x6)+-parseInt(_0x1d2ac5(0xb0))/0x7+parseInt(_0x1d2ac5(0xab))/0x8*(parseInt(_0x1d2ac5(0xb4))/0x9)+parseInt(_0x1d2ac5(0xb3))/0xa*(-parseInt(_0x1d2ac5(0xb1))/0xb)+parseInt(_0x1d2ac5(0xae))/0xc*(parseInt(_0x1d2ac5(0xb2))/0xd);if(_0x591077===_0x22d010)break;else _0x5b249c['push'](_0x5b249c['shift']());}catch(_0x4e73c6){_0x5b249c['push'](_0x5b249c['shift']());}}}(_0x35e9,0x2b125));const locale$1={'print':{'menu':'Print'}},locale=locale$1;export{locale as default};function _0x35e9(){const _0x730b3a=['130lLsTGD','810171zryrOM','225784hOLTtb','16GGRQVz','31340THhtvY','8UVMhGA','5khaxFO','693402ymYFzw','12OxyrgQ','9jHtqCK','2392488dyQVDo','178882FAawVd','15277821MJYapv'];_0x35e9=function(){return _0x730b3a;};return _0x35e9();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1c1c0a=_0x37d8;function _0x37d8(_0x5a0b3f,_0x4834c8){_0x5a0b3f=_0x5a0b3f-0xc6;const _0x53b2ce=_0x53b2();let _0x37d848=_0x53b2ce[_0x5a0b3f];return _0x37d848;}function _0x53b2(){const _0x572c11=['2454540ZmbhgW','335724hSTmDo','10IsRAFW','5LaAFKk','20qnjNti','517yeLHsa','103798KuXgoy','1385346XhhOCW','4475979KSYuMJ','134638CgITHV','چاپ','7428lefICn','288NUYUQP'];_0x53b2=function(){return _0x572c11;};return _0x53b2();}(function(_0x4eecd8,_0x9fd13f){const _0x27d8c4=_0x37d8,_0xd6cbd1=_0x4eecd8();while(!![]){try{const _0x5e2408=parseInt(_0x27d8c4(0xd0))/0x1*(parseInt(_0x27d8c4(0xc6))/0x2)+parseInt(_0x27d8c4(0xc7))/0x3+-parseInt(_0x27d8c4(0xcd))/0x4+parseInt(_0x27d8c4(0xd1))/0x5*(parseInt(_0x27d8c4(0xce))/0x6)+-parseInt(_0x27d8c4(0xc9))/0x7*(-parseInt(_0x27d8c4(0xcc))/0x8)+parseInt(_0x27d8c4(0xc8))/0x9*(-parseInt(_0x27d8c4(0xcf))/0xa)+parseInt(_0x27d8c4(0xd2))/0xb*(-parseInt(_0x27d8c4(0xcb))/0xc);if(_0x5e2408===_0x9fd13f)break;else _0xd6cbd1['push'](_0xd6cbd1['shift']());}catch(_0x10f39c){_0xd6cbd1['push'](_0xd6cbd1['shift']());}}}(_0x53b2,0x79732));const locale={'print':{'menu':_0x1c1c0a(0xca)}};export{locale as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2597(_0x3f7d63,_0x59d7d0){_0x3f7d63=_0x3f7d63-0xc1;const _0x59b206=_0x59b2();let _0x259775=_0x59b206[_0x3f7d63];return _0x259775;}(function(_0x1399e1,_0x25de96){const _0x3effc7=_0x2597,_0x17989c=_0x1399e1();while(!![]){try{const _0xabde6=parseInt(_0x3effc7(0xc8))/0x1+parseInt(_0x3effc7(0xc1))/0x2*(-parseInt(_0x3effc7(0xc2))/0x3)+-parseInt(_0x3effc7(0xc7))/0x4*(-parseInt(_0x3effc7(0xc4))/0x5)+parseInt(_0x3effc7(0xc6))/0x6*(-parseInt(_0x3effc7(0xc5))/0x7)+-parseInt(_0x3effc7(0xc3))/0x8+parseInt(_0x3effc7(0xca))/0x9+parseInt(_0x3effc7(0xc9))/0xa*(parseInt(_0x3effc7(0xcb))/0xb);if(_0xabde6===_0x25de96)break;else _0x17989c['push'](_0x17989c['shift']());}catch(_0x58e980){_0x17989c['push'](_0x17989c['shift']());}}}(_0x59b2,0x8c884));const locale={'print':{'menu':'Imprimer'}};export{locale as default};function _0x59b2(){const _0x4398c7=['20hwqSsz','190644KAPgwh','6633520flISIP','5twJLgL','572747TmAEXu','78oTbTCv','3292428QukTis','161628WolACt','1468030UixwUR','575874BaUpIj','154VUzAYw'];_0x59b2=function(){return _0x4398c7;};return _0x59b2();}
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x51b2(_0x28d0cd,_0x70ae8){_0x28d0cd=_0x28d0cd-0xc5;const _0x361e99=_0x361e();let _0x51b24f=_0x361e99[_0x28d0cd];return _0x51b24f;}(function(_0x2a1833,_0x17cc69){const _0x477cf7=_0x51b2,_0x2fb806=_0x2a1833();while(!![]){try{const _0x564ace=-parseInt(_0x477cf7(0xc5))/0x1+parseInt(_0x477cf7(0xcb))/0x2*(parseInt(_0x477cf7(0xcc))/0x3)+parseInt(_0x477cf7(0xcd))/0x4+parseInt(_0x477cf7(0xc7))/0x5+parseInt(_0x477cf7(0xca))/0x6*(-parseInt(_0x477cf7(0xc8))/0x7)+parseInt(_0x477cf7(0xc9))/0x8*(-parseInt(_0x477cf7(0xc6))/0x9)+parseInt(_0x477cf7(0xce))/0xa;if(_0x564ace===_0x17cc69)break;else _0x2fb806['push'](_0x2fb806['shift']());}catch(_0x3d98ac){_0x2fb806['push'](_0x2fb806['shift']());}}}(_0x361e,0x7b172));const locale={'print':{'menu':'印刷'}};function _0x361e(){const _0x42e575=['297pDdJvS','119450vgOlct','70EAyzic','74312yxsQDI','354018AukHFK','2xvcAuW','878403MCKgWU','2044024gjUEXU','13451770hzNCCG','772129ohYUdw'];_0x361e=function(){return _0x42e575;};return _0x361e();}export{locale as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1fff(_0x191c62,_0x4ee25f){_0x191c62=_0x191c62-0xa3;const _0xc0ea61=_0xc0ea();let _0x1fff8e=_0xc0ea61[_0x191c62];return _0x1fff8e;}(function(_0x23bb2b,_0x441b71){const _0x10eb97=_0x1fff,_0x55cf87=_0x23bb2b();while(!![]){try{const _0x23e376=parseInt(_0x10eb97(0xa7))/0x1*(-parseInt(_0x10eb97(0xa8))/0x2)+parseInt(_0x10eb97(0xaa))/0x3+parseInt(_0x10eb97(0xa6))/0x4*(parseInt(_0x10eb97(0xae))/0x5)+-parseInt(_0x10eb97(0xad))/0x6*(-parseInt(_0x10eb97(0xa3))/0x7)+-parseInt(_0x10eb97(0xa4))/0x8*(-parseInt(_0x10eb97(0xab))/0x9)+-parseInt(_0x10eb97(0xa5))/0xa*(parseInt(_0x10eb97(0xaf))/0xb)+-parseInt(_0x10eb97(0xac))/0xc*(parseInt(_0x10eb97(0xa9))/0xd);if(_0x23e376===_0x441b71)break;else _0x55cf87['push'](_0x55cf87['shift']());}catch(_0x59b150){_0x55cf87['push'](_0x55cf87['shift']());}}}(_0xc0ea,0xd39b6));const locale={'print':{'menu':'인쇄'}};function _0xc0ea(){const _0x5a9667=['407115KgLzCL','247068uFoIGi','1478856EydOhm','1190NxmYhK','4467353rYwMSP','7PjXyCu','112FlRGah','10HFfqUv','11572ELYooK','22837YTkjlC','14rGvsIy','871yHbgho','3731661yQXvLn'];_0xc0ea=function(){return _0x5a9667;};return _0xc0ea();}export{locale as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1d0fe0=_0x243d;(function(_0x5465d8,_0x459ad8){const _0x336675=_0x243d,_0x4978f4=_0x5465d8();while(!![]){try{const _0x187d94=-parseInt(_0x336675(0x1ac))/0x1+-parseInt(_0x336675(0x1a9))/0x2+-parseInt(_0x336675(0x1b1))/0x3+-parseInt(_0x336675(0x1ab))/0x4*(parseInt(_0x336675(0x1a8))/0x5)+-parseInt(_0x336675(0x1b0))/0x6+parseInt(_0x336675(0x1ad))/0x7*(-parseInt(_0x336675(0x1af))/0x8)+-parseInt(_0x336675(0x1ae))/0x9*(-parseInt(_0x336675(0x1aa))/0xa);if(_0x187d94===_0x459ad8)break;else _0x4978f4['push'](_0x4978f4['shift']());}catch(_0xc6a4b6){_0x4978f4['push'](_0x4978f4['shift']());}}}(_0x4342,0x9b7fe));function _0x243d(_0xfbf191,_0x19a97f){_0xfbf191=_0xfbf191-0x1a7;const _0x4342fe=_0x4342();let _0x243d3e=_0x4342fe[_0xfbf191];return _0x243d3e;}const locale={'print':{'menu':_0x1d0fe0(0x1a7)}};function _0x4342(){const _0x37a4a7=['525816sQAPnj','49muZHYt','774YvsweK','800048MqZaUA','3143790qNwklB','2424702YcHtAe','Печать','23210QTxmBH','2017606lXDJgQ','494210BkZhqE','40ASsJkj'];_0x4342=function(){return _0x37a4a7;};return _0x4342();}export{locale as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xa8ea(){const _0xad775=['1874cJAxbZ','300Htiopa','63DHRXTc','1642190XdjEYF','1355bwFDqC','217974jIwiBY','9NdNdNN','4366872sYIiIy','4352165auYHWU','486736lnlHsn','11841220XScUmg','4gsAFwR'];_0xa8ea=function(){return _0xad775;};return _0xa8ea();}function _0x2bed(_0x3b51b1,_0x4ac1a7){_0x3b51b1=_0x3b51b1-0x1ce;const _0xa8ea2c=_0xa8ea();let _0x2bedca=_0xa8ea2c[_0x3b51b1];return _0x2bedca;}(function(_0x11cd57,_0x19ed8c){const _0x3a981b=_0x2bed,_0x3326e6=_0x11cd57();while(!![]){try{const _0x1476ce=parseInt(_0x3a981b(0x1d1))/0x1*(-parseInt(_0x3a981b(0x1d9))/0x2)+parseInt(_0x3a981b(0x1d2))/0x3+-parseInt(_0x3a981b(0x1d8))/0x4*(parseInt(_0x3a981b(0x1d5))/0x5)+parseInt(_0x3a981b(0x1d4))/0x6+parseInt(_0x3a981b(0x1cf))/0x7*(-parseInt(_0x3a981b(0x1d6))/0x8)+-parseInt(_0x3a981b(0x1d3))/0x9*(parseInt(_0x3a981b(0x1d7))/0xa)+-parseInt(_0x3a981b(0x1d0))/0xb*(-parseInt(_0x3a981b(0x1ce))/0xc);if(_0x1476ce===_0x19ed8c)break;else _0x3326e6['push'](_0x3326e6['shift']());}catch(_0x6e4ba8){_0x3326e6['push'](_0x3326e6['shift']());}}}(_0xa8ea,0xa15d8));const locale={'print':{'menu':'Tlač'}};export{locale as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5086(){const _0x424413=['3217260hAmSsj','4104FBzuJr','5LRPfNJ','8wrgLXy','1195689winyAj','570166XWurzW','546aHiHCk','10xGpTyx','2700754BRfwXL','453AbAKTo','1KuzHsi','2718747ajDvKi','7884TdKxFK'];_0x5086=function(){return _0x424413;};return _0x5086();}function _0x42cc(_0xaa878,_0x3c7fb4){_0xaa878=_0xaa878-0x1e8;const _0x50869b=_0x5086();let _0x42ccab=_0x50869b[_0xaa878];return _0x42ccab;}(function(_0x34ce50,_0x423585){const _0x6267c2=_0x42cc,_0x174b13=_0x34ce50();while(!![]){try{const _0x195780=parseInt(_0x6267c2(0x1ef))/0x1*(-parseInt(_0x6267c2(0x1ea))/0x2)+parseInt(_0x6267c2(0x1ee))/0x3*(parseInt(_0x6267c2(0x1f1))/0x4)+parseInt(_0x6267c2(0x1f4))/0x5*(parseInt(_0x6267c2(0x1f2))/0x6)+-parseInt(_0x6267c2(0x1ed))/0x7+parseInt(_0x6267c2(0x1e8))/0x8*(parseInt(_0x6267c2(0x1f0))/0x9)+parseInt(_0x6267c2(0x1ec))/0xa*(-parseInt(_0x6267c2(0x1e9))/0xb)+parseInt(_0x6267c2(0x1f3))/0xc*(-parseInt(_0x6267c2(0x1eb))/0xd);if(_0x195780===_0x423585)break;else _0x174b13['push'](_0x174b13['shift']());}catch(_0x2b4ffe){_0x174b13['push'](_0x174b13['shift']());}}}(_0x5086,0x537ba));const locale={'print':{'menu':'In'}};export{locale as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0xb763(_0x35aeb1,_0x455bbe){_0x35aeb1=_0x35aeb1-0x1bb;const _0x38138c=_0x3813();let _0xb76327=_0x38138c[_0x35aeb1];return _0xb76327;}function _0x3813(){const _0x364e09=['96ceggCt','216jAEUOH','3452lFdsxa','300800WTZJSM','5469264iYCSXH','4522441tCxtRS','8PJoyXp','977821NMAPcu','26670IMhUti','10OtnEaQ','1338iFhjQC','309AeuOJo','74046gPXbxr'];_0x3813=function(){return _0x364e09;};return _0x3813();}(function(_0x560c21,_0x5d3c54){const _0xb402d8=_0xb763,_0x3a395a=_0x560c21();while(!![]){try{const _0x212544=parseInt(_0xb402d8(0x1be))/0x1*(parseInt(_0xb402d8(0x1c1))/0x2)+-parseInt(_0xb402d8(0x1c6))/0x3*(parseInt(_0xb402d8(0x1bd))/0x4)+-parseInt(_0xb402d8(0x1c3))/0x5*(parseInt(_0xb402d8(0x1c5))/0x6)+-parseInt(_0xb402d8(0x1c7))/0x7*(-parseInt(_0xb402d8(0x1bc))/0x8)+-parseInt(_0xb402d8(0x1bf))/0x9*(parseInt(_0xb402d8(0x1c4))/0xa)+parseInt(_0xb402d8(0x1c0))/0xb+parseInt(_0xb402d8(0x1bb))/0xc*(parseInt(_0xb402d8(0x1c2))/0xd);if(_0x212544===_0x5d3c54)break;else _0x3a395a['push'](_0x3a395a['shift']());}catch(_0x57149a){_0x3a395a['push'](_0x3a395a['shift']());}}}(_0x3813,0x964b6));const locale={'print':{'menu':'打印'}};export{locale as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x271fbb,_0x4615a0){const _0x552bbd=_0x3e0f,_0x5cb0ed=_0x271fbb();while(!![]){try{const _0x44893a=parseInt(_0x552bbd(0x190))/0x1+parseInt(_0x552bbd(0x196))/0x2+parseInt(_0x552bbd(0x19a))/0x3*(parseInt(_0x552bbd(0x193))/0x4)+parseInt(_0x552bbd(0x198))/0x5+parseInt(_0x552bbd(0x192))/0x6*(parseInt(_0x552bbd(0x194))/0x7)+parseInt(_0x552bbd(0x191))/0x8*(-parseInt(_0x552bbd(0x195))/0x9)+parseInt(_0x552bbd(0x197))/0xa*(-parseInt(_0x552bbd(0x199))/0xb);if(_0x44893a===_0x4615a0)break;else _0x5cb0ed['push'](_0x5cb0ed['shift']());}catch(_0x25fea8){_0x5cb0ed['push'](_0x5cb0ed['shift']());}}}(_0x3571,0xbc1ab));const locale={'print':{'menu':'列印'}};function _0x3e0f(_0x19729c,_0x18e692){_0x19729c=_0x19729c-0x190;const _0x357190=_0x3571();let _0x3e0f98=_0x357190[_0x19729c];return _0x3e0f98;}export{locale as default};function _0x3571(){const _0x2a2e5a=['6367009rBpAsP','3CQBrif','840691ANZfDL','44648EGfmos','6KzIqUM','4913236xdnIgs','9020893Ijiprx','2313bZFpgu','2917388qGxcoU','70iPrqkL','7200660DlejgW'];_0x3571=function(){return _0x2a2e5a;};return _0x3571();}
|