@univerjs-pro/range-preprocess 0.15.0-insiders.20251227-453e4ff → 0.15.0-insiders.20260106-79b11f9
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5e2216=_0x1622;(function(_0x4ef421,_0x536b6d){const _0xf90688=_0x1622,_0x51e630=_0x4ef421();while(!![]){try{const _0x10caba=-parseInt(_0xf90688(0x1e2))/0x1+-parseInt(_0xf90688(0x1dd))/0x2+-parseInt(_0xf90688(0x1e6))/0x3*(parseInt(_0xf90688(0x1dc))/0x4)+-parseInt(_0xf90688(0x1db))/0x5+-parseInt(_0xf90688(0x1e5))/0x6+-parseInt(_0xf90688(0x1df))/0x7*(parseInt(_0xf90688(0x1de))/0x8)+parseInt(_0xf90688(0x1e7))/0x9;if(_0x10caba===_0x536b6d)break;else _0x51e630['push'](_0x51e630['shift']());}catch(_0x4b10ec){_0x51e630['push'](_0x51e630['shift']());}}}(_0x5c44,0x66a6c));function _0x5c44(){const _0x4bdd52=['extend','_workbook','get','1193285cwFEir','88lztkDO','258224USZQtq','256976VmNyLG','147bDgexb','getAllTableJson','_injector','289292oAtFPM','FWorkbook','getPreprocessRanges','4708920TfvEIa','62364EGnuBO','26948151pQfSHL','RangePreprocessController'];_0x5c44=function(){return _0x4bdd52;};return _0x5c44();}const o=require('@univerjs-pro/range-preprocess'),e=require('@univerjs/sheets/facade');class s extends e[_0x5e2216(0x1e3)]{[_0x5e2216(0x1e4)](_0x2567a0){const _0x229307=_0x5e2216;return this[_0x229307(0x1e1)][_0x229307(0x1da)](o[_0x229307(0x1e8)])[_0x229307(0x1e0)](this[_0x229307(0x1d9)],_0x2567a0);}}function _0x1622(_0x193469,_0x42ba03){_0x193469=_0x193469-0x1d8;const _0x5c449=_0x5c44();let _0x1622a0=_0x5c449[_0x193469];return _0x1622a0;}e[_0x5e2216(0x1e3)][_0x5e2216(0x1d8)](s);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x14ec9e=_0x144c;(function(_0x284e72,_0xe8f8b8){const _0x5a1dd4=_0x144c,_0x3b7a9f=_0x284e72();while(!![]){try{const _0x370c4d=parseInt(_0x5a1dd4(0x148))/0x1*(-parseInt(_0x5a1dd4(0xba))/0x2)+-parseInt(_0x5a1dd4(0xf7))/0x3*(parseInt(_0x5a1dd4(0x14a))/0x4)+-parseInt(_0x5a1dd4(0x129))/0x5+parseInt(_0x5a1dd4(0xc7))/0x6+parseInt(_0x5a1dd4(0xc0))/0x7+-parseInt(_0x5a1dd4(0x130))/0x8+parseInt(_0x5a1dd4(0x10e))/0x9;if(_0x370c4d===_0xe8f8b8)break;else _0x3b7a9f['push'](_0x3b7a9f['shift']());}catch(_0x2ac55a){_0x3b7a9f['push'](_0x3b7a9f['shift']());}}}(_0x52dd,0x51e6d));var Ce=Object['defineProperty'],ge=(_0x4811dc,_0x3b9a65,_0x45ba9b)=>_0x3b9a65 in _0x4811dc?Ce(_0x4811dc,_0x3b9a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45ba9b}):_0x4811dc[_0x3b9a65]=_0x45ba9b,p=(_0x4429a1,_0x4eb1f1,_0x1a1de6)=>ge(_0x4429a1,typeof _0x4eb1f1!=_0x14ec9e(0x115)?_0x4eb1f1+'':_0x4eb1f1,_0x1a1de6);Object['defineProperty'](exports,Symbol[_0x14ec9e(0x11d)],{'value':_0x14ec9e(0xbb)});const $=require('@univerjs/core');require('@univerjs/sheets-filter');const H=require('@univerjs/sheets-table');function oe(_0x475098){const _0x2408eb=_0x14ec9e;return _0x475098['v']==null?'':String(_0x475098['v'])[_0x2408eb(0x123)]();}function he(_0x3c6839){const _0x18b639=_0x14ec9e;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x18b639(0x14e)](_0x3c6839);}const Z=0x2,Q=0x1;function ue(_0x22afe5,_0x1efcac){const _0x56be75=_0x14ec9e,_0xcaeae5={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x1efcac];if(!_0xcaeae5||!_0xcaeae5['test'](_0x22afe5))return!0x1;const _0x36ae87=_0x22afe5[_0x56be75(0xfb)](/\D+/g,'\x20')[_0x56be75(0x123)]()[_0x56be75(0xf5)](/\s+/)['map'](Number);let _0x46fd37=0x0,_0x5b56a1=0x1,_0x37a088=0x1,_0x12efba=0x0,_0x56be39=0x0,_0x555af3=0x0;switch(_0x1efcac){case'2006-01-02':case _0x56be75(0x133):case'2006/01/02':case _0x56be75(0xe1):[_0x46fd37,_0x5b56a1,_0x37a088]=_0x36ae87;break;case _0x56be75(0x122):[_0x46fd37,_0x5b56a1,_0x37a088]=_0x36ae87;break;case'02-01-2006':case _0x56be75(0xbc):case'02.01.2006':[_0x37a088,_0x5b56a1,_0x46fd37]=_0x36ae87;break;case'01-02-2006':case _0x56be75(0xad):[_0x5b56a1,_0x37a088,_0x46fd37]=_0x36ae87;break;case _0x56be75(0x109):{const _0x5e6366=_0x22afe5;_0x46fd37=+_0x5e6366['slice'](0x0,0x4),_0x5b56a1=+_0x5e6366[_0x56be75(0xdc)](0x4,0x6),_0x37a088=+_0x5e6366[_0x56be75(0xdc)](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x56be75(0xfe):[_0x46fd37,_0x5b56a1,_0x37a088,_0x12efba,_0x56be39,_0x555af3]=_0x36ae87;break;default:return!0x0;}if(_0x5b56a1<0x1||_0x5b56a1>0xc||_0x37a088<0x1||_0x37a088>0x1f||_0x12efba<0x0||_0x12efba>0x17||_0x56be39<0x0||_0x56be39>0x3b||_0x555af3<0x0||_0x555af3>0x3b)return!0x1;const _0x252300=new Date(_0x46fd37,_0x5b56a1-0x1,_0x37a088,_0x12efba,_0x56be39,_0x555af3);return!(_0x252300[_0x56be75(0x114)]()!==_0x46fd37||_0x252300[_0x56be75(0x141)]()!==_0x5b56a1-0x1||_0x252300[_0x56be75(0xe9)]()!==_0x37a088);}function we(_0x47216a){const _0x63d7b5=_0x14ec9e;return Number[_0x63d7b5(0xef)](_0x47216a)&&_0x47216a>=0x1&&_0x47216a<=0x13880;}function pe(_0x442e20){const _0x1afa6a=_0x14ec9e;switch(_0x442e20){case 0x0:return'string';case 0x1:return'number';case 0x2:case 0x3:case 0x4:return'date';case 0x5:return _0x1afa6a(0xf9);default:return _0x1afa6a(0xb4);}}class Y{constructor(){const _0x579e44=_0x14ec9e;p(this,_0x579e44(0xd8),0x0),p(this,_0x579e44(0xd1),0x0),p(this,_0x579e44(0xf4),0x0);}}class I extends Y{constructor(_0x546460){const _0x5858d0=_0x14ec9e;super(),p(this,_0x5858d0(0x10a)),p(this,'dt'),p(this,'layout'),p(this,_0x5858d0(0x13a)),(this['dt']=_0x546460['dt'],this[_0x5858d0(0xcb)]=_0x546460['layout'],this[_0x5858d0(0x13a)]=!!_0x546460['needConvert']);}[_0x14ec9e(0xea)](_0x1af9db){const _0x1a7d01=_0x14ec9e;if(_0x1af9db['t']===$['CellValueType'][_0x1a7d01(0xb1)]){const _0x3ccb8c=oe(_0x1af9db);if(!_0x3ccb8c)return;ue(_0x3ccb8c,this[_0x1a7d01(0xcb)])?this[_0x1a7d01(0xd8)]+=Z:this['invalid']++;}}[_0x14ec9e(0x108)](){const _0xffd4e=_0x14ec9e,_0x23f301=0x64-Math['trunc']((this[_0xffd4e(0xd1)]*0xa+0x1)*0x64/(this[_0xffd4e(0xd1)]+this[_0xffd4e(0xd8)]+0x1)),_0x798dab={'Charset':this['dt'],'Confidence':_0x23f301,'debugInfo':this['layout']};return this[_0xffd4e(0x13a)]&&(_0x798dab[_0xffd4e(0xc1)]=this[_0xffd4e(0xcb)]),_0x798dab;}}class re extends Y{constructor(_0x2aa59b){const _0x20fcbd=_0x14ec9e;super(),p(this,_0x20fcbd(0xe8)),p(this,_0x20fcbd(0x10a)),p(this,'dt'),p(this,_0x20fcbd(0xcb)),p(this,_0x20fcbd(0x13a)),(this['dateStyles']=_0x2aa59b[_0x20fcbd(0xe8)]||{},this['dt']=_0x2aa59b['dt'],this[_0x20fcbd(0xcb)]=_0x2aa59b[_0x20fcbd(0xcb)],this[_0x20fcbd(0x13a)]=!!_0x2aa59b[_0x20fcbd(0x13a)]);}[_0x14ec9e(0xea)](_0x4ee05c){const _0x431ca7=_0x14ec9e;if(_0x4ee05c['t']===$[_0x431ca7(0x13f)][_0x431ca7(0xdd)]){if(_0x4ee05c['s']&&this[_0x431ca7(0xe8)][_0x4ee05c['s']]){this['valid']+=Z;return;}const _0x211586=oe(_0x4ee05c);if(!_0x211586)return;if(this[_0x431ca7(0xcb)]===_0x431ca7(0xe0)){const _0x32b27c=Number(_0x211586);if(we(_0x32b27c)){this['valid']+=Z;return;}}ue(_0x211586,this[_0x431ca7(0xcb)])?this[_0x431ca7(0xd8)]+=Z:this['invalid']++;}}['Calc'](){const _0x4acdf1=_0x14ec9e,_0x2ec147=0x64-Math[_0x4acdf1(0x110)]((this[_0x4acdf1(0xd1)]*0xa+0x1)*0x64/(this[_0x4acdf1(0xd1)]+this[_0x4acdf1(0xd8)]+0x1)),_0x32c659={'Charset':this['dt'],'Confidence':_0x2ec147,'debugInfo':this[_0x4acdf1(0xcb)]};return this[_0x4acdf1(0x13a)]&&(_0x32c659[_0x4acdf1(0xc1)]=this['layout']),_0x32c659;}}class Me extends Y{[_0x14ec9e(0xea)](_0x47403a){const _0x208069=_0x14ec9e;if(_0x47403a['t']===$[_0x208069(0x13f)][_0x208069(0xdd)])this[_0x208069(0xd8)]+=Q;else{const _0x557091=oe(_0x47403a);if(!_0x557091)return;he(_0x557091)?this['valid']+=Q:this[_0x208069(0xd1)]++;}}[_0x14ec9e(0x108)](){const _0x75fdc5=_0x14ec9e;return{'Charset':0x1,'Confidence':0x64-Math[_0x75fdc5(0x110)]((this[_0x75fdc5(0xd1)]*0xa+0x1)*0x64/(this[_0x75fdc5(0xd1)]+this[_0x75fdc5(0xd8)]+0x1)),'debugInfo':_0x75fdc5(0x159)};}}class Re extends Y{[_0x14ec9e(0xea)](_0x4675b1){const _0x4587b1=_0x14ec9e;_0x4675b1['t']===$['CellValueType'][_0x4587b1(0xb9)]?this['valid']+=Q:this[_0x4587b1(0xd1)]++;}[_0x14ec9e(0x108)](){const _0x583ddc=_0x14ec9e;return{'Charset':0x5,'Confidence':0x64-Math[_0x583ddc(0x110)]((this[_0x583ddc(0xd1)]*0xa+0x1)*0x64/(this['invalid']+this['valid']+0x1)),'debugInfo':_0x583ddc(0x159)};}}class Te{constructor(_0x2dd0f8){const _0x36ea8f=_0x14ec9e;p(this,_0x36ea8f(0xb0)),p(this,'dateStyles'),(this[_0x36ea8f(0xe8)]=_0x2dd0f8||{},this[_0x36ea8f(0xb0)]=[new I({'dt':0x2,'layout':_0x36ea8f(0x10b)}),new I({'dt':0x2,'layout':_0x36ea8f(0x133)}),new I({'dt':0x2,'layout':_0x36ea8f(0x132)}),new I({'dt':0x2,'layout':_0x36ea8f(0xe1)}),new I({'dt':0x2,'layout':_0x36ea8f(0x122),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xaf),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xbc),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xe2),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xff),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xad),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xbd),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0x128),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xb8),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xdf),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xc9),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xec),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0x109),'needConvert':!0x0}),new re({'dateStyles':this[_0x36ea8f(0xe8)],'dt':0x2,'layout':'20060102','needConvert':!0x0}),new I({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new I({'dt':0x4,'layout':'2006-01-02\x2015:04:05'}),new re({'dateStyles':this[_0x36ea8f(0xe8)],'dt':0x3,'layout':'excel','needConvert':!0x0}),new Me(),new Re()]);}[_0x14ec9e(0xea)](_0x1dc4f4){const _0x16a921=_0x14ec9e;for(const _0x498f68 of this[_0x16a921(0xb0)])_0x498f68[_0x16a921(0xea)](_0x1dc4f4);}[_0x14ec9e(0x118)](){const _0x34a406=_0x14ec9e,_0x932fe3=this[_0x34a406(0xb0)][_0x34a406(0xe7)](_0x2b71a0=>_0x2b71a0['Calc']());if(_0x932fe3[_0x34a406(0x100)]((_0x272a62,_0x2cd676)=>_0x2cd676[_0x34a406(0xed)]-_0x272a62[_0x34a406(0xed)]),_0x932fe3[_0x34a406(0xaa)]===0x0||_0x932fe3[0x0]['Confidence']<0x32)return[_0x34a406(0x14c),null];const _0x415b90=_0x932fe3[0x0];return[pe(_0x415b90['Charset']),_0x415b90];}}function ce(_0x2daed1,_0x15eebf){const _0x3d23f1=_0x14ec9e;let _0x4f4f7d=_0x2daed1,_0xde080b=_0x15eebf;_0x4f4f7d<=0x0&&(_0x4f4f7d=0x6),_0xde080b<=0x0&&(_0xde080b=0xa),_0xde080b=_0xde080b*0x2;const _0x4ea808=[];for(let _0x2e402e=0x0;_0x2e402e<_0xde080b;_0x2e402e++)_0x4ea808['push']($[_0x3d23f1(0x139)](_0x4f4f7d));const _0x231a37=new Map();for(const _0x243e7f of _0x4ea808){const _0x45bde4=_0x243e7f[_0x3d23f1(0xae)]();_0x231a37[_0x3d23f1(0xd0)](_0x45bde4)||_0x231a37[_0x3d23f1(0x119)](_0x45bde4,_0x243e7f);}return Array[_0x3d23f1(0x154)](_0x231a37[_0x3d23f1(0x158)]());}var ee=(_0xab8fde=>(_0xab8fde[_0x14ec9e(0x11a)]='none',_0xab8fde[_0x14ec9e(0xb7)]='all',_0xab8fde[_0x14ec9e(0x107)]=_0x14ec9e(0xc8),_0xab8fde))(ee||{});class K{constructor(_0x8aed2f){const _0xdad106=_0x14ec9e;p(this,'id'),p(this,'sheetId'),p(this,_0xdad106(0x144)),p(this,'name'),p(this,_0xdad106(0x106)),p(this,_0xdad106(0xca)),p(this,_0xdad106(0x102)),p(this,_0xdad106(0x156)),p(this,_0xdad106(0x13b)),p(this,_0xdad106(0x124)),p(this,'rowMergeTitleState'),p(this,_0xdad106(0x12a)),p(this,_0xdad106(0x10f)),p(this,_0xdad106(0xd4)),p(this,_0xdad106(0x151)),p(this,_0xdad106(0xc6)),p(this,'isTestTable'),p(this,_0xdad106(0x112)),p(this,_0xdad106(0xf0));var _0x1779c3,_0x21fd54,_0xdc5da6,_0x358310,_0x35015f,_0x83d858,_0x33e44a,_0x5f068e,_0x27da6d,_0x4fa40f,_0x56b5f5,_0x24f032,_0x43bd40,_0x37c572,_0x4afad0,_0xc8bfd9,_0x3b16e7,_0xfe2850,_0x38c371;this['id']=(_0x1779c3=_0x8aed2f==null?void 0x0:_0x8aed2f['id'])!=null?_0x1779c3:'',this[_0xdad106(0x104)]=(_0x21fd54=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x104)])!=null?_0x21fd54:$['generateRandomId'](),this[_0xdad106(0x144)]=(_0xdc5da6=_0x8aed2f==null?void 0x0:_0x8aed2f['range'])!=null?_0xdc5da6:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0xdad106(0x12c)]=(_0x358310=_0x8aed2f==null?void 0x0:_0x8aed2f['name'])!=null?_0x358310:'',this['description']=(_0x35015f=_0x8aed2f==null?void 0x0:_0x8aed2f['description'])!=null?_0x35015f:'',this[_0xdad106(0xca)]=(_0x83d858=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xca)])!=null?_0x83d858:0x0,this['mergeRowTitleCount']=(_0x33e44a=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x102)])!=null?_0x33e44a:0x0,this['startStatisticRowCount']=(_0x5f068e=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x156)])!=null?_0x5f068e:0x0,this[_0xdad106(0x13b)]=(_0x27da6d=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x13b)])!=null?_0x27da6d:0x0,this[_0xdad106(0x124)]=(_0x4fa40f=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x124)])!=null?_0x4fa40f:new Map(),this[_0xdad106(0xeb)]=(_0x56b5f5=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xeb)])!=null?_0x56b5f5:!0x1,this['columnMergeTitleState']=(_0x24f032=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x12a)])!=null?_0x24f032:!0x1,this[_0xdad106(0x10f)]=(_0x43bd40=_0x8aed2f==null?void 0x0:_0x8aed2f['columnMergeTitleCountMap'])!=null?_0x43bd40:new Map(),this['isMatchEnd']=(_0x37c572=_0x8aed2f==null?void 0x0:_0x8aed2f['isMatchEnd'])!=null?_0x37c572:!0x1,this[_0xdad106(0x151)]=(_0x4afad0=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x151)])!=null?_0x4afad0:!0x1,this['isTimeSeries']=(_0xc8bfd9=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xc6)])!=null?_0xc8bfd9:!0x1,this['isTestTable']=(_0x3b16e7=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x105)])!=null?_0x3b16e7:!0x1,this[_0xdad106(0x112)]=(_0xfe2850=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x112)])!=null?_0xfe2850:!0x1,this['columns']=(_0x38c371=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xf0)])!=null?_0x38c371:[];}[_0x14ec9e(0xce)](_0x3ed220,_0x2755e5){return _0x2755e5-_0x3ed220===0x1||_0x2755e5===_0x3ed220;}[_0x14ec9e(0x101)](_0x459baa){const _0x44ae0a=_0x14ec9e,_0x4781e8=[];for(const _0x5b729e of _0x459baa)this['range'][_0x44ae0a(0xe4)]<_0x5b729e[_0x44ae0a(0x144)]['startColumn']||this[_0x44ae0a(0x144)][_0x44ae0a(0xd2)]>_0x5b729e['range'][_0x44ae0a(0xe4)]||this[_0x44ae0a(0xce)](_0x5b729e[_0x44ae0a(0x144)]['endRow'],this[_0x44ae0a(0x144)][_0x44ae0a(0xdb)])&&_0x4781e8['push'](_0x5b729e);return _0x4781e8;}['intersectWithColumns'](_0x848bcc){const _0x10efd8=_0x14ec9e;return _0x848bcc[_0x10efd8(0x144)][_0x10efd8(0x10c)]===this['range'][_0x10efd8(0xdb)]&&this['range']['endColumn']+0x1===_0x848bcc[_0x10efd8(0x144)][_0x10efd8(0xd2)];}[_0x14ec9e(0xde)](_0x23a2fe){const _0x308c49=_0x14ec9e;return this[_0x308c49(0x144)][_0x308c49(0xd2)]===-0x1?this:(_0x23a2fe[_0x308c49(0xf6)](this),new K({'sheetId':this[_0x308c49(0x104)],'range':{'startRow':this[_0x308c49(0x144)][_0x308c49(0xdb)],'endRow':this[_0x308c49(0x144)][_0x308c49(0x10c)],'startColumn':-0x1,'endColumn':-0x1}}));}['insertCellData'](_0x1aad99,_0x314360,_0x3ca7bd,_0x492aca){const _0x2bf527=_0x14ec9e;this[_0x2bf527(0x144)][_0x2bf527(0xd2)]===-0x1&&(this[_0x2bf527(0x144)]['startColumn']=_0x314360),this['range'][_0x2bf527(0xe4)]=_0x314360,_0x492aca!=null&&(this[_0x2bf527(0x144)][_0x2bf527(0xe4)]=Math[_0x2bf527(0x14b)](_0x492aca,this[_0x2bf527(0x144)][_0x2bf527(0xe4)]));}[_0x14ec9e(0xd6)](){const _0x2b463a=_0x14ec9e;this['rowMergeTitleCountMap'][_0x2b463a(0x11f)](),this[_0x2b463a(0x10f)][_0x2b463a(0x11f)](),this[_0x2b463a(0xf0)]=[];}}function de(_0x46995c,_0xdd64d8){const {startRow:_0x253053,startColumn:_0x4e4270,endRow:_0x4127dd,endColumn:_0x3e228e}=_0xdd64d8;return _0x46995c+':'+_0x253053+','+_0x4e4270+'-'+_0x4127dd+','+_0x3e228e;}const W=new Map();function ye(_0x37ad8f,_0x331e1f){const _0x5bc2bb=_0x14ec9e;var _0x24b878;const _0x2df38f=new $[(_0x5bc2bb(0xb6))](!0x1),_0x100547=_0x331e1f[_0x5bc2bb(0xc3)](),_0x57366d=new Map(),_0x59a802=(_0x24b878=_0x331e1f[_0x5bc2bb(0x142)]())!=null?_0x24b878:[];W[_0x5bc2bb(0x11f)]();for(const _0x588712 of _0x59a802){const _0x4d6636=de('merge',_0x588712),_0x35040c={'unitId':_0x37ad8f,'sheetId':_0x100547,'range':_0x588712,'id':_0x4d6636};_0x2df38f[_0x5bc2bb(0x11c)](_0x35040c),_0x57366d['set'](_0x4d6636,_0x35040c);}return W[_0x5bc2bb(0x119)](_0x331e1f,{'mergeRTree':_0x2df38f,'mergeRangeMap':_0x57366d}),{'mergeRTree':_0x2df38f,'mergeRangeMap':_0x57366d};}function Se(_0x1a20ca,_0x579661,_0x52cdb7){const _0x4437ba=_0x14ec9e,_0x41a40f=new $[(_0x4437ba(0xb6))](!0x1),_0x29453f=_0x52cdb7[_0x4437ba(0xfc)](H[_0x4437ba(0x131)])['getTableList'](_0x1a20ca);if(_0x29453f&&Array[_0x4437ba(0x121)](_0x29453f))for(const _0xe70543 of _0x29453f){if(!(_0xe70543!=null&&_0xe70543[_0x4437ba(0x144)]))continue;const _0x34c1d6=_0xe70543[_0x4437ba(0x144)],_0x23120b={'unitId':_0x1a20ca,'sheetId':_0x579661,'range':_0x34c1d6,'id':de('table',_0x34c1d6)};_0x41a40f['insert'](_0x23120b);}return _0x41a40f;}function se(_0x54f106,_0x3ff256,_0xc20b07){const _0x39307a=_0x14ec9e,_0x2fa0f7=_0x54f106[_0x39307a(0xfc)](_0x3ff256);_0x2fa0f7?_0x2fa0f7[_0x39307a(0xf6)](_0xc20b07):_0x54f106[_0x39307a(0x119)](_0x3ff256,[_0xc20b07]);}function ve(_0x33f459,_0x1f17f0){const _0x283bf7=_0x14ec9e;var _0x33a4a6,_0x208be8,_0x210561;const _0x664b9c=_0x33f459[_0x283bf7(0xcf)](),_0x5f2a71={},_0x2c1f16=_0x33f459['getUnitId']();for(const _0x4cf76e of _0x664b9c){const _0x34ceda=_0x4cf76e[_0x283bf7(0xc3)](),_0x223b57=_0x4cf76e['getRowCount'](),_0x29f992=_0x4cf76e['getColumnCount'](),{mergeRTree:_0xd78b99,mergeRangeMap:_0x3c5a3f}=ye(_0x2c1f16,_0x4cf76e),_0x470767=Se(_0x2c1f16,_0x34ceda,_0x1f17f0),_0x243ab2=[];let _0x48634f=[];for(let _0x202108=0x0;_0x202108<_0x223b57;_0x202108++){const _0x6a7713=[];let _0x3d4ce8=new K({'sheetId':_0x34ceda,'range':{'startRow':_0x202108,'endRow':_0x202108,'startColumn':-0x1,'endColumn':-0x1}});const _0x2d6ba5=new Map();for(let _0x2f1dab=0x0;_0x2f1dab<=_0x29f992;_0x2f1dab++){const _0x56d981=_0x4cf76e[_0x283bf7(0xc2)](_0x202108,_0x2f1dab),_0x1b3f69={'range':{'startRow':_0x202108,'startColumn':_0x2f1dab,'endRow':_0x202108,'endColumn':_0x2f1dab},'unitId':_0x2c1f16,'sheetId':_0x34ceda};if(_0x470767[_0x283bf7(0x13e)]([_0x1b3f69])['size']>0x0){_0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713);continue;}const _0x35cd28=_0xd78b99[_0x283bf7(0x13e)]([_0x1b3f69]);if(_0x35cd28[_0x283bf7(0xd5)]>0x0){const _0x44b79=_0x3d4ce8['intersectWithPreTables'](_0x48634f),_0x54bb47=_0x35cd28[_0x283bf7(0x12e)]()['next']()[_0x283bf7(0xe3)],_0x4d4ea2=_0x3c5a3f[_0x283bf7(0xfc)](_0x54bb47);if(!_0x4d4ea2)continue;const _0x5f0fea={'startRow':_0x4d4ea2[_0x283bf7(0x144)]['startRow'],'endRow':_0x4d4ea2[_0x283bf7(0x144)][_0x283bf7(0x10c)],'startColumn':_0x4d4ea2[_0x283bf7(0x144)][_0x283bf7(0xd2)],'endColumn':_0x4d4ea2[_0x283bf7(0x144)][_0x283bf7(0xe4)]},_0x2c7cd0=_0x4cf76e[_0x283bf7(0xc2)](_0x5f0fea[_0x283bf7(0xdb)],_0x5f0fea['startColumn']);if(_0x2c7cd0&&(_0x2c7cd0['p']!=null||_0x2c7cd0['v']!=null&&String(_0x2c7cd0['v'])[_0x283bf7(0xaa)]>0x0)){_0x3d4ce8[_0x283bf7(0xf2)](_0x202108,_0x2f1dab,_0x56d981,_0x5f0fea['endColumn']);for(let _0x9823af=_0x5f0fea[_0x283bf7(0xd2)];_0x9823af<=_0x5f0fea[_0x283bf7(0xe4)];_0x9823af++)_0x2d6ba5['set'](_0x9823af,!0x0);}else _0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713);const _0x1d4888=_0x5f0fea[_0x283bf7(0x10c)]-_0x5f0fea['startRow'],_0x329508=_0x5f0fea[_0x283bf7(0xe4)]-_0x5f0fea['startColumn'];if(_0x44b79['length']===0x1){if(_0x1d4888>0x0&&se(_0x3d4ce8[_0x283bf7(0x10f)],_0x2f1dab,_0x4d4ea2),_0x329508>0x0){const _0x200dda=(_0x33a4a6=_0x3d4ce8['rowMergeTitleCountMap'][_0x283bf7(0xfc)](_0x202108))!=null?_0x33a4a6:[];_0x200dda[_0x283bf7(0xf6)](_0x4d4ea2),_0x3d4ce8[_0x283bf7(0x124)]['set'](_0x202108,_0x200dda);}}else{if(_0x1d4888>0x0&&(_0x3d4ce8[_0x283bf7(0x12a)]=!0x0,se(_0x3d4ce8['columnMergeTitleCountMap'],_0x2f1dab,_0x4d4ea2)),_0x329508>0x0){_0x3d4ce8['rowMergeTitleState']=!0x0;const _0x507cdf=(_0x208be8=_0x3d4ce8['rowMergeTitleCountMap']['get'](_0x202108))!=null?_0x208be8:[];_0x507cdf[_0x283bf7(0xf6)](_0x4d4ea2),_0x3d4ce8[_0x283bf7(0x124)]['set'](_0x202108,_0x507cdf);}}continue;}if((!_0x56d981||G(_0x56d981)==null)&&!_0x2d6ba5[_0x283bf7(0xfc)](_0x2f1dab)){_0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713);continue;}_0x56d981&&G(_0x56d981)!=null?_0x3d4ce8[_0x283bf7(0xf2)](_0x202108,_0x2f1dab,_0x56d981):(_0x3d4ce8[_0x283bf7(0xeb)]=!0x1,_0x3d4ce8[_0x283bf7(0x12a)]=!0x1,_0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713));}if(_0x6a7713[_0x283bf7(0xaa)]===0x0){_0x243ab2['push'](..._0x48634f),_0x48634f=[];continue;}if(_0x48634f['length']===0x0){_0x48634f['push'](..._0x6a7713);continue;}const _0x22756b=(_0x652ef2,_0x2474ab)=>{const _0x550921=_0x283bf7;_0x652ef2[_0x550921(0x144)][_0x550921(0xdb)]=Math[_0x550921(0x138)](_0x652ef2[_0x550921(0x144)][_0x550921(0xdb)],_0x2474ab[_0x550921(0x144)][_0x550921(0xdb)]),_0x652ef2[_0x550921(0x144)][_0x550921(0x10c)]=Math[_0x550921(0x14b)](_0x652ef2['range'][_0x550921(0x10c)],_0x2474ab[_0x550921(0x144)][_0x550921(0x10c)]),_0x652ef2[_0x550921(0x144)]['startColumn']=Math[_0x550921(0x138)](_0x652ef2[_0x550921(0x144)][_0x550921(0xd2)],_0x2474ab[_0x550921(0x144)][_0x550921(0xd2)]),_0x652ef2[_0x550921(0x144)]['endColumn']=Math[_0x550921(0x14b)](_0x652ef2[_0x550921(0x144)][_0x550921(0xe4)],_0x2474ab[_0x550921(0x144)][_0x550921(0xe4)]),_0x2474ab[_0x550921(0x124)][_0x550921(0xf3)]((_0x5140b5,_0x2bbedd)=>{const _0x4e6204=_0x550921;var _0x2b970c;const _0x2890cf=(_0x2b970c=_0x652ef2[_0x4e6204(0x124)][_0x4e6204(0xfc)](_0x2bbedd))!=null?_0x2b970c:[];_0x2890cf[_0x4e6204(0xf6)](..._0x5140b5),_0x652ef2[_0x4e6204(0x124)]['set'](_0x2bbedd,_0x2890cf);}),_0x2474ab[_0x550921(0x10f)][_0x550921(0xf3)]((_0x4869c9,_0x2ec6ba)=>{const _0x1695bc=_0x550921;var _0x2f81a4;const _0x33167b=(_0x2f81a4=_0x652ef2['columnMergeTitleCountMap'][_0x1695bc(0xfc)](_0x2ec6ba))!=null?_0x2f81a4:[];_0x33167b[_0x1695bc(0xf6)](..._0x4869c9),_0x652ef2[_0x1695bc(0x10f)][_0x1695bc(0x119)](_0x2ec6ba,_0x33167b);});};for(let _0x21a591=0x0;_0x21a591+0x1<_0x6a7713[_0x283bf7(0xaa)];_0x21a591++){const _0x3798b9=_0x6a7713[_0x21a591],_0x553d5d=_0x6a7713[_0x21a591+0x1];_0x3798b9['intersectWithColumns'](_0x553d5d)&&(_0x22756b(_0x3798b9,_0x553d5d),_0x6a7713['splice'](_0x21a591+0x1,0x1),_0x21a591--);}const _0x344c1e=[];for(const _0x38333c of _0x6a7713){const _0x13a8ef=_0x38333c[_0x283bf7(0x101)](_0x48634f);if(_0x13a8ef[_0x283bf7(0xaa)]===0x0){_0x344c1e[_0x283bf7(0xf6)](_0x38333c);continue;}const _0x1d4d6e=(_0x210561=_0x38333c[_0x283bf7(0x124)][_0x283bf7(0xfc)](_0x202108))!=null?_0x210561:[];let _0x7a3d55=Number[_0x283bf7(0xb3)],_0x2a7c40=-0x1,_0x5b5e6e=-0x1;for(const _0x2ed302 of _0x1d4d6e){const _0x12eeb0=_0x2ed302['range'],_0xf18875=_0x12eeb0[_0x283bf7(0xd2)],_0x332576=_0x12eeb0['endColumn'];_0x7a3d55=Math[_0x283bf7(0x138)](_0x7a3d55,_0xf18875),_0x2a7c40=Math[_0x283bf7(0x14b)](_0x2a7c40,_0x332576);}_0x2a7c40===-0x1&&(_0x5b5e6e=_0x2a7c40-_0x7a3d55+0x1);const _0x510c08=_0x13a8ef[0x0][_0x283bf7(0x144)],_0x113114=_0x510c08['endColumn']-_0x510c08[_0x283bf7(0xd2)]+0x1;if(_0x5b5e6e>=0x0&&_0x5b5e6e<=_0x113114*0x3/0x4){_0x344c1e[_0x283bf7(0xf6)](_0x38333c);continue;}const _0x171864=_0x13a8ef[0x0];for(const _0x3723b3 of _0x13a8ef[_0x283bf7(0xdc)](0x1))_0x171864[_0x283bf7(0x144)]['startRow']=Math['min'](_0x171864['range'][_0x283bf7(0xdb)],_0x3723b3['range']['startRow']),_0x171864['range'][_0x283bf7(0x10c)]=Math[_0x283bf7(0x14b)](_0x171864[_0x283bf7(0x144)][_0x283bf7(0x10c)],_0x3723b3[_0x283bf7(0x144)][_0x283bf7(0x10c)]),_0x171864[_0x283bf7(0x144)]['startColumn']=Math[_0x283bf7(0x138)](_0x171864['range'][_0x283bf7(0xd2)],_0x3723b3[_0x283bf7(0x144)][_0x283bf7(0xd2)]),_0x171864[_0x283bf7(0x144)][_0x283bf7(0xe4)]=Math['max'](_0x171864['range'][_0x283bf7(0xe4)],_0x3723b3[_0x283bf7(0x144)][_0x283bf7(0xe4)]);_0x171864['range'][_0x283bf7(0xdb)]=Math['min'](_0x171864['range'][_0x283bf7(0xdb)],_0x38333c[_0x283bf7(0x144)][_0x283bf7(0xdb)]),_0x171864['range'][_0x283bf7(0x10c)]=Math[_0x283bf7(0x14b)](_0x171864[_0x283bf7(0x144)]['endRow'],_0x38333c['range'][_0x283bf7(0x10c)]),_0x171864[_0x283bf7(0x144)]['startColumn']=Math[_0x283bf7(0x138)](_0x171864[_0x283bf7(0x144)]['startColumn'],_0x38333c[_0x283bf7(0x144)][_0x283bf7(0xd2)]),_0x171864[_0x283bf7(0x144)]['endColumn']=Math['max'](_0x171864['range'][_0x283bf7(0xe4)],_0x38333c[_0x283bf7(0x144)][_0x283bf7(0xe4)]),_0x38333c[_0x283bf7(0x124)][_0x283bf7(0xf3)]((_0x171fec,_0x198aec)=>{const _0x29145e=_0x283bf7;var _0x3445ad;const _0x22b277=(_0x3445ad=_0x171864['rowMergeTitleCountMap'][_0x29145e(0xfc)](_0x198aec))!=null?_0x3445ad:[];_0x22b277[_0x29145e(0xf6)](..._0x171fec),_0x171864['rowMergeTitleCountMap']['set'](_0x198aec,_0x22b277);}),_0x38333c[_0x283bf7(0x10f)]['forEach']((_0x45aee6,_0x54b86b)=>{const _0x48ce55=_0x283bf7;var _0x2231a9;const _0x69b581=(_0x2231a9=_0x171864[_0x48ce55(0x10f)][_0x48ce55(0xfc)](_0x54b86b))!=null?_0x2231a9:[];_0x69b581[_0x48ce55(0xf6)](..._0x45aee6),_0x171864[_0x48ce55(0x10f)][_0x48ce55(0x119)](_0x54b86b,_0x69b581);}),_0x171864[_0x283bf7(0x151)]=!0x0;}const _0x340cda=[];for(const _0xb65439 of _0x48634f)!_0xb65439[_0x283bf7(0x151)]&&_0xb65439[_0x283bf7(0xd4)]||(_0x340cda[_0x283bf7(0xf6)](_0xb65439),_0xb65439[_0x283bf7(0x151)]=!0x1,_0xb65439[_0x283bf7(0xd4)]=!0x1);_0x340cda[_0x283bf7(0xf6)](..._0x344c1e),_0x48634f=_0x340cda;}_0x243ab2[_0x283bf7(0xf6)](..._0x48634f);let _0x599506=0x0;for(const _0x5252a3 of _0x243ab2){const _0x2b0da4=_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0x10c)]-_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0xdb)]+0x1;_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0xe4)]-_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0xd2)]+0x1>0x0&&_0x2b0da4>0x1&&_0x599506++;}if(_0x599506===0x0)continue;const _0x4b43dd=[],_0x3457ca=ce(0x6,_0x243ab2[_0x283bf7(0xaa)]);let _0x120b2c=0x0;for(const _0x4e6b5f of _0x243ab2){const _0x2978ac=_0x4e6b5f[_0x283bf7(0x144)]['endRow']-_0x4e6b5f[_0x283bf7(0x144)][_0x283bf7(0xdb)]+0x1,_0x3dbf10=_0x4e6b5f['range'][_0x283bf7(0xe4)]-_0x4e6b5f[_0x283bf7(0x144)][_0x283bf7(0xd2)]+0x1;let _0x3d6a9f=!0x1;for(const _0x24ffac of _0x4cf76e['getMergeData']())if(Ie(_0x4e6b5f[_0x283bf7(0x144)],_0x24ffac)){_0x3d6a9f=!0x0;break;}if(_0x3d6a9f)continue;let _0x19b757=!0x0;for(const _0x920f99 of _0x243ab2)if(_0x920f99!==_0x4e6b5f&&xe(_0x4e6b5f,_0x920f99)){_0x19b757=!0x1;break;}_0x19b757&&(_0x3dbf10<=0x0||_0x2978ac<=0x1||(_0x4e6b5f['id']=_0x3457ca[_0x120b2c++],_0x4b43dd[_0x283bf7(0xf6)](_0x4e6b5f)));}_0x5f2a71[_0x34ceda]=_0x4b43dd;}return _0x5f2a71;}function be(_0x2bf1fe,_0x5756a6,_0x1a1c99){const _0x540158=ve(_0x2bf1fe,_0x5756a6);$e(_0x540158,_0x2bf1fe,_0x5756a6);const _0x35a9e9=Pe(_0x540158,_0x2bf1fe);return De(_0x35a9e9,_0x2bf1fe,_0x5756a6,_0x1a1c99);}function Ie(_0x2ac6b8,_0x4bf276){const _0x3e3dc1=_0x14ec9e;return _0x2ac6b8['startRow']===_0x4bf276[_0x3e3dc1(0xdb)]&&_0x2ac6b8[_0x3e3dc1(0x10c)]===_0x4bf276['endRow']&&_0x2ac6b8[_0x3e3dc1(0xd2)]===_0x4bf276[_0x3e3dc1(0xd2)]&&_0x2ac6b8[_0x3e3dc1(0xe4)]===_0x4bf276['endColumn'];}function xe(_0x1a5a3e,_0x551a65){const _0x33a0d8=_0x14ec9e;return _0x1a5a3e[_0x33a0d8(0x144)][_0x33a0d8(0xdb)]>=_0x551a65[_0x33a0d8(0x144)][_0x33a0d8(0xdb)]&&_0x1a5a3e[_0x33a0d8(0x144)]['endRow']<=_0x551a65[_0x33a0d8(0x144)][_0x33a0d8(0x10c)]&&_0x1a5a3e[_0x33a0d8(0x144)][_0x33a0d8(0xd2)]>=_0x551a65[_0x33a0d8(0x144)]['startColumn']&&_0x1a5a3e['range'][_0x33a0d8(0xe4)]<=_0x551a65[_0x33a0d8(0x144)][_0x33a0d8(0xe4)];}function _0x144c(_0x5e77ff,_0x4aa08c){_0x5e77ff=_0x5e77ff-0xaa;const _0x52ddfb=_0x52dd();let _0x144cd4=_0x52ddfb[_0x5e77ff];return _0x144cd4;}function Ne(_0x549954){const _0x2341fc=_0x14ec9e;return''+ne(_0x549954['startColumn'])+(_0x549954[_0x2341fc(0xdb)]+0x1)+':'+ne(_0x549954[_0x2341fc(0xe4)])+(_0x549954[_0x2341fc(0x10c)]+0x1);}function te(_0x52e12f){const _0x4da652=_0x14ec9e;var _0x38a041;if(_0x52e12f!==null){if(_0x52e12f!=null&&_0x52e12f['p']){const _0x11a29d=_0x52e12f==null?void 0x0:_0x52e12f['p'][_0x4da652(0xf8)];if(_0x11a29d==null)return;const _0x15a8aa=_0x11a29d['dataStream'],_0x4626bf=$[_0x4da652(0x12b)][_0x4da652(0x127)][_0x4da652(0x116)](_0x15a8aa),_0x200758=_0x11a29d['customRanges'];if(_0x200758&&_0x200758[_0x4da652(0xaa)]>0x0){const _0x1729db=_0x200758[0x0],_0x18a629=(_0x38a041=_0x1729db[_0x4da652(0x111)])==null?void 0x0:_0x38a041[_0x4da652(0xfa)];if(!_0x18a629)return _0x4626bf;const _0x2844c7=typeof _0x1729db['startIndex']==_0x4da652(0x159)?_0x1729db['startIndex']:0x0;let _0x4104ae=typeof _0x1729db[_0x4da652(0xf1)]==_0x4da652(0x159)?_0x1729db[_0x4da652(0xf1)]+0x1:_0x2844c7+0x1;return _0x2844c7===0x0&&_0x4104ae===0x0?_0x4104ae=0x1:_0x4104ae<=_0x2844c7&&(_0x4104ae=_0x2844c7+0x1),'['+_0x15a8aa[_0x4da652(0xdc)](_0x2844c7,_0x4104ae)+']('+_0x18a629+')';}return _0x4626bf;}if((_0x52e12f==null?void 0x0:_0x52e12f['v'])!=null)return _0x52e12f['v'];}}function G(_0x1bea1c){const _0x2a5759=te(_0x1bea1c);if(_0x2a5759!=null)return String(_0x2a5759);}function Ee(_0x473738,_0x4acff2,_0x34f1ca){const _0x3b9c73=_0x14ec9e,_0x440a40=_0x34f1ca[_0x3b9c73(0xc2)](_0x473738,_0x4acff2);if(_0x440a40!=null){const _0x5ad9e8=G(_0x440a40);if(_0x5ad9e8!=null&&_0x5ad9e8[_0x3b9c73(0xaa)]>0x0)return _0x5ad9e8;}const _0x1e3106=W[_0x3b9c73(0xfc)](_0x34f1ca),_0x3ef5dc=_0x1e3106==null?void 0x0:_0x1e3106[_0x3b9c73(0x12d)],_0x16fe2d=_0x1e3106==null?void 0x0:_0x1e3106[_0x3b9c73(0x143)],_0x11ae96=_0x34f1ca['getUnitId'](),_0x267f3e=_0x34f1ca['getSheetId'](),_0x4e1deb={'range':{'startRow':_0x473738,'endRow':_0x473738,'startColumn':_0x4acff2,'endColumn':_0x4acff2},'unitId':_0x11ae96,'sheetId':_0x267f3e},_0x4729f8=(_0x3ef5dc==null?void 0x0:_0x3ef5dc['bulkSearch']([_0x4e1deb]))||new Map();if(_0x4729f8[_0x3b9c73(0xd5)]===0x0||!_0x16fe2d)return null;const _0x156af9=_0x4729f8[_0x3b9c73(0x12e)]()[_0x3b9c73(0x14d)]()['value'],_0x3408f5=_0x16fe2d['get'](_0x156af9);if(!_0x3408f5)return null;const _0x4aaa17=_0x34f1ca['getCell'](_0x3408f5[_0x3b9c73(0x144)]['startRow'],_0x3408f5['range'][_0x3b9c73(0xd2)]);return _0x4aaa17==null?null:G(_0x4aaa17);}function $e(_0x2b9c77,_0x183d10,_0x9a3064){const _0x4e122d=_0x14ec9e,_0x4a7b80=_0x183d10[_0x4e122d(0xcf)](),_0x2d6cbc=_0x9a3064[_0x4e122d(0xfc)](H[_0x4e122d(0x131)]),_0x3af8f8=_0x183d10['getUnitId']();for(const _0xe7828e of _0x4a7b80){const _0x20e494=_0xe7828e[_0x4e122d(0xc3)](),_0x24c453=_0x2d6cbc[_0x4e122d(0x149)](_0x3af8f8,_0x20e494);if(!_0x24c453)continue;const _0x487fdb=_0x24c453[_0x4e122d(0xe7)](_0x492220=>_0x492220[_0x4e122d(0x150)]());for(const _0x2c0e4c of _0x487fdb){const {startRow:_0x453a1a,endRow:_0x4ad441,startColumn:_0x229eca,endColumn:_0x51b453}=_0x2c0e4c['range'],_0x874b85=new K({'id':_0x2c0e4c['id'],'sheetId':_0x20e494,'range':{'startRow':_0x453a1a,'endRow':_0x4ad441,'startColumn':_0x229eca,'endColumn':_0x51b453},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x2b9c77[_0x20e494]||(_0x2b9c77[_0x20e494]=[]),_0x2b9c77[_0x20e494][_0x4e122d(0xf6)](_0x874b85);}}}function Pe(_0x26b121,_0x6ddff2){const _0xa9bfe=_0x14ec9e;var _0x8e328d,_0x572b7;for(const [_0x249609,_0x113f94]of Object[_0xa9bfe(0xee)](_0x26b121)){const _0x6b2dbc=_0x113f94;let _0x978d22=!0x1;const _0x37977a=_0x6ddff2[_0xa9bfe(0x11e)](_0x249609);if(_0x37977a){for(let _0x4d0ba=0x0;_0x4d0ba<_0x6b2dbc[_0xa9bfe(0xaa)];_0x4d0ba++){const _0x4607d8=_0x6b2dbc[_0x4d0ba],_0x170aff=_0x4607d8[_0xa9bfe(0x144)],{startRow:_0x48678f,endRow:_0x160e04,startColumn:_0xe36f2f,endColumn:_0x347dda}=_0x170aff,_0x41db53=Ue(_0x4607d8,_0x37977a,_0x6ddff2),_0xfa9a1c=_e(_0x48678f,_0x160e04,_0x4607d8);let _0x596a37=0x1;const _0x29bbba=_0x48678f+_0xfa9a1c;let _0x29965a=0x0,_0x1c3b16=0x0;for(let _0x3a02a1=_0xe36f2f;_0x3a02a1<=_0x347dda;_0x3a02a1++){const _0x1c2fce=_0x37977a['getCell'](_0x29bbba,_0x3a02a1);if(!_0x1c2fce)continue;const _0x5f0997=G(_0x1c2fce);_0x5f0997!=null&&(_0x5f0997!==''&&_0x1c3b16++,ae(_0x5f0997)&&_0x29965a++);}if(_0x1c3b16>0x0&&_0x29965a/Math[_0xa9bfe(0x14b)](_0x1c3b16,0x1)>0.03&&(_0x596a37=0x0),_0x4607d8['mergeRowTitleCount']=_0xfa9a1c,_0x4607d8['rowTitleCount']=_0x596a37+_0xfa9a1c,_0x4607d8[_0xa9bfe(0x144)]['endRow']-_0x4607d8[_0xa9bfe(0x144)][_0xa9bfe(0xdb)]+0x1-_0x4607d8[_0xa9bfe(0xca)]<=0x1){console[_0xa9bfe(0x146)](_0xa9bfe(0x137)+_0x4d0ba+',\x20rangeName:'+Ne(_0x4607d8[_0xa9bfe(0x144)])),_0x6b2dbc[_0xa9bfe(0x153)](_0x4d0ba,0x1),_0x4d0ba--,_0x978d22=!0x0;continue;}const _0xcb35e6=new Map();let _0x3c49d1=0x0;const _0x5c48e2=ce(0x4,_0x347dda-_0xe36f2f+0x1);for(let _0x438e80=_0xe36f2f;_0x438e80<=_0x347dda;_0x438e80++){let _0x3d79c9='';const _0x161c45=new Set();let _0x37aafe=!0x1;const _0x196a9c=_0x48678f+_0x4607d8['rowTitleCount']-0x1;let _0x4a547e=_0x48678f;_0x41db53!==''&&(_0x4a547e=_0x48678f+0x1);for(let _0x3a2812=_0x4a547e;_0x3a2812<=_0x196a9c;_0x3a2812++){const _0x373b7a=Ee(_0x3a2812,_0x438e80,_0x37977a);_0x373b7a!=null&&(_0x3a2812===_0x196a9c&&(_0x3d79c9=_0x373b7a),_0x161c45['add'](_0x373b7a));}const _0x4c053d=[..._0x161c45]['join'](','),_0x2288e7=_0x4c053d;_0xcb35e6[_0xa9bfe(0xd0)](_0x2288e7)?_0x37aafe=!0x0:_0xcb35e6[_0xa9bfe(0x119)](_0x2288e7,!0x0);const _0x3e5deb=_0x196a9c+0x1;let _0x5e096b=_0x196a9c+0x14,_0x449395=0x0,_0x2c0e35=!0x1,_0x1a8b8d=!0x1;if(_0x5e096b>_0x160e04&&(_0x5e096b=_0x160e04),_0x3e5deb<_0x160e04){let _0x51676a='';for(let _0x1177ec=_0x3e5deb;_0x1177ec<=_0x5e096b;_0x1177ec++){const _0x4ccbe2=_0x37977a[_0xa9bfe(0xc2)](_0x1177ec,_0x438e80);if(!_0x4ccbe2)continue;const _0x456707=G(_0x4ccbe2);_0x456707!=null&&(ae(_0x456707)||(_0x51676a+=_0x456707),Je(_0x456707)&&_0x449395++);}_0x449395>Math[_0xa9bfe(0xd9)]((_0x5e096b-_0x3e5deb+0x1)/0x2)&&(_0x1a8b8d=!0x0),Be(_0x51676a)/Math[_0xa9bfe(0x14b)](_0x5e096b-_0x3e5deb+0x1,0x1)>0xf&&!_0x1a8b8d&&(_0x2c0e35=!0x0);}_0x4607d8[_0xa9bfe(0xf0)]['push']({'id':_0x5c48e2[_0x3c49d1++],'Name':_0x3d79c9,'Type':'','Description':_0x4c053d,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x2c0e35,'isLink':_0x1a8b8d,'isTitleRepeat':_0x37aafe,'isUnique':!0x1,'links':[]});}Ae(_0x4607d8,_0x6ddff2);}_0x978d22&&(_0x26b121[_0x249609]=_0x6b2dbc),_0x6b2dbc['length']===0x0&&delete _0x26b121[_0x249609],(_0x572b7=(_0x8e328d=_0x26b121[_0x249609])==null?void 0x0:_0x8e328d[_0xa9bfe(0xaa)])!=null;}}return _0x26b121;}function _e(_0x194d8e,_0x590e00,_0x22ae32){const _0x26e6fe=_0x14ec9e;var _0x34f234;function _0x5cec0d(_0x340038){const _0x3a7aaf=_0x144c;if(_0x340038[_0x3a7aaf(0xaa)]===0x0)return 0x0;_0x340038[_0x3a7aaf(0x100)]((_0x501a5a,_0x1e8642)=>_0x501a5a[0x0]-_0x1e8642[0x0]);let _0x1bfe22=0x0,_0x570783=_0x340038[0x0][0x0],_0x44f8c7=_0x340038[0x0][0x1];for(let _0x881237=0x1;_0x881237<_0x340038[_0x3a7aaf(0xaa)];_0x881237++){const [_0x1a1b67,_0x4c1a5b]=_0x340038[_0x881237];_0x1a1b67<=_0x44f8c7+0x1?_0x44f8c7=Math['max'](_0x44f8c7,_0x4c1a5b):(_0x1bfe22+=_0x44f8c7-_0x570783+0x1,_0x570783=_0x1a1b67,_0x44f8c7=_0x4c1a5b);}return _0x1bfe22+=_0x44f8c7-_0x570783+0x1,_0x1bfe22;}const _0x1e1722=_0x22ae32[_0x26e6fe(0x144)][_0x26e6fe(0xd2)],_0x487960=_0x22ae32[_0x26e6fe(0x144)][_0x26e6fe(0xe4)],_0x2f6db5=_0x487960-_0x1e1722+0x1;let _0x4fc4e5=_0x194d8e-0x1,_0x3aa5c8=_0x194d8e-0x1,_0x4587cc=!0x1;const _0x37e19e=0x64;for(let _0x40eedc=_0x194d8e;_0x40eedc<=_0x590e00&&_0x40eedc-_0x194d8e<_0x37e19e;_0x40eedc++){const _0x16becb=[],_0x1e9efc=(_0x34f234=_0x22ae32[_0x26e6fe(0x124)][_0x26e6fe(0xfc)](_0x40eedc))!=null?_0x34f234:[];for(const _0x439700 of _0x1e9efc){const _0x4ec256=_0x439700['range'][_0x26e6fe(0xd2)],_0x414663=_0x439700[_0x26e6fe(0x144)]['endColumn'],_0x3d801d=Math['max'](_0x4ec256,_0x1e1722),_0x2c7223=Math[_0x26e6fe(0x138)](_0x414663,_0x487960);_0x3d801d<=_0x2c7223&&_0x16becb[_0x26e6fe(0xf6)]([_0x3d801d,_0x2c7223]);}_0x22ae32[_0x26e6fe(0x10f)][_0x26e6fe(0xf3)](_0x48ead1=>{const _0x574484=_0x26e6fe;for(const _0x36836e of _0x48ead1){const _0x285784=_0x36836e[_0x574484(0x144)][_0x574484(0xdb)],_0x3a3a7b=_0x36836e[_0x574484(0x144)][_0x574484(0x10c)];if(_0x285784<=_0x40eedc&&_0x40eedc<=_0x3a3a7b){const _0x4cdacd=_0x36836e[_0x574484(0x144)][_0x574484(0xd2)],_0x384545=_0x36836e['range'][_0x574484(0xe4)],_0x210657=Math[_0x574484(0x14b)](_0x4cdacd,_0x1e1722),_0x1db98f=Math[_0x574484(0x138)](_0x384545,_0x487960);_0x210657<=_0x1db98f&&_0x16becb[_0x574484(0xf6)]([_0x210657,_0x1db98f]);}}});const _0x14616b=_0x5cec0d(_0x16becb),_0x4a0626=_0x14616b/Math[_0x26e6fe(0x14b)](_0x2f6db5,0x1);_0x16becb[_0x26e6fe(0xaa)]>0x0&&(_0x4fc4e5=_0x40eedc),_0x14616b>0x0&&_0x4a0626>=0.75&&!_0x4587cc?_0x3aa5c8=_0x40eedc:_0x16becb[_0x26e6fe(0xaa)]>0x0&&(_0x4587cc=!0x0);}return _0x4fc4e5===_0x590e00||_0x4fc4e5-_0x194d8e===_0x37e19e?_0x3aa5c8-_0x194d8e+0x1:_0x4fc4e5-_0x194d8e+0x1;}function Ue(_0x54f145,_0x5f38b6,_0x2310d0){const _0x326c88=_0x14ec9e;if(_0x54f145['description']+=_0x5f38b6[_0x326c88(0x147)]()+',\x20'+_0x2310d0['name'],_0x54f145[_0x326c88(0x12c)]&&_0x54f145[_0x326c88(0x12c)]!=='')return _0x54f145[_0x326c88(0x12c)];const _0x478e8b=_0x54f145[_0x326c88(0x144)]['startRow'],_0x199ee0=_0x54f145[_0x326c88(0x144)][_0x326c88(0xd2)],_0xd1b940=_0x54f145[_0x326c88(0x144)][_0x326c88(0xe4)],_0x5767c6=0x3,_0x3aac56=_0x54f145[_0x326c88(0x124)][_0x326c88(0xfc)](_0x478e8b);if(_0x3aac56&&_0x3aac56[_0x326c88(0xaa)]>0x0)for(const _0x47f9f2 of _0x3aac56){const _0x39c31b=_0x47f9f2['range'],_0x11931=_0x39c31b['startColumn'],_0x2487c0=_0x39c31b[_0x326c88(0xe4)];if(_0x11931<=_0x199ee0+_0x5767c6&&_0x2487c0>=_0xd1b940-_0x5767c6){const _0x475e45=_0x5f38b6['getCell'](_0x478e8b,_0x11931);if(!_0x475e45)return'';const _0x2f89da=G(_0x475e45);return _0x2f89da==null||_0x2f89da===''?'':(_0x54f145[_0x326c88(0x12c)]=_0x2f89da,_0x2f89da);}}return'';}function Ae(_0x564c89,_0x2a5dae){const _0x27fabe=_0x14ec9e,_0x537e88={};_0x2a5dae['getStyles']()[_0x27fabe(0x120)](_0x2e8b65=>{const _0x219a96=_0x27fabe,[_0x211545,_0x3e0bc2]=_0x2e8b65;return!_0x211545||!_0x3e0bc2||_0x3e0bc2['n']&&typeof _0x3e0bc2['n'][_0x219a96(0xe5)]=='string'&&/[YyMDd]/[_0x219a96(0x14e)](_0x3e0bc2['n']['pattern'])&&(_0x537e88[_0x211545]=!0x0),!0x0;});const _0xfdd885=_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xdb)],_0xcdb59=_0x564c89[_0x27fabe(0x144)][_0x27fabe(0x10c)],_0x2c4a8c=_0x564c89['rowTitleCount'],_0x2c5efa=_0x564c89['sheetId'],_0x5744a7=_0x2a5dae[_0x27fabe(0x11e)](_0x2c5efa);if(!_0x5744a7)return;const _0x5c5067=_0xcdb59-_0xfdd885+0x1-_0x2c4a8c;if(_0x5c5067<=0x1){console[_0x27fabe(0x146)]('skip\x20small\x20table');return;}const _0x51fd0a=[];for(let _0x2b4ace=0x0;_0x2b4ace<_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xe4)]-_0x564c89['range'][_0x27fabe(0xd2)]+0x1;_0x2b4ace++)_0x51fd0a[_0x27fabe(0xf6)](new Te(_0x537e88));const _0x171a4a=Math[_0x27fabe(0xc5)](Math[_0x27fabe(0x14b)](_0x5c5067,0x1));for(let _0x408c76=0x0;;_0x408c76++){const _0x904368=_0x408c76,_0x57e834=Math[_0x27fabe(0xd9)](_0x904368+0.00001*_0x904368**2.7*_0x171a4a*_0x171a4a)+_0xfdd885+_0x2c4a8c;if(_0x57e834>_0xcdb59)break;for(let _0x56ebae=_0x564c89['range']['startColumn'];_0x56ebae<=_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xe4)];_0x56ebae++){const _0x16e521=_0x5744a7[_0x27fabe(0xc2)](_0x57e834,_0x56ebae);_0x16e521&&_0x51fd0a[_0x56ebae-_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xd2)]][_0x27fabe(0xea)](_0x16e521);}}for(let _0x2abea3=0x0;_0x2abea3<_0x564c89[_0x27fabe(0xf0)][_0x27fabe(0xaa)];_0x2abea3++){const [_0x1bb23f,_0x4c646a]=_0x51fd0a[_0x2abea3][_0x27fabe(0x118)]();_0x564c89[_0x27fabe(0xf0)][_0x2abea3]['Type']=_0x1bb23f;}}function fe(_0x2a3995){const _0x1357b7=_0x14ec9e,_0x2af0f0=[];for(const _0x286d38 of _0x2a3995[_0x1357b7(0xe6)])_0x2af0f0[_0x1357b7(0xf6)]({'tableId':_0x286d38['tableId'],'columnId':_0x286d38['columnId'],'linkType':_0x286d38[_0x1357b7(0xd7)]});return _0x2af0f0;}function Oe(_0x204537){return _0x204537['rowTitleCount']===0x1;}function Le(_0x113534,_0x438eaa,_0x2d4ac9,_0x306e61,_0x24e0ba){const _0x29a50c=_0x14ec9e,_0xe3230=_0x306e61[_0x29a50c(0xfc)](H['TableManager']),_0x513742=_0x438eaa[_0x29a50c(0x140)](),_0x44371d=_0x113534[_0x29a50c(0x104)];if(_0xe3230['getTablesBySubunitId'](_0x513742,_0x44371d)){for(const _0x5437b5 of _0x2d4ac9)if(_0x5437b5['id']===_0x113534['id']){_0x5437b5[_0x29a50c(0x12c)]=_0x113534[_0x29a50c(0x12c)],_0x5437b5['meta']={},_0x5437b5[_0x29a50c(0x152)]['description']=_0x113534[_0x29a50c(0x106)],_0x5437b5[_0x29a50c(0x152)]['rowTitleCount']=_0x113534[_0x29a50c(0xca)],_0x5437b5[_0x29a50c(0x152)]['mergeRowTitleCount']=_0x113534[_0x29a50c(0x102)],_0x5437b5[_0x29a50c(0x152)]['isTimeSeries']=_0x113534[_0x29a50c(0xc6)];for(let _0x25c24b=0x0;_0x25c24b<_0x113534[_0x29a50c(0xf0)][_0x29a50c(0xaa)];_0x25c24b++){const _0x38be61=_0x113534[_0x29a50c(0xf0)][_0x25c24b],_0x573274=_0x5437b5[_0x29a50c(0xf0)][_0x25c24b];_0x573274[_0x29a50c(0x13d)]=_0x38be61['Name'],_0x573274[_0x29a50c(0xfd)]=_0x38be61['Type'],_0x573274[_0x29a50c(0x152)]={},_0x573274[_0x29a50c(0x152)]['description']=_0x38be61[_0x29a50c(0x126)],_0x573274[_0x29a50c(0x152)][_0x29a50c(0x11b)]=_0x38be61['isCoded'],_0x573274['meta']['isMeasure']=_0x38be61[_0x29a50c(0x117)],_0x573274[_0x29a50c(0x152)]['isOpinionText']=_0x38be61[_0x29a50c(0x12f)],_0x573274[_0x29a50c(0x152)][_0x29a50c(0x103)]=_0x38be61[_0x29a50c(0x103)],_0x573274['meta']['isLink']=_0x38be61['isLink'],_0x573274['meta'][_0x29a50c(0x157)]=_0x38be61['isTitleRepeat'],_0x573274[_0x29a50c(0x152)][_0x29a50c(0xab)]=_0x38be61[_0x29a50c(0xab)],_0x573274['meta'][_0x29a50c(0xe6)]=fe(_0x38be61);}me(_0x5437b5,_0x44371d,_0x438eaa,_0x24e0ba);}W[_0x29a50c(0x11f)]();}}function De(_0x5003b9,_0x32af64,_0x2813f0,_0x2abcf6){const _0x15960b=_0x14ec9e,_0x3d2cba=_0x2813f0[_0x15960b(0xfc)](H[_0x15960b(0x131)]),_0x272328=_0x32af64[_0x15960b(0x140)](),_0xa90a4c={};for(const [_0x3cec9b,_0x31ce6f]of Object[_0x15960b(0xee)](_0x5003b9)){const _0x59b878=_0x3d2cba[_0x15960b(0x149)](_0x272328,_0x3cec9b),_0x49750f=(_0x59b878==null?void 0x0:_0x59b878[_0x15960b(0xe7)](_0x2d210b=>_0x2d210b['toJSON']()))||[];for(const _0x3be3fb of _0x31ce6f){if(_0x3be3fb[_0x15960b(0x112)]){Le(_0x3be3fb,_0x32af64,_0x49750f,_0x2813f0,_0x2abcf6);continue;}const _0x13024f={'id':_0x3be3fb['id'],'range':{'startRow':_0x3be3fb['range'][_0x15960b(0xdb)]+_0x3be3fb[_0x15960b(0x102)],'endRow':_0x3be3fb[_0x15960b(0x144)][_0x15960b(0x10c)],'startColumn':_0x3be3fb[_0x15960b(0x144)][_0x15960b(0xd2)],'endColumn':_0x3be3fb[_0x15960b(0x144)]['endColumn']},'name':_0x3be3fb['name'],'meta':{},'options':{'showHeader':Oe(_0x3be3fb),'showFooter':!0x1},'columns':[],'filters':{}};_0x13024f[_0x15960b(0x152)][_0x15960b(0x106)]=_0x3be3fb[_0x15960b(0x106)],_0x13024f[_0x15960b(0x152)][_0x15960b(0xca)]=_0x3be3fb[_0x15960b(0xca)],_0x13024f[_0x15960b(0x152)][_0x15960b(0x102)]=_0x3be3fb[_0x15960b(0x102)],_0x13024f[_0x15960b(0x152)][_0x15960b(0xc6)]=_0x3be3fb[_0x15960b(0xc6)];const _0x1f99df=_0x3be3fb[_0x15960b(0x144)][_0x15960b(0xd2)];for(let _0x1a93d1=0x0;_0x1a93d1<_0x3be3fb[_0x15960b(0xf0)]['length'];_0x1a93d1++){const _0x1aa7ff=_0x3be3fb['columns'][_0x1a93d1],_0x13662a={'id':_0x1aa7ff['id'],'displayName':_0x1aa7ff['Name']||'column_'+ne(_0x1f99df+_0x1a93d1),'dataType':_0x1aa7ff[_0x15960b(0xc4)],'meta':{},'formula':'','style':{}};_0x13662a['meta'][_0x15960b(0x106)]=_0x1aa7ff[_0x15960b(0x126)],_0x13662a[_0x15960b(0x152)][_0x15960b(0x11b)]=_0x1aa7ff['isCoded'],_0x13662a['meta'][_0x15960b(0x117)]=_0x1aa7ff[_0x15960b(0x117)],_0x13662a[_0x15960b(0x152)][_0x15960b(0x12f)]=_0x1aa7ff['isOpinionText'],_0x13662a[_0x15960b(0x152)][_0x15960b(0x103)]=_0x1aa7ff[_0x15960b(0x103)],_0x13662a[_0x15960b(0x152)]['isLink']=_0x1aa7ff[_0x15960b(0x13c)],_0x13662a[_0x15960b(0x152)]['isTitleRepeat']=_0x1aa7ff['isTitleRepeat'],_0x13662a[_0x15960b(0x152)]['isUnique']=_0x1aa7ff[_0x15960b(0xab)],_0x13662a['meta'][_0x15960b(0xe6)]=fe(_0x1aa7ff),_0x13024f[_0x15960b(0xf0)][_0x15960b(0xf6)](_0x13662a);}me(_0x13024f,_0x3cec9b,_0x32af64,_0x2abcf6),_0x49750f[_0x15960b(0xf6)](_0x13024f);}_0xa90a4c[_0x3cec9b]=_0x49750f;}for(const _0x2e63d7 of Object[_0x15960b(0x12e)](_0x5003b9))_0x5003b9[_0x2e63d7][_0x15960b(0xf3)](_0x3cc621=>{const _0x79fde8=_0x15960b;_0x3cc621[_0x79fde8(0xd6)]();});return _0xa90a4c;}function ie(_0x28cae,_0xd49936,_0x4a212d=0x5){const _0x16366e=_0x14ec9e;if(!Array[_0x16366e(0x121)](_0x28cae)||_0x28cae[_0x16366e(0xaa)]===0x0)return[];const _0x2ab2f8=Math[_0x16366e(0x138)](_0xd49936,_0x28cae['length']),_0x4ef6d2=Math[_0x16366e(0x138)](_0x2ab2f8+_0x4a212d,_0x28cae['length']);return _0x28cae[_0x16366e(0xdc)](_0x2ab2f8,_0x4ef6d2);}function me(_0x4621ec,_0x6cf8d0,_0x3dcfe4,_0x38bb5e){const _0x215c00=_0x14ec9e,_0x4889a0=_0x3dcfe4[_0x215c00(0x11e)](_0x6cf8d0);if(!_0x4889a0)return;const _0x409c85=_0x4621ec[_0x215c00(0x144)],_0x3e19e8=ke(_0x4889a0,_0x409c85);_0x38bb5e===ee[_0x215c00(0x107)]?_0x4621ec[_0x215c00(0xda)]=JSON['stringify'](ie(_0x3e19e8,0x1,0x5)):_0x38bb5e===ee[_0x215c00(0xb7)]&&(_0x4621ec['data']=JSON[_0x215c00(0xcc)](ie(_0x3e19e8,0x1,_0x3e19e8['length'])));}function ke(_0x3eedb3,_0x332f7f){const _0x232ab4=_0x14ec9e,{startRow:_0x2c9298,endRow:_0x1d5c6b,startColumn:_0xad7389,endColumn:_0x36c8b5}=_0x332f7f,_0x579aa3=[],_0x503355=W[_0x232ab4(0xfc)](_0x3eedb3),_0x584f65=_0x503355==null?void 0x0:_0x503355['mergeRTree'],_0x5654fc=_0x503355==null?void 0x0:_0x503355['mergeRangeMap'],_0x1eccfb=_0x3eedb3[_0x232ab4(0x140)](),_0x3ff90c=_0x3eedb3[_0x232ab4(0xc3)]();for(let _0x2709ad=_0x2c9298;_0x2709ad<=_0x1d5c6b;_0x2709ad++){const _0x599c80=[];for(let _0x6ae996=_0xad7389;_0x6ae996<=_0x36c8b5;_0x6ae996++){const _0x3764c7=_0x3eedb3[_0x232ab4(0xc2)](_0x2709ad,_0x6ae996);let _0x58b28e=_0x3764c7?te(_0x3764c7):void 0x0;if(_0x58b28e==null||_0x58b28e===''){const _0x422dfb={'range':{'startRow':_0x2709ad,'endRow':_0x2709ad,'startColumn':_0x6ae996,'endColumn':_0x6ae996},'unitId':_0x1eccfb,'sheetId':_0x3ff90c},_0x1a85ff=(_0x584f65==null?void 0x0:_0x584f65[_0x232ab4(0x13e)]([_0x422dfb]))||new Map();if(_0x1a85ff[_0x232ab4(0xd5)]>0x0&&_0x5654fc){const _0x2a3dd6=_0x1a85ff['keys']()[_0x232ab4(0x14d)]()[_0x232ab4(0xe3)],_0x2b98c1=_0x5654fc[_0x232ab4(0xfc)](_0x2a3dd6);if(!_0x2b98c1)continue;const _0x2dc63f=_0x3eedb3[_0x232ab4(0xc2)](_0x2b98c1[_0x232ab4(0x144)]['startRow'],_0x2b98c1[_0x232ab4(0x144)][_0x232ab4(0xd2)]);_0x2dc63f&&(_0x58b28e=te(_0x2dc63f));}}_0x599c80[_0x232ab4(0xf6)](_0x58b28e!=null?_0x58b28e:'');}_0x579aa3[_0x232ab4(0xf6)](_0x599c80);}return _0x579aa3;}function Je(_0x12bf08){const _0x20b005=_0x14ec9e;return/https?:\/\/|www\./i[_0x20b005(0x14e)](_0x12bf08);}function Be(_0x3b8208){const _0x5677a2=_0x14ec9e;return Array[_0x5677a2(0x154)](_0x3b8208)['length'];}function ae(_0x47566d){const _0x2d840f=_0x14ec9e;return _0x47566d?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i['test'](_0x47566d[_0x2d840f(0x123)]()):!0x1;}function ne(_0x287ffc){const _0x1ab643=_0x14ec9e;let _0x2a1ab9='',_0x552192=_0x287ffc+0x1;for(;_0x552192>0x0;){const _0xcfc010=(_0x552192-0x1)%0x1a;_0x2a1ab9=String[_0x1ab643(0xbe)](0x41+_0xcfc010)+_0x2a1ab9,_0x552192=Math[_0x1ab643(0xd9)]((_0x552192-0x1)/0x1a);}return _0x2a1ab9;}var Ve=Object['getOwnPropertyDescriptor'],ze=(_0x5cc005,_0x5b1be0,_0x4e53b2,_0xcd346f)=>{const _0x5cb28b=_0x14ec9e;for(var _0x5e66d6=_0xcd346f>0x1?void 0x0:_0xcd346f?Ve(_0x5b1be0,_0x4e53b2):_0x5b1be0,_0x1331f9=_0x5cc005[_0x5cb28b(0xaa)]-0x1,_0x50064e;_0x1331f9>=0x0;_0x1331f9--)(_0x50064e=_0x5cc005[_0x1331f9])&&(_0x5e66d6=_0x50064e(_0x5e66d6)||_0x5e66d6);return _0x5e66d6;},je=(_0x2b43d7,_0x31964a)=>(_0xf382e1,_0xcbf60c)=>_0x31964a(_0xf382e1,_0xcbf60c,_0x2b43d7);exports[_0x14ec9e(0x125)]=class extends $['Disposable']{constructor(_0x4be725){const _0x442adf=_0x14ec9e;super(),this[_0x442adf(0x10d)]=_0x4be725;}[_0x14ec9e(0x155)](_0x37ade0,_0x1cc607){const _0x24b3da=_0x14ec9e;return be(_0x37ade0,this[_0x24b3da(0x10d)],_0x1cc607);}},exports[_0x14ec9e(0x125)]=ze([je(0x0,$['Inject']($[_0x14ec9e(0xd3)]))],exports[_0x14ec9e(0x125)]);var Ge=Object[_0x14ec9e(0x113)],qe=(_0x307b51,_0x20f5e7,_0x41668e,_0x1023cc)=>{for(var _0x4e1fb0=_0x1023cc>0x1?void 0x0:_0x1023cc?Ge(_0x20f5e7,_0x41668e):_0x20f5e7,_0x1e939b=_0x307b51['length']-0x1,_0x33d0c2;_0x1e939b>=0x0;_0x1e939b--)(_0x33d0c2=_0x307b51[_0x1e939b])&&(_0x4e1fb0=_0x33d0c2(_0x4e1fb0)||_0x4e1fb0);return _0x4e1fb0;},le=(_0x28fc55,_0x53a5a2)=>(_0x507349,_0x2fa1b4)=>_0x53a5a2(_0x507349,_0x2fa1b4,_0x28fc55);const We=_0x14ec9e(0x14f);var X;function _0x52dd(){const _0x58f78c=['RangePreprocessController','Description','transform','2\x20January,2006','2580355RkIOxd','columnMergeTitleState','BuildTextUtils','name','mergeRTree','keys','isOpinionText','809184VKYLPy','TableManager','2006/01/02','2006-1-2','onReady','Inject','setConfig','skip\x20small\x20table,\x20idx:','min','generateRandomId','needConvert','endStatisticRowCount','isLink','displayName','bulkSearch','CellValueType','getUnitId','getMonth','getMergeData','mergeRangeMap','range','onStarting','warn','getName','3169xgddLS','getTablesBySubunitId','1811028emijDR','max','string','next','test','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','toJSON','isMatchContinue','meta','splice','from','getAllTableJson','startStatisticRowCount','isTitleRepeat','values','number','length','isUnique','merge','01/02/2006','toLowerCase','02-01-2006','recognizers','STRING','UniverRangePreprocessPlugin','MAX_SAFE_INTEGER','unknown','IConfigService','RTree','All','2\x20Jan.,\x202006','BOOLEAN','184dXfyeg','Module','02/01/2006','2\x20January,\x202006','fromCharCode','_config','168658sRfwHj','Layout','getCell','getSheetId','Type','log10','isTimeSeries','708078BXbPBU','sample','January\x202,2006','rowTitleCount','layout','stringify','_configService','_isRowContinuous','getSheets','has','invalid','startColumn','Injector','isMatchEnd','size','dispose','linkType','valid','floor','data','startRow','slice','NUMBER','saveTableToCache','January\x202,\x202006','excel','2006/1/2','02.01.2006','value','endColumn','pattern','links','map','dateStyles','getDate','Match','rowMergeTitleState','Jan.\x202,\x202006','Confidence','entries','isFinite','columns','endIndex','insertCellData','forEach','confidence','split','push','3ckezVq','body','boolean','url','replace','get','dataType','2006-01-02\x2015:04:05','01-02-2006','sort','intersectWithPreTables','mergeRowTitleCount','isBigText','sheetId','isTestTable','description','Sample','Calc','20060102','timeStampStyles','2006-01-02','endRow','_injector','13993974ivXwfy','columnMergeTitleCountMap','trunc','properties','isUpdateTable','getOwnPropertyDescriptor','getFullYear','symbol','getPlainText','isMeasure','Best','set','None','isCoded','insert','toStringTag','getSheetBySheetId','clear','each','isArray','2006年1月2日','trim','rowMergeTitleCountMap'];_0x52dd=function(){return _0x58f78c;};return _0x52dd();}exports['UniverRangePreprocessPlugin']=(X=class extends $['Plugin']{constructor(_0xe1072f={},_0x443a24,_0x8b658f){const _0xc5c2cf=_0x14ec9e;super(),this[_0xc5c2cf(0xbf)]=_0xe1072f,this['_injector']=_0x443a24,this['_configService']=_0x8b658f;const {..._0x37ba91}=$[_0xc5c2cf(0xac)]({},this[_0xc5c2cf(0xbf)]);this[_0xc5c2cf(0xcd)][_0xc5c2cf(0x136)](We,_0x37ba91);}[_0x14ec9e(0x145)](){const _0x2de682=_0x14ec9e,_0xdbccbd=[[exports['RangePreprocessController']]];$['registerDependencies'](this[_0x2de682(0x10d)],_0xdbccbd);}[_0x14ec9e(0x134)](){}},p(X,'pluginName','UNIVER_RANGE_PREPROCESS_PLUGIN'),X),exports[_0x14ec9e(0xb2)]=qe([le(0x1,$[_0x14ec9e(0x135)]($[_0x14ec9e(0xd3)])),le(0x2,$[_0x14ec9e(0xb5)])],exports[_0x14ec9e(0xb2)]);
|
|
1
|
+
'use strict';const _0x5d4908=_0x1b0b;(function(_0x5258bc,_0x1d2041){const _0x10e0b9=_0x1b0b,_0x45ab45=_0x5258bc();while(!![]){try{const _0x549f85=-parseInt(_0x10e0b9(0x190))/0x1+parseInt(_0x10e0b9(0x1cf))/0x2+parseInt(_0x10e0b9(0x1ce))/0x3+-parseInt(_0x10e0b9(0x20e))/0x4*(-parseInt(_0x10e0b9(0x194))/0x5)+-parseInt(_0x10e0b9(0x224))/0x6+-parseInt(_0x10e0b9(0x1bf))/0x7*(-parseInt(_0x10e0b9(0x20f))/0x8)+-parseInt(_0x10e0b9(0x214))/0x9;if(_0x549f85===_0x1d2041)break;else _0x45ab45['push'](_0x45ab45['shift']());}catch(_0x34ffa6){_0x45ab45['push'](_0x45ab45['shift']());}}}(_0x26a7,0x927a1));var Ce=Object[_0x5d4908(0x1a1)],ge=(_0xff403b,_0x1d1613,_0x438b4c)=>_0x1d1613 in _0xff403b?Ce(_0xff403b,_0x1d1613,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x438b4c}):_0xff403b[_0x1d1613]=_0x438b4c,p=(_0x1d733b,_0x529cfd,_0x3b49b0)=>ge(_0x1d733b,typeof _0x529cfd!='symbol'?_0x529cfd+'':_0x529cfd,_0x3b49b0);Object['defineProperty'](exports,Symbol[_0x5d4908(0x1cb)],{'value':_0x5d4908(0x1df)});const $=require('@univerjs/core');require('@univerjs/sheets-filter');const H=require('@univerjs/sheets-table');function oe(_0x51eb95){const _0xfcae1e=_0x5d4908;return _0x51eb95['v']==null?'':String(_0x51eb95['v'])[_0xfcae1e(0x1db)]();}function he(_0x55ebac){const _0x4796cc=_0x5d4908;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x4796cc(0x1ab)](_0x55ebac);}const Z=0x2,Q=0x1;function ue(_0x4e8e46,_0x2f8d2b){const _0x124fbc=_0x5d4908,_0x500deb={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x2f8d2b];if(!_0x500deb||!_0x500deb[_0x124fbc(0x1ab)](_0x4e8e46))return!0x1;const _0x4cc00f=_0x4e8e46[_0x124fbc(0x226)](/\D+/g,'\x20')['trim']()[_0x124fbc(0x213)](/\s+/)['map'](Number);let _0x49f938=0x0,_0x49dff7=0x1,_0x54914d=0x1,_0x7ffa9c=0x0,_0x5c19f8=0x0,_0x5c8aea=0x0;switch(_0x2f8d2b){case _0x124fbc(0x218):case _0x124fbc(0x223):case _0x124fbc(0x1ef):case _0x124fbc(0x209):[_0x49f938,_0x49dff7,_0x54914d]=_0x4cc00f;break;case'2006年1月2日':[_0x49f938,_0x49dff7,_0x54914d]=_0x4cc00f;break;case _0x124fbc(0x1e8):case _0x124fbc(0x204):case _0x124fbc(0x21c):[_0x54914d,_0x49dff7,_0x49f938]=_0x4cc00f;break;case _0x124fbc(0x1eb):case _0x124fbc(0x1b0):[_0x49dff7,_0x54914d,_0x49f938]=_0x4cc00f;break;case _0x124fbc(0x1f1):{const _0x2c4f21=_0x4e8e46;_0x49f938=+_0x2c4f21[_0x124fbc(0x1a5)](0x0,0x4),_0x49dff7=+_0x2c4f21[_0x124fbc(0x1a5)](0x4,0x6),_0x54914d=+_0x2c4f21[_0x124fbc(0x1a5)](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x124fbc(0x1f0):[_0x49f938,_0x49dff7,_0x54914d,_0x7ffa9c,_0x5c19f8,_0x5c8aea]=_0x4cc00f;break;default:return!0x0;}if(_0x49dff7<0x1||_0x49dff7>0xc||_0x54914d<0x1||_0x54914d>0x1f||_0x7ffa9c<0x0||_0x7ffa9c>0x17||_0x5c19f8<0x0||_0x5c19f8>0x3b||_0x5c8aea<0x0||_0x5c8aea>0x3b)return!0x1;const _0x4a888b=new Date(_0x49f938,_0x49dff7-0x1,_0x54914d,_0x7ffa9c,_0x5c19f8,_0x5c8aea);return!(_0x4a888b['getFullYear']()!==_0x49f938||_0x4a888b[_0x124fbc(0x23d)]()!==_0x49dff7-0x1||_0x4a888b[_0x124fbc(0x1aa)]()!==_0x54914d);}function we(_0x1a6d7b){const _0x2b0e41=_0x5d4908;return Number[_0x2b0e41(0x1c2)](_0x1a6d7b)&&_0x1a6d7b>=0x1&&_0x1a6d7b<=0x13880;}function pe(_0x4fe4e1){const _0x2cca14=_0x5d4908;switch(_0x4fe4e1){case 0x0:return'string';case 0x1:return _0x2cca14(0x198);case 0x2:case 0x3:case 0x4:return _0x2cca14(0x1e3);case 0x5:return _0x2cca14(0x1be);default:return _0x2cca14(0x207);}}class Y{constructor(){const _0x54f111=_0x5d4908;p(this,_0x54f111(0x203),0x0),p(this,_0x54f111(0x23e),0x0),p(this,_0x54f111(0x1fe),0x0);}}function _0x26a7(){const _0x14a001=['timeStampStyles','getSheetBySheetId','add','length','trim','getOwnPropertyDescriptor','body','RangePreprocessController','Module','getColumnCount','isMatchContinue','startIndex','date','endRow','getCell','warn','toJSON','02-01-2006','push','dispose','01-02-2006','registerDependencies','isUpdateTable','meta','2006/01/02','2006-01-02\x2015:04:05','20060102','RTree','TableManager','rowMergeTitleState','forEach','columns','none','endColumn','Description','clear','max','log10','isMeasure','confidence','NUMBER','tableId','map','values','valid','02/01/2006','sort','None','unknown','needConvert','2006/1/2','keys','trunc','getStyles','getSheetId','4okLcyD','912xMcNJJ','CellValueType','isTimeSeries','fromCharCode','split','24575193cGVZdj','value','string','All','2006-01-02','description','_config','next','02.01.2006','getRowCount','columnMergeTitleState','startRow','insertCellData','rowTitleCount','isOpinionText','2006-1-2','1222662kGRLFN','_injector','replace','each','splice','getAllTableJson','saveTableToCache','Inject','getMergeData','bulkSearch','Plugin','isCoded','BuildTextUtils','endIndex','mergeRowTitleCount','Type','links','startStatisticRowCount','has','IConfigService','url','isTestTable','startColumn','get','pattern','getMonth','invalid','table','setConfig','isLink','_configService','211844RRzKbh','Match','Name','layout','3643555bVUWwX','getTablesBySubunitId','getTableList','from','number','entries','dataStream','size','excel','_isRowContinuous','2006年1月2日','January\x202,\x202006','2\x20Jan.,\x202006','defineProperty','data','columnMergeTitleCountMap','isBigText','slice','Calc','range','Layout','sample','getDate','test','UniverRangePreprocessPlugin','dataType','January\x202,2006','skip\x20small\x20table','01/02/2006','getUnitId','all','intersectWithPreTables','isUnique','floor','Injector','UNIVER_RANGE_PREPROCESS_PLUGIN','isTitleRepeat','min','mergeRTree','Sample','name','stringify','boolean','59962FuCcdN','onReady','rowMergeTitleCountMap','isFinite','isArray','column_','getName','Charset','merge','recognizers','getSheets','generateRandomId','toStringTag','dateStyles','isMatchEnd','3379962esxEWL','1828556lswalW','insert','set','Confidence','sheetId','endStatisticRowCount','Best','transform'];_0x26a7=function(){return _0x14a001;};return _0x26a7();}class I extends Y{constructor(_0x33f217){const _0x3ee132=_0x5d4908;super(),p(this,_0x3ee132(0x1d7)),p(this,'dt'),p(this,_0x3ee132(0x193)),p(this,_0x3ee132(0x208)),(this['dt']=_0x33f217['dt'],this['layout']=_0x33f217[_0x3ee132(0x193)],this[_0x3ee132(0x208)]=!!_0x33f217[_0x3ee132(0x208)]);}[_0x5d4908(0x191)](_0x52735c){const _0x28075d=_0x5d4908;if(_0x52735c['t']===$['CellValueType']['STRING']){const _0x51e763=oe(_0x52735c);if(!_0x51e763)return;ue(_0x51e763,this[_0x28075d(0x193)])?this[_0x28075d(0x203)]+=Z:this['invalid']++;}}['Calc'](){const _0x493303=_0x5d4908,_0x5b0298=0x64-Math[_0x493303(0x20b)]((this['invalid']*0xa+0x1)*0x64/(this[_0x493303(0x23e)]+this[_0x493303(0x203)]+0x1)),_0x24f0ab={'Charset':this['dt'],'Confidence':_0x5b0298,'debugInfo':this[_0x493303(0x193)]};return this[_0x493303(0x208)]&&(_0x24f0ab[_0x493303(0x1a8)]=this[_0x493303(0x193)]),_0x24f0ab;}}class re extends Y{constructor(_0x24fe81){const _0x3417c4=_0x5d4908;super(),p(this,'dateStyles'),p(this,_0x3417c4(0x1d7)),p(this,'dt'),p(this,_0x3417c4(0x193)),p(this,'needConvert'),(this[_0x3417c4(0x1cc)]=_0x24fe81[_0x3417c4(0x1cc)]||{},this['dt']=_0x24fe81['dt'],this[_0x3417c4(0x193)]=_0x24fe81['layout'],this[_0x3417c4(0x208)]=!!_0x24fe81[_0x3417c4(0x208)]);}[_0x5d4908(0x191)](_0xa0b668){const _0xa81eef=_0x5d4908;if(_0xa0b668['t']===$[_0xa81eef(0x210)]['NUMBER']){if(_0xa0b668['s']&&this[_0xa81eef(0x1cc)][_0xa0b668['s']]){this[_0xa81eef(0x203)]+=Z;return;}const _0x2e643d=oe(_0xa0b668);if(!_0x2e643d)return;if(this[_0xa81eef(0x193)]==='excel'){const _0x5c4bc2=Number(_0x2e643d);if(we(_0x5c4bc2)){this[_0xa81eef(0x203)]+=Z;return;}}ue(_0x2e643d,this[_0xa81eef(0x193)])?this[_0xa81eef(0x203)]+=Z:this[_0xa81eef(0x23e)]++;}}[_0x5d4908(0x1a6)](){const _0x4cbf8d=_0x5d4908,_0x669ca4=0x64-Math['trunc']((this[_0x4cbf8d(0x23e)]*0xa+0x1)*0x64/(this[_0x4cbf8d(0x23e)]+this[_0x4cbf8d(0x203)]+0x1)),_0x2b8339={'Charset':this['dt'],'Confidence':_0x669ca4,'debugInfo':this[_0x4cbf8d(0x193)]};return this['needConvert']&&(_0x2b8339[_0x4cbf8d(0x1a8)]=this['layout']),_0x2b8339;}}class Me extends Y{[_0x5d4908(0x191)](_0xb81253){const _0x1959da=_0x5d4908;if(_0xb81253['t']===$[_0x1959da(0x210)][_0x1959da(0x1ff)])this[_0x1959da(0x203)]+=Q;else{const _0x3410a9=oe(_0xb81253);if(!_0x3410a9)return;he(_0x3410a9)?this[_0x1959da(0x203)]+=Q:this[_0x1959da(0x23e)]++;}}[_0x5d4908(0x1a6)](){const _0x41b6b8=_0x5d4908;return{'Charset':0x1,'Confidence':0x64-Math['trunc']((this['invalid']*0xa+0x1)*0x64/(this[_0x41b6b8(0x23e)]+this[_0x41b6b8(0x203)]+0x1)),'debugInfo':_0x41b6b8(0x198)};}}class Re extends Y{['Match'](_0x430da6){const _0xb2c236=_0x5d4908;_0x430da6['t']===$['CellValueType']['BOOLEAN']?this[_0xb2c236(0x203)]+=Q:this[_0xb2c236(0x23e)]++;}['Calc'](){const _0x45e824=_0x5d4908;return{'Charset':0x5,'Confidence':0x64-Math[_0x45e824(0x20b)]((this[_0x45e824(0x23e)]*0xa+0x1)*0x64/(this[_0x45e824(0x23e)]+this[_0x45e824(0x203)]+0x1)),'debugInfo':'number'};}}class Te{constructor(_0x240b8e){const _0x11c34b=_0x5d4908;p(this,'recognizers'),p(this,_0x11c34b(0x1cc)),(this[_0x11c34b(0x1cc)]=_0x240b8e||{},this[_0x11c34b(0x1c8)]=[new I({'dt':0x2,'layout':_0x11c34b(0x218)}),new I({'dt':0x2,'layout':_0x11c34b(0x223)}),new I({'dt':0x2,'layout':'2006/01/02'}),new I({'dt':0x2,'layout':_0x11c34b(0x209)}),new I({'dt':0x2,'layout':_0x11c34b(0x19e),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x1e8),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x204),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x21c),'needConvert':!0x0}),new I({'dt':0x2,'layout':'01-02-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x1b0),'needConvert':!0x0}),new I({'dt':0x2,'layout':'2\x20January,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':'2\x20January,2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x1a0),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x19f),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x1ae),'needConvert':!0x0}),new I({'dt':0x2,'layout':'Jan.\x202,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x11c34b(0x1f1),'needConvert':!0x0}),new re({'dateStyles':this[_0x11c34b(0x1cc)],'dt':0x2,'layout':_0x11c34b(0x1f1),'needConvert':!0x0}),new I({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new I({'dt':0x4,'layout':_0x11c34b(0x1f0)}),new re({'dateStyles':this[_0x11c34b(0x1cc)],'dt':0x3,'layout':_0x11c34b(0x19c),'needConvert':!0x0}),new Me(),new Re()]);}[_0x5d4908(0x191)](_0x1c8432){const _0xa49d6a=_0x5d4908;for(const _0x464df0 of this[_0xa49d6a(0x1c8)])_0x464df0[_0xa49d6a(0x191)](_0x1c8432);}[_0x5d4908(0x1d5)](){const _0x52bb3e=_0x5d4908,_0x12f563=this[_0x52bb3e(0x1c8)][_0x52bb3e(0x201)](_0x2fb01e=>_0x2fb01e[_0x52bb3e(0x1a6)]());if(_0x12f563[_0x52bb3e(0x205)]((_0x1567a1,_0x1bc97e)=>_0x1bc97e[_0x52bb3e(0x1d2)]-_0x1567a1[_0x52bb3e(0x1d2)]),_0x12f563['length']===0x0||_0x12f563[0x0]['Confidence']<0x32)return['string',null];const _0x38e093=_0x12f563[0x0];return[pe(_0x38e093[_0x52bb3e(0x1c6)]),_0x38e093];}}function ce(_0xcfd3a8,_0x56ec5f){const _0x2c02af=_0x5d4908;let _0x51cea8=_0xcfd3a8,_0x38d777=_0x56ec5f;_0x51cea8<=0x0&&(_0x51cea8=0x6),_0x38d777<=0x0&&(_0x38d777=0xa),_0x38d777=_0x38d777*0x2;const _0x2e77f0=[];for(let _0xe3e4bd=0x0;_0xe3e4bd<_0x38d777;_0xe3e4bd++)_0x2e77f0[_0x2c02af(0x1e9)]($['generateRandomId'](_0x51cea8));const _0x2867fa=new Map();for(const _0x15820c of _0x2e77f0){const _0x655029=_0x15820c['toLowerCase']();_0x2867fa[_0x2c02af(0x236)](_0x655029)||_0x2867fa['set'](_0x655029,_0x15820c);}return Array[_0x2c02af(0x197)](_0x2867fa[_0x2c02af(0x202)]());}var ee=(_0x25626c=>(_0x25626c[_0x5d4908(0x206)]=_0x5d4908(0x1f7),_0x25626c['All']=_0x5d4908(0x1b2),_0x25626c[_0x5d4908(0x1bb)]=_0x5d4908(0x1a9),_0x25626c))(ee||{});class K{constructor(_0x2afa79){const _0x30b23c=_0x5d4908;p(this,'id'),p(this,_0x30b23c(0x1d3)),p(this,_0x30b23c(0x1a7)),p(this,'name'),p(this,_0x30b23c(0x219)),p(this,'rowTitleCount'),p(this,_0x30b23c(0x232)),p(this,_0x30b23c(0x235)),p(this,_0x30b23c(0x1d4)),p(this,_0x30b23c(0x1c1)),p(this,_0x30b23c(0x1f4)),p(this,_0x30b23c(0x21e)),p(this,'columnMergeTitleCountMap'),p(this,'isMatchEnd'),p(this,_0x30b23c(0x1e1)),p(this,_0x30b23c(0x211)),p(this,'isTestTable'),p(this,_0x30b23c(0x1ed)),p(this,'columns');var _0x3f3c75,_0x59b242,_0x297c29,_0x25ce2a,_0x276bc3,_0x1d297c,_0x58453b,_0x2371a3,_0x3f81b7,_0x507bac,_0x3f26a4,_0x56686b,_0x308364,_0x3b40c0,_0xd17036,_0xe8f339,_0x473649,_0x5b9103,_0x2cc3c6;this['id']=(_0x3f3c75=_0x2afa79==null?void 0x0:_0x2afa79['id'])!=null?_0x3f3c75:'',this[_0x30b23c(0x1d3)]=(_0x59b242=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1d3)])!=null?_0x59b242:$[_0x30b23c(0x1ca)](),this[_0x30b23c(0x1a7)]=(_0x297c29=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1a7)])!=null?_0x297c29:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this['name']=(_0x25ce2a=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1bc)])!=null?_0x25ce2a:'',this[_0x30b23c(0x219)]=(_0x276bc3=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x219)])!=null?_0x276bc3:'',this[_0x30b23c(0x221)]=(_0x1d297c=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x221)])!=null?_0x1d297c:0x0,this[_0x30b23c(0x232)]=(_0x58453b=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x232)])!=null?_0x58453b:0x0,this[_0x30b23c(0x235)]=(_0x2371a3=_0x2afa79==null?void 0x0:_0x2afa79['startStatisticRowCount'])!=null?_0x2371a3:0x0,this[_0x30b23c(0x1d4)]=(_0x3f81b7=_0x2afa79==null?void 0x0:_0x2afa79['endStatisticRowCount'])!=null?_0x3f81b7:0x0,this[_0x30b23c(0x1c1)]=(_0x507bac=_0x2afa79==null?void 0x0:_0x2afa79['rowMergeTitleCountMap'])!=null?_0x507bac:new Map(),this[_0x30b23c(0x1f4)]=(_0x3f26a4=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1f4)])!=null?_0x3f26a4:!0x1,this[_0x30b23c(0x21e)]=(_0x56686b=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x21e)])!=null?_0x56686b:!0x1,this['columnMergeTitleCountMap']=(_0x308364=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1a3)])!=null?_0x308364:new Map(),this[_0x30b23c(0x1cd)]=(_0x3b40c0=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1cd)])!=null?_0x3b40c0:!0x1,this[_0x30b23c(0x1e1)]=(_0xd17036=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1e1)])!=null?_0xd17036:!0x1,this[_0x30b23c(0x211)]=(_0xe8f339=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x211)])!=null?_0xe8f339:!0x1,this[_0x30b23c(0x239)]=(_0x473649=_0x2afa79==null?void 0x0:_0x2afa79['isTestTable'])!=null?_0x473649:!0x1,this[_0x30b23c(0x1ed)]=(_0x5b9103=_0x2afa79==null?void 0x0:_0x2afa79['isUpdateTable'])!=null?_0x5b9103:!0x1,this[_0x30b23c(0x1f6)]=(_0x2cc3c6=_0x2afa79==null?void 0x0:_0x2afa79[_0x30b23c(0x1f6)])!=null?_0x2cc3c6:[];}['_isRowContinuous'](_0x245c06,_0x3f429f){return _0x3f429f-_0x245c06===0x1||_0x3f429f===_0x245c06;}[_0x5d4908(0x1b3)](_0x49c5c0){const _0x53a6ce=_0x5d4908,_0x34c35c=[];for(const _0x1ef6b8 of _0x49c5c0)this[_0x53a6ce(0x1a7)]['endColumn']<_0x1ef6b8['range'][_0x53a6ce(0x23a)]||this[_0x53a6ce(0x1a7)][_0x53a6ce(0x23a)]>_0x1ef6b8['range'][_0x53a6ce(0x1f8)]||this[_0x53a6ce(0x19d)](_0x1ef6b8[_0x53a6ce(0x1a7)]['endRow'],this[_0x53a6ce(0x1a7)][_0x53a6ce(0x21f)])&&_0x34c35c[_0x53a6ce(0x1e9)](_0x1ef6b8);return _0x34c35c;}['intersectWithColumns'](_0x212fb5){const _0x14cccc=_0x5d4908;return _0x212fb5[_0x14cccc(0x1a7)]['endRow']===this[_0x14cccc(0x1a7)]['startRow']&&this[_0x14cccc(0x1a7)][_0x14cccc(0x1f8)]+0x1===_0x212fb5[_0x14cccc(0x1a7)][_0x14cccc(0x23a)];}['saveTableToCache'](_0x2d5f3e){const _0x535e40=_0x5d4908;return this[_0x535e40(0x1a7)][_0x535e40(0x23a)]===-0x1?this:(_0x2d5f3e[_0x535e40(0x1e9)](this),new K({'sheetId':this[_0x535e40(0x1d3)],'range':{'startRow':this[_0x535e40(0x1a7)][_0x535e40(0x21f)],'endRow':this[_0x535e40(0x1a7)][_0x535e40(0x1e4)],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x5d4908(0x220)](_0x1012a5,_0x42917c,_0x398fdc,_0xc30df8){const _0x155337=_0x5d4908;this['range'][_0x155337(0x23a)]===-0x1&&(this[_0x155337(0x1a7)]['startColumn']=_0x42917c),this[_0x155337(0x1a7)]['endColumn']=_0x42917c,_0xc30df8!=null&&(this['range'][_0x155337(0x1f8)]=Math['max'](_0xc30df8,this['range'][_0x155337(0x1f8)]));}[_0x5d4908(0x1ea)](){const _0x52daac=_0x5d4908;this[_0x52daac(0x1c1)]['clear'](),this['columnMergeTitleCountMap']['clear'](),this[_0x52daac(0x1f6)]=[];}}function de(_0x403523,_0x3e8c56){const {startRow:_0x383441,startColumn:_0x4a614d,endRow:_0x561d1d,endColumn:_0xb64424}=_0x3e8c56;return _0x403523+':'+_0x383441+','+_0x4a614d+'-'+_0x561d1d+','+_0xb64424;}const W=new Map();function ye(_0x85b068,_0x107b5d){const _0x4fb8ad=_0x5d4908;var _0x41a38e;const _0x2d168b=new $['RTree'](!0x1),_0x2f6833=_0x107b5d[_0x4fb8ad(0x20d)](),_0x5b1a48=new Map(),_0x26e7c2=(_0x41a38e=_0x107b5d[_0x4fb8ad(0x22c)]())!=null?_0x41a38e:[];W[_0x4fb8ad(0x1fa)]();for(const _0x513e7c of _0x26e7c2){const _0x2244fc=de(_0x4fb8ad(0x1c7),_0x513e7c),_0x3ccf8a={'unitId':_0x85b068,'sheetId':_0x2f6833,'range':_0x513e7c,'id':_0x2244fc};_0x2d168b['insert'](_0x3ccf8a),_0x5b1a48[_0x4fb8ad(0x1d1)](_0x2244fc,_0x3ccf8a);}return W[_0x4fb8ad(0x1d1)](_0x107b5d,{'mergeRTree':_0x2d168b,'mergeRangeMap':_0x5b1a48}),{'mergeRTree':_0x2d168b,'mergeRangeMap':_0x5b1a48};}function Se(_0x26e939,_0x1ffffe,_0x42b496){const _0xbef776=_0x5d4908,_0x8de191=new $[(_0xbef776(0x1f2))](!0x1),_0x4d2435=_0x42b496[_0xbef776(0x23b)](H[_0xbef776(0x1f3)])[_0xbef776(0x196)](_0x26e939);if(_0x4d2435&&Array[_0xbef776(0x1c3)](_0x4d2435))for(const _0x28f2bf of _0x4d2435){if(!(_0x28f2bf!=null&&_0x28f2bf[_0xbef776(0x1a7)]))continue;const _0x3bf9d6=_0x28f2bf[_0xbef776(0x1a7)],_0x472cae={'unitId':_0x26e939,'sheetId':_0x1ffffe,'range':_0x3bf9d6,'id':de(_0xbef776(0x23f),_0x3bf9d6)};_0x8de191[_0xbef776(0x1d0)](_0x472cae);}return _0x8de191;}function se(_0x33c5ce,_0x161926,_0x60e004){const _0xa52cfb=_0x5d4908,_0x353729=_0x33c5ce[_0xa52cfb(0x23b)](_0x161926);_0x353729?_0x353729['push'](_0x60e004):_0x33c5ce[_0xa52cfb(0x1d1)](_0x161926,[_0x60e004]);}function ve(_0x70aba3,_0x9fa8e){const _0x328c39=_0x5d4908;var _0x460710,_0xb5bb32,_0x515781;const _0x193c65=_0x70aba3[_0x328c39(0x1c9)](),_0x28a135={},_0x42902c=_0x70aba3[_0x328c39(0x1b1)]();for(const _0x390df1 of _0x193c65){const _0x2d7294=_0x390df1[_0x328c39(0x20d)](),_0x69141d=_0x390df1[_0x328c39(0x21d)](),_0x54d60f=_0x390df1[_0x328c39(0x1e0)](),{mergeRTree:_0x579900,mergeRangeMap:_0xfa52d7}=ye(_0x42902c,_0x390df1),_0x35f418=Se(_0x42902c,_0x2d7294,_0x9fa8e),_0x91ca7c=[];let _0x493d24=[];for(let _0x3426f4=0x0;_0x3426f4<_0x69141d;_0x3426f4++){const _0x29da74=[];let _0x51cdd6=new K({'sheetId':_0x2d7294,'range':{'startRow':_0x3426f4,'endRow':_0x3426f4,'startColumn':-0x1,'endColumn':-0x1}});const _0x479185=new Map();for(let _0xc06595=0x0;_0xc06595<=_0x54d60f;_0xc06595++){const _0x1f6182=_0x390df1['getCell'](_0x3426f4,_0xc06595),_0x552826={'range':{'startRow':_0x3426f4,'startColumn':_0xc06595,'endRow':_0x3426f4,'endColumn':_0xc06595},'unitId':_0x42902c,'sheetId':_0x2d7294};if(_0x35f418[_0x328c39(0x22d)]([_0x552826])[_0x328c39(0x19b)]>0x0){_0x51cdd6=_0x51cdd6['saveTableToCache'](_0x29da74);continue;}const _0x153154=_0x579900[_0x328c39(0x22d)]([_0x552826]);if(_0x153154[_0x328c39(0x19b)]>0x0){const _0xa18f72=_0x51cdd6[_0x328c39(0x1b3)](_0x493d24),_0x1e27cc=_0x153154[_0x328c39(0x20a)]()['next']()[_0x328c39(0x215)],_0x1df23f=_0xfa52d7['get'](_0x1e27cc);if(!_0x1df23f)continue;const _0x1a71cb={'startRow':_0x1df23f[_0x328c39(0x1a7)][_0x328c39(0x21f)],'endRow':_0x1df23f[_0x328c39(0x1a7)][_0x328c39(0x1e4)],'startColumn':_0x1df23f[_0x328c39(0x1a7)][_0x328c39(0x23a)],'endColumn':_0x1df23f[_0x328c39(0x1a7)][_0x328c39(0x1f8)]},_0x460fee=_0x390df1[_0x328c39(0x1e5)](_0x1a71cb['startRow'],_0x1a71cb['startColumn']);if(_0x460fee&&(_0x460fee['p']!=null||_0x460fee['v']!=null&&String(_0x460fee['v'])[_0x328c39(0x1da)]>0x0)){_0x51cdd6[_0x328c39(0x220)](_0x3426f4,_0xc06595,_0x1f6182,_0x1a71cb[_0x328c39(0x1f8)]);for(let _0x293bdc=_0x1a71cb[_0x328c39(0x23a)];_0x293bdc<=_0x1a71cb[_0x328c39(0x1f8)];_0x293bdc++)_0x479185[_0x328c39(0x1d1)](_0x293bdc,!0x0);}else _0x51cdd6=_0x51cdd6[_0x328c39(0x22a)](_0x29da74);const _0x1c6582=_0x1a71cb[_0x328c39(0x1e4)]-_0x1a71cb[_0x328c39(0x21f)],_0x36ff44=_0x1a71cb[_0x328c39(0x1f8)]-_0x1a71cb[_0x328c39(0x23a)];if(_0xa18f72[_0x328c39(0x1da)]===0x1){if(_0x1c6582>0x0&&se(_0x51cdd6[_0x328c39(0x1a3)],_0xc06595,_0x1df23f),_0x36ff44>0x0){const _0x5b8290=(_0x460710=_0x51cdd6[_0x328c39(0x1c1)][_0x328c39(0x23b)](_0x3426f4))!=null?_0x460710:[];_0x5b8290[_0x328c39(0x1e9)](_0x1df23f),_0x51cdd6[_0x328c39(0x1c1)]['set'](_0x3426f4,_0x5b8290);}}else{if(_0x1c6582>0x0&&(_0x51cdd6[_0x328c39(0x21e)]=!0x0,se(_0x51cdd6['columnMergeTitleCountMap'],_0xc06595,_0x1df23f)),_0x36ff44>0x0){_0x51cdd6[_0x328c39(0x1f4)]=!0x0;const _0x33cbcd=(_0xb5bb32=_0x51cdd6['rowMergeTitleCountMap'][_0x328c39(0x23b)](_0x3426f4))!=null?_0xb5bb32:[];_0x33cbcd[_0x328c39(0x1e9)](_0x1df23f),_0x51cdd6[_0x328c39(0x1c1)][_0x328c39(0x1d1)](_0x3426f4,_0x33cbcd);}}continue;}if((!_0x1f6182||G(_0x1f6182)==null)&&!_0x479185[_0x328c39(0x23b)](_0xc06595)){_0x51cdd6=_0x51cdd6[_0x328c39(0x22a)](_0x29da74);continue;}_0x1f6182&&G(_0x1f6182)!=null?_0x51cdd6[_0x328c39(0x220)](_0x3426f4,_0xc06595,_0x1f6182):(_0x51cdd6[_0x328c39(0x1f4)]=!0x1,_0x51cdd6['columnMergeTitleState']=!0x1,_0x51cdd6=_0x51cdd6[_0x328c39(0x22a)](_0x29da74));}if(_0x29da74[_0x328c39(0x1da)]===0x0){_0x91ca7c[_0x328c39(0x1e9)](..._0x493d24),_0x493d24=[];continue;}if(_0x493d24[_0x328c39(0x1da)]===0x0){_0x493d24[_0x328c39(0x1e9)](..._0x29da74);continue;}const _0x4d784d=(_0x41ddaf,_0x248d2a)=>{const _0xad5b0f=_0x328c39;_0x41ddaf[_0xad5b0f(0x1a7)]['startRow']=Math[_0xad5b0f(0x1b9)](_0x41ddaf['range']['startRow'],_0x248d2a['range'][_0xad5b0f(0x21f)]),_0x41ddaf['range'][_0xad5b0f(0x1e4)]=Math[_0xad5b0f(0x1fb)](_0x41ddaf['range'][_0xad5b0f(0x1e4)],_0x248d2a['range'][_0xad5b0f(0x1e4)]),_0x41ddaf[_0xad5b0f(0x1a7)]['startColumn']=Math[_0xad5b0f(0x1b9)](_0x41ddaf[_0xad5b0f(0x1a7)]['startColumn'],_0x248d2a[_0xad5b0f(0x1a7)][_0xad5b0f(0x23a)]),_0x41ddaf[_0xad5b0f(0x1a7)][_0xad5b0f(0x1f8)]=Math[_0xad5b0f(0x1fb)](_0x41ddaf[_0xad5b0f(0x1a7)][_0xad5b0f(0x1f8)],_0x248d2a[_0xad5b0f(0x1a7)][_0xad5b0f(0x1f8)]),_0x248d2a[_0xad5b0f(0x1c1)][_0xad5b0f(0x1f5)]((_0x5a23ec,_0x53b91e)=>{const _0x591661=_0xad5b0f;var _0x2ccd01;const _0x1b19bd=(_0x2ccd01=_0x41ddaf[_0x591661(0x1c1)][_0x591661(0x23b)](_0x53b91e))!=null?_0x2ccd01:[];_0x1b19bd[_0x591661(0x1e9)](..._0x5a23ec),_0x41ddaf['rowMergeTitleCountMap'][_0x591661(0x1d1)](_0x53b91e,_0x1b19bd);}),_0x248d2a[_0xad5b0f(0x1a3)][_0xad5b0f(0x1f5)]((_0x5337a8,_0x4fad21)=>{const _0x3eaeba=_0xad5b0f;var _0x18ab3f;const _0x470d03=(_0x18ab3f=_0x41ddaf[_0x3eaeba(0x1a3)][_0x3eaeba(0x23b)](_0x4fad21))!=null?_0x18ab3f:[];_0x470d03['push'](..._0x5337a8),_0x41ddaf[_0x3eaeba(0x1a3)]['set'](_0x4fad21,_0x470d03);});};for(let _0x4f6e63=0x0;_0x4f6e63+0x1<_0x29da74[_0x328c39(0x1da)];_0x4f6e63++){const _0x3f2f56=_0x29da74[_0x4f6e63],_0x436fd8=_0x29da74[_0x4f6e63+0x1];_0x3f2f56['intersectWithColumns'](_0x436fd8)&&(_0x4d784d(_0x3f2f56,_0x436fd8),_0x29da74[_0x328c39(0x228)](_0x4f6e63+0x1,0x1),_0x4f6e63--);}const _0x56e37b=[];for(const _0x5ad7a8 of _0x29da74){const _0x2e4b6f=_0x5ad7a8['intersectWithPreTables'](_0x493d24);if(_0x2e4b6f['length']===0x0){_0x56e37b[_0x328c39(0x1e9)](_0x5ad7a8);continue;}const _0x4ae62d=(_0x515781=_0x5ad7a8[_0x328c39(0x1c1)]['get'](_0x3426f4))!=null?_0x515781:[];let _0x54aabe=Number['MAX_SAFE_INTEGER'],_0x3da13e=-0x1,_0x5ef6ec=-0x1;for(const _0x1997cb of _0x4ae62d){const _0x1907ed=_0x1997cb[_0x328c39(0x1a7)],_0xd17bf4=_0x1907ed[_0x328c39(0x23a)],_0x2602f9=_0x1907ed[_0x328c39(0x1f8)];_0x54aabe=Math[_0x328c39(0x1b9)](_0x54aabe,_0xd17bf4),_0x3da13e=Math[_0x328c39(0x1fb)](_0x3da13e,_0x2602f9);}_0x3da13e===-0x1&&(_0x5ef6ec=_0x3da13e-_0x54aabe+0x1);const _0x2512ad=_0x2e4b6f[0x0][_0x328c39(0x1a7)],_0x2342da=_0x2512ad['endColumn']-_0x2512ad[_0x328c39(0x23a)]+0x1;if(_0x5ef6ec>=0x0&&_0x5ef6ec<=_0x2342da*0x3/0x4){_0x56e37b[_0x328c39(0x1e9)](_0x5ad7a8);continue;}const _0x3e414c=_0x2e4b6f[0x0];for(const _0x321310 of _0x2e4b6f[_0x328c39(0x1a5)](0x1))_0x3e414c['range'][_0x328c39(0x21f)]=Math[_0x328c39(0x1b9)](_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x21f)],_0x321310['range'][_0x328c39(0x21f)]),_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x1e4)]=Math['max'](_0x3e414c['range']['endRow'],_0x321310[_0x328c39(0x1a7)][_0x328c39(0x1e4)]),_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x23a)]=Math[_0x328c39(0x1b9)](_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x23a)],_0x321310['range'][_0x328c39(0x23a)]),_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x1f8)]=Math[_0x328c39(0x1fb)](_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x1f8)],_0x321310[_0x328c39(0x1a7)][_0x328c39(0x1f8)]);_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x21f)]=Math[_0x328c39(0x1b9)](_0x3e414c['range'][_0x328c39(0x21f)],_0x5ad7a8[_0x328c39(0x1a7)]['startRow']),_0x3e414c[_0x328c39(0x1a7)]['endRow']=Math['max'](_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x1e4)],_0x5ad7a8[_0x328c39(0x1a7)][_0x328c39(0x1e4)]),_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x23a)]=Math['min'](_0x3e414c[_0x328c39(0x1a7)]['startColumn'],_0x5ad7a8[_0x328c39(0x1a7)][_0x328c39(0x23a)]),_0x3e414c[_0x328c39(0x1a7)]['endColumn']=Math[_0x328c39(0x1fb)](_0x3e414c[_0x328c39(0x1a7)][_0x328c39(0x1f8)],_0x5ad7a8[_0x328c39(0x1a7)]['endColumn']),_0x5ad7a8[_0x328c39(0x1c1)][_0x328c39(0x1f5)]((_0x393e46,_0x54b316)=>{const _0x3b2a4b=_0x328c39;var _0x52e21b;const _0x42d3a9=(_0x52e21b=_0x3e414c[_0x3b2a4b(0x1c1)]['get'](_0x54b316))!=null?_0x52e21b:[];_0x42d3a9[_0x3b2a4b(0x1e9)](..._0x393e46),_0x3e414c['rowMergeTitleCountMap'][_0x3b2a4b(0x1d1)](_0x54b316,_0x42d3a9);}),_0x5ad7a8['columnMergeTitleCountMap'][_0x328c39(0x1f5)]((_0x13118e,_0x4adafd)=>{const _0x535f02=_0x328c39;var _0x4cb10a;const _0x48c40b=(_0x4cb10a=_0x3e414c[_0x535f02(0x1a3)][_0x535f02(0x23b)](_0x4adafd))!=null?_0x4cb10a:[];_0x48c40b['push'](..._0x13118e),_0x3e414c['columnMergeTitleCountMap'][_0x535f02(0x1d1)](_0x4adafd,_0x48c40b);}),_0x3e414c[_0x328c39(0x1e1)]=!0x0;}const _0x112ca6=[];for(const _0x1d4d85 of _0x493d24)!_0x1d4d85[_0x328c39(0x1e1)]&&_0x1d4d85['isMatchEnd']||(_0x112ca6['push'](_0x1d4d85),_0x1d4d85[_0x328c39(0x1e1)]=!0x1,_0x1d4d85[_0x328c39(0x1cd)]=!0x1);_0x112ca6[_0x328c39(0x1e9)](..._0x56e37b),_0x493d24=_0x112ca6;}_0x91ca7c[_0x328c39(0x1e9)](..._0x493d24);let _0x2594d6=0x0;for(const _0x47fd47 of _0x91ca7c){const _0x305c89=_0x47fd47[_0x328c39(0x1a7)][_0x328c39(0x1e4)]-_0x47fd47[_0x328c39(0x1a7)][_0x328c39(0x21f)]+0x1;_0x47fd47[_0x328c39(0x1a7)][_0x328c39(0x1f8)]-_0x47fd47[_0x328c39(0x1a7)][_0x328c39(0x23a)]+0x1>0x0&&_0x305c89>0x1&&_0x2594d6++;}if(_0x2594d6===0x0)continue;const _0x4d8b37=[],_0x290d9a=ce(0x6,_0x91ca7c[_0x328c39(0x1da)]);let _0x399d2d=0x0;for(const _0x4c5fac of _0x91ca7c){const _0x9ba271=_0x4c5fac[_0x328c39(0x1a7)][_0x328c39(0x1e4)]-_0x4c5fac[_0x328c39(0x1a7)][_0x328c39(0x21f)]+0x1,_0x457dea=_0x4c5fac[_0x328c39(0x1a7)][_0x328c39(0x1f8)]-_0x4c5fac[_0x328c39(0x1a7)][_0x328c39(0x23a)]+0x1;let _0x27deff=!0x1;for(const _0x1a503b of _0x390df1['getMergeData']())if(Ie(_0x4c5fac[_0x328c39(0x1a7)],_0x1a503b)){_0x27deff=!0x0;break;}if(_0x27deff)continue;let _0x5f22dc=!0x0;for(const _0x4d1b2b of _0x91ca7c)if(_0x4d1b2b!==_0x4c5fac&&xe(_0x4c5fac,_0x4d1b2b)){_0x5f22dc=!0x1;break;}_0x5f22dc&&(_0x457dea<=0x0||_0x9ba271<=0x1||(_0x4c5fac['id']=_0x290d9a[_0x399d2d++],_0x4d8b37[_0x328c39(0x1e9)](_0x4c5fac)));}_0x28a135[_0x2d7294]=_0x4d8b37;}return _0x28a135;}function be(_0x3cca3b,_0x229a9b,_0x3a95e1){const _0x1a6e1c=ve(_0x3cca3b,_0x229a9b);$e(_0x1a6e1c,_0x3cca3b,_0x229a9b);const _0x8e077=Pe(_0x1a6e1c,_0x3cca3b);return De(_0x8e077,_0x3cca3b,_0x229a9b,_0x3a95e1);}function Ie(_0x276c28,_0x39e240){const _0x21d56b=_0x5d4908;return _0x276c28['startRow']===_0x39e240[_0x21d56b(0x21f)]&&_0x276c28[_0x21d56b(0x1e4)]===_0x39e240[_0x21d56b(0x1e4)]&&_0x276c28[_0x21d56b(0x23a)]===_0x39e240[_0x21d56b(0x23a)]&&_0x276c28['endColumn']===_0x39e240['endColumn'];}function xe(_0x51b8d7,_0x5ce556){const _0x4fc0f1=_0x5d4908;return _0x51b8d7[_0x4fc0f1(0x1a7)]['startRow']>=_0x5ce556[_0x4fc0f1(0x1a7)][_0x4fc0f1(0x21f)]&&_0x51b8d7[_0x4fc0f1(0x1a7)]['endRow']<=_0x5ce556[_0x4fc0f1(0x1a7)][_0x4fc0f1(0x1e4)]&&_0x51b8d7[_0x4fc0f1(0x1a7)]['startColumn']>=_0x5ce556['range']['startColumn']&&_0x51b8d7[_0x4fc0f1(0x1a7)][_0x4fc0f1(0x1f8)]<=_0x5ce556['range'][_0x4fc0f1(0x1f8)];}function Ne(_0x53e02d){const _0x377626=_0x5d4908;return''+ne(_0x53e02d[_0x377626(0x23a)])+(_0x53e02d[_0x377626(0x21f)]+0x1)+':'+ne(_0x53e02d['endColumn'])+(_0x53e02d[_0x377626(0x1e4)]+0x1);}function te(_0x23b6c6){const _0x12defa=_0x5d4908;var _0x1ccde4;if(_0x23b6c6!==null){if(_0x23b6c6!=null&&_0x23b6c6['p']){const _0x55f19e=_0x23b6c6==null?void 0x0:_0x23b6c6['p'][_0x12defa(0x1dd)];if(_0x55f19e==null)return;const _0x461b82=_0x55f19e[_0x12defa(0x19a)],_0x112289=$[_0x12defa(0x230)][_0x12defa(0x1d6)]['getPlainText'](_0x461b82),_0x2f7a6a=_0x55f19e['customRanges'];if(_0x2f7a6a&&_0x2f7a6a[_0x12defa(0x1da)]>0x0){const _0x394584=_0x2f7a6a[0x0],_0x5367e6=(_0x1ccde4=_0x394584['properties'])==null?void 0x0:_0x1ccde4[_0x12defa(0x238)];if(!_0x5367e6)return _0x112289;const _0x89a812=typeof _0x394584['startIndex']==_0x12defa(0x198)?_0x394584[_0x12defa(0x1e2)]:0x0;let _0x30b33a=typeof _0x394584[_0x12defa(0x231)]==_0x12defa(0x198)?_0x394584[_0x12defa(0x231)]+0x1:_0x89a812+0x1;return _0x89a812===0x0&&_0x30b33a===0x0?_0x30b33a=0x1:_0x30b33a<=_0x89a812&&(_0x30b33a=_0x89a812+0x1),'['+_0x461b82['slice'](_0x89a812,_0x30b33a)+']('+_0x5367e6+')';}return _0x112289;}if((_0x23b6c6==null?void 0x0:_0x23b6c6['v'])!=null)return _0x23b6c6['v'];}}function G(_0x3ba059){const _0x514d9a=te(_0x3ba059);if(_0x514d9a!=null)return String(_0x514d9a);}function Ee(_0x443165,_0x839cae,_0x21f9cf){const _0x570de3=_0x5d4908,_0x1b0c6d=_0x21f9cf[_0x570de3(0x1e5)](_0x443165,_0x839cae);if(_0x1b0c6d!=null){const _0x1478ed=G(_0x1b0c6d);if(_0x1478ed!=null&&_0x1478ed['length']>0x0)return _0x1478ed;}const _0x1721ac=W['get'](_0x21f9cf),_0x6b3137=_0x1721ac==null?void 0x0:_0x1721ac[_0x570de3(0x1ba)],_0x6205e=_0x1721ac==null?void 0x0:_0x1721ac['mergeRangeMap'],_0x187d8b=_0x21f9cf[_0x570de3(0x1b1)](),_0xa38b38=_0x21f9cf[_0x570de3(0x20d)](),_0x2f2544={'range':{'startRow':_0x443165,'endRow':_0x443165,'startColumn':_0x839cae,'endColumn':_0x839cae},'unitId':_0x187d8b,'sheetId':_0xa38b38},_0x262932=(_0x6b3137==null?void 0x0:_0x6b3137[_0x570de3(0x22d)]([_0x2f2544]))||new Map();if(_0x262932[_0x570de3(0x19b)]===0x0||!_0x6205e)return null;const _0x24052b=_0x262932[_0x570de3(0x20a)]()[_0x570de3(0x21b)]()[_0x570de3(0x215)],_0x3c8c77=_0x6205e['get'](_0x24052b);if(!_0x3c8c77)return null;const _0x46619a=_0x21f9cf[_0x570de3(0x1e5)](_0x3c8c77[_0x570de3(0x1a7)][_0x570de3(0x21f)],_0x3c8c77[_0x570de3(0x1a7)][_0x570de3(0x23a)]);return _0x46619a==null?null:G(_0x46619a);}function $e(_0x4fb8f0,_0x22a3ab,_0x38cfe4){const _0x3f2ae3=_0x5d4908,_0x301f33=_0x22a3ab['getSheets'](),_0x24786d=_0x38cfe4[_0x3f2ae3(0x23b)](H[_0x3f2ae3(0x1f3)]),_0x233985=_0x22a3ab[_0x3f2ae3(0x1b1)]();for(const _0x163677 of _0x301f33){const _0x7915a5=_0x163677[_0x3f2ae3(0x20d)](),_0x1159f2=_0x24786d['getTablesBySubunitId'](_0x233985,_0x7915a5);if(!_0x1159f2)continue;const _0x28fc1a=_0x1159f2[_0x3f2ae3(0x201)](_0x3f6ccd=>_0x3f6ccd[_0x3f2ae3(0x1e7)]());for(const _0x194ada of _0x28fc1a){const {startRow:_0x49e183,endRow:_0x52fda8,startColumn:_0x276151,endColumn:_0x4cadce}=_0x194ada[_0x3f2ae3(0x1a7)],_0x1085ea=new K({'id':_0x194ada['id'],'sheetId':_0x7915a5,'range':{'startRow':_0x49e183,'endRow':_0x52fda8,'startColumn':_0x276151,'endColumn':_0x4cadce},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x4fb8f0[_0x7915a5]||(_0x4fb8f0[_0x7915a5]=[]),_0x4fb8f0[_0x7915a5][_0x3f2ae3(0x1e9)](_0x1085ea);}}}function Pe(_0x2773a9,_0x2964fc){const _0x3d3fd=_0x5d4908;var _0x3f5d8f,_0x22521c;for(const [_0x5939a2,_0x1c0efb]of Object[_0x3d3fd(0x199)](_0x2773a9)){const _0xb40045=_0x1c0efb;let _0x2e91e5=!0x1;const _0x26cc48=_0x2964fc[_0x3d3fd(0x1d8)](_0x5939a2);if(_0x26cc48){for(let _0x16c7c8=0x0;_0x16c7c8<_0xb40045[_0x3d3fd(0x1da)];_0x16c7c8++){const _0x38a84d=_0xb40045[_0x16c7c8],_0x1256c8=_0x38a84d[_0x3d3fd(0x1a7)],{startRow:_0x3a5a5f,endRow:_0x5f2024,startColumn:_0x54e65f,endColumn:_0x493486}=_0x1256c8,_0x3113e9=Ue(_0x38a84d,_0x26cc48,_0x2964fc),_0x67aad3=_e(_0x3a5a5f,_0x5f2024,_0x38a84d);let _0x9119fb=0x1;const _0x11ce7d=_0x3a5a5f+_0x67aad3;let _0x29e6dd=0x0,_0x26c353=0x0;for(let _0x1edf34=_0x54e65f;_0x1edf34<=_0x493486;_0x1edf34++){const _0x54a3c8=_0x26cc48[_0x3d3fd(0x1e5)](_0x11ce7d,_0x1edf34);if(!_0x54a3c8)continue;const _0x4ffb33=G(_0x54a3c8);_0x4ffb33!=null&&(_0x4ffb33!==''&&_0x26c353++,ae(_0x4ffb33)&&_0x29e6dd++);}if(_0x26c353>0x0&&_0x29e6dd/Math[_0x3d3fd(0x1fb)](_0x26c353,0x1)>0.03&&(_0x9119fb=0x0),_0x38a84d[_0x3d3fd(0x232)]=_0x67aad3,_0x38a84d[_0x3d3fd(0x221)]=_0x9119fb+_0x67aad3,_0x38a84d[_0x3d3fd(0x1a7)]['endRow']-_0x38a84d[_0x3d3fd(0x1a7)][_0x3d3fd(0x21f)]+0x1-_0x38a84d[_0x3d3fd(0x221)]<=0x1){console[_0x3d3fd(0x1e6)]('skip\x20small\x20table,\x20idx:'+_0x16c7c8+',\x20rangeName:'+Ne(_0x38a84d[_0x3d3fd(0x1a7)])),_0xb40045[_0x3d3fd(0x228)](_0x16c7c8,0x1),_0x16c7c8--,_0x2e91e5=!0x0;continue;}const _0x35dbfd=new Map();let _0x1b8d80=0x0;const _0x393d93=ce(0x4,_0x493486-_0x54e65f+0x1);for(let _0x42ed11=_0x54e65f;_0x42ed11<=_0x493486;_0x42ed11++){let _0x2b4d63='';const _0x5bdd85=new Set();let _0x42b4f5=!0x1;const _0x4ddebd=_0x3a5a5f+_0x38a84d[_0x3d3fd(0x221)]-0x1;let _0x38c462=_0x3a5a5f;_0x3113e9!==''&&(_0x38c462=_0x3a5a5f+0x1);for(let _0xbccab8=_0x38c462;_0xbccab8<=_0x4ddebd;_0xbccab8++){const _0x503003=Ee(_0xbccab8,_0x42ed11,_0x26cc48);_0x503003!=null&&(_0xbccab8===_0x4ddebd&&(_0x2b4d63=_0x503003),_0x5bdd85[_0x3d3fd(0x1d9)](_0x503003));}const _0x423e5b=[..._0x5bdd85]['join'](','),_0x2eff75=_0x423e5b;_0x35dbfd[_0x3d3fd(0x236)](_0x2eff75)?_0x42b4f5=!0x0:_0x35dbfd[_0x3d3fd(0x1d1)](_0x2eff75,!0x0);const _0x3d2281=_0x4ddebd+0x1;let _0x1b6eeb=_0x4ddebd+0x14,_0x29e9cc=0x0,_0x50894b=!0x1,_0x33a960=!0x1;if(_0x1b6eeb>_0x5f2024&&(_0x1b6eeb=_0x5f2024),_0x3d2281<_0x5f2024){let _0x55f899='';for(let _0x9c44b6=_0x3d2281;_0x9c44b6<=_0x1b6eeb;_0x9c44b6++){const _0xa98b7a=_0x26cc48[_0x3d3fd(0x1e5)](_0x9c44b6,_0x42ed11);if(!_0xa98b7a)continue;const _0x59a5b1=G(_0xa98b7a);_0x59a5b1!=null&&(ae(_0x59a5b1)||(_0x55f899+=_0x59a5b1),Je(_0x59a5b1)&&_0x29e9cc++);}_0x29e9cc>Math['floor']((_0x1b6eeb-_0x3d2281+0x1)/0x2)&&(_0x33a960=!0x0),Be(_0x55f899)/Math[_0x3d3fd(0x1fb)](_0x1b6eeb-_0x3d2281+0x1,0x1)>0xf&&!_0x33a960&&(_0x50894b=!0x0);}_0x38a84d[_0x3d3fd(0x1f6)][_0x3d3fd(0x1e9)]({'id':_0x393d93[_0x1b8d80++],'Name':_0x2b4d63,'Type':'','Description':_0x423e5b,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x50894b,'isLink':_0x33a960,'isTitleRepeat':_0x42b4f5,'isUnique':!0x1,'links':[]});}Ae(_0x38a84d,_0x2964fc);}_0x2e91e5&&(_0x2773a9[_0x5939a2]=_0xb40045),_0xb40045[_0x3d3fd(0x1da)]===0x0&&delete _0x2773a9[_0x5939a2],(_0x22521c=(_0x3f5d8f=_0x2773a9[_0x5939a2])==null?void 0x0:_0x3f5d8f[_0x3d3fd(0x1da)])!=null;}}return _0x2773a9;}function _e(_0x3f9142,_0x28da16,_0x43647f){const _0x1e0807=_0x5d4908;var _0x30eee7;function _0x56d75d(_0x311311){const _0xe2de80=_0x1b0b;if(_0x311311[_0xe2de80(0x1da)]===0x0)return 0x0;_0x311311['sort']((_0x204a55,_0x1eff8e)=>_0x204a55[0x0]-_0x1eff8e[0x0]);let _0x22fa41=0x0,_0x45300e=_0x311311[0x0][0x0],_0x170a9e=_0x311311[0x0][0x1];for(let _0x39aebd=0x1;_0x39aebd<_0x311311[_0xe2de80(0x1da)];_0x39aebd++){const [_0x17ae3b,_0x1e1ac2]=_0x311311[_0x39aebd];_0x17ae3b<=_0x170a9e+0x1?_0x170a9e=Math[_0xe2de80(0x1fb)](_0x170a9e,_0x1e1ac2):(_0x22fa41+=_0x170a9e-_0x45300e+0x1,_0x45300e=_0x17ae3b,_0x170a9e=_0x1e1ac2);}return _0x22fa41+=_0x170a9e-_0x45300e+0x1,_0x22fa41;}const _0x57fa5d=_0x43647f[_0x1e0807(0x1a7)][_0x1e0807(0x23a)],_0x48ab49=_0x43647f[_0x1e0807(0x1a7)]['endColumn'],_0x454ba6=_0x48ab49-_0x57fa5d+0x1;let _0x5508e4=_0x3f9142-0x1,_0x1a7190=_0x3f9142-0x1,_0xf539a1=!0x1;const _0x21cff8=0x64;for(let _0x4a9d44=_0x3f9142;_0x4a9d44<=_0x28da16&&_0x4a9d44-_0x3f9142<_0x21cff8;_0x4a9d44++){const _0x52f91c=[],_0x507b76=(_0x30eee7=_0x43647f[_0x1e0807(0x1c1)][_0x1e0807(0x23b)](_0x4a9d44))!=null?_0x30eee7:[];for(const _0x2ac533 of _0x507b76){const _0x4b968a=_0x2ac533[_0x1e0807(0x1a7)][_0x1e0807(0x23a)],_0x2d50cc=_0x2ac533[_0x1e0807(0x1a7)]['endColumn'],_0x51c759=Math[_0x1e0807(0x1fb)](_0x4b968a,_0x57fa5d),_0x27a4c8=Math['min'](_0x2d50cc,_0x48ab49);_0x51c759<=_0x27a4c8&&_0x52f91c[_0x1e0807(0x1e9)]([_0x51c759,_0x27a4c8]);}_0x43647f[_0x1e0807(0x1a3)][_0x1e0807(0x1f5)](_0x29f853=>{const _0x444612=_0x1e0807;for(const _0x3c69ee of _0x29f853){const _0x3c389e=_0x3c69ee['range'][_0x444612(0x21f)],_0x220c12=_0x3c69ee[_0x444612(0x1a7)][_0x444612(0x1e4)];if(_0x3c389e<=_0x4a9d44&&_0x4a9d44<=_0x220c12){const _0x311849=_0x3c69ee[_0x444612(0x1a7)][_0x444612(0x23a)],_0x3ec4ef=_0x3c69ee[_0x444612(0x1a7)]['endColumn'],_0xdb6230=Math[_0x444612(0x1fb)](_0x311849,_0x57fa5d),_0x5bad13=Math['min'](_0x3ec4ef,_0x48ab49);_0xdb6230<=_0x5bad13&&_0x52f91c[_0x444612(0x1e9)]([_0xdb6230,_0x5bad13]);}}});const _0x35fa1a=_0x56d75d(_0x52f91c),_0xd50bd=_0x35fa1a/Math['max'](_0x454ba6,0x1);_0x52f91c[_0x1e0807(0x1da)]>0x0&&(_0x5508e4=_0x4a9d44),_0x35fa1a>0x0&&_0xd50bd>=0.75&&!_0xf539a1?_0x1a7190=_0x4a9d44:_0x52f91c[_0x1e0807(0x1da)]>0x0&&(_0xf539a1=!0x0);}return _0x5508e4===_0x28da16||_0x5508e4-_0x3f9142===_0x21cff8?_0x1a7190-_0x3f9142+0x1:_0x5508e4-_0x3f9142+0x1;}function Ue(_0x566896,_0xa97cc7,_0x51318b){const _0x423651=_0x5d4908;if(_0x566896[_0x423651(0x219)]+=_0xa97cc7[_0x423651(0x1c5)]()+',\x20'+_0x51318b[_0x423651(0x1bc)],_0x566896[_0x423651(0x1bc)]&&_0x566896[_0x423651(0x1bc)]!=='')return _0x566896[_0x423651(0x1bc)];const _0xaf66d8=_0x566896[_0x423651(0x1a7)]['startRow'],_0x252ac4=_0x566896[_0x423651(0x1a7)][_0x423651(0x23a)],_0x19a91d=_0x566896[_0x423651(0x1a7)][_0x423651(0x1f8)],_0x50366c=0x3,_0x1a6f68=_0x566896['rowMergeTitleCountMap'][_0x423651(0x23b)](_0xaf66d8);if(_0x1a6f68&&_0x1a6f68[_0x423651(0x1da)]>0x0)for(const _0x130382 of _0x1a6f68){const _0x419c87=_0x130382[_0x423651(0x1a7)],_0x4fe0a6=_0x419c87['startColumn'],_0x7df1e2=_0x419c87[_0x423651(0x1f8)];if(_0x4fe0a6<=_0x252ac4+_0x50366c&&_0x7df1e2>=_0x19a91d-_0x50366c){const _0x5d15ef=_0xa97cc7[_0x423651(0x1e5)](_0xaf66d8,_0x4fe0a6);if(!_0x5d15ef)return'';const _0x5bb557=G(_0x5d15ef);return _0x5bb557==null||_0x5bb557===''?'':(_0x566896['name']=_0x5bb557,_0x5bb557);}}return'';}function Ae(_0x30f4b1,_0x368fa1){const _0x2c4b3e=_0x5d4908,_0xcc97f8={};_0x368fa1[_0x2c4b3e(0x20c)]()[_0x2c4b3e(0x227)](_0x3bb9fa=>{const _0x2f2829=_0x2c4b3e,[_0x5a3796,_0x3fdacc]=_0x3bb9fa;return!_0x5a3796||!_0x3fdacc||_0x3fdacc['n']&&typeof _0x3fdacc['n'][_0x2f2829(0x23c)]==_0x2f2829(0x216)&&/[YyMDd]/['test'](_0x3fdacc['n'][_0x2f2829(0x23c)])&&(_0xcc97f8[_0x5a3796]=!0x0),!0x0;});const _0x2c33e8=_0x30f4b1['range'][_0x2c4b3e(0x21f)],_0x4195a4=_0x30f4b1[_0x2c4b3e(0x1a7)]['endRow'],_0x2c12cc=_0x30f4b1[_0x2c4b3e(0x221)],_0xb478d4=_0x30f4b1[_0x2c4b3e(0x1d3)],_0x16f9d7=_0x368fa1[_0x2c4b3e(0x1d8)](_0xb478d4);if(!_0x16f9d7)return;const _0x5102fe=_0x4195a4-_0x2c33e8+0x1-_0x2c12cc;if(_0x5102fe<=0x1){console['warn'](_0x2c4b3e(0x1af));return;}const _0x1d8470=[];for(let _0x42ddf6=0x0;_0x42ddf6<_0x30f4b1[_0x2c4b3e(0x1a7)][_0x2c4b3e(0x1f8)]-_0x30f4b1[_0x2c4b3e(0x1a7)][_0x2c4b3e(0x23a)]+0x1;_0x42ddf6++)_0x1d8470[_0x2c4b3e(0x1e9)](new Te(_0xcc97f8));const _0x24b0ab=Math[_0x2c4b3e(0x1fc)](Math['max'](_0x5102fe,0x1));for(let _0x271d0e=0x0;;_0x271d0e++){const _0x325ba0=_0x271d0e,_0x4b3850=Math[_0x2c4b3e(0x1b5)](_0x325ba0+0.00001*_0x325ba0**2.7*_0x24b0ab*_0x24b0ab)+_0x2c33e8+_0x2c12cc;if(_0x4b3850>_0x4195a4)break;for(let _0x2e8e98=_0x30f4b1[_0x2c4b3e(0x1a7)]['startColumn'];_0x2e8e98<=_0x30f4b1[_0x2c4b3e(0x1a7)][_0x2c4b3e(0x1f8)];_0x2e8e98++){const _0x58378a=_0x16f9d7[_0x2c4b3e(0x1e5)](_0x4b3850,_0x2e8e98);_0x58378a&&_0x1d8470[_0x2e8e98-_0x30f4b1['range'][_0x2c4b3e(0x23a)]][_0x2c4b3e(0x191)](_0x58378a);}}for(let _0x166a44=0x0;_0x166a44<_0x30f4b1[_0x2c4b3e(0x1f6)]['length'];_0x166a44++){const [_0x3dfdc9,_0xd37794]=_0x1d8470[_0x166a44]['Best']();_0x30f4b1[_0x2c4b3e(0x1f6)][_0x166a44][_0x2c4b3e(0x233)]=_0x3dfdc9;}}function fe(_0x175836){const _0x41ab98=_0x5d4908,_0x1a0666=[];for(const _0x5e8e96 of _0x175836['links'])_0x1a0666[_0x41ab98(0x1e9)]({'tableId':_0x5e8e96[_0x41ab98(0x200)],'columnId':_0x5e8e96['columnId'],'linkType':_0x5e8e96['linkType']});return _0x1a0666;}function Oe(_0x4b7559){const _0x26cbce=_0x5d4908;return _0x4b7559[_0x26cbce(0x221)]===0x1;}function Le(_0x6cec20,_0x40c278,_0x1e2f3c,_0x5695b5,_0x367cd8){const _0x485c42=_0x5d4908,_0x59a105=_0x5695b5[_0x485c42(0x23b)](H[_0x485c42(0x1f3)]),_0x514456=_0x40c278[_0x485c42(0x1b1)](),_0x377adf=_0x6cec20[_0x485c42(0x1d3)];if(_0x59a105[_0x485c42(0x195)](_0x514456,_0x377adf)){for(const _0x251897 of _0x1e2f3c)if(_0x251897['id']===_0x6cec20['id']){_0x251897[_0x485c42(0x1bc)]=_0x6cec20[_0x485c42(0x1bc)],_0x251897[_0x485c42(0x1ee)]={},_0x251897[_0x485c42(0x1ee)]['description']=_0x6cec20[_0x485c42(0x219)],_0x251897[_0x485c42(0x1ee)]['rowTitleCount']=_0x6cec20[_0x485c42(0x221)],_0x251897[_0x485c42(0x1ee)][_0x485c42(0x232)]=_0x6cec20['mergeRowTitleCount'],_0x251897['meta'][_0x485c42(0x211)]=_0x6cec20[_0x485c42(0x211)];for(let _0x4ff1fa=0x0;_0x4ff1fa<_0x6cec20['columns'][_0x485c42(0x1da)];_0x4ff1fa++){const _0x9f40f9=_0x6cec20[_0x485c42(0x1f6)][_0x4ff1fa],_0x4a06b8=_0x251897['columns'][_0x4ff1fa];_0x4a06b8['displayName']=_0x9f40f9[_0x485c42(0x192)],_0x4a06b8[_0x485c42(0x1ad)]=_0x9f40f9['Type'],_0x4a06b8['meta']={},_0x4a06b8[_0x485c42(0x1ee)][_0x485c42(0x219)]=_0x9f40f9[_0x485c42(0x1f9)],_0x4a06b8[_0x485c42(0x1ee)][_0x485c42(0x22f)]=_0x9f40f9[_0x485c42(0x22f)],_0x4a06b8['meta']['isMeasure']=_0x9f40f9[_0x485c42(0x1fd)],_0x4a06b8[_0x485c42(0x1ee)]['isOpinionText']=_0x9f40f9[_0x485c42(0x222)],_0x4a06b8['meta']['isBigText']=_0x9f40f9[_0x485c42(0x1a4)],_0x4a06b8[_0x485c42(0x1ee)]['isLink']=_0x9f40f9[_0x485c42(0x241)],_0x4a06b8['meta']['isTitleRepeat']=_0x9f40f9[_0x485c42(0x1b8)],_0x4a06b8[_0x485c42(0x1ee)][_0x485c42(0x1b4)]=_0x9f40f9[_0x485c42(0x1b4)],_0x4a06b8[_0x485c42(0x1ee)][_0x485c42(0x234)]=fe(_0x9f40f9);}me(_0x251897,_0x377adf,_0x40c278,_0x367cd8);}W[_0x485c42(0x1fa)]();}}function De(_0x10a2e1,_0x5596a8,_0x106ad4,_0xaeb688){const _0x3f3487=_0x5d4908,_0xded33b=_0x106ad4[_0x3f3487(0x23b)](H[_0x3f3487(0x1f3)]),_0x2ab67d=_0x5596a8[_0x3f3487(0x1b1)](),_0x1403ff={};for(const [_0x47d240,_0x1854c0]of Object[_0x3f3487(0x199)](_0x10a2e1)){const _0x1729c7=_0xded33b[_0x3f3487(0x195)](_0x2ab67d,_0x47d240),_0x501bea=(_0x1729c7==null?void 0x0:_0x1729c7[_0x3f3487(0x201)](_0x1f1aec=>_0x1f1aec[_0x3f3487(0x1e7)]()))||[];for(const _0x18f11d of _0x1854c0){if(_0x18f11d[_0x3f3487(0x1ed)]){Le(_0x18f11d,_0x5596a8,_0x501bea,_0x106ad4,_0xaeb688);continue;}const _0x140324={'id':_0x18f11d['id'],'range':{'startRow':_0x18f11d[_0x3f3487(0x1a7)][_0x3f3487(0x21f)]+_0x18f11d[_0x3f3487(0x232)],'endRow':_0x18f11d[_0x3f3487(0x1a7)][_0x3f3487(0x1e4)],'startColumn':_0x18f11d[_0x3f3487(0x1a7)][_0x3f3487(0x23a)],'endColumn':_0x18f11d[_0x3f3487(0x1a7)][_0x3f3487(0x1f8)]},'name':_0x18f11d[_0x3f3487(0x1bc)],'meta':{},'options':{'showHeader':Oe(_0x18f11d),'showFooter':!0x1},'columns':[],'filters':{}};_0x140324['meta'][_0x3f3487(0x219)]=_0x18f11d[_0x3f3487(0x219)],_0x140324['meta'][_0x3f3487(0x221)]=_0x18f11d[_0x3f3487(0x221)],_0x140324['meta'][_0x3f3487(0x232)]=_0x18f11d[_0x3f3487(0x232)],_0x140324[_0x3f3487(0x1ee)][_0x3f3487(0x211)]=_0x18f11d[_0x3f3487(0x211)];const _0x3d6d68=_0x18f11d[_0x3f3487(0x1a7)]['startColumn'];for(let _0x2f0c6d=0x0;_0x2f0c6d<_0x18f11d[_0x3f3487(0x1f6)]['length'];_0x2f0c6d++){const _0x48e93a=_0x18f11d[_0x3f3487(0x1f6)][_0x2f0c6d],_0x402e5a={'id':_0x48e93a['id'],'displayName':_0x48e93a[_0x3f3487(0x192)]||_0x3f3487(0x1c4)+ne(_0x3d6d68+_0x2f0c6d),'dataType':_0x48e93a[_0x3f3487(0x233)],'meta':{},'formula':'','style':{}};_0x402e5a[_0x3f3487(0x1ee)][_0x3f3487(0x219)]=_0x48e93a[_0x3f3487(0x1f9)],_0x402e5a['meta'][_0x3f3487(0x22f)]=_0x48e93a[_0x3f3487(0x22f)],_0x402e5a[_0x3f3487(0x1ee)]['isMeasure']=_0x48e93a[_0x3f3487(0x1fd)],_0x402e5a[_0x3f3487(0x1ee)]['isOpinionText']=_0x48e93a[_0x3f3487(0x222)],_0x402e5a['meta']['isBigText']=_0x48e93a[_0x3f3487(0x1a4)],_0x402e5a[_0x3f3487(0x1ee)][_0x3f3487(0x241)]=_0x48e93a[_0x3f3487(0x241)],_0x402e5a[_0x3f3487(0x1ee)]['isTitleRepeat']=_0x48e93a[_0x3f3487(0x1b8)],_0x402e5a[_0x3f3487(0x1ee)][_0x3f3487(0x1b4)]=_0x48e93a[_0x3f3487(0x1b4)],_0x402e5a[_0x3f3487(0x1ee)]['links']=fe(_0x48e93a),_0x140324[_0x3f3487(0x1f6)][_0x3f3487(0x1e9)](_0x402e5a);}me(_0x140324,_0x47d240,_0x5596a8,_0xaeb688),_0x501bea[_0x3f3487(0x1e9)](_0x140324);}_0x1403ff[_0x47d240]=_0x501bea;}for(const _0x2c9255 of Object[_0x3f3487(0x20a)](_0x10a2e1))_0x10a2e1[_0x2c9255][_0x3f3487(0x1f5)](_0x2905f7=>{_0x2905f7['dispose']();});return _0x1403ff;}function ie(_0x4171bc,_0x29b8b6,_0x2a81d2=0x5){const _0x2b3f27=_0x5d4908;if(!Array['isArray'](_0x4171bc)||_0x4171bc[_0x2b3f27(0x1da)]===0x0)return[];const _0x4eebb3=Math['min'](_0x29b8b6,_0x4171bc[_0x2b3f27(0x1da)]),_0x516df4=Math[_0x2b3f27(0x1b9)](_0x4eebb3+_0x2a81d2,_0x4171bc[_0x2b3f27(0x1da)]);return _0x4171bc[_0x2b3f27(0x1a5)](_0x4eebb3,_0x516df4);}function me(_0x4db636,_0x20fc87,_0x2cded1,_0x2b8c22){const _0xbebc09=_0x5d4908,_0x4b59ea=_0x2cded1[_0xbebc09(0x1d8)](_0x20fc87);if(!_0x4b59ea)return;const _0x1d6877=_0x4db636[_0xbebc09(0x1a7)],_0x126d6a=ke(_0x4b59ea,_0x1d6877);_0x2b8c22===ee['Sample']?_0x4db636[_0xbebc09(0x1a2)]=JSON[_0xbebc09(0x1bd)](ie(_0x126d6a,0x1,0x5)):_0x2b8c22===ee[_0xbebc09(0x217)]&&(_0x4db636[_0xbebc09(0x1a2)]=JSON[_0xbebc09(0x1bd)](ie(_0x126d6a,0x1,_0x126d6a[_0xbebc09(0x1da)])));}function ke(_0x34b974,_0x12faa7){const _0xcfa88=_0x5d4908,{startRow:_0x1b16b6,endRow:_0xefa4e2,startColumn:_0x9dc1,endColumn:_0x4f7d3e}=_0x12faa7,_0x93310a=[],_0x4d2312=W[_0xcfa88(0x23b)](_0x34b974),_0x5e6612=_0x4d2312==null?void 0x0:_0x4d2312[_0xcfa88(0x1ba)],_0x4caf4b=_0x4d2312==null?void 0x0:_0x4d2312['mergeRangeMap'],_0x23d961=_0x34b974[_0xcfa88(0x1b1)](),_0x1ea36f=_0x34b974[_0xcfa88(0x20d)]();for(let _0xc360eb=_0x1b16b6;_0xc360eb<=_0xefa4e2;_0xc360eb++){const _0xbbdc8=[];for(let _0x155859=_0x9dc1;_0x155859<=_0x4f7d3e;_0x155859++){const _0x4b6d79=_0x34b974['getCell'](_0xc360eb,_0x155859);let _0x2d1503=_0x4b6d79?te(_0x4b6d79):void 0x0;if(_0x2d1503==null||_0x2d1503===''){const _0x2c12d3={'range':{'startRow':_0xc360eb,'endRow':_0xc360eb,'startColumn':_0x155859,'endColumn':_0x155859},'unitId':_0x23d961,'sheetId':_0x1ea36f},_0x558b9d=(_0x5e6612==null?void 0x0:_0x5e6612[_0xcfa88(0x22d)]([_0x2c12d3]))||new Map();if(_0x558b9d[_0xcfa88(0x19b)]>0x0&&_0x4caf4b){const _0x145865=_0x558b9d[_0xcfa88(0x20a)]()['next']()['value'],_0x46b9bc=_0x4caf4b[_0xcfa88(0x23b)](_0x145865);if(!_0x46b9bc)continue;const _0x330314=_0x34b974[_0xcfa88(0x1e5)](_0x46b9bc[_0xcfa88(0x1a7)]['startRow'],_0x46b9bc[_0xcfa88(0x1a7)][_0xcfa88(0x23a)]);_0x330314&&(_0x2d1503=te(_0x330314));}}_0xbbdc8[_0xcfa88(0x1e9)](_0x2d1503!=null?_0x2d1503:'');}_0x93310a['push'](_0xbbdc8);}return _0x93310a;}function Je(_0x1ae64b){const _0x4f8c7b=_0x5d4908;return/https?:\/\/|www\./i[_0x4f8c7b(0x1ab)](_0x1ae64b);}function Be(_0x4709a3){const _0x2eb4c9=_0x5d4908;return Array[_0x2eb4c9(0x197)](_0x4709a3)[_0x2eb4c9(0x1da)];}function ae(_0x429d4a){const _0x1974d5=_0x5d4908;return _0x429d4a?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x1974d5(0x1ab)](_0x429d4a[_0x1974d5(0x1db)]()):!0x1;}function ne(_0x2de680){const _0x463db6=_0x5d4908;let _0x27b9d4='',_0x50fe19=_0x2de680+0x1;for(;_0x50fe19>0x0;){const _0x4c5719=(_0x50fe19-0x1)%0x1a;_0x27b9d4=String[_0x463db6(0x212)](0x41+_0x4c5719)+_0x27b9d4,_0x50fe19=Math[_0x463db6(0x1b5)]((_0x50fe19-0x1)/0x1a);}return _0x27b9d4;}var Ve=Object[_0x5d4908(0x1dc)],ze=(_0x4a4123,_0xa56b8a,_0x5f1953,_0x24ace3)=>{for(var _0x326df9=_0x24ace3>0x1?void 0x0:_0x24ace3?Ve(_0xa56b8a,_0x5f1953):_0xa56b8a,_0xb8f4d=_0x4a4123['length']-0x1,_0x5d455a;_0xb8f4d>=0x0;_0xb8f4d--)(_0x5d455a=_0x4a4123[_0xb8f4d])&&(_0x326df9=_0x5d455a(_0x326df9)||_0x326df9);return _0x326df9;},je=(_0x17b333,_0x53d345)=>(_0x36e81a,_0x5ea116)=>_0x53d345(_0x36e81a,_0x5ea116,_0x17b333);exports[_0x5d4908(0x1de)]=class extends $['Disposable']{constructor(_0x18ff57){const _0x4957bd=_0x5d4908;super(),this[_0x4957bd(0x225)]=_0x18ff57;}[_0x5d4908(0x229)](_0x1bfc27,_0x3a3337){const _0x4fa60c=_0x5d4908;return be(_0x1bfc27,this[_0x4fa60c(0x225)],_0x3a3337);}},exports['RangePreprocessController']=ze([je(0x0,$['Inject']($['Injector']))],exports[_0x5d4908(0x1de)]);function _0x1b0b(_0x4e5659,_0x530182){_0x4e5659=_0x4e5659-0x18f;const _0x26a7cf=_0x26a7();let _0x1b0b03=_0x26a7cf[_0x4e5659];return _0x1b0b03;}var Ge=Object[_0x5d4908(0x1dc)],qe=(_0x135564,_0x1c1cec,_0x3dbba2,_0xb3b8eb)=>{for(var _0x18cf55=_0xb3b8eb>0x1?void 0x0:_0xb3b8eb?Ge(_0x1c1cec,_0x3dbba2):_0x1c1cec,_0x3e0a1e=_0x135564['length']-0x1,_0x1d627c;_0x3e0a1e>=0x0;_0x3e0a1e--)(_0x1d627c=_0x135564[_0x3e0a1e])&&(_0x18cf55=_0x1d627c(_0x18cf55)||_0x18cf55);return _0x18cf55;},le=(_0x1ad632,_0x3a4aba)=>(_0x5c2863,_0x102cee)=>_0x3a4aba(_0x5c2863,_0x102cee,_0x1ad632);const We='RANGE_PREPROCESS_PLUGIN_CONFIG_KEY';var X;exports['UniverRangePreprocessPlugin']=(X=class extends $[_0x5d4908(0x22e)]{constructor(_0x5b68c6={},_0x6a60e2,_0x2e1843){const _0x63b554=_0x5d4908;super(),this['_config']=_0x5b68c6,this['_injector']=_0x6a60e2,this[_0x63b554(0x18f)]=_0x2e1843;const {..._0x48a19b}=$[_0x63b554(0x1c7)]({},this[_0x63b554(0x21a)]);this[_0x63b554(0x18f)][_0x63b554(0x240)](We,_0x48a19b);}['onStarting'](){const _0x31a0cd=_0x5d4908,_0x1d4453=[[exports[_0x31a0cd(0x1de)]]];$[_0x31a0cd(0x1ec)](this[_0x31a0cd(0x225)],_0x1d4453);}[_0x5d4908(0x1c0)](){}},p(X,'pluginName',_0x5d4908(0x1b7)),X),exports[_0x5d4908(0x1ac)]=qe([le(0x1,$[_0x5d4908(0x22b)]($[_0x5d4908(0x1b6)])),le(0x2,$[_0x5d4908(0x237)])],exports[_0x5d4908(0x1ac)]);
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x5af0e9=_0x3bc8;(function(_0x4ddf11,_0x380a0b){var _0x34a037=_0x3bc8,_0x928e1f=_0x4ddf11();while(!![]){try{var _0xbe1dd=-parseInt(_0x34a037(0x183))/0x1*(-parseInt(_0x34a037(0x185))/0x2)+-parseInt(_0x34a037(0x17b))/0x3+-parseInt(_0x34a037(0x186))/0x4+parseInt(_0x34a037(0x181))/0x5*(-parseInt(_0x34a037(0x177))/0x6)+-parseInt(_0x34a037(0x184))/0x7*(-parseInt(_0x34a037(0x179))/0x8)+-parseInt(_0x34a037(0x180))/0x9*(-parseInt(_0x34a037(0x178))/0xa)+-parseInt(_0x34a037(0x176))/0xb*(-parseInt(_0x34a037(0x182))/0xc);if(_0xbe1dd===_0x380a0b)break;else _0x928e1f['push'](_0x928e1f['shift']());}catch(_0x43d02a){_0x928e1f['push'](_0x928e1f['shift']());}}}(_0x323a,0x45af3));function _0x323a(){var _0x4beb7a=['1330416bEboya','_injector','941370jWAFZS','getPreprocessRanges','get','_workbook','extend','2061BExhPv','535PjUkMu','1476iOSxWI','1409gGPTti','14JwNljJ','26JBIEWL','1011720qfftbn','16973HgZPyQ','9066eMIatv','20660gQkeBQ'];_0x323a=function(){return _0x4beb7a;};return _0x323a();}import{RangePreprocessController as _0x1d2144}from'@univerjs-pro/range-preprocess';function _0x3bc8(_0xeb3509,_0x3f3682){_0xeb3509=_0xeb3509-0x176;var _0x323a7f=_0x323a();var _0x3bc849=_0x323a7f[_0xeb3509];return _0x3bc849;}import{FWorkbook as _0x5cca67}from'@univerjs/sheets/facade';class s extends _0x5cca67{[_0x5af0e9(0x17c)](_0x15dc6d){var _0x187378=_0x5af0e9;return this[_0x187378(0x17a)][_0x187378(0x17d)](_0x1d2144)['getAllTableJson'](this[_0x187378(0x17e)],_0x15dc6d);}}_0x5cca67[_0x5af0e9(0x17f)](s);
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3d09f1=_0x3dc8;(function(_0x2dfa0f,_0x291dfd){const _0x17bb9a=_0x3dc8,_0x6b1c0a=_0x2dfa0f();while(!![]){try{const _0x59133a=-parseInt(_0x17bb9a(0x235))/0x1*(parseInt(_0x17bb9a(0x1cb))/0x2)+-parseInt(_0x17bb9a(0x20e))/0x3+-parseInt(_0x17bb9a(0x257))/0x4*(-parseInt(_0x17bb9a(0x1c4))/0x5)+-parseInt(_0x17bb9a(0x217))/0x6+-parseInt(_0x17bb9a(0x1ed))/0x7*(-parseInt(_0x17bb9a(0x1ff))/0x8)+-parseInt(_0x17bb9a(0x20b))/0x9*(-parseInt(_0x17bb9a(0x246))/0xa)+-parseInt(_0x17bb9a(0x22d))/0xb*(-parseInt(_0x17bb9a(0x1f3))/0xc);if(_0x59133a===_0x291dfd)break;else _0x6b1c0a['push'](_0x6b1c0a['shift']());}catch(_0x25505f){_0x6b1c0a['push'](_0x6b1c0a['shift']());}}}(_0x1699,0x5e540));var Re=Object[_0x3d09f1(0x239)],Te=(_0x38bc40,_0x53da42,_0x50bb9e)=>_0x53da42 in _0x38bc40?Re(_0x38bc40,_0x53da42,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50bb9e}):_0x38bc40[_0x53da42]=_0x50bb9e,p=(_0x3d2e49,_0x5773c9,_0x3e63f8)=>Te(_0x3d2e49,typeof _0x5773c9!=_0x3d09f1(0x25f)?_0x5773c9+'':_0x5773c9,_0x3e63f8);import{CellValueType as _0x479a23,generateRandomId as _0x30e0e9,RTree as _0xde5bea,BuildTextUtils as _0x2aae4e,Inject as _0x4f6e21,Injector as _0x566279,Disposable as _0x32cd38,IConfigService as _0x52c1df,Plugin as _0x532844,merge as _0x450445,registerDependencies as _0xa8123d}from'@univerjs/core';import'@univerjs/sheets-filter';import{TableManager as _0x5b341d}from'@univerjs/sheets-table';function re(_0xfd9433){const _0xfbff34=_0x3d09f1;return _0xfd9433['v']==null?'':String(_0xfd9433['v'])[_0xfbff34(0x1d9)]();}function Ne(_0x2a3e19){const _0x3e2d74=_0x3d09f1;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x3e2d74(0x221)](_0x2a3e19);}const F=0x2,Q=0x1;function he(_0x4f4d8d,_0x426cfd){const _0x25a96d=_0x3d09f1,_0x44357a={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x426cfd];if(!_0x44357a||!_0x44357a['test'](_0x4f4d8d))return!0x1;const _0x25b141=_0x4f4d8d[_0x25a96d(0x248)](/\D+/g,'\x20')[_0x25a96d(0x1d9)]()[_0x25a96d(0x229)](/\s+/)[_0x25a96d(0x243)](Number);let _0x122112=0x0,_0x2c7ac7=0x1,_0x5c1ebf=0x1,_0x16260d=0x0,_0x2f1714=0x0,_0x8f4960=0x0;switch(_0x426cfd){case _0x25a96d(0x23d):case _0x25a96d(0x1d4):case'2006/01/02':case _0x25a96d(0x1e4):[_0x122112,_0x2c7ac7,_0x5c1ebf]=_0x25b141;break;case _0x25a96d(0x23a):[_0x122112,_0x2c7ac7,_0x5c1ebf]=_0x25b141;break;case _0x25a96d(0x1bd):case _0x25a96d(0x22a):case'02.01.2006':[_0x5c1ebf,_0x2c7ac7,_0x122112]=_0x25b141;break;case _0x25a96d(0x25e):case _0x25a96d(0x1ec):[_0x2c7ac7,_0x5c1ebf,_0x122112]=_0x25b141;break;case'20060102':{const _0x2ecca9=_0x4f4d8d;_0x122112=+_0x2ecca9[_0x25a96d(0x231)](0x0,0x4),_0x2c7ac7=+_0x2ecca9[_0x25a96d(0x231)](0x4,0x6),_0x5c1ebf=+_0x2ecca9[_0x25a96d(0x231)](0x6,0x8);break;}case _0x25a96d(0x22b):case'2006-01-02\x2015:04:05':[_0x122112,_0x2c7ac7,_0x5c1ebf,_0x16260d,_0x2f1714,_0x8f4960]=_0x25b141;break;default:return!0x0;}if(_0x2c7ac7<0x1||_0x2c7ac7>0xc||_0x5c1ebf<0x1||_0x5c1ebf>0x1f||_0x16260d<0x0||_0x16260d>0x17||_0x2f1714<0x0||_0x2f1714>0x3b||_0x8f4960<0x0||_0x8f4960>0x3b)return!0x1;const _0x197deb=new Date(_0x122112,_0x2c7ac7-0x1,_0x5c1ebf,_0x16260d,_0x2f1714,_0x8f4960);return!(_0x197deb[_0x25a96d(0x206)]()!==_0x122112||_0x197deb[_0x25a96d(0x241)]()!==_0x2c7ac7-0x1||_0x197deb[_0x25a96d(0x25c)]()!==_0x5c1ebf);}function _0x1699(){const _0x3a8e21=['symbol','bulkSearch','Name','from','description','02-01-2006','onReady','Best','getCell','links','needConvert','onStarting','2526980JKUXuu','None','excel','splice','isTimeSeries','isLink','getMergeData','38wYJJfI','join','insert','tableId','columnMergeTitleState','columns','toJSON','endStatisticRowCount','toLowerCase','2006-1-2','NUMBER','isTitleRepeat','boolean','meta','trim','set','saveTableToCache','string','startIndex','isOpinionText','isCoded','skip\x20small\x20table,\x20idx:','length','Match','clear','2006/1/2','mergeRTree','rowMergeTitleState','20060102','fromCharCode','isBigText','Type','layout','01/02/2006','2248001TdNrnU','isFinite','all','recognizers','entries','table','444684jLSjAs','max','isMatchContinue','insertCellData','invalid','rowTitleCount','Confidence','startStatisticRowCount','customRanges','each','isArray','2\x20January,2006','8EgKlRx','endColumn','keys','log10','getRowCount','dispose','floor','getFullYear','next','getName','isMeasure','transform','4454676qWFPAU','size','Description','1828392yDCFft','getColumnCount','Layout','January\x202,\x202006','mergeRangeMap','columnMergeTitleCountMap','Sample','timeStampStyles','startColumn','1770504DPDBDA','_isRowContinuous','url','getUnitId','getTablesBySubunitId','sample','stringify','endIndex','sheetId','columnId','test','forEach','merge','endRow','isUnique','dataStream','unknown','getSheets','split','02/01/2006','2006-01-02T15:04:05','values','154wFVvYs','number','setConfig','isUpdateTable','slice','startRow','02.01.2006','dateStyles','28915kBBoGO','getAllTableJson','isTestTable','date','defineProperty','2006年1月2日','getSheetId','name','2006-01-02','push','Jan.\x202,\x202006','intersectWithPreTables','getMonth','isMatchEnd','map','Calc','2006/01/02','10DKrqqr','2\x20January,\x202006','replace','pattern','trunc','value','min','get','data','valid','range',',\x20rangeName:','warn','getSheetBySheetId','rowMergeTitleCountMap','_injector','getOwnPropertyDescriptor','4QXoVMd','All','has','mergeRowTitleCount','2\x20Jan.,\x202006','getDate','MAX_SAFE_INTEGER','01-02-2006'];_0x1699=function(){return _0x3a8e21;};return _0x1699();}function Ee(_0xff39cd){const _0x3dde2f=_0x3d09f1;return Number[_0x3dde2f(0x1ee)](_0xff39cd)&&_0xff39cd>=0x1&&_0xff39cd<=0x13880;}function $e(_0x547922){const _0x163d09=_0x3d09f1;switch(_0x547922){case 0x0:return _0x163d09(0x1dc);case 0x1:return'number';case 0x2:case 0x3:case 0x4:return _0x163d09(0x238);case 0x5:return _0x163d09(0x1d7);default:return _0x163d09(0x227);}}class Y{constructor(){const _0x15703=_0x3d09f1;p(this,_0x15703(0x24f),0x0),p(this,_0x15703(0x1f7),0x0),p(this,'confidence',0x0);}}class b extends Y{constructor(_0x4dc44a){const _0x2548cd=_0x3d09f1;super(),p(this,'timeStampStyles'),p(this,'dt'),p(this,_0x2548cd(0x1eb)),p(this,_0x2548cd(0x1c2)),(this['dt']=_0x4dc44a['dt'],this[_0x2548cd(0x1eb)]=_0x4dc44a['layout'],this[_0x2548cd(0x1c2)]=!!_0x4dc44a['needConvert']);}[_0x3d09f1(0x1e2)](_0x4af68a){const _0x13846a=_0x3d09f1;if(_0x4af68a['t']===_0x479a23['STRING']){const _0xe703c3=re(_0x4af68a);if(!_0xe703c3)return;he(_0xe703c3,this[_0x13846a(0x1eb)])?this[_0x13846a(0x24f)]+=F:this['invalid']++;}}[_0x3d09f1(0x244)](){const _0x5b7b28=_0x3d09f1,_0x159c19=0x64-Math[_0x5b7b28(0x24a)]((this['invalid']*0xa+0x1)*0x64/(this['invalid']+this[_0x5b7b28(0x24f)]+0x1)),_0x3f041c={'Charset':this['dt'],'Confidence':_0x159c19,'debugInfo':this[_0x5b7b28(0x1eb)]};return this[_0x5b7b28(0x1c2)]&&(_0x3f041c[_0x5b7b28(0x210)]=this[_0x5b7b28(0x1eb)]),_0x3f041c;}}class se extends Y{constructor(_0x125a75){const _0x3d3a31=_0x3d09f1;super(),p(this,_0x3d3a31(0x234)),p(this,_0x3d3a31(0x215)),p(this,'dt'),p(this,'layout'),p(this,_0x3d3a31(0x1c2)),(this['dateStyles']=_0x125a75[_0x3d3a31(0x234)]||{},this['dt']=_0x125a75['dt'],this[_0x3d3a31(0x1eb)]=_0x125a75[_0x3d3a31(0x1eb)],this[_0x3d3a31(0x1c2)]=!!_0x125a75['needConvert']);}['Match'](_0x5c892e){const _0x205db5=_0x3d09f1;if(_0x5c892e['t']===_0x479a23[_0x205db5(0x1d5)]){if(_0x5c892e['s']&&this[_0x205db5(0x234)][_0x5c892e['s']]){this['valid']+=F;return;}const _0x1af82f=re(_0x5c892e);if(!_0x1af82f)return;if(this[_0x205db5(0x1eb)]==='excel'){const _0x11fa62=Number(_0x1af82f);if(Ee(_0x11fa62)){this['valid']+=F;return;}}he(_0x1af82f,this[_0x205db5(0x1eb)])?this[_0x205db5(0x24f)]+=F:this['invalid']++;}}[_0x3d09f1(0x244)](){const _0x2a6a2b=_0x3d09f1,_0x2d05cc=0x64-Math[_0x2a6a2b(0x24a)]((this[_0x2a6a2b(0x1f7)]*0xa+0x1)*0x64/(this[_0x2a6a2b(0x1f7)]+this[_0x2a6a2b(0x24f)]+0x1)),_0xe1580e={'Charset':this['dt'],'Confidence':_0x2d05cc,'debugInfo':this[_0x2a6a2b(0x1eb)]};return this[_0x2a6a2b(0x1c2)]&&(_0xe1580e[_0x2a6a2b(0x210)]=this[_0x2a6a2b(0x1eb)]),_0xe1580e;}}class _e extends Y{['Match'](_0x329940){const _0x46c2e6=_0x3d09f1;if(_0x329940['t']===_0x479a23[_0x46c2e6(0x1d5)])this['valid']+=Q;else{const _0x1f6a6f=re(_0x329940);if(!_0x1f6a6f)return;Ne(_0x1f6a6f)?this[_0x46c2e6(0x24f)]+=Q:this[_0x46c2e6(0x1f7)]++;}}[_0x3d09f1(0x244)](){const _0xd200a1=_0x3d09f1;return{'Charset':0x1,'Confidence':0x64-Math['trunc']((this['invalid']*0xa+0x1)*0x64/(this[_0xd200a1(0x1f7)]+this[_0xd200a1(0x24f)]+0x1)),'debugInfo':_0xd200a1(0x22e)};}}class Ae extends Y{['Match'](_0x4e1a8f){const _0xdedf79=_0x3d09f1;_0x4e1a8f['t']===_0x479a23['BOOLEAN']?this[_0xdedf79(0x24f)]+=Q:this['invalid']++;}[_0x3d09f1(0x244)](){const _0x4f42ac=_0x3d09f1;return{'Charset':0x5,'Confidence':0x64-Math['trunc']((this[_0x4f42ac(0x1f7)]*0xa+0x1)*0x64/(this['invalid']+this[_0x4f42ac(0x24f)]+0x1)),'debugInfo':'number'};}}class Oe{constructor(_0x5508e6){const _0xa0795a=_0x3d09f1;p(this,_0xa0795a(0x1f0)),p(this,_0xa0795a(0x234)),(this[_0xa0795a(0x234)]=_0x5508e6||{},this['recognizers']=[new b({'dt':0x2,'layout':_0xa0795a(0x23d)}),new b({'dt':0x2,'layout':_0xa0795a(0x1d4)}),new b({'dt':0x2,'layout':_0xa0795a(0x245)}),new b({'dt':0x2,'layout':_0xa0795a(0x1e4)}),new b({'dt':0x2,'layout':_0xa0795a(0x23a),'needConvert':!0x0}),new b({'dt':0x2,'layout':'02-01-2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x22a),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x233),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x25e),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x1ec),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x247),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x1fe),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x25b),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x211),'needConvert':!0x0}),new b({'dt':0x2,'layout':'January\x202,2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x23f),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x1e7),'needConvert':!0x0}),new se({'dateStyles':this[_0xa0795a(0x234)],'dt':0x2,'layout':'20060102','needConvert':!0x0}),new b({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new b({'dt':0x4,'layout':'2006-01-02\x2015:04:05'}),new se({'dateStyles':this[_0xa0795a(0x234)],'dt':0x3,'layout':_0xa0795a(0x1c6),'needConvert':!0x0}),new _e(),new Ae()]);}[_0x3d09f1(0x1e2)](_0x2f9c44){for(const _0x4047d6 of this['recognizers'])_0x4047d6['Match'](_0x2f9c44);}[_0x3d09f1(0x1bf)](){const _0x425aa8=_0x3d09f1,_0x1fe9c0=this[_0x425aa8(0x1f0)][_0x425aa8(0x243)](_0x3adef4=>_0x3adef4['Calc']());if(_0x1fe9c0['sort']((_0x43dd2e,_0x42ecba)=>_0x42ecba[_0x425aa8(0x1f9)]-_0x43dd2e[_0x425aa8(0x1f9)]),_0x1fe9c0[_0x425aa8(0x1e1)]===0x0||_0x1fe9c0[0x0][_0x425aa8(0x1f9)]<0x32)return[_0x425aa8(0x1dc),null];const _0x178620=_0x1fe9c0[0x0];return[$e(_0x178620['Charset']),_0x178620];}}function ge(_0x329fc3,_0x1e8794){const _0x4a3c6e=_0x3d09f1;let _0x351fda=_0x329fc3,_0x47b8c6=_0x1e8794;_0x351fda<=0x0&&(_0x351fda=0x6),_0x47b8c6<=0x0&&(_0x47b8c6=0xa),_0x47b8c6=_0x47b8c6*0x2;const _0x15a284=[];for(let _0x4a54c9=0x0;_0x4a54c9<_0x47b8c6;_0x4a54c9++)_0x15a284[_0x4a3c6e(0x23e)](_0x30e0e9(_0x351fda));const _0x168525=new Map();for(const _0x3153b8 of _0x15a284){const _0x687f8f=_0x3153b8[_0x4a3c6e(0x1d3)]();_0x168525[_0x4a3c6e(0x259)](_0x687f8f)||_0x168525[_0x4a3c6e(0x1da)](_0x687f8f,_0x3153b8);}return Array[_0x4a3c6e(0x1bb)](_0x168525[_0x4a3c6e(0x22c)]());}var ee=(_0x16d976=>(_0x16d976[_0x3d09f1(0x1c5)]='none',_0x16d976[_0x3d09f1(0x258)]=_0x3d09f1(0x1ef),_0x16d976[_0x3d09f1(0x214)]=_0x3d09f1(0x21c),_0x16d976))(ee||{});class K{constructor(_0x4640fd){const _0x42f45b=_0x3d09f1;p(this,'id'),p(this,_0x42f45b(0x21f)),p(this,_0x42f45b(0x250)),p(this,_0x42f45b(0x23c)),p(this,_0x42f45b(0x1bc)),p(this,_0x42f45b(0x1f8)),p(this,_0x42f45b(0x25a)),p(this,_0x42f45b(0x1fa)),p(this,'endStatisticRowCount'),p(this,_0x42f45b(0x254)),p(this,_0x42f45b(0x1e6)),p(this,'columnMergeTitleState'),p(this,_0x42f45b(0x213)),p(this,_0x42f45b(0x242)),p(this,'isMatchContinue'),p(this,'isTimeSeries'),p(this,'isTestTable'),p(this,_0x42f45b(0x230)),p(this,_0x42f45b(0x1d0));var _0x5674d5,_0x386237,_0x3561df,_0xd90e32,_0x2f89c4,_0x2bf6a4,_0x170938,_0x5e2325,_0x35a006,_0x15ec5a,_0x24c9d1,_0x3d0864,_0x22cd3b,_0x45dfb8,_0x2f6d9b,_0x2b818a,_0xcbad4c,_0x48d714,_0x173215;this['id']=(_0x5674d5=_0x4640fd==null?void 0x0:_0x4640fd['id'])!=null?_0x5674d5:'',this[_0x42f45b(0x21f)]=(_0x386237=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x21f)])!=null?_0x386237:_0x30e0e9(),this[_0x42f45b(0x250)]=(_0x3561df=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x250)])!=null?_0x3561df:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this['name']=(_0xd90e32=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x23c)])!=null?_0xd90e32:'',this[_0x42f45b(0x1bc)]=(_0x2f89c4=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1bc)])!=null?_0x2f89c4:'',this[_0x42f45b(0x1f8)]=(_0x2bf6a4=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1f8)])!=null?_0x2bf6a4:0x0,this[_0x42f45b(0x25a)]=(_0x170938=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x25a)])!=null?_0x170938:0x0,this[_0x42f45b(0x1fa)]=(_0x5e2325=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1fa)])!=null?_0x5e2325:0x0,this['endStatisticRowCount']=(_0x35a006=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1d2)])!=null?_0x35a006:0x0,this[_0x42f45b(0x254)]=(_0x15ec5a=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x254)])!=null?_0x15ec5a:new Map(),this[_0x42f45b(0x1e6)]=(_0x24c9d1=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1e6)])!=null?_0x24c9d1:!0x1,this['columnMergeTitleState']=(_0x3d0864=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1cf)])!=null?_0x3d0864:!0x1,this[_0x42f45b(0x213)]=(_0x22cd3b=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x213)])!=null?_0x22cd3b:new Map(),this[_0x42f45b(0x242)]=(_0x45dfb8=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x242)])!=null?_0x45dfb8:!0x1,this[_0x42f45b(0x1f5)]=(_0x2f6d9b=_0x4640fd==null?void 0x0:_0x4640fd['isMatchContinue'])!=null?_0x2f6d9b:!0x1,this[_0x42f45b(0x1c8)]=(_0x2b818a=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1c8)])!=null?_0x2b818a:!0x1,this['isTestTable']=(_0xcbad4c=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x237)])!=null?_0xcbad4c:!0x1,this['isUpdateTable']=(_0x48d714=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x230)])!=null?_0x48d714:!0x1,this[_0x42f45b(0x1d0)]=(_0x173215=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1d0)])!=null?_0x173215:[];}[_0x3d09f1(0x218)](_0x24da3e,_0x3fc876){return _0x3fc876-_0x24da3e===0x1||_0x3fc876===_0x24da3e;}[_0x3d09f1(0x240)](_0x3dc164){const _0x4cee8c=_0x3d09f1,_0x406e31=[];for(const _0xead48 of _0x3dc164)this[_0x4cee8c(0x250)][_0x4cee8c(0x200)]<_0xead48['range'][_0x4cee8c(0x216)]||this['range']['startColumn']>_0xead48[_0x4cee8c(0x250)][_0x4cee8c(0x200)]||this[_0x4cee8c(0x218)](_0xead48[_0x4cee8c(0x250)][_0x4cee8c(0x224)],this['range'][_0x4cee8c(0x232)])&&_0x406e31[_0x4cee8c(0x23e)](_0xead48);return _0x406e31;}['intersectWithColumns'](_0x148e3c){const _0x473cff=_0x3d09f1;return _0x148e3c['range'][_0x473cff(0x224)]===this[_0x473cff(0x250)][_0x473cff(0x232)]&&this['range'][_0x473cff(0x200)]+0x1===_0x148e3c['range'][_0x473cff(0x216)];}[_0x3d09f1(0x1db)](_0x4dff1e){const _0x7420ee=_0x3d09f1;return this[_0x7420ee(0x250)]['startColumn']===-0x1?this:(_0x4dff1e[_0x7420ee(0x23e)](this),new K({'sheetId':this[_0x7420ee(0x21f)],'range':{'startRow':this[_0x7420ee(0x250)]['startRow'],'endRow':this[_0x7420ee(0x250)][_0x7420ee(0x224)],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x3d09f1(0x1f6)](_0x504c8f,_0x2b6cee,_0x448844,_0x3fab2d){const _0x179b34=_0x3d09f1;this[_0x179b34(0x250)][_0x179b34(0x216)]===-0x1&&(this[_0x179b34(0x250)][_0x179b34(0x216)]=_0x2b6cee),this[_0x179b34(0x250)][_0x179b34(0x200)]=_0x2b6cee,_0x3fab2d!=null&&(this[_0x179b34(0x250)][_0x179b34(0x200)]=Math['max'](_0x3fab2d,this[_0x179b34(0x250)][_0x179b34(0x200)]));}[_0x3d09f1(0x204)](){const _0x389b7c=_0x3d09f1;this['rowMergeTitleCountMap'][_0x389b7c(0x1e3)](),this['columnMergeTitleCountMap'][_0x389b7c(0x1e3)](),this[_0x389b7c(0x1d0)]=[];}}function we(_0x551f0c,_0x53bc5b){const {startRow:_0x2219a1,startColumn:_0x166b89,endRow:_0xd0590f,endColumn:_0x599049}=_0x53bc5b;return _0x551f0c+':'+_0x2219a1+','+_0x166b89+'-'+_0xd0590f+','+_0x599049;}const W=new Map();function Pe(_0xf6b071,_0x2e3f70){const _0x58fcdb=_0x3d09f1;var _0x4661d1;const _0x40d7b1=new _0xde5bea(!0x1),_0x73960d=_0x2e3f70[_0x58fcdb(0x23b)](),_0x5dd7f5=new Map(),_0x193dba=(_0x4661d1=_0x2e3f70['getMergeData']())!=null?_0x4661d1:[];W[_0x58fcdb(0x1e3)]();for(const _0x7d38f9 of _0x193dba){const _0x2fecd7=we(_0x58fcdb(0x223),_0x7d38f9),_0xa5476e={'unitId':_0xf6b071,'sheetId':_0x73960d,'range':_0x7d38f9,'id':_0x2fecd7};_0x40d7b1[_0x58fcdb(0x1cd)](_0xa5476e),_0x5dd7f5[_0x58fcdb(0x1da)](_0x2fecd7,_0xa5476e);}return W[_0x58fcdb(0x1da)](_0x2e3f70,{'mergeRTree':_0x40d7b1,'mergeRangeMap':_0x5dd7f5}),{'mergeRTree':_0x40d7b1,'mergeRangeMap':_0x5dd7f5};}function Ue(_0x383ce9,_0x60387b,_0x2295d3){const _0x25c618=_0x3d09f1,_0x57c5c7=new _0xde5bea(!0x1),_0x955f4d=_0x2295d3['get'](_0x5b341d)['getTableList'](_0x383ce9);if(_0x955f4d&&Array[_0x25c618(0x1fd)](_0x955f4d))for(const _0x1ea0f6 of _0x955f4d){if(!(_0x1ea0f6!=null&&_0x1ea0f6['range']))continue;const _0x47a68f=_0x1ea0f6[_0x25c618(0x250)],_0x5a8405={'unitId':_0x383ce9,'sheetId':_0x60387b,'range':_0x47a68f,'id':we(_0x25c618(0x1f2),_0x47a68f)};_0x57c5c7['insert'](_0x5a8405);}return _0x57c5c7;}function ie(_0x49bd2a,_0x3be442,_0x277825){const _0x3455b6=_0x3d09f1,_0x52d3dd=_0x49bd2a[_0x3455b6(0x24d)](_0x3be442);_0x52d3dd?_0x52d3dd[_0x3455b6(0x23e)](_0x277825):_0x49bd2a[_0x3455b6(0x1da)](_0x3be442,[_0x277825]);}function Le(_0x968f96,_0x18c351){const _0x4e288b=_0x3d09f1;var _0x2f775c,_0x5a3a0e,_0x590468;const _0x41734b=_0x968f96[_0x4e288b(0x228)](),_0xabd506={},_0x5c6410=_0x968f96[_0x4e288b(0x21a)]();for(const _0x1832fd of _0x41734b){const _0x5ac6c3=_0x1832fd[_0x4e288b(0x23b)](),_0x5ae11a=_0x1832fd[_0x4e288b(0x203)](),_0x39bb91=_0x1832fd[_0x4e288b(0x20f)](),{mergeRTree:_0x116c74,mergeRangeMap:_0x25a923}=Pe(_0x5c6410,_0x1832fd),_0x5712e7=Ue(_0x5c6410,_0x5ac6c3,_0x18c351),_0x162031=[];let _0x57ff5f=[];for(let _0x4b3c6f=0x0;_0x4b3c6f<_0x5ae11a;_0x4b3c6f++){const _0x4cfdc2=[];let _0x46a114=new K({'sheetId':_0x5ac6c3,'range':{'startRow':_0x4b3c6f,'endRow':_0x4b3c6f,'startColumn':-0x1,'endColumn':-0x1}});const _0x36c7cf=new Map();for(let _0x11943a=0x0;_0x11943a<=_0x39bb91;_0x11943a++){const _0x49ffd4=_0x1832fd['getCell'](_0x4b3c6f,_0x11943a),_0x10b487={'range':{'startRow':_0x4b3c6f,'startColumn':_0x11943a,'endRow':_0x4b3c6f,'endColumn':_0x11943a},'unitId':_0x5c6410,'sheetId':_0x5ac6c3};if(_0x5712e7[_0x4e288b(0x1b9)]([_0x10b487])[_0x4e288b(0x20c)]>0x0){_0x46a114=_0x46a114[_0x4e288b(0x1db)](_0x4cfdc2);continue;}const _0x35b244=_0x116c74[_0x4e288b(0x1b9)]([_0x10b487]);if(_0x35b244['size']>0x0){const _0x16ec83=_0x46a114[_0x4e288b(0x240)](_0x57ff5f),_0x29f6bb=_0x35b244[_0x4e288b(0x201)]()[_0x4e288b(0x207)]()[_0x4e288b(0x24b)],_0xdafc20=_0x25a923[_0x4e288b(0x24d)](_0x29f6bb);if(!_0xdafc20)continue;const _0x53df92={'startRow':_0xdafc20['range']['startRow'],'endRow':_0xdafc20['range'][_0x4e288b(0x224)],'startColumn':_0xdafc20[_0x4e288b(0x250)][_0x4e288b(0x216)],'endColumn':_0xdafc20[_0x4e288b(0x250)][_0x4e288b(0x200)]},_0x3ebdfb=_0x1832fd[_0x4e288b(0x1c0)](_0x53df92[_0x4e288b(0x232)],_0x53df92[_0x4e288b(0x216)]);if(_0x3ebdfb&&(_0x3ebdfb['p']!=null||_0x3ebdfb['v']!=null&&String(_0x3ebdfb['v'])['length']>0x0)){_0x46a114['insertCellData'](_0x4b3c6f,_0x11943a,_0x49ffd4,_0x53df92[_0x4e288b(0x200)]);for(let _0x292ae1=_0x53df92[_0x4e288b(0x216)];_0x292ae1<=_0x53df92[_0x4e288b(0x200)];_0x292ae1++)_0x36c7cf[_0x4e288b(0x1da)](_0x292ae1,!0x0);}else _0x46a114=_0x46a114['saveTableToCache'](_0x4cfdc2);const _0x46d668=_0x53df92[_0x4e288b(0x224)]-_0x53df92['startRow'],_0x35476b=_0x53df92[_0x4e288b(0x200)]-_0x53df92[_0x4e288b(0x216)];if(_0x16ec83[_0x4e288b(0x1e1)]===0x1){if(_0x46d668>0x0&&ie(_0x46a114[_0x4e288b(0x213)],_0x11943a,_0xdafc20),_0x35476b>0x0){const _0x3f3eba=(_0x2f775c=_0x46a114[_0x4e288b(0x254)][_0x4e288b(0x24d)](_0x4b3c6f))!=null?_0x2f775c:[];_0x3f3eba[_0x4e288b(0x23e)](_0xdafc20),_0x46a114[_0x4e288b(0x254)][_0x4e288b(0x1da)](_0x4b3c6f,_0x3f3eba);}}else{if(_0x46d668>0x0&&(_0x46a114[_0x4e288b(0x1cf)]=!0x0,ie(_0x46a114[_0x4e288b(0x213)],_0x11943a,_0xdafc20)),_0x35476b>0x0){_0x46a114[_0x4e288b(0x1e6)]=!0x0;const _0x2e58dd=(_0x5a3a0e=_0x46a114[_0x4e288b(0x254)][_0x4e288b(0x24d)](_0x4b3c6f))!=null?_0x5a3a0e:[];_0x2e58dd[_0x4e288b(0x23e)](_0xdafc20),_0x46a114['rowMergeTitleCountMap'][_0x4e288b(0x1da)](_0x4b3c6f,_0x2e58dd);}}continue;}if((!_0x49ffd4||V(_0x49ffd4)==null)&&!_0x36c7cf[_0x4e288b(0x24d)](_0x11943a)){_0x46a114=_0x46a114['saveTableToCache'](_0x4cfdc2);continue;}_0x49ffd4&&V(_0x49ffd4)!=null?_0x46a114[_0x4e288b(0x1f6)](_0x4b3c6f,_0x11943a,_0x49ffd4):(_0x46a114[_0x4e288b(0x1e6)]=!0x1,_0x46a114[_0x4e288b(0x1cf)]=!0x1,_0x46a114=_0x46a114[_0x4e288b(0x1db)](_0x4cfdc2));}if(_0x4cfdc2[_0x4e288b(0x1e1)]===0x0){_0x162031['push'](..._0x57ff5f),_0x57ff5f=[];continue;}if(_0x57ff5f[_0x4e288b(0x1e1)]===0x0){_0x57ff5f[_0x4e288b(0x23e)](..._0x4cfdc2);continue;}const _0x1e401b=(_0x16d0e6,_0x58d300)=>{const _0x459a24=_0x4e288b;_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x232)]=Math[_0x459a24(0x24c)](_0x16d0e6['range'][_0x459a24(0x232)],_0x58d300['range']['startRow']),_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x224)]=Math[_0x459a24(0x1f4)](_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x224)],_0x58d300[_0x459a24(0x250)][_0x459a24(0x224)]),_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x216)]=Math['min'](_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x216)],_0x58d300[_0x459a24(0x250)][_0x459a24(0x216)]),_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x200)]=Math[_0x459a24(0x1f4)](_0x16d0e6[_0x459a24(0x250)]['endColumn'],_0x58d300['range'][_0x459a24(0x200)]),_0x58d300[_0x459a24(0x254)]['forEach']((_0x5e1d3d,_0x59e73e)=>{const _0x3124cc=_0x459a24;var _0xad3d92;const _0x49a01f=(_0xad3d92=_0x16d0e6[_0x3124cc(0x254)][_0x3124cc(0x24d)](_0x59e73e))!=null?_0xad3d92:[];_0x49a01f['push'](..._0x5e1d3d),_0x16d0e6[_0x3124cc(0x254)][_0x3124cc(0x1da)](_0x59e73e,_0x49a01f);}),_0x58d300[_0x459a24(0x213)][_0x459a24(0x222)]((_0x3f1ab6,_0x356a6a)=>{const _0x56e391=_0x459a24;var _0x3835a3;const _0x4242d2=(_0x3835a3=_0x16d0e6[_0x56e391(0x213)][_0x56e391(0x24d)](_0x356a6a))!=null?_0x3835a3:[];_0x4242d2[_0x56e391(0x23e)](..._0x3f1ab6),_0x16d0e6['columnMergeTitleCountMap'][_0x56e391(0x1da)](_0x356a6a,_0x4242d2);});};for(let _0xb55425=0x0;_0xb55425+0x1<_0x4cfdc2[_0x4e288b(0x1e1)];_0xb55425++){const _0xc2dc47=_0x4cfdc2[_0xb55425],_0x503868=_0x4cfdc2[_0xb55425+0x1];_0xc2dc47['intersectWithColumns'](_0x503868)&&(_0x1e401b(_0xc2dc47,_0x503868),_0x4cfdc2['splice'](_0xb55425+0x1,0x1),_0xb55425--);}const _0x3f8e2f=[];for(const _0x4b8eb2 of _0x4cfdc2){const _0x4d30d2=_0x4b8eb2[_0x4e288b(0x240)](_0x57ff5f);if(_0x4d30d2[_0x4e288b(0x1e1)]===0x0){_0x3f8e2f[_0x4e288b(0x23e)](_0x4b8eb2);continue;}const _0x11b0e5=(_0x590468=_0x4b8eb2[_0x4e288b(0x254)]['get'](_0x4b3c6f))!=null?_0x590468:[];let _0x5f0acf=Number[_0x4e288b(0x25d)],_0x306bff=-0x1,_0x2f439b=-0x1;for(const _0xc15d39 of _0x11b0e5){const _0x78b6e5=_0xc15d39[_0x4e288b(0x250)],_0x57c5ce=_0x78b6e5['startColumn'],_0x102000=_0x78b6e5[_0x4e288b(0x200)];_0x5f0acf=Math[_0x4e288b(0x24c)](_0x5f0acf,_0x57c5ce),_0x306bff=Math[_0x4e288b(0x1f4)](_0x306bff,_0x102000);}_0x306bff===-0x1&&(_0x2f439b=_0x306bff-_0x5f0acf+0x1);const _0x5543ca=_0x4d30d2[0x0][_0x4e288b(0x250)],_0x203173=_0x5543ca['endColumn']-_0x5543ca[_0x4e288b(0x216)]+0x1;if(_0x2f439b>=0x0&&_0x2f439b<=_0x203173*0x3/0x4){_0x3f8e2f[_0x4e288b(0x23e)](_0x4b8eb2);continue;}const _0x40c3d9=_0x4d30d2[0x0];for(const _0x44b059 of _0x4d30d2[_0x4e288b(0x231)](0x1))_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x232)]=Math[_0x4e288b(0x24c)](_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x232)],_0x44b059[_0x4e288b(0x250)][_0x4e288b(0x232)]),_0x40c3d9[_0x4e288b(0x250)]['endRow']=Math['max'](_0x40c3d9['range'][_0x4e288b(0x224)],_0x44b059['range'][_0x4e288b(0x224)]),_0x40c3d9[_0x4e288b(0x250)]['startColumn']=Math[_0x4e288b(0x24c)](_0x40c3d9['range'][_0x4e288b(0x216)],_0x44b059[_0x4e288b(0x250)][_0x4e288b(0x216)]),_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x200)]=Math[_0x4e288b(0x1f4)](_0x40c3d9[_0x4e288b(0x250)]['endColumn'],_0x44b059[_0x4e288b(0x250)][_0x4e288b(0x200)]);_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x232)]=Math['min'](_0x40c3d9[_0x4e288b(0x250)]['startRow'],_0x4b8eb2[_0x4e288b(0x250)][_0x4e288b(0x232)]),_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x224)]=Math['max'](_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x224)],_0x4b8eb2[_0x4e288b(0x250)][_0x4e288b(0x224)]),_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x216)]=Math['min'](_0x40c3d9['range'][_0x4e288b(0x216)],_0x4b8eb2[_0x4e288b(0x250)]['startColumn']),_0x40c3d9[_0x4e288b(0x250)]['endColumn']=Math[_0x4e288b(0x1f4)](_0x40c3d9['range']['endColumn'],_0x4b8eb2[_0x4e288b(0x250)][_0x4e288b(0x200)]),_0x4b8eb2['rowMergeTitleCountMap']['forEach']((_0x2eca84,_0x27623e)=>{const _0x1dbace=_0x4e288b;var _0x4a126c;const _0x9baf2a=(_0x4a126c=_0x40c3d9['rowMergeTitleCountMap'][_0x1dbace(0x24d)](_0x27623e))!=null?_0x4a126c:[];_0x9baf2a['push'](..._0x2eca84),_0x40c3d9['rowMergeTitleCountMap']['set'](_0x27623e,_0x9baf2a);}),_0x4b8eb2[_0x4e288b(0x213)][_0x4e288b(0x222)]((_0x2b91ac,_0x25ac35)=>{const _0x45feaf=_0x4e288b;var _0x554017;const _0x3d12a8=(_0x554017=_0x40c3d9[_0x45feaf(0x213)]['get'](_0x25ac35))!=null?_0x554017:[];_0x3d12a8[_0x45feaf(0x23e)](..._0x2b91ac),_0x40c3d9[_0x45feaf(0x213)][_0x45feaf(0x1da)](_0x25ac35,_0x3d12a8);}),_0x40c3d9[_0x4e288b(0x1f5)]=!0x0;}const _0x414356=[];for(const _0x387719 of _0x57ff5f)!_0x387719[_0x4e288b(0x1f5)]&&_0x387719[_0x4e288b(0x242)]||(_0x414356[_0x4e288b(0x23e)](_0x387719),_0x387719[_0x4e288b(0x1f5)]=!0x1,_0x387719[_0x4e288b(0x242)]=!0x1);_0x414356[_0x4e288b(0x23e)](..._0x3f8e2f),_0x57ff5f=_0x414356;}_0x162031[_0x4e288b(0x23e)](..._0x57ff5f);let _0x3a2999=0x0;for(const _0xc2b5d5 of _0x162031){const _0x5d446c=_0xc2b5d5['range'][_0x4e288b(0x224)]-_0xc2b5d5[_0x4e288b(0x250)]['startRow']+0x1;_0xc2b5d5[_0x4e288b(0x250)]['endColumn']-_0xc2b5d5['range']['startColumn']+0x1>0x0&&_0x5d446c>0x1&&_0x3a2999++;}if(_0x3a2999===0x0)continue;const _0x3f345e=[],_0x32985f=ge(0x6,_0x162031['length']);let _0x41fb15=0x0;for(const _0x42cbd8 of _0x162031){const _0x2638eb=_0x42cbd8['range']['endRow']-_0x42cbd8[_0x4e288b(0x250)][_0x4e288b(0x232)]+0x1,_0x1830a4=_0x42cbd8[_0x4e288b(0x250)][_0x4e288b(0x200)]-_0x42cbd8['range'][_0x4e288b(0x216)]+0x1;let _0x3f7c3e=!0x1;for(const _0x1f733f of _0x1832fd[_0x4e288b(0x1ca)]())if(ke(_0x42cbd8[_0x4e288b(0x250)],_0x1f733f)){_0x3f7c3e=!0x0;break;}if(_0x3f7c3e)continue;let _0x1bac65=!0x0;for(const _0x5877aa of _0x162031)if(_0x5877aa!==_0x42cbd8&&Je(_0x42cbd8,_0x5877aa)){_0x1bac65=!0x1;break;}_0x1bac65&&(_0x1830a4<=0x0||_0x2638eb<=0x1||(_0x42cbd8['id']=_0x32985f[_0x41fb15++],_0x3f345e[_0x4e288b(0x23e)](_0x42cbd8)));}_0xabd506[_0x5ac6c3]=_0x3f345e;}return _0xabd506;}function De(_0x48696b,_0x3884f6,_0x39aed3){const _0x406b67=Le(_0x48696b,_0x3884f6);Ge(_0x406b67,_0x48696b,_0x3884f6);const _0x4447dc=Ve(_0x406b67,_0x48696b);return He(_0x4447dc,_0x48696b,_0x3884f6,_0x39aed3);}function ke(_0x53577f,_0x28b776){const _0x276533=_0x3d09f1;return _0x53577f['startRow']===_0x28b776[_0x276533(0x232)]&&_0x53577f['endRow']===_0x28b776[_0x276533(0x224)]&&_0x53577f['startColumn']===_0x28b776[_0x276533(0x216)]&&_0x53577f[_0x276533(0x200)]===_0x28b776[_0x276533(0x200)];}function Je(_0x239f6f,_0x1e21f4){const _0x1f0620=_0x3d09f1;return _0x239f6f[_0x1f0620(0x250)][_0x1f0620(0x232)]>=_0x1e21f4[_0x1f0620(0x250)]['startRow']&&_0x239f6f[_0x1f0620(0x250)][_0x1f0620(0x224)]<=_0x1e21f4['range'][_0x1f0620(0x224)]&&_0x239f6f['range'][_0x1f0620(0x216)]>=_0x1e21f4[_0x1f0620(0x250)][_0x1f0620(0x216)]&&_0x239f6f[_0x1f0620(0x250)][_0x1f0620(0x200)]<=_0x1e21f4[_0x1f0620(0x250)][_0x1f0620(0x200)];}function Be(_0x10cefc){const _0x56a03e=_0x3d09f1;return''+ne(_0x10cefc[_0x56a03e(0x216)])+(_0x10cefc[_0x56a03e(0x232)]+0x1)+':'+ne(_0x10cefc[_0x56a03e(0x200)])+(_0x10cefc[_0x56a03e(0x224)]+0x1);}function te(_0x4beb59){const _0x502de4=_0x3d09f1;var _0x509647;if(_0x4beb59!==null){if(_0x4beb59!=null&&_0x4beb59['p']){const _0x453fdf=_0x4beb59==null?void 0x0:_0x4beb59['p']['body'];if(_0x453fdf==null)return;const _0x27f182=_0x453fdf[_0x502de4(0x226)],_0x3a32a1=_0x2aae4e[_0x502de4(0x20a)]['getPlainText'](_0x27f182),_0x47e7e0=_0x453fdf[_0x502de4(0x1fb)];if(_0x47e7e0&&_0x47e7e0['length']>0x0){const _0x51dd09=_0x47e7e0[0x0],_0x21801d=(_0x509647=_0x51dd09['properties'])==null?void 0x0:_0x509647[_0x502de4(0x219)];if(!_0x21801d)return _0x3a32a1;const _0x147558=typeof _0x51dd09['startIndex']==_0x502de4(0x22e)?_0x51dd09[_0x502de4(0x1dd)]:0x0;let _0x2c0b35=typeof _0x51dd09[_0x502de4(0x21e)]==_0x502de4(0x22e)?_0x51dd09[_0x502de4(0x21e)]+0x1:_0x147558+0x1;return _0x147558===0x0&&_0x2c0b35===0x0?_0x2c0b35=0x1:_0x2c0b35<=_0x147558&&(_0x2c0b35=_0x147558+0x1),'['+_0x27f182[_0x502de4(0x231)](_0x147558,_0x2c0b35)+']('+_0x21801d+')';}return _0x3a32a1;}if((_0x4beb59==null?void 0x0:_0x4beb59['v'])!=null)return _0x4beb59['v'];}}function V(_0x14632c){const _0x21c398=te(_0x14632c);if(_0x21c398!=null)return String(_0x21c398);}function ze(_0x2d6984,_0x23f988,_0x57e078){const _0x1ebee2=_0x3d09f1,_0x5e05e7=_0x57e078[_0x1ebee2(0x1c0)](_0x2d6984,_0x23f988);if(_0x5e05e7!=null){const _0x1af6e9=V(_0x5e05e7);if(_0x1af6e9!=null&&_0x1af6e9[_0x1ebee2(0x1e1)]>0x0)return _0x1af6e9;}const _0x34ee15=W[_0x1ebee2(0x24d)](_0x57e078),_0x51b83e=_0x34ee15==null?void 0x0:_0x34ee15[_0x1ebee2(0x1e5)],_0x42b4a6=_0x34ee15==null?void 0x0:_0x34ee15[_0x1ebee2(0x212)],_0x32de05=_0x57e078[_0x1ebee2(0x21a)](),_0x37cc4e=_0x57e078[_0x1ebee2(0x23b)](),_0x4aa38a={'range':{'startRow':_0x2d6984,'endRow':_0x2d6984,'startColumn':_0x23f988,'endColumn':_0x23f988},'unitId':_0x32de05,'sheetId':_0x37cc4e},_0x1c8e0b=(_0x51b83e==null?void 0x0:_0x51b83e[_0x1ebee2(0x1b9)]([_0x4aa38a]))||new Map();if(_0x1c8e0b['size']===0x0||!_0x42b4a6)return null;const _0x2ff08c=_0x1c8e0b[_0x1ebee2(0x201)]()[_0x1ebee2(0x207)]()['value'],_0x4ed5e7=_0x42b4a6[_0x1ebee2(0x24d)](_0x2ff08c);if(!_0x4ed5e7)return null;const _0x1e4aad=_0x57e078[_0x1ebee2(0x1c0)](_0x4ed5e7[_0x1ebee2(0x250)][_0x1ebee2(0x232)],_0x4ed5e7[_0x1ebee2(0x250)][_0x1ebee2(0x216)]);return _0x1e4aad==null?null:V(_0x1e4aad);}function Ge(_0x9f056f,_0x519c4f,_0x46d915){const _0x363610=_0x3d09f1,_0x4a9a15=_0x519c4f[_0x363610(0x228)](),_0x1cb47b=_0x46d915['get'](_0x5b341d),_0x3f7a42=_0x519c4f[_0x363610(0x21a)]();for(const _0x5c2ddc of _0x4a9a15){const _0x83e56e=_0x5c2ddc[_0x363610(0x23b)](),_0x19332e=_0x1cb47b[_0x363610(0x21b)](_0x3f7a42,_0x83e56e);if(!_0x19332e)continue;const _0x5ced64=_0x19332e['map'](_0x2a2ac5=>_0x2a2ac5[_0x363610(0x1d1)]());for(const _0x478b37 of _0x5ced64){const {startRow:_0x4b5268,endRow:_0x4b998a,startColumn:_0x1dbacc,endColumn:_0x52644e}=_0x478b37['range'],_0x2c6a2d=new K({'id':_0x478b37['id'],'sheetId':_0x83e56e,'range':{'startRow':_0x4b5268,'endRow':_0x4b998a,'startColumn':_0x1dbacc,'endColumn':_0x52644e},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x9f056f[_0x83e56e]||(_0x9f056f[_0x83e56e]=[]),_0x9f056f[_0x83e56e][_0x363610(0x23e)](_0x2c6a2d);}}}function Ve(_0x4588df,_0x3fccb5){const _0x4c6e57=_0x3d09f1;var _0x179156,_0x45f6b8;for(const [_0x539b07,_0x4e9860]of Object['entries'](_0x4588df)){const _0x17cd15=_0x4e9860;let _0x2d4335=!0x1;const _0x5f1c89=_0x3fccb5[_0x4c6e57(0x253)](_0x539b07);if(_0x5f1c89){for(let _0x4b861a=0x0;_0x4b861a<_0x17cd15[_0x4c6e57(0x1e1)];_0x4b861a++){const _0x4d401c=_0x17cd15[_0x4b861a],_0x29eaba=_0x4d401c[_0x4c6e57(0x250)],{startRow:_0x1c6c02,endRow:_0x5046f5,startColumn:_0x59d3f0,endColumn:_0x4b60bd}=_0x29eaba,_0x44d467=We(_0x4d401c,_0x5f1c89,_0x3fccb5),_0x45d44b=je(_0x1c6c02,_0x5046f5,_0x4d401c);let _0x2fed15=0x1;const _0x52b1f6=_0x1c6c02+_0x45d44b;let _0x43e67c=0x0,_0x27e413=0x0;for(let _0x1fb9cc=_0x59d3f0;_0x1fb9cc<=_0x4b60bd;_0x1fb9cc++){const _0x49932b=_0x5f1c89[_0x4c6e57(0x1c0)](_0x52b1f6,_0x1fb9cc);if(!_0x49932b)continue;const _0x12fb9e=V(_0x49932b);_0x12fb9e!=null&&(_0x12fb9e!==''&&_0x27e413++,le(_0x12fb9e)&&_0x43e67c++);}if(_0x27e413>0x0&&_0x43e67c/Math[_0x4c6e57(0x1f4)](_0x27e413,0x1)>0.03&&(_0x2fed15=0x0),_0x4d401c[_0x4c6e57(0x25a)]=_0x45d44b,_0x4d401c[_0x4c6e57(0x1f8)]=_0x2fed15+_0x45d44b,_0x4d401c['range'][_0x4c6e57(0x224)]-_0x4d401c[_0x4c6e57(0x250)][_0x4c6e57(0x232)]+0x1-_0x4d401c[_0x4c6e57(0x1f8)]<=0x1){console[_0x4c6e57(0x252)](_0x4c6e57(0x1e0)+_0x4b861a+_0x4c6e57(0x251)+Be(_0x4d401c[_0x4c6e57(0x250)])),_0x17cd15[_0x4c6e57(0x1c7)](_0x4b861a,0x1),_0x4b861a--,_0x2d4335=!0x0;continue;}const _0x3ffc90=new Map();let _0xaad2e1=0x0;const _0x48e627=ge(0x4,_0x4b60bd-_0x59d3f0+0x1);for(let _0x3f9db8=_0x59d3f0;_0x3f9db8<=_0x4b60bd;_0x3f9db8++){let _0x76d16d='';const _0x42621e=new Set();let _0x1901c7=!0x1;const _0x4bd276=_0x1c6c02+_0x4d401c[_0x4c6e57(0x1f8)]-0x1;let _0x1b08c4=_0x1c6c02;_0x44d467!==''&&(_0x1b08c4=_0x1c6c02+0x1);for(let _0x56a95e=_0x1b08c4;_0x56a95e<=_0x4bd276;_0x56a95e++){const _0x2f2521=ze(_0x56a95e,_0x3f9db8,_0x5f1c89);_0x2f2521!=null&&(_0x56a95e===_0x4bd276&&(_0x76d16d=_0x2f2521),_0x42621e['add'](_0x2f2521));}const _0x40c7af=[..._0x42621e][_0x4c6e57(0x1cc)](','),_0x4b919d=_0x40c7af;_0x3ffc90[_0x4c6e57(0x259)](_0x4b919d)?_0x1901c7=!0x0:_0x3ffc90[_0x4c6e57(0x1da)](_0x4b919d,!0x0);const _0xa3382=_0x4bd276+0x1;let _0x6da471=_0x4bd276+0x14,_0xfcd3a3=0x0,_0x31dbbd=!0x1,_0x165550=!0x1;if(_0x6da471>_0x5046f5&&(_0x6da471=_0x5046f5),_0xa3382<_0x5046f5){let _0xa8b54e='';for(let _0x4056ba=_0xa3382;_0x4056ba<=_0x6da471;_0x4056ba++){const _0x44bc91=_0x5f1c89[_0x4c6e57(0x1c0)](_0x4056ba,_0x3f9db8);if(!_0x44bc91)continue;const _0x353c14=V(_0x44bc91);_0x353c14!=null&&(le(_0x353c14)||(_0xa8b54e+=_0x353c14),Ke(_0x353c14)&&_0xfcd3a3++);}_0xfcd3a3>Math[_0x4c6e57(0x205)]((_0x6da471-_0xa3382+0x1)/0x2)&&(_0x165550=!0x0),Xe(_0xa8b54e)/Math[_0x4c6e57(0x1f4)](_0x6da471-_0xa3382+0x1,0x1)>0xf&&!_0x165550&&(_0x31dbbd=!0x0);}_0x4d401c['columns']['push']({'id':_0x48e627[_0xaad2e1++],'Name':_0x76d16d,'Type':'','Description':_0x40c7af,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x31dbbd,'isLink':_0x165550,'isTitleRepeat':_0x1901c7,'isUnique':!0x1,'links':[]});}qe(_0x4d401c,_0x3fccb5);}_0x2d4335&&(_0x4588df[_0x539b07]=_0x17cd15),_0x17cd15[_0x4c6e57(0x1e1)]===0x0&&delete _0x4588df[_0x539b07],(_0x45f6b8=(_0x179156=_0x4588df[_0x539b07])==null?void 0x0:_0x179156[_0x4c6e57(0x1e1)])!=null;}}return _0x4588df;}function je(_0x5bf843,_0x24dcb3,_0x175dfa){const _0x518b26=_0x3d09f1;var _0x286eac;function _0x4b4a0b(_0x4b6af8){const _0x555e3d=_0x3dc8;if(_0x4b6af8['length']===0x0)return 0x0;_0x4b6af8['sort']((_0x55a53b,_0x9d10fd)=>_0x55a53b[0x0]-_0x9d10fd[0x0]);let _0xeb386f=0x0,_0x3400c4=_0x4b6af8[0x0][0x0],_0x446da9=_0x4b6af8[0x0][0x1];for(let _0x36f78d=0x1;_0x36f78d<_0x4b6af8['length'];_0x36f78d++){const [_0x2987fd,_0x47f899]=_0x4b6af8[_0x36f78d];_0x2987fd<=_0x446da9+0x1?_0x446da9=Math[_0x555e3d(0x1f4)](_0x446da9,_0x47f899):(_0xeb386f+=_0x446da9-_0x3400c4+0x1,_0x3400c4=_0x2987fd,_0x446da9=_0x47f899);}return _0xeb386f+=_0x446da9-_0x3400c4+0x1,_0xeb386f;}const _0x157669=_0x175dfa['range'][_0x518b26(0x216)],_0x59766b=_0x175dfa['range'][_0x518b26(0x200)],_0x17c356=_0x59766b-_0x157669+0x1;let _0x40b3dd=_0x5bf843-0x1,_0x1bd8fc=_0x5bf843-0x1,_0x3e3347=!0x1;const _0x1d4e8c=0x64;for(let _0xcde39c=_0x5bf843;_0xcde39c<=_0x24dcb3&&_0xcde39c-_0x5bf843<_0x1d4e8c;_0xcde39c++){const _0x3a2f9d=[],_0x32672b=(_0x286eac=_0x175dfa['rowMergeTitleCountMap'][_0x518b26(0x24d)](_0xcde39c))!=null?_0x286eac:[];for(const _0x594800 of _0x32672b){const _0x5a59e5=_0x594800[_0x518b26(0x250)]['startColumn'],_0x1c5ec6=_0x594800[_0x518b26(0x250)]['endColumn'],_0x152fe8=Math[_0x518b26(0x1f4)](_0x5a59e5,_0x157669),_0x16f940=Math[_0x518b26(0x24c)](_0x1c5ec6,_0x59766b);_0x152fe8<=_0x16f940&&_0x3a2f9d['push']([_0x152fe8,_0x16f940]);}_0x175dfa[_0x518b26(0x213)]['forEach'](_0x28f268=>{const _0x1659b1=_0x518b26;for(const _0x1a5f2c of _0x28f268){const _0x38b182=_0x1a5f2c[_0x1659b1(0x250)][_0x1659b1(0x232)],_0x29ca01=_0x1a5f2c[_0x1659b1(0x250)][_0x1659b1(0x224)];if(_0x38b182<=_0xcde39c&&_0xcde39c<=_0x29ca01){const _0x487e8d=_0x1a5f2c[_0x1659b1(0x250)][_0x1659b1(0x216)],_0x560092=_0x1a5f2c['range']['endColumn'],_0x9cc3d0=Math[_0x1659b1(0x1f4)](_0x487e8d,_0x157669),_0x3b21d7=Math[_0x1659b1(0x24c)](_0x560092,_0x59766b);_0x9cc3d0<=_0x3b21d7&&_0x3a2f9d[_0x1659b1(0x23e)]([_0x9cc3d0,_0x3b21d7]);}}});const _0x10ec60=_0x4b4a0b(_0x3a2f9d),_0x294424=_0x10ec60/Math[_0x518b26(0x1f4)](_0x17c356,0x1);_0x3a2f9d[_0x518b26(0x1e1)]>0x0&&(_0x40b3dd=_0xcde39c),_0x10ec60>0x0&&_0x294424>=0.75&&!_0x3e3347?_0x1bd8fc=_0xcde39c:_0x3a2f9d[_0x518b26(0x1e1)]>0x0&&(_0x3e3347=!0x0);}return _0x40b3dd===_0x24dcb3||_0x40b3dd-_0x5bf843===_0x1d4e8c?_0x1bd8fc-_0x5bf843+0x1:_0x40b3dd-_0x5bf843+0x1;}function We(_0x138ea4,_0x40b8bd,_0x5a43c1){const _0x35c2f9=_0x3d09f1;if(_0x138ea4[_0x35c2f9(0x1bc)]+=_0x40b8bd[_0x35c2f9(0x208)]()+',\x20'+_0x5a43c1[_0x35c2f9(0x23c)],_0x138ea4[_0x35c2f9(0x23c)]&&_0x138ea4[_0x35c2f9(0x23c)]!=='')return _0x138ea4[_0x35c2f9(0x23c)];const _0x2a0910=_0x138ea4[_0x35c2f9(0x250)][_0x35c2f9(0x232)],_0x774142=_0x138ea4[_0x35c2f9(0x250)][_0x35c2f9(0x216)],_0x5bdfc7=_0x138ea4[_0x35c2f9(0x250)][_0x35c2f9(0x200)],_0x5669f7=0x3,_0x125de0=_0x138ea4[_0x35c2f9(0x254)][_0x35c2f9(0x24d)](_0x2a0910);if(_0x125de0&&_0x125de0['length']>0x0)for(const _0x3eccf2 of _0x125de0){const _0x10acbf=_0x3eccf2[_0x35c2f9(0x250)],_0xaf0efd=_0x10acbf['startColumn'],_0x4953f9=_0x10acbf['endColumn'];if(_0xaf0efd<=_0x774142+_0x5669f7&&_0x4953f9>=_0x5bdfc7-_0x5669f7){const _0x45e45a=_0x40b8bd[_0x35c2f9(0x1c0)](_0x2a0910,_0xaf0efd);if(!_0x45e45a)return'';const _0x2c341e=V(_0x45e45a);return _0x2c341e==null||_0x2c341e===''?'':(_0x138ea4['name']=_0x2c341e,_0x2c341e);}}return'';}function qe(_0x41b023,_0x4bb68e){const _0x18745e=_0x3d09f1,_0x4f275a={};_0x4bb68e['getStyles']()[_0x18745e(0x1fc)](_0x1a2ee1=>{const _0x4e923f=_0x18745e,[_0x43548b,_0x2fe830]=_0x1a2ee1;return!_0x43548b||!_0x2fe830||_0x2fe830['n']&&typeof _0x2fe830['n'][_0x4e923f(0x249)]==_0x4e923f(0x1dc)&&/[YyMDd]/[_0x4e923f(0x221)](_0x2fe830['n'][_0x4e923f(0x249)])&&(_0x4f275a[_0x43548b]=!0x0),!0x0;});const _0x575f37=_0x41b023[_0x18745e(0x250)][_0x18745e(0x232)],_0x57e38b=_0x41b023[_0x18745e(0x250)][_0x18745e(0x224)],_0x3fcd5e=_0x41b023['rowTitleCount'],_0xfcae0b=_0x41b023[_0x18745e(0x21f)],_0xad7b6c=_0x4bb68e[_0x18745e(0x253)](_0xfcae0b);if(!_0xad7b6c)return;const _0x37d4c6=_0x57e38b-_0x575f37+0x1-_0x3fcd5e;if(_0x37d4c6<=0x1){console[_0x18745e(0x252)]('skip\x20small\x20table');return;}const _0x22c85f=[];for(let _0x114a18=0x0;_0x114a18<_0x41b023[_0x18745e(0x250)]['endColumn']-_0x41b023['range']['startColumn']+0x1;_0x114a18++)_0x22c85f[_0x18745e(0x23e)](new Oe(_0x4f275a));const _0x806ceb=Math[_0x18745e(0x202)](Math[_0x18745e(0x1f4)](_0x37d4c6,0x1));for(let _0x58b2c7=0x0;;_0x58b2c7++){const _0x39016e=_0x58b2c7,_0x10ee3b=Math[_0x18745e(0x205)](_0x39016e+0.00001*_0x39016e**2.7*_0x806ceb*_0x806ceb)+_0x575f37+_0x3fcd5e;if(_0x10ee3b>_0x57e38b)break;for(let _0x4b04f2=_0x41b023[_0x18745e(0x250)][_0x18745e(0x216)];_0x4b04f2<=_0x41b023[_0x18745e(0x250)][_0x18745e(0x200)];_0x4b04f2++){const _0x3d8f92=_0xad7b6c['getCell'](_0x10ee3b,_0x4b04f2);_0x3d8f92&&_0x22c85f[_0x4b04f2-_0x41b023[_0x18745e(0x250)][_0x18745e(0x216)]][_0x18745e(0x1e2)](_0x3d8f92);}}for(let _0x177569=0x0;_0x177569<_0x41b023['columns'][_0x18745e(0x1e1)];_0x177569++){const [_0x226be0,_0x28cfc0]=_0x22c85f[_0x177569][_0x18745e(0x1bf)]();_0x41b023[_0x18745e(0x1d0)][_0x177569][_0x18745e(0x1ea)]=_0x226be0;}}function pe(_0x9c35ad){const _0x3e00b0=_0x3d09f1,_0x284b37=[];for(const _0x2903da of _0x9c35ad[_0x3e00b0(0x1c1)])_0x284b37[_0x3e00b0(0x23e)]({'tableId':_0x2903da[_0x3e00b0(0x1ce)],'columnId':_0x2903da[_0x3e00b0(0x220)],'linkType':_0x2903da['linkType']});return _0x284b37;}function Fe(_0x573daf){const _0x3449c2=_0x3d09f1;return _0x573daf[_0x3449c2(0x1f8)]===0x1;}function Ze(_0x315e11,_0x366f27,_0x5440fd,_0x59446d,_0x85c38f){const _0x356669=_0x3d09f1,_0x1abadb=_0x59446d[_0x356669(0x24d)](_0x5b341d),_0xc37b2f=_0x366f27['getUnitId'](),_0x322388=_0x315e11['sheetId'];if(_0x1abadb['getTablesBySubunitId'](_0xc37b2f,_0x322388)){for(const _0x2d5af4 of _0x5440fd)if(_0x2d5af4['id']===_0x315e11['id']){_0x2d5af4[_0x356669(0x23c)]=_0x315e11[_0x356669(0x23c)],_0x2d5af4[_0x356669(0x1d8)]={},_0x2d5af4[_0x356669(0x1d8)]['description']=_0x315e11[_0x356669(0x1bc)],_0x2d5af4['meta'][_0x356669(0x1f8)]=_0x315e11[_0x356669(0x1f8)],_0x2d5af4['meta']['mergeRowTitleCount']=_0x315e11[_0x356669(0x25a)],_0x2d5af4['meta'][_0x356669(0x1c8)]=_0x315e11['isTimeSeries'];for(let _0x4a055e=0x0;_0x4a055e<_0x315e11[_0x356669(0x1d0)][_0x356669(0x1e1)];_0x4a055e++){const _0x3f82ef=_0x315e11[_0x356669(0x1d0)][_0x4a055e],_0x5ab9de=_0x2d5af4[_0x356669(0x1d0)][_0x4a055e];_0x5ab9de['displayName']=_0x3f82ef[_0x356669(0x1ba)],_0x5ab9de['dataType']=_0x3f82ef[_0x356669(0x1ea)],_0x5ab9de[_0x356669(0x1d8)]={},_0x5ab9de['meta']['description']=_0x3f82ef[_0x356669(0x20d)],_0x5ab9de[_0x356669(0x1d8)]['isCoded']=_0x3f82ef[_0x356669(0x1df)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x209)]=_0x3f82ef['isMeasure'],_0x5ab9de[_0x356669(0x1d8)]['isOpinionText']=_0x3f82ef[_0x356669(0x1de)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1e9)]=_0x3f82ef[_0x356669(0x1e9)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1c9)]=_0x3f82ef['isLink'],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1d6)]=_0x3f82ef[_0x356669(0x1d6)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x225)]=_0x3f82ef[_0x356669(0x225)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1c1)]=pe(_0x3f82ef);}Me(_0x2d5af4,_0x322388,_0x366f27,_0x85c38f);}W[_0x356669(0x1e3)]();}}function He(_0x4f07a5,_0x373afc,_0x1ad556,_0x1308b6){const _0xfd4e11=_0x3d09f1,_0x25ee6a=_0x1ad556[_0xfd4e11(0x24d)](_0x5b341d),_0x1eb9e9=_0x373afc[_0xfd4e11(0x21a)](),_0x4175ad={};for(const [_0x548ea4,_0x5b69bc]of Object[_0xfd4e11(0x1f1)](_0x4f07a5)){const _0x384730=_0x25ee6a[_0xfd4e11(0x21b)](_0x1eb9e9,_0x548ea4),_0x22712a=(_0x384730==null?void 0x0:_0x384730[_0xfd4e11(0x243)](_0x3f4b5b=>_0x3f4b5b['toJSON']()))||[];for(const _0x111545 of _0x5b69bc){if(_0x111545[_0xfd4e11(0x230)]){Ze(_0x111545,_0x373afc,_0x22712a,_0x1ad556,_0x1308b6);continue;}const _0x6138e0={'id':_0x111545['id'],'range':{'startRow':_0x111545[_0xfd4e11(0x250)][_0xfd4e11(0x232)]+_0x111545[_0xfd4e11(0x25a)],'endRow':_0x111545['range'][_0xfd4e11(0x224)],'startColumn':_0x111545[_0xfd4e11(0x250)][_0xfd4e11(0x216)],'endColumn':_0x111545[_0xfd4e11(0x250)][_0xfd4e11(0x200)]},'name':_0x111545[_0xfd4e11(0x23c)],'meta':{},'options':{'showHeader':Fe(_0x111545),'showFooter':!0x1},'columns':[],'filters':{}};_0x6138e0['meta'][_0xfd4e11(0x1bc)]=_0x111545[_0xfd4e11(0x1bc)],_0x6138e0['meta']['rowTitleCount']=_0x111545[_0xfd4e11(0x1f8)],_0x6138e0[_0xfd4e11(0x1d8)]['mergeRowTitleCount']=_0x111545[_0xfd4e11(0x25a)],_0x6138e0[_0xfd4e11(0x1d8)][_0xfd4e11(0x1c8)]=_0x111545[_0xfd4e11(0x1c8)];const _0x2d0894=_0x111545['range']['startColumn'];for(let _0x3f13dd=0x0;_0x3f13dd<_0x111545['columns'][_0xfd4e11(0x1e1)];_0x3f13dd++){const _0x32e53b=_0x111545[_0xfd4e11(0x1d0)][_0x3f13dd],_0x8e113c={'id':_0x32e53b['id'],'displayName':_0x32e53b[_0xfd4e11(0x1ba)]||'column_'+ne(_0x2d0894+_0x3f13dd),'dataType':_0x32e53b['Type'],'meta':{},'formula':'','style':{}};_0x8e113c['meta'][_0xfd4e11(0x1bc)]=_0x32e53b['Description'],_0x8e113c['meta'][_0xfd4e11(0x1df)]=_0x32e53b[_0xfd4e11(0x1df)],_0x8e113c[_0xfd4e11(0x1d8)]['isMeasure']=_0x32e53b[_0xfd4e11(0x209)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x1de)]=_0x32e53b['isOpinionText'],_0x8e113c['meta']['isBigText']=_0x32e53b[_0xfd4e11(0x1e9)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x1c9)]=_0x32e53b[_0xfd4e11(0x1c9)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x1d6)]=_0x32e53b[_0xfd4e11(0x1d6)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x225)]=_0x32e53b['isUnique'],_0x8e113c['meta']['links']=pe(_0x32e53b),_0x6138e0[_0xfd4e11(0x1d0)][_0xfd4e11(0x23e)](_0x8e113c);}Me(_0x6138e0,_0x548ea4,_0x373afc,_0x1308b6),_0x22712a['push'](_0x6138e0);}_0x4175ad[_0x548ea4]=_0x22712a;}for(const _0x4ec6b5 of Object[_0xfd4e11(0x201)](_0x4f07a5))_0x4f07a5[_0x4ec6b5]['forEach'](_0x2a712a=>{_0x2a712a['dispose']();});return _0x4175ad;}function ae(_0x414890,_0x3fe83b,_0x52502e=0x5){const _0x35dc98=_0x3d09f1;if(!Array[_0x35dc98(0x1fd)](_0x414890)||_0x414890[_0x35dc98(0x1e1)]===0x0)return[];const _0x211783=Math[_0x35dc98(0x24c)](_0x3fe83b,_0x414890[_0x35dc98(0x1e1)]),_0x594a40=Math['min'](_0x211783+_0x52502e,_0x414890[_0x35dc98(0x1e1)]);return _0x414890[_0x35dc98(0x231)](_0x211783,_0x594a40);}function Me(_0x46ca59,_0x48f899,_0x20f6a9,_0x1b803f){const _0x508585=_0x3d09f1,_0x55b717=_0x20f6a9[_0x508585(0x253)](_0x48f899);if(!_0x55b717)return;const _0x29f149=_0x46ca59['range'],_0x310657=Ye(_0x55b717,_0x29f149);_0x1b803f===ee['Sample']?_0x46ca59['data']=JSON[_0x508585(0x21d)](ae(_0x310657,0x1,0x5)):_0x1b803f===ee[_0x508585(0x258)]&&(_0x46ca59[_0x508585(0x24e)]=JSON[_0x508585(0x21d)](ae(_0x310657,0x1,_0x310657[_0x508585(0x1e1)])));}function Ye(_0x345f15,_0xa54db1){const _0x228e09=_0x3d09f1,{startRow:_0x422572,endRow:_0x3fe04f,startColumn:_0xa22af8,endColumn:_0x23049e}=_0xa54db1,_0x56691f=[],_0x237b25=W['get'](_0x345f15),_0x51ac15=_0x237b25==null?void 0x0:_0x237b25[_0x228e09(0x1e5)],_0x12d540=_0x237b25==null?void 0x0:_0x237b25[_0x228e09(0x212)],_0x230ec7=_0x345f15[_0x228e09(0x21a)](),_0x307431=_0x345f15[_0x228e09(0x23b)]();for(let _0x5b95a1=_0x422572;_0x5b95a1<=_0x3fe04f;_0x5b95a1++){const _0x48b9f7=[];for(let _0x44ff18=_0xa22af8;_0x44ff18<=_0x23049e;_0x44ff18++){const _0x28ffbd=_0x345f15['getCell'](_0x5b95a1,_0x44ff18);let _0x46df42=_0x28ffbd?te(_0x28ffbd):void 0x0;if(_0x46df42==null||_0x46df42===''){const _0x3283f2={'range':{'startRow':_0x5b95a1,'endRow':_0x5b95a1,'startColumn':_0x44ff18,'endColumn':_0x44ff18},'unitId':_0x230ec7,'sheetId':_0x307431},_0x308650=(_0x51ac15==null?void 0x0:_0x51ac15[_0x228e09(0x1b9)]([_0x3283f2]))||new Map();if(_0x308650[_0x228e09(0x20c)]>0x0&&_0x12d540){const _0x2a50cf=_0x308650[_0x228e09(0x201)]()['next']()['value'],_0x64e79e=_0x12d540[_0x228e09(0x24d)](_0x2a50cf);if(!_0x64e79e)continue;const _0x3eba7e=_0x345f15[_0x228e09(0x1c0)](_0x64e79e[_0x228e09(0x250)][_0x228e09(0x232)],_0x64e79e['range'][_0x228e09(0x216)]);_0x3eba7e&&(_0x46df42=te(_0x3eba7e));}}_0x48b9f7[_0x228e09(0x23e)](_0x46df42!=null?_0x46df42:'');}_0x56691f['push'](_0x48b9f7);}return _0x56691f;}function Ke(_0x42c28a){const _0x4b49f5=_0x3d09f1;return/https?:\/\/|www\./i[_0x4b49f5(0x221)](_0x42c28a);}function Xe(_0x2d5d5e){const _0x293af0=_0x3d09f1;return Array[_0x293af0(0x1bb)](_0x2d5d5e)['length'];}function le(_0x5ba786){const _0x39f32c=_0x3d09f1;return _0x5ba786?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x39f32c(0x221)](_0x5ba786['trim']()):!0x1;}function _0x3dc8(_0x24f253,_0x51996e){_0x24f253=_0x24f253-0x1b9;const _0x16993c=_0x1699();let _0x3dc873=_0x16993c[_0x24f253];return _0x3dc873;}function ne(_0xc57d9d){const _0x598bca=_0x3d09f1;let _0x514194='',_0x3c24f7=_0xc57d9d+0x1;for(;_0x3c24f7>0x0;){const _0x4c8258=(_0x3c24f7-0x1)%0x1a;_0x514194=String[_0x598bca(0x1e8)](0x41+_0x4c8258)+_0x514194,_0x3c24f7=Math[_0x598bca(0x205)]((_0x3c24f7-0x1)/0x1a);}return _0x514194;}var Qe=Object[_0x3d09f1(0x256)],et=(_0x4ad637,_0x4afe77,_0x4c0bc1,_0x5b24a7)=>{for(var _0x44b2be=_0x5b24a7>0x1?void 0x0:_0x5b24a7?Qe(_0x4afe77,_0x4c0bc1):_0x4afe77,_0x501403=_0x4ad637['length']-0x1,_0x558888;_0x501403>=0x0;_0x501403--)(_0x558888=_0x4ad637[_0x501403])&&(_0x44b2be=_0x558888(_0x44b2be)||_0x44b2be);return _0x44b2be;},tt=(_0x556377,_0x1c1a89)=>(_0x25cdfa,_0x2965d0)=>_0x1c1a89(_0x25cdfa,_0x2965d0,_0x556377);let oe=class extends _0x32cd38{constructor(_0x12e6cb){const _0x27aaa2=_0x3d09f1;super(),this[_0x27aaa2(0x255)]=_0x12e6cb;}[_0x3d09f1(0x236)](_0x105c53,_0x35e9c9){return De(_0x105c53,this['_injector'],_0x35e9c9);}};oe=et([tt(0x0,_0x4f6e21(_0x566279))],oe);var nt=Object[_0x3d09f1(0x256)],ot=(_0x25a5be,_0x494780,_0x27d899,_0x323c2b)=>{const _0x17d51d=_0x3d09f1;for(var _0x349c6e=_0x323c2b>0x1?void 0x0:_0x323c2b?nt(_0x494780,_0x27d899):_0x494780,_0x54004=_0x25a5be[_0x17d51d(0x1e1)]-0x1,_0x9c2481;_0x54004>=0x0;_0x54004--)(_0x9c2481=_0x25a5be[_0x54004])&&(_0x349c6e=_0x9c2481(_0x349c6e)||_0x349c6e);return _0x349c6e;},ue=(_0x3920e7,_0x3caa99)=>(_0x132e0c,_0x81fff3)=>_0x3caa99(_0x132e0c,_0x81fff3,_0x3920e7);const rt='RANGE_PREPROCESS_PLUGIN_CONFIG_KEY';var X;let ce=(X=class extends _0x532844{constructor(_0x1af657={},_0x4842ca,_0x320d59){const _0x2d9de2=_0x3d09f1;super(),this['_config']=_0x1af657,this[_0x2d9de2(0x255)]=_0x4842ca,this['_configService']=_0x320d59;const {..._0x42bb74}=_0x450445({},this['_config']);this['_configService'][_0x2d9de2(0x22f)](rt,_0x42bb74);}[_0x3d09f1(0x1c3)](){const _0x24fe7c=_0x3d09f1,_0x18d2cc=[[oe]];_0xa8123d(this[_0x24fe7c(0x255)],_0x18d2cc);}[_0x3d09f1(0x1be)](){}},p(X,'pluginName','UNIVER_RANGE_PREPROCESS_PLUGIN'),X);ce=ot([ue(0x1,_0x4f6e21(_0x566279)),ue(0x2,_0x52c1df)],ce);export{oe as RangePreprocessController,ce as UniverRangePreprocessPlugin};
|
|
1
|
+
const _0x120e64=_0x2e77;(function(_0x2f6066,_0xb5b8f3){const _0x1532b7=_0x2e77,_0x3077a8=_0x2f6066();while(!![]){try{const _0x12d103=parseInt(_0x1532b7(0x110))/0x1*(-parseInt(_0x1532b7(0xf3))/0x2)+-parseInt(_0x1532b7(0xc0))/0x3+-parseInt(_0x1532b7(0x8a))/0x4+parseInt(_0x1532b7(0x122))/0x5+parseInt(_0x1532b7(0x100))/0x6*(parseInt(_0x1532b7(0xd6))/0x7)+-parseInt(_0x1532b7(0xca))/0x8*(-parseInt(_0x1532b7(0xed))/0x9)+-parseInt(_0x1532b7(0xdd))/0xa;if(_0x12d103===_0xb5b8f3)break;else _0x3077a8['push'](_0x3077a8['shift']());}catch(_0x2fb0a3){_0x3077a8['push'](_0x3077a8['shift']());}}}(_0x1d75,0x3b3b2));var Re=Object[_0x120e64(0xf4)],Te=(_0x126425,_0x153eaa,_0x25a20e)=>_0x153eaa in _0x126425?Re(_0x126425,_0x153eaa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25a20e}):_0x126425[_0x153eaa]=_0x25a20e,p=(_0x52fdda,_0x38bddc,_0x15cbba)=>Te(_0x52fdda,typeof _0x38bddc!='symbol'?_0x38bddc+'':_0x38bddc,_0x15cbba);import{CellValueType as _0x22748b,generateRandomId as _0x11e2a4,RTree as _0x3bb4f4,BuildTextUtils as _0x1973a6,Inject as _0xe09fc0,Injector as _0xd89018,Disposable as _0x9265cf,IConfigService as _0x53106b,Plugin as _0x4b50e1,merge as _0x266975,registerDependencies as _0x54500e}from'@univerjs/core';import'@univerjs/sheets-filter';import{TableManager as _0x365714}from'@univerjs/sheets-table';function re(_0x46d905){const _0x386d2b=_0x120e64;return _0x46d905['v']==null?'':String(_0x46d905['v'])[_0x386d2b(0xaa)]();}function Ne(_0x3fd1bc){const _0x1b5da9=_0x120e64;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x1b5da9(0xf1)](_0x3fd1bc);}const F=0x2,Q=0x1;function he(_0x7ee3b0,_0x11cc05){const _0x10aed3=_0x120e64,_0xa9646f={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x11cc05];if(!_0xa9646f||!_0xa9646f[_0x10aed3(0xf1)](_0x7ee3b0))return!0x1;const _0x3878cc=_0x7ee3b0[_0x10aed3(0xde)](/\D+/g,'\x20')[_0x10aed3(0xaa)]()[_0x10aed3(0x8f)](/\s+/)[_0x10aed3(0xb0)](Number);let _0x22dd09=0x0,_0x5ef7fe=0x1,_0x440f55=0x1,_0x5f0943=0x0,_0x42550d=0x0,_0x5b5194=0x0;switch(_0x11cc05){case _0x10aed3(0x11f):case _0x10aed3(0x119):case _0x10aed3(0x113):case _0x10aed3(0xcb):[_0x22dd09,_0x5ef7fe,_0x440f55]=_0x3878cc;break;case _0x10aed3(0x94):[_0x22dd09,_0x5ef7fe,_0x440f55]=_0x3878cc;break;case _0x10aed3(0x9d):case _0x10aed3(0x8c):case'02.01.2006':[_0x440f55,_0x5ef7fe,_0x22dd09]=_0x3878cc;break;case _0x10aed3(0xf5):case _0x10aed3(0x95):[_0x5ef7fe,_0x440f55,_0x22dd09]=_0x3878cc;break;case _0x10aed3(0x98):{const _0x249913=_0x7ee3b0;_0x22dd09=+_0x249913['slice'](0x0,0x4),_0x5ef7fe=+_0x249913[_0x10aed3(0xec)](0x4,0x6),_0x440f55=+_0x249913[_0x10aed3(0xec)](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x10aed3(0xfa):[_0x22dd09,_0x5ef7fe,_0x440f55,_0x5f0943,_0x42550d,_0x5b5194]=_0x3878cc;break;default:return!0x0;}if(_0x5ef7fe<0x1||_0x5ef7fe>0xc||_0x440f55<0x1||_0x440f55>0x1f||_0x5f0943<0x0||_0x5f0943>0x17||_0x42550d<0x0||_0x42550d>0x3b||_0x5b5194<0x0||_0x5b5194>0x3b)return!0x1;const _0x3ab050=new Date(_0x22dd09,_0x5ef7fe-0x1,_0x440f55,_0x5f0943,_0x42550d,_0x5b5194);return!(_0x3ab050[_0x10aed3(0xa7)]()!==_0x22dd09||_0x3ab050[_0x10aed3(0xda)]()!==_0x5ef7fe-0x1||_0x3ab050[_0x10aed3(0xcf)]()!==_0x440f55);}function Ee(_0x1a3881){const _0x4d710a=_0x120e64;return Number[_0x4d710a(0x82)](_0x1a3881)&&_0x1a3881>=0x1&&_0x1a3881<=0x13880;}function $e(_0x5e2cf8){const _0x5310c1=_0x120e64;switch(_0x5e2cf8){case 0x0:return _0x5310c1(0xd4);case 0x1:return _0x5310c1(0xc4);case 0x2:case 0x3:case 0x4:return _0x5310c1(0x10c);case 0x5:return'boolean';default:return _0x5310c1(0xc7);}}class Y{constructor(){const _0x1937c7=_0x120e64;p(this,'valid',0x0),p(this,_0x1937c7(0xfb),0x0),p(this,'confidence',0x0);}}class b extends Y{constructor(_0x10a2ef){const _0xcda7d2=_0x120e64;super(),p(this,_0xcda7d2(0x104)),p(this,'dt'),p(this,_0xcda7d2(0xb1)),p(this,_0xcda7d2(0x8d)),(this['dt']=_0x10a2ef['dt'],this[_0xcda7d2(0xb1)]=_0x10a2ef[_0xcda7d2(0xb1)],this[_0xcda7d2(0x8d)]=!!_0x10a2ef[_0xcda7d2(0x8d)]);}[_0x120e64(0x8b)](_0x585ff6){const _0x17edc7=_0x120e64;if(_0x585ff6['t']===_0x22748b[_0x17edc7(0x9e)]){const _0x489411=re(_0x585ff6);if(!_0x489411)return;he(_0x489411,this[_0x17edc7(0xb1)])?this[_0x17edc7(0xc9)]+=F:this[_0x17edc7(0xfb)]++;}}[_0x120e64(0x11d)](){const _0x4d963f=_0x120e64,_0x3f0ad5=0x64-Math[_0x4d963f(0x10e)]((this[_0x4d963f(0xfb)]*0xa+0x1)*0x64/(this[_0x4d963f(0xfb)]+this[_0x4d963f(0xc9)]+0x1)),_0x5cdc3f={'Charset':this['dt'],'Confidence':_0x3f0ad5,'debugInfo':this[_0x4d963f(0xb1)]};return this[_0x4d963f(0x8d)]&&(_0x5cdc3f[_0x4d963f(0xcd)]=this[_0x4d963f(0xb1)]),_0x5cdc3f;}}class se extends Y{constructor(_0x225875){const _0x104fd5=_0x120e64;super(),p(this,'dateStyles'),p(this,'timeStampStyles'),p(this,'dt'),p(this,'layout'),p(this,_0x104fd5(0x8d)),(this[_0x104fd5(0x108)]=_0x225875[_0x104fd5(0x108)]||{},this['dt']=_0x225875['dt'],this[_0x104fd5(0xb1)]=_0x225875['layout'],this['needConvert']=!!_0x225875['needConvert']);}['Match'](_0x465766){const _0x863b3c=_0x120e64;if(_0x465766['t']===_0x22748b[_0x863b3c(0xd1)]){if(_0x465766['s']&&this[_0x863b3c(0x108)][_0x465766['s']]){this[_0x863b3c(0xc9)]+=F;return;}const _0x185985=re(_0x465766);if(!_0x185985)return;if(this[_0x863b3c(0xb1)]==='excel'){const _0x476f47=Number(_0x185985);if(Ee(_0x476f47)){this[_0x863b3c(0xc9)]+=F;return;}}he(_0x185985,this[_0x863b3c(0xb1)])?this[_0x863b3c(0xc9)]+=F:this[_0x863b3c(0xfb)]++;}}['Calc'](){const _0x4e76bf=_0x120e64,_0x5a73d8=0x64-Math[_0x4e76bf(0x10e)]((this[_0x4e76bf(0xfb)]*0xa+0x1)*0x64/(this['invalid']+this[_0x4e76bf(0xc9)]+0x1)),_0x2fc8be={'Charset':this['dt'],'Confidence':_0x5a73d8,'debugInfo':this[_0x4e76bf(0xb1)]};return this[_0x4e76bf(0x8d)]&&(_0x2fc8be[_0x4e76bf(0xcd)]=this[_0x4e76bf(0xb1)]),_0x2fc8be;}}class _e extends Y{[_0x120e64(0x8b)](_0x392125){const _0x3c1c2c=_0x120e64;if(_0x392125['t']===_0x22748b[_0x3c1c2c(0xd1)])this[_0x3c1c2c(0xc9)]+=Q;else{const _0x3651c0=re(_0x392125);if(!_0x3651c0)return;Ne(_0x3651c0)?this['valid']+=Q:this[_0x3c1c2c(0xfb)]++;}}['Calc'](){const _0x6a1c25=_0x120e64;return{'Charset':0x1,'Confidence':0x64-Math[_0x6a1c25(0x10e)]((this[_0x6a1c25(0xfb)]*0xa+0x1)*0x64/(this[_0x6a1c25(0xfb)]+this['valid']+0x1)),'debugInfo':_0x6a1c25(0xc4)};}}class Ae extends Y{[_0x120e64(0x8b)](_0x12abfb){const _0x47e27c=_0x120e64;_0x12abfb['t']===_0x22748b['BOOLEAN']?this[_0x47e27c(0xc9)]+=Q:this['invalid']++;}[_0x120e64(0x11d)](){const _0x46a280=_0x120e64;return{'Charset':0x5,'Confidence':0x64-Math['trunc']((this[_0x46a280(0xfb)]*0xa+0x1)*0x64/(this[_0x46a280(0xfb)]+this['valid']+0x1)),'debugInfo':_0x46a280(0xc4)};}}function _0x2e77(_0x42f5ea,_0x21d9ef){_0x42f5ea=_0x42f5ea-0x82;const _0x1d7582=_0x1d75();let _0x2e773b=_0x1d7582[_0x42f5ea];return _0x2e773b;}class Oe{constructor(_0xfdba1a){const _0x56d79e=_0x120e64;p(this,'recognizers'),p(this,_0x56d79e(0x108)),(this[_0x56d79e(0x108)]=_0xfdba1a||{},this[_0x56d79e(0xb7)]=[new b({'dt':0x2,'layout':_0x56d79e(0x11f)}),new b({'dt':0x2,'layout':_0x56d79e(0x119)}),new b({'dt':0x2,'layout':_0x56d79e(0x113)}),new b({'dt':0x2,'layout':'2006/1/2'}),new b({'dt':0x2,'layout':_0x56d79e(0x94),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0x9d),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0x8c),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0xff),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0xf5),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0x95),'needConvert':!0x0}),new b({'dt':0x2,'layout':'2\x20January,\x202006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0xe0),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0xab),'needConvert':!0x0}),new b({'dt':0x2,'layout':'January\x202,\x202006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0x129),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0x118),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x56d79e(0x98),'needConvert':!0x0}),new se({'dateStyles':this[_0x56d79e(0x108)],'dt':0x2,'layout':_0x56d79e(0x98),'needConvert':!0x0}),new b({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new b({'dt':0x4,'layout':_0x56d79e(0xfa)}),new se({'dateStyles':this[_0x56d79e(0x108)],'dt':0x3,'layout':_0x56d79e(0xd0),'needConvert':!0x0}),new _e(),new Ae()]);}[_0x120e64(0x8b)](_0x3c04df){const _0x787ee1=_0x120e64;for(const _0xbd35a of this['recognizers'])_0xbd35a[_0x787ee1(0x8b)](_0x3c04df);}['Best'](){const _0x225e5e=_0x120e64,_0x39293f=this[_0x225e5e(0xb7)]['map'](_0x4ca411=>_0x4ca411[_0x225e5e(0x11d)]());if(_0x39293f[_0x225e5e(0x116)]((_0x4d4e4f,_0x146719)=>_0x146719[_0x225e5e(0xa9)]-_0x4d4e4f['Confidence']),_0x39293f[_0x225e5e(0xb2)]===0x0||_0x39293f[0x0][_0x225e5e(0xa9)]<0x32)return[_0x225e5e(0xd4),null];const _0x218256=_0x39293f[0x0];return[$e(_0x218256['Charset']),_0x218256];}}function ge(_0x24d19a,_0x27136e){const _0x360834=_0x120e64;let _0x378db8=_0x24d19a,_0x39dd6a=_0x27136e;_0x378db8<=0x0&&(_0x378db8=0x6),_0x39dd6a<=0x0&&(_0x39dd6a=0xa),_0x39dd6a=_0x39dd6a*0x2;const _0x5cf68d=[];for(let _0x20b8b3=0x0;_0x20b8b3<_0x39dd6a;_0x20b8b3++)_0x5cf68d['push'](_0x11e2a4(_0x378db8));const _0x577d5c=new Map();for(const _0x37445b of _0x5cf68d){const _0x2aad52=_0x37445b[_0x360834(0xe2)]();_0x577d5c['has'](_0x2aad52)||_0x577d5c['set'](_0x2aad52,_0x37445b);}return Array[_0x360834(0xbd)](_0x577d5c[_0x360834(0x90)]());}var ee=(_0x43741c=>(_0x43741c[_0x120e64(0x12b)]='none',_0x43741c['All']=_0x120e64(0x11e),_0x43741c['Sample']=_0x120e64(0x127),_0x43741c))(ee||{});class K{constructor(_0x34c24d){const _0x4aca97=_0x120e64;p(this,'id'),p(this,'sheetId'),p(this,_0x4aca97(0x12a)),p(this,'name'),p(this,_0x4aca97(0x8e)),p(this,_0x4aca97(0xf7)),p(this,_0x4aca97(0x9f)),p(this,_0x4aca97(0x103)),p(this,'endStatisticRowCount'),p(this,_0x4aca97(0xc6)),p(this,_0x4aca97(0xe5)),p(this,_0x4aca97(0xbb)),p(this,_0x4aca97(0x10f)),p(this,'isMatchEnd'),p(this,_0x4aca97(0x11c)),p(this,_0x4aca97(0xb9)),p(this,_0x4aca97(0xb8)),p(this,'isUpdateTable'),p(this,_0x4aca97(0xba));var _0x40ef68,_0x2407ff,_0x856db0,_0x4a708b,_0x2a7fc6,_0x1c3c5c,_0xfd1b18,_0x33f475,_0x182878,_0x189a62,_0x25cd53,_0x16201e,_0x8ae444,_0x5c48c1,_0x4e1bbb,_0x9e0f02,_0x38745c,_0x90b26f,_0x245169;this['id']=(_0x40ef68=_0x34c24d==null?void 0x0:_0x34c24d['id'])!=null?_0x40ef68:'',this[_0x4aca97(0x123)]=(_0x2407ff=_0x34c24d==null?void 0x0:_0x34c24d['sheetId'])!=null?_0x2407ff:_0x11e2a4(),this[_0x4aca97(0x12a)]=(_0x856db0=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0x12a)])!=null?_0x856db0:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x4aca97(0xbf)]=(_0x4a708b=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xbf)])!=null?_0x4a708b:'',this[_0x4aca97(0x8e)]=(_0x2a7fc6=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0x8e)])!=null?_0x2a7fc6:'',this[_0x4aca97(0xf7)]=(_0x1c3c5c=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xf7)])!=null?_0x1c3c5c:0x0,this['mergeRowTitleCount']=(_0xfd1b18=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0x9f)])!=null?_0xfd1b18:0x0,this[_0x4aca97(0x103)]=(_0x33f475=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0x103)])!=null?_0x33f475:0x0,this['endStatisticRowCount']=(_0x182878=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xc3)])!=null?_0x182878:0x0,this['rowMergeTitleCountMap']=(_0x189a62=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xc6)])!=null?_0x189a62:new Map(),this[_0x4aca97(0xe5)]=(_0x25cd53=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xe5)])!=null?_0x25cd53:!0x1,this[_0x4aca97(0xbb)]=(_0x16201e=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xbb)])!=null?_0x16201e:!0x1,this[_0x4aca97(0x10f)]=(_0x8ae444=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0x10f)])!=null?_0x8ae444:new Map(),this[_0x4aca97(0xbe)]=(_0x5c48c1=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xbe)])!=null?_0x5c48c1:!0x1,this[_0x4aca97(0x11c)]=(_0x4e1bbb=_0x34c24d==null?void 0x0:_0x34c24d['isMatchContinue'])!=null?_0x4e1bbb:!0x1,this[_0x4aca97(0xb9)]=(_0x9e0f02=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xb9)])!=null?_0x9e0f02:!0x1,this['isTestTable']=(_0x38745c=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xb8)])!=null?_0x38745c:!0x1,this[_0x4aca97(0xe9)]=(_0x90b26f=_0x34c24d==null?void 0x0:_0x34c24d[_0x4aca97(0xe9)])!=null?_0x90b26f:!0x1,this[_0x4aca97(0xba)]=(_0x245169=_0x34c24d==null?void 0x0:_0x34c24d['columns'])!=null?_0x245169:[];}['_isRowContinuous'](_0x9d8328,_0x162ad5){return _0x162ad5-_0x9d8328===0x1||_0x162ad5===_0x9d8328;}[_0x120e64(0xf6)](_0x3889b8){const _0x4fc485=_0x120e64,_0x417068=[];for(const _0xe47352 of _0x3889b8)this[_0x4fc485(0x12a)][_0x4fc485(0x96)]<_0xe47352[_0x4fc485(0x12a)]['startColumn']||this[_0x4fc485(0x12a)][_0x4fc485(0xa6)]>_0xe47352['range'][_0x4fc485(0x96)]||this[_0x4fc485(0xa8)](_0xe47352[_0x4fc485(0x12a)][_0x4fc485(0xd2)],this['range'][_0x4fc485(0xf8)])&&_0x417068[_0x4fc485(0xd8)](_0xe47352);return _0x417068;}[_0x120e64(0xe3)](_0x3b9530){const _0x35df5e=_0x120e64;return _0x3b9530['range'][_0x35df5e(0xd2)]===this[_0x35df5e(0x12a)][_0x35df5e(0xf8)]&&this[_0x35df5e(0x12a)][_0x35df5e(0x96)]+0x1===_0x3b9530[_0x35df5e(0x12a)][_0x35df5e(0xa6)];}[_0x120e64(0x105)](_0xc6f2e2){const _0x552de7=_0x120e64;return this[_0x552de7(0x12a)][_0x552de7(0xa6)]===-0x1?this:(_0xc6f2e2[_0x552de7(0xd8)](this),new K({'sheetId':this[_0x552de7(0x123)],'range':{'startRow':this[_0x552de7(0x12a)]['startRow'],'endRow':this[_0x552de7(0x12a)][_0x552de7(0xd2)],'startColumn':-0x1,'endColumn':-0x1}}));}['insertCellData'](_0x46bf60,_0x13739e,_0x328386,_0x2bb401){const _0x281ea2=_0x120e64;this[_0x281ea2(0x12a)]['startColumn']===-0x1&&(this[_0x281ea2(0x12a)][_0x281ea2(0xa6)]=_0x13739e),this[_0x281ea2(0x12a)][_0x281ea2(0x96)]=_0x13739e,_0x2bb401!=null&&(this[_0x281ea2(0x12a)][_0x281ea2(0x96)]=Math[_0x281ea2(0x89)](_0x2bb401,this[_0x281ea2(0x12a)][_0x281ea2(0x96)]));}[_0x120e64(0xac)](){const _0x545115=_0x120e64;this[_0x545115(0xc6)][_0x545115(0xaf)](),this[_0x545115(0x10f)]['clear'](),this[_0x545115(0xba)]=[];}}function we(_0x17afb2,_0x1daff1){const {startRow:_0x58bb3a,startColumn:_0x2b32a8,endRow:_0x1160b6,endColumn:_0x1b2b47}=_0x1daff1;return _0x17afb2+':'+_0x58bb3a+','+_0x2b32a8+'-'+_0x1160b6+','+_0x1b2b47;}const W=new Map();function Pe(_0x410294,_0x37fb0b){const _0x5249a1=_0x120e64;var _0x16fa73;const _0x5b2fd7=new _0x3bb4f4(!0x1),_0x106d28=_0x37fb0b['getSheetId'](),_0x92c5b5=new Map(),_0x316131=(_0x16fa73=_0x37fb0b[_0x5249a1(0xb3)]())!=null?_0x16fa73:[];W[_0x5249a1(0xaf)]();for(const _0x57ad7f of _0x316131){const _0x1a2796=we(_0x5249a1(0xe7),_0x57ad7f),_0x29de0e={'unitId':_0x410294,'sheetId':_0x106d28,'range':_0x57ad7f,'id':_0x1a2796};_0x5b2fd7[_0x5249a1(0x121)](_0x29de0e),_0x92c5b5[_0x5249a1(0x92)](_0x1a2796,_0x29de0e);}return W[_0x5249a1(0x92)](_0x37fb0b,{'mergeRTree':_0x5b2fd7,'mergeRangeMap':_0x92c5b5}),{'mergeRTree':_0x5b2fd7,'mergeRangeMap':_0x92c5b5};}function Ue(_0x5298fc,_0x591d60,_0x2efe77){const _0x1158fe=_0x120e64,_0x36ffc3=new _0x3bb4f4(!0x1),_0x29f22b=_0x2efe77[_0x1158fe(0xa5)](_0x365714)[_0x1158fe(0xe8)](_0x5298fc);if(_0x29f22b&&Array[_0x1158fe(0xb6)](_0x29f22b))for(const _0x3c2ef1 of _0x29f22b){if(!(_0x3c2ef1!=null&&_0x3c2ef1[_0x1158fe(0x12a)]))continue;const _0x49d8fc=_0x3c2ef1[_0x1158fe(0x12a)],_0x12687e={'unitId':_0x5298fc,'sheetId':_0x591d60,'range':_0x49d8fc,'id':we(_0x1158fe(0xa2),_0x49d8fc)};_0x36ffc3['insert'](_0x12687e);}return _0x36ffc3;}function ie(_0x5e6258,_0x20f020,_0x1bec27){const _0x17e881=_0x120e64,_0x5d9354=_0x5e6258[_0x17e881(0xa5)](_0x20f020);_0x5d9354?_0x5d9354[_0x17e881(0xd8)](_0x1bec27):_0x5e6258[_0x17e881(0x92)](_0x20f020,[_0x1bec27]);}function Le(_0x25c609,_0x2c1f9d){const _0x47570f=_0x120e64;var _0x28b059,_0x34a9db,_0x157e77;const _0x317db6=_0x25c609['getSheets'](),_0x2ea8fd={},_0x116d41=_0x25c609['getUnitId']();for(const _0x5e9f8d of _0x317db6){const _0xa6dd30=_0x5e9f8d['getSheetId'](),_0x118bda=_0x5e9f8d[_0x47570f(0x106)](),_0x1811ea=_0x5e9f8d[_0x47570f(0x12d)](),{mergeRTree:_0x4dbab2,mergeRangeMap:_0x165c28}=Pe(_0x116d41,_0x5e9f8d),_0x41a13b=Ue(_0x116d41,_0xa6dd30,_0x2c1f9d),_0x13f661=[];let _0x56c825=[];for(let _0x11be2a=0x0;_0x11be2a<_0x118bda;_0x11be2a++){const _0x540581=[];let _0x49e19f=new K({'sheetId':_0xa6dd30,'range':{'startRow':_0x11be2a,'endRow':_0x11be2a,'startColumn':-0x1,'endColumn':-0x1}});const _0x3672b5=new Map();for(let _0x40f736=0x0;_0x40f736<=_0x1811ea;_0x40f736++){const _0x136fc6=_0x5e9f8d[_0x47570f(0xea)](_0x11be2a,_0x40f736),_0x24c939={'range':{'startRow':_0x11be2a,'startColumn':_0x40f736,'endRow':_0x11be2a,'endColumn':_0x40f736},'unitId':_0x116d41,'sheetId':_0xa6dd30};if(_0x41a13b['bulkSearch']([_0x24c939])[_0x47570f(0x93)]>0x0){_0x49e19f=_0x49e19f[_0x47570f(0x105)](_0x540581);continue;}const _0x153ec4=_0x4dbab2[_0x47570f(0xf2)]([_0x24c939]);if(_0x153ec4[_0x47570f(0x93)]>0x0){const _0x2f1ebe=_0x49e19f[_0x47570f(0xf6)](_0x56c825),_0x14908a=_0x153ec4['keys']()[_0x47570f(0x128)]()[_0x47570f(0xfe)],_0x576698=_0x165c28['get'](_0x14908a);if(!_0x576698)continue;const _0x1c3aa2={'startRow':_0x576698[_0x47570f(0x12a)][_0x47570f(0xf8)],'endRow':_0x576698['range']['endRow'],'startColumn':_0x576698[_0x47570f(0x12a)][_0x47570f(0xa6)],'endColumn':_0x576698['range'][_0x47570f(0x96)]},_0x4484bf=_0x5e9f8d[_0x47570f(0xea)](_0x1c3aa2[_0x47570f(0xf8)],_0x1c3aa2[_0x47570f(0xa6)]);if(_0x4484bf&&(_0x4484bf['p']!=null||_0x4484bf['v']!=null&&String(_0x4484bf['v'])['length']>0x0)){_0x49e19f[_0x47570f(0x107)](_0x11be2a,_0x40f736,_0x136fc6,_0x1c3aa2[_0x47570f(0x96)]);for(let _0x186680=_0x1c3aa2[_0x47570f(0xa6)];_0x186680<=_0x1c3aa2['endColumn'];_0x186680++)_0x3672b5['set'](_0x186680,!0x0);}else _0x49e19f=_0x49e19f['saveTableToCache'](_0x540581);const _0x2d78ef=_0x1c3aa2['endRow']-_0x1c3aa2[_0x47570f(0xf8)],_0x598cb3=_0x1c3aa2[_0x47570f(0x96)]-_0x1c3aa2['startColumn'];if(_0x2f1ebe['length']===0x1){if(_0x2d78ef>0x0&&ie(_0x49e19f[_0x47570f(0x10f)],_0x40f736,_0x576698),_0x598cb3>0x0){const _0x1f3f8=(_0x28b059=_0x49e19f[_0x47570f(0xc6)][_0x47570f(0xa5)](_0x11be2a))!=null?_0x28b059:[];_0x1f3f8[_0x47570f(0xd8)](_0x576698),_0x49e19f[_0x47570f(0xc6)][_0x47570f(0x92)](_0x11be2a,_0x1f3f8);}}else{if(_0x2d78ef>0x0&&(_0x49e19f[_0x47570f(0xbb)]=!0x0,ie(_0x49e19f[_0x47570f(0x10f)],_0x40f736,_0x576698)),_0x598cb3>0x0){_0x49e19f[_0x47570f(0xe5)]=!0x0;const _0x2c7ba2=(_0x34a9db=_0x49e19f[_0x47570f(0xc6)][_0x47570f(0xa5)](_0x11be2a))!=null?_0x34a9db:[];_0x2c7ba2['push'](_0x576698),_0x49e19f[_0x47570f(0xc6)][_0x47570f(0x92)](_0x11be2a,_0x2c7ba2);}}continue;}if((!_0x136fc6||V(_0x136fc6)==null)&&!_0x3672b5[_0x47570f(0xa5)](_0x40f736)){_0x49e19f=_0x49e19f[_0x47570f(0x105)](_0x540581);continue;}_0x136fc6&&V(_0x136fc6)!=null?_0x49e19f['insertCellData'](_0x11be2a,_0x40f736,_0x136fc6):(_0x49e19f[_0x47570f(0xe5)]=!0x1,_0x49e19f['columnMergeTitleState']=!0x1,_0x49e19f=_0x49e19f[_0x47570f(0x105)](_0x540581));}if(_0x540581[_0x47570f(0xb2)]===0x0){_0x13f661['push'](..._0x56c825),_0x56c825=[];continue;}if(_0x56c825[_0x47570f(0xb2)]===0x0){_0x56c825[_0x47570f(0xd8)](..._0x540581);continue;}const _0x363c66=(_0x1fcfc6,_0x58e165)=>{const _0x527d54=_0x47570f;_0x1fcfc6[_0x527d54(0x12a)][_0x527d54(0xf8)]=Math[_0x527d54(0xdc)](_0x1fcfc6[_0x527d54(0x12a)]['startRow'],_0x58e165['range'][_0x527d54(0xf8)]),_0x1fcfc6['range'][_0x527d54(0xd2)]=Math[_0x527d54(0x89)](_0x1fcfc6['range']['endRow'],_0x58e165[_0x527d54(0x12a)][_0x527d54(0xd2)]),_0x1fcfc6[_0x527d54(0x12a)]['startColumn']=Math['min'](_0x1fcfc6[_0x527d54(0x12a)]['startColumn'],_0x58e165['range'][_0x527d54(0xa6)]),_0x1fcfc6[_0x527d54(0x12a)]['endColumn']=Math[_0x527d54(0x89)](_0x1fcfc6[_0x527d54(0x12a)][_0x527d54(0x96)],_0x58e165['range'][_0x527d54(0x96)]),_0x58e165[_0x527d54(0xc6)][_0x527d54(0x10b)]((_0xe732be,_0x5874fa)=>{const _0x2f05b3=_0x527d54;var _0x1b09df;const _0x5dccae=(_0x1b09df=_0x1fcfc6[_0x2f05b3(0xc6)][_0x2f05b3(0xa5)](_0x5874fa))!=null?_0x1b09df:[];_0x5dccae[_0x2f05b3(0xd8)](..._0xe732be),_0x1fcfc6['rowMergeTitleCountMap'][_0x2f05b3(0x92)](_0x5874fa,_0x5dccae);}),_0x58e165[_0x527d54(0x10f)][_0x527d54(0x10b)]((_0x115d14,_0x1343e0)=>{const _0x296c9d=_0x527d54;var _0x1e9aa9;const _0x403660=(_0x1e9aa9=_0x1fcfc6[_0x296c9d(0x10f)][_0x296c9d(0xa5)](_0x1343e0))!=null?_0x1e9aa9:[];_0x403660[_0x296c9d(0xd8)](..._0x115d14),_0x1fcfc6[_0x296c9d(0x10f)][_0x296c9d(0x92)](_0x1343e0,_0x403660);});};for(let _0x3b2175=0x0;_0x3b2175+0x1<_0x540581[_0x47570f(0xb2)];_0x3b2175++){const _0x3d0353=_0x540581[_0x3b2175],_0xdc4c1d=_0x540581[_0x3b2175+0x1];_0x3d0353['intersectWithColumns'](_0xdc4c1d)&&(_0x363c66(_0x3d0353,_0xdc4c1d),_0x540581[_0x47570f(0xe1)](_0x3b2175+0x1,0x1),_0x3b2175--);}const _0x1255a3=[];for(const _0x3bb51c of _0x540581){const _0x59f610=_0x3bb51c[_0x47570f(0xf6)](_0x56c825);if(_0x59f610[_0x47570f(0xb2)]===0x0){_0x1255a3['push'](_0x3bb51c);continue;}const _0x2698a8=(_0x157e77=_0x3bb51c[_0x47570f(0xc6)][_0x47570f(0xa5)](_0x11be2a))!=null?_0x157e77:[];let _0x562255=Number[_0x47570f(0x124)],_0x29bde9=-0x1,_0x17e546=-0x1;for(const _0x117140 of _0x2698a8){const _0x37676f=_0x117140['range'],_0x266673=_0x37676f[_0x47570f(0xa6)],_0x50d282=_0x37676f[_0x47570f(0x96)];_0x562255=Math[_0x47570f(0xdc)](_0x562255,_0x266673),_0x29bde9=Math[_0x47570f(0x89)](_0x29bde9,_0x50d282);}_0x29bde9===-0x1&&(_0x17e546=_0x29bde9-_0x562255+0x1);const _0x12be93=_0x59f610[0x0][_0x47570f(0x12a)],_0x5817ac=_0x12be93[_0x47570f(0x96)]-_0x12be93[_0x47570f(0xa6)]+0x1;if(_0x17e546>=0x0&&_0x17e546<=_0x5817ac*0x3/0x4){_0x1255a3[_0x47570f(0xd8)](_0x3bb51c);continue;}const _0x57c8c1=_0x59f610[0x0];for(const _0x262759 of _0x59f610[_0x47570f(0xec)](0x1))_0x57c8c1['range']['startRow']=Math[_0x47570f(0xdc)](_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0xf8)],_0x262759[_0x47570f(0x12a)][_0x47570f(0xf8)]),_0x57c8c1[_0x47570f(0x12a)]['endRow']=Math[_0x47570f(0x89)](_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0xd2)],_0x262759['range'][_0x47570f(0xd2)]),_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0xa6)]=Math[_0x47570f(0xdc)](_0x57c8c1['range'][_0x47570f(0xa6)],_0x262759['range'][_0x47570f(0xa6)]),_0x57c8c1[_0x47570f(0x12a)]['endColumn']=Math[_0x47570f(0x89)](_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0x96)],_0x262759[_0x47570f(0x12a)][_0x47570f(0x96)]);_0x57c8c1['range'][_0x47570f(0xf8)]=Math['min'](_0x57c8c1[_0x47570f(0x12a)]['startRow'],_0x3bb51c['range']['startRow']),_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0xd2)]=Math[_0x47570f(0x89)](_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0xd2)],_0x3bb51c[_0x47570f(0x12a)][_0x47570f(0xd2)]),_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0xa6)]=Math[_0x47570f(0xdc)](_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0xa6)],_0x3bb51c[_0x47570f(0x12a)]['startColumn']),_0x57c8c1['range'][_0x47570f(0x96)]=Math['max'](_0x57c8c1[_0x47570f(0x12a)][_0x47570f(0x96)],_0x3bb51c[_0x47570f(0x12a)][_0x47570f(0x96)]),_0x3bb51c[_0x47570f(0xc6)][_0x47570f(0x10b)]((_0x4c5bc4,_0x42b9f7)=>{const _0x356db4=_0x47570f;var _0x49fc98;const _0x3af3dd=(_0x49fc98=_0x57c8c1[_0x356db4(0xc6)][_0x356db4(0xa5)](_0x42b9f7))!=null?_0x49fc98:[];_0x3af3dd[_0x356db4(0xd8)](..._0x4c5bc4),_0x57c8c1['rowMergeTitleCountMap'][_0x356db4(0x92)](_0x42b9f7,_0x3af3dd);}),_0x3bb51c[_0x47570f(0x10f)]['forEach']((_0xc57118,_0x3a998b)=>{const _0x1fd45e=_0x47570f;var _0xe360c8;const _0x29d5d4=(_0xe360c8=_0x57c8c1[_0x1fd45e(0x10f)][_0x1fd45e(0xa5)](_0x3a998b))!=null?_0xe360c8:[];_0x29d5d4['push'](..._0xc57118),_0x57c8c1[_0x1fd45e(0x10f)][_0x1fd45e(0x92)](_0x3a998b,_0x29d5d4);}),_0x57c8c1['isMatchContinue']=!0x0;}const _0x208aa9=[];for(const _0x4ed558 of _0x56c825)!_0x4ed558[_0x47570f(0x11c)]&&_0x4ed558[_0x47570f(0xbe)]||(_0x208aa9['push'](_0x4ed558),_0x4ed558[_0x47570f(0x11c)]=!0x1,_0x4ed558[_0x47570f(0xbe)]=!0x1);_0x208aa9[_0x47570f(0xd8)](..._0x1255a3),_0x56c825=_0x208aa9;}_0x13f661[_0x47570f(0xd8)](..._0x56c825);let _0x4e35cd=0x0;for(const _0x45c61b of _0x13f661){const _0x5f178a=_0x45c61b['range'][_0x47570f(0xd2)]-_0x45c61b[_0x47570f(0x12a)][_0x47570f(0xf8)]+0x1;_0x45c61b[_0x47570f(0x12a)][_0x47570f(0x96)]-_0x45c61b[_0x47570f(0x12a)][_0x47570f(0xa6)]+0x1>0x0&&_0x5f178a>0x1&&_0x4e35cd++;}if(_0x4e35cd===0x0)continue;const _0x446336=[],_0x22cd45=ge(0x6,_0x13f661['length']);let _0x3beb6b=0x0;for(const _0x4e6942 of _0x13f661){const _0x2a1145=_0x4e6942[_0x47570f(0x12a)][_0x47570f(0xd2)]-_0x4e6942[_0x47570f(0x12a)][_0x47570f(0xf8)]+0x1,_0x478b73=_0x4e6942[_0x47570f(0x12a)][_0x47570f(0x96)]-_0x4e6942[_0x47570f(0x12a)][_0x47570f(0xa6)]+0x1;let _0x260846=!0x1;for(const _0x489112 of _0x5e9f8d[_0x47570f(0xb3)]())if(ke(_0x4e6942[_0x47570f(0x12a)],_0x489112)){_0x260846=!0x0;break;}if(_0x260846)continue;let _0x39fb91=!0x0;for(const _0x566093 of _0x13f661)if(_0x566093!==_0x4e6942&&Je(_0x4e6942,_0x566093)){_0x39fb91=!0x1;break;}_0x39fb91&&(_0x478b73<=0x0||_0x2a1145<=0x1||(_0x4e6942['id']=_0x22cd45[_0x3beb6b++],_0x446336[_0x47570f(0xd8)](_0x4e6942)));}_0x2ea8fd[_0xa6dd30]=_0x446336;}return _0x2ea8fd;}function De(_0x44fd7e,_0x226bfc,_0x3c7799){const _0x26e2c2=Le(_0x44fd7e,_0x226bfc);Ge(_0x26e2c2,_0x44fd7e,_0x226bfc);const _0x60e93f=Ve(_0x26e2c2,_0x44fd7e);return He(_0x60e93f,_0x44fd7e,_0x226bfc,_0x3c7799);}function ke(_0x551476,_0x124e8c){const _0xca0f99=_0x120e64;return _0x551476[_0xca0f99(0xf8)]===_0x124e8c[_0xca0f99(0xf8)]&&_0x551476['endRow']===_0x124e8c[_0xca0f99(0xd2)]&&_0x551476[_0xca0f99(0xa6)]===_0x124e8c['startColumn']&&_0x551476[_0xca0f99(0x96)]===_0x124e8c[_0xca0f99(0x96)];}function Je(_0x658936,_0x1ac820){const _0x481d1d=_0x120e64;return _0x658936[_0x481d1d(0x12a)]['startRow']>=_0x1ac820[_0x481d1d(0x12a)][_0x481d1d(0xf8)]&&_0x658936[_0x481d1d(0x12a)][_0x481d1d(0xd2)]<=_0x1ac820[_0x481d1d(0x12a)][_0x481d1d(0xd2)]&&_0x658936[_0x481d1d(0x12a)][_0x481d1d(0xa6)]>=_0x1ac820['range'][_0x481d1d(0xa6)]&&_0x658936[_0x481d1d(0x12a)][_0x481d1d(0x96)]<=_0x1ac820[_0x481d1d(0x12a)][_0x481d1d(0x96)];}function Be(_0x305a9f){const _0x430839=_0x120e64;return''+ne(_0x305a9f[_0x430839(0xa6)])+(_0x305a9f[_0x430839(0xf8)]+0x1)+':'+ne(_0x305a9f[_0x430839(0x96)])+(_0x305a9f[_0x430839(0xd2)]+0x1);}function te(_0x126356){const _0x37f811=_0x120e64;var _0x1567ec;if(_0x126356!==null){if(_0x126356!=null&&_0x126356['p']){const _0x1bed86=_0x126356==null?void 0x0:_0x126356['p']['body'];if(_0x1bed86==null)return;const _0x5ce9a2=_0x1bed86[_0x37f811(0x115)],_0x3acaaf=_0x1973a6['transform'][_0x37f811(0xc8)](_0x5ce9a2),_0x21ca7c=_0x1bed86[_0x37f811(0xa1)];if(_0x21ca7c&&_0x21ca7c['length']>0x0){const _0x4c28b6=_0x21ca7c[0x0],_0x128944=(_0x1567ec=_0x4c28b6[_0x37f811(0xd3)])==null?void 0x0:_0x1567ec['url'];if(!_0x128944)return _0x3acaaf;const _0x22b704=typeof _0x4c28b6[_0x37f811(0x11a)]==_0x37f811(0xc4)?_0x4c28b6['startIndex']:0x0;let _0x1a04bd=typeof _0x4c28b6[_0x37f811(0xad)]==_0x37f811(0xc4)?_0x4c28b6['endIndex']+0x1:_0x22b704+0x1;return _0x22b704===0x0&&_0x1a04bd===0x0?_0x1a04bd=0x1:_0x1a04bd<=_0x22b704&&(_0x1a04bd=_0x22b704+0x1),'['+_0x5ce9a2[_0x37f811(0xec)](_0x22b704,_0x1a04bd)+']('+_0x128944+')';}return _0x3acaaf;}if((_0x126356==null?void 0x0:_0x126356['v'])!=null)return _0x126356['v'];}}function V(_0x3eeac){const _0x3af474=te(_0x3eeac);if(_0x3af474!=null)return String(_0x3af474);}function ze(_0xac854e,_0x59c88f,_0x1398d4){const _0x3a9de8=_0x120e64,_0x4d2322=_0x1398d4[_0x3a9de8(0xea)](_0xac854e,_0x59c88f);if(_0x4d2322!=null){const _0x47573e=V(_0x4d2322);if(_0x47573e!=null&&_0x47573e['length']>0x0)return _0x47573e;}const _0x567e1b=W[_0x3a9de8(0xa5)](_0x1398d4),_0x4db0f2=_0x567e1b==null?void 0x0:_0x567e1b[_0x3a9de8(0xce)],_0x2861ac=_0x567e1b==null?void 0x0:_0x567e1b[_0x3a9de8(0xef)],_0x412d09=_0x1398d4[_0x3a9de8(0xe4)](),_0x2107cc=_0x1398d4[_0x3a9de8(0xb5)](),_0x15d94d={'range':{'startRow':_0xac854e,'endRow':_0xac854e,'startColumn':_0x59c88f,'endColumn':_0x59c88f},'unitId':_0x412d09,'sheetId':_0x2107cc},_0x546e29=(_0x4db0f2==null?void 0x0:_0x4db0f2[_0x3a9de8(0xf2)]([_0x15d94d]))||new Map();if(_0x546e29[_0x3a9de8(0x93)]===0x0||!_0x2861ac)return null;const _0x203baf=_0x546e29[_0x3a9de8(0xfd)]()[_0x3a9de8(0x128)]()[_0x3a9de8(0xfe)],_0x230049=_0x2861ac['get'](_0x203baf);if(!_0x230049)return null;const _0x3fd8f5=_0x1398d4['getCell'](_0x230049['range'][_0x3a9de8(0xf8)],_0x230049['range'][_0x3a9de8(0xa6)]);return _0x3fd8f5==null?null:V(_0x3fd8f5);}function Ge(_0x2bf384,_0x2c3fc7,_0x236e95){const _0x367352=_0x120e64,_0x5e5139=_0x2c3fc7[_0x367352(0xee)](),_0xf5e7a0=_0x236e95[_0x367352(0xa5)](_0x365714),_0x320252=_0x2c3fc7[_0x367352(0xe4)]();for(const _0x5a6bf4 of _0x5e5139){const _0x3e0637=_0x5a6bf4['getSheetId'](),_0x4ab696=_0xf5e7a0[_0x367352(0x10d)](_0x320252,_0x3e0637);if(!_0x4ab696)continue;const _0x2a2daf=_0x4ab696[_0x367352(0xb0)](_0x44761c=>_0x44761c[_0x367352(0x9a)]());for(const _0x3d9288 of _0x2a2daf){const {startRow:_0x2dca60,endRow:_0x568bb7,startColumn:_0xc89ac,endColumn:_0x44786c}=_0x3d9288[_0x367352(0x12a)],_0x593a95=new K({'id':_0x3d9288['id'],'sheetId':_0x3e0637,'range':{'startRow':_0x2dca60,'endRow':_0x568bb7,'startColumn':_0xc89ac,'endColumn':_0x44786c},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x2bf384[_0x3e0637]||(_0x2bf384[_0x3e0637]=[]),_0x2bf384[_0x3e0637][_0x367352(0xd8)](_0x593a95);}}}function Ve(_0x9781c3,_0x35416c){const _0x4a9bcd=_0x120e64;var _0x31a262,_0x1761ee;for(const [_0x2cc41e,_0x54eea8]of Object[_0x4a9bcd(0x99)](_0x9781c3)){const _0x2d8261=_0x54eea8;let _0x3694b3=!0x1;const _0x35a879=_0x35416c['getSheetBySheetId'](_0x2cc41e);if(_0x35a879){for(let _0x1c701a=0x0;_0x1c701a<_0x2d8261['length'];_0x1c701a++){const _0x8dac07=_0x2d8261[_0x1c701a],_0x29c904=_0x8dac07['range'],{startRow:_0x5b8fe2,endRow:_0x5e90b4,startColumn:_0x371f8a,endColumn:_0x43a2f1}=_0x29c904,_0x4b29f9=We(_0x8dac07,_0x35a879,_0x35416c),_0x4577eb=je(_0x5b8fe2,_0x5e90b4,_0x8dac07);let _0x314164=0x1;const _0x1907e1=_0x5b8fe2+_0x4577eb;let _0x320553=0x0,_0x46985d=0x0;for(let _0x421b9c=_0x371f8a;_0x421b9c<=_0x43a2f1;_0x421b9c++){const _0x47c4be=_0x35a879['getCell'](_0x1907e1,_0x421b9c);if(!_0x47c4be)continue;const _0x4598c3=V(_0x47c4be);_0x4598c3!=null&&(_0x4598c3!==''&&_0x46985d++,le(_0x4598c3)&&_0x320553++);}if(_0x46985d>0x0&&_0x320553/Math[_0x4a9bcd(0x89)](_0x46985d,0x1)>0.03&&(_0x314164=0x0),_0x8dac07[_0x4a9bcd(0x9f)]=_0x4577eb,_0x8dac07['rowTitleCount']=_0x314164+_0x4577eb,_0x8dac07[_0x4a9bcd(0x12a)][_0x4a9bcd(0xd2)]-_0x8dac07[_0x4a9bcd(0x12a)]['startRow']+0x1-_0x8dac07[_0x4a9bcd(0xf7)]<=0x1){console[_0x4a9bcd(0x84)]('skip\x20small\x20table,\x20idx:'+_0x1c701a+_0x4a9bcd(0x87)+Be(_0x8dac07[_0x4a9bcd(0x12a)])),_0x2d8261['splice'](_0x1c701a,0x1),_0x1c701a--,_0x3694b3=!0x0;continue;}const _0x39f539=new Map();let _0x299316=0x0;const _0x21efe7=ge(0x4,_0x43a2f1-_0x371f8a+0x1);for(let _0x20769c=_0x371f8a;_0x20769c<=_0x43a2f1;_0x20769c++){let _0x3d7af1='';const _0x2e8aaf=new Set();let _0x21b89a=!0x1;const _0x3205e7=_0x5b8fe2+_0x8dac07[_0x4a9bcd(0xf7)]-0x1;let _0x31cb97=_0x5b8fe2;_0x4b29f9!==''&&(_0x31cb97=_0x5b8fe2+0x1);for(let _0x466a97=_0x31cb97;_0x466a97<=_0x3205e7;_0x466a97++){const _0x5d2d0e=ze(_0x466a97,_0x20769c,_0x35a879);_0x5d2d0e!=null&&(_0x466a97===_0x3205e7&&(_0x3d7af1=_0x5d2d0e),_0x2e8aaf[_0x4a9bcd(0x12c)](_0x5d2d0e));}const _0x3b00bd=[..._0x2e8aaf][_0x4a9bcd(0x114)](','),_0x19dfbd=_0x3b00bd;_0x39f539['has'](_0x19dfbd)?_0x21b89a=!0x0:_0x39f539[_0x4a9bcd(0x92)](_0x19dfbd,!0x0);const _0x1d5a02=_0x3205e7+0x1;let _0x48c1b9=_0x3205e7+0x14,_0xa9e282=0x0,_0x3c0bc8=!0x1,_0x5a3986=!0x1;if(_0x48c1b9>_0x5e90b4&&(_0x48c1b9=_0x5e90b4),_0x1d5a02<_0x5e90b4){let _0x4a7b95='';for(let _0xc5dc08=_0x1d5a02;_0xc5dc08<=_0x48c1b9;_0xc5dc08++){const _0x27170d=_0x35a879[_0x4a9bcd(0xea)](_0xc5dc08,_0x20769c);if(!_0x27170d)continue;const _0x12887a=V(_0x27170d);_0x12887a!=null&&(le(_0x12887a)||(_0x4a7b95+=_0x12887a),Ke(_0x12887a)&&_0xa9e282++);}_0xa9e282>Math[_0x4a9bcd(0x10a)]((_0x48c1b9-_0x1d5a02+0x1)/0x2)&&(_0x5a3986=!0x0),Xe(_0x4a7b95)/Math[_0x4a9bcd(0x89)](_0x48c1b9-_0x1d5a02+0x1,0x1)>0xf&&!_0x5a3986&&(_0x3c0bc8=!0x0);}_0x8dac07[_0x4a9bcd(0xba)][_0x4a9bcd(0xd8)]({'id':_0x21efe7[_0x299316++],'Name':_0x3d7af1,'Type':'','Description':_0x3b00bd,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x3c0bc8,'isLink':_0x5a3986,'isTitleRepeat':_0x21b89a,'isUnique':!0x1,'links':[]});}qe(_0x8dac07,_0x35416c);}_0x3694b3&&(_0x9781c3[_0x2cc41e]=_0x2d8261),_0x2d8261['length']===0x0&&delete _0x9781c3[_0x2cc41e],(_0x1761ee=(_0x31a262=_0x9781c3[_0x2cc41e])==null?void 0x0:_0x31a262[_0x4a9bcd(0xb2)])!=null;}}return _0x9781c3;}function je(_0x33cad5,_0xb5097d,_0x4cde25){const _0x1c910b=_0x120e64;var _0x64af62;function _0x2859ac(_0x29cfb5){const _0x2a7244=_0x2e77;if(_0x29cfb5[_0x2a7244(0xb2)]===0x0)return 0x0;_0x29cfb5[_0x2a7244(0x116)]((_0x180aee,_0x50c1e4)=>_0x180aee[0x0]-_0x50c1e4[0x0]);let _0x529039=0x0,_0x476143=_0x29cfb5[0x0][0x0],_0x2db576=_0x29cfb5[0x0][0x1];for(let _0x1fe0fd=0x1;_0x1fe0fd<_0x29cfb5[_0x2a7244(0xb2)];_0x1fe0fd++){const [_0x5c3167,_0x33f92b]=_0x29cfb5[_0x1fe0fd];_0x5c3167<=_0x2db576+0x1?_0x2db576=Math['max'](_0x2db576,_0x33f92b):(_0x529039+=_0x2db576-_0x476143+0x1,_0x476143=_0x5c3167,_0x2db576=_0x33f92b);}return _0x529039+=_0x2db576-_0x476143+0x1,_0x529039;}const _0x35448a=_0x4cde25[_0x1c910b(0x12a)][_0x1c910b(0xa6)],_0x3b6592=_0x4cde25['range'][_0x1c910b(0x96)],_0x3b8066=_0x3b6592-_0x35448a+0x1;let _0x40c1d3=_0x33cad5-0x1,_0x362177=_0x33cad5-0x1,_0x5de52d=!0x1;const _0x5582a3=0x64;for(let _0x187fa2=_0x33cad5;_0x187fa2<=_0xb5097d&&_0x187fa2-_0x33cad5<_0x5582a3;_0x187fa2++){const _0x23e841=[],_0x57a31d=(_0x64af62=_0x4cde25['rowMergeTitleCountMap']['get'](_0x187fa2))!=null?_0x64af62:[];for(const _0x1d3674 of _0x57a31d){const _0x452145=_0x1d3674['range'][_0x1c910b(0xa6)],_0x5a13fb=_0x1d3674[_0x1c910b(0x12a)][_0x1c910b(0x96)],_0x1c00f0=Math[_0x1c910b(0x89)](_0x452145,_0x35448a),_0x2fb739=Math[_0x1c910b(0xdc)](_0x5a13fb,_0x3b6592);_0x1c00f0<=_0x2fb739&&_0x23e841[_0x1c910b(0xd8)]([_0x1c00f0,_0x2fb739]);}_0x4cde25['columnMergeTitleCountMap']['forEach'](_0x71c123=>{const _0x5821ea=_0x1c910b;for(const _0x36fe35 of _0x71c123){const _0x11b2fe=_0x36fe35[_0x5821ea(0x12a)]['startRow'],_0x3c8b7b=_0x36fe35[_0x5821ea(0x12a)][_0x5821ea(0xd2)];if(_0x11b2fe<=_0x187fa2&&_0x187fa2<=_0x3c8b7b){const _0x53dc77=_0x36fe35[_0x5821ea(0x12a)][_0x5821ea(0xa6)],_0xb35fdc=_0x36fe35['range']['endColumn'],_0x216edf=Math[_0x5821ea(0x89)](_0x53dc77,_0x35448a),_0x437cd4=Math[_0x5821ea(0xdc)](_0xb35fdc,_0x3b6592);_0x216edf<=_0x437cd4&&_0x23e841['push']([_0x216edf,_0x437cd4]);}}});const _0x9770c0=_0x2859ac(_0x23e841),_0x415122=_0x9770c0/Math[_0x1c910b(0x89)](_0x3b8066,0x1);_0x23e841['length']>0x0&&(_0x40c1d3=_0x187fa2),_0x9770c0>0x0&&_0x415122>=0.75&&!_0x5de52d?_0x362177=_0x187fa2:_0x23e841[_0x1c910b(0xb2)]>0x0&&(_0x5de52d=!0x0);}return _0x40c1d3===_0xb5097d||_0x40c1d3-_0x33cad5===_0x5582a3?_0x362177-_0x33cad5+0x1:_0x40c1d3-_0x33cad5+0x1;}function We(_0x59c9c9,_0x3e9eb3,_0x5567b0){const _0x52ffaa=_0x120e64;if(_0x59c9c9[_0x52ffaa(0x8e)]+=_0x3e9eb3[_0x52ffaa(0x109)]()+',\x20'+_0x5567b0['name'],_0x59c9c9[_0x52ffaa(0xbf)]&&_0x59c9c9['name']!=='')return _0x59c9c9[_0x52ffaa(0xbf)];const _0x58a0ab=_0x59c9c9['range'][_0x52ffaa(0xf8)],_0x333c1d=_0x59c9c9[_0x52ffaa(0x12a)][_0x52ffaa(0xa6)],_0x5b48ee=_0x59c9c9['range'][_0x52ffaa(0x96)],_0x564f77=0x3,_0x193c81=_0x59c9c9['rowMergeTitleCountMap'][_0x52ffaa(0xa5)](_0x58a0ab);if(_0x193c81&&_0x193c81[_0x52ffaa(0xb2)]>0x0)for(const _0x144169 of _0x193c81){const _0xcf19ba=_0x144169[_0x52ffaa(0x12a)],_0x35370f=_0xcf19ba[_0x52ffaa(0xa6)],_0x4120e5=_0xcf19ba[_0x52ffaa(0x96)];if(_0x35370f<=_0x333c1d+_0x564f77&&_0x4120e5>=_0x5b48ee-_0x564f77){const _0x1aa84f=_0x3e9eb3[_0x52ffaa(0xea)](_0x58a0ab,_0x35370f);if(!_0x1aa84f)return'';const _0x5b5745=V(_0x1aa84f);return _0x5b5745==null||_0x5b5745===''?'':(_0x59c9c9[_0x52ffaa(0xbf)]=_0x5b5745,_0x5b5745);}}return'';}function qe(_0x44fa55,_0x65c55f){const _0xf18bb6=_0x120e64,_0x385f51={};_0x65c55f[_0xf18bb6(0x102)]()[_0xf18bb6(0x97)](_0x910498=>{const _0x17bbf0=_0xf18bb6,[_0x34ac11,_0x3af291]=_0x910498;return!_0x34ac11||!_0x3af291||_0x3af291['n']&&typeof _0x3af291['n'][_0x17bbf0(0x9c)]=='string'&&/[YyMDd]/['test'](_0x3af291['n']['pattern'])&&(_0x385f51[_0x34ac11]=!0x0),!0x0;});const _0xdbeb92=_0x44fa55[_0xf18bb6(0x12a)][_0xf18bb6(0xf8)],_0x4479b9=_0x44fa55[_0xf18bb6(0x12a)]['endRow'],_0x17d979=_0x44fa55[_0xf18bb6(0xf7)],_0x121c72=_0x44fa55[_0xf18bb6(0x123)],_0x3bd0bf=_0x65c55f[_0xf18bb6(0xd5)](_0x121c72);if(!_0x3bd0bf)return;const _0x12795c=_0x4479b9-_0xdbeb92+0x1-_0x17d979;if(_0x12795c<=0x1){console['warn'](_0xf18bb6(0xdb));return;}const _0x5c74bc=[];for(let _0x59efc6=0x0;_0x59efc6<_0x44fa55[_0xf18bb6(0x12a)][_0xf18bb6(0x96)]-_0x44fa55[_0xf18bb6(0x12a)][_0xf18bb6(0xa6)]+0x1;_0x59efc6++)_0x5c74bc[_0xf18bb6(0xd8)](new Oe(_0x385f51));const _0x2e8e8d=Math[_0xf18bb6(0xfc)](Math[_0xf18bb6(0x89)](_0x12795c,0x1));for(let _0x26e0f3=0x0;;_0x26e0f3++){const _0x25d5a7=_0x26e0f3,_0x2759bd=Math[_0xf18bb6(0x10a)](_0x25d5a7+0.00001*_0x25d5a7**2.7*_0x2e8e8d*_0x2e8e8d)+_0xdbeb92+_0x17d979;if(_0x2759bd>_0x4479b9)break;for(let _0x3effad=_0x44fa55[_0xf18bb6(0x12a)][_0xf18bb6(0xa6)];_0x3effad<=_0x44fa55[_0xf18bb6(0x12a)][_0xf18bb6(0x96)];_0x3effad++){const _0x40e738=_0x3bd0bf[_0xf18bb6(0xea)](_0x2759bd,_0x3effad);_0x40e738&&_0x5c74bc[_0x3effad-_0x44fa55[_0xf18bb6(0x12a)][_0xf18bb6(0xa6)]][_0xf18bb6(0x8b)](_0x40e738);}}for(let _0x24cdb9=0x0;_0x24cdb9<_0x44fa55['columns'][_0xf18bb6(0xb2)];_0x24cdb9++){const [_0x1269e3,_0xf18645]=_0x5c74bc[_0x24cdb9][_0xf18bb6(0xa4)]();_0x44fa55[_0xf18bb6(0xba)][_0x24cdb9]['Type']=_0x1269e3;}}function pe(_0x12c099){const _0x391df6=_0x120e64,_0x22fc9d=[];for(const _0x1f8b1b of _0x12c099[_0x391df6(0xc2)])_0x22fc9d[_0x391df6(0xd8)]({'tableId':_0x1f8b1b[_0x391df6(0xcc)],'columnId':_0x1f8b1b[_0x391df6(0x91)],'linkType':_0x1f8b1b[_0x391df6(0x11b)]});return _0x22fc9d;}function _0x1d75(){const _0x269dca=['replace','stringify','2\x20January,2006','splice','toLowerCase','intersectWithColumns','getUnitId','rowMergeTitleState','_configService','merge','getTableList','isUpdateTable','getCell','Description','slice','1611kBjrXr','getSheets','mergeRangeMap','isBigText','test','bulkSearch','119844KqfkBm','defineProperty','01-02-2006','intersectWithPreTables','rowTitleCount','startRow','isOpinionText','2006-01-02\x2015:04:05','invalid','log10','keys','value','02.01.2006','6vIbYoB','Name','getStyles','startStatisticRowCount','timeStampStyles','saveTableToCache','getRowCount','insertCellData','dateStyles','getName','floor','forEach','date','getTablesBySubunitId','trunc','columnMergeTitleCountMap','5nVzfML','isCoded','Type','2006/01/02','join','dataStream','sort','_injector','Jan.\x202,\x202006','2006-1-2','startIndex','linkType','isMatchContinue','Calc','all','2006-01-02','data','insert','1946935OWxEop','sheetId','MAX_SAFE_INTEGER','isMeasure','fromCharCode','sample','next','January\x202,2006','range','None','add','getColumnCount','isFinite','isTitleRepeat','warn','displayName','meta',',\x20rangeName:','isLink','max','59724CAnSPi','Match','02/01/2006','needConvert','description','split','values','columnId','set','size','2006年1月2日','01/02/2006','endColumn','each','20060102','entries','toJSON','UNIVER_RANGE_PREPROCESS_PLUGIN','pattern','02-01-2006','STRING','mergeRowTitleCount','getAllTableJson','customRanges','table','onStarting','Best','get','startColumn','getFullYear','_isRowContinuous','Confidence','trim','2\x20Jan.,\x202006','dispose','endIndex','getOwnPropertyDescriptor','clear','map','layout','length','getMergeData','onReady','getSheetId','isArray','recognizers','isTestTable','isTimeSeries','columns','columnMergeTitleState','_config','from','isMatchEnd','name','935220nREtsY','setConfig','links','endStatisticRowCount','number','pluginName','rowMergeTitleCountMap','unknown','getPlainText','valid','11032cQPcOA','2006/1/2','tableId','Layout','mergeRTree','getDate','excel','NUMBER','endRow','properties','string','getSheetBySheetId','2872121UfoCaH','isUnique','push','dataType','getMonth','skip\x20small\x20table','min','1776400iCJfKZ'];_0x1d75=function(){return _0x269dca;};return _0x1d75();}function Fe(_0x578901){return _0x578901['rowTitleCount']===0x1;}function Ze(_0x374844,_0x1cd625,_0x34c263,_0x5e4eeb,_0x164bce){const _0x2e2f9b=_0x120e64,_0x154b06=_0x5e4eeb[_0x2e2f9b(0xa5)](_0x365714),_0x206c87=_0x1cd625['getUnitId'](),_0x5734cc=_0x374844[_0x2e2f9b(0x123)];if(_0x154b06['getTablesBySubunitId'](_0x206c87,_0x5734cc)){for(const _0x3e98f5 of _0x34c263)if(_0x3e98f5['id']===_0x374844['id']){_0x3e98f5[_0x2e2f9b(0xbf)]=_0x374844[_0x2e2f9b(0xbf)],_0x3e98f5['meta']={},_0x3e98f5['meta'][_0x2e2f9b(0x8e)]=_0x374844['description'],_0x3e98f5[_0x2e2f9b(0x86)]['rowTitleCount']=_0x374844[_0x2e2f9b(0xf7)],_0x3e98f5[_0x2e2f9b(0x86)][_0x2e2f9b(0x9f)]=_0x374844[_0x2e2f9b(0x9f)],_0x3e98f5[_0x2e2f9b(0x86)][_0x2e2f9b(0xb9)]=_0x374844[_0x2e2f9b(0xb9)];for(let _0x220c75=0x0;_0x220c75<_0x374844[_0x2e2f9b(0xba)][_0x2e2f9b(0xb2)];_0x220c75++){const _0x236d72=_0x374844[_0x2e2f9b(0xba)][_0x220c75],_0x8d0a05=_0x3e98f5[_0x2e2f9b(0xba)][_0x220c75];_0x8d0a05[_0x2e2f9b(0x85)]=_0x236d72[_0x2e2f9b(0x101)],_0x8d0a05[_0x2e2f9b(0xd9)]=_0x236d72[_0x2e2f9b(0x112)],_0x8d0a05['meta']={},_0x8d0a05[_0x2e2f9b(0x86)][_0x2e2f9b(0x8e)]=_0x236d72[_0x2e2f9b(0xeb)],_0x8d0a05[_0x2e2f9b(0x86)][_0x2e2f9b(0x111)]=_0x236d72[_0x2e2f9b(0x111)],_0x8d0a05['meta'][_0x2e2f9b(0x125)]=_0x236d72['isMeasure'],_0x8d0a05[_0x2e2f9b(0x86)]['isOpinionText']=_0x236d72['isOpinionText'],_0x8d0a05[_0x2e2f9b(0x86)]['isBigText']=_0x236d72[_0x2e2f9b(0xf0)],_0x8d0a05[_0x2e2f9b(0x86)][_0x2e2f9b(0x88)]=_0x236d72[_0x2e2f9b(0x88)],_0x8d0a05[_0x2e2f9b(0x86)][_0x2e2f9b(0x83)]=_0x236d72['isTitleRepeat'],_0x8d0a05[_0x2e2f9b(0x86)][_0x2e2f9b(0xd7)]=_0x236d72[_0x2e2f9b(0xd7)],_0x8d0a05[_0x2e2f9b(0x86)][_0x2e2f9b(0xc2)]=pe(_0x236d72);}Me(_0x3e98f5,_0x5734cc,_0x1cd625,_0x164bce);}W[_0x2e2f9b(0xaf)]();}}function He(_0x577657,_0x2326e9,_0x10c1db,_0x19680f){const _0x5ee7c8=_0x120e64,_0x9917ce=_0x10c1db[_0x5ee7c8(0xa5)](_0x365714),_0x46386b=_0x2326e9[_0x5ee7c8(0xe4)](),_0x2a9491={};for(const [_0x503494,_0x10a790]of Object[_0x5ee7c8(0x99)](_0x577657)){const _0xcef4b6=_0x9917ce['getTablesBySubunitId'](_0x46386b,_0x503494),_0x93be14=(_0xcef4b6==null?void 0x0:_0xcef4b6['map'](_0x127f1f=>_0x127f1f[_0x5ee7c8(0x9a)]()))||[];for(const _0x5cb637 of _0x10a790){if(_0x5cb637[_0x5ee7c8(0xe9)]){Ze(_0x5cb637,_0x2326e9,_0x93be14,_0x10c1db,_0x19680f);continue;}const _0x504595={'id':_0x5cb637['id'],'range':{'startRow':_0x5cb637[_0x5ee7c8(0x12a)][_0x5ee7c8(0xf8)]+_0x5cb637['mergeRowTitleCount'],'endRow':_0x5cb637[_0x5ee7c8(0x12a)]['endRow'],'startColumn':_0x5cb637['range'][_0x5ee7c8(0xa6)],'endColumn':_0x5cb637[_0x5ee7c8(0x12a)][_0x5ee7c8(0x96)]},'name':_0x5cb637['name'],'meta':{},'options':{'showHeader':Fe(_0x5cb637),'showFooter':!0x1},'columns':[],'filters':{}};_0x504595[_0x5ee7c8(0x86)][_0x5ee7c8(0x8e)]=_0x5cb637['description'],_0x504595[_0x5ee7c8(0x86)]['rowTitleCount']=_0x5cb637[_0x5ee7c8(0xf7)],_0x504595[_0x5ee7c8(0x86)][_0x5ee7c8(0x9f)]=_0x5cb637['mergeRowTitleCount'],_0x504595[_0x5ee7c8(0x86)][_0x5ee7c8(0xb9)]=_0x5cb637[_0x5ee7c8(0xb9)];const _0x4062c6=_0x5cb637['range'][_0x5ee7c8(0xa6)];for(let _0x4354d4=0x0;_0x4354d4<_0x5cb637[_0x5ee7c8(0xba)][_0x5ee7c8(0xb2)];_0x4354d4++){const _0x376511=_0x5cb637['columns'][_0x4354d4],_0x4e3bd4={'id':_0x376511['id'],'displayName':_0x376511[_0x5ee7c8(0x101)]||'column_'+ne(_0x4062c6+_0x4354d4),'dataType':_0x376511['Type'],'meta':{},'formula':'','style':{}};_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0x8e)]=_0x376511[_0x5ee7c8(0xeb)],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0x111)]=_0x376511['isCoded'],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0x125)]=_0x376511['isMeasure'],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0xf9)]=_0x376511[_0x5ee7c8(0xf9)],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0xf0)]=_0x376511[_0x5ee7c8(0xf0)],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0x88)]=_0x376511[_0x5ee7c8(0x88)],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0x83)]=_0x376511[_0x5ee7c8(0x83)],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0xd7)]=_0x376511[_0x5ee7c8(0xd7)],_0x4e3bd4[_0x5ee7c8(0x86)][_0x5ee7c8(0xc2)]=pe(_0x376511),_0x504595[_0x5ee7c8(0xba)][_0x5ee7c8(0xd8)](_0x4e3bd4);}Me(_0x504595,_0x503494,_0x2326e9,_0x19680f),_0x93be14[_0x5ee7c8(0xd8)](_0x504595);}_0x2a9491[_0x503494]=_0x93be14;}for(const _0x1224d5 of Object[_0x5ee7c8(0xfd)](_0x577657))_0x577657[_0x1224d5]['forEach'](_0x56876c=>{_0x56876c['dispose']();});return _0x2a9491;}function ae(_0x3f1072,_0x14b91c,_0x118b3e=0x5){const _0x39a0f0=_0x120e64;if(!Array[_0x39a0f0(0xb6)](_0x3f1072)||_0x3f1072['length']===0x0)return[];const _0x44b8d4=Math[_0x39a0f0(0xdc)](_0x14b91c,_0x3f1072['length']),_0x387011=Math[_0x39a0f0(0xdc)](_0x44b8d4+_0x118b3e,_0x3f1072[_0x39a0f0(0xb2)]);return _0x3f1072['slice'](_0x44b8d4,_0x387011);}function Me(_0x166ea5,_0x24fc4a,_0x5385ec,_0x337eb3){const _0x486b1c=_0x120e64,_0x1c94d2=_0x5385ec[_0x486b1c(0xd5)](_0x24fc4a);if(!_0x1c94d2)return;const _0x253530=_0x166ea5['range'],_0x430cad=Ye(_0x1c94d2,_0x253530);_0x337eb3===ee['Sample']?_0x166ea5['data']=JSON[_0x486b1c(0xdf)](ae(_0x430cad,0x1,0x5)):_0x337eb3===ee['All']&&(_0x166ea5[_0x486b1c(0x120)]=JSON[_0x486b1c(0xdf)](ae(_0x430cad,0x1,_0x430cad[_0x486b1c(0xb2)])));}function Ye(_0x597b25,_0x22707d){const _0x2dc1d4=_0x120e64,{startRow:_0x3c3e4d,endRow:_0x1325e5,startColumn:_0x844c4a,endColumn:_0x58edd3}=_0x22707d,_0xee5a25=[],_0x3c75ee=W[_0x2dc1d4(0xa5)](_0x597b25),_0x21415c=_0x3c75ee==null?void 0x0:_0x3c75ee[_0x2dc1d4(0xce)],_0x9fb398=_0x3c75ee==null?void 0x0:_0x3c75ee[_0x2dc1d4(0xef)],_0x58d1bd=_0x597b25['getUnitId'](),_0x565f99=_0x597b25[_0x2dc1d4(0xb5)]();for(let _0x4513f5=_0x3c3e4d;_0x4513f5<=_0x1325e5;_0x4513f5++){const _0xa7c2fb=[];for(let _0x1ad692=_0x844c4a;_0x1ad692<=_0x58edd3;_0x1ad692++){const _0x381416=_0x597b25[_0x2dc1d4(0xea)](_0x4513f5,_0x1ad692);let _0x56c862=_0x381416?te(_0x381416):void 0x0;if(_0x56c862==null||_0x56c862===''){const _0x33659c={'range':{'startRow':_0x4513f5,'endRow':_0x4513f5,'startColumn':_0x1ad692,'endColumn':_0x1ad692},'unitId':_0x58d1bd,'sheetId':_0x565f99},_0x4c8002=(_0x21415c==null?void 0x0:_0x21415c[_0x2dc1d4(0xf2)]([_0x33659c]))||new Map();if(_0x4c8002[_0x2dc1d4(0x93)]>0x0&&_0x9fb398){const _0x93b054=_0x4c8002['keys']()[_0x2dc1d4(0x128)]()[_0x2dc1d4(0xfe)],_0x50f8e2=_0x9fb398[_0x2dc1d4(0xa5)](_0x93b054);if(!_0x50f8e2)continue;const _0x4d5a5f=_0x597b25[_0x2dc1d4(0xea)](_0x50f8e2[_0x2dc1d4(0x12a)][_0x2dc1d4(0xf8)],_0x50f8e2[_0x2dc1d4(0x12a)][_0x2dc1d4(0xa6)]);_0x4d5a5f&&(_0x56c862=te(_0x4d5a5f));}}_0xa7c2fb['push'](_0x56c862!=null?_0x56c862:'');}_0xee5a25['push'](_0xa7c2fb);}return _0xee5a25;}function Ke(_0x1bf1ec){const _0x39213d=_0x120e64;return/https?:\/\/|www\./i[_0x39213d(0xf1)](_0x1bf1ec);}function Xe(_0x128e7f){const _0x4e0fff=_0x120e64;return Array[_0x4e0fff(0xbd)](_0x128e7f)['length'];}function le(_0x5782a4){const _0xfe5769=_0x120e64;return _0x5782a4?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0xfe5769(0xf1)](_0x5782a4[_0xfe5769(0xaa)]()):!0x1;}function ne(_0x2b3428){const _0x1d29a7=_0x120e64;let _0x1b7bec='',_0x520fca=_0x2b3428+0x1;for(;_0x520fca>0x0;){const _0x6b615a=(_0x520fca-0x1)%0x1a;_0x1b7bec=String[_0x1d29a7(0x126)](0x41+_0x6b615a)+_0x1b7bec,_0x520fca=Math[_0x1d29a7(0x10a)]((_0x520fca-0x1)/0x1a);}return _0x1b7bec;}var Qe=Object['getOwnPropertyDescriptor'],et=(_0x5a54f2,_0x46d99d,_0xc7a900,_0x3140dc)=>{const _0x1d1a8c=_0x120e64;for(var _0x1cd373=_0x3140dc>0x1?void 0x0:_0x3140dc?Qe(_0x46d99d,_0xc7a900):_0x46d99d,_0x2bc366=_0x5a54f2[_0x1d1a8c(0xb2)]-0x1,_0x1dd2cb;_0x2bc366>=0x0;_0x2bc366--)(_0x1dd2cb=_0x5a54f2[_0x2bc366])&&(_0x1cd373=_0x1dd2cb(_0x1cd373)||_0x1cd373);return _0x1cd373;},tt=(_0xf694b5,_0x52e5f8)=>(_0x570ddc,_0xe89e2b)=>_0x52e5f8(_0x570ddc,_0xe89e2b,_0xf694b5);let oe=class extends _0x9265cf{constructor(_0x2e1c5d){super(),this['_injector']=_0x2e1c5d;}[_0x120e64(0xa0)](_0xb0778c,_0xd53f10){const _0x581591=_0x120e64;return De(_0xb0778c,this[_0x581591(0x117)],_0xd53f10);}};oe=et([tt(0x0,_0xe09fc0(_0xd89018))],oe);var nt=Object[_0x120e64(0xae)],ot=(_0x17737b,_0x3e0cc3,_0x478e0c,_0x590bc2)=>{const _0x54e0be=_0x120e64;for(var _0x131813=_0x590bc2>0x1?void 0x0:_0x590bc2?nt(_0x3e0cc3,_0x478e0c):_0x3e0cc3,_0x236431=_0x17737b[_0x54e0be(0xb2)]-0x1,_0x49d961;_0x236431>=0x0;_0x236431--)(_0x49d961=_0x17737b[_0x236431])&&(_0x131813=_0x49d961(_0x131813)||_0x131813);return _0x131813;},ue=(_0x5b9b56,_0x335a54)=>(_0x406686,_0x3694f0)=>_0x335a54(_0x406686,_0x3694f0,_0x5b9b56);const rt='RANGE_PREPROCESS_PLUGIN_CONFIG_KEY';var X;let ce=(X=class extends _0x4b50e1{constructor(_0x5e402c={},_0x2adfc8,_0x3f603a){const _0x5dd279=_0x120e64;super(),this['_config']=_0x5e402c,this['_injector']=_0x2adfc8,this['_configService']=_0x3f603a;const {..._0x402d69}=_0x266975({},this[_0x5dd279(0xbc)]);this[_0x5dd279(0xe6)][_0x5dd279(0xc1)](rt,_0x402d69);}[_0x120e64(0xa3)](){const _0x3d62a5=[[oe]];_0x54500e(this['_injector'],_0x3d62a5);}[_0x120e64(0xb4)](){}},p(X,_0x120e64(0xc5),_0x120e64(0x9b)),X);ce=ot([ue(0x1,_0xe09fc0(_0xd89018)),ue(0x2,_0x53106b)],ce);export{oe as RangePreprocessController,ce as UniverRangePreprocessPlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x5af0e9=_0x3bc8;(function(_0x4ddf11,_0x380a0b){var _0x34a037=_0x3bc8,_0x928e1f=_0x4ddf11();while(!![]){try{var _0xbe1dd=-parseInt(_0x34a037(0x183))/0x1*(-parseInt(_0x34a037(0x185))/0x2)+-parseInt(_0x34a037(0x17b))/0x3+-parseInt(_0x34a037(0x186))/0x4+parseInt(_0x34a037(0x181))/0x5*(-parseInt(_0x34a037(0x177))/0x6)+-parseInt(_0x34a037(0x184))/0x7*(-parseInt(_0x34a037(0x179))/0x8)+-parseInt(_0x34a037(0x180))/0x9*(-parseInt(_0x34a037(0x178))/0xa)+-parseInt(_0x34a037(0x176))/0xb*(-parseInt(_0x34a037(0x182))/0xc);if(_0xbe1dd===_0x380a0b)break;else _0x928e1f['push'](_0x928e1f['shift']());}catch(_0x43d02a){_0x928e1f['push'](_0x928e1f['shift']());}}}(_0x323a,0x45af3));function _0x323a(){var _0x4beb7a=['1330416bEboya','_injector','941370jWAFZS','getPreprocessRanges','get','_workbook','extend','2061BExhPv','535PjUkMu','1476iOSxWI','1409gGPTti','14JwNljJ','26JBIEWL','1011720qfftbn','16973HgZPyQ','9066eMIatv','20660gQkeBQ'];_0x323a=function(){return _0x4beb7a;};return _0x323a();}import{RangePreprocessController as _0x1d2144}from'@univerjs-pro/range-preprocess';function _0x3bc8(_0xeb3509,_0x3f3682){_0xeb3509=_0xeb3509-0x176;var _0x323a7f=_0x323a();var _0x3bc849=_0x323a7f[_0xeb3509];return _0x3bc849;}import{FWorkbook as _0x5cca67}from'@univerjs/sheets/facade';class s extends _0x5cca67{[_0x5af0e9(0x17c)](_0x15dc6d){var _0x187378=_0x5af0e9;return this[_0x187378(0x17a)][_0x187378(0x17d)](_0x1d2144)['getAllTableJson'](this[_0x187378(0x17e)],_0x15dc6d);}}_0x5cca67[_0x5af0e9(0x17f)](s);
|