@univerjs-pro/print 0.4.1 → 0.4.2-nightly.202410301606
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/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -11
- package/lib/cjs/index.js +0 -1
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x18ad9a=_0x474d;(function(_0x77bbdb,_0x89ed57){const _0x106f84=_0x474d,_0x26890f=_0x77bbdb();while(!![]){try{const _0x59c49f=-parseInt(_0x106f84(0x185))/0x1+parseInt(_0x106f84(0x190))/0x2*(-parseInt(_0x106f84(0x17b))/0x3)+-parseInt(_0x106f84(0x18c))/0x4*(parseInt(_0x106f84(0x170))/0x5)+-parseInt(_0x106f84(0x182))/0x6*(parseInt(_0x106f84(0x16f))/0x7)+-parseInt(_0x106f84(0x189))/0x8+-parseInt(_0x106f84(0x181))/0x9*(-parseInt(_0x106f84(0x16e))/0xa)+parseInt(_0x106f84(0x18a))/0xb;if(_0x59c49f===_0x89ed57)break;else _0x26890f['push'](_0x26890f['shift']());}catch(_0x4f6a5d){_0x26890f['push'](_0x26890f['shift']());}}}(_0x1dc0,0x79212));var o=(_0x19901b=>(_0x19901b['Letter']=_0x18ad9a(0x188),_0x19901b[_0x18ad9a(0x193)]=_0x18ad9a(0x193),_0x19901b['Legal']='Legal',_0x19901b[_0x18ad9a(0x183)]=_0x18ad9a(0x183),_0x19901b[_0x18ad9a(0x186)]=_0x18ad9a(0x186),_0x19901b[_0x18ad9a(0x18e)]='Folio',_0x19901b['A3']='A3',_0x19901b['A4']='A4',_0x19901b['A5']='A5',_0x19901b['B4']='B4',_0x19901b['B5']='B5',_0x19901b))(o||{}),i=(_0xe9afd6=>(_0xe9afd6[_0x18ad9a(0x18d)]='Portrait',_0xe9afd6['Landscape']='Landscape',_0xe9afd6))(i||{}),w=(_0x1945f2=>(_0x1945f2[_0x18ad9a(0x17a)]='Origin',_0x1945f2[_0x18ad9a(0x17c)]=_0x18ad9a(0x17c),_0x1945f2['FitHeight']=_0x18ad9a(0x178),_0x1945f2['FitPage']=_0x18ad9a(0x192),_0x1945f2[_0x18ad9a(0x174)]=_0x18ad9a(0x174),_0x1945f2))(w||{}),m=(_0x5f100b=>(_0x5f100b[_0x18ad9a(0x17e)]=_0x18ad9a(0x17e),_0x5f100b[_0x18ad9a(0x17f)]=_0x18ad9a(0x17f),_0x5f100b[_0x18ad9a(0x187)]='Middle',_0x5f100b))(m||{}),e=(_0xc503e6=>(_0xc503e6[_0x18ad9a(0x18b)]=_0x18ad9a(0x18b),_0xc503e6[_0x18ad9a(0x18f)]=_0x18ad9a(0x18f),_0xc503e6[_0x18ad9a(0x171)]='Wide',_0xc503e6[_0x18ad9a(0x17d)]=_0x18ad9a(0x17d),_0xc503e6))(e||{});function _0x1dc0(){const _0x3ea508=['38180417qQvkuN','Normal','98144RDMKun','Portrait','Folio','Narrow','2fLuyqe',',\x20.','FitPage','Tabloid','1300mWXItm','7zQrnrm','195gJLcSN','Wide','px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','printing-canvas','Custom','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','style','FitHeight','\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','Origin','2178567hMOvva','FitWidth','None','Start','End','className','17019zPzlPP','1441632hQqYuj','Statement','createElement','464073QlMLUp','Executive','Middle','Letter','6665544PXibOB'];_0x1dc0=function(){return _0x3ea508;};return _0x1dc0();}const g={[o['A3']]:{'w':0x463,'h':0x633},[o['A4']]:{'w':0x31a,'h':0x464},[o['A5']]:{'w':0x22f,'h':0x31a},[o['B4']]:{'w':0x3b0,'h':0x540},[o['B5']]:{'w':0x299,'h':0x3b0},[o[_0x18ad9a(0x186)]]:{'w':0x2b8,'h':0x3f0},[o[_0x18ad9a(0x18e)]]:{'w':0x330,'h':0x4e0},[o['Legal']]:{'w':0x330,'h':0x540},[o['Letter']]:{'w':0x330,'h':0x420},[o[_0x18ad9a(0x183)]]:{'w':0x210,'h':0x330},[o[_0x18ad9a(0x193)]]:{'w':0x420,'h':0x660}},v={[e['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x18ad9a(0x18f)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x18ad9a(0x171)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l='printing-canvas-container',p=_0x18ad9a(0x173);function _0x474d(_0x235b24,_0x4be083){const _0x1dc0f2=_0x1dc0();return _0x474d=function(_0x474d14,_0x2d8c82){_0x474d14=_0x474d14-0x16e;let _0x215c7e=_0x1dc0f2[_0x474d14];return _0x215c7e;},_0x474d(_0x235b24,_0x4be083);}function N(_0x40dbde,_0x3aa0a6){const _0x404151=_0x18ad9a,{w:_0x1fd1fa,h:_0x303200}=g[_0x40dbde],_0x9c9e19=_0x3aa0a6===i['Portrait']?_0x1fd1fa:_0x303200,_0x186acd=_0x3aa0a6===i[_0x404151(0x18d)]?_0x303200:_0x1fd1fa,_0x3b4572=_0x404151(0x179)+_0x9c9e19+'px\x20'+_0x186acd+_0x404151(0x172)+l+_0x404151(0x191)+l+'\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.'+p+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x186acd+_0x404151(0x175)+_0x9c9e19+_0x404151(0x176),_0x226814=document[_0x404151(0x184)](_0x404151(0x177));return _0x226814['innerHTML']=_0x3b4572,_0x226814[_0x404151(0x180)]='offline-printing-css',_0x226814;}export{p as PRINT_CANVAS_CLASS,l as PRINT_CONTAINER_CLASS,v as PaperMarginMap,g as PaperSizePxMap,m as PrintAlign,i as PrintDirection,e as PrintPaperMargin,o as PrintPaperSize,w as PrintScale,N as createPrintStyle};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xeb9cde,_0x206021){const _0x17e172=_0x2d2b,_0x456681=_0xeb9cde();while(!![]){try{const _0x26e0bf=parseInt(_0x17e172(0xa5))/0x1+-parseInt(_0x17e172(0x76))/0x2*(parseInt(_0x17e172(0x7a))/0x3)+-parseInt(_0x17e172(0x81))/0x4+parseInt(_0x17e172(0x89))/0x5+-parseInt(_0x17e172(0xa9))/0x6+parseInt(_0x17e172(0xaa))/0x7*(parseInt(_0x17e172(0x75))/0x8)+-parseInt(_0x17e172(0x7f))/0x9*(-parseInt(_0x17e172(0x98))/0xa);if(_0x26e0bf===_0x206021)break;else _0x456681['push'](_0x456681['shift']());}catch(_0x729e1c){_0x456681['push'](_0x456681['shift']());}}}(_0x4f00,0xdf67b),function(_0x3f033b,_0x4f6092){const _0x4b7fad=_0x2d2b;typeof exports=='object'&&typeof module<'u'?_0x4f6092(exports):typeof define==_0x4b7fad(0x7c)&&define[_0x4b7fad(0x7b)]?define(['exports'],_0x4f6092):(_0x3f033b=typeof globalThis<'u'?globalThis:_0x3f033b||self,_0x4f6092(_0x3f033b[_0x4b7fad(0x7d)]={}));}(this,function(_0x215a09){'use strict';const _0x132cac=_0x2d2b;var _0x41f2de=(_0xd6d142=>(_0xd6d142[_0x132cac(0x96)]=_0x132cac(0x96),_0xd6d142[_0x132cac(0x8b)]='Tabloid',_0xd6d142[_0x132cac(0x9f)]=_0x132cac(0x9f),_0xd6d142[_0x132cac(0x93)]='Statement',_0xd6d142[_0x132cac(0xa4)]=_0x132cac(0xa4),_0xd6d142[_0x132cac(0x8f)]=_0x132cac(0x8f),_0xd6d142['A3']='A3',_0xd6d142['A4']='A4',_0xd6d142['A5']='A5',_0xd6d142['B4']='B4',_0xd6d142['B5']='B5',_0xd6d142))(_0x41f2de||{}),_0x38e73e=(_0x24a46e=>(_0x24a46e[_0x132cac(0xa1)]=_0x132cac(0xa1),_0x24a46e[_0x132cac(0x90)]='Landscape',_0x24a46e))(_0x38e73e||{}),_0x785ec3=(_0x27e6ab=>(_0x27e6ab[_0x132cac(0x97)]=_0x132cac(0x97),_0x27e6ab['FitWidth']=_0x132cac(0x8e),_0x27e6ab['FitHeight']='FitHeight',_0x27e6ab['FitPage']=_0x132cac(0x82),_0x27e6ab[_0x132cac(0x8c)]=_0x132cac(0x8c),_0x27e6ab))(_0x785ec3||{}),_0x2b6379=(_0x27a991=>(_0x27a991[_0x132cac(0x86)]=_0x132cac(0x86),_0x27a991[_0x132cac(0x85)]=_0x132cac(0x85),_0x27a991[_0x132cac(0x74)]=_0x132cac(0x74),_0x27a991))(_0x2b6379||{}),_0x4eec76=(_0x37b176=>(_0x37b176[_0x132cac(0x9a)]=_0x132cac(0x9a),_0x37b176[_0x132cac(0xa6)]=_0x132cac(0xa6),_0x37b176[_0x132cac(0xa0)]=_0x132cac(0xa0),_0x37b176[_0x132cac(0x88)]=_0x132cac(0x88),_0x37b176))(_0x4eec76||{});const _0x5c2035={[_0x41f2de['A3']]:{'w':0x463,'h':0x633},[_0x41f2de['A4']]:{'w':0x31a,'h':0x464},[_0x41f2de['A5']]:{'w':0x22f,'h':0x31a},[_0x41f2de['B4']]:{'w':0x3b0,'h':0x540},[_0x41f2de['B5']]:{'w':0x299,'h':0x3b0},[_0x41f2de[_0x132cac(0xa4)]]:{'w':0x2b8,'h':0x3f0},[_0x41f2de[_0x132cac(0x8f)]]:{'w':0x330,'h':0x4e0},[_0x41f2de[_0x132cac(0x9f)]]:{'w':0x330,'h':0x540},[_0x41f2de[_0x132cac(0x96)]]:{'w':0x330,'h':0x420},[_0x41f2de[_0x132cac(0x93)]]:{'w':0x210,'h':0x330},[_0x41f2de[_0x132cac(0x8b)]]:{'w':0x420,'h':0x660}},_0x1a674e={[_0x4eec76[_0x132cac(0x9a)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x4eec76[_0x132cac(0xa6)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x4eec76[_0x132cac(0xa0)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x4eec76['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x4b842b=_0x132cac(0x91),_0x3edd59=_0x132cac(0x9c);function _0x4526f1(_0x13733a,_0xa91494){const _0x2a8792=_0x132cac,{w:_0x5c1f8c,h:_0x292bfc}=_0x5c2035[_0x13733a],_0x14d8a2=_0xa91494===_0x38e73e['Portrait']?_0x5c1f8c:_0x292bfc,_0x40a33c=_0xa91494===_0x38e73e[_0x2a8792(0xa1)]?_0x292bfc:_0x5c1f8c,_0x463de5=_0x2a8792(0xa8)+_0x14d8a2+_0x2a8792(0x92)+_0x40a33c+_0x2a8792(0x9e)+_0x4b842b+_0x2a8792(0x8d)+_0x4b842b+'\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.'+_0x3edd59+_0x2a8792(0x80)+_0x40a33c+_0x2a8792(0x99)+_0x14d8a2+_0x2a8792(0x78),_0x5844f1=document[_0x2a8792(0x9d)](_0x2a8792(0x83));return _0x5844f1[_0x2a8792(0xab)]=_0x463de5,_0x5844f1['className']=_0x2a8792(0xa2),_0x5844f1;}_0x215a09[_0x132cac(0xa3)]=_0x3edd59,_0x215a09[_0x132cac(0x7e)]=_0x4b842b,_0x215a09[_0x132cac(0x94)]=_0x1a674e,_0x215a09[_0x132cac(0x8a)]=_0x5c2035,_0x215a09[_0x132cac(0x79)]=_0x2b6379,_0x215a09[_0x132cac(0xa7)]=_0x38e73e,_0x215a09[_0x132cac(0x84)]=_0x4eec76,_0x215a09['PrintPaperSize']=_0x41f2de,_0x215a09[_0x132cac(0x95)]=_0x785ec3,_0x215a09[_0x132cac(0x77)]=_0x4526f1,Object[_0x132cac(0x9b)](_0x215a09,Symbol['toStringTag'],{'value':_0x132cac(0x87)});}));function _0x2d2b(_0x120d94,_0x11f0d5){const _0x4f0043=_0x4f00();return _0x2d2b=function(_0x2d2ba6,_0xe44121){_0x2d2ba6=_0x2d2ba6-0x74;let _0x2221f8=_0x4f0043[_0x2d2ba6];return _0x2221f8;},_0x2d2b(_0x120d94,_0x11f0d5);}function _0x4f00(){const _0x18cfb9=['7718004ExgNCX','133khoxEu','innerHTML','Middle','211880IiPlIt','880510gignhh','createPrintStyle','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','PrintAlign','3ZXhLtI','amd','function','UniverPrint','PRINT_CONTAINER_CLASS','4185711mtRGYb','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','5354744LfEFnO','FitPage','style','PrintPaperMargin','End','Start','Module','None','1442015JqKUYG','PaperSizePxMap','Tabloid','Custom',',\x20.','FitWidth','Folio','Landscape','printing-canvas-container','px\x20','Statement','PaperMarginMap','PrintScale','Letter','Origin','30TbEzAD','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Normal','defineProperty','printing-canvas','createElement','px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','Legal','Wide','Portrait','offline-printing-css','PRINT_CANVAS_CLASS','Executive','1793487yQyCiF','Narrow','PrintDirection','\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20'];_0x4f00=function(){return _0x18cfb9;};return _0x4f00();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2-nightly.202410301606",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Print module for UniverJS",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -20,18 +20,15 @@
|
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
22
|
"import": "./lib/es/index.js",
|
|
23
|
-
"require": "./lib/cjs/index.js",
|
|
24
23
|
"types": "./lib/types/index.d.ts"
|
|
25
24
|
},
|
|
26
25
|
"./*": {
|
|
27
26
|
"import": "./lib/es/*",
|
|
28
|
-
"require": "./lib/cjs/*",
|
|
29
27
|
"types": "./lib/types/index.d.ts"
|
|
30
28
|
},
|
|
31
29
|
"./lib/*": "./lib/*"
|
|
32
30
|
},
|
|
33
|
-
"main": "./lib/
|
|
34
|
-
"module": "./lib/es/index.js",
|
|
31
|
+
"main": "./lib/es/index.js",
|
|
35
32
|
"types": "./lib/types/index.d.ts",
|
|
36
33
|
"publishConfig": {
|
|
37
34
|
"access": "public"
|
|
@@ -44,19 +41,17 @@
|
|
|
44
41
|
],
|
|
45
42
|
"devDependencies": {
|
|
46
43
|
"typescript": "5.6.3",
|
|
47
|
-
"vite": "^5.4.
|
|
48
|
-
"vitest": "^2.1.
|
|
49
|
-
"@univerjs-infra/shared": "0.4.
|
|
44
|
+
"vite": "^5.4.10",
|
|
45
|
+
"vitest": "^2.1.4",
|
|
46
|
+
"@univerjs-infra/shared": "0.4.2"
|
|
50
47
|
},
|
|
51
48
|
"univerSpace": {
|
|
52
49
|
".": {
|
|
53
50
|
"import": "./lib/es/index.js",
|
|
54
|
-
"require": "./lib/cjs/index.js",
|
|
55
51
|
"types": "./lib/types/index.d.ts"
|
|
56
52
|
},
|
|
57
53
|
"./*": {
|
|
58
54
|
"import": "./lib/es/*",
|
|
59
|
-
"require": "./lib/cjs/*",
|
|
60
55
|
"types": "./lib/types/index.d.ts"
|
|
61
56
|
},
|
|
62
57
|
"./lib/*": "./lib/*"
|
|
@@ -67,5 +62,6 @@
|
|
|
67
62
|
"coverage": "vitest run --coverage",
|
|
68
63
|
"lint:types": "tsc --noEmit",
|
|
69
64
|
"build": "tsc && vite build"
|
|
70
|
-
}
|
|
65
|
+
},
|
|
66
|
+
"module": "./lib/es/index.js"
|
|
71
67
|
}
|
package/lib/cjs/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';function _0x1cbc(_0x4dcef8,_0x1142cf){const _0x5949ec=_0x5949();return _0x1cbc=function(_0x1cbc52,_0x484272){_0x1cbc52=_0x1cbc52-0x1c9;let _0x14a994=_0x5949ec[_0x1cbc52];return _0x14a994;},_0x1cbc(_0x4dcef8,_0x1142cf);}const _0x208f74=_0x1cbc;function _0x5949(){const _0x468fd0=['Middle','Executive','px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','PrintPaperMargin','PaperMarginMap','Narrow','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','End','Folio','1779070MRHiPj','342908lZvjUx','createElement','PRINT_CANVAS_CLASS','innerHTML','2818624qeXppQ','Legal','Start','FitWidth','None','FitHeight','Origin','PrintScale','766606TfIaHm','825555XKHuRK','createPrintStyle','FitPage','Portrait','Custom','Tabloid','Letter','Wide','3615120xLONrO','11122685aidemC','className','style','Normal','\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','px\x20','Statement','Landscape','PrintPaperSize','PrintDirection','printing-canvas-container','printing-canvas'];_0x5949=function(){return _0x468fd0;};return _0x5949();}(function(_0xb7f361,_0x39ebfc){const _0x553aea=_0x1cbc,_0x39ded0=_0xb7f361();while(!![]){try{const _0x5eeb60=parseInt(_0x553aea(0x1f6))/0x1+-parseInt(_0x553aea(0x1ea))/0x2+-parseInt(_0x553aea(0x1c9))/0x3+parseInt(_0x553aea(0x1ee))/0x4+parseInt(_0x553aea(0x1e9))/0x5+parseInt(_0x553aea(0x1d1))/0x6+-parseInt(_0x553aea(0x1d2))/0x7;if(_0x5eeb60===_0x39ebfc)break;else _0x39ded0['push'](_0x39ded0['shift']());}catch(_0x45ec5e){_0x39ded0['push'](_0x39ded0['shift']());}}}(_0x5949,0x60312));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});var e=(_0x50899a=>(_0x50899a['Letter']=_0x208f74(0x1cf),_0x50899a[_0x208f74(0x1ce)]=_0x208f74(0x1ce),_0x50899a[_0x208f74(0x1ef)]=_0x208f74(0x1ef),_0x50899a[_0x208f74(0x1d9)]=_0x208f74(0x1d9),_0x50899a[_0x208f74(0x1e0)]=_0x208f74(0x1e0),_0x50899a['Folio']='Folio',_0x50899a['A3']='A3',_0x50899a['A4']='A4',_0x50899a['A5']='A5',_0x50899a['B4']='B4',_0x50899a['B5']='B5',_0x50899a))(e||{}),i=(_0x5639eb=>(_0x5639eb[_0x208f74(0x1cc)]='Portrait',_0x5639eb[_0x208f74(0x1da)]='Landscape',_0x5639eb))(i||{}),c=(_0x1f44e6=>(_0x1f44e6[_0x208f74(0x1f4)]='Origin',_0x1f44e6['FitWidth']=_0x208f74(0x1f1),_0x1f44e6[_0x208f74(0x1f3)]='FitHeight',_0x1f44e6[_0x208f74(0x1cb)]='FitPage',_0x1f44e6[_0x208f74(0x1cd)]=_0x208f74(0x1cd),_0x1f44e6))(c||{}),g=(_0x65603a=>(_0x65603a[_0x208f74(0x1f0)]=_0x208f74(0x1f0),_0x65603a[_0x208f74(0x1e7)]='End',_0x65603a['Middle']=_0x208f74(0x1df),_0x65603a))(g||{}),o=(_0x211fc5=>(_0x211fc5[_0x208f74(0x1d5)]=_0x208f74(0x1d5),_0x211fc5[_0x208f74(0x1e5)]=_0x208f74(0x1e5),_0x211fc5[_0x208f74(0x1d0)]=_0x208f74(0x1d0),_0x211fc5[_0x208f74(0x1f2)]='None',_0x211fc5))(o||{});const m={[e['A3']]:{'w':0x463,'h':0x633},[e['A4']]:{'w':0x31a,'h':0x464},[e['A5']]:{'w':0x22f,'h':0x31a},[e['B4']]:{'w':0x3b0,'h':0x540},[e['B5']]:{'w':0x299,'h':0x3b0},[e[_0x208f74(0x1e0)]]:{'w':0x2b8,'h':0x3f0},[e[_0x208f74(0x1e8)]]:{'w':0x330,'h':0x4e0},[e[_0x208f74(0x1ef)]]:{'w':0x330,'h':0x540},[e[_0x208f74(0x1cf)]]:{'w':0x330,'h':0x420},[e[_0x208f74(0x1d9)]]:{'w':0x210,'h':0x330},[e[_0x208f74(0x1ce)]]:{'w':0x420,'h':0x660}},N={[o[_0x208f74(0x1d5)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x208f74(0x1e5)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x208f74(0x1d0)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o[_0x208f74(0x1f2)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x208f74(0x1dd),p=_0x208f74(0x1de);function A(_0x390d5c,_0x5b4c19){const _0x3f6849=_0x208f74,{w:_0x995ed7,h:_0x591dcd}=m[_0x390d5c],_0x4112e0=_0x5b4c19===i[_0x3f6849(0x1cc)]?_0x995ed7:_0x591dcd,_0x54f169=_0x5b4c19===i[_0x3f6849(0x1cc)]?_0x591dcd:_0x995ed7,_0x1a90f1=_0x3f6849(0x1d6)+_0x4112e0+_0x3f6849(0x1d8)+_0x54f169+_0x3f6849(0x1e1)+n+',\x20.'+n+_0x3f6849(0x1e2)+p+_0x3f6849(0x1d7)+_0x54f169+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x4112e0+_0x3f6849(0x1e6),_0x2813c6=document[_0x3f6849(0x1eb)](_0x3f6849(0x1d4));return _0x2813c6[_0x3f6849(0x1ed)]=_0x1a90f1,_0x2813c6[_0x3f6849(0x1d3)]='offline-printing-css',_0x2813c6;}exports[_0x208f74(0x1ec)]=p,exports['PRINT_CONTAINER_CLASS']=n,exports[_0x208f74(0x1e4)]=N,exports['PaperSizePxMap']=m,exports['PrintAlign']=g,exports[_0x208f74(0x1dc)]=i,exports[_0x208f74(0x1e3)]=o,exports[_0x208f74(0x1db)]=e,exports[_0x208f74(0x1f5)]=c,exports[_0x208f74(0x1ca)]=A;
|