@univerjs-pro/bases 1.5.0 → 1.5.1
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/config-BHbUCCo4.js +1 -0
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/cjs/worker.js +1 -1
- package/lib/config-C9tN8Oda.js +1 -0
- package/lib/es/config-C9tN8Oda.js +1 -0
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/es/worker.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/lib/worker.js +1 -1
- package/package.json +8 -8
- package/lib/cjs/config-CTOS-Fzg.js +0 -1
- package/lib/config-DDy_jw9I.js +0 -1
- package/lib/es/config-DDy_jw9I.js +0 -1
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x152e(_0xfdc343,_0xea45ae){_0xfdc343=_0xfdc343-0xf1;const _0x385762=_0x3857();let _0x152e19=_0x385762[_0xfdc343];return _0x152e19;}(function(_0x29f3f5,_0x14c245){const _0x1e0f59=_0x152e,_0x1ef839=_0x29f3f5();while(!![]){try{const _0x52dc3b=-parseInt(_0x1e0f59(0x32f))/0x1+-parseInt(_0x1e0f59(0x40a))/0x2*(parseInt(_0x1e0f59(0x50e))/0x3)+-parseInt(_0x1e0f59(0x328))/0x4*(parseInt(_0x1e0f59(0x1ae))/0x5)+-parseInt(_0x1e0f59(0x261))/0x6*(-parseInt(_0x1e0f59(0x244))/0x7)+parseInt(_0x1e0f59(0x2cf))/0x8*(parseInt(_0x1e0f59(0x145))/0x9)+parseInt(_0x1e0f59(0x3a7))/0xa+-parseInt(_0x1e0f59(0x1df))/0xb;if(_0x52dc3b===_0x14c245)break;else _0x1ef839['push'](_0x1ef839['shift']());}catch(_0x4328e8){_0x1ef839['push'](_0x1ef839['shift']());}}}(_0x3857,0x819cf),function(_0x1d655d,_0x3c09fd){const _0x41cb4b=_0x152e;typeof exports==_0x41cb4b(0x434)&&typeof module<'u'?_0x3c09fd(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define=='function'&&define['amd']?define(['exports',_0x41cb4b(0x3f4),_0x41cb4b(0x1d0),_0x41cb4b(0x3a3),_0x41cb4b(0x41b),_0x41cb4b(0x1c9),_0x41cb4b(0x23d)],_0x3c09fd):(_0x1d655d=typeof globalThis<'u'?globalThis:_0x1d655d||self,_0x3c09fd(_0x1d655d['UniverProBases']={},_0x1d655d[_0x41cb4b(0x228)],_0x1d655d[_0x41cb4b(0x303)],_0x1d655d['UniverProtocol'],_0x1d655d[_0x41cb4b(0x382)],_0x1d655d[_0x41cb4b(0x1c4)],_0x1d655d[_0x41cb4b(0x1e8)]));}(this,function(_0x537d9b,_0x552f17,_0x216287,_0x4b2dcb,_0x58c916,_0x15a674,_0x5acaf7){const _0x5b4d61=_0x152e;Object['defineProperty'](_0x537d9b,Symbol[_0x5b4d61(0x4c7)],{'value':'Module'});function _0x423169(_0x4f1439){const _0x30f8bf=_0x5b4d61;let _0x5ec480=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x305)],_0x1c1fbf=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x20a)],_0x13dd8e=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x333)],_0x3ff598=_0x4f1439['config'][_0x30f8bf(0x19b)],_0x59ec1b=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x102)];return typeof _0x5ec480!=_0x30f8bf(0x525)||!_0x5ec480||typeof _0x1c1fbf!='boolean'||_0x13dd8e!==void 0x0&&(typeof _0x13dd8e!=_0x30f8bf(0x525)||!_0x13dd8e)||_0x59ec1b!==void 0x0&&_0x59ec1b!==_0x552f17[_0x30f8bf(0x548)][_0x30f8bf(0x3d3)]||_0x3ff598!==void 0x0&&(!Array['isArray'](_0x3ff598)||_0x3ff598[_0x30f8bf(0x166)](_0x528224=>typeof _0x528224!=_0x30f8bf(0x525)||!_0x528224)||new Set(_0x3ff598)[_0x30f8bf(0x18d)]!==_0x3ff598[_0x30f8bf(0x46a)])?null:{'targetTableId':_0x5ec480,'multiple':_0x1c1fbf,..._0x13dd8e?{'displayFieldId':_0x13dd8e}:{},..._0x3ff598?{'pickerFieldIds':[..._0x3ff598]}:{},..._0x59ec1b?{'relationRole':_0x59ec1b}:{}};}function _0x17aaa4(_0x478991){const _0x45df9a=_0x5b4d61;return typeof _0x478991!='string'||_0x478991===''?[]:_0x478991[_0x45df9a(0x1a2)](',');}function _0x4be8de(_0xb858f){const _0x1c7fd0=_0x5b4d61;return Array[_0x1c7fd0(0x1c0)](new Set(_0xb858f))[_0x1c7fd0(0x53f)](',');}function _0x54eb47(_0x3eca14,_0x5e7ae0){const _0x10dde5=_0x5b4d61;if(typeof _0x3eca14!=_0x10dde5(0x525))return{'valid':!0x1,'reason':_0x10dde5(0x4b7)};if(_0x3eca14==='')return{'valid':!0x0};let _0x59f56a=_0x3eca14[_0x10dde5(0x1a2)](',');return!_0x5e7ae0&&_0x59f56a[_0x10dde5(0x46a)]>0x1?{'valid':!0x1,'reason':_0x10dde5(0x2ae)}:_0x59f56a[_0x10dde5(0x166)](_0x12e1e7=>!(0x0,_0x552f17[_0x10dde5(0x356)])(_0x12e1e7))||new Set(_0x59f56a)['size']!==_0x59f56a['length']||_0x4be8de(_0x59f56a)!==_0x3eca14?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x4cb157(_0x82ae2f,_0xf5da57){const _0x293426=_0x5b4d61;if(_0xf5da57['type']!==_0x552f17[_0x293426(0x22d)][_0x293426(0x11e)])return{'valid':!0x0};let _0x425273=_0x423169(_0xf5da57),_0x17d0b0=_0x425273?_0x82ae2f['tables'][_0x425273['targetTableId']]:void 0x0;if(!_0x425273||!_0x17d0b0)return{'valid':!0x1,'reason':_0x293426(0x197)};let _0x2ab388=[..._0x425273['displayFieldId']?[_0x425273[_0x293426(0x333)]]:[],..._0x425273[_0x293426(0x19b)]??[]][_0x293426(0x2f8)](_0x4cd946=>{const _0x238dfc=_0x293426;let _0x2134b3=_0x17d0b0[_0x238dfc(0x3ec)][_0x4cd946];return!_0x2134b3||_0x2134b3['system']===!0x0||_0x2134b3[_0x238dfc(0x4cd)]===_0x552f17['BaseFieldType'][_0x238dfc(0x500)];});return _0x2ab388?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0x2ab388+_0x293426(0x1e0)}:{'valid':!0x0};}function _0x30ac0c(_0x20efd7,_0x48eb0e,_0x389a2d,_0x165568={}){const _0x23d5a9=_0x5b4d61;let _0x316822=_0x423169(_0x48eb0e);if(_0x48eb0e['type']!==_0x552f17[_0x23d5a9(0x22d)][_0x23d5a9(0x11e)]||!_0x316822)return{'valid':!0x1,'reason':_0x23d5a9(0x22f)};let _0x241679=_0x54eb47(_0x389a2d,_0x316822['multiple']);if(!_0x241679[_0x23d5a9(0x2d9)]||_0x165568[_0x23d5a9(0x417)])return _0x241679;let _0x5e459b=_0x20efd7['tables'][_0x316822[_0x23d5a9(0x305)]];if(!_0x5e459b)return{'valid':!0x1,'reason':_0x23d5a9(0x197)};let _0x4b9ccd=_0x17aaa4(_0x389a2d)[_0x23d5a9(0x2f8)](_0x51a6e2=>!_0x5e459b[_0x23d5a9(0x29e)][_0x51a6e2]);return _0x4b9ccd?{'valid':!0x1,'reason':_0x23d5a9(0x48a)+_0x4b9ccd+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x1497cf(_0x461a4a,_0x26a196){const _0x1c7629=_0x5b4d61;return Object[_0x1c7629(0x4d1)](_0x461a4a[_0x1c7629(0x1e1)])['flatMap'](_0x92294c=>Object[_0x1c7629(0x4d1)](_0x92294c['fields'])['flatMap'](_0x1df983=>{const _0x37ca3b=_0x1c7629;let _0x5d4aba=_0x1df983['type']===_0x552f17[_0x37ca3b(0x22d)][_0x37ca3b(0x11e)]?_0x423169(_0x1df983):null;return(_0x5d4aba==null?void 0x0:_0x5d4aba[_0x37ca3b(0x305)])===_0x26a196?[{'tableId':_0x92294c['id'],'fieldId':_0x1df983['id']}]:[];}));}let _0x25a7f8=_0x5b4d61(0x38a),_0x1af91e=function(_0x1f8dec){const _0x8f2389=_0x5b4d61;return _0x1f8dec[_0x8f2389(0x294)]=_0x8f2389(0x487),_0x1f8dec[_0x8f2389(0x168)]=_0x8f2389(0x2f6),_0x1f8dec[_0x8f2389(0x254)]=_0x8f2389(0x388),_0x1f8dec[_0x8f2389(0x2be)]=_0x8f2389(0x4c9),_0x1f8dec['MaxDepth']=_0x8f2389(0x24e),_0x1f8dec[_0x8f2389(0x3e3)]=_0x8f2389(0x468),_0x1f8dec;}({});var _0x31b592=class extends Error{constructor(_0x12942f,_0x414626=_0x5b4d61(0x4ba)+_0x12942f){const _0x53de18=_0x5b4d61;super(_0x414626),this[_0x53de18(0x4b1)]=_0x12942f,this[_0x53de18(0x288)]='BaseHierarchyError';}};let _0x249608=function(_0x2cb297){const _0x5ced06=_0x5b4d61;return _0x2cb297['UI']='ui',_0x2cb297[_0x5ced06(0x36a)]=_0x5ced06(0x2a6),_0x2cb297['Remote']='remote',_0x2cb297[_0x5ced06(0x4f1)]=_0x5ced06(0x214),_0x2cb297[_0x5ced06(0x14f)]=_0x5ced06(0x392),_0x2cb297[_0x5ced06(0x35b)]=_0x5ced06(0x1e5),_0x2cb297;}({});function _0x288df0(_0x1c1dfd,_0x4135c9){const _0x466b45=_0x5b4d61;if(!_0x4135c9)return!0x1;let _0x1bf96f=_0x1c1dfd['fields'][_0x4135c9];if(!_0x1bf96f||_0x1bf96f[_0x466b45(0x4cd)]!==_0x552f17[_0x466b45(0x22d)][_0x466b45(0x11e)])return!0x1;let _0x1e66bd=_0x423169(_0x1bf96f);return _0x1e66bd?_0x1e66bd['targetTableId']===_0x1c1dfd['id']&&_0x1e66bd[_0x466b45(0x20a)]===!0x1:!0x1;}function _0x37c44a(_0x32550a){const _0x35ac12=_0x5b4d61;return[..._0x32550a[_0x35ac12(0x151)],...Object[_0x35ac12(0x1bd)](_0x32550a['fields'])['filter'](_0x5b6777=>!_0x32550a[_0x35ac12(0x151)][_0x35ac12(0x396)](_0x5b6777))[_0x35ac12(0x3c2)]()][_0x35ac12(0x2f8)](_0x3c1ee3=>{const _0x2b24c6=_0x35ac12;var _0x622717;return _0x288df0(_0x32550a,_0x3c1ee3)?((_0x622717=_0x423169(_0x32550a[_0x2b24c6(0x3ec)][_0x3c1ee3]))==null?void 0x0:_0x622717[_0x2b24c6(0x102)])===_0x552f17['BaseRecordLinkRole']['Parent']:!0x1;})??null;}function _0x5f3470(_0xca7c8e){const _0x3fbfac=_0x5b4d61;let _0x4a5d05=_0x37c44a(_0xca7c8e);if(_0x4a5d05)return _0x4a5d05;let _0xd7f428=_0x25a7f8,_0x36bcd1=0x2;for(;_0xca7c8e[_0x3fbfac(0x3ec)][_0xd7f428];)_0xd7f428=_0x25a7f8+'_'+_0x36bcd1++;return _0xd7f428;}function _0x5797d7(_0x2c41ce,_0x3189d1=_0x5f3470(_0x2c41ce),_0x3cec2d=_0x5b4d61(0x130)){const _0x145fbe=_0x5b4d61;return{'id':_0x3189d1,'name':_0x3cec2d,'type':_0x552f17[_0x145fbe(0x22d)][_0x145fbe(0x11e)],'config':{'targetTableId':_0x2c41ce['id'],'multiple':!0x1,'displayFieldId':_0x2c41ce[_0x145fbe(0x3a1)],'pickerFieldIds':[_0x2c41ce[_0x145fbe(0x3a1)]],'relationRole':_0x552f17['BaseRecordLinkRole'][_0x145fbe(0x3d3)]}};}function _0x168111(_0x146015){let _0x5d3604=_0x37c44a(_0x146015);return _0x5d3604?[_0x5d3604]:[];}function _0x47a364(_0x3346ab,_0x3357da){const _0x221b46=_0x5b4d61;let _0x251387=[..._0x168111(_0x3346ab)]['filter'](_0x386d9c=>_0x3357da[_0x221b46(0x166)](_0x51b1a5=>Object[_0x221b46(0x16e)]['hasOwnProperty'][_0x221b46(0x30e)](_0x51b1a5['values'],_0x386d9c)));if(!_0x251387[_0x221b46(0x46a)])return[];let _0x11e91e={..._0x3346ab[_0x221b46(0x29e)]};_0x3357da['forEach'](_0x4394b6=>{const _0x229011=_0x221b46;let _0x34325b=_0x11e91e[_0x4394b6[_0x229011(0x504)]];_0x34325b&&(_0x11e91e[_0x4394b6[_0x229011(0x504)]]={..._0x34325b,'values':{..._0x34325b['values'],..._0x4394b6[_0x229011(0x4d1)]}});});let _0xe25167={..._0x3346ab,'records':_0x11e91e},_0x495f02=[];return _0x251387['forEach'](_0x3d5910=>{const _0x51d1fe=_0x221b46;let _0x1d03ba=_0x128f1a(_0x3346ab,_0x3d5910),_0x2baf64=_0x128f1a(_0xe25167,_0x3d5910);for(let [_0xc24e8,_0x306676]of _0x2baf64[_0x51d1fe(0x3f5)]){let _0x325a3c=_0x3357da[_0x51d1fe(0x166)](_0x48dcb2=>_0x48dcb2[_0x51d1fe(0x504)]===_0xc24e8&&Object[_0x51d1fe(0x16e)][_0x51d1fe(0x3d8)][_0x51d1fe(0x30e)](_0x48dcb2[_0x51d1fe(0x4d1)],_0x3d5910));if(_0x1d03ba[_0x51d1fe(0x3f5)][_0x51d1fe(0x3a4)](_0xc24e8)!==_0x306676||_0x325a3c)throw new _0x31b592(_0x4d4af5(_0x306676));}_0x3357da[_0x51d1fe(0x116)](_0x9b132=>{const _0x265f49=_0x51d1fe;if(!Object[_0x265f49(0x16e)]['hasOwnProperty'][_0x265f49(0x30e)](_0x9b132[_0x265f49(0x4d1)],_0x3d5910))return;let _0x468f40=_0x1d03ba[_0x265f49(0x378)][_0x265f49(0x3a4)](_0x9b132['recordId'])??null,_0xaba9a1=_0x2baf64['parentByRecordId']['get'](_0x9b132['recordId'])??null;_0x468f40!==_0xaba9a1&&_0x495f02[_0x265f49(0x36c)]({'tableId':_0x3346ab['id'],'fieldId':_0x3d5910,'recordId':_0x9b132[_0x265f49(0x504)],'oldParentRecordId':_0x468f40,'parentRecordId':_0xaba9a1});});}),_0x495f02;}function _0x548acb(_0xccd7a4,_0x273385){const _0x1836ec=_0x5b4d61;let _0x89fd4=_0x273385[_0x1836ec(0x3ab)](_0x2e4385=>_0x2e4385['id']);if(new Set(_0x89fd4)[_0x1836ec(0x18d)]!==_0x89fd4['length']||_0x89fd4[_0x1836ec(0x166)](_0x52e0e3=>_0xccd7a4[_0x1836ec(0x29e)][_0x52e0e3]))return[];let _0x1b5546=_0x168111(_0xccd7a4),_0x429292=_0x1b5546[_0x1836ec(0x46a)]?null:_0x5f3470(_0xccd7a4),_0x4df690=[..._0x1b5546,..._0x429292&&_0x273385['some'](_0xca450f=>Object[_0x1836ec(0x16e)][_0x1836ec(0x3d8)][_0x1836ec(0x30e)](_0xca450f[_0x1836ec(0x4d1)],_0x429292))?[_0x429292]:[]][_0x1836ec(0x30a)](_0x122c3c=>_0x273385[_0x1836ec(0x166)](_0x23e955=>Object['prototype'][_0x1836ec(0x3d8)]['call'](_0x23e955[_0x1836ec(0x4d1)],_0x122c3c)));if(!_0x4df690[_0x1836ec(0x46a)])return[];let _0x1833cf={..._0xccd7a4,'records':{..._0xccd7a4['records'],...Object['fromEntries'](_0x273385[_0x1836ec(0x3ab)](_0x191b92=>[_0x191b92['id'],_0x191b92]))},'recordOrder':[..._0xccd7a4[_0x1836ec(0x52a)]??[],..._0x273385[_0x1836ec(0x3ab)](_0x17362a=>_0x17362a['id'])]},_0xe5fcfa=[];return _0x4df690[_0x1836ec(0x116)](_0x1833bf=>{const _0x3e13a=_0x1836ec;let _0x4b3448=_0x128f1a(_0x1833cf,_0x1833bf);_0x273385[_0x3e13a(0x116)](_0x1f0ca9=>{const _0xeadedf=_0x3e13a;let _0x1f5389=_0x4b3448[_0xeadedf(0x3f5)]['get'](_0x1f0ca9['id']);if(_0x1f5389)throw new _0x31b592(_0x4d4af5(_0x1f5389));let _0x4d84a1=_0x4b3448[_0xeadedf(0x378)][_0xeadedf(0x3a4)](_0x1f0ca9['id'])??null;_0x4d84a1&&_0xe5fcfa[_0xeadedf(0x36c)]({'tableId':_0xccd7a4['id'],'fieldId':_0x1833bf,'recordId':_0x1f0ca9['id'],'oldParentRecordId':null,'parentRecordId':_0x4d84a1});});}),_0xe5fcfa;}function _0x4d4af5(_0x17334d){const _0x5d8310=_0x5b4d61;switch(_0x17334d){case _0x552f17[_0x5d8310(0x499)][_0x5d8310(0x1a7)]:return _0x5d8310(0x2f6);case _0x552f17[_0x5d8310(0x499)][_0x5d8310(0x254)]:return _0x5d8310(0x388);case _0x552f17[_0x5d8310(0x499)][_0x5d8310(0x2be)]:return _0x5d8310(0x4c9);case _0x552f17[_0x5d8310(0x499)]['MaxDepth']:return _0x5d8310(0x24e);}}function _0x230aed(_0x1dc93c,_0x2427ff){const _0x3b84c0=_0x5b4d61;let _0x354b1a=new Set(_0x2427ff),_0xf2f5cd=_0x168111(_0x1dc93c);return Object[_0x3b84c0(0x4d1)](_0x1dc93c[_0x3b84c0(0x29e)])[_0x3b84c0(0x4a0)](_0x2cbe74=>_0x354b1a[_0x3b84c0(0x1d8)](_0x2cbe74['id'])?[]:Array[_0x3b84c0(0x1c0)](_0xf2f5cd)[_0x3b84c0(0x4a0)](_0x31725d=>{const _0x54a118=_0x3b84c0;let _0x53ed54=_0x17aaa4(_0x2cbe74[_0x54a118(0x4d1)][_0x31725d])[0x0]??null;return _0x53ed54&&_0x354b1a[_0x54a118(0x1d8)](_0x53ed54)?[{'tableId':_0x1dc93c['id'],'fieldId':_0x31725d,'recordId':_0x2cbe74['id'],'oldParentRecordId':_0x53ed54,'parentRecordId':null}]:[];}));}function _0x128f1a(_0x540426,_0x5eb83f,_0x391e55=_0x540426[_0x5b4d61(0x52a)]??Object['keys'](_0x540426[_0x5b4d61(0x29e)])){const _0x390beb=_0x5b4d61;if((_0x540426[_0x390beb(0x3ec)][_0x5eb83f]||_0x5eb83f!==_0x5f3470(_0x540426))&&!_0x288df0(_0x540426,_0x5eb83f))throw Error(_0x390beb(0x1a4)+_0x5eb83f+'\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.');let _0x3b9df2=_0x189b66(_0x540426,_0x391e55),_0x85b00=new Map(),_0x310a6f=new Map();for(let _0x9076ef of _0x3b9df2){var _0xc2aab5;let _0x243137=_0x17aaa4((_0xc2aab5=_0x540426['records'][_0x9076ef])==null?void 0x0:_0xc2aab5[_0x390beb(0x4d1)][_0x5eb83f])[0x0]??null;_0x243137?_0x243137===_0x9076ef?(_0x85b00[_0x390beb(0x3e9)](_0x9076ef,null),_0x310a6f['set'](_0x9076ef,_0x552f17[_0x390beb(0x499)][_0x390beb(0x254)])):_0x540426['records'][_0x243137]?_0x85b00[_0x390beb(0x3e9)](_0x9076ef,_0x243137):(_0x85b00[_0x390beb(0x3e9)](_0x9076ef,null),_0x310a6f[_0x390beb(0x3e9)](_0x9076ef,_0x552f17['BaseHierarchyInvalidReason'][_0x390beb(0x1a7)])):_0x85b00[_0x390beb(0x3e9)](_0x9076ef,null);}_0x1609e4(_0x85b00,_0x310a6f,_0x3b9df2),_0x14fb39(_0x85b00,_0x310a6f,_0x3b9df2);let _0x33afbc=new Map(_0x3b9df2[_0x390beb(0x3ab)]((_0x5069e7,_0x352917)=>[_0x5069e7,_0x352917])),_0x50c3cb=new Map();for(let _0x5d0dc0 of _0x3b9df2){let _0x49976b=_0x85b00[_0x390beb(0x3a4)](_0x5d0dc0)??null,_0x45aa13=_0x50c3cb[_0x390beb(0x3a4)](_0x49976b)??[];_0x45aa13[_0x390beb(0x36c)](_0x5d0dc0),_0x50c3cb[_0x390beb(0x3e9)](_0x49976b,_0x45aa13);}_0x50c3cb[_0x390beb(0x116)](_0x1dd8b0=>_0x1dd8b0['sort']((_0x52fab1,_0x547d0d)=>(_0x33afbc['get'](_0x52fab1)??0x0)-(_0x33afbc[_0x390beb(0x3a4)](_0x547d0d)??0x0)));let _0x51dbd3=_0x50c3cb[_0x390beb(0x3a4)](null)??[],_0x26ca3a=new Map(),_0x346577=new Map(),_0x51a684=[],_0x119151=(_0x3b9ed0,_0x53c11c)=>{const _0x160bc0=_0x390beb;_0x26ca3a[_0x160bc0(0x3e9)](_0x3b9ed0,_0x53c11c),_0x51a684[_0x160bc0(0x36c)](_0x3b9ed0);let _0x43d4ed=0x0;for(let _0x304aac of _0x50c3cb[_0x160bc0(0x3a4)](_0x3b9ed0)??[])_0x43d4ed=Math['max'](_0x43d4ed,0x1+_0x119151(_0x304aac,_0x53c11c+0x1));return _0x346577[_0x160bc0(0x3e9)](_0x3b9ed0,_0x43d4ed),_0x43d4ed;};return _0x51dbd3[_0x390beb(0x116)](_0x379df8=>_0x119151(_0x379df8,0x0)),{'fieldId':_0x5eb83f,'parentByRecordId':_0x85b00,'childrenByParentId':_0x50c3cb,'depthByRecordId':_0x26ca3a,'subtreeHeightByRecordId':_0x346577,'invalidReasonByRecordId':_0x310a6f,'rootRecordIds':_0x51dbd3,'orderedRecordIds':_0x51a684};}function _0x28f5e1(_0x42e528,_0x2486a0,_0x436159=new Set(_0x2486a0[_0x5b4d61(0x3ab)](_0x40e074=>_0x40e074[_0x5b4d61(0x504)]))){const _0x40400f=_0x5b4d61;let _0x415368=new Set(_0x436159);for(let _0x24428d of _0x436159){let _0x25b27c=_0x42e528['parentByRecordId']['get'](_0x24428d)??null;for(;_0x25b27c;)_0x415368[_0x40400f(0x112)](_0x25b27c),_0x25b27c=_0x42e528[_0x40400f(0x378)]['get'](_0x25b27c)??null;}let _0x3772c7=new Map(_0x2486a0[_0x40400f(0x3ab)](_0x2c687e=>[_0x2c687e[_0x40400f(0x504)],_0x2c687e])),_0x55c670=_0x42e528['orderedRecordIds'][_0x40400f(0x30a)](_0xdc207f=>_0x415368[_0x40400f(0x1d8)](_0xdc207f)),_0x352d52=_0x55c670[_0x40400f(0x4a0)](_0x32eb0e=>{const _0x2fba01=_0x40400f;let _0x34f0b9=_0x3772c7[_0x2fba01(0x3a4)](_0x32eb0e);return _0x34f0b9?[_0x34f0b9]:[];}),_0x27e68a={};for(let _0x4a63cc=0x0;_0x4a63cc<_0x55c670[_0x40400f(0x46a)];_0x4a63cc++){let _0xf82473=_0x55c670[_0x4a63cc];_0x27e68a[_0xf82473]={'recordId':_0xf82473,'parentRecordId':_0x42e528[_0x40400f(0x378)][_0x40400f(0x3a4)](_0xf82473)??null,'depth':_0x42e528[_0x40400f(0x3d1)]['get'](_0xf82473)??0x0,'directChildCount':(_0x42e528[_0x40400f(0x53e)]['get'](_0xf82473)??[])[_0x40400f(0x46a)],'subtreeHeight':_0x42e528[_0x40400f(0x13a)][_0x40400f(0x3a4)](_0xf82473)??0x0,'subtreeEndIndex':_0x4a63cc,'invalidReason':_0x42e528['invalidReasonByRecordId'][_0x40400f(0x3a4)](_0xf82473)};}let _0x304a45=[];for(let _0x201bee=0x0;_0x201bee<_0x55c670[_0x40400f(0x46a)];_0x201bee++){let _0x4f9159=_0x55c670[_0x201bee],_0x22a792=_0x27e68a[_0x4f9159][_0x40400f(0x176)];for(;_0x304a45[_0x40400f(0x46a)]&&_0x304a45[_0x304a45[_0x40400f(0x46a)]-0x1]['depth']>=_0x22a792;){let _0x5c5502=_0x304a45[_0x40400f(0x42a)]();_0x27e68a[_0x5c5502[_0x40400f(0x504)]][_0x40400f(0x33c)]=_0x201bee-0x1;}_0x304a45[_0x40400f(0x36c)]({'recordId':_0x4f9159,'depth':_0x22a792});}return _0x304a45[_0x40400f(0x116)](({recordId:_0x51fa51})=>{const _0x2ef753=_0x40400f;_0x27e68a[_0x51fa51][_0x2ef753(0x33c)]=_0x55c670[_0x2ef753(0x46a)]-0x1;}),{'rows':_0x352d52,'hierarchy':{'fieldId':_0x42e528['fieldId'],'rootRecordIds':_0x42e528[_0x40400f(0x209)][_0x40400f(0x30a)](_0x1b6d79=>_0x415368[_0x40400f(0x1d8)](_0x1b6d79)),'orderedRecordIds':_0x55c670,'nodes':_0x27e68a}};}function _0x50555e(_0x2f6392,_0x49ccc3){const _0x354ab9=_0x5b4d61;if(!_0x2f6392[_0x354ab9(0x445)]||!(_0x49ccc3!=null&&_0x49ccc3[_0x354ab9(0x18d)]))return _0x2f6392[_0x354ab9(0x21e)];let _0x22d463=[],_0x13ad02=0x0;for(;_0x13ad02<_0x2f6392[_0x354ab9(0x21e)][_0x354ab9(0x46a)];){let _0x604208=_0x2f6392['rows'][_0x13ad02];_0x22d463[_0x354ab9(0x36c)](_0x604208);let _0x4157ed=_0x2f6392[_0x354ab9(0x445)]['nodes'][_0x604208[_0x354ab9(0x504)]];_0x13ad02=_0x49ccc3[_0x354ab9(0x1d8)](_0x604208[_0x354ab9(0x504)])&&_0x4157ed?_0x4157ed[_0x354ab9(0x33c)]+0x1:_0x13ad02+0x1;}return _0x22d463;}function _0x4bbbbd(_0x4c9130,_0x3e8567,_0x24832d){const _0x4e2a7b=_0x5b4d61;if(!_0x24832d)return{'valid':!0x0};if(_0x3e8567===_0x24832d)return{'valid':!0x1,'reason':_0x552f17[_0x4e2a7b(0x499)]['SelfParent']};let _0x197f17=_0x24832d;for(;_0x197f17;){if(_0x197f17===_0x3e8567)return{'valid':!0x1,'reason':_0x552f17['BaseHierarchyInvalidReason']['Cycle']};_0x197f17=_0x4c9130[_0x4e2a7b(0x378)]['get'](_0x197f17)??null;}return(_0x4c9130[_0x4e2a7b(0x3d1)]['get'](_0x24832d)??0x0)+0x1+(_0x4c9130['subtreeHeightByRecordId'][_0x4e2a7b(0x3a4)](_0x3e8567)??0x0)>=0x5?{'valid':!0x1,'reason':_0x552f17[_0x4e2a7b(0x499)][_0x4e2a7b(0x30c)]}:{'valid':!0x0};}function _0x189b66(_0x26b8da,_0x31b8d6){const _0x913ba9=_0x5b4d61;let _0x27687e=new Set(),_0x57a63b=[];for(let _0x48fb7a of _0x31b8d6)_0x26b8da[_0x913ba9(0x29e)][_0x48fb7a]&&!_0x27687e[_0x913ba9(0x1d8)](_0x48fb7a)&&(_0x27687e['add'](_0x48fb7a),_0x57a63b[_0x913ba9(0x36c)](_0x48fb7a));return Object[_0x913ba9(0x1bd)](_0x26b8da['records'])[_0x913ba9(0x3c2)]()[_0x913ba9(0x116)](_0x582120=>{const _0x22e26=_0x913ba9;_0x27687e[_0x22e26(0x1d8)](_0x582120)||_0x57a63b['push'](_0x582120);}),_0x57a63b;}function _0x1609e4(_0x6a61ce,_0x3d3272,_0x2fed47){const _0x158246=_0x5b4d61;let _0x319ae5=new Set();for(let _0x27bcea of _0x2fed47){if(_0x319ae5['has'](_0x27bcea))continue;let _0x3eab5f=[],_0x466456=new Map(),_0x2a03da=_0x27bcea;for(;_0x2a03da&&!_0x319ae5[_0x158246(0x1d8)](_0x2a03da);){let _0x296666=_0x466456[_0x158246(0x3a4)](_0x2a03da);if(_0x296666!=null){let _0x35abe8=[..._0x3eab5f['slice'](_0x296666)][_0x158246(0x3c2)]()['pop']();_0x6a61ce[_0x158246(0x3e9)](_0x35abe8,null),_0x3d3272[_0x158246(0x3e9)](_0x35abe8,_0x552f17[_0x158246(0x499)][_0x158246(0x2be)]);break;}_0x466456[_0x158246(0x3e9)](_0x2a03da,_0x3eab5f[_0x158246(0x46a)]),_0x3eab5f[_0x158246(0x36c)](_0x2a03da),_0x2a03da=_0x6a61ce['get'](_0x2a03da)??null;}_0x3eab5f[_0x158246(0x116)](_0x40f302=>_0x319ae5[_0x158246(0x112)](_0x40f302));}}function _0x14fb39(_0x4cb500,_0x3dadaf,_0x37159a){const _0x3db236=_0x5b4d61;let _0x5d693a=new Map(),_0x347647=_0x56d834=>{const _0x21bc71=_0x152e;let _0x59ae07=_0x5d693a[_0x21bc71(0x3a4)](_0x56d834);if(_0x59ae07!=null)return _0x59ae07;let _0x329ced=_0x4cb500[_0x21bc71(0x3a4)](_0x56d834)??null;if(!_0x329ced)return _0x5d693a[_0x21bc71(0x3e9)](_0x56d834,0x0),0x0;let _0x4d6e76=_0x347647(_0x329ced)+0x1;return _0x4d6e76>=0x5?(_0x4cb500['set'](_0x56d834,null),_0x3dadaf[_0x21bc71(0x3e9)](_0x56d834,_0x552f17[_0x21bc71(0x499)][_0x21bc71(0x30c)]),_0x5d693a[_0x21bc71(0x3e9)](_0x56d834,0x0),0x0):(_0x5d693a[_0x21bc71(0x3e9)](_0x56d834,_0x4d6e76),_0x4d6e76);};_0x37159a[_0x3db236(0x116)](_0x347647);}let _0x2968c7=0x0;function _0x4937aa(){const _0xb937f3=_0x5b4d61;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x20a34e=typeof location>'u'?'':location[_0xb937f3(0x379)],_0x40f418=new URLSearchParams(_0x20a34e);if(_0x40f418['get'](_0xb937f3(0x346))==='1'||_0x40f418[_0xb937f3(0x3a4)](_0xb937f3(0x346))===_0xb937f3(0x1b5)||_0x40f418['get'](_0xb937f3(0x310))==='1')return!0x0;}catch{}try{let _0x4538d3=typeof localStorage>'u'?null:localStorage['getItem'](_0xb937f3(0x4ac));return _0x4538d3==='1'||_0x4538d3==='true';}catch{return!0x1;}}function _0x44d452(_0x2ddb00,_0x5eeb6e,_0x5ec7fe){const _0x1fe436=_0x5b4d61;if(!_0x4937aa())return _0x5eeb6e();let _0x2d4445=_0x443d1a(),_0xaf615='base-perf-'+_0x2968c7++;_0x1ab273(_0xaf615+_0x1fe436(0x17b));try{return _0x5eeb6e();}finally{let _0x4b1703=_0x443d1a()-_0x2d4445;_0x1ab273(_0xaf615+_0x1fe436(0x327)),_0x334865(_0x2ddb00,_0xaf615+_0x1fe436(0x17b),_0xaf615+':end'),_0x5fc41b(_0x2ddb00,_0x4b1703,_0x5ec7fe);}}function _0x5fc41b(_0x193ae7,_0xc8214f,_0x1901e8){const _0x18c9d5=_0x5b4d61;if(!_0x4937aa())return;let _0x3a4dbf=Math[_0x18c9d5(0x325)](_0xc8214f*0x64)/0x64,_0x51bada=_0x1901e8&&Object[_0x18c9d5(0x1bd)](_0x1901e8)[_0x18c9d5(0x46a)]?'\x20'+JSON[_0x18c9d5(0x306)](_0x1901e8):'';console[_0x18c9d5(0x4b2)](_0x18c9d5(0x429)+_0x193ae7+':\x20'+_0x3a4dbf+'ms'+_0x51bada);}function _0x443d1a(){const _0x3f9748=_0x5b4d61;return typeof performance<'u'&&typeof performance[_0x3f9748(0x1ca)]==_0x3f9748(0x152)?performance[_0x3f9748(0x1ca)]():Date[_0x3f9748(0x1ca)]();}function _0x1ab273(_0x174e92){const _0x32523d=_0x5b4d61;try{if(typeof performance<'u'){var _0x471a8c,_0x547c34;(_0x471a8c=(_0x547c34=performance)[_0x32523d(0x23f)])==null||_0x471a8c['call'](_0x547c34,_0x174e92);}}catch{}}function _0x334865(_0x1126ce,_0x46793a,_0x28b3b2){const _0x243353=_0x5b4d61;try{if(typeof performance<'u'){var _0x4e6e89,_0x28c264;(_0x4e6e89=(_0x28c264=performance)['measure'])==null||_0x4e6e89[_0x243353(0x30e)](_0x28c264,_0x243353(0x429)+_0x1126ce,_0x46793a,_0x28b3b2);}}catch{}}function _0x2c21a9(_0x27387d){const _0x5a0852=_0x5b4d61;var _0x1f774d;return _0x4937aa()?_0x44d452(_0x5a0852(0x43c),()=>_0x2b4562(_0x27387d),{'tableId':_0x27387d['id'],'records':Object[_0x5a0852(0x1bd)](_0x27387d[_0x5a0852(0x29e)]??{})['length'],'fields':_0x27387d[_0x5a0852(0x151)][_0x5a0852(0x46a)],'hasRecordOrder':!!((_0x1f774d=_0x27387d[_0x5a0852(0x52a)])!=null&&_0x1f774d[_0x5a0852(0x46a)])}):_0x2b4562(_0x27387d);}function _0x2b4562(_0x5af67e){const _0x16f371=_0x5b4d61;var _0x4f4662;let _0x2d0c6f=_0x5af67e[_0x16f371(0x29e)]??{},_0x1b28d2=_0x5af67e[_0x16f371(0x3ec)]??{},_0xfee0dd=((_0x4f4662=_0x5af67e['recordOrder'])==null?void 0x0:_0x4f4662[_0x16f371(0x30a)](_0x3fb168=>_0x2d0c6f[_0x3fb168]))??[],_0x2eba94=new Set(_0xfee0dd),_0xd2978e=[];for(let _0x10b241 of Object['values'](_0x2d0c6f))_0x2eba94['has'](_0x10b241['id'])||_0xd2978e[_0x16f371(0x36c)](_0x10b241);let _0x5a75bc=_0xd2978e[_0x16f371(0x46a)]?[..._0xfee0dd,..._0x1fb647(_0xd2978e)]:_0xfee0dd,_0x40019c=_0x5af67e[_0x16f371(0x151)][_0x16f371(0x30a)](_0x2f6f0d=>_0x1b28d2[_0x2f6f0d]),_0xddefef={..._0x5af67e['rowId']??{}},_0x5c47bc={..._0x5af67e['colId']??{}},_0x2d9a8c={..._0x5af67e[_0x16f371(0x4af)]??{}};_0x5af67e[_0x16f371(0x52a)]=_0x5a75bc,_0x5af67e[_0x16f371(0x1a0)]={},_0x5af67e[_0x16f371(0x219)]={},_0x5af67e['colIndex']={},_0x5af67e[_0x16f371(0x43a)]={},_0x5af67e[_0x16f371(0x4af)]={},_0x5af67e[_0x16f371(0x336)]={..._0x5af67e['resources']??{}},_0x5af67e['resources'][_0x16f371(0x399)]={..._0x5af67e[_0x16f371(0x336)][_0x16f371(0x399)]??{}},_0x5af67e[_0x16f371(0x336)][_0x16f371(0x4b0)]={..._0x5af67e[_0x16f371(0x336)][_0x16f371(0x4b0)]??{}};let _0x57f4e5=_0x5af67e[_0x16f371(0x1a0)],_0x4a10fd=_0x5af67e['rowId'],_0xb21929=_0x5af67e[_0x16f371(0x4ee)],_0x1a2b5f=_0x5af67e[_0x16f371(0x43a)],_0x59a7d8=_0x5af67e[_0x16f371(0x4af)];return _0x5a75bc['forEach']((_0x257b50,_0x3b97ff)=>{_0x57f4e5[_0x257b50]=_0x3b97ff,_0x4a10fd[_0x3b97ff]=_0x257b50;}),_0x40019c[_0x16f371(0x116)]((_0x2d02f1,_0x4bee7f)=>{_0xb21929[_0x2d02f1]=_0x4bee7f,_0x1a2b5f[_0x4bee7f]=_0x2d02f1;}),Object[_0x16f371(0x21f)](_0x2d9a8c)['forEach'](([_0x3db924,_0x4880d4])=>{const _0x57408d=_0x16f371;let _0x17148a=Number(_0x3db924),_0x23d33b=_0xddefef[_0x17148a]??_0x5a75bc[_0x17148a],_0x456f27=_0x23d33b?_0x57f4e5[_0x23d33b]:void 0x0;_0x456f27!=null&&(_0x59a7d8[_0x456f27]={..._0x59a7d8[_0x456f27]??{}},Object[_0x57408d(0x21f)](_0x4880d4??{})[_0x57408d(0x116)](([_0x8c5b3a,_0x9f5a4d])=>{let _0x679448=Number(_0x8c5b3a),_0x412600=_0x5c47bc[_0x679448]??_0x40019c[_0x679448],_0xe220a1=_0x412600?_0xb21929[_0x412600]:void 0x0;_0xe220a1!=null&&(_0x59a7d8[_0x456f27][_0xe220a1]=_0x3e4783(_0x9f5a4d));}));}),Object['values'](_0x2d0c6f)[_0x16f371(0x116)](_0x1e22b3=>{const _0x5be2f5=_0x16f371;let _0x2f9804=_0x57f4e5[_0x1e22b3['id']];_0x2f9804!=null&&(_0x1e22b3[_0x5be2f5(0x4d1)]={..._0x1e22b3[_0x5be2f5(0x4d1)]??{},[_0x552f17['BASE_RECORD_ID_FIELD_ID']]:_0x1e22b3['id']},_0x59a7d8[_0x2f9804]={..._0x59a7d8[_0x2f9804]??{},0x0:{'v':_0x1e22b3['id'],'t':_0x552f17[_0x5be2f5(0x393)][_0x5be2f5(0x4e1)]}},Object['entries'](_0x1e22b3['values']??{})[_0x5be2f5(0x116)](([_0x56d6d5,_0x19e5de])=>{const _0x5720c5=_0x5be2f5;let _0x131a01=_0x1b28d2[_0x56d6d5];(_0x131a01==null?void 0x0:_0x131a01['type'])===_0x552f17[_0x5720c5(0x22d)]['Attachment']&&_0x23cce4(_0x5af67e,_0x1e22b3['id'],_0x56d6d5,_0x19e5de);let _0x35a205=_0xb21929[_0x56d6d5];if(_0x35a205==null)return;let _0x345319=_0x59a7d8[_0x2f9804][_0x35a205];(_0x345319==null||_0x4c4b85(_0x345319,_0x131a01,_0x19e5de))&&(_0x59a7d8[_0x2f9804][_0x35a205]=_0x49a97d(_0x19e5de,_0x131a01));}));}),_0x5af67e;}function _0x42c08f(_0x2e46c5,_0x2884fc){const _0x19c529=_0x5b4d61;return _0x2e46c5[_0x19c529(0x29e)]=Object[_0x19c529(0x1b2)](Object[_0x19c529(0x21f)](_0x2e46c5[_0x19c529(0x29e)])['map'](([_0x2b0726,_0x5239ba])=>[_0x2b0726,{..._0x5239ba}])),_0x2c21a9(_0x2e46c5),Object[_0x19c529(0x21f)](_0x2e46c5[_0x19c529(0x219)]??{})[_0x19c529(0x116)](([_0x1c5f7d,_0x1f3162])=>{const _0x75ce1f=_0x19c529;var _0x339196;let _0x3e7e92=Number(_0x1c5f7d),_0x56fd26=_0x2e46c5['records'][_0x1f3162];_0x56fd26&&(_0x56fd26['values']={..._0x56fd26[_0x75ce1f(0x4d1)]??{}},Object['entries'](((_0x339196=_0x2e46c5[_0x75ce1f(0x4af)])==null?void 0x0:_0x339196[_0x3e7e92])??{})[_0x75ce1f(0x116)](([_0x252c10,_0x397343])=>{const _0x48294b=_0x75ce1f;var _0x4ba963;let _0x15c81a=(_0x4ba963=_0x2e46c5[_0x48294b(0x43a)])==null?void 0x0:_0x4ba963[Number(_0x252c10)];_0x15c81a&&_0x2884fc&&!_0x2884fc(_0x1f3162,_0x15c81a)||(_0x15c81a===_0x552f17[_0x48294b(0x316)]?_0x56fd26[_0x48294b(0x4d1)][_0x552f17[_0x48294b(0x316)]]=_0x56fd26['id']:_0x15c81a&&(_0x56fd26[_0x48294b(0x4d1)][_0x15c81a]=_0x30c402(_0x397343,_0x2e46c5[_0x48294b(0x3ec)][_0x15c81a],_0x2e46c5,_0x1f3162)));}));}),_0x2e46c5;}function _0x3ea866(_0x2dc5cd,_0xb06bf0){const _0x15d4bb=_0x5b4d61;for(let {row:_0x29872a,col:_0x5c5b40}of _0xb06bf0){var _0x4d9b1c,_0x28584b,_0x4a3605;let _0x3be550=(_0x4d9b1c=_0x2dc5cd['rowId'])==null?void 0x0:_0x4d9b1c[_0x29872a],_0x1697cd=(_0x28584b=_0x2dc5cd['colId'])==null?void 0x0:_0x28584b[_0x5c5b40],_0x37d0b6=_0x3be550?_0x2dc5cd['records'][_0x3be550]:void 0x0;if(!_0x37d0b6||!_0x1697cd)continue;if(_0x1697cd===_0x552f17[_0x15d4bb(0x316)]){_0x37d0b6['values'][_0x552f17[_0x15d4bb(0x316)]]=_0x37d0b6['id'];continue;}let _0x200394=(_0x4a3605=_0x2dc5cd[_0x15d4bb(0x4af)])==null||(_0x4a3605=_0x4a3605[_0x29872a])==null?void 0x0:_0x4a3605[_0x5c5b40];(_0x200394!=null||Object[_0x15d4bb(0x16e)][_0x15d4bb(0x3d8)][_0x15d4bb(0x30e)](_0x37d0b6[_0x15d4bb(0x4d1)]??{},_0x1697cd))&&(_0x37d0b6['values']={..._0x37d0b6[_0x15d4bb(0x4d1)]??{}},_0x37d0b6['values'][_0x1697cd]=_0x30c402(_0x200394,_0x2dc5cd[_0x15d4bb(0x3ec)][_0x1697cd],_0x2dc5cd,_0x3be550));}return _0x2dc5cd;}function _0x201682(_0x4c615d,_0x4e9994,_0x5b3eee){const _0xff89c0=_0x5b4d61;var _0x10054a,_0x59d9ec,_0x8e43b7,_0x23acc9,_0xbe6d9c,_0x4ac5e2;let _0x14777b=(_0x10054a=_0x4c615d[_0xff89c0(0x1a0)])==null?void 0x0:_0x10054a[_0x4e9994],_0x26f756=(_0x59d9ec=_0x4c615d[_0xff89c0(0x4ee)])==null?void 0x0:_0x59d9ec[_0x5b3eee];if(_0x14777b!=null&&_0x26f756!=null&&((_0x8e43b7=_0x4c615d['rowId'])==null?void 0x0:_0x8e43b7[_0x14777b])===_0x4e9994&&((_0x23acc9=_0x4c615d[_0xff89c0(0x43a)])==null?void 0x0:_0x23acc9[_0x26f756])===_0x5b3eee)return{'row':_0x14777b,'col':_0x26f756};let _0x309f04=_0x2c21a9(_0x4c615d),_0x4311ad=(_0xbe6d9c=_0x309f04['rowIndex'])==null?void 0x0:_0xbe6d9c[_0x4e9994],_0x252c30=(_0x4ac5e2=_0x309f04[_0xff89c0(0x4ee)])==null?void 0x0:_0x4ac5e2[_0x5b3eee];return _0x4311ad==null||_0x252c30==null?null:{'row':_0x4311ad,'col':_0x252c30};}function _0x3d3ef8(_0x52e41e,_0x7c9425,_0x48fa69){const _0x11eab6=_0x5b4d61;var _0x2ff287;let _0x27a112=_0x201682(_0x52e41e,_0x7c9425,_0x48fa69);if(_0x27a112)return(_0x2ff287=_0x52e41e[_0x11eab6(0x4af)])==null||(_0x2ff287=_0x2ff287[_0x27a112[_0x11eab6(0x4d6)]])==null?void 0x0:_0x2ff287[_0x27a112[_0x11eab6(0x1a1)]];}function _0x3b09d7(_0x2c9633,_0x156b93,_0x5ebd8e){const _0x5c98fa=_0x5b4d61;var _0x2edb60;let _0x57a292=_0x3d3ef8(_0x2c9633,_0x156b93,_0x5ebd8e),_0x5f35ef=_0x2c9633[_0x5c98fa(0x3ec)][_0x5ebd8e];if((_0x5f35ef==null?void 0x0:_0x5f35ef[_0x5c98fa(0x4cd)])===_0x552f17[_0x5c98fa(0x22d)][_0x5c98fa(0x3a6)]){var _0xeccb37;return _0x426334(_0x2c9633,_0x156b93,_0x5ebd8e)??_0x1f16ff((_0xeccb37=_0x2c9633['records'][_0x156b93])==null||(_0xeccb37=_0xeccb37[_0x5c98fa(0x4d1)])==null?void 0x0:_0xeccb37[_0x5ebd8e]);}if(_0x1a5f0b(_0x5f35ef)||_0x186aaa(_0x5f35ef)||(_0x5f35ef==null?void 0x0:_0x5f35ef[_0x5c98fa(0x4cd)])===_0x552f17[_0x5c98fa(0x22d)]['Link']){var _0x87acd4;let _0x2a3740=(_0x87acd4=_0x2c9633['records'][_0x156b93])==null||(_0x87acd4=_0x87acd4[_0x5c98fa(0x4d1)])==null?void 0x0:_0x87acd4[_0x5ebd8e];return _0x2a3740!=null&&_0x2a3740!==''?_0x41ed24(_0x2a3740,_0x5f35ef):_0x30c402(_0x57a292,_0x5f35ef,_0x2c9633,_0x156b93);}return _0x57a292&&Object[_0x5c98fa(0x16e)]['hasOwnProperty']['call'](_0x57a292,'v')?_0x57a292['v']??null:((_0x2edb60=_0x2c9633[_0x5c98fa(0x29e)][_0x156b93])==null||(_0x2edb60=_0x2edb60[_0x5c98fa(0x4d1)])==null?void 0x0:_0x2edb60[_0x5ebd8e])??null;}function _0x43fef4(_0x5706b2,_0x5afb5a,_0x5f27ec){const _0x3b9f57=_0x5b4d61;var _0x18921e;let _0xfc401b=_0x3d3ef8(_0x5706b2,_0x5afb5a,_0x5f27ec);if(_0xfc401b&&Object[_0x3b9f57(0x16e)][_0x3b9f57(0x3d8)][_0x3b9f57(0x30e)](_0xfc401b,'v'))return _0xfc401b['v']??null;let _0xfe5d9f=_0x5706b2[_0x3b9f57(0x3ec)][_0x5f27ec];return _0x49a97d(((_0x18921e=_0x5706b2[_0x3b9f57(0x29e)][_0x5afb5a])==null||(_0x18921e=_0x18921e[_0x3b9f57(0x4d1)])==null?void 0x0:_0x18921e[_0x5f27ec])??null,_0xfe5d9f)['v']??null;}function _0x49a97d(_0x5b0868,_0x4a6750){const _0x2354a3=_0x5b4d61;if(_0x1a3c21(_0x5b0868))return(_0x4a6750==null?void 0x0:_0x4a6750[_0x2354a3(0x4cd)])===_0x552f17[_0x2354a3(0x22d)][_0x2354a3(0x3a6)]?{..._0x5b0868,'v':'','t':_0x552f17[_0x2354a3(0x393)][_0x2354a3(0x4e1)]}:_0x3e4783(_0x5b0868);if((_0x4a6750==null?void 0x0:_0x4a6750[_0x2354a3(0x4cd)])===_0x552f17[_0x2354a3(0x22d)][_0x2354a3(0x3a6)])return{'v':'','t':_0x552f17[_0x2354a3(0x393)][_0x2354a3(0x4e1)]};if(_0x186aaa(_0x4a6750)){let _0x462410=_0x1f2c53(_0x5b0868);return{'v':_0x462410,'t':_0x52cd6e(_0x462410)};}if(_0x1a5f0b(_0x4a6750))return{'v':_0x1600af(_0x5b0868)[_0x2354a3(0x53f)](',\x20'),'t':_0x552f17['CellValueType'][_0x2354a3(0x4e1)]};if((_0x4a6750==null?void 0x0:_0x4a6750[_0x2354a3(0x4cd)])===_0x552f17[_0x2354a3(0x22d)][_0x2354a3(0x3f2)]&&_0x5b0868&&typeof _0x5b0868==_0x2354a3(0x434)&&!Array[_0x2354a3(0x3bc)](_0x5b0868)){let _0x1cc0fc=_0x5b0868;return{'v':String(_0x1cc0fc['text']??_0x1cc0fc[_0x2354a3(0x156)]??''),'t':_0x552f17['CellValueType'][_0x2354a3(0x4e1)]};}return _0x5b0868===null||typeof _0x5b0868==_0x2354a3(0x525)||typeof _0x5b0868==_0x2354a3(0x544)||typeof _0x5b0868==_0x2354a3(0x10b)?{'v':_0x5b0868,'t':_0x52cd6e(_0x5b0868)}:{'v':null,'t':null};}function _0x3e4783(_0x1df501){let _0x3e3c41=_0x188309(_0x1df501['t'],_0x1df501['v']);if(_0x3e3c41===void 0x0){let {t:_0x16f2e7,..._0x4993a9}=_0x1df501;return _0x4993a9;}return{..._0x1df501,'t':_0x3e3c41};}function _0x30c402(_0xd53530,_0x1f6f22,_0x3755f3,_0x4555ee){const _0x1c8755=_0x5b4d61;if(!_0xd53530)return null;if((_0x1f6f22==null?void 0x0:_0x1f6f22[_0x1c8755(0x4cd)])===_0x552f17['BaseFieldType'][_0x1c8755(0x3a6)])return _0x3755f3&&_0x4555ee?_0x426334(_0x3755f3,_0x4555ee,_0x1f6f22['id'])??[]:[];if(_0x1a5f0b(_0x1f6f22))return _0x1600af(_0xd53530['v']);if((_0x1f6f22==null?void 0x0:_0x1f6f22['type'])===_0x552f17[_0x1c8755(0x22d)][_0x1c8755(0x3f2)]&&_0x3755f3&&_0x4555ee){var _0x246176;let _0x2b93a9=(_0x246176=_0x3755f3['records'][_0x4555ee])==null||(_0x246176=_0x246176[_0x1c8755(0x4d1)])==null?void 0x0:_0x246176[_0x1f6f22['id']];if(_0x2b93a9&&typeof _0x2b93a9=='object'&&!Array[_0x1c8755(0x3bc)](_0x2b93a9))return _0x2b93a9;}return Object['prototype'][_0x1c8755(0x3d8)][_0x1c8755(0x30e)](_0xd53530,'v')?_0xd53530['v']??null:null;}function _0x24a127(_0xaaad5a,_0x5d1e31,_0x5ec766,_0x316aeb,_0xe3223a){const _0x5d95a3=_0x5b4d61;return(_0x5ec766==null?void 0x0:_0x5ec766[_0x5d95a3(0x4cd)])===_0x552f17[_0x5d95a3(0x22d)][_0x5d95a3(0x3a6)]?_0x1f16ff(_0xaaad5a):_0x186aaa(_0x5ec766)?_0x1f2c53(_0xaaad5a):_0x1a5f0b(_0x5ec766)?_0x1600af(_0xaaad5a):(_0x5ec766==null?void 0x0:_0x5ec766[_0x5d95a3(0x4cd)])===_0x552f17[_0x5d95a3(0x22d)][_0x5d95a3(0x3f2)]&&(_0xaaad5a==null||_0xaaad5a==='')?null:(_0x5ec766==null?void 0x0:_0x5ec766[_0x5d95a3(0x4cd)])===_0x552f17['BaseFieldType'][_0x5d95a3(0x3f2)]&&_0xaaad5a&&typeof _0xaaad5a=='object'&&!Array[_0x5d95a3(0x3bc)](_0xaaad5a)&&!_0x1a3c21(_0xaaad5a)?_0xaaad5a:_0x30c402(_0x5d1e31,_0x5ec766,_0x316aeb,_0xe3223a);}function _0x1a3c21(_0x15c85a){const _0xd89c81=_0x5b4d61;return!!_0x15c85a&&typeof _0x15c85a==_0xd89c81(0x434)&&(Object[_0xd89c81(0x16e)][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'v')||Object[_0xd89c81(0x16e)][_0xd89c81(0x3d8)]['call'](_0x15c85a,'t')||Object['prototype'][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'p')||Object[_0xd89c81(0x16e)][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'f')||Object['prototype'][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'si'));}function _0x4f2639(_0x3464d4,_0x304624){return _0x3464d4+'\x1f'+_0x304624;}function _0x23cce4(_0x21d21b,_0x35806b,_0x37e962,_0x4d8b6d){const _0x27dd62=_0x5b4d61;let _0x32f041=_0x1f16ff(_0x4d8b6d);_0x21d21b['resources']={..._0x21d21b[_0x27dd62(0x336)]??{}},_0x21d21b[_0x27dd62(0x336)]['attachmentSets']={..._0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x399)]??{}},_0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x4b0)]={..._0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x4b0)]??{}};let _0xda62f2=_0x4f2639(_0x37e962,_0x35806b),_0x5b4bd6=[];for(let _0x4c7b0c=0x0;_0x4c7b0c<_0x32f041['length'];_0x4c7b0c++){if(!(_0x4c7b0c in _0x32f041))continue;let _0x5080c6=_0x32f041[_0x4c7b0c],_0x45cf98=String(_0x5080c6['id']??_0xda62f2+'\x1f'+_0x4c7b0c),_0x4253f0={..._0x5080c6,'id':_0x45cf98};_0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x4b0)][_0x45cf98]=_0x4253f0,_0x5b4bd6[_0x27dd62(0x36c)](_0x45cf98);}_0x21d21b[_0x27dd62(0x336)]['attachmentSets'][_0xda62f2]=_0x5b4bd6;}function _0x426334(_0x569058,_0x131b0a,_0x2fee90){const _0x5f4bb8=_0x5b4d61;var _0x68c1d5;let _0x39fede=_0x4f2639(_0x2fee90,_0x131b0a),_0x1ed3e3=(_0x68c1d5=_0x569058[_0x5f4bb8(0x336)])==null||(_0x68c1d5=_0x68c1d5[_0x5f4bb8(0x399)])==null?void 0x0:_0x68c1d5[_0x39fede];if(!_0x1ed3e3)return null;let _0x8a8745=[];for(let _0x1ff085=0x0;_0x1ff085<_0x1ed3e3[_0x5f4bb8(0x46a)];_0x1ff085++){var _0x4647ed;if(!(_0x1ff085 in _0x1ed3e3))continue;let _0x2a868f=(_0x4647ed=_0x569058[_0x5f4bb8(0x336)])==null||(_0x4647ed=_0x4647ed[_0x5f4bb8(0x4b0)])==null?void 0x0:_0x4647ed[_0x1ed3e3[_0x1ff085]];_0x2a868f&&_0x8a8745['push']({..._0x2a868f});}return _0x8a8745;}function _0x1f16ff(_0x1b1d41){const _0x473a34=_0x5b4d61;if(_0x1b1d41==null||_0x1b1d41===''||_0x1a3c21(_0x1b1d41)&&!('id'in _0x1b1d41)&&!('name'in _0x1b1d41))return[];let _0x299be9=Array[_0x473a34(0x3bc)](_0x1b1d41)?_0x1b1d41:[_0x1b1d41],_0x145fcd=[];for(let _0x300104=0x0;_0x300104<_0x299be9[_0x473a34(0x46a)];_0x300104++){if(!(_0x300104 in _0x299be9))continue;let _0x314831=_0x299be9[_0x300104],_0x228799=_0x314831&&typeof _0x314831==_0x473a34(0x434)?{..._0x314831}:{'id':'attachment-'+_0x300104,'name':String(_0x314831)};Object[_0x473a34(0x1bd)](_0x228799)[_0x473a34(0x46a)]>0x0&&_0x145fcd[_0x473a34(0x36c)](_0x228799);}return _0x145fcd;}function _0x41ed24(_0x295098,_0x436f44){const _0x5f1457=_0x5b4d61;return(_0x436f44==null?void 0x0:_0x436f44[_0x5f1457(0x4cd)])===_0x552f17[_0x5f1457(0x22d)][_0x5f1457(0x3a6)]?_0x1f16ff(_0x295098):_0x186aaa(_0x436f44)?_0x1f2c53(_0x295098):_0x1a5f0b(_0x436f44)?_0x1600af(_0x295098):_0x295098;}function _0x4c4b85(_0x5fef7e,_0x1dde8a,_0x5caa72){const _0x401dec=_0x5b4d61;return(_0x1dde8a==null?void 0x0:_0x1dde8a['type'])===_0x552f17[_0x401dec(0x22d)]['Attachment']?_0x5fef7e['v']!=='':_0x186aaa(_0x1dde8a)?_0x5fef7e['v']!==_0x1f2c53(_0x5caa72):_0x1a5f0b(_0x1dde8a)?Array[_0x401dec(0x3bc)](_0x5caa72)&&(_0x5fef7e['v']==null||_0x5fef7e['v']===''):!0x1;}function _0x1a5f0b(_0x216175){const _0xea431b=_0x5b4d61;return(_0x216175==null?void 0x0:_0x216175[_0xea431b(0x4cd)])===_0x552f17[_0xea431b(0x22d)][_0xea431b(0x51a)]||(_0x216175==null?void 0x0:_0x216175['type'])===_0x552f17[_0xea431b(0x22d)][_0xea431b(0x220)]||(_0x216175==null?void 0x0:_0x216175[_0xea431b(0x4cd)])===_0x552f17[_0xea431b(0x22d)][_0xea431b(0x430)]&&_0x216175[_0xea431b(0x340)][_0xea431b(0x4cf)]===!0x0;}function _0x186aaa(_0x3634a8){const _0x972bc4=_0x5b4d61;return(_0x3634a8==null?void 0x0:_0x3634a8['type'])===_0x552f17[_0x972bc4(0x22d)][_0x972bc4(0x430)]&&_0x3634a8[_0x972bc4(0x340)][_0x972bc4(0x4cf)]!==!0x0;}function _0x1f2c53(_0x295d09){let _0x192bd5=_0x1a3c21(_0x295d09)?_0x295d09['v']:_0x295d09,_0x4fe0e9=Array['isArray'](_0x192bd5)?_0x192bd5[0x0]:_0x192bd5;return _0x4fe0e9==null||_0x4fe0e9===''?null:String(_0x4fe0e9);}function _0x1600af(_0x363049){const _0x222f2a=_0x5b4d61;if(_0x363049==null||_0x363049==='')return[];let _0x5a0680=[];if(Array[_0x222f2a(0x3bc)](_0x363049)){for(let _0x216f4d=0x0;_0x216f4d<_0x363049[_0x222f2a(0x46a)];_0x216f4d++){if(!(_0x216f4d in _0x363049))continue;let _0x1fd0d4=_0x5758c5(_0x363049[_0x216f4d]);_0x1fd0d4&&_0x5a0680[_0x222f2a(0x36c)](_0x1fd0d4);}return _0x5a0680;}for(let _0x3d96ec of String(_0x363049)[_0x222f2a(0x1a2)](',')){let _0x1c4d4=_0x3d96ec[_0x222f2a(0x104)]();_0x1c4d4&&_0x5a0680['push'](_0x1c4d4);}return _0x5a0680;}function _0x5758c5(_0x5aaa82){const _0x1a597a=_0x5b4d61;if(_0x5aaa82==null)return'';if(typeof _0x5aaa82==_0x1a597a(0x525)||typeof _0x5aaa82=='number'||typeof _0x5aaa82==_0x1a597a(0x10b))return String(_0x5aaa82);if(typeof _0x5aaa82==_0x1a597a(0x434)){let _0x12e410=_0x5aaa82;return String(_0x12e410['id']??_0x12e410['name']??_0x12e410[_0x1a597a(0x398)]??'');}return String(_0x5aaa82);}function _0x52cd6e(_0x2ae25a){const _0x56537b=_0x5b4d61;return _0x2ae25a==null?null:typeof _0x2ae25a=='number'?_0x552f17[_0x56537b(0x393)][_0x56537b(0x2fe)]:typeof _0x2ae25a=='boolean'?_0x552f17['CellValueType'][_0x56537b(0x486)]:_0x552f17[_0x56537b(0x393)][_0x56537b(0x4e1)];}function _0x1fb647(_0x15e243){const _0x1bf9e8=_0x5b4d61;_0x15e243[_0x1bf9e8(0x3c2)]((_0x1f7b1a,_0x21b810)=>_0x1f7b1a['orderKey'][_0x1bf9e8(0x2f1)](_0x21b810['orderKey']));let _0x16571d=[];for(let _0x4e11a5 of _0x15e243)_0x16571d[_0x1bf9e8(0x36c)](_0x4e11a5['id']);return _0x16571d;}function _0x188309(_0x54e488,_0x547be4){const _0x47f82b=_0x5b4d61;return _0x54e488===_0x552f17[_0x47f82b(0x393)][_0x47f82b(0x4e1)]||_0x54e488===_0x552f17[_0x47f82b(0x393)][_0x47f82b(0x2fe)]||_0x54e488===_0x552f17['CellValueType'][_0x47f82b(0x486)]||_0x54e488===_0x552f17[_0x47f82b(0x393)][_0x47f82b(0x1c2)]||_0x54e488==null?_0x54e488:_0x52cd6e(_0x547be4??null);}function _0x4c4822(_0x17dffa){const _0x3cda92=_0x5b4d61;let _0x806771=null;for(let _0x5f49f8 of _0x17dffa)_0x806771=_0x806771===null?_0x5f49f8:_0x552f17[_0x3cda92(0x4e7)][_0x3cda92(0x4cd)][_0x3cda92(0x283)](_0x806771,_0x5f49f8);return _0x806771;}var _0x600fcd=class _0x1ae533{static[_0x5b4d61(0x367)](_0x20d8ba,_0x40ca9a){const _0x3f90c4=_0x5b4d61;let _0x104089=[];for(let _0x240c30 of _0x40ca9a){let _0xbaa367=_0x29182c(_0x240c30);if(!_0xbaa367||_0xbaa367[_0x3f90c4(0x36f)]!==_0x20d8ba['id'])return null;_0x104089[_0x3f90c4(0x36c)](_0xbaa367['op']);}try{let _0x4a54ae=_0x4c4822(_0x104089);return _0x4a54ae===null?_0x20d8ba:new _0x1ae533()[_0x3f90c4(0x401)](_0x20d8ba,_0x4a54ae);}catch{return null;}}[_0x5b4d61(0x401)](_0x368c30,_0x34c99b){const _0x5951d1=_0x5b4d61;let _0xb4b38=this[_0x5951d1(0x529)](_0x34c99b),_0x34905f=_0x44d452('BaseJson1.cloneForOp',()=>_0x23250e(_0x368c30,_0x34c99b),{'invalidations':_0xb4b38[_0x5951d1(0x46a)]}),_0x6de44b=_0x44d452(_0x5951d1(0x2df),()=>_0x552f17['JSON1'][_0x5951d1(0x4cd)]['apply'](_0x34905f,_0x34c99b),{'invalidations':_0xb4b38[_0x5951d1(0x46a)]}),_0x45e137=_0x2eed5c(_0x6de44b,_0xb4b38);return _0x44d452(_0x5951d1(0x533),()=>_0x209365(_0x6de44b,_0xb4b38),{'invalidations':_0xb4b38[_0x5951d1(0x46a)]})?(_0x1f03e2(_0x6de44b,_0x45e137),_0x6de44b):(_0x44d452(_0x5951d1(0x1ed),()=>{const _0x113621=_0x5951d1;this[_0x113621(0x1b9)](_0x6de44b,_0xb4b38)[_0x113621(0x116)](_0x311ffd=>{const _0x40ce5b=_0x113621;let _0x4ca1eb=_0xb4b38[_0x40ce5b(0x30a)](_0x594b58=>_0x594b58[_0x40ce5b(0x111)]===_0x311ffd['id']),_0xda4428=_0x4ca1eb[_0x40ce5b(0x46a)]>0x0&&_0x4ca1eb[_0x40ce5b(0x25e)](_0x2840d7=>_0x2840d7[_0x40ce5b(0x4bb)]==='field'||_0x2840d7['reason']==='view'||_0x2840d7['reason']===_0x40ce5b(0x164)||_0x2840d7[_0x40ce5b(0x4bb)]===_0x40ce5b(0x54f))?new Set(_0x4ca1eb['flatMap'](_0x333d60=>{const _0x251887=_0x40ce5b;var _0x1afa5a;if(_0x333d60[_0x251887(0x4bb)]!==_0x251887(0x420)||!_0x333d60[_0x251887(0x400)])return[];let _0x5d5790=(_0x1afa5a=_0x368c30['tables'][_0x311ffd['id']])==null?void 0x0:_0x1afa5a['fields'][_0x333d60[_0x251887(0x400)]],_0xc1e194=_0x311ffd[_0x251887(0x3ec)][_0x333d60[_0x251887(0x400)]];return(_0x5d5790==null?void 0x0:_0x5d5790[_0x251887(0x4cd)])!==(_0xc1e194==null?void 0x0:_0xc1e194[_0x251887(0x4cd)])||(_0x5d5790==null?void 0x0:_0x5d5790[_0x251887(0x340)][_0x251887(0x4cf)])!==(_0xc1e194==null?void 0x0:_0xc1e194['config'][_0x251887(0x4cf)])?[_0x333d60[_0x251887(0x400)]]:[];})):void 0x0,_0x2a8bc3=new Set(_0x4ca1eb[_0x40ce5b(0x4a0)](_0x2f6bfc=>{const _0x2a60c9=_0x40ce5b;var _0x14e69,_0x2dbef2;return _0x2f6bfc[_0x2a60c9(0x4bb)]!==_0x2a60c9(0x164)||_0x2f6bfc[_0x2a60c9(0x4d6)]==null||_0x2f6bfc['column']==null?[]:[JSON[_0x2a60c9(0x306)]([(_0x14e69=_0x311ffd[_0x2a60c9(0x219)])==null?void 0x0:_0x14e69[_0x2f6bfc['row']],(_0x2dbef2=_0x311ffd[_0x2a60c9(0x43a)])==null?void 0x0:_0x2dbef2[_0x2f6bfc[_0x2a60c9(0x44b)]]])];}));_0x42c08f(_0x311ffd,_0xda4428?(_0x115cba,_0x3e96c3)=>_0xda4428['has'](_0x3e96c3)||_0x2a8bc3[_0x40ce5b(0x1d8)](JSON['stringify']([_0x115cba,_0x3e96c3])):void 0x0);});},{'invalidations':_0xb4b38[_0x5951d1(0x46a)]}),_0x1f03e2(_0x6de44b,_0x45e137),_0x6de44b);}['invertOp'](_0x12b770,_0x462a8b){const _0x25155=_0x5b4d61;return _0x552f17[_0x25155(0x4e7)]['type'][_0x25155(0x292)](_0x462a8b,_0x12b770);}['getAffectedRanges'](_0x237788){const _0x2f1ca6=_0x5b4d61;let _0x3c103f=_0x2db972(_0x237788);return _0x3c103f[_0x2f1ca6(0x46a)]?_0x1ed0c7(_0x3c103f[_0x2f1ca6(0x4a0)](_0x18ef85=>this['getAffectedRanges'](_0x18ef85))):_0x2445cf(_0x237788);}[_0x5b4d61(0x1b9)](_0x5a0af7,_0x513f93){const _0x19386f=_0x5b4d61;let _0x5739da=_0x513f93[_0x19386f(0x30a)](_0x296aae=>_0x296aae[_0x19386f(0x4bb)]!==_0x19386f(0x391));return _0x5739da[_0x19386f(0x46a)]?_0x5739da[_0x19386f(0x166)](_0x489024=>!_0x489024[_0x19386f(0x111)])?Object['values'](_0x5a0af7[_0x19386f(0x1e1)]??{}):Array[_0x19386f(0x1c0)](new Set(_0x5739da[_0x19386f(0x3ab)](_0x3c35a2=>_0x3c35a2[_0x19386f(0x111)])))[_0x19386f(0x4a0)](_0x41abc3=>{var _0x437c92;let _0x184c24=(_0x437c92=_0x5a0af7['tables'])==null?void 0x0:_0x437c92[_0x41abc3];return _0x184c24?[_0x184c24]:[];}):[];}};function _0x29182c(_0x30a976){const _0x41f396=_0x5b4d61;let _0x50f95f=_0x30a976[_0x41f396(0x48c)];return _0x30a976['id']!==_0x41f396(0x3d6)||typeof _0x50f95f!=_0x41f396(0x434)||!_0x50f95f||!(_0x41f396(0x36f)in _0x50f95f)||typeof _0x50f95f[_0x41f396(0x36f)]!=_0x41f396(0x525)||!('op'in _0x50f95f)||!Array[_0x41f396(0x3bc)](_0x50f95f['op'])?null:{'unitId':_0x50f95f['unitId'],'op':_0x50f95f['op']};}function _0x209365(_0x294012,_0xa551df){const _0x2609b7=_0x5b4d61;if(!_0xa551df[_0x2609b7(0x46a)]||_0xa551df[_0x2609b7(0x166)](_0x5a13f4=>_0x5a13f4[_0x2609b7(0x4bb)]!==_0x2609b7(0x164)))return!0x1;let _0xb6359=new Map();for(let _0x4f3ad2 of _0xa551df){if(!_0x4f3ad2['tableId']||_0x4f3ad2[_0x2609b7(0x4d6)]==null||_0x4f3ad2[_0x2609b7(0x44b)]==null)continue;let _0x8fb791=_0xb6359[_0x2609b7(0x3a4)](_0x4f3ad2['tableId'])??[];_0x8fb791['push']({'row':_0x4f3ad2[_0x2609b7(0x4d6)],'col':_0x4f3ad2[_0x2609b7(0x44b)]}),_0xb6359[_0x2609b7(0x3e9)](_0x4f3ad2[_0x2609b7(0x111)],_0x8fb791);}return _0xb6359[_0x2609b7(0x116)]((_0x3ef229,_0x2ab2b2)=>{var _0x48ea64;let _0x114404=(_0x48ea64=_0x294012['tables'])==null?void 0x0:_0x48ea64[_0x2ab2b2];_0x114404&&_0x3ea866(_0x114404,_0x3ef229);}),!0x0;}function _0x2eed5c(_0x513040,_0x16d007){const _0x3cab1e=_0x5b4d61;let _0x3359a2=new Set();return _0x16d007[_0x3cab1e(0x4a0)](_0x41bb70=>{const _0x35990b=_0x3cab1e;var _0x52d5e1;if(!_0x41bb70[_0x35990b(0x111)]||!_0x41bb70[_0x35990b(0x504)]||!_0x41bb70[_0x35990b(0x400)])return[];let _0x3cc31c=_0x41bb70['tableId']+'\x1f'+_0x41bb70[_0x35990b(0x504)]+'\x1f'+_0x41bb70[_0x35990b(0x400)];if(_0x3359a2[_0x35990b(0x1d8)](_0x3cc31c))return[];_0x3359a2[_0x35990b(0x112)](_0x3cc31c);let _0x7ec028=(_0x52d5e1=_0x513040['tables'][_0x41bb70['tableId']])==null||(_0x52d5e1=_0x52d5e1[_0x35990b(0x29e)][_0x41bb70[_0x35990b(0x504)]])==null?void 0x0:_0x52d5e1['values'];return _0x7ec028?[{'tableId':_0x41bb70[_0x35990b(0x111)],'recordId':_0x41bb70[_0x35990b(0x504)],'fieldId':_0x41bb70[_0x35990b(0x400)],'exists':Object[_0x35990b(0x16e)][_0x35990b(0x3d8)]['call'](_0x7ec028,_0x41bb70[_0x35990b(0x400)]),'value':_0x7ec028[_0x41bb70[_0x35990b(0x400)]]}]:[];});}function _0x1f03e2(_0x2cec38,_0x227c59){const _0x597529=_0x5b4d61;_0x227c59[_0x597529(0x116)](_0x1c9249=>{const _0x4aba35=_0x597529;var _0x1c708c;let _0x29cf92=(_0x1c708c=_0x2cec38[_0x4aba35(0x1e1)][_0x1c9249['tableId']])==null||(_0x1c708c=_0x1c708c[_0x4aba35(0x29e)][_0x1c9249['recordId']])==null?void 0x0:_0x1c708c[_0x4aba35(0x4d1)];_0x29cf92&&(_0x1c9249['exists']?_0x29cf92[_0x1c9249[_0x4aba35(0x400)]]=_0x1c9249[_0x4aba35(0x2e2)]:delete _0x29cf92[_0x1c9249[_0x4aba35(0x400)]]);});}function _0x2445cf(_0x2c7ae5){const _0x340255=_0x5b4d61;if(!Array[_0x340255(0x3bc)](_0x2c7ae5)||_0x2c7ae5['length']<0x2)return[{'tableId':'','reason':'unknown'}];let _0x2c00f5=_0x2c7ae5,_0x174d61=_0x2c00f5[_0x340255(0x462)](_0x340255(0x1e1));return _0x174d61===-0x1||typeof _0x2c00f5[_0x174d61+0x1]!='string'?_0x2c00f5[0x0]===_0x340255(0x3ac)?[]:[{'tableId':'','reason':_0x340255(0x2b1)}]:_0x450fd3(_0x2c00f5,_0x174d61,String(_0x2c00f5[_0x174d61+0x1]));}function _0x450fd3(_0xcca8ad,_0x49a2e5,_0x5ce55c){const _0x23cbb5=_0x5b4d61;let _0x37e16a=_0xcca8ad[_0x49a2e5+0x2];return _0x37e16a===_0x23cbb5(0x29e)&&typeof _0xcca8ad[_0x49a2e5+0x3]==_0x23cbb5(0x525)?_0x5f2cf3(_0xcca8ad,_0x49a2e5,_0x5ce55c,String(_0xcca8ad[_0x49a2e5+0x3])):_0x37e16a===_0x23cbb5(0x4af)&&_0xcca8ad[_0x49a2e5+0x3]!=null&&_0xcca8ad[_0x49a2e5+0x4]!=null?[{'tableId':_0x5ce55c,'reason':'cell','row':Number(_0xcca8ad[_0x49a2e5+0x3]),'column':Number(_0xcca8ad[_0x49a2e5+0x4])}]:_0x37e16a===_0x23cbb5(0x3ec)&&typeof _0xcca8ad[_0x49a2e5+0x3]==_0x23cbb5(0x525)?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x420),'fieldId':String(_0xcca8ad[_0x49a2e5+0x3])}]:_0x37e16a==='fieldOrder'?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x420)}]:_0x37e16a===_0x23cbb5(0x52a)?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x54f)}]:_0x37e16a===_0x23cbb5(0x2ea)&&typeof _0xcca8ad[_0x49a2e5+0x3]=='string'?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x391),'viewId':String(_0xcca8ad[_0x49a2e5+0x3])}]:_0x37e16a===_0x23cbb5(0x4ef)?[{'tableId':_0x5ce55c,'reason':'view'}]:_0x37e16a===_0x23cbb5(0x336)?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x164)}]:[{'tableId':_0x5ce55c,'reason':_0x37e16a===void 0x0?'table':_0x23cbb5(0x2b1)}];}function _0x5f2cf3(_0x1f8748,_0x45dd39,_0x2ae609,_0x191db8){const _0x5ad73b=_0x5b4d61;return _0x1f8748[_0x45dd39+0x4]===_0x5ad73b(0x4d1)&&typeof _0x1f8748[_0x45dd39+0x5]==_0x5ad73b(0x525)?[{'tableId':_0x2ae609,'reason':'cell','recordId':_0x191db8,'fieldId':String(_0x1f8748[_0x45dd39+0x5])}]:_0x1f8748[_0x45dd39+0x4]===_0x5ad73b(0x32d)||_0x1f8748[_0x45dd39+0x4]===_0x5ad73b(0x2e8)?[]:[{'tableId':_0x2ae609,'reason':_0x5ad73b(0x54f),'recordId':_0x191db8}];}function _0x2db972(_0x4cb4c3){const _0x9e94d4=_0x5b4d61;if(!Array[_0x9e94d4(0x3bc)](_0x4cb4c3))return[];let _0x4db9a9=_0x4cb4c3[_0x9e94d4(0x30a)](Array[_0x9e94d4(0x3bc)]);if(_0x4db9a9['length']>0x1&&_0x4db9a9[_0x9e94d4(0x46a)]===_0x4cb4c3[_0x9e94d4(0x46a)])return _0x4db9a9;let _0xd1dfca=_0x4cb4c3[_0x9e94d4(0x1ff)](Array[_0x9e94d4(0x3bc)]);if(_0xd1dfca>0x0&&_0x4cb4c3[_0x9e94d4(0x25d)](_0xd1dfca)[_0x9e94d4(0x25e)](Array[_0x9e94d4(0x3bc)])){let _0x34ced9=_0x4cb4c3[_0x9e94d4(0x25d)](0x0,_0xd1dfca);return _0x4cb4c3[_0x9e94d4(0x25d)](_0xd1dfca)['map'](_0x1fdcd9=>[..._0x34ced9,..._0x1fdcd9]);}let _0x3c5a61=_0x4cb4c3[_0x9e94d4(0x462)](_0x9e94d4(0x1e1));if(_0x3c5a61===-0x1||typeof _0x4cb4c3[_0x3c5a61+0x1]!=_0x9e94d4(0x525))return[];let _0x226c02=String(_0x4cb4c3[_0x3c5a61+0x1]),_0x655d7e=_0x4cb4c3[_0x9e94d4(0x25d)](_0x3c5a61+0x2)[_0x9e94d4(0x30a)](Array[_0x9e94d4(0x3bc)]);return _0x655d7e[_0x9e94d4(0x46a)]<=0x1?[]:_0x655d7e[_0x9e94d4(0x3ab)](_0x3c2c5b=>[_0x9e94d4(0x1e1),_0x226c02,..._0x3c2c5b]);}function _0x1ed0c7(_0x4a6d33){const _0x11959d=_0x5b4d61;let _0x27fefc=new Set();return _0x4a6d33[_0x11959d(0x30a)](_0x3cdb58=>{const _0x29f366=_0x11959d;let _0x441744=JSON[_0x29f366(0x306)](_0x3cdb58);return!_0x27fefc['has'](_0x441744)&&(_0x27fefc['add'](_0x441744),!0x0);});}function _0x47ac74(_0x4770a2){const _0x46ef04=_0x5b4d61;return _0x552f17[_0x46ef04(0x395)][_0x46ef04(0x4bf)](_0x4770a2);}function _0x23250e(_0x46adee,_0x51c71e){const _0xe9417d=_0x5b4d61;let _0x12f637=_0x3f3a24(_0x51c71e);if(!_0x12f637[_0xe9417d(0x46a)])return _0x47ac74(_0x46adee);let _0x1310a3=_0xbc4ab5(_0x46adee),_0x3b11c5=new Set();for(let _0x2556e7 of _0x12f637)_0x4f9eff(_0x1310a3,_0x2556e7,_0x3b11c5);return _0x1310a3;}function _0x3f3a24(_0x2b7783){let _0x5e9fb8=[];return _0x5d846d(_0x2b7783,[],_0x5e9fb8),_0x5e9fb8;}function _0x5d846d(_0x36fecf,_0x2f6785,_0x2f408b){const _0x36686a=_0x5b4d61;if(!Array[_0x36686a(0x3bc)](_0x36fecf))return;let _0x38e10f=[];for(let _0x3e4819 of _0x36fecf)Array[_0x36686a(0x3bc)](_0x3e4819)?_0x5d846d(_0x3e4819,[..._0x2f6785,..._0x38e10f],_0x2f408b):_0x3a9bff(_0x3e4819)?_0x2f408b[_0x36686a(0x36c)]([..._0x2f6785,..._0x38e10f]):(typeof _0x3e4819==_0x36686a(0x525)||typeof _0x3e4819==_0x36686a(0x544))&&_0x38e10f[_0x36686a(0x36c)](_0x3e4819);}function _0x3a9bff(_0x5b2a6f){const _0x50b04e=_0x5b4d61;if(!_0x5b2a6f||typeof _0x5b2a6f!=_0x50b04e(0x434)||Array['isArray'](_0x5b2a6f))return!0x1;let _0x29c569=_0x5b2a6f;return'i'in _0x29c569||'r'in _0x29c569||'p'in _0x29c569||'d'in _0x29c569||'es'in _0x29c569||_0x50b04e(0x200)in _0x29c569||'et'in _0x29c569;}function _0x4f9eff(_0x12239f,_0x3c5bce,_0x4e5440){const _0x2cdecc=_0x5b4d61;let _0xf35609=_0x12239f,_0x537004=[];for(let _0x23fe8e=0x0;_0x23fe8e<_0x3c5bce[_0x2cdecc(0x46a)]-0x1;_0x23fe8e++){let _0x4ade03=_0x3c5bce[_0x23fe8e];_0x537004[_0x2cdecc(0x36c)](_0x4ade03);let _0x8bd996=_0x269110(_0xf35609,_0x4ade03);if(!_0x198016(_0x8bd996))return;let _0x1ad1db=JSON['stringify'](_0x537004);_0x4e5440[_0x2cdecc(0x1d8)](_0x1ad1db)||(_0x23e063(_0xf35609,_0x4ade03,_0xbc4ab5(_0x8bd996)),_0x4e5440['add'](_0x1ad1db));let _0x35aff0=_0x269110(_0xf35609,_0x4ade03);if(!_0x198016(_0x35aff0))return;_0xf35609=_0x35aff0;}}function _0x269110(_0x559810,_0x443556){const _0x5c182d=_0x5b4d61;return Array[_0x5c182d(0x3bc)](_0x559810)?typeof _0x443556=='number'?_0x559810[_0x443556]:void 0x0:Reflect[_0x5c182d(0x3a4)](_0x559810,_0x443556);}function _0x23e063(_0x2bbb65,_0x1f0f69,_0x47c68f){const _0x303650=_0x5b4d61;Array[_0x303650(0x3bc)](_0x2bbb65)?typeof _0x1f0f69=='number'&&(_0x2bbb65[_0x1f0f69]=_0x47c68f):Reflect['set'](_0x2bbb65,_0x1f0f69,_0x47c68f);}function _0x198016(_0x1b4eac){const _0x3ad2ad=_0x5b4d61;return!!_0x1b4eac&&typeof _0x1b4eac==_0x3ad2ad(0x434);}function _0xbc4ab5(_0x1f8aa8){const _0x357706=_0x5b4d61;return Array[_0x357706(0x3bc)](_0x1f8aa8)?_0x1f8aa8[_0x357706(0x25d)]():{..._0x1f8aa8};}let _0x23d106='yyyy/mm/dd',_0x28ec4f=/\s+hh:mm\s*$/i,_0x5d6088={'yyyy/mm/dd':_0x5b4d61(0x23e),'yyyy-mm-dd':_0x5b4d61(0x287),'mm-dd':_0x5b4d61(0x53b),'mm/dd/yyyy':_0x5b4d61(0x2b8),'dd/mm/yyyy':_0x5b4d61(0x150),'mmm\x20d,\x20yyyy':_0x5b4d61(0x555)};function _0x5afbbf(_0x438a6a,_0x22ce46=_0x552f17['DateSystem'][_0x5b4d61(0x2ee)]){const _0x2fb443=_0x5b4d61;let _0x9f6dfd=(0x0,_0x552f17['dateKit'])(_0x438a6a)[_0x2fb443(0x357)]();return(0x0,_0x552f17[_0x2fb443(0x211)])(new Date(_0x9f6dfd),_0x22ce46);}function _0x448575(_0x4e2877,_0x14f7d9=_0x552f17[_0x5b4d61(0x472)][_0x5b4d61(0x2ee)]){const _0x18f111=_0x5b4d61;return(0x0,_0x552f17[_0x18f111(0x351)])(_0x4e2877,_0x14f7d9)[_0x18f111(0x50a)]();}function _0x1b2d78(_0x54fee5,_0x1d2057=_0x552f17['DateSystem'][_0x5b4d61(0x2ee)]){const _0x54611e=_0x5b4d61;if(_0x54fee5==null||_0x54fee5==='')return null;if(_0x54fee5 instanceof Date)return _0x5afbbf(_0x54fee5,_0x1d2057);if(typeof _0x54fee5==_0x54611e(0x544))return Number[_0x54611e(0x326)](_0x54fee5)?_0x54fee5>0xf4240?_0x5afbbf(_0x54fee5,_0x1d2057):_0x54fee5:null;let _0x4c5626=Date[_0x54611e(0x175)](String(_0x54fee5));return Number[_0x54611e(0x501)](_0x4c5626)?null:_0x5afbbf(_0x4c5626,_0x1d2057);}function _0x1c8cf1(_0x1261c0,_0x46d83b=_0x552f17[_0x5b4d61(0x472)]['Date1900']){let _0x479233=_0x1b2d78(_0x1261c0,_0x46d83b);return _0x479233==null?null:_0x448575(_0x479233,_0x46d83b);}function _0x13dba4(_0x258b8d={}){const _0x177b51=_0x5b4d61;let _0x2e30af=String(_0x258b8d[_0x177b51(0x320)]??_0x258b8d[_0x177b51(0x2d0)]??_0x258b8d[_0x177b51(0x2a9)]??_0x23d106)[_0x177b51(0x104)]()||_0x23d106,_0x2ba378=_0x28ec4f['test'](_0x2e30af);return{'pattern':_0x2e30af[_0x177b51(0x394)](_0x28ec4f,'')||_0x23d106,'includeTime':typeof _0x258b8d[_0x177b51(0x1f8)]==_0x177b51(0x10b)?_0x258b8d[_0x177b51(0x1f8)]:_0x2ba378,'hourCycle':_0x258b8d[_0x177b51(0x4a7)]===_0x177b51(0x18e)?_0x177b51(0x18e):'h24'};}function _0x152eb9(_0x5bffe0={}){let {format:_0x3006e5,dateFormat:_0x5d150f,..._0x32fea2}=_0x5bffe0;return{..._0x32fea2,..._0x13dba4(_0x5bffe0)};}function _0x6b809(_0xb89051,_0x97974b={}){const _0x51e797=_0x5b4d61;let _0x3ceae3=_0x1c8cf1(_0xb89051);if(_0x3ceae3==null||!Number[_0x51e797(0x326)](_0x3ceae3))return'';let _0x52147f=_0x13dba4(_0x97974b);return(0x0,_0x552f17[_0x51e797(0x2d7)])(_0x3ceae3)[_0x51e797(0x2d0)](_0x259183(_0x52147f));}function _0x259183(_0x36c2fe){const _0x2c344d=_0x5b4d61;let {pattern:_0x11c665,includeTime:_0x1dcd03,hourCycle:_0x37f200}=_0x36c2fe,_0x4535ab=_0x5d6088[_0x11c665]??_0x5d6088[_0x23d106];return _0x1dcd03?_0x4535ab+'\x20'+(_0x37f200===_0x2c344d(0x18e)?_0x2c344d(0x24b):_0x2c344d(0x1c5)):_0x4535ab;}let _0x1c4863={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x3e441b=new Set([_0x552f17['BaseFieldType'][_0x5b4d61(0x500)]]);function _0x47060d(_0x107944){const _0x4e02c3=_0x5b4d61;switch(_0x107944){case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x439)]:case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x268)]:case _0x552f17['BaseFieldType']['Progress']:case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x2dc)]:return[_0x552f17['BaseConditionalColorOperator']['IS'],_0x552f17[_0x4e02c3(0x13e)]['IS_NOT'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x1b1)],_0x552f17[_0x4e02c3(0x13e)]['LESS_THAN'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x105)],_0x552f17[_0x4e02c3(0x13e)]['IS_NOT_EMPTY']];case _0x552f17['BaseFieldType']['Date']:case _0x552f17['BaseFieldType'][_0x4e02c3(0x435)]:case _0x552f17[_0x4e02c3(0x22d)]['UpdatedAt']:return[_0x552f17[_0x4e02c3(0x13e)]['IS'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x24a)],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x2a5)],_0x552f17['BaseConditionalColorOperator'][_0x4e02c3(0x4ec)],_0x552f17['BaseConditionalColorOperator'][_0x4e02c3(0x105)],_0x552f17['BaseConditionalColorOperator'][_0x4e02c3(0x238)]];case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x3ad)]:return[_0x552f17[_0x4e02c3(0x13e)]['IS'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x24a)]];default:return[_0x552f17[_0x4e02c3(0x13e)]['IS'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x24a)],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x198)],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x37f)],_0x552f17[_0x4e02c3(0x13e)]['IS_EMPTY'],_0x552f17[_0x4e02c3(0x13e)]['IS_NOT_EMPTY']];}}function _0x4e99f7(_0x4c712c){const _0x15e3c1=_0x5b4d61;return _0x4c712c===_0x552f17[_0x15e3c1(0x22d)][_0x15e3c1(0x522)]||_0x4c712c===_0x552f17[_0x15e3c1(0x22d)][_0x15e3c1(0x435)]||_0x4c712c===_0x552f17[_0x15e3c1(0x22d)]['UpdatedAt'];}function _0x54a581(_0x3b8be6,_0x2e768f){const _0x402709=_0x5b4d61;return _0x3b8be6==null&&_0x2e768f==null?0x0:_0x3b8be6==null?-0x1:_0x2e768f==null?0x1:typeof _0x3b8be6==_0x402709(0x544)&&typeof _0x2e768f=='number'?_0x3b8be6-_0x2e768f:String(_0x3b8be6)[_0x402709(0x2f1)](String(_0x2e768f));}function _0x255362(_0x573164,_0x996c9d,_0x209cdc,_0x41c0a3,_0x28ad58={}){const _0x2654aa=_0x5b4d61;if(_0x996c9d===_0x2654aa(0x199))return _0x29251b(_0x573164);if(_0x996c9d===_0x2654aa(0x443))return!_0x29251b(_0x573164);switch(_0x41c0a3[_0x2654aa(0x4cd)]){case _0x552f17['BaseFieldType'][_0x2654aa(0x439)]:case _0x552f17['BaseFieldType'][_0x2654aa(0x268)]:case _0x552f17['BaseFieldType']['Progress']:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x2dc)]:return _0x200766(_0x573164,_0x996c9d,_0x209cdc);case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x522)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x435)]:case _0x552f17['BaseFieldType'][_0x2654aa(0x373)]:return _0x26547c(_0x573164,_0x996c9d,_0x209cdc,_0x28ad58);case _0x552f17['BaseFieldType'][_0x2654aa(0x3ad)]:return _0x55e279(_0x573164,_0x996c9d,_0x209cdc);case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x38b)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x51a)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x430)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x220)]:return _0x588ce5(_0x573164,_0x996c9d,_0x209cdc,_0x41c0a3);default:return _0x517a2a(_0x573164,_0x996c9d,_0x209cdc);}}function _0x29251b(_0x5e1a23){const _0x1c2403=_0x5b4d61;return _0x5e1a23==null?!0x0:Array[_0x1c2403(0x3bc)](_0x5e1a23)?_0x5e1a23[_0x1c2403(0x46a)]===0x0:typeof _0x5e1a23==_0x1c2403(0x525)&&_0x5e1a23['trim']()==='';}function _0x200766(_0x5112b9,_0x3f2077,_0x3b0cd4){const _0x4df856=_0x5b4d61;let _0x55826c=_0x2d569f(_0x5112b9),_0x1a9341=_0x2d569f(_0x3b0cd4);if(_0x55826c==null||_0x1a9341==null)return!0x1;switch(_0x3f2077){case'is':return _0x55826c===_0x1a9341;case _0x4df856(0xf9):return _0x55826c!==_0x1a9341;case _0x4df856(0x4f6):return _0x55826c>_0x1a9341;case _0x4df856(0x1ac):return _0x55826c>=_0x1a9341;case _0x4df856(0x18a):return _0x55826c<_0x1a9341;case _0x4df856(0x2b4):return _0x55826c<=_0x1a9341;default:return!0x1;}}function _0x2d569f(_0x50b1d1){const _0x4493e2=_0x5b4d61;if(_0x50b1d1==null||_0x50b1d1==='')return null;let _0x13d3e6=Number(_0x50b1d1);return Number[_0x4493e2(0x326)](_0x13d3e6)?_0x13d3e6:null;}function _0x26547c(_0x1217c1,_0x33eb11,_0x497139,_0x3a0296){const _0x3e2f21=_0x5b4d61;let _0x59af2d=_0x110a4f(_0x1217c1);if(_0x59af2d==null)return!0x1;let _0x51bfee=_0x3b2aa4(_0x3a0296[_0x3e2f21(0x1b4)]??_0x552f17['BaseConditionalDateMode'][_0x3e2f21(0x3a5)],_0x497139,_0x3a0296[_0x3e2f21(0x1ca)]);if(!_0x51bfee)return!0x1;switch(_0x33eb11){case _0x552f17['BaseConditionalColorOperator']['IS']:return _0x59af2d>=_0x51bfee[_0x3e2f21(0x143)]&&_0x59af2d<=_0x51bfee[_0x3e2f21(0x1fd)];case _0x552f17['BaseConditionalColorOperator'][_0x3e2f21(0x24a)]:return _0x59af2d<_0x51bfee[_0x3e2f21(0x143)]||_0x59af2d>_0x51bfee[_0x3e2f21(0x1fd)];case _0x552f17[_0x3e2f21(0x13e)]['BEFORE']:return _0x59af2d<_0x51bfee[_0x3e2f21(0x143)];case _0x552f17['BaseConditionalColorOperator'][_0x3e2f21(0x4ec)]:return _0x59af2d>_0x51bfee[_0x3e2f21(0x1fd)];default:return!0x1;}}function _0x3b2aa4(_0x24be94,_0x388d17,_0x4dbb75=Date['now']()){const _0x12f1a7=_0x5b4d61;let _0x2d37b0=_0x57dfcf(_0x4dbb75);switch(_0x24be94){case _0x552f17['BaseConditionalDateMode']['EXACT']:{let _0xe48f68=_0x110a4f(_0x388d17);return _0xe48f68==null?null:_0x3ffeaa(_0xe48f68,0x0,0x1);}case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x1b7)]:return _0x3ffeaa(_0x2d37b0,0x0,0x1);case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x464)]:return _0x3ffeaa(_0x2d37b0,0x1,0x1);case _0x552f17['BaseConditionalDateMode']['YESTERDAY']:return _0x3ffeaa(_0x2d37b0,-0x1,0x1);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x1c1)]:return _0x220f08(_0x2d37b0,0x0);case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x4d5)]:return _0x220f08(_0x2d37b0,-0x1);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x193)]:return _0x51c3c9(_0x2d37b0,0x0);case _0x552f17[_0x12f1a7(0x295)]['LAST_MONTH']:return _0x51c3c9(_0x2d37b0,-0x1);case _0x552f17[_0x12f1a7(0x295)]['PAST_7_DAYS']:return _0x3ffeaa(_0x2d37b0,-0x6,0x7);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x425)]:return _0x3ffeaa(_0x2d37b0,0x0,0x7);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x20d)]:return _0x3ffeaa(_0x2d37b0,-0x1d,0x1e);case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x494)]:return _0x3ffeaa(_0x2d37b0,0x0,0x1e);}}function _0x110a4f(_0x2f7d9b){let _0x5274b4=_0x1b2d78(_0x2f7d9b);return _0x5274b4==null?null:_0x57dfcf(_0x448575(_0x5274b4));}function _0x57dfcf(_0x2252de){const _0x332784=_0x5b4d61;let _0x2db842=new Date(_0x2252de);return _0x2db842[_0x332784(0x3f1)](0x0,0x0,0x0,0x0),_0x2db842['getTime']();}function _0x220f08(_0x10e20d,_0x13eb6e){const _0x1115b7=_0x5b4d61;return _0x3ffeaa(_0x10e20d,-((new Date(_0x10e20d)[_0x1115b7(0x40f)]()+0x6)%0x7)+_0x13eb6e*0x7,0x7);}function _0x3ffeaa(_0x3c4c56,_0x7f49f7,_0x2cdc28){const _0x429097=_0x5b4d61;let _0x27827b=(0x0,_0x552f17[_0x429097(0x2d7)])(_0x3c4c56)[_0x429097(0x112)](_0x7f49f7,_0x429097(0x407));return{'start':_0x27827b[_0x429097(0x357)](),'end':_0x27827b[_0x429097(0x112)](_0x2cdc28,'day')[_0x429097(0x357)]()-0x1};}function _0x51c3c9(_0x55a2e9,_0x4d56f5){const _0x2764ef=_0x5b4d61;let _0x154be9=new Date(_0x55a2e9),_0x584229=new Date(_0x154be9['getFullYear'](),_0x154be9[_0x2764ef(0x453)]()+_0x4d56f5,0x1),_0x657af4=new Date(_0x154be9['getFullYear'](),_0x154be9['getMonth']()+_0x4d56f5+0x1,0x1);return{'start':_0x584229[_0x2764ef(0x50a)](),'end':_0x657af4[_0x2764ef(0x50a)]()-0x1};}function _0x55e279(_0x5d6b12,_0x1b2fd9,_0x5f0cd2){let _0x4a86c2=_0x2fe2da(_0x5d6b12),_0x1eb567=_0x2fe2da(_0x5f0cd2);switch(_0x1b2fd9){case'is':return _0x4a86c2===_0x1eb567;case'isNot':return _0x4a86c2!==_0x1eb567;default:return!0x1;}}function _0x2fe2da(_0x372e8f){const _0x578108=_0x5b4d61;return _0x372e8f===!0x0||_0x372e8f===_0x578108(0x1b5)||_0x372e8f===0x1||_0x372e8f==='1';}function _0x588ce5(_0x41b1b6,_0x2120e5,_0x4628f2,_0x1b7839){const _0x562eae=_0x5b4d61;let _0x1aa26a=_0x6f6858(_0x41b1b6,_0x1b7839),_0x39fcf7=_0x6f6858(_0x4628f2,_0x1b7839),_0x3abc02=_0x39fcf7[_0x562eae(0x46a)]>0x0&&_0x39fcf7[_0x562eae(0x166)](_0x50fc7a=>_0x1aa26a[_0x562eae(0x396)](_0x50fc7a));switch(_0x2120e5){case'is':case'contains':return _0x3abc02;case'isNot':case'notContains':return!_0x3abc02;default:return!0x1;}}function _0x517a2a(_0x386bd5,_0x375910,_0x7a424){const _0xa2b1d8=_0x5b4d61;let _0x482257=_0x2407aa(_0x386bd5),_0x469e33=_0x2407aa(_0x7a424);switch(_0x375910){case'is':return _0x482257===_0x469e33;case _0xa2b1d8(0xf9):return _0x482257!==_0x469e33;case _0xa2b1d8(0x25a):return _0x469e33?_0x482257[_0xa2b1d8(0x396)](_0x469e33):!0x1;case _0xa2b1d8(0x37d):return!_0x469e33||!_0x482257['includes'](_0x469e33);default:return!0x1;}}function _0x2407aa(_0x1d55ad){const _0x3172ff=_0x5b4d61;if(Array[_0x3172ff(0x3bc)](_0x1d55ad))return _0x1d55ad['map'](_0x1378dc=>_0x2407aa(_0x1378dc))['join']('\x0a');if(_0x1d55ad&&typeof _0x1d55ad==_0x3172ff(0x434)){let _0x3fb5e8=_0x1d55ad;return String(_0x3fb5e8[_0x3172ff(0x288)]??_0x3fb5e8['label']??_0x3fb5e8[_0x3172ff(0x398)]??_0x3fb5e8[_0x3172ff(0x2e2)]??_0x3fb5e8['id']??'')[_0x3172ff(0x104)]()[_0x3172ff(0x335)]();}return String(_0x1d55ad??'')[_0x3172ff(0x104)]()[_0x3172ff(0x335)]();}function _0x6f6858(_0x3572f9,_0x15f858){const _0x30d60b=_0x5b4d61;let _0x1b6eda=_0x471d2d(_0x3572f9),_0x563a13=_0x418e17(_0x15f858[_0x30d60b(0x340)]??{});return _0x1b6eda['flatMap'](_0x48053f=>_0x563a13['get'](_0x48053f)??[_0x48053f])[_0x30d60b(0x30a)]((_0x27b321,_0x5a4aa6,_0x43bab2)=>_0x27b321!==''&&_0x43bab2[_0x30d60b(0x462)](_0x27b321)===_0x5a4aa6);}function _0x471d2d(_0x1b0828){const _0x871132=_0x5b4d61;if(_0x1b0828==null||_0x1b0828==='')return[];if(Array[_0x871132(0x3bc)](_0x1b0828))return _0x1b0828[_0x871132(0x4a0)](_0x1fb81e=>_0x471d2d(_0x1fb81e));if(_0x1b0828&&typeof _0x1b0828==_0x871132(0x434)){let _0xa287ad=_0x1b0828;return['id',_0x871132(0x288),'label',_0x871132(0x2e2),_0x871132(0x398)][_0x871132(0x4a0)](_0x4bb6d8=>_0x471d2d(_0xa287ad[_0x4bb6d8]))[_0x871132(0x30a)]((_0x1c243a,_0x38b23b,_0x50c56f)=>_0x50c56f[_0x871132(0x462)](_0x1c243a)===_0x38b23b);}return[_0x2407aa(_0x1b0828)];}function _0x418e17(_0x3feca9){const _0x1cd63d=_0x5b4d61;let _0x736600=new Map();return(Array['isArray'](_0x3feca9[_0x1cd63d(0x3ef)])?_0x3feca9['options']:[])[_0x1cd63d(0x116)](_0xbebe99=>{const _0x37a00a=_0x1cd63d;if(!_0xbebe99||typeof _0xbebe99!=_0x37a00a(0x434))return;let _0x4d7b8b=_0x471d2d(_0xbebe99),_0x1ac9ab=_0x4d7b8b[_0x37a00a(0x30a)]((_0x57b24d,_0x4c5401)=>_0x57b24d!==''&&_0x4d7b8b['indexOf'](_0x57b24d)===_0x4c5401);_0x1ac9ab['forEach'](_0x386e4a=>_0x736600[_0x37a00a(0x3e9)](_0x386e4a,_0x1ac9ab));}),_0x736600;}function _0x45200d(_0x1ccc44,_0x38a512={},_0x5201d0=_0x116811=>_0x116811,_0x567901={}){const _0x162dd6=_0x5b4d61;let _0x3a6a01=!_0x3e441b['has'](_0x1ccc44),_0x13436a=_0x5201d0??(_0x378f61=>_0x378f61);return{'type':_0x1ccc44,'i18nKey':_0x162dd6(0x4dd)+_0x1ccc44,'enabled':_0x3a6a01,'visibleInCreateMenu':_0x3a6a01,'createDefaultConfig':_0x567901[_0x162dd6(0x3fa)]??(()=>({})),'createDefaultValue':_0x567901['createDefaultValue']??(_0x22fc20=>_0x22fc20[_0x162dd6(0x3dc)]??null),'normalize':(_0x4b7a51,_0x32a5dc)=>_0x13436a(_0x4b7a51,_0x32a5dc),'validate':(_0x3b2efc,_0x30f8e2)=>{const _0x5a5526=_0x162dd6;var _0x20204c;return _0x3a6a01?((_0x20204c=_0x567901[_0x5a5526(0x2fc)])==null?void 0x0:_0x20204c[_0x5a5526(0x30e)](_0x567901,_0x3b2efc,_0x30f8e2))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x377595,_0x4975f8)=>_0x54a581(_0x377595,_0x4975f8),'filter':(_0x9d73c8,_0x54a161,_0x28ff7a,_0x8999f8)=>_0x255362(_0x9d73c8,_0x54a161,_0x28ff7a,_0x8999f8),'toPlainText':_0x567901[_0x162dd6(0x282)]??(_0x1ad835=>_0x1ad835==null?'':String(_0x1ad835)),'fromPlainText':_0x567901[_0x162dd6(0x48b)]??(_0x4944f6=>_0x13436a(_0x4944f6,{'id':'','name':'','type':_0x1ccc44,'config':{}})),'getCapabilities':()=>({..._0x1c4863,..._0x38a512,'editable':_0x3a6a01&&(_0x38a512[_0x162dd6(0x29a)]??_0x1c4863[_0x162dd6(0x29a)])})};}function _0x544ef0(){const _0x599cc0=_0x5b4d61;return[_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x599cc0(0x218)}),'createDefaultValue':_0x3ab9a2=>_0x3ab9a2['defaultValue']??''}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x38b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x192309=>_0x192309==null||_0x192309===''?null:String(_0x192309),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x51a)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x40730e=>Array[_0x599cc0(0x3bc)](_0x40730e)?_0x40730e[_0x599cc0(0x3ab)](String):_0x40730e==null?[]:[String(_0x40730e)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x599cc0(0x127)}}),'createDefaultValue':_0x5bfedc=>_0x5bfedc[_0x599cc0(0x3dc)]??[]}),_0x45200d(_0x552f17['BaseFieldType']['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0xeef8d,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x599cc0(0x2f3)}),'validate':_0x430246}),_0x45200d(_0x552f17['BaseFieldType']['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x24fab6,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x599cc0(0x2ab)}),'createDefaultValue':_0x286e46=>_0x286e46[_0x599cc0(0x3dc)]??[],'validate':_0x2fb647}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5e6b66=>_0x1b2d78(_0x5e6b66),{'createDefaultConfig':()=>_0x5c6cae(),'validate':_0x46c3a8}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x3a6)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x4a3bdc=>_0x4a3bdc==null?[]:Array['isArray'](_0x4a3bdc)?_0x4a3bdc:[_0x4a3bdc],{'createDefaultValue':_0x5243e3=>_0x5243e3[_0x599cc0(0x3dc)]??[]}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x439)],{},_0x479813=>_0x479813==null||_0x479813===''?null:Number(_0x479813),{'createDefaultConfig':()=>_0x5b5ae6(),'validate':_0x576aad}),_0x45200d(_0x552f17['BaseFieldType']['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x4e3d70=>_0x4e3d70===!0x0||_0x4e3d70===_0x599cc0(0x1b5)||_0x4e3d70===0x1||_0x4e3d70==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x599cc0(0x2c8)}),'createDefaultValue':_0x39a14f=>_0x39a14f[_0x599cc0(0x3dc)]??!0x1,'validate':_0x1318e9=>typeof _0x1318e9==_0x599cc0(0x10b)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x3f2)],{'supportsRelation':!0x0},_0x1a28db,{'createDefaultConfig':()=>({'placeholder':_0x599cc0(0x550)}),'toPlainText':_0x11e1d9=>_0x2ec6c5(_0x11e1d9),'fromPlainText':_0x12d270=>_0x1a28db(_0x12d270)}),_0x45200d(_0x552f17['BaseFieldType'][_0x599cc0(0x2ef)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x195)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x599cc0(0x489)}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Phone'],{'usableAsTitle':!0x0},_0x45dfb5=>_0x45dfb5==null?null:String(_0x45dfb5)[_0x599cc0(0x104)](),{'validate':_0x39938f=>_0x39938f==null||_0x39938f===''||/^\+?[0-9 ()-]{6,20}$/[_0x599cc0(0x1d7)](String(_0x39938f))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x599cc0(0x40c)}}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Email'],{'usableAsTitle':!0x0},_0x56d88c=>_0x56d88c==null?null:String(_0x56d88c)['trim'](),{'validate':_0x4b1fa9=>_0x4b1fa9==null||_0x4b1fa9===''||_0x12cd02(String(_0x4b1fa9))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Progress'],{'usableAsGanttProgress':!0x0},_0x195524=>_0x195524==null||_0x195524===''?null:Number(_0x195524),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x599cc0(0x352),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x2ed7b6,_0x55aa22)=>_0x3c4dd3(_0x2ed7b6,_0x55aa22,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x268)],{},_0x3f658a=>_0x3f658a==null||_0x3f658a===''?null:Number(_0x3f658a),{'createDefaultConfig':()=>({..._0x5b5ae6(),'currencySymbol':'$'}),'validate':_0x576aad}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xb1a4d1=>_0xb1a4d1==null||_0xb1a4d1===''?null:Number(_0xb1a4d1),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0xad34ac,_0x65ea55)=>_0x3c4dd3(_0xad34ac,_0x65ea55,_0x599cc0(0x1f4))}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['RecordLink'],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x21cfb4,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x2cbf1c,_0x2cb348)=>_0x54eb47(_0x2cbf1c,_0x2cb348[_0x599cc0(0x340)][_0x599cc0(0x20a)]===!0x0)}),_0x45200d(_0x552f17['BaseFieldType']['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x3eb)],{'editable':!0x1,'groupable':!0x0},_0x1183ec=>_0x1183ec==null?null:String(_0x1183ec),{'createDefaultConfig':()=>({'provider':_0x599cc0(0x3e7)}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x2a0)],{'editable':!0x1,'groupable':!0x0},_0x7eaa07=>_0x7eaa07==null?null:String(_0x7eaa07),{'createDefaultConfig':()=>({'provider':_0x599cc0(0x3e7)}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x445c81=>_0x1b2d78(_0x445c81),{'createDefaultConfig':()=>_0x5c6cae(),'createDefaultValue':()=>null,'validate':_0x46c3a8}),_0x45200d(_0x552f17['BaseFieldType'][_0x599cc0(0x373)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x19622c=>_0x1b2d78(_0x19622c),{'createDefaultConfig':()=>_0x5c6cae(),'createDefaultValue':()=>null,'validate':_0x46c3a8})];}function _0x5b5ae6(){return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':'none','allowNegative':!0x0};}function _0x5c6cae(){const _0x5ea352=_0x5b4d61;return{'locale':'en-US','pattern':_0x5ea352(0x300),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x5ea352(0x3c8)};}function _0x24fab6(_0x5adaac){const _0xeee2b1=_0x5b4d61;return _0x5adaac==null||_0x5adaac===''?[]:Array['isArray'](_0x5adaac)?_0x5adaac[_0xeee2b1(0x3ab)](String):[String(_0x5adaac)];}function _0x21cfb4(_0x4d7cef){const _0x44c535=_0x5b4d61;return typeof _0x4d7cef==_0x44c535(0x525)?_0x4d7cef:'';}function _0xeef8d(_0x4d398c,_0x520d87){const _0x9bf7f8=_0x5b4d61;return _0x4d398c==null||_0x4d398c===''?_0x520d87['config'][_0x9bf7f8(0x4cf)]===!0x0?[]:null:_0x520d87[_0x9bf7f8(0x340)]['allowMultiple']===!0x0?Array[_0x9bf7f8(0x3bc)](_0x4d398c)?_0x4d398c[_0x9bf7f8(0x3ab)](String):[String(_0x4d398c)]:Array[_0x9bf7f8(0x3bc)](_0x4d398c)?String(_0x4d398c[0x0]??'')||null:String(_0x4d398c);}function _0x430246(_0x42f5a6,_0x34a7b9){const _0x337682=_0x5b4d61;return _0x34a7b9[_0x337682(0x340)][_0x337682(0x4cf)]===!0x0?_0x2fb647(_0x42f5a6):_0x42f5a6==null||_0x42f5a6===''||typeof _0x42f5a6==_0x337682(0x525)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x337682(0x183)};}function _0x2fb647(_0x2d6846){const _0x156490=_0x5b4d61;return _0x2d6846==null||Array[_0x156490(0x3bc)](_0x2d6846)&&_0x2d6846[_0x156490(0x25e)](_0x5051a1=>typeof _0x5051a1==_0x156490(0x525))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x156490(0x53a)};}function _0x46c3a8(_0x5488a6){const _0x2533e7=_0x5b4d61;return _0x5488a6==null||typeof _0x5488a6==_0x2533e7(0x544)&&Number[_0x2533e7(0x326)](_0x5488a6)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2533e7(0x1e7)};}function _0x576aad(_0x51ba5a,_0xe12f9b){const _0x453061=_0x5b4d61;return _0x51ba5a==null||_0x51ba5a===''?{'valid':!0x0}:typeof _0x51ba5a!=_0x453061(0x544)||!Number[_0x453061(0x326)](_0x51ba5a)?{'valid':!0x1,'reason':_0x453061(0x4be)}:_0xe12f9b[_0x453061(0x340)][_0x453061(0x296)]===!0x1&&_0x51ba5a<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function _0x3c4dd3(_0x182a14,_0x3f7a5c,_0xd53b22){const _0xd50746=_0x5b4d61;let _0x57f319=_0x576aad(_0x182a14,_0x3f7a5c);if(!_0x57f319[_0xd50746(0x2d9)]||_0x182a14==null||_0x182a14==='')return _0x57f319;let _0x53c7fc=Number(_0x3f7a5c[_0xd50746(0x340)][_0xd50746(0x3b5)]??_0x3f7a5c['config'][_0xd50746(0x143)]??0x0),_0x483dda=Number(_0x3f7a5c[_0xd50746(0x340)]['max']??_0x3f7a5c[_0xd50746(0x340)]['end']??0x64),_0x107b8f=Number(_0x182a14);return _0x107b8f>=_0x53c7fc&&_0x107b8f<=_0x483dda?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd53b22};}function _0x1a28db(_0x5b7aaa){const _0x56c897=_0x5b4d61;if(_0x5b7aaa==null||_0x5b7aaa==='')return null;if(typeof _0x5b7aaa==_0x56c897(0x434)&&!Array['isArray'](_0x5b7aaa)){let _0x4f1de4=_0x5b7aaa,_0x36d43d=typeof _0x4f1de4[_0x56c897(0x398)]=='string'?_0x4f1de4['text']['trim']():'',_0x2bcf1d=typeof _0x4f1de4[_0x56c897(0x156)]=='string'?_0x4f1de4[_0x56c897(0x156)][_0x56c897(0x104)]():'',_0x5541f2=_0x2a5118(_0x2bcf1d||_0x36d43d);return _0x5541f2?{'text':_0x36d43d||_0x2bcf1d||_0x5541f2,'url':_0x5541f2}:null;}let _0x23d9e6=String(_0x5b7aaa)[_0x56c897(0x104)](),_0x486cd0=_0x2a5118(_0x23d9e6);return _0x486cd0?{'text':_0x23d9e6,'url':_0x486cd0}:null;}function _0x2ec6c5(_0x38342e){const _0x4a13e1=_0x5b4d61;if(_0x38342e==null)return'';if(typeof _0x38342e=='object'&&!Array['isArray'](_0x38342e)){let _0x417782=_0x38342e;return String(_0x417782[_0x4a13e1(0x398)]||_0x417782[_0x4a13e1(0x156)]||'');}return String(_0x38342e);}function _0x2a5118(_0x485e94){const _0x40d6fb=_0x5b4d61;let _0x5019b9=_0x485e94[_0x40d6fb(0x104)]();if(!_0x5019b9)return'';let _0x3b1e1e=/^[a-z][a-z\d+.-]*:/i[_0x40d6fb(0x1d7)](_0x5019b9)?_0x5019b9:_0x5019b9[_0x40d6fb(0x10a)]('//')?_0x40d6fb(0x329)+_0x5019b9:_0x40d6fb(0x2db)+_0x5019b9;try{let _0x2875ee=new URL(_0x3b1e1e);return _0x2875ee[_0x40d6fb(0x3b0)]===_0x40d6fb(0x2ec)||_0x2875ee[_0x40d6fb(0x3b0)]===_0x40d6fb(0x329)?_0x2875ee['href']:'';}catch{return'';}}function _0x12cd02(_0x5a72c4){const _0x3869b5=_0x5b4d61;let _0x26d235=_0x5a72c4[_0x3869b5(0x462)]('@');if(_0x26d235<=0x0||_0x26d235!==_0x5a72c4[_0x3869b5(0x264)]('@'))return!0x1;let _0x432898=_0x5a72c4[_0x3869b5(0x25d)](_0x26d235+0x1);return _0x432898[_0x3869b5(0x396)]('.')&&!_0x5a72c4['includes']('\x20')&&!_0x432898[_0x3869b5(0x10a)]('.')&&!_0x432898[_0x3869b5(0x21c)]('.');}let _0xe24ef3={'table':_0xc9664=>[_0x5b4d61(0x1e1),_0xc9664],'field':(_0x3fcfa9,_0x571138)=>[_0x5b4d61(0x1e1),_0x3fcfa9,_0x5b4d61(0x3ec),_0x571138],'fieldOrder':(_0x1037d5,_0x39bbce)=>[_0x5b4d61(0x1e1),_0x1037d5,_0x5b4d61(0x151),_0x39bbce],'record':(_0x58721f,_0x121049)=>['tables',_0x58721f,_0x5b4d61(0x29e),_0x121049],'cell':(_0x51d42c,_0x481521,_0x310e5b)=>[_0x5b4d61(0x1e1),_0x51d42c,'records',_0x481521,_0x5b4d61(0x4d1),_0x310e5b],'cellData':(_0x4356fc,_0x123dd4,_0x2a5ecb)=>[_0x5b4d61(0x1e1),_0x4356fc,_0x5b4d61(0x4af),String(_0x123dd4),String(_0x2a5ecb)],'attachmentSet':(_0x417ed4,_0x2dbc40)=>[_0x5b4d61(0x1e1),_0x417ed4,_0x5b4d61(0x336),_0x5b4d61(0x399),_0x2dbc40],'attachment':(_0x452213,_0x32156d)=>[_0x5b4d61(0x1e1),_0x452213,_0x5b4d61(0x336),'attachments',_0x32156d],'view':(_0x3ee8e1,_0x58a4f0)=>[_0x5b4d61(0x1e1),_0x3ee8e1,_0x5b4d61(0x2ea),_0x58a4f0],'viewFieldHidden':(_0x4d4b28,_0x4a46dc,_0x2ec6e5)=>['tables',_0x4d4b28,_0x5b4d61(0x2ea),_0x4a46dc,'fieldSettings',_0x2ec6e5,'hidden']};var _0x1b9aeb=class{[_0x5b4d61(0x467)](_0x55d581,_0x5cfa7f){const _0x29e4a1=_0x5b4d61;let _0x41a94b=this['renameFormulaUnitReferences'](_0x55d581,_0x55d581['name'],_0x5cfa7f);return _0x4c4822([this[_0x29e4a1(0x545)]([_0x29e4a1(0x288)],_0x55d581['name'],_0x5cfa7f),..._0x41a94b?[_0x41a94b]:[]]);}[_0x5b4d61(0x537)](_0x2ce7cb,_0x13aca6,_0x1bdd03){const _0x3ab5b4=_0x5b4d61;let _0x9c3a89=Object[_0x3ab5b4(0x4d1)](_0x2ce7cb[_0x3ab5b4(0x1e1)])[_0x3ab5b4(0x4a0)](_0x4a98ac=>Object[_0x3ab5b4(0x4d1)](_0x4a98ac[_0x3ab5b4(0x3ec)])[_0x3ab5b4(0x4a0)](_0x3aa89a=>{const _0x1cb6b8=_0x3ab5b4;var _0x4e617c,_0x46f5e8;if(_0x3aa89a[_0x1cb6b8(0x4cd)]!==_0x552f17['BaseFieldType'][_0x1cb6b8(0x2ef)])return[];let _0x3869e1=String(((_0x4e617c=_0x3aa89a[_0x1cb6b8(0x340)])==null?void 0x0:_0x4e617c[_0x1cb6b8(0x498)])??''),_0x4c6abb=(0x0,_0x216287[_0x1cb6b8(0x2d8)])(_0x3869e1,_0x13aca6,_0x1bdd03);return _0x4c6abb===_0x3869e1?[]:[this[_0x1cb6b8(0x545)]([..._0xe24ef3[_0x1cb6b8(0x420)](_0x4a98ac['id'],_0x3aa89a['id']),_0x1cb6b8(0x340),'formula'],(_0x46f5e8=_0x3aa89a[_0x1cb6b8(0x340)])==null?void 0x0:_0x46f5e8[_0x1cb6b8(0x498)],_0x4c6abb)];}));return _0x9c3a89[_0x3ab5b4(0x46a)]>0x0?_0x4c4822(_0x9c3a89):void 0x0;}[_0x5b4d61(0x314)](_0x3c311b,_0x3f4b22,_0x8f0534=_0x3c311b[_0x5b4d61(0x3ac)][_0x5b4d61(0x46a)]){const _0x290817=_0x5b4d61;let _0x502d7d=(0x0,_0x552f17[_0x290817(0x3d7)])(_0x3f4b22[_0x290817(0x288)],(0x0,_0x552f17[_0x290817(0x469)])(_0x3c311b)['values'](),_0x3f4b22['formulaName']),_0xf6ea25=_0x3f4b22[_0x290817(0x452)]===_0x502d7d?_0x3f4b22:{..._0x3f4b22,'formulaName':_0x502d7d};return _0x4c4822([...this[_0x290817(0x133)](_0x3c311b),_0x552f17[_0x290817(0x4e7)][_0x290817(0x4e3)](_0xe24ef3[_0x290817(0x481)](_0x3f4b22['id']),_0xf6ea25),_0x552f17[_0x290817(0x4e7)][_0x290817(0x4e3)](['tableOrder',_0x8f0534],_0x3f4b22['id'])]);}[_0x5b4d61(0x4a9)](_0x1a3cab,_0x35022c,_0x210b23){const _0x129d7b=_0x5b4d61;let _0x4c8450=_0x1a3cab[_0x129d7b(0x1e1)][_0x35022c];return _0x4c4822([...this[_0x129d7b(0x133)](_0x1a3cab),_0x552f17['JSON1'][_0x129d7b(0x338)]([..._0xe24ef3[_0x129d7b(0x481)](_0x35022c),_0x129d7b(0x288)],_0x4c8450[_0x129d7b(0x288)],_0x210b23)]);}[_0x5b4d61(0x1a6)](_0x4d88ed,_0x1b59a4){const _0x5cef02=_0x5b4d61;let _0x49a0fe=_0x4d88ed['tables'][_0x1b59a4],_0x42bd91=_0x4d88ed[_0x5cef02(0x3ac)][_0x5cef02(0x462)](_0x1b59a4);return _0x4c4822([...this[_0x5cef02(0x133)](_0x4d88ed,new Set([_0x1b59a4])),_0x552f17['JSON1'][_0x5cef02(0x4e6)](_0xe24ef3[_0x5cef02(0x481)](_0x1b59a4),_0x49a0fe),_0x552f17['JSON1']['removeOp']([_0x5cef02(0x3ac),_0x42bd91],_0x1b59a4)]);}[_0x5b4d61(0x3b7)](_0xd9a6d7,_0x4acb2c,_0x2b8c31){const _0x45a2d2=_0x5b4d61;return this[_0x45a2d2(0x31a)](_0xd9a6d7,_0x4acb2c,[_0x2b8c31]);}[_0x5b4d61(0x31a)](_0x449858,_0x126c87,_0x2827b0){const _0x49f362=_0x5b4d61;let _0x3bffde=_0x449858['tables'][_0x126c87],_0x2a3779=_0x2827b0[_0x49f362(0x30a)](_0x23782e=>_0x23782e&&!_0x3bffde[_0x49f362(0x29e)][_0x23782e['id']])[_0x49f362(0x3ab)](_0x1d0b45=>({..._0x1d0b45,'values':{..._0x1d0b45[_0x49f362(0x4d1)],[_0x552f17[_0x49f362(0x316)]]:_0x1d0b45['id']}}));if(!_0x2a3779['length'])return _0x552f17[_0x49f362(0x4e7)][_0x49f362(0x338)]([..._0xe24ef3[_0x49f362(0x481)](_0x126c87),_0x49f362(0x29e)],_0x3bffde[_0x49f362(0x29e)],_0x3bffde[_0x49f362(0x29e)]);let _0x3f331b=new _0x552f17[(_0x49f362(0x4e7))][(_0x49f362(0x385))](),_0x28fdbc=[..._0x2a3779]['sort']((_0x2a3d76,_0x53628d)=>_0x2a3d76['id']<_0x53628d['id']?-0x1:+(_0x2a3d76['id']>_0x53628d['id'])),_0x2fb5fa=[..._0xe24ef3[_0x49f362(0x481)](_0x126c87),_0x49f362(0x29e)];_0x3f331b[_0x49f362(0x13c)](_0x2fb5fa);for(let _0x3de017 of _0x28fdbc)_0x3f331b[_0x49f362(0x253)](_0x3de017['id']),_0x3f331b[_0x49f362(0x1e4)]('i',_0x3de017),_0x3f331b[_0x49f362(0x4ce)]();for(let _0x3250dd=0x0;_0x3250dd<_0x2fb5fa['length'];_0x3250dd+=0x1)_0x3f331b[_0x49f362(0x4ce)]();return _0x4c4822([_0x3f331b['get'](),this['_createRecordOrderOp'](_0x449858,_0x126c87,_0x2a3779)]);}[_0x5b4d61(0x14c)](_0x5cdf69,_0x9cf178,_0x5d9d8e){const _0x3c5ab8=_0x5b4d61;return this[_0x3c5ab8(0x1f6)](_0x5cdf69,_0x9cf178,[_0x5d9d8e]);}[_0x5b4d61(0x1f6)](_0x5104af,_0x250801,_0x2661ba){const _0x14ee2a=_0x5b4d61;let _0x53b149=_0x5104af[_0x14ee2a(0x1e1)][_0x250801],_0x387a65=Array[_0x14ee2a(0x1c0)](new Set(_0x2661ba))[_0x14ee2a(0x30a)](_0x15ce09=>_0x53b149[_0x14ee2a(0x29e)][_0x15ce09]);if(!_0x387a65[_0x14ee2a(0x46a)])return _0x552f17[_0x14ee2a(0x4e7)]['replaceOp']([..._0xe24ef3['table'](_0x250801),_0x14ee2a(0x29e)],_0x53b149[_0x14ee2a(0x29e)],_0x53b149[_0x14ee2a(0x29e)]);let _0x5a2933=new Set(_0x387a65),_0x4aa2fe=_0x230aed(_0x53b149,_0x387a65)[_0x14ee2a(0x3ab)](_0x11f6d6=>this[_0x14ee2a(0x245)](_0x5104af,_0x250801,_0x11f6d6[_0x14ee2a(0x504)],_0x11f6d6[_0x14ee2a(0x400)],''));return _0x4c4822([this['_deleteRecordsBaseOp'](_0x5104af,_0x250801,_0x387a65,_0x5a2933),..._0x4aa2fe]);}[_0x5b4d61(0x54a)](_0xb8da80,_0x4fbae0,_0x244f7d,_0x446b65){const _0x4edd65=_0x5b4d61;let _0x84ca9e=_0xb8da80[_0x4edd65(0x1e1)][_0x244f7d],_0x47fe3a=Array[_0x4edd65(0x1c0)](new Set(_0x446b65))[_0x4edd65(0x30a)](_0x1a2455=>_0x84ca9e[_0x4edd65(0x29e)][_0x1a2455]),_0x5d140b=new Set(_0x47fe3a);return _0x4c4822([new _0x600fcd()[_0x4edd65(0x4fa)](_0xb8da80,this['_deleteRecordsBaseOp'](_0xb8da80,_0x244f7d,_0x47fe3a,_0x5d140b)),..._0x230aed(_0x84ca9e,_0x47fe3a)[_0x4edd65(0x3ab)](_0x34e9a8=>this['updateCell'](_0x4fbae0,_0x244f7d,_0x34e9a8['recordId'],_0x34e9a8['fieldId'],_0x34e9a8[_0x4edd65(0x22e)]??''))]);}[_0x5b4d61(0x4d0)](_0x4f32f9,_0x33d096,_0x5645bb,_0x2905af){const _0x3c9808=_0x5b4d61;let _0x44b836=_0x4f32f9[_0x3c9808(0x1e1)][_0x33d096],_0x2561ca=_0x5645bb[_0x3c9808(0x3ab)](_0x426c5c=>{const _0x2cf348=_0x3c9808;var _0x156487;return{'recordId':_0x426c5c,'index':((_0x156487=_0x44b836[_0x2cf348(0x52a)])==null?void 0x0:_0x156487[_0x2cf348(0x462)](_0x426c5c))??-0x1};})[_0x3c9808(0x30a)](_0x3a03a4=>_0x3a03a4['index']>=0x0)['sort']((_0x553dfb,_0x5c73c7)=>_0x5c73c7[_0x3c9808(0x4a8)]-_0x553dfb['index']);return _0x4c4822([..._0x5645bb['map'](_0x51e1cc=>_0x552f17[_0x3c9808(0x4e7)][_0x3c9808(0x4e6)](_0xe24ef3['record'](_0x33d096,_0x51e1cc),_0x44b836[_0x3c9808(0x29e)][_0x51e1cc])),..._0x2561ca[_0x3c9808(0x3ab)](({recordId:_0x4de080,index:_0x263408})=>_0x552f17[_0x3c9808(0x4e7)][_0x3c9808(0x4e6)]([_0x3c9808(0x1e1),_0x33d096,_0x3c9808(0x52a),_0x263408],_0x4de080)),...this['_deleteAttachmentResources'](_0x44b836,_0x33d096,_0x347881=>{const _0x347829=_0x3c9808;let _0x200e0f=_0x347881['slice'](_0x347881[_0x347829(0x264)]('\x1f')+0x1);return _0x2905af[_0x347829(0x1d8)](_0x200e0f);})]);}[_0x5b4d61(0x44d)](_0x23cef9,_0x17ff64,_0x57ce10,_0x5a2f81){const _0x329acf=_0x5b4d61;return this[_0x329acf(0x3b7)](_0x23cef9,_0x17ff64,{..._0x5a2f81,'values':{..._0x23cef9[_0x329acf(0x1e1)][_0x17ff64][_0x329acf(0x29e)][_0x57ce10][_0x329acf(0x4d1)],..._0x5a2f81[_0x329acf(0x4d1)],[_0x552f17[_0x329acf(0x316)]]:_0x5a2f81['id']}});}[_0x5b4d61(0x177)](_0x260511,_0x14e6f,_0x3b1dd1,_0xaf4382){const _0x26a4d2=_0x5b4d61;let _0x30961d=_0x260511['tables'][_0x14e6f],_0x1feb9c=[..._0xe24ef3[_0x26a4d2(0x54f)](_0x14e6f,_0x3b1dd1),_0x26a4d2(0x12f)],_0x48f9fc=Object['values'](_0x30961d[_0x26a4d2(0x29e)])['map'](_0x2e8e65=>_0x2e8e65['id']===_0x3b1dd1?{..._0x2e8e65,'orderKey':_0xaf4382}:_0x2e8e65)[_0x26a4d2(0x3c2)]((_0x490bb8,_0x5b9748)=>String(_0x490bb8[_0x26a4d2(0x12f)]??_0x490bb8['id'])['localeCompare'](String(_0x5b9748[_0x26a4d2(0x12f)]??_0x5b9748['id'])))[_0x26a4d2(0x3ab)](_0x536c63=>_0x536c63['id']),_0x10f5c4=[..._0xe24ef3[_0x26a4d2(0x481)](_0x14e6f),_0x26a4d2(0x52a)];return _0x4c4822([this[_0x26a4d2(0x545)](_0x1feb9c,_0x30961d[_0x26a4d2(0x29e)][_0x3b1dd1][_0x26a4d2(0x12f)],_0xaf4382),_0x30961d[_0x26a4d2(0x52a)]?_0x552f17[_0x26a4d2(0x4e7)][_0x26a4d2(0x338)](_0x10f5c4,_0x30961d[_0x26a4d2(0x52a)],_0x48f9fc):_0x552f17[_0x26a4d2(0x4e7)][_0x26a4d2(0x4e3)](_0x10f5c4,_0x48f9fc)]);}['updateCell'](_0x44827c,_0x22d513,_0x23b138,_0xef6251,_0x52b684){const _0x347bab=_0x5b4d61;var _0x234af8,_0x4297ae;let _0x7797fa=_0x44827c[_0x347bab(0x1e1)][_0x22d513],_0x48c3c7=_0x33b7e1(_0x7797fa,_0x23b138,_0xef6251)?_0x7797fa:_0x2c21a9(_0x7797fa),_0xc62e43=(_0x234af8=_0x48c3c7[_0x347bab(0x1a0)])==null?void 0x0:_0x234af8[_0x23b138],_0x5ba6c1=(_0x4297ae=_0x48c3c7[_0x347bab(0x4ee)])==null?void 0x0:_0x4297ae[_0xef6251];if(_0xc62e43==null||_0x5ba6c1==null){var _0x27f728;return this['_replaceOptional'](_0xe24ef3['cell'](_0x22d513,_0x23b138,_0xef6251),(_0x27f728=_0x44827c['tables'][_0x22d513])==null||(_0x27f728=_0x27f728['records'][_0x23b138])==null?void 0x0:_0x27f728[_0x347bab(0x4d1)][_0xef6251],_0x52b684);}return this[_0x347bab(0x20c)](_0x44827c,_0x22d513,[{'row':_0xc62e43,'col':_0x5ba6c1,'value':_0x52b684}]);}[_0x5b4d61(0x41f)](_0x38da54,_0x114081,_0x119126){const _0x10126f=_0x5b4d61;let _0x55c497=_0x38da54[_0x10126f(0x1e1)][_0x114081],_0x553243=_0x119126[_0x10126f(0x25e)](_0x910e17=>Object[_0x10126f(0x1bd)](_0x910e17[_0x10126f(0x4d1)])['every'](_0x5e2b9a=>_0x33b7e1(_0x55c497,_0x910e17[_0x10126f(0x504)],_0x5e2b9a)))?_0x55c497:_0x2c21a9(_0x55c497),_0x38ee8f=_0x119126[_0x10126f(0x4a0)](_0xbaf7be=>Object[_0x10126f(0x21f)](_0xbaf7be[_0x10126f(0x4d1)])[_0x10126f(0x4a0)](([_0x5e6a5d,_0x4e00f6])=>{const _0xcd72d5=_0x10126f;var _0x11a422,_0x218810;let _0x388e49=(_0x11a422=_0x553243['rowIndex'])==null?void 0x0:_0x11a422[_0xbaf7be[_0xcd72d5(0x504)]],_0x413480=(_0x218810=_0x553243[_0xcd72d5(0x4ee)])==null?void 0x0:_0x218810[_0x5e6a5d];return _0x388e49==null||_0x413480==null?[]:[{'row':_0x388e49,'col':_0x413480,'value':_0x4e00f6}];})),_0x37811e=_0x119126['flatMap'](_0x1b7271=>Object[_0x10126f(0x21f)](_0x1b7271[_0x10126f(0x375)]??{})[_0x10126f(0x3ab)](([_0x27c519,_0x5d4cd0])=>{const _0x12c1cc=_0x10126f;var _0x26412f;let _0x459148=[..._0xe24ef3[_0x12c1cc(0x54f)](_0x114081,_0x1b7271['recordId']),_0x27c519],_0x5df536=(_0x26412f=_0x38da54[_0x12c1cc(0x1e1)][_0x114081])==null||(_0x26412f=_0x26412f[_0x12c1cc(0x29e)][_0x1b7271[_0x12c1cc(0x504)]])==null?void 0x0:_0x26412f[_0x27c519];return this['_replaceOptional'](_0x459148,_0x5df536,_0x5d4cd0);}));return _0x4c4822([this[_0x10126f(0x20c)](_0x38da54,_0x114081,_0x38ee8f),..._0x37811e]);}[_0x5b4d61(0x20c)](_0x3aaeff,_0x161b98,_0x2b6b99){const _0x58254=_0x5b4d61;let _0x338b1e=_0x3aaeff[_0x58254(0x1e1)][_0x161b98],_0x309c3b=_0x2b6b99[_0x58254(0x25e)](_0x514e3a=>_0x467214(_0x338b1e,_0x514e3a[_0x58254(0x4d6)],_0x514e3a['col']))?_0x338b1e:_0x2c21a9(_0x338b1e),_0x45025d=new Map(),_0x52b69f=_0x2b6b99[_0x58254(0x4a0)](_0x7a5208=>{const _0x267364=_0x58254;var _0x250d98,_0xcd1aba,_0x1ea58f,_0x161d2f;let _0x366ab=(_0x250d98=_0x309c3b[_0x267364(0x43a)])==null?void 0x0:_0x250d98[_0x7a5208[_0x267364(0x1a1)]],_0x371aac=(_0xcd1aba=_0x309c3b['rowId'])==null?void 0x0:_0xcd1aba[_0x7a5208['row']],_0x5e2cfb=_0x366ab?_0x309c3b[_0x267364(0x3ec)][_0x366ab]:void 0x0;if(_0x366ab===_0x552f17['BASE_RECORD_ID_FIELD_ID']||(_0x5e2cfb==null?void 0x0:_0x5e2cfb[_0x267364(0x4cd)])===_0x552f17[_0x267364(0x22d)]['RecordId'])throw Error(_0x267364(0x185));let _0x17bb7b=_0x49a97d(_0x7a5208['value'],_0x5e2cfb),_0x3de2c3=(_0x1ea58f=_0x309c3b['cellData'])==null||(_0x1ea58f=_0x1ea58f[_0x7a5208[_0x267364(0x4d6)]])==null?void 0x0:_0x1ea58f[_0x7a5208['col']],_0x57a609=this['_replaceOptional'](_0xe24ef3[_0x267364(0x4af)](_0x161b98,_0x7a5208[_0x267364(0x4d6)],_0x7a5208['col']),_0x3de2c3,_0x17bb7b);if(!_0x366ab||!_0x371aac)return[_0x57a609];let _0x376bea=(_0x161d2f=_0x309c3b[_0x267364(0x29e)][_0x371aac])==null?void 0x0:_0x161d2f['values'][_0x366ab],_0x24ab6a=(_0x5e2cfb==null?void 0x0:_0x5e2cfb['type'])===_0x552f17[_0x267364(0x22d)][_0x267364(0x3a6)]?_0x1f16ff(_0x7a5208['value']):_0x24a127(_0x7a5208[_0x267364(0x2e2)],_0x17bb7b,_0x5e2cfb,_0x309c3b,_0x371aac),_0x455ca1=[_0x57a609,this[_0x267364(0x545)](_0xe24ef3[_0x267364(0x164)](_0x161b98,_0x371aac,_0x366ab),_0x376bea,_0x24ab6a)];return(_0x5e2cfb==null?void 0x0:_0x5e2cfb[_0x267364(0x4cd)])===_0x552f17['BaseFieldType'][_0x267364(0x3a6)]&&_0x45025d[_0x267364(0x3e9)](_0x4f2639(_0x366ab,_0x371aac),{'recordId':_0x371aac,'fieldId':_0x366ab,'attachments':_0x24ab6a}),_0x455ca1;});return _0x52b69f[_0x58254(0x46a)]?_0x4c4822([..._0x52b69f,...this[_0x58254(0x4d7)](_0x309c3b,_0x161b98,Array['from'](_0x45025d[_0x58254(0x4d1)]()))]):_0x552f17[_0x58254(0x4e7)]['replaceOp']([_0x58254(0x1e1),_0x161b98,_0x58254(0x4af)],_0x309c3b[_0x58254(0x4af)],_0x309c3b[_0x58254(0x4af)]);}[_0x5b4d61(0x51e)](_0x3c7c97,_0xadb324,_0x3664a3){const _0xee2f31=_0x5b4d61;let _0x5c78a9=_0x3c7c97[_0xee2f31(0x1e1)][_0xadb324];if(_0x5c78a9['fields'][_0x3664a3[_0xee2f31(0x420)]['id']]||_0x5c78a9['fieldOrder'][_0xee2f31(0x396)](_0x3664a3[_0xee2f31(0x420)]['id']))return _0x552f17[_0xee2f31(0x4e7)][_0xee2f31(0x338)]([_0xee2f31(0x1e1),_0xadb324,'fieldOrder'],_0x5c78a9[_0xee2f31(0x151)],_0x5c78a9[_0xee2f31(0x151)]);let _0x3085af=Math[_0xee2f31(0x3bd)](0x1,_0x3664a3[_0xee2f31(0x4a8)]??_0x5c78a9[_0xee2f31(0x151)][_0xee2f31(0x46a)]),_0x1c14a1=Object[_0xee2f31(0x4d1)](_0x5c78a9[_0xee2f31(0x2ea)]??{})['flatMap'](_0x20d11e=>{const _0x52721e=_0xee2f31;var _0x358230;if(!_0x20d11e[_0x52721e(0x151)]||_0x20d11e[_0x52721e(0x151)][_0x52721e(0x396)](_0x3664a3[_0x52721e(0x420)]['id']))return[];let _0x25962a=_0x48fc83(((_0x358230=_0x3664a3['viewIndexes'])==null?void 0x0:_0x358230[_0x20d11e['id']])??_0x3085af,_0x20d11e[_0x52721e(0x151)][_0x52721e(0x46a)]);return[_0x552f17[_0x52721e(0x4e7)][_0x52721e(0x4e3)]([..._0xe24ef3[_0x52721e(0x391)](_0xadb324,_0x20d11e['id']),'fieldOrder',_0x25962a],_0x3664a3['field']['id'])];});return _0x4c4822([..._0x3664a3[_0xee2f31(0x420)][_0xee2f31(0x4cd)]===_0x552f17[_0xee2f31(0x22d)][_0xee2f31(0x2ef)]?this[_0xee2f31(0x133)](_0x3c7c97):[],_0x552f17[_0xee2f31(0x4e7)][_0xee2f31(0x4e3)](_0xe24ef3[_0xee2f31(0x420)](_0xadb324,_0x3664a3[_0xee2f31(0x420)]['id']),_0x3664a3[_0xee2f31(0x420)]),_0x552f17[_0xee2f31(0x4e7)][_0xee2f31(0x4e3)](_0xe24ef3[_0xee2f31(0x151)](_0xadb324,_0x3085af),_0x3664a3[_0xee2f31(0x420)]['id']),..._0x1c14a1]);}[_0x5b4d61(0x402)](_0x91cfb4,_0x402cf8,_0x7f7bb,_0x566ea8){const _0x208c55=_0x5b4d61;let _0x15eb5a=_0x91cfb4['tables'][_0x402cf8];if(!_0x15eb5a[_0x208c55(0x3ec)][_0x7f7bb]||_0x15eb5a[_0x208c55(0x3ec)][_0x566ea8[_0x208c55(0x420)]['id']]||_0x15eb5a[_0x208c55(0x151)][_0x208c55(0x396)](_0x566ea8[_0x208c55(0x420)]['id']))return _0x552f17['JSON1'][_0x208c55(0x338)](['tables',_0x402cf8,_0x208c55(0x151)],_0x15eb5a[_0x208c55(0x151)],_0x15eb5a[_0x208c55(0x151)]);let _0x59d737=_0x566ea8[_0x208c55(0x4a8)]??_0x15eb5a[_0x208c55(0x151)][_0x208c55(0x462)](_0x7f7bb)+0x1,_0x5da61d=_0x15eb5a[_0x208c55(0x151)][_0x208c55(0x30a)](_0x49a0d3=>_0x49a0d3!==_0x566ea8[_0x208c55(0x420)]['id']),_0x279920=_0xc6859b(_0x5da61d,_0x566ea8[_0x208c55(0x420)]['id'],_0x59d737),_0x428844=Object[_0x208c55(0x4d1)](_0x15eb5a['views']??{})[_0x208c55(0x4a0)](_0x1a52ba=>{const _0xcc9978=_0x208c55;var _0x1f5a1e,_0x1987a5,_0xc24bae,_0x34bc05;let _0x54a41c=(_0x1f5a1e=_0x1a52ba[_0xcc9978(0x151)])!=null&&_0x1f5a1e[_0xcc9978(0x46a)]?_0x1a52ba[_0xcc9978(0x151)]:_0x5da61d;if(_0x54a41c[_0xcc9978(0x396)](_0x566ea8[_0xcc9978(0x420)]['id']))return[];let _0x27ec75=_0xc6859b(_0x54a41c,_0x566ea8['field']['id'],((_0x1987a5=_0x566ea8[_0xcc9978(0x4a6)])==null?void 0x0:_0x1987a5[_0x1a52ba['id']])??_0x59d737),_0x875fc0=(_0xc24bae=_0x1a52ba[_0xcc9978(0x32b)])==null?void 0x0:_0xc24bae[_0x7f7bb];return[this[_0xcc9978(0x545)]([..._0xe24ef3[_0xcc9978(0x391)](_0x402cf8,_0x1a52ba['id']),_0xcc9978(0x151)],_0x1a52ba['fieldOrder'],_0x27ec75),..._0x875fc0?[this[_0xcc9978(0x545)]([..._0xe24ef3[_0xcc9978(0x391)](_0x402cf8,_0x1a52ba['id']),_0xcc9978(0x32b),_0x566ea8[_0xcc9978(0x420)]['id']],(_0x34bc05=_0x1a52ba[_0xcc9978(0x32b)])==null?void 0x0:_0x34bc05[_0x566ea8[_0xcc9978(0x420)]['id']],_0x875fc0)]:[]];}),_0x474850=Object[_0x208c55(0x4d1)](_0x15eb5a[_0x208c55(0x29e)])[_0x208c55(0x30a)](_0x1e69b5=>Object['prototype'][_0x208c55(0x3d8)][_0x208c55(0x30e)](_0x1e69b5[_0x208c55(0x4d1)],_0x7f7bb))['map'](_0x58617d=>this[_0x208c55(0x545)](_0xe24ef3['cell'](_0x402cf8,_0x58617d['id'],_0x566ea8[_0x208c55(0x420)]['id']),_0x58617d[_0x208c55(0x4d1)][_0x566ea8[_0x208c55(0x420)]['id']],_0x58617d[_0x208c55(0x4d1)][_0x7f7bb]));return _0x4c4822([..._0x566ea8[_0x208c55(0x420)][_0x208c55(0x4cd)]===_0x552f17[_0x208c55(0x22d)][_0x208c55(0x2ef)]?this['_materializeFormulaTableNames'](_0x91cfb4):[],_0x552f17[_0x208c55(0x4e7)][_0x208c55(0x4e3)](_0xe24ef3[_0x208c55(0x420)](_0x402cf8,_0x566ea8['field']['id']),_0x566ea8[_0x208c55(0x420)]),_0x552f17[_0x208c55(0x4e7)][_0x208c55(0x338)]([_0x208c55(0x1e1),_0x402cf8,_0x208c55(0x151)],_0x15eb5a['fieldOrder'],_0x279920),..._0x428844,..._0x474850]);}[_0x5b4d61(0x41a)](_0x3e23a9,_0x35bc63,_0xf2c7b7,_0x3fe5b1){const _0x50e0e6=_0x5b4d61;let _0x3f7c16=_0x3e23a9[_0x50e0e6(0x1e1)][_0x35bc63][_0x50e0e6(0x3ec)][_0xf2c7b7],_0x15b303={..._0x3f7c16,..._0x3fe5b1};Object['keys'](_0x3fe5b1)[_0x50e0e6(0x116)](_0x5af0a6=>{_0x3fe5b1[_0x5af0a6]===void 0x0&&delete _0x15b303[_0x5af0a6];});let _0x585492=_0x2606d2(_0x3e23a9[_0x50e0e6(0x1e1)][_0x35bc63],_0xf2c7b7,_0x3f7c16,_0x15b303);_0x15b303=_0x585492[_0x50e0e6(0x420)];let _0x56f743=_0x552f17[_0x50e0e6(0x4e7)][_0x50e0e6(0x338)](_0xe24ef3['field'](_0x35bc63,_0xf2c7b7),_0x3f7c16,_0x15b303);return _0x15b303[_0x50e0e6(0x4cd)]===_0x552f17[_0x50e0e6(0x22d)][_0x50e0e6(0x2ef)]?_0x4c4822([...this['_materializeFormulaTableNames'](_0x3e23a9),_0x56f743,...this[_0x50e0e6(0x1fe)](_0x3e23a9,_0x35bc63,_0xf2c7b7,_0x15b303)]):_0x4c4822([_0x56f743,..._0x585492[_0x50e0e6(0x3cc)]['length']?[this[_0x50e0e6(0x20c)](_0x3e23a9,_0x35bc63,_0x585492[_0x50e0e6(0x3cc)])]:[]]);}[_0x5b4d61(0x409)](_0x488662,_0x2203b0,_0x2e7a04,_0x1cf865){const _0x38e8fc=_0x5b4d61;return this[_0x38e8fc(0x41a)](_0x488662,_0x2203b0,_0x2e7a04,_0x1cf865);}[_0x5b4d61(0x147)](_0x663c34,_0x19354a,_0x5c68c7){const _0x24e1f7=_0x5b4d61;let _0x4609bd=_0x663c34[_0x24e1f7(0x1e1)][_0x19354a];if(!(_0x4609bd!=null&&_0x4609bd[_0x24e1f7(0x3ec)][_0x5c68c7])||_0x4609bd[_0x24e1f7(0x3a1)]===_0x5c68c7||_0x5c68c7===_0x552f17[_0x24e1f7(0x316)])return _0x552f17['JSON1']['replaceOp']([_0x24e1f7(0x1e1),_0x19354a,_0x24e1f7(0x151)],_0x4609bd==null?void 0x0:_0x4609bd[_0x24e1f7(0x151)],_0x4609bd==null?void 0x0:_0x4609bd['fieldOrder']);let _0x41872c=_0x4609bd[_0x24e1f7(0x151)][_0x24e1f7(0x462)](_0x5c68c7),_0x2da740=Object[_0x24e1f7(0x4d1)](_0x4609bd[_0x24e1f7(0x2ea)])[_0x24e1f7(0x4a0)](_0x3255df=>{const _0x50bcf3=_0x24e1f7;var _0x37f744,_0x80efca,_0xbaa75f,_0x261dc7,_0x4a6960,_0x2126e1,_0x4c4f98;let _0x73f2ff=[],_0x5eaeb0=((_0x37f744=_0x3255df['fieldOrder'])==null?void 0x0:_0x37f744[_0x50bcf3(0x462)](_0x5c68c7))??-0x1;_0x5eaeb0>=0x0&&_0x73f2ff[_0x50bcf3(0x36c)](_0x552f17[_0x50bcf3(0x4e7)][_0x50bcf3(0x4e6)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),'fieldOrder',_0x5eaeb0],_0x5c68c7));let _0x25bc02=(_0x80efca=_0x3255df[_0x50bcf3(0x32b)])==null?void 0x0:_0x80efca[_0x5c68c7];_0x25bc02!==void 0x0&&_0x73f2ff[_0x50bcf3(0x36c)](_0x552f17[_0x50bcf3(0x4e7)][_0x50bcf3(0x4e6)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),_0x50bcf3(0x32b),_0x5c68c7],_0x25bc02));let _0x5b1668=_0x3255df[_0x50bcf3(0x30a)]?{..._0x3255df[_0x50bcf3(0x30a)],'conditions':_0x3255df[_0x50bcf3(0x30a)][_0x50bcf3(0x323)]['filter'](_0x2bf6ba=>_0x2bf6ba[_0x50bcf3(0x400)]!==_0x5c68c7)}:_0x3255df['filter'];_0x5b1668&&_0x5b1668[_0x50bcf3(0x323)]['length']!==((_0xbaa75f=_0x3255df['filter'])==null?void 0x0:_0xbaa75f[_0x50bcf3(0x323)][_0x50bcf3(0x46a)])&&_0x73f2ff[_0x50bcf3(0x36c)](this[_0x50bcf3(0x545)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),'filter'],_0x3255df[_0x50bcf3(0x30a)],_0x5b1668));let _0x198277=(_0x261dc7=_0x3255df['sort'])==null?void 0x0:_0x261dc7[_0x50bcf3(0x30a)](_0x17fea6=>_0x17fea6['fieldId']!==_0x5c68c7);_0x198277&&_0x198277[_0x50bcf3(0x46a)]!==((_0x4a6960=_0x3255df[_0x50bcf3(0x3c2)])==null?void 0x0:_0x4a6960[_0x50bcf3(0x46a)])&&_0x73f2ff[_0x50bcf3(0x36c)](this[_0x50bcf3(0x545)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),_0x50bcf3(0x3c2)],_0x3255df[_0x50bcf3(0x3c2)],_0x198277));let _0x4f513e=(_0x2126e1=_0x3255df[_0x50bcf3(0x2ab)])==null?void 0x0:_0x2126e1['filter'](_0x4de4eb=>_0x4de4eb[_0x50bcf3(0x400)]!==_0x5c68c7);_0x4f513e&&_0x4f513e[_0x50bcf3(0x46a)]!==((_0x4c4f98=_0x3255df['group'])==null?void 0x0:_0x4c4f98[_0x50bcf3(0x46a)])&&_0x73f2ff[_0x50bcf3(0x36c)](this['_replaceOptional']([..._0xe24ef3['view'](_0x19354a,_0x3255df['id']),_0x50bcf3(0x2ab)],_0x3255df['group'],_0x4f513e));let _0x14d8de=_0x1e818b(_0x3255df[_0x50bcf3(0x340)],_0x5c68c7);return JSON[_0x50bcf3(0x306)](_0x14d8de)!==JSON[_0x50bcf3(0x306)](_0x3255df['config'])&&_0x73f2ff[_0x50bcf3(0x36c)](_0x552f17[_0x50bcf3(0x4e7)]['replaceOp']([..._0xe24ef3['view'](_0x19354a,_0x3255df['id']),_0x50bcf3(0x340)],_0x3255df[_0x50bcf3(0x340)],_0x14d8de)),_0x73f2ff;}),_0x1ac1de=Object['values'](_0x4609bd['records'])[_0x24e1f7(0x4a0)](_0x4e84d7=>Object[_0x24e1f7(0x16e)][_0x24e1f7(0x3d8)][_0x24e1f7(0x30e)](_0x4e84d7[_0x24e1f7(0x4d1)],_0x5c68c7)?[_0x552f17[_0x24e1f7(0x4e7)][_0x24e1f7(0x4e6)](_0xe24ef3[_0x24e1f7(0x164)](_0x19354a,_0x4e84d7['id'],_0x5c68c7),_0x4e84d7['values'][_0x5c68c7])]:[]);return _0x4c4822([_0x552f17[_0x24e1f7(0x4e7)][_0x24e1f7(0x4e6)](_0xe24ef3[_0x24e1f7(0x420)](_0x19354a,_0x5c68c7),_0x4609bd[_0x24e1f7(0x3ec)][_0x5c68c7]),_0x552f17['JSON1'][_0x24e1f7(0x4e6)](_0xe24ef3[_0x24e1f7(0x151)](_0x19354a,_0x41872c),_0x5c68c7),..._0x2da740,..._0x1ac1de,...this[_0x24e1f7(0x42e)](_0x4609bd,_0x19354a,_0x161b18=>_0x161b18['startsWith'](_0x5c68c7+'\x1f'))]);}['moveField'](_0x2ad5f4,_0xa48ad3,_0x4500f6,_0x536d0d){const _0x43cbd1=_0x5b4d61;let _0x1cebc6=_0x2ad5f4['tables'][_0xa48ad3][_0x43cbd1(0x151)];if(_0x4500f6===_0x552f17[_0x43cbd1(0x316)]||_0x536d0d[_0x43cbd1(0x4aa)]===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x43cbd1(0x3b8));let _0x39de29=_0x8a1522(_0x1cebc6,_0x4500f6,_0x536d0d);return _0x552f17[_0x43cbd1(0x4e7)][_0x43cbd1(0x338)]([_0x43cbd1(0x1e1),_0xa48ad3,_0x43cbd1(0x151)],_0x1cebc6,_0x39de29);}[_0x5b4d61(0x27e)](_0x58a2ad,_0x7c273d,_0x3c982c,_0x449f35=_0x58a2ad[_0x5b4d61(0x1e1)][_0x7c273d][_0x5b4d61(0x4ef)][_0x5b4d61(0x46a)]){const _0x434cd7=_0x5b4d61;return _0x4c4822([_0x552f17[_0x434cd7(0x4e7)][_0x434cd7(0x4e3)](_0xe24ef3['view'](_0x7c273d,_0x3c982c['id']),_0x3c982c),_0x552f17[_0x434cd7(0x4e7)][_0x434cd7(0x4e3)]([_0x434cd7(0x1e1),_0x7c273d,_0x434cd7(0x4ef),_0x449f35],_0x3c982c['id'])]);}['renameView'](_0xc04768,_0x9609fd,_0xeea236,_0x33dae6){const _0xd4bf97=_0x5b4d61;return _0x552f17[_0xd4bf97(0x4e7)][_0xd4bf97(0x338)]([..._0xe24ef3[_0xd4bf97(0x391)](_0x9609fd,_0xeea236),_0xd4bf97(0x288)],_0xc04768[_0xd4bf97(0x1e1)][_0x9609fd][_0xd4bf97(0x2ea)][_0xeea236][_0xd4bf97(0x288)],_0x33dae6);}[_0x5b4d61(0x3da)](_0xe6d2eb,_0x11dca5,_0xbb2e25){const _0x2fe6ca=_0x5b4d61;let _0x53bd44=_0xe6d2eb['tables'][_0x11dca5],_0x1a4b6f=_0x53bd44[_0x2fe6ca(0x2ea)][_0xbb2e25],_0x130ec3=_0x53bd44['viewOrder'][_0x2fe6ca(0x462)](_0xbb2e25);return _0x4c4822([_0x552f17['JSON1']['removeOp'](_0xe24ef3[_0x2fe6ca(0x391)](_0x11dca5,_0xbb2e25),_0x1a4b6f),_0x552f17[_0x2fe6ca(0x4e7)]['removeOp']([_0x2fe6ca(0x1e1),_0x11dca5,'viewOrder',_0x130ec3],_0xbb2e25)]);}['moveView'](_0x166f58,_0x55cd90,_0xef5d7e,_0x189dab){const _0x4224fe=_0x5b4d61;let _0x593c47=_0x166f58[_0x4224fe(0x1e1)][_0x55cd90]['viewOrder'],_0x573035=_0x8a1522(_0x593c47,_0xef5d7e,{'beforeFieldId':_0x189dab[_0x4224fe(0x173)],'afterFieldId':_0x189dab[_0x4224fe(0x3cf)]});return _0x552f17[_0x4224fe(0x4e7)][_0x4224fe(0x338)]([_0x4224fe(0x1e1),_0x55cd90,'viewOrder'],_0x593c47,_0x573035);}[_0x5b4d61(0x14e)](_0x467ad7,_0x28b53c,_0x163254,_0x151ee6){const _0x47c8ff=_0x5b4d61;let _0x324d79=_0x467ad7[_0x47c8ff(0x1e1)][_0x28b53c][_0x47c8ff(0x2ea)][_0x163254]['config']??{},_0x33da89={..._0x324d79,..._0x151ee6};return Object['keys'](_0x151ee6)['forEach'](_0x400783=>{_0x151ee6[_0x400783]===void 0x0&&delete _0x33da89[_0x400783];}),_0x552f17['JSON1'][_0x47c8ff(0x338)]([..._0xe24ef3[_0x47c8ff(0x391)](_0x28b53c,_0x163254),_0x47c8ff(0x340)],_0x324d79,_0x33da89);}[_0x5b4d61(0x190)](_0x442563,_0x312beb,_0x442a26,_0x54d420){const _0x25c81a=_0x5b4d61;return this[_0x25c81a(0x545)]([..._0xe24ef3[_0x25c81a(0x391)](_0x312beb,_0x442a26),'filter'],_0x442563['tables'][_0x312beb][_0x25c81a(0x2ea)][_0x442a26]['filter'],_0x54d420);}['setViewSort'](_0x3b584b,_0x2e2e03,_0x18bea4,_0x311d08){const _0x333ffd=_0x5b4d61;return this['_replaceOptional']([..._0xe24ef3[_0x333ffd(0x391)](_0x2e2e03,_0x18bea4),_0x333ffd(0x3c2)],_0x3b584b[_0x333ffd(0x1e1)][_0x2e2e03][_0x333ffd(0x2ea)][_0x18bea4][_0x333ffd(0x3c2)],_0x311d08);}[_0x5b4d61(0x475)](_0x469fe2,_0x3d458b,_0x364c2a,_0x501741){const _0x1f6fa9=_0x5b4d61;return this['_replaceOptional']([..._0xe24ef3[_0x1f6fa9(0x391)](_0x3d458b,_0x364c2a),_0x1f6fa9(0x2ab)],_0x469fe2[_0x1f6fa9(0x1e1)][_0x3d458b][_0x1f6fa9(0x2ea)][_0x364c2a][_0x1f6fa9(0x2ab)],_0x501741);}[_0x5b4d61(0x366)](_0x4917eb,_0x8bb659,_0x584d1c,_0x388a39,_0x1d1fdc){const _0x2f6fea=_0x5b4d61;return this[_0x2f6fea(0x1fc)](_0x4917eb,_0x8bb659,_0x584d1c,_0x388a39,{'hidden':!_0x1d1fdc});}[_0x5b4d61(0x3de)](_0x51ec44,_0x18f548,_0x2e59ac,_0x35c536,_0x18e4e3){const _0x5b8e8c=_0x5b4d61;return this[_0x5b8e8c(0x1fc)](_0x51ec44,_0x18f548,_0x2e59ac,_0x35c536,{'width':_0x18e4e3});}[_0x5b4d61(0x509)](_0x167960,_0x53ed7f,_0x6cd8fc,_0x4c2afd,_0x21673c){const _0xa0fa16=_0x5b4d61;let _0x557159=_0x167960['tables'][_0x53ed7f]['views'][_0x6cd8fc],_0x4afc00=_0x8a1522(_0x557159[_0xa0fa16(0x151)]??_0x167960[_0xa0fa16(0x1e1)][_0x53ed7f][_0xa0fa16(0x151)],_0x4c2afd,_0x21673c);return this[_0xa0fa16(0x545)]([..._0xe24ef3[_0xa0fa16(0x391)](_0x53ed7f,_0x6cd8fc),'fieldOrder'],_0x557159[_0xa0fa16(0x151)],_0x4afc00);}[_0x5b4d61(0x1fc)](_0x1e8cbe,_0x987e33,_0x38caf1,_0x328a3f,_0x36e27b){const _0x337cf7=_0x5b4d61;let _0x5df889=_0x1e8cbe[_0x337cf7(0x1e1)][_0x987e33][_0x337cf7(0x2ea)][_0x38caf1]['fieldSettings']??{},_0x38217c={..._0x5df889,[_0x328a3f]:{..._0x5df889[_0x328a3f],..._0x36e27b}};return this['_replaceOptional']([..._0xe24ef3[_0x337cf7(0x391)](_0x987e33,_0x38caf1),_0x337cf7(0x32b)],_0x1e8cbe[_0x337cf7(0x1e1)][_0x987e33][_0x337cf7(0x2ea)][_0x38caf1][_0x337cf7(0x32b)],_0x38217c);}[_0x5b4d61(0x256)](_0x360ad9,_0x41362d,_0xd0ecbc){const _0x23778d=_0x5b4d61;let _0x41c343=_0x360ad9[_0x23778d(0x1e1)][_0x41362d],_0x59f3aa=new Set(_0xd0ecbc['map'](_0x5477b4=>_0x5477b4['id'])),_0x330a8f=[...Object['values'](_0x41c343[_0x23778d(0x29e)])[_0x23778d(0x30a)](_0x4afb54=>!_0x59f3aa[_0x23778d(0x1d8)](_0x4afb54['id'])),..._0xd0ecbc][_0x23778d(0x3c2)]((_0x2a097e,_0x634a1b)=>String(_0x2a097e['orderKey']??_0x2a097e['id'])['localeCompare'](String(_0x634a1b[_0x23778d(0x12f)]??_0x634a1b['id'])))[_0x23778d(0x3ab)](_0x4b36c4=>_0x4b36c4['id']),_0x34cec0=[..._0xe24ef3['table'](_0x41362d),'recordOrder'];return _0x41c343[_0x23778d(0x52a)]?_0x552f17[_0x23778d(0x4e7)]['replaceOp'](_0x34cec0,_0x41c343['recordOrder'],_0x330a8f):_0x552f17[_0x23778d(0x4e7)][_0x23778d(0x4e3)](_0x34cec0,_0x330a8f);}['_materializeFormulaTableNames'](_0x4fb58b,_0x4d483c=new Set()){const _0x3732d2=_0x5b4d61;let _0x3dccf5=(0x0,_0x552f17['createBaseFormulaTableNameMap'])(_0x4fb58b);return Object['values'](_0x4fb58b[_0x3732d2(0x1e1)])[_0x3732d2(0x30a)](_0xc7a6bd=>!_0x4d483c[_0x3732d2(0x1d8)](_0xc7a6bd['id']))['sort']((_0x49ba8a,_0x31ca34)=>_0x49ba8a['id'][_0x3732d2(0x2f1)](_0x31ca34['id']))[_0x3732d2(0x4a0)](_0x2bd52d=>{const _0x3c5965=_0x3732d2;let _0x2ed9d1=_0x3dccf5[_0x3c5965(0x3a4)](_0x2bd52d['id']);return!_0x2ed9d1||_0x2bd52d['formulaName']===_0x2ed9d1?[]:[this[_0x3c5965(0x545)]([..._0xe24ef3[_0x3c5965(0x481)](_0x2bd52d['id']),_0x3c5965(0x452)],_0x2bd52d['formulaName'],_0x2ed9d1)];});}['_setFormulaFieldCells'](_0x45e276,_0x1b536e,_0x266df4,_0xa5dea1){const _0x56998a=_0x5b4d61;var _0x1e70cc,_0x555b88;let _0x32b81d=_0x2c21a9(_0x45e276[_0x56998a(0x1e1)][_0x1b536e]),_0x400752=String(((_0x1e70cc=_0xa5dea1['config'])==null?void 0x0:_0x1e70cc['formula'])??'')[_0x56998a(0x104)](),_0x32e00a=(_0x555b88=_0x32b81d[_0x56998a(0x4ee)])==null?void 0x0:_0x555b88[_0x266df4];if(_0x32e00a==null)return[];let _0x58faa0=_0x32b81d[_0x56998a(0x52a)]??Object[_0x56998a(0x1bd)](_0x32b81d[_0x56998a(0x29e)]),_0x40a771=_0x58faa0['map'](_0x2cecab=>{const _0x11ea2f=_0x56998a;var _0x42875d;return(_0x42875d=_0x32b81d[_0x11ea2f(0x1a0)])==null?void 0x0:_0x42875d[_0x2cecab];})[_0x56998a(0x2f8)](_0x476321=>_0x476321!=null);return _0x58faa0['flatMap'](_0x528ac2=>{const _0xb4d5a8=_0x56998a;var _0x369506,_0x3b1c68;let _0x1f4861=(_0x369506=_0x32b81d[_0xb4d5a8(0x1a0)])==null?void 0x0:_0x369506[_0x528ac2];if(_0x1f4861==null)return[];let _0x473881=(_0x3b1c68=_0x32b81d['cellData'])==null||(_0x3b1c68=_0x3b1c68[_0x1f4861])==null?void 0x0:_0x3b1c68[_0x32e00a],_0x2377f1=_0x400752?_0x1f4861===_0x40a771?{'f':_0x400752,'si':_0x266df4}:{'si':_0x266df4}:{'v':null,'t':null};return[this[_0xb4d5a8(0x545)](_0xe24ef3['cellData'](_0x1b536e,_0x1f4861,_0x32e00a),_0x473881,_0x2377f1)];});}['_setAttachmentResources'](_0x5e15f2,_0x44a6b2,_0x1e3db5){const _0x4d2f5e=_0x5b4d61;var _0x4b8dad;let _0x4f4977=new Map(Object[_0x4d2f5e(0x21f)](((_0x4b8dad=_0x5e15f2[_0x4d2f5e(0x336)])==null?void 0x0:_0x4b8dad[_0x4d2f5e(0x399)])??{})),_0x34b0f0=new Map(),_0xfd537f=new Set(),_0x5daa03=_0x1e3db5[_0x4d2f5e(0x3ab)](({recordId:_0x23c92b,fieldId:_0x38b405,attachments:_0x59a35e})=>{const _0x106279=_0x4d2f5e;var _0x335b87;let _0x5294fd=_0x4f2639(_0x38b405,_0x23c92b),_0xd82b30=_0x59a35e['map']((_0x25b5dc,_0x778f6f)=>String(_0x25b5dc['id']??_0x5294fd+'\x1f'+_0x778f6f));return _0xfd537f['add'](_0x5294fd),_0x4f4977[_0x106279(0x3e9)](_0x5294fd,_0xd82b30),_0x59a35e[_0x106279(0x116)]((_0x2f268d,_0xc43e11)=>{const _0x571140=_0x106279;let _0x3d1181=_0xd82b30[_0xc43e11];_0x34b0f0[_0x571140(0x3e9)](_0x3d1181,{..._0x2f268d,'id':_0x3d1181});}),this[_0x106279(0x545)](_0xe24ef3['attachmentSet'](_0x44a6b2,_0x5294fd),(_0x335b87=_0x5e15f2[_0x106279(0x336)])==null||(_0x335b87=_0x335b87[_0x106279(0x399)])==null?void 0x0:_0x335b87[_0x5294fd],_0xd82b30);}),_0x875e98=Array[_0x4d2f5e(0x1c0)](_0x34b0f0)[_0x4d2f5e(0x3ab)](([_0x3a1f5b,_0x27e32c])=>{const _0x29ed5f=_0x4d2f5e;var _0x458f94;return this[_0x29ed5f(0x545)](_0xe24ef3[_0x29ed5f(0x454)](_0x44a6b2,_0x3a1f5b),(_0x458f94=_0x5e15f2[_0x29ed5f(0x336)])==null||(_0x458f94=_0x458f94['attachments'])==null?void 0x0:_0x458f94[_0x3a1f5b],_0x27e32c);}),_0x5dbb08=new Set(Array[_0x4d2f5e(0x1c0)](_0x4f4977[_0x4d2f5e(0x4d1)]())[_0x4d2f5e(0x4f9)]()),_0x405362=new Set(Array[_0x4d2f5e(0x1c0)](_0xfd537f)['flatMap'](_0x39a736=>{const _0x76530f=_0x4d2f5e;var _0x2e55f4;return((_0x2e55f4=_0x5e15f2['resources'])==null||(_0x2e55f4=_0x2e55f4[_0x76530f(0x399)])==null?void 0x0:_0x2e55f4[_0x39a736])??[];})),_0x4cf25c=Array[_0x4d2f5e(0x1c0)](_0x405362)[_0x4d2f5e(0x4a0)](_0x553acb=>{const _0x57b40b=_0x4d2f5e;var _0x2ad3c5;let _0x9459c1=(_0x2ad3c5=_0x5e15f2[_0x57b40b(0x336)])==null||(_0x2ad3c5=_0x2ad3c5['attachments'])==null?void 0x0:_0x2ad3c5[_0x553acb];return _0x9459c1!==void 0x0&&!_0x5dbb08[_0x57b40b(0x1d8)](_0x553acb)?[_0x552f17[_0x57b40b(0x4e7)][_0x57b40b(0x4e6)](_0xe24ef3[_0x57b40b(0x454)](_0x44a6b2,_0x553acb),_0x9459c1)]:[];});return[..._0x5daa03,..._0x875e98,..._0x4cf25c];}[_0x5b4d61(0x42e)](_0x1258b0,_0x3ef0ad,_0x3d27ea){const _0x2a639b=_0x5b4d61;var _0x24355f;let _0x4bc806=((_0x24355f=_0x1258b0[_0x2a639b(0x336)])==null?void 0x0:_0x24355f[_0x2a639b(0x399)])??{},_0x343be7=Object[_0x2a639b(0x21f)](_0x4bc806)[_0x2a639b(0x30a)](([_0x245cec])=>_0x3d27ea(_0x245cec));if(!_0x343be7[_0x2a639b(0x46a)])return[];let _0x418f87=new Set(Object[_0x2a639b(0x21f)](_0x4bc806)[_0x2a639b(0x30a)](([_0x5b7a69])=>!_0x3d27ea(_0x5b7a69))[_0x2a639b(0x4a0)](([,_0x2e0f47])=>_0x2e0f47)),_0xd688ef=new Set(_0x343be7[_0x2a639b(0x4a0)](([,_0x27a253])=>_0x27a253));return[..._0x343be7[_0x2a639b(0x3ab)](([_0x18fd76,_0xb6a9e8])=>_0x552f17['JSON1']['removeOp'](_0xe24ef3[_0x2a639b(0x4ca)](_0x3ef0ad,_0x18fd76),_0xb6a9e8)),...Array['from'](_0xd688ef)[_0x2a639b(0x4a0)](_0x1d00c8=>{const _0x328387=_0x2a639b;var _0x2b0276;let _0x1b7d93=(_0x2b0276=_0x1258b0[_0x328387(0x336)])==null||(_0x2b0276=_0x2b0276['attachments'])==null?void 0x0:_0x2b0276[_0x1d00c8];return _0x1b7d93!==void 0x0&&!_0x418f87[_0x328387(0x1d8)](_0x1d00c8)?[_0x552f17[_0x328387(0x4e7)][_0x328387(0x4e6)](_0xe24ef3[_0x328387(0x454)](_0x3ef0ad,_0x1d00c8),_0x1b7d93)]:[];})];}[_0x5b4d61(0x545)](_0xd9bcb5,_0x353667,_0x560848){const _0x126893=_0x5b4d61;return _0x353667===void 0x0?_0x552f17[_0x126893(0x4e7)][_0x126893(0x4e3)](_0xd9bcb5,_0x560848):_0x552f17[_0x126893(0x4e7)][_0x126893(0x338)](_0xd9bcb5,_0x353667,_0x560848);}};function _0x2606d2(_0x564f10,_0x475ccb,_0x3707f3,_0x38633e){const _0x1d0ef8=_0x5b4d61;var _0x2e9e34;let _0x3dd009=_0x38633e['type'];if(_0x3707f3[_0x1d0ef8(0x4cd)]!==_0x3dd009||_0x3dd009!==_0x552f17[_0x1d0ef8(0x22d)][_0x1d0ef8(0x38b)]&&_0x3dd009!==_0x552f17['BaseFieldType']['MultiSelect']||_0x4fd9a0(_0x38633e['config'][_0x1d0ef8(0x2f9)]))return{'field':_0x38633e,'patches':[]};let _0x2c97f3=_0x4bb585(_0x3707f3),_0x2fac0d=_0x4bb585(_0x38633e);if(![..._0x2c97f3][_0x1d0ef8(0x166)](_0x29a2a1=>!_0x2fac0d[_0x1d0ef8(0x1d8)](_0x29a2a1)))return{'field':_0x38633e,'patches':[]};let _0x115c54=_0x405f13(_0x38633e['defaultValue'],_0x2fac0d,_0x3dd009),_0x397a5b=_0x384d59(_0x115c54,_0x38633e[_0x1d0ef8(0x3dc)])?_0x38633e:{..._0x38633e,'defaultValue':_0x115c54},_0x153a27=_0x2c21a9(_0x564f10),_0x594a7=(_0x2e9e34=_0x153a27[_0x1d0ef8(0x4ee)])==null?void 0x0:_0x2e9e34[_0x475ccb];return _0x594a7==null?{'field':_0x397a5b,'patches':[]}:{'field':_0x397a5b,'patches':(_0x153a27['recordOrder']??[])[_0x1d0ef8(0x4a0)](_0x5afb1e=>{const _0x2e74f8=_0x1d0ef8;var _0x5ac280,_0x2ccc6b;let _0x218661=(_0x5ac280=_0x153a27[_0x2e74f8(0x1a0)])==null?void 0x0:_0x5ac280[_0x5afb1e],_0x5cce9f=(_0x2ccc6b=_0x153a27[_0x2e74f8(0x29e)][_0x5afb1e])==null?void 0x0:_0x2ccc6b[_0x2e74f8(0x4d1)][_0x475ccb],_0x14994a=_0x405f13(_0x5cce9f,_0x2fac0d,_0x3dd009);return _0x218661==null||_0x384d59(_0x14994a,_0x5cce9f)?[]:[{'row':_0x218661,'col':_0x594a7,'value':_0x14994a??null}];})};}function _0x4fd9a0(_0x1c4075){const _0x5577ab=_0x5b4d61;return typeof _0x1c4075=='object'&&!!_0x1c4075&&_0x5577ab(0x4cd)in _0x1c4075&&_0x1c4075[_0x5577ab(0x4cd)]===_0x5577ab(0x420);}function _0x4bb585(_0x2860db){const _0x5581cb=_0x5b4d61;var _0x4bdee3;let _0x303fa6=Array[_0x5581cb(0x3bc)]((_0x4bdee3=_0x2860db[_0x5581cb(0x340)])==null?void 0x0:_0x4bdee3['options'])?_0x2860db[_0x5581cb(0x340)][_0x5581cb(0x3ef)]:[];return new Set(_0x303fa6['flatMap'](_0x361b6a=>{const _0x855497=_0x5581cb;if(!_0x361b6a||typeof _0x361b6a!=_0x855497(0x434)||!('id'in _0x361b6a))return[];let _0x18bcec=String(_0x361b6a['id']);return _0x18bcec?[_0x18bcec]:[];}));}function _0x405f13(_0xb77ef0,_0x304e91,_0x40cb4b){const _0x35f084=_0x5b4d61;if(_0xb77ef0==null||_0xb77ef0==='')return _0xb77ef0;if(_0x40cb4b===_0x552f17[_0x35f084(0x22d)][_0x35f084(0x38b)])return _0x304e91[_0x35f084(0x1d8)](String(_0xb77ef0))?_0xb77ef0:null;let _0x2b7d39=Array['isArray'](_0xb77ef0)?_0xb77ef0[_0x35f084(0x3ab)](String):String(_0xb77ef0)[_0x35f084(0x1a2)](',')[_0x35f084(0x3ab)](_0x27dfdc=>_0x27dfdc[_0x35f084(0x104)]())['filter'](Boolean),_0x5db757=_0x2b7d39[_0x35f084(0x30a)](_0x5562c4=>_0x304e91['has'](_0x5562c4));return _0x5db757[_0x35f084(0x46a)]===_0x2b7d39['length']?_0xb77ef0:Array[_0x35f084(0x3bc)](_0xb77ef0)?_0x5db757:String(_0xb77ef0)[_0x35f084(0x396)](',')?_0x5db757[_0x35f084(0x53f)](','):_0x5db757[0x0]??[];}function _0x384d59(_0x52cc5a,_0x1ed0d7){const _0x48dc1d=_0x5b4d61;return JSON[_0x48dc1d(0x306)](_0x52cc5a)===JSON[_0x48dc1d(0x306)](_0x1ed0d7);}function _0x33b7e1(_0x19437a,_0x34fe47,_0x5565ce){const _0x583ebf=_0x5b4d61;var _0x704c2b,_0x1907ab,_0x1f38d3,_0x4dd94f;let _0x1aa98a=(_0x704c2b=_0x19437a[_0x583ebf(0x1a0)])==null?void 0x0:_0x704c2b[_0x34fe47],_0x3f9d64=(_0x1907ab=_0x19437a[_0x583ebf(0x4ee)])==null?void 0x0:_0x1907ab[_0x5565ce];return _0x1aa98a!=null&&_0x3f9d64!=null&&((_0x1f38d3=_0x19437a['rowId'])==null?void 0x0:_0x1f38d3[_0x1aa98a])===_0x34fe47&&((_0x4dd94f=_0x19437a[_0x583ebf(0x43a)])==null?void 0x0:_0x4dd94f[_0x3f9d64])===_0x5565ce&&_0x19437a[_0x583ebf(0x4af)]!=null;}function _0x467214(_0x2f52e9,_0x320ee8,_0x10d0ed){const _0x5ca249=_0x5b4d61;var _0x16d93d,_0x958f93;return((_0x16d93d=_0x2f52e9['rowId'])==null?void 0x0:_0x16d93d[_0x320ee8])!=null&&((_0x958f93=_0x2f52e9[_0x5ca249(0x43a)])==null?void 0x0:_0x958f93[_0x10d0ed])!=null&&_0x2f52e9[_0x5ca249(0x4af)]!=null;}function _0x8a1522(_0x4252cd,_0x42b3eb,_0x460f22){const _0x4586f5=_0x5b4d61;let _0x3a5e23=_0x4252cd[_0x4586f5(0x30a)](_0x332b37=>_0x332b37!==_0x42b3eb),_0x4a723a=_0x460f22[_0x4586f5(0x4aa)]?_0x3a5e23[_0x4586f5(0x462)](_0x460f22['beforeFieldId']):_0x460f22[_0x4586f5(0x337)]?_0x3a5e23[_0x4586f5(0x462)](_0x460f22[_0x4586f5(0x337)])+0x1:_0x3a5e23['length'];return _0x3a5e23[_0x4586f5(0x18c)](_0x4a723a<0x0?_0x3a5e23[_0x4586f5(0x46a)]:_0x4a723a,0x0,_0x42b3eb),_0x3a5e23;}function _0xc6859b(_0x4bfdf2,_0x4bccb7,_0x378ab1){const _0x2bb3ee=_0x5b4d61;let _0x3ea177=_0x4bfdf2['filter'](_0x5dabce=>_0x5dabce!==_0x4bccb7);return _0x3ea177['splice'](_0x48fc83(_0x378ab1,_0x3ea177[_0x2bb3ee(0x46a)]),0x0,_0x4bccb7),_0x3ea177;}function _0x1e818b(_0x3d3343,_0x1a354c,_0x5f05d3){const _0x519efd=_0x5b4d61;if(Array[_0x519efd(0x3bc)](_0x3d3343))return _0x5f05d3===_0x519efd(0x301)?_0x3d3343[_0x519efd(0x30a)](_0x5e3205=>_0x5e3205!==_0x1a354c):_0x3d3343[_0x519efd(0x4a0)](_0x5ee4f7=>{const _0x4f74c1=_0x519efd;if(_0x5ee4f7&&typeof _0x5ee4f7=='object'&&!Array[_0x4f74c1(0x3bc)](_0x5ee4f7)&&_0x5ee4f7[_0x4f74c1(0x400)]===_0x1a354c)return[];let _0xf53e06=_0x1e818b(_0x5ee4f7,_0x1a354c);return _0xf53e06===void 0x0?[]:[_0xf53e06];});if(!_0x3d3343||typeof _0x3d3343!=_0x519efd(0x434))return _0x5f05d3!=null&&_0x5f05d3[_0x519efd(0x21c)](_0x519efd(0x50d))&&_0x3d3343===_0x1a354c?void 0x0:_0x3d3343;let _0x367c91=_0x3d3343;if(_0x367c91[_0x519efd(0x400)]!==_0x1a354c)return Object[_0x519efd(0x1b2)](Object['entries'](_0x367c91)[_0x519efd(0x4a0)](([_0x5af547,_0x117e16])=>{const _0x3b5c21=_0x519efd;if(_0x5af547===_0x1a354c&&_0x5f05d3===_0x3b5c21(0x32b))return[];let _0x3c727b=_0x1e818b(_0x117e16,_0x1a354c,_0x5af547);return _0x3c727b===void 0x0?[]:[[_0x5af547,_0x3c727b]];}));}function _0x48fc83(_0x54b70d,_0x8b56ff){const _0x291169=_0x5b4d61;return Math[_0x291169(0x3bd)](0x0,Math[_0x291169(0x3b5)](_0x54b70d,_0x8b56ff));}function _0x1a2235(_0x40050f){'@babel/helpers - typeof';const _0x51efe=_0x5b4d61;return _0x1a2235=typeof Symbol=='function'&&typeof Symbol[_0x51efe(0x3b4)]=='symbol'?function(_0xf71f66){return typeof _0xf71f66;}:function(_0x5e22a1){const _0x594be0=_0x51efe;return _0x5e22a1&&typeof Symbol==_0x594be0(0x152)&&_0x5e22a1[_0x594be0(0x52b)]===Symbol&&_0x5e22a1!==Symbol['prototype']?_0x594be0(0xfe):typeof _0x5e22a1;},_0x1a2235(_0x40050f);}function _0x5c2f8a(_0x6accb7,_0x3362c4){const _0x253a5d=_0x5b4d61;if(_0x1a2235(_0x6accb7)!='object'||!_0x6accb7)return _0x6accb7;var _0x394329;if(typeof Symbol<'u'&&(_0x394329=_0x6accb7[Symbol['toPrimitive']])!==void 0x0){var _0x3fe5a9=_0x394329[_0x253a5d(0x30e)](_0x6accb7,_0x3362c4||_0x253a5d(0x502));if(_0x1a2235(_0x3fe5a9)!=_0x253a5d(0x434))return _0x3fe5a9;throw TypeError(_0x253a5d(0x2ca));}return(_0x3362c4===_0x253a5d(0x525)?String:Number)(_0x6accb7);}function _0x4e47e5(_0x59185d){const _0xfe5959=_0x5b4d61;var _0x33bad2=_0x5c2f8a(_0x59185d,_0xfe5959(0x525));return _0x1a2235(_0x33bad2)=='symbol'?_0x33bad2:_0x33bad2+'';}function _0x53a461(_0x226194,_0x5cea35,_0x268235){const _0x3d9005=_0x5b4d61;return(_0x5cea35=_0x4e47e5(_0x5cea35))in _0x226194?Object[_0x3d9005(0x257)](_0x226194,_0x5cea35,{'value':_0x268235,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x226194[_0x5cea35]=_0x268235,_0x226194;}let _0x430fbe=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x28b));var _0x3b8919=class extends _0x552f17['Disposable']{constructor(..._0x369a7e){super(..._0x369a7e),_0x53a461(this,'_plugins',new Map());}[_0x5b4d61(0x30f)](_0x3f0c8a){const _0xb15288=_0x5b4d61;return this[_0xb15288(0x1b3)]['set'](_0x3f0c8a['type'],_0x3f0c8a),(0x0,_0x552f17[_0xb15288(0x404)])(()=>this[_0xb15288(0x1b3)]['delete'](_0x3f0c8a['type']));}[_0x5b4d61(0x3a4)](_0x4fe266){const _0x86a70a=_0x5b4d61;let _0x1d5484=this['_plugins']['get'](_0x4fe266);if(!_0x1d5484)throw Error(_0x86a70a(0x503)+_0x4fe266+_0x86a70a(0x29c));return _0x1d5484;}['getTypePlugin'](_0x2b5f30){const _0xf3c302=_0x5b4d61;return this['_plugins'][_0xf3c302(0x3a4)](_0x2b5f30);}[_0x5b4d61(0x2e6)](){const _0x460103=_0x5b4d61;return Array[_0x460103(0x1c0)](this[_0x460103(0x1b3)]['values']());}},_0x2d1d00=class{constructor(_0x483790){const _0x1336b8=_0x5b4d61;this[_0x1336b8(0x36f)]=_0x483790,_0x53a461(this,_0x1336b8(0x4cd),_0x4b2dcb[_0x1336b8(0x2af)][_0x1336b8(0x3c6)]),_0x53a461(this,_0x1336b8(0x2e5),_0x4b2dcb['UnitAction']['Comment']),_0x53a461(this,_0x1336b8(0x459),_0x552f17[_0x1336b8(0x2b6)][_0x1336b8(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x1336b8(0x2e5)]+'_'+_0x483790;}},_0x4f6c00=class{constructor(_0x4e9ae6){const _0x16bb00=_0x5b4d61;this['unitId']=_0x4e9ae6,_0x53a461(this,_0x16bb00(0x4cd),_0x4b2dcb[_0x16bb00(0x2af)][_0x16bb00(0x3c6)]),_0x53a461(this,_0x16bb00(0x2e5),_0x4b2dcb[_0x16bb00(0x370)]['Copy']),_0x53a461(this,_0x16bb00(0x459),_0x552f17[_0x16bb00(0x2b6)][_0x16bb00(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x16bb00(0x2e2),!0x0),this['id']=this[_0x16bb00(0x4cd)]+'.'+this['subType']+'_'+_0x4e9ae6;}},_0x47c2c0=class{constructor(_0x11c3a3){const _0x27b0f3=_0x5b4d61;this[_0x27b0f3(0x36f)]=_0x11c3a3,_0x53a461(this,_0x27b0f3(0x4cd),_0x4b2dcb[_0x27b0f3(0x2af)]['Base']),_0x53a461(this,_0x27b0f3(0x2e5),_0x4b2dcb[_0x27b0f3(0x370)][_0x27b0f3(0x521)]),_0x53a461(this,'status',_0x552f17['PermissionStatus']['INIT']),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x27b0f3(0x4cd)]+'.'+this[_0x27b0f3(0x2e5)]+'_'+_0x11c3a3;}},_0x56449c=class{constructor(_0x137e72){const _0x91ed4f=_0x5b4d61;this[_0x91ed4f(0x36f)]=_0x137e72,_0x53a461(this,_0x91ed4f(0x4cd),_0x4b2dcb[_0x91ed4f(0x2af)][_0x91ed4f(0x3c6)]),_0x53a461(this,_0x91ed4f(0x2e5),_0x4b2dcb['UnitAction'][_0x91ed4f(0x3f0)]),_0x53a461(this,'status',_0x552f17[_0x91ed4f(0x2b6)][_0x91ed4f(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x91ed4f(0x2e2),!0x0),this['id']=this[_0x91ed4f(0x4cd)]+'.'+this[_0x91ed4f(0x2e5)]+'_'+_0x137e72;}},_0x4b771b=class{constructor(_0x29017c,_0x158020){const _0x519373=_0x5b4d61;this[_0x519373(0x36f)]=_0x29017c,this[_0x519373(0x479)]=_0x158020,_0x53a461(this,_0x519373(0x4cd),_0x4b2dcb[_0x519373(0x2af)][_0x519373(0xfb)]),_0x53a461(this,_0x519373(0x2e5),_0x4b2dcb[_0x519373(0x370)][_0x519373(0x521)]),_0x53a461(this,_0x519373(0x459),_0x552f17['PermissionStatus'][_0x519373(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x519373(0x2e2),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x29017c+'_'+_0x158020;}},_0x2e35d0=class{constructor(_0x402728,_0x457133){const _0x50427c=_0x5b4d61;this[_0x50427c(0x36f)]=_0x402728,this[_0x50427c(0x479)]=_0x457133,_0x53a461(this,_0x50427c(0x4cd),_0x4b2dcb[_0x50427c(0x2af)][_0x50427c(0x2ce)]),_0x53a461(this,_0x50427c(0x2e5),_0x4b2dcb[_0x50427c(0x370)][_0x50427c(0x521)]),_0x53a461(this,_0x50427c(0x459),_0x552f17[_0x50427c(0x2b6)][_0x50427c(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x50427c(0x4cd)]+'.'+this[_0x50427c(0x2e5)]+'_'+_0x402728+'_'+_0x457133;}},_0x524a17=class{constructor(_0x3c46b4,_0x2c38fc){const _0x10c814=_0x5b4d61;this[_0x10c814(0x36f)]=_0x3c46b4,this[_0x10c814(0x479)]=_0x2c38fc,_0x53a461(this,_0x10c814(0x4cd),_0x4b2dcb['UnitObject'][_0x10c814(0x142)]),_0x53a461(this,'subType',_0x4b2dcb['UnitAction']['Edit']),_0x53a461(this,_0x10c814(0x459),_0x552f17[_0x10c814(0x2b6)][_0x10c814(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x10c814(0x4cd)]+'.'+this[_0x10c814(0x2e5)]+'_'+_0x3c46b4+'_'+_0x2c38fc;}},_0x392e0e=class{constructor(_0x248b36,_0x58bba6){const _0x412093=_0x5b4d61;this[_0x412093(0x36f)]=_0x248b36,this[_0x412093(0x479)]=_0x58bba6,_0x53a461(this,_0x412093(0x4cd),_0x4b2dcb[_0x412093(0x2af)][_0x412093(0x106)]),_0x53a461(this,_0x412093(0x2e5),_0x4b2dcb[_0x412093(0x370)][_0x412093(0x521)]),_0x53a461(this,_0x412093(0x459),_0x552f17['PermissionStatus'][_0x412093(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x412093(0x4cd)]+'.'+this['subType']+'_'+_0x248b36+'_'+_0x58bba6;}},_0x21b160=class{constructor(_0x563a0c,_0x187ecc){const _0x1a1dc8=_0x5b4d61;this[_0x1a1dc8(0x36f)]=_0x563a0c,this[_0x1a1dc8(0x479)]=_0x187ecc,_0x53a461(this,_0x1a1dc8(0x4cd),_0x4b2dcb[_0x1a1dc8(0x2af)]['BaseView']),_0x53a461(this,_0x1a1dc8(0x2e5),_0x4b2dcb[_0x1a1dc8(0x370)][_0x1a1dc8(0x521)]),_0x53a461(this,'status',_0x552f17['PermissionStatus'][_0x1a1dc8(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x1a1dc8(0x2e2),!0x0),this['id']=this[_0x1a1dc8(0x4cd)]+'.'+this[_0x1a1dc8(0x2e5)]+'_'+_0x563a0c+'_'+_0x187ecc;}};let _0x5a9423=[_0x4b2dcb[_0x5b4d61(0x370)][_0x5b4d61(0x521)],_0x4b2dcb[_0x5b4d61(0x370)][_0x5b4d61(0x2d2)],_0x4b2dcb['UnitAction'][_0x5b4d61(0x3f0)],_0x4b2dcb['UnitAction'][_0x5b4d61(0x419)]],_0x5743e3=new Set([_0x4b2dcb[_0x5b4d61(0x2af)]['Base'],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x106)],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x2ce)],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x142)],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x4e5)],_0x4b2dcb['UnitObject']['BaseDashboard']]),_0xce8fd8=_0x5b4d61(0x41c),_0x4685e1=_0x5b4d61(0x3a8),_0x19cd95='record/',_0x1ad3de=_0x5b4d61(0x4f5),_0x2dc479=_0x5b4d61(0x1f2);function _0x4da25b(_0x41fc25){return''+_0xce8fd8+encodeURIComponent(_0x41fc25);}function _0x33eab9(_0x149515,_0x306f31){return''+_0x4685e1+encodeURIComponent(_0x149515)+'/'+encodeURIComponent(_0x306f31);}function _0x398605(_0xfd3cc9,_0x4284dc){return''+_0x19cd95+encodeURIComponent(_0xfd3cc9)+'/'+encodeURIComponent(_0x4284dc);}function _0x4dab58(_0x78bdb,_0x20b86b){return''+_0x1ad3de+encodeURIComponent(_0x78bdb)+'/'+encodeURIComponent(_0x20b86b);}function _0x1aba91(_0x4af1b3){return''+_0x2dc479+encodeURIComponent(_0x4af1b3);}function _0x23ad78(_0x2909db,_0x4a56d5,_0x48fa8c){const _0x1eb7a5=_0x5b4d61;if(_0x4a56d5===_0x2909db)switch(_0x48fa8c){case _0x4b2dcb['UnitAction'][_0x1eb7a5(0x521)]:return new _0x47c2c0(_0x2909db);case _0x4b2dcb['UnitAction'][_0x1eb7a5(0x2d2)]:return new _0x4f6c00(_0x2909db);case _0x4b2dcb['UnitAction'][_0x1eb7a5(0x3f0)]:return new _0x56449c(_0x2909db);case _0x4b2dcb[_0x1eb7a5(0x370)][_0x1eb7a5(0x419)]:return new _0x2d1d00(_0x2909db);default:throw Error(_0x1eb7a5(0x361)+_0x48fa8c);}if(_0x48fa8c!==_0x4b2dcb['UnitAction']['Edit'])throw Error(_0x1eb7a5(0x2d4)+_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0xce8fd8))return new _0x392e0e(_0x2909db,_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0x4685e1))return new _0x2e35d0(_0x2909db,_0x4a56d5);if(_0x4a56d5['startsWith'](_0x19cd95))return new _0x524a17(_0x2909db,_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0x1ad3de))return new _0x21b160(_0x2909db,_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0x2dc479))return new _0x4b771b(_0x2909db,_0x4a56d5);throw Error(_0x1eb7a5(0xf6)+_0x4a56d5);}function _0x25ff75(_0x574102,_0x7e0f86,_0x5a2b56,_0x23b111){const _0x38de1f=_0x5b4d61;var _0x128d35;return((_0x128d35=_0x574102[_0x38de1f(0x217)](_0x23ad78(_0x7e0f86,_0x5a2b56,_0x23b111)['id']))==null?void 0x0:_0x128d35[_0x38de1f(0x2e2)])??!0x0;}function _0x5bc309(_0x44e655,_0x3d6d39,_0x49b7c6,_0x206323,_0x36622a){const _0x4949b4=_0x5b4d61;let _0x28c9dc=_0x23ad78(_0x3d6d39,_0x49b7c6,_0x206323);_0x44e655['getPermissionPoint'](_0x28c9dc['id'])||_0x44e655[_0x4949b4(0x3e2)](_0x28c9dc),_0x44e655[_0x4949b4(0x423)](_0x28c9dc['id'],_0x36622a);}function _0x28c3d1(_0x1c95ea,_0x106346,_0x5c5476,_0x5143ba){const _0x2ca5e5=_0x5b4d61;_0x1c95ea[_0x2ca5e5(0x1ab)](_0x23ad78(_0x106346,_0x5c5476,_0x5143ba)['id']);}function _0x333239(_0x452c29,_0x21d205){const _0x1a6ae2=_0x5b4d61;_0x452c29[_0x1a6ae2(0x1cd)]()[_0x1a6ae2(0x116)]((_0x3be5fd,_0x11e007)=>{_0x3be5fd['subscribe'](_0x4e5d33=>{const _0x8858de=_0x152e;_0x5743e3[_0x8858de(0x1d8)](_0x4e5d33['type'])&&_0x8858de(0x36f)in _0x4e5d33&&_0x4e5d33[_0x8858de(0x36f)]===_0x21d205&&_0x452c29[_0x8858de(0x1ab)](_0x11e007);})['unsubscribe']();});}function _0x2bb373(_0x12c0d9,_0x49ee7a,_0x2bb00e){const _0x348dac=_0x5b4d61;return _0x25ff75(_0x12c0d9,_0x49ee7a,_0x49ee7a,_0x4b2dcb[_0x348dac(0x370)][_0x348dac(0x521)])&&Array['from'](_0x2bb00e)[_0x348dac(0x25e)](_0x1e498d=>_0x25ff75(_0x12c0d9,_0x49ee7a,_0x1e498d,_0x4b2dcb[_0x348dac(0x370)][_0x348dac(0x521)]));}function _0x8293b1(_0x1ae89f,_0x22d300){return function(_0x56095b,_0x529dc0){_0x22d300(_0x56095b,_0x529dc0,_0x1ae89f);};}function _0x3a99e3(_0x308ab8,_0x5ae6c8,_0x4d7666,_0x466f69){const _0x6f5cae=_0x5b4d61;var _0xc34f59=arguments[_0x6f5cae(0x46a)],_0x2d3ab7=_0xc34f59<0x3?_0x5ae6c8:_0x466f69===null?_0x466f69=Object['getOwnPropertyDescriptor'](_0x5ae6c8,_0x4d7666):_0x466f69,_0x282e16;if(typeof Reflect==_0x6f5cae(0x434)&&typeof Reflect[_0x6f5cae(0x10f)]==_0x6f5cae(0x152))_0x2d3ab7=Reflect[_0x6f5cae(0x10f)](_0x308ab8,_0x5ae6c8,_0x4d7666,_0x466f69);else{for(var _0x2ceb43=_0x308ab8['length']-0x1;_0x2ceb43>=0x0;_0x2ceb43--)(_0x282e16=_0x308ab8[_0x2ceb43])&&(_0x2d3ab7=(_0xc34f59<0x3?_0x282e16(_0x2d3ab7):_0xc34f59>0x3?_0x282e16(_0x5ae6c8,_0x4d7666,_0x2d3ab7):_0x282e16(_0x5ae6c8,_0x4d7666))||_0x2d3ab7);}return _0xc34f59>0x3&&_0x2d3ab7&&Object[_0x6f5cae(0x257)](_0x5ae6c8,_0x4d7666,_0x2d3ab7),_0x2d3ab7;}let _0x4c31db=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x297)),_0x142ec6=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(_0x57fa48,_0x113dab){const _0x3d594e=_0x5b4d61;super(),this['_permissionService']=_0x57fa48,this['_instanceService']=_0x113dab,_0x53a461(this,'_basePermissions',new Map()),_0x53a461(this,_0x3d594e(0x158),new Map()),_0x53a461(this,_0x3d594e(0x136),new Map()),_0x53a461(this,_0x3d594e(0x4c2),new Map()),_0x53a461(this,'_viewPermissions',new Map()),_0x53a461(this,_0x3d594e(0x389),new Map()),this[_0x3d594e(0x313)](this[_0x3d594e(0x47f)][_0x3d594e(0x241)](_0x552f17[_0x3d594e(0x349)][_0x3d594e(0x1e2)])[_0x3d594e(0x189)](_0xbec31b=>this[_0x3d594e(0x4cb)](_0xbec31b['getUnitId']())));}[_0x5b4d61(0x474)](_0x387086){const _0x5adb8f=_0x5b4d61;var _0x400a6d;return this[_0x5adb8f(0x3ce)](_0x387086,[])&&(((_0x400a6d=this[_0x5adb8f(0x3cb)][_0x5adb8f(0x3a4)](_0x387086))==null?void 0x0:_0x400a6d['createTable'])??!0x0);}[_0x5b4d61(0x4dc)](_0x3ca0da){const _0x3e4336=_0x5b4d61;return this[_0x3e4336(0x52e)](_0x3ca0da);}[_0x5b4d61(0x15d)](_0x42aec8){const _0x33e084=_0x5b4d61;var _0x4e0570;return this[_0x33e084(0x52e)](_0x42aec8)&&(((_0x4e0570=this[_0x33e084(0x158)][_0x33e084(0x3a4)](_0x42aec8))==null?void 0x0:_0x4e0570[_0x33e084(0x1d6)])??!0x0);}[_0x5b4d61(0x19f)](_0x3e5c96){const _0x1f77b3=_0x5b4d61;var _0x1b2aa8;return this[_0x1f77b3(0x52e)](_0x3e5c96)&&(((_0x1b2aa8=this[_0x1f77b3(0x158)]['get'](_0x3e5c96))==null?void 0x0:_0x1b2aa8[_0x1f77b3(0x51e)])??!0x0);}[_0x5b4d61(0x4e8)](_0x2410bf,_0x3b2a54){const _0x281301=_0x5b4d61;var _0xfba0df;return this[_0x281301(0x52e)](_0x2410bf)&&this['_canEdit'](_0x2410bf,[_0x33eab9(_0x2410bf,_0x3b2a54)])&&(((_0xfba0df=this[_0x281301(0x136)][_0x281301(0x3a4)](_0x8557a9(_0x2410bf,_0x3b2a54)))==null?void 0x0:_0xfba0df[_0x281301(0x2aa)])??!0x0);}[_0x5b4d61(0x511)](_0x4cbbc7,_0x555ed0){const _0xd5ba87=_0x5b4d61;var _0x5ec9b6;return this['canEditField'](_0x4cbbc7,_0x555ed0)&&(((_0x5ec9b6=this[_0xd5ba87(0x136)]['get'](_0x8557a9(_0x4cbbc7,_0x555ed0)))==null?void 0x0:_0x5ec9b6[_0xd5ba87(0x1d6)])??!0x0);}[_0x5b4d61(0x28a)](_0x345cc5){const _0x41fd36=_0x5b4d61;var _0x27d2a8;return this[_0x41fd36(0x52e)](_0x345cc5)&&(((_0x27d2a8=this[_0x41fd36(0x158)][_0x41fd36(0x3a4)](_0x345cc5))==null?void 0x0:_0x27d2a8[_0x41fd36(0x3b7)])??!0x0);}[_0x5b4d61(0x103)](_0x30f21e,_0x3fd938){const _0x6366d5=_0x5b4d61;var _0x36b008;let _0x283796=this[_0x6366d5(0x4c2)][_0x6366d5(0x3a4)](_0x3b5897(_0x30f21e,_0x3fd938));return this[_0x6366d5(0x3ce)](_0x30f21e,[_0x4da25b(_0x30f21e),_0x398605(_0x30f21e,_0x3fd938)])&&(((_0x36b008=this[_0x6366d5(0x158)][_0x6366d5(0x3a4)](_0x30f21e))==null?void 0x0:_0x36b008[_0x6366d5(0x2aa)])??!0x0)&&((_0x283796==null?void 0x0:_0x283796[_0x6366d5(0x2aa)])??!0x0)&&((_0x283796==null?void 0x0:_0x283796[_0x6366d5(0x131)])??!0x0);}[_0x5b4d61(0x1cc)](_0x308d02,_0x5b9533){const _0x5551ec=_0x5b4d61;var _0x3270c9,_0x4c65e8,_0x3ead20;return this[_0x5551ec(0x3ce)](_0x308d02,[_0x4da25b(_0x308d02),_0x398605(_0x308d02,_0x5b9533)])&&(((_0x3270c9=this['_tablePermissions']['get'](_0x308d02))==null?void 0x0:_0x3270c9[_0x5551ec(0x2aa)])??!0x0)&&(((_0x4c65e8=this[_0x5551ec(0x4c2)][_0x5551ec(0x3a4)](_0x3b5897(_0x308d02,_0x5b9533)))==null?void 0x0:_0x4c65e8[_0x5551ec(0x2aa)])??!0x0)&&(((_0x3ead20=this[_0x5551ec(0x4c2)][_0x5551ec(0x3a4)](_0x3b5897(_0x308d02,_0x5b9533)))==null?void 0x0:_0x3ead20['delete'])??!0x0);}['canEditCell'](_0x502510,_0x4b9252,_0x5c372){const _0x51fde4=_0x5b4d61;var _0x2e29ea,_0x4e0bfd,_0x279248;let _0x20eaf3=this[_0x51fde4(0x136)][_0x51fde4(0x3a4)](_0x8557a9(_0x502510,_0x5c372));return this['_canEdit'](_0x502510,[_0x4da25b(_0x502510),_0x33eab9(_0x502510,_0x5c372),_0x398605(_0x502510,_0x4b9252)])&&(((_0x2e29ea=this[_0x51fde4(0x158)][_0x51fde4(0x3a4)](_0x502510))==null?void 0x0:_0x2e29ea[_0x51fde4(0x2aa)])??!0x0)&&(((_0x4e0bfd=this['_recordPermissions'][_0x51fde4(0x3a4)](_0x3b5897(_0x502510,_0x4b9252)))==null?void 0x0:_0x4e0bfd[_0x51fde4(0x2aa)])??!0x0)&&(((_0x279248=this[_0x51fde4(0x4c2)][_0x51fde4(0x3a4)](_0x3b5897(_0x502510,_0x4b9252)))==null?void 0x0:_0x279248[_0x51fde4(0x131)])??!0x0)&&((_0x20eaf3==null?void 0x0:_0x20eaf3[_0x51fde4(0x2aa)])??!0x0)&&((_0x20eaf3==null?void 0x0:_0x20eaf3[_0x51fde4(0x131)])??!0x0);}[_0x5b4d61(0x46c)](_0x3f39ce,_0x1923c4){const _0x33c4db=_0x5b4d61;var _0x5cbb33,_0x1b94a8,_0x56ea12;return this['_canEdit'](_0x3f39ce,[_0x4da25b(_0x3f39ce),_0x4dab58(_0x3f39ce,_0x1923c4)])&&(((_0x5cbb33=this[_0x33c4db(0x158)][_0x33c4db(0x3a4)](_0x3f39ce))==null?void 0x0:_0x5cbb33[_0x33c4db(0x2aa)])??!0x0)&&(((_0x1b94a8=this['_viewPermissions'][_0x33c4db(0x3a4)](_0x23dff7(_0x3f39ce,_0x1923c4)))==null?void 0x0:_0x1b94a8[_0x33c4db(0x2aa)])??!0x0)&&(((_0x56ea12=this[_0x33c4db(0x158)][_0x33c4db(0x3a4)](_0x3f39ce))==null?void 0x0:_0x56ea12['manageView'])??!0x0);}[_0x5b4d61(0x49b)](_0x3fdb1a,_0x530b9a){const _0x464add=_0x5b4d61;this[_0x464add(0x3cb)][_0x464add(0x3e9)](_0x3fdb1a,{...this[_0x464add(0x3cb)][_0x464add(0x3a4)](_0x3fdb1a),..._0x530b9a}),_0x530b9a[_0x464add(0x2aa)]!==void 0x0&&_0x5bc309(this['_permissionService'],_0x3fdb1a,_0x3fdb1a,_0x4b2dcb[_0x464add(0x370)]['Edit'],_0x530b9a['edit']);}[_0x5b4d61(0x1dd)](_0x3df413,_0x53869a){const _0x618ba9=_0x5b4d61;this[_0x618ba9(0x16a)](_0x3df413),this[_0x618ba9(0x158)][_0x618ba9(0x3e9)](_0x3df413,{...this[_0x618ba9(0x158)]['get'](_0x3df413),..._0x53869a}),this['_setObjectEdit'](_0x3df413,_0x4da25b(_0x3df413),_0x53869a[_0x618ba9(0x2aa)]);}[_0x5b4d61(0x27c)](_0x51583f,_0x445e0c,_0xf72fac){const _0x2d11b8=_0x5b4d61;this['_rememberTable'](_0x51583f);let _0x5b644d=_0x8557a9(_0x51583f,_0x445e0c);this[_0x2d11b8(0x136)][_0x2d11b8(0x3e9)](_0x5b644d,{...this[_0x2d11b8(0x136)][_0x2d11b8(0x3a4)](_0x5b644d),..._0xf72fac}),this['_setObjectEdit'](_0x51583f,_0x33eab9(_0x51583f,_0x445e0c),_0xf72fac[_0x2d11b8(0x2aa)]);}['setRecordPermission'](_0x1794c5,_0x27b025,_0x494e6e){const _0x587734=_0x5b4d61;this[_0x587734(0x16a)](_0x1794c5);let _0xd72d90=_0x3b5897(_0x1794c5,_0x27b025);this[_0x587734(0x4c2)][_0x587734(0x3e9)](_0xd72d90,{...this[_0x587734(0x4c2)]['get'](_0xd72d90),..._0x494e6e}),this[_0x587734(0x42d)](_0x1794c5,_0x398605(_0x1794c5,_0x27b025),_0x494e6e['edit']);}[_0x5b4d61(0x120)](_0x326171,_0x4f079c,_0x86ce64){const _0x2d54db=_0x5b4d61;this[_0x2d54db(0x16a)](_0x326171);let _0x202e18=_0x23dff7(_0x326171,_0x4f079c);this[_0x2d54db(0x47d)][_0x2d54db(0x3e9)](_0x202e18,{...this[_0x2d54db(0x47d)][_0x2d54db(0x3a4)](_0x202e18),..._0x86ce64}),this[_0x2d54db(0x42d)](_0x326171,_0x4dab58(_0x326171,_0x4f079c),_0x86ce64['edit']);}['clearBasePermission'](_0x5aa02d){const _0x19ff57=_0x5b4d61;this[_0x19ff57(0x3cb)][_0x19ff57(0x1d6)](_0x5aa02d),_0x28c3d1(this[_0x19ff57(0x289)],_0x5aa02d,_0x5aa02d,_0x4b2dcb[_0x19ff57(0x370)]['Edit']);}[_0x5b4d61(0x2cb)](_0x4e7047){const _0xf2e431=_0x5b4d61;this[_0xf2e431(0x158)]['delete'](_0x4e7047),this[_0xf2e431(0x54d)](_0x4e7047,_0x4da25b(_0x4e7047));}[_0x5b4d61(0x141)](_0x3e7678,_0x5b0796){const _0x5d9cff=_0x5b4d61;this[_0x5d9cff(0x136)][_0x5d9cff(0x1d6)](_0x8557a9(_0x3e7678,_0x5b0796)),this['_clearObjectEdit'](_0x3e7678,_0x33eab9(_0x3e7678,_0x5b0796));}[_0x5b4d61(0x449)](_0xf8881a,_0x3d8eb8){this['_recordPermissions']['delete'](_0x3b5897(_0xf8881a,_0x3d8eb8)),this['_clearObjectEdit'](_0xf8881a,_0x398605(_0xf8881a,_0x3d8eb8));}[_0x5b4d61(0x45b)](_0x33af0a,_0x2c58cc){const _0x210252=_0x5b4d61;this[_0x210252(0x47d)][_0x210252(0x1d6)](_0x23dff7(_0x33af0a,_0x2c58cc)),this[_0x210252(0x54d)](_0x33af0a,_0x4dab58(_0x33af0a,_0x2c58cc));}[_0x5b4d61(0x157)](){const _0x3c9768=_0x5b4d61;return{'bases':Object[_0x3c9768(0x1b2)](this[_0x3c9768(0x3cb)]),'tables':Object['fromEntries'](this[_0x3c9768(0x158)]),'fields':Object[_0x3c9768(0x1b2)](this[_0x3c9768(0x136)]),'records':Object[_0x3c9768(0x1b2)](this['_recordPermissions']),'views':Object[_0x3c9768(0x1b2)](this['_viewPermissions'])};}[_0x5b4d61(0x52e)](_0x2ef985){const _0x5dbc8e=_0x5b4d61;var _0x51128b;return this[_0x5dbc8e(0x3ce)](_0x2ef985,[_0x4da25b(_0x2ef985)])&&(((_0x51128b=this['_tablePermissions'][_0x5dbc8e(0x3a4)](_0x2ef985))==null?void 0x0:_0x51128b[_0x5dbc8e(0x2aa)])??!0x0);}[_0x5b4d61(0x3ce)](_0x12219b,_0x2a33eb){const _0x3c3264=_0x5b4d61;var _0x4a95a0;let _0xa22860=this[_0x3c3264(0xff)](_0x12219b);return!_0xa22860||_0x2bb373(this[_0x3c3264(0x289)],_0xa22860,_0x2a33eb)&&(((_0x4a95a0=this[_0x3c3264(0x3cb)][_0x3c3264(0x3a4)](_0xa22860))==null?void 0x0:_0x4a95a0[_0x3c3264(0x2aa)])??!0x0);}[_0x5b4d61(0x42d)](_0x174cc9,_0x4b87a4,_0x261f1a){const _0x42d9f2=_0x5b4d61;if(_0x261f1a===void 0x0)return;let _0x431320=this[_0x42d9f2(0xff)](_0x174cc9);_0x431320&&_0x5bc309(this[_0x42d9f2(0x289)],_0x431320,_0x4b87a4,_0x4b2dcb[_0x42d9f2(0x370)]['Edit'],_0x261f1a);}['_clearObjectEdit'](_0x57ea9e,_0x47864a){const _0x190af9=_0x5b4d61;let _0x354441=this[_0x190af9(0xff)](_0x57ea9e);_0x354441&&_0x28c3d1(this['_permissionService'],_0x354441,_0x47864a,_0x4b2dcb[_0x190af9(0x370)][_0x190af9(0x521)]);}[_0x5b4d61(0xff)](_0x28a53){const _0xca90b=_0x5b4d61;var _0x7f2ec3;let _0x50f421=this[_0xca90b(0x47f)][_0xca90b(0x259)](_0x28a53,_0x552f17[_0xca90b(0x349)]['UNIVER_BASE']);return _0x50f421?_0x50f421['getUnitId']():(_0x7f2ec3=this[_0xca90b(0x47f)][_0xca90b(0x3f6)](_0x552f17[_0xca90b(0x349)][_0xca90b(0x1e2)])[_0xca90b(0x2f8)](_0x130e13=>!!_0x130e13[_0xca90b(0x157)]()[_0xca90b(0x1e1)][_0x28a53]))==null?void 0x0:_0x7f2ec3[_0xca90b(0x2e7)]();}[_0x5b4d61(0x16a)](_0x211d06){const _0x493f86=_0x5b4d61;let _0x14a1e4=this[_0x493f86(0xff)](_0x211d06);_0x14a1e4&&this['_tableBaseIds'][_0x493f86(0x3e9)](_0x211d06,_0x14a1e4);}[_0x5b4d61(0x4cb)](_0x4f69ef){const _0x2c5ba2=_0x5b4d61;this[_0x2c5ba2(0x3cb)][_0x2c5ba2(0x1d6)](_0x4f69ef),this[_0x2c5ba2(0x389)][_0x2c5ba2(0x116)]((_0x460436,_0x2c5dc3)=>{const _0x18f4b3=_0x2c5ba2;_0x460436===_0x4f69ef&&(this[_0x18f4b3(0x158)][_0x18f4b3(0x1d6)](_0x2c5dc3),_0x294459(this[_0x18f4b3(0x136)],_0x2c5dc3+'\x1f'),_0x294459(this[_0x18f4b3(0x4c2)],_0x2c5dc3+'\x1f'),_0x294459(this['_viewPermissions'],_0x2c5dc3+'\x1f'),this[_0x18f4b3(0x389)][_0x18f4b3(0x1d6)](_0x2c5dc3));});}};_0x142ec6=_0x3a99e3([_0x8293b1(0x0,_0x552f17['IPermissionService']),_0x8293b1(0x1,_0x552f17['IUniverInstanceService'])],_0x142ec6);function _0x294459(_0xeb48f1,_0x36812e){const _0x5e348c=_0x5b4d61;_0xeb48f1[_0x5e348c(0x116)]((_0xff0c1,_0x96f352)=>{_0x96f352['startsWith'](_0x36812e)&&_0xeb48f1['delete'](_0x96f352);});}function _0x8557a9(_0x2c58a2,_0x15f202){return _0x2c58a2+'\x1f'+_0x15f202;}function _0x3b5897(_0x513dfc,_0x3171f2){return _0x513dfc+'\x1f'+_0x3171f2;}function _0x23dff7(_0xb891f9,_0x229a6d){return _0xb891f9+'\x1f'+_0x229a6d;}let _0x18f07e=(0x0,_0x552f17[_0x5b4d61(0x31d)])('base.command.service'),_0x4c7d31=class{constructor(_0x1986c1,_0x2dcf77=_0x56a928(),_0x3a843e={}){const _0x66c9ea=_0x5b4d61;this[_0x66c9ea(0x289)]=_0x1986c1,this['_fieldRegistry']=_0x2dcf77,this[_0x66c9ea(0x234)]=_0x3a843e,_0x53a461(this,_0x66c9ea(0x3b6),new _0x1b9aeb()),_0x53a461(this,'_applier',new _0x600fcd());}[_0x5b4d61(0x314)](_0x4b7bea,_0x2a3e28,_0x342be2){const _0x1a991f=_0x5b4d61;if(!this['_permissionService']['canCreateTable'](_0x4b7bea[_0x1a991f(0x2e7)]()))throw Error(_0x1a991f(0x3be));(0x0,_0x552f17[_0x1a991f(0x2c9)])(_0x2a3e28),this['_apply'](_0x4b7bea,this[_0x1a991f(0x3b6)][_0x1a991f(0x314)](_0x4b7bea[_0x1a991f(0x157)](),_0x2a3e28,_0x342be2));}[_0x5b4d61(0x4a9)](_0x3aa03e,_0x531d7b,_0x3aef06){const _0x2f7819=_0x5b4d61;if(!this[_0x2f7819(0x289)]['canEditTable'](_0x531d7b))throw Error(_0x2f7819(0x34c));this[_0x2f7819(0x309)](_0x3aa03e,this['_factory'][_0x2f7819(0x4a9)](_0x3aa03e[_0x2f7819(0x157)](),_0x531d7b,_0x3aef06));}[_0x5b4d61(0x1a6)](_0x49ee7f,_0x3ea25f){const _0x4fb309=_0x5b4d61;if(!this[_0x4fb309(0x289)][_0x4fb309(0x15d)](_0x3ea25f))throw Error(_0x4fb309(0x334));let _0x6d6d81=_0x1497cf(_0x49ee7f['getSnapshot'](),_0x3ea25f);if(_0x6d6d81[_0x4fb309(0x46a)]>0x0)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20('+_0x6d6d81[_0x4fb309(0x3ab)](_0x33025d=>_0x33025d[_0x4fb309(0x111)]+'.'+_0x33025d[_0x4fb309(0x400)])[_0x4fb309(0x53f)](',\x20')+').');this['_apply'](_0x49ee7f,this[_0x4fb309(0x3b6)][_0x4fb309(0x1a6)](_0x49ee7f['getSnapshot'](),_0x3ea25f));}[_0x5b4d61(0x245)](_0x3ea231,_0xd93a6c,_0x37eada,_0x3b99e6,_0x1bd14b){const _0x5714e6=_0x5b4d61;this[_0x5714e6(0x309)](_0x3ea231,this[_0x5714e6(0x237)](_0x3ea231,_0xd93a6c,_0x37eada,_0x3b99e6,_0x1bd14b));}[_0x5b4d61(0x41f)](_0x102eb0,_0x166a99,_0x2bc2ba){const _0x325f6a=_0x5b4d61;this[_0x325f6a(0x309)](_0x102eb0,this[_0x325f6a(0x11f)](_0x102eb0,_0x166a99,_0x2bc2ba));}['createRecord'](_0x26e4ab,_0x1ffb57,_0x3e1efa){const _0x524fa0=_0x5b4d61;this['_apply'](_0x26e4ab,this[_0x524fa0(0x28c)](_0x26e4ab,_0x1ffb57,_0x3e1efa));}[_0x5b4d61(0x237)](_0x58a1e9,_0x3a2889,_0x5d23f4,_0x2a0a0f,_0x178802){const _0xf5bafe=_0x5b4d61;let _0x1202ba=_0x58a1e9[_0xf5bafe(0x157)](),_0x529306=this[_0xf5bafe(0x205)](_0x1202ba,_0x3a2889,_0x5d23f4,_0x2a0a0f,_0x178802),_0x5a8d58=this[_0xf5bafe(0x35f)](_0x1202ba,_0x3a2889,_0x5d23f4,{[_0x2a0a0f]:_0x529306});return this[_0xf5bafe(0x3b6)][_0xf5bafe(0x41f)](_0x1202ba,_0x3a2889,[_0x5a8d58]);}[_0x5b4d61(0x11f)](_0x39ad00,_0x54b68d,_0x4cbb46){const _0x3562b1=_0x5b4d61;let _0x13181b=_0x39ad00[_0x3562b1(0x157)](),_0x4927c6=_0x4cbb46[_0x3562b1(0x3ab)](_0x2eb388=>this[_0x3562b1(0x35f)](_0x13181b,_0x54b68d,_0x2eb388[_0x3562b1(0x504)],{...Object[_0x3562b1(0x1b2)](Object[_0x3562b1(0x21f)](_0x2eb388['values'])[_0x3562b1(0x3ab)](([_0x508077,_0xbed67f])=>[_0x508077,this[_0x3562b1(0x205)](_0x13181b,_0x54b68d,_0x2eb388[_0x3562b1(0x504)],_0x508077,_0xbed67f)]))}));return this['_factory']['setRecordValues'](_0x13181b,_0x54b68d,_0x4927c6);}[_0x5b4d61(0x28c)](_0x419707,_0x1ed136,_0x27305e){const _0x3cef54=_0x5b4d61;if(!this[_0x3cef54(0x289)]['canCreateRecord'](_0x1ed136))throw Error(_0x3cef54(0x172));let _0x6bf761=_0x419707[_0x3cef54(0x157)](),_0x351ee0=this[_0x3cef54(0x4d3)](_0x6bf761[_0x3cef54(0x1e1)][_0x1ed136]);return this[_0x3cef54(0x3b6)][_0x3cef54(0x3b7)](_0x6bf761,_0x1ed136,this[_0x3cef54(0x216)](_0x6bf761,_0x1ed136,_0x27305e,_0x351ee0));}[_0x5b4d61(0x1ef)](_0x2619de,_0x1be9d9,_0x4d769a){const _0x458d1e=_0x5b4d61;if(!this[_0x458d1e(0x289)]['canCreateRecord'](_0x1be9d9))throw Error(_0x458d1e(0x172));let _0xd974f9=_0x2619de[_0x458d1e(0x157)]();return _0x44d452(_0x458d1e(0x3e1),()=>{const _0xb48084=_0x458d1e;let _0x247442=this[_0xb48084(0x4d3)](_0xd974f9[_0xb48084(0x1e1)][_0x1be9d9]);return this[_0xb48084(0x3b6)][_0xb48084(0x31a)](_0xd974f9,_0x1be9d9,_0x4d769a[_0xb48084(0x3ab)](_0x3b85cc=>this['_createRecordWithDefaults'](_0xd974f9,_0x1be9d9,_0x3b85cc,_0x247442)));},{'existingRecords':Object[_0x458d1e(0x1bd)](_0xd974f9[_0x458d1e(0x1e1)][_0x1be9d9][_0x458d1e(0x29e)])[_0x458d1e(0x46a)],'records':_0x4d769a[_0x458d1e(0x46a)]});}[_0x5b4d61(0x377)](_0x3ee080,_0x50628a,_0x40df55,_0x13f7f4,_0x480cd8){const _0x362f6b=_0x5b4d61;if(!this[_0x362f6b(0x289)][_0x362f6b(0x19f)](_0x50628a))throw Error(_0x362f6b(0xfc));let _0x1958bc=_0x3ee080['getSnapshot']();if(this['_assertFieldDefinition'](_0x1958bc,_0x40df55),_0x13f7f4===0x0)throw Error(_0x362f6b(0x1b0));let _0xa80769=this[_0x362f6b(0x3b6)][_0x362f6b(0x51e)](_0x1958bc,_0x50628a,{'field':_0x40df55,'index':_0x13f7f4,'viewIndexes':_0x480cd8}),_0x1a297e=this[_0x362f6b(0x208)](_0x1958bc,_0x50628a,_0x40df55);if(!_0x1a297e[_0x362f6b(0x46a)])return _0xa80769;let _0x2fd194=this[_0x362f6b(0x317)][_0x362f6b(0x401)](_0x1958bc,_0xa80769);return _0x4c4822([_0xa80769,this[_0x362f6b(0x3b6)][_0x362f6b(0x41f)](_0x2fd194,_0x50628a,_0x1a297e)]);}[_0x5b4d61(0x14c)](_0xa2a0e1,_0x17f08b,_0x4c3972){const _0x4becd5=_0x5b4d61;if(!this['_permissionService']['canDeleteRecord'](_0x17f08b,_0x4c3972))throw Error(_0x4becd5(0x332));this[_0x4becd5(0x309)](_0xa2a0e1,this[_0x4becd5(0x3b6)][_0x4becd5(0x14c)](_0xa2a0e1['getSnapshot'](),_0x17f08b,_0x4c3972));}[_0x5b4d61(0x44d)](_0x2dd846,_0x77f80a,_0x3593c0,_0x475844){const _0x20d369=_0x5b4d61;if(!this['_permissionService'][_0x20d369(0x28a)](_0x77f80a))throw Error(_0x20d369(0x172));this[_0x20d369(0x309)](_0x2dd846,this[_0x20d369(0x3b6)][_0x20d369(0x44d)](_0x2dd846['getSnapshot'](),_0x77f80a,_0x3593c0,{..._0x475844,'values':{..._0x475844[_0x20d369(0x4d1)],[_0x552f17[_0x20d369(0x316)]]:_0x475844['id']}}));}[_0x5b4d61(0x177)](_0x47ddf4,_0x18292c,_0x195d1c,_0x452fe6){const _0x5b2eca=_0x5b4d61;if(!this['_permissionService'][_0x5b2eca(0x103)](_0x18292c,_0x195d1c))throw Error(_0x5b2eca(0x17c));this[_0x5b2eca(0x309)](_0x47ddf4,this[_0x5b2eca(0x3b6)][_0x5b2eca(0x177)](_0x47ddf4['getSnapshot'](),_0x18292c,_0x195d1c,_0x452fe6));}[_0x5b4d61(0x51e)](_0x27947c,_0x5cdd39,_0x47210b,_0x909828,_0x263f4b){const _0x3d3918=_0x5b4d61;this[_0x3d3918(0x309)](_0x27947c,this[_0x3d3918(0x377)](_0x27947c,_0x5cdd39,_0x47210b,_0x909828,_0x263f4b));}[_0x5b4d61(0x41a)](_0x3af2e6,_0x1c4efc,_0x28a9a9,_0x3e5b56){const _0x59cbd0=_0x5b4d61;var _0x4e28f8;if(!this[_0x59cbd0(0x289)][_0x59cbd0(0x4e8)](_0x1c4efc,_0x28a9a9))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x15ab51=_0x3af2e6['getSnapshot'](),_0x48c8ee=(_0x4e28f8=_0x15ab51['tables'][_0x1c4efc])==null?void 0x0:_0x4e28f8[_0x59cbd0(0x3ec)][_0x28a9a9];if(!_0x48c8ee||_0x28a9a9===_0x552f17[_0x59cbd0(0x316)])throw Error(_0x59cbd0(0x4a3));this[_0x59cbd0(0x262)](_0x15ab51,{..._0x48c8ee,..._0x3e5b56}),this[_0x59cbd0(0x309)](_0x3af2e6,this[_0x59cbd0(0x3b6)][_0x59cbd0(0x41a)](_0x15ab51,_0x1c4efc,_0x28a9a9,_0x3e5b56));}[_0x5b4d61(0x409)](_0x1d7971,_0x14cee3,_0x915f7,_0x1e3b47){const _0x41a20d=_0x5b4d61;var _0x103fbc;if(!this[_0x41a20d(0x289)][_0x41a20d(0x4e8)](_0x14cee3,_0x915f7))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x2a6573=_0x1d7971['getSnapshot'](),_0x1a2985=(_0x103fbc=_0x2a6573['tables'][_0x14cee3])==null?void 0x0:_0x103fbc[_0x41a20d(0x3ec)][_0x915f7];if(!_0x1a2985||_0x915f7===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x41a20d(0x40b));this[_0x41a20d(0x262)](_0x2a6573,{..._0x1a2985,..._0x1e3b47}),this[_0x41a20d(0x309)](_0x1d7971,this[_0x41a20d(0x3b6)][_0x41a20d(0x409)](_0x2a6573,_0x14cee3,_0x915f7,_0x1e3b47));}[_0x5b4d61(0x147)](_0x1d1be4,_0x470769,_0x465488){const _0x17cde7=_0x5b4d61;var _0x5a3348;if(((_0x5a3348=_0x1d1be4[_0x17cde7(0x157)]()[_0x17cde7(0x1e1)][_0x470769])==null?void 0x0:_0x5a3348[_0x17cde7(0x3a1)])===_0x465488||_0x465488===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this['_permissionService']['canDeleteField'](_0x470769,_0x465488))throw Error(_0x17cde7(0x49f));this['_apply'](_0x1d1be4,this[_0x17cde7(0x3b6)][_0x17cde7(0x147)](_0x1d1be4['getSnapshot'](),_0x470769,_0x465488));}[_0x5b4d61(0x48e)](_0x5981bb,_0x26bd00,_0x5dbd4e,_0x325ed4){const _0x19b516=_0x5b4d61;if(!this[_0x19b516(0x289)]['canEditField'](_0x26bd00,_0x5dbd4e))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x5dbd4e===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x325ed4[_0x19b516(0x4aa)]===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x19b516(0x535));this[_0x19b516(0x309)](_0x5981bb,this['_factory'][_0x19b516(0x48e)](_0x5981bb[_0x19b516(0x157)](),_0x26bd00,_0x5dbd4e,_0x325ed4));}[_0x5b4d61(0x27e)](_0x153ece,_0x3d30d9,_0x47e24a,_0x1da17e){const _0x4dc125=_0x5b4d61;if(!this[_0x4dc125(0x289)][_0x4dc125(0x46c)](_0x3d30d9,_0x47e24a['id']))throw Error(_0x4dc125(0x113));this['_apply'](_0x153ece,this[_0x4dc125(0x3b6)][_0x4dc125(0x27e)](_0x153ece[_0x4dc125(0x157)](),_0x3d30d9,_0x47e24a,_0x1da17e));}[_0x5b4d61(0x519)](_0x2db5e1,_0x1a17e6,_0x3b007a,_0x835dc5){const _0x994335=_0x5b4d61;if(!this[_0x994335(0x289)]['canManageView'](_0x1a17e6,_0x3b007a))throw Error(_0x994335(0x113));this['_apply'](_0x2db5e1,this[_0x994335(0x3b6)][_0x994335(0x519)](_0x2db5e1[_0x994335(0x157)](),_0x1a17e6,_0x3b007a,_0x835dc5));}[_0x5b4d61(0x3da)](_0x4707c1,_0x4f692b,_0x356c58){const _0x4ab18b=_0x5b4d61;if(!this[_0x4ab18b(0x289)][_0x4ab18b(0x46c)](_0x4f692b,_0x356c58))throw Error(_0x4ab18b(0x113));this[_0x4ab18b(0x309)](_0x4707c1,this[_0x4ab18b(0x3b6)][_0x4ab18b(0x3da)](_0x4707c1[_0x4ab18b(0x157)](),_0x4f692b,_0x356c58));}[_0x5b4d61(0x477)](_0x462507,_0x3cc47b,_0xc7c2f3,_0x457685){const _0x3daf75=_0x5b4d61;if(!this[_0x3daf75(0x289)][_0x3daf75(0x46c)](_0x3cc47b,_0xc7c2f3))throw Error(_0x3daf75(0x113));this[_0x3daf75(0x309)](_0x462507,this['_factory'][_0x3daf75(0x477)](_0x462507[_0x3daf75(0x157)](),_0x3cc47b,_0xc7c2f3,_0x457685));}[_0x5b4d61(0x14e)](_0x30d4e9,_0x1e1e47,_0x539d3b,_0x237c64){const _0x1900f3=_0x5b4d61;if(!this[_0x1900f3(0x289)][_0x1900f3(0x46c)](_0x1e1e47,_0x539d3b))throw Error(_0x1900f3(0x113));this[_0x1900f3(0x309)](_0x30d4e9,this['_factory']['updateViewConfig'](_0x30d4e9[_0x1900f3(0x157)](),_0x1e1e47,_0x539d3b,_0x237c64));}[_0x5b4d61(0x190)](_0x3f59b7,_0x5c97ea,_0x169452,_0x4a0e40){const _0x5a6b18=_0x5b4d61;if(!this[_0x5a6b18(0x289)][_0x5a6b18(0x46c)](_0x5c97ea,_0x169452))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x5a6b18(0x309)](_0x3f59b7,this['_factory'][_0x5a6b18(0x190)](_0x3f59b7[_0x5a6b18(0x157)](),_0x5c97ea,_0x169452,_0x4a0e40));}[_0x5b4d61(0x184)](_0x8125e9,_0xc7938b,_0x120946,_0x9ec58c){const _0x4b3474=_0x5b4d61;if(!this[_0x4b3474(0x289)][_0x4b3474(0x46c)](_0xc7938b,_0x120946))throw Error(_0x4b3474(0x113));this[_0x4b3474(0x309)](_0x8125e9,this[_0x4b3474(0x3b6)][_0x4b3474(0x184)](_0x8125e9['getSnapshot'](),_0xc7938b,_0x120946,_0x9ec58c));}[_0x5b4d61(0x475)](_0x56e20d,_0x2a1423,_0x65f843,_0x681156){const _0x39119e=_0x5b4d61;if(!this['_permissionService']['canManageView'](_0x2a1423,_0x65f843))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x39119e(0x309)](_0x56e20d,this[_0x39119e(0x3b6)]['setViewGroup'](_0x56e20d[_0x39119e(0x157)](),_0x2a1423,_0x65f843,_0x681156));}[_0x5b4d61(0x366)](_0x498dac,_0x3829d2,_0x1bc21c,_0x5d23a2,_0x360606){const _0x1d2c56=_0x5b4d61;if(!this[_0x1d2c56(0x289)][_0x1d2c56(0x46c)](_0x3829d2,_0x1bc21c))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x1d2c56(0x309)](_0x498dac,this[_0x1d2c56(0x3b6)][_0x1d2c56(0x366)](_0x498dac['getSnapshot'](),_0x3829d2,_0x1bc21c,_0x5d23a2,_0x360606));}[_0x5b4d61(0x3de)](_0x1e5e3b,_0x386a29,_0x118cc0,_0x46cc00,_0x5e0d90){const _0x17a88c=_0x5b4d61;if(!this[_0x17a88c(0x289)][_0x17a88c(0x46c)](_0x386a29,_0x118cc0))throw Error(_0x17a88c(0x113));this[_0x17a88c(0x309)](_0x1e5e3b,this[_0x17a88c(0x3b6)]['setViewFieldWidth'](_0x1e5e3b['getSnapshot'](),_0x386a29,_0x118cc0,_0x46cc00,_0x5e0d90));}[_0x5b4d61(0x509)](_0x1a961c,_0x5f4443,_0x2d4dfd,_0x1dad0a,_0x4540a2){const _0x575341=_0x5b4d61;if(!this['_permissionService'][_0x575341(0x46c)](_0x5f4443,_0x2d4dfd))throw Error(_0x575341(0x113));this[_0x575341(0x309)](_0x1a961c,this['_factory'][_0x575341(0x509)](_0x1a961c['getSnapshot'](),_0x5f4443,_0x2d4dfd,_0x1dad0a,_0x4540a2));}[_0x5b4d61(0x309)](_0xa8c69e,_0x2627ee){const _0x31e484=_0x5b4d61;let _0x2a81a9=_0xa8c69e[_0x31e484(0x157)]();_0xa8c69e[_0x31e484(0x33a)](this[_0x31e484(0x317)][_0x31e484(0x401)](_0x2a81a9,_0x2627ee));}[_0x5b4d61(0x216)](_0x2b62b3,_0x6e991e,_0x4af7a4,_0x7c4262=this['_createNumberingAllocators'](_0x2b62b3[_0x5b4d61(0x1e1)][_0x6e991e])){const _0x18a467=_0x5b4d61;let _0x165017=_0x2b62b3[_0x18a467(0x1e1)][_0x6e991e],_0x1db5b9=_0x4af7a4[_0x18a467(0x163)]??_0x4af7a4[_0x18a467(0x2e8)]??this[_0x18a467(0x46b)](),_0x4bf807={..._0x4af7a4,'createdBy':_0x4af7a4[_0x18a467(0x163)]??_0x1db5b9,'updatedBy':_0x4af7a4['updatedBy']??_0x1db5b9,'values':{..._0x4af7a4[_0x18a467(0x4d1)]}};return _0x4bf807[_0x18a467(0x4d1)][_0x552f17[_0x18a467(0x316)]]=_0x4bf807['id'],_0x165017['fieldOrder']['forEach'](_0x88dada=>{const _0x1b6372=_0x18a467;let _0x4bc380=_0x165017[_0x1b6372(0x3ec)][_0x88dada];if(_0x4bc380&&_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]===void 0x0)switch(_0x4bc380[_0x1b6372(0x4cd)]){case _0x552f17[_0x1b6372(0x22d)][_0x1b6372(0x195)]:var _0x373c3f;_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=((_0x373c3f=_0x7c4262[_0x1b6372(0x3a4)](_0x88dada))==null?void 0x0:_0x373c3f())??this[_0x1b6372(0x465)](_0x165017,_0x88dada)();break;case _0x552f17[_0x1b6372(0x22d)][_0x1b6372(0x3eb)]:_0x4bf807[_0x1b6372(0x163)]&&(_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x4bf807[_0x1b6372(0x163)]);break;case _0x552f17['BaseFieldType']['UpdatedBy']:_0x4bf807[_0x1b6372(0x2e8)]&&(_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x4bf807[_0x1b6372(0x2e8)]);break;case _0x552f17[_0x1b6372(0x22d)][_0x1b6372(0x435)]:_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x5afbbf(_0x4bf807['createdAt']);break;case _0x552f17[_0x1b6372(0x22d)]['UpdatedAt']:_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x5afbbf(_0x4bf807[_0x1b6372(0x32d)]);break;default:{let _0x161201=_0x4bc380[_0x1b6372(0x3dc)];_0x161201!=null&&_0x161201!==''&&!(Array['isArray'](_0x161201)&&_0x161201[_0x1b6372(0x46a)]===0x0)&&(_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x161201);}}}),_0x4bf807;}[_0x5b4d61(0x35f)](_0xf4123b,_0x60268,_0x39d0b1,_0x3e0c49){const _0x4d6c34=_0x5b4d61;var _0x5c3c64,_0x56812e;let _0x72416d=_0xf4123b[_0x4d6c34(0x1e1)][_0x60268],_0x440874=((_0x5c3c64=(_0x56812e=this[_0x4d6c34(0x234)])[_0x4d6c34(0x1ca)])==null?void 0x0:_0x5c3c64[_0x4d6c34(0x30e)](_0x56812e))??Date[_0x4d6c34(0x1ca)](),_0x188906=this['_getCurrentUserId'](),_0x13a857={..._0x3e0c49};return _0x72416d[_0x4d6c34(0x151)]['forEach'](_0x34cc60=>{const _0x49e44d=_0x4d6c34;let _0x41425c=_0x72416d[_0x49e44d(0x3ec)][_0x34cc60];_0x41425c&&(_0x41425c[_0x49e44d(0x4cd)]===_0x552f17[_0x49e44d(0x22d)][_0x49e44d(0x373)]&&(_0x13a857[_0x34cc60]=_0x5afbbf(_0x440874)),_0x41425c[_0x49e44d(0x4cd)]===_0x552f17['BaseFieldType'][_0x49e44d(0x2a0)]&&_0x188906&&(_0x13a857[_0x34cc60]=_0x188906));}),{'recordId':_0x39d0b1,'values':_0x13a857,'recordPatch':{'updatedAt':_0x440874,..._0x188906?{'updatedBy':_0x188906}:{}}};}['_createSystemFieldValuePatches'](_0x4c7491,_0xf255a9,_0xaf14f9){const _0x3d6b0e=_0x5b4d61;let _0x3008d4=_0x4c7491['tables'][_0xf255a9];return!_0x3008d4||!_0x4e1daa(_0xaf14f9)?[]:_0xaf14f9[_0x3d6b0e(0x4cd)]===_0x552f17[_0x3d6b0e(0x22d)][_0x3d6b0e(0x195)]?this[_0x3d6b0e(0x108)](_0x3008d4,_0xaf14f9['id']):Object[_0x3d6b0e(0x4d1)](_0x3008d4[_0x3d6b0e(0x29e)])[_0x3d6b0e(0x4a0)](_0x3eca4d=>{const _0x38c2cb=_0x3d6b0e;let _0x190d73=this[_0x38c2cb(0x1ec)](_0xaf14f9,_0x3eca4d);return _0x190d73===void 0x0?[]:[{'recordId':_0x3eca4d['id'],'values':{[_0xaf14f9['id']]:_0x190d73}}];});}['_getSystemFieldValue'](_0xd238bf,_0x196ce7){const _0x462f5d=_0x5b4d61;switch(_0xd238bf[_0x462f5d(0x4cd)]){case _0x552f17[_0x462f5d(0x22d)]['CreatedBy']:return _0x196ce7[_0x462f5d(0x163)]??this[_0x462f5d(0x46b)]();case _0x552f17['BaseFieldType'][_0x462f5d(0x2a0)]:return _0x196ce7[_0x462f5d(0x2e8)]??this[_0x462f5d(0x46b)]();case _0x552f17[_0x462f5d(0x22d)][_0x462f5d(0x435)]:return _0x5afbbf(_0x196ce7[_0x462f5d(0x26c)]??Date[_0x462f5d(0x1ca)]());case _0x552f17[_0x462f5d(0x22d)][_0x462f5d(0x373)]:return _0x5afbbf(_0x196ce7['updatedAt']??Date[_0x462f5d(0x1ca)]());default:return;}}['_createNumberingAllocators'](_0x3e373a){const _0x5bb4a0=_0x5b4d61;let _0xffb567=new Map();return _0x3e373a&&_0x3e373a[_0x5bb4a0(0x151)][_0x5bb4a0(0x116)](_0x155678=>{const _0x1e6f7b=_0x5bb4a0;let _0x2600c8=_0x3e373a[_0x1e6f7b(0x3ec)][_0x155678];(_0x2600c8==null?void 0x0:_0x2600c8[_0x1e6f7b(0x4cd)])===_0x552f17[_0x1e6f7b(0x22d)]['Numbering']&&_0xffb567['set'](_0x155678,this[_0x1e6f7b(0x465)](_0x3e373a,_0x155678));}),_0xffb567;}['_createNumberingAllocator'](_0xd6e3e0,_0x56d3ab){const _0x8ac7c3=_0x5b4d61;let _0x179414=Object['values'](_0xd6e3e0[_0x8ac7c3(0x29e)])['reduce']((_0x39f5cd,_0x4a9358)=>{const _0x325bc0=_0x8ac7c3;let _0x476037=Number(_0x4a9358[_0x325bc0(0x4d1)][_0x56d3ab]);return Number[_0x325bc0(0x326)](_0x476037)?Math[_0x325bc0(0x3bd)](_0x39f5cd,_0x476037):_0x39f5cd;},0x0);return()=>String(++_0x179414);}[_0x5b4d61(0x108)](_0x1af277,_0x530800){const _0x3ba740=_0x5b4d61;let _0x507e60=this[_0x3ba740(0x17f)](_0x1af277),_0xaac83a=this['_createNumberingAllocator'](_0x1af277,_0x530800);return _0x507e60['flatMap'](_0x1216f7=>this['_isNonEmptyCellValue'](_0x1216f7[_0x3ba740(0x4d1)][_0x530800])?[]:[{'recordId':_0x1216f7['id'],'values':{[_0x530800]:_0xaac83a()}}]);}['_getOrderedRecords'](_0xdb08e7){const _0x5df170=_0x5b4d61;var _0x22a2a5;let _0x2b4b7d=Object[_0x5df170(0x4d1)](_0xdb08e7[_0x5df170(0x29e)]),_0x415ebd=new Map(_0x2b4b7d[_0x5df170(0x3ab)](_0x3792fd=>[_0x3792fd['id'],_0x3792fd])),_0x1aa4dc=[],_0x33b4bf=new Set();(_0x22a2a5=_0xdb08e7[_0x5df170(0x52a)])==null||_0x22a2a5[_0x5df170(0x116)](_0xc5767=>{const _0x43977a=_0x5df170;let _0x5a8ed=_0x415ebd[_0x43977a(0x3a4)](_0xc5767);_0x5a8ed&&(_0x1aa4dc[_0x43977a(0x36c)](_0x5a8ed),_0x33b4bf[_0x43977a(0x112)](_0xc5767));});let _0x8cf788=_0x2b4b7d[_0x5df170(0x30a)](_0x125902=>!_0x33b4bf['has'](_0x125902['id']))[_0x5df170(0x3c2)]((_0xd27a65,_0x202aa0)=>String(_0xd27a65[_0x5df170(0x12f)]??_0xd27a65['id'])[_0x5df170(0x2f1)](String(_0x202aa0[_0x5df170(0x12f)]??_0x202aa0['id']))||_0xd27a65['id'][_0x5df170(0x2f1)](_0x202aa0['id']));return[..._0x1aa4dc,..._0x8cf788];}[_0x5b4d61(0x554)](_0x4e6316){const _0x25de35=_0x5b4d61;return _0x4e6316!=null&&_0x4e6316!==''&&!(Array[_0x25de35(0x3bc)](_0x4e6316)&&_0x4e6316[_0x25de35(0x46a)]===0x0);}[_0x5b4d61(0x46b)](){const _0x5643c0=_0x5b4d61;var _0x20c76c,_0x17631a,_0x24ca1a,_0x5a609e;return((_0x20c76c=(_0x17631a=this[_0x5643c0(0x234)])[_0x5643c0(0x2bf)])==null?void 0x0:_0x20c76c[_0x5643c0(0x30e)](_0x17631a))??((_0x24ca1a=(_0x5a609e=this[_0x5643c0(0x234)])['getCurrentUser'])==null||(_0x24ca1a=_0x24ca1a['call'](_0x5a609e))==null?void 0x0:_0x24ca1a[_0x5643c0(0x390)])??void 0x0;}[_0x5b4d61(0x205)](_0x8395fc,_0x25dad1,_0x197d22,_0x178392,_0x5e0040){const _0x1d4096=_0x5b4d61;var _0xc4b42b;if(!this['_permissionService'][_0x1d4096(0x359)](_0x25dad1,_0x197d22,_0x178392))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x3b0278=(_0xc4b42b=_0x8395fc['tables'][_0x25dad1])==null?void 0x0:_0xc4b42b[_0x1d4096(0x3ec)][_0x178392];if(!_0x3b0278)throw Error(_0x1d4096(0x4fb)+_0x178392+_0x1d4096(0x31f));let _0x1551d0=this[_0x1d4096(0x2eb)][_0x1d4096(0x3a4)](_0x3b0278[_0x1d4096(0x4cd)]);if(_0x3b0278[_0x1d4096(0x4e2)]||_0x3b0278[_0x1d4096(0x505)]||!_0x1551d0[_0x1d4096(0x3fe)](_0x3b0278)[_0x1d4096(0x29a)])throw Error(_0x1d4096(0x1b6));let _0x5189fd=_0x1551d0[_0x1d4096(0x121)](_0x5e0040,_0x3b0278),_0x370e29=_0x1551d0[_0x1d4096(0x2fc)](_0x5189fd,_0x3b0278);if(!_0x370e29[_0x1d4096(0x2d9)])throw Error(_0x370e29[_0x1d4096(0x4bb)]??_0x1d4096(0x247));let _0x151b5c=_0x3b0278[_0x1d4096(0x4cd)]===_0x552f17['BaseFieldType']['RecordLink']?_0x30ac0c(_0x8395fc,_0x3b0278,_0x5189fd):{'valid':!0x0};if(!_0x151b5c[_0x1d4096(0x2d9)])throw Error(_0x151b5c['reason']??_0x1d4096(0x3e0));return _0x5189fd;}[_0x5b4d61(0x262)](_0x33ce7b,_0x35fe90){const _0x33bab9=_0x5b4d61;if(_0x35fe90['id']===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x35fe90[_0x33bab9(0x4cd)]===_0x552f17['BaseFieldType'][_0x33bab9(0x500)]||(0x0,_0x552f17[_0x33bab9(0x2c7)])(_0x35fe90[_0x33bab9(0x288)]))throw Error(_0x33bab9(0x110));let _0x57920f=_0x4cb157(_0x33ce7b,_0x35fe90);if(!_0x57920f[_0x33bab9(0x2d9)])throw Error(_0x57920f[_0x33bab9(0x4bb)]??_0x33bab9(0x123));}};_0x4c7d31=_0x3a99e3([_0x8293b1(0x0,_0x4c31db),_0x8293b1(0x1,_0x430fbe)],_0x4c7d31);function _0x56a928(){let _0x81fd94=new _0x3b8919();return _0x544ef0()['forEach'](_0x5c76c5=>_0x81fd94['register'](_0x5c76c5)),_0x81fd94;}function _0x4e1daa(_0x6c3633){const _0x5567f3=_0x5b4d61;return _0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x195)]||_0x6c3633['type']===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x3eb)]||_0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x2a0)]||_0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)]['CreatedAt']||_0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x373)];}let _0x5f08b4=new Set([_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x28f)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x2dc)],_0x552f17['BaseFieldType'][_0x5b4d61(0x3ad)]]);function _0x4a71ef(_0x2f0d84){const _0x234af4=_0x5b4d61;let _0x3fa697=_0x2f0d84[_0x234af4(0x3ec)][_0x2f0d84[_0x234af4(0x3a1)]];if((!_0x3fa697||_0x3fa697[_0x234af4(0x505)]!==!0x0&&_0x3fa697['id'][_0x234af4(0x335)]()!=='id'&&_0x3fa697[_0x234af4(0x288)][_0x234af4(0x104)]()['toLowerCase']()!=='id')&&_0x3fa697)return _0x3fa697['id'];for(let _0x4b0904 of _0x2f0d84[_0x234af4(0x151)]){let _0x5c0a32=_0x2f0d84['fields'][_0x4b0904];if(_0x5c0a32&&_0x5c0a32['id']!==_0x2f0d84[_0x234af4(0x3a1)]&&_0x5c0a32['system']!==!0x0&&_0x5c0a32[_0x234af4(0x4cd)]!==_0x552f17[_0x234af4(0x22d)]['RecordId'])return _0x5c0a32['id'];}return _0x2f0d84['primaryFieldId'];}function _0x413d5e(_0x13d9e2,_0x4652bf=[],_0x568bb9=0x5){const _0x49ab17=_0x5b4d61;let _0x10a819=new Set(_0x4652bf['filter'](_0x14aca8=>!!_0x14aca8)),_0x28d595=[],_0x5d8cf6=[];for(let _0xa52adf of _0x13d9e2[_0x49ab17(0x151)]){let _0x5d0489=_0x13d9e2['fields'][_0xa52adf];_0x5d0489&&_0x5d0489[_0x49ab17(0x505)]!==!0x0&&_0x5d0489['type']!==_0x552f17[_0x49ab17(0x22d)]['RecordId']&&!_0x10a819[_0x49ab17(0x1d8)](_0x5d0489['id'])&&(_0x5f08b4['has'](_0x5d0489[_0x49ab17(0x4cd)])?_0x28d595:_0x5d8cf6)[_0x49ab17(0x36c)](_0x5d0489['id']);}return[..._0x28d595,..._0x5d8cf6][_0x49ab17(0x25d)](0x0,_0x568bb9);}function _0x5697af(){const _0x84c7b4=_0x5b4d61;return[{'type':_0x552f17[_0x84c7b4(0x2d5)]['Grid'],'i18nKey':_0x84c7b4(0x1d5),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x202682=_0x84c7b4;throw Error(_0x202682(0x274));}},{'type':_0x552f17['BaseViewType']['Kanban'],'i18nKey':_0x84c7b4(0x2ed),'createDefaultConfig':_0x5cc7b8=>{const _0x14b42d=_0x84c7b4;let _0x44b219=_0x27ce63(_0x5cc7b8);return{'groupFieldId':_0x44b219,'coverFieldId':null,'cardLayout':_0x14b42d(0x109),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5cc7b8['primaryFieldId'],'fieldIds':_0x413d5e(_0x5cc7b8,[_0x5cc7b8[_0x14b42d(0x3a1)],_0x44b219])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5006b6=_0x84c7b4;throw Error(_0x5006b6(0x203));}},{'type':_0x552f17['BaseViewType'][_0x84c7b4(0x2c4)],'i18nKey':_0x84c7b4(0x547),'createDefaultConfig':_0x550eee=>{const _0x520c1a=_0x84c7b4;let _0x12bd11=_0x289c57(_0x550eee);return{'startDateFieldId':_0x12bd11,'endDateFieldId':_0x50be78(_0x550eee,_0x12bd11),'titleFieldId':_0x550eee[_0x520c1a(0x3a1)],'mode':_0x520c1a(0x255),'timeslotSize':_0x520c1a(0x260),'timeZone':_0x520c1a(0x3fc),'displayColor':{'type':_0x520c1a(0x510),'color':_0x520c1a(0x4f4)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x14cc5f=_0x84c7b4;throw Error(_0x14cc5f(0x2fb));}},{'type':_0x552f17['BaseViewType'][_0x84c7b4(0x374)],'i18nKey':_0x84c7b4(0x242),'createDefaultConfig':_0x361002=>{const _0x36e830=_0x84c7b4;let _0x55728e=_0x289c57(_0x361002);return{'startDateFieldId':_0x55728e,'endDateFieldId':_0x50be78(_0x361002,_0x55728e)??_0x55728e,'titleFieldId':_0x361002[_0x36e830(0x3a1)],'scale':_0x36e830(0x255),'showTodayLine':!0x0,'displayColor':{'type':_0x36e830(0x510),'color':_0x36e830(0x258)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4e7aad=_0x84c7b4;throw Error(_0x4e7aad(0x51d));}},{'type':_0x552f17[_0x84c7b4(0x2d5)][_0x84c7b4(0x15b)],'i18nKey':_0x84c7b4(0x2c0),'createDefaultConfig':_0x5cba2d=>{const _0x588211=_0x84c7b4;let _0x1332ad=_0x4a71ef(_0x5cba2d);return{'coverFieldId':null,'cardLayout':_0x588211(0x109),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x1332ad,'coverFieldId':null,'fieldIds':_0x413d5e(_0x5cba2d,[_0x1332ad,_0x5cba2d['primaryFieldId']])},'cardSize':_0x588211(0x260)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5a9b5e=_0x84c7b4;throw Error(_0x5a9b5e(0x167));}}];}function _0x27ce63(_0x54e716){const _0x17aac3=_0x5b4d61;var _0xb0bb74,_0x4c5761,_0x3715c7;let _0x597a8e=_0x54e716[_0x17aac3(0x151)][_0x17aac3(0x3ab)](_0x4ba0a5=>_0x54e716[_0x17aac3(0x3ec)][_0x4ba0a5])['filter'](_0x1f84cd=>!!_0x1f84cd);return((_0xb0bb74=_0x597a8e[_0x17aac3(0x2f8)](_0x31eee1=>_0x31eee1[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType']['SingleSelect']||_0x31eee1[_0x17aac3(0x4cd)]===_0x552f17[_0x17aac3(0x22d)]['MultiSelect']||_0x31eee1[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType'][_0x17aac3(0x220)]))==null?void 0x0:_0xb0bb74['id'])??((_0x4c5761=_0x597a8e[_0x17aac3(0x2f8)](_0x19ce39=>_0x19ce39[_0x17aac3(0x4cd)]===_0x552f17[_0x17aac3(0x22d)]['Text']))==null?void 0x0:_0x4c5761['id'])??((_0x3715c7=_0x597a8e[_0x17aac3(0x2f8)](_0x7defd8=>_0x7defd8[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType'][_0x17aac3(0x522)]||_0x7defd8['type']===_0x552f17[_0x17aac3(0x22d)][_0x17aac3(0x435)]||_0x7defd8[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType'][_0x17aac3(0x373)]))==null?void 0x0:_0x3715c7['id'])??_0x54e716[_0x17aac3(0x3a1)];}function _0x289c57(_0x26f85d){const _0x255fe5=_0x5b4d61;var _0x3cd682;return((_0x3cd682=_0x26f85d[_0x255fe5(0x151)]['map'](_0x41a970=>_0x26f85d[_0x255fe5(0x3ec)][_0x41a970])['find'](_0x4d53e2))==null?void 0x0:_0x3cd682['id'])??'';}function _0x50be78(_0x36d2b4,_0x20d8f4){const _0x33f1dd=_0x5b4d61;var _0x375191;return(_0x375191=_0x36d2b4[_0x33f1dd(0x151)][_0x33f1dd(0x3ab)](_0x291c62=>_0x36d2b4['fields'][_0x291c62])[_0x33f1dd(0x2f8)](_0x4ccec2=>_0x4d53e2(_0x4ccec2)&&_0x4ccec2['id']!==_0x20d8f4))==null?void 0x0:_0x375191['id'];}function _0x4d53e2(_0x2295c6){const _0x21c448=_0x5b4d61;return!!_0x2295c6&&_0x2295c6[_0x21c448(0x4cd)]===_0x552f17['BaseFieldType'][_0x21c448(0x522)]&&_0x2295c6[_0x21c448(0x4e2)]!==!0x0&&_0x2295c6[_0x21c448(0x505)]!==!0x0;}let _0x1b33ef=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x4df)),_0x42c6c0=new Set([_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x439)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x268)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x28f)],_0x552f17['BaseFieldType'][_0x5b4d61(0x2dc)],_0x552f17['BaseFieldType'][_0x5b4d61(0x522)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x435)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x373)],_0x552f17[_0x5b4d61(0x22d)]['Checkbox']]),_0x3d5047=0x5265c00,_0x57d072=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(_0x1e0614){const _0x9e8727=_0x5b4d61;super(),this[_0x9e8727(0x2eb)]=_0x1e0614,_0x53a461(this,_0x9e8727(0x2b0),new Map()),_0x53a461(this,_0x9e8727(0x341),new WeakMap()),_0x53a461(this,_0x9e8727(0xf1),new Map()),_0x53a461(this,'_projectedViewRowsCache',new Map()),_0x53a461(this,_0x9e8727(0x16d),new Map()),_0x53a461(this,_0x9e8727(0x43d),new Map()),_0x53a461(this,_0x9e8727(0x4f3),0x0),_0x53a461(this,_0x9e8727(0x38d),new Map()),_0x53a461(this,_0x9e8727(0x186),new Map()),_0x53a461(this,'_cellInvalidations',new Map()),_0x53a461(this,_0x9e8727(0x170),new Map());}['registerView'](_0x364bb9){const _0x222435=_0x5b4d61;return this['_views'][_0x222435(0x3e9)](_0x364bb9[_0x222435(0x4cd)],_0x364bb9),(0x0,_0x552f17[_0x222435(0x404)])(()=>this[_0x222435(0x2b0)]['delete'](_0x364bb9[_0x222435(0x4cd)]));}[_0x5b4d61(0x229)](_0xf35e57,_0x4857a4,_0xcc2d72){const _0x3ce354=_0x5b4d61;var _0x31e290,_0x42e12a,_0x2c53fb;return _0x44d452(_0x3ce354(0x3cd),()=>{const _0x4b63a6=_0x3ce354;let _0x394347=this[_0x4b63a6(0x339)](_0xf35e57,_0x4857a4,_0xcc2d72);if(_0x394347)return _0x394347;let _0x27c540=_0xf35e57['tables'][_0x4857a4],_0xa3ca75=_0x27c540==null?void 0x0:_0x27c540[_0x4b63a6(0x2ea)][_0xcc2d72];if(!_0x27c540||!_0xa3ca75)return this[_0x4b63a6(0x26d)](_0xf35e57,_0x4857a4,_0xcc2d72,{'type':_0x4b63a6(0x3d2),'viewType':(_0xa3ca75==null?void 0x0:_0xa3ca75[_0x4b63a6(0x4cd)])??_0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x48f)],'reason':_0x4b63a6(0x3b9)});let _0x19e987;switch(_0xa3ca75[_0x4b63a6(0x4cd)]){case _0x552f17[_0x4b63a6(0x2d5)]['Grid']:_0x19e987=this[_0x4b63a6(0x50f)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x374)]:_0x19e987=this[_0x4b63a6(0x319)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x493)]:_0x19e987=this[_0x4b63a6(0x322)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x2c4)]:_0x19e987=this[_0x4b63a6(0x39c)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)]['Gallery']:_0x19e987=this[_0x4b63a6(0x342)](_0x27c540,_0xa3ca75);break;default:_0x19e987={'type':_0x4b63a6(0x3d2),'viewType':_0xa3ca75[_0x4b63a6(0x4cd)],'reason':'missingField'};}return this['_setCachedProjection'](_0xf35e57,_0x4857a4,_0xcc2d72,_0x19e987);},{'tableId':_0x4857a4,'viewId':_0xcc2d72,'viewType':(_0x31e290=_0xf35e57[_0x3ce354(0x1e1)][_0x4857a4])==null||(_0x31e290=_0x31e290[_0x3ce354(0x2ea)][_0xcc2d72])==null?void 0x0:_0x31e290[_0x3ce354(0x4cd)],'records':((_0x42e12a=_0xf35e57[_0x3ce354(0x1e1)][_0x4857a4])==null||(_0x42e12a=_0x42e12a[_0x3ce354(0x52a)])==null?void 0x0:_0x42e12a[_0x3ce354(0x46a)])??Object['keys'](((_0x2c53fb=_0xf35e57[_0x3ce354(0x1e1)][_0x4857a4])==null?void 0x0:_0x2c53fb[_0x3ce354(0x29e)])??{})[_0x3ce354(0x46a)]});}['repairViewConfig'](_0x3c6542,_0x412239,_0x455dc5){const _0x2771f1=_0x5b4d61;var _0x58a58a,_0x261dc1,_0x125c34;let _0x89830f=_0x3c6542[_0x2771f1(0x1e1)][_0x412239],_0x1cce37=_0x89830f==null?void 0x0:_0x89830f[_0x2771f1(0x2ea)][_0x455dc5];if(!_0x89830f||!_0x1cce37)throw Error(_0x2771f1(0x50c)+_0x455dc5+'\x22.');let _0x5200cb=_0x5bd52b=>!!_0x89830f[_0x2771f1(0x3ec)][_0x5bd52b],_0x289530={..._0x1cce37,'filter':_0x1cce37[_0x2771f1(0x30a)]?{..._0x1cce37[_0x2771f1(0x30a)],'conditions':_0x1cce37['filter']['conditions'][_0x2771f1(0x30a)](_0x4631c7=>_0x5200cb(_0x4631c7[_0x2771f1(0x400)]))}:_0x1cce37[_0x2771f1(0x30a)],'sort':(_0x58a58a=_0x1cce37[_0x2771f1(0x3c2)])==null?void 0x0:_0x58a58a['filter'](_0x1e3485=>_0x5200cb(_0x1e3485['fieldId'])),'group':(_0x261dc1=_0x1cce37[_0x2771f1(0x2ab)])==null?void 0x0:_0x261dc1[_0x2771f1(0x30a)](_0x24a317=>_0x5200cb(_0x24a317[_0x2771f1(0x400)])),'fieldOrder':(_0x125c34=_0x1cce37[_0x2771f1(0x151)])==null?void 0x0:_0x125c34['filter'](_0x5200cb),'fieldSettings':Object[_0x2771f1(0x1b2)](Object[_0x2771f1(0x21f)](_0x1cce37[_0x2771f1(0x32b)]??{})['filter'](([_0x231437])=>_0x5200cb(_0x231437)))};if(_0x289530[_0x2771f1(0x4cd)]===_0x2771f1(0x355)){var _0x4a6157;let _0x4985da=_0x289530[_0x2771f1(0x340)]??{},_0x4d0c27=this[_0x2771f1(0x42c)](_0x89830f,_0x289530),_0x171886=this[_0x2771f1(0x3af)](_0x89830f,(_0x4a6157=_0x4985da[_0x2771f1(0x362)])==null?void 0x0:_0x4a6157[_0x2771f1(0x458)]);_0x289530[_0x2771f1(0x340)]={..._0x4985da,'groupFieldId':_0x4d0c27??_0x4985da['groupFieldId'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x89830f,_0x4985da),'cardLayout':_0x4985da[_0x2771f1(0x22b)]===_0x2771f1(0x283)?_0x2771f1(0x283):_0x2771f1(0x109),'showFieldNames':_0x4985da[_0x2771f1(0x485)]!==!0x1,'fieldSettings':Object[_0x2771f1(0x1b2)](Object[_0x2771f1(0x21f)](_0x4985da[_0x2771f1(0x32b)]??{})['filter'](([_0x331e2b])=>_0x5200cb(_0x331e2b))),'columnSettings':_0x4985da[_0x2771f1(0x3d9)]??{},'card':{..._0x4985da[_0x2771f1(0x362)]??{},'titleFieldId':_0x171886,'fieldIds':this[_0x2771f1(0x14b)](_0x89830f,_0x289530,_0x4d0c27??'',_0x171886)}};}return{'repaired':JSON[_0x2771f1(0x306)](_0x289530)!==JSON[_0x2771f1(0x306)](_0x1cce37),'view':_0x289530};}[_0x5b4d61(0x31e)](){const _0x1da582=_0x5b4d61;this[_0x1da582(0x4f3)]++;}['invalidateByCell'](_0x47def2,_0x42b850,_0x25b05b){const _0x50e882=_0x5b4d61;let _0x34e486=this[_0x50e882(0x542)](_0x47def2)+0x1;this[_0x50e882(0x186)]['set'](_0x47def2,_0x34e486);let _0x1277bf=this['_cellInvalidations']['get'](_0x47def2)??[];_0x1277bf[_0x50e882(0x36c)]({'revision':_0x34e486,'recordId':_0x42b850,'fieldId':_0x25b05b}),this[_0x50e882(0x14d)][_0x50e882(0x3e9)](_0x47def2,_0x1277bf);}[_0x5b4d61(0x246)](_0x36f1c3,_0x4c024f){const _0x160cb9=_0x5b4d61;this[_0x160cb9(0x1e9)](_0x36f1c3);}['invalidateByView'](_0xe632a8,_0x25f56e){const _0x2f1b90=_0x5b4d61;this['_viewRevisions'][_0x2f1b90(0x3e9)](this[_0x2f1b90(0x11a)](_0xe632a8,_0x25f56e),this[_0x2f1b90(0x3d4)](_0xe632a8,_0x25f56e)+0x1);}[_0x5b4d61(0x339)](_0x3dd480,_0x30fd2a,_0x36d581){const _0x2e0fac=_0x5b4d61;var _0x47b2b8;let _0x1a45ae=(_0x47b2b8=this[_0x2e0fac(0x341)][_0x2e0fac(0x3a4)](_0x3dd480))==null?void 0x0:_0x47b2b8[_0x2e0fac(0x3a4)](this[_0x2e0fac(0x381)](_0x30fd2a,_0x36d581));return _0x1a45ae&&_0x1a45ae[_0x2e0fac(0x387)]===this['_globalRevision']&&_0x1a45ae[_0x2e0fac(0x3d5)]===this[_0x2e0fac(0x54e)](_0x30fd2a)&&_0x1a45ae[_0x2e0fac(0x515)]===this['_getCellRevision'](_0x30fd2a)&&_0x1a45ae['viewRevision']===this[_0x2e0fac(0x3d4)](_0x30fd2a,_0x36d581)?_0x1a45ae[_0x2e0fac(0x2b7)]:null;}[_0x5b4d61(0x26d)](_0x52c793,_0x18edea,_0xf8f15c,_0x1219ef){const _0x1f1ecb=_0x5b4d61;let _0x2f15cb=this['_projectionCache'][_0x1f1ecb(0x3a4)](_0x52c793);return _0x2f15cb||(_0x2f15cb=new Map(),this['_projectionCache'][_0x1f1ecb(0x3e9)](_0x52c793,_0x2f15cb)),_0x2f15cb[_0x1f1ecb(0x3e9)](this[_0x1f1ecb(0x381)](_0x18edea,_0xf8f15c),{'projection':_0x1219ef,'globalRevision':this[_0x1f1ecb(0x4f3)],'tableRevision':this[_0x1f1ecb(0x54e)](_0x18edea),'cellRevision':this[_0x1f1ecb(0x542)](_0x18edea),'viewRevision':this[_0x1f1ecb(0x3d4)](_0x18edea,_0xf8f15c)}),_0x1219ef;}['_bumpTableRevision'](_0x4a65aa){const _0x2093f5=_0x5b4d61;this[_0x2093f5(0x38d)][_0x2093f5(0x3e9)](_0x4a65aa,this[_0x2093f5(0x54e)](_0x4a65aa)+0x1);}[_0x5b4d61(0x54e)](_0x42ed24){const _0x300d70=_0x5b4d61;return this['_tableRevisions'][_0x300d70(0x3a4)](_0x42ed24)??0x0;}['_getCellRevision'](_0xaeaf3){const _0x1e801f=_0x5b4d61;return this[_0x1e801f(0x186)][_0x1e801f(0x3a4)](_0xaeaf3)??0x0;}[_0x5b4d61(0x3d4)](_0x5c7dae,_0xe600d0){const _0x398fa5=_0x5b4d61;return this[_0x398fa5(0x170)][_0x398fa5(0x3a4)](this[_0x398fa5(0x11a)](_0x5c7dae,_0xe600d0))??0x0;}[_0x5b4d61(0x381)](_0x30fba5,_0x858904){return _0x30fba5+'\x00'+_0x858904;}[_0x5b4d61(0x159)](_0x576281,_0x35426c){const _0x18b6a0=_0x5b4d61;return _0x576281+'\x00'+this[_0x18b6a0(0x441)](_0x35426c);}[_0x5b4d61(0x21a)](_0x147d2a,_0x1faf79,_0x136784){const _0x5368d0=_0x5b4d61;return _0x147d2a+'\x00'+this[_0x5368d0(0x441)](_0x1faf79)+'\x00'+this[_0x5368d0(0x1d3)](_0x136784);}[_0x5b4d61(0x441)](_0x462b1f){const _0x54b75b=_0x5b4d61;return _0x462b1f?_0x5b2c38({'filter':_0x305fc0(_0x462b1f[_0x54b75b(0x30a)]),'sort':_0x356ffe(_0x462b1f['sort'])}):_0x54b75b(0x171);}['_groupConfigCacheSegment'](_0x413b72){const _0xbbba97=_0x5b4d61;return _0x5b2c38(_0x413b72['map'](_0x39a638=>({'fieldId':_0x39a638[_0xbbba97(0x400)],'direction':_0x39a638[_0xbbba97(0x37b)]??null})));}['_viewRevisionKey'](_0x2fba77,_0x4056a0){return _0x2fba77+'\x00'+_0x4056a0;}[_0x5b4d61(0x50f)](_0x275383,_0x2d0af8){const _0x496dff=_0x5b4d61;var _0x47aeb2;let _0x26d786=_0x5f3470(_0x275383),_0x138399=this[_0x496dff(0x272)](_0x275383,_0x2d0af8),_0x20b54a=(_0x47aeb2=_0x2d0af8['filter'])!=null&&_0x47aeb2['conditions'][_0x496dff(0x46a)]?this[_0x496dff(0x272)](_0x275383,{..._0x2d0af8,'filter':null}):_0x138399,_0x30158b=_0x28f5e1(this['_getHierarchyIndex'](_0x275383,_0x26d786,_0x2d0af8['id'],_0x20b54a['map'](_0x88307f=>_0x88307f['recordId'])),_0x20b54a,new Set(_0x138399[_0x496dff(0x3ab)](_0x1eedd3=>_0x1eedd3['recordId'])));return{'type':_0x552f17[_0x496dff(0x2d5)][_0x496dff(0x48f)],'fields':this[_0x496dff(0x161)](_0x275383,_0x2d0af8),'rows':_0x30158b[_0x496dff(0x21e)],'groups':this[_0x496dff(0x31b)](_0x275383,_0x2d0af8,_0x30158b[_0x496dff(0x21e)],_0x30158b[_0x496dff(0x445)]),'hierarchy':_0x30158b['hierarchy'],'frozenFieldCount':typeof _0x2d0af8[_0x496dff(0x340)]['frozenFieldCount']==_0x496dff(0x544)?_0x2d0af8['config']['frozenFieldCount']:0x0};}[_0x5b4d61(0x4ad)](_0x1549c1,_0x10259d,_0x5b29d9,_0x166a05){const _0x16df83=_0x5b4d61;let _0xdbb91a=_0x1549c1['id']+'\x00'+_0x10259d+'\x00'+_0x5b29d9,_0x543b57=this[_0x16df83(0x542)](_0x1549c1['id']),_0x282e90=this[_0x16df83(0x43d)][_0x16df83(0x3a4)](_0xdbb91a);if(_0x282e90&&_0x282e90['globalRevision']===this[_0x16df83(0x4f3)]&&_0x282e90['tableRevision']===this[_0x16df83(0x54e)](_0x1549c1['id'])&&_0x282e90[_0x16df83(0x324)][_0x16df83(0x46a)]===_0x166a05[_0x16df83(0x46a)]&&_0x282e90[_0x16df83(0x324)]['every']((_0x16e55d,_0x41fde0)=>_0x16e55d===_0x166a05[_0x41fde0])){if(_0x282e90[_0x16df83(0x515)]===_0x543b57&&_0x282e90[_0x16df83(0x481)]===_0x1549c1)return _0x282e90['index'];if(!this[_0x16df83(0x4db)](_0x1549c1['id'],_0x282e90[_0x16df83(0x515)],_0x543b57,new Set([_0x10259d])))return this[_0x16df83(0x43d)]['set'](_0xdbb91a,{..._0x282e90,'table':_0x1549c1,'cellRevision':_0x543b57}),_0x282e90[_0x16df83(0x4a8)];}let _0x1eaf83=_0x128f1a(_0x1549c1,_0x10259d,_0x166a05);return this[_0x16df83(0x43d)][_0x16df83(0x3e9)](_0xdbb91a,{'table':_0x1549c1,'index':_0x1eaf83,'orderedRecordIds':_0x166a05,'globalRevision':this[_0x16df83(0x4f3)],'tableRevision':this[_0x16df83(0x54e)](_0x1549c1['id']),'cellRevision':_0x543b57}),_0x1eaf83;}['_projectHierarchyGroups'](_0xe58403,_0x40a5f1,_0x121602,_0x336368){const _0x15f208=_0x5b4d61;var _0x2e70b4;if(!((_0x2e70b4=_0x40a5f1['group'])!=null&&_0x2e70b4[_0x15f208(0x46a)]))return[];let _0xf2cd89=new Map(_0x121602[_0x15f208(0x3ab)](_0x58b637=>[_0x58b637[_0x15f208(0x504)],_0x58b637])),_0x2fea5e=_0x336368[_0x15f208(0x209)]['flatMap'](_0x2a0a64=>{let _0x31c4f0=_0xf2cd89['get'](_0x2a0a64);return _0x31c4f0?[_0x31c4f0]:[];}),_0x449669=this[_0x15f208(0x2c3)](_0xe58403,_0x40a5f1,_0x2fea5e),_0x211997=new Map(_0x336368[_0x15f208(0x324)][_0x15f208(0x3ab)]((_0x32f423,_0x2989a1)=>[_0x32f423,_0x2989a1])),_0x3cae06=_0x320d1c=>{const _0x20b6dc=_0x15f208;let _0x4e3f36=_0x336368[_0x20b6dc(0x2de)][_0x320d1c],_0x456503=_0x211997[_0x20b6dc(0x3a4)](_0x320d1c)??-0x1;return _0x456503<0x0||!_0x4e3f36?[]:_0x336368[_0x20b6dc(0x324)][_0x20b6dc(0x25d)](_0x456503,_0x4e3f36['subtreeEndIndex']+0x1);},_0x37a180=_0x56242d=>{const _0xdea48=_0x15f208;var _0x110d89,_0x3a3dbc;return{..._0x56242d,'recordIds':(_0x110d89=_0x56242d[_0xdea48(0x20e)])!=null&&_0x110d89[_0xdea48(0x46a)]?_0x56242d[_0xdea48(0x2fd)]:_0x56242d[_0xdea48(0x2fd)][_0xdea48(0x4a0)](_0x3cae06),'children':(_0x3a3dbc=_0x56242d[_0xdea48(0x20e)])==null?void 0x0:_0x3a3dbc[_0xdea48(0x3ab)](_0x37a180)};};return _0x449669[_0x15f208(0x3ab)](_0x37a180);}[_0x5b4d61(0x322)](_0x3332d3,_0x3787f6){const _0x433908=_0x5b4d61;var _0x2c2e79;let _0xaf48bf=this[_0x433908(0x42c)](_0x3332d3,_0x3787f6),_0x4126c5=_0xaf48bf?_0x3332d3[_0x433908(0x3ec)][_0xaf48bf]:void 0x0;if(!_0x4126c5)return{'type':_0x433908(0x3d2),'viewType':_0x552f17[_0x433908(0x2d5)][_0x433908(0x493)],'reason':_0x433908(0x182),'fieldId':_0x3787f6['config'][_0x433908(0xf8)]};let _0x1b043f=this[_0x433908(0x272)](_0x3332d3,_0x3787f6),_0x35cd43=this[_0x433908(0x161)](_0x3332d3,_0x3787f6),_0x38de3b=_0x3787f6[_0x433908(0x340)]??{},_0x1f8082=this[_0x433908(0x3af)](_0x3332d3,(_0x2c2e79=_0x38de3b[_0x433908(0x362)])==null?void 0x0:_0x2c2e79[_0x433908(0x458)]),_0x58a7a4=this[_0x433908(0x14b)](_0x3332d3,_0x3787f6,_0x4126c5['id'],_0x1f8082),_0x404b12=new Map();if(_0x288df0(_0x3332d3,_0x4126c5['id'])){let _0x5df0ae=this[_0x433908(0x4ad)](_0x3332d3,_0x4126c5['id'],_0x3787f6['id'],_0x1b043f[_0x433908(0x3ab)](_0x3a71ee=>_0x3a71ee[_0x433908(0x504)])),_0x57ab31=new Map();return _0x1b043f[_0x433908(0x116)](_0x5d235e=>{const _0x21e784=_0x433908;let _0x5767ad=_0x5df0ae[_0x21e784(0x378)][_0x21e784(0x3a4)](_0x5d235e[_0x21e784(0x504)])??null,_0x542963=_0x5767ad??'',_0x5d5720=_0x5767ad?_0x3332d3[_0x21e784(0x29e)][_0x5767ad]:void 0x0,_0x23bc2c=_0x57ab31[_0x21e784(0x3a4)](_0x542963)??{'key':_0x542963,'title':_0x5d5720?String(_0x3b09d7(_0x3332d3,_0x5d5720['id'],_0x3332d3['primaryFieldId'])??_0x5767ad):this[_0x21e784(0x482)](_0x4126c5,_0x542963,_0x38de3b),'recordIds':[]};_0x23bc2c['recordIds'][_0x21e784(0x36c)](_0x5d235e[_0x21e784(0x504)]),_0x57ab31[_0x21e784(0x3e9)](_0x542963,_0x23bc2c);}),{'type':_0x552f17[_0x433908(0x2d5)][_0x433908(0x493)],'fields':_0x35cd43,'rows':_0x1b043f,'groups':[],'groupFieldId':_0x4126c5['id'],'titleFieldId':_0x1f8082,'coverFieldId':this[_0x433908(0x386)](_0x3332d3,_0x38de3b),'cardLayout':_0x38de3b[_0x433908(0x22b)]===_0x433908(0x283)?_0x433908(0x283):'normal','showFieldNames':_0x38de3b['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x58a7a4,'lanes':['',..._0x5df0ae[_0x433908(0x324)]][_0x433908(0x4a0)](_0x164eca=>{const _0x330342=_0x433908;let _0x4ae4d9=_0x57ab31['get'](_0x164eca);return _0x4ae4d9!=null&&_0x4ae4d9[_0x330342(0x2fd)][_0x330342(0x46a)]?[_0x4ae4d9]:[];})};}return this[_0x433908(0x3b3)](_0x4126c5,_0x38de3b)[_0x433908(0x116)](_0x4235df=>_0x404b12[_0x433908(0x3e9)](_0x4235df[_0x433908(0x483)],{..._0x4235df,'recordIds':[]})),_0x1b043f[_0x433908(0x116)](_0xa3aafc=>{const _0x319a76=_0x433908;this[_0x319a76(0x4e0)](_0x4126c5,_0xa3aafc['values'][_0x4126c5['id']])[_0x319a76(0x116)](_0x2fd2cf=>{const _0x50583e=_0x319a76;let _0x3815a5=_0x404b12[_0x50583e(0x3a4)](_0x2fd2cf)??{'key':_0x2fd2cf,'title':this['_kanbanLaneTitle'](_0x4126c5,_0x2fd2cf,_0x38de3b),'color':this['_kanbanLaneColor'](_0x4126c5,_0x2fd2cf,_0x38de3b),'recordIds':[]};_0x3815a5[_0x50583e(0x2fd)][_0x50583e(0x36c)](_0xa3aafc[_0x50583e(0x504)]),_0x404b12[_0x50583e(0x3e9)](_0x2fd2cf,_0x3815a5);});}),{'type':_0x552f17[_0x433908(0x2d5)][_0x433908(0x493)],'fields':_0x35cd43,'rows':_0x1b043f,'groups':this['_projectGroups'](_0x3332d3,_0x3787f6,_0x1b043f),'groupFieldId':_0x4126c5['id'],'titleFieldId':_0x1f8082,'coverFieldId':this[_0x433908(0x386)](_0x3332d3,_0x38de3b),'cardLayout':_0x38de3b['cardLayout']===_0x433908(0x283)?'compose':_0x433908(0x109),'showFieldNames':_0x38de3b['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x58a7a4,'lanes':Array['from'](_0x404b12['values']())};}[_0x5b4d61(0x42c)](_0xa5f093,_0x74887f){const _0x516ec8=_0x5b4d61;var _0x197966;let _0x40e5cb=(_0x197966=_0x74887f[_0x516ec8(0x340)])==null?void 0x0:_0x197966['groupFieldId'];return _0x40e5cb&&this['_isKanbanGroupField'](_0xa5f093,_0x40e5cb)?_0x40e5cb:this[_0x516ec8(0x140)](_0xa5f093,_0x36fcaa=>this['_isAllowedKanbanGroupField'](_0x36fcaa));}[_0x5b4d61(0x140)](_0x100329,_0x583eab){const _0x143ab4=_0x5b4d61;for(let _0x4b6f8f of _0x100329[_0x143ab4(0x151)]){let _0x22679f=_0x100329[_0x143ab4(0x3ec)][_0x4b6f8f];if(_0x22679f&&_0x583eab(_0x22679f))return _0x22679f['id'];}return null;}[_0x5b4d61(0x38f)](_0x3c5299,_0x1ebd87){const _0x313717=_0x5b4d61;let _0x5abcb2=_0x3c5299[_0x313717(0x3ec)][_0x1ebd87];return this['_isAllowedKanbanGroupField'](_0x5abcb2)||_0x288df0(_0x3c5299,_0x1ebd87);}[_0x5b4d61(0x2bb)](_0x182fb5){const _0x30775d=_0x5b4d61;return!!_0x182fb5&&(_0x182fb5[_0x30775d(0x4cd)]===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x38b)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x51a)]||_0x182fb5['type']===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x2dc)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17['BaseFieldType'][_0x30775d(0x430)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x220)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17['BaseFieldType'][_0x30775d(0x3ad)]);}[_0x5b4d61(0x239)](_0x965589){const _0x1c25a2=_0x5b4d61;return _0x965589[_0x1c25a2(0x4cd)]===_0x552f17[_0x1c25a2(0x22d)][_0x1c25a2(0x38b)]||_0x965589[_0x1c25a2(0x4cd)]===_0x552f17[_0x1c25a2(0x22d)][_0x1c25a2(0x51a)];}[_0x5b4d61(0x386)](_0x1f31cc,_0x291416){const _0x31554e=_0x5b4d61;var _0x4e9179;let _0x3181c6=_0x291416[_0x31554e(0x4f7)]??((_0x4e9179=_0x291416[_0x31554e(0x362)])==null?void 0x0:_0x4e9179[_0x31554e(0x4f7)])??null;if(!_0x3181c6)return null;let _0x2c0366=_0x1f31cc[_0x31554e(0x3ec)][_0x3181c6];return _0x2c0366&&this['_capabilities'](_0x2c0366)['usableAsCardCover']?_0x2c0366['id']:null;}[_0x5b4d61(0x14b)](_0x41242e,_0x98f0a7,_0x1c5201,_0x2b7979=this[_0x5b4d61(0x3af)](_0x41242e,((()=>{const _0x16cb56=_0x5b4d61;var _0x5989af;return(_0x5989af=_0x98f0a7[_0x16cb56(0x340)])==null||(_0x5989af=_0x5989af['card'])==null?void 0x0:_0x5989af[_0x16cb56(0x458)];})()))){const _0xef9052=_0x5b4d61;var _0x4b232e;let _0x42bb16=_0x98f0a7[_0xef9052(0x340)]??{},_0x11a562=(_0x4b232e=_0x42bb16[_0xef9052(0x362)])!=null&&(_0x4b232e=_0x4b232e[_0xef9052(0x301)])!=null&&_0x4b232e[_0xef9052(0x46a)]?_0x42bb16['card']['fieldIds']:_0x413d5e(_0x41242e,[_0x2b7979,_0x41242e[_0xef9052(0x3a1)],_0x1c5201]),_0x147cbb=_0x42bb16['fieldSettings']??{};return _0x11a562['filter'](_0x4ae0ff=>{const _0x35c777=_0xef9052;var _0x211448,_0x1981d4;let _0x4b825d=_0x41242e[_0x35c777(0x3ec)][_0x4ae0ff];return!(!_0x4b825d||_0x4b825d[_0x35c777(0x505)]===!0x0||_0x4b825d['type']===_0x552f17['BaseFieldType'][_0x35c777(0x500)]||_0x4b825d['id']===_0x1c5201||_0x4b825d['id']===_0x2b7979||(_0x211448=_0x98f0a7[_0x35c777(0x32b)])!=null&&(_0x211448=_0x211448[_0x4ae0ff])!=null&&_0x211448[_0x35c777(0x3ba)]||(_0x1981d4=_0x147cbb[_0x4ae0ff])!=null&&_0x1981d4[_0x35c777(0x3ba)]);})[_0xef9052(0x3c2)]((_0x2498f8,_0x593e15)=>{const _0x44b680=_0xef9052;var _0xa608fa,_0x3f617d;return(((_0xa608fa=_0x147cbb[_0x2498f8])==null?void 0x0:_0xa608fa['order'])??_0x11a562[_0x44b680(0x462)](_0x2498f8))-(((_0x3f617d=_0x147cbb[_0x593e15])==null?void 0x0:_0x3f617d[_0x44b680(0x221)])??_0x11a562[_0x44b680(0x462)](_0x593e15));});}[_0x5b4d61(0x3b3)](_0x70f048,_0x196168){const _0x494335=_0x5b4d61;var _0x2fb57e;let _0x52187f=(Array[_0x494335(0x3bc)]((_0x2fb57e=_0x70f048[_0x494335(0x340)])==null?void 0x0:_0x2fb57e[_0x494335(0x3ef)])?_0x70f048[_0x494335(0x340)][_0x494335(0x3ef)]:[])[_0x494335(0x4a0)]((_0x3fbe56,_0x901287)=>{const _0x14c33b=_0x494335;if(_0x3fbe56==null)return[];let _0x5677f7=typeof _0x3fbe56==_0x14c33b(0x525)?{'id':_0x3fbe56,'name':_0x3fbe56,'color':void 0x0}:_0x3fbe56,_0x1d8fea=String(_0x5677f7['id']??_0x5677f7['name']??_0x14c33b(0x3c0)+(_0x901287+0x1));return[{'key':_0x1d8fea,'title':String(_0x5677f7[_0x14c33b(0x288)]??_0x5677f7['id']??_0x1d8fea),'color':this['_kanbanLaneColor'](_0x70f048,_0x1d8fea,_0x196168)}];});return Object[_0x494335(0x21f)](_0x196168['columnSettings']??{})['forEach'](([_0x37511f,_0x123235])=>{const _0x6f10ae=_0x494335;_0x52187f[_0x6f10ae(0x166)](_0x57bad5=>_0x57bad5['key']===_0x37511f)||_0x52187f[_0x6f10ae(0x36c)]({'key':_0x37511f,'title':this[_0x6f10ae(0x239)](_0x70f048)?_0x123235[_0x6f10ae(0x1a5)]??this[_0x6f10ae(0x482)](_0x70f048,_0x37511f,_0x196168):this['_kanbanLaneTitle'](_0x70f048,_0x37511f,_0x196168),'color':this[_0x6f10ae(0x10d)](_0x70f048,_0x37511f,_0x196168)});}),_0x52187f;}['_kanbanGroupKeys'](_0x2ef046,_0x4db2f4){const _0x3cba98=_0x5b4d61;let _0x313af4=_0x5141c1=>{const _0x1ff477=_0x152e;var _0x2d1394;let _0x15b65=_0x5141c1==null?'':String(_0x5141c1);return!_0x15b65||!this[_0x1ff477(0x239)](_0x2ef046)?_0x15b65:((_0x2d1394=_0x449efc(_0x2ef046,_0x15b65))==null?void 0x0:_0x2d1394['id'])??_0x15b65;};if(Array[_0x3cba98(0x3bc)](_0x4db2f4)){let _0x5210f3=_0x4db2f4[_0x3cba98(0x3ab)](_0x313af4)[_0x3cba98(0x30a)](_0x69d291=>_0x69d291!=='');return _0x5210f3[_0x3cba98(0x46a)]?_0x5210f3:[''];}return[_0x313af4(_0x4db2f4)];}[_0x5b4d61(0x482)](_0x9e2cff,_0x4a00e0,_0x4ec168){const _0x128009=_0x5b4d61;if(!_0x4a00e0)return _0x128009(0x517);let _0x5a4c9c=_0x449efc(_0x9e2cff,_0x4a00e0);return(_0x5a4c9c==null?void 0x0:_0x5a4c9c['name'])??_0x4a00e0;}[_0x5b4d61(0x10d)](_0x126353,_0x3eaa17,_0x16f36b){const _0x31de0e=_0x5b4d61;var _0x267edb;if(this[_0x31de0e(0x239)](_0x126353))return(_0x267edb=_0x449efc(_0x126353,_0x3eaa17))==null?void 0x0:_0x267edb[_0x31de0e(0x187)];}[_0x5b4d61(0x39c)](_0x1a8c39,_0x3f0adc){const _0x553da0=_0x5b4d61;let _0x1475d0=this[_0x553da0(0x4f2)](_0x1a8c39,_0x3f0adc[_0x553da0(0x340)]??{}),_0xc794b=_0x1a8c39['fields'][_0x1475d0[_0x553da0(0x1f9)]];if(!_0xc794b||_0xc794b[_0x553da0(0x4cd)]!==_0x552f17['BaseFieldType'][_0x553da0(0x522)]||_0xc794b[_0x553da0(0x4e2)]===!0x0||_0xc794b[_0x553da0(0x505)]===!0x0||!this[_0x553da0(0x22c)](_0xc794b)[_0x553da0(0x12d)])return{'type':_0x553da0(0x3d2),'viewType':_0x552f17[_0x553da0(0x2d5)]['Calendar'],'reason':_0x553da0(0x470),'fieldId':_0x1475d0[_0x553da0(0x1f9)]};let _0x34afcb=_0x1475d0['endDateFieldId']?_0x1a8c39[_0x553da0(0x3ec)][_0x1475d0['endDateFieldId']]:void 0x0,_0x5db788=this['_projectRows'](_0x1a8c39,_0x3f0adc);return{'type':_0x552f17[_0x553da0(0x2d5)][_0x553da0(0x2c4)],'config':_0x1475d0,'fields':this['_projectFields'](_0x1a8c39,_0x3f0adc),'rows':_0x5db788,'groups':this[_0x553da0(0x2c3)](_0x1a8c39,_0x3f0adc,_0x5db788),'events':_0x5db788[_0x553da0(0x4a0)](_0x37d25f=>{const _0x2763b0=_0x553da0;let _0x18c0a2=_0x1c8cf1(_0x37d25f[_0x2763b0(0x4d1)][_0x1475d0[_0x2763b0(0x1f9)]]);if(!Number[_0x2763b0(0x326)](_0x18c0a2))return[];let _0x1ac7ca=_0x37d25f[_0x2763b0(0x4d1)][_0x1475d0[_0x2763b0(0x1f9)]],_0x75f566=_0x1475d0['endDateFieldId']==null?void 0x0:_0x37d25f[_0x2763b0(0x4d1)][_0x1475d0[_0x2763b0(0x2e1)]],_0x530a77=_0x1475d0[_0x2763b0(0x2e1)]==null?void 0x0:_0x1c8cf1(_0x75f566),_0x457cfd=Number['isFinite'](_0x530a77)?_0x530a77:void 0x0;return[{'recordId':_0x37d25f[_0x2763b0(0x504)],'title':this[_0x2763b0(0x2ac)](_0x1a8c39,_0x37d25f,_0x1475d0[_0x2763b0(0x458)]),'start':_0x18c0a2,'end':_0x457cfd,'color':this[_0x2763b0(0x2d3)](_0x1a8c39,_0x37d25f,_0x1475d0),'startMs':_0x18c0a2,'endMs':_0x457cfd,'allDay':this['_isAllDayCalendarEvent'](_0xc794b,_0x34afcb,_0x1ac7ca,_0x75f566),'fieldValues':_0x37d25f[_0x2763b0(0x4d1)]}];})};}['_normalizeCalendarConfig'](_0x114c13,_0x4f354b){const _0x48b4d2=_0x5b4d61;let _0x3b671f=this[_0x48b4d2(0x40d)](_0x114c13,_0x4f354b[_0x48b4d2(0x1f9)]),_0x376a22=_0x4f354b[_0x48b4d2(0x2e1)]&&this['_isCalendarDateField'](_0x114c13,_0x4f354b[_0x48b4d2(0x2e1)])?_0x4f354b['endDateFieldId']:this['_findCalendarDateFieldId'](_0x114c13,_0x3b671f)??void 0x0,_0x5c31ae=_0x4f354b[_0x48b4d2(0x458)]?_0x114c13[_0x48b4d2(0x3ec)][_0x4f354b[_0x48b4d2(0x458)]]:void 0x0,_0x460abf=_0x5c31ae&&_0x5c31ae[_0x48b4d2(0x505)]!==!0x0&&_0x5c31ae[_0x48b4d2(0x4cd)]!==_0x552f17[_0x48b4d2(0x22d)][_0x48b4d2(0x500)]?_0x4f354b[_0x48b4d2(0x458)]:_0x114c13[_0x48b4d2(0x3a1)],_0x13cb16=_0x4f354b['mode']===_0x48b4d2(0x407)||_0x4f354b[_0x48b4d2(0x233)]===_0x48b4d2(0x215)?_0x4f354b['mode']:_0x48b4d2(0x255),_0x34edbd=_0x4f354b[_0x48b4d2(0x4ed)]===_0x48b4d2(0x3a9)||_0x4f354b[_0x48b4d2(0x4ed)]==='long'?_0x4f354b['timeslotSize']:'medium',_0xbcabf2=typeof _0x4f354b[_0x48b4d2(0x36e)]=='string'&&_0x4f354b[_0x48b4d2(0x36e)][_0x48b4d2(0x104)]()?_0x4f354b['timeZone']:_0x48b4d2(0x3fc),_0x886f9=this[_0x48b4d2(0x1f7)](_0x114c13,_0x4f354b);return{..._0x4f354b,'startDateFieldId':_0x3b671f,'endDateFieldId':_0x376a22,'titleFieldId':_0x460abf,'mode':_0x13cb16,'timeslotSize':_0x34edbd,'timeZone':_0xbcabf2,'displayColor':_0x886f9,'fieldSettings':Object[_0x48b4d2(0x1b2)](Object['entries'](_0x4f354b['fieldSettings']??{})[_0x48b4d2(0x30a)](([_0x5639f2])=>{const _0x926f78=_0x48b4d2;let _0x20006e=_0x114c13[_0x926f78(0x3ec)][_0x5639f2];return!!(_0x20006e&&_0x20006e[_0x926f78(0x505)]!==!0x0&&_0x20006e[_0x926f78(0x4cd)]!==_0x552f17['BaseFieldType'][_0x926f78(0x500)]);}))};}[_0x5b4d61(0x40d)](_0x4ec02a,_0xb0c8e6){const _0x2b20f9=_0x5b4d61;return _0xb0c8e6&&this['_isCalendarDateField'](_0x4ec02a,_0xb0c8e6)?_0xb0c8e6:this[_0x2b20f9(0x2f0)](_0x4ec02a)??_0xb0c8e6??'';}[_0x5b4d61(0x2f0)](_0x46a777,_0x4ece8e){for(let _0x163cec of _0x46a777['fieldOrder'])if(_0x163cec!==_0x4ece8e&&this['_isCalendarDateField'](_0x46a777,_0x163cec))return _0x163cec;return null;}['_isCalendarDateField'](_0x28ad0b,_0x24d7ba){const _0xb466df=_0x5b4d61;let _0x38a0a0=_0x28ad0b[_0xb466df(0x3ec)][_0x24d7ba];return!!_0x38a0a0&&_0x38a0a0[_0xb466df(0x4cd)]===_0x552f17[_0xb466df(0x22d)][_0xb466df(0x522)]&&_0x38a0a0['readonly']!==!0x0&&_0x38a0a0['system']!==!0x0&&this[_0xb466df(0x22c)](_0x38a0a0)[_0xb466df(0x12d)];}[_0x5b4d61(0x1f7)](_0x11b685,_0x2ce491){const _0xc761f3=_0x5b4d61;let _0x1e600e=_0x2ce491[_0xc761f3(0x4fc)];if((_0x1e600e==null?void 0x0:_0x1e600e[_0xc761f3(0x4cd)])==='selectField'){let _0x11664f=_0x11b685[_0xc761f3(0x3ec)][_0x1e600e[_0xc761f3(0x400)]];if(_0x11664f&&_0x11664f[_0xc761f3(0x4cd)]===_0x552f17[_0xc761f3(0x22d)][_0xc761f3(0x38b)])return _0x1e600e;}if((_0x1e600e==null?void 0x0:_0x1e600e[_0xc761f3(0x4cd)])==='custom'&&typeof _0x1e600e['color']==_0xc761f3(0x525)&&_0x1e600e[_0xc761f3(0x187)][_0xc761f3(0x104)]())return{'type':'custom','color':_0x1e600e[_0xc761f3(0x187)]};if(_0x2ce491[_0xc761f3(0x4b4)]){let _0x1b7d5e=_0x11b685[_0xc761f3(0x3ec)][_0x2ce491[_0xc761f3(0x4b4)]];if(_0x1b7d5e&&_0x1b7d5e['type']===_0x552f17[_0xc761f3(0x22d)][_0xc761f3(0x38b)])return{'type':_0xc761f3(0x299),'fieldId':_0x2ce491[_0xc761f3(0x4b4)]};}return{'type':_0xc761f3(0x510),'color':_0xc761f3(0x4f4)};}[_0x5b4d61(0x2d3)](_0x5d75f4,_0x5c581b,_0x3ca125){const _0x2fd4fa=_0x5b4d61;let _0x3cefb4=_0x3ca125[_0x2fd4fa(0x4fc)];if((_0x3cefb4==null?void 0x0:_0x3cefb4[_0x2fd4fa(0x4cd)])==='selectField'){var _0x422ff3;let _0x595db8=_0x5d75f4[_0x2fd4fa(0x3ec)][_0x3cefb4['fieldId']];if(!_0x595db8)return;let _0xc18a86=_0x5c581b[_0x2fd4fa(0x4d1)][_0x3cefb4['fieldId']],_0x27d0a9=Array[_0x2fd4fa(0x3bc)](_0xc18a86)?_0xc18a86[0x0]:_0xc18a86;return _0x27d0a9==null||(_0x422ff3=_0x449efc(_0x595db8,String(_0x27d0a9)))==null?void 0x0:_0x422ff3[_0x2fd4fa(0x187)];}if((_0x3cefb4==null?void 0x0:_0x3cefb4[_0x2fd4fa(0x4cd)])===_0x2fd4fa(0x510))return _0x3cefb4['color'];}['_isAllDayCalendarEvent'](_0x1ef9c3,_0x5accd2,_0x39cd1a,_0x3d0078){const _0xdf023d=_0x5b4d61;var _0x6fef99,_0xae129d;let _0xe063a3=((_0x6fef99=_0x1ef9c3[_0xdf023d(0x340)])==null?void 0x0:_0x6fef99[_0xdf023d(0x1f8)])===!0x0,_0x52d52a=(_0x5accd2==null||(_0xae129d=_0x5accd2[_0xdf023d(0x340)])==null?void 0x0:_0xae129d[_0xdf023d(0x1f8)])===!0x0;return!_0xe063a3&&!_0x52d52a;}[_0x5b4d61(0x2c1)](_0x521d0e,_0x2336d7){const _0x2f1fbb=_0x5b4d61;var _0x5de334,_0x56a66d;let _0x15b7d6=((_0x5de334=_0x521d0e[_0x2f1fbb(0x340)])==null?void 0x0:_0x5de334[_0x2f1fbb(0x1f8)])===!0x0,_0x4c9eaa=((_0x56a66d=_0x2336d7[_0x2f1fbb(0x340)])==null?void 0x0:_0x56a66d[_0x2f1fbb(0x1f8)])===!0x0;return!_0x15b7d6&&!_0x4c9eaa;}[_0x5b4d61(0x319)](_0x38a978,_0x3f3eac){const _0x3ce3ba=_0x5b4d61;let _0x5f17b2=this[_0x3ce3ba(0x191)](_0x38a978,_0x3f3eac[_0x3ce3ba(0x340)]),_0x3e5a5f=_0x38a978[_0x3ce3ba(0x3ec)][_0x5f17b2['startDateFieldId']];if(!_0x3e5a5f||_0x3e5a5f[_0x3ce3ba(0x4cd)]!==_0x552f17[_0x3ce3ba(0x22d)][_0x3ce3ba(0x522)]||_0x3e5a5f[_0x3ce3ba(0x4e2)]===!0x0||_0x3e5a5f[_0x3ce3ba(0x505)]===!0x0||!this[_0x3ce3ba(0x22c)](_0x3e5a5f)[_0x3ce3ba(0x34d)])return{'type':_0x3ce3ba(0x3d2),'viewType':_0x552f17[_0x3ce3ba(0x2d5)][_0x3ce3ba(0x374)],'reason':'invalidGanttStartField','fieldId':_0x5f17b2['startDateFieldId']};let _0x1cbfc7=_0x38a978['fields'][_0x5f17b2[_0x3ce3ba(0x2e1)]];if(!_0x1cbfc7||_0x1cbfc7[_0x3ce3ba(0x4cd)]!==_0x552f17[_0x3ce3ba(0x22d)][_0x3ce3ba(0x522)]||_0x1cbfc7[_0x3ce3ba(0x4e2)]===!0x0||_0x1cbfc7[_0x3ce3ba(0x505)]===!0x0||!this[_0x3ce3ba(0x22c)](_0x1cbfc7)[_0x3ce3ba(0x1bc)])return{'type':_0x3ce3ba(0x3d2),'viewType':_0x552f17[_0x3ce3ba(0x2d5)][_0x3ce3ba(0x374)],'reason':_0x3ce3ba(0x47e),'fieldId':_0x5f17b2[_0x3ce3ba(0x2e1)]};let _0x2c8ed7=this[_0x3ce3ba(0x2c1)](_0x3e5a5f,_0x1cbfc7),_0x1daaa0=this[_0x3ce3ba(0x272)](_0x38a978,_0x3f3eac),_0x59586c=_0x1daaa0[_0x3ce3ba(0x4a0)](_0xd44a12=>{const _0x27e0c3=_0x3ce3ba;let _0x56837f=_0x1c8cf1(_0xd44a12['values'][_0x5f17b2[_0x27e0c3(0x1f9)]]),_0x1286d1=_0x1c8cf1(_0xd44a12[_0x27e0c3(0x4d1)][_0x5f17b2[_0x27e0c3(0x2e1)]]);if(!Number[_0x27e0c3(0x326)](_0x56837f)||!Number['isFinite'](_0x1286d1))return[];let _0x52a290=Math[_0x27e0c3(0x3b5)](_0x56837f,_0x1286d1),_0x57b12a=Math[_0x27e0c3(0x3bd)](_0x56837f,_0x1286d1),_0x58c7e4=_0x5f17b2['progressFieldId']==null?void 0x0:Number(_0xd44a12['values'][_0x5f17b2[_0x27e0c3(0x3b1)]]);return[{'recordId':_0xd44a12[_0x27e0c3(0x504)],'title':this[_0x27e0c3(0x2ac)](_0x38a978,_0xd44a12,_0x5f17b2[_0x27e0c3(0x458)]),'start':_0x52a290,'end':_0x57b12a,'color':this[_0x27e0c3(0x496)](_0x38a978,_0xd44a12,_0x5f17b2),'progress':Number[_0x27e0c3(0x326)](_0x58c7e4)?_0x58c7e4:void 0x0,'workingDayCount':_0x5f17b2[_0x27e0c3(0x428)]?_0x3fbe15(_0x52a290,_0x57b12a,_0x5f17b2['workingDays']):void 0x0,'dependencyRecordIds':this[_0x27e0c3(0x426)](_0xd44a12[_0x27e0c3(0x4d1)][_0x5f17b2[_0x27e0c3(0x15e)]??''])}];}),_0x354b58=_0x59586c[_0x3ce3ba(0x46a)]?_0x57dfdc(Math[_0x3ce3ba(0x3b5)](..._0x59586c[_0x3ce3ba(0x3ab)](_0x176b1b=>_0x176b1b[_0x3ce3ba(0x143)]))-0x5a*_0x3d5047):_0x57dfdc(Date['now']()-0x5a*_0x3d5047),_0x4b07c4=_0x59586c[_0x3ce3ba(0x46a)]?_0x57dfdc(Math[_0x3ce3ba(0x3bd)](..._0x59586c[_0x3ce3ba(0x3ab)](_0x2617a9=>_0x2617a9[_0x3ce3ba(0x1fd)]))+0x5b*_0x3d5047):_0x57dfdc(Date[_0x3ce3ba(0x1ca)]()+0x5b*_0x3d5047),_0x1dd3f0=_0x198ab2(_0x5f17b2[_0x3ce3ba(0x1f0)],_0x354b58,_0x4b07c4,_0x5f17b2[_0x3ce3ba(0x428)]?_0x5f17b2[_0x3ce3ba(0x1bf)]:void 0x0);return{'type':_0x552f17[_0x3ce3ba(0x2d5)][_0x3ce3ba(0x374)],'fields':this['_projectFields'](_0x38a978,{..._0x3f3eac,'config':_0x5f17b2}),'rows':_0x1daaa0,'groups':this['_projectGroups'](_0x38a978,_0x3f3eac,_0x1daaa0),'config':_0x5f17b2,'dateRangeAllDay':_0x2c8ed7,'timeline':{'scale':_0x5f17b2[_0x3ce3ba(0x1f0)],'start':_0x354b58,'end':_0x4b07c4,'unitWidth':_0x1dd3f0[_0x3ce3ba(0x285)],'majorHeaders':_0x1dd3f0[_0x3ce3ba(0x27a)],'columns':_0x1dd3f0[_0x3ce3ba(0x28d)]},'bars':_0x59586c};}['_normalizeGanttConfig'](_0x195219,_0x5afb1d){const _0x5177a0=_0x5b4d61;let _0x139ef6=this['_resolveGanttDateFieldId'](_0x195219,_0x5afb1d['startDateFieldId'],_0x5177a0(0x143)),_0x34b603=this['_resolveGanttDateFieldId'](_0x195219,_0x5afb1d[_0x5177a0(0x2e1)],_0x5177a0(0x1fd))||_0x139ef6,_0x35d342=_0x5afb1d['titleFieldId']?_0x195219['fields'][_0x5afb1d[_0x5177a0(0x458)]]:void 0x0,_0xbfda02=_0x35d342&&_0x35d342[_0x5177a0(0x505)]!==!0x0&&_0x35d342[_0x5177a0(0x4cd)]!==_0x552f17['BaseFieldType'][_0x5177a0(0x500)]?_0x5afb1d['titleFieldId']:_0x195219[_0x5177a0(0x3a1)],_0x4e9d95=_0x5afb1d[_0x5177a0(0x1f0)]===_0x5177a0(0x215)||_0x5afb1d['scale']===_0x5177a0(0x32c)||_0x5afb1d[_0x5177a0(0x1f0)]===_0x5177a0(0x4d2)?_0x5afb1d['scale']:'month',_0x98557a=_0x21ec73(_0x5afb1d[_0x5177a0(0x1bf)]);return{..._0x5afb1d,'startDateFieldId':_0x139ef6,'endDateFieldId':_0x34b603,'titleFieldId':_0xbfda02,'scale':_0x4e9d95,'leftPaneWidth':typeof _0x5afb1d[_0x5177a0(0x365)]=='number'?_0x5afb1d[_0x5177a0(0x365)]:void 0x0,'leftPaneCollapsed':_0x5afb1d[_0x5177a0(0x45a)]===!0x0,'showTodayLine':_0x5afb1d['showTodayLine']!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x195219,_0x5afb1d),'fieldSettings':Object[_0x5177a0(0x1b2)](Object[_0x5177a0(0x21f)](_0x5afb1d[_0x5177a0(0x32b)]??{})[_0x5177a0(0x30a)](([_0x295d2d])=>{const _0x50ad5b=_0x5177a0;let _0x1e8ee1=_0x195219['fields'][_0x295d2d];return!!(_0x1e8ee1&&_0x1e8ee1['system']!==!0x0&&_0x1e8ee1[_0x50ad5b(0x4cd)]!==_0x552f17[_0x50ad5b(0x22d)][_0x50ad5b(0x500)]);})),'workingDaysOnly':_0x5afb1d[_0x5177a0(0x428)]===!0x0,'workingDays':_0x98557a};}[_0x5b4d61(0x1a3)](_0x47965b,_0x4c45c4,_0x1b42d8){const _0x223f2f=_0x5b4d61;if(_0x4c45c4&&this[_0x223f2f(0x148)](_0x47965b,_0x4c45c4,_0x1b42d8)||_0x4c45c4)return _0x4c45c4;for(let _0x5712e9 of _0x47965b[_0x223f2f(0x151)])if(this[_0x223f2f(0x148)](_0x47965b,_0x5712e9,_0x1b42d8))return _0x5712e9;return _0x4c45c4??'';}[_0x5b4d61(0x148)](_0x114f54,_0xc3d31b,_0x28e65b){const _0x1b666f=_0x5b4d61;let _0x4a0b00=_0x114f54[_0x1b666f(0x3ec)][_0xc3d31b];if(!_0x4a0b00||_0x4a0b00[_0x1b666f(0x4cd)]!==_0x552f17['BaseFieldType'][_0x1b666f(0x522)]||_0x4a0b00[_0x1b666f(0x4e2)]===!0x0||_0x4a0b00[_0x1b666f(0x505)]===!0x0)return!0x1;let _0x5b6233=this[_0x1b666f(0x22c)](_0x4a0b00);return _0x28e65b===_0x1b666f(0x143)?_0x5b6233[_0x1b666f(0x34d)]:_0x5b6233[_0x1b666f(0x1bc)];}[_0x5b4d61(0x466)](_0x385d1b,_0xd1ecc7){const _0x580242=_0x5b4d61;let _0x200d8c=_0xd1ecc7['displayColor'];if((_0x200d8c==null?void 0x0:_0x200d8c[_0x580242(0x4cd)])===_0x580242(0x299)){let _0x406cef=_0x385d1b['fields'][_0x200d8c[_0x580242(0x400)]];if(_0x406cef&&_0x406cef[_0x580242(0x4cd)]===_0x552f17[_0x580242(0x22d)][_0x580242(0x38b)])return _0x200d8c;}return(_0x200d8c==null?void 0x0:_0x200d8c['type'])===_0x580242(0x118)&&Array[_0x580242(0x3bc)](_0x200d8c[_0x580242(0x2b9)])?{'type':_0x580242(0x118),'rules':_0x200d8c[_0x580242(0x2b9)][_0x580242(0x30a)](_0x5b7919=>!!_0x385d1b['fields'][_0x5b7919[_0x580242(0x400)]])}:(_0x200d8c==null?void 0x0:_0x200d8c[_0x580242(0x4cd)])===_0x580242(0x510)&&typeof _0x200d8c[_0x580242(0x187)]==_0x580242(0x525)&&_0x200d8c['color'][_0x580242(0x104)]()?{'type':_0x580242(0x510),'color':_0x200d8c['color']}:{'type':_0x580242(0x510),'color':_0x580242(0x258)};}[_0x5b4d61(0x496)](_0x443723,_0x2823a5,_0x22ab7){const _0x364690=_0x5b4d61;let _0x2e7c0f=_0x22ab7['displayColor'];if((_0x2e7c0f==null?void 0x0:_0x2e7c0f[_0x364690(0x4cd)])===_0x364690(0x118)){let _0x5bec32=_0x2e7c0f['rules'][_0x364690(0x2f8)](_0x302082=>this['_matchesGanttColorRule'](_0x443723,_0x2823a5,_0x302082));if(_0x5bec32)return _0x5bec32['color'];}if((_0x2e7c0f==null?void 0x0:_0x2e7c0f['type'])===_0x364690(0x299)){let _0x52f28d=_0x443723['fields'][_0x2e7c0f[_0x364690(0x400)]];if(_0x52f28d){var _0x1347fb;let _0x27a82b=_0x2823a5['values'][_0x2e7c0f['fieldId']],_0x33ff0a=Array['isArray'](_0x27a82b)?_0x27a82b[0x0]:_0x27a82b,_0x48d266=_0x33ff0a==null||(_0x1347fb=_0x449efc(_0x52f28d,String(_0x33ff0a)))==null?void 0x0:_0x1347fb['color'];if(_0x48d266)return _0x48d266;}}return(_0x2e7c0f==null?void 0x0:_0x2e7c0f['type'])===_0x364690(0x510)?_0x2e7c0f[_0x364690(0x187)]:_0x364690(0x258);}['_matchesGanttColorRule'](_0x52c272,_0x146293,_0x23b1b8){const _0x166250=_0x5b4d61;let _0x2624d8=_0x52c272[_0x166250(0x3ec)][_0x23b1b8[_0x166250(0x400)]];return _0x2624d8?_0x255362(_0x146293[_0x166250(0x4d1)][_0x2624d8['id']],_0x23b1b8['operator'],_0x23b1b8[_0x166250(0x40e)],_0x2624d8,{'dateMode':_0x23b1b8['dateMode']}):!0x1;}['_buildGallery'](_0x2600a4,_0x22b19f){const _0x2fb919=_0x5b4d61;let _0x5bbe35=this[_0x2fb919(0x272)](_0x2600a4,_0x22b19f),_0x512a12=this[_0x2fb919(0x250)](_0x2600a4,_0x22b19f[_0x2fb919(0x340)]??{}),_0x5870ab=this[_0x2fb919(0x161)](_0x2600a4,_0x22b19f);return{'type':_0x552f17['BaseViewType'][_0x2fb919(0x15b)],'fields':_0x5870ab,'rows':_0x5bbe35,'groups':this[_0x2fb919(0x2c3)](_0x2600a4,_0x22b19f,_0x5bbe35),'titleFieldId':_0x512a12['card'][_0x2fb919(0x458)],'coverFieldId':_0x512a12['coverFieldId'],'cardLayout':_0x512a12['cardLayout']??_0x2fb919(0x109),'showFieldNames':_0x512a12[_0x2fb919(0x485)]!==!0x1,'visibleCardFieldIds':this[_0x2fb919(0x403)](_0x2600a4,_0x22b19f,_0x512a12),'cardSize':_0x512a12[_0x2fb919(0x51c)]??_0x2fb919(0x260),'cards':_0x5bbe35['map'](_0x26a2ff=>({'recordId':_0x26a2ff[_0x2fb919(0x504)],'title':this[_0x2fb919(0x2ac)](_0x2600a4,_0x26a2ff,_0x512a12['card']['titleFieldId']),'values':_0x26a2ff['values']}))};}[_0x5b4d61(0x250)](_0x2cf612,_0xbfa22c){const _0x4d0b8c=_0x5b4d61;let _0x4b592e=_0xbfa22c[_0x4d0b8c(0x362)]??{'fieldIds':[]},_0x36fe14=this[_0x4d0b8c(0x3af)](_0x2cf612,_0x4b592e[_0x4d0b8c(0x458)]),_0x3ad0f1=this[_0x4d0b8c(0x100)](_0x2cf612,_0xbfa22c),_0x521a71=_0xbfa22c[_0x4d0b8c(0x51c)]===_0x4d0b8c(0x3c1)||_0xbfa22c[_0x4d0b8c(0x51c)]===_0x4d0b8c(0x4ff)?_0xbfa22c[_0x4d0b8c(0x51c)]:_0x4d0b8c(0x260);return{..._0xbfa22c,'coverFieldId':_0x3ad0f1,'cardLayout':_0xbfa22c['cardLayout']==='compose'?_0x4d0b8c(0x283):_0x4d0b8c(0x109),'showFieldNames':_0xbfa22c[_0x4d0b8c(0x485)]!==!0x1,'fieldSettings':Object[_0x4d0b8c(0x1b2)](Object[_0x4d0b8c(0x21f)](_0xbfa22c[_0x4d0b8c(0x32b)]??{})['filter'](([_0x578196])=>{const _0x22f223=_0x4d0b8c;let _0x2e7ae0=_0x2cf612[_0x22f223(0x3ec)][_0x578196];return!!(_0x2e7ae0&&_0x2e7ae0[_0x22f223(0x505)]!==!0x0&&_0x2e7ae0[_0x22f223(0x4cd)]!==_0x552f17[_0x22f223(0x22d)][_0x22f223(0x500)]);})),'card':{..._0x4b592e,'titleFieldId':_0x36fe14,'coverFieldId':_0x3ad0f1,'fieldIds':Array[_0x4d0b8c(0x3bc)](_0x4b592e[_0x4d0b8c(0x301)])?_0x4b592e['fieldIds']:[]},'cardSize':_0x521a71};}[_0x5b4d61(0x3af)](_0x3bd0a6,_0x37104b){const _0x26e95b=_0x5b4d61;let _0x53d9f1=_0x37104b?_0x3bd0a6[_0x26e95b(0x3ec)][_0x37104b]:void 0x0;return _0x53d9f1&&_0x53d9f1[_0x26e95b(0x505)]!==!0x0&&_0x53d9f1[_0x26e95b(0x4cd)]!==_0x552f17[_0x26e95b(0x22d)][_0x26e95b(0x500)]?_0x53d9f1['id']:_0x4a71ef(_0x3bd0a6);}[_0x5b4d61(0x100)](_0x2f05fe,_0x4461f5){const _0x6d921c=_0x5b4d61;var _0x16ea34;let _0x6deb4c=_0x4461f5['coverFieldId']??((_0x16ea34=_0x4461f5['card'])==null?void 0x0:_0x16ea34[_0x6d921c(0x4f7)])??null;if(!_0x6deb4c)return null;let _0x3197ad=_0x2f05fe[_0x6d921c(0x3ec)][_0x6deb4c];return _0x3197ad&&this['_capabilities'](_0x3197ad)[_0x6d921c(0x528)]?_0x3197ad['id']:null;}[_0x5b4d61(0x403)](_0x1e26a6,_0x5dc197,_0x29be0e){const _0x1dee2a=_0x5b4d61;var _0x25fc35,_0x1378fd,_0x5b1f57;let _0x37202b=_0x29be0e[_0x1dee2a(0x32b)]??{},_0x4835cf=((_0x25fc35=_0x29be0e[_0x1dee2a(0x362)])==null?void 0x0:_0x25fc35[_0x1dee2a(0x458)])??_0x4a71ef(_0x1e26a6),_0x761327=_0x29be0e[_0x1dee2a(0x4f7)]??((_0x1378fd=_0x29be0e[_0x1dee2a(0x362)])==null?void 0x0:_0x1378fd[_0x1dee2a(0x4f7)])??null,_0xcea1c6=(_0x5b1f57=_0x29be0e['card'])!=null&&(_0x5b1f57=_0x5b1f57[_0x1dee2a(0x301)])!=null&&_0x5b1f57[_0x1dee2a(0x46a)]?_0x29be0e[_0x1dee2a(0x362)][_0x1dee2a(0x301)]:_0x413d5e(_0x1e26a6,[_0x4835cf,_0x761327,_0x1e26a6['primaryFieldId']]);return _0xcea1c6[_0x1dee2a(0x30a)](_0x30da04=>{const _0x4cd013=_0x1dee2a;var _0x910c2,_0x57e212;let _0x5cd4f0=_0x1e26a6['fields'][_0x30da04];return!(!_0x5cd4f0||_0x5cd4f0[_0x4cd013(0x505)]===!0x0||_0x5cd4f0[_0x4cd013(0x4cd)]===_0x552f17[_0x4cd013(0x22d)][_0x4cd013(0x500)]||_0x5cd4f0['id']===_0x4835cf||_0x5cd4f0['id']===_0x761327||(_0x910c2=_0x5dc197[_0x4cd013(0x32b)])!=null&&(_0x910c2=_0x910c2[_0x30da04])!=null&&_0x910c2[_0x4cd013(0x3ba)]||(_0x57e212=_0x37202b[_0x30da04])!=null&&_0x57e212[_0x4cd013(0x3ba)]);})[_0x1dee2a(0x3c2)]((_0x5663ce,_0x5efc72)=>{const _0x2e1574=_0x1dee2a;var _0x55c69f,_0x2c7254;return(((_0x55c69f=_0x37202b[_0x5663ce])==null?void 0x0:_0x55c69f[_0x2e1574(0x221)])??_0xcea1c6[_0x2e1574(0x462)](_0x5663ce))-(((_0x2c7254=_0x37202b[_0x5efc72])==null?void 0x0:_0x2c7254[_0x2e1574(0x221)])??_0xcea1c6[_0x2e1574(0x462)](_0x5efc72));});}[_0x5b4d61(0x161)](_0x5bd1c5,_0x334ffe){const _0x41c792=_0x5b4d61;var _0x5dce1e;return((_0x5dce1e=_0x334ffe[_0x41c792(0x151)])!=null&&_0x5dce1e[_0x41c792(0x46a)]?_0x334ffe['fieldOrder']:_0x5bd1c5[_0x41c792(0x151)])[_0x41c792(0x4a0)](_0x595d36=>{const _0x360341=_0x41c792;var _0x64cfc6;let _0x9992c9=_0x5bd1c5['fields'][_0x595d36],_0x312be8=((_0x64cfc6=_0x334ffe['fieldSettings'])==null?void 0x0:_0x64cfc6[_0x595d36])??{};return!_0x9992c9||_0x9992c9[_0x360341(0x505)]===!0x0||_0x9992c9['type']===_0x552f17[_0x360341(0x22d)][_0x360341(0x500)]||_0x312be8[_0x360341(0x3ba)]?[]:[{'id':_0x9992c9['id'],'name':_0x9992c9['name'],'description':_0x9992c9[_0x360341(0x13d)],'type':_0x9992c9[_0x360341(0x4cd)],'config':_0x9992c9[_0x360341(0x340)],'width':_0x312be8[_0x360341(0x213)],'setting':_0x312be8}];});}[_0x5b4d61(0x272)](_0x344fcc,_0x4eeeba){const _0x289459=_0x5b4d61;var _0x4bb8e8;return _0x44d452(_0x289459(0x29f),()=>{const _0x272a76=_0x289459;var _0x1f1f5d,_0x3093e0;let _0x3ddc6a=this['_projectTableRows'](_0x344fcc),_0x3045a2=this[_0x272a76(0x159)](_0x344fcc['id'],_0x4eeeba),_0x64c0d3=this[_0x272a76(0x542)](_0x344fcc['id']),_0x54449c=this[_0x272a76(0x36b)]['get'](_0x3045a2);if(_0x54449c&&_0x54449c['globalRevision']===this[_0x272a76(0x4f3)]&&_0x54449c[_0x272a76(0x3d5)]===this[_0x272a76(0x54e)](_0x344fcc['id'])){if(_0x54449c[_0x272a76(0x515)]===_0x64c0d3&&_0x54449c[_0x272a76(0x345)]===_0x3ddc6a)return _0x54449c[_0x272a76(0x21e)];if(_0x54449c[_0x272a76(0x515)]!==_0x64c0d3&&!this['_cellInvalidationsTouchFields'](_0x344fcc['id'],_0x54449c[_0x272a76(0x515)],_0x64c0d3,this[_0x272a76(0x348)](_0x4eeeba))){let _0x3df207=_0x54449c[_0x272a76(0x21e)]===_0x54449c['baseRows']?_0x3ddc6a:this['_patchCachedProjectedRows'](_0x54449c['rows'],_0x3ddc6a);if(_0x3df207)return this[_0x272a76(0x36b)][_0x272a76(0x3e9)](_0x3045a2,{..._0x54449c,'rows':_0x3df207,'baseRows':_0x3ddc6a,'cellRevision':_0x64c0d3}),_0x3df207;}}let _0x9fcb9d=_0x44d452(_0x272a76(0x1c7),()=>this[_0x272a76(0x4fd)](_0x344fcc,_0x4eeeba,this['_filterRows'](_0x344fcc,_0x4eeeba,_0x3ddc6a)),{'tableId':_0x344fcc['id'],'viewId':_0x4eeeba==null?void 0x0:_0x4eeeba['id'],'viewType':_0x4eeeba==null?void 0x0:_0x4eeeba[_0x272a76(0x4cd)],'rows':_0x3ddc6a[_0x272a76(0x46a)],'filters':(_0x4eeeba==null||(_0x1f1f5d=_0x4eeeba[_0x272a76(0x30a)])==null?void 0x0:_0x1f1f5d[_0x272a76(0x323)]['length'])??0x0,'sorts':(_0x4eeeba==null||(_0x3093e0=_0x4eeeba['sort'])==null?void 0x0:_0x3093e0[_0x272a76(0x46a)])??0x0});return this[_0x272a76(0x36b)][_0x272a76(0x3e9)](_0x3045a2,{'table':_0x344fcc,'rows':_0x9fcb9d,'baseRows':_0x3ddc6a,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x272a76(0x54e)](_0x344fcc['id']),'cellRevision':_0x64c0d3}),_0x9fcb9d;},{'tableId':_0x344fcc['id'],'viewId':_0x4eeeba==null?void 0x0:_0x4eeeba['id'],'viewType':_0x4eeeba==null?void 0x0:_0x4eeeba[_0x289459(0x4cd)],'records':((_0x4bb8e8=_0x344fcc[_0x289459(0x52a)])==null?void 0x0:_0x4bb8e8[_0x289459(0x46a)])??Object[_0x289459(0x1bd)](_0x344fcc['records']??{})[_0x289459(0x46a)]});}[_0x5b4d61(0x350)](_0x326bd0){const _0x236392=_0x5b4d61;var _0xbaeee1;return _0x44d452('BaseProjection.projectTableRows',()=>{const _0x13785a=_0x152e;var _0x115c10;let _0x5b6ffe=this[_0x13785a(0x542)](_0x326bd0['id']),_0x2df3f8=this['_projectedRowsCache'][_0x13785a(0x3a4)](_0x326bd0['id']);if(_0x2df3f8&&_0x2df3f8['globalRevision']===this[_0x13785a(0x4f3)]&&_0x2df3f8[_0x13785a(0x3d5)]===this[_0x13785a(0x54e)](_0x326bd0['id'])){if(_0x2df3f8[_0x13785a(0x515)]===_0x5b6ffe&&_0x4e15b1(_0x2df3f8[_0x13785a(0x481)],_0x326bd0))return _0x2df3f8[_0x13785a(0x481)]=_0x326bd0,_0x2df3f8[_0x13785a(0x21e)];let _0x43a40a=this['_patchProjectedRowsForCellInvalidations'](_0x326bd0,_0x2df3f8,_0x5b6ffe);if(_0x43a40a)return _0x43a40a;}_0x3f93dd(_0x326bd0)||_0x2c21a9(_0x326bd0);let _0x3aa119=(_0x115c10=_0x326bd0['recordOrder'])!=null&&_0x115c10[_0x13785a(0x46a)]?_0x326bd0['recordOrder']:_0x4dd9e4(_0x326bd0[_0x13785a(0x29e)]),_0xe11f18=_0x44d452(_0x13785a(0x293),()=>{const _0x51508d=_0x13785a;let _0x3414ab=[];for(let _0x5ee460 of _0x3aa119){let _0x21b10b=_0x326bd0[_0x51508d(0x29e)][_0x5ee460];if(!_0x21b10b)continue;let _0x2724a0={};for(let _0x4bf13d of _0x326bd0[_0x51508d(0x151)])_0x2724a0[_0x4bf13d]=_0x3b09d7(_0x326bd0,_0x21b10b['id'],_0x4bf13d);_0x3414ab[_0x51508d(0x36c)]({'recordId':_0x21b10b['id'],'values':_0x2724a0});}return _0x3414ab;},{'tableId':_0x326bd0['id'],'records':_0x3aa119[_0x13785a(0x46a)],'fields':_0x326bd0[_0x13785a(0x151)][_0x13785a(0x46a)]});return this[_0x13785a(0xf1)][_0x13785a(0x3e9)](_0x326bd0['id'],{'table':_0x326bd0,'rows':_0xe11f18,'rowIndexById':_0x148d6f(_0xe11f18),'globalRevision':this[_0x13785a(0x4f3)],'tableRevision':this[_0x13785a(0x54e)](_0x326bd0['id']),'cellRevision':_0x5b6ffe}),_0xe11f18;},{'tableId':_0x326bd0['id'],'records':((_0xbaeee1=_0x326bd0['recordOrder'])==null?void 0x0:_0xbaeee1[_0x236392(0x46a)])??Object['keys'](_0x326bd0[_0x236392(0x29e)]??{})[_0x236392(0x46a)],'fields':_0x326bd0['fieldOrder'][_0x236392(0x46a)]});}[_0x5b4d61(0x368)](_0x2511a7,_0x54facb,_0x37f52e){const _0x398388=_0x5b4d61;let _0x3936bd=(this['_cellInvalidations'][_0x398388(0x3a4)](_0x2511a7['id'])??[])[_0x398388(0x30a)](_0x56438e=>_0x56438e[_0x398388(0x3e5)]>_0x54facb[_0x398388(0x515)]&&_0x56438e[_0x398388(0x3e5)]<=_0x37f52e);if(!_0x3936bd['length'])return _0x54facb[_0x398388(0x481)]===_0x2511a7?_0x54facb['rows']:null;let _0x2930de=_0x54facb[_0x398388(0x21e)],_0x2d9e7e=new Map();for(let _0x581907 of _0x3936bd){let _0x2b962c=_0x2d9e7e[_0x398388(0x3a4)](_0x581907['recordId']);_0x2b962c||(_0x2b962c=new Set(),_0x2d9e7e[_0x398388(0x3e9)](_0x581907[_0x398388(0x504)],_0x2b962c)),_0x2b962c[_0x398388(0x112)](_0x581907[_0x398388(0x400)]);}for(let [_0x17826c,_0x3e2592]of _0x2d9e7e){if(!_0x2511a7[_0x398388(0x29e)][_0x17826c])return null;let _0x4ca868=_0x54facb[_0x398388(0x1c3)][_0x398388(0x3a4)](_0x17826c);if(_0x4ca868==null)return null;_0x2930de===_0x54facb['rows']&&(_0x2930de=[..._0x54facb[_0x398388(0x21e)]]);let _0x198122=_0x2930de[_0x4ca868],_0x357957={..._0x198122[_0x398388(0x4d1)]};_0x3e2592[_0x398388(0x116)](_0x3157f0=>{_0x357957[_0x3157f0]=_0x3b09d7(_0x2511a7,_0x17826c,_0x3157f0);}),_0x2930de[_0x4ca868]={..._0x198122,'values':_0x357957};}let _0x161e2a={'table':_0x2511a7,'rows':_0x2930de,'rowIndexById':_0x54facb['rowIndexById'],'globalRevision':this[_0x398388(0x4f3)],'tableRevision':this[_0x398388(0x54e)](_0x2511a7['id']),'cellRevision':_0x37f52e};return this[_0x398388(0xf1)][_0x398388(0x3e9)](_0x2511a7['id'],_0x161e2a),this[_0x398388(0x14d)]['set'](_0x2511a7['id'],(this['_cellInvalidations'][_0x398388(0x3a4)](_0x2511a7['id'])??[])['filter'](_0x4a3821=>_0x4a3821[_0x398388(0x3e5)]>Math[_0x398388(0x3bd)](0x0,_0x37f52e-0x100))),_0x2930de;}[_0x5b4d61(0x1f1)](_0x341cd1,_0x263e14){const _0x26ce54=_0x5b4d61;let _0x48d725=new Map(_0x263e14[_0x26ce54(0x3ab)](_0x310da6=>[_0x310da6['recordId'],_0x310da6])),_0x5bc1e8=!0x1,_0x18034f=_0x341cd1['map'](_0x33835a=>{const _0x2abbad=_0x26ce54;let _0x5b1d64=_0x48d725['get'](_0x33835a[_0x2abbad(0x504)]);return _0x5b1d64?_0x5b1d64===_0x33835a?_0x33835a:(_0x5bc1e8=!0x0,_0x5b1d64):_0x33835a;});return _0x5bc1e8?_0x18034f:_0x341cd1;}[_0x5b4d61(0x4db)](_0x25cd82,_0x562946,_0x56c987,_0x1564bc){const _0x398a93=_0x5b4d61;return!_0x1564bc[_0x398a93(0x18d)]||_0x562946===_0x56c987?!0x1:_0x56c987-_0x562946>0x100||(this['_cellInvalidations'][_0x398a93(0x3a4)](_0x25cd82)??[])[_0x398a93(0x166)](_0x4fac93=>_0x4fac93[_0x398a93(0x3e5)]>_0x562946&&_0x4fac93[_0x398a93(0x3e5)]<=_0x56c987&&_0x1564bc['has'](_0x4fac93[_0x398a93(0x400)]));}[_0x5b4d61(0x348)](_0x2ada79){const _0x3a7851=_0x5b4d61;var _0x4f3319,_0x1c469a;let _0x12d885=new Set();return _0x2ada79==null||(_0x4f3319=_0x2ada79[_0x3a7851(0x30a)])==null||_0x4f3319[_0x3a7851(0x323)]['forEach'](_0xd85cd2=>_0x12d885[_0x3a7851(0x112)](_0xd85cd2['fieldId'])),_0x2ada79==null||(_0x1c469a=_0x2ada79[_0x3a7851(0x3c2)])==null||_0x1c469a[_0x3a7851(0x116)](_0x450516=>_0x12d885[_0x3a7851(0x112)](_0x450516[_0x3a7851(0x400)])),_0x12d885;}['_groupProjectionFieldIds'](_0x66c63f){const _0x5a30af=_0x5b4d61;var _0x506b2c;let _0x281c20=this['_filterSortFieldIds'](_0x66c63f);return(_0x506b2c=_0x66c63f['group'])==null||_0x506b2c[_0x5a30af(0x116)](_0x5a921a=>_0x281c20['add'](_0x5a921a['fieldId'])),_0x281c20;}[_0x5b4d61(0x1d1)](_0x4228bf,_0x1186ad,_0x5bf75b){const _0x426607=_0x5b4d61;let _0x265e74=_0x1186ad==null?void 0x0:_0x1186ad[_0x426607(0x30a)];if(!(_0x265e74!=null&&_0x265e74['conditions'][_0x426607(0x46a)]))return _0x5bf75b;let _0x182187=_0x265e74[_0x426607(0x323)][_0x426607(0x30a)](_0x2e72cb=>!_0x8bd2f9(_0x2e72cb));return _0x182187[_0x426607(0x46a)]?_0x5bf75b['filter'](_0x53523c=>{const _0x1b078b=_0x426607;if(_0x265e74[_0x1b078b(0x230)]===_0x552f17['BaseFilterConjunction']['OR']){for(let _0x514a7a of _0x182187){let _0x4075f7=_0x4228bf[_0x1b078b(0x3ec)][_0x514a7a[_0x1b078b(0x400)]];if(!_0x4075f7||this['_fieldRegistry'][_0x1b078b(0x3a4)](_0x4075f7[_0x1b078b(0x4cd)])[_0x1b078b(0x30a)](_0x53523c[_0x1b078b(0x4d1)][_0x4075f7['id']],_0x514a7a[_0x1b078b(0x252)],_0x514a7a[_0x1b078b(0x40e)],_0x4075f7))return!0x0;}return!0x1;}for(let _0x21aca9 of _0x182187){let _0x256628=_0x4228bf[_0x1b078b(0x3ec)][_0x21aca9['fieldId']];if(_0x256628&&!this[_0x1b078b(0x2eb)][_0x1b078b(0x3a4)](_0x256628[_0x1b078b(0x4cd)])[_0x1b078b(0x30a)](_0x53523c['values'][_0x256628['id']],_0x21aca9[_0x1b078b(0x252)],_0x21aca9['operand'],_0x256628))return!0x1;}return!0x0;}):_0x5bf75b;}[_0x5b4d61(0x4fd)](_0xfa6dbe,_0x4383e1,_0x1ad646){const _0x21bfe8=_0x5b4d61;let _0x32a5ce=(_0x4383e1==null?void 0x0:_0x4383e1[_0x21bfe8(0x3c2)])??[];if(!_0x32a5ce[_0x21bfe8(0x46a)])return _0x1ad646;let _0x4e5b26=_0x32a5ce[_0x21bfe8(0x4a0)](_0x1f9fa2=>{const _0x138be6=_0x21bfe8;let _0x3fa8a9=_0xfa6dbe[_0x138be6(0x3ec)][_0x1f9fa2[_0x138be6(0x400)]];return _0x3fa8a9?[{..._0x1f9fa2,'field':_0x3fa8a9}]:[];});return _0x4e5b26['length']?this[_0x21bfe8(0x226)](_0x4e5b26)?this['_fastSortRows'](_0x4e5b26,_0x1ad646):[..._0x1ad646][_0x21bfe8(0x3c2)]((_0x26d097,_0xce1a4a)=>{const _0x45cd9b=_0x21bfe8;for(let _0xf672bf of _0x4e5b26){let _0x52f052=_0xf672bf[_0x45cd9b(0x420)],_0x11440a=this[_0x45cd9b(0x2eb)][_0x45cd9b(0x3a4)](_0x52f052[_0x45cd9b(0x4cd)])['compare'](_0x26d097[_0x45cd9b(0x4d1)][_0x52f052['id']],_0xce1a4a[_0x45cd9b(0x4d1)][_0x52f052['id']],_0x52f052);if(_0x11440a!==0x0)return _0xf672bf[_0x45cd9b(0x37b)]===_0x552f17[_0x45cd9b(0x52f)]['DESC']?-_0x11440a:_0x11440a;}return 0x0;}):_0x1ad646;}[_0x5b4d61(0x226)](_0x1348cd){const _0x158251=_0x5b4d61;return _0x1348cd[_0x158251(0x25e)](_0x5a563f=>_0x42c6c0[_0x158251(0x1d8)](_0x5a563f[_0x158251(0x420)]['type']));}[_0x5b4d61(0x3c7)](_0x2724b6,_0x19517e){const _0x1b24ca=_0x5b4d61;return _0x19517e[_0x1b24ca(0x3ab)]((_0x1926f9,_0x351d53)=>({'row':_0x1926f9,'index':_0x351d53,'keys':_0x2724b6[_0x1b24ca(0x3ab)](_0x5aa966=>_0x1926f9[_0x1b24ca(0x4d1)][_0x5aa966[_0x1b24ca(0x400)]])}))[_0x1b24ca(0x3c2)]((_0x217620,_0x40a59d)=>{const _0xebf720=_0x1b24ca;for(let _0x3f03c6=0x0;_0x3f03c6<_0x2724b6[_0xebf720(0x46a)];_0x3f03c6++){let _0x465a67=_0x423074(_0x217620[_0xebf720(0x1bd)][_0x3f03c6],_0x40a59d[_0xebf720(0x1bd)][_0x3f03c6]);if(_0x465a67!==0x0)return _0x2724b6[_0x3f03c6][_0xebf720(0x37b)]===_0x552f17[_0xebf720(0x52f)][_0xebf720(0x27b)]?-_0x465a67:_0x465a67;}return _0x217620[_0xebf720(0x4a8)]-_0x40a59d[_0xebf720(0x4a8)];})[_0x1b24ca(0x3ab)](_0x46b1eb=>_0x46b1eb[_0x1b24ca(0x4d6)]);}[_0x5b4d61(0x2c3)](_0x141466,_0x3cb15c,_0x460372){const _0x4bc3a0=_0x5b4d61;var _0x4b385c;return _0x44d452('BaseProjection.projectGroups',()=>{const _0x43444c=_0x152e;var _0x367083;if(!((_0x367083=_0x3cb15c[_0x43444c(0x2ab)])!=null&&_0x367083[_0x43444c(0x46a)]))return[];let _0x203ae8=_0x3cb15c[_0x43444c(0x2ab)]['filter'](_0x1f7d20=>_0x141466['fields'][_0x1f7d20[_0x43444c(0x400)]]);if(!_0x203ae8[_0x43444c(0x46a)])return[];let _0x566d17=this['_groupsCacheKey'](_0x141466['id'],_0x3cb15c,_0x203ae8),_0x4da27a=this[_0x43444c(0x542)](_0x141466['id']),_0x14766f=this[_0x43444c(0x16d)][_0x43444c(0x3a4)](_0x566d17);if(_0x14766f&&_0x14766f[_0x43444c(0x387)]===this[_0x43444c(0x4f3)]&&_0x14766f[_0x43444c(0x3d5)]===this[_0x43444c(0x54e)](_0x141466['id'])){if(_0x14766f[_0x43444c(0x515)]===_0x4da27a&&_0x14766f[_0x43444c(0x21e)]===_0x460372)return _0x14766f[_0x43444c(0x47b)];if(_0x14766f[_0x43444c(0x515)]!==_0x4da27a&&!this[_0x43444c(0x4db)](_0x141466['id'],_0x14766f[_0x43444c(0x515)],_0x4da27a,this['_groupProjectionFieldIds'](_0x3cb15c)))return this[_0x43444c(0x16d)][_0x43444c(0x3e9)](_0x566d17,{..._0x14766f,'rows':_0x460372,'cellRevision':_0x4da27a}),_0x14766f[_0x43444c(0x47b)];}let _0x5f0a7a=new Map();for(let _0x4dce14 of _0x460372){let _0x8e6126=_0x5f0a7a,_0xa57399='';for(let _0x49e8e3=0x0;_0x49e8e3<_0x203ae8[_0x43444c(0x46a)];_0x49e8e3++){let _0x251ea3=_0x203ae8[_0x49e8e3],_0x2d0e62=_0x4dce14[_0x43444c(0x4d1)][_0x251ea3['fieldId']],_0x3463de=_0x4b666d(_0x2d0e62),_0x465b42=_0x251ea3[_0x43444c(0x400)]+'\x00'+_0x3463de,_0x33f323=_0xa57399+'/'+_0x251ea3[_0x43444c(0x400)]+':'+_0x3463de,_0x33854c=_0x8e6126[_0x43444c(0x3a4)](_0x465b42);_0x33854c||(_0x33854c={'key':_0x3463de,'value':_0x2d0e62,'path':_0x33f323,'label':_0x3463de||_0x43444c(0x160),'fieldId':_0x251ea3[_0x43444c(0x400)],'level':_0x49e8e3,'recordIds':[],'children':new Map()},_0x8e6126[_0x43444c(0x3e9)](_0x465b42,_0x33854c)),_0x33854c[_0x43444c(0x2fd)][_0x43444c(0x36c)](_0x4dce14[_0x43444c(0x504)]),_0x8e6126=_0x33854c[_0x43444c(0x20e)],_0xa57399=_0x33f323;}}let _0x39cf53=this[_0x43444c(0x307)](_0x203ae8,_0x5f0a7a,0x0);return this['_projectedGroupsCache'][_0x43444c(0x3e9)](_0x566d17,{'table':_0x141466,'rows':_0x460372,'groups':_0x39cf53,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x43444c(0x54e)](_0x141466['id']),'cellRevision':_0x4da27a}),_0x39cf53;},{'tableId':_0x141466['id'],'viewId':_0x3cb15c['id'],'viewType':_0x3cb15c[_0x4bc3a0(0x4cd)],'rows':_0x460372[_0x4bc3a0(0x46a)],'groupFields':((_0x4b385c=_0x3cb15c[_0x4bc3a0(0x2ab)])==null?void 0x0:_0x4b385c[_0x4bc3a0(0x46a)])??0x0});}[_0x5b4d61(0x307)](_0x8252a9,_0x55d140,_0x151047){const _0x39d5b6=_0x5b4d61;var _0x156c0e;let _0x20311d=Array[_0x39d5b6(0x1c0)](_0x55d140[_0x39d5b6(0x4d1)]()),_0x12faff=(_0x156c0e=_0x8252a9[_0x151047])==null?void 0x0:_0x156c0e['direction'];return _0x12faff&&_0x20311d[_0x39d5b6(0x3c2)]((_0x3ada3a,_0x36a0f8)=>{const _0xd0544f=_0x39d5b6;let _0x2c8243=_0x3ada3a[_0xd0544f(0x483)][_0xd0544f(0x2f1)](_0x36a0f8[_0xd0544f(0x483)]);return _0x12faff===_0x552f17[_0xd0544f(0x52f)][_0xd0544f(0x27b)]?-_0x2c8243:_0x2c8243;}),_0x20311d['map'](_0x213356=>({'key':_0x213356[_0x39d5b6(0x483)],'value':_0x213356['value'],'path':_0x213356[_0x39d5b6(0x513)],'label':_0x213356['label'],'fieldId':_0x213356['fieldId'],'level':_0x213356[_0x39d5b6(0x2f2)],'recordIds':_0x213356[_0x39d5b6(0x2fd)],'children':this['_materializeGroups'](_0x8252a9,_0x213356[_0x39d5b6(0x20e)],_0x151047+0x1)}));}['_title'](_0x2b1495,_0x49fb00,_0x38bb1f){const _0x1e0c38=_0x5b4d61;let _0x10ebeb=_0x38bb1f??_0x2b1495[_0x1e0c38(0x3a1)],_0x24de7b=_0x49fb00[_0x1e0c38(0x4d1)][_0x10ebeb];return _0x24de7b==null?'':String(_0x24de7b);}[_0x5b4d61(0x426)](_0x32c5b7){const _0x5d45a7=_0x5b4d61;if(Array['isArray'](_0x32c5b7))return _0x32c5b7['map'](String);if(typeof _0x32c5b7==_0x5d45a7(0x525)&&_0x32c5b7)return[_0x32c5b7];}[_0x5b4d61(0x22c)](_0xcda931){const _0x5f16df=_0x5b4d61;return this[_0x5f16df(0x2eb)][_0x5f16df(0x3a4)](_0xcda931['type'])[_0x5f16df(0x3fe)](_0xcda931);}};_0x57d072=_0x3a99e3([_0x8293b1(0x0,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x430fbe))],_0x57d072);function _0x4b666d(_0x372de9){return _0x372de9==null?'':String(_0x372de9);}function _0x148d6f(_0x28fd93){const _0x13cb3d=_0x5b4d61;return new Map(_0x28fd93[_0x13cb3d(0x3ab)]((_0x3431ea,_0x7a26ae)=>[_0x3431ea[_0x13cb3d(0x504)],_0x7a26ae]));}function _0x3f93dd(_0x4d0118){const _0x323779=_0x5b4d61;return!!(Array[_0x323779(0x3bc)](_0x4d0118[_0x323779(0x52a)])&&_0x4d0118[_0x323779(0x1a0)]&&_0x4d0118[_0x323779(0x219)]&&_0x4d0118[_0x323779(0x4ee)]&&_0x4d0118[_0x323779(0x43a)]&&_0x4d0118['cellData']);}function _0x305fc0(_0x325aca){const _0x85b317=_0x5b4d61;let _0x253dbd=(_0x325aca==null?void 0x0:_0x325aca[_0x85b317(0x323)][_0x85b317(0x30a)](_0x1c7b68=>!_0x8bd2f9(_0x1c7b68)))??[];return!_0x325aca||!_0x253dbd[_0x85b317(0x46a)]?null:{'conjunction':_0x325aca[_0x85b317(0x230)],'conditions':_0x253dbd[_0x85b317(0x3ab)](_0x1661b5=>({'fieldId':_0x1661b5[_0x85b317(0x400)],'operator':_0x1661b5[_0x85b317(0x252)],'operand':_0x1661b5[_0x85b317(0x40e)]}))};}function _0x4e15b1(_0x25a2f0,_0x573894){const _0x182551=_0x5b4d61;return _0x25a2f0['records']===_0x573894[_0x182551(0x29e)]&&_0x25a2f0[_0x182551(0x52a)]===_0x573894['recordOrder']&&_0x25a2f0['fields']===_0x573894[_0x182551(0x3ec)]&&_0x25a2f0[_0x182551(0x151)]===_0x573894[_0x182551(0x151)]&&_0x25a2f0[_0x182551(0x4af)]===_0x573894[_0x182551(0x4af)]&&_0x25a2f0[_0x182551(0x1a0)]===_0x573894[_0x182551(0x1a0)]&&_0x25a2f0['rowId']===_0x573894[_0x182551(0x219)]&&_0x25a2f0[_0x182551(0x4ee)]===_0x573894[_0x182551(0x4ee)]&&_0x25a2f0[_0x182551(0x43a)]===_0x573894[_0x182551(0x43a)];}function _0x356ffe(_0x1b8cb1){const _0x34bbb7=_0x5b4d61;return _0x1b8cb1!=null&&_0x1b8cb1[_0x34bbb7(0x46a)]?_0x1b8cb1[_0x34bbb7(0x3ab)](_0x36bbac=>({'fieldId':_0x36bbac[_0x34bbb7(0x400)],'direction':_0x36bbac[_0x34bbb7(0x37b)]})):null;}function _0x5b2c38(_0x4ba523){const _0x344792=_0x5b4d61;if(typeof _0x4ba523!=_0x344792(0x434)||!_0x4ba523)return JSON[_0x344792(0x306)](_0x4ba523)??'undefined';if(Array[_0x344792(0x3bc)](_0x4ba523))return'['+_0x4ba523[_0x344792(0x3ab)](_0x5b2c38)[_0x344792(0x53f)](',')+']';let _0xa87e8d=_0x4ba523;return'{'+Object['keys'](_0xa87e8d)[_0x344792(0x3c2)]()['map'](_0x48d53a=>JSON['stringify'](_0x48d53a)+':'+_0x5b2c38(_0xa87e8d[_0x48d53a]))[_0x344792(0x53f)](',')+'}';}function _0x4dd9e4(_0x535869){const _0x5c40d1=_0x5b4d61;let _0x3d1876=Object[_0x5c40d1(0x4d1)](_0x535869)[_0x5c40d1(0x3c2)]((_0x527b18,_0x462e0e)=>_0x527b18[_0x5c40d1(0x12f)]['localeCompare'](_0x462e0e[_0x5c40d1(0x12f)])),_0x13f7b9=[];for(let _0x1bb3f7 of _0x3d1876)_0x13f7b9[_0x5c40d1(0x36c)](_0x1bb3f7['id']);return _0x13f7b9;}function _0x21ec73(_0x324996){const _0x5e9147=_0x5b4d61;return{'weekdays':Array[_0x5e9147(0x3bc)](_0x324996==null?void 0x0:_0x324996[_0x5e9147(0x506)])&&_0x324996['weekdays'][_0x5e9147(0x46a)]?[...new Set(_0x324996[_0x5e9147(0x506)][_0x5e9147(0x30a)](_0xd83d11=>Number['isInteger'](_0xd83d11)&&_0xd83d11>=0x1&&_0xd83d11<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x5e9147(0x3bc)](_0x324996==null?void 0x0:_0x324996[_0x5e9147(0x1e6)])?_0x324996[_0x5e9147(0x1e6)]['flatMap'](_0x2ee67d=>!_0x2ee67d||!Number[_0x5e9147(0x326)](_0x2ee67d[_0x5e9147(0x2c2)])?[]:[{'id':String(_0x2ee67d['id']||_0x5e9147(0x4ab)+_0x2ee67d[_0x5e9147(0x2c2)]),'date':_0x57dfdc(Number(_0x2ee67d[_0x5e9147(0x2c2)])),'name':String(_0x2ee67d['name']||_0x5e9147(0x20b)),'type':_0x2ee67d[_0x5e9147(0x4cd)]===_0x5e9147(0x165)?_0x5e9147(0x165):_0x5e9147(0x271)}]):[]};}function _0x198ab2(_0x480fe2,_0x4a38b3,_0x28b664,_0xbaae29){let _0x58b4cd=_0x5198d5(_0x480fe2,_0x4a38b3),_0x1fd507=_0x261de5(_0x480fe2,_0x28b664),_0x333eff=_0x374f94(_0x480fe2,_0x58b4cd,_0x1fd507,_0xbaae29);return{'scale':_0x480fe2,'start':_0x58b4cd,'end':_0x1fd507,'unitWidth':_0x75e41e(_0x480fe2),'majorHeaders':_0x5132a9(_0x480fe2,_0x58b4cd,_0x1fd507),'columns':_0x333eff};}function _0x374f94(_0x148bac,_0x4c6a91,_0x20ac00,_0x36142f){const _0x12d664=_0x5b4d61;let _0x342c49=[],_0x2b0a6=_0x4c6a91;for(;_0x2b0a6<_0x20ac00;){let _0x379700=_0x148bac===_0x12d664(0x32c)?_0x1b8583(_0x2b0a6,0x7):_0x148bac===_0x12d664(0x4d2)?_0x4347a9(_0x2b0a6,0x1):_0x1b8583(_0x2b0a6,0x1);_0x342c49['push']({'id':_0x148bac+'-'+_0x2b0a6,'label':_0x3ded72(_0x148bac,_0x2b0a6,_0x379700),'majorLabel':_0x20298c(_0x148bac,_0x2b0a6),'start':_0x2b0a6,'end':_0x379700,'nonWorking':_0x175f2c(_0x2b0a6,_0x379700,_0x36142f)}),_0x2b0a6=_0x379700;}return _0x342c49;}function _0x5132a9(_0x480afd,_0x540d05,_0x3987a2){const _0x4496cc=_0x5b4d61;let _0x41b537=[],_0x3345ce=_0x480afd===_0x4496cc(0x4d2)?_0x1633b4(_0x540d05):_0xf79717(_0x540d05);for(;_0x3345ce<_0x3987a2;){let _0x5b21e6=_0x480afd===_0x4496cc(0x4d2)?_0x5185a4(_0x3345ce,0x1):_0x4347a9(_0x3345ce,0x1);_0x41b537['push']({'id':_0x4496cc(0x11d)+_0x3345ce,'label':_0x480afd===_0x4496cc(0x4d2)?String(new Date(_0x3345ce)[_0x4496cc(0x11b)]()):_0x4f1e10(_0x3345ce),'start':_0x3345ce,'end':_0x5b21e6}),_0x3345ce=_0x5b21e6;}return _0x41b537;}function _0x75e41e(_0x31711d){const _0x53b7d9=_0x5b4d61;switch(_0x31711d){case _0x53b7d9(0x215):return 0xac;case _0x53b7d9(0x32c):return 0xac;case _0x53b7d9(0x4d2):return 0x88;default:return 0x56;}}function _0x5198d5(_0x3d406f,_0x665765){const _0x23514d=_0x5b4d61;return _0x3d406f===_0x23514d(0x4d2)?_0x1633b4(_0x665765):_0x3d406f===_0x23514d(0x32c)?_0x1076b8(_0x665765):_0x57dfdc(_0x665765);}function _0x261de5(_0x435ce5,_0x4a182f){const _0x709834=_0x5b4d61;return _0x435ce5===_0x709834(0x4d2)?_0x5185a4(_0x1633b4(_0x4a182f),0x1):_0x435ce5===_0x709834(0x32c)?_0x1b8583(_0x1076b8(_0x4a182f),0x7):_0x1b8583(_0x57dfdc(_0x4a182f),0x1);}function _0x3ded72(_0x5066e7,_0x246603,_0x142424){const _0x20f286=_0x5b4d61;let _0x5680c1=new Date(_0x246603);return _0x5066e7===_0x20f286(0x32c)?_0x5680c1['getUTCDate']()+'-'+new Date(_0x142424-_0x3d5047)[_0x20f286(0x478)]():_0x5066e7===_0x20f286(0x4d2)?_0x5680c1[_0x20f286(0x13f)](_0x20f286(0x539),{'month':_0x20f286(0x3a9),'timeZone':'UTC'}):String(_0x5680c1[_0x20f286(0x478)]());}function _0x20298c(_0x3e7a97,_0x406c20){const _0x5a638e=_0x5b4d61;return _0x3e7a97===_0x5a638e(0x4d2)?String(new Date(_0x406c20)[_0x5a638e(0x11b)]()):_0x4f1e10(_0x406c20);}function _0x3fbe15(_0x1b35d5,_0x530630,_0x38bbd0){let _0x38035c=_0x21ec73(_0x38bbd0),_0x25a033=0x0;for(let _0x262f00=_0x57dfdc(_0x1b35d5);_0x262f00<=_0x57dfdc(_0x530630);_0x262f00=_0x1b8583(_0x262f00,0x1))_0x5917ea(_0x262f00,_0x38035c)||_0x25a033++;return _0x25a033;}function _0x175f2c(_0x391c2f,_0x5d9847,_0x1e198b){if(!_0x1e198b)return!0x1;let _0x34b813=_0x21ec73(_0x1e198b);for(let _0x18ee8b=_0x57dfdc(_0x391c2f);_0x18ee8b<_0x5d9847;_0x18ee8b=_0x1b8583(_0x18ee8b,0x1))if(!_0x5917ea(_0x18ee8b,_0x34b813))return!0x1;return!0x0;}function _0x5917ea(_0x329cee,_0x1e5d07){const _0x1c7af4=_0x5b4d61;let _0x5e49ed=_0x57dfdc(_0x329cee),_0x25fc94=_0x1e5d07[_0x1c7af4(0x1e6)][_0x1c7af4(0x2f8)](_0x1b47eb=>_0x57dfdc(_0x1b47eb[_0x1c7af4(0x2c2)])===_0x5e49ed);if(_0x25fc94)return _0x25fc94[_0x1c7af4(0x4cd)]===_0x1c7af4(0x271);let _0xa5dd15=new Date(_0x5e49ed)[_0x1c7af4(0x29b)](),_0x341762=_0xa5dd15===0x0?0x7:_0xa5dd15;return!_0x1e5d07[_0x1c7af4(0x506)]['includes'](_0x341762);}function _0x57dfdc(_0x3ed604){const _0x1bbc32=_0x5b4d61;let _0x1967c0=new Date(_0x3ed604);return Date[_0x1bbc32(0x284)](_0x1967c0[_0x1bbc32(0x11b)](),_0x1967c0[_0x1bbc32(0x27f)](),_0x1967c0[_0x1bbc32(0x478)]());}function _0x1076b8(_0x19cfc1){const _0xb9748a=_0x5b4d61;let _0x23ab2e=_0x57dfdc(_0x19cfc1),_0x57eee7=new Date(_0x23ab2e)[_0xb9748a(0x29b)]();return _0x1b8583(_0x23ab2e,-(_0x57eee7===0x0?0x6:_0x57eee7-0x1));}function _0xf79717(_0x4eb60f){const _0x59b8e4=_0x5b4d61;let _0x3380f4=new Date(_0x4eb60f);return Date['UTC'](_0x3380f4[_0x59b8e4(0x11b)](),_0x3380f4[_0x59b8e4(0x27f)](),0x1);}function _0x1633b4(_0x1a6dd2){let _0x2772de=new Date(_0x1a6dd2);return Date['UTC'](_0x2772de['getUTCFullYear'](),0x0,0x1);}function _0x1b8583(_0x9549d4,_0x1b9e6b){return _0x9549d4+_0x1b9e6b*_0x3d5047;}function _0x4347a9(_0x3a3c32,_0x3970c9){const _0x52ab11=_0x5b4d61;let _0x1bbf8c=new Date(_0x3a3c32);return Date[_0x52ab11(0x284)](_0x1bbf8c[_0x52ab11(0x11b)](),_0x1bbf8c[_0x52ab11(0x27f)]()+_0x3970c9,0x1);}function _0x5185a4(_0x30bb93,_0x3d3c2b){const _0x197b5e=_0x5b4d61;let _0x1d0539=new Date(_0x30bb93);return Date[_0x197b5e(0x284)](_0x1d0539['getUTCFullYear']()+_0x3d3c2b,0x0,0x1);}function _0x4f1e10(_0x3663c3){const _0x5306ba=_0x5b4d61;let _0x4729d4=new Date(_0x3663c3);return _0x4729d4['toLocaleString']('en-US',{'month':'short','timeZone':_0x5306ba(0x284)})+'\x20'+_0x4729d4['getUTCFullYear']();}function _0x423074(_0x51395e,_0xa658a9){const _0x22128d=_0x5b4d61;if(_0x51395e==null&&_0xa658a9==null)return 0x0;if(_0x51395e==null)return-0x1;if(_0xa658a9==null)return 0x1;if(typeof _0x51395e==_0x22128d(0x10b)||typeof _0xa658a9==_0x22128d(0x10b))return Number(_0x51395e===!0x0)-Number(_0xa658a9===!0x0);let _0x162a1b=Number(_0x51395e),_0x1170fc=Number(_0xa658a9),_0x1c0f48=Number[_0x22128d(0x326)](_0x162a1b),_0x31ea13=Number['isFinite'](_0x1170fc);return _0x1c0f48&&_0x31ea13?_0x162a1b-_0x1170fc:_0x1c0f48?0x1:_0x31ea13?-0x1:String(_0x51395e)[_0x22128d(0x2f1)](String(_0xa658a9));}function _0x8bd2f9(_0x2841d9){const _0x5a39b8=_0x5b4d61;if(_0x2841d9[_0x5a39b8(0x252)]!=='is'&&_0x2841d9[_0x5a39b8(0x252)]!==_0x5a39b8(0xf9))return!0x1;let _0x4e9180=_0x2841d9[_0x5a39b8(0x40e)];return _0x4e9180==null?!0x0:typeof _0x4e9180==_0x5a39b8(0x525)?_0x4e9180[_0x5a39b8(0x104)]()==='':Array[_0x5a39b8(0x3bc)](_0x4e9180)?_0x4e9180[_0x5a39b8(0x46a)]===0x0:!0x1;}function _0x449efc(_0x1e8c8b,_0xa716ce){const _0x39c4f7=_0x5b4d61;var _0x1e02f7;let _0x2004fb=Array[_0x39c4f7(0x3bc)]((_0x1e02f7=_0x1e8c8b['config'])==null?void 0x0:_0x1e02f7[_0x39c4f7(0x3ef)])?_0x1e8c8b['config'][_0x39c4f7(0x3ef)]:[];for(let _0x308e12 of _0x2004fb){if(_0x308e12==null)continue;if(typeof _0x308e12=='string'){if(_0x308e12===_0xa716ce)return{'id':_0x308e12,'name':_0x308e12};continue;}let _0x35a7a7=_0x308e12,_0x17278b=String(_0x35a7a7['id']??_0x35a7a7[_0x39c4f7(0x288)]??''),_0x1f9a70=String(_0x35a7a7[_0x39c4f7(0x288)]??_0x35a7a7['id']??_0x17278b);if(_0x17278b===_0xa716ce||_0x1f9a70===_0xa716ce)return{'id':_0x17278b,'name':_0x1f9a70,'color':_0x35a7a7['color']==null?void 0x0:String(_0x35a7a7[_0x39c4f7(0x187)])};}return null;}let _0x44eb40=function(_0x26a557){const _0x5c5878=_0x5b4d61;return _0x26a557[_0x5c5878(0x3aa)]=_0x5c5878(0x50b),_0x26a557['DeleteView']='delete-view',_0x26a557;}({}),_0x489c96={'id':_0x5b4d61(0x3d6),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x4b3)],'handler'(_0x5181e7,_0x49f4ae){const _0x16a23c=_0x5b4d61;let {unitId:_0x370367,op:_0x3ea9f6}=_0x49f4ae,_0x53872f=_0x5181e7['get'](_0x552f17[_0x16a23c(0x372)])['getUnit'](_0x370367,_0x552f17[_0x16a23c(0x349)][_0x16a23c(0x1e2)]);if(!_0x53872f)return!0x1;let _0x7f39a2=_0x53872f['getSnapshot'](),_0xbc74d4=new _0x600fcd(),_0xace5ad=_0xbc74d4[_0x16a23c(0x529)](_0x3ea9f6),_0x22e6b6=_0xbc74d4[_0x16a23c(0x401)](_0x7f39a2,_0x3ea9f6);return _0x53872f[_0x16a23c(0x33a)](_0x22e6b6),_0xfb5006(_0x22e6b6,_0xace5ad,_0x5181e7[_0x16a23c(0x3a4)](_0x1b33ef)),!0x0;}};function _0xfb5006(_0x4901cc,_0x2a3275,_0x35025f){const _0x768cdf=_0x5b4d61;let _0x1f01b7=new Set(),_0x11e20a=new Set(),_0x2ecfda=new Set();for(let _0x6c5571 of _0x2a3275){if(_0x6c5571[_0x768cdf(0x4bb)]===_0x768cdf(0x391)&&_0x6c5571['tableId']&&_0x6c5571[_0x768cdf(0x1b8)]){let _0x1bbb10=_0x6c5571['tableId']+'\x00'+_0x6c5571[_0x768cdf(0x1b8)];_0x2ecfda['has'](_0x1bbb10)||(_0x2ecfda['add'](_0x1bbb10),_0x35025f[_0x768cdf(0x3c4)](_0x6c5571[_0x768cdf(0x111)],_0x6c5571[_0x768cdf(0x1b8)]));continue;}if(_0x6c5571[_0x768cdf(0x4bb)]==='field'&&_0x6c5571[_0x768cdf(0x111)]&&_0x6c5571[_0x768cdf(0x400)]){let _0x65a218=_0x6c5571[_0x768cdf(0x111)]+'\x00'+_0x6c5571[_0x768cdf(0x400)];_0x11e20a['has'](_0x65a218)||(_0x11e20a['add'](_0x65a218),_0x35025f[_0x768cdf(0x246)](_0x6c5571[_0x768cdf(0x111)],_0x6c5571[_0x768cdf(0x400)]));continue;}if(_0x6c5571[_0x768cdf(0x4bb)]!==_0x768cdf(0x164)){_0x35025f[_0x768cdf(0x31e)]();return;}let _0x562178=_0x5781af(_0x4901cc,_0x6c5571);if(!_0x562178){_0x35025f[_0x768cdf(0x31e)]();return;}let _0x440fa0=_0x562178[_0x768cdf(0x111)]+'\x00'+_0x562178['recordId']+'\x00'+_0x562178[_0x768cdf(0x400)];_0x1f01b7['has'](_0x440fa0)||(_0x1f01b7['add'](_0x440fa0),_0x35025f['invalidateByCell'](_0x562178[_0x768cdf(0x111)],_0x562178[_0x768cdf(0x504)],_0x562178[_0x768cdf(0x400)]));}}function _0x5781af(_0xd7c3e8,_0x547f60){const _0x399134=_0x5b4d61;var _0x4c21b3,_0x2bab22;if(!_0x547f60['tableId'])return null;if(_0x547f60['recordId']&&_0x547f60['fieldId'])return{'tableId':_0x547f60[_0x399134(0x111)],'recordId':_0x547f60[_0x399134(0x504)],'fieldId':_0x547f60[_0x399134(0x400)]};if(_0x547f60[_0x399134(0x4d6)]==null||_0x547f60[_0x399134(0x44b)]==null)return null;let _0x4d947b=_0xd7c3e8['tables'][_0x547f60[_0x399134(0x111)]],_0x3b9399=_0x4d947b==null||(_0x4c21b3=_0x4d947b[_0x399134(0x219)])==null?void 0x0:_0x4c21b3[_0x547f60[_0x399134(0x4d6)]],_0x2c370a=_0x4d947b==null||(_0x2bab22=_0x4d947b[_0x399134(0x43a)])==null?void 0x0:_0x2bab22[_0x547f60[_0x399134(0x44b)]];return!_0x3b9399||!_0x2c370a?null:{'tableId':_0x547f60[_0x399134(0x111)],'recordId':_0x3b9399,'fieldId':_0x2c370a};}let _0x4282ab=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x413bcc=_0x552f17['regexp'][_0x5b4d61(0x541)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x5ebc8e=/\{([^}]+)\}/g,_0x576778=_0x552f17[_0x5b4d61(0x484)]['createRegExpFromSafeFragment'](String[_0x5b4d61(0x540)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x5bef2f=_0x552f17[_0x5b4d61(0x484)]['createRegExpFromSafeFragment'](String[_0x5b4d61(0x540)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x1c0a03=_0x552f17[_0x5b4d61(0x484)]['createRegExpFromSafeFragment'](String['raw']`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x199d49=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String[_0x5b4d61(0x540)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x1608bd=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String[_0x5b4d61(0x540)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x59e926=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String[_0x5b4d61(0x540)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x328073=class{[_0x5b4d61(0x4b6)](_0x530bc6,_0x23583d=_0x530bc6['id']){const _0xdea7c7=_0x5b4d61;var _0x2aab37;let _0x8814b9=((_0x2aab37=_0x530bc6[_0xdea7c7(0x52a)])==null?void 0x0:_0x2aab37[_0xdea7c7(0x46a)])??Object[_0xdea7c7(0x4d1)](_0x530bc6['records'])[_0xdea7c7(0x46a)];return{'sheetId':_0x23583d,'titleMap':new Map(_0x530bc6[_0xdea7c7(0x151)][_0xdea7c7(0x3ab)]((_0x445866,_0x32beaf)=>{const _0x13d932=_0xdea7c7;var _0x58aa02;return[((_0x58aa02=_0x530bc6[_0x13d932(0x3ec)][_0x445866])==null?void 0x0:_0x58aa02[_0x13d932(0x288)])??_0x445866,_0x32beaf];})),'range':{'startRow':0x0,'endRow':Math[_0xdea7c7(0x3bd)](0x0,_0x8814b9-0x1),'startColumn':0x0,'endColumn':Math[_0xdea7c7(0x3bd)](0x0,_0x530bc6['fieldOrder'][_0xdea7c7(0x46a)]-0x1)},'showHeader':!0x1};}[_0x5b4d61(0x4fe)](_0x5cc97a,_0x3619aa){const _0x5eebeb=_0x5b4d61;let _0x1f39f7=[],_0x4e5c5f=_0x3619aa?new Set(_0x3619aa):null,_0x203b36=(0x0,_0x552f17['createBaseFormulaTableNameMap'])(_0x5cc97a);return Object[_0x5eebeb(0x4d1)](_0x5cc97a[_0x5eebeb(0x1e1)])['filter'](_0x5ef220=>!_0x4e5c5f||_0x4e5c5f['has'](_0x5ef220['id']))[_0x5eebeb(0x116)](_0x198aa3=>{const _0x278f0f=_0x5eebeb;let _0x23fc1c=this[_0x278f0f(0x4b6)](_0x198aa3,_0x198aa3['id']);_0x1f39f7[_0x278f0f(0x36c)]({'tableId':_0x198aa3['id'],'tableName':_0x203b36['get'](_0x198aa3['id']),'reference':_0x23fc1c});}),_0x1f39f7;}[_0x5b4d61(0x1cb)](_0x3f1c1d,_0x151c47,_0x5daedc={}){const _0x243379=_0x5b4d61;let _0x5b0697=_0x3f1c1d[_0x243379(0x104)]();if(!_0x5b0697)return{'valid':!0x0};if(_0x34b396(_0x5b0697))return{'valid':!0x1,'reason':_0x243379(0x33b)};let _0x289e2b=_0x5daedc['snapshot']?(0x0,_0x552f17['createBaseFormulaTableNameMap'])(_0x5daedc['snapshot']):void 0x0;for(let _0xd4b02d of _0x18dbe7(_0x5b0697)){let _0x2fc152=_0x13c888(_0xd4b02d,_0x151c47,_0x5daedc[_0x243379(0x3a0)],_0x289e2b);if(!_0x2fc152[_0x243379(0x481)])return{'valid':!0x1,'reason':_0x243379(0x514)+_0xd4b02d[_0x243379(0x2a1)]+_0x243379(0x3ae)};if(!_0x2fc152[_0x243379(0x420)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0xd4b02d[_0x243379(0x3e6)]+_0x243379(0x31f)};}return{'valid':!0x0};}[_0x5b4d61(0x275)](_0x3fa237,_0x499dcb,_0x24d03e={}){const _0x474bc=_0x5b4d61;let _0x417845=new Set();for(let _0x1a47c5 of this['getStructuredDependencies'](_0x3fa237,_0x499dcb,_0x24d03e))_0x1a47c5['tableId']===_0x499dcb['id']&&_0x417845[_0x474bc(0x112)](_0x1a47c5[_0x474bc(0x400)]);return Array[_0x474bc(0x1c0)](_0x417845);}['getStructuredDependencies'](_0xdcb412,_0x1d3701,_0x4eed11={}){const _0xc87a2d=_0x5b4d61;let _0x1c47dc=new Map(),_0x17d271=_0x4eed11[_0xc87a2d(0x3a0)]?(0x0,_0x552f17[_0xc87a2d(0x469)])(_0x4eed11['snapshot']):void 0x0;for(let _0x476e04 of _0x18dbe7(_0xdcb412)){let _0x877f2b=_0x13c888(_0x476e04,_0x1d3701,_0x4eed11[_0xc87a2d(0x3a0)],_0x17d271);if(!_0x877f2b[_0xc87a2d(0x481)]||!_0x877f2b[_0xc87a2d(0x420)])continue;let _0x21423c=_0x877f2b[_0xc87a2d(0x481)]['id']+'\x1f'+_0x877f2b['field']['id'];_0x1c47dc['set'](_0x21423c,{'tableId':_0x877f2b[_0xc87a2d(0x481)]['id'],'fieldId':_0x877f2b[_0xc87a2d(0x420)]['id']});}return Array[_0xc87a2d(0x1c0)](_0x1c47dc[_0xc87a2d(0x4d1)]());}};function _0x2b2cc4(_0x50cd8d,_0x250cce){const _0x52076e=_0x5b4d61;var _0x7e4dd9;let _0x2a5438=[],_0x248b87=(_0x7e4dd9=_0x250cce[_0x52076e(0x32a)])==null?void 0x0:_0x7e4dd9[_0x50cd8d['id']];return _0x248b87&&Object['entries'](_0x248b87)[_0x52076e(0x116)](([_0x483131,_0x5316fc])=>{const _0x49e1d3=_0x52076e;let _0x503110=_0x50cd8d[_0x49e1d3(0x1e1)][_0x483131];if(!_0x503110||!_0x5316fc)return;let _0x44ee24=_0x2c21a9(_0x503110),_0x4ba5af=[];new _0x552f17[(_0x49e1d3(0x44c))](_0x5316fc)['forValue']((_0x48e701,_0x17ecfc,_0x249fb7)=>{const _0x3fe1d3=_0x49e1d3;let _0x409ae2=_0x36b4e4(_0x44ee24,_0x48e701,_0x17ecfc,_0x249fb7);_0x409ae2&&_0x4ba5af[_0x3fe1d3(0x36c)](_0x409ae2);}),_0x4ba5af[_0x49e1d3(0x46a)]&&_0x2a5438['push']({'unitId':_0x50cd8d['id'],'tableId':_0x483131,'patches':_0x4ba5af});}),_0x2a5438;}function _0x36b4e4(_0x13d055,_0x195d62,_0x579b22,_0x443767){const _0x1da5c9=_0x5b4d61;var _0x5ef6ed,_0x543494,_0x460114;let _0x1bc4b7=(_0x5ef6ed=_0x13d055[_0x1da5c9(0x219)])==null?void 0x0:_0x5ef6ed[_0x195d62],_0x54dec6=(_0x543494=_0x13d055[_0x1da5c9(0x43a)])==null?void 0x0:_0x543494[_0x579b22];if(!_0x1bc4b7||!_0x13d055[_0x1da5c9(0x29e)][_0x1bc4b7]||!_0x54dec6)return null;let _0x3edfad=_0x13d055[_0x1da5c9(0x3ec)][_0x54dec6];if(!_0x3edfad||_0x3edfad[_0x1da5c9(0x4cd)]!==_0x1da5c9(0x498))return null;let _0x308ee1=String(((_0x460114=_0x3edfad['config'])==null?void 0x0:_0x460114[_0x1da5c9(0x498)])??'')[_0x1da5c9(0x104)](),_0x30a019=(_0x443767==null?void 0x0:_0x443767['v'])??null,_0x53ebdf={'v':_0x30a019,'t':_0x1b3017(_0x30a019),..._0x195d62===0x0&&_0x308ee1?{'f':_0x308ee1}:{},'si':_0x3edfad['id']};return _0xf61ac7(_0x3d3ef8(_0x13d055,_0x1bc4b7,_0x54dec6),_0x53ebdf)?null:{'row':_0x195d62,'col':_0x579b22,'value':_0x53ebdf};}function _0xf61ac7(_0x5da945,_0x1d9525){return _0x5da945!=null&&Object['is'](_0x5da945['v']??null,_0x1d9525['v']??null)&&_0x5da945['t']===_0x1d9525['t']&&_0x5da945['f']===_0x1d9525['f']&&_0x5da945['si']===_0x1d9525['si'];}function _0x1b3017(_0x3af6ce){const _0xcfb758=_0x5b4d61;return typeof _0x3af6ce==_0xcfb758(0x544)?_0x552f17[_0xcfb758(0x393)][_0xcfb758(0x2fe)]:typeof _0x3af6ce==_0xcfb758(0x10b)?_0x552f17[_0xcfb758(0x393)][_0xcfb758(0x486)]:typeof _0x3af6ce==_0xcfb758(0x525)?_0x552f17[_0xcfb758(0x393)]['STRING']:null;}function _0x18dbe7(_0x466fae){const _0x2dc19d=_0x5b4d61;let _0x547f14=_0x1e9897(_0x466fae,()=>''),_0x1d1f6c=new Map(),_0x43411b=_0x1c8b54=>{const _0x300ad6=_0x152e;_0x1d1f6c[_0x300ad6(0x3e9)]((_0x1c8b54['tableName']??'')+'\x1f'+_0x1c8b54[_0x300ad6(0x3e6)],_0x1c8b54);};for(let _0x3cb56f of _0x547f14[_0x2dc19d(0x298)](_0x5ebc8e))_0x43411b({'fieldName':_0x3cb56f[0x1],'scope':'this-row'});_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x576778,(_0x3e873c,_0x4eda70,_0xd3e0e,_0x1f6d37)=>(_0x43411b({'tableName':_0x4eda70,'fieldName':_0x1f6d37,'scope':_0xd3e0e[_0x2dc19d(0x335)]()===_0x2dc19d(0x14a)?'data':_0x2dc19d(0x2d1)}),'\x20')),_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x5bef2f,(_0x5d67bc,_0x9b89b4,_0x19f239)=>(_0x43411b({'tableName':_0x9b89b4,'fieldName':_0x19f239,'scope':_0x2dc19d(0x2d1)}),'\x20')),_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x199d49,(_0x17ffe1,_0x5d7fcc,_0x3fc39a,_0x242ad9)=>(_0x43411b({'fieldName':_0x242ad9,'scope':_0x3fc39a[_0x2dc19d(0x335)]()===_0x2dc19d(0x14a)?'data':_0x2dc19d(0x2d1)}),_0x5d7fcc+'\x20')),_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x1608bd,(_0x284a26,_0x51f5ec,_0x26da2d)=>(_0x43411b({'fieldName':_0x26da2d,'scope':_0x2dc19d(0x2d1)}),_0x51f5ec+'\x20'));for(let _0x32c94d of _0x547f14[_0x2dc19d(0x298)](_0x1c0a03))_0x43411b({'tableName':_0x32c94d[0x1],'fieldName':_0x32c94d[0x2]});for(let _0x3fa943 of _0x547f14[_0x2dc19d(0x298)](_0x59e926))_0x43411b({'fieldName':_0x3fa943[0x2],'scope':_0x2dc19d(0x2d1)});return Array[_0x2dc19d(0x1c0)](_0x1d1f6c[_0x2dc19d(0x4d1)]());}function _0x34b396(_0xa8720f){const _0x1246ca=_0x5b4d61;let _0x3ab0f3=_0x1e9897(_0xa8720f,()=>'\x20')['replace'](_0x5ebc8e,'\x20')[_0x1246ca(0x394)](_0x576778,'\x20')[_0x1246ca(0x394)](_0x5bef2f,'\x20')[_0x1246ca(0x394)](_0x199d49,'$1\x20')['replace'](_0x1608bd,'$1\x20')[_0x1246ca(0x394)](_0x1c0a03,'\x20')['replace'](_0x59e926,_0x1246ca(0x523));return _0x4282ab[_0x1246ca(0x1d7)](_0x3ab0f3);}function _0x5e5cd7(_0x34a6ab,_0x52a37c){return _0x1ae331(_0x4e8ba9(_0x34a6ab,_0x52a37c),_0x52a37c);}function _0x1e9897(_0x17e74d,_0x331893){return _0x539e3d(_0x5e5cd7(_0x17e74d,_0x331893),_0x331893);}function _0x539e3d(_0x26ac13,_0x292e03){const _0x5f5cf7=_0x5b4d61;return _0x26ac13[_0x5f5cf7(0x394)](/"(?:""|[^"])*"/g,_0x292e03);}function _0x4e8ba9(_0x3d5247,_0x243c5e){const _0x2e937f=_0x5b4d61;return _0x413bcc[_0x2e937f(0x144)]=0x0,_0x3d5247['replace'](_0x413bcc,(_0xc4ae4,_0x185b27)=>_0x545907(_0x3d5247,_0x185b27)?_0xc4ae4:_0x243c5e(_0xc4ae4));}let _0x1e03f3=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x1ae331(_0x268902,_0x23218e){const _0x57d62c=_0x5b4d61;let _0xa2d6=[];for(_0x1e03f3[_0x57d62c(0x144)]=0x0;;){let _0x524038=_0x1e03f3[_0x57d62c(0xf7)](_0x268902);if(_0x524038==null)break;if(_0x545907(_0x268902,_0x524038['index']))continue;let _0xd68d4c=_0x1e03f3['lastIndex']-0x1,_0x33eef1=0x0;for(let _0x5cfa94=_0xd68d4c;_0x5cfa94<_0x268902[_0x57d62c(0x46a)];_0x5cfa94++)if(_0x268902[_0x5cfa94]==='['&&_0x33eef1++,_0x268902[_0x5cfa94]===']'&&(_0x33eef1--,_0x33eef1===0x0)){_0xa2d6[_0x57d62c(0x36c)]({'start':_0x524038[_0x57d62c(0x4a8)],'end':_0x5cfa94+0x1}),_0x1e03f3[_0x57d62c(0x144)]=_0x5cfa94+0x1;break;}}if(_0xa2d6[_0x57d62c(0x46a)]===0x0)return _0x268902;let _0x4829f1='',_0x5cf53e=0x0;for(let _0x30b062 of _0xa2d6)_0x4829f1+=_0x268902[_0x57d62c(0x25d)](_0x5cf53e,_0x30b062[_0x57d62c(0x143)]),_0x4829f1+=_0x23218e(_0x268902[_0x57d62c(0x25d)](_0x30b062[_0x57d62c(0x143)],_0x30b062[_0x57d62c(0x1fd)])),_0x5cf53e=_0x30b062[_0x57d62c(0x1fd)];return _0x4829f1+_0x268902[_0x57d62c(0x25d)](_0x5cf53e);}function _0x545907(_0x3e65a0,_0x45dad2){let _0x32d1ac=!0x1;for(let _0x2e7f48=0x0;_0x2e7f48<_0x45dad2;_0x2e7f48++)_0x3e65a0[_0x2e7f48]==='\x22'&&(_0x32d1ac&&_0x3e65a0[_0x2e7f48+0x1]==='\x22'?_0x2e7f48++:_0x32d1ac=!_0x32d1ac);return _0x32d1ac;}function _0x13c888(_0x398ae3,_0x5801ce,_0x1e7993,_0x5761ad){const _0x1438a5=_0x5b4d61;let _0x383c66=_0x2efe29(_0x398ae3[_0x1438a5(0x2a1)],_0x5801ce,_0x1e7993,_0x5761ad);return{'table':_0x383c66,'field':_0x383c66?Object[_0x1438a5(0x4d1)](_0x383c66[_0x1438a5(0x3ec)])[_0x1438a5(0x2f8)](_0x4077a5=>_0x4077a5['name']===_0x398ae3[_0x1438a5(0x3e6)]):void 0x0};}function _0x2efe29(_0x394aed,_0x5b1e52,_0x36b768,_0x87dfc2){const _0xe1c1bc=_0x5b4d61;if(!_0x394aed)return _0x5b1e52;if(!_0x36b768){var _0x20df25;let _0x57a93a=_0x394aed[_0xe1c1bc(0x335)]();return _0x57a93a===_0x5b1e52['id']['toLowerCase']()||_0x57a93a===_0x5b1e52[_0xe1c1bc(0x288)]['toLowerCase']()||_0x57a93a===((_0x20df25=_0x5b1e52[_0xe1c1bc(0x452)])==null?void 0x0:_0x20df25[_0xe1c1bc(0x335)]())?_0x5b1e52:void 0x0;}let _0x2c9ade=_0x394aed[_0xe1c1bc(0x335)](),_0x390e64=_0x87dfc2??(0x0,_0x552f17[_0xe1c1bc(0x469)])(_0x36b768),_0x4f0dec=Object[_0xe1c1bc(0x4d1)](_0x36b768[_0xe1c1bc(0x1e1)])[_0xe1c1bc(0x30a)](_0x53bc0e=>{const _0x1f7efc=_0xe1c1bc;var _0x3537a7;return _0x53bc0e['id'][_0x1f7efc(0x335)]()===_0x2c9ade||_0x53bc0e['name'][_0x1f7efc(0x335)]()===_0x2c9ade||((_0x3537a7=_0x390e64[_0x1f7efc(0x3a4)](_0x53bc0e['id']))==null?void 0x0:_0x3537a7['toLowerCase']())===_0x2c9ade||_0x3e8186(_0x53bc0e['id'])[_0x1f7efc(0x335)]()===_0x2c9ade;});return _0x4f0dec[_0xe1c1bc(0x46a)]===0x1?_0x4f0dec[0x0]:void 0x0;}function _0x3e8186(_0x3932f7){const _0x21df31=_0x5b4d61;return _0x21df31(0x251)+Array[_0x21df31(0x1c0)](_0x3932f7,_0x3f97f6=>{const _0x51d27e=_0x21df31;var _0x3355aa;return/[A-Za-z0-9]/[_0x51d27e(0x1d7)](_0x3f97f6)?_0x3f97f6:'_x'+(((_0x3355aa=_0x3f97f6[_0x51d27e(0x3f7)](0x0))==null?void 0x0:_0x3355aa[_0x51d27e(0x28e)](0x10))??'0')+'_';})['join']('');}let _0x1ada83=new _0x328073();function _0x50591b(_0x5cfa14,_0x2dca93,_0x13f0ae){const _0x41fa67=_0x5b4d61;var _0x17e3d2;if(_0x13f0ae[_0x41fa67(0x4cd)]!==_0x552f17[_0x41fa67(0x22d)]['Formula'])return!0x0;let _0x20fb93=String(((_0x17e3d2=_0x13f0ae[_0x41fa67(0x340)])==null?void 0x0:_0x17e3d2['formula'])??''),_0x28a040=_0x5cfa14['getSnapshot']();return _0x1ada83['validateFormula'](_0x20fb93,_0x28a040[_0x41fa67(0x1e1)][_0x2dca93],{'snapshot':_0x28a040})[_0x41fa67(0x2d9)];}function _0x15c798(_0xfae7b1,_0x1c064b,_0x3bb464){const _0x1ee542=_0x5b4d61;let _0x3bac4f=_0xfae7b1[_0x1ee542(0x157)]()[_0x1ee542(0x1e1)][_0x1c064b];if(!_0x3bac4f)return!0x1;let {viewIds:_0x379cbd,fieldIds:_0x1a0a67,recordIds:_0x2d3029}=_0x3bb464||{};if(_0x379cbd){for(let _0x9fef42 of _0x379cbd)if(!_0x3bac4f[_0x1ee542(0x2ea)][_0x9fef42])return!0x1;}if(_0x1a0a67){for(let _0x1d10a2 of _0x1a0a67)if(!_0x3bac4f[_0x1ee542(0x3ec)][_0x1d10a2])return!0x1;}if(_0x2d3029){for(let _0x41e7da of _0x2d3029)if(!_0x3bac4f[_0x1ee542(0x29e)][_0x41e7da])return!0x1;}return!0x0;}function _0x355e36(_0x453c96,_0x44601d,_0x289033){const _0xc3d35c=_0x5b4d61;if(_0x289033['id']===_0x552f17[_0xc3d35c(0x316)]||_0x289033[_0xc3d35c(0x4cd)]===_0x552f17[_0xc3d35c(0x22d)][_0xc3d35c(0x500)]||(0x0,_0x552f17[_0xc3d35c(0x2c7)])(_0x289033[_0xc3d35c(0x288)])||!_0x50591b(_0x453c96,_0x44601d,_0x289033))return!0x1;let _0x3fecc3=_0x453c96[_0xc3d35c(0x157)]();if(!_0x4cb157(_0x3fecc3,_0x289033)['valid'])return!0x1;if(_0x289033[_0xc3d35c(0x4cd)]!==_0x552f17[_0xc3d35c(0x22d)]['RecordLink'])return!0x0;let _0x58a342=_0x423169(_0x289033);if(!_0x58a342)return!0x1;if(_0x58a342['relationRole']===void 0x0)return!0x0;if(_0x58a342[_0xc3d35c(0x102)]!==_0x552f17[_0xc3d35c(0x548)][_0xc3d35c(0x3d3)]||_0x58a342['targetTableId']!==_0x44601d||_0x58a342[_0xc3d35c(0x20a)]!==!0x1)return!0x1;let _0x51dbf0=_0x3fecc3[_0xc3d35c(0x1e1)][_0x44601d];return!Object[_0xc3d35c(0x4d1)](_0x51dbf0['fields'])['some'](_0xfb9ebe=>{const _0x37f045=_0xc3d35c;var _0x33f3a0;return _0xfb9ebe['id']!==_0x289033['id']&&_0xfb9ebe[_0x37f045(0x4cd)]===_0x552f17[_0x37f045(0x22d)][_0x37f045(0x11e)]&&((_0x33f3a0=_0x423169(_0xfb9ebe))==null?void 0x0:_0x33f3a0[_0x37f045(0x102)])===_0x552f17[_0x37f045(0x548)][_0x37f045(0x3d3)];});}function _0x54e79f(_0x3d56f3,_0x2ab7c0,_0x4d3da8,_0x18ce56){const _0xc676ed=_0x5b4d61;var _0x426926;let _0x5e2137=_0x3d56f3[_0xc676ed(0x157)](),_0x1fd76e=(_0x426926=_0x5e2137[_0xc676ed(0x1e1)][_0x2ab7c0])==null?void 0x0:_0x426926[_0xc676ed(0x3ec)][_0x4d3da8];return!_0x1fd76e||_0x1fd76e['id']===_0x552f17[_0xc676ed(0x316)]||_0x1fd76e[_0xc676ed(0x4cd)]===_0x552f17[_0xc676ed(0x22d)][_0xc676ed(0x500)]?!0x1:_0x1fd76e['type']!==_0x552f17[_0xc676ed(0x22d)][_0xc676ed(0x11e)]||_0x30ac0c(_0x5e2137,_0x1fd76e,_0x21a02d(_0x18ce56))[_0xc676ed(0x2d9)];}function _0x3bab69(_0x362ab6,_0x47828d,_0x6433e5){const _0x4681fe=_0x5b4d61;let _0x4648de=_0x362ab6[_0x4681fe(0x157)]()[_0x4681fe(0x1e1)][_0x47828d];return!_0x4648de||!(0x0,_0x552f17['isValidBaseRecordId'])(_0x6433e5['id'])||_0x4648de[_0x4681fe(0x29e)][_0x6433e5['id']]||Object[_0x4681fe(0x16e)]['hasOwnProperty'][_0x4681fe(0x30e)](_0x6433e5[_0x4681fe(0x4d1)],_0x552f17['BASE_RECORD_ID_FIELD_ID'])&&_0x6433e5[_0x4681fe(0x4d1)][_0x552f17[_0x4681fe(0x316)]]!==_0x6433e5['id']?!0x1:Object[_0x4681fe(0x21f)](_0x6433e5[_0x4681fe(0x4d1)])[_0x4681fe(0x25e)](([_0x5b4772,_0x75809e])=>_0x5b4772===_0x552f17[_0x4681fe(0x316)]||_0x54e79f(_0x362ab6,_0x47828d,_0x5b4772,_0x75809e));}function _0x47c89d(_0x2616a4){const _0x3ce5f0=_0x5b4d61;return{..._0x2616a4,'values':{..._0x2616a4[_0x3ce5f0(0x4d1)],[_0x552f17[_0x3ce5f0(0x316)]]:_0x2616a4['id']}};}function _0x21a02d(_0x3055f0){const _0x2bb18e=_0x5b4d61;if(_0x3055f0&&typeof _0x3055f0==_0x2bb18e(0x434)&&!Array['isArray'](_0x3055f0)&&'v'in _0x3055f0){let _0x55297f=_0x3055f0['v'];return _0x55297f===void 0x0?null:_0x55297f;}return _0x3055f0;}function _0x2b2e73(_0x1e2347,_0x1ad18c,_0x357f0e,_0x20391f){const _0x424081=_0x5b4d61;let _0x65e75=_0x1e2347['getSnapshot']()[_0x424081(0x1e1)][_0x1ad18c];if(!_0x65e75)return null;let _0x1f4b1e=_0x37c44a(_0x65e75),_0x45b29d=_0x1f4b1e??_0x5f3470(_0x65e75),_0x309c5e=_0x357f0e[_0x424081(0x166)](_0x384f74=>Object[_0x424081(0x16e)][_0x424081(0x3d8)][_0x424081(0x30e)](_0x384f74[_0x424081(0x4d1)],_0x45b29d)),_0x5b502b=_0x1f4b1e?_0x65e75['fields'][_0x1f4b1e]:_0x309c5e?_0x5797d7(_0x65e75,_0x45b29d,_0x20391f):null,_0x3f2749=[];for(let _0x54428e of _0x357f0e){let _0x40b97e=_0x54428e['values'][_0x45b29d],_0x4b7aa4=_0x5b502b!==null&&Object['prototype'][_0x424081(0x3d8)][_0x424081(0x30e)](_0x54428e[_0x424081(0x4d1)],_0x45b29d),_0x42fd43=_0x21a02d(_0x40b97e),_0x27e3e5=null;if(_0x4b7aa4){if(typeof _0x42fd43!=_0x424081(0x525)||!_0x54eb47(_0x42fd43,!0x1)[_0x424081(0x2d9)])return null;_0x27e3e5=_0x42fd43;}let _0x32dad7={};if(Object[_0x424081(0x21f)](_0x54428e[_0x424081(0x4d1)])['forEach'](([_0xec3d4f,_0x10c6f7])=>{_0x4b7aa4&&_0xec3d4f===_0x45b29d||(_0x32dad7[_0xec3d4f]=_0x10c6f7);}),!_0x3bab69(_0x1e2347,_0x1ad18c,{..._0x54428e,'values':_0x32dad7}))return null;let _0x27560d={..._0x54428e[_0x424081(0x4d1)]};_0x27e3e5!==null&&(_0x27560d[_0x45b29d]=_0x27e3e5),_0x3f2749[_0x424081(0x36c)](_0x47c89d({..._0x54428e,'values':_0x27560d}));}return{'records':_0x3f2749,'hierarchyFieldToMaterialize':_0x1f4b1e?null:_0x5b502b,'hierarchyChanges':_0x548acb(_0x65e75,_0x3f2749)};}let _0x5ebfe6={'id':'base.command.batch-create-base-records','type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler'(_0x4d8129,_0x515fac){const _0x5c32e1=_0x5b4d61;if(!_0x515fac)return!0x1;let _0xd72866=_0x4d8129[_0x5c32e1(0x3a4)](_0x552f17[_0x5c32e1(0x372)]),{unitId:_0x8b7cac,tableId:_0x57cb5f,records:_0x4dc4de}=_0x515fac,_0x49c426=_0xd72866[_0x5c32e1(0x259)](_0x8b7cac,_0x552f17[_0x5c32e1(0x349)][_0x5c32e1(0x1e2)]),_0x588467=_0x4dc4de[_0x5c32e1(0x3ab)](_0xc2eb87=>_0xc2eb87['id']);if(!_0x49c426||!_0x15c798(_0x49c426,_0x57cb5f)||new Set(_0x588467)[_0x5c32e1(0x18d)]!==_0x588467[_0x5c32e1(0x46a)])return!0x1;let _0x1994c7=_0x4d8129[_0x5c32e1(0x3a4)](_0x552f17['ICommandService']),_0x3d1013=_0x4d8129[_0x5c32e1(0x3a4)](_0x552f17['IUndoRedoService']),_0x2dbef9=_0x4d8129[_0x5c32e1(0x3a4)](_0x18f07e),_0x3e4fc2=_0x49c426[_0x5c32e1(0x157)](),_0x4cfa29=_0x2b2e73(_0x49c426,_0x57cb5f,_0x4dc4de);if(!_0x4cfa29)return!0x1;let {records:_0x409a76,hierarchyChanges:_0x5e8111,hierarchyFieldToMaterialize:_0x32cfd7}=_0x4cfa29,_0x592a0b=_0x32cfd7?_0x2dbef9[_0x5c32e1(0x377)](_0x49c426,_0x57cb5f,_0x32cfd7,_0x3e4fc2[_0x5c32e1(0x1e1)][_0x57cb5f][_0x5c32e1(0x151)][_0x5c32e1(0x46a)]):null,_0x544a5b=_0x2dbef9[_0x5c32e1(0x1ef)](_0x49c426,_0x57cb5f,_0x409a76),_0x40a5b7=_0x4c4822([..._0x592a0b?[_0x592a0b]:[],_0x544a5b]),_0x47ede4=new _0x600fcd()[_0x5c32e1(0x4fa)](_0x3e4fc2,_0x40a5b7),_0x34164f={'unitId':_0x8b7cac,'op':_0x40a5b7,'hierarchyChanges':_0x5e8111[_0x5c32e1(0x46a)]?_0x5e8111:void 0x0,'source':_0x5e8111['length']?_0x515fac[_0x5c32e1(0x364)]??'ui':void 0x0},_0x3800f1={..._0x34164f,'source':_0x5e8111[_0x5c32e1(0x46a)]?'redo':void 0x0},_0x670a68={'unitId':_0x8b7cac,'op':_0x47ede4,'hierarchyChanges':_0x5e8111[_0x5c32e1(0x46a)]?_0x5e8111[_0x5c32e1(0x3ab)](_0x8c4438=>({..._0x8c4438,'oldParentRecordId':_0x8c4438['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x5e8111['length']?_0x5c32e1(0x214):void 0x0};return _0x1994c7['syncExecuteCommand'](_0x489c96['id'],_0x34164f)?(_0xd72866['focusUnit'](_0x8b7cac),_0x3d1013[_0x5c32e1(0x480)]({'unitID':_0x8b7cac,'undoMutations':[{'id':_0x489c96['id'],'params':_0x670a68}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3800f1}]}),!0x0):!0x1;}},_0x3cbb7e={'id':_0x5b4d61(0x4b8),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x12e534,_0xb01be5)=>{const _0x1d3fb7=_0x5b4d61;if(!_0xb01be5)return!0x1;let _0x30c136=_0x12e534[_0x1d3fb7(0x3a4)](_0x552f17[_0x1d3fb7(0x372)]),{unitId:_0x261436,tableId:_0x384438,recordIds:_0x23be1a}=_0xb01be5,_0x22df64=_0x30c136[_0x1d3fb7(0x259)](_0x261436,_0x552f17['UniverInstanceType']['UNIVER_BASE']);if(!_0x22df64||!_0x15c798(_0x22df64,_0x384438,{'recordIds':_0x23be1a}))return!0x1;let _0x127371=_0x12e534[_0x1d3fb7(0x3a4)](_0x552f17['ICommandService']),_0x2cbd92=_0x12e534[_0x1d3fb7(0x3a4)](_0x552f17[_0x1d3fb7(0x471)]),_0x26482b=_0x22df64[_0x1d3fb7(0x157)](),_0x35fe74=_0x230aed(_0x26482b[_0x1d3fb7(0x1e1)][_0x384438],_0x23be1a),_0xc857ff=new _0x1b9aeb(),_0x13e13a=new _0x600fcd(),_0x5a374e=_0xc857ff[_0x1d3fb7(0x1f6)](_0x26482b,_0x384438,_0x23be1a),_0x4a8f0b=_0x13e13a[_0x1d3fb7(0x401)](_0x26482b,_0x5a374e),_0x236aee=_0xc857ff['createDeleteRecordsUndoOp'](_0x26482b,_0x4a8f0b,_0x384438,_0x23be1a),_0x458466={'unitId':_0x261436,'op':_0x5a374e,'hierarchyChanges':_0x35fe74,'source':_0xb01be5['source']??'ui'},_0x4d4fbe={..._0x458466,'source':_0x1d3fb7(0x392)},_0x3c9c9a={'unitId':_0x261436,'op':_0x236aee,'hierarchyChanges':_0x35fe74[_0x1d3fb7(0x3ab)](_0x3934c7=>({..._0x3934c7,'oldParentRecordId':_0x3934c7[_0x1d3fb7(0x286)],'parentRecordId':_0x3934c7[_0x1d3fb7(0x22e)]})),'source':_0x1d3fb7(0x214)};return _0x127371[_0x1d3fb7(0x447)](_0x489c96['id'],_0x458466)?(_0x30c136[_0x1d3fb7(0x1aa)](_0x261436),_0x2cbd92[_0x1d3fb7(0x480)]({'unitID':_0x261436,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3c9c9a}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x4d4fbe}]}),!0x0):!0x1;}},_0x279481={'id':'base.command.change-base-field-type','type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'handler':(_0x7d03ee,_0x40783d)=>{const _0x440455=_0x5b4d61;if(!_0x40783d)return!0x1;let _0x2153a2=_0x7d03ee['get'](_0x552f17[_0x440455(0x372)]),{unitId:_0x2ead05,tableId:_0x4ce0db,fieldId:_0x4ca4a7,input:_0x16354a}=_0x40783d,_0x364da4=_0x2153a2[_0x440455(0x259)](_0x2ead05,_0x552f17[_0x440455(0x349)][_0x440455(0x1e2)]);if(!_0x364da4||_0x4ca4a7===_0x552f17['BASE_RECORD_ID_FIELD_ID']||!_0x15c798(_0x364da4,_0x4ce0db,{'fieldIds':[_0x4ca4a7]}))return!0x1;let _0x413d15=_0x7d03ee[_0x440455(0x3a4)](_0x552f17[_0x440455(0xf5)]),_0x3ffe46=_0x7d03ee['get'](_0x552f17['IUndoRedoService']),_0x260ffc=_0x364da4['getSnapshot']();if(!_0x355e36(_0x364da4,_0x4ce0db,{..._0x260ffc[_0x440455(0x1e1)][_0x4ce0db]['fields'][_0x4ca4a7],..._0x16354a}))return!0x1;let _0x1a40c4=new _0x1b9aeb()[_0x440455(0x409)](_0x260ffc,_0x4ce0db,_0x4ca4a7,_0x16354a),_0x15792b=new _0x600fcd()[_0x440455(0x4fa)](_0x260ffc,_0x1a40c4),_0x5ef982={'unitId':_0x2ead05,'op':_0x1a40c4},_0x36ec01={'unitId':_0x2ead05,'op':_0x15792b};return _0x413d15[_0x440455(0x447)](_0x489c96['id'],_0x5ef982)?(_0x2153a2[_0x440455(0x1aa)](_0x2ead05),_0x3ffe46['pushUndoRedo']({'unitID':_0x2ead05,'undoMutations':[{'id':_0x489c96['id'],'params':_0x36ec01}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x5ef982}]}),!0x0):!0x1;}},_0x332954={'id':'base.command.create-base-child-record','type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'handler'(_0x2ab797,_0xe430dc){const _0x46cd2d=_0x5b4d61;var _0x1a9b6e;if(!_0xe430dc)return!0x1;let {unitId:_0x460315,tableId:_0x413c35,parentRecordId:_0x3c84fa}=_0xe430dc,_0x317adf=_0x2ab797[_0x46cd2d(0x3a4)](_0x552f17[_0x46cd2d(0x372)]),_0xdd0016=_0x317adf[_0x46cd2d(0x259)](_0x460315,_0x552f17[_0x46cd2d(0x349)][_0x46cd2d(0x1e2)]);if(!_0xdd0016||!_0x15c798(_0xdd0016,_0x413c35,{'recordIds':[_0x3c84fa]}))throw new _0x31b592(_0x46cd2d(0x2f6));let _0x1e17dc=_0xdd0016['getSnapshot'](),_0x4a1f81=_0x1e17dc[_0x46cd2d(0x1e1)][_0x413c35],_0x52af45=_0x37c44a(_0x4a1f81),_0x12afe4=_0x52af45??_0xe430dc[_0x46cd2d(0x400)]??_0x5f3470(_0x4a1f81);if(_0x52af45&&_0xe430dc[_0x46cd2d(0x400)]&&_0xe430dc[_0x46cd2d(0x400)]!==_0x52af45||_0x4a1f81['fields'][_0x12afe4]&&!_0x288df0(_0x4a1f81,_0x12afe4))throw new _0x31b592('invalidField');if((_0x128f1a(_0x4a1f81,_0x12afe4)[_0x46cd2d(0x3d1)][_0x46cd2d(0x3a4)](_0x3c84fa)??0x0)+0x1>=0x5)throw new _0x31b592('maxDepth');if(!_0x3bab69(_0xdd0016,_0x413c35,_0xe430dc[_0x46cd2d(0x54f)]))return!0x1;let _0xfb238d=_0x47c89d({..._0xe430dc[_0x46cd2d(0x54f)],'values':{..._0xe430dc[_0x46cd2d(0x54f)][_0x46cd2d(0x4d1)],[_0x12afe4]:_0x4be8de([_0x3c84fa])}}),_0x350380=_0x2ab797[_0x46cd2d(0x3a4)](_0x18f07e),_0x23f06b=new _0x1b9aeb(),_0x408698=_0x4a1f81[_0x46cd2d(0x3ec)][_0x12afe4],_0x408f7e=_0x408698?((_0x1a9b6e=_0x423169(_0x408698))==null?void 0x0:_0x1a9b6e[_0x46cd2d(0x102)])===_0x552f17[_0x46cd2d(0x548)][_0x46cd2d(0x3d3)]?null:_0x23f06b[_0x46cd2d(0x41a)](_0x1e17dc,_0x413c35,_0x12afe4,{'config':{..._0x408698['config'],'relationRole':_0x552f17['BaseRecordLinkRole'][_0x46cd2d(0x3d3)]}}):_0x350380[_0x46cd2d(0x377)](_0xdd0016,_0x413c35,_0x5797d7(_0x4a1f81,_0x12afe4,_0xe430dc[_0x46cd2d(0x224)]),_0x4a1f81[_0x46cd2d(0x151)][_0x46cd2d(0x46a)]),_0x51a4f2=_0x350380[_0x46cd2d(0x28c)](_0xdd0016,_0x413c35,_0xfb238d),_0x561f98=_0x4c4822([..._0x408f7e?[_0x408f7e]:[],_0x51a4f2]),_0x1742fb=new _0x600fcd()[_0x46cd2d(0x4fa)](_0x1e17dc,_0x561f98),_0x32fb9d={'tableId':_0x413c35,'fieldId':_0x12afe4,'recordId':_0xfb238d['id'],'oldParentRecordId':null,'parentRecordId':_0x3c84fa},_0x6c180f={'unitId':_0x460315,'op':_0x561f98,'trigger':_0x332954['id'],'hierarchyChanges':[_0x32fb9d],'source':_0xe430dc[_0x46cd2d(0x364)]??'ui'},_0x536ad9={..._0x6c180f,'source':_0x46cd2d(0x392)},_0x2889c4={'unitId':_0x460315,'op':_0x1742fb,'trigger':_0x332954['id'],'hierarchyChanges':[{..._0x32fb9d,'oldParentRecordId':_0x3c84fa,'parentRecordId':null}],'source':_0x46cd2d(0x214)};return _0x2ab797['get'](_0x552f17['ICommandService'])[_0x46cd2d(0x447)](_0x489c96['id'],_0x6c180f)?(_0x317adf[_0x46cd2d(0x1aa)](_0x460315),_0x2ab797[_0x46cd2d(0x3a4)](_0x552f17[_0x46cd2d(0x471)])[_0x46cd2d(0x480)]({'unitID':_0x460315,'undoMutations':[{'id':_0x489c96['id'],'params':_0x2889c4}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x536ad9}]}),!0x0):!0x1;}},_0x34c3a3={'id':_0x5b4d61(0x1da),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x252e34,_0x47ac51){const _0x87950c=_0x5b4d61;if(!_0x47ac51)return!0x1;let _0x44fa56=_0x252e34[_0x87950c(0x3a4)](_0x552f17[_0x87950c(0x372)]),{unitId:_0x2af010,tableId:_0x32877e,field:_0x42d11c,index:_0x1863d4,viewIndexes:_0x545b8c}=_0x47ac51,_0x5aa8cc=_0x44fa56[_0x87950c(0x259)](_0x2af010,_0x552f17[_0x87950c(0x349)][_0x87950c(0x1e2)]);if(!_0x5aa8cc||!_0x15c798(_0x5aa8cc,_0x32877e)||_0x5aa8cc['getSnapshot']()[_0x87950c(0x1e1)][_0x32877e][_0x87950c(0x3ec)][_0x42d11c['id']]||_0x1863d4===0x0||!_0x355e36(_0x5aa8cc,_0x32877e,_0x42d11c))return!0x1;let _0x559617=_0x252e34[_0x87950c(0x3a4)](_0x552f17['ICommandService']),_0xc9532f=_0x252e34[_0x87950c(0x3a4)](_0x552f17[_0x87950c(0x471)]),_0xa61661=_0x252e34[_0x87950c(0x3a4)](_0x18f07e)[_0x87950c(0x377)](_0x5aa8cc,_0x32877e,_0x42d11c,_0x1863d4,_0x545b8c),_0x1f186c=new _0x600fcd()[_0x87950c(0x4fa)](_0x5aa8cc['getSnapshot'](),_0xa61661),_0x573210={'unitId':_0x2af010,'op':_0xa61661},_0x5658dd={'unitId':_0x2af010,'op':_0x1f186c};return _0x559617['syncExecuteCommand'](_0x489c96['id'],_0x573210)?(_0x44fa56['focusUnit'](_0x2af010),_0xc9532f[_0x87950c(0x480)]({'unitID':_0x2af010,'undoMutations':[{'id':_0x489c96['id'],'params':_0x5658dd}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x573210}]}),!0x0):!0x1;}},_0x32d850={'id':_0x5b4d61(0x4f0),'type':_0x552f17['CommandType']['COMMAND'],'handler'(_0x34f8b8,_0x5b8171){const _0x18785d=_0x5b4d61;if(!_0x5b8171)return!0x1;let _0x68f3e2=_0x34f8b8[_0x18785d(0x3a4)](_0x552f17[_0x18785d(0x372)]),{unitId:_0x4f6a0c,tableId:_0x2002e7,record:_0x3b18c5}=_0x5b8171,_0x223618=_0x68f3e2[_0x18785d(0x259)](_0x4f6a0c,_0x552f17[_0x18785d(0x349)]['UNIVER_BASE']);if(!_0x223618||!_0x15c798(_0x223618,_0x2002e7))return!0x1;let _0x4fe050=_0x34f8b8[_0x18785d(0x3a4)](_0x552f17[_0x18785d(0xf5)]),_0x5fe8d2=_0x34f8b8['get'](_0x552f17['IUndoRedoService']),_0x12d901=_0x34f8b8[_0x18785d(0x3a4)](_0x18f07e),_0x47afb2=_0x223618[_0x18785d(0x157)](),_0x249f07=_0x2b2e73(_0x223618,_0x2002e7,[_0x3b18c5]);if(!_0x249f07)return!0x1;let [_0x4dbe99]=_0x249f07[_0x18785d(0x29e)],{hierarchyChanges:_0x57a537,hierarchyFieldToMaterialize:_0x297558}=_0x249f07,_0xaaeca4=_0x297558?_0x12d901[_0x18785d(0x377)](_0x223618,_0x2002e7,_0x297558,_0x47afb2[_0x18785d(0x1e1)][_0x2002e7][_0x18785d(0x151)][_0x18785d(0x46a)]):null,_0x4295d0=_0x12d901[_0x18785d(0x28c)](_0x223618,_0x2002e7,_0x4dbe99),_0x2445f5=_0x4c4822([..._0xaaeca4?[_0xaaeca4]:[],_0x4295d0]),_0x1a68c8=new _0x600fcd()[_0x18785d(0x4fa)](_0x47afb2,_0x2445f5),_0xb6c44d={'unitId':_0x4f6a0c,'op':_0x2445f5,'hierarchyChanges':_0x57a537[_0x18785d(0x46a)]?_0x57a537:void 0x0,'source':_0x57a537[_0x18785d(0x46a)]?_0x5b8171[_0x18785d(0x364)]??'ui':void 0x0},_0x1e13fe={..._0xb6c44d,'source':_0x57a537[_0x18785d(0x46a)]?'redo':void 0x0},_0x3c532a={'unitId':_0x4f6a0c,'op':_0x1a68c8,'hierarchyChanges':_0x57a537[_0x18785d(0x46a)]?_0x57a537[_0x18785d(0x3ab)](_0x2998ef=>({..._0x2998ef,'oldParentRecordId':_0x2998ef[_0x18785d(0x286)],'parentRecordId':null})):void 0x0,'source':_0x57a537['length']?'undo':void 0x0};return _0x4fe050['syncExecuteCommand'](_0x489c96['id'],_0xb6c44d)?(_0x68f3e2[_0x18785d(0x1aa)](_0x4f6a0c),_0x5fe8d2[_0x18785d(0x480)]({'unitID':_0x4f6a0c,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3c532a}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x1e13fe}]}),!0x0):!0x1;}};function _0x161279(_0x3e7c85,_0x156c0a,_0x355468){const _0x8f60ed=_0x5b4d61;if(!_0x156c0a[_0x8f60ed(0x104)]())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x8f60ed(0x2ba)};if(_0x156c0a[_0x8f60ed(0x46a)]>0x1f)return{'valid':!0x1,'reason':_0x8f60ed(0x44f),'error':_0x8f60ed(0x117)};if(_0x156c0a[_0x8f60ed(0x10a)]('\x27')||_0x156c0a[_0x8f60ed(0x21c)]('\x27'))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','error':_0x8f60ed(0x107)};if(/[:\\/?*\[\]]/['test'](_0x156c0a))return{'valid':!0x1,'reason':_0x8f60ed(0x138),'error':_0x8f60ed(0x45e)};if(!(0x0,_0x552f17['nameCharacterCheck'])(_0x156c0a))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':'invalid'};let _0x2ff911=_0x156c0a[_0x8f60ed(0x335)]();return Object[_0x8f60ed(0x4d1)](_0x3e7c85[_0x8f60ed(0x1e1)])[_0x8f60ed(0x166)](_0x23f3ee=>_0x23f3ee['id']!==_0x355468&&_0x23f3ee[_0x8f60ed(0x288)][_0x8f60ed(0x335)]()===_0x2ff911)?{'valid':!0x1,'reason':'A\x20table\x20with\x20this\x20name\x20already\x20exists.','error':'duplicate'}:{'valid':!0x0};}function _0x68e3f(_0x4b19d7,_0x284054){const _0x166eb1=_0x5b4d61;let _0x11c6af=_0x284054[_0x166eb1(0x394)](/[:\\/?*\[\]]/g,'\x20')[_0x166eb1(0x394)](/^'+|'+$/g,'')['trim']()||_0x166eb1(0x3db),_0x5506ff=0x1;for(;;){let _0x1b8251=_0x5506ff===0x1?'':'\x20'+_0x5506ff,_0x5e2c03=''+_0x11c6af['slice'](0x0,0x1f-_0x1b8251[_0x166eb1(0x46a)])+_0x1b8251;if(_0x161279(_0x4b19d7,_0x5e2c03)[_0x166eb1(0x2d9)])return _0x5e2c03;_0x5506ff++;}}let _0x199eaa={'id':_0x5b4d61(0x39e),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x1930c3,_0x149e4f)=>{const _0x4e3203=_0x5b4d61;if(!_0x149e4f)return!0x1;let _0x266f94=_0x1930c3[_0x4e3203(0x3a4)](_0x552f17[_0x4e3203(0x372)]),{unitId:_0x222e9e,table:_0x1fc970,index:_0x532c8e}=_0x149e4f,_0x34d0d1=_0x266f94['getUnit'](_0x222e9e,_0x552f17['UniverInstanceType'][_0x4e3203(0x1e2)]);if(!_0x34d0d1||_0x34d0d1['getSnapshot']()[_0x4e3203(0x1e1)][_0x1fc970['id']]||!_0x161279(_0x34d0d1['getSnapshot'](),_0x1fc970[_0x4e3203(0x288)])['valid'])return!0x1;try{(0x0,_0x552f17[_0x4e3203(0x2c9)])(_0x1fc970);}catch{return!0x1;}let _0x3ace3a=_0x1930c3[_0x4e3203(0x3a4)](_0x552f17[_0x4e3203(0xf5)]),_0x1c91d2=_0x1930c3[_0x4e3203(0x3a4)](_0x552f17[_0x4e3203(0x471)]),_0x9174d=_0x34d0d1[_0x4e3203(0x157)](),_0x10bfb7=new _0x1b9aeb()[_0x4e3203(0x314)](_0x9174d,_0x1fc970,_0x532c8e),_0x133f3f=new _0x600fcd()[_0x4e3203(0x4fa)](_0x9174d,_0x10bfb7),_0x451939={'unitId':_0x222e9e,'op':_0x10bfb7},_0x4541c8={'unitId':_0x222e9e,'op':_0x133f3f};return _0x3ace3a[_0x4e3203(0x447)](_0x489c96['id'],_0x451939)?(_0x266f94[_0x4e3203(0x1aa)](_0x222e9e),_0x1c91d2['pushUndoRedo']({'unitID':_0x222e9e,'undoMutations':[{'id':_0x489c96['id'],'params':_0x4541c8}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x451939}]}),!0x0):!0x1;}};function _0x2ceb53(_0x9bb62f,_0x17ad8c,_0x3a6026=[]){const _0x31f5a3=_0x5b4d61;let _0x49292a=new Set([...Object[_0x31f5a3(0x4d1)](_0x9bb62f['fields'])[_0x31f5a3(0x30a)](_0x332462=>_0x332462)[_0x31f5a3(0x3ab)](_0x58c2b5=>_0x58c2b5['name']),..._0x3a6026[_0x31f5a3(0x3ab)](_0xeca005=>_0xeca005[_0x31f5a3(0x288)])]);if(!_0x49292a['has'](_0x17ad8c))return _0x17ad8c;let _0x46f21e=0x2;for(;_0x49292a['has'](_0x17ad8c+'\x20'+_0x46f21e);)_0x46f21e++;return _0x17ad8c+'\x20'+_0x46f21e;}function _0x1ede21(_0x3a9887,_0x2db67a){const _0x53849a=_0x5b4d61;if(!_0x3a9887||!_0x2db67a[_0x53849a(0x46a)])return;let _0x55f8b4=[..._0x3a9887];return _0x2db67a[_0x53849a(0x116)](_0x59e48d=>{const _0x51053e=_0x53849a;_0x55f8b4[_0x51053e(0x396)](_0x59e48d)||_0x55f8b4[_0x51053e(0x36c)](_0x59e48d);}),_0x55f8b4;}let _0x57b87a={'options':[{'id':_0x5b4d61(0x206),'name':_0x5b4d61(0x331),'color':'#BFDBFE'},{'id':'doing','name':_0x5b4d61(0x456),'color':_0x5b4d61(0x128)},{'id':_0x5b4d61(0x12c),'name':_0x5b4d61(0x380),'color':_0x5b4d61(0x3df)}]},_0x3db79b={'locale':_0x5b4d61(0x539),'pattern':_0x5b4d61(0x300),'includeTime':!0x1,'hourCycle':_0x5b4d61(0x344),'defaultMode':'none'};function _0x27f1c1(_0x3f2832,_0x5afb56,_0xbd338a,_0x19dca0){const _0x278379=_0x5b4d61;var _0x292f66;let _0x419a5f=new _0x1b9aeb(),_0x4bd36f=_0x3f2832[_0x278379(0x1e1)][_0x5afb56],_0x42ed29=_0x4bd36f?{..._0xbd338a,'fieldOrder':[_0x552f17[_0x278379(0x316)],...(_0xbd338a[_0x278379(0x151)]??_0x4bd36f[_0x278379(0x151)])[_0x278379(0x30a)](_0x3ac2fc=>_0x3ac2fc!==_0x552f17[_0x278379(0x316)])],'fieldSettings':{..._0xbd338a[_0x278379(0x32b)],[_0x552f17[_0x278379(0x316)]]:{...(_0x292f66=_0xbd338a[_0x278379(0x32b)])==null?void 0x0:_0x292f66[_0x552f17[_0x278379(0x316)]],'hidden':!0x0}}}:_0xbd338a;if(_0x4bd36f&&_0x42ed29[_0x278379(0x4cd)]===_0x278379(0x355)){let _0xbb47e0=_0x4a6bfb(_0x4bd36f,_0x42ed29),_0x39fa0c=_0xbb47e0[_0x278379(0x397)]?{..._0x42ed29,'config':_0xbb47e0[_0x278379(0x340)],'fieldOrder':_0xbb47e0[_0x278379(0x151)]??_0x42ed29['fieldOrder']}:_0x42ed29;return _0x4c4822([..._0xbb47e0[_0x278379(0x3ec)][_0x278379(0x3ab)](_0x5acead=>_0x419a5f['createField'](_0x3f2832,_0x5afb56,{'field':_0x5acead})),_0x419a5f[_0x278379(0x27e)](_0x3f2832,_0x5afb56,_0x39fa0c,_0x19dca0)]);}if(!_0x4bd36f||_0x42ed29[_0x278379(0x4cd)]!=='calendar'&&_0x42ed29[_0x278379(0x4cd)]!==_0x278379(0x527))return _0x419a5f['createView'](_0x3f2832,_0x5afb56,_0x42ed29,_0x19dca0);let _0xdafa6e=_0x2a44a3(_0x4bd36f,_0x42ed29),_0xcefa89=_0xdafa6e[_0x278379(0x397)]?{..._0x42ed29,'config':_0xdafa6e[_0x278379(0x340)],'fieldOrder':_0xdafa6e[_0x278379(0x151)]??_0x42ed29[_0x278379(0x151)]}:_0x42ed29;return _0x42ed29[_0x278379(0x4cd)]===_0x278379(0x527)&&_0x3eddf4(_0x42ed29)&&(_0xcefa89=_0x3383b3(_0x4bd36f,_0xcefa89,_0xdafa6e[_0x278379(0x3ec)])),_0x4c4822([..._0xdafa6e[_0x278379(0x3ec)][_0x278379(0x3ab)](_0x2d743d=>_0x419a5f[_0x278379(0x51e)](_0x3f2832,_0x5afb56,{'field':_0x2d743d})),_0x419a5f[_0x278379(0x27e)](_0x3f2832,_0x5afb56,_0xcefa89,_0x19dca0)]);}function _0x2a44a3(_0x33e5d8,_0x1fc221,_0x44fb49=!0x1){const _0x36e6ca=_0x5b4d61;var _0x34a39d,_0x1b83b5;let _0x80e11b=_0x33e5d8[_0x36e6ca(0x151)][_0x36e6ca(0x30a)](_0x10a776=>_0x143b6f(_0x33e5d8,_0x10a776)),_0x2dcf10=[],_0x53f962={..._0x1fc221[_0x36e6ca(0x340)]??{}},_0x294d16=typeof _0x53f962[_0x36e6ca(0x1f9)]==_0x36e6ca(0x525)&&_0x143b6f(_0x33e5d8,_0x53f962[_0x36e6ca(0x1f9)])?_0x53f962[_0x36e6ca(0x1f9)]:_0x80e11b[0x0],_0x1e1387=typeof _0x53f962['endDateFieldId']=='string'&&_0x143b6f(_0x33e5d8,_0x53f962[_0x36e6ca(0x2e1)])&&_0x53f962[_0x36e6ca(0x2e1)]!==_0x294d16?_0x53f962[_0x36e6ca(0x2e1)]:_0x80e11b[_0x36e6ca(0x2f8)](_0x1220e5=>_0x1220e5!==_0x294d16);if(!_0x294d16){let _0x5b518c=_0x2d6cf5(_0x33e5d8,_0x2dcf10,_0x1fc221['type']==='gantt'?'Start\x20date':_0x36e6ca(0x522));_0x2dcf10['push'](_0x5b518c),_0x294d16=_0x5b518c['id'];}if((_0x1fc221[_0x36e6ca(0x4cd)]===_0x36e6ca(0x527)||_0x44fb49)&&!_0x1e1387){let _0x10cc92=_0x2d6cf5(_0x33e5d8,_0x2dcf10,_0x36e6ca(0x26b));_0x2dcf10['push'](_0x10cc92),_0x1e1387=_0x10cc92['id'];}_0x1fc221['type']===_0x36e6ca(0x33e)&&!_0x1e1387&&delete _0x53f962['endDateFieldId'],_0x53f962[_0x36e6ca(0x1f9)]=_0x294d16,_0x1fc221[_0x36e6ca(0x4cd)]===_0x36e6ca(0x33e)&&_0x1e1387&&(_0x53f962['endDateFieldId']=_0x1e1387),_0x1fc221['type']===_0x36e6ca(0x527)&&(_0x53f962[_0x36e6ca(0x2e1)]=_0x1e1387??_0x294d16);let _0x5823e3=_0x1ede21(_0x1fc221[_0x36e6ca(0x151)],_0x2dcf10[_0x36e6ca(0x3ab)](_0x252155=>_0x252155['id']));return{'changed':_0x2dcf10[_0x36e6ca(0x46a)]>0x0||_0x53f962[_0x36e6ca(0x1f9)]!==((_0x34a39d=_0x1fc221[_0x36e6ca(0x340)])==null?void 0x0:_0x34a39d['startDateFieldId'])||_0x53f962[_0x36e6ca(0x2e1)]!==((_0x1b83b5=_0x1fc221[_0x36e6ca(0x340)])==null?void 0x0:_0x1b83b5[_0x36e6ca(0x2e1)])||!(!_0x5823e3||_0x552f17['Tools'][_0x36e6ca(0x33d)](_0x5823e3,_0x1fc221[_0x36e6ca(0x151)]??[])),'fields':_0x2dcf10,'config':_0x53f962,'fieldOrder':_0x5823e3};}function _0x4a6bfb(_0xf3adcf,_0x44b9d6){const _0x56b220=_0x5b4d61;var _0x40d7ed;let _0x251298=[],_0x1334de={..._0x44b9d6[_0x56b220(0x340)]??{}},_0x372def=typeof _0x1334de[_0x56b220(0xf8)]==_0x56b220(0x525)&&_0x406fc3(_0xf3adcf,_0x1334de['groupFieldId'])?_0x1334de[_0x56b220(0xf8)]:_0xf3adcf[_0x56b220(0x151)][_0x56b220(0x2f8)](_0x11336c=>_0x406fc3(_0xf3adcf,_0x11336c));if(!_0x372def){let _0x3befdf=_0x1aa780(_0xf3adcf,_0x251298);_0x251298[_0x56b220(0x36c)](_0x3befdf),_0x372def=_0x3befdf['id'];}_0x1334de['groupFieldId']=_0x372def;let _0x88d9ec=_0x1ede21(_0x44b9d6['fieldOrder'],_0x251298[_0x56b220(0x3ab)](_0xb4f28f=>_0xb4f28f['id']));return{'changed':_0x251298[_0x56b220(0x46a)]>0x0||_0x1334de['groupFieldId']!==((_0x40d7ed=_0x44b9d6[_0x56b220(0x340)])==null?void 0x0:_0x40d7ed[_0x56b220(0xf8)])||!(!_0x88d9ec||_0x552f17[_0x56b220(0x395)][_0x56b220(0x33d)](_0x88d9ec,_0x44b9d6['fieldOrder']??[])),'fields':_0x251298,'config':_0x1334de,'fieldOrder':_0x88d9ec};}function _0x406fc3(_0x5e5d91,_0x115e25){const _0x641bdd=_0x5b4d61;let _0x331079=_0x115e25?_0x5e5d91['fields'][_0x115e25]:null;return _0x331079?[_0x552f17['BaseFieldType'][_0x641bdd(0x38b)],_0x552f17['BaseFieldType'][_0x641bdd(0x51a)],_0x552f17[_0x641bdd(0x22d)][_0x641bdd(0x2dc)],_0x552f17['BaseFieldType'][_0x641bdd(0x430)],_0x552f17['BaseFieldType'][_0x641bdd(0x220)],_0x552f17['BaseFieldType'][_0x641bdd(0x3ad)]][_0x641bdd(0x396)](_0x331079[_0x641bdd(0x4cd)]):!0x1;}function _0x1aa780(_0x2c97a3,_0x56378b){const _0x347ee8=_0x5b4d61;return{'id':'fld-'+(0x0,_0x552f17[_0x347ee8(0x32e)])(0x8),'name':_0x2ceb53(_0x2c97a3,_0x347ee8(0x488),_0x56378b),'type':_0x552f17[_0x347ee8(0x22d)][_0x347ee8(0x38b)],'config':_0x552f17[_0x347ee8(0x395)][_0x347ee8(0x4bf)](_0x57b87a)};}function _0x3eddf4(_0x3eb96e){const _0x577e47=_0x5b4d61;return Object[_0x577e47(0x1bd)](_0x3eb96e[_0x577e47(0x340)]??{})[_0x577e47(0x46a)]===0x0&&Object['keys'](_0x3eb96e['fieldSettings']??{})[_0x577e47(0x46a)]===0x0;}function _0x3383b3(_0x5e7f0d,_0x12cecb,_0xe395ae){const _0x59362d=_0x5b4d61;let _0x4b5689={..._0x12cecb[_0x59362d(0x340)]??{}},_0x40be6b=_0xe395ae[_0x59362d(0x3ab)](_0x2f98a7=>_0x2f98a7['id']),_0x2c5af5=[..._0x5e7f0d[_0x59362d(0x151)],..._0x40be6b],_0x4c3147=typeof _0x4b5689[_0x59362d(0x458)]==_0x59362d(0x525)&&_0x5ddb54(_0x5e7f0d,_0xe395ae,_0x4b5689['titleFieldId'])?_0x4b5689[_0x59362d(0x458)]:_0x5e7f0d[_0x59362d(0x3a1)],_0x24bd71=typeof _0x4b5689[_0x59362d(0x1f9)]==_0x59362d(0x525)?_0x4b5689[_0x59362d(0x1f9)]:'',_0x5418fe=typeof _0x4b5689[_0x59362d(0x2e1)]==_0x59362d(0x525)?_0x4b5689[_0x59362d(0x2e1)]:_0x24bd71,_0x49a2e0=new Set([_0x4c3147,_0x24bd71,_0x5418fe][_0x59362d(0x30a)](_0x3adfeb=>_0x3adfeb&&_0x5ddb54(_0x5e7f0d,_0xe395ae,_0x3adfeb))),_0x3963bb=Object['fromEntries'](_0x2c5af5[_0x59362d(0x4a0)](_0x23d6fe=>_0x49a2e0[_0x59362d(0x1d8)](_0x23d6fe)||!_0x5ddb54(_0x5e7f0d,_0xe395ae,_0x23d6fe)?[]:[[_0x23d6fe,{'hidden':!0x0}]]));return{..._0x12cecb,'config':{..._0x4b5689,'titleFieldId':_0x4c3147},'fieldSettings':_0x3963bb};}function _0x5ddb54(_0x8f5eff,_0x5e3b9f,_0x1211bb){const _0x378425=_0x5b4d61;return!!(_0x8f5eff[_0x378425(0x3ec)][_0x1211bb]??_0x5e3b9f[_0x378425(0x2f8)](_0x54a5b1=>_0x54a5b1['id']===_0x1211bb))&&!0x0;}function _0x143b6f(_0x38c876,_0x22caf6){const _0x1a3f51=_0x5b4d61;let _0x2e9793=_0x22caf6?_0x38c876['fields'][_0x22caf6]:null;return!!_0x2e9793&&_0x2e9793[_0x1a3f51(0x4cd)]===_0x552f17['BaseFieldType'][_0x1a3f51(0x522)]&&_0x2e9793[_0x1a3f51(0x4e2)]!==!0x0&&_0x2e9793[_0x1a3f51(0x505)]!==!0x0;}function _0x2d6cf5(_0x482a1e,_0x412405,_0x5c2451){const _0x51da2d=_0x5b4d61;let _0x5ab5e9=new Set([...Object[_0x51da2d(0x1bd)](_0x482a1e['fields']),..._0x412405[_0x51da2d(0x3ab)](_0x327955=>_0x327955['id'])]),_0x12c33f=_0x51da2d(0x4ae)+(0x0,_0x552f17['generateRandomId'])(0x8);for(;_0x5ab5e9[_0x51da2d(0x1d8)](_0x12c33f);)_0x12c33f=_0x51da2d(0x4ae)+(0x0,_0x552f17[_0x51da2d(0x32e)])(0x8);return{'id':_0x12c33f,'name':_0x2ceb53(_0x482a1e,_0x5c2451,_0x412405),'type':_0x552f17[_0x51da2d(0x22d)][_0x51da2d(0x522)],'config':{..._0x3db79b}};}let _0x578650={'id':_0x5b4d61(0x1bb),'type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'handler':(_0x5275c2,_0x16a611)=>{const _0x1c4654=_0x5b4d61;if(!_0x16a611)return!0x1;let _0x4c86e1=_0x5275c2[_0x1c4654(0x3a4)](_0x552f17[_0x1c4654(0x372)]),{unitId:_0x86ba25,tableId:_0x3f751c,view:_0x4d55f8,index:_0xc0bd8f}=_0x16a611,_0x479d83=_0x4c86e1[_0x1c4654(0x259)](_0x86ba25,_0x552f17[_0x1c4654(0x349)]['UNIVER_BASE']);if(!_0x479d83||!_0x15c798(_0x479d83,_0x3f751c)||_0x479d83['getSnapshot']()['tables'][_0x3f751c][_0x1c4654(0x2ea)][_0x4d55f8['id']])return!0x1;let _0x10bc94=_0x5275c2[_0x1c4654(0x3a4)](_0x552f17['ICommandService']),_0x11809b=_0x5275c2[_0x1c4654(0x3a4)](_0x552f17[_0x1c4654(0x471)]),_0x29fb4c=_0x479d83[_0x1c4654(0x157)](),_0x310cec=_0x27f1c1(_0x29fb4c,_0x3f751c,_0x4d55f8,_0xc0bd8f),_0x40706b=new _0x600fcd()[_0x1c4654(0x4fa)](_0x29fb4c,_0x310cec),_0x3f61f8={'historyAction':_0x1c4654(0x50b),'unitId':_0x86ba25,'op':_0x310cec,'viewType':_0x4d55f8[_0x1c4654(0x4cd)]},_0x27c87f={'historyAction':_0x1c4654(0x2a4),'unitId':_0x86ba25,'op':_0x40706b,'viewType':_0x4d55f8[_0x1c4654(0x4cd)]};return _0x10bc94[_0x1c4654(0x447)](_0x489c96['id'],_0x3f61f8)?(_0x4c86e1['focusUnit'](_0x86ba25),_0x11809b['pushUndoRedo']({'unitID':_0x86ba25,'undoMutations':[{'id':_0x489c96['id'],'params':_0x27c87f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3f61f8}]}),!0x0):!0x1;}},_0x3df95a={'id':_0x5b4d61(0x248),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x5479b6,_0x1df762){const _0xe63688=_0x5b4d61;if(!_0x1df762)return!0x1;let _0x3239e6=_0x5479b6[_0xe63688(0x3a4)](_0x552f17[_0xe63688(0x372)]),{unitId:_0x239c51,tableId:_0x51931b,fieldId:_0x288479}=_0x1df762,_0x55c6f9=_0x3239e6['getUnit'](_0x239c51,_0x552f17[_0xe63688(0x349)][_0xe63688(0x1e2)]);if(!_0x55c6f9)return!0x1;let _0x9d305a=_0x55c6f9[_0xe63688(0x157)](),_0x45bf10=_0x9d305a['tables'][_0x51931b];if(!_0x15c798(_0x55c6f9,_0x51931b,{'fieldIds':[_0x288479]})||_0x45bf10[_0xe63688(0x3a1)]===_0x288479||_0x288479===_0x552f17['BASE_RECORD_ID_FIELD_ID'])return!0x1;let _0x2745b8=_0x5479b6[_0xe63688(0x3a4)](_0x552f17[_0xe63688(0xf5)]),_0xb7a5e=_0x5479b6[_0xe63688(0x3a4)](_0x552f17[_0xe63688(0x471)]),_0x1c61e=new _0x1b9aeb()[_0xe63688(0x147)](_0x9d305a,_0x51931b,_0x288479),_0x3c1785=new _0x600fcd()[_0xe63688(0x4fa)](_0x9d305a,_0x1c61e),_0x26e293={'unitId':_0x239c51,'op':_0x1c61e},_0x30dff5={'unitId':_0x239c51,'op':_0x3c1785};return _0x2745b8[_0xe63688(0x447)](_0x489c96['id'],_0x26e293)?(_0x3239e6[_0xe63688(0x1aa)](_0x239c51),_0xb7a5e[_0xe63688(0x480)]({'unitID':_0x239c51,'undoMutations':[{'id':_0x489c96['id'],'params':_0x30dff5}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x26e293}]}),!0x0):!0x1;}},_0x4d533a={'id':'base.command.delete-base-record','type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x2e1a12,_0x286d91)=>{const _0x23c6fc=_0x5b4d61;if(!_0x286d91)return!0x1;let _0x3c9f28=_0x2e1a12[_0x23c6fc(0x3a4)](_0x552f17[_0x23c6fc(0x372)]),{unitId:_0x6fb564,tableId:_0x32f13a,recordId:_0x43d1c0}=_0x286d91,_0x44880a=_0x3c9f28[_0x23c6fc(0x259)](_0x6fb564,_0x552f17[_0x23c6fc(0x349)][_0x23c6fc(0x1e2)]);if(!_0x44880a||!_0x15c798(_0x44880a,_0x32f13a,{'recordIds':[_0x43d1c0]}))return!0x1;let _0x573aae=_0x2e1a12[_0x23c6fc(0x3a4)](_0x552f17[_0x23c6fc(0xf5)]),_0x451946=_0x2e1a12['get'](_0x552f17[_0x23c6fc(0x471)]),_0x5f52f7=_0x44880a[_0x23c6fc(0x157)](),_0x5d734a=_0x230aed(_0x5f52f7[_0x23c6fc(0x1e1)][_0x32f13a],[_0x43d1c0]),_0x332578=new _0x1b9aeb(),_0x47b432=new _0x600fcd(),_0x5baed9=_0x332578[_0x23c6fc(0x14c)](_0x5f52f7,_0x32f13a,_0x43d1c0),_0x594664=_0x47b432[_0x23c6fc(0x401)](_0x5f52f7,_0x5baed9),_0x39539e=_0x332578[_0x23c6fc(0x54a)](_0x5f52f7,_0x594664,_0x32f13a,[_0x43d1c0]),_0x6c990d={'unitId':_0x6fb564,'op':_0x5baed9,'hierarchyChanges':_0x5d734a,'source':_0x286d91[_0x23c6fc(0x364)]??'ui'},_0x44a904={..._0x6c990d,'source':_0x23c6fc(0x392)},_0x27c663={'unitId':_0x6fb564,'op':_0x39539e,'hierarchyChanges':_0x5d734a[_0x23c6fc(0x3ab)](_0x4d1afd=>({..._0x4d1afd,'oldParentRecordId':_0x4d1afd[_0x23c6fc(0x286)],'parentRecordId':_0x4d1afd['oldParentRecordId']})),'source':_0x23c6fc(0x214)};return _0x573aae[_0x23c6fc(0x447)](_0x489c96['id'],_0x6c990d)?(_0x3c9f28[_0x23c6fc(0x1aa)](_0x6fb564),_0x451946['pushUndoRedo']({'unitID':_0x6fb564,'undoMutations':[{'id':_0x489c96['id'],'params':_0x27c663}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x44a904}]}),!0x0):!0x1;}},_0x35f587={'id':_0x5b4d61(0x135),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0xd5bbad,_0x1348fb)=>{const _0x21ead3=_0x5b4d61;if(!_0x1348fb)return!0x1;let _0x109b77=_0xd5bbad[_0x21ead3(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x488d38,tableId:_0x39a8c1}=_0x1348fb,_0x1eb694=_0x109b77[_0x21ead3(0x259)](_0x488d38,_0x552f17[_0x21ead3(0x349)][_0x21ead3(0x1e2)]);if(!_0x1eb694||!_0x15c798(_0x1eb694,_0x39a8c1))return!0x1;let _0x2822fd=_0xd5bbad['get'](_0x552f17[_0x21ead3(0xf5)]),_0xa85ede=_0xd5bbad[_0x21ead3(0x3a4)](_0x552f17[_0x21ead3(0x471)]),_0x2f5e50=_0x1eb694['getSnapshot'](),_0x40f160=_0x1497cf(_0x2f5e50,_0x39a8c1);if(_0x40f160[_0x21ead3(0x46a)]>0x0)return console[_0x21ead3(0x202)]('[DeleteBaseTableCommand]:\x20table\x20\x22'+_0x39a8c1+'\x22\x20is\x20referenced\x20by\x20'+_0x40f160['map'](_0x1345d8=>_0x1345d8[_0x21ead3(0x111)]+'.'+_0x1345d8[_0x21ead3(0x400)])[_0x21ead3(0x53f)](',\x20')+'.'),!0x1;let _0x486a96=new _0x1b9aeb()[_0x21ead3(0x1a6)](_0x2f5e50,_0x39a8c1),_0x504ae4=new _0x600fcd()[_0x21ead3(0x4fa)](_0x2f5e50,_0x486a96),_0x189b27={'unitId':_0x488d38,'op':_0x486a96},_0x3782d4={'unitId':_0x488d38,'op':_0x504ae4};return _0x2822fd[_0x21ead3(0x447)](_0x489c96['id'],_0x189b27)?(_0x109b77[_0x21ead3(0x1aa)](_0x488d38),_0xa85ede[_0x21ead3(0x480)]({'unitID':_0x488d38,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3782d4}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x189b27}]}),!0x0):!0x1;}},_0x1970e0={'id':'base.command.delete-base-view','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x4c7fd5,_0x1dd7b9)=>{const _0x4991cd=_0x5b4d61;if(!_0x1dd7b9)return!0x1;let _0x402951=_0x4c7fd5[_0x4991cd(0x3a4)](_0x552f17[_0x4991cd(0x372)]),{unitId:_0x46f6bc,tableId:_0x2742dc,viewId:_0x3a8fe2}=_0x1dd7b9,_0x13baab=_0x402951[_0x4991cd(0x259)](_0x46f6bc,_0x552f17[_0x4991cd(0x349)][_0x4991cd(0x1e2)]);if(!_0x13baab||!_0x15c798(_0x13baab,_0x2742dc,{'viewIds':[_0x3a8fe2]}))return!0x1;let _0x2dbdb0=_0x4c7fd5[_0x4991cd(0x3a4)](_0x552f17[_0x4991cd(0xf5)]),_0x5a4648=_0x4c7fd5[_0x4991cd(0x3a4)](_0x552f17[_0x4991cd(0x471)]),_0x358a52=_0x13baab[_0x4991cd(0x157)](),_0x45e415=_0x358a52[_0x4991cd(0x1e1)][_0x2742dc]['views'][_0x3a8fe2][_0x4991cd(0x4cd)],_0x15921e=new _0x1b9aeb()[_0x4991cd(0x3da)](_0x358a52,_0x2742dc,_0x3a8fe2),_0x19f8f3=new _0x600fcd()[_0x4991cd(0x4fa)](_0x358a52,_0x15921e),_0x22d38b={'historyAction':_0x4991cd(0x2a4),'unitId':_0x46f6bc,'op':_0x15921e,'viewType':_0x45e415},_0x1326f2={'historyAction':_0x4991cd(0x50b),'unitId':_0x46f6bc,'op':_0x19f8f3,'viewType':_0x45e415};return _0x2dbdb0[_0x4991cd(0x447)](_0x489c96['id'],_0x22d38b)?(_0x402951[_0x4991cd(0x1aa)](_0x46f6bc),_0x5a4648[_0x4991cd(0x480)]({'unitID':_0x46f6bc,'undoMutations':[{'id':_0x489c96['id'],'params':_0x1326f2}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x22d38b}]}),!0x0):!0x1;}},_0x29df55={'id':_0x5b4d61(0x47a),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x100b31,_0x413f17)=>{const _0x16189e=_0x5b4d61;if(!_0x413f17)return!0x1;let _0x3e9fcc=_0x100b31[_0x16189e(0x3a4)](_0x552f17[_0x16189e(0x372)]),{unitId:_0x54a27c,tableId:_0x4f548c,sourceFieldId:_0x1e89a4,field:_0x552617,index:_0x357237,viewIndexes:_0xe8cd46}=_0x413f17,_0x3cb0ea=_0x3e9fcc['getUnit'](_0x54a27c,_0x552f17[_0x16189e(0x349)]['UNIVER_BASE']);if(!_0x3cb0ea||!_0x15c798(_0x3cb0ea,_0x4f548c,{'fieldIds':[_0x1e89a4]})||_0x1e89a4===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x3cb0ea['getSnapshot']()['tables'][_0x4f548c][_0x16189e(0x3ec)][_0x552617['id']]||_0x357237===0x0||!_0x355e36(_0x3cb0ea,_0x4f548c,_0x552617))return!0x1;let _0x472580=_0x100b31[_0x16189e(0x3a4)](_0x552f17[_0x16189e(0xf5)]),_0x294677=_0x100b31[_0x16189e(0x3a4)](_0x552f17[_0x16189e(0x471)]),_0x73e29b=_0x3cb0ea['getSnapshot'](),_0x437ba3=new _0x1b9aeb()[_0x16189e(0x402)](_0x73e29b,_0x4f548c,_0x1e89a4,{'field':_0x552617,'index':_0x357237,'viewIndexes':_0xe8cd46}),_0x3b2ba7=new _0x600fcd()[_0x16189e(0x4fa)](_0x73e29b,_0x437ba3),_0x556b2c={'unitId':_0x54a27c,'op':_0x437ba3},_0x5b0642={'unitId':_0x54a27c,'op':_0x3b2ba7};return _0x472580[_0x16189e(0x447)](_0x489c96['id'],_0x556b2c)?(_0x3e9fcc[_0x16189e(0x1aa)](_0x54a27c),_0x294677['pushUndoRedo']({'unitID':_0x54a27c,'undoMutations':[{'id':_0x489c96['id'],'params':_0x5b0642}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x556b2c}]}),!0x0):!0x1;}},_0x240407={'id':_0x5b4d61(0x549),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x579d15,_0x1fc51f)=>{const _0x3d6c85=_0x5b4d61;if(!_0x1fc51f)return!0x1;let _0x1da891=_0x579d15['get'](_0x552f17[_0x3d6c85(0x372)]),{unitId:_0x32c441,tableId:_0x460b45,sourceRecordId:_0x33797d,record:_0x33637c}=_0x1fc51f,_0x18faee=_0x1da891['getUnit'](_0x32c441,_0x552f17['UniverInstanceType'][_0x3d6c85(0x1e2)]);if(!_0x18faee||!_0x15c798(_0x18faee,_0x460b45,{'recordIds':[_0x33797d]})||!_0x3bab69(_0x18faee,_0x460b45,_0x33637c))return!0x1;let _0x22e360=_0x579d15[_0x3d6c85(0x3a4)](_0x552f17[_0x3d6c85(0xf5)]),_0x5101b9=_0x579d15[_0x3d6c85(0x3a4)](_0x552f17[_0x3d6c85(0x471)]),_0x1af3f1=_0x18faee[_0x3d6c85(0x157)](),_0x48b2bd=_0x47c89d(_0x33637c),_0x31265f=_0x548acb(_0x1af3f1['tables'][_0x460b45],[_0x48b2bd]),_0x4c7762=new _0x1b9aeb()[_0x3d6c85(0x44d)](_0x1af3f1,_0x460b45,_0x33797d,_0x48b2bd),_0x282bb3=new _0x600fcd()[_0x3d6c85(0x4fa)](_0x1af3f1,_0x4c7762),_0x243b9c={'unitId':_0x32c441,'op':_0x4c7762,'hierarchyChanges':_0x31265f['length']?_0x31265f:void 0x0,'source':_0x31265f[_0x3d6c85(0x46a)]?_0x1fc51f[_0x3d6c85(0x364)]??'ui':void 0x0},_0x5ecc19={..._0x243b9c,'source':_0x31265f[_0x3d6c85(0x46a)]?_0x3d6c85(0x392):void 0x0},_0x54d79f={'unitId':_0x32c441,'op':_0x282bb3,'hierarchyChanges':_0x31265f[_0x3d6c85(0x46a)]?_0x31265f[_0x3d6c85(0x3ab)](_0x1adb15=>({..._0x1adb15,'oldParentRecordId':_0x1adb15[_0x3d6c85(0x286)],'parentRecordId':null})):void 0x0,'source':_0x31265f[_0x3d6c85(0x46a)]?'undo':void 0x0};return _0x22e360[_0x3d6c85(0x447)](_0x489c96['id'],_0x243b9c)?(_0x1da891[_0x3d6c85(0x1aa)](_0x32c441),_0x5101b9[_0x3d6c85(0x480)]({'unitID':_0x32c441,'undoMutations':[{'id':_0x489c96['id'],'params':_0x54d79f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x5ecc19}]}),!0x0):!0x1;}},_0xc444b={'id':_0x5b4d61(0x416),'type':_0x552f17['CommandType']['COMMAND'],'handler'(_0x53f434,_0x241c8f){const _0x52eecc=_0x5b4d61;if(!_0x241c8f)return!0x1;let _0xbc64c5=_0x53f434['get'](_0x552f17['IUniverInstanceService']),{unitId:_0x1c616f,tableId:_0x329e0a,viewId:_0x1891e4,ensureEndDateField:_0x49d865}=_0x241c8f,_0x39abeb=_0xbc64c5[_0x52eecc(0x259)](_0x1c616f,_0x552f17[_0x52eecc(0x349)]['UNIVER_BASE']);if(!_0x39abeb||!_0x15c798(_0x39abeb,_0x329e0a,{'viewIds':[_0x1891e4]}))return!0x1;let _0x162441=_0x39abeb[_0x52eecc(0x157)](),_0x3a3a31=_0x162441[_0x52eecc(0x1e1)][_0x329e0a],_0x39775a=_0x3a3a31==null?void 0x0:_0x3a3a31[_0x52eecc(0x2ea)][_0x1891e4];if(!_0x3a3a31||!_0x39775a||_0x39775a['type']!==_0x52eecc(0x33e)&&_0x39775a[_0x52eecc(0x4cd)]!==_0x52eecc(0x527))return!0x1;let _0x226d60=_0x2a44a3(_0x3a3a31,_0x39775a,_0x49d865===!0x0);if(!_0x226d60[_0x52eecc(0x397)])return!0x1;let _0x3650f5=_0x53f434[_0x52eecc(0x3a4)](_0x552f17[_0x52eecc(0xf5)]),_0x216659=_0x53f434[_0x52eecc(0x3a4)](_0x552f17[_0x52eecc(0x471)]),_0x1db39b=new _0x1b9aeb(),_0x14463a=[..._0x226d60['fields']['map'](_0x2d4239=>_0x1db39b[_0x52eecc(0x51e)](_0x162441,_0x241c8f[_0x52eecc(0x111)],{'field':_0x2d4239})),_0xe3f651([..._0x15ee98(_0x241c8f[_0x52eecc(0x111)],_0x241c8f[_0x52eecc(0x1b8)]),_0x52eecc(0x340)],_0x39775a[_0x52eecc(0x340)],_0x226d60[_0x52eecc(0x340)])];_0x226d60[_0x52eecc(0x151)]&&_0x14463a[_0x52eecc(0x36c)](_0xe3f651([..._0x15ee98(_0x241c8f[_0x52eecc(0x111)],_0x241c8f[_0x52eecc(0x1b8)]),'fieldOrder'],_0x39775a[_0x52eecc(0x151)],_0x226d60['fieldOrder']));let _0x1c4d39=_0x4c4822(_0x14463a),_0x18a232=new _0x600fcd()[_0x52eecc(0x4fa)](_0x162441,_0x1c4d39),_0x161c27={'unitId':_0x1c616f,'op':_0x1c4d39},_0x5ebd14={'unitId':_0x1c616f,'op':_0x18a232};return _0x3650f5[_0x52eecc(0x447)](_0x489c96['id'],_0x161c27)?(_0xbc64c5[_0x52eecc(0x1aa)](_0x1c616f),_0x216659['pushUndoRedo']({'unitID':_0x1c616f,'undoMutations':[{'id':_0x489c96['id'],'params':_0x5ebd14}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x161c27}]}),!0x0):!0x1;}};function _0xe3f651(_0x54d38e,_0x23af6f,_0x5a8e32){const _0x25aee9=_0x5b4d61;return _0x23af6f===void 0x0?_0x552f17[_0x25aee9(0x4e7)][_0x25aee9(0x4e3)](_0x54d38e,_0x5a8e32):_0x552f17[_0x25aee9(0x4e7)]['replaceOp'](_0x54d38e,_0x23af6f,_0x5a8e32);}function _0x15ee98(_0x44ff7b,_0x512f27){const _0x372ebd=_0x5b4d61;return[_0x372ebd(0x1e1),_0x44ff7b,'views',_0x512f27];}let _0x15a40a={'id':_0x5b4d61(0x1ea),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x34e8b7,_0x57eec2)=>{const _0x5252a2=_0x5b4d61;if(!_0x57eec2)return!0x1;let _0x604b36=_0x34e8b7['get'](_0x552f17[_0x5252a2(0x372)]),{unitId:_0x76b37a,tableId:_0x2f5cff,fieldId:_0x1437c8,target:_0x5539a4}=_0x57eec2,_0x57630e=_0x604b36[_0x5252a2(0x259)](_0x76b37a,_0x552f17['UniverInstanceType'][_0x5252a2(0x1e2)]),_0xb4854d=_0x5539a4[_0x5252a2(0x4aa)]??_0x5539a4[_0x5252a2(0x337)];if(!_0x57630e||!!_0x5539a4[_0x5252a2(0x4aa)]==!!_0x5539a4['afterFieldId']||!_0xb4854d||_0xb4854d===_0x1437c8||_0x1437c8===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x5539a4[_0x5252a2(0x4aa)]===_0x552f17[_0x5252a2(0x316)]||!_0x15c798(_0x57630e,_0x2f5cff,{'fieldIds':[_0x1437c8,_0xb4854d]}))return!0x1;let _0xae8ea3=_0x34e8b7[_0x5252a2(0x3a4)](_0x552f17[_0x5252a2(0xf5)]),_0x55902b=_0x34e8b7[_0x5252a2(0x3a4)](_0x552f17['IUndoRedoService']),_0x2536a5=_0x57630e[_0x5252a2(0x157)](),_0x2c73ae=new _0x1b9aeb()['moveField'](_0x2536a5,_0x2f5cff,_0x1437c8,_0x5539a4),_0x468548=new _0x600fcd()[_0x5252a2(0x4fa)](_0x2536a5,_0x2c73ae),_0x43c128={'unitId':_0x76b37a,'op':_0x2c73ae},_0x22e17f={'unitId':_0x76b37a,'op':_0x468548};return _0xae8ea3[_0x5252a2(0x447)](_0x489c96['id'],_0x43c128)?(_0x604b36[_0x5252a2(0x1aa)](_0x76b37a),_0x55902b['pushUndoRedo']({'unitID':_0x76b37a,'undoMutations':[{'id':_0x489c96['id'],'params':_0x22e17f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x43c128}]}),!0x0):!0x1;}},_0x7e3104={'id':'base.command.move-base-hierarchy-record','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x213cfe,_0x584e13)=>{const _0x1117d1=_0x5b4d61;var _0x5bac23;if(!_0x584e13)return!0x1;let {unitId:_0x1f9735,tableId:_0x5dfd22,recordId:_0x3d5109,parentRecordId:_0xf14e55,orderKey:_0x253825}=_0x584e13,_0x159dca=_0x213cfe[_0x1117d1(0x3a4)](_0x552f17[_0x1117d1(0x372)]),_0x21c1c1=_0x159dca[_0x1117d1(0x259)](_0x1f9735,_0x552f17[_0x1117d1(0x349)][_0x1117d1(0x1e2)]);if(!_0x21c1c1||!_0x15c798(_0x21c1c1,_0x5dfd22,{'recordIds':[_0x3d5109,..._0xf14e55?[_0xf14e55]:[]]}))throw new _0x31b592(_0x1117d1(0x2f6));let _0x27d6c4=_0x21c1c1[_0x1117d1(0x157)](),_0x24743f=_0x27d6c4[_0x1117d1(0x1e1)][_0x5dfd22],_0x1063e8=_0x37c44a(_0x24743f),_0x41f10c=_0x1063e8??_0x584e13[_0x1117d1(0x400)]??_0x5f3470(_0x24743f);if(_0x1063e8&&_0x584e13[_0x1117d1(0x400)]&&_0x584e13['fieldId']!==_0x1063e8||_0x24743f[_0x1117d1(0x3ec)][_0x41f10c]&&!_0x288df0(_0x24743f,_0x41f10c))throw new _0x31b592(_0x1117d1(0x487));let _0x4797c7=_0x128f1a(_0x24743f,_0x41f10c),_0x1e28fe=_0x4bbbbd(_0x4797c7,_0x3d5109,_0xf14e55);if(!_0x1e28fe[_0x1117d1(0x2d9)])throw new _0x31b592(_0x1e28fe[_0x1117d1(0x4bb)]===_0x552f17[_0x1117d1(0x499)][_0x1117d1(0x254)]?_0x1117d1(0x388):_0x1e28fe[_0x1117d1(0x4bb)]===_0x552f17[_0x1117d1(0x499)][_0x1117d1(0x2be)]?_0x1117d1(0x4c9):_0x1117d1(0x24e));let _0x5a82b3=_0x4797c7[_0x1117d1(0x378)][_0x1117d1(0x3a4)](_0x3d5109)??null,_0xc686f7=_0x24743f['records'][_0x3d5109][_0x1117d1(0x12f)];if(_0x5a82b3===_0xf14e55&&(_0x253825===void 0x0||_0x253825===_0xc686f7))return!0x0;let _0x5c3e8d=_0x5a82b3!==_0xf14e55,_0x14da42=_0x253825!==void 0x0&&_0x253825!==_0xc686f7,_0x2fe07b=new _0x1b9aeb(),_0xea6752=[],_0x47e6cd=_0x24743f[_0x1117d1(0x3ec)][_0x41f10c],_0x32b674=_0x5c3e8d&&(!_0x47e6cd||((_0x5bac23=_0x423169(_0x47e6cd))==null?void 0x0:_0x5bac23['relationRole'])!==_0x552f17['BaseRecordLinkRole'][_0x1117d1(0x3d3)])?_0x47e6cd?_0x2fe07b[_0x1117d1(0x41a)](_0x27d6c4,_0x5dfd22,_0x41f10c,{'config':{..._0x47e6cd[_0x1117d1(0x340)],'relationRole':_0x552f17[_0x1117d1(0x548)][_0x1117d1(0x3d3)]}}):_0x213cfe['get'](_0x18f07e)['createCreateFieldOp'](_0x21c1c1,_0x5dfd22,_0x5797d7(_0x24743f,_0x41f10c,_0x584e13[_0x1117d1(0x224)]),_0x24743f['fieldOrder'][_0x1117d1(0x46a)]):null;_0x32b674&&_0xea6752[_0x1117d1(0x36c)](_0x32b674),_0x5c3e8d&&_0xea6752[_0x1117d1(0x36c)](_0x2fe07b['updateCell'](_0x27d6c4,_0x5dfd22,_0x3d5109,_0x41f10c,_0xf14e55?_0x4be8de([_0xf14e55]):'')),_0x14da42&&_0xea6752[_0x1117d1(0x36c)](_0x2fe07b[_0x1117d1(0x177)](_0x27d6c4,_0x5dfd22,_0x3d5109,_0x253825));let _0xbbc249=_0x4c4822(_0xea6752),_0x3c2e42={'tableId':_0x5dfd22,'fieldId':_0x41f10c,'recordId':_0x3d5109,'oldParentRecordId':_0x5a82b3,'parentRecordId':_0xf14e55},_0x169750={'unitId':_0x1f9735,'op':_0xbbc249,'trigger':_0x7e3104['id'],'hierarchyChanges':[_0x3c2e42],'source':_0x584e13['source']??'ui'},_0x2d003d={..._0x169750,'source':'redo'};if(!_0x213cfe[_0x1117d1(0x3a4)](_0x552f17['ICommandService'])[_0x1117d1(0x447)](_0x489c96['id'],_0x169750))return!0x1;let _0x1485f0=_0x21c1c1['getSnapshot'](),_0x5d64da=[];_0x5c3e8d&&_0x5d64da[_0x1117d1(0x36c)](_0x58e784(_0x1485f0,_0x27d6c4,_0x5dfd22,_0x3d5109,_0x41f10c)),_0x14da42&&_0x5d64da[_0x1117d1(0x36c)](_0x12e735(_0x1485f0,_0x27d6c4,_0x5dfd22,_0x3d5109)),_0x32b674&&_0x5d64da['push'](new _0x600fcd()[_0x1117d1(0x4fa)](_0x27d6c4,_0x32b674));let _0x35734f={'unitId':_0x1f9735,'op':_0x4c4822(_0x5d64da),'trigger':_0x7e3104['id'],'hierarchyChanges':[{..._0x3c2e42,'oldParentRecordId':_0xf14e55,'parentRecordId':_0x5a82b3}],'source':_0x1117d1(0x214)};return _0x159dca['focusUnit'](_0x1f9735),_0x213cfe[_0x1117d1(0x3a4)](_0x552f17[_0x1117d1(0x471)])['pushUndoRedo']({'unitID':_0x1f9735,'undoMutations':[{'id':_0x489c96['id'],'params':_0x35734f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x2d003d}]}),!0x0;}};function _0x58e784(_0x9143ed,_0x2a1cb7,_0x337f87,_0x48bf08,_0x255586){const _0x3f71b8=_0x5b4d61;var _0xaf1227,_0x3977f2,_0x142b13,_0x149add,_0x382b74,_0x46b978,_0x377cca,_0x186e85;let _0x5948aa=_0x9143ed[_0x3f71b8(0x1e1)][_0x337f87],_0x118b94=_0x2a1cb7[_0x3f71b8(0x1e1)][_0x337f87],_0x22861c=(_0xaf1227=_0x5948aa[_0x3f71b8(0x1a0)])==null?void 0x0:_0xaf1227[_0x48bf08],_0x375ca9=(_0x3977f2=_0x5948aa[_0x3f71b8(0x4ee)])==null?void 0x0:_0x3977f2[_0x255586],_0x5f3333=(_0x142b13=_0x118b94[_0x3f71b8(0x1a0)])==null?void 0x0:_0x142b13[_0x48bf08],_0x5d3312=(_0x149add=_0x118b94[_0x3f71b8(0x4ee)])==null?void 0x0:_0x149add[_0x255586],_0xa3f192=_0x22861c==null||_0x375ca9==null||(_0x382b74=_0x5948aa[_0x3f71b8(0x4af)])==null||(_0x382b74=_0x382b74[_0x22861c])==null?void 0x0:_0x382b74[_0x375ca9],_0x7c6787=_0x5f3333==null||_0x5d3312==null||(_0x46b978=_0x118b94[_0x3f71b8(0x4af)])==null||(_0x46b978=_0x46b978[_0x5f3333])==null?void 0x0:_0x46b978[_0x5d3312],_0x21b33a=(_0x377cca=_0x5948aa[_0x3f71b8(0x29e)][_0x48bf08])==null?void 0x0:_0x377cca['values'][_0x255586],_0x3dada4=(_0x186e85=_0x118b94[_0x3f71b8(0x29e)][_0x48bf08])==null?void 0x0:_0x186e85[_0x3f71b8(0x4d1)][_0x255586],_0x5681e2=[],_0x1e1aaa=_0x14a616(_0x22861c==null||_0x375ca9==null?null:_0xe24ef3[_0x3f71b8(0x4af)](_0x337f87,_0x22861c,_0x375ca9),_0xa3f192,_0x7c6787);_0x1e1aaa&&_0x5681e2['push'](_0x1e1aaa);let _0x481d56=_0x14a616(_0xe24ef3[_0x3f71b8(0x164)](_0x337f87,_0x48bf08,_0x255586),_0x21b33a,_0x3dada4);return _0x481d56&&_0x5681e2[_0x3f71b8(0x36c)](_0x481d56),_0x4c4822(_0x5681e2);}function _0x12e735(_0x4cbf38,_0x33f709,_0x1cfc15,_0x527d01){const _0x51fcd8=_0x5b4d61;var _0xfc148,_0x4cd94f;let _0x161eeb=_0x4cbf38['tables'][_0x1cfc15],_0x4b5959=_0x33f709[_0x51fcd8(0x1e1)][_0x1cfc15];return _0x4c4822([_0x14a616([..._0xe24ef3['record'](_0x1cfc15,_0x527d01),_0x51fcd8(0x12f)],(_0xfc148=_0x161eeb['records'][_0x527d01])==null?void 0x0:_0xfc148[_0x51fcd8(0x12f)],(_0x4cd94f=_0x4b5959[_0x51fcd8(0x29e)][_0x527d01])==null?void 0x0:_0x4cd94f[_0x51fcd8(0x12f)]),_0x14a616([..._0xe24ef3[_0x51fcd8(0x481)](_0x1cfc15),_0x51fcd8(0x52a)],_0x161eeb[_0x51fcd8(0x52a)],_0x4b5959[_0x51fcd8(0x52a)])][_0x51fcd8(0x30a)](_0x2f7123=>!!_0x2f7123));}function _0x14a616(_0x1ac798,_0x46fc2b,_0x44ae5a){const _0x45f506=_0x5b4d61;if(!_0x1ac798||_0x46fc2b===void 0x0&&_0x44ae5a===void 0x0)return null;let _0xc3a31d=_0x552f17['JSONX'][_0x45f506(0x431)]();return _0x44ae5a===void 0x0?_0xc3a31d[_0x45f506(0x4e6)](_0x1ac798,_0x46fc2b):_0x46fc2b===void 0x0?_0xc3a31d[_0x45f506(0x4e3)](_0x1ac798,_0x44ae5a):_0xc3a31d[_0x45f506(0x338)](_0x1ac798,_0x46fc2b,_0x44ae5a);}let _0x4231ae={'id':_0x5b4d61(0x492),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3b5a79,_0x445412)=>{const _0x129fbf=_0x5b4d61;if(!_0x445412)return!0x1;let _0xcd51a6=_0x3b5a79[_0x129fbf(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x5d754a,tableId:_0x3164ef,viewId:_0x4cddfd,target:_0x420642}=_0x445412,_0x466ddf=_0xcd51a6[_0x129fbf(0x259)](_0x5d754a,_0x552f17['UniverInstanceType'][_0x129fbf(0x1e2)]),_0x3dd7de=_0x420642[_0x129fbf(0x173)]??_0x420642[_0x129fbf(0x3cf)];if(!_0x466ddf||!_0x3dd7de||_0x3dd7de===_0x4cddfd||!_0x15c798(_0x466ddf,_0x3164ef,{'viewIds':[_0x4cddfd,_0x3dd7de]}))return!0x1;let _0x275698=_0x3b5a79[_0x129fbf(0x3a4)](_0x552f17['ICommandService']),_0x2090de=_0x3b5a79['get'](_0x552f17[_0x129fbf(0x471)]),_0x4d4f01=_0x466ddf['getSnapshot'](),_0x3ec8d8=new _0x1b9aeb()['moveView'](_0x4d4f01,_0x3164ef,_0x4cddfd,_0x420642),_0x5dd938=new _0x600fcd()[_0x129fbf(0x4fa)](_0x4d4f01,_0x3ec8d8),_0x3b4611={'unitId':_0x5d754a,'op':_0x3ec8d8},_0x256799={'unitId':_0x5d754a,'op':_0x5dd938};return _0x275698[_0x129fbf(0x447)](_0x489c96['id'],_0x3b4611)?(_0xcd51a6[_0x129fbf(0x1aa)](_0x5d754a),_0x2090de['pushUndoRedo']({'unitID':_0x5d754a,'undoMutations':[{'id':_0x489c96['id'],'params':_0x256799}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3b4611}]}),!0x0):!0x1;}},_0x49859c={'id':'base.command.rename-base-table','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3e5905,_0x5ea770)=>{const _0x4936a6=_0x5b4d61;if(!_0x5ea770)return!0x1;let _0x186c0b=_0x3e5905[_0x4936a6(0x3a4)](_0x552f17[_0x4936a6(0x372)]),{unitId:_0x130784,tableId:_0x419f9c,name:_0x42ad57}=_0x5ea770,_0x3b52e3=_0x186c0b['getUnit'](_0x130784,_0x552f17['UniverInstanceType']['UNIVER_BASE']);if(!_0x3b52e3||!_0x15c798(_0x3b52e3,_0x419f9c)||!_0x161279(_0x3b52e3[_0x4936a6(0x157)](),_0x42ad57,_0x419f9c)['valid'])return!0x1;let _0x1a25c9=_0x3e5905[_0x4936a6(0x3a4)](_0x552f17[_0x4936a6(0xf5)]),_0x31137c=_0x3e5905['get'](_0x552f17[_0x4936a6(0x471)]),_0x2c5428=_0x3b52e3['getSnapshot'](),_0x443111=new _0x1b9aeb()['renameTable'](_0x2c5428,_0x419f9c,_0x42ad57),_0x25831d=new _0x600fcd()[_0x4936a6(0x4fa)](_0x2c5428,_0x443111),_0x3cb2e1={'unitId':_0x130784,'op':_0x443111},_0x2cdcac={'unitId':_0x130784,'op':_0x25831d};return _0x1a25c9[_0x4936a6(0x447)](_0x489c96['id'],_0x3cb2e1)?(_0x186c0b[_0x4936a6(0x1aa)](_0x130784),_0x31137c[_0x4936a6(0x480)]({'unitID':_0x130784,'undoMutations':[{'id':_0x489c96['id'],'params':_0x2cdcac}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3cb2e1}]}),!0x0):!0x1;}},_0x3a83f1={'id':_0x5b4d61(0x231),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x16ad33,_0xb216a9)=>{const _0x3ba5a0=_0x5b4d61;if(!_0xb216a9)return!0x1;let _0x24f63c=_0x16ad33[_0x3ba5a0(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x5efe50,tableId:_0x1c5b57,viewId:_0x36414c,name:_0x379492}=_0xb216a9,_0x21c0a7=_0x24f63c[_0x3ba5a0(0x259)](_0x5efe50,_0x552f17[_0x3ba5a0(0x349)][_0x3ba5a0(0x1e2)]);if(!_0x21c0a7||!_0x15c798(_0x21c0a7,_0x1c5b57,{'viewIds':[_0x36414c]}))return!0x1;let _0x428427=_0x16ad33[_0x3ba5a0(0x3a4)](_0x552f17[_0x3ba5a0(0xf5)]),_0x33e8b6=_0x16ad33['get'](_0x552f17['IUndoRedoService']),_0x5578ea=_0x21c0a7['getSnapshot'](),_0x8a0e83=new _0x1b9aeb()[_0x3ba5a0(0x519)](_0x5578ea,_0x1c5b57,_0x36414c,_0x379492),_0x303c4f=new _0x600fcd()[_0x3ba5a0(0x4fa)](_0x5578ea,_0x8a0e83),_0x40be87={'unitId':_0x5efe50,'op':_0x8a0e83},_0x57d8f6={'unitId':_0x5efe50,'op':_0x303c4f};return _0x428427[_0x3ba5a0(0x447)](_0x489c96['id'],_0x40be87)?(_0x24f63c[_0x3ba5a0(0x1aa)](_0x5efe50),_0x33e8b6[_0x3ba5a0(0x480)]({'unitID':_0x5efe50,'undoMutations':[{'id':_0x489c96['id'],'params':_0x57d8f6}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x40be87}]}),!0x0):!0x1;}},_0x575a47={'id':_0x5b4d61(0x2a8),'type':_0x552f17['CommandType']['COMMAND'],'handler':(_0x1dad56,_0x28fbba)=>{const _0x39c5b6=_0x5b4d61;if(!_0x28fbba)return!0x1;let _0x473339=_0x1dad56[_0x39c5b6(0x3a4)](_0x552f17[_0x39c5b6(0x372)]),{unitId:_0x468a7d,tableId:_0x10186a,viewId:_0x5c5e88,fieldId:_0x58c173}=_0x28fbba,_0xd65825=_0x473339[_0x39c5b6(0x259)](_0x468a7d,_0x552f17[_0x39c5b6(0x349)]['UNIVER_BASE']);if(!_0xd65825||!_0x15c798(_0xd65825,_0x10186a,{'viewIds':[_0x5c5e88],'fieldIds':[_0x58c173]}))return!0x1;let _0x4fd374=_0x1dad56[_0x39c5b6(0x3a4)](_0x552f17['ICommandService']),_0x1b958e=_0x1dad56[_0x39c5b6(0x3a4)](_0x552f17['IUndoRedoService']),_0x11d2d9=_0xd65825[_0x39c5b6(0x157)](),_0x405545=new _0x1b9aeb()[_0x39c5b6(0x14e)](_0x11d2d9,_0x10186a,_0x5c5e88,{'groupFieldId':_0x58c173}),_0x4c1289=new _0x600fcd()[_0x39c5b6(0x4fa)](_0x11d2d9,_0x405545),_0x15f96b={'unitId':_0x468a7d,'op':_0x405545},_0x4793d2={'unitId':_0x468a7d,'op':_0x4c1289};return _0x4fd374[_0x39c5b6(0x447)](_0x489c96['id'],_0x15f96b)?(_0x473339[_0x39c5b6(0x1aa)](_0x468a7d),_0x1b958e[_0x39c5b6(0x480)]({'unitID':_0x468a7d,'undoMutations':[{'id':_0x489c96['id'],'params':_0x4793d2}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x15f96b}]}),!0x0):!0x1;}},_0x295ff9={'id':_0x5b4d61(0x19e),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x177953,_0x37dc6c)=>{const _0x179ff8=_0x5b4d61;if(!_0x37dc6c)return!0x1;let _0x1ccc4d=_0x177953[_0x179ff8(0x3a4)](_0x552f17[_0x179ff8(0x372)]),_0x37a660=_0x1ccc4d[_0x179ff8(0x259)](_0x37dc6c[_0x179ff8(0x36f)],_0x552f17['UniverInstanceType'][_0x179ff8(0x1e2)]);if(!_0x37a660)return!0x1;let _0x39ecf5=_0x37a660[_0x179ff8(0x157)]()[_0x179ff8(0x288)];if(_0x39ecf5===_0x37dc6c[_0x179ff8(0x288)])return!0x0;let _0x45b10e=new _0x1b9aeb(),_0x6ddf69=new _0x600fcd(),_0x1efefb=[],_0x2789b8=[],_0x4ade15=[_0x37a660,..._0x1ccc4d['getAllUnitsForType'](_0x552f17[_0x179ff8(0x349)][_0x179ff8(0x1e2)])[_0x179ff8(0x30a)](_0xf5b0b2=>_0xf5b0b2[_0x179ff8(0x2e7)]()!==_0x37dc6c[_0x179ff8(0x36f)])];for(let _0x466077 of _0x4ade15){let _0x31b63c=_0x466077[_0x179ff8(0x157)](),_0x7c7852=_0x466077===_0x37a660?_0x45b10e[_0x179ff8(0x467)](_0x31b63c,_0x37dc6c['name']):_0x45b10e[_0x179ff8(0x537)](_0x31b63c,_0x39ecf5,_0x37dc6c['name']);_0x7c7852&&(_0x1efefb[_0x179ff8(0x36c)]({'id':_0x489c96['id'],'params':{'unitId':_0x466077[_0x179ff8(0x2e7)](),'op':_0x7c7852,'trigger':_0x295ff9['id']}}),_0x2789b8[_0x179ff8(0x26f)]({'id':_0x489c96['id'],'params':{'unitId':_0x466077[_0x179ff8(0x2e7)](),'op':_0x6ddf69[_0x179ff8(0x4fa)](_0x31b63c,_0x7c7852),'trigger':_0x295ff9['id']}}));}let _0x34b031=_0x177953[_0x179ff8(0x3a4)](_0x552f17['ICommandService']),_0x2132fb=_0x177953[_0x179ff8(0x3a4)](_0x552f17['IUndoRedoService']),_0x4589f6=_0x2132fb[_0x179ff8(0x1dc)](_0x37dc6c['unitId']);try{return(0x0,_0x552f17[_0x179ff8(0x1db)])(_0x1efefb,_0x34b031)[_0x179ff8(0x3fb)]?(_0x1ccc4d[_0x179ff8(0x1aa)](_0x37dc6c[_0x179ff8(0x36f)]),_0x2132fb[_0x179ff8(0x480)]({'unitID':_0x37dc6c[_0x179ff8(0x36f)],'undoMutations':_0x2789b8,'redoMutations':_0x1efefb}),!0x0):!0x1;}finally{_0x4589f6[_0x179ff8(0x1ad)]();}}},_0x5464be={'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'id':_0x5b4d61(0x54c),async 'handler'(_0x81df8,_0x6f68b){const _0x9ec37b=_0x5b4d61;if(!_0x6f68b||!_0x5a9423[_0x9ec37b(0x396)](_0x6f68b[_0x9ec37b(0x236)])||_0x6f68b[_0x9ec37b(0x479)]!==_0x6f68b[_0x9ec37b(0x36f)]&&_0x6f68b[_0x9ec37b(0x236)]!==_0x4b2dcb[_0x9ec37b(0x370)]['Edit']||_0x6f68b[_0x9ec37b(0x414)]&&(![_0x9ec37b(0x353),'owner','members'][_0x9ec37b(0x396)](_0x6f68b[_0x9ec37b(0x414)]['edit'])||_0x6f68b['policy'][_0x9ec37b(0x51b)]['some'](_0x213e64=>!_0x5a9423[_0x9ec37b(0x396)](_0x213e64[_0x9ec37b(0x236)])||_0x6f68b[_0x9ec37b(0x479)]!==_0x6f68b[_0x9ec37b(0x36f)]&&_0x213e64[_0x9ec37b(0x236)]!==_0x4b2dcb['UnitAction'][_0x9ec37b(0x521)])))return!0x1;let _0x9acaec=_0x23ad78(_0x6f68b[_0x9ec37b(0x36f)],_0x6f68b[_0x9ec37b(0x479)],_0x6f68b[_0x9ec37b(0x236)]),_0x4f7777={'unitId':_0x6f68b[_0x9ec37b(0x36f)],'objectId':_0x6f68b[_0x9ec37b(0x479)],'objectType':_0x9acaec['type']},_0x45ab77=_0x81df8[_0x9ec37b(0x3a4)](_0x552f17[_0x9ec37b(0x1cf)]);return _0x6f68b[_0x9ec37b(0x225)]?await _0x45ab77[_0x9ec37b(0x225)](_0x4f7777):_0x6f68b[_0x9ec37b(0x414)]?await _0x45ab77[_0x9ec37b(0x520)](_0x4f7777,_0x6f68b[_0x9ec37b(0x414)]):await _0x45ab77[_0x9ec37b(0x1de)](_0x4f7777,_0x9acaec,_0x6f68b[_0x9ec37b(0x2e2)]),!0x0;}},_0x534f96={'type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'id':'base.command.set-permissions',async 'handler'(_0x1babaa,_0x16dccf){const _0x2ad7bb=_0x5b4d61;if(!(_0x16dccf!=null&&_0x16dccf[_0x2ad7bb(0x36f)])||!Array[_0x2ad7bb(0x3bc)](_0x16dccf[_0x2ad7bb(0x507)])||!_0x16dccf[_0x2ad7bb(0x507)][_0x2ad7bb(0x46a)]||_0x16dccf[_0x2ad7bb(0x507)][_0x2ad7bb(0x166)](_0x42c6ce=>!(_0x42c6ce!=null&&_0x42c6ce['objectId'])||_0x42c6ce['objectId']===_0x16dccf['unitId']||_0x42c6ce['policy']!==null&&(!_0x42c6ce[_0x2ad7bb(0x414)]||![_0x2ad7bb(0x353),_0x2ad7bb(0x4b5),_0x2ad7bb(0x290)][_0x2ad7bb(0x396)](_0x42c6ce[_0x2ad7bb(0x414)]['edit'])||!Array[_0x2ad7bb(0x3bc)](_0x42c6ce[_0x2ad7bb(0x414)]['collaborators'])||!Array[_0x2ad7bb(0x3bc)](_0x42c6ce['policy'][_0x2ad7bb(0x51b)])||_0x42c6ce['policy'][_0x2ad7bb(0x51b)][_0x2ad7bb(0x166)](_0x5e4818=>_0x5e4818[_0x2ad7bb(0x236)]!==_0x4b2dcb[_0x2ad7bb(0x370)][_0x2ad7bb(0x521)]))))throw Error(_0x2ad7bb(0x1d4));return _0x1babaa[_0x2ad7bb(0x3a4)](_0x552f17['ObjectPermissionService'])[_0x2ad7bb(0x291)](_0x16dccf[_0x2ad7bb(0x507)]['map'](_0x1c1406=>{const _0x507a5c=_0x2ad7bb;let _0xe2050a=_0x23ad78(_0x16dccf[_0x507a5c(0x36f)],_0x1c1406['objectId'],_0x4b2dcb[_0x507a5c(0x370)]['Edit']);return{'unitId':_0x16dccf[_0x507a5c(0x36f)],'objectId':_0x1c1406[_0x507a5c(0x479)],'objectType':_0xe2050a[_0x507a5c(0x4cd)],'policy':_0x1c1406[_0x507a5c(0x414)]};}));}};function _0x1c58bb(_0xc64269,_0x336e50){const _0xbfc7d0=_0x5b4d61;let _0x1815cb=_0x2c21a9(_0x552f17[_0xbfc7d0(0x395)][_0xbfc7d0(0x4bf)](_0xc64269)),_0x10e1dc=new Map();return _0x336e50[_0xbfc7d0(0x116)](_0x3e90f5=>{const _0x4a4a2f=_0xbfc7d0;var _0xa43e7e,_0x112669;let _0x57606a=_0x4a4a2f(0x504)in _0x3e90f5?_0x3e90f5['recordId']:(_0xa43e7e=_0x1815cb[_0x4a4a2f(0x219)])==null?void 0x0:_0xa43e7e[_0x3e90f5['row']],_0x3e421f=_0x4a4a2f(0x400)in _0x3e90f5?_0x3e90f5['fieldId']:(_0x112669=_0x1815cb[_0x4a4a2f(0x43a)])==null?void 0x0:_0x112669[_0x3e90f5[_0x4a4a2f(0x1a1)]],_0x34276a=_0x3e421f?_0x1815cb[_0x4a4a2f(0x3ec)][_0x3e421f]:void 0x0;if(!_0x57606a||!_0x3e421f||!_0x34276a||!_0x1815cb[_0x4a4a2f(0x29e)][_0x57606a])return;let _0x21ba55=_0x49a97d(_0x3e90f5[_0x4a4a2f(0x2e2)],_0x34276a),_0x2f2fa3=_0x24a127(_0x3e90f5[_0x4a4a2f(0x2e2)],_0x21ba55,_0x34276a,_0x1815cb,_0x57606a),_0xef3fcb=_0x10e1dc['get'](_0x57606a)??{};_0xef3fcb[_0x3e421f]=_0x2f2fa3,_0x10e1dc[_0x4a4a2f(0x3e9)](_0x57606a,_0xef3fcb);}),[..._0x10e1dc]['map'](([_0x4adc10,_0x52d5ce])=>({'recordId':_0x4adc10,'values':_0x52d5ce}));}let _0x371b2c={'id':'base.command.set-base-range-values','type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler'(_0x12369b,_0xec9c0a){const _0x4940f9=_0x5b4d61;if(!_0xec9c0a)return!0x1;let _0x45afd8=_0x12369b['get'](_0x552f17[_0x4940f9(0x372)]),{unitId:_0x2482be,tableId:_0xee0253,patches:_0x5bb45f}=_0xec9c0a,_0x1a9481=_0x45afd8['getUnit'](_0x2482be,_0x552f17[_0x4940f9(0x349)]['UNIVER_BASE']);if(!_0x1a9481||!_0x15c798(_0x1a9481,_0xee0253))return!0x1;let _0x568599=_0x12369b['get'](_0x552f17['ICommandService']),_0x2ab3a2=_0x12369b[_0x4940f9(0x3a4)](_0x552f17[_0x4940f9(0x471)]),_0x42845a=_0x1a9481[_0x4940f9(0x157)](),_0xebd5d4=_0x2c21a9(_0x42845a['tables'][_0xee0253]),_0x1b7582=_0x5bb45f['map'](_0x729f2=>{const _0xdbdeeb=_0x4940f9;var _0x39685d;return _0xdbdeeb(0x504)in _0x729f2?_0x729f2[_0xdbdeeb(0x504)]:(_0x39685d=_0xebd5d4[_0xdbdeeb(0x219)])==null?void 0x0:_0x39685d[_0x729f2[_0xdbdeeb(0x4d6)]];})[_0x4940f9(0x30a)](_0x130bf4=>_0x130bf4!=null),_0x1e2934=_0x5bb45f[_0x4940f9(0x3ab)](_0x1f3c1f=>{const _0x1d856f=_0x4940f9;var _0xe8a3f2;return'fieldId'in _0x1f3c1f?_0x1f3c1f[_0x1d856f(0x400)]:(_0xe8a3f2=_0xebd5d4['colId'])==null?void 0x0:_0xe8a3f2[_0x1f3c1f[_0x1d856f(0x1a1)]];})[_0x4940f9(0x30a)](_0x4ce85e=>_0x4ce85e!=null);if(_0x1b7582[_0x4940f9(0x46a)]!==_0x5bb45f['length']||_0x1e2934[_0x4940f9(0x46a)]!==_0x5bb45f[_0x4940f9(0x46a)]||!_0x15c798(_0x1a9481,_0xee0253,{'recordIds':_0x1b7582,'fieldIds':_0x1e2934})||_0x5bb45f['some']((_0x3a8bcb,_0x38ea23)=>!_0x54e79f(_0x1a9481,_0xee0253,_0x1e2934[_0x38ea23],_0x3a8bcb[_0x4940f9(0x2e2)])))return!0x1;let _0x29bd9e=_0x47a364(_0xebd5d4,_0x1c58bb(_0xebd5d4,_0x5bb45f)),_0x1756e9=_0x5bb45f[_0x4940f9(0x4a0)](_0x1a676b=>{const _0x106227=_0x4940f9;var _0x2fbf8f,_0x2d1a50;if(_0x106227(0x4d6)in _0x1a676b)return[_0x1a676b];let _0x4614e2=(_0x2fbf8f=_0xebd5d4['rowIndex'])==null?void 0x0:_0x2fbf8f[_0x1a676b[_0x106227(0x504)]],_0x57af3c=(_0x2d1a50=_0xebd5d4[_0x106227(0x4ee)])==null?void 0x0:_0x2d1a50[_0x1a676b['fieldId']];return _0x4614e2==null||_0x57af3c==null?[]:[{'row':_0x4614e2,'col':_0x57af3c,'value':_0x1a676b[_0x106227(0x2e2)]}];}),_0x8cdd9f=new _0x1b9aeb()[_0x4940f9(0x20c)](_0x42845a,_0xee0253,_0x1756e9),_0x21c0f3=new _0x600fcd()[_0x4940f9(0x4fa)](_0x42845a,_0x8cdd9f),_0x429339={'unitId':_0x2482be,'op':_0x8cdd9f,'trigger':_0x29bd9e['length']?_0x371b2c['id']:void 0x0,'hierarchyChanges':_0x29bd9e[_0x4940f9(0x46a)]?_0x29bd9e:void 0x0,'source':_0x29bd9e[_0x4940f9(0x46a)]?_0x4940f9(0x392):void 0x0},_0x42adc6={'unitId':_0x2482be,'op':_0x21c0f3,'trigger':_0x29bd9e['length']?_0x371b2c['id']:void 0x0,'hierarchyChanges':_0x29bd9e[_0x4940f9(0x46a)]?_0x29bd9e[_0x4940f9(0x3ab)](_0x5cbb56=>({..._0x5cbb56,'oldParentRecordId':_0x5cbb56[_0x4940f9(0x286)],'parentRecordId':_0x5cbb56[_0x4940f9(0x22e)]})):void 0x0,'source':_0x29bd9e[_0x4940f9(0x46a)]?_0x4940f9(0x214):void 0x0},_0x11d1b6={..._0x429339,'source':_0x29bd9e[_0x4940f9(0x46a)]?_0xec9c0a[_0x4940f9(0x364)]??'ui':void 0x0};return _0x568599['syncExecuteCommand'](_0x489c96['id'],_0x11d1b6)?(_0x45afd8['focusUnit'](_0x2482be),_0x2ab3a2[_0x4940f9(0x480)]({'unitID':_0x2482be,'undoMutations':[{'id':_0x489c96['id'],'params':_0x42adc6}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x429339}]}),!0x0):!0x1;}},_0x3e56e0={'id':_0x5b4d61(0x201),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x4eb40c,_0x474e7b){const _0x303a72=_0x5b4d61;if(!_0x474e7b)return!0x1;let _0x2a3e44=_0x4eb40c[_0x303a72(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x146d31,tableId:_0x282e95,patches:_0x5c1da9}=_0x474e7b,_0x39a9a1=_0x2a3e44['getUnit'](_0x146d31,_0x552f17[_0x303a72(0x349)][_0x303a72(0x1e2)]),_0x37ed12=_0x5c1da9['map'](_0x1572ab=>_0x1572ab[_0x303a72(0x504)]),_0x569189=_0x5c1da9['flatMap'](_0x1cfacb=>Object['keys'](_0x1cfacb[_0x303a72(0x4d1)]));if(!_0x39a9a1||!_0x15c798(_0x39a9a1,_0x282e95,{'recordIds':_0x37ed12,'fieldIds':_0x569189})||_0x5c1da9[_0x303a72(0x166)](_0xfa799=>Object[_0x303a72(0x21f)](_0xfa799['values'])[_0x303a72(0x166)](([_0xc09df9,_0x103d68])=>!_0x54e79f(_0x39a9a1,_0x282e95,_0xc09df9,_0x103d68))))return!0x1;let _0x13fcef=_0x47a364(_0x39a9a1[_0x303a72(0x157)]()[_0x303a72(0x1e1)][_0x282e95],_0x5c1da9),_0x1f1304=_0x4eb40c[_0x303a72(0x3a4)](_0x552f17[_0x303a72(0xf5)]),_0x485904=_0x4eb40c['get'](_0x552f17['IUndoRedoService']),_0xd08e38=_0x4eb40c[_0x303a72(0x3a4)](_0x18f07e)[_0x303a72(0x11f)](_0x39a9a1,_0x282e95,_0x5c1da9),_0x5519f5=new _0x600fcd()[_0x303a72(0x4fa)](_0x39a9a1['getSnapshot'](),_0xd08e38),_0x1d6e85={'unitId':_0x146d31,'op':_0xd08e38,'trigger':_0x13fcef[_0x303a72(0x46a)]?_0x3e56e0['id']:void 0x0,'hierarchyChanges':_0x13fcef[_0x303a72(0x46a)]?_0x13fcef:void 0x0,'source':_0x13fcef[_0x303a72(0x46a)]?_0x474e7b['source']??'ui':void 0x0},_0x3630ee={..._0x1d6e85,'source':_0x13fcef['length']?'redo':void 0x0},_0x34df00={'unitId':_0x146d31,'op':_0x5519f5,'trigger':_0x13fcef['length']?_0x3e56e0['id']:void 0x0,'hierarchyChanges':_0x13fcef[_0x303a72(0x46a)]?_0x13fcef['map'](_0x19f94b=>({..._0x19f94b,'oldParentRecordId':_0x19f94b[_0x303a72(0x286)],'parentRecordId':_0x19f94b[_0x303a72(0x22e)]})):void 0x0,'source':_0x13fcef[_0x303a72(0x46a)]?_0x303a72(0x214):void 0x0};return _0x1f1304[_0x303a72(0x447)](_0x489c96['id'],_0x1d6e85)?(_0x2a3e44['focusUnit'](_0x146d31),_0x485904['pushUndoRedo']({'unitID':_0x146d31,'undoMutations':[{'id':_0x489c96['id'],'params':_0x34df00}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3630ee}]}),!0x0):!0x1;}},_0x4aaa7c={'id':_0x5b4d61(0x13b),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x30a518,_0x34db0e)=>{const _0x3158b6=_0x5b4d61;if(!_0x34db0e)return!0x1;let {unitId:_0x326372,tableId:_0x472a81,fieldId:_0x624323}=_0x34db0e,_0x2d5130=_0x30a518['get'](_0x552f17['IUniverInstanceService']),_0x4c2f42=_0x2d5130['getUnit'](_0x326372,_0x552f17['UniverInstanceType'][_0x3158b6(0x1e2)]);if(!_0x4c2f42||!_0x15c798(_0x4c2f42,_0x472a81))return!0x1;let _0x1a81f0=_0x4c2f42['getSnapshot'](),_0x49e055=_0x1a81f0[_0x3158b6(0x1e1)][_0x472a81];if(_0x624323!==null&&!_0x288df0(_0x49e055,_0x624323))throw new _0x31b592(_0x3158b6(0x487));if(_0x37c44a(_0x49e055)===_0x624323)return!0x0;let _0x559b50=new _0x1b9aeb(),_0x39b352=_0x4c4822(Object[_0x3158b6(0x4d1)](_0x49e055['fields'])[_0x3158b6(0x4a0)](_0x17b86b=>{const _0x2a867f=_0x3158b6;if(!_0x288df0(_0x49e055,_0x17b86b['id']))return[];let _0x6b2b7e=_0x423169(_0x17b86b);if(!_0x6b2b7e)return[];let _0x4b2f75=_0x17b86b['id']===_0x624323;if(_0x6b2b7e[_0x2a867f(0x102)]===_0x552f17[_0x2a867f(0x548)][_0x2a867f(0x3d3)]===_0x4b2f75)return[];let _0x2ca68f={..._0x17b86b['config'],'targetTableId':_0x6b2b7e['targetTableId'],'multiple':_0x6b2b7e['multiple']};return _0x4b2f75?_0x2ca68f[_0x2a867f(0x102)]=_0x552f17[_0x2a867f(0x548)]['Parent']:delete _0x2ca68f[_0x2a867f(0x102)],[_0x559b50['updateField'](_0x1a81f0,_0x472a81,_0x17b86b['id'],{'config':_0x2ca68f})];})),_0x40d58e=new _0x600fcd()[_0x3158b6(0x4fa)](_0x1a81f0,_0x39b352),_0x346019={'unitId':_0x326372,'op':_0x39b352},_0x31a62e={'unitId':_0x326372,'op':_0x40d58e};return _0x30a518['get'](_0x552f17['ICommandService'])[_0x3158b6(0x447)](_0x489c96['id'],_0x346019)?(_0x2d5130[_0x3158b6(0x1aa)](_0x326372),_0x30a518[_0x3158b6(0x3a4)](_0x552f17['IUndoRedoService'])[_0x3158b6(0x480)]({'unitID':_0x326372,'undoMutations':[{'id':_0x489c96['id'],'params':_0x31a62e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x346019}]}),!0x0):!0x1;}},_0xa5c9e={'id':_0x5b4d61(0x438),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x2dbe68,_0x251475)=>{const _0x1e694d=_0x5b4d61;if(!_0x251475)return!0x1;let _0x504266=_0x2dbe68[_0x1e694d(0x3a4)](_0x552f17[_0x1e694d(0x372)]),{unitId:_0x3a71f6,tableId:_0x2aede6,viewId:_0x5663f9,fieldId:_0x31fc9b,target:_0x4a04d0}=_0x251475,_0x215f65=_0x504266[_0x1e694d(0x259)](_0x3a71f6,_0x552f17[_0x1e694d(0x349)]['UNIVER_BASE']),_0x34616e=_0x4a04d0[_0x1e694d(0x4aa)]??_0x4a04d0['afterFieldId'];if(!_0x215f65||!_0x34616e||_0x34616e===_0x31fc9b||!_0x15c798(_0x215f65,_0x2aede6,{'viewIds':[_0x5663f9],'fieldIds':[_0x31fc9b,_0x34616e]}))return!0x1;let _0x2711b8=_0x215f65[_0x1e694d(0x157)]()[_0x1e694d(0x1e1)][_0x2aede6],_0x29ecc2=_0x2711b8[_0x1e694d(0x3ec)][_0x31fc9b],_0x3b793c=_0x2711b8[_0x1e694d(0x3ec)][_0x34616e];if(_0x29ecc2[_0x1e694d(0x505)]===!0x0||_0x29ecc2[_0x1e694d(0x4cd)]===_0x552f17[_0x1e694d(0x22d)][_0x1e694d(0x500)]||_0x3b793c['system']===!0x0||_0x3b793c[_0x1e694d(0x4cd)]===_0x552f17[_0x1e694d(0x22d)]['RecordId'])return!0x1;let _0x1a8715=_0x2dbe68[_0x1e694d(0x3a4)](_0x552f17[_0x1e694d(0xf5)]),_0x358467=_0x2dbe68[_0x1e694d(0x3a4)](_0x552f17[_0x1e694d(0x471)]),_0x50fb66=_0x215f65[_0x1e694d(0x157)](),_0x1c8fdc=new _0x1b9aeb()[_0x1e694d(0x509)](_0x50fb66,_0x2aede6,_0x5663f9,_0x31fc9b,_0x4a04d0),_0x240d45=new _0x600fcd()[_0x1e694d(0x4fa)](_0x50fb66,_0x1c8fdc),_0x58b751={'unitId':_0x3a71f6,'op':_0x1c8fdc},_0x199f0e={'unitId':_0x3a71f6,'op':_0x240d45};return _0x1a8715[_0x1e694d(0x447)](_0x489c96['id'],_0x58b751)?(_0x504266[_0x1e694d(0x1aa)](_0x3a71f6),_0x358467[_0x1e694d(0x480)]({'unitID':_0x3a71f6,'undoMutations':[{'id':_0x489c96['id'],'params':_0x199f0e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x58b751}]}),!0x0):!0x1;}},_0x218b99={'id':'base.command.set-base-view-field-visible','type':_0x552f17['CommandType']['COMMAND'],'handler'(_0xaa9fcf,_0x4e0a67){const _0xb5a692=_0x5b4d61;if(!_0x4e0a67)return!0x1;let _0x1d351e=_0xaa9fcf['get'](_0x552f17[_0xb5a692(0x372)]),{unitId:_0x1415c6,tableId:_0x25a90b,viewId:_0x4c79b7,fieldId:_0x8c3507,visible:_0xda4eb9}=_0x4e0a67,_0x12cfde=_0x1d351e['getUnit'](_0x1415c6,_0x552f17[_0xb5a692(0x349)][_0xb5a692(0x1e2)]);if(!_0x12cfde||!_0x15c798(_0x12cfde,_0x25a90b,{'viewIds':[_0x4c79b7],'fieldIds':[_0x8c3507]}))return!0x1;let _0x50085f=_0x12cfde['getSnapshot']()[_0xb5a692(0x1e1)][_0x25a90b][_0xb5a692(0x3ec)][_0x8c3507];if(_0x50085f[_0xb5a692(0x505)]===!0x0||_0x50085f['type']===_0x552f17[_0xb5a692(0x22d)][_0xb5a692(0x500)])return!0x1;let _0xd10243=_0xaa9fcf[_0xb5a692(0x3a4)](_0x552f17[_0xb5a692(0xf5)]),_0x71aec7=_0xaa9fcf[_0xb5a692(0x3a4)](_0x552f17[_0xb5a692(0x471)]),_0x35ae47=_0x12cfde[_0xb5a692(0x157)](),_0x25b3ac=new _0x1b9aeb()[_0xb5a692(0x366)](_0x35ae47,_0x25a90b,_0x4c79b7,_0x8c3507,_0xda4eb9),_0x4944ec=new _0x600fcd()['invertOp'](_0x35ae47,_0x25b3ac),_0x3ef625={'unitId':_0x1415c6,'op':_0x25b3ac},_0xb5b3fe={'unitId':_0x1415c6,'op':_0x4944ec};return _0xd10243[_0xb5a692(0x447)](_0x489c96['id'],_0x3ef625)?(_0x1d351e[_0xb5a692(0x1aa)](_0x1415c6),_0x71aec7[_0xb5a692(0x480)]({'unitID':_0x1415c6,'undoMutations':[{'id':_0x489c96['id'],'params':_0xb5b3fe}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3ef625}]}),!0x0):!0x1;}},_0x19e91d={'id':_0x5b4d61(0x24f),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x5b6f9c,_0x1a3eae)=>{const _0x91fbc0=_0x5b4d61;if(!_0x1a3eae)return!0x1;let _0x519923=_0x5b6f9c[_0x91fbc0(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x3d905a,tableId:_0x261744,viewId:_0x10f3b7,fieldId:_0x39c66c,width:_0x1663b5}=_0x1a3eae,_0x420d14=_0x519923[_0x91fbc0(0x259)](_0x3d905a,_0x552f17[_0x91fbc0(0x349)][_0x91fbc0(0x1e2)]);if(!_0x420d14||!_0x15c798(_0x420d14,_0x261744,{'viewIds':[_0x10f3b7],'fieldIds':[_0x39c66c]}))return!0x1;let _0xa2696c=_0x420d14[_0x91fbc0(0x157)]()['tables'][_0x261744]['fields'][_0x39c66c];if(_0xa2696c['system']===!0x0||_0xa2696c[_0x91fbc0(0x4cd)]===_0x552f17[_0x91fbc0(0x22d)][_0x91fbc0(0x500)])return!0x1;let _0x118d7f=_0x5b6f9c[_0x91fbc0(0x3a4)](_0x552f17[_0x91fbc0(0xf5)]),_0x4d7cd5=_0x5b6f9c[_0x91fbc0(0x3a4)](_0x552f17['IUndoRedoService']),_0x1a4884=_0x420d14['getSnapshot'](),_0x167c25=new _0x1b9aeb()[_0x91fbc0(0x3de)](_0x1a4884,_0x261744,_0x10f3b7,_0x39c66c,_0x1663b5),_0x3ed320=new _0x600fcd()[_0x91fbc0(0x4fa)](_0x1a4884,_0x167c25),_0x529637={'unitId':_0x3d905a,'op':_0x167c25},_0x21936e={'unitId':_0x3d905a,'op':_0x3ed320};return _0x118d7f[_0x91fbc0(0x447)](_0x489c96['id'],_0x529637)?(_0x519923[_0x91fbc0(0x1aa)](_0x3d905a),_0x4d7cd5[_0x91fbc0(0x480)]({'unitID':_0x3d905a,'undoMutations':[{'id':_0x489c96['id'],'params':_0x21936e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x529637}]}),!0x0):!0x1;}},_0xe496df={'id':_0x5b4d61(0x2fa),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x1670d5,_0x490d84)=>{const _0x5b346d=_0x5b4d61;if(!_0x490d84)return!0x1;let _0x1db386=_0x1670d5[_0x5b346d(0x3a4)](_0x552f17[_0x5b346d(0x372)]),{unitId:_0x47a7f1,tableId:_0x31900d,viewId:_0x54e876,filter:_0x43e915}=_0x490d84,_0x5ed2d5=_0x1db386['getUnit'](_0x47a7f1,_0x552f17[_0x5b346d(0x349)][_0x5b346d(0x1e2)]),_0x9d1ccf=(_0x43e915==null?void 0x0:_0x43e915[_0x5b346d(0x323)][_0x5b346d(0x3ab)](_0x546775=>_0x546775[_0x5b346d(0x400)]))??[];if(!_0x5ed2d5||!_0x15c798(_0x5ed2d5,_0x31900d,{'viewIds':[_0x54e876],'fieldIds':_0x9d1ccf}))return!0x1;let _0x303904=_0x1670d5['get'](_0x552f17[_0x5b346d(0xf5)]),_0xc18421=_0x1670d5[_0x5b346d(0x3a4)](_0x552f17[_0x5b346d(0x471)]),_0x488eca=_0x5ed2d5['getSnapshot'](),_0x948c72=new _0x1b9aeb()[_0x5b346d(0x190)](_0x488eca,_0x31900d,_0x54e876,_0x43e915),_0x41bc38=new _0x600fcd()[_0x5b346d(0x4fa)](_0x488eca,_0x948c72),_0x1f349e={'unitId':_0x47a7f1,'op':_0x948c72},_0x16c55e={'unitId':_0x47a7f1,'op':_0x41bc38};return _0x303904[_0x5b346d(0x447)](_0x489c96['id'],_0x1f349e)?(_0x1db386[_0x5b346d(0x1aa)](_0x47a7f1),_0xc18421['pushUndoRedo']({'unitID':_0x47a7f1,'undoMutations':[{'id':_0x489c96['id'],'params':_0x16c55e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x1f349e}]}),!0x0):!0x1;}},_0x2b96e5={'id':_0x5b4d61(0x48d),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3c3578,_0x296974)=>{const _0x2498e1=_0x5b4d61;if(!_0x296974)return!0x1;let _0x38394a=_0x3c3578[_0x2498e1(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x28ebec,tableId:_0x249645,viewId:_0x542c36,group:_0x3fad1e}=_0x296974,_0x55c244=_0x38394a[_0x2498e1(0x259)](_0x28ebec,_0x552f17[_0x2498e1(0x349)][_0x2498e1(0x1e2)]);if(!_0x55c244||!_0x15c798(_0x55c244,_0x249645,{'viewIds':[_0x542c36],'fieldIds':_0x3fad1e[_0x2498e1(0x3ab)](_0x3bfaee=>_0x3bfaee[_0x2498e1(0x400)])}))return!0x1;let _0x1f69af=_0x3c3578[_0x2498e1(0x3a4)](_0x552f17[_0x2498e1(0xf5)]),_0x511de1=_0x3c3578['get'](_0x552f17[_0x2498e1(0x471)]),_0x1080f8=_0x55c244[_0x2498e1(0x157)](),_0x180e60=new _0x1b9aeb()[_0x2498e1(0x475)](_0x1080f8,_0x249645,_0x542c36,_0x3fad1e),_0x349571=new _0x600fcd()['invertOp'](_0x1080f8,_0x180e60),_0x24417e={'unitId':_0x28ebec,'op':_0x180e60},_0x3594c7={'unitId':_0x28ebec,'op':_0x349571};return _0x1f69af[_0x2498e1(0x447)](_0x489c96['id'],_0x24417e)?(_0x38394a[_0x2498e1(0x1aa)](_0x28ebec),_0x511de1[_0x2498e1(0x480)]({'unitID':_0x28ebec,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3594c7}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x24417e}]}),!0x0):!0x1;}},_0x51c31a={'id':_0x5b4d61(0x174),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x545b08,_0x585fac)=>{const _0x47225f=_0x5b4d61;if(!_0x585fac)return!0x1;let _0x377efe=_0x545b08[_0x47225f(0x3a4)](_0x552f17[_0x47225f(0x372)]),{unitId:_0x5874ab,tableId:_0x41d1ec,viewId:_0x329a28,sort:_0x57db32}=_0x585fac,_0x28e8a6=_0x377efe[_0x47225f(0x259)](_0x5874ab,_0x552f17[_0x47225f(0x349)][_0x47225f(0x1e2)]);if(!_0x28e8a6||!_0x15c798(_0x28e8a6,_0x41d1ec,{'viewIds':[_0x329a28],'fieldIds':_0x57db32[_0x47225f(0x3ab)](_0x376eee=>_0x376eee['fieldId'])}))return!0x1;let _0x2d6e60=_0x545b08[_0x47225f(0x3a4)](_0x552f17[_0x47225f(0xf5)]),_0x1ce2ef=_0x545b08[_0x47225f(0x3a4)](_0x552f17[_0x47225f(0x471)]),_0xdfc127=_0x28e8a6[_0x47225f(0x157)](),_0xc5eb61=new _0x1b9aeb()[_0x47225f(0x184)](_0xdfc127,_0x41d1ec,_0x329a28,_0x57db32),_0x15b7fb=new _0x600fcd()[_0x47225f(0x4fa)](_0xdfc127,_0xc5eb61),_0x3e369d={'unitId':_0x5874ab,'op':_0xc5eb61},_0x398857={'unitId':_0x5874ab,'op':_0x15b7fb};return _0x2d6e60[_0x47225f(0x447)](_0x489c96['id'],_0x3e369d)?(_0x377efe[_0x47225f(0x1aa)](_0x5874ab),_0x1ce2ef[_0x47225f(0x480)]({'unitID':_0x5874ab,'undoMutations':[{'id':_0x489c96['id'],'params':_0x398857}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3e369d}]}),!0x0):!0x1;}},_0x9a81a0={'id':_0x5b4d61(0x273),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler'(_0x27c79f,_0x1ad342){const _0x28793a=_0x5b4d61;if(!_0x1ad342)return!0x1;let _0x27dc2e=_0x27c79f['get'](_0x552f17[_0x28793a(0x372)]),{unitId:_0x1d49d7,tableId:_0x3dbed9,recordId:_0x59181e,fieldId:_0x1f8580,value:_0x31dd9b}=_0x1ad342,_0x4d2a14=_0x27dc2e[_0x28793a(0x259)](_0x1d49d7,_0x552f17[_0x28793a(0x349)][_0x28793a(0x1e2)]);if(!_0x4d2a14||!_0x15c798(_0x4d2a14,_0x3dbed9,{'recordIds':[_0x59181e],'fieldIds':[_0x1f8580]})||!_0x54e79f(_0x4d2a14,_0x3dbed9,_0x1f8580,_0x31dd9b))return!0x1;let _0x5b6c2c=_0x4d2a14[_0x28793a(0x157)]()[_0x28793a(0x1e1)][_0x3dbed9],_0x24b064=_0x288df0(_0x5b6c2c,_0x1f8580)&&_0x168111(_0x5b6c2c)[_0x28793a(0x396)](_0x1f8580),_0x129fb4=_0x24b064?_0x128f1a(_0x5b6c2c,_0x1f8580):null,_0x270d1b=(_0x129fb4==null?void 0x0:_0x129fb4[_0x28793a(0x378)][_0x28793a(0x3a4)](_0x59181e))??null,_0x61077a=_0x24b064?_0x17aaa4(_0x31dd9b)[0x0]??null:null;if(_0x129fb4){if(_0x61077a&&!_0x5b6c2c['records'][_0x61077a])throw new _0x31b592('missingRecord');let _0x2558e5=_0x4bbbbd(_0x129fb4,_0x59181e,_0x61077a);if(!_0x2558e5[_0x28793a(0x2d9)])throw new _0x31b592(_0x2558e5[_0x28793a(0x4bb)]===_0x552f17[_0x28793a(0x499)][_0x28793a(0x254)]?_0x28793a(0x388):_0x2558e5['reason']===_0x552f17[_0x28793a(0x499)][_0x28793a(0x2be)]?_0x28793a(0x4c9):'maxDepth');}let _0x54f9be=_0x27c79f['get'](_0x552f17[_0x28793a(0xf5)]),_0x3c2d93=_0x27c79f['get'](_0x552f17[_0x28793a(0x471)]),_0x1e9422=_0x27c79f[_0x28793a(0x3a4)](_0x18f07e),_0x5b2742;try{_0x5b2742=_0x1e9422[_0x28793a(0x237)](_0x4d2a14,_0x3dbed9,_0x59181e,_0x1f8580,_0x31dd9b);}catch(_0x301104){return console[_0x28793a(0x202)](_0x28793a(0x455),_0x301104),!0x1;}let _0x47ac6b=new _0x600fcd()[_0x28793a(0x4fa)](_0x4d2a14['getSnapshot'](),_0x5b2742),_0x39cd11=_0x24b064&&_0x270d1b!==_0x61077a?[{'tableId':_0x3dbed9,'fieldId':_0x1f8580,'recordId':_0x59181e,'oldParentRecordId':_0x270d1b,'parentRecordId':_0x61077a}]:void 0x0,_0x48f477={'unitId':_0x1d49d7,'op':_0x5b2742,'trigger':_0x39cd11?_0x9a81a0['id']:void 0x0,'hierarchyChanges':_0x39cd11,'source':_0x39cd11?_0x1ad342[_0x28793a(0x364)]??'ui':void 0x0},_0x46a61e={..._0x48f477,'source':_0x39cd11?_0x28793a(0x392):void 0x0},_0x3a2c64={'unitId':_0x1d49d7,'op':_0x47ac6b,'trigger':_0x39cd11?_0x9a81a0['id']:void 0x0,'hierarchyChanges':_0x39cd11==null?void 0x0:_0x39cd11[_0x28793a(0x3ab)](_0x5192f9=>({..._0x5192f9,'oldParentRecordId':_0x5192f9[_0x28793a(0x286)],'parentRecordId':_0x5192f9[_0x28793a(0x22e)]})),'source':_0x39cd11?_0x28793a(0x214):void 0x0};return _0x54f9be['syncExecuteCommand'](_0x489c96['id'],_0x48f477)?(_0x27dc2e[_0x28793a(0x4a5)]()||_0x27dc2e[_0x28793a(0x1aa)](_0x1d49d7),_0x3c2d93[_0x28793a(0x480)]({'unitID':_0x1d49d7,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3a2c64}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x46a61e}]}),!0x0):!0x1;}},_0x467366={'id':_0x5b4d61(0x321),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x414d5d,_0x15ac1b){const _0x33b6ba=_0x5b4d61;if(!_0x15ac1b)return!0x1;let _0x17b2dc=_0x414d5d[_0x33b6ba(0x3a4)](_0x552f17[_0x33b6ba(0x372)]),{unitId:_0x4d0b1b,tableId:_0x5680f2,fieldId:_0x36260c}=_0x15ac1b,_0x431f23=_0x17b2dc['getUnit'](_0x4d0b1b,_0x552f17[_0x33b6ba(0x349)][_0x33b6ba(0x1e2)]);if(!_0x431f23||!_0x15c798(_0x431f23,_0x5680f2,{'fieldIds':[_0x36260c]}))return!0x1;let _0x13590f=_0x414d5d[_0x33b6ba(0x3a4)](_0x552f17['ICommandService']),_0x473cc2=_0x414d5d[_0x33b6ba(0x3a4)](_0x552f17[_0x33b6ba(0x471)]),_0xd3721c=_0x431f23[_0x33b6ba(0x157)](),_0x36b08c=_0x15ac1b[_0x33b6ba(0x13d)][_0x33b6ba(0x104)](),_0x313b0a=new _0x1b9aeb()['updateField'](_0xd3721c,_0x5680f2,_0x36260c,{'description':_0x36b08c}),_0x4bee3e=new _0x600fcd()[_0x33b6ba(0x4fa)](_0x431f23[_0x33b6ba(0x157)](),_0x313b0a),_0x54db49={'unitId':_0x4d0b1b,'op':_0x313b0a},_0x2c9444={'unitId':_0x4d0b1b,'op':_0x4bee3e};return _0x13590f[_0x33b6ba(0x447)](_0x489c96['id'],_0x54db49)?(_0x17b2dc[_0x33b6ba(0x1aa)](_0x4d0b1b),_0x473cc2[_0x33b6ba(0x480)]({'unitID':_0x4d0b1b,'undoMutations':[{'id':_0x489c96['id'],'params':_0x2c9444}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x54db49}]}),!0x0):!0x1;}},_0x3d4519={'id':_0x5b4d61(0x153),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x218d45,_0x371a9c)=>{const _0x11a40c=_0x5b4d61;if(!_0x371a9c)return!0x1;let _0x2e8abe=_0x218d45['get'](_0x552f17[_0x11a40c(0x372)]),{unitId:_0x3da74e,tableId:_0x5e5788,fieldId:_0x116e48,patch:_0x261711}=_0x371a9c,_0xe116b0=_0x2e8abe[_0x11a40c(0x259)](_0x3da74e,_0x552f17[_0x11a40c(0x349)]['UNIVER_BASE']);if(!_0xe116b0||_0x116e48===_0x552f17['BASE_RECORD_ID_FIELD_ID']||!_0x15c798(_0xe116b0,_0x5e5788,{'fieldIds':[_0x116e48]}))return!0x1;let _0x29f014=_0x218d45[_0x11a40c(0x3a4)](_0x552f17[_0x11a40c(0xf5)]),_0x250db8=_0x218d45[_0x11a40c(0x3a4)](_0x552f17['IUndoRedoService']),_0x403f82=_0xe116b0[_0x11a40c(0x157)]();if(!_0x355e36(_0xe116b0,_0x5e5788,{..._0x403f82[_0x11a40c(0x1e1)][_0x5e5788]['fields'][_0x116e48],..._0x261711}))return!0x1;let _0x448bbf=new _0x1b9aeb()[_0x11a40c(0x41a)](_0x403f82,_0x5e5788,_0x116e48,_0x261711),_0x381821=new _0x600fcd()[_0x11a40c(0x4fa)](_0x403f82,_0x448bbf),_0x13bee6={'unitId':_0x3da74e,'op':_0x448bbf},_0x1c4b51={'unitId':_0x3da74e,'op':_0x381821};return _0x29f014[_0x11a40c(0x447)](_0x489c96['id'],_0x13bee6)?(_0x2e8abe[_0x11a40c(0x1aa)](_0x3da74e),_0x250db8[_0x11a40c(0x480)]({'unitID':_0x3da74e,'undoMutations':[{'id':_0x489c96['id'],'params':_0x1c4b51}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x13bee6}]}),!0x0):!0x1;}},_0x31321d={'id':'base.command.update-base-kanban-config','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3bf413,_0x37818d)=>{const _0x105e7d=_0x5b4d61;if(!_0x37818d)return!0x1;let _0x14b8d3=_0x3bf413[_0x105e7d(0x3a4)](_0x552f17[_0x105e7d(0x372)]),{unitId:_0x2a74fa,tableId:_0x4de1c0,viewId:_0x414642,patch:_0x180dba}=_0x37818d,_0x31c0b9=_0x14b8d3[_0x105e7d(0x259)](_0x2a74fa,_0x552f17['UniverInstanceType'][_0x105e7d(0x1e2)]);if(!_0x31c0b9||!_0x15c798(_0x31c0b9,_0x4de1c0,{'viewIds':[_0x414642]}))return!0x1;let _0x44c9eb=_0x3bf413['get'](_0x552f17[_0x105e7d(0xf5)]),_0x46d983=_0x3bf413[_0x105e7d(0x3a4)](_0x552f17[_0x105e7d(0x471)]),_0x3507e9=_0x31c0b9['getSnapshot'](),_0x296271=new _0x1b9aeb()[_0x105e7d(0x14e)](_0x3507e9,_0x4de1c0,_0x414642,_0x180dba),_0x291b2d=new _0x600fcd()[_0x105e7d(0x4fa)](_0x3507e9,_0x296271),_0x3e109f={'unitId':_0x2a74fa,'op':_0x296271},_0x436a9d={'unitId':_0x2a74fa,'op':_0x291b2d};return _0x44c9eb[_0x105e7d(0x447)](_0x489c96['id'],_0x3e109f)?(_0x14b8d3['focusUnit'](_0x2a74fa),_0x46d983[_0x105e7d(0x480)]({'unitID':_0x2a74fa,'undoMutations':[{'id':_0x489c96['id'],'params':_0x436a9d}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3e109f}]}),!0x0):!0x1;}},_0x19160d={'id':'base.command.update-base-record-order','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x5009c5,_0x1437a6)=>{const _0x405293=_0x5b4d61;if(!_0x1437a6)return!0x1;let _0xb56482=_0x5009c5[_0x405293(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x5df5f3,tableId:_0x589c21,recordId:_0x23a90d,orderKey:_0x2a5a35}=_0x1437a6,_0x35cad9=_0xb56482[_0x405293(0x259)](_0x5df5f3,_0x552f17[_0x405293(0x349)]['UNIVER_BASE']);if(!_0x35cad9||!_0x15c798(_0x35cad9,_0x589c21,{'recordIds':[_0x23a90d]}))return!0x1;let _0x1a64d4=_0x5009c5[_0x405293(0x3a4)](_0x552f17['ICommandService']),_0x94e9f3=_0x5009c5[_0x405293(0x3a4)](_0x552f17[_0x405293(0x471)]),_0x4923a5=_0x35cad9[_0x405293(0x157)](),_0x1dfa34=new _0x1b9aeb()['updateRecordOrder'](_0x4923a5,_0x589c21,_0x23a90d,_0x2a5a35),_0x3e098f=new _0x600fcd()[_0x405293(0x4fa)](_0x4923a5,_0x1dfa34),_0x23a577={'unitId':_0x5df5f3,'op':_0x1dfa34},_0x301664={'unitId':_0x5df5f3,'op':_0x3e098f};return _0x1a64d4[_0x405293(0x447)](_0x489c96['id'],_0x23a577)?(_0xb56482[_0x405293(0x1aa)](_0x5df5f3),_0x94e9f3[_0x405293(0x480)]({'unitID':_0x5df5f3,'undoMutations':[{'id':_0x489c96['id'],'params':_0x301664}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x23a577}]}),!0x0):!0x1;}},_0x16ab6d=function(_0x35fcbd){const _0x33e438=_0x5b4d61;return _0x35fcbd['Set']=_0x33e438(0x3e9),_0x35fcbd['Add']='add',_0x35fcbd[_0x33e438(0x371)]=_0x33e438(0x1d6),_0x35fcbd[_0x33e438(0x269)]='clear',_0x35fcbd;}({}),_0x4a49d7={'id':_0x5b4d61(0x546),'type':_0x552f17['CommandType']['COMMAND'],'handler':(_0x29019d,_0x5d5a51)=>{const _0x5351fe=_0x5b4d61;var _0x4ed697;if(!_0x5d5a51)return!0x1;let _0x242a48=_0x29019d['get'](_0x552f17[_0x5351fe(0x372)]),_0x2a56af=_0x242a48[_0x5351fe(0x259)](_0x5d5a51[_0x5351fe(0x36f)],_0x552f17[_0x5351fe(0x349)]['UNIVER_BASE']);if(!_0x2a56af||!_0x15c798(_0x2a56af,_0x5d5a51['tableId'],{'viewIds':[_0x5d5a51[_0x5351fe(0x1b8)]]}))return!0x1;let _0x83b78f=_0x2a56af[_0x5351fe(0x157)](),_0xcd6b1b=_0x83b78f[_0x5351fe(0x1e1)][_0x5d5a51[_0x5351fe(0x111)]],_0x557335=_0x9ff08b(((_0x4ed697=_0xcd6b1b[_0x5351fe(0x2ea)][_0x5d5a51[_0x5351fe(0x1b8)]][_0x5351fe(0x340)][_0x5351fe(0x2cd)])==null?void 0x0:_0x4ed697[_0x5351fe(0x2b9)])??[],_0x5d5a51);if(!_0x557335)return!0x1;_0x11de60(_0xcd6b1b,_0x557335);let _0x192704=new _0x1b9aeb()['updateViewConfig'](_0x83b78f,_0x5d5a51[_0x5351fe(0x111)],_0x5d5a51['viewId'],{'conditionalColoring':_0x557335['length']?{'rules':_0x557335}:null}),_0x57f537=new _0x600fcd()[_0x5351fe(0x4fa)](_0x83b78f,_0x192704),_0x4dd7e0={'unitId':_0x5d5a51[_0x5351fe(0x36f)],'op':_0x192704},_0x4930af={'unitId':_0x5d5a51[_0x5351fe(0x36f)],'op':_0x57f537};return _0x29019d[_0x5351fe(0x3a4)](_0x552f17[_0x5351fe(0xf5)])[_0x5351fe(0x447)](_0x489c96['id'],_0x4dd7e0)?(_0x242a48[_0x5351fe(0x1aa)](_0x5d5a51[_0x5351fe(0x36f)]),_0x29019d[_0x5351fe(0x3a4)](_0x552f17[_0x5351fe(0x471)])['pushUndoRedo']({'unitID':_0x5d5a51[_0x5351fe(0x36f)],'undoMutations':[{'id':_0x489c96['id'],'params':_0x4930af}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x4dd7e0}]}),!0x0):!0x1;}};function _0x9ff08b(_0x57ffd4,_0x659860){const _0x1aa505=_0x5b4d61;switch(_0x659860['type']){case _0x1aa505(0x3e9):return _0x552f17[_0x1aa505(0x395)][_0x1aa505(0x4bf)](_0x659860[_0x1aa505(0x2b9)]);case _0x1aa505(0x112):return[..._0x552f17[_0x1aa505(0x395)][_0x1aa505(0x4bf)](_0x57ffd4),_0x552f17[_0x1aa505(0x395)][_0x1aa505(0x4bf)](_0x659860['rule'])];case _0x1aa505(0x1d6):{let _0x171ada=_0x57ffd4[_0x1aa505(0x30a)](_0x5f1887=>_0x5f1887['id']!==_0x659860[_0x1aa505(0x4c1)]);return _0x171ada[_0x1aa505(0x46a)]===_0x57ffd4[_0x1aa505(0x46a)]?null:_0x552f17['Tools'][_0x1aa505(0x4bf)](_0x171ada);}case _0x1aa505(0x25b):return _0x57ffd4[_0x1aa505(0x46a)]?[]:null;}}function _0x11de60(_0x2c5d70,_0x4ad242){const _0xbbf003=_0x5b4d61;if(!Array[_0xbbf003(0x3bc)](_0x4ad242))throw TypeError(_0xbbf003(0x155));let _0xbdc6b5=new Set();for(let [_0x5a7d47,_0x36b83f]of _0x4ad242[_0xbbf003(0x21f)]())_0x4c837e(_0x2c5d70,_0x36b83f,_0x315f4f(_0x36b83f,_0x5a7d47,_0xbdc6b5));}function _0x315f4f(_0x3c4f3d,_0x31bc99,_0x145168){const _0x1de0cd=_0x5b4d61;if(!_0x3c4f3d||typeof _0x3c4f3d!=_0x1de0cd(0x434))throw TypeError(_0x1de0cd(0x188)+_0x31bc99+_0x1de0cd(0x451));let _0x2ee7fd=typeof _0x3c4f3d['id']==_0x1de0cd(0x525)&&_0x3c4f3d['id']['trim']()?'\x22'+_0x3c4f3d['id']+'\x22':'at\x20index\x20'+_0x31bc99;if(typeof _0x3c4f3d['id']!=_0x1de0cd(0x525)||!_0x3c4f3d['id'][_0x1de0cd(0x104)]())throw Error(_0x1de0cd(0x44e)+_0x2ee7fd+_0x1de0cd(0x192));if(_0x145168['has'](_0x3c4f3d['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x3c4f3d['id']+'\x22.');_0x145168[_0x1de0cd(0x112)](_0x3c4f3d['id']);let _0xc439a5=typeof _0x3c4f3d[_0x1de0cd(0x187)]=='string'&&_0x3c4f3d[_0x1de0cd(0x187)][_0x1de0cd(0x104)]()?new _0x552f17[(_0x1de0cd(0x119))](_0x3c4f3d[_0x1de0cd(0x187)]):null;if(!(_0xc439a5!=null&&_0xc439a5['isValid']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x2ee7fd+'\x20must\x20have\x20a\x20valid\x20CSS\x20color.');return _0x2ee7fd;}function _0x4c837e(_0x3d38cc,_0x6892eb,_0x548608){const _0x3bbfd9=_0x5b4d61;let _0x4f55d9=new Set(Object[_0x3bbfd9(0x4d1)](_0x552f17[_0x3bbfd9(0x35a)])),_0x349033=new Set(Object['values'](_0x552f17['BaseConditionalColorOperator'])),_0x53c954=new Set(Object[_0x3bbfd9(0x4d1)](_0x552f17[_0x3bbfd9(0x295)]));if(!_0x4f55d9[_0x3bbfd9(0x1d8)](_0x6892eb[_0x3bbfd9(0x4d4)]))throw Error(_0x3bbfd9(0x44e)+_0x548608+_0x3bbfd9(0x315)+String(_0x6892eb[_0x3bbfd9(0x4d4)])+'\x22.');let _0xa5beeb=typeof _0x6892eb[_0x3bbfd9(0x400)]==_0x3bbfd9(0x525)?_0x3d38cc[_0x3bbfd9(0x3ec)][_0x6892eb['fieldId']]:void 0x0;if(!_0xa5beeb||_0xa5beeb[_0x3bbfd9(0x505)]===!0x0||_0xa5beeb[_0x3bbfd9(0x4cd)]===_0x552f17[_0x3bbfd9(0x22d)][_0x3bbfd9(0x500)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x548608+_0x3bbfd9(0x11c)+String(_0x6892eb[_0x3bbfd9(0x400)])+'\x22.');if(!_0x349033['has'](_0x6892eb[_0x3bbfd9(0x252)]))throw Error(_0x3bbfd9(0x44e)+_0x548608+_0x3bbfd9(0x448)+String(_0x6892eb[_0x3bbfd9(0x252)])+'\x22.');if(_0x6892eb['dateMode']!==void 0x0&&!_0x53c954[_0x3bbfd9(0x1d8)](_0x6892eb[_0x3bbfd9(0x1b4)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x548608+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x6892eb[_0x3bbfd9(0x1b4)])+'\x22.');if(_0x6892eb[_0x3bbfd9(0x4d4)]===_0x552f17[_0x3bbfd9(0x35a)][_0x3bbfd9(0x33f)])return;let _0x3dc94c=_0x47060d(_0xa5beeb[_0x3bbfd9(0x4cd)]);if(!_0x3dc94c['includes'](_0x6892eb[_0x3bbfd9(0x252)]))throw Error(_0x3bbfd9(0x44e)+_0x548608+'\x20cannot\x20use\x20operator\x20\x22'+_0x6892eb[_0x3bbfd9(0x252)]+'\x22\x20with\x20field\x20type\x20\x22'+_0xa5beeb[_0x3bbfd9(0x4cd)]+'\x22.\x20Allowed\x20operators:\x20'+_0x3dc94c[_0x3bbfd9(0x53f)](',\x20')+'.');if(_0x6892eb['dateMode']!==void 0x0&&!_0x4e99f7(_0xa5beeb['type']))throw Error(_0x3bbfd9(0x44e)+_0x548608+_0x3bbfd9(0x54b));}let _0xde1fc9={'id':_0x5b4d61(0x122),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x6bb06a,_0x125d08)=>{const _0x237b4f=_0x5b4d61;if(!_0x125d08)return!0x1;let _0x2166c0=_0x6bb06a[_0x237b4f(0x3a4)](_0x552f17[_0x237b4f(0x372)]),{unitId:_0x2285d7,tableId:_0x187776,viewId:_0x24a0f4,patch:_0x47af43}=_0x125d08,_0x3a17a3=_0x2166c0[_0x237b4f(0x259)](_0x2285d7,_0x552f17[_0x237b4f(0x349)][_0x237b4f(0x1e2)]);if(!_0x3a17a3||!_0x15c798(_0x3a17a3,_0x187776,{'viewIds':[_0x24a0f4]}))return!0x1;let _0x5cf998=_0x6bb06a[_0x237b4f(0x3a4)](_0x552f17[_0x237b4f(0xf5)]),_0x4eb4df=_0x6bb06a[_0x237b4f(0x3a4)](_0x552f17[_0x237b4f(0x471)]),_0xc2763d=_0x3a17a3[_0x237b4f(0x157)](),_0x25b90b=new _0x1b9aeb()[_0x237b4f(0x14e)](_0xc2763d,_0x187776,_0x24a0f4,_0x47af43),_0x54ee2c=new _0x600fcd()['invertOp'](_0xc2763d,_0x25b90b),_0x26a5cd={'unitId':_0x2285d7,'op':_0x25b90b},_0x44daf6={'unitId':_0x2285d7,'op':_0x54ee2c};return _0x5cf998['syncExecuteCommand'](_0x489c96['id'],_0x26a5cd)?(_0x2166c0[_0x237b4f(0x1aa)](_0x2285d7),_0x4eb4df[_0x237b4f(0x480)]({'unitID':_0x2285d7,'undoMutations':[{'id':_0x489c96['id'],'params':_0x44daf6}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x26a5cd}]}),!0x0):!0x1;}},_0x298d7b={'id':_0x5b4d61(0x2c5),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x399f70,_0x49a98e){const _0x506fa6=_0x5b4d61;if(!_0x49a98e)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x3a1d39=_0x399f70[_0x506fa6(0x3a4)](_0x552f17[_0x506fa6(0x372)])['getUnit'](_0x49a98e[_0x506fa6(0x36f)],_0x552f17['UniverInstanceType']['UNIVER_BASE']),_0x2b7cf9=_0x3a1d39==null?void 0x0:_0x3a1d39[_0x506fa6(0x157)](),_0x2ff03b=_0x2b7cf9==null?void 0x0:_0x2b7cf9[_0x506fa6(0x1e1)][_0x49a98e[_0x506fa6(0x111)]];return!_0x2b7cf9||!_0x2ff03b?{'valid':!0x1,'reason':_0x506fa6(0x21d)}:new _0x328073()[_0x506fa6(0x1cb)](_0x49a98e[_0x506fa6(0x498)],_0x2ff03b,{'snapshot':_0x2b7cf9});}},_0x333b91=class extends _0x552f17['ObjectPermissionRuleModel']{constructor(_0x28c89f){const _0x144840=_0x5b4d61;super(_0x28c89f,_0x144840(0x536),_0x552f17[_0x144840(0x349)][_0x144840(0x1e2)],[_0x4b2dcb[_0x144840(0x2af)]['BaseTable'],_0x4b2dcb[_0x144840(0x2af)][_0x144840(0x2ce)],_0x4b2dcb[_0x144840(0x2af)][_0x144840(0x142)],_0x4b2dcb[_0x144840(0x2af)]['BaseView'],_0x4b2dcb['UnitObject'][_0x144840(0xfb)]]);}};_0x333b91=_0x3a99e3([_0x8293b1(0x0,_0x552f17['IResourceManagerService'])],_0x333b91);let _0x5f4b86={'id':_0x5b4d61(0x196),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x4b3)],'handler':(_0x3a42dc,_0x3b70f3)=>!_0x3b70f3||!_0x3a42dc[_0x5b4d61(0x3a4)](_0x552f17[_0x5b4d61(0x372)])['getUnit'](_0x3b70f3['unitId'],_0x552f17[_0x5b4d61(0x349)][_0x5b4d61(0x1e2)])?!0x1:_0x3a42dc[_0x5b4d61(0x3a4)](_0x333b91)[_0x5b4d61(0x1a8)](_0x3b70f3[_0x5b4d61(0x36f)],_0x3b70f3[_0x5b4d61(0x12a)],_0x3b70f3[_0x5b4d61(0x479)],_0x3b70f3[_0x5b4d61(0x308)])},_0x2ded08={'id':_0x5b4d61(0x26e),'type':_0x552f17[_0x5b4d61(0x538)]['MUTATION'],'handler':(_0x49db95,_0x402ceb)=>!_0x402ceb||!_0x49db95['get'](_0x552f17[_0x5b4d61(0x372)])[_0x5b4d61(0x259)](_0x402ceb[_0x5b4d61(0x36f)],_0x552f17[_0x5b4d61(0x349)][_0x5b4d61(0x1e2)])?!0x1:_0x49db95[_0x5b4d61(0x3a4)](_0x333b91)[_0x5b4d61(0x383)](_0x402ceb['unitId'],_0x402ceb[_0x5b4d61(0x2b9)])};function _0x5344ae(_0x4d3ae0){const _0x3ecb0d=_0x5b4d61;let _0x1e4c36=_0x4d3ae0[_0x3ecb0d(0x1ca)]??Date['now'](),_0x400ae7=_0x4d3ae0[_0x3ecb0d(0x3a1)]??_0x4d3ae0['id']+_0x3ecb0d(0x2e0),_0x13c75c=_0x4d3ae0['gridViewId']??_0x4d3ae0['id']+_0x3ecb0d(0x450),_0xcacfb8=_0x4d3ae0[_0x3ecb0d(0x369)]??0x0,_0x3be5b2=(0x0,_0x552f17['createBaseRecordIdField'])(),_0x41f55b={'id':_0x400ae7,'name':_0x4d3ae0[_0x3ecb0d(0x412)]??_0x3ecb0d(0x4b9),'type':_0x552f17['BaseFieldType']['Text'],'config':{'placeholder':_0x3ecb0d(0x218)}},_0x43ab7f={},_0x46f613=[],_0x3c8c24={},_0x40ccf5={},_0x570140={};for(let _0x4bf13c=0x0;_0x4bf13c<_0xcacfb8;_0x4bf13c++){let _0x42a4c7=_0x4d3ae0['id']+_0x3ecb0d(0x1fb)+(_0x4bf13c+0x1);_0x43ab7f[_0x42a4c7]={'id':_0x42a4c7,'values':{[_0x552f17['BASE_RECORD_ID_FIELD_ID']]:_0x42a4c7,..._0x4d3ae0[_0x3ecb0d(0x23c)]?{[_0x400ae7]:_0x4d3ae0[_0x3ecb0d(0x23c)]+'\x20'+(_0x4bf13c+0x1)}:{}},'orderKey':String(_0x4bf13c+0x1)[_0x3ecb0d(0x20f)](0x4,'0'),'createdAt':_0x1e4c36,'updatedAt':_0x1e4c36},_0x46f613[_0x3ecb0d(0x36c)](_0x42a4c7),_0x3c8c24[_0x42a4c7]=_0x4bf13c,_0x40ccf5[_0x4bf13c]=_0x42a4c7,_0x570140[_0x4bf13c]={0x0:{'v':_0x42a4c7,'t':_0x552f17[_0x3ecb0d(0x393)][_0x3ecb0d(0x4e1)]}},_0x4d3ae0[_0x3ecb0d(0x23c)]&&(_0x570140[_0x4bf13c][0x1]={'v':_0x4d3ae0[_0x3ecb0d(0x23c)]+'\x20'+(_0x4bf13c+0x1),'t':_0x552f17[_0x3ecb0d(0x393)]['STRING']});}let _0x427480={'id':_0x13c75c,'tableId':_0x4d3ae0['id'],'name':_0x3ecb0d(0x48f),'type':_0x552f17['BaseViewType'][_0x3ecb0d(0x48f)],'fieldOrder':[_0x552f17['BASE_RECORD_ID_FIELD_ID'],_0x400ae7],'fieldSettings':{[_0x552f17[_0x3ecb0d(0x316)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x4d3ae0['id'],'name':_0x4d3ae0[_0x3ecb0d(0x288)],'primaryFieldId':_0x400ae7,'fieldOrder':[_0x552f17[_0x3ecb0d(0x316)],_0x400ae7],'fields':{[_0x552f17[_0x3ecb0d(0x316)]]:_0x3be5b2,[_0x400ae7]:_0x41f55b},'records':_0x43ab7f,'recordOrder':_0x46f613,'rowIndex':_0x3c8c24,'rowId':_0x40ccf5,'colIndex':{[_0x552f17[_0x3ecb0d(0x316)]]:0x0,[_0x400ae7]:0x1},'colId':{0x0:_0x552f17[_0x3ecb0d(0x316)],0x1:_0x400ae7},'cellData':_0x570140,'views':{[_0x13c75c]:_0x427480},'viewOrder':[_0x13c75c]};}let _0x2a7d93='UNIVER_EMBED_BASES_TABLE';function _0x57685a(_0x475a32){const _0x8b8d43=_0x5b4d61;let _0x50936b=_0x5344ae({'id':_0x475a32['hostAnchorId'],'name':_0x475a32[_0x8b8d43(0x288)]??_0x475a32['embedId'],'recordCount':0x0});return{..._0x50936b,'resources':{..._0x50936b[_0x8b8d43(0x336)]??{},[_0x2a7d93]:_0x3a6baf(_0x475a32)}};}function _0x5ba883(_0x2e406a){const _0x334834=_0x5b4d61;return{'id':_0x489c96['id'],'params':{'unitId':_0x2e406a[_0x334834(0x36f)],'op':_0x552f17[_0x334834(0x4e7)]['type']['compose'](_0x552f17[_0x334834(0x4e7)][_0x334834(0x4e3)]([_0x334834(0x1e1),_0x2e406a[_0x334834(0x481)]['id']],_0x2e406a[_0x334834(0x481)]),_0x552f17[_0x334834(0x4e7)][_0x334834(0x4e3)]([_0x334834(0x3ac),_0x2e406a[_0x334834(0x4a8)]??_0x2e406a[_0x334834(0x3a0)][_0x334834(0x3ac)][_0x334834(0x46a)]],_0x2e406a[_0x334834(0x481)]['id'])),'trigger':'embed-ui'}};}function _0x208dd0(_0x4be58e){const _0x4d8b24=_0x5b4d61;let _0x4bcdcf=_0x4be58e[_0x4d8b24(0x3a0)][_0x4d8b24(0x3ac)]['indexOf'](_0x4be58e[_0x4d8b24(0x111)]);if(!(!_0x4be58e[_0x4d8b24(0x3a0)][_0x4d8b24(0x1e1)][_0x4be58e['tableId']]||_0x4bcdcf<0x0))return{'id':_0x489c96['id'],'params':{'unitId':_0x4be58e[_0x4d8b24(0x36f)],'op':_0x552f17[_0x4d8b24(0x4e7)][_0x4d8b24(0x4cd)][_0x4d8b24(0x283)](_0x552f17[_0x4d8b24(0x4e7)]['removeOp']([_0x4d8b24(0x1e1),_0x4be58e[_0x4d8b24(0x111)]],_0x4be58e['snapshot'][_0x4d8b24(0x1e1)][_0x4be58e[_0x4d8b24(0x111)]]),_0x552f17['JSON1'][_0x4d8b24(0x4e6)](['tableOrder',_0x4bcdcf],_0x4be58e[_0x4d8b24(0x111)])),'trigger':_0x4d8b24(0x39a)}};}function _0x3a6baf(_0x33216a){const _0x14978d=_0x5b4d61;return{'version':0x1,'embedId':_0x33216a[_0x14978d(0x27d)],'hostAnchorId':_0x33216a['hostAnchorId'],'childUnitId':_0x33216a[_0x14978d(0xf4)],'childType':_0x33216a[_0x14978d(0x406)]};}function _0x31fc67(_0x32e2b5){const _0x1fbf1a=_0x5b4d61;let _0x4f29b3=Math[_0x1fbf1a(0x3bd)](0x0,Number(_0x32e2b5[_0x1fbf1a(0x132)]??0x0)),_0x1debf2=_0x32e2b5[_0x1fbf1a(0x114)]===!0x1?'0':'#,##0',_0x58dda6=_0x4f29b3?'.'+'0'[_0x1fbf1a(0x4bd)](_0x4f29b3):'',_0x2460b9=_0x603263(_0x32e2b5[_0x1fbf1a(0x424)]);return''+(_0x32e2b5[_0x1fbf1a(0x532)]?_0x36facf(_0x32e2b5[_0x1fbf1a(0x532)]):'')+_0x1debf2+_0x58dda6+_0x2460b9;}function _0x3a5fa6(_0x580ef0,_0x2ab609){const _0x2c1f8c=_0x5b4d61;let _0x4202b7=_0x31fc67(_0x2ab609),_0x41cf2e=_0x552f17['numfmt'][_0x2c1f8c(0x2d0)](_0x4202b7,_0x580ef0,{'throws':!0x1});return _0x510ef4(String(_0x41cf2e),_0x2ab609[_0x2c1f8c(0x212)],_0x2ab609[_0x2c1f8c(0x2a7)]);}function _0x603263(_0x17c343){const _0x34a978=_0x5b4d61;return _0x17c343==='K'?_0x34a978(0xf2):_0x17c343==='M'?_0x34a978(0x4f8):_0x17c343==='B'?_0x34a978(0x363):'';}function _0x36facf(_0x2485be){const _0x13ea5e=_0x5b4d61;return/^[A-Z]+$/i[_0x13ea5e(0x1d7)](_0x2485be)?'\x22'+_0x2485be+'\x22':_0x2485be;}function _0x510ef4(_0x168582,_0x59cb00,_0x790789){const _0x537df0=_0x5b4d61;let _0x57e24d=_0x59cb00==='local'?_0x2515bf(_0x790789):_0x59cb00;return _0x57e24d==='periodComma'?_0x168582[_0x537df0(0x394)](/,/g,'\x00')['replace'](/\./g,',')[_0x537df0(0x394)](/\0/g,'.'):_0x57e24d===_0x537df0(0x4eb)?_0x168582[_0x537df0(0x394)](/,/g,'\x20')[_0x537df0(0x394)](/\./g,','):_0x57e24d===_0x537df0(0x31c)?_0x168582[_0x537df0(0x394)](/,/g,'\x20'):_0x168582;}function _0x2515bf(_0x91b377){const _0x1284cd=_0x5b4d61;var _0x4956d7,_0x39da18;let _0x11fabc=_0x91b377||new Intl[(_0x1284cd(0x139))]()[_0x1284cd(0x304)]()[_0x1284cd(0x2a7)],_0x4e7743;try{_0x4e7743=new Intl[(_0x1284cd(0x139))](_0x11fabc,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x1284cd(0x1eb)](0xf4240);}catch{return _0x1284cd(0x2da);}let _0x540dc8=(_0x4956d7=_0x4e7743['find'](_0x1229ed=>_0x1229ed['type']==='group'))==null?void 0x0:_0x4956d7[_0x1284cd(0x2e2)],_0xc2feeb=(_0x39da18=_0x4e7743['find'](_0xfc0ddd=>_0xfc0ddd[_0x1284cd(0x4cd)]==='decimal'))==null?void 0x0:_0x39da18[_0x1284cd(0x2e2)],_0x12a75a=_0x540dc8==='\u00a0'||_0x540dc8==='\u202f'?'\x20':_0x540dc8;return _0x12a75a==='.'&&_0xc2feeb===','?_0x1284cd(0x49e):_0x12a75a==='\x20'&&_0xc2feeb===','?'spaceComma':_0x12a75a==='\x20'&&_0xc2feeb==='.'?_0x1284cd(0x31c):'commaPeriod';}function _0x53cb70(_0x31607e,_0x2c10be){const _0x11aa09=_0x5b4d61;let _0xd11005=_0x2c10be&&typeof _0x2c10be=='object'&&!Array[_0x11aa09(0x3bc)](_0x2c10be)?_0x2c10be:{},_0x78ddf3=_0x3cf095(_0xd11005['decimalPlaces'],0x0,0x2,0x0),_0x302aa3=_0x31607e[_0x11aa09(0x551)](_0x78ddf3);return _0xd11005[_0x11aa09(0x2d0)]==='number'?_0x302aa3:_0x302aa3+'%';}function _0x3cf095(_0x4516dd,_0x4779d6,_0x110ba7,_0x177b11){const _0x564b8f=_0x5b4d61;if(_0x4516dd==null||_0x4516dd==='')return _0x177b11;let _0x2ff79f=typeof _0x4516dd==_0x564b8f(0x544)?_0x4516dd:Number(_0x4516dd);return Number[_0x564b8f(0x326)](_0x2ff79f)?Math[_0x564b8f(0x3bd)](_0x4779d6,Math[_0x564b8f(0x3b5)](_0x110ba7,Math['round'](_0x2ff79f))):_0x177b11;}let _0x2af2a0=[_0x5b4d61(0x4da),_0x5b4d61(0x134),_0x5b4d61(0x19d),_0x5b4d61(0x179),_0x5b4d61(0x43b),_0x5b4d61(0x4ea),_0x5b4d61(0x3b5),'max'],_0x21c8f7=[_0x5b4d61(0x4da),'filled',_0x5b4d61(0x19d),'unique'],_0x41f075=[_0x5b4d61(0x43b),_0x5b4d61(0x4ea),_0x5b4d61(0x3b5),'max'],_0x476eea=[_0x5b4d61(0x3b5),_0x5b4d61(0x3bd)],_0x1a268d=new Set([_0x552f17[_0x5b4d61(0x22d)]['Number'],_0x552f17[_0x5b4d61(0x22d)]['Currency'],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x28f)],_0x552f17[_0x5b4d61(0x22d)]['Rating']]),_0x21f151=new Set([_0x552f17[_0x5b4d61(0x22d)]['MultiSelect'],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x430)],_0x552f17[_0x5b4d61(0x22d)]['Group']]),_0x406052=_0x5b4d61(0x2a2);function _0x1875e5(_0x215c98){const _0x2b8827=_0x5b4d61;return typeof _0x215c98==_0x2b8827(0x525)&&_0x2af2a0[_0x2b8827(0x396)](_0x215c98);}function _0x45ee53(_0xd86e38){const _0x14470d=_0x5b4d61;return!_0xd86e38||typeof _0xd86e38!='object'?{}:Object[_0x14470d(0x1b2)](Object[_0x14470d(0x21f)](_0xd86e38)[_0x14470d(0x30a)](_0x1e75c3=>_0x1875e5(_0x1e75c3[0x1])));}function _0x5baa5a(_0x44589f){const _0x119f01=_0x5b4d61;return _0x1a268d[_0x119f01(0x1d8)](_0x44589f[_0x119f01(0x4cd)])?[..._0x21c8f7,..._0x41f075]:_0x44589f[_0x119f01(0x4cd)]===_0x552f17[_0x119f01(0x22d)][_0x119f01(0x2ef)]?[..._0x21c8f7,..._0x55e7b1(_0x44589f)===_0x119f01(0x2c2)?_0x476eea:_0x41f075]:_0x21c8f7;}function _0x297a26(_0x47b098,_0x23936c){const _0x5988b8=_0x5b4d61;return _0x5baa5a(_0x47b098)[_0x5988b8(0x396)](_0x23936c);}function _0x30944c(_0x3672c0,_0x361451,_0x1ba978){const _0x32cca5=_0x5b4d61;if(!_0x297a26(_0x3672c0,_0x1ba978))return null;let _0xd934fc=_0x361451[_0x32cca5(0x30a)](_0x34b40c=>!_0x18fd02(_0x3672c0,_0x34b40c));switch(_0x1ba978){case _0x32cca5(0x4da):return _0x361451[_0x32cca5(0x46a)];case'filled':return _0xd934fc[_0x32cca5(0x46a)];case _0x32cca5(0x19d):return _0x361451[_0x32cca5(0x46a)]-_0xd934fc[_0x32cca5(0x46a)];case _0x32cca5(0x179):return new Set(_0xd934fc[_0x32cca5(0x3ab)](_0x22a003=>_0x4862a6(_0x3672c0,_0x22a003)))[_0x32cca5(0x18d)];case _0x32cca5(0x43b):{let _0x2ddfad=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x2ddfad['length']?_0x6a388f(_0x2ddfad):null;}case _0x32cca5(0x4ea):{let _0x14a889=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x14a889[_0x32cca5(0x46a)]?_0x6a388f(_0x14a889)/_0x14a889[_0x32cca5(0x46a)]:null;}case _0x32cca5(0x3b5):{let _0x339c6a=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x339c6a[_0x32cca5(0x46a)]?Math[_0x32cca5(0x3b5)](..._0x339c6a):null;}case _0x32cca5(0x3bd):{let _0x5876a2=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x5876a2['length']?Math[_0x32cca5(0x3bd)](..._0x5876a2):null;}}}function _0x5553b1(_0xd91b4b,_0x4286d0,_0x5e6071){const _0xdc7fca=_0x5b4d61;if(_0x5e6071==null||!Number[_0xdc7fca(0x326)](_0x5e6071))return'-';if(_0x21c8f7[_0xdc7fca(0x396)](_0x4286d0))return String(_0x5e6071);switch(_0xd91b4b[_0xdc7fca(0x4cd)]){case _0x552f17[_0xdc7fca(0x22d)][_0xdc7fca(0x439)]:return _0x3a5fa6(_0x5e6071,_0x435da3(_0xd91b4b));case _0x552f17[_0xdc7fca(0x22d)][_0xdc7fca(0x268)]:return _0x3a5fa6(_0x5e6071,_0x3d1aa2(_0xd91b4b));case _0x552f17['BaseFieldType'][_0xdc7fca(0x28f)]:return _0x53cb70(_0x5e6071,_0xd91b4b[_0xdc7fca(0x340)]);case _0x552f17[_0xdc7fca(0x22d)][_0xdc7fca(0x2ef)]:return _0x31d1f6(_0x5e6071,_0xd91b4b);default:return _0x332cdf(_0x5e6071);}}function _0x18fd02(_0x3bc0e5,_0x1f2522){const _0x40f567=_0x5b4d61;if(_0x1f2522==null)return!0x0;if(typeof _0x1f2522=='string')return _0x1f2522[_0x40f567(0x104)]()==='';if(Array[_0x40f567(0x3bc)](_0x1f2522))return _0x3bc0e5['type']===_0x552f17[_0x40f567(0x22d)][_0x40f567(0x3a6)]?!_0x1f2522[_0x40f567(0x166)](_0x10b5fd):_0x1f2522[_0x40f567(0x46a)]===0x0;if(_0x3bc0e5['type']===_0x552f17['BaseFieldType'][_0x40f567(0x3f2)]&&typeof _0x1f2522=='object'){let _0x5a19f8=_0x1f2522;return[_0x5a19f8['text'],_0x5a19f8[_0x40f567(0x156)]][_0x40f567(0x25e)](_0x2efbcd=>_0x2efbcd==null||String(_0x2efbcd)['trim']()==='');}return!0x1;}function _0x21fcdf(_0x4d5b5c,_0x1b6127){let _0x33ff0c=[];for(let _0x3e9089 of _0x1b6127){let _0x10a007=_0x1ebeb7(_0x4d5b5c,_0x3e9089);_0x10a007!=null&&_0x33ff0c['push'](_0x10a007);}return _0x33ff0c;}function _0x1ebeb7(_0x526c50,_0x16129d){const _0x250118=_0x5b4d61;if(typeof _0x16129d==_0x250118(0x544))return Number[_0x250118(0x326)](_0x16129d)?_0x16129d:null;if(_0x526c50['type']!==_0x552f17[_0x250118(0x22d)][_0x250118(0x2ef)]&&typeof _0x16129d==_0x250118(0x525)&&_0x16129d[_0x250118(0x104)]()!==''){let _0x1afccd=Number(_0x16129d);return Number[_0x250118(0x326)](_0x1afccd)?_0x1afccd:null;}return null;}function _0x6a388f(_0x25a22a){const _0x2ac533=_0x5b4d61;let _0x4351e9=0x0,_0x189e99=0x0;for(let _0x54b0dc of _0x25a22a){let _0xe53779=_0x4351e9+_0x54b0dc;_0x189e99+=Math[_0x2ac533(0x45f)](_0x4351e9)>=Math[_0x2ac533(0x45f)](_0x54b0dc)?_0x4351e9-_0xe53779+_0x54b0dc:_0x54b0dc-_0xe53779+_0x4351e9,_0x4351e9=_0xe53779;}return _0x4351e9+_0x189e99;}function _0x4862a6(_0x2f7ae1,_0x4e2646){const _0x2ba4ec=_0x5b4d61;return _0x21f151[_0x2ba4ec(0x1d8)](_0x2f7ae1['type'])&&Array[_0x2ba4ec(0x3bc)](_0x4e2646)?_0x5968d1([...new Set(_0x4e2646[_0x2ba4ec(0x3ab)](_0x28a4d5=>_0x5968d1(_0x4bef51(_0x28a4d5))))][_0x2ba4ec(0x3c2)]()):_0x5968d1(_0x4bef51(_0x4e2646));}function _0x4bef51(_0x3013a9){const _0x2efa05=_0x5b4d61;return Array[_0x2efa05(0x3bc)](_0x3013a9)?_0x3013a9[_0x2efa05(0x3ab)](_0x4bef51):_0x3013a9&&typeof _0x3013a9=='object'?Object[_0x2efa05(0x1b2)](Object[_0x2efa05(0x21f)](_0x3013a9)[_0x2efa05(0x3c2)](([_0x158454],[_0x2c315a])=>_0x158454['localeCompare'](_0x2c315a))[_0x2efa05(0x3ab)](([_0x580702,_0x2a8860])=>[_0x580702,_0x4bef51(_0x2a8860)])):_0x3013a9;}function _0x5968d1(_0x58d9d3){const _0x3d61b3=_0x5b4d61;return JSON[_0x3d61b3(0x306)](_0x58d9d3)??_0x3d61b3(0x318);}function _0x10b5fd(_0x7cbc7e){const _0xf66d4d=_0x5b4d61;if(typeof _0x7cbc7e==_0xf66d4d(0x525))return _0x7cbc7e[_0xf66d4d(0x104)]()!=='';if(!_0x7cbc7e||typeof _0x7cbc7e!=_0xf66d4d(0x434))return!0x1;let _0x47d8b9=_0x7cbc7e;return[_0x47d8b9['id'],_0x47d8b9[_0xf66d4d(0x288)],_0x47d8b9[_0xf66d4d(0x364)],_0x47d8b9[_0xf66d4d(0x156)],_0x47d8b9['thumbnail']][_0xf66d4d(0x166)](_0x2d2d4d=>_0x2d2d4d!=null&&String(_0x2d2d4d)['trim']()!=='');}function _0x435da3(_0x37844f){const _0x1c6ece=_0x5b4d61;let _0x190b74=_0x500867(_0x37844f['config']);return{'decimalPlaces':_0x5696e1(_0x190b74[_0x1c6ece(0x132)],0x0,0x14,0x2),'separatorStyle':typeof _0x190b74[_0x1c6ece(0x212)]=='string'?_0x190b74[_0x1c6ece(0x212)]:_0x1c6ece(0x3fc),'locale':typeof _0x190b74[_0x1c6ece(0x2a7)]==_0x1c6ece(0x525)?_0x190b74['locale']:void 0x0,'useThousands':_0x190b74[_0x1c6ece(0x114)]!==!0x1,'abbreviation':typeof _0x190b74['abbreviation']==_0x1c6ece(0x525)?_0x190b74['abbreviation']:_0x1c6ece(0x3c8)};}function _0x3d1aa2(_0x695554){const _0x20a598=_0x5b4d61;let _0x185d7d=_0x500867(_0x695554[_0x20a598(0x340)]);return{..._0x435da3(_0x695554),'currencySymbol':String(_0x185d7d[_0x20a598(0x532)]??'$')};}function _0x31d1f6(_0x19103f,_0x494eeb){let _0x2734e1=_0x4350c4(_0x494eeb);if(_0x2734e1===_0x406052)return _0x332cdf(_0x19103f);try{return String(_0x552f17['numfmt']['format'](_0x2734e1,_0x19103f,{'throws':!0x1}));}catch{return _0x332cdf(_0x19103f);}}function _0x55e7b1(_0x47123f){const _0x15d932=_0x5b4d61;let _0x5c9106=_0x500867(_0x500867(_0x47123f['config'])['numfmt']);return typeof _0x5c9106[_0x15d932(0x4cd)]==_0x15d932(0x525)?_0x5c9106['type']:_0x15d932(0x405);}function _0x4350c4(_0x555e7c){const _0x226ac9=_0x5b4d61;let _0x20a8b2=_0x500867(_0x500867(_0x555e7c['config'])['numfmt']);return String(_0x20a8b2['pattern']??_0x406052)[_0x226ac9(0x104)]()||_0x406052;}function _0x332cdf(_0x55345c){const _0x4a4fc6=_0x5b4d61;return String(Number[_0x4a4fc6(0x2ff)](_0x55345c)?_0x55345c:Math[_0x4a4fc6(0x325)]((_0x55345c+0x2**-0x34)*0x64)/0x64);}function _0x500867(_0x2b5f58){const _0x4a77e1=_0x5b4d61;return _0x2b5f58&&typeof _0x2b5f58==_0x4a77e1(0x434)&&!Array['isArray'](_0x2b5f58)?_0x2b5f58:{};}function _0x563ae3(_0xa4bdf1){if(_0xa4bdf1==null||_0xa4bdf1==='')return null;let _0x2a4819=typeof _0xa4bdf1=='number'?_0xa4bdf1:Number(_0xa4bdf1);return Number['isFinite'](_0x2a4819)?_0x2a4819:null;}function _0x5696e1(_0x3bccbd,_0x4491aa,_0x14d929,_0x2a5774){const _0x563d8b=_0x5b4d61;let _0x13d9ba=_0x563ae3(_0x3bccbd);return _0x13d9ba==null?_0x2a5774:Math['max'](_0x4491aa,Math[_0x563d8b(0x3b5)](_0x14d929,Math[_0x563d8b(0x325)](_0x13d9ba)));}function _0x455ae9(_0x140a9c,_0x3c6372){const _0x57f242=_0x5b4d61;let _0x10911f=_0x552f17[_0x57f242(0x395)][_0x57f242(0x4bf)](_0x140a9c),_0x2a948b=_0x3c6372[_0x57f242(0x553)]===!0x0,_0x338c23=new Map(),_0x31b2cd=_0x3c6372[_0x57f242(0x35e)]??(()=>_0x57f242(0x137)+(0x0,_0x552f17[_0x57f242(0x32e)])(0x8)),_0x883b23=_0x10911f[_0x57f242(0x4ef)];return _0x3c6372['regenerateViewIds']&&(_0x883b23=_0x10911f['viewOrder']['map'](_0x3e763c=>{const _0xa199e5=_0x57f242;let _0x34bb82=_0x31b2cd();return _0x338c23[_0xa199e5(0x3e9)](_0x3e763c,_0x34bb82),_0x34bb82;})),{..._0x10911f,'id':_0x3c6372['id'],'name':_0x3c6372[_0x57f242(0x288)],'records':_0x2a948b?_0x10911f[_0x57f242(0x29e)]:{},'recordOrder':_0x2a948b?_0x10911f[_0x57f242(0x52a)]:[],'rowIndex':_0x2a948b?_0x10911f[_0x57f242(0x1a0)]:{},'rowId':_0x2a948b?_0x10911f['rowId']:{},'cellData':_0x2a948b?_0x10911f[_0x57f242(0x4af)]:{},'resources':_0x2a948b?_0x10911f[_0x57f242(0x336)]:{},'viewOrder':_0x883b23,'views':Object[_0x57f242(0x1b2)](Object[_0x57f242(0x21f)](_0x10911f['views']??{})[_0x57f242(0x3ab)](([_0x1192bf,_0x2fea09])=>{const _0x27546e=_0x57f242;let _0x5e1985=_0x338c23[_0x27546e(0x3a4)](_0x1192bf)??(_0x3c6372[_0x27546e(0x4a4)]?_0x31b2cd():_0x1192bf);return[_0x5e1985,{..._0x2fea09,'id':_0x5e1985,'tableId':_0x3c6372['id']}];}))};}var _0x470515=_0x5b4d61(0x35d),_0x359982=_0x5b4d61(0x276);let _0x36f683={};function _0x5b879f(_0x206ac2){const _0x252165=_0x5b4d61;return new _0x600fcd()[_0x252165(0x529)](_0x206ac2);}function _0x47c237(_0x46b23f){const _0x8a4c08=_0x5b4d61;return _0x46b23f[_0x8a4c08(0x3cc)][_0x8a4c08(0x3ab)](_0x104276=>({'unitId':_0x46b23f[_0x8a4c08(0x36f)],'sheetId':_0x46b23f[_0x8a4c08(0x111)],'range':{'startRow':_0x104276[_0x8a4c08(0x4d6)],'endRow':_0x104276[_0x8a4c08(0x4d6)],'startColumn':_0x104276['col'],'endColumn':_0x104276[_0x8a4c08(0x1a1)]}}));}function _0x493bd0(_0x2433f0,_0x3934cc){const _0x1aabdc=_0x5b4d61;return{[_0x2433f0]:Object[_0x1aabdc(0x1b2)](_0x3934cc[_0x1aabdc(0x3ab)](_0x14d633=>[_0x14d633,'1']))};}let _0x41791a=class extends _0x552f17['Disposable']{constructor(_0x31b9f0,_0x382e59){const _0x116ce1=_0x5b4d61;super(),this[_0x116ce1(0x3f8)]=_0x31b9f0,this[_0x116ce1(0x1ee)]=_0x382e59,this[_0x116ce1(0x129)]();}[_0x5b4d61(0x129)](){const _0x24d4cb=_0x5b4d61;this['_activeDirtyManagerService'][_0x24d4cb(0x30f)](_0x489c96['id'],{'commandId':_0x489c96['id'],'getDirtyData':_0x3cf7bd=>this[_0x24d4cb(0x1d9)](_0x3cf7bd[_0x24d4cb(0x48c)])}),this[_0x24d4cb(0x313)]((0x0,_0x552f17[_0x24d4cb(0x404)])(()=>{const _0x4fdc31=_0x24d4cb;this['_activeDirtyManagerService'][_0x4fdc31(0x225)](_0x489c96['id']);}));}[_0x5b4d61(0x42b)](_0x5e14bf,_0x3e67c8){const _0x5753dd=_0x5b4d61;let _0x4b3703=this['_univerInstanceService'][_0x5753dd(0x259)](_0x5e14bf,_0x552f17[_0x5753dd(0x349)][_0x5753dd(0x1e2)]);return(_0x4b3703==null?void 0x0:_0x4b3703[_0x5753dd(0x157)]()[_0x5753dd(0x1e1)][_0x3e67c8])??null;}[_0x5b4d61(0x1d9)](_0x3fb871){const _0x5150aa=_0x5b4d61;if(_0x3fb871[_0x5150aa(0x43f)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x3fb871[_0x5150aa(0x36f)]||!_0x3fb871['op'])return{'clearDependencyTreeCache':this[_0x5150aa(0x39d)](),'forceCalculation':!0x0};let _0x37c61b=_0x5b879f(_0x3fb871['op']),_0x2c21d1=this[_0x5150aa(0x21b)](_0x3fb871[_0x5150aa(0x36f)],_0x37c61b);if(_0x2c21d1[_0x5150aa(0x46a)])return{'clearDependencyTreeCache':_0x493bd0(_0x3fb871[_0x5150aa(0x36f)],_0x2c21d1),'forceCalculation':!0x0};let _0x72df3e=Object[_0x5150aa(0x21f)](this[_0x5150aa(0x3e4)](_0x3fb871['unitId'],_0x37c61b))[_0x5150aa(0x4a0)](([_0x5a6da7,_0x5335fc])=>_0x47c237({'unitId':_0x3fb871[_0x5150aa(0x36f)],'tableId':_0x5a6da7,'patches':_0x5335fc}));return _0x72df3e['length']?{'dirtyRanges':_0x72df3e}:{};}['_getStructureDirtyTableIds'](_0xff4998,_0x5906ed){const _0x11561f=_0x5b4d61;let _0x3bb328=_0x5906ed[_0x11561f(0x30a)](_0x3a3f3f=>_0x3a3f3f['reason']!==_0x11561f(0x164))[_0x11561f(0x4a0)](_0x3f4e38=>_0x3f4e38[_0x11561f(0x111)]?[_0x3f4e38['tableId']]:this[_0x11561f(0x408)](_0xff4998));return Array[_0x11561f(0x1c0)](new Set(_0x3bb328));}[_0x5b4d61(0x3e4)](_0x6873e2,_0x2242dd){const _0xc9b81=_0x5b4d61;let _0x1917dd=new Set();return _0x2242dd[_0xc9b81(0x38e)]((_0x1aa9e7,_0x5c215b)=>{const _0x1b8772=_0xc9b81;let _0x4e1cc3=this[_0x1b8772(0x12b)](_0x6873e2,_0x5c215b);if(!_0x4e1cc3)return _0x1aa9e7;let _0x31c590=_0x5c215b[_0x1b8772(0x111)]+':'+_0x4e1cc3['row']+':'+_0x4e1cc3[_0x1b8772(0x1a1)];return _0x1917dd[_0x1b8772(0x1d8)](_0x31c590)||(_0x1917dd[_0x1b8772(0x112)](_0x31c590),_0x1aa9e7[_0x5c215b[_0x1b8772(0x111)]]=_0x1aa9e7[_0x5c215b[_0x1b8772(0x111)]]??[],_0x1aa9e7[_0x5c215b[_0x1b8772(0x111)]][_0x1b8772(0x36c)](_0x4e1cc3)),_0x1aa9e7;},{});}[_0x5b4d61(0x12b)](_0x5ae50d,_0x17cc47){const _0xb327f4=_0x5b4d61;if(_0x17cc47[_0xb327f4(0x4bb)]!=='cell')return null;if(_0x17cc47[_0xb327f4(0x4d6)]!=null&&_0x17cc47[_0xb327f4(0x44b)]!=null)return{'row':_0x17cc47['row'],'col':_0x17cc47['column'],'value':null};if(!_0x17cc47[_0xb327f4(0x504)]||!_0x17cc47['fieldId'])return null;let _0x474f63=this[_0xb327f4(0x42b)](_0x5ae50d,_0x17cc47[_0xb327f4(0x111)]);if(!_0x474f63)return null;let _0xa1c213=_0x201682(_0x474f63,_0x17cc47[_0xb327f4(0x504)],_0x17cc47[_0xb327f4(0x400)]);return _0xa1c213?{'row':_0xa1c213[_0xb327f4(0x4d6)],'col':_0xa1c213['col'],'value':null}:null;}[_0x5b4d61(0x408)](_0x351595){const _0x9d258d=_0x5b4d61;let _0x55c22f=this[_0x9d258d(0x1ee)][_0x9d258d(0x259)](_0x351595,_0x552f17[_0x9d258d(0x349)]['UNIVER_BASE']);return Object[_0x9d258d(0x4d1)]((_0x55c22f==null?void 0x0:_0x55c22f[_0x9d258d(0x157)]()[_0x9d258d(0x1e1)])??{})[_0x9d258d(0x3ab)](_0x10c8fe=>_0x10c8fe['id']);}[_0x5b4d61(0x39d)](){const _0x5102f4=_0x5b4d61;let _0x23f616=this[_0x5102f4(0x1ee)][_0x5102f4(0x3f6)](_0x552f17[_0x5102f4(0x349)]['UNIVER_BASE'])[_0x5102f4(0x3ab)](_0x3d251c=>_0x493bd0(_0x3d251c[_0x5102f4(0x2e7)](),Object[_0x5102f4(0x1bd)](_0x3d251c[_0x5102f4(0x157)]()['tables'])));return Object[_0x5102f4(0x446)]({},..._0x23f616);}};_0x41791a=_0x3a99e3([_0x8293b1(0x0,_0x216287[_0x5b4d61(0x3ed)]),_0x8293b1(0x1,_0x552f17[_0x5b4d61(0x372)])],_0x41791a);let _0x1453a9=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(_0x55444e,_0x5e27f8,_0x428a92,_0x173a35){const _0x3ece76=_0x5b4d61;super(),this[_0x3ece76(0x277)]=_0x55444e,this[_0x3ece76(0x1ee)]=_0x5e27f8,this[_0x3ece76(0x2cc)]=_0x428a92,this['_formulaCalculationSessionService']=_0x173a35,_0x53a461(this,_0x3ece76(0x12e),new _0x328073()),_0x53a461(this,_0x3ece76(0x23a),new Map()),_0x53a461(this,_0x3ece76(0x16c),new Set()),_0x53a461(this,_0x3ece76(0x3c9),Promise[_0x3ece76(0x10c)]()),_0x53a461(this,_0x3ece76(0x534),!0x1),this['_initialize']();}[_0x5b4d61(0x129)](){const _0x506b55=_0x5b4d61;this[_0x506b55(0x1ee)][_0x506b55(0x3f6)](_0x552f17[_0x506b55(0x349)][_0x506b55(0x1e2)])[_0x506b55(0x116)](_0x39de28=>{const _0xb6f26b=_0x506b55;this[_0xb6f26b(0x530)](_0x39de28);}),this[_0x506b55(0x313)](this[_0x506b55(0x1ee)]['getTypeOfUnitAdded$'](_0x552f17[_0x506b55(0x349)][_0x506b55(0x1e2)])['subscribe'](({unit:_0x326571})=>{const _0x2c2ee7=_0x506b55;this[_0x2c2ee7(0x530)](_0x326571);})),this[_0x506b55(0x313)](this[_0x506b55(0x1ee)]['getTypeOfUnitDisposed$'](_0x552f17[_0x506b55(0x349)]['UNIVER_BASE'])[_0x506b55(0x189)](_0x5b68cb=>{const _0x15549b=_0x506b55;this[_0x15549b(0x51f)](()=>this[_0x15549b(0x278)](_0x5b68cb['getUnitId']()));})),this['disposeWithMe'](this[_0x506b55(0x277)][_0x506b55(0x180)](_0x291abb=>this[_0x506b55(0x4c4)](_0x291abb)));}[_0x5b4d61(0x4c4)](_0x5b5dab){const _0x5493b1=_0x5b4d61;if(_0x5b5dab['id']===_0x216287[_0x5493b1(0x45d)]['id']){_0x49f8b5(_0x5b5dab[_0x5493b1(0x48c)])&&this['_applyFormulaResult'](_0x5b5dab['params']);return;}if(this[_0x5493b1(0x534)]||_0x5b5dab['id']!==_0x489c96['id'])return;let _0x23be80=_0x194367(_0x5b5dab[_0x5493b1(0x48c)])?_0x5b5dab[_0x5493b1(0x48c)]:void 0x0,_0x1b4a16=_0x23be80!=null&&_0x23be80['unitId']?[this[_0x5493b1(0x1ee)][_0x5493b1(0x259)](_0x23be80[_0x5493b1(0x36f)],_0x552f17[_0x5493b1(0x349)][_0x5493b1(0x1e2)])][_0x5493b1(0x30a)](_0xe18500=>!!_0xe18500):this[_0x5493b1(0x1ee)][_0x5493b1(0x3f6)](_0x552f17[_0x5493b1(0x349)][_0x5493b1(0x1e2)]),_0x2bb132=_0x23be80==null?void 0x0:_0x23be80['op'];_0x1b4a16[_0x5493b1(0x116)](_0x47c1ee=>{const _0x1853e7=_0x5493b1;let _0x1c1f5a=_0x2bb132?_0x5b879f(_0x2bb132):[];(!_0x2bb132||_0x1c1f5a[_0x1853e7(0x166)](_0x1236c4=>_0x1236c4[_0x1853e7(0x4bb)]!==_0x1853e7(0x164)))&&this[_0x1853e7(0x530)](_0x47c1ee);});}[_0x5b4d61(0x530)](_0x16e831){const _0x162905=_0x5b4d61;let _0x169cfe=_0x16e831[_0x162905(0x2e7)]();this[_0x162905(0x16c)][_0x162905(0x1d8)](_0x169cfe)||(this['_scheduledSuperTableSyncs']['add'](_0x169cfe),this[_0x162905(0x51f)](async()=>{const _0x52f0bf=_0x162905;this[_0x52f0bf(0x16c)]['delete'](_0x169cfe),await this[_0x52f0bf(0x280)](_0x16e831);}));}async['_syncSuperTables'](_0x3f86bd){const _0x5a5c02=_0x5b4d61;let _0x3c667d=_0x3f86bd[_0x5a5c02(0x2e7)](),_0x4ffb89=this[_0x5a5c02(0x12e)][_0x5a5c02(0x4fe)](_0x3f86bd[_0x5a5c02(0x157)]()),_0x39f02a=new Set(_0x4ffb89[_0x5a5c02(0x3ab)](({tableName:_0x3b05b8})=>_0x3b05b8)),_0xea7a0a=this[_0x5a5c02(0x23a)][_0x5a5c02(0x3a4)](_0x3c667d)??new Set();for(let _0x3fa43a of _0xea7a0a)if(!_0x39f02a['has'](_0x3fa43a)&&!await this['_executeSuperTableMutationWhileActive'](_0x216287[_0x5a5c02(0x422)]['id'],{'unitId':_0x3c667d,'tableName':_0x3fa43a}))return;for(let {tableName:_0x5ad29c,reference:_0x4d2d2f}of _0x4ffb89)if(!await this[_0x5a5c02(0x1e3)](_0x216287[_0x5a5c02(0x42f)]['id'],{'unitId':_0x3c667d,'tableName':_0x5ad29c,'reference':_0x4d2d2f}))return;this[_0x5a5c02(0x23a)]['set'](_0x3c667d,_0x39f02a);}async[_0x5b4d61(0x278)](_0x2f4b5d){const _0x1c1c62=_0x5b4d61;let _0xaba37e=this[_0x1c1c62(0x23a)][_0x1c1c62(0x3a4)](_0x2f4b5d)??new Set();for(let _0x552716 of _0xaba37e)if(!await this['_executeSuperTableMutationWhileActive'](_0x216287[_0x1c1c62(0x422)]['id'],{'unitId':_0x2f4b5d,'tableName':_0x552716}))return;this[_0x1c1c62(0x23a)]['delete'](_0x2f4b5d);}async['_executeSuperTableMutationWhileActive'](_0x4eaedf,_0x4c509c){const _0x31241e=_0x5b4d61;return!this[_0x31241e(0x115)]&&await this[_0x31241e(0x277)][_0x31241e(0x44a)](_0x4eaedf,_0x4c509c,{'onlyLocal':!0x0})&&!this['_disposed'];}[_0x5b4d61(0x51f)](_0x2cc8b4){const _0x16ccbd=_0x5b4d61;this[_0x16ccbd(0x3c9)]=this[_0x16ccbd(0x3c9)][_0x16ccbd(0x312)](_0x2cc8b4,_0x2cc8b4)['catch'](()=>void 0x0);}[_0x5b4d61(0x3ee)](_0x331c25){const _0x4cd1ea=_0x5b4d61;let _0x42ce61=this[_0x4cd1ea(0x1ee)][_0x4cd1ea(0x3f6)](_0x552f17[_0x4cd1ea(0x349)][_0x4cd1ea(0x1e2)]);if(!_0x42ce61[_0x4cd1ea(0x166)](_0xa41ee2=>{const _0x240b9d=_0x4cd1ea;var _0x2bcca6;return((_0x2bcca6=_0x331c25[_0x240b9d(0x32a)])==null?void 0x0:_0x2bcca6[_0xa41ee2[_0x240b9d(0x2e7)]()])!=null;}))return;let _0x1b90f8=_0x42ce61[_0x4cd1ea(0x4a0)](_0x48692b=>_0x2b2cc4(_0x48692b[_0x4cd1ea(0x157)](),_0x331c25));if(!_0x1b90f8[_0x4cd1ea(0x46a)]){this[_0x4cd1ea(0x227)]['markResultApplied'](_0x5acaf7[_0x4cd1ea(0xfd)][_0x4cd1ea(0x1a9)],_0x331c25);return;}let _0x3cc590=new _0x1b9aeb(),_0x149f4c=_0x1b90f8[_0x4cd1ea(0x4a0)](_0x2617cb=>_0x47c237({'unitId':_0x2617cb[_0x4cd1ea(0x36f)],'tableId':_0x2617cb[_0x4cd1ea(0x111)],'patches':_0x2617cb['patches']}));this[_0x4cd1ea(0x534)]=!0x0,(async()=>{const _0x5c8a6c=_0x4cd1ea;for(let _0x46090f of _0x1b90f8){let _0x2ea76d=this[_0x5c8a6c(0x1ee)]['getUnit'](_0x46090f[_0x5c8a6c(0x36f)],_0x552f17[_0x5c8a6c(0x349)][_0x5c8a6c(0x1e2)]);_0x2ea76d&&await this[_0x5c8a6c(0x277)][_0x5c8a6c(0x44a)](_0x489c96['id'],{'unitId':_0x46090f['unitId'],'op':_0x3cc590[_0x5c8a6c(0x20c)](_0x2ea76d[_0x5c8a6c(0x157)](),_0x46090f[_0x5c8a6c(0x111)],_0x46090f['patches']),'trigger':_0x216287[_0x5c8a6c(0x45d)]['id']},{'onlyLocal':!0x0});}await this[_0x5c8a6c(0x277)][_0x5c8a6c(0x44a)](_0x216287[_0x5c8a6c(0x41e)]['id'],{'dirtyRanges':_0x149f4c},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x45829c=_0x4cd1ea;this[_0x45829c(0x534)]=!0x1,this['_formulaCalculationSessionService'][_0x45829c(0x41d)](_0x5acaf7['FormulaResultApplicationType']['BASE'],_0x331c25);});}};_0x1453a9=_0x3a99e3([_0x8293b1(0x0,_0x552f17[_0x5b4d61(0xf5)]),_0x8293b1(0x1,_0x552f17[_0x5b4d61(0x372)]),_0x8293b1(0x2,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x216287[_0x5b4d61(0x101)])),_0x8293b1(0x3,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x5acaf7[_0x5b4d61(0x36d)]))],_0x1453a9);function _0x194367(_0xdbda7e){const _0xec080e=_0x5b4d61;return typeof _0xdbda7e==_0xec080e(0x434)&&!!_0xdbda7e&&_0xec080e(0x36f)in _0xdbda7e&&typeof _0xdbda7e[_0xec080e(0x36f)]=='string'&&'op'in _0xdbda7e&&Array[_0xec080e(0x3bc)](_0xdbda7e['op']);}function _0x49f8b5(_0x21c896){const _0x321cf6=_0x5b4d61;return typeof _0x21c896=='object'&&!!_0x21c896&&'unitData'in _0x21c896&&_0x321cf6(0x17e)in _0x21c896;}let _0x21ae0d=new Set([_0x5464be['id'],_0x534f96['id'],_0x298d7b['id']]),_0x3787e1=class extends _0x552f17['Disposable']{constructor(_0x33b411,_0x3a5e95,_0x41a87e,_0x5c5123){const _0x325c29=_0x5b4d61;super(),this['_injector']=_0x33b411,this[_0x325c29(0x277)]=_0x3a5e95,this[_0x325c29(0x289)]=_0x41a87e,this['_instanceService']=_0x5c5123,this[_0x325c29(0x47f)][_0x325c29(0x3f6)](_0x552f17[_0x325c29(0x349)]['UNIVER_BASE'])[_0x325c29(0x116)](_0x38ec8b=>this[_0x325c29(0x497)](_0x38ec8b[_0x325c29(0x2e7)]())),this[_0x325c29(0x313)](this['_instanceService'][_0x325c29(0x210)](_0x552f17[_0x325c29(0x349)][_0x325c29(0x1e2)])['subscribe'](({unit:_0x249ed4})=>this['_registerUnitPermissionPoints'](_0x249ed4[_0x325c29(0x2e7)]()))),this['disposeWithMe'](this[_0x325c29(0x277)][_0x325c29(0x279)]((_0x2108dc,_0xe4de07)=>this[_0x325c29(0x37a)](_0x2108dc,_0xe4de07))),this[_0x325c29(0x313)](this[_0x325c29(0x47f)]['getTypeOfUnitDisposed$'](_0x552f17['UniverInstanceType'][_0x325c29(0x1e2)])[_0x325c29(0x189)](_0x2933d7=>{const _0x2f7fac=_0x325c29;this['_injector'][_0x2f7fac(0x3a4)](_0x552f17[_0x2f7fac(0x1cf)])[_0x2f7fac(0x29d)](_0x2933d7[_0x2f7fac(0x2e7)]()),_0x333239(this['_permissionService'],_0x2933d7[_0x2f7fac(0x2e7)]());}));}['_registerUnitPermissionPoints'](_0x554542){const _0xacf83a=_0x5b4d61;_0x5a9423['forEach'](_0x187b70=>{const _0x28b584=_0x152e;let _0x55e304=_0x23ad78(_0x554542,_0x554542,_0x187b70);this[_0x28b584(0x289)][_0x28b584(0x217)](_0x55e304['id'])||this[_0x28b584(0x289)][_0x28b584(0x3e2)](_0x55e304);}),this[_0xacf83a(0x358)][_0xacf83a(0x3a4)](_0x552f17['ObjectPermissionService'])[_0xacf83a(0x34e)]({'unitId':_0x554542,'objectId':_0x554542,'objectType':_0x4b2dcb[_0xacf83a(0x2af)][_0xacf83a(0x3c6)]});}['_check'](_0x461b48,_0x527a5a){const _0x4c053a=_0x5b4d61;var _0x56155a;if(_0x527a5a!=null&&_0x527a5a[_0x4c053a(0x4c0)]||_0x527a5a!=null&&_0x527a5a[_0x4c053a(0x3dd)])return;let _0x151635=_0x2b69b6(_0x461b48[_0x4c053a(0x48c)])?_0x461b48['params']:void 0x0;if(_0x527a5a!=null&&_0x527a5a[_0x4c053a(0x421)]&&_0x461b48['id']===_0x4c053a(0x3d6)&&(_0x151635==null?void 0x0:_0x151635[_0x4c053a(0x43f)])===_0x216287[_0x4c053a(0x45d)]['id'])return;let _0xdca053=_0x4e4ea0(_0x461b48['id']),_0x1596d4=_0x1ac4bf(_0x151635==null?void 0x0:_0x151635[_0x4c053a(0x36f)],_0x527a5a)??(_0xdca053?(_0x56155a=this['_instanceService'][_0x4c053a(0x490)](_0x552f17[_0x4c053a(0x349)][_0x4c053a(0x1e2)]))==null?void 0x0:_0x56155a[_0x4c053a(0x2e7)]():void 0x0);if(!_0x1596d4||this[_0x4c053a(0x47f)]['getUnitType'](_0x1596d4)!==_0x552f17[_0x4c053a(0x349)][_0x4c053a(0x1e2)])return;if(_0xdca053){if(!_0x25ff75(this[_0x4c053a(0x289)],_0x1596d4,_0x1596d4,_0xdca053))throw this['_injector']['get'](_0x552f17[_0x4c053a(0x526)])[_0x4c053a(0x3a2)](_0x1596d4),new _0x552f17[(_0x4c053a(0x1f3))](_0x4c053a(0x49c)+_0x4b2dcb['UnitAction'][_0xdca053]+_0x4c053a(0x432));return;}if(_0x21ae0d[_0x4c053a(0x1d8)](_0x461b48['id'])||!_0x461b48['id'][_0x4c053a(0x10a)](_0x4c053a(0x46e))&&!_0x461b48['id'][_0x4c053a(0x10a)](_0x4c053a(0x204)))return;let _0x48bc1c=this[_0x4c053a(0x47f)][_0x4c053a(0x259)](_0x1596d4,_0x552f17[_0x4c053a(0x349)][_0x4c053a(0x1e2)]),_0x12acda=_0x48bc1c?_0x2c6009(_0x48bc1c,_0x151635??{},_0x461b48['id']):[];if(!_0x48bc1c||!_0x2bb373(this[_0x4c053a(0x289)],_0x1596d4,_0x12acda))throw this[_0x4c053a(0x358)][_0x4c053a(0x3a4)](_0x552f17[_0x4c053a(0x526)])['emitPermissionDenied'](_0x1596d4,_0x12acda),new _0x552f17[(_0x4c053a(0x1f3))](_0x4c053a(0x2b2));}};_0x3787e1=_0x3a99e3([_0x8293b1(0x0,(0x0,_0x552f17['Inject'])(_0x552f17[_0x5b4d61(0x491)])),_0x8293b1(0x1,_0x552f17[_0x5b4d61(0xf5)]),_0x8293b1(0x2,_0x552f17[_0x5b4d61(0x267)]),_0x8293b1(0x3,_0x552f17['IUniverInstanceService'])],_0x3787e1);function _0x1ac4bf(_0x506270,_0x293bef){const _0x5202be=_0x5b4d61;return typeof _0x506270==_0x5202be(0x525)?_0x506270:typeof(_0x293bef==null?void 0x0:_0x293bef[_0x5202be(0x36f)])=='string'?_0x293bef[_0x5202be(0x36f)]:void 0x0;}function _0x4e4ea0(_0x37540c){const _0x108509=_0x5b4d61;if(_0x37540c===_0x108509(0x4c8)||_0x37540c==='bases-exchange-client.operation.export-base-by-format')return _0x4b2dcb[_0x108509(0x370)]['Export'];if(_0x37540c[_0x108509(0x10a)]('thread-comment.command.')||_0x37540c[_0x108509(0x10a)]('thread-comment.mutation.'))return _0x4b2dcb[_0x108509(0x370)][_0x108509(0x419)];}function _0x2c6009(_0xf4da6,_0x522755,_0x2f959c){const _0x28d30b=_0x5b4d61;if(_0x2f959c===_0x28d30b(0x3d6)&&_0x1435b0(_0x522755['op']))return _0x19b978(_0xf4da6,_0x522755['op']);let _0xb09c80=new Set(),_0xec9820=_0xecac12(_0x522755,_0x28d30b(0x481)),_0x1d24ff=typeof _0x522755[_0x28d30b(0x111)]==_0x28d30b(0x525)?_0x522755['tableId']:_0xec9820[0x0];if(_0xec9820['forEach'](_0x35a049=>_0xb09c80[_0x28d30b(0x112)](_0x4da25b(_0x35a049))),!_0x1d24ff)return[..._0xb09c80];let _0x19b033=_0xf4da6[_0x28d30b(0x157)]()[_0x28d30b(0x1e1)][_0x1d24ff],_0x507e3a=new Set(_0xecac12(_0x522755,'field')),_0x2fbda9=new Set(_0xecac12(_0x522755,_0x28d30b(0x54f))),_0x29b4a8=new Set(_0xecac12(_0x522755,_0x28d30b(0x391)));return _0x5a5cb8(_0x19b033,_0x522755[_0x28d30b(0x3cc)],_0x2fbda9,_0x507e3a),_0x1691ad(_0x522755,_0x507e3a),_0x507e3a['forEach'](_0x3af3aa=>_0xb09c80[_0x28d30b(0x112)](_0x33eab9(_0x1d24ff,_0x3af3aa))),_0x2fbda9['forEach'](_0x173783=>_0xb09c80[_0x28d30b(0x112)](_0x398605(_0x1d24ff,_0x173783))),_0x29b4a8[_0x28d30b(0x116)](_0x1e1dd6=>_0xb09c80['add'](_0x4dab58(_0x1d24ff,_0x1e1dd6))),[..._0xb09c80];}function _0x19b978(_0x1650f1,_0xa932cf){const _0xf03071=_0x5b4d61;let _0x379fbb=_0x1650f1['getSnapshot'](),_0x2a0b7=new _0x600fcd()[_0xf03071(0x529)](_0xa932cf),_0x21767b=_0x44e193(_0xa932cf),_0x2c591b=new Set();return _0x2a0b7['forEach'](_0x289b4d=>{const _0x20af59=_0xf03071;var _0x2778fc,_0x3cc51f;let {tableId:_0x444cc7}=_0x289b4d;if(!_0x444cc7)return;_0x2c591b[_0x20af59(0x112)](_0x4da25b(_0x444cc7));let _0x3140f5=_0x379fbb[_0x20af59(0x1e1)][_0x444cc7],_0x561c75=_0x289b4d[_0x20af59(0x504)]??(_0x289b4d[_0x20af59(0x4d6)]==null||_0x3140f5==null||(_0x2778fc=_0x3140f5['rowId'])==null?void 0x0:_0x2778fc[_0x289b4d[_0x20af59(0x4d6)]]),_0x533850=_0x289b4d['fieldId']??(_0x289b4d[_0x20af59(0x44b)]==null||_0x3140f5==null||(_0x3cc51f=_0x3140f5[_0x20af59(0x43a)])==null?void 0x0:_0x3cc51f[_0x289b4d['column']]);_0x561c75&&_0x2c591b[_0x20af59(0x112)](_0x398605(_0x444cc7,_0x561c75)),_0x533850&&_0x2c591b[_0x20af59(0x112)](_0x33eab9(_0x444cc7,_0x533850)),_0x289b4d[_0x20af59(0x1b8)]&&_0x2c591b[_0x20af59(0x112)](_0x4dab58(_0x444cc7,_0x289b4d[_0x20af59(0x1b8)])),(_0x289b4d[_0x20af59(0x4bb)]===_0x20af59(0x481)||_0x21767b[_0x20af59(0x1d8)](_0x444cc7))&&_0x3140f5&&(Object[_0x20af59(0x1bd)](_0x3140f5['fields'])[_0x20af59(0x116)](_0x437b49=>_0x2c591b[_0x20af59(0x112)](_0x33eab9(_0x444cc7,_0x437b49))),Object[_0x20af59(0x1bd)](_0x3140f5[_0x20af59(0x29e)])[_0x20af59(0x116)](_0x3b0139=>_0x2c591b['add'](_0x398605(_0x444cc7,_0x3b0139))),Object[_0x20af59(0x1bd)](_0x3140f5['views'])[_0x20af59(0x116)](_0xad9b3=>_0x2c591b[_0x20af59(0x112)](_0x4dab58(_0x444cc7,_0xad9b3)))),_0x289b4d[_0x20af59(0x4bb)]===_0x20af59(0x54f)&&_0x3140f5&&Object[_0x20af59(0x1bd)](_0x3140f5[_0x20af59(0x3ec)])[_0x20af59(0x116)](_0x5b7baa=>_0x2c591b[_0x20af59(0x112)](_0x33eab9(_0x444cc7,_0x5b7baa)));}),_0x2a0b7[_0xf03071(0x46a)]===0x0&&_0x2744ef(_0xa932cf,'tableOrder')&&Object[_0xf03071(0x1bd)](_0x379fbb[_0xf03071(0x1e1)])[_0xf03071(0x116)](_0x2a69ca=>_0x2c591b[_0xf03071(0x112)](_0x4da25b(_0x2a69ca))),[..._0x2c591b];}function _0x44e193(_0x139a3b){let _0x23e7ee=new Set(),_0x30c4b6=_0x26940b=>{Array['isArray'](_0x26940b)&&_0x26940b['forEach']((_0x1ed67c,_0x5d7aaa)=>{const _0x4b44f3=_0x152e;_0x1ed67c===_0x4b44f3(0x1e1)&&typeof _0x26940b[_0x5d7aaa+0x1]==_0x4b44f3(0x525)&&_0x3c5b41(_0x26940b[_0x5d7aaa+0x2])&&_0x23e7ee[_0x4b44f3(0x112)](_0x26940b[_0x5d7aaa+0x1]),_0x30c4b6(_0x1ed67c);});};return _0x30c4b6(_0x139a3b),_0x23e7ee;}function _0x3c5b41(_0x205f9c){const _0x4edbb7=_0x5b4d61;return!!_0x205f9c&&typeof _0x205f9c==_0x4edbb7(0x434)&&!Array[_0x4edbb7(0x3bc)](_0x205f9c)&&('i'in _0x205f9c||'r'in _0x205f9c||'p'in _0x205f9c||'d'in _0x205f9c||'es'in _0x205f9c||'ena'in _0x205f9c||'et'in _0x205f9c);}function _0x2744ef(_0x463bd3,_0x581076){const _0xa041f=_0x5b4d61;return Array[_0xa041f(0x3bc)](_0x463bd3)&&_0x463bd3['some'](_0xddb4f7=>_0xddb4f7===_0x581076||_0x2744ef(_0xddb4f7,_0x581076));}function _0xecac12(_0x413434,_0x43ad95){const _0x2da2c1=_0x5b4d61;let _0x16f401=new Set(),_0x213eeb=_0x43ad95+'Id',_0x36c4e2=_0x43ad95+_0x2da2c1(0x16b),_0x43958a=(_0x1e58e8,_0x328aa4='')=>{const _0x32525d=_0x2da2c1;typeof _0x1e58e8=='string'?_0x328aa4===_0x213eeb&&_0x16f401['add'](_0x1e58e8):Array[_0x32525d(0x3bc)](_0x1e58e8)?_0x328aa4===_0x36c4e2?_0x1e58e8[_0x32525d(0x116)](_0xaa3321=>{const _0x46e31d=_0x32525d;typeof _0xaa3321==_0x46e31d(0x525)&&_0x16f401[_0x46e31d(0x112)](_0xaa3321);}):_0x1e58e8[_0x32525d(0x116)](_0x3278de=>_0x43958a(_0x3278de,_0x328aa4)):_0x2b69b6(_0x1e58e8)&&Object[_0x32525d(0x21f)](_0x1e58e8)[_0x32525d(0x116)](([_0x56904f,_0xdee4b3])=>{const _0x19fdfd=_0x32525d;_0x56904f==='id'&&_0x328aa4===_0x43ad95&&typeof _0xdee4b3==_0x19fdfd(0x525)?_0x16f401[_0x19fdfd(0x112)](_0xdee4b3):_0x43958a(_0xdee4b3,_0x56904f);});};return _0x43958a(_0x413434),[..._0x16f401];}function _0x5a5cb8(_0x377175,_0x2435a3,_0x188f42,_0x29a658){const _0x114306=_0x5b4d61;_0x377175&&Array['isArray'](_0x2435a3)&&_0x2435a3[_0x114306(0x116)](_0x378b3d=>{const _0x581304=_0x114306;if(!_0x2b69b6(_0x378b3d))return;let _0x2b4064=_0x378b3d;if(typeof _0x2b4064[_0x581304(0x4d6)]=='number'){var _0x3f7ab7;let _0x5ea835=(_0x3f7ab7=_0x377175[_0x581304(0x219)])==null?void 0x0:_0x3f7ab7[_0x2b4064[_0x581304(0x4d6)]];_0x5ea835&&_0x188f42['add'](_0x5ea835);}if(typeof _0x2b4064[_0x581304(0x1a1)]==_0x581304(0x544)){var _0xb7c456;let _0x2f0797=(_0xb7c456=_0x377175[_0x581304(0x43a)])==null?void 0x0:_0xb7c456[_0x2b4064[_0x581304(0x1a1)]];_0x2f0797&&_0x29a658[_0x581304(0x112)](_0x2f0797);}});}function _0x1691ad(_0x20a48e,_0x2f4262,_0x25bed6=''){const _0x4f7d9c=_0x5b4d61;_0x20a48e&&typeof _0x20a48e==_0x4f7d9c(0x434)&&(Array[_0x4f7d9c(0x3bc)](_0x20a48e)?_0x20a48e['forEach'](_0x4762dd=>_0x1691ad(_0x4762dd,_0x2f4262,_0x25bed6)):_0x2b69b6(_0x20a48e)&&Object['entries'](_0x20a48e)[_0x4f7d9c(0x116)](([_0xd61a12,_0x1ecaa0])=>{const _0x46ab37=_0x4f7d9c;_0x25bed6===_0x46ab37(0x4d1)&&_0x2f4262[_0x46ab37(0x112)](_0xd61a12),_0x1691ad(_0x1ecaa0,_0x2f4262,_0xd61a12);}));}function _0x1435b0(_0x230fdd){const _0x20a16f=_0x5b4d61;return Array[_0x20a16f(0x3bc)](_0x230fdd);}function _0x2b69b6(_0x3da0c3){const _0xfb34d1=_0x5b4d61;return typeof _0x3da0c3==_0xfb34d1(0x434)&&!!_0x3da0c3&&!Array['isArray'](_0x3da0c3);}let _0x17f4c1=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x512)),_0x52adae=class{constructor(_0xfd4e53){const _0x4805d7=_0x5b4d61;this[_0x4805d7(0x1ee)]=_0xfd4e53;}[_0x5b4d61(0x440)](_0x339f00){const _0x54d736=_0x5b4d61;return this[_0x54d736(0x1ee)]['getUnit'](_0x339f00,_0x552f17[_0x54d736(0x349)][_0x54d736(0x1e2)])??null;}[_0x5b4d61(0x2bc)](){const _0x454134=_0x5b4d61;return this[_0x454134(0x1ee)][_0x454134(0x3f6)](_0x552f17[_0x454134(0x349)]['UNIVER_BASE']);}[_0x5b4d61(0x4cc)](_0xb550aa){const _0x2015b2=_0x5b4d61;return this[_0x2015b2(0x1ee)][_0x2015b2(0x4c5)](_0x552f17[_0x2015b2(0x349)][_0x2015b2(0x1e2)],_0xb550aa);}};_0x52adae=_0x3a99e3([_0x8293b1(0x0,_0x552f17[_0x5b4d61(0x372)])],_0x52adae);let _0x12ce77=(0x0,_0x552f17['createIdentifier'])(_0x5b4d61(0x3bf));var _0x2c3340=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(..._0x1b0b74){const _0x48851a=_0x5b4d61;super(..._0x1b0b74),_0x53a461(this,_0x48851a(0x1b3),new Map());}[_0x5b4d61(0x30f)](_0x56aa84){const _0x38b73d=_0x5b4d61;return this[_0x38b73d(0x1b3)][_0x38b73d(0x3e9)](_0x56aa84['type'],_0x56aa84),(0x0,_0x552f17[_0x38b73d(0x404)])(()=>this[_0x38b73d(0x1b3)][_0x38b73d(0x1d6)](_0x56aa84[_0x38b73d(0x4cd)]));}['get'](_0x5a3a32){const _0x4fb1d8=_0x5b4d61;let _0x4d4872=this[_0x4fb1d8(0x1b3)][_0x4fb1d8(0x3a4)](_0x5a3a32);if(!_0x4d4872)throw Error(_0x4fb1d8(0x2c6)+_0x5a3a32+_0x4fb1d8(0x29c));return _0x4d4872;}[_0x5b4d61(0x2e6)](){const _0x5fc7d4=_0x5b4d61;return Array['from'](this[_0x5fc7d4(0x1b3)]['values']());}};let _0x231e83=[_0x489c96],_0x430814=class extends _0x552f17[_0x5b4d61(0x4de)]{constructor(_0x337362=_0x36f683,_0x448a8f,_0x30cb2a,_0x1c6bf5,_0x565fb8,_0x4ce454){const _0x2cd1b3=_0x5b4d61;super(),this[_0x2cd1b3(0x52d)]=_0x337362,this[_0x2cd1b3(0x358)]=_0x448a8f,this[_0x2cd1b3(0x277)]=_0x30cb2a,this['_univerInstanceService']=_0x1c6bf5,this[_0x2cd1b3(0x476)]=_0x565fb8,this['_dataSyncPrimaryController']=_0x4ce454,_0x53a461(this,_0x2cd1b3(0x23b),new Map());let {..._0x5e2f7e}=(0x0,_0x552f17['merge'])({},_0x36f683,this[_0x2cd1b3(0x52d)]);this[_0x2cd1b3(0x476)][_0x2cd1b3(0x524)]('bases.config',_0x5e2f7e),this[_0x2cd1b3(0x1ee)][_0x2cd1b3(0x1c8)](_0x552f17[_0x2cd1b3(0x349)][_0x2cd1b3(0x1e2)],_0x552f17[_0x2cd1b3(0x2ad)]),this[_0x2cd1b3(0x18f)](),this[_0x2cd1b3(0x2e3)](),this[_0x2cd1b3(0x531)](),this['_initDataSync']();}[_0x5b4d61(0x3c5)](){const _0x22741e=_0x5b4d61;this[_0x22741e(0x358)][_0x22741e(0x112)]([_0x333b91]),this[_0x22741e(0x313)](this[_0x22741e(0x358)][_0x22741e(0x3a4)](_0x552f17['ICommandService'])[_0x22741e(0x3fd)](_0x5f4b86)),this[_0x22741e(0x313)](this[_0x22741e(0x358)]['get'](_0x552f17['ICommandService'])[_0x22741e(0x3fd)](_0x2ded08)),this[_0x22741e(0x313)](this[_0x22741e(0x358)][_0x22741e(0x3a4)](_0x552f17[_0x22741e(0x1cf)])[_0x22741e(0x1af)](_0x4b2dcb[_0x22741e(0x2af)][_0x22741e(0x3c6)],this['_injector']['get'](_0x333b91),_0x5f4b86['id'],_0x2ded08['id']));}['onReady'](){const _0x13977f=_0x5b4d61;(0x0,_0x552f17['touchDependencies'])(this['_injector'],[[_0x52adae],[_0x4c7d31],[_0x41791a]]),this[_0x13977f(0x1ee)][_0x13977f(0x3f6)](_0x552f17[_0x13977f(0x349)]['UNIVER_BASE'])[_0x13977f(0x116)](_0x3a451e=>this[_0x13977f(0x30d)](_0x3a451e[_0x13977f(0x2e7)]())),(0x0,_0x552f17[_0x13977f(0x149)])(this[_0x13977f(0x358)],[[_0x1453a9],[_0x3787e1]]);}[_0x5b4d61(0x18f)](){const _0x4dddc8=_0x5b4d61;[[_0x430fbe,{'useClass':_0x3b8919}],[_0x12ce77,{'useClass':_0x2c3340}],[_0x1b33ef,{'useClass':_0x57d072}],[_0x17f4c1,{'useClass':_0x52adae}],[_0x4c31db,{'useClass':_0x142ec6}],[_0x18f07e,{'useClass':_0x4c7d31}],[_0x41791a],[_0x1453a9],[_0x3787e1]]['forEach'](_0x3c3843=>this[_0x4dddc8(0x358)][_0x4dddc8(0x112)](_0x3c3843));}[_0x5b4d61(0x2e3)](){const _0x26e648=_0x5b4d61;[_0x199eaa,_0x49859c,_0x35f587,_0x9a81a0,_0x3e56e0,_0x371b2c,_0x32d850,_0x332954,_0x5ebfe6,_0x4d533a,_0x3cbb7e,_0x240407,_0x19160d,_0x7e3104,_0x34c3a3,_0x29df55,_0x3d4519,_0x467366,_0x279481,_0x3df95a,_0x15a40a,_0x298d7b,_0x578650,_0xc444b,_0x3a83f1,_0x295ff9,_0x1970e0,_0x4231ae,_0xde1fc9,_0x4a49d7,_0x575a47,_0x5464be,_0x534f96,_0x31321d,_0xe496df,_0x51c31a,_0x2b96e5,_0x4aaa7c,_0x218b99,_0x19e91d,_0xa5c9e,..._0x231e83][_0x26e648(0x116)](_0x4da034=>this[_0x26e648(0x313)](this[_0x26e648(0x277)]['registerCommand'](_0x4da034))),_0x231e83[_0x26e648(0x116)](_0x4d781f=>{const _0x231392=_0x26e648;var _0x4fb091;return(_0x4fb091=this[_0x231392(0x263)])==null?void 0x0:_0x4fb091[_0x231392(0x25c)](_0x4d781f);});}['_initDataSync'](){const _0x32ecc2=_0x5b4d61;this[_0x32ecc2(0x263)]&&(this[_0x32ecc2(0x313)](this[_0x32ecc2(0x1ee)]['getTypeOfUnitAdded$'](_0x552f17[_0x32ecc2(0x349)][_0x32ecc2(0x1e2)])['subscribe'](({unit:_0x36d4f9})=>{const _0x29e3c6=_0x32ecc2;this[_0x29e3c6(0x30d)](_0x36d4f9[_0x29e3c6(0x2e7)]());})),this[_0x32ecc2(0x313)](this[_0x32ecc2(0x1ee)][_0x32ecc2(0x241)](_0x552f17[_0x32ecc2(0x349)][_0x32ecc2(0x1e2)])['subscribe'](_0x4b501c=>{const _0x4e5eba=_0x32ecc2;var _0x1c5e2b;(_0x1c5e2b=this[_0x4e5eba(0x23b)]['get'](_0x4b501c[_0x4e5eba(0x2e7)]()))==null||_0x1c5e2b[_0x4e5eba(0x1ad)](),this[_0x4e5eba(0x23b)][_0x4e5eba(0x1d6)](_0x4b501c['getUnitId']());})));}[_0x5b4d61(0x30d)](_0x11d23c){const _0x3b5307=_0x5b4d61;this[_0x3b5307(0x263)]&&!this['_baseSyncDisposables'][_0x3b5307(0x1d8)](_0x11d23c)&&this[_0x3b5307(0x23b)][_0x3b5307(0x3e9)](_0x11d23c,this[_0x3b5307(0x263)][_0x3b5307(0x3b2)](_0x11d23c));}[_0x5b4d61(0x531)](){const _0x41ef68=_0x5b4d61;let _0x56e5c0=this[_0x41ef68(0x358)][_0x41ef68(0x3a4)](_0x430fbe);_0x544ef0()['forEach'](_0x5dcad4=>_0x56e5c0[_0x41ef68(0x30f)](_0x5dcad4));let _0x5f4dd6=this[_0x41ef68(0x358)][_0x41ef68(0x3a4)](_0x12ce77),_0x2fb188=this[_0x41ef68(0x358)][_0x41ef68(0x3a4)](_0x1b33ef);_0x5697af()[_0x41ef68(0x116)](_0xaa9995=>{const _0x1dfb23=_0x41ef68;_0x5f4dd6[_0x1dfb23(0x30f)](_0xaa9995),_0x2fb188[_0x1dfb23(0x444)](_0xaa9995);});}};_0x53a461(_0x430814,_0x5b4d61(0x39f),_0x5b4d61(0x45c)),_0x53a461(_0x430814,_0x5b4d61(0x49a),_0x470515),_0x53a461(_0x430814,_0x5b4d61(0x2e4),_0x359982),_0x53a461(_0x430814,_0x5b4d61(0x4cd),_0x552f17[_0x5b4d61(0x349)][_0x5b4d61(0x1e2)]),_0x430814=_0x3a99e3([(0x0,_0x552f17[_0x5b4d61(0x10e)])(_0x58c916[_0x5b4d61(0x2f7)],_0x216287['UniverProFormulaEnginePlugin']),_0x8293b1(0x1,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x552f17[_0x5b4d61(0x491)])),_0x8293b1(0x2,_0x552f17[_0x5b4d61(0xf5)]),_0x8293b1(0x3,_0x552f17['IUniverInstanceService']),_0x8293b1(0x4,_0x552f17[_0x5b4d61(0x37c)]),_0x8293b1(0x5,(0x0,_0x552f17['Optional'])(_0x15a674[_0x5b4d61(0x249)]))],_0x430814);function _0x210085(_0x162b48){const _0x26e8e3=_0x5b4d61;let _0x4f796b=_0x3d439f(_0x162b48['query']);if(!_0x4f796b)return{'query':'','total':0x0,'matches':[]};let _0x49e9f9=[],_0x20f212=[];for(let _0x39b0df=0x0;_0x39b0df<_0x162b48[_0x26e8e3(0x301)][_0x26e8e3(0x46a)];_0x39b0df++){if(!(_0x39b0df in _0x162b48[_0x26e8e3(0x301)]))continue;let _0x2a7c6f=_0x162b48[_0x26e8e3(0x481)][_0x26e8e3(0x3ec)][_0x162b48[_0x26e8e3(0x301)][_0x39b0df]];_0x2a7c6f&&_0x20f212[_0x26e8e3(0x36c)]({'field':_0x2a7c6f,'fieldIndex':_0x39b0df});}_0x162b48[_0x26e8e3(0x21e)][_0x26e8e3(0x116)]((_0x35eea6,_0x26191f)=>{const _0x1bd3a4=_0x26e8e3;_0x20f212[_0x1bd3a4(0x116)](({field:_0x59e307,fieldIndex:_0x45ec2c})=>{const _0x5b051e=_0x1bd3a4;let _0x267afa=_0x3829d4(_0x35eea6[_0x5b051e(0x4d1)][_0x59e307['id']],_0x59e307);if(!_0x267afa)return;let _0x39f6f9=_0x32420e(_0x4f796b,_0x267afa['searchTexts']);_0x39f6f9<=0x0||_0x49e9f9[_0x5b051e(0x36c)]({'recordId':_0x35eea6[_0x5b051e(0x504)],'fieldId':_0x59e307['id'],'fieldType':_0x59e307[_0x5b051e(0x4cd)],'text':_0x267afa['displayText'],'score':_0x39f6f9,'rowIndex':_0x26191f,'fieldIndex':_0x45ec2c});});}),_0x49e9f9['sort']((_0x57e9c8,_0x50b50d)=>_0x50b50d['score']-_0x57e9c8[_0x26e8e3(0x22a)]||_0x57e9c8['rowIndex']-_0x50b50d['rowIndex']||_0x57e9c8['fieldIndex']-_0x50b50d['fieldIndex']);let _0x1b1256=_0x162b48[_0x26e8e3(0x26a)]==null?_0x49e9f9:_0x49e9f9[_0x26e8e3(0x25d)](0x0,Math[_0x26e8e3(0x3bd)](0x0,_0x162b48['limit']));return{'query':_0x4f796b,'total':_0x49e9f9['length'],'matches':_0x5d1cee(_0x1b1256)};}function _0x3829d4(_0x103be6,_0x99a82c){const _0x48ec72=_0x5b4d61;let _0x5e5aa7=[];for(let _0x347518 of _0x2565d4(_0x103be6,_0x99a82c)){let _0x5c62a0=_0x3d439f(_0x347518);_0x5c62a0&&_0x5e5aa7['push'](_0x5c62a0);}return _0x5e5aa7[_0x48ec72(0x46a)]?{'displayText':_0x1c93d5(_0x103be6,_0x99a82c),'searchTexts':_0x407873(_0x5e5aa7)}:null;}function _0x1c93d5(_0x3d83d7,_0xbcad0f){const _0x235a8b=_0x5b4d61;switch(_0xbcad0f[_0x235a8b(0x4cd)]){case _0x552f17['BaseFieldType'][_0x235a8b(0x38b)]:case _0x552f17['BaseFieldType'][_0x235a8b(0x51a)]:case _0x552f17['BaseFieldType'][_0x235a8b(0x220)]:return _0x32d180(_0x3d83d7,_0xbcad0f)[_0x235a8b(0x53f)](',\x20');case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x3f2)]:return _0x9ad49(_0x3d83d7);case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x522)]:case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x435)]:case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x373)]:return _0x3eda60(_0x3d83d7,_0xbcad0f);case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x439)]:case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x268)]:return _0x31f7df(_0x3d83d7,_0xbcad0f);case _0x552f17[_0x235a8b(0x22d)]['Progress']:return _0xba2d78(_0x3d83d7,_0xbcad0f);case _0x552f17['BaseFieldType'][_0x235a8b(0x3ad)]:return _0x3d83d7?_0x235a8b(0x518):_0x235a8b(0x235);case _0x552f17['BaseFieldType'][_0x235a8b(0x3a6)]:return _0x18945d(_0x3d83d7)[_0x235a8b(0x53f)](',\x20');default:return _0xe1a62e(_0x3d83d7);}}function _0x2565d4(_0x5096d4,_0x2c9a3c){const _0x1a2f6f=_0x5b4d61;switch(_0x2c9a3c[_0x1a2f6f(0x4cd)]){case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x38b)]:case _0x552f17[_0x1a2f6f(0x22d)]['MultiSelect']:case _0x552f17[_0x1a2f6f(0x22d)]['Group']:{let _0x1c838f=_0x32d180(_0x5096d4,_0x2c9a3c);if(Array[_0x1a2f6f(0x3bc)](_0x5096d4)){let _0x2a9f5f=[..._0x1c838f];for(let _0x2e4850=0x0;_0x2e4850<_0x5096d4[_0x1a2f6f(0x46a)];_0x2e4850++)_0x2e4850 in _0x5096d4&&_0x2a9f5f['push'](String(_0x5096d4[_0x2e4850]));return _0x2a9f5f;}return _0x5096d4==null?_0x1c838f:[..._0x1c838f,String(_0x5096d4)];}case _0x552f17['BaseFieldType'][_0x1a2f6f(0x3f2)]:{let _0x135c0a=_0x1744b4(_0x5096d4);return[_0x135c0a[_0x1a2f6f(0x398)],_0x135c0a[_0x1a2f6f(0x156)]];}case _0x552f17[_0x1a2f6f(0x22d)]['Date']:case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x435)]:case _0x552f17[_0x1a2f6f(0x22d)]['UpdatedAt']:return[_0x3eda60(_0x5096d4,_0x2c9a3c),_0xe1a62e(_0x5096d4)];case _0x552f17['BaseFieldType'][_0x1a2f6f(0x439)]:case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x268)]:return[_0x31f7df(_0x5096d4,_0x2c9a3c),_0xe1a62e(_0x5096d4)];case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x28f)]:return[_0xba2d78(_0x5096d4,_0x2c9a3c),_0xe1a62e(_0x5096d4)];case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x3ad)]:return _0x5096d4?[_0x1a2f6f(0x518),_0x1a2f6f(0x15f),_0x1a2f6f(0x146)]:[_0x1a2f6f(0x235),'No',_0x1a2f6f(0x16f)];case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x3a6)]:return _0x18945d(_0x5096d4);default:return[_0xe1a62e(_0x5096d4)];}}function _0x32d180(_0x56ae93,_0x6715a1){const _0x23ba06=_0x5b4d61;var _0x119403;let _0x4b7e10=Array[_0x23ba06(0x3bc)]((_0x119403=_0x6715a1[_0x23ba06(0x340)])==null?void 0x0:_0x119403[_0x23ba06(0x3ef)])?_0x6715a1['config'][_0x23ba06(0x3ef)]:[],_0x1b9d4b=[];if(Array[_0x23ba06(0x3bc)](_0x56ae93)){for(let _0x4af21f=0x0;_0x4af21f<_0x56ae93['length'];_0x4af21f++){if(!(_0x4af21f in _0x56ae93))continue;let _0x5e0505=String(_0x56ae93[_0x4af21f]);_0x5e0505&&_0x1b9d4b[_0x23ba06(0x36c)](_0xc1df9a(_0x4b7e10,_0x5e0505));}return _0x1b9d4b;}if(_0x56ae93!=null){let _0x58ddfb=String(_0x56ae93);_0x58ddfb&&_0x1b9d4b[_0x23ba06(0x36c)](_0xc1df9a(_0x4b7e10,_0x58ddfb));}return _0x1b9d4b;}function _0xc1df9a(_0x956860,_0x3d5c3b){const _0x578c0b=_0x5b4d61;for(let _0x4e83b4 of _0x956860){if(typeof _0x4e83b4==_0x578c0b(0x525)&&_0x4e83b4===_0x3d5c3b)return _0x4e83b4;if(_0x4e83b4&&typeof _0x4e83b4==_0x578c0b(0x434)){let _0x100564=_0x4e83b4;if(String(_0x100564['id']??_0x100564[_0x578c0b(0x288)]??'')===_0x3d5c3b||String(_0x100564[_0x578c0b(0x288)]??'')===_0x3d5c3b)return String(_0x100564['name']??_0x100564['id']??_0x3d5c3b);}}return _0x3d5c3b;}function _0x1744b4(_0x15c0d7){const _0x26cf11=_0x5b4d61;if(_0x15c0d7&&typeof _0x15c0d7=='object'&&!Array['isArray'](_0x15c0d7)){let _0x19bff4=_0x15c0d7;return{'text':String(_0x19bff4[_0x26cf11(0x398)]??_0x19bff4[_0x26cf11(0x156)]??''),'url':String(_0x19bff4['url']??'')};}return{'text':_0xe1a62e(_0x15c0d7),'url':_0xe1a62e(_0x15c0d7)};}function _0x9ad49(_0x2bf7e9){const _0x1c5025=_0x5b4d61;let _0x19b05b=_0x1744b4(_0x2bf7e9);return _0x19b05b['text']||_0x19b05b[_0x1c5025(0x156)];}function _0x3eda60(_0x17d405,_0x1139bf){const _0x1b326a=_0x5b4d61;return typeof _0x17d405!=_0x1b326a(0x544)||!Number[_0x1b326a(0x326)](_0x17d405)?'':_0x6b809(_0x17d405,_0x1139bf['config']);}function _0x31f7df(_0x4feb8a,_0x30b301){const _0x3903a7=_0x5b4d61;let _0x2336b7=typeof _0x4feb8a==_0x3903a7(0x544)?_0x4feb8a:Number(_0x4feb8a);return Number['isFinite'](_0x2336b7)?_0x3a5fa6(_0x2336b7,_0x30b301[_0x3903a7(0x340)]):'';}function _0xba2d78(_0x116c5f,_0x50c8a5){const _0x5858e7=_0x5b4d61;let _0x370dd3=typeof _0x116c5f==_0x5858e7(0x544)?_0x116c5f:Number(_0x116c5f);return Number['isFinite'](_0x370dd3)?_0x53cb70(_0x370dd3,_0x50c8a5[_0x5858e7(0x340)]):'';}function _0x18945d(_0x410d84){const _0x42d2a8=_0x5b4d61;return Array[_0x42d2a8(0x3bc)](_0x410d84)?_0x410d84[_0x42d2a8(0x4a0)](_0x588574=>{const _0x2ecc68=_0x42d2a8;if(!_0x588574||typeof _0x588574!=_0x2ecc68(0x434))return[];let _0x45a067=_0x588574,_0x7b56c3=String(_0x45a067[_0x2ecc68(0x288)]??_0x45a067[_0x2ecc68(0x156)]??'')[_0x2ecc68(0x104)]();return _0x7b56c3?[_0x7b56c3]:[];}):[];}function _0xe1a62e(_0x94dd86){const _0x49182a=_0x5b4d61;if(_0x94dd86==null)return'';if(typeof _0x94dd86==_0x49182a(0x10b))return _0x94dd86?_0x49182a(0x1b5):_0x49182a(0x427);if(typeof _0x94dd86==_0x49182a(0x544))return String(_0x94dd86);if(Array[_0x49182a(0x3bc)](_0x94dd86)){let _0x2cc561=[];for(let _0x12d5f6=0x0;_0x12d5f6<_0x94dd86[_0x49182a(0x46a)];_0x12d5f6++){if(!(_0x12d5f6 in _0x94dd86))continue;let _0x55e070=_0xe1a62e(_0x94dd86[_0x12d5f6]);_0x55e070&&_0x2cc561[_0x49182a(0x36c)](_0x55e070);}return _0x2cc561[_0x49182a(0x53f)](',\x20');}if(typeof _0x94dd86=='object'){let _0x31fd02=_0x94dd86;return String(_0x31fd02[_0x49182a(0x1a5)]??_0x31fd02[_0x49182a(0x288)]??_0x31fd02[_0x49182a(0x398)]??_0x31fd02[_0x49182a(0x156)]??'')[_0x49182a(0x104)]();}return String(_0x94dd86);}function _0x32420e(_0xfbde6f,_0x323c74){const _0x1addd4=_0x5b4d61;let _0x26ebb4=0x0;for(let _0x1daf71 of _0x323c74)_0x1daf71&&(_0x1daf71===_0xfbde6f?_0x26ebb4=Math[_0x1addd4(0x3bd)](_0x26ebb4,0x12c):_0x1daf71[_0x1addd4(0x10a)](_0xfbde6f)?_0x26ebb4=Math['max'](_0x26ebb4,0xfa):_0x1daf71[_0x1addd4(0x396)](_0xfbde6f)&&(_0x26ebb4=Math[_0x1addd4(0x3bd)](_0x26ebb4,0xc8)));return _0x26ebb4;}function _0x3d439f(_0x5d3e30){const _0x399bb2=_0x5b4d61;return _0x5d3e30[_0x399bb2(0x104)]()[_0x399bb2(0x394)](/\s+/g,'\x20')[_0x399bb2(0x335)]();}function _0x407873(_0xa0c1e1){const _0x1927e4=_0x5b4d61;return Array[_0x1927e4(0x1c0)](new Set(_0xa0c1e1));}function _0x5d1cee(_0x148e98){const _0x166b3b=_0x5b4d61;let _0x4d0e6b=[];for(let {rowIndex:_0x2c7d71,fieldIndex:_0x45af05,..._0x4e8309}of _0x148e98)_0x4d0e6b[_0x166b3b(0x36c)](_0x4e8309);return _0x4d0e6b;}function _0x5b8177(_0x3a492b){const _0x5608f8=_0x5b4d61;return{'compress':!0x0,'kind':_0x5608f8(0xf3),'u':_0x3a492b[_0x5608f8(0x36f)],'t':_0x3a492b[_0x5608f8(0x111)],'p':_0x3a492b['patches'][_0x5608f8(0x3ab)](_0x387c54=>[_0x387c54['row'],_0x387c54[_0x5608f8(0x1a1)],_0x25f71a(_0x387c54[_0x5608f8(0x2e2)])]),..._0x3a492b[_0x5608f8(0x43f)]===void 0x0?{}:{'g':_0x3a492b[_0x5608f8(0x43f)]}};}function _0x51ac5f(_0x44b705){const _0x37146c=_0x5b4d61;if(_0x2e1182(_0x44b705,'base-range-values-v1'),!_0x5d8c0d(_0x44b705)){if(!_0x4a2c33(_0x44b705))throw Error(_0x37146c(0x223));return _0x44b705;}return{'unitId':_0x44b705['u'],'tableId':_0x44b705['t'],'patches':_0x44b705['p'][_0x37146c(0x3ab)](([_0x1390b6,_0x5137bb,_0x16fe67])=>({'row':_0x1390b6,'col':_0x5137bb,'value':_0x1b1d3b(_0x16fe67)})),..._0x44b705['g']===void 0x0?{}:{'trigger':_0x44b705['g']}};}function _0x5d8c0d(_0x1c9a4e){const _0x469b22=_0x5b4d61;return!_0x217fd6(_0x1c9a4e)||_0x1c9a4e['compress']!==!0x0||_0x1c9a4e[_0x469b22(0x169)]!==_0x469b22(0xf3)?!0x1:typeof _0x1c9a4e['u']==_0x469b22(0x525)&&typeof _0x1c9a4e['t']==_0x469b22(0x525)&&(_0x1c9a4e['g']===void 0x0||typeof _0x1c9a4e['g']==_0x469b22(0x525))&&Array[_0x469b22(0x3bc)](_0x1c9a4e['p'])&&_0x1c9a4e['p'][_0x469b22(0x25e)](_0x4f2cad=>Array[_0x469b22(0x3bc)](_0x4f2cad)&&_0x4f2cad[_0x469b22(0x46a)]===0x3&&Number[_0x469b22(0x2ff)](_0x4f2cad[0x0])&&Number[_0x469b22(0x2ff)](_0x4f2cad[0x1]));}function _0x3aff63(_0x110030){const _0x32a730=_0x5b4d61;return!_0x217fd6(_0x110030)||_0x110030[_0x32a730(0x4e4)]!==!0x0||_0x110030['kind']!==_0x32a730(0x15a)||!_0x217fd6(_0x110030[_0x32a730(0x1e1)])?!0x1:Object[_0x32a730(0x4d1)](_0x110030[_0x32a730(0x1e1)])['every'](_0x5515fb=>_0x217fd6(_0x5515fb)&&(_0x5515fb['cd']===void 0x0||Array[_0x32a730(0x3bc)](_0x5515fb['cd'])&&_0x5515fb['cd'][_0x32a730(0x25e)](_0x1ca233=>Array[_0x32a730(0x3bc)](_0x1ca233)&&_0x1ca233[_0x32a730(0x46a)]===0x3&&Number['isInteger'](_0x1ca233[0x0])&&Number[_0x32a730(0x2ff)](_0x1ca233[0x1])&&_0xa96bcb(_0x1ca233[0x2]))));}function _0x25f71a(_0x569667){return _0x2199c7(_0x569667)?_0x111cd4(_0x569667):_0x569667;}function _0x1b1d3b(_0x3f9908){return _0xa96bcb(_0x3f9908)?_0x1a992e(_0x3f9908):_0x3f9908;}function _0x111cd4(_0x111d87){return{'c':0x1,..._0x111d87['v']===void 0x0?{}:{'v':_0x111d87['v']},..._0x111d87['t']!==void 0x0&&_0x111d87['t']!==null?{'t':_0x111d87['t']}:_0x111d87['t']===null?{'t':null}:{},..._0x111d87['f']!==void 0x0&&_0x111d87['f']!==null?{'f':_0x111d87['f']}:_0x111d87['f']===null?{'f':null}:{},..._0x111d87['si']!==void 0x0&&_0x111d87['si']!==null?{'si':_0x111d87['si']}:_0x111d87['si']===null?{'si':null}:{},..._0x111d87['p']!==void 0x0&&_0x111d87['p']!==null?{'p':_0x111d87['p']}:_0x111d87['p']===null?{'p':null}:{}};}function _0x1a992e(_0x3c14a7){return{..._0x3c14a7['v']===void 0x0?{}:{'v':_0x3c14a7['v']},..._0x3c14a7['t']===void 0x0?{}:{'t':_0x3c14a7['t']},..._0x3c14a7['f']===void 0x0?{}:{'f':_0x3c14a7['f']},..._0x3c14a7['si']===void 0x0?{}:{'si':_0x3c14a7['si']},..._0x3c14a7['p']===void 0x0?{}:{'p':_0x3c14a7['p']}};}function _0x2199c7(_0x368121){const _0x394ee3=_0x5b4d61;return!!_0x368121&&typeof _0x368121==_0x394ee3(0x434)&&!Array[_0x394ee3(0x3bc)](_0x368121)&&(Object['prototype'][_0x394ee3(0x3d8)][_0x394ee3(0x30e)](_0x368121,'v')||Object[_0x394ee3(0x16e)]['hasOwnProperty']['call'](_0x368121,'t')||Object['prototype']['hasOwnProperty'][_0x394ee3(0x30e)](_0x368121,'p')||Object[_0x394ee3(0x16e)][_0x394ee3(0x3d8)][_0x394ee3(0x30e)](_0x368121,'f')||Object[_0x394ee3(0x16e)]['hasOwnProperty'][_0x394ee3(0x30e)](_0x368121,'si'));}function _0xa96bcb(_0x3bb67d){return _0x217fd6(_0x3bb67d)&&_0x3bb67d['c']===0x1;}function _0x4a2c33(_0x2168b7){const _0x16d231=_0x5b4d61;return _0x217fd6(_0x2168b7)&&typeof _0x2168b7['unitId']=='string'&&typeof _0x2168b7[_0x16d231(0x111)]=='string'&&(_0x2168b7['trigger']===void 0x0||typeof _0x2168b7[_0x16d231(0x43f)]==_0x16d231(0x525))&&Array[_0x16d231(0x3bc)](_0x2168b7[_0x16d231(0x3cc)])&&_0x2168b7[_0x16d231(0x3cc)][_0x16d231(0x25e)](_0x44e5e8=>_0x217fd6(_0x44e5e8)&&Number[_0x16d231(0x2ff)](_0x44e5e8[_0x16d231(0x4d6)])&&Number[_0x16d231(0x2ff)](_0x44e5e8[_0x16d231(0x1a1)])&&_0x16d231(0x2e2)in _0x44e5e8);}function _0x2e1182(_0x5cc4b9,_0x4b9b85){const _0x14051c=_0x5b4d61;if(_0x217fd6(_0x5cc4b9)&&_0x5cc4b9['compress']===!0x0){if(_0x5cc4b9[_0x14051c(0x169)]!==_0x4b9b85)throw Error(_0x14051c(0x39b)+String(_0x5cc4b9[_0x14051c(0x169)])+'\x22.');if(!(_0x4b9b85===_0x14051c(0xf3)?_0x5d8c0d(_0x5cc4b9):_0x3aff63(_0x5cc4b9)))throw Error('[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22'+_0x4b9b85+'\x22.');}}function _0x217fd6(_0x485fe3){const _0x30b2a8=_0x5b4d61;return!!_0x485fe3&&typeof _0x485fe3==_0x30b2a8(0x434)&&!Array[_0x30b2a8(0x3bc)](_0x485fe3);}_0x537d9b[_0x5b4d61(0x266)]=_0x489c96,_0x537d9b['BASE_FIELD_STAT_TYPES']=_0x2af2a0,_0x537d9b[_0x5b4d61(0x25f)]=0x5,_0x537d9b[_0x5b4d61(0x3f3)]=_0x25a7f8,_0x537d9b[_0x5b4d61(0x35c)]=_0x5b4d61(0x265),_0x537d9b[_0x5b4d61(0x411)]=_0x5a9423,_0x537d9b[_0x5b4d61(0x222)]=_0x16ab6d,_0x537d9b['BaseEventSource']=_0x249608,_0x537d9b[_0x5b4d61(0x4a2)]=_0x328073,_0x537d9b[_0x5b4d61(0x463)]=_0x31b592,_0x537d9b['BaseHierarchyErrorCode']=_0x1af91e,_0x537d9b[_0x5b4d61(0x1d2)]=_0x44eb40,_0x537d9b[_0x5b4d61(0x4e9)]=_0x600fcd,_0x537d9b[_0x5b4d61(0x126)]=_0x1b9aeb,_0x537d9b['BatchCreateBaseRecordsCommand']=_0x5ebfe6,_0x537d9b[_0x5b4d61(0x2dd)]=_0x3cbb7e,_0x537d9b[_0x5b4d61(0x19c)]=_0x279481,_0x537d9b[_0x5b4d61(0x2e9)]=_0x332954,_0x537d9b[_0x5b4d61(0x43e)]=_0x34c3a3,_0x537d9b[_0x5b4d61(0x543)]=_0x32d850,_0x537d9b['CreateBaseTableCommand']=_0x199eaa,_0x537d9b[_0x5b4d61(0x457)]=_0x578650,_0x537d9b[_0x5b4d61(0x410)]=_0x3df95a,_0x537d9b[_0x5b4d61(0x2f4)]=_0x4d533a,_0x537d9b[_0x5b4d61(0x46f)]=_0x35f587,_0x537d9b[_0x5b4d61(0x360)]=_0x1970e0,_0x537d9b[_0x5b4d61(0x19a)]=_0x29df55,_0x537d9b['DuplicateBaseRecordCommand']=_0x240407,_0x537d9b[_0x5b4d61(0x52c)]=_0x2a7d93,_0x537d9b[_0x5b4d61(0x124)]=_0xc444b,_0x537d9b[_0x5b4d61(0x4c3)]=_0x18f07e,_0x537d9b[_0x5b4d61(0x34f)]=_0x4c31db,_0x537d9b['IBaseProjectionService']=_0x1b33ef,_0x537d9b[_0x5b4d61(0x1c6)]=_0x12ce77,_0x537d9b[_0x5b4d61(0x243)]=_0x15a40a,_0x537d9b[_0x5b4d61(0x207)]=_0x7e3104,_0x537d9b['MoveBaseViewCommand']=_0x4231ae,_0x537d9b[_0x5b4d61(0x2b3)]=_0x49859c,_0x537d9b[_0x5b4d61(0x2b5)]=_0x3a83f1,_0x537d9b[_0x5b4d61(0x460)]=_0x575a47,_0x537d9b[_0x5b4d61(0x270)]=_0x295ff9,_0x537d9b[_0x5b4d61(0x415)]=_0x5464be,_0x537d9b[_0x5b4d61(0x311)]=_0x5f4b86,_0x537d9b[_0x5b4d61(0x24d)]=_0x2ded08,_0x537d9b[_0x5b4d61(0x442)]=_0x534f96,_0x537d9b[_0x5b4d61(0x2a3)]=_0x371b2c,_0x537d9b['SetBaseRecordValuesCommand']=_0x3e56e0,_0x537d9b[_0x5b4d61(0x418)]=_0x4aaa7c,_0x537d9b[_0x5b4d61(0x1ba)]=_0xa5c9e,_0x537d9b[_0x5b4d61(0x46d)]=_0x218b99,_0x537d9b[_0x5b4d61(0x281)]=_0x19e91d,_0x537d9b[_0x5b4d61(0x3ca)]=_0xe496df,_0x537d9b[_0x5b4d61(0x34b)]=_0x2b96e5,_0x537d9b[_0x5b4d61(0x552)]=_0x51c31a,Object['defineProperty'](_0x537d9b,'UniverBasesPlugin',{'enumerable':!0x0,'get':function(){return _0x430814;}}),_0x537d9b[_0x5b4d61(0x17a)]=_0x9a81a0,_0x537d9b[_0x5b4d61(0x330)]=_0x3d4519,_0x537d9b['UpdateBaseFieldDescriptionCommand']=_0x467366,_0x537d9b[_0x5b4d61(0x15c)]=_0x31321d,_0x537d9b['UpdateBaseRecordOrderCommand']=_0x19160d,_0x537d9b[_0x5b4d61(0x4a1)]=_0x4a49d7,_0x537d9b['UpdateBaseViewConfigCommand']=_0xde1fc9,_0x537d9b[_0x5b4d61(0x343)]=_0x298d7b,_0x537d9b[_0x5b4d61(0x1f5)]=_0x1c8cf1,_0x537d9b['buildBaseHierarchyIndex']=_0x128f1a,_0x537d9b[_0x5b4d61(0x181)]=_0x30944c,_0x537d9b[_0x5b4d61(0x437)]=_0x2bb373,_0x537d9b[_0x5b4d61(0x178)]=_0x5b8177,_0x537d9b[_0x5b4d61(0x38c)]=_0x455ae9,_0x537d9b[_0x5b4d61(0x3c3)]=_0x5797d7,_0x537d9b[_0x5b4d61(0x461)]=_0x5344ae,_0x537d9b['createEmbedBasesTable']=_0x57685a,_0x537d9b[_0x5b4d61(0x194)]=_0x5ba883,_0x537d9b[_0x5b4d61(0x232)]=_0x208dd0,_0x537d9b[_0x5b4d61(0x302)]=_0x68e3f,_0x537d9b[_0x5b4d61(0x2d6)]=_0x5afbbf,_0x537d9b[_0x5b4d61(0x4bc)]=_0x51ac5f,_0x537d9b['ensureBaseTableCellLayout']=_0x2c21a9,_0x537d9b[_0x5b4d61(0x3f9)]=_0x1497cf,_0x537d9b[_0x5b4d61(0x34a)]=_0x6b809,_0x537d9b[_0x5b4d61(0x354)]=_0x5553b1,_0x537d9b[_0x5b4d61(0x154)]=_0x3a5fa6,_0x537d9b['formatBaseProgressValue']=_0x53cb70,_0x537d9b['getActiveBaseHierarchyFieldIds']=_0x168111,_0x537d9b[_0x5b4d61(0x508)]=_0x43fef4,_0x537d9b['getBaseCellValue']=_0x3b09d7,_0x537d9b[_0x5b4d61(0x30b)]=_0x47060d,_0x537d9b[_0x5b4d61(0x347)]=_0x1aba91,_0x537d9b[_0x5b4d61(0x49d)]=_0x33eab9,Object[_0x5b4d61(0x257)](_0x537d9b,_0x5b4d61(0x3bb),{'enumerable':!0x0,'get':function(){const _0x4bbf66=_0x5b4d61;return _0x552f17[_0x4bbf66(0x3bb)];}}),_0x537d9b[_0x5b4d61(0x162)]=_0x230aed,_0x537d9b[_0x5b4d61(0x125)]=_0x37c44a,_0x537d9b[_0x5b4d61(0x3e8)]=_0x25ff75,_0x537d9b[_0x5b4d61(0x18b)]=_0x398605,_0x537d9b[_0x5b4d61(0x3ff)]=_0x4da25b,_0x537d9b['getBaseViewPermissionObjectId']=_0x4dab58,_0x537d9b[_0x5b4d61(0x2bd)]=_0x423169,_0x537d9b['getSupportedBaseFieldStatTypes']=_0x5baa5a,_0x537d9b[_0x5b4d61(0x53d)]=_0x50555e,_0x537d9b[_0x5b4d61(0x3d0)]=_0x2515bf,_0x537d9b[_0x5b4d61(0x516)]=_0x4e99f7,_0x537d9b['isBaseFieldStatEmptyValue']=_0x18fd02,_0x537d9b[_0x5b4d61(0x53c)]=_0x297a26,_0x537d9b['isBaseFieldStatType']=_0x1875e5,_0x537d9b[_0x5b4d61(0x436)]=_0x288df0,_0x537d9b['isCompressedBaseRangeValuesPayload']=_0x5d8c0d,_0x537d9b[_0x5b4d61(0x4d9)]=_0x255362,_0x537d9b[_0x5b4d61(0x495)]=_0x152eb9,_0x537d9b[_0x5b4d61(0x433)]=_0x1b2d78,_0x537d9b[_0x5b4d61(0x2f5)]=_0x45ee53,_0x537d9b['parseRecordLinkIds']=_0x17aaa4,_0x537d9b[_0x5b4d61(0x37e)]=_0x28f5e1,_0x537d9b['resolveBaseDateFieldConfig']=_0x13dba4,_0x537d9b[_0x5b4d61(0x3ea)]=_0x5f3470,_0x537d9b[_0x5b4d61(0xfa)]=_0x1c58bb,_0x537d9b[_0x5b4d61(0x24c)]=_0x210085,_0x537d9b[_0x5b4d61(0x47c)]=_0x4be8de,_0x537d9b[_0x5b4d61(0x1be)]=_0x5bc309,_0x537d9b[_0x5b4d61(0x384)]=_0x44d452,_0x537d9b[_0x5b4d61(0x240)]=_0x2ceb53,_0x537d9b['validateBaseHierarchyMove']=_0x4bbbbd,_0x537d9b['validateBaseHierarchyRecordCreations']=_0x548acb,_0x537d9b[_0x5b4d61(0x413)]=_0x47a364,_0x537d9b[_0x5b4d61(0x1fa)]=_0x161279,_0x537d9b['validateCanonicalRecordLinkValue']=_0x54eb47,_0x537d9b[_0x5b4d61(0x4d8)]=_0x4cb157,_0x537d9b[_0x5b4d61(0x4c6)]=_0x30ac0c;}));function _0x3857(){const _0x358ba0=['packageName','setBasePermission','Base\x20','getBaseFieldPermissionObjectId','periodComma','[BaseCommandService]:\x20cannot\x20delete\x20field.','flatMap','UpdateBaseViewConditionalColorRulesCommand','BaseFormulaService','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','regenerateViewIds','getFocusedUnit','viewIndexes','hourCycle','index','renameTable','beforeFieldId','exception-','univer.basePerf','_getHierarchyIndex','fld-','cellData','attachments','code','info','MUTATION','colorFieldId','owner','createSuperTableReference','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','base.command.batch-delete-base-records','Name','[BaseHierarchy]:\x20','reason','decompressBaseRangeValuesPayload','repeat','[BaseField]:\x20invalid\x20number\x20value.','deepClone','fromCollab','ruleId','_recordPermissions','IBaseCommandService','_onCommandExecuted','createUnit','validateRecordLinkValue','toStringTag','bases-exchange-client.operation.export-base','cycle','attachmentSet','_clearUnit','createBase','type','ascend','allowMultiple','_deleteRecordsBaseOp','values','year','_createNumberingAllocators','target','LAST_WEEK','row','_setAttachmentResources','validateRecordLinkField','matchesBaseCondition','count','_cellInvalidationsTouchFields','canEditTable','base.fieldType.','Plugin','base.projection.service','_kanbanGroupKeys','STRING','readonly','insertOp','compress','BaseView','removeOp','JSON1','canEditField','BaseJson1OpApplier','average','spaceComma','AFTER','timeslotSize','colIndex','viewOrder','base.command.create-base-record','Undo','_normalizeCalendarConfig','_globalRevision','#3b82f6','view/','greaterThan','coverFieldId',',,\x22M\x22','flat','invertOp','[BaseCommandService]:\x20field\x20\x22','displayColor','_sortRows','getSuperTableRegistrations','large','RecordId','isNaN','default','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','recordId','system','weekdays','changes','getBaseCellFormulaValue','setViewFieldOrder','getTime','create-view','[BaseProjectionService]:\x20missing\x20view\x20\x22','FieldId','6DapVqx','_buildGrid','custom','canDeleteField','base.resource.service','path','[BaseFormula]:\x20table\x20\x22','cellRevision','isBaseConditionalColorDateField','Uncategorized','Checked','renameView','MultiSelect','strategies','cardSize','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','createField','_enqueueFormulaSync','save','Edit','Date','$1\x20','setConfig','string','ErrorService','gantt','usableAsCardCover','getAffectedRanges','recordOrder','constructor','EMBED_BASES_TABLE_RESOURCE_KEY','_config','_canEditTable','BaseSortDirection','_scheduleSuperTableSync','_initRegistries','currencySymbol','BaseJson1.syncCellInvalidations','_applyingFormulaResults','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','BASE_OBJECT_PERMISSION_PLUGIN','renameFormulaUnitReferences','CommandType','en-US','[BaseField]:\x20invalid\x20multi-value\x20reference.','MM-DD','isBaseFieldStatSupported','getVisibleBaseHierarchyRows','childrenByParentId','join','raw','createRegExpFromSafeFragment','_getCellRevision','CreateBaseRecordCommand','number','_replaceOptional','base.command.update-base-view-conditional-color-rules','base.viewType.calendar','BaseRecordLinkRole','base.command.duplicate-base-record','createDeleteRecordsUndoOp','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','base.command.set-permission','_clearObjectEdit','_getTableRevision','record','bases.fieldConfig.linkPlaceholder','toFixed','SetBaseViewSortCommand','includeRecords','_isNonEmptyCellValue','MMM\x20D,\x20YYYY','_projectedRowsCache',',\x22K\x22','base-range-values-v1','childUnitId','ICommandService','Unsupported\x20Base\x20permission\x20object:\x20','exec','groupFieldId','isNot','resolveBaseRangeHierarchyPatches','BaseDashboard','[BaseCommandService]:\x20cannot\x20create\x20field.','FormulaResultApplicationType','symbol','_resolveBaseId','_resolveGalleryCoverFieldId','FormulaCalculationTriggerService','relationRole','canEditRecord','trim','IS_EMPTY','BaseTable','apostrophe','_createNumberingFieldValuePatches','normal','startsWith','boolean','resolve','_kanbanLaneColor','DependentOn','decorate','[BaseCommandService]:\x20record-id\x20is\x20reserved.','tableId','add','[BaseCommandService]:\x20cannot\x20manage\x20view.','useThousands','_disposed','forEach','too-long','conditional','ColorKit','_viewRevisionKey','getUTCFullYear','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','major-','RecordLink','createSetRecordValuesOp','setViewPermission','normalize','base.command.update-base-view-config','[BaseCommandService]:\x20invalid\x20field\x20definition.','EnsureBaseTemporalViewDateFieldsCommand','getBaseHierarchyFieldId','BaseJson1OpFactory','manual','#FDE68A','_initialize','objectType','_toDirtyRangePatch','done','usableAsCalendarDate','_formulaService','orderKey','Parent\x20Items','editCell','decimalPlaces','_materializeFormulaTableNames','filled','base.command.delete-base-table','_fieldPermissions','view-','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','NumberFormat','subtreeHeightByRecordId','base.command.set-base-table-hierarchy-field','descendPath','description','BaseConditionalColorOperator','toLocaleString','_findKanbanGroupField','clearFieldPermission','BaseRecord','start','lastIndex','4674528BtVhDP','True','deleteField','_isGanttDateField','touchDependencies','data','_resolveKanbanCardFieldIds','deleteRecord','_cellInvalidations','updateViewConfig','Redo','DD/MM/YYYY','fieldOrder','function','base.command.update-base-field','formatBaseNumberValue','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','url','getSnapshot','_tablePermissions','_viewRowsCacheKey','base-snapshot-v1','Gallery','UpdateBaseKanbanConfigCommand','canDeleteTable','dependencyFieldId','Yes','Empty','_projectFields','getBaseHierarchyDeletePromotions','createdBy','cell','working','some','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','MissingRecord','kind','_rememberTable','Ids','_scheduledSuperTableSyncs','_projectedGroupsCache','prototype','False','_viewRevisions','__all__','[BaseCommandService]:\x20cannot\x20create\x20record.','beforeViewId','base.command.set-base-view-sort','parse','depth','updateRecordOrder','compressBaseRangeValuesPayload','unique','UpdateBaseCellCommand',':start','[BaseCommandService]:\x20cannot\x20edit\x20record.','COMMAND','unitOtherData','_getOrderedRecords','onCommandExecuted','calculateBaseFieldStat','invalidGroupField','[BaseField]:\x20invalid\x20person\x20value.','setViewSort','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','_cellRevisions','color','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','subscribe','lessThan','getBaseRecordPermissionObjectId','splice','size','h12','_initDependencies','setViewFilter','_normalizeGanttConfig','\x20must\x20have\x20a\x20non-empty\x20id.','THIS_MONTH','createEmbedBasesTableAddMutation','Numbering','base.mutation.set-permission-rule','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','CONTAINS','isEmpty','DuplicateBaseFieldCommand','pickerFieldIds','ChangeBaseFieldTypeCommand','empty','base.command.set-base-name','canCreateField','rowIndex','col','split','_resolveGanttDateFieldId','[BaseHierarchy]:\x20field\x20\x22','title','deleteTable','MissingParent','setRule','BASE','focusUnit','deletePermissionPoint','greaterThanOrEqual','dispose','522940KtgsZO','registerRuleModel','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','GREATER_THAN','fromEntries','_plugins','dateMode','true','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','TODAY','viewId','_getTablesToNormalize','SetBaseViewFieldOrderCommand','base.command.create-base-view','usableAsGanttEnd','keys','setBasePermissionValue','workingDays','from','THIS_WEEK','FORCE_STRING','rowIndexById','UniverRpc','HH:mm','IBaseViewRegistryService','BaseProjection.filterAndSortRows','registerCtorForType','@univerjs/rpc','now','validateFormula','canDeleteRecord','getAllPermissionPoint','Inject','ObjectPermissionService','@univerjs-pro/engine-formula','_filterRows','BaseHistoryAction','_groupConfigCacheSegment','Invalid\x20object\x20permission\x20batch.','base.viewType.grid','delete','test','has','_getJson1DirtyData','base.command.create-base-field','sequenceExecute','__tempBatchingUndoRedo','setTablePermission','setPoint','14508780utjDVu','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','tables','UNIVER_BASE','_executeSuperTableMutationWhileActive','write','import','exceptions','[BaseField]:\x20invalid\x20date\x20value.','UniverEngineFormula','_bumpTableRevision','base.command.move-base-field','formatToParts','_getSystemFieldValue','BaseJson1.normalizeTables','_univerInstanceService','createBatchCreateRecordsOp','scale','_patchCachedProjectedRows','dashboard/','CustomCommandExecutionError','[BaseField]:\x20invalid\x20rating\x20value.','baseDateSerialToDateMs','deleteRecords','_normalizeCalendarDisplayColor','includeTime','startDateFieldId','validateBaseTableName','-record-','_setViewFieldSetting','end','_setFormulaFieldCells','findIndex','ena','base.command.set-base-record-values','error','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.mutation.','_normalizeCellValue','todo','MoveBaseHierarchyRecordCommand','_createSystemFieldValuePatches','rootRecordIds','multiple','Working\x20day','setRangeValues','PAST_30_DAYS','children','padStart','getTypeOfUnitAdded$','excelDateTimeSerial','separatorStyle','width','undo','week','_createRecordWithDefaults','getPermissionPoint','bases.fieldConfig.textPlaceholder','rowId','_groupsCacheKey','_getStructureDirtyTableIds','endsWith','[BaseFormula]:\x20table\x20does\x20not\x20exist.','rows','entries','Group','order','BaseConditionalColorRuleUpdateType','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','parentFieldName','remove','_canUseFastSort','_formulaCalculationSessionService','UniverCore','getProjection','score','cardLayout','_capabilities','BaseFieldType','oldParentRecordId','[RecordLink]:\x20field\x20config\x20is\x20invalid.','conjunction','base.command.rename-base-view','createEmbedBasesTableRemoveMutation','mode','_runtimeContext','Unchecked','action','createUpdateCellOp','IS_NOT_EMPTY','_isColorfulKanbanGroupField','_registeredSuperTableNames','_baseSyncDisposables','recordNamePrefix','@univerjs/engine-formula','YYYY/MM/DD','mark','uniqueFieldName','getTypeOfUnitDisposed$','base.viewType.gantt','MoveBaseFieldCommand','63dpokeQ','updateCell','invalidateByField','[BaseCommandService]:\x20invalid\x20cell\x20value.','base.command.delete-base-field','DataSyncPrimaryController','IS_NOT','h:mm\x20a','searchBaseTable','SetBasePermissionRulesMutation','maxDepth','base.command.set-base-view-field-width','_normalizeGalleryConfig','_T_','operator','descend','SelfParent','month','_createRecordOrderOp','defineProperty','#14b8a6','getUnit','contains','clear','registerSyncingMutations','slice','every','BASE_HIERARCHY_MAX_LEVELS','medium','474618iXZXiY','_assertFieldDefinition','_dataSyncPrimaryController','lastIndexOf','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','ApplyBaseJson1Mutation','IPermissionService','Currency','Clear','limit','End\x20date','createdAt','_setCachedProjection','base.mutation.set-permission-rules','unshift','SetBaseNameCommand','off','_projectRows','base.command.update-base-cell','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getDependencies','1.5.0','_commandService','_removeSuperTables','beforeCommandExecuted','majorHeaders','DESC','setFieldPermission','embedId','createView','getUTCMonth','_syncSuperTables','SetBaseViewFieldWidthCommand','toPlainText','compose','UTC','unitWidth','parentRecordId','YYYY-MM-DD','name','_permissionService','canCreateRecord','base.field-registry.service','createCreateRecordOp','columns','toString','Progress','members','saveMany','invertWithDoc','BaseProjection.materializeTableRows','InvalidField','BaseConditionalDateMode','allowNegative','base.permission.service','matchAll','selectField','editable','getUTCDay','\x22\x20is\x20not\x20registered.','clearUnit','records','BaseProjection.projectRows','UpdatedBy','tableName','General','SetBaseRangeValuesCommand','delete-view','BEFORE','facade','locale','base.command.set-base-kanban-group-field','dateFormat','edit','group','_title','BaseDataModel','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','UnitObject','_views','unknown','Base\x20edit\x20permission\x20denied.','RenameBaseTableCommand','lessThanOrEqual','RenameBaseViewCommand','PermissionStatus','projection','MM/DD/YYYY','rules','required','_isAllowedKanbanGroupField','getAllBases','getRecordLinkFieldConfig','Cycle','getCurrentUserId','base.viewType.gallery','_isAllDayGanttDateRange','date','_projectGroups','Calendar','base.command.validate-formula','[BaseViewRegistryService]:\x20view\x20type\x20\x22','isBaseRecordIdFieldName','#16a34a','assertBaseTableRecordIdentity','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','clearTablePermission','_formulaCalculationTriggerService','conditionalColoring','BaseField','16FAcZQW','format','this-row','Copy','_calendarEventColor','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','BaseViewType','dateToExcelSerial','dateKit','refactorFormulaUnitQualifier','valid','commaPeriod','https://','Rating','BatchDeleteBaseRecordsCommand','nodes','BaseJson1.json1Apply','-field-name','endDateFieldId','value','_initCommands','version','subType','getAll','getUnitId','updatedBy','CreateBaseChildRecordCommand','views','_fieldRegistry','http:','base.viewType.kanban','Date1900','Formula','_findCalendarDateFieldId','localeCompare','level','person','DeleteBaseRecordCommand','normalizeBaseFieldStatsConfig','missingRecord','UniverLicensePlugin','find','optionSource','base.command.set-base-view-filter','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','validate','recordIds','NUMBER','isInteger','yyyy/mm/dd','fieldIds','createUniqueBaseTableName','UniverProEngineFormula','resolvedOptions','targetTableId','stringify','_materializeGroups','rule','_apply','filter','getBaseConditionalColorOperators','MaxDepth','_syncBaseUnit','call','register','base-perf','SetBasePermissionRuleMutation','then','disposeWithMe','createTable','\x20has\x20unsupported\x20target\x20\x22','BASE_RECORD_ID_FIELD_ID','_applier','undefined','_buildGantt','createRecords','_projectHierarchyGroups','spacePeriod','createIdentifier','invalidateByOp','\x22\x20does\x20not\x20exist.','pattern','base.command.update-base-field-description','_buildKanban','conditions','orderedRecordIds','round','isFinite',':end','4pejnYM','https:','unitData','fieldSettings','quarter','updatedAt','generateRandomId','414518EqUQTm','UpdateBaseFieldCommand','Todo','[BaseCommandService]:\x20cannot\x20delete\x20record.','displayFieldId','[BaseCommandService]:\x20cannot\x20delete\x20table.','toLowerCase','resources','afterFieldId','replaceOp','_getCachedProjection','setSnapshot','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','subtreeEndIndex','diffValue','calendar','COLUMN','config','_projectionCache','_buildGallery','ValidateBaseFormulaCommand','h24','baseRows','basePerf','getBaseDashboardPermissionObjectId','_filterSortFieldIds','UniverInstanceType','formatBaseDateValue','SetBaseViewGroupCommand','[BaseCommandService]:\x20cannot\x20edit\x20table.','usableAsGanttStart','initializeUnit','IBasePermissionService','_projectTableRows','excelSerialToDateTime','blue','all','formatBaseFieldStatValue','kanban','isValidBaseRecordId','valueOf','_injector','canEditCell','BaseConditionalColorTarget','Import','BASE_TABLE_NAME_REQUIREMENTS','@univerjs-pro/bases','createViewId','_withModifiedSystemValues','DeleteBaseViewCommand','Unsupported\x20Base\x20permission\x20action:\x20','card',',,,\x22B\x22','source','leftPaneWidth','setViewFieldVisible','tryMaterializeSnapshot','_patchProjectedRowsForCellInvalidations','recordCount','Facade','_projectedViewRowsCache','push','FormulaCalculationSessionService','timeZone','unitId','UnitAction','Delete','IUniverInstanceService','UpdatedAt','Gantt','recordPatch','Disposable','createCreateFieldOp','parentByRecordId','search','_check','direction','IConfigService','notContains','projectBaseHierarchy','NOT_CONTAINS','Done','_cacheKey','UniverProLicense','setRules','traceBasePerformance','WriteCursor','_resolveKanbanCoverFieldId','globalRevision','selfParent','_tableBaseIds','__base_hierarchy_parent__','SingleSelect','copyBaseTableSnapshot','_tableRevisions','reduce','_isKanbanGroupField','userID','view','redo','CellValueType','replace','Tools','includes','changed','text','attachmentSets','embed-ui','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','_buildCalendar','_getAllBaseDependencyTreeCacheMap','base.command.create-base-table','pluginName','snapshot','primaryFieldId','emitPermissionDenied','@univerjs/protocol','get','EXACT','Attachment','7527160nrypLt','field/','short','CreateView','map','tableOrder','Checkbox','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','_resolveCardTitleFieldId','protocol','progressFieldId','syncUnit','_getKanbanConfiguredLanes','iterator','min','_factory','createRecord','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','missingField','hidden','getBaseFormulaTableName','isArray','max','[BaseCommandService]:\x20cannot\x20create\x20table.','base.view-registry.service','option-','small','sort','createBaseHierarchyParentField','invalidateByView','onStarting','Base','_fastSortRows','none','_formulaSyncQueue','SetBaseViewFilterCommand','_basePermissions','patches','BaseProjection.getProjection','_canEdit','afterViewId','inferBaseSeparatorStyle','depthByRecordId','invalid','Parent','_getViewRevision','tableRevision','base.mutation.apply-base-json1','allocateBaseFormulaTableName','hasOwnProperty','columnSettings','deleteView','Table','defaultValue','fromChangeset','setViewFieldWidth','#BBF7D0','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','BaseCommand.createBatchCreateRecordsOp','addPermissionPoint','SortedView','_groupCellInvalidations','revision','fieldName','user','getBasePermissionValue','set','resolveBaseHierarchyFieldId','CreatedBy','fields','IActiveDirtyManagerService','_applyFormulaResult','options','Export','setHours','Link','BASE_HIERARCHY_PARENT_FIELD_ID','@univerjs/core','invalidReasonByRecordId','getAllUnitsForType','codePointAt','_activeDirtyManagerService','findRecordLinkReferences','createDefaultConfig','result','local','registerCommand','getCapabilities','getBaseTablePermissionObjectId','fieldId','applyOp','duplicateField','_resolveGalleryCardFieldIds','toDisposable','general','childType','day','_getAllTableIds','changeFieldType','134446YjNyml','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','[BaseField]:\x20invalid\x20phone\x20value.','_resolveCalendarDateFieldId','operand','getDay','DeleteBaseFieldCommand','BASE_UNIT_PERMISSION_ACTIONS','primaryFieldName','validateBaseHierarchyRecordPatches','policy','SetBasePermissionCommand','base.command.ensure-base-temporal-view-date-fields','allowDangling','SetBaseTableHierarchyFieldCommand','Comment','updateField','@univerjs-pro/license','table/','markResultApplied','SetTriggerFormulaCalculationStartMutation','setRecordValues','field','onlyLocal','RemoveSuperTableMutation','updatePermissionPoint','abbreviation','NEXT_7_DAYS','_recordIds','false','workingDaysOnly','[BasePerf]\x20','pop','_getTable','_resolveKanbanGroupFieldId','_setObjectEdit','_deleteAttachmentResources','SetSuperTableMutation','Person','getInstance','\x20permission\x20denied.','normalizeBaseDateSerial','object','CreatedAt','isBaseHierarchyField','canEditBaseTargets','base.command.set-base-view-field-order','Number','colId','sum','IBaseCellData.ensureTableCellLayout','_hierarchyIndexCache','CreateBaseFieldCommand','trigger','getBase','_rowTransformCacheSegment','SetBasePermissionsCommand','isNotEmpty','registerView','hierarchy','assign','syncExecuteCommand','\x20has\x20unsupported\x20operator\x20\x22','clearRecordPermission','executeCommand','column','ObjectMatrix','duplicateRecord','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','Use\x2031\x20characters\x20or\x20fewer.','-view-grid','\x20must\x20be\x20an\x20object.','formulaName','getMonth','attachment','Failed\x20to\x20create\x20update\x20cell\x20operation:','Doing','CreateBaseViewCommand','titleFieldId','status','leftPaneCollapsed','clearViewPermission','BASES_PLUGIN','SetFormulaCalculationResultMutation','invalid-characters','abs','SetBaseKanbanGroupFieldCommand','createDefaultBaseTableSnapshot','indexOf','BaseHierarchyError','TOMORROW','_createNumberingAllocator','_normalizeGanttDisplayColor','setBaseName','sortedView','createBaseFormulaTableNameMap','length','_getCurrentUserId','canManageView','SetBaseViewFieldVisibleCommand','base.command.','DeleteBaseTableCommand','invalidDateField','IUndoRedoService','DateSystem','INIT','canCreateTable','setViewGroup','_configService','moveView','getUTCDate','objectId','base.command.duplicate-base-field','groups','serializeRecordLinkIds','_viewPermissions','invalidGanttEndField','_instanceService','pushUndoRedo','table','_kanbanLaneTitle','key','regexp','showFieldNames','BOOLEAN','invalidField','Status','autoIncrement','[RecordLink]:\x20target\x20record\x20\x22','fromPlainText','params','base.command.set-base-view-group','moveField','Grid','getCurrentUnitOfType','Injector','base.command.move-base-view','Kanban','NEXT_30_DAYS','normalizeBaseDateFieldConfig','_ganttBarColor','_registerUnitPermissionPoints','formula','BaseHierarchyInvalidReason'];_0x3857=function(){return _0x358ba0;};return _0x3857();}
|
|
1
|
+
function _0x513b(_0xd2da27,_0x13cfb2){_0xd2da27=_0xd2da27-0xc7;const _0x4784ed=_0x4784();let _0x513be9=_0x4784ed[_0xd2da27];return _0x513be9;}(function(_0xb41031,_0x21298a){const _0x8744c5=_0x513b,_0x595c83=_0xb41031();while(!![]){try{const _0x5df9f8=-parseInt(_0x8744c5(0x2b0))/0x1+-parseInt(_0x8744c5(0x279))/0x2+-parseInt(_0x8744c5(0x342))/0x3+-parseInt(_0x8744c5(0x3dc))/0x4+parseInt(_0x8744c5(0x419))/0x5*(-parseInt(_0x8744c5(0x2d7))/0x6)+-parseInt(_0x8744c5(0x2f4))/0x7+parseInt(_0x8744c5(0x517))/0x8;if(_0x5df9f8===_0x21298a)break;else _0x595c83['push'](_0x595c83['shift']());}catch(_0x5e0f28){_0x595c83['push'](_0x595c83['shift']());}}}(_0x4784,0xc5311),function(_0x3b9a4c,_0x3a3ad8){const _0x41cd4e=_0x513b;typeof exports==_0x41cd4e(0x24f)&&typeof module<'u'?_0x3a3ad8(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x41cd4e(0xfe)&&define['amd']?define(['exports',_0x41cd4e(0x2cc),_0x41cd4e(0x492),'@univerjs/protocol','@univerjs-pro/license','@univerjs/rpc',_0x41cd4e(0x522)],_0x3a3ad8):(_0x3b9a4c=typeof globalThis<'u'?globalThis:_0x3b9a4c||self,_0x3a3ad8(_0x3b9a4c[_0x41cd4e(0x32c)]={},_0x3b9a4c[_0x41cd4e(0x260)],_0x3b9a4c[_0x41cd4e(0x1bf)],_0x3b9a4c[_0x41cd4e(0x1b5)],_0x3b9a4c[_0x41cd4e(0x132)],_0x3b9a4c[_0x41cd4e(0x30f)],_0x3b9a4c[_0x41cd4e(0x366)]));}(this,function(_0x25859f,_0x5708b3,_0x13e179,_0x1f7924,_0x5c2c49,_0x10b317,_0x29ec27){const _0x5a0300=_0x513b;Object[_0x5a0300(0x28b)](_0x25859f,Symbol[_0x5a0300(0x2af)],{'value':_0x5a0300(0x22e)});function _0x4f0b6a(_0x3cf294){const _0x3c863b=_0x5a0300;let _0x148db6=_0x3cf294['config'][_0x3c863b(0x32e)],_0x574b3e=_0x3cf294[_0x3c863b(0x21c)][_0x3c863b(0x504)],_0x23c777=_0x3cf294[_0x3c863b(0x21c)][_0x3c863b(0x26f)],_0x3ad5cf=_0x3cf294[_0x3c863b(0x21c)][_0x3c863b(0x26d)],_0x534504=_0x3cf294['config'][_0x3c863b(0x3f5)];return typeof _0x148db6!=_0x3c863b(0x220)||!_0x148db6||typeof _0x574b3e!=_0x3c863b(0x303)||_0x23c777!==void 0x0&&(typeof _0x23c777!=_0x3c863b(0x220)||!_0x23c777)||_0x534504!==void 0x0&&_0x534504!==_0x5708b3[_0x3c863b(0x2be)]['Parent']||_0x3ad5cf!==void 0x0&&(!Array[_0x3c863b(0x46f)](_0x3ad5cf)||_0x3ad5cf[_0x3c863b(0x2e9)](_0x25908c=>typeof _0x25908c!=_0x3c863b(0x220)||!_0x25908c)||new Set(_0x3ad5cf)[_0x3c863b(0x3a7)]!==_0x3ad5cf[_0x3c863b(0x211)])?null:{'targetTableId':_0x148db6,'multiple':_0x574b3e,..._0x23c777?{'displayFieldId':_0x23c777}:{},..._0x3ad5cf?{'pickerFieldIds':[..._0x3ad5cf]}:{},..._0x534504?{'relationRole':_0x534504}:{}};}function _0x3f92ff(_0x559098){return typeof _0x559098!='string'||_0x559098===''?[]:_0x559098['split'](',');}function _0x42b6ec(_0x4762fa){const _0x2b9605=_0x5a0300;return Array[_0x2b9605(0x2d6)](new Set(_0x4762fa))['join'](',');}function _0x1dd94b(_0x1165a0,_0x47b44e){const _0x2bf4b1=_0x5a0300;if(typeof _0x1165a0!=_0x2bf4b1(0x220))return{'valid':!0x1,'reason':_0x2bf4b1(0x4df)};if(_0x1165a0==='')return{'valid':!0x0};let _0x1bbe56=_0x1165a0[_0x2bf4b1(0x409)](',');return!_0x47b44e&&_0x1bbe56['length']>0x1?{'valid':!0x1,'reason':_0x2bf4b1(0x471)}:_0x1bbe56['some'](_0x576f7b=>!(0x0,_0x5708b3[_0x2bf4b1(0x1e3)])(_0x576f7b))||new Set(_0x1bbe56)[_0x2bf4b1(0x3a7)]!==_0x1bbe56[_0x2bf4b1(0x211)]||_0x42b6ec(_0x1bbe56)!==_0x1165a0?{'valid':!0x1,'reason':_0x2bf4b1(0x311)}:{'valid':!0x0};}function _0x8d397b(_0x58764f,_0x4b8663){const _0xbd88b7=_0x5a0300;if(_0x4b8663['type']!==_0x5708b3[_0xbd88b7(0x2f3)]['RecordLink'])return{'valid':!0x0};let _0x4334b4=_0x4f0b6a(_0x4b8663),_0x3fc208=_0x4334b4?_0x58764f[_0xbd88b7(0x18e)][_0x4334b4[_0xbd88b7(0x32e)]]:void 0x0;if(!_0x4334b4||!_0x3fc208)return{'valid':!0x1,'reason':_0xbd88b7(0x466)};let _0x4e80c2=[..._0x4334b4[_0xbd88b7(0x26f)]?[_0x4334b4[_0xbd88b7(0x26f)]]:[],..._0x4334b4[_0xbd88b7(0x26d)]??[]]['find'](_0x473c20=>{const _0x2c1191=_0xbd88b7;let _0x1030f4=_0x3fc208[_0x2c1191(0x527)][_0x473c20];return!_0x1030f4||_0x1030f4[_0x2c1191(0x326)]===!0x0||_0x1030f4[_0x2c1191(0x131)]===_0x5708b3['BaseFieldType'][_0x2c1191(0x452)];});return _0x4e80c2?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0x4e80c2+'\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.'}:{'valid':!0x0};}function _0x5c11b8(_0x468ba7,_0x252da1,_0x49dba7,_0x243901={}){const _0x1bbe3b=_0x5a0300;let _0x5b715c=_0x4f0b6a(_0x252da1);if(_0x252da1[_0x1bbe3b(0x131)]!==_0x5708b3[_0x1bbe3b(0x2f3)][_0x1bbe3b(0x3fb)]||!_0x5b715c)return{'valid':!0x1,'reason':_0x1bbe3b(0x1f4)};let _0x4fc31a=_0x1dd94b(_0x49dba7,_0x5b715c[_0x1bbe3b(0x504)]);if(!_0x4fc31a[_0x1bbe3b(0x150)]||_0x243901[_0x1bbe3b(0x282)])return _0x4fc31a;let _0x3f517e=_0x468ba7[_0x1bbe3b(0x18e)][_0x5b715c[_0x1bbe3b(0x32e)]];if(!_0x3f517e)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x58392e=_0x3f92ff(_0x49dba7)[_0x1bbe3b(0x1ab)](_0x3ad985=>!_0x3f517e[_0x1bbe3b(0x457)][_0x3ad985]);return _0x58392e?{'valid':!0x1,'reason':_0x1bbe3b(0xdd)+_0x58392e+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x2c9d26(_0x46609e,_0x321391){const _0x210abd=_0x5a0300;return Object[_0x210abd(0x253)](_0x46609e['tables'])['flatMap'](_0x396f36=>Object[_0x210abd(0x253)](_0x396f36[_0x210abd(0x527)])[_0x210abd(0x375)](_0x2c6d5e=>{const _0x989104=_0x210abd;let _0x587b34=_0x2c6d5e['type']===_0x5708b3[_0x989104(0x2f3)][_0x989104(0x3fb)]?_0x4f0b6a(_0x2c6d5e):null;return(_0x587b34==null?void 0x0:_0x587b34[_0x989104(0x32e)])===_0x321391?[{'tableId':_0x396f36['id'],'fieldId':_0x2c6d5e['id']}]:[];}));}let _0x47e447=_0x5a0300(0x1e6),_0x46562b=function(_0x5bc756){const _0x5970c1=_0x5a0300;return _0x5bc756[_0x5970c1(0x4f5)]=_0x5970c1(0x1f6),_0x5bc756[_0x5970c1(0x1e5)]='missingRecord',_0x5bc756[_0x5970c1(0x17a)]='selfParent',_0x5bc756['Cycle']='cycle',_0x5bc756[_0x5970c1(0x34c)]=_0x5970c1(0x19f),_0x5bc756[_0x5970c1(0x48f)]=_0x5970c1(0x100),_0x5bc756;}({});var _0x3e2468=class extends Error{constructor(_0x351d3a,_0x55e6e8=_0x5a0300(0xfc)+_0x351d3a){const _0x56e2a2=_0x5a0300;super(_0x55e6e8),this[_0x56e2a2(0x127)]=_0x351d3a,this[_0x56e2a2(0x3b4)]=_0x56e2a2(0x18f);}};let _0x1c49e2=function(_0x40bc99){const _0x1e4044=_0x5a0300;return _0x40bc99['UI']='ui',_0x40bc99['Facade']=_0x1e4044(0x278),_0x40bc99[_0x1e4044(0x4ba)]=_0x1e4044(0xfb),_0x40bc99[_0x1e4044(0x434)]=_0x1e4044(0x328),_0x40bc99['Redo']='redo',_0x40bc99[_0x1e4044(0x20e)]='import',_0x40bc99;}({});function _0x40aa86(_0x4611f1,_0x37e0f7){const _0x2b4236=_0x5a0300;if(!_0x37e0f7)return!0x1;let _0x4b9cc5=_0x4611f1[_0x2b4236(0x527)][_0x37e0f7];if(!_0x4b9cc5||_0x4b9cc5[_0x2b4236(0x131)]!==_0x5708b3['BaseFieldType'][_0x2b4236(0x3fb)])return!0x1;let _0x2868c6=_0x4f0b6a(_0x4b9cc5);return _0x2868c6?_0x2868c6[_0x2b4236(0x32e)]===_0x4611f1['id']&&_0x2868c6[_0x2b4236(0x504)]===!0x1:!0x1;}function _0x13f8f5(_0x5bce28){const _0xd5550a=_0x5a0300;return[..._0x5bce28[_0xd5550a(0x286)],...Object['keys'](_0x5bce28[_0xd5550a(0x527)])['filter'](_0x3aa08b=>!_0x5bce28[_0xd5550a(0x286)]['includes'](_0x3aa08b))[_0xd5550a(0x3c8)]()][_0xd5550a(0x1ab)](_0x1189e7=>{const _0x408940=_0xd5550a;var _0x3bf44c;return _0x40aa86(_0x5bce28,_0x1189e7)?((_0x3bf44c=_0x4f0b6a(_0x5bce28['fields'][_0x1189e7]))==null?void 0x0:_0x3bf44c['relationRole'])===_0x5708b3['BaseRecordLinkRole'][_0x408940(0x441)]:!0x1;})??null;}function _0x572b51(_0x3dd22a){const _0x1fb395=_0x5a0300;let _0x4a9a84=_0x13f8f5(_0x3dd22a);if(_0x4a9a84)return _0x4a9a84;let _0xf08bee=_0x47e447,_0x23f8db=0x2;for(;_0x3dd22a[_0x1fb395(0x527)][_0xf08bee];)_0xf08bee=_0x47e447+'_'+_0x23f8db++;return _0xf08bee;}function _0x54f67e(_0x3abb40,_0x112c12=_0x572b51(_0x3abb40),_0x3a4b59=_0x5a0300(0x493)){const _0x3e6e4d=_0x5a0300;return{'id':_0x112c12,'name':_0x3a4b59,'type':_0x5708b3[_0x3e6e4d(0x2f3)][_0x3e6e4d(0x3fb)],'config':{'targetTableId':_0x3abb40['id'],'multiple':!0x1,'displayFieldId':_0x3abb40[_0x3e6e4d(0xf2)],'pickerFieldIds':[_0x3abb40[_0x3e6e4d(0xf2)]],'relationRole':_0x5708b3[_0x3e6e4d(0x2be)][_0x3e6e4d(0x441)]}};}function _0x51c474(_0x2eaf60){let _0xdf3a56=_0x13f8f5(_0x2eaf60);return _0xdf3a56?[_0xdf3a56]:[];}function _0x34c079(_0x1b6617,_0x570c48){const _0x3e48c5=_0x5a0300;let _0x1d0f71=[..._0x51c474(_0x1b6617)]['filter'](_0x415e4f=>_0x570c48[_0x3e48c5(0x2e9)](_0x406ac0=>Object[_0x3e48c5(0x3ed)]['hasOwnProperty'][_0x3e48c5(0x1bb)](_0x406ac0[_0x3e48c5(0x253)],_0x415e4f)));if(!_0x1d0f71[_0x3e48c5(0x211)])return[];let _0x2cd4e9={..._0x1b6617[_0x3e48c5(0x457)]};_0x570c48[_0x3e48c5(0x11c)](_0x4ece7c=>{const _0x4bd5fe=_0x3e48c5;let _0x32b438=_0x2cd4e9[_0x4ece7c[_0x4bd5fe(0x34b)]];_0x32b438&&(_0x2cd4e9[_0x4ece7c['recordId']]={..._0x32b438,'values':{..._0x32b438[_0x4bd5fe(0x253)],..._0x4ece7c['values']}});});let _0x23bebb={..._0x1b6617,'records':_0x2cd4e9},_0x1c3930=[];return _0x1d0f71[_0x3e48c5(0x11c)](_0x39c1b3=>{const _0x38e8ac=_0x3e48c5;let _0xcef7b7=_0x3fc285(_0x1b6617,_0x39c1b3),_0x551b18=_0x3fc285(_0x23bebb,_0x39c1b3);for(let [_0x1b904c,_0x3aefe4]of _0x551b18[_0x38e8ac(0x30a)]){let _0x1206e0=_0x570c48['some'](_0x343861=>_0x343861[_0x38e8ac(0x34b)]===_0x1b904c&&Object['prototype'][_0x38e8ac(0x523)][_0x38e8ac(0x1bb)](_0x343861[_0x38e8ac(0x253)],_0x39c1b3));if(_0xcef7b7[_0x38e8ac(0x30a)][_0x38e8ac(0x387)](_0x1b904c)!==_0x3aefe4||_0x1206e0)throw new _0x3e2468(_0x37cdfb(_0x3aefe4));}_0x570c48[_0x38e8ac(0x11c)](_0x17dd37=>{const _0x26f9db=_0x38e8ac;if(!Object[_0x26f9db(0x3ed)]['hasOwnProperty'][_0x26f9db(0x1bb)](_0x17dd37[_0x26f9db(0x253)],_0x39c1b3))return;let _0x51fbb4=_0xcef7b7[_0x26f9db(0x4c1)]['get'](_0x17dd37[_0x26f9db(0x34b)])??null,_0x296aaf=_0x551b18[_0x26f9db(0x4c1)]['get'](_0x17dd37[_0x26f9db(0x34b)])??null;_0x51fbb4!==_0x296aaf&&_0x1c3930[_0x26f9db(0x4a3)]({'tableId':_0x1b6617['id'],'fieldId':_0x39c1b3,'recordId':_0x17dd37[_0x26f9db(0x34b)],'oldParentRecordId':_0x51fbb4,'parentRecordId':_0x296aaf});});}),_0x1c3930;}function _0x5eb2ae(_0x2ae377,_0x47a1cf){const _0x2e7be9=_0x5a0300;let _0x15679d=_0x47a1cf[_0x2e7be9(0x447)](_0x2bf1e8=>_0x2bf1e8['id']);if(new Set(_0x15679d)[_0x2e7be9(0x3a7)]!==_0x15679d[_0x2e7be9(0x211)]||_0x15679d['some'](_0x1e6baa=>_0x2ae377[_0x2e7be9(0x457)][_0x1e6baa]))return[];let _0x2f27e4=_0x51c474(_0x2ae377),_0x372bf6=_0x2f27e4[_0x2e7be9(0x211)]?null:_0x572b51(_0x2ae377),_0x26505a=[..._0x2f27e4,..._0x372bf6&&_0x47a1cf['some'](_0x2ae63b=>Object[_0x2e7be9(0x3ed)]['hasOwnProperty'][_0x2e7be9(0x1bb)](_0x2ae63b[_0x2e7be9(0x253)],_0x372bf6))?[_0x372bf6]:[]][_0x2e7be9(0x22b)](_0x417523=>_0x47a1cf['some'](_0x27333b=>Object[_0x2e7be9(0x3ed)][_0x2e7be9(0x523)]['call'](_0x27333b[_0x2e7be9(0x253)],_0x417523)));if(!_0x26505a[_0x2e7be9(0x211)])return[];let _0x1b9bd1={..._0x2ae377,'records':{..._0x2ae377[_0x2e7be9(0x457)],...Object['fromEntries'](_0x47a1cf['map'](_0xc6c34c=>[_0xc6c34c['id'],_0xc6c34c]))},'recordOrder':[..._0x2ae377[_0x2e7be9(0x317)]??[],..._0x47a1cf[_0x2e7be9(0x447)](_0x4560d7=>_0x4560d7['id'])]},_0x4a7c78=[];return _0x26505a[_0x2e7be9(0x11c)](_0x332c96=>{const _0x4f4a74=_0x2e7be9;let _0x25cb05=_0x3fc285(_0x1b9bd1,_0x332c96);_0x47a1cf[_0x4f4a74(0x11c)](_0x4e80c0=>{const _0x2ba474=_0x4f4a74;let _0x51ca2d=_0x25cb05[_0x2ba474(0x30a)]['get'](_0x4e80c0['id']);if(_0x51ca2d)throw new _0x3e2468(_0x37cdfb(_0x51ca2d));let _0x1973c8=_0x25cb05[_0x2ba474(0x4c1)][_0x2ba474(0x387)](_0x4e80c0['id'])??null;_0x1973c8&&_0x4a7c78['push']({'tableId':_0x2ae377['id'],'fieldId':_0x332c96,'recordId':_0x4e80c0['id'],'oldParentRecordId':null,'parentRecordId':_0x1973c8});});}),_0x4a7c78;}function _0x37cdfb(_0x1ab84e){const _0x234982=_0x5a0300;switch(_0x1ab84e){case _0x5708b3[_0x234982(0x3c3)][_0x234982(0x322)]:return _0x234982(0x4d5);case _0x5708b3[_0x234982(0x3c3)][_0x234982(0x17a)]:return'selfParent';case _0x5708b3[_0x234982(0x3c3)][_0x234982(0x203)]:return'cycle';case _0x5708b3[_0x234982(0x3c3)]['MaxDepth']:return _0x234982(0x19f);}}function _0x31d0de(_0x3a1769,_0x2de2be){const _0x4d9e8a=_0x5a0300;let _0x38935c=new Set(_0x2de2be),_0x36161e=_0x51c474(_0x3a1769);return Object['values'](_0x3a1769[_0x4d9e8a(0x457)])[_0x4d9e8a(0x375)](_0x314679=>_0x38935c[_0x4d9e8a(0x4d4)](_0x314679['id'])?[]:Array['from'](_0x36161e)['flatMap'](_0x3a9b33=>{const _0x5349a=_0x4d9e8a;let _0x3e4996=_0x3f92ff(_0x314679[_0x5349a(0x253)][_0x3a9b33])[0x0]??null;return _0x3e4996&&_0x38935c['has'](_0x3e4996)?[{'tableId':_0x3a1769['id'],'fieldId':_0x3a9b33,'recordId':_0x314679['id'],'oldParentRecordId':_0x3e4996,'parentRecordId':null}]:[];}));}function _0x3fc285(_0x22b434,_0x481acf,_0x421f7c=_0x22b434[_0x5a0300(0x317)]??Object[_0x5a0300(0x4dd)](_0x22b434[_0x5a0300(0x457)])){const _0x431f90=_0x5a0300;if((_0x22b434[_0x431f90(0x527)][_0x481acf]||_0x481acf!==_0x572b51(_0x22b434))&&!_0x40aa86(_0x22b434,_0x481acf))throw Error('[BaseHierarchy]:\x20field\x20\x22'+_0x481acf+_0x431f90(0x3e5));let _0x243896=_0x2aeede(_0x22b434,_0x421f7c),_0x5b11c9=new Map(),_0x250d79=new Map();for(let _0xa540db of _0x243896){var _0x2130cd;let _0x5c9c82=_0x3f92ff((_0x2130cd=_0x22b434['records'][_0xa540db])==null?void 0x0:_0x2130cd[_0x431f90(0x253)][_0x481acf])[0x0]??null;_0x5c9c82?_0x5c9c82===_0xa540db?(_0x5b11c9[_0x431f90(0x289)](_0xa540db,null),_0x250d79[_0x431f90(0x289)](_0xa540db,_0x5708b3['BaseHierarchyInvalidReason']['SelfParent'])):_0x22b434['records'][_0x5c9c82]?_0x5b11c9[_0x431f90(0x289)](_0xa540db,_0x5c9c82):(_0x5b11c9[_0x431f90(0x289)](_0xa540db,null),_0x250d79[_0x431f90(0x289)](_0xa540db,_0x5708b3[_0x431f90(0x3c3)][_0x431f90(0x322)])):_0x5b11c9[_0x431f90(0x289)](_0xa540db,null);}_0x2e86d2(_0x5b11c9,_0x250d79,_0x243896),_0x257ed0(_0x5b11c9,_0x250d79,_0x243896);let _0x2be4df=new Map(_0x243896['map']((_0x547da2,_0x46eb8f)=>[_0x547da2,_0x46eb8f])),_0x38c79c=new Map();for(let _0xcf7e64 of _0x243896){let _0x3a94ff=_0x5b11c9[_0x431f90(0x387)](_0xcf7e64)??null,_0x45e456=_0x38c79c['get'](_0x3a94ff)??[];_0x45e456['push'](_0xcf7e64),_0x38c79c[_0x431f90(0x289)](_0x3a94ff,_0x45e456);}_0x38c79c[_0x431f90(0x11c)](_0x5e5c3a=>_0x5e5c3a[_0x431f90(0x3c8)]((_0x5f07fd,_0x5473fc)=>(_0x2be4df[_0x431f90(0x387)](_0x5f07fd)??0x0)-(_0x2be4df[_0x431f90(0x387)](_0x5473fc)??0x0)));let _0x556a11=_0x38c79c[_0x431f90(0x387)](null)??[],_0x292ece=new Map(),_0x335b00=new Map(),_0x36c5d5=[],_0x2cf50f=(_0x14f6fd,_0x3031a7)=>{const _0x4b76c9=_0x431f90;_0x292ece[_0x4b76c9(0x289)](_0x14f6fd,_0x3031a7),_0x36c5d5[_0x4b76c9(0x4a3)](_0x14f6fd);let _0x306fe1=0x0;for(let _0x1d9283 of _0x38c79c['get'](_0x14f6fd)??[])_0x306fe1=Math[_0x4b76c9(0x2a0)](_0x306fe1,0x1+_0x2cf50f(_0x1d9283,_0x3031a7+0x1));return _0x335b00[_0x4b76c9(0x289)](_0x14f6fd,_0x306fe1),_0x306fe1;};return _0x556a11['forEach'](_0x1e7b32=>_0x2cf50f(_0x1e7b32,0x0)),{'fieldId':_0x481acf,'parentByRecordId':_0x5b11c9,'childrenByParentId':_0x38c79c,'depthByRecordId':_0x292ece,'subtreeHeightByRecordId':_0x335b00,'invalidReasonByRecordId':_0x250d79,'rootRecordIds':_0x556a11,'orderedRecordIds':_0x36c5d5};}function _0x240b61(_0x5a1be0,_0x431e75,_0x1ab6d5=new Set(_0x431e75[_0x5a0300(0x447)](_0xd4666a=>_0xd4666a[_0x5a0300(0x34b)]))){const _0x3721aa=_0x5a0300;let _0x3a4abe=new Set(_0x1ab6d5);for(let _0x3cc4d1 of _0x1ab6d5){let _0x3e35a2=_0x5a1be0[_0x3721aa(0x4c1)][_0x3721aa(0x387)](_0x3cc4d1)??null;for(;_0x3e35a2;)_0x3a4abe[_0x3721aa(0x152)](_0x3e35a2),_0x3e35a2=_0x5a1be0[_0x3721aa(0x4c1)][_0x3721aa(0x387)](_0x3e35a2)??null;}let _0x5c46e5=new Map(_0x431e75[_0x3721aa(0x447)](_0x2007a1=>[_0x2007a1[_0x3721aa(0x34b)],_0x2007a1])),_0x3fa0f4=_0x5a1be0['orderedRecordIds']['filter'](_0x1fc592=>_0x3a4abe[_0x3721aa(0x4d4)](_0x1fc592)),_0x485f81=_0x3fa0f4[_0x3721aa(0x375)](_0x43fb3a=>{const _0x216b96=_0x3721aa;let _0x43aa77=_0x5c46e5[_0x216b96(0x387)](_0x43fb3a);return _0x43aa77?[_0x43aa77]:[];}),_0x563ef6={};for(let _0xc116db=0x0;_0xc116db<_0x3fa0f4['length'];_0xc116db++){let _0x1b4d87=_0x3fa0f4[_0xc116db];_0x563ef6[_0x1b4d87]={'recordId':_0x1b4d87,'parentRecordId':_0x5a1be0[_0x3721aa(0x4c1)][_0x3721aa(0x387)](_0x1b4d87)??null,'depth':_0x5a1be0[_0x3721aa(0x2a1)][_0x3721aa(0x387)](_0x1b4d87)??0x0,'directChildCount':(_0x5a1be0[_0x3721aa(0x1f7)][_0x3721aa(0x387)](_0x1b4d87)??[])['length'],'subtreeHeight':_0x5a1be0[_0x3721aa(0x512)][_0x3721aa(0x387)](_0x1b4d87)??0x0,'subtreeEndIndex':_0xc116db,'invalidReason':_0x5a1be0['invalidReasonByRecordId'][_0x3721aa(0x387)](_0x1b4d87)};}let _0x8c444a=[];for(let _0x488cba=0x0;_0x488cba<_0x3fa0f4['length'];_0x488cba++){let _0x27e5cf=_0x3fa0f4[_0x488cba],_0x2cc859=_0x563ef6[_0x27e5cf][_0x3721aa(0x267)];for(;_0x8c444a[_0x3721aa(0x211)]&&_0x8c444a[_0x8c444a[_0x3721aa(0x211)]-0x1][_0x3721aa(0x267)]>=_0x2cc859;){let _0x6c4955=_0x8c444a['pop']();_0x563ef6[_0x6c4955[_0x3721aa(0x34b)]][_0x3721aa(0x4a5)]=_0x488cba-0x1;}_0x8c444a[_0x3721aa(0x4a3)]({'recordId':_0x27e5cf,'depth':_0x2cc859});}return _0x8c444a['forEach'](({recordId:_0x401f23})=>{const _0x3bf96a=_0x3721aa;_0x563ef6[_0x401f23][_0x3bf96a(0x4a5)]=_0x3fa0f4[_0x3bf96a(0x211)]-0x1;}),{'rows':_0x485f81,'hierarchy':{'fieldId':_0x5a1be0[_0x3721aa(0x236)],'rootRecordIds':_0x5a1be0[_0x3721aa(0x192)][_0x3721aa(0x22b)](_0x472225=>_0x3a4abe[_0x3721aa(0x4d4)](_0x472225)),'orderedRecordIds':_0x3fa0f4,'nodes':_0x563ef6}};}function _0x26298b(_0x213807,_0x33b6c6){const _0x2b9ca2=_0x5a0300;if(!_0x213807[_0x2b9ca2(0x2f8)]||!(_0x33b6c6!=null&&_0x33b6c6[_0x2b9ca2(0x3a7)]))return _0x213807[_0x2b9ca2(0x1d5)];let _0x38aa43=[],_0x2fb8b2=0x0;for(;_0x2fb8b2<_0x213807['rows'][_0x2b9ca2(0x211)];){let _0x3322e5=_0x213807[_0x2b9ca2(0x1d5)][_0x2fb8b2];_0x38aa43[_0x2b9ca2(0x4a3)](_0x3322e5);let _0x816726=_0x213807['hierarchy']['nodes'][_0x3322e5[_0x2b9ca2(0x34b)]];_0x2fb8b2=_0x33b6c6['has'](_0x3322e5[_0x2b9ca2(0x34b)])&&_0x816726?_0x816726[_0x2b9ca2(0x4a5)]+0x1:_0x2fb8b2+0x1;}return _0x38aa43;}function _0x173b14(_0x47a288,_0x242f5a,_0x1f8c01){const _0x4a975e=_0x5a0300;if(!_0x1f8c01)return{'valid':!0x0};if(_0x242f5a===_0x1f8c01)return{'valid':!0x1,'reason':_0x5708b3[_0x4a975e(0x3c3)][_0x4a975e(0x17a)]};let _0x375270=_0x1f8c01;for(;_0x375270;){if(_0x375270===_0x242f5a)return{'valid':!0x1,'reason':_0x5708b3[_0x4a975e(0x3c3)][_0x4a975e(0x203)]};_0x375270=_0x47a288[_0x4a975e(0x4c1)][_0x4a975e(0x387)](_0x375270)??null;}return(_0x47a288['depthByRecordId'][_0x4a975e(0x387)](_0x1f8c01)??0x0)+0x1+(_0x47a288[_0x4a975e(0x512)][_0x4a975e(0x387)](_0x242f5a)??0x0)>=0x5?{'valid':!0x1,'reason':_0x5708b3['BaseHierarchyInvalidReason'][_0x4a975e(0x34c)]}:{'valid':!0x0};}function _0x2aeede(_0x2edf2b,_0x28f527){const _0x22c525=_0x5a0300;let _0x5bd1d1=new Set(),_0x67196c=[];for(let _0xe9fc6 of _0x28f527)_0x2edf2b[_0x22c525(0x457)][_0xe9fc6]&&!_0x5bd1d1[_0x22c525(0x4d4)](_0xe9fc6)&&(_0x5bd1d1[_0x22c525(0x152)](_0xe9fc6),_0x67196c[_0x22c525(0x4a3)](_0xe9fc6));return Object[_0x22c525(0x4dd)](_0x2edf2b[_0x22c525(0x457)])['sort']()[_0x22c525(0x11c)](_0x2b6f89=>{const _0x214230=_0x22c525;_0x5bd1d1['has'](_0x2b6f89)||_0x67196c[_0x214230(0x4a3)](_0x2b6f89);}),_0x67196c;}function _0x2e86d2(_0x47db43,_0x3ac6f4,_0x501614){const _0x5e13d3=_0x5a0300;let _0x40c199=new Set();for(let _0x27b21e of _0x501614){if(_0x40c199[_0x5e13d3(0x4d4)](_0x27b21e))continue;let _0x10dc20=[],_0x5abf85=new Map(),_0x372528=_0x27b21e;for(;_0x372528&&!_0x40c199[_0x5e13d3(0x4d4)](_0x372528);){let _0xbe2a26=_0x5abf85[_0x5e13d3(0x387)](_0x372528);if(_0xbe2a26!=null){let _0x5eea56=[..._0x10dc20[_0x5e13d3(0x51b)](_0xbe2a26)][_0x5e13d3(0x3c8)]()[_0x5e13d3(0x390)]();_0x47db43[_0x5e13d3(0x289)](_0x5eea56,null),_0x3ac6f4['set'](_0x5eea56,_0x5708b3['BaseHierarchyInvalidReason'][_0x5e13d3(0x203)]);break;}_0x5abf85['set'](_0x372528,_0x10dc20[_0x5e13d3(0x211)]),_0x10dc20[_0x5e13d3(0x4a3)](_0x372528),_0x372528=_0x47db43['get'](_0x372528)??null;}_0x10dc20[_0x5e13d3(0x11c)](_0x10f8ff=>_0x40c199['add'](_0x10f8ff));}}function _0x257ed0(_0x3c62b2,_0x4d06b8,_0x22ea53){const _0x3f565b=_0x5a0300;let _0x525b5f=new Map(),_0x4ef7cb=_0x57fb18=>{const _0x5d31c6=_0x513b;let _0x277fce=_0x525b5f[_0x5d31c6(0x387)](_0x57fb18);if(_0x277fce!=null)return _0x277fce;let _0x1c2ab9=_0x3c62b2[_0x5d31c6(0x387)](_0x57fb18)??null;if(!_0x1c2ab9)return _0x525b5f[_0x5d31c6(0x289)](_0x57fb18,0x0),0x0;let _0x31f80a=_0x4ef7cb(_0x1c2ab9)+0x1;return _0x31f80a>=0x5?(_0x3c62b2[_0x5d31c6(0x289)](_0x57fb18,null),_0x4d06b8[_0x5d31c6(0x289)](_0x57fb18,_0x5708b3[_0x5d31c6(0x3c3)]['MaxDepth']),_0x525b5f['set'](_0x57fb18,0x0),0x0):(_0x525b5f[_0x5d31c6(0x289)](_0x57fb18,_0x31f80a),_0x31f80a);};_0x22ea53[_0x3f565b(0x11c)](_0x4ef7cb);}let _0x2459b6=0x0;function _0x52f645(){const _0x2c9cca=_0x5a0300;if(globalThis[_0x2c9cca(0x364)]===!0x0)return!0x0;try{let _0x4fcf9b=typeof location>'u'?'':location['search'],_0x1988ea=new URLSearchParams(_0x4fcf9b);if(_0x1988ea[_0x2c9cca(0x387)](_0x2c9cca(0x2a5))==='1'||_0x1988ea[_0x2c9cca(0x387)]('basePerf')===_0x2c9cca(0x2b2)||_0x1988ea[_0x2c9cca(0x387)](_0x2c9cca(0x233))==='1')return!0x0;}catch{}try{let _0x14a3a2=typeof localStorage>'u'?null:localStorage[_0x2c9cca(0x4d2)](_0x2c9cca(0x2da));return _0x14a3a2==='1'||_0x14a3a2===_0x2c9cca(0x2b2);}catch{return!0x1;}}function _0x4f055a(_0xf9c623,_0xbddd9a,_0x442702){const _0x1caa27=_0x5a0300;if(!_0x52f645())return _0xbddd9a();let _0x39c433=_0x5b2844(),_0x40f9a1='base-perf-'+_0x2459b6++;_0x2f35e3(_0x40f9a1+':start');try{return _0xbddd9a();}finally{let _0x370394=_0x5b2844()-_0x39c433;_0x2f35e3(_0x40f9a1+_0x1caa27(0x36f)),_0x208237(_0xf9c623,_0x40f9a1+_0x1caa27(0x14e),_0x40f9a1+_0x1caa27(0x36f)),_0x3db1b9(_0xf9c623,_0x370394,_0x442702);}}function _0x3db1b9(_0x2f4b8a,_0x375ea3,_0x22e6dd){const _0x2f7dcc=_0x5a0300;if(!_0x52f645())return;let _0x4ea0ba=Math[_0x2f7dcc(0x1c6)](_0x375ea3*0x64)/0x64,_0x1cfe25=_0x22e6dd&&Object['keys'](_0x22e6dd)[_0x2f7dcc(0x211)]?'\x20'+JSON[_0x2f7dcc(0x494)](_0x22e6dd):'';console[_0x2f7dcc(0x229)](_0x2f7dcc(0x1b1)+_0x2f4b8a+':\x20'+_0x4ea0ba+'ms'+_0x1cfe25);}function _0x5b2844(){return typeof performance<'u'&&typeof performance['now']=='function'?performance['now']():Date['now']();}function _0x2f35e3(_0x399dd9){const _0x3c5592=_0x5a0300;try{if(typeof performance<'u'){var _0x22f06a,_0x2c143d;(_0x22f06a=(_0x2c143d=performance)[_0x3c5592(0x136)])==null||_0x22f06a[_0x3c5592(0x1bb)](_0x2c143d,_0x399dd9);}}catch{}}function _0x208237(_0x5dbbad,_0x2dc5d1,_0x41136e){const _0x5413a7=_0x5a0300;try{if(typeof performance<'u'){var _0x1328ee,_0x3e8f58;(_0x1328ee=(_0x3e8f58=performance)[_0x5413a7(0x108)])==null||_0x1328ee[_0x5413a7(0x1bb)](_0x3e8f58,_0x5413a7(0x1b1)+_0x5dbbad,_0x2dc5d1,_0x41136e);}}catch{}}function _0x2a5ea4(_0x364e2f){const _0x8a0c65=_0x5a0300;var _0x4b574d;return _0x52f645()?_0x4f055a('IBaseCellData.ensureTableCellLayout',()=>_0x3a616f(_0x364e2f),{'tableId':_0x364e2f['id'],'records':Object[_0x8a0c65(0x4dd)](_0x364e2f['records']??{})[_0x8a0c65(0x211)],'fields':_0x364e2f[_0x8a0c65(0x286)][_0x8a0c65(0x211)],'hasRecordOrder':!!((_0x4b574d=_0x364e2f[_0x8a0c65(0x317)])!=null&&_0x4b574d[_0x8a0c65(0x211)])}):_0x3a616f(_0x364e2f);}function _0x3a616f(_0x254dc1){const _0x409f1d=_0x5a0300;var _0x1af6a2;let _0x5a4c45=_0x254dc1[_0x409f1d(0x457)]??{},_0x2d736d=_0x254dc1[_0x409f1d(0x527)]??{},_0x4eb447=((_0x1af6a2=_0x254dc1[_0x409f1d(0x317)])==null?void 0x0:_0x1af6a2[_0x409f1d(0x22b)](_0x271c7f=>_0x5a4c45[_0x271c7f]))??[],_0x2b4bd6=new Set(_0x4eb447),_0x38f3cc=[];for(let _0x2e6f77 of Object[_0x409f1d(0x253)](_0x5a4c45))_0x2b4bd6[_0x409f1d(0x4d4)](_0x2e6f77['id'])||_0x38f3cc[_0x409f1d(0x4a3)](_0x2e6f77);let _0x4defdb=_0x38f3cc['length']?[..._0x4eb447,..._0x2941d1(_0x38f3cc)]:_0x4eb447,_0x2189f0=_0x254dc1[_0x409f1d(0x286)][_0x409f1d(0x22b)](_0x3c14f5=>_0x2d736d[_0x3c14f5]),_0x3609a7={..._0x254dc1[_0x409f1d(0x2ee)]??{}},_0x2ef1c9={..._0x254dc1[_0x409f1d(0x315)]??{}},_0x1a75cd={..._0x254dc1['cellData']??{}};_0x254dc1[_0x409f1d(0x317)]=_0x4defdb,_0x254dc1[_0x409f1d(0x1eb)]={},_0x254dc1[_0x409f1d(0x2ee)]={},_0x254dc1[_0x409f1d(0x336)]={},_0x254dc1[_0x409f1d(0x315)]={},_0x254dc1[_0x409f1d(0x497)]={},_0x254dc1[_0x409f1d(0x25b)]={..._0x254dc1['resources']??{}},_0x254dc1[_0x409f1d(0x25b)][_0x409f1d(0x463)]={..._0x254dc1['resources'][_0x409f1d(0x463)]??{}},_0x254dc1[_0x409f1d(0x25b)]['attachments']={..._0x254dc1['resources'][_0x409f1d(0x198)]??{}};let _0x158e10=_0x254dc1['rowIndex'],_0x4b14c6=_0x254dc1[_0x409f1d(0x2ee)],_0x50120c=_0x254dc1[_0x409f1d(0x336)],_0x3948b8=_0x254dc1[_0x409f1d(0x315)],_0xf30f3f=_0x254dc1['cellData'];return _0x4defdb[_0x409f1d(0x11c)]((_0x338133,_0x576772)=>{_0x158e10[_0x338133]=_0x576772,_0x4b14c6[_0x576772]=_0x338133;}),_0x2189f0[_0x409f1d(0x11c)]((_0x6767a1,_0x2325d2)=>{_0x50120c[_0x6767a1]=_0x2325d2,_0x3948b8[_0x2325d2]=_0x6767a1;}),Object['entries'](_0x1a75cd)[_0x409f1d(0x11c)](([_0x5cbdf4,_0x1207db])=>{const _0x24b299=_0x409f1d;let _0x357562=Number(_0x5cbdf4),_0x552794=_0x3609a7[_0x357562]??_0x4defdb[_0x357562],_0x512b88=_0x552794?_0x158e10[_0x552794]:void 0x0;_0x512b88!=null&&(_0xf30f3f[_0x512b88]={..._0xf30f3f[_0x512b88]??{}},Object[_0x24b299(0x15b)](_0x1207db??{})[_0x24b299(0x11c)](([_0x4008f3,_0x316770])=>{let _0x199ca3=Number(_0x4008f3),_0x5d9278=_0x2ef1c9[_0x199ca3]??_0x2189f0[_0x199ca3],_0x31b8ba=_0x5d9278?_0x50120c[_0x5d9278]:void 0x0;_0x31b8ba!=null&&(_0xf30f3f[_0x512b88][_0x31b8ba]=_0x59647f(_0x316770));}));}),Object[_0x409f1d(0x253)](_0x5a4c45)['forEach'](_0x406578=>{const _0x36e6d0=_0x409f1d;let _0x27cf1f=_0x158e10[_0x406578['id']];_0x27cf1f!=null&&(_0x406578[_0x36e6d0(0x253)]={..._0x406578['values']??{},[_0x5708b3[_0x36e6d0(0x3c2)]]:_0x406578['id']},_0xf30f3f[_0x27cf1f]={..._0xf30f3f[_0x27cf1f]??{},0x0:{'v':_0x406578['id'],'t':_0x5708b3['CellValueType'][_0x36e6d0(0x197)]}},Object[_0x36e6d0(0x15b)](_0x406578[_0x36e6d0(0x253)]??{})[_0x36e6d0(0x11c)](([_0x8c9a16,_0x4b1982])=>{const _0x393d07=_0x36e6d0;let _0xfc90f=_0x2d736d[_0x8c9a16];(_0xfc90f==null?void 0x0:_0xfc90f['type'])===_0x5708b3['BaseFieldType'][_0x393d07(0x49b)]&&_0xb5e47(_0x254dc1,_0x406578['id'],_0x8c9a16,_0x4b1982);let _0x233689=_0x50120c[_0x8c9a16];if(_0x233689==null)return;let _0x4a8187=_0xf30f3f[_0x27cf1f][_0x233689];(_0x4a8187==null||_0x1087c1(_0x4a8187,_0xfc90f,_0x4b1982))&&(_0xf30f3f[_0x27cf1f][_0x233689]=_0x5598a2(_0x4b1982,_0xfc90f));}));}),_0x254dc1;}function _0x51324c(_0x5d27bc,_0x2b0b62){const _0x3c398d=_0x5a0300;return _0x5d27bc[_0x3c398d(0x457)]=Object[_0x3c398d(0x3f2)](Object[_0x3c398d(0x15b)](_0x5d27bc[_0x3c398d(0x457)])[_0x3c398d(0x447)](([_0x1b59b7,_0xdd8604])=>[_0x1b59b7,{..._0xdd8604}])),_0x2a5ea4(_0x5d27bc),Object[_0x3c398d(0x15b)](_0x5d27bc[_0x3c398d(0x2ee)]??{})['forEach'](([_0x270549,_0x7eec59])=>{const _0x47789d=_0x3c398d;var _0x2ac74c;let _0x2a6c0b=Number(_0x270549),_0x6e8eaf=_0x5d27bc[_0x47789d(0x457)][_0x7eec59];_0x6e8eaf&&(_0x6e8eaf[_0x47789d(0x253)]={..._0x6e8eaf[_0x47789d(0x253)]??{}},Object[_0x47789d(0x15b)](((_0x2ac74c=_0x5d27bc['cellData'])==null?void 0x0:_0x2ac74c[_0x2a6c0b])??{})[_0x47789d(0x11c)](([_0x23a96c,_0x52d176])=>{const _0x3ed6f3=_0x47789d;var _0xe080b2;let _0x2cafb4=(_0xe080b2=_0x5d27bc[_0x3ed6f3(0x315)])==null?void 0x0:_0xe080b2[Number(_0x23a96c)];_0x2cafb4&&_0x2b0b62&&!_0x2b0b62(_0x7eec59,_0x2cafb4)||(_0x2cafb4===_0x5708b3[_0x3ed6f3(0x3c2)]?_0x6e8eaf[_0x3ed6f3(0x253)][_0x5708b3[_0x3ed6f3(0x3c2)]]=_0x6e8eaf['id']:_0x2cafb4&&(_0x6e8eaf[_0x3ed6f3(0x253)][_0x2cafb4]=_0xe6e80e(_0x52d176,_0x5d27bc[_0x3ed6f3(0x527)][_0x2cafb4],_0x5d27bc,_0x7eec59)));}));}),_0x5d27bc;}function _0x4f5ed4(_0x3957b7,_0x5eb714){const _0x180788=_0x5a0300;for(let {row:_0x54019c,col:_0x2c9600}of _0x5eb714){var _0x59bf9a,_0x5cc2da,_0x384e15;let _0x5e6919=(_0x59bf9a=_0x3957b7['rowId'])==null?void 0x0:_0x59bf9a[_0x54019c],_0x15e66b=(_0x5cc2da=_0x3957b7[_0x180788(0x315)])==null?void 0x0:_0x5cc2da[_0x2c9600],_0x124620=_0x5e6919?_0x3957b7[_0x180788(0x457)][_0x5e6919]:void 0x0;if(!_0x124620||!_0x15e66b)continue;if(_0x15e66b===_0x5708b3[_0x180788(0x3c2)]){_0x124620[_0x180788(0x253)][_0x5708b3['BASE_RECORD_ID_FIELD_ID']]=_0x124620['id'];continue;}let _0x23e7b0=(_0x384e15=_0x3957b7['cellData'])==null||(_0x384e15=_0x384e15[_0x54019c])==null?void 0x0:_0x384e15[_0x2c9600];(_0x23e7b0!=null||Object[_0x180788(0x3ed)][_0x180788(0x523)]['call'](_0x124620['values']??{},_0x15e66b))&&(_0x124620[_0x180788(0x253)]={..._0x124620[_0x180788(0x253)]??{}},_0x124620['values'][_0x15e66b]=_0xe6e80e(_0x23e7b0,_0x3957b7['fields'][_0x15e66b],_0x3957b7,_0x5e6919));}return _0x3957b7;}function _0x3917e3(_0x2ff63f,_0x11240c,_0x4ecac0){const _0x474272=_0x5a0300;var _0x3d845e,_0x1af4d0,_0x140f69,_0x1f1bfc,_0x115968,_0x525913;let _0x407fe4=(_0x3d845e=_0x2ff63f[_0x474272(0x1eb)])==null?void 0x0:_0x3d845e[_0x11240c],_0x2116ec=(_0x1af4d0=_0x2ff63f[_0x474272(0x336)])==null?void 0x0:_0x1af4d0[_0x4ecac0];if(_0x407fe4!=null&&_0x2116ec!=null&&((_0x140f69=_0x2ff63f['rowId'])==null?void 0x0:_0x140f69[_0x407fe4])===_0x11240c&&((_0x1f1bfc=_0x2ff63f[_0x474272(0x315)])==null?void 0x0:_0x1f1bfc[_0x2116ec])===_0x4ecac0)return{'row':_0x407fe4,'col':_0x2116ec};let _0x18fa9b=_0x2a5ea4(_0x2ff63f),_0xaae08b=(_0x115968=_0x18fa9b[_0x474272(0x1eb)])==null?void 0x0:_0x115968[_0x11240c],_0x19b643=(_0x525913=_0x18fa9b[_0x474272(0x336)])==null?void 0x0:_0x525913[_0x4ecac0];return _0xaae08b==null||_0x19b643==null?null:{'row':_0xaae08b,'col':_0x19b643};}function _0x49c470(_0x361670,_0x5cf79a,_0x428742){const _0x35dcf2=_0x5a0300;var _0x256ecb;let _0xa3868b=_0x3917e3(_0x361670,_0x5cf79a,_0x428742);if(_0xa3868b)return(_0x256ecb=_0x361670[_0x35dcf2(0x497)])==null||(_0x256ecb=_0x256ecb[_0xa3868b[_0x35dcf2(0x3e1)]])==null?void 0x0:_0x256ecb[_0xa3868b[_0x35dcf2(0x2e5)]];}function _0x59e45e(_0x557911,_0x4db087,_0xe96531){const _0x5af7b6=_0x5a0300;var _0x52c762;let _0x36f5ff=_0x49c470(_0x557911,_0x4db087,_0xe96531),_0x521d10=_0x557911[_0x5af7b6(0x527)][_0xe96531];if((_0x521d10==null?void 0x0:_0x521d10[_0x5af7b6(0x131)])===_0x5708b3['BaseFieldType'][_0x5af7b6(0x49b)]){var _0x5454b2;return _0x493590(_0x557911,_0x4db087,_0xe96531)??_0x503fde((_0x5454b2=_0x557911[_0x5af7b6(0x457)][_0x4db087])==null||(_0x5454b2=_0x5454b2[_0x5af7b6(0x253)])==null?void 0x0:_0x5454b2[_0xe96531]);}if(_0x359d72(_0x521d10)||_0x1ca175(_0x521d10)||(_0x521d10==null?void 0x0:_0x521d10['type'])===_0x5708b3[_0x5af7b6(0x2f3)][_0x5af7b6(0x1fb)]){var _0x200e13;let _0xcc668e=(_0x200e13=_0x557911['records'][_0x4db087])==null||(_0x200e13=_0x200e13[_0x5af7b6(0x253)])==null?void 0x0:_0x200e13[_0xe96531];return _0xcc668e!=null&&_0xcc668e!==''?_0x4b6e9a(_0xcc668e,_0x521d10):_0xe6e80e(_0x36f5ff,_0x521d10,_0x557911,_0x4db087);}return _0x36f5ff&&Object[_0x5af7b6(0x3ed)][_0x5af7b6(0x523)][_0x5af7b6(0x1bb)](_0x36f5ff,'v')?_0x36f5ff['v']??null:((_0x52c762=_0x557911[_0x5af7b6(0x457)][_0x4db087])==null||(_0x52c762=_0x52c762[_0x5af7b6(0x253)])==null?void 0x0:_0x52c762[_0xe96531])??null;}function _0x2239b4(_0x45d58b,_0x1c46ae,_0xfa5810){const _0x5d8f2d=_0x5a0300;var _0x1a0ef7;let _0x38dd94=_0x49c470(_0x45d58b,_0x1c46ae,_0xfa5810);if(_0x38dd94&&Object[_0x5d8f2d(0x3ed)][_0x5d8f2d(0x523)][_0x5d8f2d(0x1bb)](_0x38dd94,'v'))return _0x38dd94['v']??null;let _0x4c4d84=_0x45d58b[_0x5d8f2d(0x527)][_0xfa5810];return _0x5598a2(((_0x1a0ef7=_0x45d58b[_0x5d8f2d(0x457)][_0x1c46ae])==null||(_0x1a0ef7=_0x1a0ef7[_0x5d8f2d(0x253)])==null?void 0x0:_0x1a0ef7[_0xfa5810])??null,_0x4c4d84)['v']??null;}function _0x5598a2(_0x3ab159,_0x4a5bbf){const _0x3ee664=_0x5a0300;if(_0x3a3511(_0x3ab159))return(_0x4a5bbf==null?void 0x0:_0x4a5bbf['type'])===_0x5708b3[_0x3ee664(0x2f3)][_0x3ee664(0x49b)]?{..._0x3ab159,'v':'','t':_0x5708b3[_0x3ee664(0xff)][_0x3ee664(0x197)]}:_0x59647f(_0x3ab159);if((_0x4a5bbf==null?void 0x0:_0x4a5bbf[_0x3ee664(0x131)])===_0x5708b3[_0x3ee664(0x2f3)]['Attachment'])return{'v':'','t':_0x5708b3[_0x3ee664(0xff)][_0x3ee664(0x197)]};if(_0x1ca175(_0x4a5bbf)){let _0x51c368=_0x12d6c0(_0x3ab159);return{'v':_0x51c368,'t':_0x36a065(_0x51c368)};}if(_0x359d72(_0x4a5bbf))return{'v':_0x218d50(_0x3ab159)[_0x3ee664(0x212)](',\x20'),'t':_0x5708b3['CellValueType']['STRING']};if((_0x4a5bbf==null?void 0x0:_0x4a5bbf[_0x3ee664(0x131)])===_0x5708b3[_0x3ee664(0x2f3)]['Link']&&_0x3ab159&&typeof _0x3ab159=='object'&&!Array[_0x3ee664(0x46f)](_0x3ab159)){let _0xf11712=_0x3ab159;return{'v':String(_0xf11712[_0x3ee664(0x462)]??_0xf11712['url']??''),'t':_0x5708b3[_0x3ee664(0xff)][_0x3ee664(0x197)]};}return _0x3ab159===null||typeof _0x3ab159==_0x3ee664(0x220)||typeof _0x3ab159==_0x3ee664(0x337)||typeof _0x3ab159=='boolean'?{'v':_0x3ab159,'t':_0x36a065(_0x3ab159)}:{'v':null,'t':null};}function _0x59647f(_0xace3f5){let _0x257f86=_0x41fe2b(_0xace3f5['t'],_0xace3f5['v']);if(_0x257f86===void 0x0){let {t:_0xcabdf2,..._0x24b9f0}=_0xace3f5;return _0x24b9f0;}return{..._0xace3f5,'t':_0x257f86};}function _0xe6e80e(_0xb049ba,_0x3b2ef5,_0x50e3aa,_0x2dcf85){const _0x361701=_0x5a0300;if(!_0xb049ba)return null;if((_0x3b2ef5==null?void 0x0:_0x3b2ef5[_0x361701(0x131)])===_0x5708b3[_0x361701(0x2f3)][_0x361701(0x49b)])return _0x50e3aa&&_0x2dcf85?_0x493590(_0x50e3aa,_0x2dcf85,_0x3b2ef5['id'])??[]:[];if(_0x359d72(_0x3b2ef5))return _0x218d50(_0xb049ba['v']);if((_0x3b2ef5==null?void 0x0:_0x3b2ef5[_0x361701(0x131)])===_0x5708b3[_0x361701(0x2f3)][_0x361701(0x1fb)]&&_0x50e3aa&&_0x2dcf85){var _0x2607fb;let _0x333d5b=(_0x2607fb=_0x50e3aa[_0x361701(0x457)][_0x2dcf85])==null||(_0x2607fb=_0x2607fb[_0x361701(0x253)])==null?void 0x0:_0x2607fb[_0x3b2ef5['id']];if(_0x333d5b&&typeof _0x333d5b==_0x361701(0x24f)&&!Array[_0x361701(0x46f)](_0x333d5b))return _0x333d5b;}return Object['prototype'][_0x361701(0x523)]['call'](_0xb049ba,'v')?_0xb049ba['v']??null:null;}function _0x2c984b(_0x4906f3,_0x5f2519,_0x275021,_0x1d37cc,_0x19cb6f){const _0x4ed30a=_0x5a0300;return(_0x275021==null?void 0x0:_0x275021[_0x4ed30a(0x131)])===_0x5708b3[_0x4ed30a(0x2f3)][_0x4ed30a(0x49b)]?_0x503fde(_0x4906f3):_0x1ca175(_0x275021)?_0x12d6c0(_0x4906f3):_0x359d72(_0x275021)?_0x218d50(_0x4906f3):(_0x275021==null?void 0x0:_0x275021[_0x4ed30a(0x131)])===_0x5708b3['BaseFieldType'][_0x4ed30a(0x1fb)]&&(_0x4906f3==null||_0x4906f3==='')?null:(_0x275021==null?void 0x0:_0x275021[_0x4ed30a(0x131)])===_0x5708b3[_0x4ed30a(0x2f3)][_0x4ed30a(0x1fb)]&&_0x4906f3&&typeof _0x4906f3=='object'&&!Array[_0x4ed30a(0x46f)](_0x4906f3)&&!_0x3a3511(_0x4906f3)?_0x4906f3:_0xe6e80e(_0x5f2519,_0x275021,_0x1d37cc,_0x19cb6f);}function _0x3a3511(_0x5e8304){const _0x2e989e=_0x5a0300;return!!_0x5e8304&&typeof _0x5e8304=='object'&&(Object[_0x2e989e(0x3ed)][_0x2e989e(0x523)][_0x2e989e(0x1bb)](_0x5e8304,'v')||Object[_0x2e989e(0x3ed)][_0x2e989e(0x523)]['call'](_0x5e8304,'t')||Object[_0x2e989e(0x3ed)][_0x2e989e(0x523)]['call'](_0x5e8304,'p')||Object[_0x2e989e(0x3ed)][_0x2e989e(0x523)]['call'](_0x5e8304,'f')||Object[_0x2e989e(0x3ed)][_0x2e989e(0x523)][_0x2e989e(0x1bb)](_0x5e8304,'si'));}function _0x106b9e(_0x268006,_0xc2129){return _0x268006+'\x1f'+_0xc2129;}function _0xb5e47(_0x5b2acb,_0x397811,_0xdb0b6f,_0x14a8a8){const _0x29919b=_0x5a0300;let _0x7908bd=_0x503fde(_0x14a8a8);_0x5b2acb['resources']={..._0x5b2acb[_0x29919b(0x25b)]??{}},_0x5b2acb[_0x29919b(0x25b)][_0x29919b(0x463)]={..._0x5b2acb['resources'][_0x29919b(0x463)]??{}},_0x5b2acb[_0x29919b(0x25b)][_0x29919b(0x198)]={..._0x5b2acb[_0x29919b(0x25b)][_0x29919b(0x198)]??{}};let _0x577d68=_0x106b9e(_0xdb0b6f,_0x397811),_0x31c75c=[];for(let _0x3a73bc=0x0;_0x3a73bc<_0x7908bd['length'];_0x3a73bc++){if(!(_0x3a73bc in _0x7908bd))continue;let _0x48e103=_0x7908bd[_0x3a73bc],_0x14c02a=String(_0x48e103['id']??_0x577d68+'\x1f'+_0x3a73bc),_0x27b2d2={..._0x48e103,'id':_0x14c02a};_0x5b2acb['resources'][_0x29919b(0x198)][_0x14c02a]=_0x27b2d2,_0x31c75c[_0x29919b(0x4a3)](_0x14c02a);}_0x5b2acb[_0x29919b(0x25b)][_0x29919b(0x463)][_0x577d68]=_0x31c75c;}function _0x493590(_0x59a403,_0x11d8dd,_0x5dc68b){const _0x2ac6f3=_0x5a0300;var _0x4f462e;let _0x327456=_0x106b9e(_0x5dc68b,_0x11d8dd),_0x27f3a1=(_0x4f462e=_0x59a403[_0x2ac6f3(0x25b)])==null||(_0x4f462e=_0x4f462e[_0x2ac6f3(0x463)])==null?void 0x0:_0x4f462e[_0x327456];if(!_0x27f3a1)return null;let _0xbf183e=[];for(let _0xaa4d05=0x0;_0xaa4d05<_0x27f3a1[_0x2ac6f3(0x211)];_0xaa4d05++){var _0x44980a;if(!(_0xaa4d05 in _0x27f3a1))continue;let _0x48c3e9=(_0x44980a=_0x59a403['resources'])==null||(_0x44980a=_0x44980a[_0x2ac6f3(0x198)])==null?void 0x0:_0x44980a[_0x27f3a1[_0xaa4d05]];_0x48c3e9&&_0xbf183e[_0x2ac6f3(0x4a3)]({..._0x48c3e9});}return _0xbf183e;}function _0x503fde(_0x4da919){const _0x506ab3=_0x5a0300;if(_0x4da919==null||_0x4da919===''||_0x3a3511(_0x4da919)&&!('id'in _0x4da919)&&!(_0x506ab3(0x3b4)in _0x4da919))return[];let _0x5cad50=Array[_0x506ab3(0x46f)](_0x4da919)?_0x4da919:[_0x4da919],_0x108c44=[];for(let _0x5417f5=0x0;_0x5417f5<_0x5cad50[_0x506ab3(0x211)];_0x5417f5++){if(!(_0x5417f5 in _0x5cad50))continue;let _0x2bd8f1=_0x5cad50[_0x5417f5],_0x37bb7b=_0x2bd8f1&&typeof _0x2bd8f1==_0x506ab3(0x24f)?{..._0x2bd8f1}:{'id':_0x506ab3(0x2c2)+_0x5417f5,'name':String(_0x2bd8f1)};Object[_0x506ab3(0x4dd)](_0x37bb7b)[_0x506ab3(0x211)]>0x0&&_0x108c44[_0x506ab3(0x4a3)](_0x37bb7b);}return _0x108c44;}function _0x4b6e9a(_0x4d9ca1,_0x262376){const _0x2d98d3=_0x5a0300;return(_0x262376==null?void 0x0:_0x262376['type'])===_0x5708b3[_0x2d98d3(0x2f3)][_0x2d98d3(0x49b)]?_0x503fde(_0x4d9ca1):_0x1ca175(_0x262376)?_0x12d6c0(_0x4d9ca1):_0x359d72(_0x262376)?_0x218d50(_0x4d9ca1):_0x4d9ca1;}function _0x1087c1(_0x2ce4b8,_0x43127c,_0x54f8ef){const _0xc2585=_0x5a0300;return(_0x43127c==null?void 0x0:_0x43127c[_0xc2585(0x131)])===_0x5708b3[_0xc2585(0x2f3)][_0xc2585(0x49b)]?_0x2ce4b8['v']!=='':_0x1ca175(_0x43127c)?_0x2ce4b8['v']!==_0x12d6c0(_0x54f8ef):_0x359d72(_0x43127c)?Array['isArray'](_0x54f8ef)&&(_0x2ce4b8['v']==null||_0x2ce4b8['v']===''):!0x1;}function _0x359d72(_0x1a24bc){const _0xcfd107=_0x5a0300;return(_0x1a24bc==null?void 0x0:_0x1a24bc['type'])===_0x5708b3['BaseFieldType']['MultiSelect']||(_0x1a24bc==null?void 0x0:_0x1a24bc[_0xcfd107(0x131)])===_0x5708b3[_0xcfd107(0x2f3)][_0xcfd107(0x4ae)]||(_0x1a24bc==null?void 0x0:_0x1a24bc[_0xcfd107(0x131)])===_0x5708b3[_0xcfd107(0x2f3)][_0xcfd107(0xc8)]&&_0x1a24bc[_0xcfd107(0x21c)][_0xcfd107(0x363)]===!0x0;}function _0x1ca175(_0x17d0e4){const _0x2546b7=_0x5a0300;return(_0x17d0e4==null?void 0x0:_0x17d0e4[_0x2546b7(0x131)])===_0x5708b3[_0x2546b7(0x2f3)][_0x2546b7(0xc8)]&&_0x17d0e4[_0x2546b7(0x21c)][_0x2546b7(0x363)]!==!0x0;}function _0x12d6c0(_0x6c0577){const _0x3754dc=_0x5a0300;let _0x3e38d2=_0x3a3511(_0x6c0577)?_0x6c0577['v']:_0x6c0577,_0x291dc3=Array[_0x3754dc(0x46f)](_0x3e38d2)?_0x3e38d2[0x0]:_0x3e38d2;return _0x291dc3==null||_0x291dc3===''?null:String(_0x291dc3);}function _0x218d50(_0xfb613c){const _0x577233=_0x5a0300;if(_0xfb613c==null||_0xfb613c==='')return[];let _0x18304f=[];if(Array[_0x577233(0x46f)](_0xfb613c)){for(let _0x1e372a=0x0;_0x1e372a<_0xfb613c[_0x577233(0x211)];_0x1e372a++){if(!(_0x1e372a in _0xfb613c))continue;let _0x296bd5=_0x18ee6e(_0xfb613c[_0x1e372a]);_0x296bd5&&_0x18304f[_0x577233(0x4a3)](_0x296bd5);}return _0x18304f;}for(let _0x50ebcd of String(_0xfb613c)[_0x577233(0x409)](',')){let _0x32136b=_0x50ebcd[_0x577233(0x1bd)]();_0x32136b&&_0x18304f[_0x577233(0x4a3)](_0x32136b);}return _0x18304f;}function _0x18ee6e(_0x495be4){const _0x192460=_0x5a0300;if(_0x495be4==null)return'';if(typeof _0x495be4=='string'||typeof _0x495be4==_0x192460(0x337)||typeof _0x495be4==_0x192460(0x303))return String(_0x495be4);if(typeof _0x495be4==_0x192460(0x24f)){let _0x3fc01f=_0x495be4;return String(_0x3fc01f['id']??_0x3fc01f[_0x192460(0x3b4)]??_0x3fc01f[_0x192460(0x462)]??'');}return String(_0x495be4);}function _0x36a065(_0x2ab459){const _0x53f6f9=_0x5a0300;return _0x2ab459==null?null:typeof _0x2ab459==_0x53f6f9(0x337)?_0x5708b3['CellValueType'][_0x53f6f9(0x11e)]:typeof _0x2ab459==_0x53f6f9(0x303)?_0x5708b3[_0x53f6f9(0xff)][_0x53f6f9(0x18a)]:_0x5708b3[_0x53f6f9(0xff)][_0x53f6f9(0x197)];}function _0x2941d1(_0x51e63c){const _0x461af4=_0x5a0300;_0x51e63c[_0x461af4(0x3c8)]((_0x6c9f49,_0x14a463)=>_0x6c9f49['orderKey'][_0x461af4(0x323)](_0x14a463[_0x461af4(0x1c8)]));let _0x49d0a1=[];for(let _0x1e2a27 of _0x51e63c)_0x49d0a1[_0x461af4(0x4a3)](_0x1e2a27['id']);return _0x49d0a1;}function _0x41fe2b(_0xf17994,_0x24b61e){const _0x26fa69=_0x5a0300;return _0xf17994===_0x5708b3['CellValueType'][_0x26fa69(0x197)]||_0xf17994===_0x5708b3[_0x26fa69(0xff)]['NUMBER']||_0xf17994===_0x5708b3[_0x26fa69(0xff)][_0x26fa69(0x18a)]||_0xf17994===_0x5708b3['CellValueType'][_0x26fa69(0x501)]||_0xf17994==null?_0xf17994:_0x36a065(_0x24b61e??null);}function _0x22d022(_0x10e859){const _0x3b2954=_0x5a0300;let _0x294f60=null;for(let _0x1b67e5 of _0x10e859)_0x294f60=_0x294f60===null?_0x1b67e5:_0x5708b3[_0x3b2954(0x21b)][_0x3b2954(0x131)][_0x3b2954(0x30d)](_0x294f60,_0x1b67e5);return _0x294f60;}var _0x39599e=class _0x3a8870{static[_0x5a0300(0xfd)](_0x2d2071,_0x119a28){const _0x2c6384=_0x5a0300;let _0x5c5294=[];for(let _0x1b2003 of _0x119a28){let _0x5aae5d=_0x5ee1ac(_0x1b2003);if(!_0x5aae5d||_0x5aae5d[_0x2c6384(0x47f)]!==_0x2d2071['id'])return null;_0x5c5294[_0x2c6384(0x4a3)](_0x5aae5d['op']);}try{let _0x47c7ed=_0x22d022(_0x5c5294);return _0x47c7ed===null?_0x2d2071:new _0x3a8870()['applyOp'](_0x2d2071,_0x47c7ed);}catch{return null;}}[_0x5a0300(0x118)](_0x3b4345,_0x48dfa8){const _0x57403b=_0x5a0300;let _0x2606a1=this[_0x57403b(0xcc)](_0x48dfa8),_0x1b88e4=_0x4f055a(_0x57403b(0xd4),()=>_0xf18d8f(_0x3b4345,_0x48dfa8),{'invalidations':_0x2606a1[_0x57403b(0x211)]}),_0x4941d6=_0x4f055a(_0x57403b(0x171),()=>_0x5708b3[_0x57403b(0x21b)][_0x57403b(0x131)][_0x57403b(0xf9)](_0x1b88e4,_0x48dfa8),{'invalidations':_0x2606a1[_0x57403b(0x211)]}),_0xcc0143=_0x59d425(_0x4941d6,_0x2606a1);return _0x4f055a('BaseJson1.syncCellInvalidations',()=>_0x464790(_0x4941d6,_0x2606a1),{'invalidations':_0x2606a1['length']})?(_0xe0ceac(_0x4941d6,_0xcc0143),_0x4941d6):(_0x4f055a(_0x57403b(0x519),()=>{const _0x38f261=_0x57403b;this[_0x38f261(0xe5)](_0x4941d6,_0x2606a1)[_0x38f261(0x11c)](_0x1ee331=>{const _0x4fa4d6=_0x38f261;let _0x3947d4=_0x2606a1[_0x4fa4d6(0x22b)](_0x5b3fe5=>_0x5b3fe5[_0x4fa4d6(0x40f)]===_0x1ee331['id']),_0x3e2408=_0x3947d4['length']>0x0&&_0x3947d4[_0x4fa4d6(0x135)](_0x1eb1fa=>_0x1eb1fa[_0x4fa4d6(0x2a9)]===_0x4fa4d6(0x2d3)||_0x1eb1fa[_0x4fa4d6(0x2a9)]===_0x4fa4d6(0x433)||_0x1eb1fa[_0x4fa4d6(0x2a9)]===_0x4fa4d6(0x1f1)||_0x1eb1fa[_0x4fa4d6(0x2a9)]===_0x4fa4d6(0x4fb))?new Set(_0x3947d4[_0x4fa4d6(0x375)](_0x5ef705=>{const _0x3cb836=_0x4fa4d6;var _0x2701f5;if(_0x5ef705[_0x3cb836(0x2a9)]!==_0x3cb836(0x2d3)||!_0x5ef705[_0x3cb836(0x236)])return[];let _0x20ebf3=(_0x2701f5=_0x3b4345[_0x3cb836(0x18e)][_0x1ee331['id']])==null?void 0x0:_0x2701f5[_0x3cb836(0x527)][_0x5ef705[_0x3cb836(0x236)]],_0x5302f7=_0x1ee331['fields'][_0x5ef705[_0x3cb836(0x236)]];return(_0x20ebf3==null?void 0x0:_0x20ebf3[_0x3cb836(0x131)])!==(_0x5302f7==null?void 0x0:_0x5302f7[_0x3cb836(0x131)])||(_0x20ebf3==null?void 0x0:_0x20ebf3['config'][_0x3cb836(0x363)])!==(_0x5302f7==null?void 0x0:_0x5302f7['config']['allowMultiple'])?[_0x5ef705['fieldId']]:[];})):void 0x0,_0x43244a=new Set(_0x3947d4[_0x4fa4d6(0x375)](_0x11191b=>{const _0xc8887f=_0x4fa4d6;var _0x59460f,_0x1c537c;return _0x11191b['reason']!=='cell'||_0x11191b[_0xc8887f(0x3e1)]==null||_0x11191b[_0xc8887f(0x38a)]==null?[]:[JSON[_0xc8887f(0x494)]([(_0x59460f=_0x1ee331[_0xc8887f(0x2ee)])==null?void 0x0:_0x59460f[_0x11191b['row']],(_0x1c537c=_0x1ee331[_0xc8887f(0x315)])==null?void 0x0:_0x1c537c[_0x11191b[_0xc8887f(0x38a)]]])];}));_0x51324c(_0x1ee331,_0x3e2408?(_0x290c3a,_0x106d95)=>_0x3e2408['has'](_0x106d95)||_0x43244a[_0x4fa4d6(0x4d4)](JSON['stringify']([_0x290c3a,_0x106d95])):void 0x0);});},{'invalidations':_0x2606a1['length']}),_0xe0ceac(_0x4941d6,_0xcc0143),_0x4941d6);}[_0x5a0300(0x4a1)](_0x56d702,_0x122bbc){const _0x2f0dfa=_0x5a0300;return _0x5708b3[_0x2f0dfa(0x21b)][_0x2f0dfa(0x131)][_0x2f0dfa(0x130)](_0x122bbc,_0x56d702);}[_0x5a0300(0xcc)](_0xa7312c){const _0x5ce6c3=_0x5a0300;let _0x463c42=_0x5f1bb9(_0xa7312c);return _0x463c42[_0x5ce6c3(0x211)]?_0x5862f7(_0x463c42[_0x5ce6c3(0x375)](_0x1b5d2f=>this[_0x5ce6c3(0xcc)](_0x1b5d2f))):_0x42ea97(_0xa7312c);}[_0x5a0300(0xe5)](_0x1b8878,_0x4cb667){const _0x4ef77d=_0x5a0300;let _0x154a06=_0x4cb667[_0x4ef77d(0x22b)](_0x45cd21=>_0x45cd21[_0x4ef77d(0x2a9)]!=='view');return _0x154a06['length']?_0x154a06['some'](_0x34e67b=>!_0x34e67b['tableId'])?Object[_0x4ef77d(0x253)](_0x1b8878[_0x4ef77d(0x18e)]??{}):Array[_0x4ef77d(0x2d6)](new Set(_0x154a06[_0x4ef77d(0x447)](_0x49f0ca=>_0x49f0ca[_0x4ef77d(0x40f)])))['flatMap'](_0x3f6d43=>{var _0x55eba8;let _0x10723f=(_0x55eba8=_0x1b8878['tables'])==null?void 0x0:_0x55eba8[_0x3f6d43];return _0x10723f?[_0x10723f]:[];}):[];}};function _0x5ee1ac(_0x278632){const _0x2a295f=_0x5a0300;let _0x51c478=_0x278632[_0x2a295f(0x2c5)];return _0x278632['id']!=='base.mutation.apply-base-json1'||typeof _0x51c478!=_0x2a295f(0x24f)||!_0x51c478||!('unitId'in _0x51c478)||typeof _0x51c478[_0x2a295f(0x47f)]!=_0x2a295f(0x220)||!('op'in _0x51c478)||!Array[_0x2a295f(0x46f)](_0x51c478['op'])?null:{'unitId':_0x51c478[_0x2a295f(0x47f)],'op':_0x51c478['op']};}function _0x464790(_0x412369,_0x449233){const _0x3c2b1e=_0x5a0300;if(!_0x449233['length']||_0x449233[_0x3c2b1e(0x2e9)](_0x1a82d5=>_0x1a82d5['reason']!==_0x3c2b1e(0x1f1)))return!0x1;let _0x409b1d=new Map();for(let _0x13b79a of _0x449233){if(!_0x13b79a[_0x3c2b1e(0x40f)]||_0x13b79a[_0x3c2b1e(0x3e1)]==null||_0x13b79a[_0x3c2b1e(0x38a)]==null)continue;let _0x5173db=_0x409b1d['get'](_0x13b79a[_0x3c2b1e(0x40f)])??[];_0x5173db[_0x3c2b1e(0x4a3)]({'row':_0x13b79a[_0x3c2b1e(0x3e1)],'col':_0x13b79a[_0x3c2b1e(0x38a)]}),_0x409b1d['set'](_0x13b79a['tableId'],_0x5173db);}return _0x409b1d[_0x3c2b1e(0x11c)]((_0x433d9b,_0x2aa746)=>{var _0x4c27c6;let _0x30c204=(_0x4c27c6=_0x412369['tables'])==null?void 0x0:_0x4c27c6[_0x2aa746];_0x30c204&&_0x4f5ed4(_0x30c204,_0x433d9b);}),!0x0;}function _0x59d425(_0x2f1202,_0x4ef1b8){let _0x5d6dff=new Set();return _0x4ef1b8['flatMap'](_0x516959=>{const _0x4f1eff=_0x513b;var _0x449b52;if(!_0x516959['tableId']||!_0x516959[_0x4f1eff(0x34b)]||!_0x516959[_0x4f1eff(0x236)])return[];let _0x381a0e=_0x516959[_0x4f1eff(0x40f)]+'\x1f'+_0x516959[_0x4f1eff(0x34b)]+'\x1f'+_0x516959['fieldId'];if(_0x5d6dff[_0x4f1eff(0x4d4)](_0x381a0e))return[];_0x5d6dff['add'](_0x381a0e);let _0x716195=(_0x449b52=_0x2f1202['tables'][_0x516959[_0x4f1eff(0x40f)]])==null||(_0x449b52=_0x449b52[_0x4f1eff(0x457)][_0x516959['recordId']])==null?void 0x0:_0x449b52[_0x4f1eff(0x253)];return _0x716195?[{'tableId':_0x516959[_0x4f1eff(0x40f)],'recordId':_0x516959[_0x4f1eff(0x34b)],'fieldId':_0x516959['fieldId'],'exists':Object[_0x4f1eff(0x3ed)][_0x4f1eff(0x523)]['call'](_0x716195,_0x516959[_0x4f1eff(0x236)]),'value':_0x716195[_0x516959[_0x4f1eff(0x236)]]}]:[];});}function _0xe0ceac(_0x5d90ae,_0x46a11e){const _0x5d7122=_0x5a0300;_0x46a11e[_0x5d7122(0x11c)](_0x209c5f=>{const _0x49e526=_0x5d7122;var _0x372a50;let _0x428924=(_0x372a50=_0x5d90ae[_0x49e526(0x18e)][_0x209c5f['tableId']])==null||(_0x372a50=_0x372a50[_0x49e526(0x457)][_0x209c5f[_0x49e526(0x34b)]])==null?void 0x0:_0x372a50[_0x49e526(0x253)];_0x428924&&(_0x209c5f[_0x49e526(0x10e)]?_0x428924[_0x209c5f[_0x49e526(0x236)]]=_0x209c5f[_0x49e526(0x12c)]:delete _0x428924[_0x209c5f[_0x49e526(0x236)]]);});}function _0x42ea97(_0x247546){const _0x2bd290=_0x5a0300;if(!Array[_0x2bd290(0x46f)](_0x247546)||_0x247546[_0x2bd290(0x211)]<0x2)return[{'tableId':'','reason':_0x2bd290(0x3d9)}];let _0x443147=_0x247546,_0x1910e6=_0x443147[_0x2bd290(0x4ed)](_0x2bd290(0x18e));return _0x1910e6===-0x1||typeof _0x443147[_0x1910e6+0x1]!=_0x2bd290(0x220)?_0x443147[0x0]==='tableOrder'?[]:[{'tableId':'','reason':'unknown'}]:_0xed0760(_0x443147,_0x1910e6,String(_0x443147[_0x1910e6+0x1]));}function _0xed0760(_0x4ab451,_0x7d8ba9,_0x3b1500){const _0x451737=_0x5a0300;let _0x39a370=_0x4ab451[_0x7d8ba9+0x2];return _0x39a370===_0x451737(0x457)&&typeof _0x4ab451[_0x7d8ba9+0x3]=='string'?_0x49269d(_0x4ab451,_0x7d8ba9,_0x3b1500,String(_0x4ab451[_0x7d8ba9+0x3])):_0x39a370===_0x451737(0x497)&&_0x4ab451[_0x7d8ba9+0x3]!=null&&_0x4ab451[_0x7d8ba9+0x4]!=null?[{'tableId':_0x3b1500,'reason':_0x451737(0x1f1),'row':Number(_0x4ab451[_0x7d8ba9+0x3]),'column':Number(_0x4ab451[_0x7d8ba9+0x4])}]:_0x39a370===_0x451737(0x527)&&typeof _0x4ab451[_0x7d8ba9+0x3]==_0x451737(0x220)?[{'tableId':_0x3b1500,'reason':_0x451737(0x2d3),'fieldId':String(_0x4ab451[_0x7d8ba9+0x3])}]:_0x39a370===_0x451737(0x286)?[{'tableId':_0x3b1500,'reason':'field'}]:_0x39a370===_0x451737(0x317)?[{'tableId':_0x3b1500,'reason':_0x451737(0x4fb)}]:_0x39a370===_0x451737(0x255)&&typeof _0x4ab451[_0x7d8ba9+0x3]=='string'?[{'tableId':_0x3b1500,'reason':_0x451737(0x433),'viewId':String(_0x4ab451[_0x7d8ba9+0x3])}]:_0x39a370===_0x451737(0x4c2)?[{'tableId':_0x3b1500,'reason':'view'}]:_0x39a370==='resources'?[{'tableId':_0x3b1500,'reason':_0x451737(0x1f1)}]:[{'tableId':_0x3b1500,'reason':_0x39a370===void 0x0?_0x451737(0x294):'unknown'}];}function _0x49269d(_0x4a0f10,_0x34a776,_0x1232f5,_0x457c13){const _0x747013=_0x5a0300;return _0x4a0f10[_0x34a776+0x4]===_0x747013(0x253)&&typeof _0x4a0f10[_0x34a776+0x5]==_0x747013(0x220)?[{'tableId':_0x1232f5,'reason':_0x747013(0x1f1),'recordId':_0x457c13,'fieldId':String(_0x4a0f10[_0x34a776+0x5])}]:_0x4a0f10[_0x34a776+0x4]===_0x747013(0x292)||_0x4a0f10[_0x34a776+0x4]===_0x747013(0x4d8)?[]:[{'tableId':_0x1232f5,'reason':_0x747013(0x4fb),'recordId':_0x457c13}];}function _0x5f1bb9(_0x56cd6a){const _0x45498a=_0x5a0300;if(!Array[_0x45498a(0x46f)](_0x56cd6a))return[];let _0x4e62a2=_0x56cd6a[_0x45498a(0x22b)](Array[_0x45498a(0x46f)]);if(_0x4e62a2['length']>0x1&&_0x4e62a2['length']===_0x56cd6a['length'])return _0x4e62a2;let _0x442eb4=_0x56cd6a['findIndex'](Array[_0x45498a(0x46f)]);if(_0x442eb4>0x0&&_0x56cd6a['slice'](_0x442eb4)['every'](Array[_0x45498a(0x46f)])){let _0x570dbc=_0x56cd6a['slice'](0x0,_0x442eb4);return _0x56cd6a[_0x45498a(0x51b)](_0x442eb4)[_0x45498a(0x447)](_0x3437d0=>[..._0x570dbc,..._0x3437d0]);}let _0x379b6f=_0x56cd6a[_0x45498a(0x4ed)](_0x45498a(0x18e));if(_0x379b6f===-0x1||typeof _0x56cd6a[_0x379b6f+0x1]!=_0x45498a(0x220))return[];let _0xf7c4f9=String(_0x56cd6a[_0x379b6f+0x1]),_0x5ed281=_0x56cd6a['slice'](_0x379b6f+0x2)['filter'](Array[_0x45498a(0x46f)]);return _0x5ed281[_0x45498a(0x211)]<=0x1?[]:_0x5ed281['map'](_0x7846f7=>['tables',_0xf7c4f9,..._0x7846f7]);}function _0x5862f7(_0x50fb6c){const _0x4f4b36=_0x5a0300;let _0x350fed=new Set();return _0x50fb6c[_0x4f4b36(0x22b)](_0xb947b8=>{const _0x596c95=_0x4f4b36;let _0x18e9c4=JSON['stringify'](_0xb947b8);return!_0x350fed[_0x596c95(0x4d4)](_0x18e9c4)&&(_0x350fed['add'](_0x18e9c4),!0x0);});}function _0x260be4(_0xcc6e9f){const _0x1b4081=_0x5a0300;return _0x5708b3[_0x1b4081(0x3d6)][_0x1b4081(0x251)](_0xcc6e9f);}function _0xf18d8f(_0x41f558,_0x291fac){const _0x1f4d22=_0x5a0300;let _0x1ff434=_0x33e7da(_0x291fac);if(!_0x1ff434[_0x1f4d22(0x211)])return _0x260be4(_0x41f558);let _0x1aa3ad=_0x153f71(_0x41f558),_0x281b96=new Set();for(let _0x1d1428 of _0x1ff434)_0x2b3db5(_0x1aa3ad,_0x1d1428,_0x281b96);return _0x1aa3ad;}function _0x33e7da(_0xbf1782){let _0x30a276=[];return _0x4c6c82(_0xbf1782,[],_0x30a276),_0x30a276;}function _0x4c6c82(_0x1e24f6,_0x194fbc,_0x43043c){const _0x361fa2=_0x5a0300;if(!Array[_0x361fa2(0x46f)](_0x1e24f6))return;let _0x5eb78d=[];for(let _0x407209 of _0x1e24f6)Array['isArray'](_0x407209)?_0x4c6c82(_0x407209,[..._0x194fbc,..._0x5eb78d],_0x43043c):_0x5d6217(_0x407209)?_0x43043c[_0x361fa2(0x4a3)]([..._0x194fbc,..._0x5eb78d]):(typeof _0x407209==_0x361fa2(0x220)||typeof _0x407209==_0x361fa2(0x337))&&_0x5eb78d[_0x361fa2(0x4a3)](_0x407209);}function _0x5d6217(_0x2570c8){const _0xd52bf3=_0x5a0300;if(!_0x2570c8||typeof _0x2570c8!=_0xd52bf3(0x24f)||Array['isArray'](_0x2570c8))return!0x1;let _0x583826=_0x2570c8;return'i'in _0x583826||'r'in _0x583826||'p'in _0x583826||'d'in _0x583826||'es'in _0x583826||_0xd52bf3(0x456)in _0x583826||'et'in _0x583826;}function _0x2b3db5(_0x29e7f2,_0x1a2751,_0x4f13c7){const _0x1180e1=_0x5a0300;let _0xc2344a=_0x29e7f2,_0x2e83ec=[];for(let _0x3b25cf=0x0;_0x3b25cf<_0x1a2751[_0x1180e1(0x211)]-0x1;_0x3b25cf++){let _0x21163f=_0x1a2751[_0x3b25cf];_0x2e83ec[_0x1180e1(0x4a3)](_0x21163f);let _0x26d0c3=_0x32d94a(_0xc2344a,_0x21163f);if(!_0x364c21(_0x26d0c3))return;let _0x307c34=JSON[_0x1180e1(0x494)](_0x2e83ec);_0x4f13c7[_0x1180e1(0x4d4)](_0x307c34)||(_0x227afd(_0xc2344a,_0x21163f,_0x153f71(_0x26d0c3)),_0x4f13c7[_0x1180e1(0x152)](_0x307c34));let _0x1eeb3b=_0x32d94a(_0xc2344a,_0x21163f);if(!_0x364c21(_0x1eeb3b))return;_0xc2344a=_0x1eeb3b;}}function _0x32d94a(_0x18bd15,_0x485e26){const _0x92adf=_0x5a0300;return Array[_0x92adf(0x46f)](_0x18bd15)?typeof _0x485e26==_0x92adf(0x337)?_0x18bd15[_0x485e26]:void 0x0:Reflect['get'](_0x18bd15,_0x485e26);}function _0x227afd(_0x10f2a4,_0x247e9a,_0xc5fc1d){const _0x378528=_0x5a0300;Array[_0x378528(0x46f)](_0x10f2a4)?typeof _0x247e9a==_0x378528(0x337)&&(_0x10f2a4[_0x247e9a]=_0xc5fc1d):Reflect[_0x378528(0x289)](_0x10f2a4,_0x247e9a,_0xc5fc1d);}function _0x364c21(_0x66b6e0){const _0x2bed15=_0x5a0300;return!!_0x66b6e0&&typeof _0x66b6e0==_0x2bed15(0x24f);}function _0x153f71(_0xf5e454){const _0x5b3be4=_0x5a0300;return Array[_0x5b3be4(0x46f)](_0xf5e454)?_0xf5e454[_0x5b3be4(0x51b)]():{..._0xf5e454};}let _0xc97668=_0x5a0300(0x256),_0x5efebe=/\s+hh:mm\s*$/i,_0x464919={'yyyy/mm/dd':_0x5a0300(0x138),'yyyy-mm-dd':_0x5a0300(0x287),'mm-dd':_0x5a0300(0x193),'mm/dd/yyyy':_0x5a0300(0x4db),'dd/mm/yyyy':_0x5a0300(0x491),'mmm\x20d,\x20yyyy':_0x5a0300(0x206)};function _0x381b86(_0x597ffa,_0x232671=_0x5708b3[_0x5a0300(0x299)][_0x5a0300(0x1c1)]){const _0x3d96e4=_0x5a0300;let _0x4458a2=(0x0,_0x5708b3[_0x3d96e4(0x1c2)])(_0x597ffa)[_0x3d96e4(0x35b)]();return(0x0,_0x5708b3['excelDateTimeSerial'])(new Date(_0x4458a2),_0x232671);}function _0x1968fc(_0x5647b9,_0x30be60=_0x5708b3[_0x5a0300(0x299)]['Date1900']){const _0x36dce6=_0x5a0300;return(0x0,_0x5708b3['excelSerialToDateTime'])(_0x5647b9,_0x30be60)[_0x36dce6(0x34f)]();}function _0x11d4ea(_0xc44f60,_0x114feb=_0x5708b3['DateSystem']['Date1900']){const _0x1c86b4=_0x5a0300;if(_0xc44f60==null||_0xc44f60==='')return null;if(_0xc44f60 instanceof Date)return _0x381b86(_0xc44f60,_0x114feb);if(typeof _0xc44f60==_0x1c86b4(0x337))return Number['isFinite'](_0xc44f60)?_0xc44f60>0xf4240?_0x381b86(_0xc44f60,_0x114feb):_0xc44f60:null;let _0x192620=Date[_0x1c86b4(0x33a)](String(_0xc44f60));return Number[_0x1c86b4(0x443)](_0x192620)?null:_0x381b86(_0x192620,_0x114feb);}function _0x5b7290(_0x5d42bc,_0x4dc2f0=_0x5708b3[_0x5a0300(0x299)]['Date1900']){let _0x4398b6=_0x11d4ea(_0x5d42bc,_0x4dc2f0);return _0x4398b6==null?null:_0x1968fc(_0x4398b6,_0x4dc2f0);}function _0x43d517(_0x18f94b={}){const _0x21f230=_0x5a0300;let _0x25ecfd=String(_0x18f94b[_0x21f230(0x4f1)]??_0x18f94b[_0x21f230(0x498)]??_0x18f94b[_0x21f230(0x2ab)]??_0xc97668)[_0x21f230(0x1bd)]()||_0xc97668,_0x19cd5f=_0x5efebe[_0x21f230(0x3bf)](_0x25ecfd);return{'pattern':_0x25ecfd['replace'](_0x5efebe,'')||_0xc97668,'includeTime':typeof _0x18f94b[_0x21f230(0x344)]==_0x21f230(0x303)?_0x18f94b[_0x21f230(0x344)]:_0x19cd5f,'hourCycle':_0x18f94b[_0x21f230(0x359)]===_0x21f230(0x378)?_0x21f230(0x378):_0x21f230(0x51e)};}function _0x4e8a7e(_0x52bc25={}){let {format:_0x214b91,dateFormat:_0x56e928,..._0x4e583d}=_0x52bc25;return{..._0x4e583d,..._0x43d517(_0x52bc25)};}function _0x1c71f9(_0x4f19f7,_0x43150e={}){const _0x20a1e7=_0x5a0300;let _0x17c412=_0x5b7290(_0x4f19f7);if(_0x17c412==null||!Number['isFinite'](_0x17c412))return'';let _0x1e9a3b=_0x43d517(_0x43150e);return(0x0,_0x5708b3[_0x20a1e7(0x1c2)])(_0x17c412)[_0x20a1e7(0x498)](_0x417d8d(_0x1e9a3b));}function _0x417d8d(_0x24c012){const _0x473c11=_0x5a0300;let {pattern:_0x5196fa,includeTime:_0x5b3d9d,hourCycle:_0xd4e412}=_0x24c012,_0x44ac85=_0x464919[_0x5196fa]??_0x464919[_0xc97668];return _0x5b3d9d?_0x44ac85+'\x20'+(_0xd4e412===_0x473c11(0x378)?_0x473c11(0x2bb):_0x473c11(0x182)):_0x44ac85;}let _0x22b6e9={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x520e34=new Set([_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x452)]]);function _0x4ea3f5(_0xb2255d){const _0x1a8da8=_0x5a0300;switch(_0xb2255d){case _0x5708b3[_0x1a8da8(0x2f3)][_0x1a8da8(0x496)]:case _0x5708b3[_0x1a8da8(0x2f3)][_0x1a8da8(0xcb)]:case _0x5708b3[_0x1a8da8(0x2f3)][_0x1a8da8(0x3de)]:case _0x5708b3[_0x1a8da8(0x2f3)][_0x1a8da8(0x3b5)]:return[_0x5708b3['BaseConditionalColorOperator']['IS'],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x521)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x404)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x24c)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x264)],_0x5708b3[_0x1a8da8(0x367)]['IS_NOT_EMPTY']];case _0x5708b3['BaseFieldType'][_0x1a8da8(0x30b)]:case _0x5708b3['BaseFieldType'][_0x1a8da8(0x513)]:case _0x5708b3[_0x1a8da8(0x2f3)]['UpdatedAt']:return[_0x5708b3['BaseConditionalColorOperator']['IS'],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x521)],_0x5708b3['BaseConditionalColorOperator'][_0x1a8da8(0x1cd)],_0x5708b3[_0x1a8da8(0x367)]['AFTER'],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x264)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x123)]];case _0x5708b3[_0x1a8da8(0x2f3)][_0x1a8da8(0x31c)]:return[_0x5708b3[_0x1a8da8(0x367)]['IS'],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x521)]];default:return[_0x5708b3[_0x1a8da8(0x367)]['IS'],_0x5708b3['BaseConditionalColorOperator'][_0x1a8da8(0x521)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x223)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x250)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x264)],_0x5708b3[_0x1a8da8(0x367)][_0x1a8da8(0x123)]];}}function _0x195574(_0xe39903){const _0x4fb4c0=_0x5a0300;return _0xe39903===_0x5708b3[_0x4fb4c0(0x2f3)][_0x4fb4c0(0x30b)]||_0xe39903===_0x5708b3[_0x4fb4c0(0x2f3)][_0x4fb4c0(0x513)]||_0xe39903===_0x5708b3[_0x4fb4c0(0x2f3)][_0x4fb4c0(0x31b)];}function _0x303803(_0x5b1c88,_0x4bdad0){const _0x53b631=_0x5a0300;return _0x5b1c88==null&&_0x4bdad0==null?0x0:_0x5b1c88==null?-0x1:_0x4bdad0==null?0x1:typeof _0x5b1c88==_0x53b631(0x337)&&typeof _0x4bdad0==_0x53b631(0x337)?_0x5b1c88-_0x4bdad0:String(_0x5b1c88)[_0x53b631(0x323)](String(_0x4bdad0));}function _0x47bbe5(_0x5b708c,_0x35fc2f,_0x4a2cf4,_0x414d4e,_0x32cc27={}){const _0x5af9f8=_0x5a0300;if(_0x35fc2f===_0x5af9f8(0x46c))return _0x1de7aa(_0x5b708c);if(_0x35fc2f===_0x5af9f8(0x343))return!_0x1de7aa(_0x5b708c);switch(_0x414d4e[_0x5af9f8(0x131)]){case _0x5708b3[_0x5af9f8(0x2f3)][_0x5af9f8(0x496)]:case _0x5708b3[_0x5af9f8(0x2f3)][_0x5af9f8(0xcb)]:case _0x5708b3[_0x5af9f8(0x2f3)][_0x5af9f8(0x3de)]:case _0x5708b3['BaseFieldType']['Rating']:return _0x23a79f(_0x5b708c,_0x35fc2f,_0x4a2cf4);case _0x5708b3[_0x5af9f8(0x2f3)][_0x5af9f8(0x30b)]:case _0x5708b3[_0x5af9f8(0x2f3)][_0x5af9f8(0x513)]:case _0x5708b3[_0x5af9f8(0x2f3)]['UpdatedAt']:return _0x36cc1c(_0x5b708c,_0x35fc2f,_0x4a2cf4,_0x32cc27);case _0x5708b3[_0x5af9f8(0x2f3)]['Checkbox']:return _0x46d312(_0x5b708c,_0x35fc2f,_0x4a2cf4);case _0x5708b3[_0x5af9f8(0x2f3)][_0x5af9f8(0x147)]:case _0x5708b3[_0x5af9f8(0x2f3)]['MultiSelect']:case _0x5708b3[_0x5af9f8(0x2f3)]['Person']:case _0x5708b3['BaseFieldType'][_0x5af9f8(0x4ae)]:return _0x279a71(_0x5b708c,_0x35fc2f,_0x4a2cf4,_0x414d4e);default:return _0x56c1d7(_0x5b708c,_0x35fc2f,_0x4a2cf4);}}function _0x1de7aa(_0x195d48){const _0x14b28c=_0x5a0300;return _0x195d48==null?!0x0:Array['isArray'](_0x195d48)?_0x195d48[_0x14b28c(0x211)]===0x0:typeof _0x195d48==_0x14b28c(0x220)&&_0x195d48[_0x14b28c(0x1bd)]()==='';}function _0x23a79f(_0x552e68,_0x27c47c,_0x3a1b16){const _0x4d09bc=_0x5a0300;let _0x291bf4=_0x27d821(_0x552e68),_0x239c7c=_0x27d821(_0x3a1b16);if(_0x291bf4==null||_0x239c7c==null)return!0x1;switch(_0x27c47c){case'is':return _0x291bf4===_0x239c7c;case _0x4d09bc(0x475):return _0x291bf4!==_0x239c7c;case _0x4d09bc(0x163):return _0x291bf4>_0x239c7c;case _0x4d09bc(0x430):return _0x291bf4>=_0x239c7c;case'lessThan':return _0x291bf4<_0x239c7c;case _0x4d09bc(0x51a):return _0x291bf4<=_0x239c7c;default:return!0x1;}}function _0x27d821(_0x194f94){const _0x39462e=_0x5a0300;if(_0x194f94==null||_0x194f94==='')return null;let _0x4256ee=Number(_0x194f94);return Number[_0x39462e(0x368)](_0x4256ee)?_0x4256ee:null;}function _0x36cc1c(_0x1de2e0,_0xb8e635,_0x360e37,_0x47f803){const _0x2c0ade=_0x5a0300;let _0x43b18c=_0xcd3807(_0x1de2e0);if(_0x43b18c==null)return!0x1;let _0xf3fa21=_0x120fb5(_0x47f803['dateMode']??_0x5708b3[_0x2c0ade(0x420)][_0x2c0ade(0x51c)],_0x360e37,_0x47f803[_0x2c0ade(0x169)]);if(!_0xf3fa21)return!0x1;switch(_0xb8e635){case _0x5708b3[_0x2c0ade(0x367)]['IS']:return _0x43b18c>=_0xf3fa21['start']&&_0x43b18c<=_0xf3fa21['end'];case _0x5708b3[_0x2c0ade(0x367)][_0x2c0ade(0x521)]:return _0x43b18c<_0xf3fa21[_0x2c0ade(0x3bd)]||_0x43b18c>_0xf3fa21[_0x2c0ade(0x2cf)];case _0x5708b3[_0x2c0ade(0x367)][_0x2c0ade(0x1cd)]:return _0x43b18c<_0xf3fa21[_0x2c0ade(0x3bd)];case _0x5708b3[_0x2c0ade(0x367)][_0x2c0ade(0x157)]:return _0x43b18c>_0xf3fa21['end'];default:return!0x1;}}function _0x120fb5(_0x36edc,_0x55bf92,_0x35509a=Date[_0x5a0300(0x169)]()){const _0xc0215d=_0x5a0300;let _0x4e5b25=_0x1cff24(_0x35509a);switch(_0x36edc){case _0x5708b3['BaseConditionalDateMode'][_0xc0215d(0x51c)]:{let _0x5236d3=_0xcd3807(_0x55bf92);return _0x5236d3==null?null:_0x21078c(_0x5236d3,0x0,0x1);}case _0x5708b3['BaseConditionalDateMode'][_0xc0215d(0x33c)]:return _0x21078c(_0x4e5b25,0x0,0x1);case _0x5708b3[_0xc0215d(0x420)]['TOMORROW']:return _0x21078c(_0x4e5b25,0x1,0x1);case _0x5708b3[_0xc0215d(0x420)]['YESTERDAY']:return _0x21078c(_0x4e5b25,-0x1,0x1);case _0x5708b3[_0xc0215d(0x420)]['THIS_WEEK']:return _0x4f1bea(_0x4e5b25,0x0);case _0x5708b3[_0xc0215d(0x420)]['LAST_WEEK']:return _0x4f1bea(_0x4e5b25,-0x1);case _0x5708b3['BaseConditionalDateMode'][_0xc0215d(0x189)]:return _0x413f12(_0x4e5b25,0x0);case _0x5708b3[_0xc0215d(0x420)][_0xc0215d(0x16c)]:return _0x413f12(_0x4e5b25,-0x1);case _0x5708b3['BaseConditionalDateMode']['PAST_7_DAYS']:return _0x21078c(_0x4e5b25,-0x6,0x7);case _0x5708b3[_0xc0215d(0x420)][_0xc0215d(0x507)]:return _0x21078c(_0x4e5b25,0x0,0x7);case _0x5708b3['BaseConditionalDateMode'][_0xc0215d(0x26b)]:return _0x21078c(_0x4e5b25,-0x1d,0x1e);case _0x5708b3[_0xc0215d(0x420)]['NEXT_30_DAYS']:return _0x21078c(_0x4e5b25,0x0,0x1e);}}function _0xcd3807(_0x5db34a){let _0x140686=_0x11d4ea(_0x5db34a);return _0x140686==null?null:_0x1cff24(_0x1968fc(_0x140686));}function _0x1cff24(_0x19e7ea){let _0x121717=new Date(_0x19e7ea);return _0x121717['setHours'](0x0,0x0,0x0,0x0),_0x121717['getTime']();}function _0x4f1bea(_0xf12162,_0x1c083f){const _0x3f9dd2=_0x5a0300;return _0x21078c(_0xf12162,-((new Date(_0xf12162)[_0x3f9dd2(0x4e1)]()+0x6)%0x7)+_0x1c083f*0x7,0x7);}function _0x21078c(_0x5dac4d,_0x36f1a2,_0x2bbd99){const _0x5bbc5d=_0x5a0300;let _0xf2bd78=(0x0,_0x5708b3[_0x5bbc5d(0x1c2)])(_0x5dac4d)[_0x5bbc5d(0x152)](_0x36f1a2,_0x5bbc5d(0x37c));return{'start':_0xf2bd78['valueOf'](),'end':_0xf2bd78[_0x5bbc5d(0x152)](_0x2bbd99,_0x5bbc5d(0x37c))['valueOf']()-0x1};}function _0x413f12(_0xcb39e1,_0x577584){const _0x5c1417=_0x5a0300;let _0x4b4888=new Date(_0xcb39e1),_0x2de517=new Date(_0x4b4888[_0x5c1417(0xf7)](),_0x4b4888[_0x5c1417(0x1a5)]()+_0x577584,0x1),_0x360a8a=new Date(_0x4b4888[_0x5c1417(0xf7)](),_0x4b4888[_0x5c1417(0x1a5)]()+_0x577584+0x1,0x1);return{'start':_0x2de517[_0x5c1417(0x34f)](),'end':_0x360a8a[_0x5c1417(0x34f)]()-0x1};}function _0x46d312(_0x558654,_0x4b2597,_0x24053f){const _0x3165de=_0x5a0300;let _0x517c45=_0x3fe5d3(_0x558654),_0x5c898e=_0x3fe5d3(_0x24053f);switch(_0x4b2597){case'is':return _0x517c45===_0x5c898e;case _0x3165de(0x475):return _0x517c45!==_0x5c898e;default:return!0x1;}}function _0x3fe5d3(_0x1dc6a7){const _0x23491e=_0x5a0300;return _0x1dc6a7===!0x0||_0x1dc6a7===_0x23491e(0x2b2)||_0x1dc6a7===0x1||_0x1dc6a7==='1';}function _0x279a71(_0x82a817,_0x45abf5,_0x2c540d,_0x253d8b){const _0x222607=_0x5a0300;let _0x359be3=_0x5e157d(_0x82a817,_0x253d8b),_0x3f3785=_0x5e157d(_0x2c540d,_0x253d8b),_0xe69915=_0x3f3785['length']>0x0&&_0x3f3785[_0x222607(0x2e9)](_0x2e20e3=>_0x359be3[_0x222607(0x248)](_0x2e20e3));switch(_0x45abf5){case'is':case _0x222607(0x1d1):return _0xe69915;case _0x222607(0x475):case _0x222607(0x2fe):return!_0xe69915;default:return!0x1;}}function _0x56c1d7(_0xb5cb22,_0xa21b65,_0x401d1c){const _0x28859b=_0x5a0300;let _0x1206ca=_0x3f76a7(_0xb5cb22),_0x31b65f=_0x3f76a7(_0x401d1c);switch(_0xa21b65){case'is':return _0x1206ca===_0x31b65f;case _0x28859b(0x475):return _0x1206ca!==_0x31b65f;case _0x28859b(0x1d1):return _0x31b65f?_0x1206ca['includes'](_0x31b65f):!0x1;case _0x28859b(0x2fe):return!_0x31b65f||!_0x1206ca['includes'](_0x31b65f);default:return!0x1;}}function _0x3f76a7(_0x6bdc16){const _0x5086c1=_0x5a0300;if(Array['isArray'](_0x6bdc16))return _0x6bdc16[_0x5086c1(0x447)](_0x37c7c4=>_0x3f76a7(_0x37c7c4))['join']('\x0a');if(_0x6bdc16&&typeof _0x6bdc16==_0x5086c1(0x24f)){let _0x460fc2=_0x6bdc16;return String(_0x460fc2[_0x5086c1(0x3b4)]??_0x460fc2[_0x5086c1(0x329)]??_0x460fc2[_0x5086c1(0x462)]??_0x460fc2[_0x5086c1(0x12c)]??_0x460fc2['id']??'')['trim']()[_0x5086c1(0x436)]();}return String(_0x6bdc16??'')['trim']()[_0x5086c1(0x436)]();}function _0x5e157d(_0xb51ea9,_0x338be8){const _0x49d329=_0x5a0300;let _0x552dac=_0x47377e(_0xb51ea9),_0x2d18b6=_0x127c66(_0x338be8[_0x49d329(0x21c)]??{});return _0x552dac[_0x49d329(0x375)](_0x14dd4f=>_0x2d18b6[_0x49d329(0x387)](_0x14dd4f)??[_0x14dd4f])[_0x49d329(0x22b)]((_0x11717c,_0x2a2cca,_0x19cdc0)=>_0x11717c!==''&&_0x19cdc0[_0x49d329(0x4ed)](_0x11717c)===_0x2a2cca);}function _0x47377e(_0x265c53){const _0x1890dc=_0x5a0300;if(_0x265c53==null||_0x265c53==='')return[];if(Array['isArray'](_0x265c53))return _0x265c53['flatMap'](_0x5eaaf2=>_0x47377e(_0x5eaaf2));if(_0x265c53&&typeof _0x265c53==_0x1890dc(0x24f)){let _0x2be2bd=_0x265c53;return['id',_0x1890dc(0x3b4),_0x1890dc(0x329),_0x1890dc(0x12c),_0x1890dc(0x462)][_0x1890dc(0x375)](_0x378695=>_0x47377e(_0x2be2bd[_0x378695]))[_0x1890dc(0x22b)]((_0x5ba376,_0x2a0beb,_0x47f505)=>_0x47f505[_0x1890dc(0x4ed)](_0x5ba376)===_0x2a0beb);}return[_0x3f76a7(_0x265c53)];}function _0x127c66(_0x3f05d6){const _0x4c4346=_0x5a0300;let _0x4b4929=new Map();return(Array['isArray'](_0x3f05d6['options'])?_0x3f05d6[_0x4c4346(0x162)]:[])[_0x4c4346(0x11c)](_0x5751e5=>{const _0x593457=_0x4c4346;if(!_0x5751e5||typeof _0x5751e5!=_0x593457(0x24f))return;let _0x139115=_0x47377e(_0x5751e5),_0xf2c13f=_0x139115['filter']((_0x14fb2b,_0x1a2c80)=>_0x14fb2b!==''&&_0x139115['indexOf'](_0x14fb2b)===_0x1a2c80);_0xf2c13f[_0x593457(0x11c)](_0x513c33=>_0x4b4929[_0x593457(0x289)](_0x513c33,_0xf2c13f));}),_0x4b4929;}function _0x1db4f7(_0x5891ec,_0x22dc25={},_0x51f95b=_0xb7b408=>_0xb7b408,_0x24afa7={}){const _0x38b233=_0x5a0300;let _0x5056e5=!_0x520e34[_0x38b233(0x4d4)](_0x5891ec),_0x25605b=_0x51f95b??(_0x38581f=>_0x38581f);return{'type':_0x5891ec,'i18nKey':'base.fieldType.'+_0x5891ec,'enabled':_0x5056e5,'visibleInCreateMenu':_0x5056e5,'createDefaultConfig':_0x24afa7[_0x38b233(0x305)]??(()=>({})),'createDefaultValue':_0x24afa7[_0x38b233(0x2f2)]??(_0x526931=>_0x526931['defaultValue']??null),'normalize':(_0x265426,_0x48db20)=>_0x25605b(_0x265426,_0x48db20),'validate':(_0x552c4b,_0x58ac50)=>{const _0x1d5b29=_0x38b233;var _0x402040;return _0x5056e5?((_0x402040=_0x24afa7[_0x1d5b29(0x484)])==null?void 0x0:_0x402040['call'](_0x24afa7,_0x552c4b,_0x58ac50))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x162134,_0x2ec1e3)=>_0x303803(_0x162134,_0x2ec1e3),'filter':(_0x139968,_0x145e88,_0x58a64b,_0xcde2fc)=>_0x47bbe5(_0x139968,_0x145e88,_0x58a64b,_0xcde2fc),'toPlainText':_0x24afa7[_0x38b233(0x4aa)]??(_0x425109=>_0x425109==null?'':String(_0x425109)),'fromPlainText':_0x24afa7[_0x38b233(0x37a)]??(_0x3da0e0=>_0x25605b(_0x3da0e0,{'id':'','name':'','type':_0x5891ec,'config':{}})),'getCapabilities':()=>({..._0x22b6e9,..._0x22dc25,'editable':_0x5056e5&&(_0x22dc25[_0x38b233(0x1e4)]??_0x22b6e9[_0x38b233(0x1e4)])})};}function _0x3a96d7(){const _0x295efb=_0x5a0300;return[_0x1db4f7(_0x5708b3['BaseFieldType'][_0x295efb(0x2ba)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0xa97edf=>_0xa97edf[_0x295efb(0x1f0)]??''}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x147)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1cc700=>_0x1cc700==null||_0x1cc700===''?null:String(_0x1cc700),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x295efb(0x23b)}})}),_0x1db4f7(_0x5708b3['BaseFieldType']['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x457b70=>Array[_0x295efb(0x46f)](_0x457b70)?_0x457b70[_0x295efb(0x447)](String):_0x457b70==null?[]:[String(_0x457b70)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x295efb(0x23b)}}),'createDefaultValue':_0x11dc3f=>_0x11dc3f[_0x295efb(0x1f0)]??[]}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)]['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x1eb546,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x295efb(0x360)}),'validate':_0xd5180d}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x4ae)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3277e0,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x295efb(0x266)}),'createDefaultValue':_0x5f2567=>_0x5f2567['defaultValue']??[],'validate':_0x4d2d9a}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x30b)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xbcbff3=>_0x11d4ea(_0xbcbff3),{'createDefaultConfig':()=>_0x1d2b24(),'validate':_0x19c123}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x49b)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x1d9898=>_0x1d9898==null?[]:Array[_0x295efb(0x46f)](_0x1d9898)?_0x1d9898:[_0x1d9898],{'createDefaultValue':_0x32956d=>_0x32956d[_0x295efb(0x1f0)]??[]}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x496)],{},_0x4b0a31=>_0x4b0a31==null||_0x4b0a31===''?null:Number(_0x4b0a31),{'createDefaultConfig':()=>_0x717bf2(),'validate':_0xa0c40a}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x31c)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x5ea0e4=>_0x5ea0e4===!0x0||_0x5ea0e4===_0x295efb(0x2b2)||_0x5ea0e4===0x1||_0x5ea0e4==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x295efb(0x370)}),'createDefaultValue':_0x551eab=>_0x551eab[_0x295efb(0x1f0)]??!0x1,'validate':_0x41f7da=>typeof _0x41f7da==_0x295efb(0x303)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x295efb(0x454)}}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)]['Link'],{'supportsRelation':!0x0},_0x17e327,{'createDefaultConfig':()=>({'placeholder':_0x295efb(0x3f0)}),'toPlainText':_0x5bfdaa=>_0x4a7449(_0x5bfdaa),'fromPlainText':_0x1498ce=>_0x17e327(_0x1498ce)}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)]['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x295efb(0x202),'pattern':_0x295efb(0x318)}}),'createDefaultValue':()=>null}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x2fd)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x295efb(0x414)}),'createDefaultValue':()=>null}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x20a)],{'usableAsTitle':!0x0},_0x20bc5b=>_0x20bc5b==null?null:String(_0x20bc5b)[_0x295efb(0x1bd)](),{'validate':_0x97f3b3=>_0x97f3b3==null||_0x97f3b3===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x97f3b3))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x295efb(0x4da)}}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x1ed)],{'usableAsTitle':!0x0},_0x20b75f=>_0x20b75f==null?null:String(_0x20b75f)[_0x295efb(0x1bd)](),{'validate':_0x19f5f5=>_0x19f5f5==null||_0x19f5f5===''||_0x36b990(String(_0x19f5f5))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x3de)],{'usableAsGanttProgress':!0x0},_0x5f0286=>_0x5f0286==null||_0x5f0286===''?null:Number(_0x5f0286),{'createDefaultConfig':()=>({'format':_0x295efb(0x40d),'decimalPlaces':0x0,'color':_0x295efb(0xf5),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x28711c,_0x6e9498)=>_0x1b9856(_0x28711c,_0x6e9498,_0x295efb(0x3fa))}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0xcb)],{},_0x22b1a0=>_0x22b1a0==null||_0x22b1a0===''?null:Number(_0x22b1a0),{'createDefaultConfig':()=>({..._0x717bf2(),'currencySymbol':'$'}),'validate':_0xa0c40a}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x3b5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2b8d58=>_0x2b8d58==null||_0x2b8d58===''?null:Number(_0x2b8d58),{'createDefaultConfig':()=>({'icon':_0x295efb(0x333),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x1fe613,_0x86f1ca)=>_0x1b9856(_0x1fe613,_0x86f1ca,_0x295efb(0x386))}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)]['RecordLink'],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x1b68ca,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x56b04b,_0x219cb1)=>_0x1dd94b(_0x56b04b,_0x219cb1['config'][_0x295efb(0x504)]===!0x0)}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x452)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x397)],{'editable':!0x1,'groupable':!0x0},_0xa2e89a=>_0xa2e89a==null?null:String(_0xa2e89a),{'createDefaultConfig':()=>({'provider':_0x295efb(0x2a7)}),'createDefaultValue':()=>null}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)][_0x295efb(0x320)],{'editable':!0x1,'groupable':!0x0},_0x2cc421=>_0x2cc421==null?null:String(_0x2cc421),{'createDefaultConfig':()=>({'provider':_0x295efb(0x2a7)}),'createDefaultValue':()=>null}),_0x1db4f7(_0x5708b3['BaseFieldType'][_0x295efb(0x513)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xaca20c=>_0x11d4ea(_0xaca20c),{'createDefaultConfig':()=>_0x1d2b24(),'createDefaultValue':()=>null,'validate':_0x19c123}),_0x1db4f7(_0x5708b3[_0x295efb(0x2f3)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x43a331=>_0x11d4ea(_0x43a331),{'createDefaultConfig':()=>_0x1d2b24(),'createDefaultValue':()=>null,'validate':_0x19c123})];}function _0x717bf2(){const _0x1c702e=_0x5a0300;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x1c702e(0x28a),'useThousands':!0x0,'abbreviation':_0x1c702e(0x1dc),'allowNegative':!0x0};}function _0x1d2b24(){const _0x3a5685=_0x5a0300;return{'locale':'en-US','pattern':_0x3a5685(0x256),'includeTime':!0x1,'hourCycle':_0x3a5685(0x51e),'defaultMode':_0x3a5685(0x1dc)};}function _0x3277e0(_0x1b1a66){const _0x2f223a=_0x5a0300;return _0x1b1a66==null||_0x1b1a66===''?[]:Array[_0x2f223a(0x46f)](_0x1b1a66)?_0x1b1a66[_0x2f223a(0x447)](String):[String(_0x1b1a66)];}function _0x1b68ca(_0x2d6f5c){return typeof _0x2d6f5c=='string'?_0x2d6f5c:'';}function _0x1eb546(_0x1c8f11,_0x44a3fa){const _0x255910=_0x5a0300;return _0x1c8f11==null||_0x1c8f11===''?_0x44a3fa[_0x255910(0x21c)][_0x255910(0x363)]===!0x0?[]:null:_0x44a3fa[_0x255910(0x21c)][_0x255910(0x363)]===!0x0?Array[_0x255910(0x46f)](_0x1c8f11)?_0x1c8f11['map'](String):[String(_0x1c8f11)]:Array[_0x255910(0x46f)](_0x1c8f11)?String(_0x1c8f11[0x0]??'')||null:String(_0x1c8f11);}function _0xd5180d(_0x4423ad,_0x2977aa){const _0x1642d4=_0x5a0300;return _0x2977aa[_0x1642d4(0x21c)][_0x1642d4(0x363)]===!0x0?_0x4d2d9a(_0x4423ad):_0x4423ad==null||_0x4423ad===''||typeof _0x4423ad==_0x1642d4(0x220)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x4d2d9a(_0x2d27d8){const _0x3f1ec8=_0x5a0300;return _0x2d27d8==null||Array['isArray'](_0x2d27d8)&&_0x2d27d8[_0x3f1ec8(0x135)](_0x972f01=>typeof _0x972f01==_0x3f1ec8(0x220))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3f1ec8(0x349)};}function _0x19c123(_0x30e3b0){const _0x324200=_0x5a0300;return _0x30e3b0==null||typeof _0x30e3b0==_0x324200(0x337)&&Number[_0x324200(0x368)](_0x30e3b0)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function _0xa0c40a(_0x3eeb5d,_0x5b6b26){const _0x5c18e4=_0x5a0300;return _0x3eeb5d==null||_0x3eeb5d===''?{'valid':!0x0}:typeof _0x3eeb5d!=_0x5c18e4(0x337)||!Number[_0x5c18e4(0x368)](_0x3eeb5d)?{'valid':!0x1,'reason':_0x5c18e4(0x1c5)}:_0x5b6b26[_0x5c18e4(0x21c)]['allowNegative']===!0x1&&_0x3eeb5d<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function _0x1b9856(_0xf8481e,_0x23b9c2,_0x57980d){const _0x2bccaa=_0x5a0300;let _0x408d0b=_0xa0c40a(_0xf8481e,_0x23b9c2);if(!_0x408d0b[_0x2bccaa(0x150)]||_0xf8481e==null||_0xf8481e==='')return _0x408d0b;let _0x1ed938=Number(_0x23b9c2[_0x2bccaa(0x21c)]['min']??_0x23b9c2[_0x2bccaa(0x21c)][_0x2bccaa(0x3bd)]??0x0),_0x1a6363=Number(_0x23b9c2[_0x2bccaa(0x21c)][_0x2bccaa(0x2a0)]??_0x23b9c2['config'][_0x2bccaa(0x2cf)]??0x64),_0x2cc86e=Number(_0xf8481e);return _0x2cc86e>=_0x1ed938&&_0x2cc86e<=_0x1a6363?{'valid':!0x0}:{'valid':!0x1,'reason':_0x57980d};}function _0x17e327(_0x4608d5){const _0x5bc46b=_0x5a0300;if(_0x4608d5==null||_0x4608d5==='')return null;if(typeof _0x4608d5==_0x5bc46b(0x24f)&&!Array[_0x5bc46b(0x46f)](_0x4608d5)){let _0x4235e1=_0x4608d5,_0x288c4a=typeof _0x4235e1[_0x5bc46b(0x462)]==_0x5bc46b(0x220)?_0x4235e1['text'][_0x5bc46b(0x1bd)]():'',_0x411fd9=typeof _0x4235e1[_0x5bc46b(0x4ab)]=='string'?_0x4235e1[_0x5bc46b(0x4ab)]['trim']():'',_0x57874c=_0x8906bc(_0x411fd9||_0x288c4a);return _0x57874c?{'text':_0x288c4a||_0x411fd9||_0x57874c,'url':_0x57874c}:null;}let _0x571f07=String(_0x4608d5)[_0x5bc46b(0x1bd)](),_0x3cb7f0=_0x8906bc(_0x571f07);return _0x3cb7f0?{'text':_0x571f07,'url':_0x3cb7f0}:null;}function _0x4a7449(_0x1de70c){const _0x305cff=_0x5a0300;if(_0x1de70c==null)return'';if(typeof _0x1de70c==_0x305cff(0x24f)&&!Array[_0x305cff(0x46f)](_0x1de70c)){let _0x43bf2e=_0x1de70c;return String(_0x43bf2e[_0x305cff(0x462)]||_0x43bf2e[_0x305cff(0x4ab)]||'');}return String(_0x1de70c);}function _0x8906bc(_0x2b8b0a){const _0x15e135=_0x5a0300;let _0x4ca265=_0x2b8b0a['trim']();if(!_0x4ca265)return'';let _0x539c5f=/^[a-z][a-z\d+.-]*:/i[_0x15e135(0x3bf)](_0x4ca265)?_0x4ca265:_0x4ca265['startsWith']('//')?_0x15e135(0x4a2)+_0x4ca265:_0x15e135(0x161)+_0x4ca265;try{let _0x4e152d=new URL(_0x539c5f);return _0x4e152d[_0x15e135(0x228)]===_0x15e135(0xce)||_0x4e152d[_0x15e135(0x228)]===_0x15e135(0x4a2)?_0x4e152d[_0x15e135(0x178)]:'';}catch{return'';}}function _0x36b990(_0x186fbe){const _0x41fbfc=_0x5a0300;let _0x5c357f=_0x186fbe[_0x41fbfc(0x4ed)]('@');if(_0x5c357f<=0x0||_0x5c357f!==_0x186fbe[_0x41fbfc(0x302)]('@'))return!0x1;let _0x38d96a=_0x186fbe[_0x41fbfc(0x51b)](_0x5c357f+0x1);return _0x38d96a[_0x41fbfc(0x248)]('.')&&!_0x186fbe[_0x41fbfc(0x248)]('\x20')&&!_0x38d96a[_0x41fbfc(0x394)]('.')&&!_0x38d96a[_0x41fbfc(0x22d)]('.');}let _0x1d14ea={'table':_0x56caa1=>[_0x5a0300(0x18e),_0x56caa1],'field':(_0x52a917,_0x3a694a)=>['tables',_0x52a917,_0x5a0300(0x527),_0x3a694a],'fieldOrder':(_0x39a2eb,_0x193376)=>[_0x5a0300(0x18e),_0x39a2eb,_0x5a0300(0x286),_0x193376],'record':(_0x4e5637,_0xdb08df)=>[_0x5a0300(0x18e),_0x4e5637,_0x5a0300(0x457),_0xdb08df],'cell':(_0x1a43ac,_0x4e61d3,_0x2a7523)=>[_0x5a0300(0x18e),_0x1a43ac,_0x5a0300(0x457),_0x4e61d3,_0x5a0300(0x253),_0x2a7523],'cellData':(_0x4577c3,_0x322981,_0x5c184f)=>[_0x5a0300(0x18e),_0x4577c3,_0x5a0300(0x497),String(_0x322981),String(_0x5c184f)],'attachmentSet':(_0x233481,_0x43c886)=>[_0x5a0300(0x18e),_0x233481,_0x5a0300(0x25b),'attachmentSets',_0x43c886],'attachment':(_0xa52a3a,_0x415b38)=>[_0x5a0300(0x18e),_0xa52a3a,_0x5a0300(0x25b),_0x5a0300(0x198),_0x415b38],'view':(_0x15faba,_0x69639f)=>[_0x5a0300(0x18e),_0x15faba,_0x5a0300(0x255),_0x69639f],'viewFieldHidden':(_0x157b8a,_0x5af3e7,_0x2a90fe)=>[_0x5a0300(0x18e),_0x157b8a,_0x5a0300(0x255),_0x5af3e7,_0x5a0300(0x25a),_0x2a90fe,_0x5a0300(0x164)]};var _0x108016=class{[_0x5a0300(0x1e8)](_0x3389eb,_0x5be2b3){const _0xf10043=_0x5a0300;let _0x1ada98=this[_0xf10043(0x4ec)](_0x3389eb,_0x3389eb['name'],_0x5be2b3);return _0x22d022([this['_replaceOptional']([_0xf10043(0x3b4)],_0x3389eb[_0xf10043(0x3b4)],_0x5be2b3),..._0x1ada98?[_0x1ada98]:[]]);}[_0x5a0300(0x4ec)](_0x25552e,_0x5be39c,_0x535a4e){const _0x2be374=_0x5a0300;let _0x3ec7df=Object[_0x2be374(0x253)](_0x25552e[_0x2be374(0x18e)])[_0x2be374(0x375)](_0x187eef=>Object[_0x2be374(0x253)](_0x187eef[_0x2be374(0x527)])['flatMap'](_0x85fd1f=>{const _0x1ff704=_0x2be374;var _0x422f77,_0x59669f;if(_0x85fd1f[_0x1ff704(0x131)]!==_0x5708b3[_0x1ff704(0x2f3)][_0x1ff704(0x20b)])return[];let _0x3d96e1=String(((_0x422f77=_0x85fd1f['config'])==null?void 0x0:_0x422f77[_0x1ff704(0x459)])??''),_0x532ca5=(0x0,_0x13e179[_0x1ff704(0x252)])(_0x3d96e1,_0x5be39c,_0x535a4e);return _0x532ca5===_0x3d96e1?[]:[this['_replaceOptional']([..._0x1d14ea[_0x1ff704(0x2d3)](_0x187eef['id'],_0x85fd1f['id']),_0x1ff704(0x21c),_0x1ff704(0x459)],(_0x59669f=_0x85fd1f['config'])==null?void 0x0:_0x59669f[_0x1ff704(0x459)],_0x532ca5)];}));return _0x3ec7df[_0x2be374(0x211)]>0x0?_0x22d022(_0x3ec7df):void 0x0;}[_0x5a0300(0xda)](_0x4a8508,_0x4eb0af,_0x2c24b5=_0x4a8508[_0x5a0300(0xec)][_0x5a0300(0x211)]){const _0x5e99eb=_0x5a0300;let _0x39ed01=(0x0,_0x5708b3[_0x5e99eb(0xd6)])(_0x4eb0af[_0x5e99eb(0x3b4)],(0x0,_0x5708b3[_0x5e99eb(0x290)])(_0x4a8508)[_0x5e99eb(0x253)](),_0x4eb0af[_0x5e99eb(0x410)]),_0x46172d=_0x4eb0af[_0x5e99eb(0x410)]===_0x39ed01?_0x4eb0af:{..._0x4eb0af,'formulaName':_0x39ed01};return _0x22d022([...this[_0x5e99eb(0x321)](_0x4a8508),_0x5708b3[_0x5e99eb(0x21b)][_0x5e99eb(0x1fc)](_0x1d14ea[_0x5e99eb(0x294)](_0x4eb0af['id']),_0x46172d),_0x5708b3['JSON1']['insertOp']([_0x5e99eb(0xec),_0x2c24b5],_0x4eb0af['id'])]);}[_0x5a0300(0x41f)](_0x165f6d,_0x3e3b3e,_0x4306be){const _0x499757=_0x5a0300;let _0x9393d4=_0x165f6d[_0x499757(0x18e)][_0x3e3b3e];return _0x22d022([...this[_0x499757(0x321)](_0x165f6d),_0x5708b3[_0x499757(0x21b)]['replaceOp']([..._0x1d14ea[_0x499757(0x294)](_0x3e3b3e),_0x499757(0x3b4)],_0x9393d4[_0x499757(0x3b4)],_0x4306be)]);}[_0x5a0300(0x4f6)](_0x2cdbe5,_0xda55ad){const _0x4c5c39=_0x5a0300;let _0x1026d2=_0x2cdbe5[_0x4c5c39(0x18e)][_0xda55ad],_0xe110a4=_0x2cdbe5[_0x4c5c39(0xec)][_0x4c5c39(0x4ed)](_0xda55ad);return _0x22d022([...this[_0x4c5c39(0x321)](_0x2cdbe5,new Set([_0xda55ad])),_0x5708b3[_0x4c5c39(0x21b)][_0x4c5c39(0x4c0)](_0x1d14ea['table'](_0xda55ad),_0x1026d2),_0x5708b3[_0x4c5c39(0x21b)][_0x4c5c39(0x4c0)]([_0x4c5c39(0xec),_0xe110a4],_0xda55ad)]);}['createRecord'](_0x167908,_0x1d075c,_0x28c156){const _0x679b3d=_0x5a0300;return this[_0x679b3d(0x25e)](_0x167908,_0x1d075c,[_0x28c156]);}['createRecords'](_0x5d50ce,_0x5a2b9d,_0x4bfa02){const _0x35e601=_0x5a0300;let _0x1c6e42=_0x5d50ce[_0x35e601(0x18e)][_0x5a2b9d],_0x589e15=_0x4bfa02[_0x35e601(0x22b)](_0x2692ba=>_0x2692ba&&!_0x1c6e42['records'][_0x2692ba['id']])[_0x35e601(0x447)](_0x1df2cb=>({..._0x1df2cb,'values':{..._0x1df2cb[_0x35e601(0x253)],[_0x5708b3[_0x35e601(0x3c2)]]:_0x1df2cb['id']}}));if(!_0x589e15['length'])return _0x5708b3['JSON1'][_0x35e601(0x1a0)]([..._0x1d14ea['table'](_0x5a2b9d),_0x35e601(0x457)],_0x1c6e42[_0x35e601(0x457)],_0x1c6e42[_0x35e601(0x457)]);let _0xddd225=new _0x5708b3['JSON1'][(_0x35e601(0x2cb))](),_0x1fc9c4=[..._0x589e15][_0x35e601(0x3c8)]((_0x286bdf,_0x551252)=>_0x286bdf['id']<_0x551252['id']?-0x1:+(_0x286bdf['id']>_0x551252['id'])),_0x522eb3=[..._0x1d14ea[_0x35e601(0x294)](_0x5a2b9d),'records'];_0xddd225[_0x35e601(0x283)](_0x522eb3);for(let _0x19e472 of _0x1fc9c4)_0xddd225['descend'](_0x19e472['id']),_0xddd225[_0x35e601(0x2ff)]('i',_0x19e472),_0xddd225[_0x35e601(0x134)]();for(let _0x1884ec=0x0;_0x1884ec<_0x522eb3[_0x35e601(0x211)];_0x1884ec+=0x1)_0xddd225[_0x35e601(0x134)]();return _0x22d022([_0xddd225[_0x35e601(0x387)](),this[_0x35e601(0xea)](_0x5d50ce,_0x5a2b9d,_0x589e15)]);}[_0x5a0300(0x4fc)](_0x3dcebc,_0x5e3197,_0x22aee5){const _0x3f8958=_0x5a0300;return this[_0x3f8958(0x33d)](_0x3dcebc,_0x5e3197,[_0x22aee5]);}[_0x5a0300(0x33d)](_0x311431,_0x412a49,_0x4fbca2){const _0x24c9d0=_0x5a0300;let _0x2d394b=_0x311431['tables'][_0x412a49],_0xe316b5=Array[_0x24c9d0(0x2d6)](new Set(_0x4fbca2))['filter'](_0x318776=>_0x2d394b[_0x24c9d0(0x457)][_0x318776]);if(!_0xe316b5[_0x24c9d0(0x211)])return _0x5708b3[_0x24c9d0(0x21b)][_0x24c9d0(0x1a0)]([..._0x1d14ea[_0x24c9d0(0x294)](_0x412a49),_0x24c9d0(0x457)],_0x2d394b[_0x24c9d0(0x457)],_0x2d394b[_0x24c9d0(0x457)]);let _0x430717=new Set(_0xe316b5),_0xfd17a9=_0x31d0de(_0x2d394b,_0xe316b5)[_0x24c9d0(0x447)](_0x847ec0=>this[_0x24c9d0(0x2ec)](_0x311431,_0x412a49,_0x847ec0['recordId'],_0x847ec0[_0x24c9d0(0x236)],''));return _0x22d022([this['_deleteRecordsBaseOp'](_0x311431,_0x412a49,_0xe316b5,_0x430717),..._0xfd17a9]);}[_0x5a0300(0x37e)](_0x132feb,_0x5ecf9e,_0x42599a,_0x9b7f8b){const _0x10fedf=_0x5a0300;let _0x78f6d4=_0x132feb[_0x10fedf(0x18e)][_0x42599a],_0x30cd60=Array['from'](new Set(_0x9b7f8b))[_0x10fedf(0x22b)](_0x162d60=>_0x78f6d4[_0x10fedf(0x457)][_0x162d60]),_0x2ce67d=new Set(_0x30cd60);return _0x22d022([new _0x39599e()[_0x10fedf(0x4a1)](_0x132feb,this[_0x10fedf(0xe7)](_0x132feb,_0x42599a,_0x30cd60,_0x2ce67d)),..._0x31d0de(_0x78f6d4,_0x30cd60)['map'](_0x5a972b=>this[_0x10fedf(0x2ec)](_0x5ecf9e,_0x42599a,_0x5a972b[_0x10fedf(0x34b)],_0x5a972b[_0x10fedf(0x236)],_0x5a972b['oldParentRecordId']??''))]);}[_0x5a0300(0xe7)](_0x7fa3d8,_0x477c3e,_0x27e37f,_0x2f1251){const _0x4e99a0=_0x5a0300;let _0x5c8725=_0x7fa3d8[_0x4e99a0(0x18e)][_0x477c3e],_0x9584b9=_0x27e37f['map'](_0x2c5ad4=>{const _0x45ea4f=_0x4e99a0;var _0x5740b6;return{'recordId':_0x2c5ad4,'index':((_0x5740b6=_0x5c8725[_0x45ea4f(0x317)])==null?void 0x0:_0x5740b6['indexOf'](_0x2c5ad4))??-0x1};})[_0x4e99a0(0x22b)](_0x46c22b=>_0x46c22b[_0x4e99a0(0x3a1)]>=0x0)[_0x4e99a0(0x3c8)]((_0x4339d0,_0x2beae1)=>_0x2beae1['index']-_0x4339d0[_0x4e99a0(0x3a1)]);return _0x22d022([..._0x27e37f[_0x4e99a0(0x447)](_0x345cd1=>_0x5708b3[_0x4e99a0(0x21b)][_0x4e99a0(0x4c0)](_0x1d14ea[_0x4e99a0(0x4fb)](_0x477c3e,_0x345cd1),_0x5c8725['records'][_0x345cd1])),..._0x9584b9[_0x4e99a0(0x447)](({recordId:_0x32b9c3,index:_0x46a105})=>_0x5708b3[_0x4e99a0(0x21b)][_0x4e99a0(0x4c0)](['tables',_0x477c3e,_0x4e99a0(0x317),_0x46a105],_0x32b9c3)),...this['_deleteAttachmentResources'](_0x5c8725,_0x477c3e,_0x1e0fa4=>{const _0x34bc4a=_0x4e99a0;let _0x21b42e=_0x1e0fa4['slice'](_0x1e0fa4[_0x34bc4a(0x302)]('\x1f')+0x1);return _0x2f1251[_0x34bc4a(0x4d4)](_0x21b42e);})]);}[_0x5a0300(0xd3)](_0x17e942,_0x481fd4,_0x59993e,_0x593040){const _0x242498=_0x5a0300;return this['createRecord'](_0x17e942,_0x481fd4,{..._0x593040,'values':{..._0x17e942['tables'][_0x481fd4][_0x242498(0x457)][_0x59993e][_0x242498(0x253)],..._0x593040['values'],[_0x5708b3['BASE_RECORD_ID_FIELD_ID']]:_0x593040['id']}});}[_0x5a0300(0x16d)](_0x1accb8,_0x29a591,_0x5319e9,_0xc23efb){const _0x239eed=_0x5a0300;let _0x4453bc=_0x1accb8[_0x239eed(0x18e)][_0x29a591],_0x256d2a=[..._0x1d14ea[_0x239eed(0x4fb)](_0x29a591,_0x5319e9),_0x239eed(0x1c8)],_0x20a076=Object[_0x239eed(0x253)](_0x4453bc[_0x239eed(0x457)])[_0x239eed(0x447)](_0x1ee185=>_0x1ee185['id']===_0x5319e9?{..._0x1ee185,'orderKey':_0xc23efb}:_0x1ee185)[_0x239eed(0x3c8)]((_0x6caec2,_0x54dccf)=>String(_0x6caec2[_0x239eed(0x1c8)]??_0x6caec2['id'])[_0x239eed(0x323)](String(_0x54dccf[_0x239eed(0x1c8)]??_0x54dccf['id'])))['map'](_0x544023=>_0x544023['id']),_0x1b5370=[..._0x1d14ea[_0x239eed(0x294)](_0x29a591),'recordOrder'];return _0x22d022([this[_0x239eed(0x24e)](_0x256d2a,_0x4453bc[_0x239eed(0x457)][_0x5319e9][_0x239eed(0x1c8)],_0xc23efb),_0x4453bc['recordOrder']?_0x5708b3[_0x239eed(0x21b)]['replaceOp'](_0x1b5370,_0x4453bc[_0x239eed(0x317)],_0x20a076):_0x5708b3[_0x239eed(0x21b)][_0x239eed(0x1fc)](_0x1b5370,_0x20a076)]);}['updateCell'](_0x890bec,_0x54828a,_0x2ec890,_0x3e41e7,_0x3d5c78){const _0x19dc20=_0x5a0300;var _0x301030,_0x5a1ab5;let _0x8bc4fa=_0x890bec['tables'][_0x54828a],_0x1fee2b=_0x508af3(_0x8bc4fa,_0x2ec890,_0x3e41e7)?_0x8bc4fa:_0x2a5ea4(_0x8bc4fa),_0xee847e=(_0x301030=_0x1fee2b[_0x19dc20(0x1eb)])==null?void 0x0:_0x301030[_0x2ec890],_0x58947f=(_0x5a1ab5=_0x1fee2b[_0x19dc20(0x336)])==null?void 0x0:_0x5a1ab5[_0x3e41e7];if(_0xee847e==null||_0x58947f==null){var _0x202539;return this[_0x19dc20(0x24e)](_0x1d14ea[_0x19dc20(0x1f1)](_0x54828a,_0x2ec890,_0x3e41e7),(_0x202539=_0x890bec[_0x19dc20(0x18e)][_0x54828a])==null||(_0x202539=_0x202539['records'][_0x2ec890])==null?void 0x0:_0x202539[_0x19dc20(0x253)][_0x3e41e7],_0x3d5c78);}return this[_0x19dc20(0x1fd)](_0x890bec,_0x54828a,[{'row':_0xee847e,'col':_0x58947f,'value':_0x3d5c78}]);}['setRecordValues'](_0x386a87,_0x32513f,_0x13d3ea){const _0x3ee610=_0x5a0300;let _0x1e81b5=_0x386a87[_0x3ee610(0x18e)][_0x32513f],_0x68a231=_0x13d3ea['every'](_0x31f7c9=>Object[_0x3ee610(0x4dd)](_0x31f7c9['values'])[_0x3ee610(0x135)](_0x19d45c=>_0x508af3(_0x1e81b5,_0x31f7c9[_0x3ee610(0x34b)],_0x19d45c)))?_0x1e81b5:_0x2a5ea4(_0x1e81b5),_0x5adb15=_0x13d3ea[_0x3ee610(0x375)](_0x547cf2=>Object[_0x3ee610(0x15b)](_0x547cf2[_0x3ee610(0x253)])['flatMap'](([_0x37f33c,_0x20d6fa])=>{const _0x44b543=_0x3ee610;var _0x1eaea9,_0x319d2b;let _0x1afdd5=(_0x1eaea9=_0x68a231[_0x44b543(0x1eb)])==null?void 0x0:_0x1eaea9[_0x547cf2[_0x44b543(0x34b)]],_0x5be0f9=(_0x319d2b=_0x68a231[_0x44b543(0x336)])==null?void 0x0:_0x319d2b[_0x37f33c];return _0x1afdd5==null||_0x5be0f9==null?[]:[{'row':_0x1afdd5,'col':_0x5be0f9,'value':_0x20d6fa}];})),_0x226363=_0x13d3ea['flatMap'](_0x58a578=>Object[_0x3ee610(0x15b)](_0x58a578[_0x3ee610(0x3ba)]??{})['map'](([_0x2d810f,_0x2a78a5])=>{const _0x192d59=_0x3ee610;var _0x57512e;let _0x3080e7=[..._0x1d14ea['record'](_0x32513f,_0x58a578['recordId']),_0x2d810f],_0x18c5e0=(_0x57512e=_0x386a87[_0x192d59(0x18e)][_0x32513f])==null||(_0x57512e=_0x57512e[_0x192d59(0x457)][_0x58a578[_0x192d59(0x34b)]])==null?void 0x0:_0x57512e[_0x2d810f];return this['_replaceOptional'](_0x3080e7,_0x18c5e0,_0x2a78a5);}));return _0x22d022([this['setRangeValues'](_0x386a87,_0x32513f,_0x5adb15),..._0x226363]);}[_0x5a0300(0x1fd)](_0x195c77,_0x8626b5,_0x5ed2df){const _0x537269=_0x5a0300;let _0x37eb79=_0x195c77[_0x537269(0x18e)][_0x8626b5],_0xfce26c=_0x5ed2df['every'](_0x9b2696=>_0x5c44ec(_0x37eb79,_0x9b2696[_0x537269(0x3e1)],_0x9b2696['col']))?_0x37eb79:_0x2a5ea4(_0x37eb79),_0x12086f=new Map(),_0x593f05=_0x5ed2df[_0x537269(0x375)](_0x2bdf96=>{const _0x353dc6=_0x537269;var _0x15ec25,_0x812f96,_0x5f6cdd,_0x33d550;let _0x5c5746=(_0x15ec25=_0xfce26c[_0x353dc6(0x315)])==null?void 0x0:_0x15ec25[_0x2bdf96[_0x353dc6(0x2e5)]],_0x20645=(_0x812f96=_0xfce26c['rowId'])==null?void 0x0:_0x812f96[_0x2bdf96[_0x353dc6(0x3e1)]],_0x1d9991=_0x5c5746?_0xfce26c[_0x353dc6(0x527)][_0x5c5746]:void 0x0;if(_0x5c5746===_0x5708b3[_0x353dc6(0x3c2)]||(_0x1d9991==null?void 0x0:_0x1d9991[_0x353dc6(0x131)])===_0x5708b3['BaseFieldType'][_0x353dc6(0x452)])throw Error(_0x353dc6(0x36c));let _0x9b93c8=_0x5598a2(_0x2bdf96[_0x353dc6(0x12c)],_0x1d9991),_0x3c5c23=(_0x5f6cdd=_0xfce26c['cellData'])==null||(_0x5f6cdd=_0x5f6cdd[_0x2bdf96[_0x353dc6(0x3e1)]])==null?void 0x0:_0x5f6cdd[_0x2bdf96[_0x353dc6(0x2e5)]],_0x243aaf=this[_0x353dc6(0x24e)](_0x1d14ea[_0x353dc6(0x497)](_0x8626b5,_0x2bdf96[_0x353dc6(0x3e1)],_0x2bdf96[_0x353dc6(0x2e5)]),_0x3c5c23,_0x9b93c8);if(!_0x5c5746||!_0x20645)return[_0x243aaf];let _0x380e40=(_0x33d550=_0xfce26c[_0x353dc6(0x457)][_0x20645])==null?void 0x0:_0x33d550['values'][_0x5c5746],_0x59357a=(_0x1d9991==null?void 0x0:_0x1d9991[_0x353dc6(0x131)])===_0x5708b3[_0x353dc6(0x2f3)][_0x353dc6(0x49b)]?_0x503fde(_0x2bdf96['value']):_0x2c984b(_0x2bdf96[_0x353dc6(0x12c)],_0x9b93c8,_0x1d9991,_0xfce26c,_0x20645),_0x387483=[_0x243aaf,this['_replaceOptional'](_0x1d14ea[_0x353dc6(0x1f1)](_0x8626b5,_0x20645,_0x5c5746),_0x380e40,_0x59357a)];return(_0x1d9991==null?void 0x0:_0x1d9991[_0x353dc6(0x131)])===_0x5708b3[_0x353dc6(0x2f3)][_0x353dc6(0x49b)]&&_0x12086f[_0x353dc6(0x289)](_0x106b9e(_0x5c5746,_0x20645),{'recordId':_0x20645,'fieldId':_0x5c5746,'attachments':_0x59357a}),_0x387483;});return _0x593f05[_0x537269(0x211)]?_0x22d022([..._0x593f05,...this[_0x537269(0x23a)](_0xfce26c,_0x8626b5,Array[_0x537269(0x2d6)](_0x12086f[_0x537269(0x253)]()))]):_0x5708b3['JSON1'][_0x537269(0x1a0)](['tables',_0x8626b5,_0x537269(0x497)],_0xfce26c['cellData'],_0xfce26c['cellData']);}[_0x5a0300(0xdb)](_0x2f01b5,_0x1f4949,_0x5310e0){const _0xab3d8c=_0x5a0300;let _0x1663b9=_0x2f01b5[_0xab3d8c(0x18e)][_0x1f4949];if(_0x1663b9[_0xab3d8c(0x527)][_0x5310e0['field']['id']]||_0x1663b9[_0xab3d8c(0x286)]['includes'](_0x5310e0[_0xab3d8c(0x2d3)]['id']))return _0x5708b3[_0xab3d8c(0x21b)][_0xab3d8c(0x1a0)]([_0xab3d8c(0x18e),_0x1f4949,'fieldOrder'],_0x1663b9[_0xab3d8c(0x286)],_0x1663b9[_0xab3d8c(0x286)]);let _0x5bda71=Math[_0xab3d8c(0x2a0)](0x1,_0x5310e0[_0xab3d8c(0x3a1)]??_0x1663b9[_0xab3d8c(0x286)][_0xab3d8c(0x211)]),_0x215053=Object['values'](_0x1663b9[_0xab3d8c(0x255)]??{})[_0xab3d8c(0x375)](_0x2598d5=>{const _0x1b9665=_0xab3d8c;var _0x780592;if(!_0x2598d5[_0x1b9665(0x286)]||_0x2598d5['fieldOrder'][_0x1b9665(0x248)](_0x5310e0[_0x1b9665(0x2d3)]['id']))return[];let _0x5963c4=_0x5823ab(((_0x780592=_0x5310e0['viewIndexes'])==null?void 0x0:_0x780592[_0x2598d5['id']])??_0x5bda71,_0x2598d5[_0x1b9665(0x286)][_0x1b9665(0x211)]);return[_0x5708b3[_0x1b9665(0x21b)][_0x1b9665(0x1fc)]([..._0x1d14ea[_0x1b9665(0x433)](_0x1f4949,_0x2598d5['id']),_0x1b9665(0x286),_0x5963c4],_0x5310e0['field']['id'])];});return _0x22d022([..._0x5310e0['field']['type']===_0x5708b3[_0xab3d8c(0x2f3)][_0xab3d8c(0x20b)]?this[_0xab3d8c(0x321)](_0x2f01b5):[],_0x5708b3[_0xab3d8c(0x21b)]['insertOp'](_0x1d14ea['field'](_0x1f4949,_0x5310e0[_0xab3d8c(0x2d3)]['id']),_0x5310e0[_0xab3d8c(0x2d3)]),_0x5708b3['JSON1'][_0xab3d8c(0x1fc)](_0x1d14ea[_0xab3d8c(0x286)](_0x1f4949,_0x5bda71),_0x5310e0[_0xab3d8c(0x2d3)]['id']),..._0x215053]);}[_0x5a0300(0x27e)](_0xfb265,_0x202fde,_0x1b10e9,_0x40a64c){const _0x3cacbe=_0x5a0300;let _0x37f3d1=_0xfb265[_0x3cacbe(0x18e)][_0x202fde];if(!_0x37f3d1[_0x3cacbe(0x527)][_0x1b10e9]||_0x37f3d1[_0x3cacbe(0x527)][_0x40a64c[_0x3cacbe(0x2d3)]['id']]||_0x37f3d1[_0x3cacbe(0x286)][_0x3cacbe(0x248)](_0x40a64c['field']['id']))return _0x5708b3[_0x3cacbe(0x21b)][_0x3cacbe(0x1a0)]([_0x3cacbe(0x18e),_0x202fde,'fieldOrder'],_0x37f3d1[_0x3cacbe(0x286)],_0x37f3d1[_0x3cacbe(0x286)]);let _0x53affe=_0x40a64c['index']??_0x37f3d1['fieldOrder']['indexOf'](_0x1b10e9)+0x1,_0x432046=_0x37f3d1[_0x3cacbe(0x286)][_0x3cacbe(0x22b)](_0x5c385b=>_0x5c385b!==_0x40a64c['field']['id']),_0x550c89=_0xe84099(_0x432046,_0x40a64c[_0x3cacbe(0x2d3)]['id'],_0x53affe),_0x2bf18d=Object[_0x3cacbe(0x253)](_0x37f3d1[_0x3cacbe(0x255)]??{})[_0x3cacbe(0x375)](_0x4e03d1=>{const _0x78e0af=_0x3cacbe;var _0x4fd1b3,_0x3008e7,_0xb2a499,_0x371e84;let _0x906551=(_0x4fd1b3=_0x4e03d1[_0x78e0af(0x286)])!=null&&_0x4fd1b3[_0x78e0af(0x211)]?_0x4e03d1[_0x78e0af(0x286)]:_0x432046;if(_0x906551['includes'](_0x40a64c[_0x78e0af(0x2d3)]['id']))return[];let _0x479f73=_0xe84099(_0x906551,_0x40a64c[_0x78e0af(0x2d3)]['id'],((_0x3008e7=_0x40a64c['viewIndexes'])==null?void 0x0:_0x3008e7[_0x4e03d1['id']])??_0x53affe),_0x20ec44=(_0xb2a499=_0x4e03d1['fieldSettings'])==null?void 0x0:_0xb2a499[_0x1b10e9];return[this['_replaceOptional']([..._0x1d14ea[_0x78e0af(0x433)](_0x202fde,_0x4e03d1['id']),'fieldOrder'],_0x4e03d1['fieldOrder'],_0x479f73),..._0x20ec44?[this[_0x78e0af(0x24e)]([..._0x1d14ea[_0x78e0af(0x433)](_0x202fde,_0x4e03d1['id']),_0x78e0af(0x25a),_0x40a64c['field']['id']],(_0x371e84=_0x4e03d1[_0x78e0af(0x25a)])==null?void 0x0:_0x371e84[_0x40a64c['field']['id']],_0x20ec44)]:[]];}),_0x84a36c=Object[_0x3cacbe(0x253)](_0x37f3d1[_0x3cacbe(0x457)])[_0x3cacbe(0x22b)](_0x47ca13=>Object[_0x3cacbe(0x3ed)][_0x3cacbe(0x523)][_0x3cacbe(0x1bb)](_0x47ca13['values'],_0x1b10e9))[_0x3cacbe(0x447)](_0x31de89=>this['_replaceOptional'](_0x1d14ea[_0x3cacbe(0x1f1)](_0x202fde,_0x31de89['id'],_0x40a64c['field']['id']),_0x31de89['values'][_0x40a64c[_0x3cacbe(0x2d3)]['id']],_0x31de89['values'][_0x1b10e9]));return _0x22d022([..._0x40a64c[_0x3cacbe(0x2d3)][_0x3cacbe(0x131)]===_0x5708b3[_0x3cacbe(0x2f3)][_0x3cacbe(0x20b)]?this['_materializeFormulaTableNames'](_0xfb265):[],_0x5708b3['JSON1'][_0x3cacbe(0x1fc)](_0x1d14ea[_0x3cacbe(0x2d3)](_0x202fde,_0x40a64c['field']['id']),_0x40a64c[_0x3cacbe(0x2d3)]),_0x5708b3['JSON1'][_0x3cacbe(0x1a0)](['tables',_0x202fde,_0x3cacbe(0x286)],_0x37f3d1[_0x3cacbe(0x286)],_0x550c89),..._0x2bf18d,..._0x84a36c]);}[_0x5a0300(0x4e2)](_0x5180f6,_0x5c2fcc,_0x526da2,_0x62c6ae){const _0x4f9987=_0x5a0300;let _0x4fe18c=_0x5180f6[_0x4f9987(0x18e)][_0x5c2fcc]['fields'][_0x526da2],_0x1bcc54={..._0x4fe18c,..._0x62c6ae};Object['keys'](_0x62c6ae)[_0x4f9987(0x11c)](_0x33d536=>{_0x62c6ae[_0x33d536]===void 0x0&&delete _0x1bcc54[_0x33d536];});let _0x18ad5b=_0x239437(_0x5180f6[_0x4f9987(0x18e)][_0x5c2fcc],_0x526da2,_0x4fe18c,_0x1bcc54);_0x1bcc54=_0x18ad5b[_0x4f9987(0x2d3)];let _0x309893=_0x5708b3[_0x4f9987(0x21b)][_0x4f9987(0x1a0)](_0x1d14ea['field'](_0x5c2fcc,_0x526da2),_0x4fe18c,_0x1bcc54);return _0x1bcc54[_0x4f9987(0x131)]===_0x5708b3[_0x4f9987(0x2f3)][_0x4f9987(0x20b)]?_0x22d022([...this[_0x4f9987(0x321)](_0x5180f6),_0x309893,...this[_0x4f9987(0x13e)](_0x5180f6,_0x5c2fcc,_0x526da2,_0x1bcc54)]):_0x22d022([_0x309893,..._0x18ad5b[_0x4f9987(0x276)]['length']?[this[_0x4f9987(0x1fd)](_0x5180f6,_0x5c2fcc,_0x18ad5b[_0x4f9987(0x276)])]:[]]);}[_0x5a0300(0x296)](_0x13ccc2,_0x55cc3a,_0x981c9d,_0x2b94e1){const _0x38f381=_0x5a0300;return this[_0x38f381(0x4e2)](_0x13ccc2,_0x55cc3a,_0x981c9d,_0x2b94e1);}[_0x5a0300(0x129)](_0x4d31ad,_0x1f705e,_0x54a249){const _0x480a24=_0x5a0300;let _0x2babc9=_0x4d31ad[_0x480a24(0x18e)][_0x1f705e];if(!(_0x2babc9!=null&&_0x2babc9[_0x480a24(0x527)][_0x54a249])||_0x2babc9[_0x480a24(0xf2)]===_0x54a249||_0x54a249===_0x5708b3[_0x480a24(0x3c2)])return _0x5708b3[_0x480a24(0x21b)][_0x480a24(0x1a0)](['tables',_0x1f705e,'fieldOrder'],_0x2babc9==null?void 0x0:_0x2babc9[_0x480a24(0x286)],_0x2babc9==null?void 0x0:_0x2babc9['fieldOrder']);let _0xb051a1=_0x2babc9[_0x480a24(0x286)][_0x480a24(0x4ed)](_0x54a249),_0x175030=Object[_0x480a24(0x253)](_0x2babc9[_0x480a24(0x255)])['flatMap'](_0x443cbb=>{const _0x5a92ed=_0x480a24;var _0x24c64e,_0x420ba3,_0x30efe1,_0x27ca54,_0x34c6a8,_0x4bcf92,_0x23b5e4;let _0x3aeff0=[],_0x32c6f5=((_0x24c64e=_0x443cbb[_0x5a92ed(0x286)])==null?void 0x0:_0x24c64e['indexOf'](_0x54a249))??-0x1;_0x32c6f5>=0x0&&_0x3aeff0[_0x5a92ed(0x4a3)](_0x5708b3[_0x5a92ed(0x21b)][_0x5a92ed(0x4c0)]([..._0x1d14ea['view'](_0x1f705e,_0x443cbb['id']),_0x5a92ed(0x286),_0x32c6f5],_0x54a249));let _0x108dd3=(_0x420ba3=_0x443cbb['fieldSettings'])==null?void 0x0:_0x420ba3[_0x54a249];_0x108dd3!==void 0x0&&_0x3aeff0[_0x5a92ed(0x4a3)](_0x5708b3[_0x5a92ed(0x21b)]['removeOp']([..._0x1d14ea['view'](_0x1f705e,_0x443cbb['id']),_0x5a92ed(0x25a),_0x54a249],_0x108dd3));let _0x2ec914=_0x443cbb['filter']?{..._0x443cbb[_0x5a92ed(0x22b)],'conditions':_0x443cbb[_0x5a92ed(0x22b)][_0x5a92ed(0x495)][_0x5a92ed(0x22b)](_0x1f4609=>_0x1f4609[_0x5a92ed(0x236)]!==_0x54a249)}:_0x443cbb[_0x5a92ed(0x22b)];_0x2ec914&&_0x2ec914[_0x5a92ed(0x495)][_0x5a92ed(0x211)]!==((_0x30efe1=_0x443cbb[_0x5a92ed(0x22b)])==null?void 0x0:_0x30efe1['conditions']['length'])&&_0x3aeff0[_0x5a92ed(0x4a3)](this[_0x5a92ed(0x24e)]([..._0x1d14ea[_0x5a92ed(0x433)](_0x1f705e,_0x443cbb['id']),_0x5a92ed(0x22b)],_0x443cbb['filter'],_0x2ec914));let _0x429ff5=(_0x27ca54=_0x443cbb[_0x5a92ed(0x3c8)])==null?void 0x0:_0x27ca54[_0x5a92ed(0x22b)](_0x45262d=>_0x45262d['fieldId']!==_0x54a249);_0x429ff5&&_0x429ff5[_0x5a92ed(0x211)]!==((_0x34c6a8=_0x443cbb[_0x5a92ed(0x3c8)])==null?void 0x0:_0x34c6a8[_0x5a92ed(0x211)])&&_0x3aeff0[_0x5a92ed(0x4a3)](this[_0x5a92ed(0x24e)]([..._0x1d14ea['view'](_0x1f705e,_0x443cbb['id']),'sort'],_0x443cbb['sort'],_0x429ff5));let _0x3b10dc=(_0x4bcf92=_0x443cbb[_0x5a92ed(0x266)])==null?void 0x0:_0x4bcf92[_0x5a92ed(0x22b)](_0xb49b2d=>_0xb49b2d[_0x5a92ed(0x236)]!==_0x54a249);_0x3b10dc&&_0x3b10dc['length']!==((_0x23b5e4=_0x443cbb[_0x5a92ed(0x266)])==null?void 0x0:_0x23b5e4[_0x5a92ed(0x211)])&&_0x3aeff0[_0x5a92ed(0x4a3)](this[_0x5a92ed(0x24e)]([..._0x1d14ea['view'](_0x1f705e,_0x443cbb['id']),'group'],_0x443cbb[_0x5a92ed(0x266)],_0x3b10dc));let _0x210a2a=_0x33469b(_0x443cbb[_0x5a92ed(0x21c)],_0x54a249);return JSON[_0x5a92ed(0x494)](_0x210a2a)!==JSON[_0x5a92ed(0x494)](_0x443cbb['config'])&&_0x3aeff0[_0x5a92ed(0x4a3)](_0x5708b3[_0x5a92ed(0x21b)][_0x5a92ed(0x1a0)]([..._0x1d14ea[_0x5a92ed(0x433)](_0x1f705e,_0x443cbb['id']),_0x5a92ed(0x21c)],_0x443cbb[_0x5a92ed(0x21c)],_0x210a2a)),_0x3aeff0;}),_0x19c8c0=Object['values'](_0x2babc9['records'])[_0x480a24(0x375)](_0x5743fe=>Object['prototype']['hasOwnProperty'][_0x480a24(0x1bb)](_0x5743fe[_0x480a24(0x253)],_0x54a249)?[_0x5708b3[_0x480a24(0x21b)]['removeOp'](_0x1d14ea[_0x480a24(0x1f1)](_0x1f705e,_0x5743fe['id'],_0x54a249),_0x5743fe['values'][_0x54a249])]:[]);return _0x22d022([_0x5708b3[_0x480a24(0x21b)][_0x480a24(0x4c0)](_0x1d14ea[_0x480a24(0x2d3)](_0x1f705e,_0x54a249),_0x2babc9['fields'][_0x54a249]),_0x5708b3[_0x480a24(0x21b)]['removeOp'](_0x1d14ea[_0x480a24(0x286)](_0x1f705e,_0xb051a1),_0x54a249),..._0x175030,..._0x19c8c0,...this['_deleteAttachmentResources'](_0x2babc9,_0x1f705e,_0x970855=>_0x970855[_0x480a24(0x394)](_0x54a249+'\x1f'))]);}['moveField'](_0x4cc4fa,_0x5020ff,_0x38eebb,_0x144bbc){const _0x12f34b=_0x5a0300;let _0x221e56=_0x4cc4fa['tables'][_0x5020ff][_0x12f34b(0x286)];if(_0x38eebb===_0x5708b3[_0x12f34b(0x3c2)]||_0x144bbc[_0x12f34b(0x166)]===_0x5708b3[_0x12f34b(0x3c2)])throw Error(_0x12f34b(0x3b2));let _0x430224=_0x399aca(_0x221e56,_0x38eebb,_0x144bbc);return _0x5708b3[_0x12f34b(0x21b)][_0x12f34b(0x1a0)](['tables',_0x5020ff,_0x12f34b(0x286)],_0x221e56,_0x430224);}[_0x5a0300(0x3d1)](_0x2bf33c,_0x5c7fc0,_0x206ab1,_0x4dc4f8=_0x2bf33c[_0x5a0300(0x18e)][_0x5c7fc0][_0x5a0300(0x4c2)][_0x5a0300(0x211)]){const _0x35b3c8=_0x5a0300;return _0x22d022([_0x5708b3[_0x35b3c8(0x21b)][_0x35b3c8(0x1fc)](_0x1d14ea[_0x35b3c8(0x433)](_0x5c7fc0,_0x206ab1['id']),_0x206ab1),_0x5708b3[_0x35b3c8(0x21b)]['insertOp']([_0x35b3c8(0x18e),_0x5c7fc0,'viewOrder',_0x4dc4f8],_0x206ab1['id'])]);}['renameView'](_0x4da696,_0x3b55ee,_0x28f62e,_0x263509){const _0x62b4c6=_0x5a0300;return _0x5708b3[_0x62b4c6(0x21b)][_0x62b4c6(0x1a0)]([..._0x1d14ea[_0x62b4c6(0x433)](_0x3b55ee,_0x28f62e),_0x62b4c6(0x3b4)],_0x4da696[_0x62b4c6(0x18e)][_0x3b55ee][_0x62b4c6(0x255)][_0x28f62e][_0x62b4c6(0x3b4)],_0x263509);}['deleteView'](_0x369e0e,_0x379819,_0x120394){const _0x161fa9=_0x5a0300;let _0x4f8857=_0x369e0e[_0x161fa9(0x18e)][_0x379819],_0x167ad9=_0x4f8857[_0x161fa9(0x255)][_0x120394],_0x432393=_0x4f8857[_0x161fa9(0x4c2)]['indexOf'](_0x120394);return _0x22d022([_0x5708b3[_0x161fa9(0x21b)][_0x161fa9(0x4c0)](_0x1d14ea[_0x161fa9(0x433)](_0x379819,_0x120394),_0x167ad9),_0x5708b3[_0x161fa9(0x21b)][_0x161fa9(0x4c0)](['tables',_0x379819,_0x161fa9(0x4c2),_0x432393],_0x120394)]);}[_0x5a0300(0x47b)](_0x5ef1f0,_0x36b43c,_0x377d55,_0x294590){const _0x392a9c=_0x5a0300;let _0x4c8175=_0x5ef1f0[_0x392a9c(0x18e)][_0x36b43c][_0x392a9c(0x4c2)],_0xa720aa=_0x399aca(_0x4c8175,_0x377d55,{'beforeFieldId':_0x294590[_0x392a9c(0x4d0)],'afterFieldId':_0x294590['afterViewId']});return _0x5708b3[_0x392a9c(0x21b)][_0x392a9c(0x1a0)]([_0x392a9c(0x18e),_0x36b43c,'viewOrder'],_0x4c8175,_0xa720aa);}[_0x5a0300(0x39c)](_0x399f0c,_0x88460f,_0x2c770f,_0x441e29){const _0x395928=_0x5a0300;let _0x235371=_0x399f0c[_0x395928(0x18e)][_0x88460f][_0x395928(0x255)][_0x2c770f][_0x395928(0x21c)]??{},_0xe0ec3={..._0x235371,..._0x441e29};return Object[_0x395928(0x4dd)](_0x441e29)['forEach'](_0x1d6332=>{_0x441e29[_0x1d6332]===void 0x0&&delete _0xe0ec3[_0x1d6332];}),_0x5708b3[_0x395928(0x21b)][_0x395928(0x1a0)]([..._0x1d14ea['view'](_0x88460f,_0x2c770f),_0x395928(0x21c)],_0x235371,_0xe0ec3);}[_0x5a0300(0xd2)](_0x2e1f15,_0x34255d,_0x3bc1c0,_0x57d663){const _0x82ad78=_0x5a0300;return this[_0x82ad78(0x24e)]([..._0x1d14ea['view'](_0x34255d,_0x3bc1c0),'filter'],_0x2e1f15[_0x82ad78(0x18e)][_0x34255d][_0x82ad78(0x255)][_0x3bc1c0][_0x82ad78(0x22b)],_0x57d663);}[_0x5a0300(0x3d8)](_0x4d869c,_0x5a858e,_0x51de08,_0x4a0467){const _0x16dafe=_0x5a0300;return this[_0x16dafe(0x24e)]([..._0x1d14ea[_0x16dafe(0x433)](_0x5a858e,_0x51de08),_0x16dafe(0x3c8)],_0x4d869c[_0x16dafe(0x18e)][_0x5a858e][_0x16dafe(0x255)][_0x51de08]['sort'],_0x4a0467);}['setViewGroup'](_0x4e0da4,_0x1207a2,_0x5362e2,_0x54be32){const _0x2ee0c7=_0x5a0300;return this[_0x2ee0c7(0x24e)]([..._0x1d14ea[_0x2ee0c7(0x433)](_0x1207a2,_0x5362e2),_0x2ee0c7(0x266)],_0x4e0da4[_0x2ee0c7(0x18e)][_0x1207a2][_0x2ee0c7(0x255)][_0x5362e2][_0x2ee0c7(0x266)],_0x54be32);}[_0x5a0300(0x4ad)](_0x2d80cc,_0x183b16,_0x45c39f,_0x753a2e,_0xb50db6){const _0x593d26=_0x5a0300;return this[_0x593d26(0x1f3)](_0x2d80cc,_0x183b16,_0x45c39f,_0x753a2e,{'hidden':!_0xb50db6});}[_0x5a0300(0x482)](_0x5856c4,_0x47fce0,_0x50e939,_0x417eab,_0x3c8db6){const _0x70b9f5=_0x5a0300;return this[_0x70b9f5(0x1f3)](_0x5856c4,_0x47fce0,_0x50e939,_0x417eab,{'width':_0x3c8db6});}[_0x5a0300(0x149)](_0x4fabe8,_0x4c200c,_0x26d0dd,_0x31e494,_0x320e78){const _0x5ce9e6=_0x5a0300;let _0x11fafa=_0x4fabe8[_0x5ce9e6(0x18e)][_0x4c200c]['views'][_0x26d0dd],_0x2819be=_0x399aca(_0x11fafa[_0x5ce9e6(0x286)]??_0x4fabe8['tables'][_0x4c200c][_0x5ce9e6(0x286)],_0x31e494,_0x320e78);return this['_replaceOptional']([..._0x1d14ea['view'](_0x4c200c,_0x26d0dd),_0x5ce9e6(0x286)],_0x11fafa['fieldOrder'],_0x2819be);}[_0x5a0300(0x1f3)](_0x3c65e4,_0x11b14c,_0x260ac8,_0xe5d33c,_0xab7411){const _0x3ddc89=_0x5a0300;let _0x443012=_0x3c65e4[_0x3ddc89(0x18e)][_0x11b14c]['views'][_0x260ac8]['fieldSettings']??{},_0x170a37={..._0x443012,[_0xe5d33c]:{..._0x443012[_0xe5d33c],..._0xab7411}};return this[_0x3ddc89(0x24e)]([..._0x1d14ea[_0x3ddc89(0x433)](_0x11b14c,_0x260ac8),_0x3ddc89(0x25a)],_0x3c65e4['tables'][_0x11b14c][_0x3ddc89(0x255)][_0x260ac8][_0x3ddc89(0x25a)],_0x170a37);}[_0x5a0300(0xea)](_0x27993a,_0x260e48,_0x10b1f8){const _0x263610=_0x5a0300;let _0x2f3454=_0x27993a[_0x263610(0x18e)][_0x260e48],_0x35e970=new Set(_0x10b1f8[_0x263610(0x447)](_0x3244e3=>_0x3244e3['id'])),_0x51c8d3=[...Object[_0x263610(0x253)](_0x2f3454['records'])['filter'](_0x584d48=>!_0x35e970[_0x263610(0x4d4)](_0x584d48['id'])),..._0x10b1f8]['sort']((_0x10791e,_0x4cae49)=>String(_0x10791e[_0x263610(0x1c8)]??_0x10791e['id'])['localeCompare'](String(_0x4cae49[_0x263610(0x1c8)]??_0x4cae49['id'])))[_0x263610(0x447)](_0x2e41ad=>_0x2e41ad['id']),_0xcd6249=[..._0x1d14ea[_0x263610(0x294)](_0x260e48),'recordOrder'];return _0x2f3454['recordOrder']?_0x5708b3[_0x263610(0x21b)][_0x263610(0x1a0)](_0xcd6249,_0x2f3454['recordOrder'],_0x51c8d3):_0x5708b3[_0x263610(0x21b)][_0x263610(0x1fc)](_0xcd6249,_0x51c8d3);}[_0x5a0300(0x321)](_0x4859a6,_0x565c2e=new Set()){const _0x399966=_0x5a0300;let _0x503bd7=(0x0,_0x5708b3[_0x399966(0x290)])(_0x4859a6);return Object[_0x399966(0x253)](_0x4859a6['tables'])[_0x399966(0x22b)](_0x17d488=>!_0x565c2e[_0x399966(0x4d4)](_0x17d488['id']))['sort']((_0x184eca,_0xb1bfb1)=>_0x184eca['id']['localeCompare'](_0xb1bfb1['id']))[_0x399966(0x375)](_0x1d4e07=>{const _0x2f01a2=_0x399966;let _0x367fd0=_0x503bd7['get'](_0x1d4e07['id']);return!_0x367fd0||_0x1d4e07['formulaName']===_0x367fd0?[]:[this['_replaceOptional']([..._0x1d14ea['table'](_0x1d4e07['id']),_0x2f01a2(0x410)],_0x1d4e07['formulaName'],_0x367fd0)];});}[_0x5a0300(0x13e)](_0x45877d,_0x13b1b1,_0x2918d6,_0x3560bd){const _0x5f00a1=_0x5a0300;var _0x302ea2,_0x57d10b;let _0x489f83=_0x2a5ea4(_0x45877d['tables'][_0x13b1b1]),_0x3643f8=String(((_0x302ea2=_0x3560bd[_0x5f00a1(0x21c)])==null?void 0x0:_0x302ea2[_0x5f00a1(0x459)])??'')[_0x5f00a1(0x1bd)](),_0x7c743d=(_0x57d10b=_0x489f83['colIndex'])==null?void 0x0:_0x57d10b[_0x2918d6];if(_0x7c743d==null)return[];let _0x2c2352=_0x489f83[_0x5f00a1(0x317)]??Object['keys'](_0x489f83[_0x5f00a1(0x457)]),_0x182a53=_0x2c2352[_0x5f00a1(0x447)](_0x328eac=>{var _0x317d6b;return(_0x317d6b=_0x489f83['rowIndex'])==null?void 0x0:_0x317d6b[_0x328eac];})[_0x5f00a1(0x1ab)](_0x169bb0=>_0x169bb0!=null);return _0x2c2352[_0x5f00a1(0x375)](_0x1f60e8=>{const _0x2facb8=_0x5f00a1;var _0x1dd6fa,_0x229f29;let _0x32dabe=(_0x1dd6fa=_0x489f83[_0x2facb8(0x1eb)])==null?void 0x0:_0x1dd6fa[_0x1f60e8];if(_0x32dabe==null)return[];let _0x77555e=(_0x229f29=_0x489f83[_0x2facb8(0x497)])==null||(_0x229f29=_0x229f29[_0x32dabe])==null?void 0x0:_0x229f29[_0x7c743d],_0x592733=_0x3643f8?_0x32dabe===_0x182a53?{'f':_0x3643f8,'si':_0x2918d6}:{'si':_0x2918d6}:{'v':null,'t':null};return[this[_0x2facb8(0x24e)](_0x1d14ea[_0x2facb8(0x497)](_0x13b1b1,_0x32dabe,_0x7c743d),_0x77555e,_0x592733)];});}[_0x5a0300(0x23a)](_0x33c8b3,_0x58e82a,_0x3c597b){const _0x3810e0=_0x5a0300;var _0x3210db;let _0x459636=new Map(Object['entries'](((_0x3210db=_0x33c8b3['resources'])==null?void 0x0:_0x3210db['attachmentSets'])??{})),_0x1a4f45=new Map(),_0x42c638=new Set(),_0xf87689=_0x3c597b['map'](({recordId:_0xe68af4,fieldId:_0x1aa429,attachments:_0x4de0ed})=>{const _0x2bd7d8=_0x513b;var _0x2c7f1b;let _0x39c122=_0x106b9e(_0x1aa429,_0xe68af4),_0x5083fd=_0x4de0ed[_0x2bd7d8(0x447)]((_0x23bb0f,_0x1260db)=>String(_0x23bb0f['id']??_0x39c122+'\x1f'+_0x1260db));return _0x42c638[_0x2bd7d8(0x152)](_0x39c122),_0x459636['set'](_0x39c122,_0x5083fd),_0x4de0ed[_0x2bd7d8(0x11c)]((_0x3f1fb7,_0x1a2638)=>{const _0x5da666=_0x2bd7d8;let _0x254402=_0x5083fd[_0x1a2638];_0x1a4f45[_0x5da666(0x289)](_0x254402,{..._0x3f1fb7,'id':_0x254402});}),this[_0x2bd7d8(0x24e)](_0x1d14ea[_0x2bd7d8(0x12b)](_0x58e82a,_0x39c122),(_0x2c7f1b=_0x33c8b3[_0x2bd7d8(0x25b)])==null||(_0x2c7f1b=_0x2c7f1b[_0x2bd7d8(0x463)])==null?void 0x0:_0x2c7f1b[_0x39c122],_0x5083fd);}),_0x1c13f3=Array[_0x3810e0(0x2d6)](_0x1a4f45)[_0x3810e0(0x447)](([_0x35b403,_0x1a2d4b])=>{const _0x5350e3=_0x3810e0;var _0x4422e9;return this[_0x5350e3(0x24e)](_0x1d14ea[_0x5350e3(0x244)](_0x58e82a,_0x35b403),(_0x4422e9=_0x33c8b3[_0x5350e3(0x25b)])==null||(_0x4422e9=_0x4422e9[_0x5350e3(0x198)])==null?void 0x0:_0x4422e9[_0x35b403],_0x1a2d4b);}),_0x16b6ab=new Set(Array['from'](_0x459636['values']())[_0x3810e0(0x1c3)]()),_0x31963b=new Set(Array[_0x3810e0(0x2d6)](_0x42c638)['flatMap'](_0x3b14f9=>{const _0x324a89=_0x3810e0;var _0x23512d;return((_0x23512d=_0x33c8b3[_0x324a89(0x25b)])==null||(_0x23512d=_0x23512d[_0x324a89(0x463)])==null?void 0x0:_0x23512d[_0x3b14f9])??[];})),_0x1789f6=Array[_0x3810e0(0x2d6)](_0x31963b)[_0x3810e0(0x375)](_0x3f53a7=>{const _0x583291=_0x3810e0;var _0x5a675c;let _0xd84811=(_0x5a675c=_0x33c8b3[_0x583291(0x25b)])==null||(_0x5a675c=_0x5a675c['attachments'])==null?void 0x0:_0x5a675c[_0x3f53a7];return _0xd84811!==void 0x0&&!_0x16b6ab[_0x583291(0x4d4)](_0x3f53a7)?[_0x5708b3[_0x583291(0x21b)][_0x583291(0x4c0)](_0x1d14ea[_0x583291(0x244)](_0x58e82a,_0x3f53a7),_0xd84811)]:[];});return[..._0xf87689,..._0x1c13f3,..._0x1789f6];}[_0x5a0300(0x3d2)](_0x182f78,_0x4816de,_0x4dc38b){const _0xdb9038=_0x5a0300;var _0x4866d7;let _0x1dec13=((_0x4866d7=_0x182f78[_0xdb9038(0x25b)])==null?void 0x0:_0x4866d7[_0xdb9038(0x463)])??{},_0x35c145=Object['entries'](_0x1dec13)['filter'](([_0x55abc6])=>_0x4dc38b(_0x55abc6));if(!_0x35c145[_0xdb9038(0x211)])return[];let _0x1f3511=new Set(Object[_0xdb9038(0x15b)](_0x1dec13)[_0xdb9038(0x22b)](([_0xc1fb83])=>!_0x4dc38b(_0xc1fb83))[_0xdb9038(0x375)](([,_0x5df6e9])=>_0x5df6e9)),_0x15c00f=new Set(_0x35c145[_0xdb9038(0x375)](([,_0x1f3298])=>_0x1f3298));return[..._0x35c145[_0xdb9038(0x447)](([_0x45a564,_0x26faa5])=>_0x5708b3[_0xdb9038(0x21b)]['removeOp'](_0x1d14ea[_0xdb9038(0x12b)](_0x4816de,_0x45a564),_0x26faa5)),...Array[_0xdb9038(0x2d6)](_0x15c00f)[_0xdb9038(0x375)](_0x4e99a7=>{const _0x388b4c=_0xdb9038;var _0x377bb5;let _0x375fba=(_0x377bb5=_0x182f78[_0x388b4c(0x25b)])==null||(_0x377bb5=_0x377bb5[_0x388b4c(0x198)])==null?void 0x0:_0x377bb5[_0x4e99a7];return _0x375fba!==void 0x0&&!_0x1f3511[_0x388b4c(0x4d4)](_0x4e99a7)?[_0x5708b3[_0x388b4c(0x21b)][_0x388b4c(0x4c0)](_0x1d14ea[_0x388b4c(0x244)](_0x4816de,_0x4e99a7),_0x375fba)]:[];})];}[_0x5a0300(0x24e)](_0x3f5b0c,_0x3fcef2,_0x8a4366){const _0x3b5ab7=_0x5a0300;return _0x3fcef2===void 0x0?_0x5708b3[_0x3b5ab7(0x21b)][_0x3b5ab7(0x1fc)](_0x3f5b0c,_0x8a4366):_0x5708b3[_0x3b5ab7(0x21b)][_0x3b5ab7(0x1a0)](_0x3f5b0c,_0x3fcef2,_0x8a4366);}};function _0x239437(_0x197733,_0x303540,_0x45df07,_0xeb8a26){const _0x37a34a=_0x5a0300;var _0x501a03;let _0x183dac=_0xeb8a26[_0x37a34a(0x131)];if(_0x45df07['type']!==_0x183dac||_0x183dac!==_0x5708b3[_0x37a34a(0x2f3)][_0x37a34a(0x147)]&&_0x183dac!==_0x5708b3[_0x37a34a(0x2f3)]['MultiSelect']||_0x133f09(_0xeb8a26['config']['optionSource']))return{'field':_0xeb8a26,'patches':[]};let _0x2aec68=_0x2120ef(_0x45df07),_0x15f9f7=_0x2120ef(_0xeb8a26);if(![..._0x2aec68][_0x37a34a(0x2e9)](_0x207844=>!_0x15f9f7[_0x37a34a(0x4d4)](_0x207844)))return{'field':_0xeb8a26,'patches':[]};let _0xa5b77c=_0x3bde67(_0xeb8a26[_0x37a34a(0x1f0)],_0x15f9f7,_0x183dac),_0x47c32a=_0x29b555(_0xa5b77c,_0xeb8a26['defaultValue'])?_0xeb8a26:{..._0xeb8a26,'defaultValue':_0xa5b77c},_0x4078e4=_0x2a5ea4(_0x197733),_0x24c1c6=(_0x501a03=_0x4078e4[_0x37a34a(0x336)])==null?void 0x0:_0x501a03[_0x303540];return _0x24c1c6==null?{'field':_0x47c32a,'patches':[]}:{'field':_0x47c32a,'patches':(_0x4078e4[_0x37a34a(0x317)]??[])[_0x37a34a(0x375)](_0x584ec6=>{const _0x1c66fd=_0x37a34a;var _0x39e3bf,_0x3b016a;let _0x247c9b=(_0x39e3bf=_0x4078e4[_0x1c66fd(0x1eb)])==null?void 0x0:_0x39e3bf[_0x584ec6],_0x13677d=(_0x3b016a=_0x4078e4[_0x1c66fd(0x457)][_0x584ec6])==null?void 0x0:_0x3b016a[_0x1c66fd(0x253)][_0x303540],_0x37b287=_0x3bde67(_0x13677d,_0x15f9f7,_0x183dac);return _0x247c9b==null||_0x29b555(_0x37b287,_0x13677d)?[]:[{'row':_0x247c9b,'col':_0x24c1c6,'value':_0x37b287??null}];})};}function _0x133f09(_0x4b884a){const _0x442fcd=_0x5a0300;return typeof _0x4b884a==_0x442fcd(0x24f)&&!!_0x4b884a&&_0x442fcd(0x131)in _0x4b884a&&_0x4b884a[_0x442fcd(0x131)]===_0x442fcd(0x2d3);}function _0x2120ef(_0x2853dd){const _0x4a31f8=_0x5a0300;var _0x493c92;let _0x35d0d2=Array[_0x4a31f8(0x46f)]((_0x493c92=_0x2853dd[_0x4a31f8(0x21c)])==null?void 0x0:_0x493c92['options'])?_0x2853dd[_0x4a31f8(0x21c)][_0x4a31f8(0x162)]:[];return new Set(_0x35d0d2[_0x4a31f8(0x375)](_0x1c7e09=>{const _0x10019d=_0x4a31f8;if(!_0x1c7e09||typeof _0x1c7e09!=_0x10019d(0x24f)||!('id'in _0x1c7e09))return[];let _0x22c08a=String(_0x1c7e09['id']);return _0x22c08a?[_0x22c08a]:[];}));}function _0x3bde67(_0x1ae7be,_0x4f98d3,_0x10ff11){const _0x218003=_0x5a0300;if(_0x1ae7be==null||_0x1ae7be==='')return _0x1ae7be;if(_0x10ff11===_0x5708b3[_0x218003(0x2f3)][_0x218003(0x147)])return _0x4f98d3[_0x218003(0x4d4)](String(_0x1ae7be))?_0x1ae7be:null;let _0x3272e6=Array[_0x218003(0x46f)](_0x1ae7be)?_0x1ae7be[_0x218003(0x447)](String):String(_0x1ae7be)[_0x218003(0x409)](',')[_0x218003(0x447)](_0x171dec=>_0x171dec[_0x218003(0x1bd)]())[_0x218003(0x22b)](Boolean),_0x45290f=_0x3272e6[_0x218003(0x22b)](_0x539869=>_0x4f98d3['has'](_0x539869));return _0x45290f[_0x218003(0x211)]===_0x3272e6[_0x218003(0x211)]?_0x1ae7be:Array[_0x218003(0x46f)](_0x1ae7be)?_0x45290f:String(_0x1ae7be)[_0x218003(0x248)](',')?_0x45290f[_0x218003(0x212)](','):_0x45290f[0x0]??[];}function _0x29b555(_0x3c7243,_0x42a4c6){const _0x4f4977=_0x5a0300;return JSON[_0x4f4977(0x494)](_0x3c7243)===JSON['stringify'](_0x42a4c6);}function _0x508af3(_0x383a87,_0x5dc5a2,_0x2f05c9){const _0x2c63e1=_0x5a0300;var _0x2d7af1,_0x442a7d,_0x482f54,_0x1201d;let _0x4fc9f6=(_0x2d7af1=_0x383a87[_0x2c63e1(0x1eb)])==null?void 0x0:_0x2d7af1[_0x5dc5a2],_0xc3ba1a=(_0x442a7d=_0x383a87[_0x2c63e1(0x336)])==null?void 0x0:_0x442a7d[_0x2f05c9];return _0x4fc9f6!=null&&_0xc3ba1a!=null&&((_0x482f54=_0x383a87[_0x2c63e1(0x2ee)])==null?void 0x0:_0x482f54[_0x4fc9f6])===_0x5dc5a2&&((_0x1201d=_0x383a87[_0x2c63e1(0x315)])==null?void 0x0:_0x1201d[_0xc3ba1a])===_0x2f05c9&&_0x383a87[_0x2c63e1(0x497)]!=null;}function _0x5c44ec(_0x16516c,_0x3d77ce,_0x219f5f){const _0x3c487a=_0x5a0300;var _0x53e2a3,_0x4e6081;return((_0x53e2a3=_0x16516c[_0x3c487a(0x2ee)])==null?void 0x0:_0x53e2a3[_0x3d77ce])!=null&&((_0x4e6081=_0x16516c[_0x3c487a(0x315)])==null?void 0x0:_0x4e6081[_0x219f5f])!=null&&_0x16516c[_0x3c487a(0x497)]!=null;}function _0x399aca(_0x1bdab4,_0x1280a5,_0x12e700){const _0x19dd26=_0x5a0300;let _0x8d6f7c=_0x1bdab4[_0x19dd26(0x22b)](_0x34a22c=>_0x34a22c!==_0x1280a5),_0x2362e1=_0x12e700[_0x19dd26(0x166)]?_0x8d6f7c[_0x19dd26(0x4ed)](_0x12e700[_0x19dd26(0x166)]):_0x12e700['afterFieldId']?_0x8d6f7c[_0x19dd26(0x4ed)](_0x12e700[_0x19dd26(0x107)])+0x1:_0x8d6f7c['length'];return _0x8d6f7c[_0x19dd26(0x2f5)](_0x2362e1<0x0?_0x8d6f7c['length']:_0x2362e1,0x0,_0x1280a5),_0x8d6f7c;}function _0xe84099(_0x454fcc,_0x4b1b81,_0x95cfe6){const _0xc73742=_0x5a0300;let _0x25395d=_0x454fcc[_0xc73742(0x22b)](_0x2f555d=>_0x2f555d!==_0x4b1b81);return _0x25395d[_0xc73742(0x2f5)](_0x5823ab(_0x95cfe6,_0x25395d[_0xc73742(0x211)]),0x0,_0x4b1b81),_0x25395d;}function _0x33469b(_0x1b890e,_0x1df6bc,_0x30b6c2){const _0x4846d8=_0x5a0300;if(Array[_0x4846d8(0x46f)](_0x1b890e))return _0x30b6c2===_0x4846d8(0x1a9)?_0x1b890e[_0x4846d8(0x22b)](_0x103ef6=>_0x103ef6!==_0x1df6bc):_0x1b890e[_0x4846d8(0x375)](_0x462868=>{const _0x2d2cff=_0x4846d8;if(_0x462868&&typeof _0x462868==_0x2d2cff(0x24f)&&!Array[_0x2d2cff(0x46f)](_0x462868)&&_0x462868['fieldId']===_0x1df6bc)return[];let _0x55a66e=_0x33469b(_0x462868,_0x1df6bc);return _0x55a66e===void 0x0?[]:[_0x55a66e];});if(!_0x1b890e||typeof _0x1b890e!='object')return _0x30b6c2!=null&&_0x30b6c2[_0x4846d8(0x22d)]('FieldId')&&_0x1b890e===_0x1df6bc?void 0x0:_0x1b890e;let _0x30a6d0=_0x1b890e;if(_0x30a6d0['fieldId']!==_0x1df6bc)return Object[_0x4846d8(0x3f2)](Object[_0x4846d8(0x15b)](_0x30a6d0)[_0x4846d8(0x375)](([_0x2eca51,_0x15311b])=>{const _0x4e0c09=_0x4846d8;if(_0x2eca51===_0x1df6bc&&_0x30b6c2===_0x4e0c09(0x25a))return[];let _0x3efe61=_0x33469b(_0x15311b,_0x1df6bc,_0x2eca51);return _0x3efe61===void 0x0?[]:[[_0x2eca51,_0x3efe61]];}));}function _0x5823ab(_0x882b20,_0x3fdbc2){const _0x39914d=_0x5a0300;return Math[_0x39914d(0x2a0)](0x0,Math[_0x39914d(0x35a)](_0x882b20,_0x3fdbc2));}function _0x516087(_0x18937d){'@babel/helpers - typeof';const _0xf934e1=_0x5a0300;return _0x516087=typeof Symbol==_0xf934e1(0xfe)&&typeof Symbol['iterator']=='symbol'?function(_0x561bc1){return typeof _0x561bc1;}:function(_0x29840e){const _0x2545a1=_0xf934e1;return _0x29840e&&typeof Symbol==_0x2545a1(0xfe)&&_0x29840e[_0x2545a1(0x225)]===Symbol&&_0x29840e!==Symbol['prototype']?'symbol':typeof _0x29840e;},_0x516087(_0x18937d);}function _0x4adfbe(_0x56b7a8,_0x569702){const _0x14aca4=_0x5a0300;if(_0x516087(_0x56b7a8)!=_0x14aca4(0x24f)||!_0x56b7a8)return _0x56b7a8;var _0x2a4abf;if(typeof Symbol<'u'&&(_0x2a4abf=_0x56b7a8[Symbol[_0x14aca4(0x3bb)]])!==void 0x0){var _0xb557a=_0x2a4abf[_0x14aca4(0x1bb)](_0x56b7a8,_0x569702||_0x14aca4(0x230));if(_0x516087(_0xb557a)!=_0x14aca4(0x24f))return _0xb557a;throw TypeError(_0x14aca4(0x2c1));}return(_0x569702==='string'?String:Number)(_0x56b7a8);}function _0x3d6b67(_0x372acc){const _0x44788f=_0x5a0300;var _0x27c93d=_0x4adfbe(_0x372acc,_0x44788f(0x220));return _0x516087(_0x27c93d)=='symbol'?_0x27c93d:_0x27c93d+'';}function _0x5535f0(_0x154a3b,_0x3ce19b,_0x2f6668){const _0x4449e9=_0x5a0300;return(_0x3ce19b=_0x3d6b67(_0x3ce19b))in _0x154a3b?Object[_0x4449e9(0x28b)](_0x154a3b,_0x3ce19b,{'value':_0x2f6668,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x154a3b[_0x3ce19b]=_0x2f6668,_0x154a3b;}let _0x5b21e9=(0x0,_0x5708b3[_0x5a0300(0x4b3)])(_0x5a0300(0x187));var _0x228258=class extends _0x5708b3[_0x5a0300(0x4ac)]{constructor(..._0x1f9bc0){const _0x25276c=_0x5a0300;super(..._0x1f9bc0),_0x5535f0(this,_0x25276c(0x1e2),new Map());}['register'](_0x1d32cb){const _0x15a7ca=_0x5a0300;return this[_0x15a7ca(0x1e2)][_0x15a7ca(0x289)](_0x1d32cb['type'],_0x1d32cb),(0x0,_0x5708b3[_0x15a7ca(0xd0)])(()=>this[_0x15a7ca(0x1e2)][_0x15a7ca(0x2d4)](_0x1d32cb[_0x15a7ca(0x131)]));}[_0x5a0300(0x387)](_0x108dfd){const _0x44ecb5=_0x5a0300;let _0xc7217d=this['_plugins'][_0x44ecb5(0x387)](_0x108dfd);if(!_0xc7217d)throw Error(_0x44ecb5(0x32d)+_0x108dfd+_0x44ecb5(0x1dd));return _0xc7217d;}['getTypePlugin'](_0x37cdae){const _0x3599ef=_0x5a0300;return this['_plugins'][_0x3599ef(0x387)](_0x37cdae);}[_0x5a0300(0x40b)](){const _0x4f6963=_0x5a0300;return Array['from'](this[_0x4f6963(0x1e2)][_0x4f6963(0x253)]());}},_0x576703=class{constructor(_0x128e46){const _0x5e1d8c=_0x5a0300;this[_0x5e1d8c(0x47f)]=_0x128e46,_0x5535f0(this,'type',_0x1f7924[_0x5e1d8c(0x24a)][_0x5e1d8c(0x4b6)]),_0x5535f0(this,'subType',_0x1f7924['UnitAction']['Comment']),_0x5535f0(this,'status',_0x5708b3['PermissionStatus'][_0x5e1d8c(0x391)]),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,_0x5e1d8c(0x12c),!0x0),this['id']=this[_0x5e1d8c(0x131)]+'.'+this['subType']+'_'+_0x128e46;}},_0x52a711=class{constructor(_0x58b1f5){const _0x3571e7=_0x5a0300;this[_0x3571e7(0x47f)]=_0x58b1f5,_0x5535f0(this,_0x3571e7(0x131),_0x1f7924[_0x3571e7(0x24a)][_0x3571e7(0x4b6)]),_0x5535f0(this,'subType',_0x1f7924[_0x3571e7(0x50a)][_0x3571e7(0x1ad)]),_0x5535f0(this,'status',_0x5708b3[_0x3571e7(0x405)][_0x3571e7(0x391)]),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,'value',!0x0),this['id']=this[_0x3571e7(0x131)]+'.'+this['subType']+'_'+_0x58b1f5;}},_0x1f4a03=class{constructor(_0x2d9533){const _0x46c7e4=_0x5a0300;this[_0x46c7e4(0x47f)]=_0x2d9533,_0x5535f0(this,_0x46c7e4(0x131),_0x1f7924[_0x46c7e4(0x24a)][_0x46c7e4(0x4b6)]),_0x5535f0(this,_0x46c7e4(0x374),_0x1f7924['UnitAction']['Edit']),_0x5535f0(this,_0x46c7e4(0x431),_0x5708b3[_0x46c7e4(0x405)][_0x46c7e4(0x391)]),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,_0x46c7e4(0x12c),!0x0),this['id']=this[_0x46c7e4(0x131)]+'.'+this['subType']+'_'+_0x2d9533;}},_0x40e87f=class{constructor(_0x49de5b){const _0x10e2b1=_0x5a0300;this[_0x10e2b1(0x47f)]=_0x49de5b,_0x5535f0(this,_0x10e2b1(0x131),_0x1f7924['UnitObject'][_0x10e2b1(0x4b6)]),_0x5535f0(this,_0x10e2b1(0x374),_0x1f7924['UnitAction'][_0x10e2b1(0x2c4)]),_0x5535f0(this,_0x10e2b1(0x431),_0x5708b3[_0x10e2b1(0x405)]['INIT']),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,_0x10e2b1(0x12c),!0x0),this['id']=this[_0x10e2b1(0x131)]+'.'+this[_0x10e2b1(0x374)]+'_'+_0x49de5b;}},_0x56bf92=class{constructor(_0x1241bc,_0x41025d){const _0x9429a6=_0x5a0300;this[_0x9429a6(0x47f)]=_0x1241bc,this['objectId']=_0x41025d,_0x5535f0(this,_0x9429a6(0x131),_0x1f7924[_0x9429a6(0x24a)][_0x9429a6(0x1d0)]),_0x5535f0(this,_0x9429a6(0x374),_0x1f7924[_0x9429a6(0x50a)]['Edit']),_0x5535f0(this,_0x9429a6(0x431),_0x5708b3[_0x9429a6(0x405)]['INIT']),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,'value',!0x0),this['id']=this[_0x9429a6(0x131)]+'.'+this['subType']+'_'+_0x1241bc+'_'+_0x41025d;}},_0x3eac76=class{constructor(_0x326027,_0x76464d){const _0x4ae2c2=_0x5a0300;this[_0x4ae2c2(0x47f)]=_0x326027,this['objectId']=_0x76464d,_0x5535f0(this,_0x4ae2c2(0x131),_0x1f7924[_0x4ae2c2(0x24a)][_0x4ae2c2(0x1f2)]),_0x5535f0(this,_0x4ae2c2(0x374),_0x1f7924['UnitAction'][_0x4ae2c2(0x3d5)]),_0x5535f0(this,_0x4ae2c2(0x431),_0x5708b3[_0x4ae2c2(0x405)][_0x4ae2c2(0x391)]),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,_0x4ae2c2(0x12c),!0x0),this['id']=this[_0x4ae2c2(0x131)]+'.'+this[_0x4ae2c2(0x374)]+'_'+_0x326027+'_'+_0x76464d;}},_0x2ae325=class{constructor(_0x48fbf2,_0x272be3){const _0x57002f=_0x5a0300;this[_0x57002f(0x47f)]=_0x48fbf2,this[_0x57002f(0x465)]=_0x272be3,_0x5535f0(this,'type',_0x1f7924[_0x57002f(0x24a)][_0x57002f(0x458)]),_0x5535f0(this,_0x57002f(0x374),_0x1f7924['UnitAction'][_0x57002f(0x3d5)]),_0x5535f0(this,_0x57002f(0x431),_0x5708b3[_0x57002f(0x405)][_0x57002f(0x391)]),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,_0x57002f(0x12c),!0x0),this['id']=this[_0x57002f(0x131)]+'.'+this[_0x57002f(0x374)]+'_'+_0x48fbf2+'_'+_0x272be3;}},_0x2d2500=class{constructor(_0x32adab,_0x2e7df9){const _0x4f7c3f=_0x5a0300;this['unitId']=_0x32adab,this[_0x4f7c3f(0x465)]=_0x2e7df9,_0x5535f0(this,_0x4f7c3f(0x131),_0x1f7924['UnitObject'][_0x4f7c3f(0x126)]),_0x5535f0(this,_0x4f7c3f(0x374),_0x1f7924[_0x4f7c3f(0x50a)]['Edit']),_0x5535f0(this,_0x4f7c3f(0x431),_0x5708b3[_0x4f7c3f(0x405)][_0x4f7c3f(0x391)]),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,_0x4f7c3f(0x12c),!0x0),this['id']=this[_0x4f7c3f(0x131)]+'.'+this[_0x4f7c3f(0x374)]+'_'+_0x32adab+'_'+_0x2e7df9;}},_0x1c284c=class{constructor(_0x5dc19e,_0x5ce47b){const _0x291741=_0x5a0300;this['unitId']=_0x5dc19e,this[_0x291741(0x465)]=_0x5ce47b,_0x5535f0(this,_0x291741(0x131),_0x1f7924[_0x291741(0x24a)]['BaseView']),_0x5535f0(this,_0x291741(0x374),_0x1f7924[_0x291741(0x50a)][_0x291741(0x3d5)]),_0x5535f0(this,_0x291741(0x431),_0x5708b3[_0x291741(0x405)][_0x291741(0x391)]),_0x5535f0(this,'id',void 0x0),_0x5535f0(this,_0x291741(0x12c),!0x0),this['id']=this[_0x291741(0x131)]+'.'+this[_0x291741(0x374)]+'_'+_0x5dc19e+'_'+_0x5ce47b;}};let _0x427437=[_0x1f7924['UnitAction']['Edit'],_0x1f7924[_0x5a0300(0x50a)][_0x5a0300(0x1ad)],_0x1f7924[_0x5a0300(0x50a)][_0x5a0300(0x2c4)],_0x1f7924[_0x5a0300(0x50a)][_0x5a0300(0x448)]],_0x858524=new Set([_0x1f7924['UnitObject'][_0x5a0300(0x4b6)],_0x1f7924[_0x5a0300(0x24a)][_0x5a0300(0x126)],_0x1f7924[_0x5a0300(0x24a)]['BaseField'],_0x1f7924[_0x5a0300(0x24a)]['BaseRecord'],_0x1f7924[_0x5a0300(0x24a)][_0x5a0300(0x224)],_0x1f7924[_0x5a0300(0x24a)]['BaseDashboard']]),_0xf50a2c='table/',_0xabdfc3=_0x5a0300(0x16e),_0xcca533=_0x5a0300(0x3c6),_0x112801=_0x5a0300(0x2c7),_0x396c75=_0x5a0300(0x422);function _0x108e0c(_0x5cff1b){return''+_0xf50a2c+encodeURIComponent(_0x5cff1b);}function _0x436cdb(_0x5e7e88,_0x41bc3f){return''+_0xabdfc3+encodeURIComponent(_0x5e7e88)+'/'+encodeURIComponent(_0x41bc3f);}function _0x5a484e(_0x347111,_0x1a339c){return''+_0xcca533+encodeURIComponent(_0x347111)+'/'+encodeURIComponent(_0x1a339c);}function _0x38a781(_0x13616e,_0x373116){return''+_0x112801+encodeURIComponent(_0x13616e)+'/'+encodeURIComponent(_0x373116);}function _0x10237e(_0x19043b){return''+_0x396c75+encodeURIComponent(_0x19043b);}function _0x147d5f(_0x58c6ba,_0x2e27da,_0x5ef129){const _0xdfb3ec=_0x5a0300;if(_0x2e27da===_0x58c6ba)switch(_0x5ef129){case _0x1f7924[_0xdfb3ec(0x50a)]['Edit']:return new _0x1f4a03(_0x58c6ba);case _0x1f7924[_0xdfb3ec(0x50a)][_0xdfb3ec(0x1ad)]:return new _0x52a711(_0x58c6ba);case _0x1f7924['UnitAction']['Export']:return new _0x40e87f(_0x58c6ba);case _0x1f7924[_0xdfb3ec(0x50a)][_0xdfb3ec(0x448)]:return new _0x576703(_0x58c6ba);default:throw Error(_0xdfb3ec(0x10c)+_0x5ef129);}if(_0x5ef129!==_0x1f7924[_0xdfb3ec(0x50a)]['Edit'])throw Error(_0xdfb3ec(0x4a4)+_0x2e27da);if(_0x2e27da['startsWith'](_0xf50a2c))return new _0x2d2500(_0x58c6ba,_0x2e27da);if(_0x2e27da[_0xdfb3ec(0x394)](_0xabdfc3))return new _0x3eac76(_0x58c6ba,_0x2e27da);if(_0x2e27da['startsWith'](_0xcca533))return new _0x2ae325(_0x58c6ba,_0x2e27da);if(_0x2e27da[_0xdfb3ec(0x394)](_0x112801))return new _0x1c284c(_0x58c6ba,_0x2e27da);if(_0x2e27da[_0xdfb3ec(0x394)](_0x396c75))return new _0x56bf92(_0x58c6ba,_0x2e27da);throw Error(_0xdfb3ec(0x271)+_0x2e27da);}function _0x6d4ba4(_0x22be07,_0x35c3f1,_0x283b6d,_0x3df780){const _0xe2899a=_0x5a0300;var _0x442e9c;return((_0x442e9c=_0x22be07['getPermissionPoint'](_0x147d5f(_0x35c3f1,_0x283b6d,_0x3df780)['id']))==null?void 0x0:_0x442e9c[_0xe2899a(0x12c)])??!0x0;}function _0x42f391(_0xfb8ae3,_0x43023a,_0x1dd6a9,_0x51bc98,_0x3580e7){const _0x1c9469=_0x5a0300;let _0x14000c=_0x147d5f(_0x43023a,_0x1dd6a9,_0x51bc98);_0xfb8ae3[_0x1c9469(0x440)](_0x14000c['id'])||_0xfb8ae3[_0x1c9469(0x23e)](_0x14000c),_0xfb8ae3['updatePermissionPoint'](_0x14000c['id'],_0x3580e7);}function _0x19e9b7(_0x1bea48,_0x38eee7,_0x297242,_0x5822f0){const _0xe89b53=_0x5a0300;_0x1bea48[_0xe89b53(0x25f)](_0x147d5f(_0x38eee7,_0x297242,_0x5822f0)['id']);}function _0x5affc4(_0x1fe2a3,_0x2ae0f3){const _0x56a34b=_0x5a0300;_0x1fe2a3[_0x56a34b(0x2fa)]()[_0x56a34b(0x11c)]((_0x358947,_0x5af998)=>{const _0x33c141=_0x56a34b;_0x358947[_0x33c141(0x34a)](_0x21fcab=>{const _0x2bb5ab=_0x33c141;_0x858524[_0x2bb5ab(0x4d4)](_0x21fcab[_0x2bb5ab(0x131)])&&'unitId'in _0x21fcab&&_0x21fcab[_0x2bb5ab(0x47f)]===_0x2ae0f3&&_0x1fe2a3[_0x2bb5ab(0x25f)](_0x5af998);})[_0x33c141(0x285)]();});}function _0x3a8c15(_0x36f0d8,_0x19bdb0,_0x31fca4){const _0x4fb05d=_0x5a0300;return _0x6d4ba4(_0x36f0d8,_0x19bdb0,_0x19bdb0,_0x1f7924[_0x4fb05d(0x50a)][_0x4fb05d(0x3d5)])&&Array[_0x4fb05d(0x2d6)](_0x31fca4)['every'](_0x326b5d=>_0x6d4ba4(_0x36f0d8,_0x19bdb0,_0x326b5d,_0x1f7924[_0x4fb05d(0x50a)]['Edit']));}function _0x3ce02e(_0x47a05b,_0x102b3f){return function(_0x137775,_0x57d172){_0x102b3f(_0x137775,_0x57d172,_0x47a05b);};}function _0x4b373a(_0x5dc1a0,_0x1b04ef,_0x3900b2,_0x55477d){const _0x39675e=_0x5a0300;var _0x2a3fb9=arguments[_0x39675e(0x211)],_0x35136c=_0x2a3fb9<0x3?_0x1b04ef:_0x55477d===null?_0x55477d=Object['getOwnPropertyDescriptor'](_0x1b04ef,_0x3900b2):_0x55477d,_0x22f661;if(typeof Reflect==_0x39675e(0x24f)&&typeof Reflect[_0x39675e(0x29f)]==_0x39675e(0xfe))_0x35136c=Reflect[_0x39675e(0x29f)](_0x5dc1a0,_0x1b04ef,_0x3900b2,_0x55477d);else{for(var _0x4c1bcb=_0x5dc1a0['length']-0x1;_0x4c1bcb>=0x0;_0x4c1bcb--)(_0x22f661=_0x5dc1a0[_0x4c1bcb])&&(_0x35136c=(_0x2a3fb9<0x3?_0x22f661(_0x35136c):_0x2a3fb9>0x3?_0x22f661(_0x1b04ef,_0x3900b2,_0x35136c):_0x22f661(_0x1b04ef,_0x3900b2))||_0x35136c);}return _0x2a3fb9>0x3&&_0x35136c&&Object['defineProperty'](_0x1b04ef,_0x3900b2,_0x35136c),_0x35136c;}let _0x5bfa23=(0x0,_0x5708b3[_0x5a0300(0x4b3)])(_0x5a0300(0x411)),_0x1d9285=class extends _0x5708b3[_0x5a0300(0x4ac)]{constructor(_0x17801a,_0x12b232){const _0x2a847e=_0x5a0300;super(),this[_0x2a847e(0x1da)]=_0x17801a,this[_0x2a847e(0x358)]=_0x12b232,_0x5535f0(this,'_basePermissions',new Map()),_0x5535f0(this,_0x2a847e(0x3cc),new Map()),_0x5535f0(this,_0x2a847e(0x2bd),new Map()),_0x5535f0(this,_0x2a847e(0x268),new Map()),_0x5535f0(this,'_viewPermissions',new Map()),_0x5535f0(this,_0x2a847e(0x3dd),new Map()),this[_0x2a847e(0x208)](this[_0x2a847e(0x358)][_0x2a847e(0x43b)](_0x5708b3[_0x2a847e(0x2b4)][_0x2a847e(0x1f9)])[_0x2a847e(0x34a)](_0x2b2649=>this[_0x2a847e(0x102)](_0x2b2649['getUnitId']())));}[_0x5a0300(0x345)](_0xc6c095){const _0x4837ef=_0x5a0300;var _0x4d4cef;return this[_0x4837ef(0x524)](_0xc6c095,[])&&(((_0x4d4cef=this[_0x4837ef(0x32b)][_0x4837ef(0x387)](_0xc6c095))==null?void 0x0:_0x4d4cef[_0x4837ef(0xda)])??!0x0);}[_0x5a0300(0x158)](_0xb4701a){return this['_canEditTable'](_0xb4701a);}[_0x5a0300(0x47a)](_0x2c55f8){const _0x38847c=_0x5a0300;var _0x42b603;return this[_0x38847c(0x14f)](_0x2c55f8)&&(((_0x42b603=this[_0x38847c(0x3cc)]['get'](_0x2c55f8))==null?void 0x0:_0x42b603[_0x38847c(0x2d4)])??!0x0);}[_0x5a0300(0x3b9)](_0x47a3d9){const _0x3e97bb=_0x5a0300;var _0x492aae;return this['_canEditTable'](_0x47a3d9)&&(((_0x492aae=this[_0x3e97bb(0x3cc)][_0x3e97bb(0x387)](_0x47a3d9))==null?void 0x0:_0x492aae[_0x3e97bb(0xdb)])??!0x0);}[_0x5a0300(0x170)](_0x55c13c,_0x451e26){const _0x41d456=_0x5a0300;var _0xfbcdbd;return this['_canEditTable'](_0x55c13c)&&this[_0x41d456(0x524)](_0x55c13c,[_0x436cdb(_0x55c13c,_0x451e26)])&&(((_0xfbcdbd=this[_0x41d456(0x2bd)][_0x41d456(0x387)](_0x27a0df(_0x55c13c,_0x451e26)))==null?void 0x0:_0xfbcdbd[_0x41d456(0x2a8)])??!0x0);}[_0x5a0300(0x449)](_0x5db053,_0x4ca259){const _0x3d9d64=_0x5a0300;var _0x3fc924;return this[_0x3d9d64(0x170)](_0x5db053,_0x4ca259)&&(((_0x3fc924=this[_0x3d9d64(0x2bd)][_0x3d9d64(0x387)](_0x27a0df(_0x5db053,_0x4ca259)))==null?void 0x0:_0x3fc924[_0x3d9d64(0x2d4)])??!0x0);}[_0x5a0300(0x455)](_0x1d83c4){const _0x5b2b53=_0x5a0300;var _0x45f56b;return this[_0x5b2b53(0x14f)](_0x1d83c4)&&(((_0x45f56b=this[_0x5b2b53(0x3cc)][_0x5b2b53(0x387)](_0x1d83c4))==null?void 0x0:_0x45f56b['createRecord'])??!0x0);}[_0x5a0300(0x31d)](_0x2bc086,_0x1632ea){const _0x39fe76=_0x5a0300;var _0x52b1a7;let _0xd07a71=this[_0x39fe76(0x268)][_0x39fe76(0x387)](_0x30acb4(_0x2bc086,_0x1632ea));return this[_0x39fe76(0x524)](_0x2bc086,[_0x108e0c(_0x2bc086),_0x5a484e(_0x2bc086,_0x1632ea)])&&(((_0x52b1a7=this[_0x39fe76(0x3cc)][_0x39fe76(0x387)](_0x2bc086))==null?void 0x0:_0x52b1a7[_0x39fe76(0x2a8)])??!0x0)&&((_0xd07a71==null?void 0x0:_0xd07a71['edit'])??!0x0)&&((_0xd07a71==null?void 0x0:_0xd07a71[_0x39fe76(0x4f9)])??!0x0);}[_0x5a0300(0x11b)](_0xee9e6f,_0x287238){const _0x20a962=_0x5a0300;var _0x2d5ca4,_0x4bc723,_0x232b60;return this[_0x20a962(0x524)](_0xee9e6f,[_0x108e0c(_0xee9e6f),_0x5a484e(_0xee9e6f,_0x287238)])&&(((_0x2d5ca4=this[_0x20a962(0x3cc)][_0x20a962(0x387)](_0xee9e6f))==null?void 0x0:_0x2d5ca4['edit'])??!0x0)&&(((_0x4bc723=this[_0x20a962(0x268)][_0x20a962(0x387)](_0x30acb4(_0xee9e6f,_0x287238)))==null?void 0x0:_0x4bc723[_0x20a962(0x2a8)])??!0x0)&&(((_0x232b60=this[_0x20a962(0x268)][_0x20a962(0x387)](_0x30acb4(_0xee9e6f,_0x287238)))==null?void 0x0:_0x232b60[_0x20a962(0x2d4)])??!0x0);}[_0x5a0300(0x2f9)](_0x18047b,_0x54d0c0,_0xf455d8){const _0x15c3f6=_0x5a0300;var _0x4f76d4,_0x5b1208,_0x4c32b2;let _0x4605c4=this['_fieldPermissions'][_0x15c3f6(0x387)](_0x27a0df(_0x18047b,_0xf455d8));return this[_0x15c3f6(0x524)](_0x18047b,[_0x108e0c(_0x18047b),_0x436cdb(_0x18047b,_0xf455d8),_0x5a484e(_0x18047b,_0x54d0c0)])&&(((_0x4f76d4=this[_0x15c3f6(0x3cc)][_0x15c3f6(0x387)](_0x18047b))==null?void 0x0:_0x4f76d4[_0x15c3f6(0x2a8)])??!0x0)&&(((_0x5b1208=this[_0x15c3f6(0x268)][_0x15c3f6(0x387)](_0x30acb4(_0x18047b,_0x54d0c0)))==null?void 0x0:_0x5b1208[_0x15c3f6(0x2a8)])??!0x0)&&(((_0x4c32b2=this[_0x15c3f6(0x268)][_0x15c3f6(0x387)](_0x30acb4(_0x18047b,_0x54d0c0)))==null?void 0x0:_0x4c32b2[_0x15c3f6(0x4f9)])??!0x0)&&((_0x4605c4==null?void 0x0:_0x4605c4['edit'])??!0x0)&&((_0x4605c4==null?void 0x0:_0x4605c4[_0x15c3f6(0x4f9)])??!0x0);}[_0x5a0300(0x280)](_0x507b96,_0x13b938){const _0x29f19f=_0x5a0300;var _0x5f0fa2,_0x5847e9,_0x58ea8e;return this[_0x29f19f(0x524)](_0x507b96,[_0x108e0c(_0x507b96),_0x38a781(_0x507b96,_0x13b938)])&&(((_0x5f0fa2=this[_0x29f19f(0x3cc)][_0x29f19f(0x387)](_0x507b96))==null?void 0x0:_0x5f0fa2[_0x29f19f(0x2a8)])??!0x0)&&(((_0x5847e9=this[_0x29f19f(0x15f)][_0x29f19f(0x387)](_0x4f27d0(_0x507b96,_0x13b938)))==null?void 0x0:_0x5847e9[_0x29f19f(0x2a8)])??!0x0)&&(((_0x58ea8e=this[_0x29f19f(0x3cc)][_0x29f19f(0x387)](_0x507b96))==null?void 0x0:_0x58ea8e['manageView'])??!0x0);}[_0x5a0300(0x240)](_0x1cfad3,_0x2a949d){const _0x53be86=_0x5a0300;this['_basePermissions'][_0x53be86(0x289)](_0x1cfad3,{...this[_0x53be86(0x32b)][_0x53be86(0x387)](_0x1cfad3),..._0x2a949d}),_0x2a949d[_0x53be86(0x2a8)]!==void 0x0&&_0x42f391(this[_0x53be86(0x1da)],_0x1cfad3,_0x1cfad3,_0x1f7924['UnitAction'][_0x53be86(0x3d5)],_0x2a949d[_0x53be86(0x2a8)]);}[_0x5a0300(0x4e3)](_0x2350d4,_0x512a44){const _0x1fa132=_0x5a0300;this[_0x1fa132(0x125)](_0x2350d4),this['_tablePermissions'][_0x1fa132(0x289)](_0x2350d4,{...this[_0x1fa132(0x3cc)][_0x1fa132(0x387)](_0x2350d4),..._0x512a44}),this[_0x1fa132(0x4b9)](_0x2350d4,_0x108e0c(_0x2350d4),_0x512a44[_0x1fa132(0x2a8)]);}['setFieldPermission'](_0x112787,_0x3aab0d,_0x3f5f7f){const _0x1d76a2=_0x5a0300;this[_0x1d76a2(0x125)](_0x112787);let _0x478c0a=_0x27a0df(_0x112787,_0x3aab0d);this[_0x1d76a2(0x2bd)]['set'](_0x478c0a,{...this[_0x1d76a2(0x2bd)][_0x1d76a2(0x387)](_0x478c0a),..._0x3f5f7f}),this['_setObjectEdit'](_0x112787,_0x436cdb(_0x112787,_0x3aab0d),_0x3f5f7f[_0x1d76a2(0x2a8)]);}[_0x5a0300(0x222)](_0x1c1453,_0x535e24,_0x6fce6){const _0x175b95=_0x5a0300;this[_0x175b95(0x125)](_0x1c1453);let _0x1af636=_0x30acb4(_0x1c1453,_0x535e24);this[_0x175b95(0x268)][_0x175b95(0x289)](_0x1af636,{...this[_0x175b95(0x268)][_0x175b95(0x387)](_0x1af636),..._0x6fce6}),this[_0x175b95(0x4b9)](_0x1c1453,_0x5a484e(_0x1c1453,_0x535e24),_0x6fce6['edit']);}[_0x5a0300(0x4cc)](_0x342d36,_0x64f982,_0x48a366){const _0x5ad867=_0x5a0300;this[_0x5ad867(0x125)](_0x342d36);let _0x3e0b38=_0x4f27d0(_0x342d36,_0x64f982);this[_0x5ad867(0x15f)][_0x5ad867(0x289)](_0x3e0b38,{...this[_0x5ad867(0x15f)][_0x5ad867(0x387)](_0x3e0b38),..._0x48a366}),this[_0x5ad867(0x4b9)](_0x342d36,_0x38a781(_0x342d36,_0x64f982),_0x48a366['edit']);}['clearBasePermission'](_0xcf95f0){const _0xae31cd=_0x5a0300;this['_basePermissions']['delete'](_0xcf95f0),_0x19e9b7(this[_0xae31cd(0x1da)],_0xcf95f0,_0xcf95f0,_0x1f7924[_0xae31cd(0x50a)][_0xae31cd(0x3d5)]);}[_0x5a0300(0x2ca)](_0x5d795a){const _0xc666f1=_0x5a0300;this['_tablePermissions'][_0xc666f1(0x2d4)](_0x5d795a),this[_0xc666f1(0x245)](_0x5d795a,_0x108e0c(_0x5d795a));}[_0x5a0300(0x2d9)](_0x48a51f,_0x24e003){const _0x36fb91=_0x5a0300;this[_0x36fb91(0x2bd)][_0x36fb91(0x2d4)](_0x27a0df(_0x48a51f,_0x24e003)),this[_0x36fb91(0x245)](_0x48a51f,_0x436cdb(_0x48a51f,_0x24e003));}[_0x5a0300(0x450)](_0x3cdf6f,_0x3ed03c){const _0xdf1ba4=_0x5a0300;this['_recordPermissions']['delete'](_0x30acb4(_0x3cdf6f,_0x3ed03c)),this[_0xdf1ba4(0x245)](_0x3cdf6f,_0x5a484e(_0x3cdf6f,_0x3ed03c));}['clearViewPermission'](_0x326f50,_0xaf91ef){const _0x1fc5e5=_0x5a0300;this[_0x1fc5e5(0x15f)][_0x1fc5e5(0x2d4)](_0x4f27d0(_0x326f50,_0xaf91ef)),this[_0x1fc5e5(0x245)](_0x326f50,_0x38a781(_0x326f50,_0xaf91ef));}[_0x5a0300(0x499)](){const _0x534baf=_0x5a0300;return{'bases':Object[_0x534baf(0x3f2)](this['_basePermissions']),'tables':Object[_0x534baf(0x3f2)](this['_tablePermissions']),'fields':Object[_0x534baf(0x3f2)](this[_0x534baf(0x2bd)]),'records':Object[_0x534baf(0x3f2)](this[_0x534baf(0x268)]),'views':Object[_0x534baf(0x3f2)](this['_viewPermissions'])};}[_0x5a0300(0x14f)](_0x4f647c){const _0x5cda72=_0x5a0300;var _0x33cd3b;return this[_0x5cda72(0x524)](_0x4f647c,[_0x108e0c(_0x4f647c)])&&(((_0x33cd3b=this[_0x5cda72(0x3cc)][_0x5cda72(0x387)](_0x4f647c))==null?void 0x0:_0x33cd3b['edit'])??!0x0);}[_0x5a0300(0x524)](_0x47e1c2,_0x15016b){const _0x53ae19=_0x5a0300;var _0x6bfa59;let _0x57dba7=this['_resolveBaseId'](_0x47e1c2);return!_0x57dba7||_0x3a8c15(this[_0x53ae19(0x1da)],_0x57dba7,_0x15016b)&&(((_0x6bfa59=this['_basePermissions'][_0x53ae19(0x387)](_0x57dba7))==null?void 0x0:_0x6bfa59[_0x53ae19(0x2a8)])??!0x0);}[_0x5a0300(0x4b9)](_0xd48de0,_0x3116ff,_0x2451eb){const _0x182835=_0x5a0300;if(_0x2451eb===void 0x0)return;let _0x3973f3=this[_0x182835(0x372)](_0xd48de0);_0x3973f3&&_0x42f391(this['_permissionService'],_0x3973f3,_0x3116ff,_0x1f7924['UnitAction'][_0x182835(0x3d5)],_0x2451eb);}[_0x5a0300(0x245)](_0x1dec19,_0x29023f){const _0x411535=_0x5a0300;let _0x3db28f=this[_0x411535(0x372)](_0x1dec19);_0x3db28f&&_0x19e9b7(this['_permissionService'],_0x3db28f,_0x29023f,_0x1f7924[_0x411535(0x50a)]['Edit']);}[_0x5a0300(0x372)](_0x21a19c){const _0x1f297f=_0x5a0300;var _0x4e568a;let _0xa490c2=this['_instanceService']['getUnit'](_0x21a19c,_0x5708b3['UniverInstanceType'][_0x1f297f(0x1f9)]);return _0xa490c2?_0xa490c2[_0x1f297f(0x247)]():(_0x4e568a=this[_0x1f297f(0x358)][_0x1f297f(0x2e1)](_0x5708b3['UniverInstanceType'][_0x1f297f(0x1f9)])[_0x1f297f(0x1ab)](_0x1f3457=>!!_0x1f3457[_0x1f297f(0x499)]()[_0x1f297f(0x18e)][_0x21a19c]))==null?void 0x0:_0x4e568a[_0x1f297f(0x247)]();}[_0x5a0300(0x125)](_0x50f98f){const _0x4cc0e1=_0x5a0300;let _0x7d3d98=this[_0x4cc0e1(0x372)](_0x50f98f);_0x7d3d98&&this['_tableBaseIds'][_0x4cc0e1(0x289)](_0x50f98f,_0x7d3d98);}[_0x5a0300(0x102)](_0x10c204){const _0x21a863=_0x5a0300;this[_0x21a863(0x32b)][_0x21a863(0x2d4)](_0x10c204),this[_0x21a863(0x3dd)][_0x21a863(0x11c)]((_0x526cfe,_0x420eb9)=>{const _0x1c9405=_0x21a863;_0x526cfe===_0x10c204&&(this['_tablePermissions'][_0x1c9405(0x2d4)](_0x420eb9),_0x25ad09(this[_0x1c9405(0x2bd)],_0x420eb9+'\x1f'),_0x25ad09(this[_0x1c9405(0x268)],_0x420eb9+'\x1f'),_0x25ad09(this[_0x1c9405(0x15f)],_0x420eb9+'\x1f'),this[_0x1c9405(0x3dd)][_0x1c9405(0x2d4)](_0x420eb9));});}};_0x1d9285=_0x4b373a([_0x3ce02e(0x0,_0x5708b3[_0x5a0300(0x2ae)]),_0x3ce02e(0x1,_0x5708b3[_0x5a0300(0x3b6)])],_0x1d9285);function _0x25ad09(_0x44efde,_0x55919d){const _0x13d608=_0x5a0300;_0x44efde[_0x13d608(0x11c)]((_0x4e4821,_0x30ad73)=>{const _0x248993=_0x13d608;_0x30ad73[_0x248993(0x394)](_0x55919d)&&_0x44efde[_0x248993(0x2d4)](_0x30ad73);});}function _0x27a0df(_0x5fa325,_0x46c84c){return _0x5fa325+'\x1f'+_0x46c84c;}function _0x30acb4(_0x4f27f0,_0x53c1c7){return _0x4f27f0+'\x1f'+_0x53c1c7;}function _0x4f27d0(_0x4b270c,_0x57569b){return _0x4b270c+'\x1f'+_0x57569b;}let _0x104536=(0x0,_0x5708b3[_0x5a0300(0x4b3)])(_0x5a0300(0x418)),_0x454527=class{constructor(_0x3ea748,_0x42defe=_0x471775(),_0x4a101e={}){const _0x47ed1f=_0x5a0300;this[_0x47ed1f(0x1da)]=_0x3ea748,this[_0x47ed1f(0x3a2)]=_0x42defe,this[_0x47ed1f(0x2c9)]=_0x4a101e,_0x5535f0(this,'_factory',new _0x108016()),_0x5535f0(this,_0x47ed1f(0x514),new _0x39599e());}[_0x5a0300(0xda)](_0x2ed27c,_0x2749e6,_0x3cfbf0){const _0x573f9f=_0x5a0300;if(!this[_0x573f9f(0x1da)]['canCreateTable'](_0x2ed27c[_0x573f9f(0x247)]()))throw Error(_0x573f9f(0x351));(0x0,_0x5708b3[_0x573f9f(0x31a)])(_0x2749e6),this[_0x573f9f(0x144)](_0x2ed27c,this['_factory'][_0x573f9f(0xda)](_0x2ed27c[_0x573f9f(0x499)](),_0x2749e6,_0x3cfbf0));}[_0x5a0300(0x41f)](_0x2e6721,_0x1dba98,_0x1fc119){const _0xabc1fa=_0x5a0300;if(!this['_permissionService'][_0xabc1fa(0x158)](_0x1dba98))throw Error(_0xabc1fa(0x1ee));this[_0xabc1fa(0x144)](_0x2e6721,this[_0xabc1fa(0x40c)][_0xabc1fa(0x41f)](_0x2e6721[_0xabc1fa(0x499)](),_0x1dba98,_0x1fc119));}[_0x5a0300(0x4f6)](_0x10e21f,_0x205283){const _0x4c82bb=_0x5a0300;if(!this[_0x4c82bb(0x1da)][_0x4c82bb(0x47a)](_0x205283))throw Error(_0x4c82bb(0x381));let _0x4d7679=_0x2c9d26(_0x10e21f[_0x4c82bb(0x499)](),_0x205283);if(_0x4d7679[_0x4c82bb(0x211)]>0x0)throw Error(_0x4c82bb(0x3ef)+_0x4d7679[_0x4c82bb(0x447)](_0x3aceb4=>_0x3aceb4[_0x4c82bb(0x40f)]+'.'+_0x3aceb4[_0x4c82bb(0x236)])['join'](',\x20')+').');this['_apply'](_0x10e21f,this[_0x4c82bb(0x40c)][_0x4c82bb(0x4f6)](_0x10e21f[_0x4c82bb(0x499)](),_0x205283));}[_0x5a0300(0x2ec)](_0x31eb3a,_0x2760f2,_0x574d3e,_0x2aa28d,_0x4cc8ee){const _0x30eaf1=_0x5a0300;this[_0x30eaf1(0x144)](_0x31eb3a,this[_0x30eaf1(0x1ce)](_0x31eb3a,_0x2760f2,_0x574d3e,_0x2aa28d,_0x4cc8ee));}[_0x5a0300(0x3ad)](_0x41339c,_0x304ac4,_0x442554){this['_apply'](_0x41339c,this['createSetRecordValuesOp'](_0x41339c,_0x304ac4,_0x442554));}['createRecord'](_0x28abf6,_0xb7a8d9,_0x3682ab){const _0x2e2bb2=_0x5a0300;this[_0x2e2bb2(0x144)](_0x28abf6,this[_0x2e2bb2(0x38e)](_0x28abf6,_0xb7a8d9,_0x3682ab));}[_0x5a0300(0x1ce)](_0x381490,_0x1a6d18,_0x2663ef,_0x490972,_0x3bff25){const _0x1dc148=_0x5a0300;let _0x3f857c=_0x381490[_0x1dc148(0x499)](),_0x4ecc1f=this['_normalizeCellValue'](_0x3f857c,_0x1a6d18,_0x2663ef,_0x490972,_0x3bff25),_0x16d1ad=this[_0x1dc148(0x500)](_0x3f857c,_0x1a6d18,_0x2663ef,{[_0x490972]:_0x4ecc1f});return this['_factory']['setRecordValues'](_0x3f857c,_0x1a6d18,[_0x16d1ad]);}[_0x5a0300(0x48e)](_0x48a34b,_0x1249b1,_0x5a1c57){const _0x4c48fb=_0x5a0300;let _0xf6bd8d=_0x48a34b[_0x4c48fb(0x499)](),_0x57f21c=_0x5a1c57[_0x4c48fb(0x447)](_0x55eafb=>this[_0x4c48fb(0x500)](_0xf6bd8d,_0x1249b1,_0x55eafb[_0x4c48fb(0x34b)],{...Object[_0x4c48fb(0x3f2)](Object['entries'](_0x55eafb[_0x4c48fb(0x253)])[_0x4c48fb(0x447)](([_0x47f3af,_0x5970c9])=>[_0x47f3af,this[_0x4c48fb(0x348)](_0xf6bd8d,_0x1249b1,_0x55eafb[_0x4c48fb(0x34b)],_0x47f3af,_0x5970c9)]))}));return this[_0x4c48fb(0x40c)][_0x4c48fb(0x3ad)](_0xf6bd8d,_0x1249b1,_0x57f21c);}[_0x5a0300(0x38e)](_0x4d1c3c,_0x483ddc,_0x7dbbb7){const _0x144082=_0x5a0300;if(!this['_permissionService']['canCreateRecord'](_0x483ddc))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x959bd6=_0x4d1c3c['getSnapshot'](),_0x16bfe6=this[_0x144082(0x37b)](_0x959bd6['tables'][_0x483ddc]);return this[_0x144082(0x40c)][_0x144082(0x148)](_0x959bd6,_0x483ddc,this['_createRecordWithDefaults'](_0x959bd6,_0x483ddc,_0x7dbbb7,_0x16bfe6));}[_0x5a0300(0x340)](_0x3e2c6f,_0x54d827,_0xeb20eb){const _0x279410=_0x5a0300;if(!this[_0x279410(0x1da)][_0x279410(0x455)](_0x54d827))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x54bb00=_0x3e2c6f[_0x279410(0x499)]();return _0x4f055a('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x11741e=_0x279410;let _0x3b965f=this[_0x11741e(0x37b)](_0x54bb00[_0x11741e(0x18e)][_0x54d827]);return this['_factory'][_0x11741e(0x25e)](_0x54bb00,_0x54d827,_0xeb20eb[_0x11741e(0x447)](_0x46f81a=>this[_0x11741e(0x3c5)](_0x54bb00,_0x54d827,_0x46f81a,_0x3b965f)));},{'existingRecords':Object[_0x279410(0x4dd)](_0x54bb00[_0x279410(0x18e)][_0x54d827]['records'])[_0x279410(0x211)],'records':_0xeb20eb['length']});}[_0x5a0300(0x2b1)](_0x488e25,_0x34a933,_0x1c75bd,_0x39510c,_0x531590){const _0x2d3c4f=_0x5a0300;if(!this[_0x2d3c4f(0x1da)][_0x2d3c4f(0x3b9)](_0x34a933))throw Error(_0x2d3c4f(0x47c));let _0x121704=_0x488e25[_0x2d3c4f(0x499)]();if(this[_0x2d3c4f(0x312)](_0x121704,_0x1c75bd),_0x39510c===0x0)throw Error(_0x2d3c4f(0x29d));let _0x112c10=this[_0x2d3c4f(0x40c)][_0x2d3c4f(0xdb)](_0x121704,_0x34a933,{'field':_0x1c75bd,'index':_0x39510c,'viewIndexes':_0x531590}),_0x4fdba9=this[_0x2d3c4f(0x190)](_0x121704,_0x34a933,_0x1c75bd);if(!_0x4fdba9['length'])return _0x112c10;let _0x4d81e7=this[_0x2d3c4f(0x514)][_0x2d3c4f(0x118)](_0x121704,_0x112c10);return _0x22d022([_0x112c10,this['_factory'][_0x2d3c4f(0x3ad)](_0x4d81e7,_0x34a933,_0x4fdba9)]);}[_0x5a0300(0x4fc)](_0x49086d,_0x58b52a,_0x5ac94c){const _0x12c33e=_0x5a0300;if(!this['_permissionService'][_0x12c33e(0x11b)](_0x58b52a,_0x5ac94c))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this['_apply'](_0x49086d,this[_0x12c33e(0x40c)][_0x12c33e(0x4fc)](_0x49086d[_0x12c33e(0x499)](),_0x58b52a,_0x5ac94c));}[_0x5a0300(0xd3)](_0x59b7be,_0x40d2f4,_0x16a397,_0x4eca39){const _0x1f9bc2=_0x5a0300;if(!this[_0x1f9bc2(0x1da)][_0x1f9bc2(0x455)](_0x40d2f4))throw Error(_0x1f9bc2(0x1be));this[_0x1f9bc2(0x144)](_0x59b7be,this[_0x1f9bc2(0x40c)]['duplicateRecord'](_0x59b7be['getSnapshot'](),_0x40d2f4,_0x16a397,{..._0x4eca39,'values':{..._0x4eca39[_0x1f9bc2(0x253)],[_0x5708b3[_0x1f9bc2(0x3c2)]]:_0x4eca39['id']}}));}['updateRecordOrder'](_0x283473,_0x18e60b,_0xd6ece9,_0x1d2576){const _0xffdf2f=_0x5a0300;if(!this[_0xffdf2f(0x1da)][_0xffdf2f(0x31d)](_0x18e60b,_0xd6ece9))throw Error(_0xffdf2f(0x42f));this['_apply'](_0x283473,this[_0xffdf2f(0x40c)][_0xffdf2f(0x16d)](_0x283473['getSnapshot'](),_0x18e60b,_0xd6ece9,_0x1d2576));}[_0x5a0300(0xdb)](_0x13caa5,_0x4c0bbf,_0x55fe90,_0x335e1d,_0x97dd70){const _0x5a9b32=_0x5a0300;this['_apply'](_0x13caa5,this[_0x5a9b32(0x2b1)](_0x13caa5,_0x4c0bbf,_0x55fe90,_0x335e1d,_0x97dd70));}[_0x5a0300(0x4e2)](_0x5a9066,_0x2df700,_0x42ab9b,_0x27cd4d){const _0x419c48=_0x5a0300;var _0x441dd0;if(!this[_0x419c48(0x1da)][_0x419c48(0x170)](_0x2df700,_0x42ab9b))throw Error(_0x419c48(0x35f));let _0x1b3ace=_0x5a9066['getSnapshot'](),_0x51d10e=(_0x441dd0=_0x1b3ace[_0x419c48(0x18e)][_0x2df700])==null?void 0x0:_0x441dd0[_0x419c48(0x527)][_0x42ab9b];if(!_0x51d10e||_0x42ab9b===_0x5708b3[_0x419c48(0x3c2)])throw Error(_0x419c48(0x354));this['_assertFieldDefinition'](_0x1b3ace,{..._0x51d10e,..._0x27cd4d}),this[_0x419c48(0x144)](_0x5a9066,this[_0x419c48(0x40c)][_0x419c48(0x4e2)](_0x1b3ace,_0x2df700,_0x42ab9b,_0x27cd4d));}[_0x5a0300(0x296)](_0x5476e3,_0x1a2f7f,_0x394621,_0x5db3cb){const _0x409f91=_0x5a0300;var _0x3d5035;if(!this[_0x409f91(0x1da)][_0x409f91(0x170)](_0x1a2f7f,_0x394621))throw Error(_0x409f91(0x35f));let _0x307f0c=_0x5476e3[_0x409f91(0x499)](),_0x158efb=(_0x3d5035=_0x307f0c[_0x409f91(0x18e)][_0x1a2f7f])==null?void 0x0:_0x3d5035['fields'][_0x394621];if(!_0x158efb||_0x394621===_0x5708b3[_0x409f91(0x3c2)])throw Error(_0x409f91(0x1cb));this[_0x409f91(0x312)](_0x307f0c,{..._0x158efb,..._0x5db3cb}),this[_0x409f91(0x144)](_0x5476e3,this[_0x409f91(0x40c)][_0x409f91(0x296)](_0x307f0c,_0x1a2f7f,_0x394621,_0x5db3cb));}[_0x5a0300(0x129)](_0x47bf68,_0x484f85,_0x5c52a1){const _0x44acf4=_0x5a0300;var _0x3b0c31;if(((_0x3b0c31=_0x47bf68[_0x44acf4(0x499)]()[_0x44acf4(0x18e)][_0x484f85])==null?void 0x0:_0x3b0c31[_0x44acf4(0xf2)])===_0x5c52a1||_0x5c52a1===_0x5708b3[_0x44acf4(0x3c2)])throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x44acf4(0x1da)][_0x44acf4(0x449)](_0x484f85,_0x5c52a1))throw Error(_0x44acf4(0x509));this[_0x44acf4(0x144)](_0x47bf68,this[_0x44acf4(0x40c)]['deleteField'](_0x47bf68[_0x44acf4(0x499)](),_0x484f85,_0x5c52a1));}[_0x5a0300(0x309)](_0x4b7605,_0x1ce154,_0x5452bc,_0x3ed332){const _0x189c55=_0x5a0300;if(!this[_0x189c55(0x1da)][_0x189c55(0x170)](_0x1ce154,_0x5452bc))throw Error(_0x189c55(0x35f));if(_0x5452bc===_0x5708b3['BASE_RECORD_ID_FIELD_ID']||_0x3ed332[_0x189c55(0x166)]===_0x5708b3[_0x189c55(0x3c2)])throw Error(_0x189c55(0x362));this[_0x189c55(0x144)](_0x4b7605,this[_0x189c55(0x40c)][_0x189c55(0x309)](_0x4b7605[_0x189c55(0x499)](),_0x1ce154,_0x5452bc,_0x3ed332));}[_0x5a0300(0x3d1)](_0x1d8a98,_0x5ba19f,_0x43c083,_0x16dd52){const _0x190790=_0x5a0300;if(!this[_0x190790(0x1da)][_0x190790(0x280)](_0x5ba19f,_0x43c083['id']))throw Error(_0x190790(0x4f2));this[_0x190790(0x144)](_0x1d8a98,this[_0x190790(0x40c)][_0x190790(0x3d1)](_0x1d8a98[_0x190790(0x499)](),_0x5ba19f,_0x43c083,_0x16dd52));}[_0x5a0300(0xd7)](_0x3f01c2,_0x3d6a11,_0x1d1336,_0x3963bc){const _0x485c60=_0x5a0300;if(!this[_0x485c60(0x1da)][_0x485c60(0x280)](_0x3d6a11,_0x1d1336))throw Error(_0x485c60(0x4f2));this[_0x485c60(0x144)](_0x3f01c2,this[_0x485c60(0x40c)]['renameView'](_0x3f01c2[_0x485c60(0x499)](),_0x3d6a11,_0x1d1336,_0x3963bc));}['deleteView'](_0xa0a57a,_0x513038,_0x4fff74){const _0x4b6275=_0x5a0300;if(!this[_0x4b6275(0x1da)][_0x4b6275(0x280)](_0x513038,_0x4fff74))throw Error(_0x4b6275(0x4f2));this[_0x4b6275(0x144)](_0xa0a57a,this[_0x4b6275(0x40c)][_0x4b6275(0x310)](_0xa0a57a[_0x4b6275(0x499)](),_0x513038,_0x4fff74));}[_0x5a0300(0x47b)](_0x4de3d3,_0x256e92,_0x3827e5,_0x1bbe12){const _0x48af8c=_0x5a0300;if(!this[_0x48af8c(0x1da)][_0x48af8c(0x280)](_0x256e92,_0x3827e5))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x48af8c(0x144)](_0x4de3d3,this[_0x48af8c(0x40c)][_0x48af8c(0x47b)](_0x4de3d3[_0x48af8c(0x499)](),_0x256e92,_0x3827e5,_0x1bbe12));}['updateViewConfig'](_0x143cfb,_0x1167e5,_0x27e347,_0x2ab709){const _0x4c3b78=_0x5a0300;if(!this['_permissionService'][_0x4c3b78(0x280)](_0x1167e5,_0x27e347))throw Error(_0x4c3b78(0x4f2));this['_apply'](_0x143cfb,this[_0x4c3b78(0x40c)][_0x4c3b78(0x39c)](_0x143cfb['getSnapshot'](),_0x1167e5,_0x27e347,_0x2ab709));}[_0x5a0300(0xd2)](_0x315ace,_0x40f39a,_0x41f649,_0x431a0d){const _0xaaba42=_0x5a0300;if(!this[_0xaaba42(0x1da)][_0xaaba42(0x280)](_0x40f39a,_0x41f649))throw Error(_0xaaba42(0x4f2));this[_0xaaba42(0x144)](_0x315ace,this[_0xaaba42(0x40c)]['setViewFilter'](_0x315ace[_0xaaba42(0x499)](),_0x40f39a,_0x41f649,_0x431a0d));}['setViewSort'](_0x910e58,_0x469718,_0x47a3e4,_0x4a926e){const _0x4b9e9d=_0x5a0300;if(!this[_0x4b9e9d(0x1da)][_0x4b9e9d(0x280)](_0x469718,_0x47a3e4))throw Error(_0x4b9e9d(0x4f2));this[_0x4b9e9d(0x144)](_0x910e58,this[_0x4b9e9d(0x40c)]['setViewSort'](_0x910e58[_0x4b9e9d(0x499)](),_0x469718,_0x47a3e4,_0x4a926e));}[_0x5a0300(0x307)](_0xda1e7e,_0x4e4837,_0x30d7d0,_0x447086){const _0x37af10=_0x5a0300;if(!this[_0x37af10(0x1da)][_0x37af10(0x280)](_0x4e4837,_0x30d7d0))throw Error(_0x37af10(0x4f2));this[_0x37af10(0x144)](_0xda1e7e,this['_factory']['setViewGroup'](_0xda1e7e[_0x37af10(0x499)](),_0x4e4837,_0x30d7d0,_0x447086));}[_0x5a0300(0x4ad)](_0x39f805,_0x1eb23d,_0x31c902,_0x5a6e45,_0x4ff389){const _0xa9d627=_0x5a0300;if(!this[_0xa9d627(0x1da)][_0xa9d627(0x280)](_0x1eb23d,_0x31c902))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0xa9d627(0x144)](_0x39f805,this[_0xa9d627(0x40c)][_0xa9d627(0x4ad)](_0x39f805[_0xa9d627(0x499)](),_0x1eb23d,_0x31c902,_0x5a6e45,_0x4ff389));}['setViewFieldWidth'](_0x9a09e8,_0x5bea49,_0x58f1de,_0x3dff8e,_0x294791){const _0x267c3e=_0x5a0300;if(!this[_0x267c3e(0x1da)][_0x267c3e(0x280)](_0x5bea49,_0x58f1de))throw Error(_0x267c3e(0x4f2));this[_0x267c3e(0x144)](_0x9a09e8,this[_0x267c3e(0x40c)][_0x267c3e(0x482)](_0x9a09e8[_0x267c3e(0x499)](),_0x5bea49,_0x58f1de,_0x3dff8e,_0x294791));}[_0x5a0300(0x149)](_0x7d4612,_0x5658c9,_0x3298bc,_0x1feec0,_0x4d6092){const _0x36caad=_0x5a0300;if(!this['_permissionService'][_0x36caad(0x280)](_0x5658c9,_0x3298bc))throw Error(_0x36caad(0x4f2));this[_0x36caad(0x144)](_0x7d4612,this[_0x36caad(0x40c)]['setViewFieldOrder'](_0x7d4612['getSnapshot'](),_0x5658c9,_0x3298bc,_0x1feec0,_0x4d6092));}[_0x5a0300(0x144)](_0x488053,_0x4410b5){const _0x554bc7=_0x5a0300;let _0x23e0d3=_0x488053[_0x554bc7(0x499)]();_0x488053[_0x554bc7(0x502)](this['_applier'][_0x554bc7(0x118)](_0x23e0d3,_0x4410b5));}[_0x5a0300(0x3c5)](_0x3a5da8,_0x16d04d,_0x24b3f1,_0xb6e661=this[_0x5a0300(0x37b)](_0x3a5da8[_0x5a0300(0x18e)][_0x16d04d])){const _0x234382=_0x5a0300;let _0x288b0e=_0x3a5da8['tables'][_0x16d04d],_0x56791f=_0x24b3f1[_0x234382(0x490)]??_0x24b3f1[_0x234382(0x4d8)]??this[_0x234382(0x426)](),_0x30f607={..._0x24b3f1,'createdBy':_0x24b3f1['createdBy']??_0x56791f,'updatedBy':_0x24b3f1[_0x234382(0x4d8)]??_0x56791f,'values':{..._0x24b3f1[_0x234382(0x253)]}};return _0x30f607['values'][_0x5708b3[_0x234382(0x3c2)]]=_0x30f607['id'],_0x288b0e['fieldOrder'][_0x234382(0x11c)](_0x1eb94d=>{const _0x55eeb4=_0x234382;let _0x29c283=_0x288b0e['fields'][_0x1eb94d];if(_0x29c283&&_0x30f607[_0x55eeb4(0x253)][_0x1eb94d]===void 0x0)switch(_0x29c283['type']){case _0x5708b3[_0x55eeb4(0x2f3)][_0x55eeb4(0x2fd)]:var _0x40cbc9;_0x30f607[_0x55eeb4(0x253)][_0x1eb94d]=((_0x40cbc9=_0xb6e661['get'](_0x1eb94d))==null?void 0x0:_0x40cbc9())??this['_createNumberingAllocator'](_0x288b0e,_0x1eb94d)();break;case _0x5708b3[_0x55eeb4(0x2f3)][_0x55eeb4(0x397)]:_0x30f607['createdBy']&&(_0x30f607['values'][_0x1eb94d]=_0x30f607[_0x55eeb4(0x490)]);break;case _0x5708b3[_0x55eeb4(0x2f3)][_0x55eeb4(0x320)]:_0x30f607['updatedBy']&&(_0x30f607['values'][_0x1eb94d]=_0x30f607[_0x55eeb4(0x4d8)]);break;case _0x5708b3[_0x55eeb4(0x2f3)][_0x55eeb4(0x513)]:_0x30f607[_0x55eeb4(0x253)][_0x1eb94d]=_0x381b86(_0x30f607[_0x55eeb4(0x201)]);break;case _0x5708b3[_0x55eeb4(0x2f3)]['UpdatedAt']:_0x30f607[_0x55eeb4(0x253)][_0x1eb94d]=_0x381b86(_0x30f607[_0x55eeb4(0x292)]);break;default:{let _0x2b3b53=_0x29c283[_0x55eeb4(0x1f0)];_0x2b3b53!=null&&_0x2b3b53!==''&&!(Array[_0x55eeb4(0x46f)](_0x2b3b53)&&_0x2b3b53[_0x55eeb4(0x211)]===0x0)&&(_0x30f607[_0x55eeb4(0x253)][_0x1eb94d]=_0x2b3b53);}}}),_0x30f607;}[_0x5a0300(0x500)](_0x5c893b,_0x270a12,_0x1e0bc2,_0x13f630){const _0x2f82d5=_0x5a0300;var _0x2cdc12,_0xd98b29;let _0x484caf=_0x5c893b[_0x2f82d5(0x18e)][_0x270a12],_0x4ef93d=((_0x2cdc12=(_0xd98b29=this[_0x2f82d5(0x2c9)])[_0x2f82d5(0x169)])==null?void 0x0:_0x2cdc12[_0x2f82d5(0x1bb)](_0xd98b29))??Date[_0x2f82d5(0x169)](),_0x5a7be4=this[_0x2f82d5(0x426)](),_0x110a34={..._0x13f630};return _0x484caf[_0x2f82d5(0x286)][_0x2f82d5(0x11c)](_0x44bad7=>{const _0x113867=_0x2f82d5;let _0x1b63d3=_0x484caf[_0x113867(0x527)][_0x44bad7];_0x1b63d3&&(_0x1b63d3[_0x113867(0x131)]===_0x5708b3[_0x113867(0x2f3)][_0x113867(0x31b)]&&(_0x110a34[_0x44bad7]=_0x381b86(_0x4ef93d)),_0x1b63d3[_0x113867(0x131)]===_0x5708b3[_0x113867(0x2f3)][_0x113867(0x320)]&&_0x5a7be4&&(_0x110a34[_0x44bad7]=_0x5a7be4));}),{'recordId':_0x1e0bc2,'values':_0x110a34,'recordPatch':{'updatedAt':_0x4ef93d,..._0x5a7be4?{'updatedBy':_0x5a7be4}:{}}};}['_createSystemFieldValuePatches'](_0x3dc27d,_0x666776,_0x5dd4ed){const _0x34a12b=_0x5a0300;let _0x4f6a2a=_0x3dc27d[_0x34a12b(0x18e)][_0x666776];return!_0x4f6a2a||!_0x460888(_0x5dd4ed)?[]:_0x5dd4ed[_0x34a12b(0x131)]===_0x5708b3[_0x34a12b(0x2f3)]['Numbering']?this[_0x34a12b(0x19c)](_0x4f6a2a,_0x5dd4ed['id']):Object[_0x34a12b(0x253)](_0x4f6a2a[_0x34a12b(0x457)])[_0x34a12b(0x375)](_0xbe85c4=>{const _0x1a859c=_0x34a12b;let _0x57259c=this[_0x1a859c(0x3f9)](_0x5dd4ed,_0xbe85c4);return _0x57259c===void 0x0?[]:[{'recordId':_0xbe85c4['id'],'values':{[_0x5dd4ed['id']]:_0x57259c}}];});}[_0x5a0300(0x3f9)](_0x27c5ab,_0xb7dd60){const _0x2e00d8=_0x5a0300;switch(_0x27c5ab[_0x2e00d8(0x131)]){case _0x5708b3[_0x2e00d8(0x2f3)][_0x2e00d8(0x397)]:return _0xb7dd60[_0x2e00d8(0x490)]??this[_0x2e00d8(0x426)]();case _0x5708b3[_0x2e00d8(0x2f3)][_0x2e00d8(0x320)]:return _0xb7dd60['updatedBy']??this[_0x2e00d8(0x426)]();case _0x5708b3['BaseFieldType'][_0x2e00d8(0x513)]:return _0x381b86(_0xb7dd60[_0x2e00d8(0x201)]??Date[_0x2e00d8(0x169)]());case _0x5708b3['BaseFieldType']['UpdatedAt']:return _0x381b86(_0xb7dd60[_0x2e00d8(0x292)]??Date[_0x2e00d8(0x169)]());default:return;}}['_createNumberingAllocators'](_0x17a777){const _0x112c08=_0x5a0300;let _0x47c76b=new Map();return _0x17a777&&_0x17a777[_0x112c08(0x286)][_0x112c08(0x11c)](_0x38653c=>{const _0x581007=_0x112c08;let _0x3db9e1=_0x17a777['fields'][_0x38653c];(_0x3db9e1==null?void 0x0:_0x3db9e1[_0x581007(0x131)])===_0x5708b3[_0x581007(0x2f3)]['Numbering']&&_0x47c76b[_0x581007(0x289)](_0x38653c,this['_createNumberingAllocator'](_0x17a777,_0x38653c));}),_0x47c76b;}[_0x5a0300(0x1d7)](_0x1793bf,_0x30d896){const _0x16a8c2=_0x5a0300;let _0x44dae8=Object['values'](_0x1793bf[_0x16a8c2(0x457)])[_0x16a8c2(0x106)]((_0xa869da,_0x3e07cf)=>{const _0x5f34d9=_0x16a8c2;let _0x335d73=Number(_0x3e07cf[_0x5f34d9(0x253)][_0x30d896]);return Number['isFinite'](_0x335d73)?Math[_0x5f34d9(0x2a0)](_0xa869da,_0x335d73):_0xa869da;},0x0);return()=>String(++_0x44dae8);}['_createNumberingFieldValuePatches'](_0x1bc879,_0x75a787){const _0x4dd52a=_0x5a0300;let _0x55f75a=this[_0x4dd52a(0x1f5)](_0x1bc879),_0x333119=this[_0x4dd52a(0x1d7)](_0x1bc879,_0x75a787);return _0x55f75a['flatMap'](_0x553eea=>this['_isNonEmptyCellValue'](_0x553eea[_0x4dd52a(0x253)][_0x75a787])?[]:[{'recordId':_0x553eea['id'],'values':{[_0x75a787]:_0x333119()}}]);}[_0x5a0300(0x1f5)](_0x402f7b){const _0x1289f7=_0x5a0300;var _0x23327d;let _0x3e2e3e=Object['values'](_0x402f7b[_0x1289f7(0x457)]),_0x45032d=new Map(_0x3e2e3e[_0x1289f7(0x447)](_0x1dde9a=>[_0x1dde9a['id'],_0x1dde9a])),_0x30c82a=[],_0x5bd68e=new Set();(_0x23327d=_0x402f7b['recordOrder'])==null||_0x23327d['forEach'](_0x2c63fc=>{const _0x44dcb6=_0x1289f7;let _0x30c0a2=_0x45032d[_0x44dcb6(0x387)](_0x2c63fc);_0x30c0a2&&(_0x30c82a[_0x44dcb6(0x4a3)](_0x30c0a2),_0x5bd68e['add'](_0x2c63fc));});let _0x58d5e3=_0x3e2e3e[_0x1289f7(0x22b)](_0x5b24da=>!_0x5bd68e[_0x1289f7(0x4d4)](_0x5b24da['id']))['sort']((_0x58aa78,_0x5785f0)=>String(_0x58aa78[_0x1289f7(0x1c8)]??_0x58aa78['id'])[_0x1289f7(0x323)](String(_0x5785f0['orderKey']??_0x5785f0['id']))||_0x58aa78['id']['localeCompare'](_0x5785f0['id']));return[..._0x30c82a,..._0x58d5e3];}['_isNonEmptyCellValue'](_0x2e08dd){const _0x17d265=_0x5a0300;return _0x2e08dd!=null&&_0x2e08dd!==''&&!(Array[_0x17d265(0x46f)](_0x2e08dd)&&_0x2e08dd[_0x17d265(0x211)]===0x0);}[_0x5a0300(0x426)](){const _0x470a3e=_0x5a0300;var _0x3d5881,_0x38ec45,_0x21db98,_0x2d43af;return((_0x3d5881=(_0x38ec45=this['_runtimeContext'])['getCurrentUserId'])==null?void 0x0:_0x3d5881[_0x470a3e(0x1bb)](_0x38ec45))??((_0x21db98=(_0x2d43af=this[_0x470a3e(0x2c9)])['getCurrentUser'])==null||(_0x21db98=_0x21db98[_0x470a3e(0x1bb)](_0x2d43af))==null?void 0x0:_0x21db98['userID'])??void 0x0;}[_0x5a0300(0x348)](_0x1d7375,_0x1cd7a3,_0x3407ea,_0x43ee0d,_0x4aede5){const _0x10426f=_0x5a0300;var _0x3d358f;if(!this[_0x10426f(0x1da)][_0x10426f(0x2f9)](_0x1cd7a3,_0x3407ea,_0x43ee0d))throw Error(_0x10426f(0x1fe));let _0x5ef321=(_0x3d358f=_0x1d7375[_0x10426f(0x18e)][_0x1cd7a3])==null?void 0x0:_0x3d358f['fields'][_0x43ee0d];if(!_0x5ef321)throw Error(_0x10426f(0x506)+_0x43ee0d+_0x10426f(0x36d));let _0x30c22f=this[_0x10426f(0x3a2)][_0x10426f(0x387)](_0x5ef321[_0x10426f(0x131)]);if(_0x5ef321['readonly']||_0x5ef321[_0x10426f(0x326)]||!_0x30c22f[_0x10426f(0x15d)](_0x5ef321)[_0x10426f(0x1e4)])throw Error(_0x10426f(0x388));let _0x521d89=_0x30c22f[_0x10426f(0x51f)](_0x4aede5,_0x5ef321),_0x172d17=_0x30c22f[_0x10426f(0x484)](_0x521d89,_0x5ef321);if(!_0x172d17['valid'])throw Error(_0x172d17['reason']??'[BaseCommandService]:\x20invalid\x20cell\x20value.');let _0x250c1a=_0x5ef321[_0x10426f(0x131)]===_0x5708b3[_0x10426f(0x2f3)]['RecordLink']?_0x5c11b8(_0x1d7375,_0x5ef321,_0x521d89):{'valid':!0x0};if(!_0x250c1a[_0x10426f(0x150)])throw Error(_0x250c1a[_0x10426f(0x2a9)]??'[BaseCommandService]:\x20invalid\x20RecordLink\x20value.');return _0x521d89;}['_assertFieldDefinition'](_0x551a63,_0x53c054){const _0x3bfa4d=_0x5a0300;if(_0x53c054['id']===_0x5708b3[_0x3bfa4d(0x3c2)]||_0x53c054[_0x3bfa4d(0x131)]===_0x5708b3['BaseFieldType']['RecordId']||(0x0,_0x5708b3[_0x3bfa4d(0x516)])(_0x53c054['name']))throw Error(_0x3bfa4d(0x36a));let _0x55369a=_0x8d397b(_0x551a63,_0x53c054);if(!_0x55369a[_0x3bfa4d(0x150)])throw Error(_0x55369a[_0x3bfa4d(0x2a9)]??_0x3bfa4d(0x2d0));}};_0x454527=_0x4b373a([_0x3ce02e(0x0,_0x5bfa23),_0x3ce02e(0x1,_0x5b21e9)],_0x454527);function _0x471775(){const _0x2460dc=_0x5a0300;let _0x3bc918=new _0x228258();return _0x3a96d7()[_0x2460dc(0x11c)](_0xc097f3=>_0x3bc918[_0x2460dc(0x4a9)](_0xc097f3)),_0x3bc918;}function _0x460888(_0x33fbc2){const _0x4028e7=_0x5a0300;return _0x33fbc2[_0x4028e7(0x131)]===_0x5708b3[_0x4028e7(0x2f3)]['Numbering']||_0x33fbc2['type']===_0x5708b3[_0x4028e7(0x2f3)][_0x4028e7(0x397)]||_0x33fbc2[_0x4028e7(0x131)]===_0x5708b3['BaseFieldType'][_0x4028e7(0x320)]||_0x33fbc2['type']===_0x5708b3[_0x4028e7(0x2f3)][_0x4028e7(0x513)]||_0x33fbc2[_0x4028e7(0x131)]===_0x5708b3['BaseFieldType'][_0x4028e7(0x31b)];}let _0x36d0bf=new Set([_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x3de)],_0x5708b3[_0x5a0300(0x2f3)]['Rating'],_0x5708b3[_0x5a0300(0x2f3)]['Checkbox']]);function _0x1b5136(_0x4b8a2b){const _0x222678=_0x5a0300;let _0x3b8c13=_0x4b8a2b[_0x222678(0x527)][_0x4b8a2b[_0x222678(0xf2)]];if((!_0x3b8c13||_0x3b8c13[_0x222678(0x326)]!==!0x0&&_0x3b8c13['id'][_0x222678(0x436)]()!=='id'&&_0x3b8c13[_0x222678(0x3b4)][_0x222678(0x1bd)]()[_0x222678(0x436)]()!=='id')&&_0x3b8c13)return _0x3b8c13['id'];for(let _0xb27602 of _0x4b8a2b[_0x222678(0x286)]){let _0x89ab05=_0x4b8a2b[_0x222678(0x527)][_0xb27602];if(_0x89ab05&&_0x89ab05['id']!==_0x4b8a2b[_0x222678(0xf2)]&&_0x89ab05[_0x222678(0x326)]!==!0x0&&_0x89ab05[_0x222678(0x131)]!==_0x5708b3['BaseFieldType'][_0x222678(0x452)])return _0x89ab05['id'];}return _0x4b8a2b[_0x222678(0xf2)];}function _0x329d22(_0x140e1c,_0xa50a6f=[],_0x84ccd9=0x5){const _0x21339b=_0x5a0300;let _0x5a32de=new Set(_0xa50a6f['filter'](_0x50bc2f=>!!_0x50bc2f)),_0x2c9f82=[],_0x31bfd0=[];for(let _0x2a8875 of _0x140e1c[_0x21339b(0x286)]){let _0x8fa520=_0x140e1c['fields'][_0x2a8875];_0x8fa520&&_0x8fa520[_0x21339b(0x326)]!==!0x0&&_0x8fa520[_0x21339b(0x131)]!==_0x5708b3['BaseFieldType'][_0x21339b(0x452)]&&!_0x5a32de[_0x21339b(0x4d4)](_0x8fa520['id'])&&(_0x36d0bf[_0x21339b(0x4d4)](_0x8fa520[_0x21339b(0x131)])?_0x2c9f82:_0x31bfd0)[_0x21339b(0x4a3)](_0x8fa520['id']);}return[..._0x2c9f82,..._0x31bfd0][_0x21339b(0x51b)](0x0,_0x84ccd9);}function _0x3f85d4(){const _0x3e35f3=_0x5a0300;return[{'type':_0x5708b3[_0x3e35f3(0x33b)][_0x3e35f3(0x2dd)],'i18nKey':_0x3e35f3(0x194),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xd8e5a8=_0x3e35f3;throw Error(_0xd8e5a8(0x1a1));}},{'type':_0x5708b3[_0x3e35f3(0x33b)][_0x3e35f3(0x243)],'i18nKey':_0x3e35f3(0x18c),'createDefaultConfig':_0x3c88e5=>{const _0x22b777=_0x3e35f3;let _0x486649=_0x43e3e0(_0x3c88e5);return{'groupFieldId':_0x486649,'coverFieldId':null,'cardLayout':_0x22b777(0x3b0),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x3c88e5['primaryFieldId'],'fieldIds':_0x329d22(_0x3c88e5,[_0x3c88e5[_0x22b777(0xf2)],_0x486649])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x34fb56=_0x3e35f3;throw Error(_0x34fb56(0x156));}},{'type':_0x5708b3[_0x3e35f3(0x33b)][_0x3e35f3(0x341)],'i18nKey':_0x3e35f3(0x3e3),'createDefaultConfig':_0xbe86bd=>{const _0xb00245=_0x3e35f3;let _0x30e7f9=_0x4f971f(_0xbe86bd);return{'startDateFieldId':_0x30e7f9,'endDateFieldId':_0x5175a9(_0xbe86bd,_0x30e7f9),'titleFieldId':_0xbe86bd['primaryFieldId'],'mode':'month','timeslotSize':_0xb00245(0x42a),'timeZone':_0xb00245(0x28a),'displayColor':{'type':_0xb00245(0x385),'color':_0xb00245(0x1b6)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x55cbd7=_0x3e35f3;throw Error(_0x55cbd7(0x12d));}},{'type':_0x5708b3[_0x3e35f3(0x33b)][_0x3e35f3(0x2f6)],'i18nKey':_0x3e35f3(0x3a3),'createDefaultConfig':_0x3e9c0f=>{const _0xa465cd=_0x3e35f3;let _0x1ffeed=_0x4f971f(_0x3e9c0f);return{'startDateFieldId':_0x1ffeed,'endDateFieldId':_0x5175a9(_0x3e9c0f,_0x1ffeed)??_0x1ffeed,'titleFieldId':_0x3e9c0f[_0xa465cd(0xf2)],'scale':_0xa465cd(0x396),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x168f28=_0x3e35f3;throw Error(_0x168f28(0xf3));}},{'type':_0x5708b3['BaseViewType']['Gallery'],'i18nKey':_0x3e35f3(0xe8),'createDefaultConfig':_0x53cc69=>{const _0x4e65b8=_0x3e35f3;let _0x52f770=_0x1b5136(_0x53cc69);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x52f770,'coverFieldId':null,'fieldIds':_0x329d22(_0x53cc69,[_0x52f770,_0x53cc69['primaryFieldId']])},'cardSize':_0x4e65b8(0x42a)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function _0x43e3e0(_0x880db9){const _0x4dfab5=_0x5a0300;var _0x3ba2b0,_0x2b5cec,_0x3da8c0;let _0x50f5b9=_0x880db9[_0x4dfab5(0x286)][_0x4dfab5(0x447)](_0x367c9b=>_0x880db9[_0x4dfab5(0x527)][_0x367c9b])[_0x4dfab5(0x22b)](_0x4ec1b4=>!!_0x4ec1b4);return((_0x3ba2b0=_0x50f5b9[_0x4dfab5(0x1ab)](_0x3a4db2=>_0x3a4db2['type']===_0x5708b3[_0x4dfab5(0x2f3)][_0x4dfab5(0x147)]||_0x3a4db2['type']===_0x5708b3[_0x4dfab5(0x2f3)]['MultiSelect']||_0x3a4db2[_0x4dfab5(0x131)]===_0x5708b3['BaseFieldType'][_0x4dfab5(0x4ae)]))==null?void 0x0:_0x3ba2b0['id'])??((_0x2b5cec=_0x50f5b9[_0x4dfab5(0x1ab)](_0x5b7e8e=>_0x5b7e8e['type']===_0x5708b3[_0x4dfab5(0x2f3)][_0x4dfab5(0x2ba)]))==null?void 0x0:_0x2b5cec['id'])??((_0x3da8c0=_0x50f5b9[_0x4dfab5(0x1ab)](_0x17590f=>_0x17590f[_0x4dfab5(0x131)]===_0x5708b3['BaseFieldType'][_0x4dfab5(0x30b)]||_0x17590f[_0x4dfab5(0x131)]===_0x5708b3[_0x4dfab5(0x2f3)][_0x4dfab5(0x513)]||_0x17590f[_0x4dfab5(0x131)]===_0x5708b3[_0x4dfab5(0x2f3)][_0x4dfab5(0x31b)]))==null?void 0x0:_0x3da8c0['id'])??_0x880db9[_0x4dfab5(0xf2)];}function _0x4f971f(_0x3730e4){const _0x4c7ac7=_0x5a0300;var _0x3f06ee;return((_0x3f06ee=_0x3730e4[_0x4c7ac7(0x286)][_0x4c7ac7(0x447)](_0x18494d=>_0x3730e4[_0x4c7ac7(0x527)][_0x18494d])[_0x4c7ac7(0x1ab)](_0x4ac551))==null?void 0x0:_0x3f06ee['id'])??'';}function _0x5175a9(_0x9a87a9,_0x1770e0){const _0x193f62=_0x5a0300;var _0x307463;return(_0x307463=_0x9a87a9['fieldOrder'][_0x193f62(0x447)](_0x110894=>_0x9a87a9[_0x193f62(0x527)][_0x110894])[_0x193f62(0x1ab)](_0x30563d=>_0x4ac551(_0x30563d)&&_0x30563d['id']!==_0x1770e0))==null?void 0x0:_0x307463['id'];}function _0x4ac551(_0x3a84ad){const _0x5fc1b6=_0x5a0300;return!!_0x3a84ad&&_0x3a84ad[_0x5fc1b6(0x131)]===_0x5708b3['BaseFieldType'][_0x5fc1b6(0x30b)]&&_0x3a84ad[_0x5fc1b6(0x356)]!==!0x0&&_0x3a84ad[_0x5fc1b6(0x326)]!==!0x0;}let _0x349863=(0x0,_0x5708b3[_0x5a0300(0x4b3)])(_0x5a0300(0x122)),_0xabc776=new Set([_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x496)],_0x5708b3['BaseFieldType'][_0x5a0300(0xcb)],_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x3de)],_0x5708b3[_0x5a0300(0x2f3)]['Rating'],_0x5708b3['BaseFieldType'][_0x5a0300(0x30b)],_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x513)],_0x5708b3[_0x5a0300(0x2f3)]['UpdatedAt'],_0x5708b3['BaseFieldType'][_0x5a0300(0x31c)]]),_0x3cc60f=0x5265c00,_0x4e4812=class extends _0x5708b3[_0x5a0300(0x4ac)]{constructor(_0x2c0a7b){const _0x23890b=_0x5a0300;super(),this[_0x23890b(0x3a2)]=_0x2c0a7b,_0x5535f0(this,_0x23890b(0x24b),new Map()),_0x5535f0(this,_0x23890b(0x33f),new WeakMap()),_0x5535f0(this,_0x23890b(0x330),new Map()),_0x5535f0(this,'_projectedViewRowsCache',new Map()),_0x5535f0(this,_0x23890b(0x41d),new Map()),_0x5535f0(this,_0x23890b(0x176),new Map()),_0x5535f0(this,'_globalRevision',0x0),_0x5535f0(this,_0x23890b(0x2c6),new Map()),_0x5535f0(this,_0x23890b(0x13d),new Map()),_0x5535f0(this,_0x23890b(0x257),new Map()),_0x5535f0(this,_0x23890b(0x489),new Map());}[_0x5a0300(0x403)](_0x21b7ab){const _0xa8cd90=_0x5a0300;return this[_0xa8cd90(0x24b)][_0xa8cd90(0x289)](_0x21b7ab['type'],_0x21b7ab),(0x0,_0x5708b3[_0xa8cd90(0xd0)])(()=>this[_0xa8cd90(0x24b)][_0xa8cd90(0x2d4)](_0x21b7ab['type']));}[_0x5a0300(0x177)](_0x2bc435,_0x2b3bfa,_0x5c68bb){const _0x5909e6=_0x5a0300;var _0x102730,_0x2954eb,_0x14e1bc;return _0x4f055a('BaseProjection.getProjection',()=>{const _0x85abbd=_0x513b;let _0x5d1a7e=this[_0x85abbd(0x1cf)](_0x2bc435,_0x2b3bfa,_0x5c68bb);if(_0x5d1a7e)return _0x5d1a7e;let _0x22d438=_0x2bc435['tables'][_0x2b3bfa],_0x2ae059=_0x22d438==null?void 0x0:_0x22d438[_0x85abbd(0x255)][_0x5c68bb];if(!_0x22d438||!_0x2ae059)return this['_setCachedProjection'](_0x2bc435,_0x2b3bfa,_0x5c68bb,{'type':_0x85abbd(0x103),'viewType':(_0x2ae059==null?void 0x0:_0x2ae059[_0x85abbd(0x131)])??_0x5708b3[_0x85abbd(0x33b)][_0x85abbd(0x2dd)],'reason':'missingField'});let _0x1867de;switch(_0x2ae059[_0x85abbd(0x131)]){case _0x5708b3[_0x85abbd(0x33b)][_0x85abbd(0x2dd)]:_0x1867de=this[_0x85abbd(0x26a)](_0x22d438,_0x2ae059);break;case _0x5708b3['BaseViewType'][_0x85abbd(0x2f6)]:_0x1867de=this[_0x85abbd(0x4a0)](_0x22d438,_0x2ae059);break;case _0x5708b3[_0x85abbd(0x33b)][_0x85abbd(0x243)]:_0x1867de=this[_0x85abbd(0x347)](_0x22d438,_0x2ae059);break;case _0x5708b3[_0x85abbd(0x33b)][_0x85abbd(0x341)]:_0x1867de=this[_0x85abbd(0x3e6)](_0x22d438,_0x2ae059);break;case _0x5708b3['BaseViewType'][_0x85abbd(0x3d7)]:_0x1867de=this[_0x85abbd(0xeb)](_0x22d438,_0x2ae059);break;default:_0x1867de={'type':'invalid','viewType':_0x2ae059[_0x85abbd(0x131)],'reason':_0x85abbd(0x40a)};}return this['_setCachedProjection'](_0x2bc435,_0x2b3bfa,_0x5c68bb,_0x1867de);},{'tableId':_0x2b3bfa,'viewId':_0x5c68bb,'viewType':(_0x102730=_0x2bc435[_0x5909e6(0x18e)][_0x2b3bfa])==null||(_0x102730=_0x102730[_0x5909e6(0x255)][_0x5c68bb])==null?void 0x0:_0x102730['type'],'records':((_0x2954eb=_0x2bc435['tables'][_0x2b3bfa])==null||(_0x2954eb=_0x2954eb[_0x5909e6(0x317)])==null?void 0x0:_0x2954eb[_0x5909e6(0x211)])??Object[_0x5909e6(0x4dd)](((_0x14e1bc=_0x2bc435[_0x5909e6(0x18e)][_0x2b3bfa])==null?void 0x0:_0x14e1bc['records'])??{})['length']});}[_0x5a0300(0xe2)](_0x41d318,_0x3b62df,_0x46bfdc){const _0x158d26=_0x5a0300;var _0x48704c,_0x2d9a4d,_0x2837c3;let _0x283bad=_0x41d318['tables'][_0x3b62df],_0x240fcd=_0x283bad==null?void 0x0:_0x283bad[_0x158d26(0x255)][_0x46bfdc];if(!_0x283bad||!_0x240fcd)throw Error(_0x158d26(0x334)+_0x46bfdc+'\x22.');let _0x13a6cb=_0x476d44=>!!_0x283bad['fields'][_0x476d44],_0x3118a1={..._0x240fcd,'filter':_0x240fcd[_0x158d26(0x22b)]?{..._0x240fcd[_0x158d26(0x22b)],'conditions':_0x240fcd[_0x158d26(0x22b)][_0x158d26(0x495)]['filter'](_0x117d80=>_0x13a6cb(_0x117d80[_0x158d26(0x236)]))}:_0x240fcd[_0x158d26(0x22b)],'sort':(_0x48704c=_0x240fcd[_0x158d26(0x3c8)])==null?void 0x0:_0x48704c[_0x158d26(0x22b)](_0x2f959f=>_0x13a6cb(_0x2f959f[_0x158d26(0x236)])),'group':(_0x2d9a4d=_0x240fcd[_0x158d26(0x266)])==null?void 0x0:_0x2d9a4d[_0x158d26(0x22b)](_0x501a1c=>_0x13a6cb(_0x501a1c[_0x158d26(0x236)])),'fieldOrder':(_0x2837c3=_0x240fcd[_0x158d26(0x286)])==null?void 0x0:_0x2837c3[_0x158d26(0x22b)](_0x13a6cb),'fieldSettings':Object['fromEntries'](Object[_0x158d26(0x15b)](_0x240fcd[_0x158d26(0x25a)]??{})[_0x158d26(0x22b)](([_0x5d0be8])=>_0x13a6cb(_0x5d0be8)))};if(_0x3118a1[_0x158d26(0x131)]===_0x158d26(0x510)){var _0x7d60df;let _0x56e600=_0x3118a1[_0x158d26(0x21c)]??{},_0x32cf6e=this['_resolveKanbanGroupFieldId'](_0x283bad,_0x3118a1),_0x209dcd=this[_0x158d26(0x143)](_0x283bad,(_0x7d60df=_0x56e600[_0x158d26(0x41c)])==null?void 0x0:_0x7d60df[_0x158d26(0x2d1)]);_0x3118a1['config']={..._0x56e600,'groupFieldId':_0x32cf6e??_0x56e600[_0x158d26(0x1a3)],'coverFieldId':this[_0x158d26(0x400)](_0x283bad,_0x56e600),'cardLayout':_0x56e600[_0x158d26(0x41b)]==='compose'?_0x158d26(0x30d):'normal','showFieldNames':_0x56e600[_0x158d26(0x25c)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x158d26(0x15b)](_0x56e600[_0x158d26(0x25a)]??{})[_0x158d26(0x22b)](([_0x2a9b3f])=>_0x13a6cb(_0x2a9b3f))),'columnSettings':_0x56e600['columnSettings']??{},'card':{..._0x56e600['card']??{},'titleFieldId':_0x209dcd,'fieldIds':this[_0x158d26(0x20d)](_0x283bad,_0x3118a1,_0x32cf6e??'',_0x209dcd)}};}return{'repaired':JSON[_0x158d26(0x494)](_0x3118a1)!==JSON[_0x158d26(0x494)](_0x240fcd),'view':_0x3118a1};}[_0x5a0300(0x272)](){const _0xbbcd10=_0x5a0300;this[_0xbbcd10(0x45b)]++;}[_0x5a0300(0x237)](_0x17cf87,_0x4763bc,_0x4072df){const _0xb18c3a=_0x5a0300;let _0x24c086=this['_getCellRevision'](_0x17cf87)+0x1;this['_cellRevisions'][_0xb18c3a(0x289)](_0x17cf87,_0x24c086);let _0x483add=this['_cellInvalidations'][_0xb18c3a(0x387)](_0x17cf87)??[];_0x483add['push']({'revision':_0x24c086,'recordId':_0x4763bc,'fieldId':_0x4072df}),this[_0xb18c3a(0x257)][_0xb18c3a(0x289)](_0x17cf87,_0x483add);}[_0x5a0300(0x1ef)](_0x7381d9,_0x2b466d){const _0x135b9f=_0x5a0300;this[_0x135b9f(0xcf)](_0x7381d9);}[_0x5a0300(0x3fc)](_0x5e5166,_0x2dbae9){const _0x161b29=_0x5a0300;this[_0x161b29(0x489)]['set'](this[_0x161b29(0x2b5)](_0x5e5166,_0x2dbae9),this[_0x161b29(0x4fd)](_0x5e5166,_0x2dbae9)+0x1);}[_0x5a0300(0x1cf)](_0x5bf62c,_0x5a45d0,_0x5737f6){const _0x140a53=_0x5a0300;var _0x527b24;let _0x19bea6=(_0x527b24=this['_projectionCache'][_0x140a53(0x387)](_0x5bf62c))==null?void 0x0:_0x527b24[_0x140a53(0x387)](this[_0x140a53(0x439)](_0x5a45d0,_0x5737f6));return _0x19bea6&&_0x19bea6[_0x140a53(0x4ca)]===this['_globalRevision']&&_0x19bea6['tableRevision']===this[_0x140a53(0xf0)](_0x5a45d0)&&_0x19bea6['cellRevision']===this['_getCellRevision'](_0x5a45d0)&&_0x19bea6[_0x140a53(0x133)]===this[_0x140a53(0x4fd)](_0x5a45d0,_0x5737f6)?_0x19bea6['projection']:null;}['_setCachedProjection'](_0x1358c5,_0x3b5047,_0x29c330,_0x218946){const _0x32bc57=_0x5a0300;let _0x20dd27=this[_0x32bc57(0x33f)]['get'](_0x1358c5);return _0x20dd27||(_0x20dd27=new Map(),this[_0x32bc57(0x33f)][_0x32bc57(0x289)](_0x1358c5,_0x20dd27)),_0x20dd27[_0x32bc57(0x289)](this['_cacheKey'](_0x3b5047,_0x29c330),{'projection':_0x218946,'globalRevision':this[_0x32bc57(0x45b)],'tableRevision':this[_0x32bc57(0xf0)](_0x3b5047),'cellRevision':this[_0x32bc57(0x46a)](_0x3b5047),'viewRevision':this['_getViewRevision'](_0x3b5047,_0x29c330)}),_0x218946;}['_bumpTableRevision'](_0x1c5dc9){const _0x521833=_0x5a0300;this['_tableRevisions'][_0x521833(0x289)](_0x1c5dc9,this['_getTableRevision'](_0x1c5dc9)+0x1);}[_0x5a0300(0xf0)](_0xfdaefd){const _0x3dad1e=_0x5a0300;return this[_0x3dad1e(0x2c6)][_0x3dad1e(0x387)](_0xfdaefd)??0x0;}[_0x5a0300(0x46a)](_0x378367){const _0xd1ba72=_0x5a0300;return this[_0xd1ba72(0x13d)][_0xd1ba72(0x387)](_0x378367)??0x0;}[_0x5a0300(0x4fd)](_0x174643,_0x46fc2c){const _0x1b674c=_0x5a0300;return this[_0x1b674c(0x489)][_0x1b674c(0x387)](this[_0x1b674c(0x2b5)](_0x174643,_0x46fc2c))??0x0;}['_cacheKey'](_0x412f78,_0x2ffb14){return _0x412f78+'\x00'+_0x2ffb14;}[_0x5a0300(0x20f)](_0x496c24,_0x2aefba){const _0x498693=_0x5a0300;return _0x496c24+'\x00'+this[_0x498693(0x218)](_0x2aefba);}[_0x5a0300(0x113)](_0x4e99fc,_0x3430ef,_0x4dc976){const _0x27333d=_0x5a0300;return _0x4e99fc+'\x00'+this[_0x27333d(0x218)](_0x3430ef)+'\x00'+this['_groupConfigCacheSegment'](_0x4dc976);}['_rowTransformCacheSegment'](_0xedfb35){const _0x5aa6cc=_0x5a0300;return _0xedfb35?_0x3407fa({'filter':_0x2a1720(_0xedfb35[_0x5aa6cc(0x22b)]),'sort':_0x366c5d(_0xedfb35['sort'])}):_0x5aa6cc(0xca);}[_0x5a0300(0x2df)](_0x176db3){const _0x47bfaf=_0x5a0300;return _0x3407fa(_0x176db3[_0x47bfaf(0x447)](_0x196269=>({'fieldId':_0x196269[_0x47bfaf(0x236)],'direction':_0x196269[_0x47bfaf(0x14a)]??null})));}['_viewRevisionKey'](_0x286db8,_0x20ce62){return _0x286db8+'\x00'+_0x20ce62;}['_buildGrid'](_0x5cfe1d,_0x56107b){const _0x41c392=_0x5a0300;var _0x373fc4;let _0x2b65d4=_0x572b51(_0x5cfe1d),_0x3858f7=this[_0x41c392(0x45a)](_0x5cfe1d,_0x56107b),_0x1f1ae8=(_0x373fc4=_0x56107b[_0x41c392(0x22b)])!=null&&_0x373fc4['conditions'][_0x41c392(0x211)]?this[_0x41c392(0x45a)](_0x5cfe1d,{..._0x56107b,'filter':null}):_0x3858f7,_0x43b7ea=_0x240b61(this[_0x41c392(0x384)](_0x5cfe1d,_0x2b65d4,_0x56107b['id'],_0x1f1ae8['map'](_0x2ccf85=>_0x2ccf85[_0x41c392(0x34b)])),_0x1f1ae8,new Set(_0x3858f7['map'](_0x5f2409=>_0x5f2409['recordId'])));return{'type':_0x5708b3[_0x41c392(0x33b)][_0x41c392(0x2dd)],'fields':this[_0x41c392(0x4a7)](_0x5cfe1d,_0x56107b),'rows':_0x43b7ea[_0x41c392(0x1d5)],'groups':this['_projectHierarchyGroups'](_0x5cfe1d,_0x56107b,_0x43b7ea[_0x41c392(0x1d5)],_0x43b7ea[_0x41c392(0x2f8)]),'hierarchy':_0x43b7ea[_0x41c392(0x2f8)],'frozenFieldCount':typeof _0x56107b[_0x41c392(0x21c)][_0x41c392(0x4bf)]==_0x41c392(0x337)?_0x56107b[_0x41c392(0x21c)][_0x41c392(0x4bf)]:0x0};}[_0x5a0300(0x384)](_0x3207f7,_0x5091c9,_0x5cef7a,_0x4a0d71){const _0x1153b7=_0x5a0300;let _0x50483a=_0x3207f7['id']+'\x00'+_0x5091c9+'\x00'+_0x5cef7a,_0x424cbb=this[_0x1153b7(0x46a)](_0x3207f7['id']),_0x1ccb05=this[_0x1153b7(0x176)][_0x1153b7(0x387)](_0x50483a);if(_0x1ccb05&&_0x1ccb05['globalRevision']===this['_globalRevision']&&_0x1ccb05[_0x1153b7(0x2ac)]===this[_0x1153b7(0xf0)](_0x3207f7['id'])&&_0x1ccb05['orderedRecordIds'][_0x1153b7(0x211)]===_0x4a0d71['length']&&_0x1ccb05[_0x1153b7(0x27f)]['every']((_0x267713,_0x3c1bab)=>_0x267713===_0x4a0d71[_0x3c1bab])){if(_0x1ccb05[_0x1153b7(0x4ea)]===_0x424cbb&&_0x1ccb05[_0x1153b7(0x294)]===_0x3207f7)return _0x1ccb05['index'];if(!this['_cellInvalidationsTouchFields'](_0x3207f7['id'],_0x1ccb05[_0x1153b7(0x4ea)],_0x424cbb,new Set([_0x5091c9])))return this['_hierarchyIndexCache'][_0x1153b7(0x289)](_0x50483a,{..._0x1ccb05,'table':_0x3207f7,'cellRevision':_0x424cbb}),_0x1ccb05[_0x1153b7(0x3a1)];}let _0x1c5c3b=_0x3fc285(_0x3207f7,_0x5091c9,_0x4a0d71);return this[_0x1153b7(0x176)][_0x1153b7(0x289)](_0x50483a,{'table':_0x3207f7,'index':_0x1c5c3b,'orderedRecordIds':_0x4a0d71,'globalRevision':this[_0x1153b7(0x45b)],'tableRevision':this[_0x1153b7(0xf0)](_0x3207f7['id']),'cellRevision':_0x424cbb}),_0x1c5c3b;}[_0x5a0300(0x216)](_0x5ad55c,_0x51e029,_0x4d8df2,_0x4e98f8){const _0x1bf532=_0x5a0300;var _0x294014;if(!((_0x294014=_0x51e029[_0x1bf532(0x266)])!=null&&_0x294014[_0x1bf532(0x211)]))return[];let _0x5ee290=new Map(_0x4d8df2[_0x1bf532(0x447)](_0x1f17fe=>[_0x1f17fe[_0x1bf532(0x34b)],_0x1f17fe])),_0x54694a=_0x4e98f8[_0x1bf532(0x192)]['flatMap'](_0x1516ae=>{const _0x455143=_0x1bf532;let _0x36e819=_0x5ee290[_0x455143(0x387)](_0x1516ae);return _0x36e819?[_0x36e819]:[];}),_0x152bbd=this[_0x1bf532(0x2b7)](_0x5ad55c,_0x51e029,_0x54694a),_0x41b3ab=new Map(_0x4e98f8[_0x1bf532(0x27f)]['map']((_0x45a2d6,_0x101d50)=>[_0x45a2d6,_0x101d50])),_0x5d3191=_0x2c2687=>{const _0x2da391=_0x1bf532;let _0x3c4eda=_0x4e98f8[_0x2da391(0x195)][_0x2c2687],_0xcf9fd8=_0x41b3ab[_0x2da391(0x387)](_0x2c2687)??-0x1;return _0xcf9fd8<0x0||!_0x3c4eda?[]:_0x4e98f8[_0x2da391(0x27f)][_0x2da391(0x51b)](_0xcf9fd8,_0x3c4eda[_0x2da391(0x4a5)]+0x1);},_0x573386=_0x444dd0=>{const _0x33bf4f=_0x1bf532;var _0xfc4c5b,_0x100380;return{..._0x444dd0,'recordIds':(_0xfc4c5b=_0x444dd0[_0x33bf4f(0x365)])!=null&&_0xfc4c5b[_0x33bf4f(0x211)]?_0x444dd0[_0x33bf4f(0x207)]:_0x444dd0['recordIds'][_0x33bf4f(0x375)](_0x5d3191),'children':(_0x100380=_0x444dd0['children'])==null?void 0x0:_0x100380[_0x33bf4f(0x447)](_0x573386)};};return _0x152bbd[_0x1bf532(0x447)](_0x573386);}[_0x5a0300(0x347)](_0x4f9dd5,_0xd9a721){const _0x235ce5=_0x5a0300;var _0x23fcf1;let _0x19008b=this['_resolveKanbanGroupFieldId'](_0x4f9dd5,_0xd9a721),_0xe790ce=_0x19008b?_0x4f9dd5['fields'][_0x19008b]:void 0x0;if(!_0xe790ce)return{'type':_0x235ce5(0x103),'viewType':_0x5708b3[_0x235ce5(0x33b)][_0x235ce5(0x243)],'reason':'invalidGroupField','fieldId':_0xd9a721['config'][_0x235ce5(0x1a3)]};let _0x1762bf=this[_0x235ce5(0x45a)](_0x4f9dd5,_0xd9a721),_0xede349=this[_0x235ce5(0x4a7)](_0x4f9dd5,_0xd9a721),_0x573c26=_0xd9a721[_0x235ce5(0x21c)]??{},_0x4aa5e5=this['_resolveCardTitleFieldId'](_0x4f9dd5,(_0x23fcf1=_0x573c26[_0x235ce5(0x41c)])==null?void 0x0:_0x23fcf1[_0x235ce5(0x2d1)]),_0x4ecb67=this['_resolveKanbanCardFieldIds'](_0x4f9dd5,_0xd9a721,_0xe790ce['id'],_0x4aa5e5),_0x16ac7e=new Map();if(_0x40aa86(_0x4f9dd5,_0xe790ce['id'])){let _0x33d421=this[_0x235ce5(0x384)](_0x4f9dd5,_0xe790ce['id'],_0xd9a721['id'],_0x1762bf[_0x235ce5(0x447)](_0x1e15a6=>_0x1e15a6[_0x235ce5(0x34b)])),_0x280c91=new Map();return _0x1762bf[_0x235ce5(0x11c)](_0x9d0717=>{const _0x1e6569=_0x235ce5;let _0x22c8c4=_0x33d421[_0x1e6569(0x4c1)]['get'](_0x9d0717[_0x1e6569(0x34b)])??null,_0x2f10d8=_0x22c8c4??'',_0x38f0da=_0x22c8c4?_0x4f9dd5[_0x1e6569(0x457)][_0x22c8c4]:void 0x0,_0x5eab24=_0x280c91['get'](_0x2f10d8)??{'key':_0x2f10d8,'title':_0x38f0da?String(_0x59e45e(_0x4f9dd5,_0x38f0da['id'],_0x4f9dd5['primaryFieldId'])??_0x22c8c4):this[_0x1e6569(0x3fe)](_0xe790ce,_0x2f10d8,_0x573c26),'recordIds':[]};_0x5eab24['recordIds'][_0x1e6569(0x4a3)](_0x9d0717[_0x1e6569(0x34b)]),_0x280c91[_0x1e6569(0x289)](_0x2f10d8,_0x5eab24);}),{'type':_0x5708b3['BaseViewType']['Kanban'],'fields':_0xede349,'rows':_0x1762bf,'groups':[],'groupFieldId':_0xe790ce['id'],'titleFieldId':_0x4aa5e5,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x4f9dd5,_0x573c26),'cardLayout':_0x573c26[_0x235ce5(0x41b)]===_0x235ce5(0x30d)?'compose':_0x235ce5(0x3b0),'showFieldNames':_0x573c26[_0x235ce5(0x25c)]!==!0x1,'visibleCardFieldIds':_0x4ecb67,'lanes':['',..._0x33d421[_0x235ce5(0x27f)]]['flatMap'](_0x1fb2c2=>{const _0x44493a=_0x235ce5;let _0x74cbe3=_0x280c91['get'](_0x1fb2c2);return _0x74cbe3!=null&&_0x74cbe3[_0x44493a(0x207)][_0x44493a(0x211)]?[_0x74cbe3]:[];})};}return this['_getKanbanConfiguredLanes'](_0xe790ce,_0x573c26)[_0x235ce5(0x11c)](_0xa2972=>_0x16ac7e[_0x235ce5(0x289)](_0xa2972['key'],{..._0xa2972,'recordIds':[]})),_0x1762bf['forEach'](_0x105c3a=>{const _0x8322c7=_0x235ce5;this[_0x8322c7(0x186)](_0xe790ce,_0x105c3a['values'][_0xe790ce['id']])[_0x8322c7(0x11c)](_0x2f9a73=>{const _0x5603c2=_0x8322c7;let _0x308e83=_0x16ac7e['get'](_0x2f9a73)??{'key':_0x2f9a73,'title':this[_0x5603c2(0x3fe)](_0xe790ce,_0x2f9a73,_0x573c26),'color':this[_0x5603c2(0x46e)](_0xe790ce,_0x2f9a73,_0x573c26),'recordIds':[]};_0x308e83[_0x5603c2(0x207)]['push'](_0x105c3a[_0x5603c2(0x34b)]),_0x16ac7e[_0x5603c2(0x289)](_0x2f9a73,_0x308e83);});}),{'type':_0x5708b3[_0x235ce5(0x33b)][_0x235ce5(0x243)],'fields':_0xede349,'rows':_0x1762bf,'groups':this[_0x235ce5(0x2b7)](_0x4f9dd5,_0xd9a721,_0x1762bf),'groupFieldId':_0xe790ce['id'],'titleFieldId':_0x4aa5e5,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x4f9dd5,_0x573c26),'cardLayout':_0x573c26[_0x235ce5(0x41b)]===_0x235ce5(0x30d)?'compose':'normal','showFieldNames':_0x573c26['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x4ecb67,'lanes':Array[_0x235ce5(0x2d6)](_0x16ac7e['values']())};}[_0x5a0300(0x2f7)](_0x39a49c,_0x29e411){const _0x29d058=_0x5a0300;var _0x2a7526;let _0x164c27=(_0x2a7526=_0x29e411[_0x29d058(0x21c)])==null?void 0x0:_0x2a7526[_0x29d058(0x1a3)];return _0x164c27&&this[_0x29d058(0x173)](_0x39a49c,_0x164c27)?_0x164c27:this[_0x29d058(0x3ac)](_0x39a49c,_0x597c8c=>this[_0x29d058(0x4ff)](_0x597c8c));}['_findKanbanGroupField'](_0x2421fc,_0x1d156c){const _0x364ebe=_0x5a0300;for(let _0x5b7a01 of _0x2421fc['fieldOrder']){let _0x4f399f=_0x2421fc[_0x364ebe(0x527)][_0x5b7a01];if(_0x4f399f&&_0x1d156c(_0x4f399f))return _0x4f399f['id'];}return null;}[_0x5a0300(0x173)](_0xbd21ae,_0x3cfa10){const _0x3d7397=_0x5a0300;let _0x49c982=_0xbd21ae[_0x3d7397(0x527)][_0x3cfa10];return this['_isAllowedKanbanGroupField'](_0x49c982)||_0x40aa86(_0xbd21ae,_0x3cfa10);}[_0x5a0300(0x4ff)](_0x449458){const _0x1944ec=_0x5a0300;return!!_0x449458&&(_0x449458[_0x1944ec(0x131)]===_0x5708b3[_0x1944ec(0x2f3)][_0x1944ec(0x147)]||_0x449458['type']===_0x5708b3[_0x1944ec(0x2f3)][_0x1944ec(0x35d)]||_0x449458[_0x1944ec(0x131)]===_0x5708b3[_0x1944ec(0x2f3)][_0x1944ec(0x3b5)]||_0x449458[_0x1944ec(0x131)]===_0x5708b3[_0x1944ec(0x2f3)][_0x1944ec(0xc8)]||_0x449458['type']===_0x5708b3[_0x1944ec(0x2f3)][_0x1944ec(0x4ae)]||_0x449458[_0x1944ec(0x131)]===_0x5708b3['BaseFieldType'][_0x1944ec(0x31c)]);}[_0x5a0300(0xe3)](_0x8407ec){const _0x5e55e3=_0x5a0300;return _0x8407ec[_0x5e55e3(0x131)]===_0x5708b3[_0x5e55e3(0x2f3)][_0x5e55e3(0x147)]||_0x8407ec[_0x5e55e3(0x131)]===_0x5708b3['BaseFieldType'][_0x5e55e3(0x35d)];}['_resolveKanbanCoverFieldId'](_0x1216e9,_0x48f567){const _0x4ffbff=_0x5a0300;var _0x174c1f;let _0x43729c=_0x48f567[_0x4ffbff(0x119)]??((_0x174c1f=_0x48f567['card'])==null?void 0x0:_0x174c1f[_0x4ffbff(0x119)])??null;if(!_0x43729c)return null;let _0xeb9b4b=_0x1216e9[_0x4ffbff(0x527)][_0x43729c];return _0xeb9b4b&&this[_0x4ffbff(0x42e)](_0xeb9b4b)[_0x4ffbff(0x23d)]?_0xeb9b4b['id']:null;}[_0x5a0300(0x20d)](_0x271d5f,_0x51d18c,_0x5b585e,_0x2cc95d=this[_0x5a0300(0x143)](_0x271d5f,((()=>{const _0x5d2779=_0x5a0300;var _0x3640fc;return(_0x3640fc=_0x51d18c['config'])==null||(_0x3640fc=_0x3640fc[_0x5d2779(0x41c)])==null?void 0x0:_0x3640fc['titleFieldId'];})()))){const _0x2c46e3=_0x5a0300;var _0x31f4aa;let _0x53db7d=_0x51d18c[_0x2c46e3(0x21c)]??{},_0x5b03ee=(_0x31f4aa=_0x53db7d[_0x2c46e3(0x41c)])!=null&&(_0x31f4aa=_0x31f4aa[_0x2c46e3(0x1a9)])!=null&&_0x31f4aa[_0x2c46e3(0x211)]?_0x53db7d['card'][_0x2c46e3(0x1a9)]:_0x329d22(_0x271d5f,[_0x2cc95d,_0x271d5f[_0x2c46e3(0xf2)],_0x5b585e]),_0xa0c96d=_0x53db7d[_0x2c46e3(0x25a)]??{};return _0x5b03ee[_0x2c46e3(0x22b)](_0x545586=>{const _0x2129c8=_0x2c46e3;var _0x2f6699,_0x186dee;let _0x26c5a9=_0x271d5f['fields'][_0x545586];return!(!_0x26c5a9||_0x26c5a9[_0x2129c8(0x326)]===!0x0||_0x26c5a9[_0x2129c8(0x131)]===_0x5708b3[_0x2129c8(0x2f3)][_0x2129c8(0x452)]||_0x26c5a9['id']===_0x5b585e||_0x26c5a9['id']===_0x2cc95d||(_0x2f6699=_0x51d18c[_0x2129c8(0x25a)])!=null&&(_0x2f6699=_0x2f6699[_0x545586])!=null&&_0x2f6699[_0x2129c8(0x164)]||(_0x186dee=_0xa0c96d[_0x545586])!=null&&_0x186dee[_0x2129c8(0x164)]);})['sort']((_0x45b491,_0x33ca72)=>{const _0x11a8be=_0x2c46e3;var _0x34a30b,_0x5ae8ea;return(((_0x34a30b=_0xa0c96d[_0x45b491])==null?void 0x0:_0x34a30b[_0x11a8be(0x1a4)])??_0x5b03ee[_0x11a8be(0x4ed)](_0x45b491))-(((_0x5ae8ea=_0xa0c96d[_0x33ca72])==null?void 0x0:_0x5ae8ea[_0x11a8be(0x1a4)])??_0x5b03ee[_0x11a8be(0x4ed)](_0x33ca72));});}[_0x5a0300(0x43f)](_0x566ebf,_0x5d83e6){const _0x2c36b6=_0x5a0300;var _0x477dfc;let _0x50bcaa=(Array[_0x2c36b6(0x46f)]((_0x477dfc=_0x566ebf[_0x2c36b6(0x21c)])==null?void 0x0:_0x477dfc[_0x2c36b6(0x162)])?_0x566ebf[_0x2c36b6(0x21c)][_0x2c36b6(0x162)]:[])['flatMap']((_0x315ac0,_0x50f2ee)=>{const _0x4018b5=_0x2c36b6;if(_0x315ac0==null)return[];let _0xbb90ae=typeof _0x315ac0==_0x4018b5(0x220)?{'id':_0x315ac0,'name':_0x315ac0,'color':void 0x0}:_0x315ac0,_0x3dadca=String(_0xbb90ae['id']??_0xbb90ae[_0x4018b5(0x3b4)]??_0x4018b5(0x389)+(_0x50f2ee+0x1));return[{'key':_0x3dadca,'title':String(_0xbb90ae[_0x4018b5(0x3b4)]??_0xbb90ae['id']??_0x3dadca),'color':this['_kanbanLaneColor'](_0x566ebf,_0x3dadca,_0x5d83e6)}];});return Object[_0x2c36b6(0x15b)](_0x5d83e6[_0x2c36b6(0x32a)]??{})[_0x2c36b6(0x11c)](([_0x21e751,_0x4710e0])=>{const _0x631547=_0x2c36b6;_0x50bcaa[_0x631547(0x2e9)](_0x287470=>_0x287470['key']===_0x21e751)||_0x50bcaa[_0x631547(0x4a3)]({'key':_0x21e751,'title':this[_0x631547(0xe3)](_0x566ebf)?_0x4710e0[_0x631547(0x11a)]??this[_0x631547(0x3fe)](_0x566ebf,_0x21e751,_0x5d83e6):this[_0x631547(0x3fe)](_0x566ebf,_0x21e751,_0x5d83e6),'color':this[_0x631547(0x46e)](_0x566ebf,_0x21e751,_0x5d83e6)});}),_0x50bcaa;}[_0x5a0300(0x186)](_0x18cd6d,_0x4b35bc){const _0x5bc92b=_0x5a0300;let _0xfd1b68=_0x36cb57=>{var _0x24eb2e;let _0x20f78b=_0x36cb57==null?'':String(_0x36cb57);return!_0x20f78b||!this['_isColorfulKanbanGroupField'](_0x18cd6d)?_0x20f78b:((_0x24eb2e=_0xf3200(_0x18cd6d,_0x20f78b))==null?void 0x0:_0x24eb2e['id'])??_0x20f78b;};if(Array[_0x5bc92b(0x46f)](_0x4b35bc)){let _0x538e90=_0x4b35bc[_0x5bc92b(0x447)](_0xfd1b68)[_0x5bc92b(0x22b)](_0x295b26=>_0x295b26!=='');return _0x538e90[_0x5bc92b(0x211)]?_0x538e90:[''];}return[_0xfd1b68(_0x4b35bc)];}[_0x5a0300(0x3fe)](_0x23d66b,_0x44a3a4,_0x29d79b){const _0x4be157=_0x5a0300;if(!_0x44a3a4)return _0x4be157(0x45d);let _0x30668b=_0xf3200(_0x23d66b,_0x44a3a4);return(_0x30668b==null?void 0x0:_0x30668b['name'])??_0x44a3a4;}[_0x5a0300(0x46e)](_0x9acfe1,_0x203a74,_0x2ed305){const _0x4c4032=_0x5a0300;var _0x1d8382;if(this[_0x4c4032(0xe3)](_0x9acfe1))return(_0x1d8382=_0xf3200(_0x9acfe1,_0x203a74))==null?void 0x0:_0x1d8382['color'];}[_0x5a0300(0x3e6)](_0x30f182,_0x40a450){const _0x3525aa=_0x5a0300;let _0x259e61=this[_0x3525aa(0x1a2)](_0x30f182,_0x40a450[_0x3525aa(0x21c)]??{}),_0x1ad199=_0x30f182[_0x3525aa(0x527)][_0x259e61[_0x3525aa(0x398)]];if(!_0x1ad199||_0x1ad199[_0x3525aa(0x131)]!==_0x5708b3['BaseFieldType'][_0x3525aa(0x30b)]||_0x1ad199['readonly']===!0x0||_0x1ad199[_0x3525aa(0x326)]===!0x0||!this[_0x3525aa(0x42e)](_0x1ad199)[_0x3525aa(0x44f)])return{'type':_0x3525aa(0x103),'viewType':_0x5708b3[_0x3525aa(0x33b)][_0x3525aa(0x341)],'reason':_0x3525aa(0x199),'fieldId':_0x259e61['startDateFieldId']};let _0x45a99e=_0x259e61[_0x3525aa(0x145)]?_0x30f182[_0x3525aa(0x527)][_0x259e61['endDateFieldId']]:void 0x0,_0x4ba192=this[_0x3525aa(0x45a)](_0x30f182,_0x40a450);return{'type':_0x5708b3[_0x3525aa(0x33b)][_0x3525aa(0x341)],'config':_0x259e61,'fields':this[_0x3525aa(0x4a7)](_0x30f182,_0x40a450),'rows':_0x4ba192,'groups':this[_0x3525aa(0x2b7)](_0x30f182,_0x40a450,_0x4ba192),'events':_0x4ba192[_0x3525aa(0x375)](_0x3d3566=>{const _0x484620=_0x3525aa;let _0x5c1b42=_0x5b7290(_0x3d3566[_0x484620(0x253)][_0x259e61['startDateFieldId']]);if(!Number[_0x484620(0x368)](_0x5c1b42))return[];let _0x52a57e=_0x3d3566[_0x484620(0x253)][_0x259e61[_0x484620(0x398)]],_0x9b30f1=_0x259e61[_0x484620(0x145)]==null?void 0x0:_0x3d3566[_0x484620(0x253)][_0x259e61[_0x484620(0x145)]],_0x283943=_0x259e61[_0x484620(0x145)]==null?void 0x0:_0x5b7290(_0x9b30f1),_0x70667b=Number[_0x484620(0x368)](_0x283943)?_0x283943:void 0x0;return[{'recordId':_0x3d3566[_0x484620(0x34b)],'title':this['_title'](_0x30f182,_0x3d3566,_0x259e61[_0x484620(0x2d1)]),'start':_0x5c1b42,'end':_0x70667b,'color':this[_0x484620(0x3fd)](_0x30f182,_0x3d3566,_0x259e61),'startMs':_0x5c1b42,'endMs':_0x70667b,'allDay':this['_isAllDayCalendarEvent'](_0x1ad199,_0x45a99e,_0x52a57e,_0x9b30f1),'fieldValues':_0x3d3566[_0x484620(0x253)]}];})};}[_0x5a0300(0x1a2)](_0x5311aa,_0x1320f9){const _0x3f5814=_0x5a0300;let _0x12f037=this[_0x3f5814(0x39e)](_0x5311aa,_0x1320f9[_0x3f5814(0x398)]),_0x2f051b=_0x1320f9[_0x3f5814(0x145)]&&this['_isCalendarDateField'](_0x5311aa,_0x1320f9[_0x3f5814(0x145)])?_0x1320f9[_0x3f5814(0x145)]:this[_0x3f5814(0x2fb)](_0x5311aa,_0x12f037)??void 0x0,_0x4fa3de=_0x1320f9['titleFieldId']?_0x5311aa[_0x3f5814(0x527)][_0x1320f9['titleFieldId']]:void 0x0,_0x47d9f0=_0x4fa3de&&_0x4fa3de['system']!==!0x0&&_0x4fa3de[_0x3f5814(0x131)]!==_0x5708b3[_0x3f5814(0x2f3)][_0x3f5814(0x452)]?_0x1320f9[_0x3f5814(0x2d1)]:_0x5311aa[_0x3f5814(0xf2)],_0x3f3921=_0x1320f9['mode']==='day'||_0x1320f9['mode']==='week'?_0x1320f9[_0x3f5814(0x2de)]:_0x3f5814(0x396),_0x2019ce=_0x1320f9[_0x3f5814(0x43a)]===_0x3f5814(0x1b7)||_0x1320f9['timeslotSize']===_0x3f5814(0x520)?_0x1320f9[_0x3f5814(0x43a)]:_0x3f5814(0x42a),_0x23c225=typeof _0x1320f9[_0x3f5814(0x2ea)]=='string'&&_0x1320f9[_0x3f5814(0x2ea)][_0x3f5814(0x1bd)]()?_0x1320f9[_0x3f5814(0x2ea)]:_0x3f5814(0x28a),_0x192ef3=this[_0x3f5814(0x155)](_0x5311aa,_0x1320f9);return{..._0x1320f9,'startDateFieldId':_0x12f037,'endDateFieldId':_0x2f051b,'titleFieldId':_0x47d9f0,'mode':_0x3f3921,'timeslotSize':_0x2019ce,'timeZone':_0x23c225,'displayColor':_0x192ef3,'fieldSettings':Object[_0x3f5814(0x3f2)](Object[_0x3f5814(0x15b)](_0x1320f9['fieldSettings']??{})[_0x3f5814(0x22b)](([_0x5d5894])=>{const _0x1bc37d=_0x3f5814;let _0x30674f=_0x5311aa[_0x1bc37d(0x527)][_0x5d5894];return!!(_0x30674f&&_0x30674f[_0x1bc37d(0x326)]!==!0x0&&_0x30674f[_0x1bc37d(0x131)]!==_0x5708b3['BaseFieldType'][_0x1bc37d(0x452)]);}))};}[_0x5a0300(0x39e)](_0x321f58,_0x20ffc6){const _0x31c5b4=_0x5a0300;return _0x20ffc6&&this[_0x31c5b4(0xf1)](_0x321f58,_0x20ffc6)?_0x20ffc6:this[_0x31c5b4(0x2fb)](_0x321f58)??_0x20ffc6??'';}[_0x5a0300(0x2fb)](_0x2751da,_0x49b269){const _0x258080=_0x5a0300;for(let _0x9518a9 of _0x2751da[_0x258080(0x286)])if(_0x9518a9!==_0x49b269&&this[_0x258080(0xf1)](_0x2751da,_0x9518a9))return _0x9518a9;return null;}['_isCalendarDateField'](_0x332e64,_0x5ba4a4){const _0xc4ab8c=_0x5a0300;let _0x268a05=_0x332e64[_0xc4ab8c(0x527)][_0x5ba4a4];return!!_0x268a05&&_0x268a05['type']===_0x5708b3[_0xc4ab8c(0x2f3)][_0xc4ab8c(0x30b)]&&_0x268a05['readonly']!==!0x0&&_0x268a05[_0xc4ab8c(0x326)]!==!0x0&&this[_0xc4ab8c(0x42e)](_0x268a05)[_0xc4ab8c(0x44f)];}[_0x5a0300(0x155)](_0x13d4c5,_0x271b19){const _0x4f9754=_0x5a0300;let _0xe463b4=_0x271b19['displayColor'];if((_0xe463b4==null?void 0x0:_0xe463b4[_0x4f9754(0x131)])===_0x4f9754(0x3ce)){let _0x2af5af=_0x13d4c5['fields'][_0xe463b4[_0x4f9754(0x236)]];if(_0x2af5af&&_0x2af5af[_0x4f9754(0x131)]===_0x5708b3[_0x4f9754(0x2f3)][_0x4f9754(0x147)])return _0xe463b4;}if((_0xe463b4==null?void 0x0:_0xe463b4[_0x4f9754(0x131)])===_0x4f9754(0x385)&&typeof _0xe463b4[_0x4f9754(0x17d)]==_0x4f9754(0x220)&&_0xe463b4['color']['trim']())return{'type':'custom','color':_0xe463b4[_0x4f9754(0x17d)]};if(_0x271b19['colorFieldId']){let _0x33bdf9=_0x13d4c5[_0x4f9754(0x527)][_0x271b19[_0x4f9754(0x219)]];if(_0x33bdf9&&_0x33bdf9[_0x4f9754(0x131)]===_0x5708b3[_0x4f9754(0x2f3)][_0x4f9754(0x147)])return{'type':_0x4f9754(0x3ce),'fieldId':_0x271b19[_0x4f9754(0x219)]};}return{'type':_0x4f9754(0x385),'color':'#3b82f6'};}['_calendarEventColor'](_0x532d60,_0x829de3,_0xc37594){const _0x2dd501=_0x5a0300;let _0x141c37=_0xc37594[_0x2dd501(0x505)];if((_0x141c37==null?void 0x0:_0x141c37[_0x2dd501(0x131)])==='selectField'){var _0x27d56a;let _0x3777f2=_0x532d60[_0x2dd501(0x527)][_0x141c37[_0x2dd501(0x236)]];if(!_0x3777f2)return;let _0x144e1b=_0x829de3[_0x2dd501(0x253)][_0x141c37[_0x2dd501(0x236)]],_0x36b52d=Array['isArray'](_0x144e1b)?_0x144e1b[0x0]:_0x144e1b;return _0x36b52d==null||(_0x27d56a=_0xf3200(_0x3777f2,String(_0x36b52d)))==null?void 0x0:_0x27d56a[_0x2dd501(0x17d)];}if((_0x141c37==null?void 0x0:_0x141c37['type'])===_0x2dd501(0x385))return _0x141c37[_0x2dd501(0x17d)];}[_0x5a0300(0x335)](_0x41ddb5,_0x4aa8ca,_0x45b365,_0x4ca1be){const _0x5d3355=_0x5a0300;var _0x3f8980,_0x41b678;let _0x5441ca=((_0x3f8980=_0x41ddb5[_0x5d3355(0x21c)])==null?void 0x0:_0x3f8980[_0x5d3355(0x344)])===!0x0,_0x5d7705=(_0x4aa8ca==null||(_0x41b678=_0x4aa8ca['config'])==null?void 0x0:_0x41b678[_0x5d3355(0x344)])===!0x0;return!_0x5441ca&&!_0x5d7705;}[_0x5a0300(0x412)](_0x295dc4,_0x2c0e21){const _0xf77145=_0x5a0300;var _0x47afb9,_0x295b47;let _0x2b63b0=((_0x47afb9=_0x295dc4[_0xf77145(0x21c)])==null?void 0x0:_0x47afb9['includeTime'])===!0x0,_0x510a1d=((_0x295b47=_0x2c0e21[_0xf77145(0x21c)])==null?void 0x0:_0x295b47[_0xf77145(0x344)])===!0x0;return!_0x2b63b0&&!_0x510a1d;}['_buildGantt'](_0x18f33f,_0x45220c){const _0x4fa499=_0x5a0300;let _0x415537=this['_normalizeGanttConfig'](_0x18f33f,_0x45220c['config']),_0x2f5885=_0x18f33f[_0x4fa499(0x527)][_0x415537[_0x4fa499(0x398)]];if(!_0x2f5885||_0x2f5885[_0x4fa499(0x131)]!==_0x5708b3[_0x4fa499(0x2f3)][_0x4fa499(0x30b)]||_0x2f5885[_0x4fa499(0x356)]===!0x0||_0x2f5885[_0x4fa499(0x326)]===!0x0||!this[_0x4fa499(0x42e)](_0x2f5885)[_0x4fa499(0x379)])return{'type':_0x4fa499(0x103),'viewType':_0x5708b3[_0x4fa499(0x33b)][_0x4fa499(0x2f6)],'reason':_0x4fa499(0x3ca),'fieldId':_0x415537[_0x4fa499(0x398)]};let _0x393825=_0x18f33f[_0x4fa499(0x527)][_0x415537['endDateFieldId']];if(!_0x393825||_0x393825['type']!==_0x5708b3[_0x4fa499(0x2f3)][_0x4fa499(0x30b)]||_0x393825[_0x4fa499(0x356)]===!0x0||_0x393825[_0x4fa499(0x326)]===!0x0||!this[_0x4fa499(0x42e)](_0x393825)[_0x4fa499(0x263)])return{'type':'invalid','viewType':_0x5708b3[_0x4fa499(0x33b)][_0x4fa499(0x2f6)],'reason':_0x4fa499(0x33e),'fieldId':_0x415537[_0x4fa499(0x145)]};let _0x1a9ed2=this['_isAllDayGanttDateRange'](_0x2f5885,_0x393825),_0xd5937d=this['_projectRows'](_0x18f33f,_0x45220c),_0x3b4c97=_0xd5937d[_0x4fa499(0x375)](_0x5f26c2=>{const _0x57c2de=_0x4fa499;let _0x27810f=_0x5b7290(_0x5f26c2[_0x57c2de(0x253)][_0x415537[_0x57c2de(0x398)]]),_0x6facae=_0x5b7290(_0x5f26c2[_0x57c2de(0x253)][_0x415537[_0x57c2de(0x145)]]);if(!Number['isFinite'](_0x27810f)||!Number[_0x57c2de(0x368)](_0x6facae))return[];let _0x479fd9=Math[_0x57c2de(0x35a)](_0x27810f,_0x6facae),_0x1089a5=Math[_0x57c2de(0x2a0)](_0x27810f,_0x6facae),_0x26c225=_0x415537[_0x57c2de(0x262)]==null?void 0x0:Number(_0x5f26c2['values'][_0x415537['progressFieldId']]);return[{'recordId':_0x5f26c2[_0x57c2de(0x34b)],'title':this[_0x57c2de(0x3f1)](_0x18f33f,_0x5f26c2,_0x415537['titleFieldId']),'start':_0x479fd9,'end':_0x1089a5,'color':this['_ganttBarColor'](_0x18f33f,_0x5f26c2,_0x415537),'progress':Number[_0x57c2de(0x368)](_0x26c225)?_0x26c225:void 0x0,'workingDayCount':_0x415537[_0x57c2de(0x188)]?_0xbf609e(_0x479fd9,_0x1089a5,_0x415537[_0x57c2de(0x432)]):void 0x0,'dependencyRecordIds':this[_0x57c2de(0x273)](_0x5f26c2[_0x57c2de(0x253)][_0x415537[_0x57c2de(0x234)]??''])}];}),_0x43f355=_0x3b4c97[_0x4fa499(0x211)]?_0x8ab2d8(Math['min'](..._0x3b4c97['map'](_0x2db4d0=>_0x2db4d0[_0x4fa499(0x3bd)]))-0x5a*_0x3cc60f):_0x8ab2d8(Date[_0x4fa499(0x169)]()-0x5a*_0x3cc60f),_0x3b3aa5=_0x3b4c97['length']?_0x8ab2d8(Math['max'](..._0x3b4c97[_0x4fa499(0x447)](_0x42a348=>_0x42a348[_0x4fa499(0x2cf)]))+0x5b*_0x3cc60f):_0x8ab2d8(Date[_0x4fa499(0x169)]()+0x5b*_0x3cc60f),_0xa36a9b=_0xf3cc9e(_0x415537[_0x4fa499(0x4c6)],_0x43f355,_0x3b3aa5,_0x415537[_0x4fa499(0x188)]?_0x415537[_0x4fa499(0x432)]:void 0x0);return{'type':_0x5708b3[_0x4fa499(0x33b)][_0x4fa499(0x2f6)],'fields':this[_0x4fa499(0x4a7)](_0x18f33f,{..._0x45220c,'config':_0x415537}),'rows':_0xd5937d,'groups':this[_0x4fa499(0x2b7)](_0x18f33f,_0x45220c,_0xd5937d),'config':_0x415537,'dateRangeAllDay':_0x1a9ed2,'timeline':{'scale':_0x415537[_0x4fa499(0x4c6)],'start':_0x43f355,'end':_0x3b3aa5,'unitWidth':_0xa36a9b['unitWidth'],'majorHeaders':_0xa36a9b[_0x4fa499(0x3e9)],'columns':_0xa36a9b[_0x4fa499(0x4b1)]},'bars':_0x3b4c97};}[_0x5a0300(0x165)](_0x398569,_0x30c630){const _0xc4e5e1=_0x5a0300;let _0x233d6b=this[_0xc4e5e1(0x2e6)](_0x398569,_0x30c630[_0xc4e5e1(0x398)],_0xc4e5e1(0x3bd)),_0x10f2ef=this[_0xc4e5e1(0x2e6)](_0x398569,_0x30c630[_0xc4e5e1(0x145)],_0xc4e5e1(0x2cf))||_0x233d6b,_0x2c50a1=_0x30c630[_0xc4e5e1(0x2d1)]?_0x398569[_0xc4e5e1(0x527)][_0x30c630[_0xc4e5e1(0x2d1)]]:void 0x0,_0x2833ee=_0x2c50a1&&_0x2c50a1[_0xc4e5e1(0x326)]!==!0x0&&_0x2c50a1[_0xc4e5e1(0x131)]!==_0x5708b3[_0xc4e5e1(0x2f3)][_0xc4e5e1(0x452)]?_0x30c630['titleFieldId']:_0x398569[_0xc4e5e1(0xf2)],_0x1ad210=_0x30c630[_0xc4e5e1(0x4c6)]==='week'||_0x30c630['scale']===_0xc4e5e1(0x469)||_0x30c630['scale']===_0xc4e5e1(0x427)?_0x30c630[_0xc4e5e1(0x4c6)]:'month',_0x5a50de=_0x4b9858(_0x30c630[_0xc4e5e1(0x432)]);return{..._0x30c630,'startDateFieldId':_0x233d6b,'endDateFieldId':_0x10f2ef,'titleFieldId':_0x2833ee,'scale':_0x1ad210,'leftPaneWidth':typeof _0x30c630[_0xc4e5e1(0x21d)]==_0xc4e5e1(0x337)?_0x30c630['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x30c630['leftPaneCollapsed']===!0x0,'showTodayLine':_0x30c630[_0xc4e5e1(0x417)]!==!0x1,'displayColor':this[_0xc4e5e1(0x38d)](_0x398569,_0x30c630),'fieldSettings':Object[_0xc4e5e1(0x3f2)](Object[_0xc4e5e1(0x15b)](_0x30c630[_0xc4e5e1(0x25a)]??{})[_0xc4e5e1(0x22b)](([_0x5e006e])=>{const _0x4967f4=_0xc4e5e1;let _0x29d691=_0x398569[_0x4967f4(0x527)][_0x5e006e];return!!(_0x29d691&&_0x29d691[_0x4967f4(0x326)]!==!0x0&&_0x29d691['type']!==_0x5708b3[_0x4967f4(0x2f3)][_0x4967f4(0x452)]);})),'workingDaysOnly':_0x30c630[_0xc4e5e1(0x188)]===!0x0,'workingDays':_0x5a50de};}[_0x5a0300(0x2e6)](_0x2f3284,_0x5c8ad9,_0x42069d){const _0x30e565=_0x5a0300;if(_0x5c8ad9&&this[_0x30e565(0x23c)](_0x2f3284,_0x5c8ad9,_0x42069d)||_0x5c8ad9)return _0x5c8ad9;for(let _0x33cf9d of _0x2f3284['fieldOrder'])if(this[_0x30e565(0x23c)](_0x2f3284,_0x33cf9d,_0x42069d))return _0x33cf9d;return _0x5c8ad9??'';}[_0x5a0300(0x23c)](_0x59bbc7,_0x4b89f7,_0x3c1b19){const _0x3867e4=_0x5a0300;let _0xec0fe7=_0x59bbc7[_0x3867e4(0x527)][_0x4b89f7];if(!_0xec0fe7||_0xec0fe7[_0x3867e4(0x131)]!==_0x5708b3[_0x3867e4(0x2f3)]['Date']||_0xec0fe7[_0x3867e4(0x356)]===!0x0||_0xec0fe7[_0x3867e4(0x326)]===!0x0)return!0x1;let _0x5dbd3f=this[_0x3867e4(0x42e)](_0xec0fe7);return _0x3c1b19==='start'?_0x5dbd3f[_0x3867e4(0x379)]:_0x5dbd3f[_0x3867e4(0x263)];}[_0x5a0300(0x38d)](_0x1c6329,_0x3bb80f){const _0x3bcf38=_0x5a0300;let _0x1ab950=_0x3bb80f[_0x3bcf38(0x505)];if((_0x1ab950==null?void 0x0:_0x1ab950[_0x3bcf38(0x131)])===_0x3bcf38(0x3ce)){let _0x50bc4b=_0x1c6329[_0x3bcf38(0x527)][_0x1ab950[_0x3bcf38(0x236)]];if(_0x50bc4b&&_0x50bc4b['type']===_0x5708b3['BaseFieldType'][_0x3bcf38(0x147)])return _0x1ab950;}return(_0x1ab950==null?void 0x0:_0x1ab950[_0x3bcf38(0x131)])===_0x3bcf38(0x480)&&Array['isArray'](_0x1ab950['rules'])?{'type':_0x3bcf38(0x480),'rules':_0x1ab950[_0x3bcf38(0x2e4)][_0x3bcf38(0x22b)](_0x1d3af8=>!!_0x1c6329[_0x3bcf38(0x527)][_0x1d3af8[_0x3bcf38(0x236)]])}:(_0x1ab950==null?void 0x0:_0x1ab950['type'])===_0x3bcf38(0x385)&&typeof _0x1ab950[_0x3bcf38(0x17d)]==_0x3bcf38(0x220)&&_0x1ab950['color'][_0x3bcf38(0x1bd)]()?{'type':_0x3bcf38(0x385),'color':_0x1ab950[_0x3bcf38(0x17d)]}:{'type':_0x3bcf38(0x385),'color':_0x3bcf38(0x324)};}[_0x5a0300(0x12e)](_0x1baf56,_0xb0e0,_0x5455a0){const _0x1730a9=_0x5a0300;let _0x26c360=_0x5455a0[_0x1730a9(0x505)];if((_0x26c360==null?void 0x0:_0x26c360['type'])===_0x1730a9(0x480)){let _0x3e5d3f=_0x26c360[_0x1730a9(0x2e4)][_0x1730a9(0x1ab)](_0x40237a=>this['_matchesGanttColorRule'](_0x1baf56,_0xb0e0,_0x40237a));if(_0x3e5d3f)return _0x3e5d3f[_0x1730a9(0x17d)];}if((_0x26c360==null?void 0x0:_0x26c360['type'])==='selectField'){let _0x425282=_0x1baf56[_0x1730a9(0x527)][_0x26c360[_0x1730a9(0x236)]];if(_0x425282){var _0x411129;let _0x2351af=_0xb0e0['values'][_0x26c360[_0x1730a9(0x236)]],_0x2b2c38=Array[_0x1730a9(0x46f)](_0x2351af)?_0x2351af[0x0]:_0x2351af,_0x126663=_0x2b2c38==null||(_0x411129=_0xf3200(_0x425282,String(_0x2b2c38)))==null?void 0x0:_0x411129[_0x1730a9(0x17d)];if(_0x126663)return _0x126663;}}return(_0x26c360==null?void 0x0:_0x26c360[_0x1730a9(0x131)])==='custom'?_0x26c360[_0x1730a9(0x17d)]:_0x1730a9(0x324);}[_0x5a0300(0x4d3)](_0x50a1b9,_0x41f797,_0x292878){const _0x1b43f5=_0x5a0300;let _0x4062c2=_0x50a1b9[_0x1b43f5(0x527)][_0x292878[_0x1b43f5(0x236)]];return _0x4062c2?_0x47bbe5(_0x41f797[_0x1b43f5(0x253)][_0x4062c2['id']],_0x292878[_0x1b43f5(0xe4)],_0x292878[_0x1b43f5(0x110)],_0x4062c2,{'dateMode':_0x292878[_0x1b43f5(0x48b)]}):!0x1;}[_0x5a0300(0xeb)](_0x397325,_0x3ab058){const _0x1f0293=_0x5a0300;let _0x948a5e=this[_0x1f0293(0x45a)](_0x397325,_0x3ab058),_0x4fd789=this[_0x1f0293(0x1f8)](_0x397325,_0x3ab058[_0x1f0293(0x21c)]??{}),_0x940b15=this[_0x1f0293(0x4a7)](_0x397325,_0x3ab058);return{'type':_0x5708b3['BaseViewType']['Gallery'],'fields':_0x940b15,'rows':_0x948a5e,'groups':this[_0x1f0293(0x2b7)](_0x397325,_0x3ab058,_0x948a5e),'titleFieldId':_0x4fd789[_0x1f0293(0x41c)]['titleFieldId'],'coverFieldId':_0x4fd789[_0x1f0293(0x119)],'cardLayout':_0x4fd789[_0x1f0293(0x41b)]??_0x1f0293(0x3b0),'showFieldNames':_0x4fd789[_0x1f0293(0x25c)]!==!0x1,'visibleCardFieldIds':this[_0x1f0293(0x350)](_0x397325,_0x3ab058,_0x4fd789),'cardSize':_0x4fd789[_0x1f0293(0x23f)]??_0x1f0293(0x42a),'cards':_0x948a5e['map'](_0x355cc9=>({'recordId':_0x355cc9['recordId'],'title':this[_0x1f0293(0x3f1)](_0x397325,_0x355cc9,_0x4fd789[_0x1f0293(0x41c)][_0x1f0293(0x2d1)]),'values':_0x355cc9['values']}))};}[_0x5a0300(0x1f8)](_0x399e44,_0x49b6cc){const _0x3d02d0=_0x5a0300;let _0x4e5544=_0x49b6cc['card']??{'fieldIds':[]},_0x589396=this[_0x3d02d0(0x143)](_0x399e44,_0x4e5544[_0x3d02d0(0x2d1)]),_0x31ebb2=this[_0x3d02d0(0x167)](_0x399e44,_0x49b6cc),_0x36e847=_0x49b6cc['cardSize']==='small'||_0x49b6cc[_0x3d02d0(0x23f)]===_0x3d02d0(0x227)?_0x49b6cc[_0x3d02d0(0x23f)]:_0x3d02d0(0x42a);return{..._0x49b6cc,'coverFieldId':_0x31ebb2,'cardLayout':_0x49b6cc['cardLayout']===_0x3d02d0(0x30d)?_0x3d02d0(0x30d):_0x3d02d0(0x3b0),'showFieldNames':_0x49b6cc['showFieldNames']!==!0x1,'fieldSettings':Object[_0x3d02d0(0x3f2)](Object['entries'](_0x49b6cc['fieldSettings']??{})[_0x3d02d0(0x22b)](([_0x5ea647])=>{const _0x4f5180=_0x3d02d0;let _0x1f209b=_0x399e44['fields'][_0x5ea647];return!!(_0x1f209b&&_0x1f209b[_0x4f5180(0x326)]!==!0x0&&_0x1f209b['type']!==_0x5708b3[_0x4f5180(0x2f3)][_0x4f5180(0x452)]);})),'card':{..._0x4e5544,'titleFieldId':_0x589396,'coverFieldId':_0x31ebb2,'fieldIds':Array[_0x3d02d0(0x46f)](_0x4e5544[_0x3d02d0(0x1a9)])?_0x4e5544[_0x3d02d0(0x1a9)]:[]},'cardSize':_0x36e847};}[_0x5a0300(0x143)](_0x2fa2df,_0x5e5e76){const _0x472a43=_0x5a0300;let _0x4ec345=_0x5e5e76?_0x2fa2df[_0x472a43(0x527)][_0x5e5e76]:void 0x0;return _0x4ec345&&_0x4ec345['system']!==!0x0&&_0x4ec345['type']!==_0x5708b3['BaseFieldType'][_0x472a43(0x452)]?_0x4ec345['id']:_0x1b5136(_0x2fa2df);}['_resolveGalleryCoverFieldId'](_0x49308c,_0xcf4463){const _0x49f3ff=_0x5a0300;var _0x56a27c;let _0x3425c2=_0xcf4463['coverFieldId']??((_0x56a27c=_0xcf4463[_0x49f3ff(0x41c)])==null?void 0x0:_0x56a27c[_0x49f3ff(0x119)])??null;if(!_0x3425c2)return null;let _0x11152f=_0x49308c[_0x49f3ff(0x527)][_0x3425c2];return _0x11152f&&this[_0x49f3ff(0x42e)](_0x11152f)[_0x49f3ff(0x23d)]?_0x11152f['id']:null;}[_0x5a0300(0x350)](_0x20b5a7,_0x1c13f5,_0x124668){const _0x17c028=_0x5a0300;var _0x5f0d48,_0x2458e4,_0xbd7554;let _0x32c14d=_0x124668[_0x17c028(0x25a)]??{},_0x147653=((_0x5f0d48=_0x124668[_0x17c028(0x41c)])==null?void 0x0:_0x5f0d48[_0x17c028(0x2d1)])??_0x1b5136(_0x20b5a7),_0x241bad=_0x124668[_0x17c028(0x119)]??((_0x2458e4=_0x124668['card'])==null?void 0x0:_0x2458e4['coverFieldId'])??null,_0x221aec=(_0xbd7554=_0x124668[_0x17c028(0x41c)])!=null&&(_0xbd7554=_0xbd7554[_0x17c028(0x1a9)])!=null&&_0xbd7554[_0x17c028(0x211)]?_0x124668[_0x17c028(0x41c)]['fieldIds']:_0x329d22(_0x20b5a7,[_0x147653,_0x241bad,_0x20b5a7['primaryFieldId']]);return _0x221aec[_0x17c028(0x22b)](_0x512020=>{const _0x3dea0b=_0x17c028;var _0x201008,_0x43cac7;let _0x3fba2c=_0x20b5a7[_0x3dea0b(0x527)][_0x512020];return!(!_0x3fba2c||_0x3fba2c[_0x3dea0b(0x326)]===!0x0||_0x3fba2c[_0x3dea0b(0x131)]===_0x5708b3[_0x3dea0b(0x2f3)][_0x3dea0b(0x452)]||_0x3fba2c['id']===_0x147653||_0x3fba2c['id']===_0x241bad||(_0x201008=_0x1c13f5['fieldSettings'])!=null&&(_0x201008=_0x201008[_0x512020])!=null&&_0x201008[_0x3dea0b(0x164)]||(_0x43cac7=_0x32c14d[_0x512020])!=null&&_0x43cac7[_0x3dea0b(0x164)]);})[_0x17c028(0x3c8)]((_0xeb369b,_0x335c79)=>{const _0x36f570=_0x17c028;var _0x2a3704,_0x4344ad;return(((_0x2a3704=_0x32c14d[_0xeb369b])==null?void 0x0:_0x2a3704[_0x36f570(0x1a4)])??_0x221aec[_0x36f570(0x4ed)](_0xeb369b))-(((_0x4344ad=_0x32c14d[_0x335c79])==null?void 0x0:_0x4344ad['order'])??_0x221aec[_0x36f570(0x4ed)](_0x335c79));});}[_0x5a0300(0x4a7)](_0x42b2d5,_0x2d4391){const _0x265f22=_0x5a0300;var _0x54272b;return((_0x54272b=_0x2d4391['fieldOrder'])!=null&&_0x54272b[_0x265f22(0x211)]?_0x2d4391[_0x265f22(0x286)]:_0x42b2d5[_0x265f22(0x286)])['flatMap'](_0x262689=>{const _0x5ce054=_0x265f22;var _0x436fcf;let _0x48da17=_0x42b2d5[_0x5ce054(0x527)][_0x262689],_0x3be640=((_0x436fcf=_0x2d4391['fieldSettings'])==null?void 0x0:_0x436fcf[_0x262689])??{};return!_0x48da17||_0x48da17[_0x5ce054(0x326)]===!0x0||_0x48da17['type']===_0x5708b3[_0x5ce054(0x2f3)][_0x5ce054(0x452)]||_0x3be640[_0x5ce054(0x164)]?[]:[{'id':_0x48da17['id'],'name':_0x48da17[_0x5ce054(0x3b4)],'description':_0x48da17[_0x5ce054(0x2bc)],'type':_0x48da17['type'],'config':_0x48da17[_0x5ce054(0x21c)],'width':_0x3be640[_0x5ce054(0x4ce)],'setting':_0x3be640}];});}[_0x5a0300(0x45a)](_0x5818a6,_0x194610){const _0x34eeee=_0x5a0300;var _0x168357;return _0x4f055a('BaseProjection.projectRows',()=>{const _0x45175f=_0x513b;var _0x22422d,_0x3b0c6d;let _0x55a9f6=this['_projectTableRows'](_0x5818a6),_0x5395e4=this[_0x45175f(0x20f)](_0x5818a6['id'],_0x194610),_0x593977=this['_getCellRevision'](_0x5818a6['id']),_0x54ac77=this[_0x45175f(0x11f)][_0x45175f(0x387)](_0x5395e4);if(_0x54ac77&&_0x54ac77[_0x45175f(0x4ca)]===this[_0x45175f(0x45b)]&&_0x54ac77['tableRevision']===this[_0x45175f(0xf0)](_0x5818a6['id'])){if(_0x54ac77[_0x45175f(0x4ea)]===_0x593977&&_0x54ac77[_0x45175f(0x49e)]===_0x55a9f6)return _0x54ac77[_0x45175f(0x1d5)];if(_0x54ac77['cellRevision']!==_0x593977&&!this[_0x45175f(0x116)](_0x5818a6['id'],_0x54ac77[_0x45175f(0x4ea)],_0x593977,this['_filterSortFieldIds'](_0x194610))){let _0x5cd212=_0x54ac77[_0x45175f(0x1d5)]===_0x54ac77['baseRows']?_0x55a9f6:this[_0x45175f(0xed)](_0x54ac77[_0x45175f(0x1d5)],_0x55a9f6);if(_0x5cd212)return this['_projectedViewRowsCache'][_0x45175f(0x289)](_0x5395e4,{..._0x54ac77,'rows':_0x5cd212,'baseRows':_0x55a9f6,'cellRevision':_0x593977}),_0x5cd212;}}let _0x32d464=_0x4f055a(_0x45175f(0x151),()=>this[_0x45175f(0x1c4)](_0x5818a6,_0x194610,this[_0x45175f(0x196)](_0x5818a6,_0x194610,_0x55a9f6)),{'tableId':_0x5818a6['id'],'viewId':_0x194610==null?void 0x0:_0x194610['id'],'viewType':_0x194610==null?void 0x0:_0x194610[_0x45175f(0x131)],'rows':_0x55a9f6['length'],'filters':(_0x194610==null||(_0x22422d=_0x194610[_0x45175f(0x22b)])==null?void 0x0:_0x22422d[_0x45175f(0x495)][_0x45175f(0x211)])??0x0,'sorts':(_0x194610==null||(_0x3b0c6d=_0x194610[_0x45175f(0x3c8)])==null?void 0x0:_0x3b0c6d['length'])??0x0});return this[_0x45175f(0x11f)][_0x45175f(0x289)](_0x5395e4,{'table':_0x5818a6,'rows':_0x32d464,'baseRows':_0x55a9f6,'globalRevision':this[_0x45175f(0x45b)],'tableRevision':this[_0x45175f(0xf0)](_0x5818a6['id']),'cellRevision':_0x593977}),_0x32d464;},{'tableId':_0x5818a6['id'],'viewId':_0x194610==null?void 0x0:_0x194610['id'],'viewType':_0x194610==null?void 0x0:_0x194610[_0x34eeee(0x131)],'records':((_0x168357=_0x5818a6[_0x34eeee(0x317)])==null?void 0x0:_0x168357['length'])??Object[_0x34eeee(0x4dd)](_0x5818a6[_0x34eeee(0x457)]??{})['length']});}['_projectTableRows'](_0x2d2227){const _0x521704=_0x5a0300;var _0x190087;return _0x4f055a(_0x521704(0x304),()=>{const _0x374805=_0x521704;var _0x18d95a;let _0x5d1e26=this[_0x374805(0x46a)](_0x2d2227['id']),_0x4e4f2e=this[_0x374805(0x330)][_0x374805(0x387)](_0x2d2227['id']);if(_0x4e4f2e&&_0x4e4f2e[_0x374805(0x4ca)]===this[_0x374805(0x45b)]&&_0x4e4f2e[_0x374805(0x2ac)]===this[_0x374805(0xf0)](_0x2d2227['id'])){if(_0x4e4f2e[_0x374805(0x4ea)]===_0x5d1e26&&_0x1793be(_0x4e4f2e['table'],_0x2d2227))return _0x4e4f2e[_0x374805(0x294)]=_0x2d2227,_0x4e4f2e[_0x374805(0x1d5)];let _0x51d583=this[_0x374805(0x1d6)](_0x2d2227,_0x4e4f2e,_0x5d1e26);if(_0x51d583)return _0x51d583;}_0x3a954a(_0x2d2227)||_0x2a5ea4(_0x2d2227);let _0x34f302=(_0x18d95a=_0x2d2227[_0x374805(0x317)])!=null&&_0x18d95a[_0x374805(0x211)]?_0x2d2227[_0x374805(0x317)]:_0x115a59(_0x2d2227[_0x374805(0x457)]),_0x56742b=_0x4f055a(_0x374805(0x483),()=>{const _0x11e677=_0x374805;let _0x276980=[];for(let _0x33f2d4 of _0x34f302){let _0x4def4c=_0x2d2227[_0x11e677(0x457)][_0x33f2d4];if(!_0x4def4c)continue;let _0x2f9589={};for(let _0x1e57a8 of _0x2d2227['fieldOrder'])_0x2f9589[_0x1e57a8]=_0x59e45e(_0x2d2227,_0x4def4c['id'],_0x1e57a8);_0x276980[_0x11e677(0x4a3)]({'recordId':_0x4def4c['id'],'values':_0x2f9589});}return _0x276980;},{'tableId':_0x2d2227['id'],'records':_0x34f302[_0x374805(0x211)],'fields':_0x2d2227[_0x374805(0x286)][_0x374805(0x211)]});return this[_0x374805(0x330)][_0x374805(0x289)](_0x2d2227['id'],{'table':_0x2d2227,'rows':_0x56742b,'rowIndexById':_0x52fe75(_0x56742b),'globalRevision':this[_0x374805(0x45b)],'tableRevision':this[_0x374805(0xf0)](_0x2d2227['id']),'cellRevision':_0x5d1e26}),_0x56742b;},{'tableId':_0x2d2227['id'],'records':((_0x190087=_0x2d2227['recordOrder'])==null?void 0x0:_0x190087[_0x521704(0x211)])??Object[_0x521704(0x4dd)](_0x2d2227[_0x521704(0x457)]??{})[_0x521704(0x211)],'fields':_0x2d2227[_0x521704(0x286)][_0x521704(0x211)]});}[_0x5a0300(0x1d6)](_0x549767,_0x1ac3a3,_0x188e71){const _0x42af9b=_0x5a0300;let _0x23e7bb=(this['_cellInvalidations'][_0x42af9b(0x387)](_0x549767['id'])??[])[_0x42af9b(0x22b)](_0x4eb88c=>_0x4eb88c[_0x42af9b(0x3f4)]>_0x1ac3a3[_0x42af9b(0x4ea)]&&_0x4eb88c['revision']<=_0x188e71);if(!_0x23e7bb[_0x42af9b(0x211)])return _0x1ac3a3[_0x42af9b(0x294)]===_0x549767?_0x1ac3a3[_0x42af9b(0x1d5)]:null;let _0x166cac=_0x1ac3a3['rows'],_0x4c0d4f=new Map();for(let _0x1273de of _0x23e7bb){let _0x364c35=_0x4c0d4f['get'](_0x1273de[_0x42af9b(0x34b)]);_0x364c35||(_0x364c35=new Set(),_0x4c0d4f[_0x42af9b(0x289)](_0x1273de[_0x42af9b(0x34b)],_0x364c35)),_0x364c35[_0x42af9b(0x152)](_0x1273de['fieldId']);}for(let [_0x2b7d47,_0x4772f1]of _0x4c0d4f){if(!_0x549767[_0x42af9b(0x457)][_0x2b7d47])return null;let _0x475ac1=_0x1ac3a3[_0x42af9b(0x274)][_0x42af9b(0x387)](_0x2b7d47);if(_0x475ac1==null)return null;_0x166cac===_0x1ac3a3[_0x42af9b(0x1d5)]&&(_0x166cac=[..._0x1ac3a3[_0x42af9b(0x1d5)]]);let _0x2b64f4=_0x166cac[_0x475ac1],_0x5d58ff={..._0x2b64f4[_0x42af9b(0x253)]};_0x4772f1[_0x42af9b(0x11c)](_0x28c329=>{_0x5d58ff[_0x28c329]=_0x59e45e(_0x549767,_0x2b7d47,_0x28c329);}),_0x166cac[_0x475ac1]={..._0x2b64f4,'values':_0x5d58ff};}let _0x2bd1c0={'table':_0x549767,'rows':_0x166cac,'rowIndexById':_0x1ac3a3[_0x42af9b(0x274)],'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x549767['id']),'cellRevision':_0x188e71};return this['_projectedRowsCache'][_0x42af9b(0x289)](_0x549767['id'],_0x2bd1c0),this[_0x42af9b(0x257)][_0x42af9b(0x289)](_0x549767['id'],(this[_0x42af9b(0x257)][_0x42af9b(0x387)](_0x549767['id'])??[])['filter'](_0x1e622d=>_0x1e622d[_0x42af9b(0x3f4)]>Math['max'](0x0,_0x188e71-0x100))),_0x166cac;}[_0x5a0300(0xed)](_0x41d6e2,_0x4af530){const _0x1b1812=_0x5a0300;let _0x4148ba=new Map(_0x4af530[_0x1b1812(0x447)](_0x442cc8=>[_0x442cc8[_0x1b1812(0x34b)],_0x442cc8])),_0x5ae1ac=!0x1,_0xb36710=_0x41d6e2[_0x1b1812(0x447)](_0x8d1508=>{const _0x9a74a7=_0x1b1812;let _0x1a9acc=_0x4148ba['get'](_0x8d1508[_0x9a74a7(0x34b)]);return _0x1a9acc?_0x1a9acc===_0x8d1508?_0x8d1508:(_0x5ae1ac=!0x0,_0x1a9acc):_0x8d1508;});return _0x5ae1ac?_0xb36710:_0x41d6e2;}['_cellInvalidationsTouchFields'](_0x525a27,_0x5cab48,_0x944d01,_0x5c97ec){const _0x3037ec=_0x5a0300;return!_0x5c97ec[_0x3037ec(0x3a7)]||_0x5cab48===_0x944d01?!0x1:_0x944d01-_0x5cab48>0x100||(this['_cellInvalidations'][_0x3037ec(0x387)](_0x525a27)??[])[_0x3037ec(0x2e9)](_0x5b8263=>_0x5b8263[_0x3037ec(0x3f4)]>_0x5cab48&&_0x5b8263[_0x3037ec(0x3f4)]<=_0x944d01&&_0x5c97ec['has'](_0x5b8263['fieldId']));}[_0x5a0300(0x314)](_0x264342){const _0xd982a5=_0x5a0300;var _0x2a3917,_0x3a31c2;let _0x2ec8b3=new Set();return _0x264342==null||(_0x2a3917=_0x264342[_0xd982a5(0x22b)])==null||_0x2a3917[_0xd982a5(0x495)][_0xd982a5(0x11c)](_0x3d79c2=>_0x2ec8b3[_0xd982a5(0x152)](_0x3d79c2[_0xd982a5(0x236)])),_0x264342==null||(_0x3a31c2=_0x264342[_0xd982a5(0x3c8)])==null||_0x3a31c2[_0xd982a5(0x11c)](_0x308419=>_0x2ec8b3[_0xd982a5(0x152)](_0x308419[_0xd982a5(0x236)])),_0x2ec8b3;}[_0x5a0300(0x2ef)](_0x595ea8){const _0x20d9f1=_0x5a0300;var _0xfe6dbb;let _0x5ede6b=this[_0x20d9f1(0x314)](_0x595ea8);return(_0xfe6dbb=_0x595ea8[_0x20d9f1(0x266)])==null||_0xfe6dbb[_0x20d9f1(0x11c)](_0x35277d=>_0x5ede6b['add'](_0x35277d['fieldId'])),_0x5ede6b;}['_filterRows'](_0x4d37de,_0x39f295,_0x28dcad){const _0x4344c7=_0x5a0300;let _0x45d2ce=_0x39f295==null?void 0x0:_0x39f295[_0x4344c7(0x22b)];if(!(_0x45d2ce!=null&&_0x45d2ce[_0x4344c7(0x495)]['length']))return _0x28dcad;let _0x1cf327=_0x45d2ce[_0x4344c7(0x495)]['filter'](_0x2ac103=>!_0x3c9f33(_0x2ac103));return _0x1cf327[_0x4344c7(0x211)]?_0x28dcad['filter'](_0x268f34=>{const _0x3b055c=_0x4344c7;if(_0x45d2ce[_0x3b055c(0x259)]===_0x5708b3[_0x3b055c(0x142)]['OR']){for(let _0x441c75 of _0x1cf327){let _0x5234d9=_0x4d37de[_0x3b055c(0x527)][_0x441c75['fieldId']];if(!_0x5234d9||this['_fieldRegistry']['get'](_0x5234d9[_0x3b055c(0x131)])[_0x3b055c(0x22b)](_0x268f34[_0x3b055c(0x253)][_0x5234d9['id']],_0x441c75[_0x3b055c(0xe4)],_0x441c75[_0x3b055c(0x110)],_0x5234d9))return!0x0;}return!0x1;}for(let _0x4b9953 of _0x1cf327){let _0x29a676=_0x4d37de[_0x3b055c(0x527)][_0x4b9953[_0x3b055c(0x236)]];if(_0x29a676&&!this[_0x3b055c(0x3a2)][_0x3b055c(0x387)](_0x29a676[_0x3b055c(0x131)])['filter'](_0x268f34[_0x3b055c(0x253)][_0x29a676['id']],_0x4b9953[_0x3b055c(0xe4)],_0x4b9953['operand'],_0x29a676))return!0x1;}return!0x0;}):_0x28dcad;}[_0x5a0300(0x1c4)](_0x1317ee,_0x124a7c,_0x2c6e3f){const _0x133f1f=_0x5a0300;let _0x271883=(_0x124a7c==null?void 0x0:_0x124a7c[_0x133f1f(0x3c8)])??[];if(!_0x271883[_0x133f1f(0x211)])return _0x2c6e3f;let _0x391dce=_0x271883['flatMap'](_0x5d7963=>{const _0x1042c5=_0x133f1f;let _0x45c9a1=_0x1317ee['fields'][_0x5d7963[_0x1042c5(0x236)]];return _0x45c9a1?[{..._0x5d7963,'field':_0x45c9a1}]:[];});return _0x391dce[_0x133f1f(0x211)]?this[_0x133f1f(0x1d4)](_0x391dce)?this['_fastSortRows'](_0x391dce,_0x2c6e3f):[..._0x2c6e3f]['sort']((_0x177b43,_0xb10214)=>{const _0xee9034=_0x133f1f;for(let _0x594a8b of _0x391dce){let _0x2c6286=_0x594a8b['field'],_0x75e69c=this[_0xee9034(0x3a2)]['get'](_0x2c6286['type'])['compare'](_0x177b43[_0xee9034(0x253)][_0x2c6286['id']],_0xb10214['values'][_0x2c6286['id']],_0x2c6286);if(_0x75e69c!==0x0)return _0x594a8b[_0xee9034(0x14a)]===_0x5708b3[_0xee9034(0x3d0)][_0xee9034(0x369)]?-_0x75e69c:_0x75e69c;}return 0x0;}):_0x2c6e3f;}[_0x5a0300(0x1d4)](_0xe6e1d5){const _0x1de414=_0x5a0300;return _0xe6e1d5[_0x1de414(0x135)](_0x484730=>_0xabc776[_0x1de414(0x4d4)](_0x484730['field'][_0x1de414(0x131)]));}[_0x5a0300(0x288)](_0x43c7bc,_0x2e2ff5){const _0x27f550=_0x5a0300;return _0x2e2ff5['map']((_0x7b627e,_0x48aa42)=>({'row':_0x7b627e,'index':_0x48aa42,'keys':_0x43c7bc[_0x27f550(0x447)](_0x6dc6ad=>_0x7b627e['values'][_0x6dc6ad[_0x27f550(0x236)]])}))[_0x27f550(0x3c8)]((_0x5522e4,_0x2c17f5)=>{const _0x457baa=_0x27f550;for(let _0x41684a=0x0;_0x41684a<_0x43c7bc[_0x457baa(0x211)];_0x41684a++){let _0x169291=_0x4d6669(_0x5522e4[_0x457baa(0x4dd)][_0x41684a],_0x2c17f5['keys'][_0x41684a]);if(_0x169291!==0x0)return _0x43c7bc[_0x41684a]['direction']===_0x5708b3[_0x457baa(0x3d0)][_0x457baa(0x369)]?-_0x169291:_0x169291;}return _0x5522e4[_0x457baa(0x3a1)]-_0x2c17f5['index'];})[_0x27f550(0x447)](_0x39c809=>_0x39c809[_0x27f550(0x3e1)]);}[_0x5a0300(0x2b7)](_0x28c095,_0x282728,_0x2183dd){const _0x1eef03=_0x5a0300;var _0x11bc3d;return _0x4f055a(_0x1eef03(0x2ed),()=>{const _0x13ed02=_0x1eef03;var _0x190d32;if(!((_0x190d32=_0x282728[_0x13ed02(0x266)])!=null&&_0x190d32['length']))return[];let _0x3029c0=_0x282728[_0x13ed02(0x266)]['filter'](_0x166665=>_0x28c095['fields'][_0x166665[_0x13ed02(0x236)]]);if(!_0x3029c0[_0x13ed02(0x211)])return[];let _0x41d747=this[_0x13ed02(0x113)](_0x28c095['id'],_0x282728,_0x3029c0),_0x4adac4=this[_0x13ed02(0x46a)](_0x28c095['id']),_0x983a83=this[_0x13ed02(0x41d)]['get'](_0x41d747);if(_0x983a83&&_0x983a83['globalRevision']===this['_globalRevision']&&_0x983a83[_0x13ed02(0x2ac)]===this[_0x13ed02(0xf0)](_0x28c095['id'])){if(_0x983a83[_0x13ed02(0x4ea)]===_0x4adac4&&_0x983a83[_0x13ed02(0x1d5)]===_0x2183dd)return _0x983a83['groups'];if(_0x983a83[_0x13ed02(0x4ea)]!==_0x4adac4&&!this[_0x13ed02(0x116)](_0x28c095['id'],_0x983a83['cellRevision'],_0x4adac4,this[_0x13ed02(0x2ef)](_0x282728)))return this['_projectedGroupsCache']['set'](_0x41d747,{..._0x983a83,'rows':_0x2183dd,'cellRevision':_0x4adac4}),_0x983a83[_0x13ed02(0x488)];}let _0x2fc89f=new Map();for(let _0x51d117 of _0x2183dd){let _0x488d91=_0x2fc89f,_0x5533b7='';for(let _0x4d06fb=0x0;_0x4d06fb<_0x3029c0[_0x13ed02(0x211)];_0x4d06fb++){let _0x3a5ab0=_0x3029c0[_0x4d06fb],_0x24a5db=_0x51d117[_0x13ed02(0x253)][_0x3a5ab0[_0x13ed02(0x236)]],_0x3be81f=_0x5aa1ba(_0x24a5db),_0x6f4bfd=_0x3a5ab0[_0x13ed02(0x236)]+'\x00'+_0x3be81f,_0x5f4102=_0x5533b7+'/'+_0x3a5ab0[_0x13ed02(0x236)]+':'+_0x3be81f,_0x52dbf0=_0x488d91['get'](_0x6f4bfd);_0x52dbf0||(_0x52dbf0={'key':_0x3be81f,'value':_0x24a5db,'path':_0x5f4102,'label':_0x3be81f||_0x13ed02(0x4d6),'fieldId':_0x3a5ab0[_0x13ed02(0x236)],'level':_0x4d06fb,'recordIds':[],'children':new Map()},_0x488d91[_0x13ed02(0x289)](_0x6f4bfd,_0x52dbf0)),_0x52dbf0[_0x13ed02(0x207)]['push'](_0x51d117[_0x13ed02(0x34b)]),_0x488d91=_0x52dbf0[_0x13ed02(0x365)],_0x5533b7=_0x5f4102;}}let _0x46d950=this[_0x13ed02(0x339)](_0x3029c0,_0x2fc89f,0x0);return this['_projectedGroupsCache'][_0x13ed02(0x289)](_0x41d747,{'table':_0x28c095,'rows':_0x2183dd,'groups':_0x46d950,'globalRevision':this[_0x13ed02(0x45b)],'tableRevision':this[_0x13ed02(0xf0)](_0x28c095['id']),'cellRevision':_0x4adac4}),_0x46d950;},{'tableId':_0x28c095['id'],'viewId':_0x282728['id'],'viewType':_0x282728[_0x1eef03(0x131)],'rows':_0x2183dd[_0x1eef03(0x211)],'groupFields':((_0x11bc3d=_0x282728[_0x1eef03(0x266)])==null?void 0x0:_0x11bc3d[_0x1eef03(0x211)])??0x0});}['_materializeGroups'](_0x3ff3c9,_0x56bac4,_0x51a85d){const _0x105067=_0x5a0300;var _0x2b0479;let _0x23dd34=Array[_0x105067(0x2d6)](_0x56bac4[_0x105067(0x253)]()),_0x3a4c04=(_0x2b0479=_0x3ff3c9[_0x51a85d])==null?void 0x0:_0x2b0479['direction'];return _0x3a4c04&&_0x23dd34[_0x105067(0x3c8)]((_0x26e847,_0x57fe97)=>{const _0x54bbfd=_0x105067;let _0x3d43dd=_0x26e847['key']['localeCompare'](_0x57fe97[_0x54bbfd(0x421)]);return _0x3a4c04===_0x5708b3[_0x54bbfd(0x3d0)][_0x54bbfd(0x369)]?-_0x3d43dd:_0x3d43dd;}),_0x23dd34[_0x105067(0x447)](_0x1d3c89=>({'key':_0x1d3c89[_0x105067(0x421)],'value':_0x1d3c89[_0x105067(0x12c)],'path':_0x1d3c89[_0x105067(0x1b4)],'label':_0x1d3c89[_0x105067(0x329)],'fieldId':_0x1d3c89[_0x105067(0x236)],'level':_0x1d3c89[_0x105067(0x235)],'recordIds':_0x1d3c89[_0x105067(0x207)],'children':this[_0x105067(0x339)](_0x3ff3c9,_0x1d3c89['children'],_0x51a85d+0x1)}));}[_0x5a0300(0x3f1)](_0x7848b3,_0x5b03eb,_0x5cfb68){const _0x558138=_0x5a0300;let _0x1dc096=_0x5cfb68??_0x7848b3[_0x558138(0xf2)],_0x303214=_0x5b03eb[_0x558138(0x253)][_0x1dc096];return _0x303214==null?'':String(_0x303214);}[_0x5a0300(0x273)](_0x474b69){const _0x1df698=_0x5a0300;if(Array[_0x1df698(0x46f)](_0x474b69))return _0x474b69['map'](String);if(typeof _0x474b69==_0x1df698(0x220)&&_0x474b69)return[_0x474b69];}[_0x5a0300(0x42e)](_0xb79675){const _0x1d96c9=_0x5a0300;return this[_0x1d96c9(0x3a2)][_0x1d96c9(0x387)](_0xb79675[_0x1d96c9(0x131)])[_0x1d96c9(0x15d)](_0xb79675);}};_0x4e4812=_0x4b373a([_0x3ce02e(0x0,(0x0,_0x5708b3[_0x5a0300(0x37f)])(_0x5b21e9))],_0x4e4812);function _0x5aa1ba(_0x50e769){return _0x50e769==null?'':String(_0x50e769);}function _0x52fe75(_0x2ce9be){const _0x360706=_0x5a0300;return new Map(_0x2ce9be[_0x360706(0x447)]((_0x67a55,_0x261059)=>[_0x67a55['recordId'],_0x261059]));}function _0x3a954a(_0x2ae384){const _0x123997=_0x5a0300;return!!(Array['isArray'](_0x2ae384['recordOrder'])&&_0x2ae384[_0x123997(0x1eb)]&&_0x2ae384[_0x123997(0x2ee)]&&_0x2ae384[_0x123997(0x336)]&&_0x2ae384['colId']&&_0x2ae384[_0x123997(0x497)]);}function _0x2a1720(_0x49a48f){const _0x5b9c1b=_0x5a0300;let _0x305303=(_0x49a48f==null?void 0x0:_0x49a48f['conditions'][_0x5b9c1b(0x22b)](_0x249aa6=>!_0x3c9f33(_0x249aa6)))??[];return!_0x49a48f||!_0x305303[_0x5b9c1b(0x211)]?null:{'conjunction':_0x49a48f['conjunction'],'conditions':_0x305303['map'](_0x3496be=>({'fieldId':_0x3496be[_0x5b9c1b(0x236)],'operator':_0x3496be['operator'],'operand':_0x3496be[_0x5b9c1b(0x110)]}))};}function _0x1793be(_0x1a08f7,_0x5d51ed){const _0x526c30=_0x5a0300;return _0x1a08f7[_0x526c30(0x457)]===_0x5d51ed[_0x526c30(0x457)]&&_0x1a08f7[_0x526c30(0x317)]===_0x5d51ed[_0x526c30(0x317)]&&_0x1a08f7[_0x526c30(0x527)]===_0x5d51ed[_0x526c30(0x527)]&&_0x1a08f7[_0x526c30(0x286)]===_0x5d51ed['fieldOrder']&&_0x1a08f7[_0x526c30(0x497)]===_0x5d51ed[_0x526c30(0x497)]&&_0x1a08f7[_0x526c30(0x1eb)]===_0x5d51ed[_0x526c30(0x1eb)]&&_0x1a08f7[_0x526c30(0x2ee)]===_0x5d51ed[_0x526c30(0x2ee)]&&_0x1a08f7[_0x526c30(0x336)]===_0x5d51ed['colIndex']&&_0x1a08f7[_0x526c30(0x315)]===_0x5d51ed[_0x526c30(0x315)];}function _0x366c5d(_0x384c35){const _0x1dd7ab=_0x5a0300;return _0x384c35!=null&&_0x384c35[_0x1dd7ab(0x211)]?_0x384c35[_0x1dd7ab(0x447)](_0x1f35a5=>({'fieldId':_0x1f35a5['fieldId'],'direction':_0x1f35a5[_0x1dd7ab(0x14a)]})):null;}function _0x3407fa(_0x40cabf){const _0x2585ae=_0x5a0300;if(typeof _0x40cabf!='object'||!_0x40cabf)return JSON[_0x2585ae(0x494)](_0x40cabf)??_0x2585ae(0x3a5);if(Array[_0x2585ae(0x46f)](_0x40cabf))return'['+_0x40cabf[_0x2585ae(0x447)](_0x3407fa)['join'](',')+']';let _0x227ba9=_0x40cabf;return'{'+Object['keys'](_0x227ba9)[_0x2585ae(0x3c8)]()[_0x2585ae(0x447)](_0x353e94=>JSON[_0x2585ae(0x494)](_0x353e94)+':'+_0x3407fa(_0x227ba9[_0x353e94]))[_0x2585ae(0x212)](',')+'}';}function _0x115a59(_0x3cc8ee){const _0x40fdd3=_0x5a0300;let _0x20c2c4=Object[_0x40fdd3(0x253)](_0x3cc8ee)[_0x40fdd3(0x3c8)]((_0x3b40a8,_0x291a5c)=>_0x3b40a8['orderKey'][_0x40fdd3(0x323)](_0x291a5c['orderKey'])),_0x288dd7=[];for(let _0x43cecc of _0x20c2c4)_0x288dd7[_0x40fdd3(0x4a3)](_0x43cecc['id']);return _0x288dd7;}function _0x4b9858(_0x2a57ab){const _0x5ea9c2=_0x5a0300;return{'weekdays':Array[_0x5ea9c2(0x46f)](_0x2a57ab==null?void 0x0:_0x2a57ab[_0x5ea9c2(0x4c5)])&&_0x2a57ab[_0x5ea9c2(0x4c5)]['length']?[...new Set(_0x2a57ab['weekdays'][_0x5ea9c2(0x22b)](_0x1c8b8b=>Number[_0x5ea9c2(0x2a4)](_0x1c8b8b)&&_0x1c8b8b>=0x1&&_0x1c8b8b<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x5ea9c2(0x46f)](_0x2a57ab==null?void 0x0:_0x2a57ab['exceptions'])?_0x2a57ab[_0x5ea9c2(0x35c)][_0x5ea9c2(0x375)](_0x2c9190=>!_0x2c9190||!Number[_0x5ea9c2(0x368)](_0x2c9190[_0x5ea9c2(0x21f)])?[]:[{'id':String(_0x2c9190['id']||_0x5ea9c2(0x3e0)+_0x2c9190[_0x5ea9c2(0x21f)]),'date':_0x8ab2d8(Number(_0x2c9190[_0x5ea9c2(0x21f)])),'name':String(_0x2c9190[_0x5ea9c2(0x3b4)]||_0x5ea9c2(0x503)),'type':_0x2c9190[_0x5ea9c2(0x131)]===_0x5ea9c2(0x4cf)?_0x5ea9c2(0x4cf):_0x5ea9c2(0xde)}]):[]};}function _0xf3cc9e(_0x89799a,_0x45a642,_0x4d52ea,_0x2cceb0){let _0x169f59=_0x37f834(_0x89799a,_0x45a642),_0x395592=_0x1229ff(_0x89799a,_0x4d52ea),_0xadf1d3=_0x3b2e3e(_0x89799a,_0x169f59,_0x395592,_0x2cceb0);return{'scale':_0x89799a,'start':_0x169f59,'end':_0x395592,'unitWidth':_0x586ec9(_0x89799a),'majorHeaders':_0x359a43(_0x89799a,_0x169f59,_0x395592),'columns':_0xadf1d3};}function _0x3b2e3e(_0x16aadc,_0x4838fc,_0x189c32,_0x345e7c){const _0x3de554=_0x5a0300;let _0x20c4a6=[],_0x345d72=_0x4838fc;for(;_0x345d72<_0x189c32;){let _0x4eed5c=_0x16aadc===_0x3de554(0x469)?_0x5b9f39(_0x345d72,0x7):_0x16aadc===_0x3de554(0x427)?_0x199bd1(_0x345d72,0x1):_0x5b9f39(_0x345d72,0x1);_0x20c4a6[_0x3de554(0x4a3)]({'id':_0x16aadc+'-'+_0x345d72,'label':_0x552574(_0x16aadc,_0x345d72,_0x4eed5c),'majorLabel':_0x51c5d0(_0x16aadc,_0x345d72),'start':_0x345d72,'end':_0x4eed5c,'nonWorking':_0x15069d(_0x345d72,_0x4eed5c,_0x345e7c)}),_0x345d72=_0x4eed5c;}return _0x20c4a6;}function _0x359a43(_0x37a859,_0xb4a9c6,_0x3470d0){const _0x1d818e=_0x5a0300;let _0xdf6e3f=[],_0x154a01=_0x37a859==='year'?_0x1ec9c6(_0xb4a9c6):_0x3c6307(_0xb4a9c6);for(;_0x154a01<_0x3470d0;){let _0x1f63c8=_0x37a859==='year'?_0x236e16(_0x154a01,0x1):_0x199bd1(_0x154a01,0x1);_0xdf6e3f['push']({'id':_0x1d818e(0x3e7)+_0x154a01,'label':_0x37a859==='year'?String(new Date(_0x154a01)[_0x1d818e(0x30e)]()):_0x1fa15d(_0x154a01),'start':_0x154a01,'end':_0x1f63c8}),_0x154a01=_0x1f63c8;}return _0xdf6e3f;}function _0x586ec9(_0xa6b8d2){const _0x331f77=_0x5a0300;switch(_0xa6b8d2){case'week':return 0xac;case _0x331f77(0x469):return 0xac;case _0x331f77(0x427):return 0x88;default:return 0x56;}}function _0x37f834(_0x54acb3,_0x2b4e51){const _0x2877df=_0x5a0300;return _0x54acb3==='year'?_0x1ec9c6(_0x2b4e51):_0x54acb3===_0x2877df(0x469)?_0x2e0031(_0x2b4e51):_0x8ab2d8(_0x2b4e51);}function _0x1229ff(_0x43a977,_0xd89aaa){const _0x5a6e4a=_0x5a0300;return _0x43a977===_0x5a6e4a(0x427)?_0x236e16(_0x1ec9c6(_0xd89aaa),0x1):_0x43a977===_0x5a6e4a(0x469)?_0x5b9f39(_0x2e0031(_0xd89aaa),0x7):_0x5b9f39(_0x8ab2d8(_0xd89aaa),0x1);}function _0x552574(_0x22f615,_0x17d3f2,_0x53e3a4){const _0x16965d=_0x5a0300;let _0x288123=new Date(_0x17d3f2);return _0x22f615===_0x16965d(0x469)?_0x288123['getUTCDate']()+'-'+new Date(_0x53e3a4-_0x3cc60f)[_0x16965d(0x308)]():_0x22f615===_0x16965d(0x427)?_0x288123[_0x16965d(0x109)](_0x16965d(0x3af),{'month':'short','timeZone':_0x16965d(0x175)}):String(_0x288123[_0x16965d(0x308)]());}function _0x51c5d0(_0xd0cdba,_0x99d201){const _0x2a45c9=_0x5a0300;return _0xd0cdba==='year'?String(new Date(_0x99d201)[_0x2a45c9(0x30e)]()):_0x1fa15d(_0x99d201);}function _0xbf609e(_0x5632a7,_0x2eba3f,_0x59dfa9){let _0x55e5ee=_0x4b9858(_0x59dfa9),_0x4a2568=0x0;for(let _0xa3a505=_0x8ab2d8(_0x5632a7);_0xa3a505<=_0x8ab2d8(_0x2eba3f);_0xa3a505=_0x5b9f39(_0xa3a505,0x1))_0x480e19(_0xa3a505,_0x55e5ee)||_0x4a2568++;return _0x4a2568;}function _0x15069d(_0xf26a1d,_0x4e18f6,_0x1211c7){if(!_0x1211c7)return!0x1;let _0x191a5a=_0x4b9858(_0x1211c7);for(let _0x27feab=_0x8ab2d8(_0xf26a1d);_0x27feab<_0x4e18f6;_0x27feab=_0x5b9f39(_0x27feab,0x1))if(!_0x480e19(_0x27feab,_0x191a5a))return!0x1;return!0x0;}function _0x480e19(_0x1001ed,_0x6ecff7){const _0x3b908=_0x5a0300;let _0x32ad80=_0x8ab2d8(_0x1001ed),_0x206205=_0x6ecff7['exceptions']['find'](_0x1202a9=>_0x8ab2d8(_0x1202a9['date'])===_0x32ad80);if(_0x206205)return _0x206205['type']===_0x3b908(0xde);let _0x1e81f2=new Date(_0x32ad80)['getUTCDay'](),_0x471418=_0x1e81f2===0x0?0x7:_0x1e81f2;return!_0x6ecff7[_0x3b908(0x4c5)][_0x3b908(0x248)](_0x471418);}function _0x8ab2d8(_0x110c7d){const _0x1f7214=_0x5a0300;let _0x49b9a9=new Date(_0x110c7d);return Date['UTC'](_0x49b9a9[_0x1f7214(0x30e)](),_0x49b9a9[_0x1f7214(0x32f)](),_0x49b9a9[_0x1f7214(0x308)]());}function _0x2e0031(_0x512b0d){const _0x4d4b9a=_0x5a0300;let _0xccc5cd=_0x8ab2d8(_0x512b0d),_0x43313a=new Date(_0xccc5cd)[_0x4d4b9a(0x284)]();return _0x5b9f39(_0xccc5cd,-(_0x43313a===0x0?0x6:_0x43313a-0x1));}function _0x3c6307(_0x275a01){const _0x37da53=_0x5a0300;let _0x5b3d0e=new Date(_0x275a01);return Date[_0x37da53(0x175)](_0x5b3d0e[_0x37da53(0x30e)](),_0x5b3d0e[_0x37da53(0x32f)](),0x1);}function _0x1ec9c6(_0x17ba41){const _0x3b14ff=_0x5a0300;let _0x3dae6b=new Date(_0x17ba41);return Date[_0x3b14ff(0x175)](_0x3dae6b['getUTCFullYear'](),0x0,0x1);}function _0x5b9f39(_0x1c5564,_0x13383c){return _0x1c5564+_0x13383c*_0x3cc60f;}function _0x199bd1(_0x87524d,_0x1266bb){const _0x2ad713=_0x5a0300;let _0xf1533b=new Date(_0x87524d);return Date[_0x2ad713(0x175)](_0xf1533b[_0x2ad713(0x30e)](),_0xf1533b['getUTCMonth']()+_0x1266bb,0x1);}function _0x236e16(_0x173122,_0x15b125){const _0x56c85a=_0x5a0300;let _0x567799=new Date(_0x173122);return Date[_0x56c85a(0x175)](_0x567799[_0x56c85a(0x30e)]()+_0x15b125,0x0,0x1);}function _0x1fa15d(_0xc12627){const _0x56af95=_0x5a0300;let _0xea532a=new Date(_0xc12627);return _0xea532a[_0x56af95(0x109)](_0x56af95(0x3af),{'month':_0x56af95(0x1b7),'timeZone':'UTC'})+'\x20'+_0xea532a[_0x56af95(0x30e)]();}function _0x4d6669(_0x21d822,_0x15785d){const _0x3c775a=_0x5a0300;if(_0x21d822==null&&_0x15785d==null)return 0x0;if(_0x21d822==null)return-0x1;if(_0x15785d==null)return 0x1;if(typeof _0x21d822==_0x3c775a(0x303)||typeof _0x15785d==_0x3c775a(0x303))return Number(_0x21d822===!0x0)-Number(_0x15785d===!0x0);let _0x14fda6=Number(_0x21d822),_0x24ccaa=Number(_0x15785d),_0x595218=Number[_0x3c775a(0x368)](_0x14fda6),_0x8576f=Number['isFinite'](_0x24ccaa);return _0x595218&&_0x8576f?_0x14fda6-_0x24ccaa:_0x595218?0x1:_0x8576f?-0x1:String(_0x21d822)[_0x3c775a(0x323)](String(_0x15785d));}function _0x3c9f33(_0x6e9573){const _0x32f8d3=_0x5a0300;if(_0x6e9573[_0x32f8d3(0xe4)]!=='is'&&_0x6e9573[_0x32f8d3(0xe4)]!==_0x32f8d3(0x475))return!0x1;let _0x499c88=_0x6e9573['operand'];return _0x499c88==null?!0x0:typeof _0x499c88==_0x32f8d3(0x220)?_0x499c88[_0x32f8d3(0x1bd)]()==='':Array[_0x32f8d3(0x46f)](_0x499c88)?_0x499c88[_0x32f8d3(0x211)]===0x0:!0x1;}function _0xf3200(_0x541286,_0xf69c4a){const _0x155893=_0x5a0300;var _0x3300f6;let _0xa92193=Array[_0x155893(0x46f)]((_0x3300f6=_0x541286['config'])==null?void 0x0:_0x3300f6[_0x155893(0x162)])?_0x541286['config'][_0x155893(0x162)]:[];for(let _0x23bdf5 of _0xa92193){if(_0x23bdf5==null)continue;if(typeof _0x23bdf5==_0x155893(0x220)){if(_0x23bdf5===_0xf69c4a)return{'id':_0x23bdf5,'name':_0x23bdf5};continue;}let _0x16c26a=_0x23bdf5,_0x1ed813=String(_0x16c26a['id']??_0x16c26a['name']??''),_0x4d5e53=String(_0x16c26a[_0x155893(0x3b4)]??_0x16c26a['id']??_0x1ed813);if(_0x1ed813===_0xf69c4a||_0x4d5e53===_0xf69c4a)return{'id':_0x1ed813,'name':_0x4d5e53,'color':_0x16c26a[_0x155893(0x17d)]==null?void 0x0:String(_0x16c26a[_0x155893(0x17d)])};}return null;}let _0x474a0a=function(_0x19eed8){const _0x2b30d0=_0x5a0300;return _0x19eed8[_0x2b30d0(0x4e5)]='create-view',_0x19eed8['DeleteView']=_0x2b30d0(0x101),_0x19eed8;}({}),_0x44d218={'id':_0x5a0300(0x3ea),'type':_0x5708b3['CommandType'][_0x5a0300(0x1ec)],'handler'(_0x19f4f1,_0x14d26b){const _0x5a347c=_0x5a0300;let {unitId:_0x24a586,op:_0x270f4a}=_0x14d26b,_0x46ecf8=_0x19f4f1[_0x5a347c(0x387)](_0x5708b3['IUniverInstanceService'])['getUnit'](_0x24a586,_0x5708b3[_0x5a347c(0x2b4)][_0x5a347c(0x1f9)]);if(!_0x46ecf8)return!0x1;let _0x45031b=_0x46ecf8['getSnapshot'](),_0x18f815=new _0x39599e(),_0x35f581=_0x18f815['getAffectedRanges'](_0x270f4a),_0x343c8d=_0x18f815['applyOp'](_0x45031b,_0x270f4a);return _0x46ecf8[_0x5a347c(0x502)](_0x343c8d),_0x43add6(_0x343c8d,_0x35f581,_0x19f4f1[_0x5a347c(0x387)](_0x349863)),!0x0;}};function _0x43add6(_0x1f4866,_0x27f464,_0xbb192a){const _0x26384e=_0x5a0300;let _0x4bd917=new Set(),_0x12e8da=new Set(),_0x224704=new Set();for(let _0x38c36b of _0x27f464){if(_0x38c36b[_0x26384e(0x2a9)]===_0x26384e(0x433)&&_0x38c36b['tableId']&&_0x38c36b[_0x26384e(0xee)]){let _0x2c97e3=_0x38c36b[_0x26384e(0x40f)]+'\x00'+_0x38c36b[_0x26384e(0xee)];_0x224704['has'](_0x2c97e3)||(_0x224704['add'](_0x2c97e3),_0xbb192a[_0x26384e(0x3fc)](_0x38c36b[_0x26384e(0x40f)],_0x38c36b[_0x26384e(0xee)]));continue;}if(_0x38c36b[_0x26384e(0x2a9)]===_0x26384e(0x2d3)&&_0x38c36b[_0x26384e(0x40f)]&&_0x38c36b[_0x26384e(0x236)]){let _0x376776=_0x38c36b[_0x26384e(0x40f)]+'\x00'+_0x38c36b[_0x26384e(0x236)];_0x12e8da[_0x26384e(0x4d4)](_0x376776)||(_0x12e8da['add'](_0x376776),_0xbb192a['invalidateByField'](_0x38c36b[_0x26384e(0x40f)],_0x38c36b[_0x26384e(0x236)]));continue;}if(_0x38c36b['reason']!==_0x26384e(0x1f1)){_0xbb192a[_0x26384e(0x272)]();return;}let _0x20364c=_0x2243c5(_0x1f4866,_0x38c36b);if(!_0x20364c){_0xbb192a[_0x26384e(0x272)]();return;}let _0x1d1c6b=_0x20364c[_0x26384e(0x40f)]+'\x00'+_0x20364c[_0x26384e(0x34b)]+'\x00'+_0x20364c[_0x26384e(0x236)];_0x4bd917['has'](_0x1d1c6b)||(_0x4bd917[_0x26384e(0x152)](_0x1d1c6b),_0xbb192a[_0x26384e(0x237)](_0x20364c['tableId'],_0x20364c[_0x26384e(0x34b)],_0x20364c[_0x26384e(0x236)]));}}function _0x2243c5(_0x4ea490,_0x5d646d){const _0x7e518b=_0x5a0300;var _0x3592e7,_0x220a27;if(!_0x5d646d['tableId'])return null;if(_0x5d646d[_0x7e518b(0x34b)]&&_0x5d646d[_0x7e518b(0x236)])return{'tableId':_0x5d646d[_0x7e518b(0x40f)],'recordId':_0x5d646d[_0x7e518b(0x34b)],'fieldId':_0x5d646d[_0x7e518b(0x236)]};if(_0x5d646d[_0x7e518b(0x3e1)]==null||_0x5d646d[_0x7e518b(0x38a)]==null)return null;let _0x52337d=_0x4ea490[_0x7e518b(0x18e)][_0x5d646d[_0x7e518b(0x40f)]],_0x5caea7=_0x52337d==null||(_0x3592e7=_0x52337d[_0x7e518b(0x2ee)])==null?void 0x0:_0x3592e7[_0x5d646d[_0x7e518b(0x3e1)]],_0x1eaf3f=_0x52337d==null||(_0x220a27=_0x52337d[_0x7e518b(0x315)])==null?void 0x0:_0x220a27[_0x5d646d['column']];return!_0x5caea7||!_0x1eaf3f?null:{'tableId':_0x5d646d[_0x7e518b(0x40f)],'recordId':_0x5caea7,'fieldId':_0x1eaf3f};}let _0x3211f9=_0x5708b3[_0x5a0300(0x1ea)][_0x5a0300(0x2f1)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x319b65=_0x5708b3['regexp']['createRegExpFromSafeFragment'](String[_0x5a0300(0x525)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x1e2e8a=/\{([^}]+)\}/g,_0x151514=_0x5708b3['regexp'][_0x5a0300(0x2f1)](String[_0x5a0300(0x525)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x2b9af3=_0x5708b3['regexp'][_0x5a0300(0x2f1)](String[_0x5a0300(0x525)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x175009=_0x5708b3[_0x5a0300(0x1ea)][_0x5a0300(0x2f1)](String['raw']`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x300f16=_0x5708b3[_0x5a0300(0x1ea)]['createRegExpFromSafeFragment'](String[_0x5a0300(0x525)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x454bc0=_0x5708b3[_0x5a0300(0x1ea)][_0x5a0300(0x2f1)](String['raw']`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x24f7fa=_0x5708b3[_0x5a0300(0x1ea)][_0x5a0300(0x2f1)](String[_0x5a0300(0x525)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x37b380=class{[_0x5a0300(0x2b9)](_0x5c297b,_0x4e5956=_0x5c297b['id']){const _0x1676dc=_0x5a0300;var _0x5db8c7;let _0x1ca15c=((_0x5db8c7=_0x5c297b[_0x1676dc(0x317)])==null?void 0x0:_0x5db8c7[_0x1676dc(0x211)])??Object[_0x1676dc(0x253)](_0x5c297b[_0x1676dc(0x457)])[_0x1676dc(0x211)];return{'sheetId':_0x4e5956,'titleMap':new Map(_0x5c297b['fieldOrder'][_0x1676dc(0x447)]((_0x4bb2cf,_0x436c8f)=>{const _0x447a29=_0x1676dc;var _0x1e81b2;return[((_0x1e81b2=_0x5c297b[_0x447a29(0x527)][_0x4bb2cf])==null?void 0x0:_0x1e81b2[_0x447a29(0x3b4)])??_0x4bb2cf,_0x436c8f];})),'range':{'startRow':0x0,'endRow':Math[_0x1676dc(0x2a0)](0x0,_0x1ca15c-0x1),'startColumn':0x0,'endColumn':Math[_0x1676dc(0x2a0)](0x0,_0x5c297b[_0x1676dc(0x286)][_0x1676dc(0x211)]-0x1)},'showHeader':!0x1};}[_0x5a0300(0x2b6)](_0x32f376,_0x24a4f0){const _0xc2ee6a=_0x5a0300;let _0x17897d=[],_0x4675dc=_0x24a4f0?new Set(_0x24a4f0):null,_0x48851d=(0x0,_0x5708b3[_0xc2ee6a(0x290)])(_0x32f376);return Object[_0xc2ee6a(0x253)](_0x32f376[_0xc2ee6a(0x18e)])[_0xc2ee6a(0x22b)](_0x1b09d8=>!_0x4675dc||_0x4675dc[_0xc2ee6a(0x4d4)](_0x1b09d8['id']))[_0xc2ee6a(0x11c)](_0xa477b1=>{const _0x4a8220=_0xc2ee6a;let _0x70211e=this[_0x4a8220(0x2b9)](_0xa477b1,_0xa477b1['id']);_0x17897d[_0x4a8220(0x4a3)]({'tableId':_0xa477b1['id'],'tableName':_0x48851d[_0x4a8220(0x387)](_0xa477b1['id']),'reference':_0x70211e});}),_0x17897d;}[_0x5a0300(0x2cd)](_0x54d0a1,_0x5bbe47,_0x2e1fd1={}){const _0x4ac88c=_0x5a0300;let _0x10b0ca=_0x54d0a1[_0x4ac88c(0x1bd)]();if(!_0x10b0ca)return{'valid':!0x0};if(_0x2528d2(_0x10b0ca))return{'valid':!0x1,'reason':_0x4ac88c(0x3ff)};let _0x2911b9=_0x2e1fd1[_0x4ac88c(0x48c)]?(0x0,_0x5708b3[_0x4ac88c(0x290)])(_0x2e1fd1[_0x4ac88c(0x48c)]):void 0x0;for(let _0x12eb69 of _0x3d3cce(_0x10b0ca)){let _0x44cf21=_0x4bfc87(_0x12eb69,_0x5bbe47,_0x2e1fd1[_0x4ac88c(0x48c)],_0x2911b9);if(!_0x44cf21[_0x4ac88c(0x294)])return{'valid':!0x1,'reason':_0x4ac88c(0x120)+_0x12eb69[_0x4ac88c(0x4b2)]+_0x4ac88c(0x42c)};if(!_0x44cf21[_0x4ac88c(0x2d3)])return{'valid':!0x1,'reason':_0x4ac88c(0x258)+_0x12eb69[_0x4ac88c(0x17b)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x5a0300(0x413)](_0x314a5a,_0x1f44ac,_0x1c27c5={}){const _0x44c523=_0x5a0300;let _0x4a283e=new Set();for(let _0x148a84 of this[_0x44c523(0x1ac)](_0x314a5a,_0x1f44ac,_0x1c27c5))_0x148a84[_0x44c523(0x40f)]===_0x1f44ac['id']&&_0x4a283e[_0x44c523(0x152)](_0x148a84[_0x44c523(0x236)]);return Array['from'](_0x4a283e);}[_0x5a0300(0x1ac)](_0xed0779,_0x44db8d,_0x18b044={}){const _0x59644d=_0x5a0300;let _0x208585=new Map(),_0x18d601=_0x18b044['snapshot']?(0x0,_0x5708b3['createBaseFormulaTableNameMap'])(_0x18b044[_0x59644d(0x48c)]):void 0x0;for(let _0x5ee66d of _0x3d3cce(_0xed0779)){let _0x1da760=_0x4bfc87(_0x5ee66d,_0x44db8d,_0x18b044[_0x59644d(0x48c)],_0x18d601);if(!_0x1da760['table']||!_0x1da760[_0x59644d(0x2d3)])continue;let _0x4acfc8=_0x1da760['table']['id']+'\x1f'+_0x1da760[_0x59644d(0x2d3)]['id'];_0x208585[_0x59644d(0x289)](_0x4acfc8,{'tableId':_0x1da760[_0x59644d(0x294)]['id'],'fieldId':_0x1da760[_0x59644d(0x2d3)]['id']});}return Array[_0x59644d(0x2d6)](_0x208585[_0x59644d(0x253)]());}};function _0x220191(_0x5bc9c2,_0x4f5cc0){const _0xbc3cc7=_0x5a0300;var _0x54fe10;let _0x488e73=[],_0x46b82e=(_0x54fe10=_0x4f5cc0[_0xbc3cc7(0x34e)])==null?void 0x0:_0x54fe10[_0x5bc9c2['id']];return _0x46b82e&&Object[_0xbc3cc7(0x15b)](_0x46b82e)[_0xbc3cc7(0x11c)](([_0x18601f,_0x293964])=>{const _0x3f82ef=_0xbc3cc7;let _0x4ea52d=_0x5bc9c2['tables'][_0x18601f];if(!_0x4ea52d||!_0x293964)return;let _0x2dc2e7=_0x2a5ea4(_0x4ea52d),_0x113e7d=[];new _0x5708b3[(_0x3f82ef(0x27b))](_0x293964)[_0x3f82ef(0x3aa)]((_0x380bb8,_0x30b175,_0x2e14c0)=>{const _0x4dbbd3=_0x3f82ef;let _0x2bddd1=_0x303bc5(_0x2dc2e7,_0x380bb8,_0x30b175,_0x2e14c0);_0x2bddd1&&_0x113e7d[_0x4dbbd3(0x4a3)](_0x2bddd1);}),_0x113e7d[_0x3f82ef(0x211)]&&_0x488e73['push']({'unitId':_0x5bc9c2['id'],'tableId':_0x18601f,'patches':_0x113e7d});}),_0x488e73;}function _0x303bc5(_0x20683b,_0x38bf9d,_0x37fdd3,_0x306eac){const _0x378df1=_0x5a0300;var _0x141187,_0x21ba36,_0x3752a8;let _0x3f3cfa=(_0x141187=_0x20683b[_0x378df1(0x2ee)])==null?void 0x0:_0x141187[_0x38bf9d],_0x3ce2cb=(_0x21ba36=_0x20683b[_0x378df1(0x315)])==null?void 0x0:_0x21ba36[_0x37fdd3];if(!_0x3f3cfa||!_0x20683b[_0x378df1(0x457)][_0x3f3cfa]||!_0x3ce2cb)return null;let _0x5a64c9=_0x20683b[_0x378df1(0x527)][_0x3ce2cb];if(!_0x5a64c9||_0x5a64c9['type']!=='formula')return null;let _0x73f50b=String(((_0x3752a8=_0x5a64c9[_0x378df1(0x21c)])==null?void 0x0:_0x3752a8[_0x378df1(0x459)])??'')['trim'](),_0x5a4bf0=(_0x306eac==null?void 0x0:_0x306eac['v'])??null,_0x10208f={'v':_0x5a4bf0,'t':_0x76855a(_0x5a4bf0),..._0x38bf9d===0x0&&_0x73f50b?{'f':_0x73f50b}:{},'si':_0x5a64c9['id']};return _0x4caf23(_0x49c470(_0x20683b,_0x3f3cfa,_0x3ce2cb),_0x10208f)?null:{'row':_0x38bf9d,'col':_0x37fdd3,'value':_0x10208f};}function _0x4caf23(_0x531c0f,_0x32f293){return _0x531c0f!=null&&Object['is'](_0x531c0f['v']??null,_0x32f293['v']??null)&&_0x531c0f['t']===_0x32f293['t']&&_0x531c0f['f']===_0x32f293['f']&&_0x531c0f['si']===_0x32f293['si'];}function _0x76855a(_0x254cbe){const _0x5597d0=_0x5a0300;return typeof _0x254cbe==_0x5597d0(0x337)?_0x5708b3[_0x5597d0(0xff)][_0x5597d0(0x11e)]:typeof _0x254cbe=='boolean'?_0x5708b3['CellValueType'][_0x5597d0(0x18a)]:typeof _0x254cbe==_0x5597d0(0x220)?_0x5708b3[_0x5597d0(0xff)][_0x5597d0(0x197)]:null;}function _0x3d3cce(_0x644aca){const _0x2dc7b7=_0x5a0300;let _0x156465=_0x28e250(_0x644aca,()=>''),_0x73e038=new Map(),_0x19d77a=_0x7249db=>{const _0x26bb3f=_0x513b;_0x73e038['set']((_0x7249db[_0x26bb3f(0x4b2)]??'')+'\x1f'+_0x7249db[_0x26bb3f(0x17b)],_0x7249db);};for(let _0x2786ed of _0x156465[_0x2dc7b7(0x10b)](_0x1e2e8a))_0x19d77a({'fieldName':_0x2786ed[0x1],'scope':'this-row'});_0x156465=_0x156465['replace'](_0x151514,(_0x53b863,_0x3c756e,_0x387cc9,_0x858e9)=>(_0x19d77a({'tableName':_0x3c756e,'fieldName':_0x858e9,'scope':_0x387cc9['toLowerCase']()===_0x2dc7b7(0x1d2)?_0x2dc7b7(0x1d2):_0x2dc7b7(0x2d8)}),'\x20')),_0x156465=_0x156465[_0x2dc7b7(0x476)](_0x2b9af3,(_0x96e0cb,_0x1020ab,_0x456a2)=>(_0x19d77a({'tableName':_0x1020ab,'fieldName':_0x456a2,'scope':_0x2dc7b7(0x2d8)}),'\x20')),_0x156465=_0x156465['replace'](_0x300f16,(_0x32596d,_0x1aa1f0,_0x4d0505,_0x584bff)=>(_0x19d77a({'fieldName':_0x584bff,'scope':_0x4d0505[_0x2dc7b7(0x436)]()===_0x2dc7b7(0x1d2)?'data':_0x2dc7b7(0x2d8)}),_0x1aa1f0+'\x20')),_0x156465=_0x156465[_0x2dc7b7(0x476)](_0x454bc0,(_0x3a1ab9,_0x3d9213,_0x354740)=>(_0x19d77a({'fieldName':_0x354740,'scope':_0x2dc7b7(0x2d8)}),_0x3d9213+'\x20'));for(let _0x45b599 of _0x156465[_0x2dc7b7(0x10b)](_0x175009))_0x19d77a({'tableName':_0x45b599[0x1],'fieldName':_0x45b599[0x2]});for(let _0x2acd43 of _0x156465['matchAll'](_0x24f7fa))_0x19d77a({'fieldName':_0x2acd43[0x2],'scope':_0x2dc7b7(0x2d8)});return Array[_0x2dc7b7(0x2d6)](_0x73e038[_0x2dc7b7(0x253)]());}function _0x2528d2(_0x1fe7ca){const _0x3d72c0=_0x5a0300;let _0x4b6524=_0x28e250(_0x1fe7ca,()=>'\x20')[_0x3d72c0(0x476)](_0x1e2e8a,'\x20')[_0x3d72c0(0x476)](_0x151514,'\x20')[_0x3d72c0(0x476)](_0x2b9af3,'\x20')[_0x3d72c0(0x476)](_0x300f16,_0x3d72c0(0x4e7))[_0x3d72c0(0x476)](_0x454bc0,_0x3d72c0(0x4e7))[_0x3d72c0(0x476)](_0x175009,'\x20')[_0x3d72c0(0x476)](_0x24f7fa,_0x3d72c0(0x4e7));return _0x3211f9[_0x3d72c0(0x3bf)](_0x4b6524);}function _0x4168db(_0x5516ca,_0xf50984){return _0x1be21f(_0x4141a0(_0x5516ca,_0xf50984),_0xf50984);}function _0x28e250(_0x43dc63,_0x42735f){return _0x33febb(_0x4168db(_0x43dc63,_0x42735f),_0x42735f);}function _0x33febb(_0x1a3559,_0x548a5f){const _0xe0bb38=_0x5a0300;return _0x1a3559[_0xe0bb38(0x476)](/"(?:""|[^"])*"/g,_0x548a5f);}function _0x4141a0(_0x4cfca5,_0xb543c1){const _0x55c48e=_0x5a0300;return _0x319b65[_0x55c48e(0x277)]=0x0,_0x4cfca5[_0x55c48e(0x476)](_0x319b65,(_0x3b65a4,_0x32e767)=>_0xaf6137(_0x4cfca5,_0x32e767)?_0x3b65a4:_0xb543c1(_0x3b65a4));}let _0x4ab5bd=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x1be21f(_0x31c477,_0x4d5896){const _0x2a9d17=_0x5a0300;let _0x2368d6=[];for(_0x4ab5bd[_0x2a9d17(0x277)]=0x0;;){let _0x4a3a66=_0x4ab5bd['exec'](_0x31c477);if(_0x4a3a66==null)break;if(_0xaf6137(_0x31c477,_0x4a3a66[_0x2a9d17(0x3a1)]))continue;let _0x9a2ec2=_0x4ab5bd['lastIndex']-0x1,_0x9ad63c=0x0;for(let _0x2d8ef5=_0x9a2ec2;_0x2d8ef5<_0x31c477[_0x2a9d17(0x211)];_0x2d8ef5++)if(_0x31c477[_0x2d8ef5]==='['&&_0x9ad63c++,_0x31c477[_0x2d8ef5]===']'&&(_0x9ad63c--,_0x9ad63c===0x0)){_0x2368d6[_0x2a9d17(0x4a3)]({'start':_0x4a3a66[_0x2a9d17(0x3a1)],'end':_0x2d8ef5+0x1}),_0x4ab5bd[_0x2a9d17(0x277)]=_0x2d8ef5+0x1;break;}}if(_0x2368d6[_0x2a9d17(0x211)]===0x0)return _0x31c477;let _0x3d55f0='',_0x5ec476=0x0;for(let _0x151948 of _0x2368d6)_0x3d55f0+=_0x31c477['slice'](_0x5ec476,_0x151948[_0x2a9d17(0x3bd)]),_0x3d55f0+=_0x4d5896(_0x31c477[_0x2a9d17(0x51b)](_0x151948['start'],_0x151948['end'])),_0x5ec476=_0x151948['end'];return _0x3d55f0+_0x31c477[_0x2a9d17(0x51b)](_0x5ec476);}function _0xaf6137(_0x1089a4,_0x3fad95){let _0x58088e=!0x1;for(let _0x1fbf65=0x0;_0x1fbf65<_0x3fad95;_0x1fbf65++)_0x1089a4[_0x1fbf65]==='\x22'&&(_0x58088e&&_0x1089a4[_0x1fbf65+0x1]==='\x22'?_0x1fbf65++:_0x58088e=!_0x58088e);return _0x58088e;}function _0x4bfc87(_0x49def6,_0x474a99,_0x3ac52a,_0x53b2f7){const _0x5f24a8=_0x5a0300;let _0x1b33c8=_0x373386(_0x49def6[_0x5f24a8(0x4b2)],_0x474a99,_0x3ac52a,_0x53b2f7);return{'table':_0x1b33c8,'field':_0x1b33c8?Object[_0x5f24a8(0x253)](_0x1b33c8[_0x5f24a8(0x527)])[_0x5f24a8(0x1ab)](_0x2c9fea=>_0x2c9fea[_0x5f24a8(0x3b4)]===_0x49def6[_0x5f24a8(0x17b)]):void 0x0};}function _0x373386(_0x2b0aa5,_0x5279b5,_0x1be00b,_0x491441){const _0x4c5404=_0x5a0300;if(!_0x2b0aa5)return _0x5279b5;if(!_0x1be00b){var _0x387fb5;let _0x422e11=_0x2b0aa5['toLowerCase']();return _0x422e11===_0x5279b5['id'][_0x4c5404(0x436)]()||_0x422e11===_0x5279b5[_0x4c5404(0x3b4)][_0x4c5404(0x436)]()||_0x422e11===((_0x387fb5=_0x5279b5[_0x4c5404(0x410)])==null?void 0x0:_0x387fb5[_0x4c5404(0x436)]())?_0x5279b5:void 0x0;}let _0x349e06=_0x2b0aa5[_0x4c5404(0x436)](),_0x24873b=_0x491441??(0x0,_0x5708b3[_0x4c5404(0x290)])(_0x1be00b),_0x4b6aaf=Object[_0x4c5404(0x253)](_0x1be00b[_0x4c5404(0x18e)])[_0x4c5404(0x22b)](_0x300c4c=>{const _0x218e9c=_0x4c5404;var _0x4658e8;return _0x300c4c['id'][_0x218e9c(0x436)]()===_0x349e06||_0x300c4c[_0x218e9c(0x3b4)][_0x218e9c(0x436)]()===_0x349e06||((_0x4658e8=_0x24873b[_0x218e9c(0x387)](_0x300c4c['id']))==null?void 0x0:_0x4658e8[_0x218e9c(0x436)]())===_0x349e06||_0x1d4e3c(_0x300c4c['id'])[_0x218e9c(0x436)]()===_0x349e06;});return _0x4b6aaf['length']===0x1?_0x4b6aaf[0x0]:void 0x0;}function _0x1d4e3c(_0x5d9b44){const _0x1748e7=_0x5a0300;return _0x1748e7(0x1a6)+Array[_0x1748e7(0x2d6)](_0x5d9b44,_0x3b4c26=>{const _0x4dd590=_0x1748e7;var _0x3c78d7;return/[A-Za-z0-9]/[_0x4dd590(0x3bf)](_0x3b4c26)?_0x3b4c26:'_x'+(((_0x3c78d7=_0x3b4c26[_0x4dd590(0x3e4)](0x0))==null?void 0x0:_0x3c78d7[_0x4dd590(0x4e9)](0x10))??'0')+'_';})[_0x1748e7(0x212)]('');}let _0x11176a=new _0x37b380();function _0x2a056e(_0x2665b2,_0x49f517,_0x2af2f6){const _0x285269=_0x5a0300;var _0x5887d3;if(_0x2af2f6[_0x285269(0x131)]!==_0x5708b3[_0x285269(0x2f3)]['Formula'])return!0x0;let _0x4fd61b=String(((_0x5887d3=_0x2af2f6[_0x285269(0x21c)])==null?void 0x0:_0x5887d3['formula'])??''),_0x1ce202=_0x2665b2[_0x285269(0x499)]();return _0x11176a[_0x285269(0x2cd)](_0x4fd61b,_0x1ce202['tables'][_0x49f517],{'snapshot':_0x1ce202})['valid'];}function _0x11221f(_0x7f6f9d,_0x1dba47,_0x2781f){const _0x30da3f=_0x5a0300;let _0x5875c2=_0x7f6f9d['getSnapshot']()[_0x30da3f(0x18e)][_0x1dba47];if(!_0x5875c2)return!0x1;let {viewIds:_0x29565e,fieldIds:_0x3b56b0,recordIds:_0x33b95c}=_0x2781f||{};if(_0x29565e){for(let _0x724907 of _0x29565e)if(!_0x5875c2['views'][_0x724907])return!0x1;}if(_0x3b56b0){for(let _0x146588 of _0x3b56b0)if(!_0x5875c2[_0x30da3f(0x527)][_0x146588])return!0x1;}if(_0x33b95c){for(let _0x186ccf of _0x33b95c)if(!_0x5875c2[_0x30da3f(0x457)][_0x186ccf])return!0x1;}return!0x0;}function _0x33c3bc(_0x422b39,_0xdcf356,_0x5b0fd3){const _0x3285ce=_0x5a0300;if(_0x5b0fd3['id']===_0x5708b3[_0x3285ce(0x3c2)]||_0x5b0fd3[_0x3285ce(0x131)]===_0x5708b3[_0x3285ce(0x2f3)]['RecordId']||(0x0,_0x5708b3['isBaseRecordIdFieldName'])(_0x5b0fd3[_0x3285ce(0x3b4)])||!_0x2a056e(_0x422b39,_0xdcf356,_0x5b0fd3))return!0x1;let _0x129a70=_0x422b39[_0x3285ce(0x499)]();if(!_0x8d397b(_0x129a70,_0x5b0fd3)[_0x3285ce(0x150)])return!0x1;if(_0x5b0fd3[_0x3285ce(0x131)]!==_0x5708b3[_0x3285ce(0x2f3)][_0x3285ce(0x3fb)])return!0x0;let _0x137e34=_0x4f0b6a(_0x5b0fd3);if(!_0x137e34)return!0x1;if(_0x137e34[_0x3285ce(0x3f5)]===void 0x0)return!0x0;if(_0x137e34[_0x3285ce(0x3f5)]!==_0x5708b3['BaseRecordLinkRole'][_0x3285ce(0x441)]||_0x137e34[_0x3285ce(0x32e)]!==_0xdcf356||_0x137e34[_0x3285ce(0x504)]!==!0x1)return!0x1;let _0x851613=_0x129a70['tables'][_0xdcf356];return!Object[_0x3285ce(0x253)](_0x851613[_0x3285ce(0x527)])[_0x3285ce(0x2e9)](_0x3f287e=>{const _0x230858=_0x3285ce;var _0x1d6a12;return _0x3f287e['id']!==_0x5b0fd3['id']&&_0x3f287e[_0x230858(0x131)]===_0x5708b3['BaseFieldType'][_0x230858(0x3fb)]&&((_0x1d6a12=_0x4f0b6a(_0x3f287e))==null?void 0x0:_0x1d6a12[_0x230858(0x3f5)])===_0x5708b3[_0x230858(0x2be)][_0x230858(0x441)];});}function _0x5b56e(_0x4bb152,_0x109fd5,_0x2e65dc,_0x104185){const _0x38fe3f=_0x5a0300;var _0x2709ce;let _0x855735=_0x4bb152['getSnapshot'](),_0x2a3650=(_0x2709ce=_0x855735[_0x38fe3f(0x18e)][_0x109fd5])==null?void 0x0:_0x2709ce[_0x38fe3f(0x527)][_0x2e65dc];return!_0x2a3650||_0x2a3650['id']===_0x5708b3[_0x38fe3f(0x3c2)]||_0x2a3650[_0x38fe3f(0x131)]===_0x5708b3['BaseFieldType'][_0x38fe3f(0x452)]?!0x1:_0x2a3650[_0x38fe3f(0x131)]!==_0x5708b3[_0x38fe3f(0x2f3)][_0x38fe3f(0x3fb)]||_0x5c11b8(_0x855735,_0x2a3650,_0x12d8fe(_0x104185))['valid'];}function _0x1bd3b9(_0x440a44,_0x3a80c0,_0x1ac931){const _0x553f2c=_0x5a0300;let _0x3fb515=_0x440a44[_0x553f2c(0x499)]()[_0x553f2c(0x18e)][_0x3a80c0];return!_0x3fb515||!(0x0,_0x5708b3['isValidBaseRecordId'])(_0x1ac931['id'])||_0x3fb515[_0x553f2c(0x457)][_0x1ac931['id']]||Object[_0x553f2c(0x3ed)][_0x553f2c(0x523)][_0x553f2c(0x1bb)](_0x1ac931[_0x553f2c(0x253)],_0x5708b3[_0x553f2c(0x3c2)])&&_0x1ac931[_0x553f2c(0x253)][_0x5708b3[_0x553f2c(0x3c2)]]!==_0x1ac931['id']?!0x1:Object[_0x553f2c(0x15b)](_0x1ac931['values'])[_0x553f2c(0x135)](([_0x423237,_0x3b73f4])=>_0x423237===_0x5708b3['BASE_RECORD_ID_FIELD_ID']||_0x5b56e(_0x440a44,_0x3a80c0,_0x423237,_0x3b73f4));}function _0x40039c(_0x47653e){const _0x274d72=_0x5a0300;return{..._0x47653e,'values':{..._0x47653e['values'],[_0x5708b3[_0x274d72(0x3c2)]]:_0x47653e['id']}};}function _0x12d8fe(_0x1df851){const _0x5b39ff=_0x5a0300;if(_0x1df851&&typeof _0x1df851==_0x5b39ff(0x24f)&&!Array[_0x5b39ff(0x46f)](_0x1df851)&&'v'in _0x1df851){let _0x5231dc=_0x1df851['v'];return _0x5231dc===void 0x0?null:_0x5231dc;}return _0x1df851;}function _0x535343(_0x54d78a,_0x2cc41f,_0x1a67e4,_0x415130){const _0xb7ccbc=_0x5a0300;let _0x95fc23=_0x54d78a[_0xb7ccbc(0x499)]()[_0xb7ccbc(0x18e)][_0x2cc41f];if(!_0x95fc23)return null;let _0x4df0b8=_0x13f8f5(_0x95fc23),_0x45e6c4=_0x4df0b8??_0x572b51(_0x95fc23),_0x25a1c9=_0x1a67e4['some'](_0x45e79f=>Object[_0xb7ccbc(0x3ed)][_0xb7ccbc(0x523)]['call'](_0x45e79f['values'],_0x45e6c4)),_0x590eac=_0x4df0b8?_0x95fc23[_0xb7ccbc(0x527)][_0x4df0b8]:_0x25a1c9?_0x54f67e(_0x95fc23,_0x45e6c4,_0x415130):null,_0x442fe4=[];for(let _0x3f2335 of _0x1a67e4){let _0x5dfb2a=_0x3f2335[_0xb7ccbc(0x253)][_0x45e6c4],_0xc65509=_0x590eac!==null&&Object['prototype']['hasOwnProperty'][_0xb7ccbc(0x1bb)](_0x3f2335['values'],_0x45e6c4),_0x3b8595=_0x12d8fe(_0x5dfb2a),_0x82c676=null;if(_0xc65509){if(typeof _0x3b8595!=_0xb7ccbc(0x220)||!_0x1dd94b(_0x3b8595,!0x1)['valid'])return null;_0x82c676=_0x3b8595;}let _0x549826={};if(Object[_0xb7ccbc(0x15b)](_0x3f2335[_0xb7ccbc(0x253)])[_0xb7ccbc(0x11c)](([_0x404490,_0x150cbc])=>{_0xc65509&&_0x404490===_0x45e6c4||(_0x549826[_0x404490]=_0x150cbc);}),!_0x1bd3b9(_0x54d78a,_0x2cc41f,{..._0x3f2335,'values':_0x549826}))return null;let _0x4245b1={..._0x3f2335[_0xb7ccbc(0x253)]};_0x82c676!==null&&(_0x4245b1[_0x45e6c4]=_0x82c676),_0x442fe4['push'](_0x40039c({..._0x3f2335,'values':_0x4245b1}));}return{'records':_0x442fe4,'hierarchyFieldToMaterialize':_0x4df0b8?null:_0x590eac,'hierarchyChanges':_0x5eb2ae(_0x95fc23,_0x442fe4)};}let _0xcdcc4c={'id':_0x5a0300(0x249),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x3636eb,_0x3032cb){const _0xca4500=_0x5a0300;if(!_0x3032cb)return!0x1;let _0x29b01e=_0x3636eb[_0xca4500(0x387)](_0x5708b3[_0xca4500(0x3b6)]),{unitId:_0x1e22e1,tableId:_0x2b31fb,records:_0x37cfc}=_0x3032cb,_0x30406f=_0x29b01e[_0xca4500(0x15c)](_0x1e22e1,_0x5708b3[_0xca4500(0x2b4)][_0xca4500(0x1f9)]),_0x2f809b=_0x37cfc[_0xca4500(0x447)](_0x2c2b9a=>_0x2c2b9a['id']);if(!_0x30406f||!_0x11221f(_0x30406f,_0x2b31fb)||new Set(_0x2f809b)['size']!==_0x2f809b[_0xca4500(0x211)])return!0x1;let _0x483400=_0x3636eb[_0xca4500(0x387)](_0x5708b3[_0xca4500(0x2db)]),_0x1ef8bb=_0x3636eb['get'](_0x5708b3['IUndoRedoService']),_0x6a7ecc=_0x3636eb[_0xca4500(0x387)](_0x104536),_0x41d543=_0x30406f[_0xca4500(0x499)](),_0x77e1fd=_0x535343(_0x30406f,_0x2b31fb,_0x37cfc);if(!_0x77e1fd)return!0x1;let {records:_0x26db3e,hierarchyChanges:_0x14868b,hierarchyFieldToMaterialize:_0x31da4d}=_0x77e1fd,_0x35e6ab=_0x31da4d?_0x6a7ecc[_0xca4500(0x2b1)](_0x30406f,_0x2b31fb,_0x31da4d,_0x41d543[_0xca4500(0x18e)][_0x2b31fb][_0xca4500(0x286)][_0xca4500(0x211)]):null,_0x93de0d=_0x6a7ecc[_0xca4500(0x340)](_0x30406f,_0x2b31fb,_0x26db3e),_0x1fdf15=_0x22d022([..._0x35e6ab?[_0x35e6ab]:[],_0x93de0d]),_0x570d1f=new _0x39599e()[_0xca4500(0x4a1)](_0x41d543,_0x1fdf15),_0x5274f9={'unitId':_0x1e22e1,'op':_0x1fdf15,'hierarchyChanges':_0x14868b[_0xca4500(0x211)]?_0x14868b:void 0x0,'source':_0x14868b[_0xca4500(0x211)]?_0x3032cb['source']??'ui':void 0x0},_0x25d692={..._0x5274f9,'source':_0x14868b[_0xca4500(0x211)]?_0xca4500(0x473):void 0x0},_0x2a8956={'unitId':_0x1e22e1,'op':_0x570d1f,'hierarchyChanges':_0x14868b[_0xca4500(0x211)]?_0x14868b['map'](_0x257af7=>({..._0x257af7,'oldParentRecordId':_0x257af7[_0xca4500(0x4af)],'parentRecordId':null})):void 0x0,'source':_0x14868b[_0xca4500(0x211)]?_0xca4500(0x328):void 0x0};return _0x483400[_0xca4500(0x160)](_0x44d218['id'],_0x5274f9)?(_0x29b01e['focusUnit'](_0x1e22e1),_0x1ef8bb[_0xca4500(0x2b8)]({'unitID':_0x1e22e1,'undoMutations':[{'id':_0x44d218['id'],'params':_0x2a8956}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x25d692}]}),!0x0):!0x1;}},_0x2052dd={'id':_0x5a0300(0x3bc),'type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler':(_0x4cc321,_0x4633d9)=>{const _0x34cc14=_0x5a0300;if(!_0x4633d9)return!0x1;let _0x3a1533=_0x4cc321[_0x34cc14(0x387)](_0x5708b3[_0x34cc14(0x3b6)]),{unitId:_0x43e93f,tableId:_0x238906,recordIds:_0x2c2ff9}=_0x4633d9,_0x55fd10=_0x3a1533['getUnit'](_0x43e93f,_0x5708b3['UniverInstanceType'][_0x34cc14(0x1f9)]);if(!_0x55fd10||!_0x11221f(_0x55fd10,_0x238906,{'recordIds':_0x2c2ff9}))return!0x1;let _0x3b9f44=_0x4cc321[_0x34cc14(0x387)](_0x5708b3['ICommandService']),_0x41b7eb=_0x4cc321[_0x34cc14(0x387)](_0x5708b3['IUndoRedoService']),_0x16e0f0=_0x55fd10[_0x34cc14(0x499)](),_0x13f818=_0x31d0de(_0x16e0f0['tables'][_0x238906],_0x2c2ff9),_0x3d27fc=new _0x108016(),_0x5860dc=new _0x39599e(),_0x220c7a=_0x3d27fc[_0x34cc14(0x33d)](_0x16e0f0,_0x238906,_0x2c2ff9),_0x4eaa95=_0x5860dc[_0x34cc14(0x118)](_0x16e0f0,_0x220c7a),_0x1db840=_0x3d27fc['createDeleteRecordsUndoOp'](_0x16e0f0,_0x4eaa95,_0x238906,_0x2c2ff9),_0x3c0bca={'unitId':_0x43e93f,'op':_0x220c7a,'hierarchyChanges':_0x13f818,'source':_0x4633d9[_0x34cc14(0x50d)]??'ui'},_0x21904c={..._0x3c0bca,'source':_0x34cc14(0x473)},_0x36b234={'unitId':_0x43e93f,'op':_0x1db840,'hierarchyChanges':_0x13f818[_0x34cc14(0x447)](_0x83ec7f=>({..._0x83ec7f,'oldParentRecordId':_0x83ec7f[_0x34cc14(0x4af)],'parentRecordId':_0x83ec7f['oldParentRecordId']})),'source':_0x34cc14(0x328)};return _0x3b9f44['syncExecuteCommand'](_0x44d218['id'],_0x3c0bca)?(_0x3a1533[_0x34cc14(0xcd)](_0x43e93f),_0x41b7eb[_0x34cc14(0x2b8)]({'unitID':_0x43e93f,'undoMutations':[{'id':_0x44d218['id'],'params':_0x36b234}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x21904c}]}),!0x0):!0x1;}},_0x53efa4={'id':'base.command.change-base-field-type','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x8c7f65,_0x2692cb)=>{const _0x3cdfcf=_0x5a0300;if(!_0x2692cb)return!0x1;let _0x2f55a7=_0x8c7f65[_0x3cdfcf(0x387)](_0x5708b3[_0x3cdfcf(0x3b6)]),{unitId:_0x3c1c80,tableId:_0x51554b,fieldId:_0x495069,input:_0x94719d}=_0x2692cb,_0x44b8aa=_0x2f55a7[_0x3cdfcf(0x15c)](_0x3c1c80,_0x5708b3[_0x3cdfcf(0x2b4)][_0x3cdfcf(0x1f9)]);if(!_0x44b8aa||_0x495069===_0x5708b3[_0x3cdfcf(0x3c2)]||!_0x11221f(_0x44b8aa,_0x51554b,{'fieldIds':[_0x495069]}))return!0x1;let _0x2396f5=_0x8c7f65[_0x3cdfcf(0x387)](_0x5708b3[_0x3cdfcf(0x2db)]),_0xf64fc9=_0x8c7f65[_0x3cdfcf(0x387)](_0x5708b3['IUndoRedoService']),_0x4c2524=_0x44b8aa[_0x3cdfcf(0x499)]();if(!_0x33c3bc(_0x44b8aa,_0x51554b,{..._0x4c2524[_0x3cdfcf(0x18e)][_0x51554b][_0x3cdfcf(0x527)][_0x495069],..._0x94719d}))return!0x1;let _0xe3a2e4=new _0x108016()[_0x3cdfcf(0x296)](_0x4c2524,_0x51554b,_0x495069,_0x94719d),_0x7c0228=new _0x39599e()['invertOp'](_0x4c2524,_0xe3a2e4),_0x499ca4={'unitId':_0x3c1c80,'op':_0xe3a2e4},_0x5e4ec6={'unitId':_0x3c1c80,'op':_0x7c0228};return _0x2396f5[_0x3cdfcf(0x160)](_0x44d218['id'],_0x499ca4)?(_0x2f55a7[_0x3cdfcf(0xcd)](_0x3c1c80),_0xf64fc9['pushUndoRedo']({'unitID':_0x3c1c80,'undoMutations':[{'id':_0x44d218['id'],'params':_0x5e4ec6}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x499ca4}]}),!0x0):!0x1;}},_0x3f4665={'id':_0x5a0300(0x2d2),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x14c74f,_0x38d79e){const _0x353fd9=_0x5a0300;var _0x2e05a6;if(!_0x38d79e)return!0x1;let {unitId:_0x3aacb9,tableId:_0x576783,parentRecordId:_0x22bc51}=_0x38d79e,_0x5c76e3=_0x14c74f['get'](_0x5708b3[_0x353fd9(0x3b6)]),_0x58593d=_0x5c76e3[_0x353fd9(0x15c)](_0x3aacb9,_0x5708b3['UniverInstanceType'][_0x353fd9(0x1f9)]);if(!_0x58593d||!_0x11221f(_0x58593d,_0x576783,{'recordIds':[_0x22bc51]}))throw new _0x3e2468(_0x353fd9(0x4d5));let _0x36859c=_0x58593d['getSnapshot'](),_0x506d55=_0x36859c['tables'][_0x576783],_0x53b2ba=_0x13f8f5(_0x506d55),_0x46b40=_0x53b2ba??_0x38d79e['fieldId']??_0x572b51(_0x506d55);if(_0x53b2ba&&_0x38d79e[_0x353fd9(0x236)]&&_0x38d79e[_0x353fd9(0x236)]!==_0x53b2ba||_0x506d55[_0x353fd9(0x527)][_0x46b40]&&!_0x40aa86(_0x506d55,_0x46b40))throw new _0x3e2468(_0x353fd9(0x1f6));if((_0x3fc285(_0x506d55,_0x46b40)[_0x353fd9(0x2a1)][_0x353fd9(0x387)](_0x22bc51)??0x0)+0x1>=0x5)throw new _0x3e2468('maxDepth');if(!_0x1bd3b9(_0x58593d,_0x576783,_0x38d79e[_0x353fd9(0x4fb)]))return!0x1;let _0x4ebe03=_0x40039c({..._0x38d79e[_0x353fd9(0x4fb)],'values':{..._0x38d79e[_0x353fd9(0x4fb)][_0x353fd9(0x253)],[_0x46b40]:_0x42b6ec([_0x22bc51])}}),_0x2fee09=_0x14c74f['get'](_0x104536),_0x2ee50d=new _0x108016(),_0x1bfd71=_0x506d55['fields'][_0x46b40],_0x2f13d8=_0x1bfd71?((_0x2e05a6=_0x4f0b6a(_0x1bfd71))==null?void 0x0:_0x2e05a6[_0x353fd9(0x3f5)])===_0x5708b3[_0x353fd9(0x2be)][_0x353fd9(0x441)]?null:_0x2ee50d['updateField'](_0x36859c,_0x576783,_0x46b40,{'config':{..._0x1bfd71['config'],'relationRole':_0x5708b3['BaseRecordLinkRole'][_0x353fd9(0x441)]}}):_0x2fee09[_0x353fd9(0x2b1)](_0x58593d,_0x576783,_0x54f67e(_0x506d55,_0x46b40,_0x38d79e[_0x353fd9(0x485)]),_0x506d55[_0x353fd9(0x286)]['length']),_0x2788cb=_0x2fee09[_0x353fd9(0x38e)](_0x58593d,_0x576783,_0x4ebe03),_0x10f8c2=_0x22d022([..._0x2f13d8?[_0x2f13d8]:[],_0x2788cb]),_0x57a0ce=new _0x39599e()[_0x353fd9(0x4a1)](_0x36859c,_0x10f8c2),_0x3a6110={'tableId':_0x576783,'fieldId':_0x46b40,'recordId':_0x4ebe03['id'],'oldParentRecordId':null,'parentRecordId':_0x22bc51},_0x429466={'unitId':_0x3aacb9,'op':_0x10f8c2,'trigger':_0x3f4665['id'],'hierarchyChanges':[_0x3a6110],'source':_0x38d79e['source']??'ui'},_0x466cba={..._0x429466,'source':'redo'},_0x563ab8={'unitId':_0x3aacb9,'op':_0x57a0ce,'trigger':_0x3f4665['id'],'hierarchyChanges':[{..._0x3a6110,'oldParentRecordId':_0x22bc51,'parentRecordId':null}],'source':_0x353fd9(0x328)};return _0x14c74f[_0x353fd9(0x387)](_0x5708b3[_0x353fd9(0x2db)])['syncExecuteCommand'](_0x44d218['id'],_0x429466)?(_0x5c76e3['focusUnit'](_0x3aacb9),_0x14c74f[_0x353fd9(0x387)](_0x5708b3[_0x353fd9(0x1bc)])[_0x353fd9(0x2b8)]({'unitID':_0x3aacb9,'undoMutations':[{'id':_0x44d218['id'],'params':_0x563ab8}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x466cba}]}),!0x0):!0x1;}},_0x2fa65b={'id':_0x5a0300(0x316),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x16f584,_0x23c8f6){const _0x174d73=_0x5a0300;if(!_0x23c8f6)return!0x1;let _0x1a040a=_0x16f584[_0x174d73(0x387)](_0x5708b3[_0x174d73(0x3b6)]),{unitId:_0x1cc92d,tableId:_0x1e6fc1,field:_0x2c710e,index:_0x2ee5a2,viewIndexes:_0x58833a}=_0x23c8f6,_0x4125e8=_0x1a040a[_0x174d73(0x15c)](_0x1cc92d,_0x5708b3[_0x174d73(0x2b4)][_0x174d73(0x1f9)]);if(!_0x4125e8||!_0x11221f(_0x4125e8,_0x1e6fc1)||_0x4125e8[_0x174d73(0x499)]()[_0x174d73(0x18e)][_0x1e6fc1][_0x174d73(0x527)][_0x2c710e['id']]||_0x2ee5a2===0x0||!_0x33c3bc(_0x4125e8,_0x1e6fc1,_0x2c710e))return!0x1;let _0x224bd9=_0x16f584[_0x174d73(0x387)](_0x5708b3['ICommandService']),_0x1811e1=_0x16f584[_0x174d73(0x387)](_0x5708b3[_0x174d73(0x1bc)]),_0x51a31e=_0x16f584[_0x174d73(0x387)](_0x104536)[_0x174d73(0x2b1)](_0x4125e8,_0x1e6fc1,_0x2c710e,_0x2ee5a2,_0x58833a),_0x4fc795=new _0x39599e()[_0x174d73(0x4a1)](_0x4125e8['getSnapshot'](),_0x51a31e),_0x41ee78={'unitId':_0x1cc92d,'op':_0x51a31e},_0x3f2f25={'unitId':_0x1cc92d,'op':_0x4fc795};return _0x224bd9['syncExecuteCommand'](_0x44d218['id'],_0x41ee78)?(_0x1a040a[_0x174d73(0xcd)](_0x1cc92d),_0x1811e1['pushUndoRedo']({'unitID':_0x1cc92d,'undoMutations':[{'id':_0x44d218['id'],'params':_0x3f2f25}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x41ee78}]}),!0x0):!0x1;}},_0x37a8e1={'id':'base.command.create-base-record','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x2470ee,_0x5af7b8){const _0x569d51=_0x5a0300;if(!_0x5af7b8)return!0x1;let _0x169d4b=_0x2470ee[_0x569d51(0x387)](_0x5708b3['IUniverInstanceService']),{unitId:_0x20cf4d,tableId:_0x13b9aa,record:_0x4b6cf1}=_0x5af7b8,_0x57363c=_0x169d4b[_0x569d51(0x15c)](_0x20cf4d,_0x5708b3[_0x569d51(0x2b4)]['UNIVER_BASE']);if(!_0x57363c||!_0x11221f(_0x57363c,_0x13b9aa))return!0x1;let _0x39495e=_0x2470ee[_0x569d51(0x387)](_0x5708b3[_0x569d51(0x2db)]),_0x5cc7b8=_0x2470ee['get'](_0x5708b3[_0x569d51(0x1bc)]),_0x1b3fb8=_0x2470ee[_0x569d51(0x387)](_0x104536),_0x28b609=_0x57363c[_0x569d51(0x499)](),_0x61c481=_0x535343(_0x57363c,_0x13b9aa,[_0x4b6cf1]);if(!_0x61c481)return!0x1;let [_0x5df616]=_0x61c481[_0x569d51(0x457)],{hierarchyChanges:_0x490ffe,hierarchyFieldToMaterialize:_0x43929c}=_0x61c481,_0x335392=_0x43929c?_0x1b3fb8['createCreateFieldOp'](_0x57363c,_0x13b9aa,_0x43929c,_0x28b609[_0x569d51(0x18e)][_0x13b9aa][_0x569d51(0x286)][_0x569d51(0x211)]):null,_0x3c1098=_0x1b3fb8[_0x569d51(0x38e)](_0x57363c,_0x13b9aa,_0x5df616),_0x48305c=_0x22d022([..._0x335392?[_0x335392]:[],_0x3c1098]),_0x483e07=new _0x39599e()[_0x569d51(0x4a1)](_0x28b609,_0x48305c),_0x11bbb2={'unitId':_0x20cf4d,'op':_0x48305c,'hierarchyChanges':_0x490ffe[_0x569d51(0x211)]?_0x490ffe:void 0x0,'source':_0x490ffe[_0x569d51(0x211)]?_0x5af7b8[_0x569d51(0x50d)]??'ui':void 0x0},_0x53e0e6={..._0x11bbb2,'source':_0x490ffe[_0x569d51(0x211)]?_0x569d51(0x473):void 0x0},_0x11d882={'unitId':_0x20cf4d,'op':_0x483e07,'hierarchyChanges':_0x490ffe['length']?_0x490ffe[_0x569d51(0x447)](_0x34adfd=>({..._0x34adfd,'oldParentRecordId':_0x34adfd[_0x569d51(0x4af)],'parentRecordId':null})):void 0x0,'source':_0x490ffe[_0x569d51(0x211)]?'undo':void 0x0};return _0x39495e[_0x569d51(0x160)](_0x44d218['id'],_0x11bbb2)?(_0x169d4b[_0x569d51(0xcd)](_0x20cf4d),_0x5cc7b8[_0x569d51(0x2b8)]({'unitID':_0x20cf4d,'undoMutations':[{'id':_0x44d218['id'],'params':_0x11d882}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x53e0e6}]}),!0x0):!0x1;}};function _0x2b0e4a(_0x1bbc6d,_0x13dc5a,_0x397ae0){const _0x9f4cac=_0x5a0300;if(!_0x13dc5a['trim']())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x9f4cac(0x39b)};if(_0x13dc5a[_0x9f4cac(0x211)]>0x1f)return{'valid':!0x1,'reason':'Use\x2031\x20characters\x20or\x20fewer.','error':'too-long'};if(_0x13dc5a['startsWith']('\x27')||_0x13dc5a[_0x9f4cac(0x22d)]('\x27'))return{'valid':!0x1,'reason':_0x9f4cac(0x313),'error':_0x9f4cac(0x29b)};if(/[:\\/?*\[\]]/[_0x9f4cac(0x3bf)](_0x13dc5a))return{'valid':!0x1,'reason':_0x9f4cac(0x1ca),'error':_0x9f4cac(0x25d)};if(!(0x0,_0x5708b3['nameCharacterCheck'])(_0x13dc5a))return{'valid':!0x1,'reason':_0x9f4cac(0x4ef),'error':'invalid'};let _0x5985ca=_0x13dc5a[_0x9f4cac(0x436)]();return Object[_0x9f4cac(0x253)](_0x1bbc6d[_0x9f4cac(0x18e)])[_0x9f4cac(0x2e9)](_0x5bc109=>_0x5bc109['id']!==_0x397ae0&&_0x5bc109[_0x9f4cac(0x3b4)][_0x9f4cac(0x436)]()===_0x5985ca)?{'valid':!0x1,'reason':'A\x20table\x20with\x20this\x20name\x20already\x20exists.','error':_0x9f4cac(0x453)}:{'valid':!0x0};}function _0x4e3b9f(_0x3d0a79,_0x8a05fa){const _0x14bb16=_0x5a0300;let _0x341e25=_0x8a05fa[_0x14bb16(0x476)](/[:\\/?*\[\]]/g,'\x20')[_0x14bb16(0x476)](/^'+|'+$/g,'')[_0x14bb16(0x1bd)]()||'Table',_0x52da11=0x1;for(;;){let _0x4705b2=_0x52da11===0x1?'':'\x20'+_0x52da11,_0x369b04=''+_0x341e25[_0x14bb16(0x51b)](0x0,0x1f-_0x4705b2[_0x14bb16(0x211)])+_0x4705b2;if(_0x2b0e4a(_0x3d0a79,_0x369b04)[_0x14bb16(0x150)])return _0x369b04;_0x52da11++;}}let _0x1578d8={'id':'base.command.create-base-table','type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler':(_0x826eed,_0x28d8c0)=>{const _0x1a3254=_0x5a0300;if(!_0x28d8c0)return!0x1;let _0x5b5b68=_0x826eed[_0x1a3254(0x387)](_0x5708b3[_0x1a3254(0x3b6)]),{unitId:_0x54550e,table:_0x4c40cf,index:_0x508dd5}=_0x28d8c0,_0x3d7c66=_0x5b5b68['getUnit'](_0x54550e,_0x5708b3[_0x1a3254(0x2b4)][_0x1a3254(0x1f9)]);if(!_0x3d7c66||_0x3d7c66['getSnapshot']()[_0x1a3254(0x18e)][_0x4c40cf['id']]||!_0x2b0e4a(_0x3d7c66[_0x1a3254(0x499)](),_0x4c40cf[_0x1a3254(0x3b4)])[_0x1a3254(0x150)])return!0x1;try{(0x0,_0x5708b3[_0x1a3254(0x31a)])(_0x4c40cf);}catch{return!0x1;}let _0x31e75f=_0x826eed[_0x1a3254(0x387)](_0x5708b3[_0x1a3254(0x2db)]),_0x3646ce=_0x826eed[_0x1a3254(0x387)](_0x5708b3[_0x1a3254(0x1bc)]),_0xdfd221=_0x3d7c66[_0x1a3254(0x499)](),_0x5ef7bf=new _0x108016()[_0x1a3254(0xda)](_0xdfd221,_0x4c40cf,_0x508dd5),_0x202081=new _0x39599e()[_0x1a3254(0x4a1)](_0xdfd221,_0x5ef7bf),_0x416103={'unitId':_0x54550e,'op':_0x5ef7bf},_0x2c98a2={'unitId':_0x54550e,'op':_0x202081};return _0x31e75f[_0x1a3254(0x160)](_0x44d218['id'],_0x416103)?(_0x5b5b68[_0x1a3254(0xcd)](_0x54550e),_0x3646ce[_0x1a3254(0x2b8)]({'unitID':_0x54550e,'undoMutations':[{'id':_0x44d218['id'],'params':_0x2c98a2}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x416103}]}),!0x0):!0x1;}};function _0xce880c(_0x568c84,_0x9a65ef,_0x32760b=[]){const _0x12459c=_0x5a0300;let _0x40245b=new Set([...Object['values'](_0x568c84[_0x12459c(0x527)])[_0x12459c(0x22b)](_0x426dbe=>_0x426dbe)[_0x12459c(0x447)](_0x5153c2=>_0x5153c2[_0x12459c(0x3b4)]),..._0x32760b[_0x12459c(0x447)](_0x4d808d=>_0x4d808d[_0x12459c(0x3b4)])]);if(!_0x40245b[_0x12459c(0x4d4)](_0x9a65ef))return _0x9a65ef;let _0x4e3a1e=0x2;for(;_0x40245b[_0x12459c(0x4d4)](_0x9a65ef+'\x20'+_0x4e3a1e);)_0x4e3a1e++;return _0x9a65ef+'\x20'+_0x4e3a1e;}function _0x4ba92e(_0x3923ac,_0x512e19){const _0x1c37a5=_0x5a0300;if(!_0x3923ac||!_0x512e19['length'])return;let _0x38d138=[..._0x3923ac];return _0x512e19[_0x1c37a5(0x11c)](_0x54a6c7=>{const _0x33f6f2=_0x1c37a5;_0x38d138[_0x33f6f2(0x248)](_0x54a6c7)||_0x38d138['push'](_0x54a6c7);}),_0x38d138;}let _0x3cd075={'options':[{'id':'todo','name':_0x5a0300(0x43c),'color':_0x5a0300(0x376)},{'id':_0x5a0300(0x3c7),'name':'Doing','color':_0x5a0300(0x1df)},{'id':_0x5a0300(0x4b4),'name':'Done','color':'#BBF7D0'}]},_0x1f14ea={'locale':'en-US','pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x5a0300(0x51e),'defaultMode':_0x5a0300(0x1dc)};function _0x2a99da(_0x255d02,_0x2eb8a0,_0x23dc8c,_0x38413e){const _0x4f9b93=_0x5a0300;var _0x1f839e;let _0x19f3eb=new _0x108016(),_0x55bb7f=_0x255d02[_0x4f9b93(0x18e)][_0x2eb8a0],_0x25b43a=_0x55bb7f?{..._0x23dc8c,'fieldOrder':[_0x5708b3[_0x4f9b93(0x3c2)],...(_0x23dc8c[_0x4f9b93(0x286)]??_0x55bb7f[_0x4f9b93(0x286)])[_0x4f9b93(0x22b)](_0x44e219=>_0x44e219!==_0x5708b3[_0x4f9b93(0x3c2)])],'fieldSettings':{..._0x23dc8c[_0x4f9b93(0x25a)],[_0x5708b3[_0x4f9b93(0x3c2)]]:{...(_0x1f839e=_0x23dc8c[_0x4f9b93(0x25a)])==null?void 0x0:_0x1f839e[_0x5708b3[_0x4f9b93(0x3c2)]],'hidden':!0x0}}}:_0x23dc8c;if(_0x55bb7f&&_0x25b43a[_0x4f9b93(0x131)]===_0x4f9b93(0x510)){let _0x329edb=_0x10e0fe(_0x55bb7f,_0x25b43a),_0x42ade4=_0x329edb['changed']?{..._0x25b43a,'config':_0x329edb[_0x4f9b93(0x21c)],'fieldOrder':_0x329edb['fieldOrder']??_0x25b43a[_0x4f9b93(0x286)]}:_0x25b43a;return _0x22d022([..._0x329edb[_0x4f9b93(0x527)][_0x4f9b93(0x447)](_0x7518a0=>_0x19f3eb[_0x4f9b93(0xdb)](_0x255d02,_0x2eb8a0,{'field':_0x7518a0})),_0x19f3eb[_0x4f9b93(0x3d1)](_0x255d02,_0x2eb8a0,_0x42ade4,_0x38413e)]);}if(!_0x55bb7f||_0x25b43a[_0x4f9b93(0x131)]!==_0x4f9b93(0x300)&&_0x25b43a[_0x4f9b93(0x131)]!==_0x4f9b93(0x4b7))return _0x19f3eb[_0x4f9b93(0x3d1)](_0x255d02,_0x2eb8a0,_0x25b43a,_0x38413e);let _0x5567bb=_0x52a5e2(_0x55bb7f,_0x25b43a),_0x419776=_0x5567bb[_0x4f9b93(0x38c)]?{..._0x25b43a,'config':_0x5567bb[_0x4f9b93(0x21c)],'fieldOrder':_0x5567bb[_0x4f9b93(0x286)]??_0x25b43a[_0x4f9b93(0x286)]}:_0x25b43a;return _0x25b43a['type']===_0x4f9b93(0x4b7)&&_0x4f4451(_0x25b43a)&&(_0x419776=_0x477384(_0x55bb7f,_0x419776,_0x5567bb[_0x4f9b93(0x527)])),_0x22d022([..._0x5567bb[_0x4f9b93(0x527)]['map'](_0x51141a=>_0x19f3eb[_0x4f9b93(0xdb)](_0x255d02,_0x2eb8a0,{'field':_0x51141a})),_0x19f3eb[_0x4f9b93(0x3d1)](_0x255d02,_0x2eb8a0,_0x419776,_0x38413e)]);}function _0x52a5e2(_0x4b9ac1,_0xfcf076,_0x22acd7=!0x1){const _0x262cba=_0x5a0300;var _0x26d026,_0x5b7dd9;let _0x4f87a2=_0x4b9ac1[_0x262cba(0x286)][_0x262cba(0x22b)](_0x108666=>_0x5b6cd2(_0x4b9ac1,_0x108666)),_0x2cd286=[],_0x3a21f3={..._0xfcf076[_0x262cba(0x21c)]??{}},_0x1afaa6=typeof _0x3a21f3[_0x262cba(0x398)]=='string'&&_0x5b6cd2(_0x4b9ac1,_0x3a21f3['startDateFieldId'])?_0x3a21f3[_0x262cba(0x398)]:_0x4f87a2[0x0],_0x5f413c=typeof _0x3a21f3['endDateFieldId']==_0x262cba(0x220)&&_0x5b6cd2(_0x4b9ac1,_0x3a21f3[_0x262cba(0x145)])&&_0x3a21f3[_0x262cba(0x145)]!==_0x1afaa6?_0x3a21f3['endDateFieldId']:_0x4f87a2['find'](_0x2dc446=>_0x2dc446!==_0x1afaa6);if(!_0x1afaa6){let _0x25f82a=_0x59a465(_0x4b9ac1,_0x2cd286,_0xfcf076[_0x262cba(0x131)]===_0x262cba(0x4b7)?_0x262cba(0x435):_0x262cba(0x30b));_0x2cd286['push'](_0x25f82a),_0x1afaa6=_0x25f82a['id'];}if((_0xfcf076[_0x262cba(0x131)]==='gantt'||_0x22acd7)&&!_0x5f413c){let _0x1fdc7b=_0x59a465(_0x4b9ac1,_0x2cd286,_0x262cba(0x1b2));_0x2cd286['push'](_0x1fdc7b),_0x5f413c=_0x1fdc7b['id'];}_0xfcf076[_0x262cba(0x131)]===_0x262cba(0x300)&&!_0x5f413c&&delete _0x3a21f3[_0x262cba(0x145)],_0x3a21f3['startDateFieldId']=_0x1afaa6,_0xfcf076[_0x262cba(0x131)]===_0x262cba(0x300)&&_0x5f413c&&(_0x3a21f3[_0x262cba(0x145)]=_0x5f413c),_0xfcf076[_0x262cba(0x131)]===_0x262cba(0x4b7)&&(_0x3a21f3[_0x262cba(0x145)]=_0x5f413c??_0x1afaa6);let _0x548cc1=_0x4ba92e(_0xfcf076[_0x262cba(0x286)],_0x2cd286[_0x262cba(0x447)](_0x563a49=>_0x563a49['id']));return{'changed':_0x2cd286['length']>0x0||_0x3a21f3[_0x262cba(0x398)]!==((_0x26d026=_0xfcf076[_0x262cba(0x21c)])==null?void 0x0:_0x26d026['startDateFieldId'])||_0x3a21f3[_0x262cba(0x145)]!==((_0x5b7dd9=_0xfcf076[_0x262cba(0x21c)])==null?void 0x0:_0x5b7dd9[_0x262cba(0x145)])||!(!_0x548cc1||_0x5708b3['Tools']['diffValue'](_0x548cc1,_0xfcf076[_0x262cba(0x286)]??[])),'fields':_0x2cd286,'config':_0x3a21f3,'fieldOrder':_0x548cc1};}function _0x10e0fe(_0x11fef4,_0x3adad2){const _0x5d11d8=_0x5a0300;var _0x50e7e3;let _0x25babe=[],_0xb7aec5={..._0x3adad2[_0x5d11d8(0x21c)]??{}},_0x4b7571=typeof _0xb7aec5[_0x5d11d8(0x1a3)]==_0x5d11d8(0x220)&&_0x587cca(_0x11fef4,_0xb7aec5['groupFieldId'])?_0xb7aec5[_0x5d11d8(0x1a3)]:_0x11fef4[_0x5d11d8(0x286)][_0x5d11d8(0x1ab)](_0x2ca12a=>_0x587cca(_0x11fef4,_0x2ca12a));if(!_0x4b7571){let _0x344062=_0x31cf78(_0x11fef4,_0x25babe);_0x25babe[_0x5d11d8(0x4a3)](_0x344062),_0x4b7571=_0x344062['id'];}_0xb7aec5[_0x5d11d8(0x1a3)]=_0x4b7571;let _0x62bea6=_0x4ba92e(_0x3adad2[_0x5d11d8(0x286)],_0x25babe[_0x5d11d8(0x447)](_0x69ca15=>_0x69ca15['id']));return{'changed':_0x25babe[_0x5d11d8(0x211)]>0x0||_0xb7aec5[_0x5d11d8(0x1a3)]!==((_0x50e7e3=_0x3adad2[_0x5d11d8(0x21c)])==null?void 0x0:_0x50e7e3['groupFieldId'])||!(!_0x62bea6||_0x5708b3[_0x5d11d8(0x3d6)][_0x5d11d8(0x1db)](_0x62bea6,_0x3adad2[_0x5d11d8(0x286)]??[])),'fields':_0x25babe,'config':_0xb7aec5,'fieldOrder':_0x62bea6};}function _0x587cca(_0x1f161e,_0x1ac425){const _0xa082ef=_0x5a0300;let _0x563bfe=_0x1ac425?_0x1f161e['fields'][_0x1ac425]:null;return _0x563bfe?[_0x5708b3[_0xa082ef(0x2f3)][_0xa082ef(0x147)],_0x5708b3[_0xa082ef(0x2f3)][_0xa082ef(0x35d)],_0x5708b3[_0xa082ef(0x2f3)][_0xa082ef(0x3b5)],_0x5708b3[_0xa082ef(0x2f3)][_0xa082ef(0xc8)],_0x5708b3[_0xa082ef(0x2f3)][_0xa082ef(0x4ae)],_0x5708b3[_0xa082ef(0x2f3)][_0xa082ef(0x31c)]][_0xa082ef(0x248)](_0x563bfe[_0xa082ef(0x131)]):!0x1;}function _0x31cf78(_0x154877,_0x319943){const _0x18b6e0=_0x5a0300;return{'id':'fld-'+(0x0,_0x5708b3[_0x18b6e0(0x42d)])(0x8),'name':_0xce880c(_0x154877,_0x18b6e0(0x38f),_0x319943),'type':_0x5708b3['BaseFieldType'][_0x18b6e0(0x147)],'config':_0x5708b3[_0x18b6e0(0x3d6)][_0x18b6e0(0x251)](_0x3cd075)};}function _0x4f4451(_0x537613){const _0x3eca3a=_0x5a0300;return Object[_0x3eca3a(0x4dd)](_0x537613['config']??{})['length']===0x0&&Object['keys'](_0x537613[_0x3eca3a(0x25a)]??{})[_0x3eca3a(0x211)]===0x0;}function _0x477384(_0x194346,_0x25c508,_0x1fce91){const _0x322dd0=_0x5a0300;let _0x2e79ea={..._0x25c508[_0x322dd0(0x21c)]??{}},_0x5e3a45=_0x1fce91['map'](_0x44d005=>_0x44d005['id']),_0x2f2df2=[..._0x194346[_0x322dd0(0x286)],..._0x5e3a45],_0x29611d=typeof _0x2e79ea[_0x322dd0(0x2d1)]=='string'&&_0x33ff25(_0x194346,_0x1fce91,_0x2e79ea['titleFieldId'])?_0x2e79ea[_0x322dd0(0x2d1)]:_0x194346[_0x322dd0(0xf2)],_0x468688=typeof _0x2e79ea[_0x322dd0(0x398)]==_0x322dd0(0x220)?_0x2e79ea[_0x322dd0(0x398)]:'',_0x52ab09=typeof _0x2e79ea[_0x322dd0(0x145)]==_0x322dd0(0x220)?_0x2e79ea['endDateFieldId']:_0x468688,_0x2229db=new Set([_0x29611d,_0x468688,_0x52ab09]['filter'](_0x588886=>_0x588886&&_0x33ff25(_0x194346,_0x1fce91,_0x588886))),_0x3e9263=Object['fromEntries'](_0x2f2df2[_0x322dd0(0x375)](_0xc4e68f=>_0x2229db[_0x322dd0(0x4d4)](_0xc4e68f)||!_0x33ff25(_0x194346,_0x1fce91,_0xc4e68f)?[]:[[_0xc4e68f,{'hidden':!0x0}]]));return{..._0x25c508,'config':{..._0x2e79ea,'titleFieldId':_0x29611d},'fieldSettings':_0x3e9263};}function _0x33ff25(_0x400182,_0x5d1a77,_0x52ee68){const _0x3724a6=_0x5a0300;return!!(_0x400182[_0x3724a6(0x527)][_0x52ee68]??_0x5d1a77[_0x3724a6(0x1ab)](_0x4b9fb7=>_0x4b9fb7['id']===_0x52ee68))&&!0x0;}function _0x5b6cd2(_0x54ca5e,_0x6c1880){const _0x16336f=_0x5a0300;let _0x58e9a5=_0x6c1880?_0x54ca5e[_0x16336f(0x527)][_0x6c1880]:null;return!!_0x58e9a5&&_0x58e9a5[_0x16336f(0x131)]===_0x5708b3[_0x16336f(0x2f3)][_0x16336f(0x30b)]&&_0x58e9a5['readonly']!==!0x0&&_0x58e9a5['system']!==!0x0;}function _0x59a465(_0x402a19,_0x22902f,_0x16049c){const _0x1a1e23=_0x5a0300;let _0x147832=new Set([...Object['keys'](_0x402a19[_0x1a1e23(0x527)]),..._0x22902f['map'](_0x36a113=>_0x36a113['id'])]),_0x262808='fld-'+(0x0,_0x5708b3[_0x1a1e23(0x42d)])(0x8);for(;_0x147832['has'](_0x262808);)_0x262808='fld-'+(0x0,_0x5708b3[_0x1a1e23(0x42d)])(0x8);return{'id':_0x262808,'name':_0xce880c(_0x402a19,_0x16049c,_0x22902f),'type':_0x5708b3[_0x1a1e23(0x2f3)][_0x1a1e23(0x30b)],'config':{..._0x1f14ea}};}let _0x9d82c1={'id':_0x5a0300(0x437),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x284035,_0x4666b5)=>{const _0x4619be=_0x5a0300;if(!_0x4666b5)return!0x1;let _0x1c8785=_0x284035[_0x4619be(0x387)](_0x5708b3[_0x4619be(0x3b6)]),{unitId:_0x36f3b9,tableId:_0x23dfd9,view:_0x35e58a,index:_0x22a0f4}=_0x4666b5,_0x5e9ac3=_0x1c8785[_0x4619be(0x15c)](_0x36f3b9,_0x5708b3[_0x4619be(0x2b4)][_0x4619be(0x1f9)]);if(!_0x5e9ac3||!_0x11221f(_0x5e9ac3,_0x23dfd9)||_0x5e9ac3[_0x4619be(0x499)]()[_0x4619be(0x18e)][_0x23dfd9]['views'][_0x35e58a['id']])return!0x1;let _0x150bbf=_0x284035[_0x4619be(0x387)](_0x5708b3[_0x4619be(0x2db)]),_0x3598cc=_0x284035[_0x4619be(0x387)](_0x5708b3[_0x4619be(0x1bc)]),_0x5eeb11=_0x5e9ac3[_0x4619be(0x499)](),_0x3ca4ee=_0x2a99da(_0x5eeb11,_0x23dfd9,_0x35e58a,_0x22a0f4),_0x350c17=new _0x39599e()[_0x4619be(0x4a1)](_0x5eeb11,_0x3ca4ee),_0x135481={'historyAction':_0x4619be(0x154),'unitId':_0x36f3b9,'op':_0x3ca4ee,'viewType':_0x35e58a[_0x4619be(0x131)]},_0x5c0c2d={'historyAction':_0x4619be(0x101),'unitId':_0x36f3b9,'op':_0x350c17,'viewType':_0x35e58a[_0x4619be(0x131)]};return _0x150bbf[_0x4619be(0x160)](_0x44d218['id'],_0x135481)?(_0x1c8785[_0x4619be(0xcd)](_0x36f3b9),_0x3598cc[_0x4619be(0x2b8)]({'unitID':_0x36f3b9,'undoMutations':[{'id':_0x44d218['id'],'params':_0x5c0c2d}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x135481}]}),!0x0):!0x1;}},_0x2ebf0c={'id':_0x5a0300(0x380),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x5a3174,_0x42d9aa){const _0x7cf4ca=_0x5a0300;if(!_0x42d9aa)return!0x1;let _0xe5074f=_0x5a3174[_0x7cf4ca(0x387)](_0x5708b3['IUniverInstanceService']),{unitId:_0x49a58a,tableId:_0x4a476f,fieldId:_0x121eee}=_0x42d9aa,_0x2fe753=_0xe5074f['getUnit'](_0x49a58a,_0x5708b3[_0x7cf4ca(0x2b4)][_0x7cf4ca(0x1f9)]);if(!_0x2fe753)return!0x1;let _0x1c4366=_0x2fe753['getSnapshot'](),_0xd7511=_0x1c4366[_0x7cf4ca(0x18e)][_0x4a476f];if(!_0x11221f(_0x2fe753,_0x4a476f,{'fieldIds':[_0x121eee]})||_0xd7511[_0x7cf4ca(0xf2)]===_0x121eee||_0x121eee===_0x5708b3[_0x7cf4ca(0x3c2)])return!0x1;let _0x578767=_0x5a3174[_0x7cf4ca(0x387)](_0x5708b3[_0x7cf4ca(0x2db)]),_0x18adcb=_0x5a3174[_0x7cf4ca(0x387)](_0x5708b3['IUndoRedoService']),_0x5af1e0=new _0x108016()[_0x7cf4ca(0x129)](_0x1c4366,_0x4a476f,_0x121eee),_0x52f151=new _0x39599e()[_0x7cf4ca(0x4a1)](_0x1c4366,_0x5af1e0),_0x4c4d8b={'unitId':_0x49a58a,'op':_0x5af1e0},_0x2842f2={'unitId':_0x49a58a,'op':_0x52f151};return _0x578767[_0x7cf4ca(0x160)](_0x44d218['id'],_0x4c4d8b)?(_0xe5074f[_0x7cf4ca(0xcd)](_0x49a58a),_0x18adcb['pushUndoRedo']({'unitID':_0x49a58a,'undoMutations':[{'id':_0x44d218['id'],'params':_0x2842f2}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x4c4d8b}]}),!0x0):!0x1;}},_0x492b84={'id':_0x5a0300(0xe1),'type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler':(_0x2bc47b,_0x1f6cb1)=>{const _0x5e8a07=_0x5a0300;if(!_0x1f6cb1)return!0x1;let _0x3c8942=_0x2bc47b['get'](_0x5708b3[_0x5e8a07(0x3b6)]),{unitId:_0x3d9ae5,tableId:_0x4c5c30,recordId:_0x30772f}=_0x1f6cb1,_0x1fea40=_0x3c8942[_0x5e8a07(0x15c)](_0x3d9ae5,_0x5708b3[_0x5e8a07(0x2b4)]['UNIVER_BASE']);if(!_0x1fea40||!_0x11221f(_0x1fea40,_0x4c5c30,{'recordIds':[_0x30772f]}))return!0x1;let _0x4106d7=_0x2bc47b['get'](_0x5708b3['ICommandService']),_0x10e6b3=_0x2bc47b[_0x5e8a07(0x387)](_0x5708b3[_0x5e8a07(0x1bc)]),_0x896608=_0x1fea40[_0x5e8a07(0x499)](),_0x49ab3a=_0x31d0de(_0x896608['tables'][_0x4c5c30],[_0x30772f]),_0xfe60db=new _0x108016(),_0x1628da=new _0x39599e(),_0x34240e=_0xfe60db[_0x5e8a07(0x4fc)](_0x896608,_0x4c5c30,_0x30772f),_0xa35a82=_0x1628da[_0x5e8a07(0x118)](_0x896608,_0x34240e),_0x2c21a8=_0xfe60db['createDeleteRecordsUndoOp'](_0x896608,_0xa35a82,_0x4c5c30,[_0x30772f]),_0x32e55b={'unitId':_0x3d9ae5,'op':_0x34240e,'hierarchyChanges':_0x49ab3a,'source':_0x1f6cb1[_0x5e8a07(0x50d)]??'ui'},_0x43fe06={..._0x32e55b,'source':_0x5e8a07(0x473)},_0xb83fe3={'unitId':_0x3d9ae5,'op':_0x2c21a8,'hierarchyChanges':_0x49ab3a[_0x5e8a07(0x447)](_0x232cd6=>({..._0x232cd6,'oldParentRecordId':_0x232cd6['parentRecordId'],'parentRecordId':_0x232cd6[_0x5e8a07(0x180)]})),'source':_0x5e8a07(0x328)};return _0x4106d7[_0x5e8a07(0x160)](_0x44d218['id'],_0x32e55b)?(_0x3c8942[_0x5e8a07(0xcd)](_0x3d9ae5),_0x10e6b3['pushUndoRedo']({'unitID':_0x3d9ae5,'undoMutations':[{'id':_0x44d218['id'],'params':_0xb83fe3}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x43fe06}]}),!0x0):!0x1;}},_0x469890={'id':_0x5a0300(0x3a6),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x49090f,_0x447330)=>{const _0x2fc0af=_0x5a0300;if(!_0x447330)return!0x1;let _0x30b94c=_0x49090f[_0x2fc0af(0x387)](_0x5708b3[_0x2fc0af(0x3b6)]),{unitId:_0x1ccaaa,tableId:_0x230f10}=_0x447330,_0x5660c9=_0x30b94c[_0x2fc0af(0x15c)](_0x1ccaaa,_0x5708b3[_0x2fc0af(0x2b4)]['UNIVER_BASE']);if(!_0x5660c9||!_0x11221f(_0x5660c9,_0x230f10))return!0x1;let _0x5916e2=_0x49090f[_0x2fc0af(0x387)](_0x5708b3[_0x2fc0af(0x2db)]),_0x405676=_0x49090f[_0x2fc0af(0x387)](_0x5708b3[_0x2fc0af(0x1bc)]),_0x131ed5=_0x5660c9[_0x2fc0af(0x499)](),_0x283aeb=_0x2c9d26(_0x131ed5,_0x230f10);if(_0x283aeb[_0x2fc0af(0x211)]>0x0)return console[_0x2fc0af(0xd9)](_0x2fc0af(0x124)+_0x230f10+_0x2fc0af(0x239)+_0x283aeb[_0x2fc0af(0x447)](_0x538a63=>_0x538a63['tableId']+'.'+_0x538a63[_0x2fc0af(0x236)])[_0x2fc0af(0x212)](',\x20')+'.'),!0x1;let _0x44174a=new _0x108016()['deleteTable'](_0x131ed5,_0x230f10),_0x38f795=new _0x39599e()[_0x2fc0af(0x4a1)](_0x131ed5,_0x44174a),_0x1fd871={'unitId':_0x1ccaaa,'op':_0x44174a},_0x480e79={'unitId':_0x1ccaaa,'op':_0x38f795};return _0x5916e2[_0x2fc0af(0x160)](_0x44d218['id'],_0x1fd871)?(_0x30b94c[_0x2fc0af(0xcd)](_0x1ccaaa),_0x405676[_0x2fc0af(0x2b8)]({'unitID':_0x1ccaaa,'undoMutations':[{'id':_0x44d218['id'],'params':_0x480e79}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x1fd871}]}),!0x0):!0x1;}},_0x40af3b={'id':_0x5a0300(0x2dc),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0xdc593b,_0x1cf2ab)=>{const _0x10d13d=_0x5a0300;if(!_0x1cf2ab)return!0x1;let _0x420891=_0xdc593b[_0x10d13d(0x387)](_0x5708b3[_0x10d13d(0x3b6)]),{unitId:_0x526a43,tableId:_0x2dcb73,viewId:_0x5b583d}=_0x1cf2ab,_0x4919a1=_0x420891[_0x10d13d(0x15c)](_0x526a43,_0x5708b3[_0x10d13d(0x2b4)][_0x10d13d(0x1f9)]);if(!_0x4919a1||!_0x11221f(_0x4919a1,_0x2dcb73,{'viewIds':[_0x5b583d]}))return!0x1;let _0x457a3e=_0xdc593b[_0x10d13d(0x387)](_0x5708b3[_0x10d13d(0x2db)]),_0x25cec3=_0xdc593b[_0x10d13d(0x387)](_0x5708b3[_0x10d13d(0x1bc)]),_0x125472=_0x4919a1[_0x10d13d(0x499)](),_0x4af7d9=_0x125472[_0x10d13d(0x18e)][_0x2dcb73]['views'][_0x5b583d]['type'],_0x824497=new _0x108016()[_0x10d13d(0x310)](_0x125472,_0x2dcb73,_0x5b583d),_0x47ff95=new _0x39599e()[_0x10d13d(0x4a1)](_0x125472,_0x824497),_0x5c1a01={'historyAction':_0x10d13d(0x101),'unitId':_0x526a43,'op':_0x824497,'viewType':_0x4af7d9},_0x593da6={'historyAction':_0x10d13d(0x154),'unitId':_0x526a43,'op':_0x47ff95,'viewType':_0x4af7d9};return _0x457a3e[_0x10d13d(0x160)](_0x44d218['id'],_0x5c1a01)?(_0x420891['focusUnit'](_0x526a43),_0x25cec3[_0x10d13d(0x2b8)]({'unitID':_0x526a43,'undoMutations':[{'id':_0x44d218['id'],'params':_0x593da6}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x5c1a01}]}),!0x0):!0x1;}},_0x4f43b6={'id':_0x5a0300(0x22a),'type':_0x5708b3[_0x5a0300(0x40e)]['COMMAND'],'handler':(_0xd8cf6,_0x171b36)=>{const _0xfff89e=_0x5a0300;if(!_0x171b36)return!0x1;let _0x4b7b58=_0xd8cf6[_0xfff89e(0x387)](_0x5708b3[_0xfff89e(0x3b6)]),{unitId:_0x230032,tableId:_0x572ed4,sourceFieldId:_0x19b818,field:_0x4067cf,index:_0x1caf9a,viewIndexes:_0x4de7f4}=_0x171b36,_0x41d41b=_0x4b7b58['getUnit'](_0x230032,_0x5708b3['UniverInstanceType']['UNIVER_BASE']);if(!_0x41d41b||!_0x11221f(_0x41d41b,_0x572ed4,{'fieldIds':[_0x19b818]})||_0x19b818===_0x5708b3['BASE_RECORD_ID_FIELD_ID']||_0x41d41b[_0xfff89e(0x499)]()[_0xfff89e(0x18e)][_0x572ed4][_0xfff89e(0x527)][_0x4067cf['id']]||_0x1caf9a===0x0||!_0x33c3bc(_0x41d41b,_0x572ed4,_0x4067cf))return!0x1;let _0x20c193=_0xd8cf6[_0xfff89e(0x387)](_0x5708b3['ICommandService']),_0x441bbd=_0xd8cf6[_0xfff89e(0x387)](_0x5708b3['IUndoRedoService']),_0x3f83f0=_0x41d41b[_0xfff89e(0x499)](),_0x2d1c75=new _0x108016()['duplicateField'](_0x3f83f0,_0x572ed4,_0x19b818,{'field':_0x4067cf,'index':_0x1caf9a,'viewIndexes':_0x4de7f4}),_0x254fc5=new _0x39599e()[_0xfff89e(0x4a1)](_0x3f83f0,_0x2d1c75),_0x47ac0c={'unitId':_0x230032,'op':_0x2d1c75},_0x33e4da={'unitId':_0x230032,'op':_0x254fc5};return _0x20c193[_0xfff89e(0x160)](_0x44d218['id'],_0x47ac0c)?(_0x4b7b58['focusUnit'](_0x230032),_0x441bbd[_0xfff89e(0x2b8)]({'unitID':_0x230032,'undoMutations':[{'id':_0x44d218['id'],'params':_0x33e4da}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x47ac0c}]}),!0x0):!0x1;}},_0x3c0276={'id':_0x5a0300(0x4bd),'type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler':(_0xf4e128,_0x12b7d8)=>{const _0x494e4b=_0x5a0300;if(!_0x12b7d8)return!0x1;let _0x153580=_0xf4e128[_0x494e4b(0x387)](_0x5708b3['IUniverInstanceService']),{unitId:_0x372107,tableId:_0x1353f5,sourceRecordId:_0x1de9d3,record:_0x546a3d}=_0x12b7d8,_0xdb1b1d=_0x153580['getUnit'](_0x372107,_0x5708b3[_0x494e4b(0x2b4)][_0x494e4b(0x1f9)]);if(!_0xdb1b1d||!_0x11221f(_0xdb1b1d,_0x1353f5,{'recordIds':[_0x1de9d3]})||!_0x1bd3b9(_0xdb1b1d,_0x1353f5,_0x546a3d))return!0x1;let _0x1bd244=_0xf4e128['get'](_0x5708b3[_0x494e4b(0x2db)]),_0x42726d=_0xf4e128[_0x494e4b(0x387)](_0x5708b3[_0x494e4b(0x1bc)]),_0x1ee7a6=_0xdb1b1d[_0x494e4b(0x499)](),_0x21b157=_0x40039c(_0x546a3d),_0xc3a99a=_0x5eb2ae(_0x1ee7a6['tables'][_0x1353f5],[_0x21b157]),_0x181557=new _0x108016()[_0x494e4b(0xd3)](_0x1ee7a6,_0x1353f5,_0x1de9d3,_0x21b157),_0x15c02b=new _0x39599e()[_0x494e4b(0x4a1)](_0x1ee7a6,_0x181557),_0x31ec8d={'unitId':_0x372107,'op':_0x181557,'hierarchyChanges':_0xc3a99a[_0x494e4b(0x211)]?_0xc3a99a:void 0x0,'source':_0xc3a99a[_0x494e4b(0x211)]?_0x12b7d8[_0x494e4b(0x50d)]??'ui':void 0x0},_0x17a6e7={..._0x31ec8d,'source':_0xc3a99a[_0x494e4b(0x211)]?'redo':void 0x0},_0x5f237b={'unitId':_0x372107,'op':_0x15c02b,'hierarchyChanges':_0xc3a99a['length']?_0xc3a99a[_0x494e4b(0x447)](_0x77bdd2=>({..._0x77bdd2,'oldParentRecordId':_0x77bdd2[_0x494e4b(0x4af)],'parentRecordId':null})):void 0x0,'source':_0xc3a99a[_0x494e4b(0x211)]?_0x494e4b(0x328):void 0x0};return _0x1bd244[_0x494e4b(0x160)](_0x44d218['id'],_0x31ec8d)?(_0x153580[_0x494e4b(0xcd)](_0x372107),_0x42726d[_0x494e4b(0x2b8)]({'unitID':_0x372107,'undoMutations':[{'id':_0x44d218['id'],'params':_0x5f237b}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x17a6e7}]}),!0x0):!0x1;}},_0xdb4dfc={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x58d2a1,_0x69cfb3){const _0x3d9a7d=_0x5a0300;if(!_0x69cfb3)return!0x1;let _0x33502d=_0x58d2a1[_0x3d9a7d(0x387)](_0x5708b3[_0x3d9a7d(0x3b6)]),{unitId:_0x3a2a9c,tableId:_0x2c294c,viewId:_0x4d1b7f,ensureEndDateField:_0x5bb8e5}=_0x69cfb3,_0x451989=_0x33502d[_0x3d9a7d(0x15c)](_0x3a2a9c,_0x5708b3['UniverInstanceType'][_0x3d9a7d(0x1f9)]);if(!_0x451989||!_0x11221f(_0x451989,_0x2c294c,{'viewIds':[_0x4d1b7f]}))return!0x1;let _0x1fd8a6=_0x451989[_0x3d9a7d(0x499)](),_0x26a733=_0x1fd8a6['tables'][_0x2c294c],_0x531aee=_0x26a733==null?void 0x0:_0x26a733[_0x3d9a7d(0x255)][_0x4d1b7f];if(!_0x26a733||!_0x531aee||_0x531aee[_0x3d9a7d(0x131)]!==_0x3d9a7d(0x300)&&_0x531aee[_0x3d9a7d(0x131)]!==_0x3d9a7d(0x4b7))return!0x1;let _0x4fcc1f=_0x52a5e2(_0x26a733,_0x531aee,_0x5bb8e5===!0x0);if(!_0x4fcc1f[_0x3d9a7d(0x38c)])return!0x1;let _0x2e2ffa=_0x58d2a1['get'](_0x5708b3[_0x3d9a7d(0x2db)]),_0x2aec16=_0x58d2a1['get'](_0x5708b3[_0x3d9a7d(0x1bc)]),_0x2bcf0b=new _0x108016(),_0xb347ac=[..._0x4fcc1f[_0x3d9a7d(0x527)][_0x3d9a7d(0x447)](_0x41b47c=>_0x2bcf0b[_0x3d9a7d(0xdb)](_0x1fd8a6,_0x69cfb3[_0x3d9a7d(0x40f)],{'field':_0x41b47c})),_0x5e0cbc([..._0x653b80(_0x69cfb3[_0x3d9a7d(0x40f)],_0x69cfb3[_0x3d9a7d(0xee)]),_0x3d9a7d(0x21c)],_0x531aee[_0x3d9a7d(0x21c)],_0x4fcc1f[_0x3d9a7d(0x21c)])];_0x4fcc1f[_0x3d9a7d(0x286)]&&_0xb347ac[_0x3d9a7d(0x4a3)](_0x5e0cbc([..._0x653b80(_0x69cfb3[_0x3d9a7d(0x40f)],_0x69cfb3[_0x3d9a7d(0xee)]),_0x3d9a7d(0x286)],_0x531aee[_0x3d9a7d(0x286)],_0x4fcc1f[_0x3d9a7d(0x286)]));let _0x328a50=_0x22d022(_0xb347ac),_0x3baff7=new _0x39599e()[_0x3d9a7d(0x4a1)](_0x1fd8a6,_0x328a50),_0x1a3057={'unitId':_0x3a2a9c,'op':_0x328a50},_0x315bee={'unitId':_0x3a2a9c,'op':_0x3baff7};return _0x2e2ffa[_0x3d9a7d(0x160)](_0x44d218['id'],_0x1a3057)?(_0x33502d[_0x3d9a7d(0xcd)](_0x3a2a9c),_0x2aec16[_0x3d9a7d(0x2b8)]({'unitID':_0x3a2a9c,'undoMutations':[{'id':_0x44d218['id'],'params':_0x315bee}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x1a3057}]}),!0x0):!0x1;}};function _0x5e0cbc(_0x59b8c3,_0x1f7347,_0x2fd88e){const _0x1b0d5d=_0x5a0300;return _0x1f7347===void 0x0?_0x5708b3[_0x1b0d5d(0x21b)][_0x1b0d5d(0x1fc)](_0x59b8c3,_0x2fd88e):_0x5708b3[_0x1b0d5d(0x21b)][_0x1b0d5d(0x1a0)](_0x59b8c3,_0x1f7347,_0x2fd88e);}function _0x653b80(_0x3ea197,_0x3a7530){const _0x3e7cbc=_0x5a0300;return['tables',_0x3ea197,_0x3e7cbc(0x255),_0x3a7530];}let _0x307c2d={'id':_0x5a0300(0x377),'type':_0x5708b3[_0x5a0300(0x40e)]['COMMAND'],'handler':(_0x1b2063,_0x4339c4)=>{const _0xa4dc22=_0x5a0300;if(!_0x4339c4)return!0x1;let _0x21f251=_0x1b2063[_0xa4dc22(0x387)](_0x5708b3[_0xa4dc22(0x3b6)]),{unitId:_0xe49cf3,tableId:_0x19cfc6,fieldId:_0x259872,target:_0x3845f3}=_0x4339c4,_0x21dd64=_0x21f251['getUnit'](_0xe49cf3,_0x5708b3[_0xa4dc22(0x2b4)][_0xa4dc22(0x1f9)]),_0x22ec62=_0x3845f3['beforeFieldId']??_0x3845f3['afterFieldId'];if(!_0x21dd64||!!_0x3845f3[_0xa4dc22(0x166)]==!!_0x3845f3[_0xa4dc22(0x107)]||!_0x22ec62||_0x22ec62===_0x259872||_0x259872===_0x5708b3[_0xa4dc22(0x3c2)]||_0x3845f3[_0xa4dc22(0x166)]===_0x5708b3[_0xa4dc22(0x3c2)]||!_0x11221f(_0x21dd64,_0x19cfc6,{'fieldIds':[_0x259872,_0x22ec62]}))return!0x1;let _0x3f6605=_0x1b2063[_0xa4dc22(0x387)](_0x5708b3[_0xa4dc22(0x2db)]),_0x12fd0f=_0x1b2063[_0xa4dc22(0x387)](_0x5708b3[_0xa4dc22(0x1bc)]),_0x2fd898=_0x21dd64['getSnapshot'](),_0x3c182e=new _0x108016()[_0xa4dc22(0x309)](_0x2fd898,_0x19cfc6,_0x259872,_0x3845f3),_0x45d044=new _0x39599e()[_0xa4dc22(0x4a1)](_0x2fd898,_0x3c182e),_0x524386={'unitId':_0xe49cf3,'op':_0x3c182e},_0x2ffee9={'unitId':_0xe49cf3,'op':_0x45d044};return _0x3f6605[_0xa4dc22(0x160)](_0x44d218['id'],_0x524386)?(_0x21f251['focusUnit'](_0xe49cf3),_0x12fd0f[_0xa4dc22(0x2b8)]({'unitID':_0xe49cf3,'undoMutations':[{'id':_0x44d218['id'],'params':_0x2ffee9}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x524386}]}),!0x0):!0x1;}},_0x1671e9={'id':'base.command.move-base-hierarchy-record','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x3b4225,_0x2c7790)=>{const _0xda7627=_0x5a0300;var _0x41619d;if(!_0x2c7790)return!0x1;let {unitId:_0x5566f5,tableId:_0x1545ae,recordId:_0x212be9,parentRecordId:_0x33fd2d,orderKey:_0x2f1444}=_0x2c7790,_0x10426a=_0x3b4225[_0xda7627(0x387)](_0x5708b3[_0xda7627(0x3b6)]),_0x2c750c=_0x10426a[_0xda7627(0x15c)](_0x5566f5,_0x5708b3[_0xda7627(0x2b4)]['UNIVER_BASE']);if(!_0x2c750c||!_0x11221f(_0x2c750c,_0x1545ae,{'recordIds':[_0x212be9,..._0x33fd2d?[_0x33fd2d]:[]]}))throw new _0x3e2468(_0xda7627(0x4d5));let _0x24c641=_0x2c750c['getSnapshot'](),_0x3950bf=_0x24c641[_0xda7627(0x18e)][_0x1545ae],_0xb38dca=_0x13f8f5(_0x3950bf),_0x406309=_0xb38dca??_0x2c7790[_0xda7627(0x236)]??_0x572b51(_0x3950bf);if(_0xb38dca&&_0x2c7790[_0xda7627(0x236)]&&_0x2c7790['fieldId']!==_0xb38dca||_0x3950bf[_0xda7627(0x527)][_0x406309]&&!_0x40aa86(_0x3950bf,_0x406309))throw new _0x3e2468(_0xda7627(0x1f6));let _0x2ea02c=_0x3fc285(_0x3950bf,_0x406309),_0x5f1a7d=_0x173b14(_0x2ea02c,_0x212be9,_0x33fd2d);if(!_0x5f1a7d['valid'])throw new _0x3e2468(_0x5f1a7d[_0xda7627(0x2a9)]===_0x5708b3['BaseHierarchyInvalidReason'][_0xda7627(0x17a)]?_0xda7627(0x11d):_0x5f1a7d[_0xda7627(0x2a9)]===_0x5708b3[_0xda7627(0x3c3)]['Cycle']?_0xda7627(0x470):_0xda7627(0x19f));let _0x126334=_0x2ea02c[_0xda7627(0x4c1)][_0xda7627(0x387)](_0x212be9)??null,_0x360f6d=_0x3950bf[_0xda7627(0x457)][_0x212be9]['orderKey'];if(_0x126334===_0x33fd2d&&(_0x2f1444===void 0x0||_0x2f1444===_0x360f6d))return!0x0;let _0xdb2eec=_0x126334!==_0x33fd2d,_0x3d5347=_0x2f1444!==void 0x0&&_0x2f1444!==_0x360f6d,_0x5c1eb1=new _0x108016(),_0x2df615=[],_0x359d=_0x3950bf[_0xda7627(0x527)][_0x406309],_0x578431=_0xdb2eec&&(!_0x359d||((_0x41619d=_0x4f0b6a(_0x359d))==null?void 0x0:_0x41619d[_0xda7627(0x3f5)])!==_0x5708b3[_0xda7627(0x2be)][_0xda7627(0x441)])?_0x359d?_0x5c1eb1['updateField'](_0x24c641,_0x1545ae,_0x406309,{'config':{..._0x359d[_0xda7627(0x21c)],'relationRole':_0x5708b3['BaseRecordLinkRole'][_0xda7627(0x441)]}}):_0x3b4225[_0xda7627(0x387)](_0x104536)[_0xda7627(0x2b1)](_0x2c750c,_0x1545ae,_0x54f67e(_0x3950bf,_0x406309,_0x2c7790[_0xda7627(0x485)]),_0x3950bf[_0xda7627(0x286)]['length']):null;_0x578431&&_0x2df615[_0xda7627(0x4a3)](_0x578431),_0xdb2eec&&_0x2df615[_0xda7627(0x4a3)](_0x5c1eb1[_0xda7627(0x2ec)](_0x24c641,_0x1545ae,_0x212be9,_0x406309,_0x33fd2d?_0x42b6ec([_0x33fd2d]):'')),_0x3d5347&&_0x2df615[_0xda7627(0x4a3)](_0x5c1eb1[_0xda7627(0x16d)](_0x24c641,_0x1545ae,_0x212be9,_0x2f1444));let _0x3178dc=_0x22d022(_0x2df615),_0x4d520a={'tableId':_0x1545ae,'fieldId':_0x406309,'recordId':_0x212be9,'oldParentRecordId':_0x126334,'parentRecordId':_0x33fd2d},_0x226519={'unitId':_0x5566f5,'op':_0x3178dc,'trigger':_0x1671e9['id'],'hierarchyChanges':[_0x4d520a],'source':_0x2c7790[_0xda7627(0x50d)]??'ui'},_0x1f292b={..._0x226519,'source':_0xda7627(0x473)};if(!_0x3b4225[_0xda7627(0x387)](_0x5708b3['ICommandService'])[_0xda7627(0x160)](_0x44d218['id'],_0x226519))return!0x1;let _0x808367=_0x2c750c[_0xda7627(0x499)](),_0x4b5273=[];_0xdb2eec&&_0x4b5273[_0xda7627(0x4a3)](_0x167298(_0x808367,_0x24c641,_0x1545ae,_0x212be9,_0x406309)),_0x3d5347&&_0x4b5273[_0xda7627(0x4a3)](_0x4c1934(_0x808367,_0x24c641,_0x1545ae,_0x212be9)),_0x578431&&_0x4b5273[_0xda7627(0x4a3)](new _0x39599e()[_0xda7627(0x4a1)](_0x24c641,_0x578431));let _0x3aa419={'unitId':_0x5566f5,'op':_0x22d022(_0x4b5273),'trigger':_0x1671e9['id'],'hierarchyChanges':[{..._0x4d520a,'oldParentRecordId':_0x33fd2d,'parentRecordId':_0x126334}],'source':_0xda7627(0x328)};return _0x10426a[_0xda7627(0xcd)](_0x5566f5),_0x3b4225['get'](_0x5708b3['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x5566f5,'undoMutations':[{'id':_0x44d218['id'],'params':_0x3aa419}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x1f292b}]}),!0x0;}};function _0x167298(_0x3fea95,_0x1dcf3b,_0x2ed2b2,_0x119e17,_0x13afc9){const _0x234698=_0x5a0300;var _0x1f9ec4,_0xecf9af,_0x4258f4,_0x58393a,_0x50659e,_0x5f5810,_0xa63f21,_0x2db8ff;let _0x4b85fb=_0x3fea95[_0x234698(0x18e)][_0x2ed2b2],_0x52c5b9=_0x1dcf3b[_0x234698(0x18e)][_0x2ed2b2],_0x49a89e=(_0x1f9ec4=_0x4b85fb[_0x234698(0x1eb)])==null?void 0x0:_0x1f9ec4[_0x119e17],_0x598923=(_0xecf9af=_0x4b85fb['colIndex'])==null?void 0x0:_0xecf9af[_0x13afc9],_0x4f4198=(_0x4258f4=_0x52c5b9['rowIndex'])==null?void 0x0:_0x4258f4[_0x119e17],_0x1fae3b=(_0x58393a=_0x52c5b9['colIndex'])==null?void 0x0:_0x58393a[_0x13afc9],_0x1b8032=_0x49a89e==null||_0x598923==null||(_0x50659e=_0x4b85fb[_0x234698(0x497)])==null||(_0x50659e=_0x50659e[_0x49a89e])==null?void 0x0:_0x50659e[_0x598923],_0x15531a=_0x4f4198==null||_0x1fae3b==null||(_0x5f5810=_0x52c5b9[_0x234698(0x497)])==null||(_0x5f5810=_0x5f5810[_0x4f4198])==null?void 0x0:_0x5f5810[_0x1fae3b],_0x228172=(_0xa63f21=_0x4b85fb[_0x234698(0x457)][_0x119e17])==null?void 0x0:_0xa63f21[_0x234698(0x253)][_0x13afc9],_0x11b22=(_0x2db8ff=_0x52c5b9[_0x234698(0x457)][_0x119e17])==null?void 0x0:_0x2db8ff[_0x234698(0x253)][_0x13afc9],_0x4f4943=[],_0x29f524=_0xeb15a7(_0x49a89e==null||_0x598923==null?null:_0x1d14ea[_0x234698(0x497)](_0x2ed2b2,_0x49a89e,_0x598923),_0x1b8032,_0x15531a);_0x29f524&&_0x4f4943[_0x234698(0x4a3)](_0x29f524);let _0x5a2786=_0xeb15a7(_0x1d14ea[_0x234698(0x1f1)](_0x2ed2b2,_0x119e17,_0x13afc9),_0x228172,_0x11b22);return _0x5a2786&&_0x4f4943[_0x234698(0x4a3)](_0x5a2786),_0x22d022(_0x4f4943);}function _0x4c1934(_0x2e9090,_0x16cc91,_0x896040,_0x2b0ef3){const _0x118c4e=_0x5a0300;var _0x32f941,_0x435a0e;let _0x18f8c2=_0x2e9090[_0x118c4e(0x18e)][_0x896040],_0x30aceb=_0x16cc91[_0x118c4e(0x18e)][_0x896040];return _0x22d022([_0xeb15a7([..._0x1d14ea[_0x118c4e(0x4fb)](_0x896040,_0x2b0ef3),_0x118c4e(0x1c8)],(_0x32f941=_0x18f8c2[_0x118c4e(0x457)][_0x2b0ef3])==null?void 0x0:_0x32f941[_0x118c4e(0x1c8)],(_0x435a0e=_0x30aceb[_0x118c4e(0x457)][_0x2b0ef3])==null?void 0x0:_0x435a0e[_0x118c4e(0x1c8)]),_0xeb15a7([..._0x1d14ea[_0x118c4e(0x294)](_0x896040),_0x118c4e(0x317)],_0x18f8c2[_0x118c4e(0x317)],_0x30aceb[_0x118c4e(0x317)])][_0x118c4e(0x22b)](_0x3c2bf7=>!!_0x3c2bf7));}function _0xeb15a7(_0x1b11d9,_0x8e506f,_0x1eb109){const _0x4be726=_0x5a0300;if(!_0x1b11d9||_0x8e506f===void 0x0&&_0x1eb109===void 0x0)return null;let _0x1b72a2=_0x5708b3[_0x4be726(0x3cf)]['getInstance']();return _0x1eb109===void 0x0?_0x1b72a2[_0x4be726(0x4c0)](_0x1b11d9,_0x8e506f):_0x8e506f===void 0x0?_0x1b72a2['insertOp'](_0x1b11d9,_0x1eb109):_0x1b72a2[_0x4be726(0x1a0)](_0x1b11d9,_0x8e506f,_0x1eb109);}let _0x5021a3={'id':'base.command.move-base-view','type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler':(_0x448f97,_0x1bbb6c)=>{const _0x1ea318=_0x5a0300;if(!_0x1bbb6c)return!0x1;let _0x528353=_0x448f97['get'](_0x5708b3[_0x1ea318(0x3b6)]),{unitId:_0x50c4f7,tableId:_0x53fedc,viewId:_0x5ca17d,target:_0x184fba}=_0x1bbb6c,_0xf0e054=_0x528353[_0x1ea318(0x15c)](_0x50c4f7,_0x5708b3[_0x1ea318(0x2b4)]['UNIVER_BASE']),_0x11d921=_0x184fba[_0x1ea318(0x4d0)]??_0x184fba[_0x1ea318(0x3b8)];if(!_0xf0e054||!_0x11d921||_0x11d921===_0x5ca17d||!_0x11221f(_0xf0e054,_0x53fedc,{'viewIds':[_0x5ca17d,_0x11d921]}))return!0x1;let _0x329526=_0x448f97[_0x1ea318(0x387)](_0x5708b3[_0x1ea318(0x2db)]),_0x56605f=_0x448f97[_0x1ea318(0x387)](_0x5708b3[_0x1ea318(0x1bc)]),_0x129133=_0xf0e054[_0x1ea318(0x499)](),_0x36953f=new _0x108016()['moveView'](_0x129133,_0x53fedc,_0x5ca17d,_0x184fba),_0x315e75=new _0x39599e()[_0x1ea318(0x4a1)](_0x129133,_0x36953f),_0xcbbbf1={'unitId':_0x50c4f7,'op':_0x36953f},_0xa37bdb={'unitId':_0x50c4f7,'op':_0x315e75};return _0x329526[_0x1ea318(0x160)](_0x44d218['id'],_0xcbbbf1)?(_0x528353['focusUnit'](_0x50c4f7),_0x56605f[_0x1ea318(0x2b8)]({'unitID':_0x50c4f7,'undoMutations':[{'id':_0x44d218['id'],'params':_0xa37bdb}],'redoMutations':[{'id':_0x44d218['id'],'params':_0xcbbbf1}]}),!0x0):!0x1;}},_0x3c0445={'id':_0x5a0300(0x117),'type':_0x5708b3[_0x5a0300(0x40e)]['COMMAND'],'handler':(_0x895c32,_0x2d76b0)=>{const _0x5a46ba=_0x5a0300;if(!_0x2d76b0)return!0x1;let _0x1ceeb1=_0x895c32[_0x5a46ba(0x387)](_0x5708b3['IUniverInstanceService']),{unitId:_0x4a6836,tableId:_0x659aed,name:_0x5e3ca7}=_0x2d76b0,_0x292251=_0x1ceeb1[_0x5a46ba(0x15c)](_0x4a6836,_0x5708b3[_0x5a46ba(0x2b4)][_0x5a46ba(0x1f9)]);if(!_0x292251||!_0x11221f(_0x292251,_0x659aed)||!_0x2b0e4a(_0x292251[_0x5a46ba(0x499)](),_0x5e3ca7,_0x659aed)[_0x5a46ba(0x150)])return!0x1;let _0x5720aa=_0x895c32['get'](_0x5708b3[_0x5a46ba(0x2db)]),_0xe3ae44=_0x895c32['get'](_0x5708b3[_0x5a46ba(0x1bc)]),_0x31af28=_0x292251['getSnapshot'](),_0xa1d29=new _0x108016()['renameTable'](_0x31af28,_0x659aed,_0x5e3ca7),_0x3f1ece=new _0x39599e()[_0x5a46ba(0x4a1)](_0x31af28,_0xa1d29),_0x830b3e={'unitId':_0x4a6836,'op':_0xa1d29},_0x156a36={'unitId':_0x4a6836,'op':_0x3f1ece};return _0x5720aa[_0x5a46ba(0x160)](_0x44d218['id'],_0x830b3e)?(_0x1ceeb1['focusUnit'](_0x4a6836),_0xe3ae44[_0x5a46ba(0x2b8)]({'unitID':_0x4a6836,'undoMutations':[{'id':_0x44d218['id'],'params':_0x156a36}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x830b3e}]}),!0x0):!0x1;}},_0x48408f={'id':_0x5a0300(0x2b3),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x5b4317,_0x340e07)=>{const _0x4cdc20=_0x5a0300;if(!_0x340e07)return!0x1;let _0x2f0efe=_0x5b4317[_0x4cdc20(0x387)](_0x5708b3[_0x4cdc20(0x3b6)]),{unitId:_0x53a0e9,tableId:_0x2abf05,viewId:_0x472ef2,name:_0x48d20b}=_0x340e07,_0x46196e=_0x2f0efe[_0x4cdc20(0x15c)](_0x53a0e9,_0x5708b3[_0x4cdc20(0x2b4)]['UNIVER_BASE']);if(!_0x46196e||!_0x11221f(_0x46196e,_0x2abf05,{'viewIds':[_0x472ef2]}))return!0x1;let _0x561913=_0x5b4317[_0x4cdc20(0x387)](_0x5708b3[_0x4cdc20(0x2db)]),_0x2f2088=_0x5b4317[_0x4cdc20(0x387)](_0x5708b3['IUndoRedoService']),_0x557d2e=_0x46196e[_0x4cdc20(0x499)](),_0x156948=new _0x108016()[_0x4cdc20(0xd7)](_0x557d2e,_0x2abf05,_0x472ef2,_0x48d20b),_0x127e24=new _0x39599e()[_0x4cdc20(0x4a1)](_0x557d2e,_0x156948),_0x484fe4={'unitId':_0x53a0e9,'op':_0x156948},_0x47d9bf={'unitId':_0x53a0e9,'op':_0x127e24};return _0x561913[_0x4cdc20(0x160)](_0x44d218['id'],_0x484fe4)?(_0x2f0efe['focusUnit'](_0x53a0e9),_0x2f2088[_0x4cdc20(0x2b8)]({'unitID':_0x53a0e9,'undoMutations':[{'id':_0x44d218['id'],'params':_0x47d9bf}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x484fe4}]}),!0x0):!0x1;}},_0x47f28a={'id':_0x5a0300(0x2bf),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x54f9f5,_0x87b1ba)=>{const _0x112f9d=_0x5a0300;if(!_0x87b1ba)return!0x1;let _0x5f5ac7=_0x54f9f5[_0x112f9d(0x387)](_0x5708b3[_0x112f9d(0x3b6)]),{unitId:_0x5d424f,tableId:_0x296f23,viewId:_0x383440,fieldId:_0x43da00}=_0x87b1ba,_0x5f4452=_0x5f5ac7[_0x112f9d(0x15c)](_0x5d424f,_0x5708b3[_0x112f9d(0x2b4)][_0x112f9d(0x1f9)]);if(!_0x5f4452||!_0x11221f(_0x5f4452,_0x296f23,{'viewIds':[_0x383440],'fieldIds':[_0x43da00]}))return!0x1;let _0x30e58e=_0x54f9f5[_0x112f9d(0x387)](_0x5708b3['ICommandService']),_0x3bef73=_0x54f9f5[_0x112f9d(0x387)](_0x5708b3[_0x112f9d(0x1bc)]),_0x3f2c1c=_0x5f4452[_0x112f9d(0x499)](),_0x4a997e=new _0x108016()[_0x112f9d(0x39c)](_0x3f2c1c,_0x296f23,_0x383440,{'groupFieldId':_0x43da00}),_0x240897=new _0x39599e()[_0x112f9d(0x4a1)](_0x3f2c1c,_0x4a997e),_0x384c7a={'unitId':_0x5d424f,'op':_0x4a997e},_0x44a546={'unitId':_0x5d424f,'op':_0x240897};return _0x30e58e[_0x112f9d(0x160)](_0x44d218['id'],_0x384c7a)?(_0x5f5ac7['focusUnit'](_0x5d424f),_0x3bef73[_0x112f9d(0x2b8)]({'unitID':_0x5d424f,'undoMutations':[{'id':_0x44d218['id'],'params':_0x44a546}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x384c7a}]}),!0x0):!0x1;}},_0x5b4a16={'id':_0x5a0300(0x27c),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x2dd9f6,_0x3f0c59)=>{const _0x27e5ce=_0x5a0300;if(!_0x3f0c59)return!0x1;let _0x121d0d=_0x2dd9f6['get'](_0x5708b3[_0x27e5ce(0x3b6)]),_0x497740=_0x121d0d[_0x27e5ce(0x15c)](_0x3f0c59['unitId'],_0x5708b3[_0x27e5ce(0x2b4)][_0x27e5ce(0x1f9)]);if(!_0x497740)return!0x1;let _0x88c9c1=_0x497740['getSnapshot']()[_0x27e5ce(0x3b4)];if(_0x88c9c1===_0x3f0c59[_0x27e5ce(0x3b4)])return!0x0;let _0x447f56=new _0x108016(),_0x375928=new _0x39599e(),_0xb77d62=[],_0x53cb21=[],_0x1497cf=[_0x497740,..._0x121d0d['getAllUnitsForType'](_0x5708b3[_0x27e5ce(0x2b4)][_0x27e5ce(0x1f9)])[_0x27e5ce(0x22b)](_0x18e4b1=>_0x18e4b1[_0x27e5ce(0x247)]()!==_0x3f0c59['unitId'])];for(let _0x5901f4 of _0x1497cf){let _0x52edbc=_0x5901f4[_0x27e5ce(0x499)](),_0x17bb7d=_0x5901f4===_0x497740?_0x447f56[_0x27e5ce(0x1e8)](_0x52edbc,_0x3f0c59[_0x27e5ce(0x3b4)]):_0x447f56[_0x27e5ce(0x4ec)](_0x52edbc,_0x88c9c1,_0x3f0c59['name']);_0x17bb7d&&(_0xb77d62['push']({'id':_0x44d218['id'],'params':{'unitId':_0x5901f4[_0x27e5ce(0x247)](),'op':_0x17bb7d,'trigger':_0x5b4a16['id']}}),_0x53cb21[_0x27e5ce(0x4dc)]({'id':_0x44d218['id'],'params':{'unitId':_0x5901f4['getUnitId'](),'op':_0x375928[_0x27e5ce(0x4a1)](_0x52edbc,_0x17bb7d),'trigger':_0x5b4a16['id']}}));}let _0x108297=_0x2dd9f6[_0x27e5ce(0x387)](_0x5708b3[_0x27e5ce(0x2db)]),_0x4d896c=_0x2dd9f6['get'](_0x5708b3[_0x27e5ce(0x1bc)]),_0x4652ba=_0x4d896c[_0x27e5ce(0x4b5)](_0x3f0c59[_0x27e5ce(0x47f)]);try{return(0x0,_0x5708b3[_0x27e5ce(0x14d)])(_0xb77d62,_0x108297)[_0x27e5ce(0x2a6)]?(_0x121d0d[_0x27e5ce(0xcd)](_0x3f0c59[_0x27e5ce(0x47f)]),_0x4d896c[_0x27e5ce(0x2b8)]({'unitID':_0x3f0c59[_0x27e5ce(0x47f)],'undoMutations':_0x53cb21,'redoMutations':_0xb77d62}),!0x0):!0x1;}finally{_0x4652ba[_0x27e5ce(0x1e1)]();}}},_0x31a385={'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'id':_0x5a0300(0x352),async 'handler'(_0x3e3fd2,_0x20d5bc){const _0x1b184f=_0x5a0300;if(!_0x20d5bc||!_0x427437[_0x1b184f(0x248)](_0x20d5bc['action'])||_0x20d5bc['objectId']!==_0x20d5bc[_0x1b184f(0x47f)]&&_0x20d5bc[_0x1b184f(0xc9)]!==_0x1f7924[_0x1b184f(0x50a)][_0x1b184f(0x3d5)]||_0x20d5bc[_0x1b184f(0x4f8)]&&(![_0x1b184f(0x3db),'owner',_0x1b184f(0x22c)][_0x1b184f(0x248)](_0x20d5bc[_0x1b184f(0x4f8)][_0x1b184f(0x2a8)])||_0x20d5bc[_0x1b184f(0x4f8)]['strategies'][_0x1b184f(0x2e9)](_0x2de7a7=>!_0x427437[_0x1b184f(0x248)](_0x2de7a7[_0x1b184f(0xc9)])||_0x20d5bc[_0x1b184f(0x465)]!==_0x20d5bc[_0x1b184f(0x47f)]&&_0x2de7a7['action']!==_0x1f7924[_0x1b184f(0x50a)]['Edit'])))return!0x1;let _0x2ab18a=_0x147d5f(_0x20d5bc['unitId'],_0x20d5bc[_0x1b184f(0x465)],_0x20d5bc[_0x1b184f(0xc9)]),_0x6edd11={'unitId':_0x20d5bc[_0x1b184f(0x47f)],'objectId':_0x20d5bc['objectId'],'objectType':_0x2ab18a[_0x1b184f(0x131)]},_0x487363=_0x3e3fd2[_0x1b184f(0x387)](_0x5708b3[_0x1b184f(0x4d7)]);return _0x20d5bc[_0x1b184f(0x22f)]?await _0x487363['remove'](_0x6edd11):_0x20d5bc[_0x1b184f(0x4f8)]?await _0x487363['save'](_0x6edd11,_0x20d5bc['policy']):await _0x487363[_0x1b184f(0x353)](_0x6edd11,_0x2ab18a,_0x20d5bc[_0x1b184f(0x12c)]),!0x0;}},_0x6d1482={'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'id':_0x5a0300(0xe0),async 'handler'(_0x448211,_0x5458a6){const _0x56f874=_0x5a0300;if(!(_0x5458a6!=null&&_0x5458a6[_0x56f874(0x47f)])||!Array['isArray'](_0x5458a6[_0x56f874(0x184)])||!_0x5458a6['changes'][_0x56f874(0x211)]||_0x5458a6[_0x56f874(0x184)][_0x56f874(0x2e9)](_0x5e2239=>!(_0x5e2239!=null&&_0x5e2239[_0x56f874(0x465)])||_0x5e2239[_0x56f874(0x465)]===_0x5458a6[_0x56f874(0x47f)]||_0x5e2239[_0x56f874(0x4f8)]!==null&&(!_0x5e2239[_0x56f874(0x4f8)]||![_0x56f874(0x3db),_0x56f874(0x319),'members'][_0x56f874(0x248)](_0x5e2239['policy'][_0x56f874(0x2a8)])||!Array[_0x56f874(0x46f)](_0x5e2239[_0x56f874(0x4f8)]['collaborators'])||!Array['isArray'](_0x5e2239[_0x56f874(0x4f8)]['strategies'])||_0x5e2239['policy']['strategies'][_0x56f874(0x2e9)](_0x41c982=>_0x41c982['action']!==_0x1f7924[_0x56f874(0x50a)]['Edit']))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x448211[_0x56f874(0x387)](_0x5708b3['ObjectPermissionService'])[_0x56f874(0x407)](_0x5458a6['changes'][_0x56f874(0x447)](_0x45b552=>{const _0x140cea=_0x56f874;let _0x11e75d=_0x147d5f(_0x5458a6['unitId'],_0x45b552['objectId'],_0x1f7924[_0x140cea(0x50a)][_0x140cea(0x3d5)]);return{'unitId':_0x5458a6['unitId'],'objectId':_0x45b552[_0x140cea(0x465)],'objectType':_0x11e75d[_0x140cea(0x131)],'policy':_0x45b552['policy']};}));}};function _0x17b5d8(_0x2670ff,_0x26d51c){const _0xfb35b1=_0x5a0300;let _0x232f5c=_0x2a5ea4(_0x5708b3[_0xfb35b1(0x3d6)][_0xfb35b1(0x251)](_0x2670ff)),_0x157bf4=new Map();return _0x26d51c[_0xfb35b1(0x11c)](_0x2c1dc5=>{const _0x3f5709=_0xfb35b1;var _0x5e0fef,_0x50f683;let _0x539c23=_0x3f5709(0x34b)in _0x2c1dc5?_0x2c1dc5['recordId']:(_0x5e0fef=_0x232f5c[_0x3f5709(0x2ee)])==null?void 0x0:_0x5e0fef[_0x2c1dc5[_0x3f5709(0x3e1)]],_0x4c3418=_0x3f5709(0x236)in _0x2c1dc5?_0x2c1dc5[_0x3f5709(0x236)]:(_0x50f683=_0x232f5c[_0x3f5709(0x315)])==null?void 0x0:_0x50f683[_0x2c1dc5[_0x3f5709(0x2e5)]],_0x4244f3=_0x4c3418?_0x232f5c[_0x3f5709(0x527)][_0x4c3418]:void 0x0;if(!_0x539c23||!_0x4c3418||!_0x4244f3||!_0x232f5c[_0x3f5709(0x457)][_0x539c23])return;let _0x2c9c61=_0x5598a2(_0x2c1dc5[_0x3f5709(0x12c)],_0x4244f3),_0x123b71=_0x2c984b(_0x2c1dc5[_0x3f5709(0x12c)],_0x2c9c61,_0x4244f3,_0x232f5c,_0x539c23),_0x78a18a=_0x157bf4[_0x3f5709(0x387)](_0x539c23)??{};_0x78a18a[_0x4c3418]=_0x123b71,_0x157bf4[_0x3f5709(0x289)](_0x539c23,_0x78a18a);}),[..._0x157bf4][_0xfb35b1(0x447)](([_0x2b8dd3,_0x4e1ae6])=>({'recordId':_0x2b8dd3,'values':_0x4e1ae6}));}let _0x1b99e9={'id':_0x5a0300(0x48a),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x35ac34,_0x105aa2){const _0xfac89a=_0x5a0300;if(!_0x105aa2)return!0x1;let _0x5901bc=_0x35ac34[_0xfac89a(0x387)](_0x5708b3[_0xfac89a(0x3b6)]),{unitId:_0x200d53,tableId:_0x19ba84,patches:_0x33d786}=_0x105aa2,_0x21337c=_0x5901bc[_0xfac89a(0x15c)](_0x200d53,_0x5708b3[_0xfac89a(0x2b4)][_0xfac89a(0x1f9)]);if(!_0x21337c||!_0x11221f(_0x21337c,_0x19ba84))return!0x1;let _0x16972d=_0x35ac34[_0xfac89a(0x387)](_0x5708b3[_0xfac89a(0x2db)]),_0x2b6737=_0x35ac34['get'](_0x5708b3[_0xfac89a(0x1bc)]),_0x34d0f3=_0x21337c[_0xfac89a(0x499)](),_0x1e57d7=_0x2a5ea4(_0x34d0f3[_0xfac89a(0x18e)][_0x19ba84]),_0x2c4b22=_0x33d786[_0xfac89a(0x447)](_0x1202f9=>{const _0x287744=_0xfac89a;var _0x26f6f5;return _0x287744(0x34b)in _0x1202f9?_0x1202f9['recordId']:(_0x26f6f5=_0x1e57d7[_0x287744(0x2ee)])==null?void 0x0:_0x26f6f5[_0x1202f9[_0x287744(0x3e1)]];})[_0xfac89a(0x22b)](_0x27a89a=>_0x27a89a!=null),_0x3acd19=_0x33d786[_0xfac89a(0x447)](_0x570311=>{const _0x5b0eee=_0xfac89a;var _0x1facf0;return _0x5b0eee(0x236)in _0x570311?_0x570311[_0x5b0eee(0x236)]:(_0x1facf0=_0x1e57d7[_0x5b0eee(0x315)])==null?void 0x0:_0x1facf0[_0x570311[_0x5b0eee(0x2e5)]];})[_0xfac89a(0x22b)](_0x58668d=>_0x58668d!=null);if(_0x2c4b22[_0xfac89a(0x211)]!==_0x33d786[_0xfac89a(0x211)]||_0x3acd19[_0xfac89a(0x211)]!==_0x33d786['length']||!_0x11221f(_0x21337c,_0x19ba84,{'recordIds':_0x2c4b22,'fieldIds':_0x3acd19})||_0x33d786['some']((_0x2a3a60,_0x3e76df)=>!_0x5b56e(_0x21337c,_0x19ba84,_0x3acd19[_0x3e76df],_0x2a3a60[_0xfac89a(0x12c)])))return!0x1;let _0x34e7bc=_0x34c079(_0x1e57d7,_0x17b5d8(_0x1e57d7,_0x33d786)),_0x16a6d6=_0x33d786['flatMap'](_0x3d7bbe=>{const _0x6ebf55=_0xfac89a;var _0x49ff02,_0x5c4166;if(_0x6ebf55(0x3e1)in _0x3d7bbe)return[_0x3d7bbe];let _0x54ecfd=(_0x49ff02=_0x1e57d7[_0x6ebf55(0x1eb)])==null?void 0x0:_0x49ff02[_0x3d7bbe['recordId']],_0x9ddb79=(_0x5c4166=_0x1e57d7[_0x6ebf55(0x336)])==null?void 0x0:_0x5c4166[_0x3d7bbe[_0x6ebf55(0x236)]];return _0x54ecfd==null||_0x9ddb79==null?[]:[{'row':_0x54ecfd,'col':_0x9ddb79,'value':_0x3d7bbe[_0x6ebf55(0x12c)]}];}),_0x5e0bd2=new _0x108016()[_0xfac89a(0x1fd)](_0x34d0f3,_0x19ba84,_0x16a6d6),_0x1eaa1e=new _0x39599e()[_0xfac89a(0x4a1)](_0x34d0f3,_0x5e0bd2),_0x485751={'unitId':_0x200d53,'op':_0x5e0bd2,'trigger':_0x34e7bc[_0xfac89a(0x211)]?_0x1b99e9['id']:void 0x0,'hierarchyChanges':_0x34e7bc['length']?_0x34e7bc:void 0x0,'source':_0x34e7bc[_0xfac89a(0x211)]?_0xfac89a(0x473):void 0x0},_0x200335={'unitId':_0x200d53,'op':_0x1eaa1e,'trigger':_0x34e7bc['length']?_0x1b99e9['id']:void 0x0,'hierarchyChanges':_0x34e7bc['length']?_0x34e7bc[_0xfac89a(0x447)](_0x414ef5=>({..._0x414ef5,'oldParentRecordId':_0x414ef5[_0xfac89a(0x4af)],'parentRecordId':_0x414ef5['oldParentRecordId']})):void 0x0,'source':_0x34e7bc[_0xfac89a(0x211)]?_0xfac89a(0x328):void 0x0},_0x3b9392={..._0x485751,'source':_0x34e7bc[_0xfac89a(0x211)]?_0x105aa2[_0xfac89a(0x50d)]??'ui':void 0x0};return _0x16972d[_0xfac89a(0x160)](_0x44d218['id'],_0x3b9392)?(_0x5901bc[_0xfac89a(0xcd)](_0x200d53),_0x2b6737[_0xfac89a(0x2b8)]({'unitID':_0x200d53,'undoMutations':[{'id':_0x44d218['id'],'params':_0x200335}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x485751}]}),!0x0):!0x1;}},_0x162624={'id':_0x5a0300(0x41e),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x72f434,_0xd6f8ba){const _0x2ebfaf=_0x5a0300;if(!_0xd6f8ba)return!0x1;let _0x109ea1=_0x72f434[_0x2ebfaf(0x387)](_0x5708b3[_0x2ebfaf(0x3b6)]),{unitId:_0x29a1c0,tableId:_0x477f43,patches:_0x1447ef}=_0xd6f8ba,_0x37b32b=_0x109ea1[_0x2ebfaf(0x15c)](_0x29a1c0,_0x5708b3['UniverInstanceType'][_0x2ebfaf(0x1f9)]),_0x1f9b51=_0x1447ef[_0x2ebfaf(0x447)](_0x3eb69d=>_0x3eb69d[_0x2ebfaf(0x34b)]),_0x1f7542=_0x1447ef['flatMap'](_0x315b4c=>Object['keys'](_0x315b4c[_0x2ebfaf(0x253)]));if(!_0x37b32b||!_0x11221f(_0x37b32b,_0x477f43,{'recordIds':_0x1f9b51,'fieldIds':_0x1f7542})||_0x1447ef[_0x2ebfaf(0x2e9)](_0x3ce478=>Object[_0x2ebfaf(0x15b)](_0x3ce478[_0x2ebfaf(0x253)])['some'](([_0x20d441,_0x14f3e3])=>!_0x5b56e(_0x37b32b,_0x477f43,_0x20d441,_0x14f3e3))))return!0x1;let _0x564547=_0x34c079(_0x37b32b[_0x2ebfaf(0x499)]()['tables'][_0x477f43],_0x1447ef),_0x2c85bb=_0x72f434[_0x2ebfaf(0x387)](_0x5708b3[_0x2ebfaf(0x2db)]),_0x15772e=_0x72f434[_0x2ebfaf(0x387)](_0x5708b3[_0x2ebfaf(0x1bc)]),_0x47fc9a=_0x72f434[_0x2ebfaf(0x387)](_0x104536)['createSetRecordValuesOp'](_0x37b32b,_0x477f43,_0x1447ef),_0x20e0ef=new _0x39599e()[_0x2ebfaf(0x4a1)](_0x37b32b[_0x2ebfaf(0x499)](),_0x47fc9a),_0x336873={'unitId':_0x29a1c0,'op':_0x47fc9a,'trigger':_0x564547[_0x2ebfaf(0x211)]?_0x162624['id']:void 0x0,'hierarchyChanges':_0x564547['length']?_0x564547:void 0x0,'source':_0x564547[_0x2ebfaf(0x211)]?_0xd6f8ba[_0x2ebfaf(0x50d)]??'ui':void 0x0},_0xd23943={..._0x336873,'source':_0x564547[_0x2ebfaf(0x211)]?_0x2ebfaf(0x473):void 0x0},_0x3b08d2={'unitId':_0x29a1c0,'op':_0x20e0ef,'trigger':_0x564547[_0x2ebfaf(0x211)]?_0x162624['id']:void 0x0,'hierarchyChanges':_0x564547['length']?_0x564547[_0x2ebfaf(0x447)](_0x1d95ff=>({..._0x1d95ff,'oldParentRecordId':_0x1d95ff['parentRecordId'],'parentRecordId':_0x1d95ff[_0x2ebfaf(0x180)]})):void 0x0,'source':_0x564547[_0x2ebfaf(0x211)]?'undo':void 0x0};return _0x2c85bb[_0x2ebfaf(0x160)](_0x44d218['id'],_0x336873)?(_0x109ea1['focusUnit'](_0x29a1c0),_0x15772e[_0x2ebfaf(0x2b8)]({'unitID':_0x29a1c0,'undoMutations':[{'id':_0x44d218['id'],'params':_0x3b08d2}],'redoMutations':[{'id':_0x44d218['id'],'params':_0xd23943}]}),!0x0):!0x1;}},_0x24cb7a={'id':_0x5a0300(0x112),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x1ad06d,_0x54f91f)=>{const _0x163380=_0x5a0300;if(!_0x54f91f)return!0x1;let {unitId:_0x5bb44d,tableId:_0x22256c,fieldId:_0x26ae74}=_0x54f91f,_0x535060=_0x1ad06d[_0x163380(0x387)](_0x5708b3[_0x163380(0x3b6)]),_0xec620=_0x535060[_0x163380(0x15c)](_0x5bb44d,_0x5708b3[_0x163380(0x2b4)][_0x163380(0x1f9)]);if(!_0xec620||!_0x11221f(_0xec620,_0x22256c))return!0x1;let _0x5f3688=_0xec620[_0x163380(0x499)](),_0x1de6f9=_0x5f3688['tables'][_0x22256c];if(_0x26ae74!==null&&!_0x40aa86(_0x1de6f9,_0x26ae74))throw new _0x3e2468(_0x163380(0x1f6));if(_0x13f8f5(_0x1de6f9)===_0x26ae74)return!0x0;let _0x4596f8=new _0x108016(),_0x392ced=_0x22d022(Object[_0x163380(0x253)](_0x1de6f9[_0x163380(0x527)])[_0x163380(0x375)](_0x3ae5fe=>{const _0x544f57=_0x163380;if(!_0x40aa86(_0x1de6f9,_0x3ae5fe['id']))return[];let _0x55687d=_0x4f0b6a(_0x3ae5fe);if(!_0x55687d)return[];let _0x5008e0=_0x3ae5fe['id']===_0x26ae74;if(_0x55687d['relationRole']===_0x5708b3['BaseRecordLinkRole']['Parent']===_0x5008e0)return[];let _0x51c429={..._0x3ae5fe[_0x544f57(0x21c)],'targetTableId':_0x55687d[_0x544f57(0x32e)],'multiple':_0x55687d['multiple']};return _0x5008e0?_0x51c429[_0x544f57(0x3f5)]=_0x5708b3[_0x544f57(0x2be)][_0x544f57(0x441)]:delete _0x51c429[_0x544f57(0x3f5)],[_0x4596f8[_0x544f57(0x4e2)](_0x5f3688,_0x22256c,_0x3ae5fe['id'],{'config':_0x51c429})];})),_0x294937=new _0x39599e()[_0x163380(0x4a1)](_0x5f3688,_0x392ced),_0x57be78={'unitId':_0x5bb44d,'op':_0x392ced},_0xe7c3c0={'unitId':_0x5bb44d,'op':_0x294937};return _0x1ad06d[_0x163380(0x387)](_0x5708b3['ICommandService'])['syncExecuteCommand'](_0x44d218['id'],_0x57be78)?(_0x535060[_0x163380(0xcd)](_0x5bb44d),_0x1ad06d['get'](_0x5708b3[_0x163380(0x1bc)])[_0x163380(0x2b8)]({'unitID':_0x5bb44d,'undoMutations':[{'id':_0x44d218['id'],'params':_0xe7c3c0}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x57be78}]}),!0x0):!0x1;}},_0x5662c0={'id':'base.command.set-base-view-field-order','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x30b1d7,_0x189161)=>{const _0x2a7973=_0x5a0300;if(!_0x189161)return!0x1;let _0x4752d4=_0x30b1d7[_0x2a7973(0x387)](_0x5708b3[_0x2a7973(0x3b6)]),{unitId:_0x3cf33d,tableId:_0x45de3d,viewId:_0x59890a,fieldId:_0x3cbac1,target:_0x57d5be}=_0x189161,_0x4b17c9=_0x4752d4[_0x2a7973(0x15c)](_0x3cf33d,_0x5708b3[_0x2a7973(0x2b4)][_0x2a7973(0x1f9)]),_0x242297=_0x57d5be['beforeFieldId']??_0x57d5be['afterFieldId'];if(!_0x4b17c9||!_0x242297||_0x242297===_0x3cbac1||!_0x11221f(_0x4b17c9,_0x45de3d,{'viewIds':[_0x59890a],'fieldIds':[_0x3cbac1,_0x242297]}))return!0x1;let _0x4a26a6=_0x4b17c9[_0x2a7973(0x499)]()[_0x2a7973(0x18e)][_0x45de3d],_0x4e47a5=_0x4a26a6['fields'][_0x3cbac1],_0x4d33bc=_0x4a26a6[_0x2a7973(0x527)][_0x242297];if(_0x4e47a5[_0x2a7973(0x326)]===!0x0||_0x4e47a5[_0x2a7973(0x131)]===_0x5708b3[_0x2a7973(0x2f3)]['RecordId']||_0x4d33bc[_0x2a7973(0x326)]===!0x0||_0x4d33bc['type']===_0x5708b3[_0x2a7973(0x2f3)][_0x2a7973(0x452)])return!0x1;let _0x5704ad=_0x30b1d7[_0x2a7973(0x387)](_0x5708b3[_0x2a7973(0x2db)]),_0x3a8e3b=_0x30b1d7['get'](_0x5708b3[_0x2a7973(0x1bc)]),_0x5aba6c=_0x4b17c9[_0x2a7973(0x499)](),_0x2fcbdc=new _0x108016()[_0x2a7973(0x149)](_0x5aba6c,_0x45de3d,_0x59890a,_0x3cbac1,_0x57d5be),_0x2c6122=new _0x39599e()[_0x2a7973(0x4a1)](_0x5aba6c,_0x2fcbdc),_0x218621={'unitId':_0x3cf33d,'op':_0x2fcbdc},_0x48e70c={'unitId':_0x3cf33d,'op':_0x2c6122};return _0x5704ad[_0x2a7973(0x160)](_0x44d218['id'],_0x218621)?(_0x4752d4[_0x2a7973(0xcd)](_0x3cf33d),_0x3a8e3b[_0x2a7973(0x2b8)]({'unitID':_0x3cf33d,'undoMutations':[{'id':_0x44d218['id'],'params':_0x48e70c}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x218621}]}),!0x0):!0x1;}},_0x58c9b1={'id':'base.command.set-base-view-field-visible','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x202630,_0x49781e){const _0x2fbe46=_0x5a0300;if(!_0x49781e)return!0x1;let _0xce3381=_0x202630[_0x2fbe46(0x387)](_0x5708b3[_0x2fbe46(0x3b6)]),{unitId:_0x39412a,tableId:_0x417e9a,viewId:_0xe81d95,fieldId:_0x1a9acd,visible:_0x392999}=_0x49781e,_0x4ab928=_0xce3381[_0x2fbe46(0x15c)](_0x39412a,_0x5708b3['UniverInstanceType']['UNIVER_BASE']);if(!_0x4ab928||!_0x11221f(_0x4ab928,_0x417e9a,{'viewIds':[_0xe81d95],'fieldIds':[_0x1a9acd]}))return!0x1;let _0x56af0c=_0x4ab928[_0x2fbe46(0x499)]()['tables'][_0x417e9a][_0x2fbe46(0x527)][_0x1a9acd];if(_0x56af0c[_0x2fbe46(0x326)]===!0x0||_0x56af0c[_0x2fbe46(0x131)]===_0x5708b3['BaseFieldType'][_0x2fbe46(0x452)])return!0x1;let _0x1dfcda=_0x202630[_0x2fbe46(0x387)](_0x5708b3[_0x2fbe46(0x2db)]),_0x130b5c=_0x202630[_0x2fbe46(0x387)](_0x5708b3[_0x2fbe46(0x1bc)]),_0xc28731=_0x4ab928[_0x2fbe46(0x499)](),_0x3f9a51=new _0x108016()[_0x2fbe46(0x4ad)](_0xc28731,_0x417e9a,_0xe81d95,_0x1a9acd,_0x392999),_0x4dc6c4=new _0x39599e()[_0x2fbe46(0x4a1)](_0xc28731,_0x3f9a51),_0x27ad01={'unitId':_0x39412a,'op':_0x3f9a51},_0x1d5c08={'unitId':_0x39412a,'op':_0x4dc6c4};return _0x1dfcda[_0x2fbe46(0x160)](_0x44d218['id'],_0x27ad01)?(_0xce3381[_0x2fbe46(0xcd)](_0x39412a),_0x130b5c[_0x2fbe46(0x2b8)]({'unitID':_0x39412a,'undoMutations':[{'id':_0x44d218['id'],'params':_0x1d5c08}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x27ad01}]}),!0x0):!0x1;}},_0x47735f={'id':'base.command.set-base-view-field-width','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x4dca3f,_0x5c5517)=>{const _0x30169e=_0x5a0300;if(!_0x5c5517)return!0x1;let _0x41588=_0x4dca3f['get'](_0x5708b3[_0x30169e(0x3b6)]),{unitId:_0x2e7d49,tableId:_0x397961,viewId:_0x2f0080,fieldId:_0xc1d98c,width:_0x85387b}=_0x5c5517,_0x29b216=_0x41588[_0x30169e(0x15c)](_0x2e7d49,_0x5708b3[_0x30169e(0x2b4)][_0x30169e(0x1f9)]);if(!_0x29b216||!_0x11221f(_0x29b216,_0x397961,{'viewIds':[_0x2f0080],'fieldIds':[_0xc1d98c]}))return!0x1;let _0x5cfa2a=_0x29b216[_0x30169e(0x499)]()[_0x30169e(0x18e)][_0x397961][_0x30169e(0x527)][_0xc1d98c];if(_0x5cfa2a[_0x30169e(0x326)]===!0x0||_0x5cfa2a[_0x30169e(0x131)]===_0x5708b3[_0x30169e(0x2f3)]['RecordId'])return!0x1;let _0x526cff=_0x4dca3f[_0x30169e(0x387)](_0x5708b3[_0x30169e(0x2db)]),_0x59ea6a=_0x4dca3f['get'](_0x5708b3[_0x30169e(0x1bc)]),_0x5d3067=_0x29b216[_0x30169e(0x499)](),_0x213bb8=new _0x108016()[_0x30169e(0x482)](_0x5d3067,_0x397961,_0x2f0080,_0xc1d98c,_0x85387b),_0x49b192=new _0x39599e()[_0x30169e(0x4a1)](_0x5d3067,_0x213bb8),_0x4dba04={'unitId':_0x2e7d49,'op':_0x213bb8},_0x61da10={'unitId':_0x2e7d49,'op':_0x49b192};return _0x526cff[_0x30169e(0x160)](_0x44d218['id'],_0x4dba04)?(_0x41588[_0x30169e(0xcd)](_0x2e7d49),_0x59ea6a['pushUndoRedo']({'unitID':_0x2e7d49,'undoMutations':[{'id':_0x44d218['id'],'params':_0x61da10}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x4dba04}]}),!0x0):!0x1;}},_0x2ae29a={'id':_0x5a0300(0x10d),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x412272,_0x4c926b)=>{const _0x4f23e6=_0x5a0300;if(!_0x4c926b)return!0x1;let _0x4c0052=_0x412272[_0x4f23e6(0x387)](_0x5708b3['IUniverInstanceService']),{unitId:_0x245622,tableId:_0x3e1834,viewId:_0x5e84fe,filter:_0xc2da19}=_0x4c926b,_0x5f5149=_0x4c0052[_0x4f23e6(0x15c)](_0x245622,_0x5708b3[_0x4f23e6(0x2b4)][_0x4f23e6(0x1f9)]),_0x8d1e22=(_0xc2da19==null?void 0x0:_0xc2da19[_0x4f23e6(0x495)][_0x4f23e6(0x447)](_0x3fb859=>_0x3fb859['fieldId']))??[];if(!_0x5f5149||!_0x11221f(_0x5f5149,_0x3e1834,{'viewIds':[_0x5e84fe],'fieldIds':_0x8d1e22}))return!0x1;let _0x3e9f17=_0x412272[_0x4f23e6(0x387)](_0x5708b3[_0x4f23e6(0x2db)]),_0x2a5dce=_0x412272['get'](_0x5708b3[_0x4f23e6(0x1bc)]),_0x5f4290=_0x5f5149[_0x4f23e6(0x499)](),_0x310c34=new _0x108016()[_0x4f23e6(0xd2)](_0x5f4290,_0x3e1834,_0x5e84fe,_0xc2da19),_0x51d3b9=new _0x39599e()[_0x4f23e6(0x4a1)](_0x5f4290,_0x310c34),_0x1966b0={'unitId':_0x245622,'op':_0x310c34},_0x2724e4={'unitId':_0x245622,'op':_0x51d3b9};return _0x3e9f17[_0x4f23e6(0x160)](_0x44d218['id'],_0x1966b0)?(_0x4c0052[_0x4f23e6(0xcd)](_0x245622),_0x2a5dce[_0x4f23e6(0x2b8)]({'unitID':_0x245622,'undoMutations':[{'id':_0x44d218['id'],'params':_0x2724e4}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x1966b0}]}),!0x0):!0x1;}},_0x19ce7c={'id':_0x5a0300(0x18b),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x4b6b9f,_0x3f98c7)=>{const _0x8f365d=_0x5a0300;if(!_0x3f98c7)return!0x1;let _0x32b60e=_0x4b6b9f[_0x8f365d(0x387)](_0x5708b3[_0x8f365d(0x3b6)]),{unitId:_0x5bbabb,tableId:_0x283745,viewId:_0x5290ea,group:_0x58d303}=_0x3f98c7,_0x78657f=_0x32b60e[_0x8f365d(0x15c)](_0x5bbabb,_0x5708b3[_0x8f365d(0x2b4)][_0x8f365d(0x1f9)]);if(!_0x78657f||!_0x11221f(_0x78657f,_0x283745,{'viewIds':[_0x5290ea],'fieldIds':_0x58d303[_0x8f365d(0x447)](_0x24be66=>_0x24be66[_0x8f365d(0x236)])}))return!0x1;let _0xeae70c=_0x4b6b9f['get'](_0x5708b3[_0x8f365d(0x2db)]),_0x3e8d06=_0x4b6b9f['get'](_0x5708b3['IUndoRedoService']),_0x4f29c5=_0x78657f[_0x8f365d(0x499)](),_0x5e8960=new _0x108016()['setViewGroup'](_0x4f29c5,_0x283745,_0x5290ea,_0x58d303),_0x25a992=new _0x39599e()['invertOp'](_0x4f29c5,_0x5e8960),_0x2bc6ce={'unitId':_0x5bbabb,'op':_0x5e8960},_0x39a846={'unitId':_0x5bbabb,'op':_0x25a992};return _0xeae70c['syncExecuteCommand'](_0x44d218['id'],_0x2bc6ce)?(_0x32b60e[_0x8f365d(0xcd)](_0x5bbabb),_0x3e8d06['pushUndoRedo']({'unitID':_0x5bbabb,'undoMutations':[{'id':_0x44d218['id'],'params':_0x39a846}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x2bc6ce}]}),!0x0):!0x1;}},_0x375e06={'id':'base.command.set-base-view-sort','type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler':(_0x2de28e,_0xe39109)=>{const _0x8e073b=_0x5a0300;if(!_0xe39109)return!0x1;let _0x1ff016=_0x2de28e[_0x8e073b(0x387)](_0x5708b3[_0x8e073b(0x3b6)]),{unitId:_0x5346e8,tableId:_0x1bd46e,viewId:_0x178763,sort:_0x25f997}=_0xe39109,_0x2c9309=_0x1ff016['getUnit'](_0x5346e8,_0x5708b3['UniverInstanceType'][_0x8e073b(0x1f9)]);if(!_0x2c9309||!_0x11221f(_0x2c9309,_0x1bd46e,{'viewIds':[_0x178763],'fieldIds':_0x25f997[_0x8e073b(0x447)](_0x397168=>_0x397168[_0x8e073b(0x236)])}))return!0x1;let _0xa8c93a=_0x2de28e[_0x8e073b(0x387)](_0x5708b3[_0x8e073b(0x2db)]),_0x2c65f1=_0x2de28e['get'](_0x5708b3[_0x8e073b(0x1bc)]),_0x2f6397=_0x2c9309['getSnapshot'](),_0x4265b2=new _0x108016()[_0x8e073b(0x3d8)](_0x2f6397,_0x1bd46e,_0x178763,_0x25f997),_0x1474ea=new _0x39599e()[_0x8e073b(0x4a1)](_0x2f6397,_0x4265b2),_0x4ed792={'unitId':_0x5346e8,'op':_0x4265b2},_0x29df08={'unitId':_0x5346e8,'op':_0x1474ea};return _0xa8c93a[_0x8e073b(0x160)](_0x44d218['id'],_0x4ed792)?(_0x1ff016[_0x8e073b(0xcd)](_0x5346e8),_0x2c65f1['pushUndoRedo']({'unitID':_0x5346e8,'undoMutations':[{'id':_0x44d218['id'],'params':_0x29df08}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x4ed792}]}),!0x0):!0x1;}},_0x5318cd={'id':'base.command.update-base-cell','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x27a030,_0x147857){const _0x3c3f72=_0x5a0300;if(!_0x147857)return!0x1;let _0xd743e4=_0x27a030['get'](_0x5708b3['IUniverInstanceService']),{unitId:_0x265aa4,tableId:_0x568d68,recordId:_0x54e1bb,fieldId:_0x11187d,value:_0x265e23}=_0x147857,_0xe3f203=_0xd743e4['getUnit'](_0x265aa4,_0x5708b3[_0x3c3f72(0x2b4)][_0x3c3f72(0x1f9)]);if(!_0xe3f203||!_0x11221f(_0xe3f203,_0x568d68,{'recordIds':[_0x54e1bb],'fieldIds':[_0x11187d]})||!_0x5b56e(_0xe3f203,_0x568d68,_0x11187d,_0x265e23))return!0x1;let _0x437afd=_0xe3f203[_0x3c3f72(0x499)]()[_0x3c3f72(0x18e)][_0x568d68],_0x3c569e=_0x40aa86(_0x437afd,_0x11187d)&&_0x51c474(_0x437afd)['includes'](_0x11187d),_0x1178c4=_0x3c569e?_0x3fc285(_0x437afd,_0x11187d):null,_0x2c46a7=(_0x1178c4==null?void 0x0:_0x1178c4[_0x3c3f72(0x4c1)]['get'](_0x54e1bb))??null,_0x4d3369=_0x3c569e?_0x3f92ff(_0x265e23)[0x0]??null:null;if(_0x1178c4){if(_0x4d3369&&!_0x437afd[_0x3c3f72(0x457)][_0x4d3369])throw new _0x3e2468('missingRecord');let _0x2c3d50=_0x173b14(_0x1178c4,_0x54e1bb,_0x4d3369);if(!_0x2c3d50[_0x3c3f72(0x150)])throw new _0x3e2468(_0x2c3d50['reason']===_0x5708b3['BaseHierarchyInvalidReason'][_0x3c3f72(0x17a)]?_0x3c3f72(0x11d):_0x2c3d50[_0x3c3f72(0x2a9)]===_0x5708b3[_0x3c3f72(0x3c3)][_0x3c3f72(0x203)]?_0x3c3f72(0x470):_0x3c3f72(0x19f));}let _0x16fea3=_0x27a030['get'](_0x5708b3[_0x3c3f72(0x2db)]),_0x4f79f8=_0x27a030[_0x3c3f72(0x387)](_0x5708b3[_0x3c3f72(0x1bc)]),_0x59b11e=_0x27a030[_0x3c3f72(0x387)](_0x104536),_0x30c4fa;try{_0x30c4fa=_0x59b11e[_0x3c3f72(0x1ce)](_0xe3f203,_0x568d68,_0x54e1bb,_0x11187d,_0x265e23);}catch(_0x1bca0){return console[_0x3c3f72(0xd9)](_0x3c3f72(0x3b7),_0x1bca0),!0x1;}let _0x4436a8=new _0x39599e()[_0x3c3f72(0x4a1)](_0xe3f203[_0x3c3f72(0x499)](),_0x30c4fa),_0x403746=_0x3c569e&&_0x2c46a7!==_0x4d3369?[{'tableId':_0x568d68,'fieldId':_0x11187d,'recordId':_0x54e1bb,'oldParentRecordId':_0x2c46a7,'parentRecordId':_0x4d3369}]:void 0x0,_0x43d5b0={'unitId':_0x265aa4,'op':_0x30c4fa,'trigger':_0x403746?_0x5318cd['id']:void 0x0,'hierarchyChanges':_0x403746,'source':_0x403746?_0x147857[_0x3c3f72(0x50d)]??'ui':void 0x0},_0x2b3be0={..._0x43d5b0,'source':_0x403746?_0x3c3f72(0x473):void 0x0},_0x1636ac={'unitId':_0x265aa4,'op':_0x4436a8,'trigger':_0x403746?_0x5318cd['id']:void 0x0,'hierarchyChanges':_0x403746==null?void 0x0:_0x403746['map'](_0x3f0215=>({..._0x3f0215,'oldParentRecordId':_0x3f0215[_0x3c3f72(0x4af)],'parentRecordId':_0x3f0215[_0x3c3f72(0x180)]})),'source':_0x403746?_0x3c3f72(0x328):void 0x0};return _0x16fea3[_0x3c3f72(0x160)](_0x44d218['id'],_0x43d5b0)?(_0xd743e4[_0x3c3f72(0x17c)]()||_0xd743e4[_0x3c3f72(0xcd)](_0x265aa4),_0x4f79f8['pushUndoRedo']({'unitID':_0x265aa4,'undoMutations':[{'id':_0x44d218['id'],'params':_0x1636ac}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x2b3be0}]}),!0x0):!0x1;}},_0x13ab53={'id':_0x5a0300(0x27d),'type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler'(_0xe4a42a,_0x30ede8){const _0x1828a8=_0x5a0300;if(!_0x30ede8)return!0x1;let _0x153aaf=_0xe4a42a[_0x1828a8(0x387)](_0x5708b3[_0x1828a8(0x3b6)]),{unitId:_0x460e22,tableId:_0x28cb51,fieldId:_0x47d6e1}=_0x30ede8,_0xcadd37=_0x153aaf[_0x1828a8(0x15c)](_0x460e22,_0x5708b3[_0x1828a8(0x2b4)]['UNIVER_BASE']);if(!_0xcadd37||!_0x11221f(_0xcadd37,_0x28cb51,{'fieldIds':[_0x47d6e1]}))return!0x1;let _0x2cb15c=_0xe4a42a[_0x1828a8(0x387)](_0x5708b3[_0x1828a8(0x2db)]),_0x14fa83=_0xe4a42a[_0x1828a8(0x387)](_0x5708b3[_0x1828a8(0x1bc)]),_0x5252d2=_0xcadd37['getSnapshot'](),_0x517202=_0x30ede8[_0x1828a8(0x2bc)][_0x1828a8(0x1bd)](),_0xcc3894=new _0x108016()[_0x1828a8(0x4e2)](_0x5252d2,_0x28cb51,_0x47d6e1,{'description':_0x517202}),_0x471aa8=new _0x39599e()[_0x1828a8(0x4a1)](_0xcadd37[_0x1828a8(0x499)](),_0xcc3894),_0x5a14e5={'unitId':_0x460e22,'op':_0xcc3894},_0x2e258f={'unitId':_0x460e22,'op':_0x471aa8};return _0x2cb15c[_0x1828a8(0x160)](_0x44d218['id'],_0x5a14e5)?(_0x153aaf['focusUnit'](_0x460e22),_0x14fa83[_0x1828a8(0x2b8)]({'unitID':_0x460e22,'undoMutations':[{'id':_0x44d218['id'],'params':_0x2e258f}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x5a14e5}]}),!0x0):!0x1;}},_0xb9005c={'id':_0x5a0300(0x3ae),'type':_0x5708b3[_0x5a0300(0x40e)]['COMMAND'],'handler':(_0x4cc29d,_0x371a33)=>{const _0x3fd452=_0x5a0300;if(!_0x371a33)return!0x1;let _0x2e6128=_0x4cc29d[_0x3fd452(0x387)](_0x5708b3['IUniverInstanceService']),{unitId:_0x4b589f,tableId:_0x18d9ef,fieldId:_0x3b7842,patch:_0x386b9b}=_0x371a33,_0x300dc6=_0x2e6128[_0x3fd452(0x15c)](_0x4b589f,_0x5708b3[_0x3fd452(0x2b4)]['UNIVER_BASE']);if(!_0x300dc6||_0x3b7842===_0x5708b3[_0x3fd452(0x3c2)]||!_0x11221f(_0x300dc6,_0x18d9ef,{'fieldIds':[_0x3b7842]}))return!0x1;let _0x55c716=_0x4cc29d[_0x3fd452(0x387)](_0x5708b3[_0x3fd452(0x2db)]),_0x41e1a8=_0x4cc29d[_0x3fd452(0x387)](_0x5708b3['IUndoRedoService']),_0x56dac5=_0x300dc6[_0x3fd452(0x499)]();if(!_0x33c3bc(_0x300dc6,_0x18d9ef,{..._0x56dac5[_0x3fd452(0x18e)][_0x18d9ef]['fields'][_0x3b7842],..._0x386b9b}))return!0x1;let _0x37daeb=new _0x108016()['updateField'](_0x56dac5,_0x18d9ef,_0x3b7842,_0x386b9b),_0x14af74=new _0x39599e()[_0x3fd452(0x4a1)](_0x56dac5,_0x37daeb),_0x43489a={'unitId':_0x4b589f,'op':_0x37daeb},_0x286e4d={'unitId':_0x4b589f,'op':_0x14af74};return _0x55c716['syncExecuteCommand'](_0x44d218['id'],_0x43489a)?(_0x2e6128[_0x3fd452(0xcd)](_0x4b589f),_0x41e1a8[_0x3fd452(0x2b8)]({'unitID':_0x4b589f,'undoMutations':[{'id':_0x44d218['id'],'params':_0x286e4d}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x43489a}]}),!0x0):!0x1;}},_0x232f9e={'id':_0x5a0300(0x474),'type':_0x5708b3['CommandType']['COMMAND'],'handler':(_0x112fd0,_0x2cdd0f)=>{const _0x4f1ef9=_0x5a0300;if(!_0x2cdd0f)return!0x1;let _0x39116f=_0x112fd0['get'](_0x5708b3[_0x4f1ef9(0x3b6)]),{unitId:_0x159bbe,tableId:_0x53fbe9,viewId:_0x8e6a13,patch:_0x4b06a7}=_0x2cdd0f,_0x5cd86a=_0x39116f[_0x4f1ef9(0x15c)](_0x159bbe,_0x5708b3[_0x4f1ef9(0x2b4)][_0x4f1ef9(0x1f9)]);if(!_0x5cd86a||!_0x11221f(_0x5cd86a,_0x53fbe9,{'viewIds':[_0x8e6a13]}))return!0x1;let _0x409543=_0x112fd0['get'](_0x5708b3[_0x4f1ef9(0x2db)]),_0x1dac1a=_0x112fd0[_0x4f1ef9(0x387)](_0x5708b3[_0x4f1ef9(0x1bc)]),_0x18acc=_0x5cd86a['getSnapshot'](),_0x55f526=new _0x108016()[_0x4f1ef9(0x39c)](_0x18acc,_0x53fbe9,_0x8e6a13,_0x4b06a7),_0x28a023=new _0x39599e()[_0x4f1ef9(0x4a1)](_0x18acc,_0x55f526),_0x2bf02e={'unitId':_0x159bbe,'op':_0x55f526},_0x534fd9={'unitId':_0x159bbe,'op':_0x28a023};return _0x409543['syncExecuteCommand'](_0x44d218['id'],_0x2bf02e)?(_0x39116f[_0x4f1ef9(0xcd)](_0x159bbe),_0x1dac1a['pushUndoRedo']({'unitID':_0x159bbe,'undoMutations':[{'id':_0x44d218['id'],'params':_0x534fd9}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x2bf02e}]}),!0x0):!0x1;}},_0x22af9c={'id':'base.command.update-base-record-order','type':_0x5708b3['CommandType'][_0x5a0300(0x4be)],'handler':(_0x5b5f5d,_0x1c3eb1)=>{const _0x4f9aa4=_0x5a0300;if(!_0x1c3eb1)return!0x1;let _0x42b402=_0x5b5f5d[_0x4f9aa4(0x387)](_0x5708b3[_0x4f9aa4(0x3b6)]),{unitId:_0x40a203,tableId:_0x32a82f,recordId:_0x14e387,orderKey:_0x47690f}=_0x1c3eb1,_0x3ce5ab=_0x42b402['getUnit'](_0x40a203,_0x5708b3[_0x4f9aa4(0x2b4)][_0x4f9aa4(0x1f9)]);if(!_0x3ce5ab||!_0x11221f(_0x3ce5ab,_0x32a82f,{'recordIds':[_0x14e387]}))return!0x1;let _0xf38819=_0x5b5f5d[_0x4f9aa4(0x387)](_0x5708b3['ICommandService']),_0x2a0146=_0x5b5f5d[_0x4f9aa4(0x387)](_0x5708b3[_0x4f9aa4(0x1bc)]),_0x31b42e=_0x3ce5ab[_0x4f9aa4(0x499)](),_0x11c1f=new _0x108016()['updateRecordOrder'](_0x31b42e,_0x32a82f,_0x14e387,_0x47690f),_0x1b5217=new _0x39599e()[_0x4f9aa4(0x4a1)](_0x31b42e,_0x11c1f),_0x20050b={'unitId':_0x40a203,'op':_0x11c1f},_0x30dae5={'unitId':_0x40a203,'op':_0x1b5217};return _0xf38819[_0x4f9aa4(0x160)](_0x44d218['id'],_0x20050b)?(_0x42b402[_0x4f9aa4(0xcd)](_0x40a203),_0x2a0146['pushUndoRedo']({'unitID':_0x40a203,'undoMutations':[{'id':_0x44d218['id'],'params':_0x30dae5}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x20050b}]}),!0x0):!0x1;}},_0x37d72d=function(_0x466e66){const _0x5099d5=_0x5a0300;return _0x466e66[_0x5099d5(0x28f)]=_0x5099d5(0x289),_0x466e66[_0x5099d5(0x3a9)]=_0x5099d5(0x152),_0x466e66[_0x5099d5(0x45f)]=_0x5099d5(0x2d4),_0x466e66['Clear']='clear',_0x466e66;}({}),_0x299a5c={'id':_0x5a0300(0xe6),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x4f8f10,_0x3f7c9e)=>{const _0x3a0679=_0x5a0300;var _0x359697;if(!_0x3f7c9e)return!0x1;let _0x3fced0=_0x4f8f10['get'](_0x5708b3[_0x3a0679(0x3b6)]),_0x17b149=_0x3fced0['getUnit'](_0x3f7c9e[_0x3a0679(0x47f)],_0x5708b3[_0x3a0679(0x2b4)][_0x3a0679(0x1f9)]);if(!_0x17b149||!_0x11221f(_0x17b149,_0x3f7c9e['tableId'],{'viewIds':[_0x3f7c9e[_0x3a0679(0xee)]]}))return!0x1;let _0x848eb1=_0x17b149[_0x3a0679(0x499)](),_0x40a92b=_0x848eb1[_0x3a0679(0x18e)][_0x3f7c9e[_0x3a0679(0x40f)]],_0xfe1418=_0x1f513a(((_0x359697=_0x40a92b[_0x3a0679(0x255)][_0x3f7c9e[_0x3a0679(0xee)]][_0x3a0679(0x21c)][_0x3a0679(0x3cb)])==null?void 0x0:_0x359697['rules'])??[],_0x3f7c9e);if(!_0xfe1418)return!0x1;_0x3b52f9(_0x40a92b,_0xfe1418);let _0x38dbde=new _0x108016()[_0x3a0679(0x39c)](_0x848eb1,_0x3f7c9e['tableId'],_0x3f7c9e[_0x3a0679(0xee)],{'conditionalColoring':_0xfe1418['length']?{'rules':_0xfe1418}:null}),_0x174651=new _0x39599e()['invertOp'](_0x848eb1,_0x38dbde),_0x311965={'unitId':_0x3f7c9e[_0x3a0679(0x47f)],'op':_0x38dbde},_0x38d083={'unitId':_0x3f7c9e[_0x3a0679(0x47f)],'op':_0x174651};return _0x4f8f10[_0x3a0679(0x387)](_0x5708b3[_0x3a0679(0x2db)])['syncExecuteCommand'](_0x44d218['id'],_0x311965)?(_0x3fced0[_0x3a0679(0xcd)](_0x3f7c9e['unitId']),_0x4f8f10['get'](_0x5708b3['IUndoRedoService'])[_0x3a0679(0x2b8)]({'unitID':_0x3f7c9e[_0x3a0679(0x47f)],'undoMutations':[{'id':_0x44d218['id'],'params':_0x38d083}],'redoMutations':[{'id':_0x44d218['id'],'params':_0x311965}]}),!0x0):!0x1;}};function _0x1f513a(_0x499f5c,_0x36d7ed){const _0x2de9f7=_0x5a0300;switch(_0x36d7ed[_0x2de9f7(0x131)]){case _0x2de9f7(0x289):return _0x5708b3[_0x2de9f7(0x3d6)][_0x2de9f7(0x251)](_0x36d7ed[_0x2de9f7(0x2e4)]);case _0x2de9f7(0x152):return[..._0x5708b3[_0x2de9f7(0x3d6)][_0x2de9f7(0x251)](_0x499f5c),_0x5708b3[_0x2de9f7(0x3d6)][_0x2de9f7(0x251)](_0x36d7ed[_0x2de9f7(0x13c)])];case _0x2de9f7(0x2d4):{let _0x2ab5b3=_0x499f5c[_0x2de9f7(0x22b)](_0x4d58fe=>_0x4d58fe['id']!==_0x36d7ed[_0x2de9f7(0x2ce)]);return _0x2ab5b3['length']===_0x499f5c[_0x2de9f7(0x211)]?null:_0x5708b3['Tools'][_0x2de9f7(0x251)](_0x2ab5b3);}case _0x2de9f7(0x3ec):return _0x499f5c[_0x2de9f7(0x211)]?[]:null;}}function _0x3b52f9(_0xca8da,_0x993d67){const _0x58ac66=_0x5a0300;if(!Array['isArray'](_0x993d67))throw TypeError(_0x58ac66(0x241));let _0xa905eb=new Set();for(let [_0x2e1b37,_0x290c61]of _0x993d67[_0x58ac66(0x15b)]())_0x19901b(_0xca8da,_0x290c61,_0x5da9a0(_0x290c61,_0x2e1b37,_0xa905eb));}function _0x5da9a0(_0x2bc1cd,_0x36ee27,_0x42af33){const _0x4ef902=_0x5a0300;if(!_0x2bc1cd||typeof _0x2bc1cd!=_0x4ef902(0x24f))throw TypeError(_0x4ef902(0x477)+_0x36ee27+_0x4ef902(0xf6));let _0x3e22e1=typeof _0x2bc1cd['id']=='string'&&_0x2bc1cd['id'][_0x4ef902(0x1bd)]()?'\x22'+_0x2bc1cd['id']+'\x22':_0x4ef902(0x1d8)+_0x36ee27;if(typeof _0x2bc1cd['id']!='string'||!_0x2bc1cd['id'][_0x4ef902(0x1bd)]())throw Error(_0x4ef902(0x291)+_0x3e22e1+_0x4ef902(0x26c));if(_0x42af33[_0x4ef902(0x4d4)](_0x2bc1cd['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x2bc1cd['id']+'\x22.');_0x42af33['add'](_0x2bc1cd['id']);let _0x4e4e17=typeof _0x2bc1cd[_0x4ef902(0x17d)]==_0x4ef902(0x220)&&_0x2bc1cd[_0x4ef902(0x17d)][_0x4ef902(0x1bd)]()?new _0x5708b3['ColorKit'](_0x2bc1cd[_0x4ef902(0x17d)]):null;if(!(_0x4e4e17!=null&&_0x4e4e17[_0x4ef902(0x332)]))throw Error(_0x4ef902(0x291)+_0x3e22e1+_0x4ef902(0x2f0));return _0x3e22e1;}function _0x19901b(_0x352689,_0x1e6f6b,_0xbab44b){const _0x1af91f=_0x5a0300;let _0x2239c4=new Set(Object[_0x1af91f(0x253)](_0x5708b3[_0x1af91f(0x38b)])),_0x1c43bd=new Set(Object['values'](_0x5708b3[_0x1af91f(0x367)])),_0xc25e9d=new Set(Object[_0x1af91f(0x253)](_0x5708b3[_0x1af91f(0x420)]));if(!_0x2239c4['has'](_0x1e6f6b[_0x1af91f(0x444)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0xbab44b+_0x1af91f(0x49f)+String(_0x1e6f6b['target'])+'\x22.');let _0x512968=typeof _0x1e6f6b[_0x1af91f(0x236)]==_0x1af91f(0x220)?_0x352689[_0x1af91f(0x527)][_0x1e6f6b['fieldId']]:void 0x0;if(!_0x512968||_0x512968[_0x1af91f(0x326)]===!0x0||_0x512968[_0x1af91f(0x131)]===_0x5708b3[_0x1af91f(0x2f3)]['RecordId'])throw Error(_0x1af91f(0x291)+_0xbab44b+_0x1af91f(0x1c9)+String(_0x1e6f6b[_0x1af91f(0x236)])+'\x22.');if(!_0x1c43bd['has'](_0x1e6f6b['operator']))throw Error(_0x1af91f(0x291)+_0xbab44b+_0x1af91f(0x43e)+String(_0x1e6f6b[_0x1af91f(0xe4)])+'\x22.');if(_0x1e6f6b[_0x1af91f(0x48b)]!==void 0x0&&!_0xc25e9d[_0x1af91f(0x4d4)](_0x1e6f6b[_0x1af91f(0x48b)]))throw Error(_0x1af91f(0x291)+_0xbab44b+_0x1af91f(0x270)+String(_0x1e6f6b[_0x1af91f(0x48b)])+'\x22.');if(_0x1e6f6b[_0x1af91f(0x444)]===_0x5708b3[_0x1af91f(0x38b)][_0x1af91f(0x1cc)])return;let _0x2d321a=_0x4ea3f5(_0x512968[_0x1af91f(0x131)]);if(!_0x2d321a['includes'](_0x1e6f6b['operator']))throw Error(_0x1af91f(0x291)+_0xbab44b+_0x1af91f(0x2c3)+_0x1e6f6b[_0x1af91f(0xe4)]+'\x22\x20with\x20field\x20type\x20\x22'+_0x512968[_0x1af91f(0x131)]+'\x22.\x20Allowed\x20operators:\x20'+_0x2d321a[_0x1af91f(0x212)](',\x20')+'.');if(_0x1e6f6b[_0x1af91f(0x48b)]!==void 0x0&&!_0x195574(_0x512968[_0x1af91f(0x131)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0xbab44b+_0x1af91f(0x4c3));}let _0x2a6400={'id':_0x5a0300(0x269),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler':(_0x41e492,_0x53b782)=>{const _0x4d51f0=_0x5a0300;if(!_0x53b782)return!0x1;let _0x4aac84=_0x41e492[_0x4d51f0(0x387)](_0x5708b3[_0x4d51f0(0x3b6)]),{unitId:_0xc9b126,tableId:_0x3d9fa2,viewId:_0x57c60b,patch:_0x5be849}=_0x53b782,_0x4f93d2=_0x4aac84['getUnit'](_0xc9b126,_0x5708b3['UniverInstanceType']['UNIVER_BASE']);if(!_0x4f93d2||!_0x11221f(_0x4f93d2,_0x3d9fa2,{'viewIds':[_0x57c60b]}))return!0x1;let _0xa56c9a=_0x41e492['get'](_0x5708b3[_0x4d51f0(0x2db)]),_0x57d2be=_0x41e492[_0x4d51f0(0x387)](_0x5708b3[_0x4d51f0(0x1bc)]),_0x456924=_0x4f93d2[_0x4d51f0(0x499)](),_0x45e0e9=new _0x108016()[_0x4d51f0(0x39c)](_0x456924,_0x3d9fa2,_0x57c60b,_0x5be849),_0x54adac=new _0x39599e()[_0x4d51f0(0x4a1)](_0x456924,_0x45e0e9),_0xa8e3eb={'unitId':_0xc9b126,'op':_0x45e0e9},_0x1f2afa={'unitId':_0xc9b126,'op':_0x54adac};return _0xa56c9a[_0x4d51f0(0x160)](_0x44d218['id'],_0xa8e3eb)?(_0x4aac84['focusUnit'](_0xc9b126),_0x57d2be['pushUndoRedo']({'unitID':_0xc9b126,'undoMutations':[{'id':_0x44d218['id'],'params':_0x1f2afa}],'redoMutations':[{'id':_0x44d218['id'],'params':_0xa8e3eb}]}),!0x0):!0x1;}},_0x3d79e1={'id':'base.command.validate-formula','type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x4be)],'handler'(_0x4a924d,_0x9dc9ba){const _0x588233=_0x5a0300;if(!_0x9dc9ba)return{'valid':!0x1,'reason':_0x588233(0x3d3)};let _0x1c9b51=_0x4a924d[_0x588233(0x387)](_0x5708b3[_0x588233(0x3b6)])[_0x588233(0x15c)](_0x9dc9ba[_0x588233(0x47f)],_0x5708b3[_0x588233(0x2b4)][_0x588233(0x1f9)]),_0x3ff077=_0x1c9b51==null?void 0x0:_0x1c9b51[_0x588233(0x499)](),_0x3b6b96=_0x3ff077==null?void 0x0:_0x3ff077[_0x588233(0x18e)][_0x9dc9ba['tableId']];return!_0x3ff077||!_0x3b6b96?{'valid':!0x1,'reason':_0x588233(0x221)}:new _0x37b380()[_0x588233(0x2cd)](_0x9dc9ba[_0x588233(0x459)],_0x3b6b96,{'snapshot':_0x3ff077});}},_0x3000d9=class extends _0x5708b3[_0x5a0300(0x3d4)]{constructor(_0x43b735){const _0x1a0afb=_0x5a0300;super(_0x43b735,_0x1a0afb(0x2c0),_0x5708b3[_0x1a0afb(0x2b4)][_0x1a0afb(0x1f9)],[_0x1f7924['UnitObject']['BaseTable'],_0x1f7924[_0x1a0afb(0x24a)]['BaseField'],_0x1f7924['UnitObject'][_0x1a0afb(0x458)],_0x1f7924[_0x1a0afb(0x24a)][_0x1a0afb(0x224)],_0x1f7924[_0x1a0afb(0x24a)][_0x1a0afb(0x1d0)]]);}};_0x3000d9=_0x4b373a([_0x3ce02e(0x0,_0x5708b3[_0x5a0300(0x1de)])],_0x3000d9);let _0xf0f939={'id':_0x5a0300(0x1e7),'type':_0x5708b3['CommandType']['MUTATION'],'handler':(_0x21ba5a,_0x35386e)=>!_0x35386e||!_0x21ba5a['get'](_0x5708b3[_0x5a0300(0x3b6)])[_0x5a0300(0x15c)](_0x35386e[_0x5a0300(0x47f)],_0x5708b3[_0x5a0300(0x2b4)][_0x5a0300(0x1f9)])?!0x1:_0x21ba5a[_0x5a0300(0x387)](_0x3000d9)[_0x5a0300(0x47d)](_0x35386e[_0x5a0300(0x47f)],_0x35386e[_0x5a0300(0x200)],_0x35386e[_0x5a0300(0x465)],_0x35386e[_0x5a0300(0x13c)])},_0x2fa3db={'id':_0x5a0300(0x3e8),'type':_0x5708b3[_0x5a0300(0x40e)][_0x5a0300(0x1ec)],'handler':(_0x2089c3,_0x469bc8)=>!_0x469bc8||!_0x2089c3[_0x5a0300(0x387)](_0x5708b3[_0x5a0300(0x3b6)])[_0x5a0300(0x15c)](_0x469bc8[_0x5a0300(0x47f)],_0x5708b3[_0x5a0300(0x2b4)][_0x5a0300(0x1f9)])?!0x1:_0x2089c3['get'](_0x3000d9)[_0x5a0300(0x393)](_0x469bc8['unitId'],_0x469bc8['rules'])};function _0x2cf114(_0x520c44){const _0x8c2629=_0x5a0300;let _0x49da51=_0x520c44['now']??Date[_0x8c2629(0x169)](),_0x55b128=_0x520c44[_0x8c2629(0xf2)]??_0x520c44['id']+_0x8c2629(0x3cd),_0x1ff319=_0x520c44[_0x8c2629(0xfa)]??_0x520c44['id']+_0x8c2629(0x10a),_0x52aa9d=_0x520c44['recordCount']??0x0,_0x4212c5=(0x0,_0x5708b3['createBaseRecordIdField'])(),_0x2fb342={'id':_0x55b128,'name':_0x520c44[_0x8c2629(0x139)]??'Name','type':_0x5708b3[_0x8c2629(0x2f3)][_0x8c2629(0x2ba)],'config':{'placeholder':_0x8c2629(0x2c8)}},_0x53e3a9={},_0x1a6739=[],_0x32a3d0={},_0x53312e={},_0x17a7c3={};for(let _0x25fdd0=0x0;_0x25fdd0<_0x52aa9d;_0x25fdd0++){let _0x26e7b8=_0x520c44['id']+'-record-'+(_0x25fdd0+0x1);_0x53e3a9[_0x26e7b8]={'id':_0x26e7b8,'values':{[_0x5708b3['BASE_RECORD_ID_FIELD_ID']]:_0x26e7b8,..._0x520c44['recordNamePrefix']?{[_0x55b128]:_0x520c44[_0x8c2629(0x4cd)]+'\x20'+(_0x25fdd0+0x1)}:{}},'orderKey':String(_0x25fdd0+0x1)[_0x8c2629(0x399)](0x4,'0'),'createdAt':_0x49da51,'updatedAt':_0x49da51},_0x1a6739[_0x8c2629(0x4a3)](_0x26e7b8),_0x32a3d0[_0x26e7b8]=_0x25fdd0,_0x53312e[_0x25fdd0]=_0x26e7b8,_0x17a7c3[_0x25fdd0]={0x0:{'v':_0x26e7b8,'t':_0x5708b3[_0x8c2629(0xff)][_0x8c2629(0x197)]}},_0x520c44['recordNamePrefix']&&(_0x17a7c3[_0x25fdd0][0x1]={'v':_0x520c44[_0x8c2629(0x4cd)]+'\x20'+(_0x25fdd0+0x1),'t':_0x5708b3[_0x8c2629(0xff)][_0x8c2629(0x197)]});}let _0x31568b={'id':_0x1ff319,'tableId':_0x520c44['id'],'name':_0x8c2629(0x2dd),'type':_0x5708b3[_0x8c2629(0x33b)]['Grid'],'fieldOrder':[_0x5708b3[_0x8c2629(0x3c2)],_0x55b128],'fieldSettings':{[_0x5708b3[_0x8c2629(0x3c2)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x520c44['id'],'name':_0x520c44[_0x8c2629(0x3b4)],'primaryFieldId':_0x55b128,'fieldOrder':[_0x5708b3[_0x8c2629(0x3c2)],_0x55b128],'fields':{[_0x5708b3[_0x8c2629(0x3c2)]]:_0x4212c5,[_0x55b128]:_0x2fb342},'records':_0x53e3a9,'recordOrder':_0x1a6739,'rowIndex':_0x32a3d0,'rowId':_0x53312e,'colIndex':{[_0x5708b3[_0x8c2629(0x3c2)]]:0x0,[_0x55b128]:0x1},'colId':{0x0:_0x5708b3['BASE_RECORD_ID_FIELD_ID'],0x1:_0x55b128},'cellData':_0x17a7c3,'views':{[_0x1ff319]:_0x31568b},'viewOrder':[_0x1ff319]};}let _0x2c01ae=_0x5a0300(0x44e);function _0x3acd2f(_0x43df1e){const _0x3b6b57=_0x5a0300;let _0xf69515=_0x2cf114({'id':_0x43df1e[_0x3b6b57(0x1b9)],'name':_0x43df1e[_0x3b6b57(0x3b4)]??_0x43df1e['embedId'],'recordCount':0x0});return{..._0xf69515,'resources':{..._0xf69515[_0x3b6b57(0x25b)]??{},[_0x2c01ae]:_0x6b96d1(_0x43df1e)}};}function _0x2e32ac(_0x2336bc){const _0x1d6790=_0x5a0300;return{'id':_0x44d218['id'],'params':{'unitId':_0x2336bc['unitId'],'op':_0x5708b3[_0x1d6790(0x21b)][_0x1d6790(0x131)][_0x1d6790(0x30d)](_0x5708b3[_0x1d6790(0x21b)]['insertOp']([_0x1d6790(0x18e),_0x2336bc[_0x1d6790(0x294)]['id']],_0x2336bc[_0x1d6790(0x294)]),_0x5708b3[_0x1d6790(0x21b)][_0x1d6790(0x1fc)]([_0x1d6790(0xec),_0x2336bc[_0x1d6790(0x3a1)]??_0x2336bc[_0x1d6790(0x48c)]['tableOrder'][_0x1d6790(0x211)]],_0x2336bc[_0x1d6790(0x294)]['id'])),'trigger':_0x1d6790(0xf4)}};}function _0x19af79(_0x59c406){const _0x11ff50=_0x5a0300;let _0x365ad8=_0x59c406['snapshot'][_0x11ff50(0xec)][_0x11ff50(0x4ed)](_0x59c406[_0x11ff50(0x40f)]);if(!(!_0x59c406[_0x11ff50(0x48c)]['tables'][_0x59c406[_0x11ff50(0x40f)]]||_0x365ad8<0x0))return{'id':_0x44d218['id'],'params':{'unitId':_0x59c406['unitId'],'op':_0x5708b3['JSON1'][_0x11ff50(0x131)][_0x11ff50(0x30d)](_0x5708b3[_0x11ff50(0x21b)][_0x11ff50(0x4c0)]([_0x11ff50(0x18e),_0x59c406['tableId']],_0x59c406[_0x11ff50(0x48c)][_0x11ff50(0x18e)][_0x59c406[_0x11ff50(0x40f)]]),_0x5708b3['JSON1'][_0x11ff50(0x4c0)]([_0x11ff50(0xec),_0x365ad8],_0x59c406[_0x11ff50(0x40f)])),'trigger':_0x11ff50(0xf4)}};}function _0x6b96d1(_0x258af3){const _0x4e27a7=_0x5a0300;return{'version':0x1,'embedId':_0x258af3[_0x4e27a7(0xf8)],'hostAnchorId':_0x258af3[_0x4e27a7(0x1b9)],'childUnitId':_0x258af3[_0x4e27a7(0x3c4)],'childType':_0x258af3[_0x4e27a7(0x4eb)]};}function _0xd701b8(_0x20299f){const _0x24af2c=_0x5a0300;let _0x1eaa69=Math[_0x24af2c(0x2a0)](0x0,Number(_0x20299f['decimalPlaces']??0x0)),_0x33eeff=_0x20299f[_0x24af2c(0x115)]===!0x1?'0':'#,##0',_0x3083e3=_0x1eaa69?'.'+'0'[_0x24af2c(0x429)](_0x1eaa69):'',_0xf52209=_0x247f0c(_0x20299f['abbreviation']);return''+(_0x20299f[_0x24af2c(0x226)]?_0x5c837d(_0x20299f[_0x24af2c(0x226)]):'')+_0x33eeff+_0x3083e3+_0xf52209;}function _0x23593e(_0x3a12d2,_0x5c5d7b){const _0x4711c7=_0x5a0300;let _0x5392d2=_0xd701b8(_0x5c5d7b),_0x4ad748=_0x5708b3[_0x4711c7(0x46b)][_0x4711c7(0x498)](_0x5392d2,_0x3a12d2,{'throws':!0x1});return _0x32d0e0(String(_0x4ad748),_0x5c5d7b[_0x4711c7(0x486)],_0x5c5d7b[_0x4711c7(0x395)]);}function _0x247f0c(_0x5c54e3){const _0x139949=_0x5a0300;return _0x5c54e3==='K'?',\x22K\x22':_0x5c54e3==='M'?_0x139949(0x36e):_0x5c54e3==='B'?_0x139949(0x1b3):'';}function _0x5c837d(_0x52080e){const _0x1de721=_0x5a0300;return/^[A-Z]+$/i[_0x1de721(0x3bf)](_0x52080e)?'\x22'+_0x52080e+'\x22':_0x52080e;}function _0x32d0e0(_0x293800,_0x360bf4,_0x4546b5){const _0xf9ddb4=_0x5a0300;let _0x3638ca=_0x360bf4==='local'?_0x1f53b4(_0x4546b5):_0x360bf4;return _0x3638ca===_0xf9ddb4(0x2eb)?_0x293800[_0xf9ddb4(0x476)](/,/g,'\x00')[_0xf9ddb4(0x476)](/\./g,',')['replace'](/\0/g,'.'):_0x3638ca===_0xf9ddb4(0x31e)?_0x293800[_0xf9ddb4(0x476)](/,/g,'\x20')[_0xf9ddb4(0x476)](/\./g,','):_0x3638ca===_0xf9ddb4(0x526)?_0x293800[_0xf9ddb4(0x476)](/,/g,'\x20'):_0x293800;}function _0x1f53b4(_0x3e022b){const _0xe7b2ae=_0x5a0300;var _0x1a81e7,_0x5d687c;let _0x1277a7=_0x3e022b||new Intl[(_0xe7b2ae(0x174))]()[_0xe7b2ae(0x3eb)]()[_0xe7b2ae(0x395)],_0x3b28c7;try{_0x3b28c7=new Intl[(_0xe7b2ae(0x174))](_0x1277a7,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return'commaPeriod';}let _0x1b05e7=(_0x1a81e7=_0x3b28c7[_0xe7b2ae(0x1ab)](_0x856013=>_0x856013[_0xe7b2ae(0x131)]===_0xe7b2ae(0x266)))==null?void 0x0:_0x1a81e7[_0xe7b2ae(0x12c)],_0x1dbfb8=(_0x5d687c=_0x3b28c7[_0xe7b2ae(0x1ab)](_0x7ed29c=>_0x7ed29c[_0xe7b2ae(0x131)]===_0xe7b2ae(0x17e)))==null?void 0x0:_0x5d687c[_0xe7b2ae(0x12c)],_0x258117=_0x1b05e7==='\u00a0'||_0x1b05e7==='\u202f'?'\x20':_0x1b05e7;return _0x258117==='.'&&_0x1dbfb8===','?_0xe7b2ae(0x2eb):_0x258117==='\x20'&&_0x1dbfb8===','?_0xe7b2ae(0x31e):_0x258117==='\x20'&&_0x1dbfb8==='.'?_0xe7b2ae(0x526):'commaPeriod';}function _0x2204c0(_0x3bf340,_0x55d158){const _0x1dd63c=_0x5a0300;let _0x3289e8=_0x55d158&&typeof _0x55d158=='object'&&!Array[_0x1dd63c(0x46f)](_0x55d158)?_0x55d158:{},_0x439f10=_0x2e603b(_0x3289e8[_0x1dd63c(0x4c7)],0x0,0x2,0x0),_0x290e3b=_0x3bf340[_0x1dd63c(0x415)](_0x439f10);return _0x3289e8[_0x1dd63c(0x498)]==='number'?_0x290e3b:_0x290e3b+'%';}function _0x2e603b(_0x3184b7,_0x1a1678,_0x182648,_0x25aa5a){const _0x1f692c=_0x5a0300;if(_0x3184b7==null||_0x3184b7==='')return _0x25aa5a;let _0x127067=typeof _0x3184b7=='number'?_0x3184b7:Number(_0x3184b7);return Number[_0x1f692c(0x368)](_0x127067)?Math['max'](_0x1a1678,Math[_0x1f692c(0x35a)](_0x182648,Math['round'](_0x127067))):_0x25aa5a;}let _0xb5a476=['count','filled',_0x5a0300(0x301),_0x5a0300(0x141),_0x5a0300(0x3ab),_0x5a0300(0x297),_0x5a0300(0x35a),_0x5a0300(0x2a0)],_0x232b74=[_0x5a0300(0x191),'filled',_0x5a0300(0x301),_0x5a0300(0x141)],_0x3b0c90=[_0x5a0300(0x3ab),_0x5a0300(0x297),_0x5a0300(0x35a),_0x5a0300(0x2a0)],_0x3f5933=['min','max'],_0x3f2d1a=new Set([_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x496)],_0x5708b3['BaseFieldType'][_0x5a0300(0xcb)],_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x3de)],_0x5708b3[_0x5a0300(0x2f3)][_0x5a0300(0x3b5)]]),_0x572232=new Set([_0x5708b3['BaseFieldType'][_0x5a0300(0x35d)],_0x5708b3[_0x5a0300(0x2f3)]['Person'],_0x5708b3['BaseFieldType'][_0x5a0300(0x4ae)]]),_0x5931ed='General';function _0x35ab83(_0x25739a){const _0x3c4570=_0x5a0300;return typeof _0x25739a=='string'&&_0xb5a476[_0x3c4570(0x248)](_0x25739a);}function _0x95fe5c(_0x46654d){const _0x450e39=_0x5a0300;return!_0x46654d||typeof _0x46654d!=_0x450e39(0x24f)?{}:Object[_0x450e39(0x3f2)](Object['entries'](_0x46654d)[_0x450e39(0x22b)](_0x23d770=>_0x35ab83(_0x23d770[0x1])));}function _0x30bf85(_0x4d49e4){const _0x77033e=_0x5a0300;return _0x3f2d1a[_0x77033e(0x4d4)](_0x4d49e4['type'])?[..._0x232b74,..._0x3b0c90]:_0x4d49e4[_0x77033e(0x131)]===_0x5708b3[_0x77033e(0x2f3)][_0x77033e(0x20b)]?[..._0x232b74,..._0x293a13(_0x4d49e4)===_0x77033e(0x21f)?_0x3f5933:_0x3b0c90]:_0x232b74;}function _0x3886eb(_0x5eaf6e,_0x1bfdf5){const _0x3f101f=_0x5a0300;return _0x30bf85(_0x5eaf6e)[_0x3f101f(0x248)](_0x1bfdf5);}function _0x2754d4(_0x441e19,_0x90f9cc,_0x3a8a61){const _0x24496b=_0x5a0300;if(!_0x3886eb(_0x441e19,_0x3a8a61))return null;let _0x3ef576=_0x90f9cc['filter'](_0x3392be=>!_0x426b61(_0x441e19,_0x3392be));switch(_0x3a8a61){case _0x24496b(0x191):return _0x90f9cc['length'];case _0x24496b(0x37d):return _0x3ef576[_0x24496b(0x211)];case'empty':return _0x90f9cc['length']-_0x3ef576[_0x24496b(0x211)];case _0x24496b(0x141):return new Set(_0x3ef576[_0x24496b(0x447)](_0x375419=>_0x42a3dd(_0x441e19,_0x375419)))[_0x24496b(0x3a7)];case _0x24496b(0x3ab):{let _0x1505cc=_0x42d56f(_0x441e19,_0x3ef576);return _0x1505cc[_0x24496b(0x211)]?_0x172e44(_0x1505cc):null;}case _0x24496b(0x297):{let _0x24b5b0=_0x42d56f(_0x441e19,_0x3ef576);return _0x24b5b0[_0x24496b(0x211)]?_0x172e44(_0x24b5b0)/_0x24b5b0[_0x24496b(0x211)]:null;}case _0x24496b(0x35a):{let _0x34bf6f=_0x42d56f(_0x441e19,_0x3ef576);return _0x34bf6f[_0x24496b(0x211)]?Math['min'](..._0x34bf6f):null;}case _0x24496b(0x2a0):{let _0x333b60=_0x42d56f(_0x441e19,_0x3ef576);return _0x333b60[_0x24496b(0x211)]?Math['max'](..._0x333b60):null;}}}function _0xfa7ec7(_0x5d2f8c,_0x307812,_0x4f4bc5){const _0x5efd41=_0x5a0300;if(_0x4f4bc5==null||!Number[_0x5efd41(0x368)](_0x4f4bc5))return'-';if(_0x232b74['includes'](_0x307812))return String(_0x4f4bc5);switch(_0x5d2f8c[_0x5efd41(0x131)]){case _0x5708b3[_0x5efd41(0x2f3)][_0x5efd41(0x496)]:return _0x23593e(_0x4f4bc5,_0x381185(_0x5d2f8c));case _0x5708b3['BaseFieldType'][_0x5efd41(0xcb)]:return _0x23593e(_0x4f4bc5,_0x54ba4d(_0x5d2f8c));case _0x5708b3[_0x5efd41(0x2f3)][_0x5efd41(0x3de)]:return _0x2204c0(_0x4f4bc5,_0x5d2f8c[_0x5efd41(0x21c)]);case _0x5708b3[_0x5efd41(0x2f3)][_0x5efd41(0x20b)]:return _0x3dcf47(_0x4f4bc5,_0x5d2f8c);default:return _0x4beb44(_0x4f4bc5);}}function _0x426b61(_0x275e16,_0x15f8a5){const _0x288a7a=_0x5a0300;if(_0x15f8a5==null)return!0x0;if(typeof _0x15f8a5==_0x288a7a(0x220))return _0x15f8a5[_0x288a7a(0x1bd)]()==='';if(Array[_0x288a7a(0x46f)](_0x15f8a5))return _0x275e16['type']===_0x5708b3[_0x288a7a(0x2f3)][_0x288a7a(0x49b)]?!_0x15f8a5[_0x288a7a(0x2e9)](_0x5c3ac2):_0x15f8a5['length']===0x0;if(_0x275e16[_0x288a7a(0x131)]===_0x5708b3[_0x288a7a(0x2f3)][_0x288a7a(0x1fb)]&&typeof _0x15f8a5==_0x288a7a(0x24f)){let _0x46d446=_0x15f8a5;return[_0x46d446[_0x288a7a(0x462)],_0x46d446[_0x288a7a(0x4ab)]][_0x288a7a(0x135)](_0x26a729=>_0x26a729==null||String(_0x26a729)[_0x288a7a(0x1bd)]()==='');}return!0x1;}function _0x42d56f(_0x146139,_0x4e37c6){const _0x5e54b8=_0x5a0300;let _0x1e7f46=[];for(let _0x3afc0d of _0x4e37c6){let _0xe5c5c8=_0x254085(_0x146139,_0x3afc0d);_0xe5c5c8!=null&&_0x1e7f46[_0x5e54b8(0x4a3)](_0xe5c5c8);}return _0x1e7f46;}function _0x254085(_0x4efbcc,_0x3c9a57){const _0x4a1371=_0x5a0300;if(typeof _0x3c9a57=='number')return Number[_0x4a1371(0x368)](_0x3c9a57)?_0x3c9a57:null;if(_0x4efbcc[_0x4a1371(0x131)]!==_0x5708b3[_0x4a1371(0x2f3)][_0x4a1371(0x20b)]&&typeof _0x3c9a57==_0x4a1371(0x220)&&_0x3c9a57[_0x4a1371(0x1bd)]()!==''){let _0x30e0e2=Number(_0x3c9a57);return Number['isFinite'](_0x30e0e2)?_0x30e0e2:null;}return null;}function _0x172e44(_0x3c69bf){const _0x515329=_0x5a0300;let _0x174e39=0x0,_0x15e023=0x0;for(let _0x3ce31b of _0x3c69bf){let _0x2a717a=_0x174e39+_0x3ce31b;_0x15e023+=Math['abs'](_0x174e39)>=Math[_0x515329(0x416)](_0x3ce31b)?_0x174e39-_0x2a717a+_0x3ce31b:_0x3ce31b-_0x2a717a+_0x174e39,_0x174e39=_0x2a717a;}return _0x174e39+_0x15e023;}function _0x42a3dd(_0x31b052,_0x1447d9){const _0x62ba9d=_0x5a0300;return _0x572232[_0x62ba9d(0x4d4)](_0x31b052[_0x62ba9d(0x131)])&&Array[_0x62ba9d(0x46f)](_0x1447d9)?_0x5e3702([...new Set(_0x1447d9[_0x62ba9d(0x447)](_0x5c0a17=>_0x5e3702(_0x167a42(_0x5c0a17))))][_0x62ba9d(0x3c8)]()):_0x5e3702(_0x167a42(_0x1447d9));}function _0x167a42(_0x2424ba){const _0x231433=_0x5a0300;return Array[_0x231433(0x46f)](_0x2424ba)?_0x2424ba[_0x231433(0x447)](_0x167a42):_0x2424ba&&typeof _0x2424ba==_0x231433(0x24f)?Object[_0x231433(0x3f2)](Object[_0x231433(0x15b)](_0x2424ba)[_0x231433(0x3c8)](([_0x239987],[_0x11e3eb])=>_0x239987[_0x231433(0x323)](_0x11e3eb))[_0x231433(0x447)](([_0xc3d432,_0xedc446])=>[_0xc3d432,_0x167a42(_0xedc446)])):_0x2424ba;}function _0x5e3702(_0xed656e){const _0x55eaf7=_0x5a0300;return JSON[_0x55eaf7(0x494)](_0xed656e)??'undefined';}function _0x5c3ac2(_0x17723e){const _0x5a1cf0=_0x5a0300;if(typeof _0x17723e==_0x5a1cf0(0x220))return _0x17723e['trim']()!=='';if(!_0x17723e||typeof _0x17723e!=_0x5a1cf0(0x24f))return!0x1;let _0x17f0be=_0x17723e;return[_0x17f0be['id'],_0x17f0be[_0x5a1cf0(0x3b4)],_0x17f0be[_0x5a1cf0(0x50d)],_0x17f0be[_0x5a1cf0(0x4ab)],_0x17f0be[_0x5a1cf0(0x34d)]][_0x5a1cf0(0x2e9)](_0x3b1060=>_0x3b1060!=null&&String(_0x3b1060)['trim']()!=='');}function _0x381185(_0x491931){const _0x30ce48=_0x5a0300;let _0x2618d9=_0x4e01b8(_0x491931[_0x30ce48(0x21c)]);return{'decimalPlaces':_0x70b9f7(_0x2618d9['decimalPlaces'],0x0,0x14,0x2),'separatorStyle':typeof _0x2618d9[_0x30ce48(0x486)]==_0x30ce48(0x220)?_0x2618d9[_0x30ce48(0x486)]:_0x30ce48(0x28a),'locale':typeof _0x2618d9[_0x30ce48(0x395)]==_0x30ce48(0x220)?_0x2618d9[_0x30ce48(0x395)]:void 0x0,'useThousands':_0x2618d9[_0x30ce48(0x115)]!==!0x1,'abbreviation':typeof _0x2618d9[_0x30ce48(0x451)]==_0x30ce48(0x220)?_0x2618d9['abbreviation']:_0x30ce48(0x1dc)};}function _0x54ba4d(_0x19db5a){const _0x427f2e=_0x5a0300;let _0x723999=_0x4e01b8(_0x19db5a[_0x427f2e(0x21c)]);return{..._0x381185(_0x19db5a),'currencySymbol':String(_0x723999[_0x427f2e(0x226)]??'$')};}function _0x3dcf47(_0x25fff2,_0x4afa20){const _0x42ba50=_0x5a0300;let _0x315207=_0x42cab8(_0x4afa20);if(_0x315207===_0x5931ed)return _0x4beb44(_0x25fff2);try{return String(_0x5708b3[_0x42ba50(0x46b)]['format'](_0x315207,_0x25fff2,{'throws':!0x1}));}catch{return _0x4beb44(_0x25fff2);}}function _0x293a13(_0x15c65b){const _0x1d76e1=_0x5a0300;let _0x30c181=_0x4e01b8(_0x4e01b8(_0x15c65b[_0x1d76e1(0x21c)])[_0x1d76e1(0x46b)]);return typeof _0x30c181['type']=='string'?_0x30c181['type']:'general';}function _0x42cab8(_0x20cdea){const _0x16ea09=_0x5a0300;let _0x17f8d4=_0x4e01b8(_0x4e01b8(_0x20cdea[_0x16ea09(0x21c)])[_0x16ea09(0x46b)]);return String(_0x17f8d4[_0x16ea09(0x4f1)]??_0x5931ed)[_0x16ea09(0x1bd)]()||_0x5931ed;}function _0x4beb44(_0x2968c6){const _0x58f735=_0x5a0300;return String(Number[_0x58f735(0x2a4)](_0x2968c6)?_0x2968c6:Math['round']((_0x2968c6+0x2**-0x34)*0x64)/0x64);}function _0x4e01b8(_0x341779){const _0x53ac0f=_0x5a0300;return _0x341779&&typeof _0x341779==_0x53ac0f(0x24f)&&!Array[_0x53ac0f(0x46f)](_0x341779)?_0x341779:{};}function _0x4a7cbc(_0x37906c){if(_0x37906c==null||_0x37906c==='')return null;let _0x52de8e=typeof _0x37906c=='number'?_0x37906c:Number(_0x37906c);return Number['isFinite'](_0x52de8e)?_0x52de8e:null;}function _0x70b9f7(_0x44109d,_0x1e0d4a,_0x4623bc,_0xd8b13d){const _0x47a8d1=_0x5a0300;let _0x3a257b=_0x4a7cbc(_0x44109d);return _0x3a257b==null?_0xd8b13d:Math[_0x47a8d1(0x2a0)](_0x1e0d4a,Math[_0x47a8d1(0x35a)](_0x4623bc,Math[_0x47a8d1(0x1c6)](_0x3a257b)));}function _0x972804(_0x23d84a,_0x57753c){const _0x115d84=_0x5a0300;let _0xd02072=_0x5708b3[_0x115d84(0x3d6)][_0x115d84(0x251)](_0x23d84a),_0x1990f6=_0x57753c['includeRecords']===!0x0,_0x351a15=new Map(),_0x31122b=_0x57753c['createViewId']??(()=>_0x115d84(0x464)+(0x0,_0x5708b3[_0x115d84(0x42d)])(0x8)),_0x5182fd=_0xd02072['viewOrder'];return _0x57753c[_0x115d84(0x4bc)]&&(_0x5182fd=_0xd02072['viewOrder'][_0x115d84(0x447)](_0x47b27e=>{let _0x5052a6=_0x31122b();return _0x351a15['set'](_0x47b27e,_0x5052a6),_0x5052a6;})),{..._0xd02072,'id':_0x57753c['id'],'name':_0x57753c[_0x115d84(0x3b4)],'records':_0x1990f6?_0xd02072[_0x115d84(0x457)]:{},'recordOrder':_0x1990f6?_0xd02072['recordOrder']:[],'rowIndex':_0x1990f6?_0xd02072[_0x115d84(0x1eb)]:{},'rowId':_0x1990f6?_0xd02072[_0x115d84(0x2ee)]:{},'cellData':_0x1990f6?_0xd02072[_0x115d84(0x497)]:{},'resources':_0x1990f6?_0xd02072[_0x115d84(0x25b)]:{},'viewOrder':_0x5182fd,'views':Object[_0x115d84(0x3f2)](Object[_0x115d84(0x15b)](_0xd02072[_0x115d84(0x255)]??{})[_0x115d84(0x447)](([_0x1d8902,_0x344a0a])=>{const _0x52d726=_0x115d84;let _0x2fd301=_0x351a15[_0x52d726(0x387)](_0x1d8902)??(_0x57753c[_0x52d726(0x4bc)]?_0x31122b():_0x1d8902);return[_0x2fd301,{..._0x344a0a,'id':_0x2fd301,'tableId':_0x57753c['id']}];}))};}var _0x5b018b='@univerjs-pro/bases',_0x41d21b=_0x5a0300(0xd5);let _0x5d06b1={};function _0x4ac75b(_0x2c7d8d){const _0x3d7469=_0x5a0300;return new _0x39599e()[_0x3d7469(0xcc)](_0x2c7d8d);}function _0x38a151(_0x9e90e8){const _0x53b961=_0x5a0300;return _0x9e90e8['patches'][_0x53b961(0x447)](_0x40e4d0=>({'unitId':_0x9e90e8['unitId'],'sheetId':_0x9e90e8[_0x53b961(0x40f)],'range':{'startRow':_0x40e4d0[_0x53b961(0x3e1)],'endRow':_0x40e4d0[_0x53b961(0x3e1)],'startColumn':_0x40e4d0['col'],'endColumn':_0x40e4d0[_0x53b961(0x2e5)]}}));}function _0x456bed(_0x458af8,_0x505dd5){const _0x1abb2a=_0x5a0300;return{[_0x458af8]:Object[_0x1abb2a(0x3f2)](_0x505dd5[_0x1abb2a(0x447)](_0x372142=>[_0x372142,'1']))};}let _0x3e4857=class extends _0x5708b3[_0x5a0300(0x4ac)]{constructor(_0x4c2f4d,_0x31ae46){const _0x2e147e=_0x5a0300;super(),this[_0x2e147e(0x275)]=_0x4c2f4d,this[_0x2e147e(0x4e4)]=_0x31ae46,this['_initialize']();}['_initialize'](){const _0x29cee6=_0x5a0300;this['_activeDirtyManagerService'][_0x29cee6(0x4a9)](_0x44d218['id'],{'commandId':_0x44d218['id'],'getDirtyData':_0x5c462e=>this[_0x29cee6(0x3df)](_0x5c462e[_0x29cee6(0x2c5)])}),this['disposeWithMe']((0x0,_0x5708b3['toDisposable'])(()=>{const _0x35558e=_0x29cee6;this[_0x35558e(0x275)]['remove'](_0x44d218['id']);}));}[_0x5a0300(0x39d)](_0xaa9873,_0x343422){const _0x46a7eb=_0x5a0300;let _0x44cbf7=this[_0x46a7eb(0x4e4)][_0x46a7eb(0x15c)](_0xaa9873,_0x5708b3[_0x46a7eb(0x2b4)][_0x46a7eb(0x1f9)]);return(_0x44cbf7==null?void 0x0:_0x44cbf7['getSnapshot']()[_0x46a7eb(0x18e)][_0x343422])??null;}[_0x5a0300(0x3df)](_0x352c7e){const _0x1a24a3=_0x5a0300;if(_0x352c7e[_0x1a24a3(0x3b3)]===_0x1a24a3(0x43d))return{};if(!_0x352c7e['unitId']||!_0x352c7e['op'])return{'clearDependencyTreeCache':this[_0x1a24a3(0x19d)](),'forceCalculation':!0x0};let _0x5d6dc5=_0x4ac75b(_0x352c7e['op']),_0x2537e0=this[_0x1a24a3(0x50b)](_0x352c7e[_0x1a24a3(0x47f)],_0x5d6dc5);if(_0x2537e0['length'])return{'clearDependencyTreeCache':_0x456bed(_0x352c7e['unitId'],_0x2537e0),'forceCalculation':!0x0};let _0x2c40c3=Object[_0x1a24a3(0x15b)](this[_0x1a24a3(0x442)](_0x352c7e[_0x1a24a3(0x47f)],_0x5d6dc5))[_0x1a24a3(0x375)](([_0x5298cd,_0x242488])=>_0x38a151({'unitId':_0x352c7e[_0x1a24a3(0x47f)],'tableId':_0x5298cd,'patches':_0x242488}));return _0x2c40c3['length']?{'dirtyRanges':_0x2c40c3}:{};}[_0x5a0300(0x50b)](_0x1c2d81,_0xbeef9c){const _0x426be1=_0x5a0300;let _0x184286=_0xbeef9c[_0x426be1(0x22b)](_0x3e2ce0=>_0x3e2ce0[_0x426be1(0x2a9)]!==_0x426be1(0x1f1))[_0x426be1(0x375)](_0x165d01=>_0x165d01[_0x426be1(0x40f)]?[_0x165d01['tableId']]:this[_0x426be1(0x44b)](_0x1c2d81));return Array['from'](new Set(_0x184286));}[_0x5a0300(0x442)](_0x31860c,_0x285ed8){const _0x40e3b4=_0x5a0300;let _0x90d275=new Set();return _0x285ed8[_0x40e3b4(0x106)]((_0x1b35b2,_0x1a967f)=>{const _0x2f1ac5=_0x40e3b4;let _0x39c245=this[_0x2f1ac5(0x183)](_0x31860c,_0x1a967f);if(!_0x39c245)return _0x1b35b2;let _0x2b844e=_0x1a967f[_0x2f1ac5(0x40f)]+':'+_0x39c245[_0x2f1ac5(0x3e1)]+':'+_0x39c245[_0x2f1ac5(0x2e5)];return _0x90d275[_0x2f1ac5(0x4d4)](_0x2b844e)||(_0x90d275['add'](_0x2b844e),_0x1b35b2[_0x1a967f[_0x2f1ac5(0x40f)]]=_0x1b35b2[_0x1a967f[_0x2f1ac5(0x40f)]]??[],_0x1b35b2[_0x1a967f[_0x2f1ac5(0x40f)]][_0x2f1ac5(0x4a3)](_0x39c245)),_0x1b35b2;},{});}[_0x5a0300(0x183)](_0x283efe,_0x4e04e0){const _0x187229=_0x5a0300;if(_0x4e04e0[_0x187229(0x2a9)]!==_0x187229(0x1f1))return null;if(_0x4e04e0[_0x187229(0x3e1)]!=null&&_0x4e04e0[_0x187229(0x38a)]!=null)return{'row':_0x4e04e0[_0x187229(0x3e1)],'col':_0x4e04e0[_0x187229(0x38a)],'value':null};if(!_0x4e04e0[_0x187229(0x34b)]||!_0x4e04e0[_0x187229(0x236)])return null;let _0x291158=this[_0x187229(0x39d)](_0x283efe,_0x4e04e0[_0x187229(0x40f)]);if(!_0x291158)return null;let _0x2d6da6=_0x3917e3(_0x291158,_0x4e04e0['recordId'],_0x4e04e0[_0x187229(0x236)]);return _0x2d6da6?{'row':_0x2d6da6[_0x187229(0x3e1)],'col':_0x2d6da6[_0x187229(0x2e5)],'value':null}:null;}['_getAllTableIds'](_0x30c2ff){const _0x75edd0=_0x5a0300;let _0x3c7c95=this[_0x75edd0(0x4e4)][_0x75edd0(0x15c)](_0x30c2ff,_0x5708b3[_0x75edd0(0x2b4)]['UNIVER_BASE']);return Object[_0x75edd0(0x253)]((_0x3c7c95==null?void 0x0:_0x3c7c95[_0x75edd0(0x499)]()['tables'])??{})[_0x75edd0(0x447)](_0x481093=>_0x481093['id']);}[_0x5a0300(0x19d)](){const _0x5dae23=_0x5a0300;let _0x2b2307=this['_univerInstanceService'][_0x5dae23(0x2e1)](_0x5708b3[_0x5dae23(0x2b4)][_0x5dae23(0x1f9)])['map'](_0x5a3df4=>_0x456bed(_0x5a3df4[_0x5dae23(0x247)](),Object[_0x5dae23(0x4dd)](_0x5a3df4[_0x5dae23(0x499)]()[_0x5dae23(0x18e)])));return Object[_0x5dae23(0x1ba)]({},..._0x2b2307);}};_0x3e4857=_0x4b373a([_0x3ce02e(0x0,_0x13e179[_0x5a0300(0x19e)]),_0x3ce02e(0x1,_0x5708b3[_0x5a0300(0x3b6)])],_0x3e4857);let _0x1c18f2=class extends _0x5708b3[_0x5a0300(0x4ac)]{constructor(_0x5e997a,_0x47e5e9,_0x5cc226,_0x25d47a){const _0x36d159=_0x5a0300;super(),this[_0x36d159(0x17f)]=_0x5e997a,this[_0x36d159(0x4e4)]=_0x47e5e9,this['_formulaCalculationTriggerService']=_0x5cc226,this[_0x36d159(0x4fe)]=_0x25d47a,_0x5535f0(this,_0x36d159(0x3f6),new _0x37b380()),_0x5535f0(this,_0x36d159(0x14c),new Map()),_0x5535f0(this,'_scheduledSuperTableSyncs',new Set()),_0x5535f0(this,'_formulaSyncQueue',Promise['resolve']()),_0x5535f0(this,'_applyingFormulaResults',!0x1),this[_0x36d159(0x4e6)]();}[_0x5a0300(0x4e6)](){const _0x5f5b98=_0x5a0300;this[_0x5f5b98(0x4e4)][_0x5f5b98(0x2e1)](_0x5708b3[_0x5f5b98(0x2b4)]['UNIVER_BASE'])['forEach'](_0x23c48e=>{const _0x4afe9f=_0x5f5b98;this[_0x4afe9f(0x15e)](_0x23c48e);}),this['disposeWithMe'](this[_0x5f5b98(0x4e4)][_0x5f5b98(0x515)](_0x5708b3[_0x5f5b98(0x2b4)][_0x5f5b98(0x1f9)])[_0x5f5b98(0x34a)](({unit:_0x50cbb8})=>{const _0x21c2c0=_0x5f5b98;this[_0x21c2c0(0x15e)](_0x50cbb8);})),this[_0x5f5b98(0x208)](this[_0x5f5b98(0x4e4)][_0x5f5b98(0x43b)](_0x5708b3[_0x5f5b98(0x2b4)][_0x5f5b98(0x1f9)])[_0x5f5b98(0x34a)](_0x2a0b79=>{const _0x45c01c=_0x5f5b98;this['_enqueueFormulaSync'](()=>this[_0x45c01c(0x168)](_0x2a0b79[_0x45c01c(0x247)]()));})),this[_0x5f5b98(0x208)](this[_0x5f5b98(0x17f)]['onCommandExecuted'](_0x39f31f=>this[_0x5f5b98(0x4a8)](_0x39f31f)));}['_onCommandExecuted'](_0x119700){const _0x3868e0=_0x5a0300;if(_0x119700['id']===_0x13e179['SetFormulaCalculationResultMutation']['id']){_0x5f02ba(_0x119700[_0x3868e0(0x2c5)])&&this[_0x3868e0(0x1af)](_0x119700[_0x3868e0(0x2c5)]);return;}if(this[_0x3868e0(0x2e3)]||_0x119700['id']!==_0x44d218['id'])return;let _0xe3f6f1=_0x1dd32c(_0x119700[_0x3868e0(0x2c5)])?_0x119700[_0x3868e0(0x2c5)]:void 0x0,_0x41ef9e=_0xe3f6f1!=null&&_0xe3f6f1['unitId']?[this[_0x3868e0(0x4e4)][_0x3868e0(0x15c)](_0xe3f6f1['unitId'],_0x5708b3['UniverInstanceType'][_0x3868e0(0x1f9)])][_0x3868e0(0x22b)](_0x38e149=>!!_0x38e149):this[_0x3868e0(0x4e4)][_0x3868e0(0x2e1)](_0x5708b3[_0x3868e0(0x2b4)]['UNIVER_BASE']),_0x544394=_0xe3f6f1==null?void 0x0:_0xe3f6f1['op'];_0x41ef9e[_0x3868e0(0x11c)](_0x3f12e5=>{const _0x1f54da=_0x3868e0;let _0x5cfb37=_0x544394?_0x4ac75b(_0x544394):[];(!_0x544394||_0x5cfb37[_0x1f54da(0x2e9)](_0x30c387=>_0x30c387['reason']!==_0x1f54da(0x1f1)))&&this[_0x1f54da(0x15e)](_0x3f12e5);});}[_0x5a0300(0x15e)](_0x29de6d){const _0x35c980=_0x5a0300;let _0xbb6a5a=_0x29de6d[_0x35c980(0x247)]();this[_0x35c980(0x21a)][_0x35c980(0x4d4)](_0xbb6a5a)||(this[_0x35c980(0x21a)][_0x35c980(0x152)](_0xbb6a5a),this[_0x35c980(0x185)](async()=>{const _0x1b72cc=_0x35c980;this[_0x1b72cc(0x21a)][_0x1b72cc(0x2d4)](_0xbb6a5a),await this[_0x1b72cc(0x254)](_0x29de6d);}));}async[_0x5a0300(0x254)](_0x46b501){const _0x22e905=_0x5a0300;let _0x45261e=_0x46b501[_0x22e905(0x247)](),_0xef3e2c=this[_0x22e905(0x3f6)]['getSuperTableRegistrations'](_0x46b501[_0x22e905(0x499)]()),_0x586a0d=new Set(_0xef3e2c[_0x22e905(0x447)](({tableName:_0x4527d2})=>_0x4527d2)),_0x189c82=this[_0x22e905(0x14c)][_0x22e905(0x387)](_0x45261e)??new Set();for(let _0xc45b62 of _0x189c82)if(!_0x586a0d[_0x22e905(0x4d4)](_0xc45b62)&&!await this[_0x22e905(0x4b0)](_0x13e179[_0x22e905(0x28e)]['id'],{'unitId':_0x45261e,'tableName':_0xc45b62}))return;for(let {tableName:_0x2edb88,reference:_0x432583}of _0xef3e2c)if(!await this['_executeSuperTableMutationWhileActive'](_0x13e179[_0x22e905(0x12f)]['id'],{'unitId':_0x45261e,'tableName':_0x2edb88,'reference':_0x432583}))return;this[_0x22e905(0x14c)][_0x22e905(0x289)](_0x45261e,_0x586a0d);}async[_0x5a0300(0x168)](_0x5deaf5){const _0x72b427=_0x5a0300;let _0x6c5d95=this[_0x72b427(0x14c)][_0x72b427(0x387)](_0x5deaf5)??new Set();for(let _0x506024 of _0x6c5d95)if(!await this[_0x72b427(0x4b0)](_0x13e179[_0x72b427(0x28e)]['id'],{'unitId':_0x5deaf5,'tableName':_0x506024}))return;this['_registeredSuperTableNames'][_0x72b427(0x2d4)](_0x5deaf5);}async[_0x5a0300(0x4b0)](_0x263602,_0x29d7b7){const _0x4e7858=_0x5a0300;return!this[_0x4e7858(0x153)]&&await this[_0x4e7858(0x17f)][_0x4e7858(0x10f)](_0x263602,_0x29d7b7,{'onlyLocal':!0x0})&&!this[_0x4e7858(0x153)];}['_enqueueFormulaSync'](_0x14599a){const _0x3132a9=_0x5a0300;this['_formulaSyncQueue']=this[_0x3132a9(0x408)][_0x3132a9(0x3c0)](_0x14599a,_0x14599a)[_0x3132a9(0x179)](()=>void 0x0);}[_0x5a0300(0x1af)](_0x7e681a){const _0xcc0e73=_0x5a0300;let _0x1a1361=this[_0xcc0e73(0x4e4)][_0xcc0e73(0x2e1)](_0x5708b3[_0xcc0e73(0x2b4)][_0xcc0e73(0x1f9)]);if(!_0x1a1361[_0xcc0e73(0x2e9)](_0x3ef07f=>{const _0x567d45=_0xcc0e73;var _0x28c683;return((_0x28c683=_0x7e681a['unitData'])==null?void 0x0:_0x28c683[_0x3ef07f[_0x567d45(0x247)]()])!=null;}))return;let _0x164565=_0x1a1361['flatMap'](_0xcae693=>_0x220191(_0xcae693[_0xcc0e73(0x499)](),_0x7e681a));if(!_0x164565['length']){this[_0xcc0e73(0x4fe)][_0xcc0e73(0xe9)](_0x29ec27['FormulaResultApplicationType'][_0xcc0e73(0x28c)],_0x7e681a);return;}let _0x3b24f2=new _0x108016(),_0x456126=_0x164565[_0xcc0e73(0x375)](_0x28ad65=>_0x38a151({'unitId':_0x28ad65[_0xcc0e73(0x47f)],'tableId':_0x28ad65[_0xcc0e73(0x40f)],'patches':_0x28ad65[_0xcc0e73(0x276)]}));this[_0xcc0e73(0x2e3)]=!0x0,(async()=>{const _0x2512cc=_0xcc0e73;for(let _0x568a0e of _0x164565){let _0x3185ed=this[_0x2512cc(0x4e4)][_0x2512cc(0x15c)](_0x568a0e['unitId'],_0x5708b3['UniverInstanceType']['UNIVER_BASE']);_0x3185ed&&await this[_0x2512cc(0x17f)]['executeCommand'](_0x44d218['id'],{'unitId':_0x568a0e['unitId'],'op':_0x3b24f2[_0x2512cc(0x1fd)](_0x3185ed[_0x2512cc(0x499)](),_0x568a0e[_0x2512cc(0x40f)],_0x568a0e[_0x2512cc(0x276)]),'trigger':_0x13e179[_0x2512cc(0x1fa)]['id']},{'onlyLocal':!0x0});}await this[_0x2512cc(0x17f)][_0x2512cc(0x10f)](_0x13e179[_0x2512cc(0x29c)]['id'],{'dirtyRanges':_0x456126},{'onlyLocal':!0x0});})()[_0xcc0e73(0x487)](()=>{const _0x3c8fea=_0xcc0e73;this[_0x3c8fea(0x2e3)]=!0x1,this[_0x3c8fea(0x4fe)][_0x3c8fea(0xe9)](_0x29ec27[_0x3c8fea(0x4ee)][_0x3c8fea(0x28c)],_0x7e681a);});}};_0x1c18f2=_0x4b373a([_0x3ce02e(0x0,_0x5708b3['ICommandService']),_0x3ce02e(0x1,_0x5708b3[_0x5a0300(0x3b6)]),_0x3ce02e(0x2,(0x0,_0x5708b3[_0x5a0300(0x37f)])(_0x13e179['FormulaCalculationTriggerService'])),_0x3ce02e(0x3,(0x0,_0x5708b3[_0x5a0300(0x37f)])(_0x29ec27[_0x5a0300(0x3a0)]))],_0x1c18f2);function _0x1dd32c(_0x59ffa7){const _0xa5a1ac=_0x5a0300;return typeof _0x59ffa7==_0xa5a1ac(0x24f)&&!!_0x59ffa7&&_0xa5a1ac(0x47f)in _0x59ffa7&&typeof _0x59ffa7[_0xa5a1ac(0x47f)]==_0xa5a1ac(0x220)&&'op'in _0x59ffa7&&Array[_0xa5a1ac(0x46f)](_0x59ffa7['op']);}function _0x5f02ba(_0x4cf196){const _0x516bcf=_0x5a0300;return typeof _0x4cf196=='object'&&!!_0x4cf196&&'unitData'in _0x4cf196&&_0x516bcf(0x146)in _0x4cf196;}let _0x46e5d4=new Set([_0x31a385['id'],_0x6d1482['id'],_0x3d79e1['id']]),_0x1cc784=class extends _0x5708b3[_0x5a0300(0x4ac)]{constructor(_0x57e6bb,_0x312eef,_0x29d734,_0xb42da0){const _0x21bfaf=_0x5a0300;super(),this[_0x21bfaf(0x472)]=_0x57e6bb,this['_commandService']=_0x312eef,this[_0x21bfaf(0x1da)]=_0x29d734,this[_0x21bfaf(0x358)]=_0xb42da0,this[_0x21bfaf(0x358)][_0x21bfaf(0x2e1)](_0x5708b3[_0x21bfaf(0x2b4)]['UNIVER_BASE'])[_0x21bfaf(0x11c)](_0x301777=>this[_0x21bfaf(0x19a)](_0x301777['getUnitId']())),this['disposeWithMe'](this['_instanceService'][_0x21bfaf(0x515)](_0x5708b3[_0x21bfaf(0x2b4)][_0x21bfaf(0x1f9)])[_0x21bfaf(0x34a)](({unit:_0x40fb80})=>this[_0x21bfaf(0x19a)](_0x40fb80[_0x21bfaf(0x247)]()))),this[_0x21bfaf(0x208)](this[_0x21bfaf(0x17f)][_0x21bfaf(0x1d9)]((_0x19d6cd,_0x1ecb44)=>this[_0x21bfaf(0x16a)](_0x19d6cd,_0x1ecb44))),this[_0x21bfaf(0x208)](this['_instanceService'][_0x21bfaf(0x43b)](_0x5708b3[_0x21bfaf(0x2b4)][_0x21bfaf(0x1f9)])[_0x21bfaf(0x34a)](_0x1344f5=>{const _0x5de3fd=_0x21bfaf;this['_injector'][_0x5de3fd(0x387)](_0x5708b3[_0x5de3fd(0x4d7)])['clearUnit'](_0x1344f5[_0x5de3fd(0x247)]()),_0x5affc4(this[_0x5de3fd(0x1da)],_0x1344f5['getUnitId']());}));}[_0x5a0300(0x19a)](_0x8a0c93){const _0x4a6759=_0x5a0300;_0x427437[_0x4a6759(0x11c)](_0x6d354a=>{const _0x2ab548=_0x4a6759;let _0x2a1efe=_0x147d5f(_0x8a0c93,_0x8a0c93,_0x6d354a);this[_0x2ab548(0x1da)][_0x2ab548(0x440)](_0x2a1efe['id'])||this[_0x2ab548(0x1da)][_0x2ab548(0x23e)](_0x2a1efe);}),this['_injector']['get'](_0x5708b3[_0x4a6759(0x4d7)])[_0x4a6759(0x204)]({'unitId':_0x8a0c93,'objectId':_0x8a0c93,'objectType':_0x1f7924[_0x4a6759(0x24a)]['Base']});}['_check'](_0x530e64,_0x344ee1){const _0x48ed2f=_0x5a0300;var _0x423914;if(_0x344ee1!=null&&_0x344ee1[_0x48ed2f(0x371)]||_0x344ee1!=null&&_0x344ee1[_0x48ed2f(0x446)])return;let _0x508122=_0x2ba083(_0x530e64[_0x48ed2f(0x2c5)])?_0x530e64['params']:void 0x0;if(_0x344ee1!=null&&_0x344ee1[_0x48ed2f(0x346)]&&_0x530e64['id']===_0x48ed2f(0x3ea)&&(_0x508122==null?void 0x0:_0x508122['trigger'])===_0x13e179[_0x48ed2f(0x1fa)]['id'])return;let _0x361bb5=_0x4c5746(_0x530e64['id']),_0x54de22=_0x26bb99(_0x508122==null?void 0x0:_0x508122[_0x48ed2f(0x47f)],_0x344ee1)??(_0x361bb5?(_0x423914=this[_0x48ed2f(0x358)]['getCurrentUnitOfType'](_0x5708b3['UniverInstanceType'][_0x48ed2f(0x1f9)]))==null?void 0x0:_0x423914['getUnitId']():void 0x0);if(!_0x54de22||this[_0x48ed2f(0x358)]['getUnitType'](_0x54de22)!==_0x5708b3[_0x48ed2f(0x2b4)]['UNIVER_BASE'])return;if(_0x361bb5){if(!_0x6d4ba4(this[_0x48ed2f(0x1da)],_0x54de22,_0x54de22,_0x361bb5))throw this['_injector']['get'](_0x5708b3[_0x48ed2f(0x209)])[_0x48ed2f(0x355)](_0x54de22),new _0x5708b3['CustomCommandExecutionError'](_0x48ed2f(0x261)+_0x1f7924['UnitAction'][_0x361bb5]+'\x20permission\x20denied.');return;}if(_0x46e5d4['has'](_0x530e64['id'])||!_0x530e64['id'][_0x48ed2f(0x394)](_0x48ed2f(0x1d3))&&!_0x530e64['id'][_0x48ed2f(0x394)](_0x48ed2f(0x373)))return;let _0x4088b=this[_0x48ed2f(0x358)][_0x48ed2f(0x15c)](_0x54de22,_0x5708b3[_0x48ed2f(0x2b4)]['UNIVER_BASE']),_0x81826d=_0x4088b?_0x1475b6(_0x4088b,_0x508122??{},_0x530e64['id']):[];if(!_0x4088b||!_0x3a8c15(this[_0x48ed2f(0x1da)],_0x54de22,_0x81826d))throw this[_0x48ed2f(0x472)][_0x48ed2f(0x387)](_0x5708b3[_0x48ed2f(0x209)])['emitPermissionDenied'](_0x54de22,_0x81826d),new _0x5708b3[(_0x48ed2f(0x181))](_0x48ed2f(0x29e));}};_0x1cc784=_0x4b373a([_0x3ce02e(0x0,(0x0,_0x5708b3[_0x5a0300(0x37f)])(_0x5708b3[_0x5a0300(0x4f3)])),_0x3ce02e(0x1,_0x5708b3[_0x5a0300(0x2db)]),_0x3ce02e(0x2,_0x5708b3['IPermissionService']),_0x3ce02e(0x3,_0x5708b3[_0x5a0300(0x3b6)])],_0x1cc784);function _0x26bb99(_0x589e98,_0x2aba97){const _0x40e99f=_0x5a0300;return typeof _0x589e98==_0x40e99f(0x220)?_0x589e98:typeof(_0x2aba97==null?void 0x0:_0x2aba97[_0x40e99f(0x47f)])=='string'?_0x2aba97['unitId']:void 0x0;}function _0x4c5746(_0x202242){const _0x2a68fc=_0x5a0300;if(_0x202242===_0x2a68fc(0x16b)||_0x202242===_0x2a68fc(0x361))return _0x1f7924['UnitAction']['Export'];if(_0x202242[_0x2a68fc(0x394)](_0x2a68fc(0x205))||_0x202242[_0x2a68fc(0x394)](_0x2a68fc(0x445)))return _0x1f7924[_0x2a68fc(0x50a)][_0x2a68fc(0x448)];}function _0x1475b6(_0x50977b,_0xd10ff8,_0x16bc59){const _0x2642c7=_0x5a0300;if(_0x16bc59==='base.mutation.apply-base-json1'&&_0x5d755c(_0xd10ff8['op']))return _0x399a06(_0x50977b,_0xd10ff8['op']);let _0x580b96=new Set(),_0xd02d12=_0x482b80(_0xd10ff8,'table'),_0x146c3b=typeof _0xd10ff8['tableId']==_0x2642c7(0x220)?_0xd10ff8['tableId']:_0xd02d12[0x0];if(_0xd02d12[_0x2642c7(0x11c)](_0x3b9ae6=>_0x580b96[_0x2642c7(0x152)](_0x108e0c(_0x3b9ae6))),!_0x146c3b)return[..._0x580b96];let _0x25bb93=_0x50977b[_0x2642c7(0x499)]()[_0x2642c7(0x18e)][_0x146c3b],_0x19f4a9=new Set(_0x482b80(_0xd10ff8,_0x2642c7(0x2d3))),_0x3c1dbe=new Set(_0x482b80(_0xd10ff8,_0x2642c7(0x4fb))),_0x29d84d=new Set(_0x482b80(_0xd10ff8,'view'));return _0x1686be(_0x25bb93,_0xd10ff8['patches'],_0x3c1dbe,_0x19f4a9),_0x775e87(_0xd10ff8,_0x19f4a9),_0x19f4a9[_0x2642c7(0x11c)](_0x1fa80b=>_0x580b96[_0x2642c7(0x152)](_0x436cdb(_0x146c3b,_0x1fa80b))),_0x3c1dbe['forEach'](_0x43d9b4=>_0x580b96[_0x2642c7(0x152)](_0x5a484e(_0x146c3b,_0x43d9b4))),_0x29d84d[_0x2642c7(0x11c)](_0x267df0=>_0x580b96[_0x2642c7(0x152)](_0x38a781(_0x146c3b,_0x267df0))),[..._0x580b96];}function _0x399a06(_0x144bd9,_0x32b220){const _0x267cfb=_0x5a0300;let _0x50efa1=_0x144bd9[_0x267cfb(0x499)](),_0x2230dd=new _0x39599e()['getAffectedRanges'](_0x32b220),_0x1f052c=_0x1c38c4(_0x32b220),_0x18ca47=new Set();return _0x2230dd['forEach'](_0x11d504=>{const _0x26791f=_0x267cfb;var _0x2a373a,_0x46aa9d;let {tableId:_0x582702}=_0x11d504;if(!_0x582702)return;_0x18ca47['add'](_0x108e0c(_0x582702));let _0x1bec9e=_0x50efa1[_0x26791f(0x18e)][_0x582702],_0xfe6ec8=_0x11d504[_0x26791f(0x34b)]??(_0x11d504['row']==null||_0x1bec9e==null||(_0x2a373a=_0x1bec9e['rowId'])==null?void 0x0:_0x2a373a[_0x11d504[_0x26791f(0x3e1)]]),_0x54f5b4=_0x11d504[_0x26791f(0x236)]??(_0x11d504[_0x26791f(0x38a)]==null||_0x1bec9e==null||(_0x46aa9d=_0x1bec9e[_0x26791f(0x315)])==null?void 0x0:_0x46aa9d[_0x11d504['column']]);_0xfe6ec8&&_0x18ca47[_0x26791f(0x152)](_0x5a484e(_0x582702,_0xfe6ec8)),_0x54f5b4&&_0x18ca47['add'](_0x436cdb(_0x582702,_0x54f5b4)),_0x11d504['viewId']&&_0x18ca47[_0x26791f(0x152)](_0x38a781(_0x582702,_0x11d504['viewId'])),(_0x11d504[_0x26791f(0x2a9)]==='table'||_0x1f052c[_0x26791f(0x4d4)](_0x582702))&&_0x1bec9e&&(Object[_0x26791f(0x4dd)](_0x1bec9e[_0x26791f(0x527)])[_0x26791f(0x11c)](_0xba04f7=>_0x18ca47[_0x26791f(0x152)](_0x436cdb(_0x582702,_0xba04f7))),Object['keys'](_0x1bec9e[_0x26791f(0x457)])['forEach'](_0xc6892=>_0x18ca47[_0x26791f(0x152)](_0x5a484e(_0x582702,_0xc6892))),Object[_0x26791f(0x4dd)](_0x1bec9e[_0x26791f(0x255)])[_0x26791f(0x11c)](_0x284cbf=>_0x18ca47['add'](_0x38a781(_0x582702,_0x284cbf)))),_0x11d504['reason']==='record'&&_0x1bec9e&&Object[_0x26791f(0x4dd)](_0x1bec9e[_0x26791f(0x527)])[_0x26791f(0x11c)](_0xc2b019=>_0x18ca47[_0x26791f(0x152)](_0x436cdb(_0x582702,_0xc2b019)));}),_0x2230dd[_0x267cfb(0x211)]===0x0&&_0x1bbded(_0x32b220,_0x267cfb(0xec))&&Object[_0x267cfb(0x4dd)](_0x50efa1[_0x267cfb(0x18e)])[_0x267cfb(0x11c)](_0x4438df=>_0x18ca47[_0x267cfb(0x152)](_0x108e0c(_0x4438df))),[..._0x18ca47];}function _0x1c38c4(_0xc390bf){let _0x160e77=new Set(),_0x284d5f=_0x3692f0=>{const _0x44c9b6=_0x513b;Array[_0x44c9b6(0x46f)](_0x3692f0)&&_0x3692f0[_0x44c9b6(0x11c)]((_0x27bbb3,_0x424a89)=>{const _0x3c766d=_0x44c9b6;_0x27bbb3===_0x3c766d(0x18e)&&typeof _0x3692f0[_0x424a89+0x1]==_0x3c766d(0x220)&&_0x357158(_0x3692f0[_0x424a89+0x2])&&_0x160e77[_0x3c766d(0x152)](_0x3692f0[_0x424a89+0x1]),_0x284d5f(_0x27bbb3);});};return _0x284d5f(_0xc390bf),_0x160e77;}function _0x357158(_0x3e6944){const _0x2ce70d=_0x5a0300;return!!_0x3e6944&&typeof _0x3e6944==_0x2ce70d(0x24f)&&!Array[_0x2ce70d(0x46f)](_0x3e6944)&&('i'in _0x3e6944||'r'in _0x3e6944||'p'in _0x3e6944||'d'in _0x3e6944||'es'in _0x3e6944||_0x2ce70d(0x456)in _0x3e6944||'et'in _0x3e6944);}function _0x1bbded(_0x4d173a,_0x1abd86){const _0x121877=_0x5a0300;return Array[_0x121877(0x46f)](_0x4d173a)&&_0x4d173a['some'](_0x8bc391=>_0x8bc391===_0x1abd86||_0x1bbded(_0x8bc391,_0x1abd86));}function _0x482b80(_0x1d1efc,_0x4e3753){const _0x11d09f=_0x5a0300;let _0x493346=new Set(),_0x1da8d7=_0x4e3753+'Id',_0x2d6c8e=_0x4e3753+_0x11d09f(0x20c),_0xc3e8aa=(_0x1d4382,_0x50da4b='')=>{const _0x1ca10e=_0x11d09f;typeof _0x1d4382==_0x1ca10e(0x220)?_0x50da4b===_0x1da8d7&&_0x493346[_0x1ca10e(0x152)](_0x1d4382):Array[_0x1ca10e(0x46f)](_0x1d4382)?_0x50da4b===_0x2d6c8e?_0x1d4382['forEach'](_0x5bca6a=>{const _0x4edf6b=_0x1ca10e;typeof _0x5bca6a==_0x4edf6b(0x220)&&_0x493346['add'](_0x5bca6a);}):_0x1d4382['forEach'](_0x3bf9a9=>_0xc3e8aa(_0x3bf9a9,_0x50da4b)):_0x2ba083(_0x1d4382)&&Object[_0x1ca10e(0x15b)](_0x1d4382)['forEach'](([_0x66e0fa,_0x2fccf9])=>{const _0x49f5ff=_0x1ca10e;_0x66e0fa==='id'&&_0x50da4b===_0x4e3753&&typeof _0x2fccf9==_0x49f5ff(0x220)?_0x493346[_0x49f5ff(0x152)](_0x2fccf9):_0xc3e8aa(_0x2fccf9,_0x66e0fa);});};return _0xc3e8aa(_0x1d1efc),[..._0x493346];}function _0x1686be(_0x22d43b,_0x2201f2,_0x11f57e,_0x14482c){const _0xb06af9=_0x5a0300;_0x22d43b&&Array[_0xb06af9(0x46f)](_0x2201f2)&&_0x2201f2[_0xb06af9(0x11c)](_0x55fc30=>{const _0x52a1f8=_0xb06af9;if(!_0x2ba083(_0x55fc30))return;let _0x3fc434=_0x55fc30;if(typeof _0x3fc434[_0x52a1f8(0x3e1)]=='number'){var _0xe22ba6;let _0x1b0981=(_0xe22ba6=_0x22d43b['rowId'])==null?void 0x0:_0xe22ba6[_0x3fc434[_0x52a1f8(0x3e1)]];_0x1b0981&&_0x11f57e['add'](_0x1b0981);}if(typeof _0x3fc434[_0x52a1f8(0x2e5)]==_0x52a1f8(0x337)){var _0x57651e;let _0x200f23=(_0x57651e=_0x22d43b['colId'])==null?void 0x0:_0x57651e[_0x3fc434[_0x52a1f8(0x2e5)]];_0x200f23&&_0x14482c[_0x52a1f8(0x152)](_0x200f23);}});}function _0x775e87(_0x38e356,_0x446a7d,_0x27a70b=''){const _0x3abff2=_0x5a0300;_0x38e356&&typeof _0x38e356==_0x3abff2(0x24f)&&(Array['isArray'](_0x38e356)?_0x38e356['forEach'](_0x5f43f9=>_0x775e87(_0x5f43f9,_0x446a7d,_0x27a70b)):_0x2ba083(_0x38e356)&&Object[_0x3abff2(0x15b)](_0x38e356)[_0x3abff2(0x11c)](([_0xbb121c,_0x5e1b58])=>{const _0x17681d=_0x3abff2;_0x27a70b==='values'&&_0x446a7d[_0x17681d(0x152)](_0xbb121c),_0x775e87(_0x5e1b58,_0x446a7d,_0xbb121c);}));}function _0x5d755c(_0xf1c658){return Array['isArray'](_0xf1c658);}function _0x2ba083(_0x382aa2){const _0x305d48=_0x5a0300;return typeof _0x382aa2==_0x305d48(0x24f)&&!!_0x382aa2&&!Array[_0x305d48(0x46f)](_0x382aa2);}let _0x3112af=(0x0,_0x5708b3['createIdentifier'])(_0x5a0300(0x21e)),_0x40f709=class{constructor(_0xfa5b38){const _0x3a5772=_0x5a0300;this[_0x3a5772(0x4e4)]=_0xfa5b38;}[_0x5a0300(0x41a)](_0x4afb00){const _0x393461=_0x5a0300;return this[_0x393461(0x4e4)][_0x393461(0x15c)](_0x4afb00,_0x5708b3[_0x393461(0x2b4)]['UNIVER_BASE'])??null;}[_0x5a0300(0x4a6)](){const _0x385130=_0x5a0300;return this[_0x385130(0x4e4)]['getAllUnitsForType'](_0x5708b3[_0x385130(0x2b4)]['UNIVER_BASE']);}[_0x5a0300(0x1b0)](_0x410b60){const _0x2670d6=_0x5a0300;return this[_0x2670d6(0x4e4)]['createUnit'](_0x5708b3['UniverInstanceType']['UNIVER_BASE'],_0x410b60);}};_0x40f709=_0x4b373a([_0x3ce02e(0x0,_0x5708b3[_0x5a0300(0x3b6)])],_0x40f709);let _0x58df2c=(0x0,_0x5708b3[_0x5a0300(0x4b3)])(_0x5a0300(0x461));var _0x3adb1c=class extends _0x5708b3[_0x5a0300(0x4ac)]{constructor(..._0x634e82){const _0x5571b7=_0x5a0300;super(..._0x634e82),_0x5535f0(this,_0x5571b7(0x1e2),new Map());}['register'](_0x39e587){const _0x5df504=_0x5a0300;return this[_0x5df504(0x1e2)][_0x5df504(0x289)](_0x39e587[_0x5df504(0x131)],_0x39e587),(0x0,_0x5708b3[_0x5df504(0xd0)])(()=>this['_plugins'][_0x5df504(0x2d4)](_0x39e587[_0x5df504(0x131)]));}[_0x5a0300(0x387)](_0x24aa4d){const _0x503aa3=_0x5a0300;let _0x45c4a2=this['_plugins'][_0x503aa3(0x387)](_0x24aa4d);if(!_0x45c4a2)throw Error(_0x503aa3(0x1e9)+_0x24aa4d+_0x503aa3(0x1dd));return _0x45c4a2;}[_0x5a0300(0x40b)](){const _0x189e2e=_0x5a0300;return Array[_0x189e2e(0x2d6)](this[_0x189e2e(0x1e2)][_0x189e2e(0x253)]());}};let _0xe829da=[_0x44d218],_0x93134d=class extends _0x5708b3[_0x5a0300(0x298)]{constructor(_0x26e0d3=_0x5d06b1,_0x29801b,_0xa7f639,_0x560a72,_0x14eff0,_0x2379c3){const _0x58aabf=_0x5a0300;super(),this[_0x58aabf(0x214)]=_0x26e0d3,this[_0x58aabf(0x472)]=_0x29801b,this[_0x58aabf(0x17f)]=_0xa7f639,this[_0x58aabf(0x4e4)]=_0x560a72,this['_configService']=_0x14eff0,this[_0x58aabf(0x4f7)]=_0x2379c3,_0x5535f0(this,_0x58aabf(0x128),new Map());let {..._0x30b036}=(0x0,_0x5708b3[_0x58aabf(0x50c)])({},_0x5d06b1,this['_config']);this['_configService'][_0x58aabf(0x16f)](_0x58aabf(0x45e),_0x30b036),this[_0x58aabf(0x4e4)]['registerCtorForType'](_0x5708b3[_0x58aabf(0x2b4)]['UNIVER_BASE'],_0x5708b3[_0x58aabf(0x49c)]),this[_0x58aabf(0x2e2)](),this['_initCommands'](),this[_0x58aabf(0x213)](),this['_initDataSync']();}[_0x5a0300(0x265)](){const _0x2f734d=_0x5a0300;this[_0x2f734d(0x472)][_0x2f734d(0x152)]([_0x3000d9]),this['disposeWithMe'](this[_0x2f734d(0x472)][_0x2f734d(0x387)](_0x5708b3[_0x2f734d(0x2db)])[_0x2f734d(0x460)](_0xf0f939)),this['disposeWithMe'](this[_0x2f734d(0x472)]['get'](_0x5708b3['ICommandService'])[_0x2f734d(0x460)](_0x2fa3db)),this[_0x2f734d(0x208)](this[_0x2f734d(0x472)][_0x2f734d(0x387)](_0x5708b3[_0x2f734d(0x4d7)])[_0x2f734d(0x423)](_0x1f7924[_0x2f734d(0x24a)][_0x2f734d(0x4b6)],this[_0x2f734d(0x472)][_0x2f734d(0x387)](_0x3000d9),_0xf0f939['id'],_0x2fa3db['id']));}[_0x5a0300(0x3c9)](){const _0x4c7fd3=_0x5a0300;(0x0,_0x5708b3['touchDependencies'])(this[_0x4c7fd3(0x472)],[[_0x40f709],[_0x454527],[_0x3e4857]]),this[_0x4c7fd3(0x4e4)][_0x4c7fd3(0x2e1)](_0x5708b3[_0x4c7fd3(0x2b4)][_0x4c7fd3(0x1f9)])[_0x4c7fd3(0x11c)](_0x333d1c=>this['_syncBaseUnit'](_0x333d1c[_0x4c7fd3(0x247)]())),(0x0,_0x5708b3[_0x4c7fd3(0x406)])(this[_0x4c7fd3(0x472)],[[_0x1c18f2],[_0x1cc784]]);}[_0x5a0300(0x2e2)](){const _0x126357=_0x5a0300;[[_0x5b21e9,{'useClass':_0x228258}],[_0x58df2c,{'useClass':_0x3adb1c}],[_0x349863,{'useClass':_0x4e4812}],[_0x3112af,{'useClass':_0x40f709}],[_0x5bfa23,{'useClass':_0x1d9285}],[_0x104536,{'useClass':_0x454527}],[_0x3e4857],[_0x1c18f2],[_0x1cc784]][_0x126357(0x11c)](_0x240131=>this[_0x126357(0x472)][_0x126357(0x152)](_0x240131));}['_initCommands'](){const _0x1b172a=_0x5a0300;[_0x1578d8,_0x3c0445,_0x469890,_0x5318cd,_0x162624,_0x1b99e9,_0x37a8e1,_0x3f4665,_0xcdcc4c,_0x492b84,_0x2052dd,_0x3c0276,_0x22af9c,_0x1671e9,_0x2fa65b,_0x4f43b6,_0xb9005c,_0x13ab53,_0x53efa4,_0x2ebf0c,_0x307c2d,_0x3d79e1,_0x9d82c1,_0xdb4dfc,_0x48408f,_0x5b4a16,_0x40af3b,_0x5021a3,_0x2a6400,_0x299a5c,_0x47f28a,_0x31a385,_0x6d1482,_0x232f9e,_0x2ae29a,_0x375e06,_0x19ce7c,_0x24cb7a,_0x58c9b1,_0x47735f,_0x5662c0,..._0xe829da][_0x1b172a(0x11c)](_0xedf0c=>this[_0x1b172a(0x208)](this[_0x1b172a(0x17f)][_0x1b172a(0x460)](_0xedf0c))),_0xe829da[_0x1b172a(0x11c)](_0x17b80a=>{const _0x2e54d8=_0x1b172a;var _0x2b7391;return(_0x2b7391=this[_0x2e54d8(0x4f7)])==null?void 0x0:_0x2b7391[_0x2e54d8(0x1ae)](_0x17b80a);});}['_initDataSync'](){const _0x3d0f12=_0x5a0300;this['_dataSyncPrimaryController']&&(this[_0x3d0f12(0x208)](this['_univerInstanceService'][_0x3d0f12(0x515)](_0x5708b3['UniverInstanceType'][_0x3d0f12(0x1f9)])[_0x3d0f12(0x34a)](({unit:_0x2e73a5})=>{const _0x402406=_0x3d0f12;this[_0x402406(0x3f8)](_0x2e73a5[_0x402406(0x247)]());})),this[_0x3d0f12(0x208)](this[_0x3d0f12(0x4e4)][_0x3d0f12(0x43b)](_0x5708b3[_0x3d0f12(0x2b4)]['UNIVER_BASE'])['subscribe'](_0x49954e=>{const _0x1fb5cd=_0x3d0f12;var _0x7490c2;(_0x7490c2=this[_0x1fb5cd(0x128)][_0x1fb5cd(0x387)](_0x49954e[_0x1fb5cd(0x247)]()))==null||_0x7490c2['dispose'](),this[_0x1fb5cd(0x128)]['delete'](_0x49954e['getUnitId']());})));}[_0x5a0300(0x3f8)](_0x56e9ec){const _0x5871e6=_0x5a0300;this[_0x5871e6(0x4f7)]&&!this[_0x5871e6(0x128)]['has'](_0x56e9ec)&&this[_0x5871e6(0x128)]['set'](_0x56e9ec,this['_dataSyncPrimaryController']['syncUnit'](_0x56e9ec));}[_0x5a0300(0x213)](){const _0x378db5=_0x5a0300;let _0x2c45dc=this['_injector'][_0x378db5(0x387)](_0x5b21e9);_0x3a96d7()['forEach'](_0x2eaf05=>_0x2c45dc[_0x378db5(0x4a9)](_0x2eaf05));let _0x1a279e=this[_0x378db5(0x472)][_0x378db5(0x387)](_0x58df2c),_0x20af0c=this[_0x378db5(0x472)][_0x378db5(0x387)](_0x349863);_0x3f85d4()['forEach'](_0x2f4947=>{const _0x35541b=_0x378db5;_0x1a279e[_0x35541b(0x4a9)](_0x2f4947),_0x20af0c[_0x35541b(0x403)](_0x2f4947);});}};_0x5535f0(_0x93134d,_0x5a0300(0x29a),_0x5a0300(0x4c8)),_0x5535f0(_0x93134d,_0x5a0300(0x18d),_0x5b018b),_0x5535f0(_0x93134d,_0x5a0300(0x438),_0x41d21b),_0x5535f0(_0x93134d,_0x5a0300(0x131),_0x5708b3[_0x5a0300(0x2b4)][_0x5a0300(0x1f9)]),_0x93134d=_0x4b373a([(0x0,_0x5708b3[_0x5a0300(0x231)])(_0x5c2c49[_0x5a0300(0x467)],_0x13e179['UniverProFormulaEnginePlugin']),_0x3ce02e(0x1,(0x0,_0x5708b3['Inject'])(_0x5708b3[_0x5a0300(0x4f3)])),_0x3ce02e(0x2,_0x5708b3[_0x5a0300(0x2db)]),_0x3ce02e(0x3,_0x5708b3['IUniverInstanceService']),_0x3ce02e(0x4,_0x5708b3[_0x5a0300(0x2d5)]),_0x3ce02e(0x5,(0x0,_0x5708b3[_0x5a0300(0x45c)])(_0x10b317['DataSyncPrimaryController']))],_0x93134d);function _0x4c4713(_0x3ac964){const _0x27f8ae=_0x5a0300;let _0x1aa599=_0x4f36f5(_0x3ac964['query']);if(!_0x1aa599)return{'query':'','total':0x0,'matches':[]};let _0x4f3594=[],_0x1016fd=[];for(let _0x454062=0x0;_0x454062<_0x3ac964[_0x27f8ae(0x1a9)][_0x27f8ae(0x211)];_0x454062++){if(!(_0x454062 in _0x3ac964[_0x27f8ae(0x1a9)]))continue;let _0x4b2de1=_0x3ac964['table'][_0x27f8ae(0x527)][_0x3ac964[_0x27f8ae(0x1a9)][_0x454062]];_0x4b2de1&&_0x1016fd[_0x27f8ae(0x4a3)]({'field':_0x4b2de1,'fieldIndex':_0x454062});}_0x3ac964[_0x27f8ae(0x1d5)]['forEach']((_0x483293,_0x474526)=>{const _0x1fcb56=_0x27f8ae;_0x1016fd[_0x1fcb56(0x11c)](({field:_0x1bd133,fieldIndex:_0x263eb})=>{const _0x1d5d92=_0x1fcb56;let _0x2ea691=_0x1d5357(_0x483293[_0x1d5d92(0x253)][_0x1bd133['id']],_0x1bd133);if(!_0x2ea691)return;let _0x5f1deb=_0x57f756(_0x1aa599,_0x2ea691['searchTexts']);_0x5f1deb<=0x0||_0x4f3594[_0x1d5d92(0x4a3)]({'recordId':_0x483293[_0x1d5d92(0x34b)],'fieldId':_0x1bd133['id'],'fieldType':_0x1bd133['type'],'text':_0x2ea691[_0x1d5d92(0x3be)],'score':_0x5f1deb,'rowIndex':_0x474526,'fieldIndex':_0x263eb});});}),_0x4f3594[_0x27f8ae(0x3c8)]((_0x5aaf4a,_0x484470)=>_0x484470[_0x27f8ae(0x4c9)]-_0x5aaf4a['score']||_0x5aaf4a[_0x27f8ae(0x1eb)]-_0x484470['rowIndex']||_0x5aaf4a['fieldIndex']-_0x484470[_0x27f8ae(0xef)]);let _0x147c12=_0x3ac964[_0x27f8ae(0x39a)]==null?_0x4f3594:_0x4f3594[_0x27f8ae(0x51b)](0x0,Math[_0x27f8ae(0x2a0)](0x0,_0x3ac964[_0x27f8ae(0x39a)]));return{'query':_0x1aa599,'total':_0x4f3594[_0x27f8ae(0x211)],'matches':_0x1f4a22(_0x147c12)};}function _0x1d5357(_0x333046,_0xe81a2e){const _0x4655e4=_0x5a0300;let _0x2369b7=[];for(let _0x2974ee of _0x491d14(_0x333046,_0xe81a2e)){let _0x1cf222=_0x4f36f5(_0x2974ee);_0x1cf222&&_0x2369b7[_0x4655e4(0x4a3)](_0x1cf222);}return _0x2369b7[_0x4655e4(0x211)]?{'displayText':_0x351e64(_0x333046,_0xe81a2e),'searchTexts':_0xaeaff1(_0x2369b7)}:null;}function _0x351e64(_0x242dc0,_0xdf6f28){const _0x45fca2=_0x5a0300;switch(_0xdf6f28[_0x45fca2(0x131)]){case _0x5708b3['BaseFieldType'][_0x45fca2(0x147)]:case _0x5708b3[_0x45fca2(0x2f3)][_0x45fca2(0x35d)]:case _0x5708b3['BaseFieldType'][_0x45fca2(0x4ae)]:return _0x22997a(_0x242dc0,_0xdf6f28)['join'](',\x20');case _0x5708b3[_0x45fca2(0x2f3)][_0x45fca2(0x1fb)]:return _0x32a734(_0x242dc0);case _0x5708b3['BaseFieldType'][_0x45fca2(0x30b)]:case _0x5708b3['BaseFieldType']['CreatedAt']:case _0x5708b3[_0x45fca2(0x2f3)][_0x45fca2(0x31b)]:return _0x4d36dd(_0x242dc0,_0xdf6f28);case _0x5708b3[_0x45fca2(0x2f3)][_0x45fca2(0x496)]:case _0x5708b3[_0x45fca2(0x2f3)][_0x45fca2(0xcb)]:return _0x58e8bd(_0x242dc0,_0xdf6f28);case _0x5708b3[_0x45fca2(0x2f3)][_0x45fca2(0x3de)]:return _0x1b7d62(_0x242dc0,_0xdf6f28);case _0x5708b3[_0x45fca2(0x2f3)][_0x45fca2(0x31c)]:return _0x242dc0?_0x45fca2(0x14b):_0x45fca2(0x3da);case _0x5708b3['BaseFieldType'][_0x45fca2(0x49b)]:return _0x1d11b6(_0x242dc0)[_0x45fca2(0x212)](',\x20');default:return _0x4793e2(_0x242dc0);}}function _0x491d14(_0x33cc13,_0x153c07){const _0x4c3940=_0x5a0300;switch(_0x153c07['type']){case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0x147)]:case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0x35d)]:case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0x4ae)]:{let _0x23dea4=_0x22997a(_0x33cc13,_0x153c07);if(Array[_0x4c3940(0x46f)](_0x33cc13)){let _0x137186=[..._0x23dea4];for(let _0x4e6021=0x0;_0x4e6021<_0x33cc13[_0x4c3940(0x211)];_0x4e6021++)_0x4e6021 in _0x33cc13&&_0x137186[_0x4c3940(0x4a3)](String(_0x33cc13[_0x4e6021]));return _0x137186;}return _0x33cc13==null?_0x23dea4:[..._0x23dea4,String(_0x33cc13)];}case _0x5708b3['BaseFieldType']['Link']:{let _0x25db52=_0x3444f0(_0x33cc13);return[_0x25db52[_0x4c3940(0x462)],_0x25db52[_0x4c3940(0x4ab)]];}case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0x30b)]:case _0x5708b3['BaseFieldType']['CreatedAt']:case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0x31b)]:return[_0x4d36dd(_0x33cc13,_0x153c07),_0x4793e2(_0x33cc13)];case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0x496)]:case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0xcb)]:return[_0x58e8bd(_0x33cc13,_0x153c07),_0x4793e2(_0x33cc13)];case _0x5708b3['BaseFieldType']['Progress']:return[_0x1b7d62(_0x33cc13,_0x153c07),_0x4793e2(_0x33cc13)];case _0x5708b3[_0x4c3940(0x2f3)][_0x4c3940(0x31c)]:return _0x33cc13?[_0x4c3940(0x14b),'Yes',_0x4c3940(0x2e8)]:['Unchecked','No',_0x4c3940(0x2ad)];case _0x5708b3['BaseFieldType']['Attachment']:return _0x1d11b6(_0x33cc13);default:return[_0x4793e2(_0x33cc13)];}}function _0x22997a(_0x32290c,_0x478f46){const _0x27ee54=_0x5a0300;var _0x34d3db;let _0x353aee=Array[_0x27ee54(0x46f)]((_0x34d3db=_0x478f46[_0x27ee54(0x21c)])==null?void 0x0:_0x34d3db['options'])?_0x478f46[_0x27ee54(0x21c)][_0x27ee54(0x162)]:[],_0x1b3279=[];if(Array[_0x27ee54(0x46f)](_0x32290c)){for(let _0x4968c5=0x0;_0x4968c5<_0x32290c[_0x27ee54(0x211)];_0x4968c5++){if(!(_0x4968c5 in _0x32290c))continue;let _0x249de4=String(_0x32290c[_0x4968c5]);_0x249de4&&_0x1b3279[_0x27ee54(0x4a3)](_0x331bb8(_0x353aee,_0x249de4));}return _0x1b3279;}if(_0x32290c!=null){let _0x424b60=String(_0x32290c);_0x424b60&&_0x1b3279[_0x27ee54(0x4a3)](_0x331bb8(_0x353aee,_0x424b60));}return _0x1b3279;}function _0x331bb8(_0x344a76,_0x3c41f7){const _0xbcccb6=_0x5a0300;for(let _0x43dc4d of _0x344a76){if(typeof _0x43dc4d==_0xbcccb6(0x220)&&_0x43dc4d===_0x3c41f7)return _0x43dc4d;if(_0x43dc4d&&typeof _0x43dc4d==_0xbcccb6(0x24f)){let _0x3d354b=_0x43dc4d;if(String(_0x3d354b['id']??_0x3d354b[_0xbcccb6(0x3b4)]??'')===_0x3c41f7||String(_0x3d354b[_0xbcccb6(0x3b4)]??'')===_0x3c41f7)return String(_0x3d354b[_0xbcccb6(0x3b4)]??_0x3d354b['id']??_0x3c41f7);}}return _0x3c41f7;}function _0x3444f0(_0x4c54f1){const _0x899dbb=_0x5a0300;if(_0x4c54f1&&typeof _0x4c54f1=='object'&&!Array[_0x899dbb(0x46f)](_0x4c54f1)){let _0x261e99=_0x4c54f1;return{'text':String(_0x261e99[_0x899dbb(0x462)]??_0x261e99['url']??''),'url':String(_0x261e99[_0x899dbb(0x4ab)]??'')};}return{'text':_0x4793e2(_0x4c54f1),'url':_0x4793e2(_0x4c54f1)};}function _0x32a734(_0x507834){const _0x184824=_0x5a0300;let _0x359ba5=_0x3444f0(_0x507834);return _0x359ba5['text']||_0x359ba5[_0x184824(0x4ab)];}function _0x4d36dd(_0x46af24,_0x3e4288){const _0xb63f0e=_0x5a0300;return typeof _0x46af24!=_0xb63f0e(0x337)||!Number[_0xb63f0e(0x368)](_0x46af24)?'':_0x1c71f9(_0x46af24,_0x3e4288[_0xb63f0e(0x21c)]);}function _0x58e8bd(_0x1e28c7,_0x3279f4){const _0x3dddd1=_0x5a0300;let _0x43b4e3=typeof _0x1e28c7==_0x3dddd1(0x337)?_0x1e28c7:Number(_0x1e28c7);return Number[_0x3dddd1(0x368)](_0x43b4e3)?_0x23593e(_0x43b4e3,_0x3279f4['config']):'';}function _0x1b7d62(_0x18a099,_0x44267e){const _0x55fb12=_0x5a0300;let _0x568207=typeof _0x18a099==_0x55fb12(0x337)?_0x18a099:Number(_0x18a099);return Number[_0x55fb12(0x368)](_0x568207)?_0x2204c0(_0x568207,_0x44267e[_0x55fb12(0x21c)]):'';}function _0x1d11b6(_0x23aed7){const _0x1fc4e0=_0x5a0300;return Array[_0x1fc4e0(0x46f)](_0x23aed7)?_0x23aed7[_0x1fc4e0(0x375)](_0x4b9164=>{const _0x41622d=_0x1fc4e0;if(!_0x4b9164||typeof _0x4b9164!=_0x41622d(0x24f))return[];let _0x36db45=_0x4b9164,_0x22142e=String(_0x36db45[_0x41622d(0x3b4)]??_0x36db45[_0x41622d(0x4ab)]??'')[_0x41622d(0x1bd)]();return _0x22142e?[_0x22142e]:[];}):[];}function _0x4793e2(_0x1dd807){const _0x300605=_0x5a0300;if(_0x1dd807==null)return'';if(typeof _0x1dd807==_0x300605(0x303))return _0x1dd807?_0x300605(0x2b2):_0x300605(0x293);if(typeof _0x1dd807=='number')return String(_0x1dd807);if(Array[_0x300605(0x46f)](_0x1dd807)){let _0x5ce503=[];for(let _0x54b94c=0x0;_0x54b94c<_0x1dd807['length'];_0x54b94c++){if(!(_0x54b94c in _0x1dd807))continue;let _0x10d22c=_0x4793e2(_0x1dd807[_0x54b94c]);_0x10d22c&&_0x5ce503['push'](_0x10d22c);}return _0x5ce503[_0x300605(0x212)](',\x20');}if(typeof _0x1dd807==_0x300605(0x24f)){let _0x2dbf26=_0x1dd807;return String(_0x2dbf26[_0x300605(0x11a)]??_0x2dbf26[_0x300605(0x3b4)]??_0x2dbf26[_0x300605(0x462)]??_0x2dbf26[_0x300605(0x4ab)]??'')['trim']();}return String(_0x1dd807);}function _0x57f756(_0x2264d5,_0x25f661){const _0x10c291=_0x5a0300;let _0x13a50c=0x0;for(let _0x16a45f of _0x25f661)_0x16a45f&&(_0x16a45f===_0x2264d5?_0x13a50c=Math[_0x10c291(0x2a0)](_0x13a50c,0x12c):_0x16a45f[_0x10c291(0x394)](_0x2264d5)?_0x13a50c=Math['max'](_0x13a50c,0xfa):_0x16a45f[_0x10c291(0x248)](_0x2264d5)&&(_0x13a50c=Math['max'](_0x13a50c,0xc8)));return _0x13a50c;}function _0x4f36f5(_0x2067a4){const _0x415862=_0x5a0300;return _0x2067a4[_0x415862(0x1bd)]()[_0x415862(0x476)](/\s+/g,'\x20')['toLowerCase']();}function _0xaeaff1(_0xae7733){const _0x354eb9=_0x5a0300;return Array[_0x354eb9(0x2d6)](new Set(_0xae7733));}function _0x1f4a22(_0x1e6df5){const _0x50eb00=_0x5a0300;let _0x3d737c=[];for(let {rowIndex:_0x1c61ba,fieldIndex:_0x339189,..._0x1cda09}of _0x1e6df5)_0x3d737c[_0x50eb00(0x4a3)](_0x1cda09);return _0x3d737c;}function _0x54294e(_0x3e68d8){const _0x4b42b7=_0x5a0300;return{'compress':!0x0,'kind':_0x4b42b7(0x4f0),'u':_0x3e68d8[_0x4b42b7(0x47f)],'t':_0x3e68d8[_0x4b42b7(0x40f)],'p':_0x3e68d8['patches'][_0x4b42b7(0x447)](_0x5251fc=>[_0x5251fc[_0x4b42b7(0x3e1)],_0x5251fc[_0x4b42b7(0x2e5)],_0x4b44d3(_0x5251fc['value'])]),..._0x3e68d8[_0x4b42b7(0x3b3)]===void 0x0?{}:{'g':_0x3e68d8[_0x4b42b7(0x3b3)]}};}function _0x3ef56f(_0x365fcf){const _0x143994=_0x5a0300;if(_0x5c38cd(_0x365fcf,_0x143994(0x4f0)),!_0x3dfcd8(_0x365fcf)){if(!_0x4cfef1(_0x365fcf))throw Error(_0x143994(0x15a));return _0x365fcf;}return{'unitId':_0x365fcf['u'],'tableId':_0x365fcf['t'],'patches':_0x365fcf['p'][_0x143994(0x447)](([_0x2a84bf,_0x142a9a,_0x2f86e6])=>({'row':_0x2a84bf,'col':_0x142a9a,'value':_0xe52ead(_0x2f86e6)})),..._0x365fcf['g']===void 0x0?{}:{'trigger':_0x365fcf['g']}};}function _0x3dfcd8(_0x200d31){const _0x3d88f6=_0x5a0300;return!_0x2c172a(_0x200d31)||_0x200d31['compress']!==!0x0||_0x200d31[_0x3d88f6(0x51d)]!=='base-range-values-v1'?!0x1:typeof _0x200d31['u']==_0x3d88f6(0x220)&&typeof _0x200d31['t']==_0x3d88f6(0x220)&&(_0x200d31['g']===void 0x0||typeof _0x200d31['g']==_0x3d88f6(0x220))&&Array[_0x3d88f6(0x46f)](_0x200d31['p'])&&_0x200d31['p'][_0x3d88f6(0x135)](_0x3d95e0=>Array[_0x3d88f6(0x46f)](_0x3d95e0)&&_0x3d95e0[_0x3d88f6(0x211)]===0x3&&Number[_0x3d88f6(0x2a4)](_0x3d95e0[0x0])&&Number[_0x3d88f6(0x2a4)](_0x3d95e0[0x1]));}function _0x3c241a(_0x240800){const _0x289db9=_0x5a0300;return!_0x2c172a(_0x240800)||_0x240800['compress']!==!0x0||_0x240800[_0x289db9(0x51d)]!==_0x289db9(0x1b8)||!_0x2c172a(_0x240800[_0x289db9(0x18e)])?!0x1:Object[_0x289db9(0x253)](_0x240800[_0x289db9(0x18e)])['every'](_0x13026d=>_0x2c172a(_0x13026d)&&(_0x13026d['cd']===void 0x0||Array['isArray'](_0x13026d['cd'])&&_0x13026d['cd'][_0x289db9(0x135)](_0x20ff8f=>Array[_0x289db9(0x46f)](_0x20ff8f)&&_0x20ff8f['length']===0x3&&Number[_0x289db9(0x2a4)](_0x20ff8f[0x0])&&Number[_0x289db9(0x2a4)](_0x20ff8f[0x1])&&_0x1755de(_0x20ff8f[0x2]))));}function _0x4b44d3(_0x52f218){return _0x84d5e8(_0x52f218)?_0x4d112e(_0x52f218):_0x52f218;}function _0xe52ead(_0x3f359e){return _0x1755de(_0x3f359e)?_0x5176a1(_0x3f359e):_0x3f359e;}function _0x4d112e(_0x457ff5){return{'c':0x1,..._0x457ff5['v']===void 0x0?{}:{'v':_0x457ff5['v']},..._0x457ff5['t']!==void 0x0&&_0x457ff5['t']!==null?{'t':_0x457ff5['t']}:_0x457ff5['t']===null?{'t':null}:{},..._0x457ff5['f']!==void 0x0&&_0x457ff5['f']!==null?{'f':_0x457ff5['f']}:_0x457ff5['f']===null?{'f':null}:{},..._0x457ff5['si']!==void 0x0&&_0x457ff5['si']!==null?{'si':_0x457ff5['si']}:_0x457ff5['si']===null?{'si':null}:{},..._0x457ff5['p']!==void 0x0&&_0x457ff5['p']!==null?{'p':_0x457ff5['p']}:_0x457ff5['p']===null?{'p':null}:{}};}function _0x5176a1(_0x60ff6e){return{..._0x60ff6e['v']===void 0x0?{}:{'v':_0x60ff6e['v']},..._0x60ff6e['t']===void 0x0?{}:{'t':_0x60ff6e['t']},..._0x60ff6e['f']===void 0x0?{}:{'f':_0x60ff6e['f']},..._0x60ff6e['si']===void 0x0?{}:{'si':_0x60ff6e['si']},..._0x60ff6e['p']===void 0x0?{}:{'p':_0x60ff6e['p']}};}function _0x84d5e8(_0x15b9ef){const _0x4fe7b3=_0x5a0300;return!!_0x15b9ef&&typeof _0x15b9ef==_0x4fe7b3(0x24f)&&!Array['isArray'](_0x15b9ef)&&(Object['prototype']['hasOwnProperty'][_0x4fe7b3(0x1bb)](_0x15b9ef,'v')||Object['prototype']['hasOwnProperty']['call'](_0x15b9ef,'t')||Object[_0x4fe7b3(0x3ed)][_0x4fe7b3(0x523)][_0x4fe7b3(0x1bb)](_0x15b9ef,'p')||Object[_0x4fe7b3(0x3ed)]['hasOwnProperty'][_0x4fe7b3(0x1bb)](_0x15b9ef,'f')||Object[_0x4fe7b3(0x3ed)][_0x4fe7b3(0x523)][_0x4fe7b3(0x1bb)](_0x15b9ef,'si'));}function _0x1755de(_0x1867c9){return _0x2c172a(_0x1867c9)&&_0x1867c9['c']===0x1;}function _0x4cfef1(_0x218ea1){const _0x1e11a5=_0x5a0300;return _0x2c172a(_0x218ea1)&&typeof _0x218ea1['unitId']==_0x1e11a5(0x220)&&typeof _0x218ea1['tableId']==_0x1e11a5(0x220)&&(_0x218ea1[_0x1e11a5(0x3b3)]===void 0x0||typeof _0x218ea1['trigger']==_0x1e11a5(0x220))&&Array['isArray'](_0x218ea1[_0x1e11a5(0x276)])&&_0x218ea1['patches']['every'](_0x10dfef=>_0x2c172a(_0x10dfef)&&Number[_0x1e11a5(0x2a4)](_0x10dfef[_0x1e11a5(0x3e1)])&&Number[_0x1e11a5(0x2a4)](_0x10dfef[_0x1e11a5(0x2e5)])&&_0x1e11a5(0x12c)in _0x10dfef);}function _0x5c38cd(_0x42b472,_0x36d431){const _0x1ed9fc=_0x5a0300;if(_0x2c172a(_0x42b472)&&_0x42b472[_0x1ed9fc(0xc7)]===!0x0){if(_0x42b472[_0x1ed9fc(0x51d)]!==_0x36d431)throw Error('[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22'+String(_0x42b472[_0x1ed9fc(0x51d)])+'\x22.');if(!(_0x36d431===_0x1ed9fc(0x4f0)?_0x3dfcd8(_0x42b472):_0x3c241a(_0x42b472)))throw Error(_0x1ed9fc(0x105)+_0x36d431+'\x22.');}}function _0x2c172a(_0x18b136){const _0x10a1e6=_0x5a0300;return!!_0x18b136&&typeof _0x18b136==_0x10a1e6(0x24f)&&!Array[_0x10a1e6(0x46f)](_0x18b136);}_0x25859f[_0x5a0300(0xdf)]=_0x44d218,_0x25859f['BASE_FIELD_STAT_TYPES']=_0xb5a476,_0x25859f[_0x5a0300(0x24d)]=0x5,_0x25859f['BASE_HIERARCHY_PARENT_FIELD_ID']=_0x47e447,_0x25859f[_0x5a0300(0x518)]=_0x5a0300(0x31f),_0x25859f[_0x5a0300(0x19b)]=_0x427437,_0x25859f[_0x5a0300(0x392)]=_0x37d72d,_0x25859f[_0x5a0300(0x48d)]=_0x1c49e2,_0x25859f[_0x5a0300(0x111)]=_0x37b380,_0x25859f['BaseHierarchyError']=_0x3e2468,_0x25859f[_0x5a0300(0x2e0)]=_0x46562b,_0x25859f[_0x5a0300(0x382)]=_0x474a0a,_0x25859f[_0x5a0300(0x425)]=_0x39599e,_0x25859f[_0x5a0300(0x137)]=_0x108016,_0x25859f[_0x5a0300(0x121)]=_0xcdcc4c,_0x25859f[_0x5a0300(0x42b)]=_0x2052dd,_0x25859f[_0x5a0300(0x2a3)]=_0x53efa4,_0x25859f[_0x5a0300(0x331)]=_0x3f4665,_0x25859f[_0x5a0300(0x402)]=_0x2fa65b,_0x25859f[_0x5a0300(0x217)]=_0x37a8e1,_0x25859f['CreateBaseTableCommand']=_0x1578d8,_0x25859f[_0x5a0300(0x4f4)]=_0x9d82c1,_0x25859f['DeleteBaseFieldCommand']=_0x2ebf0c,_0x25859f['DeleteBaseRecordCommand']=_0x492b84,_0x25859f[_0x5a0300(0x1ff)]=_0x469890,_0x25859f[_0x5a0300(0x2aa)]=_0x40af3b,_0x25859f[_0x5a0300(0x49a)]=_0x4f43b6,_0x25859f['DuplicateBaseRecordCommand']=_0x3c0276,_0x25859f[_0x5a0300(0x50e)]=_0x2c01ae,_0x25859f[_0x5a0300(0x30c)]=_0xdb4dfc,_0x25859f[_0x5a0300(0xdc)]=_0x104536,_0x25859f[_0x5a0300(0x4de)]=_0x5bfa23,_0x25859f[_0x5a0300(0x306)]=_0x349863,_0x25859f['IBaseViewRegistryService']=_0x58df2c,_0x25859f[_0x5a0300(0x13b)]=_0x307c2d,_0x25859f[_0x5a0300(0x44a)]=_0x1671e9,_0x25859f['MoveBaseViewCommand']=_0x5021a3,_0x25859f[_0x5a0300(0x281)]=_0x3c0445,_0x25859f[_0x5a0300(0x468)]=_0x48408f,_0x25859f[_0x5a0300(0xd8)]=_0x47f28a,_0x25859f['SetBaseNameCommand']=_0x5b4a16,_0x25859f[_0x5a0300(0x215)]=_0x31a385,_0x25859f[_0x5a0300(0x1a7)]=_0xf0f939,_0x25859f['SetBasePermissionRulesMutation']=_0x2fa3db,_0x25859f[_0x5a0300(0xd1)]=_0x6d1482,_0x25859f[_0x5a0300(0x210)]=_0x1b99e9,_0x25859f[_0x5a0300(0x26e)]=_0x162624,_0x25859f[_0x5a0300(0x4d9)]=_0x24cb7a,_0x25859f['SetBaseViewFieldOrderCommand']=_0x5662c0,_0x25859f[_0x5a0300(0x327)]=_0x58c9b1,_0x25859f[_0x5a0300(0x3ee)]=_0x47735f,_0x25859f[_0x5a0300(0x428)]=_0x2ae29a,_0x25859f[_0x5a0300(0x1c7)]=_0x19ce7c,_0x25859f[_0x5a0300(0x4b8)]=_0x375e06,Object[_0x5a0300(0x28b)](_0x25859f,_0x5a0300(0x338),{'enumerable':!0x0,'get':function(){return _0x93134d;}}),_0x25859f[_0x5a0300(0x2e7)]=_0x5318cd,_0x25859f[_0x5a0300(0x4d1)]=_0xb9005c,_0x25859f['UpdateBaseFieldDescriptionCommand']=_0x13ab53,_0x25859f[_0x5a0300(0x13f)]=_0x232f9e,_0x25859f['UpdateBaseRecordOrderCommand']=_0x22af9c,_0x25859f['UpdateBaseViewConditionalColorRulesCommand']=_0x299a5c,_0x25859f[_0x5a0300(0x13a)]=_0x2a6400,_0x25859f[_0x5a0300(0x4cb)]=_0x3d79e1,_0x25859f[_0x5a0300(0x3a4)]=_0x5b7290,_0x25859f[_0x5a0300(0x3c1)]=_0x3fc285,_0x25859f[_0x5a0300(0x1c0)]=_0x2754d4,_0x25859f[_0x5a0300(0x3f3)]=_0x3a8c15,_0x25859f['compressBaseRangeValuesPayload']=_0x54294e,_0x25859f[_0x5a0300(0x27a)]=_0x972804,_0x25859f[_0x5a0300(0x4c4)]=_0x54f67e,_0x25859f[_0x5a0300(0x246)]=_0x2cf114,_0x25859f[_0x5a0300(0x424)]=_0x3acd2f,_0x25859f['createEmbedBasesTableAddMutation']=_0x2e32ac,_0x25859f[_0x5a0300(0x49d)]=_0x19af79,_0x25859f[_0x5a0300(0x44d)]=_0x4e3b9f,_0x25859f[_0x5a0300(0x383)]=_0x381b86,_0x25859f[_0x5a0300(0x295)]=_0x3ef56f,_0x25859f[_0x5a0300(0x159)]=_0x2a5ea4,_0x25859f[_0x5a0300(0x44c)]=_0x2c9d26,_0x25859f['formatBaseDateValue']=_0x1c71f9,_0x25859f[_0x5a0300(0x2fc)]=_0xfa7ec7,_0x25859f[_0x5a0300(0x3e2)]=_0x23593e,_0x25859f[_0x5a0300(0x4e0)]=_0x2204c0,_0x25859f['getActiveBaseHierarchyFieldIds']=_0x51c474,_0x25859f[_0x5a0300(0x4fa)]=_0x2239b4,_0x25859f[_0x5a0300(0x481)]=_0x59e45e,_0x25859f[_0x5a0300(0x325)]=_0x4ea3f5,_0x25859f['getBaseDashboardPermissionObjectId']=_0x10237e,_0x25859f['getBaseFieldPermissionObjectId']=_0x436cdb,Object[_0x5a0300(0x28b)](_0x25859f,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x24bbc1=_0x5a0300;return _0x5708b3[_0x24bbc1(0x508)];}}),_0x25859f[_0x5a0300(0x39f)]=_0x31d0de,_0x25859f[_0x5a0300(0x35e)]=_0x13f8f5,_0x25859f[_0x5a0300(0x3b1)]=_0x6d4ba4,_0x25859f[_0x5a0300(0x114)]=_0x5a484e,_0x25859f[_0x5a0300(0x511)]=_0x108e0c,_0x25859f['getBaseViewPermissionObjectId']=_0x38a781,_0x25859f[_0x5a0300(0x1aa)]=_0x4f0b6a,_0x25859f[_0x5a0300(0x4e8)]=_0x30bf85,_0x25859f['getVisibleBaseHierarchyRows']=_0x26298b,_0x25859f[_0x5a0300(0x28d)]=_0x1f53b4,_0x25859f[_0x5a0300(0x401)]=_0x195574,_0x25859f[_0x5a0300(0x46d)]=_0x426b61,_0x25859f['isBaseFieldStatSupported']=_0x3886eb,_0x25859f[_0x5a0300(0x238)]=_0x35ab83,_0x25859f[_0x5a0300(0x1a8)]=_0x40aa86,_0x25859f[_0x5a0300(0x3f7)]=_0x3dfcd8,_0x25859f[_0x5a0300(0x478)]=_0x47bbe5,_0x25859f[_0x5a0300(0x1e0)]=_0x4e8a7e,_0x25859f[_0x5a0300(0x47e)]=_0x11d4ea,_0x25859f[_0x5a0300(0x2a2)]=_0x95fe5c,_0x25859f['parseRecordLinkIds']=_0x3f92ff,_0x25859f['projectBaseHierarchy']=_0x240b61,_0x25859f[_0x5a0300(0x479)]=_0x43d517,_0x25859f[_0x5a0300(0x242)]=_0x572b51,_0x25859f[_0x5a0300(0x357)]=_0x17b5d8,_0x25859f[_0x5a0300(0x50f)]=_0x4c4713,_0x25859f['serializeRecordLinkIds']=_0x42b6ec,_0x25859f[_0x5a0300(0x12a)]=_0x42f391,_0x25859f['traceBasePerformance']=_0x4f055a,_0x25859f[_0x5a0300(0x36b)]=_0xce880c,_0x25859f[_0x5a0300(0x232)]=_0x173b14,_0x25859f[_0x5a0300(0x172)]=_0x5eb2ae,_0x25859f[_0x5a0300(0x140)]=_0x34c079,_0x25859f[_0x5a0300(0x104)]=_0x2b0e4a,_0x25859f[_0x5a0300(0x3a8)]=_0x1dd94b,_0x25859f['validateRecordLinkField']=_0x8d397b,_0x25859f[_0x5a0300(0x4bb)]=_0x5c11b8;}));function _0x4784(){const _0x1fb19e=['column','BaseConditionalColorTarget','changed','_normalizeGanttDisplayColor','createCreateRecordOp','Status','pop','INIT','BaseConditionalColorRuleUpdateType','setRules','startsWith','locale','month','CreatedBy','startDateFieldId','padStart','limit','required','updateViewConfig','_getTable','_resolveCalendarDateFieldId','getBaseHierarchyDeletePromotions','FormulaCalculationSessionService','index','_fieldRegistry','base.viewType.gantt','baseDateSerialToDateMs','undefined','base.command.delete-base-table','size','validateCanonicalRecordLinkValue','Add','forValue','sum','_findKanbanGroupField','setRecordValues','base.command.update-base-field','en-US','normal','getBasePermissionValue','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','trigger','name','Rating','IUniverInstanceService','Failed\x20to\x20create\x20update\x20cell\x20operation:','afterViewId','canCreateField','recordPatch','toPrimitive','base.command.batch-delete-base-records','start','displayText','test','then','buildBaseHierarchyIndex','BASE_RECORD_ID_FIELD_ID','BaseHierarchyInvalidReason','childUnitId','_createRecordWithDefaults','record/','doing','sort','onReady','invalidGanttStartField','conditionalColoring','_tablePermissions','-field-name','selectField','JSONX','BaseSortDirection','createView','_deleteAttachmentResources','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','ObjectPermissionRuleModel','Edit','Tools','Gallery','setViewSort','unknown','Unchecked','all','4236580iaiLnK','_tableBaseIds','Progress','_getJson1DirtyData','exception-','row','formatBaseNumberValue','base.viewType.calendar','codePointAt','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','_buildCalendar','major-','base.mutation.set-permission-rules','majorHeaders','base.mutation.apply-base-json1','resolvedOptions','clear','prototype','SetBaseViewFieldWidthCommand','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','bases.fieldConfig.linkPlaceholder','_title','fromEntries','canEditBaseTargets','revision','relationRole','_formulaService','isCompressedBaseRangeValuesPayload','_syncBaseUnit','_getSystemFieldValue','[BaseField]:\x20invalid\x20progress\x20value.','RecordLink','invalidateByView','_calendarEventColor','_kanbanLaneTitle','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_resolveKanbanCoverFieldId','isBaseConditionalColorDateField','CreateBaseFieldCommand','registerView','GREATER_THAN','PermissionStatus','touchDependencies','saveMany','_formulaSyncQueue','split','missingField','getAll','_factory','percent','CommandType','tableId','formulaName','base.permission.service','_isAllDayGanttDateRange','getDependencies','autoIncrement','toFixed','abs','showTodayLine','base.command.service','5luszqV','getBase','cardLayout','card','_projectedGroupsCache','base.command.set-base-record-values','renameTable','BaseConditionalDateMode','key','dashboard/','registerRuleModel','createEmbedBasesTable','BaseJson1OpApplier','_getCurrentUserId','year','SetBaseViewFilterCommand','repeat','medium','BatchDeleteBaseRecordsCommand','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','generateRandomId','_capabilities','[BaseCommandService]:\x20cannot\x20edit\x20record.','greaterThanOrEqual','status','workingDays','view','Undo','Start\x20date','toLowerCase','base.command.create-base-view','version','_cacheKey','timeslotSize','getTypeOfUnitDisposed$','Todo','formula.mutation.set-formula-calculation-result','\x20has\x20unsupported\x20operator\x20\x22','_getKanbanConfiguredLanes','getPermissionPoint','Parent','_groupCellInvalidations','isNaN','target','thread-comment.mutation.','fromChangeset','map','Comment','canDeleteField','MoveBaseHierarchyRecordCommand','_getAllTableIds','findRecordLinkReferences','createUniqueBaseTableName','UNIVER_EMBED_BASES_TABLE','usableAsCalendarDate','clearRecordPermission','abbreviation','RecordId','duplicate','[BaseField]:\x20invalid\x20checkbox\x20value.','canCreateRecord','ena','records','BaseRecord','formula','_projectRows','_globalRevision','Optional','Uncategorized','bases.config','Delete','registerCommand','base.view-registry.service','text','attachmentSets','view-','objectId','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','UniverLicensePlugin','RenameBaseViewCommand','quarter','_getCellRevision','numfmt','isEmpty','isBaseFieldStatEmptyValue','_kanbanLaneColor','isArray','cycle','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','_injector','redo','base.command.update-base-kanban-config','isNot','replace','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','matchesBaseCondition','resolveBaseDateFieldConfig','canDeleteTable','moveView','[BaseCommandService]:\x20cannot\x20create\x20field.','setRule','normalizeBaseDateSerial','unitId','conditional','getBaseCellValue','setViewFieldWidth','BaseProjection.materializeTableRows','validate','parentFieldName','separatorStyle','finally','groups','_viewRevisions','base.command.set-base-range-values','dateMode','snapshot','BaseEventSource','createSetRecordValuesOp','SortedView','createdBy','DD/MM/YYYY','@univerjs-pro/engine-formula','Parent\x20Items','stringify','conditions','Number','cellData','format','getSnapshot','DuplicateBaseFieldCommand','Attachment','BaseDataModel','createEmbedBasesTableRemoveMutation','baseRows','\x20has\x20unsupported\x20target\x20\x22','_buildGantt','invertOp','https:','push','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','subtreeEndIndex','getAllBases','_projectFields','_onCommandExecuted','register','toPlainText','url','Disposable','setViewFieldVisible','Group','parentRecordId','_executeSuperTableMutationWhileActive','columns','tableName','createIdentifier','done','__tempBatchingUndoRedo','Base','gantt','SetBaseViewSortCommand','_setObjectEdit','Remote','validateRecordLinkValue','regenerateViewIds','base.command.duplicate-base-record','COMMAND','frozenFieldCount','removeOp','parentByRecordId','viewOrder','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','createBaseHierarchyParentField','weekdays','scale','decimalPlaces','BASES_PLUGIN','score','globalRevision','ValidateBaseFormulaCommand','setViewPermission','recordNamePrefix','width','working','beforeViewId','UpdateBaseFieldCommand','getItem','_matchesGanttColorRule','has','missingRecord','Empty','ObjectPermissionService','updatedBy','SetBaseTableHierarchyFieldCommand','[BaseField]:\x20invalid\x20phone\x20value.','MM/DD/YYYY','unshift','keys','IBasePermissionService','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','formatBaseProgressValue','getDay','updateField','setTablePermission','_univerInstanceService','CreateView','_initialize','$1\x20','getSupportedBaseFieldStatTypes','toString','cellRevision','childType','renameFormulaUnitReferences','indexOf','FormulaResultApplicationType','Choose\x20another\x20name.','base-range-values-v1','pattern','[BaseCommandService]:\x20cannot\x20manage\x20view.','Injector','CreateBaseViewCommand','InvalidField','deleteTable','_dataSyncPrimaryController','policy','editCell','getBaseCellFormulaValue','record','deleteRecord','_getViewRevision','_formulaCalculationSessionService','_isAllowedKanbanGroupField','_withModifiedSystemValues','FORCE_STRING','setSnapshot','Working\x20day','multiple','displayColor','[BaseCommandService]:\x20field\x20\x22','NEXT_7_DAYS','getBaseFormulaTableName','[BaseCommandService]:\x20cannot\x20delete\x20field.','UnitAction','_getStructureDirtyTableIds','merge','source','EMBED_BASES_TABLE_RESOURCE_KEY','searchBaseTable','kanban','getBaseTablePermissionObjectId','subtreeHeightByRecordId','CreatedAt','_applier','getTypeOfUnitAdded$','isBaseRecordIdFieldName','33510688sMQATy','BASE_TABLE_NAME_REQUIREMENTS','BaseJson1.normalizeTables','lessThanOrEqual','slice','EXACT','kind','h24','normalize','long','IS_NOT','@univerjs/engine-formula','hasOwnProperty','_canEdit','raw','spacePeriod','fields','compress','Person','action','__all__','Currency','getAffectedRanges','focusUnit','http:','_bumpTableRevision','toDisposable','SetBasePermissionsCommand','setViewFilter','duplicateRecord','BaseJson1.cloneForOp','1.5.1','allocateBaseFormulaTableName','renameView','SetBaseKanbanGroupFieldCommand','error','createTable','createField','IBaseCommandService','[RecordLink]:\x20target\x20record\x20\x22','off','ApplyBaseJson1Mutation','base.command.set-permissions','base.command.delete-base-record','repairViewConfig','_isColorfulKanbanGroupField','operator','_getTablesToNormalize','base.command.update-base-view-conditional-color-rules','_deleteRecordsBaseOp','base.viewType.gallery','markResultApplied','_createRecordOrderOp','_buildGallery','tableOrder','_patchCachedProjectedRows','viewId','fieldIndex','_getTableRevision','_isCalendarDateField','primaryFieldId','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','embed-ui','blue','\x20must\x20be\x20an\x20object.','getFullYear','embedId','apply','gridViewId','remote','[BaseHierarchy]:\x20','tryMaterializeSnapshot','function','CellValueType','sortedView','delete-view','_clearUnit','invalid','validateBaseTableName','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','reduce','afterFieldId','measure','toLocaleString','-view-grid','matchAll','Unsupported\x20Base\x20permission\x20action:\x20','base.command.set-base-view-filter','exists','executeCommand','operand','BaseFormulaService','base.command.set-base-table-hierarchy-field','_groupsCacheKey','getBaseRecordPermissionObjectId','useThousands','_cellInvalidationsTouchFields','base.command.rename-base-table','applyOp','coverFieldId','title','canDeleteRecord','forEach','selfParent','NUMBER','_projectedViewRowsCache','[BaseFormula]:\x20table\x20\x22','BatchCreateBaseRecordsCommand','base.projection.service','IS_NOT_EMPTY','[DeleteBaseTableCommand]:\x20table\x20\x22','_rememberTable','BaseTable','code','_baseSyncDisposables','deleteField','setBasePermissionValue','attachmentSet','value','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_ganttBarColor','SetSuperTableMutation','invertWithDoc','type','UniverProLicense','viewRevision','ascend','every','mark','BaseJson1OpFactory','YYYY/MM/DD','primaryFieldName','UpdateBaseViewConfigCommand','MoveBaseFieldCommand','rule','_cellRevisions','_setFormulaFieldCells','UpdateBaseKanbanConfigCommand','validateBaseHierarchyRecordPatches','unique','BaseFilterConjunction','_resolveCardTitleFieldId','_apply','endDateFieldId','unitOtherData','SingleSelect','createRecord','setViewFieldOrder','direction','Checked','_registeredSuperTableNames','sequenceExecute',':start','_canEditTable','valid','BaseProjection.filterAndSortRows','add','_disposed','create-view','_normalizeCalendarDisplayColor','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','AFTER','canEditTable','ensureBaseTableCellLayout','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','entries','getUnit','getCapabilities','_scheduleSuperTableSync','_viewPermissions','syncExecuteCommand','https://','options','greaterThan','hidden','_normalizeGanttConfig','beforeFieldId','_resolveGalleryCoverFieldId','_removeSuperTables','now','_check','bases-exchange-client.operation.export-base','LAST_MONTH','updateRecordOrder','field/','setConfig','canEditField','BaseJson1.json1Apply','validateBaseHierarchyRecordCreations','_isKanbanGroupField','NumberFormat','UTC','_hierarchyIndexCache','getProjection','href','catch','SelfParent','fieldName','getFocusedUnit','color','decimal','_commandService','oldParentRecordId','CustomCommandExecutionError','HH:mm','_toDirtyRangePatch','changes','_enqueueFormulaSync','_kanbanGroupKeys','base.field-registry.service','workingDaysOnly','THIS_MONTH','BOOLEAN','base.command.set-base-view-group','base.viewType.kanban','packageName','tables','BaseHierarchyError','_createSystemFieldValuePatches','count','rootRecordIds','MM-DD','base.viewType.grid','nodes','_filterRows','STRING','attachments','invalidDateField','_registerUnitPermissionPoints','BASE_UNIT_PERMISSION_ACTIONS','_createNumberingFieldValuePatches','_getAllBaseDependencyTreeCacheMap','IActiveDirtyManagerService','maxDepth','replaceOp','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_normalizeCalendarConfig','groupFieldId','order','getMonth','_T_','SetBasePermissionRuleMutation','isBaseHierarchyField','fieldIds','getRecordLinkFieldConfig','find','getStructuredDependencies','Copy','registerSyncingMutations','_applyFormulaResult','createBase','[BasePerf]\x20','End\x20date',',,,\x22B\x22','path','UniverProtocol','#3b82f6','short','base-snapshot-v1','hostAnchorId','assign','call','IUndoRedoService','trim','[BaseCommandService]:\x20cannot\x20create\x20record.','UniverProEngineFormula','calculateBaseFieldStat','Date1900','dateKit','flat','_sortRows','[BaseField]:\x20invalid\x20number\x20value.','round','SetBaseViewGroupCommand','orderKey','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','COLUMN','BEFORE','createUpdateCellOp','_getCachedProjection','BaseDashboard','contains','data','base.command.','_canUseFastSort','rows','_patchProjectedRowsForCellInvalidations','_createNumberingAllocator','at\x20index\x20','beforeCommandExecuted','_permissionService','diffValue','none','\x22\x20is\x20not\x20registered.','IResourceManagerService','#FDE68A','normalizeBaseDateFieldConfig','dispose','_plugins','isValidBaseRecordId','editable','MissingRecord','__base_hierarchy_parent__','base.mutation.set-permission-rule','setBaseName','[BaseViewRegistryService]:\x20view\x20type\x20\x22','regexp','rowIndex','MUTATION','Email','[BaseCommandService]:\x20cannot\x20edit\x20table.','invalidateByField','defaultValue','cell','BaseField','_setViewFieldSetting','[RecordLink]:\x20field\x20config\x20is\x20invalid.','_getOrderedRecords','invalidField','childrenByParentId','_normalizeGalleryConfig','UNIVER_BASE','SetFormulaCalculationResultMutation','Link','insertOp','setRangeValues','[BaseCommandService]:\x20cannot\x20edit\x20cell.','DeleteBaseTableCommand','objectType','createdAt','general','Cycle','initializeUnit','thread-comment.command.','MMM\x20D,\x20YYYY','recordIds','disposeWithMe','ErrorService','Phone','Formula','Ids','_resolveKanbanCardFieldIds','Import','_viewRowsCacheKey','SetBaseRangeValuesCommand','length','join','_initRegistries','_config','SetBasePermissionCommand','_projectHierarchyGroups','CreateBaseRecordCommand','_rowTransformCacheSegment','colorFieldId','_scheduledSuperTableSyncs','JSON1','config','leftPaneWidth','base.resource.service','date','string','[BaseFormula]:\x20table\x20does\x20not\x20exist.','setRecordPermission','CONTAINS','BaseView','constructor','currencySymbol','large','protocol','info','base.command.duplicate-base-field','filter','members','endsWith','Module','remove','default','DependentOn','validateBaseHierarchyMove','base-perf','dependencyFieldId','level','fieldId','invalidateByCell','isBaseFieldStatType','\x22\x20is\x20referenced\x20by\x20','_setAttachmentResources','manual','_isGanttDateField','usableAsCardCover','addPermissionPoint','cardSize','setBasePermission','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','resolveBaseHierarchyFieldId','Kanban','attachment','_clearObjectEdit','createDefaultBaseTableSnapshot','getUnitId','includes','base.command.batch-create-base-records','UnitObject','_views','LESS_THAN','BASE_HIERARCHY_MAX_LEVELS','_replaceOptional','object','NOT_CONTAINS','deepClone','refactorFormulaUnitQualifier','values','_syncSuperTables','views','yyyy/mm/dd','_cellInvalidations','[BaseFormula]:\x20field\x20\x22','conjunction','fieldSettings','resources','showFieldNames','invalid-characters','createRecords','deletePermissionPoint','UniverCore','Base\x20','progressFieldId','usableAsGanttEnd','IS_EMPTY','onStarting','group','depth','_recordPermissions','base.command.update-base-view-config','_buildGrid','PAST_30_DAYS','\x20must\x20have\x20a\x20non-empty\x20id.','pickerFieldIds','SetBaseRecordValuesCommand','displayFieldId','\x20has\x20unsupported\x20date\x20mode\x20\x22','Unsupported\x20Base\x20permission\x20object:\x20','invalidateByOp','_recordIds','rowIndexById','_activeDirtyManagerService','patches','lastIndex','facade','2660098ccXsUI','copyBaseTableSnapshot','ObjectMatrix','base.command.set-base-name','base.command.update-base-field-description','duplicateField','orderedRecordIds','canManageView','RenameBaseTableCommand','allowDangling','descendPath','getUTCDay','unsubscribe','fieldOrder','YYYY-MM-DD','_fastSortRows','set','local','defineProperty','BASE','inferBaseSeparatorStyle','RemoveSuperTableMutation','Set','createBaseFormulaTableNameMap','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','updatedAt','false','table','decompressBaseRangeValuesPayload','changeFieldType','average','Plugin','DateSystem','pluginName','apostrophe','SetTriggerFormulaCalculationStartMutation','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','Base\x20edit\x20permission\x20denied.','decorate','max','depthByRecordId','normalizeBaseFieldStatsConfig','ChangeBaseFieldTypeCommand','isInteger','basePerf','result','user','edit','reason','DeleteBaseViewCommand','dateFormat','tableRevision','False','IPermissionService','toStringTag','23652wBlDSl','createCreateFieldOp','true','base.command.rename-base-view','UniverInstanceType','_viewRevisionKey','getSuperTableRegistrations','_projectGroups','pushUndoRedo','createSuperTableReference','Text','h:mm\x20a','description','_fieldPermissions','BaseRecordLinkRole','base.command.set-base-kanban-group-field','BASE_OBJECT_PERMISSION_PLUGIN','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','attachment-','\x20cannot\x20use\x20operator\x20\x22','Export','params','_tableRevisions','view/','bases.fieldConfig.textPlaceholder','_runtimeContext','clearTablePermission','WriteCursor','@univerjs/core','validateFormula','ruleId','end','[BaseCommandService]:\x20invalid\x20field\x20definition.','titleFieldId','base.command.create-base-child-record','field','delete','IConfigService','from','696456fdNiyt','this-row','clearFieldPermission','univer.basePerf','ICommandService','base.command.delete-base-view','Grid','mode','_groupConfigCacheSegment','BaseHierarchyErrorCode','getAllUnitsForType','_initDependencies','_applyingFormulaResults','rules','col','_resolveGanttDateFieldId','UpdateBaseCellCommand','True','some','timeZone','periodComma','updateCell','BaseProjection.projectGroups','rowId','_groupProjectionFieldIds','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','createRegExpFromSafeFragment','createDefaultValue','BaseFieldType','1564626VgxBUl','splice','Gantt','_resolveKanbanGroupFieldId','hierarchy','canEditCell','getAllPermissionPoint','_findCalendarDateFieldId','formatBaseFieldStatValue','Numbering','notContains','write','calendar','empty','lastIndexOf','boolean','BaseProjection.projectTableRows','createDefaultConfig','IBaseProjectionService','setViewGroup','getUTCDate','moveField','invalidReasonByRecordId','Date','EnsureBaseTemporalViewDateFieldsCommand','compose','getUTCFullYear','UniverRpc','deleteView','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_assertFieldDefinition','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','_filterSortFieldIds','colId','base.command.create-base-field','recordOrder','General','owner','assertBaseTableRecordIdentity','UpdatedAt','Checkbox','canEditRecord','spaceComma','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','UpdatedBy','_materializeFormulaTableNames','MissingParent','localeCompare','#14b8a6','getBaseConditionalColorOperators','system','SetBaseViewFieldVisibleCommand','undo','label','columnSettings','_basePermissions','UniverProBases','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','targetTableId','getUTCMonth','_projectedRowsCache','CreateBaseChildRecordCommand','isValid','star','[BaseProjectionService]:\x20missing\x20view\x20\x22','_isAllDayCalendarEvent','colIndex','number','UniverBasesPlugin','_materializeGroups','parse','BaseViewType','TODAY','deleteRecords','invalidGanttEndField','_projectionCache','createBatchCreateRecordsOp','Calendar','1886097JiOAWZ','isNotEmpty','includeTime','canCreateTable','onlyLocal','_buildKanban','_normalizeCellValue','[BaseField]:\x20invalid\x20multi-value\x20reference.','subscribe','recordId','MaxDepth','thumbnail','unitData','getTime','_resolveGalleryCardFieldIds','[BaseCommandService]:\x20cannot\x20create\x20table.','base.command.set-permission','setPoint','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','emitPermissionDenied','readonly','resolveBaseRangeHierarchyPatches','_instanceService','hourCycle','min','valueOf','exceptions','MultiSelect','getBaseHierarchyFieldId','[BaseCommandService]:\x20cannot\x20edit\x20field.','person','bases-exchange-client.operation.export-base-by-format','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','allowMultiple','__UNIVER_BASE_PERF__','children','UniverEngineFormula','BaseConditionalColorOperator','isFinite','DESC','[BaseCommandService]:\x20record-id\x20is\x20reserved.','uniqueFieldName','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','\x22\x20does\x20not\x20exist.',',,\x22M\x22',':end','#16a34a','fromCollab','_resolveBaseId','base.mutation.','subType','flatMap','#BFDBFE','base.command.move-base-field','h12','usableAsGanttStart','fromPlainText','_createNumberingAllocators','day','filled','createDeleteRecordsUndoOp','Inject','base.command.delete-base-field','[BaseCommandService]:\x20cannot\x20delete\x20table.','BaseHistoryAction','dateToExcelSerial','_getHierarchyIndex','custom','[BaseField]:\x20invalid\x20rating\x20value.','get','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','option-'];_0x4784=function(){return _0x1fb19e;};return _0x4784();}
|