@univerjs-pro/docs-print 0.17.0 → 0.18.0
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/types/commands/operations/doc-print.operation.d.ts +1 -1
- package/lib/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/controllers/menu.d.ts +2 -2
- package/lib/types/controllers/menu.schema.d.ts +1 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/views/doc-print-page-canvas-view.d.ts +3 -2
- 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 +14 -20
- package/lib/types/license/encrypted-func.d.ts +0 -1
- package/lib/types/license/reverse-mapping.d.ts +0 -65
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3e99d2=_0x2e23;(function(_0xd7247,_0x1ec229){const _0x13d5e4=_0x2e23,_0x586a14=_0xd7247();while(!![]){try{const _0x190114=-parseInt(_0x13d5e4(0x1ba))/0x1+parseInt(_0x13d5e4(0x1a1))/0x2*(parseInt(_0x13d5e4(0x230))/0x3)+-parseInt(_0x13d5e4(0x1f2))/0x4+parseInt(_0x13d5e4(0x1a8))/0x5+-parseInt(_0x13d5e4(0x22b))/0x6*(parseInt(_0x13d5e4(0x1b5))/0x7)+-parseInt(_0x13d5e4(0x213))/0x8+parseInt(_0x13d5e4(0x215))/0x9;if(_0x190114===_0x1ec229)break;else _0x586a14['push'](_0x586a14['shift']());}catch(_0x1d2880){_0x586a14['push'](_0x586a14['shift']());}}}(_0x13b3,0x2dfa8));var G=Object[_0x3e99d2(0x233)],K=(_0x2b2ec5,_0x52bbeb,_0x382650)=>_0x52bbeb in _0x2b2ec5?G(_0x2b2ec5,_0x52bbeb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x382650}):_0x2b2ec5[_0x52bbeb]=_0x382650,a=(_0x41ec2d,_0x23c6c5,_0x220d72)=>K(_0x41ec2d,typeof _0x23c6c5!=_0x3e99d2(0x217)?_0x23c6c5+'':_0x23c6c5,_0x220d72);import{Disposable as _0x1692da,generateRandomId as _0x399d73,DisposableCollection as _0xff9e21,Inject as _0x5abdcd,Injector as _0x348350,UniverInstanceType as _0x446676,IUniverInstanceService as _0x4ba22e,IConfigService as _0x5ba149,CommandType as _0x40b54b,ICommandService as _0x59dba4,DocumentFlavor as _0x4e565d,DependentOn as _0x5bda05,Plugin as _0xe47a37,merge as _0xbe0450,registerDependencies as _0x55b02b}from'@univerjs/core';import{DocPrintInterceptorService as _0x3de358,VIEWPORT_KEY as _0x5df998,SwitchDocModeCommand as _0x3975e8}from'@univerjs/docs-ui';import{IRenderManagerService as _0x973582,Engine as _0x4dcbe6,CanvasRenderMode as _0x423f2c,Scene as _0xf6565e,Documents as _0x2b9260,Viewport as _0x2d0b22}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x41595d,isLocalCheck as _0x4598a9,unshiftString as _0x4d9dbe,isFeatureAuthorizedWithinTime as _0x1d12f4,getDocFeatureLimit as _0x345e89,UniverLicensePlugin as _0x1259dd}from'@univerjs-pro/license';import{PRINT_CONTAINER_CLASS as _0x2a179f,PRINT_CANVAS_CLASS as _0xb10ab8,createPrintStyle as _0x3d9ac1,PrintDirection as _0x3d5d75}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x201d37}from'@univerjs/docs';import{IGlobalZoneService as _0x4b4626,MenuItemType as _0x2bf258,getMenuHiddenObservable as _0x5b393f,RibbonStartGroup as _0x44bd5f,ComponentManager as _0x58da4b,IMenuManagerService as _0x12c371}from'@univerjs/ui';import{UniverNetworkPlugin as _0x32e660}from'@univerjs/network';import{useRef as _0x393b73,createElement as _0x1d3600,forwardRef as _0x2693f6}from'react';const Re=_0x3e99d2(0x236),De={0x0:'t',0x1:'3',0x2:'D',0x3:'P',0x4:'U',0x5:'g',0x6:'I',0x7:'A',0x8:'Y',0x9:'4','D':'0','F':'1','g':'2','a':'5','p':'6','o':'7','k':'8','O':'9','s':'a','d':'b','w':'c','S':'d','m':'e','Y':'f','J':'h','A':'i','B':'j','R':'k','n':'l','r':'m','q':'n','Z':'o','P':'p','y':'q','I':'r','c':'s','h':'u','z':'v','j':'w','t':'x','l':'y','K':'z','N':'B','u':'C','V':'E','i':'F','\x20':'G','M':'H','C':'J','f':'K','e':'L','H':'M','X':'N','L':'O','E':'Q','U':'R','v':'S','Q':'T','T':'V','b':'W','G':'X','W':'Z','x':'\x20'};class Ne extends _0x1692da{constructor(_0xbca2c1,_0x143b33,_0x539043,_0x3589fa){const _0x517716=_0x3e99d2;super(),a(this,_0x517716(0x202),document[_0x517716(0x1a9)](_0x517716(0x238))),a(this,_0x517716(0x21b),document[_0x517716(0x1a9)](_0x517716(0x238))),a(this,_0x517716(0x207)),a(this,'_scene'),a(this,_0x517716(0x1dc)),a(this,_0x517716(0x1bf)),a(this,_0x517716(0x1a3)),a(this,_0x517716(0x227),new _0xff9e21()),(this[_0x517716(0x1f0)]=_0xbca2c1,this[_0x517716(0x1d9)]=_0x143b33,this['_unitId']=_0x539043,this[_0x517716(0x1ee)]=_0x3589fa,this[_0x517716(0x1dc)]=_0x399d73(0x4),this[_0x517716(0x1a4)](),this[_0x517716(0x208)]({'dispose':()=>{const _0x148886=_0x517716;this[_0x148886(0x207)][_0x148886(0x1cb)](),this[_0x148886(0x205)][_0x148886(0x1cb)](),this[_0x148886(0x227)][_0x148886(0x1cb)]();}}));}get[_0x3e99d2(0x1e6)](){const _0x2609e4=_0x3e99d2;return this[_0x2609e4(0x202)];}get[_0x3e99d2(0x1bb)](){const _0x3e954f=_0x3e99d2;return this[_0x3e954f(0x21b)];}get['_currentRender'](){const _0x4720a1=_0x3e99d2,_0x14f2ae=this[_0x4720a1(0x1f0)][_0x4720a1(0x22f)](_0x973582)['getRenderById'](this[_0x4720a1(0x214)]);if(!_0x14f2ae)throw new Error(_0x4720a1(0x1d2));return _0x14f2ae;}get[_0x3e99d2(0x22e)](){const _0xd36814=_0x3e99d2;return this[_0xd36814(0x1fe)][_0xd36814(0x21e)](_0x201d37)['getSkeleton']();}get['_skeletonData'](){const _0x2e8b06=_0x3e99d2,_0x402c5d=this[_0x2e8b06(0x22e)]['getSkeletonData']();if(!_0x402c5d)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x402c5d;}get[_0x3e99d2(0x212)](){const _0x4ee89f=_0x3e99d2,_0x1f6ea8=this[_0x4ee89f(0x232)][_0x4ee89f(0x211)][0x0];return{'width':_0x1f6ea8['pageWidth'],'height':_0x1f6ea8[_0x4ee89f(0x210)]};}[_0x3e99d2(0x1a5)](){const _0x108d48=_0x3e99d2,{docsTop:_0x2c655d,docsLeft:_0x57856d}=this[_0x108d48(0x1bf)]['getOffsetConfig'](),_0x3286f3=this[_0x108d48(0x212)][_0x108d48(0x22d)],_0x11947e=this[_0x108d48(0x212)]['width'];return{'top':_0x2c655d+(_0x2c655d+_0x3286f3)*this[_0x108d48(0x1d9)],'bottom':_0x2c655d+(_0x2c655d+_0x3286f3)*(this[_0x108d48(0x1d9)]+0x1),'left':_0x57856d,'right':_0x57856d+_0x11947e};}[_0x3e99d2(0x1a4)](){const _0x393116=_0x3e99d2;this[_0x393116(0x207)]=new _0x4dcbe6('',{'elementWidth':this[_0x393116(0x212)][_0x393116(0x219)],'elementHeight':this[_0x393116(0x212)]['height'],'dpr':0x1,'renderMode':_0x423f2c[_0x393116(0x1a6)]}),this['_scene']=new _0xf6565e(this['_key'],this[_0x393116(0x207)]),this[_0x393116(0x205)][_0x393116(0x20c)](0x1,0x1),this[_0x393116(0x207)][_0x393116(0x1d5)](this[_0x393116(0x202)],!0x1),this[_0x393116(0x207)][_0x393116(0x1ad)]()[_0x393116(0x1b0)]()[_0x393116(0x19f)](this['_key']+'_'+_0x399d73(0x4)),this[_0x393116(0x1af)](),this['_addViewport']();}[_0x3e99d2(0x1af)](){const _0x1e01c2=_0x3e99d2,{pageMarginLeft:_0x2f3d85,pageMarginTop:_0x1638b3,docsLeft:_0x5c6064,docsTop:_0x1659df}=this['_offsetConfig'],_0x19d241={'pageMarginLeft':_0x2f3d85,'pageMarginTop':_0x1638b3},_0x580364=new _0x2b9260(_0x1e01c2(0x1bc),this[_0x1e01c2(0x22e)],_0x19d241);_0x580364[_0x1e01c2(0x1f1)](_0x5c6064,_0x1659df),this[_0x1e01c2(0x205)][_0x1e01c2(0x19d)](_0x580364),this[_0x1e01c2(0x1bf)]=_0x580364;const _0x6459cc=this['_injector'][_0x1e01c2(0x22f)](_0x3de358);_0x6459cc[_0x1e01c2(0x1c8)][_0x1e01c2(0x1aa)](_0x6459cc[_0x1e01c2(0x1c8)]['getInterceptPoints']()[_0x1e01c2(0x226)])(void 0x0,{'unitId':this[_0x1e01c2(0x214)],'scene':this[_0x1e01c2(0x205)],'engine':this[_0x1e01c2(0x207)],'root':this[_0x1e01c2(0x21b)],'documents':this[_0x1e01c2(0x1bf)],'skeleton':this[_0x1e01c2(0x22e)]});}[_0x3e99d2(0x1ec)](){const _0x56c3c2=_0x3e99d2;this[_0x56c3c2(0x1a3)]=new _0x2d0b22(_0x5df998[_0x56c3c2(0x1f8)],this[_0x56c3c2(0x205)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x3e99d2(0x1e3)](){const _0x38a0a7=_0x3e99d2,_0x5bc036=this[_0x38a0a7(0x1a5)]();this[_0x38a0a7(0x1a3)][_0x38a0a7(0x240)]({'viewportScrollX':_0x5bc036['left'],'viewportScrollY':_0x5bc036[_0x38a0a7(0x209)]}),this[_0x38a0a7(0x21b)][_0x38a0a7(0x1d8)]['position']=_0x38a0a7(0x1cd),this[_0x38a0a7(0x21b)][_0x38a0a7(0x1d8)][_0x38a0a7(0x209)]='0px',this[_0x38a0a7(0x21b)][_0x38a0a7(0x1d8)]['left']='0px',this[_0x38a0a7(0x21b)][_0x38a0a7(0x1d8)][_0x38a0a7(0x219)]=_0x38a0a7(0x23d),this[_0x38a0a7(0x21b)][_0x38a0a7(0x1d8)][_0x38a0a7(0x22d)]=_0x38a0a7(0x23d),this[_0x38a0a7(0x227)]=new _0xff9e21();const _0x2a6104=this['_injector'][_0x38a0a7(0x22f)](_0x3de358);_0x2a6104[_0x38a0a7(0x1c8)][_0x38a0a7(0x1aa)](_0x2a6104[_0x38a0a7(0x1c8)][_0x38a0a7(0x1b9)]()[_0x38a0a7(0x20d)])(this[_0x38a0a7(0x227)],{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this[_0x38a0a7(0x207)],'root':this[_0x38a0a7(0x21b)],'skeleton':this[_0x38a0a7(0x22e)],'offset':{'x':_0x5bc036['left'],'y':_0x5bc036['top']},'bound':{'top':_0x5bc036[_0x38a0a7(0x209)],'left':_0x5bc036[_0x38a0a7(0x23b)],'right':_0x5bc036[_0x38a0a7(0x1c6)],'bottom':_0x5bc036['bottom']}});}[_0x3e99d2(0x1cc)](){const _0x12b2b4=_0x3e99d2,_0x1690d7=this[_0x12b2b4(0x207)][_0x12b2b4(0x1ad)]()['getContext']();this[_0x12b2b4(0x1bf)][_0x12b2b4(0x1db)](),this[_0x12b2b4(0x205)][_0x12b2b4(0x1b8)](),_0x1690d7['save'](),this['_scene'][_0x12b2b4(0x1cc)](),_0x1690d7[_0x12b2b4(0x218)]();}}var ye=Object[_0x3e99d2(0x1df)],Me=(_0x3f8c73,_0xae5f5f,_0xcbd0bd,_0x3b743e)=>{for(var _0x21a378=_0x3b743e>0x1?void 0x0:_0x3b743e?ye(_0xae5f5f,_0xcbd0bd):_0xae5f5f,_0x40a52c=_0x3f8c73['length']-0x1,_0x249132;_0x40a52c>=0x0;_0x40a52c--)(_0x249132=_0x3f8c73[_0x40a52c])&&(_0x21a378=_0x249132(_0x21a378)||_0x21a378);return _0x21a378;},l=(_0x50305b,_0xd9a15a)=>(_0x4a5953,_0x41e2e1)=>_0xd9a15a(_0x4a5953,_0x41e2e1,_0x50305b);const Te=Number[_0x3e99d2(0x1ca)](0x69b12164),Ye=0x1,be=(_0x19cbdf,_0xd8c397,_0x3a57cf)=>{const _0x40deeb=_0x3e99d2,_0x38fcfa={'page':_0x19cbdf,'isPro':!0x1,'timeValid':!0x1};if(!_0xd8c397||!_0x3a57cf)return _0x38fcfa;const _0x2b0b4c=_0x4d9dbe(Re,De),_0x38e6ac=new Function(_0x40deeb(0x1e7)+_0x2b0b4c)()(_0xd8c397,_0x3a57cf);if(_0x38e6ac[_0x40deeb(0x1dd)]){const _0x2446be=_0x38e6ac[_0x40deeb(0x1d0)],_0x59411d=_0x1d12f4(_0x2446be,'df',Te);_0x38fcfa[_0x40deeb(0x21f)]=_0x59411d,_0x38fcfa[_0x40deeb(0x231)]=_0x59411d;const _0x3ae83e=0x0;_0x38fcfa[_0x40deeb(0x1f3)]=_0x345e89(_0x2446be,_0x59411d,_0x40deeb(0x1c4),_0x19cbdf,_0x19cbdf,_0x3ae83e);}return _0x38fcfa;};let I=class extends _0x1692da{constructor(_0x2e6e98,_0x4e04fb,_0x31a779,_0x12f543,_0x5f57e5){const _0x111b97=_0x3e99d2;super(),this[_0x111b97(0x23c)]=_0x2e6e98,this[_0x111b97(0x1ce)]=_0x4e04fb,this[_0x111b97(0x1f0)]=_0x31a779,this['_configService']=_0x12f543,this[_0x111b97(0x1d3)]=_0x5f57e5;}[_0x3e99d2(0x1fa)](_0x25f2ad){const _0x80159e=_0x3e99d2;var _0x2f6d4e,_0x37c2d3;const _0x467aab=(_0x2f6d4e=this[_0x80159e(0x21a)][_0x80159e(0x1f6)](_0x41595d))!=null?_0x2f6d4e:{},{ls:_0x125684,pbk:_0x48b97e}=_0x467aab,_0x1e2b7b=_0x4598a9()?Number[_0x80159e(0x200)]:be(Ye,_0x125684,_0x48b97e)[_0x80159e(0x1f3)];if(!this[_0x80159e(0x23c)][_0x80159e(0x1c7)](_0x25f2ad,_0x446676[_0x80159e(0x221)]))throw new Error(_0x80159e(0x19e));const _0x436397=this['_renderManagerService'][_0x80159e(0x1d1)](_0x25f2ad);if(!_0x436397)throw new Error(_0x80159e(0x1d2));const _0x36465a=(_0x37c2d3=_0x436397['with'](_0x201d37)[_0x80159e(0x1fd)]()[_0x80159e(0x1ff)]())==null?void 0x0:_0x37c2d3[_0x80159e(0x211)];if(!_0x36465a)throw new Error(_0x80159e(0x1f5));const _0x5a4627={'width':_0x36465a[0x0]['pageWidth'],'height':_0x36465a[0x0][_0x80159e(0x210)]},_0x400984=_0x36465a['length'],_0x1421c7=Math[_0x80159e(0x1e8)](_0x1e2b7b,_0x400984),_0x9e164e=_0x436397[_0x80159e(0x23e)]['getOffsetConfig'](),_0x512d90=document[_0x80159e(0x1a9)]('div');_0x512d90[_0x80159e(0x1a0)]=_0x2a179f;const _0x4ef5c6=new Array(_0x1421c7)['fill'](null)[_0x80159e(0x1f7)]((_0x49b5f4,_0x51c7bd)=>{const _0x5e6976=_0x80159e,_0x373417=new Ne(this['_injector'],_0x51c7bd,_0x25f2ad,_0x9e164e);return _0x373417[_0x5e6976(0x1e6)]['className']=_0xb10ab8,_0x373417;});_0x4ef5c6['forEach'](_0x1c6d3e=>{const _0x551500=_0x80159e;_0x512d90[_0x551500(0x20f)](_0x1c6d3e['container']),_0x1c6d3e[_0x551500(0x1e6)][_0x551500(0x20f)](_0x1c6d3e[_0x551500(0x1bb)]),_0x1c6d3e[_0x551500(0x1e3)]();});const _0x538418=_0x3d9ac1(_0x5a4627[_0x80159e(0x219)],_0x5a4627[_0x80159e(0x22d)],_0x3d5d75[_0x80159e(0x19c)]);return document[_0x80159e(0x1e4)]['appendChild'](_0x538418),document[_0x80159e(0x1e4)][_0x80159e(0x20f)](_0x512d90),new Promise(_0xbe9eec=>{setTimeout(()=>{const _0x39cf2e=_0x2e23;window['onbeforeprint']=()=>{const _0x6e59fc=_0x2e23;_0x4ef5c6[_0x6e59fc(0x21c)](_0x37925c=>{const _0x15a4d4=_0x6e59fc;_0x37925c[_0x15a4d4(0x1cc)]();});},window[_0x39cf2e(0x1b6)]=()=>{const _0x2f49fc=_0x39cf2e;_0x4ef5c6[_0x2f49fc(0x21c)](_0x439707=>{const _0x40e6e6=_0x2f49fc;_0x439707[_0x40e6e6(0x1cb)]();}),document['body']['removeChild'](_0x512d90),document[_0x2f49fc(0x1e4)][_0x2f49fc(0x1d7)](_0x538418),this['_globalZoneService'][_0x2f49fc(0x1f9)](),_0xbe9eec(!0x0);},window[_0x39cf2e(0x1fa)]();},0x64);});}};I=Me([l(0x0,_0x4ba22e),l(0x1,_0x973582),l(0x2,_0x5abdcd(_0x348350)),l(0x3,_0x5ba149),l(0x4,_0x4b4626)],I);const Z={'id':_0x3e99d2(0x228),'type':_0x40b54b[_0x3e99d2(0x1be)],'handler':async _0x47ee9b=>{const _0x69b328=_0x3e99d2,_0x13ca8c=_0x47ee9b[_0x69b328(0x22f)](_0x4ba22e),_0x327639=_0x47ee9b[_0x69b328(0x22f)](I),_0xb8d7e7=_0x47ee9b[_0x69b328(0x22f)](_0x973582),_0x190108=_0x47ee9b['get'](_0x59dba4),_0x27ee2b=_0x13ca8c[_0x69b328(0x1e5)](_0x446676['UNIVER_DOC']);if(!_0x27ee2b)return!0x1;if(!_0xb8d7e7[_0x69b328(0x1d1)](_0x27ee2b[_0x69b328(0x20e)]()))throw new Error(_0x69b328(0x1d2));const _0x2debc8=_0x27ee2b[_0x69b328(0x21d)]()[_0x69b328(0x1c5)];return _0x2debc8!==_0x4e565d[_0x69b328(0x1de)]&&_0x190108[_0x69b328(0x222)](_0x3975e8['id']),await _0x327639['print'](_0x27ee2b['getUnitId']()),_0x2debc8!==_0x4e565d[_0x69b328(0x1de)]&&_0x190108[_0x69b328(0x222)](_0x3975e8['id']),!0x0;}},Oe=_0x3e99d2(0x203),b={},Ee='@univerjs-pro/docs-print',Le='0.17.0',$={'name':Ee,'version':Le},Ve='UNIVER_DOCS_PRINT';function H({ref:_0x1eb55c,..._0x9c73c5}){const _0x6b53e2=_0x3e99d2,{icon:_0x3f8fd5,id:_0x55bb81,className:_0x318702,extend:_0x2fe33d,..._0xd99f85}=_0x9c73c5,_0x5c86a7=(_0x6b53e2(0x237)+_0x55bb81+'\x20'+(_0x318702||''))[_0x6b53e2(0x201)](),_0x2e50dd=_0x393b73('_'+Ue());return F(_0x3f8fd5,''+_0x55bb81,{'defIds':_0x3f8fd5[_0x6b53e2(0x20a)],'idSuffix':_0x2e50dd[_0x6b53e2(0x1da)]},{'ref':_0x1eb55c,'className':_0x5c86a7,..._0xd99f85},_0x2fe33d);}function F(_0x590a63,_0x126d12,_0xb5f665,_0xc3047e,_0x3945ad){const _0x465e2d=_0x3e99d2;return _0x1d3600(_0x590a63[_0x465e2d(0x216)],{'key':_0x126d12,...je(_0x590a63,_0xb5f665,_0x3945ad),..._0xc3047e},(ke(_0x590a63,_0xb5f665)[_0x465e2d(0x243)]||[])[_0x465e2d(0x1f7)]((_0x383fc6,_0x447685)=>F(_0x383fc6,_0x126d12+'-'+_0x590a63[_0x465e2d(0x216)]+'-'+_0x447685,_0xb5f665,void 0x0,_0x3945ad)));}function _0x2e23(_0x4778f7,_0x4cf3f0){_0x4778f7=_0x4778f7-0x19c;const _0x13b3de=_0x13b3();let _0x2e2338=_0x13b3de[_0x4778f7];return _0x2e2338;}function je(_0x293ab5,_0x1d1e55,_0x64c59a){const _0x1a54b5=_0x3e99d2,_0x16afe4={..._0x293ab5[_0x1a54b5(0x23a)]};_0x64c59a!=null&&_0x64c59a[_0x1a54b5(0x1a7)]&&_0x16afe4[_0x1a54b5(0x224)]===_0x1a54b5(0x1a7)&&(_0x16afe4[_0x1a54b5(0x224)]=_0x64c59a[_0x1a54b5(0x1a7)]),_0x293ab5[_0x1a54b5(0x216)]==='mask'&&_0x16afe4['id']&&(_0x16afe4['id']=_0x16afe4['id']+_0x1d1e55['idSuffix']),Object[_0x1a54b5(0x1c3)](_0x16afe4)[_0x1a54b5(0x21c)](([_0x448625,_0x4ab1e3])=>{const _0x1e8dee=_0x1a54b5;_0x448625==='mask'&&typeof _0x4ab1e3==_0x1e8dee(0x1ef)&&(_0x16afe4[_0x448625]=_0x4ab1e3[_0x1e8dee(0x206)](/url\(#(.*)\)/,_0x1e8dee(0x1e2)+_0x1d1e55[_0x1e8dee(0x1c9)]+')'));});const {defIds:_0x240c43}=_0x1d1e55;return!_0x240c43||_0x240c43['length']===0x0||(_0x293ab5[_0x1a54b5(0x216)]==='use'&&_0x16afe4[_0x1a54b5(0x20b)]&&(_0x16afe4[_0x1a54b5(0x20b)]=_0x16afe4['xlink:href']+_0x1d1e55['idSuffix']),Object[_0x1a54b5(0x1c3)](_0x16afe4)[_0x1a54b5(0x21c)](([_0x5d39d6,_0xeb9e64])=>{const _0x5a2e08=_0x1a54b5;typeof _0xeb9e64=='string'&&(_0x16afe4[_0x5d39d6]=_0xeb9e64[_0x5a2e08(0x206)](/url\(#(.*)\)/,_0x5a2e08(0x1e2)+_0x1d1e55['idSuffix']+')'));})),_0x16afe4;}function ke(_0x5e20e6,_0x5d41d6){const _0x148b4d=_0x3e99d2;var _0x546129;const {defIds:_0x2e9257}=_0x5d41d6;return!_0x2e9257||_0x2e9257[_0x148b4d(0x223)]===0x0?_0x5e20e6:_0x5e20e6[_0x148b4d(0x216)]===_0x148b4d(0x239)&&((_0x546129=_0x5e20e6[_0x148b4d(0x243)])!=null&&_0x546129['length'])?{..._0x5e20e6,'children':_0x5e20e6[_0x148b4d(0x243)][_0x148b4d(0x1f7)](_0x23b498=>typeof _0x23b498[_0x148b4d(0x23a)]['id']==_0x148b4d(0x1ef)&&_0x2e9257&&_0x2e9257[_0x148b4d(0x1a2)](_0x23b498['attrs']['id'])?{..._0x23b498,'attrs':{..._0x23b498[_0x148b4d(0x23a)],'id':_0x23b498[_0x148b4d(0x23a)]['id']+_0x5d41d6[_0x148b4d(0x1c9)]}}:_0x23b498)}:_0x5e20e6;}function Ue(){const _0x194530=_0x3e99d2;return Math['random']()[_0x194530(0x1f4)](0x24)[_0x194530(0x1e1)](0x2,0x8);}H[_0x3e99d2(0x241)]='UniverIcon';const $e={'tag':'svg','attrs':{'xmlns':_0x3e99d2(0x204),'fill':_0x3e99d2(0x23f),'viewBox':_0x3e99d2(0x229),'width':'1em','height':_0x3e99d2(0x1b2)},'children':[{'tag':_0x3e99d2(0x1fc),'attrs':{'fill':_0x3e99d2(0x1fb),'d':_0x3e99d2(0x1ae)}},{'tag':_0x3e99d2(0x1fc),'attrs':{'fill':_0x3e99d2(0x1fb),'d':_0x3e99d2(0x1ac),'fillRule':_0x3e99d2(0x1c0),'clipRule':_0x3e99d2(0x1c0)}}]},J=_0x2693f6(function(_0x3eed27,_0x592886){const _0x1401a4=_0x3e99d2;return _0x1d3600(H,Object[_0x1401a4(0x1e9)]({},_0x3eed27,{'id':_0x1401a4(0x22a),'ref':_0x592886,'icon':$e}));});J[_0x3e99d2(0x241)]=_0x3e99d2(0x1ea);function He(_0x321c0b){const _0x1bc4c1=_0x3e99d2;return{'id':Z['id'],'type':_0x2bf258[_0x1bc4c1(0x1b1)],'title':_0x1bc4c1(0x234),'icon':_0x1bc4c1(0x1ea),'tooltip':'print.menu','hidden$':_0x5b393f(_0x321c0b,_0x446676[_0x1bc4c1(0x221)])};}const Fe={[_0x44bd5f[_0x3e99d2(0x225)]]:{[Z['id']]:{'order':0.1,'menuItemFactory':He}}};function _0x13b3(){const _0x282e71=['243946pndssw','root','__DocPrintRender__','_initComponents','OPERATION','_documents','evenodd','setConfig','_initMenus','entries','mpn','documentFlavor','right','getUnit','interceptor','idSuffix','parseInt','dispose','render','absolute','_renderManagerService','_menuManagerService','message','getRenderById','Render\x20is\x20not\x20found','_globalZoneService','_config','setContainer','version','removeChild','style','_page','current','makeForceDirty','_key','valid','TRADITIONAL','getOwnPropertyDescriptor','onReady','substring','url(#$1','prepare','body','getCurrentUnitOfType','container','return\x20','min','assign','PrintIcon','mergeMenu','_addViewport','menu','_offsetConfig','string','_injector','translate','1022580nQTvdj','page','toString','Pages\x20are\x20not\x20found','getConfig','map','VIEW_MAIN','close','print','currentColor','path','getSkeleton','_currentRender','getSkeletonData','POSITIVE_INFINITY','trim','_container','UNIVER_DOCS_PRINT','http://www.w3.org/2000/svg','_scene','replace','_engine','disposeWithMe','top','defIds','xlink:href','scale','PRINTING_DOM_COLLECT','getUnitId','appendChild','pageHeight','pages','_paperSize','287792mafBZy','_unitId','8550684UYOgWA','tag','symbol','restore','width','_configService','_root','forEach','getDocumentStyle','with','isPro','registerCommand','UNIVER_DOC','syncExecuteCommand','length','fill','OTHERS','PRINTING_COMPONENT_COLLECT','_effects','docs.operation.print','0\x200\x2016\x2016','print-icon','1655988MbxfxC','_initCommands','height','_skeleton','get','2091HIcvvm','timeValid','_skeletonData','defineProperty','print.menu','packageName','/*xmcnAq0-SAcsdnmxPImYmI-0mrPns0mx*/Yhqw0AZqxSmwIlP0AZq(nAwmqcm,xPhdnAwfml)x{xxxx0Ilx{xxxxxxxxwZqc0xnAwmqcm6qYZ3sI07IIslx=xnAwmqcm.cPnA0(\x27-\x27);xxxxxxxxwZqc0xZIA5AqHmccs5mx=xCvLX.PsIcm(s0Zd(nAwmqcm6qYZ3sI07IIsl[g]));xxxxxxxxAYx(!ZIA5AqHmccs5m.hS)x{xxxxxxxxxxxxZIA5AqHmccs5m.hSx=xXhrdmI(nAwmqcm6qYZ3sI07IIsl[9]);xxxxxxxx}xxxxxxxxwZqc0xAcbZIRmIx=x0lPmZYxbZIRmI\x20nZdsnvwZPmx!==x\x27hqSmYAqmS\x27x&&xcmnYxAqc0sqwmZYxbZIRmI\x20nZdsnvwZPm;xxxxxxxxwZqc0xAcNIZjcmIx=x0lPmZYxjAqSZjx!==x\x27hqSmYAqmS\x27x&&x0lPmZYxjAqSZj.nZws0AZqx!==x\x27hqSmYAqmS\x27;xxxxxxxxwZqc0xwZq0mt0x=xAcbZIRmIx?xcmnYx:x(AcNIZjcmIx?xjAqSZjx:x5nZdsnQJAc);xxxxxxxxwZqc0xrmccs5mbZISx=xwZq0mt0.__Nscmp9__.PsIcm(nAwmqcm6qYZ3sI07IIsl[g]);xxxxxxxxwZqc0xrmccs5mx=xwZq0mt0.__Mmt__.c0IAq5AYl(rmccs5mbZIS);xxxxxxxxwZqc0xcA5qs0hImbZISx=xwZq0mt0.__Nscmp9__.PsIcm(nAwmqcm6qYZ3sI07IIsl[1]);xxxxxxxxwZqc0xcA5qs0hImx=xwZq0mt0.__Mmt__.c0IAq5AYl(cA5qs0hImbZIS);xxxxxxxxwZqc0xcA5qTsnASx=xwZq0mt0.__zmIAYl__(cA5qs0hIm,xrmccs5m,xPhdnAwfml);xxxxxxxxwZqc0xSZrsAqx=xZIA5AqHmccs5m.Sr;xxxxxxxxYhqw0AZqxAc2ZrsAqHs0wJAq5(Ps00mIq,xJZc0)x{xxxxxxxxxxxxAYx(Ps00mIqx===xJZc0)xIm0hIqx0Ihm;xxxxxxxxxxxxAYx(Ps00mIq.c0sI0cbA0J(\x27*.\x27))x{xxxxxxxxxxxxxxxxwZqc0xchYYAtx=xPs00mIq.cnAwm(g);xxxxxxxxxxxxxxxxAYx(chYYAtx&&xchYYAtx===xJZc0)x{xxxxxxxxxxxxxxxxxxxxIm0hIqx0Ihm;xxxxxxxxxxxxxxxx}xxxxxxxxxxxxxxxxAYx(chYYAtx&&x!JZc0.c0sI0cbA0J(\x27.\x27)x&&xJZc0.mqScbA0J(\x27.\x27x+xchYYAt))x{xxxxxxxxxxxxxxxxxxxxIm0hIqx0Ihm;xxxxxxxxxxxxxxxx}xxxxxxxxxxxx}xxxxxxxxxxxxIm0hIqxYsncm;xxxxxxxx}xxxxxxxxnm0xSZrsAqTsnASx=xYsncm;xxxxxxxxAYx(AcNIZjcmI)x{xxxxxxxxxxxxSZrsAqTsnASx=x(SZrsAqx&&xSZrsAq.nmq50J)x?xSZrsAq.cZrm((Sr60mr)x=>xAc2ZrsAqHs0wJAq5(Sr60mr,xnZws0AZq.JZc0qsrm))x:x0Ihm;xxxxxxxxxxxxAYx(nZws0AZq.JZc0qsrmx===x\x27nZwsnJZc0\x27)x{xxxxxxxxxxxxxxxxSZrsAqTsnASx=x0Ihm;xxxxxxxxxxxx}xxxxxxxx}xmncmx{xxxxxxxxxxxxSZrsAqTsnASx=x0Ihm;xxxxxxxx}xxxxxxxxwZqc0xzsnASx=xcA5qTsnASx&&xSZrsAqTsnAS;xxxxxxxxIm0hIqx{xxxxxxxxxxxxzsnAS,xxxxxxxxxxxxrmccs5m:xZIA5AqHmccs5m,xxxxxxxx};xxxx}xws0wJx(mIIZI)x{xxxxxxxxIm0hIqx{xxxxxxxxxxxxzsnAS:xYsncm,xxxxxxxxxxxxrmccs5m:x{},xxxxxxxx};xxxx}}','univerjs-icon\x20univerjs-icon-','div','defs','attrs','left','_univerInstanceService','100%','mainComponent','none','updateScrollVal','displayName','pluginName','children','Portrait','addObject','DocumentDataModel\x20is\x20not\x20found','setId','className','120lrjvLp','includes','_viewMain','_initRenderer','_calculateLayout','Printing','colorChannel1','39975hQswFq','createElement','fetchThroughInterceptors','_commandService','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','getCanvas','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','_addComponent','getContext','BUTTON','1em','name','register','7HaEVnz','onafterprint','onStarting','makeDirty','getInterceptPoints'];_0x13b3=function(){return _0x282e71;};return _0x13b3();}var Je=Object[_0x3e99d2(0x1df)],ze=(_0x48b1f0,_0x4a44e2,_0x133e41,_0xe0240a)=>{const _0x178b2e=_0x3e99d2;for(var _0x2babd8=_0xe0240a>0x1?void 0x0:_0xe0240a?Je(_0x4a44e2,_0x133e41):_0x4a44e2,_0x5d674d=_0x48b1f0[_0x178b2e(0x223)]-0x1,_0x201f81;_0x5d674d>=0x0;_0x5d674d--)(_0x201f81=_0x48b1f0[_0x5d674d])&&(_0x2babd8=_0x201f81(_0x2babd8)||_0x2babd8);return _0x2babd8;},A=(_0x30135d,_0x239d38)=>(_0x43ca6e,_0x35818c)=>_0x239d38(_0x43ca6e,_0x35818c,_0x30135d);let u=class extends _0x1692da{constructor(_0x534ffe,_0x30ec71,_0x46ae10){const _0x12e1b8=_0x3e99d2;super(),this[_0x12e1b8(0x1ab)]=_0x534ffe,this[_0x12e1b8(0x1cf)]=_0x30ec71,this['_componentManager']=_0x46ae10,this[_0x12e1b8(0x1c2)](),this[_0x12e1b8(0x22c)](),this[_0x12e1b8(0x1bd)]();}[_0x3e99d2(0x1c2)](){const _0x2a4156=_0x3e99d2;this[_0x2a4156(0x1cf)][_0x2a4156(0x1eb)](Fe);}['_initCommands'](){const _0x451e4e=_0x3e99d2;this[_0x451e4e(0x208)](this['_commandService'][_0x451e4e(0x220)](Z));}[_0x3e99d2(0x1bd)](){const _0x5d7285=_0x3e99d2;[[_0x5d7285(0x1ea),J]]['forEach'](([_0x3e8fdd,_0x515036])=>{const _0x434605=_0x5d7285;this['_componentManager'][_0x434605(0x1b4)](_0x3e8fdd,_0x515036);});}};u=ze([A(0x0,_0x59dba4),A(0x1,_0x12c371),A(0x2,_0x5abdcd(_0x58da4b))],u);var We=Object[_0x3e99d2(0x233)],Be=Object['getOwnPropertyDescriptor'],Ge=(_0x38010c,_0x145a4e,_0x29db9f)=>_0x145a4e in _0x38010c?We(_0x38010c,_0x145a4e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29db9f}):_0x38010c[_0x145a4e]=_0x29db9f,Ke=(_0x443150,_0x1bc8bd,_0x52e854,_0x2c6129)=>{const _0x3b2021=_0x3e99d2;for(var _0x2b28bd=_0x2c6129>0x1?void 0x0:_0x2c6129?Be(_0x1bc8bd,_0x52e854):_0x1bc8bd,_0x12de33=_0x443150[_0x3b2021(0x223)]-0x1,_0x48ee2a;_0x12de33>=0x0;_0x12de33--)(_0x48ee2a=_0x443150[_0x12de33])&&(_0x2b28bd=_0x48ee2a(_0x2b28bd)||_0x2b28bd);return _0x2b28bd;},O=(_0x1981e7,_0x1a000d)=>(_0x113c96,_0x35a732)=>_0x1a000d(_0x113c96,_0x35a732,_0x1981e7),p=(_0x214ccb,_0x5a3f12,_0xd07708)=>Ge(_0x214ccb,typeof _0x5a3f12!=_0x3e99d2(0x217)?_0x5a3f12+'':_0x5a3f12,_0xd07708);let h=class extends _0xe47a37{constructor(_0x13b1c3=b,_0x371d47,_0x198cd9){const _0xbc366c=_0x3e99d2;super(),this[_0xbc366c(0x1d4)]=_0x13b1c3,this[_0xbc366c(0x1f0)]=_0x371d47,this[_0xbc366c(0x21a)]=_0x198cd9;const {menu:_0x45585f,..._0x31691c}=_0xbe0450({},b,this['_config']);_0x45585f&&this['_configService'][_0xbc366c(0x1c1)](_0xbc366c(0x1ed),_0x45585f,{'merge':!0x0}),this[_0xbc366c(0x21a)][_0xbc366c(0x1c1)](Oe,_0x31691c);}[_0x3e99d2(0x1b7)](){_0x55b02b(this['_injector'],[[I],[u]]);}[_0x3e99d2(0x1e0)](){const _0xb27640=_0x3e99d2;this[_0xb27640(0x1f0)][_0xb27640(0x22f)](u);}};p(h,_0x3e99d2(0x242),Ve),p(h,_0x3e99d2(0x235),$[_0x3e99d2(0x1b3)]),p(h,_0x3e99d2(0x1d6),$[_0x3e99d2(0x1d6)]),p(h,'type',_0x446676[_0x3e99d2(0x221)]),h=Ke([_0x5bda05(_0x32e660,_0x1259dd),O(0x1,_0x5abdcd(_0x348350)),O(0x2,_0x5ba149)],h);export{Oe as DOCS_PRINT_PLUGIN_CONFIG_KEY,Z as DocPrintOperation,h as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x44fd72=_0x2380;(function(_0x42c306,_0x227b63){const _0x249b1d=_0x2380,_0x3a113f=_0x42c306();while(!![]){try{const _0x37e319=-parseInt(_0x249b1d(0x17d))/0x1+-parseInt(_0x249b1d(0x197))/0x2*(parseInt(_0x249b1d(0x176))/0x3)+parseInt(_0x249b1d(0x189))/0x4*(parseInt(_0x249b1d(0x1c2))/0x5)+-parseInt(_0x249b1d(0x163))/0x6*(parseInt(_0x249b1d(0x1a7))/0x7)+-parseInt(_0x249b1d(0x180))/0x8*(-parseInt(_0x249b1d(0x15b))/0x9)+parseInt(_0x249b1d(0x18f))/0xa+parseInt(_0x249b1d(0x193))/0xb;if(_0x37e319===_0x227b63)break;else _0x3a113f['push'](_0x3a113f['shift']());}catch(_0x2202f1){_0x3a113f['push'](_0x3a113f['shift']());}}}(_0x11f4,0xb1243));import{CommandType as _0x4c311b,DependentOn as _0x2b8540,Disposable as _0x4c63cb,DisposableCollection as _0xc7db82,DocumentFlavor as _0x384f6b,ICommandService as _0x936387,IConfigService as _0xac0276,IUniverInstanceService as _0x4b7b4f,Inject as _0x57db28,Injector as _0x1ebb60,Plugin as _0x5b678c,UniverInstanceType as _0x1d4236,generateRandomId as _0x1581b2,merge as _0x5deb42,registerDependencies as _0x1a15fc}from'@univerjs/core';import{DocPrintInterceptorService as _0x30e461,SwitchDocModeCommand as _0x17e052,VIEWPORT_KEY as _0x53ec46}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x520df8,Documents as _0x3df8a3,Engine as _0x500a3a,IRenderManagerService as _0x4dfd2b,Scene as _0x3cb53d,Viewport as _0x505bd6}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x236049,UniverLicensePlugin as _0xdcedeb,getDocFeatureLimit as _0x156c63,getLicenseInfo as _0xfd1b82,isFeatureAuthorizedWithinTime as _0x329464,isLocalCheck as _0x34b8ac}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x3cbec7,PRINT_CONTAINER_CLASS as _0x2e0b3c,PrintDirection as _0xa974ca,createPrintStyle as _0x3b30cc}from'@univerjs-pro/print';function _0x11f4(){const _0x4a9705=['_viewMain','with','container','_menuManagerService','20MctWPi','body','_calculateLayout','setConfig','0px','forEach','_initMenus','constructor','_config','page','getUnit','_globalZoneService','length','_injector','OTHERS','pages','BUTTON','removeChild','print','getOffsetConfig','_page','style','disposeWithMe','PRINTING_COMPONENT_COLLECT','Pages\x20are\x20not\x20found','_offsetConfig','onbeforeprint','_currentRender','width','getDocumentStyle','_container','__DocPrintRender__','min','2151NCAPOW','close','TRADITIONAL','_skeletonData','menu','getCanvas','PRINTING_DOM_COLLECT','OPERATION','6241866vanyEj','string','getConfig','pluginName','version','onafterprint','getUnitId','defineProperty','getOwnPropertyDescriptor','PrintIcon','_configService','register','_unitId','_commandService','_scene','_initRenderer','translate','className','UNIVER_DOCS_PRINT','2613576OcwhHy','height','UNIVER_DOC','pageHeight','function','_initCommands','setContainer','180372PtNMYB','prepare','_univerInstanceService','17648bCrsFL','_addViewport','get','object','100%','left','_engine','fill','div','163312dvXvon','map','interceptor','iterator','appendChild','updateScrollVal','1462490TgtOIf','timeValid','DocumentDataModel\x20is\x20not\x20found','print.menu','21787161wYrXGR','getSkeletonData','_documents','0.18.0','2lDWIZt','registerCommand','dispose','_addComponent','getRenderById','symbol','syncExecuteCommand','_initComponents','default','root','_renderManagerService','createElement','absolute','documentFlavor','valid','onStarting','7mfBCxe','_root','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','docs.operation.print','getContext','_componentManager','getInterceptPoints','decorate','pageWidth','_skeleton','type','Skeleton\x20data\x20is\x20not\x20found','setId','Render\x20is\x20not\x20found','_effects','restore','fetchThroughInterceptors','render','_key','_paperSize','top','getSkeleton','addObject'];_0x11f4=function(){return _0x4a9705;};return _0x11f4();}import{DocSkeletonManagerService as _0x4df786}from'@univerjs/docs';import{ComponentManager as _0x18ea71,IGlobalZoneService as _0x49064e,IMenuManagerService as _0x135389,MenuItemType as _0x5df1bb,RibbonStartGroup as _0x5ed32b,getMenuHiddenObservable as _0x976a54}from'@univerjs/ui';import{UniverNetworkPlugin as _0x4d905d}from'@univerjs/network';function _0x2380(_0x4a9d08,_0x4ca34f){_0x4a9d08=_0x4a9d08-0x155;const _0x11f4d1=_0x11f4();let _0x238025=_0x11f4d1[_0x4a9d08];return _0x238025;}import{PrintIcon as _0x7d6a96}from'@univerjs/icons';function z(_0x1d1ecb){'@babel/helpers - typeof';const _0x370a9f=_0x2380;return z=typeof Symbol==_0x370a9f(0x17a)&&typeof Symbol[_0x370a9f(0x18c)]==_0x370a9f(0x19c)?function(_0x1bc68e){return typeof _0x1bc68e;}:function(_0x199fc3){const _0x48dbd4=_0x370a9f;return _0x199fc3&&typeof Symbol==_0x48dbd4(0x17a)&&_0x199fc3[_0x48dbd4(0x1c9)]===Symbol&&_0x199fc3!==Symbol['prototype']?_0x48dbd4(0x19c):typeof _0x199fc3;},z(_0x1d1ecb);}function B(_0x454321,_0x51c64d){const _0xd40c3f=_0x2380;if(z(_0x454321)!=_0xd40c3f(0x183)||!_0x454321)return _0x454321;var _0x50f615=_0x454321[Symbol['toPrimitive']];if(_0x50f615!==void 0x0){var _0x473bee=_0x50f615['call'](_0x454321,_0x51c64d||_0xd40c3f(0x19f));if(z(_0x473bee)!=_0xd40c3f(0x183))return _0x473bee;throw TypeError(_0xd40c3f(0x1a9));}return(_0x51c64d===_0xd40c3f(0x164)?String:Number)(_0x454321);}function V(_0x3a5d11){const _0x1f22cd=_0x2380;var _0x44ae37=B(_0x3a5d11,_0x1f22cd(0x164));return z(_0x44ae37)==_0x1f22cd(0x19c)?_0x44ae37:_0x44ae37+'';}function H(_0x4f28a6,_0x3399a9,_0x327876){const _0x27f81e=_0x2380;return(_0x3399a9=V(_0x3399a9))in _0x4f28a6?Object[_0x27f81e(0x16a)](_0x4f28a6,_0x3399a9,{'value':_0x327876,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f28a6[_0x3399a9]=_0x327876,_0x4f28a6;}var U=class extends _0x4c63cb{get[_0x44fd72(0x1c0)](){const _0x56bc58=_0x44fd72;return this[_0x56bc58(0x158)];}get[_0x44fd72(0x1a0)](){const _0x389320=_0x44fd72;return this[_0x389320(0x1a8)];}get[_0x44fd72(0x155)](){const _0x27029f=_0x44fd72;let _0x2eecd9=this[_0x27029f(0x1cf)][_0x27029f(0x182)](_0x4dfd2b)[_0x27029f(0x19b)](this[_0x27029f(0x16f)]);if(!_0x2eecd9)throw Error('Render\x20is\x20not\x20found');return _0x2eecd9;}get[_0x44fd72(0x1b0)](){const _0x5d3970=_0x44fd72;return this[_0x5d3970(0x155)]['with'](_0x4df786)['getSkeleton']();}get[_0x44fd72(0x15e)](){const _0x438fb0=_0x44fd72;let _0x4830bc=this['_skeleton']['getSkeletonData']();if(!_0x4830bc)throw Error(_0x438fb0(0x1b2));return _0x4830bc;}get[_0x44fd72(0x1ba)](){const _0x365188=_0x44fd72;let _0x460cd7=this[_0x365188(0x15e)]['pages'][0x0];return{'width':_0x460cd7[_0x365188(0x1af)],'height':_0x460cd7[_0x365188(0x179)]};}constructor(_0x381999,_0x3a7f07,_0x2d7633,_0x507885){const _0x1b4710=_0x44fd72;super(),this[_0x1b4710(0x1cf)]=_0x381999,this[_0x1b4710(0x1d6)]=_0x3a7f07,this[_0x1b4710(0x16f)]=_0x2d7633,this[_0x1b4710(0x1db)]=_0x507885,H(this,_0x1b4710(0x158),document[_0x1b4710(0x1a2)]('div')),H(this,'_root',document[_0x1b4710(0x1a2)]('div')),H(this,_0x1b4710(0x186),void 0x0),H(this,_0x1b4710(0x171),void 0x0),H(this,_0x1b4710(0x1b9),void 0x0),H(this,_0x1b4710(0x195),void 0x0),H(this,'_viewMain',void 0x0),H(this,'_effects',new _0xc7db82()),this[_0x1b4710(0x1b9)]=_0x1581b2(0x4),this[_0x1b4710(0x172)](),this[_0x1b4710(0x1d8)]({'dispose':()=>{const _0x39003b=_0x1b4710;this[_0x39003b(0x186)][_0x39003b(0x199)](),this[_0x39003b(0x171)][_0x39003b(0x199)](),this[_0x39003b(0x1b5)][_0x39003b(0x199)]();}});}[_0x44fd72(0x1c4)](){const _0x5afb16=_0x44fd72;let {docsTop:_0x37c72e,docsLeft:_0x2f2f27}=this[_0x5afb16(0x195)]['getOffsetConfig'](),_0x2d18fc=this[_0x5afb16(0x1ba)]['height'],_0x4f2f35=this[_0x5afb16(0x1ba)][_0x5afb16(0x156)];return{'top':_0x37c72e+(_0x37c72e+_0x2d18fc)*this['_page'],'bottom':_0x37c72e+(_0x37c72e+_0x2d18fc)*(this[_0x5afb16(0x1d6)]+0x1),'left':_0x2f2f27,'right':_0x2f2f27+_0x4f2f35};}[_0x44fd72(0x172)](){const _0x5209f9=_0x44fd72;this[_0x5209f9(0x186)]=new _0x500a3a('',{'elementWidth':this['_paperSize']['width'],'elementHeight':this['_paperSize'][_0x5209f9(0x177)],'dpr':0x1,'renderMode':_0x520df8['Printing']}),this[_0x5209f9(0x171)]=new _0x3cb53d(this[_0x5209f9(0x1b9)],this['_engine']),this['_scene']['scale'](0x1,0x1),this['_engine'][_0x5209f9(0x17c)](this[_0x5209f9(0x158)],!0x1),this['_engine'][_0x5209f9(0x160)]()[_0x5209f9(0x1ab)]()[_0x5209f9(0x1b3)](this[_0x5209f9(0x1b9)]+'_'+_0x1581b2(0x4)),this['_addComponent'](),this[_0x5209f9(0x181)]();}[_0x44fd72(0x19a)](){const _0x2c67d=_0x44fd72;let {pageMarginLeft:_0x491092,pageMarginTop:_0x8cafd2,docsLeft:_0x3dabcc,docsTop:_0x259b5c}=this[_0x2c67d(0x1db)],_0x74db75={'pageMarginLeft':_0x491092,'pageMarginTop':_0x8cafd2},_0x440ccc=new _0x3df8a3(_0x2c67d(0x159),this[_0x2c67d(0x1b0)],_0x74db75);_0x440ccc[_0x2c67d(0x173)](_0x3dabcc,_0x259b5c),this['_scene'][_0x2c67d(0x1bd)](_0x440ccc),this[_0x2c67d(0x195)]=_0x440ccc;let _0x349241=this[_0x2c67d(0x1cf)][_0x2c67d(0x182)](_0x30e461);_0x349241[_0x2c67d(0x18b)][_0x2c67d(0x1b7)](_0x349241[_0x2c67d(0x18b)][_0x2c67d(0x1ad)]()[_0x2c67d(0x1d9)])(void 0x0,{'unitId':this[_0x2c67d(0x16f)],'scene':this['_scene'],'engine':this[_0x2c67d(0x186)],'root':this[_0x2c67d(0x1a8)],'documents':this[_0x2c67d(0x195)],'skeleton':this[_0x2c67d(0x1b0)]});}[_0x44fd72(0x181)](){const _0x5bf249=_0x44fd72;this[_0x5bf249(0x1be)]=new _0x505bd6(_0x53ec46['VIEW_MAIN'],this[_0x5bf249(0x171)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x44fd72(0x17e)](){const _0x2d4518=_0x44fd72;let _0x4bd166=this[_0x2d4518(0x1c4)]();this[_0x2d4518(0x1be)][_0x2d4518(0x18e)]({'viewportScrollX':_0x4bd166[_0x2d4518(0x185)],'viewportScrollY':_0x4bd166[_0x2d4518(0x1bb)]}),this['_root'][_0x2d4518(0x1d7)]['position']=_0x2d4518(0x1a3),this[_0x2d4518(0x1a8)][_0x2d4518(0x1d7)]['top']=_0x2d4518(0x1c6),this[_0x2d4518(0x1a8)][_0x2d4518(0x1d7)]['left']=_0x2d4518(0x1c6),this['_root'][_0x2d4518(0x1d7)][_0x2d4518(0x156)]='100%',this['_root'][_0x2d4518(0x1d7)]['height']=_0x2d4518(0x184),this[_0x2d4518(0x1b5)]=new _0xc7db82();let _0x5245ac=this[_0x2d4518(0x1cf)][_0x2d4518(0x182)](_0x30e461);_0x5245ac[_0x2d4518(0x18b)][_0x2d4518(0x1b7)](_0x5245ac[_0x2d4518(0x18b)]['getInterceptPoints']()[_0x2d4518(0x161)])(this[_0x2d4518(0x1b5)],{'unitId':this[_0x2d4518(0x16f)],'scene':this[_0x2d4518(0x171)],'engine':this[_0x2d4518(0x186)],'root':this['_root'],'skeleton':this['_skeleton'],'offset':{'x':_0x4bd166[_0x2d4518(0x185)],'y':_0x4bd166[_0x2d4518(0x1bb)]},'bound':{'top':_0x4bd166['top'],'left':_0x4bd166['left'],'right':_0x4bd166['right'],'bottom':_0x4bd166['bottom']}});}[_0x44fd72(0x1b8)](){const _0x1c3023=_0x44fd72;let _0x22201f=this['_engine']['getCanvas']()[_0x1c3023(0x1ab)]();this[_0x1c3023(0x195)]['makeForceDirty'](),this[_0x1c3023(0x171)]['makeDirty'](),_0x22201f['save'](),this[_0x1c3023(0x171)]['render'](),_0x22201f[_0x1c3023(0x1b6)]();}};function W(_0x522499,_0x2eed0b){return function(_0x317034,_0x32052c){_0x2eed0b(_0x317034,_0x32052c,_0x522499);};}function G(_0x48db6b,_0x3f6f22,_0xe3a2a4,_0x47c1cb){const _0x435c28=_0x44fd72;var _0x4dfdf9=arguments[_0x435c28(0x1ce)],_0x1aea52=_0x4dfdf9<0x3?_0x3f6f22:_0x47c1cb===null?_0x47c1cb=Object[_0x435c28(0x16b)](_0x3f6f22,_0xe3a2a4):_0x47c1cb,_0x36e140;if(typeof Reflect==_0x435c28(0x183)&&typeof Reflect[_0x435c28(0x1ae)]==_0x435c28(0x17a))_0x1aea52=Reflect[_0x435c28(0x1ae)](_0x48db6b,_0x3f6f22,_0xe3a2a4,_0x47c1cb);else{for(var _0x15e64a=_0x48db6b[_0x435c28(0x1ce)]-0x1;_0x15e64a>=0x0;_0x15e64a--)(_0x36e140=_0x48db6b[_0x15e64a])&&(_0x1aea52=(_0x4dfdf9<0x3?_0x36e140(_0x1aea52):_0x4dfdf9>0x3?_0x36e140(_0x3f6f22,_0xe3a2a4,_0x1aea52):_0x36e140(_0x3f6f22,_0xe3a2a4))||_0x1aea52);}return _0x4dfdf9>0x3&&_0x1aea52&&Object[_0x435c28(0x16a)](_0x3f6f22,_0xe3a2a4,_0x1aea52),_0x1aea52;}const K=Number['parseInt'](0x69ba7036),q=(_0x2dd245,_0x26a2f9,_0x3fb3d9)=>{const _0x15e573=_0x44fd72;let _0x2668ae={'page':_0x2dd245,'isPro':!0x1,'timeValid':!0x1};if(!_0x26a2f9||!_0x3fb3d9)return _0x2668ae;let _0x3e9bfc=_0xfd1b82(_0x26a2f9,_0x3fb3d9);if(_0x3e9bfc[_0x15e573(0x1a5)]){let _0x583409=_0x3e9bfc['message'],_0x15e1fc=_0x329464(_0x583409,'df',K);_0x2668ae['isPro']=_0x15e1fc,_0x2668ae[_0x15e573(0x190)]=_0x15e1fc,_0x2668ae['page']=_0x156c63(_0x583409,_0x15e1fc,'mpn',_0x2dd245,_0x2dd245,0x0);}return _0x2668ae;};let J=class extends _0x4c63cb{constructor(_0x3d64f7,_0x26199e,_0x387ba8,_0x3d5bb8,_0x28211d){const _0x43d024=_0x44fd72;super(),this[_0x43d024(0x17f)]=_0x3d64f7,this[_0x43d024(0x1a1)]=_0x26199e,this[_0x43d024(0x1cf)]=_0x387ba8,this[_0x43d024(0x16d)]=_0x3d5bb8,this['_globalZoneService']=_0x28211d;}[_0x44fd72(0x1d4)](_0x54db1c){const _0x4a8614=_0x44fd72;var _0x4e0713,_0x5615dc;let {ls:_0x18fcbf,pbk:_0x15d38a}=(_0x4e0713=this[_0x4a8614(0x16d)][_0x4a8614(0x165)](_0x236049))==null?{}:_0x4e0713,_0x57c8ef=_0x34b8ac()?0x1/0x0:q(0x1,_0x18fcbf,_0x15d38a)[_0x4a8614(0x1cb)];if(!this[_0x4a8614(0x17f)][_0x4a8614(0x1cc)](_0x54db1c,_0x1d4236[_0x4a8614(0x178)]))throw Error(_0x4a8614(0x191));let _0x4fea59=this[_0x4a8614(0x1a1)][_0x4a8614(0x19b)](_0x54db1c);if(!_0x4fea59)throw Error('Render\x20is\x20not\x20found');let _0xc75524=(_0x5615dc=_0x4fea59[_0x4a8614(0x1bf)](_0x4df786)[_0x4a8614(0x1bc)]()[_0x4a8614(0x194)]())==null?void 0x0:_0x5615dc[_0x4a8614(0x1d1)];if(!_0xc75524)throw Error(_0x4a8614(0x1da));let _0x2c8de1={'width':_0xc75524[0x0][_0x4a8614(0x1af)],'height':_0xc75524[0x0]['pageHeight']},_0x336488=_0xc75524[_0x4a8614(0x1ce)],_0x566498=Math[_0x4a8614(0x15a)](_0x57c8ef,_0x336488),_0x5793c0=_0x4fea59['mainComponent'][_0x4a8614(0x1d5)](),_0x42b1e9=document[_0x4a8614(0x1a2)](_0x4a8614(0x188));_0x42b1e9['className']=_0x2e0b3c;let _0x2a5ef8=Array(_0x566498)[_0x4a8614(0x187)](null)[_0x4a8614(0x18a)]((_0x2b033b,_0x402c73)=>{const _0x1e6673=_0x4a8614;let _0x159d42=new U(this[_0x1e6673(0x1cf)],_0x402c73,_0x54db1c,_0x5793c0);return _0x159d42['container'][_0x1e6673(0x174)]=_0x3cbec7,_0x159d42;});_0x2a5ef8[_0x4a8614(0x1c7)](_0x4e36a3=>{const _0xc4524=_0x4a8614;_0x42b1e9[_0xc4524(0x18d)](_0x4e36a3[_0xc4524(0x1c0)]),_0x4e36a3[_0xc4524(0x1c0)]['appendChild'](_0x4e36a3[_0xc4524(0x1a0)]),_0x4e36a3[_0xc4524(0x17e)]();});let _0x1909a0=_0x3b30cc(_0x2c8de1['width'],_0x2c8de1['height'],_0xa974ca['Portrait']);return document[_0x4a8614(0x1c3)]['appendChild'](_0x1909a0),document[_0x4a8614(0x1c3)][_0x4a8614(0x18d)](_0x42b1e9),new Promise(_0x540cb3=>{setTimeout(()=>{const _0x4cb981=_0x2380;window[_0x4cb981(0x1dc)]=()=>{const _0xa6d8c3=_0x4cb981;_0x2a5ef8[_0xa6d8c3(0x1c7)](_0x5985ca=>{_0x5985ca['render']();});},window[_0x4cb981(0x168)]=()=>{const _0x30cdf3=_0x4cb981;_0x2a5ef8[_0x30cdf3(0x1c7)](_0x457b3e=>{const _0x1db7b5=_0x30cdf3;_0x457b3e[_0x1db7b5(0x199)]();}),document['body'][_0x30cdf3(0x1d3)](_0x42b1e9),document[_0x30cdf3(0x1c3)][_0x30cdf3(0x1d3)](_0x1909a0),this[_0x30cdf3(0x1cd)][_0x30cdf3(0x15c)](),_0x540cb3(!0x0);},window[_0x4cb981(0x1d4)]();},0x64);});}};J=G([W(0x0,_0x4b7b4f),W(0x1,_0x4dfd2b),W(0x2,_0x57db28(_0x1ebb60)),W(0x3,_0xac0276),W(0x4,_0x49064e)],J);const Y={'id':_0x44fd72(0x1aa),'type':_0x4c311b[_0x44fd72(0x162)],'handler':async _0x309013=>{const _0x3cf53b=_0x44fd72;let _0x4ade9a=_0x309013[_0x3cf53b(0x182)](_0x4b7b4f),_0x527fc4=_0x309013[_0x3cf53b(0x182)](J),_0x5a1e17=_0x309013['get'](_0x4dfd2b),_0x13e84a=_0x309013[_0x3cf53b(0x182)](_0x936387),_0x54c624=_0x4ade9a['getCurrentUnitOfType'](_0x1d4236[_0x3cf53b(0x178)]);if(!_0x54c624)return!0x1;if(!_0x5a1e17[_0x3cf53b(0x19b)](_0x54c624[_0x3cf53b(0x169)]()))throw Error(_0x3cf53b(0x1b4));let _0x552292=_0x54c624[_0x3cf53b(0x157)]()[_0x3cf53b(0x1a4)];return _0x552292!==_0x384f6b['TRADITIONAL']&&_0x13e84a[_0x3cf53b(0x19d)](_0x17e052['id']),await _0x527fc4[_0x3cf53b(0x1d4)](_0x54c624[_0x3cf53b(0x169)]()),_0x552292!==_0x384f6b[_0x3cf53b(0x15d)]&&_0x13e84a[_0x3cf53b(0x19d)](_0x17e052['id']),!0x0;}},X=_0x44fd72(0x175),Z={};var ie='@univerjs-pro/docs-print',ae=_0x44fd72(0x196);function oe(_0x3b231a){const _0x1b9fdc=_0x44fd72;return{'id':Y['id'],'type':_0x5df1bb[_0x1b9fdc(0x1d2)],'title':_0x1b9fdc(0x192),'icon':_0x1b9fdc(0x16c),'tooltip':'print.menu','hidden$':_0x976a54(_0x3b231a,_0x1d4236[_0x1b9fdc(0x178)])};}const se={[_0x5ed32b[_0x44fd72(0x1d0)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4c63cb{constructor(_0x337518,_0x131352,_0x36a9a9){const _0x36f969=_0x44fd72;super(),this['_commandService']=_0x337518,this['_menuManagerService']=_0x131352,this[_0x36f969(0x1ac)]=_0x36a9a9,this[_0x36f969(0x1c8)](),this['_initCommands'](),this[_0x36f969(0x19e)]();}[_0x44fd72(0x1c8)](){const _0x2cec68=_0x44fd72;this[_0x2cec68(0x1c1)]['mergeMenu'](se);}[_0x44fd72(0x17b)](){const _0x6b9a3=_0x44fd72;this[_0x6b9a3(0x1d8)](this[_0x6b9a3(0x170)][_0x6b9a3(0x198)](Y));}[_0x44fd72(0x19e)](){const _0x20a78c=_0x44fd72;[[_0x20a78c(0x16c),_0x7d6a96]][_0x20a78c(0x1c7)](([_0x1677e8,_0x54cab9])=>{const _0xd0e9d4=_0x20a78c;this['_componentManager'][_0xd0e9d4(0x16e)](_0x1677e8,_0x54cab9);});}};Q=G([W(0x0,_0x936387),W(0x1,_0x135389),W(0x2,_0x57db28(_0x18ea71))],Q);let $=class extends _0x5b678c{constructor(_0x44f2f7=Z,_0x3403f3,_0x47585e){const _0x713726=_0x44fd72;super(),this[_0x713726(0x1ca)]=_0x44f2f7,this[_0x713726(0x1cf)]=_0x3403f3,this[_0x713726(0x16d)]=_0x47585e;let {menu:_0x3c5d06,..._0x51a2d0}=_0x5deb42({},Z,this[_0x713726(0x1ca)]);_0x3c5d06&&this[_0x713726(0x16d)][_0x713726(0x1c5)](_0x713726(0x15f),_0x3c5d06,{'merge':!0x0}),this[_0x713726(0x16d)]['setConfig'](X,_0x51a2d0);}[_0x44fd72(0x1a6)](){const _0x3e42e1=_0x44fd72;_0x1a15fc(this[_0x3e42e1(0x1cf)],[[J],[Q]]);}['onReady'](){const _0x876250=_0x44fd72;this[_0x876250(0x1cf)][_0x876250(0x182)](Q);}};H($,_0x44fd72(0x166),'UNIVER_DOCS_PRINT'),H($,'packageName',ie),H($,_0x44fd72(0x167),ae),H($,_0x44fd72(0x1b1),_0x1d4236[_0x44fd72(0x178)]),$=G([_0x2b8540(_0x4d905d,_0xdcedeb),W(0x1,_0x57db28(_0x1ebb60)),W(0x2,_0xac0276)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x39cc4b=_0x3f7b;(function(_0xc074ee,_0x425a26){const _0x488aaa=_0x3f7b,_0x21816a=_0xc074ee();while(!![]){try{const _0x139ebc=-parseInt(_0x488aaa(0x161))/0x1+-parseInt(_0x488aaa(0x168))/0x2+parseInt(_0x488aaa(0x165))/0x3*(parseInt(_0x488aaa(0x167))/0x4)+-parseInt(_0x488aaa(0x166))/0x5*(-parseInt(_0x488aaa(0x162))/0x6)+parseInt(_0x488aaa(0x163))/0x7+parseInt(_0x488aaa(0x160))/0x8*(parseInt(_0x488aaa(0x15f))/0x9)+parseInt(_0x488aaa(0x15e))/0xa;if(_0x139ebc===_0x425a26)break;else _0x21816a['push'](_0x21816a['shift']());}catch(_0x54b101){_0x21816a['push'](_0x21816a['shift']());}}}(_0x9565,0x5282d));function _0x3f7b(_0x5560cc,_0x5b2a31){_0x5560cc=_0x5560cc-0x15e;const _0x95656=_0x9565();let _0x3f7ba1=_0x95656[_0x5560cc];return _0x3f7ba1;}function _0x9565(){const _0x131bb0=['19020tOpFzI','7052TyZRHa','1078472aSLxxT','4949920GTfPkW','239706QXNPyB','40HiWyzM','111360PTUNjJ','414lXncaR','327572YVPCsi','Print','87AzzXik'];_0x9565=function(){return _0x131bb0;};return _0x9565();}const e={'print':{'menu':_0x39cc4b(0x164)}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5c77(){const _0x7d6231=['850946dCPfxf','538972hKJtsx','2926504LmPyNJ','36iwQLIj','243KRTDEJ','894348bkhwCg','38210mcVpkv','1991595FUDoLB','1qeKKVz','Print','597513NQukdu'];_0x5c77=function(){return _0x7d6231;};return _0x5c77();}const _0x315937=_0x51da;(function(_0x238bb4,_0x4a77a3){const _0x12c345=_0x51da,_0x3ae548=_0x238bb4();while(!![]){try{const _0x55d47c=-parseInt(_0x12c345(0x18c))/0x1*(-parseInt(_0x12c345(0x18f))/0x2)+-parseInt(_0x12c345(0x18e))/0x3+-parseInt(_0x12c345(0x194))/0x4+parseInt(_0x12c345(0x18b))/0x5+parseInt(_0x12c345(0x192))/0x6*(-parseInt(_0x12c345(0x190))/0x7)+parseInt(_0x12c345(0x191))/0x8+parseInt(_0x12c345(0x193))/0x9*(parseInt(_0x12c345(0x18a))/0xa);if(_0x55d47c===_0x4a77a3)break;else _0x3ae548['push'](_0x3ae548['shift']());}catch(_0x165bc3){_0x3ae548['push'](_0x3ae548['shift']());}}}(_0x5c77,0x639e6));function _0x51da(_0x5dfa90,_0x3f859e){_0x5dfa90=_0x5dfa90-0x18a;const _0x5c772f=_0x5c77();let _0x51dab9=_0x5c772f[_0x5dfa90];return _0x51dab9;}const e={'print':{'menu':_0x315937(0x18d)}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x16aa14=_0x3efb;function _0x3efb(_0x41005d,_0x246465){_0x41005d=_0x41005d-0x11b;const _0x3fa7fc=_0x3fa7();let _0x3efb43=_0x3fa7fc[_0x41005d];return _0x3efb43;}(function(_0x5f5430,_0x2c410f){const _0xd991f4=_0x3efb,_0x13e853=_0x5f5430();while(!![]){try{const _0x34455e=parseInt(_0xd991f4(0x121))/0x1*(parseInt(_0xd991f4(0x122))/0x2)+parseInt(_0xd991f4(0x11b))/0x3+parseInt(_0xd991f4(0x11e))/0x4*(parseInt(_0xd991f4(0x120))/0x5)+parseInt(_0xd991f4(0x11c))/0x6+-parseInt(_0xd991f4(0x11f))/0x7+parseInt(_0xd991f4(0x123))/0x8*(parseInt(_0xd991f4(0x125))/0x9)+-parseInt(_0xd991f4(0x11d))/0xa;if(_0x34455e===_0x2c410f)break;else _0x13e853['push'](_0x13e853['shift']());}catch(_0x510451){_0x13e853['push'](_0x13e853['shift']());}}}(_0x3fa7,0x397cf));const e={'print':{'menu':_0x16aa14(0x124)}};export{e as default};function _0x3fa7(){const _0x36a675=['430544Wakwur','32oCGXCC','Print','618588pqPBjO','1409379xfeMKT','2655990NdsmwL','8843620ZVnuUj','19132CFDUvV','2615914ONMTCy','95LYwmhU','1ziXoUD'];_0x3fa7=function(){return _0x36a675;};return _0x3fa7();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ec6d0=_0x236d;(function(_0x5bcaa3,_0x8ea2cd){const _0x551829=_0x236d,_0xc59824=_0x5bcaa3();while(!![]){try{const _0x568d59=-parseInt(_0x551829(0x144))/0x1*(parseInt(_0x551829(0x145))/0x2)+parseInt(_0x551829(0x147))/0x3*(-parseInt(_0x551829(0x14d))/0x4)+parseInt(_0x551829(0x14c))/0x5+parseInt(_0x551829(0x14a))/0x6+-parseInt(_0x551829(0x149))/0x7+parseInt(_0x551829(0x146))/0x8*(-parseInt(_0x551829(0x148))/0x9)+-parseInt(_0x551829(0x14e))/0xa*(-parseInt(_0x551829(0x14b))/0xb);if(_0x568d59===_0x8ea2cd)break;else _0xc59824['push'](_0xc59824['shift']());}catch(_0x5e0c1c){_0xc59824['push'](_0xc59824['shift']());}}}(_0x113d,0x4dd1b));function _0x236d(_0xaed138,_0x302457){_0xaed138=_0xaed138-0x143;const _0x113d1d=_0x113d();let _0x236d6f=_0x113d1d[_0xaed138];return _0x236d6f;}function _0x113d(){const _0x1a00a7=['30evoEpj','چاپ','115421dQjauA','4NyFtyS','4433768TcxxRi','801024IzSmAa','9skvqXm','3428782SyxTHS','2332266tbHntx','4882867OmXNkn','2036250bseWqN','8RbVZXq'];_0x113d=function(){return _0x1a00a7;};return _0x113d();}const e={'print':{'menu':_0x4ec6d0(0x143)}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xff3cfc=_0x15a1;(function(_0x97bb7d,_0x47e60c){const _0xac23a4=_0x15a1,_0x32c295=_0x97bb7d();while(!![]){try{const _0x17f8f3=-parseInt(_0xac23a4(0x10d))/0x1+-parseInt(_0xac23a4(0x109))/0x2+parseInt(_0xac23a4(0x107))/0x3*(-parseInt(_0xac23a4(0x10f))/0x4)+parseInt(_0xac23a4(0x111))/0x5*(parseInt(_0xac23a4(0x110))/0x6)+parseInt(_0xac23a4(0x10c))/0x7*(-parseInt(_0xac23a4(0x108))/0x8)+parseInt(_0xac23a4(0x10b))/0x9*(parseInt(_0xac23a4(0x106))/0xa)+parseInt(_0xac23a4(0x10a))/0xb;if(_0x17f8f3===_0x47e60c)break;else _0x32c295['push'](_0x32c295['shift']());}catch(_0x249ba4){_0x32c295['push'](_0x32c295['shift']());}}}(_0x2479,0x62573));const e={'print':{'menu':_0xff3cfc(0x10e)}};export{e as default};function _0x15a1(_0x2595a3,_0x5b41c1){_0x2595a3=_0x2595a3-0x106;const _0x2479aa=_0x2479();let _0x15a1aa=_0x2479aa[_0x2595a3];return _0x15a1aa;}function _0x2479(){const _0x25900e=['176900syDnNE','15753452gopRrL','41877yivkdy','112aYqBCZ','202917IlcKBT','Imprimer','3163276AYtJPM','63804EQfNUF','5YtZwfP','430GcHKGT','3pVArJA','78928fZNVsi'];_0x2479=function(){return _0x25900e;};return _0x2479();}
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2e67b2,_0x4ef0fe){const _0x2ed791=_0x331f,_0x1a1be5=_0x2e67b2();while(!![]){try{const _0x339b6c=-parseInt(_0x2ed791(0xac))/0x1*(parseInt(_0x2ed791(0xab))/0x2)+parseInt(_0x2ed791(0xa3))/0x3*(-parseInt(_0x2ed791(0xaa))/0x4)+parseInt(_0x2ed791(0xad))/0x5*(parseInt(_0x2ed791(0xa8))/0x6)+-parseInt(_0x2ed791(0xa9))/0x7*(-parseInt(_0x2ed791(0xa5))/0x8)+parseInt(_0x2ed791(0xa2))/0x9*(-parseInt(_0x2ed791(0xa7))/0xa)+parseInt(_0x2ed791(0xa6))/0xb+parseInt(_0x2ed791(0xa4))/0xc*(-parseInt(_0x2ed791(0xae))/0xd);if(_0x339b6c===_0x4ef0fe)break;else _0x1a1be5['push'](_0x1a1be5['shift']());}catch(_0x52f862){_0x1a1be5['push'](_0x1a1be5['shift']());}}}(_0x5526,0x55c15));function _0x331f(_0x4d2022,_0x3a022f){_0x4d2022=_0x4d2022-0xa2;const _0x5526c3=_0x5526();let _0x331fe4=_0x5526c3[_0x4d2022];return _0x331fe4;}const e={'print':{'menu':'印刷'}};function _0x5526(){const _0x42344c=['28719WpDiNs','51IAPHHi','744qFjzaZ','8FWoiFT','6860568IgcQJd','650MPMagF','6mJzAnr','2202011ZnNUEg','163668FekuUz','359246scrJPS','1QVKxsb','3369035DUyrQw','37362tMlpAn'];_0x5526=function(){return _0x42344c;};return _0x5526();}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5b75(_0x586fe8,_0x19d2b9){_0x586fe8=_0x586fe8-0x8f;const _0x22ae97=_0x22ae();let _0x5b758b=_0x22ae97[_0x586fe8];return _0x5b758b;}(function(_0x20c24e,_0x13f4b8){const _0x4189ec=_0x5b75,_0xd32577=_0x20c24e();while(!![]){try{const _0x502f7c=-parseInt(_0x4189ec(0x97))/0x1+-parseInt(_0x4189ec(0x93))/0x2+parseInt(_0x4189ec(0x95))/0x3*(-parseInt(_0x4189ec(0x92))/0x4)+-parseInt(_0x4189ec(0x99))/0x5*(-parseInt(_0x4189ec(0x91))/0x6)+parseInt(_0x4189ec(0x96))/0x7+-parseInt(_0x4189ec(0x94))/0x8*(parseInt(_0x4189ec(0x8f))/0x9)+-parseInt(_0x4189ec(0x90))/0xa*(-parseInt(_0x4189ec(0x98))/0xb);if(_0x502f7c===_0x13f4b8)break;else _0xd32577['push'](_0xd32577['shift']());}catch(_0x530fd0){_0xd32577['push'](_0xd32577['shift']());}}}(_0x22ae,0x2c72e));function _0x22ae(){const _0x4a88ec=['22286TbZHOC','7600FJkinL','9BKLusI','2310nqaQNh','138iZjkcV','4wDVbRK','578514QBaAsd','455248JImMmn','251025UiQiWj','1770706mvSfAT','144024FXrplz'];_0x22ae=function(){return _0x4a88ec;};return _0x22ae();}const e={'print':{'menu':'인쇄'}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2a20(_0x5eea7f,_0xbae3d2){_0x5eea7f=_0x5eea7f-0xd9;const _0x324775=_0x3247();let _0x2a206f=_0x324775[_0x5eea7f];return _0x2a206f;}const _0x27f2ba=_0x2a20;(function(_0x5d31fc,_0x47426c){const _0x532822=_0x2a20,_0x5c5d74=_0x5d31fc();while(!![]){try{const _0x367806=parseInt(_0x532822(0xd9))/0x1*(-parseInt(_0x532822(0xe1))/0x2)+parseInt(_0x532822(0xe3))/0x3+parseInt(_0x532822(0xe4))/0x4*(-parseInt(_0x532822(0xe0))/0x5)+-parseInt(_0x532822(0xdf))/0x6*(-parseInt(_0x532822(0xe5))/0x7)+parseInt(_0x532822(0xdc))/0x8+-parseInt(_0x532822(0xe2))/0x9*(-parseInt(_0x532822(0xde))/0xa)+parseInt(_0x532822(0xdb))/0xb*(-parseInt(_0x532822(0xda))/0xc);if(_0x367806===_0x47426c)break;else _0x5c5d74['push'](_0x5c5d74['shift']());}catch(_0xb12edc){_0x5c5d74['push'](_0x5c5d74['shift']());}}}(_0x3247,0x488e7));function _0x3247(){const _0x27a885=['15678ISCFzA','313215LyLOLc','4vJKNMI','7NGVfqB','184979gNTKsg','92652PpHHhc','341jQHUvX','4571392pDzGzd','Печать','3270GLUifl','551406iUVcwL','1229425MXArgB','6urAgkZ'];_0x3247=function(){return _0x27a885;};return _0x3247();}const e={'print':{'menu':_0x27f2ba(0xdd)}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x29a9(){const _0x13920c=['8esMNtr','5870gSqMZK','2290981EChsrT','25750EeONkl','10YkVQZU','440KJXWyx','4774350peTXpY','28042718dJfHbs','Tlač','516cpeEjN','7330614JTojdH','2988036fYVdXa'];_0x29a9=function(){return _0x13920c;};return _0x29a9();}function _0x2df9(_0x5582a3,_0x45b216){_0x5582a3=_0x5582a3-0xef;const _0x29a988=_0x29a9();let _0x2df94e=_0x29a988[_0x5582a3];return _0x2df94e;}const _0x4bb36c=_0x2df9;(function(_0x255067,_0x50190a){const _0x2997a3=_0x2df9,_0x52a461=_0x255067();while(!![]){try{const _0x191c83=parseInt(_0x2997a3(0xfa))/0x1*(-parseInt(_0x2997a3(0xf2))/0x2)+parseInt(_0x2997a3(0xf7))/0x3+parseInt(_0x2997a3(0xf6))/0x4*(-parseInt(_0x2997a3(0xf4))/0x5)+-parseInt(_0x2997a3(0xef))/0x6+parseInt(_0x2997a3(0xf3))/0x7*(parseInt(_0x2997a3(0xf1))/0x8)+-parseInt(_0x2997a3(0xf0))/0x9+-parseInt(_0x2997a3(0xf5))/0xa*(-parseInt(_0x2997a3(0xf8))/0xb);if(_0x191c83===_0x50190a)break;else _0x52a461['push'](_0x52a461['shift']());}catch(_0xafc17a){_0x52a461['push'](_0x52a461['shift']());}}}(_0x29a9,0xcb73a));const e={'print':{'menu':_0x4bb36c(0xf9)}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xb938f5,_0x3d4168){const _0x18f2d4=_0x2abc,_0x1c6c89=_0xb938f5();while(!![]){try{const _0x3092d8=-parseInt(_0x18f2d4(0x181))/0x1+-parseInt(_0x18f2d4(0x17b))/0x2*(-parseInt(_0x18f2d4(0x180))/0x3)+parseInt(_0x18f2d4(0x17e))/0x4*(parseInt(_0x18f2d4(0x17d))/0x5)+-parseInt(_0x18f2d4(0x183))/0x6*(-parseInt(_0x18f2d4(0x17c))/0x7)+parseInt(_0x18f2d4(0x17a))/0x8*(-parseInt(_0x18f2d4(0x182))/0x9)+parseInt(_0x18f2d4(0x184))/0xa+parseInt(_0x18f2d4(0x17f))/0xb;if(_0x3092d8===_0x3d4168)break;else _0x1c6c89['push'](_0x1c6c89['shift']());}catch(_0x1ce360){_0x1c6c89['push'](_0x1c6c89['shift']());}}}(_0x53ad,0xbf5f6));function _0x53ad(){const _0x126385=['552649YWStOC','153kJiMxV','18XonazJ','4926310fqunlD','514248tVLBeJ','2kltFrU','3105172BlHNUb','2570irdQmh','1124jRygSA','5000721mQSzGO','20472ekDtlp'];_0x53ad=function(){return _0x126385;};return _0x53ad();}const e={'print':{'menu':'In'}};function _0x2abc(_0x25244f,_0x4a3ed4){_0x25244f=_0x25244f-0x17a;const _0x53ad82=_0x53ad();let _0x2abcc7=_0x53ad82[_0x25244f];return _0x2abcc7;}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0xe50d(){const _0x35b6bc=['120614qNPFbv','2262106eblXrU','5Czcgxx','1296030GgTHKe','1030088RJQuRs','625868fMDaPX','6048216VsObIR','295455KxBoBA','18YFqrFN'];_0xe50d=function(){return _0x35b6bc;};return _0xe50d();}(function(_0x46fced,_0x4598fb){const _0x5d562b=_0x48fb,_0x1df3d3=_0x46fced();while(!![]){try{const _0x228134=-parseInt(_0x5d562b(0x1b7))/0x1+-parseInt(_0x5d562b(0x1b9))/0x2*(-parseInt(_0x5d562b(0x1b8))/0x3)+-parseInt(_0x5d562b(0x1b5))/0x4*(-parseInt(_0x5d562b(0x1b2))/0x5)+parseInt(_0x5d562b(0x1b3))/0x6+parseInt(_0x5d562b(0x1ba))/0x7+parseInt(_0x5d562b(0x1b4))/0x8+-parseInt(_0x5d562b(0x1b6))/0x9;if(_0x228134===_0x4598fb)break;else _0x1df3d3['push'](_0x1df3d3['shift']());}catch(_0x521848){_0x1df3d3['push'](_0x1df3d3['shift']());}}}(_0xe50d,0x35682));const e={'print':{'menu':'打印'}};function _0x48fb(_0x3471d1,_0x3ab778){_0x3471d1=_0x3471d1-0x1b2;const _0xe50d6d=_0xe50d();let _0x48fb8d=_0xe50d6d[_0x3471d1];return _0x48fb8d;}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x7631(_0xc69b79,_0x10ecc3){_0xc69b79=_0xc69b79-0xd3;const _0x2fd272=_0x2fd2();let _0x7631f=_0x2fd272[_0xc69b79];return _0x7631f;}(function(_0xa9edd0,_0x39b738){const _0x364911=_0x7631,_0x3b27f7=_0xa9edd0();while(!![]){try{const _0x9bd3f6=-parseInt(_0x364911(0xd7))/0x1+-parseInt(_0x364911(0xd3))/0x2+-parseInt(_0x364911(0xdc))/0x3+parseInt(_0x364911(0xd8))/0x4*(-parseInt(_0x364911(0xdb))/0x5)+-parseInt(_0x364911(0xd6))/0x6+-parseInt(_0x364911(0xd4))/0x7*(parseInt(_0x364911(0xda))/0x8)+-parseInt(_0x364911(0xd9))/0x9*(-parseInt(_0x364911(0xd5))/0xa);if(_0x9bd3f6===_0x39b738)break;else _0x3b27f7['push'](_0x3b27f7['shift']());}catch(_0x46fe77){_0x3b27f7['push'](_0x3b27f7['shift']());}}}(_0x2fd2,0x45fab));function _0x2fd2(){const _0x2f5e77=['11372erOOtV','1575BHSAFF','6424kwroOW','535CbTXxq','741975fHxkVE','282224eAcYsh','3878VlXDJJ','92870cumglZ','1139148gQXTwc','11232usxNbb'];_0x2fd2=function(){return _0x2f5e77;};return _0x2fd2();}const e={'print':{'menu':'列印'}};export{e as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ICommand } from '@univerjs/core';
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
2
|
export declare const DocPrintOperation: ICommand;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IAccessor } from '@univerjs/core';
|
|
2
|
-
import { IMenuButtonItem } from '@univerjs/ui';
|
|
1
|
+
import type { IAccessor } from '@univerjs/core';
|
|
2
|
+
import type { IMenuButtonItem } from '@univerjs/ui';
|
|
3
3
|
export declare function DocPrintMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MenuSchemaType } from '@univerjs/ui';
|
|
1
|
+
import type { MenuSchemaType } from '@univerjs/ui';
|
|
2
2
|
export declare const menuSchema: MenuSchemaType;
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IUniverDocsPrintConfig } from './controllers/config.schema';
|
|
1
|
+
import type { IUniverDocsPrintConfig } from './controllers/config.schema';
|
|
2
2
|
import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
3
|
export declare class UniverDocsPrintPlugin extends Plugin {
|
|
4
4
|
private readonly _config;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Injector
|
|
2
|
-
import { IDocumentOffsetConfig } from '@univerjs/engine-render';
|
|
1
|
+
import type { Injector } from '@univerjs/core';
|
|
2
|
+
import type { IDocumentOffsetConfig } from '@univerjs/engine-render';
|
|
3
|
+
import { Disposable } from '@univerjs/core';
|
|
3
4
|
export declare class DocPrintPageCanvasView extends Disposable {
|
|
4
5
|
private readonly _injector;
|
|
5
6
|
private readonly _page;
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1cfb93,_0x2d4e73){const _0x4d4512=_0xc64a,_0x56ac41=_0x1cfb93();while(!![]){try{const _0x5cd169=-parseInt(_0x4d4512(0x166))/0x1+-parseInt(_0x4d4512(0x167))/0x2+parseInt(_0x4d4512(0xec))/0x3+parseInt(_0x4d4512(0x124))/0x4*(-parseInt(_0x4d4512(0xbc))/0x5)+-parseInt(_0x4d4512(0xef))/0x6*(parseInt(_0x4d4512(0xb0))/0x7)+parseInt(_0x4d4512(0x15d))/0x8+parseInt(_0x4d4512(0xf8))/0x9;if(_0x5cd169===_0x2d4e73)break;else _0x56ac41['push'](_0x56ac41['shift']());}catch(_0x7b752a){_0x56ac41['push'](_0x56ac41['shift']());}}}(_0x30a2,0xbc999),function(_0x11e3e4,_0x43d53a){const _0x4a724e=_0xc64a;typeof exports=='object'&&typeof module<'u'?_0x43d53a(exports,require('@univerjs/core'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license'),require('@univerjs-pro/print'),require('@univerjs/docs'),require('@univerjs/ui'),require('@univerjs/network'),require('react')):typeof define==_0x4a724e(0xdd)&&define[_0x4a724e(0x14d)]?define(['exports',_0x4a724e(0x11e),_0x4a724e(0xb2),_0x4a724e(0xe7),_0x4a724e(0x146),'@univerjs-pro/print','@univerjs/docs',_0x4a724e(0x144),'@univerjs/network',_0x4a724e(0xa7)],_0x43d53a):(_0x11e3e4=typeof globalThis<'u'?globalThis:_0x11e3e4||self,_0x43d53a(_0x11e3e4[_0x4a724e(0x11f)]={},_0x11e3e4[_0x4a724e(0x131)],_0x11e3e4[_0x4a724e(0xe9)],_0x11e3e4[_0x4a724e(0x14f)],_0x11e3e4[_0x4a724e(0x106)],_0x11e3e4['UniverProPrint'],_0x11e3e4['UniverDocs'],_0x11e3e4[_0x4a724e(0xf3)],_0x11e3e4[_0x4a724e(0x157)],_0x11e3e4[_0x4a724e(0xc4)]));}(this,function(_0x37d028,_0x4bca4e,_0x3ed4c0,_0x45251b,_0x3f2916,_0x275332,_0x35f5bc,_0x1bff07,_0x46e30c,_0x436b10){'use strict';const _0x30576a=_0xc64a;var _0x276bd2=Object['defineProperty'],_0x1f2301=(_0x35a71b,_0x128d60,_0x440715)=>_0x128d60 in _0x35a71b?_0x276bd2(_0x35a71b,_0x128d60,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x440715}):_0x35a71b[_0x128d60]=_0x440715,_0x26318b=(_0x5cd2fa,_0x5374d6,_0x3ca9fb)=>_0x1f2301(_0x5cd2fa,typeof _0x5374d6!=_0x30576a(0x172)?_0x5374d6+'':_0x5374d6,_0x3ca9fb);const _0x4572a2=_0x30576a(0xe0),_0x51020b={0x0:'t',0x1:'3',0x2:'D',0x3:'P',0x4:'U',0x5:'g',0x6:'I',0x7:'A',0x8:'Y',0x9:'4','D':'0','F':'1','g':'2','a':'5','p':'6','o':'7','k':'8','O':'9','s':'a','d':'b','w':'c','S':'d','m':'e','Y':'f','J':'h','A':'i','B':'j','R':'k','n':'l','r':'m','q':'n','Z':'o','P':'p','y':'q','I':'r','c':'s','h':'u','z':'v','j':'w','t':'x','l':'y','K':'z','N':'B','u':'C','V':'E','i':'F','\x20':'G','M':'H','C':'J','f':'K','e':'L','H':'M','X':'N','L':'O','E':'Q','U':'R','v':'S','Q':'T','T':'V','b':'W','G':'X','W':'Z','x':'\x20'};class _0x1bd1bc extends _0x4bca4e[_0x30576a(0xd3)]{constructor(_0x3fdd98,_0x25f3c4,_0x541a07,_0xd89ff8){const _0x1e5d1b=_0x30576a;super(),_0x26318b(this,'_container',document[_0x1e5d1b(0xda)](_0x1e5d1b(0x159))),_0x26318b(this,'_root',document[_0x1e5d1b(0xda)]('div')),_0x26318b(this,_0x1e5d1b(0xc2)),_0x26318b(this,'_scene'),_0x26318b(this,_0x1e5d1b(0x139)),_0x26318b(this,_0x1e5d1b(0xfb)),_0x26318b(this,_0x1e5d1b(0x12f)),_0x26318b(this,'_effects',new _0x4bca4e[(_0x1e5d1b(0x10f))]()),(this[_0x1e5d1b(0x11a)]=_0x3fdd98,this['_page']=_0x25f3c4,this[_0x1e5d1b(0xab)]=_0x541a07,this[_0x1e5d1b(0xdb)]=_0xd89ff8,this[_0x1e5d1b(0x139)]=_0x4bca4e[_0x1e5d1b(0xc5)](0x4),this['_initRenderer'](),this[_0x1e5d1b(0x112)]({'dispose':()=>{const _0x206d89=_0x1e5d1b;this['_engine'][_0x206d89(0x171)](),this['_scene'][_0x206d89(0x171)](),this[_0x206d89(0xa3)][_0x206d89(0x171)]();}}));}get[_0x30576a(0xf5)](){const _0x1065fa=_0x30576a;return this[_0x1065fa(0x125)];}get[_0x30576a(0xd4)](){const _0xf46ada=_0x30576a;return this[_0xf46ada(0x123)];}get['_currentRender'](){const _0x477671=_0x30576a,_0xdf60d2=this[_0x477671(0x11a)][_0x477671(0xb9)](_0x45251b[_0x477671(0xa1)])[_0x477671(0xaf)](this['_unitId']);if(!_0xdf60d2)throw new Error(_0x477671(0x16f));return _0xdf60d2;}get[_0x30576a(0x142)](){const _0x593085=_0x30576a;return this['_currentRender']['with'](_0x35f5bc[_0x593085(0x143)])[_0x593085(0x16b)]();}get['_skeletonData'](){const _0x5eec6d=_0x30576a,_0x79b86b=this[_0x5eec6d(0x142)][_0x5eec6d(0xfd)]();if(!_0x79b86b)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x79b86b;}get['_paperSize'](){const _0x4383f7=_0x30576a,_0x1e280e=this[_0x4383f7(0xa9)][_0x4383f7(0xbe)][0x0];return{'width':_0x1e280e[_0x4383f7(0x121)],'height':_0x1e280e['pageHeight']};}[_0x30576a(0x137)](){const _0x5ea231=_0x30576a,{docsTop:_0x2c805c,docsLeft:_0x205ac5}=this[_0x5ea231(0xfb)][_0x5ea231(0x148)](),_0x129f3b=this[_0x5ea231(0x128)][_0x5ea231(0x11d)],_0x108be5=this[_0x5ea231(0x128)][_0x5ea231(0x116)];return{'top':_0x2c805c+(_0x2c805c+_0x129f3b)*this[_0x5ea231(0x11b)],'bottom':_0x2c805c+(_0x2c805c+_0x129f3b)*(this[_0x5ea231(0x11b)]+0x1),'left':_0x205ac5,'right':_0x205ac5+_0x108be5};}['_initRenderer'](){const _0x299ad7=_0x30576a;this[_0x299ad7(0xc2)]=new _0x45251b[(_0x299ad7(0x105))]('',{'elementWidth':this[_0x299ad7(0x128)][_0x299ad7(0x116)],'elementHeight':this[_0x299ad7(0x128)][_0x299ad7(0x11d)],'dpr':0x1,'renderMode':_0x45251b[_0x299ad7(0x13b)]['Printing']}),this[_0x299ad7(0x16a)]=new _0x45251b[(_0x299ad7(0x132))](this[_0x299ad7(0x139)],this['_engine']),this[_0x299ad7(0x16a)][_0x299ad7(0x15c)](0x1,0x1),this[_0x299ad7(0xc2)][_0x299ad7(0xb3)](this[_0x299ad7(0x125)],!0x1),this['_engine'][_0x299ad7(0x12d)]()[_0x299ad7(0x152)]()[_0x299ad7(0x15f)](this[_0x299ad7(0x139)]+'_'+_0x4bca4e['generateRandomId'](0x4)),this[_0x299ad7(0x16e)](),this[_0x299ad7(0x12e)]();}[_0x30576a(0x16e)](){const _0x23da8b=_0x30576a,{pageMarginLeft:_0x44a543,pageMarginTop:_0xc1c463,docsLeft:_0x339889,docsTop:_0x4b3932}=this[_0x23da8b(0xdb)],_0x60139b={'pageMarginLeft':_0x44a543,'pageMarginTop':_0xc1c463},_0x4d73ec=new _0x45251b['Documents'](_0x23da8b(0xf9),this[_0x23da8b(0x142)],_0x60139b);_0x4d73ec['translate'](_0x339889,_0x4b3932),this[_0x23da8b(0x16a)]['addObject'](_0x4d73ec),this[_0x23da8b(0xfb)]=_0x4d73ec;const _0x2e400e=this[_0x23da8b(0x11a)][_0x23da8b(0xb9)](_0x3ed4c0[_0x23da8b(0xbd)]);_0x2e400e['interceptor']['fetchThroughInterceptors'](_0x2e400e[_0x23da8b(0xae)]['getInterceptPoints']()[_0x23da8b(0xca)])(void 0x0,{'unitId':this[_0x23da8b(0xab)],'scene':this[_0x23da8b(0x16a)],'engine':this[_0x23da8b(0xc2)],'root':this[_0x23da8b(0x123)],'documents':this[_0x23da8b(0xfb)],'skeleton':this[_0x23da8b(0x142)]});}[_0x30576a(0x12e)](){const _0x3f3986=_0x30576a;this[_0x3f3986(0x12f)]=new _0x45251b[(_0x3f3986(0xfa))](_0x3ed4c0[_0x3f3986(0xea)][_0x3f3986(0x122)],this[_0x3f3986(0x16a)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x30576a(0xa6)](){const _0x17e42c=_0x30576a,_0x1161ea=this[_0x17e42c(0x137)]();this[_0x17e42c(0x12f)][_0x17e42c(0x127)]({'viewportScrollX':_0x1161ea[_0x17e42c(0xfe)],'viewportScrollY':_0x1161ea[_0x17e42c(0x12c)]}),this[_0x17e42c(0x123)]['style']['position']=_0x17e42c(0x107),this['_root'][_0x17e42c(0x100)][_0x17e42c(0x12c)]='0px',this[_0x17e42c(0x123)][_0x17e42c(0x100)][_0x17e42c(0xfe)]=_0x17e42c(0x176),this['_root'][_0x17e42c(0x100)][_0x17e42c(0x116)]=_0x17e42c(0xdf),this['_root']['style'][_0x17e42c(0x11d)]=_0x17e42c(0xdf),this[_0x17e42c(0xa3)]=new _0x4bca4e[(_0x17e42c(0x10f))]();const _0x5bc57f=this[_0x17e42c(0x11a)]['get'](_0x3ed4c0[_0x17e42c(0xbd)]);_0x5bc57f['interceptor']['fetchThroughInterceptors'](_0x5bc57f['interceptor'][_0x17e42c(0x151)]()['PRINTING_DOM_COLLECT'])(this['_effects'],{'unitId':this[_0x17e42c(0xab)],'scene':this['_scene'],'engine':this['_engine'],'root':this['_root'],'skeleton':this[_0x17e42c(0x142)],'offset':{'x':_0x1161ea[_0x17e42c(0xfe)],'y':_0x1161ea[_0x17e42c(0x12c)]},'bound':{'top':_0x1161ea['top'],'left':_0x1161ea['left'],'right':_0x1161ea[_0x17e42c(0xb8)],'bottom':_0x1161ea[_0x17e42c(0xaa)]}});}[_0x30576a(0xbb)](){const _0x2b54e8=_0x30576a,_0x4f7335=this[_0x2b54e8(0xc2)][_0x2b54e8(0x12d)]()[_0x2b54e8(0x152)]();this[_0x2b54e8(0xfb)][_0x2b54e8(0xee)](),this[_0x2b54e8(0x16a)][_0x2b54e8(0x134)](),_0x4f7335[_0x2b54e8(0xb7)](),this[_0x2b54e8(0x16a)][_0x2b54e8(0xbb)](),_0x4f7335['restore']();}}var _0xa56c24=Object[_0x30576a(0xc0)],_0x9d93c=(_0x22fc88,_0x2706d1,_0x264570,_0x471052)=>{const _0x363690=_0x30576a;for(var _0x56f94b=_0x471052>0x1?void 0x0:_0x471052?_0xa56c24(_0x2706d1,_0x264570):_0x2706d1,_0x3d8053=_0x22fc88[_0x363690(0x13f)]-0x1,_0x1debf0;_0x3d8053>=0x0;_0x3d8053--)(_0x1debf0=_0x22fc88[_0x3d8053])&&(_0x56f94b=_0x1debf0(_0x56f94b)||_0x56f94b);return _0x56f94b;},_0x3d33c2=(_0x346f98,_0x1bc9c9)=>(_0x423709,_0x2f8d0e)=>_0x1bc9c9(_0x423709,_0x2f8d0e,_0x346f98);const _0x35e4e5=Number[_0x30576a(0x10d)](0x69b12164),_0x364f26=0x1,_0x41ee2e=(_0x1bca4d,_0x29635d,_0x11963d)=>{const _0x1fa08e=_0x30576a,_0x4f249e={'page':_0x1bca4d,'isPro':!0x1,'timeValid':!0x1};if(!_0x29635d||!_0x11963d)return _0x4f249e;const _0x3fb2bd=_0x3f2916[_0x1fa08e(0x109)](_0x4572a2,_0x51020b),_0x20ff45=new Function(_0x1fa08e(0xac)+_0x3fb2bd)()(_0x29635d,_0x11963d);if(_0x20ff45['valid']){const _0x14117e=_0x20ff45[_0x1fa08e(0x175)],_0x2d0ce7=_0x3f2916['isFeatureAuthorizedWithinTime'](_0x14117e,'df',_0x35e4e5);_0x4f249e[_0x1fa08e(0xb5)]=_0x2d0ce7,_0x4f249e[_0x1fa08e(0xf1)]=_0x2d0ce7;const _0x1e98e3=0x0;_0x4f249e[_0x1fa08e(0xc6)]=_0x3f2916[_0x1fa08e(0xd0)](_0x14117e,_0x2d0ce7,_0x1fa08e(0x147),_0x1bca4d,_0x1bca4d,_0x1e98e3);}return _0x4f249e;};let _0x1100fd=class extends _0x4bca4e[_0x30576a(0xd3)]{constructor(_0x35173c,_0x10ae02,_0x505195,_0x1978a1,_0x240c7a){const _0x22a9c3=_0x30576a;super(),this[_0x22a9c3(0xe3)]=_0x35173c,this['_renderManagerService']=_0x10ae02,this[_0x22a9c3(0x11a)]=_0x505195,this['_configService']=_0x1978a1,this[_0x22a9c3(0xce)]=_0x240c7a;}[_0x30576a(0x173)](_0x535e58){const _0x3f5c7e=_0x30576a;var _0x5c3c0d,_0x16a922;const _0x4e7433=(_0x5c3c0d=this[_0x3f5c7e(0xd6)][_0x3f5c7e(0xc1)](_0x3f2916[_0x3f5c7e(0xf7)]))!=null?_0x5c3c0d:{},{ls:_0x473b74,pbk:_0x4266ad}=_0x4e7433,_0x4e7fb7=_0x3f2916['isLocalCheck']()?Number[_0x3f5c7e(0x101)]:_0x41ee2e(_0x364f26,_0x473b74,_0x4266ad)[_0x3f5c7e(0xc6)];if(!this[_0x3f5c7e(0xe3)][_0x3f5c7e(0x9f)](_0x535e58,_0x4bca4e[_0x3f5c7e(0xc7)]['UNIVER_DOC']))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0xbc1d22=this[_0x3f5c7e(0x13a)][_0x3f5c7e(0xaf)](_0x535e58);if(!_0xbc1d22)throw new Error(_0x3f5c7e(0x16f));const _0x7df59a=(_0x16a922=_0xbc1d22[_0x3f5c7e(0x154)](_0x35f5bc['DocSkeletonManagerService'])[_0x3f5c7e(0x16b)]()[_0x3f5c7e(0xfd)]())==null?void 0x0:_0x16a922[_0x3f5c7e(0xbe)];if(!_0x7df59a)throw new Error(_0x3f5c7e(0x169));const _0x4dc8fe={'width':_0x7df59a[0x0]['pageWidth'],'height':_0x7df59a[0x0][_0x3f5c7e(0xd1)]},_0x297e4f=_0x7df59a['length'],_0x1eba82=Math['min'](_0x4e7fb7,_0x297e4f),_0x325071=_0xbc1d22[_0x3f5c7e(0x114)]['getOffsetConfig'](),_0x1e2e7c=document[_0x3f5c7e(0xda)](_0x3f5c7e(0x159));_0x1e2e7c['className']=_0x275332['PRINT_CONTAINER_CLASS'];const _0x59fb49=new Array(_0x1eba82)[_0x3f5c7e(0xba)](null)[_0x3f5c7e(0x170)]((_0x177746,_0x514760)=>{const _0xab8b2c=_0x3f5c7e,_0x21af35=new _0x1bd1bc(this['_injector'],_0x514760,_0x535e58,_0x325071);return _0x21af35[_0xab8b2c(0xf5)][_0xab8b2c(0x133)]=_0x275332[_0xab8b2c(0xf0)],_0x21af35;});_0x59fb49[_0x3f5c7e(0xa0)](_0x1a701b=>{const _0x37718e=_0x3f5c7e;_0x1e2e7c[_0x37718e(0xe6)](_0x1a701b[_0x37718e(0xf5)]),_0x1a701b[_0x37718e(0xf5)][_0x37718e(0xe6)](_0x1a701b[_0x37718e(0xd4)]),_0x1a701b[_0x37718e(0xa6)]();});const _0x3fda94=_0x275332[_0x3f5c7e(0xad)](_0x4dc8fe['width'],_0x4dc8fe[_0x3f5c7e(0x11d)],_0x275332[_0x3f5c7e(0xc8)][_0x3f5c7e(0xed)]);return document[_0x3f5c7e(0x118)][_0x3f5c7e(0xe6)](_0x3fda94),document[_0x3f5c7e(0x118)]['appendChild'](_0x1e2e7c),new Promise(_0x3f5a0a=>{setTimeout(()=>{const _0x1590aa=_0xc64a;window[_0x1590aa(0xe4)]=()=>{const _0x5406c9=_0x1590aa;_0x59fb49[_0x5406c9(0xa0)](_0x357dfe=>{const _0x14764a=_0x5406c9;_0x357dfe[_0x14764a(0xbb)]();});},window[_0x1590aa(0xff)]=()=>{const _0x22fd96=_0x1590aa;_0x59fb49[_0x22fd96(0xa0)](_0x3d8cbd=>{const _0x1418cc=_0x22fd96;_0x3d8cbd[_0x1418cc(0x171)]();}),document['body']['removeChild'](_0x1e2e7c),document[_0x22fd96(0x118)]['removeChild'](_0x3fda94),this[_0x22fd96(0xce)][_0x22fd96(0x14c)](),_0x3f5a0a(!0x0);},window[_0x1590aa(0x173)]();},0x64);});}};_0x1100fd=_0x9d93c([_0x3d33c2(0x0,_0x4bca4e[_0x30576a(0x13e)]),_0x3d33c2(0x1,_0x45251b[_0x30576a(0xa1)]),_0x3d33c2(0x2,_0x4bca4e[_0x30576a(0xb1)](_0x4bca4e['Injector'])),_0x3d33c2(0x3,_0x4bca4e['IConfigService']),_0x3d33c2(0x4,_0x1bff07['IGlobalZoneService'])],_0x1100fd);const _0x4afc1a={'id':_0x30576a(0xa4),'type':_0x4bca4e[_0x30576a(0xc9)][_0x30576a(0x136)],'handler':async _0x53bef9=>{const _0x12f45e=_0x30576a,_0x2c59ff=_0x53bef9['get'](_0x4bca4e[_0x12f45e(0x13e)]),_0x24b995=_0x53bef9[_0x12f45e(0xb9)](_0x1100fd),_0x4b36ac=_0x53bef9[_0x12f45e(0xb9)](_0x45251b['IRenderManagerService']),_0x524f2a=_0x53bef9[_0x12f45e(0xb9)](_0x4bca4e['ICommandService']),_0x15cdcb=_0x2c59ff[_0x12f45e(0x15a)](_0x4bca4e[_0x12f45e(0xc7)][_0x12f45e(0x163)]);if(!_0x15cdcb)return!0x1;if(!_0x4b36ac[_0x12f45e(0xaf)](_0x15cdcb[_0x12f45e(0xe1)]()))throw new Error(_0x12f45e(0x16f));const _0x335ea5=_0x15cdcb['getDocumentStyle']()[_0x12f45e(0x108)];return _0x335ea5!==_0x4bca4e[_0x12f45e(0x11c)][_0x12f45e(0xe2)]&&_0x524f2a[_0x12f45e(0x104)](_0x3ed4c0['SwitchDocModeCommand']['id']),await _0x24b995[_0x12f45e(0x173)](_0x15cdcb[_0x12f45e(0xe1)]()),_0x335ea5!==_0x4bca4e['DocumentFlavor'][_0x12f45e(0xe2)]&&_0x524f2a[_0x12f45e(0x104)](_0x3ed4c0[_0x12f45e(0x119)]['id']),!0x0;}},_0x15ba79='UNIVER_DOCS_PRINT',_0x30f45f={},_0x1623ed={'name':_0x30576a(0x14b),'version':_0x30576a(0xa5)},_0x481c11='UNIVER_DOCS_PRINT';function _0x39e861({ref:_0x4ada90,..._0x184d31}){const _0x19480b=_0x30576a,{icon:_0x18b551,id:_0x4d8cc7,className:_0x1963d0,extend:_0x36a370,..._0x2e3f3d}=_0x184d31,_0x47fd8e=(_0x19480b(0xcd)+_0x4d8cc7+'\x20'+(_0x1963d0||''))['trim'](),_0x73b078=_0x436b10[_0x19480b(0xf2)]('_'+_0x399015());return _0x3245b5(_0x18b551,''+_0x4d8cc7,{'defIds':_0x18b551[_0x19480b(0xd2)],'idSuffix':_0x73b078[_0x19480b(0x15b)]},{'ref':_0x4ada90,'className':_0x47fd8e,..._0x2e3f3d},_0x36a370);}function _0x3245b5(_0x4275f9,_0x440709,_0x410b97,_0x3fdba0,_0x360a46){const _0x3383f4=_0x30576a;return _0x436b10[_0x3383f4(0xda)](_0x4275f9[_0x3383f4(0x150)],{'key':_0x440709,..._0x1a23ca(_0x4275f9,_0x410b97,_0x360a46),..._0x3fdba0},(_0x9fc966(_0x4275f9,_0x410b97)[_0x3383f4(0x14a)]||[])[_0x3383f4(0x170)]((_0x1a063f,_0x43ba4a)=>_0x3245b5(_0x1a063f,_0x440709+'-'+_0x4275f9[_0x3383f4(0x150)]+'-'+_0x43ba4a,_0x410b97,void 0x0,_0x360a46)));}function _0x1a23ca(_0x4e08d3,_0x20cff0,_0x6b5f9e){const _0x600cff=_0x30576a,_0x281367={..._0x4e08d3[_0x600cff(0xe8)]};_0x6b5f9e!=null&&_0x6b5f9e['colorChannel1']&&_0x281367[_0x600cff(0xba)]===_0x600cff(0xcf)&&(_0x281367[_0x600cff(0xba)]=_0x6b5f9e[_0x600cff(0xcf)]),_0x4e08d3['tag']===_0x600cff(0x158)&&_0x281367['id']&&(_0x281367['id']=_0x281367['id']+_0x20cff0[_0x600cff(0xdc)]),Object['entries'](_0x281367)[_0x600cff(0xa0)](([_0x3afe07,_0xc0df91])=>{const _0x42d6ef=_0x600cff;_0x3afe07===_0x42d6ef(0x158)&&typeof _0xc0df91==_0x42d6ef(0xbf)&&(_0x281367[_0x3afe07]=_0xc0df91[_0x42d6ef(0x120)](/url\(#(.*)\)/,'url(#$1'+_0x20cff0[_0x42d6ef(0xdc)]+')'));});const {defIds:_0x2cd379}=_0x20cff0;return!_0x2cd379||_0x2cd379[_0x600cff(0x13f)]===0x0||(_0x4e08d3[_0x600cff(0x150)]==='use'&&_0x281367[_0x600cff(0x141)]&&(_0x281367[_0x600cff(0x141)]=_0x281367[_0x600cff(0x141)]+_0x20cff0['idSuffix']),Object[_0x600cff(0x110)](_0x281367)['forEach'](([_0x434c41,_0x20f6cf])=>{const _0x18e86c=_0x600cff;typeof _0x20f6cf==_0x18e86c(0xbf)&&(_0x281367[_0x434c41]=_0x20f6cf['replace'](/url\(#(.*)\)/,_0x18e86c(0x113)+_0x20cff0[_0x18e86c(0xdc)]+')'));})),_0x281367;}function _0x9fc966(_0x591145,_0x2af836){const _0x309cf7=_0x30576a;var _0x467819;const {defIds:_0x191443}=_0x2af836;return!_0x191443||_0x191443['length']===0x0?_0x591145:_0x591145[_0x309cf7(0x150)]===_0x309cf7(0xa2)&&((_0x467819=_0x591145[_0x309cf7(0x14a)])!=null&&_0x467819['length'])?{..._0x591145,'children':_0x591145[_0x309cf7(0x14a)][_0x309cf7(0x170)](_0x5043b2=>typeof _0x5043b2['attrs']['id']==_0x309cf7(0xbf)&&_0x191443&&_0x191443[_0x309cf7(0x135)](_0x5043b2['attrs']['id'])?{..._0x5043b2,'attrs':{..._0x5043b2[_0x309cf7(0xe8)],'id':_0x5043b2[_0x309cf7(0xe8)]['id']+_0x2af836[_0x309cf7(0xdc)]}}:_0x5043b2)}:_0x591145;}function _0x399015(){const _0x5724f4=_0x30576a;return Math[_0x5724f4(0x12b)]()[_0x5724f4(0x129)](0x24)[_0x5724f4(0xe5)](0x2,0x8);}_0x39e861['displayName']=_0x30576a(0x13d);const _0x4fe738={'tag':_0x30576a(0xcb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x30576a(0x126),'width':'1em','height':_0x30576a(0x103)},'children':[{'tag':'path','attrs':{'fill':_0x30576a(0x12a),'d':'M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z'}},{'tag':_0x30576a(0xfc),'attrs':{'fill':_0x30576a(0x12a),'d':_0x30576a(0x14e),'fillRule':_0x30576a(0xd7),'clipRule':'evenodd'}}]},_0x85a252=_0x436b10[_0x30576a(0x165)](function(_0x5349ca,_0x2c8752){const _0x41a9c3=_0x30576a;return _0x436b10[_0x41a9c3(0xda)](_0x39e861,Object['assign']({},_0x5349ca,{'id':_0x41a9c3(0x155),'ref':_0x2c8752,'icon':_0x4fe738}));});_0x85a252[_0x30576a(0x162)]='PrintIcon';function _0x6995ee(_0x2ac810){const _0x287fcd=_0x30576a;return{'id':_0x4afc1a['id'],'type':_0x1bff07['MenuItemType'][_0x287fcd(0xd8)],'title':_0x287fcd(0x160),'icon':'PrintIcon','tooltip':_0x287fcd(0x160),'hidden$':_0x1bff07[_0x287fcd(0xc3)](_0x2ac810,_0x4bca4e[_0x287fcd(0xc7)]['UNIVER_DOC'])};}const _0x5de72e={[_0x1bff07[_0x30576a(0x16d)][_0x30576a(0xd9)]]:{[_0x4afc1a['id']]:{'order':0.1,'menuItemFactory':_0x6995ee}}};var _0x5c2568=Object['getOwnPropertyDescriptor'],_0x166c19=(_0x23f112,_0x1e4c97,_0x4d5072,_0x298bd9)=>{const _0x131c9f=_0x30576a;for(var _0x48cbc0=_0x298bd9>0x1?void 0x0:_0x298bd9?_0x5c2568(_0x1e4c97,_0x4d5072):_0x1e4c97,_0x41b572=_0x23f112[_0x131c9f(0x13f)]-0x1,_0x3b4abf;_0x41b572>=0x0;_0x41b572--)(_0x3b4abf=_0x23f112[_0x41b572])&&(_0x48cbc0=_0x3b4abf(_0x48cbc0)||_0x48cbc0);return _0x48cbc0;},_0x4f8c45=(_0x494c41,_0x1ee835)=>(_0x255a56,_0x1071de)=>_0x1ee835(_0x255a56,_0x1071de,_0x494c41);let _0x162e17=class extends _0x4bca4e['Disposable']{constructor(_0x3ae275,_0x40a43c,_0x39adf0){const _0x306056=_0x30576a;super(),this[_0x306056(0x161)]=_0x3ae275,this[_0x306056(0xde)]=_0x40a43c,this['_componentManager']=_0x39adf0,this[_0x306056(0x168)](),this[_0x306056(0xa8)](),this[_0x306056(0x10c)]();}[_0x30576a(0x168)](){const _0x530a12=_0x30576a;this[_0x530a12(0xde)]['mergeMenu'](_0x5de72e);}['_initCommands'](){this['disposeWithMe'](this['_commandService']['registerCommand'](_0x4afc1a));}['_initComponents'](){const _0x65e005=_0x30576a;[['PrintIcon',_0x85a252]][_0x65e005(0xa0)](([_0x5f01a7,_0x550169])=>{const _0x1e9583=_0x65e005;this[_0x1e9583(0x10a)][_0x1e9583(0xeb)](_0x5f01a7,_0x550169);});}};_0x162e17=_0x166c19([_0x4f8c45(0x0,_0x4bca4e[_0x30576a(0x16c)]),_0x4f8c45(0x1,_0x1bff07[_0x30576a(0xf6)]),_0x4f8c45(0x2,_0x4bca4e['Inject'](_0x1bff07['ComponentManager']))],_0x162e17);var _0x5b879e=Object[_0x30576a(0x9e)],_0x5446a3=Object[_0x30576a(0xc0)],_0x346ec8=(_0x39d692,_0x4e9a6b,_0x5290ce)=>_0x4e9a6b in _0x39d692?_0x5b879e(_0x39d692,_0x4e9a6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5290ce}):_0x39d692[_0x4e9a6b]=_0x5290ce,_0x6a0d0f=(_0x1420b3,_0x48a123,_0x4f49c2,_0x5d82f6)=>{const _0x427bb0=_0x30576a;for(var _0x5656f7=_0x5d82f6>0x1?void 0x0:_0x5d82f6?_0x5446a3(_0x48a123,_0x4f49c2):_0x48a123,_0x37f100=_0x1420b3[_0x427bb0(0x13f)]-0x1,_0xe40929;_0x37f100>=0x0;_0x37f100--)(_0xe40929=_0x1420b3[_0x37f100])&&(_0x5656f7=_0xe40929(_0x5656f7)||_0x5656f7);return _0x5656f7;},_0x57198a=(_0x1335d7,_0x5d2a39)=>(_0x4764ce,_0x208d51)=>_0x5d2a39(_0x4764ce,_0x208d51,_0x1335d7),_0x421986=(_0x51a8ea,_0x59fa00,_0x17bc7b)=>_0x346ec8(_0x51a8ea,typeof _0x59fa00!='symbol'?_0x59fa00+'':_0x59fa00,_0x17bc7b);_0x37d028[_0x30576a(0x10e)]=class extends _0x4bca4e[_0x30576a(0x145)]{constructor(_0x4b67c2=_0x30f45f,_0x106686,_0x182af1){const _0xf6c1d4=_0x30576a;super(),this['_config']=_0x4b67c2,this[_0xf6c1d4(0x11a)]=_0x106686,this[_0xf6c1d4(0xd6)]=_0x182af1;const {menu:_0x496bda,..._0x47b826}=_0x4bca4e[_0xf6c1d4(0xb4)]({},_0x30f45f,this[_0xf6c1d4(0xd5)]);_0x496bda&&this[_0xf6c1d4(0xd6)][_0xf6c1d4(0x102)](_0xf6c1d4(0xb6),_0x496bda,{'merge':!0x0}),this['_configService'][_0xf6c1d4(0x102)](_0x15ba79,_0x47b826);}[_0x30576a(0x153)](){const _0x416f24=_0x30576a;_0x4bca4e[_0x416f24(0xf4)](this[_0x416f24(0x11a)],[[_0x1100fd],[_0x162e17]]);}[_0x30576a(0x149)](){const _0x8b2fdd=_0x30576a;this['_injector'][_0x8b2fdd(0xb9)](_0x162e17);}},_0x421986(_0x37d028[_0x30576a(0x10e)],_0x30576a(0x138),_0x481c11),_0x421986(_0x37d028['UniverDocsPrintPlugin'],_0x30576a(0x13c),_0x1623ed[_0x30576a(0x15e)]),_0x421986(_0x37d028[_0x30576a(0x10e)],_0x30576a(0x10b),_0x1623ed[_0x30576a(0x10b)]),_0x421986(_0x37d028['UniverDocsPrintPlugin'],_0x30576a(0xcc),_0x4bca4e[_0x30576a(0xc7)]['UNIVER_DOC']),_0x37d028[_0x30576a(0x10e)]=_0x6a0d0f([_0x4bca4e[_0x30576a(0x156)](_0x46e30c[_0x30576a(0x117)],_0x3f2916[_0x30576a(0x130)]),_0x57198a(0x1,_0x4bca4e[_0x30576a(0xb1)](_0x4bca4e[_0x30576a(0x140)])),_0x57198a(0x2,_0x4bca4e['IConfigService'])],_0x37d028[_0x30576a(0x10e)]),_0x37d028[_0x30576a(0x174)]=_0x15ba79,_0x37d028[_0x30576a(0x164)]=_0x4afc1a,Object[_0x30576a(0x9e)](_0x37d028,Symbol[_0x30576a(0x111)],{'value':_0x30576a(0x115)});}));function _0xc64a(_0x807a36,_0x5b8e95){_0x807a36=_0x807a36-0x9e;const _0x30a284=_0x30a2();let _0xc64ae7=_0x30a284[_0x807a36];return _0xc64ae7;}function _0x30a2(){const _0xa6ef69=['CanvasRenderMode','packageName','UniverIcon','IUniverInstanceService','length','Injector','xlink:href','_skeleton','DocSkeletonManagerService','@univerjs/ui','Plugin','@univerjs-pro/license','mpn','getOffsetConfig','onReady','children','@univerjs-pro/docs-print','close','amd','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','UniverEngineRender','tag','getInterceptPoints','getContext','onStarting','with','print-icon','DependentOn','UniverNetwork','mask','div','getCurrentUnitOfType','current','scale','952608fcVWdz','name','setId','print.menu','_commandService','displayName','UNIVER_DOC','DocPrintOperation','forwardRef','111804Ckbcbg','1357374uGZybn','_initMenus','Pages\x20are\x20not\x20found','_scene','getSkeleton','ICommandService','RibbonStartGroup','_addComponent','Render\x20is\x20not\x20found','map','dispose','symbol','print','DOCS_PRINT_PLUGIN_CONFIG_KEY','message','0px','defineProperty','getUnit','forEach','IRenderManagerService','defs','_effects','docs.operation.print','0.17.0','prepare','react','_initCommands','_skeletonData','bottom','_unitId','return\x20','createPrintStyle','interceptor','getRenderById','97762XGRboP','Inject','@univerjs/docs-ui','setContainer','merge','isPro','menu','save','right','get','fill','render','22245NRnKvw','DocPrintInterceptorService','pages','string','getOwnPropertyDescriptor','getConfig','_engine','getMenuHiddenObservable','React','generateRandomId','page','UniverInstanceType','PrintDirection','CommandType','PRINTING_COMPONENT_COLLECT','svg','type','univerjs-icon\x20univerjs-icon-','_globalZoneService','colorChannel1','getDocFeatureLimit','pageHeight','defIds','Disposable','root','_config','_configService','evenodd','BUTTON','OTHERS','createElement','_offsetConfig','idSuffix','function','_menuManagerService','100%','/*xmcnAq0-SAcsdnmxPImYmI-0mrPns0mx*/Yhqw0AZqxSmwIlP0AZq(nAwmqcm,xPhdnAwfml)x{xxxx0Ilx{xxxxxxxxwZqc0xnAwmqcm6qYZ3sI07IIslx=xnAwmqcm.cPnA0(\x27-\x27);xxxxxxxxwZqc0xZIA5AqHmccs5mx=xCvLX.PsIcm(s0Zd(nAwmqcm6qYZ3sI07IIsl[g]));xxxxxxxxAYx(!ZIA5AqHmccs5m.hS)x{xxxxxxxxxxxxZIA5AqHmccs5m.hSx=xXhrdmI(nAwmqcm6qYZ3sI07IIsl[9]);xxxxxxxx}xxxxxxxxwZqc0xAcbZIRmIx=x0lPmZYxbZIRmI\x20nZdsnvwZPmx!==x\x27hqSmYAqmS\x27x&&xcmnYxAqc0sqwmZYxbZIRmI\x20nZdsnvwZPm;xxxxxxxxwZqc0xAcNIZjcmIx=x0lPmZYxjAqSZjx!==x\x27hqSmYAqmS\x27x&&x0lPmZYxjAqSZj.nZws0AZqx!==x\x27hqSmYAqmS\x27;xxxxxxxxwZqc0xwZq0mt0x=xAcbZIRmIx?xcmnYx:x(AcNIZjcmIx?xjAqSZjx:x5nZdsnQJAc);xxxxxxxxwZqc0xrmccs5mbZISx=xwZq0mt0.__Nscmp9__.PsIcm(nAwmqcm6qYZ3sI07IIsl[g]);xxxxxxxxwZqc0xrmccs5mx=xwZq0mt0.__Mmt__.c0IAq5AYl(rmccs5mbZIS);xxxxxxxxwZqc0xcA5qs0hImbZISx=xwZq0mt0.__Nscmp9__.PsIcm(nAwmqcm6qYZ3sI07IIsl[1]);xxxxxxxxwZqc0xcA5qs0hImx=xwZq0mt0.__Mmt__.c0IAq5AYl(cA5qs0hImbZIS);xxxxxxxxwZqc0xcA5qTsnASx=xwZq0mt0.__zmIAYl__(cA5qs0hIm,xrmccs5m,xPhdnAwfml);xxxxxxxxwZqc0xSZrsAqx=xZIA5AqHmccs5m.Sr;xxxxxxxxYhqw0AZqxAc2ZrsAqHs0wJAq5(Ps00mIq,xJZc0)x{xxxxxxxxxxxxAYx(Ps00mIqx===xJZc0)xIm0hIqx0Ihm;xxxxxxxxxxxxAYx(Ps00mIq.c0sI0cbA0J(\x27*.\x27))x{xxxxxxxxxxxxxxxxwZqc0xchYYAtx=xPs00mIq.cnAwm(g);xxxxxxxxxxxxxxxxAYx(chYYAtx&&xchYYAtx===xJZc0)x{xxxxxxxxxxxxxxxxxxxxIm0hIqx0Ihm;xxxxxxxxxxxxxxxx}xxxxxxxxxxxxxxxxAYx(chYYAtx&&x!JZc0.c0sI0cbA0J(\x27.\x27)x&&xJZc0.mqScbA0J(\x27.\x27x+xchYYAt))x{xxxxxxxxxxxxxxxxxxxxIm0hIqx0Ihm;xxxxxxxxxxxxxxxx}xxxxxxxxxxxx}xxxxxxxxxxxxIm0hIqxYsncm;xxxxxxxx}xxxxxxxxnm0xSZrsAqTsnASx=xYsncm;xxxxxxxxAYx(AcNIZjcmI)x{xxxxxxxxxxxxSZrsAqTsnASx=x(SZrsAqx&&xSZrsAq.nmq50J)x?xSZrsAq.cZrm((Sr60mr)x=>xAc2ZrsAqHs0wJAq5(Sr60mr,xnZws0AZq.JZc0qsrm))x:x0Ihm;xxxxxxxxxxxxAYx(nZws0AZq.JZc0qsrmx===x\x27nZwsnJZc0\x27)x{xxxxxxxxxxxxxxxxSZrsAqTsnASx=x0Ihm;xxxxxxxxxxxx}xxxxxxxx}xmncmx{xxxxxxxxxxxxSZrsAqTsnASx=x0Ihm;xxxxxxxx}xxxxxxxxwZqc0xzsnASx=xcA5qTsnASx&&xSZrsAqTsnAS;xxxxxxxxIm0hIqx{xxxxxxxxxxxxzsnAS,xxxxxxxxxxxxrmccs5m:xZIA5AqHmccs5m,xxxxxxxx};xxxx}xws0wJx(mIIZI)x{xxxxxxxxIm0hIqx{xxxxxxxxxxxxzsnAS:xYsncm,xxxxxxxxxxxxrmccs5m:x{},xxxxxxxx};xxxx}}','getUnitId','TRADITIONAL','_univerInstanceService','onbeforeprint','substring','appendChild','@univerjs/engine-render','attrs','UniverDocsUi','VIEWPORT_KEY','register','3887160DbRUpX','Portrait','makeForceDirty','12uGzoRa','PRINT_CANVAS_CLASS','timeValid','useRef','UniverUi','registerDependencies','container','IMenuManagerService','LS_CONFIG_KEY','5148837wdXxKr','__DocPrintRender__','Viewport','_documents','path','getSkeletonData','left','onafterprint','style','POSITIVE_INFINITY','setConfig','1em','syncExecuteCommand','Engine','UniverProLicense','absolute','documentFlavor','unshiftString','_componentManager','version','_initComponents','parseInt','UniverDocsPrintPlugin','DisposableCollection','entries','toStringTag','disposeWithMe','url(#$1','mainComponent','Module','width','UniverNetworkPlugin','body','SwitchDocModeCommand','_injector','_page','DocumentFlavor','height','@univerjs/core','UniverProDocsPrint','replace','pageWidth','VIEW_MAIN','_root','356dovGnU','_container','0\x200\x2016\x2016','updateScrollVal','_paperSize','toString','currentColor','random','top','getCanvas','_addViewport','_viewMain','UniverLicensePlugin','UniverCore','Scene','className','makeDirty','includes','OPERATION','_calculateLayout','pluginName','_key','_renderManagerService'];_0x30a2=function(){return _0xa6ef69;};return _0x30a2();}
|
|
1
|
+
function _0xda0e(){const _0x270d24=['_page','9JfvhNr','mask','getUnit','style','IRenderManagerService','symbol','DOCS_PRINT_PLUGIN_CONFIG_KEY','interceptor','@univerjs/docs-ui','trim','RibbonStartGroup','createPrintStyle','fill','_skeleton','_skeletonData','top','packageName','length','PRINTING_DOM_COLLECT','setId','UniverIcon','100%','forEach','DocPrintInterceptorService','prototype','UniverProLicense','1em','DependentOn','LS_CONFIG_KEY','docs.operation.print','_scene','replace','UniverNetwork','SwitchDocModeCommand','iterator','path','body','getDocumentStyle','UniverCore','valid','call','position','_config','print.menu','UniverUi','MenuItemType','OTHERS','getSkeletonData','right','@univerjs/ui','defIds','forwardRef','xlink:href','generateRandomId','getRenderById','svg','attrs','_documents','__DocPrintRender__','IConfigService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','VIEW_MAIN','defineProperty','4151816UxkBlN','fetchThroughInterceptors','div','getOffsetConfig','Injector','height','PRINTING_COMPONENT_COLLECT','Inject','close','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','PRINT_CANVAS_CLASS','PRINT_CONTAINER_CLASS','getMenuHiddenObservable','currentColor','tag','pages','DisposableCollection','container','@univerjs-pro/license','evenodd','6NLyKCX','timeValid','_currentRender','_root','parseInt','ICommandService','getLicenseInfo','_injector','toString','_engine','36118qftEdY','PrintDirection','Printing','IGlobalZoneService','menu','BUTTON','with','_renderManagerService','1966092BkOCWN','onReady','Portrait','_calculateLayout','pluginName','useRef','_globalZoneService','_initComponents','UNIVER_DOCS_PRINT','Disposable','_menuManagerService','Viewport','root','colorChannel1','_container','_effects','Render\x20is\x20not\x20found','random','univerjs-icon\x20univerjs-icon-','mpn','pageHeight','substring','DocumentDataModel\x20is\x20not\x20found','removeChild','UniverEngineRender','default','_univerInstanceService','onafterprint','IMenuManagerService','ComponentManager','UniverLicensePlugin','displayName','IUniverInstanceService','none','DocSkeletonManagerService','makeDirty','decorate','Skeleton\x20data\x20is\x20not\x20found','url(#$1','pageWidth','appendChild','DocPrintOperation','map','PrintIcon','disposeWithMe','makeForceDirty','get','@univerjs-pro/docs-print','2sZeVcz','width','_key','0.18.0','_initRenderer','Module','getConfig','_paperSize','setConfig','render','toStringTag','bottom','OPERATION','function','Scene','82332BMBzPK','mergeMenu','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','_addComponent','_configService','getCurrentUnitOfType','getUnitId','_initCommands','idSuffix','restore','className','prepare','mainComponent','CanvasRenderMode','UniverDocsPrintPlugin','isLocalCheck','CommandType','UniverNetworkPlugin','_unitId','_componentManager','React','99xzkXAs','getContext','getSkeleton','Pages\x20are\x20not\x20found','getInterceptPoints','_commandService','UniverDocs','@univerjs/network','getCanvas','merge','674090UKQOiZ','string','dispose','left','UNIVER_DOC','_offsetConfig','setContainer','addObject','_viewMain','assign','defs','print','UniverInstanceType','createElement','object','_initMenus','4722886jzkTHH','@univerjs-pro/print','absolute','documentFlavor','children','isPro','registerCommand','VIEWPORT_KEY','version','3345665MoZQDm','page','_addViewport','updateScrollVal','Engine'];_0xda0e=function(){return _0x270d24;};return _0xda0e();}function _0x46fa(_0x4cd846,_0x50c9d8){_0x4cd846=_0x4cd846-0x1f4;const _0xda0efe=_0xda0e();let _0x46fac8=_0xda0efe[_0x4cd846];return _0x46fac8;}(function(_0x322211,_0x2d9d17){const _0x4cccbd=_0x46fa,_0x1e7d16=_0x322211();while(!![]){try{const _0x156a98=parseInt(_0x4cccbd(0x254))/0x1*(-parseInt(_0x4cccbd(0x28c))/0x2)+-parseInt(_0x4cccbd(0x25c))/0x3+parseInt(_0x4cccbd(0x29b))/0x4+-parseInt(_0x4cccbd(0x2d3))/0x5+-parseInt(_0x4cccbd(0x24a))/0x6*(-parseInt(_0x4cccbd(0x2ca))/0x7)+parseInt(_0x4cccbd(0x236))/0x8*(parseInt(_0x4cccbd(0x1f7))/0x9)+-parseInt(_0x4cccbd(0x2ba))/0xa*(-parseInt(_0x4cccbd(0x2b0))/0xb);if(_0x156a98===_0x2d9d17)break;else _0x1e7d16['push'](_0x1e7d16['shift']());}catch(_0x50bce1){_0x1e7d16['push'](_0x1e7d16['shift']());}}}(_0xda0e,0x70624),function(_0x5af8c0,_0x4fcbf9){const _0xa9a3f0=_0x46fa;typeof exports==_0xa9a3f0(0x2c8)&&typeof module<'u'?_0x4fcbf9(exports,require(`@univerjs/core`),require(`@univerjs/docs-ui`),require(`@univerjs/engine-render`),require(`@univerjs-pro/license`),require(`@univerjs-pro/print`),require(`@univerjs/docs`),require(`@univerjs/ui`),require(`@univerjs/network`),require(`react`)):typeof define==_0xa9a3f0(0x299)&&define['amd']?define(['exports','@univerjs/core',_0xa9a3f0(0x1ff),'@univerjs/engine-render',_0xa9a3f0(0x248),_0xa9a3f0(0x2cb),'@univerjs/docs',_0xa9a3f0(0x228),_0xa9a3f0(0x2b7),'react'],_0x4fcbf9):(_0x5af8c0=typeof globalThis<'u'?globalThis:_0x5af8c0||self,_0x4fcbf9(_0x5af8c0['UniverProDocsPrint']={},_0x5af8c0[_0xa9a3f0(0x21d)],_0x5af8c0['UniverDocsUi'],_0x5af8c0[_0xa9a3f0(0x274)],_0x5af8c0[_0xa9a3f0(0x210)],_0x5af8c0['UniverProPrint'],_0x5af8c0[_0xa9a3f0(0x2b6)],_0x5af8c0[_0xa9a3f0(0x223)],_0x5af8c0[_0xa9a3f0(0x217)],_0x5af8c0[_0xa9a3f0(0x2af)]));}(this,function(_0x5d2fa6,_0x2f98bd,_0x2cd4b6,_0x7de734,_0x67847f,_0x40e95b,_0x40c52c,_0x4d689c,_0x6b56c7,_0x2565e3){const _0x25e4d0=_0x46fa;Object[_0x25e4d0(0x235)](_0x5d2fa6,Symbol[_0x25e4d0(0x296)],{'value':_0x25e4d0(0x291)});function _0x253a8e(_0x525172){'@babel/helpers - typeof';const _0x1ceac0=_0x25e4d0;return _0x253a8e=typeof Symbol==_0x1ceac0(0x299)&&typeof Symbol[_0x1ceac0(0x219)]==_0x1ceac0(0x1fc)?function(_0x15c4d8){return typeof _0x15c4d8;}:function(_0x20b140){const _0x2fa4ee=_0x1ceac0;return _0x20b140&&typeof Symbol==_0x2fa4ee(0x299)&&_0x20b140['constructor']===Symbol&&_0x20b140!==Symbol[_0x2fa4ee(0x20f)]?_0x2fa4ee(0x1fc):typeof _0x20b140;},_0x253a8e(_0x525172);}function _0x23003c(_0x148858,_0x2f13f9){const _0x544d5a=_0x25e4d0;if(_0x253a8e(_0x148858)!=_0x544d5a(0x2c8)||!_0x148858)return _0x148858;var _0x1d8143=_0x148858[Symbol['toPrimitive']];if(_0x1d8143!==void 0x0){var _0x3daab0=_0x1d8143[_0x544d5a(0x21f)](_0x148858,_0x2f13f9||_0x544d5a(0x275));if(_0x253a8e(_0x3daab0)!=_0x544d5a(0x2c8))return _0x3daab0;throw TypeError(_0x544d5a(0x233));}return(_0x2f13f9===_0x544d5a(0x2bb)?String:Number)(_0x148858);}function _0x3edb44(_0x3d7da6){const _0x4aee46=_0x25e4d0;var _0x26def4=_0x23003c(_0x3d7da6,_0x4aee46(0x2bb));return _0x253a8e(_0x26def4)=='symbol'?_0x26def4:_0x26def4+'';}function _0x4ac6ed(_0x193de5,_0x7e3178,_0x3071d1){const _0x13b3a8=_0x25e4d0;return(_0x7e3178=_0x3edb44(_0x7e3178))in _0x193de5?Object[_0x13b3a8(0x235)](_0x193de5,_0x7e3178,{'value':_0x3071d1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x193de5[_0x7e3178]=_0x3071d1,_0x193de5;}var _0x1e459f=class extends _0x2f98bd['Disposable']{get[_0x25e4d0(0x247)](){const _0x33a1c7=_0x25e4d0;return this[_0x33a1c7(0x26a)];}get['root'](){const _0x19cea1=_0x25e4d0;return this[_0x19cea1(0x24d)];}get['_currentRender'](){const _0x35030f=_0x25e4d0;let _0x715503=this['_injector'][_0x35030f(0x28a)](_0x7de734[_0x35030f(0x1fb)])[_0x35030f(0x22d)](this[_0x35030f(0x2ad)]);if(!_0x715503)throw Error('Render\x20is\x20not\x20found');return _0x715503;}get[_0x25e4d0(0x204)](){const _0x41a889=_0x25e4d0;return this[_0x41a889(0x24c)][_0x41a889(0x25a)](_0x40c52c[_0x41a889(0x27e)])[_0x41a889(0x2b2)]();}get[_0x25e4d0(0x205)](){const _0x260199=_0x25e4d0;let _0x12f416=this[_0x260199(0x204)][_0x260199(0x226)]();if(!_0x12f416)throw Error(_0x260199(0x281));return _0x12f416;}get[_0x25e4d0(0x293)](){const _0xb65bff=_0x25e4d0;let _0x1cb550=this[_0xb65bff(0x205)][_0xb65bff(0x245)][0x0];return{'width':_0x1cb550[_0xb65bff(0x283)],'height':_0x1cb550[_0xb65bff(0x270)]};}constructor(_0x502643,_0x35c90b,_0xca399c,_0x4198fe){const _0x4fb4fe=_0x25e4d0;super(),this[_0x4fb4fe(0x251)]=_0x502643,this[_0x4fb4fe(0x1f6)]=_0x35c90b,this[_0x4fb4fe(0x2ad)]=_0xca399c,this[_0x4fb4fe(0x2bf)]=_0x4198fe,_0x4ac6ed(this,_0x4fb4fe(0x26a),document[_0x4fb4fe(0x2c7)](_0x4fb4fe(0x238))),_0x4ac6ed(this,'_root',document[_0x4fb4fe(0x2c7)](_0x4fb4fe(0x238))),_0x4ac6ed(this,_0x4fb4fe(0x253),void 0x0),_0x4ac6ed(this,_0x4fb4fe(0x215),void 0x0),_0x4ac6ed(this,_0x4fb4fe(0x28e),void 0x0),_0x4ac6ed(this,_0x4fb4fe(0x230),void 0x0),_0x4ac6ed(this,_0x4fb4fe(0x2c2),void 0x0),_0x4ac6ed(this,_0x4fb4fe(0x26b),new _0x2f98bd[(_0x4fb4fe(0x246))]()),this['_key']=(0x0,_0x2f98bd[_0x4fb4fe(0x22c)])(0x4),this[_0x4fb4fe(0x290)](),this['disposeWithMe']({'dispose':()=>{const _0x2e79c7=_0x4fb4fe;this[_0x2e79c7(0x253)]['dispose'](),this[_0x2e79c7(0x215)][_0x2e79c7(0x2bc)](),this[_0x2e79c7(0x26b)][_0x2e79c7(0x2bc)]();}});}['_calculateLayout'](){const _0xd46f=_0x25e4d0;let {docsTop:_0xac71e8,docsLeft:_0xefb6ee}=this[_0xd46f(0x230)][_0xd46f(0x239)](),_0x558d53=this[_0xd46f(0x293)][_0xd46f(0x23b)],_0x30704a=this[_0xd46f(0x293)][_0xd46f(0x28d)];return{'top':_0xac71e8+(_0xac71e8+_0x558d53)*this['_page'],'bottom':_0xac71e8+(_0xac71e8+_0x558d53)*(this['_page']+0x1),'left':_0xefb6ee,'right':_0xefb6ee+_0x30704a};}['_initRenderer'](){const _0x536f0a=_0x25e4d0;this[_0x536f0a(0x253)]=new _0x7de734[(_0x536f0a(0x1f5))]('',{'elementWidth':this['_paperSize'][_0x536f0a(0x28d)],'elementHeight':this[_0x536f0a(0x293)][_0x536f0a(0x23b)],'dpr':0x1,'renderMode':_0x7de734[_0x536f0a(0x2a8)][_0x536f0a(0x256)]}),this[_0x536f0a(0x215)]=new _0x7de734[(_0x536f0a(0x29a))](this['_key'],this[_0x536f0a(0x253)]),this[_0x536f0a(0x215)]['scale'](0x1,0x1),this[_0x536f0a(0x253)][_0x536f0a(0x2c0)](this[_0x536f0a(0x26a)],!0x1),this['_engine']['getCanvas']()[_0x536f0a(0x2b1)]()[_0x536f0a(0x20a)](this[_0x536f0a(0x28e)]+'_'+(0x0,_0x2f98bd['generateRandomId'])(0x4)),this[_0x536f0a(0x29e)](),this[_0x536f0a(0x2d5)]();}['_addComponent'](){const _0x2d1d2a=_0x25e4d0;let {pageMarginLeft:_0x2eb040,pageMarginTop:_0x332c97,docsLeft:_0xfa3b95,docsTop:_0x3df729}=this[_0x2d1d2a(0x2bf)],_0x3f4249={'pageMarginLeft':_0x2eb040,'pageMarginTop':_0x332c97},_0x24151a=new _0x7de734['Documents'](_0x2d1d2a(0x231),this[_0x2d1d2a(0x204)],_0x3f4249);_0x24151a['translate'](_0xfa3b95,_0x3df729),this[_0x2d1d2a(0x215)][_0x2d1d2a(0x2c1)](_0x24151a),this['_documents']=_0x24151a;let _0x115144=this[_0x2d1d2a(0x251)][_0x2d1d2a(0x28a)](_0x2cd4b6[_0x2d1d2a(0x20e)]);_0x115144['interceptor'][_0x2d1d2a(0x237)](_0x115144['interceptor'][_0x2d1d2a(0x2b4)]()[_0x2d1d2a(0x23c)])(void 0x0,{'unitId':this[_0x2d1d2a(0x2ad)],'scene':this[_0x2d1d2a(0x215)],'engine':this['_engine'],'root':this[_0x2d1d2a(0x24d)],'documents':this[_0x2d1d2a(0x230)],'skeleton':this[_0x2d1d2a(0x204)]});}[_0x25e4d0(0x2d5)](){const _0x16f8d9=_0x25e4d0;this['_viewMain']=new _0x7de734[(_0x16f8d9(0x267))](_0x2cd4b6[_0x16f8d9(0x2d1)][_0x16f8d9(0x234)],this[_0x16f8d9(0x215)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x25e4d0(0x2a6)](){const _0x14c720=_0x25e4d0;let _0x4bc176=this[_0x14c720(0x25f)]();this[_0x14c720(0x2c2)][_0x14c720(0x1f4)]({'viewportScrollX':_0x4bc176['left'],'viewportScrollY':_0x4bc176['top']}),this['_root'][_0x14c720(0x1fa)][_0x14c720(0x220)]=_0x14c720(0x2cc),this[_0x14c720(0x24d)][_0x14c720(0x1fa)][_0x14c720(0x206)]='0px',this[_0x14c720(0x24d)][_0x14c720(0x1fa)][_0x14c720(0x2bd)]='0px',this[_0x14c720(0x24d)][_0x14c720(0x1fa)]['width']=_0x14c720(0x20c),this['_root']['style'][_0x14c720(0x23b)]=_0x14c720(0x20c),this[_0x14c720(0x26b)]=new _0x2f98bd[(_0x14c720(0x246))]();let _0xdc9774=this[_0x14c720(0x251)][_0x14c720(0x28a)](_0x2cd4b6[_0x14c720(0x20e)]);_0xdc9774['interceptor'][_0x14c720(0x237)](_0xdc9774[_0x14c720(0x1fe)][_0x14c720(0x2b4)]()[_0x14c720(0x209)])(this[_0x14c720(0x26b)],{'unitId':this[_0x14c720(0x2ad)],'scene':this[_0x14c720(0x215)],'engine':this[_0x14c720(0x253)],'root':this['_root'],'skeleton':this[_0x14c720(0x204)],'offset':{'x':_0x4bc176[_0x14c720(0x2bd)],'y':_0x4bc176['top']},'bound':{'top':_0x4bc176[_0x14c720(0x206)],'left':_0x4bc176['left'],'right':_0x4bc176[_0x14c720(0x227)],'bottom':_0x4bc176[_0x14c720(0x297)]}});}[_0x25e4d0(0x295)](){const _0x27e1e8=_0x25e4d0;let _0x592507=this[_0x27e1e8(0x253)][_0x27e1e8(0x2b8)]()[_0x27e1e8(0x2b1)]();this['_documents'][_0x27e1e8(0x289)](),this['_scene'][_0x27e1e8(0x27f)](),_0x592507['save'](),this[_0x27e1e8(0x215)][_0x27e1e8(0x295)](),_0x592507[_0x27e1e8(0x2a4)]();}};function _0x673cd2(_0x44d0eb,_0x26161f){return function(_0x7c4da8,_0x517a86){_0x26161f(_0x7c4da8,_0x517a86,_0x44d0eb);};}function _0x5778d4(_0x554fd9,_0x55f258,_0xb00ecb,_0x2f7dc8){const _0x29de37=_0x25e4d0;var _0x503e0c=arguments[_0x29de37(0x208)],_0x3b4e7c=_0x503e0c<0x3?_0x55f258:_0x2f7dc8===null?_0x2f7dc8=Object['getOwnPropertyDescriptor'](_0x55f258,_0xb00ecb):_0x2f7dc8,_0x2ac2af;if(typeof Reflect==_0x29de37(0x2c8)&&typeof Reflect[_0x29de37(0x280)]==_0x29de37(0x299))_0x3b4e7c=Reflect[_0x29de37(0x280)](_0x554fd9,_0x55f258,_0xb00ecb,_0x2f7dc8);else{for(var _0x582492=_0x554fd9[_0x29de37(0x208)]-0x1;_0x582492>=0x0;_0x582492--)(_0x2ac2af=_0x554fd9[_0x582492])&&(_0x3b4e7c=(_0x503e0c<0x3?_0x2ac2af(_0x3b4e7c):_0x503e0c>0x3?_0x2ac2af(_0x55f258,_0xb00ecb,_0x3b4e7c):_0x2ac2af(_0x55f258,_0xb00ecb))||_0x3b4e7c);}return _0x503e0c>0x3&&_0x3b4e7c&&Object['defineProperty'](_0x55f258,_0xb00ecb,_0x3b4e7c),_0x3b4e7c;}let _0x405450=Number[_0x25e4d0(0x24e)](0x69ba7036),_0x274856=(_0x53383d,_0x3be7b2,_0x510cc3)=>{const _0x3e7955=_0x25e4d0;let _0xf3f13={'page':_0x53383d,'isPro':!0x1,'timeValid':!0x1};if(!_0x3be7b2||!_0x510cc3)return _0xf3f13;let _0x3b7b49=(0x0,_0x67847f[_0x3e7955(0x250)])(_0x3be7b2,_0x510cc3);if(_0x3b7b49[_0x3e7955(0x21e)]){let _0x3a3255=_0x3b7b49['message'],_0x4b7a1a=(0x0,_0x67847f['isFeatureAuthorizedWithinTime'])(_0x3a3255,'df',_0x405450);_0xf3f13[_0x3e7955(0x2cf)]=_0x4b7a1a,_0xf3f13[_0x3e7955(0x24b)]=_0x4b7a1a,_0xf3f13[_0x3e7955(0x2d4)]=(0x0,_0x67847f['getDocFeatureLimit'])(_0x3a3255,_0x4b7a1a,_0x3e7955(0x26f),_0x53383d,_0x53383d,0x0);}return _0xf3f13;},_0x118348=class extends _0x2f98bd['Disposable']{constructor(_0x19d9bb,_0x5a887a,_0x3d8a68,_0x1fc471,_0x352cb2){const _0x5cf65e=_0x25e4d0;super(),this[_0x5cf65e(0x276)]=_0x19d9bb,this[_0x5cf65e(0x25b)]=_0x5a887a,this[_0x5cf65e(0x251)]=_0x3d8a68,this['_configService']=_0x1fc471,this[_0x5cf65e(0x262)]=_0x352cb2;}[_0x25e4d0(0x2c5)](_0x10c046){const _0x58cec7=_0x25e4d0;var _0x430577,_0x1e98ca;let {ls:_0x2c3804,pbk:_0x1da856}=(_0x430577=this['_configService'][_0x58cec7(0x292)](_0x67847f[_0x58cec7(0x213)]))==null?{}:_0x430577,_0x30f9dd=(0x0,_0x67847f[_0x58cec7(0x2aa)])()?0x1/0x0:_0x274856(0x1,_0x2c3804,_0x1da856)[_0x58cec7(0x2d4)];if(!this[_0x58cec7(0x276)][_0x58cec7(0x1f9)](_0x10c046,_0x2f98bd['UniverInstanceType'][_0x58cec7(0x2be)]))throw Error(_0x58cec7(0x272));let _0x53eb12=this['_renderManagerService'][_0x58cec7(0x22d)](_0x10c046);if(!_0x53eb12)throw Error('Render\x20is\x20not\x20found');let _0x55f80a=(_0x1e98ca=_0x53eb12[_0x58cec7(0x25a)](_0x40c52c['DocSkeletonManagerService'])[_0x58cec7(0x2b2)]()[_0x58cec7(0x226)]())==null?void 0x0:_0x1e98ca[_0x58cec7(0x245)];if(!_0x55f80a)throw Error(_0x58cec7(0x2b3));let _0x31a3b5={'width':_0x55f80a[0x0]['pageWidth'],'height':_0x55f80a[0x0]['pageHeight']},_0x1bbbb1=_0x55f80a[_0x58cec7(0x208)],_0x1ac123=Math['min'](_0x30f9dd,_0x1bbbb1),_0x4e622c=_0x53eb12[_0x58cec7(0x2a7)][_0x58cec7(0x239)](),_0x30fe71=document[_0x58cec7(0x2c7)]('div');_0x30fe71[_0x58cec7(0x2a5)]=_0x40e95b[_0x58cec7(0x241)];let _0x1cf6f3=Array(_0x1ac123)[_0x58cec7(0x203)](null)[_0x58cec7(0x286)]((_0x3e07c2,_0x14cc1d)=>{const _0x303da2=_0x58cec7;let _0x58ffab=new _0x1e459f(this['_injector'],_0x14cc1d,_0x10c046,_0x4e622c);return _0x58ffab[_0x303da2(0x247)]['className']=_0x40e95b[_0x303da2(0x240)],_0x58ffab;});_0x1cf6f3[_0x58cec7(0x20d)](_0x1b4002=>{const _0x3be847=_0x58cec7;_0x30fe71['appendChild'](_0x1b4002[_0x3be847(0x247)]),_0x1b4002[_0x3be847(0x247)]['appendChild'](_0x1b4002[_0x3be847(0x268)]),_0x1b4002[_0x3be847(0x2a6)]();});let _0x4d0be6=(0x0,_0x40e95b[_0x58cec7(0x202)])(_0x31a3b5['width'],_0x31a3b5[_0x58cec7(0x23b)],_0x40e95b[_0x58cec7(0x255)][_0x58cec7(0x25e)]);return document['body']['appendChild'](_0x4d0be6),document[_0x58cec7(0x21b)][_0x58cec7(0x284)](_0x30fe71),new Promise(_0x53c900=>{setTimeout(()=>{const _0xaeef73=_0x46fa;window['onbeforeprint']=()=>{const _0x3d36a7=_0x46fa;_0x1cf6f3[_0x3d36a7(0x20d)](_0x499a17=>{const _0x5c6553=_0x3d36a7;_0x499a17[_0x5c6553(0x295)]();});},window[_0xaeef73(0x277)]=()=>{const _0x48f04a=_0xaeef73;_0x1cf6f3[_0x48f04a(0x20d)](_0x1e2bf6=>{const _0x2d8332=_0x48f04a;_0x1e2bf6[_0x2d8332(0x2bc)]();}),document['body'][_0x48f04a(0x273)](_0x30fe71),document[_0x48f04a(0x21b)]['removeChild'](_0x4d0be6),this[_0x48f04a(0x262)][_0x48f04a(0x23e)](),_0x53c900(!0x0);},window[_0xaeef73(0x2c5)]();},0x64);});}};_0x118348=_0x5778d4([_0x673cd2(0x0,_0x2f98bd[_0x25e4d0(0x27c)]),_0x673cd2(0x1,_0x7de734[_0x25e4d0(0x1fb)]),_0x673cd2(0x2,(0x0,_0x2f98bd[_0x25e4d0(0x23d)])(_0x2f98bd[_0x25e4d0(0x23a)])),_0x673cd2(0x3,_0x2f98bd['IConfigService']),_0x673cd2(0x4,_0x4d689c[_0x25e4d0(0x257)])],_0x118348);let _0x3f3ac0={'id':_0x25e4d0(0x214),'type':_0x2f98bd[_0x25e4d0(0x2ab)][_0x25e4d0(0x298)],'handler':async _0x3d8ffa=>{const _0x6bd0=_0x25e4d0;let _0x18e87e=_0x3d8ffa[_0x6bd0(0x28a)](_0x2f98bd['IUniverInstanceService']),_0x49ad29=_0x3d8ffa['get'](_0x118348),_0x42cc2b=_0x3d8ffa[_0x6bd0(0x28a)](_0x7de734[_0x6bd0(0x1fb)]),_0x35a6c7=_0x3d8ffa[_0x6bd0(0x28a)](_0x2f98bd[_0x6bd0(0x24f)]),_0x3d2d39=_0x18e87e[_0x6bd0(0x2a0)](_0x2f98bd['UniverInstanceType'][_0x6bd0(0x2be)]);if(!_0x3d2d39)return!0x1;if(!_0x42cc2b[_0x6bd0(0x22d)](_0x3d2d39[_0x6bd0(0x2a1)]()))throw Error(_0x6bd0(0x26c));let _0x3a111c=_0x3d2d39[_0x6bd0(0x21c)]()[_0x6bd0(0x2cd)];return _0x3a111c!==_0x2f98bd['DocumentFlavor']['TRADITIONAL']&&_0x35a6c7['syncExecuteCommand'](_0x2cd4b6[_0x6bd0(0x218)]['id']),await _0x49ad29[_0x6bd0(0x2c5)](_0x3d2d39['getUnitId']()),_0x3a111c!==_0x2f98bd['DocumentFlavor']['TRADITIONAL']&&_0x35a6c7['syncExecuteCommand'](_0x2cd4b6[_0x6bd0(0x218)]['id']),!0x0;}},_0x22c2c8='UNIVER_DOCS_PRINT',_0x53ee6d={};var _0x571955=_0x25e4d0(0x28b),_0x46b4d7=_0x25e4d0(0x28f);function _0x1b7026({ref:_0x538469,..._0xd862c2}){const _0x2bf452=_0x25e4d0;let {icon:_0x2fbb78,id:_0x3295e3,className:_0x4eaab5,extend:_0x19ee25,..._0x4bab7e}=_0xd862c2,_0x362dbb=(_0x2bf452(0x26e)+_0x3295e3+'\x20'+(_0x4eaab5||''))[_0x2bf452(0x200)](),_0x50909a=(0x0,_0x2565e3[_0x2bf452(0x261)])('_'+_0x4357f3());return _0x2f11c5(_0x2fbb78,''+_0x3295e3,{'defIds':_0x2fbb78[_0x2bf452(0x229)],'idSuffix':_0x50909a['current']},{'ref':_0x538469,'className':_0x362dbb,..._0x4bab7e},_0x19ee25);}function _0x2f11c5(_0x2c57a8,_0x4bc6ca,_0x3aa2bc,_0x6a15e7,_0x4ed4ec){const _0x36b384=_0x25e4d0;return(0x0,_0x2565e3[_0x36b384(0x2c7)])(_0x2c57a8['tag'],{'key':_0x4bc6ca,..._0x1b9feb(_0x2c57a8,_0x3aa2bc,_0x4ed4ec),..._0x6a15e7},(_0x1efd74(_0x2c57a8,_0x3aa2bc)[_0x36b384(0x2ce)]||[])['map']((_0x1cd3c9,_0x450426)=>_0x2f11c5(_0x1cd3c9,_0x4bc6ca+'-'+_0x2c57a8[_0x36b384(0x244)]+'-'+_0x450426,_0x3aa2bc,void 0x0,_0x4ed4ec)));}function _0x1b9feb(_0x1f3b16,_0x41f186,_0x5b2802){const _0x41978f=_0x25e4d0;let _0x41262f={..._0x1f3b16[_0x41978f(0x22f)]};_0x5b2802!=null&&_0x5b2802[_0x41978f(0x269)]&&_0x41262f[_0x41978f(0x203)]===_0x41978f(0x269)&&(_0x41262f[_0x41978f(0x203)]=_0x5b2802[_0x41978f(0x269)]),_0x1f3b16['tag']===_0x41978f(0x1f8)&&_0x41262f['id']&&(_0x41262f['id']+=_0x41f186[_0x41978f(0x2a3)]),Object['entries'](_0x41262f)['forEach'](([_0x43f2da,_0x183c51])=>{const _0x229609=_0x41978f;_0x43f2da===_0x229609(0x1f8)&&typeof _0x183c51==_0x229609(0x2bb)&&(_0x41262f[_0x43f2da]=_0x183c51[_0x229609(0x216)](/url\(#(.*)\)/,_0x229609(0x282)+_0x41f186['idSuffix']+')'));});let {defIds:_0x402d3b}=_0x41f186;return!_0x402d3b||_0x402d3b[_0x41978f(0x208)]===0x0?_0x41262f:(_0x1f3b16[_0x41978f(0x244)]==='use'&&_0x41262f[_0x41978f(0x22b)]&&(_0x41262f[_0x41978f(0x22b)]+=_0x41f186['idSuffix']),Object['entries'](_0x41262f)[_0x41978f(0x20d)](([_0x48cba9,_0x4dc6a4])=>{const _0x5007ef=_0x41978f;typeof _0x4dc6a4==_0x5007ef(0x2bb)&&(_0x41262f[_0x48cba9]=_0x4dc6a4[_0x5007ef(0x216)](/url\(#(.*)\)/,'url(#$1'+_0x41f186['idSuffix']+')'));}),_0x41262f);}function _0x1efd74(_0x10958b,_0x1d8b81){const _0x5381fe=_0x25e4d0;var _0x36236e;let {defIds:_0x2e214d}=_0x1d8b81;return!_0x2e214d||_0x2e214d[_0x5381fe(0x208)]===0x0?_0x10958b:_0x10958b[_0x5381fe(0x244)]===_0x5381fe(0x2c4)&&(_0x36236e=_0x10958b[_0x5381fe(0x2ce)])!=null&&_0x36236e[_0x5381fe(0x208)]?{..._0x10958b,'children':_0x10958b[_0x5381fe(0x2ce)][_0x5381fe(0x286)](_0x9f4633=>typeof _0x9f4633['attrs']['id']==_0x5381fe(0x2bb)&&_0x2e214d&&_0x2e214d['includes'](_0x9f4633[_0x5381fe(0x22f)]['id'])?{..._0x9f4633,'attrs':{..._0x9f4633[_0x5381fe(0x22f)],'id':_0x9f4633[_0x5381fe(0x22f)]['id']+_0x1d8b81[_0x5381fe(0x2a3)]}}:_0x9f4633)}:_0x10958b;}function _0x4357f3(){const _0x1cbaf5=_0x25e4d0;return Math[_0x1cbaf5(0x26d)]()[_0x1cbaf5(0x252)](0x24)[_0x1cbaf5(0x271)](0x2,0x8);}_0x1b7026[_0x25e4d0(0x27b)]=_0x25e4d0(0x20b);let _0x2772d0={'tag':_0x25e4d0(0x22e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x25e4d0(0x27d),'viewBox':'0\x200\x2016\x2016','width':_0x25e4d0(0x211),'height':_0x25e4d0(0x211)},'children':[{'tag':_0x25e4d0(0x21a),'attrs':{'fill':_0x25e4d0(0x243),'d':_0x25e4d0(0x29d)}},{'tag':_0x25e4d0(0x21a),'attrs':{'fill':_0x25e4d0(0x243),'d':_0x25e4d0(0x23f),'fillRule':_0x25e4d0(0x249),'clipRule':'evenodd'}}]},_0x290368=(0x0,_0x2565e3[_0x25e4d0(0x22a)])(function(_0x56e33a,_0xe79810){const _0x2df7e5=_0x25e4d0;return(0x0,_0x2565e3['createElement'])(_0x1b7026,Object[_0x2df7e5(0x2c3)]({},_0x56e33a,{'id':'print-icon','ref':_0xe79810,'icon':_0x2772d0}));});_0x290368[_0x25e4d0(0x27b)]=_0x25e4d0(0x287);function _0x5e7f18(_0x92c68){const _0x4ca90a=_0x25e4d0;return{'id':_0x3f3ac0['id'],'type':_0x4d689c[_0x4ca90a(0x224)][_0x4ca90a(0x259)],'title':_0x4ca90a(0x222),'icon':'PrintIcon','tooltip':'print.menu','hidden$':(0x0,_0x4d689c[_0x4ca90a(0x242)])(_0x92c68,_0x2f98bd['UniverInstanceType'][_0x4ca90a(0x2be)])};}let _0x4d2115={[_0x4d689c[_0x25e4d0(0x201)][_0x25e4d0(0x225)]]:{[_0x3f3ac0['id']]:{'order':0.1,'menuItemFactory':_0x5e7f18}}},_0x32f290=class extends _0x2f98bd[_0x25e4d0(0x265)]{constructor(_0x19a4cc,_0xc2e514,_0x328253){const _0x5c3822=_0x25e4d0;super(),this[_0x5c3822(0x2b5)]=_0x19a4cc,this[_0x5c3822(0x266)]=_0xc2e514,this['_componentManager']=_0x328253,this[_0x5c3822(0x2c9)](),this[_0x5c3822(0x2a2)](),this[_0x5c3822(0x263)]();}[_0x25e4d0(0x2c9)](){const _0x8aaa0d=_0x25e4d0;this[_0x8aaa0d(0x266)][_0x8aaa0d(0x29c)](_0x4d2115);}[_0x25e4d0(0x2a2)](){const _0x1d2e22=_0x25e4d0;this[_0x1d2e22(0x288)](this[_0x1d2e22(0x2b5)][_0x1d2e22(0x2d0)](_0x3f3ac0));}[_0x25e4d0(0x263)](){const _0x803714=_0x25e4d0;[[_0x803714(0x287),_0x290368]][_0x803714(0x20d)](([_0x16ce62,_0x42391c])=>{const _0x5a1241=_0x803714;this[_0x5a1241(0x2ae)]['register'](_0x16ce62,_0x42391c);});}};_0x32f290=_0x5778d4([_0x673cd2(0x0,_0x2f98bd[_0x25e4d0(0x24f)]),_0x673cd2(0x1,_0x4d689c[_0x25e4d0(0x278)]),_0x673cd2(0x2,(0x0,_0x2f98bd[_0x25e4d0(0x23d)])(_0x4d689c[_0x25e4d0(0x279)]))],_0x32f290);let _0x16ad5b=class extends _0x2f98bd['Plugin']{constructor(_0x34ac87=_0x53ee6d,_0x4a40af,_0x1862a1){const _0x12a2e6=_0x25e4d0;super(),this['_config']=_0x34ac87,this[_0x12a2e6(0x251)]=_0x4a40af,this[_0x12a2e6(0x29f)]=_0x1862a1;let {menu:_0x6d974b,..._0x14877c}=(0x0,_0x2f98bd[_0x12a2e6(0x2b9)])({},_0x53ee6d,this[_0x12a2e6(0x221)]);_0x6d974b&&this[_0x12a2e6(0x29f)][_0x12a2e6(0x294)](_0x12a2e6(0x258),_0x6d974b,{'merge':!0x0}),this[_0x12a2e6(0x29f)][_0x12a2e6(0x294)](_0x22c2c8,_0x14877c);}['onStarting'](){const _0x32ee54=_0x25e4d0;(0x0,_0x2f98bd['registerDependencies'])(this[_0x32ee54(0x251)],[[_0x118348],[_0x32f290]]);}[_0x25e4d0(0x25d)](){const _0x5c42e8=_0x25e4d0;this[_0x5c42e8(0x251)][_0x5c42e8(0x28a)](_0x32f290);}};_0x4ac6ed(_0x16ad5b,_0x25e4d0(0x260),_0x25e4d0(0x264)),_0x4ac6ed(_0x16ad5b,_0x25e4d0(0x207),_0x571955),_0x4ac6ed(_0x16ad5b,_0x25e4d0(0x2d2),_0x46b4d7),_0x4ac6ed(_0x16ad5b,'type',_0x2f98bd[_0x25e4d0(0x2c6)][_0x25e4d0(0x2be)]),_0x16ad5b=_0x5778d4([(0x0,_0x2f98bd[_0x25e4d0(0x212)])(_0x6b56c7[_0x25e4d0(0x2ac)],_0x67847f[_0x25e4d0(0x27a)]),_0x673cd2(0x1,(0x0,_0x2f98bd['Inject'])(_0x2f98bd[_0x25e4d0(0x23a)])),_0x673cd2(0x2,_0x2f98bd[_0x25e4d0(0x232)])],_0x16ad5b),_0x5d2fa6[_0x25e4d0(0x1fd)]=_0x22c2c8,_0x5d2fa6[_0x25e4d0(0x285)]=_0x3f3ac0,Object[_0x25e4d0(0x235)](_0x5d2fa6,_0x25e4d0(0x2a9),{'enumerable':!0x0,'get':function(){return _0x16ad5b;}});}));
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5eb7(){var _0x5371aa=['1813840ELOhrW','1029yzPbMO','1537548jViExz','function','Print','3257926hUIlQN','42075LAJUkJ','894785wdGHmv','object','6736XPwwtL','4544SREepM','exports','amd','625680jTpVdg'];_0x5eb7=function(){return _0x5371aa;};return _0x5eb7();}function _0x1ea2(_0x38d0d1,_0x55e430){_0x38d0d1=_0x38d0d1-0x19b;var _0x5eb773=_0x5eb7();var _0x1ea278=_0x5eb773[_0x38d0d1];return _0x1ea278;}(function(_0x67f293,_0x28746d){var _0x299aed=_0x1ea2,_0x50cde3=_0x67f293();while(!![]){try{var _0x4c2497=parseInt(_0x299aed(0x19f))/0x1+-parseInt(_0x299aed(0x1a1))/0x2*(-parseInt(_0x299aed(0x1a7))/0x3)+parseInt(_0x299aed(0x1a5))/0x4+parseInt(_0x299aed(0x1a6))/0x5+parseInt(_0x299aed(0x1a8))/0x6+parseInt(_0x299aed(0x19d))/0x7+parseInt(_0x299aed(0x1a2))/0x8*(-parseInt(_0x299aed(0x19e))/0x9);if(_0x4c2497===_0x28746d)break;else _0x50cde3['push'](_0x50cde3['shift']());}catch(_0x3ee183){_0x50cde3['push'](_0x50cde3['shift']());}}}(_0x5eb7,0x9b251),function(_0x16b5ce,_0x594ae1){var _0x117761=_0x1ea2;typeof exports==_0x117761(0x1a0)&&typeof module<'u'?module[_0x117761(0x1a3)]=_0x594ae1():typeof define==_0x117761(0x19b)&&define[_0x117761(0x1a4)]?define([],_0x594ae1):(_0x16b5ce=typeof globalThis<'u'?globalThis:_0x16b5ce||self,_0x16b5ce['UniverProDocsPrintCaES']=_0x594ae1());}(this,function(){var _0x19cb0a=_0x1ea2;return{'print':{'menu':_0x19cb0a(0x19c)}};}));
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5cf6ca,_0x1b0d89){var _0x4d48d4=_0x2d7a,_0x9b9437=_0x5cf6ca();while(!![]){try{var _0x373210=-parseInt(_0x4d48d4(0x1a7))/0x1*(-parseInt(_0x4d48d4(0x1ae))/0x2)+parseInt(_0x4d48d4(0x1a2))/0x3*(-parseInt(_0x4d48d4(0x1a3))/0x4)+parseInt(_0x4d48d4(0x1a4))/0x5+-parseInt(_0x4d48d4(0x1ac))/0x6*(-parseInt(_0x4d48d4(0x1a8))/0x7)+parseInt(_0x4d48d4(0x1aa))/0x8*(parseInt(_0x4d48d4(0x1ab))/0x9)+-parseInt(_0x4d48d4(0x1a5))/0xa*(parseInt(_0x4d48d4(0x19f))/0xb)+parseInt(_0x4d48d4(0x1a0))/0xc*(parseInt(_0x4d48d4(0x1a1))/0xd);if(_0x373210===_0x1b0d89)break;else _0x9b9437['push'](_0x9b9437['shift']());}catch(_0x51cf0c){_0x9b9437['push'](_0x9b9437['shift']());}}}(_0x210c,0x59053),function(_0x4c0be1,_0x2fee51){var _0x3f71bb=_0x2d7a;typeof exports==_0x3f71bb(0x1a9)&&typeof module<'u'?module['exports']=_0x2fee51():typeof define=='function'&&define[_0x3f71bb(0x1ad)]?define([],_0x2fee51):(_0x4c0be1=typeof globalThis<'u'?globalThis:_0x4c0be1||self,_0x4c0be1['UniverProDocsPrintEnUS']=_0x2fee51());}(this,function(){var _0x2a6fe7=_0x2d7a;return{'print':{'menu':_0x2a6fe7(0x1a6)}};}));function _0x2d7a(_0x11bad0,_0x1cf95d){_0x11bad0=_0x11bad0-0x19f;var _0x210cbb=_0x210c();var _0x2d7aae=_0x210cbb[_0x11bad0];return _0x2d7aae;}function _0x210c(){var _0x5e7272=['13MMshcF','414591kGOvcT','4HmEMtB','901610lCBXxS','20ECllqo','Print','471934cVFphV','542710hihDxQ','object','16SKRZpU','326421zXBnbm','30KnDmHd','amd','2vKtCwr','3540922PqTjXG','410208xHwcln'];_0x210c=function(){return _0x5e7272;};return _0x210c();}
|