@univerjs-pro/docs-print 0.16.1 → 0.17.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/license/encrypted-func.d.ts +1 -1
- package/lib/types/license/reverse-mapping.d.ts +43 -43
- package/lib/types/plugin.d.ts +2 -0
- 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 +11 -11
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1e9441,_0x4a367c){const _0x1c168f=_0x2432,_0xb8a039=_0x1e9441();while(!![]){try{const _0x12fef1=-parseInt(_0x1c168f(0xc3))/0x1+-parseInt(_0x1c168f(0xc2))/0x2*(parseInt(_0x1c168f(0xc0))/0x3)+parseInt(_0x1c168f(0xc1))/0x4+-parseInt(_0x1c168f(0xbf))/0x5+parseInt(_0x1c168f(0xc4))/0x6+-parseInt(_0x1c168f(0xbc))/0x7+parseInt(_0x1c168f(0xbd))/0x8*(parseInt(_0x1c168f(0xbe))/0x9);if(_0x12fef1===_0x4a367c)break;else _0xb8a039['push'](_0xb8a039['shift']());}catch(_0x32f12b){_0xb8a039['push'](_0xb8a039['shift']());}}}(_0x8828,0xbedf4));const e={'print':{'menu':'打印'}};function _0x2432(_0x26c3b3,_0x533713){_0x26c3b3=_0x26c3b3-0xbc;const _0x882808=_0x8828();let _0x2432d8=_0x882808[_0x26c3b3];return _0x2432d8;}function _0x8828(){const _0x6be3d6=['936296StRGhz','171YMKNOS','706875kSXocv','9xikYhZ','1727032uXFHJk','724308muPgoh','49178rxgLGX','4625232xpvmPs','9572542yReGkX'];_0x8828=function(){return _0x6be3d6;};return _0x8828();}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3d7f4f,_0x1bcc35){const _0x29832e=_0x27ae,_0x4c6710=_0x3d7f4f();while(!![]){try{const _0x4dc666=-parseInt(_0x29832e(0x13e))/0x1*(parseInt(_0x29832e(0x142))/0x2)+parseInt(_0x29832e(0x13f))/0x3+parseInt(_0x29832e(0x140))/0x4*(-parseInt(_0x29832e(0x141))/0x5)+parseInt(_0x29832e(0x147))/0x6*(-parseInt(_0x29832e(0x146))/0x7)+-parseInt(_0x29832e(0x143))/0x8*(parseInt(_0x29832e(0x144))/0x9)+parseInt(_0x29832e(0x13c))/0xa*(parseInt(_0x29832e(0x13b))/0xb)+-parseInt(_0x29832e(0x145))/0xc*(-parseInt(_0x29832e(0x13d))/0xd);if(_0x4dc666===_0x1bcc35)break;else _0x4c6710['push'](_0x4c6710['shift']());}catch(_0x4c07ca){_0x4c6710['push'](_0x4c6710['shift']());}}}(_0x3113,0xc43a8));const e={'print':{'menu':'列印'}};function _0x27ae(_0x36ea19,_0x4203e3){_0x36ea19=_0x36ea19-0x13b;const _0x3113d3=_0x3113();let _0x27ae15=_0x3113d3[_0x36ea19];return _0x27ae15;}export{e as default};function _0x3113(){const _0x1b9634=['338SkaPbE','1157883ExDiYF','1503996iPVnBZ','72872JhIrKA','125kOvfGR','2tSNBsc','8552rsaJYE','7281sxSCFQ','1385640CAlZIV','763gcisPX','70122AtkEzn','11574607ZwtoQC','10wjflDy'];_0x3113=function(){return _0x1b9634;};return _0x3113();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x316c17=_0x28a2;(function(_0x4c71b1,_0x89915a){const _0x1241f0=_0x28a2,_0x44047e=_0x4c71b1();while(!![]){try{const _0x1cd5b9=-parseInt(_0x1241f0(0x267))/0x1*(parseInt(_0x1241f0(0x21f))/0x2)+parseInt(_0x1241f0(0x208))/0x3+-parseInt(_0x1241f0(0x1dd))/0x4*(parseInt(_0x1241f0(0x23b))/0x5)+parseInt(_0x1241f0(0x1ec))/0x6+-parseInt(_0x1241f0(0x255))/0x7+-parseInt(_0x1241f0(0x1de))/0x8*(-parseInt(_0x1241f0(0x220))/0x9)+-parseInt(_0x1241f0(0x21d))/0xa*(-parseInt(_0x1241f0(0x1ce))/0xb);if(_0x1cd5b9===_0x89915a)break;else _0x44047e['push'](_0x44047e['shift']());}catch(_0x39f987){_0x44047e['push'](_0x44047e['shift']());}}}(_0x2c04,0xe3f49));var J=Object[_0x316c17(0x251)],Y=(_0x44ea96,_0x1bbf9a,_0x3f3c0b)=>_0x1bbf9a in _0x44ea96?J(_0x44ea96,_0x1bbf9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f3c0b}):_0x44ea96[_0x1bbf9a]=_0x3f3c0b,h=(_0x3a874b,_0x12aa89,_0x33ef90)=>Y(_0x3a874b,typeof _0x12aa89!=_0x316c17(0x268)?_0x12aa89+'':_0x12aa89,_0x33ef90);import{Disposable as _0x1d938b,generateRandomId as _0x41ddce,DisposableCollection as _0x4150cb,Inject as _0x310519,Injector as _0x1b822d,UniverInstanceType as _0x58b4d4,IUniverInstanceService as _0x39f847,IConfigService as _0x40ad56,CommandType as _0x456eff,ICommandService as _0x3f3309,DocumentFlavor as _0x44d5ab,DependentOn as _0x1aa6ae,Plugin as _0x5b33e7,merge as _0x5dd38b,registerDependencies as _0x5328b2}from'@univerjs/core';import{DocPrintInterceptorService as _0x31b79c,VIEWPORT_KEY as _0x2726e0,SwitchDocModeCommand as _0x13797e}from'@univerjs/docs-ui';import{IRenderManagerService as _0x367324,Engine as _0x3d881d,CanvasRenderMode as _0x5f4698,Scene as _0xef300f,Documents as _0x5d7454,Viewport as _0x121c2e}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x5a1e27,isLocalCheck as _0xde93d6,unshiftString as _0x3793d7,isFeatureAuthorizedWithinTime as _0x1acb1c,getDocFeatureLimit as _0x464ada,UniverLicensePlugin as _0x1a07f3}from'@univerjs-pro/license';import{PRINT_CONTAINER_CLASS as _0x17c47a,PRINT_CANVAS_CLASS as _0x515973,createPrintStyle as _0xbf5fbc,PrintDirection as _0x292ff1}from'@univerjs-pro/print';function _0x2c04(){const _0x7eaa16=['_initCommands','updateScrollVal','xlink:href','10yDZxFl','colorChannel1','72620nROrUP','99WQCeVY','parseInt','syncExecuteCommand','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','__DocPrintRender__','container','_currentRender','_commandService','appendChild','path','POSITIVE_INFINITY','getDocumentStyle','_skeletonData','_menuManagerService','attrs','restore','root','_initRenderer','getUnit','save','Pages\x20are\x20not\x20found','className','evenodd','translate','assign','body','tag','2265vIaUDZ','fetchThroughInterceptors','getCanvas','top','_paperSize','print.menu','removeChild','random','UNIVER_DOC','pageHeight','get','entries','addObject','isPro','mainComponent','mergeMenu','left','defs','interceptor','getRenderById','getOwnPropertyDescriptor','valid','defineProperty','1em','message','_effects','4462913GXhpvV','PRINTING_COMPONENT_COLLECT','length','getSkeletonData','forEach','_addComponent','return\x20','_container','dispose','mask','_offsetConfig','Skeleton\x20data\x20is\x20not\x20found','prepare','mpn','_univerInstanceService','0\x200\x2016\x2016','min','/*asRePp2-KPRhnesak\x20sUs\x20-2sBkeh2sa*/Uwpz2PrpaKsz\x20Tk2Prp(ePzspRs,akwnePzgsT)a{aaaa2\x20Ta{aaaaaaaazrpR2aePzspRsFpUrJh\x202j\x20\x20hTa=aePzspRs.RkeP2(\x27-\x27);aaaaaaaazrpR2ar\x20POPplsRRhOsa=aDdAI.kh\x20Rs(h2rn(ePzspRsFpUrJh\x202j\x20\x20hT[C]));aaaaaaaaPUa(!r\x20POPplsRRhOs.wK)a{aaaaaaaaaaaar\x20POPplsRRhOs.wKa=aIwBns\x20(ePzspRsFpUrJh\x202j\x20\x20hT[7]);aaaaaaaa}aaaaaaaazrpR2aPRor\x20fs\x20a=a2TksrUaor\x20fs\x20bernhedzrksa!==a\x27wpKsUPpsK\x27a&&aRseUaPpR2hpzsrUaor\x20fs\x20bernhedzrks;aaaaaaaazrpR2aPR5\x20r6Rs\x20a=a2TksrUa6PpKr6a!==a\x27wpKsUPpsK\x27a&&a2TksrUa6PpKr6.erzh2Prpa!==a\x27wpKsUPpsK\x27;aaaaaaaazrpR2azrp2s92a=aPRor\x20fs\x20a?aRseUa:a(PR5\x20r6Rs\x20a?a6PpKr6a:aOernheELPR);aaaaaaaazrpR2aBsRRhOsor\x20Ka=azrp2s92.__5hRsW7__.kh\x20Rs(ePzspRsFpUrJh\x202j\x20\x20hT[C]);aaaaaaaazrpR2aBsRRhOsa=azrp2s92.__Vs9__.R2\x20PpOPUT(BsRRhOsor\x20K);aaaaaaaazrpR2aRPOph2w\x20sor\x20Ka=azrp2s92.__5hRsW7__.kh\x20Rs(ePzspRsFpUrJh\x202j\x20\x20hT[Z]);aaaaaaaazrpR2aRPOph2w\x20sa=azrp2s92.__Vs9__.R2\x20PpOPUT(RPOph2w\x20sor\x20K);aaaaaaaazrpR2aRPOpyhePKa=azrp2s92.__3s\x20PUT__(RPOph2w\x20s,aBsRRhOs,akwnePzgsT);aaaaaaaazrpR2aKrBhPpa=ar\x20POPplsRRhOs.KB;aaaaaaaaUwpz2PrpaPRqrBhPplh2zLPpO(kh22s\x20p,aLrR2)a{aaaaaaaaaaaaPUa(kh22s\x20pa===aLrR2)a\x20s2w\x20pa2\x20ws;aaaaaaaaaaaaPUa(kh22s\x20p.R2h\x202RoP2L(\x27*.\x27))a{aaaaaaaaaaaaaaaazrpR2aRwUUP9a=akh22s\x20p.RePzs(C);aaaaaaaaaaaaaaaaPUa(RwUUP9a&&aRwUUP9a===aLrR2)a{aaaaaaaaaaaaaaaaaaaa\x20s2w\x20pa2\x20ws;aaaaaaaaaaaaaaaa}aaaaaaaaaaaaaaaaPUa(RwUUP9a&&a!LrR2.R2h\x202RoP2L(\x27.\x27)a&&aLrR2.spKRoP2L(\x27.\x27a+aRwUUP9))a{aaaaaaaaaaaaaaaaaaaa\x20s2w\x20pa2\x20ws;aaaaaaaaaaaaaaaa}aaaaaaaaaaaa}aaaaaaaaaaaa\x20s2w\x20paUheRs;aaaaaaaa}aaaaaaaaes2aKrBhPpyhePKa=aUheRs;aaaaaaaaPUa(PR5\x20r6Rs\x20)a{aaaaaaaaaaaaKrBhPpyhePKa=a(KrBhPpa&&aKrBhPp.espO2L)a?aKrBhPp.RrBs((KBF2sB)a=>aPRqrBhPplh2zLPpO(KBF2sB,aerzh2Prp.LrR2phBs))a:a2\x20ws;aaaaaaaaaaaaPUa(erzh2Prp.LrR2phBsa===a\x27erzheLrR2\x27)a{aaaaaaaaaaaaaaaaKrBhPpyhePKa=a2\x20ws;aaaaaaaaaaaa}aaaaaaaa}aseRsa{aaaaaaaaaaaaKrBhPpyhePKa=a2\x20ws;aaaaaaaa}aaaaaaaazrpR2a3hePKa=aRPOpyhePKa&&aKrBhPpyhePK;aaaaaaaa\x20s2w\x20pa{aaaaaaaaaaaa3hePK,aaaaaaaaaaaaBsRRhOs:ar\x20POPplsRRhOs,aaaaaaaa};aaaa}azh2zLa(s\x20\x20r\x20)a{aaaaaaaa\x20s2w\x20pa{aaaaaaaaaaaa3hePK:aUheRs,aaaaaaaaaaaaBsRRhOs:a{},aaaaaaaa};aaaa}}','2rkoclg','symbol','_scene','onReady','TRADITIONAL','substring','_unitId','_renderManagerService','scale','documentFlavor','style','setConfig','right','map','4335243luNKBE','children','string','menu','_root','idSuffix','_initComponents','PrintIcon','replace','setId','div','0px','univerjs-icon\x20univerjs-icon-','currentColor','getSkeleton','1696ENysbO','285152SVoLbt','register','use','getUnitId','Render\x20is\x20not\x20found','displayName','includes','_page','onbeforeprint','getInterceptPoints','disposeWithMe','render','getConfig','onafterprint','4023690xbZYus','getContext','with','url(#$1','setContainer','_config','fill','onStarting','makeForceDirty','_componentManager','registerCommand','_skeleton','_configService','_engine','height','_globalZoneService','UNIVER_DOCS_PRINT','_initMenus','width','100%','VIEW_MAIN','print-icon','getOffsetConfig','pageWidth','_documents','Portrait','none','absolute','1137432hnpRDP','PRINTING_DOM_COLLECT','type','createElement','OTHERS','timeValid','_injector','pages','position','_viewMain','_calculateLayout','close','_key','Printing','print','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','_addViewport','defIds'];_0x2c04=function(){return _0x7eaa16;};return _0x2c04();}import{DocSkeletonManagerService as _0x3310a2}from'@univerjs/docs';import{IGlobalZoneService as _0x3985cf,MenuItemType as _0x558905,getMenuHiddenObservable as _0x4ad7ab,RibbonStartGroup as _0x3c7cdf,ComponentManager as _0x3362c7,IMenuManagerService as _0x1ae9fa}from'@univerjs/ui';import{UniverNetworkPlugin as _0x4b5b6d}from'@univerjs/network';import{useRef as _0x3b1861,createElement as _0x54845c,forwardRef as _0x47d677}from'react';const ya=_0x316c17(0x266),Ta={0x0:'Z',0x1:'9',0x2:'t',0x3:'v',0x4:'E',0x5:'B',0x6:'w',0x7:'4',0x8:'L',0x9:'x','M':'0','m':'1','C':'2','Z':'3','Q':'5','W':'6','S':'7','X':'8','h':'a','n':'b','z':'c','K':'d','s':'e','U':'f','O':'g','L':'h','P':'i','G':'j','f':'k','e':'l','B':'m','p':'n','r':'o','k':'p','N':'q','\x20':'r','R':'s','w':'u','T':'y','v':'z','j':'A','t':'C','q':'D','c':'F','b':'G','V':'H','F':'I','D':'J','g':'K','l':'M','I':'N','A':'O','J':'P','x':'Q','u':'R','d':'S','E':'T','Y':'U','y':'V','o':'W','i':'X','H':'Y','a':'\x20'};class Da extends _0x1d938b{constructor(_0x274560,_0x2f359b,_0x142673,_0x4c9cc3){const _0x3746cf=_0x316c17;super(),h(this,_0x3746cf(0x25c),document[_0x3746cf(0x20b)](_0x3746cf(0x1d8))),h(this,_0x3746cf(0x1d2),document[_0x3746cf(0x20b)](_0x3746cf(0x1d8))),h(this,'_engine'),h(this,_0x3746cf(0x269)),h(this,'_key'),h(this,'_documents'),h(this,_0x3746cf(0x211)),h(this,_0x3746cf(0x254),new _0x4150cb()),(this['_injector']=_0x274560,this[_0x3746cf(0x1e5)]=_0x2f359b,this[_0x3746cf(0x26d)]=_0x142673,this[_0x3746cf(0x25f)]=_0x4c9cc3,this[_0x3746cf(0x214)]=_0x41ddce(0x4),this[_0x3746cf(0x231)](),this[_0x3746cf(0x1e8)]({'dispose':()=>{const _0x592b8c=_0x3746cf;this[_0x592b8c(0x1f9)][_0x592b8c(0x25d)](),this['_scene'][_0x592b8c(0x25d)](),this[_0x592b8c(0x254)]['dispose']();}}));}get[_0x316c17(0x225)](){const _0x2c1113=_0x316c17;return this[_0x2c1113(0x25c)];}get['root'](){const _0x516e5a=_0x316c17;return this[_0x516e5a(0x1d2)];}get[_0x316c17(0x226)](){const _0x313c95=_0x316c17,_0x42b98d=this[_0x313c95(0x20e)][_0x313c95(0x245)](_0x367324)[_0x313c95(0x24e)](this[_0x313c95(0x26d)]);if(!_0x42b98d)throw new Error(_0x313c95(0x1e2));return _0x42b98d;}get[_0x316c17(0x1f7)](){const _0x4f016d=_0x316c17;return this[_0x4f016d(0x226)][_0x4f016d(0x1ee)](_0x3310a2)[_0x4f016d(0x1dc)]();}get[_0x316c17(0x22c)](){const _0xa6c39c=_0x316c17,_0x3a24ea=this[_0xa6c39c(0x1f7)][_0xa6c39c(0x258)]();if(!_0x3a24ea)throw new Error(_0xa6c39c(0x260));return _0x3a24ea;}get['_paperSize'](){const _0x1fc96d=_0x316c17,_0x2f30cd=this['_skeletonData']['pages'][0x0];return{'width':_0x2f30cd[_0x1fc96d(0x203)],'height':_0x2f30cd[_0x1fc96d(0x244)]};}[_0x316c17(0x212)](){const _0x6e207a=_0x316c17,{docsTop:_0xb227a5,docsLeft:_0x10785f}=this['_documents'][_0x6e207a(0x202)](),_0x47615f=this['_paperSize'][_0x6e207a(0x1fa)],_0x5b69e8=this['_paperSize'][_0x6e207a(0x1fe)];return{'top':_0xb227a5+(_0xb227a5+_0x47615f)*this[_0x6e207a(0x1e5)],'bottom':_0xb227a5+(_0xb227a5+_0x47615f)*(this[_0x6e207a(0x1e5)]+0x1),'left':_0x10785f,'right':_0x10785f+_0x5b69e8};}[_0x316c17(0x231)](){const _0x1d45ce=_0x316c17;this['_engine']=new _0x3d881d('',{'elementWidth':this[_0x1d45ce(0x23f)]['width'],'elementHeight':this[_0x1d45ce(0x23f)][_0x1d45ce(0x1fa)],'dpr':0x1,'renderMode':_0x5f4698[_0x1d45ce(0x215)]}),this[_0x1d45ce(0x269)]=new _0xef300f(this[_0x1d45ce(0x214)],this[_0x1d45ce(0x1f9)]),this['_scene'][_0x1d45ce(0x26f)](0x1,0x1),this[_0x1d45ce(0x1f9)][_0x1d45ce(0x1f0)](this['_container'],!0x1),this[_0x1d45ce(0x1f9)][_0x1d45ce(0x23d)]()[_0x1d45ce(0x1ed)]()[_0x1d45ce(0x1d7)](this['_key']+'_'+_0x41ddce(0x4)),this[_0x1d45ce(0x25a)](),this[_0x1d45ce(0x218)]();}['_addComponent'](){const _0x5f25c1=_0x316c17,{pageMarginLeft:_0x3914d0,pageMarginTop:_0x4e53c3,docsLeft:_0x5d12be,docsTop:_0x42b039}=this[_0x5f25c1(0x25f)],_0x53ce33={'pageMarginLeft':_0x3914d0,'pageMarginTop':_0x4e53c3},_0x373128=new _0x5d7454(_0x5f25c1(0x224),this['_skeleton'],_0x53ce33);_0x373128[_0x5f25c1(0x237)](_0x5d12be,_0x42b039),this[_0x5f25c1(0x269)][_0x5f25c1(0x247)](_0x373128),this[_0x5f25c1(0x204)]=_0x373128;const _0x56605b=this[_0x5f25c1(0x20e)][_0x5f25c1(0x245)](_0x31b79c);_0x56605b['interceptor'][_0x5f25c1(0x23c)](_0x56605b[_0x5f25c1(0x24d)][_0x5f25c1(0x1e7)]()[_0x5f25c1(0x256)])(void 0x0,{'unitId':this[_0x5f25c1(0x26d)],'scene':this[_0x5f25c1(0x269)],'engine':this[_0x5f25c1(0x1f9)],'root':this['_root'],'documents':this[_0x5f25c1(0x204)],'skeleton':this[_0x5f25c1(0x1f7)]});}['_addViewport'](){const _0x509763=_0x316c17;this[_0x509763(0x211)]=new _0x121c2e(_0x2726e0[_0x509763(0x200)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x316c17(0x261)](){const _0x18e68c=_0x316c17,_0x42bff4=this[_0x18e68c(0x212)]();this[_0x18e68c(0x211)][_0x18e68c(0x21b)]({'viewportScrollX':_0x42bff4['left'],'viewportScrollY':_0x42bff4[_0x18e68c(0x23e)]}),this[_0x18e68c(0x1d2)]['style'][_0x18e68c(0x210)]=_0x18e68c(0x207),this[_0x18e68c(0x1d2)][_0x18e68c(0x271)][_0x18e68c(0x23e)]=_0x18e68c(0x1d9),this[_0x18e68c(0x1d2)]['style']['left']=_0x18e68c(0x1d9),this[_0x18e68c(0x1d2)]['style'][_0x18e68c(0x1fe)]=_0x18e68c(0x1ff),this[_0x18e68c(0x1d2)]['style'][_0x18e68c(0x1fa)]=_0x18e68c(0x1ff),this[_0x18e68c(0x254)]=new _0x4150cb();const _0x5079cb=this[_0x18e68c(0x20e)][_0x18e68c(0x245)](_0x31b79c);_0x5079cb[_0x18e68c(0x24d)]['fetchThroughInterceptors'](_0x5079cb[_0x18e68c(0x24d)][_0x18e68c(0x1e7)]()[_0x18e68c(0x209)])(this[_0x18e68c(0x254)],{'unitId':this[_0x18e68c(0x26d)],'scene':this[_0x18e68c(0x269)],'engine':this[_0x18e68c(0x1f9)],'root':this['_root'],'skeleton':this[_0x18e68c(0x1f7)],'offset':{'x':_0x42bff4['left'],'y':_0x42bff4[_0x18e68c(0x23e)]},'bound':{'top':_0x42bff4[_0x18e68c(0x23e)],'left':_0x42bff4[_0x18e68c(0x24b)],'right':_0x42bff4[_0x18e68c(0x1cc)],'bottom':_0x42bff4['bottom']}});}[_0x316c17(0x1e9)](){const _0x5eb903=_0x316c17,_0x346534=this['_engine'][_0x5eb903(0x23d)]()[_0x5eb903(0x1ed)]();this[_0x5eb903(0x204)][_0x5eb903(0x1f4)](),this[_0x5eb903(0x269)]['makeDirty'](),_0x346534[_0x5eb903(0x233)](),this[_0x5eb903(0x269)][_0x5eb903(0x1e9)](),_0x346534[_0x5eb903(0x22f)]();}}var La=Object[_0x316c17(0x24f)],za=(_0x4c5a12,_0x1b97c1,_0x17b795,_0x25ff0d)=>{const _0x447888=_0x316c17;for(var _0x5accd1=_0x25ff0d>0x1?void 0x0:_0x25ff0d?La(_0x1b97c1,_0x17b795):_0x1b97c1,_0x32c957=_0x4c5a12[_0x447888(0x257)]-0x1,_0x32345c;_0x32c957>=0x0;_0x32c957--)(_0x32345c=_0x4c5a12[_0x32c957])&&(_0x5accd1=_0x32345c(_0x5accd1)||_0x5accd1);return _0x5accd1;},_=(_0x4f88e4,_0x16787b)=>(_0x26a2a8,_0x3b6406)=>_0x16787b(_0x26a2a8,_0x3b6406,_0x4f88e4);const Ma=Number[_0x316c17(0x221)](0x69a65826),Na=0x1,Ka=(_0x44e409,_0x3eb256,_0x2c7d34)=>{const _0x2a9ebf=_0x316c17,_0x12e5f6={'page':_0x44e409,'isPro':!0x1,'timeValid':!0x1};if(!_0x3eb256||!_0x2c7d34)return _0x12e5f6;const _0x69a1f6=_0x3793d7(ya,Ta),_0x521f1d=new Function(_0x2a9ebf(0x25b)+_0x69a1f6)()(_0x3eb256,_0x2c7d34);if(_0x521f1d[_0x2a9ebf(0x250)]){const _0x77fef0=_0x521f1d[_0x2a9ebf(0x253)],_0x58ef35=_0x1acb1c(_0x77fef0,'df',Ma);_0x12e5f6[_0x2a9ebf(0x248)]=_0x58ef35,_0x12e5f6[_0x2a9ebf(0x20d)]=_0x58ef35;const _0xfceed2=0x0;_0x12e5f6['page']=_0x464ada(_0x77fef0,_0x58ef35,_0x2a9ebf(0x262),_0x44e409,_0x44e409,_0xfceed2);}return _0x12e5f6;};let f=class extends _0x1d938b{constructor(_0x5d9302,_0x39a40f,_0x431c57,_0x571b07,_0x20f01b){const _0x33401a=_0x316c17;super(),this[_0x33401a(0x263)]=_0x5d9302,this[_0x33401a(0x26e)]=_0x39a40f,this[_0x33401a(0x20e)]=_0x431c57,this[_0x33401a(0x1f8)]=_0x571b07,this[_0x33401a(0x1fb)]=_0x20f01b;}[_0x316c17(0x216)](_0x41c52f){const _0x3ab3f9=_0x316c17;var _0xcac3af,_0xac0afa;const _0x29989b=(_0xcac3af=this[_0x3ab3f9(0x1f8)][_0x3ab3f9(0x1ea)](_0x5a1e27))!=null?_0xcac3af:{},{ls:_0x2189cc,pbk:_0x510bf8}=_0x29989b,_0x4c46c2=_0xde93d6()?Number[_0x3ab3f9(0x22a)]:Ka(Na,_0x2189cc,_0x510bf8)['page'];if(!this[_0x3ab3f9(0x263)][_0x3ab3f9(0x232)](_0x41c52f,_0x58b4d4['UNIVER_DOC']))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0x1ba15=this[_0x3ab3f9(0x26e)][_0x3ab3f9(0x24e)](_0x41c52f);if(!_0x1ba15)throw new Error('Render\x20is\x20not\x20found');const _0x19f37d=(_0xac0afa=_0x1ba15[_0x3ab3f9(0x1ee)](_0x3310a2)[_0x3ab3f9(0x1dc)]()[_0x3ab3f9(0x258)]())==null?void 0x0:_0xac0afa[_0x3ab3f9(0x20f)];if(!_0x19f37d)throw new Error(_0x3ab3f9(0x234));const _0x206a94={'width':_0x19f37d[0x0]['pageWidth'],'height':_0x19f37d[0x0][_0x3ab3f9(0x244)]},_0x5f71b6=_0x19f37d[_0x3ab3f9(0x257)],_0x2b9b0f=Math[_0x3ab3f9(0x265)](_0x4c46c2,_0x5f71b6),_0x564a1d=_0x1ba15[_0x3ab3f9(0x249)][_0x3ab3f9(0x202)](),_0x342737=document[_0x3ab3f9(0x20b)](_0x3ab3f9(0x1d8));_0x342737['className']=_0x17c47a;const _0x45700b=new Array(_0x2b9b0f)[_0x3ab3f9(0x1f2)](null)[_0x3ab3f9(0x1cd)]((_0x3f5104,_0x13cbbe)=>{const _0xdca0da=_0x3ab3f9,_0x17f5ac=new Da(this[_0xdca0da(0x20e)],_0x13cbbe,_0x41c52f,_0x564a1d);return _0x17f5ac['container'][_0xdca0da(0x235)]=_0x515973,_0x17f5ac;});_0x45700b[_0x3ab3f9(0x259)](_0x3ccaa4=>{const _0x1e37d4=_0x3ab3f9;_0x342737[_0x1e37d4(0x228)](_0x3ccaa4[_0x1e37d4(0x225)]),_0x3ccaa4['container']['appendChild'](_0x3ccaa4[_0x1e37d4(0x230)]),_0x3ccaa4['prepare']();});const _0x42591b=_0xbf5fbc(_0x206a94[_0x3ab3f9(0x1fe)],_0x206a94[_0x3ab3f9(0x1fa)],_0x292ff1[_0x3ab3f9(0x205)]);return document['body'][_0x3ab3f9(0x228)](_0x42591b),document['body'][_0x3ab3f9(0x228)](_0x342737),new Promise(_0x1511d9=>{setTimeout(()=>{const _0x7e42f5=_0x28a2;window[_0x7e42f5(0x1e6)]=()=>{_0x45700b['forEach'](_0xdb894a=>{const _0x21e3ab=_0x28a2;_0xdb894a[_0x21e3ab(0x1e9)]();});},window[_0x7e42f5(0x1eb)]=()=>{const _0x2cb309=_0x7e42f5;_0x45700b[_0x2cb309(0x259)](_0x27d117=>{const _0x2ff7be=_0x2cb309;_0x27d117[_0x2ff7be(0x25d)]();}),document[_0x2cb309(0x239)][_0x2cb309(0x241)](_0x342737),document[_0x2cb309(0x239)]['removeChild'](_0x42591b),this[_0x2cb309(0x1fb)][_0x2cb309(0x213)](),_0x1511d9(!0x0);},window[_0x7e42f5(0x216)]();},0x64);});}};f=za([_(0x0,_0x39f847),_(0x1,_0x367324),_(0x2,_0x310519(_0x1b822d)),_(0x3,_0x40ad56),_(0x4,_0x3985cf)],f);const S={'id':'docs.operation.print','type':_0x456eff['OPERATION'],'handler':async _0x34eeeb=>{const _0xa1e415=_0x316c17,_0xa11509=_0x34eeeb[_0xa1e415(0x245)](_0x39f847),_0x10e009=_0x34eeeb[_0xa1e415(0x245)](f),_0xc12166=_0x34eeeb[_0xa1e415(0x245)](_0x367324),_0x5bad2d=_0x34eeeb['get'](_0x3f3309),_0x5839c3=_0xa11509['getCurrentUnitOfType'](_0x58b4d4['UNIVER_DOC']);if(!_0x5839c3)return!0x1;if(!_0xc12166[_0xa1e415(0x24e)](_0x5839c3[_0xa1e415(0x1e1)]()))throw new Error(_0xa1e415(0x1e2));const _0x1e4bce=_0x5839c3[_0xa1e415(0x22b)]()[_0xa1e415(0x270)];return _0x1e4bce!==_0x44d5ab['TRADITIONAL']&&_0x5bad2d[_0xa1e415(0x222)](_0x13797e['id']),await _0x10e009['print'](_0x5839c3[_0xa1e415(0x1e1)]()),_0x1e4bce!==_0x44d5ab[_0xa1e415(0x26b)]&&_0x5bad2d[_0xa1e415(0x222)](_0x13797e['id']),!0x0;}},Ea=_0x316c17(0x1fc),K={},ka=_0x316c17(0x1fc);function F({ref:_0x204185,..._0x1e1f13}){const _0x33666c=_0x316c17,{icon:_0x354256,id:_0x29f419,className:_0x56b090,extend:_0x41d883,..._0x4a36ee}=_0x1e1f13,_0x4527bf=(_0x33666c(0x1da)+_0x29f419+'\x20'+(_0x56b090||''))['trim'](),_0x57e37c=_0x3b1861('_'+Va());return A(_0x354256,''+_0x29f419,{'defIds':_0x354256[_0x33666c(0x219)],'idSuffix':_0x57e37c['current']},{'ref':_0x204185,'className':_0x4527bf,..._0x4a36ee},_0x41d883);}function A(_0xf13ba3,_0x328bca,_0x50df50,_0x3d98c6,_0x150deb){const _0x200d08=_0x316c17;return _0x54845c(_0xf13ba3['tag'],{'key':_0x328bca,...ba(_0xf13ba3,_0x50df50,_0x150deb),..._0x3d98c6},(Ba(_0xf13ba3,_0x50df50)[_0x200d08(0x1cf)]||[])[_0x200d08(0x1cd)]((_0x335f7c,_0x57a60e)=>A(_0x335f7c,_0x328bca+'-'+_0xf13ba3[_0x200d08(0x23a)]+'-'+_0x57a60e,_0x50df50,void 0x0,_0x150deb)));}function ba(_0x464257,_0x1874ee,_0x4df219){const _0x12bae3=_0x316c17,_0x221ae7={..._0x464257[_0x12bae3(0x22e)]};_0x4df219!=null&&_0x4df219['colorChannel1']&&_0x221ae7[_0x12bae3(0x1f2)]===_0x12bae3(0x21e)&&(_0x221ae7[_0x12bae3(0x1f2)]=_0x4df219['colorChannel1']),_0x464257['tag']===_0x12bae3(0x25e)&&_0x221ae7['id']&&(_0x221ae7['id']=_0x221ae7['id']+_0x1874ee['idSuffix']),Object['entries'](_0x221ae7)[_0x12bae3(0x259)](([_0x220b87,_0x44bfba])=>{const _0x572c9d=_0x12bae3;_0x220b87===_0x572c9d(0x25e)&&typeof _0x44bfba==_0x572c9d(0x1d0)&&(_0x221ae7[_0x220b87]=_0x44bfba[_0x572c9d(0x1d6)](/url\(#(.*)\)/,_0x572c9d(0x1ef)+_0x1874ee[_0x572c9d(0x1d3)]+')'));});const {defIds:_0x20dcaf}=_0x1874ee;return!_0x20dcaf||_0x20dcaf[_0x12bae3(0x257)]===0x0||(_0x464257[_0x12bae3(0x23a)]===_0x12bae3(0x1e0)&&_0x221ae7[_0x12bae3(0x21c)]&&(_0x221ae7['xlink:href']=_0x221ae7[_0x12bae3(0x21c)]+_0x1874ee[_0x12bae3(0x1d3)]),Object[_0x12bae3(0x246)](_0x221ae7)[_0x12bae3(0x259)](([_0x5af3b8,_0x379376])=>{const _0x339a23=_0x12bae3;typeof _0x379376==_0x339a23(0x1d0)&&(_0x221ae7[_0x5af3b8]=_0x379376[_0x339a23(0x1d6)](/url\(#(.*)\)/,_0x339a23(0x1ef)+_0x1874ee[_0x339a23(0x1d3)]+')'));})),_0x221ae7;}function Ba(_0x5b2be0,_0x166e9b){const _0x505842=_0x316c17;var _0x1b124d;const {defIds:_0xc2b9fa}=_0x166e9b;return!_0xc2b9fa||_0xc2b9fa[_0x505842(0x257)]===0x0?_0x5b2be0:_0x5b2be0[_0x505842(0x23a)]===_0x505842(0x24c)&&((_0x1b124d=_0x5b2be0[_0x505842(0x1cf)])!=null&&_0x1b124d['length'])?{..._0x5b2be0,'children':_0x5b2be0[_0x505842(0x1cf)][_0x505842(0x1cd)](_0x141fa7=>typeof _0x141fa7[_0x505842(0x22e)]['id']=='string'&&_0xc2b9fa&&_0xc2b9fa[_0x505842(0x1e4)](_0x141fa7[_0x505842(0x22e)]['id'])?{..._0x141fa7,'attrs':{..._0x141fa7[_0x505842(0x22e)],'id':_0x141fa7['attrs']['id']+_0x166e9b['idSuffix']}}:_0x141fa7)}:_0x5b2be0;}function Va(){const _0x563356=_0x316c17;return Math[_0x563356(0x242)]()['toString'](0x24)[_0x563356(0x26c)](0x2,0x8);}F[_0x316c17(0x1e3)]='UniverIcon';const xa={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x316c17(0x206),'viewBox':_0x316c17(0x264),'width':'1em','height':_0x316c17(0x252)},'children':[{'tag':_0x316c17(0x229),'attrs':{'fill':'currentColor','d':_0x316c17(0x223)}},{'tag':'path','attrs':{'fill':_0x316c17(0x1db),'d':_0x316c17(0x217),'fillRule':_0x316c17(0x236),'clipRule':_0x316c17(0x236)}}]},$=_0x47d677(function(_0xd522a5,_0x32bb42){const _0x173c1b=_0x316c17;return _0x54845c(F,Object[_0x173c1b(0x238)]({},_0xd522a5,{'id':_0x173c1b(0x201),'ref':_0x32bb42,'icon':xa}));});$['displayName']=_0x316c17(0x1d5);function ja(_0x588337){const _0x95f0b1=_0x316c17;return{'id':S['id'],'type':_0x558905['BUTTON'],'title':_0x95f0b1(0x240),'icon':_0x95f0b1(0x1d5),'tooltip':_0x95f0b1(0x240),'hidden$':_0x4ad7ab(_0x588337,_0x58b4d4[_0x95f0b1(0x243)])};}const Fa={[_0x3c7cdf[_0x316c17(0x20c)]]:{[S['id']]:{'order':0.1,'menuItemFactory':ja}}};function _0x28a2(_0xea1063,_0x27d0dd){_0xea1063=_0xea1063-0x1cb;const _0x2c04c8=_0x2c04();let _0x28a28b=_0x2c04c8[_0xea1063];return _0x28a28b;}var Aa=Object[_0x316c17(0x24f)],$a=(_0x5b2cad,_0x17152e,_0x6112c0,_0xf8bd6e)=>{const _0x19b142=_0x316c17;for(var _0x3de334=_0xf8bd6e>0x1?void 0x0:_0xf8bd6e?Aa(_0x17152e,_0x6112c0):_0x17152e,_0x206757=_0x5b2cad[_0x19b142(0x257)]-0x1,_0x42ae0a;_0x206757>=0x0;_0x206757--)(_0x42ae0a=_0x5b2cad[_0x206757])&&(_0x3de334=_0x42ae0a(_0x3de334)||_0x3de334);return _0x3de334;},C=(_0x660cfd,_0x2010a4)=>(_0x489970,_0x4f0dc1)=>_0x2010a4(_0x489970,_0x4f0dc1,_0x660cfd);let u=class extends _0x1d938b{constructor(_0x32704a,_0x259cb6,_0x5660ac){const _0x16b3c2=_0x316c17;super(),this[_0x16b3c2(0x227)]=_0x32704a,this[_0x16b3c2(0x22d)]=_0x259cb6,this[_0x16b3c2(0x1f5)]=_0x5660ac,this[_0x16b3c2(0x1fd)](),this[_0x16b3c2(0x21a)](),this['_initComponents']();}[_0x316c17(0x1fd)](){const _0x538a57=_0x316c17;this['_menuManagerService'][_0x538a57(0x24a)](Fa);}[_0x316c17(0x21a)](){const _0x5be806=_0x316c17;this[_0x5be806(0x1e8)](this[_0x5be806(0x227)][_0x5be806(0x1f6)](S));}[_0x316c17(0x1d4)](){const _0xe5c006=_0x316c17;[[_0xe5c006(0x1d5),$]][_0xe5c006(0x259)](([_0x5d2ef0,_0x2eb6ac])=>{const _0x2ed46d=_0xe5c006;this[_0x2ed46d(0x1f5)][_0x2ed46d(0x1df)](_0x5d2ef0,_0x2eb6ac);});}};u=$a([C(0x0,_0x3f3309),C(0x1,_0x1ae9fa),C(0x2,_0x310519(_0x3362c7))],u);var Wa=Object[_0x316c17(0x251)],Ha=Object[_0x316c17(0x24f)],Za=(_0x36e710,_0x3fb854,_0x3fabbf)=>_0x3fb854 in _0x36e710?Wa(_0x36e710,_0x3fb854,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fabbf}):_0x36e710[_0x3fb854]=_0x3fabbf,Ga=(_0x346ac6,_0x20d368,_0x82bf17,_0xb257c2)=>{const _0x4b2872=_0x316c17;for(var _0x32666e=_0xb257c2>0x1?void 0x0:_0xb257c2?Ha(_0x20d368,_0x82bf17):_0x20d368,_0x54214b=_0x346ac6[_0x4b2872(0x257)]-0x1,_0x14775f;_0x54214b>=0x0;_0x54214b--)(_0x14775f=_0x346ac6[_0x54214b])&&(_0x32666e=_0x14775f(_0x32666e)||_0x32666e);return _0x32666e;},E=(_0x5cae43,_0x50b5c9)=>(_0x1891a5,_0x3ecf5e)=>_0x50b5c9(_0x1891a5,_0x3ecf5e,_0x5cae43),W=(_0x3ed0e8,_0x231db6,_0xfffa3c)=>Za(_0x3ed0e8,typeof _0x231db6!=_0x316c17(0x268)?_0x231db6+'':_0x231db6,_0xfffa3c);let P=class extends _0x5b33e7{constructor(_0x118e05=K,_0x170b4f,_0x5984dc){const _0x3ff97b=_0x316c17;super(),this['_config']=_0x118e05,this[_0x3ff97b(0x20e)]=_0x170b4f,this[_0x3ff97b(0x1f8)]=_0x5984dc;const {menu:_0x2959d0,..._0xc0c4b4}=_0x5dd38b({},K,this[_0x3ff97b(0x1f1)]);_0x2959d0&&this[_0x3ff97b(0x1f8)][_0x3ff97b(0x1cb)](_0x3ff97b(0x1d1),_0x2959d0,{'merge':!0x0}),this[_0x3ff97b(0x1f8)]['setConfig'](Ea,_0xc0c4b4);}[_0x316c17(0x1f3)](){_0x5328b2(this['_injector'],[[f],[u]]);}[_0x316c17(0x26a)](){const _0x81d093=_0x316c17;this[_0x81d093(0x20e)][_0x81d093(0x245)](u);}};W(P,'pluginName',ka),W(P,_0x316c17(0x20a),_0x58b4d4[_0x316c17(0x243)]),P=Ga([_0x1aa6ae(_0x4b5b6d,_0x1a07f3),E(0x1,_0x310519(_0x1b822d)),E(0x2,_0x40ad56)],P);export{Ea as DOCS_PRINT_PLUGIN_CONFIG_KEY,S as DocPrintOperation,P as UniverDocsPrintPlugin};
|
|
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};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x27dcd7=_0x2c6e;(function(_0xf6e065,_0x37cbe8){const _0x1020af=_0x2c6e,_0x545c6d=_0xf6e065();while(!![]){try{const _0x30ccd3=parseInt(_0x1020af(0x11e))/0x1+parseInt(_0x1020af(0x11b))/0x2+-parseInt(_0x1020af(0x11c))/0x3*(parseInt(_0x1020af(0x117))/0x4)+-parseInt(_0x1020af(0x118))/0x5+parseInt(_0x1020af(0x119))/0x6+-parseInt(_0x1020af(0x11f))/0x7*(parseInt(_0x1020af(0x11d))/0x8)+parseInt(_0x1020af(0x116))/0x9;if(_0x30ccd3===_0x37cbe8)break;else _0x545c6d['push'](_0x545c6d['shift']());}catch(_0x47f632){_0x545c6d['push'](_0x545c6d['shift']());}}}(_0x2977,0x872a7));function _0x2c6e(_0x7cfa3c,_0x196ece){_0x7cfa3c=_0x7cfa3c-0x116;const _0x2977de=_0x2977();let _0x2c6e2e=_0x2977de[_0x7cfa3c];return _0x2c6e2e;}const t={'print':{'menu':_0x27dcd7(0x11a)}},e=t;function _0x2977(){const _0x3fbb8e=['85852jgMgNY','1878385qukEyx','3147912teoknM','Print','144148KlljzD','42wsfyLS','8HvFXXb','510611AagEhx','2706396wikSxE','4581801pCEyPQ'];_0x2977=function(){return _0x3fbb8e;};return _0x2977();}export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2ba8cd=_0x5196;(function(_0x5cdd88,_0x3497eb){const _0x252a6c=_0x5196,_0x1866a2=_0x5cdd88();while(!![]){try{const _0x4559fe=-parseInt(_0x252a6c(0x1c1))/0x1*(parseInt(_0x252a6c(0x1b9))/0x2)+parseInt(_0x252a6c(0x1c4))/0x3*(parseInt(_0x252a6c(0x1bf))/0x4)+parseInt(_0x252a6c(0x1c3))/0x5+parseInt(_0x252a6c(0x1bd))/0x6+-parseInt(_0x252a6c(0x1ba))/0x7+parseInt(_0x252a6c(0x1c2))/0x8*(parseInt(_0x252a6c(0x1be))/0x9)+-parseInt(_0x252a6c(0x1bb))/0xa*(parseInt(_0x252a6c(0x1bc))/0xb);if(_0x4559fe===_0x3497eb)break;else _0x1866a2['push'](_0x1866a2['shift']());}catch(_0x39fee1){_0x1866a2['push'](_0x1866a2['shift']());}}}(_0x2bd3,0xbdab7));function _0x5196(_0x282c58,_0x5e026e){_0x282c58=_0x282c58-0x1b9;const _0x2bd31d=_0x2bd3();let _0x51962b=_0x2bd31d[_0x282c58];return _0x51962b;}const t={'print':{'menu':_0x2ba8cd(0x1c0)}};export{t as default};function _0x2bd3(){const _0x4e734f=['261uZKAtB','1548996BBmlFi','Print','1XfSzKj','355560CBxfPV','6636520lrfUxZ','6VCjXOQ','179788rYniOV','2434320eemjVr','22992290TnEWLD','11YgSyFh','738378dUdgCj'];_0x2bd3=function(){return _0x4e734f;};return _0x2bd3();}
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4a01(_0x395de4,_0x181de5){_0x395de4=_0x395de4-0x1d0;const _0x3c8278=_0x3c82();let _0x4a014c=_0x3c8278[_0x395de4];return _0x4a014c;}const _0x37f758=_0x4a01;(function(_0x414cca,_0x2b0e55){const _0x1a1366=_0x4a01,_0x295ae9=_0x414cca();while(!![]){try{const _0x5f0558=-parseInt(_0x1a1366(0x1da))/0x1+parseInt(_0x1a1366(0x1d3))/0x2*(parseInt(_0x1a1366(0x1d8))/0x3)+parseInt(_0x1a1366(0x1d9))/0x4+-parseInt(_0x1a1366(0x1d1))/0x5+-parseInt(_0x1a1366(0x1d5))/0x6*(parseInt(_0x1a1366(0x1d4))/0x7)+parseInt(_0x1a1366(0x1d6))/0x8+-parseInt(_0x1a1366(0x1d7))/0x9*(-parseInt(_0x1a1366(0x1d0))/0xa);if(_0x5f0558===_0x2b0e55)break;else _0x295ae9['push'](_0x295ae9['shift']());}catch(_0x5c2834){_0x295ae9['push'](_0x295ae9['shift']());}}}(_0x3c82,0x6b4dc));function _0x3c82(){const _0xecf561=['335574SCjfcl','1959zWXQNE','1403056qrkeNM','366550vFUUCw','170sanpGi','1032270WrBNlJ','Print','782sddrxf','331184vzlqkF','90ZscoQg','3858008TqtoLc'];_0x3c82=function(){return _0xecf561;};return _0x3c82();}const t={'print':{'menu':_0x37f758(0x1d2)}},e=t;export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x403008=_0x4d1f;(function(_0x4b9bd2,_0x1e9739){const _0xcd3a63=_0x4d1f,_0x2de2ad=_0x4b9bd2();while(!![]){try{const _0x532c91=-parseInt(_0xcd3a63(0xff))/0x1*(parseInt(_0xcd3a63(0xfd))/0x2)+parseInt(_0xcd3a63(0x102))/0x3+-parseInt(_0xcd3a63(0x108))/0x4*(-parseInt(_0xcd3a63(0x107))/0x5)+-parseInt(_0xcd3a63(0x105))/0x6+parseInt(_0xcd3a63(0x104))/0x7+-parseInt(_0xcd3a63(0x100))/0x8*(parseInt(_0xcd3a63(0x103))/0x9)+-parseInt(_0xcd3a63(0x101))/0xa*(-parseInt(_0xcd3a63(0x106))/0xb);if(_0x532c91===_0x1e9739)break;else _0x2de2ad['push'](_0x2de2ad['shift']());}catch(_0x19c03a){_0x2de2ad['push'](_0x2de2ad['shift']());}}}(_0x4385,0xc8bf7));function _0x4d1f(_0x439e0e,_0x5f21ba){_0x439e0e=_0x439e0e-0xfd;const _0x43858f=_0x4385();let _0x4d1f5f=_0x43858f[_0x439e0e];return _0x4d1f5f;}const e={'print':{'menu':_0x403008(0xfe)}};function _0x4385(){const _0x1205cb=['434FjCQrn','چاپ','1013aZnGGU','64peQGmW','40nkNlAA','4116246ZoVXDA','1721169ShmqaC','1411795UiJdNe','2865720uAUcUX','3270377epqgid','5LmqAlC','1146548uomoDa'];_0x4385=function(){return _0x1205cb;};return _0x4385();}export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x378f75=_0x4dee;(function(_0x477b33,_0x3c271e){const _0x375b0a=_0x4dee,_0x4a39fb=_0x477b33();while(!![]){try{const _0x4d8790=-parseInt(_0x375b0a(0xe1))/0x1*(parseInt(_0x375b0a(0xe5))/0x2)+parseInt(_0x375b0a(0xe7))/0x3*(parseInt(_0x375b0a(0xe8))/0x4)+parseInt(_0x375b0a(0xe9))/0x5+-parseInt(_0x375b0a(0xe4))/0x6+parseInt(_0x375b0a(0xeb))/0x7+parseInt(_0x375b0a(0xe3))/0x8*(-parseInt(_0x375b0a(0xea))/0x9)+parseInt(_0x375b0a(0xe2))/0xa;if(_0x4d8790===_0x3c271e)break;else _0x4a39fb['push'](_0x4a39fb['shift']());}catch(_0x5d9a73){_0x4a39fb['push'](_0x4a39fb['shift']());}}}(_0x6038,0xa84e2));function _0x6038(){const _0x332f55=['255955dAspjM','90EqSbRW','4026988KGHayE','835274OuDCeQ','13078150pHgfDO','618008veIoAV','1603824ORTXUz','2rgvwBv','Imprimer','141xeyMYC','53632zpqaGf'];_0x6038=function(){return _0x332f55;};return _0x6038();}const e={'print':{'menu':_0x378f75(0xe6)}};function _0x4dee(_0x3d4598,_0x1cf167){_0x3d4598=_0x3d4598-0xe1;const _0x6038ec=_0x6038();let _0x4deed9=_0x6038ec[_0x3d4598];return _0x4deed9;}export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4096dd,_0x236196){const _0x408862=_0x58d2,_0x452c94=_0x4096dd();while(!![]){try{const _0x50f0bb=parseInt(_0x408862(0xcf))/0x1+-parseInt(_0x408862(0xcb))/0x2+parseInt(_0x408862(0xcd))/0x3*(parseInt(_0x408862(0xcc))/0x4)+-parseInt(_0x408862(0xca))/0x5+-parseInt(_0x408862(0xce))/0x6+parseInt(_0x408862(0xc8))/0x7+parseInt(_0x408862(0xc9))/0x8;if(_0x50f0bb===_0x236196)break;else _0x452c94['push'](_0x452c94['shift']());}catch(_0x1f0076){_0x452c94['push'](_0x452c94['shift']());}}}(_0x338c,0xb009c));function _0x58d2(_0x1e8be5,_0x18db08){_0x1e8be5=_0x1e8be5-0xc8;const _0x338cda=_0x338c();let _0x58d2a6=_0x338cda[_0x1e8be5];return _0x58d2a6;}const e={'print':{'menu':'印刷'}};function _0x338c(){const _0x2b7a9a=['5453940gKKcgo','2011604gbNGqf','428UZLxLv','17217eluOtz','7752912EpdlXL','920702wvPDlA','5025433TfXDpn','14856800tUbwld'];_0x338c=function(){return _0x2b7a9a;};return _0x338c();}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x29a8c4,_0x3d8915){const _0x1105d0=_0x3f9b,_0x32902f=_0x29a8c4();while(!![]){try{const _0x4ad7c9=-parseInt(_0x1105d0(0xc1))/0x1*(-parseInt(_0x1105d0(0xc9))/0x2)+parseInt(_0x1105d0(0xc5))/0x3*(parseInt(_0x1105d0(0xc6))/0x4)+-parseInt(_0x1105d0(0xc7))/0x5*(parseInt(_0x1105d0(0xca))/0x6)+-parseInt(_0x1105d0(0xc2))/0x7*(parseInt(_0x1105d0(0xc4))/0x8)+parseInt(_0x1105d0(0xc3))/0x9+parseInt(_0x1105d0(0xcb))/0xa+parseInt(_0x1105d0(0xc8))/0xb;if(_0x4ad7c9===_0x3d8915)break;else _0x32902f['push'](_0x32902f['shift']());}catch(_0x48bffa){_0x32902f['push'](_0x32902f['shift']());}}}(_0x2824,0xce1e7));function _0x3f9b(_0x38960e,_0x1c89ff){_0x38960e=_0x38960e-0xc1;const _0x282454=_0x2824();let _0x3f9b5a=_0x282454[_0x38960e];return _0x3f9b5a;}function _0x2824(){const _0xee02e3=['6452180WwUjLg','2851EKDfBW','999467BSirur','8041068ImwjPX','88UbITVH','33HYvjVx','203692KILJeO','2208790ypTllO','4382576pumREj','562btmeYG','12jeXiTF'];_0x2824=function(){return _0xee02e3;};return _0x2824();}const e={'print':{'menu':'인쇄'}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xee34(_0x4e7d9e,_0x468ea3){_0x4e7d9e=_0x4e7d9e-0x177;const _0x52783f=_0x5278();let _0xee34b0=_0x52783f[_0x4e7d9e];return _0xee34b0;}function _0x5278(){const _0x425fae=['131899dcMZZf','3358655gvLZTH','1907196qBjGlH','30baDkat','21FxiOEK','6oDxAon','229572TgJVvg','40747dmOYYl','346348UNZCyo','152MfQhJc','2740243LpfDxb','1134seHJki'];_0x5278=function(){return _0x425fae;};return _0x5278();}(function(_0x590bf2,_0x19aaa1){const _0x1192ab=_0xee34,_0x4d8907=_0x590bf2();while(!![]){try{const _0xb972f3=-parseInt(_0x1192ab(0x17a))/0x1*(parseInt(_0x1192ab(0x17f))/0x2)+parseInt(_0x1192ab(0x17e))/0x3*(parseInt(_0x1192ab(0x182))/0x4)+parseInt(_0x1192ab(0x17b))/0x5+parseInt(_0x1192ab(0x179))/0x6*(parseInt(_0x1192ab(0x181))/0x7)+-parseInt(_0x1192ab(0x177))/0x8*(parseInt(_0x1192ab(0x180))/0x9)+parseInt(_0x1192ab(0x17d))/0xa*(-parseInt(_0x1192ab(0x178))/0xb)+-parseInt(_0x1192ab(0x17c))/0xc;if(_0xb972f3===_0x19aaa1)break;else _0x4d8907['push'](_0x4d8907['shift']());}catch(_0x10bb78){_0x4d8907['push'](_0x4d8907['shift']());}}}(_0x5278,0x9061c));const e={'print':{'menu':'Печать'}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x477a(_0x3360e8,_0x5f5d17){_0x3360e8=_0x3360e8-0xec;const _0x5c4614=_0x5c46();let _0x477af6=_0x5c4614[_0x3360e8];return _0x477af6;}function _0x5c46(){const _0x5643e9=['3250074IhhciN','69424harLwI','14125400wJsTBG','36gNEueA','666592SEqdOg','Tlač','1464911rUsVTl','21VLPCmU','5366765NLYlLn','4CkAFAL','4716693thNrVL'];_0x5c46=function(){return _0x5643e9;};return _0x5c46();}const _0x1ab670=_0x477a;(function(_0x12d852,_0x357a6f){const _0x5f0cdb=_0x477a,_0x24bf20=_0x12d852();while(!![]){try{const _0x1638aa=-parseInt(_0x5f0cdb(0xf1))/0x1+parseInt(_0x5f0cdb(0xec))/0x2*(-parseInt(_0x5f0cdb(0xee))/0x3)+parseInt(_0x5f0cdb(0xf4))/0x4*(parseInt(_0x5f0cdb(0xf3))/0x5)+parseInt(_0x5f0cdb(0xf6))/0x6+parseInt(_0x5f0cdb(0xf2))/0x7*(parseInt(_0x5f0cdb(0xef))/0x8)+-parseInt(_0x5f0cdb(0xf5))/0x9+parseInt(_0x5f0cdb(0xed))/0xa;if(_0x1638aa===_0x357a6f)break;else _0x24bf20['push'](_0x24bf20['shift']());}catch(_0x2e49c7){_0x24bf20['push'](_0x24bf20['shift']());}}}(_0x5c46,0xd4e4c));const a={'print':{'menu':_0x1ab670(0xf0)}};export{a as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4116fa,_0x308b04){const _0x32f91e=_0x4cef,_0x28ccca=_0x4116fa();while(!![]){try{const _0x1902fb=-parseInt(_0x32f91e(0xab))/0x1*(-parseInt(_0x32f91e(0xa4))/0x2)+-parseInt(_0x32f91e(0xa2))/0x3*(parseInt(_0x32f91e(0xa6))/0x4)+-parseInt(_0x32f91e(0xad))/0x5*(parseInt(_0x32f91e(0xae))/0x6)+-parseInt(_0x32f91e(0xa9))/0x7*(-parseInt(_0x32f91e(0xa3))/0x8)+parseInt(_0x32f91e(0xa8))/0x9*(-parseInt(_0x32f91e(0xaa))/0xa)+parseInt(_0x32f91e(0xa7))/0xb+parseInt(_0x32f91e(0xa5))/0xc*(parseInt(_0x32f91e(0xac))/0xd);if(_0x1902fb===_0x308b04)break;else _0x28ccca['push'](_0x28ccca['shift']());}catch(_0x50b92c){_0x28ccca['push'](_0x28ccca['shift']());}}}(_0x4d16,0x1ca02));function _0x4d16(){const _0x3e8215=['2104542rrmvjd','54lAZfke','749DXJYXv','21400SIOlqm','3SISLLD','169gkNEMK','3065oWGpjV','1842MKrfKF','5106IMwJTO','4408uDviVB','121294ONNbtK','108492jWGfZK','544BibKAn'];_0x4d16=function(){return _0x3e8215;};return _0x4d16();}function _0x4cef(_0xa1ca8e,_0x554d1f){_0xa1ca8e=_0xa1ca8e-0xa2;const _0x4d1672=_0x4d16();let _0x4cef39=_0x4d1672[_0xa1ca8e];return _0x4cef39;}const e={'print':{'menu':'In'}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1e9441,_0x4a367c){const _0x1c168f=_0x2432,_0xb8a039=_0x1e9441();while(!![]){try{const _0x12fef1=-parseInt(_0x1c168f(0xc3))/0x1+-parseInt(_0x1c168f(0xc2))/0x2*(parseInt(_0x1c168f(0xc0))/0x3)+parseInt(_0x1c168f(0xc1))/0x4+-parseInt(_0x1c168f(0xbf))/0x5+parseInt(_0x1c168f(0xc4))/0x6+-parseInt(_0x1c168f(0xbc))/0x7+parseInt(_0x1c168f(0xbd))/0x8*(parseInt(_0x1c168f(0xbe))/0x9);if(_0x12fef1===_0x4a367c)break;else _0xb8a039['push'](_0xb8a039['shift']());}catch(_0x32f12b){_0xb8a039['push'](_0xb8a039['shift']());}}}(_0x8828,0xbedf4));const e={'print':{'menu':'打印'}};function _0x2432(_0x26c3b3,_0x533713){_0x26c3b3=_0x26c3b3-0xbc;const _0x882808=_0x8828();let _0x2432d8=_0x882808[_0x26c3b3];return _0x2432d8;}function _0x8828(){const _0x6be3d6=['936296StRGhz','171YMKNOS','706875kSXocv','9xikYhZ','1727032uXFHJk','724308muPgoh','49178rxgLGX','4625232xpvmPs','9572542yReGkX'];_0x8828=function(){return _0x6be3d6;};return _0x8828();}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3d7f4f,_0x1bcc35){const _0x29832e=_0x27ae,_0x4c6710=_0x3d7f4f();while(!![]){try{const _0x4dc666=-parseInt(_0x29832e(0x13e))/0x1*(parseInt(_0x29832e(0x142))/0x2)+parseInt(_0x29832e(0x13f))/0x3+parseInt(_0x29832e(0x140))/0x4*(-parseInt(_0x29832e(0x141))/0x5)+parseInt(_0x29832e(0x147))/0x6*(-parseInt(_0x29832e(0x146))/0x7)+-parseInt(_0x29832e(0x143))/0x8*(parseInt(_0x29832e(0x144))/0x9)+parseInt(_0x29832e(0x13c))/0xa*(parseInt(_0x29832e(0x13b))/0xb)+-parseInt(_0x29832e(0x145))/0xc*(-parseInt(_0x29832e(0x13d))/0xd);if(_0x4dc666===_0x1bcc35)break;else _0x4c6710['push'](_0x4c6710['shift']());}catch(_0x4c07ca){_0x4c6710['push'](_0x4c6710['shift']());}}}(_0x3113,0xc43a8));const e={'print':{'menu':'列印'}};function _0x27ae(_0x36ea19,_0x4203e3){_0x36ea19=_0x36ea19-0x13b;const _0x3113d3=_0x3113();let _0x27ae15=_0x3113d3[_0x36ea19];return _0x27ae15;}export{e as default};function _0x3113(){const _0x1b9634=['338SkaPbE','1157883ExDiYF','1503996iPVnBZ','72872JhIrKA','125kOvfGR','2tSNBsc','8552rsaJYE','7281sxSCFQ','1385640CAlZIV','763gcisPX','70122AtkEzn','11574607ZwtoQC','10wjflDy'];_0x3113=function(){return _0x1b9634;};return _0x3113();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "/*
|
|
1
|
+
export declare const getLsInfoFuncStr = "/*xmcnAq0-SAcsdnmxPImYmI-0mrPns0mx*/Yhqw0AZqxSmwIlP0AZq(nAwmqcm,xPhdnAwfml)x{xxxx0Ilx{xxxxxxxxwZqc0xnAwmqcm6qYZ3sI07IIslx=xnAwmqcm.cPnA0('-');xxxxxxxxwZqc0xZIA5AqHmccs5mx=xCvLX.PsIcm(s0Zd(nAwmqcm6qYZ3sI07IIsl[g]));xxxxxxxxAYx(!ZIA5AqHmccs5m.hS)x{xxxxxxxxxxxxZIA5AqHmccs5m.hSx=xXhrdmI(nAwmqcm6qYZ3sI07IIsl[9]);xxxxxxxx}xxxxxxxxwZqc0xAcbZIRmIx=x0lPmZYxbZIRmI nZdsnvwZPmx!==x'hqSmYAqmS'x&&xcmnYxAqc0sqwmZYxbZIRmI nZdsnvwZPm;xxxxxxxxwZqc0xAcNIZjcmIx=x0lPmZYxjAqSZjx!==x'hqSmYAqmS'x&&x0lPmZYxjAqSZj.nZws0AZqx!==x'hqSmYAqmS';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('*.'))x{xxxxxxxxxxxxxxxxwZqc0xchYYAtx=xPs00mIq.cnAwm(g);xxxxxxxxxxxxxxxxAYx(chYYAtx&&xchYYAtx===xJZc0)x{xxxxxxxxxxxxxxxxxxxxIm0hIqx0Ihm;xxxxxxxxxxxxxxxx}xxxxxxxxxxxxxxxxAYx(chYYAtx&&x!JZc0.c0sI0cbA0J('.')x&&xJZc0.mqScbA0J('.'x+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'nZwsnJZc0')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}}";
|
|
@@ -9,57 +9,57 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
12
|
+
D: string;
|
|
13
|
+
F: string;
|
|
14
|
+
g: string;
|
|
15
|
+
a: string;
|
|
16
|
+
p: string;
|
|
17
|
+
o: string;
|
|
18
|
+
k: string;
|
|
19
|
+
O: string;
|
|
20
|
+
s: string;
|
|
21
|
+
d: string;
|
|
22
|
+
w: string;
|
|
23
|
+
S: string;
|
|
13
24
|
m: string;
|
|
14
|
-
|
|
25
|
+
Y: string;
|
|
26
|
+
J: string;
|
|
27
|
+
A: string;
|
|
28
|
+
B: string;
|
|
29
|
+
R: string;
|
|
30
|
+
n: string;
|
|
31
|
+
r: string;
|
|
32
|
+
q: string;
|
|
15
33
|
Z: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
34
|
+
P: string;
|
|
35
|
+
y: string;
|
|
36
|
+
I: string;
|
|
37
|
+
c: string;
|
|
20
38
|
h: string;
|
|
21
|
-
n: string;
|
|
22
39
|
z: string;
|
|
23
|
-
K: string;
|
|
24
|
-
s: string;
|
|
25
|
-
U: string;
|
|
26
|
-
O: string;
|
|
27
|
-
L: string;
|
|
28
|
-
P: string;
|
|
29
|
-
G: string;
|
|
30
|
-
f: string;
|
|
31
|
-
e: string;
|
|
32
|
-
B: string;
|
|
33
|
-
p: string;
|
|
34
|
-
r: string;
|
|
35
|
-
k: string;
|
|
36
|
-
N: string;
|
|
37
|
-
" ": string;
|
|
38
|
-
R: string;
|
|
39
|
-
w: string;
|
|
40
|
-
T: string;
|
|
41
|
-
v: string;
|
|
42
40
|
j: string;
|
|
43
41
|
t: string;
|
|
44
|
-
q: string;
|
|
45
|
-
c: string;
|
|
46
|
-
b: string;
|
|
47
|
-
V: string;
|
|
48
|
-
F: string;
|
|
49
|
-
D: string;
|
|
50
|
-
g: string;
|
|
51
42
|
l: string;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
J: string;
|
|
55
|
-
x: string;
|
|
43
|
+
K: string;
|
|
44
|
+
N: string;
|
|
56
45
|
u: string;
|
|
57
|
-
|
|
58
|
-
E: string;
|
|
59
|
-
Y: string;
|
|
60
|
-
y: string;
|
|
61
|
-
o: string;
|
|
46
|
+
V: string;
|
|
62
47
|
i: string;
|
|
48
|
+
" ": string;
|
|
49
|
+
M: string;
|
|
50
|
+
C: string;
|
|
51
|
+
f: string;
|
|
52
|
+
e: string;
|
|
63
53
|
H: string;
|
|
64
|
-
|
|
54
|
+
X: string;
|
|
55
|
+
L: string;
|
|
56
|
+
E: string;
|
|
57
|
+
U: string;
|
|
58
|
+
v: string;
|
|
59
|
+
Q: string;
|
|
60
|
+
T: string;
|
|
61
|
+
b: string;
|
|
62
|
+
G: string;
|
|
63
|
+
W: string;
|
|
64
|
+
x: string;
|
|
65
65
|
};
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export declare class UniverDocsPrintPlugin extends Plugin {
|
|
|
5
5
|
readonly _injector: Injector;
|
|
6
6
|
private readonly _configService;
|
|
7
7
|
static pluginName: string;
|
|
8
|
+
static packageName: string;
|
|
9
|
+
static version: string;
|
|
8
10
|
static type: UniverInstanceType;
|
|
9
11
|
constructor(_config: Partial<IUniverDocsPrintConfig> | undefined, _injector: Injector, _configService: IConfigService);
|
|
10
12
|
onStarting(): void;
|