@univerjs-pro/range-preprocess 0.15.0-insiders.20260107-3441c7a → 0.15.0-insiders.20260108-47c73e3
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 +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1106fa=_0x56a9;(function(_0x1b5691,_0x4ac6a0){const _0x4b3972=_0x56a9,_0x144b57=_0x1b5691();while(!![]){try{const _0x179fd9=parseInt(_0x4b3972(0x1e9))/0x1*(parseInt(_0x4b3972(0x1e0))/0x2)+parseInt(_0x4b3972(0x1e7))/0x3*(parseInt(_0x4b3972(0x1e3))/0x4)+-parseInt(_0x4b3972(0x1e5))/0x5+-parseInt(_0x4b3972(0x1ed))/0x6*(parseInt(_0x4b3972(0x1ee))/0x7)+-parseInt(_0x4b3972(0x1dd))/0x8*(-parseInt(_0x4b3972(0x1e8))/0x9)+parseInt(_0x4b3972(0x1e4))/0xa+parseInt(_0x4b3972(0x1e6))/0xb*(-parseInt(_0x4b3972(0x1de))/0xc);if(_0x179fd9===_0x4ac6a0)break;else _0x144b57['push'](_0x144b57['shift']());}catch(_0x337dbf){_0x144b57['push'](_0x144b57['shift']());}}}(_0x36ae,0x95807));const o=require('@univerjs-pro/range-preprocess'),e=require('@univerjs/sheets/facade');function _0x56a9(_0x9958cf,_0x32f915){_0x9958cf=_0x9958cf-0x1dd;const _0x36ae18=_0x36ae();let _0x56a9b8=_0x36ae18[_0x9958cf];return _0x56a9b8;}class s extends e[_0x1106fa(0x1eb)]{[_0x1106fa(0x1e1)](_0x1b3cb1){const _0x1df4d3=_0x1106fa;return this[_0x1df4d3(0x1df)][_0x1df4d3(0x1ef)](o[_0x1df4d3(0x1ec)])[_0x1df4d3(0x1e2)](this['_workbook'],_0x1b3cb1);}}function _0x36ae(){const _0x19a6c8=['_injector','2aTFZME','getPreprocessRanges','getAllTableJson','318524Nbmpgx','10252560jDabaq','852085NrswNL','154572BcwHkl','24TbmHCH','27243QYyXvf','968233BKsCRm','extend','FWorkbook','RangePreprocessController','6xUBcBq','569233pzkaxM','get','48qvMXVI','1524QTTkel'];_0x36ae=function(){return _0x19a6c8;};return _0x36ae();}e[_0x1106fa(0x1eb)][_0x1106fa(0x1ea)](s);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1f2917=_0x21a4;(function(_0x566827,_0x1c9bdf){const _0x57add8=_0x21a4,_0x4b7525=_0x566827();while(!![]){try{const _0x32871f=parseInt(_0x57add8(0x15e))/0x1*(parseInt(_0x57add8(0x116))/0x2)+parseInt(_0x57add8(0xd1))/0x3+-parseInt(_0x57add8(0xea))/0x4*(-parseInt(_0x57add8(0x121))/0x5)+parseInt(_0x57add8(0x130))/0x6*(parseInt(_0x57add8(0xc6))/0x7)+parseInt(_0x57add8(0xaf))/0x8+-parseInt(_0x57add8(0x123))/0x9*(-parseInt(_0x57add8(0x158))/0xa)+-parseInt(_0x57add8(0xe3))/0xb;if(_0x32871f===_0x1c9bdf)break;else _0x4b7525['push'](_0x4b7525['shift']());}catch(_0x516afc){_0x4b7525['push'](_0x4b7525['shift']());}}}(_0x114f,0x7e981));var Ce=Object[_0x1f2917(0x124)],ge=(_0x5578f8,_0x5a8336,_0x5ad9c3)=>_0x5a8336 in _0x5578f8?Ce(_0x5578f8,_0x5a8336,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ad9c3}):_0x5578f8[_0x5a8336]=_0x5ad9c3,p=(_0x3446aa,_0x2b0302,_0x3bf984)=>ge(_0x3446aa,typeof _0x2b0302!=_0x1f2917(0xc9)?_0x2b0302+'':_0x2b0302,_0x3bf984);Object[_0x1f2917(0x124)](exports,Symbol[_0x1f2917(0xc4)],{'value':_0x1f2917(0xfd)});const $=require('@univerjs/core');require('@univerjs/sheets-filter');const H=require('@univerjs/sheets-table');function oe(_0x21ca5e){return _0x21ca5e['v']==null?'':String(_0x21ca5e['v'])['trim']();}function he(_0x42aa1c){const _0x1d8183=_0x1f2917;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x1d8183(0x10b)](_0x42aa1c);}const Z=0x2,Q=0x1;function ue(_0x150021,_0x3bd6f1){const _0x2b3abc=_0x1f2917,_0x42a133={'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}$/}[_0x3bd6f1];if(!_0x42a133||!_0x42a133[_0x2b3abc(0x10b)](_0x150021))return!0x1;const _0x5120f7=_0x150021[_0x2b3abc(0x115)](/\D+/g,'\x20')['trim']()[_0x2b3abc(0xdc)](/\s+/)['map'](Number);let _0x41b1e5=0x0,_0x341f64=0x1,_0x53cd33=0x1,_0x4a55a0=0x0,_0x2b1315=0x0,_0x2feccf=0x0;switch(_0x3bd6f1){case _0x2b3abc(0x114):case'2006-1-2':case _0x2b3abc(0x13b):case _0x2b3abc(0xf7):[_0x41b1e5,_0x341f64,_0x53cd33]=_0x5120f7;break;case _0x2b3abc(0xfc):[_0x41b1e5,_0x341f64,_0x53cd33]=_0x5120f7;break;case _0x2b3abc(0x10d):case _0x2b3abc(0xcc):case'02.01.2006':[_0x53cd33,_0x341f64,_0x41b1e5]=_0x5120f7;break;case _0x2b3abc(0xd2):case _0x2b3abc(0x128):[_0x341f64,_0x53cd33,_0x41b1e5]=_0x5120f7;break;case _0x2b3abc(0x11f):{const _0x47f7e2=_0x150021;_0x41b1e5=+_0x47f7e2['slice'](0x0,0x4),_0x341f64=+_0x47f7e2['slice'](0x4,0x6),_0x53cd33=+_0x47f7e2['slice'](0x6,0x8);break;}case _0x2b3abc(0x15a):case _0x2b3abc(0xed):[_0x41b1e5,_0x341f64,_0x53cd33,_0x4a55a0,_0x2b1315,_0x2feccf]=_0x5120f7;break;default:return!0x0;}if(_0x341f64<0x1||_0x341f64>0xc||_0x53cd33<0x1||_0x53cd33>0x1f||_0x4a55a0<0x0||_0x4a55a0>0x17||_0x2b1315<0x0||_0x2b1315>0x3b||_0x2feccf<0x0||_0x2feccf>0x3b)return!0x1;const _0x1c7c66=new Date(_0x41b1e5,_0x341f64-0x1,_0x53cd33,_0x4a55a0,_0x2b1315,_0x2feccf);return!(_0x1c7c66[_0x2b3abc(0x101)]()!==_0x41b1e5||_0x1c7c66[_0x2b3abc(0x112)]()!==_0x341f64-0x1||_0x1c7c66[_0x2b3abc(0x159)]()!==_0x53cd33);}function we(_0x142f97){return Number['isFinite'](_0x142f97)&&_0x142f97>=0x1&&_0x142f97<=0x13880;}function pe(_0x2786a9){const _0x428160=_0x1f2917;switch(_0x2786a9){case 0x0:return _0x428160(0xd3);case 0x1:return _0x428160(0xd8);case 0x2:case 0x3:case 0x4:return _0x428160(0x131);case 0x5:return'boolean';default:return _0x428160(0x154);}}class Y{constructor(){const _0x4a59e8=_0x1f2917;p(this,'valid',0x0),p(this,_0x4a59e8(0x144),0x0),p(this,_0x4a59e8(0x10a),0x0);}}class I extends Y{constructor(_0x41a9a8){const _0x4644b3=_0x1f2917;super(),p(this,_0x4644b3(0xdf)),p(this,'dt'),p(this,'layout'),p(this,_0x4644b3(0xe0)),(this['dt']=_0x41a9a8['dt'],this[_0x4644b3(0xe6)]=_0x41a9a8[_0x4644b3(0xe6)],this[_0x4644b3(0xe0)]=!!_0x41a9a8['needConvert']);}[_0x1f2917(0x12c)](_0x3f1dd3){const _0x5c9c11=_0x1f2917;if(_0x3f1dd3['t']===$[_0x5c9c11(0xf9)]['STRING']){const _0x3b233c=oe(_0x3f1dd3);if(!_0x3b233c)return;ue(_0x3b233c,this['layout'])?this['valid']+=Z:this['invalid']++;}}['Calc'](){const _0x31042f=_0x1f2917,_0x32eb4d=0x64-Math['trunc']((this[_0x31042f(0x144)]*0xa+0x1)*0x64/(this[_0x31042f(0x144)]+this[_0x31042f(0x146)]+0x1)),_0x45c086={'Charset':this['dt'],'Confidence':_0x32eb4d,'debugInfo':this[_0x31042f(0xe6)]};return this[_0x31042f(0xe0)]&&(_0x45c086[_0x31042f(0xd4)]=this['layout']),_0x45c086;}}class re extends Y{constructor(_0x5de7be){const _0x4295e3=_0x1f2917;super(),p(this,_0x4295e3(0x14a)),p(this,_0x4295e3(0xdf)),p(this,'dt'),p(this,'layout'),p(this,_0x4295e3(0xe0)),(this[_0x4295e3(0x14a)]=_0x5de7be['dateStyles']||{},this['dt']=_0x5de7be['dt'],this[_0x4295e3(0xe6)]=_0x5de7be[_0x4295e3(0xe6)],this['needConvert']=!!_0x5de7be[_0x4295e3(0xe0)]);}[_0x1f2917(0x12c)](_0x399584){const _0xbd0d52=_0x1f2917;if(_0x399584['t']===$[_0xbd0d52(0xf9)]['NUMBER']){if(_0x399584['s']&&this[_0xbd0d52(0x14a)][_0x399584['s']]){this['valid']+=Z;return;}const _0x3649b6=oe(_0x399584);if(!_0x3649b6)return;if(this['layout']===_0xbd0d52(0xfe)){const _0x30c20c=Number(_0x3649b6);if(we(_0x30c20c)){this[_0xbd0d52(0x146)]+=Z;return;}}ue(_0x3649b6,this['layout'])?this['valid']+=Z:this[_0xbd0d52(0x144)]++;}}['Calc'](){const _0x2acb57=_0x1f2917,_0x37f7f3=0x64-Math['trunc']((this['invalid']*0xa+0x1)*0x64/(this['invalid']+this['valid']+0x1)),_0x1ed57a={'Charset':this['dt'],'Confidence':_0x37f7f3,'debugInfo':this[_0x2acb57(0xe6)]};return this[_0x2acb57(0xe0)]&&(_0x1ed57a[_0x2acb57(0xd4)]=this['layout']),_0x1ed57a;}}class Me extends Y{[_0x1f2917(0x12c)](_0x362375){const _0x43f6ac=_0x1f2917;if(_0x362375['t']===$[_0x43f6ac(0xf9)][_0x43f6ac(0xdb)])this[_0x43f6ac(0x146)]+=Q;else{const _0x1182cb=oe(_0x362375);if(!_0x1182cb)return;he(_0x1182cb)?this[_0x43f6ac(0x146)]+=Q:this[_0x43f6ac(0x144)]++;}}[_0x1f2917(0x155)](){const _0x2d8b50=_0x1f2917;return{'Charset':0x1,'Confidence':0x64-Math[_0x2d8b50(0xf3)]((this[_0x2d8b50(0x144)]*0xa+0x1)*0x64/(this['invalid']+this['valid']+0x1)),'debugInfo':'number'};}}class Re extends Y{['Match'](_0x2496f8){const _0x1975e4=_0x1f2917;_0x2496f8['t']===$['CellValueType'][_0x1975e4(0x11e)]?this[_0x1975e4(0x146)]+=Q:this[_0x1975e4(0x144)]++;}[_0x1f2917(0x155)](){const _0x9d42ad=_0x1f2917;return{'Charset':0x5,'Confidence':0x64-Math[_0x9d42ad(0xf3)]((this['invalid']*0xa+0x1)*0x64/(this[_0x9d42ad(0x144)]+this[_0x9d42ad(0x146)]+0x1)),'debugInfo':_0x9d42ad(0xd8)};}}class Te{constructor(_0x45b529){const _0x3c23ed=_0x1f2917;p(this,_0x3c23ed(0xeb)),p(this,_0x3c23ed(0x14a)),(this[_0x3c23ed(0x14a)]=_0x45b529||{},this['recognizers']=[new I({'dt':0x2,'layout':_0x3c23ed(0x114)}),new I({'dt':0x2,'layout':'2006-1-2'}),new I({'dt':0x2,'layout':_0x3c23ed(0x13b)}),new I({'dt':0x2,'layout':'2006/1/2'}),new I({'dt':0x2,'layout':_0x3c23ed(0xfc),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0x10d),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0xcc),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0xbf),'needConvert':!0x0}),new I({'dt':0x2,'layout':'01-02-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0x128),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0xc3),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0xaa),'needConvert':!0x0}),new I({'dt':0x2,'layout':'2\x20Jan.,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0x149),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0xac),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0x142),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x3c23ed(0x11f),'needConvert':!0x0}),new re({'dateStyles':this[_0x3c23ed(0x14a)],'dt':0x2,'layout':_0x3c23ed(0x11f),'needConvert':!0x0}),new I({'dt':0x4,'layout':_0x3c23ed(0x15a)}),new I({'dt':0x4,'layout':_0x3c23ed(0xed)}),new re({'dateStyles':this[_0x3c23ed(0x14a)],'dt':0x3,'layout':'excel','needConvert':!0x0}),new Me(),new Re()]);}[_0x1f2917(0x12c)](_0x2f6adc){for(const _0x1d284e of this['recognizers'])_0x1d284e['Match'](_0x2f6adc);}[_0x1f2917(0x119)](){const _0x4e6561=_0x1f2917,_0x42a2aa=this[_0x4e6561(0xeb)]['map'](_0x1edde7=>_0x1edde7['Calc']());if(_0x42a2aa['sort']((_0x3ef3ef,_0x17d39f)=>_0x17d39f[_0x4e6561(0x138)]-_0x3ef3ef[_0x4e6561(0x138)]),_0x42a2aa[_0x4e6561(0x156)]===0x0||_0x42a2aa[0x0][_0x4e6561(0x138)]<0x32)return[_0x4e6561(0xd3),null];const _0x28f4c3=_0x42a2aa[0x0];return[pe(_0x28f4c3['Charset']),_0x28f4c3];}}function ce(_0x2202e7,_0x2128c7){const _0x4988d2=_0x1f2917;let _0x18335d=_0x2202e7,_0x514d44=_0x2128c7;_0x18335d<=0x0&&(_0x18335d=0x6),_0x514d44<=0x0&&(_0x514d44=0xa),_0x514d44=_0x514d44*0x2;const _0x315f95=[];for(let _0x368e31=0x0;_0x368e31<_0x514d44;_0x368e31++)_0x315f95['push']($['generateRandomId'](_0x18335d));const _0x59e220=new Map();for(const _0x30e2d7 of _0x315f95){const _0x5b96ec=_0x30e2d7[_0x4988d2(0x145)]();_0x59e220[_0x4988d2(0xe2)](_0x5b96ec)||_0x59e220['set'](_0x5b96ec,_0x30e2d7);}return Array['from'](_0x59e220['values']());}var ee=(_0xf9b27e=>(_0xf9b27e[_0x1f2917(0x14d)]=_0x1f2917(0xff),_0xf9b27e[_0x1f2917(0x11a)]='all',_0xf9b27e[_0x1f2917(0xca)]=_0x1f2917(0x109),_0xf9b27e))(ee||{});class K{constructor(_0x264946){const _0x59ba60=_0x1f2917;p(this,'id'),p(this,_0x59ba60(0xf8)),p(this,'range'),p(this,_0x59ba60(0x12e)),p(this,_0x59ba60(0x118)),p(this,_0x59ba60(0x105)),p(this,_0x59ba60(0x150)),p(this,_0x59ba60(0xdd)),p(this,'endStatisticRowCount'),p(this,_0x59ba60(0xf0)),p(this,_0x59ba60(0xcb)),p(this,_0x59ba60(0xb2)),p(this,_0x59ba60(0xf2)),p(this,_0x59ba60(0xce)),p(this,_0x59ba60(0xfb)),p(this,_0x59ba60(0x148)),p(this,_0x59ba60(0x117)),p(this,_0x59ba60(0x161)),p(this,_0x59ba60(0xb1));var _0x24148a,_0x2cb846,_0x1d39a2,_0x422298,_0x1e370a,_0x2b1686,_0x1de014,_0x4afa4b,_0x33f453,_0x2a6898,_0x1b1e7c,_0x3b7215,_0x35e3da,_0x40688c,_0x1a5c51,_0x49d0ad,_0x11815e,_0x438073,_0x5afbfd;this['id']=(_0x24148a=_0x264946==null?void 0x0:_0x264946['id'])!=null?_0x24148a:'',this[_0x59ba60(0xf8)]=(_0x2cb846=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xf8)])!=null?_0x2cb846:$[_0x59ba60(0xe7)](),this[_0x59ba60(0xc5)]=(_0x1d39a2=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xc5)])!=null?_0x1d39a2:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x59ba60(0x12e)]=(_0x422298=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0x12e)])!=null?_0x422298:'',this['description']=(_0x1e370a=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0x118)])!=null?_0x1e370a:'',this[_0x59ba60(0x105)]=(_0x2b1686=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0x105)])!=null?_0x2b1686:0x0,this[_0x59ba60(0x150)]=(_0x1de014=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0x150)])!=null?_0x1de014:0x0,this[_0x59ba60(0xdd)]=(_0x4afa4b=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xdd)])!=null?_0x4afa4b:0x0,this[_0x59ba60(0xf4)]=(_0x33f453=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xf4)])!=null?_0x33f453:0x0,this['rowMergeTitleCountMap']=(_0x2a6898=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xf0)])!=null?_0x2a6898:new Map(),this[_0x59ba60(0xcb)]=(_0x1b1e7c=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xcb)])!=null?_0x1b1e7c:!0x1,this[_0x59ba60(0xb2)]=(_0x3b7215=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xb2)])!=null?_0x3b7215:!0x1,this[_0x59ba60(0xf2)]=(_0x35e3da=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xf2)])!=null?_0x35e3da:new Map(),this[_0x59ba60(0xce)]=(_0x40688c=_0x264946==null?void 0x0:_0x264946['isMatchEnd'])!=null?_0x40688c:!0x1,this[_0x59ba60(0xfb)]=(_0x1a5c51=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xfb)])!=null?_0x1a5c51:!0x1,this['isTimeSeries']=(_0x49d0ad=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0x148)])!=null?_0x49d0ad:!0x1,this['isTestTable']=(_0x11815e=_0x264946==null?void 0x0:_0x264946['isTestTable'])!=null?_0x11815e:!0x1,this[_0x59ba60(0x161)]=(_0x438073=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0x161)])!=null?_0x438073:!0x1,this[_0x59ba60(0xb1)]=(_0x5afbfd=_0x264946==null?void 0x0:_0x264946[_0x59ba60(0xb1)])!=null?_0x5afbfd:[];}['_isRowContinuous'](_0x4e18e8,_0x18facd){return _0x18facd-_0x4e18e8===0x1||_0x18facd===_0x4e18e8;}[_0x1f2917(0x135)](_0x906d47){const _0x5d43ce=_0x1f2917,_0x52b57f=[];for(const _0x5458d5 of _0x906d47)this[_0x5d43ce(0xc5)]['endColumn']<_0x5458d5[_0x5d43ce(0xc5)][_0x5d43ce(0xf5)]||this[_0x5d43ce(0xc5)][_0x5d43ce(0xf5)]>_0x5458d5[_0x5d43ce(0xc5)][_0x5d43ce(0x14e)]||this[_0x5d43ce(0xb8)](_0x5458d5[_0x5d43ce(0xc5)][_0x5d43ce(0xb9)],this[_0x5d43ce(0xc5)][_0x5d43ce(0x157)])&&_0x52b57f['push'](_0x5458d5);return _0x52b57f;}[_0x1f2917(0x126)](_0x2d17f6){const _0x3630ab=_0x1f2917;return _0x2d17f6[_0x3630ab(0xc5)][_0x3630ab(0xb9)]===this[_0x3630ab(0xc5)][_0x3630ab(0x157)]&&this[_0x3630ab(0xc5)]['endColumn']+0x1===_0x2d17f6[_0x3630ab(0xc5)][_0x3630ab(0xf5)];}[_0x1f2917(0x125)](_0x318577){const _0x14502a=_0x1f2917;return this['range']['startColumn']===-0x1?this:(_0x318577[_0x14502a(0x108)](this),new K({'sheetId':this[_0x14502a(0xf8)],'range':{'startRow':this[_0x14502a(0xc5)][_0x14502a(0x157)],'endRow':this[_0x14502a(0xc5)][_0x14502a(0xb9)],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x1f2917(0xc1)](_0x53f87d,_0x2ec38a,_0x2a65c0,_0x1beb12){const _0x5d64c2=_0x1f2917;this['range'][_0x5d64c2(0xf5)]===-0x1&&(this['range'][_0x5d64c2(0xf5)]=_0x2ec38a),this[_0x5d64c2(0xc5)][_0x5d64c2(0x14e)]=_0x2ec38a,_0x1beb12!=null&&(this[_0x5d64c2(0xc5)]['endColumn']=Math[_0x5d64c2(0x13c)](_0x1beb12,this[_0x5d64c2(0xc5)][_0x5d64c2(0x14e)]));}['dispose'](){const _0x2d8c45=_0x1f2917;this[_0x2d8c45(0xf0)][_0x2d8c45(0xbe)](),this[_0x2d8c45(0xf2)][_0x2d8c45(0xbe)](),this[_0x2d8c45(0xb1)]=[];}}function de(_0x37a623,_0x3a9940){const {startRow:_0x4345e1,startColumn:_0x9e824b,endRow:_0x57f722,endColumn:_0x41e472}=_0x3a9940;return _0x37a623+':'+_0x4345e1+','+_0x9e824b+'-'+_0x57f722+','+_0x41e472;}const W=new Map();function ye(_0xe1b8e,_0x707799){const _0x5457d0=_0x1f2917;var _0x3b22f9;const _0x50929e=new $[(_0x5457d0(0x147))](!0x1),_0x35c266=_0x707799[_0x5457d0(0x120)](),_0x122639=new Map(),_0x4f2a5c=(_0x3b22f9=_0x707799[_0x5457d0(0xe5)]())!=null?_0x3b22f9:[];W[_0x5457d0(0xbe)]();for(const _0x2fab35 of _0x4f2a5c){const _0x317904=de(_0x5457d0(0x10c),_0x2fab35),_0x1da673={'unitId':_0xe1b8e,'sheetId':_0x35c266,'range':_0x2fab35,'id':_0x317904};_0x50929e[_0x5457d0(0x12a)](_0x1da673),_0x122639[_0x5457d0(0xf6)](_0x317904,_0x1da673);}return W['set'](_0x707799,{'mergeRTree':_0x50929e,'mergeRangeMap':_0x122639}),{'mergeRTree':_0x50929e,'mergeRangeMap':_0x122639};}function Se(_0x256310,_0x411703,_0x373239){const _0x33ad36=_0x1f2917,_0x3413a1=new $[(_0x33ad36(0x147))](!0x1),_0x555532=_0x373239[_0x33ad36(0x13d)](H[_0x33ad36(0x14b)])[_0x33ad36(0x10f)](_0x256310);if(_0x555532&&Array['isArray'](_0x555532))for(const _0x34ba01 of _0x555532){if(!(_0x34ba01!=null&&_0x34ba01[_0x33ad36(0xc5)]))continue;const _0x1627ef=_0x34ba01[_0x33ad36(0xc5)],_0x16f086={'unitId':_0x256310,'sheetId':_0x411703,'range':_0x1627ef,'id':de('table',_0x1627ef)};_0x3413a1[_0x33ad36(0x12a)](_0x16f086);}return _0x3413a1;}function se(_0x49e134,_0x501565,_0x197161){const _0x325999=_0x1f2917,_0x390ce3=_0x49e134[_0x325999(0x13d)](_0x501565);_0x390ce3?_0x390ce3[_0x325999(0x108)](_0x197161):_0x49e134[_0x325999(0xf6)](_0x501565,[_0x197161]);}function ve(_0x5c732d,_0xc9f207){const _0x168d90=_0x1f2917;var _0x55dd4b,_0x380e14,_0x1a2ff9;const _0x34f991=_0x5c732d[_0x168d90(0x103)](),_0x12ed11={},_0x12e731=_0x5c732d['getUnitId']();for(const _0x27e75e of _0x34f991){const _0x4157eb=_0x27e75e['getSheetId'](),_0x531762=_0x27e75e[_0x168d90(0xbb)](),_0x41bce5=_0x27e75e[_0x168d90(0x104)](),{mergeRTree:_0x5969b4,mergeRangeMap:_0x39f73b}=ye(_0x12e731,_0x27e75e),_0x5cd179=Se(_0x12e731,_0x4157eb,_0xc9f207),_0x53f168=[];let _0x21651a=[];for(let _0x2de6d8=0x0;_0x2de6d8<_0x531762;_0x2de6d8++){const _0x1de25d=[];let _0x251dc1=new K({'sheetId':_0x4157eb,'range':{'startRow':_0x2de6d8,'endRow':_0x2de6d8,'startColumn':-0x1,'endColumn':-0x1}});const _0x3726df=new Map();for(let _0x465e3d=0x0;_0x465e3d<=_0x41bce5;_0x465e3d++){const _0x10479a=_0x27e75e[_0x168d90(0xec)](_0x2de6d8,_0x465e3d),_0x2dbb29={'range':{'startRow':_0x2de6d8,'startColumn':_0x465e3d,'endRow':_0x2de6d8,'endColumn':_0x465e3d},'unitId':_0x12e731,'sheetId':_0x4157eb};if(_0x5cd179[_0x168d90(0x15b)]([_0x2dbb29])[_0x168d90(0x106)]>0x0){_0x251dc1=_0x251dc1['saveTableToCache'](_0x1de25d);continue;}const _0x5711bd=_0x5969b4[_0x168d90(0x15b)]([_0x2dbb29]);if(_0x5711bd[_0x168d90(0x106)]>0x0){const _0x4f54ca=_0x251dc1[_0x168d90(0x135)](_0x21651a),_0xbefa3=_0x5711bd['keys']()[_0x168d90(0xcf)]()[_0x168d90(0x137)],_0xf66c6e=_0x39f73b['get'](_0xbefa3);if(!_0xf66c6e)continue;const _0x16fb99={'startRow':_0xf66c6e[_0x168d90(0xc5)][_0x168d90(0x157)],'endRow':_0xf66c6e['range'][_0x168d90(0xb9)],'startColumn':_0xf66c6e[_0x168d90(0xc5)]['startColumn'],'endColumn':_0xf66c6e[_0x168d90(0xc5)][_0x168d90(0x14e)]},_0x2d1720=_0x27e75e[_0x168d90(0xec)](_0x16fb99['startRow'],_0x16fb99['startColumn']);if(_0x2d1720&&(_0x2d1720['p']!=null||_0x2d1720['v']!=null&&String(_0x2d1720['v'])[_0x168d90(0x156)]>0x0)){_0x251dc1['insertCellData'](_0x2de6d8,_0x465e3d,_0x10479a,_0x16fb99[_0x168d90(0x14e)]);for(let _0x111e6e=_0x16fb99[_0x168d90(0xf5)];_0x111e6e<=_0x16fb99['endColumn'];_0x111e6e++)_0x3726df[_0x168d90(0xf6)](_0x111e6e,!0x0);}else _0x251dc1=_0x251dc1[_0x168d90(0x125)](_0x1de25d);const _0x5b54db=_0x16fb99['endRow']-_0x16fb99['startRow'],_0x1ab037=_0x16fb99['endColumn']-_0x16fb99[_0x168d90(0xf5)];if(_0x4f54ca[_0x168d90(0x156)]===0x1){if(_0x5b54db>0x0&&se(_0x251dc1[_0x168d90(0xf2)],_0x465e3d,_0xf66c6e),_0x1ab037>0x0){const _0x2da0cc=(_0x55dd4b=_0x251dc1[_0x168d90(0xf0)]['get'](_0x2de6d8))!=null?_0x55dd4b:[];_0x2da0cc[_0x168d90(0x108)](_0xf66c6e),_0x251dc1['rowMergeTitleCountMap'][_0x168d90(0xf6)](_0x2de6d8,_0x2da0cc);}}else{if(_0x5b54db>0x0&&(_0x251dc1[_0x168d90(0xb2)]=!0x0,se(_0x251dc1[_0x168d90(0xf2)],_0x465e3d,_0xf66c6e)),_0x1ab037>0x0){_0x251dc1[_0x168d90(0xcb)]=!0x0;const _0x2ea1d5=(_0x380e14=_0x251dc1['rowMergeTitleCountMap']['get'](_0x2de6d8))!=null?_0x380e14:[];_0x2ea1d5['push'](_0xf66c6e),_0x251dc1['rowMergeTitleCountMap'][_0x168d90(0xf6)](_0x2de6d8,_0x2ea1d5);}}continue;}if((!_0x10479a||G(_0x10479a)==null)&&!_0x3726df[_0x168d90(0x13d)](_0x465e3d)){_0x251dc1=_0x251dc1[_0x168d90(0x125)](_0x1de25d);continue;}_0x10479a&&G(_0x10479a)!=null?_0x251dc1[_0x168d90(0xc1)](_0x2de6d8,_0x465e3d,_0x10479a):(_0x251dc1['rowMergeTitleState']=!0x1,_0x251dc1[_0x168d90(0xb2)]=!0x1,_0x251dc1=_0x251dc1['saveTableToCache'](_0x1de25d));}if(_0x1de25d[_0x168d90(0x156)]===0x0){_0x53f168[_0x168d90(0x108)](..._0x21651a),_0x21651a=[];continue;}if(_0x21651a[_0x168d90(0x156)]===0x0){_0x21651a[_0x168d90(0x108)](..._0x1de25d);continue;}const _0x2d8405=(_0x2f3bcf,_0x13a9a2)=>{const _0x188b53=_0x168d90;_0x2f3bcf[_0x188b53(0xc5)][_0x188b53(0x157)]=Math['min'](_0x2f3bcf[_0x188b53(0xc5)][_0x188b53(0x157)],_0x13a9a2['range'][_0x188b53(0x157)]),_0x2f3bcf[_0x188b53(0xc5)]['endRow']=Math[_0x188b53(0x13c)](_0x2f3bcf[_0x188b53(0xc5)]['endRow'],_0x13a9a2[_0x188b53(0xc5)][_0x188b53(0xb9)]),_0x2f3bcf[_0x188b53(0xc5)]['startColumn']=Math[_0x188b53(0x134)](_0x2f3bcf[_0x188b53(0xc5)]['startColumn'],_0x13a9a2[_0x188b53(0xc5)]['startColumn']),_0x2f3bcf[_0x188b53(0xc5)][_0x188b53(0x14e)]=Math[_0x188b53(0x13c)](_0x2f3bcf[_0x188b53(0xc5)]['endColumn'],_0x13a9a2[_0x188b53(0xc5)][_0x188b53(0x14e)]),_0x13a9a2[_0x188b53(0xf0)][_0x188b53(0x15d)]((_0x64c1f4,_0x3b9913)=>{const _0x569ca7=_0x188b53;var _0x510db3;const _0x2334ee=(_0x510db3=_0x2f3bcf[_0x569ca7(0xf0)][_0x569ca7(0x13d)](_0x3b9913))!=null?_0x510db3:[];_0x2334ee[_0x569ca7(0x108)](..._0x64c1f4),_0x2f3bcf['rowMergeTitleCountMap'][_0x569ca7(0xf6)](_0x3b9913,_0x2334ee);}),_0x13a9a2[_0x188b53(0xf2)][_0x188b53(0x15d)]((_0x4c564b,_0x5342e2)=>{const _0x5f4e4a=_0x188b53;var _0x59dd0e;const _0x27da00=(_0x59dd0e=_0x2f3bcf[_0x5f4e4a(0xf2)][_0x5f4e4a(0x13d)](_0x5342e2))!=null?_0x59dd0e:[];_0x27da00[_0x5f4e4a(0x108)](..._0x4c564b),_0x2f3bcf['columnMergeTitleCountMap'][_0x5f4e4a(0xf6)](_0x5342e2,_0x27da00);});};for(let _0x27ea2a=0x0;_0x27ea2a+0x1<_0x1de25d[_0x168d90(0x156)];_0x27ea2a++){const _0x3fba27=_0x1de25d[_0x27ea2a],_0xd4b081=_0x1de25d[_0x27ea2a+0x1];_0x3fba27[_0x168d90(0x126)](_0xd4b081)&&(_0x2d8405(_0x3fba27,_0xd4b081),_0x1de25d[_0x168d90(0xa9)](_0x27ea2a+0x1,0x1),_0x27ea2a--);}const _0x25a4e9=[];for(const _0x568106 of _0x1de25d){const _0x2e9414=_0x568106['intersectWithPreTables'](_0x21651a);if(_0x2e9414[_0x168d90(0x156)]===0x0){_0x25a4e9[_0x168d90(0x108)](_0x568106);continue;}const _0x50067c=(_0x1a2ff9=_0x568106[_0x168d90(0xf0)][_0x168d90(0x13d)](_0x2de6d8))!=null?_0x1a2ff9:[];let _0x2cbfb2=Number['MAX_SAFE_INTEGER'],_0x115baf=-0x1,_0x2da102=-0x1;for(const _0x3b81c8 of _0x50067c){const _0x5cf889=_0x3b81c8[_0x168d90(0xc5)],_0x19dba6=_0x5cf889[_0x168d90(0xf5)],_0x4cdb1c=_0x5cf889['endColumn'];_0x2cbfb2=Math[_0x168d90(0x134)](_0x2cbfb2,_0x19dba6),_0x115baf=Math[_0x168d90(0x13c)](_0x115baf,_0x4cdb1c);}_0x115baf===-0x1&&(_0x2da102=_0x115baf-_0x2cbfb2+0x1);const _0x43fba5=_0x2e9414[0x0][_0x168d90(0xc5)],_0x4e7151=_0x43fba5[_0x168d90(0x14e)]-_0x43fba5[_0x168d90(0xf5)]+0x1;if(_0x2da102>=0x0&&_0x2da102<=_0x4e7151*0x3/0x4){_0x25a4e9[_0x168d90(0x108)](_0x568106);continue;}const _0x3a65f6=_0x2e9414[0x0];for(const _0x5bc138 of _0x2e9414[_0x168d90(0x113)](0x1))_0x3a65f6['range']['startRow']=Math['min'](_0x3a65f6['range'][_0x168d90(0x157)],_0x5bc138[_0x168d90(0xc5)][_0x168d90(0x157)]),_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0xb9)]=Math['max'](_0x3a65f6[_0x168d90(0xc5)]['endRow'],_0x5bc138[_0x168d90(0xc5)][_0x168d90(0xb9)]),_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0xf5)]=Math[_0x168d90(0x134)](_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0xf5)],_0x5bc138['range']['startColumn']),_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0x14e)]=Math[_0x168d90(0x13c)](_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0x14e)],_0x5bc138[_0x168d90(0xc5)][_0x168d90(0x14e)]);_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0x157)]=Math[_0x168d90(0x134)](_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0x157)],_0x568106['range'][_0x168d90(0x157)]),_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0xb9)]=Math[_0x168d90(0x13c)](_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0xb9)],_0x568106['range']['endRow']),_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0xf5)]=Math['min'](_0x3a65f6['range'][_0x168d90(0xf5)],_0x568106['range'][_0x168d90(0xf5)]),_0x3a65f6[_0x168d90(0xc5)]['endColumn']=Math['max'](_0x3a65f6[_0x168d90(0xc5)][_0x168d90(0x14e)],_0x568106[_0x168d90(0xc5)]['endColumn']),_0x568106['rowMergeTitleCountMap']['forEach']((_0x13433b,_0x518215)=>{const _0x3e04c9=_0x168d90;var _0x4d1817;const _0x268043=(_0x4d1817=_0x3a65f6[_0x3e04c9(0xf0)][_0x3e04c9(0x13d)](_0x518215))!=null?_0x4d1817:[];_0x268043[_0x3e04c9(0x108)](..._0x13433b),_0x3a65f6[_0x3e04c9(0xf0)][_0x3e04c9(0xf6)](_0x518215,_0x268043);}),_0x568106[_0x168d90(0xf2)][_0x168d90(0x15d)]((_0x3503e6,_0x306f63)=>{const _0x214fe4=_0x168d90;var _0x29b74a;const _0x35cdad=(_0x29b74a=_0x3a65f6['columnMergeTitleCountMap'][_0x214fe4(0x13d)](_0x306f63))!=null?_0x29b74a:[];_0x35cdad['push'](..._0x3503e6),_0x3a65f6[_0x214fe4(0xf2)]['set'](_0x306f63,_0x35cdad);}),_0x3a65f6['isMatchContinue']=!0x0;}const _0x596b04=[];for(const _0x204bf5 of _0x21651a)!_0x204bf5[_0x168d90(0xfb)]&&_0x204bf5['isMatchEnd']||(_0x596b04[_0x168d90(0x108)](_0x204bf5),_0x204bf5[_0x168d90(0xfb)]=!0x1,_0x204bf5[_0x168d90(0xce)]=!0x1);_0x596b04['push'](..._0x25a4e9),_0x21651a=_0x596b04;}_0x53f168[_0x168d90(0x108)](..._0x21651a);let _0x1ab1fc=0x0;for(const _0x4d4ba5 of _0x53f168){const _0x17c189=_0x4d4ba5[_0x168d90(0xc5)][_0x168d90(0xb9)]-_0x4d4ba5[_0x168d90(0xc5)][_0x168d90(0x157)]+0x1;_0x4d4ba5[_0x168d90(0xc5)][_0x168d90(0x14e)]-_0x4d4ba5[_0x168d90(0xc5)][_0x168d90(0xf5)]+0x1>0x0&&_0x17c189>0x1&&_0x1ab1fc++;}if(_0x1ab1fc===0x0)continue;const _0x5b934d=[],_0x2b8f74=ce(0x6,_0x53f168[_0x168d90(0x156)]);let _0x23d5f9=0x0;for(const _0x40cd20 of _0x53f168){const _0x1facc7=_0x40cd20['range'][_0x168d90(0xb9)]-_0x40cd20[_0x168d90(0xc5)][_0x168d90(0x157)]+0x1,_0x1d50c2=_0x40cd20['range'][_0x168d90(0x14e)]-_0x40cd20[_0x168d90(0xc5)][_0x168d90(0xf5)]+0x1;let _0x513fef=!0x1;for(const _0xbf52fd of _0x27e75e[_0x168d90(0xe5)]())if(Ie(_0x40cd20[_0x168d90(0xc5)],_0xbf52fd)){_0x513fef=!0x0;break;}if(_0x513fef)continue;let _0x114934=!0x0;for(const _0x2e4d15 of _0x53f168)if(_0x2e4d15!==_0x40cd20&&xe(_0x40cd20,_0x2e4d15)){_0x114934=!0x1;break;}_0x114934&&(_0x1d50c2<=0x0||_0x1facc7<=0x1||(_0x40cd20['id']=_0x2b8f74[_0x23d5f9++],_0x5b934d['push'](_0x40cd20)));}_0x12ed11[_0x4157eb]=_0x5b934d;}return _0x12ed11;}function be(_0x55c55c,_0x2d5bf5,_0x597cc5){const _0x40181e=ve(_0x55c55c,_0x2d5bf5);$e(_0x40181e,_0x55c55c,_0x2d5bf5);const _0x4846f2=Pe(_0x40181e,_0x55c55c);return De(_0x4846f2,_0x55c55c,_0x2d5bf5,_0x597cc5);}function _0x114f(){const _0x4ef192=['onStarting','BOOLEAN','20060102','getSheetId','247285fSaKUy','floor','153AKPGxh','defineProperty','saveTableToCache','intersectWithColumns','linkType','01/02/2006','keys','insert','Description','Match','_config','name','toJSON','18YPkboN','date','skip\x20small\x20table,\x20idx:','columnId','min','intersectWithPreTables','customRanges','value','Confidence','getUnitId','isCoded','2006/01/02','max','get','Name','dispose','getTablesBySubunitId','Disposable','Jan.\x202,\x202006',',\x20rangeName:','invalid','toLowerCase','valid','RTree','isTimeSeries','January\x202,\x202006','dateStyles','TableManager','body','None','endColumn','setConfig','mergeRowTitleCount','links','map','url','unknown','Calc','length','startRow','25010FYvhuN','getDate','2006-01-02T15:04:05','bulkSearch','Type','forEach','434831qDsnDN','isTitleRepeat','mergeRangeMap','isUpdateTable','splice','2\x20January,2006','getName','January\x202,2006','Plugin','registerDependencies','6329776ESxOPf','isMeasure','columns','columnMergeTitleState','_injector','transform','isLink','startIndex','onReady','_isRowContinuous','endRow','trim','getRowCount','from','join','clear','02.01.2006','isUnique','insertCellData','column_','2\x20January,\x202006','toStringTag','range','51338VmTNsv','properties','getSheetBySheetId','symbol','Sample','rowMergeTitleState','02/01/2006','entries','isMatchEnd','next','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','494841vJxgrG','01-02-2006','string','Layout','pattern','isArray','UniverRangePreprocessPlugin','number','stringify','getStyles','NUMBER','split','startStatisticRowCount','_configService','timeStampStyles','needConvert','warn','has','16178085cajqzm','sort','getMergeData','layout','generateRandomId','dataStream','mergeRTree','8cURcxa','recognizers','getCell','2006-01-02\x2015:04:05','each','displayName','rowMergeTitleCountMap','data','columnMergeTitleCountMap','trunc','endStatisticRowCount','startColumn','set','2006/1/2','sheetId','CellValueType','getPlainText','isMatchContinue','2006年1月2日','Module','excel','none','Injector','getFullYear','getOwnPropertyDescriptor','getSheets','getColumnCount','rowTitleCount','size','meta','push','sample','confidence','test','merge','02-01-2006','endIndex','getTableList','RangePreprocessController','add','getMonth','slice','2006-01-02','replace','4XrLZnq','isTestTable','description','Best','All','isOpinionText','isBigText'];_0x114f=function(){return _0x4ef192;};return _0x114f();}function Ie(_0x68ef4e,_0x279ded){const _0x5f5356=_0x1f2917;return _0x68ef4e[_0x5f5356(0x157)]===_0x279ded['startRow']&&_0x68ef4e['endRow']===_0x279ded['endRow']&&_0x68ef4e[_0x5f5356(0xf5)]===_0x279ded[_0x5f5356(0xf5)]&&_0x68ef4e[_0x5f5356(0x14e)]===_0x279ded[_0x5f5356(0x14e)];}function xe(_0x9412b5,_0x2c8c9e){const _0x1abd7c=_0x1f2917;return _0x9412b5[_0x1abd7c(0xc5)]['startRow']>=_0x2c8c9e[_0x1abd7c(0xc5)][_0x1abd7c(0x157)]&&_0x9412b5[_0x1abd7c(0xc5)]['endRow']<=_0x2c8c9e['range']['endRow']&&_0x9412b5[_0x1abd7c(0xc5)][_0x1abd7c(0xf5)]>=_0x2c8c9e[_0x1abd7c(0xc5)][_0x1abd7c(0xf5)]&&_0x9412b5[_0x1abd7c(0xc5)]['endColumn']<=_0x2c8c9e[_0x1abd7c(0xc5)][_0x1abd7c(0x14e)];}function Ne(_0x44087c){const _0x45fc0b=_0x1f2917;return''+ne(_0x44087c[_0x45fc0b(0xf5)])+(_0x44087c[_0x45fc0b(0x157)]+0x1)+':'+ne(_0x44087c[_0x45fc0b(0x14e)])+(_0x44087c[_0x45fc0b(0xb9)]+0x1);}function te(_0x27f4b4){const _0x41f6d0=_0x1f2917;var _0x44ffdf;if(_0x27f4b4!==null){if(_0x27f4b4!=null&&_0x27f4b4['p']){const _0x1c6420=_0x27f4b4==null?void 0x0:_0x27f4b4['p'][_0x41f6d0(0x14c)];if(_0x1c6420==null)return;const _0x48fcef=_0x1c6420[_0x41f6d0(0xe8)],_0x1a94a5=$['BuildTextUtils'][_0x41f6d0(0xb4)][_0x41f6d0(0xfa)](_0x48fcef),_0x4b7500=_0x1c6420[_0x41f6d0(0x136)];if(_0x4b7500&&_0x4b7500[_0x41f6d0(0x156)]>0x0){const _0x1df617=_0x4b7500[0x0],_0x5b3841=(_0x44ffdf=_0x1df617[_0x41f6d0(0xc7)])==null?void 0x0:_0x44ffdf[_0x41f6d0(0x153)];if(!_0x5b3841)return _0x1a94a5;const _0x34c877=typeof _0x1df617['startIndex']==_0x41f6d0(0xd8)?_0x1df617[_0x41f6d0(0xb6)]:0x0;let _0x211e95=typeof _0x1df617[_0x41f6d0(0x10e)]=='number'?_0x1df617[_0x41f6d0(0x10e)]+0x1:_0x34c877+0x1;return _0x34c877===0x0&&_0x211e95===0x0?_0x211e95=0x1:_0x211e95<=_0x34c877&&(_0x211e95=_0x34c877+0x1),'['+_0x48fcef[_0x41f6d0(0x113)](_0x34c877,_0x211e95)+']('+_0x5b3841+')';}return _0x1a94a5;}if((_0x27f4b4==null?void 0x0:_0x27f4b4['v'])!=null)return _0x27f4b4['v'];}}function G(_0x4b38f7){const _0x329697=te(_0x4b38f7);if(_0x329697!=null)return String(_0x329697);}function Ee(_0x50ede3,_0x3934e2,_0x21dd47){const _0x28df19=_0x1f2917,_0x331d46=_0x21dd47['getCell'](_0x50ede3,_0x3934e2);if(_0x331d46!=null){const _0x302748=G(_0x331d46);if(_0x302748!=null&&_0x302748[_0x28df19(0x156)]>0x0)return _0x302748;}const _0x322b63=W[_0x28df19(0x13d)](_0x21dd47),_0xb55b59=_0x322b63==null?void 0x0:_0x322b63['mergeRTree'],_0x14032f=_0x322b63==null?void 0x0:_0x322b63['mergeRangeMap'],_0x4c4e53=_0x21dd47[_0x28df19(0x139)](),_0x2bf14d=_0x21dd47[_0x28df19(0x120)](),_0x1d143d={'range':{'startRow':_0x50ede3,'endRow':_0x50ede3,'startColumn':_0x3934e2,'endColumn':_0x3934e2},'unitId':_0x4c4e53,'sheetId':_0x2bf14d},_0x4f3ce6=(_0xb55b59==null?void 0x0:_0xb55b59['bulkSearch']([_0x1d143d]))||new Map();if(_0x4f3ce6[_0x28df19(0x106)]===0x0||!_0x14032f)return null;const _0x2923c2=_0x4f3ce6['keys']()[_0x28df19(0xcf)]()[_0x28df19(0x137)],_0x55e508=_0x14032f[_0x28df19(0x13d)](_0x2923c2);if(!_0x55e508)return null;const _0x73f79c=_0x21dd47[_0x28df19(0xec)](_0x55e508[_0x28df19(0xc5)][_0x28df19(0x157)],_0x55e508[_0x28df19(0xc5)][_0x28df19(0xf5)]);return _0x73f79c==null?null:G(_0x73f79c);}function $e(_0x3f8965,_0x2e967c,_0x4dd078){const _0x2bc763=_0x1f2917,_0x16b723=_0x2e967c['getSheets'](),_0x2c97c6=_0x4dd078[_0x2bc763(0x13d)](H[_0x2bc763(0x14b)]),_0x2b02bf=_0x2e967c['getUnitId']();for(const _0x2988ef of _0x16b723){const _0x3801b1=_0x2988ef[_0x2bc763(0x120)](),_0x3909c0=_0x2c97c6[_0x2bc763(0x140)](_0x2b02bf,_0x3801b1);if(!_0x3909c0)continue;const _0x466ac1=_0x3909c0['map'](_0x1ba5d8=>_0x1ba5d8[_0x2bc763(0x12f)]());for(const _0x91a2ee of _0x466ac1){const {startRow:_0x42a50f,endRow:_0x5e5458,startColumn:_0x4aa848,endColumn:_0x7f7d98}=_0x91a2ee[_0x2bc763(0xc5)],_0x1dea45=new K({'id':_0x91a2ee['id'],'sheetId':_0x3801b1,'range':{'startRow':_0x42a50f,'endRow':_0x5e5458,'startColumn':_0x4aa848,'endColumn':_0x7f7d98},'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':[]});_0x3f8965[_0x3801b1]||(_0x3f8965[_0x3801b1]=[]),_0x3f8965[_0x3801b1][_0x2bc763(0x108)](_0x1dea45);}}}function Pe(_0x850442,_0x20a69c){const _0x5ad027=_0x1f2917;var _0x2b9ef8,_0x5643c1;for(const [_0x4f7f44,_0x13a1ee]of Object['entries'](_0x850442)){const _0x580590=_0x13a1ee;let _0x5a9742=!0x1;const _0x2c25ca=_0x20a69c[_0x5ad027(0xc8)](_0x4f7f44);if(_0x2c25ca){for(let _0xd0fc7b=0x0;_0xd0fc7b<_0x580590[_0x5ad027(0x156)];_0xd0fc7b++){const _0x40a0e4=_0x580590[_0xd0fc7b],_0x5b43c4=_0x40a0e4[_0x5ad027(0xc5)],{startRow:_0x34bd3f,endRow:_0x81d055,startColumn:_0x35b9f2,endColumn:_0x2fa9c9}=_0x5b43c4,_0x9b749=Ue(_0x40a0e4,_0x2c25ca,_0x20a69c),_0x5e1618=_e(_0x34bd3f,_0x81d055,_0x40a0e4);let _0x3bc9b4=0x1;const _0x47c2fc=_0x34bd3f+_0x5e1618;let _0x442e05=0x0,_0x76947=0x0;for(let _0x5ae703=_0x35b9f2;_0x5ae703<=_0x2fa9c9;_0x5ae703++){const _0x4e4db2=_0x2c25ca[_0x5ad027(0xec)](_0x47c2fc,_0x5ae703);if(!_0x4e4db2)continue;const _0x83b9e7=G(_0x4e4db2);_0x83b9e7!=null&&(_0x83b9e7!==''&&_0x76947++,ae(_0x83b9e7)&&_0x442e05++);}if(_0x76947>0x0&&_0x442e05/Math['max'](_0x76947,0x1)>0.03&&(_0x3bc9b4=0x0),_0x40a0e4['mergeRowTitleCount']=_0x5e1618,_0x40a0e4[_0x5ad027(0x105)]=_0x3bc9b4+_0x5e1618,_0x40a0e4[_0x5ad027(0xc5)][_0x5ad027(0xb9)]-_0x40a0e4['range'][_0x5ad027(0x157)]+0x1-_0x40a0e4[_0x5ad027(0x105)]<=0x1){console[_0x5ad027(0xe1)](_0x5ad027(0x132)+_0xd0fc7b+_0x5ad027(0x143)+Ne(_0x40a0e4[_0x5ad027(0xc5)])),_0x580590[_0x5ad027(0xa9)](_0xd0fc7b,0x1),_0xd0fc7b--,_0x5a9742=!0x0;continue;}const _0x346cc7=new Map();let _0x27c3f7=0x0;const _0x38ea50=ce(0x4,_0x2fa9c9-_0x35b9f2+0x1);for(let _0x14dad7=_0x35b9f2;_0x14dad7<=_0x2fa9c9;_0x14dad7++){let _0xeb51e0='';const _0x14e6f9=new Set();let _0x1d59d1=!0x1;const _0x2c1c11=_0x34bd3f+_0x40a0e4[_0x5ad027(0x105)]-0x1;let _0x538612=_0x34bd3f;_0x9b749!==''&&(_0x538612=_0x34bd3f+0x1);for(let _0x3a708a=_0x538612;_0x3a708a<=_0x2c1c11;_0x3a708a++){const _0x501438=Ee(_0x3a708a,_0x14dad7,_0x2c25ca);_0x501438!=null&&(_0x3a708a===_0x2c1c11&&(_0xeb51e0=_0x501438),_0x14e6f9[_0x5ad027(0x111)](_0x501438));}const _0x20bf25=[..._0x14e6f9][_0x5ad027(0xbd)](','),_0x43750c=_0x20bf25;_0x346cc7['has'](_0x43750c)?_0x1d59d1=!0x0:_0x346cc7[_0x5ad027(0xf6)](_0x43750c,!0x0);const _0x5f71f4=_0x2c1c11+0x1;let _0x2e3390=_0x2c1c11+0x14,_0x4d5bd6=0x0,_0x2cb41f=!0x1,_0x2dc3c0=!0x1;if(_0x2e3390>_0x81d055&&(_0x2e3390=_0x81d055),_0x5f71f4<_0x81d055){let _0x1aa366='';for(let _0x3f2e5e=_0x5f71f4;_0x3f2e5e<=_0x2e3390;_0x3f2e5e++){const _0x4ec9ff=_0x2c25ca[_0x5ad027(0xec)](_0x3f2e5e,_0x14dad7);if(!_0x4ec9ff)continue;const _0x24a3a7=G(_0x4ec9ff);_0x24a3a7!=null&&(ae(_0x24a3a7)||(_0x1aa366+=_0x24a3a7),Je(_0x24a3a7)&&_0x4d5bd6++);}_0x4d5bd6>Math[_0x5ad027(0x122)]((_0x2e3390-_0x5f71f4+0x1)/0x2)&&(_0x2dc3c0=!0x0),Be(_0x1aa366)/Math[_0x5ad027(0x13c)](_0x2e3390-_0x5f71f4+0x1,0x1)>0xf&&!_0x2dc3c0&&(_0x2cb41f=!0x0);}_0x40a0e4[_0x5ad027(0xb1)][_0x5ad027(0x108)]({'id':_0x38ea50[_0x27c3f7++],'Name':_0xeb51e0,'Type':'','Description':_0x20bf25,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x2cb41f,'isLink':_0x2dc3c0,'isTitleRepeat':_0x1d59d1,'isUnique':!0x1,'links':[]});}Ae(_0x40a0e4,_0x20a69c);}_0x5a9742&&(_0x850442[_0x4f7f44]=_0x580590),_0x580590['length']===0x0&&delete _0x850442[_0x4f7f44],(_0x5643c1=(_0x2b9ef8=_0x850442[_0x4f7f44])==null?void 0x0:_0x2b9ef8[_0x5ad027(0x156)])!=null;}}return _0x850442;}function _e(_0x10e901,_0x5546c0,_0x420d1e){const _0xa546c=_0x1f2917;var _0x53aa47;function _0x2836ba(_0x505cd2){const _0xfe1e48=_0x21a4;if(_0x505cd2[_0xfe1e48(0x156)]===0x0)return 0x0;_0x505cd2[_0xfe1e48(0xe4)]((_0xb0622e,_0x2f3a98)=>_0xb0622e[0x0]-_0x2f3a98[0x0]);let _0xef196=0x0,_0x3532f4=_0x505cd2[0x0][0x0],_0x14dc9a=_0x505cd2[0x0][0x1];for(let _0x323e8d=0x1;_0x323e8d<_0x505cd2[_0xfe1e48(0x156)];_0x323e8d++){const [_0x3d8a28,_0x15d780]=_0x505cd2[_0x323e8d];_0x3d8a28<=_0x14dc9a+0x1?_0x14dc9a=Math['max'](_0x14dc9a,_0x15d780):(_0xef196+=_0x14dc9a-_0x3532f4+0x1,_0x3532f4=_0x3d8a28,_0x14dc9a=_0x15d780);}return _0xef196+=_0x14dc9a-_0x3532f4+0x1,_0xef196;}const _0x36d292=_0x420d1e['range'][_0xa546c(0xf5)],_0x5581c3=_0x420d1e['range'][_0xa546c(0x14e)],_0x32a7fa=_0x5581c3-_0x36d292+0x1;let _0x280f5b=_0x10e901-0x1,_0x5b5b61=_0x10e901-0x1,_0x14effb=!0x1;const _0x16d2f0=0x64;for(let _0x157356=_0x10e901;_0x157356<=_0x5546c0&&_0x157356-_0x10e901<_0x16d2f0;_0x157356++){const _0x282c0c=[],_0x20b4e5=(_0x53aa47=_0x420d1e['rowMergeTitleCountMap']['get'](_0x157356))!=null?_0x53aa47:[];for(const _0x50c71f of _0x20b4e5){const _0x496ebb=_0x50c71f[_0xa546c(0xc5)][_0xa546c(0xf5)],_0x5b9959=_0x50c71f[_0xa546c(0xc5)][_0xa546c(0x14e)],_0x5cf2af=Math['max'](_0x496ebb,_0x36d292),_0x2cb47c=Math['min'](_0x5b9959,_0x5581c3);_0x5cf2af<=_0x2cb47c&&_0x282c0c[_0xa546c(0x108)]([_0x5cf2af,_0x2cb47c]);}_0x420d1e[_0xa546c(0xf2)][_0xa546c(0x15d)](_0x19734f=>{const _0x26436e=_0xa546c;for(const _0x50f5a5 of _0x19734f){const _0x425606=_0x50f5a5['range']['startRow'],_0x12bfe6=_0x50f5a5[_0x26436e(0xc5)][_0x26436e(0xb9)];if(_0x425606<=_0x157356&&_0x157356<=_0x12bfe6){const _0x5a3e50=_0x50f5a5[_0x26436e(0xc5)][_0x26436e(0xf5)],_0x4086dc=_0x50f5a5[_0x26436e(0xc5)]['endColumn'],_0x1a61b5=Math[_0x26436e(0x13c)](_0x5a3e50,_0x36d292),_0x2a44ed=Math[_0x26436e(0x134)](_0x4086dc,_0x5581c3);_0x1a61b5<=_0x2a44ed&&_0x282c0c[_0x26436e(0x108)]([_0x1a61b5,_0x2a44ed]);}}});const _0x3c646b=_0x2836ba(_0x282c0c),_0x16dcd5=_0x3c646b/Math['max'](_0x32a7fa,0x1);_0x282c0c[_0xa546c(0x156)]>0x0&&(_0x280f5b=_0x157356),_0x3c646b>0x0&&_0x16dcd5>=0.75&&!_0x14effb?_0x5b5b61=_0x157356:_0x282c0c['length']>0x0&&(_0x14effb=!0x0);}return _0x280f5b===_0x5546c0||_0x280f5b-_0x10e901===_0x16d2f0?_0x5b5b61-_0x10e901+0x1:_0x280f5b-_0x10e901+0x1;}function Ue(_0x783e5,_0x26a5f3,_0x123f16){const _0x3ffefe=_0x1f2917;if(_0x783e5['description']+=_0x26a5f3[_0x3ffefe(0xab)]()+',\x20'+_0x123f16['name'],_0x783e5[_0x3ffefe(0x12e)]&&_0x783e5[_0x3ffefe(0x12e)]!=='')return _0x783e5[_0x3ffefe(0x12e)];const _0x3e8c6d=_0x783e5['range'][_0x3ffefe(0x157)],_0x22c24d=_0x783e5[_0x3ffefe(0xc5)][_0x3ffefe(0xf5)],_0x33bdfb=_0x783e5[_0x3ffefe(0xc5)][_0x3ffefe(0x14e)],_0x3786a5=0x3,_0x120c2f=_0x783e5[_0x3ffefe(0xf0)][_0x3ffefe(0x13d)](_0x3e8c6d);if(_0x120c2f&&_0x120c2f['length']>0x0)for(const _0x4a0b98 of _0x120c2f){const _0x5b0f30=_0x4a0b98[_0x3ffefe(0xc5)],_0x27d7e3=_0x5b0f30[_0x3ffefe(0xf5)],_0x2183ad=_0x5b0f30[_0x3ffefe(0x14e)];if(_0x27d7e3<=_0x22c24d+_0x3786a5&&_0x2183ad>=_0x33bdfb-_0x3786a5){const _0x49449a=_0x26a5f3[_0x3ffefe(0xec)](_0x3e8c6d,_0x27d7e3);if(!_0x49449a)return'';const _0x1b69c9=G(_0x49449a);return _0x1b69c9==null||_0x1b69c9===''?'':(_0x783e5[_0x3ffefe(0x12e)]=_0x1b69c9,_0x1b69c9);}}return'';}function Ae(_0x1ccd0a,_0xbeb4bf){const _0x509846=_0x1f2917,_0xdb03b9={};_0xbeb4bf[_0x509846(0xda)]()[_0x509846(0xee)](_0x493f80=>{const _0x5e845f=_0x509846,[_0x269f9f,_0x942a05]=_0x493f80;return!_0x269f9f||!_0x942a05||_0x942a05['n']&&typeof _0x942a05['n'][_0x5e845f(0xd5)]=='string'&&/[YyMDd]/[_0x5e845f(0x10b)](_0x942a05['n']['pattern'])&&(_0xdb03b9[_0x269f9f]=!0x0),!0x0;});const _0x1a4550=_0x1ccd0a['range'][_0x509846(0x157)],_0x56278c=_0x1ccd0a[_0x509846(0xc5)][_0x509846(0xb9)],_0x363943=_0x1ccd0a['rowTitleCount'],_0x124a81=_0x1ccd0a[_0x509846(0xf8)],_0xfd2256=_0xbeb4bf[_0x509846(0xc8)](_0x124a81);if(!_0xfd2256)return;const _0x23b63d=_0x56278c-_0x1a4550+0x1-_0x363943;if(_0x23b63d<=0x1){console['warn']('skip\x20small\x20table');return;}const _0x1067cb=[];for(let _0x570ce0=0x0;_0x570ce0<_0x1ccd0a['range']['endColumn']-_0x1ccd0a[_0x509846(0xc5)]['startColumn']+0x1;_0x570ce0++)_0x1067cb['push'](new Te(_0xdb03b9));const _0x4c8585=Math['log10'](Math[_0x509846(0x13c)](_0x23b63d,0x1));for(let _0x10be16=0x0;;_0x10be16++){const _0x528119=_0x10be16,_0x147360=Math['floor'](_0x528119+0.00001*_0x528119**2.7*_0x4c8585*_0x4c8585)+_0x1a4550+_0x363943;if(_0x147360>_0x56278c)break;for(let _0x1d0ed4=_0x1ccd0a[_0x509846(0xc5)]['startColumn'];_0x1d0ed4<=_0x1ccd0a[_0x509846(0xc5)][_0x509846(0x14e)];_0x1d0ed4++){const _0x5787c8=_0xfd2256[_0x509846(0xec)](_0x147360,_0x1d0ed4);_0x5787c8&&_0x1067cb[_0x1d0ed4-_0x1ccd0a[_0x509846(0xc5)][_0x509846(0xf5)]]['Match'](_0x5787c8);}}for(let _0x58b09a=0x0;_0x58b09a<_0x1ccd0a[_0x509846(0xb1)]['length'];_0x58b09a++){const [_0x2ed292,_0x5f1d12]=_0x1067cb[_0x58b09a][_0x509846(0x119)]();_0x1ccd0a[_0x509846(0xb1)][_0x58b09a][_0x509846(0x15c)]=_0x2ed292;}}function fe(_0x1798ae){const _0x4666b0=_0x1f2917,_0x2fac6d=[];for(const _0x17f4ce of _0x1798ae[_0x4666b0(0x151)])_0x2fac6d[_0x4666b0(0x108)]({'tableId':_0x17f4ce['tableId'],'columnId':_0x17f4ce[_0x4666b0(0x133)],'linkType':_0x17f4ce[_0x4666b0(0x127)]});return _0x2fac6d;}function Oe(_0x286149){const _0x51a07a=_0x1f2917;return _0x286149[_0x51a07a(0x105)]===0x1;}function Le(_0x34d4d0,_0x1aa120,_0x3b4226,_0x5a03dd,_0x40019c){const _0x202f19=_0x1f2917,_0x4cfc4f=_0x5a03dd[_0x202f19(0x13d)](H['TableManager']),_0xae4d44=_0x1aa120['getUnitId'](),_0x38f74c=_0x34d4d0['sheetId'];if(_0x4cfc4f[_0x202f19(0x140)](_0xae4d44,_0x38f74c)){for(const _0x8dfd55 of _0x3b4226)if(_0x8dfd55['id']===_0x34d4d0['id']){_0x8dfd55['name']=_0x34d4d0[_0x202f19(0x12e)],_0x8dfd55[_0x202f19(0x107)]={},_0x8dfd55[_0x202f19(0x107)][_0x202f19(0x118)]=_0x34d4d0[_0x202f19(0x118)],_0x8dfd55[_0x202f19(0x107)][_0x202f19(0x105)]=_0x34d4d0['rowTitleCount'],_0x8dfd55[_0x202f19(0x107)][_0x202f19(0x150)]=_0x34d4d0[_0x202f19(0x150)],_0x8dfd55[_0x202f19(0x107)][_0x202f19(0x148)]=_0x34d4d0['isTimeSeries'];for(let _0xd83a5b=0x0;_0xd83a5b<_0x34d4d0[_0x202f19(0xb1)][_0x202f19(0x156)];_0xd83a5b++){const _0x5535e2=_0x34d4d0[_0x202f19(0xb1)][_0xd83a5b],_0x41c008=_0x8dfd55[_0x202f19(0xb1)][_0xd83a5b];_0x41c008[_0x202f19(0xef)]=_0x5535e2[_0x202f19(0x13e)],_0x41c008['dataType']=_0x5535e2['Type'],_0x41c008['meta']={},_0x41c008[_0x202f19(0x107)][_0x202f19(0x118)]=_0x5535e2[_0x202f19(0x12b)],_0x41c008[_0x202f19(0x107)][_0x202f19(0x13a)]=_0x5535e2['isCoded'],_0x41c008[_0x202f19(0x107)][_0x202f19(0xb0)]=_0x5535e2[_0x202f19(0xb0)],_0x41c008[_0x202f19(0x107)][_0x202f19(0x11b)]=_0x5535e2[_0x202f19(0x11b)],_0x41c008[_0x202f19(0x107)][_0x202f19(0x11c)]=_0x5535e2[_0x202f19(0x11c)],_0x41c008['meta']['isLink']=_0x5535e2[_0x202f19(0xb5)],_0x41c008[_0x202f19(0x107)]['isTitleRepeat']=_0x5535e2[_0x202f19(0x15f)],_0x41c008[_0x202f19(0x107)][_0x202f19(0xc0)]=_0x5535e2['isUnique'],_0x41c008['meta'][_0x202f19(0x151)]=fe(_0x5535e2);}me(_0x8dfd55,_0x38f74c,_0x1aa120,_0x40019c);}W[_0x202f19(0xbe)]();}}function De(_0x371906,_0x37dcee,_0x3ecdf7,_0x730e7e){const _0x2860e1=_0x1f2917,_0x34272d=_0x3ecdf7[_0x2860e1(0x13d)](H[_0x2860e1(0x14b)]),_0x1de4e8=_0x37dcee[_0x2860e1(0x139)](),_0x3c7368={};for(const [_0x35db9e,_0x1e67c6]of Object[_0x2860e1(0xcd)](_0x371906)){const _0x249ab3=_0x34272d[_0x2860e1(0x140)](_0x1de4e8,_0x35db9e),_0x9cad8f=(_0x249ab3==null?void 0x0:_0x249ab3[_0x2860e1(0x152)](_0x5137b1=>_0x5137b1[_0x2860e1(0x12f)]()))||[];for(const _0x2709e4 of _0x1e67c6){if(_0x2709e4[_0x2860e1(0x161)]){Le(_0x2709e4,_0x37dcee,_0x9cad8f,_0x3ecdf7,_0x730e7e);continue;}const _0x5ea0b3={'id':_0x2709e4['id'],'range':{'startRow':_0x2709e4['range'][_0x2860e1(0x157)]+_0x2709e4[_0x2860e1(0x150)],'endRow':_0x2709e4[_0x2860e1(0xc5)][_0x2860e1(0xb9)],'startColumn':_0x2709e4[_0x2860e1(0xc5)]['startColumn'],'endColumn':_0x2709e4['range']['endColumn']},'name':_0x2709e4[_0x2860e1(0x12e)],'meta':{},'options':{'showHeader':Oe(_0x2709e4),'showFooter':!0x1},'columns':[],'filters':{}};_0x5ea0b3['meta'][_0x2860e1(0x118)]=_0x2709e4[_0x2860e1(0x118)],_0x5ea0b3[_0x2860e1(0x107)]['rowTitleCount']=_0x2709e4[_0x2860e1(0x105)],_0x5ea0b3['meta'][_0x2860e1(0x150)]=_0x2709e4[_0x2860e1(0x150)],_0x5ea0b3[_0x2860e1(0x107)]['isTimeSeries']=_0x2709e4[_0x2860e1(0x148)];const _0x2bffbb=_0x2709e4[_0x2860e1(0xc5)][_0x2860e1(0xf5)];for(let _0x17e846=0x0;_0x17e846<_0x2709e4['columns'][_0x2860e1(0x156)];_0x17e846++){const _0x502d3c=_0x2709e4[_0x2860e1(0xb1)][_0x17e846],_0x26f86b={'id':_0x502d3c['id'],'displayName':_0x502d3c['Name']||_0x2860e1(0xc2)+ne(_0x2bffbb+_0x17e846),'dataType':_0x502d3c['Type'],'meta':{},'formula':'','style':{}};_0x26f86b[_0x2860e1(0x107)]['description']=_0x502d3c[_0x2860e1(0x12b)],_0x26f86b[_0x2860e1(0x107)][_0x2860e1(0x13a)]=_0x502d3c[_0x2860e1(0x13a)],_0x26f86b['meta']['isMeasure']=_0x502d3c[_0x2860e1(0xb0)],_0x26f86b[_0x2860e1(0x107)]['isOpinionText']=_0x502d3c['isOpinionText'],_0x26f86b[_0x2860e1(0x107)][_0x2860e1(0x11c)]=_0x502d3c['isBigText'],_0x26f86b[_0x2860e1(0x107)]['isLink']=_0x502d3c[_0x2860e1(0xb5)],_0x26f86b[_0x2860e1(0x107)]['isTitleRepeat']=_0x502d3c['isTitleRepeat'],_0x26f86b[_0x2860e1(0x107)][_0x2860e1(0xc0)]=_0x502d3c['isUnique'],_0x26f86b['meta'][_0x2860e1(0x151)]=fe(_0x502d3c),_0x5ea0b3[_0x2860e1(0xb1)][_0x2860e1(0x108)](_0x26f86b);}me(_0x5ea0b3,_0x35db9e,_0x37dcee,_0x730e7e),_0x9cad8f[_0x2860e1(0x108)](_0x5ea0b3);}_0x3c7368[_0x35db9e]=_0x9cad8f;}for(const _0x5a050d of Object[_0x2860e1(0x129)](_0x371906))_0x371906[_0x5a050d][_0x2860e1(0x15d)](_0x1d507c=>{const _0x4b9c1d=_0x2860e1;_0x1d507c[_0x4b9c1d(0x13f)]();});return _0x3c7368;}function ie(_0x4a9c10,_0x24b6a1,_0x25a61c=0x5){const _0x34c5cd=_0x1f2917;if(!Array[_0x34c5cd(0xd6)](_0x4a9c10)||_0x4a9c10[_0x34c5cd(0x156)]===0x0)return[];const _0x51fe07=Math[_0x34c5cd(0x134)](_0x24b6a1,_0x4a9c10[_0x34c5cd(0x156)]),_0x780a76=Math[_0x34c5cd(0x134)](_0x51fe07+_0x25a61c,_0x4a9c10[_0x34c5cd(0x156)]);return _0x4a9c10['slice'](_0x51fe07,_0x780a76);}function me(_0x4f31c7,_0x249371,_0x48a36c,_0x2c15b5){const _0x196277=_0x1f2917,_0x1c3a74=_0x48a36c[_0x196277(0xc8)](_0x249371);if(!_0x1c3a74)return;const _0x491214=_0x4f31c7[_0x196277(0xc5)],_0x4a9db1=ke(_0x1c3a74,_0x491214);_0x2c15b5===ee[_0x196277(0xca)]?_0x4f31c7[_0x196277(0xf1)]=JSON[_0x196277(0xd9)](ie(_0x4a9db1,0x1,0x5)):_0x2c15b5===ee[_0x196277(0x11a)]&&(_0x4f31c7['data']=JSON[_0x196277(0xd9)](ie(_0x4a9db1,0x1,_0x4a9db1[_0x196277(0x156)])));}function _0x21a4(_0x453080,_0x1cd335){_0x453080=_0x453080-0xa9;const _0x114fc0=_0x114f();let _0x21a468=_0x114fc0[_0x453080];return _0x21a468;}function ke(_0x35dbe5,_0x52c363){const _0x20da99=_0x1f2917,{startRow:_0x27c3f9,endRow:_0x2d8867,startColumn:_0x563154,endColumn:_0x436229}=_0x52c363,_0xd7c1e3=[],_0x4923fb=W[_0x20da99(0x13d)](_0x35dbe5),_0x4deb9d=_0x4923fb==null?void 0x0:_0x4923fb[_0x20da99(0xe9)],_0x3ef8b2=_0x4923fb==null?void 0x0:_0x4923fb[_0x20da99(0x160)],_0x518114=_0x35dbe5['getUnitId'](),_0x33d8b4=_0x35dbe5[_0x20da99(0x120)]();for(let _0x543121=_0x27c3f9;_0x543121<=_0x2d8867;_0x543121++){const _0x319dc1=[];for(let _0xb7340b=_0x563154;_0xb7340b<=_0x436229;_0xb7340b++){const _0x4c25b6=_0x35dbe5[_0x20da99(0xec)](_0x543121,_0xb7340b);let _0x2a73f4=_0x4c25b6?te(_0x4c25b6):void 0x0;if(_0x2a73f4==null||_0x2a73f4===''){const _0x16d0cf={'range':{'startRow':_0x543121,'endRow':_0x543121,'startColumn':_0xb7340b,'endColumn':_0xb7340b},'unitId':_0x518114,'sheetId':_0x33d8b4},_0x50591f=(_0x4deb9d==null?void 0x0:_0x4deb9d['bulkSearch']([_0x16d0cf]))||new Map();if(_0x50591f[_0x20da99(0x106)]>0x0&&_0x3ef8b2){const _0x162e99=_0x50591f[_0x20da99(0x129)]()[_0x20da99(0xcf)]()[_0x20da99(0x137)],_0x8511e7=_0x3ef8b2[_0x20da99(0x13d)](_0x162e99);if(!_0x8511e7)continue;const _0x282efa=_0x35dbe5[_0x20da99(0xec)](_0x8511e7['range'][_0x20da99(0x157)],_0x8511e7[_0x20da99(0xc5)][_0x20da99(0xf5)]);_0x282efa&&(_0x2a73f4=te(_0x282efa));}}_0x319dc1['push'](_0x2a73f4!=null?_0x2a73f4:'');}_0xd7c1e3[_0x20da99(0x108)](_0x319dc1);}return _0xd7c1e3;}function Je(_0x57b009){const _0x465d30=_0x1f2917;return/https?:\/\/|www\./i[_0x465d30(0x10b)](_0x57b009);}function Be(_0x1b6d9a){const _0x14c754=_0x1f2917;return Array[_0x14c754(0xbc)](_0x1b6d9a)[_0x14c754(0x156)];}function ae(_0x1c0e48){const _0x5d3b8d=_0x1f2917;return _0x1c0e48?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x5d3b8d(0x10b)](_0x1c0e48[_0x5d3b8d(0xba)]()):!0x1;}function ne(_0x44ee24){const _0x1bc9f5=_0x1f2917;let _0xf93c1d='',_0x1eeffa=_0x44ee24+0x1;for(;_0x1eeffa>0x0;){const _0x1963b8=(_0x1eeffa-0x1)%0x1a;_0xf93c1d=String['fromCharCode'](0x41+_0x1963b8)+_0xf93c1d,_0x1eeffa=Math[_0x1bc9f5(0x122)]((_0x1eeffa-0x1)/0x1a);}return _0xf93c1d;}var Ve=Object[_0x1f2917(0x102)],ze=(_0x576347,_0x5bf947,_0x3ba7e0,_0xb2b9f2)=>{const _0x35c92c=_0x1f2917;for(var _0x522964=_0xb2b9f2>0x1?void 0x0:_0xb2b9f2?Ve(_0x5bf947,_0x3ba7e0):_0x5bf947,_0x46e56f=_0x576347[_0x35c92c(0x156)]-0x1,_0x35e88e;_0x46e56f>=0x0;_0x46e56f--)(_0x35e88e=_0x576347[_0x46e56f])&&(_0x522964=_0x35e88e(_0x522964)||_0x522964);return _0x522964;},je=(_0x56a125,_0x2a7945)=>(_0x533e75,_0x1361ff)=>_0x2a7945(_0x533e75,_0x1361ff,_0x56a125);exports[_0x1f2917(0x110)]=class extends $[_0x1f2917(0x141)]{constructor(_0x1c578){const _0x6c5783=_0x1f2917;super(),this[_0x6c5783(0xb3)]=_0x1c578;}['getAllTableJson'](_0x2aa5f9,_0x14a16e){const _0x30528a=_0x1f2917;return be(_0x2aa5f9,this[_0x30528a(0xb3)],_0x14a16e);}},exports[_0x1f2917(0x110)]=ze([je(0x0,$['Inject']($[_0x1f2917(0x100)]))],exports['RangePreprocessController']);var Ge=Object[_0x1f2917(0x102)],qe=(_0x3e6216,_0x465db6,_0x466647,_0x3e99a2)=>{for(var _0x676979=_0x3e99a2>0x1?void 0x0:_0x3e99a2?Ge(_0x465db6,_0x466647):_0x465db6,_0x154664=_0x3e6216['length']-0x1,_0x33fbd6;_0x154664>=0x0;_0x154664--)(_0x33fbd6=_0x3e6216[_0x154664])&&(_0x676979=_0x33fbd6(_0x676979)||_0x676979);return _0x676979;},le=(_0x27421c,_0x4c74a4)=>(_0x560ef3,_0x2cbc77)=>_0x4c74a4(_0x560ef3,_0x2cbc77,_0x27421c);const We=_0x1f2917(0xd0);var X;exports[_0x1f2917(0xd7)]=(X=class extends $[_0x1f2917(0xad)]{constructor(_0x2386f8={},_0xb41342,_0x5ca2e6){const _0x1b7278=_0x1f2917;super(),this['_config']=_0x2386f8,this['_injector']=_0xb41342,this[_0x1b7278(0xde)]=_0x5ca2e6;const {..._0x56d012}=$['merge']({},this[_0x1b7278(0x12d)]);this[_0x1b7278(0xde)][_0x1b7278(0x14f)](We,_0x56d012);}[_0x1f2917(0x11d)](){const _0x18a158=_0x1f2917,_0xd763d7=[[exports[_0x18a158(0x110)]]];$[_0x18a158(0xae)](this['_injector'],_0xd763d7);}[_0x1f2917(0xb7)](){}},p(X,'pluginName','UNIVER_RANGE_PREPROCESS_PLUGIN'),X),exports[_0x1f2917(0xd7)]=qe([le(0x1,$['Inject']($[_0x1f2917(0x100)])),le(0x2,$['IConfigService'])],exports[_0x1f2917(0xd7)]);
|
|
1
|
+
'use strict';const _0x3bec1e=_0x5263;(function(_0x14c909,_0xe8dc50){const _0x390270=_0x5263,_0x500bc3=_0x14c909();while(!![]){try{const _0x21b5ae=-parseInt(_0x390270(0x23f))/0x1*(-parseInt(_0x390270(0x27b))/0x2)+-parseInt(_0x390270(0x1d1))/0x3+-parseInt(_0x390270(0x23d))/0x4+-parseInt(_0x390270(0x265))/0x5+-parseInt(_0x390270(0x1dd))/0x6+-parseInt(_0x390270(0x26f))/0x7+-parseInt(_0x390270(0x20d))/0x8*(-parseInt(_0x390270(0x278))/0x9);if(_0x21b5ae===_0xe8dc50)break;else _0x500bc3['push'](_0x500bc3['shift']());}catch(_0x16dbb4){_0x500bc3['push'](_0x500bc3['shift']());}}}(_0x4fd0,0x89105));var Ce=Object['defineProperty'],ge=(_0xffc139,_0x4be508,_0x518186)=>_0x4be508 in _0xffc139?Ce(_0xffc139,_0x4be508,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x518186}):_0xffc139[_0x4be508]=_0x518186,p=(_0x11666e,_0x37da6c,_0xbd1d5)=>ge(_0x11666e,typeof _0x37da6c!=_0x3bec1e(0x1fb)?_0x37da6c+'':_0x37da6c,_0xbd1d5);Object[_0x3bec1e(0x205)](exports,Symbol[_0x3bec1e(0x238)],{'value':_0x3bec1e(0x1d4)});const $=require('@univerjs/core');require('@univerjs/sheets-filter');const H=require('@univerjs/sheets-table');function oe(_0x6da2f){return _0x6da2f['v']==null?'':String(_0x6da2f['v'])['trim']();}function he(_0x5e09f4){const _0x50c515=_0x3bec1e;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x50c515(0x27f)](_0x5e09f4);}const Z=0x2,Q=0x1;function ue(_0x555277,_0x146e6d){const _0x153501=_0x3bec1e,_0x34be8d={'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}$/}[_0x146e6d];if(!_0x34be8d||!_0x34be8d[_0x153501(0x27f)](_0x555277))return!0x1;const _0x1ce8d2=_0x555277[_0x153501(0x225)](/\D+/g,'\x20')['trim']()[_0x153501(0x1f5)](/\s+/)[_0x153501(0x202)](Number);let _0x5dead7=0x0,_0x5137b4=0x1,_0x65a6c0=0x1,_0x49620c=0x0,_0x4183f2=0x0,_0xcc20e5=0x0;switch(_0x146e6d){case _0x153501(0x261):case'2006-1-2':case'2006/01/02':case _0x153501(0x24d):[_0x5dead7,_0x5137b4,_0x65a6c0]=_0x1ce8d2;break;case _0x153501(0x224):[_0x5dead7,_0x5137b4,_0x65a6c0]=_0x1ce8d2;break;case _0x153501(0x273):case _0x153501(0x259):case _0x153501(0x1fe):[_0x65a6c0,_0x5137b4,_0x5dead7]=_0x1ce8d2;break;case _0x153501(0x279):case _0x153501(0x21a):[_0x5137b4,_0x65a6c0,_0x5dead7]=_0x1ce8d2;break;case'20060102':{const _0x1053cf=_0x555277;_0x5dead7=+_0x1053cf[_0x153501(0x221)](0x0,0x4),_0x5137b4=+_0x1053cf['slice'](0x4,0x6),_0x65a6c0=+_0x1053cf['slice'](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x153501(0x270):[_0x5dead7,_0x5137b4,_0x65a6c0,_0x49620c,_0x4183f2,_0xcc20e5]=_0x1ce8d2;break;default:return!0x0;}if(_0x5137b4<0x1||_0x5137b4>0xc||_0x65a6c0<0x1||_0x65a6c0>0x1f||_0x49620c<0x0||_0x49620c>0x17||_0x4183f2<0x0||_0x4183f2>0x3b||_0xcc20e5<0x0||_0xcc20e5>0x3b)return!0x1;const _0x4f3376=new Date(_0x5dead7,_0x5137b4-0x1,_0x65a6c0,_0x49620c,_0x4183f2,_0xcc20e5);return!(_0x4f3376['getFullYear']()!==_0x5dead7||_0x4f3376[_0x153501(0x267)]()!==_0x5137b4-0x1||_0x4f3376[_0x153501(0x21e)]()!==_0x65a6c0);}function we(_0x42aca5){const _0x46adb6=_0x3bec1e;return Number[_0x46adb6(0x252)](_0x42aca5)&&_0x42aca5>=0x1&&_0x42aca5<=0x13880;}function pe(_0xb9a299){const _0x512740=_0x3bec1e;switch(_0xb9a299){case 0x0:return _0x512740(0x27c);case 0x1:return _0x512740(0x229);case 0x2:case 0x3:case 0x4:return _0x512740(0x271);case 0x5:return _0x512740(0x253);default:return _0x512740(0x1d0);}}class Y{constructor(){const _0x450c0e=_0x3bec1e;p(this,_0x450c0e(0x1ea),0x0),p(this,_0x450c0e(0x27d),0x0),p(this,_0x450c0e(0x203),0x0);}}class I extends Y{constructor(_0x2deea5){const _0xb25eeb=_0x3bec1e;super(),p(this,_0xb25eeb(0x1ef)),p(this,'dt'),p(this,'layout'),p(this,_0xb25eeb(0x243)),(this['dt']=_0x2deea5['dt'],this[_0xb25eeb(0x1d9)]=_0x2deea5[_0xb25eeb(0x1d9)],this['needConvert']=!!_0x2deea5[_0xb25eeb(0x243)]);}[_0x3bec1e(0x1eb)](_0x3c8ef3){const _0x535cac=_0x3bec1e;if(_0x3c8ef3['t']===$[_0x535cac(0x20b)][_0x535cac(0x1ee)]){const _0x212711=oe(_0x3c8ef3);if(!_0x212711)return;ue(_0x212711,this['layout'])?this['valid']+=Z:this[_0x535cac(0x27d)]++;}}[_0x3bec1e(0x1e3)](){const _0x42c58e=_0x3bec1e,_0x33e314=0x64-Math[_0x42c58e(0x266)]((this[_0x42c58e(0x27d)]*0xa+0x1)*0x64/(this[_0x42c58e(0x27d)]+this[_0x42c58e(0x1ea)]+0x1)),_0x4b4013={'Charset':this['dt'],'Confidence':_0x33e314,'debugInfo':this[_0x42c58e(0x1d9)]};return this[_0x42c58e(0x243)]&&(_0x4b4013[_0x42c58e(0x232)]=this[_0x42c58e(0x1d9)]),_0x4b4013;}}class re extends Y{constructor(_0x5c69d7){const _0x1d1641=_0x3bec1e;super(),p(this,_0x1d1641(0x222)),p(this,_0x1d1641(0x1ef)),p(this,'dt'),p(this,'layout'),p(this,'needConvert'),(this[_0x1d1641(0x222)]=_0x5c69d7[_0x1d1641(0x222)]||{},this['dt']=_0x5c69d7['dt'],this[_0x1d1641(0x1d9)]=_0x5c69d7['layout'],this[_0x1d1641(0x243)]=!!_0x5c69d7['needConvert']);}['Match'](_0x1b7e9e){const _0x4d1f43=_0x3bec1e;if(_0x1b7e9e['t']===$[_0x4d1f43(0x20b)][_0x4d1f43(0x24c)]){if(_0x1b7e9e['s']&&this[_0x4d1f43(0x222)][_0x1b7e9e['s']]){this[_0x4d1f43(0x1ea)]+=Z;return;}const _0x4bfd58=oe(_0x1b7e9e);if(!_0x4bfd58)return;if(this[_0x4d1f43(0x1d9)]===_0x4d1f43(0x220)){const _0x57c01a=Number(_0x4bfd58);if(we(_0x57c01a)){this[_0x4d1f43(0x1ea)]+=Z;return;}}ue(_0x4bfd58,this[_0x4d1f43(0x1d9)])?this['valid']+=Z:this[_0x4d1f43(0x27d)]++;}}['Calc'](){const _0x5384ef=_0x3bec1e,_0x1176de=0x64-Math['trunc']((this[_0x5384ef(0x27d)]*0xa+0x1)*0x64/(this[_0x5384ef(0x27d)]+this['valid']+0x1)),_0x9ea167={'Charset':this['dt'],'Confidence':_0x1176de,'debugInfo':this[_0x5384ef(0x1d9)]};return this[_0x5384ef(0x243)]&&(_0x9ea167[_0x5384ef(0x232)]=this[_0x5384ef(0x1d9)]),_0x9ea167;}}class Me extends Y{[_0x3bec1e(0x1eb)](_0x127c40){const _0x265839=_0x3bec1e;if(_0x127c40['t']===$[_0x265839(0x20b)][_0x265839(0x24c)])this[_0x265839(0x1ea)]+=Q;else{const _0x558076=oe(_0x127c40);if(!_0x558076)return;he(_0x558076)?this[_0x265839(0x1ea)]+=Q:this[_0x265839(0x27d)]++;}}[_0x3bec1e(0x1e3)](){const _0x517362=_0x3bec1e;return{'Charset':0x1,'Confidence':0x64-Math[_0x517362(0x266)]((this[_0x517362(0x27d)]*0xa+0x1)*0x64/(this[_0x517362(0x27d)]+this['valid']+0x1)),'debugInfo':_0x517362(0x229)};}}class Re extends Y{[_0x3bec1e(0x1eb)](_0xdddd71){const _0x4c3474=_0x3bec1e;_0xdddd71['t']===$[_0x4c3474(0x20b)]['BOOLEAN']?this[_0x4c3474(0x1ea)]+=Q:this['invalid']++;}[_0x3bec1e(0x1e3)](){const _0x1326e9=_0x3bec1e;return{'Charset':0x5,'Confidence':0x64-Math[_0x1326e9(0x266)]((this[_0x1326e9(0x27d)]*0xa+0x1)*0x64/(this[_0x1326e9(0x27d)]+this[_0x1326e9(0x1ea)]+0x1)),'debugInfo':'number'};}}class Te{constructor(_0x1cd955){const _0x42712a=_0x3bec1e;p(this,'recognizers'),p(this,_0x42712a(0x222)),(this[_0x42712a(0x222)]=_0x1cd955||{},this[_0x42712a(0x272)]=[new I({'dt':0x2,'layout':_0x42712a(0x261)}),new I({'dt':0x2,'layout':_0x42712a(0x274)}),new I({'dt':0x2,'layout':'2006/01/02'}),new I({'dt':0x2,'layout':_0x42712a(0x24d)}),new I({'dt':0x2,'layout':'2006年1月2日','needConvert':!0x0}),new I({'dt':0x2,'layout':'02-01-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x42712a(0x259),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x42712a(0x1fe),'needConvert':!0x0}),new I({'dt':0x2,'layout':'01-02-2006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x42712a(0x21a),'needConvert':!0x0}),new I({'dt':0x2,'layout':'2\x20January,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x42712a(0x22c),'needConvert':!0x0}),new I({'dt':0x2,'layout':'2\x20Jan.,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x42712a(0x27a),'needConvert':!0x0}),new I({'dt':0x2,'layout':'January\x202,2006','needConvert':!0x0}),new I({'dt':0x2,'layout':'Jan.\x202,\x202006','needConvert':!0x0}),new I({'dt':0x2,'layout':_0x42712a(0x242),'needConvert':!0x0}),new re({'dateStyles':this['dateStyles'],'dt':0x2,'layout':_0x42712a(0x242),'needConvert':!0x0}),new I({'dt':0x4,'layout':_0x42712a(0x1da)}),new I({'dt':0x4,'layout':_0x42712a(0x270)}),new re({'dateStyles':this[_0x42712a(0x222)],'dt':0x3,'layout':'excel','needConvert':!0x0}),new Me(),new Re()]);}[_0x3bec1e(0x1eb)](_0x4a2953){const _0x52e294=_0x3bec1e;for(const _0x212143 of this[_0x52e294(0x272)])_0x212143[_0x52e294(0x1eb)](_0x4a2953);}[_0x3bec1e(0x1de)](){const _0x43decc=_0x3bec1e,_0x5a210d=this[_0x43decc(0x272)]['map'](_0x239dd8=>_0x239dd8[_0x43decc(0x1e3)]());if(_0x5a210d[_0x43decc(0x24f)]((_0x53a580,_0x3644d1)=>_0x3644d1[_0x43decc(0x23a)]-_0x53a580['Confidence']),_0x5a210d[_0x43decc(0x281)]===0x0||_0x5a210d[0x0][_0x43decc(0x23a)]<0x32)return[_0x43decc(0x27c),null];const _0x4f4394=_0x5a210d[0x0];return[pe(_0x4f4394[_0x43decc(0x1f2)]),_0x4f4394];}}function ce(_0x49ece7,_0x327dfc){const _0x57fc61=_0x3bec1e;let _0x407340=_0x49ece7,_0x23ed59=_0x327dfc;_0x407340<=0x0&&(_0x407340=0x6),_0x23ed59<=0x0&&(_0x23ed59=0xa),_0x23ed59=_0x23ed59*0x2;const _0x488b96=[];for(let _0x393b7a=0x0;_0x393b7a<_0x23ed59;_0x393b7a++)_0x488b96[_0x57fc61(0x1d3)]($['generateRandomId'](_0x407340));const _0x5694c9=new Map();for(const _0x49bef7 of _0x488b96){const _0xa42eef=_0x49bef7['toLowerCase']();_0x5694c9['has'](_0xa42eef)||_0x5694c9[_0x57fc61(0x1fa)](_0xa42eef,_0x49bef7);}return Array[_0x57fc61(0x1e9)](_0x5694c9[_0x57fc61(0x20c)]());}var ee=(_0xedc802=>(_0xedc802[_0x3bec1e(0x25c)]=_0x3bec1e(0x1d6),_0xedc802[_0x3bec1e(0x268)]=_0x3bec1e(0x282),_0xedc802[_0x3bec1e(0x1f3)]=_0x3bec1e(0x256),_0xedc802))(ee||{});class K{constructor(_0x2a990f){const _0x5e95ac=_0x3bec1e;p(this,'id'),p(this,_0x5e95ac(0x206)),p(this,_0x5e95ac(0x235)),p(this,'name'),p(this,_0x5e95ac(0x228)),p(this,_0x5e95ac(0x1f7)),p(this,_0x5e95ac(0x26d)),p(this,'startStatisticRowCount'),p(this,_0x5e95ac(0x201)),p(this,_0x5e95ac(0x241)),p(this,_0x5e95ac(0x218)),p(this,_0x5e95ac(0x277)),p(this,_0x5e95ac(0x284)),p(this,_0x5e95ac(0x231)),p(this,'isMatchContinue'),p(this,_0x5e95ac(0x21b)),p(this,_0x5e95ac(0x254)),p(this,_0x5e95ac(0x239)),p(this,'columns');var _0xbc0ee9,_0x53bb6a,_0x458f3e,_0x458aaa,_0x4a2540,_0x521f19,_0x31f901,_0x48934c,_0x1dbc76,_0x58fabd,_0x5c0a9a,_0x119a69,_0x52394d,_0xab1d55,_0x341ca9,_0x588982,_0x2b3a37,_0x2c1a69,_0xf5fbd4;this['id']=(_0xbc0ee9=_0x2a990f==null?void 0x0:_0x2a990f['id'])!=null?_0xbc0ee9:'',this['sheetId']=(_0x53bb6a=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x206)])!=null?_0x53bb6a:$['generateRandomId'](),this[_0x5e95ac(0x235)]=(_0x458f3e=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x235)])!=null?_0x458f3e:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x5e95ac(0x258)]=(_0x458aaa=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x258)])!=null?_0x458aaa:'',this[_0x5e95ac(0x228)]=(_0x4a2540=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x228)])!=null?_0x4a2540:'',this[_0x5e95ac(0x1f7)]=(_0x521f19=_0x2a990f==null?void 0x0:_0x2a990f['rowTitleCount'])!=null?_0x521f19:0x0,this['mergeRowTitleCount']=(_0x31f901=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x26d)])!=null?_0x31f901:0x0,this['startStatisticRowCount']=(_0x48934c=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x208)])!=null?_0x48934c:0x0,this[_0x5e95ac(0x201)]=(_0x1dbc76=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x201)])!=null?_0x1dbc76:0x0,this[_0x5e95ac(0x241)]=(_0x58fabd=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x241)])!=null?_0x58fabd:new Map(),this[_0x5e95ac(0x218)]=(_0x5c0a9a=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x218)])!=null?_0x5c0a9a:!0x1,this[_0x5e95ac(0x277)]=(_0x119a69=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x277)])!=null?_0x119a69:!0x1,this[_0x5e95ac(0x284)]=(_0x52394d=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x284)])!=null?_0x52394d:new Map(),this['isMatchEnd']=(_0xab1d55=_0x2a990f==null?void 0x0:_0x2a990f['isMatchEnd'])!=null?_0xab1d55:!0x1,this[_0x5e95ac(0x260)]=(_0x341ca9=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x260)])!=null?_0x341ca9:!0x1,this[_0x5e95ac(0x21b)]=(_0x588982=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x21b)])!=null?_0x588982:!0x1,this['isTestTable']=(_0x2b3a37=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x254)])!=null?_0x2b3a37:!0x1,this[_0x5e95ac(0x239)]=(_0x2c1a69=_0x2a990f==null?void 0x0:_0x2a990f[_0x5e95ac(0x239)])!=null?_0x2c1a69:!0x1,this[_0x5e95ac(0x275)]=(_0xf5fbd4=_0x2a990f==null?void 0x0:_0x2a990f['columns'])!=null?_0xf5fbd4:[];}['_isRowContinuous'](_0x4d7649,_0x5e7db9){return _0x5e7db9-_0x4d7649===0x1||_0x5e7db9===_0x4d7649;}['intersectWithPreTables'](_0x51e847){const _0x51cba6=_0x3bec1e,_0x49f0bb=[];for(const _0x4e0fa3 of _0x51e847)this['range'][_0x51cba6(0x1f1)]<_0x4e0fa3[_0x51cba6(0x235)]['startColumn']||this[_0x51cba6(0x235)][_0x51cba6(0x255)]>_0x4e0fa3[_0x51cba6(0x235)][_0x51cba6(0x1f1)]||this[_0x51cba6(0x223)](_0x4e0fa3[_0x51cba6(0x235)]['endRow'],this[_0x51cba6(0x235)]['startRow'])&&_0x49f0bb[_0x51cba6(0x1d3)](_0x4e0fa3);return _0x49f0bb;}[_0x3bec1e(0x20a)](_0x15c8fb){const _0x1b573e=_0x3bec1e;return _0x15c8fb[_0x1b573e(0x235)][_0x1b573e(0x240)]===this[_0x1b573e(0x235)][_0x1b573e(0x276)]&&this[_0x1b573e(0x235)][_0x1b573e(0x1f1)]+0x1===_0x15c8fb[_0x1b573e(0x235)][_0x1b573e(0x255)];}[_0x3bec1e(0x23c)](_0x285e7e){const _0x3c842e=_0x3bec1e;return this[_0x3c842e(0x235)][_0x3c842e(0x255)]===-0x1?this:(_0x285e7e[_0x3c842e(0x1d3)](this),new K({'sheetId':this[_0x3c842e(0x206)],'range':{'startRow':this['range'][_0x3c842e(0x276)],'endRow':this[_0x3c842e(0x235)][_0x3c842e(0x240)],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x3bec1e(0x25a)](_0x23c7b1,_0x3fe675,_0x3a8671,_0x534380){const _0x514d3c=_0x3bec1e;this[_0x514d3c(0x235)][_0x514d3c(0x255)]===-0x1&&(this[_0x514d3c(0x235)][_0x514d3c(0x255)]=_0x3fe675),this[_0x514d3c(0x235)][_0x514d3c(0x1f1)]=_0x3fe675,_0x534380!=null&&(this['range'][_0x514d3c(0x1f1)]=Math['max'](_0x534380,this['range']['endColumn']));}[_0x3bec1e(0x1d7)](){const _0x248fb7=_0x3bec1e;this['rowMergeTitleCountMap'][_0x248fb7(0x1ff)](),this['columnMergeTitleCountMap']['clear'](),this[_0x248fb7(0x275)]=[];}}function de(_0x5c7c0a,_0x170dd6){const {startRow:_0x3fe1b6,startColumn:_0x1b41ad,endRow:_0x55ae25,endColumn:_0x250e2b}=_0x170dd6;return _0x5c7c0a+':'+_0x3fe1b6+','+_0x1b41ad+'-'+_0x55ae25+','+_0x250e2b;}const W=new Map();function ye(_0x268545,_0x4dccd6){const _0x4b0391=_0x3bec1e;var _0x8a45e;const _0xef391a=new $[(_0x4b0391(0x25e))](!0x1),_0x5509cf=_0x4dccd6[_0x4b0391(0x200)](),_0xbe80ef=new Map(),_0x45717f=(_0x8a45e=_0x4dccd6[_0x4b0391(0x248)]())!=null?_0x8a45e:[];W[_0x4b0391(0x1ff)]();for(const _0x33b613 of _0x45717f){const _0x3d9e64=de(_0x4b0391(0x26e),_0x33b613),_0x589e98={'unitId':_0x268545,'sheetId':_0x5509cf,'range':_0x33b613,'id':_0x3d9e64};_0xef391a[_0x4b0391(0x1f0)](_0x589e98),_0xbe80ef['set'](_0x3d9e64,_0x589e98);}return W['set'](_0x4dccd6,{'mergeRTree':_0xef391a,'mergeRangeMap':_0xbe80ef}),{'mergeRTree':_0xef391a,'mergeRangeMap':_0xbe80ef};}function Se(_0x518dd7,_0x319e1f,_0x333963){const _0x100d9c=_0x3bec1e,_0x355bbd=new $[(_0x100d9c(0x25e))](!0x1),_0x712e09=_0x333963['get'](H[_0x100d9c(0x207)])[_0x100d9c(0x26c)](_0x518dd7);if(_0x712e09&&Array['isArray'](_0x712e09))for(const _0x5ab408 of _0x712e09){if(!(_0x5ab408!=null&&_0x5ab408['range']))continue;const _0x14180e=_0x5ab408[_0x100d9c(0x235)],_0x5ade2c={'unitId':_0x518dd7,'sheetId':_0x319e1f,'range':_0x14180e,'id':de(_0x100d9c(0x246),_0x14180e)};_0x355bbd[_0x100d9c(0x1f0)](_0x5ade2c);}return _0x355bbd;}function se(_0x400a98,_0x295f43,_0x5bddfa){const _0x36daef=_0x3bec1e,_0x13d9eb=_0x400a98['get'](_0x295f43);_0x13d9eb?_0x13d9eb[_0x36daef(0x1d3)](_0x5bddfa):_0x400a98[_0x36daef(0x1fa)](_0x295f43,[_0x5bddfa]);}function ve(_0x302e8b,_0x17609a){const _0x246294=_0x3bec1e;var _0x13c385,_0x4e05d5,_0x3cf777;const _0x285df1=_0x302e8b['getSheets'](),_0x38783d={},_0x4db560=_0x302e8b[_0x246294(0x21c)]();for(const _0x338d4d of _0x285df1){const _0x54e805=_0x338d4d[_0x246294(0x200)](),_0x3f9de3=_0x338d4d[_0x246294(0x280)](),_0x2e3e86=_0x338d4d[_0x246294(0x251)](),{mergeRTree:_0x5451f0,mergeRangeMap:_0x4df25e}=ye(_0x4db560,_0x338d4d),_0x1d8ee7=Se(_0x4db560,_0x54e805,_0x17609a),_0x2a70e5=[];let _0xc62184=[];for(let _0x5c480e=0x0;_0x5c480e<_0x3f9de3;_0x5c480e++){const _0x499d13=[];let _0x340e14=new K({'sheetId':_0x54e805,'range':{'startRow':_0x5c480e,'endRow':_0x5c480e,'startColumn':-0x1,'endColumn':-0x1}});const _0x43e5b8=new Map();for(let _0x2a60c9=0x0;_0x2a60c9<=_0x2e3e86;_0x2a60c9++){const _0x5a7b4f=_0x338d4d[_0x246294(0x25f)](_0x5c480e,_0x2a60c9),_0x3e7531={'range':{'startRow':_0x5c480e,'startColumn':_0x2a60c9,'endRow':_0x5c480e,'endColumn':_0x2a60c9},'unitId':_0x4db560,'sheetId':_0x54e805};if(_0x1d8ee7[_0x246294(0x23e)]([_0x3e7531])['size']>0x0){_0x340e14=_0x340e14[_0x246294(0x23c)](_0x499d13);continue;}const _0x447ec5=_0x5451f0[_0x246294(0x23e)]([_0x3e7531]);if(_0x447ec5[_0x246294(0x230)]>0x0){const _0x10878b=_0x340e14['intersectWithPreTables'](_0xc62184),_0x467e1e=_0x447ec5[_0x246294(0x27e)]()[_0x246294(0x1f8)]()['value'],_0x49d3a4=_0x4df25e[_0x246294(0x1db)](_0x467e1e);if(!_0x49d3a4)continue;const _0x156997={'startRow':_0x49d3a4[_0x246294(0x235)][_0x246294(0x276)],'endRow':_0x49d3a4[_0x246294(0x235)][_0x246294(0x240)],'startColumn':_0x49d3a4['range']['startColumn'],'endColumn':_0x49d3a4[_0x246294(0x235)][_0x246294(0x1f1)]},_0xe5d33d=_0x338d4d[_0x246294(0x25f)](_0x156997[_0x246294(0x276)],_0x156997[_0x246294(0x255)]);if(_0xe5d33d&&(_0xe5d33d['p']!=null||_0xe5d33d['v']!=null&&String(_0xe5d33d['v'])[_0x246294(0x281)]>0x0)){_0x340e14[_0x246294(0x25a)](_0x5c480e,_0x2a60c9,_0x5a7b4f,_0x156997[_0x246294(0x1f1)]);for(let _0x4f08a9=_0x156997[_0x246294(0x255)];_0x4f08a9<=_0x156997[_0x246294(0x1f1)];_0x4f08a9++)_0x43e5b8['set'](_0x4f08a9,!0x0);}else _0x340e14=_0x340e14[_0x246294(0x23c)](_0x499d13);const _0x2db94c=_0x156997[_0x246294(0x240)]-_0x156997['startRow'],_0x2d72b4=_0x156997['endColumn']-_0x156997[_0x246294(0x255)];if(_0x10878b[_0x246294(0x281)]===0x1){if(_0x2db94c>0x0&&se(_0x340e14[_0x246294(0x284)],_0x2a60c9,_0x49d3a4),_0x2d72b4>0x0){const _0x3d0ad7=(_0x13c385=_0x340e14[_0x246294(0x241)][_0x246294(0x1db)](_0x5c480e))!=null?_0x13c385:[];_0x3d0ad7['push'](_0x49d3a4),_0x340e14[_0x246294(0x241)]['set'](_0x5c480e,_0x3d0ad7);}}else{if(_0x2db94c>0x0&&(_0x340e14[_0x246294(0x277)]=!0x0,se(_0x340e14[_0x246294(0x284)],_0x2a60c9,_0x49d3a4)),_0x2d72b4>0x0){_0x340e14[_0x246294(0x218)]=!0x0;const _0x967c6d=(_0x4e05d5=_0x340e14[_0x246294(0x241)]['get'](_0x5c480e))!=null?_0x4e05d5:[];_0x967c6d[_0x246294(0x1d3)](_0x49d3a4),_0x340e14[_0x246294(0x241)][_0x246294(0x1fa)](_0x5c480e,_0x967c6d);}}continue;}if((!_0x5a7b4f||G(_0x5a7b4f)==null)&&!_0x43e5b8[_0x246294(0x1db)](_0x2a60c9)){_0x340e14=_0x340e14['saveTableToCache'](_0x499d13);continue;}_0x5a7b4f&&G(_0x5a7b4f)!=null?_0x340e14['insertCellData'](_0x5c480e,_0x2a60c9,_0x5a7b4f):(_0x340e14[_0x246294(0x218)]=!0x1,_0x340e14[_0x246294(0x277)]=!0x1,_0x340e14=_0x340e14[_0x246294(0x23c)](_0x499d13));}if(_0x499d13['length']===0x0){_0x2a70e5[_0x246294(0x1d3)](..._0xc62184),_0xc62184=[];continue;}if(_0xc62184[_0x246294(0x281)]===0x0){_0xc62184[_0x246294(0x1d3)](..._0x499d13);continue;}const _0x1acede=(_0x25cd20,_0x54f37f)=>{const _0x1f3b2f=_0x246294;_0x25cd20[_0x1f3b2f(0x235)][_0x1f3b2f(0x276)]=Math[_0x1f3b2f(0x1fd)](_0x25cd20['range'][_0x1f3b2f(0x276)],_0x54f37f[_0x1f3b2f(0x235)][_0x1f3b2f(0x276)]),_0x25cd20['range']['endRow']=Math[_0x1f3b2f(0x1d8)](_0x25cd20[_0x1f3b2f(0x235)][_0x1f3b2f(0x240)],_0x54f37f['range'][_0x1f3b2f(0x240)]),_0x25cd20[_0x1f3b2f(0x235)][_0x1f3b2f(0x255)]=Math[_0x1f3b2f(0x1fd)](_0x25cd20[_0x1f3b2f(0x235)][_0x1f3b2f(0x255)],_0x54f37f[_0x1f3b2f(0x235)]['startColumn']),_0x25cd20[_0x1f3b2f(0x235)][_0x1f3b2f(0x1f1)]=Math['max'](_0x25cd20['range'][_0x1f3b2f(0x1f1)],_0x54f37f[_0x1f3b2f(0x235)][_0x1f3b2f(0x1f1)]),_0x54f37f['rowMergeTitleCountMap']['forEach']((_0x16c6c3,_0x77634c)=>{const _0x5540a6=_0x1f3b2f;var _0x33874c;const _0x44f01f=(_0x33874c=_0x25cd20['rowMergeTitleCountMap'][_0x5540a6(0x1db)](_0x77634c))!=null?_0x33874c:[];_0x44f01f[_0x5540a6(0x1d3)](..._0x16c6c3),_0x25cd20[_0x5540a6(0x241)][_0x5540a6(0x1fa)](_0x77634c,_0x44f01f);}),_0x54f37f['columnMergeTitleCountMap'][_0x1f3b2f(0x23b)]((_0x4b9484,_0x144cde)=>{const _0x118d79=_0x1f3b2f;var _0x5d996b;const _0x4edc03=(_0x5d996b=_0x25cd20[_0x118d79(0x284)][_0x118d79(0x1db)](_0x144cde))!=null?_0x5d996b:[];_0x4edc03[_0x118d79(0x1d3)](..._0x4b9484),_0x25cd20[_0x118d79(0x284)]['set'](_0x144cde,_0x4edc03);});};for(let _0x17cdff=0x0;_0x17cdff+0x1<_0x499d13['length'];_0x17cdff++){const _0x3ffc51=_0x499d13[_0x17cdff],_0x3bda4b=_0x499d13[_0x17cdff+0x1];_0x3ffc51[_0x246294(0x20a)](_0x3bda4b)&&(_0x1acede(_0x3ffc51,_0x3bda4b),_0x499d13['splice'](_0x17cdff+0x1,0x1),_0x17cdff--);}const _0x218aa0=[];for(const _0x9e9d47 of _0x499d13){const _0x53fbbd=_0x9e9d47[_0x246294(0x1dc)](_0xc62184);if(_0x53fbbd['length']===0x0){_0x218aa0[_0x246294(0x1d3)](_0x9e9d47);continue;}const _0x5cd254=(_0x3cf777=_0x9e9d47['rowMergeTitleCountMap']['get'](_0x5c480e))!=null?_0x3cf777:[];let _0x113180=Number[_0x246294(0x247)],_0x4604b1=-0x1,_0x574add=-0x1;for(const _0x10a4fd of _0x5cd254){const _0x3d4113=_0x10a4fd[_0x246294(0x235)],_0x22c78b=_0x3d4113[_0x246294(0x255)],_0x201b93=_0x3d4113[_0x246294(0x1f1)];_0x113180=Math[_0x246294(0x1fd)](_0x113180,_0x22c78b),_0x4604b1=Math[_0x246294(0x1d8)](_0x4604b1,_0x201b93);}_0x4604b1===-0x1&&(_0x574add=_0x4604b1-_0x113180+0x1);const _0x2d4f99=_0x53fbbd[0x0][_0x246294(0x235)],_0x2023ad=_0x2d4f99[_0x246294(0x1f1)]-_0x2d4f99[_0x246294(0x255)]+0x1;if(_0x574add>=0x0&&_0x574add<=_0x2023ad*0x3/0x4){_0x218aa0['push'](_0x9e9d47);continue;}const _0x39c0fa=_0x53fbbd[0x0];for(const _0x5b8c7a of _0x53fbbd[_0x246294(0x221)](0x1))_0x39c0fa['range'][_0x246294(0x276)]=Math[_0x246294(0x1fd)](_0x39c0fa[_0x246294(0x235)][_0x246294(0x276)],_0x5b8c7a[_0x246294(0x235)][_0x246294(0x276)]),_0x39c0fa[_0x246294(0x235)][_0x246294(0x240)]=Math[_0x246294(0x1d8)](_0x39c0fa[_0x246294(0x235)]['endRow'],_0x5b8c7a['range'][_0x246294(0x240)]),_0x39c0fa[_0x246294(0x235)]['startColumn']=Math['min'](_0x39c0fa[_0x246294(0x235)][_0x246294(0x255)],_0x5b8c7a['range'][_0x246294(0x255)]),_0x39c0fa[_0x246294(0x235)]['endColumn']=Math[_0x246294(0x1d8)](_0x39c0fa[_0x246294(0x235)][_0x246294(0x1f1)],_0x5b8c7a['range'][_0x246294(0x1f1)]);_0x39c0fa[_0x246294(0x235)]['startRow']=Math[_0x246294(0x1fd)](_0x39c0fa[_0x246294(0x235)]['startRow'],_0x9e9d47[_0x246294(0x235)]['startRow']),_0x39c0fa['range']['endRow']=Math[_0x246294(0x1d8)](_0x39c0fa[_0x246294(0x235)][_0x246294(0x240)],_0x9e9d47[_0x246294(0x235)][_0x246294(0x240)]),_0x39c0fa[_0x246294(0x235)][_0x246294(0x255)]=Math[_0x246294(0x1fd)](_0x39c0fa['range']['startColumn'],_0x9e9d47['range']['startColumn']),_0x39c0fa[_0x246294(0x235)][_0x246294(0x1f1)]=Math['max'](_0x39c0fa[_0x246294(0x235)][_0x246294(0x1f1)],_0x9e9d47[_0x246294(0x235)][_0x246294(0x1f1)]),_0x9e9d47['rowMergeTitleCountMap'][_0x246294(0x23b)]((_0x1a465c,_0x1fe7d6)=>{const _0x7172e4=_0x246294;var _0x2900dc;const _0x3fba39=(_0x2900dc=_0x39c0fa['rowMergeTitleCountMap'][_0x7172e4(0x1db)](_0x1fe7d6))!=null?_0x2900dc:[];_0x3fba39['push'](..._0x1a465c),_0x39c0fa[_0x7172e4(0x241)][_0x7172e4(0x1fa)](_0x1fe7d6,_0x3fba39);}),_0x9e9d47[_0x246294(0x284)]['forEach']((_0x2d3cc7,_0x59bdd1)=>{const _0x2c208e=_0x246294;var _0x3e7844;const _0x179dc0=(_0x3e7844=_0x39c0fa[_0x2c208e(0x284)][_0x2c208e(0x1db)](_0x59bdd1))!=null?_0x3e7844:[];_0x179dc0[_0x2c208e(0x1d3)](..._0x2d3cc7),_0x39c0fa[_0x2c208e(0x284)][_0x2c208e(0x1fa)](_0x59bdd1,_0x179dc0);}),_0x39c0fa['isMatchContinue']=!0x0;}const _0x2c7316=[];for(const _0x36006b of _0xc62184)!_0x36006b['isMatchContinue']&&_0x36006b['isMatchEnd']||(_0x2c7316[_0x246294(0x1d3)](_0x36006b),_0x36006b['isMatchContinue']=!0x1,_0x36006b[_0x246294(0x231)]=!0x1);_0x2c7316['push'](..._0x218aa0),_0xc62184=_0x2c7316;}_0x2a70e5[_0x246294(0x1d3)](..._0xc62184);let _0x2beec9=0x0;for(const _0x1ac935 of _0x2a70e5){const _0x7a50f6=_0x1ac935['range']['endRow']-_0x1ac935[_0x246294(0x235)]['startRow']+0x1;_0x1ac935[_0x246294(0x235)]['endColumn']-_0x1ac935[_0x246294(0x235)][_0x246294(0x255)]+0x1>0x0&&_0x7a50f6>0x1&&_0x2beec9++;}if(_0x2beec9===0x0)continue;const _0x3e0d34=[],_0x200f6a=ce(0x6,_0x2a70e5[_0x246294(0x281)]);let _0x485302=0x0;for(const _0x2bdcf2 of _0x2a70e5){const _0x34aae7=_0x2bdcf2[_0x246294(0x235)][_0x246294(0x240)]-_0x2bdcf2[_0x246294(0x235)]['startRow']+0x1,_0x37eed6=_0x2bdcf2['range']['endColumn']-_0x2bdcf2[_0x246294(0x235)]['startColumn']+0x1;let _0x26a323=!0x1;for(const _0x390140 of _0x338d4d[_0x246294(0x248)]())if(Ie(_0x2bdcf2[_0x246294(0x235)],_0x390140)){_0x26a323=!0x0;break;}if(_0x26a323)continue;let _0x2821c7=!0x0;for(const _0x17ff03 of _0x2a70e5)if(_0x17ff03!==_0x2bdcf2&&xe(_0x2bdcf2,_0x17ff03)){_0x2821c7=!0x1;break;}_0x2821c7&&(_0x37eed6<=0x0||_0x34aae7<=0x1||(_0x2bdcf2['id']=_0x200f6a[_0x485302++],_0x3e0d34[_0x246294(0x1d3)](_0x2bdcf2)));}_0x38783d[_0x54e805]=_0x3e0d34;}return _0x38783d;}function be(_0x4847dc,_0x18c777,_0x526de8){const _0x210f2d=ve(_0x4847dc,_0x18c777);$e(_0x210f2d,_0x4847dc,_0x18c777);const _0x424dd9=Pe(_0x210f2d,_0x4847dc);return De(_0x424dd9,_0x4847dc,_0x18c777,_0x526de8);}function Ie(_0x4e694e,_0x176adf){const _0x8f731b=_0x3bec1e;return _0x4e694e[_0x8f731b(0x276)]===_0x176adf['startRow']&&_0x4e694e[_0x8f731b(0x240)]===_0x176adf[_0x8f731b(0x240)]&&_0x4e694e[_0x8f731b(0x255)]===_0x176adf[_0x8f731b(0x255)]&&_0x4e694e['endColumn']===_0x176adf[_0x8f731b(0x1f1)];}function xe(_0x4468c8,_0x46587a){const _0x507f2a=_0x3bec1e;return _0x4468c8['range'][_0x507f2a(0x276)]>=_0x46587a[_0x507f2a(0x235)][_0x507f2a(0x276)]&&_0x4468c8['range'][_0x507f2a(0x240)]<=_0x46587a['range'][_0x507f2a(0x240)]&&_0x4468c8[_0x507f2a(0x235)][_0x507f2a(0x255)]>=_0x46587a[_0x507f2a(0x235)][_0x507f2a(0x255)]&&_0x4468c8['range']['endColumn']<=_0x46587a[_0x507f2a(0x235)][_0x507f2a(0x1f1)];}function Ne(_0x35b611){const _0x22443c=_0x3bec1e;return''+ne(_0x35b611[_0x22443c(0x255)])+(_0x35b611[_0x22443c(0x276)]+0x1)+':'+ne(_0x35b611[_0x22443c(0x1f1)])+(_0x35b611[_0x22443c(0x240)]+0x1);}function _0x5263(_0xa1018f,_0x5091d4){_0xa1018f=_0xa1018f-0x1d0;const _0x4fd0d2=_0x4fd0();let _0x5263ab=_0x4fd0d2[_0xa1018f];return _0x5263ab;}function te(_0x2a795c){const _0x2fe93a=_0x3bec1e;var _0x522363;if(_0x2a795c!==null){if(_0x2a795c!=null&&_0x2a795c['p']){const _0x5ccf9e=_0x2a795c==null?void 0x0:_0x2a795c['p'][_0x2fe93a(0x213)];if(_0x5ccf9e==null)return;const _0x5e4715=_0x5ccf9e['dataStream'],_0x25b4a4=$[_0x2fe93a(0x1fc)]['transform']['getPlainText'](_0x5e4715),_0x4598c6=_0x5ccf9e[_0x2fe93a(0x219)];if(_0x4598c6&&_0x4598c6[_0x2fe93a(0x281)]>0x0){const _0xad2d92=_0x4598c6[0x0],_0x1ab6a0=(_0x522363=_0xad2d92['properties'])==null?void 0x0:_0x522363['url'];if(!_0x1ab6a0)return _0x25b4a4;const _0x172245=typeof _0xad2d92[_0x2fe93a(0x234)]==_0x2fe93a(0x229)?_0xad2d92[_0x2fe93a(0x234)]:0x0;let _0x777a9e=typeof _0xad2d92['endIndex']==_0x2fe93a(0x229)?_0xad2d92[_0x2fe93a(0x22a)]+0x1:_0x172245+0x1;return _0x172245===0x0&&_0x777a9e===0x0?_0x777a9e=0x1:_0x777a9e<=_0x172245&&(_0x777a9e=_0x172245+0x1),'['+_0x5e4715[_0x2fe93a(0x221)](_0x172245,_0x777a9e)+']('+_0x1ab6a0+')';}return _0x25b4a4;}if((_0x2a795c==null?void 0x0:_0x2a795c['v'])!=null)return _0x2a795c['v'];}}function _0x4fd0(){const _0x23d4da=['Inject','entries','_injector','getTableList','mergeRowTitleCount','merge','943306LgurzA','2006-01-02\x2015:04:05','date','recognizers','02-01-2006','2006-1-2','columns','startRow','columnMergeTitleState','449451ArbYLf','01-02-2006','January\x202,\x202006','30PbtXgo','string','invalid','keys','test','getRowCount','length','all','onStarting','columnMergeTitleCountMap','unknown','3364878kEynlj','Plugin','push','Module','splice','none','dispose','max','layout','2006-01-02T15:04:05','get','intersectWithPreTables','1367790KTUXpW','Best','getStyles','Type','Description','getSheets','Calc','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','value','UniverRangePreprocessPlugin','join','isTitleRepeat','from','valid','Match','isCoded','toJSON','STRING','timeStampStyles','insert','endColumn','Charset','Sample','warn','split','each','rowTitleCount','next','RangePreprocessController','set','symbol','BuildTextUtils','min','02.01.2006','clear','getSheetId','endStatisticRowCount','map','confidence',',\x20rangeName:','defineProperty','sheetId','TableManager','startStatisticRowCount','isBigText','intersectWithColumns','CellValueType','values','392kSAVBV','skip\x20small\x20table','getOwnPropertyDescriptor','pluginName','pattern','isLink','body','setConfig','mergeRangeMap','data','onReady','rowMergeTitleState','customRanges','01/02/2006','isTimeSeries','getUnitId','mergeRTree','getDate','linkType','excel','slice','dateStyles','_isRowContinuous','2006年1月2日','replace','Disposable','isUnique','description','number','endIndex','add','2\x20January,2006','getName','meta','IConfigService','size','isMatchEnd','Layout','Injector','startIndex','range','getTablesBySubunitId','has','toStringTag','isUpdateTable','Confidence','forEach','saveTableToCache','1233892nZHZdM','bulkSearch','18769GnRGTx','endRow','rowMergeTitleCountMap','20060102','needConvert','floor','isOpinionText','table','MAX_SAFE_INTEGER','getMergeData','skip\x20small\x20table,\x20idx:','_configService','isMeasure','NUMBER','2006/1/2','Name','sort','stringify','getColumnCount','isFinite','boolean','isTestTable','startColumn','sample','isArray','name','02/01/2006','insertCellData','getSheetBySheetId','None','columnId','RTree','getCell','isMatchContinue','2006-01-02','column_','_config','links','1871555WsLZuO','trunc','getMonth','All'];_0x4fd0=function(){return _0x23d4da;};return _0x4fd0();}function G(_0x1991c9){const _0x30f54f=te(_0x1991c9);if(_0x30f54f!=null)return String(_0x30f54f);}function Ee(_0x159b45,_0x4d9ece,_0x335ed0){const _0x3ed041=_0x3bec1e,_0x236559=_0x335ed0[_0x3ed041(0x25f)](_0x159b45,_0x4d9ece);if(_0x236559!=null){const _0x40b472=G(_0x236559);if(_0x40b472!=null&&_0x40b472[_0x3ed041(0x281)]>0x0)return _0x40b472;}const _0xbd24e7=W[_0x3ed041(0x1db)](_0x335ed0),_0x5b049c=_0xbd24e7==null?void 0x0:_0xbd24e7[_0x3ed041(0x21d)],_0x1abe48=_0xbd24e7==null?void 0x0:_0xbd24e7[_0x3ed041(0x215)],_0x3e6919=_0x335ed0[_0x3ed041(0x21c)](),_0x2e4565=_0x335ed0[_0x3ed041(0x200)](),_0x1d78d0={'range':{'startRow':_0x159b45,'endRow':_0x159b45,'startColumn':_0x4d9ece,'endColumn':_0x4d9ece},'unitId':_0x3e6919,'sheetId':_0x2e4565},_0x4f8d62=(_0x5b049c==null?void 0x0:_0x5b049c[_0x3ed041(0x23e)]([_0x1d78d0]))||new Map();if(_0x4f8d62[_0x3ed041(0x230)]===0x0||!_0x1abe48)return null;const _0x335e2d=_0x4f8d62[_0x3ed041(0x27e)]()['next']()[_0x3ed041(0x1e5)],_0x46f035=_0x1abe48[_0x3ed041(0x1db)](_0x335e2d);if(!_0x46f035)return null;const _0x52aa7a=_0x335ed0[_0x3ed041(0x25f)](_0x46f035[_0x3ed041(0x235)][_0x3ed041(0x276)],_0x46f035[_0x3ed041(0x235)]['startColumn']);return _0x52aa7a==null?null:G(_0x52aa7a);}function $e(_0x3b1004,_0x40ad3e,_0x5afaa5){const _0x5f599f=_0x3bec1e,_0x57d91f=_0x40ad3e[_0x5f599f(0x1e2)](),_0x55fb61=_0x5afaa5[_0x5f599f(0x1db)](H[_0x5f599f(0x207)]),_0x117947=_0x40ad3e[_0x5f599f(0x21c)]();for(const _0x583063 of _0x57d91f){const _0x3434e3=_0x583063[_0x5f599f(0x200)](),_0x39877f=_0x55fb61['getTablesBySubunitId'](_0x117947,_0x3434e3);if(!_0x39877f)continue;const _0x38f201=_0x39877f[_0x5f599f(0x202)](_0x586eee=>_0x586eee[_0x5f599f(0x1ed)]());for(const _0x31105d of _0x38f201){const {startRow:_0x34e725,endRow:_0x41f7af,startColumn:_0x2d7568,endColumn:_0x1e126d}=_0x31105d[_0x5f599f(0x235)],_0x579d82=new K({'id':_0x31105d['id'],'sheetId':_0x3434e3,'range':{'startRow':_0x34e725,'endRow':_0x41f7af,'startColumn':_0x2d7568,'endColumn':_0x1e126d},'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':[]});_0x3b1004[_0x3434e3]||(_0x3b1004[_0x3434e3]=[]),_0x3b1004[_0x3434e3][_0x5f599f(0x1d3)](_0x579d82);}}}function Pe(_0xb098f8,_0x377659){const _0xd08241=_0x3bec1e;var _0x4d2dd3,_0xf06750;for(const [_0x39f771,_0x455e96]of Object[_0xd08241(0x26a)](_0xb098f8)){const _0x217cb4=_0x455e96;let _0xb04952=!0x1;const _0x2a85b4=_0x377659[_0xd08241(0x25b)](_0x39f771);if(_0x2a85b4){for(let _0x328207=0x0;_0x328207<_0x217cb4['length'];_0x328207++){const _0x9ab27f=_0x217cb4[_0x328207],_0x552389=_0x9ab27f[_0xd08241(0x235)],{startRow:_0x3d7f63,endRow:_0x5d0117,startColumn:_0x5c0ab4,endColumn:_0x19843a}=_0x552389,_0x247a2e=Ue(_0x9ab27f,_0x2a85b4,_0x377659),_0x1cbb8d=_e(_0x3d7f63,_0x5d0117,_0x9ab27f);let _0x37f4ff=0x1;const _0x44e78a=_0x3d7f63+_0x1cbb8d;let _0x4cea27=0x0,_0x234dbb=0x0;for(let _0x365c14=_0x5c0ab4;_0x365c14<=_0x19843a;_0x365c14++){const _0x53c08e=_0x2a85b4[_0xd08241(0x25f)](_0x44e78a,_0x365c14);if(!_0x53c08e)continue;const _0x50dbae=G(_0x53c08e);_0x50dbae!=null&&(_0x50dbae!==''&&_0x234dbb++,ae(_0x50dbae)&&_0x4cea27++);}if(_0x234dbb>0x0&&_0x4cea27/Math[_0xd08241(0x1d8)](_0x234dbb,0x1)>0.03&&(_0x37f4ff=0x0),_0x9ab27f[_0xd08241(0x26d)]=_0x1cbb8d,_0x9ab27f[_0xd08241(0x1f7)]=_0x37f4ff+_0x1cbb8d,_0x9ab27f[_0xd08241(0x235)][_0xd08241(0x240)]-_0x9ab27f[_0xd08241(0x235)][_0xd08241(0x276)]+0x1-_0x9ab27f['rowTitleCount']<=0x1){console[_0xd08241(0x1f4)](_0xd08241(0x249)+_0x328207+_0xd08241(0x204)+Ne(_0x9ab27f[_0xd08241(0x235)])),_0x217cb4[_0xd08241(0x1d5)](_0x328207,0x1),_0x328207--,_0xb04952=!0x0;continue;}const _0x3d6ff2=new Map();let _0x316b00=0x0;const _0x1bfade=ce(0x4,_0x19843a-_0x5c0ab4+0x1);for(let _0x5a50b6=_0x5c0ab4;_0x5a50b6<=_0x19843a;_0x5a50b6++){let _0x4a2e8f='';const _0x3ef9cb=new Set();let _0x3985a8=!0x1;const _0x28fecb=_0x3d7f63+_0x9ab27f['rowTitleCount']-0x1;let _0x21a40f=_0x3d7f63;_0x247a2e!==''&&(_0x21a40f=_0x3d7f63+0x1);for(let _0x21726d=_0x21a40f;_0x21726d<=_0x28fecb;_0x21726d++){const _0x38a847=Ee(_0x21726d,_0x5a50b6,_0x2a85b4);_0x38a847!=null&&(_0x21726d===_0x28fecb&&(_0x4a2e8f=_0x38a847),_0x3ef9cb[_0xd08241(0x22b)](_0x38a847));}const _0x3f1a78=[..._0x3ef9cb][_0xd08241(0x1e7)](','),_0x2f173e=_0x3f1a78;_0x3d6ff2[_0xd08241(0x237)](_0x2f173e)?_0x3985a8=!0x0:_0x3d6ff2[_0xd08241(0x1fa)](_0x2f173e,!0x0);const _0x29e812=_0x28fecb+0x1;let _0x407fa9=_0x28fecb+0x14,_0x2cdea2=0x0,_0x4a6b05=!0x1,_0x38e880=!0x1;if(_0x407fa9>_0x5d0117&&(_0x407fa9=_0x5d0117),_0x29e812<_0x5d0117){let _0x325e5a='';for(let _0x34ee94=_0x29e812;_0x34ee94<=_0x407fa9;_0x34ee94++){const _0x3f0707=_0x2a85b4[_0xd08241(0x25f)](_0x34ee94,_0x5a50b6);if(!_0x3f0707)continue;const _0x3454ec=G(_0x3f0707);_0x3454ec!=null&&(ae(_0x3454ec)||(_0x325e5a+=_0x3454ec),Je(_0x3454ec)&&_0x2cdea2++);}_0x2cdea2>Math['floor']((_0x407fa9-_0x29e812+0x1)/0x2)&&(_0x38e880=!0x0),Be(_0x325e5a)/Math[_0xd08241(0x1d8)](_0x407fa9-_0x29e812+0x1,0x1)>0xf&&!_0x38e880&&(_0x4a6b05=!0x0);}_0x9ab27f[_0xd08241(0x275)]['push']({'id':_0x1bfade[_0x316b00++],'Name':_0x4a2e8f,'Type':'','Description':_0x3f1a78,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x4a6b05,'isLink':_0x38e880,'isTitleRepeat':_0x3985a8,'isUnique':!0x1,'links':[]});}Ae(_0x9ab27f,_0x377659);}_0xb04952&&(_0xb098f8[_0x39f771]=_0x217cb4),_0x217cb4[_0xd08241(0x281)]===0x0&&delete _0xb098f8[_0x39f771],(_0xf06750=(_0x4d2dd3=_0xb098f8[_0x39f771])==null?void 0x0:_0x4d2dd3['length'])!=null;}}return _0xb098f8;}function _e(_0x56a7fe,_0x3e30d9,_0x2af755){const _0xdaf2c6=_0x3bec1e;var _0x1daa2d;function _0x28df92(_0x155ff7){const _0x33fdee=_0x5263;if(_0x155ff7[_0x33fdee(0x281)]===0x0)return 0x0;_0x155ff7[_0x33fdee(0x24f)]((_0xf9fca9,_0xe148cd)=>_0xf9fca9[0x0]-_0xe148cd[0x0]);let _0x4e9085=0x0,_0xfadd02=_0x155ff7[0x0][0x0],_0x55bc7c=_0x155ff7[0x0][0x1];for(let _0xc19e6f=0x1;_0xc19e6f<_0x155ff7[_0x33fdee(0x281)];_0xc19e6f++){const [_0x392752,_0x4d3c4d]=_0x155ff7[_0xc19e6f];_0x392752<=_0x55bc7c+0x1?_0x55bc7c=Math[_0x33fdee(0x1d8)](_0x55bc7c,_0x4d3c4d):(_0x4e9085+=_0x55bc7c-_0xfadd02+0x1,_0xfadd02=_0x392752,_0x55bc7c=_0x4d3c4d);}return _0x4e9085+=_0x55bc7c-_0xfadd02+0x1,_0x4e9085;}const _0x21ccf=_0x2af755[_0xdaf2c6(0x235)][_0xdaf2c6(0x255)],_0x125fbe=_0x2af755['range'][_0xdaf2c6(0x1f1)],_0x12f591=_0x125fbe-_0x21ccf+0x1;let _0x3ce6d2=_0x56a7fe-0x1,_0x21a3b7=_0x56a7fe-0x1,_0x3884f4=!0x1;const _0x3144e0=0x64;for(let _0x460684=_0x56a7fe;_0x460684<=_0x3e30d9&&_0x460684-_0x56a7fe<_0x3144e0;_0x460684++){const _0x501279=[],_0x35e575=(_0x1daa2d=_0x2af755['rowMergeTitleCountMap'][_0xdaf2c6(0x1db)](_0x460684))!=null?_0x1daa2d:[];for(const _0x60bc65 of _0x35e575){const _0x99402a=_0x60bc65[_0xdaf2c6(0x235)][_0xdaf2c6(0x255)],_0x304861=_0x60bc65[_0xdaf2c6(0x235)][_0xdaf2c6(0x1f1)],_0x8a3ef0=Math[_0xdaf2c6(0x1d8)](_0x99402a,_0x21ccf),_0xc2fdbf=Math[_0xdaf2c6(0x1fd)](_0x304861,_0x125fbe);_0x8a3ef0<=_0xc2fdbf&&_0x501279['push']([_0x8a3ef0,_0xc2fdbf]);}_0x2af755[_0xdaf2c6(0x284)][_0xdaf2c6(0x23b)](_0x100c2e=>{const _0x53c12b=_0xdaf2c6;for(const _0x458557 of _0x100c2e){const _0x334ca4=_0x458557['range'][_0x53c12b(0x276)],_0x473602=_0x458557[_0x53c12b(0x235)][_0x53c12b(0x240)];if(_0x334ca4<=_0x460684&&_0x460684<=_0x473602){const _0x11d55e=_0x458557[_0x53c12b(0x235)][_0x53c12b(0x255)],_0x5b2e41=_0x458557[_0x53c12b(0x235)]['endColumn'],_0x110523=Math['max'](_0x11d55e,_0x21ccf),_0x4567e6=Math[_0x53c12b(0x1fd)](_0x5b2e41,_0x125fbe);_0x110523<=_0x4567e6&&_0x501279['push']([_0x110523,_0x4567e6]);}}});const _0x2da428=_0x28df92(_0x501279),_0x36e55a=_0x2da428/Math['max'](_0x12f591,0x1);_0x501279[_0xdaf2c6(0x281)]>0x0&&(_0x3ce6d2=_0x460684),_0x2da428>0x0&&_0x36e55a>=0.75&&!_0x3884f4?_0x21a3b7=_0x460684:_0x501279[_0xdaf2c6(0x281)]>0x0&&(_0x3884f4=!0x0);}return _0x3ce6d2===_0x3e30d9||_0x3ce6d2-_0x56a7fe===_0x3144e0?_0x21a3b7-_0x56a7fe+0x1:_0x3ce6d2-_0x56a7fe+0x1;}function Ue(_0x236648,_0x2e2521,_0x2bb44f){const _0xb0a829=_0x3bec1e;if(_0x236648[_0xb0a829(0x228)]+=_0x2e2521[_0xb0a829(0x22d)]()+',\x20'+_0x2bb44f[_0xb0a829(0x258)],_0x236648[_0xb0a829(0x258)]&&_0x236648[_0xb0a829(0x258)]!=='')return _0x236648['name'];const _0x5afef6=_0x236648[_0xb0a829(0x235)][_0xb0a829(0x276)],_0x2daecf=_0x236648['range'][_0xb0a829(0x255)],_0x40e4cf=_0x236648[_0xb0a829(0x235)][_0xb0a829(0x1f1)],_0x35e46f=0x3,_0x45c819=_0x236648[_0xb0a829(0x241)][_0xb0a829(0x1db)](_0x5afef6);if(_0x45c819&&_0x45c819[_0xb0a829(0x281)]>0x0)for(const _0x1fe625 of _0x45c819){const _0x2ed387=_0x1fe625[_0xb0a829(0x235)],_0x46ddf4=_0x2ed387[_0xb0a829(0x255)],_0x4ba6d4=_0x2ed387['endColumn'];if(_0x46ddf4<=_0x2daecf+_0x35e46f&&_0x4ba6d4>=_0x40e4cf-_0x35e46f){const _0x16f7cd=_0x2e2521[_0xb0a829(0x25f)](_0x5afef6,_0x46ddf4);if(!_0x16f7cd)return'';const _0x1f529c=G(_0x16f7cd);return _0x1f529c==null||_0x1f529c===''?'':(_0x236648[_0xb0a829(0x258)]=_0x1f529c,_0x1f529c);}}return'';}function Ae(_0xd1e85e,_0x118fc5){const _0xfff95c=_0x3bec1e,_0x5d0eb4={};_0x118fc5[_0xfff95c(0x1df)]()[_0xfff95c(0x1f6)](_0x53fa5f=>{const _0x3830d6=_0xfff95c,[_0x543e0e,_0x44adf8]=_0x53fa5f;return!_0x543e0e||!_0x44adf8||_0x44adf8['n']&&typeof _0x44adf8['n'][_0x3830d6(0x211)]==_0x3830d6(0x27c)&&/[YyMDd]/[_0x3830d6(0x27f)](_0x44adf8['n'][_0x3830d6(0x211)])&&(_0x5d0eb4[_0x543e0e]=!0x0),!0x0;});const _0x102c1b=_0xd1e85e[_0xfff95c(0x235)]['startRow'],_0x1eca23=_0xd1e85e[_0xfff95c(0x235)]['endRow'],_0x3d8450=_0xd1e85e['rowTitleCount'],_0x4dea96=_0xd1e85e['sheetId'],_0x47ffc5=_0x118fc5[_0xfff95c(0x25b)](_0x4dea96);if(!_0x47ffc5)return;const _0x416374=_0x1eca23-_0x102c1b+0x1-_0x3d8450;if(_0x416374<=0x1){console[_0xfff95c(0x1f4)](_0xfff95c(0x20e));return;}const _0x310e4f=[];for(let _0x17d12e=0x0;_0x17d12e<_0xd1e85e[_0xfff95c(0x235)][_0xfff95c(0x1f1)]-_0xd1e85e[_0xfff95c(0x235)]['startColumn']+0x1;_0x17d12e++)_0x310e4f['push'](new Te(_0x5d0eb4));const _0x4d6593=Math['log10'](Math[_0xfff95c(0x1d8)](_0x416374,0x1));for(let _0x1ae548=0x0;;_0x1ae548++){const _0x99d4f9=_0x1ae548,_0x8e37d4=Math[_0xfff95c(0x244)](_0x99d4f9+0.00001*_0x99d4f9**2.7*_0x4d6593*_0x4d6593)+_0x102c1b+_0x3d8450;if(_0x8e37d4>_0x1eca23)break;for(let _0x232f8d=_0xd1e85e[_0xfff95c(0x235)][_0xfff95c(0x255)];_0x232f8d<=_0xd1e85e[_0xfff95c(0x235)][_0xfff95c(0x1f1)];_0x232f8d++){const _0x5cd79d=_0x47ffc5[_0xfff95c(0x25f)](_0x8e37d4,_0x232f8d);_0x5cd79d&&_0x310e4f[_0x232f8d-_0xd1e85e[_0xfff95c(0x235)]['startColumn']]['Match'](_0x5cd79d);}}for(let _0x4faca0=0x0;_0x4faca0<_0xd1e85e[_0xfff95c(0x275)][_0xfff95c(0x281)];_0x4faca0++){const [_0x5294c4,_0x27a93b]=_0x310e4f[_0x4faca0][_0xfff95c(0x1de)]();_0xd1e85e['columns'][_0x4faca0][_0xfff95c(0x1e0)]=_0x5294c4;}}function fe(_0x377c1e){const _0x35f68b=_0x3bec1e,_0x5330a8=[];for(const _0x38ff95 of _0x377c1e[_0x35f68b(0x264)])_0x5330a8[_0x35f68b(0x1d3)]({'tableId':_0x38ff95['tableId'],'columnId':_0x38ff95[_0x35f68b(0x25d)],'linkType':_0x38ff95[_0x35f68b(0x21f)]});return _0x5330a8;}function Oe(_0x2cb301){const _0x23be8d=_0x3bec1e;return _0x2cb301[_0x23be8d(0x1f7)]===0x1;}function Le(_0x27f8d2,_0xf2a5ea,_0x1b7b2a,_0x479951,_0x1aa424){const _0x3313d9=_0x3bec1e,_0x531b87=_0x479951[_0x3313d9(0x1db)](H[_0x3313d9(0x207)]),_0x3456de=_0xf2a5ea[_0x3313d9(0x21c)](),_0x37ed73=_0x27f8d2[_0x3313d9(0x206)];if(_0x531b87[_0x3313d9(0x236)](_0x3456de,_0x37ed73)){for(const _0x922bc9 of _0x1b7b2a)if(_0x922bc9['id']===_0x27f8d2['id']){_0x922bc9[_0x3313d9(0x258)]=_0x27f8d2[_0x3313d9(0x258)],_0x922bc9[_0x3313d9(0x22e)]={},_0x922bc9[_0x3313d9(0x22e)]['description']=_0x27f8d2['description'],_0x922bc9[_0x3313d9(0x22e)][_0x3313d9(0x1f7)]=_0x27f8d2[_0x3313d9(0x1f7)],_0x922bc9[_0x3313d9(0x22e)][_0x3313d9(0x26d)]=_0x27f8d2[_0x3313d9(0x26d)],_0x922bc9[_0x3313d9(0x22e)][_0x3313d9(0x21b)]=_0x27f8d2[_0x3313d9(0x21b)];for(let _0x523a38=0x0;_0x523a38<_0x27f8d2[_0x3313d9(0x275)]['length'];_0x523a38++){const _0x1b7a44=_0x27f8d2['columns'][_0x523a38],_0xc848a9=_0x922bc9[_0x3313d9(0x275)][_0x523a38];_0xc848a9['displayName']=_0x1b7a44['Name'],_0xc848a9['dataType']=_0x1b7a44['Type'],_0xc848a9['meta']={},_0xc848a9[_0x3313d9(0x22e)]['description']=_0x1b7a44['Description'],_0xc848a9[_0x3313d9(0x22e)][_0x3313d9(0x1ec)]=_0x1b7a44['isCoded'],_0xc848a9[_0x3313d9(0x22e)][_0x3313d9(0x24b)]=_0x1b7a44['isMeasure'],_0xc848a9[_0x3313d9(0x22e)][_0x3313d9(0x245)]=_0x1b7a44[_0x3313d9(0x245)],_0xc848a9['meta']['isBigText']=_0x1b7a44[_0x3313d9(0x209)],_0xc848a9['meta']['isLink']=_0x1b7a44[_0x3313d9(0x212)],_0xc848a9[_0x3313d9(0x22e)][_0x3313d9(0x1e8)]=_0x1b7a44[_0x3313d9(0x1e8)],_0xc848a9[_0x3313d9(0x22e)][_0x3313d9(0x227)]=_0x1b7a44[_0x3313d9(0x227)],_0xc848a9[_0x3313d9(0x22e)]['links']=fe(_0x1b7a44);}me(_0x922bc9,_0x37ed73,_0xf2a5ea,_0x1aa424);}W[_0x3313d9(0x1ff)]();}}function De(_0x4ff59f,_0x35c7a7,_0xdcf77a,_0x37c159){const _0x14b68a=_0x3bec1e,_0x5ef338=_0xdcf77a['get'](H[_0x14b68a(0x207)]),_0x174f12=_0x35c7a7[_0x14b68a(0x21c)](),_0x3367df={};for(const [_0x1b18b8,_0x5d8b27]of Object['entries'](_0x4ff59f)){const _0x168567=_0x5ef338[_0x14b68a(0x236)](_0x174f12,_0x1b18b8),_0x3d4c80=(_0x168567==null?void 0x0:_0x168567[_0x14b68a(0x202)](_0x25c294=>_0x25c294[_0x14b68a(0x1ed)]()))||[];for(const _0x28e23c of _0x5d8b27){if(_0x28e23c[_0x14b68a(0x239)]){Le(_0x28e23c,_0x35c7a7,_0x3d4c80,_0xdcf77a,_0x37c159);continue;}const _0x504e06={'id':_0x28e23c['id'],'range':{'startRow':_0x28e23c['range']['startRow']+_0x28e23c[_0x14b68a(0x26d)],'endRow':_0x28e23c[_0x14b68a(0x235)][_0x14b68a(0x240)],'startColumn':_0x28e23c[_0x14b68a(0x235)]['startColumn'],'endColumn':_0x28e23c[_0x14b68a(0x235)][_0x14b68a(0x1f1)]},'name':_0x28e23c[_0x14b68a(0x258)],'meta':{},'options':{'showHeader':Oe(_0x28e23c),'showFooter':!0x1},'columns':[],'filters':{}};_0x504e06[_0x14b68a(0x22e)][_0x14b68a(0x228)]=_0x28e23c[_0x14b68a(0x228)],_0x504e06[_0x14b68a(0x22e)][_0x14b68a(0x1f7)]=_0x28e23c['rowTitleCount'],_0x504e06[_0x14b68a(0x22e)]['mergeRowTitleCount']=_0x28e23c[_0x14b68a(0x26d)],_0x504e06[_0x14b68a(0x22e)][_0x14b68a(0x21b)]=_0x28e23c[_0x14b68a(0x21b)];const _0x161cd4=_0x28e23c[_0x14b68a(0x235)][_0x14b68a(0x255)];for(let _0x5ee5f8=0x0;_0x5ee5f8<_0x28e23c['columns'][_0x14b68a(0x281)];_0x5ee5f8++){const _0x11e539=_0x28e23c[_0x14b68a(0x275)][_0x5ee5f8],_0xafabdb={'id':_0x11e539['id'],'displayName':_0x11e539[_0x14b68a(0x24e)]||_0x14b68a(0x262)+ne(_0x161cd4+_0x5ee5f8),'dataType':_0x11e539['Type'],'meta':{},'formula':'','style':{}};_0xafabdb[_0x14b68a(0x22e)][_0x14b68a(0x228)]=_0x11e539[_0x14b68a(0x1e1)],_0xafabdb['meta']['isCoded']=_0x11e539[_0x14b68a(0x1ec)],_0xafabdb['meta'][_0x14b68a(0x24b)]=_0x11e539[_0x14b68a(0x24b)],_0xafabdb[_0x14b68a(0x22e)]['isOpinionText']=_0x11e539[_0x14b68a(0x245)],_0xafabdb[_0x14b68a(0x22e)][_0x14b68a(0x209)]=_0x11e539[_0x14b68a(0x209)],_0xafabdb['meta']['isLink']=_0x11e539[_0x14b68a(0x212)],_0xafabdb[_0x14b68a(0x22e)][_0x14b68a(0x1e8)]=_0x11e539[_0x14b68a(0x1e8)],_0xafabdb[_0x14b68a(0x22e)][_0x14b68a(0x227)]=_0x11e539[_0x14b68a(0x227)],_0xafabdb[_0x14b68a(0x22e)][_0x14b68a(0x264)]=fe(_0x11e539),_0x504e06[_0x14b68a(0x275)][_0x14b68a(0x1d3)](_0xafabdb);}me(_0x504e06,_0x1b18b8,_0x35c7a7,_0x37c159),_0x3d4c80[_0x14b68a(0x1d3)](_0x504e06);}_0x3367df[_0x1b18b8]=_0x3d4c80;}for(const _0x1ce77d of Object[_0x14b68a(0x27e)](_0x4ff59f))_0x4ff59f[_0x1ce77d][_0x14b68a(0x23b)](_0x15b292=>{const _0x25d058=_0x14b68a;_0x15b292[_0x25d058(0x1d7)]();});return _0x3367df;}function ie(_0x56bd26,_0x27e9ec,_0x8e2018=0x5){const _0x47042f=_0x3bec1e;if(!Array[_0x47042f(0x257)](_0x56bd26)||_0x56bd26['length']===0x0)return[];const _0x341009=Math[_0x47042f(0x1fd)](_0x27e9ec,_0x56bd26[_0x47042f(0x281)]),_0x3dc97c=Math[_0x47042f(0x1fd)](_0x341009+_0x8e2018,_0x56bd26['length']);return _0x56bd26['slice'](_0x341009,_0x3dc97c);}function me(_0x1c5f50,_0x59177,_0x4e56fd,_0x532827){const _0x5756b0=_0x3bec1e,_0x133367=_0x4e56fd['getSheetBySheetId'](_0x59177);if(!_0x133367)return;const _0x5342b3=_0x1c5f50[_0x5756b0(0x235)],_0x2af467=ke(_0x133367,_0x5342b3);_0x532827===ee[_0x5756b0(0x1f3)]?_0x1c5f50[_0x5756b0(0x216)]=JSON[_0x5756b0(0x250)](ie(_0x2af467,0x1,0x5)):_0x532827===ee[_0x5756b0(0x268)]&&(_0x1c5f50[_0x5756b0(0x216)]=JSON['stringify'](ie(_0x2af467,0x1,_0x2af467[_0x5756b0(0x281)])));}function ke(_0x972cc6,_0x1a8a97){const _0xb90975=_0x3bec1e,{startRow:_0x1de83b,endRow:_0x1e5672,startColumn:_0x2ff624,endColumn:_0x16f383}=_0x1a8a97,_0x563a32=[],_0x57bf17=W[_0xb90975(0x1db)](_0x972cc6),_0x484e36=_0x57bf17==null?void 0x0:_0x57bf17[_0xb90975(0x21d)],_0x2df9a1=_0x57bf17==null?void 0x0:_0x57bf17[_0xb90975(0x215)],_0x4cac04=_0x972cc6[_0xb90975(0x21c)](),_0x2258c0=_0x972cc6[_0xb90975(0x200)]();for(let _0x27335d=_0x1de83b;_0x27335d<=_0x1e5672;_0x27335d++){const _0x4d2b5b=[];for(let _0x580902=_0x2ff624;_0x580902<=_0x16f383;_0x580902++){const _0x45c7b3=_0x972cc6[_0xb90975(0x25f)](_0x27335d,_0x580902);let _0x4a6c98=_0x45c7b3?te(_0x45c7b3):void 0x0;if(_0x4a6c98==null||_0x4a6c98===''){const _0x545a80={'range':{'startRow':_0x27335d,'endRow':_0x27335d,'startColumn':_0x580902,'endColumn':_0x580902},'unitId':_0x4cac04,'sheetId':_0x2258c0},_0xe9d241=(_0x484e36==null?void 0x0:_0x484e36['bulkSearch']([_0x545a80]))||new Map();if(_0xe9d241[_0xb90975(0x230)]>0x0&&_0x2df9a1){const _0x183201=_0xe9d241[_0xb90975(0x27e)]()[_0xb90975(0x1f8)]()[_0xb90975(0x1e5)],_0x359542=_0x2df9a1['get'](_0x183201);if(!_0x359542)continue;const _0x266832=_0x972cc6[_0xb90975(0x25f)](_0x359542['range'][_0xb90975(0x276)],_0x359542[_0xb90975(0x235)][_0xb90975(0x255)]);_0x266832&&(_0x4a6c98=te(_0x266832));}}_0x4d2b5b['push'](_0x4a6c98!=null?_0x4a6c98:'');}_0x563a32[_0xb90975(0x1d3)](_0x4d2b5b);}return _0x563a32;}function Je(_0x4b8f11){const _0x41cadc=_0x3bec1e;return/https?:\/\/|www\./i[_0x41cadc(0x27f)](_0x4b8f11);}function Be(_0x3d69c7){const _0x2b1258=_0x3bec1e;return Array[_0x2b1258(0x1e9)](_0x3d69c7)[_0x2b1258(0x281)];}function ae(_0x430c99){const _0x319027=_0x3bec1e;return _0x430c99?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x319027(0x27f)](_0x430c99['trim']()):!0x1;}function ne(_0x56de90){const _0x1f5627=_0x3bec1e;let _0x29d11c='',_0x289c13=_0x56de90+0x1;for(;_0x289c13>0x0;){const _0x542299=(_0x289c13-0x1)%0x1a;_0x29d11c=String['fromCharCode'](0x41+_0x542299)+_0x29d11c,_0x289c13=Math[_0x1f5627(0x244)]((_0x289c13-0x1)/0x1a);}return _0x29d11c;}var Ve=Object[_0x3bec1e(0x20f)],ze=(_0x1f4dd3,_0x40db52,_0x1d4f95,_0x287054)=>{const _0xba12e8=_0x3bec1e;for(var _0x3c1652=_0x287054>0x1?void 0x0:_0x287054?Ve(_0x40db52,_0x1d4f95):_0x40db52,_0x16ef7a=_0x1f4dd3[_0xba12e8(0x281)]-0x1,_0x541341;_0x16ef7a>=0x0;_0x16ef7a--)(_0x541341=_0x1f4dd3[_0x16ef7a])&&(_0x3c1652=_0x541341(_0x3c1652)||_0x3c1652);return _0x3c1652;},je=(_0xe06868,_0x477f64)=>(_0x434032,_0x1e044c)=>_0x477f64(_0x434032,_0x1e044c,_0xe06868);exports['RangePreprocessController']=class extends $[_0x3bec1e(0x226)]{constructor(_0x3cd835){const _0x92c2a7=_0x3bec1e;super(),this[_0x92c2a7(0x26b)]=_0x3cd835;}['getAllTableJson'](_0x3ade18,_0x56bb0c){const _0x1dacc7=_0x3bec1e;return be(_0x3ade18,this[_0x1dacc7(0x26b)],_0x56bb0c);}},exports[_0x3bec1e(0x1f9)]=ze([je(0x0,$[_0x3bec1e(0x269)]($['Injector']))],exports[_0x3bec1e(0x1f9)]);var Ge=Object['getOwnPropertyDescriptor'],qe=(_0x231b9e,_0x937d17,_0x15dd5d,_0x403cbb)=>{const _0x579968=_0x3bec1e;for(var _0x143d07=_0x403cbb>0x1?void 0x0:_0x403cbb?Ge(_0x937d17,_0x15dd5d):_0x937d17,_0x572353=_0x231b9e[_0x579968(0x281)]-0x1,_0x11b366;_0x572353>=0x0;_0x572353--)(_0x11b366=_0x231b9e[_0x572353])&&(_0x143d07=_0x11b366(_0x143d07)||_0x143d07);return _0x143d07;},le=(_0x558125,_0x37ed60)=>(_0x2ac0c9,_0x3ec1aa)=>_0x37ed60(_0x2ac0c9,_0x3ec1aa,_0x558125);const We=_0x3bec1e(0x1e4);var X;exports[_0x3bec1e(0x1e6)]=(X=class extends $[_0x3bec1e(0x1d2)]{constructor(_0x17186a={},_0x57a8ba,_0xb89d1d){const _0x38b26a=_0x3bec1e;super(),this['_config']=_0x17186a,this['_injector']=_0x57a8ba,this[_0x38b26a(0x24a)]=_0xb89d1d;const {..._0x5f2d41}=$['merge']({},this[_0x38b26a(0x263)]);this[_0x38b26a(0x24a)][_0x38b26a(0x214)](We,_0x5f2d41);}[_0x3bec1e(0x283)](){const _0x2b278d=_0x3bec1e,_0x46b3ae=[[exports[_0x2b278d(0x1f9)]]];$['registerDependencies'](this['_injector'],_0x46b3ae);}[_0x3bec1e(0x217)](){}},p(X,_0x3bec1e(0x210),'UNIVER_RANGE_PREPROCESS_PLUGIN'),X),exports[_0x3bec1e(0x1e6)]=qe([le(0x1,$[_0x3bec1e(0x269)]($[_0x3bec1e(0x233)])),le(0x2,$[_0x3bec1e(0x22f)])],exports[_0x3bec1e(0x1e6)]);
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x937bb1=_0x9b85;function _0x49cc(){var _0x488774=['_injector','290495MQLwVx','extend','236568mbBnqF','_workbook','21146AgqAuO','1797068VLVuIS','12maxAXp','43848DvsspM','60gchByG','473WaBhjd','15YDGmky','224JslTIh','576279YYIqpi','67496SoqdfH','getPreprocessRanges','get'];_0x49cc=function(){return _0x488774;};return _0x49cc();}function _0x9b85(_0x3739e2,_0x1c3938){_0x3739e2=_0x3739e2-0x11a;var _0x49ccba=_0x49cc();var _0x9b854d=_0x49ccba[_0x3739e2];return _0x9b854d;}(function(_0x504e94,_0x59c161){var _0x2d9379=_0x9b85,_0xa685e2=_0x504e94();while(!![]){try{var _0x45f468=parseInt(_0x2d9379(0x11a))/0x1+parseInt(_0x2d9379(0x128))/0x2*(parseInt(_0x2d9379(0x11d))/0x3)+parseInt(_0x2d9379(0x129))/0x4+parseInt(_0x2d9379(0x124))/0x5*(-parseInt(_0x2d9379(0x12a))/0x6)+parseInt(_0x2d9379(0x11e))/0x7*(parseInt(_0x2d9379(0x120))/0x8)+-parseInt(_0x2d9379(0x11f))/0x9*(-parseInt(_0x2d9379(0x11b))/0xa)+-parseInt(_0x2d9379(0x11c))/0xb*(parseInt(_0x2d9379(0x126))/0xc);if(_0x45f468===_0x59c161)break;else _0xa685e2['push'](_0xa685e2['shift']());}catch(_0x111298){_0xa685e2['push'](_0xa685e2['shift']());}}}(_0x49cc,0x39ada));import{RangePreprocessController as _0x304eb3}from'@univerjs-pro/range-preprocess';import{FWorkbook as _0x10a927}from'@univerjs/sheets/facade';class s extends _0x10a927{[_0x937bb1(0x121)](_0x11d58d){var _0x581eae=_0x937bb1;return this[_0x581eae(0x123)][_0x581eae(0x122)](_0x304eb3)['getAllTableJson'](this[_0x581eae(0x127)],_0x11d58d);}}_0x10a927[_0x937bb1(0x125)](s);
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x291b18=_0x36ea;(function(_0x43d9d0,_0x47fb55){const _0x16f20e=_0x36ea,_0x51f349=_0x43d9d0();while(!![]){try{const _0x50b906=parseInt(_0x16f20e(0x197))/0x1*(parseInt(_0x16f20e(0x1f5))/0x2)+-parseInt(_0x16f20e(0x1ba))/0x3*(-parseInt(_0x16f20e(0x1a7))/0x4)+parseInt(_0x16f20e(0x1c6))/0x5+-parseInt(_0x16f20e(0x1e5))/0x6*(parseInt(_0x16f20e(0x1db))/0x7)+-parseInt(_0x16f20e(0x1d4))/0x8*(parseInt(_0x16f20e(0x21f))/0x9)+parseInt(_0x16f20e(0x1e1))/0xa+-parseInt(_0x16f20e(0x19b))/0xb*(parseInt(_0x16f20e(0x1c3))/0xc);if(_0x50b906===_0x47fb55)break;else _0x51f349['push'](_0x51f349['shift']());}catch(_0x57ee6f){_0x51f349['push'](_0x51f349['shift']());}}}(_0x708a,0x4e6c6));var Re=Object[_0x291b18(0x1ab)],Te=(_0x5dbca9,_0x34fda6,_0x31f459)=>_0x34fda6 in _0x5dbca9?Re(_0x5dbca9,_0x34fda6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31f459}):_0x5dbca9[_0x34fda6]=_0x31f459,p=(_0x7b4f72,_0x216730,_0x35d3fe)=>Te(_0x7b4f72,typeof _0x216730!=_0x291b18(0x20f)?_0x216730+'':_0x216730,_0x35d3fe);function _0x708a(){const _0x251043=['2006-01-02T15:04:05','map','columns','test','dispose','linkType','getName','needConvert','size','recognizers','4PKjhwv','column_','getAllTableJson','trunc','defineProperty','none','join','_injector','isMatchEnd','getSheets','string','description','get','Sample','Confidence','stringify','02-01-2006','getMonth','getColumnCount','1481181xlXpqa','meta','2006/01/02','max','Charset','_configService','startRow','columnMergeTitleState','getRowCount','12Iciwki','mergeRangeMap','floor','2671475GhNhbK','forEach','customRanges','toLowerCase','2\x20Jan.,\x202006','all','isTitleRepeat','pattern','01-02-2006','getStyles','isOpinionText','Best','clear','boolean','204920umxAcZ','tableId','insert','Calc','endColumn','layout','2\x20January,2006','133XZVlOF','has','range','sort','bulkSearch','endStatisticRowCount','5752550iVkdKM','Description','isCoded','slice','180618STsWhl','number','confidence','name','endIndex','insertCellData','onReady','columnMergeTitleCountMap','isLink','All','skip\x20small\x20table','excel','warn','_config','dataStream','UNIVER_RANGE_PREPROCESS_PLUGIN','2DKODEL','setConfig','intersectWithColumns','next','getOwnPropertyDescriptor','dataType','isMatchContinue','sample','getSheetId','set','Match','isTestTable','values','displayName','add','fromCharCode','2006/1/2','startIndex','trim','isUpdateTable','invalid','2006-01-02','2006-01-02\x2015:04:05','columnId','replace','links','symbol','getFullYear','each','rowMergeTitleState','startStatisticRowCount',',\x20rangeName:','getSheetBySheetId','BOOLEAN','getMergeData','getCell','_isRowContinuous','NUMBER','January\x202,\x202006','toJSON','merge','endRow','72sfxhpx','rowMergeTitleCountMap','isFinite','push','keys','splice','sheetId','getPlainText','valid','getUnitId','Layout','isUnique','transform','isBigText','value','Name','log10','entries','isMeasure','timeStampStyles','January\x202,2006','unknown','Type','intersectWithPreTables','startColumn','getTablesBySubunitId','pluginName','2\x20January,\x202006','saveTableToCache','dateStyles','mergeRowTitleCount','02.01.2006','20060102','date','2006-1-2','from','data','length','properties','isTimeSeries','MAX_SAFE_INTEGER','2006年1月2日','370058gHOWYb','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','mergeRTree','rowTitleCount','9627596CFfzFU','min'];_0x708a=function(){return _0x251043;};return _0x708a();}import{CellValueType as _0x25dde4,generateRandomId as _0x3743f7,RTree as _0xf36b02,BuildTextUtils as _0x263605,Inject as _0x21ccb6,Injector as _0x2837b4,Disposable as _0x5d41b1,IConfigService as _0x585984,Plugin as _0x363126,merge as _0x5f3a97,registerDependencies as _0x36e494}from'@univerjs/core';import'@univerjs/sheets-filter';import{TableManager as _0x1afa5c}from'@univerjs/sheets-table';function re(_0x53a6ca){const _0x196fe6=_0x291b18;return _0x53a6ca['v']==null?'':String(_0x53a6ca['v'])[_0x196fe6(0x207)]();}function Ne(_0x3d64c5){const _0x291aa1=_0x291b18;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x291aa1(0x1a0)](_0x3d64c5);}const F=0x2,Q=0x1;function he(_0x3de266,_0xfa21bc){const _0x589cd5=_0x291b18,_0x3fcfa8={'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}$/}[_0xfa21bc];if(!_0x3fcfa8||!_0x3fcfa8[_0x589cd5(0x1a0)](_0x3de266))return!0x1;const _0x28a0a1=_0x3de266[_0x589cd5(0x20d)](/\D+/g,'\x20')[_0x589cd5(0x207)]()['split'](/\s+/)[_0x589cd5(0x19e)](Number);let _0x1c61dd=0x0,_0x389b2c=0x1,_0x3a34e4=0x1,_0x32af29=0x0,_0x43a086=0x0,_0x4456cd=0x0;switch(_0xfa21bc){case _0x589cd5(0x20a):case'2006-1-2':case _0x589cd5(0x1bc):case'2006/1/2':[_0x1c61dd,_0x389b2c,_0x3a34e4]=_0x28a0a1;break;case _0x589cd5(0x196):[_0x1c61dd,_0x389b2c,_0x3a34e4]=_0x28a0a1;break;case'02-01-2006':case'02/01/2006':case _0x589cd5(0x18c):[_0x3a34e4,_0x389b2c,_0x1c61dd]=_0x28a0a1;break;case _0x589cd5(0x1ce):case'01/02/2006':[_0x389b2c,_0x3a34e4,_0x1c61dd]=_0x28a0a1;break;case'20060102':{const _0x3ff4a3=_0x3de266;_0x1c61dd=+_0x3ff4a3['slice'](0x0,0x4),_0x389b2c=+_0x3ff4a3[_0x589cd5(0x1e4)](0x4,0x6),_0x3a34e4=+_0x3ff4a3[_0x589cd5(0x1e4)](0x6,0x8);break;}case _0x589cd5(0x19d):case _0x589cd5(0x20b):[_0x1c61dd,_0x389b2c,_0x3a34e4,_0x32af29,_0x43a086,_0x4456cd]=_0x28a0a1;break;default:return!0x0;}if(_0x389b2c<0x1||_0x389b2c>0xc||_0x3a34e4<0x1||_0x3a34e4>0x1f||_0x32af29<0x0||_0x32af29>0x17||_0x43a086<0x0||_0x43a086>0x3b||_0x4456cd<0x0||_0x4456cd>0x3b)return!0x1;const _0x355283=new Date(_0x1c61dd,_0x389b2c-0x1,_0x3a34e4,_0x32af29,_0x43a086,_0x4456cd);return!(_0x355283[_0x589cd5(0x210)]()!==_0x1c61dd||_0x355283[_0x589cd5(0x1b8)]()!==_0x389b2c-0x1||_0x355283['getDate']()!==_0x3a34e4);}function Ee(_0x347cdd){const _0x538529=_0x291b18;return Number[_0x538529(0x221)](_0x347cdd)&&_0x347cdd>=0x1&&_0x347cdd<=0x13880;}function $e(_0x544eaf){const _0x2935b8=_0x291b18;switch(_0x544eaf){case 0x0:return _0x2935b8(0x1b1);case 0x1:return _0x2935b8(0x1e6);case 0x2:case 0x3:case 0x4:return _0x2935b8(0x18e);case 0x5:return _0x2935b8(0x1d3);default:return _0x2935b8(0x234);}}class Y{constructor(){const _0x7eaeaf=_0x291b18;p(this,_0x7eaeaf(0x227),0x0),p(this,_0x7eaeaf(0x209),0x0),p(this,_0x7eaeaf(0x1e7),0x0);}}class b extends Y{constructor(_0xd582b0){const _0x388bde=_0x291b18;super(),p(this,_0x388bde(0x232)),p(this,'dt'),p(this,_0x388bde(0x1d9)),p(this,'needConvert'),(this['dt']=_0xd582b0['dt'],this['layout']=_0xd582b0['layout'],this[_0x388bde(0x1a4)]=!!_0xd582b0[_0x388bde(0x1a4)]);}[_0x291b18(0x1ff)](_0x1aa316){const _0x5c218a=_0x291b18;if(_0x1aa316['t']===_0x25dde4['STRING']){const _0x4ad20e=re(_0x1aa316);if(!_0x4ad20e)return;he(_0x4ad20e,this[_0x5c218a(0x1d9)])?this[_0x5c218a(0x227)]+=F:this[_0x5c218a(0x209)]++;}}['Calc'](){const _0x348ca6=_0x291b18,_0x3295bf=0x64-Math[_0x348ca6(0x1aa)]((this['invalid']*0xa+0x1)*0x64/(this['invalid']+this[_0x348ca6(0x227)]+0x1)),_0x19c459={'Charset':this['dt'],'Confidence':_0x3295bf,'debugInfo':this['layout']};return this[_0x348ca6(0x1a4)]&&(_0x19c459[_0x348ca6(0x229)]=this[_0x348ca6(0x1d9)]),_0x19c459;}}class se extends Y{constructor(_0x2ff1a6){const _0x127d70=_0x291b18;super(),p(this,_0x127d70(0x18a)),p(this,_0x127d70(0x232)),p(this,'dt'),p(this,_0x127d70(0x1d9)),p(this,_0x127d70(0x1a4)),(this[_0x127d70(0x18a)]=_0x2ff1a6['dateStyles']||{},this['dt']=_0x2ff1a6['dt'],this['layout']=_0x2ff1a6[_0x127d70(0x1d9)],this[_0x127d70(0x1a4)]=!!_0x2ff1a6[_0x127d70(0x1a4)]);}[_0x291b18(0x1ff)](_0x1a8022){const _0x253ffd=_0x291b18;if(_0x1a8022['t']===_0x25dde4['NUMBER']){if(_0x1a8022['s']&&this[_0x253ffd(0x18a)][_0x1a8022['s']]){this[_0x253ffd(0x227)]+=F;return;}const _0xd466cb=re(_0x1a8022);if(!_0xd466cb)return;if(this['layout']===_0x253ffd(0x1f0)){const _0x310c34=Number(_0xd466cb);if(Ee(_0x310c34)){this['valid']+=F;return;}}he(_0xd466cb,this['layout'])?this['valid']+=F:this[_0x253ffd(0x209)]++;}}[_0x291b18(0x1d7)](){const _0x503279=_0x291b18,_0x3b8c67=0x64-Math['trunc']((this[_0x503279(0x209)]*0xa+0x1)*0x64/(this[_0x503279(0x209)]+this[_0x503279(0x227)]+0x1)),_0x22cb8b={'Charset':this['dt'],'Confidence':_0x3b8c67,'debugInfo':this['layout']};return this[_0x503279(0x1a4)]&&(_0x22cb8b[_0x503279(0x229)]=this[_0x503279(0x1d9)]),_0x22cb8b;}}class _e extends Y{[_0x291b18(0x1ff)](_0x215fe5){const _0x5d32bd=_0x291b18;if(_0x215fe5['t']===_0x25dde4[_0x5d32bd(0x21a)])this['valid']+=Q;else{const _0x5b770e=re(_0x215fe5);if(!_0x5b770e)return;Ne(_0x5b770e)?this[_0x5d32bd(0x227)]+=Q:this['invalid']++;}}[_0x291b18(0x1d7)](){const _0x180ff1=_0x291b18;return{'Charset':0x1,'Confidence':0x64-Math[_0x180ff1(0x1aa)]((this['invalid']*0xa+0x1)*0x64/(this[_0x180ff1(0x209)]+this['valid']+0x1)),'debugInfo':_0x180ff1(0x1e6)};}}class Ae extends Y{[_0x291b18(0x1ff)](_0x486fd1){const _0x2033dd=_0x291b18;_0x486fd1['t']===_0x25dde4[_0x2033dd(0x216)]?this[_0x2033dd(0x227)]+=Q:this[_0x2033dd(0x209)]++;}[_0x291b18(0x1d7)](){const _0x3fe7be=_0x291b18;return{'Charset':0x5,'Confidence':0x64-Math[_0x3fe7be(0x1aa)]((this[_0x3fe7be(0x209)]*0xa+0x1)*0x64/(this['invalid']+this[_0x3fe7be(0x227)]+0x1)),'debugInfo':'number'};}}class Oe{constructor(_0x4998b6){const _0x507c01=_0x291b18;p(this,_0x507c01(0x1a6)),p(this,'dateStyles'),(this[_0x507c01(0x18a)]=_0x4998b6||{},this[_0x507c01(0x1a6)]=[new b({'dt':0x2,'layout':_0x507c01(0x20a)}),new b({'dt':0x2,'layout':_0x507c01(0x18f)}),new b({'dt':0x2,'layout':_0x507c01(0x1bc)}),new b({'dt':0x2,'layout':_0x507c01(0x205)}),new b({'dt':0x2,'layout':'2006年1月2日','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x1b7),'needConvert':!0x0}),new b({'dt':0x2,'layout':'02/01/2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x18c),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x1ce),'needConvert':!0x0}),new b({'dt':0x2,'layout':'01/02/2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x188),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x1da),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x1ca),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x21b),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x233),'needConvert':!0x0}),new b({'dt':0x2,'layout':'Jan.\x202,\x202006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x507c01(0x18d),'needConvert':!0x0}),new se({'dateStyles':this['dateStyles'],'dt':0x2,'layout':'20060102','needConvert':!0x0}),new b({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new b({'dt':0x4,'layout':_0x507c01(0x20b)}),new se({'dateStyles':this['dateStyles'],'dt':0x3,'layout':_0x507c01(0x1f0),'needConvert':!0x0}),new _e(),new Ae()]);}['Match'](_0x3220c0){const _0x98ef25=_0x291b18;for(const _0x2bcfa3 of this[_0x98ef25(0x1a6)])_0x2bcfa3['Match'](_0x3220c0);}[_0x291b18(0x1d1)](){const _0x1e8c42=_0x291b18,_0x47b2e8=this['recognizers'][_0x1e8c42(0x19e)](_0x2f7d4d=>_0x2f7d4d['Calc']());if(_0x47b2e8[_0x1e8c42(0x1de)]((_0x229f24,_0x529aa4)=>_0x529aa4['Confidence']-_0x229f24['Confidence']),_0x47b2e8[_0x1e8c42(0x192)]===0x0||_0x47b2e8[0x0][_0x1e8c42(0x1b5)]<0x32)return[_0x1e8c42(0x1b1),null];const _0x4538de=_0x47b2e8[0x0];return[$e(_0x4538de[_0x1e8c42(0x1be)]),_0x4538de];}}function ge(_0x6d0a0f,_0x4bc48e){const _0x22c3f0=_0x291b18;let _0x55c20e=_0x6d0a0f,_0x5e909c=_0x4bc48e;_0x55c20e<=0x0&&(_0x55c20e=0x6),_0x5e909c<=0x0&&(_0x5e909c=0xa),_0x5e909c=_0x5e909c*0x2;const _0x616394=[];for(let _0x68ba5b=0x0;_0x68ba5b<_0x5e909c;_0x68ba5b++)_0x616394[_0x22c3f0(0x222)](_0x3743f7(_0x55c20e));const _0x55d7bc=new Map();for(const _0x266fa5 of _0x616394){const _0x29ba8d=_0x266fa5[_0x22c3f0(0x1c9)]();_0x55d7bc[_0x22c3f0(0x1dc)](_0x29ba8d)||_0x55d7bc[_0x22c3f0(0x1fe)](_0x29ba8d,_0x266fa5);}return Array[_0x22c3f0(0x190)](_0x55d7bc[_0x22c3f0(0x201)]());}var ee=(_0x48c63e=>(_0x48c63e['None']=_0x291b18(0x1ac),_0x48c63e['All']=_0x291b18(0x1cb),_0x48c63e['Sample']=_0x291b18(0x1fc),_0x48c63e))(ee||{});class K{constructor(_0x81df61){const _0x378d7=_0x291b18;p(this,'id'),p(this,_0x378d7(0x225)),p(this,'range'),p(this,'name'),p(this,_0x378d7(0x1b2)),p(this,_0x378d7(0x19a)),p(this,_0x378d7(0x18b)),p(this,'startStatisticRowCount'),p(this,_0x378d7(0x1e0)),p(this,_0x378d7(0x220)),p(this,_0x378d7(0x212)),p(this,'columnMergeTitleState'),p(this,_0x378d7(0x1ec)),p(this,_0x378d7(0x1af)),p(this,_0x378d7(0x1fb)),p(this,_0x378d7(0x194)),p(this,_0x378d7(0x200)),p(this,_0x378d7(0x208)),p(this,'columns');var _0x296c37,_0x9e80a5,_0x50d5e2,_0x415241,_0x59fef1,_0x3af16f,_0x4abdda,_0x1cb9e1,_0x30787f,_0x39b9ed,_0x16f945,_0x5c6dbf,_0x23c510,_0x34a95a,_0x11955a,_0x196da7,_0x1a54f6,_0x146462,_0x23153f;this['id']=(_0x296c37=_0x81df61==null?void 0x0:_0x81df61['id'])!=null?_0x296c37:'',this[_0x378d7(0x225)]=(_0x9e80a5=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x225)])!=null?_0x9e80a5:_0x3743f7(),this[_0x378d7(0x1dd)]=(_0x50d5e2=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x1dd)])!=null?_0x50d5e2:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x378d7(0x1e8)]=(_0x415241=_0x81df61==null?void 0x0:_0x81df61['name'])!=null?_0x415241:'',this['description']=(_0x59fef1=_0x81df61==null?void 0x0:_0x81df61['description'])!=null?_0x59fef1:'',this['rowTitleCount']=(_0x3af16f=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x19a)])!=null?_0x3af16f:0x0,this[_0x378d7(0x18b)]=(_0x4abdda=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x18b)])!=null?_0x4abdda:0x0,this['startStatisticRowCount']=(_0x1cb9e1=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x213)])!=null?_0x1cb9e1:0x0,this[_0x378d7(0x1e0)]=(_0x30787f=_0x81df61==null?void 0x0:_0x81df61['endStatisticRowCount'])!=null?_0x30787f:0x0,this['rowMergeTitleCountMap']=(_0x39b9ed=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x220)])!=null?_0x39b9ed:new Map(),this[_0x378d7(0x212)]=(_0x16f945=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x212)])!=null?_0x16f945:!0x1,this['columnMergeTitleState']=(_0x5c6dbf=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x1c1)])!=null?_0x5c6dbf:!0x1,this[_0x378d7(0x1ec)]=(_0x23c510=_0x81df61==null?void 0x0:_0x81df61['columnMergeTitleCountMap'])!=null?_0x23c510:new Map(),this['isMatchEnd']=(_0x34a95a=_0x81df61==null?void 0x0:_0x81df61['isMatchEnd'])!=null?_0x34a95a:!0x1,this[_0x378d7(0x1fb)]=(_0x11955a=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x1fb)])!=null?_0x11955a:!0x1,this[_0x378d7(0x194)]=(_0x196da7=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x194)])!=null?_0x196da7:!0x1,this[_0x378d7(0x200)]=(_0x1a54f6=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x200)])!=null?_0x1a54f6:!0x1,this[_0x378d7(0x208)]=(_0x146462=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x208)])!=null?_0x146462:!0x1,this[_0x378d7(0x19f)]=(_0x23153f=_0x81df61==null?void 0x0:_0x81df61[_0x378d7(0x19f)])!=null?_0x23153f:[];}[_0x291b18(0x219)](_0x220aba,_0x2a8978){return _0x2a8978-_0x220aba===0x1||_0x2a8978===_0x220aba;}['intersectWithPreTables'](_0x278de6){const _0x2538b1=_0x291b18,_0x423014=[];for(const _0x119f8c of _0x278de6)this[_0x2538b1(0x1dd)][_0x2538b1(0x1d8)]<_0x119f8c[_0x2538b1(0x1dd)]['startColumn']||this['range']['startColumn']>_0x119f8c[_0x2538b1(0x1dd)][_0x2538b1(0x1d8)]||this[_0x2538b1(0x219)](_0x119f8c[_0x2538b1(0x1dd)][_0x2538b1(0x21e)],this[_0x2538b1(0x1dd)][_0x2538b1(0x1c0)])&&_0x423014['push'](_0x119f8c);return _0x423014;}[_0x291b18(0x1f7)](_0x274066){const _0x14d62e=_0x291b18;return _0x274066['range']['endRow']===this[_0x14d62e(0x1dd)][_0x14d62e(0x1c0)]&&this['range'][_0x14d62e(0x1d8)]+0x1===_0x274066[_0x14d62e(0x1dd)]['startColumn'];}[_0x291b18(0x189)](_0x1909e){const _0x582535=_0x291b18;return this[_0x582535(0x1dd)][_0x582535(0x237)]===-0x1?this:(_0x1909e['push'](this),new K({'sheetId':this[_0x582535(0x225)],'range':{'startRow':this[_0x582535(0x1dd)][_0x582535(0x1c0)],'endRow':this[_0x582535(0x1dd)]['endRow'],'startColumn':-0x1,'endColumn':-0x1}}));}['insertCellData'](_0x53a94f,_0x33c696,_0x4436f6,_0x5b8969){const _0x405313=_0x291b18;this[_0x405313(0x1dd)][_0x405313(0x237)]===-0x1&&(this[_0x405313(0x1dd)][_0x405313(0x237)]=_0x33c696),this[_0x405313(0x1dd)][_0x405313(0x1d8)]=_0x33c696,_0x5b8969!=null&&(this[_0x405313(0x1dd)][_0x405313(0x1d8)]=Math[_0x405313(0x1bd)](_0x5b8969,this[_0x405313(0x1dd)][_0x405313(0x1d8)]));}[_0x291b18(0x1a1)](){const _0x849898=_0x291b18;this[_0x849898(0x220)][_0x849898(0x1d2)](),this[_0x849898(0x1ec)][_0x849898(0x1d2)](),this['columns']=[];}}function we(_0x59d407,_0x510941){const {startRow:_0x528e91,startColumn:_0x1c828f,endRow:_0x3a0cf4,endColumn:_0x46f9fd}=_0x510941;return _0x59d407+':'+_0x528e91+','+_0x1c828f+'-'+_0x3a0cf4+','+_0x46f9fd;}const W=new Map();function Pe(_0x20d41e,_0x38c89a){const _0x116498=_0x291b18;var _0x1d8dd2;const _0x42da28=new _0xf36b02(!0x1),_0x1596b0=_0x38c89a[_0x116498(0x1fd)](),_0x6cacdb=new Map(),_0x55fc4f=(_0x1d8dd2=_0x38c89a[_0x116498(0x217)]())!=null?_0x1d8dd2:[];W[_0x116498(0x1d2)]();for(const _0x59d5f1 of _0x55fc4f){const _0x585db5=we(_0x116498(0x21d),_0x59d5f1),_0x311bb1={'unitId':_0x20d41e,'sheetId':_0x1596b0,'range':_0x59d5f1,'id':_0x585db5};_0x42da28[_0x116498(0x1d6)](_0x311bb1),_0x6cacdb[_0x116498(0x1fe)](_0x585db5,_0x311bb1);}return W[_0x116498(0x1fe)](_0x38c89a,{'mergeRTree':_0x42da28,'mergeRangeMap':_0x6cacdb}),{'mergeRTree':_0x42da28,'mergeRangeMap':_0x6cacdb};}function Ue(_0x247c15,_0x370577,_0x185583){const _0x1e5f7a=_0x291b18,_0x4d9cbc=new _0xf36b02(!0x1),_0xf30dce=_0x185583[_0x1e5f7a(0x1b3)](_0x1afa5c)['getTableList'](_0x247c15);if(_0xf30dce&&Array['isArray'](_0xf30dce))for(const _0x47501d of _0xf30dce){if(!(_0x47501d!=null&&_0x47501d['range']))continue;const _0x515976=_0x47501d[_0x1e5f7a(0x1dd)],_0x21f4c0={'unitId':_0x247c15,'sheetId':_0x370577,'range':_0x515976,'id':we('table',_0x515976)};_0x4d9cbc[_0x1e5f7a(0x1d6)](_0x21f4c0);}return _0x4d9cbc;}function ie(_0x11cb20,_0x34b41d,_0x507a94){const _0x2dfff6=_0x291b18,_0x21ed13=_0x11cb20[_0x2dfff6(0x1b3)](_0x34b41d);_0x21ed13?_0x21ed13[_0x2dfff6(0x222)](_0x507a94):_0x11cb20['set'](_0x34b41d,[_0x507a94]);}function Le(_0x65fd2b,_0x2bd460){const _0x350588=_0x291b18;var _0x3bf078,_0x3c21e,_0x5d72c7;const _0x12845c=_0x65fd2b[_0x350588(0x1b0)](),_0x105cd7={},_0xe103a8=_0x65fd2b[_0x350588(0x228)]();for(const _0x188edb of _0x12845c){const _0x518874=_0x188edb['getSheetId'](),_0x1148a9=_0x188edb[_0x350588(0x1c2)](),_0x3115ec=_0x188edb[_0x350588(0x1b9)](),{mergeRTree:_0x5c2844,mergeRangeMap:_0x1a50c9}=Pe(_0xe103a8,_0x188edb),_0x2e1428=Ue(_0xe103a8,_0x518874,_0x2bd460),_0x48ddf7=[];let _0x5b54af=[];for(let _0x3fb0c5=0x0;_0x3fb0c5<_0x1148a9;_0x3fb0c5++){const _0xf20775=[];let _0x445d1d=new K({'sheetId':_0x518874,'range':{'startRow':_0x3fb0c5,'endRow':_0x3fb0c5,'startColumn':-0x1,'endColumn':-0x1}});const _0xb57c9b=new Map();for(let _0x48ea69=0x0;_0x48ea69<=_0x3115ec;_0x48ea69++){const _0x5aa6d2=_0x188edb[_0x350588(0x218)](_0x3fb0c5,_0x48ea69),_0x49aa1e={'range':{'startRow':_0x3fb0c5,'startColumn':_0x48ea69,'endRow':_0x3fb0c5,'endColumn':_0x48ea69},'unitId':_0xe103a8,'sheetId':_0x518874};if(_0x2e1428[_0x350588(0x1df)]([_0x49aa1e])[_0x350588(0x1a5)]>0x0){_0x445d1d=_0x445d1d[_0x350588(0x189)](_0xf20775);continue;}const _0x20bf92=_0x5c2844[_0x350588(0x1df)]([_0x49aa1e]);if(_0x20bf92[_0x350588(0x1a5)]>0x0){const _0x2681bc=_0x445d1d['intersectWithPreTables'](_0x5b54af),_0x24a709=_0x20bf92[_0x350588(0x223)]()[_0x350588(0x1f8)]()['value'],_0x8d9c79=_0x1a50c9[_0x350588(0x1b3)](_0x24a709);if(!_0x8d9c79)continue;const _0x2266c6={'startRow':_0x8d9c79[_0x350588(0x1dd)][_0x350588(0x1c0)],'endRow':_0x8d9c79[_0x350588(0x1dd)][_0x350588(0x21e)],'startColumn':_0x8d9c79[_0x350588(0x1dd)][_0x350588(0x237)],'endColumn':_0x8d9c79[_0x350588(0x1dd)][_0x350588(0x1d8)]},_0x41eb6d=_0x188edb[_0x350588(0x218)](_0x2266c6[_0x350588(0x1c0)],_0x2266c6[_0x350588(0x237)]);if(_0x41eb6d&&(_0x41eb6d['p']!=null||_0x41eb6d['v']!=null&&String(_0x41eb6d['v'])['length']>0x0)){_0x445d1d[_0x350588(0x1ea)](_0x3fb0c5,_0x48ea69,_0x5aa6d2,_0x2266c6[_0x350588(0x1d8)]);for(let _0x5f5910=_0x2266c6[_0x350588(0x237)];_0x5f5910<=_0x2266c6[_0x350588(0x1d8)];_0x5f5910++)_0xb57c9b[_0x350588(0x1fe)](_0x5f5910,!0x0);}else _0x445d1d=_0x445d1d[_0x350588(0x189)](_0xf20775);const _0x27f5db=_0x2266c6[_0x350588(0x21e)]-_0x2266c6[_0x350588(0x1c0)],_0xd9cd1b=_0x2266c6[_0x350588(0x1d8)]-_0x2266c6['startColumn'];if(_0x2681bc['length']===0x1){if(_0x27f5db>0x0&&ie(_0x445d1d[_0x350588(0x1ec)],_0x48ea69,_0x8d9c79),_0xd9cd1b>0x0){const _0x4e3a37=(_0x3bf078=_0x445d1d[_0x350588(0x220)]['get'](_0x3fb0c5))!=null?_0x3bf078:[];_0x4e3a37[_0x350588(0x222)](_0x8d9c79),_0x445d1d[_0x350588(0x220)][_0x350588(0x1fe)](_0x3fb0c5,_0x4e3a37);}}else{if(_0x27f5db>0x0&&(_0x445d1d[_0x350588(0x1c1)]=!0x0,ie(_0x445d1d[_0x350588(0x1ec)],_0x48ea69,_0x8d9c79)),_0xd9cd1b>0x0){_0x445d1d[_0x350588(0x212)]=!0x0;const _0x2e2ab6=(_0x3c21e=_0x445d1d['rowMergeTitleCountMap']['get'](_0x3fb0c5))!=null?_0x3c21e:[];_0x2e2ab6[_0x350588(0x222)](_0x8d9c79),_0x445d1d['rowMergeTitleCountMap'][_0x350588(0x1fe)](_0x3fb0c5,_0x2e2ab6);}}continue;}if((!_0x5aa6d2||V(_0x5aa6d2)==null)&&!_0xb57c9b[_0x350588(0x1b3)](_0x48ea69)){_0x445d1d=_0x445d1d[_0x350588(0x189)](_0xf20775);continue;}_0x5aa6d2&&V(_0x5aa6d2)!=null?_0x445d1d[_0x350588(0x1ea)](_0x3fb0c5,_0x48ea69,_0x5aa6d2):(_0x445d1d['rowMergeTitleState']=!0x1,_0x445d1d[_0x350588(0x1c1)]=!0x1,_0x445d1d=_0x445d1d['saveTableToCache'](_0xf20775));}if(_0xf20775[_0x350588(0x192)]===0x0){_0x48ddf7['push'](..._0x5b54af),_0x5b54af=[];continue;}if(_0x5b54af[_0x350588(0x192)]===0x0){_0x5b54af[_0x350588(0x222)](..._0xf20775);continue;}const _0x5db9d4=(_0x3c4bf4,_0x44aceb)=>{const _0x3719a6=_0x350588;_0x3c4bf4[_0x3719a6(0x1dd)][_0x3719a6(0x1c0)]=Math['min'](_0x3c4bf4[_0x3719a6(0x1dd)][_0x3719a6(0x1c0)],_0x44aceb[_0x3719a6(0x1dd)][_0x3719a6(0x1c0)]),_0x3c4bf4[_0x3719a6(0x1dd)]['endRow']=Math['max'](_0x3c4bf4[_0x3719a6(0x1dd)]['endRow'],_0x44aceb[_0x3719a6(0x1dd)][_0x3719a6(0x21e)]),_0x3c4bf4[_0x3719a6(0x1dd)][_0x3719a6(0x237)]=Math[_0x3719a6(0x19c)](_0x3c4bf4[_0x3719a6(0x1dd)]['startColumn'],_0x44aceb[_0x3719a6(0x1dd)][_0x3719a6(0x237)]),_0x3c4bf4[_0x3719a6(0x1dd)][_0x3719a6(0x1d8)]=Math[_0x3719a6(0x1bd)](_0x3c4bf4[_0x3719a6(0x1dd)]['endColumn'],_0x44aceb[_0x3719a6(0x1dd)]['endColumn']),_0x44aceb[_0x3719a6(0x220)][_0x3719a6(0x1c7)]((_0x545dfe,_0x462d21)=>{const _0x1afe3c=_0x3719a6;var _0x1d9d63;const _0x5e5599=(_0x1d9d63=_0x3c4bf4[_0x1afe3c(0x220)][_0x1afe3c(0x1b3)](_0x462d21))!=null?_0x1d9d63:[];_0x5e5599[_0x1afe3c(0x222)](..._0x545dfe),_0x3c4bf4['rowMergeTitleCountMap'][_0x1afe3c(0x1fe)](_0x462d21,_0x5e5599);}),_0x44aceb[_0x3719a6(0x1ec)][_0x3719a6(0x1c7)]((_0x1f92e3,_0x3cb2b1)=>{const _0x46d975=_0x3719a6;var _0x3387df;const _0x22be6e=(_0x3387df=_0x3c4bf4[_0x46d975(0x1ec)][_0x46d975(0x1b3)](_0x3cb2b1))!=null?_0x3387df:[];_0x22be6e[_0x46d975(0x222)](..._0x1f92e3),_0x3c4bf4['columnMergeTitleCountMap'][_0x46d975(0x1fe)](_0x3cb2b1,_0x22be6e);});};for(let _0x48ba30=0x0;_0x48ba30+0x1<_0xf20775[_0x350588(0x192)];_0x48ba30++){const _0xbd0fe1=_0xf20775[_0x48ba30],_0x3977b5=_0xf20775[_0x48ba30+0x1];_0xbd0fe1[_0x350588(0x1f7)](_0x3977b5)&&(_0x5db9d4(_0xbd0fe1,_0x3977b5),_0xf20775[_0x350588(0x224)](_0x48ba30+0x1,0x1),_0x48ba30--);}const _0x5aa178=[];for(const _0xfbf496 of _0xf20775){const _0x10d23d=_0xfbf496[_0x350588(0x236)](_0x5b54af);if(_0x10d23d[_0x350588(0x192)]===0x0){_0x5aa178[_0x350588(0x222)](_0xfbf496);continue;}const _0x1825f3=(_0x5d72c7=_0xfbf496[_0x350588(0x220)]['get'](_0x3fb0c5))!=null?_0x5d72c7:[];let _0x3b3be4=Number[_0x350588(0x195)],_0x37d0b5=-0x1,_0x2b3b1a=-0x1;for(const _0x242850 of _0x1825f3){const _0x3b55e8=_0x242850[_0x350588(0x1dd)],_0x2def75=_0x3b55e8[_0x350588(0x237)],_0x39f3ae=_0x3b55e8['endColumn'];_0x3b3be4=Math['min'](_0x3b3be4,_0x2def75),_0x37d0b5=Math['max'](_0x37d0b5,_0x39f3ae);}_0x37d0b5===-0x1&&(_0x2b3b1a=_0x37d0b5-_0x3b3be4+0x1);const _0x1b5af3=_0x10d23d[0x0]['range'],_0x11c7be=_0x1b5af3[_0x350588(0x1d8)]-_0x1b5af3['startColumn']+0x1;if(_0x2b3b1a>=0x0&&_0x2b3b1a<=_0x11c7be*0x3/0x4){_0x5aa178['push'](_0xfbf496);continue;}const _0x41e106=_0x10d23d[0x0];for(const _0x45dfbc of _0x10d23d[_0x350588(0x1e4)](0x1))_0x41e106['range'][_0x350588(0x1c0)]=Math[_0x350588(0x19c)](_0x41e106[_0x350588(0x1dd)]['startRow'],_0x45dfbc['range']['startRow']),_0x41e106['range'][_0x350588(0x21e)]=Math['max'](_0x41e106[_0x350588(0x1dd)]['endRow'],_0x45dfbc['range'][_0x350588(0x21e)]),_0x41e106['range'][_0x350588(0x237)]=Math[_0x350588(0x19c)](_0x41e106[_0x350588(0x1dd)][_0x350588(0x237)],_0x45dfbc[_0x350588(0x1dd)][_0x350588(0x237)]),_0x41e106['range'][_0x350588(0x1d8)]=Math[_0x350588(0x1bd)](_0x41e106[_0x350588(0x1dd)]['endColumn'],_0x45dfbc[_0x350588(0x1dd)][_0x350588(0x1d8)]);_0x41e106[_0x350588(0x1dd)][_0x350588(0x1c0)]=Math[_0x350588(0x19c)](_0x41e106['range'][_0x350588(0x1c0)],_0xfbf496[_0x350588(0x1dd)][_0x350588(0x1c0)]),_0x41e106[_0x350588(0x1dd)]['endRow']=Math['max'](_0x41e106[_0x350588(0x1dd)][_0x350588(0x21e)],_0xfbf496['range']['endRow']),_0x41e106[_0x350588(0x1dd)]['startColumn']=Math[_0x350588(0x19c)](_0x41e106['range'][_0x350588(0x237)],_0xfbf496[_0x350588(0x1dd)][_0x350588(0x237)]),_0x41e106[_0x350588(0x1dd)][_0x350588(0x1d8)]=Math[_0x350588(0x1bd)](_0x41e106['range'][_0x350588(0x1d8)],_0xfbf496[_0x350588(0x1dd)]['endColumn']),_0xfbf496['rowMergeTitleCountMap'][_0x350588(0x1c7)]((_0x351335,_0x1265a4)=>{const _0x58a587=_0x350588;var _0x1c3d8e;const _0x438e30=(_0x1c3d8e=_0x41e106['rowMergeTitleCountMap'][_0x58a587(0x1b3)](_0x1265a4))!=null?_0x1c3d8e:[];_0x438e30[_0x58a587(0x222)](..._0x351335),_0x41e106[_0x58a587(0x220)][_0x58a587(0x1fe)](_0x1265a4,_0x438e30);}),_0xfbf496[_0x350588(0x1ec)][_0x350588(0x1c7)]((_0x3edb62,_0x7d38dc)=>{const _0x303e30=_0x350588;var _0x259e47;const _0x5b5667=(_0x259e47=_0x41e106['columnMergeTitleCountMap']['get'](_0x7d38dc))!=null?_0x259e47:[];_0x5b5667[_0x303e30(0x222)](..._0x3edb62),_0x41e106[_0x303e30(0x1ec)][_0x303e30(0x1fe)](_0x7d38dc,_0x5b5667);}),_0x41e106[_0x350588(0x1fb)]=!0x0;}const _0x52b106=[];for(const _0xf37f4f of _0x5b54af)!_0xf37f4f['isMatchContinue']&&_0xf37f4f['isMatchEnd']||(_0x52b106['push'](_0xf37f4f),_0xf37f4f[_0x350588(0x1fb)]=!0x1,_0xf37f4f[_0x350588(0x1af)]=!0x1);_0x52b106[_0x350588(0x222)](..._0x5aa178),_0x5b54af=_0x52b106;}_0x48ddf7[_0x350588(0x222)](..._0x5b54af);let _0x2dced1=0x0;for(const _0xda0308 of _0x48ddf7){const _0x48cd3e=_0xda0308[_0x350588(0x1dd)][_0x350588(0x21e)]-_0xda0308['range'][_0x350588(0x1c0)]+0x1;_0xda0308['range'][_0x350588(0x1d8)]-_0xda0308['range'][_0x350588(0x237)]+0x1>0x0&&_0x48cd3e>0x1&&_0x2dced1++;}if(_0x2dced1===0x0)continue;const _0x28162c=[],_0x167ec7=ge(0x6,_0x48ddf7[_0x350588(0x192)]);let _0x473655=0x0;for(const _0x11f892 of _0x48ddf7){const _0x16b389=_0x11f892[_0x350588(0x1dd)][_0x350588(0x21e)]-_0x11f892[_0x350588(0x1dd)][_0x350588(0x1c0)]+0x1,_0x195a39=_0x11f892[_0x350588(0x1dd)][_0x350588(0x1d8)]-_0x11f892[_0x350588(0x1dd)]['startColumn']+0x1;let _0xe17c5d=!0x1;for(const _0x10577e of _0x188edb[_0x350588(0x217)]())if(ke(_0x11f892[_0x350588(0x1dd)],_0x10577e)){_0xe17c5d=!0x0;break;}if(_0xe17c5d)continue;let _0x31adce=!0x0;for(const _0x5250b7 of _0x48ddf7)if(_0x5250b7!==_0x11f892&&Je(_0x11f892,_0x5250b7)){_0x31adce=!0x1;break;}_0x31adce&&(_0x195a39<=0x0||_0x16b389<=0x1||(_0x11f892['id']=_0x167ec7[_0x473655++],_0x28162c[_0x350588(0x222)](_0x11f892)));}_0x105cd7[_0x518874]=_0x28162c;}return _0x105cd7;}function De(_0x131c79,_0x2d88ff,_0x5946dc){const _0x48e784=Le(_0x131c79,_0x2d88ff);Ge(_0x48e784,_0x131c79,_0x2d88ff);const _0x33e4fa=Ve(_0x48e784,_0x131c79);return He(_0x33e4fa,_0x131c79,_0x2d88ff,_0x5946dc);}function ke(_0x1664a2,_0x4f6296){const _0x108f1b=_0x291b18;return _0x1664a2[_0x108f1b(0x1c0)]===_0x4f6296[_0x108f1b(0x1c0)]&&_0x1664a2[_0x108f1b(0x21e)]===_0x4f6296['endRow']&&_0x1664a2[_0x108f1b(0x237)]===_0x4f6296[_0x108f1b(0x237)]&&_0x1664a2[_0x108f1b(0x1d8)]===_0x4f6296[_0x108f1b(0x1d8)];}function Je(_0x56af48,_0x26cd12){const _0x198ba7=_0x291b18;return _0x56af48['range'][_0x198ba7(0x1c0)]>=_0x26cd12['range']['startRow']&&_0x56af48[_0x198ba7(0x1dd)][_0x198ba7(0x21e)]<=_0x26cd12['range']['endRow']&&_0x56af48['range']['startColumn']>=_0x26cd12[_0x198ba7(0x1dd)][_0x198ba7(0x237)]&&_0x56af48[_0x198ba7(0x1dd)][_0x198ba7(0x1d8)]<=_0x26cd12[_0x198ba7(0x1dd)]['endColumn'];}function Be(_0x49490e){const _0x2fdbf2=_0x291b18;return''+ne(_0x49490e[_0x2fdbf2(0x237)])+(_0x49490e[_0x2fdbf2(0x1c0)]+0x1)+':'+ne(_0x49490e[_0x2fdbf2(0x1d8)])+(_0x49490e[_0x2fdbf2(0x21e)]+0x1);}function te(_0x639db){const _0x371de8=_0x291b18;var _0x54a977;if(_0x639db!==null){if(_0x639db!=null&&_0x639db['p']){const _0x40a404=_0x639db==null?void 0x0:_0x639db['p']['body'];if(_0x40a404==null)return;const _0x5bfa2b=_0x40a404[_0x371de8(0x1f3)],_0xd42aff=_0x263605[_0x371de8(0x22b)][_0x371de8(0x226)](_0x5bfa2b),_0x4eacd6=_0x40a404[_0x371de8(0x1c8)];if(_0x4eacd6&&_0x4eacd6[_0x371de8(0x192)]>0x0){const _0x21ca2b=_0x4eacd6[0x0],_0x55438c=(_0x54a977=_0x21ca2b[_0x371de8(0x193)])==null?void 0x0:_0x54a977['url'];if(!_0x55438c)return _0xd42aff;const _0x504aef=typeof _0x21ca2b[_0x371de8(0x206)]==_0x371de8(0x1e6)?_0x21ca2b[_0x371de8(0x206)]:0x0;let _0x656796=typeof _0x21ca2b[_0x371de8(0x1e9)]==_0x371de8(0x1e6)?_0x21ca2b['endIndex']+0x1:_0x504aef+0x1;return _0x504aef===0x0&&_0x656796===0x0?_0x656796=0x1:_0x656796<=_0x504aef&&(_0x656796=_0x504aef+0x1),'['+_0x5bfa2b['slice'](_0x504aef,_0x656796)+']('+_0x55438c+')';}return _0xd42aff;}if((_0x639db==null?void 0x0:_0x639db['v'])!=null)return _0x639db['v'];}}function V(_0xd5c5ae){const _0x181ec5=te(_0xd5c5ae);if(_0x181ec5!=null)return String(_0x181ec5);}function ze(_0x2260f5,_0x6b1ede,_0x3d653e){const _0x5b27cf=_0x291b18,_0xd0ddfe=_0x3d653e[_0x5b27cf(0x218)](_0x2260f5,_0x6b1ede);if(_0xd0ddfe!=null){const _0x38daa0=V(_0xd0ddfe);if(_0x38daa0!=null&&_0x38daa0['length']>0x0)return _0x38daa0;}const _0x3563a0=W[_0x5b27cf(0x1b3)](_0x3d653e),_0x256392=_0x3563a0==null?void 0x0:_0x3563a0[_0x5b27cf(0x199)],_0x4f927c=_0x3563a0==null?void 0x0:_0x3563a0[_0x5b27cf(0x1c4)],_0xbdbe53=_0x3d653e['getUnitId'](),_0x21a6ae=_0x3d653e['getSheetId'](),_0x405929={'range':{'startRow':_0x2260f5,'endRow':_0x2260f5,'startColumn':_0x6b1ede,'endColumn':_0x6b1ede},'unitId':_0xbdbe53,'sheetId':_0x21a6ae},_0x2f8bc9=(_0x256392==null?void 0x0:_0x256392[_0x5b27cf(0x1df)]([_0x405929]))||new Map();if(_0x2f8bc9[_0x5b27cf(0x1a5)]===0x0||!_0x4f927c)return null;const _0x25c364=_0x2f8bc9[_0x5b27cf(0x223)]()[_0x5b27cf(0x1f8)]()['value'],_0x2301a8=_0x4f927c['get'](_0x25c364);if(!_0x2301a8)return null;const _0x335762=_0x3d653e[_0x5b27cf(0x218)](_0x2301a8[_0x5b27cf(0x1dd)][_0x5b27cf(0x1c0)],_0x2301a8[_0x5b27cf(0x1dd)]['startColumn']);return _0x335762==null?null:V(_0x335762);}function Ge(_0x4f5c9c,_0x5d5437,_0x365639){const _0x2ba09a=_0x291b18,_0x2fee7b=_0x5d5437[_0x2ba09a(0x1b0)](),_0x5f303f=_0x365639[_0x2ba09a(0x1b3)](_0x1afa5c),_0x353c75=_0x5d5437[_0x2ba09a(0x228)]();for(const _0x54fdc9 of _0x2fee7b){const _0x2ac6e6=_0x54fdc9[_0x2ba09a(0x1fd)](),_0x46f164=_0x5f303f[_0x2ba09a(0x238)](_0x353c75,_0x2ac6e6);if(!_0x46f164)continue;const _0x20e91b=_0x46f164[_0x2ba09a(0x19e)](_0x488b05=>_0x488b05[_0x2ba09a(0x21c)]());for(const _0x3b7761 of _0x20e91b){const {startRow:_0x173a9e,endRow:_0x2994f0,startColumn:_0x5d0e94,endColumn:_0x4243e8}=_0x3b7761[_0x2ba09a(0x1dd)],_0x577e8b=new K({'id':_0x3b7761['id'],'sheetId':_0x2ac6e6,'range':{'startRow':_0x173a9e,'endRow':_0x2994f0,'startColumn':_0x5d0e94,'endColumn':_0x4243e8},'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':[]});_0x4f5c9c[_0x2ac6e6]||(_0x4f5c9c[_0x2ac6e6]=[]),_0x4f5c9c[_0x2ac6e6][_0x2ba09a(0x222)](_0x577e8b);}}}function Ve(_0x15b1e0,_0x203316){const _0x534e87=_0x291b18;var _0x21317e,_0x2d329b;for(const [_0xa6ca65,_0x38dbf9]of Object[_0x534e87(0x230)](_0x15b1e0)){const _0x24904b=_0x38dbf9;let _0x4ac159=!0x1;const _0x5c8c07=_0x203316['getSheetBySheetId'](_0xa6ca65);if(_0x5c8c07){for(let _0x458ef8=0x0;_0x458ef8<_0x24904b[_0x534e87(0x192)];_0x458ef8++){const _0x5cdd31=_0x24904b[_0x458ef8],_0x27d037=_0x5cdd31[_0x534e87(0x1dd)],{startRow:_0x1579c7,endRow:_0x5a679d,startColumn:_0x13eb5f,endColumn:_0x29bc54}=_0x27d037,_0xa1998b=We(_0x5cdd31,_0x5c8c07,_0x203316),_0x3d2830=je(_0x1579c7,_0x5a679d,_0x5cdd31);let _0x4a3d3d=0x1;const _0x16093e=_0x1579c7+_0x3d2830;let _0x4b4ccd=0x0,_0x3edd6e=0x0;for(let _0x304517=_0x13eb5f;_0x304517<=_0x29bc54;_0x304517++){const _0x3c5d9b=_0x5c8c07[_0x534e87(0x218)](_0x16093e,_0x304517);if(!_0x3c5d9b)continue;const _0x5d804b=V(_0x3c5d9b);_0x5d804b!=null&&(_0x5d804b!==''&&_0x3edd6e++,le(_0x5d804b)&&_0x4b4ccd++);}if(_0x3edd6e>0x0&&_0x4b4ccd/Math[_0x534e87(0x1bd)](_0x3edd6e,0x1)>0.03&&(_0x4a3d3d=0x0),_0x5cdd31[_0x534e87(0x18b)]=_0x3d2830,_0x5cdd31[_0x534e87(0x19a)]=_0x4a3d3d+_0x3d2830,_0x5cdd31[_0x534e87(0x1dd)][_0x534e87(0x21e)]-_0x5cdd31[_0x534e87(0x1dd)][_0x534e87(0x1c0)]+0x1-_0x5cdd31['rowTitleCount']<=0x1){console[_0x534e87(0x1f1)]('skip\x20small\x20table,\x20idx:'+_0x458ef8+_0x534e87(0x214)+Be(_0x5cdd31[_0x534e87(0x1dd)])),_0x24904b[_0x534e87(0x224)](_0x458ef8,0x1),_0x458ef8--,_0x4ac159=!0x0;continue;}const _0x116253=new Map();let _0x3e8a1a=0x0;const _0x4081f4=ge(0x4,_0x29bc54-_0x13eb5f+0x1);for(let _0x6e1526=_0x13eb5f;_0x6e1526<=_0x29bc54;_0x6e1526++){let _0x298a4e='';const _0x909813=new Set();let _0x402501=!0x1;const _0x3bac9b=_0x1579c7+_0x5cdd31[_0x534e87(0x19a)]-0x1;let _0x5a61da=_0x1579c7;_0xa1998b!==''&&(_0x5a61da=_0x1579c7+0x1);for(let _0x5c7f82=_0x5a61da;_0x5c7f82<=_0x3bac9b;_0x5c7f82++){const _0x365983=ze(_0x5c7f82,_0x6e1526,_0x5c8c07);_0x365983!=null&&(_0x5c7f82===_0x3bac9b&&(_0x298a4e=_0x365983),_0x909813[_0x534e87(0x203)](_0x365983));}const _0x4d13fb=[..._0x909813][_0x534e87(0x1ad)](','),_0xcdb1d=_0x4d13fb;_0x116253[_0x534e87(0x1dc)](_0xcdb1d)?_0x402501=!0x0:_0x116253['set'](_0xcdb1d,!0x0);const _0x4e3ab5=_0x3bac9b+0x1;let _0xf0c383=_0x3bac9b+0x14,_0x228499=0x0,_0x256062=!0x1,_0x35f5c3=!0x1;if(_0xf0c383>_0x5a679d&&(_0xf0c383=_0x5a679d),_0x4e3ab5<_0x5a679d){let _0x3e8b85='';for(let _0x1a52fa=_0x4e3ab5;_0x1a52fa<=_0xf0c383;_0x1a52fa++){const _0x2490dc=_0x5c8c07[_0x534e87(0x218)](_0x1a52fa,_0x6e1526);if(!_0x2490dc)continue;const _0x4fe83e=V(_0x2490dc);_0x4fe83e!=null&&(le(_0x4fe83e)||(_0x3e8b85+=_0x4fe83e),Ke(_0x4fe83e)&&_0x228499++);}_0x228499>Math[_0x534e87(0x1c5)]((_0xf0c383-_0x4e3ab5+0x1)/0x2)&&(_0x35f5c3=!0x0),Xe(_0x3e8b85)/Math[_0x534e87(0x1bd)](_0xf0c383-_0x4e3ab5+0x1,0x1)>0xf&&!_0x35f5c3&&(_0x256062=!0x0);}_0x5cdd31['columns'][_0x534e87(0x222)]({'id':_0x4081f4[_0x3e8a1a++],'Name':_0x298a4e,'Type':'','Description':_0x4d13fb,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x256062,'isLink':_0x35f5c3,'isTitleRepeat':_0x402501,'isUnique':!0x1,'links':[]});}qe(_0x5cdd31,_0x203316);}_0x4ac159&&(_0x15b1e0[_0xa6ca65]=_0x24904b),_0x24904b[_0x534e87(0x192)]===0x0&&delete _0x15b1e0[_0xa6ca65],(_0x2d329b=(_0x21317e=_0x15b1e0[_0xa6ca65])==null?void 0x0:_0x21317e[_0x534e87(0x192)])!=null;}}return _0x15b1e0;}function je(_0x24d643,_0x410d70,_0x3c434e){const _0x3b712b=_0x291b18;var _0x1ff49c;function _0x3fad6b(_0x17e351){const _0x5c2873=_0x36ea;if(_0x17e351[_0x5c2873(0x192)]===0x0)return 0x0;_0x17e351[_0x5c2873(0x1de)]((_0x5dd18d,_0x422c6f)=>_0x5dd18d[0x0]-_0x422c6f[0x0]);let _0x381cb5=0x0,_0xeee9e6=_0x17e351[0x0][0x0],_0x17428c=_0x17e351[0x0][0x1];for(let _0x468829=0x1;_0x468829<_0x17e351[_0x5c2873(0x192)];_0x468829++){const [_0x58caec,_0x3a9959]=_0x17e351[_0x468829];_0x58caec<=_0x17428c+0x1?_0x17428c=Math[_0x5c2873(0x1bd)](_0x17428c,_0x3a9959):(_0x381cb5+=_0x17428c-_0xeee9e6+0x1,_0xeee9e6=_0x58caec,_0x17428c=_0x3a9959);}return _0x381cb5+=_0x17428c-_0xeee9e6+0x1,_0x381cb5;}const _0x25b72c=_0x3c434e[_0x3b712b(0x1dd)][_0x3b712b(0x237)],_0x16a53a=_0x3c434e[_0x3b712b(0x1dd)][_0x3b712b(0x1d8)],_0x4cb1d0=_0x16a53a-_0x25b72c+0x1;let _0x40b4b9=_0x24d643-0x1,_0x344f48=_0x24d643-0x1,_0x1382d5=!0x1;const _0x1eecfc=0x64;for(let _0x5f44f3=_0x24d643;_0x5f44f3<=_0x410d70&&_0x5f44f3-_0x24d643<_0x1eecfc;_0x5f44f3++){const _0x238391=[],_0x438368=(_0x1ff49c=_0x3c434e[_0x3b712b(0x220)][_0x3b712b(0x1b3)](_0x5f44f3))!=null?_0x1ff49c:[];for(const _0x199cd6 of _0x438368){const _0xc028e1=_0x199cd6[_0x3b712b(0x1dd)]['startColumn'],_0x32dfd2=_0x199cd6[_0x3b712b(0x1dd)][_0x3b712b(0x1d8)],_0x396b83=Math['max'](_0xc028e1,_0x25b72c),_0x405a6a=Math[_0x3b712b(0x19c)](_0x32dfd2,_0x16a53a);_0x396b83<=_0x405a6a&&_0x238391['push']([_0x396b83,_0x405a6a]);}_0x3c434e[_0x3b712b(0x1ec)][_0x3b712b(0x1c7)](_0x199909=>{const _0x390ffa=_0x3b712b;for(const _0x165be0 of _0x199909){const _0x14af76=_0x165be0['range'][_0x390ffa(0x1c0)],_0x28865e=_0x165be0['range']['endRow'];if(_0x14af76<=_0x5f44f3&&_0x5f44f3<=_0x28865e){const _0x4a07bb=_0x165be0['range'][_0x390ffa(0x237)],_0x1be2bd=_0x165be0[_0x390ffa(0x1dd)][_0x390ffa(0x1d8)],_0x213978=Math[_0x390ffa(0x1bd)](_0x4a07bb,_0x25b72c),_0x34aeb6=Math[_0x390ffa(0x19c)](_0x1be2bd,_0x16a53a);_0x213978<=_0x34aeb6&&_0x238391[_0x390ffa(0x222)]([_0x213978,_0x34aeb6]);}}});const _0xa58571=_0x3fad6b(_0x238391),_0x14c3a1=_0xa58571/Math['max'](_0x4cb1d0,0x1);_0x238391[_0x3b712b(0x192)]>0x0&&(_0x40b4b9=_0x5f44f3),_0xa58571>0x0&&_0x14c3a1>=0.75&&!_0x1382d5?_0x344f48=_0x5f44f3:_0x238391['length']>0x0&&(_0x1382d5=!0x0);}return _0x40b4b9===_0x410d70||_0x40b4b9-_0x24d643===_0x1eecfc?_0x344f48-_0x24d643+0x1:_0x40b4b9-_0x24d643+0x1;}function We(_0x39656d,_0x17bf18,_0x2897a1){const _0x5aef76=_0x291b18;if(_0x39656d[_0x5aef76(0x1b2)]+=_0x17bf18[_0x5aef76(0x1a3)]()+',\x20'+_0x2897a1['name'],_0x39656d['name']&&_0x39656d[_0x5aef76(0x1e8)]!=='')return _0x39656d[_0x5aef76(0x1e8)];const _0x90ad2d=_0x39656d[_0x5aef76(0x1dd)][_0x5aef76(0x1c0)],_0x2e2466=_0x39656d[_0x5aef76(0x1dd)][_0x5aef76(0x237)],_0x3a22fc=_0x39656d['range'][_0x5aef76(0x1d8)],_0x52e675=0x3,_0x4ae6ed=_0x39656d[_0x5aef76(0x220)][_0x5aef76(0x1b3)](_0x90ad2d);if(_0x4ae6ed&&_0x4ae6ed[_0x5aef76(0x192)]>0x0)for(const _0x3745bd of _0x4ae6ed){const _0x29abc6=_0x3745bd['range'],_0x549709=_0x29abc6['startColumn'],_0x3c126e=_0x29abc6[_0x5aef76(0x1d8)];if(_0x549709<=_0x2e2466+_0x52e675&&_0x3c126e>=_0x3a22fc-_0x52e675){const _0x50febd=_0x17bf18[_0x5aef76(0x218)](_0x90ad2d,_0x549709);if(!_0x50febd)return'';const _0x12839b=V(_0x50febd);return _0x12839b==null||_0x12839b===''?'':(_0x39656d[_0x5aef76(0x1e8)]=_0x12839b,_0x12839b);}}return'';}function qe(_0x2dd4c9,_0x505530){const _0x380ed6=_0x291b18,_0x3087d3={};_0x505530[_0x380ed6(0x1cf)]()[_0x380ed6(0x211)](_0x5d5986=>{const _0x157610=_0x380ed6,[_0x47c2cc,_0x64c87d]=_0x5d5986;return!_0x47c2cc||!_0x64c87d||_0x64c87d['n']&&typeof _0x64c87d['n'][_0x157610(0x1cd)]==_0x157610(0x1b1)&&/[YyMDd]/[_0x157610(0x1a0)](_0x64c87d['n'][_0x157610(0x1cd)])&&(_0x3087d3[_0x47c2cc]=!0x0),!0x0;});const _0x5123bc=_0x2dd4c9['range'][_0x380ed6(0x1c0)],_0x4734e1=_0x2dd4c9[_0x380ed6(0x1dd)][_0x380ed6(0x21e)],_0x28d8ea=_0x2dd4c9['rowTitleCount'],_0x5c393d=_0x2dd4c9[_0x380ed6(0x225)],_0x7f38ae=_0x505530[_0x380ed6(0x215)](_0x5c393d);if(!_0x7f38ae)return;const _0x12e9f4=_0x4734e1-_0x5123bc+0x1-_0x28d8ea;if(_0x12e9f4<=0x1){console['warn'](_0x380ed6(0x1ef));return;}const _0x532c3f=[];for(let _0x6fd8ab=0x0;_0x6fd8ab<_0x2dd4c9['range'][_0x380ed6(0x1d8)]-_0x2dd4c9[_0x380ed6(0x1dd)][_0x380ed6(0x237)]+0x1;_0x6fd8ab++)_0x532c3f['push'](new Oe(_0x3087d3));const _0x572d69=Math[_0x380ed6(0x22f)](Math[_0x380ed6(0x1bd)](_0x12e9f4,0x1));for(let _0x3a453a=0x0;;_0x3a453a++){const _0x3750c7=_0x3a453a,_0x51207b=Math[_0x380ed6(0x1c5)](_0x3750c7+0.00001*_0x3750c7**2.7*_0x572d69*_0x572d69)+_0x5123bc+_0x28d8ea;if(_0x51207b>_0x4734e1)break;for(let _0x2de228=_0x2dd4c9[_0x380ed6(0x1dd)]['startColumn'];_0x2de228<=_0x2dd4c9[_0x380ed6(0x1dd)][_0x380ed6(0x1d8)];_0x2de228++){const _0x4e8476=_0x7f38ae['getCell'](_0x51207b,_0x2de228);_0x4e8476&&_0x532c3f[_0x2de228-_0x2dd4c9[_0x380ed6(0x1dd)]['startColumn']][_0x380ed6(0x1ff)](_0x4e8476);}}for(let _0x3d4a10=0x0;_0x3d4a10<_0x2dd4c9['columns'][_0x380ed6(0x192)];_0x3d4a10++){const [_0x57d22f,_0x3986a2]=_0x532c3f[_0x3d4a10][_0x380ed6(0x1d1)]();_0x2dd4c9['columns'][_0x3d4a10][_0x380ed6(0x235)]=_0x57d22f;}}function pe(_0x280a58){const _0x33f531=_0x291b18,_0x1a8289=[];for(const _0x210704 of _0x280a58[_0x33f531(0x20e)])_0x1a8289[_0x33f531(0x222)]({'tableId':_0x210704[_0x33f531(0x1d5)],'columnId':_0x210704[_0x33f531(0x20c)],'linkType':_0x210704[_0x33f531(0x1a2)]});return _0x1a8289;}function Fe(_0x296207){const _0x5699bf=_0x291b18;return _0x296207[_0x5699bf(0x19a)]===0x1;}function Ze(_0x112a30,_0x3e0afe,_0x5d42fe,_0x55ba89,_0x208994){const _0x4707aa=_0x291b18,_0x39940d=_0x55ba89[_0x4707aa(0x1b3)](_0x1afa5c),_0x597fcd=_0x3e0afe[_0x4707aa(0x228)](),_0xc59ff1=_0x112a30[_0x4707aa(0x225)];if(_0x39940d['getTablesBySubunitId'](_0x597fcd,_0xc59ff1)){for(const _0x152388 of _0x5d42fe)if(_0x152388['id']===_0x112a30['id']){_0x152388[_0x4707aa(0x1e8)]=_0x112a30[_0x4707aa(0x1e8)],_0x152388[_0x4707aa(0x1bb)]={},_0x152388[_0x4707aa(0x1bb)][_0x4707aa(0x1b2)]=_0x112a30[_0x4707aa(0x1b2)],_0x152388[_0x4707aa(0x1bb)]['rowTitleCount']=_0x112a30[_0x4707aa(0x19a)],_0x152388[_0x4707aa(0x1bb)][_0x4707aa(0x18b)]=_0x112a30[_0x4707aa(0x18b)],_0x152388[_0x4707aa(0x1bb)][_0x4707aa(0x194)]=_0x112a30[_0x4707aa(0x194)];for(let _0x3bbb2e=0x0;_0x3bbb2e<_0x112a30[_0x4707aa(0x19f)][_0x4707aa(0x192)];_0x3bbb2e++){const _0x48d7a5=_0x112a30['columns'][_0x3bbb2e],_0x60ba4c=_0x152388[_0x4707aa(0x19f)][_0x3bbb2e];_0x60ba4c[_0x4707aa(0x202)]=_0x48d7a5['Name'],_0x60ba4c[_0x4707aa(0x1fa)]=_0x48d7a5['Type'],_0x60ba4c[_0x4707aa(0x1bb)]={},_0x60ba4c[_0x4707aa(0x1bb)]['description']=_0x48d7a5[_0x4707aa(0x1e2)],_0x60ba4c[_0x4707aa(0x1bb)][_0x4707aa(0x1e3)]=_0x48d7a5[_0x4707aa(0x1e3)],_0x60ba4c[_0x4707aa(0x1bb)]['isMeasure']=_0x48d7a5['isMeasure'],_0x60ba4c[_0x4707aa(0x1bb)][_0x4707aa(0x1d0)]=_0x48d7a5[_0x4707aa(0x1d0)],_0x60ba4c[_0x4707aa(0x1bb)][_0x4707aa(0x22c)]=_0x48d7a5[_0x4707aa(0x22c)],_0x60ba4c[_0x4707aa(0x1bb)][_0x4707aa(0x1ed)]=_0x48d7a5[_0x4707aa(0x1ed)],_0x60ba4c['meta'][_0x4707aa(0x1cc)]=_0x48d7a5[_0x4707aa(0x1cc)],_0x60ba4c[_0x4707aa(0x1bb)]['isUnique']=_0x48d7a5[_0x4707aa(0x22a)],_0x60ba4c['meta'][_0x4707aa(0x20e)]=pe(_0x48d7a5);}Me(_0x152388,_0xc59ff1,_0x3e0afe,_0x208994);}W[_0x4707aa(0x1d2)]();}}function He(_0x28661d,_0x3818da,_0x32c1c7,_0x1a44d6){const _0x1f0980=_0x291b18,_0x23bdce=_0x32c1c7[_0x1f0980(0x1b3)](_0x1afa5c),_0x1bd9f2=_0x3818da['getUnitId'](),_0x204e0b={};for(const [_0x20f282,_0x4cd6f5]of Object[_0x1f0980(0x230)](_0x28661d)){const _0x2a49af=_0x23bdce[_0x1f0980(0x238)](_0x1bd9f2,_0x20f282),_0x57df85=(_0x2a49af==null?void 0x0:_0x2a49af[_0x1f0980(0x19e)](_0x28d45d=>_0x28d45d['toJSON']()))||[];for(const _0x2adcc9 of _0x4cd6f5){if(_0x2adcc9[_0x1f0980(0x208)]){Ze(_0x2adcc9,_0x3818da,_0x57df85,_0x32c1c7,_0x1a44d6);continue;}const _0x259995={'id':_0x2adcc9['id'],'range':{'startRow':_0x2adcc9['range'][_0x1f0980(0x1c0)]+_0x2adcc9['mergeRowTitleCount'],'endRow':_0x2adcc9['range'][_0x1f0980(0x21e)],'startColumn':_0x2adcc9[_0x1f0980(0x1dd)][_0x1f0980(0x237)],'endColumn':_0x2adcc9[_0x1f0980(0x1dd)]['endColumn']},'name':_0x2adcc9[_0x1f0980(0x1e8)],'meta':{},'options':{'showHeader':Fe(_0x2adcc9),'showFooter':!0x1},'columns':[],'filters':{}};_0x259995[_0x1f0980(0x1bb)][_0x1f0980(0x1b2)]=_0x2adcc9[_0x1f0980(0x1b2)],_0x259995[_0x1f0980(0x1bb)][_0x1f0980(0x19a)]=_0x2adcc9[_0x1f0980(0x19a)],_0x259995[_0x1f0980(0x1bb)][_0x1f0980(0x18b)]=_0x2adcc9[_0x1f0980(0x18b)],_0x259995[_0x1f0980(0x1bb)][_0x1f0980(0x194)]=_0x2adcc9['isTimeSeries'];const _0x3bedab=_0x2adcc9[_0x1f0980(0x1dd)][_0x1f0980(0x237)];for(let _0x36d1ea=0x0;_0x36d1ea<_0x2adcc9['columns'][_0x1f0980(0x192)];_0x36d1ea++){const _0x28ad9a=_0x2adcc9[_0x1f0980(0x19f)][_0x36d1ea],_0xd0a6fa={'id':_0x28ad9a['id'],'displayName':_0x28ad9a[_0x1f0980(0x22e)]||_0x1f0980(0x1a8)+ne(_0x3bedab+_0x36d1ea),'dataType':_0x28ad9a[_0x1f0980(0x235)],'meta':{},'formula':'','style':{}};_0xd0a6fa[_0x1f0980(0x1bb)]['description']=_0x28ad9a[_0x1f0980(0x1e2)],_0xd0a6fa['meta'][_0x1f0980(0x1e3)]=_0x28ad9a[_0x1f0980(0x1e3)],_0xd0a6fa[_0x1f0980(0x1bb)][_0x1f0980(0x231)]=_0x28ad9a[_0x1f0980(0x231)],_0xd0a6fa[_0x1f0980(0x1bb)][_0x1f0980(0x1d0)]=_0x28ad9a[_0x1f0980(0x1d0)],_0xd0a6fa[_0x1f0980(0x1bb)][_0x1f0980(0x22c)]=_0x28ad9a[_0x1f0980(0x22c)],_0xd0a6fa['meta'][_0x1f0980(0x1ed)]=_0x28ad9a[_0x1f0980(0x1ed)],_0xd0a6fa[_0x1f0980(0x1bb)][_0x1f0980(0x1cc)]=_0x28ad9a['isTitleRepeat'],_0xd0a6fa[_0x1f0980(0x1bb)][_0x1f0980(0x22a)]=_0x28ad9a[_0x1f0980(0x22a)],_0xd0a6fa[_0x1f0980(0x1bb)][_0x1f0980(0x20e)]=pe(_0x28ad9a),_0x259995['columns']['push'](_0xd0a6fa);}Me(_0x259995,_0x20f282,_0x3818da,_0x1a44d6),_0x57df85[_0x1f0980(0x222)](_0x259995);}_0x204e0b[_0x20f282]=_0x57df85;}for(const _0x580ec5 of Object['keys'](_0x28661d))_0x28661d[_0x580ec5][_0x1f0980(0x1c7)](_0x57fc27=>{const _0x2568a2=_0x1f0980;_0x57fc27[_0x2568a2(0x1a1)]();});return _0x204e0b;}function ae(_0x3e6e32,_0x283b6f,_0x211b9f=0x5){const _0x57dd02=_0x291b18;if(!Array['isArray'](_0x3e6e32)||_0x3e6e32[_0x57dd02(0x192)]===0x0)return[];const _0x12ad4b=Math[_0x57dd02(0x19c)](_0x283b6f,_0x3e6e32['length']),_0x54ef8=Math['min'](_0x12ad4b+_0x211b9f,_0x3e6e32[_0x57dd02(0x192)]);return _0x3e6e32[_0x57dd02(0x1e4)](_0x12ad4b,_0x54ef8);}function Me(_0x30b5db,_0x4d290e,_0x57d9e2,_0x2dee3a){const _0x312bed=_0x291b18,_0x5ea55f=_0x57d9e2[_0x312bed(0x215)](_0x4d290e);if(!_0x5ea55f)return;const _0x449ffc=_0x30b5db['range'],_0x4cb43e=Ye(_0x5ea55f,_0x449ffc);_0x2dee3a===ee[_0x312bed(0x1b4)]?_0x30b5db[_0x312bed(0x191)]=JSON[_0x312bed(0x1b6)](ae(_0x4cb43e,0x1,0x5)):_0x2dee3a===ee[_0x312bed(0x1ee)]&&(_0x30b5db['data']=JSON[_0x312bed(0x1b6)](ae(_0x4cb43e,0x1,_0x4cb43e[_0x312bed(0x192)])));}function Ye(_0x200ec8,_0x35b9c5){const _0x3a00e4=_0x291b18,{startRow:_0x2a15b8,endRow:_0x369751,startColumn:_0x379c03,endColumn:_0x495ab8}=_0x35b9c5,_0x6c1bbf=[],_0x16f596=W[_0x3a00e4(0x1b3)](_0x200ec8),_0x32e408=_0x16f596==null?void 0x0:_0x16f596[_0x3a00e4(0x199)],_0x3f0972=_0x16f596==null?void 0x0:_0x16f596[_0x3a00e4(0x1c4)],_0x438975=_0x200ec8[_0x3a00e4(0x228)](),_0x31c809=_0x200ec8[_0x3a00e4(0x1fd)]();for(let _0x1517a2=_0x2a15b8;_0x1517a2<=_0x369751;_0x1517a2++){const _0x5ea0dc=[];for(let _0x933b21=_0x379c03;_0x933b21<=_0x495ab8;_0x933b21++){const _0x10bf67=_0x200ec8[_0x3a00e4(0x218)](_0x1517a2,_0x933b21);let _0xdfabe0=_0x10bf67?te(_0x10bf67):void 0x0;if(_0xdfabe0==null||_0xdfabe0===''){const _0x3aa72b={'range':{'startRow':_0x1517a2,'endRow':_0x1517a2,'startColumn':_0x933b21,'endColumn':_0x933b21},'unitId':_0x438975,'sheetId':_0x31c809},_0x1f17ca=(_0x32e408==null?void 0x0:_0x32e408[_0x3a00e4(0x1df)]([_0x3aa72b]))||new Map();if(_0x1f17ca[_0x3a00e4(0x1a5)]>0x0&&_0x3f0972){const _0xde2ee1=_0x1f17ca[_0x3a00e4(0x223)]()['next']()[_0x3a00e4(0x22d)],_0x3ccc3e=_0x3f0972[_0x3a00e4(0x1b3)](_0xde2ee1);if(!_0x3ccc3e)continue;const _0x191d45=_0x200ec8[_0x3a00e4(0x218)](_0x3ccc3e['range']['startRow'],_0x3ccc3e[_0x3a00e4(0x1dd)][_0x3a00e4(0x237)]);_0x191d45&&(_0xdfabe0=te(_0x191d45));}}_0x5ea0dc[_0x3a00e4(0x222)](_0xdfabe0!=null?_0xdfabe0:'');}_0x6c1bbf[_0x3a00e4(0x222)](_0x5ea0dc);}return _0x6c1bbf;}function Ke(_0x3c0d11){const _0x5edb57=_0x291b18;return/https?:\/\/|www\./i[_0x5edb57(0x1a0)](_0x3c0d11);}function Xe(_0x3b1171){const _0x46f452=_0x291b18;return Array[_0x46f452(0x190)](_0x3b1171)[_0x46f452(0x192)];}function le(_0x252402){const _0xedb3df=_0x291b18;return _0x252402?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0xedb3df(0x1a0)](_0x252402[_0xedb3df(0x207)]()):!0x1;}function ne(_0x7b2448){const _0x4d8498=_0x291b18;let _0x4d77cf='',_0x84ebd6=_0x7b2448+0x1;for(;_0x84ebd6>0x0;){const _0x1042d3=(_0x84ebd6-0x1)%0x1a;_0x4d77cf=String[_0x4d8498(0x204)](0x41+_0x1042d3)+_0x4d77cf,_0x84ebd6=Math[_0x4d8498(0x1c5)]((_0x84ebd6-0x1)/0x1a);}return _0x4d77cf;}var Qe=Object[_0x291b18(0x1f9)],et=(_0x2b7018,_0x5520de,_0x935d01,_0x32c683)=>{const _0x182317=_0x291b18;for(var _0x3c69fe=_0x32c683>0x1?void 0x0:_0x32c683?Qe(_0x5520de,_0x935d01):_0x5520de,_0x513c49=_0x2b7018[_0x182317(0x192)]-0x1,_0x1fa059;_0x513c49>=0x0;_0x513c49--)(_0x1fa059=_0x2b7018[_0x513c49])&&(_0x3c69fe=_0x1fa059(_0x3c69fe)||_0x3c69fe);return _0x3c69fe;},tt=(_0x3f5703,_0x4329fc)=>(_0x4b3a70,_0x4e794b)=>_0x4329fc(_0x4b3a70,_0x4e794b,_0x3f5703);let oe=class extends _0x5d41b1{constructor(_0x28e7ef){const _0x5b65d3=_0x291b18;super(),this[_0x5b65d3(0x1ae)]=_0x28e7ef;}[_0x291b18(0x1a9)](_0x3c2899,_0x43e59a){const _0x5c23e9=_0x291b18;return De(_0x3c2899,this[_0x5c23e9(0x1ae)],_0x43e59a);}};oe=et([tt(0x0,_0x21ccb6(_0x2837b4))],oe);var nt=Object[_0x291b18(0x1f9)],ot=(_0x4d1ee3,_0x2c2fb9,_0x675a7d,_0x49ccbb)=>{for(var _0x71d971=_0x49ccbb>0x1?void 0x0:_0x49ccbb?nt(_0x2c2fb9,_0x675a7d):_0x2c2fb9,_0x4ef0ed=_0x4d1ee3['length']-0x1,_0x19e2c3;_0x4ef0ed>=0x0;_0x4ef0ed--)(_0x19e2c3=_0x4d1ee3[_0x4ef0ed])&&(_0x71d971=_0x19e2c3(_0x71d971)||_0x71d971);return _0x71d971;},ue=(_0xd3f4e1,_0x2e6efc)=>(_0x512083,_0x13717b)=>_0x2e6efc(_0x512083,_0x13717b,_0xd3f4e1);const rt=_0x291b18(0x198);var X;let ce=(X=class extends _0x363126{constructor(_0x32bd90={},_0x50f35a,_0x213144){const _0x2fa851=_0x291b18;super(),this[_0x2fa851(0x1f2)]=_0x32bd90,this[_0x2fa851(0x1ae)]=_0x50f35a,this[_0x2fa851(0x1bf)]=_0x213144;const {..._0x1a7f10}=_0x5f3a97({},this[_0x2fa851(0x1f2)]);this[_0x2fa851(0x1bf)][_0x2fa851(0x1f6)](rt,_0x1a7f10);}['onStarting'](){const _0x562ad4=_0x291b18,_0x1c7d1a=[[oe]];_0x36e494(this[_0x562ad4(0x1ae)],_0x1c7d1a);}[_0x291b18(0x1eb)](){}},p(X,_0x291b18(0x187),_0x291b18(0x1f4)),X);function _0x36ea(_0x286faa,_0x43b2bb){_0x286faa=_0x286faa-0x187;const _0x708a15=_0x708a();let _0x36ea63=_0x708a15[_0x286faa];return _0x36ea63;}ce=ot([ue(0x1,_0x21ccb6(_0x2837b4)),ue(0x2,_0x585984)],ce);export{oe as RangePreprocessController,ce as UniverRangePreprocessPlugin};
|
|
1
|
+
const _0x4d683a=_0x1077;(function(_0x23b262,_0x3c7082){const _0x523cef=_0x1077,_0x498633=_0x23b262();while(!![]){try{const _0x70507d=parseInt(_0x523cef(0x213))/0x1+parseInt(_0x523cef(0x1a0))/0x2+-parseInt(_0x523cef(0x201))/0x3*(-parseInt(_0x523cef(0x1e0))/0x4)+parseInt(_0x523cef(0x1fb))/0x5*(parseInt(_0x523cef(0x1c5))/0x6)+parseInt(_0x523cef(0x21e))/0x7+-parseInt(_0x523cef(0x236))/0x8+-parseInt(_0x523cef(0x23f))/0x9;if(_0x70507d===_0x3c7082)break;else _0x498633['push'](_0x498633['shift']());}catch(_0x3a360c){_0x498633['push'](_0x498633['shift']());}}}(_0x16aa,0xf0b84));var Re=Object[_0x4d683a(0x1f4)],Te=(_0x3bf33b,_0x357a3c,_0x2138ad)=>_0x357a3c in _0x3bf33b?Re(_0x3bf33b,_0x357a3c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2138ad}):_0x3bf33b[_0x357a3c]=_0x2138ad,p=(_0x123f42,_0x44509b,_0x4dc5b4)=>Te(_0x123f42,typeof _0x44509b!=_0x4d683a(0x1cf)?_0x44509b+'':_0x44509b,_0x4dc5b4);import{CellValueType as _0x25f514,generateRandomId as _0x474a5f,RTree as _0x28ecc8,BuildTextUtils as _0x143d7b,Inject as _0x3090b2,Injector as _0x98af4a,Disposable as _0x29dbc4,IConfigService as _0x27a19a,Plugin as _0x51ef01,merge as _0x4319ad,registerDependencies as _0x47fd08}from'@univerjs/core';import'@univerjs/sheets-filter';import{TableManager as _0x2667ab}from'@univerjs/sheets-table';function re(_0x1226e2){const _0x57ec70=_0x4d683a;return _0x1226e2['v']==null?'':String(_0x1226e2['v'])[_0x57ec70(0x230)]();}function Ne(_0xd3f49e){const _0x18763e=_0x4d683a;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x18763e(0x233)](_0xd3f49e);}const F=0x2,Q=0x1;function he(_0x17b86f,_0x3949bc){const _0x4b5b72=_0x4d683a,_0x4ab14b={'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}$/}[_0x3949bc];if(!_0x4ab14b||!_0x4ab14b[_0x4b5b72(0x233)](_0x17b86f))return!0x1;const _0x4e7476=_0x17b86f[_0x4b5b72(0x1aa)](/\D+/g,'\x20')['trim']()[_0x4b5b72(0x23a)](/\s+/)['map'](Number);let _0x53328a=0x0,_0x28bf50=0x1,_0x358931=0x1,_0x219df2=0x0,_0x39f97d=0x0,_0x2bd1fc=0x0;switch(_0x3949bc){case _0x4b5b72(0x1ba):case _0x4b5b72(0x19d):case _0x4b5b72(0x1b5):case'2006/1/2':[_0x53328a,_0x28bf50,_0x358931]=_0x4e7476;break;case _0x4b5b72(0x1fa):[_0x53328a,_0x28bf50,_0x358931]=_0x4e7476;break;case _0x4b5b72(0x1ce):case'02/01/2006':case'02.01.2006':[_0x358931,_0x28bf50,_0x53328a]=_0x4e7476;break;case _0x4b5b72(0x20d):case _0x4b5b72(0x1e4):[_0x28bf50,_0x358931,_0x53328a]=_0x4e7476;break;case _0x4b5b72(0x1b1):{const _0x3ac830=_0x17b86f;_0x53328a=+_0x3ac830[_0x4b5b72(0x1a3)](0x0,0x4),_0x28bf50=+_0x3ac830[_0x4b5b72(0x1a3)](0x4,0x6),_0x358931=+_0x3ac830[_0x4b5b72(0x1a3)](0x6,0x8);break;}case _0x4b5b72(0x219):case _0x4b5b72(0x1b4):[_0x53328a,_0x28bf50,_0x358931,_0x219df2,_0x39f97d,_0x2bd1fc]=_0x4e7476;break;default:return!0x0;}if(_0x28bf50<0x1||_0x28bf50>0xc||_0x358931<0x1||_0x358931>0x1f||_0x219df2<0x0||_0x219df2>0x17||_0x39f97d<0x0||_0x39f97d>0x3b||_0x2bd1fc<0x0||_0x2bd1fc>0x3b)return!0x1;const _0x2380f1=new Date(_0x53328a,_0x28bf50-0x1,_0x358931,_0x219df2,_0x39f97d,_0x2bd1fc);return!(_0x2380f1[_0x4b5b72(0x1b0)]()!==_0x53328a||_0x2380f1[_0x4b5b72(0x1d1)]()!==_0x28bf50-0x1||_0x2380f1[_0x4b5b72(0x1f2)]()!==_0x358931);}function Ee(_0x5749ff){const _0x34dd8f=_0x4d683a;return Number[_0x34dd8f(0x1f9)](_0x5749ff)&&_0x5749ff>=0x1&&_0x5749ff<=0x13880;}function $e(_0x1c7859){const _0xad2724=_0x4d683a;switch(_0x1c7859){case 0x0:return _0xad2724(0x1f5);case 0x1:return'number';case 0x2:case 0x3:case 0x4:return _0xad2724(0x1dc);case 0x5:return'boolean';default:return _0xad2724(0x1de);}}class Y{constructor(){const _0x7d479a=_0x4d683a;p(this,'valid',0x0),p(this,_0x7d479a(0x211),0x0),p(this,_0x7d479a(0x1a7),0x0);}}class b extends Y{constructor(_0x12cbb1){const _0x23ad9b=_0x4d683a;super(),p(this,'timeStampStyles'),p(this,'dt'),p(this,_0x23ad9b(0x1c1)),p(this,_0x23ad9b(0x1ea)),(this['dt']=_0x12cbb1['dt'],this[_0x23ad9b(0x1c1)]=_0x12cbb1[_0x23ad9b(0x1c1)],this[_0x23ad9b(0x1ea)]=!!_0x12cbb1[_0x23ad9b(0x1ea)]);}[_0x4d683a(0x1d9)](_0x27180f){const _0x371154=_0x4d683a;if(_0x27180f['t']===_0x25f514[_0x371154(0x1f8)]){const _0x40f972=re(_0x27180f);if(!_0x40f972)return;he(_0x40f972,this['layout'])?this['valid']+=F:this[_0x371154(0x211)]++;}}[_0x4d683a(0x218)](){const _0x4dc936=_0x4d683a,_0x309916=0x64-Math[_0x4dc936(0x1c9)]((this[_0x4dc936(0x211)]*0xa+0x1)*0x64/(this[_0x4dc936(0x211)]+this[_0x4dc936(0x1a9)]+0x1)),_0x317fe4={'Charset':this['dt'],'Confidence':_0x309916,'debugInfo':this[_0x4dc936(0x1c1)]};return this[_0x4dc936(0x1ea)]&&(_0x317fe4['Layout']=this[_0x4dc936(0x1c1)]),_0x317fe4;}}class se extends Y{constructor(_0x634ca4){const _0x439b23=_0x4d683a;super(),p(this,'dateStyles'),p(this,_0x439b23(0x1c6)),p(this,'dt'),p(this,'layout'),p(this,'needConvert'),(this[_0x439b23(0x1af)]=_0x634ca4[_0x439b23(0x1af)]||{},this['dt']=_0x634ca4['dt'],this[_0x439b23(0x1c1)]=_0x634ca4[_0x439b23(0x1c1)],this[_0x439b23(0x1ea)]=!!_0x634ca4[_0x439b23(0x1ea)]);}[_0x4d683a(0x1d9)](_0x391608){const _0x335fe6=_0x4d683a;if(_0x391608['t']===_0x25f514[_0x335fe6(0x21a)]){if(_0x391608['s']&&this['dateStyles'][_0x391608['s']]){this[_0x335fe6(0x1a9)]+=F;return;}const _0x489fd1=re(_0x391608);if(!_0x489fd1)return;if(this[_0x335fe6(0x1c1)]===_0x335fe6(0x19f)){const _0x223736=Number(_0x489fd1);if(Ee(_0x223736)){this[_0x335fe6(0x1a9)]+=F;return;}}he(_0x489fd1,this['layout'])?this[_0x335fe6(0x1a9)]+=F:this[_0x335fe6(0x211)]++;}}[_0x4d683a(0x218)](){const _0x11baa2=_0x4d683a,_0x3a7f4f=0x64-Math['trunc']((this[_0x11baa2(0x211)]*0xa+0x1)*0x64/(this[_0x11baa2(0x211)]+this[_0x11baa2(0x1a9)]+0x1)),_0x108ec3={'Charset':this['dt'],'Confidence':_0x3a7f4f,'debugInfo':this[_0x11baa2(0x1c1)]};return this[_0x11baa2(0x1ea)]&&(_0x108ec3['Layout']=this[_0x11baa2(0x1c1)]),_0x108ec3;}}class _e extends Y{['Match'](_0x397e90){const _0x5fe468=_0x4d683a;if(_0x397e90['t']===_0x25f514[_0x5fe468(0x21a)])this[_0x5fe468(0x1a9)]+=Q;else{const _0xf8b446=re(_0x397e90);if(!_0xf8b446)return;Ne(_0xf8b446)?this[_0x5fe468(0x1a9)]+=Q:this[_0x5fe468(0x211)]++;}}[_0x4d683a(0x218)](){const _0x2306d9=_0x4d683a;return{'Charset':0x1,'Confidence':0x64-Math[_0x2306d9(0x1c9)]((this[_0x2306d9(0x211)]*0xa+0x1)*0x64/(this[_0x2306d9(0x211)]+this['valid']+0x1)),'debugInfo':_0x2306d9(0x228)};}}class Ae extends Y{['Match'](_0x5a2106){const _0x5f5725=_0x4d683a;_0x5a2106['t']===_0x25f514['BOOLEAN']?this[_0x5f5725(0x1a9)]+=Q:this[_0x5f5725(0x211)]++;}[_0x4d683a(0x218)](){const _0x49d080=_0x4d683a;return{'Charset':0x5,'Confidence':0x64-Math['trunc']((this['invalid']*0xa+0x1)*0x64/(this[_0x49d080(0x211)]+this[_0x49d080(0x1a9)]+0x1)),'debugInfo':'number'};}}class Oe{constructor(_0x4a0564){const _0x3f58df=_0x4d683a;p(this,'recognizers'),p(this,'dateStyles'),(this[_0x3f58df(0x1af)]=_0x4a0564||{},this['recognizers']=[new b({'dt':0x2,'layout':_0x3f58df(0x1ba)}),new b({'dt':0x2,'layout':'2006-1-2'}),new b({'dt':0x2,'layout':_0x3f58df(0x1b5)}),new b({'dt':0x2,'layout':_0x3f58df(0x1d3)}),new b({'dt':0x2,'layout':_0x3f58df(0x1fa),'needConvert':!0x0}),new b({'dt':0x2,'layout':'02-01-2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x1fc),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x1b6),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x20d),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x1e4),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x20b),'needConvert':!0x0}),new b({'dt':0x2,'layout':'2\x20January,2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x1f7),'needConvert':!0x0}),new b({'dt':0x2,'layout':'January\x202,\x202006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x209),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x20f),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x3f58df(0x1b1),'needConvert':!0x0}),new se({'dateStyles':this[_0x3f58df(0x1af)],'dt':0x2,'layout':_0x3f58df(0x1b1),'needConvert':!0x0}),new b({'dt':0x4,'layout':_0x3f58df(0x219)}),new b({'dt':0x4,'layout':_0x3f58df(0x1b4)}),new se({'dateStyles':this[_0x3f58df(0x1af)],'dt':0x3,'layout':_0x3f58df(0x19f),'needConvert':!0x0}),new _e(),new Ae()]);}[_0x4d683a(0x1d9)](_0x2e3bf1){const _0x4be189=_0x4d683a;for(const _0x362093 of this[_0x4be189(0x1b8)])_0x362093[_0x4be189(0x1d9)](_0x2e3bf1);}['Best'](){const _0x5aee72=_0x4d683a,_0x5c255a=this['recognizers'][_0x5aee72(0x22b)](_0x5e37d1=>_0x5e37d1[_0x5aee72(0x218)]());if(_0x5c255a[_0x5aee72(0x1eb)]((_0x34fab3,_0x4c084f)=>_0x4c084f[_0x5aee72(0x1ee)]-_0x34fab3[_0x5aee72(0x1ee)]),_0x5c255a[_0x5aee72(0x1cb)]===0x0||_0x5c255a[0x0]['Confidence']<0x32)return['string',null];const _0x158f64=_0x5c255a[0x0];return[$e(_0x158f64[_0x5aee72(0x214)]),_0x158f64];}}function ge(_0x4979b3,_0x2049f3){const _0x41cd62=_0x4d683a;let _0x117a05=_0x4979b3,_0x42c1b3=_0x2049f3;_0x117a05<=0x0&&(_0x117a05=0x6),_0x42c1b3<=0x0&&(_0x42c1b3=0xa),_0x42c1b3=_0x42c1b3*0x2;const _0x389dc8=[];for(let _0x18a1da=0x0;_0x18a1da<_0x42c1b3;_0x18a1da++)_0x389dc8['push'](_0x474a5f(_0x117a05));const _0x5b1529=new Map();for(const _0x5d3f03 of _0x389dc8){const _0x58b7eb=_0x5d3f03[_0x41cd62(0x231)]();_0x5b1529[_0x41cd62(0x1e9)](_0x58b7eb)||_0x5b1529[_0x41cd62(0x1ab)](_0x58b7eb,_0x5d3f03);}return Array[_0x41cd62(0x203)](_0x5b1529['values']());}var ee=(_0x571be7=>(_0x571be7[_0x4d683a(0x1fd)]='none',_0x571be7[_0x4d683a(0x23c)]=_0x4d683a(0x210),_0x571be7[_0x4d683a(0x1e3)]='sample',_0x571be7))(ee||{});class K{constructor(_0x337ce9){const _0x40b445=_0x4d683a;p(this,'id'),p(this,'sheetId'),p(this,_0x40b445(0x1e6)),p(this,'name'),p(this,_0x40b445(0x205)),p(this,_0x40b445(0x1dd)),p(this,_0x40b445(0x204)),p(this,'startStatisticRowCount'),p(this,'endStatisticRowCount'),p(this,_0x40b445(0x1ff)),p(this,_0x40b445(0x1ac)),p(this,'columnMergeTitleState'),p(this,'columnMergeTitleCountMap'),p(this,_0x40b445(0x1b3)),p(this,'isMatchContinue'),p(this,_0x40b445(0x1d2)),p(this,_0x40b445(0x1b7)),p(this,'isUpdateTable'),p(this,_0x40b445(0x1be));var _0x222725,_0x3ee59f,_0x3a1e1e,_0x70814b,_0x5dcbc2,_0x27cdd8,_0x11cab9,_0x291043,_0x202387,_0x3ed3fc,_0xb0f92c,_0x10d45b,_0x2e845e,_0x5e184c,_0x1a2307,_0xd2ef60,_0x18f1c5,_0x66dd7a,_0x36eace;this['id']=(_0x222725=_0x337ce9==null?void 0x0:_0x337ce9['id'])!=null?_0x222725:'',this[_0x40b445(0x1df)]=(_0x3ee59f=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1df)])!=null?_0x3ee59f:_0x474a5f(),this[_0x40b445(0x1e6)]=(_0x3a1e1e=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1e6)])!=null?_0x3a1e1e:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x40b445(0x237)]=(_0x70814b=_0x337ce9==null?void 0x0:_0x337ce9['name'])!=null?_0x70814b:'',this['description']=(_0x5dcbc2=_0x337ce9==null?void 0x0:_0x337ce9['description'])!=null?_0x5dcbc2:'',this[_0x40b445(0x1dd)]=(_0x27cdd8=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1dd)])!=null?_0x27cdd8:0x0,this['mergeRowTitleCount']=(_0x11cab9=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x204)])!=null?_0x11cab9:0x0,this['startStatisticRowCount']=(_0x291043=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x239)])!=null?_0x291043:0x0,this[_0x40b445(0x220)]=(_0x202387=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x220)])!=null?_0x202387:0x0,this[_0x40b445(0x1ff)]=(_0x3ed3fc=_0x337ce9==null?void 0x0:_0x337ce9['rowMergeTitleCountMap'])!=null?_0x3ed3fc:new Map(),this['rowMergeTitleState']=(_0xb0f92c=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1ac)])!=null?_0xb0f92c:!0x1,this['columnMergeTitleState']=(_0x10d45b=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x22f)])!=null?_0x10d45b:!0x1,this[_0x40b445(0x229)]=(_0x2e845e=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x229)])!=null?_0x2e845e:new Map(),this[_0x40b445(0x1b3)]=(_0x5e184c=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1b3)])!=null?_0x5e184c:!0x1,this[_0x40b445(0x223)]=(_0x1a2307=_0x337ce9==null?void 0x0:_0x337ce9['isMatchContinue'])!=null?_0x1a2307:!0x1,this[_0x40b445(0x1d2)]=(_0xd2ef60=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1d2)])!=null?_0xd2ef60:!0x1,this[_0x40b445(0x1b7)]=(_0x18f1c5=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1b7)])!=null?_0x18f1c5:!0x1,this[_0x40b445(0x238)]=(_0x66dd7a=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x238)])!=null?_0x66dd7a:!0x1,this['columns']=(_0x36eace=_0x337ce9==null?void 0x0:_0x337ce9[_0x40b445(0x1be)])!=null?_0x36eace:[];}[_0x4d683a(0x1d0)](_0x35b756,_0xa35329){return _0xa35329-_0x35b756===0x1||_0xa35329===_0x35b756;}[_0x4d683a(0x208)](_0x5d6ab0){const _0x51cc95=_0x4d683a,_0x21d36e=[];for(const _0x1935ca of _0x5d6ab0)this[_0x51cc95(0x1e6)][_0x51cc95(0x20a)]<_0x1935ca[_0x51cc95(0x1e6)][_0x51cc95(0x234)]||this[_0x51cc95(0x1e6)][_0x51cc95(0x234)]>_0x1935ca[_0x51cc95(0x1e6)]['endColumn']||this[_0x51cc95(0x1d0)](_0x1935ca[_0x51cc95(0x1e6)][_0x51cc95(0x1c3)],this[_0x51cc95(0x1e6)][_0x51cc95(0x1c8)])&&_0x21d36e[_0x51cc95(0x222)](_0x1935ca);return _0x21d36e;}[_0x4d683a(0x19b)](_0x1e41b8){const _0x1c9234=_0x4d683a;return _0x1e41b8[_0x1c9234(0x1e6)][_0x1c9234(0x1c3)]===this[_0x1c9234(0x1e6)]['startRow']&&this[_0x1c9234(0x1e6)]['endColumn']+0x1===_0x1e41b8['range'][_0x1c9234(0x234)];}[_0x4d683a(0x200)](_0x222538){const _0x5148b2=_0x4d683a;return this[_0x5148b2(0x1e6)]['startColumn']===-0x1?this:(_0x222538[_0x5148b2(0x222)](this),new K({'sheetId':this[_0x5148b2(0x1df)],'range':{'startRow':this[_0x5148b2(0x1e6)]['startRow'],'endRow':this[_0x5148b2(0x1e6)][_0x5148b2(0x1c3)],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x4d683a(0x1c4)](_0x374718,_0x2380b0,_0x2cf860,_0x182922){const _0xc6b2db=_0x4d683a;this['range'][_0xc6b2db(0x234)]===-0x1&&(this['range'][_0xc6b2db(0x234)]=_0x2380b0),this[_0xc6b2db(0x1e6)][_0xc6b2db(0x20a)]=_0x2380b0,_0x182922!=null&&(this[_0xc6b2db(0x1e6)][_0xc6b2db(0x20a)]=Math['max'](_0x182922,this[_0xc6b2db(0x1e6)][_0xc6b2db(0x20a)]));}[_0x4d683a(0x1bc)](){const _0x55b544=_0x4d683a;this[_0x55b544(0x1ff)][_0x55b544(0x20c)](),this[_0x55b544(0x229)][_0x55b544(0x20c)](),this[_0x55b544(0x1be)]=[];}}function we(_0x579b03,_0x4c049a){const {startRow:_0x177f28,startColumn:_0x380df5,endRow:_0x2d87da,endColumn:_0x4ab02f}=_0x4c049a;return _0x579b03+':'+_0x177f28+','+_0x380df5+'-'+_0x2d87da+','+_0x4ab02f;}const W=new Map();function Pe(_0xdc6364,_0x5e0850){const _0x461b54=_0x4d683a;var _0x52d3d3;const _0x4ca762=new _0x28ecc8(!0x1),_0x442d51=_0x5e0850['getSheetId'](),_0x2be7c5=new Map(),_0x5a00f5=(_0x52d3d3=_0x5e0850[_0x461b54(0x1cc)]())!=null?_0x52d3d3:[];W[_0x461b54(0x20c)]();for(const _0x2b1a02 of _0x5a00f5){const _0x569970=we(_0x461b54(0x224),_0x2b1a02),_0x2d5679={'unitId':_0xdc6364,'sheetId':_0x442d51,'range':_0x2b1a02,'id':_0x569970};_0x4ca762[_0x461b54(0x206)](_0x2d5679),_0x2be7c5[_0x461b54(0x1ab)](_0x569970,_0x2d5679);}return W[_0x461b54(0x1ab)](_0x5e0850,{'mergeRTree':_0x4ca762,'mergeRangeMap':_0x2be7c5}),{'mergeRTree':_0x4ca762,'mergeRangeMap':_0x2be7c5};}function Ue(_0x2d9a14,_0x2b3f18,_0x3ded57){const _0x5a8365=_0x4d683a,_0x244116=new _0x28ecc8(!0x1),_0x7219cd=_0x3ded57['get'](_0x2667ab)['getTableList'](_0x2d9a14);if(_0x7219cd&&Array[_0x5a8365(0x22e)](_0x7219cd))for(const _0x19d7d8 of _0x7219cd){if(!(_0x19d7d8!=null&&_0x19d7d8[_0x5a8365(0x1e6)]))continue;const _0x25abbb=_0x19d7d8[_0x5a8365(0x1e6)],_0x35d118={'unitId':_0x2d9a14,'sheetId':_0x2b3f18,'range':_0x25abbb,'id':we(_0x5a8365(0x1f0),_0x25abbb)};_0x244116[_0x5a8365(0x206)](_0x35d118);}return _0x244116;}function ie(_0xe4ccc1,_0x2e5013,_0x1a6b79){const _0xeb7408=_0x4d683a,_0x4308dc=_0xe4ccc1[_0xeb7408(0x21d)](_0x2e5013);_0x4308dc?_0x4308dc[_0xeb7408(0x222)](_0x1a6b79):_0xe4ccc1[_0xeb7408(0x1ab)](_0x2e5013,[_0x1a6b79]);}function Le(_0x5c29d0,_0x52d93b){const _0x5a40c0=_0x4d683a;var _0x3ed70f,_0x35cb92,_0x332aa4;const _0x3c847f=_0x5c29d0[_0x5a40c0(0x1b2)](),_0x14d1e1={},_0x4ea1cc=_0x5c29d0[_0x5a40c0(0x22a)]();for(const _0x5799e6 of _0x3c847f){const _0x52fb54=_0x5799e6[_0x5a40c0(0x216)](),_0x881205=_0x5799e6[_0x5a40c0(0x1e7)](),_0x45fddc=_0x5799e6['getColumnCount'](),{mergeRTree:_0x44bc15,mergeRangeMap:_0x139398}=Pe(_0x4ea1cc,_0x5799e6),_0x245705=Ue(_0x4ea1cc,_0x52fb54,_0x52d93b),_0x44a36e=[];let _0x4b19c7=[];for(let _0x53fd01=0x0;_0x53fd01<_0x881205;_0x53fd01++){const _0x499bf5=[];let _0x38524c=new K({'sheetId':_0x52fb54,'range':{'startRow':_0x53fd01,'endRow':_0x53fd01,'startColumn':-0x1,'endColumn':-0x1}});const _0x30210f=new Map();for(let _0x26de2f=0x0;_0x26de2f<=_0x45fddc;_0x26de2f++){const _0x5afc83=_0x5799e6[_0x5a40c0(0x20e)](_0x53fd01,_0x26de2f),_0x688a77={'range':{'startRow':_0x53fd01,'startColumn':_0x26de2f,'endRow':_0x53fd01,'endColumn':_0x26de2f},'unitId':_0x4ea1cc,'sheetId':_0x52fb54};if(_0x245705[_0x5a40c0(0x202)]([_0x688a77])[_0x5a40c0(0x1d5)]>0x0){_0x38524c=_0x38524c['saveTableToCache'](_0x499bf5);continue;}const _0x2ea0c9=_0x44bc15['bulkSearch']([_0x688a77]);if(_0x2ea0c9['size']>0x0){const _0x43caa6=_0x38524c['intersectWithPreTables'](_0x4b19c7),_0x2e201b=_0x2ea0c9[_0x5a40c0(0x232)]()['next']()[_0x5a40c0(0x1a4)],_0x4fa5b9=_0x139398['get'](_0x2e201b);if(!_0x4fa5b9)continue;const _0x10b401={'startRow':_0x4fa5b9[_0x5a40c0(0x1e6)]['startRow'],'endRow':_0x4fa5b9['range']['endRow'],'startColumn':_0x4fa5b9[_0x5a40c0(0x1e6)][_0x5a40c0(0x234)],'endColumn':_0x4fa5b9[_0x5a40c0(0x1e6)][_0x5a40c0(0x20a)]},_0x2263db=_0x5799e6[_0x5a40c0(0x20e)](_0x10b401[_0x5a40c0(0x1c8)],_0x10b401[_0x5a40c0(0x234)]);if(_0x2263db&&(_0x2263db['p']!=null||_0x2263db['v']!=null&&String(_0x2263db['v'])[_0x5a40c0(0x1cb)]>0x0)){_0x38524c[_0x5a40c0(0x1c4)](_0x53fd01,_0x26de2f,_0x5afc83,_0x10b401[_0x5a40c0(0x20a)]);for(let _0xe13022=_0x10b401[_0x5a40c0(0x234)];_0xe13022<=_0x10b401['endColumn'];_0xe13022++)_0x30210f[_0x5a40c0(0x1ab)](_0xe13022,!0x0);}else _0x38524c=_0x38524c['saveTableToCache'](_0x499bf5);const _0x2527eb=_0x10b401['endRow']-_0x10b401[_0x5a40c0(0x1c8)],_0x192ed7=_0x10b401[_0x5a40c0(0x20a)]-_0x10b401[_0x5a40c0(0x234)];if(_0x43caa6[_0x5a40c0(0x1cb)]===0x1){if(_0x2527eb>0x0&&ie(_0x38524c[_0x5a40c0(0x229)],_0x26de2f,_0x4fa5b9),_0x192ed7>0x0){const _0x58132e=(_0x3ed70f=_0x38524c[_0x5a40c0(0x1ff)][_0x5a40c0(0x21d)](_0x53fd01))!=null?_0x3ed70f:[];_0x58132e[_0x5a40c0(0x222)](_0x4fa5b9),_0x38524c[_0x5a40c0(0x1ff)][_0x5a40c0(0x1ab)](_0x53fd01,_0x58132e);}}else{if(_0x2527eb>0x0&&(_0x38524c[_0x5a40c0(0x22f)]=!0x0,ie(_0x38524c[_0x5a40c0(0x229)],_0x26de2f,_0x4fa5b9)),_0x192ed7>0x0){_0x38524c[_0x5a40c0(0x1ac)]=!0x0;const _0x5347e2=(_0x35cb92=_0x38524c['rowMergeTitleCountMap'][_0x5a40c0(0x21d)](_0x53fd01))!=null?_0x35cb92:[];_0x5347e2[_0x5a40c0(0x222)](_0x4fa5b9),_0x38524c[_0x5a40c0(0x1ff)][_0x5a40c0(0x1ab)](_0x53fd01,_0x5347e2);}}continue;}if((!_0x5afc83||V(_0x5afc83)==null)&&!_0x30210f['get'](_0x26de2f)){_0x38524c=_0x38524c['saveTableToCache'](_0x499bf5);continue;}_0x5afc83&&V(_0x5afc83)!=null?_0x38524c['insertCellData'](_0x53fd01,_0x26de2f,_0x5afc83):(_0x38524c[_0x5a40c0(0x1ac)]=!0x1,_0x38524c['columnMergeTitleState']=!0x1,_0x38524c=_0x38524c[_0x5a40c0(0x200)](_0x499bf5));}if(_0x499bf5[_0x5a40c0(0x1cb)]===0x0){_0x44a36e[_0x5a40c0(0x222)](..._0x4b19c7),_0x4b19c7=[];continue;}if(_0x4b19c7[_0x5a40c0(0x1cb)]===0x0){_0x4b19c7[_0x5a40c0(0x222)](..._0x499bf5);continue;}const _0x46720a=(_0x47c83f,_0x35173d)=>{const _0x2685a1=_0x5a40c0;_0x47c83f[_0x2685a1(0x1e6)][_0x2685a1(0x1c8)]=Math[_0x2685a1(0x1bd)](_0x47c83f[_0x2685a1(0x1e6)][_0x2685a1(0x1c8)],_0x35173d[_0x2685a1(0x1e6)][_0x2685a1(0x1c8)]),_0x47c83f[_0x2685a1(0x1e6)][_0x2685a1(0x1c3)]=Math['max'](_0x47c83f[_0x2685a1(0x1e6)][_0x2685a1(0x1c3)],_0x35173d[_0x2685a1(0x1e6)][_0x2685a1(0x1c3)]),_0x47c83f[_0x2685a1(0x1e6)][_0x2685a1(0x234)]=Math[_0x2685a1(0x1bd)](_0x47c83f[_0x2685a1(0x1e6)][_0x2685a1(0x234)],_0x35173d[_0x2685a1(0x1e6)][_0x2685a1(0x234)]),_0x47c83f[_0x2685a1(0x1e6)][_0x2685a1(0x20a)]=Math['max'](_0x47c83f[_0x2685a1(0x1e6)]['endColumn'],_0x35173d['range'][_0x2685a1(0x20a)]),_0x35173d[_0x2685a1(0x1ff)][_0x2685a1(0x1e1)]((_0x4bc546,_0x5535fb)=>{const _0x2cb928=_0x2685a1;var _0x455d7b;const _0x16c05f=(_0x455d7b=_0x47c83f['rowMergeTitleCountMap'][_0x2cb928(0x21d)](_0x5535fb))!=null?_0x455d7b:[];_0x16c05f[_0x2cb928(0x222)](..._0x4bc546),_0x47c83f[_0x2cb928(0x1ff)][_0x2cb928(0x1ab)](_0x5535fb,_0x16c05f);}),_0x35173d[_0x2685a1(0x229)][_0x2685a1(0x1e1)]((_0x56bad2,_0x234b01)=>{const _0xf24bf0=_0x2685a1;var _0x28e452;const _0x3c4c7f=(_0x28e452=_0x47c83f[_0xf24bf0(0x229)][_0xf24bf0(0x21d)](_0x234b01))!=null?_0x28e452:[];_0x3c4c7f[_0xf24bf0(0x222)](..._0x56bad2),_0x47c83f[_0xf24bf0(0x229)][_0xf24bf0(0x1ab)](_0x234b01,_0x3c4c7f);});};for(let _0xba0932=0x0;_0xba0932+0x1<_0x499bf5[_0x5a40c0(0x1cb)];_0xba0932++){const _0xb95119=_0x499bf5[_0xba0932],_0x1e2673=_0x499bf5[_0xba0932+0x1];_0xb95119[_0x5a40c0(0x19b)](_0x1e2673)&&(_0x46720a(_0xb95119,_0x1e2673),_0x499bf5[_0x5a40c0(0x1a8)](_0xba0932+0x1,0x1),_0xba0932--);}const _0x49553a=[];for(const _0x11050b of _0x499bf5){const _0x3a86c2=_0x11050b[_0x5a40c0(0x208)](_0x4b19c7);if(_0x3a86c2[_0x5a40c0(0x1cb)]===0x0){_0x49553a[_0x5a40c0(0x222)](_0x11050b);continue;}const _0x8de8ce=(_0x332aa4=_0x11050b['rowMergeTitleCountMap'][_0x5a40c0(0x21d)](_0x53fd01))!=null?_0x332aa4:[];let _0xca3ed1=Number['MAX_SAFE_INTEGER'],_0x482c97=-0x1,_0x294547=-0x1;for(const _0x170659 of _0x8de8ce){const _0x5d58b2=_0x170659[_0x5a40c0(0x1e6)],_0x2965af=_0x5d58b2[_0x5a40c0(0x234)],_0x356afa=_0x5d58b2[_0x5a40c0(0x20a)];_0xca3ed1=Math[_0x5a40c0(0x1bd)](_0xca3ed1,_0x2965af),_0x482c97=Math[_0x5a40c0(0x1c7)](_0x482c97,_0x356afa);}_0x482c97===-0x1&&(_0x294547=_0x482c97-_0xca3ed1+0x1);const _0xbd8d0=_0x3a86c2[0x0]['range'],_0x29f750=_0xbd8d0[_0x5a40c0(0x20a)]-_0xbd8d0['startColumn']+0x1;if(_0x294547>=0x0&&_0x294547<=_0x29f750*0x3/0x4){_0x49553a[_0x5a40c0(0x222)](_0x11050b);continue;}const _0x1a305a=_0x3a86c2[0x0];for(const _0x46b19b of _0x3a86c2[_0x5a40c0(0x1a3)](0x1))_0x1a305a[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c8)]=Math[_0x5a40c0(0x1bd)](_0x1a305a['range'][_0x5a40c0(0x1c8)],_0x46b19b['range'][_0x5a40c0(0x1c8)]),_0x1a305a['range'][_0x5a40c0(0x1c3)]=Math[_0x5a40c0(0x1c7)](_0x1a305a[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c3)],_0x46b19b[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c3)]),_0x1a305a[_0x5a40c0(0x1e6)][_0x5a40c0(0x234)]=Math[_0x5a40c0(0x1bd)](_0x1a305a[_0x5a40c0(0x1e6)][_0x5a40c0(0x234)],_0x46b19b['range']['startColumn']),_0x1a305a[_0x5a40c0(0x1e6)]['endColumn']=Math['max'](_0x1a305a[_0x5a40c0(0x1e6)]['endColumn'],_0x46b19b[_0x5a40c0(0x1e6)]['endColumn']);_0x1a305a[_0x5a40c0(0x1e6)]['startRow']=Math[_0x5a40c0(0x1bd)](_0x1a305a['range'][_0x5a40c0(0x1c8)],_0x11050b[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c8)]),_0x1a305a['range'][_0x5a40c0(0x1c3)]=Math[_0x5a40c0(0x1c7)](_0x1a305a['range']['endRow'],_0x11050b[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c3)]),_0x1a305a[_0x5a40c0(0x1e6)][_0x5a40c0(0x234)]=Math['min'](_0x1a305a[_0x5a40c0(0x1e6)]['startColumn'],_0x11050b['range']['startColumn']),_0x1a305a[_0x5a40c0(0x1e6)][_0x5a40c0(0x20a)]=Math[_0x5a40c0(0x1c7)](_0x1a305a[_0x5a40c0(0x1e6)][_0x5a40c0(0x20a)],_0x11050b[_0x5a40c0(0x1e6)][_0x5a40c0(0x20a)]),_0x11050b[_0x5a40c0(0x1ff)]['forEach']((_0x139835,_0x4cfb94)=>{const _0x128f53=_0x5a40c0;var _0x22726f;const _0x185559=(_0x22726f=_0x1a305a[_0x128f53(0x1ff)]['get'](_0x4cfb94))!=null?_0x22726f:[];_0x185559[_0x128f53(0x222)](..._0x139835),_0x1a305a[_0x128f53(0x1ff)][_0x128f53(0x1ab)](_0x4cfb94,_0x185559);}),_0x11050b[_0x5a40c0(0x229)]['forEach']((_0x5ad629,_0x7c1628)=>{const _0x32cdd2=_0x5a40c0;var _0x41bb07;const _0xfd6e5b=(_0x41bb07=_0x1a305a[_0x32cdd2(0x229)][_0x32cdd2(0x21d)](_0x7c1628))!=null?_0x41bb07:[];_0xfd6e5b[_0x32cdd2(0x222)](..._0x5ad629),_0x1a305a[_0x32cdd2(0x229)][_0x32cdd2(0x1ab)](_0x7c1628,_0xfd6e5b);}),_0x1a305a[_0x5a40c0(0x223)]=!0x0;}const _0x14fc11=[];for(const _0x3918e4 of _0x4b19c7)!_0x3918e4[_0x5a40c0(0x223)]&&_0x3918e4[_0x5a40c0(0x1b3)]||(_0x14fc11[_0x5a40c0(0x222)](_0x3918e4),_0x3918e4[_0x5a40c0(0x223)]=!0x1,_0x3918e4[_0x5a40c0(0x1b3)]=!0x1);_0x14fc11[_0x5a40c0(0x222)](..._0x49553a),_0x4b19c7=_0x14fc11;}_0x44a36e[_0x5a40c0(0x222)](..._0x4b19c7);let _0x5980b3=0x0;for(const _0x496349 of _0x44a36e){const _0x468839=_0x496349[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c3)]-_0x496349[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c8)]+0x1;_0x496349[_0x5a40c0(0x1e6)][_0x5a40c0(0x20a)]-_0x496349[_0x5a40c0(0x1e6)]['startColumn']+0x1>0x0&&_0x468839>0x1&&_0x5980b3++;}if(_0x5980b3===0x0)continue;const _0xf9d10e=[],_0x3041fe=ge(0x6,_0x44a36e[_0x5a40c0(0x1cb)]);let _0x43e827=0x0;for(const _0x2c954e of _0x44a36e){const _0x234e9e=_0x2c954e['range'][_0x5a40c0(0x1c3)]-_0x2c954e[_0x5a40c0(0x1e6)][_0x5a40c0(0x1c8)]+0x1,_0x413144=_0x2c954e[_0x5a40c0(0x1e6)]['endColumn']-_0x2c954e[_0x5a40c0(0x1e6)][_0x5a40c0(0x234)]+0x1;let _0x51200d=!0x1;for(const _0x5e9509 of _0x5799e6[_0x5a40c0(0x1cc)]())if(ke(_0x2c954e[_0x5a40c0(0x1e6)],_0x5e9509)){_0x51200d=!0x0;break;}if(_0x51200d)continue;let _0x384c65=!0x0;for(const _0xd999cc of _0x44a36e)if(_0xd999cc!==_0x2c954e&&Je(_0x2c954e,_0xd999cc)){_0x384c65=!0x1;break;}_0x384c65&&(_0x413144<=0x0||_0x234e9e<=0x1||(_0x2c954e['id']=_0x3041fe[_0x43e827++],_0xf9d10e[_0x5a40c0(0x222)](_0x2c954e)));}_0x14d1e1[_0x52fb54]=_0xf9d10e;}return _0x14d1e1;}function De(_0x31b798,_0xc08101,_0x1f3710){const _0x4659d1=Le(_0x31b798,_0xc08101);Ge(_0x4659d1,_0x31b798,_0xc08101);const _0x3aee9e=Ve(_0x4659d1,_0x31b798);return He(_0x3aee9e,_0x31b798,_0xc08101,_0x1f3710);}function ke(_0x125c54,_0x160373){const _0x2d49be=_0x4d683a;return _0x125c54[_0x2d49be(0x1c8)]===_0x160373[_0x2d49be(0x1c8)]&&_0x125c54[_0x2d49be(0x1c3)]===_0x160373[_0x2d49be(0x1c3)]&&_0x125c54['startColumn']===_0x160373[_0x2d49be(0x234)]&&_0x125c54['endColumn']===_0x160373[_0x2d49be(0x20a)];}function Je(_0x40662e,_0x558cc8){const _0x52919f=_0x4d683a;return _0x40662e[_0x52919f(0x1e6)]['startRow']>=_0x558cc8[_0x52919f(0x1e6)]['startRow']&&_0x40662e[_0x52919f(0x1e6)][_0x52919f(0x1c3)]<=_0x558cc8[_0x52919f(0x1e6)][_0x52919f(0x1c3)]&&_0x40662e[_0x52919f(0x1e6)][_0x52919f(0x234)]>=_0x558cc8[_0x52919f(0x1e6)]['startColumn']&&_0x40662e[_0x52919f(0x1e6)][_0x52919f(0x20a)]<=_0x558cc8[_0x52919f(0x1e6)][_0x52919f(0x20a)];}function Be(_0x24cc74){const _0x59d852=_0x4d683a;return''+ne(_0x24cc74[_0x59d852(0x234)])+(_0x24cc74[_0x59d852(0x1c8)]+0x1)+':'+ne(_0x24cc74[_0x59d852(0x20a)])+(_0x24cc74['endRow']+0x1);}function te(_0x2dd9a8){const _0x968e59=_0x4d683a;var _0x2a25b6;if(_0x2dd9a8!==null){if(_0x2dd9a8!=null&&_0x2dd9a8['p']){const _0x4b5d3a=_0x2dd9a8==null?void 0x0:_0x2dd9a8['p'][_0x968e59(0x19e)];if(_0x4b5d3a==null)return;const _0x95c385=_0x4b5d3a[_0x968e59(0x215)],_0x228cd5=_0x143d7b['transform'][_0x968e59(0x235)](_0x95c385),_0x406a39=_0x4b5d3a[_0x968e59(0x23d)];if(_0x406a39&&_0x406a39[_0x968e59(0x1cb)]>0x0){const _0x2e99d9=_0x406a39[0x0],_0x383b89=(_0x2a25b6=_0x2e99d9['properties'])==null?void 0x0:_0x2a25b6[_0x968e59(0x1ca)];if(!_0x383b89)return _0x228cd5;const _0x2a2e34=typeof _0x2e99d9[_0x968e59(0x1d6)]==_0x968e59(0x228)?_0x2e99d9['startIndex']:0x0;let _0x2c3d84=typeof _0x2e99d9[_0x968e59(0x1f3)]=='number'?_0x2e99d9[_0x968e59(0x1f3)]+0x1:_0x2a2e34+0x1;return _0x2a2e34===0x0&&_0x2c3d84===0x0?_0x2c3d84=0x1:_0x2c3d84<=_0x2a2e34&&(_0x2c3d84=_0x2a2e34+0x1),'['+_0x95c385[_0x968e59(0x1a3)](_0x2a2e34,_0x2c3d84)+']('+_0x383b89+')';}return _0x228cd5;}if((_0x2dd9a8==null?void 0x0:_0x2dd9a8['v'])!=null)return _0x2dd9a8['v'];}}function V(_0x5a9504){const _0x1789c9=te(_0x5a9504);if(_0x1789c9!=null)return String(_0x1789c9);}function ze(_0x2cd322,_0x5592a8,_0xdc359a){const _0x4785b1=_0x4d683a,_0x2b2fcb=_0xdc359a['getCell'](_0x2cd322,_0x5592a8);if(_0x2b2fcb!=null){const _0x3ffc30=V(_0x2b2fcb);if(_0x3ffc30!=null&&_0x3ffc30[_0x4785b1(0x1cb)]>0x0)return _0x3ffc30;}const _0x19115d=W[_0x4785b1(0x21d)](_0xdc359a),_0x587bd5=_0x19115d==null?void 0x0:_0x19115d['mergeRTree'],_0x2bab35=_0x19115d==null?void 0x0:_0x19115d[_0x4785b1(0x23e)],_0x3a6ebe=_0xdc359a['getUnitId'](),_0xb3837b=_0xdc359a['getSheetId'](),_0xd387a4={'range':{'startRow':_0x2cd322,'endRow':_0x2cd322,'startColumn':_0x5592a8,'endColumn':_0x5592a8},'unitId':_0x3a6ebe,'sheetId':_0xb3837b},_0x4e864d=(_0x587bd5==null?void 0x0:_0x587bd5[_0x4785b1(0x202)]([_0xd387a4]))||new Map();if(_0x4e864d['size']===0x0||!_0x2bab35)return null;const _0x285228=_0x4e864d['keys']()[_0x4785b1(0x221)]()['value'],_0x3edd7a=_0x2bab35[_0x4785b1(0x21d)](_0x285228);if(!_0x3edd7a)return null;const _0x524643=_0xdc359a[_0x4785b1(0x20e)](_0x3edd7a['range'][_0x4785b1(0x1c8)],_0x3edd7a[_0x4785b1(0x1e6)][_0x4785b1(0x234)]);return _0x524643==null?null:V(_0x524643);}function Ge(_0x4525a6,_0x49d635,_0x3f3955){const _0x30e110=_0x4d683a,_0x3ebd9a=_0x49d635[_0x30e110(0x1b2)](),_0x1879b8=_0x3f3955[_0x30e110(0x21d)](_0x2667ab),_0x3c4472=_0x49d635[_0x30e110(0x22a)]();for(const _0x28e02a of _0x3ebd9a){const _0x301212=_0x28e02a['getSheetId'](),_0x1d0957=_0x1879b8['getTablesBySubunitId'](_0x3c4472,_0x301212);if(!_0x1d0957)continue;const _0x29cb77=_0x1d0957[_0x30e110(0x22b)](_0x54e107=>_0x54e107[_0x30e110(0x1a2)]());for(const _0x16362d of _0x29cb77){const {startRow:_0x71d902,endRow:_0x4bf4be,startColumn:_0x5884c8,endColumn:_0x187429}=_0x16362d[_0x30e110(0x1e6)],_0x35ee12=new K({'id':_0x16362d['id'],'sheetId':_0x301212,'range':{'startRow':_0x71d902,'endRow':_0x4bf4be,'startColumn':_0x5884c8,'endColumn':_0x187429},'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':[]});_0x4525a6[_0x301212]||(_0x4525a6[_0x301212]=[]),_0x4525a6[_0x301212][_0x30e110(0x222)](_0x35ee12);}}}function Ve(_0x353ea7,_0x1006af){const _0x74b319=_0x4d683a;var _0x1f709b,_0x5b9652;for(const [_0xfe5f02,_0x7286de]of Object[_0x74b319(0x22c)](_0x353ea7)){const _0x564657=_0x7286de;let _0x512139=!0x1;const _0x16d7fc=_0x1006af[_0x74b319(0x1c2)](_0xfe5f02);if(_0x16d7fc){for(let _0x1a1e44=0x0;_0x1a1e44<_0x564657[_0x74b319(0x1cb)];_0x1a1e44++){const _0x1123e7=_0x564657[_0x1a1e44],_0x51ed11=_0x1123e7['range'],{startRow:_0x2298f5,endRow:_0x39b10b,startColumn:_0x5592ab,endColumn:_0x2b85b3}=_0x51ed11,_0x324f2f=We(_0x1123e7,_0x16d7fc,_0x1006af),_0x4dab6b=je(_0x2298f5,_0x39b10b,_0x1123e7);let _0x37b0fe=0x1;const _0x2134e7=_0x2298f5+_0x4dab6b;let _0x895bf0=0x0,_0x417072=0x0;for(let _0x182990=_0x5592ab;_0x182990<=_0x2b85b3;_0x182990++){const _0x5d664f=_0x16d7fc['getCell'](_0x2134e7,_0x182990);if(!_0x5d664f)continue;const _0x1a1fcd=V(_0x5d664f);_0x1a1fcd!=null&&(_0x1a1fcd!==''&&_0x417072++,le(_0x1a1fcd)&&_0x895bf0++);}if(_0x417072>0x0&&_0x895bf0/Math[_0x74b319(0x1c7)](_0x417072,0x1)>0.03&&(_0x37b0fe=0x0),_0x1123e7[_0x74b319(0x204)]=_0x4dab6b,_0x1123e7[_0x74b319(0x1dd)]=_0x37b0fe+_0x4dab6b,_0x1123e7[_0x74b319(0x1e6)][_0x74b319(0x1c3)]-_0x1123e7[_0x74b319(0x1e6)][_0x74b319(0x1c8)]+0x1-_0x1123e7[_0x74b319(0x1dd)]<=0x1){console['warn'](_0x74b319(0x1fe)+_0x1a1e44+_0x74b319(0x1e5)+Be(_0x1123e7[_0x74b319(0x1e6)])),_0x564657[_0x74b319(0x1a8)](_0x1a1e44,0x1),_0x1a1e44--,_0x512139=!0x0;continue;}const _0x104d7b=new Map();let _0x53a63a=0x0;const _0x526f26=ge(0x4,_0x2b85b3-_0x5592ab+0x1);for(let _0x11d460=_0x5592ab;_0x11d460<=_0x2b85b3;_0x11d460++){let _0x5a9849='';const _0x26a934=new Set();let _0x493748=!0x1;const _0x1f7715=_0x2298f5+_0x1123e7[_0x74b319(0x1dd)]-0x1;let _0x2e6580=_0x2298f5;_0x324f2f!==''&&(_0x2e6580=_0x2298f5+0x1);for(let _0x2a1bd1=_0x2e6580;_0x2a1bd1<=_0x1f7715;_0x2a1bd1++){const _0x3561c5=ze(_0x2a1bd1,_0x11d460,_0x16d7fc);_0x3561c5!=null&&(_0x2a1bd1===_0x1f7715&&(_0x5a9849=_0x3561c5),_0x26a934['add'](_0x3561c5));}const _0x297fec=[..._0x26a934][_0x74b319(0x1d8)](','),_0x548e88=_0x297fec;_0x104d7b['has'](_0x548e88)?_0x493748=!0x0:_0x104d7b[_0x74b319(0x1ab)](_0x548e88,!0x0);const _0x622ad4=_0x1f7715+0x1;let _0x4a12ec=_0x1f7715+0x14,_0x347ac0=0x0,_0x33155a=!0x1,_0x19fba7=!0x1;if(_0x4a12ec>_0x39b10b&&(_0x4a12ec=_0x39b10b),_0x622ad4<_0x39b10b){let _0x528041='';for(let _0x1fd613=_0x622ad4;_0x1fd613<=_0x4a12ec;_0x1fd613++){const _0x1b81f1=_0x16d7fc[_0x74b319(0x20e)](_0x1fd613,_0x11d460);if(!_0x1b81f1)continue;const _0xcc1f8a=V(_0x1b81f1);_0xcc1f8a!=null&&(le(_0xcc1f8a)||(_0x528041+=_0xcc1f8a),Ke(_0xcc1f8a)&&_0x347ac0++);}_0x347ac0>Math[_0x74b319(0x19c)]((_0x4a12ec-_0x622ad4+0x1)/0x2)&&(_0x19fba7=!0x0),Xe(_0x528041)/Math[_0x74b319(0x1c7)](_0x4a12ec-_0x622ad4+0x1,0x1)>0xf&&!_0x19fba7&&(_0x33155a=!0x0);}_0x1123e7[_0x74b319(0x1be)][_0x74b319(0x222)]({'id':_0x526f26[_0x53a63a++],'Name':_0x5a9849,'Type':'','Description':_0x297fec,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x33155a,'isLink':_0x19fba7,'isTitleRepeat':_0x493748,'isUnique':!0x1,'links':[]});}qe(_0x1123e7,_0x1006af);}_0x512139&&(_0x353ea7[_0xfe5f02]=_0x564657),_0x564657[_0x74b319(0x1cb)]===0x0&&delete _0x353ea7[_0xfe5f02],(_0x5b9652=(_0x1f709b=_0x353ea7[_0xfe5f02])==null?void 0x0:_0x1f709b['length'])!=null;}}return _0x353ea7;}function je(_0x3486bb,_0x188a60,_0xfe5e63){const _0x3dcec6=_0x4d683a;var _0x28d35d;function _0x19e42d(_0x137272){const _0x354c24=_0x1077;if(_0x137272[_0x354c24(0x1cb)]===0x0)return 0x0;_0x137272['sort']((_0x2c7b1c,_0x4835af)=>_0x2c7b1c[0x0]-_0x4835af[0x0]);let _0xb6a2f4=0x0,_0x84171c=_0x137272[0x0][0x0],_0x654f85=_0x137272[0x0][0x1];for(let _0x2b3cd0=0x1;_0x2b3cd0<_0x137272[_0x354c24(0x1cb)];_0x2b3cd0++){const [_0xa6c089,_0x4f03b7]=_0x137272[_0x2b3cd0];_0xa6c089<=_0x654f85+0x1?_0x654f85=Math[_0x354c24(0x1c7)](_0x654f85,_0x4f03b7):(_0xb6a2f4+=_0x654f85-_0x84171c+0x1,_0x84171c=_0xa6c089,_0x654f85=_0x4f03b7);}return _0xb6a2f4+=_0x654f85-_0x84171c+0x1,_0xb6a2f4;}const _0x4e0369=_0xfe5e63[_0x3dcec6(0x1e6)][_0x3dcec6(0x234)],_0x1ebf0d=_0xfe5e63[_0x3dcec6(0x1e6)][_0x3dcec6(0x20a)],_0x300f54=_0x1ebf0d-_0x4e0369+0x1;let _0x163f0a=_0x3486bb-0x1,_0x4296f2=_0x3486bb-0x1,_0x202136=!0x1;const _0xe16f98=0x64;for(let _0x1a34bb=_0x3486bb;_0x1a34bb<=_0x188a60&&_0x1a34bb-_0x3486bb<_0xe16f98;_0x1a34bb++){const _0x5af5e3=[],_0x4cba82=(_0x28d35d=_0xfe5e63['rowMergeTitleCountMap'][_0x3dcec6(0x21d)](_0x1a34bb))!=null?_0x28d35d:[];for(const _0x44b136 of _0x4cba82){const _0xba281f=_0x44b136[_0x3dcec6(0x1e6)][_0x3dcec6(0x234)],_0x4b0d12=_0x44b136[_0x3dcec6(0x1e6)][_0x3dcec6(0x20a)],_0x1fcf98=Math['max'](_0xba281f,_0x4e0369),_0x2addf4=Math[_0x3dcec6(0x1bd)](_0x4b0d12,_0x1ebf0d);_0x1fcf98<=_0x2addf4&&_0x5af5e3[_0x3dcec6(0x222)]([_0x1fcf98,_0x2addf4]);}_0xfe5e63['columnMergeTitleCountMap'][_0x3dcec6(0x1e1)](_0x456fe9=>{const _0x53d173=_0x3dcec6;for(const _0x500b69 of _0x456fe9){const _0x1066ca=_0x500b69[_0x53d173(0x1e6)][_0x53d173(0x1c8)],_0x4781b2=_0x500b69[_0x53d173(0x1e6)]['endRow'];if(_0x1066ca<=_0x1a34bb&&_0x1a34bb<=_0x4781b2){const _0x4368e4=_0x500b69[_0x53d173(0x1e6)][_0x53d173(0x234)],_0x461ebf=_0x500b69[_0x53d173(0x1e6)][_0x53d173(0x20a)],_0x2913ea=Math['max'](_0x4368e4,_0x4e0369),_0x59b49c=Math[_0x53d173(0x1bd)](_0x461ebf,_0x1ebf0d);_0x2913ea<=_0x59b49c&&_0x5af5e3['push']([_0x2913ea,_0x59b49c]);}}});const _0x331d06=_0x19e42d(_0x5af5e3),_0x307816=_0x331d06/Math[_0x3dcec6(0x1c7)](_0x300f54,0x1);_0x5af5e3['length']>0x0&&(_0x163f0a=_0x1a34bb),_0x331d06>0x0&&_0x307816>=0.75&&!_0x202136?_0x4296f2=_0x1a34bb:_0x5af5e3[_0x3dcec6(0x1cb)]>0x0&&(_0x202136=!0x0);}return _0x163f0a===_0x188a60||_0x163f0a-_0x3486bb===_0xe16f98?_0x4296f2-_0x3486bb+0x1:_0x163f0a-_0x3486bb+0x1;}function We(_0x2d04cd,_0x5b65e4,_0x5e0c78){const _0x35e4ad=_0x4d683a;if(_0x2d04cd['description']+=_0x5b65e4[_0x35e4ad(0x1d7)]()+',\x20'+_0x5e0c78[_0x35e4ad(0x237)],_0x2d04cd[_0x35e4ad(0x237)]&&_0x2d04cd[_0x35e4ad(0x237)]!=='')return _0x2d04cd[_0x35e4ad(0x237)];const _0x5b945f=_0x2d04cd[_0x35e4ad(0x1e6)][_0x35e4ad(0x1c8)],_0x316169=_0x2d04cd[_0x35e4ad(0x1e6)][_0x35e4ad(0x234)],_0x3cf8af=_0x2d04cd[_0x35e4ad(0x1e6)]['endColumn'],_0x242085=0x3,_0x381f8b=_0x2d04cd[_0x35e4ad(0x1ff)][_0x35e4ad(0x21d)](_0x5b945f);if(_0x381f8b&&_0x381f8b['length']>0x0)for(const _0xfe975e of _0x381f8b){const _0x213b57=_0xfe975e['range'],_0x3aa871=_0x213b57[_0x35e4ad(0x234)],_0x49ef17=_0x213b57[_0x35e4ad(0x20a)];if(_0x3aa871<=_0x316169+_0x242085&&_0x49ef17>=_0x3cf8af-_0x242085){const _0x580c56=_0x5b65e4['getCell'](_0x5b945f,_0x3aa871);if(!_0x580c56)return'';const _0x327a9b=V(_0x580c56);return _0x327a9b==null||_0x327a9b===''?'':(_0x2d04cd['name']=_0x327a9b,_0x327a9b);}}return'';}function qe(_0x4b14c8,_0x48edb4){const _0xdc6607=_0x4d683a,_0x25f29b={};_0x48edb4[_0xdc6607(0x217)]()[_0xdc6607(0x212)](_0x404d21=>{const _0x3f9589=_0xdc6607,[_0x332426,_0x2855a9]=_0x404d21;return!_0x332426||!_0x2855a9||_0x2855a9['n']&&typeof _0x2855a9['n']['pattern']==_0x3f9589(0x1f5)&&/[YyMDd]/[_0x3f9589(0x233)](_0x2855a9['n'][_0x3f9589(0x1a5)])&&(_0x25f29b[_0x332426]=!0x0),!0x0;});const _0x271825=_0x4b14c8[_0xdc6607(0x1e6)]['startRow'],_0x319e6f=_0x4b14c8['range'][_0xdc6607(0x1c3)],_0x5ef8f8=_0x4b14c8[_0xdc6607(0x1dd)],_0x3f6621=_0x4b14c8[_0xdc6607(0x1df)],_0xff5622=_0x48edb4[_0xdc6607(0x1c2)](_0x3f6621);if(!_0xff5622)return;const _0x57acd1=_0x319e6f-_0x271825+0x1-_0x5ef8f8;if(_0x57acd1<=0x1){console[_0xdc6607(0x1f6)]('skip\x20small\x20table');return;}const _0x3184ee=[];for(let _0x30979b=0x0;_0x30979b<_0x4b14c8[_0xdc6607(0x1e6)][_0xdc6607(0x20a)]-_0x4b14c8['range'][_0xdc6607(0x234)]+0x1;_0x30979b++)_0x3184ee[_0xdc6607(0x222)](new Oe(_0x25f29b));const _0x3e645b=Math[_0xdc6607(0x21c)](Math[_0xdc6607(0x1c7)](_0x57acd1,0x1));for(let _0x500979=0x0;;_0x500979++){const _0x5c0206=_0x500979,_0x317dd5=Math[_0xdc6607(0x19c)](_0x5c0206+0.00001*_0x5c0206**2.7*_0x3e645b*_0x3e645b)+_0x271825+_0x5ef8f8;if(_0x317dd5>_0x319e6f)break;for(let _0x3ae0c2=_0x4b14c8[_0xdc6607(0x1e6)][_0xdc6607(0x234)];_0x3ae0c2<=_0x4b14c8[_0xdc6607(0x1e6)][_0xdc6607(0x20a)];_0x3ae0c2++){const _0x46068a=_0xff5622[_0xdc6607(0x20e)](_0x317dd5,_0x3ae0c2);_0x46068a&&_0x3184ee[_0x3ae0c2-_0x4b14c8[_0xdc6607(0x1e6)]['startColumn']]['Match'](_0x46068a);}}for(let _0xc41db=0x0;_0xc41db<_0x4b14c8[_0xdc6607(0x1be)][_0xdc6607(0x1cb)];_0xc41db++){const [_0x1213c2,_0xd52c86]=_0x3184ee[_0xc41db][_0xdc6607(0x1e8)]();_0x4b14c8[_0xdc6607(0x1be)][_0xc41db][_0xdc6607(0x1bb)]=_0x1213c2;}}function pe(_0x646b63){const _0x252e20=_0x4d683a,_0x27be3f=[];for(const _0x3665f7 of _0x646b63['links'])_0x27be3f[_0x252e20(0x222)]({'tableId':_0x3665f7['tableId'],'columnId':_0x3665f7['columnId'],'linkType':_0x3665f7['linkType']});return _0x27be3f;}function Fe(_0x40e1df){const _0x4a1462=_0x4d683a;return _0x40e1df[_0x4a1462(0x1dd)]===0x1;}function Ze(_0x59764e,_0x24fcce,_0x443477,_0x5e5ddf,_0x382019){const _0x46870d=_0x4d683a,_0x4e9aff=_0x5e5ddf['get'](_0x2667ab),_0x17950c=_0x24fcce[_0x46870d(0x22a)](),_0x470d15=_0x59764e[_0x46870d(0x1df)];if(_0x4e9aff['getTablesBySubunitId'](_0x17950c,_0x470d15)){for(const _0x25d5b4 of _0x443477)if(_0x25d5b4['id']===_0x59764e['id']){_0x25d5b4[_0x46870d(0x237)]=_0x59764e[_0x46870d(0x237)],_0x25d5b4[_0x46870d(0x207)]={},_0x25d5b4[_0x46870d(0x207)][_0x46870d(0x205)]=_0x59764e[_0x46870d(0x205)],_0x25d5b4['meta'][_0x46870d(0x1dd)]=_0x59764e[_0x46870d(0x1dd)],_0x25d5b4['meta'][_0x46870d(0x204)]=_0x59764e[_0x46870d(0x204)],_0x25d5b4[_0x46870d(0x207)][_0x46870d(0x1d2)]=_0x59764e[_0x46870d(0x1d2)];for(let _0x16c188=0x0;_0x16c188<_0x59764e[_0x46870d(0x1be)]['length'];_0x16c188++){const _0x26433d=_0x59764e['columns'][_0x16c188],_0x4caa48=_0x25d5b4[_0x46870d(0x1be)][_0x16c188];_0x4caa48[_0x46870d(0x1da)]=_0x26433d['Name'],_0x4caa48[_0x46870d(0x1a6)]=_0x26433d['Type'],_0x4caa48['meta']={},_0x4caa48[_0x46870d(0x207)][_0x46870d(0x205)]=_0x26433d[_0x46870d(0x1d4)],_0x4caa48[_0x46870d(0x207)]['isCoded']=_0x26433d[_0x46870d(0x226)],_0x4caa48['meta'][_0x46870d(0x1c0)]=_0x26433d[_0x46870d(0x1c0)],_0x4caa48[_0x46870d(0x207)][_0x46870d(0x21b)]=_0x26433d[_0x46870d(0x21b)],_0x4caa48[_0x46870d(0x207)][_0x46870d(0x22d)]=_0x26433d['isBigText'],_0x4caa48[_0x46870d(0x207)][_0x46870d(0x1a1)]=_0x26433d[_0x46870d(0x1a1)],_0x4caa48[_0x46870d(0x207)][_0x46870d(0x1ef)]=_0x26433d[_0x46870d(0x1ef)],_0x4caa48[_0x46870d(0x207)]['isUnique']=_0x26433d['isUnique'],_0x4caa48[_0x46870d(0x207)][_0x46870d(0x1e2)]=pe(_0x26433d);}Me(_0x25d5b4,_0x470d15,_0x24fcce,_0x382019);}W[_0x46870d(0x20c)]();}}function _0x1077(_0x398d1d,_0x430612){_0x398d1d=_0x398d1d-0x19b;const _0x16aa8d=_0x16aa();let _0x107738=_0x16aa8d[_0x398d1d];return _0x107738;}function He(_0x44168e,_0x339e6e,_0x45e974,_0x14134f){const _0xef0e00=_0x4d683a,_0x237ed3=_0x45e974[_0xef0e00(0x21d)](_0x2667ab),_0x291ccf=_0x339e6e['getUnitId'](),_0x218823={};for(const [_0x3e2875,_0x563f1e]of Object['entries'](_0x44168e)){const _0x2702af=_0x237ed3[_0xef0e00(0x1f1)](_0x291ccf,_0x3e2875),_0xbccfba=(_0x2702af==null?void 0x0:_0x2702af['map'](_0x3eda1f=>_0x3eda1f[_0xef0e00(0x1a2)]()))||[];for(const _0x1007b9 of _0x563f1e){if(_0x1007b9[_0xef0e00(0x238)]){Ze(_0x1007b9,_0x339e6e,_0xbccfba,_0x45e974,_0x14134f);continue;}const _0x38bbd3={'id':_0x1007b9['id'],'range':{'startRow':_0x1007b9[_0xef0e00(0x1e6)]['startRow']+_0x1007b9[_0xef0e00(0x204)],'endRow':_0x1007b9[_0xef0e00(0x1e6)][_0xef0e00(0x1c3)],'startColumn':_0x1007b9[_0xef0e00(0x1e6)][_0xef0e00(0x234)],'endColumn':_0x1007b9['range']['endColumn']},'name':_0x1007b9['name'],'meta':{},'options':{'showHeader':Fe(_0x1007b9),'showFooter':!0x1},'columns':[],'filters':{}};_0x38bbd3[_0xef0e00(0x207)][_0xef0e00(0x205)]=_0x1007b9['description'],_0x38bbd3['meta'][_0xef0e00(0x1dd)]=_0x1007b9[_0xef0e00(0x1dd)],_0x38bbd3[_0xef0e00(0x207)]['mergeRowTitleCount']=_0x1007b9[_0xef0e00(0x204)],_0x38bbd3[_0xef0e00(0x207)][_0xef0e00(0x1d2)]=_0x1007b9[_0xef0e00(0x1d2)];const _0x177f44=_0x1007b9[_0xef0e00(0x1e6)][_0xef0e00(0x234)];for(let _0x352250=0x0;_0x352250<_0x1007b9[_0xef0e00(0x1be)][_0xef0e00(0x1cb)];_0x352250++){const _0x32b79e=_0x1007b9[_0xef0e00(0x1be)][_0x352250],_0x2349db={'id':_0x32b79e['id'],'displayName':_0x32b79e['Name']||_0xef0e00(0x1ed)+ne(_0x177f44+_0x352250),'dataType':_0x32b79e[_0xef0e00(0x1bb)],'meta':{},'formula':'','style':{}};_0x2349db[_0xef0e00(0x207)]['description']=_0x32b79e[_0xef0e00(0x1d4)],_0x2349db[_0xef0e00(0x207)]['isCoded']=_0x32b79e[_0xef0e00(0x226)],_0x2349db[_0xef0e00(0x207)][_0xef0e00(0x1c0)]=_0x32b79e[_0xef0e00(0x1c0)],_0x2349db[_0xef0e00(0x207)][_0xef0e00(0x21b)]=_0x32b79e[_0xef0e00(0x21b)],_0x2349db['meta'][_0xef0e00(0x22d)]=_0x32b79e['isBigText'],_0x2349db[_0xef0e00(0x207)][_0xef0e00(0x1a1)]=_0x32b79e[_0xef0e00(0x1a1)],_0x2349db['meta'][_0xef0e00(0x1ef)]=_0x32b79e[_0xef0e00(0x1ef)],_0x2349db[_0xef0e00(0x207)][_0xef0e00(0x1bf)]=_0x32b79e[_0xef0e00(0x1bf)],_0x2349db[_0xef0e00(0x207)][_0xef0e00(0x1e2)]=pe(_0x32b79e),_0x38bbd3[_0xef0e00(0x1be)][_0xef0e00(0x222)](_0x2349db);}Me(_0x38bbd3,_0x3e2875,_0x339e6e,_0x14134f),_0xbccfba[_0xef0e00(0x222)](_0x38bbd3);}_0x218823[_0x3e2875]=_0xbccfba;}for(const _0x47d0dc of Object[_0xef0e00(0x232)](_0x44168e))_0x44168e[_0x47d0dc][_0xef0e00(0x1e1)](_0x15bcf3=>{const _0xe104e=_0xef0e00;_0x15bcf3[_0xe104e(0x1bc)]();});return _0x218823;}function ae(_0x144758,_0x2c76f1,_0x3670da=0x5){const _0x15c558=_0x4d683a;if(!Array[_0x15c558(0x22e)](_0x144758)||_0x144758[_0x15c558(0x1cb)]===0x0)return[];const _0x2ae210=Math[_0x15c558(0x1bd)](_0x2c76f1,_0x144758[_0x15c558(0x1cb)]),_0x356cdd=Math[_0x15c558(0x1bd)](_0x2ae210+_0x3670da,_0x144758[_0x15c558(0x1cb)]);return _0x144758[_0x15c558(0x1a3)](_0x2ae210,_0x356cdd);}function Me(_0x31745c,_0xcecce5,_0x1a3326,_0x216859){const _0x437feb=_0x4d683a,_0x3d93ec=_0x1a3326['getSheetBySheetId'](_0xcecce5);if(!_0x3d93ec)return;const _0x504218=_0x31745c[_0x437feb(0x1e6)],_0x15b4ec=Ye(_0x3d93ec,_0x504218);_0x216859===ee['Sample']?_0x31745c[_0x437feb(0x1ec)]=JSON[_0x437feb(0x225)](ae(_0x15b4ec,0x1,0x5)):_0x216859===ee[_0x437feb(0x23c)]&&(_0x31745c[_0x437feb(0x1ec)]=JSON[_0x437feb(0x225)](ae(_0x15b4ec,0x1,_0x15b4ec[_0x437feb(0x1cb)])));}function Ye(_0x5c8e2a,_0x4e851c){const _0x4606ae=_0x4d683a,{startRow:_0x2862eb,endRow:_0x23ab54,startColumn:_0x6b81cc,endColumn:_0x285dda}=_0x4e851c,_0x55f37d=[],_0x446aed=W[_0x4606ae(0x21d)](_0x5c8e2a),_0x4ac956=_0x446aed==null?void 0x0:_0x446aed[_0x4606ae(0x1db)],_0x67f02a=_0x446aed==null?void 0x0:_0x446aed[_0x4606ae(0x23e)],_0x44b5ed=_0x5c8e2a[_0x4606ae(0x22a)](),_0x2af5ae=_0x5c8e2a[_0x4606ae(0x216)]();for(let _0x5a0a15=_0x2862eb;_0x5a0a15<=_0x23ab54;_0x5a0a15++){const _0x1c32d8=[];for(let _0x2bcb4a=_0x6b81cc;_0x2bcb4a<=_0x285dda;_0x2bcb4a++){const _0x2b00e5=_0x5c8e2a[_0x4606ae(0x20e)](_0x5a0a15,_0x2bcb4a);let _0x396c5a=_0x2b00e5?te(_0x2b00e5):void 0x0;if(_0x396c5a==null||_0x396c5a===''){const _0x30160b={'range':{'startRow':_0x5a0a15,'endRow':_0x5a0a15,'startColumn':_0x2bcb4a,'endColumn':_0x2bcb4a},'unitId':_0x44b5ed,'sheetId':_0x2af5ae},_0x2a51b3=(_0x4ac956==null?void 0x0:_0x4ac956[_0x4606ae(0x202)]([_0x30160b]))||new Map();if(_0x2a51b3[_0x4606ae(0x1d5)]>0x0&&_0x67f02a){const _0x256a23=_0x2a51b3[_0x4606ae(0x232)]()[_0x4606ae(0x221)]()[_0x4606ae(0x1a4)],_0x174901=_0x67f02a[_0x4606ae(0x21d)](_0x256a23);if(!_0x174901)continue;const _0x2b4929=_0x5c8e2a['getCell'](_0x174901['range'][_0x4606ae(0x1c8)],_0x174901['range'][_0x4606ae(0x234)]);_0x2b4929&&(_0x396c5a=te(_0x2b4929));}}_0x1c32d8[_0x4606ae(0x222)](_0x396c5a!=null?_0x396c5a:'');}_0x55f37d[_0x4606ae(0x222)](_0x1c32d8);}return _0x55f37d;}function Ke(_0xe86845){const _0x366f38=_0x4d683a;return/https?:\/\/|www\./i[_0x366f38(0x233)](_0xe86845);}function Xe(_0x138fe4){const _0x53bc1d=_0x4d683a;return Array[_0x53bc1d(0x203)](_0x138fe4)['length'];}function le(_0x42a618){const _0x11580e=_0x4d683a;return _0x42a618?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i['test'](_0x42a618[_0x11580e(0x230)]()):!0x1;}function ne(_0x1a9edc){const _0x54ed56=_0x4d683a;let _0x3774ac='',_0x2e510c=_0x1a9edc+0x1;for(;_0x2e510c>0x0;){const _0x24c444=(_0x2e510c-0x1)%0x1a;_0x3774ac=String['fromCharCode'](0x41+_0x24c444)+_0x3774ac,_0x2e510c=Math[_0x54ed56(0x19c)]((_0x2e510c-0x1)/0x1a);}return _0x3774ac;}var Qe=Object[_0x4d683a(0x1b9)],et=(_0x31b97b,_0x436899,_0x283d4c,_0x10c26d)=>{for(var _0x5648bb=_0x10c26d>0x1?void 0x0:_0x10c26d?Qe(_0x436899,_0x283d4c):_0x436899,_0x4d2509=_0x31b97b['length']-0x1,_0x6e7b16;_0x4d2509>=0x0;_0x4d2509--)(_0x6e7b16=_0x31b97b[_0x4d2509])&&(_0x5648bb=_0x6e7b16(_0x5648bb)||_0x5648bb);return _0x5648bb;},tt=(_0x2cc58e,_0x20dce1)=>(_0x415c29,_0x1c5050)=>_0x20dce1(_0x415c29,_0x1c5050,_0x2cc58e);let oe=class extends _0x29dbc4{constructor(_0x82ab4d){super(),this['_injector']=_0x82ab4d;}['getAllTableJson'](_0x30ae05,_0x285324){const _0x3ac9d7=_0x4d683a;return De(_0x30ae05,this[_0x3ac9d7(0x1ae)],_0x285324);}};oe=et([tt(0x0,_0x3090b2(_0x98af4a))],oe);var nt=Object[_0x4d683a(0x1b9)],ot=(_0xf2298,_0x3bdbe3,_0xbb0b1c,_0x1eaab5)=>{for(var _0x5a3f9f=_0x1eaab5>0x1?void 0x0:_0x1eaab5?nt(_0x3bdbe3,_0xbb0b1c):_0x3bdbe3,_0x35c749=_0xf2298['length']-0x1,_0x5ae401;_0x35c749>=0x0;_0x35c749--)(_0x5ae401=_0xf2298[_0x35c749])&&(_0x5a3f9f=_0x5ae401(_0x5a3f9f)||_0x5a3f9f);return _0x5a3f9f;},ue=(_0xa09db6,_0x13e302)=>(_0x4fcb24,_0x185001)=>_0x13e302(_0x4fcb24,_0x185001,_0xa09db6);const rt='RANGE_PREPROCESS_PLUGIN_CONFIG_KEY';var X;let ce=(X=class extends _0x51ef01{constructor(_0x4a7106={},_0x3eef91,_0x1eb05f){const _0x20b4fc=_0x4d683a;super(),this[_0x20b4fc(0x21f)]=_0x4a7106,this['_injector']=_0x3eef91,this[_0x20b4fc(0x227)]=_0x1eb05f;const {..._0x50e2cb}=_0x4319ad({},this[_0x20b4fc(0x21f)]);this[_0x20b4fc(0x227)][_0x20b4fc(0x23b)](rt,_0x50e2cb);}[_0x4d683a(0x1ad)](){const _0x422db2=_0x4d683a,_0x36a444=[[oe]];_0x47fd08(this[_0x422db2(0x1ae)],_0x36a444);}[_0x4d683a(0x1cd)](){}},p(X,'pluginName','UNIVER_RANGE_PREPROCESS_PLUGIN'),X);ce=ot([ue(0x1,_0x3090b2(_0x98af4a)),ue(0x2,_0x27a19a)],ce);function _0x16aa(){const _0x1863e5=['Match','displayName','mergeRTree','date','rowTitleCount','unknown','sheetId','2437436QSuEJc','forEach','links','Sample','01/02/2006',',\x20rangeName:','range','getRowCount','Best','has','needConvert','sort','data','column_','Confidence','isTitleRepeat','table','getTablesBySubunitId','getDate','endIndex','defineProperty','string','warn','2\x20Jan.,\x202006','STRING','isFinite','2006年1月2日','249705riZBhX','02/01/2006','None','skip\x20small\x20table,\x20idx:','rowMergeTitleCountMap','saveTableToCache','9yHBGKS','bulkSearch','from','mergeRowTitleCount','description','insert','meta','intersectWithPreTables','January\x202,2006','endColumn','2\x20January,\x202006','clear','01-02-2006','getCell','Jan.\x202,\x202006','all','invalid','each','1000849IFFWVi','Charset','dataStream','getSheetId','getStyles','Calc','2006-01-02T15:04:05','NUMBER','isOpinionText','log10','get','6314434UcMEde','_config','endStatisticRowCount','next','push','isMatchContinue','merge','stringify','isCoded','_configService','number','columnMergeTitleCountMap','getUnitId','map','entries','isBigText','isArray','columnMergeTitleState','trim','toLowerCase','keys','test','startColumn','getPlainText','188056pSLIwc','name','isUpdateTable','startStatisticRowCount','split','setConfig','All','customRanges','mergeRangeMap','39991914TCnZLV','intersectWithColumns','floor','2006-1-2','body','excel','647410PJpwag','isLink','toJSON','slice','value','pattern','dataType','confidence','splice','valid','replace','set','rowMergeTitleState','onStarting','_injector','dateStyles','getFullYear','20060102','getSheets','isMatchEnd','2006-01-02\x2015:04:05','2006/01/02','02.01.2006','isTestTable','recognizers','getOwnPropertyDescriptor','2006-01-02','Type','dispose','min','columns','isUnique','isMeasure','layout','getSheetBySheetId','endRow','insertCellData','168XtXRNU','timeStampStyles','max','startRow','trunc','url','length','getMergeData','onReady','02-01-2006','symbol','_isRowContinuous','getMonth','isTimeSeries','2006/1/2','Description','size','startIndex','getName','join'];_0x16aa=function(){return _0x1863e5;};return _0x16aa();}export{oe as RangePreprocessController,ce as UniverRangePreprocessPlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x937bb1=_0x9b85;function _0x49cc(){var _0x488774=['_injector','290495MQLwVx','extend','236568mbBnqF','_workbook','21146AgqAuO','1797068VLVuIS','12maxAXp','43848DvsspM','60gchByG','473WaBhjd','15YDGmky','224JslTIh','576279YYIqpi','67496SoqdfH','getPreprocessRanges','get'];_0x49cc=function(){return _0x488774;};return _0x49cc();}function _0x9b85(_0x3739e2,_0x1c3938){_0x3739e2=_0x3739e2-0x11a;var _0x49ccba=_0x49cc();var _0x9b854d=_0x49ccba[_0x3739e2];return _0x9b854d;}(function(_0x504e94,_0x59c161){var _0x2d9379=_0x9b85,_0xa685e2=_0x504e94();while(!![]){try{var _0x45f468=parseInt(_0x2d9379(0x11a))/0x1+parseInt(_0x2d9379(0x128))/0x2*(parseInt(_0x2d9379(0x11d))/0x3)+parseInt(_0x2d9379(0x129))/0x4+parseInt(_0x2d9379(0x124))/0x5*(-parseInt(_0x2d9379(0x12a))/0x6)+parseInt(_0x2d9379(0x11e))/0x7*(parseInt(_0x2d9379(0x120))/0x8)+-parseInt(_0x2d9379(0x11f))/0x9*(-parseInt(_0x2d9379(0x11b))/0xa)+-parseInt(_0x2d9379(0x11c))/0xb*(parseInt(_0x2d9379(0x126))/0xc);if(_0x45f468===_0x59c161)break;else _0xa685e2['push'](_0xa685e2['shift']());}catch(_0x111298){_0xa685e2['push'](_0xa685e2['shift']());}}}(_0x49cc,0x39ada));import{RangePreprocessController as _0x304eb3}from'@univerjs-pro/range-preprocess';import{FWorkbook as _0x10a927}from'@univerjs/sheets/facade';class s extends _0x10a927{[_0x937bb1(0x121)](_0x11d58d){var _0x581eae=_0x937bb1;return this[_0x581eae(0x123)][_0x581eae(0x122)](_0x304eb3)['getAllTableJson'](this[_0x581eae(0x127)],_0x11d58d);}}_0x10a927[_0x937bb1(0x125)](s);
|